var Eb=Object.defineProperty;var rp=e=>{throw TypeError(e)};var Nb=(e,t,n)=>t in e?Eb(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;var dn=(e,t,n)=>Nb(e,typeof t!="symbol"?t+"":t,n),yc=(e,t,n)=>t.has(e)||rp("Cannot "+n);var N=(e,t,n)=>(yc(e,t,"read from private field"),n?n.call(e):t.get(e)),ee=(e,t,n)=>t.has(e)?rp("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,n),K=(e,t,n,r)=>(yc(e,t,"write to private field"),r?r.call(e,n):t.set(e,n),n),Le=(e,t,n)=>(yc(e,t,"access private method"),n);var qo=(e,t,n,r)=>({set _(i){K(e,t,i,n)},get _(){return N(e,t,r)}});function Pb(e,t){for(var n=0;n<t.length;n++){const r=t[n];if(typeof r!="string"&&!Array.isArray(r)){for(const i in r)if(i!=="default"&&!(i in e)){const s=Object.getOwnPropertyDescriptor(r,i);s&&Object.defineProperty(e,i,s.get?s:{enumerable:!0,get:()=>r[i]})}}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const i of document.querySelectorAll('link[rel="modulepreload"]'))r(i);new MutationObserver(i=>{for(const s of i)if(s.type==="childList")for(const o of s.addedNodes)o.tagName==="LINK"&&o.rel==="modulepreload"&&r(o)}).observe(document,{childList:!0,subtree:!0});function n(i){const s={};return i.integrity&&(s.integrity=i.integrity),i.referrerPolicy&&(s.referrerPolicy=i.referrerPolicy),i.crossOrigin==="use-credentials"?s.credentials="include":i.crossOrigin==="anonymous"?s.credentials="omit":s.credentials="same-origin",s}function r(i){if(i.ep)return;i.ep=!0;const s=n(i);fetch(i.href,s)}})();function Do(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Ey={exports:{}},Dl={},Ny={exports:{}},X={};/**
* @license React
* react.production.min.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/var Oo=Symbol.for("react.element"),Ab=Symbol.for("react.portal"),Rb=Symbol.for("react.fragment"),Mb=Symbol.for("react.strict_mode"),Db=Symbol.for("react.profiler"),Ob=Symbol.for("react.provider"),Lb=Symbol.for("react.context"),Ib=Symbol.for("react.forward_ref"),zb=Symbol.for("react.suspense"),_b=Symbol.for("react.memo"),Vb=Symbol.for("react.lazy"),ip=Symbol.iterator;function Bb(e){return e===null||typeof e!="object"?null:(e=ip&&e[ip]||e["@@iterator"],typeof e=="function"?e:null)}var Py={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},Ay=Object.assign,Ry={};function ss(e,t,n){this.props=e,this.context=t,this.refs=Ry,this.updater=n||Py}ss.prototype.isReactComponent={};ss.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")};ss.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function My(){}My.prototype=ss.prototype;function sf(e,t,n){this.props=e,this.context=t,this.refs=Ry,this.updater=n||Py}var of=sf.prototype=new My;of.constructor=sf;Ay(of,ss.prototype);of.isPureReactComponent=!0;var sp=Array.isArray,Dy=Object.prototype.hasOwnProperty,af={current:null},Oy={key:!0,ref:!0,__self:!0,__source:!0};function Ly(e,t,n){var r,i={},s=null,o=null;if(t!=null)for(r in t.ref!==void 0&&(o=t.ref),t.key!==void 0&&(s=""+t.key),t)Dy.call(t,r)&&!Oy.hasOwnProperty(r)&&(i[r]=t[r]);var a=arguments.length-2;if(a===1)i.children=n;else if(1<a){for(var c=Array(a),u=0;u<a;u++)c[u]=arguments[u+2];i.children=c}if(e&&e.defaultProps)for(r in a=e.defaultProps,a)i[r]===void 0&&(i[r]=a[r]);return{$$typeof:Oo,type:e,key:s,ref:o,props:i,_owner:af.current}}function Fb(e,t){return{$$typeof:Oo,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}function lf(e){return typeof e=="object"&&e!==null&&e.$$typeof===Oo}function $b(e){var t={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,function(n){return t[n]})}var op=/\/+/g;function vc(e,t){return typeof e=="object"&&e!==null&&e.key!=null?$b(""+e.key):t.toString(36)}function Ta(e,t,n,r,i){var s=typeof e;(s==="undefined"||s==="boolean")&&(e=null);var o=!1;if(e===null)o=!0;else switch(s){case"string":case"number":o=!0;break;case"object":switch(e.$$typeof){case Oo:case Ab:o=!0}}if(o)return o=e,i=i(o),e=r===""?"."+vc(o,0):r,sp(i)?(n="",e!=null&&(n=e.replace(op,"$&/")+"/"),Ta(i,t,n,"",function(u){return u})):i!=null&&(lf(i)&&(i=Fb(i,n+(!i.key||o&&o.key===i.key?"":(""+i.key).replace(op,"$&/")+"/")+e)),t.push(i)),1;if(o=0,r=r===""?".":r+":",sp(e))for(var a=0;a<e.length;a++){s=e[a];var c=r+vc(s,a);o+=Ta(s,t,n,c,i)}else if(c=Bb(e),typeof c=="function")for(e=c.call(e),a=0;!(s=e.next()).done;)s=s.value,c=r+vc(s,a++),o+=Ta(s,t,n,c,i);else if(s==="object")throw t=String(e),Error("Objects are not valid as a React child (found: "+(t==="[object Object]"?"object with keys {"+Object.keys(e).join(", ")+"}":t)+"). If you meant to render a collection of children, use an array instead.");return o}function Xo(e,t,n){if(e==null)return e;var r=[],i=0;return Ta(e,r,"","",function(s){return t.call(n,s,i++)}),r}function Ub(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 Xe={current:null},Ca={transition:null},Wb={ReactCurrentDispatcher:Xe,ReactCurrentBatchConfig:Ca,ReactCurrentOwner:af};function Iy(){throw Error("act(...) is not supported in production builds of React.")}X.Children={map:Xo,forEach:function(e,t,n){Xo(e,function(){t.apply(this,arguments)},n)},count:function(e){var t=0;return Xo(e,function(){t++}),t},toArray:function(e){return Xo(e,function(t){return t})||[]},only:function(e){if(!lf(e))throw Error("React.Children.only expected to receive a single React element child.");return e}};X.Component=ss;X.Fragment=Rb;X.Profiler=Db;X.PureComponent=sf;X.StrictMode=Mb;X.Suspense=zb;X.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=Wb;X.act=Iy;X.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),i=e.key,s=e.ref,o=e._owner;if(t!=null){if(t.ref!==void 0&&(s=t.ref,o=af.current),t.key!==void 0&&(i=""+t.key),e.type&&e.type.defaultProps)var a=e.type.defaultProps;for(c in t)Dy.call(t,c)&&!Oy.hasOwnProperty(c)&&(r[c]=t[c]===void 0&&a!==void 0?a[c]:t[c])}var c=arguments.length-2;if(c===1)r.children=n;else if(1<c){a=Array(c);for(var u=0;u<c;u++)a[u]=arguments[u+2];r.children=a}return{$$typeof:Oo,type:e.type,key:i,ref:s,props:r,_owner:o}};X.createContext=function(e){return e={$$typeof:Lb,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null},e.Provider={$$typeof:Ob,_context:e},e.Consumer=e};X.createElement=Ly;X.createFactory=function(e){var t=Ly.bind(null,e);return t.type=e,t};X.createRef=function(){return{current:null}};X.forwardRef=function(e){return{$$typeof:Ib,render:e}};X.isValidElement=lf;X.lazy=function(e){return{$$typeof:Vb,_payload:{_status:-1,_result:e},_init:Ub}};X.memo=function(e,t){return{$$typeof:_b,type:e,compare:t===void 0?null:t}};X.startTransition=function(e){var t=Ca.transition;Ca.transition={};try{e()}finally{Ca.transition=t}};X.unstable_act=Iy;X.useCallback=function(e,t){return Xe.current.useCallback(e,t)};X.useContext=function(e){return Xe.current.useContext(e)};X.useDebugValue=function(){};X.useDeferredValue=function(e){return Xe.current.useDeferredValue(e)};X.useEffect=function(e,t){return Xe.current.useEffect(e,t)};X.useId=function(){return Xe.current.useId()};X.useImperativeHandle=function(e,t,n){return Xe.current.useImperativeHandle(e,t,n)};X.useInsertionEffect=function(e,t){return Xe.current.useInsertionEffect(e,t)};X.useLayoutEffect=function(e,t){return Xe.current.useLayoutEffect(e,t)};X.useMemo=function(e,t){return Xe.current.useMemo(e,t)};X.useReducer=function(e,t,n){return Xe.current.useReducer(e,t,n)};X.useRef=function(e){return Xe.current.useRef(e)};X.useState=function(e){return Xe.current.useState(e)};X.useSyncExternalStore=function(e,t,n){return Xe.current.useSyncExternalStore(e,t,n)};X.useTransition=function(){return Xe.current.useTransition()};X.version="18.3.1";Ny.exports=X;var b=Ny.exports;const D=Do(b),zy=Pb({__proto__:null,default:D},[b]);/**
* @license React
* react-jsx-runtime.production.min.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/var Hb=b,Kb=Symbol.for("react.element"),Gb=Symbol.for("react.fragment"),Yb=Object.prototype.hasOwnProperty,Qb=Hb.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,qb={key:!0,ref:!0,__self:!0,__source:!0};function _y(e,t,n){var r,i={},s=null,o=null;n!==void 0&&(s=""+n),t.key!==void 0&&(s=""+t.key),t.ref!==void 0&&(o=t.ref);for(r in t)Yb.call(t,r)&&!qb.hasOwnProperty(r)&&(i[r]=t[r]);if(e&&e.defaultProps)for(r in t=e.defaultProps,t)i[r]===void 0&&(i[r]=t[r]);return{$$typeof:Kb,type:e,key:s,ref:o,props:i,_owner:Qb.current}}Dl.Fragment=Gb;Dl.jsx=_y;Dl.jsxs=_y;Ey.exports=Dl;var l=Ey.exports,Vy={exports:{}},ht={},By={exports:{}},Fy={};/**
* @license React
* scheduler.production.min.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/(function(e){function t(E,P){var L=E.length;E.push(P);e:for(;0<L;){var W=L-1>>>1,$=E[W];if(0<i($,P))E[W]=P,E[L]=$,L=W;else break e}}function n(E){return E.length===0?null:E[0]}function r(E){if(E.length===0)return null;var P=E[0],L=E.pop();if(L!==P){E[0]=L;e:for(var W=0,$=E.length,q=$>>>1;W<q;){var J=2*(W+1)-1,we=E[J],Oe=J+1,te=E[Oe];if(0>i(we,L))Oe<$&&0>i(te,we)?(E[W]=te,E[Oe]=L,W=Oe):(E[W]=we,E[J]=L,W=J);else if(Oe<$&&0>i(te,L))E[W]=te,E[Oe]=L,W=Oe;else break e}}return P}function i(E,P){var L=E.sortIndex-P.sortIndex;return L!==0?L:E.id-P.id}if(typeof performance=="object"&&typeof performance.now=="function"){var s=performance;e.unstable_now=function(){return s.now()}}else{var o=Date,a=o.now();e.unstable_now=function(){return o.now()-a}}var c=[],u=[],d=1,f=null,h=3,p=!1,x=!1,y=!1,w=typeof setTimeout=="function"?setTimeout:null,m=typeof clearTimeout=="function"?clearTimeout:null,g=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function v(E){for(var P=n(u);P!==null;){if(P.callback===null)r(u);else if(P.startTime<=E)r(u),P.sortIndex=P.expirationTime,t(c,P);else break;P=n(u)}}function j(E){if(y=!1,v(E),!x)if(n(c)!==null)x=!0,U(k);else{var P=n(u);P!==null&&V(j,P.startTime-E)}}function k(E,P){x=!1,y&&(y=!1,m(C),C=-1),p=!0;var L=h;try{for(v(P),f=n(c);f!==null&&(!(f.expirationTime>P)||E&&!B());){var W=f.callback;if(typeof W=="function"){f.callback=null,h=f.priorityLevel;var $=W(f.expirationTime<=P);P=e.unstable_now(),typeof $=="function"?f.callback=$:f===n(c)&&r(c),v(P)}else r(c);f=n(c)}if(f!==null)var q=!0;else{var J=n(u);J!==null&&V(j,J.startTime-P),q=!1}return q}finally{f=null,h=L,p=!1}}var S=!1,T=null,C=-1,A=5,R=-1;function B(){return!(e.unstable_now()-R<A)}function I(){if(T!==null){var E=e.unstable_now();R=E;var P=!0;try{P=T(!0,E)}finally{P?G():(S=!1,T=null)}}else S=!1}var G;if(typeof g=="function")G=function(){g(I)};else if(typeof MessageChannel<"u"){var O=new MessageChannel,Q=O.port2;O.port1.onmessage=I,G=function(){Q.postMessage(null)}}else G=function(){w(I,0)};function U(E){T=E,S||(S=!0,G())}function V(E,P){C=w(function(){E(e.unstable_now())},P)}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(E){E.callback=null},e.unstable_continueExecution=function(){x||p||(x=!0,U(k))},e.unstable_forceFrameRate=function(E){0>E||125<E?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):A=0<E?Math.floor(1e3/E):5},e.unstable_getCurrentPriorityLevel=function(){return h},e.unstable_getFirstCallbackNode=function(){return n(c)},e.unstable_next=function(E){switch(h){case 1:case 2:case 3:var P=3;break;default:P=h}var L=h;h=P;try{return E()}finally{h=L}},e.unstable_pauseExecution=function(){},e.unstable_requestPaint=function(){},e.unstable_runWithPriority=function(E,P){switch(E){case 1:case 2:case 3:case 4:case 5:break;default:E=3}var L=h;h=E;try{return P()}finally{h=L}},e.unstable_scheduleCallback=function(E,P,L){var W=e.unstable_now();switch(typeof L=="object"&&L!==null?(L=L.delay,L=typeof L=="number"&&0<L?W+L:W):L=W,E){case 1:var $=-1;break;case 2:$=250;break;case 5:$=1073741823;break;case 4:$=1e4;break;default:$=5e3}return $=L+$,E={id:d++,callback:P,priorityLevel:E,startTime:L,expirationTime:$,sortIndex:-1},L>W?(E.sortIndex=L,t(u,E),n(c)===null&&E===n(u)&&(y?(m(C),C=-1):y=!0,V(j,L-W))):(E.sortIndex=$,t(c,E),x||p||(x=!0,U(k))),E},e.unstable_shouldYield=B,e.unstable_wrapCallback=function(E){var P=h;return function(){var L=h;h=P;try{return E.apply(this,arguments)}finally{h=L}}}})(Fy);By.exports=Fy;var Xb=By.exports;/**
* @license React
* react-dom.production.min.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/var Jb=b,ft=Xb;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 $y=new Set,no={};function Xr(e,t){Yi(e,t),Yi(e+"Capture",t)}function Yi(e,t){for(no[e]=t,e=0;e<t.length;e++)$y.add(t[e])}var bn=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),wu=Object.prototype.hasOwnProperty,Zb=/^[: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]*$/,ap={},lp={};function ej(e){return wu.call(lp,e)?!0:wu.call(ap,e)?!1:Zb.test(e)?lp[e]=!0:(ap[e]=!0,!1)}function tj(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 nj(e,t,n,r){if(t===null||typeof t>"u"||tj(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 Je(e,t,n,r,i,s,o){this.acceptsBooleans=t===2||t===3||t===4,this.attributeName=r,this.attributeNamespace=i,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=s,this.removeEmptyString=o}var De={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){De[e]=new Je(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];De[t]=new Je(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){De[e]=new Je(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){De[e]=new Je(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){De[e]=new Je(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){De[e]=new Je(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){De[e]=new Je(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){De[e]=new Je(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){De[e]=new Je(e,5,!1,e.toLowerCase(),null,!1,!1)});var cf=/[\-:]([a-z])/g;function uf(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(cf,uf);De[t]=new Je(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(cf,uf);De[t]=new Je(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(cf,uf);De[t]=new Je(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){De[e]=new Je(e,1,!1,e.toLowerCase(),null,!1,!1)});De.xlinkHref=new Je("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){De[e]=new Je(e,1,!1,e.toLowerCase(),null,!0,!0)});function df(e,t,n,r){var i=De.hasOwnProperty(t)?De[t]:null;(i!==null?i.type!==0:r||!(2<t.length)||t[0]!=="o"&&t[0]!=="O"||t[1]!=="n"&&t[1]!=="N")&&(nj(t,n,i,r)&&(n=null),r||i===null?ej(t)&&(n===null?e.removeAttribute(t):e.setAttribute(t,""+n)):i.mustUseProperty?e[i.propertyName]=n===null?i.type===3?!1:"":n:(t=i.attributeName,r=i.attributeNamespace,n===null?e.removeAttribute(t):(i=i.type,n=i===3||i===4&&n===!0?"":""+n,r?e.setAttributeNS(r,t,n):e.setAttribute(t,n))))}var Nn=Jb.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,Jo=Symbol.for("react.element"),fi=Symbol.for("react.portal"),hi=Symbol.for("react.fragment"),ff=Symbol.for("react.strict_mode"),bu=Symbol.for("react.profiler"),Uy=Symbol.for("react.provider"),Wy=Symbol.for("react.context"),hf=Symbol.for("react.forward_ref"),ju=Symbol.for("react.suspense"),ku=Symbol.for("react.suspense_list"),pf=Symbol.for("react.memo"),Fn=Symbol.for("react.lazy"),Hy=Symbol.for("react.offscreen"),cp=Symbol.iterator;function ys(e){return e===null||typeof e!="object"?null:(e=cp&&e[cp]||e["@@iterator"],typeof e=="function"?e:null)}var ge=Object.assign,xc;function zs(e){if(xc===void 0)try{throw Error()}catch(n){var t=n.stack.trim().match(/\n( *(at )?)/);xc=t&&t[1]||""}return`
`+xc+e}var wc=!1;function bc(e,t){if(!e||wc)return"";wc=!0;var n=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(t)if(t=function(){throw Error()},Object.defineProperty(t.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(t,[])}catch(u){var r=u}Reflect.construct(e,[],t)}else{try{t.call()}catch(u){r=u}e.call(t.prototype)}else{try{throw Error()}catch(u){r=u}e()}}catch(u){if(u&&r&&typeof u.stack=="string"){for(var i=u.stack.split(`
`),s=r.stack.split(`
`),o=i.length-1,a=s.length-1;1<=o&&0<=a&&i[o]!==s[a];)a--;for(;1<=o&&0<=a;o--,a--)if(i[o]!==s[a]){if(o!==1||a!==1)do if(o--,a--,0>a||i[o]!==s[a]){var c=`
`+i[o].replace(" at new "," at ");return e.displayName&&c.includes("<anonymous>")&&(c=c.replace("<anonymous>",e.displayName)),c}while(1<=o&&0<=a);break}}}finally{wc=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?zs(e):""}function rj(e){switch(e.tag){case 5:return zs(e.type);case 16:return zs("Lazy");case 13:return zs("Suspense");case 19:return zs("SuspenseList");case 0:case 2:case 15:return e=bc(e.type,!1),e;case 11:return e=bc(e.type.render,!1),e;case 1:return e=bc(e.type,!0),e;default:return""}}function Su(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 hi:return"Fragment";case fi:return"Portal";case bu:return"Profiler";case ff:return"StrictMode";case ju:return"Suspense";case ku:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case Wy:return(e.displayName||"Context")+".Consumer";case Uy:return(e._context.displayName||"Context")+".Provider";case hf:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case pf:return t=e.displayName||null,t!==null?t:Su(e.type)||"Memo";case Fn:t=e._payload,e=e._init;try{return Su(e(t))}catch{}}return null}function ij(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 Su(t);case 8:return t===ff?"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 cr(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function Ky(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function sj(e){var t=Ky(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&typeof n<"u"&&typeof n.get=="function"&&typeof n.set=="function"){var i=n.get,s=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return i.call(this)},set:function(o){r=""+o,s.call(this,o)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(o){r=""+o},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function Zo(e){e._valueTracker||(e._valueTracker=sj(e))}function Gy(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=Ky(e)?e.checked?"true":"false":e.value),e=r,e!==n?(t.setValue(e),!0):!1}function Ya(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 Tu(e,t){var n=t.checked;return ge({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n??e._wrapperState.initialChecked})}function up(e,t){var n=t.defaultValue==null?"":t.defaultValue,r=t.checked!=null?t.checked:t.defaultChecked;n=cr(t.value!=null?t.value:n),e._wrapperState={initialChecked:r,initialValue:n,controlled:t.type==="checkbox"||t.type==="radio"?t.checked!=null:t.value!=null}}function Yy(e,t){t=t.checked,t!=null&&df(e,"checked",t,!1)}function Cu(e,t){Yy(e,t);var n=cr(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")?Eu(e,t.type,n):t.hasOwnProperty("defaultValue")&&Eu(e,t.type,cr(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function dp(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 Eu(e,t,n){(t!=="number"||Ya(e.ownerDocument)!==e)&&(n==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var _s=Array.isArray;function Pi(e,t,n,r){if(e=e.options,t){t={};for(var i=0;i<n.length;i++)t["$"+n[i]]=!0;for(n=0;n<e.length;n++)i=t.hasOwnProperty("$"+e[n].value),e[n].selected!==i&&(e[n].selected=i),i&&r&&(e[n].defaultSelected=!0)}else{for(n=""+cr(n),t=null,i=0;i<e.length;i++){if(e[i].value===n){e[i].selected=!0,r&&(e[i].defaultSelected=!0);return}t!==null||e[i].disabled||(t=e[i])}t!==null&&(t.selected=!0)}}function Nu(e,t){if(t.dangerouslySetInnerHTML!=null)throw Error(M(91));return ge({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function fp(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(_s(n)){if(1<n.length)throw Error(M(93));n=n[0]}t=n}t==null&&(t=""),n=t}e._wrapperState={initialValue:cr(n)}}function Qy(e,t){var n=cr(t.value),r=cr(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 hp(e){var t=e.textContent;t===e._wrapperState.initialValue&&t!==""&&t!==null&&(e.value=t)}function qy(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 Pu(e,t){return e==null||e==="http://www.w3.org/1999/xhtml"?qy(t):e==="http://www.w3.org/2000/svg"&&t==="foreignObject"?"http://www.w3.org/1999/xhtml":e}var ea,Xy=function(e){return typeof MSApp<"u"&&MSApp.execUnsafeLocalFunction?function(t,n,r,i){MSApp.execUnsafeLocalFunction(function(){return e(t,n,r,i)})}:e}(function(e,t){if(e.namespaceURI!=="http://www.w3.org/2000/svg"||"innerHTML"in e)e.innerHTML=t;else{for(ea=ea||document.createElement("div"),ea.innerHTML="<svg>"+t.valueOf().toString()+"</svg>",t=ea.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function ro(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var $s={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},oj=["Webkit","ms","Moz","O"];Object.keys($s).forEach(function(e){oj.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),$s[t]=$s[e]})});function Jy(e,t,n){return t==null||typeof t=="boolean"||t===""?"":n||typeof t!="number"||t===0||$s.hasOwnProperty(e)&&$s[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,i=Jy(n,t[n],r);n==="float"&&(n="cssFloat"),r?e.setProperty(n,i):e[n]=i}}var aj=ge({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function Au(e,t){if(t){if(aj[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 Ru(e,t){if(e.indexOf("-")===-1)return typeof t.is=="string";switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var Mu=null;function mf(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var Du=null,Ai=null,Ri=null;function pp(e){if(e=zo(e)){if(typeof Du!="function")throw Error(M(280));var t=e.stateNode;t&&(t=_l(t),Du(e.stateNode,e.type,t))}}function ev(e){Ai?Ri?Ri.push(e):Ri=[e]:Ai=e}function tv(){if(Ai){var e=Ai,t=Ri;if(Ri=Ai=null,pp(e),t)for(e=0;e<t.length;e++)pp(t[e])}}function nv(e,t){return e(t)}function rv(){}var jc=!1;function iv(e,t,n){if(jc)return e(t,n);jc=!0;try{return nv(e,t,n)}finally{jc=!1,(Ai!==null||Ri!==null)&&(rv(),tv())}}function io(e,t){var n=e.stateNode;if(n===null)return null;var r=_l(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 Ou=!1;if(bn)try{var vs={};Object.defineProperty(vs,"passive",{get:function(){Ou=!0}}),window.addEventListener("test",vs,vs),window.removeEventListener("test",vs,vs)}catch{Ou=!1}function lj(e,t,n,r,i,s,o,a,c){var u=Array.prototype.slice.call(arguments,3);try{t.apply(n,u)}catch(d){this.onError(d)}}var Us=!1,Qa=null,qa=!1,Lu=null,cj={onError:function(e){Us=!0,Qa=e}};function uj(e,t,n,r,i,s,o,a,c){Us=!1,Qa=null,lj.apply(cj,arguments)}function dj(e,t,n,r,i,s,o,a,c){if(uj.apply(this,arguments),Us){if(Us){var u=Qa;Us=!1,Qa=null}else throw Error(M(198));qa||(qa=!0,Lu=u)}}function Jr(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 sv(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 mp(e){if(Jr(e)!==e)throw Error(M(188))}function fj(e){var t=e.alternate;if(!t){if(t=Jr(e),t===null)throw Error(M(188));return t!==e?null:e}for(var n=e,r=t;;){var i=n.return;if(i===null)break;var s=i.alternate;if(s===null){if(r=i.return,r!==null){n=r;continue}break}if(i.child===s.child){for(s=i.child;s;){if(s===n)return mp(i),e;if(s===r)return mp(i),t;s=s.sibling}throw Error(M(188))}if(n.return!==r.return)n=i,r=s;else{for(var o=!1,a=i.child;a;){if(a===n){o=!0,n=i,r=s;break}if(a===r){o=!0,r=i,n=s;break}a=a.sibling}if(!o){for(a=s.child;a;){if(a===n){o=!0,n=s,r=i;break}if(a===r){o=!0,r=s,n=i;break}a=a.sibling}if(!o)throw Error(M(189))}}if(n.alternate!==r)throw Error(M(190))}if(n.tag!==3)throw Error(M(188));return n.stateNode.current===n?e:t}function ov(e){return e=fj(e),e!==null?av(e):null}function av(e){if(e.tag===5||e.tag===6)return e;for(e=e.child;e!==null;){var t=av(e);if(t!==null)return t;e=e.sibling}return null}var lv=ft.unstable_scheduleCallback,gp=ft.unstable_cancelCallback,hj=ft.unstable_shouldYield,pj=ft.unstable_requestPaint,xe=ft.unstable_now,mj=ft.unstable_getCurrentPriorityLevel,gf=ft.unstable_ImmediatePriority,cv=ft.unstable_UserBlockingPriority,Xa=ft.unstable_NormalPriority,gj=ft.unstable_LowPriority,uv=ft.unstable_IdlePriority,Ol=null,sn=null;function yj(e){if(sn&&typeof sn.onCommitFiberRoot=="function")try{sn.onCommitFiberRoot(Ol,e,void 0,(e.current.flags&128)===128)}catch{}}var Ut=Math.clz32?Math.clz32:wj,vj=Math.log,xj=Math.LN2;function wj(e){return e>>>=0,e===0?32:31-(vj(e)/xj|0)|0}var ta=64,na=4194304;function Vs(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 Ja(e,t){var n=e.pendingLanes;if(n===0)return 0;var r=0,i=e.suspendedLanes,s=e.pingedLanes,o=n&268435455;if(o!==0){var a=o&~i;a!==0?r=Vs(a):(s&=o,s!==0&&(r=Vs(s)))}else o=n&~i,o!==0?r=Vs(o):s!==0&&(r=Vs(s));if(r===0)return 0;if(t!==0&&t!==r&&!(t&i)&&(i=r&-r,s=t&-t,i>=s||i===16&&(s&4194240)!==0))return t;if(r&4&&(r|=n&16),t=e.entangledLanes,t!==0)for(e=e.entanglements,t&=r;0<t;)n=31-Ut(t),i=1<<n,r|=e[n],t&=~i;return r}function bj(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 jj(e,t){for(var n=e.suspendedLanes,r=e.pingedLanes,i=e.expirationTimes,s=e.pendingLanes;0<s;){var o=31-Ut(s),a=1<<o,c=i[o];c===-1?(!(a&n)||a&r)&&(i[o]=bj(a,t)):c<=t&&(e.expiredLanes|=a),s&=~a}}function Iu(e){return e=e.pendingLanes&-1073741825,e!==0?e:e&1073741824?1073741824:0}function dv(){var e=ta;return ta<<=1,!(ta&4194240)&&(ta=64),e}function kc(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function Lo(e,t,n){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-Ut(t),e[t]=n}function kj(e,t){var n=e.pendingLanes&~t;e.pendingLanes=t,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=t,e.mutableReadLanes&=t,e.entangledLanes&=t,t=e.entanglements;var r=e.eventTimes;for(e=e.expirationTimes;0<n;){var i=31-Ut(n),s=1<<i;t[i]=0,r[i]=-1,e[i]=-1,n&=~s}}function yf(e,t){var n=e.entangledLanes|=t;for(e=e.entanglements;n;){var r=31-Ut(n),i=1<<r;i&t|e[r]&t&&(e[r]|=t),n&=~i}}var re=0;function fv(e){return e&=-e,1<e?4<e?e&268435455?16:536870912:4:1}var hv,vf,pv,mv,gv,zu=!1,ra=[],er=null,tr=null,nr=null,so=new Map,oo=new Map,Un=[],Sj="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 yp(e,t){switch(e){case"focusin":case"focusout":er=null;break;case"dragenter":case"dragleave":tr=null;break;case"mouseover":case"mouseout":nr=null;break;case"pointerover":case"pointerout":so.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":oo.delete(t.pointerId)}}function xs(e,t,n,r,i,s){return e===null||e.nativeEvent!==s?(e={blockedOn:t,domEventName:n,eventSystemFlags:r,nativeEvent:s,targetContainers:[i]},t!==null&&(t=zo(t),t!==null&&vf(t)),e):(e.eventSystemFlags|=r,t=e.targetContainers,i!==null&&t.indexOf(i)===-1&&t.push(i),e)}function Tj(e,t,n,r,i){switch(t){case"focusin":return er=xs(er,e,t,n,r,i),!0;case"dragenter":return tr=xs(tr,e,t,n,r,i),!0;case"mouseover":return nr=xs(nr,e,t,n,r,i),!0;case"pointerover":var s=i.pointerId;return so.set(s,xs(so.get(s)||null,e,t,n,r,i)),!0;case"gotpointercapture":return s=i.pointerId,oo.set(s,xs(oo.get(s)||null,e,t,n,r,i)),!0}return!1}function yv(e){var t=Ar(e.target);if(t!==null){var n=Jr(t);if(n!==null){if(t=n.tag,t===13){if(t=sv(n),t!==null){e.blockedOn=t,gv(e.priority,function(){pv(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 Ea(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;0<t.length;){var n=_u(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(n===null){n=e.nativeEvent;var r=new n.constructor(n.type,n);Mu=r,n.target.dispatchEvent(r),Mu=null}else return t=zo(n),t!==null&&vf(t),e.blockedOn=n,!1;t.shift()}return!0}function vp(e,t,n){Ea(e)&&n.delete(t)}function Cj(){zu=!1,er!==null&&Ea(er)&&(er=null),tr!==null&&Ea(tr)&&(tr=null),nr!==null&&Ea(nr)&&(nr=null),so.forEach(vp),oo.forEach(vp)}function ws(e,t){e.blockedOn===t&&(e.blockedOn=null,zu||(zu=!0,ft.unstable_scheduleCallback(ft.unstable_NormalPriority,Cj)))}function ao(e){function t(i){return ws(i,e)}if(0<ra.length){ws(ra[0],e);for(var n=1;n<ra.length;n++){var r=ra[n];r.blockedOn===e&&(r.blockedOn=null)}}for(er!==null&&ws(er,e),tr!==null&&ws(tr,e),nr!==null&&ws(nr,e),so.forEach(t),oo.forEach(t),n=0;n<Un.length;n++)r=Un[n],r.blockedOn===e&&(r.blockedOn=null);for(;0<Un.length&&(n=Un[0],n.blockedOn===null);)yv(n),n.blockedOn===null&&Un.shift()}var Mi=Nn.ReactCurrentBatchConfig,Za=!0;function Ej(e,t,n,r){var i=re,s=Mi.transition;Mi.transition=null;try{re=1,xf(e,t,n,r)}finally{re=i,Mi.transition=s}}function Nj(e,t,n,r){var i=re,s=Mi.transition;Mi.transition=null;try{re=4,xf(e,t,n,r)}finally{re=i,Mi.transition=s}}function xf(e,t,n,r){if(Za){var i=_u(e,t,n,r);if(i===null)Dc(e,t,r,el,n),yp(e,r);else if(Tj(i,e,t,n,r))r.stopPropagation();else if(yp(e,r),t&4&&-1<Sj.indexOf(e)){for(;i!==null;){var s=zo(i);if(s!==null&&hv(s),s=_u(e,t,n,r),s===null&&Dc(e,t,r,el,n),s===i)break;i=s}i!==null&&r.stopPropagation()}else Dc(e,t,r,null,n)}}var el=null;function _u(e,t,n,r){if(el=null,e=mf(r),e=Ar(e),e!==null)if(t=Jr(e),t===null)e=null;else if(n=t.tag,n===13){if(e=sv(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 el=e,null}function vv(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(mj()){case gf:return 1;case cv:return 4;case Xa:case gj:return 16;case uv:return 536870912;default:return 16}default:return 16}}var qn=null,wf=null,Na=null;function xv(){if(Na)return Na;var e,t=wf,n=t.length,r,i="value"in qn?qn.value:qn.textContent,s=i.length;for(e=0;e<n&&t[e]===i[e];e++);var o=n-e;for(r=1;r<=o&&t[n-r]===i[s-r];r++);return Na=i.slice(e,1<r?1-r:void 0)}function Pa(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 ia(){return!0}function xp(){return!1}function pt(e){function t(n,r,i,s,o){this._reactName=n,this._targetInst=i,this.type=r,this.nativeEvent=s,this.target=o,this.currentTarget=null;for(var a in e)e.hasOwnProperty(a)&&(n=e[a],this[a]=n?n(s):s[a]);return this.isDefaultPrevented=(s.defaultPrevented!=null?s.defaultPrevented:s.returnValue===!1)?ia:xp,this.isPropagationStopped=xp,this}return ge(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var n=this.nativeEvent;n&&(n.preventDefault?n.preventDefault():typeof n.returnValue!="unknown"&&(n.returnValue=!1),this.isDefaultPrevented=ia)},stopPropagation:function(){var n=this.nativeEvent;n&&(n.stopPropagation?n.stopPropagation():typeof n.cancelBubble!="unknown"&&(n.cancelBubble=!0),this.isPropagationStopped=ia)},persist:function(){},isPersistent:ia}),t}var os={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},bf=pt(os),Io=ge({},os,{view:0,detail:0}),Pj=pt(Io),Sc,Tc,bs,Ll=ge({},Io,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:jf,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"?(Sc=e.screenX-bs.screenX,Tc=e.screenY-bs.screenY):Tc=Sc=0,bs=e),Sc)},movementY:function(e){return"movementY"in e?e.movementY:Tc}}),wp=pt(Ll),Aj=ge({},Ll,{dataTransfer:0}),Rj=pt(Aj),Mj=ge({},Io,{relatedTarget:0}),Cc=pt(Mj),Dj=ge({},os,{animationName:0,elapsedTime:0,pseudoElement:0}),Oj=pt(Dj),Lj=ge({},os,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),Ij=pt(Lj),zj=ge({},os,{data:0}),bp=pt(zj),_j={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},Vj={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"},Bj={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function Fj(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):(e=Bj[e])?!!t[e]:!1}function jf(){return Fj}var $j=ge({},Io,{key:function(e){if(e.key){var t=_j[e.key]||e.key;if(t!=="Unidentified")return t}return e.type==="keypress"?(e=Pa(e),e===13?"Enter":String.fromCharCode(e)):e.type==="keydown"||e.type==="keyup"?Vj[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:jf,charCode:function(e){return e.type==="keypress"?Pa(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?Pa(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),Uj=pt($j),Wj=ge({},Ll,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),jp=pt(Wj),Hj=ge({},Io,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:jf}),Kj=pt(Hj),Gj=ge({},os,{propertyName:0,elapsedTime:0,pseudoElement:0}),Yj=pt(Gj),Qj=ge({},Ll,{deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:0,deltaMode:0}),qj=pt(Qj),Xj=[9,13,27,32],kf=bn&&"CompositionEvent"in window,Ws=null;bn&&"documentMode"in document&&(Ws=document.documentMode);var Jj=bn&&"TextEvent"in window&&!Ws,wv=bn&&(!kf||Ws&&8<Ws&&11>=Ws),kp=" ",Sp=!1;function bv(e,t){switch(e){case"keyup":return Xj.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function jv(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var pi=!1;function Zj(e,t){switch(e){case"compositionend":return jv(t);case"keypress":return t.which!==32?null:(Sp=!0,kp);case"textInput":return e=t.data,e===kp&&Sp?null:e;default:return null}}function ek(e,t){if(pi)return e==="compositionend"||!kf&&bv(e,t)?(e=xv(),Na=wf=qn=null,pi=!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 wv&&t.locale!=="ko"?null:t.data;default:return null}}var tk={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 Tp(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t==="input"?!!tk[e.type]:t==="textarea"}function kv(e,t,n,r){ev(r),t=tl(t,"onChange"),0<t.length&&(n=new bf("onChange","change",null,n,r),e.push({event:n,listeners:t}))}var Hs=null,lo=null;function nk(e){Ov(e,0)}function Il(e){var t=yi(e);if(Gy(t))return e}function rk(e,t){if(e==="change")return t}var Sv=!1;if(bn){var Ec;if(bn){var Nc="oninput"in document;if(!Nc){var Cp=document.createElement("div");Cp.setAttribute("oninput","return;"),Nc=typeof Cp.oninput=="function"}Ec=Nc}else Ec=!1;Sv=Ec&&(!document.documentMode||9<document.documentMode)}function Ep(){Hs&&(Hs.detachEvent("onpropertychange",Tv),lo=Hs=null)}function Tv(e){if(e.propertyName==="value"&&Il(lo)){var t=[];kv(t,lo,e,mf(e)),iv(nk,t)}}function ik(e,t,n){e==="focusin"?(Ep(),Hs=t,lo=n,Hs.attachEvent("onpropertychange",Tv)):e==="focusout"&&Ep()}function sk(e){if(e==="selectionchange"||e==="keyup"||e==="keydown")return Il(lo)}function ok(e,t){if(e==="click")return Il(t)}function ak(e,t){if(e==="input"||e==="change")return Il(t)}function lk(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var Kt=typeof Object.is=="function"?Object.is:lk;function co(e,t){if(Kt(e,t))return!0;if(typeof e!="object"||e===null||typeof t!="object"||t===null)return!1;var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(r=0;r<n.length;r++){var i=n[r];if(!wu.call(t,i)||!Kt(e[i],t[i]))return!1}return!0}function Np(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function Pp(e,t){var n=Np(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=Np(n)}}function Cv(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?Cv(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function Ev(){for(var e=window,t=Ya();t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href=="string"}catch{n=!1}if(n)e=t.contentWindow;else break;t=Ya(e.document)}return t}function Sf(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 ck(e){var t=Ev(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&Cv(n.ownerDocument.documentElement,n)){if(r!==null&&Sf(n)){if(t=r.start,e=r.end,e===void 0&&(e=t),"selectionStart"in n)n.selectionStart=t,n.selectionEnd=Math.min(e,n.value.length);else if(e=(t=n.ownerDocument||document)&&t.defaultView||window,e.getSelection){e=e.getSelection();var i=n.textContent.length,s=Math.min(r.start,i);r=r.end===void 0?s:Math.min(r.end,i),!e.extend&&s>r&&(i=r,r=s,s=i),i=Pp(n,s);var o=Pp(n,r);i&&o&&(e.rangeCount!==1||e.anchorNode!==i.node||e.anchorOffset!==i.offset||e.focusNode!==o.node||e.focusOffset!==o.offset)&&(t=t.createRange(),t.setStart(i.node,i.offset),e.removeAllRanges(),s>r?(e.addRange(t),e.extend(o.node,o.offset)):(t.setEnd(o.node,o.offset),e.addRange(t)))}}for(t=[],e=n;e=e.parentNode;)e.nodeType===1&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for(typeof n.focus=="function"&&n.focus(),n=0;n<t.length;n++)e=t[n],e.element.scrollLeft=e.left,e.element.scrollTop=e.top}}var uk=bn&&"documentMode"in document&&11>=document.documentMode,mi=null,Vu=null,Ks=null,Bu=!1;function Ap(e,t,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;Bu||mi==null||mi!==Ya(r)||(r=mi,"selectionStart"in r&&Sf(r)?r={start:r.selectionStart,end:r.selectionEnd}:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection(),r={anchorNode:r.anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset}),Ks&&co(Ks,r)||(Ks=r,r=tl(Vu,"onSelect"),0<r.length&&(t=new bf("onSelect","select",null,t,n),e.push({event:t,listeners:r}),t.target=mi)))}function sa(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var gi={animationend:sa("Animation","AnimationEnd"),animationiteration:sa("Animation","AnimationIteration"),animationstart:sa("Animation","AnimationStart"),transitionend:sa("Transition","TransitionEnd")},Pc={},Nv={};bn&&(Nv=document.createElement("div").style,"AnimationEvent"in window||(delete gi.animationend.animation,delete gi.animationiteration.animation,delete gi.animationstart.animation),"TransitionEvent"in window||delete gi.transitionend.transition);function zl(e){if(Pc[e])return Pc[e];if(!gi[e])return e;var t=gi[e],n;for(n in t)if(t.hasOwnProperty(n)&&n in Nv)return Pc[e]=t[n];return e}var Pv=zl("animationend"),Av=zl("animationiteration"),Rv=zl("animationstart"),Mv=zl("transitionend"),Dv=new Map,Rp="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 vr(e,t){Dv.set(e,t),Xr(t,[e])}for(var Ac=0;Ac<Rp.length;Ac++){var Rc=Rp[Ac],dk=Rc.toLowerCase(),fk=Rc[0].toUpperCase()+Rc.slice(1);vr(dk,"on"+fk)}vr(Pv,"onAnimationEnd");vr(Av,"onAnimationIteration");vr(Rv,"onAnimationStart");vr("dblclick","onDoubleClick");vr("focusin","onFocus");vr("focusout","onBlur");vr(Mv,"onTransitionEnd");Yi("onMouseEnter",["mouseout","mouseover"]);Yi("onMouseLeave",["mouseout","mouseover"]);Yi("onPointerEnter",["pointerout","pointerover"]);Yi("onPointerLeave",["pointerout","pointerover"]);Xr("onChange","change click focusin focusout input keydown keyup selectionchange".split(" "));Xr("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" "));Xr("onBeforeInput",["compositionend","keypress","textInput","paste"]);Xr("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" "));Xr("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" "));Xr("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Bs="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(" "),hk=new Set("cancel close invalid load scroll toggle".split(" ").concat(Bs));function Mp(e,t,n){var r=e.type||"unknown-event";e.currentTarget=n,dj(r,t,void 0,e),e.currentTarget=null}function Ov(e,t){t=(t&4)!==0;for(var n=0;n<e.length;n++){var r=e[n],i=r.event;r=r.listeners;e:{var s=void 0;if(t)for(var o=r.length-1;0<=o;o--){var a=r[o],c=a.instance,u=a.currentTarget;if(a=a.listener,c!==s&&i.isPropagationStopped())break e;Mp(i,a,u),s=c}else for(o=0;o<r.length;o++){if(a=r[o],c=a.instance,u=a.currentTarget,a=a.listener,c!==s&&i.isPropagationStopped())break e;Mp(i,a,u),s=c}}}if(qa)throw e=Lu,qa=!1,Lu=null,e}function le(e,t){var n=t[Hu];n===void 0&&(n=t[Hu]=new Set);var r=e+"__bubble";n.has(r)||(Lv(t,e,2,!1),n.add(r))}function Mc(e,t,n){var r=0;t&&(r|=4),Lv(n,e,r,t)}var oa="_reactListening"+Math.random().toString(36).slice(2);function uo(e){if(!e[oa]){e[oa]=!0,$y.forEach(function(n){n!=="selectionchange"&&(hk.has(n)||Mc(n,!1,e),Mc(n,!0,e))});var t=e.nodeType===9?e:e.ownerDocument;t===null||t[oa]||(t[oa]=!0,Mc("selectionchange",!1,t))}}function Lv(e,t,n,r){switch(vv(t)){case 1:var i=Ej;break;case 4:i=Nj;break;default:i=xf}n=i.bind(null,t,n,e),i=void 0,!Ou||t!=="touchstart"&&t!=="touchmove"&&t!=="wheel"||(i=!0),r?i!==void 0?e.addEventListener(t,n,{capture:!0,passive:i}):e.addEventListener(t,n,!0):i!==void 0?e.addEventListener(t,n,{passive:i}):e.addEventListener(t,n,!1)}function Dc(e,t,n,r,i){var s=r;if(!(t&1)&&!(t&2)&&r!==null)e:for(;;){if(r===null)return;var o=r.tag;if(o===3||o===4){var a=r.stateNode.containerInfo;if(a===i||a.nodeType===8&&a.parentNode===i)break;if(o===4)for(o=r.return;o!==null;){var c=o.tag;if((c===3||c===4)&&(c=o.stateNode.containerInfo,c===i||c.nodeType===8&&c.parentNode===i))return;o=o.return}for(;a!==null;){if(o=Ar(a),o===null)return;if(c=o.tag,c===5||c===6){r=s=o;continue e}a=a.parentNode}}r=r.return}iv(function(){var u=s,d=mf(n),f=[];e:{var h=Dv.get(e);if(h!==void 0){var p=bf,x=e;switch(e){case"keypress":if(Pa(n)===0)break e;case"keydown":case"keyup":p=Uj;break;case"focusin":x="focus",p=Cc;break;case"focusout":x="blur",p=Cc;break;case"beforeblur":case"afterblur":p=Cc;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=wp;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":p=Rj;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":p=Kj;break;case Pv:case Av:case Rv:p=Oj;break;case Mv:p=Yj;break;case"scroll":p=Pj;break;case"wheel":p=qj;break;case"copy":case"cut":case"paste":p=Ij;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":p=jp}var y=(t&4)!==0,w=!y&&e==="scroll",m=y?h!==null?h+"Capture":null:h;y=[];for(var g=u,v;g!==null;){v=g;var j=v.stateNode;if(v.tag===5&&j!==null&&(v=j,m!==null&&(j=io(g,m),j!=null&&y.push(fo(g,j,v)))),w)break;g=g.return}0<y.length&&(h=new p(h,x,null,n,d),f.push({event:h,listeners:y}))}}if(!(t&7)){e:{if(h=e==="mouseover"||e==="pointerover",p=e==="mouseout"||e==="pointerout",h&&n!==Mu&&(x=n.relatedTarget||n.fromElement)&&(Ar(x)||x[jn]))break e;if((p||h)&&(h=d.window===d?d:(h=d.ownerDocument)?h.defaultView||h.parentWindow:window,p?(x=n.relatedTarget||n.toElement,p=u,x=x?Ar(x):null,x!==null&&(w=Jr(x),x!==w||x.tag!==5&&x.tag!==6)&&(x=null)):(p=null,x=u),p!==x)){if(y=wp,j="onMouseLeave",m="onMouseEnter",g="mouse",(e==="pointerout"||e==="pointerover")&&(y=jp,j="onPointerLeave",m="onPointerEnter",g="pointer"),w=p==null?h:yi(p),v=x==null?h:yi(x),h=new y(j,g+"leave",p,n,d),h.target=w,h.relatedTarget=v,j=null,Ar(d)===u&&(y=new y(m,g+"enter",x,n,d),y.target=v,y.relatedTarget=w,j=y),w=j,p&&x)t:{for(y=p,m=x,g=0,v=y;v;v=li(v))g++;for(v=0,j=m;j;j=li(j))v++;for(;0<g-v;)y=li(y),g--;for(;0<v-g;)m=li(m),v--;for(;g--;){if(y===m||m!==null&&y===m.alternate)break t;y=li(y),m=li(m)}y=null}else y=null;p!==null&&Dp(f,h,p,y,!1),x!==null&&w!==null&&Dp(f,w,x,y,!0)}}e:{if(h=u?yi(u):window,p=h.nodeName&&h.nodeName.toLowerCase(),p==="select"||p==="input"&&h.type==="file")var k=rk;else if(Tp(h))if(Sv)k=ak;else{k=sk;var S=ik}else(p=h.nodeName)&&p.toLowerCase()==="input"&&(h.type==="checkbox"||h.type==="radio")&&(k=ok);if(k&&(k=k(e,u))){kv(f,k,n,d);break e}S&&S(e,h,u),e==="focusout"&&(S=h._wrapperState)&&S.controlled&&h.type==="number"&&Eu(h,"number",h.value)}switch(S=u?yi(u):window,e){case"focusin":(Tp(S)||S.contentEditable==="true")&&(mi=S,Vu=u,Ks=null);break;case"focusout":Ks=Vu=mi=null;break;case"mousedown":Bu=!0;break;case"contextmenu":case"mouseup":case"dragend":Bu=!1,Ap(f,n,d);break;case"selectionchange":if(uk)break;case"keydown":case"keyup":Ap(f,n,d)}var T;if(kf)e:{switch(e){case"compositionstart":var C="onCompositionStart";break e;case"compositionend":C="onCompositionEnd";break e;case"compositionupdate":C="onCompositionUpdate";break e}C=void 0}else pi?bv(e,n)&&(C="onCompositionEnd"):e==="keydown"&&n.keyCode===229&&(C="onCompositionStart");C&&(wv&&n.locale!=="ko"&&(pi||C!=="onCompositionStart"?C==="onCompositionEnd"&&pi&&(T=xv()):(qn=d,wf="value"in qn?qn.value:qn.textContent,pi=!0)),S=tl(u,C),0<S.length&&(C=new bp(C,e,null,n,d),f.push({event:C,listeners:S}),T?C.data=T:(T=jv(n),T!==null&&(C.data=T)))),(T=Jj?Zj(e,n):ek(e,n))&&(u=tl(u,"onBeforeInput"),0<u.length&&(d=new bp("onBeforeInput","beforeinput",null,n,d),f.push({event:d,listeners:u}),d.data=T))}Ov(f,t)})}function fo(e,t,n){return{instance:e,listener:t,currentTarget:n}}function tl(e,t){for(var n=t+"Capture",r=[];e!==null;){var i=e,s=i.stateNode;i.tag===5&&s!==null&&(i=s,s=io(e,n),s!=null&&r.unshift(fo(e,s,i)),s=io(e,t),s!=null&&r.push(fo(e,s,i))),e=e.return}return r}function li(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5);return e||null}function Dp(e,t,n,r,i){for(var s=t._reactName,o=[];n!==null&&n!==r;){var a=n,c=a.alternate,u=a.stateNode;if(c!==null&&c===r)break;a.tag===5&&u!==null&&(a=u,i?(c=io(n,s),c!=null&&o.unshift(fo(n,c,a))):i||(c=io(n,s),c!=null&&o.push(fo(n,c,a)))),n=n.return}o.length!==0&&e.push({event:t,listeners:o})}var pk=/\r\n?/g,mk=/\u0000|\uFFFD/g;function Op(e){return(typeof e=="string"?e:""+e).replace(pk,`
`).replace(mk,"")}function aa(e,t,n){if(t=Op(t),Op(e)!==t&&n)throw Error(M(425))}function nl(){}var Fu=null,$u=null;function Uu(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 Wu=typeof setTimeout=="function"?setTimeout:void 0,gk=typeof clearTimeout=="function"?clearTimeout:void 0,Lp=typeof Promise=="function"?Promise:void 0,yk=typeof queueMicrotask=="function"?queueMicrotask:typeof Lp<"u"?function(e){return Lp.resolve(null).then(e).catch(vk)}:Wu;function vk(e){setTimeout(function(){throw e})}function Oc(e,t){var n=t,r=0;do{var i=n.nextSibling;if(e.removeChild(n),i&&i.nodeType===8)if(n=i.data,n==="/$"){if(r===0){e.removeChild(i),ao(t);return}r--}else n!=="$"&&n!=="$?"&&n!=="$!"||r++;n=i}while(n);ao(t)}function rr(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 Ip(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 as=Math.random().toString(36).slice(2),rn="__reactFiber$"+as,ho="__reactProps$"+as,jn="__reactContainer$"+as,Hu="__reactEvents$"+as,xk="__reactListeners$"+as,wk="__reactHandles$"+as;function Ar(e){var t=e[rn];if(t)return t;for(var n=e.parentNode;n;){if(t=n[jn]||n[rn]){if(n=t.alternate,t.child!==null||n!==null&&n.child!==null)for(e=Ip(e);e!==null;){if(n=e[rn])return n;e=Ip(e)}return t}e=n,n=e.parentNode}return null}function zo(e){return e=e[rn]||e[jn],!e||e.tag!==5&&e.tag!==6&&e.tag!==13&&e.tag!==3?null:e}function yi(e){if(e.tag===5||e.tag===6)return e.stateNode;throw Error(M(33))}function _l(e){return e[ho]||null}var Ku=[],vi=-1;function xr(e){return{current:e}}function ce(e){0>vi||(e.current=Ku[vi],Ku[vi]=null,vi--)}function se(e,t){vi++,Ku[vi]=e.current,e.current=t}var ur={},$e=xr(ur),rt=xr(!1),Hr=ur;function Qi(e,t){var n=e.type.contextTypes;if(!n)return ur;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var i={},s;for(s in n)i[s]=t[s];return r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=i),i}function it(e){return e=e.childContextTypes,e!=null}function rl(){ce(rt),ce($e)}function zp(e,t,n){if($e.current!==ur)throw Error(M(168));se($e,t),se(rt,n)}function Iv(e,t,n){var r=e.stateNode;if(t=t.childContextTypes,typeof r.getChildContext!="function")return n;r=r.getChildContext();for(var i in r)if(!(i in t))throw Error(M(108,ij(e)||"Unknown",i));return ge({},n,r)}function il(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||ur,Hr=$e.current,se($e,e),se(rt,rt.current),!0}function _p(e,t,n){var r=e.stateNode;if(!r)throw Error(M(169));n?(e=Iv(e,t,Hr),r.__reactInternalMemoizedMergedChildContext=e,ce(rt),ce($e),se($e,e)):ce(rt),se(rt,n)}var gn=null,Vl=!1,Lc=!1;function zv(e){gn===null?gn=[e]:gn.push(e)}function bk(e){Vl=!0,zv(e)}function wr(){if(!Lc&&gn!==null){Lc=!0;var e=0,t=re;try{var n=gn;for(re=1;e<n.length;e++){var r=n[e];do r=r(!0);while(r!==null)}gn=null,Vl=!1}catch(i){throw gn!==null&&(gn=gn.slice(e+1)),lv(gf,wr),i}finally{re=t,Lc=!1}}return null}var xi=[],wi=0,sl=null,ol=0,vt=[],xt=0,Kr=null,vn=1,xn="";function Er(e,t){xi[wi++]=ol,xi[wi++]=sl,sl=e,ol=t}function _v(e,t,n){vt[xt++]=vn,vt[xt++]=xn,vt[xt++]=Kr,Kr=e;var r=vn;e=xn;var i=32-Ut(r)-1;r&=~(1<<i),n+=1;var s=32-Ut(t)+i;if(30<s){var o=i-i%5;s=(r&(1<<o)-1).toString(32),r>>=o,i-=o,vn=1<<32-Ut(t)+i|n<<i|r,xn=s+e}else vn=1<<s|n<<i|r,xn=e}function Tf(e){e.return!==null&&(Er(e,1),_v(e,1,0))}function Cf(e){for(;e===sl;)sl=xi[--wi],xi[wi]=null,ol=xi[--wi],xi[wi]=null;for(;e===Kr;)Kr=vt[--xt],vt[xt]=null,xn=vt[--xt],vt[xt]=null,vn=vt[--xt],vt[xt]=null}var ut=null,ct=null,de=!1,Ft=null;function Vv(e,t){var n=wt(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 Vp(e,t){switch(e.tag){case 5:var n=e.type;return t=t.nodeType!==1||n.toLowerCase()!==t.nodeName.toLowerCase()?null:t,t!==null?(e.stateNode=t,ut=e,ct=rr(t.firstChild),!0):!1;case 6:return t=e.pendingProps===""||t.nodeType!==3?null:t,t!==null?(e.stateNode=t,ut=e,ct=null,!0):!1;case 13:return t=t.nodeType!==8?null:t,t!==null?(n=Kr!==null?{id:vn,overflow:xn}:null,e.memoizedState={dehydrated:t,treeContext:n,retryLane:1073741824},n=wt(18,null,null,0),n.stateNode=t,n.return=e,e.child=n,ut=e,ct=null,!0):!1;default:return!1}}function Gu(e){return(e.mode&1)!==0&&(e.flags&128)===0}function Yu(e){if(de){var t=ct;if(t){var n=t;if(!Vp(e,t)){if(Gu(e))throw Error(M(418));t=rr(n.nextSibling);var r=ut;t&&Vp(e,t)?Vv(r,n):(e.flags=e.flags&-4097|2,de=!1,ut=e)}}else{if(Gu(e))throw Error(M(418));e.flags=e.flags&-4097|2,de=!1,ut=e}}}function Bp(e){for(e=e.return;e!==null&&e.tag!==5&&e.tag!==3&&e.tag!==13;)e=e.return;ut=e}function la(e){if(e!==ut)return!1;if(!de)return Bp(e),de=!0,!1;var t;if((t=e.tag!==3)&&!(t=e.tag!==5)&&(t=e.type,t=t!=="head"&&t!=="body"&&!Uu(e.type,e.memoizedProps)),t&&(t=ct)){if(Gu(e))throw Bv(),Error(M(418));for(;t;)Vv(e,t),t=rr(t.nextSibling)}if(Bp(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){ct=rr(e.nextSibling);break e}t--}else n!=="$"&&n!=="$!"&&n!=="$?"||t++}e=e.nextSibling}ct=null}}else ct=ut?rr(e.stateNode.nextSibling):null;return!0}function Bv(){for(var e=ct;e;)e=rr(e.nextSibling)}function qi(){ct=ut=null,de=!1}function Ef(e){Ft===null?Ft=[e]:Ft.push(e)}var jk=Nn.ReactCurrentBatchConfig;function js(e,t,n){if(e=n.ref,e!==null&&typeof e!="function"&&typeof e!="object"){if(n._owner){if(n=n._owner,n){if(n.tag!==1)throw Error(M(309));var r=n.stateNode}if(!r)throw Error(M(147,e));var i=r,s=""+e;return t!==null&&t.ref!==null&&typeof t.ref=="function"&&t.ref._stringRef===s?t.ref:(t=function(o){var a=i.refs;o===null?delete a[s]:a[s]=o},t._stringRef=s,t)}if(typeof e!="string")throw Error(M(284));if(!n._owner)throw Error(M(290,e))}return e}function ca(e,t){throw e=Object.prototype.toString.call(t),Error(M(31,e==="[object Object]"?"object with keys {"+Object.keys(t).join(", ")+"}":e))}function Fp(e){var t=e._init;return t(e._payload)}function Fv(e){function t(m,g){if(e){var v=m.deletions;v===null?(m.deletions=[g],m.flags|=16):v.push(g)}}function n(m,g){if(!e)return null;for(;g!==null;)t(m,g),g=g.sibling;return null}function r(m,g){for(m=new Map;g!==null;)g.key!==null?m.set(g.key,g):m.set(g.index,g),g=g.sibling;return m}function i(m,g){return m=ar(m,g),m.index=0,m.sibling=null,m}function s(m,g,v){return m.index=v,e?(v=m.alternate,v!==null?(v=v.index,v<g?(m.flags|=2,g):v):(m.flags|=2,g)):(m.flags|=1048576,g)}function o(m){return e&&m.alternate===null&&(m.flags|=2),m}function a(m,g,v,j){return g===null||g.tag!==6?(g=$c(v,m.mode,j),g.return=m,g):(g=i(g,v),g.return=m,g)}function c(m,g,v,j){var k=v.type;return k===hi?d(m,g,v.props.children,j,v.key):g!==null&&(g.elementType===k||typeof k=="object"&&k!==null&&k.$$typeof===Fn&&Fp(k)===g.type)?(j=i(g,v.props),j.ref=js(m,g,v),j.return=m,j):(j=Ia(v.type,v.key,v.props,null,m.mode,j),j.ref=js(m,g,v),j.return=m,j)}function u(m,g,v,j){return g===null||g.tag!==4||g.stateNode.containerInfo!==v.containerInfo||g.stateNode.implementation!==v.implementation?(g=Uc(v,m.mode,j),g.return=m,g):(g=i(g,v.children||[]),g.return=m,g)}function d(m,g,v,j,k){return g===null||g.tag!==7?(g=Ur(v,m.mode,j,k),g.return=m,g):(g=i(g,v),g.return=m,g)}function f(m,g,v){if(typeof g=="string"&&g!==""||typeof g=="number")return g=$c(""+g,m.mode,v),g.return=m,g;if(typeof g=="object"&&g!==null){switch(g.$$typeof){case Jo:return v=Ia(g.type,g.key,g.props,null,m.mode,v),v.ref=js(m,null,g),v.return=m,v;case fi:return g=Uc(g,m.mode,v),g.return=m,g;case Fn:var j=g._init;return f(m,j(g._payload),v)}if(_s(g)||ys(g))return g=Ur(g,m.mode,v,null),g.return=m,g;ca(m,g)}return null}function h(m,g,v,j){var k=g!==null?g.key:null;if(typeof v=="string"&&v!==""||typeof v=="number")return k!==null?null:a(m,g,""+v,j);if(typeof v=="object"&&v!==null){switch(v.$$typeof){case Jo:return v.key===k?c(m,g,v,j):null;case fi:return v.key===k?u(m,g,v,j):null;case Fn:return k=v._init,h(m,g,k(v._payload),j)}if(_s(v)||ys(v))return k!==null?null:d(m,g,v,j,null);ca(m,v)}return null}function p(m,g,v,j,k){if(typeof j=="string"&&j!==""||typeof j=="number")return m=m.get(v)||null,a(g,m,""+j,k);if(typeof j=="object"&&j!==null){switch(j.$$typeof){case Jo:return m=m.get(j.key===null?v:j.key)||null,c(g,m,j,k);case fi:return m=m.get(j.key===null?v:j.key)||null,u(g,m,j,k);case Fn:var S=j._init;return p(m,g,v,S(j._payload),k)}if(_s(j)||ys(j))return m=m.get(v)||null,d(g,m,j,k,null);ca(g,j)}return null}function x(m,g,v,j){for(var k=null,S=null,T=g,C=g=0,A=null;T!==null&&C<v.length;C++){T.index>C?(A=T,T=null):A=T.sibling;var R=h(m,T,v[C],j);if(R===null){T===null&&(T=A);break}e&&T&&R.alternate===null&&t(m,T),g=s(R,g,C),S===null?k=R:S.sibling=R,S=R,T=A}if(C===v.length)return n(m,T),de&&Er(m,C),k;if(T===null){for(;C<v.length;C++)T=f(m,v[C],j),T!==null&&(g=s(T,g,C),S===null?k=T:S.sibling=T,S=T);return de&&Er(m,C),k}for(T=r(m,T);C<v.length;C++)A=p(T,m,C,v[C],j),A!==null&&(e&&A.alternate!==null&&T.delete(A.key===null?C:A.key),g=s(A,g,C),S===null?k=A:S.sibling=A,S=A);return e&&T.forEach(function(B){return t(m,B)}),de&&Er(m,C),k}function y(m,g,v,j){var k=ys(v);if(typeof k!="function")throw Error(M(150));if(v=k.call(v),v==null)throw Error(M(151));for(var S=k=null,T=g,C=g=0,A=null,R=v.next();T!==null&&!R.done;C++,R=v.next()){T.index>C?(A=T,T=null):A=T.sibling;var B=h(m,T,R.value,j);if(B===null){T===null&&(T=A);break}e&&T&&B.alternate===null&&t(m,T),g=s(B,g,C),S===null?k=B:S.sibling=B,S=B,T=A}if(R.done)return n(m,T),de&&Er(m,C),k;if(T===null){for(;!R.done;C++,R=v.next())R=f(m,R.value,j),R!==null&&(g=s(R,g,C),S===null?k=R:S.sibling=R,S=R);return de&&Er(m,C),k}for(T=r(m,T);!R.done;C++,R=v.next())R=p(T,m,C,R.value,j),R!==null&&(e&&R.alternate!==null&&T.delete(R.key===null?C:R.key),g=s(R,g,C),S===null?k=R:S.sibling=R,S=R);return e&&T.forEach(function(I){return t(m,I)}),de&&Er(m,C),k}function w(m,g,v,j){if(typeof v=="object"&&v!==null&&v.type===hi&&v.key===null&&(v=v.props.children),typeof v=="object"&&v!==null){switch(v.$$typeof){case Jo:e:{for(var k=v.key,S=g;S!==null;){if(S.key===k){if(k=v.type,k===hi){if(S.tag===7){n(m,S.sibling),g=i(S,v.props.children),g.return=m,m=g;break e}}else if(S.elementType===k||typeof k=="object"&&k!==null&&k.$$typeof===Fn&&Fp(k)===S.type){n(m,S.sibling),g=i(S,v.props),g.ref=js(m,S,v),g.return=m,m=g;break e}n(m,S);break}else t(m,S);S=S.sibling}v.type===hi?(g=Ur(v.props.children,m.mode,j,v.key),g.return=m,m=g):(j=Ia(v.type,v.key,v.props,null,m.mode,j),j.ref=js(m,g,v),j.return=m,m=j)}return o(m);case fi:e:{for(S=v.key;g!==null;){if(g.key===S)if(g.tag===4&&g.stateNode.containerInfo===v.containerInfo&&g.stateNode.implementation===v.implementation){n(m,g.sibling),g=i(g,v.children||[]),g.return=m,m=g;break e}else{n(m,g);break}else t(m,g);g=g.sibling}g=Uc(v,m.mode,j),g.return=m,m=g}return o(m);case Fn:return S=v._init,w(m,g,S(v._payload),j)}if(_s(v))return x(m,g,v,j);if(ys(v))return y(m,g,v,j);ca(m,v)}return typeof v=="string"&&v!==""||typeof v=="number"?(v=""+v,g!==null&&g.tag===6?(n(m,g.sibling),g=i(g,v),g.return=m,m=g):(n(m,g),g=$c(v,m.mode,j),g.return=m,m=g),o(m)):n(m,g)}return w}var Xi=Fv(!0),$v=Fv(!1),al=xr(null),ll=null,bi=null,Nf=null;function Pf(){Nf=bi=ll=null}function Af(e){var t=al.current;ce(al),e._currentValue=t}function Qu(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 Di(e,t){ll=e,Nf=bi=null,e=e.dependencies,e!==null&&e.firstContext!==null&&(e.lanes&t&&(nt=!0),e.firstContext=null)}function Tt(e){var t=e._currentValue;if(Nf!==e)if(e={context:e,memoizedValue:t,next:null},bi===null){if(ll===null)throw Error(M(308));bi=e,ll.dependencies={lanes:0,firstContext:e}}else bi=bi.next=e;return t}var Rr=null;function Rf(e){Rr===null?Rr=[e]:Rr.push(e)}function Uv(e,t,n,r){var i=t.interleaved;return i===null?(n.next=n,Rf(t)):(n.next=i.next,i.next=n),t.interleaved=n,kn(e,r)}function kn(e,t){e.lanes|=t;var n=e.alternate;for(n!==null&&(n.lanes|=t),n=e,e=e.return;e!==null;)e.childLanes|=t,n=e.alternate,n!==null&&(n.childLanes|=t),n=e,e=e.return;return n.tag===3?n.stateNode:null}var $n=!1;function Mf(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function Wv(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 wn(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function ir(e,t,n){var r=e.updateQueue;if(r===null)return null;if(r=r.shared,Z&2){var i=r.pending;return i===null?t.next=t:(t.next=i.next,i.next=t),r.pending=t,kn(e,n)}return i=r.interleaved,i===null?(t.next=t,Rf(r)):(t.next=i.next,i.next=t),r.interleaved=t,kn(e,n)}function Aa(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,yf(e,n)}}function $p(e,t){var n=e.updateQueue,r=e.alternate;if(r!==null&&(r=r.updateQueue,n===r)){var i=null,s=null;if(n=n.firstBaseUpdate,n!==null){do{var o={eventTime:n.eventTime,lane:n.lane,tag:n.tag,payload:n.payload,callback:n.callback,next:null};s===null?i=s=o:s=s.next=o,n=n.next}while(n!==null);s===null?i=s=t:s=s.next=t}else i=s=t;n={baseState:r.baseState,firstBaseUpdate:i,lastBaseUpdate:s,shared:r.shared,effects:r.effects},e.updateQueue=n;return}e=n.lastBaseUpdate,e===null?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}function cl(e,t,n,r){var i=e.updateQueue;$n=!1;var s=i.firstBaseUpdate,o=i.lastBaseUpdate,a=i.shared.pending;if(a!==null){i.shared.pending=null;var c=a,u=c.next;c.next=null,o===null?s=u:o.next=u,o=c;var d=e.alternate;d!==null&&(d=d.updateQueue,a=d.lastBaseUpdate,a!==o&&(a===null?d.firstBaseUpdate=u:a.next=u,d.lastBaseUpdate=c))}if(s!==null){var f=i.baseState;o=0,d=u=c=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 x=e,y=a;switch(h=t,p=n,y.tag){case 1:if(x=y.payload,typeof x=="function"){f=x.call(p,f,h);break e}f=x;break e;case 3:x.flags=x.flags&-65537|128;case 0:if(x=y.payload,h=typeof x=="function"?x.call(p,f,h):x,h==null)break e;f=ge({},f,h);break e;case 2:$n=!0}}a.callback!==null&&a.lane!==0&&(e.flags|=64,h=i.effects,h===null?i.effects=[a]:h.push(a))}else p={eventTime:p,lane:h,tag:a.tag,payload:a.payload,callback:a.callback,next:null},d===null?(u=d=p,c=f):d=d.next=p,o|=h;if(a=a.next,a===null){if(a=i.shared.pending,a===null)break;h=a,a=h.next,h.next=null,i.lastBaseUpdate=h,i.shared.pending=null}}while(!0);if(d===null&&(c=f),i.baseState=c,i.firstBaseUpdate=u,i.lastBaseUpdate=d,t=i.shared.interleaved,t!==null){i=t;do o|=i.lane,i=i.next;while(i!==t)}else s===null&&(i.shared.lanes=0);Yr|=o,e.lanes=o,e.memoizedState=f}}function Up(e,t,n){if(e=t.effects,t.effects=null,e!==null)for(t=0;t<e.length;t++){var r=e[t],i=r.callback;if(i!==null){if(r.callback=null,r=n,typeof i!="function")throw Error(M(191,i));i.call(r)}}}var _o={},on=xr(_o),po=xr(_o),mo=xr(_o);function Mr(e){if(e===_o)throw Error(M(174));return e}function Df(e,t){switch(se(mo,t),se(po,e),se(on,_o),e=t.nodeType,e){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:Pu(null,"");break;default:e=e===8?t.parentNode:t,t=e.namespaceURI||null,e=e.tagName,t=Pu(t,e)}ce(on),se(on,t)}function Ji(){ce(on),ce(po),ce(mo)}function Hv(e){Mr(mo.current);var t=Mr(on.current),n=Pu(t,e.type);t!==n&&(se(po,e),se(on,n))}function Of(e){po.current===e&&(ce(on),ce(po))}var he=xr(0);function ul(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 Ic=[];function Lf(){for(var e=0;e<Ic.length;e++)Ic[e]._workInProgressVersionPrimary=null;Ic.length=0}var Ra=Nn.ReactCurrentDispatcher,zc=Nn.ReactCurrentBatchConfig,Gr=0,me=null,Te=null,Ne=null,dl=!1,Gs=!1,go=0,kk=0;function Ie(){throw Error(M(321))}function If(e,t){if(t===null)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!Kt(e[n],t[n]))return!1;return!0}function zf(e,t,n,r,i,s){if(Gr=s,me=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,Ra.current=e===null||e.memoizedState===null?Ek:Nk,e=n(r,i),Gs){s=0;do{if(Gs=!1,go=0,25<=s)throw Error(M(301));s+=1,Ne=Te=null,t.updateQueue=null,Ra.current=Pk,e=n(r,i)}while(Gs)}if(Ra.current=fl,t=Te!==null&&Te.next!==null,Gr=0,Ne=Te=me=null,dl=!1,t)throw Error(M(300));return e}function _f(){var e=go!==0;return go=0,e}function Jt(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return Ne===null?me.memoizedState=Ne=e:Ne=Ne.next=e,Ne}function Ct(){if(Te===null){var e=me.alternate;e=e!==null?e.memoizedState:null}else e=Te.next;var t=Ne===null?me.memoizedState:Ne.next;if(t!==null)Ne=t,Te=e;else{if(e===null)throw Error(M(310));Te=e,e={memoizedState:Te.memoizedState,baseState:Te.baseState,baseQueue:Te.baseQueue,queue:Te.queue,next:null},Ne===null?me.memoizedState=Ne=e:Ne=Ne.next=e}return Ne}function yo(e,t){return typeof t=="function"?t(e):t}function _c(e){var t=Ct(),n=t.queue;if(n===null)throw Error(M(311));n.lastRenderedReducer=e;var r=Te,i=r.baseQueue,s=n.pending;if(s!==null){if(i!==null){var o=i.next;i.next=s.next,s.next=o}r.baseQueue=i=s,n.pending=null}if(i!==null){s=i.next,r=r.baseState;var a=o=null,c=null,u=s;do{var d=u.lane;if((Gr&d)===d)c!==null&&(c=c.next={lane:0,action:u.action,hasEagerState:u.hasEagerState,eagerState:u.eagerState,next:null}),r=u.hasEagerState?u.eagerState:e(r,u.action);else{var f={lane:d,action:u.action,hasEagerState:u.hasEagerState,eagerState:u.eagerState,next:null};c===null?(a=c=f,o=r):c=c.next=f,me.lanes|=d,Yr|=d}u=u.next}while(u!==null&&u!==s);c===null?o=r:c.next=a,Kt(r,t.memoizedState)||(nt=!0),t.memoizedState=r,t.baseState=o,t.baseQueue=c,n.lastRenderedState=r}if(e=n.interleaved,e!==null){i=e;do s=i.lane,me.lanes|=s,Yr|=s,i=i.next;while(i!==e)}else i===null&&(n.lanes=0);return[t.memoizedState,n.dispatch]}function Vc(e){var t=Ct(),n=t.queue;if(n===null)throw Error(M(311));n.lastRenderedReducer=e;var r=n.dispatch,i=n.pending,s=t.memoizedState;if(i!==null){n.pending=null;var o=i=i.next;do s=e(s,o.action),o=o.next;while(o!==i);Kt(s,t.memoizedState)||(nt=!0),t.memoizedState=s,t.baseQueue===null&&(t.baseState=s),n.lastRenderedState=s}return[s,r]}function Kv(){}function Gv(e,t){var n=me,r=Ct(),i=t(),s=!Kt(r.memoizedState,i);if(s&&(r.memoizedState=i,nt=!0),r=r.queue,Vf(qv.bind(null,n,r,e),[e]),r.getSnapshot!==t||s||Ne!==null&&Ne.memoizedState.tag&1){if(n.flags|=2048,vo(9,Qv.bind(null,n,r,i,t),void 0,null),Pe===null)throw Error(M(349));Gr&30||Yv(n,t,i)}return i}function Yv(e,t,n){e.flags|=16384,e={getSnapshot:t,value:n},t=me.updateQueue,t===null?(t={lastEffect:null,stores:null},me.updateQueue=t,t.stores=[e]):(n=t.stores,n===null?t.stores=[e]:n.push(e))}function Qv(e,t,n,r){t.value=n,t.getSnapshot=r,Xv(t)&&Jv(e)}function qv(e,t,n){return n(function(){Xv(t)&&Jv(e)})}function Xv(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!Kt(e,n)}catch{return!0}}function Jv(e){var t=kn(e,1);t!==null&&Wt(t,e,1,-1)}function Wp(e){var t=Jt();return typeof e=="function"&&(e=e()),t.memoizedState=t.baseState=e,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:yo,lastRenderedState:e},t.queue=e,e=e.dispatch=Ck.bind(null,me,e),[t.memoizedState,e]}function vo(e,t,n,r){return e={tag:e,create:t,destroy:n,deps:r,next:null},t=me.updateQueue,t===null?(t={lastEffect:null,stores:null},me.updateQueue=t,t.lastEffect=e.next=e):(n=t.lastEffect,n===null?t.lastEffect=e.next=e:(r=n.next,n.next=e,e.next=r,t.lastEffect=e)),e}function Zv(){return Ct().memoizedState}function Ma(e,t,n,r){var i=Jt();me.flags|=e,i.memoizedState=vo(1|t,n,void 0,r===void 0?null:r)}function Bl(e,t,n,r){var i=Ct();r=r===void 0?null:r;var s=void 0;if(Te!==null){var o=Te.memoizedState;if(s=o.destroy,r!==null&&If(r,o.deps)){i.memoizedState=vo(t,n,s,r);return}}me.flags|=e,i.memoizedState=vo(1|t,n,s,r)}function Hp(e,t){return Ma(8390656,8,e,t)}function Vf(e,t){return Bl(2048,8,e,t)}function ex(e,t){return Bl(4,2,e,t)}function tx(e,t){return Bl(4,4,e,t)}function nx(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 rx(e,t,n){return n=n!=null?n.concat([e]):null,Bl(4,4,nx.bind(null,t,e),n)}function Bf(){}function ix(e,t){var n=Ct();t=t===void 0?null:t;var r=n.memoizedState;return r!==null&&t!==null&&If(t,r[1])?r[0]:(n.memoizedState=[e,t],e)}function sx(e,t){var n=Ct();t=t===void 0?null:t;var r=n.memoizedState;return r!==null&&t!==null&&If(t,r[1])?r[0]:(e=e(),n.memoizedState=[e,t],e)}function ox(e,t,n){return Gr&21?(Kt(n,t)||(n=dv(),me.lanes|=n,Yr|=n,e.baseState=!0),t):(e.baseState&&(e.baseState=!1,nt=!0),e.memoizedState=n)}function Sk(e,t){var n=re;re=n!==0&&4>n?n:4,e(!0);var r=zc.transition;zc.transition={};try{e(!1),t()}finally{re=n,zc.transition=r}}function ax(){return Ct().memoizedState}function Tk(e,t,n){var r=or(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},lx(e))cx(t,n);else if(n=Uv(e,t,n,r),n!==null){var i=qe();Wt(n,e,r,i),ux(n,t,r)}}function Ck(e,t,n){var r=or(e),i={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(lx(e))cx(t,i);else{var s=e.alternate;if(e.lanes===0&&(s===null||s.lanes===0)&&(s=t.lastRenderedReducer,s!==null))try{var o=t.lastRenderedState,a=s(o,n);if(i.hasEagerState=!0,i.eagerState=a,Kt(a,o)){var c=t.interleaved;c===null?(i.next=i,Rf(t)):(i.next=c.next,c.next=i),t.interleaved=i;return}}catch{}finally{}n=Uv(e,t,i,r),n!==null&&(i=qe(),Wt(n,e,r,i),ux(n,t,r))}}function lx(e){var t=e.alternate;return e===me||t!==null&&t===me}function cx(e,t){Gs=dl=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function ux(e,t,n){if(n&4194240){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,yf(e,n)}}var fl={readContext:Tt,useCallback:Ie,useContext:Ie,useEffect:Ie,useImperativeHandle:Ie,useInsertionEffect:Ie,useLayoutEffect:Ie,useMemo:Ie,useReducer:Ie,useRef:Ie,useState:Ie,useDebugValue:Ie,useDeferredValue:Ie,useTransition:Ie,useMutableSource:Ie,useSyncExternalStore:Ie,useId:Ie,unstable_isNewReconciler:!1},Ek={readContext:Tt,useCallback:function(e,t){return Jt().memoizedState=[e,t===void 0?null:t],e},useContext:Tt,useEffect:Hp,useImperativeHandle:function(e,t,n){return n=n!=null?n.concat([e]):null,Ma(4194308,4,nx.bind(null,t,e),n)},useLayoutEffect:function(e,t){return Ma(4194308,4,e,t)},useInsertionEffect:function(e,t){return Ma(4,2,e,t)},useMemo:function(e,t){var n=Jt();return t=t===void 0?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=Jt();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=Tk.bind(null,me,e),[r.memoizedState,e]},useRef:function(e){var t=Jt();return e={current:e},t.memoizedState=e},useState:Wp,useDebugValue:Bf,useDeferredValue:function(e){return Jt().memoizedState=e},useTransition:function(){var e=Wp(!1),t=e[0];return e=Sk.bind(null,e[1]),Jt().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=me,i=Jt();if(de){if(n===void 0)throw Error(M(407));n=n()}else{if(n=t(),Pe===null)throw Error(M(349));Gr&30||Yv(r,t,n)}i.memoizedState=n;var s={value:n,getSnapshot:t};return i.queue=s,Hp(qv.bind(null,r,s,e),[e]),r.flags|=2048,vo(9,Qv.bind(null,r,s,n,t),void 0,null),n},useId:function(){var e=Jt(),t=Pe.identifierPrefix;if(de){var n=xn,r=vn;n=(r&~(1<<32-Ut(r)-1)).toString(32)+n,t=":"+t+"R"+n,n=go++,0<n&&(t+="H"+n.toString(32)),t+=":"}else n=kk++,t=":"+t+"r"+n.toString(32)+":";return e.memoizedState=t},unstable_isNewReconciler:!1},Nk={readContext:Tt,useCallback:ix,useContext:Tt,useEffect:Vf,useImperativeHandle:rx,useInsertionEffect:ex,useLayoutEffect:tx,useMemo:sx,useReducer:_c,useRef:Zv,useState:function(){return _c(yo)},useDebugValue:Bf,useDeferredValue:function(e){var t=Ct();return ox(t,Te.memoizedState,e)},useTransition:function(){var e=_c(yo)[0],t=Ct().memoizedState;return[e,t]},useMutableSource:Kv,useSyncExternalStore:Gv,useId:ax,unstable_isNewReconciler:!1},Pk={readContext:Tt,useCallback:ix,useContext:Tt,useEffect:Vf,useImperativeHandle:rx,useInsertionEffect:ex,useLayoutEffect:tx,useMemo:sx,useReducer:Vc,useRef:Zv,useState:function(){return Vc(yo)},useDebugValue:Bf,useDeferredValue:function(e){var t=Ct();return Te===null?t.memoizedState=e:ox(t,Te.memoizedState,e)},useTransition:function(){var e=Vc(yo)[0],t=Ct().memoizedState;return[e,t]},useMutableSource:Kv,useSyncExternalStore:Gv,useId:ax,unstable_isNewReconciler:!1};function It(e,t){if(e&&e.defaultProps){t=ge({},t),e=e.defaultProps;for(var n in e)t[n]===void 0&&(t[n]=e[n]);return t}return t}function qu(e,t,n,r){t=e.memoizedState,n=n(r,t),n=n==null?t:ge({},t,n),e.memoizedState=n,e.lanes===0&&(e.updateQueue.baseState=n)}var Fl={isMounted:function(e){return(e=e._reactInternals)?Jr(e)===e:!1},enqueueSetState:function(e,t,n){e=e._reactInternals;var r=qe(),i=or(e),s=wn(r,i);s.payload=t,n!=null&&(s.callback=n),t=ir(e,s,i),t!==null&&(Wt(t,e,i,r),Aa(t,e,i))},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var r=qe(),i=or(e),s=wn(r,i);s.tag=1,s.payload=t,n!=null&&(s.callback=n),t=ir(e,s,i),t!==null&&(Wt(t,e,i,r),Aa(t,e,i))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=qe(),r=or(e),i=wn(n,r);i.tag=2,t!=null&&(i.callback=t),t=ir(e,i,r),t!==null&&(Wt(t,e,r,n),Aa(t,e,r))}};function Kp(e,t,n,r,i,s,o){return e=e.stateNode,typeof e.shouldComponentUpdate=="function"?e.shouldComponentUpdate(r,s,o):t.prototype&&t.prototype.isPureReactComponent?!co(n,r)||!co(i,s):!0}function dx(e,t,n){var r=!1,i=ur,s=t.contextType;return typeof s=="object"&&s!==null?s=Tt(s):(i=it(t)?Hr:$e.current,r=t.contextTypes,s=(r=r!=null)?Qi(e,i):ur),t=new t(n,s),e.memoizedState=t.state!==null&&t.state!==void 0?t.state:null,t.updater=Fl,e.stateNode=t,t._reactInternals=e,r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=i,e.__reactInternalMemoizedMaskedChildContext=s),t}function Gp(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&&Fl.enqueueReplaceState(t,t.state,null)}function Xu(e,t,n,r){var i=e.stateNode;i.props=n,i.state=e.memoizedState,i.refs={},Mf(e);var s=t.contextType;typeof s=="object"&&s!==null?i.context=Tt(s):(s=it(t)?Hr:$e.current,i.context=Qi(e,s)),i.state=e.memoizedState,s=t.getDerivedStateFromProps,typeof s=="function"&&(qu(e,t,s,n),i.state=e.memoizedState),typeof t.getDerivedStateFromProps=="function"||typeof i.getSnapshotBeforeUpdate=="function"||typeof i.UNSAFE_componentWillMount!="function"&&typeof i.componentWillMount!="function"||(t=i.state,typeof i.componentWillMount=="function"&&i.componentWillMount(),typeof i.UNSAFE_componentWillMount=="function"&&i.UNSAFE_componentWillMount(),t!==i.state&&Fl.enqueueReplaceState(i,i.state,null),cl(e,n,i,r),i.state=e.memoizedState),typeof i.componentDidMount=="function"&&(e.flags|=4194308)}function Zi(e,t){try{var n="",r=t;do n+=rj(r),r=r.return;while(r);var i=n}catch(s){i=`
Error generating stack: `+s.message+`
`+s.stack}return{value:e,source:t,stack:i,digest:null}}function Bc(e,t,n){return{value:e,source:null,stack:n??null,digest:t??null}}function Ju(e,t){try{console.error(t.value)}catch(n){setTimeout(function(){throw n})}}var Ak=typeof WeakMap=="function"?WeakMap:Map;function fx(e,t,n){n=wn(-1,n),n.tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){pl||(pl=!0,ld=r),Ju(e,t)},n}function hx(e,t,n){n=wn(-1,n),n.tag=3;var r=e.type.getDerivedStateFromError;if(typeof r=="function"){var i=t.value;n.payload=function(){return r(i)},n.callback=function(){Ju(e,t)}}var s=e.stateNode;return s!==null&&typeof s.componentDidCatch=="function"&&(n.callback=function(){Ju(e,t),typeof r!="function"&&(sr===null?sr=new Set([this]):sr.add(this));var o=t.stack;this.componentDidCatch(t.value,{componentStack:o!==null?o:""})}),n}function Yp(e,t,n){var r=e.pingCache;if(r===null){r=e.pingCache=new Ak;var i=new Set;r.set(t,i)}else i=r.get(t),i===void 0&&(i=new Set,r.set(t,i));i.has(n)||(i.add(n),e=Wk.bind(null,e,t,n),t.then(e,e))}function Qp(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 qp(e,t,n,r,i){return e.mode&1?(e.flags|=65536,e.lanes=i,e):(e===t?e.flags|=65536:(e.flags|=128,n.flags|=131072,n.flags&=-52805,n.tag===1&&(n.alternate===null?n.tag=17:(t=wn(-1,1),t.tag=2,ir(n,t,1))),n.lanes|=1),e)}var Rk=Nn.ReactCurrentOwner,nt=!1;function Ke(e,t,n,r){t.child=e===null?$v(t,null,n,r):Xi(t,e.child,n,r)}function Xp(e,t,n,r,i){n=n.render;var s=t.ref;return Di(t,i),r=zf(e,t,n,r,s,i),n=_f(),e!==null&&!nt?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~i,Sn(e,t,i)):(de&&n&&Tf(t),t.flags|=1,Ke(e,t,r,i),t.child)}function Jp(e,t,n,r,i){if(e===null){var s=n.type;return typeof s=="function"&&!Yf(s)&&s.defaultProps===void 0&&n.compare===null&&n.defaultProps===void 0?(t.tag=15,t.type=s,px(e,t,s,r,i)):(e=Ia(n.type,null,r,t,t.mode,i),e.ref=t.ref,e.return=t,t.child=e)}if(s=e.child,!(e.lanes&i)){var o=s.memoizedProps;if(n=n.compare,n=n!==null?n:co,n(o,r)&&e.ref===t.ref)return Sn(e,t,i)}return t.flags|=1,e=ar(s,r),e.ref=t.ref,e.return=t,t.child=e}function px(e,t,n,r,i){if(e!==null){var s=e.memoizedProps;if(co(s,r)&&e.ref===t.ref)if(nt=!1,t.pendingProps=r=s,(e.lanes&i)!==0)e.flags&131072&&(nt=!0);else return t.lanes=e.lanes,Sn(e,t,i)}return Zu(e,t,n,r,i)}function mx(e,t,n){var r=t.pendingProps,i=r.children,s=e!==null?e.memoizedState:null;if(r.mode==="hidden")if(!(t.mode&1))t.memoizedState={baseLanes:0,cachePool:null,transitions:null},se(ki,at),at|=n;else{if(!(n&1073741824))return e=s!==null?s.baseLanes|n:n,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e,cachePool:null,transitions:null},t.updateQueue=null,se(ki,at),at|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},r=s!==null?s.baseLanes:n,se(ki,at),at|=r}else s!==null?(r=s.baseLanes|n,t.memoizedState=null):r=n,se(ki,at),at|=r;return Ke(e,t,i,n),t.child}function gx(e,t){var n=t.ref;(e===null&&n!==null||e!==null&&e.ref!==n)&&(t.flags|=512,t.flags|=2097152)}function Zu(e,t,n,r,i){var s=it(n)?Hr:$e.current;return s=Qi(t,s),Di(t,i),n=zf(e,t,n,r,s,i),r=_f(),e!==null&&!nt?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~i,Sn(e,t,i)):(de&&r&&Tf(t),t.flags|=1,Ke(e,t,n,i),t.child)}function Zp(e,t,n,r,i){if(it(n)){var s=!0;il(t)}else s=!1;if(Di(t,i),t.stateNode===null)Da(e,t),dx(t,n,r),Xu(t,n,r,i),r=!0;else if(e===null){var o=t.stateNode,a=t.memoizedProps;o.props=a;var c=o.context,u=n.contextType;typeof u=="object"&&u!==null?u=Tt(u):(u=it(n)?Hr:$e.current,u=Qi(t,u));var d=n.getDerivedStateFromProps,f=typeof d=="function"||typeof o.getSnapshotBeforeUpdate=="function";f||typeof o.UNSAFE_componentWillReceiveProps!="function"&&typeof o.componentWillReceiveProps!="function"||(a!==r||c!==u)&&Gp(t,o,r,u),$n=!1;var h=t.memoizedState;o.state=h,cl(t,r,o,i),c=t.memoizedState,a!==r||h!==c||rt.current||$n?(typeof d=="function"&&(qu(t,n,d,r),c=t.memoizedState),(a=$n||Kp(t,n,a,r,h,c,u))?(f||typeof o.UNSAFE_componentWillMount!="function"&&typeof o.componentWillMount!="function"||(typeof o.componentWillMount=="function"&&o.componentWillMount(),typeof o.UNSAFE_componentWillMount=="function"&&o.UNSAFE_componentWillMount()),typeof o.componentDidMount=="function"&&(t.flags|=4194308)):(typeof o.componentDidMount=="function"&&(t.flags|=4194308),t.memoizedProps=r,t.memoizedState=c),o.props=r,o.state=c,o.context=u,r=a):(typeof o.componentDidMount=="function"&&(t.flags|=4194308),r=!1)}else{o=t.stateNode,Wv(e,t),a=t.memoizedProps,u=t.type===t.elementType?a:It(t.type,a),o.props=u,f=t.pendingProps,h=o.context,c=n.contextType,typeof c=="object"&&c!==null?c=Tt(c):(c=it(n)?Hr:$e.current,c=Qi(t,c));var p=n.getDerivedStateFromProps;(d=typeof p=="function"||typeof o.getSnapshotBeforeUpdate=="function")||typeof o.UNSAFE_componentWillReceiveProps!="function"&&typeof o.componentWillReceiveProps!="function"||(a!==f||h!==c)&&Gp(t,o,r,c),$n=!1,h=t.memoizedState,o.state=h,cl(t,r,o,i);var x=t.memoizedState;a!==f||h!==x||rt.current||$n?(typeof p=="function"&&(qu(t,n,p,r),x=t.memoizedState),(u=$n||Kp(t,n,u,r,h,x,c)||!1)?(d||typeof o.UNSAFE_componentWillUpdate!="function"&&typeof o.componentWillUpdate!="function"||(typeof o.componentWillUpdate=="function"&&o.componentWillUpdate(r,x,c),typeof o.UNSAFE_componentWillUpdate=="function"&&o.UNSAFE_componentWillUpdate(r,x,c)),typeof o.componentDidUpdate=="function"&&(t.flags|=4),typeof o.getSnapshotBeforeUpdate=="function"&&(t.flags|=1024)):(typeof o.componentDidUpdate!="function"||a===e.memoizedProps&&h===e.memoizedState||(t.flags|=4),typeof o.getSnapshotBeforeUpdate!="function"||a===e.memoizedProps&&h===e.memoizedState||(t.flags|=1024),t.memoizedProps=r,t.memoizedState=x),o.props=r,o.state=x,o.context=c,r=u):(typeof o.componentDidUpdate!="function"||a===e.memoizedProps&&h===e.memoizedState||(t.flags|=4),typeof o.getSnapshotBeforeUpdate!="function"||a===e.memoizedProps&&h===e.memoizedState||(t.flags|=1024),r=!1)}return ed(e,t,n,r,s,i)}function ed(e,t,n,r,i,s){gx(e,t);var o=(t.flags&128)!==0;if(!r&&!o)return i&&_p(t,n,!1),Sn(e,t,s);r=t.stateNode,Rk.current=t;var a=o&&typeof n.getDerivedStateFromError!="function"?null:r.render();return t.flags|=1,e!==null&&o?(t.child=Xi(t,e.child,null,s),t.child=Xi(t,null,a,s)):Ke(e,t,a,s),t.memoizedState=r.state,i&&_p(t,n,!0),t.child}function yx(e){var t=e.stateNode;t.pendingContext?zp(e,t.pendingContext,t.pendingContext!==t.context):t.context&&zp(e,t.context,!1),Df(e,t.containerInfo)}function em(e,t,n,r,i){return qi(),Ef(i),t.flags|=256,Ke(e,t,n,r),t.child}var td={dehydrated:null,treeContext:null,retryLane:0};function nd(e){return{baseLanes:e,cachePool:null,transitions:null}}function vx(e,t,n){var r=t.pendingProps,i=he.current,s=!1,o=(t.flags&128)!==0,a;if((a=o)||(a=e!==null&&e.memoizedState===null?!1:(i&2)!==0),a?(s=!0,t.flags&=-129):(e===null||e.memoizedState!==null)&&(i|=1),se(he,i&1),e===null)return Yu(t),e=t.memoizedState,e!==null&&(e=e.dehydrated,e!==null)?(t.mode&1?e.data==="$!"?t.lanes=8:t.lanes=1073741824:t.lanes=1,null):(o=r.children,e=r.fallback,s?(r=t.mode,s=t.child,o={mode:"hidden",children:o},!(r&1)&&s!==null?(s.childLanes=0,s.pendingProps=o):s=Wl(o,r,0,null),e=Ur(e,r,n,null),s.return=t,e.return=t,s.sibling=e,t.child=s,t.child.memoizedState=nd(n),t.memoizedState=td,e):Ff(t,o));if(i=e.memoizedState,i!==null&&(a=i.dehydrated,a!==null))return Mk(e,t,o,r,a,i,n);if(s){s=r.fallback,o=t.mode,i=e.child,a=i.sibling;var c={mode:"hidden",children:r.children};return!(o&1)&&t.child!==i?(r=t.child,r.childLanes=0,r.pendingProps=c,t.deletions=null):(r=ar(i,c),r.subtreeFlags=i.subtreeFlags&14680064),a!==null?s=ar(a,s):(s=Ur(s,o,n,null),s.flags|=2),s.return=t,r.return=t,r.sibling=s,t.child=r,r=s,s=t.child,o=e.child.memoizedState,o=o===null?nd(n):{baseLanes:o.baseLanes|n,cachePool:null,transitions:o.transitions},s.memoizedState=o,s.childLanes=e.childLanes&~n,t.memoizedState=td,r}return s=e.child,e=s.sibling,r=ar(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 Ff(e,t){return t=Wl({mode:"visible",children:t},e.mode,0,null),t.return=e,e.child=t}function ua(e,t,n,r){return r!==null&&Ef(r),Xi(t,e.child,null,n),e=Ff(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function Mk(e,t,n,r,i,s,o){if(n)return t.flags&256?(t.flags&=-257,r=Bc(Error(M(422))),ua(e,t,o,r)):t.memoizedState!==null?(t.child=e.child,t.flags|=128,null):(s=r.fallback,i=t.mode,r=Wl({mode:"visible",children:r.children},i,0,null),s=Ur(s,i,o,null),s.flags|=2,r.return=t,s.return=t,r.sibling=s,t.child=r,t.mode&1&&Xi(t,e.child,null,o),t.child.memoizedState=nd(o),t.memoizedState=td,s);if(!(t.mode&1))return ua(e,t,o,null);if(i.data==="$!"){if(r=i.nextSibling&&i.nextSibling.dataset,r)var a=r.dgst;return r=a,s=Error(M(419)),r=Bc(s,r,void 0),ua(e,t,o,r)}if(a=(o&e.childLanes)!==0,nt||a){if(r=Pe,r!==null){switch(o&-o){case 4:i=2;break;case 16:i=8;break;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:i=32;break;case 536870912:i=268435456;break;default:i=0}i=i&(r.suspendedLanes|o)?0:i,i!==0&&i!==s.retryLane&&(s.retryLane=i,kn(e,i),Wt(r,e,i,-1))}return Gf(),r=Bc(Error(M(421))),ua(e,t,o,r)}return i.data==="$?"?(t.flags|=128,t.child=e.child,t=Hk.bind(null,e),i._reactRetry=t,null):(e=s.treeContext,ct=rr(i.nextSibling),ut=t,de=!0,Ft=null,e!==null&&(vt[xt++]=vn,vt[xt++]=xn,vt[xt++]=Kr,vn=e.id,xn=e.overflow,Kr=t),t=Ff(t,r.children),t.flags|=4096,t)}function tm(e,t,n){e.lanes|=t;var r=e.alternate;r!==null&&(r.lanes|=t),Qu(e.return,t,n)}function Fc(e,t,n,r,i){var s=e.memoizedState;s===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailMode:i}:(s.isBackwards=t,s.rendering=null,s.renderingStartTime=0,s.last=r,s.tail=n,s.tailMode=i)}function xx(e,t,n){var r=t.pendingProps,i=r.revealOrder,s=r.tail;if(Ke(e,t,r.children,n),r=he.current,r&2)r=r&1|2,t.flags|=128;else{if(e!==null&&e.flags&128)e:for(e=t.child;e!==null;){if(e.tag===13)e.memoizedState!==null&&tm(e,n,t);else if(e.tag===19)tm(e,n,t);else if(e.child!==null){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;e.sibling===null;){if(e.return===null||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}r&=1}if(se(he,r),!(t.mode&1))t.memoizedState=null;else switch(i){case"forwards":for(n=t.child,i=null;n!==null;)e=n.alternate,e!==null&&ul(e)===null&&(i=n),n=n.sibling;n=i,n===null?(i=t.child,t.child=null):(i=n.sibling,n.sibling=null),Fc(t,!1,i,n,s);break;case"backwards":for(n=null,i=t.child,t.child=null;i!==null;){if(e=i.alternate,e!==null&&ul(e)===null){t.child=i;break}e=i.sibling,i.sibling=n,n=i,i=e}Fc(t,!0,n,null,s);break;case"together":Fc(t,!1,null,null,void 0);break;default:t.memoizedState=null}return t.child}function Da(e,t){!(t.mode&1)&&e!==null&&(e.alternate=null,t.alternate=null,t.flags|=2)}function Sn(e,t,n){if(e!==null&&(t.dependencies=e.dependencies),Yr|=t.lanes,!(n&t.childLanes))return null;if(e!==null&&t.child!==e.child)throw Error(M(153));if(t.child!==null){for(e=t.child,n=ar(e,e.pendingProps),t.child=n,n.return=t;e.sibling!==null;)e=e.sibling,n=n.sibling=ar(e,e.pendingProps),n.return=t;n.sibling=null}return t.child}function Dk(e,t,n){switch(t.tag){case 3:yx(t),qi();break;case 5:Hv(t);break;case 1:it(t.type)&&il(t);break;case 4:Df(t,t.stateNode.containerInfo);break;case 10:var r=t.type._context,i=t.memoizedProps.value;se(al,r._currentValue),r._currentValue=i;break;case 13:if(r=t.memoizedState,r!==null)return r.dehydrated!==null?(se(he,he.current&1),t.flags|=128,null):n&t.child.childLanes?vx(e,t,n):(se(he,he.current&1),e=Sn(e,t,n),e!==null?e.sibling:null);se(he,he.current&1);break;case 19:if(r=(n&t.childLanes)!==0,e.flags&128){if(r)return xx(e,t,n);t.flags|=128}if(i=t.memoizedState,i!==null&&(i.rendering=null,i.tail=null,i.lastEffect=null),se(he,he.current),r)break;return null;case 22:case 23:return t.lanes=0,mx(e,t,n)}return Sn(e,t,n)}var wx,rd,bx,jx;wx=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}};rd=function(){};bx=function(e,t,n,r){var i=e.memoizedProps;if(i!==r){e=t.stateNode,Mr(on.current);var s=null;switch(n){case"input":i=Tu(e,i),r=Tu(e,r),s=[];break;case"select":i=ge({},i,{value:void 0}),r=ge({},r,{value:void 0}),s=[];break;case"textarea":i=Nu(e,i),r=Nu(e,r),s=[];break;default:typeof i.onClick!="function"&&typeof r.onClick=="function"&&(e.onclick=nl)}Au(n,r);var o;n=null;for(u in i)if(!r.hasOwnProperty(u)&&i.hasOwnProperty(u)&&i[u]!=null)if(u==="style"){var a=i[u];for(o in a)a.hasOwnProperty(o)&&(n||(n={}),n[o]="")}else u!=="dangerouslySetInnerHTML"&&u!=="children"&&u!=="suppressContentEditableWarning"&&u!=="suppressHydrationWarning"&&u!=="autoFocus"&&(no.hasOwnProperty(u)?s||(s=[]):(s=s||[]).push(u,null));for(u in r){var c=r[u];if(a=i!=null?i[u]:void 0,r.hasOwnProperty(u)&&c!==a&&(c!=null||a!=null))if(u==="style")if(a){for(o in a)!a.hasOwnProperty(o)||c&&c.hasOwnProperty(o)||(n||(n={}),n[o]="");for(o in c)c.hasOwnProperty(o)&&a[o]!==c[o]&&(n||(n={}),n[o]=c[o])}else n||(s||(s=[]),s.push(u,n)),n=c;else u==="dangerouslySetInnerHTML"?(c=c?c.__html:void 0,a=a?a.__html:void 0,c!=null&&a!==c&&(s=s||[]).push(u,c)):u==="children"?typeof c!="string"&&typeof c!="number"||(s=s||[]).push(u,""+c):u!=="suppressContentEditableWarning"&&u!=="suppressHydrationWarning"&&(no.hasOwnProperty(u)?(c!=null&&u==="onScroll"&&le("scroll",e),s||a===c||(s=[])):(s=s||[]).push(u,c))}n&&(s=s||[]).push("style",n);var u=s;(t.updateQueue=u)&&(t.flags|=4)}};jx=function(e,t,n,r){n!==r&&(t.flags|=4)};function ks(e,t){if(!de)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 ze(e){var t=e.alternate!==null&&e.alternate.child===e.child,n=0,r=0;if(t)for(var i=e.child;i!==null;)n|=i.lanes|i.childLanes,r|=i.subtreeFlags&14680064,r|=i.flags&14680064,i.return=e,i=i.sibling;else for(i=e.child;i!==null;)n|=i.lanes|i.childLanes,r|=i.subtreeFlags,r|=i.flags,i.return=e,i=i.sibling;return e.subtreeFlags|=r,e.childLanes=n,t}function Ok(e,t,n){var r=t.pendingProps;switch(Cf(t),t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return ze(t),null;case 1:return it(t.type)&&rl(),ze(t),null;case 3:return r=t.stateNode,Ji(),ce(rt),ce($e),Lf(),r.pendingContext&&(r.context=r.pendingContext,r.pendingContext=null),(e===null||e.child===null)&&(la(t)?t.flags|=4:e===null||e.memoizedState.isDehydrated&&!(t.flags&256)||(t.flags|=1024,Ft!==null&&(dd(Ft),Ft=null))),rd(e,t),ze(t),null;case 5:Of(t);var i=Mr(mo.current);if(n=t.type,e!==null&&t.stateNode!=null)bx(e,t,n,r,i),e.ref!==t.ref&&(t.flags|=512,t.flags|=2097152);else{if(!r){if(t.stateNode===null)throw Error(M(166));return ze(t),null}if(e=Mr(on.current),la(t)){r=t.stateNode,n=t.type;var s=t.memoizedProps;switch(r[rn]=t,r[ho]=s,e=(t.mode&1)!==0,n){case"dialog":le("cancel",r),le("close",r);break;case"iframe":case"object":case"embed":le("load",r);break;case"video":case"audio":for(i=0;i<Bs.length;i++)le(Bs[i],r);break;case"source":le("error",r);break;case"img":case"image":case"link":le("error",r),le("load",r);break;case"details":le("toggle",r);break;case"input":up(r,s),le("invalid",r);break;case"select":r._wrapperState={wasMultiple:!!s.multiple},le("invalid",r);break;case"textarea":fp(r,s),le("invalid",r)}Au(n,s),i=null;for(var o in s)if(s.hasOwnProperty(o)){var a=s[o];o==="children"?typeof a=="string"?r.textContent!==a&&(s.suppressHydrationWarning!==!0&&aa(r.textContent,a,e),i=["children",a]):typeof a=="number"&&r.textContent!==""+a&&(s.suppressHydrationWarning!==!0&&aa(r.textContent,a,e),i=["children",""+a]):no.hasOwnProperty(o)&&a!=null&&o==="onScroll"&&le("scroll",r)}switch(n){case"input":Zo(r),dp(r,s,!0);break;case"textarea":Zo(r),hp(r);break;case"select":case"option":break;default:typeof s.onClick=="function"&&(r.onclick=nl)}r=i,t.updateQueue=r,r!==null&&(t.flags|=4)}else{o=i.nodeType===9?i:i.ownerDocument,e==="http://www.w3.org/1999/xhtml"&&(e=qy(n)),e==="http://www.w3.org/1999/xhtml"?n==="script"?(e=o.createElement("div"),e.innerHTML="<script><\/script>",e=e.removeChild(e.firstChild)):typeof r.is=="string"?e=o.createElement(n,{is:r.is}):(e=o.createElement(n),n==="select"&&(o=e,r.multiple?o.multiple=!0:r.size&&(o.size=r.size))):e=o.createElementNS(e,n),e[rn]=t,e[ho]=r,wx(e,t,!1,!1),t.stateNode=e;e:{switch(o=Ru(n,r),n){case"dialog":le("cancel",e),le("close",e),i=r;break;case"iframe":case"object":case"embed":le("load",e),i=r;break;case"video":case"audio":for(i=0;i<Bs.length;i++)le(Bs[i],e);i=r;break;case"source":le("error",e),i=r;break;case"img":case"image":case"link":le("error",e),le("load",e),i=r;break;case"details":le("toggle",e),i=r;break;case"input":up(e,r),i=Tu(e,r),le("invalid",e);break;case"option":i=r;break;case"select":e._wrapperState={wasMultiple:!!r.multiple},i=ge({},r,{value:void 0}),le("invalid",e);break;case"textarea":fp(e,r),i=Nu(e,r),le("invalid",e);break;default:i=r}Au(n,i),a=i;for(s in a)if(a.hasOwnProperty(s)){var c=a[s];s==="style"?Zy(e,c):s==="dangerouslySetInnerHTML"?(c=c?c.__html:void 0,c!=null&&Xy(e,c)):s==="children"?typeof c=="string"?(n!=="textarea"||c!=="")&&ro(e,c):typeof c=="number"&&ro(e,""+c):s!=="suppressContentEditableWarning"&&s!=="suppressHydrationWarning"&&s!=="autoFocus"&&(no.hasOwnProperty(s)?c!=null&&s==="onScroll"&&le("scroll",e):c!=null&&df(e,s,c,o))}switch(n){case"input":Zo(e),dp(e,r,!1);break;case"textarea":Zo(e),hp(e);break;case"option":r.value!=null&&e.setAttribute("value",""+cr(r.value));break;case"select":e.multiple=!!r.multiple,s=r.value,s!=null?Pi(e,!!r.multiple,s,!1):r.defaultValue!=null&&Pi(e,!!r.multiple,r.defaultValue,!0);break;default:typeof i.onClick=="function"&&(e.onclick=nl)}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 ze(t),null;case 6:if(e&&t.stateNode!=null)jx(e,t,e.memoizedProps,r);else{if(typeof r!="string"&&t.stateNode===null)throw Error(M(166));if(n=Mr(mo.current),Mr(on.current),la(t)){if(r=t.stateNode,n=t.memoizedProps,r[rn]=t,(s=r.nodeValue!==n)&&(e=ut,e!==null))switch(e.tag){case 3:aa(r.nodeValue,n,(e.mode&1)!==0);break;case 5:e.memoizedProps.suppressHydrationWarning!==!0&&aa(r.nodeValue,n,(e.mode&1)!==0)}s&&(t.flags|=4)}else r=(n.nodeType===9?n:n.ownerDocument).createTextNode(r),r[rn]=t,t.stateNode=r}return ze(t),null;case 13:if(ce(he),r=t.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(de&&ct!==null&&t.mode&1&&!(t.flags&128))Bv(),qi(),t.flags|=98560,s=!1;else if(s=la(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[rn]=t}else qi(),!(t.flags&128)&&(t.memoizedState=null),t.flags|=4;ze(t),s=!1}else Ft!==null&&(dd(Ft),Ft=null),s=!0;if(!s)return t.flags&65536?t:null}return t.flags&128?(t.lanes=n,t):(r=r!==null,r!==(e!==null&&e.memoizedState!==null)&&r&&(t.child.flags|=8192,t.mode&1&&(e===null||he.current&1?Ee===0&&(Ee=3):Gf())),t.updateQueue!==null&&(t.flags|=4),ze(t),null);case 4:return Ji(),rd(e,t),e===null&&uo(t.stateNode.containerInfo),ze(t),null;case 10:return Af(t.type._context),ze(t),null;case 17:return it(t.type)&&rl(),ze(t),null;case 19:if(ce(he),s=t.memoizedState,s===null)return ze(t),null;if(r=(t.flags&128)!==0,o=s.rendering,o===null)if(r)ks(s,!1);else{if(Ee!==0||e!==null&&e.flags&128)for(e=t.child;e!==null;){if(o=ul(e),o!==null){for(t.flags|=128,ks(s,!1),r=o.updateQueue,r!==null&&(t.updateQueue=r,t.flags|=4),t.subtreeFlags=0,r=n,n=t.child;n!==null;)s=n,e=r,s.flags&=14680066,o=s.alternate,o===null?(s.childLanes=0,s.lanes=e,s.child=null,s.subtreeFlags=0,s.memoizedProps=null,s.memoizedState=null,s.updateQueue=null,s.dependencies=null,s.stateNode=null):(s.childLanes=o.childLanes,s.lanes=o.lanes,s.child=o.child,s.subtreeFlags=0,s.deletions=null,s.memoizedProps=o.memoizedProps,s.memoizedState=o.memoizedState,s.updateQueue=o.updateQueue,s.type=o.type,e=o.dependencies,s.dependencies=e===null?null:{lanes:e.lanes,firstContext:e.firstContext}),n=n.sibling;return se(he,he.current&1|2),t.child}e=e.sibling}s.tail!==null&&xe()>es&&(t.flags|=128,r=!0,ks(s,!1),t.lanes=4194304)}else{if(!r)if(e=ul(o),e!==null){if(t.flags|=128,r=!0,n=e.updateQueue,n!==null&&(t.updateQueue=n,t.flags|=4),ks(s,!0),s.tail===null&&s.tailMode==="hidden"&&!o.alternate&&!de)return ze(t),null}else 2*xe()-s.renderingStartTime>es&&n!==1073741824&&(t.flags|=128,r=!0,ks(s,!1),t.lanes=4194304);s.isBackwards?(o.sibling=t.child,t.child=o):(n=s.last,n!==null?n.sibling=o:t.child=o,s.last=o)}return s.tail!==null?(t=s.tail,s.rendering=t,s.tail=t.sibling,s.renderingStartTime=xe(),t.sibling=null,n=he.current,se(he,r?n&1|2:n&1),t):(ze(t),null);case 22:case 23:return Kf(),r=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==r&&(t.flags|=8192),r&&t.mode&1?at&1073741824&&(ze(t),t.subtreeFlags&6&&(t.flags|=8192)):ze(t),null;case 24:return null;case 25:return null}throw Error(M(156,t.tag))}function Lk(e,t){switch(Cf(t),t.tag){case 1:return it(t.type)&&rl(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return Ji(),ce(rt),ce($e),Lf(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 5:return Of(t),null;case 13:if(ce(he),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(M(340));qi()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return ce(he),null;case 4:return Ji(),null;case 10:return Af(t.type._context),null;case 22:case 23:return Kf(),null;case 24:return null;default:return null}}var da=!1,Be=!1,Ik=typeof WeakSet=="function"?WeakSet:Set,z=null;function ji(e,t){var n=e.ref;if(n!==null)if(typeof n=="function")try{n(null)}catch(r){ve(e,t,r)}else n.current=null}function id(e,t,n){try{n()}catch(r){ve(e,t,r)}}var nm=!1;function zk(e,t){if(Fu=Za,e=Ev(),Sf(e)){if("selectionStart"in e)var n={start:e.selectionStart,end:e.selectionEnd};else e:{n=(n=e.ownerDocument)&&n.defaultView||window;var r=n.getSelection&&n.getSelection();if(r&&r.rangeCount!==0){n=r.anchorNode;var i=r.anchorOffset,s=r.focusNode;r=r.focusOffset;try{n.nodeType,s.nodeType}catch{n=null;break e}var o=0,a=-1,c=-1,u=0,d=0,f=e,h=null;t:for(;;){for(var p;f!==n||i!==0&&f.nodeType!==3||(a=o+i),f!==s||r!==0&&f.nodeType!==3||(c=o+r),f.nodeType===3&&(o+=f.nodeValue.length),(p=f.firstChild)!==null;)h=f,f=p;for(;;){if(f===e)break t;if(h===n&&++u===i&&(a=o),h===s&&++d===r&&(c=o),(p=f.nextSibling)!==null)break;f=h,h=f.parentNode}f=p}n=a===-1||c===-1?null:{start:a,end:c}}else n=null}n=n||{start:0,end:0}}else n=null;for($u={focusedElem:e,selectionRange:n},Za=!1,z=t;z!==null;)if(t=z,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,z=e;else for(;z!==null;){t=z;try{var x=t.alternate;if(t.flags&1024)switch(t.tag){case 0:case 11:case 15:break;case 1:if(x!==null){var y=x.memoizedProps,w=x.memoizedState,m=t.stateNode,g=m.getSnapshotBeforeUpdate(t.elementType===t.type?y:It(t.type,y),w);m.__reactInternalSnapshotBeforeUpdate=g}break;case 3:var v=t.stateNode.containerInfo;v.nodeType===1?v.textContent="":v.nodeType===9&&v.documentElement&&v.removeChild(v.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(M(163))}}catch(j){ve(t,t.return,j)}if(e=t.sibling,e!==null){e.return=t.return,z=e;break}z=t.return}return x=nm,nm=!1,x}function Ys(e,t,n){var r=t.updateQueue;if(r=r!==null?r.lastEffect:null,r!==null){var i=r=r.next;do{if((i.tag&e)===e){var s=i.destroy;i.destroy=void 0,s!==void 0&&id(t,n,s)}i=i.next}while(i!==r)}}function $l(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 sd(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 kx(e){var t=e.alternate;t!==null&&(e.alternate=null,kx(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[rn],delete t[ho],delete t[Hu],delete t[xk],delete t[wk])),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 Sx(e){return e.tag===5||e.tag===3||e.tag===4}function rm(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||Sx(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 od(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=nl));else if(r!==4&&(e=e.child,e!==null))for(od(e,t,n),e=e.sibling;e!==null;)od(e,t,n),e=e.sibling}function ad(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(ad(e,t,n),e=e.sibling;e!==null;)ad(e,t,n),e=e.sibling}var Ae=null,Bt=!1;function Ln(e,t,n){for(n=n.child;n!==null;)Tx(e,t,n),n=n.sibling}function Tx(e,t,n){if(sn&&typeof sn.onCommitFiberUnmount=="function")try{sn.onCommitFiberUnmount(Ol,n)}catch{}switch(n.tag){case 5:Be||ji(n,t);case 6:var r=Ae,i=Bt;Ae=null,Ln(e,t,n),Ae=r,Bt=i,Ae!==null&&(Bt?(e=Ae,n=n.stateNode,e.nodeType===8?e.parentNode.removeChild(n):e.removeChild(n)):Ae.removeChild(n.stateNode));break;case 18:Ae!==null&&(Bt?(e=Ae,n=n.stateNode,e.nodeType===8?Oc(e.parentNode,n):e.nodeType===1&&Oc(e,n),ao(e)):Oc(Ae,n.stateNode));break;case 4:r=Ae,i=Bt,Ae=n.stateNode.containerInfo,Bt=!0,Ln(e,t,n),Ae=r,Bt=i;break;case 0:case 11:case 14:case 15:if(!Be&&(r=n.updateQueue,r!==null&&(r=r.lastEffect,r!==null))){i=r=r.next;do{var s=i,o=s.destroy;s=s.tag,o!==void 0&&(s&2||s&4)&&id(n,t,o),i=i.next}while(i!==r)}Ln(e,t,n);break;case 1:if(!Be&&(ji(n,t),r=n.stateNode,typeof r.componentWillUnmount=="function"))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(a){ve(n,t,a)}Ln(e,t,n);break;case 21:Ln(e,t,n);break;case 22:n.mode&1?(Be=(r=Be)||n.memoizedState!==null,Ln(e,t,n),Be=r):Ln(e,t,n);break;default:Ln(e,t,n)}}function im(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var n=e.stateNode;n===null&&(n=e.stateNode=new Ik),t.forEach(function(r){var i=Kk.bind(null,e,r);n.has(r)||(n.add(r),r.then(i,i))})}}function Rt(e,t){var n=t.deletions;if(n!==null)for(var r=0;r<n.length;r++){var i=n[r];try{var s=e,o=t,a=o;e:for(;a!==null;){switch(a.tag){case 5:Ae=a.stateNode,Bt=!1;break e;case 3:Ae=a.stateNode.containerInfo,Bt=!0;break e;case 4:Ae=a.stateNode.containerInfo,Bt=!0;break e}a=a.return}if(Ae===null)throw Error(M(160));Tx(s,o,i),Ae=null,Bt=!1;var c=i.alternate;c!==null&&(c.return=null),i.return=null}catch(u){ve(i,t,u)}}if(t.subtreeFlags&12854)for(t=t.child;t!==null;)Cx(t,e),t=t.sibling}function Cx(e,t){var n=e.alternate,r=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:if(Rt(t,e),qt(e),r&4){try{Ys(3,e,e.return),$l(3,e)}catch(y){ve(e,e.return,y)}try{Ys(5,e,e.return)}catch(y){ve(e,e.return,y)}}break;case 1:Rt(t,e),qt(e),r&512&&n!==null&&ji(n,n.return);break;case 5:if(Rt(t,e),qt(e),r&512&&n!==null&&ji(n,n.return),e.flags&32){var i=e.stateNode;try{ro(i,"")}catch(y){ve(e,e.return,y)}}if(r&4&&(i=e.stateNode,i!=null)){var s=e.memoizedProps,o=n!==null?n.memoizedProps:s,a=e.type,c=e.updateQueue;if(e.updateQueue=null,c!==null)try{a==="input"&&s.type==="radio"&&s.name!=null&&Yy(i,s),Ru(a,o);var u=Ru(a,s);for(o=0;o<c.length;o+=2){var d=c[o],f=c[o+1];d==="style"?Zy(i,f):d==="dangerouslySetInnerHTML"?Xy(i,f):d==="children"?ro(i,f):df(i,d,f,u)}switch(a){case"input":Cu(i,s);break;case"textarea":Qy(i,s);break;case"select":var h=i._wrapperState.wasMultiple;i._wrapperState.wasMultiple=!!s.multiple;var p=s.value;p!=null?Pi(i,!!s.multiple,p,!1):h!==!!s.multiple&&(s.defaultValue!=null?Pi(i,!!s.multiple,s.defaultValue,!0):Pi(i,!!s.multiple,s.multiple?[]:"",!1))}i[ho]=s}catch(y){ve(e,e.return,y)}}break;case 6:if(Rt(t,e),qt(e),r&4){if(e.stateNode===null)throw Error(M(162));i=e.stateNode,s=e.memoizedProps;try{i.nodeValue=s}catch(y){ve(e,e.return,y)}}break;case 3:if(Rt(t,e),qt(e),r&4&&n!==null&&n.memoizedState.isDehydrated)try{ao(t.containerInfo)}catch(y){ve(e,e.return,y)}break;case 4:Rt(t,e),qt(e);break;case 13:Rt(t,e),qt(e),i=e.child,i.flags&8192&&(s=i.memoizedState!==null,i.stateNode.isHidden=s,!s||i.alternate!==null&&i.alternate.memoizedState!==null||(Wf=xe())),r&4&&im(e);break;case 22:if(d=n!==null&&n.memoizedState!==null,e.mode&1?(Be=(u=Be)||d,Rt(t,e),Be=u):Rt(t,e),qt(e),r&8192){if(u=e.memoizedState!==null,(e.stateNode.isHidden=u)&&!d&&e.mode&1)for(z=e,d=e.child;d!==null;){for(f=z=d;z!==null;){switch(h=z,p=h.child,h.tag){case 0:case 11:case 14:case 15:Ys(4,h,h.return);break;case 1:ji(h,h.return);var x=h.stateNode;if(typeof x.componentWillUnmount=="function"){r=h,n=h.return;try{t=r,x.props=t.memoizedProps,x.state=t.memoizedState,x.componentWillUnmount()}catch(y){ve(r,n,y)}}break;case 5:ji(h,h.return);break;case 22:if(h.memoizedState!==null){om(f);continue}}p!==null?(p.return=h,z=p):om(f)}d=d.sibling}e:for(d=null,f=e;;){if(f.tag===5){if(d===null){d=f;try{i=f.stateNode,u?(s=i.style,typeof s.setProperty=="function"?s.setProperty("display","none","important"):s.display="none"):(a=f.stateNode,c=f.memoizedProps.style,o=c!=null&&c.hasOwnProperty("display")?c.display:null,a.style.display=Jy("display",o))}catch(y){ve(e,e.return,y)}}}else if(f.tag===6){if(d===null)try{f.stateNode.nodeValue=u?"":f.memoizedProps}catch(y){ve(e,e.return,y)}}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:Rt(t,e),qt(e),r&4&&im(e);break;case 21:break;default:Rt(t,e),qt(e)}}function qt(e){var t=e.flags;if(t&2){try{e:{for(var n=e.return;n!==null;){if(Sx(n)){var r=n;break e}n=n.return}throw Error(M(160))}switch(r.tag){case 5:var i=r.stateNode;r.flags&32&&(ro(i,""),r.flags&=-33);var s=rm(e);ad(e,s,i);break;case 3:case 4:var o=r.stateNode.containerInfo,a=rm(e);od(e,a,o);break;default:throw Error(M(161))}}catch(c){ve(e,e.return,c)}e.flags&=-3}t&4096&&(e.flags&=-4097)}function _k(e,t,n){z=e,Ex(e)}function Ex(e,t,n){for(var r=(e.mode&1)!==0;z!==null;){var i=z,s=i.child;if(i.tag===22&&r){var o=i.memoizedState!==null||da;if(!o){var a=i.alternate,c=a!==null&&a.memoizedState!==null||Be;a=da;var u=Be;if(da=o,(Be=c)&&!u)for(z=i;z!==null;)o=z,c=o.child,o.tag===22&&o.memoizedState!==null?am(i):c!==null?(c.return=o,z=c):am(i);for(;s!==null;)z=s,Ex(s),s=s.sibling;z=i,da=a,Be=u}sm(e)}else i.subtreeFlags&8772&&s!==null?(s.return=i,z=s):sm(e)}}function sm(e){for(;z!==null;){var t=z;if(t.flags&8772){var n=t.alternate;try{if(t.flags&8772)switch(t.tag){case 0:case 11:case 15:Be||$l(5,t);break;case 1:var r=t.stateNode;if(t.flags&4&&!Be)if(n===null)r.componentDidMount();else{var i=t.elementType===t.type?n.memoizedProps:It(t.type,n.memoizedProps);r.componentDidUpdate(i,n.memoizedState,r.__reactInternalSnapshotBeforeUpdate)}var s=t.updateQueue;s!==null&&Up(t,s,r);break;case 3:var o=t.updateQueue;if(o!==null){if(n=null,t.child!==null)switch(t.child.tag){case 5:n=t.child.stateNode;break;case 1:n=t.child.stateNode}Up(t,o,n)}break;case 5:var a=t.stateNode;if(n===null&&t.flags&4){n=a;var c=t.memoizedProps;switch(t.type){case"button":case"input":case"select":case"textarea":c.autoFocus&&n.focus();break;case"img":c.src&&(n.src=c.src)}}break;case 6:break;case 4:break;case 12:break;case 13:if(t.memoizedState===null){var u=t.alternate;if(u!==null){var d=u.memoizedState;if(d!==null){var f=d.dehydrated;f!==null&&ao(f)}}}break;case 19:case 17:case 21:case 22:case 23:case 25:break;default:throw Error(M(163))}Be||t.flags&512&&sd(t)}catch(h){ve(t,t.return,h)}}if(t===e){z=null;break}if(n=t.sibling,n!==null){n.return=t.return,z=n;break}z=t.return}}function om(e){for(;z!==null;){var t=z;if(t===e){z=null;break}var n=t.sibling;if(n!==null){n.return=t.return,z=n;break}z=t.return}}function am(e){for(;z!==null;){var t=z;try{switch(t.tag){case 0:case 11:case 15:var n=t.return;try{$l(4,t)}catch(c){ve(t,n,c)}break;case 1:var r=t.stateNode;if(typeof r.componentDidMount=="function"){var i=t.return;try{r.componentDidMount()}catch(c){ve(t,i,c)}}var s=t.return;try{sd(t)}catch(c){ve(t,s,c)}break;case 5:var o=t.return;try{sd(t)}catch(c){ve(t,o,c)}}}catch(c){ve(t,t.return,c)}if(t===e){z=null;break}var a=t.sibling;if(a!==null){a.return=t.return,z=a;break}z=t.return}}var Vk=Math.ceil,hl=Nn.ReactCurrentDispatcher,$f=Nn.ReactCurrentOwner,jt=Nn.ReactCurrentBatchConfig,Z=0,Pe=null,je=null,Me=0,at=0,ki=xr(0),Ee=0,xo=null,Yr=0,Ul=0,Uf=0,Qs=null,tt=null,Wf=0,es=1/0,mn=null,pl=!1,ld=null,sr=null,fa=!1,Xn=null,ml=0,qs=0,cd=null,Oa=-1,La=0;function qe(){return Z&6?xe():Oa!==-1?Oa:Oa=xe()}function or(e){return e.mode&1?Z&2&&Me!==0?Me&-Me:jk.transition!==null?(La===0&&(La=dv()),La):(e=re,e!==0||(e=window.event,e=e===void 0?16:vv(e.type)),e):1}function Wt(e,t,n,r){if(50<qs)throw qs=0,cd=null,Error(M(185));Lo(e,n,r),(!(Z&2)||e!==Pe)&&(e===Pe&&(!(Z&2)&&(Ul|=n),Ee===4&&Wn(e,Me)),st(e,r),n===1&&Z===0&&!(t.mode&1)&&(es=xe()+500,Vl&&wr()))}function st(e,t){var n=e.callbackNode;jj(e,t);var r=Ja(e,e===Pe?Me:0);if(r===0)n!==null&&gp(n),e.callbackNode=null,e.callbackPriority=0;else if(t=r&-r,e.callbackPriority!==t){if(n!=null&&gp(n),t===1)e.tag===0?bk(lm.bind(null,e)):zv(lm.bind(null,e)),yk(function(){!(Z&6)&&wr()}),n=null;else{switch(fv(r)){case 1:n=gf;break;case 4:n=cv;break;case 16:n=Xa;break;case 536870912:n=uv;break;default:n=Xa}n=Lx(n,Nx.bind(null,e))}e.callbackPriority=t,e.callbackNode=n}}function Nx(e,t){if(Oa=-1,La=0,Z&6)throw Error(M(327));var n=e.callbackNode;if(Oi()&&e.callbackNode!==n)return null;var r=Ja(e,e===Pe?Me:0);if(r===0)return null;if(r&30||r&e.expiredLanes||t)t=gl(e,r);else{t=r;var i=Z;Z|=2;var s=Ax();(Pe!==e||Me!==t)&&(mn=null,es=xe()+500,$r(e,t));do try{$k();break}catch(a){Px(e,a)}while(!0);Pf(),hl.current=s,Z=i,je!==null?t=0:(Pe=null,Me=0,t=Ee)}if(t!==0){if(t===2&&(i=Iu(e),i!==0&&(r=i,t=ud(e,i))),t===1)throw n=xo,$r(e,0),Wn(e,r),st(e,xe()),n;if(t===6)Wn(e,r);else{if(i=e.current.alternate,!(r&30)&&!Bk(i)&&(t=gl(e,r),t===2&&(s=Iu(e),s!==0&&(r=s,t=ud(e,s))),t===1))throw n=xo,$r(e,0),Wn(e,r),st(e,xe()),n;switch(e.finishedWork=i,e.finishedLanes=r,t){case 0:case 1:throw Error(M(345));case 2:Nr(e,tt,mn);break;case 3:if(Wn(e,r),(r&130023424)===r&&(t=Wf+500-xe(),10<t)){if(Ja(e,0)!==0)break;if(i=e.suspendedLanes,(i&r)!==r){qe(),e.pingedLanes|=e.suspendedLanes&i;break}e.timeoutHandle=Wu(Nr.bind(null,e,tt,mn),t);break}Nr(e,tt,mn);break;case 4:if(Wn(e,r),(r&4194240)===r)break;for(t=e.eventTimes,i=-1;0<r;){var o=31-Ut(r);s=1<<o,o=t[o],o>i&&(i=o),r&=~s}if(r=i,r=xe()-r,r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*Vk(r/1960))-r,10<r){e.timeoutHandle=Wu(Nr.bind(null,e,tt,mn),r);break}Nr(e,tt,mn);break;case 5:Nr(e,tt,mn);break;default:throw Error(M(329))}}}return st(e,xe()),e.callbackNode===n?Nx.bind(null,e):null}function ud(e,t){var n=Qs;return e.current.memoizedState.isDehydrated&&($r(e,t).flags|=256),e=gl(e,t),e!==2&&(t=tt,tt=n,t!==null&&dd(t)),e}function dd(e){tt===null?tt=e:tt.push.apply(tt,e)}function Bk(e){for(var t=e;;){if(t.flags&16384){var n=t.updateQueue;if(n!==null&&(n=n.stores,n!==null))for(var r=0;r<n.length;r++){var i=n[r],s=i.getSnapshot;i=i.value;try{if(!Kt(s(),i))return!1}catch{return!1}}}if(n=t.child,t.subtreeFlags&16384&&n!==null)n.return=t,t=n;else{if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return!0;t=t.return}t.sibling.return=t.return,t=t.sibling}}return!0}function Wn(e,t){for(t&=~Uf,t&=~Ul,e.suspendedLanes|=t,e.pingedLanes&=~t,e=e.expirationTimes;0<t;){var n=31-Ut(t),r=1<<n;e[n]=-1,t&=~r}}function lm(e){if(Z&6)throw Error(M(327));Oi();var t=Ja(e,0);if(!(t&1))return st(e,xe()),null;var n=gl(e,t);if(e.tag!==0&&n===2){var r=Iu(e);r!==0&&(t=r,n=ud(e,r))}if(n===1)throw n=xo,$r(e,0),Wn(e,t),st(e,xe()),n;if(n===6)throw Error(M(345));return e.finishedWork=e.current.alternate,e.finishedLanes=t,Nr(e,tt,mn),st(e,xe()),null}function Hf(e,t){var n=Z;Z|=1;try{return e(t)}finally{Z=n,Z===0&&(es=xe()+500,Vl&&wr())}}function Qr(e){Xn!==null&&Xn.tag===0&&!(Z&6)&&Oi();var t=Z;Z|=1;var n=jt.transition,r=re;try{if(jt.transition=null,re=1,e)return e()}finally{re=r,jt.transition=n,Z=t,!(Z&6)&&wr()}}function Kf(){at=ki.current,ce(ki)}function $r(e,t){e.finishedWork=null,e.finishedLanes=0;var n=e.timeoutHandle;if(n!==-1&&(e.timeoutHandle=-1,gk(n)),je!==null)for(n=je.return;n!==null;){var r=n;switch(Cf(r),r.tag){case 1:r=r.type.childContextTypes,r!=null&&rl();break;case 3:Ji(),ce(rt),ce($e),Lf();break;case 5:Of(r);break;case 4:Ji();break;case 13:ce(he);break;case 19:ce(he);break;case 10:Af(r.type._context);break;case 22:case 23:Kf()}n=n.return}if(Pe=e,je=e=ar(e.current,null),Me=at=t,Ee=0,xo=null,Uf=Ul=Yr=0,tt=Qs=null,Rr!==null){for(t=0;t<Rr.length;t++)if(n=Rr[t],r=n.interleaved,r!==null){n.interleaved=null;var i=r.next,s=n.pending;if(s!==null){var o=s.next;s.next=i,r.next=o}n.pending=r}Rr=null}return e}function Px(e,t){do{var n=je;try{if(Pf(),Ra.current=fl,dl){for(var r=me.memoizedState;r!==null;){var i=r.queue;i!==null&&(i.pending=null),r=r.next}dl=!1}if(Gr=0,Ne=Te=me=null,Gs=!1,go=0,$f.current=null,n===null||n.return===null){Ee=1,xo=t,je=null;break}e:{var s=e,o=n.return,a=n,c=t;if(t=Me,a.flags|=32768,c!==null&&typeof c=="object"&&typeof c.then=="function"){var u=c,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=Qp(o);if(p!==null){p.flags&=-257,qp(p,o,a,s,t),p.mode&1&&Yp(s,u,t),t=p,c=u;var x=t.updateQueue;if(x===null){var y=new Set;y.add(c),t.updateQueue=y}else x.add(c);break e}else{if(!(t&1)){Yp(s,u,t),Gf();break e}c=Error(M(426))}}else if(de&&a.mode&1){var w=Qp(o);if(w!==null){!(w.flags&65536)&&(w.flags|=256),qp(w,o,a,s,t),Ef(Zi(c,a));break e}}s=c=Zi(c,a),Ee!==4&&(Ee=2),Qs===null?Qs=[s]:Qs.push(s),s=o;do{switch(s.tag){case 3:s.flags|=65536,t&=-t,s.lanes|=t;var m=fx(s,c,t);$p(s,m);break e;case 1:a=c;var g=s.type,v=s.stateNode;if(!(s.flags&128)&&(typeof g.getDerivedStateFromError=="function"||v!==null&&typeof v.componentDidCatch=="function"&&(sr===null||!sr.has(v)))){s.flags|=65536,t&=-t,s.lanes|=t;var j=hx(s,a,t);$p(s,j);break e}}s=s.return}while(s!==null)}Mx(n)}catch(k){t=k,je===n&&n!==null&&(je=n=n.return);continue}break}while(!0)}function Ax(){var e=hl.current;return hl.current=fl,e===null?fl:e}function Gf(){(Ee===0||Ee===3||Ee===2)&&(Ee=4),Pe===null||!(Yr&268435455)&&!(Ul&268435455)||Wn(Pe,Me)}function gl(e,t){var n=Z;Z|=2;var r=Ax();(Pe!==e||Me!==t)&&(mn=null,$r(e,t));do try{Fk();break}catch(i){Px(e,i)}while(!0);if(Pf(),Z=n,hl.current=r,je!==null)throw Error(M(261));return Pe=null,Me=0,Ee}function Fk(){for(;je!==null;)Rx(je)}function $k(){for(;je!==null&&!hj();)Rx(je)}function Rx(e){var t=Ox(e.alternate,e,at);e.memoizedProps=e.pendingProps,t===null?Mx(e):je=t,$f.current=null}function Mx(e){var t=e;do{var n=t.alternate;if(e=t.return,t.flags&32768){if(n=Lk(n,t),n!==null){n.flags&=32767,je=n;return}if(e!==null)e.flags|=32768,e.subtreeFlags=0,e.deletions=null;else{Ee=6,je=null;return}}else if(n=Ok(n,t,at),n!==null){je=n;return}if(t=t.sibling,t!==null){je=t;return}je=t=e}while(t!==null);Ee===0&&(Ee=5)}function Nr(e,t,n){var r=re,i=jt.transition;try{jt.transition=null,re=1,Uk(e,t,n,r)}finally{jt.transition=i,re=r}return null}function Uk(e,t,n,r){do Oi();while(Xn!==null);if(Z&6)throw Error(M(327));n=e.finishedWork;var i=e.finishedLanes;if(n===null)return null;if(e.finishedWork=null,e.finishedLanes=0,n===e.current)throw Error(M(177));e.callbackNode=null,e.callbackPriority=0;var s=n.lanes|n.childLanes;if(kj(e,s),e===Pe&&(je=Pe=null,Me=0),!(n.subtreeFlags&2064)&&!(n.flags&2064)||fa||(fa=!0,Lx(Xa,function(){return Oi(),null})),s=(n.flags&15990)!==0,n.subtreeFlags&15990||s){s=jt.transition,jt.transition=null;var o=re;re=1;var a=Z;Z|=4,$f.current=null,zk(e,n),Cx(n,e),ck($u),Za=!!Fu,$u=Fu=null,e.current=n,_k(n),pj(),Z=a,re=o,jt.transition=s}else e.current=n;if(fa&&(fa=!1,Xn=e,ml=i),s=e.pendingLanes,s===0&&(sr=null),yj(n.stateNode),st(e,xe()),t!==null)for(r=e.onRecoverableError,n=0;n<t.length;n++)i=t[n],r(i.value,{componentStack:i.stack,digest:i.digest});if(pl)throw pl=!1,e=ld,ld=null,e;return ml&1&&e.tag!==0&&Oi(),s=e.pendingLanes,s&1?e===cd?qs++:(qs=0,cd=e):qs=0,wr(),null}function Oi(){if(Xn!==null){var e=fv(ml),t=jt.transition,n=re;try{if(jt.transition=null,re=16>e?16:e,Xn===null)var r=!1;else{if(e=Xn,Xn=null,ml=0,Z&6)throw Error(M(331));var i=Z;for(Z|=4,z=e.current;z!==null;){var s=z,o=s.child;if(z.flags&16){var a=s.deletions;if(a!==null){for(var c=0;c<a.length;c++){var u=a[c];for(z=u;z!==null;){var d=z;switch(d.tag){case 0:case 11:case 15:Ys(8,d,s)}var f=d.child;if(f!==null)f.return=d,z=f;else for(;z!==null;){d=z;var h=d.sibling,p=d.return;if(kx(d),d===u){z=null;break}if(h!==null){h.return=p,z=h;break}z=p}}}var x=s.alternate;if(x!==null){var y=x.child;if(y!==null){x.child=null;do{var w=y.sibling;y.sibling=null,y=w}while(y!==null)}}z=s}}if(s.subtreeFlags&2064&&o!==null)o.return=s,z=o;else e:for(;z!==null;){if(s=z,s.flags&2048)switch(s.tag){case 0:case 11:case 15:Ys(9,s,s.return)}var m=s.sibling;if(m!==null){m.return=s.return,z=m;break e}z=s.return}}var g=e.current;for(z=g;z!==null;){o=z;var v=o.child;if(o.subtreeFlags&2064&&v!==null)v.return=o,z=v;else e:for(o=g;z!==null;){if(a=z,a.flags&2048)try{switch(a.tag){case 0:case 11:case 15:$l(9,a)}}catch(k){ve(a,a.return,k)}if(a===o){z=null;break e}var j=a.sibling;if(j!==null){j.return=a.return,z=j;break e}z=a.return}}if(Z=i,wr(),sn&&typeof sn.onPostCommitFiberRoot=="function")try{sn.onPostCommitFiberRoot(Ol,e)}catch{}r=!0}return r}finally{re=n,jt.transition=t}}return!1}function cm(e,t,n){t=Zi(n,t),t=fx(e,t,1),e=ir(e,t,1),t=qe(),e!==null&&(Lo(e,1,t),st(e,t))}function ve(e,t,n){if(e.tag===3)cm(e,e,n);else for(;t!==null;){if(t.tag===3){cm(t,e,n);break}else if(t.tag===1){var r=t.stateNode;if(typeof t.type.getDerivedStateFromError=="function"||typeof r.componentDidCatch=="function"&&(sr===null||!sr.has(r))){e=Zi(n,e),e=hx(t,e,1),t=ir(t,e,1),e=qe(),t!==null&&(Lo(t,1,e),st(t,e));break}}t=t.return}}function Wk(e,t,n){var r=e.pingCache;r!==null&&r.delete(t),t=qe(),e.pingedLanes|=e.suspendedLanes&n,Pe===e&&(Me&n)===n&&(Ee===4||Ee===3&&(Me&130023424)===Me&&500>xe()-Wf?$r(e,0):Uf|=n),st(e,t)}function Dx(e,t){t===0&&(e.mode&1?(t=na,na<<=1,!(na&130023424)&&(na=4194304)):t=1);var n=qe();e=kn(e,t),e!==null&&(Lo(e,t,n),st(e,n))}function Hk(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),Dx(e,n)}function Kk(e,t){var n=0;switch(e.tag){case 13:var r=e.stateNode,i=e.memoizedState;i!==null&&(n=i.retryLane);break;case 19:r=e.stateNode;break;default:throw Error(M(314))}r!==null&&r.delete(t),Dx(e,n)}var Ox;Ox=function(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps||rt.current)nt=!0;else{if(!(e.lanes&n)&&!(t.flags&128))return nt=!1,Dk(e,t,n);nt=!!(e.flags&131072)}else nt=!1,de&&t.flags&1048576&&_v(t,ol,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;Da(e,t),e=t.pendingProps;var i=Qi(t,$e.current);Di(t,n),i=zf(null,t,r,e,i,n);var s=_f();return t.flags|=1,typeof i=="object"&&i!==null&&typeof i.render=="function"&&i.$$typeof===void 0?(t.tag=1,t.memoizedState=null,t.updateQueue=null,it(r)?(s=!0,il(t)):s=!1,t.memoizedState=i.state!==null&&i.state!==void 0?i.state:null,Mf(t),i.updater=Fl,t.stateNode=i,i._reactInternals=t,Xu(t,r,e,n),t=ed(null,t,r,!0,s,n)):(t.tag=0,de&&s&&Tf(t),Ke(null,t,i,n),t=t.child),t;case 16:r=t.elementType;e:{switch(Da(e,t),e=t.pendingProps,i=r._init,r=i(r._payload),t.type=r,i=t.tag=Yk(r),e=It(r,e),i){case 0:t=Zu(null,t,r,e,n);break e;case 1:t=Zp(null,t,r,e,n);break e;case 11:t=Xp(null,t,r,e,n);break e;case 14:t=Jp(null,t,r,It(r.type,e),n);break e}throw Error(M(306,r,""))}return t;case 0:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:It(r,i),Zu(e,t,r,i,n);case 1:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:It(r,i),Zp(e,t,r,i,n);case 3:e:{if(yx(t),e===null)throw Error(M(387));r=t.pendingProps,s=t.memoizedState,i=s.element,Wv(e,t),cl(t,r,null,n);var o=t.memoizedState;if(r=o.element,s.isDehydrated)if(s={element:r,isDehydrated:!1,cache:o.cache,pendingSuspenseBoundaries:o.pendingSuspenseBoundaries,transitions:o.transitions},t.updateQueue.baseState=s,t.memoizedState=s,t.flags&256){i=Zi(Error(M(423)),t),t=em(e,t,r,n,i);break e}else if(r!==i){i=Zi(Error(M(424)),t),t=em(e,t,r,n,i);break e}else for(ct=rr(t.stateNode.containerInfo.firstChild),ut=t,de=!0,Ft=null,n=$v(t,null,r,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling;else{if(qi(),r===i){t=Sn(e,t,n);break e}Ke(e,t,r,n)}t=t.child}return t;case 5:return Hv(t),e===null&&Yu(t),r=t.type,i=t.pendingProps,s=e!==null?e.memoizedProps:null,o=i.children,Uu(r,i)?o=null:s!==null&&Uu(r,s)&&(t.flags|=32),gx(e,t),Ke(e,t,o,n),t.child;case 6:return e===null&&Yu(t),null;case 13:return vx(e,t,n);case 4:return Df(t,t.stateNode.containerInfo),r=t.pendingProps,e===null?t.child=Xi(t,null,r,n):Ke(e,t,r,n),t.child;case 11:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:It(r,i),Xp(e,t,r,i,n);case 7:return Ke(e,t,t.pendingProps,n),t.child;case 8:return Ke(e,t,t.pendingProps.children,n),t.child;case 12:return Ke(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(r=t.type._context,i=t.pendingProps,s=t.memoizedProps,o=i.value,se(al,r._currentValue),r._currentValue=o,s!==null)if(Kt(s.value,o)){if(s.children===i.children&&!rt.current){t=Sn(e,t,n);break e}}else for(s=t.child,s!==null&&(s.return=t);s!==null;){var a=s.dependencies;if(a!==null){o=s.child;for(var c=a.firstContext;c!==null;){if(c.context===r){if(s.tag===1){c=wn(-1,n&-n),c.tag=2;var u=s.updateQueue;if(u!==null){u=u.shared;var d=u.pending;d===null?c.next=c:(c.next=d.next,d.next=c),u.pending=c}}s.lanes|=n,c=s.alternate,c!==null&&(c.lanes|=n),Qu(s.return,n,t),a.lanes|=n;break}c=c.next}}else if(s.tag===10)o=s.type===t.type?null:s.child;else if(s.tag===18){if(o=s.return,o===null)throw Error(M(341));o.lanes|=n,a=o.alternate,a!==null&&(a.lanes|=n),Qu(o,n,t),o=s.sibling}else o=s.child;if(o!==null)o.return=s;else for(o=s;o!==null;){if(o===t){o=null;break}if(s=o.sibling,s!==null){s.return=o.return,o=s;break}o=o.return}s=o}Ke(e,t,i.children,n),t=t.child}return t;case 9:return i=t.type,r=t.pendingProps.children,Di(t,n),i=Tt(i),r=r(i),t.flags|=1,Ke(e,t,r,n),t.child;case 14:return r=t.type,i=It(r,t.pendingProps),i=It(r.type,i),Jp(e,t,r,i,n);case 15:return px(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:It(r,i),Da(e,t),t.tag=1,it(r)?(e=!0,il(t)):e=!1,Di(t,n),dx(t,r,i),Xu(t,r,i,n),ed(null,t,r,!0,e,n);case 19:return xx(e,t,n);case 22:return mx(e,t,n)}throw Error(M(156,t.tag))};function Lx(e,t){return lv(e,t)}function Gk(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 wt(e,t,n,r){return new Gk(e,t,n,r)}function Yf(e){return e=e.prototype,!(!e||!e.isReactComponent)}function Yk(e){if(typeof e=="function")return Yf(e)?1:0;if(e!=null){if(e=e.$$typeof,e===hf)return 11;if(e===pf)return 14}return 2}function ar(e,t){var n=e.alternate;return n===null?(n=wt(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 Ia(e,t,n,r,i,s){var o=2;if(r=e,typeof e=="function")Yf(e)&&(o=1);else if(typeof e=="string")o=5;else e:switch(e){case hi:return Ur(n.children,i,s,t);case ff:o=8,i|=8;break;case bu:return e=wt(12,n,t,i|2),e.elementType=bu,e.lanes=s,e;case ju:return e=wt(13,n,t,i),e.elementType=ju,e.lanes=s,e;case ku:return e=wt(19,n,t,i),e.elementType=ku,e.lanes=s,e;case Hy:return Wl(n,i,s,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case Uy:o=10;break e;case Wy:o=9;break e;case hf:o=11;break e;case pf:o=14;break e;case Fn:o=16,r=null;break e}throw Error(M(130,e==null?e:typeof e,""))}return t=wt(o,n,t,i),t.elementType=e,t.type=r,t.lanes=s,t}function Ur(e,t,n,r){return e=wt(7,e,r,t),e.lanes=n,e}function Wl(e,t,n,r){return e=wt(22,e,r,t),e.elementType=Hy,e.lanes=n,e.stateNode={isHidden:!1},e}function $c(e,t,n){return e=wt(6,e,null,t),e.lanes=n,e}function Uc(e,t,n){return t=wt(4,e.children!==null?e.children:[],e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function Qk(e,t,n,r,i){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=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=i,this.mutableSourceEagerHydrationData=null}function Qf(e,t,n,r,i,s,o,a,c){return e=new Qk(e,t,n,a,c),t===1?(t=1,s===!0&&(t|=8)):t=0,s=wt(3,null,null,t),e.current=s,s.stateNode=e,s.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},Mf(s),e}function qk(e,t,n){var r=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:fi,key:r==null?null:""+r,children:e,containerInfo:t,implementation:n}}function Ix(e){if(!e)return ur;e=e._reactInternals;e:{if(Jr(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(it(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(it(n))return Iv(e,n,t)}return t}function zx(e,t,n,r,i,s,o,a,c){return e=Qf(n,r,!0,e,i,s,o,a,c),e.context=Ix(null),n=e.current,r=qe(),i=or(n),s=wn(r,i),s.callback=t??null,ir(n,s,i),e.current.lanes=i,Lo(e,i,r),st(e,r),e}function Hl(e,t,n,r){var i=t.current,s=qe(),o=or(i);return n=Ix(n),t.context===null?t.context=n:t.pendingContext=n,t=wn(s,o),t.payload={element:e},r=r===void 0?null:r,r!==null&&(t.callback=r),e=ir(i,t,o),e!==null&&(Wt(e,i,o,s),Aa(e,i,o)),o}function yl(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 um(e,t){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var n=e.retryLane;e.retryLane=n!==0&&n<t?n:t}}function qf(e,t){um(e,t),(e=e.alternate)&&um(e,t)}function Xk(){return null}var _x=typeof reportError=="function"?reportError:function(e){console.error(e)};function Xf(e){this._internalRoot=e}Kl.prototype.render=Xf.prototype.render=function(e){var t=this._internalRoot;if(t===null)throw Error(M(409));Hl(e,t,null,null)};Kl.prototype.unmount=Xf.prototype.unmount=function(){var e=this._internalRoot;if(e!==null){this._internalRoot=null;var t=e.containerInfo;Qr(function(){Hl(null,e,null,null)}),t[jn]=null}};function Kl(e){this._internalRoot=e}Kl.prototype.unstable_scheduleHydration=function(e){if(e){var t=mv();e={blockedOn:null,target:e,priority:t};for(var n=0;n<Un.length&&t!==0&&t<Un[n].priority;n++);Un.splice(n,0,e),n===0&&yv(e)}};function Jf(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}function Gl(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11&&(e.nodeType!==8||e.nodeValue!==" react-mount-point-unstable "))}function dm(){}function Jk(e,t,n,r,i){if(i){if(typeof r=="function"){var s=r;r=function(){var u=yl(o);s.call(u)}}var o=zx(t,r,e,0,null,!1,!1,"",dm);return e._reactRootContainer=o,e[jn]=o.current,uo(e.nodeType===8?e.parentNode:e),Qr(),o}for(;i=e.lastChild;)e.removeChild(i);if(typeof r=="function"){var a=r;r=function(){var u=yl(c);a.call(u)}}var c=Qf(e,0,!1,null,null,!1,!1,"",dm);return e._reactRootContainer=c,e[jn]=c.current,uo(e.nodeType===8?e.parentNode:e),Qr(function(){Hl(t,c,n,r)}),c}function Yl(e,t,n,r,i){var s=n._reactRootContainer;if(s){var o=s;if(typeof i=="function"){var a=i;i=function(){var c=yl(o);a.call(c)}}Hl(t,o,e,i)}else o=Jk(n,t,e,i,r);return yl(o)}hv=function(e){switch(e.tag){case 3:var t=e.stateNode;if(t.current.memoizedState.isDehydrated){var n=Vs(t.pendingLanes);n!==0&&(yf(t,n|1),st(t,xe()),!(Z&6)&&(es=xe()+500,wr()))}break;case 13:Qr(function(){var r=kn(e,1);if(r!==null){var i=qe();Wt(r,e,1,i)}}),qf(e,1)}};vf=function(e){if(e.tag===13){var t=kn(e,134217728);if(t!==null){var n=qe();Wt(t,e,134217728,n)}qf(e,134217728)}};pv=function(e){if(e.tag===13){var t=or(e),n=kn(e,t);if(n!==null){var r=qe();Wt(n,e,t,r)}qf(e,t)}};mv=function(){return re};gv=function(e,t){var n=re;try{return re=e,t()}finally{re=n}};Du=function(e,t,n){switch(t){case"input":if(Cu(e,n),t=n.name,n.type==="radio"&&t!=null){for(n=e;n.parentNode;)n=n.parentNode;for(n=n.querySelectorAll("input[name="+JSON.stringify(""+t)+'][type="radio"]'),t=0;t<n.length;t++){var r=n[t];if(r!==e&&r.form===e.form){var i=_l(r);if(!i)throw Error(M(90));Gy(r),Cu(r,i)}}}break;case"textarea":Qy(e,n);break;case"select":t=n.value,t!=null&&Pi(e,!!n.multiple,t,!1)}};nv=Hf;rv=Qr;var Zk={usingClientEntryPoint:!1,Events:[zo,yi,_l,ev,tv,Hf]},Ss={findFiberByHostInstance:Ar,bundleType:0,version:"18.3.1",rendererPackageName:"react-dom"},eS={bundleType:Ss.bundleType,version:Ss.version,rendererPackageName:Ss.rendererPackageName,rendererConfig:Ss.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:Nn.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return e=ov(e),e===null?null:e.stateNode},findFiberByHostInstance:Ss.findFiberByHostInstance||Xk,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 ha=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!ha.isDisabled&&ha.supportsFiber)try{Ol=ha.inject(eS),sn=ha}catch{}}ht.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=Zk;ht.createPortal=function(e,t){var n=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!Jf(t))throw Error(M(200));return qk(e,t,null,n)};ht.createRoot=function(e,t){if(!Jf(e))throw Error(M(299));var n=!1,r="",i=_x;return t!=null&&(t.unstable_strictMode===!0&&(n=!0),t.identifierPrefix!==void 0&&(r=t.identifierPrefix),t.onRecoverableError!==void 0&&(i=t.onRecoverableError)),t=Qf(e,1,!1,null,null,n,!1,r,i),e[jn]=t.current,uo(e.nodeType===8?e.parentNode:e),new Xf(t)};ht.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=ov(t),e=e===null?null:e.stateNode,e};ht.flushSync=function(e){return Qr(e)};ht.hydrate=function(e,t,n){if(!Gl(t))throw Error(M(200));return Yl(null,e,t,!0,n)};ht.hydrateRoot=function(e,t,n){if(!Jf(e))throw Error(M(405));var r=n!=null&&n.hydratedSources||null,i=!1,s="",o=_x;if(n!=null&&(n.unstable_strictMode===!0&&(i=!0),n.identifierPrefix!==void 0&&(s=n.identifierPrefix),n.onRecoverableError!==void 0&&(o=n.onRecoverableError)),t=zx(t,null,e,1,n??null,i,!1,s,o),e[jn]=t.current,uo(e),r)for(e=0;e<r.length;e++)n=r[e],i=n._getVersion,i=i(n._source),t.mutableSourceEagerHydrationData==null?t.mutableSourceEagerHydrationData=[n,i]:t.mutableSourceEagerHydrationData.push(n,i);return new Kl(t)};ht.render=function(e,t,n){if(!Gl(t))throw Error(M(200));return Yl(null,e,t,!1,n)};ht.unmountComponentAtNode=function(e){if(!Gl(e))throw Error(M(40));return e._reactRootContainer?(Qr(function(){Yl(null,null,e,!1,function(){e._reactRootContainer=null,e[jn]=null})}),!0):!1};ht.unstable_batchedUpdates=Hf;ht.unstable_renderSubtreeIntoContainer=function(e,t,n,r){if(!Gl(n))throw Error(M(200));if(e==null||e._reactInternals===void 0)throw Error(M(38));return Yl(e,t,n,!1,r)};ht.version="18.3.1-next-f1338f8080-20240426";function Vx(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(Vx)}catch(e){console.error(e)}}Vx(),Vy.exports=ht;var Vo=Vy.exports;const Bx=Do(Vo);var Fx,fm=Vo;Fx=fm.createRoot,fm.hydrateRoot;var tS=typeof Element<"u",nS=typeof Map=="function",rS=typeof Set=="function",iS=typeof ArrayBuffer=="function"&&!!ArrayBuffer.isView;function za(e,t){if(e===t)return!0;if(e&&t&&typeof e=="object"&&typeof t=="object"){if(e.constructor!==t.constructor)return!1;var n,r,i;if(Array.isArray(e)){if(n=e.length,n!=t.length)return!1;for(r=n;r--!==0;)if(!za(e[r],t[r]))return!1;return!0}var s;if(nS&&e instanceof Map&&t instanceof Map){if(e.size!==t.size)return!1;for(s=e.entries();!(r=s.next()).done;)if(!t.has(r.value[0]))return!1;for(s=e.entries();!(r=s.next()).done;)if(!za(r.value[1],t.get(r.value[0])))return!1;return!0}if(rS&&e instanceof Set&&t instanceof Set){if(e.size!==t.size)return!1;for(s=e.entries();!(r=s.next()).done;)if(!t.has(r.value[0]))return!1;return!0}if(iS&&ArrayBuffer.isView(e)&&ArrayBuffer.isView(t)){if(n=e.length,n!=t.length)return!1;for(r=n;r--!==0;)if(e[r]!==t[r])return!1;return!0}if(e.constructor===RegExp)return e.source===t.source&&e.flags===t.flags;if(e.valueOf!==Object.prototype.valueOf&&typeof e.valueOf=="function"&&typeof t.valueOf=="function")return e.valueOf()===t.valueOf();if(e.toString!==Object.prototype.toString&&typeof e.toString=="function"&&typeof t.toString=="function")return e.toString()===t.toString();if(i=Object.keys(e),n=i.length,n!==Object.keys(t).length)return!1;for(r=n;r--!==0;)if(!Object.prototype.hasOwnProperty.call(t,i[r]))return!1;if(tS&&e instanceof Element)return!1;for(r=n;r--!==0;)if(!((i[r]==="_owner"||i[r]==="__v"||i[r]==="__o")&&e.$$typeof)&&!za(e[i[r]],t[i[r]]))return!1;return!0}return e!==e&&t!==t}var sS=function(t,n){try{return za(t,n)}catch(r){if((r.message||"").match(/stack|recursion/i))return console.warn("react-fast-compare cannot handle circular refs"),!1;throw r}};const oS=Do(sS);var aS=function(e,t,n,r,i,s,o,a){if(!e){var c;if(t===void 0)c=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var u=[n,r,i,s,o,a],d=0;c=new Error(t.replace(/%s/g,function(){return u[d++]})),c.name="Invariant Violation"}throw c.framesToPop=1,c}},lS=aS;const hm=Do(lS);var cS=function(t,n,r,i){var s=r?r.call(i,t,n):void 0;if(s!==void 0)return!!s;if(t===n)return!0;if(typeof t!="object"||!t||typeof n!="object"||!n)return!1;var o=Object.keys(t),a=Object.keys(n);if(o.length!==a.length)return!1;for(var c=Object.prototype.hasOwnProperty.bind(n),u=0;u<o.length;u++){var d=o[u];if(!c(d))return!1;var f=t[d],h=n[d];if(s=r?r.call(i,f,h,d):void 0,s===!1||s===void 0&&f!==h)return!1}return!0};const uS=Do(cS);var $x=(e=>(e.BASE="base",e.BODY="body",e.HEAD="head",e.HTML="html",e.LINK="link",e.META="meta",e.NOSCRIPT="noscript",e.SCRIPT="script",e.STYLE="style",e.TITLE="title",e.FRAGMENT="Symbol(react.fragment)",e))($x||{}),Wc={link:{rel:["amphtml","canonical","alternate"]},script:{type:["application/ld+json"]},meta:{charset:"",name:["generator","robots","description"],property:["og:type","og:title","og:url","og:image","og:image:alt","og:description","twitter:url","twitter:title","twitter:description","twitter:image","twitter:image:alt","twitter:card","twitter:site"]}},pm=Object.values($x),Zf={accesskey:"accessKey",charset:"charSet",class:"className",contenteditable:"contentEditable",contextmenu:"contextMenu","http-equiv":"httpEquiv",itemprop:"itemProp",tabindex:"tabIndex"},dS=Object.entries(Zf).reduce((e,[t,n])=>(e[n]=t,e),{}),$t="data-rh",Li={DEFAULT_TITLE:"defaultTitle",DEFER:"defer",ENCODE_SPECIAL_CHARACTERS:"encodeSpecialCharacters",ON_CHANGE_CLIENT_STATE:"onChangeClientState",TITLE_TEMPLATE:"titleTemplate",PRIORITIZE_SEO_TAGS:"prioritizeSeoTags"},Ii=(e,t)=>{for(let n=e.length-1;n>=0;n-=1){const r=e[n];if(Object.prototype.hasOwnProperty.call(r,t))return r[t]}return null},fS=e=>{let t=Ii(e,"title");const n=Ii(e,Li.TITLE_TEMPLATE);if(Array.isArray(t)&&(t=t.join("")),n&&t)return n.replace(/%s/g,()=>t);const r=Ii(e,Li.DEFAULT_TITLE);return t||r||void 0},hS=e=>Ii(e,Li.ON_CHANGE_CLIENT_STATE)||(()=>{}),Hc=(e,t)=>t.filter(n=>typeof n[e]<"u").map(n=>n[e]).reduce((n,r)=>({...n,...r}),{}),pS=(e,t)=>t.filter(n=>typeof n.base<"u").map(n=>n.base).reverse().reduce((n,r)=>{if(!n.length){const i=Object.keys(r);for(let s=0;s<i.length;s+=1){const a=i[s].toLowerCase();if(e.indexOf(a)!==-1&&r[a])return n.concat(r)}}return n},[]),mS=e=>console&&typeof console.warn=="function"&&console.warn(e),Ts=(e,t,n)=>{const r={};return n.filter(i=>Array.isArray(i[e])?!0:(typeof i[e]<"u"&&mS(`Helmet: ${e} should be of type "Array". Instead found type "${typeof i[e]}"`),!1)).map(i=>i[e]).reverse().reduce((i,s)=>{const o={};s.filter(c=>{let u;const d=Object.keys(c);for(let h=0;h<d.length;h+=1){const p=d[h],x=p.toLowerCase();t.indexOf(x)!==-1&&!(u==="rel"&&c[u].toLowerCase()==="canonical")&&!(x==="rel"&&c[x].toLowerCase()==="stylesheet")&&(u=x),t.indexOf(p)!==-1&&(p==="innerHTML"||p==="cssText"||p==="itemprop")&&(u=p)}if(!u||!c[u])return!1;const f=c[u].toLowerCase();return r[u]||(r[u]={}),o[u]||(o[u]={}),r[u][f]?!1:(o[u][f]=!0,!0)}).reverse().forEach(c=>i.push(c));const a=Object.keys(o);for(let c=0;c<a.length;c+=1){const u=a[c],d={...r[u],...o[u]};r[u]=d}return i},[]).reverse()},gS=(e,t)=>{if(Array.isArray(e)&&e.length){for(let n=0;n<e.length;n+=1)if(e[n][t])return!0}return!1},yS=e=>({baseTag:pS(["href"],e),bodyAttributes:Hc("bodyAttributes",e),defer:Ii(e,Li.DEFER),encode:Ii(e,Li.ENCODE_SPECIAL_CHARACTERS),htmlAttributes:Hc("htmlAttributes",e),linkTags:Ts("link",["rel","href"],e),metaTags:Ts("meta",["name","charset","http-equiv","property","itemprop"],e),noscriptTags:Ts("noscript",["innerHTML"],e),onChangeClientState:hS(e),scriptTags:Ts("script",["src","innerHTML"],e),styleTags:Ts("style",["cssText"],e),title:fS(e),titleAttributes:Hc("titleAttributes",e),prioritizeSeoTags:gS(e,Li.PRIORITIZE_SEO_TAGS)}),Ux=e=>Array.isArray(e)?e.join(""):e,vS=(e,t)=>{const n=Object.keys(e);for(let r=0;r<n.length;r+=1)if(t[n[r]]&&t[n[r]].includes(e[n[r]]))return!0;return!1},Kc=(e,t)=>Array.isArray(e)?e.reduce((n,r)=>(vS(r,t)?n.priority.push(r):n.default.push(r),n),{priority:[],default:[]}):{default:e,priority:[]},mm=(e,t)=>({...e,[t]:void 0}),xS=["noscript","script","style"],fd=(e,t=!0)=>t===!1?String(e):String(e).replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,""").replace(/'/g,"'"),Wx=e=>Object.keys(e).reduce((t,n)=>{const r=typeof e[n]<"u"?`${n}="${e[n]}"`:`${n}`;return t?`${t} ${r}`:r},""),wS=(e,t,n,r)=>{const i=Wx(n),s=Ux(t);return i?`<${e} ${$t}="true" ${i}>${fd(s,r)}</${e}>`:`<${e} ${$t}="true">${fd(s,r)}</${e}>`},bS=(e,t,n=!0)=>t.reduce((r,i)=>{const s=i,o=Object.keys(s).filter(u=>!(u==="innerHTML"||u==="cssText")).reduce((u,d)=>{const f=typeof s[d]>"u"?d:`${d}="${fd(s[d],n)}"`;return u?`${u} ${f}`:f},""),a=s.innerHTML||s.cssText||"",c=xS.indexOf(e)===-1;return`${r}<${e} ${$t}="true" ${o}${c?"/>":`>${a}</${e}>`}`},""),Hx=(e,t={})=>Object.keys(e).reduce((n,r)=>{const i=Zf[r];return n[i||r]=e[r],n},t),jS=(e,t,n)=>{const r={key:t,[$t]:!0},i=Hx(n,r);return[D.createElement("title",i,t)]},_a=(e,t)=>t.map((n,r)=>{const i={key:r,[$t]:!0};return Object.keys(n).forEach(s=>{const a=Zf[s]||s;if(a==="innerHTML"||a==="cssText"){const c=n.innerHTML||n.cssText;i.dangerouslySetInnerHTML={__html:c}}else i[a]=n[s]}),D.createElement(e,i)}),gt=(e,t,n=!0)=>{switch(e){case"title":return{toComponent:()=>jS(e,t.title,t.titleAttributes),toString:()=>wS(e,t.title,t.titleAttributes,n)};case"bodyAttributes":case"htmlAttributes":return{toComponent:()=>Hx(t),toString:()=>Wx(t)};default:return{toComponent:()=>_a(e,t),toString:()=>bS(e,t,n)}}},kS=({metaTags:e,linkTags:t,scriptTags:n,encode:r})=>{const i=Kc(e,Wc.meta),s=Kc(t,Wc.link),o=Kc(n,Wc.script);return{priorityMethods:{toComponent:()=>[..._a("meta",i.priority),..._a("link",s.priority),..._a("script",o.priority)],toString:()=>`${gt("meta",i.priority,r)} ${gt("link",s.priority,r)} ${gt("script",o.priority,r)}`},metaTags:i.default,linkTags:s.default,scriptTags:o.default}},SS=e=>{const{baseTag:t,bodyAttributes:n,encode:r=!0,htmlAttributes:i,noscriptTags:s,styleTags:o,title:a="",titleAttributes:c,prioritizeSeoTags:u}=e;let{linkTags:d,metaTags:f,scriptTags:h}=e,p={toComponent:()=>{},toString:()=>""};return u&&({priorityMethods:p,linkTags:d,metaTags:f,scriptTags:h}=kS(e)),{priority:p,base:gt("base",t,r),bodyAttributes:gt("bodyAttributes",n,r),htmlAttributes:gt("htmlAttributes",i,r),link:gt("link",d,r),meta:gt("meta",f,r),noscript:gt("noscript",s,r),script:gt("script",h,r),style:gt("style",o,r),title:gt("title",{title:a,titleAttributes:c},r)}},hd=SS,pa=[],Kx=!!(typeof window<"u"&&window.document&&window.document.createElement),pd=class{constructor(e,t){dn(this,"instances",[]);dn(this,"canUseDOM",Kx);dn(this,"context");dn(this,"value",{setHelmet:e=>{this.context.helmet=e},helmetInstances:{get:()=>this.canUseDOM?pa:this.instances,add:e=>{(this.canUseDOM?pa:this.instances).push(e)},remove:e=>{const t=(this.canUseDOM?pa:this.instances).indexOf(e);(this.canUseDOM?pa:this.instances).splice(t,1)}}});this.context=e,this.canUseDOM=t||!1,t||(e.helmet=hd({baseTag:[],bodyAttributes:{},encodeSpecialCharacters:!0,htmlAttributes:{},linkTags:[],metaTags:[],noscriptTags:[],scriptTags:[],styleTags:[],title:"",titleAttributes:{}}))}},TS={},Gx=D.createContext(TS),Lr,Yx=(Lr=class extends b.Component{constructor(n){super(n);dn(this,"helmetData");this.helmetData=new pd(this.props.context||{},Lr.canUseDOM)}render(){return D.createElement(Gx.Provider,{value:this.helmetData.value},this.props.children)}},dn(Lr,"canUseDOM",Kx),Lr),ci=(e,t)=>{const n=document.head||document.querySelector("head"),r=n.querySelectorAll(`${e}[${$t}]`),i=[].slice.call(r),s=[];let o;return t&&t.length&&t.forEach(a=>{const c=document.createElement(e);for(const u in a)if(Object.prototype.hasOwnProperty.call(a,u))if(u==="innerHTML")c.innerHTML=a.innerHTML;else if(u==="cssText")c.styleSheet?c.styleSheet.cssText=a.cssText:c.appendChild(document.createTextNode(a.cssText));else{const d=u,f=typeof a[d]>"u"?"":a[d];c.setAttribute(u,f)}c.setAttribute($t,"true"),i.some((u,d)=>(o=d,c.isEqualNode(u)))?i.splice(o,1):s.push(c)}),i.forEach(a=>{var c;return(c=a.parentNode)==null?void 0:c.removeChild(a)}),s.forEach(a=>n.appendChild(a)),{oldTags:i,newTags:s}},md=(e,t)=>{const n=document.getElementsByTagName(e)[0];if(!n)return;const r=n.getAttribute($t),i=r?r.split(","):[],s=[...i],o=Object.keys(t);for(const a of o){const c=t[a]||"";n.getAttribute(a)!==c&&n.setAttribute(a,c),i.indexOf(a)===-1&&i.push(a);const u=s.indexOf(a);u!==-1&&s.splice(u,1)}for(let a=s.length-1;a>=0;a-=1)n.removeAttribute(s[a]);i.length===s.length?n.removeAttribute($t):n.getAttribute($t)!==o.join(",")&&n.setAttribute($t,o.join(","))},CS=(e,t)=>{typeof e<"u"&&document.title!==e&&(document.title=Ux(e)),md("title",t)},gm=(e,t)=>{const{baseTag:n,bodyAttributes:r,htmlAttributes:i,linkTags:s,metaTags:o,noscriptTags:a,onChangeClientState:c,scriptTags:u,styleTags:d,title:f,titleAttributes:h}=e;md("body",r),md("html",i),CS(f,h);const p={baseTag:ci("base",n),linkTags:ci("link",s),metaTags:ci("meta",o),noscriptTags:ci("noscript",a),scriptTags:ci("script",u),styleTags:ci("style",d)},x={},y={};Object.keys(p).forEach(w=>{const{newTags:m,oldTags:g}=p[w];m.length&&(x[w]=m),g.length&&(y[w]=p[w].oldTags)}),t&&t(),c(e,x,y)},Cs=null,ES=e=>{Cs&&cancelAnimationFrame(Cs),e.defer?Cs=requestAnimationFrame(()=>{gm(e,()=>{Cs=null})}):(gm(e),Cs=null)},NS=ES,ym=class extends b.Component{constructor(){super(...arguments);dn(this,"rendered",!1)}shouldComponentUpdate(t){return!uS(t,this.props)}componentDidUpdate(){this.emitChange()}componentWillUnmount(){const{helmetInstances:t}=this.props.context;t.remove(this),this.emitChange()}emitChange(){const{helmetInstances:t,setHelmet:n}=this.props.context;let r=null;const i=yS(t.get().map(s=>{const o={...s.props};return delete o.context,o}));Yx.canUseDOM?NS(i):hd&&(r=hd(i)),n(r)}init(){if(this.rendered)return;this.rendered=!0;const{helmetInstances:t}=this.props.context;t.add(this),this.emitChange()}render(){return this.init(),null}},xu,PS=(xu=class extends b.Component{shouldComponentUpdate(e){return!oS(mm(this.props,"helmetData"),mm(e,"helmetData"))}mapNestedChildrenToProps(e,t){if(!t)return null;switch(e.type){case"script":case"noscript":return{innerHTML:t};case"style":return{cssText:t};default:throw new Error(`<${e.type} /> elements are self-closing and can not contain children. Refer to our API for more information.`)}}flattenArrayTypeChildren(e,t,n,r){return{...t,[e.type]:[...t[e.type]||[],{...n,...this.mapNestedChildrenToProps(e,r)}]}}mapObjectTypeChildren(e,t,n,r){switch(e.type){case"title":return{...t,[e.type]:r,titleAttributes:{...n}};case"body":return{...t,bodyAttributes:{...n}};case"html":return{...t,htmlAttributes:{...n}};default:return{...t,[e.type]:{...n}}}}mapArrayTypeChildrenToProps(e,t){let n={...t};return Object.keys(e).forEach(r=>{n={...n,[r]:e[r]}}),n}warnOnInvalidChildren(e,t){return hm(pm.some(n=>e.type===n),typeof e.type=="function"?"You may be attempting to nest <Helmet> components within each other, which is not allowed. Refer to our API for more information.":`Only elements types ${pm.join(", ")} are allowed. Helmet does not support rendering <${e.type}> elements. Refer to our API for more information.`),hm(!t||typeof t=="string"||Array.isArray(t)&&!t.some(n=>typeof n!="string"),`Helmet expects a string as a child of <${e.type}>. Did you forget to wrap your children in braces? ( <${e.type}>{\`\`}</${e.type}> ) Refer to our API for more information.`),!0}mapChildrenToProps(e,t){let n={};return D.Children.forEach(e,r=>{if(!r||!r.props)return;const{children:i,...s}=r.props,o=Object.keys(s).reduce((c,u)=>(c[dS[u]||u]=s[u],c),{});let{type:a}=r;switch(typeof a=="symbol"?a=a.toString():this.warnOnInvalidChildren(r,i),a){case"Symbol(react.fragment)":t=this.mapChildrenToProps(i,t);break;case"link":case"meta":case"noscript":case"script":case"style":n=this.flattenArrayTypeChildren(r,n,o,i);break;default:t=this.mapObjectTypeChildren(r,t,o,i);break}}),this.mapArrayTypeChildrenToProps(n,t)}render(){const{children:e,...t}=this.props;let n={...t},{helmetData:r}=t;if(e&&(n=this.mapChildrenToProps(e,n)),r&&!(r instanceof pd)){const i=r;r=new pd(i.context,!0),delete n.helmetData}return r?D.createElement(ym,{...n,context:r.value}):D.createElement(Gx.Consumer,null,i=>D.createElement(ym,{...n,context:i}))}},dn(xu,"defaultProps",{defer:!0,encodeSpecialCharacters:!0,prioritizeSeoTags:!1}),xu);const AS=1,RS=1e6;let Gc=0;function MS(){return Gc=(Gc+1)%Number.MAX_SAFE_INTEGER,Gc.toString()}const Yc=new Map,vm=e=>{if(Yc.has(e))return;const t=setTimeout(()=>{Yc.delete(e),Xs({type:"REMOVE_TOAST",toastId:e})},RS);Yc.set(e,t)},DS=(e,t)=>{switch(t.type){case"ADD_TOAST":return{...e,toasts:[t.toast,...e.toasts].slice(0,AS)};case"UPDATE_TOAST":return{...e,toasts:e.toasts.map(n=>n.id===t.toast.id?{...n,...t.toast}:n)};case"DISMISS_TOAST":{const{toastId:n}=t;return n?vm(n):e.toasts.forEach(r=>{vm(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)}}},Va=[];let Ba={toasts:[]};function Xs(e){Ba=DS(Ba,e),Va.forEach(t=>{t(Ba)})}function OS({...e}){const t=MS(),n=i=>Xs({type:"UPDATE_TOAST",toast:{...i,id:t}}),r=()=>Xs({type:"DISMISS_TOAST",toastId:t});return Xs({type:"ADD_TOAST",toast:{...e,id:t,open:!0,onOpenChange:i=>{i||r()}}}),{id:t,dismiss:r,update:n}}function LS(){const[e,t]=b.useState(Ba);return b.useEffect(()=>(Va.push(t),()=>{const n=Va.indexOf(t);n>-1&&Va.splice(n,1)}),[e]),{...e,toast:OS,dismiss:n=>Xs({type:"DISMISS_TOAST",toastId:n})}}function Ce(e,t,{checkForDefaultPrevented:n=!0}={}){return function(i){if(e==null||e(i),n===!1||!i.defaultPrevented)return t==null?void 0:t(i)}}function xm(e,t){if(typeof e=="function")return e(t);e!=null&&(e.current=t)}function Qx(...e){return t=>{let n=!1;const r=e.map(i=>{const s=xm(i,t);return!n&&typeof s=="function"&&(n=!0),s});if(n)return()=>{for(let i=0;i<r.length;i++){const s=r[i];typeof s=="function"?s():xm(e[i],null)}}}}function Gt(...e){return b.useCallback(Qx(...e),e)}function Ql(e,t=[]){let n=[];function r(s,o){const a=b.createContext(o),c=n.length;n=[...n,o];const u=f=>{var m;const{scope:h,children:p,...x}=f,y=((m=h==null?void 0:h[e])==null?void 0:m[c])||a,w=b.useMemo(()=>x,Object.values(x));return l.jsx(y.Provider,{value:w,children:p})};u.displayName=s+"Provider";function d(f,h){var y;const p=((y=h==null?void 0:h[e])==null?void 0:y[c])||a,x=b.useContext(p);if(x)return x;if(o!==void 0)return o;throw new Error(`\`${f}\` must be used within \`${s}\``)}return[u,d]}const i=()=>{const s=n.map(o=>b.createContext(o));return function(a){const c=(a==null?void 0:a[e])||s;return b.useMemo(()=>({[`__scope${e}`]:{...a,[e]:c}}),[a,c])}};return i.scopeName=e,[r,IS(i,...t)]}function IS(...e){const t=e[0];if(e.length===1)return t;const n=()=>{const r=e.map(i=>({useScope:i(),scopeName:i.scopeName}));return function(s){const o=r.reduce((a,{useScope:c,scopeName:u})=>{const f=c(s)[`__scope${u}`];return{...a,...f}},{});return b.useMemo(()=>({[`__scope${t.scopeName}`]:o}),[o])}};return n.scopeName=t.scopeName,n}function gd(e){const t=zS(e),n=b.forwardRef((r,i)=>{const{children:s,...o}=r,a=b.Children.toArray(s),c=a.find(VS);if(c){const u=c.props.children,d=a.map(f=>f===c?b.Children.count(u)>1?b.Children.only(null):b.isValidElement(u)?u.props.children:null:f);return l.jsx(t,{...o,ref:i,children:b.isValidElement(u)?b.cloneElement(u,void 0,d):null})}return l.jsx(t,{...o,ref:i,children:s})});return n.displayName=`${e}.Slot`,n}function zS(e){const t=b.forwardRef((n,r)=>{const{children:i,...s}=n;if(b.isValidElement(i)){const o=FS(i),a=BS(s,i.props);return i.type!==b.Fragment&&(a.ref=r?Qx(r,o):o),b.cloneElement(i,a)}return b.Children.count(i)>1?b.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}var qx=Symbol("radix.slottable");function _S(e){const t=({children:n})=>l.jsx(l.Fragment,{children:n});return t.displayName=`${e}.Slottable`,t.__radixId=qx,t}function VS(e){return b.isValidElement(e)&&typeof e.type=="function"&&"__radixId"in e.type&&e.type.__radixId===qx}function BS(e,t){const n={...t};for(const r in t){const i=e[r],s=t[r];/^on[A-Z]/.test(r)?i&&s?n[r]=(...a)=>{const c=s(...a);return i(...a),c}:i&&(n[r]=i):r==="style"?n[r]={...i,...s}:r==="className"&&(n[r]=[i,s].filter(Boolean).join(" "))}return{...e,...n}}function FS(e){var r,i;let t=(r=Object.getOwnPropertyDescriptor(e.props,"ref"))==null?void 0:r.get,n=t&&"isReactWarning"in t&&t.isReactWarning;return n?e.ref:(t=(i=Object.getOwnPropertyDescriptor(e,"ref"))==null?void 0:i.get,n=t&&"isReactWarning"in t&&t.isReactWarning,n?e.props.ref:e.props.ref||e.ref)}function $S(e){const t=e+"CollectionProvider",[n,r]=Ql(t),[i,s]=n(t,{collectionRef:{current:null},itemMap:new Map}),o=y=>{const{scope:w,children:m}=y,g=D.useRef(null),v=D.useRef(new Map).current;return l.jsx(i,{scope:w,itemMap:v,collectionRef:g,children:m})};o.displayName=t;const a=e+"CollectionSlot",c=gd(a),u=D.forwardRef((y,w)=>{const{scope:m,children:g}=y,v=s(a,m),j=Gt(w,v.collectionRef);return l.jsx(c,{ref:j,children:g})});u.displayName=a;const d=e+"CollectionItemSlot",f="data-radix-collection-item",h=gd(d),p=D.forwardRef((y,w)=>{const{scope:m,children:g,...v}=y,j=D.useRef(null),k=Gt(w,j),S=s(d,m);return D.useEffect(()=>(S.itemMap.set(j,{ref:j,...v}),()=>void S.itemMap.delete(j))),l.jsx(h,{[f]:"",ref:k,children:g})});p.displayName=d;function x(y){const w=s(e+"CollectionConsumer",y);return D.useCallback(()=>{const g=w.collectionRef.current;if(!g)return[];const v=Array.from(g.querySelectorAll(`[${f}]`));return Array.from(w.itemMap.values()).sort((S,T)=>v.indexOf(S.ref.current)-v.indexOf(T.ref.current))},[w.collectionRef,w.itemMap])}return[{Provider:o,Slot:u,ItemSlot:p},x,r]}var US=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],ot=US.reduce((e,t)=>{const n=gd(`Primitive.${t}`),r=b.forwardRef((i,s)=>{const{asChild:o,...a}=i,c=o?n:t;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),l.jsx(c,{...a,ref:s})});return r.displayName=`Primitive.${t}`,{...e,[t]:r}},{});function Xx(e,t){e&&Vo.flushSync(()=>e.dispatchEvent(t))}function dr(e){const t=b.useRef(e);return b.useEffect(()=>{t.current=e}),b.useMemo(()=>(...n)=>{var r;return(r=t.current)==null?void 0:r.call(t,...n)},[])}function WS(e,t=globalThis==null?void 0:globalThis.document){const n=dr(e);b.useEffect(()=>{const r=i=>{i.key==="Escape"&&n(i)};return t.addEventListener("keydown",r,{capture:!0}),()=>t.removeEventListener("keydown",r,{capture:!0})},[n,t])}var HS="DismissableLayer",yd="dismissableLayer.update",KS="dismissableLayer.pointerDownOutside",GS="dismissableLayer.focusOutside",wm,Jx=b.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),eh=b.forwardRef((e,t)=>{const{disableOutsidePointerEvents:n=!1,onEscapeKeyDown:r,onPointerDownOutside:i,onFocusOutside:s,onInteractOutside:o,onDismiss:a,...c}=e,u=b.useContext(Jx),[d,f]=b.useState(null),h=(d==null?void 0:d.ownerDocument)??(globalThis==null?void 0:globalThis.document),[,p]=b.useState({}),x=Gt(t,T=>f(T)),y=Array.from(u.layers),[w]=[...u.layersWithOutsidePointerEventsDisabled].slice(-1),m=y.indexOf(w),g=d?y.indexOf(d):-1,v=u.layersWithOutsidePointerEventsDisabled.size>0,j=g>=m,k=QS(T=>{const C=T.target,A=[...u.branches].some(R=>R.contains(C));!j||A||(i==null||i(T),o==null||o(T),T.defaultPrevented||a==null||a())},h),S=qS(T=>{const C=T.target;[...u.branches].some(R=>R.contains(C))||(s==null||s(T),o==null||o(T),T.defaultPrevented||a==null||a())},h);return WS(T=>{g===u.layers.size-1&&(r==null||r(T),!T.defaultPrevented&&a&&(T.preventDefault(),a()))},h),b.useEffect(()=>{if(d)return n&&(u.layersWithOutsidePointerEventsDisabled.size===0&&(wm=h.body.style.pointerEvents,h.body.style.pointerEvents="none"),u.layersWithOutsidePointerEventsDisabled.add(d)),u.layers.add(d),bm(),()=>{n&&u.layersWithOutsidePointerEventsDisabled.size===1&&(h.body.style.pointerEvents=wm)}},[d,h,n,u]),b.useEffect(()=>()=>{d&&(u.layers.delete(d),u.layersWithOutsidePointerEventsDisabled.delete(d),bm())},[d,u]),b.useEffect(()=>{const T=()=>p({});return document.addEventListener(yd,T),()=>document.removeEventListener(yd,T)},[]),l.jsx(ot.div,{...c,ref:x,style:{pointerEvents:v?j?"auto":"none":void 0,...e.style},onFocusCapture:Ce(e.onFocusCapture,S.onFocusCapture),onBlurCapture:Ce(e.onBlurCapture,S.onBlurCapture),onPointerDownCapture:Ce(e.onPointerDownCapture,k.onPointerDownCapture)})});eh.displayName=HS;var YS="DismissableLayerBranch",Zx=b.forwardRef((e,t)=>{const n=b.useContext(Jx),r=b.useRef(null),i=Gt(t,r);return b.useEffect(()=>{const s=r.current;if(s)return n.branches.add(s),()=>{n.branches.delete(s)}},[n.branches]),l.jsx(ot.div,{...e,ref:i})});Zx.displayName=YS;function QS(e,t=globalThis==null?void 0:globalThis.document){const n=dr(e),r=b.useRef(!1),i=b.useRef(()=>{});return b.useEffect(()=>{const s=a=>{if(a.target&&!r.current){let c=function(){e0(KS,n,u,{discrete:!0})};const u={originalEvent:a};a.pointerType==="touch"?(t.removeEventListener("click",i.current),i.current=c,t.addEventListener("click",i.current,{once:!0})):c()}else t.removeEventListener("click",i.current);r.current=!1},o=window.setTimeout(()=>{t.addEventListener("pointerdown",s)},0);return()=>{window.clearTimeout(o),t.removeEventListener("pointerdown",s),t.removeEventListener("click",i.current)}},[t,n]),{onPointerDownCapture:()=>r.current=!0}}function qS(e,t=globalThis==null?void 0:globalThis.document){const n=dr(e),r=b.useRef(!1);return b.useEffect(()=>{const i=s=>{s.target&&!r.current&&e0(GS,n,{originalEvent:s},{discrete:!1})};return t.addEventListener("focusin",i),()=>t.removeEventListener("focusin",i)},[t,n]),{onFocusCapture:()=>r.current=!0,onBlurCapture:()=>r.current=!1}}function bm(){const e=new CustomEvent(yd);document.dispatchEvent(e)}function e0(e,t,n,{discrete:r}){const i=n.originalEvent.target,s=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:n});t&&i.addEventListener(e,t,{once:!0}),r?Xx(i,s):i.dispatchEvent(s)}var XS=eh,JS=Zx,fr=globalThis!=null&&globalThis.document?b.useLayoutEffect:()=>{},ZS="Portal",t0=b.forwardRef((e,t)=>{var a;const{container:n,...r}=e,[i,s]=b.useState(!1);fr(()=>s(!0),[]);const o=n||i&&((a=globalThis==null?void 0:globalThis.document)==null?void 0:a.body);return o?Bx.createPortal(l.jsx(ot.div,{...r,ref:t}),o):null});t0.displayName=ZS;function eT(e,t){return b.useReducer((n,r)=>t[n][r]??n,e)}var th=e=>{const{present:t,children:n}=e,r=tT(t),i=typeof n=="function"?n({present:r.isPresent}):b.Children.only(n),s=Gt(r.ref,nT(i));return typeof n=="function"||r.isPresent?b.cloneElement(i,{ref:s}):null};th.displayName="Presence";function tT(e){const[t,n]=b.useState(),r=b.useRef(null),i=b.useRef(e),s=b.useRef("none"),o=e?"mounted":"unmounted",[a,c]=eT(o,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return b.useEffect(()=>{const u=ma(r.current);s.current=a==="mounted"?u:"none"},[a]),fr(()=>{const u=r.current,d=i.current;if(d!==e){const h=s.current,p=ma(u);e?c("MOUNT"):p==="none"||(u==null?void 0:u.display)==="none"?c("UNMOUNT"):c(d&&h!==p?"ANIMATION_OUT":"UNMOUNT"),i.current=e}},[e,c]),fr(()=>{if(t){let u;const d=t.ownerDocument.defaultView??window,f=p=>{const y=ma(r.current).includes(p.animationName);if(p.target===t&&y&&(c("ANIMATION_END"),!i.current)){const w=t.style.animationFillMode;t.style.animationFillMode="forwards",u=d.setTimeout(()=>{t.style.animationFillMode==="forwards"&&(t.style.animationFillMode=w)})}},h=p=>{p.target===t&&(s.current=ma(r.current))};return t.addEventListener("animationstart",h),t.addEventListener("animationcancel",f),t.addEventListener("animationend",f),()=>{d.clearTimeout(u),t.removeEventListener("animationstart",h),t.removeEventListener("animationcancel",f),t.removeEventListener("animationend",f)}}else c("ANIMATION_END")},[t,c]),{isPresent:["mounted","unmountSuspended"].includes(a),ref:b.useCallback(u=>{r.current=u?getComputedStyle(u):null,n(u)},[])}}function ma(e){return(e==null?void 0:e.animationName)||"none"}function nT(e){var r,i;let t=(r=Object.getOwnPropertyDescriptor(e.props,"ref"))==null?void 0:r.get,n=t&&"isReactWarning"in t&&t.isReactWarning;return n?e.ref:(t=(i=Object.getOwnPropertyDescriptor(e,"ref"))==null?void 0:i.get,n=t&&"isReactWarning"in t&&t.isReactWarning,n?e.props.ref:e.props.ref||e.ref)}var rT=zy[" useInsertionEffect ".trim().toString()]||fr;function iT({prop:e,defaultProp:t,onChange:n=()=>{},caller:r}){const[i,s,o]=sT({defaultProp:t,onChange:n}),a=e!==void 0,c=a?e:i;{const d=b.useRef(e!==void 0);b.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 u=b.useCallback(d=>{var f;if(a){const h=oT(d)?d(e):d;h!==e&&((f=o.current)==null||f.call(o,h))}else s(d)},[a,e,s,o]);return[c,u]}function sT({defaultProp:e,onChange:t}){const[n,r]=b.useState(e),i=b.useRef(n),s=b.useRef(t);return rT(()=>{s.current=t},[t]),b.useEffect(()=>{var o;i.current!==n&&((o=s.current)==null||o.call(s,n),i.current=n)},[n,i]),[n,r,s]}function oT(e){return typeof e=="function"}var aT=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"}),lT="VisuallyHidden",ql=b.forwardRef((e,t)=>l.jsx(ot.span,{...e,ref:t,style:{...aT,...e.style}}));ql.displayName=lT;var cT=ql,nh="ToastProvider",[rh,uT,dT]=$S("Toast"),[n0,jO]=Ql("Toast",[dT]),[fT,Xl]=n0(nh),r0=e=>{const{__scopeToast:t,label:n="Notification",duration:r=5e3,swipeDirection:i="right",swipeThreshold:s=50,children:o}=e,[a,c]=b.useState(null),[u,d]=b.useState(0),f=b.useRef(!1),h=b.useRef(!1);return n.trim()||console.error(`Invalid prop \`label\` supplied to \`${nh}\`. Expected non-empty \`string\`.`),l.jsx(rh.Provider,{scope:t,children:l.jsx(fT,{scope:t,label:n,duration:r,swipeDirection:i,swipeThreshold:s,toastCount:u,viewport:a,onViewportChange:c,onToastAdd:b.useCallback(()=>d(p=>p+1),[]),onToastRemove:b.useCallback(()=>d(p=>p-1),[]),isFocusedToastEscapeKeyDownRef:f,isClosePausedRef:h,children:o})})};r0.displayName=nh;var i0="ToastViewport",hT=["F8"],vd="toast.viewportPause",xd="toast.viewportResume",s0=b.forwardRef((e,t)=>{const{__scopeToast:n,hotkey:r=hT,label:i="Notifications ({hotkey})",...s}=e,o=Xl(i0,n),a=uT(n),c=b.useRef(null),u=b.useRef(null),d=b.useRef(null),f=b.useRef(null),h=Gt(t,f,o.onViewportChange),p=r.join("+").replace(/Key/g,"").replace(/Digit/g,""),x=o.toastCount>0;b.useEffect(()=>{const w=m=>{var v;r.length!==0&&r.every(j=>m[j]||m.code===j)&&((v=f.current)==null||v.focus())};return document.addEventListener("keydown",w),()=>document.removeEventListener("keydown",w)},[r]),b.useEffect(()=>{const w=c.current,m=f.current;if(x&&w&&m){const g=()=>{if(!o.isClosePausedRef.current){const S=new CustomEvent(vd);m.dispatchEvent(S),o.isClosePausedRef.current=!0}},v=()=>{if(o.isClosePausedRef.current){const S=new CustomEvent(xd);m.dispatchEvent(S),o.isClosePausedRef.current=!1}},j=S=>{!w.contains(S.relatedTarget)&&v()},k=()=>{w.contains(document.activeElement)||v()};return w.addEventListener("focusin",g),w.addEventListener("focusout",j),w.addEventListener("pointermove",g),w.addEventListener("pointerleave",k),window.addEventListener("blur",g),window.addEventListener("focus",v),()=>{w.removeEventListener("focusin",g),w.removeEventListener("focusout",j),w.removeEventListener("pointermove",g),w.removeEventListener("pointerleave",k),window.removeEventListener("blur",g),window.removeEventListener("focus",v)}}},[x,o.isClosePausedRef]);const y=b.useCallback(({tabbingDirection:w})=>{const g=a().map(v=>{const j=v.ref.current,k=[j,...CT(j)];return w==="forwards"?k:k.reverse()});return(w==="forwards"?g.reverse():g).flat()},[a]);return b.useEffect(()=>{const w=f.current;if(w){const m=g=>{var k,S,T;const v=g.altKey||g.ctrlKey||g.metaKey;if(g.key==="Tab"&&!v){const C=document.activeElement,A=g.shiftKey;if(g.target===w&&A){(k=u.current)==null||k.focus();return}const I=y({tabbingDirection:A?"backwards":"forwards"}),G=I.findIndex(O=>O===C);Qc(I.slice(G+1))?g.preventDefault():A?(S=u.current)==null||S.focus():(T=d.current)==null||T.focus()}};return w.addEventListener("keydown",m),()=>w.removeEventListener("keydown",m)}},[a,y]),l.jsxs(JS,{ref:c,role:"region","aria-label":i.replace("{hotkey}",p),tabIndex:-1,style:{pointerEvents:x?void 0:"none"},children:[x&&l.jsx(wd,{ref:u,onFocusFromOutsideViewport:()=>{const w=y({tabbingDirection:"forwards"});Qc(w)}}),l.jsx(rh.Slot,{scope:n,children:l.jsx(ot.ol,{tabIndex:-1,...s,ref:h})}),x&&l.jsx(wd,{ref:d,onFocusFromOutsideViewport:()=>{const w=y({tabbingDirection:"backwards"});Qc(w)}})]})});s0.displayName=i0;var o0="ToastFocusProxy",wd=b.forwardRef((e,t)=>{const{__scopeToast:n,onFocusFromOutsideViewport:r,...i}=e,s=Xl(o0,n);return l.jsx(ql,{"aria-hidden":!0,tabIndex:0,...i,ref:t,style:{position:"fixed"},onFocus:o=>{var u;const a=o.relatedTarget;!((u=s.viewport)!=null&&u.contains(a))&&r()}})});wd.displayName=o0;var Bo="Toast",pT="toast.swipeStart",mT="toast.swipeMove",gT="toast.swipeCancel",yT="toast.swipeEnd",a0=b.forwardRef((e,t)=>{const{forceMount:n,open:r,defaultOpen:i,onOpenChange:s,...o}=e,[a,c]=iT({prop:r,defaultProp:i??!0,onChange:s,caller:Bo});return l.jsx(th,{present:n||a,children:l.jsx(wT,{open:a,...o,ref:t,onClose:()=>c(!1),onPause:dr(e.onPause),onResume:dr(e.onResume),onSwipeStart:Ce(e.onSwipeStart,u=>{u.currentTarget.setAttribute("data-swipe","start")}),onSwipeMove:Ce(e.onSwipeMove,u=>{const{x:d,y:f}=u.detail.delta;u.currentTarget.setAttribute("data-swipe","move"),u.currentTarget.style.setProperty("--radix-toast-swipe-move-x",`${d}px`),u.currentTarget.style.setProperty("--radix-toast-swipe-move-y",`${f}px`)}),onSwipeCancel:Ce(e.onSwipeCancel,u=>{u.currentTarget.setAttribute("data-swipe","cancel"),u.currentTarget.style.removeProperty("--radix-toast-swipe-move-x"),u.currentTarget.style.removeProperty("--radix-toast-swipe-move-y"),u.currentTarget.style.removeProperty("--radix-toast-swipe-end-x"),u.currentTarget.style.removeProperty("--radix-toast-swipe-end-y")}),onSwipeEnd:Ce(e.onSwipeEnd,u=>{const{x:d,y:f}=u.detail.delta;u.currentTarget.setAttribute("data-swipe","end"),u.currentTarget.style.removeProperty("--radix-toast-swipe-move-x"),u.currentTarget.style.removeProperty("--radix-toast-swipe-move-y"),u.currentTarget.style.setProperty("--radix-toast-swipe-end-x",`${d}px`),u.currentTarget.style.setProperty("--radix-toast-swipe-end-y",`${f}px`),c(!1)})})})});a0.displayName=Bo;var[vT,xT]=n0(Bo,{onClose(){}}),wT=b.forwardRef((e,t)=>{const{__scopeToast:n,type:r="foreground",duration:i,open:s,onClose:o,onEscapeKeyDown:a,onPause:c,onResume:u,onSwipeStart:d,onSwipeMove:f,onSwipeCancel:h,onSwipeEnd:p,...x}=e,y=Xl(Bo,n),[w,m]=b.useState(null),g=Gt(t,O=>m(O)),v=b.useRef(null),j=b.useRef(null),k=i||y.duration,S=b.useRef(0),T=b.useRef(k),C=b.useRef(0),{onToastAdd:A,onToastRemove:R}=y,B=dr(()=>{var Q;(w==null?void 0:w.contains(document.activeElement))&&((Q=y.viewport)==null||Q.focus()),o()}),I=b.useCallback(O=>{!O||O===1/0||(window.clearTimeout(C.current),S.current=new Date().getTime(),C.current=window.setTimeout(B,O))},[B]);b.useEffect(()=>{const O=y.viewport;if(O){const Q=()=>{I(T.current),u==null||u()},U=()=>{const V=new Date().getTime()-S.current;T.current=T.current-V,window.clearTimeout(C.current),c==null||c()};return O.addEventListener(vd,U),O.addEventListener(xd,Q),()=>{O.removeEventListener(vd,U),O.removeEventListener(xd,Q)}}},[y.viewport,k,c,u,I]),b.useEffect(()=>{s&&!y.isClosePausedRef.current&&I(k)},[s,k,y.isClosePausedRef,I]),b.useEffect(()=>(A(),()=>R()),[A,R]);const G=b.useMemo(()=>w?p0(w):null,[w]);return y.viewport?l.jsxs(l.Fragment,{children:[G&&l.jsx(bT,{__scopeToast:n,role:"status","aria-live":r==="foreground"?"assertive":"polite","aria-atomic":!0,children:G}),l.jsx(vT,{scope:n,onClose:B,children:Vo.createPortal(l.jsx(rh.ItemSlot,{scope:n,children:l.jsx(XS,{asChild:!0,onEscapeKeyDown:Ce(a,()=>{y.isFocusedToastEscapeKeyDownRef.current||B(),y.isFocusedToastEscapeKeyDownRef.current=!1}),children:l.jsx(ot.li,{role:"status","aria-live":"off","aria-atomic":!0,tabIndex:0,"data-state":s?"open":"closed","data-swipe-direction":y.swipeDirection,...x,ref:g,style:{userSelect:"none",touchAction:"none",...e.style},onKeyDown:Ce(e.onKeyDown,O=>{O.key==="Escape"&&(a==null||a(O.nativeEvent),O.nativeEvent.defaultPrevented||(y.isFocusedToastEscapeKeyDownRef.current=!0,B()))}),onPointerDown:Ce(e.onPointerDown,O=>{O.button===0&&(v.current={x:O.clientX,y:O.clientY})}),onPointerMove:Ce(e.onPointerMove,O=>{if(!v.current)return;const Q=O.clientX-v.current.x,U=O.clientY-v.current.y,V=!!j.current,E=["left","right"].includes(y.swipeDirection),P=["left","up"].includes(y.swipeDirection)?Math.min:Math.max,L=E?P(0,Q):0,W=E?0:P(0,U),$=O.pointerType==="touch"?10:2,q={x:L,y:W},J={originalEvent:O,delta:q};V?(j.current=q,ga(mT,f,J,{discrete:!1})):jm(q,y.swipeDirection,$)?(j.current=q,ga(pT,d,J,{discrete:!1}),O.target.setPointerCapture(O.pointerId)):(Math.abs(Q)>$||Math.abs(U)>$)&&(v.current=null)}),onPointerUp:Ce(e.onPointerUp,O=>{const Q=j.current,U=O.target;if(U.hasPointerCapture(O.pointerId)&&U.releasePointerCapture(O.pointerId),j.current=null,v.current=null,Q){const V=O.currentTarget,E={originalEvent:O,delta:Q};jm(Q,y.swipeDirection,y.swipeThreshold)?ga(yT,p,E,{discrete:!0}):ga(gT,h,E,{discrete:!0}),V.addEventListener("click",P=>P.preventDefault(),{once:!0})}})})})}),y.viewport)})]}):null}),bT=e=>{const{__scopeToast:t,children:n,...r}=e,i=Xl(Bo,t),[s,o]=b.useState(!1),[a,c]=b.useState(!1);return ST(()=>o(!0)),b.useEffect(()=>{const u=window.setTimeout(()=>c(!0),1e3);return()=>window.clearTimeout(u)},[]),a?null:l.jsx(t0,{asChild:!0,children:l.jsx(ql,{...r,children:s&&l.jsxs(l.Fragment,{children:[i.label," ",n]})})})},jT="ToastTitle",l0=b.forwardRef((e,t)=>{const{__scopeToast:n,...r}=e;return l.jsx(ot.div,{...r,ref:t})});l0.displayName=jT;var kT="ToastDescription",c0=b.forwardRef((e,t)=>{const{__scopeToast:n,...r}=e;return l.jsx(ot.div,{...r,ref:t})});c0.displayName=kT;var u0="ToastAction",d0=b.forwardRef((e,t)=>{const{altText:n,...r}=e;return n.trim()?l.jsx(h0,{altText:n,asChild:!0,children:l.jsx(ih,{...r,ref:t})}):(console.error(`Invalid prop \`altText\` supplied to \`${u0}\`. Expected non-empty \`string\`.`),null)});d0.displayName=u0;var f0="ToastClose",ih=b.forwardRef((e,t)=>{const{__scopeToast:n,...r}=e,i=xT(f0,n);return l.jsx(h0,{asChild:!0,children:l.jsx(ot.button,{type:"button",...r,ref:t,onClick:Ce(e.onClick,i.onClose)})})});ih.displayName=f0;var h0=b.forwardRef((e,t)=>{const{__scopeToast:n,altText:r,...i}=e;return l.jsx(ot.div,{"data-radix-toast-announce-exclude":"","data-radix-toast-announce-alt":r||void 0,...i,ref:t})});function p0(e){const t=[];return Array.from(e.childNodes).forEach(r=>{if(r.nodeType===r.TEXT_NODE&&r.textContent&&t.push(r.textContent),TT(r)){const i=r.ariaHidden||r.hidden||r.style.display==="none",s=r.dataset.radixToastAnnounceExclude==="";if(!i)if(s){const o=r.dataset.radixToastAnnounceAlt;o&&t.push(o)}else t.push(...p0(r))}}),t}function ga(e,t,n,{discrete:r}){const i=n.originalEvent.currentTarget,s=new CustomEvent(e,{bubbles:!0,cancelable:!0,detail:n});t&&i.addEventListener(e,t,{once:!0}),r?Xx(i,s):i.dispatchEvent(s)}var jm=(e,t,n=0)=>{const r=Math.abs(e.x),i=Math.abs(e.y),s=r>i;return t==="left"||t==="right"?s&&r>n:!s&&i>n};function ST(e=()=>{}){const t=dr(e);fr(()=>{let n=0,r=0;return n=window.requestAnimationFrame(()=>r=window.requestAnimationFrame(t)),()=>{window.cancelAnimationFrame(n),window.cancelAnimationFrame(r)}},[t])}function TT(e){return e.nodeType===e.ELEMENT_NODE}function CT(e){const t=[],n=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:r=>{const i=r.tagName==="INPUT"&&r.type==="hidden";return r.disabled||r.hidden||i?NodeFilter.FILTER_SKIP:r.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;n.nextNode();)t.push(n.currentNode);return t}function Qc(e){const t=document.activeElement;return e.some(n=>n===t?!0:(n.focus(),document.activeElement!==t))}var ET=r0,m0=s0,g0=a0,y0=l0,v0=c0,x0=d0,w0=ih;function b0(e){var t,n,r="";if(typeof e=="string"||typeof e=="number")r+=e;else if(typeof e=="object")if(Array.isArray(e)){var i=e.length;for(t=0;t<i;t++)e[t]&&(n=b0(e[t]))&&(r&&(r+=" "),r+=n)}else for(n in e)e[n]&&(r&&(r+=" "),r+=n);return r}function j0(){for(var e,t,n=0,r="",i=arguments.length;n<i;n++)(e=arguments[n])&&(t=b0(e))&&(r&&(r+=" "),r+=t);return r}const km=e=>typeof e=="boolean"?`${e}`:e===0?"0":e,Sm=j0,NT=(e,t)=>n=>{var r;if((t==null?void 0:t.variants)==null)return Sm(e,n==null?void 0:n.class,n==null?void 0:n.className);const{variants:i,defaultVariants:s}=t,o=Object.keys(i).map(u=>{const d=n==null?void 0:n[u],f=s==null?void 0:s[u];if(d===null)return null;const h=km(d)||km(f);return i[u][h]}),a=n&&Object.entries(n).reduce((u,d)=>{let[f,h]=d;return h===void 0||(u[f]=h),u},{}),c=t==null||(r=t.compoundVariants)===null||r===void 0?void 0:r.reduce((u,d)=>{let{class:f,className:h,...p}=d;return Object.entries(p).every(x=>{let[y,w]=x;return Array.isArray(w)?w.includes({...s,...a}[y]):{...s,...a}[y]===w})?[...u,f,h]:u},[]);return Sm(e,o,c,n==null?void 0:n.class,n==null?void 0:n.className)};/**
* @license lucide-react v0.462.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const PT=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),k0=(...e)=>e.filter((t,n,r)=>!!t&&t.trim()!==""&&r.indexOf(t)===n).join(" ").trim();/**
* @license lucide-react v0.462.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/var AT={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"};/**
* @license lucide-react v0.462.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const RT=b.forwardRef(({color:e="currentColor",size:t=24,strokeWidth:n=2,absoluteStrokeWidth:r,className:i="",children:s,iconNode:o,...a},c)=>b.createElement("svg",{ref:c,...AT,width:t,height:t,stroke:e,strokeWidth:r?Number(n)*24/Number(t):n,className:k0("lucide",i),...a},[...o.map(([u,d])=>b.createElement(u,d)),...Array.isArray(s)?s:[s]]));/**
* @license lucide-react v0.462.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const Ue=(e,t)=>{const n=b.forwardRef(({className:r,...i},s)=>b.createElement(RT,{ref:s,iconNode:t,className:k0(`lucide-${PT(e)}`,r),...i}));return n.displayName=`${e}`,n};/**
* @license lucide-react v0.462.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const MT=Ue("ArrowDown",[["path",{d:"M12 5v14",key:"s699le"}],["path",{d:"m19 12-7 7-7-7",key:"1idqje"}]]);/**
* @license lucide-react v0.462.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const sh=Ue("ArrowRight",[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"m12 5 7 7-7 7",key:"xquz4c"}]]);/**
* @license lucide-react v0.462.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const DT=Ue("ChevronDown",[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]]);/**
* @license lucide-react v0.462.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const S0=Ue("ExternalLink",[["path",{d:"M15 3h6v6",key:"1q9fwt"}],["path",{d:"M10 14 21 3",key:"gplh6r"}],["path",{d:"M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6",key:"a6xqqp"}]]);/**
* @license lucide-react v0.462.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const T0=Ue("Facebook",[["path",{d:"M18 2h-3a5 5 0 0 0-5 5v3H7v4h3v8h4v-8h3l1-4h-4V7a1 1 0 0 1 1-1h3z",key:"1jg4f8"}]]);/**
* @license lucide-react v0.462.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const C0=Ue("Heart",[["path",{d:"M19 14c1.49-1.46 3-3.21 3-5.5A5.5 5.5 0 0 0 16.5 3c-1.76 0-3 .5-4.5 2-1.5-1.5-2.74-2-4.5-2A5.5 5.5 0 0 0 2 8.5c0 2.3 1.5 4.05 3 5.5l7 7Z",key:"c3ymky"}]]);/**
* @license lucide-react v0.462.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const OT=Ue("House",[["path",{d:"M15 21v-8a1 1 0 0 0-1-1h-4a1 1 0 0 0-1 1v8",key:"5wwlr5"}],["path",{d:"M3 10a2 2 0 0 1 .709-1.528l7-5.999a2 2 0 0 1 2.582 0l7 5.999A2 2 0 0 1 21 10v9a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z",key:"1d0kgt"}]]);/**
* @license lucide-react v0.462.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const E0=Ue("Instagram",[["rect",{width:"20",height:"20",x:"2",y:"2",rx:"5",ry:"5",key:"2e1cvw"}],["path",{d:"M16 11.37A4 4 0 1 1 12.63 8 4 4 0 0 1 16 11.37z",key:"9exkf1"}],["line",{x1:"17.5",x2:"17.51",y1:"6.5",y2:"6.5",key:"r4j83e"}]]);/**
* @license lucide-react v0.462.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const oh=Ue("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"}]]);/**
* @license lucide-react v0.462.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const N0=Ue("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"}]]);/**
* @license lucide-react v0.462.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const LT=Ue("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"}]]);/**
* @license lucide-react v0.462.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const IT=Ue("MessageCircle",[["path",{d:"M7.9 20A9 9 0 1 0 4 16.1L2 22Z",key:"vv11sd"}]]);/**
* @license lucide-react v0.462.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const ah=Ue("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"}]]);/**
* @license lucide-react v0.462.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const zT=Ue("Sun",[["circle",{cx:"12",cy:"12",r:"4",key:"4exip2"}],["path",{d:"M12 2v2",key:"tus03m"}],["path",{d:"M12 20v2",key:"1lh1kg"}],["path",{d:"m4.93 4.93 1.41 1.41",key:"149t6j"}],["path",{d:"m17.66 17.66 1.41 1.41",key:"ptbguv"}],["path",{d:"M2 12h2",key:"1t8f8n"}],["path",{d:"M20 12h2",key:"1q8mjw"}],["path",{d:"m6.34 17.66-1.41 1.41",key:"1m8zz5"}],["path",{d:"m19.07 4.93-1.41 1.41",key:"1shlcs"}]]);/**
* @license lucide-react v0.462.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const _T=Ue("Waves",[["path",{d:"M2 6c.6.5 1.2 1 2.5 1C7 7 7 5 9.5 5c2.6 0 2.4 2 5 2 2.5 0 2.5-2 5-2 1.3 0 1.9.5 2.5 1",key:"knzxuh"}],["path",{d:"M2 12c.6.5 1.2 1 2.5 1 2.5 0 2.5-2 5-2 2.6 0 2.4 2 5 2 2.5 0 2.5-2 5-2 1.3 0 1.9.5 2.5 1",key:"2jd2cc"}],["path",{d:"M2 18c.6.5 1.2 1 2.5 1 2.5 0 2.5-2 5-2 2.6 0 2.4 2 5 2 2.5 0 2.5-2 5-2 1.3 0 1.9.5 2.5 1",key:"rd2r6e"}]]);/**
* @license lucide-react v0.462.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const P0=Ue("X",[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]]),lh="-",VT=e=>{const t=FT(e),{conflictingClassGroups:n,conflictingClassGroupModifiers:r}=e;return{getClassGroupId:o=>{const a=o.split(lh);return a[0]===""&&a.length!==1&&a.shift(),A0(a,t)||BT(o)},getConflictingClassGroupIds:(o,a)=>{const c=n[o]||[];return a&&r[o]?[...c,...r[o]]:c}}},A0=(e,t)=>{var o;if(e.length===0)return t.classGroupId;const n=e[0],r=t.nextPart.get(n),i=r?A0(e.slice(1),r):void 0;if(i)return i;if(t.validators.length===0)return;const s=e.join(lh);return(o=t.validators.find(({validator:a})=>a(s)))==null?void 0:o.classGroupId},Tm=/^\[(.+)\]$/,BT=e=>{if(Tm.test(e)){const t=Tm.exec(e)[1],n=t==null?void 0:t.substring(0,t.indexOf(":"));if(n)return"arbitrary.."+n}},FT=e=>{const{theme:t,prefix:n}=e,r={nextPart:new Map,validators:[]};return UT(Object.entries(e.classGroups),n).forEach(([s,o])=>{bd(o,r,s,t)}),r},bd=(e,t,n,r)=>{e.forEach(i=>{if(typeof i=="string"){const s=i===""?t:Cm(t,i);s.classGroupId=n;return}if(typeof i=="function"){if($T(i)){bd(i(r),t,n,r);return}t.validators.push({validator:i,classGroupId:n});return}Object.entries(i).forEach(([s,o])=>{bd(o,Cm(t,s),n,r)})})},Cm=(e,t)=>{let n=e;return t.split(lh).forEach(r=>{n.nextPart.has(r)||n.nextPart.set(r,{nextPart:new Map,validators:[]}),n=n.nextPart.get(r)}),n},$T=e=>e.isThemeGetter,UT=(e,t)=>t?e.map(([n,r])=>{const i=r.map(s=>typeof s=="string"?t+s:typeof s=="object"?Object.fromEntries(Object.entries(s).map(([o,a])=>[t+o,a])):s);return[n,i]}):e,WT=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,n=new Map,r=new Map;const i=(s,o)=>{n.set(s,o),t++,t>e&&(t=0,r=n,n=new Map)};return{get(s){let o=n.get(s);if(o!==void 0)return o;if((o=r.get(s))!==void 0)return i(s,o),o},set(s,o){n.has(s)?n.set(s,o):i(s,o)}}},R0="!",HT=e=>{const{separator:t,experimentalParseClassName:n}=e,r=t.length===1,i=t[0],s=t.length,o=a=>{const c=[];let u=0,d=0,f;for(let w=0;w<a.length;w++){let m=a[w];if(u===0){if(m===i&&(r||a.slice(w,w+s)===t)){c.push(a.slice(d,w)),d=w+s;continue}if(m==="/"){f=w;continue}}m==="["?u++:m==="]"&&u--}const h=c.length===0?a:a.substring(d),p=h.startsWith(R0),x=p?h.substring(1):h,y=f&&f>d?f-d:void 0;return{modifiers:c,hasImportantModifier:p,baseClassName:x,maybePostfixModifierPosition:y}};return n?a=>n({className:a,parseClassName:o}):o},KT=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},GT=e=>({cache:WT(e.cacheSize),parseClassName:HT(e),...VT(e)}),YT=/\s+/,QT=(e,t)=>{const{parseClassName:n,getClassGroupId:r,getConflictingClassGroupIds:i}=t,s=[],o=e.trim().split(YT);let a="";for(let c=o.length-1;c>=0;c-=1){const u=o[c],{modifiers:d,hasImportantModifier:f,baseClassName:h,maybePostfixModifierPosition:p}=n(u);let x=!!p,y=r(x?h.substring(0,p):h);if(!y){if(!x){a=u+(a.length>0?" "+a:a);continue}if(y=r(h),!y){a=u+(a.length>0?" "+a:a);continue}x=!1}const w=KT(d).join(":"),m=f?w+R0:w,g=m+y;if(s.includes(g))continue;s.push(g);const v=i(y,x);for(let j=0;j<v.length;++j){const k=v[j];s.push(m+k)}a=u+(a.length>0?" "+a:a)}return a};function qT(){let e=0,t,n,r="";for(;e<arguments.length;)(t=arguments[e++])&&(n=M0(t))&&(r&&(r+=" "),r+=n);return r}const M0=e=>{if(typeof e=="string")return e;let t,n="";for(let r=0;r<e.length;r++)e[r]&&(t=M0(e[r]))&&(n&&(n+=" "),n+=t);return n};function XT(e,...t){let n,r,i,s=o;function o(c){const u=t.reduce((d,f)=>f(d),e());return n=GT(u),r=n.cache.get,i=n.cache.set,s=a,a(c)}function a(c){const u=r(c);if(u)return u;const d=QT(c,n);return i(c,d),d}return function(){return s(qT.apply(null,arguments))}}const ae=e=>{const t=n=>n[e]||[];return t.isThemeGetter=!0,t},D0=/^\[(?:([a-z-]+):)?(.+)\]$/i,JT=/^\d+\/\d+$/,ZT=new Set(["px","full","screen"]),eC=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,tC=/\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$/,nC=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,rC=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,iC=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,fn=e=>zi(e)||ZT.has(e)||JT.test(e),In=e=>ls(e,"length",fC),zi=e=>!!e&&!Number.isNaN(Number(e)),qc=e=>ls(e,"number",zi),Es=e=>!!e&&Number.isInteger(Number(e)),sC=e=>e.endsWith("%")&&zi(e.slice(0,-1)),Y=e=>D0.test(e),zn=e=>eC.test(e),oC=new Set(["length","size","percentage"]),aC=e=>ls(e,oC,O0),lC=e=>ls(e,"position",O0),cC=new Set(["image","url"]),uC=e=>ls(e,cC,pC),dC=e=>ls(e,"",hC),Ns=()=>!0,ls=(e,t,n)=>{const r=D0.exec(e);return r?r[1]?typeof t=="string"?r[1]===t:t.has(r[1]):n(r[2]):!1},fC=e=>tC.test(e)&&!nC.test(e),O0=()=>!1,hC=e=>rC.test(e),pC=e=>iC.test(e),mC=()=>{const e=ae("colors"),t=ae("spacing"),n=ae("blur"),r=ae("brightness"),i=ae("borderColor"),s=ae("borderRadius"),o=ae("borderSpacing"),a=ae("borderWidth"),c=ae("contrast"),u=ae("grayscale"),d=ae("hueRotate"),f=ae("invert"),h=ae("gap"),p=ae("gradientColorStops"),x=ae("gradientColorStopPositions"),y=ae("inset"),w=ae("margin"),m=ae("opacity"),g=ae("padding"),v=ae("saturate"),j=ae("scale"),k=ae("sepia"),S=ae("skew"),T=ae("space"),C=ae("translate"),A=()=>["auto","contain","none"],R=()=>["auto","hidden","clip","visible","scroll"],B=()=>["auto",Y,t],I=()=>[Y,t],G=()=>["",fn,In],O=()=>["auto",zi,Y],Q=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],U=()=>["solid","dashed","dotted","double","none"],V=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],E=()=>["start","end","center","between","around","evenly","stretch"],P=()=>["","0",Y],L=()=>["auto","avoid","all","avoid-page","page","left","right","column"],W=()=>[zi,Y];return{cacheSize:500,separator:":",theme:{colors:[Ns],spacing:[fn,In],blur:["none","",zn,Y],brightness:W(),borderColor:[e],borderRadius:["none","","full",zn,Y],borderSpacing:I(),borderWidth:G(),contrast:W(),grayscale:P(),hueRotate:W(),invert:P(),gap:I(),gradientColorStops:[e],gradientColorStopPositions:[sC,In],inset:B(),margin:B(),opacity:W(),padding:I(),saturate:W(),scale:W(),sepia:P(),skew:W(),space:I(),translate:I()},classGroups:{aspect:[{aspect:["auto","square","video",Y]}],container:["container"],columns:[{columns:[zn]}],"break-after":[{"break-after":L()}],"break-before":[{"break-before":L()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:[...Q(),Y]}],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:[y]}],"inset-x":[{"inset-x":[y]}],"inset-y":[{"inset-y":[y]}],start:[{start:[y]}],end:[{end:[y]}],top:[{top:[y]}],right:[{right:[y]}],bottom:[{bottom:[y]}],left:[{left:[y]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",Es,Y]}],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",Y]}],grow:[{grow:P()}],shrink:[{shrink:P()}],order:[{order:["first","last","none",Es,Y]}],"grid-cols":[{"grid-cols":[Ns]}],"col-start-end":[{col:["auto",{span:["full",Es,Y]},Y]}],"col-start":[{"col-start":O()}],"col-end":[{"col-end":O()}],"grid-rows":[{"grid-rows":[Ns]}],"row-start-end":[{row:["auto",{span:[Es,Y]},Y]}],"row-start":[{"row-start":O()}],"row-end":[{"row-end":O()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",Y]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",Y]}],gap:[{gap:[h]}],"gap-x":[{"gap-x":[h]}],"gap-y":[{"gap-y":[h]}],"justify-content":[{justify:["normal",...E()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...E(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...E(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[g]}],px:[{px:[g]}],py:[{py:[g]}],ps:[{ps:[g]}],pe:[{pe:[g]}],pt:[{pt:[g]}],pr:[{pr:[g]}],pb:[{pb:[g]}],pl:[{pl:[g]}],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",Y,t]}],"min-w":[{"min-w":[Y,t,"min","max","fit"]}],"max-w":[{"max-w":[Y,t,"none","full","min","max","fit","prose",{screen:[zn]},zn]}],h:[{h:[Y,t,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[Y,t,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[Y,t,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[Y,t,"auto","min","max","fit"]}],"font-size":[{text:["base",zn,In]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",qc]}],"font-family":[{font:[Ns]}],"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",Y]}],"line-clamp":[{"line-clamp":["none",zi,qc]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",fn,Y]}],"list-image":[{"list-image":["none",Y]}],"list-style-type":[{list:["none","disc","decimal",Y]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[m]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[m]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...U(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",fn,In]}],"underline-offset":[{"underline-offset":["auto",fn,Y]}],"text-decoration-color":[{decoration:[e]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:I()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",Y]}],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",Y]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[m]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...Q(),lC]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",aC]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},uC]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[x]}],"gradient-via-pos":[{via:[x]}],"gradient-to-pos":[{to:[x]}],"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":[m]}],"border-style":[{border:[...U(),"hidden"]}],"divide-x":[{"divide-x":[a]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[a]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[m]}],"divide-style":[{divide:U()}],"border-color":[{border:[i]}],"border-color-x":[{"border-x":[i]}],"border-color-y":[{"border-y":[i]}],"border-color-s":[{"border-s":[i]}],"border-color-e":[{"border-e":[i]}],"border-color-t":[{"border-t":[i]}],"border-color-r":[{"border-r":[i]}],"border-color-b":[{"border-b":[i]}],"border-color-l":[{"border-l":[i]}],"divide-color":[{divide:[i]}],"outline-style":[{outline:["",...U()]}],"outline-offset":[{"outline-offset":[fn,Y]}],"outline-w":[{outline:[fn,In]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:G()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[m]}],"ring-offset-w":[{"ring-offset":[fn,In]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",zn,dC]}],"shadow-color":[{shadow:[Ns]}],opacity:[{opacity:[m]}],"mix-blend":[{"mix-blend":[...V(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":V()}],filter:[{filter:["","none"]}],blur:[{blur:[n]}],brightness:[{brightness:[r]}],contrast:[{contrast:[c]}],"drop-shadow":[{"drop-shadow":["","none",zn,Y]}],grayscale:[{grayscale:[u]}],"hue-rotate":[{"hue-rotate":[d]}],invert:[{invert:[f]}],saturate:[{saturate:[v]}],sepia:[{sepia:[k]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[n]}],"backdrop-brightness":[{"backdrop-brightness":[r]}],"backdrop-contrast":[{"backdrop-contrast":[c]}],"backdrop-grayscale":[{"backdrop-grayscale":[u]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[d]}],"backdrop-invert":[{"backdrop-invert":[f]}],"backdrop-opacity":[{"backdrop-opacity":[m]}],"backdrop-saturate":[{"backdrop-saturate":[v]}],"backdrop-sepia":[{"backdrop-sepia":[k]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[o]}],"border-spacing-x":[{"border-spacing-x":[o]}],"border-spacing-y":[{"border-spacing-y":[o]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",Y]}],duration:[{duration:W()}],ease:[{ease:["linear","in","out","in-out",Y]}],delay:[{delay:W()}],animate:[{animate:["none","spin","ping","pulse","bounce",Y]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[j]}],"scale-x":[{"scale-x":[j]}],"scale-y":[{"scale-y":[j]}],rotate:[{rotate:[Es,Y]}],"translate-x":[{"translate-x":[C]}],"translate-y":[{"translate-y":[C]}],"skew-x":[{"skew-x":[S]}],"skew-y":[{"skew-y":[S]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",Y]}],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",Y]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":I()}],"scroll-mx":[{"scroll-mx":I()}],"scroll-my":[{"scroll-my":I()}],"scroll-ms":[{"scroll-ms":I()}],"scroll-me":[{"scroll-me":I()}],"scroll-mt":[{"scroll-mt":I()}],"scroll-mr":[{"scroll-mr":I()}],"scroll-mb":[{"scroll-mb":I()}],"scroll-ml":[{"scroll-ml":I()}],"scroll-p":[{"scroll-p":I()}],"scroll-px":[{"scroll-px":I()}],"scroll-py":[{"scroll-py":I()}],"scroll-ps":[{"scroll-ps":I()}],"scroll-pe":[{"scroll-pe":I()}],"scroll-pt":[{"scroll-pt":I()}],"scroll-pr":[{"scroll-pr":I()}],"scroll-pb":[{"scroll-pb":I()}],"scroll-pl":[{"scroll-pl":I()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",Y]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[fn,In,qc]}],stroke:[{stroke:[e,"none"]}],sr:["sr-only","not-sr-only"],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-s","border-color-e","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}},gC=XT(mC);function Zr(...e){return gC(j0(e))}const yC=ET,L0=b.forwardRef(({className:e,...t},n)=>l.jsx(m0,{ref:n,className:Zr("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}));L0.displayName=m0.displayName;const vC=NT("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"}}),I0=b.forwardRef(({className:e,variant:t,...n},r)=>l.jsx(g0,{ref:r,className:Zr(vC({variant:t}),e),...n}));I0.displayName=g0.displayName;const xC=b.forwardRef(({className:e,...t},n)=>l.jsx(x0,{ref:n,className:Zr("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}));xC.displayName=x0.displayName;const z0=b.forwardRef(({className:e,...t},n)=>l.jsx(w0,{ref:n,className:Zr("absolute right-2 top-2 rounded-md p-1 text-foreground/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:l.jsx(P0,{className:"h-4 w-4"})}));z0.displayName=w0.displayName;const _0=b.forwardRef(({className:e,...t},n)=>l.jsx(y0,{ref:n,className:Zr("text-sm font-semibold",e),...t}));_0.displayName=y0.displayName;const V0=b.forwardRef(({className:e,...t},n)=>l.jsx(v0,{ref:n,className:Zr("text-sm opacity-90",e),...t}));V0.displayName=v0.displayName;function wC(){const{toasts:e}=LS();return l.jsxs(yC,{children:[e.map(function({id:t,title:n,description:r,action:i,...s}){return l.jsxs(I0,{...s,children:[l.jsxs("div",{className:"grid gap-1",children:[n&&l.jsx(_0,{children:n}),r&&l.jsx(V0,{children:r})]}),i,l.jsx(z0,{})]},t)}),l.jsx(L0,{})]})}var Em=["light","dark"],bC="(prefers-color-scheme: dark)",jC=b.createContext(void 0),kC={setTheme:e=>{},themes:[]},SC=()=>{var e;return(e=b.useContext(jC))!=null?e:kC};b.memo(({forcedTheme:e,storageKey:t,attribute:n,enableSystem:r,enableColorScheme:i,defaultTheme:s,value:o,attrs:a,nonce:c})=>{let u=s==="system",d=n==="class"?`var d=document.documentElement,c=d.classList;${`c.remove(${a.map(x=>`'${x}'`).join(",")})`};`:`var d=document.documentElement,n='${n}',s='setAttribute';`,f=i?Em.includes(s)&&s?`if(e==='light'||e==='dark'||!e)d.style.colorScheme=e||'${s}'`:"if(e==='light'||e==='dark')d.style.colorScheme=e":"",h=(x,y=!1,w=!0)=>{let m=o?o[x]:x,g=y?x+"|| ''":`'${m}'`,v="";return i&&w&&!y&&Em.includes(x)&&(v+=`d.style.colorScheme = '${x}';`),n==="class"?y||m?v+=`c.add(${g})`:v+="null":m&&(v+=`d[s](n,${g})`),v},p=e?`!function(){${d}${h(e)}}()`:r?`!function(){try{${d}var e=localStorage.getItem('${t}');if('system'===e||(!e&&${u})){var t='${bC}',m=window.matchMedia(t);if(m.media!==t||m.matches){${h("dark")}}else{${h("light")}}}else if(e){${o?`var x=${JSON.stringify(o)};`:""}${h(o?"x[e]":"e",!0)}}${u?"":"else{"+h(s,!1,!1)+"}"}${f}}catch(e){}}()`:`!function(){try{${d}var e=localStorage.getItem('${t}');if(e){${o?`var x=${JSON.stringify(o)};`:""}${h(o?"x[e]":"e",!0)}}else{${h(s,!1,!1)};}${f}}catch(t){}}();`;return b.createElement("script",{nonce:c,dangerouslySetInnerHTML:{__html:p}})});var TC=e=>{switch(e){case"success":return NC;case"info":return AC;case"warning":return PC;case"error":return RC;default:return null}},CC=Array(12).fill(0),EC=({visible:e,className:t})=>D.createElement("div",{className:["sonner-loading-wrapper",t].filter(Boolean).join(" "),"data-visible":e},D.createElement("div",{className:"sonner-spinner"},CC.map((n,r)=>D.createElement("div",{className:"sonner-loading-bar",key:`spinner-bar-${r}`})))),NC=D.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},D.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"})),PC=D.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",height:"20",width:"20"},D.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"})),AC=D.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},D.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"})),RC=D.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},D.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"})),MC=D.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"},D.createElement("line",{x1:"18",y1:"6",x2:"6",y2:"18"}),D.createElement("line",{x1:"6",y1:"6",x2:"18",y2:"18"})),DC=()=>{let[e,t]=D.useState(document.hidden);return D.useEffect(()=>{let n=()=>{t(document.hidden)};return document.addEventListener("visibilitychange",n),()=>window.removeEventListener("visibilitychange",n)},[]),e},jd=1,OC=class{constructor(){this.subscribe=e=>(this.subscribers.push(e),()=>{let t=this.subscribers.indexOf(e);this.subscribers.splice(t,1)}),this.publish=e=>{this.subscribers.forEach(t=>t(e))},this.addToast=e=>{this.publish(e),this.toasts=[...this.toasts,e]},this.create=e=>{var t;let{message:n,...r}=e,i=typeof(e==null?void 0:e.id)=="number"||((t=e.id)==null?void 0:t.length)>0?e.id:jd++,s=this.toasts.find(a=>a.id===i),o=e.dismissible===void 0?!0:e.dismissible;return this.dismissedToasts.has(i)&&this.dismissedToasts.delete(i),s?this.toasts=this.toasts.map(a=>a.id===i?(this.publish({...a,...e,id:i,title:n}),{...a,...e,id:i,dismissible:o,title:n}):a):this.addToast({title:n,...r,dismissible:o,id:i}),i},this.dismiss=e=>(this.dismissedToasts.add(e),e||this.toasts.forEach(t=>{this.subscribers.forEach(n=>n({id:t.id,dismiss:!0}))}),this.subscribers.forEach(t=>t({id:e,dismiss:!0})),e),this.message=(e,t)=>this.create({...t,message:e}),this.error=(e,t)=>this.create({...t,message:e,type:"error"}),this.success=(e,t)=>this.create({...t,type:"success",message:e}),this.info=(e,t)=>this.create({...t,type:"info",message:e}),this.warning=(e,t)=>this.create({...t,type:"warning",message:e}),this.loading=(e,t)=>this.create({...t,type:"loading",message:e}),this.promise=(e,t)=>{if(!t)return;let n;t.loading!==void 0&&(n=this.create({...t,promise:e,type:"loading",message:t.loading,description:typeof t.description!="function"?t.description:void 0}));let r=e instanceof Promise?e:e(),i=n!==void 0,s,o=r.then(async c=>{if(s=["resolve",c],D.isValidElement(c))i=!1,this.create({id:n,type:"default",message:c});else if(IC(c)&&!c.ok){i=!1;let u=typeof t.error=="function"?await t.error(`HTTP error! status: ${c.status}`):t.error,d=typeof t.description=="function"?await t.description(`HTTP error! status: ${c.status}`):t.description;this.create({id:n,type:"error",message:u,description:d})}else if(t.success!==void 0){i=!1;let u=typeof t.success=="function"?await t.success(c):t.success,d=typeof t.description=="function"?await t.description(c):t.description;this.create({id:n,type:"success",message:u,description:d})}}).catch(async c=>{if(s=["reject",c],t.error!==void 0){i=!1;let u=typeof t.error=="function"?await t.error(c):t.error,d=typeof t.description=="function"?await t.description(c):t.description;this.create({id:n,type:"error",message:u,description:d})}}).finally(()=>{var c;i&&(this.dismiss(n),n=void 0),(c=t.finally)==null||c.call(t)}),a=()=>new Promise((c,u)=>o.then(()=>s[0]==="reject"?u(s[1]):c(s[1])).catch(u));return typeof n!="string"&&typeof n!="number"?{unwrap:a}:Object.assign(n,{unwrap:a})},this.custom=(e,t)=>{let n=(t==null?void 0:t.id)||jd++;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}},et=new OC,LC=(e,t)=>{let n=(t==null?void 0:t.id)||jd++;return et.addToast({title:e,...t,id:n}),n},IC=e=>e&&typeof e=="object"&&"ok"in e&&typeof e.ok=="boolean"&&"status"in e&&typeof e.status=="number",zC=LC,_C=()=>et.toasts,VC=()=>et.getActiveToasts();Object.assign(zC,{success:et.success,info:et.info,warning:et.warning,error:et.error,custom:et.custom,message:et.message,promise:et.promise,dismiss:et.dismiss,loading:et.loading},{getHistory:_C,getToasts:VC});function BC(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))}BC(`: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;left: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}: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%);--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%)}
`);function ya(e){return e.label!==void 0}var FC=3,$C="32px",UC="16px",Nm=4e3,WC=356,HC=14,KC=20,GC=200;function Mt(...e){return e.filter(Boolean).join(" ")}function YC(e){let[t,n]=e.split("-"),r=[];return t&&r.push(t),n&&r.push(n),r}var QC=e=>{var t,n,r,i,s,o,a,c,u,d,f;let{invert:h,toast:p,unstyled:x,interacting:y,setHeights:w,visibleToasts:m,heights:g,index:v,toasts:j,expanded:k,removeToast:S,defaultRichColors:T,closeButton:C,style:A,cancelButtonStyle:R,actionButtonStyle:B,className:I="",descriptionClassName:G="",duration:O,position:Q,gap:U,loadingIcon:V,expandByDefault:E,classNames:P,icons:L,closeButtonAriaLabel:W="Close toast",pauseWhenPageIsHidden:$}=e,[q,J]=D.useState(null),[we,Oe]=D.useState(null),[te,ni]=D.useState(!1),[Pn,kr]=D.useState(!1),[An,ri]=D.useState(!1),[Rn,Go]=D.useState(!1),[hc,Yo]=D.useState(!1),[pc,ms]=D.useState(0),[ii,Xh]=D.useState(0),gs=D.useRef(p.duration||O||Nm),Jh=D.useRef(null),Sr=D.useRef(null),vb=v===0,xb=v+1<=m,mt=p.type,si=p.dismissible!==!1,wb=p.className||"",bb=p.descriptionClassName||"",Qo=D.useMemo(()=>g.findIndex(H=>H.toastId===p.id)||0,[g,p.id]),jb=D.useMemo(()=>{var H;return(H=p.closeButton)!=null?H:C},[p.closeButton,C]),Zh=D.useMemo(()=>p.duration||O||Nm,[p.duration,O]),mc=D.useRef(0),oi=D.useRef(0),ep=D.useRef(0),ai=D.useRef(null),[kb,Sb]=Q.split("-"),tp=D.useMemo(()=>g.reduce((H,ie,ue)=>ue>=Qo?H:H+ie.height,0),[g,Qo]),np=DC(),Tb=p.invert||h,gc=mt==="loading";oi.current=D.useMemo(()=>Qo*U+tp,[Qo,tp]),D.useEffect(()=>{gs.current=Zh},[Zh]),D.useEffect(()=>{ni(!0)},[]),D.useEffect(()=>{let H=Sr.current;if(H){let ie=H.getBoundingClientRect().height;return Xh(ie),w(ue=>[{toastId:p.id,height:ie,position:p.position},...ue]),()=>w(ue=>ue.filter(Nt=>Nt.toastId!==p.id))}},[w,p.id]),D.useLayoutEffect(()=>{if(!te)return;let H=Sr.current,ie=H.style.height;H.style.height="auto";let ue=H.getBoundingClientRect().height;H.style.height=ie,Xh(ue),w(Nt=>Nt.find(Pt=>Pt.toastId===p.id)?Nt.map(Pt=>Pt.toastId===p.id?{...Pt,height:ue}:Pt):[{toastId:p.id,height:ue,position:p.position},...Nt])},[te,p.title,p.description,w,p.id]);let Mn=D.useCallback(()=>{kr(!0),ms(oi.current),w(H=>H.filter(ie=>ie.toastId!==p.id)),setTimeout(()=>{S(p)},GC)},[p,S,w,oi]);D.useEffect(()=>{if(p.promise&&mt==="loading"||p.duration===1/0||p.type==="loading")return;let H;return k||y||$&&np?(()=>{if(ep.current<mc.current){let ie=new Date().getTime()-mc.current;gs.current=gs.current-ie}ep.current=new Date().getTime()})():gs.current!==1/0&&(mc.current=new Date().getTime(),H=setTimeout(()=>{var ie;(ie=p.onAutoClose)==null||ie.call(p,p),Mn()},gs.current)),()=>clearTimeout(H)},[k,y,p,mt,$,np,Mn]),D.useEffect(()=>{p.delete&&Mn()},[Mn,p.delete]);function Cb(){var H,ie,ue;return L!=null&&L.loading?D.createElement("div",{className:Mt(P==null?void 0:P.loader,(H=p==null?void 0:p.classNames)==null?void 0:H.loader,"sonner-loader"),"data-visible":mt==="loading"},L.loading):V?D.createElement("div",{className:Mt(P==null?void 0:P.loader,(ie=p==null?void 0:p.classNames)==null?void 0:ie.loader,"sonner-loader"),"data-visible":mt==="loading"},V):D.createElement(EC,{className:Mt(P==null?void 0:P.loader,(ue=p==null?void 0:p.classNames)==null?void 0:ue.loader),visible:mt==="loading"})}return D.createElement("li",{tabIndex:0,ref:Sr,className:Mt(I,wb,P==null?void 0:P.toast,(t=p==null?void 0:p.classNames)==null?void 0:t.toast,P==null?void 0:P.default,P==null?void 0:P[mt],(n=p==null?void 0:p.classNames)==null?void 0:n[mt]),"data-sonner-toast":"","data-rich-colors":(r=p.richColors)!=null?r:T,"data-styled":!(p.jsx||p.unstyled||x),"data-mounted":te,"data-promise":!!p.promise,"data-swiped":hc,"data-removed":Pn,"data-visible":xb,"data-y-position":kb,"data-x-position":Sb,"data-index":v,"data-front":vb,"data-swiping":An,"data-dismissible":si,"data-type":mt,"data-invert":Tb,"data-swipe-out":Rn,"data-swipe-direction":we,"data-expanded":!!(k||E&&te),style:{"--index":v,"--toasts-before":v,"--z-index":j.length-v,"--offset":`${Pn?pc:oi.current}px`,"--initial-height":E?"auto":`${ii}px`,...A,...p.style},onDragEnd:()=>{ri(!1),J(null),ai.current=null},onPointerDown:H=>{gc||!si||(Jh.current=new Date,ms(oi.current),H.target.setPointerCapture(H.pointerId),H.target.tagName!=="BUTTON"&&(ri(!0),ai.current={x:H.clientX,y:H.clientY}))},onPointerUp:()=>{var H,ie,ue,Nt;if(Rn||!si)return;ai.current=null;let Pt=Number(((H=Sr.current)==null?void 0:H.style.getPropertyValue("--swipe-amount-x").replace("px",""))||0),Dn=Number(((ie=Sr.current)==null?void 0:ie.style.getPropertyValue("--swipe-amount-y").replace("px",""))||0),Tr=new Date().getTime()-((ue=Jh.current)==null?void 0:ue.getTime()),At=q==="x"?Pt:Dn,On=Math.abs(At)/Tr;if(Math.abs(At)>=KC||On>.11){ms(oi.current),(Nt=p.onDismiss)==null||Nt.call(p,p),Oe(q==="x"?Pt>0?"right":"left":Dn>0?"down":"up"),Mn(),Go(!0),Yo(!1);return}ri(!1),J(null)},onPointerMove:H=>{var ie,ue,Nt,Pt;if(!ai.current||!si||((ie=window.getSelection())==null?void 0:ie.toString().length)>0)return;let Dn=H.clientY-ai.current.y,Tr=H.clientX-ai.current.x,At=(ue=e.swipeDirections)!=null?ue:YC(Q);!q&&(Math.abs(Tr)>1||Math.abs(Dn)>1)&&J(Math.abs(Tr)>Math.abs(Dn)?"x":"y");let On={x:0,y:0};q==="y"?(At.includes("top")||At.includes("bottom"))&&(At.includes("top")&&Dn<0||At.includes("bottom")&&Dn>0)&&(On.y=Dn):q==="x"&&(At.includes("left")||At.includes("right"))&&(At.includes("left")&&Tr<0||At.includes("right")&&Tr>0)&&(On.x=Tr),(Math.abs(On.x)>0||Math.abs(On.y)>0)&&Yo(!0),(Nt=Sr.current)==null||Nt.style.setProperty("--swipe-amount-x",`${On.x}px`),(Pt=Sr.current)==null||Pt.style.setProperty("--swipe-amount-y",`${On.y}px`)}},jb&&!p.jsx?D.createElement("button",{"aria-label":W,"data-disabled":gc,"data-close-button":!0,onClick:gc||!si?()=>{}:()=>{var H;Mn(),(H=p.onDismiss)==null||H.call(p,p)},className:Mt(P==null?void 0:P.closeButton,(i=p==null?void 0:p.classNames)==null?void 0:i.closeButton)},(s=L==null?void 0:L.close)!=null?s:MC):null,p.jsx||b.isValidElement(p.title)?p.jsx?p.jsx:typeof p.title=="function"?p.title():p.title:D.createElement(D.Fragment,null,mt||p.icon||p.promise?D.createElement("div",{"data-icon":"",className:Mt(P==null?void 0:P.icon,(o=p==null?void 0:p.classNames)==null?void 0:o.icon)},p.promise||p.type==="loading"&&!p.icon?p.icon||Cb():null,p.type!=="loading"?p.icon||(L==null?void 0:L[mt])||TC(mt):null):null,D.createElement("div",{"data-content":"",className:Mt(P==null?void 0:P.content,(a=p==null?void 0:p.classNames)==null?void 0:a.content)},D.createElement("div",{"data-title":"",className:Mt(P==null?void 0:P.title,(c=p==null?void 0:p.classNames)==null?void 0:c.title)},typeof p.title=="function"?p.title():p.title),p.description?D.createElement("div",{"data-description":"",className:Mt(G,bb,P==null?void 0:P.description,(u=p==null?void 0:p.classNames)==null?void 0:u.description)},typeof p.description=="function"?p.description():p.description):null),b.isValidElement(p.cancel)?p.cancel:p.cancel&&ya(p.cancel)?D.createElement("button",{"data-button":!0,"data-cancel":!0,style:p.cancelButtonStyle||R,onClick:H=>{var ie,ue;ya(p.cancel)&&si&&((ue=(ie=p.cancel).onClick)==null||ue.call(ie,H),Mn())},className:Mt(P==null?void 0:P.cancelButton,(d=p==null?void 0:p.classNames)==null?void 0:d.cancelButton)},p.cancel.label):null,b.isValidElement(p.action)?p.action:p.action&&ya(p.action)?D.createElement("button",{"data-button":!0,"data-action":!0,style:p.actionButtonStyle||B,onClick:H=>{var ie,ue;ya(p.action)&&((ue=(ie=p.action).onClick)==null||ue.call(ie,H),!H.defaultPrevented&&Mn())},className:Mt(P==null?void 0:P.actionButton,(f=p==null?void 0:p.classNames)==null?void 0:f.actionButton)},p.action.label):null))};function Pm(){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 qC(e,t){let n={};return[e,t].forEach((r,i)=>{let s=i===1,o=s?"--mobile-offset":"--offset",a=s?UC:$C;function c(u){["top","right","bottom","left"].forEach(d=>{n[`${o}-${d}`]=typeof u=="number"?`${u}px`:u})}typeof r=="number"||typeof r=="string"?c(r):typeof r=="object"?["top","right","bottom","left"].forEach(u=>{r[u]===void 0?n[`${o}-${u}`]=a:n[`${o}-${u}`]=typeof r[u]=="number"?`${r[u]}px`:r[u]}):c(a)}),n}var XC=b.forwardRef(function(e,t){let{invert:n,position:r="bottom-right",hotkey:i=["altKey","KeyT"],expand:s,closeButton:o,className:a,offset:c,mobileOffset:u,theme:d="light",richColors:f,duration:h,style:p,visibleToasts:x=FC,toastOptions:y,dir:w=Pm(),gap:m=HC,loadingIcon:g,icons:v,containerAriaLabel:j="Notifications",pauseWhenPageIsHidden:k}=e,[S,T]=D.useState([]),C=D.useMemo(()=>Array.from(new Set([r].concat(S.filter($=>$.position).map($=>$.position)))),[S,r]),[A,R]=D.useState([]),[B,I]=D.useState(!1),[G,O]=D.useState(!1),[Q,U]=D.useState(d!=="system"?d:typeof window<"u"&&window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light"),V=D.useRef(null),E=i.join("+").replace(/Key/g,"").replace(/Digit/g,""),P=D.useRef(null),L=D.useRef(!1),W=D.useCallback($=>{T(q=>{var J;return(J=q.find(we=>we.id===$.id))!=null&&J.delete||et.dismiss($.id),q.filter(({id:we})=>we!==$.id)})},[]);return D.useEffect(()=>et.subscribe($=>{if($.dismiss){T(q=>q.map(J=>J.id===$.id?{...J,delete:!0}:J));return}setTimeout(()=>{Bx.flushSync(()=>{T(q=>{let J=q.findIndex(we=>we.id===$.id);return J!==-1?[...q.slice(0,J),{...q[J],...$},...q.slice(J+1)]:[$,...q]})})})}),[]),D.useEffect(()=>{if(d!=="system"){U(d);return}if(d==="system"&&(window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches?U("dark"):U("light")),typeof window>"u")return;let $=window.matchMedia("(prefers-color-scheme: dark)");try{$.addEventListener("change",({matches:q})=>{U(q?"dark":"light")})}catch{$.addListener(({matches:J})=>{try{U(J?"dark":"light")}catch(we){console.error(we)}})}},[d]),D.useEffect(()=>{S.length<=1&&I(!1)},[S]),D.useEffect(()=>{let $=q=>{var J,we;i.every(Oe=>q[Oe]||q.code===Oe)&&(I(!0),(J=V.current)==null||J.focus()),q.code==="Escape"&&(document.activeElement===V.current||(we=V.current)!=null&&we.contains(document.activeElement))&&I(!1)};return document.addEventListener("keydown",$),()=>document.removeEventListener("keydown",$)},[i]),D.useEffect(()=>{if(V.current)return()=>{P.current&&(P.current.focus({preventScroll:!0}),P.current=null,L.current=!1)}},[V.current]),D.createElement("section",{ref:t,"aria-label":`${j} ${E}`,tabIndex:-1,"aria-live":"polite","aria-relevant":"additions text","aria-atomic":"false",suppressHydrationWarning:!0},C.map(($,q)=>{var J;let[we,Oe]=$.split("-");return S.length?D.createElement("ol",{key:$,dir:w==="auto"?Pm():w,tabIndex:-1,ref:V,className:a,"data-sonner-toaster":!0,"data-theme":Q,"data-y-position":we,"data-lifted":B&&S.length>1&&!s,"data-x-position":Oe,style:{"--front-toast-height":`${((J=A[0])==null?void 0:J.height)||0}px`,"--width":`${WC}px`,"--gap":`${m}px`,...p,...qC(c,u)},onBlur:te=>{L.current&&!te.currentTarget.contains(te.relatedTarget)&&(L.current=!1,P.current&&(P.current.focus({preventScroll:!0}),P.current=null))},onFocus:te=>{te.target instanceof HTMLElement&&te.target.dataset.dismissible==="false"||L.current||(L.current=!0,P.current=te.relatedTarget)},onMouseEnter:()=>I(!0),onMouseMove:()=>I(!0),onMouseLeave:()=>{G||I(!1)},onDragEnd:()=>I(!1),onPointerDown:te=>{te.target instanceof HTMLElement&&te.target.dataset.dismissible==="false"||O(!0)},onPointerUp:()=>O(!1)},S.filter(te=>!te.position&&q===0||te.position===$).map((te,ni)=>{var Pn,kr;return D.createElement(QC,{key:te.id,icons:v,index:ni,toast:te,defaultRichColors:f,duration:(Pn=y==null?void 0:y.duration)!=null?Pn:h,className:y==null?void 0:y.className,descriptionClassName:y==null?void 0:y.descriptionClassName,invert:n,visibleToasts:x,closeButton:(kr=y==null?void 0:y.closeButton)!=null?kr:o,interacting:G,position:$,style:y==null?void 0:y.style,unstyled:y==null?void 0:y.unstyled,classNames:y==null?void 0:y.classNames,cancelButtonStyle:y==null?void 0:y.cancelButtonStyle,actionButtonStyle:y==null?void 0:y.actionButtonStyle,removeToast:W,toasts:S.filter(An=>An.position==te.position),heights:A.filter(An=>An.position==te.position),setHeights:R,expandByDefault:s,gap:m,loadingIcon:g,expanded:B,pauseWhenPageIsHidden:k,swipeDirections:e.swipeDirections})})):null}))});const JC=({...e})=>{const{theme:t="system"}=SC();return l.jsx(XC,{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})},ZC=["top","right","bottom","left"],hr=Math.min,lt=Math.max,vl=Math.round,va=Math.floor,pr=e=>({x:e,y:e}),eE={left:"right",right:"left",bottom:"top",top:"bottom"},tE={start:"end",end:"start"};function kd(e,t,n){return lt(e,hr(t,n))}function Tn(e,t){return typeof e=="function"?e(t):e}function Cn(e){return e.split("-")[0]}function cs(e){return e.split("-")[1]}function ch(e){return e==="x"?"y":"x"}function uh(e){return e==="y"?"height":"width"}function mr(e){return["top","bottom"].includes(Cn(e))?"y":"x"}function dh(e){return ch(mr(e))}function nE(e,t,n){n===void 0&&(n=!1);const r=cs(e),i=dh(e),s=uh(i);let o=i==="x"?r===(n?"end":"start")?"right":"left":r==="start"?"bottom":"top";return t.reference[s]>t.floating[s]&&(o=xl(o)),[o,xl(o)]}function rE(e){const t=xl(e);return[Sd(e),t,Sd(t)]}function Sd(e){return e.replace(/start|end/g,t=>tE[t])}function iE(e,t,n){const r=["left","right"],i=["right","left"],s=["top","bottom"],o=["bottom","top"];switch(e){case"top":case"bottom":return n?t?i:r:t?r:i;case"left":case"right":return t?s:o;default:return[]}}function sE(e,t,n,r){const i=cs(e);let s=iE(Cn(e),n==="start",r);return i&&(s=s.map(o=>o+"-"+i),t&&(s=s.concat(s.map(Sd)))),s}function xl(e){return e.replace(/left|right|bottom|top/g,t=>eE[t])}function oE(e){return{top:0,right:0,bottom:0,left:0,...e}}function B0(e){return typeof e!="number"?oE(e):{top:e,right:e,bottom:e,left:e}}function wl(e){const{x:t,y:n,width:r,height:i}=e;return{width:r,height:i,top:n,left:t,right:t+r,bottom:n+i,x:t,y:n}}function Am(e,t,n){let{reference:r,floating:i}=e;const s=mr(t),o=dh(t),a=uh(o),c=Cn(t),u=s==="y",d=r.x+r.width/2-i.width/2,f=r.y+r.height/2-i.height/2,h=r[a]/2-i[a]/2;let p;switch(c){case"top":p={x:d,y:r.y-i.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-i.width,y:f};break;default:p={x:r.x,y:r.y}}switch(cs(t)){case"start":p[o]-=h*(n&&u?-1:1);break;case"end":p[o]+=h*(n&&u?-1:1);break}return p}const aE=async(e,t,n)=>{const{placement:r="bottom",strategy:i="absolute",middleware:s=[],platform:o}=n,a=s.filter(Boolean),c=await(o.isRTL==null?void 0:o.isRTL(t));let u=await o.getElementRects({reference:e,floating:t,strategy:i}),{x:d,y:f}=Am(u,r,c),h=r,p={},x=0;for(let y=0;y<a.length;y++){const{name:w,fn:m}=a[y],{x:g,y:v,data:j,reset:k}=await m({x:d,y:f,initialPlacement:r,placement:h,strategy:i,middlewareData:p,rects:u,platform:o,elements:{reference:e,floating:t}});d=g??d,f=v??f,p={...p,[w]:{...p[w],...j}},k&&x<=50&&(x++,typeof k=="object"&&(k.placement&&(h=k.placement),k.rects&&(u=k.rects===!0?await o.getElementRects({reference:e,floating:t,strategy:i}):k.rects),{x:d,y:f}=Am(u,h,c)),y=-1)}return{x:d,y:f,placement:h,strategy:i,middlewareData:p}};async function wo(e,t){var n;t===void 0&&(t={});const{x:r,y:i,platform:s,rects:o,elements:a,strategy:c}=e,{boundary:u="clippingAncestors",rootBoundary:d="viewport",elementContext:f="floating",altBoundary:h=!1,padding:p=0}=Tn(t,e),x=B0(p),w=a[h?f==="floating"?"reference":"floating":f],m=wl(await s.getClippingRect({element:(n=await(s.isElement==null?void 0:s.isElement(w)))==null||n?w:w.contextElement||await(s.getDocumentElement==null?void 0:s.getDocumentElement(a.floating)),boundary:u,rootBoundary:d,strategy:c})),g=f==="floating"?{x:r,y:i,width:o.floating.width,height:o.floating.height}:o.reference,v=await(s.getOffsetParent==null?void 0:s.getOffsetParent(a.floating)),j=await(s.isElement==null?void 0:s.isElement(v))?await(s.getScale==null?void 0:s.getScale(v))||{x:1,y:1}:{x:1,y:1},k=wl(s.convertOffsetParentRelativeRectToViewportRelativeRect?await s.convertOffsetParentRelativeRectToViewportRelativeRect({elements:a,rect:g,offsetParent:v,strategy:c}):g);return{top:(m.top-k.top+x.top)/j.y,bottom:(k.bottom-m.bottom+x.bottom)/j.y,left:(m.left-k.left+x.left)/j.x,right:(k.right-m.right+x.right)/j.x}}const lE=e=>({name:"arrow",options:e,async fn(t){const{x:n,y:r,placement:i,rects:s,platform:o,elements:a,middlewareData:c}=t,{element:u,padding:d=0}=Tn(e,t)||{};if(u==null)return{};const f=B0(d),h={x:n,y:r},p=dh(i),x=uh(p),y=await o.getDimensions(u),w=p==="y",m=w?"top":"left",g=w?"bottom":"right",v=w?"clientHeight":"clientWidth",j=s.reference[x]+s.reference[p]-h[p]-s.floating[x],k=h[p]-s.reference[p],S=await(o.getOffsetParent==null?void 0:o.getOffsetParent(u));let T=S?S[v]:0;(!T||!await(o.isElement==null?void 0:o.isElement(S)))&&(T=a.floating[v]||s.floating[x]);const C=j/2-k/2,A=T/2-y[x]/2-1,R=hr(f[m],A),B=hr(f[g],A),I=R,G=T-y[x]-B,O=T/2-y[x]/2+C,Q=kd(I,O,G),U=!c.arrow&&cs(i)!=null&&O!==Q&&s.reference[x]/2-(O<I?R:B)-y[x]/2<0,V=U?O<I?O-I:O-G:0;return{[p]:h[p]+V,data:{[p]:Q,centerOffset:O-Q-V,...U&&{alignmentOffset:V}},reset:U}}}),cE=function(e){return e===void 0&&(e={}),{name:"flip",options:e,async fn(t){var n,r;const{placement:i,middlewareData:s,rects:o,initialPlacement:a,platform:c,elements:u}=t,{mainAxis:d=!0,crossAxis:f=!0,fallbackPlacements:h,fallbackStrategy:p="bestFit",fallbackAxisSideDirection:x="none",flipAlignment:y=!0,...w}=Tn(e,t);if((n=s.arrow)!=null&&n.alignmentOffset)return{};const m=Cn(i),g=mr(a),v=Cn(a)===a,j=await(c.isRTL==null?void 0:c.isRTL(u.floating)),k=h||(v||!y?[xl(a)]:rE(a)),S=x!=="none";!h&&S&&k.push(...sE(a,y,x,j));const T=[a,...k],C=await wo(t,w),A=[];let R=((r=s.flip)==null?void 0:r.overflows)||[];if(d&&A.push(C[m]),f){const O=nE(i,o,j);A.push(C[O[0]],C[O[1]])}if(R=[...R,{placement:i,overflows:A}],!A.every(O=>O<=0)){var B,I;const O=(((B=s.flip)==null?void 0:B.index)||0)+1,Q=T[O];if(Q)return{data:{index:O,overflows:R},reset:{placement:Q}};let U=(I=R.filter(V=>V.overflows[0]<=0).sort((V,E)=>V.overflows[1]-E.overflows[1])[0])==null?void 0:I.placement;if(!U)switch(p){case"bestFit":{var G;const V=(G=R.filter(E=>{if(S){const P=mr(E.placement);return P===g||P==="y"}return!0}).map(E=>[E.placement,E.overflows.filter(P=>P>0).reduce((P,L)=>P+L,0)]).sort((E,P)=>E[1]-P[1])[0])==null?void 0:G[0];V&&(U=V);break}case"initialPlacement":U=a;break}if(i!==U)return{reset:{placement:U}}}return{}}}};function Rm(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function Mm(e){return ZC.some(t=>e[t]>=0)}const uE=function(e){return e===void 0&&(e={}),{name:"hide",options:e,async fn(t){const{rects:n}=t,{strategy:r="referenceHidden",...i}=Tn(e,t);switch(r){case"referenceHidden":{const s=await wo(t,{...i,elementContext:"reference"}),o=Rm(s,n.reference);return{data:{referenceHiddenOffsets:o,referenceHidden:Mm(o)}}}case"escaped":{const s=await wo(t,{...i,altBoundary:!0}),o=Rm(s,n.floating);return{data:{escapedOffsets:o,escaped:Mm(o)}}}default:return{}}}}};async function dE(e,t){const{placement:n,platform:r,elements:i}=e,s=await(r.isRTL==null?void 0:r.isRTL(i.floating)),o=Cn(n),a=cs(n),c=mr(n)==="y",u=["left","top"].includes(o)?-1:1,d=s&&c?-1:1,f=Tn(t,e);let{mainAxis:h,crossAxis:p,alignmentAxis:x}=typeof f=="number"?{mainAxis:f,crossAxis:0,alignmentAxis:null}:{mainAxis:f.mainAxis||0,crossAxis:f.crossAxis||0,alignmentAxis:f.alignmentAxis};return a&&typeof x=="number"&&(p=a==="end"?x*-1:x),c?{x:p*d,y:h*u}:{x:h*u,y:p*d}}const fE=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(t){var n,r;const{x:i,y:s,placement:o,middlewareData:a}=t,c=await dE(t,e);return o===((n=a.offset)==null?void 0:n.placement)&&(r=a.arrow)!=null&&r.alignmentOffset?{}:{x:i+c.x,y:s+c.y,data:{...c,placement:o}}}}},hE=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){const{x:n,y:r,placement:i}=t,{mainAxis:s=!0,crossAxis:o=!1,limiter:a={fn:w=>{let{x:m,y:g}=w;return{x:m,y:g}}},...c}=Tn(e,t),u={x:n,y:r},d=await wo(t,c),f=mr(Cn(i)),h=ch(f);let p=u[h],x=u[f];if(s){const w=h==="y"?"top":"left",m=h==="y"?"bottom":"right",g=p+d[w],v=p-d[m];p=kd(g,p,v)}if(o){const w=f==="y"?"top":"left",m=f==="y"?"bottom":"right",g=x+d[w],v=x-d[m];x=kd(g,x,v)}const y=a.fn({...t,[h]:p,[f]:x});return{...y,data:{x:y.x-n,y:y.y-r,enabled:{[h]:s,[f]:o}}}}}},pE=function(e){return e===void 0&&(e={}),{options:e,fn(t){const{x:n,y:r,placement:i,rects:s,middlewareData:o}=t,{offset:a=0,mainAxis:c=!0,crossAxis:u=!0}=Tn(e,t),d={x:n,y:r},f=mr(i),h=ch(f);let p=d[h],x=d[f];const y=Tn(a,t),w=typeof y=="number"?{mainAxis:y,crossAxis:0}:{mainAxis:0,crossAxis:0,...y};if(c){const v=h==="y"?"height":"width",j=s.reference[h]-s.floating[v]+w.mainAxis,k=s.reference[h]+s.reference[v]-w.mainAxis;p<j?p=j:p>k&&(p=k)}if(u){var m,g;const v=h==="y"?"width":"height",j=["top","left"].includes(Cn(i)),k=s.reference[f]-s.floating[v]+(j&&((m=o.offset)==null?void 0:m[f])||0)+(j?0:w.crossAxis),S=s.reference[f]+s.reference[v]+(j?0:((g=o.offset)==null?void 0:g[f])||0)-(j?w.crossAxis:0);x<k?x=k:x>S&&(x=S)}return{[h]:p,[f]:x}}}},mE=function(e){return e===void 0&&(e={}),{name:"size",options:e,async fn(t){var n,r;const{placement:i,rects:s,platform:o,elements:a}=t,{apply:c=()=>{},...u}=Tn(e,t),d=await wo(t,u),f=Cn(i),h=cs(i),p=mr(i)==="y",{width:x,height:y}=s.floating;let w,m;f==="top"||f==="bottom"?(w=f,m=h===(await(o.isRTL==null?void 0:o.isRTL(a.floating))?"start":"end")?"left":"right"):(m=f,w=h==="end"?"top":"bottom");const g=y-d.top-d.bottom,v=x-d.left-d.right,j=hr(y-d[w],g),k=hr(x-d[m],v),S=!t.middlewareData.shift;let T=j,C=k;if((n=t.middlewareData.shift)!=null&&n.enabled.x&&(C=v),(r=t.middlewareData.shift)!=null&&r.enabled.y&&(T=g),S&&!h){const R=lt(d.left,0),B=lt(d.right,0),I=lt(d.top,0),G=lt(d.bottom,0);p?C=x-2*(R!==0||B!==0?R+B:lt(d.left,d.right)):T=y-2*(I!==0||G!==0?I+G:lt(d.top,d.bottom))}await c({...t,availableWidth:C,availableHeight:T});const A=await o.getDimensions(a.floating);return x!==A.width||y!==A.height?{reset:{rects:!0}}:{}}}};function Jl(){return typeof window<"u"}function us(e){return F0(e)?(e.nodeName||"").toLowerCase():"#document"}function dt(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function un(e){var t;return(t=(F0(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function F0(e){return Jl()?e instanceof Node||e instanceof dt(e).Node:!1}function Yt(e){return Jl()?e instanceof Element||e instanceof dt(e).Element:!1}function ln(e){return Jl()?e instanceof HTMLElement||e instanceof dt(e).HTMLElement:!1}function Dm(e){return!Jl()||typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof dt(e).ShadowRoot}function Fo(e){const{overflow:t,overflowX:n,overflowY:r,display:i}=Qt(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&!["inline","contents"].includes(i)}function gE(e){return["table","td","th"].includes(us(e))}function Zl(e){return[":popover-open",":modal"].some(t=>{try{return e.matches(t)}catch{return!1}})}function fh(e){const t=hh(),n=Yt(e)?Qt(e):e;return n.transform!=="none"||n.perspective!=="none"||(n.containerType?n.containerType!=="normal":!1)||!t&&(n.backdropFilter?n.backdropFilter!=="none":!1)||!t&&(n.filter?n.filter!=="none":!1)||["transform","perspective","filter"].some(r=>(n.willChange||"").includes(r))||["paint","layout","strict","content"].some(r=>(n.contain||"").includes(r))}function yE(e){let t=gr(e);for(;ln(t)&&!ts(t);){if(fh(t))return t;if(Zl(t))return null;t=gr(t)}return null}function hh(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function ts(e){return["html","body","#document"].includes(us(e))}function Qt(e){return dt(e).getComputedStyle(e)}function ec(e){return Yt(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function gr(e){if(us(e)==="html")return e;const t=e.assignedSlot||e.parentNode||Dm(e)&&e.host||un(e);return Dm(t)?t.host:t}function $0(e){const t=gr(e);return ts(t)?e.ownerDocument?e.ownerDocument.body:e.body:ln(t)&&Fo(t)?t:$0(t)}function bo(e,t,n){var r;t===void 0&&(t=[]),n===void 0&&(n=!0);const i=$0(e),s=i===((r=e.ownerDocument)==null?void 0:r.body),o=dt(i);if(s){const a=Td(o);return t.concat(o,o.visualViewport||[],Fo(i)?i:[],a&&n?bo(a):[])}return t.concat(i,bo(i,[],n))}function Td(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function U0(e){const t=Qt(e);let n=parseFloat(t.width)||0,r=parseFloat(t.height)||0;const i=ln(e),s=i?e.offsetWidth:n,o=i?e.offsetHeight:r,a=vl(n)!==s||vl(r)!==o;return a&&(n=s,r=o),{width:n,height:r,$:a}}function ph(e){return Yt(e)?e:e.contextElement}function _i(e){const t=ph(e);if(!ln(t))return pr(1);const n=t.getBoundingClientRect(),{width:r,height:i,$:s}=U0(t);let o=(s?vl(n.width):n.width)/r,a=(s?vl(n.height):n.height)/i;return(!o||!Number.isFinite(o))&&(o=1),(!a||!Number.isFinite(a))&&(a=1),{x:o,y:a}}const vE=pr(0);function W0(e){const t=dt(e);return!hh()||!t.visualViewport?vE:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function xE(e,t,n){return t===void 0&&(t=!1),!n||t&&n!==dt(e)?!1:t}function qr(e,t,n,r){t===void 0&&(t=!1),n===void 0&&(n=!1);const i=e.getBoundingClientRect(),s=ph(e);let o=pr(1);t&&(r?Yt(r)&&(o=_i(r)):o=_i(e));const a=xE(s,n,r)?W0(s):pr(0);let c=(i.left+a.x)/o.x,u=(i.top+a.y)/o.y,d=i.width/o.x,f=i.height/o.y;if(s){const h=dt(s),p=r&&Yt(r)?dt(r):r;let x=h,y=Td(x);for(;y&&r&&p!==x;){const w=_i(y),m=y.getBoundingClientRect(),g=Qt(y),v=m.left+(y.clientLeft+parseFloat(g.paddingLeft))*w.x,j=m.top+(y.clientTop+parseFloat(g.paddingTop))*w.y;c*=w.x,u*=w.y,d*=w.x,f*=w.y,c+=v,u+=j,x=dt(y),y=Td(x)}}return wl({width:d,height:f,x:c,y:u})}function wE(e){let{elements:t,rect:n,offsetParent:r,strategy:i}=e;const s=i==="fixed",o=un(r),a=t?Zl(t.floating):!1;if(r===o||a&&s)return n;let c={scrollLeft:0,scrollTop:0},u=pr(1);const d=pr(0),f=ln(r);if((f||!f&&!s)&&((us(r)!=="body"||Fo(o))&&(c=ec(r)),ln(r))){const h=qr(r);u=_i(r),d.x=h.x+r.clientLeft,d.y=h.y+r.clientTop}return{width:n.width*u.x,height:n.height*u.y,x:n.x*u.x-c.scrollLeft*u.x+d.x,y:n.y*u.y-c.scrollTop*u.y+d.y}}function bE(e){return Array.from(e.getClientRects())}function Cd(e,t){const n=ec(e).scrollLeft;return t?t.left+n:qr(un(e)).left+n}function jE(e){const t=un(e),n=ec(e),r=e.ownerDocument.body,i=lt(t.scrollWidth,t.clientWidth,r.scrollWidth,r.clientWidth),s=lt(t.scrollHeight,t.clientHeight,r.scrollHeight,r.clientHeight);let o=-n.scrollLeft+Cd(e);const a=-n.scrollTop;return Qt(r).direction==="rtl"&&(o+=lt(t.clientWidth,r.clientWidth)-i),{width:i,height:s,x:o,y:a}}function kE(e,t){const n=dt(e),r=un(e),i=n.visualViewport;let s=r.clientWidth,o=r.clientHeight,a=0,c=0;if(i){s=i.width,o=i.height;const u=hh();(!u||u&&t==="fixed")&&(a=i.offsetLeft,c=i.offsetTop)}return{width:s,height:o,x:a,y:c}}function SE(e,t){const n=qr(e,!0,t==="fixed"),r=n.top+e.clientTop,i=n.left+e.clientLeft,s=ln(e)?_i(e):pr(1),o=e.clientWidth*s.x,a=e.clientHeight*s.y,c=i*s.x,u=r*s.y;return{width:o,height:a,x:c,y:u}}function Om(e,t,n){let r;if(t==="viewport")r=kE(e,n);else if(t==="document")r=jE(un(e));else if(Yt(t))r=SE(t,n);else{const i=W0(e);r={...t,x:t.x-i.x,y:t.y-i.y}}return wl(r)}function H0(e,t){const n=gr(e);return n===t||!Yt(n)||ts(n)?!1:Qt(n).position==="fixed"||H0(n,t)}function TE(e,t){const n=t.get(e);if(n)return n;let r=bo(e,[],!1).filter(a=>Yt(a)&&us(a)!=="body"),i=null;const s=Qt(e).position==="fixed";let o=s?gr(e):e;for(;Yt(o)&&!ts(o);){const a=Qt(o),c=fh(o);!c&&a.position==="fixed"&&(i=null),(s?!c&&!i:!c&&a.position==="static"&&!!i&&["absolute","fixed"].includes(i.position)||Fo(o)&&!c&&H0(e,o))?r=r.filter(d=>d!==o):i=a,o=gr(o)}return t.set(e,r),r}function CE(e){let{element:t,boundary:n,rootBoundary:r,strategy:i}=e;const o=[...n==="clippingAncestors"?Zl(t)?[]:TE(t,this._c):[].concat(n),r],a=o[0],c=o.reduce((u,d)=>{const f=Om(t,d,i);return u.top=lt(f.top,u.top),u.right=hr(f.right,u.right),u.bottom=hr(f.bottom,u.bottom),u.left=lt(f.left,u.left),u},Om(t,a,i));return{width:c.right-c.left,height:c.bottom-c.top,x:c.left,y:c.top}}function EE(e){const{width:t,height:n}=U0(e);return{width:t,height:n}}function NE(e,t,n){const r=ln(t),i=un(t),s=n==="fixed",o=qr(e,!0,s,t);let a={scrollLeft:0,scrollTop:0};const c=pr(0);if(r||!r&&!s)if((us(t)!=="body"||Fo(i))&&(a=ec(t)),r){const p=qr(t,!0,s,t);c.x=p.x+t.clientLeft,c.y=p.y+t.clientTop}else i&&(c.x=Cd(i));let u=0,d=0;if(i&&!r&&!s){const p=i.getBoundingClientRect();d=p.top+a.scrollTop,u=p.left+a.scrollLeft-Cd(i,p)}const f=o.left+a.scrollLeft-c.x-u,h=o.top+a.scrollTop-c.y-d;return{x:f,y:h,width:o.width,height:o.height}}function Xc(e){return Qt(e).position==="static"}function Lm(e,t){if(!ln(e)||Qt(e).position==="fixed")return null;if(t)return t(e);let n=e.offsetParent;return un(e)===n&&(n=n.ownerDocument.body),n}function K0(e,t){const n=dt(e);if(Zl(e))return n;if(!ln(e)){let i=gr(e);for(;i&&!ts(i);){if(Yt(i)&&!Xc(i))return i;i=gr(i)}return n}let r=Lm(e,t);for(;r&&gE(r)&&Xc(r);)r=Lm(r,t);return r&&ts(r)&&Xc(r)&&!fh(r)?n:r||yE(e)||n}const PE=async function(e){const t=this.getOffsetParent||K0,n=this.getDimensions,r=await n(e.floating);return{reference:NE(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:r.width,height:r.height}}};function AE(e){return Qt(e).direction==="rtl"}const RE={convertOffsetParentRelativeRectToViewportRelativeRect:wE,getDocumentElement:un,getClippingRect:CE,getOffsetParent:K0,getElementRects:PE,getClientRects:bE,getDimensions:EE,getScale:_i,isElement:Yt,isRTL:AE};function ME(e,t){let n=null,r;const i=un(e);function s(){var a;clearTimeout(r),(a=n)==null||a.disconnect(),n=null}function o(a,c){a===void 0&&(a=!1),c===void 0&&(c=1),s();const{left:u,top:d,width:f,height:h}=e.getBoundingClientRect();if(a||t(),!f||!h)return;const p=va(d),x=va(i.clientWidth-(u+f)),y=va(i.clientHeight-(d+h)),w=va(u),g={rootMargin:-p+"px "+-x+"px "+-y+"px "+-w+"px",threshold:lt(0,hr(1,c))||1};let v=!0;function j(k){const S=k[0].intersectionRatio;if(S!==c){if(!v)return o();S?o(!1,S):r=setTimeout(()=>{o(!1,1e-7)},1e3)}v=!1}try{n=new IntersectionObserver(j,{...g,root:i.ownerDocument})}catch{n=new IntersectionObserver(j,g)}n.observe(e)}return o(!0),s}function DE(e,t,n,r){r===void 0&&(r={});const{ancestorScroll:i=!0,ancestorResize:s=!0,elementResize:o=typeof ResizeObserver=="function",layoutShift:a=typeof IntersectionObserver=="function",animationFrame:c=!1}=r,u=ph(e),d=i||s?[...u?bo(u):[],...bo(t)]:[];d.forEach(m=>{i&&m.addEventListener("scroll",n,{passive:!0}),s&&m.addEventListener("resize",n)});const f=u&&a?ME(u,n):null;let h=-1,p=null;o&&(p=new ResizeObserver(m=>{let[g]=m;g&&g.target===u&&p&&(p.unobserve(t),cancelAnimationFrame(h),h=requestAnimationFrame(()=>{var v;(v=p)==null||v.observe(t)})),n()}),u&&!c&&p.observe(u),p.observe(t));let x,y=c?qr(e):null;c&&w();function w(){const m=qr(e);y&&(m.x!==y.x||m.y!==y.y||m.width!==y.width||m.height!==y.height)&&n(),y=m,x=requestAnimationFrame(w)}return n(),()=>{var m;d.forEach(g=>{i&&g.removeEventListener("scroll",n),s&&g.removeEventListener("resize",n)}),f==null||f(),(m=p)==null||m.disconnect(),p=null,c&&cancelAnimationFrame(x)}}const OE=fE,LE=hE,IE=cE,zE=mE,_E=uE,Im=lE,VE=pE,BE=(e,t,n)=>{const r=new Map,i={platform:RE,...n},s={...i.platform,_c:r};return aE(e,t,{...i,platform:s})};var Fa=typeof document<"u"?b.useLayoutEffect:b.useEffect;function bl(e,t){if(e===t)return!0;if(typeof e!=typeof t)return!1;if(typeof e=="function"&&e.toString()===t.toString())return!0;let n,r,i;if(e&&t&&typeof e=="object"){if(Array.isArray(e)){if(n=e.length,n!==t.length)return!1;for(r=n;r--!==0;)if(!bl(e[r],t[r]))return!1;return!0}if(i=Object.keys(e),n=i.length,n!==Object.keys(t).length)return!1;for(r=n;r--!==0;)if(!{}.hasOwnProperty.call(t,i[r]))return!1;for(r=n;r--!==0;){const s=i[r];if(!(s==="_owner"&&e.$$typeof)&&!bl(e[s],t[s]))return!1}return!0}return e!==e&&t!==t}function G0(e){return typeof window>"u"?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function zm(e,t){const n=G0(e);return Math.round(t*n)/n}function Jc(e){const t=b.useRef(e);return Fa(()=>{t.current=e}),t}function FE(e){e===void 0&&(e={});const{placement:t="bottom",strategy:n="absolute",middleware:r=[],platform:i,elements:{reference:s,floating:o}={},transform:a=!0,whileElementsMounted:c,open:u}=e,[d,f]=b.useState({x:0,y:0,strategy:n,placement:t,middlewareData:{},isPositioned:!1}),[h,p]=b.useState(r);bl(h,r)||p(r);const[x,y]=b.useState(null),[w,m]=b.useState(null),g=b.useCallback(E=>{E!==S.current&&(S.current=E,y(E))},[]),v=b.useCallback(E=>{E!==T.current&&(T.current=E,m(E))},[]),j=s||x,k=o||w,S=b.useRef(null),T=b.useRef(null),C=b.useRef(d),A=c!=null,R=Jc(c),B=Jc(i),I=Jc(u),G=b.useCallback(()=>{if(!S.current||!T.current)return;const E={placement:t,strategy:n,middleware:h};B.current&&(E.platform=B.current),BE(S.current,T.current,E).then(P=>{const L={...P,isPositioned:I.current!==!1};O.current&&!bl(C.current,L)&&(C.current=L,Vo.flushSync(()=>{f(L)}))})},[h,t,n,B,I]);Fa(()=>{u===!1&&C.current.isPositioned&&(C.current.isPositioned=!1,f(E=>({...E,isPositioned:!1})))},[u]);const O=b.useRef(!1);Fa(()=>(O.current=!0,()=>{O.current=!1}),[]),Fa(()=>{if(j&&(S.current=j),k&&(T.current=k),j&&k){if(R.current)return R.current(j,k,G);G()}},[j,k,G,R,A]);const Q=b.useMemo(()=>({reference:S,floating:T,setReference:g,setFloating:v}),[g,v]),U=b.useMemo(()=>({reference:j,floating:k}),[j,k]),V=b.useMemo(()=>{const E={position:n,left:0,top:0};if(!U.floating)return E;const P=zm(U.floating,d.x),L=zm(U.floating,d.y);return a?{...E,transform:"translate("+P+"px, "+L+"px)",...G0(U.floating)>=1.5&&{willChange:"transform"}}:{position:n,left:P,top:L}},[n,a,U.floating,d.x,d.y]);return b.useMemo(()=>({...d,update:G,refs:Q,elements:U,floatingStyles:V}),[d,G,Q,U,V])}const $E=e=>{function t(n){return{}.hasOwnProperty.call(n,"current")}return{name:"arrow",options:e,fn(n){const{element:r,padding:i}=typeof e=="function"?e(n):e;return r&&t(r)?r.current!=null?Im({element:r.current,padding:i}).fn(n):{}:r?Im({element:r,padding:i}).fn(n):{}}}},UE=(e,t)=>({...OE(e),options:[e,t]}),WE=(e,t)=>({...LE(e),options:[e,t]}),HE=(e,t)=>({...VE(e),options:[e,t]}),KE=(e,t)=>({...IE(e),options:[e,t]}),GE=(e,t)=>({...zE(e),options:[e,t]}),YE=(e,t)=>({..._E(e),options:[e,t]}),QE=(e,t)=>({...$E(e),options:[e,t]});var qE="Arrow",Y0=b.forwardRef((e,t)=>{const{children:n,width:r=10,height:i=5,...s}=e;return l.jsx(ot.svg,{...s,ref:t,width:r,height:i,viewBox:"0 0 30 10",preserveAspectRatio:"none",children:e.asChild?n:l.jsx("polygon",{points:"0,0 30,0 15,10"})})});Y0.displayName=qE;var XE=Y0;function JE(e){const[t,n]=b.useState(void 0);return fr(()=>{if(e){n({width:e.offsetWidth,height:e.offsetHeight});const r=new ResizeObserver(i=>{if(!Array.isArray(i)||!i.length)return;const s=i[0];let o,a;if("borderBoxSize"in s){const c=s.borderBoxSize,u=Array.isArray(c)?c[0]:c;o=u.inlineSize,a=u.blockSize}else o=e.offsetWidth,a=e.offsetHeight;n({width:o,height:a})});return r.observe(e,{box:"border-box"}),()=>r.unobserve(e)}else n(void 0)},[e]),t}var Q0="Popper",[q0,X0]=Ql(Q0),[kO,J0]=q0(Q0),Z0="PopperAnchor",ew=b.forwardRef((e,t)=>{const{__scopePopper:n,virtualRef:r,...i}=e,s=J0(Z0,n),o=b.useRef(null),a=Gt(t,o);return b.useEffect(()=>{s.onAnchorChange((r==null?void 0:r.current)||o.current)}),r?null:l.jsx(ot.div,{...i,ref:a})});ew.displayName=Z0;var mh="PopperContent",[ZE,eN]=q0(mh),tw=b.forwardRef((e,t)=>{var te,ni,Pn,kr,An,ri;const{__scopePopper:n,side:r="bottom",sideOffset:i=0,align:s="center",alignOffset:o=0,arrowPadding:a=0,avoidCollisions:c=!0,collisionBoundary:u=[],collisionPadding:d=0,sticky:f="partial",hideWhenDetached:h=!1,updatePositionStrategy:p="optimized",onPlaced:x,...y}=e,w=J0(mh,n),[m,g]=b.useState(null),v=Gt(t,Rn=>g(Rn)),[j,k]=b.useState(null),S=JE(j),T=(S==null?void 0:S.width)??0,C=(S==null?void 0:S.height)??0,A=r+(s!=="center"?"-"+s:""),R=typeof d=="number"?d:{top:0,right:0,bottom:0,left:0,...d},B=Array.isArray(u)?u:[u],I=B.length>0,G={padding:R,boundary:B.filter(nN),altBoundary:I},{refs:O,floatingStyles:Q,placement:U,isPositioned:V,middlewareData:E}=FE({strategy:"fixed",placement:A,whileElementsMounted:(...Rn)=>DE(...Rn,{animationFrame:p==="always"}),elements:{reference:w.anchor},middleware:[UE({mainAxis:i+C,alignmentAxis:o}),c&&WE({mainAxis:!0,crossAxis:!1,limiter:f==="partial"?HE():void 0,...G}),c&&KE({...G}),GE({...G,apply:({elements:Rn,rects:Go,availableWidth:hc,availableHeight:Yo})=>{const{width:pc,height:ms}=Go.reference,ii=Rn.floating.style;ii.setProperty("--radix-popper-available-width",`${hc}px`),ii.setProperty("--radix-popper-available-height",`${Yo}px`),ii.setProperty("--radix-popper-anchor-width",`${pc}px`),ii.setProperty("--radix-popper-anchor-height",`${ms}px`)}}),j&&QE({element:j,padding:a}),rN({arrowWidth:T,arrowHeight:C}),h&&YE({strategy:"referenceHidden",...G})]}),[P,L]=iw(U),W=dr(x);fr(()=>{V&&(W==null||W())},[V,W]);const $=(te=E.arrow)==null?void 0:te.x,q=(ni=E.arrow)==null?void 0:ni.y,J=((Pn=E.arrow)==null?void 0:Pn.centerOffset)!==0,[we,Oe]=b.useState();return fr(()=>{m&&Oe(window.getComputedStyle(m).zIndex)},[m]),l.jsx("div",{ref:O.setFloating,"data-radix-popper-content-wrapper":"",style:{...Q,transform:V?Q.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:we,"--radix-popper-transform-origin":[(kr=E.transformOrigin)==null?void 0:kr.x,(An=E.transformOrigin)==null?void 0:An.y].join(" "),...((ri=E.hide)==null?void 0:ri.referenceHidden)&&{visibility:"hidden",pointerEvents:"none"}},dir:e.dir,children:l.jsx(ZE,{scope:n,placedSide:P,onArrowChange:k,arrowX:$,arrowY:q,shouldHideArrow:J,children:l.jsx(ot.div,{"data-side":P,"data-align":L,...y,ref:v,style:{...y.style,animation:V?void 0:"none"}})})})});tw.displayName=mh;var nw="PopperArrow",tN={top:"bottom",right:"left",bottom:"top",left:"right"},rw=b.forwardRef(function(t,n){const{__scopePopper:r,...i}=t,s=eN(nw,r),o=tN[s.placedSide];return l.jsx("span",{ref:s.onArrowChange,style:{position:"absolute",left:s.arrowX,top:s.arrowY,[o]:0,transformOrigin:{top:"",right:"0 0",bottom:"center 0",left:"100% 0"}[s.placedSide],transform:{top:"translateY(100%)",right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:"rotate(180deg)",left:"translateY(50%) rotate(-90deg) translateX(50%)"}[s.placedSide],visibility:s.shouldHideArrow?"hidden":void 0},children:l.jsx(XE,{...i,ref:n,style:{...i.style,display:"block"}})})});rw.displayName=nw;function nN(e){return e!==null}var rN=e=>({name:"transformOrigin",options:e,fn(t){var w,m,g;const{placement:n,rects:r,middlewareData:i}=t,o=((w=i.arrow)==null?void 0:w.centerOffset)!==0,a=o?0:e.arrowWidth,c=o?0:e.arrowHeight,[u,d]=iw(n),f={start:"0%",center:"50%",end:"100%"}[d],h=(((m=i.arrow)==null?void 0:m.x)??0)+a/2,p=(((g=i.arrow)==null?void 0:g.y)??0)+c/2;let x="",y="";return u==="bottom"?(x=o?f:`${h}px`,y=`${-c}px`):u==="top"?(x=o?f:`${h}px`,y=`${r.floating.height+c}px`):u==="right"?(x=`${-c}px`,y=o?f:`${p}px`):u==="left"&&(x=`${r.floating.width+c}px`,y=o?f:`${p}px`),{data:{x,y}}}});function iw(e){const[t,n="center"]=e.split("-");return[t,n]}var iN=ew,sN=tw,oN=rw,[tc,SO]=Ql("Tooltip",[X0]),gh=X0(),sw="TooltipProvider",aN=700,_m="tooltip.open",[lN,ow]=tc(sw),aw=e=>{const{__scopeTooltip:t,delayDuration:n=aN,skipDelayDuration:r=300,disableHoverableContent:i=!1,children:s}=e,o=b.useRef(!0),a=b.useRef(!1),c=b.useRef(0);return b.useEffect(()=>{const u=c.current;return()=>window.clearTimeout(u)},[]),l.jsx(lN,{scope:t,isOpenDelayedRef:o,delayDuration:n,onOpen:b.useCallback(()=>{window.clearTimeout(c.current),o.current=!1},[]),onClose:b.useCallback(()=>{window.clearTimeout(c.current),c.current=window.setTimeout(()=>o.current=!0,r)},[r]),isPointerInTransitRef:a,onPointerInTransitChange:b.useCallback(u=>{a.current=u},[]),disableHoverableContent:i,children:s})};aw.displayName=sw;var lw="Tooltip",[TO,nc]=tc(lw),Ed="TooltipTrigger",cN=b.forwardRef((e,t)=>{const{__scopeTooltip:n,...r}=e,i=nc(Ed,n),s=ow(Ed,n),o=gh(n),a=b.useRef(null),c=Gt(t,a,i.onTriggerChange),u=b.useRef(!1),d=b.useRef(!1),f=b.useCallback(()=>u.current=!1,[]);return b.useEffect(()=>()=>document.removeEventListener("pointerup",f),[f]),l.jsx(iN,{asChild:!0,...o,children:l.jsx(ot.button,{"aria-describedby":i.open?i.contentId:void 0,"data-state":i.stateAttribute,...r,ref:c,onPointerMove:Ce(e.onPointerMove,h=>{h.pointerType!=="touch"&&!d.current&&!s.isPointerInTransitRef.current&&(i.onTriggerEnter(),d.current=!0)}),onPointerLeave:Ce(e.onPointerLeave,()=>{i.onTriggerLeave(),d.current=!1}),onPointerDown:Ce(e.onPointerDown,()=>{i.open&&i.onClose(),u.current=!0,document.addEventListener("pointerup",f,{once:!0})}),onFocus:Ce(e.onFocus,()=>{u.current||i.onOpen()}),onBlur:Ce(e.onBlur,i.onClose),onClick:Ce(e.onClick,i.onClose)})})});cN.displayName=Ed;var uN="TooltipPortal",[CO,dN]=tc(uN,{forceMount:void 0}),ns="TooltipContent",cw=b.forwardRef((e,t)=>{const n=dN(ns,e.__scopeTooltip),{forceMount:r=n.forceMount,side:i="top",...s}=e,o=nc(ns,e.__scopeTooltip);return l.jsx(th,{present:r||o.open,children:o.disableHoverableContent?l.jsx(uw,{side:i,...s,ref:t}):l.jsx(fN,{side:i,...s,ref:t})})}),fN=b.forwardRef((e,t)=>{const n=nc(ns,e.__scopeTooltip),r=ow(ns,e.__scopeTooltip),i=b.useRef(null),s=Gt(t,i),[o,a]=b.useState(null),{trigger:c,onClose:u}=n,d=i.current,{onPointerInTransitChange:f}=r,h=b.useCallback(()=>{a(null),f(!1)},[f]),p=b.useCallback((x,y)=>{const w=x.currentTarget,m={x:x.clientX,y:x.clientY},g=yN(m,w.getBoundingClientRect()),v=vN(m,g),j=xN(y.getBoundingClientRect()),k=bN([...v,...j]);a(k),f(!0)},[f]);return b.useEffect(()=>()=>h(),[h]),b.useEffect(()=>{if(c&&d){const x=w=>p(w,d),y=w=>p(w,c);return c.addEventListener("pointerleave",x),d.addEventListener("pointerleave",y),()=>{c.removeEventListener("pointerleave",x),d.removeEventListener("pointerleave",y)}}},[c,d,p,h]),b.useEffect(()=>{if(o){const x=y=>{const w=y.target,m={x:y.clientX,y:y.clientY},g=(c==null?void 0:c.contains(w))||(d==null?void 0:d.contains(w)),v=!wN(m,o);g?h():v&&(h(),u())};return document.addEventListener("pointermove",x),()=>document.removeEventListener("pointermove",x)}},[c,d,o,u,h]),l.jsx(uw,{...e,ref:s})}),[hN,pN]=tc(lw,{isInside:!1}),mN=_S("TooltipContent"),uw=b.forwardRef((e,t)=>{const{__scopeTooltip:n,children:r,"aria-label":i,onEscapeKeyDown:s,onPointerDownOutside:o,...a}=e,c=nc(ns,n),u=gh(n),{onClose:d}=c;return b.useEffect(()=>(document.addEventListener(_m,d),()=>document.removeEventListener(_m,d)),[d]),b.useEffect(()=>{if(c.trigger){const f=h=>{const p=h.target;p!=null&&p.contains(c.trigger)&&d()};return window.addEventListener("scroll",f,{capture:!0}),()=>window.removeEventListener("scroll",f,{capture:!0})}},[c.trigger,d]),l.jsx(eh,{asChild:!0,disableOutsidePointerEvents:!1,onEscapeKeyDown:s,onPointerDownOutside:o,onFocusOutside:f=>f.preventDefault(),onDismiss:d,children:l.jsxs(sN,{"data-state":c.stateAttribute,...u,...a,ref:t,style:{...a.style,"--radix-tooltip-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-tooltip-content-available-width":"var(--radix-popper-available-width)","--radix-tooltip-content-available-height":"var(--radix-popper-available-height)","--radix-tooltip-trigger-width":"var(--radix-popper-anchor-width)","--radix-tooltip-trigger-height":"var(--radix-popper-anchor-height)"},children:[l.jsx(mN,{children:r}),l.jsx(hN,{scope:n,isInside:!0,children:l.jsx(cT,{id:c.contentId,role:"tooltip",children:i||r})})]})})});cw.displayName=ns;var dw="TooltipArrow",gN=b.forwardRef((e,t)=>{const{__scopeTooltip:n,...r}=e,i=gh(n);return pN(dw,n).isInside?null:l.jsx(oN,{...i,...r,ref:t})});gN.displayName=dw;function yN(e,t){const n=Math.abs(t.top-e.y),r=Math.abs(t.bottom-e.y),i=Math.abs(t.right-e.x),s=Math.abs(t.left-e.x);switch(Math.min(n,r,i,s)){case s:return"left";case i:return"right";case n:return"top";case r:return"bottom";default:throw new Error("unreachable")}}function vN(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 xN(e){const{top:t,right:n,bottom:r,left:i}=e;return[{x:i,y:t},{x:n,y:t},{x:n,y:r},{x:i,y:r}]}function wN(e,t){const{x:n,y:r}=e;let i=!1;for(let s=0,o=t.length-1;s<t.length;o=s++){const a=t[s],c=t[o],u=a.x,d=a.y,f=c.x,h=c.y;d>r!=h>r&&n<(f-u)*(r-d)/(h-d)+u&&(i=!i)}return i}function bN(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),jN(t)}function jN(e){if(e.length<=1)return e.slice();const t=[];for(let r=0;r<e.length;r++){const i=e[r];for(;t.length>=2;){const s=t[t.length-1],o=t[t.length-2];if((s.x-o.x)*(i.y-o.y)>=(s.y-o.y)*(i.x-o.x))t.pop();else break}t.push(i)}t.pop();const n=[];for(let r=e.length-1;r>=0;r--){const i=e[r];for(;n.length>=2;){const s=n[n.length-1],o=n[n.length-2];if((s.x-o.x)*(i.y-o.y)>=(s.y-o.y)*(i.x-o.x))n.pop();else break}n.push(i)}return n.pop(),t.length===1&&n.length===1&&t[0].x===n[0].x&&t[0].y===n[0].y?t:t.concat(n)}var kN=aw,fw=cw;const SN=kN,TN=b.forwardRef(({className:e,sideOffset:t=4,...n},r)=>l.jsx(fw,{ref:r,sideOffset:t,className:Zr("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}));TN.displayName=fw.displayName;var rc=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(){}},ic=typeof window>"u"||"Deno"in globalThis;function zt(){}function CN(e,t){return typeof e=="function"?e(t):e}function EN(e){return typeof e=="number"&&e>=0&&e!==1/0}function NN(e,t){return Math.max(e+(t||0)-Date.now(),0)}function Nd(e,t){return typeof e=="function"?e(t):e}function PN(e,t){return typeof e=="function"?e(t):e}function Vm(e,t){const{type:n="all",exact:r,fetchStatus:i,predicate:s,queryKey:o,stale:a}=e;if(o){if(r){if(t.queryHash!==yh(o,t.options))return!1}else if(!ko(t.queryKey,o))return!1}if(n!=="all"){const c=t.isActive();if(n==="active"&&!c||n==="inactive"&&c)return!1}return!(typeof a=="boolean"&&t.isStale()!==a||i&&i!==t.state.fetchStatus||s&&!s(t))}function Bm(e,t){const{exact:n,status:r,predicate:i,mutationKey:s}=e;if(s){if(!t.options.mutationKey)return!1;if(n){if(jo(t.options.mutationKey)!==jo(s))return!1}else if(!ko(t.options.mutationKey,s))return!1}return!(r&&t.state.status!==r||i&&!i(t))}function yh(e,t){return((t==null?void 0:t.queryKeyHashFn)||jo)(e)}function jo(e){return JSON.stringify(e,(t,n)=>Pd(n)?Object.keys(n).sort().reduce((r,i)=>(r[i]=n[i],r),{}):n)}function ko(e,t){return e===t?!0:typeof e!=typeof t?!1:e&&t&&typeof e=="object"&&typeof t=="object"?Object.keys(t).every(n=>ko(e[n],t[n])):!1}function hw(e,t){if(e===t)return e;const n=Fm(e)&&Fm(t);if(n||Pd(e)&&Pd(t)){const r=n?e:Object.keys(e),i=r.length,s=n?t:Object.keys(t),o=s.length,a=n?[]:{},c=new Set(r);let u=0;for(let d=0;d<o;d++){const f=n?d:s[d];(!n&&c.has(f)||n)&&e[f]===void 0&&t[f]===void 0?(a[f]=void 0,u++):(a[f]=hw(e[f],t[f]),a[f]===e[f]&&e[f]!==void 0&&u++)}return i===o&&u===i?e:a}return t}function Fm(e){return Array.isArray(e)&&e.length===Object.keys(e).length}function Pd(e){if(!$m(e))return!1;const t=e.constructor;if(t===void 0)return!0;const n=t.prototype;return!(!$m(n)||!n.hasOwnProperty("isPrototypeOf")||Object.getPrototypeOf(e)!==Object.prototype)}function $m(e){return Object.prototype.toString.call(e)==="[object Object]"}function AN(e){return new Promise(t=>{setTimeout(t,e)})}function RN(e,t,n){return typeof n.structuralSharing=="function"?n.structuralSharing(e,t):n.structuralSharing!==!1?hw(e,t):t}function MN(e,t,n=0){const r=[...e,t];return n&&r.length>n?r.slice(1):r}function DN(e,t,n=0){const r=[t,...e];return n&&r.length>n?r.slice(0,-1):r}var vh=Symbol();function pw(e,t){return!e.queryFn&&(t!=null&&t.initialPromise)?()=>t.initialPromise:!e.queryFn||e.queryFn===vh?()=>Promise.reject(new Error(`Missing queryFn: '${e.queryHash}'`)):e.queryFn}var Ir,Hn,Bi,xy,ON=(xy=class extends rc{constructor(){super();ee(this,Ir);ee(this,Hn);ee(this,Bi);K(this,Bi,t=>{if(!ic&&window.addEventListener){const n=()=>t();return window.addEventListener("visibilitychange",n,!1),()=>{window.removeEventListener("visibilitychange",n)}}})}onSubscribe(){N(this,Hn)||this.setEventListener(N(this,Bi))}onUnsubscribe(){var t;this.hasListeners()||((t=N(this,Hn))==null||t.call(this),K(this,Hn,void 0))}setEventListener(t){var n;K(this,Bi,t),(n=N(this,Hn))==null||n.call(this),K(this,Hn,t(r=>{typeof r=="boolean"?this.setFocused(r):this.onFocus()}))}setFocused(t){N(this,Ir)!==t&&(K(this,Ir,t),this.onFocus())}onFocus(){const t=this.isFocused();this.listeners.forEach(n=>{n(t)})}isFocused(){var t;return typeof N(this,Ir)=="boolean"?N(this,Ir):((t=globalThis.document)==null?void 0:t.visibilityState)!=="hidden"}},Ir=new WeakMap,Hn=new WeakMap,Bi=new WeakMap,xy),mw=new ON,Fi,Kn,$i,wy,LN=(wy=class extends rc{constructor(){super();ee(this,Fi,!0);ee(this,Kn);ee(this,$i);K(this,$i,t=>{if(!ic&&window.addEventListener){const n=()=>t(!0),r=()=>t(!1);return window.addEventListener("online",n,!1),window.addEventListener("offline",r,!1),()=>{window.removeEventListener("online",n),window.removeEventListener("offline",r)}}})}onSubscribe(){N(this,Kn)||this.setEventListener(N(this,$i))}onUnsubscribe(){var t;this.hasListeners()||((t=N(this,Kn))==null||t.call(this),K(this,Kn,void 0))}setEventListener(t){var n;K(this,$i,t),(n=N(this,Kn))==null||n.call(this),K(this,Kn,t(this.setOnline.bind(this)))}setOnline(t){N(this,Fi)!==t&&(K(this,Fi,t),this.listeners.forEach(r=>{r(t)}))}isOnline(){return N(this,Fi)}},Fi=new WeakMap,Kn=new WeakMap,$i=new WeakMap,wy),jl=new LN;function IN(){let e,t;const n=new Promise((i,s)=>{e=i,t=s});n.status="pending",n.catch(()=>{});function r(i){Object.assign(n,i),delete n.resolve,delete n.reject}return n.resolve=i=>{r({status:"fulfilled",value:i}),e(i)},n.reject=i=>{r({status:"rejected",reason:i}),t(i)},n}function zN(e){return Math.min(1e3*2**e,3e4)}function gw(e){return(e??"online")==="online"?jl.isOnline():!0}var yw=class extends Error{constructor(e){super("CancelledError"),this.revert=e==null?void 0:e.revert,this.silent=e==null?void 0:e.silent}};function Zc(e){return e instanceof yw}function vw(e){let t=!1,n=0,r=!1,i;const s=IN(),o=y=>{var w;r||(h(new yw(y)),(w=e.abort)==null||w.call(e))},a=()=>{t=!0},c=()=>{t=!1},u=()=>mw.isFocused()&&(e.networkMode==="always"||jl.isOnline())&&e.canRun(),d=()=>gw(e.networkMode)&&e.canRun(),f=y=>{var w;r||(r=!0,(w=e.onSuccess)==null||w.call(e,y),i==null||i(),s.resolve(y))},h=y=>{var w;r||(r=!0,(w=e.onError)==null||w.call(e,y),i==null||i(),s.reject(y))},p=()=>new Promise(y=>{var w;i=m=>{(r||u())&&y(m)},(w=e.onPause)==null||w.call(e)}).then(()=>{var y;i=void 0,r||(y=e.onContinue)==null||y.call(e)}),x=()=>{if(r)return;let y;const w=n===0?e.initialPromise:void 0;try{y=w??e.fn()}catch(m){y=Promise.reject(m)}Promise.resolve(y).then(f).catch(m=>{var S;if(r)return;const g=e.retry??(ic?0:3),v=e.retryDelay??zN,j=typeof v=="function"?v(n,m):v,k=g===!0||typeof g=="number"&&n<g||typeof g=="function"&&g(n,m);if(t||!k){h(m);return}n++,(S=e.onFail)==null||S.call(e,n,m),AN(j).then(()=>u()?void 0:p()).then(()=>{t?h(m):x()})})};return{promise:s,cancel:o,continue:()=>(i==null||i(),s),cancelRetry:a,continueRetry:c,canStart:d,start:()=>(d()?x():p().then(x),s)}}var _N=e=>setTimeout(e,0);function VN(){let e=[],t=0,n=a=>{a()},r=a=>{a()},i=_N;const s=a=>{t?e.push(a):i(()=>{n(a)})},o=()=>{const a=e;e=[],a.length&&i(()=>{r(()=>{a.forEach(c=>{n(c)})})})};return{batch:a=>{let c;t++;try{c=a()}finally{t--,t||o()}return c},batchCalls:a=>(...c)=>{s(()=>{a(...c)})},schedule:s,setNotifyFunction:a=>{n=a},setBatchNotifyFunction:a=>{r=a},setScheduler:a=>{i=a}}}var Ge=VN(),zr,by,xw=(by=class{constructor(){ee(this,zr)}destroy(){this.clearGcTimeout()}scheduleGc(){this.clearGcTimeout(),EN(this.gcTime)&&K(this,zr,setTimeout(()=>{this.optionalRemove()},this.gcTime))}updateGcTime(e){this.gcTime=Math.max(this.gcTime||0,e??(ic?1/0:5*60*1e3))}clearGcTimeout(){N(this,zr)&&(clearTimeout(N(this,zr)),K(this,zr,void 0))}},zr=new WeakMap,by),Ui,_r,yt,Vr,Ve,Ro,Br,_t,pn,jy,BN=(jy=class extends xw{constructor(t){super();ee(this,_t);ee(this,Ui);ee(this,_r);ee(this,yt);ee(this,Vr);ee(this,Ve);ee(this,Ro);ee(this,Br);K(this,Br,!1),K(this,Ro,t.defaultOptions),this.setOptions(t.options),this.observers=[],K(this,Vr,t.client),K(this,yt,N(this,Vr).getQueryCache()),this.queryKey=t.queryKey,this.queryHash=t.queryHash,K(this,Ui,$N(this.options)),this.state=t.state??N(this,Ui),this.scheduleGc()}get meta(){return this.options.meta}get promise(){var t;return(t=N(this,Ve))==null?void 0:t.promise}setOptions(t){this.options={...N(this,Ro),...t},this.updateGcTime(this.options.gcTime)}optionalRemove(){!this.observers.length&&this.state.fetchStatus==="idle"&&N(this,yt).remove(this)}setData(t,n){const r=RN(this.state.data,t,this.options);return Le(this,_t,pn).call(this,{data:r,type:"success",dataUpdatedAt:n==null?void 0:n.updatedAt,manual:n==null?void 0:n.manual}),r}setState(t,n){Le(this,_t,pn).call(this,{type:"setState",state:t,setStateOptions:n})}cancel(t){var r,i;const n=(r=N(this,Ve))==null?void 0:r.promise;return(i=N(this,Ve))==null||i.cancel(t),n?n.then(zt).catch(zt):Promise.resolve()}destroy(){super.destroy(),this.cancel({silent:!0})}reset(){this.destroy(),this.setState(N(this,Ui))}isActive(){return this.observers.some(t=>PN(t.options.enabled,this)!==!1)}isDisabled(){return this.getObserversCount()>0?!this.isActive():this.options.queryFn===vh||this.state.dataUpdateCount+this.state.errorUpdateCount===0}isStatic(){return this.getObserversCount()>0?this.observers.some(t=>Nd(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:!NN(this.state.dataUpdatedAt,t)}onFocus(){var n;const t=this.observers.find(r=>r.shouldFetchOnWindowFocus());t==null||t.refetch({cancelRefetch:!1}),(n=N(this,Ve))==null||n.continue()}onOnline(){var n;const t=this.observers.find(r=>r.shouldFetchOnReconnect());t==null||t.refetch({cancelRefetch:!1}),(n=N(this,Ve))==null||n.continue()}addObserver(t){this.observers.includes(t)||(this.observers.push(t),this.clearGcTimeout(),N(this,yt).notify({type:"observerAdded",query:this,observer:t}))}removeObserver(t){this.observers.includes(t)&&(this.observers=this.observers.filter(n=>n!==t),this.observers.length||(N(this,Ve)&&(N(this,Br)?N(this,Ve).cancel({revert:!0}):N(this,Ve).cancelRetry()),this.scheduleGc()),N(this,yt).notify({type:"observerRemoved",query:this,observer:t}))}getObserversCount(){return this.observers.length}invalidate(){this.state.isInvalidated||Le(this,_t,pn).call(this,{type:"invalidate"})}fetch(t,n){var u,d,f;if(this.state.fetchStatus!=="idle"){if(this.state.data!==void 0&&(n!=null&&n.cancelRefetch))this.cancel({silent:!0});else if(N(this,Ve))return N(this,Ve).continueRetry(),N(this,Ve).promise}if(t&&this.setOptions(t),!this.options.queryFn){const h=this.observers.find(p=>p.options.queryFn);h&&this.setOptions(h.options)}const r=new AbortController,i=h=>{Object.defineProperty(h,"signal",{enumerable:!0,get:()=>(K(this,Br,!0),r.signal)})},s=()=>{const h=pw(this.options,n),x=(()=>{const y={client:N(this,Vr),queryKey:this.queryKey,meta:this.meta};return i(y),y})();return K(this,Br,!1),this.options.persister?this.options.persister(h,x,this):h(x)},a=(()=>{const h={fetchOptions:n,options:this.options,queryKey:this.queryKey,client:N(this,Vr),state:this.state,fetchFn:s};return i(h),h})();(u=this.options.behavior)==null||u.onFetch(a,this),K(this,_r,this.state),(this.state.fetchStatus==="idle"||this.state.fetchMeta!==((d=a.fetchOptions)==null?void 0:d.meta))&&Le(this,_t,pn).call(this,{type:"fetch",meta:(f=a.fetchOptions)==null?void 0:f.meta});const c=h=>{var p,x,y,w;Zc(h)&&h.silent||Le(this,_t,pn).call(this,{type:"error",error:h}),Zc(h)||((x=(p=N(this,yt).config).onError)==null||x.call(p,h,this),(w=(y=N(this,yt).config).onSettled)==null||w.call(y,this.state.data,h,this)),this.scheduleGc()};return K(this,Ve,vw({initialPromise:n==null?void 0:n.initialPromise,fn:a.fetchFn,abort:r.abort.bind(r),onSuccess:h=>{var p,x,y,w;if(h===void 0){c(new Error(`${this.queryHash} data is undefined`));return}try{this.setData(h)}catch(m){c(m);return}(x=(p=N(this,yt).config).onSuccess)==null||x.call(p,h,this),(w=(y=N(this,yt).config).onSettled)==null||w.call(y,h,this.state.error,this),this.scheduleGc()},onError:c,onFail:(h,p)=>{Le(this,_t,pn).call(this,{type:"failed",failureCount:h,error:p})},onPause:()=>{Le(this,_t,pn).call(this,{type:"pause"})},onContinue:()=>{Le(this,_t,pn).call(this,{type:"continue"})},retry:a.options.retry,retryDelay:a.options.retryDelay,networkMode:a.options.networkMode,canRun:()=>!0})),N(this,Ve).start()}},Ui=new WeakMap,_r=new WeakMap,yt=new WeakMap,Vr=new WeakMap,Ve=new WeakMap,Ro=new WeakMap,Br=new WeakMap,_t=new WeakSet,pn=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,...FN(r.data,this.options),fetchMeta:t.meta??null};case"success":return K(this,_r,void 0),{...r,data:t.data,dataUpdateCount:r.dataUpdateCount+1,dataUpdatedAt:t.dataUpdatedAt??Date.now(),error:null,isInvalidated:!1,status:"success",...!t.manual&&{fetchStatus:"idle",fetchFailureCount:0,fetchFailureReason:null}};case"error":const i=t.error;return Zc(i)&&i.revert&&N(this,_r)?{...N(this,_r),fetchStatus:"idle"}:{...r,error:i,errorUpdateCount:r.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:r.fetchFailureCount+1,fetchFailureReason:i,fetchStatus:"idle",status:"error"};case"invalidate":return{...r,isInvalidated:!0};case"setState":return{...r,...t.state}}};this.state=n(this.state),Ge.batch(()=>{this.observers.forEach(r=>{r.onQueryUpdate()}),N(this,yt).notify({query:this,type:"updated",action:t})})},jy);function FN(e,t){return{fetchFailureCount:0,fetchFailureReason:null,fetchStatus:gw(t.networkMode)?"fetching":"paused",...e===void 0&&{error:null,status:"pending"}}}function $N(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 en,ky,UN=(ky=class extends rc{constructor(t={}){super();ee(this,en);this.config=t,K(this,en,new Map)}build(t,n,r){const i=n.queryKey,s=n.queryHash??yh(i,n);let o=this.get(s);return o||(o=new BN({client:t,queryKey:i,queryHash:s,options:t.defaultQueryOptions(n),state:r,defaultOptions:t.getQueryDefaults(i)}),this.add(o)),o}add(t){N(this,en).has(t.queryHash)||(N(this,en).set(t.queryHash,t),this.notify({type:"added",query:t}))}remove(t){const n=N(this,en).get(t.queryHash);n&&(t.destroy(),n===t&&N(this,en).delete(t.queryHash),this.notify({type:"removed",query:t}))}clear(){Ge.batch(()=>{this.getAll().forEach(t=>{this.remove(t)})})}get(t){return N(this,en).get(t)}getAll(){return[...N(this,en).values()]}find(t){const n={exact:!0,...t};return this.getAll().find(r=>Vm(n,r))}findAll(t={}){const n=this.getAll();return Object.keys(t).length>0?n.filter(r=>Vm(t,r)):n}notify(t){Ge.batch(()=>{this.listeners.forEach(n=>{n(t)})})}onFocus(){Ge.batch(()=>{this.getAll().forEach(t=>{t.onFocus()})})}onOnline(){Ge.batch(()=>{this.getAll().forEach(t=>{t.onOnline()})})}},en=new WeakMap,ky),tn,He,Fr,nn,_n,Sy,WN=(Sy=class extends xw{constructor(t){super();ee(this,nn);ee(this,tn);ee(this,He);ee(this,Fr);this.mutationId=t.mutationId,K(this,He,t.mutationCache),K(this,tn,[]),this.state=t.state||HN(),this.setOptions(t.options),this.scheduleGc()}setOptions(t){this.options=t,this.updateGcTime(this.options.gcTime)}get meta(){return this.options.meta}addObserver(t){N(this,tn).includes(t)||(N(this,tn).push(t),this.clearGcTimeout(),N(this,He).notify({type:"observerAdded",mutation:this,observer:t}))}removeObserver(t){K(this,tn,N(this,tn).filter(n=>n!==t)),this.scheduleGc(),N(this,He).notify({type:"observerRemoved",mutation:this,observer:t})}optionalRemove(){N(this,tn).length||(this.state.status==="pending"?this.scheduleGc():N(this,He).remove(this))}continue(){var t;return((t=N(this,Fr))==null?void 0:t.continue())??this.execute(this.state.variables)}async execute(t){var s,o,a,c,u,d,f,h,p,x,y,w,m,g,v,j,k,S,T,C;const n=()=>{Le(this,nn,_n).call(this,{type:"continue"})};K(this,Fr,vw({fn:()=>this.options.mutationFn?this.options.mutationFn(t):Promise.reject(new Error("No mutationFn found")),onFail:(A,R)=>{Le(this,nn,_n).call(this,{type:"failed",failureCount:A,error:R})},onPause:()=>{Le(this,nn,_n).call(this,{type:"pause"})},onContinue:n,retry:this.options.retry??0,retryDelay:this.options.retryDelay,networkMode:this.options.networkMode,canRun:()=>N(this,He).canRun(this)}));const r=this.state.status==="pending",i=!N(this,Fr).canStart();try{if(r)n();else{Le(this,nn,_n).call(this,{type:"pending",variables:t,isPaused:i}),await((o=(s=N(this,He).config).onMutate)==null?void 0:o.call(s,t,this));const R=await((c=(a=this.options).onMutate)==null?void 0:c.call(a,t));R!==this.state.context&&Le(this,nn,_n).call(this,{type:"pending",context:R,variables:t,isPaused:i})}const A=await N(this,Fr).start();return await((d=(u=N(this,He).config).onSuccess)==null?void 0:d.call(u,A,t,this.state.context,this)),await((h=(f=this.options).onSuccess)==null?void 0:h.call(f,A,t,this.state.context)),await((x=(p=N(this,He).config).onSettled)==null?void 0:x.call(p,A,null,this.state.variables,this.state.context,this)),await((w=(y=this.options).onSettled)==null?void 0:w.call(y,A,null,t,this.state.context)),Le(this,nn,_n).call(this,{type:"success",data:A}),A}catch(A){try{throw await((g=(m=N(this,He).config).onError)==null?void 0:g.call(m,A,t,this.state.context,this)),await((j=(v=this.options).onError)==null?void 0:j.call(v,A,t,this.state.context)),await((S=(k=N(this,He).config).onSettled)==null?void 0:S.call(k,void 0,A,this.state.variables,this.state.context,this)),await((C=(T=this.options).onSettled)==null?void 0:C.call(T,void 0,A,t,this.state.context)),A}finally{Le(this,nn,_n).call(this,{type:"error",error:A})}}finally{N(this,He).runNext(this)}}},tn=new WeakMap,He=new WeakMap,Fr=new WeakMap,nn=new WeakSet,_n=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),Ge.batch(()=>{N(this,tn).forEach(r=>{r.onMutationUpdate(t)}),N(this,He).notify({mutation:this,type:"updated",action:t})})},Sy);function HN(){return{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:"idle",variables:void 0,submittedAt:0}}var yn,Vt,Mo,Ty,KN=(Ty=class extends rc{constructor(t={}){super();ee(this,yn);ee(this,Vt);ee(this,Mo);this.config=t,K(this,yn,new Set),K(this,Vt,new Map),K(this,Mo,0)}build(t,n,r){const i=new WN({mutationCache:this,mutationId:++qo(this,Mo)._,options:t.defaultMutationOptions(n),state:r});return this.add(i),i}add(t){N(this,yn).add(t);const n=xa(t);if(typeof n=="string"){const r=N(this,Vt).get(n);r?r.push(t):N(this,Vt).set(n,[t])}this.notify({type:"added",mutation:t})}remove(t){if(N(this,yn).delete(t)){const n=xa(t);if(typeof n=="string"){const r=N(this,Vt).get(n);if(r)if(r.length>1){const i=r.indexOf(t);i!==-1&&r.splice(i,1)}else r[0]===t&&N(this,Vt).delete(n)}}this.notify({type:"removed",mutation:t})}canRun(t){const n=xa(t);if(typeof n=="string"){const r=N(this,Vt).get(n),i=r==null?void 0:r.find(s=>s.state.status==="pending");return!i||i===t}else return!0}runNext(t){var r;const n=xa(t);if(typeof n=="string"){const i=(r=N(this,Vt).get(n))==null?void 0:r.find(s=>s!==t&&s.state.isPaused);return(i==null?void 0:i.continue())??Promise.resolve()}else return Promise.resolve()}clear(){Ge.batch(()=>{N(this,yn).forEach(t=>{this.notify({type:"removed",mutation:t})}),N(this,yn).clear(),N(this,Vt).clear()})}getAll(){return Array.from(N(this,yn))}find(t){const n={exact:!0,...t};return this.getAll().find(r=>Bm(n,r))}findAll(t={}){return this.getAll().filter(n=>Bm(t,n))}notify(t){Ge.batch(()=>{this.listeners.forEach(n=>{n(t)})})}resumePausedMutations(){const t=this.getAll().filter(n=>n.state.isPaused);return Ge.batch(()=>Promise.all(t.map(n=>n.continue().catch(zt))))}},yn=new WeakMap,Vt=new WeakMap,Mo=new WeakMap,Ty);function xa(e){var t;return(t=e.options.scope)==null?void 0:t.id}function Um(e){return{onFetch:(t,n)=>{var d,f,h,p,x;const r=t.options,i=(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)||[],o=((x=t.state.data)==null?void 0:x.pageParams)||[];let a={pages:[],pageParams:[]},c=0;const u=async()=>{let y=!1;const w=v=>{Object.defineProperty(v,"signal",{enumerable:!0,get:()=>(t.signal.aborted?y=!0:t.signal.addEventListener("abort",()=>{y=!0}),t.signal)})},m=pw(t.options,t.fetchOptions),g=async(v,j,k)=>{if(y)return Promise.reject();if(j==null&&v.pages.length)return Promise.resolve(v);const T=(()=>{const B={client:t.client,queryKey:t.queryKey,pageParam:j,direction:k?"backward":"forward",meta:t.options.meta};return w(B),B})(),C=await m(T),{maxPages:A}=t.options,R=k?DN:MN;return{pages:R(v.pages,C,A),pageParams:R(v.pageParams,j,A)}};if(i&&s.length){const v=i==="backward",j=v?GN:Wm,k={pages:s,pageParams:o},S=j(r,k);a=await g(k,S,v)}else{const v=e??s.length;do{const j=c===0?o[0]??r.initialPageParam:Wm(r,a);if(c>0&&j==null)break;a=await g(a,j),c++}while(c<v)}return a};t.options.persister?t.fetchFn=()=>{var y,w;return(w=(y=t.options).persister)==null?void 0:w.call(y,u,{client:t.client,queryKey:t.queryKey,meta:t.options.meta,signal:t.signal},n)}:t.fetchFn=u}}}function Wm(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 GN(e,{pages:t,pageParams:n}){var r;return t.length>0?(r=e.getPreviousPageParam)==null?void 0:r.call(e,t[0],t,n[0],n):void 0}var ye,Gn,Yn,Wi,Hi,Qn,Ki,Gi,Cy,YN=(Cy=class{constructor(e={}){ee(this,ye);ee(this,Gn);ee(this,Yn);ee(this,Wi);ee(this,Hi);ee(this,Qn);ee(this,Ki);ee(this,Gi);K(this,ye,e.queryCache||new UN),K(this,Gn,e.mutationCache||new KN),K(this,Yn,e.defaultOptions||{}),K(this,Wi,new Map),K(this,Hi,new Map),K(this,Qn,0)}mount(){qo(this,Qn)._++,N(this,Qn)===1&&(K(this,Ki,mw.subscribe(async e=>{e&&(await this.resumePausedMutations(),N(this,ye).onFocus())})),K(this,Gi,jl.subscribe(async e=>{e&&(await this.resumePausedMutations(),N(this,ye).onOnline())})))}unmount(){var e,t;qo(this,Qn)._--,N(this,Qn)===0&&((e=N(this,Ki))==null||e.call(this),K(this,Ki,void 0),(t=N(this,Gi))==null||t.call(this),K(this,Gi,void 0))}isFetching(e){return N(this,ye).findAll({...e,fetchStatus:"fetching"}).length}isMutating(e){return N(this,Gn).findAll({...e,status:"pending"}).length}getQueryData(e){var n;const t=this.defaultQueryOptions({queryKey:e});return(n=N(this,ye).get(t.queryHash))==null?void 0:n.state.data}ensureQueryData(e){const t=this.defaultQueryOptions(e),n=N(this,ye).build(this,t),r=n.state.data;return r===void 0?this.fetchQuery(e):(e.revalidateIfStale&&n.isStaleByTime(Nd(t.staleTime,n))&&this.prefetchQuery(t),Promise.resolve(r))}getQueriesData(e){return N(this,ye).findAll(e).map(({queryKey:t,state:n})=>{const r=n.data;return[t,r]})}setQueryData(e,t,n){const r=this.defaultQueryOptions({queryKey:e}),i=N(this,ye).get(r.queryHash),s=i==null?void 0:i.state.data,o=CN(t,s);if(o!==void 0)return N(this,ye).build(this,r).setData(o,{...n,manual:!0})}setQueriesData(e,t,n){return Ge.batch(()=>N(this,ye).findAll(e).map(({queryKey:r})=>[r,this.setQueryData(r,t,n)]))}getQueryState(e){var n;const t=this.defaultQueryOptions({queryKey:e});return(n=N(this,ye).get(t.queryHash))==null?void 0:n.state}removeQueries(e){const t=N(this,ye);Ge.batch(()=>{t.findAll(e).forEach(n=>{t.remove(n)})})}resetQueries(e,t){const n=N(this,ye);return Ge.batch(()=>(n.findAll(e).forEach(r=>{r.reset()}),this.refetchQueries({type:"active",...e},t)))}cancelQueries(e,t={}){const n={revert:!0,...t},r=Ge.batch(()=>N(this,ye).findAll(e).map(i=>i.cancel(n)));return Promise.all(r).then(zt).catch(zt)}invalidateQueries(e,t={}){return Ge.batch(()=>(N(this,ye).findAll(e).forEach(n=>{n.invalidate()}),(e==null?void 0:e.refetchType)==="none"?Promise.resolve():this.refetchQueries({...e,type:(e==null?void 0:e.refetchType)??(e==null?void 0:e.type)??"active"},t)))}refetchQueries(e,t={}){const n={...t,cancelRefetch:t.cancelRefetch??!0},r=Ge.batch(()=>N(this,ye).findAll(e).filter(i=>!i.isDisabled()&&!i.isStatic()).map(i=>{let s=i.fetch(void 0,n);return n.throwOnError||(s=s.catch(zt)),i.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=N(this,ye).build(this,t);return n.isStaleByTime(Nd(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=Um(e.pages),this.fetchQuery(e)}prefetchInfiniteQuery(e){return this.fetchInfiniteQuery(e).then(zt).catch(zt)}ensureInfiniteQueryData(e){return e.behavior=Um(e.pages),this.ensureQueryData(e)}resumePausedMutations(){return jl.isOnline()?N(this,Gn).resumePausedMutations():Promise.resolve()}getQueryCache(){return N(this,ye)}getMutationCache(){return N(this,Gn)}getDefaultOptions(){return N(this,Yn)}setDefaultOptions(e){K(this,Yn,e)}setQueryDefaults(e,t){N(this,Wi).set(jo(e),{queryKey:e,defaultOptions:t})}getQueryDefaults(e){const t=[...N(this,Wi).values()],n={};return t.forEach(r=>{ko(e,r.queryKey)&&Object.assign(n,r.defaultOptions)}),n}setMutationDefaults(e,t){N(this,Hi).set(jo(e),{mutationKey:e,defaultOptions:t})}getMutationDefaults(e){const t=[...N(this,Hi).values()],n={};return t.forEach(r=>{ko(e,r.mutationKey)&&Object.assign(n,r.defaultOptions)}),n}defaultQueryOptions(e){if(e._defaulted)return e;const t={...N(this,Yn).queries,...this.getQueryDefaults(e.queryKey),...e,_defaulted:!0};return t.queryHash||(t.queryHash=yh(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===vh&&(t.enabled=!1),t}defaultMutationOptions(e){return e!=null&&e._defaulted?e:{...N(this,Yn).mutations,...(e==null?void 0:e.mutationKey)&&this.getMutationDefaults(e.mutationKey),...e,_defaulted:!0}}clear(){N(this,ye).clear(),N(this,Gn).clear()}},ye=new WeakMap,Gn=new WeakMap,Yn=new WeakMap,Wi=new WeakMap,Hi=new WeakMap,Qn=new WeakMap,Ki=new WeakMap,Gi=new WeakMap,Cy),QN=b.createContext(void 0),qN=({client:e,children:t})=>(b.useEffect(()=>(e.mount(),()=>{e.unmount()}),[e]),l.jsx(QN.Provider,{value:e,children:t}));/**
* @remix-run/router v1.23.0
*
* Copyright (c) Remix Software Inc.
*
* This source code is licensed under the MIT license found in the
* LICENSE.md file in the root directory of this source tree.
*
* @license MIT
*/function So(){return So=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},So.apply(this,arguments)}var Jn;(function(e){e.Pop="POP",e.Push="PUSH",e.Replace="REPLACE"})(Jn||(Jn={}));const Hm="popstate";function XN(e){e===void 0&&(e={});function t(r,i){let{pathname:s,search:o,hash:a}=r.location;return Ad("",{pathname:s,search:o,hash:a},i.state&&i.state.usr||null,i.state&&i.state.key||"default")}function n(r,i){return typeof i=="string"?i:kl(i)}return ZN(t,n,null,e)}function ke(e,t){if(e===!1||e===null||typeof e>"u")throw new Error(t)}function ww(e,t){if(!e){typeof console<"u"&&console.warn(t);try{throw new Error(t)}catch{}}}function JN(){return Math.random().toString(36).substr(2,8)}function Km(e,t){return{usr:e.state,key:e.key,idx:t}}function Ad(e,t,n,r){return n===void 0&&(n=null),So({pathname:typeof e=="string"?e:e.pathname,search:"",hash:""},typeof t=="string"?ds(t):t,{state:n,key:t&&t.key||r||JN()})}function kl(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 ds(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 ZN(e,t,n,r){r===void 0&&(r={});let{window:i=document.defaultView,v5Compat:s=!1}=r,o=i.history,a=Jn.Pop,c=null,u=d();u==null&&(u=0,o.replaceState(So({},o.state,{idx:u}),""));function d(){return(o.state||{idx:null}).idx}function f(){a=Jn.Pop;let w=d(),m=w==null?null:w-u;u=w,c&&c({action:a,location:y.location,delta:m})}function h(w,m){a=Jn.Push;let g=Ad(y.location,w,m);u=d()+1;let v=Km(g,u),j=y.createHref(g);try{o.pushState(v,"",j)}catch(k){if(k instanceof DOMException&&k.name==="DataCloneError")throw k;i.location.assign(j)}s&&c&&c({action:a,location:y.location,delta:1})}function p(w,m){a=Jn.Replace;let g=Ad(y.location,w,m);u=d();let v=Km(g,u),j=y.createHref(g);o.replaceState(v,"",j),s&&c&&c({action:a,location:y.location,delta:0})}function x(w){let m=i.location.origin!=="null"?i.location.origin:i.location.href,g=typeof w=="string"?w:kl(w);return g=g.replace(/ $/,"%20"),ke(m,"No window.location.(origin|href) available to create URL for href: "+g),new URL(g,m)}let y={get action(){return a},get location(){return e(i,o)},listen(w){if(c)throw new Error("A history only accepts one active listener");return i.addEventListener(Hm,f),c=w,()=>{i.removeEventListener(Hm,f),c=null}},createHref(w){return t(i,w)},createURL:x,encodeLocation(w){let m=x(w);return{pathname:m.pathname,search:m.search,hash:m.hash}},push:h,replace:p,go(w){return o.go(w)}};return y}var Gm;(function(e){e.data="data",e.deferred="deferred",e.redirect="redirect",e.error="error"})(Gm||(Gm={}));function eP(e,t,n){return n===void 0&&(n="/"),tP(e,t,n,!1)}function tP(e,t,n,r){let i=typeof t=="string"?ds(t):t,s=xh(i.pathname||"/",n);if(s==null)return null;let o=bw(e);nP(o);let a=null;for(let c=0;a==null&&c<o.length;++c){let u=hP(s);a=dP(o[c],u,r)}return a}function bw(e,t,n,r){t===void 0&&(t=[]),n===void 0&&(n=[]),r===void 0&&(r="");let i=(s,o,a)=>{let c={relativePath:a===void 0?s.path||"":a,caseSensitive:s.caseSensitive===!0,childrenIndex:o,route:s};c.relativePath.startsWith("/")&&(ke(c.relativePath.startsWith(r),'Absolute route path "'+c.relativePath+'" nested under path '+('"'+r+'" is not valid. An absolute child route path ')+"must start with the combined path of all its parent routes."),c.relativePath=c.relativePath.slice(r.length));let u=lr([r,c.relativePath]),d=n.concat(c);s.children&&s.children.length>0&&(ke(s.index!==!0,"Index routes must not have child routes. Please remove "+('all child routes from route path "'+u+'".')),bw(s.children,t,d,u)),!(s.path==null&&!s.index)&&t.push({path:u,score:cP(u,s.index),routesMeta:d})};return e.forEach((s,o)=>{var a;if(s.path===""||!((a=s.path)!=null&&a.includes("?")))i(s,o);else for(let c of jw(s.path))i(s,o,c)}),t}function jw(e){let t=e.split("/");if(t.length===0)return[];let[n,...r]=t,i=n.endsWith("?"),s=n.replace(/\?$/,"");if(r.length===0)return i?[s,""]:[s];let o=jw(r.join("/")),a=[];return a.push(...o.map(c=>c===""?s:[s,c].join("/"))),i&&a.push(...o),a.map(c=>e.startsWith("/")&&c===""?"/":c)}function nP(e){e.sort((t,n)=>t.score!==n.score?n.score-t.score:uP(t.routesMeta.map(r=>r.childrenIndex),n.routesMeta.map(r=>r.childrenIndex)))}const rP=/^:[\w-]+$/,iP=3,sP=2,oP=1,aP=10,lP=-2,Ym=e=>e==="*";function cP(e,t){let n=e.split("/"),r=n.length;return n.some(Ym)&&(r+=lP),t&&(r+=sP),n.filter(i=>!Ym(i)).reduce((i,s)=>i+(rP.test(s)?iP:s===""?oP:aP),r)}function uP(e,t){return e.length===t.length&&e.slice(0,-1).every((r,i)=>r===t[i])?e[e.length-1]-t[t.length-1]:0}function dP(e,t,n){let{routesMeta:r}=e,i={},s="/",o=[];for(let a=0;a<r.length;++a){let c=r[a],u=a===r.length-1,d=s==="/"?t:t.slice(s.length)||"/",f=Qm({path:c.relativePath,caseSensitive:c.caseSensitive,end:u},d),h=c.route;if(!f&&u&&n&&!r[r.length-1].route.index&&(f=Qm({path:c.relativePath,caseSensitive:c.caseSensitive,end:!1},d)),!f)return null;Object.assign(i,f.params),o.push({params:i,pathname:lr([s,f.pathname]),pathnameBase:yP(lr([s,f.pathnameBase])),route:h}),f.pathnameBase!=="/"&&(s=lr([s,f.pathnameBase]))}return o}function Qm(e,t){typeof e=="string"&&(e={path:e,caseSensitive:!1,end:!0});let[n,r]=fP(e.path,e.caseSensitive,e.end),i=t.match(n);if(!i)return null;let s=i[0],o=s.replace(/(.)\/+$/,"$1"),a=i.slice(1);return{params:r.reduce((u,d,f)=>{let{paramName:h,isOptional:p}=d;if(h==="*"){let y=a[f]||"";o=s.slice(0,s.length-y.length).replace(/(.)\/+$/,"$1")}const x=a[f];return p&&!x?u[h]=void 0:u[h]=(x||"").replace(/%2F/g,"/"),u},{}),pathname:s,pathnameBase:o,pattern:e}}function fP(e,t,n){t===void 0&&(t=!1),n===void 0&&(n=!0),ww(e==="*"||!e.endsWith("*")||e.endsWith("/*"),'Route path "'+e+'" will be treated as if it were '+('"'+e.replace(/\*$/,"/*")+'" because the `*` character must ')+"always follow a `/` in the pattern. To get rid of this warning, "+('please change the route path to "'+e.replace(/\*$/,"/*")+'".'));let r=[],i="^"+e.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(o,a,c)=>(r.push({paramName:a,isOptional:c!=null}),c?"/?([^\\/]+)?":"/([^\\/]+)"));return e.endsWith("*")?(r.push({paramName:"*"}),i+=e==="*"||e==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):n?i+="\\/*$":e!==""&&e!=="/"&&(i+="(?:(?=\\/|$))"),[new RegExp(i,t?void 0:"i"),r]}function hP(e){try{return e.split("/").map(t=>decodeURIComponent(t).replace(/\//g,"%2F")).join("/")}catch(t){return ww(!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 xh(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 pP(e,t){t===void 0&&(t="/");let{pathname:n,search:r="",hash:i=""}=typeof e=="string"?ds(e):e;return{pathname:n?n.startsWith("/")?n:mP(n,t):t,search:vP(r),hash:xP(i)}}function mP(e,t){let n=t.replace(/\/+$/,"").split("/");return e.split("/").forEach(i=>{i===".."?n.length>1&&n.pop():i!=="."&&n.push(i)}),n.length>1?n.join("/"):"/"}function eu(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 gP(e){return e.filter((t,n)=>n===0||t.route.path&&t.route.path.length>0)}function kw(e,t){let n=gP(e);return t?n.map((r,i)=>i===n.length-1?r.pathname:r.pathnameBase):n.map(r=>r.pathnameBase)}function Sw(e,t,n,r){r===void 0&&(r=!1);let i;typeof e=="string"?i=ds(e):(i=So({},e),ke(!i.pathname||!i.pathname.includes("?"),eu("?","pathname","search",i)),ke(!i.pathname||!i.pathname.includes("#"),eu("#","pathname","hash",i)),ke(!i.search||!i.search.includes("#"),eu("#","search","hash",i)));let s=e===""||i.pathname==="",o=s?"/":i.pathname,a;if(o==null)a=n;else{let f=t.length-1;if(!r&&o.startsWith("..")){let h=o.split("/");for(;h[0]==="..";)h.shift(),f-=1;i.pathname=h.join("/")}a=f>=0?t[f]:"/"}let c=pP(i,a),u=o&&o!=="/"&&o.endsWith("/"),d=(s||o===".")&&n.endsWith("/");return!c.pathname.endsWith("/")&&(u||d)&&(c.pathname+="/"),c}const lr=e=>e.join("/").replace(/\/\/+/g,"/"),yP=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/"),vP=e=>!e||e==="?"?"":e.startsWith("?")?e:"?"+e,xP=e=>!e||e==="#"?"":e.startsWith("#")?e:"#"+e;function wP(e){return e!=null&&typeof e.status=="number"&&typeof e.statusText=="string"&&typeof e.internal=="boolean"&&"data"in e}const Tw=["post","put","patch","delete"];new Set(Tw);const bP=["get",...Tw];new Set(bP);/**
* React Router v6.30.1
*
* Copyright (c) Remix Software Inc.
*
* This source code is licensed under the MIT license found in the
* LICENSE.md file in the root directory of this source tree.
*
* @license MIT
*/function To(){return To=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},To.apply(this,arguments)}const wh=b.createContext(null),jP=b.createContext(null),ei=b.createContext(null),sc=b.createContext(null),ti=b.createContext({outlet:null,matches:[],isDataRoute:!1}),Cw=b.createContext(null);function kP(e,t){let{relative:n}=t===void 0?{}:t;$o()||ke(!1);let{basename:r,navigator:i}=b.useContext(ei),{hash:s,pathname:o,search:a}=Nw(e,{relative:n}),c=o;return r!=="/"&&(c=o==="/"?r:lr([r,o])),i.createHref({pathname:c,search:a,hash:s})}function $o(){return b.useContext(sc)!=null}function br(){return $o()||ke(!1),b.useContext(sc).location}function Ew(e){b.useContext(ei).static||b.useLayoutEffect(e)}function SP(){let{isDataRoute:e}=b.useContext(ti);return e?zP():TP()}function TP(){$o()||ke(!1);let e=b.useContext(wh),{basename:t,future:n,navigator:r}=b.useContext(ei),{matches:i}=b.useContext(ti),{pathname:s}=br(),o=JSON.stringify(kw(i,n.v7_relativeSplatPath)),a=b.useRef(!1);return Ew(()=>{a.current=!0}),b.useCallback(function(u,d){if(d===void 0&&(d={}),!a.current)return;if(typeof u=="number"){r.go(u);return}let f=Sw(u,JSON.parse(o),s,d.relative==="path");e==null&&t!=="/"&&(f.pathname=f.pathname==="/"?t:lr([t,f.pathname])),(d.replace?r.replace:r.push)(f,d.state,d)},[t,r,o,s,e])}function Nw(e,t){let{relative:n}=t===void 0?{}:t,{future:r}=b.useContext(ei),{matches:i}=b.useContext(ti),{pathname:s}=br(),o=JSON.stringify(kw(i,r.v7_relativeSplatPath));return b.useMemo(()=>Sw(e,JSON.parse(o),s,n==="path"),[e,o,s,n])}function CP(e,t){return EP(e,t)}function EP(e,t,n,r){$o()||ke(!1);let{navigator:i}=b.useContext(ei),{matches:s}=b.useContext(ti),o=s[s.length-1],a=o?o.params:{};o&&o.pathname;let c=o?o.pathnameBase:"/";o&&o.route;let u=br(),d;if(t){var f;let w=typeof t=="string"?ds(t):t;c==="/"||(f=w.pathname)!=null&&f.startsWith(c)||ke(!1),d=w}else d=u;let h=d.pathname||"/",p=h;if(c!=="/"){let w=c.replace(/^\//,"").split("/");p="/"+h.replace(/^\//,"").split("/").slice(w.length).join("/")}let x=eP(e,{pathname:p}),y=MP(x&&x.map(w=>Object.assign({},w,{params:Object.assign({},a,w.params),pathname:lr([c,i.encodeLocation?i.encodeLocation(w.pathname).pathname:w.pathname]),pathnameBase:w.pathnameBase==="/"?c:lr([c,i.encodeLocation?i.encodeLocation(w.pathnameBase).pathname:w.pathnameBase])})),s,n,r);return t&&y?b.createElement(sc.Provider,{value:{location:To({pathname:"/",search:"",hash:"",state:null,key:"default"},d),navigationType:Jn.Pop}},y):y}function NP(){let e=IP(),t=wP(e)?e.status+" "+e.statusText:e instanceof Error?e.message:JSON.stringify(e),n=e instanceof Error?e.stack:null,i={padding:"0.5rem",backgroundColor:"rgba(200,200,200, 0.5)"};return b.createElement(b.Fragment,null,b.createElement("h2",null,"Unexpected Application Error!"),b.createElement("h3",{style:{fontStyle:"italic"}},t),n?b.createElement("pre",{style:i},n):null,null)}const PP=b.createElement(NP,null);class AP extends b.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?b.createElement(ti.Provider,{value:this.props.routeContext},b.createElement(Cw.Provider,{value:this.state.error,children:this.props.component})):this.props.children}}function RP(e){let{routeContext:t,match:n,children:r}=e,i=b.useContext(wh);return i&&i.static&&i.staticContext&&(n.route.errorElement||n.route.ErrorBoundary)&&(i.staticContext._deepestRenderedBoundaryId=n.route.id),b.createElement(ti.Provider,{value:t},r)}function MP(e,t,n,r){var i;if(t===void 0&&(t=[]),n===void 0&&(n=null),r===void 0&&(r=null),e==null){var s;if(!n)return null;if(n.errors)e=n.matches;else if((s=r)!=null&&s.v7_partialHydration&&t.length===0&&!n.initialized&&n.matches.length>0)e=n.matches;else return null}let o=e,a=(i=n)==null?void 0:i.errors;if(a!=null){let d=o.findIndex(f=>f.route.id&&(a==null?void 0:a[f.route.id])!==void 0);d>=0||ke(!1),o=o.slice(0,Math.min(o.length,d+1))}let c=!1,u=-1;if(n&&r&&r.v7_partialHydration)for(let d=0;d<o.length;d++){let f=o[d];if((f.route.HydrateFallback||f.route.hydrateFallbackElement)&&(u=d),f.route.id){let{loaderData:h,errors:p}=n,x=f.route.loader&&h[f.route.id]===void 0&&(!p||p[f.route.id]===void 0);if(f.route.lazy||x){c=!0,u>=0?o=o.slice(0,u+1):o=[o[0]];break}}}return o.reduceRight((d,f,h)=>{let p,x=!1,y=null,w=null;n&&(p=a&&f.route.id?a[f.route.id]:void 0,y=f.route.errorElement||PP,c&&(u<0&&h===0?(x=!0,w=null):u===h&&(x=!0,w=f.route.hydrateFallbackElement||null)));let m=t.concat(o.slice(0,h+1)),g=()=>{let v;return p?v=y:x?v=w:f.route.Component?v=b.createElement(f.route.Component,null):f.route.element?v=f.route.element:v=d,b.createElement(RP,{match:f,routeContext:{outlet:d,matches:m,isDataRoute:n!=null},children:v})};return n&&(f.route.ErrorBoundary||f.route.errorElement||h===0)?b.createElement(AP,{location:n.location,revalidation:n.revalidation,component:y,error:p,children:g(),routeContext:{outlet:null,matches:m,isDataRoute:!0}}):g()},null)}var Pw=function(e){return e.UseBlocker="useBlocker",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e}(Pw||{}),Sl=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}(Sl||{});function DP(e){let t=b.useContext(wh);return t||ke(!1),t}function OP(e){let t=b.useContext(jP);return t||ke(!1),t}function LP(e){let t=b.useContext(ti);return t||ke(!1),t}function Aw(e){let t=LP(),n=t.matches[t.matches.length-1];return n.route.id||ke(!1),n.route.id}function IP(){var e;let t=b.useContext(Cw),n=OP(Sl.UseRouteError),r=Aw(Sl.UseRouteError);return t!==void 0?t:(e=n.errors)==null?void 0:e[r]}function zP(){let{router:e}=DP(Pw.UseNavigateStable),t=Aw(Sl.UseNavigateStable),n=b.useRef(!1);return Ew(()=>{n.current=!0}),b.useCallback(function(i,s){s===void 0&&(s={}),n.current&&(typeof i=="number"?e.navigate(i):e.navigate(i,To({fromRouteId:t},s)))},[e,t])}function _P(e,t){e==null||e.v7_startTransition,e==null||e.v7_relativeSplatPath}function _e(e){ke(!1)}function VP(e){let{basename:t="/",children:n=null,location:r,navigationType:i=Jn.Pop,navigator:s,static:o=!1,future:a}=e;$o()&&ke(!1);let c=t.replace(/^\/*/,"/"),u=b.useMemo(()=>({basename:c,navigator:s,static:o,future:To({v7_relativeSplatPath:!1},a)}),[c,a,s,o]);typeof r=="string"&&(r=ds(r));let{pathname:d="/",search:f="",hash:h="",state:p=null,key:x="default"}=r,y=b.useMemo(()=>{let w=xh(d,c);return w==null?null:{location:{pathname:w,search:f,hash:h,state:p,key:x},navigationType:i}},[c,d,f,h,p,x,i]);return y==null?null:b.createElement(ei.Provider,{value:u},b.createElement(sc.Provider,{children:n,value:y}))}function BP(e){let{children:t,location:n}=e;return CP(Rd(t),n)}new Promise(()=>{});function Rd(e,t){t===void 0&&(t=[]);let n=[];return b.Children.forEach(e,(r,i)=>{if(!b.isValidElement(r))return;let s=[...t,i];if(r.type===b.Fragment){n.push.apply(n,Rd(r.props.children,s));return}r.type!==_e&&ke(!1),!r.props.index||!r.props.children||ke(!1);let o={id:r.props.id||s.join("-"),caseSensitive:r.props.caseSensitive,element:r.props.element,Component:r.props.Component,index:r.props.index,path:r.props.path,loader:r.props.loader,action:r.props.action,errorElement:r.props.errorElement,ErrorBoundary:r.props.ErrorBoundary,hasErrorBoundary:r.props.ErrorBoundary!=null||r.props.errorElement!=null,shouldRevalidate:r.props.shouldRevalidate,handle:r.props.handle,lazy:r.props.lazy};r.props.children&&(o.children=Rd(r.props.children,s)),n.push(o)}),n}/**
* React Router DOM v6.30.1
*
* Copyright (c) Remix Software Inc.
*
* This source code is licensed under the MIT license found in the
* LICENSE.md file in the root directory of this source tree.
*
* @license MIT
*/function Md(){return Md=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},Md.apply(this,arguments)}function FP(e,t){if(e==null)return{};var n={},r=Object.keys(e),i,s;for(s=0;s<r.length;s++)i=r[s],!(t.indexOf(i)>=0)&&(n[i]=e[i]);return n}function $P(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}function UP(e,t){return e.button===0&&(!t||t==="_self")&&!$P(e)}const WP=["onClick","relative","reloadDocument","replace","state","target","to","preventScrollReset","viewTransition"],HP="6";try{window.__reactRouterVersion=HP}catch{}const KP="startTransition",qm=zy[KP];function GP(e){let{basename:t,children:n,future:r,window:i}=e,s=b.useRef();s.current==null&&(s.current=XN({window:i,v5Compat:!0}));let o=s.current,[a,c]=b.useState({action:o.action,location:o.location}),{v7_startTransition:u}=r||{},d=b.useCallback(f=>{u&&qm?qm(()=>c(f)):c(f)},[c,u]);return b.useLayoutEffect(()=>o.listen(d),[o,d]),b.useEffect(()=>_P(r),[r]),b.createElement(VP,{basename:t,children:n,location:a.location,navigationType:a.action,navigator:o,future:r})}const YP=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",QP=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,ne=b.forwardRef(function(t,n){let{onClick:r,relative:i,reloadDocument:s,replace:o,state:a,target:c,to:u,preventScrollReset:d,viewTransition:f}=t,h=FP(t,WP),{basename:p}=b.useContext(ei),x,y=!1;if(typeof u=="string"&&QP.test(u)&&(x=u,YP))try{let v=new URL(window.location.href),j=u.startsWith("//")?new URL(v.protocol+u):new URL(u),k=xh(j.pathname,p);j.origin===v.origin&&k!=null?u=k+j.search+j.hash:y=!0}catch{}let w=kP(u,{relative:i}),m=qP(u,{replace:o,state:a,target:c,preventScrollReset:d,relative:i,viewTransition:f});function g(v){r&&r(v),v.defaultPrevented||m(v)}return b.createElement("a",Md({},h,{href:x||w,onClick:y||s?r:g,ref:n,target:c}))});var Xm;(function(e){e.UseScrollRestoration="useScrollRestoration",e.UseSubmit="useSubmit",e.UseSubmitFetcher="useSubmitFetcher",e.UseFetcher="useFetcher",e.useViewTransitionState="useViewTransitionState"})(Xm||(Xm={}));var Jm;(function(e){e.UseFetcher="useFetcher",e.UseFetchers="useFetchers",e.UseScrollRestoration="useScrollRestoration"})(Jm||(Jm={}));function qP(e,t){let{target:n,replace:r,state:i,preventScrollReset:s,relative:o,viewTransition:a}=t===void 0?{}:t,c=SP(),u=br(),d=Nw(e,{relative:o});return b.useCallback(f=>{if(UP(f,n)){f.preventDefault();let h=r!==void 0?r:kl(u)===kl(d);c(e,{replace:h,state:i,preventScrollReset:s,relative:o,viewTransition:a})}},[u,c,d,r,i,n,e,s,o,a])}const bh=b.createContext({});function jh(e){const t=b.useRef(null);return t.current===null&&(t.current=e()),t.current}const Rw=typeof window<"u",Mw=Rw?b.useLayoutEffect:b.useEffect,oc=b.createContext(null);function kh(e,t){e.indexOf(t)===-1&&e.push(t)}function Tl(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}const cn=(e,t,n)=>n>t?t:n<e?e:n;let ac=()=>{},rs=()=>{};const En={},Dw=e=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(e);function Ow(e){return typeof e=="object"&&e!==null}const Lw=e=>/^0[^.\s]+$/u.test(e);function Iw(e){let t;return()=>(t===void 0&&(t=e()),t)}const kt=e=>e,XP=(e,t)=>n=>t(e(n)),Uo=(...e)=>e.reduce(XP),Co=(e,t,n)=>{const r=t-e;return r===0?1:(n-e)/r};class Sh{constructor(){this.subscriptions=[]}add(t){return kh(this.subscriptions,t),()=>Tl(this.subscriptions,t)}notify(t,n,r){const i=this.subscriptions.length;if(i)if(i===1)this.subscriptions[0](t,n,r);else for(let s=0;s<i;s++){const o=this.subscriptions[s];o&&o(t,n,r)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}const St=e=>e*1e3,bt=e=>e/1e3;function zw(e,t){return t?e*(1e3/t):0}const _w=(e,t,n)=>(((1-3*n+3*t)*e+(3*n-6*t))*e+3*t)*e,JP=1e-7,ZP=12;function e2(e,t,n,r,i){let s,o,a=0;do o=t+(n-t)/2,s=_w(o,r,i)-e,s>0?n=o:t=o;while(Math.abs(s)>JP&&++a<ZP);return o}function Wo(e,t,n,r){if(e===t&&n===r)return kt;const i=s=>e2(s,0,1,e,n);return s=>s===0||s===1?s:_w(i(s),t,r)}const Vw=e=>t=>t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2,Bw=e=>t=>1-e(1-t),Fw=Wo(.33,1.53,.69,.99),Th=Bw(Fw),$w=Vw(Th),Uw=e=>(e*=2)<1?.5*Th(e):.5*(2-Math.pow(2,-10*(e-1))),Ch=e=>1-Math.sin(Math.acos(e)),Ww=Bw(Ch),Hw=Vw(Ch),t2=Wo(.42,0,1,1),n2=Wo(0,0,.58,1),Kw=Wo(.42,0,.58,1),r2=e=>Array.isArray(e)&&typeof e[0]!="number",Gw=e=>Array.isArray(e)&&typeof e[0]=="number",Zm={linear:kt,easeIn:t2,easeInOut:Kw,easeOut:n2,circIn:Ch,circInOut:Hw,circOut:Ww,backIn:Th,backInOut:$w,backOut:Fw,anticipate:Uw},i2=e=>typeof e=="string",eg=e=>{if(Gw(e)){rs(e.length===4,"Cubic bezier arrays must contain four numerical values.","cubic-bezier-length");const[t,n,r,i]=e;return Wo(t,n,r,i)}else if(i2(e))return rs(Zm[e]!==void 0,`Invalid easing type '${e}'`,"invalid-easing-type"),Zm[e];return e},wa=["setup","read","resolveKeyframes","preUpdate","update","preRender","render","postRender"],tg={value:null,addProjectionMetrics:null};function s2(e,t){let n=new Set,r=new Set,i=!1,s=!1;const o=new WeakSet;let a={delta:0,timestamp:0,isProcessing:!1},c=0;function u(f){o.has(f)&&(d.schedule(f),e()),c++,f(a)}const d={schedule:(f,h=!1,p=!1)=>{const y=p&&i?n:r;return h&&o.add(f),y.has(f)||y.add(f),f},cancel:f=>{r.delete(f),o.delete(f)},process:f=>{if(a=f,i){s=!0;return}i=!0,[n,r]=[r,n],n.forEach(u),t&&tg.value&&tg.value.frameloop[t].push(c),c=0,n.clear(),i=!1,s&&(s=!1,d.process(f))}};return d}const o2=40;function Yw(e,t){let n=!1,r=!0;const i={delta:0,timestamp:0,isProcessing:!1},s=()=>n=!0,o=wa.reduce((v,j)=>(v[j]=s2(s,t?j:void 0),v),{}),{setup:a,read:c,resolveKeyframes:u,preUpdate:d,update:f,preRender:h,render:p,postRender:x}=o,y=()=>{const v=En.useManualTiming?i.timestamp:performance.now();n=!1,En.useManualTiming||(i.delta=r?1e3/60:Math.max(Math.min(v-i.timestamp,o2),1)),i.timestamp=v,i.isProcessing=!0,a.process(i),c.process(i),u.process(i),d.process(i),f.process(i),h.process(i),p.process(i),x.process(i),i.isProcessing=!1,n&&t&&(r=!1,e(y))},w=()=>{n=!0,r=!0,i.isProcessing||e(y)};return{schedule:wa.reduce((v,j)=>{const k=o[j];return v[j]=(S,T=!1,C=!1)=>(n||w(),k.schedule(S,T,C)),v},{}),cancel:v=>{for(let j=0;j<wa.length;j++)o[wa[j]].cancel(v)},state:i,steps:o}}const{schedule:oe,cancel:yr,state:Re,steps:tu}=Yw(typeof requestAnimationFrame<"u"?requestAnimationFrame:kt,!0);let $a;function a2(){$a=void 0}const Ye={now:()=>($a===void 0&&Ye.set(Re.isProcessing||En.useManualTiming?Re.timestamp:performance.now()),$a),set:e=>{$a=e,queueMicrotask(a2)}},Qw=e=>t=>typeof t=="string"&&t.startsWith(e),qw=Qw("--"),l2=Qw("var(--"),Eh=e=>l2(e)?c2.test(e.split("/*")[0].trim()):!1,c2=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu;function ng(e){return typeof e!="string"?!1:e.split("/*")[0].includes("var(--")}const fs={test:e=>typeof e=="number",parse:parseFloat,transform:e=>e},Eo={...fs,transform:e=>cn(0,1,e)},ba={...fs,default:1},Js=e=>Math.round(e*1e5)/1e5,Nh=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu;function u2(e){return e==null}const d2=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu,Ph=(e,t)=>n=>!!(typeof n=="string"&&d2.test(n)&&n.startsWith(e)||t&&!u2(n)&&Object.prototype.hasOwnProperty.call(n,t)),Xw=(e,t,n)=>r=>{if(typeof r!="string")return r;const[i,s,o,a]=r.match(Nh);return{[e]:parseFloat(i),[t]:parseFloat(s),[n]:parseFloat(o),alpha:a!==void 0?parseFloat(a):1}},f2=e=>cn(0,255,e),nu={...fs,transform:e=>Math.round(f2(e))},Dr={test:Ph("rgb","red"),parse:Xw("red","green","blue"),transform:({red:e,green:t,blue:n,alpha:r=1})=>"rgba("+nu.transform(e)+", "+nu.transform(t)+", "+nu.transform(n)+", "+Js(Eo.transform(r))+")"};function h2(e){let t="",n="",r="",i="";return e.length>5?(t=e.substring(1,3),n=e.substring(3,5),r=e.substring(5,7),i=e.substring(7,9)):(t=e.substring(1,2),n=e.substring(2,3),r=e.substring(3,4),i=e.substring(4,5),t+=t,n+=n,r+=r,i+=i),{red:parseInt(t,16),green:parseInt(n,16),blue:parseInt(r,16),alpha:i?parseInt(i,16)/255:1}}const Dd={test:Ph("#"),parse:h2,transform:Dr.transform},Ho=e=>({test:t=>typeof t=="string"&&t.endsWith(e)&&t.split(" ").length===1,parse:parseFloat,transform:t=>`${t}${e}`}),Vn=Ho("deg"),an=Ho("%"),_=Ho("px"),p2=Ho("vh"),m2=Ho("vw"),rg={...an,parse:e=>an.parse(e)/100,transform:e=>an.transform(e*100)},Si={test:Ph("hsl","hue"),parse:Xw("hue","saturation","lightness"),transform:({hue:e,saturation:t,lightness:n,alpha:r=1})=>"hsla("+Math.round(e)+", "+an.transform(Js(t))+", "+an.transform(Js(n))+", "+Js(Eo.transform(r))+")"},be={test:e=>Dr.test(e)||Dd.test(e)||Si.test(e),parse:e=>Dr.test(e)?Dr.parse(e):Si.test(e)?Si.parse(e):Dd.parse(e),transform:e=>typeof e=="string"?e:e.hasOwnProperty("red")?Dr.transform(e):Si.transform(e),getAnimatableNone:e=>{const t=be.parse(e);return t.alpha=0,be.transform(t)}},g2=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu;function y2(e){var t,n;return isNaN(e)&&typeof e=="string"&&(((t=e.match(Nh))==null?void 0:t.length)||0)+(((n=e.match(g2))==null?void 0:n.length)||0)>0}const Jw="number",Zw="color",v2="var",x2="var(",ig="${}",w2=/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 No(e){const t=e.toString(),n=[],r={color:[],number:[],var:[]},i=[];let s=0;const a=t.replace(w2,c=>(be.test(c)?(r.color.push(s),i.push(Zw),n.push(be.parse(c))):c.startsWith(x2)?(r.var.push(s),i.push(v2),n.push(c)):(r.number.push(s),i.push(Jw),n.push(parseFloat(c))),++s,ig)).split(ig);return{values:n,split:a,indexes:r,types:i}}function e1(e){return No(e).values}function t1(e){const{split:t,types:n}=No(e),r=t.length;return i=>{let s="";for(let o=0;o<r;o++)if(s+=t[o],i[o]!==void 0){const a=n[o];a===Jw?s+=Js(i[o]):a===Zw?s+=be.transform(i[o]):s+=i[o]}return s}}const b2=e=>typeof e=="number"?0:be.test(e)?be.getAnimatableNone(e):e;function j2(e){const t=e1(e);return t1(e)(t.map(b2))}const Ht={test:y2,parse:e1,createTransformer:t1,getAnimatableNone:j2};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 k2({hue:e,saturation:t,lightness:n,alpha:r}){e/=360,t/=100,n/=100;let i=0,s=0,o=0;if(!t)i=s=o=n;else{const a=n<.5?n*(1+t):n+t-n*t,c=2*n-a;i=ru(c,a,e+1/3),s=ru(c,a,e),o=ru(c,a,e-1/3)}return{red:Math.round(i*255),green:Math.round(s*255),blue:Math.round(o*255),alpha:r}}function Cl(e,t){return n=>n>0?t:e}const pe=(e,t,n)=>e+(t-e)*n,iu=(e,t,n)=>{const r=e*e,i=n*(t*t-r)+r;return i<0?0:Math.sqrt(i)},S2=[Dd,Dr,Si],T2=e=>S2.find(t=>t.test(e));function sg(e){const t=T2(e);if(ac(!!t,`'${e}' is not an animatable color. Use the equivalent color code instead.`,"color-not-animatable"),!t)return!1;let n=t.parse(e);return t===Si&&(n=k2(n)),n}const og=(e,t)=>{const n=sg(e),r=sg(t);if(!n||!r)return Cl(e,t);const i={...n};return s=>(i.red=iu(n.red,r.red,s),i.green=iu(n.green,r.green,s),i.blue=iu(n.blue,r.blue,s),i.alpha=pe(n.alpha,r.alpha,s),Dr.transform(i))},Od=new Set(["none","hidden"]);function C2(e,t){return Od.has(e)?n=>n<=0?e:t:n=>n>=1?t:e}function E2(e,t){return n=>pe(e,t,n)}function Ah(e){return typeof e=="number"?E2:typeof e=="string"?Eh(e)?Cl:be.test(e)?og:A2:Array.isArray(e)?n1:typeof e=="object"?be.test(e)?og:N2:Cl}function n1(e,t){const n=[...e],r=n.length,i=e.map((s,o)=>Ah(s)(s,t[o]));return s=>{for(let o=0;o<r;o++)n[o]=i[o](s);return n}}function N2(e,t){const n={...e,...t},r={};for(const i in n)e[i]!==void 0&&t[i]!==void 0&&(r[i]=Ah(e[i])(e[i],t[i]));return i=>{for(const s in r)n[s]=r[s](i);return n}}function P2(e,t){const n=[],r={color:0,var:0,number:0};for(let i=0;i<t.values.length;i++){const s=t.types[i],o=e.indexes[s][r[s]],a=e.values[o]??0;n[i]=a,r[s]++}return n}const A2=(e,t)=>{const n=Ht.createTransformer(t),r=No(e),i=No(t);return r.indexes.var.length===i.indexes.var.length&&r.indexes.color.length===i.indexes.color.length&&r.indexes.number.length>=i.indexes.number.length?Od.has(e)&&!i.values.length||Od.has(t)&&!r.values.length?C2(e,t):Uo(n1(P2(r,i),i.values),n):(ac(!0,`Complex values '${e}' and '${t}' too different to mix. Ensure all colors are of the same type, and that each contains the same quantity of number and color values. Falling back to instant transition.`,"complex-values-different"),Cl(e,t))};function r1(e,t,n){return typeof e=="number"&&typeof t=="number"&&typeof n=="number"?pe(e,t,n):Ah(e)(e,t)}const R2=e=>{const t=({timestamp:n})=>e(n);return{start:(n=!0)=>oe.update(t,n),stop:()=>yr(t),now:()=>Re.isProcessing?Re.timestamp:Ye.now()}},i1=(e,t,n=10)=>{let r="";const i=Math.max(Math.round(t/n),2);for(let s=0;s<i;s++)r+=Math.round(e(s/(i-1))*1e4)/1e4+", ";return`linear(${r.substring(0,r.length-2)})`},El=2e4;function Rh(e){let t=0;const n=50;let r=e.next(t);for(;!r.done&&t<El;)t+=n,r=e.next(t);return t>=El?1/0:t}function M2(e,t=100,n){const r=n({...e,keyframes:[0,t]}),i=Math.min(Rh(r),El);return{type:"keyframes",ease:s=>r.next(i*s).value/t,duration:bt(i)}}const D2=5;function s1(e,t,n){const r=Math.max(t-D2,0);return zw(n-e(r),t-r)}const fe={stiffness:100,damping:10,mass:1,velocity:0,duration:800,bounce:.3,visualDuration:.3,restSpeed:{granular:.01,default:2},restDelta:{granular:.005,default:.5},minDuration:.01,maxDuration:10,minDamping:.05,maxDamping:1},su=.001;function O2({duration:e=fe.duration,bounce:t=fe.bounce,velocity:n=fe.velocity,mass:r=fe.mass}){let i,s;ac(e<=St(fe.maxDuration),"Spring duration must be 10 seconds or less","spring-duration-limit");let o=1-t;o=cn(fe.minDamping,fe.maxDamping,o),e=cn(fe.minDuration,fe.maxDuration,bt(e)),o<1?(i=u=>{const d=u*o,f=d*e,h=d-n,p=Ld(u,o),x=Math.exp(-f);return su-h/p*x},s=u=>{const f=u*o*e,h=f*n+n,p=Math.pow(o,2)*Math.pow(u,2)*e,x=Math.exp(-f),y=Ld(Math.pow(u,2),o);return(-i(u)+su>0?-1:1)*((h-p)*x)/y}):(i=u=>{const d=Math.exp(-u*e),f=(u-n)*e+1;return-su+d*f},s=u=>{const d=Math.exp(-u*e),f=(n-u)*(e*e);return d*f});const a=5/e,c=I2(i,s,a);if(e=St(e),isNaN(c))return{stiffness:fe.stiffness,damping:fe.damping,duration:e};{const u=Math.pow(c,2)*r;return{stiffness:u,damping:o*2*Math.sqrt(r*u),duration:e}}}const L2=12;function I2(e,t,n){let r=n;for(let i=1;i<L2;i++)r=r-e(r)/t(r);return r}function Ld(e,t){return e*Math.sqrt(1-t*t)}const z2=["duration","bounce"],_2=["stiffness","damping","mass"];function ag(e,t){return t.some(n=>e[n]!==void 0)}function V2(e){let t={velocity:fe.velocity,stiffness:fe.stiffness,damping:fe.damping,mass:fe.mass,isResolvedFromDuration:!1,...e};if(!ag(e,_2)&&ag(e,z2))if(t.velocity=0,e.visualDuration){const n=e.visualDuration,r=2*Math.PI/(n*1.2),i=r*r,s=2*cn(.05,1,1-(e.bounce||0))*Math.sqrt(i);t={...t,mass:fe.mass,stiffness:i,damping:s}}else{const n=O2({...e,velocity:0});t={...t,...n,mass:fe.mass},t.isResolvedFromDuration=!0}return t}function Nl(e=fe.visualDuration,t=fe.bounce){const n=typeof e!="object"?{visualDuration:e,keyframes:[0,1],bounce:t}:e;let{restSpeed:r,restDelta:i}=n;const s=n.keyframes[0],o=n.keyframes[n.keyframes.length-1],a={done:!1,value:s},{stiffness:c,damping:u,mass:d,duration:f,velocity:h,isResolvedFromDuration:p}=V2({...n,velocity:-bt(n.velocity||0)}),x=h||0,y=u/(2*Math.sqrt(c*d)),w=o-s,m=bt(Math.sqrt(c/d)),g=Math.abs(w)<5;r||(r=g?fe.restSpeed.granular:fe.restSpeed.default),i||(i=g?fe.restDelta.granular:fe.restDelta.default);let v;if(y<1){const k=Ld(m,y);v=S=>{const T=Math.exp(-y*m*S);return o-T*((x+y*m*w)/k*Math.sin(k*S)+w*Math.cos(k*S))}}else if(y===1)v=k=>o-Math.exp(-m*k)*(w+(x+m*w)*k);else{const k=m*Math.sqrt(y*y-1);v=S=>{const T=Math.exp(-y*m*S),C=Math.min(k*S,300);return o-T*((x+y*m*w)*Math.sinh(C)+k*w*Math.cosh(C))/k}}const j={calculatedDuration:p&&f||null,next:k=>{const S=v(k);if(p)a.done=k>=f;else{let T=k===0?x:0;y<1&&(T=k===0?St(x):s1(v,k,S));const C=Math.abs(T)<=r,A=Math.abs(o-S)<=i;a.done=C&&A}return a.value=a.done?o:S,a},toString:()=>{const k=Math.min(Rh(j),El),S=i1(T=>j.next(k*T).value,k,30);return k+"ms "+S},toTransition:()=>{}};return j}Nl.applyToOptions=e=>{const t=M2(e,100,Nl);return e.ease=t.ease,e.duration=St(t.duration),e.type="keyframes",e};function Id({keyframes:e,velocity:t=0,power:n=.8,timeConstant:r=325,bounceDamping:i=10,bounceStiffness:s=500,modifyTarget:o,min:a,max:c,restDelta:u=.5,restSpeed:d}){const f=e[0],h={done:!1,value:f},p=C=>a!==void 0&&C<a||c!==void 0&&C>c,x=C=>a===void 0?c:c===void 0||Math.abs(a-C)<Math.abs(c-C)?a:c;let y=n*t;const w=f+y,m=o===void 0?w:o(w);m!==w&&(y=m-f);const g=C=>-y*Math.exp(-C/r),v=C=>m+g(C),j=C=>{const A=g(C),R=v(C);h.done=Math.abs(A)<=u,h.value=h.done?m:R};let k,S;const T=C=>{p(h.value)&&(k=C,S=Nl({keyframes:[h.value,x(h.value)],velocity:s1(v,C,h.value),damping:i,stiffness:s,restDelta:u,restSpeed:d}))};return T(0),{calculatedDuration:null,next:C=>{let A=!1;return!S&&k===void 0&&(A=!0,j(C),T(C)),k!==void 0&&C>=k?S.next(C-k):(!A&&j(C),h)}}}function B2(e,t,n){const r=[],i=n||En.mix||r1,s=e.length-1;for(let o=0;o<s;o++){let a=i(e[o],e[o+1]);if(t){const c=Array.isArray(t)?t[o]||kt:t;a=Uo(c,a)}r.push(a)}return r}function F2(e,t,{clamp:n=!0,ease:r,mixer:i}={}){const s=e.length;if(rs(s===t.length,"Both input and output ranges must be the same length","range-length"),s===1)return()=>t[0];if(s===2&&t[0]===t[1])return()=>t[1];const o=e[0]===e[1];e[0]>e[s-1]&&(e=[...e].reverse(),t=[...t].reverse());const a=B2(t,r,i),c=a.length,u=d=>{if(o&&d<e[0])return t[0];let f=0;if(c>1)for(;f<e.length-2&&!(d<e[f+1]);f++);const h=Co(e[f],e[f+1],d);return a[f](h)};return n?d=>u(cn(e[0],e[s-1],d)):u}function $2(e,t){const n=e[e.length-1];for(let r=1;r<=t;r++){const i=Co(0,t,r);e.push(pe(n,1,i))}}function U2(e){const t=[0];return $2(t,e.length-1),t}function W2(e,t){return e.map(n=>n*t)}function H2(e,t){return e.map(()=>t||Kw).splice(0,e.length-1)}function Zs({duration:e=300,keyframes:t,times:n,ease:r="easeInOut"}){const i=r2(r)?r.map(eg):eg(r),s={done:!1,value:t[0]},o=W2(n&&n.length===t.length?n:U2(t),e),a=F2(o,t,{ease:Array.isArray(i)?i:H2(t,i)});return{calculatedDuration:e,next:c=>(s.value=a(c),s.done=c>=e,s)}}const K2=e=>e!==null;function Mh(e,{repeat:t,repeatType:n="loop"},r,i=1){const s=e.filter(K2),a=i<0||t&&n!=="loop"&&t%2===1?0:s.length-1;return!a||r===void 0?s[a]:r}const G2={decay:Id,inertia:Id,tween:Zs,keyframes:Zs,spring:Nl};function o1(e){typeof e.type=="string"&&(e.type=G2[e.type])}class Dh{constructor(){this.updateFinished()}get finished(){return this._finished}updateFinished(){this._finished=new Promise(t=>{this.resolve=t})}notifyFinished(){this.resolve()}then(t,n){return this.finished.then(t,n)}}const Y2=e=>e/100;class Oh extends Dh{constructor(t){super(),this.state="idle",this.startTime=null,this.isStopped=!1,this.currentTime=0,this.holdTime=null,this.playbackSpeed=1,this.stop=()=>{var r,i;const{motionValue:n}=this.options;n&&n.updatedAt!==Ye.now()&&this.tick(Ye.now()),this.isStopped=!0,this.state!=="idle"&&(this.teardown(),(i=(r=this.options).onStop)==null||i.call(r))},this.options=t,this.initAnimation(),this.play(),t.autoplay===!1&&this.pause()}initAnimation(){const{options:t}=this;o1(t);const{type:n=Zs,repeat:r=0,repeatDelay:i=0,repeatType:s,velocity:o=0}=t;let{keyframes:a}=t;const c=n||Zs;c!==Zs&&typeof a[0]!="number"&&(this.mixKeyframes=Uo(Y2,r1(a[0],a[1])),a=[0,100]);const u=c({...t,keyframes:a});s==="mirror"&&(this.mirroredGenerator=c({...t,keyframes:[...a].reverse(),velocity:-o})),u.calculatedDuration===null&&(u.calculatedDuration=Rh(u));const{calculatedDuration:d}=u;this.calculatedDuration=d,this.resolvedDuration=d+i,this.totalDuration=this.resolvedDuration*(r+1)-i,this.generator=u}updateTime(t){const n=Math.round(t-this.startTime)*this.playbackSpeed;this.holdTime!==null?this.currentTime=this.holdTime:this.currentTime=n}tick(t,n=!1){const{generator:r,totalDuration:i,mixKeyframes:s,mirroredGenerator:o,resolvedDuration:a,calculatedDuration:c}=this;if(this.startTime===null)return r.next(0);const{delay:u=0,keyframes:d,repeat:f,repeatType:h,repeatDelay:p,type:x,onUpdate:y,finalKeyframe:w}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,t):this.speed<0&&(this.startTime=Math.min(t-i/this.speed,this.startTime)),n?this.currentTime=t:this.updateTime(t);const m=this.currentTime-u*(this.playbackSpeed>=0?1:-1),g=this.playbackSpeed>=0?m<0:m>i;this.currentTime=Math.max(m,0),this.state==="finished"&&this.holdTime===null&&(this.currentTime=i);let v=this.currentTime,j=r;if(f){const C=Math.min(this.currentTime,i)/a;let A=Math.floor(C),R=C%1;!R&&C>=1&&(R=1),R===1&&A--,A=Math.min(A,f+1),!!(A%2)&&(h==="reverse"?(R=1-R,p&&(R-=p/a)):h==="mirror"&&(j=o)),v=cn(0,1,R)*a}const k=g?{done:!1,value:d[0]}:j.next(v);s&&(k.value=s(k.value));let{done:S}=k;!g&&c!==null&&(S=this.playbackSpeed>=0?this.currentTime>=i:this.currentTime<=0);const T=this.holdTime===null&&(this.state==="finished"||this.state==="running"&&S);return T&&x!==Id&&(k.value=Mh(d,this.options,w,this.speed)),y&&y(k.value),T&&this.finish(),k}then(t,n){return this.finished.then(t,n)}get duration(){return bt(this.calculatedDuration)}get iterationDuration(){const{delay:t=0}=this.options||{};return this.duration+bt(t)}get time(){return bt(this.currentTime)}set time(t){var n;t=St(t),this.currentTime=t,this.startTime===null||this.holdTime!==null||this.playbackSpeed===0?this.holdTime=t:this.driver&&(this.startTime=this.driver.now()-t/this.playbackSpeed),(n=this.driver)==null||n.start(!1)}get speed(){return this.playbackSpeed}set speed(t){this.updateTime(Ye.now());const n=this.playbackSpeed!==t;this.playbackSpeed=t,n&&(this.time=bt(this.currentTime))}play(){var i,s;if(this.isStopped)return;const{driver:t=R2,startTime:n}=this.options;this.driver||(this.driver=t(o=>this.tick(o))),(s=(i=this.options).onPlay)==null||s.call(i);const r=this.driver.now();this.state==="finished"?(this.updateFinished(),this.startTime=r):this.holdTime!==null?this.startTime=r-this.holdTime:this.startTime||(this.startTime=n??r),this.state==="finished"&&this.speed<0&&(this.startTime+=this.calculatedDuration),this.holdTime=null,this.state="running",this.driver.start()}pause(){this.state="paused",this.updateTime(Ye.now()),this.holdTime=this.currentTime}complete(){this.state!=="running"&&this.play(),this.state="finished",this.holdTime=null}finish(){var t,n;this.notifyFinished(),this.teardown(),this.state="finished",(n=(t=this.options).onComplete)==null||n.call(t)}cancel(){var t,n;this.holdTime=null,this.startTime=0,this.tick(0),this.teardown(),(n=(t=this.options).onCancel)==null||n.call(t)}teardown(){this.state="idle",this.stopDriver(),this.startTime=this.holdTime=null}stopDriver(){this.driver&&(this.driver.stop(),this.driver=void 0)}sample(t){return this.startTime=0,this.tick(t,!0)}attachTimeline(t){var n;return this.options.allowFlatten&&(this.options.type="keyframes",this.options.ease="linear",this.initAnimation()),(n=this.driver)==null||n.stop(),t.observe(this)}}function Q2(e){for(let t=1;t<e.length;t++)e[t]??(e[t]=e[t-1])}const Or=e=>e*180/Math.PI,zd=e=>{const t=Or(Math.atan2(e[1],e[0]));return _d(t)},q2={x:4,y:5,translateX:4,translateY:5,scaleX:0,scaleY:3,scale:e=>(Math.abs(e[0])+Math.abs(e[3]))/2,rotate:zd,rotateZ:zd,skewX:e=>Or(Math.atan(e[1])),skewY:e=>Or(Math.atan(e[2])),skew:e=>(Math.abs(e[1])+Math.abs(e[2]))/2},_d=e=>(e=e%360,e<0&&(e+=360),e),lg=zd,cg=e=>Math.sqrt(e[0]*e[0]+e[1]*e[1]),ug=e=>Math.sqrt(e[4]*e[4]+e[5]*e[5]),X2={x:12,y:13,z:14,translateX:12,translateY:13,translateZ:14,scaleX:cg,scaleY:ug,scale:e=>(cg(e)+ug(e))/2,rotateX:e=>_d(Or(Math.atan2(e[6],e[5]))),rotateY:e=>_d(Or(Math.atan2(-e[2],e[0]))),rotateZ:lg,rotate:lg,skewX:e=>Or(Math.atan(e[4])),skewY:e=>Or(Math.atan(e[1])),skew:e=>(Math.abs(e[1])+Math.abs(e[4]))/2};function Vd(e){return e.includes("scale")?1:0}function Bd(e,t){if(!e||e==="none")return Vd(t);const n=e.match(/^matrix3d\(([-\d.e\s,]+)\)$/u);let r,i;if(n)r=X2,i=n;else{const a=e.match(/^matrix\(([-\d.e\s,]+)\)$/u);r=q2,i=a}if(!i)return Vd(t);const s=r[t],o=i[1].split(",").map(Z2);return typeof s=="function"?s(o):o[s]}const J2=(e,t)=>{const{transform:n="none"}=getComputedStyle(e);return Bd(n,t)};function Z2(e){return parseFloat(e.trim())}const hs=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],ps=new Set(hs),dg=e=>e===fs||e===_,eA=new Set(["x","y","z"]),tA=hs.filter(e=>!eA.has(e));function nA(e){const t=[];return tA.forEach(n=>{const r=e.getValue(n);r!==void 0&&(t.push([n,r.get()]),r.set(n.startsWith("scale")?1:0))}),t}const Zn={width:({x:e},{paddingLeft:t="0",paddingRight:n="0"})=>e.max-e.min-parseFloat(t)-parseFloat(n),height:({y:e},{paddingTop:t="0",paddingBottom:n="0"})=>e.max-e.min-parseFloat(t)-parseFloat(n),top:(e,{top:t})=>parseFloat(t),left:(e,{left:t})=>parseFloat(t),bottom:({y:e},{top:t})=>parseFloat(t)+(e.max-e.min),right:({x:e},{left:t})=>parseFloat(t)+(e.max-e.min),x:(e,{transform:t})=>Bd(t,"x"),y:(e,{transform:t})=>Bd(t,"y")};Zn.translateX=Zn.x;Zn.translateY=Zn.y;const Wr=new Set;let Fd=!1,$d=!1,Ud=!1;function a1(){if($d){const e=Array.from(Wr).filter(r=>r.needsMeasurement),t=new Set(e.map(r=>r.element)),n=new Map;t.forEach(r=>{const i=nA(r);i.length&&(n.set(r,i),r.render())}),e.forEach(r=>r.measureInitialState()),t.forEach(r=>{r.render();const i=n.get(r);i&&i.forEach(([s,o])=>{var a;(a=r.getValue(s))==null||a.set(o)})}),e.forEach(r=>r.measureEndState()),e.forEach(r=>{r.suspendedScrollY!==void 0&&window.scrollTo(0,r.suspendedScrollY)})}$d=!1,Fd=!1,Wr.forEach(e=>e.complete(Ud)),Wr.clear()}function l1(){Wr.forEach(e=>{e.readKeyframes(),e.needsMeasurement&&($d=!0)})}function rA(){Ud=!0,l1(),a1(),Ud=!1}class Lh{constructor(t,n,r,i,s,o=!1){this.state="pending",this.isAsync=!1,this.needsMeasurement=!1,this.unresolvedKeyframes=[...t],this.onComplete=n,this.name=r,this.motionValue=i,this.element=s,this.isAsync=o}scheduleResolve(){this.state="scheduled",this.isAsync?(Wr.add(this),Fd||(Fd=!0,oe.read(l1),oe.resolveKeyframes(a1))):(this.readKeyframes(),this.complete())}readKeyframes(){const{unresolvedKeyframes:t,name:n,element:r,motionValue:i}=this;if(t[0]===null){const s=i==null?void 0:i.get(),o=t[t.length-1];if(s!==void 0)t[0]=s;else if(r&&n){const a=r.readValue(n,o);a!=null&&(t[0]=a)}t[0]===void 0&&(t[0]=o),i&&s===void 0&&i.set(t[0])}Q2(t)}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(t=!1){this.state="complete",this.onComplete(this.unresolvedKeyframes,this.finalKeyframe,t),Wr.delete(this)}cancel(){this.state==="scheduled"&&(Wr.delete(this),this.state="pending")}resume(){this.state==="pending"&&this.scheduleResolve()}}const iA=e=>e.startsWith("--");function sA(e,t,n){iA(t)?e.style.setProperty(t,n):e.style[t]=n}const oA={};function c1(e,t){const n=Iw(e);return()=>oA[t]??n()}const aA=c1(()=>window.ScrollTimeline!==void 0,"scrollTimeline"),u1=c1(()=>{try{document.createElement("div").animate({opacity:0},{easing:"linear(0, 1)"})}catch{return!1}return!0},"linearEasing"),Fs=([e,t,n,r])=>`cubic-bezier(${e}, ${t}, ${n}, ${r})`,fg={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:Fs([0,.65,.55,1]),circOut:Fs([.55,0,1,.45]),backIn:Fs([.31,.01,.66,-.59]),backOut:Fs([.33,1.53,.69,.99])};function d1(e,t){if(e)return typeof e=="function"?u1()?i1(e,t):"ease-out":Gw(e)?Fs(e):Array.isArray(e)?e.map(n=>d1(n,t)||fg.easeOut):fg[e]}function lA(e,t,n,{delay:r=0,duration:i=300,repeat:s=0,repeatType:o="loop",ease:a="easeOut",times:c}={},u=void 0){const d={[t]:n};c&&(d.offset=c);const f=d1(a,i);Array.isArray(f)&&(d.easing=f);const h={delay:r,duration:i,easing:Array.isArray(f)?"linear":f,fill:"both",iterations:s+1,direction:o==="reverse"?"alternate":"normal"};return u&&(h.pseudoElement=u),e.animate(d,h)}function f1(e){return typeof e=="function"&&"applyToOptions"in e}function cA({type:e,...t}){return f1(e)&&u1()?e.applyToOptions(t):(t.duration??(t.duration=300),t.ease??(t.ease="easeOut"),t)}class h1 extends Dh{constructor(t){if(super(),this.finishedTime=null,this.isStopped=!1,this.manualStartTime=null,!t)return;const{element:n,name:r,keyframes:i,pseudoElement:s,allowFlatten:o=!1,finalKeyframe:a,onComplete:c}=t;this.isPseudoElement=!!s,this.allowFlatten=o,this.options=t,rs(typeof t.type!="string",`Mini animate() doesn't support "type" as a string.`,"mini-spring");const u=cA(t);this.animation=lA(n,r,i,u,s),u.autoplay===!1&&this.animation.pause(),this.animation.onfinish=()=>{if(this.finishedTime=this.time,!s){const d=Mh(i,this.options,a,this.speed);this.updateMotionValue?this.updateMotionValue(d):sA(n,r,d),this.animation.cancel()}c==null||c(),this.notifyFinished()}}play(){this.isStopped||(this.manualStartTime=null,this.animation.play(),this.state==="finished"&&this.updateFinished())}pause(){this.animation.pause()}complete(){var t,n;(n=(t=this.animation).finish)==null||n.call(t)}cancel(){try{this.animation.cancel()}catch{}}stop(){if(this.isStopped)return;this.isStopped=!0;const{state:t}=this;t==="idle"||t==="finished"||(this.updateMotionValue?this.updateMotionValue():this.commitStyles(),this.isPseudoElement||this.cancel())}commitStyles(){var n,r,i;const t=(n=this.options)==null?void 0:n.element;!this.isPseudoElement&&(t!=null&&t.isConnected)&&((i=(r=this.animation).commitStyles)==null||i.call(r))}get duration(){var n,r;const t=((r=(n=this.animation.effect)==null?void 0:n.getComputedTiming)==null?void 0:r.call(n).duration)||0;return bt(Number(t))}get iterationDuration(){const{delay:t=0}=this.options||{};return this.duration+bt(t)}get time(){return bt(Number(this.animation.currentTime)||0)}set time(t){this.manualStartTime=null,this.finishedTime=null,this.animation.currentTime=St(t)}get speed(){return this.animation.playbackRate}set speed(t){t<0&&(this.finishedTime=null),this.animation.playbackRate=t}get state(){return this.finishedTime!==null?"finished":this.animation.playState}get startTime(){return this.manualStartTime??Number(this.animation.startTime)}set startTime(t){this.manualStartTime=this.animation.startTime=t}attachTimeline({timeline:t,observe:n}){var r;return this.allowFlatten&&((r=this.animation.effect)==null||r.updateTiming({easing:"linear"})),this.animation.onfinish=null,t&&aA()?(this.animation.timeline=t,kt):n(this)}}const p1={anticipate:Uw,backInOut:$w,circInOut:Hw};function uA(e){return e in p1}function dA(e){typeof e.ease=="string"&&uA(e.ease)&&(e.ease=p1[e.ease])}const ou=10;class fA extends h1{constructor(t){dA(t),o1(t),super(t),t.startTime!==void 0&&(this.startTime=t.startTime),this.options=t}updateMotionValue(t){const{motionValue:n,onUpdate:r,onComplete:i,element:s,...o}=this.options;if(!n)return;if(t!==void 0){n.set(t);return}const a=new Oh({...o,autoplay:!1}),c=Math.max(ou,Ye.now()-this.startTime),u=cn(0,ou,c-ou);n.setWithVelocity(a.sample(Math.max(0,c-u)).value,a.sample(c).value,u),a.stop()}}const hg=(e,t)=>t==="zIndex"?!1:!!(typeof e=="number"||Array.isArray(e)||typeof e=="string"&&(Ht.test(e)||e==="0")&&!e.startsWith("url("));function hA(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 pA(e,t,n,r){const i=e[0];if(i===null)return!1;if(t==="display"||t==="visibility")return!0;const s=e[e.length-1],o=hg(i,t),a=hg(s,t);return ac(o===a,`You are trying to animate ${t} from "${i}" to "${s}". "${o?s:i}" is not an animatable value.`,"value-not-animatable"),!o||!a?!1:hA(e)||(n==="spring"||f1(n))&&r}function Wd(e){e.duration=0,e.type="keyframes"}const mA=new Set(["opacity","clipPath","filter","transform"]),gA=Iw(()=>Object.hasOwnProperty.call(Element.prototype,"animate"));function yA(e){var d;const{motionValue:t,name:n,repeatDelay:r,repeatType:i,damping:s,type:o}=e;if(!(((d=t==null?void 0:t.owner)==null?void 0:d.current)instanceof HTMLElement))return!1;const{onUpdate:c,transformTemplate:u}=t.owner.getProps();return gA()&&n&&mA.has(n)&&(n!=="transform"||!u)&&!c&&!r&&i!=="mirror"&&s!==0&&o!=="inertia"}const vA=40;class xA extends Dh{constructor({autoplay:t=!0,delay:n=0,type:r="keyframes",repeat:i=0,repeatDelay:s=0,repeatType:o="loop",keyframes:a,name:c,motionValue:u,element:d,...f}){var x;super(),this.stop=()=>{var y,w;this._animation&&(this._animation.stop(),(y=this.stopTimeline)==null||y.call(this)),(w=this.keyframeResolver)==null||w.cancel()},this.createdAt=Ye.now();const h={autoplay:t,delay:n,type:r,repeat:i,repeatDelay:s,repeatType:o,name:c,motionValue:u,element:d,...f},p=(d==null?void 0:d.KeyframeResolver)||Lh;this.keyframeResolver=new p(a,(y,w,m)=>this.onKeyframesResolved(y,w,h,!m),c,u,d),(x=this.keyframeResolver)==null||x.scheduleResolve()}onKeyframesResolved(t,n,r,i){var w,m;this.keyframeResolver=void 0;const{name:s,type:o,velocity:a,delay:c,isHandoff:u,onUpdate:d}=r;this.resolvedAt=Ye.now(),pA(t,s,o,a)||((En.instantAnimations||!c)&&(d==null||d(Mh(t,r,n))),t[0]=t[t.length-1],Wd(r),r.repeat=0);const h={startTime:i?this.resolvedAt?this.resolvedAt-this.createdAt>vA?this.resolvedAt:this.createdAt:this.createdAt:void 0,finalKeyframe:n,...r,keyframes:t},p=!u&&yA(h),x=(m=(w=h.motionValue)==null?void 0:w.owner)==null?void 0:m.current,y=p?new fA({...h,element:x}):new Oh(h);y.finished.then(()=>{this.notifyFinished()}).catch(kt),this.pendingTimeline&&(this.stopTimeline=y.attachTimeline(this.pendingTimeline),this.pendingTimeline=void 0),this._animation=y}get finished(){return this._animation?this.animation.finished:this._finished}then(t,n){return this.finished.finally(t).then(()=>{})}get animation(){var t;return this._animation||((t=this.keyframeResolver)==null||t.resume(),rA()),this._animation}get duration(){return this.animation.duration}get iterationDuration(){return this.animation.iterationDuration}get time(){return this.animation.time}set time(t){this.animation.time=t}get speed(){return this.animation.speed}get state(){return this.animation.state}set speed(t){this.animation.speed=t}get startTime(){return this.animation.startTime}attachTimeline(t){return this._animation?this.stopTimeline=this.animation.attachTimeline(t):this.pendingTimeline=t,()=>this.stop()}play(){this.animation.play()}pause(){this.animation.pause()}complete(){this.animation.complete()}cancel(){var t;this._animation&&this.animation.cancel(),(t=this.keyframeResolver)==null||t.cancel()}}function m1(e,t,n,r=0,i=1){const s=Array.from(e).sort((u,d)=>u.sortNodePosition(d)).indexOf(t),o=e.size,a=(o-1)*r;return typeof n=="function"?n(s,o):i===1?s*r:a-s*r}const wA=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;function bA(e){const t=wA.exec(e);if(!t)return[,];const[,n,r,i]=t;return[`--${n??r}`,i]}const jA=4;function g1(e,t,n=1){rs(n<=jA,`Max CSS variable fallback depth detected in property "${e}". This may indicate a circular fallback dependency.`,"max-css-var-depth");const[r,i]=bA(e);if(!r)return;const s=window.getComputedStyle(t).getPropertyValue(r);if(s){const o=s.trim();return Dw(o)?parseFloat(o):o}return Eh(i)?g1(i,t,n+1):i}const kA={type:"spring",stiffness:500,damping:25,restSpeed:10},SA=e=>({type:"spring",stiffness:550,damping:e===0?2*Math.sqrt(550):30,restSpeed:10}),TA={type:"keyframes",duration:.8},CA={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},EA=(e,{keyframes:t})=>t.length>2?TA:ps.has(e)?e.startsWith("scale")?SA(t[1]):kA:CA,NA=e=>e!==null;function PA(e,{repeat:t,repeatType:n="loop"},r){const i=e.filter(NA),s=t&&n!=="loop"&&t%2===1?0:i.length-1;return!s||r===void 0?i[s]:r}function y1(e,t){if(e!=null&&e.inherit&&t){const{inherit:n,...r}=e;return{...t,...r}}return e}function Ih(e,t){const n=(e==null?void 0:e[t])??(e==null?void 0:e.default)??e;return n!==e?y1(n,e):n}function AA({when:e,delay:t,delayChildren:n,staggerChildren:r,staggerDirection:i,repeat:s,repeatType:o,repeatDelay:a,from:c,elapsed:u,...d}){return!!Object.keys(d).length}const zh=(e,t,n,r={},i,s)=>o=>{const a=Ih(r,e)||{},c=a.delay||r.delay||0;let{elapsed:u=0}=r;u=u-St(c);const d={keyframes:Array.isArray(n)?n:[null,n],ease:"easeOut",velocity:t.getVelocity(),...a,delay:-u,onUpdate:h=>{t.set(h),a.onUpdate&&a.onUpdate(h)},onComplete:()=>{o(),a.onComplete&&a.onComplete()},name:e,motionValue:t,element:s?void 0:i};AA(a)||Object.assign(d,EA(e,d)),d.duration&&(d.duration=St(d.duration)),d.repeatDelay&&(d.repeatDelay=St(d.repeatDelay)),d.from!==void 0&&(d.keyframes[0]=d.from);let f=!1;if((d.type===!1||d.duration===0&&!d.repeatDelay)&&(Wd(d),d.delay===0&&(f=!0)),(En.instantAnimations||En.skipAnimations||i!=null&&i.shouldSkipAnimations)&&(f=!0,Wd(d),d.delay=0),d.allowFlatten=!a.type&&!a.ease,f&&!s&&t.get()!==void 0){const h=PA(d.keyframes,a);if(h!==void 0){oe.update(()=>{d.onUpdate(h),d.onComplete()});return}}return a.isSync?new Oh(d):new xA(d)};function pg(e){const t=[{},{}];return e==null||e.values.forEach((n,r)=>{t[0][r]=n.get(),t[1][r]=n.getVelocity()}),t}function _h(e,t,n,r){if(typeof t=="function"){const[i,s]=pg(r);t=t(n!==void 0?n:e.custom,i,s)}if(typeof t=="string"&&(t=e.variants&&e.variants[t]),typeof t=="function"){const[i,s]=pg(r);t=t(n!==void 0?n:e.custom,i,s)}return t}function Vi(e,t,n){const r=e.getProps();return _h(r,t,n!==void 0?n:r.custom,e)}const v1=new Set(["width","height","top","left","right","bottom",...hs]),mg=30,RA=e=>!isNaN(parseFloat(e));class MA{constructor(t,n={}){this.canTrackVelocity=null,this.events={},this.updateAndNotify=r=>{var s;const i=Ye.now();if(this.updatedAt!==i&&this.setPrevFrameValue(),this.prev=this.current,this.setCurrent(r),this.current!==this.prev&&((s=this.events.change)==null||s.notify(this.current),this.dependents))for(const o of this.dependents)o.dirty()},this.hasAnimated=!1,this.setCurrent(t),this.owner=n.owner}setCurrent(t){this.current=t,this.updatedAt=Ye.now(),this.canTrackVelocity===null&&t!==void 0&&(this.canTrackVelocity=RA(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 Sh);const r=this.events[t].add(n);return t==="change"?()=>{r(),oe.read(()=>{this.events.change.getSize()||this.stop()})}:r}clearListeners(){for(const t in this.events)this.events[t].clear()}attach(t,n){this.passiveEffect=t,this.stopPassiveEffect=n}set(t){this.passiveEffect?this.passiveEffect(t,this.updateAndNotify):this.updateAndNotify(t)}setWithVelocity(t,n,r){this.set(n),this.prev=void 0,this.prevFrameValue=t,this.prevUpdatedAt=this.updatedAt-r}jump(t,n=!0){this.updateAndNotify(t),this.prev=t,this.prevUpdatedAt=this.prevFrameValue=void 0,n&&this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}dirty(){var t;(t=this.events.change)==null||t.notify(this.current)}addDependent(t){this.dependents||(this.dependents=new Set),this.dependents.add(t)}removeDependent(t){this.dependents&&this.dependents.delete(t)}get(){return this.current}getPrevious(){return this.prev}getVelocity(){const t=Ye.now();if(!this.canTrackVelocity||this.prevFrameValue===void 0||t-this.updatedAt>mg)return 0;const n=Math.min(this.updatedAt-this.prevUpdatedAt,mg);return zw(parseFloat(this.current)-parseFloat(this.prevFrameValue),n)}start(t){return this.stop(),new Promise(n=>{this.hasAnimated=!0,this.animation=t(n),this.events.animationStart&&this.events.animationStart.notify()}).then(()=>{this.events.animationComplete&&this.events.animationComplete.notify(),this.clearAnimation()})}stop(){this.animation&&(this.animation.stop(),this.events.animationCancel&&this.events.animationCancel.notify()),this.clearAnimation()}isAnimating(){return!!this.animation}clearAnimation(){delete this.animation}destroy(){var t,n;(t=this.dependents)==null||t.clear(),(n=this.events.destroy)==null||n.notify(),this.clearListeners(),this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}}function is(e,t){return new MA(e,t)}const Hd=e=>Array.isArray(e);function DA(e,t,n){e.hasValue(t)?e.getValue(t).set(n):e.addValue(t,is(n))}function OA(e){return Hd(e)?e[e.length-1]||0:e}function LA(e,t){const n=Vi(e,t);let{transitionEnd:r={},transition:i={},...s}=n||{};s={...s,...r};for(const o in s){const a=OA(s[o]);DA(e,o,a)}}const Fe=e=>!!(e&&e.getVelocity);function IA(e){return!!(Fe(e)&&e.add)}function Kd(e,t){const n=e.getValue("willChange");if(IA(n))return n.add(t);if(!n&&En.WillChange){const r=new En.WillChange("auto");e.addValue("willChange",r),r.add(t)}}function Vh(e){return e.replace(/([A-Z])/g,t=>`-${t.toLowerCase()}`)}const zA="framerAppearId",x1="data-"+Vh(zA);function w1(e){return e.props[x1]}function _A({protectedKeys:e,needsAnimating:t},n){const r=e.hasOwnProperty(n)&&t[n]!==!0;return t[n]=!1,r}function b1(e,t,{delay:n=0,transitionOverride:r,type:i}={}){let{transition:s,transitionEnd:o,...a}=t;const c=e.getDefaultTransition();s=s?y1(s,c):c;const u=s==null?void 0:s.reduceMotion;r&&(s=r);const d=[],f=i&&e.animationState&&e.animationState.getState()[i];for(const h in a){const p=e.getValue(h,e.latestValues[h]??null),x=a[h];if(x===void 0||f&&_A(f,h))continue;const y={delay:n,...Ih(s||{},h)},w=p.get();if(w!==void 0&&!p.isAnimating&&!Array.isArray(x)&&x===w&&!y.velocity)continue;let m=!1;if(window.MotionHandoffAnimation){const j=w1(e);if(j){const k=window.MotionHandoffAnimation(j,h,oe);k!==null&&(y.startTime=k,m=!0)}}Kd(e,h);const g=u??e.shouldReduceMotion;p.start(zh(h,p,x,g&&v1.has(h)?{type:!1}:y,e,m));const v=p.animation;v&&d.push(v)}if(o){const h=()=>oe.update(()=>{o&&LA(e,o)});d.length?Promise.all(d).then(h):h()}return d}function Gd(e,t,n={}){var c;const r=Vi(e,t,n.type==="exit"?(c=e.presenceContext)==null?void 0:c.custom:void 0);let{transition:i=e.getDefaultTransition()||{}}=r||{};n.transitionOverride&&(i=n.transitionOverride);const s=r?()=>Promise.all(b1(e,r,n)):()=>Promise.resolve(),o=e.variantChildren&&e.variantChildren.size?(u=0)=>{const{delayChildren:d=0,staggerChildren:f,staggerDirection:h}=i;return VA(e,t,u,d,f,h,n)}:()=>Promise.resolve(),{when:a}=i;if(a){const[u,d]=a==="beforeChildren"?[s,o]:[o,s];return u().then(()=>d())}else return Promise.all([s(),o(n.delay)])}function VA(e,t,n=0,r=0,i=0,s=1,o){const a=[];for(const c of e.variantChildren)c.notify("AnimationStart",t),a.push(Gd(c,t,{...o,delay:n+(typeof r=="function"?0:r)+m1(e.variantChildren,c,r,i,s)}).then(()=>c.notify("AnimationComplete",t)));return Promise.all(a)}function BA(e,t,n={}){e.notify("AnimationStart",t);let r;if(Array.isArray(t)){const i=t.map(s=>Gd(e,s,n));r=Promise.all(i)}else if(typeof t=="string")r=Gd(e,t,n);else{const i=typeof t=="function"?Vi(e,t,n.custom):t;r=Promise.all(b1(e,i,n))}return r.then(()=>{e.notify("AnimationComplete",t)})}const FA={test:e=>e==="auto",parse:e=>e},j1=e=>t=>t.test(e),k1=[fs,_,an,Vn,m2,p2,FA],gg=e=>k1.find(j1(e));function $A(e){return typeof e=="number"?e===0:e!==null?e==="none"||e==="0"||Lw(e):!0}const UA=new Set(["brightness","contrast","saturate","opacity"]);function WA(e){const[t,n]=e.slice(0,-1).split("(");if(t==="drop-shadow")return e;const[r]=n.match(Nh)||[];if(!r)return e;const i=n.replace(r,"");let s=UA.has(t)?1:0;return r!==n&&(s*=100),t+"("+s+i+")"}const HA=/\b([a-z-]*)\(.*?\)/gu,Yd={...Ht,getAnimatableNone:e=>{const t=e.match(HA);return t?t.map(WA).join(" "):e}},Qd={...Ht,getAnimatableNone:e=>{const t=Ht.parse(e);return Ht.createTransformer(e)(t.map(r=>typeof r=="number"?0:typeof r=="object"?{...r,alpha:1}:r))}},yg={...fs,transform:Math.round},KA={rotate:Vn,rotateX:Vn,rotateY:Vn,rotateZ:Vn,scale:ba,scaleX:ba,scaleY:ba,scaleZ:ba,skew:Vn,skewX:Vn,skewY:Vn,distance:_,translateX:_,translateY:_,translateZ:_,x:_,y:_,z:_,perspective:_,transformPerspective:_,opacity:Eo,originX:rg,originY:rg,originZ:_},Bh={borderWidth:_,borderTopWidth:_,borderRightWidth:_,borderBottomWidth:_,borderLeftWidth:_,borderRadius:_,borderTopLeftRadius:_,borderTopRightRadius:_,borderBottomRightRadius:_,borderBottomLeftRadius:_,width:_,maxWidth:_,height:_,maxHeight:_,top:_,right:_,bottom:_,left:_,inset:_,insetBlock:_,insetBlockStart:_,insetBlockEnd:_,insetInline:_,insetInlineStart:_,insetInlineEnd:_,padding:_,paddingTop:_,paddingRight:_,paddingBottom:_,paddingLeft:_,paddingBlock:_,paddingBlockStart:_,paddingBlockEnd:_,paddingInline:_,paddingInlineStart:_,paddingInlineEnd:_,margin:_,marginTop:_,marginRight:_,marginBottom:_,marginLeft:_,marginBlock:_,marginBlockStart:_,marginBlockEnd:_,marginInline:_,marginInlineStart:_,marginInlineEnd:_,fontSize:_,backgroundPositionX:_,backgroundPositionY:_,...KA,zIndex:yg,fillOpacity:Eo,strokeOpacity:Eo,numOctaves:yg},GA={...Bh,color:be,backgroundColor:be,outlineColor:be,fill:be,stroke:be,borderColor:be,borderTopColor:be,borderRightColor:be,borderBottomColor:be,borderLeftColor:be,filter:Yd,WebkitFilter:Yd,mask:Qd,WebkitMask:Qd},S1=e=>GA[e],YA=new Set([Yd,Qd]);function T1(e,t){let n=S1(e);return YA.has(n)||(n=Ht),n.getAnimatableNone?n.getAnimatableNone(t):void 0}const QA=new Set(["auto","none","0"]);function qA(e,t,n){let r=0,i;for(;r<e.length&&!i;){const s=e[r];typeof s=="string"&&!QA.has(s)&&No(s).values.length&&(i=e[r]),r++}if(i&&n)for(const s of t)e[s]=T1(n,i)}class XA extends Lh{constructor(t,n,r,i,s){super(t,n,r,i,s,!0)}readKeyframes(){const{unresolvedKeyframes:t,element:n,name:r}=this;if(!n||!n.current)return;super.readKeyframes();for(let d=0;d<t.length;d++){let f=t[d];if(typeof f=="string"&&(f=f.trim(),Eh(f))){const h=g1(f,n.current);h!==void 0&&(t[d]=h),d===t.length-1&&(this.finalKeyframe=f)}}if(this.resolveNoneKeyframes(),!v1.has(r)||t.length!==2)return;const[i,s]=t,o=gg(i),a=gg(s),c=ng(i),u=ng(s);if(c!==u&&Zn[r]){this.needsMeasurement=!0;return}if(o!==a)if(dg(o)&&dg(a))for(let d=0;d<t.length;d++){const f=t[d];typeof f=="string"&&(t[d]=parseFloat(f))}else Zn[r]&&(this.needsMeasurement=!0)}resolveNoneKeyframes(){const{unresolvedKeyframes:t,name:n}=this,r=[];for(let i=0;i<t.length;i++)(t[i]===null||$A(t[i]))&&r.push(i);r.length&&qA(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=Zn[r](t.measureViewportBox(),window.getComputedStyle(t.current)),n[0]=this.measuredOrigin;const i=n[n.length-1];i!==void 0&&t.getValue(r,i).jump(i,!1)}measureEndState(){var a;const{element:t,name:n,unresolvedKeyframes:r}=this;if(!t||!t.current)return;const i=t.getValue(n);i&&i.jump(this.measuredOrigin,!1);const s=r.length-1,o=r[s];r[s]=Zn[n](t.measureViewportBox(),window.getComputedStyle(t.current)),o!==null&&this.finalKeyframe===void 0&&(this.finalKeyframe=o),(a=this.removedTransforms)!=null&&a.length&&this.removedTransforms.forEach(([c,u])=>{t.getValue(c).set(u)}),this.resolveNoneKeyframes()}}const JA=new Set(["opacity","clipPath","filter","transform"]);function C1(e,t,n){if(e==null)return[];if(e instanceof EventTarget)return[e];if(typeof e=="string"){const i=document.querySelectorAll(e);return i?Array.from(i):[]}return Array.from(e).filter(r=>r!=null)}const E1=(e,t)=>t&&typeof e=="number"?t.transform(e):e;function qd(e){return Ow(e)&&"offsetHeight"in e}const{schedule:Fh,cancel:EO}=Yw(queueMicrotask,!1),Lt={x:!1,y:!1};function N1(){return Lt.x||Lt.y}function ZA(e){return e==="x"||e==="y"?Lt[e]?null:(Lt[e]=!0,()=>{Lt[e]=!1}):Lt.x||Lt.y?null:(Lt.x=Lt.y=!0,()=>{Lt.x=Lt.y=!1})}function P1(e,t){const n=C1(e),r=new AbortController,i={passive:!0,...t,signal:r.signal};return[n,i,()=>r.abort()]}function eR(e){return!(e.pointerType==="touch"||N1())}function tR(e,t,n={}){const[r,i,s]=P1(e,n);return r.forEach(o=>{let a=!1,c=!1,u;const d=()=>{o.removeEventListener("pointerleave",x)},f=w=>{u&&(u(w),u=void 0),d()},h=w=>{a=!1,window.removeEventListener("pointerup",h),window.removeEventListener("pointercancel",h),c&&(c=!1,f(w))},p=()=>{a=!0,window.addEventListener("pointerup",h,i),window.addEventListener("pointercancel",h,i)},x=w=>{if(w.pointerType!=="touch"){if(a){c=!0;return}f(w)}},y=w=>{if(!eR(w))return;c=!1;const m=t(o,w);typeof m=="function"&&(u=m,o.addEventListener("pointerleave",x,i))};o.addEventListener("pointerenter",y,i),o.addEventListener("pointerdown",p,i)}),s}const A1=(e,t)=>t?e===t?!0:A1(e,t.parentElement):!1,$h=e=>e.pointerType==="mouse"?typeof e.button!="number"||e.button<=0:e.isPrimary!==!1,nR=new Set(["BUTTON","INPUT","SELECT","TEXTAREA","A"]);function rR(e){return nR.has(e.tagName)||e.isContentEditable===!0}const iR=new Set(["INPUT","SELECT","TEXTAREA"]);function sR(e){return iR.has(e.tagName)||e.isContentEditable===!0}const Ua=new WeakSet;function vg(e){return t=>{t.key==="Enter"&&e(t)}}function au(e,t){e.dispatchEvent(new PointerEvent("pointer"+t,{isPrimary:!0,bubbles:!0}))}const oR=(e,t)=>{const n=e.currentTarget;if(!n)return;const r=vg(()=>{if(Ua.has(n))return;au(n,"down");const i=vg(()=>{au(n,"up")}),s=()=>au(n,"cancel");n.addEventListener("keyup",i,t),n.addEventListener("blur",s,t)});n.addEventListener("keydown",r,t),n.addEventListener("blur",()=>n.removeEventListener("keydown",r),t)};function xg(e){return $h(e)&&!N1()}const wg=new WeakSet;function aR(e,t,n={}){const[r,i,s]=P1(e,n),o=a=>{const c=a.currentTarget;if(!xg(a)||wg.has(a))return;Ua.add(c),n.stopPropagation&&wg.add(a);const u=t(c,a),d=(p,x)=>{window.removeEventListener("pointerup",f),window.removeEventListener("pointercancel",h),Ua.has(c)&&Ua.delete(c),xg(p)&&typeof u=="function"&&u(p,{success:x})},f=p=>{d(p,c===window||c===document||n.useGlobalTarget||A1(c,p.target))},h=p=>{d(p,!1)};window.addEventListener("pointerup",f,i),window.addEventListener("pointercancel",h,i)};return r.forEach(a=>{(n.useGlobalTarget?window:a).addEventListener("pointerdown",o,i),qd(a)&&(a.addEventListener("focus",u=>oR(u,i)),!rR(a)&&!a.hasAttribute("tabindex")&&(a.tabIndex=0))}),s}function Uh(e){return Ow(e)&&"ownerSVGElement"in e}const Wa=new WeakMap;let Bn;const R1=(e,t,n)=>(r,i)=>i&&i[0]?i[0][e+"Size"]:Uh(r)&&"getBBox"in r?r.getBBox()[t]:r[n],lR=R1("inline","width","offsetWidth"),cR=R1("block","height","offsetHeight");function uR({target:e,borderBoxSize:t}){var n;(n=Wa.get(e))==null||n.forEach(r=>{r(e,{get width(){return lR(e,t)},get height(){return cR(e,t)}})})}function dR(e){e.forEach(uR)}function fR(){typeof ResizeObserver>"u"||(Bn=new ResizeObserver(dR))}function hR(e,t){Bn||fR();const n=C1(e);return n.forEach(r=>{let i=Wa.get(r);i||(i=new Set,Wa.set(r,i)),i.add(t),Bn==null||Bn.observe(r)}),()=>{n.forEach(r=>{const i=Wa.get(r);i==null||i.delete(t),i!=null&&i.size||Bn==null||Bn.unobserve(r)})}}const Ha=new Set;let Ti;function pR(){Ti=()=>{const e={get width(){return window.innerWidth},get height(){return window.innerHeight}};Ha.forEach(t=>t(e))},window.addEventListener("resize",Ti)}function mR(e){return Ha.add(e),Ti||pR(),()=>{Ha.delete(e),!Ha.size&&typeof Ti=="function"&&(window.removeEventListener("resize",Ti),Ti=void 0)}}function bg(e,t){return typeof e=="function"?mR(e):hR(e,t)}function gR(e){return Uh(e)&&e.tagName==="svg"}const yR=[...k1,be,Ht],vR=e=>yR.find(j1(e)),jg=()=>({translate:0,scale:1,origin:0,originPoint:0}),Ci=()=>({x:jg(),y:jg()}),kg=()=>({min:0,max:0}),Se=()=>({x:kg(),y:kg()}),xR=new WeakMap;function lc(e){return e!==null&&typeof e=="object"&&typeof e.start=="function"}function Po(e){return typeof e=="string"||Array.isArray(e)}const Wh=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],Hh=["initial",...Wh];function cc(e){return lc(e.animate)||Hh.some(t=>Po(e[t]))}function M1(e){return!!(cc(e)||e.variants)}function wR(e,t,n){for(const r in t){const i=t[r],s=n[r];if(Fe(i))e.addValue(r,i);else if(Fe(s))e.addValue(r,is(i,{owner:e}));else if(s!==i)if(e.hasValue(r)){const o=e.getValue(r);o.liveStyle===!0?o.jump(i):o.hasAnimated||o.set(i)}else{const o=e.getStaticValue(r);e.addValue(r,is(o!==void 0?o:i,{owner:e}))}}for(const r in n)t[r]===void 0&&e.removeValue(r);return t}const Xd={current:null},D1={current:!1},bR=typeof window<"u";function jR(){if(D1.current=!0,!!bR)if(window.matchMedia){const e=window.matchMedia("(prefers-reduced-motion)"),t=()=>Xd.current=e.matches;e.addEventListener("change",t),t()}else Xd.current=!1}const Sg=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"];let Pl={};function O1(e){Pl=e}function kR(){return Pl}class SR{scrapeMotionValuesFromProps(t,n,r){return{}}constructor({parent:t,props:n,presenceContext:r,reducedMotionConfig:i,skipAnimations:s,blockInitialAnimation:o,visualState:a},c={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.shouldSkipAnimations=!1,this.values=new Map,this.KeyframeResolver=Lh,this.features={},this.valueSubscriptions=new Map,this.prevMotionValues={},this.hasBeenMounted=!1,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=Ye.now();this.renderScheduledAt<p&&(this.renderScheduledAt=p,oe.render(this.render,!1,!0))};const{latestValues:u,renderState:d}=a;this.latestValues=u,this.baseTarget={...u},this.initialValues=n.initial?{...u}:{},this.renderState=d,this.parent=t,this.props=n,this.presenceContext=r,this.depth=t?t.depth+1:0,this.reducedMotionConfig=i,this.skipAnimationsConfig=s,this.options=c,this.blockInitialAnimation=!!o,this.isControllingVariants=cc(n),this.isVariantNode=M1(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 x=h[p];u[p]!==void 0&&Fe(x)&&x.set(u[p])}}mount(t){var n,r;if(this.hasBeenMounted)for(const i in this.initialValues)(n=this.values.get(i))==null||n.jump(this.initialValues[i]),this.latestValues[i]=this.initialValues[i];this.current=t,xR.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((i,s)=>this.bindToMotionValue(s,i)),this.reducedMotionConfig==="never"?this.shouldReduceMotion=!1:this.reducedMotionConfig==="always"?this.shouldReduceMotion=!0:(D1.current||jR(),this.shouldReduceMotion=Xd.current),this.shouldSkipAnimations=this.skipAnimationsConfig??!1,(r=this.parent)==null||r.addChild(this),this.update(this.props,this.presenceContext),this.hasBeenMounted=!0}unmount(){var t;this.projection&&this.projection.unmount(),yr(this.notifyUpdate),yr(this.render),this.valueSubscriptions.forEach(n=>n()),this.valueSubscriptions.clear(),this.removeFromVariantTree&&this.removeFromVariantTree(),(t=this.parent)==null||t.removeChild(this);for(const n in this.events)this.events[n].clear();for(const n in this.features){const r=this.features[n];r&&(r.unmount(),r.isMounted=!1)}this.current=null}addChild(t){this.children.add(t),this.enteringChildren??(this.enteringChildren=new Set),this.enteringChildren.add(t)}removeChild(t){this.children.delete(t),this.enteringChildren&&this.enteringChildren.delete(t)}bindToMotionValue(t,n){if(this.valueSubscriptions.has(t)&&this.valueSubscriptions.get(t)(),n.accelerate&&JA.has(t)&&this.current instanceof HTMLElement){const{factory:o,keyframes:a,times:c,ease:u,duration:d}=n.accelerate,f=new h1({element:this.current,name:t,keyframes:a,times:c,ease:u,duration:St(d)}),h=o(f);this.valueSubscriptions.set(t,()=>{h(),f.cancel()});return}const r=ps.has(t);r&&this.onBindTransform&&this.onBindTransform();const i=n.on("change",o=>{this.latestValues[t]=o,this.props.onUpdate&&oe.preRender(this.notifyUpdate),r&&this.projection&&(this.projection.isTransformDirty=!0),this.scheduleRender()});let s;typeof window<"u"&&window.MotionCheckAppearSync&&(s=window.MotionCheckAppearSync(this,t,n)),this.valueSubscriptions.set(t,()=>{i(),s&&s(),n.owner&&n.stop()})}sortNodePosition(t){return!this.current||!this.sortInstanceNodePosition||this.type!==t.type?0:this.sortInstanceNodePosition(this.current,t.current)}updateFeatures(){let t="animation";for(t in Pl){const n=Pl[t];if(!n)continue;const{isEnabled:r,Feature:i}=n;if(!this.features[t]&&i&&r(this.props)&&(this.features[t]=new i(this)),this.features[t]){const s=this.features[t];s.isMounted?s.update():(s.mount(),s.isMounted=!0)}}}triggerBuild(){this.build(this.renderState,this.latestValues,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):Se()}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<Sg.length;r++){const i=Sg[r];this.propEventSubscriptions[i]&&(this.propEventSubscriptions[i](),delete this.propEventSubscriptions[i]);const s="on"+i,o=t[s];o&&(this.propEventSubscriptions[i]=this.on(i,o))}this.prevMotionValues=wR(this,this.scrapeMotionValuesFromProps(t,this.prevProps||{},this),this.prevMotionValues),this.handleChildMotionValue&&this.handleChildMotionValue()}getProps(){return this.props}getVariant(t){return this.props.variants?this.props.variants[t]:void 0}getDefaultTransition(){return this.props.transition}getTransformPagePoint(){return this.props.transformPagePoint}getClosestVariantNode(){return this.isVariantNode?this:this.parent?this.parent.getClosestVariantNode():void 0}addVariantChild(t){const n=this.getClosestVariantNode();if(n)return n.variantChildren&&n.variantChildren.add(t),()=>n.variantChildren.delete(t)}addValue(t,n){const r=this.values.get(t);n!==r&&(r&&this.removeValue(t),this.bindToMotionValue(t,n),this.values.set(t,n),this.latestValues[t]=n.get())}removeValue(t){this.values.delete(t);const n=this.valueSubscriptions.get(t);n&&(n(),this.valueSubscriptions.delete(t)),delete this.latestValues[t],this.removeValueFromRenderState(t,this.renderState)}hasValue(t){return this.values.has(t)}getValue(t,n){if(this.props.values&&this.props.values[t])return this.props.values[t];let r=this.values.get(t);return r===void 0&&n!==void 0&&(r=is(n===null?void 0:n,{owner:this}),this.addValue(t,r)),r}readValue(t,n){let r=this.latestValues[t]!==void 0||!this.current?this.latestValues[t]:this.getBaseTargetFromProps(this.props,t)??this.readValueFromInstance(this.current,t,this.options);return r!=null&&(typeof r=="string"&&(Dw(r)||Lw(r))?r=parseFloat(r):!vR(r)&&Ht.test(n)&&(r=T1(t,n)),this.setBaseTarget(t,Fe(r)?r.get():r)),Fe(r)?r.get():r}setBaseTarget(t,n){this.baseTarget[t]=n}getBaseTarget(t){var s;const{initial:n}=this.props;let r;if(typeof n=="string"||typeof n=="object"){const o=_h(this.props,n,(s=this.presenceContext)==null?void 0:s.custom);o&&(r=o[t])}if(n&&r!==void 0)return r;const i=this.getBaseTargetFromProps(this.props,t);return i!==void 0&&!Fe(i)?i:this.initialValues[t]!==void 0&&r===void 0?void 0:this.baseTarget[t]}on(t,n){return this.events[t]||(this.events[t]=new Sh),this.events[t].add(n)}notify(t,...n){this.events[t]&&this.events[t].notify(...n)}scheduleRenderMicrotask(){Fh.render(this.render)}}class L1 extends SR{constructor(){super(...arguments),this.KeyframeResolver=XA}sortInstanceNodePosition(t,n){return t.compareDocumentPosition(n)&2?1:-1}getBaseTargetFromProps(t,n){const r=t.style;return r?r[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;Fe(t)&&(this.childSubscription=t.on("change",n=>{this.current&&(this.current.textContent=`${n}`)}))}}class jr{constructor(t){this.isMounted=!1,this.node=t}update(){}}function I1({top:e,left:t,right:n,bottom:r}){return{x:{min:t,max:n},y:{min:e,max:r}}}function TR({x:e,y:t}){return{top:t.min,right:e.max,bottom:t.max,left:e.min}}function CR(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 lu(e){return e===void 0||e===1}function Jd({scale:e,scaleX:t,scaleY:n}){return!lu(e)||!lu(t)||!lu(n)}function Pr(e){return Jd(e)||z1(e)||e.z||e.rotate||e.rotateX||e.rotateY||e.skewX||e.skewY}function z1(e){return Tg(e.x)||Tg(e.y)}function Tg(e){return e&&e!=="0%"}function Al(e,t,n){const r=e-n,i=t*r;return n+i}function Cg(e,t,n,r,i){return i!==void 0&&(e=Al(e,i,r)),Al(e,n,r)+t}function Zd(e,t=0,n=1,r,i){e.min=Cg(e.min,t,n,r,i),e.max=Cg(e.max,t,n,r,i)}function _1(e,{x:t,y:n}){Zd(e.x,t.translate,t.scale,t.originPoint),Zd(e.y,n.translate,n.scale,n.originPoint)}const Eg=.999999999999,Ng=1.0000000000001;function ER(e,t,n,r=!1){const i=n.length;if(!i)return;t.x=t.y=1;let s,o;for(let a=0;a<i;a++){s=n[a],o=s.projectionDelta;const{visualElement:c}=s.options;c&&c.props.style&&c.props.style.display==="contents"||(r&&s.options.layoutScroll&&s.scroll&&s!==s.root&&Ni(e,{x:-s.scroll.offset.x,y:-s.scroll.offset.y}),o&&(t.x*=o.x.scale,t.y*=o.y.scale,_1(e,o)),r&&Pr(s.latestValues)&&Ni(e,s.latestValues))}t.x<Ng&&t.x>Eg&&(t.x=1),t.y<Ng&&t.y>Eg&&(t.y=1)}function Ei(e,t){e.min=e.min+t,e.max=e.max+t}function Pg(e,t,n,r,i=.5){const s=pe(e.min,e.max,i);Zd(e,t,n,s,r)}function Ni(e,t){Pg(e.x,t.x,t.scaleX,t.scale,t.originX),Pg(e.y,t.y,t.scaleY,t.scale,t.originY)}function V1(e,t){return I1(CR(e.getBoundingClientRect(),t))}function NR(e,t,n){const r=V1(e,n),{scroll:i}=t;return i&&(Ei(r.x,i.offset.x),Ei(r.y,i.offset.y)),r}const PR={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},AR=hs.length;function RR(e,t,n){let r="",i=!0;for(let s=0;s<AR;s++){const o=hs[s],a=e[o];if(a===void 0)continue;let c=!0;if(typeof a=="number")c=a===(o.startsWith("scale")?1:0);else{const u=parseFloat(a);c=o.startsWith("scale")?u===1:u===0}if(!c||n){const u=E1(a,Bh[o]);if(!c){i=!1;const d=PR[o]||o;r+=`${d}(${u}) `}n&&(t[o]=u)}}return r=r.trim(),n?r=n(t,i?"":r):i&&(r="none"),r}function Kh(e,t,n){const{style:r,vars:i,transformOrigin:s}=e;let o=!1,a=!1;for(const c in t){const u=t[c];if(ps.has(c)){o=!0;continue}else if(qw(c)){i[c]=u;continue}else{const d=E1(u,Bh[c]);c.startsWith("origin")?(a=!0,s[c]=d):r[c]=d}}if(t.transform||(o||n?r.transform=RR(t,e.transform,n):r.transform&&(r.transform="none")),a){const{originX:c="50%",originY:u="50%",originZ:d=0}=s;r.transformOrigin=`${c} ${u} ${d}`}}function B1(e,{style:t,vars:n},r,i){const s=e.style;let o;for(o in t)s[o]=t[o];i==null||i.applyProjectionStyles(s,r);for(o in n)s.setProperty(o,n[o])}function Ag(e,t){return t.max===t.min?0:e/(t.max-t.min)*100}const Ps={correct:(e,t)=>{if(!t.target)return e;if(typeof e=="string")if(_.test(e))e=parseFloat(e);else return e;const n=Ag(e,t.target.x),r=Ag(e,t.target.y);return`${n}% ${r}%`}},MR={correct:(e,{treeScale:t,projectionDelta:n})=>{const r=e,i=Ht.parse(e);if(i.length>5)return r;const s=Ht.createTransformer(e),o=typeof i[0]!="number"?1:0,a=n.x.scale*t.x,c=n.y.scale*t.y;i[0+o]/=a,i[1+o]/=c;const u=pe(a,c,.5);return typeof i[2+o]=="number"&&(i[2+o]/=u),typeof i[3+o]=="number"&&(i[3+o]/=u),s(i)}},ef={borderRadius:{...Ps,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:Ps,borderTopRightRadius:Ps,borderBottomLeftRadius:Ps,borderBottomRightRadius:Ps,boxShadow:MR};function F1(e,{layout:t,layoutId:n}){return ps.has(e)||e.startsWith("origin")||(t||n!==void 0)&&(!!ef[e]||e==="opacity")}function Gh(e,t,n){var o;const r=e.style,i=t==null?void 0:t.style,s={};if(!r)return s;for(const a in r)(Fe(r[a])||i&&Fe(i[a])||F1(a,e)||((o=n==null?void 0:n.getValue(a))==null?void 0:o.liveStyle)!==void 0)&&(s[a]=r[a]);return s}function DR(e){return window.getComputedStyle(e)}class OR extends L1{constructor(){super(...arguments),this.type="html",this.renderInstance=B1}readValueFromInstance(t,n){var r;if(ps.has(n))return(r=this.projection)!=null&&r.isProjecting?Vd(n):J2(t,n);{const i=DR(t),s=(qw(n)?i.getPropertyValue(n):i[n])||0;return typeof s=="string"?s.trim():s}}measureInstanceViewportBox(t,{transformPagePoint:n}){return V1(t,n)}build(t,n,r){Kh(t,n,r.transformTemplate)}scrapeMotionValuesFromProps(t,n,r){return Gh(t,n,r)}}const LR={offset:"stroke-dashoffset",array:"stroke-dasharray"},IR={offset:"strokeDashoffset",array:"strokeDasharray"};function zR(e,t,n=1,r=0,i=!0){e.pathLength=1;const s=i?LR:IR;e[s.offset]=`${-r}`,e[s.array]=`${t} ${n}`}const _R=["offsetDistance","offsetPath","offsetRotate","offsetAnchor"];function $1(e,{attrX:t,attrY:n,attrScale:r,pathLength:i,pathSpacing:s=1,pathOffset:o=0,...a},c,u,d){if(Kh(e,a,u),c){e.style.viewBox&&(e.attrs.viewBox=e.style.viewBox);return}e.attrs=e.style,e.style={};const{attrs:f,style:h}=e;f.transform&&(h.transform=f.transform,delete f.transform),(h.transform||f.transformOrigin)&&(h.transformOrigin=f.transformOrigin??"50% 50%",delete f.transformOrigin),h.transform&&(h.transformBox=(d==null?void 0:d.transformBox)??"fill-box",delete f.transformBox);for(const p of _R)f[p]!==void 0&&(h[p]=f[p],delete f[p]);t!==void 0&&(f.x=t),n!==void 0&&(f.y=n),r!==void 0&&(f.scale=r),i!==void 0&&zR(f,i,s,o,!1)}const U1=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"]),W1=e=>typeof e=="string"&&e.toLowerCase()==="svg";function VR(e,t,n,r){B1(e,t,void 0,r);for(const i in t.attrs)e.setAttribute(U1.has(i)?i:Vh(i),t.attrs[i])}function H1(e,t,n){const r=Gh(e,t,n);for(const i in e)if(Fe(e[i])||Fe(t[i])){const s=hs.indexOf(i)!==-1?"attr"+i.charAt(0).toUpperCase()+i.substring(1):i;r[s]=e[i]}return r}class BR extends L1{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=Se}getBaseTargetFromProps(t,n){return t[n]}readValueFromInstance(t,n){if(ps.has(n)){const r=S1(n);return r&&r.default||0}return n=U1.has(n)?n:Vh(n),t.getAttribute(n)}scrapeMotionValuesFromProps(t,n,r){return H1(t,n,r)}build(t,n,r){$1(t,n,this.isSVGTag,r.transformTemplate,r.style)}renderInstance(t,n,r,i){VR(t,n,r,i)}mount(t){this.isSVGTag=W1(t.tagName),super.mount(t)}}const FR=Hh.length;function K1(e){if(!e)return;if(!e.isControllingVariants){const n=e.parent?K1(e.parent)||{}:{};return e.props.initial!==void 0&&(n.initial=e.props.initial),n}const t={};for(let n=0;n<FR;n++){const r=Hh[n],i=e.props[r];(Po(i)||i===!1)&&(t[r]=i)}return t}function G1(e,t){if(!Array.isArray(t))return!1;const n=t.length;if(n!==e.length)return!1;for(let r=0;r<n;r++)if(t[r]!==e[r])return!1;return!0}const $R=[...Wh].reverse(),UR=Wh.length;function WR(e){return t=>Promise.all(t.map(({animation:n,options:r})=>BA(e,n,r)))}function HR(e){let t=WR(e),n=Rg(),r=!0;const i=c=>(u,d)=>{var h;const f=Vi(e,d,c==="exit"?(h=e.presenceContext)==null?void 0:h.custom:void 0);if(f){const{transition:p,transitionEnd:x,...y}=f;u={...u,...y,...x}}return u};function s(c){t=c(e)}function o(c){const{props:u}=e,d=K1(e.parent)||{},f=[],h=new Set;let p={},x=1/0;for(let w=0;w<UR;w++){const m=$R[w],g=n[m],v=u[m]!==void 0?u[m]:d[m],j=Po(v),k=m===c?g.isActive:null;k===!1&&(x=w);let S=v===d[m]&&v!==u[m]&&j;if(S&&r&&e.manuallyAnimateOnMount&&(S=!1),g.protectedKeys={...p},!g.isActive&&k===null||!v&&!g.prevProp||lc(v)||typeof v=="boolean")continue;if(m==="exit"&&g.isActive&&k!==!0){g.prevResolvedValues&&(p={...p,...g.prevResolvedValues});continue}const T=KR(g.prevProp,v);let C=T||m===c&&g.isActive&&!S&&j||w>x&&j,A=!1;const R=Array.isArray(v)?v:[v];let B=R.reduce(i(m),{});k===!1&&(B={});const{prevResolvedValues:I={}}=g,G={...I,...B},O=V=>{C=!0,h.has(V)&&(A=!0,h.delete(V)),g.needsAnimating[V]=!0;const E=e.getValue(V);E&&(E.liveStyle=!1)};for(const V in G){const E=B[V],P=I[V];if(p.hasOwnProperty(V))continue;let L=!1;Hd(E)&&Hd(P)?L=!G1(E,P):L=E!==P,L?E!=null?O(V):h.add(V):E!==void 0&&h.has(V)?O(V):g.protectedKeys[V]=!0}g.prevProp=v,g.prevResolvedValues=B,g.isActive&&(p={...p,...B}),r&&e.blockInitialAnimation&&(C=!1);const Q=S&&T;C&&(!Q||A)&&f.push(...R.map(V=>{const E={type:m};if(typeof V=="string"&&r&&!Q&&e.manuallyAnimateOnMount&&e.parent){const{parent:P}=e,L=Vi(P,V);if(P.enteringChildren&&L){const{delayChildren:W}=L.transition||{};E.delay=m1(P.enteringChildren,e,W)}}return{animation:V,options:E}}))}if(h.size){const w={};if(typeof u.initial!="boolean"){const m=Vi(e,Array.isArray(u.initial)?u.initial[0]:u.initial);m&&m.transition&&(w.transition=m.transition)}h.forEach(m=>{const g=e.getBaseTarget(m),v=e.getValue(m);v&&(v.liveStyle=!0),w[m]=g??null}),f.push({animation:w})}let y=!!f.length;return r&&(u.initial===!1||u.initial===u.animate)&&!e.manuallyAnimateOnMount&&(y=!1),r=!1,y?t(f):Promise.resolve()}function a(c,u){var f;if(n[c].isActive===u)return Promise.resolve();(f=e.variantChildren)==null||f.forEach(h=>{var p;return(p=h.animationState)==null?void 0:p.setActive(c,u)}),n[c].isActive=u;const d=o(c);for(const h in n)n[h].protectedKeys={};return d}return{animateChanges:o,setActive:a,setAnimateFunction:s,getState:()=>n,reset:()=>{n=Rg()}}}function KR(e,t){return typeof t=="string"?t!==e:Array.isArray(t)?!G1(t,e):!1}function Cr(e=!1){return{isActive:e,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function Rg(){return{animate:Cr(!0),whileInView:Cr(),whileHover:Cr(),whileTap:Cr(),whileDrag:Cr(),whileFocus:Cr(),exit:Cr()}}function Mg(e,t){e.min=t.min,e.max=t.max}function Dt(e,t){Mg(e.x,t.x),Mg(e.y,t.y)}function Dg(e,t){e.translate=t.translate,e.scale=t.scale,e.originPoint=t.originPoint,e.origin=t.origin}const Y1=1e-4,GR=1-Y1,YR=1+Y1,Q1=.01,QR=0-Q1,qR=0+Q1;function Qe(e){return e.max-e.min}function XR(e,t,n){return Math.abs(e-t)<=n}function Og(e,t,n,r=.5){e.origin=r,e.originPoint=pe(t.min,t.max,e.origin),e.scale=Qe(n)/Qe(t),e.translate=pe(n.min,n.max,e.origin)-e.originPoint,(e.scale>=GR&&e.scale<=YR||isNaN(e.scale))&&(e.scale=1),(e.translate>=QR&&e.translate<=qR||isNaN(e.translate))&&(e.translate=0)}function eo(e,t,n,r){Og(e.x,t.x,n.x,r?r.originX:void 0),Og(e.y,t.y,n.y,r?r.originY:void 0)}function Lg(e,t,n){e.min=n.min+t.min,e.max=e.min+Qe(t)}function JR(e,t,n){Lg(e.x,t.x,n.x),Lg(e.y,t.y,n.y)}function Ig(e,t,n){e.min=t.min-n.min,e.max=e.min+Qe(t)}function Rl(e,t,n){Ig(e.x,t.x,n.x),Ig(e.y,t.y,n.y)}function zg(e,t,n,r,i){return e-=t,e=Al(e,1/n,r),i!==void 0&&(e=Al(e,1/i,r)),e}function ZR(e,t=0,n=1,r=.5,i,s=e,o=e){if(an.test(t)&&(t=parseFloat(t),t=pe(o.min,o.max,t/100)-o.min),typeof t!="number")return;let a=pe(s.min,s.max,r);e===s&&(a-=t),e.min=zg(e.min,t,n,a,i),e.max=zg(e.max,t,n,a,i)}function _g(e,t,[n,r,i],s,o){ZR(e,t[n],t[r],t[i],t.scale,s,o)}const eM=["x","scaleX","originX"],tM=["y","scaleY","originY"];function Vg(e,t,n,r){_g(e.x,t,eM,n?n.x:void 0,r?r.x:void 0),_g(e.y,t,tM,n?n.y:void 0,r?r.y:void 0)}function Bg(e){return e.translate===0&&e.scale===1}function q1(e){return Bg(e.x)&&Bg(e.y)}function Fg(e,t){return e.min===t.min&&e.max===t.max}function nM(e,t){return Fg(e.x,t.x)&&Fg(e.y,t.y)}function $g(e,t){return Math.round(e.min)===Math.round(t.min)&&Math.round(e.max)===Math.round(t.max)}function X1(e,t){return $g(e.x,t.x)&&$g(e.y,t.y)}function Ug(e){return Qe(e.x)/Qe(e.y)}function Wg(e,t){return e.translate===t.translate&&e.scale===t.scale&&e.originPoint===t.originPoint}function Zt(e){return[e("x"),e("y")]}function rM(e,t,n){let r="";const i=e.x.translate/t.x,s=e.y.translate/t.y,o=(n==null?void 0:n.z)||0;if((i||s||o)&&(r=`translate3d(${i}px, ${s}px, ${o}px) `),(t.x!==1||t.y!==1)&&(r+=`scale(${1/t.x}, ${1/t.y}) `),n){const{transformPerspective:u,rotate:d,rotateX:f,rotateY:h,skewX:p,skewY:x}=n;u&&(r=`perspective(${u}px) ${r}`),d&&(r+=`rotate(${d}deg) `),f&&(r+=`rotateX(${f}deg) `),h&&(r+=`rotateY(${h}deg) `),p&&(r+=`skewX(${p}deg) `),x&&(r+=`skewY(${x}deg) `)}const a=e.x.scale*t.x,c=e.y.scale*t.y;return(a!==1||c!==1)&&(r+=`scale(${a}, ${c})`),r||"none"}const J1=["TopLeft","TopRight","BottomLeft","BottomRight"],iM=J1.length,Hg=e=>typeof e=="string"?parseFloat(e):e,Kg=e=>typeof e=="number"||_.test(e);function sM(e,t,n,r,i,s){i?(e.opacity=pe(0,n.opacity??1,oM(r)),e.opacityExit=pe(t.opacity??1,0,aM(r))):s&&(e.opacity=pe(t.opacity??1,n.opacity??1,r));for(let o=0;o<iM;o++){const a=`border${J1[o]}Radius`;let c=Gg(t,a),u=Gg(n,a);if(c===void 0&&u===void 0)continue;c||(c=0),u||(u=0),c===0||u===0||Kg(c)===Kg(u)?(e[a]=Math.max(pe(Hg(c),Hg(u),r),0),(an.test(u)||an.test(c))&&(e[a]+="%")):e[a]=u}(t.rotate||n.rotate)&&(e.rotate=pe(t.rotate||0,n.rotate||0,r))}function Gg(e,t){return e[t]!==void 0?e[t]:e.borderRadius}const oM=Z1(0,.5,Ww),aM=Z1(.5,.95,kt);function Z1(e,t,n){return r=>r<e?0:r>t?1:n(Co(e,t,r))}function lM(e,t,n){const r=Fe(e)?e:is(e);return r.start(zh("",r,t,n)),r.animation}function Ao(e,t,n,r={passive:!0}){return e.addEventListener(t,n,r),()=>e.removeEventListener(t,n)}const cM=(e,t)=>e.depth-t.depth;class uM{constructor(){this.children=[],this.isDirty=!1}add(t){kh(this.children,t),this.isDirty=!0}remove(t){Tl(this.children,t),this.isDirty=!0}forEach(t){this.isDirty&&this.children.sort(cM),this.isDirty=!1,this.children.forEach(t)}}function dM(e,t){const n=Ye.now(),r=({timestamp:i})=>{const s=i-n;s>=t&&(yr(r),e(s-t))};return oe.setup(r,!0),()=>yr(r)}function Ka(e){return Fe(e)?e.get():e}class fM{constructor(){this.members=[]}add(t){kh(this.members,t);for(let n=this.members.length-1;n>=0;n--){const r=this.members[n];if(r===t||r===this.lead||r===this.prevLead)continue;const i=r.instance;i&&i.isConnected===!1&&r.isPresent!==!1&&!r.snapshot&&Tl(this.members,r)}t.scheduleRender()}remove(t){if(Tl(this.members,t),t===this.prevLead&&(this.prevLead=void 0),t===this.lead){const n=this.members[this.members.length-1];n&&this.promote(n)}}relegate(t){const n=this.members.findIndex(i=>t===i);if(n===0)return!1;let r;for(let i=n;i>=0;i--){const s=this.members[i],o=s.instance;if(s.isPresent!==!1&&(!o||o.isConnected!==!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();const i=r.options.layoutDependency,s=t.options.layoutDependency;if(!(i!==void 0&&s!==void 0&&i===s)){const c=r.instance;c&&c.isConnected===!1&&!r.snapshot||(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:a}=t.options;a===!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)}}const Ga={hasAnimatedSinceResize:!0,hasEverUpdated:!1},cu=["","X","Y","Z"],hM=1e3;let pM=0;function uu(e,t,n,r){const{latestValues:i}=t;i[e]&&(n[e]=i[e],t.setStaticValue(e,0),r&&(r[e]=0))}function eb(e){if(e.hasCheckedOptimisedAppear=!0,e.root===e)return;const{visualElement:t}=e.options;if(!t)return;const n=w1(t);if(window.MotionHasOptimisedAnimation(n,"transform")){const{layout:i,layoutId:s}=e.options;window.MotionCancelOptimisedAnimation(n,"transform",oe,!(i||s))}const{parent:r}=e;r&&!r.hasCheckedOptimisedAppear&&eb(r)}function tb({attachResizeListener:e,defaultParent:t,measureScroll:n,checkIsScrollRoot:r,resetTransform:i}){return class{constructor(o={},a=t==null?void 0:t()){this.id=pM++,this.animationId=0,this.animationCommitId=0,this.children=new Set,this.options={},this.isTreeAnimating=!1,this.isAnimationBlocked=!1,this.isLayoutDirty=!1,this.isProjectionDirty=!1,this.isSharedProjectionDirty=!1,this.isTransformDirty=!1,this.updateManuallyBlocked=!1,this.updateBlockedByResize=!1,this.isUpdating=!1,this.isSVG=!1,this.needsReset=!1,this.shouldResetTransform=!1,this.hasCheckedOptimisedAppear=!1,this.treeScale={x:1,y:1},this.eventHandlers=new Map,this.hasTreeAnimated=!1,this.layoutVersion=0,this.updateScheduled=!1,this.scheduleUpdate=()=>this.update(),this.projectionUpdateScheduled=!1,this.checkUpdateFailed=()=>{this.isUpdating&&(this.isUpdating=!1,this.clearAllSnapshots())},this.updateProjection=()=>{this.projectionUpdateScheduled=!1,this.nodes.forEach(yM),this.nodes.forEach(bM),this.nodes.forEach(jM),this.nodes.forEach(vM)},this.resolvedRelativeTargetAt=0,this.linkedParentVersion=0,this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=o,this.root=a?a.root||a:this,this.path=a?[...a.path,a]:[],this.parent=a,this.depth=a?a.depth+1:0;for(let c=0;c<this.path.length;c++)this.path[c].shouldResetTransform=!0;this.root===this&&(this.nodes=new uM)}addEventListener(o,a){return this.eventHandlers.has(o)||this.eventHandlers.set(o,new Sh),this.eventHandlers.get(o).add(a)}notifyListeners(o,...a){const c=this.eventHandlers.get(o);c&&c.notify(...a)}hasListeners(o){return this.eventHandlers.has(o)}mount(o){if(this.instance)return;this.isSVG=Uh(o)&&!gR(o),this.instance=o;const{layoutId:a,layout:c,visualElement:u}=this.options;if(u&&!u.current&&u.mount(o),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),this.root.hasTreeAnimated&&(c||a)&&(this.isLayoutDirty=!0),e){let d,f=0;const h=()=>this.root.updateBlockedByResize=!1;oe.read(()=>{f=window.innerWidth}),e(o,()=>{const p=window.innerWidth;p!==f&&(f=p,this.root.updateBlockedByResize=!0,d&&d(),d=dM(h,250),Ga.hasAnimatedSinceResize&&(Ga.hasAnimatedSinceResize=!1,this.nodes.forEach(qg)))})}a&&this.root.registerSharedNode(a,this),this.options.animate!==!1&&u&&(a||c)&&this.addEventListener("didUpdate",({delta:d,hasLayoutChanged:f,hasRelativeLayoutChanged:h,layout:p})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}const x=this.options.transition||u.getDefaultTransition()||EM,{onLayoutAnimationStart:y,onLayoutAnimationComplete:w}=u.getProps(),m=!this.targetLayout||!X1(this.targetLayout,p),g=!f&&h;if(this.options.layoutRoot||this.resumeFrom||g||f&&(m||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0);const v={...Ih(x,"layout"),onPlay:y,onComplete:w};(u.shouldReduceMotion||this.options.layoutRoot)&&(v.delay=0,v.type=!1),this.startAnimation(v),this.setAnimationOrigin(d,g)}else f||qg(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=p})}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);const o=this.getStack();o&&o.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,this.eventHandlers.clear(),yr(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(kM),this.animationId++)}getTransformTemplate(){const{visualElement:o}=this.options;return o&&o.getProps().transformTemplate}willUpdate(o=!0){if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked()){this.options.onExitComplete&&this.options.onExitComplete();return}if(window.MotionCancelOptimisedAnimation&&!this.hasCheckedOptimisedAppear&&eb(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:c}=this.options;if(a===void 0&&!c)return;const u=this.getTransformTemplate();this.prevTransformTemplateValue=u?u(this.latestValues,""):void 0,this.updateSnapshot(),o&&this.notifyListeners("willUpdate")}update(){if(this.updateScheduled=!1,this.isUpdateBlocked()){this.unblockUpdate(),this.clearAllSnapshots(),this.nodes.forEach(Yg);return}if(this.animationId<=this.animationCommitId){this.nodes.forEach(Qg);return}this.animationCommitId=this.animationId,this.isUpdating?(this.isUpdating=!1,this.nodes.forEach(wM),this.nodes.forEach(mM),this.nodes.forEach(gM)):this.nodes.forEach(Qg),this.clearAllSnapshots();const a=Ye.now();Re.delta=cn(0,1e3/60,a-Re.timestamp),Re.timestamp=a,Re.isProcessing=!0,tu.update.process(Re),tu.preRender.process(Re),tu.render.process(Re),Re.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,Fh.read(this.scheduleUpdate))}clearAllSnapshots(){this.nodes.forEach(xM),this.sharedNodes.forEach(SM)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,oe.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){oe.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){this.snapshot||!this.instance||(this.snapshot=this.measure(),this.snapshot&&!Qe(this.snapshot.measuredBox.x)&&!Qe(this.snapshot.measuredBox.y)&&(this.snapshot=void 0))}updateLayout(){if(!this.instance||(this.updateScroll(),!(this.options.alwaysMeasureLayout&&this.isLead())&&!this.isLayoutDirty))return;if(this.resumeFrom&&!this.resumeFrom.instance)for(let c=0;c<this.path.length;c++)this.path[c].updateScroll();const o=this.layout;this.layout=this.measure(!1),this.layoutVersion++,this.layoutCorrected=Se(),this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners("measure",this.layout.layoutBox);const{visualElement:a}=this.options;a&&a.notify("LayoutMeasure",this.layout.layoutBox,o?o.layoutBox:void 0)}updateScroll(o="measure"){let a=!!(this.options.layoutScroll&&this.instance);if(this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===o&&(a=!1),a&&this.instance){const c=r(this.instance);this.scroll={animationId:this.root.animationId,phase:o,isRoot:c,offset:n(this.instance),wasRoot:this.scroll?this.scroll.isRoot:c}}}resetTransform(){if(!i)return;const o=this.isLayoutDirty||this.shouldResetTransform||this.options.alwaysMeasureLayout,a=this.projectionDelta&&!q1(this.projectionDelta),c=this.getTransformTemplate(),u=c?c(this.latestValues,""):void 0,d=u!==this.prevTransformTemplateValue;o&&this.instance&&(a||Pr(this.latestValues)||d)&&(i(this.instance,u),this.shouldResetTransform=!1,this.scheduleRender())}measure(o=!0){const a=this.measurePageBox();let c=this.removeElementScroll(a);return o&&(c=this.removeTransform(c)),NM(c),{animationId:this.root.animationId,measuredBox:a,layoutBox:c,latestValues:{},source:this.id}}measurePageBox(){var u;const{visualElement:o}=this.options;if(!o)return Se();const a=o.measureViewportBox();if(!(((u=this.scroll)==null?void 0:u.wasRoot)||this.path.some(PM))){const{scroll:d}=this.root;d&&(Ei(a.x,d.offset.x),Ei(a.y,d.offset.y))}return a}removeElementScroll(o){var c;const a=Se();if(Dt(a,o),(c=this.scroll)!=null&&c.wasRoot)return a;for(let u=0;u<this.path.length;u++){const d=this.path[u],{scroll:f,options:h}=d;d!==this.root&&f&&h.layoutScroll&&(f.wasRoot&&Dt(a,o),Ei(a.x,f.offset.x),Ei(a.y,f.offset.y))}return a}applyTransform(o,a=!1){const c=Se();Dt(c,o);for(let u=0;u<this.path.length;u++){const d=this.path[u];!a&&d.options.layoutScroll&&d.scroll&&d!==d.root&&Ni(c,{x:-d.scroll.offset.x,y:-d.scroll.offset.y}),Pr(d.latestValues)&&Ni(c,d.latestValues)}return Pr(this.latestValues)&&Ni(c,this.latestValues),c}removeTransform(o){const a=Se();Dt(a,o);for(let c=0;c<this.path.length;c++){const u=this.path[c];if(!u.instance||!Pr(u.latestValues))continue;Jd(u.latestValues)&&u.updateSnapshot();const d=Se(),f=u.measurePageBox();Dt(d,f),Vg(a,u.latestValues,u.snapshot?u.snapshot.layoutBox:void 0,d)}return Pr(this.latestValues)&&Vg(a,this.latestValues),a}setTargetDelta(o){this.targetDelta=o,this.root.scheduleUpdateProjection(),this.isProjectionDirty=!0}setOptions(o){this.options={...this.options,...o,crossfade:o.crossfade!==void 0?o.crossfade:!0}}clearMeasurements(){this.scroll=void 0,this.layout=void 0,this.snapshot=void 0,this.prevTransformTemplateValue=void 0,this.targetDelta=void 0,this.target=void 0,this.isLayoutDirty=!1}forceRelativeParentToResolveTarget(){this.relativeParent&&this.relativeParent.resolvedRelativeTargetAt!==Re.timestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(o=!1){var p;const a=this.getLead();this.isProjectionDirty||(this.isProjectionDirty=a.isProjectionDirty),this.isTransformDirty||(this.isTransformDirty=a.isTransformDirty),this.isSharedProjectionDirty||(this.isSharedProjectionDirty=a.isSharedProjectionDirty);const c=!!this.resumingFrom||this!==a;if(!(o||c&&this.isSharedProjectionDirty||this.isProjectionDirty||(p=this.parent)!=null&&p.isProjectionDirty||this.attemptToResolveRelativeTarget||this.root.updateBlockedByResize))return;const{layout:d,layoutId:f}=this.options;if(!this.layout||!(d||f))return;this.resolvedRelativeTargetAt=Re.timestamp;const h=this.getClosestProjectingParent();h&&this.linkedParentVersion!==h.layoutVersion&&!h.options.layoutRoot&&this.removeRelativeTarget(),!this.targetDelta&&!this.relativeTarget&&(h&&h.layout?this.createRelativeTarget(h,this.layout.layoutBox,h.layout.layoutBox):this.removeRelativeTarget()),!(!this.relativeTarget&&!this.targetDelta)&&(this.target||(this.target=Se(),this.targetWithTransforms=Se()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target?(this.forceRelativeParentToResolveTarget(),JR(this.target,this.relativeTarget,this.relativeParent.target)):this.targetDelta?(this.resumingFrom?this.target=this.applyTransform(this.layout.layoutBox):Dt(this.target,this.layout.layoutBox),_1(this.target,this.targetDelta)):Dt(this.target,this.layout.layoutBox),this.attemptToResolveRelativeTarget&&(this.attemptToResolveRelativeTarget=!1,h&&!!h.resumingFrom==!!this.resumingFrom&&!h.options.layoutScroll&&h.target&&this.animationProgress!==1?this.createRelativeTarget(h,this.target,h.target):this.relativeParent=this.relativeTarget=void 0))}getClosestProjectingParent(){if(!(!this.parent||Jd(this.parent.latestValues)||z1(this.parent.latestValues)))return this.parent.isProjecting()?this.parent:this.parent.getClosestProjectingParent()}isProjecting(){return!!((this.relativeTarget||this.targetDelta||this.options.layoutRoot)&&this.layout)}createRelativeTarget(o,a,c){this.relativeParent=o,this.linkedParentVersion=o.layoutVersion,this.forceRelativeParentToResolveTarget(),this.relativeTarget=Se(),this.relativeTargetOrigin=Se(),Rl(this.relativeTargetOrigin,a,c),Dt(this.relativeTarget,this.relativeTargetOrigin)}removeRelativeTarget(){this.relativeParent=this.relativeTarget=void 0}calcProjection(){var x;const o=this.getLead(),a=!!this.resumingFrom||this!==o;let c=!0;if((this.isProjectionDirty||(x=this.parent)!=null&&x.isProjectionDirty)&&(c=!1),a&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(c=!1),this.resolvedRelativeTargetAt===Re.timestamp&&(c=!1),c)return;const{layout:u,layoutId:d}=this.options;if(this.isTreeAnimating=!!(this.parent&&this.parent.isTreeAnimating||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),!this.layout||!(u||d))return;Dt(this.layoutCorrected,this.layout.layoutBox);const f=this.treeScale.x,h=this.treeScale.y;ER(this.layoutCorrected,this.treeScale,this.path,a),o.layout&&!o.target&&(this.treeScale.x!==1||this.treeScale.y!==1)&&(o.target=o.layout.layoutBox,o.targetWithTransforms=Se());const{target:p}=o;if(!p){this.prevProjectionDelta&&(this.createProjectionDeltas(),this.scheduleRender());return}!this.projectionDelta||!this.prevProjectionDelta?this.createProjectionDeltas():(Dg(this.prevProjectionDelta.x,this.projectionDelta.x),Dg(this.prevProjectionDelta.y,this.projectionDelta.y)),eo(this.projectionDelta,this.layoutCorrected,p,this.latestValues),(this.treeScale.x!==f||this.treeScale.y!==h||!Wg(this.projectionDelta.x,this.prevProjectionDelta.x)||!Wg(this.projectionDelta.y,this.prevProjectionDelta.y))&&(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",p))}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(o=!0){var a;if((a=this.options.visualElement)==null||a.scheduleRender(),o){const c=this.getStack();c&&c.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}createProjectionDeltas(){this.prevProjectionDelta=Ci(),this.projectionDelta=Ci(),this.projectionDeltaWithTransform=Ci()}setAnimationOrigin(o,a=!1){const c=this.snapshot,u=c?c.latestValues:{},d={...this.latestValues},f=Ci();(!this.relativeParent||!this.relativeParent.options.layoutRoot)&&(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!a;const h=Se(),p=c?c.source:void 0,x=this.layout?this.layout.source:void 0,y=p!==x,w=this.getStack(),m=!w||w.members.length<=1,g=!!(y&&!m&&this.options.crossfade===!0&&!this.path.some(CM));this.animationProgress=0;let v;this.mixTargetDelta=j=>{const k=j/1e3;Xg(f.x,o.x,k),Xg(f.y,o.y,k),this.setTargetDelta(f),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&(Rl(h,this.layout.layoutBox,this.relativeParent.layout.layoutBox),TM(this.relativeTarget,this.relativeTargetOrigin,h,k),v&&nM(this.relativeTarget,v)&&(this.isProjectionDirty=!1),v||(v=Se()),Dt(v,this.relativeTarget)),y&&(this.animationValues=d,sM(d,u,this.latestValues,k,g,m)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=k},this.mixTargetDelta(this.options.layoutRoot?1e3:0)}startAnimation(o){var a,c,u;this.notifyListeners("animationStart"),(a=this.currentAnimation)==null||a.stop(),(u=(c=this.resumingFrom)==null?void 0:c.currentAnimation)==null||u.stop(),this.pendingAnimation&&(yr(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=oe.update(()=>{Ga.hasAnimatedSinceResize=!0,this.motionValue||(this.motionValue=is(0)),this.motionValue.jump(0,!1),this.currentAnimation=lM(this.motionValue,[0,1e3],{...o,velocity:0,isSync:!0,onUpdate:d=>{this.mixTargetDelta(d),o.onUpdate&&o.onUpdate(d)},onStop:()=>{},onComplete:()=>{o.onComplete&&o.onComplete(),this.completeAnimation()}}),this.resumingFrom&&(this.resumingFrom.currentAnimation=this.currentAnimation),this.pendingAnimation=void 0})}completeAnimation(){this.resumingFrom&&(this.resumingFrom.currentAnimation=void 0,this.resumingFrom.preserveOpacity=void 0);const o=this.getStack();o&&o.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")}finishAnimation(){this.currentAnimation&&(this.mixTargetDelta&&this.mixTargetDelta(hM),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){const o=this.getLead();let{targetWithTransforms:a,target:c,layout:u,latestValues:d}=o;if(!(!a||!c||!u)){if(this!==o&&this.layout&&u&&nb(this.options.animationType,this.layout.layoutBox,u.layoutBox)){c=this.target||Se();const f=Qe(this.layout.layoutBox.x);c.x.min=o.target.x.min,c.x.max=c.x.min+f;const h=Qe(this.layout.layoutBox.y);c.y.min=o.target.y.min,c.y.max=c.y.min+h}Dt(a,c),Ni(a,d),eo(this.projectionDeltaWithTransform,this.layoutCorrected,a,d)}}registerSharedNode(o,a){this.sharedNodes.has(o)||this.sharedNodes.set(o,new fM),this.sharedNodes.get(o).add(a);const u=a.options.initialPromotionConfig;a.promote({transition:u?u.transition:void 0,preserveFollowOpacity:u&&u.shouldPreserveFollowOpacity?u.shouldPreserveFollowOpacity(a):void 0})}isLead(){const o=this.getStack();return o?o.lead===this:!0}getLead(){var a;const{layoutId:o}=this.options;return o?((a=this.getStack())==null?void 0:a.lead)||this:this}getPrevLead(){var a;const{layoutId:o}=this.options;return o?(a=this.getStack())==null?void 0:a.prevLead:void 0}getStack(){const{layoutId:o}=this.options;if(o)return this.root.sharedNodes.get(o)}promote({needsReset:o,transition:a,preserveFollowOpacity:c}={}){const u=this.getStack();u&&u.promote(this,c),o&&(this.projectionDelta=void 0,this.needsReset=!0),a&&this.setOptions({transition:a})}relegate(){const o=this.getStack();return o?o.relegate(this):!1}resetSkewAndRotation(){const{visualElement:o}=this.options;if(!o)return;let a=!1;const{latestValues:c}=o;if((c.z||c.rotate||c.rotateX||c.rotateY||c.rotateZ||c.skewX||c.skewY)&&(a=!0),!a)return;const u={};c.z&&uu("z",o,u,this.animationValues);for(let d=0;d<cu.length;d++)uu(`rotate${cu[d]}`,o,u,this.animationValues),uu(`skew${cu[d]}`,o,u,this.animationValues);o.render();for(const d in u)o.setStaticValue(d,u[d]),this.animationValues&&(this.animationValues[d]=u[d]);o.scheduleRender()}applyProjectionStyles(o,a){if(!this.instance||this.isSVG)return;if(!this.isVisible){o.visibility="hidden";return}const c=this.getTransformTemplate();if(this.needsReset){this.needsReset=!1,o.visibility="",o.opacity="",o.pointerEvents=Ka(a==null?void 0:a.pointerEvents)||"",o.transform=c?c(this.latestValues,""):"none";return}const u=this.getLead();if(!this.projectionDelta||!this.layout||!u.target){this.options.layoutId&&(o.opacity=this.latestValues.opacity!==void 0?this.latestValues.opacity:1,o.pointerEvents=Ka(a==null?void 0:a.pointerEvents)||""),this.hasProjected&&!Pr(this.latestValues)&&(o.transform=c?c({},""):"none",this.hasProjected=!1);return}o.visibility="";const d=u.animationValues||u.latestValues;this.applyTransformsToTarget();let f=rM(this.projectionDeltaWithTransform,this.treeScale,d);c&&(f=c(d,f)),o.transform=f;const{x:h,y:p}=this.projectionDelta;o.transformOrigin=`${h.origin*100}% ${p.origin*100}% 0`,u.animationValues?o.opacity=u===this?d.opacity??this.latestValues.opacity??1:this.preserveOpacity?this.latestValues.opacity:d.opacityExit:o.opacity=u===this?d.opacity!==void 0?d.opacity:"":d.opacityExit!==void 0?d.opacityExit:0;for(const x in ef){if(d[x]===void 0)continue;const{correct:y,applyTo:w,isCSSVariable:m}=ef[x],g=f==="none"?d[x]:y(d[x],u);if(w){const v=w.length;for(let j=0;j<v;j++)o[w[j]]=g}else m?this.options.visualElement.renderState.vars[x]=g:o[x]=g}this.options.layoutId&&(o.pointerEvents=u===this?Ka(a==null?void 0:a.pointerEvents)||"":"none")}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(o=>{var a;return(a=o.currentAnimation)==null?void 0:a.stop()}),this.root.nodes.forEach(Yg),this.root.sharedNodes.clear()}}}function mM(e){e.updateLayout()}function gM(e){var n;const t=((n=e.resumeFrom)==null?void 0:n.snapshot)||e.snapshot;if(e.isLead()&&e.layout&&t&&e.hasListeners("didUpdate")){const{layoutBox:r,measuredBox:i}=e.layout,{animationType:s}=e.options,o=t.source!==e.layout.source;s==="size"?Zt(f=>{const h=o?t.measuredBox[f]:t.layoutBox[f],p=Qe(h);h.min=r[f].min,h.max=h.min+p}):nb(s,t.layoutBox,r)&&Zt(f=>{const h=o?t.measuredBox[f]:t.layoutBox[f],p=Qe(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=Ci();eo(a,r,t.layoutBox);const c=Ci();o?eo(c,e.applyTransform(i,!0),t.measuredBox):eo(c,r,t.layoutBox);const u=!q1(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 x=Se();Rl(x,t.layoutBox,h.layoutBox);const y=Se();Rl(y,r,p.layoutBox),X1(x,y)||(d=!0),f.options.layoutRoot&&(e.relativeTarget=y,e.relativeTargetOrigin=x,e.relativeParent=f)}}}e.notifyListeners("didUpdate",{layout:r,snapshot:t,delta:c,layoutDelta:a,hasLayoutChanged:u,hasRelativeLayoutChanged:d})}else if(e.isLead()){const{onExitComplete:r}=e.options;r&&r()}e.options.transition=void 0}function yM(e){e.parent&&(e.isProjecting()||(e.isProjectionDirty=e.parent.isProjectionDirty),e.isSharedProjectionDirty||(e.isSharedProjectionDirty=!!(e.isProjectionDirty||e.parent.isProjectionDirty||e.parent.isSharedProjectionDirty)),e.isTransformDirty||(e.isTransformDirty=e.parent.isTransformDirty))}function vM(e){e.isProjectionDirty=e.isSharedProjectionDirty=e.isTransformDirty=!1}function xM(e){e.clearSnapshot()}function Yg(e){e.clearMeasurements()}function Qg(e){e.isLayoutDirty=!1}function wM(e){const{visualElement:t}=e.options;t&&t.getProps().onBeforeLayoutMeasure&&t.notify("BeforeLayoutMeasure"),e.resetTransform()}function qg(e){e.finishAnimation(),e.targetDelta=e.relativeTarget=e.target=void 0,e.isProjectionDirty=!0}function bM(e){e.resolveTargetDelta()}function jM(e){e.calcProjection()}function kM(e){e.resetSkewAndRotation()}function SM(e){e.removeLeadSnapshot()}function Xg(e,t,n){e.translate=pe(t.translate,0,n),e.scale=pe(t.scale,1,n),e.origin=t.origin,e.originPoint=t.originPoint}function Jg(e,t,n,r){e.min=pe(t.min,n.min,r),e.max=pe(t.max,n.max,r)}function TM(e,t,n,r){Jg(e.x,t.x,n.x,r),Jg(e.y,t.y,n.y,r)}function CM(e){return e.animationValues&&e.animationValues.opacityExit!==void 0}const EM={duration:.45,ease:[.4,0,.1,1]},Zg=e=>typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(e),ey=Zg("applewebkit/")&&!Zg("chrome/")?Math.round:kt;function ty(e){e.min=ey(e.min),e.max=ey(e.max)}function NM(e){ty(e.x),ty(e.y)}function nb(e,t,n){return e==="position"||e==="preserve-aspect"&&!XR(Ug(t),Ug(n),.2)}function PM(e){var t;return e!==e.root&&((t=e.scroll)==null?void 0:t.wasRoot)}const AM=tb({attachResizeListener:(e,t)=>Ao(e,"resize",t),measureScroll:()=>{var e,t;return{x:document.documentElement.scrollLeft||((e=document.body)==null?void 0:e.scrollLeft)||0,y:document.documentElement.scrollTop||((t=document.body)==null?void 0:t.scrollTop)||0}},checkIsScrollRoot:()=>!0}),du={current:void 0},rb=tb({measureScroll:e=>({x:e.scrollLeft,y:e.scrollTop}),defaultParent:()=>{if(!du.current){const e=new AM({});e.mount(window),e.setOptions({layoutScroll:!0}),du.current=e}return du.current},resetTransform:(e,t)=>{e.style.transform=t!==void 0?t:"none"},checkIsScrollRoot:e=>window.getComputedStyle(e).position==="fixed"}),Yh=b.createContext({transformPagePoint:e=>e,isStatic:!1,reducedMotion:"never"});function ny(e,t){if(typeof e=="function")return e(t);e!=null&&(e.current=t)}function RM(...e){return t=>{let n=!1;const r=e.map(i=>{const s=ny(i,t);return!n&&typeof s=="function"&&(n=!0),s});if(n)return()=>{for(let i=0;i<r.length;i++){const s=r[i];typeof s=="function"?s():ny(e[i],null)}}}}function MM(...e){return b.useCallback(RM(...e),e)}class DM extends b.Component{getSnapshotBeforeUpdate(t){const n=this.props.childRef.current;if(n&&t.isPresent&&!this.props.isPresent&&this.props.pop!==!1){const r=n.offsetParent,i=qd(r)&&r.offsetWidth||0,s=qd(r)&&r.offsetHeight||0,o=this.props.sizeRef.current;o.height=n.offsetHeight||0,o.width=n.offsetWidth||0,o.top=n.offsetTop,o.left=n.offsetLeft,o.right=i-o.width-o.left,o.bottom=s-o.height-o.top}return null}componentDidUpdate(){}render(){return this.props.children}}function OM({children:e,isPresent:t,anchorX:n,anchorY:r,root:i,pop:s}){var h;const o=b.useId(),a=b.useRef(null),c=b.useRef({width:0,height:0,top:0,left:0,right:0,bottom:0}),{nonce:u}=b.useContext(Yh),d=((h=e.props)==null?void 0:h.ref)??(e==null?void 0:e.ref),f=MM(a,d);return b.useInsertionEffect(()=>{const{width:p,height:x,top:y,left:w,right:m,bottom:g}=c.current;if(t||s===!1||!a.current||!p||!x)return;const v=n==="left"?`left: ${w}`:`right: ${m}`,j=r==="bottom"?`bottom: ${g}`:`top: ${y}`;a.current.dataset.motionPopId=o;const k=document.createElement("style");u&&(k.nonce=u);const S=i??document.head;return S.appendChild(k),k.sheet&&k.sheet.insertRule(`
[data-motion-pop-id="${o}"] {
position: absolute !important;
width: ${p}px !important;
height: ${x}px !important;
${v}px !important;
${j}px !important;
}
`),()=>{S.contains(k)&&S.removeChild(k)}},[t]),l.jsx(DM,{isPresent:t,childRef:a,sizeRef:c,pop:s,children:s===!1?e:b.cloneElement(e,{ref:f})})}const LM=({children:e,initial:t,isPresent:n,onExitComplete:r,custom:i,presenceAffectsLayout:s,mode:o,anchorX:a,anchorY:c,root:u})=>{const d=jh(IM),f=b.useId();let h=!0,p=b.useMemo(()=>(h=!1,{id:f,initial:t,isPresent:n,custom:i,onExitComplete:x=>{d.set(x,!0);for(const y of d.values())if(!y)return;r&&r()},register:x=>(d.set(x,!1),()=>d.delete(x))}),[n,d,r]);return s&&h&&(p={...p}),b.useMemo(()=>{d.forEach((x,y)=>d.set(y,!1))},[n]),b.useEffect(()=>{!n&&!d.size&&r&&r()},[n]),e=l.jsx(OM,{pop:o==="popLayout",isPresent:n,anchorX:a,anchorY:c,root:u,children:e}),l.jsx(oc.Provider,{value:p,children:e})};function IM(){return new Map}function ib(e=!0){const t=b.useContext(oc);if(t===null)return[!0,null];const{isPresent:n,onExitComplete:r,register:i}=t,s=b.useId();b.useEffect(()=>{if(e)return i(s)},[e]);const o=b.useCallback(()=>e&&r&&r(s),[s,r,e]);return!n&&r?[!1,o]:[!0]}const ja=e=>e.key||"";function ry(e){const t=[];return b.Children.forEach(e,n=>{b.isValidElement(n)&&t.push(n)}),t}const tf=({children:e,custom:t,initial:n=!0,onExitComplete:r,presenceAffectsLayout:i=!0,mode:s="sync",propagate:o=!1,anchorX:a="left",anchorY:c="top",root:u})=>{const[d,f]=ib(o),h=b.useMemo(()=>ry(e),[e]),p=o&&!d?[]:h.map(ja),x=b.useRef(!0),y=b.useRef(h),w=jh(()=>new Map),m=b.useRef(new Set),[g,v]=b.useState(h),[j,k]=b.useState(h);Mw(()=>{x.current=!1,y.current=h;for(let C=0;C<j.length;C++){const A=ja(j[C]);p.includes(A)?(w.delete(A),m.current.delete(A)):w.get(A)!==!0&&w.set(A,!1)}},[j,p.length,p.join("-")]);const S=[];if(h!==g){let C=[...h];for(let A=0;A<j.length;A++){const R=j[A],B=ja(R);p.includes(B)||(C.splice(A,0,R),S.push(R))}return s==="wait"&&S.length&&(C=S),k(ry(C)),v(h),null}const{forceRender:T}=b.useContext(bh);return l.jsx(l.Fragment,{children:j.map(C=>{const A=ja(C),R=o&&!d?!1:h===j||p.includes(A),B=()=>{if(m.current.has(A))return;if(m.current.add(A),w.has(A))w.set(A,!0);else return;let I=!0;w.forEach(G=>{G||(I=!1)}),I&&(T==null||T(),k(y.current),o&&(f==null||f()),r&&r())};return l.jsx(LM,{isPresent:R,initial:!x.current||n?void 0:!1,custom:t,presenceAffectsLayout:i,mode:s,root:u,onExitComplete:R?void 0:B,anchorX:a,anchorY:c,children:C},A)})})},sb=b.createContext({strict:!1}),iy={animation:["animate","variants","whileHover","whileTap","exit","whileInView","whileFocus","whileDrag"],exit:["exit"],drag:["drag","dragControls"],focus:["whileFocus"],hover:["whileHover","onHoverStart","onHoverEnd"],tap:["whileTap","onTap","onTapStart","onTapCancel"],pan:["onPan","onPanStart","onPanSessionStart","onPanEnd"],inView:["whileInView","onViewportEnter","onViewportLeave"],layout:["layout","layoutId"]};let sy=!1;function zM(){if(sy)return;const e={};for(const t in iy)e[t]={isEnabled:n=>iy[t].some(r=>!!n[r])};O1(e),sy=!0}function ob(){return zM(),kR()}function _M(e){const t=ob();for(const n in e)t[n]={...t[n],...e[n]};O1(t)}const VM=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","propagate","ignoreStrict","viewport"]);function Ml(e){return e.startsWith("while")||e.startsWith("drag")&&e!=="draggable"||e.startsWith("layout")||e.startsWith("onTap")||e.startsWith("onPan")||e.startsWith("onLayout")||VM.has(e)}let ab=e=>!Ml(e);function BM(e){typeof e=="function"&&(ab=t=>t.startsWith("on")?!Ml(t):e(t))}try{BM(require("@emotion/is-prop-valid").default)}catch{}function FM(e,t,n){const r={};for(const i in e)i==="values"&&typeof e.values=="object"||(ab(i)||n===!0&&Ml(i)||!t&&!Ml(i)||e.draggable&&i.startsWith("onDrag"))&&(r[i]=e[i]);return r}const uc=b.createContext({});function $M(e,t){if(cc(e)){const{initial:n,animate:r}=e;return{initial:n===!1||Po(n)?n:void 0,animate:Po(r)?r:void 0}}return e.inherit!==!1?t:{}}function UM(e){const{initial:t,animate:n}=$M(e,b.useContext(uc));return b.useMemo(()=>({initial:t,animate:n}),[oy(t),oy(n)])}function oy(e){return Array.isArray(e)?e.join(" "):e}const Qh=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function lb(e,t,n){for(const r in t)!Fe(t[r])&&!F1(r,n)&&(e[r]=t[r])}function WM({transformTemplate:e},t){return b.useMemo(()=>{const n=Qh();return Kh(n,t,e),Object.assign({},n.vars,n.style)},[t])}function HM(e,t){const n=e.style||{},r={};return lb(r,n,e),Object.assign(r,WM(e,t)),r}function KM(e,t){const n={},r=HM(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}const cb=()=>({...Qh(),attrs:{}});function GM(e,t,n,r){const i=b.useMemo(()=>{const s=cb();return $1(s,t,W1(r),e.transformTemplate,e.style),{...s.attrs,style:{...s.style}}},[t]);if(e.style){const s={};lb(s,e.style,e),i.style={...s,...i.style}}return i}const YM=["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 qh(e){return typeof e!="string"||e.includes("-")?!1:!!(YM.indexOf(e)>-1||/[A-Z]/u.test(e))}function QM(e,t,n,{latestValues:r},i,s=!1,o){const c=(o??qh(e)?GM:KM)(t,r,i,e),u=FM(t,typeof e=="string",s),d=e!==b.Fragment?{...u,...c,ref:n}:{},{children:f}=t,h=b.useMemo(()=>Fe(f)?f.get():f,[f]);return b.createElement(e,{...d,children:h})}function qM({scrapeMotionValuesFromProps:e,createRenderState:t},n,r,i){return{latestValues:XM(n,r,i,e),renderState:t()}}function XM(e,t,n,r){const i={},s=r(e,{});for(const h in s)i[h]=Ka(s[h]);let{initial:o,animate:a}=e;const c=cc(e),u=M1(e);t&&u&&!c&&e.inherit!==!1&&(o===void 0&&(o=t.initial),a===void 0&&(a=t.animate));let d=n?n.initial===!1:!1;d=d||o===!1;const f=d?a:o;if(f&&typeof f!="boolean"&&!lc(f)){const h=Array.isArray(f)?f:[f];for(let p=0;p<h.length;p++){const x=_h(e,h[p]);if(x){const{transitionEnd:y,transition:w,...m}=x;for(const g in m){let v=m[g];if(Array.isArray(v)){const j=d?v.length-1:0;v=v[j]}v!==null&&(i[g]=v)}for(const g in y)i[g]=y[g]}}}return i}const ub=e=>(t,n)=>{const r=b.useContext(uc),i=b.useContext(oc),s=()=>qM(e,t,r,i);return n?s():jh(s)},JM=ub({scrapeMotionValuesFromProps:Gh,createRenderState:Qh}),ZM=ub({scrapeMotionValuesFromProps:H1,createRenderState:cb}),eD=Symbol.for("motionComponentSymbol");function tD(e,t,n){const r=b.useRef(n);b.useInsertionEffect(()=>{r.current=n});const i=b.useRef(null);return b.useCallback(s=>{var a;s&&((a=e.onMount)==null||a.call(e,s)),t&&(s?t.mount(s):t.unmount());const o=r.current;if(typeof o=="function")if(s){const c=o(s);typeof c=="function"&&(i.current=c)}else i.current?(i.current(),i.current=null):o(s);else o&&(o.current=s)},[t])}const db=b.createContext({});function di(e){return e&&typeof e=="object"&&Object.prototype.hasOwnProperty.call(e,"current")}function nD(e,t,n,r,i,s){var v,j;const{visualElement:o}=b.useContext(uc),a=b.useContext(sb),c=b.useContext(oc),u=b.useContext(Yh),d=u.reducedMotion,f=u.skipAnimations,h=b.useRef(null),p=b.useRef(!1);r=r||a.renderer,!h.current&&r&&(h.current=r(e,{visualState:t,parent:o,props:n,presenceContext:c,blockInitialAnimation:c?c.initial===!1:!1,reducedMotionConfig:d,skipAnimations:f,isSVG:s}),p.current&&h.current&&(h.current.manuallyAnimateOnMount=!0));const x=h.current,y=b.useContext(db);x&&!x.projection&&i&&(x.type==="html"||x.type==="svg")&&rD(h.current,n,i,y);const w=b.useRef(!1);b.useInsertionEffect(()=>{x&&w.current&&x.update(n,c)});const m=n[x1],g=b.useRef(!!m&&!((v=window.MotionHandoffIsComplete)!=null&&v.call(window,m))&&((j=window.MotionHasOptimisedAnimation)==null?void 0:j.call(window,m)));return Mw(()=>{p.current=!0,x&&(w.current=!0,window.MotionIsMounted=!0,x.updateFeatures(),x.scheduleRenderMicrotask(),g.current&&x.animationState&&x.animationState.animateChanges())}),b.useEffect(()=>{x&&(!g.current&&x.animationState&&x.animationState.animateChanges(),g.current&&(queueMicrotask(()=>{var k;(k=window.MotionHandoffMarkAsComplete)==null||k.call(window,m)}),g.current=!1),x.enteringChildren=void 0)}),x}function rD(e,t,n,r){const{layoutId:i,layout:s,drag:o,dragConstraints:a,layoutScroll:c,layoutRoot:u,layoutCrossfade:d}=t;e.projection=new n(e.latestValues,t["data-framer-portal-id"]?void 0:fb(e.parent)),e.projection.setOptions({layoutId:i,layout:s,alwaysMeasureLayout:!!o||a&&di(a),visualElement:e,animationType:typeof s=="string"?s:"both",initialPromotionConfig:r,crossfade:d,layoutScroll:c,layoutRoot:u})}function fb(e){if(e)return e.options.allowProjection!==!1?e.projection:fb(e.parent)}function fu(e,{forwardMotionProps:t=!1,type:n}={},r,i){r&&_M(r);const s=n?n==="svg":qh(e),o=s?ZM:JM;function a(u,d){let f;const h={...b.useContext(Yh),...u,layoutId:iD(u)},{isStatic:p}=h,x=UM(u),y=o(u,p);if(!p&&Rw){sD();const w=oD(h);f=w.MeasureLayout,x.visualElement=nD(e,y,h,i,w.ProjectionNode,s)}return l.jsxs(uc.Provider,{value:x,children:[f&&x.visualElement?l.jsx(f,{visualElement:x.visualElement,...h}):null,QM(e,u,tD(y,x.visualElement,d),y,p,t,s)]})}a.displayName=`motion.${typeof e=="string"?e:`create(${e.displayName??e.name??""})`}`;const c=b.forwardRef(a);return c[eD]=e,c}function iD({layoutId:e}){const t=b.useContext(bh).id;return t&&e!==void 0?t+"-"+e:e}function sD(e,t){b.useContext(sb).strict}function oD(e){const t=ob(),{drag:n,layout:r}=t;if(!n&&!r)return{};const i={...n,...r};return{MeasureLayout:n!=null&&n.isEnabled(e)||r!=null&&r.isEnabled(e)?i.MeasureLayout:void 0,ProjectionNode:i.ProjectionNode}}function aD(e,t){if(typeof Proxy>"u")return fu;const n=new Map,r=(s,o)=>fu(s,o,e,t),i=(s,o)=>r(s,o);return new Proxy(i,{get:(s,o)=>o==="create"?r:(n.has(o)||n.set(o,fu(o,void 0,e,t)),n.get(o))})}const lD=(e,t)=>t.isSVG??qh(e)?new BR(t):new OR(t,{allowProjection:e!==b.Fragment});class cD extends jr{constructor(t){super(t),t.animationState||(t.animationState=HR(t))}updateAnimationControlsSubscription(){const{animate:t}=this.node.getProps();lc(t)&&(this.unmountControls=t.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){const{animate:t}=this.node.getProps(),{animate:n}=this.node.prevProps||{};t!==n&&this.updateAnimationControlsSubscription()}unmount(){var t;this.node.animationState.reset(),(t=this.unmountControls)==null||t.call(this)}}let uD=0;class dD extends jr{constructor(){super(...arguments),this.id=uD++}update(){if(!this.node.presenceContext)return;const{isPresent:t,onExitComplete:n}=this.node.presenceContext,{isPresent:r}=this.node.prevPresenceContext||{};if(!this.node.animationState||t===r)return;const i=this.node.animationState.setActive("exit",!t);n&&!t&&i.then(()=>{n(this.id)})}mount(){const{register:t,onExitComplete:n}=this.node.presenceContext||{};n&&n(this.id),t&&(this.unmount=t(this.id))}unmount(){}}const fD={animation:{Feature:cD},exit:{Feature:dD}};function Ko(e){return{point:{x:e.pageX,y:e.pageY}}}const hD=e=>t=>$h(t)&&e(t,Ko(t));function to(e,t,n,r){return Ao(e,t,hD(n),r)}const hb=({current:e})=>e?e.ownerDocument.defaultView:null,ay=(e,t)=>Math.abs(e-t);function pD(e,t){const n=ay(e.x,t.x),r=ay(e.y,t.y);return Math.sqrt(n**2+r**2)}const ly=new Set(["auto","scroll"]);class pb{constructor(t,n,{transformPagePoint:r,contextWindow:i=window,dragSnapToOrigin:s=!1,distanceThreshold:o=3,element:a}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.handlers={},this.contextWindow=window,this.scrollPositions=new Map,this.removeScrollListeners=null,this.onElementScroll=p=>{this.handleScroll(p.target)},this.onWindowScroll=()=>{this.handleScroll(window)},this.updatePoint=()=>{if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const p=pu(this.lastMoveEventInfo,this.history),x=this.startEvent!==null,y=pD(p.offset,{x:0,y:0})>=this.distanceThreshold;if(!x&&!y)return;const{point:w}=p,{timestamp:m}=Re;this.history.push({...w,timestamp:m});const{onStart:g,onMove:v}=this.handlers;x||(g&&g(this.lastMoveEvent,p),this.startEvent=this.lastMoveEvent),v&&v(this.lastMoveEvent,p)},this.handlePointerMove=(p,x)=>{this.lastMoveEvent=p,this.lastMoveEventInfo=hu(x,this.transformPagePoint),oe.update(this.updatePoint,!0)},this.handlePointerUp=(p,x)=>{this.end();const{onEnd:y,onSessionEnd:w,resumeAnimation:m}=this.handlers;if((this.dragSnapToOrigin||!this.startEvent)&&m&&m(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const g=pu(p.type==="pointercancel"?this.lastMoveEventInfo:hu(x,this.transformPagePoint),this.history);this.startEvent&&y&&y(p,g),w&&w(p,g)},!$h(t))return;this.dragSnapToOrigin=s,this.handlers=n,this.transformPagePoint=r,this.distanceThreshold=o,this.contextWindow=i||window;const c=Ko(t),u=hu(c,this.transformPagePoint),{point:d}=u,{timestamp:f}=Re;this.history=[{...d,timestamp:f}];const{onSessionStart:h}=n;h&&h(t,pu(u,this.history)),this.removeListeners=Uo(to(this.contextWindow,"pointermove",this.handlePointerMove),to(this.contextWindow,"pointerup",this.handlePointerUp),to(this.contextWindow,"pointercancel",this.handlePointerUp)),a&&this.startScrollTracking(a)}startScrollTracking(t){let n=t.parentElement;for(;n;){const r=getComputedStyle(n);(ly.has(r.overflowX)||ly.has(r.overflowY))&&this.scrollPositions.set(n,{x:n.scrollLeft,y:n.scrollTop}),n=n.parentElement}this.scrollPositions.set(window,{x:window.scrollX,y:window.scrollY}),window.addEventListener("scroll",this.onElementScroll,{capture:!0}),window.addEventListener("scroll",this.onWindowScroll),this.removeScrollListeners=()=>{window.removeEventListener("scroll",this.onElementScroll,{capture:!0}),window.removeEventListener("scroll",this.onWindowScroll)}}handleScroll(t){const n=this.scrollPositions.get(t);if(!n)return;const r=t===window,i=r?{x:window.scrollX,y:window.scrollY}:{x:t.scrollLeft,y:t.scrollTop},s={x:i.x-n.x,y:i.y-n.y};s.x===0&&s.y===0||(r?this.lastMoveEventInfo&&(this.lastMoveEventInfo.point.x+=s.x,this.lastMoveEventInfo.point.y+=s.y):this.history.length>0&&(this.history[0].x-=s.x,this.history[0].y-=s.y),this.scrollPositions.set(t,i),oe.update(this.updatePoint,!0))}updateHandlers(t){this.handlers=t}end(){this.removeListeners&&this.removeListeners(),this.removeScrollListeners&&this.removeScrollListeners(),this.scrollPositions.clear(),yr(this.updatePoint)}}function hu(e,t){return t?{point:t(e.point)}:e}function cy(e,t){return{x:e.x-t.x,y:e.y-t.y}}function pu({point:e},t){return{point:e,delta:cy(e,mb(t)),offset:cy(e,mD(t)),velocity:gD(t,.1)}}function mD(e){return e[0]}function mb(e){return e[e.length-1]}function gD(e,t){if(e.length<2)return{x:0,y:0};let n=e.length-1,r=null;const i=mb(e);for(;n>=0&&(r=e[n],!(i.timestamp-r.timestamp>St(t)));)n--;if(!r)return{x:0,y:0};r===e[0]&&e.length>2&&i.timestamp-r.timestamp>St(t)*2&&(r=e[1]);const s=bt(i.timestamp-r.timestamp);if(s===0)return{x:0,y:0};const o={x:(i.x-r.x)/s,y:(i.y-r.y)/s};return o.x===1/0&&(o.x=0),o.y===1/0&&(o.y=0),o}function yD(e,{min:t,max:n},r){return t!==void 0&&e<t?e=r?pe(t,e,r.min):Math.max(e,t):n!==void 0&&e>n&&(e=r?pe(n,e,r.max):Math.min(e,n)),e}function uy(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 vD(e,{top:t,left:n,bottom:r,right:i}){return{x:uy(e.x,n,i),y:uy(e.y,t,r)}}function dy(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 xD(e,t){return{x:dy(e.x,t.x),y:dy(e.y,t.y)}}function wD(e,t){let n=.5;const r=Qe(e),i=Qe(t);return i>r?n=Co(t.min,t.max-r,e.min):r>i&&(n=Co(e.min,e.max-i,t.min)),cn(0,1,n)}function bD(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 nf=.35;function jD(e=nf){return e===!1?e=0:e===!0&&(e=nf),{x:fy(e,"left","right"),y:fy(e,"top","bottom")}}function fy(e,t,n){return{min:hy(e,t),max:hy(e,n)}}function hy(e,t){return typeof e=="number"?e:e[t]||0}const kD=new WeakMap;class SD{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=Se(),this.latestPointerEvent=null,this.latestPanInfo=null,this.visualElement=t}start(t,{snapToCursor:n=!1,distanceThreshold:r}={}){const{presenceContext:i}=this.visualElement;if(i&&i.isPresent===!1)return;const s=f=>{n&&this.snapToCursor(Ko(f).point),this.stopAnimation()},o=(f,h)=>{const{drag:p,dragPropagation:x,onDragStart:y}=this.getProps();if(p&&!x&&(this.openDragLock&&this.openDragLock(),this.openDragLock=ZA(p),!this.openDragLock))return;this.latestPointerEvent=f,this.latestPanInfo=h,this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),Zt(m=>{let g=this.getAxisMotionValue(m).get()||0;if(an.test(g)){const{projection:v}=this.visualElement;if(v&&v.layout){const j=v.layout.layoutBox[m];j&&(g=Qe(j)*(parseFloat(g)/100))}}this.originPoint[m]=g}),y&&oe.update(()=>y(f,h),!1,!0),Kd(this.visualElement,"transform");const{animationState:w}=this.visualElement;w&&w.setActive("whileDrag",!0)},a=(f,h)=>{this.latestPointerEvent=f,this.latestPanInfo=h;const{dragPropagation:p,dragDirectionLock:x,onDirectionLock:y,onDrag:w}=this.getProps();if(!p&&!this.openDragLock)return;const{offset:m}=h;if(x&&this.currentDirection===null){this.currentDirection=CD(m),this.currentDirection!==null&&y&&y(this.currentDirection);return}this.updateAxis("x",h.point,m),this.updateAxis("y",h.point,m),this.visualElement.render(),w&&oe.update(()=>w(f,h),!1,!0)},c=(f,h)=>{this.latestPointerEvent=f,this.latestPanInfo=h,this.stop(f,h),this.latestPointerEvent=null,this.latestPanInfo=null},u=()=>{const{dragSnapToOrigin:f}=this.getProps();(f||this.constraints)&&this.startAnimation({x:0,y:0})},{dragSnapToOrigin:d}=this.getProps();this.panSession=new pb(t,{onSessionStart:s,onStart:o,onMove:a,onSessionEnd:c,resumeAnimation:u},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:d,distanceThreshold:r,contextWindow:hb(this.visualElement),element:this.visualElement.current})}stop(t,n){const r=t||this.latestPointerEvent,i=n||this.latestPanInfo,s=this.isDragging;if(this.cancel(),!s||!i||!r)return;const{velocity:o}=i;this.startAnimation(o);const{onDragEnd:a}=this.getProps();a&&oe.postRender(()=>a(r,i))}cancel(){this.isDragging=!1;const{projection:t,animationState:n}=this.visualElement;t&&(t.isAnimationBlocked=!1),this.endPanSession();const{dragPropagation:r}=this.getProps();!r&&this.openDragLock&&(this.openDragLock(),this.openDragLock=null),n&&n.setActive("whileDrag",!1)}endPanSession(){this.panSession&&this.panSession.end(),this.panSession=void 0}updateAxis(t,n,r){const{drag:i}=this.getProps();if(!r||!ka(t,i,this.currentDirection))return;const s=this.getAxisMotionValue(t);let o=this.originPoint[t]+r[t];this.constraints&&this.constraints[t]&&(o=yD(o,this.constraints[t],this.elastic[t])),s.set(o)}resolveConstraints(){var s;const{dragConstraints:t,dragElastic:n}=this.getProps(),r=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):(s=this.visualElement.projection)==null?void 0:s.layout,i=this.constraints;t&&di(t)?this.constraints||(this.constraints=this.resolveRefConstraints()):t&&r?this.constraints=vD(r.layoutBox,t):this.constraints=!1,this.elastic=jD(n),i!==this.constraints&&!di(t)&&r&&this.constraints&&!this.hasMutatedConstraints&&Zt(o=>{this.constraints!==!1&&this.getAxisMotionValue(o)&&(this.constraints[o]=bD(r.layoutBox[o],this.constraints[o]))})}resolveRefConstraints(){const{dragConstraints:t,onMeasureDragConstraints:n}=this.getProps();if(!t||!di(t))return!1;const r=t.current;rs(r!==null,"If `dragConstraints` is set as a React ref, that ref must be passed to another component's `ref` prop.","drag-constraints-ref");const{projection:i}=this.visualElement;if(!i||!i.layout)return!1;const s=NR(r,i.root,this.visualElement.getTransformPagePoint());let o=xD(i.layout.layoutBox,s);if(n){const a=n(TR(o));this.hasMutatedConstraints=!!a,a&&(o=I1(a))}return o}startAnimation(t){const{drag:n,dragMomentum:r,dragElastic:i,dragTransition:s,dragSnapToOrigin:o,onDragTransitionEnd:a}=this.getProps(),c=this.constraints||{},u=Zt(d=>{if(!ka(d,n,this.currentDirection))return;let f=c&&c[d]||{};o&&(f={min:0,max:0});const h=i?200:1e6,p=i?40:1e7,x={type:"inertia",velocity:r?t[d]:0,bounceStiffness:h,bounceDamping:p,timeConstant:750,restDelta:1,restSpeed:10,...s,...f};return this.startAxisValueAnimation(d,x)});return Promise.all(u).then(a)}startAxisValueAnimation(t,n){const r=this.getAxisMotionValue(t);return Kd(this.visualElement,t),r.start(zh(t,r,0,n,this.visualElement,!1))}stopAnimation(){Zt(t=>this.getAxisMotionValue(t).stop())}getAxisMotionValue(t){const n=`_drag${t.toUpperCase()}`,r=this.visualElement.getProps(),i=r[n];return i||this.visualElement.getValue(t,(r.initial?r.initial[t]:void 0)||0)}snapToCursor(t){Zt(n=>{const{drag:r}=this.getProps();if(!ka(n,r,this.currentDirection))return;const{projection:i}=this.visualElement,s=this.getAxisMotionValue(n);if(i&&i.layout){const{min:o,max:a}=i.layout.layoutBox[n],c=s.get()||0;s.set(t[n]-pe(o,a,.5)+c)}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;const{drag:t,dragConstraints:n}=this.getProps(),{projection:r}=this.visualElement;if(!di(n)||!r||!this.constraints)return;this.stopAnimation();const i={x:0,y:0};Zt(o=>{const a=this.getAxisMotionValue(o);if(a&&this.constraints!==!1){const c=a.get();i[o]=wD({min:c,max:c},this.constraints[o])}});const{transformTemplate:s}=this.visualElement.getProps();this.visualElement.current.style.transform=s?s({},""):"none",r.root&&r.root.updateScroll(),r.updateLayout(),this.constraints=!1,this.resolveConstraints(),Zt(o=>{if(!ka(o,t,null))return;const a=this.getAxisMotionValue(o),{min:c,max:u}=this.constraints[o];a.set(pe(c,u,i[o]))}),this.visualElement.render()}addListeners(){if(!this.visualElement.current)return;kD.set(this.visualElement,this);const t=this.visualElement.current,n=to(t,"pointerdown",u=>{const{drag:d,dragListener:f=!0}=this.getProps(),h=u.target,p=h!==t&&sR(h);d&&f&&!p&&this.start(u)});let r;const i=()=>{const{dragConstraints:u}=this.getProps();di(u)&&u.current&&(this.constraints=this.resolveRefConstraints(),r||(r=TD(t,u.current,()=>this.scalePositionWithinConstraints())))},{projection:s}=this.visualElement,o=s.addEventListener("measure",i);s&&!s.layout&&(s.root&&s.root.updateScroll(),s.updateLayout()),oe.read(i);const a=Ao(window,"resize",()=>this.scalePositionWithinConstraints()),c=s.addEventListener("didUpdate",({delta:u,hasLayoutChanged:d})=>{this.isDragging&&d&&(Zt(f=>{const h=this.getAxisMotionValue(f);h&&(this.originPoint[f]+=u[f].translate,h.set(h.get()+u[f].translate))}),this.visualElement.render())});return()=>{a(),n(),o(),c&&c(),r&&r()}}getProps(){const t=this.visualElement.getProps(),{drag:n=!1,dragDirectionLock:r=!1,dragPropagation:i=!1,dragConstraints:s=!1,dragElastic:o=nf,dragMomentum:a=!0}=t;return{...t,drag:n,dragDirectionLock:r,dragPropagation:i,dragConstraints:s,dragElastic:o,dragMomentum:a}}}function py(e){let t=!0;return()=>{if(t){t=!1;return}e()}}function TD(e,t,n){const r=bg(e,py(n)),i=bg(t,py(n));return()=>{r(),i()}}function ka(e,t,n){return(t===!0||t===e)&&(n===null||n===e)}function CD(e,t=10){let n=null;return Math.abs(e.y)>t?n="y":Math.abs(e.x)>t&&(n="x"),n}class ED extends jr{constructor(t){super(t),this.removeGroupControls=kt,this.removeListeners=kt,this.controls=new SD(t)}mount(){const{dragControls:t}=this.node.getProps();t&&(this.removeGroupControls=t.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||kt}update(){const{dragControls:t}=this.node.getProps(),{dragControls:n}=this.node.prevProps||{};t!==n&&(this.removeGroupControls(),t&&(this.removeGroupControls=t.subscribe(this.controls)))}unmount(){this.removeGroupControls(),this.removeListeners(),this.controls.isDragging||this.controls.endPanSession()}}const mu=e=>(t,n)=>{e&&oe.update(()=>e(t,n),!1,!0)};class ND extends jr{constructor(){super(...arguments),this.removePointerDownListener=kt}onPointerDown(t){this.session=new pb(t,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:hb(this.node)})}createPanHandlers(){const{onPanSessionStart:t,onPanStart:n,onPan:r,onPanEnd:i}=this.node.getProps();return{onSessionStart:mu(t),onStart:mu(n),onMove:mu(r),onEnd:(s,o)=>{delete this.session,i&&oe.postRender(()=>i(s,o))}}}mount(){this.removePointerDownListener=to(this.node.current,"pointerdown",t=>this.onPointerDown(t))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}}let gu=!1;class PD extends b.Component{componentDidMount(){const{visualElement:t,layoutGroup:n,switchLayoutGroup:r,layoutId:i}=this.props,{projection:s}=t;s&&(n.group&&n.group.add(s),r&&r.register&&i&&r.register(s),gu&&s.root.didUpdate(),s.addEventListener("animationComplete",()=>{this.safeToRemove()}),s.setOptions({...s.options,layoutDependency:this.props.layoutDependency,onExitComplete:()=>this.safeToRemove()})),Ga.hasEverUpdated=!0}getSnapshotBeforeUpdate(t){const{layoutDependency:n,visualElement:r,drag:i,isPresent:s}=this.props,{projection:o}=r;return o&&(o.isPresent=s,t.layoutDependency!==n&&o.setOptions({...o.options,layoutDependency:n}),gu=!0,i||t.layoutDependency!==n||n===void 0||t.isPresent!==s?o.willUpdate():this.safeToRemove(),t.isPresent!==s&&(s?o.promote():o.relegate()||oe.postRender(()=>{const a=o.getStack();(!a||!a.members.length)&&this.safeToRemove()}))),null}componentDidUpdate(){const{projection:t}=this.props.visualElement;t&&(t.root.didUpdate(),Fh.postRender(()=>{!t.currentAnimation&&t.isLead()&&this.safeToRemove()}))}componentWillUnmount(){const{visualElement:t,layoutGroup:n,switchLayoutGroup:r}=this.props,{projection:i}=t;gu=!0,i&&(i.scheduleCheckAfterUnmount(),n&&n.group&&n.group.remove(i),r&&r.deregister&&r.deregister(i))}safeToRemove(){const{safeToRemove:t}=this.props;t&&t()}render(){return null}}function gb(e){const[t,n]=ib(),r=b.useContext(bh);return l.jsx(PD,{...e,layoutGroup:r,switchLayoutGroup:b.useContext(db),isPresent:t,safeToRemove:n})}const AD={pan:{Feature:ND},drag:{Feature:ED,ProjectionNode:rb,MeasureLayout:gb}};function my(e,t,n){const{props:r}=e;e.animationState&&r.whileHover&&e.animationState.setActive("whileHover",n==="Start");const i="onHover"+n,s=r[i];s&&oe.postRender(()=>s(t,Ko(t)))}class RD extends jr{mount(){const{current:t}=this.node;t&&(this.unmount=tR(t,(n,r)=>(my(this.node,r,"Start"),i=>my(this.node,i,"End"))))}unmount(){}}class MD extends jr{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=Uo(Ao(this.node.current,"focus",()=>this.onFocus()),Ao(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}function gy(e,t,n){const{props:r}=e;if(e.current instanceof HTMLButtonElement&&e.current.disabled)return;e.animationState&&r.whileTap&&e.animationState.setActive("whileTap",n==="Start");const i="onTap"+(n==="End"?"":n),s=r[i];s&&oe.postRender(()=>s(t,Ko(t)))}class DD extends jr{mount(){const{current:t}=this.node;if(!t)return;const{globalTapTarget:n,propagate:r}=this.node.props;this.unmount=aR(t,(i,s)=>(gy(this.node,s,"Start"),(o,{success:a})=>gy(this.node,o,a?"End":"Cancel")),{useGlobalTarget:n,stopPropagation:(r==null?void 0:r.tap)===!1})}unmount(){}}const rf=new WeakMap,yu=new WeakMap,OD=e=>{const t=rf.get(e.target);t&&t(e)},LD=e=>{e.forEach(OD)};function ID({root:e,...t}){const n=e||document;yu.has(n)||yu.set(n,{});const r=yu.get(n),i=JSON.stringify(t);return r[i]||(r[i]=new IntersectionObserver(LD,{root:e,...t})),r[i]}function zD(e,t,n){const r=ID(t);return rf.set(e,n),r.observe(e),()=>{rf.delete(e),r.unobserve(e)}}const _D={some:0,all:1};class VD extends jr{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){this.unmount();const{viewport:t={}}=this.node.getProps(),{root:n,margin:r,amount:i="some",once:s}=t,o={root:n?n.current:void 0,rootMargin:r,threshold:typeof i=="number"?i:_D[i]},a=c=>{const{isIntersecting:u}=c;if(this.isInView===u||(this.isInView=u,s&&!u&&this.hasEnteredView))return;u&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",u);const{onViewportEnter:d,onViewportLeave:f}=this.node.getProps(),h=u?d:f;h&&h(c)};return zD(this.node.current,o,a)}mount(){this.startObserver()}update(){if(typeof IntersectionObserver>"u")return;const{props:t,prevProps:n}=this.node;["amount","margin","root"].some(BD(t,n))&&this.startObserver()}unmount(){}}function BD({viewport:e={}},{viewport:t={}}={}){return n=>e[n]!==t[n]}const FD={inView:{Feature:VD},tap:{Feature:DD},focus:{Feature:MD},hover:{Feature:RD}},$D={layout:{ProjectionNode:rb,MeasureLayout:gb}},UD={...fD,...FD,...AD,...$D},F=aD(UD,lD),yb="/assets/logo-angela-LymzDLVU.png",yy=[{label:"Trouwen",path:"/trouwen",children:[{label:"Huwelijksreis Curaçao",path:"/trouwlocatie"},{label:"Tarieven",path:"/tarieven"}]},{label:"Coaching",path:"/coaching"},{label:"Lieve woorden",path:"/lieve-woorden"},{label:"Over mij",path:"/over-mij"},{label:"Contact",path:"/contact"}];function WD(){const e=br(),[t,n]=b.useState(!1),[r,i]=b.useState(!1),[s,o]=b.useState(!1),a=b.useRef(null),c=b.useRef();b.useEffect(()=>{const p=()=>n(window.scrollY>60);return window.addEventListener("scroll",p),()=>window.removeEventListener("scroll",p)},[]),b.useEffect(()=>{i(!1),o(!1)},[e]);const u=e.pathname==="/",d=()=>{clearTimeout(c.current),o(!0)},f=()=>{c.current=setTimeout(()=>o(!1),200)},h=t||!u?"text-foreground hover:text-accent":"text-primary-foreground/90 hover:text-primary-foreground";return l.jsxs(l.Fragment,{children:[l.jsx("nav",{className:`fixed top-0 left-0 right-0 z-50 transition-all duration-500 ${t||!u?"bg-background/95 backdrop-blur-sm shadow-sm border-b border-border":"bg-transparent"}`,children:l.jsxs("div",{className:"container max-w-6xl mx-auto px-6 flex items-center justify-between h-20",children:[l.jsx(ne,{to:"/",className:"flex items-center group",children:l.jsx("img",{src:yb,alt:"Angela Ceremonies",className:`h-14 w-auto transition-all duration-300 ${t||!u?"":"brightness-0 invert"}`})}),l.jsx("div",{className:"hidden md:flex items-center gap-8",children:yy.map(p=>p.children?l.jsxs("div",{className:"relative",ref:a,onMouseEnter:d,onMouseLeave:f,children:[l.jsxs(ne,{to:p.path,className:`font-body text-sm tracking-widest uppercase transition-all duration-300 relative group flex items-center gap-1 ${h} ${e.pathname===p.path||p.children.some(x=>e.pathname===x.path)?"text-accent":""}`,children:[p.label,l.jsx(DT,{size:12,className:`transition-transform duration-200 ${s?"rotate-180":""}`})]}),l.jsx(tf,{children:s&&l.jsx(F.div,{initial:{opacity:0,y:-8},animate:{opacity:1,y:0},exit:{opacity:0,y:-8},transition:{duration:.2},className:"absolute top-full left-0 mt-2 bg-background border border-border rounded shadow-lg z-50 min-w-[200px] py-2",children:p.children.map(x=>l.jsx(ne,{to:x.path,className:`block px-5 py-2.5 font-body text-sm tracking-wide text-foreground hover:text-accent hover:bg-muted transition-colors ${e.pathname===x.path?"text-accent":""}`,children:x.label},x.path))})})]},p.label):l.jsxs(ne,{to:p.path,className:`font-body text-sm tracking-widest uppercase transition-all duration-300 relative group ${h} ${e.pathname===p.path?"text-accent":""}`,children:[p.label,l.jsx("span",{className:`absolute -bottom-1 left-0 h-px bg-accent transition-all duration-300 ${e.pathname===p.path?"w-full":"w-0 group-hover:w-full"}`})]},p.path))}),l.jsx("button",{className:`md:hidden transition-colors duration-300 ${t||!u?"text-foreground":"text-primary-foreground"}`,onClick:()=>i(p=>!p),"aria-label":"Menu openen",children:r?l.jsx(P0,{size:22}):l.jsx(LT,{size:22})})]})}),l.jsx(tf,{children:r&&l.jsx(F.div,{initial:{opacity:0,y:-20},animate:{opacity:1,y:0},exit:{opacity:0,y:-20},transition:{duration:.25},className:"fixed inset-0 z-40 bg-background flex flex-col items-center justify-center gap-6 md:hidden",children:yy.map(p=>p.children?l.jsx("div",{className:"flex flex-col items-center gap-3",children:p.children.map(x=>l.jsx(ne,{to:x.path,className:`font-display text-2xl tracking-wide text-foreground hover:text-accent transition-colors ${e.pathname===x.path?"text-accent":""}`,children:x.label},x.path))},p.label):l.jsx(ne,{to:p.path,className:`font-display text-2xl tracking-wide text-foreground hover:text-accent transition-colors ${e.pathname===p.path?"text-accent":""}`,children:p.label},p.path))})})]})}const HD=()=>{const{pathname:e}=br();return b.useEffect(()=>{window.scrollTo({top:0,behavior:"instant"})},[e]),null},We=({children:e})=>l.jsx(F.div,{initial:{opacity:0,y:12},animate:{opacity:1,y:0},exit:{opacity:0,y:-8},transition:{duration:.45,ease:[.25,.46,.45,.94]},children:e});function KD(){return l.jsx("footer",{className:"bg-primary text-primary-foreground",children:l.jsxs("div",{className:"container max-w-6xl mx-auto px-6 py-16",children:[l.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-4 gap-12",children:[l.jsxs("div",{className:"space-y-4",children:[l.jsx(ne,{to:"/",children:l.jsx("img",{src:yb,alt:"Angela Ceremonies",className:"h-14 w-auto brightness-0 invert"})}),l.jsx("p",{className:"font-body text-sm leading-relaxed text-primary-foreground/70",children:"Persoonlijke en liefdevolle trouwceremonies die passen bij wie jullie zijn."}),l.jsxs("div",{className:"flex items-center gap-1 text-primary-foreground/60 text-xs font-body tracking-wide",children:[l.jsx("span",{children:"Liefdevol"}),l.jsx("span",{className:"mx-2",children:"·"}),l.jsx("span",{children:"Persoonlijk"}),l.jsx("span",{className:"mx-2",children:"·"}),l.jsx("span",{children:"Verbindend"})]})]}),l.jsxs("div",{className:"space-y-4",children:[l.jsx("h4",{className:"font-body text-xs tracking-[0.2em] uppercase text-accent",children:"Navigatie"}),l.jsx("nav",{className:"flex flex-col gap-3",children:[{label:"Trouwen",path:"/trouwen"},{label:"Huwelijksreis Curaçao",path:"/trouwlocatie"},{label:"Tarieven",path:"/tarieven"},{label:"Coaching",path:"/coaching"},{label:"Lieve woorden",path:"/lieve-woorden"},{label:"Over mij",path:"/over-mij"},{label:"Contact",path:"/contact"}].map(e=>l.jsx(ne,{to:e.path,className:"font-body text-sm text-primary-foreground/70 hover:text-accent transition-colors",children:e.label},e.path))})]}),l.jsxs("div",{className:"space-y-4",children:[l.jsx("h4",{className:"font-body text-xs tracking-[0.2em] uppercase text-accent",children:"Informatie"}),l.jsxs("nav",{className:"flex flex-col gap-3",children:[[{label:"Trouwambtenaar Rotterdam",path:"/trouwambtenaar-rotterdam"},{label:"Trouwambtenaar Den Haag",path:"/trouwambtenaar-den-haag"},{label:"BABS inhuren",path:"/babs-inhuren"},{label:"Ceremonieel trouwen",path:"/ceremonieel-trouwen"},{label:"Trouwambtenaar kosten",path:"/trouwambtenaar-kosten"},{label:"Hindoestaanse Bruidsbeurs",path:"/hindoestaanse-bruidsbeurs"}].map(e=>l.jsx(ne,{to:e.path,className:"font-body text-sm text-primary-foreground/70 hover:text-accent transition-colors",children:e.label},e.path)),l.jsx("a",{href:"https://alletrouwambtenaren.nl/babs/hindoestaanse-trouwambtenaar-angela/",target:"_blank",rel:"noopener noreferrer",className:"font-body text-sm text-primary-foreground/70 hover:text-accent transition-colors",children:"Profiel op AlleTrauwambtenaren.nl"})]})]}),l.jsxs("div",{className:"space-y-4",children:[l.jsx("h4",{className:"font-body text-xs tracking-[0.2em] uppercase text-accent",children:"Contact"}),l.jsxs("div",{className:"flex flex-col gap-3",children:[l.jsxs("a",{href:"mailto:angela.bhagole@gmail.com",className:"flex items-center gap-3 font-body text-sm text-primary-foreground/70 hover:text-accent transition-colors",children:[l.jsx(oh,{size:14,className:"text-accent"}),"angela.bhagole@gmail.com"]}),l.jsxs("a",{href:"tel:+31624897676",className:"flex items-center gap-3 font-body text-sm text-primary-foreground/70 hover:text-accent transition-colors",children:[l.jsx(ah,{size:14,className:"text-accent"}),"+31 6 248 97 676"]}),l.jsxs("div",{className:"flex items-start gap-3 font-body text-sm text-primary-foreground/70",children:[l.jsx(N0,{size:14,className:"text-accent mt-0.5 shrink-0"}),l.jsx("span",{children:"Rotterdam"})]}),l.jsxs("div",{className:"flex items-center gap-4 mt-2",children:[l.jsx("a",{href:"https://www.facebook.com/profile.php?id=61584470039895",target:"_blank",rel:"noopener noreferrer",className:"text-primary-foreground/60 hover:text-accent transition-colors","aria-label":"Facebook",children:l.jsx(T0,{size:18})}),l.jsx("a",{href:"https://www.instagram.com/angela_ceremonies",target:"_blank",rel:"noopener noreferrer",className:"text-primary-foreground/60 hover:text-accent transition-colors","aria-label":"Instagram",children:l.jsx(E0,{size:18})})]})]})]})]}),l.jsxs("div",{className:"border-t border-primary-foreground/10 mt-12 pt-8 flex flex-col sm:flex-row items-center justify-between gap-4",children:[l.jsxs("p",{className:"font-body text-xs text-primary-foreground/40 tracking-wide",children:["© ",new Date().getFullYear()," Angela Ceremonies · Angela Bhagole-Mangre"]}),l.jsxs("p",{className:"font-body text-xs text-primary-foreground/40 flex items-center gap-1",children:["Gemaakt met ",l.jsx(C0,{size:10,className:"text-accent"})," door Ruud Kruidhof"]})]})]})})}const GD="https://angelaceremonies.com",YD="https://pub-bb2e103a32db4e198524a2e9ed8f35b4.r2.dev/d15f0259-fac6-4423-9dad-5644c3826e0e/id-preview-f4f3fb9b--bfb62ae5-bcd7-468b-8a5b-433244acdf1e.lovable.app-1771490753379.png",Ze=({title:e,description:t,canonical:n,ogImage:r,jsonLd:i})=>{const s=e.includes("Angela Ceremonies")?e:`${e} | Angela Ceremonies`,o=n?`${GD}${n}`:void 0,a=r||YD;return l.jsxs(PS,{children:[l.jsx("title",{children:s}),l.jsx("meta",{name:"description",content:t}),o&&l.jsx("link",{rel:"canonical",href:o}),l.jsx("meta",{property:"og:title",content:s}),l.jsx("meta",{property:"og:description",content:t}),l.jsx("meta",{property:"og:type",content:"website"}),l.jsx("meta",{property:"og:image",content:a}),o&&l.jsx("meta",{property:"og:url",content:o}),l.jsx("meta",{property:"og:locale",content:"nl_NL"}),l.jsx("meta",{property:"og:site_name",content:"Angela Ceremonies"}),l.jsx("meta",{name:"twitter:card",content:"summary_large_image"}),l.jsx("meta",{name:"twitter:title",content:s}),l.jsx("meta",{name:"twitter:description",content:t}),l.jsx("meta",{name:"twitter:image",content:a}),i&&l.jsx("script",{type:"application/ld+json",children:JSON.stringify(i)})]})},Et="/assets/hero-wedding-C0cSD9P3.jpg",dc="/assets/wedding-aisle-Hdgu4tgs.jpg",QD="/assets/angela-toga-D67mfIDM.jpg",qD="/assets/angela-portrait-2-BwtGMqyW.jpg",hn=({children:e,delay:t=0,className:n=""})=>l.jsx(F.div,{initial:{opacity:0,y:30},whileInView:{opacity:1,y:0},viewport:{once:!0,margin:"-60px"},transition:{duration:.8,delay:t,ease:[.25,.46,.45,.94]},className:n,children:e}),XD=()=>l.jsxs("main",{children:[l.jsx(Ze,{title:"Trouwambtenaar & Ceremoniespreker Rotterdam | Angela Ceremonies",description:"Persoonlijke trouwceremonies door Angela Bhagole-Mangre. BABS, ceremoniespreker en trouwambtenaar in Rotterdam. Wettelijk, ceremonieel trouwen & geloften vernieuwen.",canonical:"/",jsonLd:{"@context":"https://schema.org","@type":"ProfessionalService",name:"Angela Ceremonies",description:"Persoonlijke trouwceremonies door Angela Bhagole-Mangre. Trouwambtenaar (BABS) en ceremoniespreker in Rotterdam, werkzaam door heel Nederland.",url:"https://angelaceremonies.com",telephone:"+31-6-00000000",address:{"@type":"PostalAddress",addressLocality:"Rotterdam",addressCountry:"NL"},areaServed:{"@type":"Country",name:"Nederland"},priceRange:"€€",serviceType:["Trouwambtenaar","Ceremoniespreker","BABS","Coaching"],founder:{"@type":"Person",name:"Angela Bhagole-Mangre"}}}),l.jsxs("section",{className:"relative h-screen min-h-[600px] flex items-center justify-center overflow-hidden",children:[l.jsx("img",{src:Et,alt:"Elegante trouwceremonie",className:"absolute inset-0 w-full h-full object-cover"}),l.jsx("div",{className:"hero-overlay absolute inset-0"}),l.jsxs("div",{className:"relative z-10 text-center px-6 max-w-3xl mx-auto",children:[l.jsx(F.p,{initial:{opacity:0,letterSpacing:"0.5em"},animate:{opacity:1,letterSpacing:"0.3em"},transition:{duration:1.2},className:"font-body text-xs tracking-[0.3em] uppercase text-primary-foreground/70 mb-6",children:"TROUWAMBTENAAR & CEREMONIESPREKER · ROTTERDAM"}),l.jsxs(F.h1,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{duration:1,delay:.3},className:"font-display text-5xl md:text-7xl text-primary-foreground leading-tight mb-6",children:["Jullie liefde,",l.jsx("br",{}),l.jsx("span",{className:"italic",children:"mijn woorden"})]}),l.jsx(F.div,{initial:{opacity:0,scaleX:0},animate:{opacity:1,scaleX:1},transition:{duration:.8,delay:.7},className:"w-16 h-px bg-accent mx-auto mb-6"}),l.jsx(F.p,{initial:{opacity:0},animate:{opacity:1},transition:{duration:1,delay:.9},className:"font-body text-base md:text-lg text-primary-foreground/80 leading-relaxed mb-10 font-light",children:"Liefde verdient een ceremonie die bij je past."}),l.jsxs(F.div,{initial:{opacity:0,y:10},animate:{opacity:1,y:0},transition:{duration:.8,delay:1.1},className:"flex flex-col sm:flex-row items-center justify-center gap-4",children:[l.jsx(ne,{to:"/trouwen",className:"btn-outline",children:"Ontdek mijn aanpak"}),l.jsx(ne,{to:"/contact",className:"btn-gold",children:"Neem contact op"})]})]}),l.jsxs(F.div,{initial:{opacity:0},animate:{opacity:1},transition:{duration:1,delay:1.5},className:"absolute bottom-8 left-1/2 -translate-x-1/2 flex flex-col items-center gap-2",children:[l.jsx("span",{className:"font-body text-xs tracking-widest uppercase text-primary-foreground/50",children:"Scroll"}),l.jsx("div",{className:"w-px h-8 bg-primary-foreground/30 animate-pulse"})]})]}),l.jsx("section",{className:"section-champagne py-24 px-6",children:l.jsxs("div",{className:"container max-w-4xl mx-auto text-center",children:[l.jsxs(hn,{children:[l.jsx("p",{className:"font-body text-xs tracking-[0.3em] uppercase text-accent mb-4",children:"Welkom aanstaande bruidspaar"}),l.jsx("h2",{className:"font-display text-3xl md:text-5xl text-primary mb-6 leading-tight",children:"Jullie trouwdag is een uniek moment"})]}),l.jsxs(hn,{delay:.2,children:[l.jsx("div",{className:"divider-ornament my-8",children:l.jsx("span",{className:"font-display italic text-accent text-lg",children:"✦"})}),l.jsx("p",{className:"font-body text-base md:text-lg leading-relaxed text-muted-foreground max-w-2xl mx-auto mb-6",children:"Een dag waarop alles samenkomt: liefde, betekenis en verbondenheid. Ik help jullie graag om dit moment te vertalen naar een ceremonie die écht over jullie gaat."}),l.jsx("p",{className:"font-body text-base md:text-lg leading-relaxed text-muted-foreground max-w-2xl mx-auto mb-6",children:"Met aandacht, rust en persoonlijke betrokkenheid creëren we samen een trouwceremonie die raakt, verrast en blijft hangen. Geen standaardverhaal, maar een oprechte ceremonie waarin jullie verhaal centraal staat. Precies zoals jullie zijn."}),l.jsx("p",{className:"font-body text-base md:text-lg leading-relaxed text-muted-foreground max-w-2xl mx-auto",children:"Of jullie nu kiezen voor ingetogen en stijlvol of warm en uitbundig: ik zorg voor woorden die kloppen en een sfeer die past."})]})]})}),l.jsx("section",{className:"bg-background py-24 px-6",children:l.jsxs("div",{className:"container max-w-6xl mx-auto",children:[l.jsxs(hn,{className:"text-center mb-16",children:[l.jsx("p",{className:"font-body text-xs tracking-[0.3em] uppercase text-accent mb-3",children:"Wat ik voor jullie doe"}),l.jsx("h2",{className:"font-display text-3xl md:text-4xl text-primary",children:"Een ceremonie die bij jullie past"})]}),l.jsx("div",{className:"grid grid-cols-1 md:grid-cols-3 gap-8",children:[{icon:"♡",title:"Wettelijk trouwen",description:"Als BABS voltrek ik jullie officiële huwelijk met de zorg en persoonlijkheid die jullie dag verdient.",link:"/trouwen"},{icon:"✦",title:"Ceremonieel huwelijk",description:"Een ceremonie zonder wettelijke binding, volledig op maat gemaakt — jullie verhaal, jullie woorden, jullie moment.",link:"/trouwen"},{icon:"◇",title:"Geloften vernieuwen",description:"Sta opnieuw voor elkaar en vier jullie liefde met een intieme, betekenisvolle herbevestiging.",link:"/trouwen"}].map((e,t)=>l.jsx(hn,{delay:t*.15,children:l.jsxs(ne,{to:e.link,className:"card-elegant block p-8 group hover:shadow-elegant transition-all duration-300 hover:-translate-y-1 h-full",children:[l.jsx("div",{className:"text-accent text-2xl mb-5 font-display",children:e.icon}),l.jsx("h3",{className:"font-display text-xl text-primary mb-3",children:e.title}),l.jsx("p",{className:"font-body text-sm leading-relaxed text-muted-foreground mb-6",children:e.description}),l.jsxs("span",{className:"flex items-center gap-2 font-body text-xs tracking-widest uppercase text-accent group-hover:gap-3 transition-all",children:["Meer lezen ",l.jsx(sh,{size:12})]})]})},e.title))})]})}),l.jsxs("section",{className:"relative h-80 md:h-[500px] overflow-hidden",children:[l.jsx("img",{src:dc,alt:"Trouwlaan met bloemen en kaarsen",className:"w-full h-full object-cover"}),l.jsx("div",{className:"absolute inset-0 bg-primary/40 flex items-center justify-center",children:l.jsxs(F.blockquote,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.8},className:"text-center px-6 max-w-2xl",children:[l.jsx("p",{className:"font-display text-2xl md:text-4xl italic text-primary-foreground leading-relaxed",children:'"Samen maken we van jullie trouwceremonie een herinnering om nooit te vergeten."'}),l.jsx("div",{className:"w-12 h-px bg-accent mx-auto mt-6"}),l.jsx("p",{className:"font-body text-xs tracking-widest uppercase text-primary-foreground/70 mt-4",children:"Angela Bhagole-Mangre"})]})})]}),l.jsx("section",{className:"section-cream py-24 px-6",children:l.jsx("div",{className:"container max-w-6xl mx-auto",children:l.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-16 items-center",children:[l.jsxs(hn,{className:"relative",children:[l.jsx("img",{src:QD,alt:"Angela Bhagole-Mangre, trouwambtenaar en ceremonieel spreker",className:"w-full h-72 md:h-[400px] object-cover object-[center_30%]"}),l.jsx("div",{className:"absolute -bottom-4 -right-4 w-24 h-24 border border-accent opacity-40"}),l.jsx("div",{className:"absolute -top-4 -left-4 w-24 h-24 border border-accent opacity-40"})]}),l.jsxs(hn,{delay:.2,className:"space-y-6",children:[l.jsx("p",{className:"font-body text-xs tracking-[0.3em] uppercase text-accent",children:"Over Angela Ceremonies"}),l.jsxs("h2",{className:"font-display text-3xl md:text-4xl text-primary leading-tight",children:["Liefdevol.",l.jsx("br",{}),"Persoonlijk.",l.jsx("br",{}),"Verbindend."]}),l.jsx("div",{className:"w-12 h-px bg-accent"}),l.jsx("p",{className:"font-body text-base leading-relaxed text-muted-foreground",children:"Angela Ceremonies verzorgt persoonlijke en liefdevolle trouwceremonies die passen bij wie jullie zijn. Angela Bhagole-Mangre is actief als BABS, zelfstandig trouwambtenaar en ceremoniespreker en begeleidt zowel wettelijke als ceremoniële huwelijken."}),l.jsx("p",{className:"font-body text-base leading-relaxed text-muted-foreground",children:"Vanuit Rotterdam en werkzaam door heel Nederland staat Angela Ceremonies voor rust, verbinding en een ceremonie die bijblijft."}),l.jsx(ne,{to:"/over-mij",className:"btn-primary inline-flex",children:"Lees meer over mij"})]})]})})}),l.jsx("section",{className:"bg-primary py-20 px-6",children:l.jsx("div",{className:"container max-w-4xl mx-auto",children:l.jsx("div",{className:"grid grid-cols-1 sm:grid-cols-3 gap-12 text-center",children:[{number:"490+",label:"Huwelijken voltrokken"},{number:"Sinds 2018",label:"Actief als BABS"},{number:"Heel NL",label:"Werkzaam door heel Nederland"}].map((e,t)=>l.jsxs(F.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{delay:t*.15,duration:.7},className:"space-y-2",children:[l.jsx("div",{className:"font-display text-3xl md:text-4xl text-accent",children:e.number}),l.jsx("div",{className:"font-body text-xs tracking-widest uppercase text-primary-foreground/60",children:e.label})]},e.label))})})}),l.jsx("section",{className:"section-champagne py-24 px-6",children:l.jsx("div",{className:"container max-w-6xl mx-auto",children:l.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-16 items-center",children:[l.jsxs(hn,{className:"space-y-6",children:[l.jsx("p",{className:"font-body text-xs tracking-[0.3em] uppercase text-accent",children:"Coaching voor BABS'en"}),l.jsx("h2",{className:"font-display text-3xl md:text-4xl text-primary leading-tight",children:"Met vertrouwen voor het bruidspaar staan"}),l.jsx("div",{className:"w-12 h-px bg-accent"}),l.jsx("p",{className:"font-body text-base leading-relaxed text-muted-foreground",children:"Droom je ervan om BABS te worden? Of sta je binnenkort voor het eerst voor een bruidspaar en wil je meer rust, zelfvertrouwen en verdieping? Ik help je graag om jouw rol met plezier en overtuiging neer te zetten."}),l.jsx("ul",{className:"space-y-3",children:["Startende buitengewoon ambtenaren","Gast-BABS'en of BABS voor één dag","Ceremoniesprekers","Trouwambtenaren die willen groeien"].map(e=>l.jsxs("li",{className:"flex items-center gap-3 font-body text-sm text-muted-foreground",children:[l.jsx("span",{className:"text-accent text-xs",children:"✦"}),e]},e))}),l.jsx(ne,{to:"/coaching",className:"btn-primary inline-flex",children:"Meer over coaching"})]}),l.jsxs(hn,{delay:.2,className:"relative",children:[l.jsx("img",{src:qD,alt:"Coaching voor trouwambtenaren",className:"w-full h-72 md:h-[400px] object-cover object-[center_30%]"}),l.jsx("div",{className:"absolute -bottom-4 -left-4 w-24 h-24 border border-accent opacity-40"})]})]})})}),l.jsx("section",{className:"bg-background py-24 px-6 text-center",children:l.jsx("div",{className:"container max-w-2xl mx-auto",children:l.jsxs(hn,{className:"space-y-6",children:[l.jsx("p",{className:"font-body text-xs tracking-[0.3em] uppercase text-accent",children:"Laten we kennismaken"}),l.jsx("h2",{className:"font-display text-3xl md:text-5xl text-primary leading-tight",children:"Klaar om jullie verhaal te vertellen?"}),l.jsx("div",{className:"divider-ornament my-6",children:l.jsx("span",{className:"font-display italic text-accent text-lg",children:"✦"})}),l.jsx("p",{className:"font-body text-base leading-relaxed text-muted-foreground",children:"Hebben jullie vragen, willen jullie kennismaken of samen ontdekken wat bij jullie past? Ik hoor graag van jullie en denk met jullie mee."}),l.jsx(ne,{to:"/contact",className:"btn-primary inline-flex mt-4",children:"Neem contact op"})]})})})]}),JD="/assets/angela-portrait-yellow-CjHeByVD.png",Xt=({children:e,delay:t=0,className:n=""})=>l.jsx(F.div,{initial:{opacity:0,y:30},whileInView:{opacity:1,y:0},viewport:{once:!0,margin:"-60px"},transition:{duration:.8,delay:t,ease:[.25,.46,.45,.94]},className:n,children:e}),ZD=()=>l.jsxs("main",{children:[l.jsx(Ze,{title:"Trouwen met Angela | Wettelijk & Ceremonieel Huwelijk",description:"Ontdek de mogelijkheden voor jullie trouwceremonie: wettelijk trouwen, ceremonieel huwelijk of geloften vernieuwen. Persoonlijk en op maat door Angela Ceremonies.",canonical:"/trouwen"}),l.jsxs("section",{className:"relative h-[60vh] min-h-[400px] flex items-end pb-16 overflow-hidden",children:[l.jsx("img",{src:Et,alt:"Trouwceremonie",className:"absolute inset-0 w-full h-full object-cover"}),l.jsx("div",{className:"absolute inset-0 bg-primary/50"}),l.jsxs("div",{className:"relative z-10 container max-w-4xl mx-auto px-6",children:[l.jsx(F.p,{initial:{opacity:0},animate:{opacity:1},transition:{duration:1,delay:.3},className:"font-body text-xs tracking-[0.3em] uppercase text-accent mb-3",children:"Angela Ceremonies"}),l.jsx(F.h1,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{duration:.8,delay:.5},className:"font-display text-4xl md:text-6xl text-primary-foreground leading-tight",children:"Trouwen"})]})]}),l.jsx("section",{className:"section-champagne py-20 px-6",children:l.jsx("div",{className:"container max-w-4xl mx-auto text-center",children:l.jsxs(Xt,{children:[l.jsx("p",{className:"font-body text-xs tracking-[0.3em] uppercase text-accent mb-4",children:"Jullie grote dag"}),l.jsx("h2",{className:"font-display text-3xl md:text-4xl text-primary mb-6",children:"Een ceremonie die écht over jullie gaat"}),l.jsx("div",{className:"divider-ornament my-8",children:l.jsx("span",{className:"font-display italic text-accent",children:"✦"})}),l.jsx("p",{className:"font-body text-base md:text-lg leading-relaxed text-muted-foreground max-w-2xl mx-auto",children:"Elke liefdesgeschiedenis is uniek en verdient een ceremonie die daarbij past. Of jullie nu kiezen voor een wettelijk huwelijk, een ceremonieel huwelijk of een geloftenvernieuwing: ik begeleid jullie met aandacht, warmte en oprechte betrokkenheid."})]})})}),l.jsx("section",{className:"bg-background py-24 px-6",children:l.jsxs("div",{className:"container max-w-6xl mx-auto space-y-20",children:[l.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-16 items-center",children:[l.jsxs(Xt,{className:"relative",children:[l.jsx("img",{src:JD,alt:"Wettelijk trouwen",className:"w-full h-64 md:h-80 object-cover object-[center_30%]"}),l.jsx("div",{className:"absolute -bottom-4 -right-4 w-20 h-20 border border-accent opacity-30"})]}),l.jsxs(Xt,{delay:.2,children:[l.jsx("p",{className:"font-body text-xs tracking-[0.3em] uppercase text-accent mb-3",children:"01"}),l.jsx("h2",{className:"font-display text-3xl text-primary mb-4",children:"Wettelijk trouwen"}),l.jsx("div",{className:"w-10 h-px bg-accent mb-6"}),l.jsx("p",{className:"font-body text-base leading-relaxed text-muted-foreground mb-4",children:"Als BABS (Buitengewoon Ambtenaar van de Burgerlijke Stand) kan ik jullie officiële huwelijk voltrekken. Dit is het wettelijk huwelijk dat jullie in de registers van de burgerlijke stand worden ingeschreven."}),l.jsx("p",{className:"font-body text-base leading-relaxed text-muted-foreground",children:"Samen maken we van dit formeel moment een persoonlijke en onvergetelijke ceremonie, waarbij jullie verhaal centraal staat. Van de teksten tot de sfeer: alles stemmen we zorgvuldig op jullie af."})]})]}),l.jsx("div",{className:"h-px bg-border"}),l.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-16 items-center",children:[l.jsxs(Xt,{delay:.1,className:"md:order-2 relative",children:[l.jsx("img",{src:Et,alt:"Ceremonieel huwelijk",className:"w-full h-72 md:h-96 object-cover"}),l.jsx("div",{className:"absolute -bottom-4 -left-4 w-20 h-20 border border-accent opacity-30"})]}),l.jsxs(Xt,{delay:.2,className:"md:order-1",children:[l.jsx("p",{className:"font-body text-xs tracking-[0.3em] uppercase text-accent mb-3",children:"02"}),l.jsx("h2",{className:"font-display text-3xl text-primary mb-4",children:"Ceremonieel huwelijk"}),l.jsx("div",{className:"w-10 h-px bg-accent mb-6"}),l.jsx("p",{className:"font-body text-base leading-relaxed text-muted-foreground mb-4",children:"Een ceremonieel huwelijk heeft geen wettelijke binding, maar dat maakt het niet minder betekenisvol. Dit is vaak de meest persoonlijke keuze, waarbij jullie volledige vrijheid hebben in vorm en inhoud."}),l.jsx("p",{className:"font-body text-base leading-relaxed text-muted-foreground",children:"Samen schrijven we een ceremonie die volledig van jullie is. Jullie woorden, jullie rituelen, jullie verhaal; tot in de kleinste details afgestemd op wie jullie zijn."})]})]}),l.jsx("div",{className:"h-px bg-border"}),l.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-16 items-center",children:[l.jsxs(Xt,{className:"relative",children:[l.jsx("img",{src:dc,alt:"Geloften vernieuwen",className:"w-full h-72 md:h-96 object-cover"}),l.jsx("div",{className:"absolute -bottom-4 -right-4 w-20 h-20 border border-accent opacity-30"})]}),l.jsxs(Xt,{delay:.2,children:[l.jsx("p",{className:"font-body text-xs tracking-[0.3em] uppercase text-accent mb-3",children:"03"}),l.jsx("h2",{className:"font-display text-3xl text-primary mb-4",children:"Geloften vernieuwen"}),l.jsx("div",{className:"w-10 h-px bg-accent mb-6"}),l.jsx("p",{className:"font-body text-base leading-relaxed text-muted-foreground mb-4",children:"Jullie trouwdag was prachtig. En nu, jaren later, willen jullie opnieuw voor elkaar kiezen. Bewust en met alles wat jullie sindsdien samen hebben meegemaakt."}),l.jsx("p",{className:"font-body text-base leading-relaxed text-muted-foreground",children:"Een geloftenvernieuwing is een intiem, betekenisvol moment. Ik begeleid jullie bij het vormgeven van deze bijzondere herbevestiging van jullie liefde en toewijding."})]})]})]})}),l.jsx("section",{className:"section-cream py-24 px-6",children:l.jsxs("div",{className:"container max-w-4xl mx-auto",children:[l.jsxs(Xt,{className:"text-center mb-16",children:[l.jsx("p",{className:"font-body text-xs tracking-[0.3em] uppercase text-accent mb-3",children:"Hoe ik werk"}),l.jsx("h2",{className:"font-display text-3xl md:text-4xl text-primary",children:"Onze samenwerking"})]}),l.jsx("div",{className:"grid grid-cols-1 sm:grid-cols-3 gap-8",children:[{step:"01",title:"Kennismaking",desc:"We beginnen met een vrijblijvend kennismakingsgesprek. Ik leer jullie kennen, jullie verhaal, jullie wensen."},{step:"02",title:"Op maat gemaakt",desc:"Op basis van jullie verhaal schrijf ik een persoonlijke ceremonie. We stemmen alles zorgvuldig op jullie af."},{step:"03",title:"Jullie dag",desc:"Op jullie trouwdag ben ik volledig aanwezig. Met rust, warmte en aandacht voor elk bijzonder moment."}].map((e,t)=>l.jsx(Xt,{delay:t*.15,children:l.jsxs("div",{className:"text-center space-y-4",children:[l.jsx("div",{className:"font-display text-5xl text-accent/30",children:e.step}),l.jsx("h3",{className:"font-display text-xl text-primary",children:e.title}),l.jsx("p",{className:"font-body text-sm leading-relaxed text-muted-foreground",children:e.desc})]})},e.step))})]})}),l.jsx("section",{className:"bg-primary py-20 px-6 text-center",children:l.jsxs(Xt,{children:[l.jsx("h2",{className:"font-display text-3xl md:text-4xl text-primary-foreground mb-4",children:"Klaar om te beginnen?"}),l.jsx("p",{className:"font-body text-base text-primary-foreground/70 mb-8 max-w-xl mx-auto",children:"Neem vrijblijvend contact op voor een kennismakingsgesprek."}),l.jsx(ne,{to:"/contact",className:"btn-gold",children:"Neem contact op"})]})})]}),eO="/assets/curacao-beach-BjP7H-bD.png",As=({children:e,delay:t=0,className:n=""})=>l.jsx(F.div,{initial:{opacity:0,y:30},whileInView:{opacity:1,y:0},viewport:{once:!0,margin:"-60px"},transition:{duration:.8,delay:t,ease:[.25,.46,.45,.94]},className:n,children:e}),tO=()=>l.jsxs("main",{children:[l.jsx(Ze,{title:"Trouwlocatie Curaçao | Enjoy The Breeze",description:"Trouwen op Curaçao? Verblijf in appartement Enjoy The Breeze in Blue Bay resort. Ideaal voor een intieme bruiloft in het buitenland.",canonical:"/trouwlocatie"}),l.jsxs("section",{className:"relative h-[50vh] min-h-[350px] flex items-center justify-center overflow-hidden",children:[l.jsx("img",{src:eO,alt:"Appartement The Breeze, Blue Bay Curaçao",className:"absolute inset-0 w-full h-full object-cover"}),l.jsx("div",{className:"hero-overlay absolute inset-0"}),l.jsxs("div",{className:"relative z-10 text-center px-6",children:[l.jsx(F.h1,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{duration:1},className:"font-display text-4xl md:text-6xl text-primary-foreground mb-4",children:"Jullie huwelijksreis"}),l.jsx(F.p,{initial:{opacity:0},animate:{opacity:1},transition:{duration:1,delay:.3},className:"font-body text-base text-primary-foreground/80",children:"Jullie droomvakantie op Curaçao"})]})]}),l.jsx("section",{className:"section-champagne py-24 px-6",children:l.jsxs("div",{className:"container max-w-4xl mx-auto text-center",children:[l.jsxs(As,{children:[l.jsx("p",{className:"font-body text-xs tracking-[0.3em] uppercase text-accent mb-4",children:"Enjoy The Breeze · Blue Bay"}),l.jsx("h2",{className:"font-display text-3xl md:text-4xl text-primary mb-6",children:"Appartement Enjoy The Breeze op Curaçao"})]}),l.jsxs(As,{delay:.2,children:[l.jsx("p",{className:"font-body text-base md:text-lg leading-relaxed text-muted-foreground max-w-2xl mx-auto mb-6",children:"Na jullie onvergetelijke trouwdag verdienen jullie een even onvergetelijke huwelijksreis. In ons prachtig appartement Enjoy The Breeze op Curaçao, gelegen in het luxe resort Blue Bay, genieten jullie van zon, zee en totale ontspanning."}),l.jsx("p",{className:"font-body text-base md:text-lg leading-relaxed text-muted-foreground max-w-2xl mx-auto mb-6",children:"Het appartement biedt alle comfort die jullie nodig hebben: een eigen zwembad, ruime terrassen met uitzicht op de tropische tuin, en het strand van Curaçao op loopafstand. Het resort beschikt ook over een golfbaan en duikschool. De perfecte start van jullie leven samen."})]})]})}),l.jsx("section",{className:"bg-background py-24 px-6",children:l.jsxs("div",{className:"container max-w-6xl mx-auto",children:[l.jsx(As,{className:"text-center mb-16",children:l.jsx("h2",{className:"font-display text-3xl md:text-4xl text-primary",children:"Wat maakt dit appartement bijzonder?"})}),l.jsx("div",{className:"grid grid-cols-1 md:grid-cols-3 gap-8",children:[{icon:l.jsx(zT,{size:24}),title:"Tropisch paradijs",description:"Gelegen in het populaire Blue Bay resort op Curaçao, omringd door palmbomen, met een eigen zwembad en tropische tuin. Het resort heeft ook een golfbaan en duikschool."},{icon:l.jsx(OT,{size:24}),title:"Luxe & comfort",description:"Volledig uitgerust appartement met ruime terrassen, moderne keuken en alle voorzieningen voor een zorgeloze vakantie."},{icon:l.jsx(_T,{size:24}),title:"Strand & zee",description:"Het mooie strand van Blue Bay ligt op korte afstand. Geniet van het heldere blauwe water en witte zandstrand."}].map((e,t)=>l.jsx(As,{delay:t*.15,children:l.jsxs("div",{className:"card-elegant p-8 h-full",children:[l.jsx("div",{className:"text-accent mb-5",children:e.icon}),l.jsx("h3",{className:"font-display text-xl text-primary mb-3",children:e.title}),l.jsx("p",{className:"font-body text-sm leading-relaxed text-muted-foreground",children:e.description})]})},e.title))})]})}),l.jsx("section",{className:"section-cream py-24 px-6 text-center",children:l.jsx("div",{className:"container max-w-2xl mx-auto",children:l.jsxs(As,{className:"space-y-6",children:[l.jsx("h2",{className:"font-display text-3xl md:text-4xl text-primary",children:"Bekijk de beschikbaarheid"}),l.jsx("p",{className:"font-body text-base leading-relaxed text-muted-foreground",children:"Benieuwd of het appartement beschikbaar is voor jullie huwelijksreis? Bekijk direct de beschikbaarheid en boek jullie droomvakantie op Curaçao."}),l.jsxs("div",{className:"flex flex-col sm:flex-row items-center justify-center gap-4 mt-6",children:[l.jsxs("a",{href:"https://preview--ao-booking-bliss.lovable.app/",target:"_blank",rel:"noopener noreferrer",className:"btn-gold inline-flex items-center gap-2",children:["Bekijk beschikbaarheid ",l.jsx(S0,{size:14})]}),l.jsxs(ne,{to:"/contact",className:"btn-primary inline-flex items-center gap-2",children:["Neem contact op ",l.jsx(sh,{size:14})]})]})]})})})]}),Sa=({children:e,delay:t=0,className:n=""})=>l.jsx(F.div,{initial:{opacity:0,y:30},whileInView:{opacity:1,y:0},viewport:{once:!0,margin:"-60px"},transition:{duration:.8,delay:t,ease:[.25,.46,.45,.94]},className:n,children:e}),nO=()=>l.jsxs("main",{children:[l.jsx(Ze,{title:"Tarieven Trouwambtenaar | Angela Ceremonies",description:"Bekijk de tarieven voor een persoonlijke trouwceremonie door Angela Ceremonies. Transparante prijzen voor wettelijk trouwen, ceremonieel huwelijk en meer.",canonical:"/tarieven"}),l.jsxs("section",{className:"relative h-[60vh] min-h-[400px] flex items-end pb-16 overflow-hidden",children:[l.jsx("img",{src:Et,alt:"Trouwceremonie",className:"absolute inset-0 w-full h-full object-cover"}),l.jsx("div",{className:"absolute inset-0 bg-primary/50"}),l.jsxs("div",{className:"relative z-10 container max-w-4xl mx-auto px-6",children:[l.jsx(F.p,{initial:{opacity:0},animate:{opacity:1},transition:{duration:1,delay:.3},className:"font-body text-xs tracking-[0.3em] uppercase text-accent mb-3",children:"Angela Ceremonies"}),l.jsx(F.h1,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{duration:.8,delay:.5},className:"font-display text-4xl md:text-6xl text-primary-foreground leading-tight",children:"Tarieven"}),l.jsx(F.p,{initial:{opacity:0},animate:{opacity:1},transition:{duration:.8,delay:.8},className:"font-display italic text-xl text-accent mt-3",children:"Transparante tarieven, met ruimte voor persoonlijke wensen."})]})]}),l.jsx("section",{className:"section-champagne py-24 px-6",children:l.jsxs("div",{className:"container max-w-5xl mx-auto",children:[l.jsxs(Sa,{className:"text-center mb-16",children:[l.jsx("p",{className:"font-body text-xs tracking-[0.3em] uppercase text-accent mb-3",children:"Pakketten"}),l.jsx("h2",{className:"font-display text-3xl md:text-4xl text-primary",children:"Wat bied ik aan?"}),l.jsx("div",{className:"divider-ornament my-8",children:l.jsx("span",{className:"font-display italic text-accent",children:"✦"})})]}),l.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-10",children:[l.jsx(Sa,{children:l.jsxs("div",{className:"card-elegant p-10 h-full flex flex-col",children:[l.jsxs("div",{className:"mb-6",children:[l.jsx("p",{className:"font-body text-xs tracking-[0.3em] uppercase text-accent mb-2",children:"Complete ceremonie"}),l.jsx("h3",{className:"font-display text-2xl md:text-3xl text-primary mb-2",children:"Complete huwelijksceremonie"}),l.jsx("div",{className:"font-display text-4xl text-accent mt-4",children:"€ 795"})]}),l.jsx("div",{className:"w-12 h-px bg-accent mb-8"}),l.jsx("p",{className:"font-body text-sm text-muted-foreground mb-6 leading-relaxed",children:"Een persoonlijke ceremonie, volledig afgestemd op jullie verhaal."}),l.jsx("ul",{className:"space-y-4 flex-1",children:["Persoonlijke hulplijn","Hulp bij het schrijven van geloften","Verzamelen van mooie verhalen bij familie en vrienden","Zorgdragen van huwelijksakte en benodigde documenten","Op maat gemaakte speech","Een ontspannen en persoonlijke ceremonie met humor"].map(e=>l.jsxs("li",{className:"flex items-start gap-3 font-body text-sm text-muted-foreground",children:[l.jsx("span",{className:"text-accent shrink-0 mt-0.5",children:"✦"}),e]},e))}),l.jsx("div",{className:"mt-8 pt-6 border-t border-border",children:l.jsx(ne,{to:"/contact",className:"btn-primary inline-flex w-full justify-center",children:"Kennismaken? Neem contact op"})})]})}),l.jsx(Sa,{delay:.15,children:l.jsxs("div",{className:"card-elegant p-10 h-full flex flex-col",children:[l.jsxs("div",{className:"mb-6",children:[l.jsx("p",{className:"font-body text-xs tracking-[0.3em] uppercase text-accent mb-2",children:"Extra ondersteuning"}),l.jsx("h3",{className:"font-display text-2xl md:text-3xl text-primary mb-2",children:"Ceremoniespreker"}),l.jsx("div",{className:"font-display text-xl text-accent mt-4 italic",children:"Op aanvraag"})]}),l.jsx("div",{className:"w-12 h-px bg-accent mb-8"}),l.jsx("p",{className:"font-body text-sm text-muted-foreground mb-6 leading-relaxed",children:"Voor wie extra ondersteuning wenst op de dag zelf."}),l.jsx("ul",{className:"space-y-4 flex-1",children:["Op verzoek kan ik jullie ceremoniemeester op de dag zijn","In combinatie met mijn rol als trouwambtenaar","Ontvangst van gasten en bewaken van de planning","Eerste aanspreekpunt op locatie voor gasten en leveranciers","Speeches plannen naar jullie wensen","Ik deel heel veel tips en advies, denk mee en help met het draaiboek","Overige wensen in overleg"].map(e=>l.jsxs("li",{className:"flex items-start gap-3 font-body text-sm text-muted-foreground",children:[l.jsx("span",{className:"text-accent shrink-0 mt-0.5",children:"✦"}),e]},e))}),l.jsx("div",{className:"mt-8 pt-6 border-t border-border",children:l.jsx(ne,{to:"/contact",className:"btn-primary inline-flex w-full justify-center",children:"Neem contact op"})})]})})]})]})}),l.jsxs("section",{className:"relative py-28 overflow-hidden",children:[l.jsx("img",{src:dc,alt:"Trouwlaan",className:"absolute inset-0 w-full h-full object-cover"}),l.jsx("div",{className:"absolute inset-0 bg-primary/50"}),l.jsxs("div",{className:"relative z-10 container max-w-3xl mx-auto px-6 text-center",children:[l.jsx(F.p,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.8},className:"font-display text-2xl md:text-4xl italic text-primary-foreground leading-relaxed",children:'"Jullie dag verdient het allerbeste. Laten we samen iets bijzonders maken."'}),l.jsx("div",{className:"w-12 h-px bg-accent mx-auto mt-8"}),l.jsx("p",{className:"font-body text-xs tracking-widest uppercase text-primary-foreground/70 mt-4",children:"Angela Bhagole-Mangre"})]})]}),l.jsx("section",{className:"section-cream py-20 px-6 text-center",children:l.jsxs(Sa,{children:[l.jsx("h2",{className:"font-display text-3xl md:text-4xl text-primary mb-4",children:"Heb je vragen over de tarieven?"}),l.jsx("p",{className:"font-body text-base text-muted-foreground mb-4 max-w-md mx-auto",children:"Neem gerust contact op. Ik denk graag met jullie mee over wat het beste bij jullie past."}),l.jsx("p",{className:"font-body text-sm text-muted-foreground mb-8 max-w-md mx-auto",children:"Algemene voorwaarden zijn op aanvraag beschikbaar."}),l.jsx(ne,{to:"/contact",className:"btn-primary",children:"Neem contact op"})]})})]}),rO="/assets/angela-coaching-D-nGIwD_.png",Ot=({children:e,delay:t=0,className:n=""})=>l.jsx(F.div,{initial:{opacity:0,y:30},whileInView:{opacity:1,y:0},viewport:{once:!0,margin:"-60px"},transition:{duration:.8,delay:t,ease:[.25,.46,.45,.94]},className:n,children:e}),iO=()=>l.jsxs("main",{children:[l.jsx(Ze,{title:"Coaching voor BABS'en & Ceremoniesprekers",description:"Coaching en begeleiding voor startende en ervaren BABS'en, gast-BABS'en en ceremoniesprekers. Groei in je rol met vertrouwen en plezier.",canonical:"/coaching"}),l.jsxs("section",{className:"relative h-[60vh] min-h-[400px] flex items-end pb-16 overflow-hidden",children:[l.jsx("img",{src:Et,alt:"Coaching voor BABS'en",className:"absolute inset-0 w-full h-full object-cover"}),l.jsx("div",{className:"absolute inset-0 bg-primary/55"}),l.jsxs("div",{className:"relative z-10 container max-w-4xl mx-auto px-6",children:[l.jsx(F.p,{initial:{opacity:0},animate:{opacity:1},transition:{duration:1,delay:.3},className:"font-body text-xs tracking-[0.3em] uppercase text-accent mb-3",children:"Angela Ceremonies"}),l.jsxs(F.h1,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{duration:.8,delay:.5},className:"font-display text-4xl md:text-6xl text-primary-foreground leading-tight",children:["Coaching voor",l.jsx("br",{}),l.jsx("span",{className:"italic",children:"(startende) BABS'en"})]})]})]}),l.jsx("section",{className:"section-champagne py-20 px-6",children:l.jsx("div",{className:"container max-w-4xl mx-auto text-center",children:l.jsxs(Ot,{children:[l.jsx("h2",{className:"font-display text-3xl md:text-4xl text-primary mb-6 leading-tight",children:"Met vertrouwen, plezier en je eigen stijl voor een onvergetelijke ceremonie."}),l.jsx("div",{className:"divider-ornament my-8",children:l.jsx("span",{className:"font-display italic text-accent",children:"✦"})}),l.jsx("p",{className:"font-body text-base md:text-lg leading-relaxed text-muted-foreground max-w-2xl mx-auto",children:"Droom je ervan om BABS te worden? Of sta je binnenkort voor het eerst, of juist vaker, voor een bruidspaar en wil je meer rust, zelfvertrouwen en verdieping in je ceremonie? Of je nu net begint of al ervaring hebt: ik help je graag om jouw rol met plezier en overtuiging neer te zetten."})]})})}),l.jsx("section",{className:"bg-background py-24 px-6",children:l.jsx("div",{className:"container max-w-6xl mx-auto",children:l.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-16 items-center",children:[l.jsxs(Ot,{children:[l.jsx("p",{className:"font-body text-xs tracking-[0.3em] uppercase text-accent mb-3",children:"Voor wie?"}),l.jsx("h2",{className:"font-display text-3xl text-primary mb-6",children:"De coaching is bedoeld voor:"}),l.jsx("div",{className:"w-10 h-px bg-accent mb-8"}),l.jsx("ul",{className:"space-y-5",children:["(Startende) buitengewoon ambtenaren van de burgerlijke stand","Gast-BABS'en of BABS voor één dag","Ceremoniesprekers","Trouwambtenaren die meer vertrouwen, rust en eigenheid zoeken"].map(e=>l.jsxs("li",{className:"flex items-start gap-4 font-body text-base text-muted-foreground",children:[l.jsx("span",{className:"text-accent mt-1 shrink-0",children:"✦"}),e]},e))}),l.jsx("p",{className:"font-body text-base leading-relaxed text-muted-foreground mt-8 italic",children:"Sta je binnenkort voor een bruidspaar en wil je goed voorbereid, ontspannen en met een verhaal dat raakt spreken? Dan is deze coaching voor jou."})]}),l.jsxs(Ot,{delay:.2,className:"relative",children:[l.jsx("img",{src:rO,alt:"Angela Bhagole-Mangre, coach voor BABS'en",className:"w-full h-80 md:h-[500px] object-cover object-top"}),l.jsx("div",{className:"absolute -bottom-4 -right-4 w-24 h-24 border border-accent opacity-30"})]})]})})}),l.jsx("section",{className:"section-cream py-24 px-6",children:l.jsxs("div",{className:"container max-w-4xl mx-auto",children:[l.jsxs(Ot,{className:"text-center mb-12",children:[l.jsx("p",{className:"font-body text-xs tracking-[0.3em] uppercase text-accent mb-3",children:"Mijn achtergrond"}),l.jsx("h2",{className:"font-display text-3xl md:text-4xl text-primary",children:"Waarom coaching van mij?"})]}),l.jsx(Ot,{delay:.2,children:l.jsxs("div",{className:"card-elegant p-10 md:p-14 space-y-6 text-center max-w-2xl mx-auto",children:[l.jsx("p",{className:"font-body text-base leading-relaxed text-muted-foreground",children:"Sinds 2018 ben ik met trots buitengewoon ambtenaar van de burgerlijke stand. Ik begon bij de gemeente Rotterdam, waar ik met veel plezier huwelijken voltrok en alle ruimte kreeg om te oefenen, te groeien en mijn eigen stijl te ontwikkelen."}),l.jsx("div",{className:"w-12 h-px bg-accent mx-auto"}),l.jsx("p",{className:"font-display text-3xl text-accent",children:"490+"}),l.jsx("p",{className:"font-body text-sm tracking-widest uppercase text-muted-foreground",children:"Huwelijken voltrokken"}),l.jsx("div",{className:"w-12 h-px bg-accent mx-auto"}),l.jsx("p",{className:"font-body text-base leading-relaxed text-muted-foreground",children:"Binnen de gemeente begeleid ik regelmatig gast-BABS'en die nog weinig of geen ervaring hebben. Juist daar zie ik hoeveel verschil het maakt om iemand naast je te hebben die met je meekijkt, meedenkt en je geruststelt. Vanuit die ervaring is mijn coaching ontstaan."})]})})]})}),l.jsx("section",{className:"section-champagne py-24 px-6",children:l.jsxs("div",{className:"container max-w-4xl mx-auto",children:[l.jsxs(Ot,{className:"text-center mb-12",children:[l.jsx("p",{className:"font-body text-xs tracking-[0.3em] uppercase text-accent mb-3",children:"De inhoud"}),l.jsx("h2",{className:"font-display text-3xl md:text-4xl text-primary",children:"Wat komt er aan bod?"})]}),l.jsx("div",{className:"grid grid-cols-1 sm:grid-cols-2 gap-6",children:["Hoe word je BABS of BABS voor één dag?","Welke vragen stel je het bruidspaar, en op welk moment?","Hoe ziet een ceremonie eruit en hoe lang duurt die?","Hoe schrijf je een persoonlijke, pakkende en oprechte speech?","Wat moet je regelen met de gemeente?","Hoe zorg je voor een ontspannen, warme en onvergetelijke ceremonie?"].map((e,t)=>l.jsx(Ot,{delay:t*.1,children:l.jsxs("div",{className:"card-elegant p-6 flex items-start gap-4",children:[l.jsx("span",{className:"text-accent text-xs mt-1 shrink-0",children:"✦"}),l.jsx("p",{className:"font-body text-sm leading-relaxed text-muted-foreground",children:e})]})},e))}),l.jsx(Ot,{delay:.3,className:"text-center mt-10",children:l.jsx("p",{className:"font-display text-lg italic text-primary",children:'"Uiteindelijk draait alles om één ding: een verhaal vertellen dat raakt. Voor het bruidspaar én hun gasten."'})})]})}),l.jsx("section",{className:"bg-primary py-24 px-6",children:l.jsxs("div",{className:"container max-w-4xl mx-auto",children:[l.jsxs(Ot,{className:"text-center mb-12",children:[l.jsx("p",{className:"font-body text-xs tracking-[0.3em] uppercase text-accent mb-3",children:"Praktisch"}),l.jsx("h2",{className:"font-display text-3xl text-primary-foreground",children:"Hoe gaat het in zijn werk?"})]}),l.jsx("div",{className:"grid grid-cols-1 sm:grid-cols-3 gap-8 text-center mb-12",children:[{label:"Locatie",value:"Bij mij thuis of een andere gezellige locatie"},{label:"Duur",value:"Vanaf 2,5 uur (langer mag altijd)"},{label:"Investering",value:"€250 per sessie"}].map((e,t)=>l.jsx(Ot,{delay:t*.15,children:l.jsxs("div",{className:"space-y-2",children:[l.jsx("p",{className:"font-body text-xs tracking-widest uppercase text-accent",children:e.label}),l.jsx("p",{className:"font-display text-lg text-primary-foreground",children:e.value})]})},e.label))}),l.jsxs(Ot,{delay:.3,className:"text-center",children:[l.jsx("p",{className:"font-body text-sm text-primary-foreground/70 mb-8 max-w-xl mx-auto",children:"We starten altijd met een vrijblijvende kennismaking, want een goede klik is essentieel. Ik denk met je mee, bereid je goed voor en ben jouw persoonlijke vraagbaak."}),l.jsx("a",{href:"mailto:angela.bhagole@gmail.com?subject=Kennismaking coaching BABS",className:"btn-gold",children:"Plan een kennismakingsgesprek"})]})]})})]}),fc="/assets/angela-beurs-AzLlKUDk.png",Rs=({children:e,delay:t=0,className:n=""})=>l.jsx(F.div,{initial:{opacity:0,y:30},whileInView:{opacity:1,y:0},viewport:{once:!0,margin:"-60px"},transition:{duration:.8,delay:t,ease:[.25,.46,.45,.94]},className:n,children:e}),sO=()=>l.jsxs("main",{children:[l.jsx(Ze,{title:"Over Angela Bhagole-Mangre | Trouwambtenaar & BABS",description:"Leer Angela Bhagole-Mangre kennen: trouwambtenaar (BABS) en ceremoniespreker uit Rotterdam. Sinds 2018 actief, 490+ huwelijken voltrokken door heel Nederland.",canonical:"/over-mij"}),l.jsxs("section",{className:"relative h-[60vh] min-h-[400px] flex items-end pb-16 overflow-hidden",children:[l.jsx("img",{src:Et,alt:"Over Angela Ceremonies",className:"absolute inset-0 w-full h-full object-cover"}),l.jsx("div",{className:"absolute inset-0 bg-primary/50"}),l.jsxs("div",{className:"relative z-10 container max-w-4xl mx-auto px-6",children:[l.jsx(F.p,{initial:{opacity:0},animate:{opacity:1},transition:{duration:1,delay:.3},className:"font-body text-xs tracking-[0.3em] uppercase text-accent mb-3",children:"Angela Ceremonies"}),l.jsx(F.h1,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{duration:.8,delay:.5},className:"font-display text-4xl md:text-6xl text-primary-foreground leading-tight",children:"Over mij"}),l.jsx(F.p,{initial:{opacity:0},animate:{opacity:1},transition:{duration:.8,delay:.8},className:"font-display italic text-xl text-accent mt-3",children:"Liefdevol. Persoonlijk. Verbindend."})]})]}),l.jsx("section",{className:"section-champagne py-24 px-6",children:l.jsx("div",{className:"container max-w-6xl mx-auto",children:l.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-16 items-start",children:[l.jsxs(Rs,{className:"relative md:sticky md:top-28",children:[l.jsx("img",{src:fc,alt:"Angela Bhagole-Mangre, trouwambtenaar en ceremonieel spreker",className:"w-full h-[400px] md:h-[500px] object-cover object-[center_30%]"}),l.jsx("div",{className:"absolute -bottom-4 -right-4 w-24 h-24 border border-accent opacity-30"}),l.jsx("div",{className:"absolute -top-4 -left-4 w-24 h-24 border border-accent opacity-30"})]}),l.jsxs(Rs,{delay:.2,className:"space-y-8 pt-4",children:[l.jsxs("div",{children:[l.jsx("p",{className:"font-body text-xs tracking-[0.3em] uppercase text-accent mb-3",children:"Wie ik ben"}),l.jsx("h2",{className:"font-display text-3xl md:text-4xl text-primary mb-4",children:"Angela Bhagole-Mangre"}),l.jsx("p",{className:"font-body text-sm tracking-widest uppercase text-muted-foreground",children:"BABS & Ceremonieel Spreker"})]}),l.jsx("div",{className:"w-12 h-px bg-accent"}),l.jsxs("div",{className:"space-y-5",children:[l.jsx("p",{className:"font-body text-base leading-relaxed text-muted-foreground",children:"Mijn naam is Angela Bhagole-Mangre. Ik ben gelukkig getrouwd en trotse moeder van twee zonen."}),l.jsx("p",{className:"font-body text-base leading-relaxed text-muted-foreground",children:"Al vele jaren ben ik met toewijding werkzaam als buitengewoon ambtenaar van de burgerlijke stand. Met mijn Hindoestaanse roots en Rotterdam als thuisbasis beweeg ik mij in een omgeving vol diversiteit, cultuur en tradities. Deze rijkdom neem ik vanzelfsprekend mee in mijn werk, waarbij respect en verbinding centraal staan."}),l.jsx("p",{className:"font-body text-base leading-relaxed text-muted-foreground",children:"Liefde kent geen grenzen en verdient een ceremonie die daarbij past."}),l.jsx("p",{className:"font-body text-base leading-relaxed text-muted-foreground",children:"Mijn werk is meer dan een functie; het is mijn passie. Elk bruidspaar en elk verhaal is uniek. Het is telkens weer bijzonder om aanwezig te mogen zijn bij het moment waarop twee mensen bewust en vol vertrouwen voor elkaar kiezen."})]}),l.jsx("div",{className:"card-elegant p-6 space-y-2",children:l.jsx("p",{className:"font-display italic text-lg text-primary",children:'"Het is telkens weer bijzonder om aanwezig te mogen zijn bij het moment waarop twee mensen bewust en vol vertrouwen voor elkaar kiezen."'})}),l.jsxs("a",{href:"https://alletrouwambtenaren.nl/babs/hindoestaanse-trouwambtenaar-angela/",target:"_blank",rel:"noopener noreferrer",className:"btn-gold inline-flex items-center gap-2 mt-4",children:["Bekijk mijn profiel op AlleTrouwambtenaren.nl ",l.jsx(S0,{size:14})]})]})]})})}),l.jsx("section",{className:"bg-background py-24 px-6",children:l.jsxs("div",{className:"container max-w-4xl mx-auto",children:[l.jsxs(Rs,{className:"text-center mb-16",children:[l.jsx("p",{className:"font-body text-xs tracking-[0.3em] uppercase text-accent mb-3",children:"Mijn waarden"}),l.jsx("h2",{className:"font-display text-3xl md:text-4xl text-primary",children:"Waar ik voor sta"})]}),l.jsx("div",{className:"grid grid-cols-1 sm:grid-cols-3 gap-8",children:[{icon:"♡",title:"Liefdevol",desc:"Ik benader elk stel met oprechte warmte en zorg. Jullie ceremonie is meer dan een taak; het is een voorrecht."},{icon:"◇",title:"Persoonlijk",desc:"Geen standaardverhalen. Ik neem de tijd om jullie echt te leren kennen en jullie unieke verhaal te vertellen."},{icon:"✦",title:"Verbindend",desc:"Met respect voor diversiteit en cultuur zorg ik voor een ceremonie die mensen samenbrengt."}].map((e,t)=>l.jsx(Rs,{delay:t*.15,children:l.jsxs("div",{className:"text-center space-y-4 p-6",children:[l.jsx("div",{className:"text-3xl text-accent font-display",children:e.icon}),l.jsx("h3",{className:"font-display text-xl text-primary",children:e.title}),l.jsx("p",{className:"font-body text-sm leading-relaxed text-muted-foreground",children:e.desc})]})},e.title))})]})}),l.jsx("section",{className:"bg-primary py-20 px-6",children:l.jsx("div",{className:"container max-w-4xl mx-auto",children:l.jsx("div",{className:"grid grid-cols-1 sm:grid-cols-3 gap-12 text-center",children:[{number:"490+",label:"Huwelijken voltrokken"},{number:"Sinds 2018",label:"Actief als BABS"},{number:"Heel NL",label:"Werkzaam door heel Nederland"}].map((e,t)=>l.jsxs(F.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{delay:t*.15,duration:.7},className:"space-y-2",children:[l.jsx("div",{className:"font-display text-3xl md:text-4xl text-accent",children:e.number}),l.jsx("div",{className:"font-body text-xs tracking-widest uppercase text-primary-foreground/60",children:e.label})]},e.label))})})}),l.jsx("section",{className:"section-cream py-20 px-6 text-center",children:l.jsxs(Rs,{children:[l.jsx("h2",{className:"font-display text-3xl md:text-4xl text-primary mb-4",children:"Laten we kennismaken"}),l.jsx("p",{className:"font-body text-base text-muted-foreground mb-8 max-w-md mx-auto",children:"Ik vertel graag meer over mezelf en hoe ik jullie ceremony kan begeleiden."}),l.jsx(ne,{to:"/contact",className:"btn-primary",children:"Neem contact op"})]})})]}),vu=({children:e,delay:t=0,className:n=""})=>l.jsx(F.div,{initial:{opacity:0,y:30},whileInView:{opacity:1,y:0},viewport:{once:!0,margin:"-60px"},transition:{duration:.8,delay:t,ease:[.25,.46,.45,.94]},className:n,children:e}),oO=[{quote:"Geweldige trouwambtenaar. Angela heeft een prachtige speech gegeven precies zoals we met haar besproken hebben. De kinderen waren centraal, ze was vriendelijk, blij en sympathiek. Aanrader voor onze mooiste dag! Dank Angela.",names:"Claudia en Costijn",year:"December 2025"},{quote:"Wauw! Wij hadden ook het geluk met jou als BABS en we hadden ons geen betere ceremonie kunnen wensen, dankjewel Angela!",names:"Lisa",year:"Maart 2024"},{quote:"Wij willen jou uit het diepst van onze harten bedanken voor de memorabele dag gisteren! Wij kijken vol blijdschap terug naar een super geweldige dag. En dit is door jouw inzet helemaal bijzonder geworden!",names:"Arthur en Koemarie",year:"Juli 2025"},{quote:"Wat heb je het ontzettend mooi en leuk gedaan! Altijd even spannend om iemand te kiezen vanaf een foto maar met jou hebben we echt geluk gehad.",names:"Daan en Jolyze",year:"April 2025"},{quote:"Nogmaals dank voor het verzorgen van de ceremonie! Wat een super fijne vrouw ben jij.",names:"Carola en Marco",year:"Maart 2024"},{quote:"Bedankt voor jouw fantastische begeleiding, ons super fijne telefoongesprek en je prachtige en nuttige aanwezigheid bij de ceremonie van mijn dochter. Je bent een in al je verschijningen perfect visitekaartje voor de gemeente Rotterdam.",names:"Monique",year:"Juni 2025"},{quote:"We hebben heel wat complimenten mogen ontvangen over hoe u het gedaan heeft. De opbouw, het middenstuk, de afbouw en het gedicht. Wat was het mooi. Wij zullen u zeker aanraden als BABS voor wie dan ook!",names:"Rishay & Kajal Angnoe",year:"Mei 2025"},{quote:"Bedankt voor de mooie speech die je voor ons geschreven hebt. De ceremonie was precies zoals wij zijn en je hebt mooi overgebracht hoe wij als stel zijn! We hebben een fantastische bruiloft gehad.",names:"Marriena & Ronald",year:"Mei 2025"},{quote:"Jouw betrokkenheid, energie, warmte en professionaliteit maakten de ceremonie echt speciaal voor ons en onze gasten. De manier waarop je de ceremonie vormgaf, was echt perfect en we zijn je enorm dankbaar voor het creëren van zo'n memorabel moment!",names:"Claire & Theo",year:"April 2024"},{quote:"Nogmaals dank voor je fantastische speech en het leiden van de ceremonie. We vonden het fantastisch en het heeft de dag zoveel meer gemaakt dan dat we verwacht hadden.",names:"Floris-Jan",year:"December 2023"},{quote:"Reza en ik willen je ontzettend bedanken voor je aanwezigheid en je mooie woorden afgelopen zaterdag. We hadden niet verwacht dat het zo speciaal en emotioneel zou voelen en dat is te danken aan jou en je mooie speech.",names:"Reza en Elaha",year:"November 2023"},{quote:"Na een dag vol leuke positieve gezellige creatieve reacties willen we je nog een keer bedanken voor de gezellige dag. Wij vonden het echt super hoe je alles aan elkaar hebt gepraat en ons toch het 'ja'-woord hebt laten zeggen in ons Rotterdam.",names:"Marcel & Sarina",year:"Juli 2023"},{quote:"We wilden je nogmaals enorm bedanken. We vonden het een prachtige en persoonlijke ceremonie. Ook hoe je onze verhalen hebt gebracht, echt knap gedaan. Jij hebt enorm veel complimenten gekregen van onze gasten.",names:"Chenette en Jan",year:"Mei 2023"},{quote:"Wat heb jij onze ceremonie prettig en mooi geleid. We vonden het geweldig. Ook de aandacht die je aan Zadok gaf. Super bedankt daarvoor.",names:"Ies & Karin",year:"Maart 2023"},{quote:"Heel fijn dat jij ons hebt getrouwd en zo ad hoc de speech hebt overgenomen. Je hebt het super gedaan.",names:"Robert en Evelien",year:"December 2022"},{quote:"Je hebt het heel goed gedaan en de meeste mensen waren echt onder de indruk van hoe mooi het was en van je mooie verhaal. Je hebt ons tot in de details goed verwoord.",names:"Meneer en Mevrouw Romein",year:"September 2022"},{quote:"Gisteren heb je ons huwelijk voltrokken. Wij vonden dat je dat heel leuk deed; het was een korte, maar heel prettige en mooie ervaring! Je hebt haarfijn aangevoeld dat een spontane en casual ceremonie precies was wat bij ons past.",names:"Ineke & Marcel",year:"April 2021"},{quote:"Ontzettend bedankt voor het voltrekken van onze mooie ceremonie. We hebben echt genoten en ik voelde dat wij allebei zo mooi vertegenwoordigd werden met jouw woorden.",names:"Juliëtte en Joachim",year:"September 2021"}],aO=()=>l.jsxs("main",{children:[l.jsx(Ze,{title:"Lieve Woorden & Reviews | Angela Ceremonies",description:"Lees de ervaringen van bruidsparen die hun trouwdag met Angela Ceremonies hebben gevierd. Eerlijke reviews en lieve woorden.",canonical:"/lieve-woorden"}),l.jsxs("section",{className:"relative h-[60vh] min-h-[400px] flex items-end pb-16 overflow-hidden",children:[l.jsx("img",{src:Et,alt:"Trouwceremonie",className:"absolute inset-0 w-full h-full object-cover"}),l.jsx("div",{className:"absolute inset-0 bg-primary/50"}),l.jsxs("div",{className:"relative z-10 container max-w-4xl mx-auto px-6",children:[l.jsx(F.p,{initial:{opacity:0},animate:{opacity:1},transition:{duration:1,delay:.3},className:"font-body text-xs tracking-[0.3em] uppercase text-accent mb-3",children:"Angela Ceremonies"}),l.jsx(F.h1,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{duration:.8,delay:.5},className:"font-display text-4xl md:text-6xl text-primary-foreground leading-tight",children:"Lieve woorden"})]})]}),l.jsx("section",{className:"section-champagne py-20 px-6",children:l.jsx("div",{className:"container max-w-3xl mx-auto text-center",children:l.jsxs(vu,{children:[l.jsx("p",{className:"font-body text-xs tracking-[0.3em] uppercase text-accent mb-4",children:"Ervaringen"}),l.jsx("h2",{className:"font-display text-3xl md:text-4xl text-primary mb-6",children:"Wat bruidsparen over mij zeggen"}),l.jsx("div",{className:"divider-ornament my-8",children:l.jsx("span",{className:"font-display italic text-accent",children:"✦"})}),l.jsx("p",{className:"font-body text-base leading-relaxed text-muted-foreground max-w-xl mx-auto",children:"De mooiste terugkoppeling is te horen dat een ceremonie heeft geraakt. Dat mensen het nog lang napraten. Dat het echt klopte. Dat is waarvoor ik dit doe."})]})})}),l.jsx("section",{className:"bg-background py-24 px-6",children:l.jsx("div",{className:"container max-w-6xl mx-auto",children:l.jsx("div",{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-8",children:oO.map((e,t)=>l.jsx(vu,{delay:t*.1,children:l.jsxs("div",{className:"card-elegant p-8 flex flex-col h-full group hover:shadow-elegant transition-all duration-300",children:[l.jsx("div",{className:"text-accent text-4xl font-display leading-none mb-4",children:'"'}),l.jsx("blockquote",{className:"font-body text-sm leading-relaxed text-muted-foreground flex-1 mb-6",children:e.quote}),l.jsxs("div",{className:"border-t border-border pt-4 flex items-center justify-between",children:[l.jsxs("div",{children:[l.jsx("p",{className:"font-display text-base text-primary",children:e.names}),l.jsx("p",{className:"font-body text-xs text-muted-foreground tracking-wide",children:e.year})]}),l.jsx("div",{className:"text-accent/30 text-2xl font-display",children:"♡"})]})]})},e.names))})})}),l.jsxs("section",{className:"relative py-32 overflow-hidden",children:[l.jsx("img",{src:dc,alt:"Trouwlaan",className:"absolute inset-0 w-full h-full object-cover"}),l.jsx("div",{className:"absolute inset-0 bg-primary/50"}),l.jsx("div",{className:"relative z-10 container max-w-3xl mx-auto px-6 text-center",children:l.jsx(F.p,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.8},className:"font-display text-2xl md:text-4xl italic text-primary-foreground leading-relaxed",children:'"De mooiste beloning is wanneer mensen zeggen: het klopte precies."'})})]}),l.jsx("section",{className:"section-cream py-20 px-6 text-center",children:l.jsxs(vu,{children:[l.jsx("h2",{className:"font-display text-3xl md:text-4xl text-primary mb-4",children:"Jullie verhaal verdient dit ook"}),l.jsx("p",{className:"font-body text-base text-muted-foreground mb-8 max-w-md mx-auto",children:"Neem contact op en ontdek wat Angela Ceremonies voor jullie kan betekenen."}),l.jsx("a",{href:"/contact",className:"btn-primary",children:"Neem contact op"})]})})]}),vy=({children:e,delay:t=0,className:n=""})=>l.jsx(F.div,{initial:{opacity:0,y:30},whileInView:{opacity:1,y:0},viewport:{once:!0,margin:"-60px"},transition:{duration:.8,delay:t,ease:[.25,.46,.45,.94]},className:n,children:e}),lO=()=>{const[e,t]=b.useState({voornaam:"",achternaam:"",email:"",bericht:""}),[n,r]=b.useState(!1),i=o=>{t(a=>({...a,[o.target.name]:o.target.value}))},s=o=>{o.preventDefault(),r(!0)};return l.jsxs("main",{children:[l.jsx(Ze,{title:"Contact | Angela Ceremonies",description:"Neem contact op met Angela Ceremonies voor een vrijblijvend kennismakingsgesprek. Trouwambtenaar en ceremoniespreker in Rotterdam, werkzaam door heel Nederland.",canonical:"/contact"}),l.jsxs("section",{className:"relative h-[60vh] min-h-[400px] flex items-end pb-16 overflow-hidden",children:[l.jsx("img",{src:Et,alt:"Contact Angela Ceremonies",className:"absolute inset-0 w-full h-full object-cover"}),l.jsx("div",{className:"absolute inset-0 bg-primary/50"}),l.jsxs("div",{className:"relative z-10 container max-w-4xl mx-auto px-6",children:[l.jsx(F.p,{initial:{opacity:0},animate:{opacity:1},transition:{duration:1,delay:.3},className:"font-body text-xs tracking-[0.3em] uppercase text-accent mb-3",children:"Angela Ceremonies"}),l.jsxs(F.h1,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{duration:.8,delay:.5},className:"font-display text-4xl md:text-6xl text-primary-foreground leading-tight",children:["Laten we",l.jsx("br",{}),l.jsx("span",{className:"italic",children:"kennismaken"})]})]})]}),l.jsx("section",{className:"section-champagne py-24 px-6",children:l.jsx("div",{className:"container max-w-6xl mx-auto",children:l.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-16",children:[l.jsxs(vy,{className:"space-y-8",children:[l.jsxs("div",{children:[l.jsx("p",{className:"font-body text-xs tracking-[0.3em] uppercase text-accent mb-3",children:"Contact"}),l.jsx("h2",{className:"font-display text-3xl md:text-4xl text-primary mb-4",children:"Neem contact op"}),l.jsx("div",{className:"w-10 h-px bg-accent mb-6"}),l.jsx("p",{className:"font-body text-base leading-relaxed text-muted-foreground",children:"Hebben jullie vragen, willen jullie kennismaken of samen ontdekken wat bij jullie past? Ik hoor graag van jullie en denk met jullie mee."})]}),l.jsxs("div",{className:"space-y-5",children:[l.jsxs("a",{href:"mailto:angela.bhagole@gmail.com",className:"flex items-center gap-4 group",children:[l.jsx("div",{className:"w-10 h-10 flex items-center justify-center border border-accent text-accent group-hover:bg-accent group-hover:text-accent-foreground transition-all",children:l.jsx(oh,{size:16})}),l.jsxs("div",{children:[l.jsx("p",{className:"font-body text-xs tracking-widest uppercase text-muted-foreground mb-0.5",children:"Email"}),l.jsx("p",{className:"font-body text-sm text-foreground group-hover:text-accent transition-colors",children:"angela.bhagole@gmail.com"})]})]}),l.jsxs("a",{href:"tel:+31624897676",className:"flex items-center gap-4 group",children:[l.jsx("div",{className:"w-10 h-10 flex items-center justify-center border border-accent text-accent group-hover:bg-accent group-hover:text-accent-foreground transition-all",children:l.jsx(ah,{size:16})}),l.jsxs("div",{children:[l.jsx("p",{className:"font-body text-xs tracking-widest uppercase text-muted-foreground mb-0.5",children:"Mobiel"}),l.jsx("p",{className:"font-body text-sm text-foreground group-hover:text-accent transition-colors",children:"+31 6 248 97 676"})]})]}),l.jsxs("div",{className:"flex items-start gap-4",children:[l.jsx("div",{className:"w-10 h-10 flex items-center justify-center border border-accent text-accent",children:l.jsx(N0,{size:16})}),l.jsxs("div",{children:[l.jsx("p",{className:"font-body text-xs tracking-widest uppercase text-muted-foreground mb-0.5",children:"Adres"}),l.jsx("p",{className:"font-body text-sm text-foreground",children:"Rotterdam"})]})]})]}),l.jsxs("div",{className:"space-y-3",children:[l.jsx("p",{className:"font-body text-xs tracking-widest uppercase text-muted-foreground",children:"Volg mij"}),l.jsxs("div",{className:"flex items-center gap-4",children:[l.jsxs("a",{href:"https://www.facebook.com/profile.php?id=61584470039895",target:"_blank",rel:"noopener noreferrer",className:"flex items-center gap-2 font-body text-sm text-muted-foreground hover:text-accent transition-colors",children:[l.jsx(T0,{size:16}),"Facebook"]}),l.jsxs("a",{href:"https://www.instagram.com/angela_ceremonies",target:"_blank",rel:"noopener noreferrer",className:"flex items-center gap-2 font-body text-sm text-muted-foreground hover:text-accent transition-colors",children:[l.jsx(E0,{size:16}),"Instagram"]})]})]})]}),l.jsx(vy,{delay:.2,children:n?l.jsxs("div",{className:"card-elegant p-10 text-center space-y-4 flex flex-col items-center justify-center min-h-[400px]",children:[l.jsx("div",{className:"text-accent text-4xl font-display",children:"✦"}),l.jsx("h3",{className:"font-display text-2xl text-primary",children:"Bedankt voor je aanvraag!"}),l.jsx("p",{className:"font-body text-base text-muted-foreground",children:"Ik neem zo snel mogelijk contact met jullie op. Tot snel!"})]}):l.jsxs("form",{onSubmit:s,className:"card-elegant p-8 space-y-6",children:[l.jsxs("div",{className:"grid grid-cols-2 gap-4",children:[l.jsxs("div",{className:"space-y-1.5",children:[l.jsx("label",{className:"font-body text-xs tracking-widest uppercase text-muted-foreground",children:"Voornaam"}),l.jsx("input",{name:"voornaam",value:e.voornaam,onChange:i,required:!0,className:"w-full border border-border bg-background px-4 py-3 font-body text-sm text-foreground focus:outline-none focus:border-accent transition-colors",placeholder:"Jullie voornaam"})]}),l.jsxs("div",{className:"space-y-1.5",children:[l.jsx("label",{className:"font-body text-xs tracking-widest uppercase text-muted-foreground",children:"Achternaam"}),l.jsx("input",{name:"achternaam",value:e.achternaam,onChange:i,required:!0,className:"w-full border border-border bg-background px-4 py-3 font-body text-sm text-foreground focus:outline-none focus:border-accent transition-colors",placeholder:"Achternaam"})]})]}),l.jsxs("div",{className:"space-y-1.5",children:[l.jsx("label",{className:"font-body text-xs tracking-widest uppercase text-muted-foreground",children:"Email"}),l.jsx("input",{name:"email",type:"email",value:e.email,onChange:i,required:!0,className:"w-full border border-border bg-background px-4 py-3 font-body text-sm text-foreground focus:outline-none focus:border-accent transition-colors",placeholder:"jullie@email.nl"})]}),l.jsxs("div",{className:"space-y-1.5",children:[l.jsx("label",{className:"font-body text-xs tracking-widest uppercase text-muted-foreground",children:"Bericht"}),l.jsx("textarea",{name:"bericht",value:e.bericht,onChange:i,required:!0,rows:6,className:"w-full border border-border bg-background px-4 py-3 font-body text-sm text-foreground focus:outline-none focus:border-accent transition-colors resize-none",placeholder:"Vertel iets over jullie trouwdag, wensen of vragen..."})]}),l.jsx("button",{type:"submit",className:"btn-primary w-full justify-center",children:"Verstuur"})]})})]})})})]})},cO=()=>{const e=br();return b.useEffect(()=>{console.error("404 Error: User attempted to access non-existent route:",e.pathname)},[e.pathname]),l.jsxs("div",{className:"flex min-h-screen items-center justify-center bg-muted",children:[l.jsx(Ze,{title:"Pagina niet gevonden | Angela Ceremonies",description:"Deze pagina bestaat niet. Ga terug naar de homepagina van Angela Ceremonies."}),l.jsxs("div",{className:"text-center",children:[l.jsx("h1",{className:"mb-4 text-4xl font-bold",children:"404"}),l.jsx("p",{className:"mb-4 text-xl text-muted-foreground",children:"Oops! Page not found"}),l.jsx("a",{href:"/",className:"text-primary underline hover:text-primary/90",children:"Return to Home"})]})]})},Ms=({children:e,delay:t=0,className:n=""})=>l.jsx(F.div,{initial:{opacity:0,y:30},whileInView:{opacity:1,y:0},viewport:{once:!0,margin:"-60px"},transition:{duration:.8,delay:t},className:n,children:e}),uO=()=>l.jsxs("main",{children:[l.jsx(Ze,{title:"Trouwambtenaar Rotterdam | Persoonlijke Ceremonie",description:"Op zoek naar een trouwambtenaar in Rotterdam? Angela Bhagole-Mangre verzorgt persoonlijke trouwceremonies met aandacht en warmte.",canonical:"/trouwambtenaar-rotterdam"}),l.jsxs("section",{className:"relative h-[50vh] min-h-[350px] flex items-center justify-center overflow-hidden",children:[l.jsx("img",{src:Et,alt:"Trouwambtenaar Rotterdam",className:"absolute inset-0 w-full h-full object-cover"}),l.jsx("div",{className:"hero-overlay absolute inset-0"}),l.jsxs("div",{className:"relative z-10 text-center px-6",children:[l.jsx(F.h1,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{duration:1},className:"font-display text-4xl md:text-6xl text-primary-foreground mb-4",children:"Trouwambtenaar Rotterdam"}),l.jsx(F.p,{initial:{opacity:0},animate:{opacity:1},transition:{duration:1,delay:.3},className:"font-body text-base text-primary-foreground/80 max-w-xl mx-auto",children:"Op zoek naar een persoonlijke trouwambtenaar in Rotterdam? Angela Ceremonies verzorgt liefdevolle huwelijksceremonies door heel Rotterdam en omgeving."})]})]}),l.jsx("section",{className:"section-champagne py-24 px-6",children:l.jsx("div",{className:"container max-w-4xl mx-auto",children:l.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-16 items-center",children:[l.jsx(Ms,{children:l.jsx("img",{src:fc,alt:"Trouwambtenaar Angela in Rotterdam",className:"w-full h-[400px] md:h-[500px] object-cover object-[center_30%]"})}),l.jsxs(Ms,{delay:.2,className:"space-y-6",children:[l.jsx("h2",{className:"font-display text-3xl text-primary",children:"Jullie eigen trouwambtenaar in Rotterdam"}),l.jsx("div",{className:"w-12 h-px bg-accent"}),l.jsx("p",{className:"font-body text-base leading-relaxed text-muted-foreground",children:"Als beëdigd trouwambtenaar (BABS) in Rotterdam voltrek ik met liefde jullie huwelijk. Of het nu gaat om een intieme ceremonie op het stadhuis of een groots feest op een bijzondere locatie — ik zorg ervoor dat jullie trouwceremonie persoonlijk, warm en onvergetelijk wordt."}),l.jsx("p",{className:"font-body text-base leading-relaxed text-muted-foreground",children:"Met jarenlange ervaring en meer dan 490 voltrokken huwelijken weet ik precies hoe ik jullie verhaal kan vertellen op een manier die raakt. Ik ben actief in Rotterdam-Zuid, Rotterdam-Noord, Kralingen, Hillegersberg en alle andere wijken van Rotterdam."})]})]})})}),l.jsx("section",{className:"bg-background py-24 px-6",children:l.jsxs("div",{className:"container max-w-4xl mx-auto space-y-8",children:[l.jsx(Ms,{children:l.jsx("h2",{className:"font-display text-3xl text-primary text-center mb-8",children:"Waarom kiezen voor een eigen trouwambtenaar?"})}),l.jsx(Ms,{delay:.1,children:l.jsxs("div",{className:"space-y-6 font-body text-base leading-relaxed text-muted-foreground",children:[l.jsx("p",{children:"Bij een gemeentelijke trouwambtenaar weet je niet altijd wie er voor jullie staat. Door te kiezen voor een eigen trouwambtenaar — ook wel BABS (Buitengewoon Ambtenaar van de Burgerlijke Stand) genoemd — krijgen jullie een ceremonie die volledig op maat is gemaakt."}),l.jsx("p",{children:"Ik neem de tijd om jullie te leren kennen: jullie liefdesverhaal, jullie waarden en jullie wensen. Zo ontstaat er een ceremonie die écht over jullie gaat. Geen standaardtekst, maar woorden die kloppen."}),l.jsx("p",{children:"Als trouwambtenaar in Rotterdam ben ik beschikbaar voor wettelijke huwelijken, geregistreerde partnerschappen en ceremoniële huwelijken. Ook voor het vernieuwen van jullie geloften sta ik graag voor jullie klaar."})]})}),l.jsx(Ms,{delay:.2,className:"text-center pt-8",children:l.jsx(ne,{to:"/contact",className:"btn-primary inline-flex",children:"Neem contact op"})})]})})]}),Ds=({children:e,delay:t=0,className:n=""})=>l.jsx(F.div,{initial:{opacity:0,y:30},whileInView:{opacity:1,y:0},viewport:{once:!0,margin:"-60px"},transition:{duration:.8,delay:t},className:n,children:e}),dO=()=>l.jsxs("main",{children:[l.jsx(Ze,{title:"BABS Inhuren | Buitengewoon Ambtenaar Trouwen",description:"Een BABS inhuren voor jullie trouwdag? Angela Bhagole-Mangre is buitengewoon ambtenaar van de burgerlijke stand en maakt jullie ceremonie persoonlijk en bijzonder.",canonical:"/babs-inhuren"}),l.jsxs("section",{className:"relative h-[50vh] min-h-[350px] flex items-center justify-center overflow-hidden",children:[l.jsx("img",{src:Et,alt:"BABS inhuren",className:"absolute inset-0 w-full h-full object-cover"}),l.jsx("div",{className:"hero-overlay absolute inset-0"}),l.jsxs("div",{className:"relative z-10 text-center px-6",children:[l.jsx(F.h1,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{duration:1},className:"font-display text-4xl md:text-6xl text-primary-foreground mb-4",children:"BABS inhuren"}),l.jsx(F.p,{initial:{opacity:0},animate:{opacity:1},transition:{duration:1,delay:.3},className:"font-body text-base text-primary-foreground/80 max-w-xl mx-auto",children:"Een Buitengewoon Ambtenaar van de Burgerlijke Stand inhuren voor jullie trouwdag"})]})]}),l.jsx("section",{className:"section-champagne py-24 px-6",children:l.jsxs("div",{className:"container max-w-4xl mx-auto space-y-8",children:[l.jsx(Ds,{children:l.jsx("h2",{className:"font-display text-3xl text-primary text-center",children:"Wat is een BABS?"})}),l.jsx(Ds,{delay:.1,children:l.jsxs("div",{className:"space-y-6 font-body text-base leading-relaxed text-muted-foreground max-w-3xl mx-auto",children:[l.jsx("p",{children:"Een BABS is een Buitengewoon Ambtenaar van de Burgerlijke Stand. Dit is een persoon die bevoegd is om huwelijken wettelijk te voltrekken. Anders dan een vaste gemeenteambtenaar is een BABS vaak speciaal aangesteld voor jullie trouwdag."}),l.jsx("p",{children:"Het grote voordeel van het inhuren van een eigen BABS is dat jullie zelf kunnen kiezen wie er voor jullie staat. Iemand die jullie leert kennen, die jullie verhaal begrijpt en die de ceremonie op maat maakt."}),l.jsx("p",{children:"Angela Bhagole-Mangre is als beëdigd BABS werkzaam vanuit Rotterdam en beschikbaar door heel Nederland. Met meer dan 490 voltrokken huwelijken heeft zij ruime ervaring met zowel intieme als grootschalige ceremonies."})]})})]})}),l.jsx("section",{className:"bg-background py-24 px-6",children:l.jsx("div",{className:"container max-w-6xl mx-auto",children:l.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-16 items-center",children:[l.jsxs(Ds,{className:"space-y-6",children:[l.jsx("h2",{className:"font-display text-3xl text-primary",children:"Hoe werkt het inhuren van een BABS?"}),l.jsx("div",{className:"w-12 h-px bg-accent"}),l.jsx("ul",{className:"space-y-4 font-body text-base text-muted-foreground",children:["Vrijblijvend kennismakingsgesprek — we ontdekken of de klik er is","Persoonlijk interview — ik leer jullie liefdesverhaal kennen","Ceremonie op maat — ik schrijf een unieke ceremonie die bij jullie past","Jullie trouwdag — een ceremonie om nooit te vergeten"].map((e,t)=>l.jsxs("li",{className:"flex items-start gap-3",children:[l.jsx("span",{className:"text-accent text-xs mt-1",children:"✦"}),e]},t))}),l.jsx(ne,{to:"/tarieven",className:"btn-primary inline-flex",children:"Bekijk tarieven"})]}),l.jsx(Ds,{delay:.2,children:l.jsx("img",{src:fc,alt:"BABS Angela inhuren",className:"w-full h-[400px] md:h-[500px] object-cover object-[center_30%]"})})]})})}),l.jsx("section",{className:"section-cream py-24 px-6 text-center",children:l.jsx("div",{className:"container max-w-2xl mx-auto",children:l.jsxs(Ds,{className:"space-y-6",children:[l.jsx("h2",{className:"font-display text-3xl text-primary",children:"Een BABS inhuren? Neem contact op"}),l.jsx("p",{className:"font-body text-base text-muted-foreground",children:"Benieuwd wat ik voor jullie kan betekenen? Plan een vrijblijvend kennismakingsgesprek."}),l.jsx(ne,{to:"/contact",className:"btn-primary inline-flex",children:"Neem contact op"})]})})})]}),fO="/assets/ceremony-moment-CQLj8lRG.jpg",Os=({children:e,delay:t=0,className:n=""})=>l.jsx(F.div,{initial:{opacity:0,y:30},whileInView:{opacity:1,y:0},viewport:{once:!0,margin:"-60px"},transition:{duration:.8,delay:t},className:n,children:e}),hO=()=>l.jsxs("main",{children:[l.jsx(Ze,{title:"Ceremonieel Trouwen | Symbolisch Huwelijk",description:"Ceremonieel trouwen: een symbolisch huwelijk volledig op maat. Kies zelf de locatie, het verhaal en de sfeer. Ontdek de mogelijkheden bij Angela Ceremonies.",canonical:"/ceremonieel-trouwen"}),l.jsxs("section",{className:"relative h-[50vh] min-h-[350px] flex items-center justify-center overflow-hidden",children:[l.jsx("img",{src:fO,alt:"Ceremonieel trouwen",className:"absolute inset-0 w-full h-full object-cover"}),l.jsx("div",{className:"hero-overlay absolute inset-0"}),l.jsxs("div",{className:"relative z-10 text-center px-6",children:[l.jsx(F.h1,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{duration:1},className:"font-display text-4xl md:text-6xl text-primary-foreground mb-4",children:"Ceremonieel trouwen"}),l.jsx(F.p,{initial:{opacity:0},animate:{opacity:1},transition:{duration:1,delay:.3},className:"font-body text-base text-primary-foreground/80 max-w-xl mx-auto",children:"Een ceremonie zonder wettelijke binding, volledig op maat"})]})]}),l.jsx("section",{className:"section-champagne py-24 px-6",children:l.jsxs("div",{className:"container max-w-4xl mx-auto space-y-8",children:[l.jsx(Os,{children:l.jsx("h2",{className:"font-display text-3xl text-primary text-center",children:"Wat is ceremonieel trouwen?"})}),l.jsx(Os,{delay:.1,children:l.jsxs("div",{className:"space-y-6 font-body text-base leading-relaxed text-muted-foreground max-w-3xl mx-auto",children:[l.jsx("p",{children:"Ceremonieel trouwen is een huwelijksceremonie zonder wettelijke binding. Het is een prachtige manier om jullie liefde te vieren en te bezegelen, op een manier die volledig bij jullie past. Zonder de formele vereisten van een wettelijk huwelijk."}),l.jsx("p",{children:"Bij een ceremonieel huwelijk staan jullie centraal. Jullie verhaal, jullie beloften en jullie liefde. Ik schrijf een persoonlijke ceremonie die precies past bij wie jullie zijn als stel. Met ruimte voor humor, emotie en alles daartussenin."}),l.jsx("p",{children:"Een ceremonieel huwelijk is ideaal voor stellen die al wettelijk getrouwd zijn maar toch een ceremonie willen, voor stellen die bewust kiezen om niet wettelijk te trouwen, of voor stellen die hun huwelijk op een later moment nog willen vieren met een ceremonie."})]})})]})}),l.jsx("section",{className:"bg-background py-24 px-6",children:l.jsxs("div",{className:"container max-w-4xl mx-auto space-y-8",children:[l.jsx(Os,{children:l.jsx("h2",{className:"font-display text-3xl text-primary text-center",children:"Voordelen van ceremonieel trouwen"})}),l.jsx("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-8",children:[{title:"Volledige vrijheid",desc:"Geen standaardteksten of verplichte rituelen. Jullie bepalen wat er gezegd en gedaan wordt."},{title:"Locatie naar keuze",desc:"Trouw waar jullie willen: in jullie tuin, op het strand, in een kasteel of op een boot."},{title:"Persoonlijk verhaal",desc:"Ik schrijf een ceremonie die écht over jullie gaat, op basis van jullie liefdesverhaal."},{title:"Geen haast",desc:"De ceremonie duurt precies zo lang als nodig. Er is ruimte voor emotie, geloften en rituelen."}].map((e,t)=>l.jsx(Os,{delay:t*.1,children:l.jsxs("div",{className:"card-elegant p-6",children:[l.jsx("h3",{className:"font-display text-lg text-primary mb-2",children:e.title}),l.jsx("p",{className:"font-body text-sm text-muted-foreground leading-relaxed",children:e.desc})]})},e.title))}),l.jsx(Os,{delay:.3,className:"text-center pt-8",children:l.jsx(ne,{to:"/contact",className:"btn-primary inline-flex",children:"Vrijblijvend kennismaken"})})]})})]}),Ls=({children:e,delay:t=0,className:n=""})=>l.jsx(F.div,{initial:{opacity:0,y:30},whileInView:{opacity:1,y:0},viewport:{once:!0,margin:"-60px"},transition:{duration:.8,delay:t},className:n,children:e}),pO=()=>l.jsxs("main",{children:[l.jsx(Ze,{title:"Trouwambtenaar Kosten | Wat Kost een BABS?",description:"Wat kost een trouwambtenaar? Bekijk de gemiddelde kosten en wat inbegrepen is bij een persoonlijke BABS voor jullie trouwceremonie.",canonical:"/trouwambtenaar-kosten"}),l.jsxs("section",{className:"relative h-[50vh] min-h-[350px] flex items-center justify-center overflow-hidden",children:[l.jsx("img",{src:Et,alt:"Trouwambtenaar kosten",className:"absolute inset-0 w-full h-full object-cover"}),l.jsx("div",{className:"hero-overlay absolute inset-0"}),l.jsxs("div",{className:"relative z-10 text-center px-6",children:[l.jsx(F.h1,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{duration:1},className:"font-display text-4xl md:text-6xl text-primary-foreground mb-4",children:"Trouwambtenaar kosten"}),l.jsx(F.p,{initial:{opacity:0},animate:{opacity:1},transition:{duration:1,delay:.3},className:"font-body text-base text-primary-foreground/80 max-w-xl mx-auto",children:"Wat kost een eigen trouwambtenaar? Een overzicht van de tarieven."})]})]}),l.jsx("section",{className:"section-champagne py-24 px-6",children:l.jsxs("div",{className:"container max-w-4xl mx-auto space-y-8",children:[l.jsx(Ls,{children:l.jsx("h2",{className:"font-display text-3xl text-primary text-center",children:"Wat kost een trouwambtenaar?"})}),l.jsx(Ls,{delay:.1,children:l.jsxs("div",{className:"space-y-6 font-body text-base leading-relaxed text-muted-foreground max-w-3xl mx-auto",children:[l.jsx("p",{children:"De kosten voor een eigen trouwambtenaar variëren afhankelijk van het type ceremonie, de locatie en de specifieke wensen. Over het algemeen betaal je voor een eigen BABS meer dan voor een vaste gemeenteambtenaar, maar krijg je daar een unieke, persoonlijke ceremonie voor terug."}),l.jsx("p",{children:"Bij Angela Ceremonies zijn de tarieven transparant en inclusief. Je betaalt voor het volledige traject: van kennismaking tot en met de ceremonie op jullie grote dag. Geen verborgen kosten of onverwachte bijbetalingen."}),l.jsx("p",{children:"De gemiddelde kosten voor een eigen trouwambtenaar in Nederland liggen tussen de €500 en €1.200, afhankelijk van de ervaring, het pakket en eventuele reiskosten."})]})})]})}),l.jsx("section",{className:"bg-background py-24 px-6",children:l.jsxs("div",{className:"container max-w-4xl mx-auto space-y-8",children:[l.jsx(Ls,{children:l.jsx("h2",{className:"font-display text-3xl text-primary text-center",children:"Wat zit er bij de prijs inbegrepen?"})}),l.jsx(Ls,{delay:.1,children:l.jsx("ul",{className:"space-y-4 font-body text-base text-muted-foreground max-w-2xl mx-auto",children:["Vrijblijvend kennismakingsgesprek","Persoonlijk interview over jullie liefdesverhaal","Op maat geschreven trouwceremonie","Voorbereiding en afstemming in aanloop naar de dag","De ceremonie zelf op jullie trouwdag","Aanwezigheid voor en na de ceremonie","Reiskosten binnen Nederland"].map((e,t)=>l.jsxs("li",{className:"flex items-start gap-3",children:[l.jsx("span",{className:"text-accent text-xs mt-1",children:"✦"}),e]},t))})}),l.jsxs(Ls,{delay:.2,className:"text-center pt-8 space-y-4",children:[l.jsx(ne,{to:"/tarieven",className:"btn-gold inline-flex",children:"Bekijk de tarieven"}),l.jsx("br",{}),l.jsx(ne,{to:"/contact",className:"btn-primary inline-flex",children:"Vraag een offerte aan"})]})]})})]}),Is=({children:e,delay:t=0,className:n=""})=>l.jsx(F.div,{initial:{opacity:0,y:30},whileInView:{opacity:1,y:0},viewport:{once:!0,margin:"-60px"},transition:{duration:.8,delay:t},className:n,children:e}),mO=()=>l.jsxs("main",{children:[l.jsx(Ze,{title:"Trouwambtenaar Den Haag | Persoonlijke Ceremonie",description:"Op zoek naar een trouwambtenaar in Den Haag? Angela Bhagole-Mangre verzorgt persoonlijke en liefdevolle trouwceremonies in Den Haag en omgeving.",canonical:"/trouwambtenaar-den-haag"}),l.jsxs("section",{className:"relative h-[50vh] min-h-[350px] flex items-center justify-center overflow-hidden",children:[l.jsx("img",{src:Et,alt:"Trouwambtenaar Den Haag",className:"absolute inset-0 w-full h-full object-cover"}),l.jsx("div",{className:"hero-overlay absolute inset-0"}),l.jsxs("div",{className:"relative z-10 text-center px-6",children:[l.jsx(F.h1,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{duration:1},className:"font-display text-4xl md:text-6xl text-primary-foreground mb-4",children:"Trouwambtenaar Den Haag"}),l.jsx(F.p,{initial:{opacity:0},animate:{opacity:1},transition:{duration:1,delay:.3},className:"font-body text-base text-primary-foreground/80 max-w-xl mx-auto",children:"Op zoek naar een persoonlijke trouwambtenaar in Den Haag? Angela Ceremonies verzorgt liefdevolle huwelijksceremonies door heel Den Haag en omgeving."})]})]}),l.jsx("section",{className:"section-champagne py-24 px-6",children:l.jsx("div",{className:"container max-w-4xl mx-auto",children:l.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-16 items-center",children:[l.jsx(Is,{children:l.jsx("img",{src:fc,alt:"Trouwambtenaar Angela in Den Haag",className:"w-full h-[400px] md:h-[500px] object-cover object-[center_30%]"})}),l.jsxs(Is,{delay:.2,className:"space-y-6",children:[l.jsx("h2",{className:"font-display text-3xl text-primary",children:"Jullie eigen trouwambtenaar in Den Haag"}),l.jsx("div",{className:"w-12 h-px bg-accent"}),l.jsx("p",{className:"font-body text-base leading-relaxed text-muted-foreground",children:"Als beëdigd trouwambtenaar (BABS) verzorg ik met liefde jullie huwelijksceremonie in Den Haag. Of het nu gaat om een intieme plechtigheid op het stadhuis aan het Spui, een ceremonie in het Kurhaus of een trouwerij op een bijzondere locatie in Scheveningen — ik zorg ervoor dat jullie dag persoonlijk, warm en onvergetelijk wordt."}),l.jsx("p",{className:"font-body text-base leading-relaxed text-muted-foreground",children:"Met jarenlange ervaring en meer dan 490 voltrokken huwelijken weet ik precies hoe ik jullie verhaal kan vertellen op een manier die raakt. Ik ben beschikbaar in heel Den Haag: van het centrum tot Scheveningen, Loosduinen, Leidschenveen en alle andere wijken."})]})]})})}),l.jsx("section",{className:"bg-background py-24 px-6",children:l.jsxs("div",{className:"container max-w-4xl mx-auto space-y-8",children:[l.jsx(Is,{children:l.jsx("h2",{className:"font-display text-3xl text-primary text-center mb-8",children:"Waarom kiezen voor een eigen trouwambtenaar in Den Haag?"})}),l.jsx(Is,{delay:.1,children:l.jsxs("div",{className:"space-y-6 font-body text-base leading-relaxed text-muted-foreground",children:[l.jsx("p",{children:"Den Haag is een prachtige stad om te trouwen. Van de statige paleizen en historische gebouwen tot de stranden van Scheveningen en Kijkduin — de stad biedt talloze bijzondere trouwlocaties. Met een eigen trouwambtenaar krijgen jullie een ceremonie die volledig op maat is gemaakt voor jullie gekozen locatie."}),l.jsx("p",{children:"Ik neem de tijd om jullie te leren kennen: jullie liefdesverhaal, jullie waarden en jullie wensen. Zo ontstaat er een ceremonie die écht over jullie gaat. Geen standaardtekst, maar woorden die kloppen."}),l.jsx("p",{children:"Als trouwambtenaar in Den Haag ben ik beschikbaar voor wettelijke huwelijken, geregistreerde partnerschappen en ceremoniële huwelijken. Ook voor het vernieuwen van jullie geloften sta ik graag voor jullie klaar."})]})}),l.jsx(Is,{delay:.2,className:"text-center pt-8",children:l.jsx(ne,{to:"/contact",className:"btn-primary inline-flex",children:"Neem contact op"})})]})})]}),gO="/assets/angela-beurs-AzLlKUDk.png",ui=({children:e,delay:t=0,className:n=""})=>l.jsx(F.div,{initial:{opacity:0,y:30},whileInView:{opacity:1,y:0},viewport:{once:!0,margin:"-60px"},transition:{duration:.8,delay:t},className:n,children:e}),yO=()=>l.jsxs("main",{children:[l.jsx(Ze,{title:"Hindoestaanse Bruidsbeurs | Angela Ceremonies",description:"Leuk dat we elkaar hebben ontmoet op de Hindoestaanse Bruidsbeurs! Ontdek de diensten van Angela Ceremonies voor jullie trouwdag.",canonical:"/hindoestaanse-bruidsbeurs"}),l.jsx("section",{className:"section-champagne py-20 md:py-28 px-6",children:l.jsx("div",{className:"container max-w-4xl mx-auto",children:l.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-12 items-center",children:[l.jsx(ui,{children:l.jsx("img",{src:gO,alt:"Angela Bhagole-Mangre op de Hindoestaanse Bruidsbeurs",className:"w-full h-[400px] md:h-[500px] object-cover object-[center_30%]"})}),l.jsxs(ui,{delay:.2,className:"space-y-6",children:[l.jsx(F.h1,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{duration:1},className:"font-display text-3xl md:text-4xl text-primary",children:"Wat fijn dat we elkaar hebben ontmoet!"}),l.jsx("div",{className:"w-12 h-px bg-accent"}),l.jsx("p",{className:"font-body text-base leading-relaxed text-muted-foreground",children:"Bedankt dat je langskwam bij mijn stand op de Hindoestaanse Bruidsbeurs. Het was een plezier om met je te praten over jullie grote dag. Ik hoop dat ik je heb kunnen inspireren!"}),l.jsx("p",{className:"font-body text-base leading-relaxed text-muted-foreground",children:"Op deze pagina vind je meer informatie over mijn diensten en hoe ik jullie trouwdag onvergetelijk kan maken."}),l.jsxs("a",{href:"#ontdek-meer",className:"btn-gold inline-flex items-center gap-2 mt-2",onClick:e=>{var t;e.preventDefault(),(t=document.getElementById("ontdek-meer"))==null||t.scrollIntoView({behavior:"smooth"})},children:[l.jsx(MT,{size:16}),"Ontdek meer"]})]})]})})}),l.jsx("section",{id:"ontdek-meer",className:"bg-background py-20 px-6",children:l.jsxs("div",{className:"container max-w-4xl mx-auto space-y-10",children:[l.jsxs(ui,{children:[l.jsx("h2",{className:"font-display text-3xl text-primary text-center",children:"Ontdek meer"}),l.jsx("p",{className:"font-body text-base text-muted-foreground text-center mt-4 max-w-2xl mx-auto",children:"Benieuwd wat ik voor jullie kan betekenen? Bekijk de pagina's hieronder voor meer informatie."})]}),l.jsx("div",{className:"grid grid-cols-1 sm:grid-cols-2 gap-6",children:[{title:"Trouwen",desc:"Alles over mijn persoonlijke huwelijksceremonies",path:"/trouwen"},{title:"Ceremonieel trouwen",desc:"Een ceremonie zonder wettelijke binding, volledig op maat",path:"/ceremonieel-trouwen"},{title:"Tarieven",desc:"Transparante tarieven en pakketten",path:"/tarieven"},{title:"Over mij",desc:"Leer mij beter kennen als jullie trouwambtenaar",path:"/over-mij"},{title:"Lieve woorden",desc:"Wat andere stellen over mij zeggen",path:"/lieve-woorden"},{title:"Huwelijksreis Curaçao",desc:"Trouwen of verblijven op Curaçao",path:"/trouwlocatie"}].map((e,t)=>l.jsx(ui,{delay:t*.08,children:l.jsx(ne,{to:e.path,className:"card-elegant p-6 block group hover:shadow-lg transition-shadow",children:l.jsxs("div",{className:"flex items-start justify-between gap-4",children:[l.jsxs("div",{children:[l.jsx("h3",{className:"font-display text-lg text-primary mb-1",children:e.title}),l.jsx("p",{className:"font-body text-sm text-muted-foreground leading-relaxed",children:e.desc})]}),l.jsx(sh,{size:18,className:"text-accent mt-1 shrink-0 group-hover:translate-x-1 transition-transform"})]})})},e.path))})]})}),l.jsx("section",{className:"section-champagne py-20 px-6",children:l.jsxs("div",{className:"container max-w-2xl mx-auto text-center space-y-8",children:[l.jsxs(ui,{children:[l.jsx(C0,{size:28,className:"text-accent mx-auto"}),l.jsx("h2",{className:"font-display text-3xl text-primary mt-4",children:"Laten we kennismaken"}),l.jsx("p",{className:"font-body text-base text-muted-foreground mt-4 leading-relaxed",children:"Heb je vragen of wil je een vrijblijvend kennismakingsgesprek inplannen? Ik hoor graag van je!"})]}),l.jsxs(ui,{delay:.15,className:"flex flex-col sm:flex-row items-center justify-center gap-4 flex-wrap",children:[l.jsxs(ne,{to:"/contact",className:"btn-primary inline-flex items-center gap-2",children:[l.jsx(oh,{size:16}),"Neem contact op"]}),l.jsxs("a",{href:"https://wa.me/31624897676",target:"_blank",rel:"noopener noreferrer",className:"btn-gold inline-flex items-center gap-2",children:[l.jsx(IT,{size:16}),"WhatsApp"]}),l.jsxs("a",{href:"tel:+31624897676",className:"btn-outline inline-flex items-center gap-2",children:[l.jsx(ah,{size:16}),"+31 6 248 97 676"]})]})]})})]}),vO=new YN,xO=()=>{const e=br();return l.jsx(tf,{mode:"wait",children:l.jsxs(BP,{location:e,children:[l.jsx(_e,{path:"/",element:l.jsx(We,{children:l.jsx(XD,{})})}),l.jsx(_e,{path:"/trouwen",element:l.jsx(We,{children:l.jsx(ZD,{})})}),l.jsx(_e,{path:"/trouwlocatie",element:l.jsx(We,{children:l.jsx(tO,{})})}),l.jsx(_e,{path:"/tarieven",element:l.jsx(We,{children:l.jsx(nO,{})})}),l.jsx(_e,{path:"/coaching",element:l.jsx(We,{children:l.jsx(iO,{})})}),l.jsx(_e,{path:"/over-mij",element:l.jsx(We,{children:l.jsx(sO,{})})}),l.jsx(_e,{path:"/lieve-woorden",element:l.jsx(We,{children:l.jsx(aO,{})})}),l.jsx(_e,{path:"/contact",element:l.jsx(We,{children:l.jsx(lO,{})})}),l.jsx(_e,{path:"/trouwambtenaar-rotterdam",element:l.jsx(We,{children:l.jsx(uO,{})})}),l.jsx(_e,{path:"/babs-inhuren",element:l.jsx(We,{children:l.jsx(dO,{})})}),l.jsx(_e,{path:"/ceremonieel-trouwen",element:l.jsx(We,{children:l.jsx(hO,{})})}),l.jsx(_e,{path:"/trouwambtenaar-kosten",element:l.jsx(We,{children:l.jsx(pO,{})})}),l.jsx(_e,{path:"/trouwambtenaar-den-haag",element:l.jsx(We,{children:l.jsx(mO,{})})}),l.jsx(_e,{path:"/hindoestaanse-bruidsbeurs",element:l.jsx(We,{children:l.jsx(yO,{})})}),l.jsx(_e,{path:"*",element:l.jsx(We,{children:l.jsx(cO,{})})})]},e.pathname)})},wO=()=>l.jsx(qN,{client:vO,children:l.jsxs(SN,{children:[l.jsx(wC,{}),l.jsx(JC,{}),l.jsxs(GP,{children:[l.jsx(HD,{}),l.jsx(WD,{}),l.jsx(xO,{}),l.jsx(KD,{})]})]})});Fx(document.getElementById("root")).render(l.jsx(Yx,{children:l.jsx(wO,{})}));