PageSourceSearch

https://agripass.co/assets/index-DRiKM_8V.js

js agripass.co collected 2026-10-04 01:58:41 UTC 722,335 bytes, 246 lines download raw bytes

1var KC=Object.defineProperty;var Ng=e=>{throw TypeError(e)};var GC=(e,t,n)=>t in e?KC(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;var vr=(e,t,n)=>GC(e,typeof t!="symbol"?t+"":t,n),gd=(e,t,n)=>t.has(e)||Ng("Cannot "+n);var O=(e,t,n)=>(gd(e,t,"read from private field"),n?n.call(e):t.get(e)),be=(e,t,n)=>t.has(e)?Ng("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,n),fe=(e,t,n,r)=>(gd(e,t,"write to private field"),r?r.call(e,n):t.set(e,n),n),Ct=(e,t,n)=>(gd(e,t,"access private method"),n);var Al=(e,t,n,r)=>({set _(s){fe(e,t,s,n)},get _(){return O(e,t,r)}});function YC(e,t){for(var n=0;n<t.length;n++){const r=t[n];if(typeof r!="string"&&!Array.isArray(r)){for(const s in r)if(s!=="default"&&!(s in e)){const i=Object.getOwnPropertyDescriptor(r,s);i&&Object.defineProperty(e,s,i.get?i:{enumerable:!0,get:()=>r[s]})}}}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 s of document.querySelectorAll('link[rel="modulepreload"]'))r(s);new MutationObserver(s=>{for(const i of s)if(i.type==="childList")for(const o of i.addedNodes)o.tagName==="LINK"&&o.rel==="modulepreload"&&r(o)}).observe(document,{childList:!0,subtree:!0});function n(s){const i={};return s.integrity&&(i.integrity=s.integrity),s.referrerPolicy&&(i.referrerPolicy=s.referrerPolicy),s.crossOrigin==="use-credentials"?i.credentials="include":s.crossOrigin==="anonymous"?i.credentials="omit":i.credentials="same-origin",i}function r(s){if(s.ep)return;s.ep=!0;const i=n(s);fetch(s.href,i)}})();function dl(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}
vendor: 13,575 bytes, lines 1-33
1var O0={exports:{}},Ru={},D0={exports:{}},ye={};/**
2 * @license React
3 * react.production.min.js
4 *
5 * Copyright (c) Facebook, Inc. and its affiliates.
6 *
7 * This source code is licensed under the MIT license found in the
8 * LICENSE file in the root directory of this source tree.
9 */var fl=Symbol.for("react.element"),ZC=Symbol.for("react.portal"),qC=Symbol.for("react.fragment"),QC=Symbol.for("react.strict_mode"),XC=Symbol.for("react.profiler"),JC=Symbol.for("react.provider"),eN=Symbol.for("react.context"),tN=Symbol.for("react.forward_ref"),nN=Symbol.for("react.suspense"),rN=Symbol.for("react.memo"),sN=Symbol.for("react.lazy"),kg=Symbol.iterator;function iN(e){return e===null||typeof e!="object"?null:(e=kg&&e[kg]||e["@@iterator"],typeof e=="function"?e:null)}var L0={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},F0=Object.assign,V0={};function ko(e,t,n){this.props=e,this.context=t,this.refs=V0,this.updater=n||L0}ko.prototype.isReactComponent={};ko.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")};ko.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function $0(){}$0.prototype=ko.prototype;function ym(e,t,n){this.props=e,this.context=t,this.refs=V0,this.updater=n||L0}var vm=ym.prototype=new $0;vm.constructor=ym;F0(vm,ko.prototype);vm.isPureReactComponent=!0;var Tg=Array.isArray,B0=Object.prototype.hasOwnProperty,xm={current:null},z0={key:!0,ref:!0,__self:!0,__source:!0};function U0(e,t,n){var r,s={},i=null,o=null;if(t!=null)for(r in t.ref!==void 0&&(o=t.ref),t.key!==void 0&&(i=""+t.key),t)B0.call(t,r)&&!z0.hasOwnProperty(r)&&(s[r]=t[r]);var a=arguments.length-2;if(a===1)s.children=n;else if(1<a){for(var c=Array(a),u=0;u<a;u++)c[u]=arguments[u+2];s.children=c}if(e&&e.defaultProps)for(r in a=e.defaultProps,a)s[r]===void 0&&(s[r]=a[r]);return{$$typeof:fl,type:e,key:i,ref:o,props:s,_owner:xm.current}}function oN(e,t){return{$$typeof:fl,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}function wm(e){return typeof e=="object"&&e!==null&&e.$$typeof===fl}function aN(e){var t={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,function(n){return t[n]})}var Eg=/\/+/g;function yd(e,t){return typeof e=="object"&&e!==null&&e.key!=null?aN(""+e.key):t.toString(36)}function fc(e,t,n,r,s){var i=typeof e;(i==="undefined"||i==="boolean")&&(e=null);var o=!1;if(e===null)o=!0;else switch(i){case"string":case"number":o=!0;break;case"object":switch(e.$$typeof){case fl:case ZC:o=!0}}if(o)return o=e,s=s(o),e=r===""?"."+yd(o,0):r,Tg(s)?(n="",e!=null&&(n=e.replace(Eg,"$&/")+"/"),fc(s,t,n,"",function(u){return u})):s!=null&&(wm(s)&&(s=oN(s,n+(!s.key||o&&o.key===s.key?"":(""+s.key).replace(Eg,"$&/")+"/")+e)),t.push(s)),1;if(o=0,r=r===""?".":r+":",Tg(e))for(var a=0;a<e.length;a++){i=e[a];var c=r+yd(i,a);o+=fc(i,t,n,c,s)}else if(c=iN(e),typeof c=="function")for(e=c.call(e),a=0;!(i=e.next()).done;)i=i.value,c=r+yd(i,a++),o+=fc(i,t,n,c,s);else if(i==="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 Rl(e,t,n){if(e==null)return e;var r=[],s=0;return fc(e,r,"","",function(i){return t.call(n,i,s++)}),r}function lN(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 $t={current:null},hc={transition:null},cN={ReactCurrentDispatcher:$t,ReactCurrentBatchConfig:hc,ReactCurrentOwner:xm};function H0(){throw Error("act(...) is not supported in production builds of React.")}ye.Children={map:Rl,forEach:function(e,t,n){Rl(e,function(){t.apply(this,arguments)},n)},count:function(e){var t=0;return Rl(e,function(){t++}),t},toArray:function(e){return Rl(e,function(t){return t})||[]},only:function(e){if(!wm(e))throw Error("React.Children.only expected to receive a single React element child.");return e}};ye.Component=ko;ye.Fragment=qC;ye.Profiler=XC;ye.PureComponent=ym;ye.StrictMode=QC;ye.Suspense=nN;ye.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=cN;ye.act=H0;ye.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=F0({},e.props),s=e.key,i=e.ref,o=e._owner;if(t!=null){if(t.ref!==void 0&&(i=t.ref,o=xm.current),t.key!==void 0&&(s=""+t.key),e.type&&e.type.defaultProps)var a=e.type.defaultProps;for(c in t)B0.call(t,c)&&!z0.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:fl,type:e.type,key:s,ref:i,props:r,_owner:o}};ye.createContext=function(e){return e={$$typeof:eN,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null},e.Provider={$$typeof:JC,_context:e},e.Consumer=e};ye.createElement=U0;ye.createFactory=function(e){var t=U0.bind(null,e);return t.type=e,t};ye.createRef=function(){return{current:null}};ye.forwardRef=function(e){return{$$typeof:tN,render:e}};ye.isValidElement=wm;ye.lazy=function(e){return{$$typeof:sN,_payload:{_status:-1,_result:e},_init:lN}};ye.memo=function(e,t){return{$$typeof:rN,type:e,compare:t===void 0?null:t}};ye.startTransition=function(e){var t=hc.transition;hc.transition={};try{e()}finally{hc.transition=t}};ye.unstable_act=H0;ye.useCallback=function(e,t){return $t.current.useCallback(e,t)};ye.useContext=function(e){return $t.current.useContext(e)};ye.useDebugValue=function(){};ye.useDeferredValue=function(e){return $t.current.useDeferredValue(e)};ye.useEffect=function(e,t){return $t.current.useEffect(e,t)};ye.useId=function(){return $t.current.useId()};ye.useImperativeHandle=function(e,t,n){return $t.current.useImperativeHandle(e,t,n)};ye.useInsertionEffect=function(e,t){return $t.current.useInsertionEffect(e,t)};ye.useLayoutEffect=function(e,t){return $t.current.useLayoutEffect(e,t)};ye.useMemo=function(e,t){return $t.current.useMemo(e,t)};ye.useReducer=function(e,t,n){return $t.current.useReducer(e,t,n)};ye.useRef=function(e){return $t.current.useRef(e)};ye.useState=function(e){return $t.current.useState(e)};ye.useSyncExternalStore=function(e,t,n){return $t.current.useSyncExternalStore(e,t,n)};ye.useTransition=function(){return $t.current.useTransition()};ye.version="18.3.1";D0.exports=ye;var x=D0.exports;const R=dl(x),bm=YC({__proto__:null,default:R},[x]);/**
10 * @license React
11 * react-jsx-runtime.production.min.js
12 *
13 * Copyright (c) Facebook, Inc. and its affiliates.
14 *
15 * This source code is licensed under the MIT license found in the
16 * LICENSE file in the root directory of this source tree.
17 */var uN=x,dN=Symbol.for("react.element"),fN=Symbol.for("react.fragment"),hN=Object.prototype.hasOwnProperty,mN=uN.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,pN={key:!0,ref:!0,__self:!0,__source:!0};function W0(e,t,n){var r,s={},i=null,o=null;n!==void 0&&(i=""+n),t.key!==void 0&&(i=""+t.key),t.ref!==void 0&&(o=t.ref);for(r in t)hN.call(t,r)&&!pN.hasOwnProperty(r)&&(s[r]=t[r]);if(e&&e.defaultProps)for(r in t=e.defaultProps,t)s[r]===void 0&&(s[r]=t[r]);return{$$typeof:dN,type:e,key:i,ref:o,props:s,_owner:mN.current}}Ru.Fragment=fN;Ru.jsx=W0;Ru.jsxs=W0;O0.exports=Ru;var l=O0.exports,K0={exports:{}},ln={},G0={exports:{}},Y0={};/**
18 * @license React
19 * scheduler.production.min.js
20 *
21 * Copyright (c) Facebook, Inc. and its affiliates.
22 *
23 * This source code is licensed under the MIT license found in the
24 * LICENSE file in the root directory of this source tree.
25 */(function(e){function t(P,A){var z=P.length;P.push(A);e:for(;0<z;){var se=z-1>>>1,te=P[se];if(0<s(te,A))P[se]=A,P[z]=te,z=se;else break e}}function n(P){return P.length===0?null:P[0]}function r(P){if(P.length===0)return null;var A=P[0],z=P.pop();if(z!==A){P[0]=z;e:for(var se=0,te=P.length,le=te>>>1;se<le;){var ie=2*(se+1)-1,ke=P[ie],Le=ie+1,oe=P[Le];if(0>s(ke,z))Le<te&&0>s(oe,ke)?(P[se]=oe,P[Le]=z,se=Le):(P[se]=ke,P[ie]=z,se=ie);else if(Le<te&&0>s(oe,z))P[se]=oe,P[Le]=z,se=Le;else break e}}return A}function s(P,A){var z=P.sortIndex-A.sortIndex;return z!==0?z:P.id-A.id}if(typeof performance=="object"&&typeof performance.now=="function"){var i=performance;e.unstable_now=function(){return i.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,m=!1,w=!1,g=!1,b=typeof setTimeout=="function"?setTimeout:null,y=typeof clearTimeout=="function"?clearTimeout:null,p=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function v(P){for(var A=n(u);A!==null;){if(A.callback===null)r(u);else if(A.startTime<=P)r(u),A.sortIndex=A.expirationTime,t(c,A);else break;A=n(u)}}function j(P){if(g=!1,v(P),!w)if(n(c)!==null)w=!0,Z(S);else{var A=n(u);A!==null&&K(j,A.startTime-P)}}function S(P,A){w=!1,g&&(g=!1,y(T),T=-1),m=!0;var z=h;try{for(v(A),f=n(c);f!==null&&(!(f.expirationTime>A)||P&&!V());){var se=f.callback;if(typeof se=="function"){f.callback=null,h=f.priorityLevel;var te=se(f.expirationTime<=A);A=e.unstable_now(),typeof te=="function"?f.callback=te:f===n(c)&&r(c),v(A)}else r(c);f=n(c)}if(f!==null)var le=!0;else{var ie=n(u);ie!==null&&K(j,ie.startTime-A),le=!1}return le}finally{f=null,h=z,m=!1}}var N=!1,k=null,T=-1,_=5,M=-1;function V(){return!(e.unstable_now()-M<_)}function D(){if(k!==null){var P=e.unstable_now();M=P;var A=!0;try{A=k(!0,P)}finally{A?W():(N=!1,k=null)}}else N=!1}var W;if(typeof p=="function")W=function(){p(D)};else if(typeof MessageChannel<"u"){var L=new MessageChannel,Q=L.port2;L.port1.onmessage=D,W=function(){Q.postMessage(null)}}else W=function(){b(D,0)};function Z(P){k=P,N||(N=!0,W())}function K(P,A){T=b(function(){P(e.unstable_now())},A)}e.unstable_IdlePriority=5,e.unstable_ImmediatePriority=1,e.unstable_LowPriority=4,e.unstable_NormalPriority=3,e.unstable_Profiling=null,e.unstable_UserBlockingPriority=2,e.unstable_cancelCallback=function(P){P.callback=null},e.unstable_continueExecution=function(){w||m||(w=!0,Z(S))},e.unstable_forceFrameRate=function(P){0>P||125<P?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):_=0<P?Math.floor(1e3/P):5},e.unstable_getCurrentPriorityLevel=function(){return h},e.unstable_getFirstCallbackNode=function(){return n(c)},e.unstable_next=function(P){switch(h){case 1:case 2:case 3:var A=3;break;default:A=h}var z=h;h=A;try{return P()}finally{h=z}},e.unstable_pauseExecution=function(){},e.unstable_requestPaint=function(){},e.unstable_runWithPriority=function(P,A){switch(P){case 1:case 2:case 3:case 4:case 5:break;default:P=3}var z=h;h=P;try{return A()}finally{h=z}},e.unstable_scheduleCallback=function(P,A,z){var se=e.unstable_now();switch(typeof z=="object"&&z!==null?(z=z.delay,z=typeof z=="number"&&0<z?se+z:se):z=se,P){case 1:var te=-1;break;case 2:te=250;break;case 5:te=1073741823;break;case 4:te=1e4;break;default:te=5e3}return te=z+te,P={id:d++,callback:A,priorityLevel:P,startTime:z,expirationTime:te,sortIndex:-1},z>se?(P.sortIndex=z,t(u,P),n(c)===null&&P===n(u)&&(g?(y(T),T=-1):g=!0,K(j,z-se))):(P.sortIndex=te,t(c,P),w||m||(w=!0,Z(S))),P},e.unstable_shouldYield=V,e.unstable_wrapCallback=function(P){var A=h;return function(){var z=h;h=A;try{return P.apply(this,arguments)}finally{h=z}}}})(Y0);G0.exports=Y0;var gN=G0.exports;/**
26 * @license React
27 * react-dom.production.min.js
28 *
29 * Copyright (c) Facebook, Inc. and its affiliates.
30 *
31 * This source code is licensed under the MIT license found in the
32 * LICENSE file in the root directory of this source tree.
33 */var yN=x,on=gN;function F(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 Z0=new Set,Ea={};function li(e,t){uo(e,t),uo(e+"Capture",t)}function uo(e,t){for(Ea[e]=t,e=0;e<t.length;e++)Z0.add(t[e])}var Pr=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),Pf=Object.prototype.hasOwnProperty,vN=/^[: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]*$/,Pg={},_g={};function xN(e){return Pf.call(_g,e)?!0:Pf.call(Pg,e)?!1:vN.test(e)?_g[e]=!0:(Pg[e]=!0,!1)}function wN(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 bN(e,t,n,r){if(t===null||typeof t>"u"||wN(e,t,n,r))return!0;
vendor: 5,200 bytes, lines 33-34
33if(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 Bt(e,t,n,r,s,i,o){this.acceptsBooleans=t===2||t===3||t===4,this.attributeName=r,this.attributeNamespace=s,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=i,this.removeEmptyString=o}var jt={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){jt[e]=new Bt(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];jt[t]=new Bt(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){jt[e]=new Bt(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){jt[e]=new Bt(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){jt[e]=new Bt(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){jt[e]=new Bt(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){jt[e]=new Bt(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){jt[e]=new Bt(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){jt[e]=new Bt(e,5,!1,e.toLowerCase(),null,!1,!1)});var jm=/[\-:]([a-z])/g;function Sm(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(jm,Sm);jt[t]=new Bt(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(jm,Sm);jt[t]=new Bt(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(jm,Sm);jt[t]=new Bt(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){jt[e]=new Bt(e,1,!1,e.toLowerCase(),null,!1,!1)});jt.xlinkHref=new Bt("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){jt[e]=new Bt(e,1,!1,e.toLowerCase(),null,!0,!0)});function Cm(e,t,n,r){var s=jt.hasOwnProperty(t)?jt[t]:null;(s!==null?s.type!==0:r||!(2<t.length)||t[0]!=="o"&&t[0]!=="O"||t[1]!=="n"&&t[1]!=="N")&&(bN(t,n,s,r)&&(n=null),r||s===null?xN(t)&&(n===null?e.removeAttribute(t):e.setAttribute(t,""+n)):s.mustUseProperty?e[s.propertyName]=n===null?s.type===3?!1:"":n:(t=s.attributeName,r=s.attributeNamespace,n===null?e.removeAttribute(t):(s=s.type,n=s===3||s===4&&n===!0?"":""+n,r?e.setAttributeNS(r,t,n):e.setAttribute(t,n))))}var Vr=yN.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,Il=Symbol.for("react.element"),Ti=Symbol.for("react.portal"),Ei=Symbol.for("react.fragment"),Nm=Symbol.for("react.strict_mode"),_f=Symbol.for("react.profiler"),q0=Symbol.for("react.provider"),Q0=Symbol.for("react.context"),km=Symbol.for("react.forward_ref"),Af=Symbol.for("react.suspense"),Rf=Symbol.for("react.suspense_list"),Tm=Symbol.for("react.memo"),Zr=Symbol.for("react.lazy"),X0=Symbol.for("react.offscreen"),Ag=Symbol.iterator;function Vo(e){return e===null||typeof e!="object"?null:(e=Ag&&e[Ag]||e["@@iterator"],typeof e=="function"?e:null)}var Ge=Object.assign,vd;function ea(e){if(vd===void 0)try{throw Error()}catch(n){var t=n.stack.trim().match(/\n( *(at )?)/);vd=t&&t[1]||""}return`
34`+vd+e}var xd=!1;function wd(e,t){if(!e||xd)return"";xd=!0;var n=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(t)if(t=function(){throw Error()},Object.defineProperty(t.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(t,[])}catch(u){var r=u}Reflect.construct(e,[],t)}else{try{t.call()}catch(u){r=u}e.call(t.prototype)}else{try{throw Error()}catch(u){r=u}e()}}
vendor: 5,039 bytes, lines 34-37
34catch(u){if(u&&r&&typeof u.stack=="string"){for(var s=u.stack.split(`
35`),i=r.stack.split(`
36`),o=s.length-1,a=i.length-1;1<=o&&0<=a&&s[o]!==i[a];)a--;for(;1<=o&&0<=a;o--,a--)if(s[o]!==i[a]){if(o!==1||a!==1)do if(o--,a--,0>a||s[o]!==i[a]){var c=`
37`+s[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{xd=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?ea(e):""}function jN(e){switch(e.tag){case 5:return ea(e.type);case 16:return ea("Lazy");case 13:return ea("Suspense");case 19:return ea("SuspenseList");case 0:case 2:case 15:return e=wd(e.type,!1),e;case 11:return e=wd(e.type.render,!1),e;case 1:return e=wd(e.type,!0),e;default:return""}}function If(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 Ei:return"Fragment";case Ti:return"Portal";case _f:return"Profiler";case Nm:return"StrictMode";case Af:return"Suspense";case Rf:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case Q0:return(e.displayName||"Context")+".Consumer";case q0:return(e._context.displayName||"Context")+".Provider";case km:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case Tm:return t=e.displayName||null,t!==null?t:If(e.type)||"Memo";case Zr:t=e._payload,e=e._init;try{return If(e(t))}catch{}}return null}function SN(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 If(t);case 8:return t===Nm?"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 xs(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function J0(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function CN(e){var t=J0(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 s=n.get,i=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return s.call(this)},set:function(o){r=""+o,i.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 Ml(e){e._valueTracker||(e._valueTracker=CN(e))}function ew(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=J0(e)?e.checked?"true":"false":e.value),e=r,e!==n?(t.setValue(e),!0):!1}function Lc(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 Mf(e,t){var n=t.checked;return Ge({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n??e._wrapperState.initialChecked})}function Rg(e,t){var n=t.defaultValue==null?"":t.defaultValue,r=t.checked!=null?t.checked:t.defaultChecked;n=xs(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 tw(e,t){t=t.checked,t!=null&&Cm(e,"checked",t,!1)}function Of(e,t){tw(e,t);var n=xs(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")?Df(e,t.type,n):t.hasOwnProperty("defaultValue")&&Df(e,t.type,xs(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function Ig(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 Df(e,t,n){(t!=="number"||Lc(e.ownerDocument)!==e)&&(n==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var ta=Array.isArray;function Hi(e,t,n,r){if(e=e.options,t){t={};for(var s=0;s<n.length;s++)t["$"+n[s]]=!0;for(n=0;n<e.length;n++)s=t.hasOwnProperty("$"+e[n].value),e[n].selected!==s&&(e[n].selected=s),s&&r&&(e[n].defaultSelected=!0)}
vendor: 8,991 bytes, line 37
37else{for(n=""+xs(n),t=null,s=0;s<e.length;s++){if(e[s].value===n){e[s].selected=!0,r&&(e[s].defaultSelected=!0);return}t!==null||e[s].disabled||(t=e[s])}t!==null&&(t.selected=!0)}}function Lf(e,t){if(t.dangerouslySetInnerHTML!=null)throw Error(F(91));return Ge({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function Mg(e,t){var n=t.value;if(n==null){if(n=t.children,t=t.defaultValue,n!=null){if(t!=null)throw Error(F(92));if(ta(n)){if(1<n.length)throw Error(F(93));n=n[0]}t=n}t==null&&(t=""),n=t}e._wrapperState={initialValue:xs(n)}}function nw(e,t){var n=xs(t.value),r=xs(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 Og(e){var t=e.textContent;t===e._wrapperState.initialValue&&t!==""&&t!==null&&(e.value=t)}function rw(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 Ff(e,t){return e==null||e==="http://www.w3.org/1999/xhtml"?rw(t):e==="http://www.w3.org/2000/svg"&&t==="foreignObject"?"http://www.w3.org/1999/xhtml":e}var Ol,sw=function(e){return typeof MSApp<"u"&&MSApp.execUnsafeLocalFunction?function(t,n,r,s){MSApp.execUnsafeLocalFunction(function(){return e(t,n,r,s)})}:e}(function(e,t){if(e.namespaceURI!=="http://www.w3.org/2000/svg"||"innerHTML"in e)e.innerHTML=t;else{for(Ol=Ol||document.createElement("div"),Ol.innerHTML="<svg>"+t.valueOf().toString()+"</svg>",t=Ol.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function Pa(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var da={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},NN=["Webkit","ms","Moz","O"];Object.keys(da).forEach(function(e){NN.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),da[t]=da[e]})});function iw(e,t,n){return t==null||typeof t=="boolean"||t===""?"":n||typeof t!="number"||t===0||da.hasOwnProperty(e)&&da[e]?(""+t).trim():t+"px"}function ow(e,t){e=e.style;for(var n in t)if(t.hasOwnProperty(n)){var r=n.indexOf("--")===0,s=iw(n,t[n],r);n==="float"&&(n="cssFloat"),r?e.setProperty(n,s):e[n]=s}}var kN=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 Vf(e,t){if(t){if(kN[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(F(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(F(60));if(typeof t.dangerouslySetInnerHTML!="object"||!("__html"in t.dangerouslySetInnerHTML))throw Error(F(61))}if(t.style!=null&&typeof t.style!="object")throw Error(F(62))}}function $f(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 Bf=null;function Em(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var zf=null,Wi=null,Ki=null;function Dg(e){if(e=pl(e)){if(typeof zf!="function")throw Error(F(280));var t=e.stateNode;t&&(t=Lu(t),zf(e.stateNode,e.type,t))}}function aw(e){Wi?Ki?Ki.push(e):Ki=[e]:Wi=e}function lw(){if(Wi){var e=Wi,t=Ki;if(Ki=Wi=null,Dg(e),t)for(e=0;e<t.length;e++)Dg(t[e])}}function cw(e,t){return e(t)}function uw(){}var bd=!1;function dw(e,t,n){if(bd)return e(t,n);bd=!0;try{return cw(e,t,n)}finally{bd=!1,(Wi!==null||Ki!==null)&&(uw(),lw())}}function _a(e,t){var n=e.stateNode;if(n===null)return null;var r=Lu(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(F(231,t,typeof n));return n}var Uf=!1;if(Pr)try{var $o={};Object.defineProperty($o,"passive",{get:function(){Uf=!0}}),window.addEventListener("test",$o,$o),window.removeEventListener("test",$o,$o)}catch{Uf=!1}function TN(e,t,n,r,s,i,o,a,c){var u=Array.prototype.slice.call(arguments,3);try{t.apply(n,u)}catch(d){this.onError(d)}}var fa=!1,Fc=null,Vc=!1,Hf=null,EN={onError:function(e){fa=!0,Fc=e}};function PN(e,t,n,r,s,i,o,a,c){fa=!1,Fc=null,TN.apply(EN,arguments)}function _N(e,t,n,r,s,i,o,a,c){if(PN.apply(this,arguments),fa){if(fa){var u=Fc;fa=!1,Fc=null}else throw Error(F(198));Vc||(Vc=!0,Hf=u)}}function ci(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 fw(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 Lg(e){if(ci(e)!==e)throw Error(F(188))}function AN(e){var t=e.alternate;if(!t){if(t=ci(e),t===null)throw Error(F(188));return t!==e?null:e}for(var n=e,r=t;;){var s=n.return;if(s===null)break;var i=s.alternate;if(i===null){if(r=s.return,r!==null){n=r;continue}break}if(s.child===i.child){for(i=s.child;i;){if(i===n)return Lg(s),e;if(i===r)return Lg(s),t;i=i.sibling}throw Error(F(188))}if(n.return!==r.return)n=s,r=i;else{for(var o=!1,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){for(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)throw Error(F(189))}}if(n.alternate!==r)throw Error(F(190))}if(n.tag!==3)throw Error(F(188));return n.stateNode.current===n?e:t}function hw(e){return e=AN(e),e!==null?mw(e):null}function mw(e){if(e.tag===5||e.tag===6)return e;for(e=e.child;e!==null;){var t=mw(e);if(t!==null)return t;e=e.sibling}return null}var pw=on.unstable_scheduleCallback,Fg=on.unstable_cancelCallback,RN=on.unstable_shouldYield,IN=on.unstable_requestPaint,nt=on.unstable_now,MN=on.unstable_getCurrentPriorityLevel,Pm=on.unstable_ImmediatePriority,gw=on.unstable_UserBlockingPriority,$c=on.unstable_NormalPriority,ON=on.unstable_LowPriority,yw=on.unstable_IdlePriority,Iu=null,cr=null;function DN(e){if(cr&&typeof cr.onCommitFiberRoot=="function")try{cr.onCommitFiberRoot(Iu,e,void 0,(e.current.flags&128)===128)}catch{}}var Gn=Math.clz32?Math.clz32:VN,LN=Math.log,FN=Math.LN2;function VN(e){return e>>>=0,e===0?32:31-(LN(e)/FN|0)|0}var Dl=64,Ll=4194304;function na(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 Bc(e,t){var n=e.pendingLanes;if(n===0)return 0;var r=0,s=e.suspendedLanes,i=e.pingedLanes,o=n&268435455;if(o!==0){var a=o&~s;a!==0?r=na(a):(i&=o,i!==0&&(r=na(i)))}else o=n&~s,o!==0?r=na(o):i!==0&&(r=na(i));if(r===0)return 0;if(t!==0&&t!==r&&!(t&s)&&(s=r&-r,i=t&-t,s>=i||s===16&&(i&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-Gn(t),s=1<<n,r|=e[n],t&=~s;return r}function $N(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 BN(e,t){for(var n=e.suspendedLanes,r=e.pingedLanes,s=e.expirationTimes,i=e.pendingLanes;0<i;){var o=31-Gn(i),a=1<<o,c=s[o];c===-1?(!(a&n)||a&r)&&(s[o]=$N(a,t)):c<=t&&(e.expiredLanes|=a),i&=~a}}function Wf(e){return e=e.pendingLanes&-1073741825,e!==0?e:e&1073741824?1073741824:0}function vw(){var e=Dl;return Dl<<=1,!(Dl&4194240)&&(Dl=64),e}
vendor: 4,147 bytes, line 37
37function jd(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function hl(e,t,n){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-Gn(t),e[t]=n}function zN(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 s=31-Gn(n),i=1<<s;t[s]=0,r[s]=-1,e[s]=-1,n&=~i}}function _m(e,t){var n=e.entangledLanes|=t;for(e=e.entanglements;n;){var r=31-Gn(n),s=1<<r;s&t|e[r]&t&&(e[r]|=t),n&=~s}}var Ee=0;function xw(e){return e&=-e,1<e?4<e?e&268435455?16:536870912:4:1}var ww,Am,bw,jw,Sw,Kf=!1,Fl=[],cs=null,us=null,ds=null,Aa=new Map,Ra=new Map,Xr=[],UN="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 Vg(e,t){switch(e){case"focusin":case"focusout":cs=null;break;case"dragenter":case"dragleave":us=null;break;case"mouseover":case"mouseout":ds=null;break;case"pointerover":case"pointerout":Aa.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":Ra.delete(t.pointerId)}}function Bo(e,t,n,r,s,i){return e===null||e.nativeEvent!==i?(e={blockedOn:t,domEventName:n,eventSystemFlags:r,nativeEvent:i,targetContainers:[s]},t!==null&&(t=pl(t),t!==null&&Am(t)),e):(e.eventSystemFlags|=r,t=e.targetContainers,s!==null&&t.indexOf(s)===-1&&t.push(s),e)}function HN(e,t,n,r,s){switch(t){case"focusin":return cs=Bo(cs,e,t,n,r,s),!0;case"dragenter":return us=Bo(us,e,t,n,r,s),!0;case"mouseover":return ds=Bo(ds,e,t,n,r,s),!0;case"pointerover":var i=s.pointerId;return Aa.set(i,Bo(Aa.get(i)||null,e,t,n,r,s)),!0;case"gotpointercapture":return i=s.pointerId,Ra.set(i,Bo(Ra.get(i)||null,e,t,n,r,s)),!0}return!1}function Cw(e){var t=Ds(e.target);if(t!==null){var n=ci(t);if(n!==null){if(t=n.tag,t===13){if(t=fw(n),t!==null){e.blockedOn=t,Sw(e.priority,function(){bw(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 mc(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;0<t.length;){var n=Gf(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(n===null){n=e.nativeEvent;var r=new n.constructor(n.type,n);Bf=r,n.target.dispatchEvent(r),Bf=null}else return t=pl(n),t!==null&&Am(t),e.blockedOn=n,!1;t.shift()}return!0}function $g(e,t,n){mc(e)&&n.delete(t)}function WN(){Kf=!1,cs!==null&&mc(cs)&&(cs=null),us!==null&&mc(us)&&(us=null),ds!==null&&mc(ds)&&(ds=null),Aa.forEach($g),Ra.forEach($g)}function zo(e,t){e.blockedOn===t&&(e.blockedOn=null,Kf||(Kf=!0,on.unstable_scheduleCallback(on.unstable_NormalPriority,WN)))}function Ia(e){function t(s){return zo(s,e)}if(0<Fl.length){zo(Fl[0],e);for(var n=1;n<Fl.length;n++){var r=Fl[n];r.blockedOn===e&&(r.blockedOn=null)}}for(cs!==null&&zo(cs,e),us!==null&&zo(us,e),ds!==null&&zo(ds,e),Aa.forEach(t),Ra.forEach(t),n=0;n<Xr.length;n++)r=Xr[n],r.blockedOn===e&&(r.blockedOn=null);for(;0<Xr.length&&(n=Xr[0],n.blockedOn===null);)Cw(n),n.blockedOn===null&&Xr.shift()}var Gi=Vr.ReactCurrentBatchConfig,zc=!0;function KN(e,t,n,r){var s=Ee,i=Gi.transition;Gi.transition=null;try{Ee=1,Rm(e,t,n,r)}finally{Ee=s,Gi.transition=i}}function GN(e,t,n,r){var s=Ee,i=Gi.transition;Gi.transition=null;try{Ee=4,Rm(e,t,n,r)}finally{Ee=s,Gi.transition=i}}function Rm(e,t,n,r){if(zc){var s=Gf(e,t,n,r);if(s===null)Rd(e,t,r,Uc,n),Vg(e,r);else if(HN(s,e,t,n,r))r.stopPropagation();else if(Vg(e,r),t&4&&-1<UN.indexOf(e)){for(;s!==null;){var i=pl(s);if(i!==null&&ww(i),i=Gf(e,t,n,r),i===null&&Rd(e,t,r,Uc,n),i===s)break;s=i}s!==null&&r.stopPropagation()}else Rd(e,t,r,null,n)}}var Uc=null;function Gf(e,t,n,r){if(Uc=null,e=Em(r),e=Ds(e),e!==null)if(t=ci(e),t===null)e=null;else if(n=t.tag,n===13){if(e=fw(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 Uc=e,null}
vendor: 10,401 bytes, line 37
37function Nw(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(MN()){case Pm:return 1;case gw:return 4;case $c:case ON:return 16;case yw:return 536870912;default:return 16}default:return 16}}var is=null,Im=null,pc=null;function kw(){if(pc)return pc;var e,t=Im,n=t.length,r,s="value"in is?is.value:is.textContent,i=s.length;for(e=0;e<n&&t[e]===s[e];e++);var o=n-e;for(r=1;r<=o&&t[n-r]===s[i-r];r++);return pc=s.slice(e,1<r?1-r:void 0)}function gc(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 Vl(){return!0}function Bg(){return!1}function cn(e){function t(n,r,s,i,o){this._reactName=n,this._targetInst=s,this.type=r,this.nativeEvent=i,this.target=o,this.currentTarget=null;for(var a in e)e.hasOwnProperty(a)&&(n=e[a],this[a]=n?n(i):i[a]);return this.isDefaultPrevented=(i.defaultPrevented!=null?i.defaultPrevented:i.returnValue===!1)?Vl:Bg,this.isPropagationStopped=Bg,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=Vl)},stopPropagation:function(){var n=this.nativeEvent;n&&(n.stopPropagation?n.stopPropagation():typeof n.cancelBubble!="unknown"&&(n.cancelBubble=!0),this.isPropagationStopped=Vl)},persist:function(){},isPersistent:Vl}),t}var To={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},Mm=cn(To),ml=Ge({},To,{view:0,detail:0}),YN=cn(ml),Sd,Cd,Uo,Mu=Ge({},ml,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Om,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!==Uo&&(Uo&&e.type==="mousemove"?(Sd=e.screenX-Uo.screenX,Cd=e.screenY-Uo.screenY):Cd=Sd=0,Uo=e),Sd)},movementY:function(e){return"movementY"in e?e.movementY:Cd}}),zg=cn(Mu),ZN=Ge({},Mu,{dataTransfer:0}),qN=cn(ZN),QN=Ge({},ml,{relatedTarget:0}),Nd=cn(QN),XN=Ge({},To,{animationName:0,elapsedTime:0,pseudoElement:0}),JN=cn(XN),ek=Ge({},To,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),tk=cn(ek),nk=Ge({},To,{data:0}),Ug=cn(nk),rk={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},sk={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"},ik={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function ok(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):(e=ik[e])?!!t[e]:!1}function Om(){return ok}var ak=Ge({},ml,{key:function(e){if(e.key){var t=rk[e.key]||e.key;if(t!=="Unidentified")return t}return e.type==="keypress"?(e=gc(e),e===13?"Enter":String.fromCharCode(e)):e.type==="keydown"||e.type==="keyup"?sk[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Om,charCode:function(e){return e.type==="keypress"?gc(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?gc(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),lk=cn(ak),ck=Ge({},Mu,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),Hg=cn(ck),uk=Ge({},ml,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Om}),dk=cn(uk),fk=Ge({},To,{propertyName:0,elapsedTime:0,pseudoElement:0}),hk=cn(fk),mk=Ge({},Mu,{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}),pk=cn(mk),gk=[9,13,27,32],Dm=Pr&&"CompositionEvent"in window,ha=null;Pr&&"documentMode"in document&&(ha=document.documentMode);var yk=Pr&&"TextEvent"in window&&!ha,Tw=Pr&&(!Dm||ha&&8<ha&&11>=ha),Wg=" ",Kg=!1;function Ew(e,t){switch(e){case"keyup":return gk.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Pw(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var Pi=!1;function vk(e,t){switch(e){case"compositionend":return Pw(t);case"keypress":return t.which!==32?null:(Kg=!0,Wg);case"textInput":return e=t.data,e===Wg&&Kg?null:e;default:return null}}function xk(e,t){if(Pi)return e==="compositionend"||!Dm&&Ew(e,t)?(e=kw(),pc=Im=is=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 Tw&&t.locale!=="ko"?null:t.data;default:return null}}var wk={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 Gg(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t==="input"?!!wk[e.type]:t==="textarea"}function _w(e,t,n,r){aw(r),t=Hc(t,"onChange"),0<t.length&&(n=new Mm("onChange","change",null,n,r),e.push({event:n,listeners:t}))}var ma=null,Ma=null;function bk(e){Bw(e,0)}function Ou(e){var t=Ri(e);if(ew(t))return e}function jk(e,t){if(e==="change")return t}var Aw=!1;if(Pr){var kd;if(Pr){var Td="oninput"in document;if(!Td){var Yg=document.createElement("div");Yg.setAttribute("oninput","return;"),Td=typeof Yg.oninput=="function"}kd=Td}else kd=!1;Aw=kd&&(!document.documentMode||9<document.documentMode)}function Zg(){ma&&(ma.detachEvent("onpropertychange",Rw),Ma=ma=null)}function Rw(e){if(e.propertyName==="value"&&Ou(Ma)){var t=[];_w(t,Ma,e,Em(e)),dw(bk,t)}}function Sk(e,t,n){e==="focusin"?(Zg(),ma=t,Ma=n,ma.attachEvent("onpropertychange",Rw)):e==="focusout"&&Zg()}function Ck(e){if(e==="selectionchange"||e==="keyup"||e==="keydown")return Ou(Ma)}function Nk(e,t){if(e==="click")return Ou(t)}function kk(e,t){if(e==="input"||e==="change")return Ou(t)}function Tk(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var qn=typeof Object.is=="function"?Object.is:Tk;function Oa(e,t){if(qn(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 s=n[r];if(!Pf.call(t,s)||!qn(e[s],t[s]))return!1}return!0}function qg(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function Qg(e,t){var n=qg(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=qg(n)}}function Iw(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?Iw(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function Mw(){for(var e=window,t=Lc();t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href=="string"}catch{n=!1}if(n)e=t.contentWindow;else break;t=Lc(e.document)}return t}function Lm(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 Ek(e){var t=Mw(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&Iw(n.ownerDocument.documentElement,n)){if(r!==null&&Lm(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 s=n.textContent.length,i=Math.min(r.start,s);r=r.end===void 0?i:Math.min(r.end,s),!e.extend&&i>r&&(s=r,r=i,i=s),s=Qg(n,i);var o=Qg(n,r);s&&o&&(e.rangeCount!==1||e.anchorNode!==s.node||e.anchorOffset!==s.offset||e.focusNode!==o.node||e.focusOffset!==o.offset)&&(t=t.createRange(),t.setStart(s.node,s.offset),e.removeAllRanges(),i>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 Pk=Pr&&"documentMode"in document&&11>=document.documentMode,_i=null,Yf=null,pa=null,Zf=!1;function Xg(e,t,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;Zf||_i==null||_i!==Lc(r)||(r=_i,"selectionStart"in r&&Lm(r)?r={start:r.selectionStart,end:r.selectionEnd}:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection(),r={anchorNode:r.anchorNode,anchorOffset:r.anchorOffset,focu
vendor: 4,352 bytes, line 37
37sNode:r.focusNode,focusOffset:r.focusOffset}),pa&&Oa(pa,r)||(pa=r,r=Hc(Yf,"onSelect"),0<r.length&&(t=new Mm("onSelect","select",null,t,n),e.push({event:t,listeners:r}),t.target=_i)))}function $l(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var Ai={animationend:$l("Animation","AnimationEnd"),animationiteration:$l("Animation","AnimationIteration"),animationstart:$l("Animation","AnimationStart"),transitionend:$l("Transition","TransitionEnd")},Ed={},Ow={};Pr&&(Ow=document.createElement("div").style,"AnimationEvent"in window||(delete Ai.animationend.animation,delete Ai.animationiteration.animation,delete Ai.animationstart.animation),"TransitionEvent"in window||delete Ai.transitionend.transition);function Du(e){if(Ed[e])return Ed[e];if(!Ai[e])return e;var t=Ai[e],n;for(n in t)if(t.hasOwnProperty(n)&&n in Ow)return Ed[e]=t[n];return e}var Dw=Du("animationend"),Lw=Du("animationiteration"),Fw=Du("animationstart"),Vw=Du("transitionend"),$w=new Map,Jg="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 Ts(e,t){$w.set(e,t),li(t,[e])}for(var Pd=0;Pd<Jg.length;Pd++){var _d=Jg[Pd],_k=_d.toLowerCase(),Ak=_d[0].toUpperCase()+_d.slice(1);Ts(_k,"on"+Ak)}Ts(Dw,"onAnimationEnd");Ts(Lw,"onAnimationIteration");Ts(Fw,"onAnimationStart");Ts("dblclick","onDoubleClick");Ts("focusin","onFocus");Ts("focusout","onBlur");Ts(Vw,"onTransitionEnd");uo("onMouseEnter",["mouseout","mouseover"]);uo("onMouseLeave",["mouseout","mouseover"]);uo("onPointerEnter",["pointerout","pointerover"]);uo("onPointerLeave",["pointerout","pointerover"]);li("onChange","change click focusin focusout input keydown keyup selectionchange".split(" "));li("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" "));li("onBeforeInput",["compositionend","keypress","textInput","paste"]);li("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" "));li("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" "));li("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var ra="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(" "),Rk=new Set("cancel close invalid load scroll toggle".split(" ").concat(ra));function ey(e,t,n){var r=e.type||"unknown-event";e.currentTarget=n,_N(r,t,void 0,e),e.currentTarget=null}function Bw(e,t){t=(t&4)!==0;for(var n=0;n<e.length;n++){var r=e[n],s=r.event;r=r.listeners;e:{var i=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!==i&&s.isPropagationStopped())break e;ey(s,a,u),i=c}else for(o=0;o<r.length;o++){if(a=r[o],c=a.instance,u=a.currentTarget,a=a.listener,c!==i&&s.isPropagationStopped())break e;ey(s,a,u),i=c}}}if(Vc)throw e=Hf,Vc=!1,Hf=null,e}function Me(e,t){var n=t[eh];n===void 0&&(n=t[eh]=new Set);var r=e+"__bubble";n.has(r)||(zw(t,e,2,!1),n.add(r))}function Ad(e,t,n){var r=0;t&&(r|=4),zw(n,e,r,t)}var Bl="_reactListening"+Math.random().toString(36).slice(2);function Da(e){if(!e[Bl]){e[Bl]=!0,Z0.forEach(function(n){n!=="selectionchange"&&(Rk.has(n)||Ad(n,!1,e),Ad(n,!0,e))});var t=e.nodeType===9?e:e.ownerDocument;t===null||t[Bl]||(t[Bl]=!0,Ad("selectionchange",!1,t))}}function zw(e,t,n,r){switch(Nw(t)){case 1:var s=KN;break;case 4:s=GN;break;default:s=Rm}n=s.bind(null,t,n,e),s=void 0,!Uf||t!=="touchstart"&&t!=="touchmove"&&t!=="wheel"||(s=!0),r?s!==void 0?e.addEventListener(t,n,{capture:!0,passive:s}):e.addEventListener(t,n,!0):s!==void 0?e.addEventListener(t,n,{passive:s}):e.addEventListener(t,n,!1)}
vendor: 2,676 bytes, line 37
37function Rd(e,t,n,r,s){var i=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===s||a.nodeType===8&&a.parentNode===s)break;if(o===4)for(o=r.return;o!==null;){var c=o.tag;if((c===3||c===4)&&(c=o.stateNode.containerInfo,c===s||c.nodeType===8&&c.parentNode===s))return;o=o.return}for(;a!==null;){if(o=Ds(a),o===null)return;if(c=o.tag,c===5||c===6){r=i=o;continue e}a=a.parentNode}}r=r.return}dw(function(){var u=i,d=Em(n),f=[];e:{var h=$w.get(e);if(h!==void 0){var m=Mm,w=e;switch(e){case"keypress":if(gc(n)===0)break e;case"keydown":case"keyup":m=lk;break;case"focusin":w="focus",m=Nd;break;case"focusout":w="blur",m=Nd;break;case"beforeblur":case"afterblur":m=Nd;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":m=zg;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":m=qN;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":m=dk;break;case Dw:case Lw:case Fw:m=JN;break;case Vw:m=hk;break;case"scroll":m=YN;break;case"wheel":m=pk;break;case"copy":case"cut":case"paste":m=tk;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":m=Hg}var g=(t&4)!==0,b=!g&&e==="scroll",y=g?h!==null?h+"Capture":null:h;g=[];for(var p=u,v;p!==null;){v=p;var j=v.stateNode;if(v.tag===5&&j!==null&&(v=j,y!==null&&(j=_a(p,y),j!=null&&g.push(La(p,j,v)))),b)break;p=p.return}0<g.length&&(h=new m(h,w,null,n,d),f.push({event:h,listeners:g}))}}if(!(t&7)){e:{if(h=e==="mouseover"||e==="pointerover",m=e==="mouseout"||e==="pointerout",h&&n!==Bf&&(w=n.relatedTarget||n.fromElement)&&(Ds(w)||w[_r]))break e;if((m||h)&&(h=d.window===d?d:(h=d.ownerDocument)?h.defaultView||h.parentWindow:window,m?(w=n.relatedTarget||n.toElement,m=u,w=w?Ds(w):null,w!==null&&(b=ci(w),w!==b||w.tag!==5&&w.tag!==6)&&(w=null)):(m=null,w=u),m!==w)){if(g=zg,j="onMouseLeave",y="onMouseEnter",p="mouse",(e==="pointerout"||e==="pointerover")&&(g=Hg,j="onPointerLeave",y="onPointerEnter",p="pointer"),b=m==null?h:Ri(m),v=w==null?h:Ri(w),h=new g(j,p+"leave",m,n,d),h.target=b,h.relatedTarget=v,j=null,Ds(d)===u&&(g=new g(y,p+"enter",w,n,d),g.target=v,g.relatedTarget=b,j=g),b=j,m&&w)t:{for(g=m,y=w,p=0,v=g;v;v=gi(v))p++;for(v=0,j=y;j;j=gi(j))v++;for(;0<p-v;)g=gi(g),p--;for(;0<v-p;)y=gi(y),v--;for(;p--;){if(g===y||y!==null&&g===y.alternate)break t;g=gi(g),y=gi(y)}g=null}else g=null;m!==null&&ty(f,h,m,g,!1),w!==null&&b!==null&&ty(f,b,w,g,!0)}}
vendor: 5,805 bytes, lines 37-38
37e:{if(h=u?Ri(u):window,m=h.nodeName&&h.nodeName.toLowerCase(),m==="select"||m==="input"&&h.type==="file")var S=jk;else if(Gg(h))if(Aw)S=kk;else{S=Ck;var N=Sk}else(m=h.nodeName)&&m.toLowerCase()==="input"&&(h.type==="checkbox"||h.type==="radio")&&(S=Nk);if(S&&(S=S(e,u))){_w(f,S,n,d);break e}N&&N(e,h,u),e==="focusout"&&(N=h._wrapperState)&&N.controlled&&h.type==="number"&&Df(h,"number",h.value)}switch(N=u?Ri(u):window,e){case"focusin":(Gg(N)||N.contentEditable==="true")&&(_i=N,Yf=u,pa=null);break;case"focusout":pa=Yf=_i=null;break;case"mousedown":Zf=!0;break;case"contextmenu":case"mouseup":case"dragend":Zf=!1,Xg(f,n,d);break;case"selectionchange":if(Pk)break;case"keydown":case"keyup":Xg(f,n,d)}var k;if(Dm)e:{switch(e){case"compositionstart":var T="onCompositionStart";break e;case"compositionend":T="onCompositionEnd";break e;case"compositionupdate":T="onCompositionUpdate";break e}T=void 0}else Pi?Ew(e,n)&&(T="onCompositionEnd"):e==="keydown"&&n.keyCode===229&&(T="onCompositionStart");T&&(Tw&&n.locale!=="ko"&&(Pi||T!=="onCompositionStart"?T==="onCompositionEnd"&&Pi&&(k=kw()):(is=d,Im="value"in is?is.value:is.textContent,Pi=!0)),N=Hc(u,T),0<N.length&&(T=new Ug(T,e,null,n,d),f.push({event:T,listeners:N}),k?T.data=k:(k=Pw(n),k!==null&&(T.data=k)))),(k=yk?vk(e,n):xk(e,n))&&(u=Hc(u,"onBeforeInput"),0<u.length&&(d=new Ug("onBeforeInput","beforeinput",null,n,d),f.push({event:d,listeners:u}),d.data=k))}Bw(f,t)})}function La(e,t,n){return{instance:e,listener:t,currentTarget:n}}function Hc(e,t){for(var n=t+"Capture",r=[];e!==null;){var s=e,i=s.stateNode;s.tag===5&&i!==null&&(s=i,i=_a(e,n),i!=null&&r.unshift(La(e,i,s)),i=_a(e,t),i!=null&&r.push(La(e,i,s))),e=e.return}return r}function gi(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5);return e||null}function ty(e,t,n,r,s){for(var i=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,s?(c=_a(n,i),c!=null&&o.unshift(La(n,c,a))):s||(c=_a(n,i),c!=null&&o.push(La(n,c,a)))),n=n.return}o.length!==0&&e.push({event:t,listeners:o})}var Ik=/\r\n?/g,Mk=/\u0000|\uFFFD/g;function ny(e){return(typeof e=="string"?e:""+e).replace(Ik,`
38`).replace(Mk,"")}function zl(e,t,n){if(t=ny(t),ny(e)!==t&&n)throw Error(F(425))}function Wc(){}var qf=null,Qf=null;function Xf(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 Jf=typeof setTimeout=="function"?setTimeout:void 0,Ok=typeof clearTimeout=="function"?clearTimeout:void 0,ry=typeof Promise=="function"?Promise:void 0,Dk=typeof queueMicrotask=="function"?queueMicrotask:typeof ry<"u"?function(e){return ry.resolve(null).then(e).catch(Lk)}:Jf;function Lk(e){setTimeout(function(){throw e})}function Id(e,t){var n=t,r=0;do{var s=n.nextSibling;if(e.removeChild(n),s&&s.nodeType===8)if(n=s.data,n==="/$"){if(r===0){e.removeChild(s),Ia(t);return}r--}else n!=="$"&&n!=="$?"&&n!=="$!"||r++;n=s}while(n);Ia(t)}function fs(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 sy(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 Eo=Math.random().toString(36).slice(2),ir="__reactFiber$"+Eo,Fa="__reactProps$"+Eo,_r="__reactContainer$"+Eo,eh="__reactEvents$"+Eo,Fk="__reactListeners$"+Eo,Vk="__reactHandles$"+Eo;function Ds(e){var t=e[ir];if(t)return t;for(var n=e.parentNode;n;){if(t=n[_r]||n[ir]){if(n=t.alternate,t.child!==null||n!==null&&n.child!==null)for(e=sy(e);e!==null;){if(n=e[ir])return n;e=sy(e)}return t}e=n,n=e.parentNode}return null}function pl(e){return e=e[ir]||e[_r],!e||e.tag!==5&&e.tag!==6&&e.tag!==13&&e.tag!==3?null:e}function Ri(e){if(e.tag===5||e.tag===6)return e.stateNode;throw Error(F(33))}function Lu(e){return e[Fa]||null}var th=[],Ii=-1;function Es(e){return{current:e}}function De(e){0>Ii||(e.current=th[Ii],th[Ii]=null,Ii--)}function Ae(e,t){Ii++,th[Ii]=e.current,e.current=t}var ws={},_t=Es(ws),qt=Es(!1),Js=ws;function fo(e,t){var n=e.type.contextTypes;if(!n)return ws;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var s={},i;for(i in n)s[i]=t[i];return r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=s),s}function Qt(e){return e=e.childContextTypes,e!=null}function Kc(){De(qt),De(_t)}function iy(e,t,n){if(_t.current!==ws)throw Error(F(168));Ae(_t,t),Ae(qt,n)}function Uw(e,t,n){var r=e.stateNode;if(t=t.childContextTypes,typeof r.getChildContext!="function")return n;r=r.getChildContext();for(var s in r)if(!(s in t))throw Error(F(108,SN(e)||"Unknown",s));return Ge({},n,r)}function Gc(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||ws,Js=_t.current,Ae(_t,e),Ae(qt,qt.current),!0}function oy(e,t,n){var r=e.stateNode;if(!r)throw Error(F(169));n?(e=Uw(e,t,Js),r.__reactInternalMemoizedMergedChildContext=e,De(qt),De(_t),Ae(_t,e)):De(qt),Ae(qt,n)}var Sr=null,Fu=!1,Md=!1;function Hw(e){Sr===null?Sr=[e]:Sr.push(e)}function $k(e){Fu=!0,Hw(e)}function Ps(){if(!Md&&Sr!==null){Md=!0;var e=0,t=Ee;try{var n=Sr;for(Ee=1;e<n.length;e++){var r=n[e];do r=r(!0);while(r!==null)}Sr=null,Fu=!1}catch(s){throw Sr!==null&&(Sr=Sr.slice(e+1)),pw(Pm,Ps),s}finally{Ee=t,Md=!1}}return null}var Mi=[],Oi=0,Yc=null,Zc=0,xn=[],wn=0,ei=null,kr=1,Tr="";function Is(e,t){Mi[Oi++]=Zc,Mi[Oi++]=Yc,Yc=e,Zc=t}function Ww(e,t,n){xn[wn++]=kr,xn[wn++]=Tr,xn[wn++]=ei,ei=e;var r=kr;e=Tr;var s=32-Gn(r)-1;r&=~(1<<s),n+=1;var i=32-Gn(t)+s;
vendor: 16,024 bytes, line 38
38if(30<i){var o=s-s%5;i=(r&(1<<o)-1).toString(32),r>>=o,s-=o,kr=1<<32-Gn(t)+s|n<<s|r,Tr=i+e}else kr=1<<i|n<<s|r,Tr=e}function Fm(e){e.return!==null&&(Is(e,1),Ww(e,1,0))}function Vm(e){for(;e===Yc;)Yc=Mi[--Oi],Mi[Oi]=null,Zc=Mi[--Oi],Mi[Oi]=null;for(;e===ei;)ei=xn[--wn],xn[wn]=null,Tr=xn[--wn],xn[wn]=null,kr=xn[--wn],xn[wn]=null}var rn=null,nn=null,Ve=!1,Un=null;function Kw(e,t){var n=bn(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 ay(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,rn=e,nn=fs(t.firstChild),!0):!1;case 6:return t=e.pendingProps===""||t.nodeType!==3?null:t,t!==null?(e.stateNode=t,rn=e,nn=null,!0):!1;case 13:return t=t.nodeType!==8?null:t,t!==null?(n=ei!==null?{id:kr,overflow:Tr}:null,e.memoizedState={dehydrated:t,treeContext:n,retryLane:1073741824},n=bn(18,null,null,0),n.stateNode=t,n.return=e,e.child=n,rn=e,nn=null,!0):!1;default:return!1}}function nh(e){return(e.mode&1)!==0&&(e.flags&128)===0}function rh(e){if(Ve){var t=nn;if(t){var n=t;if(!ay(e,t)){if(nh(e))throw Error(F(418));t=fs(n.nextSibling);var r=rn;t&&ay(e,t)?Kw(r,n):(e.flags=e.flags&-4097|2,Ve=!1,rn=e)}}else{if(nh(e))throw Error(F(418));e.flags=e.flags&-4097|2,Ve=!1,rn=e}}}function ly(e){for(e=e.return;e!==null&&e.tag!==5&&e.tag!==3&&e.tag!==13;)e=e.return;rn=e}function Ul(e){if(e!==rn)return!1;if(!Ve)return ly(e),Ve=!0,!1;var t;if((t=e.tag!==3)&&!(t=e.tag!==5)&&(t=e.type,t=t!=="head"&&t!=="body"&&!Xf(e.type,e.memoizedProps)),t&&(t=nn)){if(nh(e))throw Gw(),Error(F(418));for(;t;)Kw(e,t),t=fs(t.nextSibling)}if(ly(e),e.tag===13){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(F(317));e:{for(e=e.nextSibling,t=0;e;){if(e.nodeType===8){var n=e.data;if(n==="/$"){if(t===0){nn=fs(e.nextSibling);break e}t--}else n!=="$"&&n!=="$!"&&n!=="$?"||t++}e=e.nextSibling}nn=null}}else nn=rn?fs(e.stateNode.nextSibling):null;return!0}function Gw(){for(var e=nn;e;)e=fs(e.nextSibling)}function ho(){nn=rn=null,Ve=!1}function $m(e){Un===null?Un=[e]:Un.push(e)}var Bk=Vr.ReactCurrentBatchConfig;function Ho(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(F(309));var r=n.stateNode}if(!r)throw Error(F(147,e));var s=r,i=""+e;return t!==null&&t.ref!==null&&typeof t.ref=="function"&&t.ref._stringRef===i?t.ref:(t=function(o){var a=s.refs;o===null?delete a[i]:a[i]=o},t._stringRef=i,t)}if(typeof e!="string")throw Error(F(284));if(!n._owner)throw Error(F(290,e))}return e}function Hl(e,t){throw e=Object.prototype.toString.call(t),Error(F(31,e==="[object Object]"?"object with keys {"+Object.keys(t).join(", ")+"}":e))}function cy(e){var t=e._init;return t(e._payload)}function Yw(e){function t(y,p){if(e){var v=y.deletions;v===null?(y.deletions=[p],y.flags|=16):v.push(p)}}function n(y,p){if(!e)return null;for(;p!==null;)t(y,p),p=p.sibling;return null}function r(y,p){for(y=new Map;p!==null;)p.key!==null?y.set(p.key,p):y.set(p.index,p),p=p.sibling;return y}function s(y,p){return y=gs(y,p),y.index=0,y.sibling=null,y}function i(y,p,v){return y.index=v,e?(v=y.alternate,v!==null?(v=v.index,v<p?(y.flags|=2,p):v):(y.flags|=2,p)):(y.flags|=1048576,p)}function o(y){return e&&y.alternate===null&&(y.flags|=2),y}function a(y,p,v,j){return p===null||p.tag!==6?(p=Bd(v,y.mode,j),p.return=y,p):(p=s(p,v),p.return=y,p)}function c(y,p,v,j){var S=v.type;return S===Ei?d(y,p,v.props.children,j,v.key):p!==null&&(p.elementType===S||typeof S=="object"&&S!==null&&S.$$typeof===Zr&&cy(S)===p.type)?(j=s(p,v.props),j.ref=Ho(y,p,v),j.return=y,j):(j=Sc(v.type,v.key,v.props,null,y.mode,j),j.ref=Ho(y,p,v),j.return=y,j)}function u(y,p,v,j){return p===null||p.tag!==4||p.stateNode.containerInfo!==v.containerInfo||p.stateNode.implementation!==v.implementation?(p=zd(v,y.mode,j),p.return=y,p):(p=s(p,v.children||[]),p.return=y,p)}function d(y,p,v,j,S){return p===null||p.tag!==7?(p=qs(v,y.mode,j,S),p.return=y,p):(p=s(p,v),p.return=y,p)}function f(y,p,v){if(typeof p=="string"&&p!==""||typeof p=="number")return p=Bd(""+p,y.mode,v),p.return=y,p;if(typeof p=="object"&&p!==null){switch(p.$$typeof){case Il:return v=Sc(p.type,p.key,p.props,null,y.mode,v),v.ref=Ho(y,null,p),v.return=y,v;case Ti:return p=zd(p,y.mode,v),p.return=y,p;case Zr:var j=p._init;return f(y,j(p._payload),v)}if(ta(p)||Vo(p))return p=qs(p,y.mode,v,null),p.return=y,p;Hl(y,p)}return null}function h(y,p,v,j){var S=p!==null?p.key:null;if(typeof v=="string"&&v!==""||typeof v=="number")return S!==null?null:a(y,p,""+v,j);if(typeof v=="object"&&v!==null){switch(v.$$typeof){case Il:return v.key===S?c(y,p,v,j):null;case Ti:return v.key===S?u(y,p,v,j):null;case Zr:return S=v._init,h(y,p,S(v._payload),j)}if(ta(v)||Vo(v))return S!==null?null:d(y,p,v,j,null);Hl(y,v)}return null}function m(y,p,v,j,S){if(typeof j=="string"&&j!==""||typeof j=="number")return y=y.get(v)||null,a(p,y,""+j,S);if(typeof j=="object"&&j!==null){switch(j.$$typeof){case Il:return y=y.get(j.key===null?v:j.key)||null,c(p,y,j,S);case Ti:return y=y.get(j.key===null?v:j.key)||null,u(p,y,j,S);case Zr:var N=j._init;return m(y,p,v,N(j._payload),S)}if(ta(j)||Vo(j))return y=y.get(v)||null,d(p,y,j,S,null);Hl(p,j)}return null}function w(y,p,v,j){for(var S=null,N=null,k=p,T=p=0,_=null;k!==null&&T<v.length;T++){k.index>T?(_=k,k=null):_=k.sibling;var M=h(y,k,v[T],j);if(M===null){k===null&&(k=_);break}e&&k&&M.alternate===null&&t(y,k),p=i(M,p,T),N===null?S=M:N.sibling=M,N=M,k=_}if(T===v.length)return n(y,k),Ve&&Is(y,T),S;if(k===null){for(;T<v.length;T++)k=f(y,v[T],j),k!==null&&(p=i(k,p,T),N===null?S=k:N.sibling=k,N=k);return Ve&&Is(y,T),S}for(k=r(y,k);T<v.length;T++)_=m(k,y,T,v[T],j),_!==null&&(e&&_.alternate!==null&&k.delete(_.key===null?T:_.key),p=i(_,p,T),N===null?S=_:N.sibling=_,N=_);return e&&k.forEach(function(V){return t(y,V)}),Ve&&Is(y,T),S}function g(y,p,v,j){var S=Vo(v);if(typeof S!="function")throw Error(F(150));if(v=S.call(v),v==null)throw Error(F(151));for(var N=S=null,k=p,T=p=0,_=null,M=v.next();k!==null&&!M.done;T++,M=v.next()){k.index>T?(_=k,k=null):_=k.sibling;var V=h(y,k,M.value,j);if(V===null){k===null&&(k=_);break}e&&k&&V.alternate===null&&t(y,k),p=i(V,p,T),N===null?S=V:N.sibling=V,N=V,k=_}if(M.done)return n(y,k),Ve&&Is(y,T),S;if(k===null){for(;!M.done;T++,M=v.next())M=f(y,M.value,j),M!==null&&(p=i(M,p,T),N===null?S=M:N.sibling=M,N=M);return Ve&&Is(y,T),S}for(k=r(y,k);!M.done;T++,M=v.next())M=m(k,y,T,M.value,j),M!==null&&(e&&M.alternate!==null&&k.delete(M.key===null?T:M.key),p=i(M,p,T),N===null?S=M:N.sibling=M,N=M);return e&&k.forEach(function(D){return t(y,D)}),Ve&&Is(y,T),S}function b(y,p,v,j){if(typeof v=="object"&&v!==null&&v.type===Ei&&v.key===null&&(v=v.props.children),typeof v=="object"&&v!==null){switch(v.$$typeof){case Il:e:{for(var S=v.key,N=p;N!==null;){if(N.key===S){if(S=v.type,S===Ei){if(N.tag===7){n(y,N.sibling),p=s(N,v.props.children),p.return=y,y=p;break e}}else if(N.elementType===S||typeof S=="object"&&S!==null&&S.$$typeof===Zr&&cy(S)===N.type){n(y,N.sibling),p=s(N,v.props),p.ref=Ho(y,N,v),p.return=y,y=p;break e}n(y,N);break}else t(y,N);N=N.sibling}v.type===Ei?(p=qs(v.props.children,y.mode,j,v.key),p.return=y,y=p):(j=Sc(v.type,v.key,v.props,null,y.mode,j),j.ref=Ho(y,p,v),j.return=y,y=j)}return o(y);case Ti:e:{for(N=v.key;p!==null;){if(p.key===N)if(p.tag===4&&p.stateNode.containerInfo===v.containerInfo&&p.stateNode.implementation===v.implementation){n(y,p.sibling),p=s(p,v.children||[]),p.return=y,y=p;break e}else{n(y,p);break}else t(y,p);p=p.sibling}p=zd(v,y.mode,j),p.return=y,y=p}return o(y);case Zr:return N=v._init,b(y,p,N(v._payload),j)}if(ta(v))return w(y,p,v,j);if(Vo(v))return g(y,p,v,j);Hl(y,v)}return typeof v=="string"&&v!==""||typeof v=="number"?(v=""+v,p!==null&&p.tag===6?(n(y,p.sibling),p=s(p,v),p.return=y,y=p):(n(y,p),p=Bd(v,y.mode,j),p.return=y,y=p),o(y)):n(y,p)}return b}var mo=Yw(!0),Zw=Yw(!1),qc=Es(null),Qc=null,Di=null,Bm=null;function zm(){Bm=Di=Qc=null}function Um(e){var t=qc.current;De(qc),e._currentValue=t}function sh(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 Yi(e,t){Qc=e,Bm=Di=null,e=e.dependencies,e!==null&&e.firstContext!==null&&(e.lanes&t&&(Yt=!0),e.firstContext=null)}function Nn(e){var t=e._currentValue;if(Bm!==e)if(e={context:e,memoizedValue:t,next:null},Di===null){if(Qc===null)throw Error(F(308));Di=e,Qc.dependencies={lanes:0,firstContext:e}}else Di=Di.next=e;return t}var Ls=null;function Hm(e){Ls===null?Ls=[e]:Ls.push(e)}function qw(e,t,n,r){var s=t.interleaved;return s===null?(n.next=n,Hm(t)):(n.next=s.next,s.next=n),t.interleaved=n,Ar(e,r)}function Ar(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 qr=!1;function Wm(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function Qw(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 Er(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function hs(e,t,n){var r=e.updateQueue;if(r===null)return null;if(r=r.shared,xe&2){var s=r.pending;return s===null?t.next=t:(t.next=s.next,s.next=t),r.pending=t,Ar(e,n)}return s=r.interleaved,s===null?(t.next=t,Hm(r)):(t.next=s.next,s.next=t),r.interleaved=t,Ar(e,n)}function yc(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,_m(e,n)}}function uy(e,t){var n=e.updateQueue,r=e.alternate;if(r!==null&&(r=r.updateQueue,n===r)){var s=null,i=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};i===null?s=i=o:i=i.next=o,n=n.next}while(n!==null);i===null?s=i=t:i=i.next=t}else s=i=t;n={baseState:r.baseState,firstBaseUpdate:s,lastBaseUpdate:i,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 Xc(e,t,n,r){var s=e.updateQueue;qr=!1;var i=s.firstBaseUpdate,o=s.lastBaseUpdate,a=s.shared.pending;if(a!==null){s.shared.pending=null;var c=a,u=c.next;c.next=null,o===null?i=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(i!==null){var f=s.baseState;o=0,d=u=c=null,a=i;do{var h=a.lane,m=a.eventTime;if((r&h)===h){d!==null&&(d=d.next={eventTime:m,lane:0,tag:a.tag,payload:a.payload,callback:a.callback,next:null});e:{var w=e,g=a;switch(h=t,m=n,g.tag){case 1:if(w=g.payload,typeof w=="function"){f=w.call(m,f,h);break e}f=w;break e;case 3:w.flags=w.flags&-65537|128;case 0:if(w=g.payload,h=typeof w=="function"?w.call(m,f,h):w,h==null)break e;f=Ge({},f,h);break e;case 2:qr=!0}}a.callback!==null&&a.lane!==0&&(e.flags|=64,h=s.effects,h===null?s.effects=[a]:h.push(a))}else m={eventTime:m,lane:h,tag:a.tag,payload:a.payload,callback:a.callback,next:null},d===null?(u=d=m,c=f):d=d.next=m,o|=h;if(a=a.next,a===null){if(a=s.shared.pending,a===null)break;h=a,a=h.next,h.next=null,s.lastBaseUpdate=h,s.shared.pending=null}}while(!0);if(d===null&&(c=f),s.baseState=c,s.firstBaseUpdate=u,s.lastBaseUpdate=d,t=s.shared.interleaved,t!==null){s=t;do o|=s.lane,s=s.next;while(s!==t)}else i===null&&(s.shared.lanes=0);ni|=o,e.lanes=o,e.memoizedState=f}}function dy(e,t,n){if(e=t.effects,t.effects=null,e!==null)for(t=0;t<e.length;t++){var r=e[t],s=r.callback;if(s!==null){if(r.callback=null,r=n,typeof s!="function")throw Error(F(191,s));s.call(r)}}}var gl={},ur=Es(gl),Va=Es(gl),$a=Es(gl);function Fs(e){if(e===gl)throw Error(F(174));return e}function Km(e,t){switch(Ae($a,t),Ae(Va,e),Ae(ur,gl),e=t.nodeType,e){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:Ff(null,"");break;default:e=e===8?t.parentNode:t,t=e.namespaceURI||null,e=e.tagName,t=Ff(t,e)}De(ur),Ae(ur,t)}function po(){De(ur),De(Va),De($a)}function Xw(e){Fs($a.current);var t=Fs(ur.current),n=Ff(t,e.type);t!==n&&(Ae(Va,e),Ae(ur,n))}function Gm(e){Va.current===e&&(De(ur),De(Va))}var Ue=Es(0);function Jc(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 Od=[];function Ym(){for(var e=0;e<Od.length;e++)Od[e]._workInProgressVersionPrimary=null;Od.length=0}var vc=Vr.ReactCurrentDispatcher,Dd=Vr.ReactCurrentBatchConfig,ti=0,Ke=null,dt=null,gt=null,eu=!1,ga=!1,Ba=0,zk=0;function Nt(){throw Error(F(321))}function Zm(e,t){if(t===null)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!qn(e[n],t[n]))return!1;return!0}function qm(e,t,n,r,s,i){if(ti=i,Ke=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,vc.current=e===null||e.memoizedState===null?Kk:Gk,e=n(r,s),ga){i=0;do{if(ga=!1,Ba=0,25<=i)throw Error(F(301));i+=1,gt=dt=null,t.updateQueue=null,vc.current=Yk,e=n(r,s)}while(ga)}if(vc.current=tu,t=dt!==null&&dt.next!==null,ti=0,gt=dt=Ke=null,eu=!1,t)throw Error(F(300));return e}function Qm(){var e=Ba!==0;return Ba=0,e}function tr(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return gt===null?Ke.memoizedState=gt=e:gt=gt.next=e,gt}function kn(){if(dt===null){var e=Ke.alternate;e=e!==null?e.memoizedState:null}else e=dt.next;var t=gt===null?Ke.memoizedState:gt.next;if(t!==null)gt=t,dt=e;else{if(e===null)throw Error(F(310));dt=e,e={memoizedState:dt.memoizedState,baseState:dt.baseState,baseQueue:dt.baseQueue,queue:dt.queue,next:null},gt===null?Ke.memoizedState=gt=e:gt=gt.next=e}return gt}function za(e,t){return typeof t=="function"?t(e):t}function Ld(e){var t=kn(),n=t.queue;if(n===null)throw Error(F(311));n.lastRenderedReducer=e;var r=dt,s=r.baseQueue,i=n.pending;if(i!==null){if(s!==null){var o=s.next;s.next=i.next,i.next=o}r.baseQueue=s=i,n.pending=null}if(s!==null){i=s.next,r=r.baseState;var a=o=null,c=null,u=i;do{var d=u.lane;if((ti&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,Ke.lanes|=d,ni|=d}u=u.next}while(u!==null&&u!==i);c===null?o=r:c.next=a,qn(r,t.memoizedState)||(Yt=!0),t.memoizedState=r,t.baseState=o,t.baseQueue=c,n.lastRenderedState=r}if(e=n.interleaved,e!==null){s=e;do i=s.lane,Ke.lanes|=i,ni|=i,s=s.next;while(s!==e)}else s===null&&(n.lanes=0);return[t.memoizedState,n.dispatch]}function Fd(e){var t=kn(),n=t.queue;if(n===null)throw Error(F(311));n.lastRenderedReducer=e;var r=n.dispatch,s=n.pending,i=t.memoizedState;if(s!==null){n.pending=null;var o=s=s.next;do i=e(i,o.action),o=o.next;while(o!==s);qn(i,t.memoizedState)||(Yt=!0),t.memoizedState=i,t.baseQueue===null&&(t.baseState=i),n.lastRenderedState=i}return[i,r]}function Jw(){}function eb(e,t){var n=Ke,r=kn(),s=t(),i=!qn(r.memoizedState,s);if(i&&(r.memoizedState=s,Yt=!0),r=r.queue,Xm(rb.bind(null,n,r,e),[e]),r.getSnapshot!==t||i||gt!==null&&gt.memoizedState.tag&1){if(n.flags|=2048,Ua(9,nb.bind(null,n,r,s,t),void 0,null),yt===null)throw Error(F(349));ti&30||tb(n,t,s)}return s}function tb(e,t,n){e.flags|=16384,e={getSnapshot:t,value:n},t=Ke.updateQueue,t===null?(t={lastEffect:null,stores:null},Ke.updateQueue=t,t.stores=[e]):(n=t.stores,n===null?t.stores=[e]:n.push(e))}function nb(e,t,n,r){t.value=n,t.getSnapshot=r,sb(t)&&ib(e)}
vendor: 4,969 bytes, line 38
38function rb(e,t,n){return n(function(){sb(t)&&ib(e)})}function sb(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!qn(e,n)}catch{return!0}}function ib(e){var t=Ar(e,1);t!==null&&Yn(t,e,1,-1)}function fy(e){var t=tr();return typeof e=="function"&&(e=e()),t.memoizedState=t.baseState=e,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:za,lastRenderedState:e},t.queue=e,e=e.dispatch=Wk.bind(null,Ke,e),[t.memoizedState,e]}function Ua(e,t,n,r){return e={tag:e,create:t,destroy:n,deps:r,next:null},t=Ke.updateQueue,t===null?(t={lastEffect:null,stores:null},Ke.updateQueue=t,t.lastEffect=e.next=e):(n=t.lastEffect,n===null?t.lastEffect=e.next=e:(r=n.next,n.next=e,e.next=r,t.lastEffect=e)),e}function ob(){return kn().memoizedState}function xc(e,t,n,r){var s=tr();Ke.flags|=e,s.memoizedState=Ua(1|t,n,void 0,r===void 0?null:r)}function Vu(e,t,n,r){var s=kn();r=r===void 0?null:r;var i=void 0;if(dt!==null){var o=dt.memoizedState;if(i=o.destroy,r!==null&&Zm(r,o.deps)){s.memoizedState=Ua(t,n,i,r);return}}Ke.flags|=e,s.memoizedState=Ua(1|t,n,i,r)}function hy(e,t){return xc(8390656,8,e,t)}function Xm(e,t){return Vu(2048,8,e,t)}function ab(e,t){return Vu(4,2,e,t)}function lb(e,t){return Vu(4,4,e,t)}function cb(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 ub(e,t,n){return n=n!=null?n.concat([e]):null,Vu(4,4,cb.bind(null,t,e),n)}function Jm(){}function db(e,t){var n=kn();t=t===void 0?null:t;var r=n.memoizedState;return r!==null&&t!==null&&Zm(t,r[1])?r[0]:(n.memoizedState=[e,t],e)}function fb(e,t){var n=kn();t=t===void 0?null:t;var r=n.memoizedState;return r!==null&&t!==null&&Zm(t,r[1])?r[0]:(e=e(),n.memoizedState=[e,t],e)}function hb(e,t,n){return ti&21?(qn(n,t)||(n=vw(),Ke.lanes|=n,ni|=n,e.baseState=!0),t):(e.baseState&&(e.baseState=!1,Yt=!0),e.memoizedState=n)}function Uk(e,t){var n=Ee;Ee=n!==0&&4>n?n:4,e(!0);var r=Dd.transition;Dd.transition={};try{e(!1),t()}finally{Ee=n,Dd.transition=r}}function mb(){return kn().memoizedState}function Hk(e,t,n){var r=ps(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},pb(e))gb(t,n);else if(n=qw(e,t,n,r),n!==null){var s=Ft();Yn(n,e,r,s),yb(n,t,r)}}function Wk(e,t,n){var r=ps(e),s={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(pb(e))gb(t,s);else{var i=e.alternate;if(e.lanes===0&&(i===null||i.lanes===0)&&(i=t.lastRenderedReducer,i!==null))try{var o=t.lastRenderedState,a=i(o,n);if(s.hasEagerState=!0,s.eagerState=a,qn(a,o)){var c=t.interleaved;c===null?(s.next=s,Hm(t)):(s.next=c.next,c.next=s),t.interleaved=s;return}}catch{}finally{}n=qw(e,t,s,r),n!==null&&(s=Ft(),Yn(n,e,r,s),yb(n,t,r))}}function pb(e){var t=e.alternate;return e===Ke||t!==null&&t===Ke}function gb(e,t){ga=eu=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function yb(e,t,n){if(n&4194240){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,_m(e,n)}}var tu={readContext:Nn,useCallback:Nt,useContext:Nt,useEffect:Nt,useImperativeHandle:Nt,useInsertionEffect:Nt,useLayoutEffect:Nt,useMemo:Nt,useReducer:Nt,useRef:Nt,useState:Nt,useDebugValue:Nt,useDeferredValue:Nt,useTransition:Nt,useMutableSource:Nt,useSyncExternalStore:Nt,useId:Nt,unstable_isNewReconciler:!1},Kk={readContext:Nn,useCallback:function(e,t){return tr().memoizedState=[e,t===void 0?null:t],e},useContext:Nn,useEffect:hy,useImperativeHandle:function(e,t,n){return n=n!=null?n.concat([e]):null,xc(4194308,4,cb.bind(null,t,e),n)},useLayoutEffect:function(e,t){return xc(4194308,4,e,t)},useInsertionEffect:function(e,t){return xc(4,2,e,t)},useMemo:function(e,t){var n=tr();return t=t===void 0?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=tr();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=Hk.bind(null,Ke,e),[r.memoizedState,e]},useRef:function(e){var t=tr();return e={current:e},t.memoizedState=e},useState:fy,useDebugValue:Jm,useDeferredValue:function(e){return tr().memoizedState=e},useTransition:function(){var e=fy(!1),t=e[0];return e=Uk.bind(null,e[1]),tr().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=Ke,s=tr();if(Ve){if(n===void 0)throw Error(F(407));n=n()}else{if(n=t(),yt===null)throw Error(F(349));ti&30||tb(r,t,n)}s.memoizedState=n;var i={value:n,getSnapshot:t};return s.queue=i,hy(rb.bind(null,r,i,e),[e]),r.flags|=2048,Ua(9,nb.bind(null,r,i,n,t),void 0,null),n},useId:function(){var e=tr(),t=yt.identifierPrefix;if(Ve){var n=Tr,r=kr;n=(r&~(1<<32-Gn(r)-1)).toString(32)+n,t=":"+t+"R"+n,n=Ba++,0<n&&(t+="H"+n.toString(32)),t+=":"}else n=zk++,t=":"+t+"r"+n.toString(32)+":";return e.memoizedState=t},unstable_isNewReconciler:!1},Gk={readContext:Nn,useCallback:db,useContext:Nn,useEffect:Xm,useImperativeHandle:ub,useInsertionEffect:ab,useLayoutEffect:lb,useMemo:fb,useReducer:Ld,useRef
vendor: 4,528 bytes, lines 38-40
38:ob,useState:function(){return Ld(za)},useDebugValue:Jm,useDeferredValue:function(e){var t=kn();return hb(t,dt.memoizedState,e)},useTransition:function(){var e=Ld(za)[0],t=kn().memoizedState;return[e,t]},useMutableSource:Jw,useSyncExternalStore:eb,useId:mb,unstable_isNewReconciler:!1},Yk={readContext:Nn,useCallback:db,useContext:Nn,useEffect:Xm,useImperativeHandle:ub,useInsertionEffect:ab,useLayoutEffect:lb,useMemo:fb,useReducer:Fd,useRef:ob,useState:function(){return Fd(za)},useDebugValue:Jm,useDeferredValue:function(e){var t=kn();return dt===null?t.memoizedState=e:hb(t,dt.memoizedState,e)},useTransition:function(){var e=Fd(za)[0],t=kn().memoizedState;return[e,t]},useMutableSource:Jw,useSyncExternalStore:eb,useId:mb,unstable_isNewReconciler:!1};function Ln(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 ih(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 $u={isMounted:function(e){return(e=e._reactInternals)?ci(e)===e:!1},enqueueSetState:function(e,t,n){e=e._reactInternals;var r=Ft(),s=ps(e),i=Er(r,s);i.payload=t,n!=null&&(i.callback=n),t=hs(e,i,s),t!==null&&(Yn(t,e,s,r),yc(t,e,s))},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var r=Ft(),s=ps(e),i=Er(r,s);i.tag=1,i.payload=t,n!=null&&(i.callback=n),t=hs(e,i,s),t!==null&&(Yn(t,e,s,r),yc(t,e,s))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=Ft(),r=ps(e),s=Er(n,r);s.tag=2,t!=null&&(s.callback=t),t=hs(e,s,r),t!==null&&(Yn(t,e,r,n),yc(t,e,r))}};function my(e,t,n,r,s,i,o){return e=e.stateNode,typeof e.shouldComponentUpdate=="function"?e.shouldComponentUpdate(r,i,o):t.prototype&&t.prototype.isPureReactComponent?!Oa(n,r)||!Oa(s,i):!0}function vb(e,t,n){var r=!1,s=ws,i=t.contextType;return typeof i=="object"&&i!==null?i=Nn(i):(s=Qt(t)?Js:_t.current,r=t.contextTypes,i=(r=r!=null)?fo(e,s):ws),t=new t(n,i),e.memoizedState=t.state!==null&&t.state!==void 0?t.state:null,t.updater=$u,e.stateNode=t,t._reactInternals=e,r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=s,e.__reactInternalMemoizedMaskedChildContext=i),t}function py(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&&$u.enqueueReplaceState(t,t.state,null)}function oh(e,t,n,r){var s=e.stateNode;s.props=n,s.state=e.memoizedState,s.refs={},Wm(e);var i=t.contextType;typeof i=="object"&&i!==null?s.context=Nn(i):(i=Qt(t)?Js:_t.current,s.context=fo(e,i)),s.state=e.memoizedState,i=t.getDerivedStateFromProps,typeof i=="function"&&(ih(e,t,i,n),s.state=e.memoizedState),typeof t.getDerivedStateFromProps=="function"||typeof s.getSnapshotBeforeUpdate=="function"||typeof s.UNSAFE_componentWillMount!="function"&&typeof s.componentWillMount!="function"||(t=s.state,typeof s.componentWillMount=="function"&&s.componentWillMount(),typeof s.UNSAFE_componentWillMount=="function"&&s.UNSAFE_componentWillMount(),t!==s.state&&$u.enqueueReplaceState(s,s.state,null),Xc(e,n,s,r),s.state=e.memoizedState),typeof s.componentDidMount=="function"&&(e.flags|=4194308)}function go(e,t){try{var n="",r=t;do n+=jN(r),r=r.return;while(r);var s=n}catch(i){s=`
39Error generating stack: `+i.message+`
40`+i.stack}return{value:e,source:t,stack:s,digest:null}}function Vd(e,t,n){return{value:e,source:null,stack:n??null,digest:t??null}}function ah(e,t){try{console.error(t.value)}catch(n){setTimeout(function(){throw n})}}var Zk=typeof WeakMap=="function"?WeakMap:Map;function xb(e,t,n){n=Er(-1,n),n.tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){ru||(ru=!0,yh=r),ah(e,t)},n}function wb(e,t,n){n=Er(-1,n),n.tag=3;var r=e.type.getDerivedStateFromError;if(typeof r=="function"){var s=t.value;n.payload=function(){return r(s)},n.callback=function(){ah(e,t)}}var i=e.stateNode;return i!==null&&typeof i.componentDidCatch=="function"&&(n.callback=function(){ah(e,t),typeof r!="function"&&(ms===null?ms=new Set([this]):ms.add(this));var o=t.stack;this.componentDidCatch(t.value,{componentStack:o!==null?o:""})}),n}function gy(e,t,n){var r=e.pingCache;if(r===null){r=e.pingCache=new Zk;var s=new Set;r.set(t,s)}else s=r.get(t),s===void 0&&(s=new Set,r.set(t,s));s.has(n)||(s.add(n),e=cT.bind(null,e,t,n),t.then(e,e))}function yy(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}
vendor: 10,638 bytes, line 40
40function vy(e,t,n,r,s){return e.mode&1?(e.flags|=65536,e.lanes=s,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=Er(-1,1),t.tag=2,hs(n,t,1))),n.lanes|=1),e)}var qk=Vr.ReactCurrentOwner,Yt=!1;function Mt(e,t,n,r){t.child=e===null?Zw(t,null,n,r):mo(t,e.child,n,r)}function xy(e,t,n,r,s){n=n.render;var i=t.ref;return Yi(t,s),r=qm(e,t,n,r,i,s),n=Qm(),e!==null&&!Yt?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~s,Rr(e,t,s)):(Ve&&n&&Fm(t),t.flags|=1,Mt(e,t,r,s),t.child)}function wy(e,t,n,r,s){if(e===null){var i=n.type;return typeof i=="function"&&!ap(i)&&i.defaultProps===void 0&&n.compare===null&&n.defaultProps===void 0?(t.tag=15,t.type=i,bb(e,t,i,r,s)):(e=Sc(n.type,null,r,t,t.mode,s),e.ref=t.ref,e.return=t,t.child=e)}if(i=e.child,!(e.lanes&s)){var o=i.memoizedProps;if(n=n.compare,n=n!==null?n:Oa,n(o,r)&&e.ref===t.ref)return Rr(e,t,s)}return t.flags|=1,e=gs(i,r),e.ref=t.ref,e.return=t,t.child=e}function bb(e,t,n,r,s){if(e!==null){var i=e.memoizedProps;if(Oa(i,r)&&e.ref===t.ref)if(Yt=!1,t.pendingProps=r=i,(e.lanes&s)!==0)e.flags&131072&&(Yt=!0);else return t.lanes=e.lanes,Rr(e,t,s)}return lh(e,t,n,r,s)}function jb(e,t,n){var r=t.pendingProps,s=r.children,i=e!==null?e.memoizedState:null;if(r.mode==="hidden")if(!(t.mode&1))t.memoizedState={baseLanes:0,cachePool:null,transitions:null},Ae(Fi,Jt),Jt|=n;else{if(!(n&1073741824))return e=i!==null?i.baseLanes|n:n,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e,cachePool:null,transitions:null},t.updateQueue=null,Ae(Fi,Jt),Jt|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},r=i!==null?i.baseLanes:n,Ae(Fi,Jt),Jt|=r}else i!==null?(r=i.baseLanes|n,t.memoizedState=null):r=n,Ae(Fi,Jt),Jt|=r;return Mt(e,t,s,n),t.child}function Sb(e,t){var n=t.ref;(e===null&&n!==null||e!==null&&e.ref!==n)&&(t.flags|=512,t.flags|=2097152)}function lh(e,t,n,r,s){var i=Qt(n)?Js:_t.current;return i=fo(t,i),Yi(t,s),n=qm(e,t,n,r,i,s),r=Qm(),e!==null&&!Yt?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~s,Rr(e,t,s)):(Ve&&r&&Fm(t),t.flags|=1,Mt(e,t,n,s),t.child)}function by(e,t,n,r,s){if(Qt(n)){var i=!0;Gc(t)}else i=!1;if(Yi(t,s),t.stateNode===null)wc(e,t),vb(t,n,r),oh(t,n,r,s),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=Nn(u):(u=Qt(n)?Js:_t.current,u=fo(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)&&py(t,o,r,u),qr=!1;var h=t.memoizedState;o.state=h,Xc(t,r,o,s),c=t.memoizedState,a!==r||h!==c||qt.current||qr?(typeof d=="function"&&(ih(t,n,d,r),c=t.memoizedState),(a=qr||my(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,Qw(e,t),a=t.memoizedProps,u=t.type===t.elementType?a:Ln(t.type,a),o.props=u,f=t.pendingProps,h=o.context,c=n.contextType,typeof c=="object"&&c!==null?c=Nn(c):(c=Qt(n)?Js:_t.current,c=fo(t,c));var m=n.getDerivedStateFromProps;(d=typeof m=="function"||typeof o.getSnapshotBeforeUpdate=="function")||typeof o.UNSAFE_componentWillReceiveProps!="function"&&typeof o.componentWillReceiveProps!="function"||(a!==f||h!==c)&&py(t,o,r,c),qr=!1,h=t.memoizedState,o.state=h,Xc(t,r,o,s);var w=t.memoizedState;a!==f||h!==w||qt.current||qr?(typeof m=="function"&&(ih(t,n,m,r),w=t.memoizedState),(u=qr||my(t,n,u,r,h,w,c)||!1)?(d||typeof o.UNSAFE_componentWillUpdate!="function"&&typeof o.componentWillUpdate!="function"||(typeof o.componentWillUpdate=="function"&&o.componentWillUpdate(r,w,c),typeof o.UNSAFE_componentWillUpdate=="function"&&o.UNSAFE_componentWillUpdate(r,w,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=w),o.props=r,o.state=w,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 ch(e,t,n,r,i,s)}function ch(e,t,n,r,s,i){Sb(e,t);var o=(t.flags&128)!==0;if(!r&&!o)return s&&oy(t,n,!1),Rr(e,t,i);r=t.stateNode,qk.current=t;var a=o&&typeof n.getDerivedStateFromError!="function"?null:r.render();return t.flags|=1,e!==null&&o?(t.child=mo(t,e.child,null,i),t.child=mo(t,null,a,i)):Mt(e,t,a,i),t.memoizedState=r.state,s&&oy(t,n,!0),t.child}function Cb(e){var t=e.stateNode;t.pendingContext?iy(e,t.pendingContext,t.pendingContext!==t.context):t.context&&iy(e,t.context,!1),Km(e,t.containerInfo)}function jy(e,t,n,r,s){return ho(),$m(s),t.flags|=256,Mt(e,t,n,r),t.child}var uh={dehydrated:null,treeContext:null,retryLane:0};function dh(e){return{baseLanes:e,cachePool:null,transitions:null}}function Nb(e,t,n){var r=t.pendingProps,s=Ue.current,i=!1,o=(t.flags&128)!==0,a;if((a=o)||(a=e!==null&&e.memoizedState===null?!1:(s&2)!==0),a?(i=!0,t.flags&=-129):(e===null||e.memoizedState!==null)&&(s|=1),Ae(Ue,s&1),e===null)return rh(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,i?(r=t.mode,i=t.child,o={mode:"hidden",children:o},!(r&1)&&i!==null?(i.childLanes=0,i.pendingProps=o):i=Uu(o,r,0,null),e=qs(e,r,n,null),i.return=t,e.return=t,i.sibling=e,t.child=i,t.child.memoizedState=dh(n),t.memoizedState=uh,e):ep(t,o));if(s=e.memoizedState,s!==null&&(a=s.dehydrated,a!==null))return Qk(e,t,o,r,a,s,n);if(i){i=r.fallback,o=t.mode,s=e.child,a=s.sibling;var c={mode:"hidden",children:r.children};return!(o&1)&&t.child!==s?(r=t.child,r.childLanes=0,r.pendingProps=c,t.deletions=null):(r=gs(s,c),r.subtreeFlags=s.subtreeFlags&14680064),a!==null?i=gs(a,i):(i=qs(i,o,n,null),i.flags|=2),i.return=t,r.return=t,r.sibling=i,t.child=r,r=i,i=t.child,o=e.child.memoizedState,o=o===null?dh(n):{baseLanes:o.baseLanes|n,cachePool:null,transitions:o.transitions},i.memoizedState=o,i.childLanes=e.childLanes&~n,t.memoizedState=uh,r}return i=e.child,e=i.sibling,r=gs(i,{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 ep(e,t){return t=Uu({mode:"visible",children:t},e.mode,0,null),t.return=e,e.child=t}function Wl(e,t,n,r){return r!==null&&$m(r),mo(t,e.child,null,n),e=ep(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function Qk(e,t,n,r,s,i,o){if(n)return t.flags&256?(t.flags&=-257,r=Vd(Error(F(422))),Wl(e,t,o,r)):t.memoizedState!==null?(t.child=e.child,t.flags|=128,null):(i=r.fallback,s=t.mode,r=Uu({mode:"visible",children:r.children},s,0,null),i=qs(i,s,o,null),i.flags|=2,r.return=t,i.return=t,r.sibling=i,t.child=r,t.mode&1&&mo(t,e.child,null,o),t.child.memoizedState=dh(o),t.memoizedState=uh,i);if(!(t.mode&1))return Wl(e,t,o,null);if(s.data==="$!"){if(r=s.nextSibling&&s.nextSibling.dataset,r)var a=r.dgst;return r=a,i=Error(F(419)),r=Vd(i,r,void 0),Wl(e,t,o,r)}if(a=(o&e.childLanes)!==0,Yt||a){if(r=yt,r!==null){switch(o&-o){case 4:s=2;break;case 16:s=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:s=32;break;case 536870912:s=268435456;break;default:s=0}s=s&(r.suspendedLanes|o)?0:s,s!==0&&s!==i.retryLane&&(i.retryLane=s,Ar(e,s),Yn(r,e,s,-1))}return op(),r=Vd(Error(F(421))),Wl(e,t,o,r)}return s.data==="$?"?(t.flags|=128,t.child=e.child,t=uT.bind(null,e),s._reactRetry=t,null):(e=i.treeContext,nn=fs(s.nextSibling),rn=t,Ve=!0,Un=null,e!==null&&(xn[wn++]=kr,xn[wn++]=Tr,xn[wn++]=ei,kr=e.id,Tr=e.overflow,ei=t),t=ep(t,r.children),t.flags|=4096,t)}function Sy(e,t,n){e.lanes|=t;var r=e.alternate;r!==null&&(r.lanes|=t),sh(e.return,t,n)}function $d(e,t,n,r,s){var i=e.memoizedState;i===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailMode:s}:(i.isBackwards=t,i.rendering=null,i.renderingStartTime=0,i.last=r,i.tail=n,i.tailMode=s)}function kb(e,t,n){var r=t.pendingProps,s=r.revealOrder,i=r.tail;if(Mt(e,t,r.children,n),r=Ue.current,r&2)r=r&1|2,t.flags|=128;else{if(e!==null&&e.flags&128)e:for(e=t.child;e!==null;){if(e.tag===13)e.memoizedState!==null&&Sy(e,n,t);else if(e.tag===19)Sy(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(Ae(Ue,r),!(t.mode&1))t.memoizedState=null;else switch(s){case"forwards":for(n=t.child,s=null;n!==null;)e=n.alternate,e!==null&&Jc(e)===null&&(s=n),n=n.sibling;n=s,n===null?(s=t.child,t.child=null):(s=n.sibling,n.sibling=null),$d(t,!1,s,n,i);break;case"backwards":for(n=null,s=t.child,t.child=null;s!==null;){if(e=s.alternate,e!==null&&Jc(e)===null){t.child=s;break}e=s.sibling,s.sibling=n,n=s,s=e}$d(t,!0,n,null,i);break;case"together":$d(t,!1,null,null,void 0);break;default:t.memoizedState=null}return t.child}function wc(e,t){!(t.mode&1)&&e!==null&&(e.alternate=null,t.alternate=null,t.flags|=2)}function Rr(e,t,n){if(e!==null&&(t.dependencies=e.dependencies),ni|=t.lanes,!(n&t.childLanes))return null;if(e!==null&&t.child!==e.child)throw Error(F(153));if(t.child!==null){for(e=t.child,n=gs(e,e.pendingProps),t.child=n,n.return=t;e.sibling!==null;)e=e.sibling,n=n.sibling=gs(e,e.pendingProps),n.return=t;n.sibling=null}return t.child}function Xk(e,t,n){switch(t.tag){case 3:Cb(t),ho();break;case 5:Xw(t);break;case 1:Qt(t.type)&&Gc(t);break;case 4:Km(t,t.stateNode.containerInfo);break;case 10:var r=t.type._context,s=t.memoizedProps.value;Ae(qc,r._currentValue),r._currentValue=s;break;case 13:if(r=t.memoizedState,r!==null)return r.dehydrated!==null?(Ae(Ue,Ue.current&1),t.flags|=128,null):n&t.child.childLanes?Nb(e,t,n):(Ae(Ue,
vendor: 4,169 bytes, line 40
40Ue.current&1),e=Rr(e,t,n),e!==null?e.sibling:null);Ae(Ue,Ue.current&1);break;case 19:if(r=(n&t.childLanes)!==0,e.flags&128){if(r)return kb(e,t,n);t.flags|=128}if(s=t.memoizedState,s!==null&&(s.rendering=null,s.tail=null,s.lastEffect=null),Ae(Ue,Ue.current),r)break;return null;case 22:case 23:return t.lanes=0,jb(e,t,n)}return Rr(e,t,n)}var Tb,fh,Eb,Pb;Tb=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}};fh=function(){};Eb=function(e,t,n,r){var s=e.memoizedProps;if(s!==r){e=t.stateNode,Fs(ur.current);var i=null;switch(n){case"input":s=Mf(e,s),r=Mf(e,r),i=[];break;case"select":s=Ge({},s,{value:void 0}),r=Ge({},r,{value:void 0}),i=[];break;case"textarea":s=Lf(e,s),r=Lf(e,r),i=[];break;default:typeof s.onClick!="function"&&typeof r.onClick=="function"&&(e.onclick=Wc)}Vf(n,r);var o;n=null;for(u in s)if(!r.hasOwnProperty(u)&&s.hasOwnProperty(u)&&s[u]!=null)if(u==="style"){var a=s[u];for(o in a)a.hasOwnProperty(o)&&(n||(n={}),n[o]="")}else u!=="dangerouslySetInnerHTML"&&u!=="children"&&u!=="suppressContentEditableWarning"&&u!=="suppressHydrationWarning"&&u!=="autoFocus"&&(Ea.hasOwnProperty(u)?i||(i=[]):(i=i||[]).push(u,null));for(u in r){var c=r[u];if(a=s!=null?s[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||(i||(i=[]),i.push(u,n)),n=c;else u==="dangerouslySetInnerHTML"?(c=c?c.__html:void 0,a=a?a.__html:void 0,c!=null&&a!==c&&(i=i||[]).push(u,c)):u==="children"?typeof c!="string"&&typeof c!="number"||(i=i||[]).push(u,""+c):u!=="suppressContentEditableWarning"&&u!=="suppressHydrationWarning"&&(Ea.hasOwnProperty(u)?(c!=null&&u==="onScroll"&&Me("scroll",e),i||a===c||(i=[])):(i=i||[]).push(u,c))}n&&(i=i||[]).push("style",n);var u=i;(t.updateQueue=u)&&(t.flags|=4)}};Pb=function(e,t,n,r){n!==r&&(t.flags|=4)};function Wo(e,t){if(!Ve)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 kt(e){var t=e.alternate!==null&&e.alternate.child===e.child,n=0,r=0;if(t)for(var s=e.child;s!==null;)n|=s.lanes|s.childLanes,r|=s.subtreeFlags&14680064,r|=s.flags&14680064,s.return=e,s=s.sibling;else for(s=e.child;s!==null;)n|=s.lanes|s.childLanes,r|=s.subtreeFlags,r|=s.flags,s.return=e,s=s.sibling;return e.subtreeFlags|=r,e.childLanes=n,t}function Jk(e,t,n){var r=t.pendingProps;switch(Vm(t),t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return kt(t),null;case 1:return Qt(t.type)&&Kc(),kt(t),null;case 3:return r=t.stateNode,po(),De(qt),De(_t),Ym(),r.pendingContext&&(r.context=r.pendingContext,r.pendingContext=null),(e===null||e.child===null)&&(Ul(t)?t.flags|=4:e===null||e.memoizedState.isDehydrated&&!(t.flags&256)||(t.flags|=1024,Un!==null&&(wh(Un),Un=null))),fh(e,t),kt(t),null;case 5:Gm(t);var s=Fs($a.current);if(n=t.type,e!==null&&t.stateNode!=null)Eb(e,t,n,r,s),e.ref!==t.ref&&(t.flags|=512,t.flags|=2097152);else{if(!r){if(t.stateNode===null)throw Error(F(166));return kt(t),null}if(e=Fs(ur.current),Ul(t)){r=t.stateNode,n=t.type;var i=t.memoizedProps;switch(r[ir]=t,r[Fa]=i,e=(t.mode&1)!==0,n){case"dialog":Me("cancel",r),Me("close",r);break;case"iframe":case"object":case"embed":Me("load",r);break;case"video":case"audio":for(s=0;s<ra.length;s++)Me(ra[s],r);break;case"source":Me("error",r);break;case"img":case"image":case"link":Me("error",r),Me("load",r);break;case"details":Me("toggle",r);break;case"input":Rg(r,i),Me("invalid",r);break;case"select":r._wrapperState={wasMultiple:!!i.multiple},Me("invalid",r);break;case"textarea":Mg(r,i),Me("invalid",r)}Vf(n,i),s=null;for(var o in i)if(i.hasOwnProperty(o)){var a=i[o];
vendor: 28,896 bytes, line 40
40o==="children"?typeof a=="string"?r.textContent!==a&&(i.suppressHydrationWarning!==!0&&zl(r.textContent,a,e),s=["children",a]):typeof a=="number"&&r.textContent!==""+a&&(i.suppressHydrationWarning!==!0&&zl(r.textContent,a,e),s=["children",""+a]):Ea.hasOwnProperty(o)&&a!=null&&o==="onScroll"&&Me("scroll",r)}switch(n){case"input":Ml(r),Ig(r,i,!0);break;case"textarea":Ml(r),Og(r);break;case"select":case"option":break;default:typeof i.onClick=="function"&&(r.onclick=Wc)}r=s,t.updateQueue=r,r!==null&&(t.flags|=4)}else{o=s.nodeType===9?s:s.ownerDocument,e==="http://www.w3.org/1999/xhtml"&&(e=rw(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[ir]=t,e[Fa]=r,Tb(e,t,!1,!1),t.stateNode=e;e:{switch(o=$f(n,r),n){case"dialog":Me("cancel",e),Me("close",e),s=r;break;case"iframe":case"object":case"embed":Me("load",e),s=r;break;case"video":case"audio":for(s=0;s<ra.length;s++)Me(ra[s],e);s=r;break;case"source":Me("error",e),s=r;break;case"img":case"image":case"link":Me("error",e),Me("load",e),s=r;break;case"details":Me("toggle",e),s=r;break;case"input":Rg(e,r),s=Mf(e,r),Me("invalid",e);break;case"option":s=r;break;case"select":e._wrapperState={wasMultiple:!!r.multiple},s=Ge({},r,{value:void 0}),Me("invalid",e);break;case"textarea":Mg(e,r),s=Lf(e,r),Me("invalid",e);break;default:s=r}Vf(n,s),a=s;for(i in a)if(a.hasOwnProperty(i)){var c=a[i];i==="style"?ow(e,c):i==="dangerouslySetInnerHTML"?(c=c?c.__html:void 0,c!=null&&sw(e,c)):i==="children"?typeof c=="string"?(n!=="textarea"||c!=="")&&Pa(e,c):typeof c=="number"&&Pa(e,""+c):i!=="suppressContentEditableWarning"&&i!=="suppressHydrationWarning"&&i!=="autoFocus"&&(Ea.hasOwnProperty(i)?c!=null&&i==="onScroll"&&Me("scroll",e):c!=null&&Cm(e,i,c,o))}switch(n){case"input":Ml(e),Ig(e,r,!1);break;case"textarea":Ml(e),Og(e);break;case"option":r.value!=null&&e.setAttribute("value",""+xs(r.value));break;case"select":e.multiple=!!r.multiple,i=r.value,i!=null?Hi(e,!!r.multiple,i,!1):r.defaultValue!=null&&Hi(e,!!r.multiple,r.defaultValue,!0);break;default:typeof s.onClick=="function"&&(e.onclick=Wc)}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 kt(t),null;case 6:if(e&&t.stateNode!=null)Pb(e,t,e.memoizedProps,r);else{if(typeof r!="string"&&t.stateNode===null)throw Error(F(166));if(n=Fs($a.current),Fs(ur.current),Ul(t)){if(r=t.stateNode,n=t.memoizedProps,r[ir]=t,(i=r.nodeValue!==n)&&(e=rn,e!==null))switch(e.tag){case 3:zl(r.nodeValue,n,(e.mode&1)!==0);break;case 5:e.memoizedProps.suppressHydrationWarning!==!0&&zl(r.nodeValue,n,(e.mode&1)!==0)}i&&(t.flags|=4)}else r=(n.nodeType===9?n:n.ownerDocument).createTextNode(r),r[ir]=t,t.stateNode=r}return kt(t),null;case 13:if(De(Ue),r=t.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(Ve&&nn!==null&&t.mode&1&&!(t.flags&128))Gw(),ho(),t.flags|=98560,i=!1;else if(i=Ul(t),r!==null&&r.dehydrated!==null){if(e===null){if(!i)throw Error(F(318));if(i=t.memoizedState,i=i!==null?i.dehydrated:null,!i)throw Error(F(317));i[ir]=t}else ho(),!(t.flags&128)&&(t.memoizedState=null),t.flags|=4;kt(t),i=!1}else Un!==null&&(wh(Un),Un=null),i=!0;if(!i)return t.flags&65536?t:null}return t.flags&128?(t.lanes=n,t):(r=r!==null,r!==(e!==null&&e.memoizedState!==null)&&r&&(t.child.flags|=8192,t.mode&1&&(e===null||Ue.current&1?ft===0&&(ft=3):op())),t.updateQueue!==null&&(t.flags|=4),kt(t),null);case 4:return po(),fh(e,t),e===null&&Da(t.stateNode.containerInfo),kt(t),null;case 10:return Um(t.type._context),kt(t),null;case 17:return Qt(t.type)&&Kc(),kt(t),null;case 19:if(De(Ue),i=t.memoizedState,i===null)return kt(t),null;if(r=(t.flags&128)!==0,o=i.rendering,o===null)if(r)Wo(i,!1);else{if(ft!==0||e!==null&&e.flags&128)for(e=t.child;e!==null;){if(o=Jc(e),o!==null){for(t.flags|=128,Wo(i,!1),r=o.updateQueue,r!==null&&(t.updateQueue=r,t.flags|=4),t.subtreeFlags=0,r=n,n=t.child;n!==null;)i=n,e=r,i.flags&=14680066,o=i.alternate,o===null?(i.childLanes=0,i.lanes=e,i.child=null,i.subtreeFlags=0,i.memoizedProps=null,i.memoizedState=null,i.updateQueue=null,i.dependencies=null,i.stateNode=null):(i.childLanes=o.childLanes,i.lanes=o.lanes,i.child=o.child,i.subtreeFlags=0,i.deletions=null,i.memoizedProps=o.memoizedProps,i.memoizedState=o.memoizedState,i.updateQueue=o.updateQueue,i.type=o.type,e=o.dependencies,i.dependencies=e===null?null:{lanes:e.lanes,firstContext:e.firstContext}),n=n.sibling;return Ae(Ue,Ue.current&1|2),t.child}e=e.sibling}i.tail!==null&&nt()>yo&&(t.flags|=128,r=!0,Wo(i,!1),t.lanes=4194304)}else{if(!r)if(e=Jc(o),e!==null){if(t.flags|=128,r=!0,n=e.updateQueue,n!==null&&(t.updateQueue=n,t.flags|=4),Wo(i,!0),i.tail===null&&i.tailMode==="hidden"&&!o.alternate&&!Ve)return kt(t),null}else 2*nt()-i.renderingStartTime>yo&&n!==1073741824&&(t.flags|=128,r=!0,Wo(i,!1),t.lanes=4194304);i.isBackwards?(o.sibling=t.child,t.child=o):(n=i.last,n!==null?n.sibling=o:t.child=o,i.last=o)}return i.tail!==null?(t=i.tail,i.rendering=t,i.tail=t.sibling,i.renderingStartTime=nt(),t.sibling=null,n=Ue.current,Ae(Ue,r?n&1|2:n&1),t):(kt(t),null);case 22:case 23:return ip(),r=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==r&&(t.flags|=8192),r&&t.mode&1?Jt&1073741824&&(kt(t),t.subtreeFlags&6&&(t.flags|=8192)):kt(t),null;case 24:return null;case 25:return null}throw Error(F(156,t.tag))}function eT(e,t){switch(Vm(t),t.tag){case 1:return Qt(t.type)&&Kc(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return po(),De(qt),De(_t),Ym(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 5:return Gm(t),null;case 13:if(De(Ue),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(F(340));ho()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return De(Ue),null;case 4:return po(),null;case 10:return Um(t.type._context),null;case 22:case 23:return ip(),null;case 24:return null;default:return null}}var Kl=!1,Et=!1,tT=typeof WeakSet=="function"?WeakSet:Set,J=null;function Li(e,t){var n=e.ref;if(n!==null)if(typeof n=="function")try{n(null)}catch(r){Je(e,t,r)}else n.current=null}function hh(e,t,n){try{n()}catch(r){Je(e,t,r)}}var Cy=!1;function nT(e,t){if(qf=zc,e=Mw(),Lm(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 s=r.anchorOffset,i=r.focusNode;r=r.focusOffset;try{n.nodeType,i.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 m;f!==n||s!==0&&f.nodeType!==3||(a=o+s),f!==i||r!==0&&f.nodeType!==3||(c=o+r),f.nodeType===3&&(o+=f.nodeValue.length),(m=f.firstChild)!==null;)h=f,f=m;for(;;){if(f===e)break t;if(h===n&&++u===s&&(a=o),h===i&&++d===r&&(c=o),(m=f.nextSibling)!==null)break;f=h,h=f.parentNode}f=m}n=a===-1||c===-1?null:{start:a,end:c}}else n=null}n=n||{start:0,end:0}}else n=null;for(Qf={focusedElem:e,selectionRange:n},zc=!1,J=t;J!==null;)if(t=J,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,J=e;else for(;J!==null;){t=J;try{var w=t.alternate;if(t.flags&1024)switch(t.tag){case 0:case 11:case 15:break;case 1:if(w!==null){var g=w.memoizedProps,b=w.memoizedState,y=t.stateNode,p=y.getSnapshotBeforeUpdate(t.elementType===t.type?g:Ln(t.type,g),b);y.__reactInternalSnapshotBeforeUpdate=p}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(F(163))}}catch(j){Je(t,t.return,j)}if(e=t.sibling,e!==null){e.return=t.return,J=e;break}J=t.return}return w=Cy,Cy=!1,w}function ya(e,t,n){var r=t.updateQueue;if(r=r!==null?r.lastEffect:null,r!==null){var s=r=r.next;do{if((s.tag&e)===e){var i=s.destroy;s.destroy=void 0,i!==void 0&&hh(t,n,i)}s=s.next}while(s!==r)}}function Bu(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 mh(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 _b(e){var t=e.alternate;t!==null&&(e.alternate=null,_b(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[ir],delete t[Fa],delete t[eh],delete t[Fk],delete t[Vk])),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 Ab(e){return e.tag===5||e.tag===3||e.tag===4}function Ny(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||Ab(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 ph(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=Wc));else if(r!==4&&(e=e.child,e!==null))for(ph(e,t,n),e=e.sibling;e!==null;)ph(e,t,n),e=e.sibling}function gh(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(gh(e,t,n),e=e.sibling;e!==null;)gh(e,t,n),e=e.sibling}var xt=null,Bn=!1;function Ur(e,t,n){for(n=n.child;n!==null;)Rb(e,t,n),n=n.sibling}function Rb(e,t,n){if(cr&&typeof cr.onCommitFiberUnmount=="function")try{cr.onCommitFiberUnmount(Iu,n)}catch{}switch(n.tag){case 5:Et||Li(n,t);case 6:var r=xt,s=Bn;xt=null,Ur(e,t,n),xt=r,Bn=s,xt!==null&&(Bn?(e=xt,n=n.stateNode,e.nodeType===8?e.parentNode.removeChild(n):e.removeChild(n)):xt.removeChild(n.stateNode));break;case 18:xt!==null&&(Bn?(e=xt,n=n.stateNode,e.nodeType===8?Id(e.parentNode,n):e.nodeType===1&&Id(e,n),Ia(e)):Id(xt,n.stateNode));break;case 4:r=xt,s=Bn,xt=n.stateNode.containerInfo,Bn=!0,Ur(e,t,n),xt=r,Bn=s;break;case 0:case 11:case 14:case 15:if(!Et&&(r=n.updateQueue,r!==null&&(r=r.lastEffect,r!==null))){s=r=r.next;do{var i=s,o=i.destroy;i=i.tag,o!==void 0&&(i&2||i&4)&&hh(n,t,o),s=s.next}while(s!==r)}Ur(e,t,n);break;case 1:if(!Et&&(Li(n,t),r=n.stateNode,typeof r.componentWillUnmount=="function"))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(a){Je(n,t,a)}Ur(e,t,n);break;case 21:Ur(e,t,n);break;case 22:n.mode&1?(Et=(r=Et)||n.memoizedState!==null,Ur(e,t,n),Et=r):Ur(e,t,n);break;default:Ur(e,t,n)}}function ky(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var n=e.stateNode;n===null&&(n=e.stateNode=new tT),t.forEach(function(r){var s=dT.bind(null,e,r);n.has(r)||(n.add(r),r.then(s,s))})}}function In(e,t){var n=t.deletions;if(n!==null)for(var r=0;r<n.length;r++){var s=n[r];try{var i=e,o=t,a=o;e:for(;a!==null;){switch(a.tag){case 5:xt=a.stateNode,Bn=!1;break e;case 3:xt=a.stateNode.containerInfo,Bn=!0;break e;case 4:xt=a.stateNode.containerInfo,Bn=!0;break e}a=a.return}if(xt===null)throw Error(F(160));Rb(i,o,s),xt=null,Bn=!1;var c=s.alternate;c!==null&&(c.return=null),s.return=null}catch(u){Je(s,t,u)}}if(t.subtreeFlags&12854)for(t=t.child;t!==null;)Ib(t,e),t=t.sibling}function Ib(e,t){var n=e.alternate,r=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:if(In(t,e),er(e),r&4){try{ya(3,e,e.return),Bu(3,e)}catch(g){Je(e,e.return,g)}try{ya(5,e,e.return)}catch(g){Je(e,e.return,g)}}break;case 1:In(t,e),er(e),r&512&&n!==null&&Li(n,n.return);break;case 5:if(In(t,e),er(e),r&512&&n!==null&&Li(n,n.return),e.flags&32){var s=e.stateNode;try{Pa(s,"")}catch(g){Je(e,e.return,g)}}if(r&4&&(s=e.stateNode,s!=null)){var i=e.memoizedProps,o=n!==null?n.memoizedProps:i,a=e.type,c=e.updateQueue;if(e.updateQueue=null,c!==null)try{a==="input"&&i.type==="radio"&&i.name!=null&&tw(s,i),$f(a,o);var u=$f(a,i);for(o=0;o<c.length;o+=2){var d=c[o],f=c[o+1];d==="style"?ow(s,f):d==="dangerouslySetInnerHTML"?sw(s,f):d==="children"?Pa(s,f):Cm(s,d,f,u)}switch(a){case"input":Of(s,i);break;case"textarea":nw(s,i);break;case"select":var h=s._wrapperState.wasMultiple;s._wrapperState.wasMultiple=!!i.multiple;var m=i.value;m!=null?Hi(s,!!i.multiple,m,!1):h!==!!i.multiple&&(i.defaultValue!=null?Hi(s,!!i.multiple,i.defaultValue,!0):Hi(s,!!i.multiple,i.multiple?[]:"",!1))}s[Fa]=i}catch(g){Je(e,e.return,g)}}break;case 6:if(In(t,e),er(e),r&4){if(e.stateNode===null)throw Error(F(162));s=e.stateNode,i=e.memoizedProps;try{s.nodeValue=i}catch(g){Je(e,e.return,g)}}break;case 3:if(In(t,e),er(e),r&4&&n!==null&&n.memoizedState.isDehydrated)try{Ia(t.containerInfo)}catch(g){Je(e,e.return,g)}break;case 4:In(t,e),er(e);break;case 13:In(t,e),er(e),s=e.child,s.flags&8192&&(i=s.memoizedState!==null,s.stateNode.isHidden=i,!i||s.alternate!==null&&s.alternate.memoizedState!==null||(rp=nt())),r&4&&ky(e);break;case 22:if(d=n!==null&&n.memoizedState!==null,e.mode&1?(Et=(u=Et)||d,In(t,e),Et=u):In(t,e),er(e),r&8192){if(u=e.memoizedState!==null,(e.stateNode.isHidden=u)&&!d&&e.mode&1)for(J=e,d=e.child;d!==null;){for(f=J=d;J!==null;){switch(h=J,m=h.child,h.tag){case 0:case 11:case 14:case 15:ya(4,h,h.return);break;case 1:Li(h,h.return);var w=h.stateNode;if(typeof w.componentWillUnmount=="function"){r=h,n=h.return;try{t=r,w.props=t.memoizedProps,w.state=t.memoizedState,w.componentWillUnmount()}catch(g){Je(r,n,g)}}break;case 5:Li(h,h.return);break;case 22:if(h.memoizedState!==null){Ey(f);continue}}m!==null?(m.return=h,J=m):Ey(f)}d=d.sibling}e:for(d=null,f=e;;){if(f.tag===5){if(d===null){d=f;try{s=f.stateNode,u?(i=s.style,typeof i.setProperty=="function"?i.setProperty("display","none","important"):i.display="none"):(a=f.stateNode,c=f.memoizedProps.style,o=c!=null&&c.hasOwnProperty("display")?c.display:null,a.style.display=iw("display",o))}catch(g){Je(e,e.return,g)}}}else if(f.tag===6){if(d===null)try{f.stateNode.nodeValue=u?"":f.memoizedProps}catch(g){Je(e,e.return,g)}}else if((f.tag!==22&&f.tag!==23||f.memoizedState===null||f===e)&&f.child!==null){f.child.return=f,f=f.child;continue}if(f===e)break e;for(;f.sibling===null;){if(f.return===null||f.return===e)break e;d===f&&(d=null),f=f.return}d===f&&(d=null),f.sibling.return=f.return,f=f.sibling}}break;case 19:In(t,e),er(e),r&4&&ky(e);break;case 21:break;default:In(t,e),er(e)}}function er(e){var t=e.flags;if(t&2){try{e:{for(var n=e.return;n!==null;){if(Ab(n)){var r=n;break e}n=n.return}throw Error(F(160))}switch(r.tag){case 5:var s=r.stateNode;r.flags&32&&(Pa(s,""),r.flags&=-33);var i=Ny(e);gh(e,i,s);break;case 3:case 4:var o=r.stateNode.containerInfo,a=Ny(e);ph(e,a,o);break;default:throw Error(F(161))}}catch(c){Je(e,e.return,c)}e.flags&=-3}t&4096&&(e.flags&=-4097)}function rT(e,t,n){J=e,Mb(e)}function Mb(e,t,n){for(var r=(e.mode&1)!==0;J!==null;){var s=J,i=s.child;if(s.tag===22&&r){var o=s.memoizedState!==null||Kl;if(!o){var a=s.alternate,c=a!==null&&a.memoizedState!==null||Et;a=Kl;var u=Et;if(Kl=o,(Et=c)&&!u)for(J=s;J!==null;)o=J,c=o.child,o.tag===22&&o.memoizedState!==null?Py(s):c!==null?(c.return=o,J=c):Py(s);for(;i!==null;)J=i,Mb(i),i=i.sibling;J=s,Kl=a,Et=u}Ty(e)}else s.subtreeFlags&8772&&i!==null?(i.return=s,J=i):Ty(e)}}function Ty(e){for(;J!==null;){var t=J;if(t.flags&8772){var n=t.alternate;try{if(t.flags&8772)switch(t.tag){case 0:case 11:case 15:Et||Bu(5,t);break;case 1:var r=t.stateNode;if(t.flags&4&&!Et)if(n===null)r.componentDidMount();else{var s=t.elementType===t.type?n.memoizedProps:Ln(t.type,n.memoizedProps);r.componentDidUpdate(s,n.memoizedState,r.__reactInternalSnapshotBeforeUpdate)}var i=t.updateQueue;i!==null&&dy(t,i,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}dy(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&&Ia(f)}}}break;case 19:case 17:case 21:case 22:case 23:case 25:break;default:throw Error(F(163))}Et||t.flags&512&&mh(t)}catch(h){Je(t,t.return,h)}}if(t===e){J=null;break}if(n=t.sibling,n!==null){n.return=t.return,J=n;break}J=t.return}}function Ey(e){for(;J!==null;){var t=J;if(t===e){J=null;break}var n=t.sibling;if(n!==null){n.return=t.return,J=n;break}J=t.return}}function Py(e){for(;J!==null;){var t=J;try{switch(t.tag){case 0:case 11:case 15:var n=t.return;try{Bu(4,t)}catch(c){Je(t,n,c)}break;case 1:var r=t.stateNode;if(typeof r.componentDidMount=="function"){var s=t.return;try{r.componentDidMount()}catch(c){Je(t,s,c)}}var i=t.return;try{mh(t)}catch(c){Je(t,i,c)}break;case 5:var o=t.return;try{mh(t)}catch(c){Je(t,o,c)}}}catch(c){Je(t,t.return,c)}if(t===e){J=null;break}var a=t.sibling;if(a!==null){a.return=t.return,J=a;break}J=t.return}}var sT=Math.ceil,nu=Vr.ReactCurrentDispatcher,tp=Vr.ReactCurrentOwner,Sn=Vr.ReactCurrentBatchConfig,xe=0,yt=null,at=null,bt=0,Jt=0,Fi=Es(0),ft=0,Ha=null,ni=0,zu=0,np=0,va=null,Gt=null,rp=0,yo=1/0,jr=null,ru=!1,yh=null,ms=null,Gl=!1,os=null,su=0,xa=0,vh=null,bc=-1,jc=0;function Ft(){return xe&6?nt():bc!==-1?bc:bc=nt()}function ps(e){return e.mode&1?xe&2&&bt!==0?bt&-bt:Bk.transition!==null?(jc===0&&(jc=vw()),jc):(e=Ee,e!==0||(e=window.event,e=e===void 0?16:Nw(e.type)),e):1}function Yn(e,t,n,r){if(50<xa)throw xa=0,vh=null,Error(F(185));hl(e,n,r),(!(xe&2)||e!==yt)&&(e===yt&&(!(xe&2)&&(zu|=n),ft===4&&Jr(e,bt)),Xt(e,r),n===1&&xe===0&&!(t.mode&1)&&(yo=nt()+500,Fu&&Ps()))}function Xt(e,t){var n=e.callbackNode;BN(e,t);var r=Bc(e,e===yt?bt:0);if(r===0)n!==null&&Fg(n),e.callbackNode=null,e.callbackPriority=0;else if(t=r&-r,e.callbackPriority!==t){if(n!=null&&Fg(n),t===1)e.tag===0?$k(_y.bind(null,e)):Hw(_y.bind(null,e)),Dk(function(){!(xe&6)&&Ps()}),n=null;else{switch(xw(r)){case 1:n=Pm;break;case 4:n=gw;break;case 16:n=$c;break;case 536870912:n=yw;break;default:n=$c}n=zb(n,Ob.bind(null,e))}e.callbackPriority=t,e.callbackNode=n}}function Ob(e,t){if(bc=-1,jc=0,xe&6)throw Error(F(327));var n=e.callbackNode;if(Zi()&&e.callbackNode!==n)return null;var r=Bc(e,e===yt?bt:0);if(r===0)return null;if(r&30||r&e.expiredLanes||t)t=iu(e,r);else{t=r;var s=xe;xe|=2;var i=Lb();(yt!==e||bt!==t)&&(jr=null,yo=nt()+500,Zs(e,t));do try{aT();break}catch(a){Db(e,a)}while(!0);zm(),nu.current=i,xe=s,at!==null?t=0:(yt=null,bt=0,t=ft)}if(t!==0){if(t===2&&(s=Wf(e),s!==0&&(r=s,t=xh(e,s))),t===1)throw n=Ha,Zs(e,0),Jr(e,r),Xt(e,nt()),n;if(t===6)Jr(e,r);else{if(s=e.current.alternate,!(r&30)&&!iT(s)&&(t=iu(e,r),t===2&&(i=Wf(e),i!==0&&(r=i,t=xh(e,i))),t===1))throw n=Ha,Zs(e,0),Jr(e,r),Xt(e,nt()),n;switch(e.finishedWork=s,e.finishedLanes=r,t){case 0:case 1:throw Error(F(345));case 2:Ms(e,Gt,jr);break;case 3:if(Jr(e,r),(r&130023424)===r&&(t=rp+500-nt(),10<t)){if(Bc(e,0)!==0)break;if(s=e.suspendedLanes,(s&r)!==r){Ft(),e.pingedLanes|=e.suspendedLanes&s;break}e.timeoutHandle=Jf(Ms.bind(null,e,Gt,jr),t);break}Ms(e,Gt,jr);break;case 4:if(Jr(e,r),(r&4194240)===r)break;for(t=e.eventTimes,s=-1;0<r;){var o=31-Gn(r);i=1<<o,o=t[o],o>s&&(s=o),r&=~i}if(r=s,r=nt()-r,r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*sT(r/1960))-r,10<r){e.timeoutHandle=Jf(Ms.bind(null,e,Gt,jr),r);break}Ms(e,Gt,jr);break;case 5:Ms(e,Gt,jr);break;default:throw Error(F(329))}}}return Xt(e,nt()),e.callbackNode===n?Ob.bind(null,e):null}function xh(e,t){var n=va;return e.current.memoizedState.isDehydrated&&(Zs(e,t).flags|=256),e=iu(e,t),e!==2&&(t=Gt,Gt=n,t!==null&&wh(t)),e}function wh(e){Gt===null?Gt=e:Gt.push.apply(Gt,e)}function iT(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 s=n[r],i=s.getSnapshot;s=s.value;try{if(!qn(i(),s))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 Jr(e,t){for(t&=~np,t&=~zu,e.suspendedLanes|=t,e.pingedLanes&=~t,e=e.expirationTimes;0<t;){var n=31-Gn(t),r=1<<n;e[n]=-1,t&=~r}}function _y(e){if(xe&6)throw Error(F(327));Zi();var t=Bc(e,0);if(!(t&1))return Xt(e,nt()),null;var n=iu(e,t);if(e.tag!==0&&n===2){var r=Wf(e);r!==0&&(t=r,n=xh(e,r))}if(n===1)throw n=Ha,Zs(e,0),Jr(e,t),Xt(e,nt()),n;if(n===6)throw Error(F(345));return e.finishedWork=e.current.alternate,e.finishedLanes=t,Ms(e,Gt,jr),Xt(e,nt()),null}function sp(e,t){var n=xe;xe|=1;try{return e(t)}finally{xe=n,xe===0&&(yo=nt()+500,Fu&&Ps())}}function ri(e){os!==null&&os.tag===0&&!(xe&6)&&Zi();var t=xe;xe|=1;var n=Sn.transition,r=Ee;try{if(Sn.transition=null,Ee=1,e)return e()}finally{Ee=r,Sn.transition=n,xe=t,!(xe&6)&&Ps()}}function ip(){Jt=Fi.current,De(Fi)}function Zs(e,t){e.finishedWork=null,e.finishedLanes=0;var n=e.timeoutHandle;if(n!==-1&&(e.timeoutHandle=-1,Ok(n)),at!==null)for(n=at.return;n!==null;){var r=n;switch(Vm(r),r.tag){case 1:r=r.type.childContextTypes,r!=null&&Kc();break;case 3:po(),De(qt),De(_t),Ym();break;case 5:Gm(r);break;case 4:po();break;case 13:De(Ue);break;case 19:De(Ue);break;case 10:Um(r.type._context);break;case 22:case 23:ip()}n=n.return}if(yt=e,at=e=gs(e.current,null),bt=Jt=t,ft=0,Ha=null,np=zu=ni=0,Gt=va=null,Ls!==null){for(t=0;t<Ls.length;t++)if(n=Ls[t],r=n.interleaved,r!==null){n.interleaved=null;var s=r.next,i=n.pending;if(i!==null){var o=i.next;i.next=s,r.next=o}n.pending=r}Ls=null}return e}function Db(e,t){do{var n=at;try{if(zm(),vc.current=tu,eu){for(var r=Ke.memoizedState;r!==null;){var s=r.queue;s!==null&&(s.pending=null),r=r.next}eu=!1}if(ti=0,gt=dt=Ke=null,ga=!1,Ba=0,tp.current=null,n===null||n.return===null){ft=1,Ha=t,at=null;break}e:{var i=e,o=n.return,a=n,c=t;if(t=bt,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 m=yy(o);if(m!==null){m.flags&=-257,vy(m,o,a,i,t),m.mode&1&&gy(i,u,t),t=m,c=u;var w=t.updateQueue;if(w===null){var g=new Set;g.add(c),t.updateQueue=g}else w.add(c);break e}else{if(!(t&1)){gy(i,u,t),op();break e}c=Error(F(426))}}else if(Ve&&a.mode&1){var b=yy(o);if(b!==null){!(b.flags&65536)&&(b.flags|=256),vy(b,o,a,i,t),$m(go(c,a));break e}}i=c=go(c,a),ft!==4&&(ft=2),va===null?va=[i]:va.push(i),i=o;do{switch(i.tag){case 3:i.flags|=65536,t&=-t,i.lanes|=t;var y=xb(i,c,t);uy(i,y);break e;case 1:a=c;var p=i.type,v=i.stateNode;if(!(i.flags&128)&&(typeof p.getDerivedStateFromError=="function"||v!==null&&typeof v.componentDidCatch=="function"&&(ms===null||!ms.has(v)))){i.flags|=65536,t&=-t,i.lanes|=t;var j=wb(i,a,t);uy(i,j);break e}}i=i.return}while(i!==null)}Vb(n)}catch(S){t=S,at===n&&n!==null&&(at=n=n.return);continue}break}while(!0)}function Lb(){var e=nu.current;return nu.current=tu,e===null?tu:e}function op(){(ft===0||ft===3||ft===2)&&(ft=4),yt===null||!(ni&268435455)&&!(zu&268435455)||Jr(yt,bt)}function iu(e,t){var n=xe;xe|=2;var r=Lb();(yt!==e||bt!==t)&&(jr=null,Zs(e,t));do try{oT();break}catch(s){Db(e,s)}while(!0);if(zm(),xe=n,nu.current=r,at!==null)throw Error(F(261));return yt=null,bt=0,ft}function oT(){for(;at!==null;)Fb(at)}function aT(){for(;at!==null&&!RN();)Fb(at)}function Fb(e){var t=Bb(e.alternate,e,Jt);e.memoizedProps=e.pendingProps,t===null?Vb(e):at=t,tp.current=null}function Vb(e){var t=e;do{var n=t.alternate;if(e=t.return,t.flags&32768){if(n=eT(n,t),n!==null){n.flags&=32767,at=n;return}if(e!==null)e.flags|=32768,e.subtreeFlags=0,e.deletions=null;else{ft=6,at=null;return}}else if(n=Jk(n,t,Jt),n!==null){at=n;return}if(t=t.sibling,t!==null){at=t;return}at=t=e}while(t!==null);ft===0&&(ft=5)}function Ms(e,t,n){var r=Ee,s=Sn.transition;try{Sn.transition=null,Ee=1,lT(e,t,n,r)}finally{Sn.transition=s,Ee=r}return null}function lT(e,t,n,r){do Zi();while(os!==null);if(xe&6)throw Error(F(327));n=e.finishedWork;var s=e.finishedLanes;if(n===null)return null;if(e.finishedWork=null,e.finishedLanes=0,n===e.current)throw Error(F(177));e.callbackNode=null,e.callbackPriority=0;var i=n.lanes|n.childLanes;if(zN(e,i),e===yt&&(at=yt=null,bt=0),!(n.subtreeFlags&2064)&&!(n.flags&2064)||Gl||(Gl=!0,zb($c,function(){return Zi(),null})),i=(n.flags&15990)!==0,n.subtreeFlags&15990||i){i=Sn.transition,Sn.transition=null;var o=Ee;Ee=1;var a=xe;xe|=4,tp.current=null,nT(e,n),Ib(n,e),Ek(Qf),zc=!!qf,Qf=qf=null,e.current=n,rT(n),IN(),xe=a,Ee=o,Sn.transition=i}else e.current=n;if(Gl&&(Gl=!1,os=e,su=s),i=e.pendingLanes,i===0&&(ms=null),DN(n.stateNode),Xt(e,nt()),t!==null)for(r=e.onRecoverableError,n=0;n<t.length;n++)s=t[n],r(s.value,{componentStack:s.stack,digest:s.digest});if(ru)throw ru=!1,e=yh,yh=null,e;return su&1&&e.tag!==0&&Zi(),i=e.pendingLanes,i&1?e===vh?xa++:(xa=0,vh=e):xa=0,Ps(),null}function Zi(){if(os!==null){var e=xw(su),t=Sn.transition,n=Ee;try{if(Sn.transition=null,Ee=16>e?16:e,os===null)var r=!1;else{if(e=os,os=null,su=0,xe&6)throw Error(F(331));var s=xe;for(xe|=4,J=e.current;J!==null;){var i=J,o=i.child;if(J.flags&16){var a=i.deletions;if(a!==null){for(var c=0;c<a.length;c++){var u=a[c];for(J=u;J!==null;){var d=J;switch(d.tag){case 0:case 11:case 15:ya(8,d,i)}var f=d.child;if(f!==null)f.return=d,J=f;else for(;J!==null;){d=J;var h=d.sibling,m=d.return;if(_b(d),d===u){J=null;break}if(h!==null){h.return=m,J=h;break}J=m}}}var w=i.alternate;if(w!==null){var g=w.child;if(g!==null){w.child=null;do{var b=g.sibling;g.sibling=null,g=b}while(g!==null)}}J=i}}if(i.subtreeFlags&2064&&o!==null)o.return=i,J=o;else e:for(;J!==null;){if(i=J,i.flags&2048)switch(i.tag){case 0:case 11:case 15:ya(9,i,i.return)}var y=i.sibling;if(y!==null){y.return=i.return,J=y;break e}J=i.return}}var p=e.current;for(J=p;J!==null;){o=J;var v=o.child;if(o.subtreeFlags&2064&&v!==null)v.return=o,J=v;else e:for(o=p;J!==null;){if(a=J,a.flags&2048)try{switch(a.tag){case 0:case 11:case 15:Bu(9,a)}}catch(S){Je(a,a.return,S)}if(a===o){J=null;break e}var j=a.sibling;if(j!==null){j.return=a.return,J=j;break e}J=a.return}}if(xe=s,Ps(),cr&&typeof cr.onPostCommitFiberRoot=="function")try{cr.onPostCommitFiberRoot(Iu,e)}catch{}r=!0}return r}finally{Ee=n,Sn.transition=t}}return!1}function Ay(e,t,n){t=go(n,t),t=xb(e,t,1),e=hs(e,t,1),t=Ft(),e!==null&&(hl(e,1,t),Xt(e,t))}function Je(e,t,n){if(e.tag===3)Ay(e,e,n);else for(;t!==null;){if(t.tag===3){Ay(t,e,n);break}else if(t.tag===1){var r=t.stateNode;if(typeof t.type.getDerivedStateFromError=="function"||typeof r.componentDidCatch=="function"&&(ms===null||!ms.has(r))){e=go(n,e),e=wb(t,e,1),t=hs(t,e,1),e=Ft(),t!==null&&(hl(t,1,e),Xt(t,e));break}}t=t.return}}function cT(e,t,n){var r=e.pingCache;r!==null&&r.delete(t),t=Ft(),e.pingedLanes|=e.suspendedLanes&n,yt===e&&(bt&n)===n&&(ft===4||ft===3&&(bt&130023424)===bt&&500>nt()-rp?Zs(e,0):np|=n),Xt(e,t)}function $b(e,t){t===0&&(e.mode&1?(t=Ll,Ll<<=1,!(Ll&130023424)&&(Ll=4194304)):t=1);var n=Ft();e=Ar(e,t),e!==null&&(hl(e,t,n),Xt(e,n))}function uT(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),$b(e,n)}function dT(e,t){var n=0;switch(e.tag){case 13:var r=e.stateNode,s=e.memoizedState;s!==null&&(n=s.retryLane);break;case 19:r=e.stateNode;break;default:throw Error(F(314))}r!==null&&r.delete(t),$b(e,n)}var Bb;Bb=function(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps||qt.current)Yt=!0;else{if(!(e.lanes&n)&&!(t.flags&128))return Yt=!1,Xk(e,t,n);Yt=!!(e.flags&131072)}else Yt=!1,Ve&&t.flags&1048576&&Ww(t,Zc,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;wc(e,t),e=t.pendingProps;var s=fo(t,_t.current);Yi(t,n),s=qm(null,t,r,e,s,n);var i=Qm();return t.flags|=1,typeof s=="object"&&s!==null&&typeof s.render=="function"&&s.$$typeof===void 0?(t.tag=1,t.memoizedState=null,t.updateQueue=null,Qt(r)?(i=!0,Gc(t)):i=!1,t.memoizedState=s.state!==null&&s.state!==void 0?s.state:null,Wm(t),s.updater=$u,t.stateNode=s,s._reactInternals=t,oh(t,r,e,n),t=ch(null,t,r,!0,i,n)):(t.tag=0,Ve&&i&&Fm(t),Mt(null,t,s,n),t=t.child),t;case 16:r=t.elementType;e:{switch(wc(e,t),e=t.pendingProps,s=r._init,r=s(r._payload),t.type=r,s=t.tag=hT(r),e=Ln(r,e),s){case 0:t=lh(null,t,r,e,n);break e;case 1:t=by(null,t,r,e,n);break e;case 11:t=xy(null,t,r,e,n);break e;case 14:t=wy(null,t,r,Ln(r.type,e),n);break e}throw Error(F(306,r,""))}return t;case 0:return r=t.type,s=t.pendingProps,s=t.elementType===r?s:Ln(r,s),lh(e,t,r,s,n);case 1:return r=t.type,s=t.pendingProps,s=t.elementType===r?s:Ln(r,s),by(e,t,r,s,n);case 3:e:{if(Cb(t),e===null)throw Error(F(387));
vendor: 4,674 bytes, line 40
40r=t.pendingProps,i=t.memoizedState,s=i.element,Qw(e,t),Xc(t,r,null,n);var o=t.memoizedState;if(r=o.element,i.isDehydrated)if(i={element:r,isDehydrated:!1,cache:o.cache,pendingSuspenseBoundaries:o.pendingSuspenseBoundaries,transitions:o.transitions},t.updateQueue.baseState=i,t.memoizedState=i,t.flags&256){s=go(Error(F(423)),t),t=jy(e,t,r,n,s);break e}else if(r!==s){s=go(Error(F(424)),t),t=jy(e,t,r,n,s);break e}else for(nn=fs(t.stateNode.containerInfo.firstChild),rn=t,Ve=!0,Un=null,n=Zw(t,null,r,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling;else{if(ho(),r===s){t=Rr(e,t,n);break e}Mt(e,t,r,n)}t=t.child}return t;case 5:return Xw(t),e===null&&rh(t),r=t.type,s=t.pendingProps,i=e!==null?e.memoizedProps:null,o=s.children,Xf(r,s)?o=null:i!==null&&Xf(r,i)&&(t.flags|=32),Sb(e,t),Mt(e,t,o,n),t.child;case 6:return e===null&&rh(t),null;case 13:return Nb(e,t,n);case 4:return Km(t,t.stateNode.containerInfo),r=t.pendingProps,e===null?t.child=mo(t,null,r,n):Mt(e,t,r,n),t.child;case 11:return r=t.type,s=t.pendingProps,s=t.elementType===r?s:Ln(r,s),xy(e,t,r,s,n);case 7:return Mt(e,t,t.pendingProps,n),t.child;case 8:return Mt(e,t,t.pendingProps.children,n),t.child;case 12:return Mt(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(r=t.type._context,s=t.pendingProps,i=t.memoizedProps,o=s.value,Ae(qc,r._currentValue),r._currentValue=o,i!==null)if(qn(i.value,o)){if(i.children===s.children&&!qt.current){t=Rr(e,t,n);break e}}else for(i=t.child,i!==null&&(i.return=t);i!==null;){var a=i.dependencies;if(a!==null){o=i.child;for(var c=a.firstContext;c!==null;){if(c.context===r){if(i.tag===1){c=Er(-1,n&-n),c.tag=2;var u=i.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}}i.lanes|=n,c=i.alternate,c!==null&&(c.lanes|=n),sh(i.return,n,t),a.lanes|=n;break}c=c.next}}else if(i.tag===10)o=i.type===t.type?null:i.child;else if(i.tag===18){if(o=i.return,o===null)throw Error(F(341));o.lanes|=n,a=o.alternate,a!==null&&(a.lanes|=n),sh(o,n,t),o=i.sibling}else o=i.child;if(o!==null)o.return=i;else for(o=i;o!==null;){if(o===t){o=null;break}if(i=o.sibling,i!==null){i.return=o.return,o=i;break}o=o.return}i=o}Mt(e,t,s.children,n),t=t.child}return t;case 9:return s=t.type,r=t.pendingProps.children,Yi(t,n),s=Nn(s),r=r(s),t.flags|=1,Mt(e,t,r,n),t.child;case 14:return r=t.type,s=Ln(r,t.pendingProps),s=Ln(r.type,s),wy(e,t,r,s,n);case 15:return bb(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,s=t.pendingProps,s=t.elementType===r?s:Ln(r,s),wc(e,t),t.tag=1,Qt(r)?(e=!0,Gc(t)):e=!1,Yi(t,n),vb(t,r,s),oh(t,r,s,n),ch(null,t,r,!0,e,n);case 19:return kb(e,t,n);case 22:return jb(e,t,n)}throw Error(F(156,t.tag))};function zb(e,t){return pw(e,t)}function fT(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 bn(e,t,n,r){return new fT(e,t,n,r)}function ap(e){return e=e.prototype,!(!e||!e.isReactComponent)}function hT(e){if(typeof e=="function")return ap(e)?1:0;if(e!=null){if(e=e.$$typeof,e===km)return 11;if(e===Tm)return 14}return 2}function gs(e,t){var n=e.alternate;return n===null?(n=bn(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 Sc(e,t,n,r,s,i){var o=2;if(r=e,typeof e=="function")ap(e)&&(o=1);else if(typeof e=="string")o=5;else e:switch(e){case Ei:return qs(n.children,s,i,t);case Nm:o=8,s|=8;break;case _f:return e=bn(12,n,t,s|2),e.elementType=_f,e.lanes=i,e;case Af:return e=bn(13,n,t,s),e.elementType=Af,e.lanes=i,e;case Rf:return e=bn(19,n,t,s),e.elementType=Rf,e.lanes=i,e;case X0:return Uu(n,s,i,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case q0:o=10;break e;case Q0:o=9;break e;case km:o=11;break e;case Tm:o=14;break e;case Zr:o=16,r=null;break e}throw Error(F(130,e==null?e:typeof e,""))}return t=bn(o,n,t,s),t.elementType=e,t.type=r,t.lanes=i,t}function qs(e,t,n,r){return e=bn(7,e,r,t),e.lanes=n,e}function Uu(e,t,n,r){return e=bn(22,e,r,t),e.elementType=X0,e.lanes=n,e.stateNode={isHidden:!1},e}
vendor: 4,316 bytes, line 40
40function Bd(e,t,n){return e=bn(6,e,null,t),e.lanes=n,e}function zd(e,t,n){return t=bn(4,e.children!==null?e.children:[],e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function mT(e,t,n,r,s){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=jd(0),this.expirationTimes=jd(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=jd(0),this.identifierPrefix=r,this.onRecoverableError=s,this.mutableSourceEagerHydrationData=null}function lp(e,t,n,r,s,i,o,a,c){return e=new mT(e,t,n,a,c),t===1?(t=1,i===!0&&(t|=8)):t=0,i=bn(3,null,null,t),e.current=i,i.stateNode=e,i.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},Wm(i),e}function pT(e,t,n){var r=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:Ti,key:r==null?null:""+r,children:e,containerInfo:t,implementation:n}}function Ub(e){if(!e)return ws;e=e._reactInternals;e:{if(ci(e)!==e||e.tag!==1)throw Error(F(170));var t=e;do{switch(t.tag){case 3:t=t.stateNode.context;break e;case 1:if(Qt(t.type)){t=t.stateNode.__reactInternalMemoizedMergedChildContext;break e}}t=t.return}while(t!==null);throw Error(F(171))}if(e.tag===1){var n=e.type;if(Qt(n))return Uw(e,n,t)}return t}function Hb(e,t,n,r,s,i,o,a,c){return e=lp(n,r,!0,e,s,i,o,a,c),e.context=Ub(null),n=e.current,r=Ft(),s=ps(n),i=Er(r,s),i.callback=t??null,hs(n,i,s),e.current.lanes=s,hl(e,s,r),Xt(e,r),e}function Hu(e,t,n,r){var s=t.current,i=Ft(),o=ps(s);return n=Ub(n),t.context===null?t.context=n:t.pendingContext=n,t=Er(i,o),t.payload={element:e},r=r===void 0?null:r,r!==null&&(t.callback=r),e=hs(s,t,o),e!==null&&(Yn(e,s,o,i),yc(e,s,o)),o}function ou(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 Ry(e,t){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var n=e.retryLane;e.retryLane=n!==0&&n<t?n:t}}function cp(e,t){Ry(e,t),(e=e.alternate)&&Ry(e,t)}function gT(){return null}var Wb=typeof reportError=="function"?reportError:function(e){console.error(e)};function up(e){this._internalRoot=e}Wu.prototype.render=up.prototype.render=function(e){var t=this._internalRoot;if(t===null)throw Error(F(409));Hu(e,t,null,null)};Wu.prototype.unmount=up.prototype.unmount=function(){var e=this._internalRoot;if(e!==null){this._internalRoot=null;var t=e.containerInfo;ri(function(){Hu(null,e,null,null)}),t[_r]=null}};function Wu(e){this._internalRoot=e}Wu.prototype.unstable_scheduleHydration=function(e){if(e){var t=jw();e={blockedOn:null,target:e,priority:t};for(var n=0;n<Xr.length&&t!==0&&t<Xr[n].priority;n++);Xr.splice(n,0,e),n===0&&Cw(e)}};function dp(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}function Ku(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11&&(e.nodeType!==8||e.nodeValue!==" react-mount-point-unstable "))}function Iy(){}function yT(e,t,n,r,s){if(s){if(typeof r=="function"){var i=r;r=function(){var u=ou(o);i.call(u)}}var o=Hb(t,r,e,0,null,!1,!1,"",Iy);return e._reactRootContainer=o,e[_r]=o.current,Da(e.nodeType===8?e.parentNode:e),ri(),o}for(;s=e.lastChild;)e.removeChild(s);if(typeof r=="function"){var a=r;r=function(){var u=ou(c);a.call(u)}}var c=lp(e,0,!1,null,null,!1,!1,"",Iy);return e._reactRootContainer=c,e[_r]=c.current,Da(e.nodeType===8?e.parentNode:e),ri(function(){Hu(t,c,n,r)}),c}function Gu(e,t,n,r,s){var i=n._reactRootContainer;if(i){var o=i;if(typeof s=="function"){var a=s;s=function(){var c=ou(o);a.call(c)}}Hu(t,o,e,s)}else o=yT(n,t,e,s,r);return ou(o)}ww=function(e){switch(e.tag){case 3:var t=e.stateNode;if(t.current.memoizedState.isDehydrated){var n=na(t.pendingLanes);n!==0&&(_m(t,n|1),Xt(t,nt()),!(xe&6)&&(yo=nt()+500,Ps()))}break;case 13:ri(function(){var r=Ar(e,1);if(r!==null){var s=Ft();Yn(r,e,1,s)}}),cp(e,1)}};Am=function(e){if(e.tag===13){var t=Ar(e,134217728);if(t!==null){var n=Ft();Yn(t,e,134217728,n)}cp(e,134217728)}};bw=function(e){if(e.tag===13){var t=ps(e),n=Ar(e,t);if(n!==null){var r=Ft();Yn(n,e,t,r)}
40cp(e,t)}};jw=function(){return Ee};Sw=function(e,t){var n=Ee;try{return Ee=e,t()}finally{Ee=n}};zf=function(e,t,n){switch(t){case"input":if(Of(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 s=Lu(r);if(!s)throw Error(F(90));ew(r),Of(r,s)}}}break;case"textarea":nw(e,n);break;case"select":t=n.value,t!=null&&Hi(e,!!n.multiple,t,!1)}};cw=sp;uw=ri;var vT={usingClientEntryPoint:!1,Events:[pl,Ri,Lu,aw,lw,sp]},Ko={findFiberByHostInstance:Ds,bundleType:0,version:"18.3.1",rendererPackageName:"react-dom"},xT={bundleType:Ko.bundleType,version:Ko.version,rendererPackageName:Ko.rendererPackageName,rendererConfig:Ko.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:Vr.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return e=hw(e),e===null?null:e.stateNode},findFiberByHostInstance:Ko.findFiberByHostInstance||gT,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 Yl=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!Yl.isDisabled&&Yl.supportsFiber)try{Iu=Yl.inject(xT),cr=Yl}catch{}}ln.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=vT;ln.createPortal=function(e,t){var n=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!dp(t))throw Error(F(200));return pT(e,t,null,n)};ln.createRoot=function(e,t){if(!dp(e))throw Error(F(299));var n=!1,r="",s=Wb;return t!=null&&(t.unstable_strictMode===!0&&(n=!0),t.identifierPrefix!==void 0&&(r=t.identifierPrefix),t.onRecoverableError!==void 0&&(s=t.onRecoverableError)),t=lp(e,1,!1,null,null,n,!1,r,s),e[_r]=t.current,Da(e.nodeType===8?e.parentNode:e),new up(t)};ln.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(F(188)):(e=Object.keys(e).join(","),Error(F(268,e)));return e=hw(t),e=e===null?null:e.stateNode,e};ln.flushSync=function(e){return ri(e)};ln.hydrate=function(e,t,n){if(!Ku(t))throw Error(F(200));return Gu(null,e,t,!0,n)};ln.hydrateRoot=function(e,t,n){if(!dp(e))throw Error(F(405));var r=n!=null&&n.hydratedSources||null,s=!1,i="",o=Wb;if(n!=null&&(n.unstable_strictMode===!0&&(s=!0),n.identifierPrefix!==void 0&&(i=n.identifierPrefix),n.onRecoverableError!==void 0&&(o=n.onRecoverableError)),t=Hb(t,null,e,1,n??null,s,!1,i,o),e[_r]=t.current,Da(e),r)for(e=0;e<r.length;e++)n=r[e],s=n._getVersion,s=s(n._source),t.mutableSourceEagerHydrationData==null?t.mutableSourceEagerHydrationData=[n,s]:t.mutableSourceEagerHydrationData.push(n,s);return new Wu(t)};ln.render=function(e,t,n){if(!Ku(t))throw Error(F(200));return Gu(null,e,t,!1,n)};ln.unmountComponentAtNode=function(e){if(!Ku(e))throw Error(F(40));return e._reactRootContainer?(ri(function(){Gu(null,null,e,!1,function(){e._reactRootContainer=null,e[_r]=null})}),!0):!1};ln.unstable_batchedUpdates=sp;ln.unstable_renderSubtreeIntoContainer=function(e,t,n,r){if(!Ku(n))throw Error(F(200));if(e==null||e._reactInternals===void 0)throw Error(F(38));return Gu(e,t,n,!1,r)};ln.version="18.3.1-next-f1338f8080-20240426";function Kb(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(Kb)}catch(e){console.error(e)}}Kb(),K0.exports=ln;var yl=K0.exports;const Gb=dl(yl);var Yb,My=yl;Yb=My.createRoot,My.hydrateRoot;var wT=typeof Element<"u",bT=typeof Map=="function",jT=typeof Set=="function",ST=typeof ArrayBuffer=="function"&&!!ArrayBuffer.isView;function Cc(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,s;if(Array.isArray(e)){if(n=e.length,n!=t.length)return!1;for(r=n;r--!==0;)if(!Cc(e[r],t[r]))return!1;return!0}var i;if(bT&&e instanceof Map&&t instanceof Map){if(e.size!==t.size)return!1;for(i=e.entries();!(r=i.next()).done;)if(!t.has(r.value[0]))return!1;for(i=e.entries();!(r=i.next()).done;)if(!Cc(r.value[1],t.get(r.value[0])))return!1;return!0}if(jT&&e instanceof Set&&t instanceof Set){if(e.size!==t.size)return!1;for(i=e.entries();!(r=i.next()).done;)if(!t.has(r.value[0]))return!1;return!0}if(ST&&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(s=Object.keys(e),n=s.length,n!==Object.keys(t).length)return!1;for(r=n;r--!==0;)if(!Object.prototype.hasOwnProperty.call(t,s[r]))return!1;if(wT&&e instanceof Element)return!1;for(r=n;r--!==0;)if(!((s[r]==="_owner"||s[r]==="__v"||s[r]==="__o")&&e.$$typeof)&&!Cc(e[s[r]],t[s[r]]))return!1;return!0}return e!==e&&t!==t}var CT=function(t,n){try{return Cc(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 NT=dl(CT);var kT=function(e,t,n,r,s,i,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,s,i,o,a],d=0;c=new Error(t.replace(/%s/g,function(){return u[d++]})),c.name="Invariant Violation"}throw c.framesToPop=1,c}},TT=kT;const Oy=dl(TT);var ET=function(t,n,r,s){var i=r?r.call(s,t,n):void 0;if(i!==void 0)return!!i;if(t===n)return!0;
40if(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(i=r?r.call(s,f,h,d):void 0,i===!1||i===void 0&&f!==h)return!1}return!0};const PT=dl(ET);var Zb=(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))(Zb||{}),Ud={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"]}},Dy=Object.values(Zb),fp={accesskey:"accessKey",charset:"charSet",class:"className",contenteditable:"contentEditable",contextmenu:"contextMenu","http-equiv":"httpEquiv",itemprop:"itemProp",tabindex:"tabIndex"},_T=Object.entries(fp).reduce((e,[t,n])=>(e[n]=t,e),{}),Kn="data-rh",qi={DEFAULT_TITLE:"defaultTitle",DEFER:"defer",ENCODE_SPECIAL_CHARACTERS:"encodeSpecialCharacters",ON_CHANGE_CLIENT_STATE:"onChangeClientState",TITLE_TEMPLATE:"titleTemplate",PRIORITIZE_SEO_TAGS:"prioritizeSeoTags"},Qi=(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},AT=e=>{let t=Qi(e,"title");const n=Qi(e,qi.TITLE_TEMPLATE);if(Array.isArray(t)&&(t=t.join("")),n&&t)return n.replace(/%s/g,()=>t);const r=Qi(e,qi.DEFAULT_TITLE);return t||r||void 0},RT=e=>Qi(e,qi.ON_CHANGE_CLIENT_STATE)||(()=>{}),Hd=(e,t)=>t.filter(n=>typeof n[e]<"u").map(n=>n[e]).reduce((n,r)=>({...n,...r}),{}),IT=(e,t)=>t.filter(n=>typeof n.base<"u").map(n=>n.base).reverse().reduce((n,r)=>{if(!n.length){const s=Object.keys(r);for(let i=0;i<s.length;i+=1){const a=s[i].toLowerCase();if(e.indexOf(a)!==-1&&r[a])return n.concat(r)}}return n},[]),MT=e=>console&&typeof console.warn=="function"&&console.warn(e),Go=(e,t,n)=>{const r={};return n.filter(s=>Array.isArray(s[e])?!0:(typeof s[e]<"u"&&MT(`Helmet: ${e} should be of type "Array". Instead found type "${typeof s[e]}"`),!1)).map(s=>s[e]).reverse().reduce((s,i)=>{const o={};i.filter(c=>{let u;const d=Object.keys(c);for(let h=0;h<d.length;h+=1){const m=d[h],w=m.toLowerCase();t.indexOf(w)!==-1&&!(u==="rel"&&c[u].toLowerCase()==="canonical")&&!(w==="rel"&&c[w].toLowerCase()==="stylesheet")&&(u=w),t.indexOf(m)!==-1&&(m==="innerHTML"||m==="cssText"||m==="itemprop")&&(u=m)}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=>s.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 s},[]).reverse()},OT=(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},DT=e=>({baseTag:IT(["href"],e),bodyAttributes:Hd("bodyAttributes",e),defer:Qi(e,qi.DEFER),encode:Qi(e,qi.ENCODE_SPECIAL_CHARACTERS),htmlAttributes:Hd("htmlAttributes",e),linkTags:Go("link",["rel","href"],e),metaTags:Go("meta",["name","charset","http-equiv","property","itemprop"],e),noscriptTags:Go("noscript",["innerHTML"],e),onChangeClientState:RT(e),scriptTags:Go("script",["src","innerHTML"],e),styleTags:Go("style",["cssText"],e),title:AT(e),titleAttributes:Hd("titleAttributes",e),prioritizeSeoTags:OT(e,qi.PRIORITIZE_SEO_TAGS)}),qb=e=>Array.isArray(e)?e.join(""):e,LT=(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},Wd=(e,t)=>Array.isArray(e)?e.reduce((n,r)=>(LT(r,t)?n.priority.push(r):n.default.push(r),n),{priority:[],default:[]}):{default:e,priority:[]},Ly=(e,t)=>({...e,[t]:void 0}),FT=["noscript","script","style"],bh=(e,t=!0)=>t===!1?String(e):String(e).replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&#x27;"),Qb=e=>Object.keys(e).reduce((t,n)=>{const r=typeof e[n]<"u"?`${n}="${e[n]}"`:`${n}`;return t?`${t} ${r}`:r},""),VT=(e,t,n,r)=>{const s=Qb(n),i=qb(t);return s?`<${e} ${Kn}="true" ${s}>${bh(i,r)}</${e}>`:`<${e} ${Kn}="true">${bh(i,r)}</${e}>`},$T=(e,t,n=!0)=>t.reduce((r,s)=>{const i=s,o=Object.keys(i).filter(u=>!(u==="innerHTML"||u==="cssText")).reduce((u,d)=>{const f=typeof i[d]>"u"?d:`${d}="${bh(i[d],n)}"`;return u?`${u} ${f}`:f},""),a=i.innerHTML||i.cssText||"",c=FT.indexOf(e)===-1;return`${r}<${e} ${Kn}="true" ${o}${c?"/>":`>${a}</${e}>`}`},""),Xb=(e,t={})=>Object.keys(e).reduce((n,r)=>{const s=fp[r];return n[s||r]=e[r],n},t),BT=(e,t,n)=>{const r={key:t,[Kn]:!0},s=Xb(n,r);return[R.createElement("title",s,t)]},Nc=(e,t)=>t.map((n,r)=>{const s={key:r,[Kn]:!0};
40return Object.keys(n).forEach(i=>{const a=fp[i]||i;if(a==="innerHTML"||a==="cssText"){const c=n.innerHTML||n.cssText;s.dangerouslySetInnerHTML={__html:c}}else s[a]=n[i]}),R.createElement(e,s)}),yn=(e,t,n=!0)=>{switch(e){case"title":return{toComponent:()=>BT(e,t.title,t.titleAttributes),toString:()=>VT(e,t.title,t.titleAttributes,n)};case"bodyAttributes":case"htmlAttributes":return{toComponent:()=>Xb(t),toString:()=>Qb(t)};default:return{toComponent:()=>Nc(e,t),toString:()=>$T(e,t,n)}}},zT=({metaTags:e,linkTags:t,scriptTags:n,encode:r})=>{const s=Wd(e,Ud.meta),i=Wd(t,Ud.link),o=Wd(n,Ud.script);return{priorityMethods:{toComponent:()=>[...Nc("meta",s.priority),...Nc("link",i.priority),...Nc("script",o.priority)],toString:()=>`${yn("meta",s.priority,r)} ${yn("link",i.priority,r)} ${yn("script",o.priority,r)}`},metaTags:s.default,linkTags:i.default,scriptTags:o.default}},UT=e=>{const{baseTag:t,bodyAttributes:n,encode:r=!0,htmlAttributes:s,noscriptTags:i,styleTags:o,title:a="",titleAttributes:c,prioritizeSeoTags:u}=e;let{linkTags:d,metaTags:f,scriptTags:h}=e,m={toComponent:()=>{},toString:()=>""};return u&&({priorityMethods:m,linkTags:d,metaTags:f,scriptTags:h}=zT(e)),{priority:m,base:yn("base",t,r),bodyAttributes:yn("bodyAttributes",n,r),htmlAttributes:yn("htmlAttributes",s,r),link:yn("link",d,r),meta:yn("meta",f,r),noscript:yn("noscript",i,r),script:yn("script",h,r),style:yn("style",o,r),title:yn("title",{title:a,titleAttributes:c},r)}},jh=UT,Zl=[],Jb=!!(typeof window<"u"&&window.document&&window.document.createElement),Sh=class{constructor(e,t){vr(this,"instances",[]);vr(this,"canUseDOM",Jb);vr(this,"context");vr(this,"value",{setHelmet:e=>{this.context.helmet=e},helmetInstances:{get:()=>this.canUseDOM?Zl:this.instances,add:e=>{(this.canUseDOM?Zl:this.instances).push(e)},remove:e=>{const t=(this.canUseDOM?Zl:this.instances).indexOf(e);(this.canUseDOM?Zl:this.instances).splice(t,1)}}});this.context=e,this.canUseDOM=t||!1,t||(e.helmet=jh({baseTag:[],bodyAttributes:{},encodeSpecialCharacters:!0,htmlAttributes:{},linkTags:[],metaTags:[],noscriptTags:[],scriptTags:[],styleTags:[],title:"",titleAttributes:{}}))}},HT={},e1=R.createContext(HT),zs,t1=(zs=class extends x.Component{constructor(n){super(n);vr(this,"helmetData");this.helmetData=new Sh(this.props.context||{},zs.canUseDOM)}render(){return R.createElement(e1.Provider,{value:this.helmetData.value},this.props.children)}},vr(zs,"canUseDOM",Jb),zs),yi=(e,t)=>{const n=document.head||document.querySelector("head"),r=n.querySelectorAll(`${e}[${Kn}]`),s=[].slice.call(r),i=[];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(Kn,"true"),s.some((u,d)=>(o=d,c.isEqualNode(u)))?s.splice(o,1):i.push(c)}),s.forEach(a=>{var c;return(c=a.parentNode)==null?void 0:c.removeChild(a)}
40),i.forEach(a=>n.appendChild(a)),{oldTags:s,newTags:i}},Ch=(e,t)=>{const n=document.getElementsByTagName(e)[0];if(!n)return;const r=n.getAttribute(Kn),s=r?r.split(","):[],i=[...s],o=Object.keys(t);for(const a of o){const c=t[a]||"";n.getAttribute(a)!==c&&n.setAttribute(a,c),s.indexOf(a)===-1&&s.push(a);const u=i.indexOf(a);u!==-1&&i.splice(u,1)}for(let a=i.length-1;a>=0;a-=1)n.removeAttribute(i[a]);s.length===i.length?n.removeAttribute(Kn):n.getAttribute(Kn)!==o.join(",")&&n.setAttribute(Kn,o.join(","))},WT=(e,t)=>{typeof e<"u"&&document.title!==e&&(document.title=qb(e)),Ch("title",t)},Fy=(e,t)=>{const{baseTag:n,bodyAttributes:r,htmlAttributes:s,linkTags:i,metaTags:o,noscriptTags:a,onChangeClientState:c,scriptTags:u,styleTags:d,title:f,titleAttributes:h}=e;Ch("body",r),Ch("html",s),WT(f,h);const m={baseTag:yi("base",n),linkTags:yi("link",i),metaTags:yi("meta",o),noscriptTags:yi("noscript",a),scriptTags:yi("script",u),styleTags:yi("style",d)},w={},g={};Object.keys(m).forEach(b=>{const{newTags:y,oldTags:p}=m[b];y.length&&(w[b]=y),p.length&&(g[b]=m[b].oldTags)}),t&&t(),c(e,w,g)},Yo=null,KT=e=>{Yo&&cancelAnimationFrame(Yo),e.defer?Yo=requestAnimationFrame(()=>{Fy(e,()=>{Yo=null})}):(Fy(e),Yo=null)},GT=KT,Vy=class extends x.Component{constructor(){super(...arguments);vr(this,"rendered",!1)}shouldComponentUpdate(t){return!PT(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 s=DT(t.get().map(i=>{const o={...i.props};return delete o.context,o}));t1.canUseDOM?GT(s):jh&&(r=jh(s)),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}},Ef,YT=(Ef=class extends x.Component{shouldComponentUpdate(e){return!NT(Ly(this.props,"helmetData"),Ly(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 Oy(Dy.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 ${Dy.join(", ")} are allowed. Helmet does not support rendering <${e.type}> elements. Refer to our API for more information.`),Oy(!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 R.Children.forEach(e,r=>{if(!r||!r.props)return;const{children:s,...i}=r.props,o=Object.keys(i).reduce((c,u)=>(c[_T[u]||u]=i[u],c),{});let{type:a}=r;
40switch(typeof a=="symbol"?a=a.toString():this.warnOnInvalidChildren(r,s),a){case"Symbol(react.fragment)":t=this.mapChildrenToProps(s,t);break;case"link":case"meta":case"noscript":case"script":case"style":n=this.flattenArrayTypeChildren(r,n,o,s);break;default:t=this.mapObjectTypeChildren(r,t,o,s);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 Sh)){const s=r;r=new Sh(s.context,!0),delete n.helmetData}return r?R.createElement(Vy,{...n,context:r.value}):R.createElement(e1.Consumer,null,s=>R.createElement(Vy,{...n,context:s}))}},vr(Ef,"defaultProps",{defer:!0,encodeSpecialCharacters:!0,prioritizeSeoTags:!1}),Ef);const ZT=1,qT=1e6;let Kd=0;function QT(){return Kd=(Kd+1)%Number.MAX_SAFE_INTEGER,Kd.toString()}const Gd=new Map,$y=e=>{if(Gd.has(e))return;const t=setTimeout(()=>{Gd.delete(e),wa({type:"REMOVE_TOAST",toastId:e})},qT);Gd.set(e,t)},XT=(e,t)=>{switch(t.type){case"ADD_TOAST":return{...e,toasts:[t.toast,...e.toasts].slice(0,ZT)};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?$y(n):e.toasts.forEach(r=>{$y(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)}}},kc=[];let Tc={toasts:[]};function wa(e){Tc=XT(Tc,e),kc.forEach(t=>{t(Tc)})}function n1({...e}){const t=QT(),n=s=>wa({type:"UPDATE_TOAST",toast:{...s,id:t}}),r=()=>wa({type:"DISMISS_TOAST",toastId:t});return wa({type:"ADD_TOAST",toast:{...e,id:t,open:!0,onOpenChange:s=>{s||r()}}}),{id:t,dismiss:r,update:n}}function JT(){const[e,t]=x.useState(Tc);return x.useEffect(()=>(kc.push(t),()=>{const n=kc.indexOf(t);n>-1&&kc.splice(n,1)}),[e]),{...e,toast:n1,dismiss:n=>wa({type:"DISMISS_TOAST",toastId:n})}}function $e(e,t,{checkForDefaultPrevented:n=!0}={}){return function(s){if(e==null||e(s),n===!1||!s.defaultPrevented)return t==null?void 0:t(s)}}function By(e,t){if(typeof e=="function")return e(t);e!=null&&(e.current=t)}function r1(...e){return t=>{let n=!1;const r=e.map(s=>{const i=By(s,t);return!n&&typeof i=="function"&&(n=!0),i});if(n)return()=>{for(let s=0;s<r.length;s++){const i=r[s];typeof i=="function"?i():By(e[s],null)}}}}function Vt(...e){return x.useCallback(r1(...e),e)}function eE(e,t){const n=x.createContext(t),r=i=>{const{children:o,...a}=i,c=x.useMemo(()=>a,Object.values(a));return l.jsx(n.Provider,{value:c,children:o})};r.displayName=e+"Provider";function s(i){const o=x.useContext(n);if(o)return o;if(t!==void 0)return t;throw new Error(`\`${i}\` must be used within \`${e}\``)}return[r,s]}function vl(e,t=[]){let n=[];function r(i,o){const a=x.createContext(o),c=n.length;n=[...n,o];const u=f=>{var y;const{scope:h,children:m,...w}=f,g=((y=h==null?void 0:h[e])==null?void 0:y[c])||a,b=x.useMemo(()=>w,Object.values(w));return l.jsx(g.Provider,{value:b,children:m})};u.displayName=i+"Provider";function d(f,h){var g;const m=((g=h==null?void 0:h[e])==null?void 0:g[c])||a,w=x.useContext(m);if(w)return w;if(o!==void 0)return o;throw new Error(`\`${f}\` must be used within \`${i}\``)}return[u,d]}const s=()=>{const i=n.map(o=>x.createContext(o));return function(a){const c=(a==null?void 0:a[e])||i;return x.useMemo(()=>({[`__scope${e}`]:{...a,[e]:c}}),[a,c])}};return s.scopeName=e,[r,tE(s,...t)]}function tE(...e){const t=e[0];if(e.length===1)return t;const n=()=>{const r=e.map(s=>({useScope:s(),scopeName:s.scopeName}));return function(i){const o=r.reduce((a,{useScope:c,scopeName:u})=>{const f=c(i)[`__scope${u}`];return{...a,...f}},{});return x.useMemo(()=>({[`__scope${t.scopeName}`]:o}),[o])}};return n.scopeName=t.scopeName,n}function Wa(e){const t=nE(e),n=x.forwardRef((r,s)=>{const{children:i,...o}=r,a=x.Children.toArray(i),c=a.find(sE);if(c){const u=c.props.children,d=a.map(f=>f===c?x.Children.count(u)>1?x.Children.only(null):x.isValidElement(u)?u.props.children:null:f);return l.jsx(t,{...o,ref:s,children:x.isValidElement(u)?x.cloneElement(u,void 0,d):null})}return l.jsx(t,{...o,ref:s,children:i})});return n.displayName=`${e}.Slot`,n}var s1=Wa("Slot");function nE(e){const t=x.forwardRef((n,r)=>{const{children:s,...i}=n;
vendor: 9,537 bytes, line 40
40if(x.isValidElement(s)){const o=oE(s),a=iE(i,s.props);return s.type!==x.Fragment&&(a.ref=r?r1(r,o):o),x.cloneElement(s,a)}return x.Children.count(s)>1?x.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}var i1=Symbol("radix.slottable");function rE(e){const t=({children:n})=>l.jsx(l.Fragment,{children:n});return t.displayName=`${e}.Slottable`,t.__radixId=i1,t}function sE(e){return x.isValidElement(e)&&typeof e.type=="function"&&"__radixId"in e.type&&e.type.__radixId===i1}function iE(e,t){const n={...t};for(const r in t){const s=e[r],i=t[r];/^on[A-Z]/.test(r)?s&&i?n[r]=(...a)=>{const c=i(...a);return s(...a),c}:s&&(n[r]=s):r==="style"?n[r]={...s,...i}:r==="className"&&(n[r]=[s,i].filter(Boolean).join(" "))}return{...e,...n}}function oE(e){var r,s;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=(s=Object.getOwnPropertyDescriptor(e,"ref"))==null?void 0:s.get,n=t&&"isReactWarning"in t&&t.isReactWarning,n?e.props.ref:e.props.ref||e.ref)}function aE(e){const t=e+"CollectionProvider",[n,r]=vl(t),[s,i]=n(t,{collectionRef:{current:null},itemMap:new Map}),o=g=>{const{scope:b,children:y}=g,p=R.useRef(null),v=R.useRef(new Map).current;return l.jsx(s,{scope:b,itemMap:v,collectionRef:p,children:y})};o.displayName=t;const a=e+"CollectionSlot",c=Wa(a),u=R.forwardRef((g,b)=>{const{scope:y,children:p}=g,v=i(a,y),j=Vt(b,v.collectionRef);return l.jsx(c,{ref:j,children:p})});u.displayName=a;const d=e+"CollectionItemSlot",f="data-radix-collection-item",h=Wa(d),m=R.forwardRef((g,b)=>{const{scope:y,children:p,...v}=g,j=R.useRef(null),S=Vt(b,j),N=i(d,y);return R.useEffect(()=>(N.itemMap.set(j,{ref:j,...v}),()=>void N.itemMap.delete(j))),l.jsx(h,{[f]:"",ref:S,children:p})});m.displayName=d;function w(g){const b=i(e+"CollectionConsumer",g);return R.useCallback(()=>{const p=b.collectionRef.current;if(!p)return[];const v=Array.from(p.querySelectorAll(`[${f}]`));return Array.from(b.itemMap.values()).sort((N,k)=>v.indexOf(N.ref.current)-v.indexOf(k.ref.current))},[b.collectionRef,b.itemMap])}return[{Provider:o,Slot:u,ItemSlot:m},w,r]}var lE=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],st=lE.reduce((e,t)=>{const n=Wa(`Primitive.${t}`),r=x.forwardRef((s,i)=>{const{asChild:o,...a}=s,c=o?n:t;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),l.jsx(c,{...a,ref:i})});return r.displayName=`Primitive.${t}`,{...e,[t]:r}},{});function o1(e,t){e&&yl.flushSync(()=>e.dispatchEvent(t))}function pr(e){const t=x.useRef(e);return x.useEffect(()=>{t.current=e}),x.useMemo(()=>(...n)=>{var r;return(r=t.current)==null?void 0:r.call(t,...n)},[])}function cE(e,t=globalThis==null?void 0:globalThis.document){const n=pr(e);x.useEffect(()=>{const r=s=>{s.key==="Escape"&&n(s)};return t.addEventListener("keydown",r,{capture:!0}),()=>t.removeEventListener("keydown",r,{capture:!0})},[n,t])}var uE="DismissableLayer",Nh="dismissableLayer.update",dE="dismissableLayer.pointerDownOutside",fE="dismissableLayer.focusOutside",zy,a1=x.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),Yu=x.forwardRef((e,t)=>{const{disableOutsidePointerEvents:n=!1,onEscapeKeyDown:r,onPointerDownOutside:s,onFocusOutside:i,onInteractOutside:o,onDismiss:a,...c}=e,u=x.useContext(a1),[d,f]=x.useState(null),h=(d==null?void 0:d.ownerDocument)??(globalThis==null?void 0:globalThis.document),[,m]=x.useState({}),w=Vt(t,k=>f(k)),g=Array.from(u.layers),[b]=[...u.layersWithOutsidePointerEventsDisabled].slice(-1),y=g.indexOf(b),p=d?g.indexOf(d):-1,v=u.layersWithOutsidePointerEventsDisabled.size>0,j=p>=y,S=mE(k=>{const T=k.target,_=[...u.branches].some(M=>M.contains(T));!j||_||(s==null||s(k),o==null||o(k),k.defaultPrevented||a==null||a())},h),N=pE(k=>{const T=k.target;[...u.branches].some(M=>M.contains(T))||(i==null||i(k),o==null||o(k),k.defaultPrevented||a==null||a())},h);return cE(k=>{p===u.layers.size-1&&(r==null||r(k),!k.defaultPrevented&&a&&(k.preventDefault(),a()))},h),x.useEffect(()=>{if(d)return n&&(u.layersWithOutsidePointerEventsDisabled.size===0&&(zy=h.body.style.pointerEvents,h.body.style.pointerEvents="none"),u.layersWithOutsidePointerEventsDisabled.add(d)),u.layers.add(d),Uy(),()=>{n&&u.layersWithOutsidePointerEventsDisabled.size===1&&(h.body.style.pointerEvents=zy)}},[d,h,n,u]),x.useEffect(()=>()=>{d&&(u.layers.delete(d),u.layersWithOutsidePointerEventsDisabled.delete(d),Uy())},[d,u]),x.useEffect(()=>{const k=()=>m({});return document.addEventListener(Nh,k),()=>document.removeEventListener(Nh,k)},[]),l.jsx(st.div,{...c,ref:w,style:{pointerEvents:v?j?"auto":"none":void 0,...e.style},onFocusCapture:$e(e.onFocusCapture,N.onFocusCapture),onBlurCapture:$e(e.onBlurCapture,N.onBlurCapture),onPointerDownCapture:$e(e.onPointerDownCapture,S.onPointerDownCapture)})});Yu.displayName=uE;var hE="DismissableLayerBranch",l1=x.forwardRef((e,t)=>{const n=x.useContext(a1),r=x.useRef(null),s=Vt(t,r);return x.useEffect(()=>{const i=r.current;if(i)return n.branches.add(i),()=>{n.branches.delete(i)}},[n.branches]),l.jsx(st.div,{...e,ref:s})});l1.displayName=hE;function mE(e,t=globalThis==null?void 0:globalThis.document){const n=pr(e),r=x.useRef(!1),s=x.useRef(()=>{});return x.useEffect(()=>{const i=a=>{if(a.target&&!r.current){let c=function(){c1(dE,n,u,{discrete:!0})};const u={originalEvent:a};a.pointerType==="touch"?(t.removeEventListener("click",s.current),s.current=c,t.addEventListener("click",s.current,{once:!0})):c()}else t.removeEventListener("click",s.current);r.current=!1},o=window.setTimeout(()=>{t.addEventListener("pointerdown",i)},0);return()=>{window.clearTimeout(o),t.removeEventListener("pointerdown",i),t.removeEventListener("click",s.current)}},[t,n]),{onPointerDownCapture:()=>r.current=!0}}function pE(e,t=globalThis==null?void 0:globalThis.document){const n=pr(e),r=x.useRef(!1);return x.useEffect(()=>{const s=i=>{i.target&&!r.current&&c1(fE,n,{originalEvent:i},{discrete:!1})};return t.addEventListener("focusin",s),()=>t.removeEventListener("focusin",s)},[t,n]),{onFocusCapture:()=>r.current=!0,onBlurCapture:()=>r.current=!1}}function Uy(){const e=new CustomEvent(Nh);document.dispatchEvent(e)}function c1(e,t,n,{discrete:r}){const s=n.originalEvent.target,i=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:n});t&&s.addEventListener(e,t,{once:!0}),r?o1(s,i):s.dispatchEvent(i)}var gE=Yu,yE=l1,Ir=globalThis!=null&&globalThis.document?x.useLayoutEffect:()=>{},vE="Portal",hp=x.forwardRef((e,t)=>{var a;const{container:n,...r}=e,[s,i]=x.useState(!1);Ir(()=>i(!0),[]);const o=n||s&&((a=globalThis==null?void 0:globalThis.document)==null?void 0:a.body);return o?Gb.createPortal(l.jsx(st.div,{...r,ref:t}),o):null});hp.displayName=vE;function xE(e,t){return x.useReducer((n,r)=>t[n][r]??n,e)}var Po=e=>{const{present:t,children:n}=e,r=wE(t),s=typeof n=="function"?n({present:r.isPresent}):x.Children.only(n),i=Vt(r.ref,bE(s));return typeof n=="function"||r.isPresent?x.cloneElement(s,{ref:i}):null};Po.displayName="Presence";function wE(e){const[t,n]=x.useState(),r=x.useRef(null),s=x.useRef(e),i=x.useRef("none"),o=e?"mounted":"unmounted",[a,c]=xE(o,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return x.useEffect(()=>{const u=ql(r.current);i.current=a==="mounted"?u:"none"},[a]),Ir(()=>{const u=r.current,d=s.current;if(d!==e){const h=i.current,m=ql(u);e?c("MOUNT"):m==="none"||(u==null?void 0:u.display)==="none"?c("UNMOUNT"):c(d&&h!==m?"ANIMATION_OUT":"UNMOUNT"),s.current=e}},[e,c]),Ir(()=>{if(t){let u;const d=t.ownerDocument.defaultView??window,f=m=>{const g=ql(r.current).includes(m.animationName);if(m.target===t&&g&&(c("ANIMATION_END"),!s.current)){const b=t.style.animationFillMode;t.style.animationFillMode="forwards",u=d.setTimeout(()=>{t.style.animationFillMode==="forwards"&&(t.style.animationFillMode=b)})}},h=m=>{m.target===t&&(i.current=ql(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:x.useCallback(u=>{r.current=u?getComputedStyle(u):null,n(u)},[])}}function ql(e){return(e==null?void 0:e.animationName)||"none"}function bE(e){var r,s;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=(s=Object.getOwnPropertyDescriptor(e,"ref"))==null?void 0:s.get,n=t&&"isReactWarning"in t&&t.isReactWarning,n?e.props.ref:e.props.ref||e.ref)}var jE=bm[" useInsertionEffect ".trim().toString()]||Ir;function u1({prop:e,defaultProp:t,onChange:n=()=>{},caller:r}){const[s,i,o]=SE({defaultProp:t,onChange:n}),a=e!==void 0,c=a?e:s;{const d=x.useRef(e!==void 0);x.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=x.useCallback(d=>{var f;if(a){const h=CE(d)?d(e):d;h!==e&&((f=o.current)==null||f.call(o,h))}else i(d)},[a,e,i,o]);return[c,u]}function SE({defaultProp:e,onChange:t}
40){const[n,r]=x.useState(e),s=x.useRef(n),i=x.useRef(t);return jE(()=>{i.current=t},[t]),x.useEffect(()=>{var o;s.current!==n&&((o=i.current)==null||o.call(i,n),s.current=n)},[n,s]),[n,r,i]}function CE(e){return typeof e=="function"}var NE=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"}),kE="VisuallyHidden",Zu=x.forwardRef((e,t)=>l.jsx(st.span,{...e,ref:t,style:{...NE,...e.style}}));Zu.displayName=kE;var TE=Zu,mp="ToastProvider",[pp,EE,PE]=aE("Toast"),[d1,v$]=vl("Toast",[PE]),[_E,qu]=d1(mp),f1=e=>{const{__scopeToast:t,label:n="Notification",duration:r=5e3,swipeDirection:s="right",swipeThreshold:i=50,children:o}=e,[a,c]=x.useState(null),[u,d]=x.useState(0),f=x.useRef(!1),h=x.useRef(!1);return n.trim()||console.error(`Invalid prop \`label\` supplied to \`${mp}\`. Expected non-empty \`string\`.`),l.jsx(pp.Provider,{scope:t,children:l.jsx(_E,{scope:t,label:n,duration:r,swipeDirection:s,swipeThreshold:i,toastCount:u,viewport:a,onViewportChange:c,onToastAdd:x.useCallback(()=>d(m=>m+1),[]),onToastRemove:x.useCallback(()=>d(m=>m-1),[]),isFocusedToastEscapeKeyDownRef:f,isClosePausedRef:h,children:o})})};f1.displayName=mp;var h1="ToastViewport",AE=["F8"],kh="toast.viewportPause",Th="toast.viewportResume",m1=x.forwardRef((e,t)=>{const{__scopeToast:n,hotkey:r=AE,label:s="Notifications ({hotkey})",...i}=e,o=qu(h1,n),a=EE(n),c=x.useRef(null),u=x.useRef(null),d=x.useRef(null),f=x.useRef(null),h=Vt(t,f,o.onViewportChange),m=r.join("+").replace(/Key/g,"").replace(/Digit/g,""),w=o.toastCount>0;x.useEffect(()=>{const b=y=>{var v;r.length!==0&&r.every(j=>y[j]||y.code===j)&&((v=f.current)==null||v.focus())};return document.addEventListener("keydown",b),()=>document.removeEventListener("keydown",b)},[r]),x.useEffect(()=>{const b=c.current,y=f.current;if(w&&b&&y){const p=()=>{if(!o.isClosePausedRef.current){const N=new CustomEvent(kh);y.dispatchEvent(N),o.isClosePausedRef.current=!0}},v=()=>{if(o.isClosePausedRef.current){const N=new CustomEvent(Th);y.dispatchEvent(N),o.isClosePausedRef.current=!1}},j=N=>{!b.contains(N.relatedTarget)&&v()},S=()=>{b.contains(document.activeElement)||v()};return b.addEventListener("focusin",p),b.addEventListener("focusout",j),b.addEventListener("pointermove",p),b.addEventListener("pointerleave",S),window.addEventListener("blur",p),window.addEventListener("focus",v),()=>{b.removeEventListener("focusin",p),b.removeEventListener("focusout",j),b.removeEventListener("pointermove",p),b.removeEventListener("pointerleave",S),window.removeEventListener("blur",p),window.removeEventListener("focus",v)}}},[w,o.isClosePausedRef]);const g=x.useCallback(({tabbingDirection:b})=>{const p=a().map(v=>{const j=v.ref.current,S=[j,...HE(j)];return b==="forwards"?S:S.reverse()});return(b==="forwards"?p.reverse():p).flat()},[a]);return x.useEffect(()=>{const b=f.current;if(b){const y=p=>{var S,N,k;const v=p.altKey||p.ctrlKey||p.metaKey;if(p.key==="Tab"&&!v){const T=document.activeElement,_=p.shiftKey;if(p.target===b&&_){(S=u.current)==null||S.focus();return}const D=g({tabbingDirection:_?"backwards":"forwards"}),W=D.findIndex(L=>L===T);Yd(D.slice(W+1))?p.preventDefault():_?(N=u.current)==null||N.focus():(k=d.current)==null||k.focus()}};return b.addEventListener("keydown",y),()=>b.removeEventListener("keydown",y)}},[a,g]),l.jsxs(yE,{ref:c,role:"region","aria-label":s.replace("{hotkey}",m),tabIndex:-1,style:{pointerEvents:w?void 0:"none"},children:[w&&l.jsx(Eh,{ref:u,onFocusFromOutsideViewport:()=>{const b=g({tabbingDirection:"forwards"});Yd(b)}}),l.jsx(pp.Slot,{scope:n,children:l.jsx(st.ol,{tabIndex:-1,...i,ref:h})}),w&&l.jsx(Eh,{ref:d,onFocusFromOutsideViewport:()=>{const b=g({tabbingDirection:"backwards"});Yd(b)}})]})});m1.displayName=h1;var p1="ToastFocusProxy",Eh=x.forwardRef((e,t)=>{const{__scopeToast:n,onFocusFromOutsideViewport:r,...s}=e,i=qu(p1,n);return l.jsx(Zu,{"aria-hidden":!0,tabIndex:0,...s,ref:t,style:{position:"fixed"},onFocus:o=>{var u;const a=o.relatedTarget;!((u=i.viewport)!=null&&u.contains(a))&&r()}})});Eh.displayName=p1;var xl="Toast",RE="toast.swipeStart",IE="toast.swipeMove",ME="toast.swipeCancel",OE="toast.swipeEnd",g1=x.forwardRef((e,t)=>
40{const{forceMount:n,open:r,defaultOpen:s,onOpenChange:i,...o}=e,[a,c]=u1({prop:r,defaultProp:s??!0,onChange:i,caller:xl});return l.jsx(Po,{present:n||a,children:l.jsx(FE,{open:a,...o,ref:t,onClose:()=>c(!1),onPause:pr(e.onPause),onResume:pr(e.onResume),onSwipeStart:$e(e.onSwipeStart,u=>{u.currentTarget.setAttribute("data-swipe","start")}),onSwipeMove:$e(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:$e(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:$e(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)})})})});g1.displayName=xl;var[DE,LE]=d1(xl,{onClose(){}}),FE=x.forwardRef((e,t)=>{const{__scopeToast:n,type:r="foreground",duration:s,open:i,onClose:o,onEscapeKeyDown:a,onPause:c,onResume:u,onSwipeStart:d,onSwipeMove:f,onSwipeCancel:h,onSwipeEnd:m,...w}=e,g=qu(xl,n),[b,y]=x.useState(null),p=Vt(t,L=>y(L)),v=x.useRef(null),j=x.useRef(null),S=s||g.duration,N=x.useRef(0),k=x.useRef(S),T=x.useRef(0),{onToastAdd:_,onToastRemove:M}=g,V=pr(()=>{var Q;(b==null?void 0:b.contains(document.activeElement))&&((Q=g.viewport)==null||Q.focus()),o()}),D=x.useCallback(L=>{!L||L===1/0||(window.clearTimeout(T.current),N.current=new Date().getTime(),T.current=window.setTimeout(V,L))},[V]);x.useEffect(()=>{const L=g.viewport;if(L){const Q=()=>{D(k.current),u==null||u()},Z=()=>{const K=new Date().getTime()-N.current;k.current=k.current-K,window.clearTimeout(T.current),c==null||c()};return L.addEventListener(kh,Z),L.addEventListener(Th,Q),()=>{L.removeEventListener(kh,Z),L.removeEventListener(Th,Q)}}},[g.viewport,S,c,u,D]),x.useEffect(()=>{i&&!g.isClosePausedRef.current&&D(S)},[i,S,g.isClosePausedRef,D]),x.useEffect(()=>(_(),()=>M()),[_,M]);const W=x.useMemo(()=>b?S1(b):null,[b]);return g.viewport?l.jsxs(l.Fragment,{children:[W&&l.jsx(VE,{__scopeToast:n,role:"status","aria-live":r==="foreground"?"assertive":"polite","aria-atomic":!0,children:W}),l.jsx(DE,{scope:n,onClose:V,children:yl.createPortal(l.jsx(pp.ItemSlot,{scope:n,children:l.jsx(gE,{asChild:!0,onEscapeKeyDown:$e(a,()=>{g.isFocusedToastEscapeKeyDownRef.current||V(),g.isFocusedToastEscapeKeyDownRef.current=!1}),children:l.jsx(st.li,{role:"status","aria-live":"off","aria-atomic":!0,tabIndex:0,"data-state":i?"open":"closed","data-swipe-direction":g.swipeDirection,...w,ref:p,style:{userSelect:"none",touchAction:"none",...e.style},onKeyDown:$e(e.onKeyDown,L=>{L.key==="Escape"&&(a==null||a(L.nativeEvent),L.nativeEvent.defaultPrevented||(g.isFocusedToastEscapeKeyDownRef.current=!0,V()))}),onPointerDown:$e(e.onPointerDown,L=>{L.button===0&&(v.current={x:L.clientX,y:L.clientY})}),onPointerMove:$e(e.onPointerMove,L=>{if(!v.current)return;const Q=L.clientX-v.current.x,Z=L.clientY-v.current.y,K=!!j.current,P=["left","right"].includes(g.swipeDirection),A=["left","up"].includes(g.swipeDirection)?Math.min:Math.max,z=P?A(0,Q):0,se=P?0:A(0,Z),te=L.pointerType==="touch"?10:2,le={x:z,y:se},ie={originalEvent:L,delta:le};K?(j.current=le,Ql(IE,f,ie,{discrete:!1})):Hy(le,g.swipeDirection,te)?(j.current=le,Ql(RE,d,ie,{discrete:!1}),L.target.setPointerCapture(L.pointerId)):(Math.abs(Q)>te||Math.abs(Z)>te)&&(v.current=null)}),onPointerUp:$e(e.onPointerUp,L=>{const Q=j.current,Z=L.target;if(Z.hasPointerCapture(L.pointerId)&&Z.releasePointerCapture(L.pointerId),j.current=null,v.current=null,Q){const K=L.currentTarget,P={originalEvent:L,delta:Q};Hy(Q,g.swipeDirection,g.swipeThreshold)?Ql(OE,m,P,{discrete:!0}):Ql(ME,h,P,{discrete:!0}),K.addEventListener("click",A=>A.preventDefault(),{once:!0})}})})})}),g.viewport)})]}):null}),VE=e=>{const{__scopeToast:t,children:n,...r}=e,s=qu(xl,t),[i,o]=x.useState(!1),[a,c]=x.useState(!1);return zE(()=>o(!0)),x.useEffect(()=>{const u=window.setTimeout(()=>c(!0),1e3);return()=>window.clearTimeout(u)},[]),a?null:l.jsx(hp,{asChild:!0,children:l.jsx(Zu,{...r,children:i&&l.jsxs(l.Fragment,{children:[s.label," ",n]})})})},$E="ToastTitle",y1=x.forwardRef((e,t)=>
vendor: 6,152 bytes, lines 40-80
40{const{__scopeToast:n,...r}=e;return l.jsx(st.div,{...r,ref:t})});y1.displayName=$E;var BE="ToastDescription",v1=x.forwardRef((e,t)=>{const{__scopeToast:n,...r}=e;return l.jsx(st.div,{...r,ref:t})});v1.displayName=BE;var x1="ToastAction",w1=x.forwardRef((e,t)=>{const{altText:n,...r}=e;return n.trim()?l.jsx(j1,{altText:n,asChild:!0,children:l.jsx(gp,{...r,ref:t})}):(console.error(`Invalid prop \`altText\` supplied to \`${x1}\`. Expected non-empty \`string\`.`),null)});w1.displayName=x1;var b1="ToastClose",gp=x.forwardRef((e,t)=>{const{__scopeToast:n,...r}=e,s=LE(b1,n);return l.jsx(j1,{asChild:!0,children:l.jsx(st.button,{type:"button",...r,ref:t,onClick:$e(e.onClick,s.onClose)})})});gp.displayName=b1;var j1=x.forwardRef((e,t)=>{const{__scopeToast:n,altText:r,...s}=e;return l.jsx(st.div,{"data-radix-toast-announce-exclude":"","data-radix-toast-announce-alt":r||void 0,...s,ref:t})});function S1(e){const t=[];return Array.from(e.childNodes).forEach(r=>{if(r.nodeType===r.TEXT_NODE&&r.textContent&&t.push(r.textContent),UE(r)){const s=r.ariaHidden||r.hidden||r.style.display==="none",i=r.dataset.radixToastAnnounceExclude==="";if(!s)if(i){const o=r.dataset.radixToastAnnounceAlt;o&&t.push(o)}else t.push(...S1(r))}}),t}function Ql(e,t,n,{discrete:r}){const s=n.originalEvent.currentTarget,i=new CustomEvent(e,{bubbles:!0,cancelable:!0,detail:n});t&&s.addEventListener(e,t,{once:!0}),r?o1(s,i):s.dispatchEvent(i)}var Hy=(e,t,n=0)=>{const r=Math.abs(e.x),s=Math.abs(e.y),i=r>s;return t==="left"||t==="right"?i&&r>n:!i&&s>n};function zE(e=()=>{}){const t=pr(e);Ir(()=>{let n=0,r=0;return n=window.requestAnimationFrame(()=>r=window.requestAnimationFrame(t)),()=>{window.cancelAnimationFrame(n),window.cancelAnimationFrame(r)}},[t])}function UE(e){return e.nodeType===e.ELEMENT_NODE}function HE(e){const t=[],n=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:r=>{const s=r.tagName==="INPUT"&&r.type==="hidden";return r.disabled||r.hidden||s?NodeFilter.FILTER_SKIP:r.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;n.nextNode();)t.push(n.currentNode);return t}function Yd(e){const t=document.activeElement;return e.some(n=>n===t?!0:(n.focus(),document.activeElement!==t))}var WE=f1,C1=m1,N1=g1,k1=y1,T1=v1,E1=w1,P1=gp;function _1(e){var t,n,r="";if(typeof e=="string"||typeof e=="number")r+=e;else if(typeof e=="object")if(Array.isArray(e)){var s=e.length;for(t=0;t<s;t++)e[t]&&(n=_1(e[t]))&&(r&&(r+=" "),r+=n)}else for(n in e)e[n]&&(r&&(r+=" "),r+=n);return r}function A1(){for(var e,t,n=0,r="",s=arguments.length;n<s;n++)(e=arguments[n])&&(t=_1(e))&&(r&&(r+=" "),r+=t);return r}const Wy=e=>typeof e=="boolean"?`${e}`:e===0?"0":e,Ky=A1,Qu=(e,t)=>n=>{var r;if((t==null?void 0:t.variants)==null)return Ky(e,n==null?void 0:n.class,n==null?void 0:n.className);const{variants:s,defaultVariants:i}=t,o=Object.keys(s).map(u=>{const d=n==null?void 0:n[u],f=i==null?void 0:i[u];if(d===null)return null;const h=Wy(d)||Wy(f);return s[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,...m}=d;return Object.entries(m).every(w=>{let[g,b]=w;return Array.isArray(b)?b.includes({...i,...a}[g]):{...i,...a}[g]===b})?[...u,f,h]:u},[]);return Ky(e,o,c,n==null?void 0:n.class,n==null?void 0:n.className)};/**
41 * @license lucide-react v0.462.0 - ISC
42 *
43 * This source code is licensed under the ISC license.
44 * See the LICENSE file in the root directory of this source tree.
45 */const KE=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),R1=(...e)=>e.filter((t,n,r)=>!!t&&t.trim()!==""&&r.indexOf(t)===n).join(" ").trim();/**
46 * @license lucide-react v0.462.0 - ISC
47 *
48 * This source code is licensed under the ISC license.
49 * See the LICENSE file in the root directory of this source tree.
50 */var GE={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};/**
51 * @license lucide-react v0.462.0 - ISC
52 *
53 * This source code is licensed under the ISC license.
54 * See the LICENSE file in the root directory of this source tree.
55 */const YE=x.forwardRef(({color:e="currentColor",size:t=24,strokeWidth:n=2,absoluteStrokeWidth:r,className:s="",children:i,iconNode:o,...a},c)=>x.createElement("svg",{ref:c,...GE,width:t,height:t,stroke:e,strokeWidth:r?Number(n)*24/Number(t):n,className:R1("lucide",s),...a},[...o.map(([u,d])=>x.createElement(u,d)),...Array.isArray(i)?i:[i]]));/**
56 * @license lucide-react v0.462.0 - ISC
57 *
58 * This source code is licensed under the ISC license.
59 * See the LICENSE file in the root directory of this source tree.
60 */const et=(e,t)=>{const n=x.forwardRef(({className:r,...s},i)=>x.createElement(YE,{ref:i,iconNode:t,className:R1(`lucide-${KE(e)}`,r),...s}));return n.displayName=`${e}`,n};/**
61 * @license lucide-react v0.462.0 - ISC
62 *
63 * This source code is licensed under the ISC license.
64 * See the LICENSE file in the root directory of this source tree.
65 */const I1=et("ArrowLeft",[["path",{d:"m12 19-7-7 7-7",key:"1l729n"}],["path",{d:"M19 12H5",key:"x3x0zl"}]]);/**
66 * @license lucide-react v0.462.0 - ISC
67 *
68 * This source code is licensed under the ISC license.
69 * See the LICENSE file in the root directory of this source tree.
70 */const M1=et("ArrowRight",[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"m12 5 7 7-7 7",key:"xquz4c"}]]);/**
71 * @license lucide-react v0.462.0 - ISC
72 *
73 * This source code is licensed under the ISC license.
74 * See the LICENSE file in the root directory of this source tree.
75 */const pt=et("Calendar",[["path",{d:"M8 2v4",key:"1cmpym"}],["path",{d:"M16 2v4",key:"4m81vk"}],["rect",{width:"18",height:"18",x:"3",y:"4",rx:"2",key:"1hopcy"}],["path",{d:"M3 10h18",key:"8toen8"}]]);/**
76 * @license lucide-react v0.462.0 - ISC
77 *
78 * This source code is licensed under the ISC license.
79 * See the LICENSE file in the root directory of this source tree.
80 */const ZE=et("ChartNoAxesColumnIncreasing",[["line",{x1:"12",x2:"12",y1:"20",y2:"10",key:"1vz5eb"}],["line",{x1:"18",x2:"18",y1:"20",y2:"4",key:"cun8e5"}
80],["line",{x1:"6",x2:"6",y1:"20",y2:"16",key:"hq0ia6"}]]);/**
81 * @license lucide-react v0.462.0 - ISC
82 *
83 * This source code is licensed under the ISC license.
84 * See the LICENSE file in the root directory of this source tree.
85 */const O1=et("ChevronLeft",[["path",{d:"m15 18-6-6 6-6",key:"1wnfg3"}]]);/**
86 * @license lucide-react v0.462.0 - ISC
87 *
88 * This source code is licensed under the ISC license.
89 * See the LICENSE file in the root directory of this source tree.
90 */const D1=et("ChevronRight",[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]]);/**
91 * @license lucide-react v0.462.0 - ISC
92 *
93 * This source code is licensed under the ISC license.
94 * See the LICENSE file in the root directory of this source tree.
95 */const qE=et("Clock",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["polyline",{points:"12 6 12 12 16 14",key:"68esgv"}]]);/**
96 * @license lucide-react v0.462.0 - ISC
97 *
98 * This source code is licensed under the ISC license.
99 * See the LICENSE file in the root directory of this source tree.
100 */const QE=et("Droplets",[["path",{d:"M7 16.3c2.2 0 4-1.83 4-4.05 0-1.16-.57-2.26-1.71-3.19S7.29 6.75 7 5.3c-.29 1.45-1.14 2.84-2.29 3.76S3 11.1 3 12.25c0 2.22 1.8 4.05 4 4.05z",key:"1ptgy4"}],["path",{d:"M12.56 6.6A10.97 10.97 0 0 0 14 3.02c.5 2.5 2 4.9 4 6.5s3 3.5 3 5.5a6.98 6.98 0 0 1-11.91 4.97",key:"1sl1rz"}]]);/**
101 * @license lucide-react v0.462.0 - ISC
102 *
103 * This source code is licensed under the ISC license.
104 * See the LICENSE file in the root directory of this source tree.
105 */const pn=et("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"}]]);/**
106 * @license lucide-react v0.462.0 - ISC
107 *
108 * This source code is licensed under the ISC license.
109 * See the LICENSE file in the root directory of this source tree.
110 */const XE=et("Globe",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 2a14.5 14.5 0 0 0 0 20 14.5 14.5 0 0 0 0-20",key:"13o1zl"}],["path",{d:"M2 12h20",key:"9i4pu4"}]]);/**
111 * @license lucide-react v0.462.0 - ISC
112 *
113 * This source code is licensed under the ISC license.
114 * See the LICENSE file in the root directory of this source tree.
115 */const JE=et("Leaf",[["path",{d:"M11 20A7 7 0 0 1 9.8 6.1C15.5 5 17 4.48 19 2c1 2 2 4.18 2 8 0 5.5-4.78 10-10 10Z",key:"nnexq3"}],["path",{d:"M2 21c0-3 1.85-5.36 5.08-6C9.5 14.52 12 13 13 12",key:"mt58a7"}]]);/**
116 * @license lucide-react v0.462.0 - ISC
117 *
118 * This source code is licensed under the ISC license.
119 * See the LICENSE file in the root directory of this source tree.
120 */const Zd=et("Linkedin",[["path",{d:"M16 8a6 6 0 0 1 6 6v7h-4v-7a2 2 0 0 0-2-2 2 2 0 0 0-2 2v7h-4v-7a6 6 0 0 1 6-6z",key:"c2jq9f"}],["rect",{width:"4",height:"12",x:"2",y:"9",key:"mk3on5"}],["circle",{cx:"4",cy:"4",r:"2",key:"bt5ra8"}]]);/**
121 * @license lucide-react v0.462.0 - ISC
122 *
123 * This source code is licensed under the ISC license.
124 * See the LICENSE file in the root directory of this source tree.
125 */const yp=et("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"}]]);/**
126 * @license lucide-react v0.462.0 - ISC
127 *
128 * This source code is licensed under the ISC license.
129 * See the LICENSE file in the root directory of this source tree.
130 */const eP=et("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"}]]);/**
131 * @license lucide-react v0.462.0 - ISC
132 *
133 * This source code is licensed under the ISC license.
134 * See the LICENSE file in the root directory of this source tree.
135 */const L1=et("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"}]]);/**
136 * @license lucide-react v0.462.0 - ISC
137 *
138 * This source code is licensed under the ISC license.
139 * See the LICENSE file in the root directory of this source tree.
140 */const F1=et("Quote",[["path",{d:"M16 3a2 2 0 0 0-2 2v6a2 2 0 0 0 2 2 1 1 0 0 1 1 1v1a2 2 0 0 1-2 2 1 1 0 0 0-1 1v2a1 1 0 0 0 1 1 6 6 0 0 0 6-6V5a2 2 0 0 0-2-2z",key:"rib7q0"}],["path",{d:"M5 3a2 2 0 0 0-2 2v6a2 2 0 0 0 2 2 1 1 0 0 1 1 1v1a2 2 0 0 1-2 2 1 1 0 0 0-1 1v2a1 1 0 0 0 1 1 6 6 0 0 0 6-6V5a2 2 0 0 0-2-2z",key:"1ymkrd"}]]);/**
141 * @license lucide-react v0.462.0 - ISC
142 *
143 * This source code is licensed under the ISC license.
144 * See the LICENSE file in the root directory of this source tree.
145 */const tP=et("Shield",[["path",{d:"M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z",ke
vendor: 9,336 bytes, lines 145-170
145y:"oel41y"}]]);/**
146 * @license lucide-react v0.462.0 - ISC
147 *
148 * This source code is licensed under the ISC license.
149 * See the LICENSE file in the root directory of this source tree.
150 */const nP=et("Sprout",[["path",{d:"M7 20h10",key:"e6iznv"}],["path",{d:"M10 20c5.5-2.5.8-6.4 3-10",key:"161w41"}],["path",{d:"M9.5 9.4c1.1.8 1.8 2.2 2.3 3.7-2 .4-3.5.4-4.8-.3-1.2-.6-2.3-1.9-3-4.2 2.8-.5 4.4 0 5.5.8z",key:"9gtqwd"}],["path",{d:"M14.1 6a7 7 0 0 0-1.1 4c1.9-.1 3.3-.6 4.3-1.4 1-1 1.6-2.3 1.7-4.6-2.7.1-4 1-4.9 2z",key:"bkxnd2"}]]);/**
151 * @license lucide-react v0.462.0 - ISC
152 *
153 * This source code is licensed under the ISC license.
154 * See the LICENSE file in the root directory of this source tree.
155 */const rP=et("Target",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["circle",{cx:"12",cy:"12",r:"6",key:"1vlfrh"}],["circle",{cx:"12",cy:"12",r:"2",key:"1c9p78"}]]);/**
156 * @license lucide-react v0.462.0 - ISC
157 *
158 * This source code is licensed under the ISC license.
159 * See the LICENSE file in the root directory of this source tree.
160 */const sP=et("TrendingDown",[["polyline",{points:"22 17 13.5 8.5 8.5 13.5 2 7",key:"1r2t7k"}],["polyline",{points:"16 17 22 17 22 11",key:"11uiuu"}]]);/**
161 * @license lucide-react v0.462.0 - ISC
162 *
163 * This source code is licensed under the ISC license.
164 * See the LICENSE file in the root directory of this source tree.
165 */const iP=et("Users",[["path",{d:"M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2",key:"1yyitq"}],["circle",{cx:"9",cy:"7",r:"4",key:"nufk8"}],["path",{d:"M22 21v-2a4 4 0 0 0-3-3.87",key:"kshegd"}],["path",{d:"M16 3.13a4 4 0 0 1 0 7.75",key:"1da9ce"}]]);/**
166 * @license lucide-react v0.462.0 - ISC
167 *
168 * This source code is licensed under the ISC license.
169 * See the LICENSE file in the root directory of this source tree.
170 */const V1=et("X",[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]]),vp="-",oP=e=>{const t=lP(e),{conflictingClassGroups:n,conflictingClassGroupModifiers:r}=e;return{getClassGroupId:o=>{const a=o.split(vp);return a[0]===""&&a.length!==1&&a.shift(),$1(a,t)||aP(o)},getConflictingClassGroupIds:(o,a)=>{const c=n[o]||[];return a&&r[o]?[...c,...r[o]]:c}}},$1=(e,t)=>{var o;if(e.length===0)return t.classGroupId;const n=e[0],r=t.nextPart.get(n),s=r?$1(e.slice(1),r):void 0;if(s)return s;if(t.validators.length===0)return;const i=e.join(vp);return(o=t.validators.find(({validator:a})=>a(i)))==null?void 0:o.classGroupId},Gy=/^\[(.+)\]$/,aP=e=>{if(Gy.test(e)){const t=Gy.exec(e)[1],n=t==null?void 0:t.substring(0,t.indexOf(":"));if(n)return"arbitrary.."+n}},lP=e=>{const{theme:t,prefix:n}=e,r={nextPart:new Map,validators:[]};return uP(Object.entries(e.classGroups),n).forEach(([i,o])=>{Ph(o,r,i,t)}),r},Ph=(e,t,n,r)=>{e.forEach(s=>{if(typeof s=="string"){const i=s===""?t:Yy(t,s);i.classGroupId=n;return}if(typeof s=="function"){if(cP(s)){Ph(s(r),t,n,r);return}t.validators.push({validator:s,classGroupId:n});return}Object.entries(s).forEach(([i,o])=>{Ph(o,Yy(t,i),n,r)})})},Yy=(e,t)=>{let n=e;return t.split(vp).forEach(r=>{n.nextPart.has(r)||n.nextPart.set(r,{nextPart:new Map,validators:[]}),n=n.nextPart.get(r)}),n},cP=e=>e.isThemeGetter,uP=(e,t)=>t?e.map(([n,r])=>{const s=r.map(i=>typeof i=="string"?t+i:typeof i=="object"?Object.fromEntries(Object.entries(i).map(([o,a])=>[t+o,a])):i);return[n,s]}):e,dP=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,n=new Map,r=new Map;const s=(i,o)=>{n.set(i,o),t++,t>e&&(t=0,r=n,n=new Map)};return{get(i){let o=n.get(i);if(o!==void 0)return o;if((o=r.get(i))!==void 0)return s(i,o),o},set(i,o){n.has(i)?n.set(i,o):s(i,o)}}},B1="!",fP=e=>{const{separator:t,experimentalParseClassName:n}=e,r=t.length===1,s=t[0],i=t.length,o=a=>{const c=[];let u=0,d=0,f;for(let b=0;b<a.length;b++){let y=a[b];if(u===0){if(y===s&&(r||a.slice(b,b+i)===t)){c.push(a.slice(d,b)),d=b+i;continue}if(y==="/"){f=b;continue}}y==="["?u++:y==="]"&&u--}const h=c.length===0?a:a.substring(d),m=h.startsWith(B1),w=m?h.substring(1):h,g=f&&f>d?f-d:void 0;return{modifiers:c,hasImportantModifier:m,baseClassName:w,maybePostfixModifierPosition:g}};return n?a=>n({className:a,parseClassName:o}):o},hP=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},mP=e=>({cache:dP(e.cacheSize),parseClassName:fP(e),...oP(e)}),pP=/\s+/,gP=(e,t)=>{const{parseClassName:n,getClassGroupId:r,getConflictingClassGroupIds:s}=t,i=[],o=e.trim().split(pP);let a="";for(let c=o.length-1;c>=0;c-=1){const u=o[c],{modifiers:d,hasImportantModifier:f,baseClassName:h,maybePostfixModifierPosition:m}=n(u);let w=!!m,g=r(w?h.substring(0,m):h);if(!g){if(!w){a=u+(a.length>0?" "+a:a);continue}if(g=r(h),!g){a=u+(a.length>0?" "+a:a);continue}w=!1}const b=hP(d).join(":"),y=f?b+B1:b,p=y+g;if(i.includes(p))continue;i.push(p);const v=s(g,w);for(let j=0;j<v.length;++j){const S=v[j];i.push(y+S)}a=u+(a.length>0?" "+a:a)}return a};function yP(){let e=0,t,n,r="";for(;e<arguments.length;)(t=arguments[e++])&&(n=z1(t))&&(r&&(r+=" "),r+=n);return r}const z1=e=>{if(typeof e=="string")return e;let t,n="";for(let r=0;r<e.length;r++)e[r]&&(t=z1(e[r]))&&(n&&(n+=" "),n+=t);return n};function vP(e,...t){let n,r,s,i=o;function o(c){const u=t.reduce((d,f)=>f(d),e());return n=mP(u),r=n.cache.get,s=n.cache.set,i=a,a(c)}function a(c){const u=r(c);if(u)return u;const d=gP(c,n);return s(c,d),d}return function(){return i(yP.apply(null,arguments))}}const Ie=e=>{const t=n=>n[e]||[];return t.isThemeGetter=!0,t},U1=/^\[(?:([a-z-]+):)?(.+)\]$/i,xP=/^\d+\/\d+$/,wP=new Set(["px","full","screen"]),bP=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,jP=/\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$/,SP=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,CP=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,NP=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,xr=e=>Xi(e)||wP.has(e)||xP.test(e),Hr=e=>_o(e,"length",IP),Xi=e=>!!e&&!Number.isNaN(Number(e)),qd=e=>_o(e,"number",Xi),Zo=e=>!!e&&Number.isInteger(Number(e)),kP=e=>e.endsWith("%")&&Xi(e.slice(0,-1)),he=e=>U1.test(e),Wr=e=>bP.test(e),TP=new Set(["length","size","percentage"]),EP=e=>_o(e,TP,H1),PP=e=>_o(e,"position",H1),_P=new Set(["image","url"]),AP=e=>_o(e,_P,OP),RP=e=>_o(e,"",MP),qo=()=>!0,_o=(e,t,n)=>{const r=U1.exec(e);return r?r[1]?typeof t=="string"?r[1]===t:t.has(r[1]):n(r[2]):!1},IP=e=>jP.test(e)&&!SP.test(e),H1=()=>!1,MP=e=>CP.test(e),OP=e=>NP.test(e),DP=()=>{const e=Ie("colors"),t=Ie("spacing"),n=Ie("blur"),r=Ie("brightness"),s=Ie("borderColor"),i=Ie("borderRadius"),o=Ie("borderSpacing"),a=Ie("borderWidth"),c=Ie("contrast"),u=Ie("grayscale"),d=Ie("hueRotate"),f=Ie("invert"),h=Ie("gap"),m=Ie("gradientColorStops"),w=Ie("gradientColorStopPositions"),g=Ie("inset"),b=Ie("margin"),y=Ie("opacity"),p=Ie("padding"),v=Ie("saturate"),j=Ie("scale"),S=Ie("sepia"),N=Ie("skew"),k=Ie("space"),T=Ie("translate"),_=()=>["auto","contain","none"],M=()=>["auto","hidden","clip","visible","scroll"],V=()=>["auto",he,t],D=()=>[he,t],W=()=>["",xr,Hr],L=()=>["auto",Xi,he],Q=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],Z=()=>["solid","dashed","dotted","double","none"],K=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],P=()=>["start","end","center","between","around","evenly","stretch"],A=()=>["","0",he],z=()=>["auto","avoid","all","avoid-page","page","left","right","column"],se=()=>[Xi,he];return{cacheSize:500,separator:":",theme:{colors:[qo],spacing:[xr,Hr],blur:["none","",Wr,he],brightness:se(),borderColor:[e],borderRadius:["none","","full",Wr,he],borderSpacing:D(),borderWidth:W(),contrast:se(),grayscale:A(),hueRotate:se(),invert:A(),gap:D(),gradientColorStops:[e],gradientColorStopPositions:[kP,Hr],inset:V(),margin:V(),opacity:se(),padding:D(),saturate:se(),scale:se(),sepia:A(),skew:se(),space:D(),translate:D()},classGroups:{aspect:[{aspect:["auto","square","video",he]}],container:["container"],columns:[{columns:[Wr]}],"break-after":[{"break-after":z()}],"break-before":[{"break-before":z()}],"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(),he]}],overflow:[{overflow:M()}],"overflow-x":[{"overflow-x":M()}],"overflow-y":[{"overflow-y":M()}],overscroll:[{overscroll:_()}],"overscroll-x":[{"overscroll-x":_()}],"overscroll-y":[{"overscroll-y":_()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[g]}],"inset-x":[{"inset-x":[g]}],"inset-y":[{"inset-y":[g]}],start:[{start:[g]}],end:[{end:[g]}],top:[{top:[g]}
vendor: 4,767 bytes, line 170
170],right:[{right:[g]}],bottom:[{bottom:[g]}],left:[{left:[g]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",Zo,he]}],basis:[{basis:V()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",he]}],grow:[{grow:A()}],shrink:[{shrink:A()}],order:[{order:["first","last","none",Zo,he]}],"grid-cols":[{"grid-cols":[qo]}],"col-start-end":[{col:["auto",{span:["full",Zo,he]},he]}],"col-start":[{"col-start":L()}],"col-end":[{"col-end":L()}],"grid-rows":[{"grid-rows":[qo]}],"row-start-end":[{row:["auto",{span:[Zo,he]},he]}],"row-start":[{"row-start":L()}],"row-end":[{"row-end":L()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",he]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",he]}],gap:[{gap:[h]}],"gap-x":[{"gap-x":[h]}],"gap-y":[{"gap-y":[h]}],"justify-content":[{justify:["normal",...P()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...P(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...P(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[p]}],px:[{px:[p]}],py:[{py:[p]}],ps:[{ps:[p]}],pe:[{pe:[p]}],pt:[{pt:[p]}],pr:[{pr:[p]}],pb:[{pb:[p]}],pl:[{pl:[p]}],m:[{m:[b]}],mx:[{mx:[b]}],my:[{my:[b]}],ms:[{ms:[b]}],me:[{me:[b]}],mt:[{mt:[b]}],mr:[{mr:[b]}],mb:[{mb:[b]}],ml:[{ml:[b]}],"space-x":[{"space-x":[k]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[k]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",he,t]}],"min-w":[{"min-w":[he,t,"min","max","fit"]}],"max-w":[{"max-w":[he,t,"none","full","min","max","fit","prose",{screen:[Wr]},Wr]}],h:[{h:[he,t,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[he,t,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[he,t,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[he,t,"auto","min","max","fit"]}],"font-size":[{text:["base",Wr,Hr]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",qd]}],"font-family":[{font:[qo]}],"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",he]}],"line-clamp":[{"line-clamp":["none",Xi,qd]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",xr,he]}],"list-image":[{"list-image":["none",he]}],"list-style-type":[{list:["none","disc","decimal",he]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[y]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[y]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...Z(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",xr,Hr]}],"underline-offset":[{"underline-offset":["auto",xr,he]}],"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:D()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",he]}],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",he]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[y]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...Q(),PP]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",EP]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},AP]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[w]}
170],"gradient-via-pos":[{via:[w]}],"gradient-to-pos":[{to:[w]}],"gradient-from":[{from:[m]}],"gradient-via":[{via:[m]}],"gradient-to":[{to:[m]}],rounded:[{rounded:[i]}],"rounded-s":[{"rounded-s":[i]}],"rounded-e":[{"rounded-e":[i]}],"rounded-t":[{"rounded-t":[i]}],"rounded-r":[{"rounded-r":[i]}],"rounded-b":[{"rounded-b":[i]}],"rounded-l":[{"rounded-l":[i]}],"rounded-ss":[{"rounded-ss":[i]}],"rounded-se":[{"rounded-se":[i]}],"rounded-ee":[{"rounded-ee":[i]}],"rounded-es":[{"rounded-es":[i]}],"rounded-tl":[{"rounded-tl":[i]}],"rounded-tr":[{"rounded-tr":[i]}],"rounded-br":[{"rounded-br":[i]}],"rounded-bl":[{"rounded-bl":[i]}],"border-w":[{border:[a]}],"border-w-x":[{"border-x":[a]}],"border-w-y":[{"border-y":[a]}],"border-w-s":[{"border-s":[a]}],"border-w-e":[{"border-e":[a]}],"border-w-t":[{"border-t":[a]}],"border-w-r":[{"border-r":[a]}],"border-w-b":[{"border-b":[a]}],"border-w-l":[{"border-l":[a]}],"border-opacity":[{"border-opacity":[y]}],"border-style":[{border:[...Z(),"hidden"]}],"divide-x":[{"divide-x":[a]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[a]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[y]}
vendor: 4,469 bytes, line 170
170],"divide-style":[{divide:Z()}],"border-color":[{border:[s]}],"border-color-x":[{"border-x":[s]}],"border-color-y":[{"border-y":[s]}],"border-color-s":[{"border-s":[s]}],"border-color-e":[{"border-e":[s]}],"border-color-t":[{"border-t":[s]}],"border-color-r":[{"border-r":[s]}],"border-color-b":[{"border-b":[s]}],"border-color-l":[{"border-l":[s]}],"divide-color":[{divide:[s]}],"outline-style":[{outline:["",...Z()]}],"outline-offset":[{"outline-offset":[xr,he]}],"outline-w":[{outline:[xr,Hr]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:W()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[y]}],"ring-offset-w":[{"ring-offset":[xr,Hr]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",Wr,RP]}],"shadow-color":[{shadow:[qo]}],opacity:[{opacity:[y]}],"mix-blend":[{"mix-blend":[...K(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":K()}],filter:[{filter:["","none"]}],blur:[{blur:[n]}],brightness:[{brightness:[r]}],contrast:[{contrast:[c]}],"drop-shadow":[{"drop-shadow":["","none",Wr,he]}],grayscale:[{grayscale:[u]}],"hue-rotate":[{"hue-rotate":[d]}],invert:[{invert:[f]}],saturate:[{saturate:[v]}],sepia:[{sepia:[S]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[n]}],"backdrop-brightness":[{"backdrop-brightness":[r]}],"backdrop-contrast":[{"backdrop-contrast":[c]}],"backdrop-grayscale":[{"backdrop-grayscale":[u]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[d]}],"backdrop-invert":[{"backdrop-invert":[f]}],"backdrop-opacity":[{"backdrop-opacity":[y]}],"backdrop-saturate":[{"backdrop-saturate":[v]}],"backdrop-sepia":[{"backdrop-sepia":[S]}],"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",he]}],duration:[{duration:se()}],ease:[{ease:["linear","in","out","in-out",he]}],delay:[{delay:se()}],animate:[{animate:["none","spin","ping","pulse","bounce",he]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[j]}],"scale-x":[{"scale-x":[j]}],"scale-y":[{"scale-y":[j]}],rotate:[{rotate:[Zo,he]}],"translate-x":[{"translate-x":[T]}],"translate-y":[{"translate-y":[T]}],"skew-x":[{"skew-x":[N]}],"skew-y":[{"skew-y":[N]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",he]}],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",he]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":D()}],"scroll-mx":[{"scroll-mx":D()}],"scroll-my":[{"scroll-my":D()}],"scroll-ms":[{"scroll-ms":D()}],"scroll-me":[{"scroll-me":D()}],"scroll-mt":[{"scroll-mt":D()}],"scroll-mr":[{"scroll-mr":D()}],"scroll-mb":[{"scroll-mb":D()}],"scroll-ml":[{"scroll-ml":D()}],"scroll-p":[{"scroll-p":D()}],"scroll-px":[{"scroll-px":D()}],"scroll-py":[{"scroll-py":D()}],"scroll-ps":[{"scroll-ps":D()}],"scroll-pe":[{"scroll-pe":D()}],"scroll-pt":[{"scroll-pt":D()}],"scroll-pr":[{"scroll-pr":D()}],"scroll-pb":[{"scroll-pb":D()}],"scroll-pl":[{"scroll-pl":D()}],"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",he]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[xr,Hr,qd]}],stroke:[{stroke:[e,"none"]}],sr:["sr-only","not-sr-only"],"forced-color-adjust":[{"forced-color-adjust":["auto","
170none"]}]},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"]}}},LP=vP(DP);function Ne(...e){return LP(A1(e))}const FP=WE,W1=x.forwardRef(({className:e,...t},n)=>l.jsx(C1,{ref:n,className:Ne("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}));W1.displayName=C1.displayName;const VP=Qu("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"}}),K1=x.forwardRef(({className:e,variant:t,...n},r)=>l.jsx(N1,{ref:r,className:Ne(VP({variant:t}),e),...n}));K1.displayName=N1.displayName;const $P=x.forwardRef(({className:e,...t},n)=>l.jsx(E1,{ref:n,className:Ne("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}));$P.displayName=E1.displayName;const G1=x.forwardRef(({className:e,...t},n)=>l.jsx(P1,{ref:n,className:Ne("absolute right-2 top-2 rounded-md p-1 text-foreground
170/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(V1,{className:"h-4 w-4"})}));G1.displayName=P1.displayName;const Y1=x.forwardRef(({className:e,...t},n)=>l.jsx(k1,{ref:n,className:Ne("text-sm font-semibold",e),...t}));Y1.displayName=k1.displayName;const Z1=x.forwardRef(({className:e,...t},n)=>l.jsx(T1,{ref:n,className:Ne("text-sm opacity-90",e),...t}));Z1.displayName=T1.displayName;function BP(){const{toasts:e}=JT();return l.jsxs(FP,{children:[e.map(function({id:t,title:n,description:r,action:s,...i}){return l.jsxs(K1,{...i,children:[l.jsxs("div",{className:"grid gap-1",children:[n&&l.jsx(Y1,{children:n}),r&&l.jsx(Z1,{children:r})]}),s,l.jsx(G1,{})]},t)}),l.jsx(W1,{})]})}var Zy=["light","dark"],zP="(prefers-color-scheme: dark)",UP=x.createContext(void 0),HP={setTheme:e=>{},themes:[]},WP=()=>{var e;return(e=x.useContext(UP))!=null?e:HP};x.memo(({forcedTheme:e,storageKey:t,attribute:n,enableSystem:r,enableColorScheme:s,defaultTheme:i,value:o,attrs:a,nonce:c})=>{let u=i==="system",d=n==="class"?`var d=document.documentElement,c=d.classList;${`c.remove(${a.map(w=>`'${w}'`).join(",")})`};`:`var d=document.documentElement,n='${n}',s='setAttribute';`,f=s?Zy.includes(i)&&i?`if(e==='light'||e==='dark'||!e)d.style.colorScheme=e||'${i}'`:"if(e==='light'||e==='dark')d.style.colorScheme=e":"",h=(w,g=!1,b=!0)=>{let y=o?o[w]:w,p=g?w+"|| ''":`'${y}'`,v="";return s&&b&&!g&&Zy.includes(w)&&(v+=`d.style.colorScheme = '${w}';`),n==="class"?g||y?v+=`c.add(${p})`:v+="null":y&&(v+=`d[s](n,${p})`),v},m=e?`!function(){${d}${h(e)}}()`:r?`!function(){try{${d}var e=localStorage.getItem('${t}');if('system'===e||(!e&&${u})){var t='${zP}',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(i,!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(i,!1,!1)};}${f}}catch(t){}}();`;return x.createElement("script",{nonce:c,dangerouslySetInnerHTML:{__html:m}})});var KP=e=>{switch(e){case"success":return ZP;case"info":return QP;case"warning":return qP;case"error":return XP;default:return null}},GP=Array(12).fill(0),YP=({visible:e,className:t})=>R.createElement("div",{className:["sonner-loading-wrapper",t].filter(Boolean).join(" "),"data-visible":e},R.createElement("div",{className:"sonner-spinner"},GP.map((n,r)=>R.createElement("div",{className:"sonner-loading-bar",key:`spinner-bar-${r}`})))),ZP=R.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},R.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"})),qP=R.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",height:"20",width:"20"},R.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"})),QP=R.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},R.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"})),XP=R.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},R.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"})),JP=R.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"},R.createElement("line",{x1:"18",y1:"6",x2:"6",y2:"18"}),R.createElement("line",{x1:"6",y1:"6",x2:"18",y2:"18"})),e_=()=>{let[e,t]=R.useState(document.hidden);return R.useEffect(()=>{let n=()=>{t(document.hidden)};
170return document.addEventListener("visibilitychange",n),()=>window.removeEventListener("visibilitychange",n)},[]),e},_h=1,t_=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,s=typeof(e==null?void 0:e.id)=="number"||((t=e.id)==null?void 0:t.length)>0?e.id:_h++,i=this.toasts.find(a=>a.id===s),o=e.dismissible===void 0?!0:e.dismissible;return this.dismissedToasts.has(s)&&this.dismissedToasts.delete(s),i?this.toasts=this.toasts.map(a=>a.id===s?(this.publish({...a,...e,id:s,title:n}),{...a,...e,id:s,dismissible:o,title:n}):a):this.addToast({title:n,...r,dismissible:o,id:s}),s},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)=>
170this.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(),s=n!==void 0,i,o=r.then(async c=>{if(i=["resolve",c],R.isValidElement(c))s=!1,this.create({id:n,type:"default",message:c});else if(r_(c)&&!c.ok){s=!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){s=!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(i=["reject",c],t.error!==void 0){s=!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;s&&(this.dismiss(n),n=void 0),(c=t.finally)==null||c.call(t)}),a=()=>new Promise((c,u)=>o.then(()=>i[0]==="reject"?u(i[1]):c(i[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)||_h++;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}},Kt=new t_,n_=(e,t)=>{let n=(t==null?void 0:t.id)||_h++;return Kt.addToast({title:e,...t,id:n}),n},r_=e=>e&&typeof e=="object"&&"ok"in e&&typeof e.ok=="boolean"&&"status"in e&&typeof e.status=="number",s_=n_,i_=()=>Kt.toasts,o_=()=>Kt.getActiveToasts();Object.assign(s_,{success:Kt.success,info:Kt.info,warning:Kt.warning,error:Kt.error,custom:Kt.custom,message:Kt.message,promise:Kt.promise,dismiss:Kt.dismiss,loading:Kt.loading},{getHistory:i_,getToasts:o_});function a_(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))}a_(`: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;
170left: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}
170: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%);
170--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%)}
171`);function Xl(e){return e.label!==void 0}var l_=3,c_="32px",u_="16px",qy=4e3,d_=356,f_=14,h_=20,m_=200;function Mn(...e){return e.filter(Boolean).join(" ")}function p_(e){let[t,n]=e.split("-"),r=[];return t&&r.push(t),n&&r.push(n),r}var g_=e=>{var t,n,r,s,i,o,a,c,u,d,f;let{invert:h,toast:m,unstyled:w,interacting:g,setHeights:b,visibleToasts:y,heights:p,index:v,toasts:j,expanded:S,removeToast:N,defaultRichColors:k,closeButton:T,style:_,cancelButtonStyle:M,actionButtonStyle:V,className:D="",descriptionClassName:W="",duration:L,position:Q,gap:Z,loadingIcon:K,expandByDefault:P,classNames:A,icons:z,closeButtonAriaLabel:se="Close toast",pauseWhenPageIsHidden:te}=e,[le,ie]=R.useState(null),[ke,Le]=R.useState(null),[oe,Re]=R.useState(!1),[Ye,Fe]=R.useState(!1),[ve,X]=R.use
171State(!1),[ge,Pe]=R.useState(!1),[Ze,vt]=R.useState(!1),[At,zt]=R.useState(0),[ht,C]=R.useState(0),E=R.useRef(m.duration||L||qy),I=R.useRef(null),U=R.useRef(null),H=v===0,$=v+1<=y,q=m.type,me=m.dismissible!==!1,Ce=m.className||"",mt=m.descriptionClassName||"",St=R.useMemo(()=>p.findIndex(ce=>ce.toastId===m.id)||0,[p,m.id]),Ut=R.useMemo(()=>{var ce;return(ce=m.closeButton)!=null?ce:T},[m.closeButton,T]),$r=R.useMemo(()=>m.duration||L||qy,[m.duration,L]),hn=R.useRef(0),mn=R.useRef(0),hi=R.useRef(0),En=R.useRef(null),[Lo,mi]=Q.split("-"),Fo=R.useMemo(()=>p.reduce((ce,Se,_e)=>_e>=St?ce:ce+Se.height,0),[p,St]),Pl=e_(),_l=m.invert||h,pi=q==="loading";mn.current=R.useMemo(()=>St*Z+Fo,[St,Fo]),R.useEffect(()=>{E.current=$r},[$r]),R.useEffect(()=>{Re(!0)},[]),R.useEffect(()=>{let ce=U.current;if(ce){let Se=ce.getBoundingClientRect().height;return C(Se),b(_e=>[{toastId:m.id,height:Se,position:m.position},..._e]),()=>b(_e=>_e.filter(_n=>_n.toastId!==m.id))}},[b,m.id]),R.useLayoutEffect(()=>{if(!oe)return;let ce=U.current,Se=ce.style.height;ce.style.height="auto";let _e=ce.getBoundingClientRect().height;ce.style.height=Se,C(_e),b(_n=>_n.find(An=>An.toastId===m.id)?_n.map(An=>An.toastId===m.id?{...An,height:_e}:An):[{toastId:m.id,height:_e,position:m.position},..._n])},[oe,m.title,m.description,b,m.id]);let Pn=R.useCallback(()=>{Fe(!0),zt(mn.current),b(ce=>ce.filter(Se=>Se.toastId!==m.id)),setTimeout(()=>{N(m)},m_)},[m,N,b,mn]);R.useEffect(()=>{if(m.promise&&q==="loading"||m.duration===1/0||m.type==="loading")return;let ce;return S||g||te&&Pl?(()=>{if(hi.current<hn.current){let Se=new Date().getTime()-hn.current;E.current=E.current-Se}hi.current=new Date().getTime()})():E.current!==1/0&&(hn.current=new Date().getTime(),ce=setTimeout(()=>{var Se;(Se=m.onAutoClose)==null||Se.call(m,m),Pn()},E.current)),()=>clearTimeout(ce)},[S,g,m,q,te,Pl,Pn]),R.useEffect(()=>{m.delete&&Pn()},[Pn,m.delete]);function pd(){var ce,Se,_e;return z!=null&&z.loading?R.createElement("div",{className:Mn(A==null?void 0:A.loader,(ce=m==null?void 0:m.classNames)==null?void 0:ce.loader,"sonner-loader"),"data-visible":q==="loading"},z.loading):K?R.createElement("div",{className:Mn(A==null?void 0:A.loader,(Se=m==null?void 0:m.classNames)==null?void 0:Se.loader,"sonner-loader"),"data-visible":q==="loading"},K):R.createElement(YP,{className:Mn(A==null?void 0:A.loader,(_e=m==null?void 0:m.classNames)==null?void 0:_e.loader),visible:q==="loading"})}return R.createElement("li",{tabIndex:0,ref:U,className:Mn(D,Ce,A==null?void 0:A.toast,(t=m==null?void 0:m.classNames)==null?void 0:t.toast,A==null?void 0:A.default,A==null?void 0:A[q],(n=m==null?void 0:m.classNames)==null?void 0:n[q]),"data-sonner-toast":"","data-rich-colors":(r=m.richColors)!=null?r:k,"data-styled":!(m.jsx||m.unstyled||w),"data-mounted":oe,"data-promise":!!m.promise,"data-swiped":Ze,"data-removed":Ye,"data-visible":$,"data-y-position":Lo,"data-x-position":mi,"data-index":v,"data-front":H,"data-swiping":ve,"data-dismissible":me,"data-type":q,"data-invert":_l,"data-swipe-out":ge,"data-swipe-direction":ke,"data-expanded":!!(S||P&&oe),style:{"--index":v,"--toasts-before":v,"--z-index":j.length-v,"--offset":`${Ye?At:mn.current}px`,"--initial-height":P?"auto":`${ht}px`,..._,...m.style},onDragEnd:()=>{X(!1),ie(null),En.current=null},onPointerDown:ce=>{pi||!me||(I.current=new Date,zt(mn.current),ce.target.setPointerCapture(ce.pointerId),ce.target.tagName!=="BUTTON"&&(X(!0),En.current={x:ce.clientX,y:ce.clientY}))},onPointerUp:()=>{var ce,Se,_e,_n;if(ge||!me)return;En.current=null;let An=Number(((ce=U.current)==null?void 0:ce.style.getPropertyValue("--swipe-amount-x").replace("px",""))||0),Br=Number(((Se=U.current)==null?void 0:Se.style.getPropertyValue("--swipe-amount-y").replace("px",""))||0),As=new Date().getTime()-((_e=I.current)==null?void 0:_e.getTime()),Rn=le==="x"?An:Br,zr=Math.abs(Rn)/As;if(Math.abs(Rn)>=h_||zr>.11){zt(mn.current),(_n=m.onDismiss)==null||_n.call(m,m),Le(le==="x"?An>0?"right":"left":Br>0?"down":"up"),Pn(),Pe(!0),vt(!1);return}X(!1),ie(null)},onPointerMove:ce=>{var Se,_e,_n,An;if(!En.current||!me||((Se=window.getSelection())==null?void 0:Se.toString().length)>0)return;let Br=ce.clientY-En.current.y,As=ce.clientX-En.current.x,Rn=(_e=e.swipeDirections)!=null?_e:p_(Q);!le&&(Math.abs(As)>1||Math.abs(Br)>1)&&ie(Math.abs(As)>Math.abs(Br)?"x":"y");let zr={x:0,y:0};le==="y"?(Rn.includes("top")||Rn.includes("bottom"))&&(Rn.includes("top")&&Br<0||Rn.includes("bottom")&&Br>0)&&(zr.y=Br):le==="x"&&(Rn.includes("left")||Rn.includes("right"))&&(Rn.includes("left")&&As<0||Rn.includes("right")&&As>0)&&(zr.x=As),(Math.abs(zr.x)>0||Math.abs(zr.y)>0)&&vt(!0),(_n=U.current)==null||_n.style.setProperty("--swipe-amount-x",`${zr.x}px`),(An=U.current)==null||An.style.setProperty("--swipe-amount-y",`${zr.y}px`)}},Ut&&!m.jsx?R.createElement("button",{"aria-label":se,"data-disabled":pi,"data-close-button":!0,onClick:pi||!me?(
171)=>{}:()=>{var ce;Pn(),(ce=m.onDismiss)==null||ce.call(m,m)},className:Mn(A==null?void 0:A.closeButton,(s=m==null?void 0:m.classNames)==null?void 0:s.closeButton)},(i=z==null?void 0:z.close)!=null?i:JP):null,m.jsx||x.isValidElement(m.title)?m.jsx?m.jsx:typeof m.title=="function"?m.title():m.title:R.createElement(R.Fragment,null,q||m.icon||m.promise?R.createElement("div",{"data-icon":"",className:Mn(A==null?void 0:A.icon,(o=m==null?void 0:m.classNames)==null?void 0:o.icon)},m.promise||m.type==="loading"&&!m.icon?m.icon||pd():null,m.type!=="loading"?m.icon||(z==null?void 0:z[q])||KP(q):null):null,R.createElement("div",{"data-content":"",className:Mn(A==null?void 0:A.content,(a=m==null?void 0:m.classNames)==null?void 0:a.content)},R.createElement("div",{"data-title":"",className:Mn(A==null?void 0:A.title,(c=m==null?void 0:m.classNames)==null?void 0:c.title)},typeof m.title=="function"?m.title():m.title),m.description?R.createElement("div",{"data-description":"",className:Mn(W,mt,A==null?void 0:A.description,(u=m==null?void 0:m.classNames)==null?void 0:u.description)},typeof m.description=="function"?m.description():m.description):null),x.isValidElement(m.cancel)?m.cancel:m.cancel&&Xl(m.cancel)?R.createElement("button",{"data-button":!0,"data-cancel":!0,style:m.cancelButtonStyle||M,onClick:ce=>{var Se,_e;Xl(m.cancel)&&me&&((_e=(Se=m.cancel).onClick)==null||_e.call(Se,ce),Pn())},className:Mn(A==null?void 0:A.cancelButton,(d=m==null?void 0:m.classNames)==null?void 0:d.cancelButton)},m.cancel.label):null,x.isValidElement(m.action)?m.action:m.action&&Xl(m.action)?R.createElement("button",{"data-button":!0,"data-action":!0,style:m.actionButtonStyle||V,onClick:ce=>{var Se,_e;Xl(m.action)&&((_e=(Se=m.action).onClick)==null||_e.call(Se,ce),!ce.defaultPrevented&&Pn())},className:Mn(A==null?void 0:A.actionButton,(f=m==null?void 0:m.classNames)==null?void 0:f.actionButton)},m.action.label):null))};function Qy(){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 y_(e,t){let n={};return[e,t].forEach((r,s)=>{let i=s===1,o=i?"--mobile-offset":"--offset",a=i?u_: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 v_=x.forwardRef(function(e,t){let{invert:n,position:r="bottom-right",hotkey:s=["altKey","KeyT"],expand:i,closeButton:o,className:a,offset:c,mobileOffset:u,theme:d="light",richColors:f,duration:h,style:m,visibleToasts:w=l_,toastOptions:g,dir:b=Qy(),gap:y=f_,loadingIcon:p,icons:v,containerAriaLabel:j="Notifications",pauseWhenPageIsHidden:S}=e,[N,k]=R.useState([]),T=R.useMemo(()=>Array.from(new Set([r].concat(N.filter(te=>te.position).map(te=>te.position)))),[N,r]),[_,M]=R.useState([]),[V,D]=R.useState(!1),[W,L]=R.useState(!1),[Q,Z]=R.useState(d!=="system"?d:typeof window<"u"&&window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light"),K=R.useRef(null),P=s.join("+").replace(/Key/g,"").replace(/Digit/g,""),A=R.useRef(null),z=R.useRef(!1),se=R.useCallback(te=>{k(le=>{var ie;return(ie=le.find(ke=>ke.id===te.id))!=null&&ie.delete||Kt.dismiss(te.id),le.filter(({id:ke})=>ke!==te.id)})},[]);return R.useEffect(()=>Kt.subscribe(te=>{if(te.dismiss){k(le=>le.map(ie=>ie.id===te.id?{...ie,delete:!0}:ie));return}setTimeout(()=>{Gb.flushSync(()=>{k(le=>{let ie=le.findIndex(ke=>ke.id===te.id);return ie!==-1?[...le.slice(0,ie),{...le[ie],...te},...le.slice(ie+1)]:[te,...le]})})})}),[]),R.useEffect(()=>{if(d!=="system"){Z(d);return}if(d==="system"&&(window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches?Z("dark"):Z("light")),typeof window>"u")return;let te=window.matchMedia("(prefers-color-scheme: dark)");try{te.addEventListener("change",({matches:le})=>{Z(le?"dark":"light")})}catch{te.addListener(({matches:ie})=>{try{Z(ie?"dark":"light")}catch(ke){console.error(ke)}})}},[d]),R.useEffect(()=>{N.length<=1&&D(!1)},[N]),R.useEffect(()=>{let te=le=>{var ie,ke;s.every(Le=>
171le[Le]||le.code===Le)&&(D(!0),(ie=K.current)==null||ie.focus()),le.code==="Escape"&&(document.activeElement===K.current||(ke=K.current)!=null&&ke.contains(document.activeElement))&&D(!1)};return document.addEventListener("keydown",te),()=>document.removeEventListener("keydown",te)},[s]),R.useEffect(()=>{if(K.current)return()=>{A.current&&(A.current.focus({preventScroll:!0}),A.current=null,z.current=!1)}},[K.current]),R.createElement("section",{ref:t,"aria-label":`${j} ${P}`,tabIndex:-1,"aria-live":"polite","aria-relevant":"additions text","aria-atomic":"false",suppressHydrationWarning:!0},T.map((te,le)=>{var ie;let[ke,Le]=te.split("-");return N.length?R.createElement("ol",{key:te,dir:b==="auto"?Qy():b,tabIndex:-1,ref:K,className:a,"data-sonner-toaster":!0,"data-theme":Q,"data-y-position":ke,"data-lifted":V&&N.length>1&&!i,"data-x-position":Le,style:{"--front-toast-height":`${((ie=_[0])==null?void 0:ie.height)||0}px`,"--width":`${d_}px`,"--gap":`${y}px`,...m,...y_(c,u)},onBlur:oe=>{z.current&&!oe.currentTarget.contains(oe.relatedTarget)&&(z.current=!1,A.current&&(A.current.focus({preventScroll:!0}),A.current=null))},onFocus:oe=>{oe.target instanceof HTMLElement&&oe.target.dataset.dismissible==="false"||z.current||(z.current=!0,A.current=oe.relatedTarget)},onMouseEnter:()=>D(!0),onMouseMove:()=>D(!0),onMouseLeave:()=>{W||D(!1)},onDragEnd:()=>D(!1),onPointerDown:oe=>{oe.target instanceof HTMLElement&&oe.target.dataset.dismissible==="false"||L(!0)},onPointerUp:()=>L(!1)},N.filter(oe=>!oe.position&&le===0||oe.position===te).map((oe,Re)=>{var Ye,Fe;return R.createElement(g_,{key:oe.id,icons:v,index:Re,toast:oe,defaultRichColors:f,duration:(Ye=g==null?void 0:g.duration)!=null?Ye:h,className:g==null?void 0:g.className,descriptionClassName:g==null?void 0:g.descriptionClassName,invert:n,visibleToasts:w,closeButton:(Fe=g==null?void 0:g.closeButton)!=null?Fe:o,interacting:W,position:te,style:g==null?void 0:g.style,unstyled:g==null?void 0:g.unstyled,classNames:g==null?void 0:g.classNames,cancelButtonStyle:g==null?void 0:g.cancelButtonStyle,actionButtonStyle:g==null?void 0:g.actionButtonStyle,removeToast:se,toasts:N.filter(ve=>ve.position==oe.position),heights:_.filter(ve=>ve.position==oe.position),setHeights:M,expandByDefault:i,gap:y,loadingIcon:p,expanded:V,pauseWhenPageIsHidden:S,swipeDirections:e.swipeDirections})})):null}))});const x_=({...e})=>{const{theme:t="system"}=WP();return l.jsx(v_,{theme:t,className:"toaster group",toastOptions:{classNames:{toast:"group toast group-[.toaster]:bg-background group-[.toaster]:text-foreground group-[.toaster]:border-border group-[.toaster]:shadow-lg",description:"group-[.toast]:text-muted-foreground",actionButton:"group-[.toast]:bg-primary group-[.toast]:text-primary-foreground",cancelButton:"group-[.toast]:bg-muted group-[.toast]:text-muted-foreground"}},...e})};var w_=bm[" useId ".trim().toString()]||(()=>{}),b_=0;function Qd(e){const[t,n]=x.useState(w_());return Ir(()=>{e||n(r=>r??String(b_++))},[e]),e||(t?`radix-${t}`:"")}const j_=["top","right","bottom","left"],bs=Math.min,tn=Math.max,au=Math.round,Jl=Math.floor,dr=e=>({x:e,y:e}
vendor: 11,921 bytes, line 171
171),S_={left:"right",right:"left",bottom:"top",top:"bottom"},C_={start:"end",end:"start"};function Ah(e,t,n){return tn(e,bs(t,n))}function Mr(e,t){return typeof e=="function"?e(t):e}function Or(e){return e.split("-")[0]}function Ao(e){return e.split("-")[1]}function xp(e){return e==="x"?"y":"x"}function wp(e){return e==="y"?"height":"width"}const N_=new Set(["top","bottom"]);function ar(e){return N_.has(Or(e))?"y":"x"}function bp(e){return xp(ar(e))}function k_(e,t,n){n===void 0&&(n=!1);const r=Ao(e),s=bp(e),i=wp(s);let o=s==="x"?r===(n?"end":"start")?"right":"left":r==="start"?"bottom":"top";return t.reference[i]>t.floating[i]&&(o=lu(o)),[o,lu(o)]}function T_(e){const t=lu(e);return[Rh(e),t,Rh(t)]}function Rh(e){return e.replace(/start|end/g,t=>C_[t])}const Xy=["left","right"],Jy=["right","left"],E_=["top","bottom"],P_=["bottom","top"];function __(e,t,n){switch(e){case"top":case"bottom":return n?t?Jy:Xy:t?Xy:Jy;case"left":case"right":return t?E_:P_;default:return[]}}function A_(e,t,n,r){const s=Ao(e);let i=__(Or(e),n==="start",r);return s&&(i=i.map(o=>o+"-"+s),t&&(i=i.concat(i.map(Rh)))),i}function lu(e){return e.replace(/left|right|bottom|top/g,t=>S_[t])}function R_(e){return{top:0,right:0,bottom:0,left:0,...e}}function q1(e){return typeof e!="number"?R_(e):{top:e,right:e,bottom:e,left:e}}function cu(e){const{x:t,y:n,width:r,height:s}=e;return{width:r,height:s,top:n,left:t,right:t+r,bottom:n+s,x:t,y:n}}function ev(e,t,n){let{reference:r,floating:s}=e;const i=ar(t),o=bp(t),a=wp(o),c=Or(t),u=i==="y",d=r.x+r.width/2-s.width/2,f=r.y+r.height/2-s.height/2,h=r[a]/2-s[a]/2;let m;switch(c){case"top":m={x:d,y:r.y-s.height};break;case"bottom":m={x:d,y:r.y+r.height};break;case"right":m={x:r.x+r.width,y:f};break;case"left":m={x:r.x-s.width,y:f};break;default:m={x:r.x,y:r.y}}switch(Ao(t)){case"start":m[o]-=h*(n&&u?-1:1);break;case"end":m[o]+=h*(n&&u?-1:1);break}return m}const I_=async(e,t,n)=>{const{placement:r="bottom",strategy:s="absolute",middleware:i=[],platform:o}=n,a=i.filter(Boolean),c=await(o.isRTL==null?void 0:o.isRTL(t));let u=await o.getElementRects({reference:e,floating:t,strategy:s}),{x:d,y:f}=ev(u,r,c),h=r,m={},w=0;for(let g=0;g<a.length;g++){const{name:b,fn:y}=a[g],{x:p,y:v,data:j,reset:S}=await y({x:d,y:f,initialPlacement:r,placement:h,strategy:s,middlewareData:m,rects:u,platform:o,elements:{reference:e,floating:t}});d=p??d,f=v??f,m={...m,[b]:{...m[b],...j}},S&&w<=50&&(w++,typeof S=="object"&&(S.placement&&(h=S.placement),S.rects&&(u=S.rects===!0?await o.getElementRects({reference:e,floating:t,strategy:s}):S.rects),{x:d,y:f}=ev(u,h,c)),g=-1)}return{x:d,y:f,placement:h,strategy:s,middlewareData:m}};async function Ka(e,t){var n;t===void 0&&(t={});const{x:r,y:s,platform:i,rects:o,elements:a,strategy:c}=e,{boundary:u="clippingAncestors",rootBoundary:d="viewport",elementContext:f="floating",altBoundary:h=!1,padding:m=0}=Mr(t,e),w=q1(m),b=a[h?f==="floating"?"reference":"floating":f],y=cu(await i.getClippingRect({element:(n=await(i.isElement==null?void 0:i.isElement(b)))==null||n?b:b.contextElement||await(i.getDocumentElement==null?void 0:i.getDocumentElement(a.floating)),boundary:u,rootBoundary:d,strategy:c})),p=f==="floating"?{x:r,y:s,width:o.floating.width,height:o.floating.height}:o.reference,v=await(i.getOffsetParent==null?void 0:i.getOffsetParent(a.floating)),j=await(i.isElement==null?void 0:i.isElement(v))?await(i.getScale==null?void 0:i.getScale(v))||{x:1,y:1}:{x:1,y:1},S=cu(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({elements:a,rect:p,offsetParent:v,strategy:c}):p);return{top:(y.top-S.top+w.top)/j.y,bottom:(S.bottom-y.bottom+w.bottom)/j.y,left:(y.left-S.left+w.left)/j.x,right:(S.right-y.right+w.right)/j.x}}const M_=e=>({name:"arrow",options:e,async fn(t){const{x:n,y:r,placement:s,rects:i,platform:o,elements:a,middlewareData:c}=t,{element:u,padding:d=0}=Mr(e,t)||{};if(u==null)return{};const f=q1(d),h={x:n,y:r},m=bp(s),w=wp(m),g=await o.getDimensions(u),b=m==="y",y=b?"top":"left",p=b?"bottom":"right",v=b?"clientHeight":"clientWidth",j=i.reference[w]+i.reference[m]-h[m]-i.floating[w],S=h[m]-i.reference[m],N=await(o.getOffsetParent==null?void 0:o.getOffsetParent(u));let k=N?N[v]:0;(!k||!await(o.isElement==null?void 0:o.isElement(N)))&&(k=a.floating[v]||i.floating[w]);const T=j/2-S/2,_=k/2-g[w]/2-1,M=bs(f[y],_),V=bs(f[p],_),D=M,W=k-g[w]-V,L=k/2-g[w]/2+T,Q=Ah(D,L,W),Z=!c.arrow&&Ao(s)!=null&&L!==Q&&i.reference[w]/2-(L<D?M:V)-g[w]/2<0,K=Z?L<D?L-D:L-W:0;return{[m]:h[m]+K,data:{[m]:Q,centerOffset:L-Q-K,...Z&&{alignmentOffset:K}},reset:Z}}}),O_=function(e){return e===void 0&&(e={}),{name:"flip",options:e,async fn(t){var n,r;const{placement:s,middlewareData:i,rects:o,initialPlacement:a,platform:c,elements:u}=t,{mainAxis:d=!0,crossAxis:f=!0,fallbackPlacements:h,fallbackStrategy:m="bestFit",fallbackAxisSideDirection:w="none",flipAlignment:g=!0,...b}=Mr(e,t);if((n=i.arrow)!=null&&n.alignmentOffset)return{};const y=Or(s),p=ar(a),v=Or(a)===a,j=await(c.isRTL==null?void 0:c.isRTL(u.floating)),S=h||(v||!g?[lu(a)]:T_(a)),N=w!=="none";!h&&N&&S.push(...A_(a,g,w,j));const k=[a,...S],T=await Ka(t,b),_=[];let M=((r=i.flip)==null?void 0:r.overflows)||[];if(d&&_.push(T[y]),f){const L=k_(s,o,j);_.push(T[L[0]],T[L[1]])}if(M=[...M,{placement:s,overflows:_}],!_.every(L=>L<=0)){var V,D;const L=(((V=i.flip)==null?void 0:V.index)||0)+1,Q=k[L];if(Q&&(!(f==="alignment"?p!==ar(Q):!1)||M.every(P=>P.overflows[0]>0&&ar(P.placement)===p)))return{data:{index:L,overflows:M},reset:{placement:Q}};let Z=(D=M.filter(K=>K.overflows[0]<=0).sort((K,P)=>K.overflows[1]-P.overflows[1])[0])==null?void 0:D.placement;if(!Z)switch(m){case"bestFit":{var W;const K=(W=M.filter(P=>{if(N){const A=ar(P.placement);return A===p||A==="y"}return!0}).map(P=>[P.placement,P.overflows.filter(A=>A>0).reduce((A,z)=>A+z,0)]).sort((P,A)=>P[1]-A[1])[0])==null?void 0:W[0];K&&(Z=K);break}case"initialPlacement":Z=a;break}if(s!==Z)return{reset:{placement:Z}}}return{}}}};function tv(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function nv(e){return j_.some(t=>e[t]>=0)}const D_=function(e){return e===void 0&&(e={}),{name:"hide",options:e,async fn(t){const{rects:n}=t,{strategy:r="referenceHidden",...s}=Mr(e,t);switch(r){case"referenceHidden":{const i=await Ka(t,{...s,elementContext:"reference"}),o=tv(i,n.reference);return{data:{referenceHiddenOffsets:o,referenceHidden:nv(o)}}}case"escaped":{const i=await Ka(t,{...s,altBoundary:!0}),o=tv(i,n.floating);return{data:{escapedOffsets:o,escaped:nv(o)}}}default:return{}}}}},Q1=new Set(["left","top"]);async function L_(e,t){const{placement:n,platform:r,elements:s}=e,i=await(r.isRTL==null?void 0:r.isRTL(s.floating)),o=Or(n),a=Ao(n),c=ar(n)==="y",u=Q1.has(o)?-1:1,d=i&&c?-1:1,f=Mr(t,e);let{mainAxis:h,crossAxis:m,alignmentAxis:w}=typeof f=="number"?{mainAxis:f,crossAxis:0,alignmentAxis:null}:{mainAxis:f.mainAxis||0,crossAxis:f.crossAxis||0,alignmentAxis:f.alignmentAxis};return a&&typeof w=="number"&&(m=a==="end"?w*-1:w),c?{x:m*d,y:h*u}:{x:h*u,y:m*d}}const F_=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(t){var n,r;const{x:s,y:i,placement:o,middlewareData:a}=t,c=await L_(t,e);return o===((n=a.offset)==null?void 0:n.placement)&&(r=a.arrow)!=null&&r.alignmentOffset?{}:{x:s+c.x,y:i+c.y,data:{...c,placement:o}}}}},V_=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){const{x:n,y:r,placement:s}=t,{mainAxis:i=!0,crossAxis:o=!1,limiter:a={fn:b=>{let{x:y,y:p}=b;return{x:y,y:p}}},...c}=Mr(e,t),u={x:n,y:r},d=await Ka(t,c),f=ar(Or(s)),h=xp(f);let m=u[h],w=u[f];if(i){const b=h==="y"?"top":"left",y=h==="y"?"bottom":"right",p=m+d[b],v=m-d[y];m=Ah(p,m,v)}if(o){const b=f==="y"?"top":"left",y=f==="y"?"bottom":"right",p=w+d[b],v=w-d[y];w=Ah(p,w,v)}const g=a.fn({...t,[h]:m,[f]:w});return{...g,data:{x:g.x-n,y:g.y-r,enabled:{[h]:i,[f]:o}}}}}},$_=function(e){return e===void 0&&(e={}),{options:e,fn(t){const{x:n,y:r,placement:s,rects:i,middlewareData:o}=t,{offset:a=0,mainAxis:c=!0,crossAxis:u=!0}=Mr(e,t),d={x:n,y:r},f=ar(s),h=xp(f);let m=d[h],w=d[f];const g=Mr(a,t),b=typeof g=="number"?{mainAxis:g,crossAxis:0}:{mainAxis:0,crossAxis:0,...g};if(c){const v=h==="y"?"height":"width",j=i.reference[h]-i.floating[v]+b.mainAxis,S=i.reference[h]+i.reference[v]-b.mainAxis;m<j?m=j:m>S&&(m=S)}if(u){var y,p;const v=h==="y"?"width":"height",j=Q1.has(Or(s)),S=i.reference[f]-i.floating[v]+(j&&((y=o.offset)==null?void 0:y[f])||0)+(j?0:b.crossAxis),N=i.reference[f]+i.reference[v]+(j?0:((p=o.offset)==null?void 0:p[f])||0)-(j?b.crossAxis:0);w<S?w=S:w>N&&(w=N)}return{[h]:m,[f]:w}}}},B_=function(e){return e===void 0&&(e={}),{name:"size",options:e,async fn(t){var n,r;const{placement:s,rects:i,platform:o,elements:a}=t,{apply:c=()=>{},...u}=Mr(e,t),d=await Ka(t,u),f=Or(s),h=Ao(s),m=ar(s)==="y",{width:w,height:g}=i.floating;let b,y;f==="top"||f==="bottom"?(b=f,y=h===(await(o.isRTL==null?void 0:o.isRTL(a.floating))?"start":"end")?"left":"right"):(y=f,b=h==="end"?"top":"bottom");const p=g-d.top-d.bottom,v=w-d.left-d.right,j=bs(g-d[b],p),S=bs(w-d[y],v),N=!t.middlewareData.shift;let k=j,T=S;if((n=t.middlewareData.shift)!=null&&n.enabled.x&&(T=v),(r=t.middlewareData.shift)!=null&&r.enabled.y&&(k=p),N&&!h){const M=tn(d.left,0),V=tn(d.right,0),D=tn(d.top,0),W=tn(d.bottom,0);m?T=w-2*(M!==0||V!==0?M+V:tn(d.left,d.right)):k=g-2*(D!==0||W!==0?D+W:tn(d.top,d.bottom))}await c({...t,availableWidth:T,availableHeight:k});const _=await o.getDimensions(a.floating);return w!==_.width||g!==_.height?{reset:{rects:!0}}:{}}}};function Xu(){return typeof window<"u"}function Ro(e){return X1(e)?(e.nodeName||"").toLowerCase():"#document"}function sn(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function yr(e){var t;return(t=(X1(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function X1(e){return Xu()?e instanceof Node||e instanceof sn(e).Node:!1}function Qn(e){return Xu()?e instanceof Element||e instanceof sn(e).Element:!1}function gr(e){return Xu()?e instanceof HTMLElement||e instanceof sn(e).HTMLElement:!1}function rv(e){return!Xu()||typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof sn(e).ShadowRoot}const z_=new Set(["inline","contents"]);function wl(e){const{overflow:t,overflowX:n,overflowY:r,display:s}=Xn(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&!z_.has(s)}const U_=new Set(["table","td","th"]);function H_(e){return U_.has(Ro(e))}const W_=[":popover-open",":modal"];function Ju(e){return W_.some(t=>{try{return e.matches(t)}catch{return!1}})}const K_=["transform","translate","scale","rotate","perspective"],G_=["transform","translate","scale","rotate","perspective","filter"],Y_=["paint","layout","strict","content"];function jp(e){const t=Sp(),n=Qn(e)?Xn(e):e;return K_.some(r=>n[r]?n[r]!=="none":!1)||(n.containerType?n.containerType!=="normal":!1)||!t&&(n.backdropFilter?n.backdropFilter!=="none":!1)||!t&&(n.filter?n.filter!=="none":!1)||G_.some(r=>(n.willChange||"").includes(r))||Y_.some(r=>(n.contain||"").includes(r))}function Z_(e){let t=js(e);for(;gr(t)&&!vo(t);){if(jp(t))return t;if(Ju(t))return null;t=js(t)}return null}function Sp(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}const q_=new Set(["html","body","#document"]);function vo(e){return q_.has(Ro(e))}function Xn(e){return sn(e).getComputedStyle(e)}function ed(e){return Qn(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function js(e){if(Ro(e)==="html")return e;const t=e.assignedSlot||e.parentNode||rv(e)&&e.host||yr(e);return rv(t)?t.host:t}function J1(e){const t=js(e);return vo(t)?e.ownerDocument?e.ownerDocument.body:e.body:gr(t)&&wl(t)?t:J1(t)}function Ga(e,t,n){var r;t===void 0&&(t=[]),n===void 0&&(n=!0);const s=J1(e),i=s===((r=e.ownerDocument)==null?void 0:r.body),o=sn(s);if(i){const a=Ih(o);
vendor: 6,458 bytes, line 171
171return t.concat(o,o.visualViewport||[],wl(s)?s:[],a&&n?Ga(a):[])}return t.concat(s,Ga(s,[],n))}function Ih(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function ej(e){const t=Xn(e);let n=parseFloat(t.width)||0,r=parseFloat(t.height)||0;const s=gr(e),i=s?e.offsetWidth:n,o=s?e.offsetHeight:r,a=au(n)!==i||au(r)!==o;return a&&(n=i,r=o),{width:n,height:r,$:a}}function Cp(e){return Qn(e)?e:e.contextElement}function Ji(e){const t=Cp(e);if(!gr(t))return dr(1);const n=t.getBoundingClientRect(),{width:r,height:s,$:i}=ej(t);let o=(i?au(n.width):n.width)/r,a=(i?au(n.height):n.height)/s;return(!o||!Number.isFinite(o))&&(o=1),(!a||!Number.isFinite(a))&&(a=1),{x:o,y:a}}const Q_=dr(0);function tj(e){const t=sn(e);return!Sp()||!t.visualViewport?Q_:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function X_(e,t,n){return t===void 0&&(t=!1),!n||t&&n!==sn(e)?!1:t}function si(e,t,n,r){t===void 0&&(t=!1),n===void 0&&(n=!1);const s=e.getBoundingClientRect(),i=Cp(e);let o=dr(1);t&&(r?Qn(r)&&(o=Ji(r)):o=Ji(e));const a=X_(i,n,r)?tj(i):dr(0);let c=(s.left+a.x)/o.x,u=(s.top+a.y)/o.y,d=s.width/o.x,f=s.height/o.y;if(i){const h=sn(i),m=r&&Qn(r)?sn(r):r;let w=h,g=Ih(w);for(;g&&r&&m!==w;){const b=Ji(g),y=g.getBoundingClientRect(),p=Xn(g),v=y.left+(g.clientLeft+parseFloat(p.paddingLeft))*b.x,j=y.top+(g.clientTop+parseFloat(p.paddingTop))*b.y;c*=b.x,u*=b.y,d*=b.x,f*=b.y,c+=v,u+=j,w=sn(g),g=Ih(w)}}return cu({width:d,height:f,x:c,y:u})}function Np(e,t){const n=ed(e).scrollLeft;return t?t.left+n:si(yr(e)).left+n}function nj(e,t,n){n===void 0&&(n=!1);const r=e.getBoundingClientRect(),s=r.left+t.scrollLeft-(n?0:Np(e,r)),i=r.top+t.scrollTop;return{x:s,y:i}}function J_(e){let{elements:t,rect:n,offsetParent:r,strategy:s}=e;const i=s==="fixed",o=yr(r),a=t?Ju(t.floating):!1;if(r===o||a&&i)return n;let c={scrollLeft:0,scrollTop:0},u=dr(1);const d=dr(0),f=gr(r);if((f||!f&&!i)&&((Ro(r)!=="body"||wl(o))&&(c=ed(r)),gr(r))){const m=si(r);u=Ji(r),d.x=m.x+r.clientLeft,d.y=m.y+r.clientTop}const h=o&&!f&&!i?nj(o,c,!0):dr(0);return{width:n.width*u.x,height:n.height*u.y,x:n.x*u.x-c.scrollLeft*u.x+d.x+h.x,y:n.y*u.y-c.scrollTop*u.y+d.y+h.y}}function eA(e){return Array.from(e.getClientRects())}function tA(e){const t=yr(e),n=ed(e),r=e.ownerDocument.body,s=tn(t.scrollWidth,t.clientWidth,r.scrollWidth,r.clientWidth),i=tn(t.scrollHeight,t.clientHeight,r.scrollHeight,r.clientHeight);let o=-n.scrollLeft+Np(e);const a=-n.scrollTop;return Xn(r).direction==="rtl"&&(o+=tn(t.clientWidth,r.clientWidth)-s),{width:s,height:i,x:o,y:a}}function nA(e,t){const n=sn(e),r=yr(e),s=n.visualViewport;let i=r.clientWidth,o=r.clientHeight,a=0,c=0;if(s){i=s.width,o=s.height;const u=Sp();(!u||u&&t==="fixed")&&(a=s.offsetLeft,c=s.offsetTop)}return{width:i,height:o,x:a,y:c}}const rA=new Set(["absolute","fixed"]);function sA(e,t){const n=si(e,!0,t==="fixed"),r=n.top+e.clientTop,s=n.left+e.clientLeft,i=gr(e)?Ji(e):dr(1),o=e.clientWidth*i.x,a=e.clientHeight*i.y,c=s*i.x,u=r*i.y;return{width:o,height:a,x:c,y:u}}function sv(e,t,n){let r;if(t==="viewport")r=nA(e,n);else if(t==="document")r=tA(yr(e));else if(Qn(t))r=sA(t,n);else{const s=tj(e);r={x:t.x-s.x,y:t.y-s.y,width:t.width,height:t.height}}return cu(r)}function rj(e,t){const n=js(e);return n===t||!Qn(n)||vo(n)?!1:Xn(n).position==="fixed"||rj(n,t)}function iA(e,t){const n=t.get(e);if(n)return n;let r=Ga(e,[],!1).filter(a=>Qn(a)&&Ro(a)!=="body"),s=null;const i=Xn(e).position==="fixed";let o=i?js(e):e;for(;Qn(o)&&!vo(o);){const a=Xn(o),c=jp(o);!c&&a.position==="fixed"&&(s=null),(i?!c&&!s:!c&&a.position==="static"&&!!s&&rA.has(s.position)||wl(o)&&!c&&rj(e,o))?r=r.filter(d=>d!==o):s=a,o=js(o)}return t.set(e,r),r}function oA(e){let{element:t,boundary:n,rootBoundary:r,strategy:s}=e;const o=[...n==="clippingAncestors"?Ju(t)?[]:iA(t,this._c):[].concat(n),r],a=o[0],c=o.reduce((u,d)=>{const f=sv(t,d,s);return u.top=tn(f.top,u.top),u.right=bs(f.right,u.right),u.bottom=bs(f.bottom,u.bottom),u.left=tn(f.left,u.left),u},sv(t,a,s));return{width:c.right-c.left,height:c.bottom-c.top,x:c.left,y:c.top}}function aA(e){const{width:t,height:n}=ej(e);return{width:t,height:n}}function lA(e,t,n){const r=gr(t),s=yr(t),i=n==="fixed",o=si(e,!0,i,t);let a={scrollLeft:0,scrollTop:0};const c=dr(0);function u(){c.x=Np(s)}if(r||!r&&!i)if((Ro(t)!=="body"||wl(s))&&(a=ed(t)),r){const m=si(t,!0,i,t);c.x=m.x+t.clientLeft,c.y=m.y+t.clientTop}else s&&u();i&&!r&&s&&u();const d=s&&!r&&!i?nj(s,a):dr(0),f=o.left+a.scrollLeft-c.x-d.x,h=o.top+a.scrollTop-c.y-d.y;return{x:f,y:h,width:o.width,height:o.height}}function Xd(e){return Xn(e).position==="static"}function iv(e,t){if(!gr(e)||Xn(e).position==="fixed")return null;if(t)return t(e);let n=e.offsetParent;return yr(e)===n&&(n=n.ownerDocument.body),n}function sj(e,t){const n=sn(e);if(Ju(e))return n;if(!gr(e)){let s=js(e);for(;s&&!vo(s);){if(Qn(s)&&!Xd(s))return s;s=js(s)}return n}let r=iv(e,t);for(;r&&H_(r)&&Xd(r);)r=iv(r,t);return r&&vo(r)&&Xd(r)&&!jp(r)?n:r||Z_(e)||n}const cA=async function(e){const t=this.getOffsetParent||sj,n=this.getDimensions,r=await n(e.floating);return{reference:lA(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:r.width,height:r.height}}};function uA(e){return Xn(e).direction==="rtl"}const dA={convertOffsetParentRelativeRectToViewportRelativeRect:J_,getDocumentElement:yr,getClippingRect:oA,getOffsetParent:sj,getElementRects:cA,getClientRects:eA,getDimensions:aA,getScale:Ji,isElement:Qn,isRTL:uA};function ij(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function fA(e,t){let n=null,r;const s=yr(e);function i(){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),i();const u=e.getBoundingClientRect(),{left:d,top:f,width:h,height:m}=u;if(a||t(),!h||!m)return;const w=Jl(f),g=Jl(s.clientWidth-(d+h)),b=Jl(s.clientHeight-(f+m)),y=Jl(d),v={rootMargin:-w+"px "+-g+"px "+-b+"px "+-y+"px",threshold:tn(0,bs(1,c))||1};let j=!0;function S(N){const k=N[0].intersectionRatio;if(k!==c){if(!j)return o();k?o(!1,k):r=setTimeout(()=>{o(!1,1e-7)},1e3)}k===1&&!ij(u,e.getBoundingClientRect())&&o(),j=!1}try{n=new IntersectionObserver(S,{...v,root:s.ownerDocument})}catch{n=new IntersectionObserver(S,v)}n.observe(e)}return o(!0),i}function hA(e,t,n,r){r===void 0&&(r={});const{ancestorScroll:s=!0,ancestorResize:i=!0,elementResize:o=typeof ResizeObserver=="function",layoutShift:a=typeof IntersectionObserver=="function",animationFrame:c=!1}
vendor: 8,645 bytes, line 171
171=r,u=Cp(e),d=s||i?[...u?Ga(u):[],...Ga(t)]:[];d.forEach(y=>{s&&y.addEventListener("scroll",n,{passive:!0}),i&&y.addEventListener("resize",n)});const f=u&&a?fA(u,n):null;let h=-1,m=null;o&&(m=new ResizeObserver(y=>{let[p]=y;p&&p.target===u&&m&&(m.unobserve(t),cancelAnimationFrame(h),h=requestAnimationFrame(()=>{var v;(v=m)==null||v.observe(t)})),n()}),u&&!c&&m.observe(u),m.observe(t));let w,g=c?si(e):null;c&&b();function b(){const y=si(e);g&&!ij(g,y)&&n(),g=y,w=requestAnimationFrame(b)}return n(),()=>{var y;d.forEach(p=>{s&&p.removeEventListener("scroll",n),i&&p.removeEventListener("resize",n)}),f==null||f(),(y=m)==null||y.disconnect(),m=null,c&&cancelAnimationFrame(w)}}const mA=F_,pA=V_,gA=O_,yA=B_,vA=D_,ov=M_,xA=$_,wA=(e,t,n)=>{const r=new Map,s={platform:dA,...n},i={...s.platform,_c:r};return I_(e,t,{...s,platform:i})};var bA=typeof document<"u",jA=function(){},Ec=bA?x.useLayoutEffect:jA;function uu(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,s;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(!uu(e[r],t[r]))return!1;return!0}if(s=Object.keys(e),n=s.length,n!==Object.keys(t).length)return!1;for(r=n;r--!==0;)if(!{}.hasOwnProperty.call(t,s[r]))return!1;for(r=n;r--!==0;){const i=s[r];if(!(i==="_owner"&&e.$$typeof)&&!uu(e[i],t[i]))return!1}return!0}return e!==e&&t!==t}function oj(e){return typeof window>"u"?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function av(e,t){const n=oj(e);return Math.round(t*n)/n}function Jd(e){const t=x.useRef(e);return Ec(()=>{t.current=e}),t}function SA(e){e===void 0&&(e={});const{placement:t="bottom",strategy:n="absolute",middleware:r=[],platform:s,elements:{reference:i,floating:o}={},transform:a=!0,whileElementsMounted:c,open:u}=e,[d,f]=x.useState({x:0,y:0,strategy:n,placement:t,middlewareData:{},isPositioned:!1}),[h,m]=x.useState(r);uu(h,r)||m(r);const[w,g]=x.useState(null),[b,y]=x.useState(null),p=x.useCallback(P=>{P!==N.current&&(N.current=P,g(P))},[]),v=x.useCallback(P=>{P!==k.current&&(k.current=P,y(P))},[]),j=i||w,S=o||b,N=x.useRef(null),k=x.useRef(null),T=x.useRef(d),_=c!=null,M=Jd(c),V=Jd(s),D=Jd(u),W=x.useCallback(()=>{if(!N.current||!k.current)return;const P={placement:t,strategy:n,middleware:h};V.current&&(P.platform=V.current),wA(N.current,k.current,P).then(A=>{const z={...A,isPositioned:D.current!==!1};L.current&&!uu(T.current,z)&&(T.current=z,yl.flushSync(()=>{f(z)}))})},[h,t,n,V,D]);Ec(()=>{u===!1&&T.current.isPositioned&&(T.current.isPositioned=!1,f(P=>({...P,isPositioned:!1})))},[u]);const L=x.useRef(!1);Ec(()=>(L.current=!0,()=>{L.current=!1}),[]),Ec(()=>{if(j&&(N.current=j),S&&(k.current=S),j&&S){if(M.current)return M.current(j,S,W);W()}},[j,S,W,M,_]);const Q=x.useMemo(()=>({reference:N,floating:k,setReference:p,setFloating:v}),[p,v]),Z=x.useMemo(()=>({reference:j,floating:S}),[j,S]),K=x.useMemo(()=>{const P={position:n,left:0,top:0};if(!Z.floating)return P;const A=av(Z.floating,d.x),z=av(Z.floating,d.y);return a?{...P,transform:"translate("+A+"px, "+z+"px)",...oj(Z.floating)>=1.5&&{willChange:"transform"}}:{position:n,left:A,top:z}},[n,a,Z.floating,d.x,d.y]);return x.useMemo(()=>({...d,update:W,refs:Q,elements:Z,floatingStyles:K}),[d,W,Q,Z,K])}const CA=e=>{function t(n){return{}.hasOwnProperty.call(n,"current")}return{name:"arrow",options:e,fn(n){const{element:r,padding:s}=typeof e=="function"?e(n):e;return r&&t(r)?r.current!=null?ov({element:r.current,padding:s}).fn(n):{}:r?ov({element:r,padding:s}).fn(n):{}}}},NA=(e,t)=>({...mA(e),options:[e,t]}),kA=(e,t)=>({...pA(e),options:[e,t]}),TA=(e,t)=>({...xA(e),options:[e,t]}),EA=(e,t)=>({...gA(e),options:[e,t]}),PA=(e,t)=>({...yA(e),options:[e,t]}),_A=(e,t)=>({...vA(e),options:[e,t]}),AA=(e,t)=>({...CA(e),options:[e,t]});var RA="Arrow",aj=x.forwardRef((e,t)=>{const{children:n,width:r=10,height:s=5,...i}=e;return l.jsx(st.svg,{...i,ref:t,width:r,height:s,viewBox:"0 0 30 10",preserveAspectRatio:"none",children:e.asChild?n:l.jsx("polygon",{points:"0,0 30,0 15,10"})})});aj.displayName=RA;var IA=aj;function MA(e){const[t,n]=x.useState(void 0);return Ir(()=>{if(e){n({width:e.offsetWidth,height:e.offsetHeight});const r=new ResizeObserver(s=>{if(!Array.isArray(s)||!s.length)return;const i=s[0];let o,a;if("borderBoxSize"in i){const c=i.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 lj="Popper",[cj,uj]=vl(lj),[x$,dj]=cj(lj),fj="PopperAnchor",hj=x.forwardRef((e,t)=>{const{__scopePopper:n,virtualRef:r,...s}=e,i=dj(fj,n),o=x.useRef(null),a=Vt(t,o);return x.useEffect(()=>{i.onAnchorChange((r==null?void 0:r.current)||o.current)}),r?null:l.jsx(st.div,{...s,ref:a})});hj.displayName=fj;var kp="PopperContent",[OA,DA]=cj(kp),mj=x.forwardRef((e,t)=>{var oe,Re,Ye,Fe,ve,X;const{__scopePopper:n,side:r="bottom",sideOffset:s=0,align:i="center",alignOffset:o=0,arrowPadding:a=0,avoidCollisions:c=!0,collisionBoundary:u=[],collisionPadding:d=0,sticky:f="partial",hideWhenDetached:h=!1,updatePositionStrategy:m="optimized",onPlaced:w,...g}=e,b=dj(kp,n),[y,p]=x.useState(null),v=Vt(t,ge=>p(ge)),[j,S]=x.useState(null),N=MA(j),k=(N==null?void 0:N.width)??0,T=(N==null?void 0:N.height)??0,_=r+(i!=="center"?"-"+i:""),M=typeof d=="number"?d:{top:0,right:0,bottom:0,left:0,...d},V=Array.isArray(u)?u:[u],D=V.length>0,W={padding:M,boundary:V.filter(FA),altBoundary:D},{refs:L,floatingStyles:Q,placement:Z,isPositioned:K,middlewareData:P}=SA({strategy:"fixed",placement:_,whileElementsMounted:(...ge)=>hA(...ge,{animationFrame:m==="always"}),elements:{reference:b.anchor},middleware:[NA({mainAxis:s+T,alignmentAxis:o}),c&&kA({mainAxis:!0,crossAxis:!1,limiter:f==="partial"?TA():void 0,...W}),c&&EA({...W}),PA({...W,apply:({elements:ge,rects:Pe,availableWidth:Ze,availableHeight:vt})=>{const{width:At,height:zt}=Pe.reference,ht=ge.floating.style;ht.setProperty("--radix-popper-available-width",`${Ze}px`),ht.setProperty("--radix-popper-available-height",`${vt}px`),ht.setProperty("--radix-popper-anchor-width",`${At}px`),ht.setProperty("--radix-popper-anchor-height",`${zt}px`)}}),j&&AA({element:j,padding:a}),VA({arrowWidth:k,arrowHeight:T}),h&&_A({strategy:"referenceHidden",...W})]}),[A,z]=yj(Z),se=pr(w);Ir(()=>{K&&(se==null||se())},[K,se]);const te=(oe=P.arrow)==null?void 0:oe.x,le=(Re=P.arrow)==null?void 0:Re.y,ie=((Ye=P.arrow)==null?void 0:Ye.centerOffset)!==0,[ke,Le]=x.useState();return Ir(()=>{y&&Le(window.getComputedStyle(y).zIndex)},[y]),l.jsx("div",{ref:L.setFloating,"data-radix-popper-content-wrapper":"",style:{...Q,transform:K?Q.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:ke,"--radix-popper-transform-origin":[(Fe=P.transformOrigin)==null?void 0:Fe.x,(ve=P.transformOrigin)==null?void 0:ve.y].join(" "),...((X=P.hide)==null?void 0:X.referenceHidden)&&{visibility:"hidden",pointerEvents:"none"}},dir:e.dir,children:l.jsx(OA,{scope:n,placedSide:A,onArrowChange:S,arrowX:te,arrowY:le,shouldHideArrow:ie,children:l.jsx(st.div,{"data-side":A,"data-align":z,...g,ref:v,style:{...g.style,animation:K?void 0:"none"}})})})});mj.displayName=kp;var pj="PopperArrow",LA={top:"bottom",right:"left",bottom:"top",left:"right"},gj=x.forwardRef(function(t,n){const{__scopePopper:r,...s}=t,i=DA(pj,r),o=LA[i.placedSide];return l.jsx("span",{ref:i.onArrowChange,style:{position:"absolute",left:i.arrowX,top:i.arrowY,[o]:0,transformOrigin:{top:"",right:"0 0",bottom:"center 0",left:"100% 0"}[i.placedSide],transform:{top:"translateY(100%)",right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:"rotate(180deg)",left:"translateY(50%) rotate(-90deg) translateX(50%)"}[i.placedSide],visibility:i.shouldHideArrow?"hidden":void 0},children:l.jsx(IA,{...s,ref:n,style:{...s.style,display:"block"}})})});gj.displayName=pj;function FA(e){return e!==null}var VA=e=>({name:"transformOrigin",options:e,fn(t){var b,y,p;const{placement:n,rects:r,middlewareData:s}=t,o=((b=s.arrow)==null?void 0:b.centerOffset)!==0,a=o?0:e.arrowWidth,c=o?0:e.arrowHeight,[u,d]=yj(n),f={start:"0%",center:"50%",end:"100%"}[d],h=(((y=s.arrow)==null?void 0:y.x)??0)+a/2,m=(((p=s.arrow)==null?void 0:p.y)??0)+c/2;let w="",g="";return u==="bottom"?(w=o?f:`${h}px`,g=`${-c}px`):u==="top"?(w=o?f:`${h}px`,g=`${r.floating.height+c}px`):u==="right"?(w=`${-c}px`,g=o?f:`${m}px`):u==="left"&&(w=`${r.floating.width+c}px`,g=o?f:`${m}px`),{data:{x:w,y:g}}}});function yj(e){const[t,n="center"]=e.split("-");return[t,n]}var $A=hj,BA=mj,zA=gj,[td,w$]=vl("Tooltip",[uj]),Tp=uj(),vj="TooltipProvider",
vendor: 4,302 bytes, line 171
171UA=700,lv="tooltip.open",[HA,xj]=td(vj),wj=e=>{const{__scopeTooltip:t,delayDuration:n=UA,skipDelayDuration:r=300,disableHoverableContent:s=!1,children:i}=e,o=x.useRef(!0),a=x.useRef(!1),c=x.useRef(0);return x.useEffect(()=>{const u=c.current;return()=>window.clearTimeout(u)},[]),l.jsx(HA,{scope:t,isOpenDelayedRef:o,delayDuration:n,onOpen:x.useCallback(()=>{window.clearTimeout(c.current),o.current=!1},[]),onClose:x.useCallback(()=>{window.clearTimeout(c.current),c.current=window.setTimeout(()=>o.current=!0,r)},[r]),isPointerInTransitRef:a,onPointerInTransitChange:x.useCallback(u=>{a.current=u},[]),disableHoverableContent:s,children:i})};wj.displayName=vj;var bj="Tooltip",[b$,nd]=td(bj),Mh="TooltipTrigger",WA=x.forwardRef((e,t)=>{const{__scopeTooltip:n,...r}=e,s=nd(Mh,n),i=xj(Mh,n),o=Tp(n),a=x.useRef(null),c=Vt(t,a,s.onTriggerChange),u=x.useRef(!1),d=x.useRef(!1),f=x.useCallback(()=>u.current=!1,[]);return x.useEffect(()=>()=>document.removeEventListener("pointerup",f),[f]),l.jsx($A,{asChild:!0,...o,children:l.jsx(st.button,{"aria-describedby":s.open?s.contentId:void 0,"data-state":s.stateAttribute,...r,ref:c,onPointerMove:$e(e.onPointerMove,h=>{h.pointerType!=="touch"&&!d.current&&!i.isPointerInTransitRef.current&&(s.onTriggerEnter(),d.current=!0)}),onPointerLeave:$e(e.onPointerLeave,()=>{s.onTriggerLeave(),d.current=!1}),onPointerDown:$e(e.onPointerDown,()=>{s.open&&s.onClose(),u.current=!0,document.addEventListener("pointerup",f,{once:!0})}),onFocus:$e(e.onFocus,()=>{u.current||s.onOpen()}),onBlur:$e(e.onBlur,s.onClose),onClick:$e(e.onClick,s.onClose)})})});WA.displayName=Mh;var KA="TooltipPortal",[j$,GA]=td(KA,{forceMount:void 0}),xo="TooltipContent",jj=x.forwardRef((e,t)=>{const n=GA(xo,e.__scopeTooltip),{forceMount:r=n.forceMount,side:s="top",...i}=e,o=nd(xo,e.__scopeTooltip);return l.jsx(Po,{present:r||o.open,children:o.disableHoverableContent?l.jsx(Sj,{side:s,...i,ref:t}):l.jsx(YA,{side:s,...i,ref:t})})}),YA=x.forwardRef((e,t)=>{const n=nd(xo,e.__scopeTooltip),r=xj(xo,e.__scopeTooltip),s=x.useRef(null),i=Vt(t,s),[o,a]=x.useState(null),{trigger:c,onClose:u}=n,d=s.current,{onPointerInTransitChange:f}=r,h=x.useCallback(()=>{a(null),f(!1)},[f]),m=x.useCallback((w,g)=>{const b=w.currentTarget,y={x:w.clientX,y:w.clientY},p=JA(y,b.getBoundingClientRect()),v=eR(y,p),j=tR(g.getBoundingClientRect()),S=rR([...v,...j]);a(S),f(!0)},[f]);return x.useEffect(()=>()=>h(),[h]),x.useEffect(()=>{if(c&&d){const w=b=>m(b,d),g=b=>m(b,c);return c.addEventListener("pointerleave",w),d.addEventListener("pointerleave",g),()=>{c.removeEventListener("pointerleave",w),d.removeEventListener("pointerleave",g)}}},[c,d,m,h]),x.useEffect(()=>{if(o){const w=g=>{const b=g.target,y={x:g.clientX,y:g.clientY},p=(c==null?void 0:c.contains(b))||(d==null?void 0:d.contains(b)),v=!nR(y,o);p?h():v&&(h(),u())};return document.addEventListener("pointermove",w),()=>document.removeEventListener("pointermove",w)}},[c,d,o,u,h]),l.jsx(Sj,{...e,ref:i})}),[ZA,qA]=td(bj,{isInside:!1}),QA=rE("TooltipContent"),Sj=x.forwardRef((e,t)=>{const{__scopeTooltip:n,children:r,"aria-label":s,onEscapeKeyDown:i,onPointerDownOutside:o,...a}=e,c=nd(xo,n),u=Tp(n),{onClose:d}=c;return x.useEffect(()=>(document.addEventListener(lv,d),()=>document.removeEventListener(lv,d)),[d]),x.useEffect(()=>{if(c.trigger){const f=h=>{const m=h.target;m!=null&&m.contains(c.trigger)&&d()};return window.addEventListener("scroll",f,{capture:!0}),()=>window.removeEventListener("scroll",f,{capture:!0})}},[c.trigger,d]),l.jsx(Yu,{asChild:!0,disableOutsidePointerEvents:!1,onEscapeKeyDown:i,onPointerDownOutside:o,onFocusOutside:f=>f.preventDefault(),onDismiss:d,children:l.jsxs(BA,{"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(QA,{children:r}),l.jsx(ZA,{scope:n,isInside:!0,children:l.jsx(TE,{id:c.contentId,role:"tooltip",children:s||r})})]})})});jj.displayName=xo;var Cj="TooltipArrow",XA=x.forwardRef((e,t)=>
171{const{__scopeTooltip:n,...r}=e,s=Tp(n);return qA(Cj,n).isInside?null:l.jsx(zA,{...s,...r,ref:t})});XA.displayName=Cj;function JA(e,t){const n=Math.abs(t.top-e.y),r=Math.abs(t.bottom-e.y),s=Math.abs(t.right-e.x),i=Math.abs(t.left-e.x);switch(Math.min(n,r,s,i)){case i:return"left";case s:return"right";case n:return"top";case r:return"bottom";default:throw new Error("unreachable")}}function eR(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 tR(e){const{top:t,right:n,bottom:r,left:s}=e;return[{x:s,y:t},{x:n,y:t},{x:n,y:r},{x:s,y:r}]}function nR(e,t){const{x:n,y:r}=e;let s=!1;for(let i=0,o=t.length-1;i<t.length;o=i++){const a=t[i],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&&(s=!s)}return s}function rR(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),sR(t)}function sR(e){if(e.length<=1)return e.slice();const t=[];for(let r=0;r<e.length;r++){const s=e[r];for(;t.length>=2;){const i=t[t.length-1],o=t[t.length-2];if((i.x-o.x)*(s.y-o.y)>=(i.y-o.y)*(s.x-o.x))t.pop();else break}t.push(s)}t.pop();const n=[];for(let r=e.length-1;r>=0;r--){const s=e[r];for(;n.length>=2;){const i=n[n.length-1],o=n[n.length-2];if((i.x-o.x)*(s.y-o.y)>=(i.y-o.y)*(s.x-o.x))n.pop();else break}n.push(s)}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 iR=wj,Nj=jj;const oR=iR,aR=x.forwardRef(({className:e,sideOffset:t=4,...n},r)=>l.jsx(Nj,{ref:r,sideOffset:t,className:Ne("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}));aR.displayName=Nj.displayName;var rd=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(){}},sd=typeof window>"u"||"Deno"in globalThis;function Fn(){}function lR(e,t){return typeof e=="function"?e(t):e}function cR(e){return typeof e=="number"&&e>=0&&e!==1/0}function uR(e,t){return Math.max(e+(t||0)-Date.now(),0)}function Oh(e,t){return typeof e=="function"?e(t):e}function dR(e,t){return typeof e=="function"?e(t):e}function cv(e,t){const{type:n="all",exact:r,fetchStatus:s,predicate:i,queryKey:o,stale:a}=e;if(o){if(r){if(t.queryHash!==Ep(o,t.options))return!1}else if(!Za(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||s&&s!==t.state.fetchStatus||i&&!i(t))}function uv(e,t){const{exact:n,status:r,predicate:s,mutationKey:i}=e;if(i){if(!t.options.mutationKey)return!1;if(n){if(Ya(t.options.mutationKey)!==Ya(i))return!1}else if(!Za(t.options.mutationKey,i))return!1}return!(r&&t.state.status!==r||s&&!s(t))}function Ep(e,t){return((t==null?void 0:t.queryKeyHashFn)||Ya)(e)}function Ya(e){return JSON.stringify(e,(t,n)=>Dh(n)?Object.keys(n).sort().reduce((r,s)=>(r[s]=n[s],r),{}):n)}function Za(e,t){return e===t?!0:typeof e!=typeof t?!1:e&&t&&typeof e=="object"&&typeof t=="object"?Object.keys(t).every(n=>Za(e[n],t[n])):!1}function kj(e,t){if(e===t)return e;const n=dv(e)&&dv(t);if(n||Dh(e)&&Dh(t)){const r=n?e:Object.keys(e),s=r.length,i=n?t:Object.keys(t),o=i.length,a=n?[]:{},c=new Set(r);let u=0;for(let d=0;d<o;d++){const f=n?d:i[d];(!n&&c.has(f)||n)&&e[f]===void 0&&t[f]===void 0?(a[f]=void 0,u++):(a[f]=kj(e[f],t[f]),a[f]===e[f]&&e[f]!==void 0&&u++)}return s===o&&u===s?e:a}return t}function dv(e){return Array.isArray(e)&&e.length===Object.keys(e).length}function Dh(e){if(!fv(e))return!1;const t=e.constructor;if(t===void 0)return!0;const n=t.prototype;return!(!fv(n)||!n.hasOwnProperty("isPrototypeOf")||Object.getPrototypeOf(e)!==Object.prototype)}function fv(e){return Object.prototype.toString.call(e)==="[object Object]"}function fR(e){return new Promise(t=>{setTimeout(t,e)})}
vendor: 21,092 bytes, line 171
171function hR(e,t,n){return typeof n.structuralSharing=="function"?n.structuralSharing(e,t):n.structuralSharing!==!1?kj(e,t):t}function mR(e,t,n=0){const r=[...e,t];return n&&r.length>n?r.slice(1):r}function pR(e,t,n=0){const r=[t,...e];return n&&r.length>n?r.slice(0,-1):r}var Pp=Symbol();function Tj(e,t){return!e.queryFn&&(t!=null&&t.initialPromise)?()=>t.initialPromise:!e.queryFn||e.queryFn===Pp?()=>Promise.reject(new Error(`Missing queryFn: '${e.queryHash}'`)):e.queryFn}var Us,es,no,T0,gR=(T0=class extends rd{constructor(){super();be(this,Us);be(this,es);be(this,no);fe(this,no,t=>{if(!sd&&window.addEventListener){const n=()=>t();return window.addEventListener("visibilitychange",n,!1),()=>{window.removeEventListener("visibilitychange",n)}}})}onSubscribe(){O(this,es)||this.setEventListener(O(this,no))}onUnsubscribe(){var t;this.hasListeners()||((t=O(this,es))==null||t.call(this),fe(this,es,void 0))}setEventListener(t){var n;fe(this,no,t),(n=O(this,es))==null||n.call(this),fe(this,es,t(r=>{typeof r=="boolean"?this.setFocused(r):this.onFocus()}))}setFocused(t){O(this,Us)!==t&&(fe(this,Us,t),this.onFocus())}onFocus(){const t=this.isFocused();this.listeners.forEach(n=>{n(t)})}isFocused(){var t;return typeof O(this,Us)=="boolean"?O(this,Us):((t=globalThis.document)==null?void 0:t.visibilityState)!=="hidden"}},Us=new WeakMap,es=new WeakMap,no=new WeakMap,T0),Ej=new gR,ro,ts,so,E0,yR=(E0=class extends rd{constructor(){super();be(this,ro,!0);be(this,ts);be(this,so);fe(this,so,t=>{if(!sd&&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(){O(this,ts)||this.setEventListener(O(this,so))}onUnsubscribe(){var t;this.hasListeners()||((t=O(this,ts))==null||t.call(this),fe(this,ts,void 0))}setEventListener(t){var n;fe(this,so,t),(n=O(this,ts))==null||n.call(this),fe(this,ts,t(this.setOnline.bind(this)))}setOnline(t){O(this,ro)!==t&&(fe(this,ro,t),this.listeners.forEach(r=>{r(t)}))}isOnline(){return O(this,ro)}},ro=new WeakMap,ts=new WeakMap,so=new WeakMap,E0),du=new yR;function vR(){let e,t;const n=new Promise((s,i)=>{e=s,t=i});n.status="pending",n.catch(()=>{});function r(s){Object.assign(n,s),delete n.resolve,delete n.reject}return n.resolve=s=>{r({status:"fulfilled",value:s}),e(s)},n.reject=s=>{r({status:"rejected",reason:s}),t(s)},n}function xR(e){return Math.min(1e3*2**e,3e4)}function Pj(e){return(e??"online")==="online"?du.isOnline():!0}var _j=class extends Error{constructor(e){super("CancelledError"),this.revert=e==null?void 0:e.revert,this.silent=e==null?void 0:e.silent}};function ef(e){return e instanceof _j}function Aj(e){let t=!1,n=0,r=!1,s;const i=vR(),o=g=>{var b;r||(h(new _j(g)),(b=e.abort)==null||b.call(e))},a=()=>{t=!0},c=()=>{t=!1},u=()=>Ej.isFocused()&&(e.networkMode==="always"||du.isOnline())&&e.canRun(),d=()=>Pj(e.networkMode)&&e.canRun(),f=g=>{var b;r||(r=!0,(b=e.onSuccess)==null||b.call(e,g),s==null||s(),i.resolve(g))},h=g=>{var b;r||(r=!0,(b=e.onError)==null||b.call(e,g),s==null||s(),i.reject(g))},m=()=>new Promise(g=>{var b;s=y=>{(r||u())&&g(y)},(b=e.onPause)==null||b.call(e)}).then(()=>{var g;s=void 0,r||(g=e.onContinue)==null||g.call(e)}),w=()=>{if(r)return;let g;const b=n===0?e.initialPromise:void 0;try{g=b??e.fn()}catch(y){g=Promise.reject(y)}Promise.resolve(g).then(f).catch(y=>{var N;if(r)return;const p=e.retry??(sd?0:3),v=e.retryDelay??xR,j=typeof v=="function"?v(n,y):v,S=p===!0||typeof p=="number"&&n<p||typeof p=="function"&&p(n,y);if(t||!S){h(y);return}n++,(N=e.onFail)==null||N.call(e,n,y),fR(j).then(()=>u()?void 0:m()).then(()=>{t?h(y):w()})})};return{promise:i,cancel:o,continue:()=>(s==null||s(),i),cancelRetry:a,continueRetry:c,canStart:d,start:()=>(d()?w():m().then(w),i)}}var wR=e=>setTimeout(e,0);function bR(){let e=[],t=0,n=a=>{a()},r=a=>{a()},s=wR;const i=a=>{t?e.push(a):s(()=>{n(a)})},o=()=>{const a=e;e=[],a.length&&s(()=>{r(()=>{a.forEach(c=>{n(c)})})})};return{batch:a=>{let c;t++;try{c=a()}finally{t--,t||o()}return c},batchCalls:a=>(...c)=>{i(()=>{a(...c)})},schedule:i,setNotifyFunction:a=>{n=a},setBatchNotifyFunction:a=>{r=a},setScheduler:a=>{s=a}}}var Dt=bR(),Hs,P0,Rj=(P0=class{constructor(){be(this,Hs)}destroy(){this.clearGcTimeout()}scheduleGc(){this.clearGcTimeout(),cR(this.gcTime)&&fe(this,Hs,setTimeout(()=>{this.optionalRemove()},this.gcTime))}updateGcTime(e){this.gcTime=Math.max(this.gcTime||0,e??(sd?1/0:5*60*1e3))}clearGcTimeout(){O(this,Hs)&&(clearTimeout(O(this,Hs)),fe(this,Hs,void 0))}},Hs=new WeakMap,P0),io,Ws,vn,Ks,Tt,cl,Gs,Vn,br,_0,jR=(_0=class extends Rj{constructor(t){super();be(this,Vn);be(this,io);be(this,Ws);be(this,vn);be(this,Ks);be(this,Tt);be(this,cl);be(this,Gs);fe(this,Gs,!1),fe(this,cl,t.defaultOptions),this.setOptions(t.options),this.observers=[],fe(this,Ks,t.client),fe(this,vn,O(this,Ks).getQueryCache()),this.queryKey=t.queryKey,this.queryHash=t.queryHash,fe(this,io,CR(this.options)),this.state=t.state??O(this,io),this.scheduleGc()}get meta(){return this.options.meta}get promise(){var t;return(t=O(this,Tt))==null?void 0:t.promise}setOptions(t){this.options={...O(this,cl),...t},this.updateGcTime(this.options.gcTime)}optionalRemove(){!this.observers.length&&this.state.fetchStatus==="idle"&&O(this,vn).remove(this)}setData(t,n){const r=hR(this.state.data,t,this.options);return Ct(this,Vn,br).call(this,{data:r,type:"success",dataUpdatedAt:n==null?void 0:n.updatedAt,manual:n==null?void 0:n.manual}),r}setState(t,n){Ct(this,Vn,br).call(this,{type:"setState",state:t,setStateOptions:n})}cancel(t){var r,s;const n=(r=O(this,Tt))==null?void 0:r.promise;return(s=O(this,Tt))==null||s.cancel(t),n?n.then(Fn).catch(Fn):Promise.resolve()}destroy(){super.destroy(),this.cancel({silent:!0})}reset(){this.destroy(),this.setState(O(this,io))}isActive(){return this.observers.some(t=>dR(t.options.enabled,this)!==!1)}isDisabled(){return this.getObserversCount()>0?!this.isActive():this.options.queryFn===Pp||this.state.dataUpdateCount+this.state.errorUpdateCount===0}isStatic(){return this.getObserversCount()>0?this.observers.some(t=>Oh(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:!uR(this.state.dataUpdatedAt,t)}onFocus(){var n;const t=this.observers.find(r=>r.shouldFetchOnWindowFocus());t==null||t.refetch({cancelRefetch:!1}),(n=O(this,Tt))==null||n.continue()}onOnline(){var n;const t=this.observers.find(r=>r.shouldFetchOnReconnect());t==null||t.refetch({cancelRefetch:!1}),(n=O(this,Tt))==null||n.continue()}addObserver(t){this.observers.includes(t)||(this.observers.push(t),this.clearGcTimeout(),O(this,vn).notify({type:"observerAdded",query:this,observer:t}))}removeObserver(t){this.observers.includes(t)&&(this.observers=this.observers.filter(n=>n!==t),this.observers.length||(O(this,Tt)&&(O(this,Gs)?O(this,Tt).cancel({revert:!0}):O(this,Tt).cancelRetry()),this.scheduleGc()),O(this,vn).notify({type:"observerRemoved",query:this,observer:t}))}getObserversCount(){return this.observers.length}invalidate(){this.state.isInvalidated||Ct(this,Vn,br).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(O(this,Tt))return O(this,Tt).continueRetry(),O(this,Tt).promise}if(t&&this.setOptions(t),!this.options.queryFn){const h=this.observers.find(m=>m.options.queryFn);h&&this.setOptions(h.options)}const r=new AbortController,s=h=>{Object.defineProperty(h,"signal",{enumerable:!0,get:()=>(fe(this,Gs,!0),r.signal)})},i=()=>{const h=Tj(this.options,n),w=(()=>{const g={client:O(this,Ks),queryKey:this.queryKey,meta:this.meta};return s(g),g})();return fe(this,Gs,!1),this.options.persister?this.options.persister(h,w,this):h(w)},a=(()=>{const h={fetchOptions:n,options:this.options,queryKey:this.queryKey,client:O(this,Ks),state:this.state,fetchFn:i};return s(h),h})();(u=this.options.behavior)==null||u.onFetch(a,this),fe(this,Ws,this.state),(this.state.fetchStatus==="idle"||this.state.fetchMeta!==((d=a.fetchOptions)==null?void 0:d.meta))&&Ct(this,Vn,br).call(this,{type:"fetch",meta:(f=a.fetchOptions)==null?void 0:f.meta});const c=h=>{var m,w,g,b;ef(h)&&h.silent||Ct(this,Vn,br).call(this,{type:"error",error:h}),ef(h)||((w=(m=O(this,vn).config).onError)==null||w.call(m,h,this),(b=(g=O(this,vn).config).onSettled)==null||b.call(g,this.state.data,h,this)),this.scheduleGc()};return fe(this,Tt,Aj({initialPromise:n==null?void 0:n.initialPromise,fn:a.fetchFn,abort:r.abort.bind(r),onSuccess:h=>{var m,w,g,b;if(h===void 0){c(new Error(`${this.queryHash} data is undefined`));return}try{this.setData(h)}catch(y){c(y);return}(w=(m=O(this,vn).config).onSuccess)==null||w.call(m,h,this),(b=(g=O(this,vn).config).onSettled)==null||b.call(g,h,this.state.error,this),this.scheduleGc()},onError:c,onFail:(h,m)=>{Ct(this,Vn,br).call(this,{type:"failed",failureCount:h,error:m})},onPause:()=>{Ct(this,Vn,br).call(this,{type:"pause"})},onContinue:()=>{Ct(this,Vn,br).call(this,{type:"continue"})},retry:a.options.retry,retryDelay:a.options.retryDelay,networkMode:a.options.networkMode,canRun:()=>!0})),O(this,Tt).start()}},io=new WeakMap,Ws=new WeakMap,vn=new WeakMap,Ks=new WeakMap,Tt=new WeakMap,cl=new WeakMap,Gs=new WeakMap,Vn=new WeakSet,br=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,...SR(r.data,this.options),fetchMeta:t.meta??null};case"success":return fe(this,Ws,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 s=t.error;return ef(s)&&s.revert&&O(this,Ws)?{...O(this,Ws),fetchStatus:"idle"}:{...r,error:s,errorUpdateCount:r.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:r.fetchFailureCount+1,fetchFailureReason:s,fetchStatus:"idle",status:"error"};case"invalidate":return{...r,isInvalidated:!0};case"setState":return{...r,...t.state}}};this.state=n(this.state),Dt.batch(()=>{this.observers.forEach(r=>{r.onQueryUpdate()}),O(this,vn).notify({query:this,type:"updated",action:t})})},_0);function SR(e,t){return{fetchFailureCount:0,fetchFailureReason:null,fetchStatus:Pj(t.networkMode)?"fetching":"paused",...e===void 0&&{error:null,status:"pending"}}}function CR(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 nr,A0,NR=(A0=class extends rd{constructor(t={}){super();be(this,nr);this.config=t,fe(this,nr,new Map)}build(t,n,r){const s=n.queryKey,i=n.queryHash??Ep(s,n);let o=this.get(i);return o||(o=new jR({client:t,queryKey:s,queryHash:i,options:t.defaultQueryOptions(n),state:r,defaultOptions:t.getQueryDefaults(s)}),this.add(o)),o}add(t){O(this,nr).has(t.queryHash)||(O(this,nr).set(t.queryHash,t),this.notify({type:"added",query:t}))}remove(t){const n=O(this,nr).get(t.queryHash);n&&(t.destroy(),n===t&&O(this,nr).delete(t.queryHash),this.notify({type:"removed",query:t}))}clear(){Dt.batch(()=>{this.getAll().forEach(t=>{this.remove(t)})})}get(t){return O(this,nr).get(t)}getAll(){return[...O(this,nr).values()]}find(t){const n={exact:!0,...t};return this.getAll().find(r=>cv(n,r))}findAll(t={}){const n=this.getAll();return Object.keys(t).length>0?n.filter(r=>cv(t,r)):n}notify(t){Dt.batch(()=>{this.listeners.forEach(n=>{n(t)})})}onFocus(){Dt.batch(()=>{this.getAll().forEach(t=>{t.onFocus()})})}onOnline(){Dt.batch(()=>{this.getAll().forEach(t=>{t.onOnline()})})}},nr=new WeakMap,A0),rr,It,Ys,sr,Kr,R0,kR=(R0=class extends Rj{constructor(t){super();be(this,sr);be(this,rr);be(this,It);be(this,Ys);this.mutationId=t.mutationId,fe(this,It,t.mutationCache),fe(this,rr,[]),this.state=t.state||TR(),this.setOptions(t.options),this.scheduleGc()}setOptions(t){this.options=t,this.updateGcTime(this.options.gcTime)}get meta(){return this.options.meta}addObserver(t){O(this,rr).includes(t)||(O(this,rr).push(t),this.clearGcTimeout(),O(this,It).notify({type:"observerAdded",mutation:this,observer:t}))}removeObserver(t){fe(this,rr,O(this,rr).filter(n=>n!==t)),this.scheduleGc(),O(this,It).notify({type:"observerRemoved",mutation:this,observer:t})}optionalRemove(){O(this,rr).length||(this.state.status==="pending"?this.scheduleGc():O(this,It).remove(this))}continue(){var t;return((t=O(this,Ys))==null?void 0:t.continue())??this.execute(this.state.variables)}async execute(t){var i,o,a,c,u,d,f,h,m,w,g,b,y,p,v,j,S,N,k,T;const n=()=>{Ct(this,sr,Kr).call(this,{type:"continue"})};fe(this,Ys,Aj({fn:()=>this.options.mutationFn?this.options.mutationFn(t):Promise.reject(new Error("No mutationFn found")),onFail:(_,M)=>{Ct(this,sr,Kr).call(this,{type:"failed",failureCount:_,error:M})},onPause:()=>{Ct(this,sr,Kr).call(this,{type:"pause"})},onContinue:n,retry:this.options.retry??0,retryDelay:this.options.retryDelay,networkMode:this.options.networkMode,canRun:()=>O(this,It).canRun(this)}));const r=this.state.status==="pending",s=!O(this,Ys).canStart();try{if(r)n();else{Ct(this,sr,Kr).call(this,{type:"pending",variables:t,isPaused:s}),await((o=(i=O(this,It).config).onMutate)==null?void 0:o.call(i,t,this));const M=await((c=(a=this.options).onMutate)==null?void 0:c.call(a,t));M!==this.state.context&&Ct(this,sr,Kr).call(this,{type:"pending",context:M,variables:t,isPaused:s})}const _=await O(this,Ys).start();return await((d=(u=O(this,It).config).onSuccess)==null?void 0:d.call(u,_,t,this.state.context,this)),await((h=(f=this.options).onSuccess)==null?void 0:h.call(f,_,t,this.state.context)),await((w=(m=O(this,It).config).onSettled)==null?void 0:w.call(m,_,null,this.state.variables,this.state.context,this)),await((b=(g=this.options).onSettled)==null?void 0:b.call(g,_,null,t,this.state.context)),Ct(this,sr,Kr).call(this,{type:"success",data:_}),_}catch(_){try{throw await((p=(y=O(this,It).config).onError)==null?void 0:p.call(y,_,t,this.state.context,this)),await((j=(v=this.options).onError)==null?void 0:j.call(v,_,t,this.state.context)),await((N=(S=O(this,It).config).onSettled)==null?void 0:N.call(S,void 0,_,this.state.variables,this.state.context,this)),await((T=(k=this.options).onSettled)==null?void 0:T.call(k,void 0,_,t,this.state.context)),_}finally{Ct(this,sr,Kr).call(this,{type:"error",error:_})}}finally{O(this,It).runNext(this)}}},rr=new WeakMap,It=new WeakMap,Ys=new WeakMap,sr=new WeakSet,Kr=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),Dt.batch(()=>{O(this,rr).forEach(r=>{r.onMutationUpdate(t)}),O(this,It).notify({mutation:this,type:"updated",action:t})})},R0);function TR(){return{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:"idle",variables:void 0,submittedAt:0}}var Cr,$n,ul,I0,ER=(I0=class extends rd{constructor(t={}){super();be(this,Cr);be(this,$n);be(this,ul);this.config=t,fe(this,Cr,new Set),fe(this,$n,new Map),fe(this,ul,0)}build(t,n,r){const s=new kR({mutationCache:this,mutationId:++Al(this,ul)._,options:t.defaultMutationOptions(n),state:r});return this.add(s),s}add(t){O(this,Cr).add(t);const n=ec(t);if(typeof n=="string"){const r=O(this,$n).get(n);r?r.push(t):O(this,$n).set(n,[t])}this.notify({type:"added",mutation:t})}remove(t){if(O(this,Cr).delete(t)){const n=ec(t);if(typeof n=="string"){const r=O(this,$n).get(n);if(r)if(r.length>1){const s=r.indexOf(t);s!==-1&&r.splice(s,1)}else r[0]===t&&O(this,$n).delete(n)}}this.notify({type:"removed",mutation:t})}canRun(t){const n=ec(t);if(typeof n=="string"){const r=O(this,$n).get(n),s=r==null?void 0:r.find(i=>i.state.status==="pending");return!s||s===t}else return!0}runNext(t){var r;const n=ec(t);if(typeof n=="string"){const s=(r=O(this,$n).get(n))==null?void 0:r.find(i=>i!==t&&i.state.isPaused);return(s==null?void 0:s.continue())??Promise.resolve()}else return Promise.resolve()}clear(){Dt.batch(()=>{O(this,Cr).forEach(t=>{this.notify({type:"removed",mutation:t})}),O(this,Cr).clear(),O(this,$n).clear()})}getAll(){return Array.from(O(this,Cr))}find(t){const n={exact:!0,...t};return this.getAll().find(r=>uv(n,r))}findAll(t={}){return this.getAll().filter(n=>uv(t,n))}notify(t){Dt.batch(()=>{this.listeners.forEach(n=>{n(t)})})}resumePausedMutations(){const t=this.getAll().filter(n=>n.state.isPaused);return Dt.batch(()=>Promise.all(t.map(n=>n.continue().catch(Fn))))}},Cr=new WeakMap,$n=new WeakMap,ul=new WeakMap,I0);function ec(e){var t;return(t=e.options.scope)==null?void 0:t.id}function hv(e){return{onFetch:(t,n)=>{var d,f,h,m,w;const r=t.options,s=(h=(f=(d=t.fetchOptions)==null?void 0:d.meta)==null?void 0:f.fetchMore)==null?void 0:h.direction,i=((m=t.state.data)==null?void 0:m.pages)||[],o=((w=t.state.data)==null?void 0:w.pageParams)||[];let a={pages:[],pageParams:[]},c=0;const u=async()=>{let g=!1;const b=v=>{Object.defineProperty(v,"signal",{enumerable:!0,get:()=>(t.signal.aborted?g=!0:t.signal.addEventListener("abort",()=>{g=!0}),t.signal)})},y=Tj(t.options,t.fetchOptions),p=async(v,j,S)=>{if(g)return Promise.reject();if(j==null&&v.pages.length)return Promise.resolve(v);const k=(()=>{const V={client:t.client,queryKey:t.queryKey,pageParam:j,direction:S?"backward":"forward",meta:t.options.meta};return b(V),V})(),T=await y(k),{maxPages:_}=t.options,M=S?pR:mR;return{pages:M(v.pages,T,_),pageParams:M(v.pageParams,j,_)}};if(s&&i.length){const v=s==="backward",j=v?PR:mv,S={pages:i,pageParams:o},N=j(r,S);a=await p(S,N,v)}else{const v=e??i.length;do{const j=c===0?o[0]??r.initialPageParam:mv(r,a);if(c>0&&j==null)break;a=await p(a,j),c++}while(c<v)}return a};t.options.persister?t.fetchFn=()=>{var g,b;return(b=(g=t.options).persister)==null?void 0:b.call(g,u,{client:t.client,queryKey:t.queryKey,meta:t.options.meta,signal:t.signal},n)}:t.fetchFn=u}}}function mv(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 PR(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 qe,ns,rs,oo,ao,ss,lo,co,M0,_R=(M0=class{constructor(e={}){be(this,qe);be(this,ns);be(this,rs);be(this,oo);be(this,ao);be(this,ss);be(this,lo);be(this,co);fe(this,qe,e.queryCache||new NR),fe(this,ns,e.mutationCache||new ER),fe(this,rs,e.defaultOptions||{}),fe(this,oo,new Map),fe(this,ao,new Map),fe(this,ss,0)}mount(){Al(this,ss)._++,O(this,ss)===1&&(fe(this,lo,Ej.subscribe(async e=>{e&&(await this.resumePausedMutations(),O(this,qe).onFocus())})),fe(this,co,du.subscribe(async e=>{e&&(await this.resumePausedMutations(),O(this,qe).onOnline())})))}unmount(){var e,t;Al(this,ss)._--,O(this,ss)===0&&((e=O(this,lo))==null||e.call(this),fe(this,lo,void 0),(t=O(this,co))==null||t.call(this),fe(this,co,void 0))}isFetching(e){return O(this,qe).findAll({...e,fetchStatus:"fetching"}).length}isMutating(e){return O(this,ns).findAll({...e,status:"pending"}).length}getQueryData(e){var n;const t=this.defaultQueryOptions({queryKey:e});return(n=O(this,qe).get(t.queryHash))==null?void 0:n.state.data}ensureQueryData(e){const t=this.defaultQueryOptions(e),n=O(this,qe).build(this,t),r=n.state.data;return r===void 0?this.fetchQuery(e):(e.revalidateIfStale&&n.isStaleByTime(Oh(t.staleTime,n))&&this.prefetchQuery(t),Promise.resolve(r))}getQueriesData(e){return O(this,qe).findAll(e).map(({queryKey:t,state:n})=>{const r=n.data;return[t,r]})}setQueryData(e,t,n){const r=this.defaultQueryOptions({queryKey:e}),s=O(this,qe).get(r.queryHash),i=s==null?void 0:s.state.data,o=lR(t,i);if(o!==void 0)return O(this,qe).build(this,r).setData(o,{...n,manual:!0})}setQueriesData(e,t,n){return Dt.batch(()=>O(this,qe).findAll(e).map(({queryKey:r})=>[r,this.setQueryData(r,t,n)]))}getQueryState(e){var n;const t=this.defaultQueryOptions({queryKey:e});return(n=O(this,qe).get(t.queryHash))==null?void 0:n.state}removeQueries(e){const t=O(this,qe);Dt.batch(()=>
171{t.findAll(e).forEach(n=>{t.remove(n)})})}resetQueries(e,t){const n=O(this,qe);return Dt.batch(()=>(n.findAll(e).forEach(r=>{r.reset()}),this.refetchQueries({type:"active",...e},t)))}cancelQueries(e,t={}){const n={revert:!0,...t},r=Dt.batch(()=>O(this,qe).findAll(e).map(s=>s.cancel(n)));return Promise.all(r).then(Fn).catch(Fn)}invalidateQueries(e,t={}){return Dt.batch(()=>(O(this,qe).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=Dt.batch(()=>O(this,qe).findAll(e).filter(s=>!s.isDisabled()&&!s.isStatic()).map(s=>{let i=s.fetch(void 0,n);return n.throwOnError||(i=i.catch(Fn)),s.state.fetchStatus==="paused"?Promise.resolve():i}));return Promise.all(r).then(Fn)}fetchQuery(e){const t=this.defaultQueryOptions(e);t.retry===void 0&&(t.retry=!1);const n=O(this,qe).build(this,t);return n.isStaleByTime(Oh(t.staleTime,n))?n.fetch(t):Promise.resolve(n.state.data)}prefetchQuery(e){return this.fetchQuery(e).then(Fn).catch(Fn)}fetchInfiniteQuery(e){return e.behavior=hv(e.pages),this.fetchQuery(e)}prefetchInfiniteQuery(e){return this.fetchInfiniteQuery(e).then(Fn).catch(Fn)}ensureInfiniteQueryData(e){return e.behavior=hv(e.pages),this.ensureQueryData(e)}resumePausedMutations(){return du.isOnline()?O(this,ns).resumePausedMutations():Promise.resolve()}getQueryCache(){return O(this,qe)}getMutationCache(){return O(this,ns)}getDefaultOptions(){return O(this,rs)}setDefaultOptions(e){fe(this,rs,e)}setQueryDefaults(e,t){O(this,oo).set(Ya(e),{queryKey:e,defaultOptions:t})}getQueryDefaults(e){const t=[...O(this,oo).values()],n={};return t.forEach(r=>{Za(e,r.queryKey)&&Object.assign(n,r.defaultOptions)}),n}setMutationDefaults(e,t){O(this,ao).set(Ya(e),{mutationKey:e,defaultOptions:t})}getMutationDefaults(e){const t=[...O(this,ao).values()],n={};return t.forEach(r=>{Za(e,r.mutationKey)&&Object.assign(n,r.defaultOptions)}),n}defaultQueryOptions(e){if(e._defaulted)return e;const t={...O(this,rs).queries,...this.getQueryDefaults(e.queryKey),...e,_defaulted:!0};return t.queryHash||(t.queryHash=Ep(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===Pp&&(t.enabled=!1),t}defaultMutationOptions(e){return e!=null&&e._defaulted?e:{...O(this,rs).mutations,...(e==null?void 0:e.mutationKey)&&this.getMutationDefaults(e.mutationKey),...e,_defaulted:!0}}clear(){O(this,qe).clear(),O(this,ns).clear()}},qe=new WeakMap,ns=new WeakMap,rs=new WeakMap,oo=new WeakMap,ao=new WeakMap,ss=new WeakMap,lo=new WeakMap,co=new WeakMap,M0),AR=x.createContext(void 0),RR=({client:e,children:t})=>(x.useEffect(()=>(e.mount(),()=>{e.unmount()}),[e]),l.jsx(AR.Provider,{value:e,children:t}));/**
172 * @remix-run/router v1.23.0
173 *
174 * Copyright (c) Remix Software Inc.
175 *
176 * This source code is licensed under the MIT license found in the
177 * LICENSE.md file in the root directory of this source tree.
178 *
179 * @license MIT
180 */function qa(){return qa=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},qa.apply(this,arguments)}var as;(function(e){e.Pop="POP",e.Push="PUSH",e.Replace="REPLACE"})(as||(as={}));const pv="popstate";function IR(e){e===void 0&&(e={});function t(r,s){let{pathname:i,search:o,hash:a}=r.location;return Lh("",{pathname:i,search:o,hash:a},s.state&&s.state.usr||null,s.state&&s.state.key||"default")}function n(r,s){return typeof s=="string"?s:fu(s)}return OR(t,n,null,e)}function lt(e,t){if(e===!1||e===null||typeof e>"u")throw new Error(t)}function Ij(e,t){if(!e){typeof console<"u"&&console.warn(t);try{throw new Error(t)}catch{}}}function MR(){return Math.random().toString(36).substr(2,8)}function gv(e,t){return{usr:e.state,key:e.key,idx:t}}function Lh(e,t,n,r){return n===void 0&&(n=null),qa({pathname:typeof e=="string"?e:e.pathname,search:"",hash:""},typeof t=="string"?Io(t):t,{state:n,key:t&&t.key||r||MR()})}function fu(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 Io(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 OR(e,t,n,r){r===void 0&&(r={});let{window:s=document.defaultView,v5Compat:i=!1}=r,o=s.history,a=as.Pop,c=null,u=d();u==null&&(u=0,o.replaceState(qa({},o.state,{idx:u}),""));function d(){return(o.state||{idx:null}).idx}function f(){a=as.Pop;let b=d(),y=b==null?null:b-u;u=b,c&&c({action:a,location:g.location,delta:y})}function h(b,y){a=as.Push;let p=Lh(g.location,b,y);u=d()+1;let v=gv(p,u),j=g.createHref(p);try{o.pushState(v,"",j)}catch(S){if(S instanceof DOMException&&S.name==="DataCloneError")throw S;s.location.assign(j)}i&&c&&c({action:a,location:g.location,delta:1})}function m(b,y){a=as.Replace;let p=Lh(g.location,b,y);u=d();let v=gv(p,u),j=g.createHref(p);o.replaceState(v,"",j),i&&c&&c({action:a,location:g.location,delta:0})}function w(b){let y=s.location.origin!=="null"?s.location.origin:s.location.href,p=typeof b=="string"?b:fu(b);return p=p.replace(/ $/,"%20"),lt(y,"No window.location.(origin|href) available to create URL for href: "+p),new URL(p,y)}let g={get action(){return a},get location(){return e(s,o)},listen(b){if(c)throw new Error("A history only accepts one active listener");return s.addEventListener(pv,f),c=b,()=>{s.removeEventListener(pv,f),c=null}},createHref(b){return t(s,b)},createURL:w,encodeLocation(b){let y=w(b);return{pathname:y.pathname,search:y.search,hash:y.hash}},push:h,replace:m,go(b){return o.go(b)}};return g}var yv;(function(e){e.data="data",e.deferred="deferred",e.redirect="redirect",e.error="error"})(yv||(yv={}));
vendor: 16,190 bytes, lines 180-198
180function DR(e,t,n){return n===void 0&&(n="/"),LR(e,t,n,!1)}function LR(e,t,n,r){let s=typeof t=="string"?Io(t):t,i=_p(s.pathname||"/",n);if(i==null)return null;let o=Mj(e);FR(o);let a=null;for(let c=0;a==null&&c<o.length;++c){let u=ZR(i);a=GR(o[c],u,r)}return a}function Mj(e,t,n,r){t===void 0&&(t=[]),n===void 0&&(n=[]),r===void 0&&(r="");let s=(i,o,a)=>{let c={relativePath:a===void 0?i.path||"":a,caseSensitive:i.caseSensitive===!0,childrenIndex:o,route:i};c.relativePath.startsWith("/")&&(lt(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=ys([r,c.relativePath]),d=n.concat(c);i.children&&i.children.length>0&&(lt(i.index!==!0,"Index routes must not have child routes. Please remove "+('all child routes from route path "'+u+'".')),Mj(i.children,t,d,u)),!(i.path==null&&!i.index)&&t.push({path:u,score:WR(u,i.index),routesMeta:d})};return e.forEach((i,o)=>{var a;if(i.path===""||!((a=i.path)!=null&&a.includes("?")))s(i,o);else for(let c of Oj(i.path))s(i,o,c)}),t}function Oj(e){let t=e.split("/");if(t.length===0)return[];let[n,...r]=t,s=n.endsWith("?"),i=n.replace(/\?$/,"");if(r.length===0)return s?[i,""]:[i];let o=Oj(r.join("/")),a=[];return a.push(...o.map(c=>c===""?i:[i,c].join("/"))),s&&a.push(...o),a.map(c=>e.startsWith("/")&&c===""?"/":c)}function FR(e){e.sort((t,n)=>t.score!==n.score?n.score-t.score:KR(t.routesMeta.map(r=>r.childrenIndex),n.routesMeta.map(r=>r.childrenIndex)))}const VR=/^:[\w-]+$/,$R=3,BR=2,zR=1,UR=10,HR=-2,vv=e=>e==="*";function WR(e,t){let n=e.split("/"),r=n.length;return n.some(vv)&&(r+=HR),t&&(r+=BR),n.filter(s=>!vv(s)).reduce((s,i)=>s+(VR.test(i)?$R:i===""?zR:UR),r)}function KR(e,t){return e.length===t.length&&e.slice(0,-1).every((r,s)=>r===t[s])?e[e.length-1]-t[t.length-1]:0}function GR(e,t,n){let{routesMeta:r}=e,s={},i="/",o=[];for(let a=0;a<r.length;++a){let c=r[a],u=a===r.length-1,d=i==="/"?t:t.slice(i.length)||"/",f=xv({path:c.relativePath,caseSensitive:c.caseSensitive,end:u},d),h=c.route;if(!f&&u&&n&&!r[r.length-1].route.index&&(f=xv({path:c.relativePath,caseSensitive:c.caseSensitive,end:!1},d)),!f)return null;Object.assign(s,f.params),o.push({params:s,pathname:ys([i,f.pathname]),pathnameBase:JR(ys([i,f.pathnameBase])),route:h}),f.pathnameBase!=="/"&&(i=ys([i,f.pathnameBase]))}return o}function xv(e,t){typeof e=="string"&&(e={path:e,caseSensitive:!1,end:!0});let[n,r]=YR(e.path,e.caseSensitive,e.end),s=t.match(n);if(!s)return null;let i=s[0],o=i.replace(/(.)\/+$/,"$1"),a=s.slice(1);return{params:r.reduce((u,d,f)=>{let{paramName:h,isOptional:m}=d;if(h==="*"){let g=a[f]||"";o=i.slice(0,i.length-g.length).replace(/(.)\/+$/,"$1")}const w=a[f];return m&&!w?u[h]=void 0:u[h]=(w||"").replace(/%2F/g,"/"),u},{}),pathname:i,pathnameBase:o,pattern:e}}function YR(e,t,n){t===void 0&&(t=!1),n===void 0&&(n=!0),Ij(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=[],s="^"+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:"*"}),s+=e==="*"||e==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):n?s+="\\/*$":e!==""&&e!=="/"&&(s+="(?:(?=\\/|$))"),[new RegExp(s,t?void 0:"i"),r]}function ZR(e){try{return e.split("/").map(t=>decodeURIComponent(t).replace(/\//g,"%2F")).join("/")}catch(t){return Ij(!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 _p(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 qR(e,t){t===void 0&&(t="/");let{pathname:n,search:r="",hash:s=""}=typeof e=="string"?Io(e):e;return{pathname:n?n.startsWith("/")?n:QR(n,t):t,search:e4(r),hash:t4(s)}}function QR(e,t){let n=t.replace(/\/+$/,"").split("/");return e.split("/").forEach(s=>{s===".."?n.length>1&&n.pop():s!=="."&&n.push(s)}),n.length>1?n.join("/"):"/"}function tf(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 XR(e){return e.filter((t,n)=>n===0||t.route.path&&t.route.path.length>0)}function Dj(e,t){let n=XR(e);return t?n.map((r,s)=>s===n.length-1?r.pathname:r.pathnameBase):n.map(r=>r.pathnameBase)}function Lj(e,t,n,r){r===void 0&&(r=!1);let s;typeof e=="string"?s=Io(e):(s=qa({},e),lt(!s.pathname||!s.pathname.includes("?"),tf("?","pathname","search",s)),lt(!s.pathname||!s.pathname.includes("#"),tf("#","pathname","hash",s)),lt(!s.search||!s.search.includes("#"),tf("#","search","hash",s)));let i=e===""||s.pathname==="",o=i?"/":s.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;s.pathname=h.join("/")}a=f>=0?t[f]:"/"}let c=qR(s,a),u=o&&o!=="/"&&o.endsWith("/"),d=(i||o===".")&&n.endsWith("/");return!c.pathname.endsWith("/")&&(u||d)&&(c.pathname+="/"),c}const ys=e=>e.join("/").replace(/\/\/+/g,"/"),JR=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/"),e4=e=>!e||e==="?"?"":e.startsWith("?")?e:"?"+e,t4=e=>!e||e==="#"?"":e.startsWith("#")?e:"#"+e;function n4(e){return e!=null&&typeof e.status=="number"&&typeof e.statusText=="string"&&typeof e.internal=="boolean"&&"data"in e}const Fj=["post","put","patch","delete"];new Set(Fj);const r4=["get",...Fj];new Set(r4);/**
181 * React Router v6.30.1
182 *
183 * Copyright (c) Remix Software Inc.
184 *
185 * This source code is licensed under the MIT license found in the
186 * LICENSE.md file in the root directory of this source tree.
187 *
188 * @license MIT
189 */function Qa(){return Qa=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},Qa.apply(this,arguments)}const Ap=x.createContext(null),s4=x.createContext(null),ui=x.createContext(null),bl=x.createContext(null),di=x.createContext({outlet:null,matches:[],isDataRoute:!1}),Vj=x.createContext(null);function i4(e,t){let{relative:n}=t===void 0?{}:t;jl()||lt(!1);let{basename:r,navigator:s}=x.useContext(ui),{hash:i,pathname:o,search:a}=zj(e,{relative:n}),c=o;return r!=="/"&&(c=o==="/"?r:ys([r,o])),s.createHref({pathname:c,search:a,hash:i})}function jl(){return x.useContext(bl)!=null}function fi(){return jl()||lt(!1),x.useContext(bl).location}function o4(){return x.useContext(bl).navigationType}function $j(e){x.useContext(ui).static||x.useLayoutEffect(e)}function Bj(){let{isDataRoute:e}=x.useContext(di);return e?x4():a4()}function a4(){jl()||lt(!1);let e=x.useContext(Ap),{basename:t,future:n,navigator:r}=x.useContext(ui),{matches:s}=x.useContext(di),{pathname:i}=fi(),o=JSON.stringify(Dj(s,n.v7_relativeSplatPath)),a=x.useRef(!1);return $j(()=>{a.current=!0}),x.useCallback(function(u,d){if(d===void 0&&(d={}),!a.current)return;if(typeof u=="number"){r.go(u);return}let f=Lj(u,JSON.parse(o),i,d.relative==="path");e==null&&t!=="/"&&(f.pathname=f.pathname==="/"?t:ys([t,f.pathname])),(d.replace?r.replace:r.push)(f,d.state,d)},[t,r,o,i,e])}function zj(e,t){let{relative:n}=t===void 0?{}:t,{future:r}=x.useContext(ui),{matches:s}=x.useContext(di),{pathname:i}=fi(),o=JSON.stringify(Dj(s,r.v7_relativeSplatPath));return x.useMemo(()=>Lj(e,JSON.parse(o),i,n==="path"),[e,o,i,n])}function l4(e,t){return c4(e,t)}function c4(e,t,n,r){jl()||lt(!1);let{navigator:s}=x.useContext(ui),{matches:i}=x.useContext(di),o=i[i.length-1],a=o?o.params:{};o&&o.pathname;let c=o?o.pathnameBase:"/";o&&o.route;let u=fi(),d;if(t){var f;let b=typeof t=="string"?Io(t):t;c==="/"||(f=b.pathname)!=null&&f.startsWith(c)||lt(!1),d=b}else d=u;let h=d.pathname||"/",m=h;if(c!=="/"){let b=c.replace(/^\//,"").split("/");m="/"+h.replace(/^\//,"").split("/").slice(b.length).join("/")}let w=DR(e,{pathname:m}),g=m4(w&&w.map(b=>Object.assign({},b,{params:Object.assign({},a,b.params),pathname:ys([c,s.encodeLocation?s.encodeLocation(b.pathname).pathname:b.pathname]),pathnameBase:b.pathnameBase==="/"?c:ys([c,s.encodeLocation?s.encodeLocation(b.pathnameBase).pathname:b.pathnameBase])})),i,n,r);return t&&g?x.createElement(bl.Provider,{value:{location:Qa({pathname:"/",search:"",hash:"",state:null,key:"default"},d),navigationType:as.Pop}},g):g}function u4(){let e=v4(),t=n4(e)?e.status+" "+e.statusText:e instanceof Error?e.message:JSON.stringify(e),n=e instanceof Error?e.stack:null,s={padding:"0.5rem",backgroundColor:"rgba(200,200,200, 0.5)"};return x.createElement(x.Fragment,null,x.createElement("h2",null,"Unexpected Application Error!"),x.createElement("h3",{style:{fontStyle:"italic"}},t),n?x.createElement("pre",{style:s},n):null,null)}const d4=x.createElement(u4,null);class f4 extends x.Component{constructor(t){super(t),this.state={location:t.location,revalidation:t.revalidation,error:t.error}}static getDerivedStateFromError(t){return{error:t}}static getDerivedStateFromProps(t,n){return n.location!==t.location||n.revalidation!=="idle"&&t.revalidation==="idle"?{error:t.error,location:t.location,revalidation:t.revalidation}:{error:t.error!==void 0?t.error:n.error,location:n.location,revalidation:t.revalidation||n.revalidation}}componentDidCatch(t,n){console.error("React Router caught the following error during render",t,n)}render(){return this.state.error!==void 0?x.createElement(di.Provider,{value:this.props.routeContext},x.createElement(Vj.Provider,{value:this.state.error,children:this.props.component})):this.props.children}}function h4(e){let{routeContext:t,match:n,children:r}=e,s=x.useContext(Ap);return s&&s.static&&s.staticContext&&(n.route.errorElement||n.route.ErrorBoundary)&&(s.staticContext._deepestRenderedBoundaryId=n.route.id),x.createElement(di.Provider,{value:t},r)}function m4(e,t,n,r){var s;if(t===void 0&&(t=[]),n===void 0&&(n=null),r===void 0&&(r=null),e==null){var i;if(!n)return null;if(n.errors)e=n.matches;else if((i=r)!=null&&i.v7_partialHydration&&t.length===0&&!n.initialized&&n.matches.length>0)e=n.matches;else return null}let o=e,a=(s=n)==null?void 0:s.errors;if(a!=null){let d=o.findIndex(f=>f.route.id&&(a==null?void 0:a[f.route.id])!==void 0);d>=0||lt(!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:m}=n,w=f.route.loader&&h[f.route.id]===void 0&&(!m||m[f.route.id]===void 0);if(f.route.lazy||w){c=!0,u>=0?o=o.slice(0,u+1):o=[o[0]];break}}}return o.reduceRight((d,f,h)=>{let m,w=!1,g=null,b=null;n&&(m=a&&f.route.id?a[f.route.id]:void 0,g=f.route.errorElement||d4,c&&(u<0&&h===0?(w=!0,b=null):u===h&&(w=!0,b=f.route.hydrateFallbackElement||null)));let y=t.concat(o.slice(0,h+1)),p=()=>{let v;return m?v=g:w?v=b:f.route.Component?v=x.createElement(f.route.Component,null):f.route.element?v=f.route.element:v=d,x.createElement(h4,{match:f,routeContext:{outlet:d,matches:y,isDataRoute:n!=null},children:v})};return n&&(f.route.ErrorBoundary||f.route.errorElement||h===0)?x.createElement(f4,{location:n.location,revalidation:n.revalidation,component:g,error:m,children:p(),routeContext:{outlet:null,matches:y,isDataRoute:!0}}):p()},null)}var Uj=function(e){return e.UseBlocker="useBlocker",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e}(Uj||{}),hu=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}(hu||{});function p4(e){let t=x.useContext(Ap);return t||lt(!1),t}function g4(e){let t=x.useContext(s4);return t||lt(!1),t}function y4(e){let t=x.useContext(di);return t||lt(!1),t}function Hj(e){let t=y4(),n=t.matches[t.matches.length-1];return n.route.id||lt(!1),n.route.id}function v4(){var e;let t=x.useContext(Vj),n=g4(hu.UseRouteError),r=Hj(hu.UseRouteError);return t!==void 0?t:(e=n.errors)==null?void 0:e[r]}function x4(){let{router:e}=p4(Uj.UseNavigateStable),t=Hj(hu.UseNavigateStable),n=x.useRef(!1);return $j(()=>{n.current=!0}),x.useCallback(function(s,i){i===void 0&&(i={}),n.current&&(typeof s=="number"?e.navigate(s):e.navigate(s,Qa({fromRouteId:t},i)))},[e,t])}function w4(e,t){e==null||e.v7_startTransition,e==null||e.v7_relativeSplatPath}function Rt(e){lt(!1)}function b4(e){let{basename:t="/",children:n=null,location:r,navigationType:s=as.Pop,navigator:i,static:o=!1,future:a}=e;jl()&&lt(!1);let c=t.replace(/^\/*/,"/"),u=x.useMemo(()=>({basename:c,navigator:i,static:o,future:Qa({v7_relativeSplatPath:!1},a)}),[c,a,i,o]);typeof r=="string"&&(r=Io(r));let{pathname:d="/",search:f="",hash:h="",state:m=null,key:w="default"}=r,g=x.useMemo(()=>{let b=_p(d,c);return b==null?null:{location:{pathname:b,search:f,hash:h,state:m,key:w},navigationType:s}},[c,d,f,h,m,w,s]);return g==null?null:x.createElement(ui.Provider,{value:u},x.createElement(bl.Provider,{children:n,value:g}))}function j4(e){let{children:t,location:n}=e;return l4(Fh(t),n)}new Promise(()=>{});function Fh(e,t){t===void 0&&(t=[]);let n=[];return x.Children.forEach(e,(r,s)=>{if(!x.isValidElement(r))return;let i=[...t,s];if(r.type===x.Fragment){n.push.apply(n,Fh(r.props.children,i));return}r.type!==Rt&&lt(!1),!r.props.index||!r.props.children||lt(!1);let o={id:r.props.id||i.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=Fh(r.props.children,i)),n.push(o)}),n}/**
190 * React Router DOM v6.30.1
191 *
192 * Copyright (c) Remix Software Inc.
193 *
194 * This source code is licensed under the MIT license found in the
195 * LICENSE.md file in the root directory of this source tree.
196 *
197 * @license MIT
198 */function Vh(){return Vh=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},Vh.apply(this,arguments)}function S4(e,t){if(e==null)return{};var n={},r=Object.keys(e),s,i;for(i=0;i<r.length;i++)s=r[i],!(t.indexOf(s)>=0)&&(n[s]=e[s]);return n}function C4(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}function N4(e,t){return e.button===0&&(!t||t==="_self")&&!C4(e)}const k4=["onClick","relative","reloadDocument","replace","state","target","to","preventScrollReset","viewTransition"],T4="6";try{window.__reactRouterVersion=T4}catch{}const E4="startTransition",wv=bm[E4];function P4(e){let{basename:t,children:n,future:r,window:s}=e,i=x.useRef();i.current==null&&(i.current=IR({window:s,v5Compat:!0}));let o=i.current,[a,c]=x.useState({action:o.action,location:o.location}),{v7_startTransition:u}=r||{},d=x.useCallback(f=>{u&&wv?wv(()=>c(f)):c(f)},[c,u]);return x.useLayoutEffect(()=>o.listen(d),[o,d]),x.useEffect(()=>w4(r),[r]),x.createElement(b4,{basename:t,children:n,location:a.location,navigationType:a.action,navigator:o,future:r})}const _4=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",A4=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,zn=x.forwardRef(function(t,n){let{onClick:r,relative:s,reloadDocument:i,replace:o,state:a,target:c,to:u,preventScrollReset:d,viewTransition:f}
198=t,h=S4(t,k4),{basename:m}=x.useContext(ui),w,g=!1;if(typeof u=="string"&&A4.test(u)&&(w=u,_4))try{let v=new URL(window.location.href),j=u.startsWith("//")?new URL(v.protocol+u):new URL(u),S=_p(j.pathname,m);j.origin===v.origin&&S!=null?u=S+j.search+j.hash:g=!0}catch{}let b=i4(u,{relative:s}),y=R4(u,{replace:o,state:a,target:c,preventScrollReset:d,relative:s,viewTransition:f});function p(v){r&&r(v),v.defaultPrevented||y(v)}return x.createElement("a",Vh({},h,{href:w||b,onClick:g||i?r:p,ref:n,target:c}))});var bv;(function(e){e.UseScrollRestoration="useScrollRestoration",e.UseSubmit="useSubmit",e.UseSubmitFetcher="useSubmitFetcher",e.UseFetcher="useFetcher",e.useViewTransitionState="useViewTransitionState"})(bv||(bv={}));var jv;(function(e){e.UseFetcher="useFetcher",e.UseFetchers="useFetchers",e.UseScrollRestoration="useScrollRestoration"})(jv||(jv={}));function R4(e,t){let{target:n,replace:r,state:s,preventScrollReset:i,relative:o,viewTransition:a}=t===void 0?{}:t,c=Bj(),u=fi(),d=zj(e,{relative:o});return x.useCallback(f=>{if(N4(f,n)){f.preventDefault();let h=r!==void 0?r:fu(u)===fu(d);c(e,{replace:h,state:s,preventScrollReset:i,relative:o,viewTransition:a})}},[u,c,d,r,s,n,e,i,o,a])}const Wj=x.createContext({});function I4(e){const t=x.useRef(null);return t.current===null&&(t.current=e()),t.current}const Rp=typeof window<"u",M4=Rp?x.useLayoutEffect:x.useEffect,Ip=x.createContext(null);function Mp(e,t){e.indexOf(t)===-1&&e.push(t)}function Op(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}const Dr=(e,t,n)=>n>t?t:n<e?e:n;let mu=()=>{};const Lr={},Kj=e=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(e);function Gj(e){return typeof e=="object"&&e!==null}const Yj=e=>/^0[^.\s]+$/u.test(e);function Dp(e){let t;return()=>(t===void 0&&(t=e()),t)}const Cn=e=>e,O4=(e,t)=>n=>t(e(n)),Sl=(...e)=>e.reduce(O4),Xa=(e,t,n)=>{const r=t-e;return r===0?1:(n-e)/r};class Lp{constructor(){this.subscriptions=[]}add(t){return Mp(this.subscriptions,t),()=>Op(this.subscriptions,t)}notify(t,n,r){const s=this.subscriptions.length;if(s)if(s===1)this.subscriptions[0](t,n,r);else for(let i=0;i<s;i++){const o=this.subscriptions[i];o&&o(t,n,r)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}const fr=e=>e*1e3,jn=e=>e/1e3;function Zj(e,t){return t?e*(1e3/t):0}const qj=(e,t,n)=>(((1-3*n+3*t)*e+(3*n-6*t))*e+3*t)*e,D4=1e-7,L4=12;function F4(e,t,n,r,s){let i,o,a=0;do o=t+(n-t)/2,i=qj(o,r,s)-e,i>0?n=o:t=o;while(Math.abs(i)>D4&&++a<L4);return o}function Cl(e,t,n,r){if(e===t&&n===r)return Cn;const s=i=>F4(i,0,1,e,n);return i=>i===0||i===1?i:qj(s(i),t,r)}const Qj=e=>t=>t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2,Xj=e=>t=>1-e(1-t),Jj=Cl(.33,1.53,.69,.99),Fp=Xj(Jj),eS=Qj(Fp),tS=e=>(e*=2)<1?.5*Fp(e):.5*(2-Math.pow(2,-10*(e-1))),Vp=e=>1-Math.sin(Math.acos(e)),nS=Xj(Vp),rS=Qj(Vp),V4=Cl(.42,0,1,1),$4=Cl(0,0,.58,1),sS=Cl(.42,0,.58,1),B4=e=>Array.isArray(e)&&typeof e[0]!="number",iS=e=>Array.isArray(e)&&typeof e[0]=="number",Sv={linear:Cn,easeIn:V4,easeInOut:sS,easeOut:$4,circIn:Vp,circInOut:rS,circOut:nS,backIn:Fp,backInOut:eS,backOut:Jj,anticipate:tS},z4=e=>typeof e=="string",Cv=e=>{if(iS(e)){mu(e.length===4);const[t,n,r,s]=e;return Cl(t,n,r,s)}else if(z4(e))return mu(Sv[e]!==void 0),Sv[e];return e},tc=["setup","read","resolveKeyframes","preUpdate","update","preRender","render","postRender"],Nv={value:null,addProjectionMetrics:null};function U4(e,t){let n=new Set,r=new Set,s=!1,i=!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,m=!1)=>{const g=m&&s?n:r;return h&&o.add(f),g.has(f)||g.add(f),f},cancel:f=>{r.delete(f),o.delete(f)},process:f=>{if(a=f,s){i=!0;return}s=!0,[n,r]=[r,n],n.forEach(u),t&&Nv.value&&Nv.value.frameloop[t].push(c),c=0,n.clear(),s=!1,i&&(i=!1,d.process(f))}};return d}const H4=40;function oS(e,t){let n=!1,r=!0;const s={delta:0,timestamp:0,isProcessing:!1},i=()=>n=!0,o=tc.reduce((v,j)=>(v[j]=U4(i,t?j:void 0),v),{}),{setup:a,read:c,resolveKeyframes:u,preUpdate:d,update:f,preRender:h,render:m,postRender:w}=o,g=()=>{const v=Lr.useManualTiming?s.timestamp:performance.now();n=!1,Lr.useManualTiming||(s.delta=r?1e3/60:Math.max(Math.min(v-s.timestamp,H4),1)),s.timestamp=v,s.isProcessing=!0,a.process(s),c.process(s),u.process(s),d.process(s),f.process(s),h.process(s),m.process(s),w.process(s),s.isProcessing=!1,n&&t&&(r=!1,e(g))},b=()=>{n=!0,r=!0,s.isProcessing||e(g)};return{schedule:tc.reduce((v,j)=>{const S=o[j];return v[j]=(N,k=!1,T=!1)=>(n||b(),S.schedule(N,k,T)),v},{}),cancel:v=>{for(let j=0;j<tc.length;j++)o[tc[j]].cancel(v)},state:s,steps:o}}const{schedule:Be,cancel:Ss,state:wt,steps:nf}=oS(typeof requestAnimationFrame<"u"?requestAnimationFrame:Cn,!0);let Pc;function W4(){Pc=void 0}const Zt={now:()=>(Pc===void 0&&Zt.set(wt.isProcessing||Lr.useManualTiming?wt.timestamp:performance.now()),Pc),set:e=>{Pc=e,queueMicrotask(W4)}},aS=e=>t=>typeof t=="string"&&t.startsWith(e),lS=aS("--"),K4=aS("var(--"),$p=e=>K4(e)?G4.test(e.split("/*")[0].trim()):!1,G4=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu,Mo={test:e=>typeof e=="number",parse:parseFloat,transform:e=>e},Ja={...Mo,transform:e=>Dr(0,1,e)},nc={...Mo,default:1},ba=e=>Math.round(e*1e5)/1e5,Bp=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu;function Y4(e){return e==null}const Z4=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu,zp=(e,t)=>n=>!!(typeof n=="string"&&Z4.test(n)&&n.startsWith(e)||t&&!Y4(n)&&Object.prototype.hasOwnProperty.call(n,t)),cS=(e,t,n)=>r=>{if(typeof r!="string")return r;const[s,i,o,a]=r.match(Bp);return{[e]:parseFloat(s),[t]:parseFloat(i),[n]:parseFloat(o),alpha:a!==void 0?parseFloat(a):1}},q4=e=>
vendor: 23,496 bytes, line 198
198Dr(0,255,e),rf={...Mo,transform:e=>Math.round(q4(e))},Vs={test:zp("rgb","red"),parse:cS("red","green","blue"),transform:({red:e,green:t,blue:n,alpha:r=1})=>"rgba("+rf.transform(e)+", "+rf.transform(t)+", "+rf.transform(n)+", "+ba(Ja.transform(r))+")"};function Q4(e){let t="",n="",r="",s="";return e.length>5?(t=e.substring(1,3),n=e.substring(3,5),r=e.substring(5,7),s=e.substring(7,9)):(t=e.substring(1,2),n=e.substring(2,3),r=e.substring(3,4),s=e.substring(4,5),t+=t,n+=n,r+=r,s+=s),{red:parseInt(t,16),green:parseInt(n,16),blue:parseInt(r,16),alpha:s?parseInt(s,16)/255:1}}const $h={test:zp("#"),parse:Q4,transform:Vs.transform},Nl=e=>({test:t=>typeof t=="string"&&t.endsWith(e)&&t.split(" ").length===1,parse:parseFloat,transform:t=>`${t}${e}`}),Gr=Nl("deg"),hr=Nl("%"),ae=Nl("px"),X4=Nl("vh"),J4=Nl("vw"),kv={...hr,parse:e=>hr.parse(e)/100,transform:e=>hr.transform(e*100)},Vi={test:zp("hsl","hue"),parse:cS("hue","saturation","lightness"),transform:({hue:e,saturation:t,lightness:n,alpha:r=1})=>"hsla("+Math.round(e)+", "+hr.transform(ba(t))+", "+hr.transform(ba(n))+", "+ba(Ja.transform(r))+")"},ot={test:e=>Vs.test(e)||$h.test(e)||Vi.test(e),parse:e=>Vs.test(e)?Vs.parse(e):Vi.test(e)?Vi.parse(e):$h.parse(e),transform:e=>typeof e=="string"?e:e.hasOwnProperty("red")?Vs.transform(e):Vi.transform(e),getAnimatableNone:e=>{const t=ot.parse(e);return t.alpha=0,ot.transform(t)}},eI=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu;function tI(e){var t,n;return isNaN(e)&&typeof e=="string"&&(((t=e.match(Bp))==null?void 0:t.length)||0)+(((n=e.match(eI))==null?void 0:n.length)||0)>0}const uS="number",dS="color",nI="var",rI="var(",Tv="${}",sI=/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 el(e){const t=e.toString(),n=[],r={color:[],number:[],var:[]},s=[];let i=0;const a=t.replace(sI,c=>(ot.test(c)?(r.color.push(i),s.push(dS),n.push(ot.parse(c))):c.startsWith(rI)?(r.var.push(i),s.push(nI),n.push(c)):(r.number.push(i),s.push(uS),n.push(parseFloat(c))),++i,Tv)).split(Tv);return{values:n,split:a,indexes:r,types:s}}function fS(e){return el(e).values}function hS(e){const{split:t,types:n}=el(e),r=t.length;return s=>{let i="";for(let o=0;o<r;o++)if(i+=t[o],s[o]!==void 0){const a=n[o];a===uS?i+=ba(s[o]):a===dS?i+=ot.transform(s[o]):i+=s[o]}return i}}const iI=e=>typeof e=="number"?0:ot.test(e)?ot.getAnimatableNone(e):e;function oI(e){const t=fS(e);return hS(e)(t.map(iI))}const Cs={test:tI,parse:fS,createTransformer:hS,getAnimatableNone:oI};function sf(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 aI({hue:e,saturation:t,lightness:n,alpha:r}){e/=360,t/=100,n/=100;let s=0,i=0,o=0;if(!t)s=i=o=n;else{const a=n<.5?n*(1+t):n+t-n*t,c=2*n-a;s=sf(c,a,e+1/3),i=sf(c,a,e),o=sf(c,a,e-1/3)}return{red:Math.round(s*255),green:Math.round(i*255),blue:Math.round(o*255),alpha:r}}function pu(e,t){return n=>n>0?t:e}const He=(e,t,n)=>e+(t-e)*n,of=(e,t,n)=>{const r=e*e,s=n*(t*t-r)+r;return s<0?0:Math.sqrt(s)},lI=[$h,Vs,Vi],cI=e=>lI.find(t=>t.test(e));function Ev(e){const t=cI(e);if(!t)return!1;let n=t.parse(e);return t===Vi&&(n=aI(n)),n}const Pv=(e,t)=>{const n=Ev(e),r=Ev(t);if(!n||!r)return pu(e,t);const s={...n};return i=>(s.red=of(n.red,r.red,i),s.green=of(n.green,r.green,i),s.blue=of(n.blue,r.blue,i),s.alpha=He(n.alpha,r.alpha,i),Vs.transform(s))},Bh=new Set(["none","hidden"]);function uI(e,t){return Bh.has(e)?n=>n<=0?e:t:n=>n>=1?t:e}function dI(e,t){return n=>He(e,t,n)}function Up(e){return typeof e=="number"?dI:typeof e=="string"?$p(e)?pu:ot.test(e)?Pv:mI:Array.isArray(e)?mS:typeof e=="object"?ot.test(e)?Pv:fI:pu}function mS(e,t){const n=[...e],r=n.length,s=e.map((i,o)=>Up(i)(i,t[o]));return i=>{for(let o=0;o<r;o++)n[o]=s[o](i);return n}}function fI(e,t){const n={...e,...t},r={};for(const s in n)e[s]!==void 0&&t[s]!==void 0&&(r[s]=Up(e[s])(e[s],t[s]));return s=>{for(const i in r)n[i]=r[i](s);return n}}function hI(e,t){const n=[],r={color:0,var:0,number:0};for(let s=0;s<t.values.length;s++){const i=t.types[s],o=e.indexes[i][r[i]],a=e.values[o]??0;n[s]=a,r[i]++}return n}const mI=(e,t)=>{const n=Cs.createTransformer(t),r=el(e),s=el(t);return r.indexes.var.length===s.indexes.var.length&&r.indexes.color.length===s.indexes.color.length&&r.indexes.number.length>=s.indexes.number.length?Bh.has(e)&&!s.values.length||Bh.has(t)&&!r.values.length?uI(e,t):Sl(mS(hI(r,s),s.values),n):pu(e,t)};function pS(e,t,n){return typeof e=="number"&&typeof t=="number"&&typeof n=="number"?He(e,t,n):Up(e)(e,t)}const pI=e=>{const t=({timestamp:n})=>e(n);return{start:(n=!0)=>Be.update(t,n),stop:()=>Ss(t),now:()=>wt.isProcessing?wt.timestamp:Zt.now()}},gS=(e,t,n=10)=>{let r="";const s=Math.max(Math.round(t/n),2);for(let i=0;i<s;i++)r+=Math.round(e(i/(s-1))*1e4)/1e4+", ";return`linear(${r.substring(0,r.length-2)})`},gu=2e4;function Hp(e){let t=0;const n=50;let r=e.next(t);for(;!r.done&&t<gu;)t+=n,r=e.next(t);return t>=gu?1/0:t}function gI(e,t=100,n){const r=n({...e,keyframes:[0,t]}),s=Math.min(Hp(r),gu);return{type:"keyframes",ease:i=>r.next(s*i).value/t,duration:jn(s)}}const yI=5;function yS(e,t,n){const r=Math.max(t-yI,0);return Zj(n-e(r),t-r)}const Qe={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},af=.001;function vI({duration:e=Qe.duration,bounce:t=Qe.bounce,velocity:n=Qe.velocity,mass:r=Qe.mass}){let s,i,o=1-t;o=Dr(Qe.minDamping,Qe.maxDamping,o),e=Dr(Qe.minDuration,Qe.maxDuration,jn(e)),o<1?(s=u=>{const d=u*o,f=d*e,h=d-n,m=zh(u,o),w=Math.exp(-f);return af-h/m*w},i=u=>{const f=u*o*e,h=f*n+n,m=Math.pow(o,2)*Math.pow(u,2)*e,w=Math.exp(-f),g=zh(Math.pow(u,2),o);return(-s(u)+af>0?-1:1)*((h-m)*w)/g}):(s=u=>{const d=Math.exp(-u*e),f=(u-n)*e+1;return-af+d*f},i=u=>{const d=Math.exp(-u*e),f=(n-u)*(e*e);return d*f});const a=5/e,c=wI(s,i,a);if(e=fr(e),isNaN(c))return{stiffness:Qe.stiffness,damping:Qe.damping,duration:e};{const u=Math.pow(c,2)*r;return{stiffness:u,damping:o*2*Math.sqrt(r*u),duration:e}}}const xI=12;function wI(e,t,n){let r=n;for(let s=1;s<xI;s++)r=r-e(r)/t(r);return r}function zh(e,t){return e*Math.sqrt(1-t*t)}const bI=["duration","bounce"],jI=["stiffness","damping","mass"];function _v(e,t){return t.some(n=>e[n]!==void 0)}function SI(e){let t={velocity:Qe.velocity,stiffness:Qe.stiffness,damping:Qe.damping,mass:Qe.mass,isResolvedFromDuration:!1,...e};if(!_v(e,jI)&&_v(e,bI))if(e.visualDuration){const n=e.visualDuration,r=2*Math.PI/(n*1.2),s=r*r,i=2*Dr(.05,1,1-(e.bounce||0))*Math.sqrt(s);t={...t,mass:Qe.mass,stiffness:s,damping:i}}else{const n=vI(e);t={...t,...n,mass:Qe.mass},t.isResolvedFromDuration=!0}return t}function yu(e=Qe.visualDuration,t=Qe.bounce){const n=typeof e!="object"?{visualDuration:e,keyframes:[0,1],bounce:t}:e;let{restSpeed:r,restDelta:s}=n;const i=n.keyframes[0],o=n.keyframes[n.keyframes.length-1],a={done:!1,value:i},{stiffness:c,damping:u,mass:d,duration:f,velocity:h,isResolvedFromDuration:m}=SI({...n,velocity:-jn(n.velocity||0)}),w=h||0,g=u/(2*Math.sqrt(c*d)),b=o-i,y=jn(Math.sqrt(c/d)),p=Math.abs(b)<5;r||(r=p?Qe.restSpeed.granular:Qe.restSpeed.default),s||(s=p?Qe.restDelta.granular:Qe.restDelta.default);let v;if(g<1){const S=zh(y,g);v=N=>{const k=Math.exp(-g*y*N);return o-k*((w+g*y*b)/S*Math.sin(S*N)+b*Math.cos(S*N))}}else if(g===1)v=S=>o-Math.exp(-y*S)*(b+(w+y*b)*S);else{const S=y*Math.sqrt(g*g-1);v=N=>{const k=Math.exp(-g*y*N),T=Math.min(S*N,300);return o-k*((w+g*y*b)*Math.sinh(T)+S*b*Math.cosh(T))/S}}const j={calculatedDuration:m&&f||null,next:S=>{const N=v(S);if(m)a.done=S>=f;else{let k=S===0?w:0;g<1&&(k=S===0?fr(w):yS(v,S,N));const T=Math.abs(k)<=r,_=Math.abs(o-N)<=s;a.done=T&&_}return a.value=a.done?o:N,a},toString:()=>{const S=Math.min(Hp(j),gu),N=gS(k=>j.next(S*k).value,S,30);return S+"ms "+N},toTransition:()=>{}};return j}yu.applyToOptions=e=>{const t=gI(e,100,yu);return e.ease=t.ease,e.duration=fr(t.duration),e.type="keyframes",e};function Uh({keyframes:e,velocity:t=0,power:n=.8,timeConstant:r=325,bounceDamping:s=10,bounceStiffness:i=500,modifyTarget:o,min:a,max:c,restDelta:u=.5,restSpeed:d}){const f=e[0],h={done:!1,value:f},m=T=>a!==void 0&&T<a||c!==void 0&&T>c,w=T=>a===void 0?c:c===void 0||Math.abs(a-T)<Math.abs(c-T)?a:c;let g=n*t;const b=f+g,y=o===void 0?b:o(b);y!==b&&(g=y-f);const p=T=>-g*Math.exp(-T/r),v=T=>y+p(T),j=T=>{const _=p(T),M=v(T);h.done=Math.abs(_)<=u,h.value=h.done?y:M};let S,N;const k=T=>{m(h.value)&&(S=T,N=yu({keyframes:[h.value,w(h.value)],velocity:yS(v,T,h.value),damping:s,stiffness:i,restDelta:u,restSpeed:d}))};return k(0),{calculatedDuration:null,next:T=>{let _=!1;return!N&&S===void 0&&(_=!0,j(T),k(T)),S!==void 0&&T>=S?N.next(T-S):(!_&&j(T),h)}}}function CI(e,t,n){const r=[],s=n||Lr.mix||pS,i=e.length-1;for(let o=0;o<i;o++){let a=s(e[o],e[o+1]);if(t){const c=Array.isArray(t)?t[o]||Cn:t;a=Sl(c,a)}r.push(a)}return r}function NI(e,t,{clamp:n=!0,ease:r,mixer:s}={}){const i=e.length;if(mu(i===t.length),i===1)return()=>t[0];if(i===2&&t[0]===t[1])return()=>t[1];const o=e[0]===e[1];e[0]>e[i-1]&&(e=[...e].reverse(),t=[...t].reverse());const a=CI(t,r,s),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=Xa(e[f],e[f+1],d);return a[f](h)};return n?d=>u(Dr(e[0],e[i-1],d)):u}function kI(e,t){const n=e[e.length-1];for(let r=1;r<=t;r++){const s=Xa(0,t,r);e.push(He(n,1,s))}}function TI(e){const t=[0];return kI(t,e.length-1),t}function EI(e,t){return e.map(n=>n*t)}function PI(e,t){return e.map(()=>t||sS).splice(0,e.length-1)}function ja({duration:e=300,keyframes:t,times:n,ease:r="easeInOut"}){const s=B4(r)?r.map(Cv):Cv(r),i={done:!1,value:t[0]},o=EI(n&&n.length===t.length?n:TI(t),e),a=NI(o,t,{ease:Array.isArray(s)?s:PI(t,s)});return{calculatedDuration:e,next:c=>(i.value=a(c),i.done=c>=e,i)}}const _I=e=>e!==null;function Wp(e,{repeat:t,repeatType:n="loop"},r,s=1){const i=e.filter(_I),a=s<0||t&&n!=="loop"&&t%2===1?0:i.length-1;return!a||r===void 0?i[a]:r}const AI={decay:Uh,inertia:Uh,tween:ja,keyframes:ja,spring:yu};function vS(e){typeof e.type=="string"&&(e.type=AI[e.type])}class Kp{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 RI=e=>e/100;class Gp extends Kp{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,s;const{motionValue:n}=this.options;n&&n.updatedAt!==Zt.now()&&this.tick(Zt.now()),this.isStopped=!0,this.state!=="idle"&&(this.teardown(),(s=(r=this.options).onStop)==null||s.call(r))},this.options=t,this.initAnimation(),this.play(),t.autoplay===!1&&this.pause()}initAnimation(){const{options:t}=this;vS(t);const{type:n=ja,repeat:r=0,repeatDelay:s=0,repeatType:i,velocity:o=0}=t;let{keyframes:a}=t;const c=n||ja;c!==ja&&typeof a[0]!="number"&&(this.mixKeyframes=Sl(RI,pS(a[0],a[1])),a=[0,100]);const u=c({...t,keyframes:a});i==="mirror"&&(this.mirroredGenerator=c({...t,keyframes:[...a].reverse(),velocity:-o})),u.calculatedDuration===null&&(u.calculatedDuration=Hp(u));const{calculatedDuration:d}=u;this.calculatedDuration=d,this.resolvedDuration=d+s,this.totalDuration=this.resolvedDuration*(r+1)-s,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:s,mixKeyframes:i,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:m,type:w,onUpdate:g,finalKeyframe:b}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,t):this.speed<0&&(this.startTime=Math.min(t-s/this.speed,this.startTime)),n?this.currentTime=t:this.updateTime(t);const y=this.currentTime-u*(this.playbackSpeed>=0?1:-1),p=this.playbackSpeed>=0?y<0:y>s;this.currentTime=Math.max(y,0),this.state==="finished"&&this.holdTime===null&&(this.currentTime=s);let v=this.currentTime,j=r;if(f){const T=Math.min(this.currentTime,s)/a;let _=Math.floor(T),M=T%1;!M&&T>=1&&(M=1),M===1&&_--,_=Math.min(_,f+1),!!(_%2)&&(h==="reverse"?(M=1-M,m&&(M-=m/a)):h==="mirror"&&(j=o)),v=Dr(0,1,M)*a}const S=p?{done:!1,value:d[0]}:j.next(v);i&&(S.value=i(S.value));let{done:N}=S;!p&&c!==null&&(N=this.playbackSpeed>=0?this.currentTime>=s:this.currentTime<=0);const k=this.holdTime===null&&(this.state==="finished"||this.state==="running"&&N);return k&&w!==Uh&&(S.value=Wp(d,this.options,b,this.speed)),g&&g(S.value),k&&this.finish(),S}then(t,n){return this.finished.then(t,n)}get duration(){return jn(this.calculatedDuration)}get iterationDuration(){const{delay:t=0}=this.options||{};return this.duration+jn(t)}get time(){return jn(this.currentTime)}set time(t){var n;t=fr(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(Zt.now());const n=this.playbackSpeed!==t;this.playbackSpeed=t,n&&(this.time=jn(this.currentTime))}play(){var s,i;if(this.isStopped)return;const{driver:t=pI,startTime:n}=this.options;this.driver||(this.driver=t(o=>this.tick(o))),(i=(s=this.options).onPlay)==null||i.call(s);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(Zt.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 II(e){for(let t=1;t<e.length;t++)e[t]??(e[t]=e[t-1])}const $s=e=>e*180/Math.PI,Hh=e=>{const t=$s(Math.atan2(e[1],e[0]));return Wh(t)},MI={x:4,y:5,translateX:4,translateY:5,scaleX:0,scaleY:3,scale:e=>(Math.abs(e[0])+Math.abs(e[3]))/2,rotate:Hh,rotateZ:Hh,skewX:e=>$s(Math.atan(e[1])),skewY:e=>$s(Math.atan(e[2])),skew:e=>(Math.abs(e[1])+Math.abs(e[2]))/2},Wh=e=>(e=e%360,e<0&&(e+=360),e),Av=Hh,Rv=e=>Math.sqrt(e[0]*e[0]+e[1]*e[1]),Iv=e=>Math.sqrt(e[4]*e[4]+e[5]*e[5]),OI={x:12,y:13,z:14,translateX:12,translateY:13,translateZ:14,scaleX:Rv,scaleY:Iv,scale:e=>(Rv(e)+Iv(e))/2,rotateX:e=>Wh($s(Math.atan2(e[6],e[5]))),rotateY:e=>Wh($s(Math.atan2(-e[2],e[0]))),rotateZ:Av,rotate:Av,skewX:e=>$s(Math.atan(e[4])),skewY:e=>$s(Math.atan(e[1])),skew:e=>(Math.abs(e[1])+Math.abs(e[4]))/2};function Kh(e){return e.includes("scale")?1:0}function Gh(e,t){if(!e||e==="none")return Kh(t);const n=e.match(/^matrix3d\(([-\d.e\s,]+)\)$/u);let r,s;if(n)r=OI,s=n;else{const a=e.match(/^matrix\(([-\d.e\s,]+)\)$/u);r=MI,s=a}if(!s)return Kh(t);const i=r[t],o=s[1].split(",").map(LI);return typeof i=="function"?i(o):o[i]}const DI=(e,t)=>{const{transform:n="none"}=getComputedStyle(e);return Gh(n,t)};function LI(e){return parseFloat(e.trim())}const Oo=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],Do=new Set(Oo),Mv=e=>e===Mo||e===ae,FI=new Set(["x","y","z"]),VI=Oo.filter(e=>!FI.has(e));function $I(e){const t=[];return VI.forEach(n=>{const r=e.getValue(n);r!==void 0&&(t.push([n,r.get()]),r.set(n.startsWith("scale")?1:0))}),t}const Qs={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})=>Gh(t,"x"),y:(e,{transform:t})=>Gh(t,"y")};Qs.translateX=Qs.x;Qs.translateY=Qs.y;const Xs=new Set;let Yh=!1,Zh=!1,qh=!1;function xS(){if(Zh){const e=Array.from(Xs).filter(r=>r.needsMeasurement),t=new Set(e.map(r=>r.element)),n=new Map;t.forEach(r=>{const s=$I(r);s.length&&(n.set(r,s),r.render())}),e.forEach(r=>r.measureInitialState()),t.forEach(r=>{r.render();const s=n.get(r);s&&s.forEach(([i,o])=>{var a;(a=r.getValue(i))==null||a.set(o)})}),e.forEach(r=>r.measureEndState()),e.forEach(r=>{r.suspendedScrollY!==void 0&&window.scrollTo(0,r.suspendedScrollY)})}Zh=!1,Yh=!1,Xs.forEach(e=>e.complete(qh)),Xs.clear()}function wS(){Xs.forEach(e=>{e.readKeyframes(),e.needsMeasurement&&(Zh=!0)})}function BI(){qh=!0,wS(),xS(),qh=!1}class Yp{constructor(t,n,r,s,i,o=!1){this.state="pending",this.isAsync=!1,this.needsMeasurement=!1,this.unresolvedKeyframes=[...t],this.onComplete=n,this.name=r,this.motionValue=s,this.element=i,this.isAsync=o}scheduleResolve(){this.state="scheduled",this.isAsync?(Xs.add(this),Yh||(Yh=!0,Be.read(wS),Be.resolveKeyframes(xS))):(this.readKeyframes(),this.complete())}readKeyframes(){const{unresolvedKeyframes:t,name:n,element:r,motionValue:s}=this;if(t[0]===null){const i=s==null?void 0:s.get(),o=t[t.length-1];if(i!==void 0)t[0]=i;else if(r&&n){const a=r.readValue(n,o);a!=null&&(t[0]=a)}t[0]===void 0&&(t[0]=o),s&&i===void 0&&s.set(t[0])}II(t)}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(t=!1){this.state="complete",this.onComplete(this.unresolvedKeyframes,this.finalKeyframe,t),Xs.delete(this)}cancel(){this.state==="scheduled"&&(Xs.delete(this),this.state="pending")}resume(){this.state==="pending"&&this.scheduleResolve()}}const zI=e=>e.startsWith("--");function UI(e,t,n){zI(t)?e.style.setProperty(t,n):e.style[t]=n}const HI=Dp(()=>window.ScrollTimeline!==void 0),WI={};function KI(e,t){const n=Dp(e);return()=>WI[t]??n()}const bS=KI(()=>{try{document.createElement("div").animate({opacity:0},{easing:"linear(0, 1)"})}catch{return!1}return!0},"linearEasing"),sa=([e,t,n,r])=>`cubic-bezier(${e}, ${t}, ${n}, ${r})`,Ov={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:sa([0,.65,.55,1]),circOut:sa([.55,0,1,.45]),backIn:sa([.31,.01,.66,-.59]),backOut:sa([.33,1.53,.69,.99])};function jS(e,t){if(e)return typeof e=="function"?bS()?gS(e,t):"ease-out":iS(e)?sa(e):Array.isArray(e)?e.map(n=>jS(n,t)||Ov.easeOut):Ov[e]}function GI(e,t,n,{delay:r=0,duration:s=300,repeat:i=0,repeatType:o="loop",ease:a="easeOut",times:c}={},u=void 0){const d={[t]:n};c&&(d.offset=c);const f=jS(a,s);Array.isArray(f)&&(d.easing=f);const h={delay:r,duration:s,easing:Array.isArray(f)?"linear":f,fill:"both",iterations:i+1,direction:o==="reverse"?"alternate":"normal"};return u&&(h.pseudoElement=u),e.animate(d,h)}function SS(e){return typeof e=="function"&&"applyToOptions"in e}function YI({type:e,...t}){return SS(e)&&bS()?e.applyToOptions(t):(t.duration??(t.duration=300),t.ease??(t.ease="easeOut"),t)}class ZI extends Kp{constructor(t){if(super(),this.finishedTime=null,this.isStopped=!1,!t)return;const{element:n,name:r,keyframes:s,pseudoElement:i,allowFlatten:o=!1,finalKeyframe:a,onComplete:c}=t;this.isPseudoElement=!!i,this.allowFlatten=o,this.options=t,mu(typeof t.type!="string");const u=YI(t);this.animation=GI(n,r,s,u,i),u.autoplay===!1&&this.animation.pause(),this.animation.onfinish=()=>{if(this.finishedTime=this.time,!i){const d=Wp(s,this.options,a,this.speed);this.updateMotionValue?this.updateMotionValue(d):UI(n,r,d),this.animation.cancel()}c==null||c(),this.notifyFinished()}}play(){this.isStopped||(this.animation.play(),this.state==="finished"&&this.updateFinished())}pause(){this.animation.pause()}complete(){var t,n;(n=(t=this.animation).finish)==null||n.call(t)}cancel(){try{this.animation.cancel()}catch{}}stop(){if(this.isStopped)return;this.isStopped=!0;const{state:t}=this;t==="idle"||t==="finished"||(this.updateMotionValue?this.updateMotionValue():this.commitStyles(),this.isPseudoElement||this.cancel())}commitStyles(){var t,n;this.isPseudoElement||(n=(t=this.animation).commitStyles)==null||n.call(t)}get duration(){var n,r;const t=((r=(n=this.animation.effect)==null?void 0:n.getComputedTiming)==null?void 0:r.call(n).duration)||0;return jn(Number(t))}get iterationDuration(){const{delay:t=0}=this.options||{};return this.duration+jn(t)}get time(){return jn(Number(this.animation.currentTime)||0)}set time(t){this.finishedTime=null,this.animation.currentTime=fr(t)}get speed(){return this.animation.playbackRate}set speed(t){t<0&&(this.finishedTime=null),this.animation.playbackRate=t}get state(){return this.finishedTime!==null?"finished":this.animation.playState}get startTime(){return Number(this.animation.startTime)}set startTime(t){this.animation.startTime=t}attachTimeline({timeline:t,observe:n}){var r;return this.allowFlatten&&((r=this.animation.effect)==null||r.updateTiming({easing:"linear"})),this.animation.onfinish=null,t&&HI()?(this.animation.timeline=t,Cn):n(this)}}const CS={anticipate:tS,backInOut:eS,circInOut:rS};function qI(e){return e in CS}function QI(e){typeof e.ease=="string"&&qI(e.ease)&&(e.ease=CS[e.ease])}const Dv=10;class XI extends ZI{constructor(t){QI(t),vS(t),super(t),t.startTime&&(this.startTime=t.startTime),this.options=t}updateMotionValue(t){const{motionValue:n,onUpdate:r,onComplete:s,element:i,...o}=this.options;if(!n)return;if(t!==void 0){n.set(t);return}const a=new Gp({...o,autoplay:!1}),c=fr(this.finishedTime??this.time);n.setWithVelocity(a.sample(c-Dv).value,a.sample(c).value,Dv),a.stop()}}const Lv=(e,t)=>t==="zIndex"?!1:!!(typeof e=="number"||Array.isArray(e)||typeof e=="string"&&(Cs.test(e)||e==="0")&&!e.startsWith("url("));function JI(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 eM(e,t,n,r){const s=e[0];if(s===null)return!1;if(t==="display"||t==="visibility")return!0;const i=e[e.length-1],o=Lv(s,t),a=Lv(i,t);return!o||!a?!1:JI(e)||(n==="spring"||SS(n))&&r}function Qh(e){e.duration=0,e.type="keyframes"}const tM=new Set(["opacity","clipPath","filter","transform"]),nM=Dp(()=>Object.hasOwnProperty.call(Element.prototype,"animate"));function rM(e){var d;const{motionValue:t,name:n,repeatDelay:r,repeatType:s,damping:i,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 nM()&&n&&tM.has(n)&&(n!=="transform"||!u)&&!c&&!r&&s!=="mirror"&&i!==0&&o!=="inertia"}const sM=40;class iM extends Kp{constructor({autoplay:t=!0,delay:n=0,type:r="keyframes",repeat:s=0,repeatDelay:i=0,repeatType:
198o="loop",keyframes:a,name:c,motionValue:u,element:d,...f}){var w;super(),this.stop=()=>{var g,b;this._animation&&(this._animation.stop(),(g=this.stopTimeline)==null||g.call(this)),(b=this.keyframeResolver)==null||b.cancel()},this.createdAt=Zt.now();const h={autoplay:t,delay:n,type:r,repeat:s,repeatDelay:i,repeatType:o,name:c,motionValue:u,element:d,...f},m=(d==null?void 0:d.KeyframeResolver)||Yp;this.keyframeResolver=new m(a,(g,b,y)=>this.onKeyframesResolved(g,b,h,!y),c,u,d),(w=this.keyframeResolver)==null||w.scheduleResolve()}onKeyframesResolved(t,n,r,s){this.keyframeResolver=void 0;const{name:i,type:o,velocity:a,delay:c,isHandoff:u,onUpdate:d}=r;this.resolvedAt=Zt.now(),eM(t,i,o,a)||((Lr.instantAnimations||!c)&&(d==null||d(Wp(t,r,n))),t[0]=t[t.length-1],Qh(r),r.repeat=0);const h={startTime:s?this.resolvedAt?this.resolvedAt-this.createdAt>sM?this.resolvedAt:this.createdAt:this.createdAt:void 0,finalKeyframe:n,...r,keyframes:t},m=!u&&rM(h)?new XI({...h,element:h.motionValue.owner.current}):new Gp(h);m.finished.then(()=>this.notifyFinished()).catch(Cn),this.pendingTimeline&&(this.stopTimeline=m.attachTimeline(this.pendingTimeline),this.pendingTimeline=void 0),this._animation=m}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(),BI()),this._animation}get duration(){return this.animation.duration}get iterationDuration(){return this.animation.iterationDuration}get time(){return this.animation.time}set time(t){this.animation.time=t}get speed(){return this.animation.speed}get state(){return this.animation.state}set speed(t){this.animation.speed=t}get startTime(){return this.animation.startTime}attachTimeline(t){return this._animation?this.stopTimeline=this.animation.attachTimeline(t):this.pendingTimeline=t,()=>this.stop()}play(){this.animation.play()}pause(){this.animation.pause()}complete(){this.animation.complete()}cancel(){var t;this._animation&&this.animation.cancel(),(t=this.keyframeResolver)==null||t.cancel()}}const oM=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;function aM(e){const t=oM.exec(e);if(!t)return[,];const[,n,r,s]=t;return[`--${n??r}`,s]}function NS(e,t,n=1){const[r,s]=aM(e);if(!r)return;const i=window.getComputedStyle(t).getPropertyValue(r);if(i){const o=i.trim();return Kj(o)?parseFloat(o):o}return $p(s)?NS(s,t,n+1):s}function Zp(e,t){return(e==null?void 0:e[t])??(e==null?void 0:e.default)??e}const kS=new Set(["width","height","top","left","right","bottom",...Oo]),lM={test:e=>e==="auto",parse:e=>e},TS=e=>t=>t.test(e),ES=[Mo,ae,hr,Gr,J4,X4,lM],Fv=e=>ES.find(TS(e));function cM(e){return typeof e=="number"?e===0:e!==null?e==="none"||e==="0"||Yj(e):!0}const uM=new Set(["brightness","contrast","saturate","opacity"]);function dM(e){const[t,n]=e.slice(0,-1).split("(");if(t==="drop-shadow")return e;const[r]=n.match(Bp)||[];if(!r)return e;const s=n.replace(r,"");let i=uM.has(t)?1:0;return r!==n&&(i*=100),t+"("+i+s+")"}const fM=/\b([a-z-]*)\(.*?\)/gu,Xh={...Cs,getAnimatableNone:e=>{const t=e.match(fM);return t?t.map(dM).join(" "):e}},Vv={...Mo,transform:Math.round},hM={rotate:Gr,rotateX:Gr,rotateY:Gr,rotateZ:Gr,scale:nc,scaleX:nc,scaleY:nc,scaleZ:nc,skew:Gr,skewX:Gr,skewY:Gr,distance:ae,translateX:ae,translateY:ae,translateZ:ae,x:ae,y:ae,z:ae,perspective:ae,transformPerspective:ae,opacity:Ja,originX:kv,originY:kv,originZ:ae},qp={borderWidth:ae,borderTopWidth:ae,borderRightWidth:ae,borderBottomWidth:ae,borderLeftWidth:ae,borderRadius:ae,radius:ae,borderTopLeftRadius:ae,borderTopRightRadius:ae,borderBottomRightRadius:ae,borderBottomLeftRadius:ae,width:ae,maxWidth:ae,height:ae,maxHeight:ae,top:ae,right:ae,bottom:ae,left:ae,padding:ae,paddingTop:ae,paddingRight:ae,paddingBottom:ae,paddingLeft:ae,margin:ae,marginTop:ae,marginRight:ae,marginBottom:ae,marginLeft:ae,backgroundPositionX:ae,backgroundPositionY:ae,...hM,zIndex:Vv,fillOpacity:Ja,strokeOpacity:Ja,numOctaves:Vv},mM={...qp,color:ot,backgroundColor:ot,outlineColor:ot,fill:ot,stroke:ot,borderColor:ot,borderTopColor:ot,borderRightColor:ot,borderBottomColor:ot,borderLeftColor:ot,filter:Xh,WebkitFilter:Xh},PS=e=>mM[e];function _S(e,t){let n=PS(e);return n!==Xh&&(n=Cs),n.getAnimatableNone?n.getAnimatableNone(t):void 0}
vendor: 8,500 bytes, line 198
198const pM=new Set(["auto","none","0"]);function gM(e,t,n){let r=0,s;for(;r<e.length&&!s;){const i=e[r];typeof i=="string"&&!pM.has(i)&&el(i).values.length&&(s=e[r]),r++}if(s&&n)for(const i of t)e[i]=_S(n,s)}class yM extends Yp{constructor(t,n,r,s,i){super(t,n,r,s,i,!0)}readKeyframes(){const{unresolvedKeyframes:t,element:n,name:r}=this;if(!n||!n.current)return;super.readKeyframes();for(let c=0;c<t.length;c++){let u=t[c];if(typeof u=="string"&&(u=u.trim(),$p(u))){const d=NS(u,n.current);d!==void 0&&(t[c]=d),c===t.length-1&&(this.finalKeyframe=u)}}if(this.resolveNoneKeyframes(),!kS.has(r)||t.length!==2)return;const[s,i]=t,o=Fv(s),a=Fv(i);if(o!==a)if(Mv(o)&&Mv(a))for(let c=0;c<t.length;c++){const u=t[c];typeof u=="string"&&(t[c]=parseFloat(u))}else Qs[r]&&(this.needsMeasurement=!0)}resolveNoneKeyframes(){const{unresolvedKeyframes:t,name:n}=this,r=[];for(let s=0;s<t.length;s++)(t[s]===null||cM(t[s]))&&r.push(s);r.length&&gM(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=Qs[r](t.measureViewportBox(),window.getComputedStyle(t.current)),n[0]=this.measuredOrigin;const s=n[n.length-1];s!==void 0&&t.getValue(r,s).jump(s,!1)}measureEndState(){var a;const{element:t,name:n,unresolvedKeyframes:r}=this;if(!t||!t.current)return;const s=t.getValue(n);s&&s.jump(this.measuredOrigin,!1);const i=r.length-1,o=r[i];r[i]=Qs[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()}}function AS(e,t,n){if(e instanceof EventTarget)return[e];if(typeof e=="string"){const s=document.querySelectorAll(e);return s?Array.from(s):[]}return Array.from(e)}const RS=(e,t)=>t&&typeof e=="number"?t.transform(e):e;function vM(e){return Gj(e)&&"offsetHeight"in e}const $v=30,xM=e=>!isNaN(parseFloat(e));class wM{constructor(t,n={}){this.canTrackVelocity=null,this.events={},this.updateAndNotify=r=>{var i;const s=Zt.now();if(this.updatedAt!==s&&this.setPrevFrameValue(),this.prev=this.current,this.setCurrent(r),this.current!==this.prev&&((i=this.events.change)==null||i.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=Zt.now(),this.canTrackVelocity===null&&t!==void 0&&(this.canTrackVelocity=xM(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 Lp);const r=this.events[t].add(n);return t==="change"?()=>{r(),Be.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=Zt.now();if(!this.canTrackVelocity||this.prevFrameValue===void 0||t-this.updatedAt>$v)return 0;const n=Math.min(this.updatedAt-this.prevUpdatedAt,$v);return Zj(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 wo(e,t){return new wM(e,t)}const{schedule:Qp,cancel:S$}=oS(queueMicrotask,!1),Dn={x:!1,y:!1};function IS(){return Dn.x||Dn.y}function bM(e){return e==="x"||e==="y"?Dn[e]?null:(Dn[e]=!0,()=>{Dn[e]=!1}):Dn.x||Dn.y?null:(Dn.x=Dn.y=!0,()=>{Dn.x=Dn.y=!1})}function MS(e,t){const n=AS(e),r=new AbortController,s={passive:!0,...t,signal:r.signal};return[n,s,()=>r.abort()]}function Bv(e){return!(e.pointerType==="touch"||IS())}function jM(e,t,n={}){const[r,s,i]=MS(e,n),o=a=>{if(!Bv(a))return;const{target:c}=a,u=t(c,a);if(typeof u!="function"||!c)return;const d=f=>{Bv(f)&&(u(f),c.removeEventListener("pointerleave",d))};c.addEventListener("pointerleave",d,s)};return r.forEach(a=>{a.addEventListener("pointerenter",o,s)}),i}const OS=(e,t)=>t?e===t?!0:OS(e,t.parentElement):!1,Xp=e=>e.pointerType==="mouse"?typeof e.button!="number"||e.button<=0:e.isPrimary!==!1,SM=new Set(["BUTTON","INPUT","SELECT","TEXTAREA","A"]);function CM(e){return SM.has(e.tagName)||e.tabIndex!==-1}const _c=new WeakSet;function zv(e){return t=>{t.key==="Enter"&&e(t)}}function lf(e,t){e.dispatchEvent(new PointerEvent("pointer"+t,{isPrimary:!0,bubbles:!0}))}const NM=(e,t)=>{const n=e.currentTarget;if(!n)return;const r=zv(()=>{if(_c.has(n))return;lf(n,"down");const s=zv(()=>{lf(n,"up")}),i=()=>lf(n,"cancel");n.addEventListener("keyup",s,t),n.addEventListener("blur",i,t)});n.addEventListener("keydown",r,t),n.addEventListener("blur",()=>n.removeEventListener("keydown",r),t)};function Uv(e){return Xp(e)&&!IS()}function kM(e,t,n={}){const[r,s,i]=MS(e,n),o=a=>{const c=a.currentTarget;if(!Uv(a))return;_c.add(c);const u=t(c,a),d=(m,w)=>{window.removeEventListener("pointerup",f),window.removeEventListener("pointercancel",h),_c.has(c)&&_c.delete(c),Uv(m)&&typeof u=="function"&&u(m,{success:w})},f=m=>{d(m,c===window||c===document||n.useGlobalTarget||OS(c,m.target))},h=m=>{d(m,!1)};window.addEventListener("pointerup",f,s),window.addEventListener("pointercancel",h,s)};return r.forEach(a=>{(n.useGlobalTarget?window:a).addEventListener("pointerdown",o,s),vM(a)&&(a.addEventListener("focus",u=>NM(u,s)),!CM(a)&&!a.hasAttribute("tabindex")&&(a.tabIndex=0))}),i}function DS(e){return Gj(e)&&"ownerSVGElement"in e}function TM(e){return DS(e)&&e.tagName==="svg"}const Pt=e=>!!(e&&e.getVelocity),EM=[...ES,ot,Cs],PM=e=>EM.find(TS(e)),LS=x.createContext({transformPagePoint:e=>e,isStatic:!1,reducedMotion:"never"});function _M(e=!0){const t=x.useContext(Ip);if(t===null)return[!0,null];const{isPresent:n,onExitComplete:r,register:s}=t,i=x.useId();x.useEffect(()=>{if(e)return s(i)},[e]);const o=x.useCallback(()=>e&&r&&r(i),[i,r,e]);return!n&&r?[!1,o]:[!0]}const FS=x.createContext({strict:!1}),Hv={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"]},bo={};for(const e in Hv)bo[e]={isEnabled:t=>Hv[e].some(n=>!!t[n])};function AM(e){for(const t in e)bo[t]={...bo[t],...e[t]}}const RM=new Set(["animate","exit","variants","initial","style","values","variants","transition","transformTemplate","custom","inherit","onBeforeLayoutMeasure","onAnimationStart","onAnimationComplete","onUpdate","onDragStart","onDrag","onDragEnd","onMeasureDragConstraints","onDirectionLock","onDragTransitionEnd","_dragX","_dragY","onHoverStart","onHoverEnd","onViewportEnter","onViewportLeave","globalTapTarget","ignoreStrict","viewport"]);function vu(e){return e.startsWith("while")||e.startsWith("drag")&&e!=="draggable"||e.startsWith("layout")||e.startsWith("onTap")||e.startsWith("onPan")||e.startsWith("onLayout")||RM.has(e)}let VS=e=>!vu(e);function IM(e){typeof e=="function"&&(VS=t=>t.startsWith("on")?!vu(t):e(t))}try{IM(require("@emotion/is-prop-valid").default)}catch{}
vendor: 5,030 bytes, line 198
198function MM(e,t,n){const r={};for(const s in e)s==="values"&&typeof e.values=="object"||(VS(s)||n===!0&&vu(s)||!t&&!vu(s)||e.draggable&&s.startsWith("onDrag"))&&(r[s]=e[s]);return r}const id=x.createContext({});function od(e){return e!==null&&typeof e=="object"&&typeof e.start=="function"}function tl(e){return typeof e=="string"||Array.isArray(e)}const Jp=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],eg=["initial",...Jp];function ad(e){return od(e.animate)||eg.some(t=>tl(e[t]))}function $S(e){return!!(ad(e)||e.variants)}function OM(e,t){if(ad(e)){const{initial:n,animate:r}=e;return{initial:n===!1||tl(n)?n:void 0,animate:tl(r)?r:void 0}}return e.inherit!==!1?t:{}}function DM(e){const{initial:t,animate:n}=OM(e,x.useContext(id));return x.useMemo(()=>({initial:t,animate:n}),[Wv(t),Wv(n)])}function Wv(e){return Array.isArray(e)?e.join(" "):e}function Kv(e,t){return t.max===t.min?0:e/(t.max-t.min)*100}const Qo={correct:(e,t)=>{if(!t.target)return e;if(typeof e=="string")if(ae.test(e))e=parseFloat(e);else return e;const n=Kv(e,t.target.x),r=Kv(e,t.target.y);return`${n}% ${r}%`}},LM={correct:(e,{treeScale:t,projectionDelta:n})=>{const r=e,s=Cs.parse(e);if(s.length>5)return r;const i=Cs.createTransformer(e),o=typeof s[0]!="number"?1:0,a=n.x.scale*t.x,c=n.y.scale*t.y;s[0+o]/=a,s[1+o]/=c;const u=He(a,c,.5);return typeof s[2+o]=="number"&&(s[2+o]/=u),typeof s[3+o]=="number"&&(s[3+o]/=u),i(s)}},Jh={borderRadius:{...Qo,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:Qo,borderTopRightRadius:Qo,borderBottomLeftRadius:Qo,borderBottomRightRadius:Qo,boxShadow:LM};function BS(e,{layout:t,layoutId:n}){return Do.has(e)||e.startsWith("origin")||(t||n!==void 0)&&(!!Jh[e]||e==="opacity")}const FM={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},VM=Oo.length;function $M(e,t,n){let r="",s=!0;for(let i=0;i<VM;i++){const o=Oo[i],a=e[o];if(a===void 0)continue;let c=!0;if(typeof a=="number"?c=a===(o.startsWith("scale")?1:0):c=parseFloat(a)===0,!c||n){const u=RS(a,qp[o]);if(!c){s=!1;const d=FM[o]||o;r+=`${d}(${u}) `}n&&(t[o]=u)}}return r=r.trim(),n?r=n(t,s?"":r):s&&(r="none"),r}function tg(e,t,n){const{style:r,vars:s,transformOrigin:i}=e;let o=!1,a=!1;for(const c in t){const u=t[c];if(Do.has(c)){o=!0;continue}else if(lS(c)){s[c]=u;continue}else{const d=RS(u,qp[c]);c.startsWith("origin")?(a=!0,i[c]=d):r[c]=d}}if(t.transform||(o||n?r.transform=$M(t,e.transform,n):r.transform&&(r.transform="none")),a){const{originX:c="50%",originY:u="50%",originZ:d=0}=i;r.transformOrigin=`${c} ${u} ${d}`}}const ng=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function zS(e,t,n){for(const r in t)!Pt(t[r])&&!BS(r,n)&&(e[r]=t[r])}function BM({transformTemplate:e},t){return x.useMemo(()=>{const n=ng();return tg(n,t,e),Object.assign({},n.vars,n.style)},[t])}function zM(e,t){const n=e.style||{},r={};return zS(r,n,e),Object.assign(r,BM(e,t)),r}function UM(e,t){const n={},r=zM(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 HM={offset:"stroke-dashoffset",array:"stroke-dasharray"},WM={offset:"strokeDashoffset",array:"strokeDasharray"};function KM(e,t,n=1,r=0,s=!0){e.pathLength=1;const i=s?HM:WM;e[i.offset]=ae.transform(-r);const o=ae.transform(t),a=ae.transform(n);e[i.array]=`${o} ${a}`}function US(e,{attrX:t,attrY:n,attrScale:r,pathLength:s,pathSpacing:i=1,pathOffset:o=0,...a},c,u,d){if(tg(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),t!==void 0&&(f.x=t),n!==void 0&&(f.y=n),r!==void 0&&(f.scale=r),s!==void 0&&KM(f,s,i,o,!1)}const HS=()=>({...ng(),attrs:{}}),WS=e=>typeof e=="string"&&e.toLowerCase()==="svg";function GM(e,t,n,r){const s=x.useMemo(()=>{const i=HS();return US(i,t,WS(r),e.transformTemplate,e.style),{...i.attrs,style:{...i.style}}},[t]);if(e.style){const i={};zS(i,e.style,e),s.style={...i,...s.style}}return s}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 rg(e){return typeof e!="string"||e.includes("-")?!1:!!(YM.indexOf(e)>-1||/[A-Z]/u.test(e))}function ZM(e,t,n,{latestValues:r},s,i=!1){const a=(rg(e)?GM:UM)(t,r,s,e),c=MM(t,typeof e=="string",i),u=e!==x.Fragment?{...c,...a,ref:n}:{},{children:d}=t,f=x.useMemo(()=>Pt(d)?d.get():d,[d]);return x.createElement(e,{...u,children:f})}function Gv(e){const t=[{},{}];
vendor: 4,511 bytes, line 198
198return e==null||e.values.forEach((n,r)=>{t[0][r]=n.get(),t[1][r]=n.getVelocity()}),t}function sg(e,t,n,r){if(typeof t=="function"){const[s,i]=Gv(r);t=t(n!==void 0?n:e.custom,s,i)}if(typeof t=="string"&&(t=e.variants&&e.variants[t]),typeof t=="function"){const[s,i]=Gv(r);t=t(n!==void 0?n:e.custom,s,i)}return t}function Ac(e){return Pt(e)?e.get():e}function qM({scrapeMotionValuesFromProps:e,createRenderState:t},n,r,s){return{latestValues:QM(n,r,s,e),renderState:t()}}function QM(e,t,n,r){const s={},i=r(e,{});for(const h in i)s[h]=Ac(i[h]);let{initial:o,animate:a}=e;const c=ad(e),u=$S(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"&&!od(f)){const h=Array.isArray(f)?f:[f];for(let m=0;m<h.length;m++){const w=sg(e,h[m]);if(w){const{transitionEnd:g,transition:b,...y}=w;for(const p in y){let v=y[p];if(Array.isArray(v)){const j=d?v.length-1:0;v=v[j]}v!==null&&(s[p]=v)}for(const p in g)s[p]=g[p]}}}return s}const KS=e=>(t,n)=>{const r=x.useContext(id),s=x.useContext(Ip),i=()=>qM(e,t,r,s);return n?i():I4(i)};function ig(e,t,n){var i;const{style:r}=e,s={};for(const o in r)(Pt(r[o])||t.style&&Pt(t.style[o])||BS(o,e)||((i=n==null?void 0:n.getValue(o))==null?void 0:i.liveStyle)!==void 0)&&(s[o]=r[o]);return s}const XM=KS({scrapeMotionValuesFromProps:ig,createRenderState:ng});function GS(e,t,n){const r=ig(e,t,n);for(const s in e)if(Pt(e[s])||Pt(t[s])){const i=Oo.indexOf(s)!==-1?"attr"+s.charAt(0).toUpperCase()+s.substring(1):s;r[i]=e[s]}return r}const JM=KS({scrapeMotionValuesFromProps:GS,createRenderState:HS}),eO=Symbol.for("motionComponentSymbol");function $i(e){return e&&typeof e=="object"&&Object.prototype.hasOwnProperty.call(e,"current")}function tO(e,t,n){return x.useCallback(r=>{r&&e.onMount&&e.onMount(r),t&&(r?t.mount(r):t.unmount()),n&&(typeof n=="function"?n(r):$i(n)&&(n.current=r))},[t])}const og=e=>e.replace(/([a-z])([A-Z])/gu,"$1-$2").toLowerCase(),nO="framerAppearId",YS="data-"+og(nO),ZS=x.createContext({});function rO(e,t,n,r,s){var g,b;const{visualElement:i}=x.useContext(id),o=x.useContext(FS),a=x.useContext(Ip),c=x.useContext(LS).reducedMotion,u=x.useRef(null);r=r||o.renderer,!u.current&&r&&(u.current=r(e,{visualState:t,parent:i,props:n,presenceContext:a,blockInitialAnimation:a?a.initial===!1:!1,reducedMotionConfig:c}));const d=u.current,f=x.useContext(ZS);d&&!d.projection&&s&&(d.type==="html"||d.type==="svg")&&sO(u.current,n,s,f);const h=x.useRef(!1);x.useInsertionEffect(()=>{d&&h.current&&d.update(n,a)});const m=n[YS],w=x.useRef(!!m&&!((g=window.MotionHandoffIsComplete)!=null&&g.call(window,m))&&((b=window.MotionHasOptimisedAnimation)==null?void 0:b.call(window,m)));return M4(()=>{d&&(h.current=!0,window.MotionIsMounted=!0,d.updateFeatures(),d.scheduleRenderMicrotask(),w.current&&d.animationState&&d.animationState.animateChanges())}),x.useEffect(()=>{d&&(!w.current&&d.animationState&&d.animationState.animateChanges(),w.current&&(queueMicrotask(()=>{var y;(y=window.MotionHandoffMarkAsComplete)==null||y.call(window,m)}),w.current=!1),d.enteringChildren=void 0)}),d}function sO(e,t,n,r){const{layoutId:s,layout:i,drag:o,dragConstraints:a,layoutScroll:c,layoutRoot:u,layoutCrossfade:d}=t;e.projection=new n(e.latestValues,t["data-framer-portal-id"]?void 0:qS(e.parent)),e.projection.setOptions({layoutId:s,layout:i,alwaysMeasureLayout:!!o||a&&$i(a),visualElement:e,animationType:typeof i=="string"?i:"both",initialPromotionConfig:r,crossfade:d,layoutScroll:c,layoutRoot:u})}function qS(e){if(e)return e.options.allowProjection!==!1?e.projection:qS(e.parent)}function cf(e,{forwardMotionProps:t=!1}={},n,r){n&&AM(n);const s=rg(e)?JM:XM;function i(a,c){let u;const d={...x.useContext(LS),...a,layoutId:iO(a)},{isStatic:f}=d,h=DM(a),m=s(a,f);if(!f&&Rp){oO();const w=aO(d);u=w.MeasureLayout,h.visualElement=rO(e,m,d,r,w.ProjectionNode)}return l.jsxs(id.Provider,{value:h,children:[u&&h.visualElement?l.jsx(u,{visualElement:h.visualElement,...d}):null,ZM(e,a,tO(m,h.visualElement,c),m,f,t)]})}i.displayName=`motion.${typeof e=="string"?e:`create(${e.displayName??e.name??""})`}`;const o=x.forwardRef(i);return o[eO]=e,o}function iO({layoutId:e}){const t=x.useContext(Wj).id;return t&&e!==void 0?t+"-"+e:e}function oO(e,t){x.useContext(FS).strict}function aO(e){const{drag:t,layout:n}=bo;if(!t&&!n)return{};const r={...t,...n};return{MeasureLayout:t!=null&&t.isEnabled(e)||n!=null&&n.isEnabled(e)?r.MeasureLayout:void 0,ProjectionNode:r.ProjectionNode}}
vendor: 15,471 bytes, line 198
198function lO(e,t){if(typeof Proxy>"u")return cf;const n=new Map,r=(i,o)=>cf(i,o,e,t),s=(i,o)=>r(i,o);return new Proxy(s,{get:(i,o)=>o==="create"?r:(n.has(o)||n.set(o,cf(o,void 0,e,t)),n.get(o))})}function QS({top:e,left:t,right:n,bottom:r}){return{x:{min:t,max:n},y:{min:e,max:r}}}function cO({x:e,y:t}){return{top:t.min,right:e.max,bottom:t.max,left:e.min}}function uO(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 uf(e){return e===void 0||e===1}function em({scale:e,scaleX:t,scaleY:n}){return!uf(e)||!uf(t)||!uf(n)}function Os(e){return em(e)||XS(e)||e.z||e.rotate||e.rotateX||e.rotateY||e.skewX||e.skewY}function XS(e){return Yv(e.x)||Yv(e.y)}function Yv(e){return e&&e!=="0%"}function xu(e,t,n){const r=e-n,s=t*r;return n+s}function Zv(e,t,n,r,s){return s!==void 0&&(e=xu(e,s,r)),xu(e,n,r)+t}function tm(e,t=0,n=1,r,s){e.min=Zv(e.min,t,n,r,s),e.max=Zv(e.max,t,n,r,s)}function JS(e,{x:t,y:n}){tm(e.x,t.translate,t.scale,t.originPoint),tm(e.y,n.translate,n.scale,n.originPoint)}const qv=.999999999999,Qv=1.0000000000001;function dO(e,t,n,r=!1){const s=n.length;if(!s)return;t.x=t.y=1;let i,o;for(let a=0;a<s;a++){i=n[a],o=i.projectionDelta;const{visualElement:c}=i.options;c&&c.props.style&&c.props.style.display==="contents"||(r&&i.options.layoutScroll&&i.scroll&&i!==i.root&&zi(e,{x:-i.scroll.offset.x,y:-i.scroll.offset.y}),o&&(t.x*=o.x.scale,t.y*=o.y.scale,JS(e,o)),r&&Os(i.latestValues)&&zi(e,i.latestValues))}t.x<Qv&&t.x>qv&&(t.x=1),t.y<Qv&&t.y>qv&&(t.y=1)}function Bi(e,t){e.min=e.min+t,e.max=e.max+t}function Xv(e,t,n,r,s=.5){const i=He(e.min,e.max,s);tm(e,t,n,i,r)}function zi(e,t){Xv(e.x,t.x,t.scaleX,t.scale,t.originX),Xv(e.y,t.y,t.scaleY,t.scale,t.originY)}function e2(e,t){return QS(uO(e.getBoundingClientRect(),t))}function fO(e,t,n){const r=e2(e,n),{scroll:s}=t;return s&&(Bi(r.x,s.offset.x),Bi(r.y,s.offset.y)),r}const Jv=()=>({translate:0,scale:1,origin:0,originPoint:0}),Ui=()=>({x:Jv(),y:Jv()}),ex=()=>({min:0,max:0}),ut=()=>({x:ex(),y:ex()}),nm={current:null},t2={current:!1};function hO(){if(t2.current=!0,!!Rp)if(window.matchMedia){const e=window.matchMedia("(prefers-reduced-motion)"),t=()=>nm.current=e.matches;e.addEventListener("change",t),t()}else nm.current=!1}const mO=new WeakMap;function pO(e,t,n){for(const r in t){const s=t[r],i=n[r];if(Pt(s))e.addValue(r,s);else if(Pt(i))e.addValue(r,wo(s,{owner:e}));else if(i!==s)if(e.hasValue(r)){const o=e.getValue(r);o.liveStyle===!0?o.jump(s):o.hasAnimated||o.set(s)}else{const o=e.getStaticValue(r);e.addValue(r,wo(o!==void 0?o:s,{owner:e}))}}for(const r in n)t[r]===void 0&&e.removeValue(r);return t}const tx=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"];class gO{scrapeMotionValuesFromProps(t,n,r){return{}}constructor({parent:t,props:n,presenceContext:r,reducedMotionConfig:s,blockInitialAnimation:i,visualState:o},a={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.values=new Map,this.KeyframeResolver=Yp,this.features={},this.valueSubscriptions=new Map,this.prevMotionValues={},this.events={},this.propEventSubscriptions={},this.notifyUpdate=()=>this.notify("Update",this.latestValues),this.render=()=>{this.current&&(this.triggerBuild(),this.renderInstance(this.current,this.renderState,this.props.style,this.projection))},this.renderScheduledAt=0,this.scheduleRender=()=>{const h=Zt.now();this.renderScheduledAt<h&&(this.renderScheduledAt=h,Be.render(this.render,!1,!0))};const{latestValues:c,renderState:u}=o;this.latestValues=c,this.baseTarget={...c},this.initialValues=n.initial?{...c}:{},this.renderState=u,this.parent=t,this.props=n,this.presenceContext=r,this.depth=t?t.depth+1:0,this.reducedMotionConfig=s,this.options=a,this.blockInitialAnimation=!!i,this.isControllingVariants=ad(n),this.isVariantNode=$S(n),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(t&&t.current);const{willChange:d,...f}=this.scrapeMotionValuesFromProps(n,{},this);for(const h in f){const m=f[h];c[h]!==void 0&&Pt(m)&&m.set(c[h])}}mount(t){var n;this.current=t,mO.set(t,this),this.projection&&!this.projection.instance&&this.projection.mount(t),this.parent&&this.isVariantNode&&!this.isControllingVariants&&(this.removeFromVariantTree=this.parent.addVariantChild(this)),this.values.forEach((r,s)=>this.bindToMotionValue(s,r)),t2.current||hO(),this.shouldReduceMotion=this.reducedMotionConfig==="never"?!1:this.reducedMotionConfig==="always"?!0:nm.current,(n=this.parent)==null||n.addChild(this),this.update(this.props,this.presenceContext)}unmount(){var t;this.projection&&this.projection.unmount(),Ss(this.notifyUpdate),Ss(this.render),this.valueSubscriptions.forEach(n=>n()),this.valueSubscriptions.clear(),this.removeFromVariantTree&&this.removeFromVariantTree(),(t=this.parent)==null||t.removeChild(this);for(const n in this.events)this.events[n].clear();for(const n in this.features){const r=this.features[n];r&&(r.unmount(),r.isMounted=!1)}this.current=null}addChild(t){this.children.add(t),this.enteringChildren??(this.enteringChildren=new Set),this.enteringChildren.add(t)}removeChild(t){this.children.delete(t),this.enteringChildren&&this.enteringChildren.delete(t)}bindToMotionValue(t,n){this.valueSubscriptions.has(t)&&this.valueSubscriptions.get(t)();const r=Do.has(t);r&&this.onBindTransform&&this.onBindTransform();const s=n.on("change",o=>{this.latestValues[t]=o,this.props.onUpdate&&Be.preRender(this.notifyUpdate),r&&this.projection&&(this.projection.isTransformDirty=!0),this.scheduleRender()});let i;window.MotionCheckAppearSync&&(i=window.MotionCheckAppearSync(this,t,n)),this.valueSubscriptions.set(t,()=>{s(),i&&i(),n.owner&&n.stop()})}sortNodePosition(t){return!this.current||!this.sortInstanceNodePosition||this.type!==t.type?0:this.sortInstanceNodePosition(this.current,t.current)}updateFeatures(){let t="animation";for(t in bo){const n=bo[t];if(!n)continue;const{isEnabled:r,Feature:s}=n;if(!this.features[t]&&s&&r(this.props)&&(this.features[t]=new s(this)),this.features[t]){const i=this.features[t];i.isMounted?i.update():(i.mount(),i.isMounted=!0)}}}triggerBuild(){this.build(this.renderState,this.latestValues,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):ut()}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<tx.length;r++){const s=tx[r];this.propEventSubscriptions[s]&&(this.propEventSubscriptions[s](),delete this.propEventSubscriptions[s]);const i="on"+s,o=t[i];o&&(this.propEventSubscriptions[s]=this.on(s,o))}this.prevMotionValues=pO(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=wo(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"&&(Kj(r)||Yj(r))?r=parseFloat(r):!PM(r)&&Cs.test(n)&&(r=_S(t,n)),this.setBaseTarget(t,Pt(r)?r.get():r)),Pt(r)?r.get():r}setBaseTarget(t,n){this.baseTarget[t]=n}getBaseTarget(t){var i;const{initial:n}=this.props;let r;if(typeof n=="string"||typeof n=="object"){const o=sg(this.props,n,(i=this.presenceContext)==null?void 0:i.custom);o&&(r=o[t])}if(n&&r!==void 0)return r;const s=this.getBaseTargetFromProps(this.props,t);return s!==void 0&&!Pt(s)?s:this.initialValues[t]!==void 0&&r===void 0?void 0:this.baseTarget[t]}on(t,n){return this.events[t]||(this.events[t]=new Lp),this.events[t].add(n)}notify(t,...n){this.events[t]&&this.events[t].notify(...n)}scheduleRenderMicrotask(){Qp.render(this.render)}}class n2 extends gO{constructor(){super(...arguments),this.KeyframeResolver=yM}sortInstanceNodePosition(t,n){return t.compareDocumentPosition(n)&2?1:-1}getBaseTargetFromProps(t,n){return t.style?t.style[n]:void 0}removeValueFromRenderState(t,{vars:n,style:r}){delete n[t],delete r[t]}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);const{children:t}=this.props;Pt(t)&&(this.childSubscription=t.on("change",n=>{this.current&&(this.current.textContent=`${n}`)}))}}function r2(e,{style:t,vars:n},r,s){const i=e.style;let o;for(o in t)i[o]=t[o];s==null||s.applyProjectionStyles(i,r);for(o in n)i.setProperty(o,n[o])}function yO(e){return window.getComputedStyle(e)}class vO extends n2{constructor(){super(...arguments),this.type="html",this.renderInstance=r2}readValueFromInstance(t,n){var r;if(Do.has(n))return(r=this.projection)!=null&&r.isProjecting?Kh(n):DI(t,n);{const s=yO(t),i=(lS(n)?s.getPropertyValue(n):s[n])||0;return typeof i=="string"?i.trim():i}}measureInstanceViewportBox(t,{transformPagePoint:n}){return e2(t,n)}build(t,n,r){tg(t,n,r.transformTemplate)}scrapeMotionValuesFromProps(t,n,r){return ig(t,n,r)}}const s2=new Set(["baseFrequency","diffuseConstant","kernelMatrix","kernelUnitLength","keySplines","keyTimes","limitingConeAngle","markerHeight","markerWidth","numOctaves","targetX","targetY","surfaceScale","specularConstant","specularExponent","stdDeviation","tableValues","viewBox","gradientTransform","pathLength","startOffset","textLength","lengthAdjust"]);function xO(e,t,n,r){r2(e,t,void 0,r);for(const s in t.attrs)e.setAttribute(s2.has(s)?s:og(s),t.attrs[s])}class wO extends n2{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=ut}getBaseTargetFromProps(t,n){return t[n]}readValueFromInstance(t,n){if(Do.has(n)){const r=PS(n);return r&&r.default||0}return n=s2.has(n)?n:og(n),t.getAttribute(n)}scrapeMotionValuesFromProps(t,n,r){return GS(t,n,r)}build(t,n,r){US(t,n,this.isSVGTag,r.transformTemplate,r.style)}renderInstance(t,n,r,s){xO(t,n,r,s)}mount(t){this.isSVGTag=WS(t.tagName),super.mount(t)}}const bO=(e,t)=>rg(e)?new wO(t):new vO(t,{allowProjection:e!==x.Fragment});function eo(e,t,n){const r=e.getProps();return sg(r,t,n!==void 0?n:r.custom,e)}const rm=e=>Array.isArray(e);function jO(e,t,n){e.hasValue(t)?e.getValue(t).set(n):e.addValue(t,wo(n))}function SO(e){return rm(e)?e[e.length-1]||0:e}function CO(e,t){const n=eo(e,t);let{transitionEnd:r={},transition:s={},...i}=n||{};i={...i,...r};for(const o in i){const a=SO(i[o]);jO(e,o,a)}}function NO(e){return!!(Pt(e)&&e.add)}function sm(e,t){const n=e.getValue("willChange");if(NO(n))return n.add(t);if(!n&&Lr.WillChange){const r=new Lr.WillChange("auto");e.addValue("willChange",r),r.add(t)}}function i2(e){return e.props[YS]}const kO=e=>e!==null;function TO(e,{repeat:t,repeatType:n="loop"},r){const s=e.filter(kO),i=t&&n!=="loop"&&t%2===1?0:s.length-1;return!i||r===void 0?s[i]:r}const EO={type:"spring",stiffness:500,damping:25,restSpeed:10},PO=e=>({type:"spring",stiffness:550,damping:e===0?2*Math.sqrt(550):30,restSpeed:10}),_O={type:"keyframes",duration:.8},AO={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},RO=(e,{keyframes:t})=>t.length>2?_O:Do.has(e)?e.startsWith("scale")?PO(t[1]):EO:AO;function IO({when:e,delay:t,delayChildren:n,staggerChildren:r,staggerDirection:s,repeat:i,repeatType:o,repeatDelay:a,from:c,elapsed:u,...d}){return!!Object.keys(d).length}const ag=(e,t,n,r={},s,i)=>o=>{const a=Zp(r,e)||{},c=a.delay||r.delay||0;let{elapsed:u=0}=r;u=u-fr(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:i?void 0:s};IO(a)||Object.assign(d,RO(e,d)),d.duration&&(d.duration=fr(d.duration)),d.repeatDelay&&(d.repeatDelay=fr(d.repeatDelay)),d.from!==void 0&&(d.keyframes[0]=d.from);let f=!1;if((d.type===!1||d.duration===0&&!d.repeatDelay)&&(Qh(d),d.delay===0&&(f=!0)),(Lr.instantAnimations||Lr.skipAnimations)&&(f=!0,Qh(d),d.delay=0),d.allowFlatten=!a.type&&!a.ease,f&&!i&&t.get()!==void 0){const h=TO(d.keyframes,a);if(h!==void 0){Be.update(()=>{d.onUpdate(h),d.onComplete()});return}}return a.isSync?new Gp(d):new iM(d)};function MO({protectedKeys:e,needsAnimating:t},n){const r=e.hasOwnProperty(n)&&t[n]!==!0;return t[n]=!1,r}function o2(e,t,{delay:n=0,transitionOverride:r,type:s}={}){let{transition:i=e.getDefaultTransition(),transitionEnd:o,...a}=t;r&&(i=r);const c=[],u=s&&e.animationState&&e.animationState.getState()[s];for(const d in a){const f=e.getValue(d,e.latestValues[d]??null),h=a[d];if(h===void 0||u&&MO(u,d))continue;const m={delay:n,...Zp(i||{},d)},w=f.get();if(w!==void 0&&!f.isAnimating&&!Array.isArray(h)&&h===w&&!m.velocity)continue;let g=!1;if(window.MotionHandoffAnimation){const y=i2(e);if(y){const p=window.MotionHandoffAnimation(y,d,Be);p!==null&&(m.startTime=p,g=!0)}}sm(e,d),f.start(ag(d,f,h,e.shouldReduceMotion&&kS.has(d)?{type:!1}:m,e,g));const b=f.animation;b&&c.push(b)}return o&&Promise.all(c).then(()=>{Be.update(()=>{o&&CO(e,o)})}),c}function a2(e,t,n,r=0,s=1){const i=Array.from(e).sort((u,d)=>u.sortNodePosition(d)).indexOf(t),o=e.size,a=(o-1)*r;return typeof n=="function"?n(i,o):s===1?i*r:a-i*r}function im(e,t,n={}){var c;const r=eo(e,t,n.type==="exit"?(c=e.presenceContext)==null?void 0:c.custom:void 0);let{transition:s=e.getDefaultTransition()||{}}=r||{};n.transitionOverride&&(s=n.transitionOverride);const i=r?()=>Promise.all(o2(e,r,n)):()=>Promise.resolve(),o=e.variantChildren&&e.variantChildren.size?(u=0)=>{const{delayChildren:d=0,staggerChildren:f,staggerDirection:h}=s;return OO(e,t,u,d,f,h,n)}:()=>Promise.resolve(),{when:a}=s;if(a){const[u,d]=a==="beforeChildren"?[i,o]:[o,i];return u().then(()=>d())}else return Promise.all([i(),o(n.delay)])}function OO(e,t,n=0,r=0,s=0,i=1,o){const a=[];for(const c of e.variantChildren)c.notify("AnimationStart",t),a.push(im(c,t,{...o,delay:n+(typeof r=="function"?0:r)+a2(e.variantChildren,c,r,s,i)}).then(()=>c.notify("AnimationComplete",t)));return Promise.all(a)}function DO(e,t,n={}){e.notify("AnimationStart",t);let r;if(Array.isArray(t)){const s=t.map(i=>im(e,i,n));r=Promise.all(s)}else if(typeof t=="string")r=im(e,t,n);else{const s=typeof t=="function"?eo(e,t,n.custom):t;r=Promise.all(o2(e,s,n))}return r.then(()=>
vendor: 8,440 bytes, line 198
198{e.notify("AnimationComplete",t)})}function l2(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 LO=eg.length;function c2(e){if(!e)return;if(!e.isControllingVariants){const n=e.parent?c2(e.parent)||{}:{};return e.props.initial!==void 0&&(n.initial=e.props.initial),n}const t={};for(let n=0;n<LO;n++){const r=eg[n],s=e.props[r];(tl(s)||s===!1)&&(t[r]=s)}return t}const FO=[...Jp].reverse(),VO=Jp.length;function $O(e){return t=>Promise.all(t.map(({animation:n,options:r})=>DO(e,n,r)))}function BO(e){let t=$O(e),n=nx(),r=!0;const s=c=>(u,d)=>{var h;const f=eo(e,d,c==="exit"?(h=e.presenceContext)==null?void 0:h.custom:void 0);if(f){const{transition:m,transitionEnd:w,...g}=f;u={...u,...g,...w}}return u};function i(c){t=c(e)}function o(c){const{props:u}=e,d=c2(e.parent)||{},f=[],h=new Set;let m={},w=1/0;for(let b=0;b<VO;b++){const y=FO[b],p=n[y],v=u[y]!==void 0?u[y]:d[y],j=tl(v),S=y===c?p.isActive:null;S===!1&&(w=b);let N=v===d[y]&&v!==u[y]&&j;if(N&&r&&e.manuallyAnimateOnMount&&(N=!1),p.protectedKeys={...m},!p.isActive&&S===null||!v&&!p.prevProp||od(v)||typeof v=="boolean")continue;const k=zO(p.prevProp,v);let T=k||y===c&&p.isActive&&!N&&j||b>w&&j,_=!1;const M=Array.isArray(v)?v:[v];let V=M.reduce(s(y),{});S===!1&&(V={});const{prevResolvedValues:D={}}=p,W={...D,...V},L=K=>{T=!0,h.has(K)&&(_=!0,h.delete(K)),p.needsAnimating[K]=!0;const P=e.getValue(K);P&&(P.liveStyle=!1)};for(const K in W){const P=V[K],A=D[K];if(m.hasOwnProperty(K))continue;let z=!1;rm(P)&&rm(A)?z=!l2(P,A):z=P!==A,z?P!=null?L(K):h.add(K):P!==void 0&&h.has(K)?L(K):p.protectedKeys[K]=!0}p.prevProp=v,p.prevResolvedValues=V,p.isActive&&(m={...m,...V}),r&&e.blockInitialAnimation&&(T=!1);const Q=N&&k;T&&(!Q||_)&&f.push(...M.map(K=>{const P={type:y};if(typeof K=="string"&&r&&!Q&&e.manuallyAnimateOnMount&&e.parent){const{parent:A}=e,z=eo(A,K);if(A.enteringChildren&&z){const{delayChildren:se}=z.transition||{};P.delay=a2(A.enteringChildren,e,se)}}return{animation:K,options:P}}))}if(h.size){const b={};if(typeof u.initial!="boolean"){const y=eo(e,Array.isArray(u.initial)?u.initial[0]:u.initial);y&&y.transition&&(b.transition=y.transition)}h.forEach(y=>{const p=e.getBaseTarget(y),v=e.getValue(y);v&&(v.liveStyle=!0),b[y]=p??null}),f.push({animation:b})}let g=!!f.length;return r&&(u.initial===!1||u.initial===u.animate)&&!e.manuallyAnimateOnMount&&(g=!1),r=!1,g?t(f):Promise.resolve()}function a(c,u){var f;if(n[c].isActive===u)return Promise.resolve();(f=e.variantChildren)==null||f.forEach(h=>{var m;return(m=h.animationState)==null?void 0:m.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:i,getState:()=>n,reset:()=>{n=nx()}}}function zO(e,t){return typeof t=="string"?t!==e:Array.isArray(t)?!l2(t,e):!1}function Rs(e=!1){return{isActive:e,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function nx(){return{animate:Rs(!0),whileInView:Rs(),whileHover:Rs(),whileTap:Rs(),whileDrag:Rs(),whileFocus:Rs(),exit:Rs()}}class _s{constructor(t){this.isMounted=!1,this.node=t}update(){}}class UO extends _s{constructor(t){super(t),t.animationState||(t.animationState=BO(t))}updateAnimationControlsSubscription(){const{animate:t}=this.node.getProps();od(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 HO=0;class WO extends _s{constructor(){super(...arguments),this.id=HO++}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 s=this.node.animationState.setActive("exit",!t);n&&!t&&s.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 KO={animation:{Feature:UO},exit:{Feature:WO}};function nl(e,t,n,r={passive:!0}){return e.addEventListener(t,n,r),()=>e.removeEventListener(t,n)}function kl(e){return{point:{x:e.pageX,y:e.pageY}}}const GO=e=>t=>Xp(t)&&e(t,kl(t));function Sa(e,t,n,r){return nl(e,t,GO(n),r)}const u2=1e-4,YO=1-u2,ZO=1+u2,d2=.01,qO=0-d2,QO=0+d2;function Lt(e){return e.max-e.min}function XO(e,t,n){return Math.abs(e-t)<=n}function rx(e,t,n,r=.5){e.origin=r,e.originPoint=He(t.min,t.max,e.origin),e.scale=Lt(n)/Lt(t),e.translate=He(n.min,n.max,e.origin)-e.originPoint,(e.scale>=YO&&e.scale<=ZO||isNaN(e.scale))&&(e.scale=1),(e.translate>=qO&&e.translate<=QO||isNaN(e.translate))&&(e.translate=0)}function Ca(e,t,n,r){rx(e.x,t.x,n.x,r?r.originX:void 0),rx(e.y,t.y,n.y,r?r.originY:void 0)}function sx(e,t,n){e.min=n.min+t.min,e.max=e.min+Lt(t)}function JO(e,t,n){sx(e.x,t.x,n.x),sx(e.y,t.y,n.y)}function ix(e,t,n){e.min=t.min-n.min,e.max=e.min+Lt(t)}function wu(e,t,n){ix(e.x,t.x,n.x),ix(e.y,t.y,n.y)}function gn(e){return[e("x"),e("y")]}const f2=({current:e})=>e?e.ownerDocument.defaultView:null,ox=(e,t)=>Math.abs(e-t);function eD(e,t){const n=ox(e.x,t.x),r=ox(e.y,t.y);return Math.sqrt(n**2+r**2)}class h2{constructor(t,n,{transformPagePoint:r,contextWindow:s=window,dragSnapToOrigin:i=!1,distanceThreshold:o=3}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.handlers={},this.contextWindow=window,this.updatePoint=()=>{if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const h=ff(this.lastMoveEventInfo,this.history),m=this.startEvent!==null,w=eD(h.offset,{x:0,y:0})>=this.distanceThreshold;if(!m&&!w)return;const{point:g}=h,{timestamp:b}=wt;this.history.push({...g,timestamp:b});const{onStart:y,onMove:p}=this.handlers;m||(y&&y(this.lastMoveEvent,h),this.startEvent=this.lastMoveEvent),p&&p(this.lastMoveEvent,h)},this.handlePointerMove=(h,m)=>{this.lastMoveEvent=h,this.lastMoveEventInfo=df(m,this.transformPagePoint),Be.update(this.updatePoint,!0)},this.handlePointerUp=(h,m)=>{this.end();const{onEnd:w,onSessionEnd:g,resumeAnimation:b}=this.handlers;if(this.dragSnapToOrigin&&b&&b(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const y=ff(h.type==="pointercancel"?this.lastMoveEventInfo:df(m,this.transformPagePoint),this.history);this.startEvent&&w&&w(h,y),g&&g(h,y)},!Xp(t))return;this.dragSnapToOrigin=i,this.handlers=n,this.transformPagePoint=r,this.distanceThreshold=o,this.contextWindow=s||window;const a=kl(t),c=df(a,this.transformPagePoint),{point:u}=c,{timestamp:d}=wt;this.history=[{...u,timestamp:d}];const{onSessionStart:f}=n;f&&f(t,ff(c,this.history)),this.removeListeners=Sl(Sa(this.contextWindow,"pointermove",this.handlePointerMove),Sa(this.contextWindow,"pointerup",this.handlePointerUp),Sa(this.contextWindow,"pointercancel",this.handlePointerUp))}updateHandlers(t){this.handlers=t}end(){this.removeListeners&&this.removeListeners(),Ss(this.updatePoint)}}function df(e,t){return t?{point:t(e.point)}:e}function ax(e,t){return{x:e.x-t.x,y:e.y-t.y}}function ff({point:e},t){return{point:e,delta:ax(e,m2(t)),offset:ax(e,tD(t)),velocity:nD(t,.1)}}function tD(e){return e[0]}function m2(e){return e[e.length-1]}function nD(e,t){if(e.length<2)return{x:0,y:0};let n=e.length-1,r=null;const s=m2(e);for(;n>=0&&(r=e[n],!(s.timestamp-r.timestamp>fr(t)));)n--;if(!r)return{x:0,y:0};const i=jn(s.timestamp-r.timestamp);if(i===0)return{x:0,y:0};const o={x:(s.x-r.x)/i,y:(s.y-r.y)/i};return o.x===1/0&&(o.x=0),o.y===1/0&&(o.y=0),o}function rD(e,{min:t,max:n},r){return t!==void 0&&e<t?e=r?He(t,e,r.min):Math.max(e,t):n!==void 0&&e>n&&(e=r?He(n,e,r.max):Math.min(e,n)),e}function lx(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 sD(e,{top:t,left:n,bottom:r,right:s}){return{x:lx(e.x,n,s),y:lx(e.y,t,r)}}function cx(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 iD(e,t){return{x:cx(e.x,t.x),y:cx(e.y,t.y)}}function oD(e,t){let n=.5;const r=Lt(e),s=Lt(t);return s>r?n=Xa(t.min,t.max-r,e.min):r>s&&(n=Xa(e.min,e.max-s,t.min)),Dr(0,1,n)}function aD(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 om=.35;function lD(e=om){return e===!1?e=0:e===!0&&(e=om),{x:ux(e,"left","right"),y:ux(e,"to
198p","bottom")}}function ux(e,t,n){return{min:dx(e,t),max:dx(e,n)}}function dx(e,t){return typeof e=="number"?e:e[t]||0}const cD=new WeakMap;class uD{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=ut(),this.latestPointerEvent=null,this.latestPanInfo=null,this.visualElement=t}start(t,{snapToCursor:n=!1,distanceThreshold:r}={}){const{presenceContext:s}=this.visualElement;if(s&&s.isPresent===!1)return;const i=f=>{const{dragSnapToOrigin:h}=this.getProps();h?this.pauseAnimation():this.stopAnimation(),n&&this.snapToCursor(kl(f).point)},o=(f,h)=>{const{drag:m,dragPropagation:w,onDragStart:g}=this.getProps();if(m&&!w&&(this.openDragLock&&this.openDragLock(),this.openDragLock=bM(m),!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),gn(y=>{let p=this.getAxisMotionValue(y).get()||0;if(hr.test(p)){const{projection:v}=this.visualElement;if(v&&v.layout){const j=v.layout.layoutBox[y];j&&(p=Lt(j)*(parseFloat(p)/100))}}this.originPoint[y]=p}),g&&Be.postRender(()=>g(f,h)),sm(this.visualElement,"transform");const{animationState:b}=this.visualElement;b&&b.setActive("whileDrag",!0)},a=(f,h)=>{this.latestPointerEvent=f,this.latestPanInfo=h;const{dragPropagation:m,dragDirectionLock:w,onDirectionLock:g,onDrag:b}=this.getProps();if(!m&&!this.openDragLock)return;const{offset:y}=h;if(w&&this.currentDirection===null){this.currentDirection=dD(y),this.currentDirection!==null&&g&&g(this.currentDirection);return}this.updateAxis("x",h.point,y),this.updateAxis("y",h.point,y),this.visualElement.render(),b&&b(f,h)},c=(f,h)=>{this.latestPointerEvent=f,this.latestPanInfo=h,this.stop(f,h),this.latestPointerEvent=null,this.latestPanInfo=null},u=()=>gn(f=>{var h;return this.getAnimationState(f)==="paused"&&((h=this.getAxisMotionValue(f).animation)==null?void 0:h.play())}),{dragSnapToOrigin:d}=this.getProps();this.panSession=new h2(t,{onSessionStart:i,onStart:o,onMove:a,onSessionEnd:c,resumeAnimation:u},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:d,distanceThreshold:r,contextWindow:f2(this.visualElement)})}stop(t,n){const r=t||this.latestPointerEvent,s=n||this.latestPanInfo,i=this.isDragging;if(this.cancel(),!i||!s||!r)return;const{velocity:o}=s;this.startAnimation(o);const{onDragEnd:a}=this.getProps();a&&Be.postRender(()=>a(r,s))}cancel(){this.isDragging=!1;const{projection:t,animationState:n}=this.visualElement;t&&(t.isAnimationBlocked=!1),this.panSession&&this.panSession.end(),this.panSession=void 0;const{dragPropagation:r}=this.getProps();!r&&this.openDragLock&&(this.openDragLock(),this.openDragLock=null),n&&n.setActive("whileDrag",!1)}updateAxis(t,n,r){const{drag:s}=this.getProps();if(!r||!rc(t,s,this.currentDirection))return;const i=this.getAxisMotionValue(t);let o=this.originPoint[t]+r[t];this.constraints&&this.constraints[t]&&(o=rD(o,this.constraints[t],this.elastic[t])),i.set(o)}resolveConstraints(){var i;const{dragConstraints:t,dragElastic:n}=this.getProps(),r=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):(i=this.visualElement.projection)==null?void 0:i.layout,s=this.constraints;t&&$i(t)?this.constraints||(this.constraints=this.resolveRefConstraints()):t&&r?this.constraints=sD(r.layoutBox,t):this.constraints=!1,this.elastic=lD(n),s!==this.constraints&&r&&this.constraints&&!this.hasMutatedConstraints&&gn(o=>{this.constraints!==!1&&this.getAxisMotionValue(o)&&(this.constraints[o]=aD(r.layoutBox[o],this.constraints[o]))})}resolveRefConstraints(){const{dragConstraints:t,onMeasureDragConstraints:n}=this.getProps();if(!t||!$i(t))return!1;const r=t.current,{projection:s}=this.visualElement;if(!s||!s.layout)return!1;const i=fO(r,s.root,this.visualElement.getTransformPagePoint());let o=iD(s.layout.layoutBox,i);if(n){const a=n(cO(o));this.hasMutatedConstraints=!!a,a&&(o=QS(a))}return o}startAnimation(t){const{drag:n,dragMomentum:r,dragElastic:s,dragTransition:i,dragSnapToOrigin:o,onDragTransitionEnd:a}=this.getProps(),c=this.constraints||{},u=gn(d=>{if(!rc(d,n,this.currentDirection))return;let f=c&&c[d]||{};o&&(f={min:0,max:0});const h=s?200:1e6,m=s?40:1e7,w={type:"inertia",velocity:r?t[d]:0,bounceStiffness:h,bounceDamping:m,timeConstant:750,restDelta:1,restSpeed:10,...i,...f};return this.startAxisValueAnimation(d,w)});return Promise.all(u).then(a)}startAxisValueAnimation(t,n){const r=this.getAxisMotionValue(t);return sm(this.visualElement,t),r.start(ag(t,r,0,n,this.visualElement,!1))}stopAnimation(){gn(t=>this.getAxisMotionValue(t).stop())}pauseAnimation(){gn(t=>{var n;return(n=this.getAxisMotionValue(t).animation)==null?void 0:n.pause()})}getAnimationState(t){var n;return(n=this.getAxisMotionValue(t).animation)==null?void 0:n.state}getAxisMotionValue(t){const n=`_drag${t.toUpperCase()}`,r=this.visualElement.getProps(),s=r[n];return s||this.visualElement.getValue(t,(r.initial?r.initial[t]:void 0)||0)}snapToCursor(t){gn(n=>{const{drag:r}=this.getProps();if(!rc(n,r,this.currentDirection))return;const{projection:s}=this.visualElement,i=this.getAxisMotionValue(n);if(s&&s.layout){const{min:o,max:a}=s.layout.layoutBox[n];i.set(t[n]-He(o,a,.5))}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;const{drag:t,dragConstraints:n}=this.getProps(),{projection:r}=this.visualElement;if(!$i(n)||!r||!this.constraints)return;this.stopAnimation();const s={x:0,y:0};gn(o=>{const a=this.getAxisMotionValue(o);if(a&&this.constraints!==!1){const c=a.get();s[o]=oD({min:c,max:c},this.constraints[o])}});const{transformTemplate:i}=this.visualElement.getProps();this.visualElement.current.style.transform=i?i({},""):"none",r.root&&r.root.updateScroll(),r.updateLayout(),this.resolveConstraints(),gn(o=>{if(!rc(o,t,null))return;const a=this.getAxisMotionValue(o),{min:c,max:u}=this.constraints[o];a.set(He(c,u,s[o]))})}addListeners(){if(!this.visualElement.current)return;cD.set(this.visualElement,this);const t=this.visualElement.current,n=Sa(t,"pointerdown",c=>{const{drag:u,dragListener:d=!0}=this.getProps();u&&d&&this.start(c)}),r=()=>{const{dragConstraints:c}=this.getProps();$i(c)&&c.current&&(this.constraints=this.resolveRefConstraints())},{projection:s}=this.visualElement,i=s.addEventListener("measure",r);s&&!s.layout&&(s.root&&s.root.updateScroll(),s.updateLayout()),Be.read(r);const o=nl(window,"resize",()=>this.scalePositionWithinConstraints()),a=s.addEventListener("didUpdate",({delta:c,hasLayoutChanged:u})=>{this.isDragging&&u&&(gn(d=>{const f=this.getAxisMotionValue(d);f&&(this.originPoint[d]+=c[d].translate,f.set(f.get()+c[d].translate))}),this.visualElement.render())});return()=>{o(),n(),i(),a&&a()}}getProps(){const t=this.visualElement.getProps(),{drag:n=!1,dragDirectionLock:r=!1,dragPropagation:s=!1,dragConstraints:i=!1,dragElastic:o=om,dragMomentum:a=!0}=t;return{...t,drag:n,dragDirectionLock:r,dragPropagation:s,dragConstraints:i,dragElastic:o,dragMomentum:a}}}
vendor: 4,082 bytes, line 198
198function rc(e,t,n){return(t===!0||t===e)&&(n===null||n===e)}function dD(e,t=10){let n=null;return Math.abs(e.y)>t?n="y":Math.abs(e.x)>t&&(n="x"),n}class fD extends _s{constructor(t){super(t),this.removeGroupControls=Cn,this.removeListeners=Cn,this.controls=new uD(t)}mount(){const{dragControls:t}=this.node.getProps();t&&(this.removeGroupControls=t.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||Cn}unmount(){this.removeGroupControls(),this.removeListeners()}}const fx=e=>(t,n)=>{e&&Be.postRender(()=>e(t,n))};class hD extends _s{constructor(){super(...arguments),this.removePointerDownListener=Cn}onPointerDown(t){this.session=new h2(t,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:f2(this.node)})}createPanHandlers(){const{onPanSessionStart:t,onPanStart:n,onPan:r,onPanEnd:s}=this.node.getProps();return{onSessionStart:fx(t),onStart:fx(n),onMove:r,onEnd:(i,o)=>{delete this.session,s&&Be.postRender(()=>s(i,o))}}}mount(){this.removePointerDownListener=Sa(this.node.current,"pointerdown",t=>this.onPointerDown(t))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}}const Rc={hasAnimatedSinceResize:!0,hasEverUpdated:!1};let hf=!1;class mD extends x.Component{componentDidMount(){const{visualElement:t,layoutGroup:n,switchLayoutGroup:r,layoutId:s}=this.props,{projection:i}=t;i&&(n.group&&n.group.add(i),r&&r.register&&s&&r.register(i),hf&&i.root.didUpdate(),i.addEventListener("animationComplete",()=>{this.safeToRemove()}),i.setOptions({...i.options,onExitComplete:()=>this.safeToRemove()})),Rc.hasEverUpdated=!0}getSnapshotBeforeUpdate(t){const{layoutDependency:n,visualElement:r,drag:s,isPresent:i}=this.props,{projection:o}=r;return o&&(o.isPresent=i,hf=!0,s||t.layoutDependency!==n||n===void 0||t.isPresent!==i?o.willUpdate():this.safeToRemove(),t.isPresent!==i&&(i?o.promote():o.relegate()||Be.postRender(()=>{const a=o.getStack();(!a||!a.members.length)&&this.safeToRemove()}))),null}componentDidUpdate(){const{projection:t}=this.props.visualElement;t&&(t.root.didUpdate(),Qp.postRender(()=>{!t.currentAnimation&&t.isLead()&&this.safeToRemove()}))}componentWillUnmount(){const{visualElement:t,layoutGroup:n,switchLayoutGroup:r}=this.props,{projection:s}=t;hf=!0,s&&(s.scheduleCheckAfterUnmount(),n&&n.group&&n.group.remove(s),r&&r.deregister&&r.deregister(s))}safeToRemove(){const{safeToRemove:t}=this.props;t&&t()}render(){return null}}function p2(e){const[t,n]=_M(),r=x.useContext(Wj);return l.jsx(mD,{...e,layoutGroup:r,switchLayoutGroup:x.useContext(ZS),isPresent:t,safeToRemove:n})}function pD(e,t,n){const r=Pt(e)?e:wo(e);return r.start(ag("",r,t,n)),r.animation}const gD=(e,t)=>e.depth-t.depth;class yD{constructor(){this.children=[],this.isDirty=!1}add(t){Mp(this.children,t),this.isDirty=!0}remove(t){Op(this.children,t),this.isDirty=!0}forEach(t){this.isDirty&&this.children.sort(gD),this.isDirty=!1,this.children.forEach(t)}}function vD(e,t){const n=Zt.now(),r=({timestamp:s})=>{const i=s-n;i>=t&&(Ss(r),e(i-t))};return Be.setup(r,!0),()=>Ss(r)}const g2=["TopLeft","TopRight","BottomLeft","BottomRight"],xD=g2.length,hx=e=>typeof e=="string"?parseFloat(e):e,mx=e=>typeof e=="number"||ae.test(e);function wD(e,t,n,r,s,i){s?(e.opacity=He(0,n.opacity??1,bD(r)),e.opacityExit=He(t.opacity??1,0,jD(r))):i&&(e.opacity=He(t.opacity??1,n.opacity??1,r));for(let o=0;o<xD;o++){const a=`border${g2[o]}Radius`;let c=px(t,a),u=px(n,a);if(c===void 0&&u===void 0)continue;c||(c=0),u||(u=0),c===0||u===0||mx(c)===mx(u)?(e[a]=Math.max(He(hx(c),hx(u),r),0),(hr.test(u)||hr.test(c))&&(e[a]+="%")):e[a]=u}(t.rotate||n.rotate)&&(e.rotate=He(t.rotate||0,n.rotate||0,r))}function px(e,t){return e[t]!==void 0?e[t]:e.borderRadius}const bD=y2(0,.5,nS),jD=y2(.5,.95,Cn);function y2(e,t,n){return r=>r<e?0:r>t?1:n(Xa(e,t,r))}function gx(e,t){e.min=t.min,e.max=t.max}function On(e,t){gx(e.x,t.x),gx(e.y,t.y)}function yx(e,t){e.translate=t.translate,e.scale=t.scale,e.originPoint=t.originPoint,e.origin=t.origin}
vendor: 4,059 bytes, line 198
198function vx(e,t,n,r,s){return e-=t,e=xu(e,1/n,r),s!==void 0&&(e=xu(e,1/s,r)),e}function SD(e,t=0,n=1,r=.5,s,i=e,o=e){if(hr.test(t)&&(t=parseFloat(t),t=He(o.min,o.max,t/100)-o.min),typeof t!="number")return;let a=He(i.min,i.max,r);e===i&&(a-=t),e.min=vx(e.min,t,n,a,s),e.max=vx(e.max,t,n,a,s)}function xx(e,t,[n,r,s],i,o){SD(e,t[n],t[r],t[s],t.scale,i,o)}const CD=["x","scaleX","originX"],ND=["y","scaleY","originY"];function wx(e,t,n,r){xx(e.x,t,CD,n?n.x:void 0,r?r.x:void 0),xx(e.y,t,ND,n?n.y:void 0,r?r.y:void 0)}function bx(e){return e.translate===0&&e.scale===1}function v2(e){return bx(e.x)&&bx(e.y)}function jx(e,t){return e.min===t.min&&e.max===t.max}function kD(e,t){return jx(e.x,t.x)&&jx(e.y,t.y)}function Sx(e,t){return Math.round(e.min)===Math.round(t.min)&&Math.round(e.max)===Math.round(t.max)}function x2(e,t){return Sx(e.x,t.x)&&Sx(e.y,t.y)}function Cx(e){return Lt(e.x)/Lt(e.y)}function Nx(e,t){return e.translate===t.translate&&e.scale===t.scale&&e.originPoint===t.originPoint}class TD{constructor(){this.members=[]}add(t){Mp(this.members,t),t.scheduleRender()}remove(t){if(Op(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(s=>t===s);if(n===0)return!1;let r;for(let s=n;s>=0;s--){const i=this.members[s];if(i.isPresent!==!1){r=i;break}}return r?(this.promote(r),!0):!1}promote(t,n){const r=this.lead;if(t!==r&&(this.prevLead=r,this.lead=t,t.show(),r)){r.instance&&r.scheduleRender(),t.scheduleRender(),t.resumeFrom=r,n&&(t.resumeFrom.preserveOpacity=!0),r.snapshot&&(t.snapshot=r.snapshot,t.snapshot.latestValues=r.animationValues||r.latestValues),t.root&&t.root.isUpdating&&(t.isLayoutDirty=!0);const{crossfade:s}=t.options;s===!1&&r.hide()}}exitAnimationComplete(){this.members.forEach(t=>{const{options:n,resumingFrom:r}=t;n.onExitComplete&&n.onExitComplete(),r&&r.options.onExitComplete&&r.options.onExitComplete()})}scheduleRender(){this.members.forEach(t=>{t.instance&&t.scheduleRender(!1)})}removeLeadSnapshot(){this.lead&&this.lead.snapshot&&(this.lead.snapshot=void 0)}}function ED(e,t,n){let r="";const s=e.x.translate/t.x,i=e.y.translate/t.y,o=(n==null?void 0:n.z)||0;if((s||i||o)&&(r=`translate3d(${s}px, ${i}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:m,skewY:w}=n;u&&(r=`perspective(${u}px) ${r}`),d&&(r+=`rotate(${d}deg) `),f&&(r+=`rotateX(${f}deg) `),h&&(r+=`rotateY(${h}deg) `),m&&(r+=`skewX(${m}deg) `),w&&(r+=`skewY(${w}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 mf=["","X","Y","Z"],PD=1e3;let _D=0;function pf(e,t,n,r){const{latestValues:s}=t;s[e]&&(n[e]=s[e],t.setStaticValue(e,0),r&&(r[e]=0))}function w2(e){if(e.hasCheckedOptimisedAppear=!0,e.root===e)return;const{visualElement:t}=e.options;if(!t)return;const n=i2(t);if(window.MotionHasOptimisedAnimation(n,"transform")){const{layout:s,layoutId:i}=e.options;window.MotionCancelOptimisedAnimation(n,"transform",Be,!(s||i))}const{parent:r}=e;r&&!r.hasCheckedOptimisedAppear&&w2(r)}function b2({attachResizeListener:e,defaultParent:t,measureScroll:n,checkIsScrollRoot:r,resetTransform:s}){return class{constructor(o={},a=t==null?void 0:t()){this.id=_D++,this.animationId=0,this.animationCommitId=0,this.children=new Set,this.options={},this.isTreeAnimating=!1,this.isAnimationBlocked=!1,this.isLayoutDirty=!1,this.isProjectionDirty=!1,this.isSharedProjectionDirty=!1,this.isTransformDirty=!1,this.updateManuallyBlocked=!1,this.updateBlockedByResize=!1,this.isUpdating=!1,this.isSVG=!1,this.needsReset=!1,this.shouldResetTransform=!1,this.hasCheckedOptimisedAppear=!1,this.treeScale={x:1,y:1},this.eventHandlers=new Map,this.hasTreeAnimated=!1,this.layoutVersion=0,this.updateScheduled=!1,this.scheduleUpdate=()=>this.update(),this.projectionUpdateScheduled=!1,this.checkUpdateFailed=()=>{this.isUpdating&&(this.isUpdating=!1,this.clearAllSnapshots())},this.updateProjection=()=>
vendor: 14,720 bytes, line 198
198{this.projectionUpdateScheduled=!1,this.nodes.forEach(ID),this.nodes.forEach(LD),this.nodes.forEach(FD),this.nodes.forEach(MD)},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 yD)}addEventListener(o,a){return this.eventHandlers.has(o)||this.eventHandlers.set(o,new Lp),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=DS(o)&&!TM(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;Be.read(()=>{f=window.innerWidth}),e(o,()=>{const m=window.innerWidth;m!==f&&(f=m,this.root.updateBlockedByResize=!0,d&&d(),d=vD(h,250),Rc.hasAnimatedSinceResize&&(Rc.hasAnimatedSinceResize=!1,this.nodes.forEach(Ex)))})}a&&this.root.registerSharedNode(a,this),this.options.animate!==!1&&u&&(a||c)&&this.addEventListener("didUpdate",({delta:d,hasLayoutChanged:f,hasRelativeLayoutChanged:h,layout:m})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}const w=this.options.transition||u.getDefaultTransition()||UD,{onLayoutAnimationStart:g,onLayoutAnimationComplete:b}=u.getProps(),y=!this.targetLayout||!x2(this.targetLayout,m),p=!f&&h;if(this.options.layoutRoot||this.resumeFrom||p||f&&(y||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0);const v={...Zp(w,"layout"),onPlay:g,onComplete:b};(u.shouldReduceMotion||this.options.layoutRoot)&&(v.delay=0,v.type=!1),this.startAnimation(v),this.setAnimationOrigin(d,p)}else f||Ex(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=m})}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(),Ss(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(VD),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&&w2(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(kx);return}if(this.animationId<=this.animationCommitId){this.nodes.forEach(Tx);return}this.animationCommitId=this.animationId,this.isUpdating?(this.isUpdating=!1,this.nodes.forEach(DD),this.nodes.forEach(AD),this.nodes.forEach(RD)):this.nodes.forEach(Tx),this.clearAllSnapshots();const a=Zt.now();wt.delta=Dr(0,1e3/60,a-wt.timestamp),wt.timestamp=a,wt.isProcessing=!0,nf.update.process(wt),nf.preRender.process(wt),nf.render.process(wt),wt.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,Qp.read(this.scheduleUpdate))}clearAllSnapshots(){this.nodes.forEach(OD),this.sharedNodes.forEach($D)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,Be.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){Be.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){this.snapshot||!this.instance||(this.snapshot=this.measure(),this.snapshot&&!Lt(this.snapshot.measuredBox.x)&&!Lt(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=ut(),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(!s)return;const o=this.isLayoutDirty||this.shouldResetTransform||this.options.alwaysMeasureLayout,a=this.projectionDelta&&!v2(this.projectionDelta),c=this.getTransformTemplate(),u=c?c(this.latestValues,""):void 0,d=u!==this.prevTransformTemplateValue;o&&this.instance&&(a||Os(this.latestValues)||d)&&(s(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)),HD(c),{animationId:this.root.animationId,measuredBox:a,layoutBox:c,latestValues:{},source:this.id}}measurePageBox(){var u;const{visualElement:o}=this.options;if(!o)return ut();const a=o.measureViewportBox();if(!(((u=this.scroll)==null?void 0:u.wasRoot)||this.path.some(WD))){const{scroll:d}=this.root;d&&(Bi(a.x,d.offset.x),Bi(a.y,d.offset.y))}return a}removeElementScroll(o){var c;const a=ut();if(On(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&&On(a,o),Bi(a.x,f.offset.x),Bi(a.y,f.offset.y))}return a}applyTransform(o,a=!1){const c=ut();On(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&&zi(c,{x:-d.scroll.offset.x,y:-d.scroll.offset.y}),Os(d.latestValues)&&zi(c,d.latestValues)}return Os(this.latestValues)&&zi(c,this.latestValues),c}removeTransform(o){const a=ut();On(a,o);for(let c=0;c<this.path.length;c++){const u=this.path[c];if(!u.instance||!Os(u.latestValues))continue;em(u.latestValues)&&u.updateSnapshot();const d=ut(),f=u.measurePageBox();On(d,f),wx(a,u.latestValues,u.snapshot?u.snapshot.layoutBox:void 0,d)}return Os(this.latestValues)&&wx(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!==wt.timestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(o=!1){var m;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||(m=this.parent)!=null&&m.isProjectionDirty||this.attemptToResolveRelativeTarget||this.root.updateBlockedByResize))return;const{layout:d,layoutId:f}=this.options;if(!this.layout||!(d||f))return;this.resolvedRelativeTargetAt=wt.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=ut(),this.targetWithTransforms=ut()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target?(this.forceRelativeParentToResolveTarget(),JO(this.target,this.relativeTarget,this.relativeParent.target)):this.targetDelta?(this.resumingFrom?this.target=this.applyTransform(this.layout.layoutBox):On(this.target,this.layout.layoutBox),JS(this.target,this.targetDelta)):On(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||em(this.parent.latestValues)||XS(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=ut(),this.relativeTargetOrigin=ut(),wu(this.relativeTargetOrigin,a,c),On(this.relativeTarget,this.relativeTargetOrigin)}removeRelativeTarget(){this.relativeParent=this.relativeTarget=void 0}calcProjection(){var w;const o=this.getLead(),a=!!this.resumingFrom||this!==o;let c=!0;if((this.isProjectionDirty||(w=this.parent)!=null&&w.isProjectionDirty)&&(c=!1),a&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(c=!1),this.resolvedRelativeTargetAt===wt.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;On(this.layoutCorrected,this.layout.layoutBox);const f=this.treeScale.x,h=this.treeScale.y;dO(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=ut());const{target:m}=o;if(!m){this.prevProjectionDelta&&(this.createProjectionDeltas(),this.scheduleRender());return}!this.projectionDelta||!this.prevProjectionDelta?this.createProjectionDeltas():(yx(this.prevProjectionDelta.x,this.projectionDelta.x),yx(this.prevProjectionDelta.y,this.projectionDelta.y)),Ca(this.projectionDelta,this.layoutCorrected,m,this.latestValues),(this.treeScale.x!==f||this.treeScale.y!==h||!Nx(this.projectionDelta.x,this.prevProjectionDelta.x)||!Nx(this.projectionDelta.y,this.prevProjectionDelta.y))&&(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",m))}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=Ui(),this.projectionDelta=Ui(),this.projectionDeltaWithTransform=Ui()}setAnimationOrigin(o,a=!1){const c=this.snapshot,u=c?c.latestValues:{},d={...this.latestValues},f=Ui();(!this.relativeParent||!this.relativeParent.options.layoutRoot)&&(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!a;const h=ut(),m=c?c.source:void 0,w=this.layout?this.layout.source:void 0,g=m!==w,b=this.getStack(),y=!b||b.members.length<=1,p=!!(g&&!y&&this.options.crossfade===!0&&!this.path.some(zD));this.animationProgress=0;let v;this.mixTargetDelta=j=>{const S=j/1e3;Px(f.x,o.x,S),Px(f.y,o.y,S),this.setTargetDelta(f),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&(wu(h,this.layout.layoutBox,this.relativeParent.layout.layoutBox),BD(this.relativeTarget,this.relativeTargetOrigin,h,S),v&&kD(this.relativeTarget,v)&&(this.isProjectionDirty=!1),v||(v=ut()),On(v,this.relativeTarget)),g&&(this.animationValues=d,wD(d,u,this.latestValues,S,p,y)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=S},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&&(Ss(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=Be.update(()=>{Rc.hasAnimatedSinceResize=!0,this.motionValue||(this.motionValue=wo(0)),this.currentAnimation=pD(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(PD),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&&j2(this.options.animationType,this.layout.layoutBox,u.layoutBox)){c=this.target||ut();const f=Lt(this.layout.layoutBox.x);
vendor: 8,406 bytes, line 198
198c.x.min=o.target.x.min,c.x.max=c.x.min+f;const h=Lt(this.layout.layoutBox.y);c.y.min=o.target.y.min,c.y.max=c.y.min+h}On(a,c),zi(a,d),Ca(this.projectionDeltaWithTransform,this.layoutCorrected,a,d)}}registerSharedNode(o,a){this.sharedNodes.has(o)||this.sharedNodes.set(o,new TD),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&&pf("z",o,u,this.animationValues);for(let d=0;d<mf.length;d++)pf(`rotate${mf[d]}`,o,u,this.animationValues),pf(`skew${mf[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=Ac(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=Ac(a==null?void 0:a.pointerEvents)||""),this.hasProjected&&!Os(this.latestValues)&&(o.transform=c?c({},""):"none",this.hasProjected=!1);return}o.visibility="";const d=u.animationValues||u.latestValues;this.applyTransformsToTarget();let f=ED(this.projectionDeltaWithTransform,this.treeScale,d);c&&(f=c(d,f)),o.transform=f;const{x:h,y:m}=this.projectionDelta;o.transformOrigin=`${h.origin*100}% ${m.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 w in Jh){if(d[w]===void 0)continue;const{correct:g,applyTo:b,isCSSVariable:y}=Jh[w],p=f==="none"?d[w]:g(d[w],u);if(b){const v=b.length;for(let j=0;j<v;j++)o[b[j]]=p}else y?this.options.visualElement.renderState.vars[w]=p:o[w]=p}this.options.layoutId&&(o.pointerEvents=u===this?Ac(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(kx),this.root.sharedNodes.clear()}}}function AD(e){e.updateLayout()}function RD(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:s}=e.layout,{animationType:i}=e.options,o=t.source!==e.layout.source;i==="size"?gn(f=>{const h=o?t.measuredBox[f]:t.layoutBox[f],m=Lt(h);h.min=r[f].min,h.max=h.min+m}):j2(i,t.layoutBox,r)&&gn(f=>{const h=o?t.measuredBox[f]:t.layoutBox[f],m=Lt(r[f]);h.max=h.min+m,e.relativeTarget&&!e.currentAnimation&&(e.isProjectionDirty=!0,e.relativeTarget[f].max=e.relativeTarget[f].min+m)});const a=Ui();Ca(a,r,t.layoutBox);const c=Ui();o?Ca(c,e.applyTransform(s,!0),t.measuredBox):Ca(c,r,t.layoutBox);const u=!v2(a);let d=!1;if(!e.resumeFrom){const f=e.getClosestProjectingParent();if(f&&!f.resumeFrom){const{snapshot:h,layout:m}=f;if(h&&m){const w=ut();wu(w,t.layoutBox,h.layoutBox);const g=ut();wu(g,r,m.layoutBox),x2(w,g)||(d=!0),f.options.layoutRoot&&(e.relativeTarget=g,e.relativeTargetOrigin=w,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 ID(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 MD(e){e.isProjectionDirty=e.isSharedProjectionDirty=e.isTransformDirty=!1}function OD(e){e.clearSnapshot()}function kx(e){e.clearMeasurements()}function Tx(e){e.isLayoutDirty=!1}function DD(e){const{visualElement:t}=e.options;t&&t.getProps().onBeforeLayoutMeasure&&t.notify("BeforeLayoutMeasure"),e.resetTransform()}function Ex(e){e.finishAnimation(),e.targetDelta=e.relativeTarget=e.target=void 0,e.isProjectionDirty=!0}function LD(e){e.resolveTargetDelta()}function FD(e){e.calcProjection()}function VD(e){e.resetSkewAndRotation()}function $D(e){e.removeLeadSnapshot()}function Px(e,t,n){e.translate=He(t.translate,0,n),e.scale=He(t.scale,1,n),e.origin=t.origin,e.originPoint=t.originPoint}function _x(e,t,n,r){e.min=He(t.min,n.min,r),e.max=He(t.max,n.max,r)}function BD(e,t,n,r){_x(e.x,t.x,n.x,r),_x(e.y,t.y,n.y,r)}function zD(e){return e.animationValues&&e.animationValues.opacityExit!==void 0}const UD={duration:.45,ease:[.4,0,.1,1]},Ax=e=>typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(e),Rx=Ax("applewebkit/")&&!Ax("chrome/")?Math.round:Cn;function Ix(e){e.min=Rx(e.min),e.max=Rx(e.max)}function HD(e){Ix(e.x),Ix(e.y)}function j2(e,t,n){return e==="position"||e==="preserve-aspect"&&!XO(Cx(t),Cx(n),.2)}function WD(e){var t;return e!==e.root&&((t=e.scroll)==null?void 0:t.wasRoot)}const KD=b2({attachResizeListener:(e,t)=>nl(e,"resize",t),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}),checkIsScrollRoot:()=>!0}),gf={current:void 0},S2=b2({measureScroll:e=>({x:e.scrollLeft,y:e.scrollTop}),defaultParent:()=>{if(!gf.current){const e=new KD({});e.mount(window),e.setOptions({layoutScroll:!0}),gf.current=e}return gf.current},resetTransform:(e,t)=>{e.style.transform=t!==void 0?t:"none"},checkIsScrollRoot:e=>window.getComputedStyle(e).position==="fixed"}),GD={pan:{Feature:hD},drag:{Feature:fD,ProjectionNode:S2,MeasureLayout:p2}};function Mx(e,t,n){const{props:r}=e;e.animationState&&r.whileHover&&e.animationState.setActive("whileHover",n==="Start");const s="onHover"+n,i=r[s];i&&Be.postRender(()=>i(t,kl(t)))}class YD extends _s{mount(){const{current:t}=this.node;t&&(this.unmount=jM(t,(n,r)=>(Mx(this.node,r,"Start"),s=>Mx(this.node,s,"End"))))}unmount(){}}class ZD extends _s{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=Sl(nl(this.node.current,"focus",()=>this.onFocus()),nl(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}function Ox(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 s="onTap"+(n==="End"?"":n),i=r[s];i&&Be.postRender(()=>i(t,kl(t)))}class qD extends _s{mount(){const{current:t}=this.node;t&&(this.unmount=kM(t,(n,r)=>(Ox(this.node,r,"Start"),(s,{success:i})=>Ox(this.node,s,i?"End":"Cancel")),{useGlobalTarget:this.node.props.globalTapTarget}))}unmount(){}}const am=new WeakMap,yf=new WeakMap,QD=e=>{const t=am.get(e.target);t&&t(e)},XD=e=>{e.forEach(QD)};function JD({root:e,...t}){const n=e||document;yf.has(n)||yf.set(n,{});const r=yf.get(n),s=JSON.stringify(t);return r[s]||(r[s]=new IntersectionObserver(XD,{root:e,...t})),r[s]}
198function eL(e,t,n){const r=JD(t);return am.set(e,n),r.observe(e),()=>{am.delete(e),r.unobserve(e)}}const tL={some:0,all:1};class nL extends _s{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){this.unmount();const{viewport:t={}}=this.node.getProps(),{root:n,margin:r,amount:s="some",once:i}=t,o={root:n?n.current:void 0,rootMargin:r,threshold:typeof s=="number"?s:tL[s]},a=c=>{const{isIntersecting:u}=c;if(this.isInView===u||(this.isInView=u,i&&!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 eL(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(rL(t,n))&&this.startObserver()}unmount(){}}function rL({viewport:e={}},{viewport:t={}}={}){return n=>e[n]!==t[n]}const sL={inView:{Feature:nL},tap:{Feature:qD},focus:{Feature:ZD},hover:{Feature:YD}},iL={layout:{ProjectionNode:S2,MeasureLayout:p2}},oL={...KO,...sL,...GD,...iL},ne=lO(oL,bO),aL={some:0,all:1};function lL(e,t,{root:n,margin:r,amount:s="some"}={}){const i=AS(e),o=new WeakMap,a=u=>{u.forEach(d=>{const f=o.get(d.target);if(d.isIntersecting!==!!f)if(d.isIntersecting){const h=t(d.target,d);typeof h=="function"?o.set(d.target,h):c.unobserve(d.target)}else typeof f=="function"&&(f(d),o.delete(d.target))})},c=new IntersectionObserver(a,{root:n,rootMargin:r,threshold:typeof s=="number"?s:aL[s]});return i.forEach(u=>c.observe(u)),()=>c.disconnect()}function C2(e,{root:t,margin:n,amount:r,once:s=!1,initial:i=!1}={}){const[o,a]=x.useState(i);return x.useEffect(()=>{if(!e.current||s&&o)return;const c=()=>(a(!0),s?void 0:()=>a(!1)),u={root:t&&t.current||void 0,margin:n,amount:r};return lL(e.current,c,u)},[t,e,n,s,r]),o}const N2=Qu("inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium ring-offset-background transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0",{variants:{variant:{default:"bg-primary text-primary-foreground hover:bg-primary/90",destructive:"bg-destructive text-destructive-foreground hover:bg-destructive/90",outline:"border border-input bg-background hover:bg-accent hover:text-accent-foreground",secondary:"bg-secondary text-secondary-foreground hover:bg-secondary/80",ghost:"hover:bg-accent hover:text-accent-foreground",link:"text-primary underline-offset-4 hover:underline"},size:{default:"h-10 px-4 py-2",sm:"h-9 rounded-md px-3",lg:"h-11 rounded-md px-8",icon:"h-10 w-10"}},defaultVariants:{variant:"default",size:"default"}}),Oe=x.forwardRef(({className:e,variant:t,size:n,asChild:r=!1,...s},i)=>{const o=r?s1:"button";return l.jsx(o,{className:Ne(N2({variant:t,size:n,className:e})),ref:i,...s})});Oe.displayName="Button";const ze=x.forwardRef(({className:e,...t},n)=>l.jsx("div",{ref:n,className:Ne("rounded-lg border bg-card text-card-foreground shadow-sm",e),...t}));ze.displayName="Card";const cL=x.forwardRef(({className:e,...t},n)=>l.jsx("div",{ref:n,className:Ne("flex flex-col space-y-1.5 p-6",e),...t}));cL.displayName="CardHeader";const uL=x.forwardRef(({className:e,...t},n)=>l.jsx("h3",{ref:n,className:Ne("text-2xl font-semibold leading-none tracking-tight",e),...t}));uL.displayName="CardTitle";const dL=x.forwardRef(({className:e,...t},n)=>l.jsx("p",{ref:n,className:Ne("text-sm text-muted-foreground",e),...t}));dL.displayName="CardDescription";const fL=x.forwardRef(({className:e,...t},n)=>l.jsx("div",{ref:n,className:Ne("p-6 pt-0",e),...t}));fL.displayName="CardContent";const hL=x.forwardRef(({className:e,...t},n)=>l.jsx("div",{ref:n,className:Ne("flex items-center p-6 pt-0",e),...t}));hL.displayName="CardFooter";function mL(e){return Object.prototype.toString.call(e)==="[object Object]"}function Dx(e){return mL(e)||Array.isArray(e)}function pL(){return!!(typeof window<"u"&&window.document&&window.document.createElement)}function lg(e,t){const n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;const s=JSON.stringify(Object.keys(e.breakpoints||{})),i=JSON.stringify(Object.keys(t.breakpoints||{}));return s!==i?!1:n.every(o=>{const a=e[o],c=t[o];return typeof a=="function"?`${a}`==`${c}`:!Dx(a)||!Dx(c)?a===c:lg(a,c)})}function Lx(e){return e.concat().sort((t,n)=>t.name>n.name?1:-1).map(t=>t.options)}function gL(e,t){if(e.length!==t.length)return!1;const n=Lx(e),r=Lx(t);return n.every((s,i)=>{const o=r[i];return lg(s,o)})}function cg(e){return typeof e=="number"}function lm(e){return typeof e=="string"}function ld(e){return typeof e=="boolean"}function Fx(e){return Object.prototype.toString.call(e)==="[object Object]"}function We(e){return Math.abs(e)}function ug(e){return Math.sign(e)}function Na(e,t){return We(e-t)}function yL(e,t){if(e===0||t===0||We(e)<=We(t))return 0;const n=Na(We(e),We(t));return We(n/e)}function vL(e){return Math.round(e*100)/100}function rl(e){return sl(e).map(Number)}function Zn(e){return e[Tl(e)]}function Tl(e){return Math.max(0,e.length-1)}function dg(e,t){return t===Tl(e)}function Vx(e,t=0){return Array.from(Array(e),(n,r)=>t+r)}function sl(e){return Object.keys(e)}function k2(e,t){return[e,t].reduce((n,r)=>(sl(r).forEach(s=>{const i=n[s],o=r[s],a=Fx(i)&&Fx(o);n[s]=a?k2(i,o):o}),n),{})}function cm(e,t){return typeof t.MouseEvent<"u"&&e instanceof t.MouseEvent}function xL(e,t){const n={start:r,center:s,end:i};function r(){return 0}function s(c){return i(c)/2}function i(c){return t-c}function o(c,u){return lm(e)?n[e](c):e(t,c,u)}return{measure:o}}function il(){let e=[];function t(s,i,o,a={passive:!0}){let c;if("addEventListener"in s)s.addEventListener(i,o,a),c=()=>s.removeEventListener(i,o,a);else{const u=s;u.addListener(o),c=()=>u.removeListener(o)}return e.push(c),r}function n(){e=e.filter(s=>s())}const r={add:t,clear:n};return r}function wL(e,t,n,r){const s=il(),i=1e3/60;let o=null,a=0,c=0;function u(){s.add(e,"visibilitychange",()=>{e.hidden&&w()})}function d(){m(),s.clear()}function f(b){if(!c)return;o||(o=b,n(),n());const y=b-o;for(o=b,a+=y;a>=i;)n(),a-=i;const p=a/i;r(p),c&&(c=t.requestAnimationFrame(f))}function h(){c||(c=t.requestAnimationFrame(f))}function m(){t.cancelAnimationFrame(c),o=null,a=0,c=0}function w(){o=null,a=0}return{init:u,destroy:d,start:h,stop:m,update:n,render:r}}function bL(e,t){const n=t==="rtl",r=e==="y",s=r?"y":"x",i=r?"x":"y",o=!r&&n?-1:1,a=d(),c=f();function u(w){const{height:g,width:b}=w;return r?g:b}function d(){return r?"top":n?"right":"left"}function f(){return r?"bottom":n?"left":"right"}function h(w){return w*o}return{scroll:s,cross:i,startEdge:a,endEdge:c,measureSize:u,direction:h}}function ii(e=0,t=0){const n=We(e-t);function r(u){return u<e}function s(u){return u>t}function i(u){return r(u)||s(u)}function o(u){return i(u)?r(u)?e:t:u}function a(u){return n?u-n*Math.ceil((u-t)/n):u}return{length:n,max:t,min:e,constrain:o,reachedAny:i,reachedMax:s,reachedMin:r,removeOffset:a}}function T2(e,t,n){const{constrain:r}=ii(0,e),s=e+1;let i=o(t);function o(h){return n?We((s+h)%s):r(h)}function a(){return i}function c(h){return i=o(h),f}
vendor: 16,049 bytes, line 198
198function u(h){return d().set(a()+h)}function d(){return T2(e,a(),n)}const f={get:a,set:c,add:u,clone:d};return f}function jL(e,t,n,r,s,i,o,a,c,u,d,f,h,m,w,g,b,y,p){const{cross:v,direction:j}=e,S=["INPUT","SELECT","TEXTAREA"],N={passive:!1},k=il(),T=il(),_=ii(50,225).constrain(m.measure(20)),M={mouse:300,touch:400},V={mouse:500,touch:600},D=w?43:25;let W=!1,L=0,Q=0,Z=!1,K=!1,P=!1,A=!1;function z(X){if(!p)return;function ge(Ze){(ld(p)||p(X,Ze))&&Le(Ze)}const Pe=t;k.add(Pe,"dragstart",Ze=>Ze.preventDefault(),N).add(Pe,"touchmove",()=>{},N).add(Pe,"touchend",()=>{}).add(Pe,"touchstart",ge).add(Pe,"mousedown",ge).add(Pe,"touchcancel",Re).add(Pe,"contextmenu",Re).add(Pe,"click",Ye,!0)}function se(){k.clear(),T.clear()}function te(){const X=A?n:t;T.add(X,"touchmove",oe,N).add(X,"touchend",Re).add(X,"mousemove",oe,N).add(X,"mouseup",Re)}function le(X){const ge=X.nodeName||"";return S.includes(ge)}function ie(){return(w?V:M)[A?"mouse":"touch"]}function ke(X,ge){const Pe=f.add(ug(X)*-1),Ze=d.byDistance(X,!w).distance;return w||We(X)<_?Ze:b&&ge?Ze*.5:d.byIndex(Pe.get(),0).distance}function Le(X){const ge=cm(X,r);A=ge,P=w&&ge&&!X.buttons&&W,W=Na(s.get(),o.get())>=2,!(ge&&X.button!==0)&&(le(X.target)||(Z=!0,i.pointerDown(X),u.useFriction(0).useDuration(0),s.set(o),te(),L=i.readPoint(X),Q=i.readPoint(X,v),h.emit("pointerDown")))}function oe(X){if(!cm(X,r)&&X.touches.length>=2)return Re(X);const Pe=i.readPoint(X),Ze=i.readPoint(X,v),vt=Na(Pe,L),At=Na(Ze,Q);if(!K&&!A&&(!X.cancelable||(K=vt>At,!K)))return Re(X);const zt=i.pointerMove(X);vt>g&&(P=!0),u.useFriction(.3).useDuration(.75),a.start(),s.add(j(zt)),X.preventDefault()}function Re(X){const Pe=d.byDistance(0,!1).index!==f.get(),Ze=i.pointerUp(X)*ie(),vt=ke(j(Ze),Pe),At=yL(Ze,vt),zt=D-10*At,ht=y+At/50;K=!1,Z=!1,T.clear(),u.useDuration(zt).useFriction(ht),c.distance(vt,!w),A=!1,h.emit("pointerUp")}function Ye(X){P&&(X.stopPropagation(),X.preventDefault(),P=!1)}function Fe(){return Z}return{init:z,destroy:se,pointerDown:Fe}}function SL(e,t){let r,s;function i(f){return f.timeStamp}function o(f,h){const w=`client${(h||e.scroll)==="x"?"X":"Y"}`;return(cm(f,t)?f:f.touches[0])[w]}function a(f){return r=f,s=f,o(f)}function c(f){const h=o(f)-o(s),m=i(f)-i(r)>170;return s=f,m&&(r=f),h}function u(f){if(!r||!s)return 0;const h=o(s)-o(r),m=i(f)-i(r),w=i(f)-i(s)>170,g=h/m;return m&&!w&&We(g)>.1?g:0}return{pointerDown:a,pointerMove:c,pointerUp:u,readPoint:o}}function CL(){function e(n){const{offsetTop:r,offsetLeft:s,offsetWidth:i,offsetHeight:o}=n;return{top:r,right:s+i,bottom:r+o,left:s,width:i,height:o}}return{measure:e}}function NL(e){function t(r){return e*(r/100)}return{measure:t}}function kL(e,t,n,r,s,i,o){const a=[e].concat(r);let c,u,d=[],f=!1;function h(b){return s.measureSize(o.measure(b))}function m(b){if(!i)return;u=h(e),d=r.map(h);function y(p){for(const v of p){if(f)return;const j=v.target===e,S=r.indexOf(v.target),N=j?u:d[S],k=h(j?e:r[S]);if(We(k-N)>=.5){b.reInit(),t.emit("resize");break}}}c=new ResizeObserver(p=>{(ld(i)||i(b,p))&&y(p)}),n.requestAnimationFrame(()=>{a.forEach(p=>c.observe(p))})}function w(){f=!0,c&&c.disconnect()}return{init:m,destroy:w}}function TL(e,t,n,r,s,i){let o=0,a=0,c=s,u=i,d=e.get(),f=0;function h(){const N=r.get()-e.get(),k=!c;let T=0;return k?(o=0,n.set(r),e.set(r),T=N):(n.set(e),o+=N/c,o*=u,d+=o,e.add(o),T=d-f),a=ug(T),f=d,S}function m(){const N=r.get()-t.get();return We(N)<.001}function w(){return c}function g(){return a}function b(){return o}function y(){return v(s)}function p(){return j(i)}function v(N){return c=N,S}function j(N){return u=N,S}const S={direction:g,duration:w,velocity:b,seek:h,settled:m,useBaseFriction:p,useBaseDuration:y,useFriction:j,useDuration:v};return S}function EL(e,t,n,r,s){const i=s.measure(10),o=s.measure(50),a=ii(.1,.99);let c=!1;function u(){return!(c||!e.reachedAny(n.get())||!e.reachedAny(t.get()))}function d(m){if(!u())return;const w=e.reachedMin(t.get())?"min":"max",g=We(e[w]-t.get()),b=n.get()-t.get(),y=a.constrain(g/o);n.subtract(b*y),!m&&We(b)<i&&(n.set(e.constrain(n.get())),r.useDuration(25).useBaseFriction())}function f(m){c=!m}return{shouldConstrain:u,constrain:d,toggleActive:f}}function PL(e,t,n,r,s){const i=ii(-t+e,0),o=f(),a=d(),c=h();function u(w,g){return Na(w,g)<=1}function d(){const w=o[0],g=Zn(o),b=o.lastIndexOf(w),y=o.indexOf(g)+1;return ii(b,y)}function f(){return n.map((w,g)=>{const{min:b,max:y}=i,p=i.constrain(w),v=!g,j=dg(n,g);return v?y:j||u(b,p)?b:u(y,p)?y:p}).map(w=>parseFloat(w.toFixed(3)))}function h(){if(t<=e+s)return[i.max];if(r==="keepSnaps")return o;const{min:w,max:g}=a;return o.slice(w,g)}return{snapsContained:c,scrollContainLimit:a}}function _L(e,t,n){const r=t[0],s=n?r-e:Zn(t);return{limit:ii(s,r)}}function AL(e,t,n,r){const i=t.min+.1,o=t.max+.1,{reachedMin:a,reachedMax:c}=ii(i,o);function u(h){return h===1?c(n.get()):h===-1?a(n.get()):!1}function d(h){if(!u(h))return;const m=e*(h*-1);r.forEach(w=>w.add(m))}return{loop:d}}function RL(e){const{max:t,length:n}=e;function r(i){const o=i-t;return n?o/-n:0}return{get:r}}function IL(e,t,n,r,s){const{startEdge:i,endEdge:o}=e,{groupSlides:a}=s,c=f().map(t.measure),u=h(),d=m();function f(){return a(r).map(g=>Zn(g)[o]-g[0][i]).map(We)}function h(){return r.map(g=>n[i]-g[i]).map(g=>-We(g))}function m(){return a(u).map(g=>g[0]).map((g,b)=>g+c[b])}return{snaps:u,snapsAligned:d}}function ML(e,t,n,r,s,i){const{groupSlides:o}=s,{min:a,max:c}=r,u=d();function d(){const h=o(i),m=!e||t==="keepSnaps";return n.length===1?[i]:m?h:h.slice(a,c).map((w,g,b)=>{const y=!g,p=dg(b,g);if(y){const v=Zn(b[0])+1;return Vx(v)}if(p){const v=Tl(i)-Zn(b)[0]+1;return Vx(v,Zn(b)[0])}return w})}return{slideRegistry:u}}function OL(e,t,n,r,s){const{reachedAny:i,removeOffset:o,constrain:a}=r;function c(w){return w.concat().sort((g,b)=>We(g)-We(b))[0]}function u(w){const g=e?o(w):a(w),b=t.map((p,v)=>({diff:d(p-g,0),index:v})).sort((p,v)=>We(p.diff)-We(v.diff)),{index:y}=b[0];return{index:y,distance:g}}function d(w,g){const b=[w,w+n,w-n];if(!e)return w;if(!g)return c(b);const y=b.filter(p=>ug(p)===g);return y.length?c(y):Zn(b)-n}function f(w,g){const b=t[w]-s.get(),y=d(b,g);return{index:w,distance:y}}function h(w,g){const b=s.get()+w,{index:y,distance:p}=u(b),v=!e&&i(b);if(!g||v)return{index:y,distance:w};const j=t[y]-p,S=w+d(j,0);return{index:y,distance:S}}return{byDistance:h,byIndex:f,shortcut:d}}function DL(e,t,n,r,s,i,o){function a(f){const h=f.distance,m=f.index!==t.get();i.add(h),h&&(r.duration()?e.start():(e.update(),e.render(1),e.update())),m&&(n.set(t.get()),t.set(f.index),o.emit("select"))}function c(f,h){const m=s.byDistance(f,h);a(m)}function u(f,h){const m=t.clone().set(f),w=s.byIndex(m.get(),h);a(w)}return{distance:c,index:u}}function LL(e,t,n,r,s,i,o,a){const c={passive:!0,capture:!0};let u=0;function d(m){if(!a)return;function w(g){if(new Date().getTime()-u>10)return;o.emit("slideFocusStart"),e.scrollLeft=0;const p=n.findIndex(v=>v.includes(g));cg(p)&&(s.useDuration(0),r.index(p,0),o.emit("slideFocus"))}i.add(document,"keydown",f,!1),t.forEach((g,b)=>{i.add(g,"focus",y=>{(ld(a)||a(m,y))&&w(b)},c)})}function f(m){m.code==="Tab"&&(u=new Date().getTime())}return{init:d}}function ia(e){let t=e;function n(){return t}function r(c){t=o(c)}function s(c){t+=o(c)}function i(c){t-=o(c)}function o(c){return cg(c)?c:c.get()}return{get:n,set:r,add:s,subtract:i}}function E2(e,t){const n=e.scroll==="x"?o:a,r=t.style;let s=null,i=!1;function o(h){return`translate3d(${h}px,0px,0px)`}function a(h){return`translate3d(0px,${h}px,0px)`}function c(h){if(i)return;const m=vL(e.direction(h));m!==s&&(r.transform=n(m),s=m)}function u(h){i=!h}function d(){i||(r.transform="",t.getAttribute("style")||t.removeAttribute("style"))}return{clear:d,to:c,toggleActive:u}}function FL(e,t,n,r,s,i,o,a,c){const d=rl(s),f=rl(s).reverse(),h=y().concat(p());function m(k,T){return k.reduce((_,M)=>_-s[M],T)}function w(k,T){return k.reduce((_,M)=>m(_,T)>0?_.concat([M]):_,[])}function g(k){return i.map((T,_)=>({start:T-r[_]+.5+k,end:T+t-.5+k}))}function b(k,T,_){const M=g(T);return k.map(V=>{const D=_?0:-n,W=_?n:0,L=_?"end":"start",Q=M[V][L];return{index:V,loopPoint:Q,slideLocation:ia(-1),translate:E2(e,c[V]),target:()=>a.get()>Q?D:W}})}function y(){const k=o[0],T=w(f,k);return b(T,n,!1)}function p(){const k=t-o[0]-1,T=w(d,k);return b(T,-n,!0)}function v(){return h.every(({index:k})=>{const T=d.filter(_=>_!==k);return m(T,t)<=.1})}function j(){h.forEach(k=>{const{target:T,translate:_,slideLocation:M}=k,V=T();V!==M.get()&&(_.to(V),M.set(V))})}function S(){h.forEach(k=>k.translate.clear())}return{canLoop:v,clear:S,loop:j,loopPoints:h}}function VL(e,t,n){let r,s=!1;function i(c){if(!n)return;function u(d){for(const f of d)if(f.type==="childList"){c.reInit(),t.emit("slidesChanged");break}}r=new MutationObserver(d=>{s||(ld(n)||n(c,d))&&u(d)}),r.observe(e,{childList:!0})}function o(){r&&r.disconnect(),s=!0}return{init:i,destroy:o}}function $L(e,t,n,r){const s={};let i=null,o=null,a,c=!1;function u(){a=new IntersectionObserver(w=>{c||(w.forEach(g=>{const b=t.indexOf(g.target);s[b]=g}),i=null,o=null,n.emit("slidesInView"))},{root:e.parentElement,threshold:r}),t.forEach(w=>a.observe(w))}function d(){a&&a.disconnect(),c=!0}function f(w){return sl(s).reduce((g,b)=>{const y=parseInt(b),{isIntersecting:p}=s[y];return(w&&p||!w&&!p)&&g.push(y),g},[])}function h(w=!0){if(w&&i)return i;if(!w&&o)return o;const g=f(w);return w&&(i=g),w||(o=g),g}return{init:u,destroy:d,get:h}}function BL(e,t,n,r,s,i){const{measureSize:o,startEdge:a,endEdge:c}=e,u=n[0]&&s,d=w(),f=g(),h=n.map(o),m=b();function w(){if(!u)return 0;const p=n[0];return We(t[a]-p[a])}function g(){if(!u)return 0;const p=i.getComputedStyle(Zn(r));return parseFloat(p.getPropertyValue(`margin-${c}`))}function b(){return n.map((p,v,j)=>{const S=!v,N=dg(j,v);return S?h[v]+d:N?h[v]+f:j[v+1][a]-p[a]}).map(We)}return{slideSizes:h,slideSizesWithGaps:m,startGap:d,endGap:f}}function zL(e,t,n,r,s,i,o,a,c){const{startEdge:u,endEdge:d,direction:f}=e,h=cg(n);function m(y,p){return rl(y).filter(v=>v%p===0).map(v=>y.slice(v,v+p))}function w(y){return y.length?rl(y).reduce((p,v,j)=>{const S=Zn(p)||0,N=S===0,k=v===Tl(y),T=s[u]-i[S][u],_=s[u]-i[v][d],M=!r&&N?f(o):0,V=!r&&k?f(a):0,D=We(_-V-(T+M));return j&&D>t+c&&p.push(v),k&&p.push(y.length),p},[]).map((p,v,j)=>{const S=Math.max(j[v-1]||0);return y.slice(S,p)}):[]}function g(y){return h?m(y,n):w(y)}return{groupSlides:g}}function UL(e,t,n,r,s,i,o){const{align:a,axis:c,direction:u,startIndex:d,loop:f,duration:h,dragFree:m,dragThreshold:w,inViewThreshold:g,slidesToScroll:b,skipSnaps:y,containScroll:p,watchResize:v,watchSlides:j,watchDrag:S,watchFocus:N}=i,k=2,T=CL(),_=T.measure(t),M=n.map(T.measure),V=bL(c,u),D=V.measureSize(_),W=NL(D),L=xL(a,D),Q=!f&&!!p,Z=f||!!p,{slideSizes:K,slideSizesWithGaps:P,startGap:A,endGap:z}=BL(V,_,M,n,Z,s),se=zL(V,D,b,f,_,M,A,z,k),{snaps:te,snapsAligned:le}=IL(V,L,_,M,se),ie=-Zn(te)+Zn(P),{snapsContained:ke,scrollContainLimit:Le}=PL(D,ie,le,p,k),oe=Q?ke:le,{limit:Re}=_L(ie,oe,f),Ye=T2(Tl(oe),d,f),Fe=Ye.clone(),ve=rl(n),X=({dragHandler:St,scrollBody:Ut,scrollBounds:$r,options:{loop:hn}})=>{hn||$r.constrain(St.pointerDown()),Ut.seek()},ge=({scrollBody:St,translate:Ut,location:$r,offsetLocation:hn,previousLocation:mn,scrollLooper:hi,slideLooper:En,dragHandler:Lo,animation:mi,eventHandler:Fo,scrollBounds:Pl,options:{loop:_l}},pi)=>{const Pn=St.settled(),pd=!Pl.shouldConstrain(),ce=_l?Pn:Pn&&pd,Se=ce&&!Lo.pointerDown();Se&&mi.stop();const _e=$r.get()*pi+mn.get()*(1-pi);hn.set(_e),_l&&(hi.loop(St.direction()),En.loop()),Ut.to(hn.get()),Se&&Fo.emit("settle"),ce||Fo.emit("scroll")},Pe=wL(r,s,()=>X(mt),St=>ge(mt,St)),Ze=.68,vt=oe[Ye.get()],At=ia(vt),zt=ia(vt),ht=ia(vt),C=ia(vt),E=TL(At,ht,zt,C,h,Ze),I=OL(f,oe,ie,Re,C),U=DL(Pe,Ye,Fe,E,I,C,o),H=RL(Re),$=il(),q=$L(t,n,o,g),{slideRegistry:me}=ML(Q,p,oe,Le,se,ve),Ce=LL(e,n,me,U,E,$,o,N),mt={ownerDocument:r,ownerWindow:s,eventHandler:o,containerRect:_,slideRects:M,animation:Pe,axis:V,dragHandler:jL(V,e,r,s,C,SL(V,s),At,Pe,U,E,I,Ye,o,W,m,w,y,Ze,S),eventStore:$,percentOfView:W,index:Ye,indexPrevious:Fe,limit:Re,location:At,offsetLocation:ht,previousLocation:zt,options:i,resizeHandler:kL(t,o,s,n,V,v,T),scrollBody:E,scrollBounds:EL(Re,ht,C,E,W),scrollLooper:AL(ie,Re,ht,[At,ht,zt,C]),scrollProgress:H,scrollSnapList:oe.map(H.get),scrollSnaps:oe,scrollTarget:I,scrollTo:U,slideLooper:FL(V,D,ie,K,P,te,oe,ht,n),slideFocus:Ce,slidesHandler:VL(t,o,j),slidesInView:q,slideIndexes:ve,slideRegistry:me,slidesToScroll:se,target:C,translate:E2(V,t)};return mt}function HL(){let e={},t;function n(u){t=u}function r(u){return e[u]||[]}function s(u){return r(u).forEach(d=>d(t,u)),c}function i(u,d){return e[u]=r(u).concat([d]),c}function o(u,d){return e[u]=r(u).filter(f=>f!==d),c}function a(){e={}}const c={init:n,emit:s,off:o,on:i,clear:a};return c}const WL={align:"center",axis:"x",container:null,slides:null,containScroll:"trimSnaps",direction:"ltr",slidesToScroll:1,inViewThreshold:0,breakpoints:{},dragFree:!1,dragThreshold:10,loop:!1,skipSnaps:!1,duration:25,startIndex:0,active:!0,watchDrag:!0,watchResize:!0,watchSlides:!0,watchFocus:!0};function KL(e){function t(i,o){return k2(i,o||{})}function n(i){const o=i.breakpoints||{},a=sl(o).filter(c=>e.matchMedia(c).matches).map(c=>o[c]).reduce((c,u)=>t(c,u),{});return t(i,a)}function r(i){return i.map(o=>sl(o.breakpoints||{})).reduce((o,a)=>o.concat(a),[]).map(e.matchMedia)}return{mergeOptions:t,optionsAtMedia:n,optionsMediaQueries:r}}function GL(e){let t=[];function n(i,o){return t=o.filter(({options:a})=>e.optionsAtMedia(a).active!==!1),t.forEach(a=>a.init(i,e)),o.reduce((a,c)=>Object.assign(a,{[c.name]:c}),{})}function r(){t=t.filter(i=>i.destroy())}return{init:n,destroy:r}}function bu(e,t,n){const r=e.ownerDocument,s=r.defaultView,i=KL(s),o=GL(i),a=il(),c=HL(),{mergeOptions:u,optionsAtMedia:d,optionsMediaQueries:f}=i,{on:h,off:m,emit:w}=c,g=V;let b=!1,y,p=u(WL,bu.globalOptions),v=u(p),j=[],S,N,k;function T(){const{container:ve,slides:X}=v;N=(lm(ve)?e.querySelector(ve):ve)||e.children[0];const Pe=lm(X)?N.querySelectorAll(X):X;k=[].slice.call(Pe||N.children)}function _(ve){const X=UL(e,N,k,r,s,ve,c);if(ve.loop&&!X.slideLooper.canLoop()){const ge=Object.assign({},ve,{loop:!1});return _(ge)}return X}function M(ve,X){b||(p=u(p,ve),v=d(p),j=X||j,T(),y=_(v),f([p,...j.map(({options:ge})=>ge)]).forEach(ge=>a.add(ge,"change",V)),v.active&&(y.translate.to(y.location.get()),y.animation.init(),y.slidesInView.init(),y.slideFocus.init(Fe),y.eventHandler.init(Fe),y.resizeHandler.init(Fe),y.slidesHandler.init(Fe),y.options.loop&&y.slideLooper.loop(),N.offsetParent&&k.length&&y.dragHandler.init(Fe),S=o.init(Fe,j)))}function V(ve,X){const ge=se();D(),M(u({startIndex:ge},ve),X),c.emit("reInit")}function D(){y.dragHandler.destroy(),y.eventStore.clear(),y.translate.clear(),y.slideLooper.clear(),y.resizeHandler.destroy(),y.slidesHandler.destroy(),y.slidesInView.destroy(),y.animation.destroy(),o.destroy(),a.clear()}function W(){b||(b=!0,a.clear(),D(),c.emit("destroy"),c.clear())}function L(ve,X,ge){!v.active||b||(y.scrollBody.useBaseFriction().useDuration(X===!0?0:v.duration),y.scrollTo.index(ve,ge||0))}function Q(ve){const X=y.index.add(1).get();L(X,ve,-1)}function Z(ve){const X=y.index.add(-1).get();L(X,ve,1)}function K(){return y.index.add(1).get()!==se()}function P(){return y.index.add(-1).get()!==se()}function A(){return y.scrollSnapList}function z(){return y.scrollProgress.get(y.offsetLocation.get())}function se(){return y.index.get()}function te(){return y.indexPrevious.get()}function le(){return y.slidesInView.get()}function ie(){return y.slidesInView.get(!1)}function ke(){return S}function Le(){return y}function oe(){return e}function Re(){return N}function Ye(){return k}const Fe={canScrollNext:K,canScrollPrev:P,containerNode:Re,internalEngine:Le,destroy:W,off:m,on:h,emit:w,plugins:ke,previousScrollSnap:te,reInit:g,rootNode:oe,scrollNext:Q,scrollPrev:Z,scrollProgress:z,scrollSnapList:A,scrollTo:L,selectedScrollSnap:se,slideNodes:Ye,slidesInView:le,slidesNotInView:ie};return M(t,n),setTimeout(()=>
198c.emit("init"),0),Fe}bu.globalOptions=void 0;function fg(e={},t=[]){const n=x.useRef(e),r=x.useRef(t),[s,i]=x.useState(),[o,a]=x.useState(),c=x.useCallback(()=>{s&&s.reInit(n.current,r.current)},[s]);return x.useEffect(()=>{lg(n.current,e)||(n.current=e,c())},[e,c]),x.useEffect(()=>{gL(r.current,t)||(r.current=t,c())},[t,c]),x.useEffect(()=>{if(pL()&&o){bu.globalOptions=fg.globalOptions;const u=bu(o,n.current,r.current);return i(u),()=>u.destroy()}else i(void 0)},[o,i]),[a,s]}fg.globalOptions=void 0;const P2=x.createContext(null);function cd(){const e=x.useContext(P2);if(!e)throw new Error("useCarousel must be used within a <Carousel />");return e}const _2=x.forwardRef(({orientation:e="horizontal",opts:t,setApi:n,plugins:r,className:s,children:i,...o},a)=>{const[c,u]=fg({...t,axis:e==="horizontal"?"x":"y"},r),[d,f]=x.useState(!1),[h,m]=x.useState(!1),w=x.useCallback(p=>{p&&(f(p.canScrollPrev()),m(p.canScrollNext()))},[]),g=x.useCallback(()=>{u==null||u.scrollPrev()},[u]),b=x.useCallback(()=>{u==null||u.scrollNext()},[u]),y=x.useCallback(p=>{p.key==="ArrowLeft"?(p.preventDefault(),g()):p.key==="ArrowRight"&&(p.preventDefault(),b())},[g,b]);return x.useEffect(()=>{!u||!n||n(u)},[u,n]),x.useEffect(()=>{if(u)return w(u),u.on("reInit",w),u.on("select",w),()=>{u==null||u.off("select",w)}},[u,w]),l.jsx(P2.Provider,{value:{carouselRef:c,api:u,opts:t,orientation:e||((t==null?void 0:t.axis)==="y"?"vertical":"horizontal"),scrollPrev:g,scrollNext:b,canScrollPrev:d,canScrollNext:h},children:l.jsx("div",{ref:a,onKeyDownCapture:y,className:Ne("relative",s),role:"region","aria-roledescription":"carousel",...o,children:i})})});_2.displayName="Carousel";const A2=x.forwardRef(({className:e,...t},n)=>{const{carouselRef:r,orientation:s}=cd();return l.jsx("div",{ref:r,className:"overflow-hidden",children:l.jsx("div",{ref:n,className:Ne("flex",s==="horizontal"?"-ml-4":"-mt-4 flex-col",e),...t})})});A2.displayName="CarouselContent";const Ht=x.forwardRef(({className:e,...t},n)=>{const{orientation:r}=cd();return l.jsx("div",{ref:n,role:"group","aria-roledescription":"slide",className:Ne("min-w-0 shrink-0 grow-0 basis-full",r==="horizontal"?"pl-4":"pt-4",e),...t})});Ht.displayName="CarouselItem";const R2=x.forwardRef(({className:e,variant:t="outline",size:n="icon",...r},s)=>{const{orientation:i,scrollPrev:o,canScrollPrev:a}=cd();return l.jsxs(Oe,{ref:s,variant:t,size:n,className:Ne("absolute h-8 w-8 rounded-full",i==="horizontal"?"-left-12 top-1/2 -translate-y-1/2":"-top-12 left-1/2 -translate-x-1/2 rotate-90",e),disabled:!a,onClick:o,...r,children:[l.jsx(I1,{className:"h-4 w-4"}),l.jsx("span",{className:"sr-only",children:"Previous slide"})]})});R2.displayName="CarouselPrevious";const I2=x.forwardRef(({className:e,variant:t="outline",size:n="icon",...r},s)=>{const{orientation:i,scrollNext:o,canScrollNext:a}=cd();return l.jsxs(Oe,{ref:s,variant:t,size:n,className:Ne("absolute h-8 w-8 rounded-full",i==="horizontal"?"-right-12 top-1/2 -translate-y-1/2":"-bottom-12 left-1/2 -translate-x-1/2 rotate-90",e),disabled:!a,onClick:o,...r,children:[l.jsx(M1,{className:"h-4 w-4"}),l.jsx("span",{className:"sr-only",children:"Next slide"})]})});I2.displayName="CarouselNext";var vf="focusScope.autoFocusOnMount",xf="focusScope.autoFocusOnUnmount",$x={bubbles:!1,cancelable:!0},YL="FocusScope",M2=x.forwardRef((e,t)=>{const{loop:n=!1,trapped:r=!1,onMountAutoFocus:s,onUnmountAutoFocus:i,...o}=e,[a,c]=x.useState(null),u=pr(s),d=pr(i),f=x.useRef(null),h=Vt(t,g=>c(g)),m=x.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;x.useEffect(()=>{if(r){let g=function(v){if(m.paused||!a)return;const j=v.target;a.contains(j)?f.current=j:Yr(f.current,{select:!0})},b=function(v){if(m.paused||!a)return;const j=v.relatedTarget;j!==null&&(a.contains(j)||Yr(f.current,{select:!0}))},y=function(v){if(document.activeElement===document.body)for(const S of v)S.removedNodes.length>0&&Yr(a)};document.addEventListener("focusin",g),document.addEventListener("focusout",b);const p=new MutationObserver(y);return a&&p.observe(a,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",g),document.removeEventListener("focusout",b),p.disconnect()}}},[r,a,m.paused]),x.useEffect(()=>{if(a){zx.add(m);const g=document.activeElement;if(!a.contains(g)){const y=new CustomEvent(vf,$x);a.addEventListener(vf,u),a.dispatchEvent(y),y.defaultPrevented||(ZL(e3(O2(a)),{select:!0}),document.activeElement===g&&Yr(a))}return()=>{a.removeEventListener(vf,u),setTimeout(()=>{const y=new CustomEvent(xf,$x);a.addEventListener(xf,d),a.dispatchEvent(y),y.defaultPrevented||Yr(g??document.body,{select:!0}),a.removeEventListener(xf,d),zx.remove(m)},0)}}},[a,u,d,m]);const w=x.useCallback(g=>{if(!n&&!r||m.paused)return;const b=g.key==="Tab"&&!g.altKey&&!g.ctrlKey&&!g.metaKey,y=document.activeElement;if(b&&y){const p=g.currentTarget,[v,j]=qL(p);v&&j?!g.shiftKey&&y===j?(g.preventDefault(),n&&Yr(v,{select:!0})):g.shiftKey&&y===v&&(g.preventDefault(),n&&Yr(j,{select:!0})):y===p&&g.preventDefault()}},[n,r,m.paused]);return l.jsx(st.div,{tabIndex:-1,...o,ref:h,onKeyDown:w})});M2.displayName=YL;function ZL(e,{select:t=!1}={}){const n=document.activeElement;for(const r of e)if(Yr(r,{select:t}),document.activeElement!==n)return}function qL(e){const t=O2(e),n=Bx(t,e),r=Bx(t.reverse(),e);return[n,r]}function O2(e){const t=[],n=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:r=>{const s=r.tagName==="INPUT"&&r.type==="hidden";return r.disabled||r.hidden||s?NodeFilter.FILTER_SKIP:r.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;n.nextNode();)t.push(n.currentNode);return t}function Bx(e,t){for(const n of e)if(!QL(n,{upTo:t}))return n}function QL(e,{upTo:t}){if(getComputedStyle(e).visibility==="hidden")return!0;for(;e;){if(t!==void 0&&e===t)return!1;if(getComputedStyle(e).display==="none")return!0;e=e.parentElement}return!1}function XL(e){return e instanceof HTMLInputElement&&"select"in e}function Yr(e,{select:t=!1}={}){if(e&&e.focus){const n=document.activeElement;e.focus({preventScroll:!0}),e!==n&&XL(e)&&t&&e.select()}}var zx=JL();function JL(){let e=[];return{add(t){const n=e[0];t!==n&&(n==null||n.pause()),e=Ux(e,t),e.unshift(t)},remove(t){var n;e=Ux(e,t),(n=e[0])==null||n.resume()}}}function Ux(e,t){const n=[...e],r=n.indexOf(t);return r!==-1&&n.splice(r,1),n}function e3(e){return e.filter(t=>t.tagName!=="A")}var wf=0;function t3(){x.useEffect(()=>{const e=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",e[0]??Hx()),document.body.insertAdjacentElement("beforeend",e[1]??Hx()),wf++,()=>{wf===1&&document.querySelectorAll("[data-radix-focus-guard]").forEach(t=>t.remove()),wf--}},[])}function Hx(){const e=document.createElement("span");return e.setAttribute("data-radix-focus-guard",""),e.tabIndex=0,e.style.outline="none",e.style.opacity="0",e.
vendor: 5,651 bytes, lines 198-213
198style.position="fixed",e.style.pointerEvents="none",e}var or=function(){return or=Object.assign||function(t){for(var n,r=1,s=arguments.length;r<s;r++){n=arguments[r];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i])}return t},or.apply(this,arguments)};function D2(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var s=0,r=Object.getOwnPropertySymbols(e);s<r.length;s++)t.indexOf(r[s])<0&&Object.prototype.propertyIsEnumerable.call(e,r[s])&&(n[r[s]]=e[r[s]]);return n}function n3(e,t,n){if(n||arguments.length===2)for(var r=0,s=t.length,i;r<s;r++)(i||!(r in t))&&(i||(i=Array.prototype.slice.call(t,0,r)),i[r]=t[r]);return e.concat(i||Array.prototype.slice.call(t))}var Ic="right-scroll-bar-position",Mc="width-before-scroll-bar",r3="with-scroll-bars-hidden",s3="--removed-body-scroll-bar-size";function bf(e,t){return typeof e=="function"?e(t):e&&(e.current=t),e}function i3(e,t){var n=x.useState(function(){return{value:e,callback:t,facade:{get current(){return n.value},set current(r){var s=n.value;s!==r&&(n.value=r,n.callback(r,s))}}}})[0];return n.callback=t,n.facade}var o3=typeof window<"u"?x.useLayoutEffect:x.useEffect,Wx=new WeakMap;function a3(e,t){var n=i3(null,function(r){return e.forEach(function(s){return bf(s,r)})});return o3(function(){var r=Wx.get(n);if(r){var s=new Set(r),i=new Set(e),o=n.current;s.forEach(function(a){i.has(a)||bf(a,null)}),i.forEach(function(a){s.has(a)||bf(a,o)})}Wx.set(n,e)},[e]),n}function l3(e){return e}function c3(e,t){t===void 0&&(t=l3);var n=[],r=!1,s={read:function(){if(r)throw new Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return n.length?n[n.length-1]:e},useMedium:function(i){var o=t(i,r);return n.push(o),function(){n=n.filter(function(a){return a!==o})}},assignSyncMedium:function(i){for(r=!0;n.length;){var o=n;n=[],o.forEach(i)}n={push:function(a){return i(a)},filter:function(){return n}}},assignMedium:function(i){r=!0;var o=[];if(n.length){var a=n;n=[],a.forEach(i),o=n}var c=function(){var d=o;o=[],d.forEach(i)},u=function(){return Promise.resolve().then(c)};u(),n={push:function(d){o.push(d),u()},filter:function(d){return o=o.filter(d),n}}}};return s}function u3(e){e===void 0&&(e={});var t=c3(null);return t.options=or({async:!0,ssr:!1},e),t}var L2=function(e){var t=e.sideCar,n=D2(e,["sideCar"]);if(!t)throw new Error("Sidecar: please provide `sideCar` property to import the right car");var r=t.read();if(!r)throw new Error("Sidecar medium not found");return x.createElement(r,or({},n))};L2.isSideCarExport=!0;function d3(e,t){return e.useMedium(t),L2}var F2=u3(),jf=function(){},ud=x.forwardRef(function(e,t){var n=x.useRef(null),r=x.useState({onScrollCapture:jf,onWheelCapture:jf,onTouchMoveCapture:jf}),s=r[0],i=r[1],o=e.forwardProps,a=e.children,c=e.className,u=e.removeScrollBar,d=e.enabled,f=e.shards,h=e.sideCar,m=e.noRelative,w=e.noIsolation,g=e.inert,b=e.allowPinchZoom,y=e.as,p=y===void 0?"div":y,v=e.gapMode,j=D2(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noRelative","noIsolation","inert","allowPinchZoom","as","gapMode"]),S=h,N=a3([n,t]),k=or(or({},j),s);return x.createElement(x.Fragment,null,d&&x.createElement(S,{sideCar:F2,removeScrollBar:u,shards:f,noRelative:m,noIsolation:w,inert:g,setCallbacks:i,allowPinchZoom:!!b,lockRef:n,gapMode:v}),o?x.cloneElement(x.Children.only(a),or(or({},k),{ref:N})):x.createElement(p,or({},k,{className:c,ref:N}),a))});ud.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1};ud.classNames={fullWidth:Mc,zeroRight:Ic};var f3=function(){if(typeof __webpack_nonce__<"u")return __webpack_nonce__};function h3(){if(!document)return null;var e=document.createElement("style");e.type="text/css";var t=f3();return t&&e.setAttribute("nonce",t),e}function m3(e,t){e.styleSheet?e.styleSheet.cssText=t:e.appendChild(document.createTextNode(t))}function p3(e){var t=document.head||document.getElementsByTagName("head")[0];t.appendChild(e)}var g3=function(){var e=0,t=null;return{add:function(n){e==0&&(t=h3())&&(m3(t,n),p3(t)),e++},remove:function(){e--,!e&&t&&(t.parentNode&&t.parentNode.removeChild(t),t=null)}}},y3=function(){var e=g3();return function(t,n){x.useEffect(function(){return e.add(t),function(){e.remove()}},[t&&n])}},V2=function(){var e=y3(),t=function(n){var r=n.styles,s=n.dynamic;return e(r,s),null};return t},v3={left:0,top:0,right:0,gap:0},Sf=function(e){return parseInt(e||"",10)||0},x3=function(e){var t=window.getComputedStyle(document.body),n=t[e==="padding"?"paddingLeft":"marginLeft"],r=t[e==="padding"?"paddingTop":"marginTop"],s=t[e==="padding"?"paddingRight":"marginRight"];return[Sf(n),Sf(r),Sf(s)]},w3=function(e){if(e===void 0&&(e="margin"),typeof window>"u")return v3;var t=x3(e),n=document.documentElement.clientWidth,r=window.innerWidth;return{left:t[0],top:t[1],right:t[2],gap:Math.max(0,r-n+t[2]-t[0])}},b3=V2(),to="data-scroll-locked",j3=function(e,t,n,r){var s=e.left,i=e.top,o=e.right,a=e.gap;return n===void 0&&(n="margin"),`
199  .`.concat(r3,` {
200   overflow: hidden `).concat(r,`;
201   padding-right: `).concat(a,"px ").concat(r,`;
202  }
203  body[`).concat(to,`] {
204    overflow: hidden `).concat(r,`;
205    overscroll-behavior: contain;
206    `).concat([t&&"position: relative ".concat(r,";"),n==="margin"&&`
207    padding-left: `.concat(s,`px;
208    padding-top: `).concat(i,`px;
209    padding-right: `).concat(o,`px;
210    margin-left:0;
211    margin-top:0;
212    margin-right: `).concat(a,"px ").concat(r,`;
213    `),n==="padding"&&"padding-right: ".concat(a,"px ").concat(r,";
213")].filter(Boolean).join(""),`
214  }
215  
216  .`).concat(Ic,` {
217    right: `).concat(a,"px ").concat(r,`;
218  }
219  
220  .`).concat(Mc,` {
221    margin-right: `).concat(a,"px ").concat(r,`;
222  }
223  
224  .`).concat(Ic," .").concat(Ic,` {
225    right: 0 `).concat(r,`;
226  }
227  
228  .`).concat(Mc," .").concat(Mc,` {
229    margin-right: 0 `).concat(r,`;
230  }
231  
232  body[`).concat(to,`] {
233    `).concat(s3,": ").concat(a,`px;
234  }
235`)},Kx=function(){var e=parseInt(document.body.getAttribute(to)||"0",10);return isFinite(e)?e:0},S3=function(){x.useEffect(function(){return document.body.setAttribute(to,(Kx()+1).toString()),function(){var e=Kx()-1;e<=0?document.body.removeAttribute(to):document.body.setAttribute(to,e.toString())}},[])},C3=function(e){var t=e.noRelative,n=e.noImportant,r=e.gapMode,s=r===void 0?"margin":r;S3();var i=x.useMemo(function(){return w3(s)},[s]);return x.createElement(b3,{styles:j3(i,!t,s,n?"":"!important")})},um=!1;if(typeof window<"u")try{var sc=Object.defineProperty({},"passive",{get:function(){return um=!0,!0}});window.addEventListener("test",sc,sc),window.removeEventListener("test",sc,sc)}catch{um=!1}var vi=um?{passive:!1}:!1,N3=function(e){return e.tagName==="TEXTAREA"},$2=function(e,t){if(!(e instanceof Element))return!1;var n=window.getComputedStyle(e);return n[t]!=="hidden"&&!(n.overflowY===n.overflowX&&!N3(e)&&n[t]==="visible")},k3=function(e){return $2(e,"overflowY")},T3=function(e){return $2(e,"overflowX")},Gx=function(e,t){var n=t.ownerDocument,r=t;do{typeof ShadowRoot<"u"&&r instanceof ShadowRoot&&(r=r.host);var s=B2(e,r);if(s){var i=z2(e,r),o=i[1],a=i[2];if(o>a)return!0}r=r.parentNode}while(r&&r!==n.body);return!1},E3=function(e){var t=e.scrollTop,n=e.scrollHeight,r=e.clientHeight;return[t,n,r]},P3=function(e){var t=e.scrollLeft,n=e.scrollWidth,r=e.clientWidth;return[t,n,r]},B2=function(e,t){return e==="v"?k3(t):T3(t)},z2=function(e,t){return e==="v"?E3(t):P3(t)},_3=function(e,t){return e==="h"&&t==="rtl"?-1:1},A3=function(e,t,n,r,s){var i=_3(e,window.getComputedStyle(t).direction),o=i*r,a=n.target,c=t.contains(a),u=!1,d=o>0,f=0,h=0;do{if(!a)break;var m=z2(e,a),w=m[0],g=m[1],b=m[2],y=g-b-i*w;(w||y)&&B2(e,a)&&(f+=y,h+=w);var p=a.parentNode;a=p&&p.nodeType===Node.DOCUMENT_FRAGMENT_NODE?p.host:p}while(!c&&a!==document.body||c&&(t.contains(a)||t===a));return(d&&(Math.abs(f)<1||!s)||!d&&(Math.abs(h)<1||!s))&&(u=!0),u},ic=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},Yx=function(e){return[e.deltaX,e.deltaY]},Zx=function(e){return e&&"current"in e?e.current:e},R3=function(e,t){return e[0]===t[0]&&e[1]===t[1]},I3=function(e){return`
236  .block-interactivity-`.concat(e,` {pointer-events: none;}
237  .allow-interactivity-`).concat(e,` {pointer-events: all;}
238`)},M3=0,xi=[];function O3(e){var t=x.useRef([]),n=x.useRef([0,0]),r=x.useRef(),s=x.useState(M3++)[0],i=x.useState(V2)[0],o=x.useRef(e);x.useEffect(function(){o.current=e},[e]),x.useEffect(function(){if(e.inert){document.body.classList.add("block-interactivity-".concat(s));var g=n3([e.lockRef.current],(e.shards||[]).map(Zx),!0).filter(Boolean);return g.forEach(function(b){return b.classList.add("allow-interactivity-".concat(s))}),function(){document.body.classList.remove("block-interactivity-".concat(s)),g.forEach(function(b){return b.classList.remove("allow-interactivity-".concat(s))})}}},[e.inert,e.lockRef.current,e.shards]);var a=x.useCallback(function(g,b){if("touches"in g&&g.touches.length===2||g.type==="wheel"&&g.ctrlKey)return!o.current.allowPinchZoom;var y=ic(g),p=n.current,v="deltaX"in g?g.deltaX:p[0]-y[0],j="deltaY"in g?g.deltaY:p[1]-y[1],S,N=g.target,k=Math.abs(v)>Math.abs(j)?"h":"v";if("touches"in g&&k==="h"&&N.type==="range")return!1;var T=Gx(k,N);if(!T)return!0;if(T?S=k:(S=k==="v"?"h":"v",T=Gx(k,N)),!T)return!1;if(!r.current&&"changedTouches"in g&&(v||j)&&(r.current=S),!S)return!0;var _=r.current||S;return A3(_,b,g,_==="h"?v:j,!0)},[]),c=x.useCallback(function(g){var b=g;if(!(!xi.length||xi[xi.length-1]!==i)){var y="deltaY"in b?Yx(b):ic(b),p=t.current.filter(function(S){return S.name===b.type&&(S.target===b.target||b.target===S.shadowParent)&&R3(S.delta,y)})[0];if(p&&p.should){b.cancelable&&b.preventDefault();return}
vendor: 4,333 bytes, line 238
238if(!p){var v=(o.current.shards||[]).map(Zx).filter(Boolean).filter(function(S){return S.contains(b.target)}),j=v.length>0?a(b,v[0]):!o.current.noIsolation;j&&b.cancelable&&b.preventDefault()}}},[]),u=x.useCallback(function(g,b,y,p){var v={name:g,delta:b,target:y,should:p,shadowParent:D3(y)};t.current.push(v),setTimeout(function(){t.current=t.current.filter(function(j){return j!==v})},1)},[]),d=x.useCallback(function(g){n.current=ic(g),r.current=void 0},[]),f=x.useCallback(function(g){u(g.type,Yx(g),g.target,a(g,e.lockRef.current))},[]),h=x.useCallback(function(g){u(g.type,ic(g),g.target,a(g,e.lockRef.current))},[]);x.useEffect(function(){return xi.push(i),e.setCallbacks({onScrollCapture:f,onWheelCapture:f,onTouchMoveCapture:h}),document.addEventListener("wheel",c,vi),document.addEventListener("touchmove",c,vi),document.addEventListener("touchstart",d,vi),function(){xi=xi.filter(function(g){return g!==i}),document.removeEventListener("wheel",c,vi),document.removeEventListener("touchmove",c,vi),document.removeEventListener("touchstart",d,vi)}},[]);var m=e.removeScrollBar,w=e.inert;return x.createElement(x.Fragment,null,w?x.createElement(i,{styles:I3(s)}):null,m?x.createElement(C3,{noRelative:e.noRelative,gapMode:e.gapMode}):null)}function D3(e){for(var t=null;e!==null;)e instanceof ShadowRoot&&(t=e.host,e=e.host),e=e.parentNode;return t}const L3=d3(F2,O3);var U2=x.forwardRef(function(e,t){return x.createElement(ud,or({},e,{ref:t,sideCar:L3}))});U2.classNames=ud.classNames;var F3=function(e){if(typeof document>"u")return null;var t=Array.isArray(e)?e[0]:e;return t.ownerDocument.body},wi=new WeakMap,oc=new WeakMap,ac={},Cf=0,H2=function(e){return e&&(e.host||H2(e.parentNode))},V3=function(e,t){return t.map(function(n){if(e.contains(n))return n;var r=H2(n);return r&&e.contains(r)?r:(console.error("aria-hidden",n,"in not contained inside",e,". Doing nothing"),null)}).filter(function(n){return!!n})},$3=function(e,t,n,r){var s=V3(t,Array.isArray(e)?e:[e]);ac[n]||(ac[n]=new WeakMap);var i=ac[n],o=[],a=new Set,c=new Set(s),u=function(f){!f||a.has(f)||(a.add(f),u(f.parentNode))};s.forEach(u);var d=function(f){!f||c.has(f)||Array.prototype.forEach.call(f.children,function(h){if(a.has(h))d(h);else try{var m=h.getAttribute(r),w=m!==null&&m!=="false",g=(wi.get(h)||0)+1,b=(i.get(h)||0)+1;wi.set(h,g),i.set(h,b),o.push(h),g===1&&w&&oc.set(h,!0),b===1&&h.setAttribute(n,"true"),w||h.setAttribute(r,"true")}catch(y){console.error("aria-hidden: cannot operate on ",h,y)}})};return d(t),a.clear(),Cf++,function(){o.forEach(function(f){var h=wi.get(f)-1,m=i.get(f)-1;wi.set(f,h),i.set(f,m),h||(oc.has(f)||f.removeAttribute(r),oc.delete(f)),m||f.removeAttribute(n)}),Cf--,Cf||(wi=new WeakMap,wi=new WeakMap,oc=new WeakMap,ac={})}},B3=function(e,t,n){n===void 0&&(n="data-aria-hidden");var r=Array.from(Array.isArray(e)?e:[e]),s=F3(e);return s?(r.push.apply(r,Array.from(s.querySelectorAll("[aria-live]"))),$3(r,s,n,"aria-hidden")):function(){return null}},dd="Dialog",[W2,N$]=vl(dd),[z3,Jn]=W2(dd),K2=e=>{const{__scopeDialog:t,children:n,open:r,defaultOpen:s,onOpenChange:i,modal:o=!0}=e,a=x.useRef(null),c=x.useRef(null),[u,d]=u1({prop:r,defaultProp:s??!1,onChange:i,caller:dd});return l.jsx(z3,{scope:t,triggerRef:a,contentRef:c,contentId:Qd(),titleId:Qd(),descriptionId:Qd(),open:u,onOpenChange:d,onOpenToggle:x.useCallback(()=>d(f=>!f),[d]),modal:o,children:n})};K2.displayName=dd;var G2="DialogTrigger",Y2=x.forwardRef((e,t)=>{const{__scopeDialog:n,...r}=e,s=Jn(G2,n),i=Vt(t,s.triggerRef);return l.jsx(st.button,{type:"button","aria-haspopup":"dialog","aria-expanded":s.open,"aria-controls":s.contentId,"data-state":pg(s.open),...r,ref:i,onClick:$e(e.onClick,s.onOpenToggle)})});Y2.displayName=G2;var hg="DialogPortal",[U3,Z2]=W2(hg,{forceMount:void 0}),q2=e=>{const{__scopeDialog:t,forceMount:n,children:r,container:s}=e,i=Jn(hg,t);return l.jsx(U3,{scope:t,forceMount:n,children:x.Children.map(r,o=>l.jsx(Po,{present:n||i.open,children:l.jsx(hp,{asChild:!0,container:s,children:o})}))})};q2.displayName=hg;var ju="DialogOverlay",Q2=x.forwardRef((e,t)=>{const n=Z2(ju,e.__scopeDialog),{forceMount:r=n.forceMount,...s}=e,i=Jn(ju,e.__scopeDialog);return i.modal?l.jsx(Po,{present:r||i.open,children:l.jsx(W3,{...s,ref:t})}):null});Q2.displayName=ju;var H3=Wa("DialogOverlay.RemoveScroll"),W3=x.forwardRef((e,t)=>
vendor: 4,980 bytes, lines 238-242
238{const{__scopeDialog:n,...r}=e,s=Jn(ju,n);return l.jsx(U2,{as:H3,allowPinchZoom:!0,shards:[s.contentRef],children:l.jsx(st.div,{"data-state":pg(s.open),...r,ref:t,style:{pointerEvents:"auto",...r.style}})})}),oi="DialogContent",X2=x.forwardRef((e,t)=>{const n=Z2(oi,e.__scopeDialog),{forceMount:r=n.forceMount,...s}=e,i=Jn(oi,e.__scopeDialog);return l.jsx(Po,{present:r||i.open,children:i.modal?l.jsx(K3,{...s,ref:t}):l.jsx(G3,{...s,ref:t})})});X2.displayName=oi;var K3=x.forwardRef((e,t)=>{const n=Jn(oi,e.__scopeDialog),r=x.useRef(null),s=Vt(t,n.contentRef,r);return x.useEffect(()=>{const i=r.current;if(i)return B3(i)},[]),l.jsx(J2,{...e,ref:s,trapFocus:n.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:$e(e.onCloseAutoFocus,i=>{var o;i.preventDefault(),(o=n.triggerRef.current)==null||o.focus()}),onPointerDownOutside:$e(e.onPointerDownOutside,i=>{const o=i.detail.originalEvent,a=o.button===0&&o.ctrlKey===!0;(o.button===2||a)&&i.preventDefault()}),onFocusOutside:$e(e.onFocusOutside,i=>i.preventDefault())})}),G3=x.forwardRef((e,t)=>{const n=Jn(oi,e.__scopeDialog),r=x.useRef(!1),s=x.useRef(!1);return l.jsx(J2,{...e,ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:i=>{var o,a;(o=e.onCloseAutoFocus)==null||o.call(e,i),i.defaultPrevented||(r.current||(a=n.triggerRef.current)==null||a.focus(),i.preventDefault()),r.current=!1,s.current=!1},onInteractOutside:i=>{var c,u;(c=e.onInteractOutside)==null||c.call(e,i),i.defaultPrevented||(r.current=!0,i.detail.originalEvent.type==="pointerdown"&&(s.current=!0));const o=i.target;((u=n.triggerRef.current)==null?void 0:u.contains(o))&&i.preventDefault(),i.detail.originalEvent.type==="focusin"&&s.current&&i.preventDefault()}})}),J2=x.forwardRef((e,t)=>{const{__scopeDialog:n,trapFocus:r,onOpenAutoFocus:s,onCloseAutoFocus:i,...o}=e,a=Jn(oi,n),c=x.useRef(null),u=Vt(t,c);return t3(),l.jsxs(l.Fragment,{children:[l.jsx(M2,{asChild:!0,loop:!0,trapped:r,onMountAutoFocus:s,onUnmountAutoFocus:i,children:l.jsx(Yu,{role:"dialog",id:a.contentId,"aria-describedby":a.descriptionId,"aria-labelledby":a.titleId,"data-state":pg(a.open),...o,ref:u,onDismiss:()=>a.onOpenChange(!1)})}),l.jsxs(l.Fragment,{children:[l.jsx(Y3,{titleId:a.titleId}),l.jsx(q3,{contentRef:c,descriptionId:a.descriptionId})]})]})}),mg="DialogTitle",eC=x.forwardRef((e,t)=>{const{__scopeDialog:n,...r}=e,s=Jn(mg,n);return l.jsx(st.h2,{id:s.titleId,...r,ref:t})});eC.displayName=mg;var tC="DialogDescription",nC=x.forwardRef((e,t)=>{const{__scopeDialog:n,...r}=e,s=Jn(tC,n);return l.jsx(st.p,{id:s.descriptionId,...r,ref:t})});nC.displayName=tC;var rC="DialogClose",sC=x.forwardRef((e,t)=>{const{__scopeDialog:n,...r}=e,s=Jn(rC,n);return l.jsx(st.button,{type:"button",...r,ref:t,onClick:$e(e.onClick,()=>s.onOpenChange(!1))})});sC.displayName=rC;function pg(e){return e?"open":"closed"}var iC="DialogTitleWarning",[k$,oC]=eE(iC,{contentName:oi,titleName:mg,docsSlug:"dialog"}),Y3=({titleId:e})=>{const t=oC(iC),n=`\`${t.contentName}\` requires a \`${t.titleName}\` for the component to be accessible for screen reader users.
239
240If you want to hide the \`${t.titleName}\`, you can wrap it with our VisuallyHidden component.
241
242For more information, see https://radix-ui.com/primitives/docs/components/${t.docsSlug}`;return x.useEffect(()=>{e&&(document.getElementById(e)||console.error(n))},[n,e]),null},Z3="DialogDescriptionWarning",q3=({contentRef:e,descriptionId:t})=>{const r=`Warning: Missing \`Description\` or \`aria-describedby={undefined}\` for {${oC(Z3).contentName}}.`;return x.useEffect(()=>{var i;const s=(i=e.current)==null?void 0:i.getAttribute("aria-describedby");t&&s&&(document.getElementById(t)||console.warn(r))},[r,e,t]),null},Q3=K2,X3=Y2,J3=q2,aC=Q2,lC=X2,cC=eC,uC=nC,e5=sC;const t5=Q3,n5=X3,r5=J3,dC=x.forwardRef(({className:e,...t},n)=>l.jsx(aC,{className:Ne("fixed inset-0 z-50 bg-black/80 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",e),...t,ref:n}));dC.displayName=aC.displayName;const s5=Qu("fixed z-50 gap-4 bg-background p-6 shadow-lg transition ease-in-out data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:duration-300 data-[state=open]:duration-500",{variants:{side:{top:"inset-x-0 top-0 border-b data-[state=closed]:slide-out-to-top data-[state=open]:slide-in-from-top",bottom:"inset-x-0 bottom-0 border-t data-[state=closed]:slide-out-to-bottom data-[state=open]:slide-in-from-bottom",left:"inset-y-0 left-0 h-full w-3/4 border-r data-[state=closed]:slide-out-to-left data-[state=open]:slide-in-from-left sm:max-w-sm",right:"inset-y-0 right-0 h-full w-3/4  border-l data-[state=closed]:slide-out-to-right data-[state=open]:slide-in-from-right sm:max-w-sm"}},defaultVariants:{side:"right"}}),fC=x.forwardRef(({side:e="right",className:t,children:n,...r},s)=>l.jsxs(r5,{children:[l.jsx(dC,{}),l.jsxs(lC,{ref:s,className:Ne(s5({side:e}),t),...r,children:[n,l.jsxs(e5,{className:"absolute right-4 top-4 roun
242ded-sm opacity-70 ring-offset-background transition-opacity data-[state=open]:bg-secondary hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none",children:[l.jsx(V1,{className:"h-4 w-4"}),l.jsx("span",{className:"sr-only",children:"Close"})]})]})]}));fC.displayName=lC.displayName;const i5=x.forwardRef(({className:e,...t},n)=>l.jsx(cC,{ref:n,className:Ne("text-lg font-semibold text-foreground",e),...t}));i5.displayName=cC.displayName;const o5=x.forwardRef(({className:e,...t},n)=>l.jsx(uC,{ref:n,className:Ne("text-sm text-muted-foreground",e),...t}));o5.displayName=uC.displayName;const hC="/assets/agripass-logo-new-Cg8RQ37U.png",un=()=>{const[e,t]=x.useState(!1),n=Bj(),r=fi(),s=i=>{if(r.pathname!=="/")n("/"),setTimeout(()=>{const o=document.getElementById(i);o&&o.scrollIntoView({behavior:"smooth"})},300);else{const o=document.getElementById(i);o&&o.scrollIntoView({behavior:"smooth"})}t(!1)};return l.jsx("header",{className:"fixed top-0 left-0 right-0 z-50 bg-background/95 backdrop-blur-sm border-b border-border",children:l.jsxs("nav",{className:"container mx-auto px-4 py-4 flex items-center justify-between",children:[l.jsx(zn,{to:"/",className:"flex items-center hover:opacity-80 transition-opacity",children:l.jsx("img",{src:hC,alt:"Agripass",className:"h-20 md:h-28"})}),l.jsxs("div",{className:"hidden md:flex items-center gap-8",children:[l.jsx("button",{onClick:()=>s("home"),className:"text-sm font-medium transition-colors text-foreground hover:text-primary",children:"Home"}),l.jsx("button",{onClick:()=>s("solutions"),className:"text-sm font-medium transition-colors text-foreground hover:text-primary",children:"See How RHIC Works"}),l.jsx("button",{onClick:()=>s("benefits"),className:"text-sm font-medium transition-colors text-foreground hover:text-primary",children:"Benefits"}),l.jsx("button",{onClick:()=>s("testimonials"),className:"text-sm font-medium transition-colors text-foreground hover:text-primary",children:"Testimonials"}),l.jsx("button",{onClick:()=>s("team"),className:"text-sm font-medium transition-colors text-foreground hover:text-primary",children:"Team"}),l.jsx("button",{onClick:()=>s("news"),className:"text-sm font-medium transition-colors text-foreground hover:text-primary",children:"News & Events"}),l.jsx(zn,{to:"/investor-relations",className:"text-sm font-medium transition-colors text-foreground hover:text-primary",children:"Investor Relations"}),l.jsx(zn,{to:"/careers",className:"text-sm font-medium transition-colors text-foreground hover:text-primary",children:"Careers"}),l.jsx(Oe,{asChild:!0,className:"text-base px-6 py-5 h-auto",children:l.jsx(zn,{to:"/contact",children:"Meet Us"})})]}),l.jsxs(t5,{open:e,onOpenChange:t,children:[l.jsx(n5,{asChild:!0,className:"md:hidden",children:l.jsx(Oe,{variant:"ghost",size:"icon",children:l.jsx(eP,{className:"h-6 w-6"})})}),l.jsx(fC,{children:l.jsxs("div",{className:"flex flex-col gap-4 mt-8",children:[l.jsx("button",{onClick:()=>s("home"),className:"text-left text-lg font-medium transition-colors text-foreground hover:text-primary",children:"Home"}),l.jsx("button",{onClick:()=>s("solutions"),className:"text-left text-lg font-medium transition-colors text-foreground hover:text-primary",children:"See How RHIC Works"}),l.jsx("button",{onClick:()=>s("benefits"),className:"text-left text-lg font-medium transition-colors text-foreground hover:text-primary",children:"Benefits"}),l.jsx("button",{onClick:()=>s("testimonials"),className:"text-left text-lg font-medium transition-colors text-foreground hover:text-primary",children:"Testimonials"}),l.jsx("button",{onClick:()=>s("team"),className:"text-left text-lg font-medium transition-colors text-foreground hover:text-primary",children:"Team"}),l.jsx("button",{onClick:()=>s("news"),className:"text-left text-lg font-medium transition-colors text-foreground hover:text-primary",children:"News & Events"}),l.jsx(zn,{to:"/investor-relations",onClick:()=>t(!1),className:"text-left text-lg font-medium transition-colors text-foreground hover:text-primary",children:"Investor Relations"}),l.jsx(zn,{to:"/careers",onClick:()=>t(!1),className:"text-left text-lg font-medium transition-colors text-foreground hover:text-primary",children:"Careers"}),l.jsx(Oe,{asChild:!0,className:"mt-4 text-base px-6 py-5 h-auto",children:l.jsx(zn,{to:"/contact",onClick:()=>t(!1),children:"Meet Us"})})]})})]})]})})},dn=()=>l.jsx("footer",{className:"bg-muted border-t border-border",children:l.jsxs("div",{className:"container mx-auto px-4 py-12",children:[l.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-4 gap-8",children:[l.jsxs("div",{children:[l.jsx("div",{className:"mb-4",children:l.jsx("img",{src:hC,alt:"Agripass",className:"h-12 md:h-14"})}),l.jsx("p",{className:"text-sm text-muted-foreground",children:"Innovating sustainable farming through human-inspired robotic cultivation"})]}),l.jsxs("div",{children:[l.jsx("h3",{className:"font-semibold mb-4",children:"Qu
242ick Links"}),l.jsxs("ul",{className:"space-y-2 text-sm",children:[l.jsx("li",{children:l.jsx("a",{href:"/",className:"text-muted-foreground hover:text-primary transition-colors",children:"Home"})}),l.jsx("li",{children:l.jsx("a",{href:"/how-it-works",className:"text-muted-foreground hover:text-primary transition-colors",children:"How It Works"})}),l.jsx("li",{children:l.jsx("a",{href:"/benefits",className:"text-muted-foreground hover:text-primary transition-colors",children:"Benefits"})}),l.jsx("li",{children:l.jsx("a",{href:"/testimonials",className:"text-muted-foreground hover:text-primary transition-colors",children:"Testimonials"})}),l.jsx("li",{children:l.jsx("a",{href:"/media-kit",className:"text-muted-foreground hover:text-primary transition-colors",children:"Media Kit"})}),l.jsx("li",{children:l.jsx("a",{href:"/one-pager",className:"text-muted-foreground hover:text-primary transition-colors",children:"One Pager"})})]})]}),l.jsxs("div",{children:[l.jsx("h3",{className:"font-semibold mb-4",children:"Legal"}),l.jsxs("ul",{className:"space-y-2 text-sm",children:[l.jsx("li",{children:l.jsx("a",{href:"/terms-of-use",className:"text-muted-foreground hover:text-primary transition-colors",children:"Terms of Use"})}),l.jsx("li",{children:l.jsx("a",{href:"/privacy-policy",className:"text-muted-foreground hover:text-primary transition-colors",children:"Privacy Policy"})}),l.jsx("li",{children:l.jsx("a",{href:"/cookie-policy",className:"text-muted-foreground hover:text-primary transition-colors",children:"Cookie Policy"})})]})]}),l.jsxs("div",{children:[l.jsx("h3",{className:"font-semibold mb-4",children:"Contact"}),l.jsxs("ul",{className:"space-y-2 text-sm text-muted-foreground",children:[l.jsxs("li",{className:"flex items-center gap-2",children:[l.jsx(yp,{className:"w-4 h-4"}),l.jsx("a",{href:"mailto:[email protected]",className:"hover:text-primary transition-colors",children:"[email protected]"})]}),l.jsxs("li",{className:"flex items-center gap-2",children:[l.jsx(L1,{className:"w-4 h-4"}),l.jsx("span",{children:"1 (317) 313-0525"})]})]})]})]}),l.jsx("div",{className:"border-t border-border mt-8 pt-8 text-center text-sm text-muted-foreground",children:l.jsxs("p",{children:["© ",new Date().getFullYear()," Agripass. All rights reserved."]})})]})}),a5="/assets/hero-rhic-BRDdJSkp.jpg",l5="/assets/agripass-hero-logo-original-DY67og5x.png",c5="/assets/circle-rhic-video-DlxzzBm3.mp4",u5=1,d5="1a2f0f10-f0ec-44d7-95ee-2d65e7d442c6",f5="572102c2-c87e-4972-9713-b1ab1ae06f04",h5="/__l5e/assets-v1/1a2f0f
24210-f0ec-44d7-95ee-2d65e7d442c6/real-farmers-bg.jpeg",m5="a/v1/572102c2-c87e-4972-9713-b1ab1ae06f04/1a2f0f10-f0ec-44d7-95ee-2d65e7d442c6/real-farmers-bg.jpeg",p5="real-farmers-bg.jpeg",g5=3145131,y5="image/jpeg",v5="2026-06-02T13:06:44Z",x5={version:u5,asset_id:d5,project_id:f5,url:h5,r2_key:m5,original_filename:p5,size:g5,content_type:y5,created_at:v5},w5="/assets/how-it-works-hero-pss-aEwG.jpg",mC="/assets/bob-jones-CDbVSS72.png",pC="/assets/scott-park-D_wMkXog.png",gC="/assets/david-miller-BLhhma3p.png",yC="/assets/aries-haygood-BH34Wkbn.jpg",b5=1,j5="9019979c-36e2-4439-a784-0a2e65a32713",S5="572102c2-c87e-4972-9713-b1ab1ae06f04",C5="/__l5e/assets-v1/9019979c-36e2-4439-a784-0a2e65a32713/stephen-kraszewski.jpeg",N5="a/v1/572102c2-c87e-4972-9713-b1ab1ae06f04/9019979c-36e2-4439-a784-0a2e65a32713/stephen-kraszewski.jpeg",k5="stephen-kraszewski.jpeg",T5=667852,E5="image/jpeg",P5="2026-08-25T14:02:53Z",vC={version:b5,asset_id:j5,project_id:S5,url:C5,r2_key:N5,original_filename:k5,size:T5,content_type:E5,created_at:P5},_5="/assets/fyeld-logo-blue-C6uKHuPB.png",xC="/assets/regenup-logo-8QYVUft8.png",gg="/assets/e44-ventures-logo-CX-qz8RC.png",wC="/assets/nvidia-inception-new-CZKNgVD6.png",A5="/assets/harbor-venture-logo-CtoEqUus.png",R5="/assets/climate-solutions-prize-CcvMjFL2.jpg",I5="/assets/leading-woman-foodtech-Cmc7khpH.png",M5="/assets/agritechnica-2025-Be9SHmZq.jpg",O5="/assets/argentina-infocampo-BmO68l0J.jpeg",D5="/assets/florida-demos-Cp4jOU3g.jpg",L5="/assets/innovation-row-D1qaYTsd.png",F5="/assets/agronaut-podcast-TRRGlKN3.png",bC="/assets/crop-weed-identify-C1Y86u9e.png",V5="/assets/decides-mapping-DTBkWO-C.jpg",jC="/assets/acts-weeding-collage-CjajaZ7V.png",$5="/assets/team-header-new-CYXLx8Bl.png",B5="/assets/rhic-multi-crop-DRrIXncO.png",z5="/assets/rhic-effective-BmzGrKrK.jpeg",U5=1,H5="b885df27-dcb8-4747-b1cf-18bbe02d3ff6",W5="572102c2-c87e-4972-9713-b1ab1ae06f04",K5="/__l5e/assets-v1/b885df27-dcb8-4747-b1cf-18bbe02d3ff6/rhic-affordable.png",G5="a/v1/572102c2-c87e-4972-9713-b1ab1ae06f04/b885df27-dcb8-4747-b1cf-18bbe02d3ff6/rhic-affordable.png",Y5="rhic-affordable.png",Z5=2773113,q5="image/png",Q5="2026-06-02T13:16:13Z",X5={version:U5,asset_id:H5,project_id:W5,url:K5,r2_key:G5,original_filename:Y5,size:Z5,content_type:q5,created_at:Q5},J5=X5.url,e6=()=>l.jsx("section",{style:{background:"#f7f9f8"},children:l.jsxs("div",{style:{maxWidth:"1200px",margin:"0 auto",padding:"80px 24px",fontFamily:"system-ui,-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,sans-serif",color:"#0b2e22"},children:[l.jsx("h2",{className:"text-3xl md:text-4xl font-semibold",style:{textAlign:"center",marginBottom:"8px",color:"#0b2e22"},children:"Meet RHIC"}),l.jsxs("div",{style:{textAlign:"center",marginBottom:"64px"},children:[l.jsx("p",{style:{fontSize:"20px",fontWeight:700,color:"#4b6b60"},children:"Physical AI. Human Inspired"}),l.jsx("p",{style:{fontSize:"16px",color:"#4b6b60"},children:"Robot of Human Inspired Cultivation"})]}),l.jsxs("div",{style:{display:"grid",gridTemplateColumns:"repeat(auto-fit,minmax(320px,1fr))",gap:"32px"},children:[l.jsxs("div",{className:"group cursor-pointer",style:{background:"#ffffff",borderRadius:"20px",overflow:"hidden",boxShadow:"0 10px 30px rgba(0,0,0,0.08)",transition:"transform .3s ease, box-shadow .3s ease"},onMouseEnter:e=>{e.currentTarget.style.transform="translateY(-8px)",e.currentTarget.style.boxShadow="0 20px 40px rgba(0,0,0,0.15)"},onMouseLeave:e=>{e.currentTarget.style.transform="translateY(0)",e.currentTarget.style.boxShadow="0 10px 30px rgba(0,0,0,0.08)"},children:[l.jsxs("div",{className:"img-green-tone",style:{position:"relative",height:"260px",overflow:"hidden"},children:[l.jsx("img",{src:B5,alt:"RHIC working across multiple crop rows",style:{width:"100%",height:"100%",objectFit:"cover",transition:"transform .3s ease"},className:"group-hover:scale-105"}),l.jsx("div",{style:{position:"absolute",inset:0,background:"linear-gradient(to bottom,rgba(0,0,0,0) 55%,rgba(15,90,60,.65) 100%)"}})]}),l.jsxs("div",{style:{padding:"28px"},children:[l.jsx("h2",{style:{fontSize:"26px",marginBottom:"12px",color:"#0f5a3c"},children:"Multi-Crop"}),l.jsx("p",{style:{fontSize:"16px",lineHeight:1.6,color:"#355a4c"},children:"Advanced AI adapts to different crops, row spacing, and field layouts"})]})]}),l.jsxs("div",{className:"group cursor-pointer",style:{background:"#ffffff",borderRadius:"20px",overflow:"hidden",boxShadow:"0 10px 30px rgba(0,0,0,0.08)",transition:"transform .3s ease, box-shadow .3s ease"},onMouseEnter:e=>{e.currentTarget.style.transform="translateY(-8px)",e.currentTarget.style.boxShadow="0 20px 40px rgba(0,0,0,0.15)"},onMouseLeave:e=>{e.currentTarget.style.transform="translateY(0)",e.currentTarget.style.boxShadow="0 10px 30px rgba(0,0,0,0.08)"},children:[l.jsxs("div",{className:"img-green-tone",style:{position:"relative",height:"260px",overflow:"hidden"},children:[l.jsx("img",{src:z5,alt:"Farmers working alongside RHIC in the field",style:{width:"100%",height:"100%",objectFit:"cover",transition:"transform .3s ease"},className:"group-hover:scale-105"}),l.jsx("div",{style:{position:"absolute",inset:0,background:"linear-gradient(to bottom,rgba(0,0,0,0) 55%,rgba(15,90,60,.65) 100%)"}})]}),l.jsxs("div",{style:{padding:"28px"},children:[l.jsx("h2",{style:{fontSize:"26px",marginBottom:"12px",color:"#0f5a3c"},children:"Effective"}),l.jsx("p",{style:{fontSize:"16px",lineHeight:1.6,color:"#355a4c"},children:"Precision of an experienced farm hand with the speed of a robot"})]})]}),l.jsxs("div",{className:"group cursor-pointer",style:{background:"#ffffff",borderRadius:"20px",overflow:"hidden",boxShadow:"0 10px 30px rgba(0,0,0,0.08)",transition:"transform .3s ease, box-shadow .3s ease"},onMouseEnter:e=>{e.currentTarget.style.transform="translateY(-8px)",e.currentTarget.style.boxShadow="0 20px 40px rgba(0,0,0,0.15)"},onMouseLeave:e=>{e.currentTarget.style.transform="translateY(0)",e.currentTarget.style.boxShadow="0 10px 30px rgba(0,0,0,0.08)"},children:[l.jsxs("div",{className:"img-green-tone",style:{position:"relative",height:"260px",overflow:"hidden"},children:[l.jsx("img",{src:J5,alt:"Farmer standing next to RHIC robotic weeder",style:{width:"100%",height:"100%",objectFit:"cover",objectPosition:"center",transition:"transform .3s ease"},className:"group-hover:scale-105"}),l.jsx("div",{style:{position:"absolute",inset:0,background:"linear-gradient(to bottom,rgba(0,0,0,0) 55%,rgba(15,90,60,.65) 100%)"}})]}),l.jsxs("div",{style:{padding:"28px"},children:[l.jsx("h2",{style:{fontSize:"26px",marginBottom:"12px",color:"#0f5a3c"},children:"Affordable"}),l.jsx("p",{style:{fontSize:"16px",lineHeight:1.6,color:"#355a4c"},children:"Engineered for affordability and performance while reducing labor & chemical costs"})]})]})]})]})}),t6="/assets/workers-weeding-CItsrO7l.jpg",n6="/assets/rhic-field-action-WYD7FPBK.png";function r6(){const e=x.useRef(null),t=C2(e,{once:!0,amount:.5}
242),[n,r]=x.useState(0),[s,i]=x.useState(!1);return x.useEffect(()=>{if(!t)return;const o=setTimeout(()=>{i(!0);let a=0;const u=20/(800/16),d=setInterval(()=>{a+=u,a>=20?(r(20),clearInterval(d)):r(Math.round(a))},16);return()=>clearInterval(d)},2e3);return()=>clearTimeout(o)},[t]),l.jsx("section",{ref:e,className:"relative bg-background pb-20",children:l.jsxs("div",{className:"relative h-[70vh] w-full overflow-hidden",children:[l.jsx("div",{className:"absolute top-0 right-0 w-1/2 h-full",children:l.jsx("img",{src:n6,alt:"RHIC autonomous agricultural machine",className:"w-full h-full object-cover object-center"})}),l.jsxs(ne.div,{initial:{width:"100%"},animate:t?{width:"50%"}:{},transition:{duration:2,ease:"easeInOut"},className:"absolute top-0 left-0 h-full overflow-hidden z-[1]",children:[l.jsx("img",{src:t6,alt:"Skilled farm workers manually tending crops",className:"w-full h-full object-cover",style:{minWidth:"100vw"}}),l.jsx("div",{className:"absolute inset-0 bg-black/20"})]}),l.jsx(ne.div,{initial:{left:"100%"},animate:t?{left:"50%"}:{},transition:{duration:2,ease:"easeInOut"},className:"absolute top-0 h-full w-[3px] bg-white/90 shadow-[0_0_15px_rgba(255,255,255,0.5)] z-10"}),l.jsx("div",{className:"absolute inset-0 z-20 flex flex-col items-center justify-end pb-8 text-center px-6 pointer-events-none",children:l.jsxs(ne.div,{initial:{opacity:0}
242,animate:s?{opacity:1}:{},transition:{duration:.6},children:[l.jsxs("div",{className:"text-5xl md:text-7xl font-bold text-white drop-shadow-2xl",children:[n,"×"]}),l.jsx("div",{className:"uppercase tracking-wide text-sm md:text-base text-white/80 mt-2",children:"Human Output"})]})})]})})}const s6="/assets/overhead-agripass-Bx4fdX7C.jpg",i6="/assets/sdg-02-BBloluBi.png",o6="/assets/sdg-03-BehFylIf.png",a6="/assets/sdg-06-W0jpgTah.png",l6="/assets/sdg-13-KKYni0Nn.png",c6="/assets/sdg-15-DghaR9aD.png";function u6({target:e}){const t=x.useRef(null),n=C2(t,{once:!0}),[r,s]=x.useState(0);return x.useEffect(()=>{if(!n)return;let i=0;const a=e/(1200/16),c=setInterval(()=>{i+=a,i>=e?(s(e),clearInterval(c)):s(Math.ceil(i))},16);return()=>clearInterval(c)},[n,e]),l.jsx("span",{ref:t,children:r})}function lc({title:e,value:t,suffix:n="",prefix:r=""}){return l.jsxs(ne.div,{variants:{hidden:{opacity:0,y:30},show:{opacity:1,y:0}},children:[l.jsxs("div",{className:"text-3xl font-bold text-primary",children:[r,l.jsx(u6,{target:t}),n]}),l.jsx("p",{className:"text-muted-foreground mt-2",children:e})]})}const Ni={hidden:{opacity:0,y:40},show:{opacity:1,y:0,transition:{duration:.8}}},d6={hidden:{},show:{transition:{staggerChildren:.15}}},f6=[{id:"food-security",title:"Food Security",items:["Save $1000–$1500/Ha","Increase yield by +10–20%","Reduce labor dependency"],position:"top-[12%] left-[4%]"},{id:"soil-health",title:"Soil Health",items:["Replace herbicide & bulk tillage","Reduce soil disruption by 70%","Improve water retention by 20%"],position:"bottom-[8%] left-[4%]"},{id:"climate-smart",title:"Climate Smart",items:["Retain 0.3–0.5 tons CO₂/Ha/Year"],position:"top-[12%] right-[14%]"},{id:"healthy-food",title:"Healthy Food",items:["Eliminate herbicide residues","Enhance nutritional quality"],position:"bottom-[8%] right-[14%]"}],h6=[{d:"M 200 240 L 580 240 L 580 400",startX:200,startY:240,endX:580,endY:400},{d:"M 200 680 L 580 680 L 580 520",startX:200,startY:680,endX:580,endY:520},{d:"M 1120 240 L 820 240 L 820 400",startX:1120,startY:240,endX:820,endY:400},{d:"M 1120 680 L 820 680 L 820 520",startX:1120,startY:680,endX:820,endY:520}],m6=[{src:i6,alt:"SDG 2 - Zero Hunger"},{src:o6,alt:"SDG 3 - Good Health and Well-Being"},{src:a6,alt:"SDG 6 - Clean Water and Sanitation"},{src:l6,alt:"SDG 13 - Climate Action"},{src:c6,alt:"SDG 15 - Life on Land"}];function p6(){const e=x.useRef(null),[t,n]=x.useState(!1);return x.useEffect(()=>{const r=new IntersectionObserver(([s])=>{s.isIntersecting&&n(!0)},{threshold:.3});return e.current&&r.observe(e.current),()=>r.disconnect()},[]),l.jsxs("div",{className:"relative pb-20",children:[l.jsx("div",{className:"pt-0 pb-8 px-6 md:px-16 text-center",children:l.jsx(ne.h2,{variants:Ni,initial:"hidden",whileInView:"show",viewport:{once:!0},className:"text-3xl md:text-4xl font-semibold",children:"Sustainable Practices, Sustainable Business"})}),l.jsxs("div",{ref:e,className:`impact-section${t?" active":""}`,children:[l.jsx("div",{className:"impact-bg img-green-tone",children:l.jsx("img",{src:s6,alt:"RHIC aerial view in the field"})}),l.jsx("div",{className:"absolute inset-0 bg-black/30 z-[1]"}),l.jsxs("svg",{className:"connectors",viewBox:"0 0 1440 900",preserveAspectRatio:"none",children:[l.jsx("defs",{children:l.jsxs("filter",{id:"glow",children:[l.jsx("feGaussianBlur",{stdDeviation:"3",result:"coloredBlur"}),l.jsxs("feMerge",{children:[l.jsx("feMergeNode",{in:"coloredBlur"}),l.jsx("feMergeNode",{in:"SourceGraphic"})]})]})}),h6.map((r,s)=>l.jsxs("g",{filter:"url(#glow)",children:[l.jsx("path",{d:r.d,fill:"none",stroke:"white",strokeWidth:"2.5",strokeOpacity:"0.7"}),l.jsx("circle",{cx:r.startX,cy:r.startY,r:"6",fill:"white",fillOpacity:"0.9"}),l.jsx("circle",{cx:r.startX,cy:r.startY,r:"3",fill:"hsl(var(--primary))"}),l.jsx("circle",{cx:r.endX,cy:r.endY,r:"6",fill:"white",fillOpacity:"0.9"}),l.jsx("circle",{cx:r.endX,cy:r.endY,r:"3",fill:"hsl(var(--primary))"})]},s))]}),f6.map((r,s)=>l.jsxs("div",{className:`impact-card group ${r.position}`,style:{transitionDelay:`${s*.2}s`},children:[l.jsx("h3",{className:"text-lg md:text-xl font-bold text-white mb-1 cursor-default border-b border-dashed border-white/40 group-hover:border-white/80 inline-block pb-0.5 transition-colors duration-300",children:r.title}),l.jsx("div",{className:"max-h-0 overflow-hidden opacity-0 group-hover:max-h-40 group-hover:opacity-100 transition-all duration-300 ease-in-out",children:r.items.map((i,o)=>l.jsx("p",{className:"text-white/85 text-xs md:text-sm leading-relaxed",children:i},o))})]},r.id)),l.jsx("div",{className:"sdg-column",children:m6.map((r,s)=>l.jsx(ne.div,{initial:{opacity:0,x:40},animate:t?{opacity:1,x:0}:{},transition:{delay:.8+s*.15,duration:.5},whileHover:{scale:1.15,rotate:2},className:"sdg-img-icon",children:l.jsx("img",{src:r.src,alt:r.alt,className:"w-full h-full object-contain"})},r.alt))})]})]})}function SC(){return l.jsxs("section",{className:"w-full text-foreground overflow-hidden",children:[l.jsxs("div",{className:"relative py-16 px-6 md:px-16 bg-gradient-to-b from-muted to-background text-center",children:[l.jsx(ne.h2,{initial:"hidden",
242whileInView:"show",viewport:{once:!0},variants:Ni,className:"text-4xl md:text-5xl font-semibold mb-6",children:"Human-Inspired Cultivation, Scalable & Adaptable Field Intelligence"}),l.jsx(ne.p,{initial:"hidden",whileInView:"show",viewport:{once:!0},variants:Ni,className:"text-lg text-muted-foreground max-w-3xl mx-auto",children:"AgriPass's RHIC removes weeds using human-inspired action, delivering selective weeding without chemicals, preserving soil health while improving farm economics"}),l.jsxs(ne.div,{variants:d6,initial:"hidden",whileInView:"show",viewport:{once:!0},className:"grid grid-cols-2 md:grid-cols-4 gap-12 mt-12",children:[l.jsx(lc,{title:"Weed Removal",value:85,suffix:"%"}),l.jsx(lc,{title:"Less Soil Disturbance",value:70,suffix:"%"}),l.jsx(lc,{title:"Crop Integrity",value:97,prefix:">",suffix:"%"}),l.jsx(lc,{title:"Chemicals Used",value:0})]})]}),l.jsxs("div",{className:"pt-10 pb-4 px-6 md:px-16 text-center bg-background",children:[l.jsx(ne.h2,{variants:Ni,initial:"hidden",whileInView:"show",viewport:{once:!0},className:"text-3xl md:text-4xl font-semibold mb-4",children:"Not Mechanical, Human-Inspired"}),l.jsx(ne.p,{variants:Ni,initial:"hidden",whileInView:"show",viewport:{once:!0},className:"text-lg text-muted-foreground",children:"1 RHIC, 1 Operator: The Work of up to 20 skilled workers"})]}),l.jsx(r6,{}),l.jsx(p6,{}),l.jsxs("div",{className:"py-12 px-6 md:px-16 bg-background text-center border-t border-border",children:[l.jsx("h2",{className:"text-3xl md:text-4xl font-semibold mb-6",children:"Real Returns"}),l.jsxs("div",{className:"flex flex-wrap justify-center gap-16 text-foreground",children:[l.jsxs("div",{children:[l.jsx("div",{className:"text-2xl font-semibold",children:"80-85%"}),l.jsx("p",{className:"text-sm text-muted-foreground",children:"Weed Removal Efficiency"})]}),l.jsxs("div",{children:[l.jsx("div",{className:"text-2xl font-semibold",children:"10-20%"}),l.jsx("p",{className:"text-sm text-muted-foreground",children:"Yield Improvement"})]}),l.jsxs("div",{children:[l.jsx("div",{className:"text-2xl font-semibold",children:"1-2 Seasons"}),l.jsx("p",{className:"text-sm text-muted-foreground",children:"Typical ROI Timeline"})]})]})]}),l.jsxs("div",{className:"py-16 px-6 md:px-16 bg-muted text-center",children:[l.jsx(ne.h2,{variants:Ni,initial:"hidden",whileInView:"show",viewport:{once:!0},className:"text-3xl md:text-4xl font-semibold mb-10",children:"Ready to See RHIC in Action?"}),l.jsxs("div",{className:"flex flex-col md:flex-row justify-center gap-6 mt-6",children:[l.jsx(ne.a,{href:"/contact",whileHover:{scale:1.05},className:"bg-primary text-primary-foreground px-10 py-4 rounded-2xl shadow-lg hover:bg-primary/90 inline-block",children:"Book a Field Demo"}),l.jsx(ne.a,{href:"/investor-relations",whileHover:{scale:1.05},className:"border border-border px-10 py-4 rounded-2xl inline-block",children:"Investor Overview"})]})]})]})}const g6="/assets/how-it-works-field-bg-Bcj_7SHO.jpg",y6="/assets/farm-meeting-demo-days-ztsVUyts.jpg",v6="/assets/rhic-effective-BmzGrKrK.jpeg",x6=1,w6="1fe93baf-5ab8-410d-bb16-d47ddb519f5e",b6="572102c2-c87e-4972-9713-b1ab1ae06f04",j6="/__l5e/assets-v1/1fe93baf-5ab8-410d-bb16-d47ddb519f5e/farm-science-review.png",S6="a/v1/572102c2-c87e-4972-9713-b1ab1ae06f04/1fe93baf-5ab8-410d-bb16-d47ddb519f5e/farm-science-review.png",C6="farm-science-review.png",N6=1823843,k6="image/png",T6="2026-09-23T08:32:51Z",E6={version:x6,asset_id:w6,project_id:b6,url:j6,r2_key:S6,original_filename:C6,size:N6,content_type:k6,created_at:T6},P6=1,_6="81ae5a18-65f1-414c-be85-1e55e0422cdc",A6="572102c2-c87e-4972-9713-b1ab1ae06f04",R6="/__l5e/assets-v1/81ae5a18-65f1-414c-be85-1e55e0422cdc/slush-100.png",I6="a/v1/572102c2-c87e-4972-9713-b1ab1ae06f04/81ae5a18-65f1-414c-be85-1e55e0422cdc/slush-100.png",M6="slush-100.png",O6=534430,D6="image/png",L6="2026-09-23T08:36:24Z",F6={version:P6,asset_id:_6,project_id:A6,url:R6,r2_key:I6,original_filename:M6,size:O6,content_type:D6,created_at:L6},V6=1,$6="aaaffed1-d31f-478d-b5fe-088286a1a2a8",B6="572102c2-c87e-4972-9713-b1ab1ae06f04",z6="/__l5e/assets-v1/aaaffed1-d31f-478d-b5fe-088286a1a2a8/eima-come-meet.png",U6="a/v1/572102c2-c87e-4972-9713-b1ab1ae06f04/aaaffed1-d31f-478d-b5fe-088286a1a2a8/eima-come-meet.png",H6="eima-come-meet.png",W6=1719576,K6="image/png",G6="2026-09-23T09:15:17Z",Y6={version:V6,asset_id:$6,project_id:B6,url:z6,r2_key:U6,original_filename:H6,size:W6,content_type:K6,created_at:G6},Z6="/assets/agricon-2025-h9OGN5fB.png",q6="/assets/italy-expansion-C1sZ06EE.jpg",Q6=1,X6="c75e701f-c1e0-46cb-b943-db6ab9588839",J6="572102c2-c87e-4972-9713-b1ab1ae06f04",eF="/__l5e/assets-v1/c75e701f-c1e0-46cb-b943-db6ab9588839/italy-launch.mp4",tF="a/v1/572102c2-c87e-4972-9713-b1ab1ae06f04/c75e701f-c1e0-46cb-b943-db6ab9588839/italy-launch.mp4",nF="italy-launch.mp4",rF=12826107,sF="video/mp4",iF="2026-06-29T11:05:25Z",oF={version:Q6,asset_id:X6,project_id:J6,url:eF,r2_key:tF,original_filename:nF,size:rF,content_type:sF,created_at:iF},aF="/assets/israel21-boltwise-DgnitET8.png",lF="/assets/hack-summit-2025-BY62irCy.png",cF="/assets/ohio-produce-conference-B8dlbyk7.jpg",uF="/assets/itay-price-By4rhIQE.png",dF="/assets/liron-cohen-yanay-tS9-_Wl7.png",fF="/assets/yarden-goldwasser-Bwwz29Yc.png",hF="/assets/ofr
242i-gershon-JgU0_I6a.png",mF="/assets/tom-zrihen-C18rBQ6W.jpeg",pF="/assets/yehonatan-ben-david-CYABMFJp.png",gF="/assets/ido-malka-D_iifdj4.png",yF="/assets/amit-baum-Dl6Pck33.png",vF="/assets/klil-zaibert-CsUr8Cp0.png",xF="/assets/amanda-ditzler-eDn1nv0q.jpg",wF="/assets/benny-kosarnovsky-DtgaX2bh.jpg",bF=1,jF="e89a12fb-4f2f-4f46-a244-5906af245957",SF="572102c2-c87e-4972-9713-b1ab1ae06f04",CF="/__l5e/assets-v1/e89a12fb-4f2f-4f46-a244-5906af245957/lahav-barak.png",NF="a/v1/572102c2-c87e-4972-9713-b1ab1ae06f04/e89a12fb-4f2f-4f46-a244-5906af245957/lahav-barak.png",kF="lahav-barak.png",TF=54335,EF="image/png",PF="2026-06-02T13:22:35Z",_F={version:bF,asset_id:jF,project_id:SF,url:CF,r2_key:NF,original_filename:kF,size:TF,content_type:EF,created_at:PF},AF=1,RF="2944cb6a-6f26-42a5-8efa-f22d10850698",IF="572102c2-c87e-4972-9713-b1ab1ae06f04",MF="/__l5e/assets-v1/2944cb6a-6f26-42a5-8efa-f22d10850698/mor-alon-berg.png",OF="a/v1/572102c2-c87e-4972-9713-b1ab1ae06f04/2944cb6a-6f26-42a5-8efa-f22d10850698/mor-alon-berg.png",DF="mor-alon-berg.png",LF=62912,FF="image/png",VF="2026-06-02T13:24:06Z",$F={version:AF,asset_id:RF,project_id:IF,url:MF,r2_key:OF,original_filename:DF,size:LF,content_type:FF,created_at:VF},BF=1,zF="86d7d384-00ff-41a0-b9b8-6451f0d8c915",UF="572102c2-c87e-4972-9713-b1ab1ae06f04",HF="/__l5e/assets-v1/86d7d384-00ff-41a0-b9b8-6451f0d8c915/dor-erlich.png",WF="a/v1/572102c2-c87e-4972-9713-b1ab1ae06f04/86d7d384-00ff-41a0-b9b8-6451f0d8c915/dor-erlich.png",KF="dor-erlich.png",GF=282813,YF="image/png",ZF="2026-06-02T13:28:55Z",qF={version:BF,asset_id:zF,project_id:UF,url:HF,r2_key:WF,original_filename:KF,size:GF,content_type:YF,created_at:ZF},QF=1,XF="6c667055-0351-4687-9f44-c4614860be91",JF="572102c2-c87e-4972-9713-b1ab1ae06f04",eV="/__l5e/assets-v1/6c667055-0351-4687-9f44-c4614860be91/danielle-cadosh.png",tV="a/v1/572102c2-c87e-4972-9713-b1ab1ae06f04/6c667055-0351-4687-9f44-c4614860be91/danielle-cadosh.png",nV="danielle-cadosh.png",rV=250961,sV="image/png",iV="2026-06-02T13:30:54Z",oV={version:QF,asset_id:XF,project_id:JF,url:eV,r2_key:tV,original_filename:nV,size:rV,content_type:sV,created_at:iV},aV=1,lV="dd58ccde-4eac-48e2-9c4c-4e7626afe955",cV="572102c2-c87e-4972-9713-b1ab1ae06f04",uV="/__l5e/assets-v1/dd58ccde-4eac-48e2-9c4c-4e7626afe955/todd-conner.png",dV="a/v1/572102c2-c87e-4972-9713-b1ab1ae06f04/dd58ccde-4eac-48e2-9c4c-4e7626afe955/todd-conner.png",fV="todd-conner.png",hV=53928,mV="image/png",pV="2026-09-22T21:42:27Z",gV={version:aV,asset_id:lV,project_id:cV,url:uV,r2_key:dV,original_filename:fV,size:hV,content_type:mV,created_at:pV},yV="https://www.agripass.co",fn=({title:e,description:t,path:n})=>{const r=`${yV}${n}`;return l.jsxs(YT,{children:[l.jsx("title",{children:e}),l.jsx("meta",{name:"description",content:t}),l.jsx("link",{rel:"canonical",href:r}),l.jsx("meta",{property:"og:title",content:e}),l.jsx("meta",{property:"og:description",content:t}),l.jsx("meta",{property:"og:url",content:r}),l.jsx("meta",{property:"og:type",content:"website"}),l.jsx("meta",{name:"twitter:title",content:e}),l.jsx("meta",{name:"twitter:description",content:t})]})},cc={hidden:{opacity:0,y:30},visible:{opacity:1,y:0,transition:{duration:.6,ease:"easeOut"}}},vV=x5.url,xV=vC.url,wV=oF.url,bV=_F.url,jV=$F.url,SV=qF.url,CV=oV.url,NV=gV.url,kV=[{name:"Liron Yanay",role:"CEO",description:"Drives company vision, strategy, and partnerships with a focus on real-world agricultural impact",linkedin:"https://www.linkedin.com/in/liron-cohen-yanay/",photo:dF},{name:"Tom Zrihen",role:"Chief Operating Officer",description:"Leads operational strategy and execution, scaling the company's global footprint and field deployments",linkedin:"https://ch.linkedin.com/in/tomzrihen",photo:mF},{name:"Todd Conner",role:"Chief Commercial Officer",description:"Leads commercial strategy and grower partnerships, bringing RHIC to farms across the United States",linkedin:"",photo:NV,scale:1.1},{name:"Itay Price",role:"VP R&D",description:"Leads research and development, turning advanced technology into reliable field-ready solutions",linkedin:"https://www.linkedin.com/in/itay-price-319b912/",photo:uF},{name:"Yarden Goldwasser",role:"VP of Operations",description:"Oversees day-to-day operations, ensuring seamless execution from field deployment to scale",linkedin:"https://www.linkedin.com/in/yarden-goldwasser-217479183/",photo:fF},{name:"Ofri Gershon",role:"Head Agronomist",description:"Brings deep agronomic expertise to align technology with growers' needs in the field",linkedin:"https://www.linkedin.com/in/ofri-gerson-67b68411a/",photo:hF},{name:"Benny Kosarnovsky",role:"Robotics System Lead",description:"Designs and integrates robotic systems built to perform in tough agricultural environments",linkedin:"https://www.linkedin.com/in/benny-kosarnovsky-b19685b8/",photo:wF,objectPosition:"center 20%"},{name:"Dor Erlich",role:"Mechanical Engineer Lead",description:"Leads mechanical design and engineering of RHIC's field-ready hardware",linkedin:"https://www.linkedin.com/in/dor-erlich/",photo:SV,scale:1.15},{name:"Yehonatan Ben-David",role:"CV/AI Technical Lead",description:"Leads computer vision and AI development powering intelligent decision-making",linkedin:"https://www.linkedin.com/in/yehonatan-ben-david-75927229/",photo:pF},{name:"Ido Malka",role:"Field Operations Manager",description:"Manages field teams and deployments, bridging technology and on-the-ground execution",linkedin:"https://www.linkedin.com/in/ido-malka-4855a6198/",photo:gF},{name:"Amit Baum",role:"Italy Sales & Field Operations Manager",description:"Supports growers and partners across Italy, from onboarding to ongoing success",linkedin:"https://www.linkedin.com/in/amitbaum/",photo:yF},{name:"Danielle Cadosh",role:"Office and Human Resources Manager",description:"Runs office operations and people programs that keep the team thriving",linkedin:"https://www.linkedin.com/in/danielle-cadosh-882a60157/",photo:CV,scale:1.15},{name:"Amanda Ditzler",role:"Marketing",description:"Tells the company's story and connects technology with the people it serves",linkedin:"https://www.linkedin.com/in/amanda-ditzler-b575618a/",photo:xF,objectPosition:"60% center"},{name:"Klil Zaibert",role:"Business Analyst",description:"Turns data into insights that guide strategy and operational decisions",linkedin:"https://www.linkedin.com/in/klil-zaibert-97686a224/",photo:vF},{name:"Mor Alon Berg",role:"Deep Learning & Computer Vision Algorithm Engineer",description:"Develops deep learning and computer vision algorithms that drive RHIC's intelligent perception",linkedin:"https://www.linkedin.com/in/mor-alon-berg",photo:jV},{name:"Lahav Barak",role:"Robotics Software Engineer",description:"Builds robotics software that powers RHIC's field performance and reliability",linkedin:"https://www.linkedin.com/in/lahavbarak/",photo:bV}],bi=[{name:"Bob Jones",farm:"The Chef's Garden",location:"Ohio, USA",image:mC,quote:"Where we see it most beneficial is 
242in training the logic of the machine for the diversity of crops we grow on this farm. We see tremendous opportunity to save on labor and also reduce total tillage.",results:""},{name:"Scott Park",farm:"Park Farming Organics",location:"California, USA",image:pC,quote:"[RHIC's] vertical action is extremely effective in working with an environment that has biomass in most every farm. You have soil structure retained.",results:"100% organic certification maintained, 40 hours saved per week"},{name:"David Miller",farm:"Agronomist",location:"USA",image:gC,quote:"With [RHIC] you have soil structure retained...You're going to be able to reduce tillage and only in those tillage passes [RHIC] will only fracture the soil that needs to be fractured.",results:"ROI in 2 years, expanded operations by 50%"},{name:"Aries Haygood",farm:"A&M Farms",location:"Lyons, Georgia",image:yC,quote:"RHIC is an awesome machine that has actuators that replicate a human going down and pulling the weeds up. It eliminates the need to cultivate the whole field so we don't disturb the biology in the field, it eliminates as much labor as possible and adds to our regenerative practices.",results:""},{name:"Stephen Kraszewski",farm:"Mason Farms Produce LLC",location:"Maryland, USA",image:xV,quote:"AgriPass is a great example of another tool in the producer's toolbox. For organic grain production, accurate, timely, and efficient weed control is a game-changer. AgriPass could potentially reduce the 6-7 annual weed-control passes by half, cutting labor and fuel use while supporting improved soil health.",results:"Could halve weed-control passes, labor, and fuel use"}],TV=()=>{const[e,t]=x.useState(0),[n,r]=x.useState(!1),s=x.useRef(null),i=()=>{s.current&&clearInterval(s.current),s.current=setInterval(()=>{o(d=>(d+1)%bi.length)},5e3)},o=d=>{r(!0),setTimeout(()=>{t(d),r(!1)},300)};x.useEffect(()=>(i(),()=>{s.current&&clearInterval(s.current)}),[]);const a=()=>{o(d=>(d+1)%bi.length),i()},c=()=>{o(d=>(d-1+bi.length)%bi.length),i()},u=bi[e];return l.jsxs("div",{className:"min-h-screen",children:[l.jsx(fn,{title:"RHIC by AgriPass - AI Robotic Weeding for Regenerative Farming",description:"RHIC by AgriPass removes weeds selectively at the root with AI, cutting chemicals while preserving soil health.",path:"/"}),l.jsx(un,{}),l.jsxs("main",{children:[l.jsxs("section",{id:"home",className:"relative min-h-screen flex items-center justify-center overflow-hidden",children:[l.jsx("img",{src:a5,alt:"RHIC robotic weeder operating in a regenerative farm field",fetchPriority:"high",decoding:"async",width:1920,height:1080,className:"absolute inset-0 z-0 w-full h-full object-cover"}),l.jsx("div",{className:"absolute inset-0 z-0 bg-black/50"}),l.jsx("div",{className:"container mx-auto px-4 pt-40 pb-32 relative z-10 text-center",children:l.jsxs("div",{className:"max-w-4xl mx-auto animate-fade-in",children:[l.jsx("img",{src:l5,alt:"AgriPass",className:"h-14 md:h-20 mx-auto mb-6 brightness-0 invert",style:{filter:"brightness(0) invert(1)"}}),l.jsxs("h1",{className:"text-4xl md:text-6xl font-bold text-white mb-6 leading-tight",children:["Pioneering the Future of",l.jsx("br",{}),"Sustainable Agriculture"]}),l.jsx("p",{className:"text-xl md:text-2xl text-white/90 mb-8 max-w-3xl mx-auto",children:"We provide farmers with human-inspired AI-powered tools to eliminate herbicide dependency, lower input costs and improve soil health"}),l.jsxs("div",{className:"flex flex-col sm:flex-row gap-4 justify-center",children:[l.jsx(Oe,{size:"lg",asChild:!0,className:"bg-primary hover:bg-primary/90 text-lg px-8 py-6 h-auto",children:l.jsxs("a",{href:"#solutions",children:["Meet RHIC",l.jsx(M1,{className:"ml-2 w-5 h-5"})]})}),l.jsx(Oe,{size:"lg",variant:"outline",asChild:!0,className:"bg-white/10 backdrop-blur-sm border-white text-white hover:bg-white/20 text-lg px-8 py-6 h-auto",children:l.jsx(zn,{to:"/contact",children:"Meet Us"})})]})]})})]}),l.jsx("div",{id:"solutions",children:l.jsx(e6,{})}),l.jsxs("section",{id:"how-it-works",className:"relative py-24 overflow-hidden",children:[l.jsx("video",{autoPlay:!0,loop:!0,muted:!0,playsInl
242ine:!0,className:"absolute inset-0 w-full h-full object-cover",children:l.jsx("source",{src:c5,type:"video/mp4"})}),l.jsx("div",{className:"absolute inset-0 bg-black/70"}),l.jsxs("div",{className:"container mx-auto px-4 text-center relative z-10",children:[l.jsx("h2",{className:"text-4xl md:text-6xl font-bold text-white mb-6 animate-fade-in",children:"How RHIC Works"}),l.jsx("p",{className:"text-xl text-white/90 max-w-3xl mx-auto",children:"Designed for farmers, with farmers, to empower farmers"})]})]}),l.jsx("section",{className:"py-16 bg-background",children:l.jsx("div",{className:"container mx-auto px-4",children:l.jsxs("div",{className:"max-w-4xl mx-auto",children:[l.jsx("div",{className:"aspect-video bg-muted rounded-lg shadow-soft overflow-hidden",children:l.jsx("iframe",{className:"w-full h-full",src:"https://www.youtube.com/embed/Zc_DjnQIzLo?si=nJM7zhU1CMxGFdF3",title:"RHIC in Action",allow:"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share",allowFullScreen:!0})}),l.jsx("p",{className:"text-center text-muted-foreground mt-4",children:"Watch RHIC in action on real farms"})]})})}),l.jsxs("section",{className:"py-20 relative overflow-hidden",children:[l.jsx("div",{className:"absolute inset-0 bg-cover bg-center bg-no-repeat",style:{backgroundImage:`url(${g6})`}}),l.jsx("div",{className:"absolute inset-0 bg-black/40"}),l.jsxs("div",{className:"container mx-auto px-4 text-center relative z-10",children:[l.jsx("h2",{className:"text-3xl md:text-4xl text-white font-bold mb-3",children:"Introducing AST"}),l.jsx("p",{className:"text-xl md:text-2xl text-white/85 max-w-[700px] mx-auto mb-12 font-bold",children:"Adaptive Selective Tilling that learns, decides, and acts in real time"}),l.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-10",children:[l.jsxs(ne.div,{className:"border border-border rounded-xl p-6 bg-card transition-all duration-300 hover:-translate-y-1.5 hover:shadow-[0_10px_30px_rgba(0,0,0,0.08)] hover:border-primary group",initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0,amount:.4},transition:{duration:.5},children:[l.jsx("div",{className:"overflow-hidden rounded-lg mb-4 img-green-tone",children:l.jsx("img",{src:bC,alt:"Top view of robotic weeder in crop rows",className:"w-full aspect-video object-cover transition-transform duration-300 group-hover:scale-105",style:{objectPosition:"center 60%"}})}),l.jsx("h3",{className:"text-xl font-bold mb-2",children:"LEARNS"}),l.jsxs("ul",{className:"list-disc text-muted-foreground space-y-1 mb-3 text-left pl-5",children:[l.jsx("li",{children:"Builds a dynamic 3D field model in real time"}),l.jsx("li",{children:"Recognizes crop context, weed pressure, and soil variability"}),l.jsx("li",{children:"Continuously improves performance through field-trained AI"})]}),l.jsx("p",{className:"italic text-muted-foreground text-sm",children:"No field mapping or pre-programming required"})]}),l.jsxs(ne.div,{className:"border border-border rounded-xl p-6 bg-card transition-all duration-300 hover:-translate-y-1.5 hover:shadow-[0_10px_30px_rgba(0,0,0,0.08)] hover:border-primary group",initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0,amount:.4},transition:{duration:.5,delay:.1},children:[l.jsx("div",{className:"overflow-hidden rounded-lg mb-4 img-green-tone",children:l.jsx("img",{src:V5,alt:"Robotic weeder moving through crop rows",className:"w-full aspect-video object-cover transition-transform duration-300 group-hover:scale-105"})}),l.jsx("h3",{className:"text-xl font-bold mb-2",children:"DECIDES"}),l.jsxs("ul",{className:"list-disc text-muted-foreground space-y-1 mb-3 text-left pl-5",children:[l.jsx("li",{children:"Determines the safest and most effective response for each weed"}),l.jsx("li",{children:"Adapts uprooting depth based on weed type and position"}),l.jsx("li",{children:"Keeps surrounding crops safe while targeting the root"})]}),l.jsx("p",{className:"italic text-muted-foreground text-sm",children:"Decisions are made plant by plant"})]}),l.jsxs(ne.div,{className:"border border-border rounded-xl p-6 bg-card transition-all duration-300 hover:-translate-y-1.5 hover:shadow-[0_10px_30px_rgba(0,0,0,0.08)] hover:border-primary group",initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0,amount:.4},transition:{duration:.5,delay:.2},children:[l.jsx("div",{className:"overflow-hidden rounded-lg mb-4 img-green-tone",children:l.jsx("img",{src:jC,alt:"Robotic weeder removing weeds mechanically",className:"w-full aspect-video object-cover object-top scale-110 transition-transform duration-300 group-hover:scale-[1.15]"})}),l.jsx("h3",{className:"text-xl font-bold mb-2",children:"ACTS"}),l.jsxs("ul",{className:"list-disc text-muted-foreground space-y-1 mb-3 text-left pl-5",children:[l.jsx("li",{children:"Executes selective, root-level mechanical uprooting"}),l.jsx("li",{children:"Triggers individual actuator response for each weed detected"}),l.jsx("li",{children:"Maintains minimal tillage across diverse soil conditions"})]}),l.jsx("p",{className:"italic text-muted-foreground text-sm",children:"Designed to protect crops and preserve soil"})]})]})]})]}
242),l.jsx("section",{id:"benefits",className:"relative py-24 mt-32 bg-cover",style:{backgroundImage:`linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)), url(${w5})`,backgroundPosition:"center 65%"},children:l.jsxs("div",{className:"container mx-auto px-4 text-center",children:[l.jsx("h2",{className:"text-4xl md:text-6xl font-bold text-white mb-6 animate-fade-in",children:"Why Choose RHIC?"}),l.jsx("p",{className:"text-xl max-w-3xl mx-auto text-white opacity-90",children:"Transform your farm's weed control with proven benefits that impact your bottom line and the environment"})]})}),l.jsx(SC,{}),l.jsx("section",{className:"py-16 bg-muted",children:l.jsxs("div",{className:"container mx-auto px-4",children:[l.jsx(ne.h2,{className:"text-3xl md:text-4xl font-bold text-center mb-12",initial:"hidden",whileInView:"visible",viewport:{once:!0},variants:cc,children:"Trusted by Market Leaders in Climate, Agriculture and Investment"}),l.jsx("div",{className:"relative overflow-hidden max-w-6xl mx-auto",children:l.jsx("div",{className:"flex animate-[scroll_20s_linear_infinite] w-max gap-8",children:[...Array(2)].map((d,f)=>l.jsxs("div",{className:"flex gap-8 shrink-0",children:[l.jsx("div",{className:"flex items-center justify-center p-6 bg-card rounded-lg h-32 w-48 shrink-0",children:l.jsx("img",{src:_5,alt:"FYELD",className:"max-h-16 w-auto object-contain"})}),l.jsx("div",{className:"flex items-center justify-center p-6 bg-card rounded-lg h-32 w-48 shrink-0",children:l.jsx("img",{src:xC,alt:"RegenUP",className:"max-h-16 w-auto object-contain"})}),l.jsx("div",{className:"flex items-center justify-center p-6 bg-card rounded-lg h-32 w-48 shrink-0",children:l.jsx("img",{src:gg,alt:"E44 Ventures",className:"max-h-16 w-auto object-contain"})}),l.jsx("div",{className:"flex items-center justify-center p-6 bg-card rounded-lg h-32 w-48 shrink-0",children:l.jsx("img",{src:A5,alt:"Harbor Venture",className:"max-h-20 w-auto object-contain"})}),l.jsx("div",{className:"flex items-center justify-center p-6 bg-card rounded-lg h-32 w-48 shrink-0",children:l.jsx("img",{src:wC,alt:"NVIDIA Inception Program",className:"max-h-28 w-auto object-contain bg-white rounded-lg p-3"})})]},f))})})]})}),l.jsx("section",{id:"testimonials",className:"relative py-16 bg-cover bg-center",style:{backgroundImage:`linear-gradient(hsl(var(--primary) / 0.65), hsl(var(--primary) / 0.65)), url(${vV})`,backgroundBlendMode:"multiply"},children:l.jsxs(ne.div,{className:"container mx-auto px-4 text-center",initial:"hidden",whileInView:"visible",viewport:{once:!0},variants:cc,children:[l.jsx("h2",{className:"text-4xl md:text-6xl font-bold mb-6 text-white",children:"Real Farmers, Real Wins"}),l.jsx("p",{className:"text-xl max-w-3xl mx-auto text-white opacity-90",children:"What farmers are saying about AgriPass's RHIC in the field"})]})}),l.jsx("section",{className:"py-16 bg-background",children:l.jsx("div",{className:"container mx-auto px-4",children:l.jsx("div",{className:"max-w-5xl mx-auto",children:l.jsxs(ze,{className:"p-8 md:p-12 shadow-soft",children:[l.jsxs("div",{className:`grid grid-cols-1 md:grid-cols-2 gap-8 items-center transition-opacity duration-300 ${n?"opacity-0":"opacity-100"}`,children:[l.jsxs("div",{className:"order-2 md:order-1",children:[l.jsx(F1,{className:"w-12 h-12 text-primary mb-4"}),l.jsxs("blockquote",{className:"text-xl md:text-2xl font-medium mb-6 leading-relaxed",children:['"',u.quote,'"']}),l.jsxs("div",{children:[l.jsx("div",{className:"font-semibold text-lg",children:u.name}),l.jsx("div",{className:"text-muted-foreground",children:u.farm}),l.jsx("div",{className:"text-sm text-muted-foreground",children:u.location})]})]}),l.jsx("div",{className:"order-1 md:order-2",children:l.jsx("img",{src:u.image,alt:u.name,className:"w-full h-auto rounded-lg shadow-lg"})})]}),l.jsxs("div",{className:"flex items-center justify-center gap-4 mt-8",children:[l.jsx(Oe,{variant:"outline",size:"icon",onClick:c,"aria-label":"Previous testimonial",children:l.jsx(O1,{className:"w-5 h-5"})}),l.jsx("div",{className:"flex gap-2",children:bi.map((d,f)=>l.jsx("button",{onClick:()=>{o(()=>f),i()},className:`w-2 h-2 rounded-full transition-all ${f===e?"bg-primary w-8":"bg-muted-foreground
242/30"}`,"aria-label":`Go to testimonial ${f+1}`},f))}),l.jsx(Oe,{variant:"outline",size:"icon",onClick:a,"aria-label":"Next testimonial",children:l.jsx(D1,{className:"w-5 h-5"})})]})]})})})}),l.jsx("section",{className:"py-14 bg-background",children:l.jsx("div",{className:"container mx-auto px-4",children:l.jsxs(ne.div,{className:"max-w-4xl mx-auto text-center",initial:"hidden",whileInView:"visible",viewport:{once:!0,margin:"-100px"},variants:cc,children:[l.jsx("h2",{className:"text-3xl md:text-4xl font-bold mb-6",children:"About AgriPass"}),l.jsx("p",{className:"text-lg text-muted-foreground mb-8 leading-relaxed",children:"AgriPass is an innovative agtech company established in 2023. Our mission is to make chemical-free, sustainable farming accessible, profitable, and practical for growers worldwide. By harnessing advanced AI and robotics while working in the fields with farmers, we create solutions for farmers to deliver healthier crops without harmful chemicals."})]})})}),l.jsxs("section",{className:"relative w-full img-green-tone",children:[l.jsx("img",{src:$5,alt:"Our Multi-Disciplinary Team - AgriPass team members with RHIC machine",className:"w-full h-auto object-cover"}),l.jsx("div",{className:"absolute top-2 md:top-4 left-0 right-0 text-center pr-8 md:pr-16",children:l.jsxs("h2",{className:"text-2xl md:text-4xl lg:text-5xl font-bold text-white drop-shadow-[0_2px_4px_rgba(0,0,0,0.5)] leading-tight",children:["Our Multi-Disciplinary",l.jsx("br",{}),"Team"]})})]}),l.jsx("div",{className:"bg-primary/10 py-8",children:l.jsx("div",{className:"container mx-auto px-4",children:l.jsx("p",{className:"text-center text-base md:text-lg text-foreground/80 max-w-4xl mx-auto",children:"We're a hands-on team of engineers, agronomists, operators, and collaborators who work side-by-side in the field and behind the scenes to help growers succeed"})})}),l.jsx("section",{id:"team",className:"py-16 bg-gradient-to-b from-primary/10 to-background",children:l.jsxs("div",{className:"container mx-auto px-4",children:[l.jsx("div",{className:"text-center mb-12",children:l.jsx("h3",{className:"text-2xl md:text-3xl font-semibold text-foreground mb-4",children:"Meet the Team"})}),l.jsx("div",{className:"flex flex-wrap justify-center gap-x-8 gap-y-16 max-w-7xl mx-auto",children:kV.map((d,f)=>l.jsxs(ne.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{delay:f*.04},className:"flex flex-col items-center text-center group w-[228px]",children:[d.photo?l.jsx("div",{className:"w-24 h-24 mb-4 rounded-full overflow-hidden shadow-sm",children:l.jsx("img",{src:d.photo,alt:d.name,className:"w-full h-full object-cover",style:{objectPosition:d.objectPosition||"center",transform:d.scale?`scale(${d.scale})`:void 0}})}):l.jsx("div",{className:"w-24 h-24 mb-4 rounded-full bg-gradient-to-br from-primary/20 to-primary/40 flex items-center justify-center text-primary text-xl font-semibold shadow-sm",children:d.name.split(" ").map(h=>h[0]).join("")}),l.jsx("h3",{className:"font-medium text-foreground leading-tight group-hover:text-primary transition",children:d.name}),l.jsx("p",{className:"text-sm text-muted-foreground mt-1",children:d.role}),l.jsx("p",{className:"text-xs text-muted-foreground/80 mt-2 max-w-[220px]",children:d.description}
242),d.linkedin?l.jsxs("a",{href:d.linkedin,target:"_blank",rel:"noopener noreferrer",className:"mt-2 inline-flex items-center gap-1 text-xs text-primary opacity-80 group-hover:opacity-100 transition",children:[l.jsx(Zd,{className:"w-4 h-4"})," LinkedIn"]}):l.jsxs("span",{className:"mt-2 inline-flex items-center gap-1 text-xs text-muted-foreground/50",children:[l.jsx(Zd,{className:"w-4 h-4"})," LinkedIn"]})]},f))}),l.jsxs("div",{className:"max-w-3xl mx-auto text-center mt-16",children:[l.jsx("h3",{className:"text-2xl font-semibold mb-3 text-foreground",children:"Want to work with us?"}),l.jsx("p",{className:"text-muted-foreground mb-6",children:"We're building technology that helps farmers grow more with less - let's talk"}),l.jsx(Oe,{size:"lg",asChild:!0,className:"text-lg px-8 py-6 h-auto",children:l.jsx(zn,{to:"/careers",children:"Careers"})})]})]})}),l.jsx("section",{id:"news",className:"py-16 bg-muted",children:l.jsxs("div",{className:"container mx-auto px-4",children:[l.jsxs("div",{className:"text-center mb-16",children:[l.jsx("h2",{className:"text-3xl md:text-4xl font-bold mb-4",children:"News & Events"}),l.jsx("p",{className:"text-lg text-muted-foreground max-w-2xl mx-auto",children:"Stay updated with AgriPass's latest achievements, events, and media coverage"})]}),l.jsxs("div",{className:"mb-16",children:[l.jsx("h3",{className:"text-2xl font-bold mb-8 text-center",children:"Upcoming Events"}),l.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-5 gap-6 max-w-7xl mx-auto",children:[l.jsx(ne.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{delay:.1},children:l.jsxs(ze,{className:"h-full border-2 border-primary/20 overflow-hidden flex flex-col transition-all duration-300 hover:shadow-xl hover:scale-[1.02] hover:border-primary/40",children:[l.jsx("div",{className:"relative h-32 overflow-hidden img-green-tone",children:l.jsx("img",{src:y6,alt:"In-Person Farm Meeting with RHIC robot",className:"w-full h-full object-cover"})}),l.jsxs("div",{className:"p-6 flex flex-col flex-1",children:[l.jsxs("div",{className:"flex items-center gap-2 text-sm font-semibold text-primary mb-3",children:[l.jsx(pt,{className:"w-4 h-4"}),l.jsx("span",{children:"Fall/Winter 2026"})]}),l.jsx("h4",{className:"font-bold text-lg mb-2",children:"See RHIC in Florida and Georgia"}),l.jsx("p",{className:"text-muted-foreground text-sm mb-4 flex-1",children:"Join RHIC and the team for an in-person meeting at a host farm in Florida or Georgia (exact date and location to be announced)"}),l.jsx(Oe,{size:"sm",className:"w-full",asChild:!0,children:l.jsx("a",{href:"https://forms.monday.com/forms/75a5656bd66022bfc48cb18acba8a23f?r=euc1&s=qr",target:"_blank",rel:"noopener noreferrer",children:"Register Now"})})]})]})}),l.jsx(ne.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{delay:.2},children:l.jsxs(ze,{className:"h-full border-2 border-primary/20 overflow-hidden flex flex-col transition-all duration-300 hover:shadow-xl hover:scale-[1.02] hover:border-primary/40",children:[l.jsx("div",{className:"relative h-32 overflow-hidden img-green-tone",children:l.jsx("img",{src:v6,alt:"RHIC Demo Days in NorCal fields",className:"w-full h-full object-cover"})}),l.jsxs("div",{className:"p-6 flex flex-col flex-1",children:[l.jsxs("div",{className:"flex items-center gap-2 text-sm font-semibold text-primary mb-3",children:[l.jsx(pt,{className:"w-4 h-4"}),l.jsx("span",{children:"September/October 2026"})]}),l.jsx("h4",{className:"font-bold text-lg mb-2",children:"See RHIC Live in the NorCal Fields"}),l.jsx("p",{className:"text-muted-foreground text-sm mb-4 flex-1",children:"Join RHIC and the team for an in-person meeting at a host farm in NorCal (exact dates & locations to be announced)"}),l.jsx(Oe,{size:"sm",className:"w-full",asChild:!0,children:l.jsx("a",{href:"https://forms.monday.com/forms/75a5656bd66022bfc48cb18acba8a23f?r=euc1&s=qr",target:"_blank",rel:"noopener noreferrer",children:"Register Now"})})]})]})}),l.jsx(ne.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{delay:.4},children:l.jsxs(ze,{className:"h-full border-2 border-primary/20 overflow-hidden flex flex-col transition-all duration-300 hover:shadow-xl hover:scale-[1.02] hover:border-primary/40",children:[l.jsx("div",{className:"relative h-32 overflow-hidden",children:l.jsx("img",{src:E6.url,alt:"AgriPass at Farm Science Review, OIACI Tent Booth 279",className:"w-full h-full object-cover"})}),l.jsxs("div",{className:"p-6 flex flex-col flex-1",children:[l.jsxs("div",{className:"flex items-center gap-2 text-sm font-semibold text-primary mb-3",children:[l.jsx(pt,{className:"w-4 h-4"}),l.jsx("span",{children:"September 22-24, 2026"})]}),l.jsx("h4",{className:"font-bold text-lg mb-2",children:"Farm Science Review"}),l.jsx("p",{className:"text-muted-foreground text-sm mb-4 flex-1",children:"Visit us at the OIACI Tent, Booth 279 near Gate B. Meet CCO Todd Conner and the AgriPass team, and learn about our work with OIACI, OSU and The Chef's Garden"}),l.jsx(Oe,{size:"sm",className:"w-full",asChild:!0,children:l.jsx("a",{href:"mailto:[email protected]",children:"Meet Us"})})]})]})}),l.jsx(ne.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{delay:.5},children:l.jsxs(ze,{className:"h-full border-2 border-primary/20 overflow-hidden flex flex-col transition-all duration-300 hover:shadow-xl hover:scale-[1.02] hover:border-primary/40",children:[l.jsx("div",{className:"relative h-32 overflow-hidden",children:l.jsx("img",{src:Y6.url,alt:"Come meet RHIC at EIMA International 2026, Bologna, Hall 30 Stand C/7",className:"w-full h-full object-cover"})}),l.jsxs("div",{className:"p-6 flex flex-col flex-1",children:[l.jsxs("div",{className:"flex items-center gap-2 text-sm font-semibold text-primary mb-3",children:[l.jsx(pt,{className:"w-4 h-4"}),l.jsx("span",{children:"November 10-14, 2026"})]}),l.jsx("h4",{className:"font-bold text-lg mb-2",children:"EIMA International"}),l.jsx("p",{className:"text-muted-foreground text-sm mb-4 flex-1",children:"AgriPass, in proud partnership with FYELD, is exhibiting RHIC at EIMA International in Bologna, Italy. Visit us at Hall 30, Stand C/7 and come meet us"}),l.jsx(Oe,{size:"sm",className:"w-full",asChild:!0,children:l.jsx("a",{href:"mailto:[email protected]",children:"Meet Us"})})]})]})}),l.jsx(ne.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{delay:.6},children:l.jsxs(ze,{className:"h-full border-2 border-primary/20 overflow-hidden flex flex-col transition-all duration-300 hover:shadow-xl hover:scale-[1.02] hover:border-primary/40",children:[l.jsx("div",{className:"relative h-32 overflow-hidden",children:l.jsx("img",{src:F6.url,alt:"AgriPass selected for the SLUSH 100 at Slush 2026 in Helsinki",className:"w-full h-full object-cover"})}),l.jsxs("div",{className:"p-6 flex flex-col flex-1",children:[l.jsxs("div",{className:"flex items-center gap-2 text-sm font-semibold text-primary mb-3",children:[l.jsx(pt,{className:"w-4 h-4"}),l.jsx("span",{children:"November 18-19, 2026"})]}),l.jsx("h4",{className:"font-bold text-lg mb-2",children:"SLUSH 100"}),l.jsx("p",{className:"text-muted-foreground text-sm mb-4 flex-1",children:"AgriPass has been selected as one of the SLUSH 100, the top 100 startups out of 1,400+ applicants. Come meet us in Helsinki, Finland"}),l.jsx(Oe,{size:"sm",className:"w-full",asChild:!0,children:l.jsx("a",{href:"mailto:[email protected]",children:"Meet Us"})})]})]})})]})]}),l.jsx("h3",{className:"text-2xl font-bold mb-8 text-center",children:"Recent News"}),l.jsx("div",{className:"max-w-7xl mx-auto px-12",children:l.jsxs(_2,{opts:{align:"start",loop:!0},className:"w-full",children:[l.jsxs(A2,{className:"-ml-4",children:[l.jsx(Ht,{className:"pl-4 md:basis-1/2 lg:basis-1/3",children:l.jsx(ne.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},className:"h-full",children:l.jsxs(ze,{className:"h-full overflow-hidden hover:shadow-xl transition-shadow flex flex-col",children:[l.jsx("div",{className:"h-48 overflow-hidden bg-black",children:l.jsx("video",{autoPlay:!0,muted:!0,loop:!0,playsInl
242ine:!0,className:"w-full h-full object-cover",children:l.jsx("source",{src:wV,type:"video/mp4"})})}),l.jsxs("div",{className:"p-6 flex flex-col flex-1",children:[l.jsxs("div",{className:"flex items-center gap-2 text-sm text-muted-foreground mb-2",children:[l.jsx(pt,{className:"w-4 h-4"}),l.jsx("span",{children:"May 2026"})]}),l.jsx("h3",{className:"font-bold text-lg mb-2",children:"AgriPass Launches in Italy"}),l.jsx("p",{className:"text-muted-foreground text-sm mb-4 flex-1",children:"AgriPass, in partnership with FYELD, has officially launched in Italy. Following a successful roadshow across Northern Italy, RHIC (Robot of Human-Inspired Cultivation) was showcased during a live field demonstration at Patto Pomodoro Piemonte. Growers and industry leaders saw firsthand how RHIC's AI-powered, adaptive weeding technology can reduce labor demands while supporting more sustainable vegetable production. We thank FYELD, Steriltom, SATA, Patto Pomodoro Piemonte, and all participating growers for making this milestone a success."})]})]})})}),l.jsx(Ht,{className:"pl-4 md:basis-1/2 lg:basis-1/3",children:l.jsx(ne.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},className:"h-full",children:l.jsxs(ze,{className:"h-full overflow-hidden hover:shadow-xl transition-shadow flex flex-col",children:[l.jsx("div",{className:"h-48 overflow-hidden img-green-tone",children:l.jsx("img",{src:cF,alt:"Rod Rozenfeld and Zach Jones presenting at Ohio Produce Network Conference",className:"w-full h-full object-cover"})}),l.jsxs("div",{className:"p-6 flex flex-col flex-1",children:[l.jsxs("div",{className:"flex items-center gap-2 text-sm text-muted-foreground mb-2",children:[l.jsx(pt,{className:"w-4 h-4"}),l.jsx("span",{children:"January 2026"})]}),l.jsx("h3",{className:"font-bold text-lg mb-2",children:"AgriPass Presents at Ohio Produce Network"}),l.jsx("p",{className:"text-muted-foreground text-sm mb-4 flex-1",children:"Rod Rozenfeld, Head of Customer Success, along with organic farmer Zach Jones, delivered an engaging presentation at the Ohio Produce Growers annual conference, highlighting RHIC and its role in advancing sustainable, chemical-free weeding for regenerative agriculture"})]})]})})}),l.jsx(Ht,{className:"pl-4 md:basis-1/2 lg:basis-1/3",children:l.jsx(ne.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{delay:.05},className:"h-full",children:l.jsxs(ze,{className:"h-full overflow-hidden hover:shadow-xl transition-shadow flex flex-col",children:[l.jsx("div",{className:"h-48 overflow-hidden img-green-tone",children:l.jsx("img",{src:L5,alt:"AgriPass at Innovation Row",className:"w-full h-full object-cover"})}),l.jsxs("div",{className:"p-6 flex flex-col flex-1",children:[l.jsxs("div",{className:"flex items-center gap-2 text-sm text-muted-foreground mb-2",children:[l.jsx(pt,{className:"w-4 h-4"}),l.jsx("span",{children:"January 2026"})]}),l.jsx("h3",{className:"font-bold text-lg mb-2",children:"AgriPass at Innovation Row"}),l.jsx("p",{className:"text-muted-foreground text-sm mb-4 flex-1",children:"AgriPass presented at the Southeast Regional Conference, showcasing RHIC robotic weeding technology. Featured in Vegetable Growers News as the conference spotlighted a critical shift toward chemical-free weed control"}),l.jsxs("div",{className:"flex flex-col gap-2 mt-auto",children:[l.jsxs("a",{href:"https://vegetablegrowersnews.com/news/5-takeaways-southeast-regional-2026/",target:"_blank",rel:"noopener noreferrer",className:"inline-flex items-center gap-1 text-primary text-sm font-medium hover:underline",children:["Featured in VGN ",l.jsx(pn,{className:"w-3 h-3"})]}),l.jsxs("a",{href:"https://www.linkedin.com/posts/agripassrobotics_%F0%9D%97%A6%F0%9D%97%BC%F0%9D%98%82%F0%9D%98%81%F0%9D%97%B5%F0%9D%97%B2%F0%9D%97%AE%F0%9D%98%80%F0%9D%98%81-%F0%9D%97%A5%F0%9D%97%B2%F0%9D%97%B4%F0%9D%97%B6%F0%9D%97%BC%F0%9D%97%BB%F0%9D%97%AE%F0%9D%97%B9-%F0%9D%97%99%F0%9D%97%BF%F0%9D%98%82%F0%9D%97%B6%F0%9D%98%81-activity-7416811647966552064-qTGn",target:"_blank",rel:"noopener noreferrer",className:"inline-flex items-center gap-1 text-primary text-sm font-medium hover:underline",children:["View on 
242LinkedIn ",l.jsx(pn,{className:"w-3 h-3"})]})]})]})]})})}),l.jsx(Ht,{className:"pl-4 md:basis-1/2 lg:basis-1/3",children:l.jsx(ne.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{delay:.1},className:"h-full",children:l.jsxs(ze,{className:"h-full overflow-hidden hover:shadow-xl transition-shadow flex flex-col",children:[l.jsx("div",{className:"h-48 overflow-hidden img-green-tone",children:l.jsx("img",{src:M5,alt:"AgriPass at Agritechnica 2025",className:"w-full h-full object-cover"})}),l.jsxs("div",{className:"p-6 flex flex-col flex-1",children:[l.jsxs("div",{className:"flex items-center gap-2 text-sm text-muted-foreground mb-2",children:[l.jsx(pt,{className:"w-4 h-4"}),l.jsx("span",{children:"November 2025"})]}),l.jsx("h3",{className:"font-bold text-lg mb-2",children:"Agritechnica 2025 - Hanover, Germany"}),l.jsx("p",{className:"text-muted-foreground text-sm mb-4 flex-1",children:"AgriPass showcased the RHIC robot in partnership with FYELD at the world's leading trade fair for agricultural machinery in Hanover, Germany"}),l.jsxs("a",{href:"https://www.linkedin.com/company/agripassrobotics",target:"_blank",rel:"noopener noreferrer",className:"inline-flex items-center gap-1 text-primary text-sm font-medium hover:underline mt-auto",children:["View on LinkedIn ",l.jsx(pn,{className:"w-3 h-3"})]})]})]})})}),l.jsx(Ht,{className:"pl-4 md:basis-1/2 lg:basis-1/3",children:l.jsx(ne.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{delay:.12},className:"h-full",children:l.jsxs(ze,{className:"h-full overflow-hidden hover:shadow-xl transition-shadow flex flex-col",children:[l.jsx("div",{className:"h-48 overflow-hidden img-green-tone",children:l.jsx("img",{src:O5,alt:"CEO Liron Cohen at Infocampo Argentina",className:"w-full h-full object-cover"})}),l.jsxs("div",{className:"p-6 flex flex-col flex-1",children:[l.jsxs("div",{className:"flex items-center gap-2 text-sm text-muted-foreground mb-2",children:[l.jsx(pt,{className:"w-4 h-4"}),l.jsx("span",{children:"November 2025"})]}),l.jsx("h3",{className:"font-bold text-lg mb-2",children:"Exploring Latin America Expansion in Argentina"}),l.jsx("p",{className:"text-muted-foreground text-sm mb-4 flex-1",children:"CEO Liron Cohen explored expansion opportunities in Argentina and presented at Infocampo, positioning Argentina as a gateway for Latin America"}),l.jsxs("a",{href:"https://www.infocampo.com.ar/en-agritechnica-la-robotica-israeli-miro-al-agro-argentino-puede-ser-la-puerta-de-entrada-para-america-latina/",target:"_blank",rel:"noopener noreferrer",className:"inline-flex items-center gap-1 text-primary text-sm font-medium hover:underline mt-auto",children:["Read article ",l.jsx(pn,{className:"w-3 h-3"})]})]})]})})}),l.jsx(Ht,{className:"pl-4 md:basis-1/2 lg:basis-1/3",children:l.jsx(ne.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{delay:.15},className:"h-full",children:l.jsxs(ze,{className:"h-full overflow-hidden hover:shadow-xl transition-shadow flex flex-col",children:[l.jsx("div",{className:"h-48 overflow-hidden img-green-tone",children:l.jsx("img",{src:D5,alt:"Florida & Georgia Field Deployments",className:"w-full h-full object-cover"})}),l.jsxs("div",{className:"p-6 flex flex-col flex-1",children:[l.jsxs("div",{className:"flex items-center gap-2 text-sm text-muted-foreground mb-2",children:[l.jsx(pt,{className:"w-4 h-4"}),l.jsx("span",{children:"November 2025"})]}),l.jsx("h3",{className:"font-bold text-lg mb-2",children:"Florida & Georgia Field Deployments"}),l.jsx("p",{className:"text-muted-foreground text-sm mb-4 flex-1",children:"RHIC was deployed for on-ground testing at A & M Farms in Georgia and C&B Farms in South Florida, specifically targeting herbicide-resistant weeds in vegetable crops"}),l.jsxs("a",{href:"https://www.linkedin.com/posts/luan-agro_precisionhorticulturelab-ugaextension-agripass-ugcPost-7391595225162416129-Jy-c?utm_source=share&utm_medium=member_desktop&rcm=ACoAABLyjzMBUuwhi7wGiSxvGe4zs498AYxFc3w",target:"_blank",rel:"noopener noreferrer",className:"inline-flex items-center gap-1 text-primary text-sm font-medium hover:underline mt-auto",children:["View on 
242LinkedIn ",l.jsx(pn,{className:"w-3 h-3"})]})]})]})})}),l.jsx(Ht,{className:"pl-4 md:basis-1/2 lg:basis-1/3",children:l.jsx(ne.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{delay:.2},className:"h-full",children:l.jsxs(ze,{className:"h-full overflow-hidden hover:shadow-xl transition-shadow flex flex-col",children:[l.jsx("div",{className:"h-48 overflow-hidden bg-[#2a2a2a] flex items-center justify-center",children:l.jsx("img",{src:F5,alt:"The Agronaut Podcast",className:"w-full h-full object-contain"})}),l.jsxs("div",{className:"p-6 flex flex-col flex-1",children:[l.jsxs("div",{className:"flex items-center gap-2 text-sm text-muted-foreground mb-2",children:[l.jsx(pt,{className:"w-4 h-4"}),l.jsx("span",{children:"November 2025"})]}),l.jsx("h3",{className:"font-bold text-lg mb-2",children:"The Agronaut Podcast"}),l.jsx("p",{className:"text-muted-foreground text-sm mb-4 flex-1",children:"CEO Liron Yanay was featured discussing the intersection of robotics, farming, and economics - exploring how technology is reshaping agriculture"}),l.jsxs("a",{href:"https://open.spotify.com/episode/0GyzdevV2leIlxR335beHV?si=1c96eb5280ed4e00",target:"_blank",rel:"noopener noreferrer",className:"inline-flex items-center gap-1 text-primary text-sm font-medium hover:underline mt-auto",children:["Listen to Podcast ",l.jsx(pn,{className:"w-3 h-3"})]})]})]})})}),l.jsx(Ht,{className:"pl-4 md:basis-1/2 lg:basis-1/3",children:l.jsx(ne.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{delay:.25},className:"h-full",children:l.jsxs(ze,{className:"h-full overflow-hidden hover:shadow-xl transition-shadow flex flex-col",children:[l.jsx("div",{className:"h-48 overflow-hidden img-green-tone",children:l.jsx("img",{src:R5,alt:"Climate Solutions Prize 2025",className:"w-full h-full object-cover"})}),l.jsxs("div",{className:"p-6 flex flex-col flex-1",children:[l.jsxs("div",{className:"flex items-center gap-2 text-sm text-muted-foreground mb-2",children:[l.jsx(pt,{className:"w-4 h-4"}),l.jsx("span",{children:"October 2025"})]}),l.jsx("h3",{className:"font-bold text-lg mb-2",children:"Climate Solutions Prize 2025 - First Place"}),l.jsx("p",{className:"text-muted-foreground text-sm mb-4 flex-1",children:"AgriPass won first place at the Climate Solutions Prize Dealroom, competing against over 130 startups. CEO Liron Yanay accepted the award, highlighting RHIC's success across the U.S., Italy, and Israel"}),l.jsxs("a",{href:"https://blogs.timesofisrael.com/israeli-startup-agripass-wins-prestigious-climate-solutions-prize-2025/",target:"_blank",rel:"noopener noreferrer",className:"inline-flex items-center gap-1 text-primary text-sm font-medium hover:underline mt-auto",children:["Read about Climate Solutions Prize 2025 ",l.jsx(pn,{className:"w-3 h-3"})]})]})]})})}),l.jsx(Ht,{className:"pl-4 md:basis-1/2 lg:basis-1/3",children:l.jsx(ne.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{delay:.3},className:"h-full",children:l.jsxs(ze,{className:"h-full overflow-hidden hover:shadow-xl transition-shadow flex flex-col",children:[l.jsx("div",{className:"h-48 overflow-hidden bg-white flex items-center justify-center",children:l.jsx("img",{src:aF,alt:"ISRAEL21c & Boltwise",className:"w-full h-full object-contain"})}),l.jsxs("div",{className:"p-6 flex flex-col flex-1",children:[l.jsxs("div",{className:"flex items-center gap-2 text-sm text-muted-foreground mb-2",children:[l.jsx(pt,{className:"w-4 h-4"}),l.jsx("span",{children:"October 2025"})]}),l.jsx("h3",{className:"font-bold text-lg mb-2",children:"Featured in ISRAEL21c & Boltwise"}),l.jsx("p",{className:"text-muted-foreground text-sm mb-4 flex-1",children:`International media coverage highlighting how AgriPass's AI-powered weeding technology is set to transform agriculture with their "Robotic weeder" innovation`}),l.jsxs("a",{href:"https://www.it-boltwise.de/agripass-ki-gestuetzte-unkrautbek
242aempfung-revolutioniert-die-landwirtschaft.html",target:"_blank",rel:"noopener noreferrer",className:"inline-flex items-center gap-1 text-primary text-sm font-medium hover:underline mt-auto",children:["Read ISRAEL21c and Boltwise coverage ",l.jsx(pn,{className:"w-3 h-3"})]})]})]})})}),l.jsx(Ht,{className:"pl-4 md:basis-1/2 lg:basis-1/3",children:l.jsx(ne.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{delay:.35},className:"h-full",children:l.jsxs(ze,{className:"h-full overflow-hidden hover:shadow-xl transition-shadow flex flex-col",children:[l.jsx("div",{className:"h-48 overflow-hidden img-green-tone",children:l.jsx("img",{src:I5,alt:"CEO Liron Yanay - Leading Woman in Foodtech 2025",className:"w-full h-full object-cover"})}),l.jsxs("div",{className:"p-6 flex flex-col flex-1",children:[l.jsxs("div",{className:"flex items-center gap-2 text-sm text-muted-foreground mb-2",children:[l.jsx(pt,{className:"w-4 h-4"}),l.jsx("span",{children:"May 2025"})]}),l.jsx("h3",{className:"font-bold text-lg mb-2",children:"CEO Named Leading Woman in Foodtech 2025"}),l.jsx("p",{className:"text-muted-foreground text-sm mb-4 flex-1",children:"CEO Liron Yanay was recognized as a 
242Leading Woman in Foodtech 2025 at the MAFi Annual Conference, presenting AgriPass's mission to promote the ecosystem"}),l.jsxs("a",{href:"https://youtu.be/AFxlgi-bGGE",target:"_blank",rel:"noopener noreferrer",className:"inline-flex items-center gap-1 text-primary text-sm font-medium hover:underline mt-auto",children:["Watch video ",l.jsx(pn,{className:"w-3 h-3"})]})]})]})})}),l.jsx(Ht,{className:"pl-4 md:basis-1/2 lg:basis-1/3",children:l.jsx(ne.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{delay:.36},className:"h-full",children:l.jsxs(ze,{className:"h-full overflow-hidden hover:shadow-xl transition-shadow flex flex-col",children:[l.jsx("div",{className:"h-48 overflow-hidden bg-[#0a0a1a] flex items-center justify-center",children:l.jsx("img",{src:lF,alt:"Hack Summit 2025 - 40 Climate Robotics Pioneers",className:"w-full h-full object-contain"})}),l.jsxs("div",{className:"p-6 flex flex-col flex-1",children:[l.jsxs("div",{className:"flex items-center gap-2 text-sm text-muted-foreground mb-2",children:[l.jsx(pt,{className:"w-4 h-4"}),l.jsx("span",{children:"April 2025"})]}),l.jsx("h3",{className:"font-bold text-lg mb-2",children:"Hack Summit: 40 Climate Robotics Pioneers"}),l.jsx("p",{className:"text-muted-foreground text-sm mb-4 flex-1",children:"AgriPass was selected by Hack Summit 2025 as one of 40 climate robotics pioneers to watch, highlighted in Agriculture for AI-driven, non-chemical weeding supporting organic and regenerative practices"}),l.jsxs("a",{href:"https://hacksummit.beehiiv.com/p/40-climate-robotics-pioneers-to-know",target:"_blank",rel:"noopener noreferrer",className:"inline-flex items-center gap-1 text-primary text-sm font-medium hover:underline mt-auto",children:["Read Hack Summit climate robotics article ",l.jsx(pn,{className:"w-3 h-3"})]})]})]})})}),l.jsx(Ht,{className:"pl-4 md:basis-1/2 lg:basis-1/3",children:l.jsx(ne.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{delay:.37},className:"h-full",children:l.jsxs(ze,{className:"h-full overflow-hidden hover:shadow-xl transition-shadow flex flex-col",children:[l.jsx("div",{className:"h-48 overflow-hidden img-green-tone",children:l.jsx("img",{src:Z6,alt:"AgriPass at Agricon 2025 in Jerusalem",className:"w-full h-full object-cover"})}),l.jsxs("div",{className:"p-6 flex flex-col flex-1",children:[l.jsxs("div",{className:"flex items-center gap-2 text-sm text-muted-foreground mb-2",children:[l.jsx(pt,{className:"w-4 h-4"}),l.jsx("span",{children:"February 2025"})]}),l.jsx("h3",{className:"font-bold text-lg mb-2",children:"Agricon 2025 - Jerusalem"}),l.jsx("p",{className:"text-muted-foreground text-sm mb-4 flex-1",children:'Lead Agronomist Ofri Gershon presented "Revolutionising Weed Control in Agriculture" at Agricon 2025, showcasing RHIC AI robotic weed control technology with compelling field trials that sparked excitement among growers'}),l.jsxs("a",{href:"https://www.linkedin.com/feed/update/urn:li:activity:7374102355295821824",target:"_blank",rel:"noopener noreferrer",className:"inline-flex items-center gap-1 text-primary text-sm font-medium hover:underline mt-auto",children:["View on LinkedIn ",l.jsx(pn,{className:"w-3 h-3"})]})]})]})})}),l.jsx(Ht,{className:"pl-4 md:basis-1/2 lg:basis-1/3",children:l.jsx(ne.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{delay:.4},className:"h-full",children:l.jsxs(ze,{className:"h-full overflow-hidden hover:shadow-xl transition-shadow flex flex-col",children:[l.jsx("div",{className:"h-48 overflow-hidden img-green-tone",children:l.jsx("img",{src:q6,alt:"Italy Expansion",className:"w-full h-full object-cover"})}),l.jsxs("div",{className:"p-6 flex flex-col flex-1",children:[l.jsxs("div",{className:"flex items-center gap-2 text-sm text-muted-foreground mb-2",children:[l.jsx(pt,{className:"w-4 h-4"}),l.jsx("span",{children:"Late 2024"})]}),l.jsx("h3",{className:"font-bold text-lg mb-2",children:"Italy Expansion"}),l.jsx("p",{className:"text-muted-foreground text-sm mb-4 flex-1",children:"Head of Operations Yarden Goldwasser and Italy Manager Amit Baum led demonstrations for vegetable growers in Northern Italy, expanding AgriPass's European presence"}),l.jsxs("a",{href:"https://www.linkedin.com/feed/update/urn:li:activity:7371972886011559937",target:"_blank",rel:"noopener noreferrer",className:"inline-flex items-center gap-1 text-primary text-sm font-medium hover:underline mt-auto",children:["View on 
242LinkedIn ",l.jsx(pn,{className:"w-3 h-3"})]})]})]})})})]}),l.jsx(R2,{className:"left-0"}),l.jsx(I2,{className:"right-0"})]})}),l.jsx("div",{className:"text-center mt-12",children:l.jsx(Oe,{size:"lg",variant:"outline",asChild:!0,children:l.jsxs("a",{href:"https://www.linkedin.com/company/agripassrobotics",target:"_blank",rel:"noopener noreferrer",className:"inline-flex items-center gap-2",children:[l.jsx(Zd,{className:"w-5 h-5"}),"Follow us on LinkedIn for more updates"]})})})]})}),l.jsx("section",{className:"py-24 bg-primary text-primary-foreground",children:l.jsxs(ne.div,{className:"container mx-auto px-4 text-center",initial:"hidden",whileInView:"visible",viewport:{once:!0},variants:cc,children:[l.jsx("h2",{className:"text-3xl md:text-4xl font-bold mb-6",children:"Ready to Transform Your Farm?"}),l.jsx("p",{className:"text-lg mb-8 max-w-2xl mx-auto opacity-90",children:"Join the farmers who are already benefiting from RHIC's next generation AI"}),l.jsx(ne.div,{initial:{opacity:0,scale:.9},whileInView:{opacity:1,scale:1},viewport:{once:!0},transition:{delay:.2,duration:.4},children:l.jsx(Oe,{size:"lg",variant:"secondary",asChild:!0,children:l.jsx("a",{href:"https://forms.monday.com/forms/75a5656bd66022bfc48cb18acba8a23f?r=euc1&s=qr",target:"_blank",rel:"noopener noreferrer",children:"Schedule Your Demo"})})})]})})]}),l.jsx(dn,{})]})},EV="/assets/how-it-works-hero-pss-aEwG.jpg",PV="/assets/decides-mapping-DTBkWO-C.jpg",_V="/assets/human-weeder-DYPGeI2c.jpg",AV=()=>l.jsxs("div",{className:"min-h-screen",children:[l.jsx(fn,{title:"How RHIC Works - AI Weeding Robot by AgriPass",description:"See how RHIC learns, decides, and acts like a human weeder to deliver selective, chemical-free weeding.",path:"/how-it-works"}),l.jsx(un,{}),l.jsxs("main",{className:"pt-20",children:[l.jsxs("section",{className:"relative py-24 overflow-hidden",children:[l.jsxs("div",{className:"absolute inset-0 z-0",children:[l.jsx("img",{src:EV,alt:"RHIC in field",className:"w-full h-full object-cover"}),l.jsx("div",{className:"absolute inset-0 bg-black/60"})]}),l.jsxs("div",{className:"container mx-auto px-4 text-center relative z-10",children:[l.jsx("h1",{className:"text-4xl md:text-6xl font-bold text-white mb-6 animate-fade-in",children:"How RHIC Works"}),l.jsx("p",{className:"text-xl text-white/90 max-w-3xl mx-auto",children:"Designed for farmers, with farmers, to empower farmers"})]})]}),l.jsx("section",{className:"py-16 bg-background",children:l.jsx("div",{className:"container mx-auto px-4",children:l.jsxs("div",{className:"max-w-4xl mx-auto",children:[l.jsx("div",{className:"aspect-video bg-muted rounded-lg shadow-soft overflow-hidden",children:l.jsx("iframe",{className:"w-full h-full",src:"https://www.youtube.com/embed/VDvUjVtPVBE?si=x0rxmxZ7J3U0r1BO",title:"RHIC in Action",allow:"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share",allowFullScreen:!0})}),l.jsx("p",{className:"text-center text-muted-foreground mt-4",children:"Watch RHIC in action on real farms"})]})})}),l.jsx("section",{className:"py-24 bg-background",children:l.jsxs("div",{className:"container mx-auto px-4",children:[l.jsx("h2",{className:"text-3xl md:text-4xl font-bold text-center mb-20",children:"The Technology Behind RHIC"}),l.jsxs("div",{className:"max-w-5xl mx-auto relative",children:[l.jsx("div",{className:"absolute left-1/2 top-0 bottom-0 w-0.5 border-l-2 border-dotted border-[#2C8B8B] hidden md:block",style:{transform:"translateX(-50%)"}}),l.jsx("div",{className:"relative mb-32",children:l.jsxs("div",{className:"flex flex-col md:flex-row items-center gap-12",children:[l.jsxs("div",{className:"md:w-1/2 md:text-right md:pr-20",children:[l.jsx("h3",{className:"text-3xl font-bold mb-3 tracking-tight",children:"LEARNS"}),l.jsx("p",{className:"text-lg font-bold mb-3",children:"Real-Time Machine Learning and Vision:"}),l.jsx("p",{className:"text-base leading-relaxed",children:"RHIC analyzes field images and patterns in real time, adapting its response to weed and crop conditions"})]}),l.jsx("div",{className:"relative flex-shrink-0",children:l.jsx("div",{className:"w-24 h-24 rounded-full bg-[#2C8B8B] flex items-center justify-center text-white text-4xl font-bold z-10 relative shadow-xl",children:"1"})}),l.jsx("div",{className:"md:w-1/2 md:pl-20",children:l.jsx("div",{className:"w-56 h-56 rounded-full overflow-hidden shadow-2xl mx-auto border-4 border-[#2C8B8B] img-green-tone",children:l.jsx("img",{src:bC,alt:"Machine Learning Vision",className:"w-full h-full object-cover",style:{objectPosition:"center 60%"}})})})]})}),l.jsx("div",{className:"relative mb-32",children:l.jsxs("div",{className:"flex flex-col md:flex-row-reverse items-center gap-12",children:[l.jsxs("div",{className:"md:w-1/2 md:text-left md:pl-20",children:[l.jsx("h3",{className:"text-3xl font-bold mb-3 tracking-tight",children:"DECIDES"}),l.jsx("p",{className:"text-lg font-bold mb-3",children:"Adaptive Depth Control and Selective Targeting:"}),l.jsx("p",{className:"text-base leading-relaxed",children:"3D mapping and real-time analysis guide each tool to actuate only where needed - protecting crops and soil structure"})]}),l.jsx("div",{className:"relative flex-shrink-0",children:l.jsx("div",{className:"w-24 h-24 rounded-full bg-[#2C8B8B] flex items-center justify-center text-white text-4xl font-bold z-10 relative shadow-xl",children:"2"})}),l.jsx("div",{className:"md:w-1/2 md:pr-20",children:l.jsx("div",{className:"w-56 h-56 rounded-full overflow-hidden shadow-2xl mx-auto border-4 border-[#2C8B8B] img-green-tone",children:l.jsx("img",{src:PV,alt:"Adaptive Control",className:"w-full h-full object-cover"})})})]})}),l.jsx("div",{className:"relative mb-32",children:l.jsxs("div",{className:"flex flex-col md:flex-row items-center gap-12",children:[l.jsxs("div",{className:"md:w-1/2 md:text-right md:pr-20",children:[l.jsx("h3",{className:"text-3xl font-bold mb-3 tracking-tight",children:"ACTS"}),l.jsx("p",{className:"text-lg font-bold mb-3",children:"Human-Inspired Mechanical Action:"}),l.jsx("p",{className:"text-base leading-relaxed",children:"Selective and precise weed removal with minimal soil disruption and zero chemical inputs"})]}),l.jsx("div",{className:"relative flex-shrink-0",children:l.jsx("div",{className:"w-24 h-24 rounded-full bg-[#2C8B8B] flex items-center justify-center text-white text-4xl font-bold z-10 relative shadow-xl",children:"3"})}),l.jsx("div",{className:"md:w-1/2 md:pl-20",children:l.jsx("div",{className:"w-56 h-56 rounded-full overflow-hidden shadow-2xl mx-auto border-4 border-[#2C8B8B] img-green-tone",children:l.jsx("img",{src:jC,alt:"Mechanical Action",className:"w-full h-full object-cover scale-110"})})})]})}),l.jsx("div",{className:"relative",children:l.jsxs("div",{className:"flex flex-col md:flex-row-reverse items-center gap-12",children:[l.jsxs("div",{className:"md:w-1/2 md:text-left md:pl-20",children:[l.jsx("h3",{className:"text-3xl font-bold mb-3 tracking-tight",children:"LIKE A HUMAN WEEDER"}),l.jsx("p",{className:"text-lg font-bold mb-3",children:"Adaptive and Selective:"}),l.jsx("p",{className:"text-base leading-relaxed",children:"Real-time precision weeding that preserves soil, 
242cuts labor dependency, and reduces carbon"})]}),l.jsx("div",{className:"relative flex-shrink-0",children:l.jsx("div",{className:"w-20 h-20 rounded-full bg-white border-4 border-[#2C8B8B] flex items-center justify-center z-10 relative shadow-xl",children:l.jsx(nP,{className:"w-10 h-10 text-[#2C8B8B]"})})}),l.jsx("div",{className:"md:w-1/2 md:pr-20",children:l.jsx("div",{className:"w-56 h-56 rounded-full overflow-hidden shadow-2xl mx-auto border-4 border-[#2C8B8B] img-green-tone",children:l.jsx("img",{src:_V,alt:"Human-like Precision",className:"w-full h-full object-cover"})})})]})})]})]})}),l.jsx("section",{className:"py-24 bg-background",children:l.jsx("div",{className:"container mx-auto px-4",children:l.jsxs("div",{className:"max-w-4xl mx-auto",children:[l.jsx("h2",{className:"text-3xl md:text-4xl font-bold text-center mb-12",children:"Technical Specifications"}),l.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-6",children:[l.jsxs("div",{className:"p-6 border border-border rounded-lg",children:[l.jsx("h4",{className:"font-semibold text-lg mb-2",children:"Weed Elimination Rate"}),l.jsx("p",{className:"text-muted-foreground",children:"95% weed identification rate"}),l.jsx("p",{className:"text-muted-foreground",children:"85% weed removal rate"})]}),l.jsxs("div",{className:"p-6 border border-border rounded-lg",children:[l.jsx("h4",{className:"font-semibold text-lg mb-2",children:"Machine Footprint"}),l.jsx("p",{className:"text-muted-foreground",children:"Dimensions: 11.3 x 7.9 ft"}),l.jsx("p",{className:"text-muted-foreground",children:"Weight: 3660 lb"}),l.jsx("p",{className:"text-muted-foreground",children:"Wheel base: 60-80 in. adjustable"})]}),l.jsxs("div",{className:"p-6 border border-border rounded-lg",children:[l.jsx("h4",{className:"font-semibold text-lg mb-2",children:"Integrated Power Solution"}),l.jsx("p",{className:"text-muted-foreground",children:"Mechanical diesel engine + Generator"})]}),l.jsxs("div",{className:"p-6 border border-border rounded-lg",children:[l.jsx("h4",{className:"font-semibold text-lg mb-2",children:"Coverage"}),l.jsx("p",{className:"text-muted-foreground",children:"Field Capacity: 2-3 acres per hour"}),l.jsx("p",{className:"text-muted-foreground",children:"Working Width: 60-80 inches adjustable"})]}),l.jsxs("div",{className:"p-6 border border-border rounded-lg",children:[l.jsx("h4",{className:"font-semibold text-lg mb-2",children:"Row Spacing"}),l.jsx("p",{className:"text-muted-foreground",children:"Adjustable 30-90cm compatibility"})]})]})]})})})]}),l.jsx(dn,{})]}),RV="/assets/fyeld-logo-BM2ef0Xv.png",IV="/assets/rhic-effective-BmzGrKrK.jpeg",MV=()=>
242{const e=[{icon:JE,title:"100% Chemical-Free",description:"Eliminate herbicide costs and environmental impact with purely mechanical weeding technology.",stat:"Zero chemicals"},{icon:sP,title:"Lower Operating Costs",description:"Reduce labor expenses by up to 70% while maintaining superior weed control.",stat:"70% cost reduction"},{icon:qE,title:"Save Time",description:"Cover up to 2-3 acres per hour with 1 operator.",stat:"2-3 acres/hour"},{icon:iP,title:"Reduce Labor Dependency",description:"Less reliance on manual labor during peak seasons, solving staffing challenges.",stat:"Minimal Labor"},{icon:QE,title:"Soil Health",description:"Preserve soil microbiome and structure without chemical disruption or heavy tillage.",stat:"Better soil health"},{icon:rP,title:"AI Precision Weeding",description:"90% accuracy ensures crops are protected and weeds are eliminated.",stat:"90% accurate"},{icon:tP,title:"Reduced Carbon",description:"Adaptive selective tillage minimizes soil disturbance and reduces CO2 release from the soil",stat:"100% crop-safe"},{icon:ZE,title:"Increased Yields",description:"Better weed control leads to healthier crops, predictable and improved yields.",stat:"Up to 25% yield boost"}];return l.jsxs("div",{className:"min-h-screen",children:[l.jsx(fn,{title:"Benefits of RHIC - Yield, Cost, Soil and Climate Impact",description:"RHIC delivers higher yields, lower costs per hectare, healthier soil, and reduced carbon emissions for farmers.",path:"/benefits"}),l.jsx(un,{}),l.jsxs("main",{className:"pt-20",children:[l.jsx("section",{className:"relative py-24 bg-cover bg-center",style:{backgroundImage:`linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url(${IV})`},children:l.jsxs("div",{className:"container mx-auto px-4 text-center",children:[l.jsx("h1",{className:"text-4xl md:text-6xl font-bold text-white mb-6 animate-fade-in",children:"Why Choose RHIC?"}),l.jsx("p",{className:"text-xl max-w-3xl mx-auto text-white opacity-90",children:"Transform your farm's weed control with proven benefits that impact your bottom line and the environment"})]})}),l.jsx(SC,{}),l.jsx("section",{className:"py-24 bg-background",children:l.jsx("div",{className:"container mx-auto px-4",children:l.jsx("div",{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-4 gap-6 max-w-7xl mx-auto",children:e.map((t,n)=>l.jsx(ze,{className:"p-6 hover:shadow-xl transition-all duration-300 hover:-translate-y-1",children:l.jsxs("div",{className:"flex flex-col h-full",children:[l.jsx("div",{className:"w-12 h-12 rounded-lg bg-primary/10 flex items-center justify-center mb-4",children:l.jsx(t.icon,{className:"w-6 h-6 text-primary"})}),l.jsx("h3",{className:"text-lg font-semibold mb-2",children:t.title}),l.jsx("p",{className:"text-sm text-muted-foreground mb-4 flex-grow",children:t.description}),l.jsx("div",{className:"text-xs font-semibold text-primary",children:t.stat})]})},n))})})}),l.jsx("section",{className:"py-24 bg-muted",children:l.jsxs("div",{className:"container mx-auto px-4",children:[l.jsx("h2",{className:"text-3xl md:text-4xl font-bold text-center mb-12",children:"RHIC vs Traditional Methods"}),l.jsx("div",{className:"max-w-4xl mx-auto",children:l.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-3 gap-4",children:[l.jsxs("div",{className:"text-center p-6 bg-card rounded-lg",children:[l.jsx("h4",{className:"font-semibold mb-2 text-muted-foreground",children:"Manual Weeding"}),l.jsx("p",{className:"text-3xl font-bold text-muted-foreground mb-2",children:"0.1-0.2 "}),l.jsx("p",{className:"text-sm text-muted-foreground",children:"hectares/hour"})]}),l.jsxs("div",{className:"text-center p-6 bg-card rounded-lg",children:[l.jsx("h4",{className:"font-semibold mb-2 text-muted-foreground",children:"Chemical Herbicides"}),l.jsx("p",{className:"text-3xl font-bold text-muted-foreground mb-2",children:"1-1.5"}),l.jsx("p",{className:"text-sm text-muted-foreground",children:"hectares/hour"})]}),l.jsxs("div",{className:"text-center p-6 bg-primary text-primary-foreground rounded-lg shadow-lg",children:[l.jsx("h4",{className:"font-semibold mb-2",children:"RHIC"}),l.jsx("p",{className:"text-3xl font-bold mb-2",children:"2-3"}),l.jsx("p",{className:"text-sm opacity-90",children:"acres/hour"})]})]})})]})}),l.jsx("section",{className:"py-24 bg-background",children:l.jsx("div",{className:"container mx-auto px-4",children:l.jsxs("div",{className:"max-w-4xl mx-auto text-center",children:[l.jsx("h2",{className:"text-3xl md:text-4xl font-bold mb-6",children:"See Real Returns"}),l.jsx("p",{className:"text-muted-foreground mb-8 text-xl",children:"Most farmers see full ROI within 2-3 growing seasons, with ongoing savings every year after.   *Robot as a Service is available in select markets as an affordable and adaptable option for farms of all sizes."}),l.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-3 gap-6 mb-12",children:[l.jsxs("div",{className:"p-6 border border-border rounded-lg",children:[l.jsx("div",{className:"text-4xl font-bold text-primary mb-2",children:"1-2 Years to ROI"}),l.jsx("div",{className:"text-sm text-muted-foreground",children:"Years to ROI"})]}),l.jsxs("div",{className:"p-6 border border-border rounded-lg",children:[l.jsx("div",{className:"text-4xl font-bold text-primary mb-2",children:"70%"}),l.jsx("div",{className:"text-sm text-muted-foreground",children:"Cost Reduction"})]}),l.jsxs("div",{className:"p-6 border border-border rounded-lg",children:[l.jsx("div",{className:"text-4xl font-bold text-primary mb-2",children:"25%"}),l.jsx("div",{className:"text-sm text-muted-foreground",children:"Yield Increase"})]})]}),l.jsx(Oe,{size:"lg",asChild:!0,children:l.jsx(zn,{to:"/testimonials",children:"Hear From Our Farmers"})})]})})}),l.jsx("section",{className:"py-24 bg-muted",children:l.jsxs("div",{className:"container mx-auto px-4",children:[l.jsx("h2",{className:"text-3xl md:text-4xl font-bold text-center mb-12",children:"We Work with Global Leaders"}),l.jsxs("div",{className:"max-w-6xl mx-auto grid grid-cols-2 md:grid-cols-4 gap-8 items-center",children:[l.jsx("div",{className:"flex items-center justify-center p-6 bg-card rounded-lg h-32",children:l.jsx("img",{src:RV,alt:"FYELD",className:"max-h-16 w-auto object-contain"})}),l.jsx("div",{className:"flex items-center justify-center p-6 bg-card rounded-lg h-32",children:l.jsx("img",{src:xC,alt:"RegenUP",className:"max-h-16 w-auto object-contain"})}),l.jsx("div",{className:"flex items-center justify-center p-6 bg-card rounded-lg h-32",children:l.jsx("img",{src:gg,alt:"E44 Ventures",className:"max-h-16 w-auto object-contain"})}),l.jsx("div",{className:"flex items-center justify-center p-6 bg-card rounded-lg h-32",children:l.jsx("img",{src:wC,alt:"NVIDIA Inception Program",className:"max-h-24 w-auto object-contain bg-white rounded-lg p-3"})})]})]})})]}),l.jsx(dn,{})]})},OV=vC.url,ji=[{name:"Bob Jones",farm:"The Chef's Garden",location:"Ohio, USA",image:mC,quote:"Where we see it most beneficial is 
242in training the logic of the machine for the diversity of crops we grow on this farm. We see tremendous opportunity to save on labor and also reduce total tillage.",results:""},{name:"Scott Park",farm:"Park Farming Organics",location:"California, USA",image:pC,quote:"[RHIC's] vertical action is extremely effective in working with an environment that has biomass in most every farm. You have soil structure retained.",results:"100% organic certification maintained, 40 hours saved per week"},{name:"David Miller",farm:"Agronomist",location:"USA",image:gC,quote:"With [RHIC] you have soil structure retained...You're going to be able to reduce tillage and only in those tillage passes [RHIC] will only fracture the soil that needs to be fractured.",results:"ROI in 2 years, expanded operations by 50%"},{name:"Aries Haygood",farm:"A&M Farms",location:"Lyons, Georgia",image:yC,quote:"RHIC is an awesome machine that has actuators that replicate a human going down and pulling the weeds up. It eliminates the need to cultivate the whole field so we don't disturb the biology in the field, it eliminates as much labor as possible and adds to our regenerative practices.",results:""},{name:"Stephen Kraszewski",farm:"Mason Farms Produce LLC",location:"Maryland, USA",image:OV,quote:"AgriPass is a great example of another tool in the producer's toolbox. For organic grain production, accurate, timely, and efficient weed control is a game-changer. AgriPass could potentially reduce the 6-7 annual weed-control passes by half, cutting labor and fuel use while supporting improved soil health.",results:"Could halve weed-control passes, labor, and fuel use"}],DV=()=>{const[e,t]=x.useState(0),n=()=>{t(i=>(i+1)%ji.length)},r=()=>{t(i=>(i-1+ji.length)%ji.length)},s=ji[e];return l.jsxs("div",{className:"min-h-screen",children:[l.jsx(fn,{title:"Testimonials - Farmers and Partners on RHIC by AgriPass",description:"Hear from growers and partners across the US and Europe about their experience with AgriPass's RHIC weeding robot.",path:"/testimonials"}),l.jsx(un,{}),l.jsxs("main",{className:"pt-20",children:[l.jsx("section",{className:"py-24 bg-gradient-subtle",children:l.jsxs("div",{className:"container mx-auto px-4 text-center",children:[l.jsx("h1",{className:"text-4xl md:text-6xl font-bold mb-6 animate-fade-in",children:"Real Farmers, Real Wins"}),l.jsx("p",{className:"text-xl text-muted-foreground max-w-3xl mx-auto",children:"What farmers are saying about AgriPass's RHIC in the field"})]})}),l.jsx("section",{className:"py-24 bg-background",children:l.jsx("div",{className:"container mx-auto px-4",children:l.jsx("div",{className:"max-w-5xl mx-auto",children:l.jsxs(ze,{className:"p-8 md:p-12 shadow-soft",children:[l.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-8 items-center",children:[l.jsxs("div",{className:"order-2 md:order-1",children:[l.jsx(F1,{className:"w-12 h-12 text-primary mb-4"}),l.jsxs("blockquote",{className:"text-xl md:text-2xl font-medium mb-6 leading-relaxed",children:['"',s.quote,'"']}),l.jsxs("div",{children:[l.jsx("div",{className:"font-semibold text-lg",children:s.name}),l.jsx("div",{className:"text-muted-foreground",children:s.farm}),l.jsx("div",{className:"text-sm text-muted-foreground",children:s.location})]})]}),l.jsx("div",{className:"order-1 md:order-2",children:l.jsx("img",{src:s.image,alt:s.name,className:"w-full h-auto rounded-lg shadow-lg"})})]}),l.jsxs("div",{className:"flex items-center justify-center gap-4 mt-8",children:[l.jsx(Oe,{variant:"outline",size:"icon",onClick:r,"aria-label":"Previous testimonial",children:l.jsx(O1,{className:"w-5 h-5"})}),l.jsx("div",{className:"flex gap-2",children:ji.map((i,o)=>l.jsx("button",{onClick:()=>t(o),className:`w-2 h-2 rounded-full transition-all ${o===e?"bg-primary w-8":"bg-muted-foreground/30"}`,"aria-label":`Go to testimonial ${o+1}`},o))}),l.jsx(Oe,{variant:"outline",size:"icon",onClick:n,"aria-label":"Next testimonial",children:l.jsx(D1,{className:"w-5 h-5"})})]})]})})})}),l.jsx("section",{className:"py-24 bg-muted",children:l.jsxs("div",{className:"container mx-auto px-4",children:[l.jsx("h2",{className:"text-3xl md:text-4xl font-bold text-center mb-12",children:"More Success Stories"}),l.jsx("div",{className:"grid grid-cols-1 md:grid-cols-3 gap-8 max-w-6xl mx-auto",children:ji.map((i,o)=>l.jsxs(ze,{className:"p-6 hover:shadow-xl transition-shadow cursor-pointer",onClick:()=>t(o),children:[l.jsx("img",{src:i.image,alt:i.name,className:"w-24 h-24 rounded-full mx-auto mb-4 object-cover"}),l.jsx("h3",{className:"font-semibold text-center mb-1",children:i.name}),l.jsx("p",{className:"text-sm text-muted-foreground text-center mb-4",children:i.farm}),l.jsxs("p",{className:"text-sm text-center line-clamp-3",children:['"',i.quote,'"']})]},o))})]})}),l.jsx("section",{className:"py-24 bg-primary text-primary-foreground",children:l.jsxs("div",{className:"container mx-auto px-4 text-center",children:[l.jsx("h2",{className:"text-3xl md:text-4xl font-bold mb-6",children:"Join These Successful Farmers"}),l.jsx("p",{className:"text-lg mb-8 max-w-2xl mx-auto opacity-90",children:"See for yourself how RHIC can transform your farming operation"}),l.jsx(Oe,{size:"lg",variant:"secondary",asChild:!0,children:l.jsx("a",{href:"https://forms.monday.com/forms/75a5656bd66022bfc48cb18acba8a23f?r=euc1&s=qr",target:"_blank",rel:"noopener noreferrer",children:"Schedule Your Demo"})})]})})]}),l.jsx(dn,{})]})},qx={hidden:{opacity:0,y:20},visible:{opacity:1,y:0,transition:{duration:.6}}},LV=()=>l.jsxs("div",{className:"min-h-screen bg-white",children:[l.jsx(fn,{title:"Terms of Use - AgriPass",description:"Terms governing your use of the AgriPass website and services.",path:"/terms-of-use"}),l.jsx(un,{}),l.jsx("section",{className:"pt-40 pb-16 bg-gradient-to-b from-green-50 to-white",children:l.jsx("div",{className:"container mx-auto px-4",children:l.jsxs(ne.div,{className:"text-center max-w-3xl mx-auto",initial:"hidden",animate:"visible",variants:qx,children:[l.jsx("h1",{className:"text-4xl md:text-5xl font-bold text-gray-900 mb-6",children:"Terms of Use"}),l.jsx("p",{className:"text-lg text-gray-600",children:"Last updated: January 2026"})]})})}),l.jsx("section",{className:"py-16",children:l.jsx("div",{className:"container mx-auto px-4",children:l.jsxs(ne.div,{className:"max-w-4xl mx-auto prose prose-lg",initial:"hidden",
242whileInView:"visible",viewport:{once:!0,margin:"-100px"},variants:qx,children:[l.jsx("h2",{className:"text-2xl font-bold text-gray-900 mb-4",children:"1. Acceptance of Terms"}),l.jsx("p",{className:"text-gray-600 mb-6",children:"By accessing and using the AgriPass website and services, you accept and agree to be bound by the terms and provisions of this agreement. If you do not agree to abide by these terms, please do not use this service."}),l.jsx("h2",{className:"text-2xl font-bold text-gray-900 mb-4",children:"2. Description of Service"}),l.jsx("p",{className:"text-gray-600 mb-6",children:"AgriPass provides agricultural technology solutions, including the RHIC (Robotic High-Intensity Cultivation) system for sustainable weed management. Our services include equipment provision, technical support, and related agricultural consulting."}),l.jsx("h2",{className:"text-2xl font-bold text-gray-900 mb-4",children:"3. User Responsibilities"}),l.jsx("p",{className:"text-gray-600 mb-4",children:"As a user of our services, you agree to:"}),l.jsxs("ul",{className:"list-disc pl-6 text-gray-600 mb-6 space-y-2",children:[l.jsx("li",{children:"Provide accurate and complete information when requested"}),l.jsx("li",{children:"Use our services only for lawful purposes"}),l.jsx("li",{children:"Not interfere with or disrupt the service or servers"}),l.jsx("li",{children:"Comply with all applicable local, state, and federal laws"})]}),l.jsx("h2",{className:"text-2xl font-bold text-gray-900 mb-4",children:"4. Intellectual Property"}),l.jsx("p",{className:"text-gray-600 mb-6",children:"All content on this website, including text, graphics, logos, images, and software, is the property of AgriPass or its content suppliers and is protected by international copyright laws. Unauthorized use of any materials may violate copyright, trademark, and other laws."}),l.jsx("h2",{className:"text-2xl font-bold text-gray-900 mb-4",children:"5. Limitation of Liability"}),l.jsx("p",{className:"text-gray-600 mb-6",children:"AgriPass shall not be liable for any direct, indirect, incidental, special, consequential, or punitive damages resulting from your access to or use of, or inability to access or use, the service or any content provided on or through the service."}),l.jsx("h2",{className:"text-2xl font-bold text-gray-900 mb-4",children:"6. Product and Service Terms"}),l.jsx("p",{className:"text-gray-600 mb-6",children:"Use of AgriPass equipment and services is subject to additional terms and conditions that will be provided at the time of purchase or service agreement. All equipment must be operated in accordance with provided guidelines and safety instructions."}),l.jsx("h2",{className:"text-2xl font-bold text-gray-900 mb-4",children:"7. Privacy"}),l.jsx("p",{className:"text-gray-600 mb-6",children:"Your privacy is important to us. Please review our Privacy Policy to understand how we collect, use, and protect your personal information."}),l.jsx("h2",{className:"text-2xl font-bold text-gray-900 mb-4",children:"8. Modifications to Terms"}),l.jsx("p",{className:"text-gray-600 mb-6",children:"AgriPass reserves the right to modify these terms at any time. We will notify users of any material changes by posting the new terms on this page. Your continued use of the service after any such changes constitutes your acceptance of the new terms."}),l.jsx("h2",{className:"text-2xl font-bold text-gray-900 mb-4",children:"9. Governing Law"}),l.jsx("p",{className:"text-gray-600 mb-6",children:"These terms shall be governed by and construed in accordance with applicable laws, without regard to its conflict of law provisions."}),l.jsx("h2",{className:"text-2xl font-bold text-gray-900 mb-4",children:"10. Contact Information"}),l.jsx("p",{className:"text-gray-600 mb-6",children:"If you have any questions about these Terms of Use, please contact us at:"}),l.jsxs("p",{className:"text-gray-600",children:[l.jsx("strong",{children:"AgriPass"}),l.jsx("br",{}),"Email: [email protected]"]})]})})}),l.jsx(dn,{})]}),Qx={hidden:{opacity:0,y:20},visible:{opacity:1,y:0,transition:{duration:.6}}},FV=()=>l.jsxs("div",{className:"min-h-screen bg-white",children:[l.jsx(fn,{title:"Privacy Policy - AgriPass",description:"How AgriPass collects, uses, and protects your personal information.",path:"/privacy-policy"}),l.jsx(un,{}),l.jsx("section",{className:"pt-40 pb-16 bg-gradient-to-b from-green-50 to-white",children:l.jsx("div",{className:"container mx-auto px-4",children:l.jsxs(ne.div,{className:"text-center max-w-3xl mx-auto",initial:"hidden",animate:"visible",variants:Qx,children:[l.jsx("h1",{className:"text-4xl md:text-5xl font-bold text-gray-900 mb-6",children:"Privacy Policy"}),l.jsx("p",{className:"text-lg text-gray-600",children:"Last updated: January 2026"})]})})}),l.jsx("section",{className:"py-16",children:l.jsx("div",{className:"container mx-auto px-4",children:l.jsxs(ne.div,{className:"max-w-4xl mx-auto prose prose-lg",initial:"hidden",
242whileInView:"visible",viewport:{once:!0,margin:"-100px"},variants:Qx,children:[l.jsx("h2",{className:"text-2xl font-bold text-gray-900 mb-4",children:"1. Introduction"}),l.jsx("p",{className:"text-gray-600 mb-6",children:'AgriPass ("we," "our," or "us") is committed to protecting your privacy. This Privacy Policy explains how we collect, use, disclose, and safeguard your information when you visit our website or use our services.'}),l.jsx("h2",{className:"text-2xl font-bold text-gray-900 mb-4",children:"2. Information We Collect"}),l.jsx("p",{className:"text-gray-600 mb-4",children:"We may collect information about you in various ways, including:"}),l.jsx("h3",{className:"text-xl font-semibold text-gray-900 mb-3",children:"Personal Data"}),l.jsxs("ul",{className:"list-disc pl-6 text-gray-600 mb-4 space-y-2",children:[l.jsx("li",{children:"Name and contact information (email address, phone number)"}),l.jsx("li",{children:"Business information (company name, role, farm details)"}),l.jsx("li",{children:"Communication preferences"}),l.jsx("li",{children:"Any other information you choose to provide"})]}),l.jsx("h3",{className:"text-xl font-semibold text-gray-900 mb-3",children:"Automatically Collected Data"}),l.jsxs("ul",{className:"list-disc pl-6 text-gray-600 mb-6 space-y-2",children:[l.jsx("li",{children:"Device information (browser type, operating system)"}),l.jsx("li",{children:"IP address and location data"}),l.jsx("li",{children:"Usage data (pages visited, time spent on site)"}),l.jsx("li",{children:"Cookies and similar tracking technologies"})]}),l.jsx("h2",{className:"text-2xl font-bold text-gray-900 mb-4",children:"3. How We Use Your Information"}),l.jsx("p",{className:"text-gray-600 mb-4",children:"We use the information we collect to:"}),l.jsxs("ul",{className:"list-disc pl-6 text-gray-600 mb-6 space-y-2",children:[l.jsx("li",{children:"Provide, operate, and maintain our services"}),l.jsx("li",{children:"Improve and personalize your experience"}),l.jsx("li",{children:"Communicate with you about products, services, and updates"}),l.jsx("li",{children:"Process transactions and send related information"}),l.jsx("li",{children:"Respond to your comments, questions, and requests"}),l.jsx("li",{children:"Analyze usage patterns to improve our website and services"}),l.jsx("li",{children:"Comply with legal obligations"})]}),l.jsx("h2",{className:"text-2xl font-bold text-gray-900 mb-4",children:"4. Information Sharing"}),l.jsx("p",{className:"text-gray-600 mb-4",children:"We may share your information in the following situations:"}),l.jsxs("ul",{className:"list-disc pl-6 text-gray-600 mb-6 space-y-2",children:[l.jsxs("li",{children:[l.jsx("strong",{children:"Service Providers:"})," With third parties who perform services on our behalf"]}),l.jsxs("li",{children:[l.jsx("strong",{children:"Business Partners:"})," With partners for joint marketing initiatives"]}),l.jsxs("li",{children:[l.jsx("strong",{children:"Legal Requirements:"})," When required by law or to protect our rights"]}),l.jsxs("li",{children:[l.jsx("strong",{children:"Business Transfers:"})," In connection with a merger, acquisition, or sale of assets"]})]}),l.jsx("h2",{className:"text-2xl font-bold text-gray-900 mb-4",children:"5. Data Security"}),l.jsx("p",{className:"text-gray-600 mb-6",children:"We implement appropriate technical and organizational measures to protect your personal information against unauthorized access, alteration, disclosure, or destruction. However, no method of transmission over the Internet is 100% secure, and we cannot guarantee absolute security."}),l.jsx("h2",{className:"text-2xl font-bold text-gray-900 mb-4",children:"6. Your Privacy Rights"}),l.jsx("p",{className:"text-gray-600 mb-4",children:"Depending on your location, you may have the following rights:"}),l.jsxs("ul",{className:"list-disc pl-6 text-gray-600 mb-6 space-y-2",children:[l.jsx("li",{children:"Access and obtain a copy of your personal data"}),l.jsx("li",{children:"Request correction of inaccurate data"}),l.jsx("li",{children:"Request deletion of your personal data"}),l.jsx("li",{children:"Object to or restrict processing of your data"}),l.jsx("li",{children:"Data portability"}),l.jsx("li",{children:"Withdraw consent at any time"})]}),l.jsx("h2",{className:"text-2xl font-bold text-gray-900 mb-4",children:"7. Data Retention"}),l.jsx("p",{className:"text-gray-600 mb-6",children:"We retain your personal information for as long as necessary to fulfill the purposes for which it was collected, comply with legal obligations, resolve disputes, and enforce our agreements."}),l.jsx("h2",{className:"text-2xl font-bold text-gray-900 mb-4",children:"8. Children's Privacy"}),l.jsx("p",{className:"text-gray-600 mb-6",children:"Our services are not intended for individuals under the age of 18. We do not knowingly collect personal information from children. If you believe we have collected information from a child, please contact us immediately."}),l.jsx("h2",{className:"text-2xl font-bold text-gray-900 mb-4",children:"9. Changes to This Policy"}),l.jsx("p",{className:"text-gray-600 mb-6",children:'We may update this Privacy Policy from time to time. We will notify you of any changes by posting the new Privacy Policy on this page and updating the "Last updated" date.'}),l.jsx("h2",{className:"text-2xl font-bold text-gray-900 mb-4",children:"10. Contact Us"}),l.jsx("p",{className:"text-gray-600 mb-6",children:"If you have questions or concerns about this Privacy Policy, please contact us at:"}),l.jsxs("p",{className:"text-gray-600",children:[l.jsx("strong",{children:"AgriPass"}),l.jsx("br",{}),"Email: [email protected]",l.jsx("br",{}),"Phone: 1 (317) 313-0525"]})]})})}),l.jsx(dn,{})]}),Xx={hidden:{opacity:0,y:20},visible:{opacity:1,y:0,transition:{duration:.6}}},VV=()=>l.jsxs("div",{className:"min-h-screen bg-white",children:[l.jsx(fn,{title:"Cookie Policy - AgriPass",description:"How AgriPass uses cookies and similar technologies on its website.",path:"/cookie-policy"}),l.jsx(un,{}),l.jsx("section",{className:"pt-40 pb-16 bg-gradient-to-b from-green-50 to-white",children:l.jsx("div",{className:"container mx-auto px-4",children:l.jsxs(ne.div,{className:"text-center max-w-3xl mx-auto",initial:"hidden",animate:"visible",variants:Xx,children:[l.jsx("h1",{className:"text-4xl md:text-5xl font-bold text-gray-900 mb-6",children:"Cookie Policy"}),l.jsx("p",{className:"text-lg text-gray-600",children:"Last updated: January 2026"})]})})}),l.jsx("section",{className:"py-16",children:l.jsx("div",{className:"container mx-auto px-4",children:l.jsxs(ne.div,{className:"max-w-4xl mx-auto prose prose-lg",initial:"hidden",
242whileInView:"visible",viewport:{once:!0,margin:"-100px"},variants:Xx,children:[l.jsx("h2",{className:"text-2xl font-bold text-gray-900 mb-4",children:"1. What Are Cookies?"}),l.jsx("p",{className:"text-gray-600 mb-6",children:"Cookies are small text files that are stored on your computer or mobile device when you visit a website. They are widely used to make websites work more efficiently and provide information to website owners. Cookies help us improve your experience on our website."}),l.jsx("h2",{className:"text-2xl font-bold text-gray-900 mb-4",children:"2. How We Use Cookies"}),l.jsx("p",{className:"text-gray-600 mb-4",children:"AgriPass uses cookies for the following purposes:"}),l.jsxs("ul",{className:"list-disc pl-6 text-gray-600 mb-6 space-y-2",children:[l.jsxs("li",{children:[l.jsx("strong",{children:"Essential Cookies:"})," Required for the website to function properly"]}),l.jsxs("li",{children:[l.jsx("strong",{children:"Performance Cookies:"})," Help us understand how visitors interact with our website"]}),l.jsxs("li",{children:[l.jsx("strong",{children:"Functionality Cookies:"})," Remember your preferences and settings"]}),l.jsxs("li",{children:[l.jsx("strong",{children:"Analytics Cookies:"})," Collect anonymous data for statistical analysis"]})]}),l.jsx("h2",{className:"text-2xl font-bold text-gray-900 mb-4",children:"3. Types of Cookies We Use"}),l.jsxs("div",{className:"bg-gray-50 rounded-lg p-6 mb-6",children:[l.jsx("h3",{className:"text-xl font-semibold text-gray-900 mb-3",children:"Essential Cookies"}),l.jsx("p",{className:"text-gray-600 mb-2",children:"These cookies are necessary for the website to function and cannot be switched off. They are usually set in response to actions you take, such as setting privacy preferences or filling in forms."}),l.jsx("p",{className:"text-sm text-gray-500",children:"Duration: Session"})]}),l.jsxs("div",{className:"bg-gray-50 rounded-lg p-6 mb-6",children:[l.jsx("h3",{className:"text-xl font-semibold text-gray-900 mb-3",children:"Analytics Cookies"}),l.jsx("p",{className:"text-gray-600 mb-2",children:"These cookies allow us to count visits and traffic sources so we can measure and improve the performance of our site. They help us know which pages are the most and least popular."}),l.jsx("p",{className:"text-sm text-gray-500",children:"Duration: Up to 2 years"})]}),l.jsxs("div",{className:"bg-gray-50 rounded-lg p-6 mb-6",children:[l.jsx("h3",{className:"text-xl font-semibold text-gray-900 mb-3",children:"Functional Cookies"}),l.jsx("p",{className:"text-gray-600 mb-2",children:"These cookies enable enhanced functionality and personalization. They may be set by us or by third-party providers whose services we have added to our pages."}),l.jsx("p",{className:"text-sm text-gray-500",children:"Duration: Up to 1 year"})]}),l.jsx("h2",{className:"text-2xl font-bold text-gray-900 mb-4",children:"4. Third-Party Cookies"}),l.jsx("p",{className:"text-gray-600 mb-6",children:"Some cookies are placed by third-party services that appear on our pages. We use trusted partners for analytics and functionality improvements. These third parties may use cookies to provide their services, and we do not control their cookie policies."}),l.jsx("h2",{className:"text-2xl font-bold text-gray-900 mb-4",children:"5. Managing Cookies"}),l.jsx("p",{className:"text-gray-600 mb-4",children:"You can control and manage cookies in various ways. Please note that removing or blocking cookies may impact your user experience and parts of our website may no longer be fully accessible."}),l.jsxs("ul",{className:"list-disc pl-6 text-gray-600 mb-6 space-y-2",children:[l.jsxs("li",{children:[l.jsx("strong",{children:"Browser Settings:"})," Most browsers allow you to refuse or delete cookies through settings"]}),l.jsxs("li",{children:[l.jsx("strong",{children:"Third-Party Tools:"})," Various opt-out tools are available for managing advertising cookies"]}),l.jsxs("li",{children:[l.jsx("strong",{children:"Device Settings:"})," Mobile devices offer settings to limit ad tracking"]})]}),l.jsx("h2",{className:"text-2xl font-bold text-gray-900 mb-4",children:"6. Browser-Specific Instru
242ctions"}),l.jsx("p",{className:"text-gray-600 mb-4",children:"To manage cookies in your browser:"}),l.jsxs("ul",{className:"list-disc pl-6 text-gray-600 mb-6 space-y-2",children:[l.jsxs("li",{children:[l.jsx("strong",{children:"Chrome:"})," Settings → Privacy and Security → Cookies and other site data"]}),l.jsxs("li",{children:[l.jsx("strong",{children:"Firefox:"})," Settings → Privacy & Security → Cookies and Site Data"]}),l.jsxs("li",{children:[l.jsx("strong",{children:"Safari:"})," Preferences → Privacy → Manage Website Data"]}),l.jsxs("li",{children:[l.jsx("strong",{children:"Edge:"})," Settings → Cookies and site permissions → Cookies and site data"]})]}),l.jsx("h2",{className:"text-2xl font-bold text-gray-900 mb-4",children:"7. Updates to This Policy"}),l.jsx("p",{className:"text-gray-600 mb-6",children:"We may update this Cookie Policy from time to time to reflect changes in our practices or for operational, legal, or regulatory reasons. Please revisit this page regularly to stay informed about our use of cookies."}),l.jsx("h2",{className:"text-2xl font-bold text-gray-900 mb-4",children:"8. Contact Us"}),l.jsx("p",{className:"text-gray-600 mb-6",children:"If you have any questions about our use of cookies, please contact us at:"}),l.jsxs("p",{className:"text-gray-600",children:[l.jsx("strong",{children:"AgriPass"}),l.jsx("br",{}),"Email: [email protected]",l.jsx("br",{}),"Phone: 1 (317) 313-0525"]})]})})}),l.jsx(dn,{})]}),$V="/assets/harborventure-logo-Ci-6vbIJ.png",Nf={hidden:{opacity:0,y:20},visible:{opacity:1,y:0,transition:{duration:.6}}},BV=()=>l.jsxs("div",{className:"min-h-screen bg-white",children:[l.jsx(fn,{title:"Investor Relations - AgriPass",description:"Backers, board, and growth strategy behind AgriPass and the RHIC robotic weeding platform.",path:"/investor-relations"}),l.jsx(un,{}),l.jsx("section",{className:"pt-40 pb-16 bg-gradient-to-b from-green-50 to-white",children:l.jsx("div",{className:"container mx-auto px-4",children:l.jsxs(ne.div,{className:"text-center max-w-3xl mx-auto",initial:"hidden",animate:"visible",variants:Nf,children:[l.jsx("h1",{className:"text-4xl md:text-5xl font-bold text-gray-900 mb-6",children:"Investor Relations"}),l.jsx("p",{className:"text-lg text-gray-600",children:"Partner with us in revolutionizing sustainable agriculture"})]})})}),l.jsx("section",{className:"py-16",children:l.jsx("div",{className:"container mx-auto px-4",children:l.jsx(ne.div,{className:"max-w-4xl mx-auto",initial:"hidden",whileInView:"visible",viewport:{once:!0,margin:"-100px"},variants:Nf,children:l.jsxs("div",{className:"prose prose-lg max-w-none",children:[l.jsx("p",{className:"text-gray-600 mb-6",children:"AgriPass is at the forefront of agricultural innovation, developing cutting-edge AI robotic solutions that address the critical challenges facing modern farming. RHIC, Robot of Human Inspired Cultivation, our AI weeding machine represents a paradigm shift in what technology can do for sustainable and affordable weed management."}),l.jsx("p",{className:"text-gray-600 mb-6",children:"We are committed to building long-term value for our shareholders while making a positive impact on global food production and environmental sustainability. Our technology eliminates the need for chemical herbicides, reduces labor costs, and promotes regenerative farming practices."}),l.jsx("p",{className:"text-gray-600 mb-6",children:"For investor inquiries, partnership opportunities, or to learn more about our growth strategy and financial outlook, please reach out to our investor relations team."}),l.jsxs("p",{className:"text-gray-600 mb-8",children:[l.jsx("strong",{children:"Contact:"})," [email protected]"]})]})})})}),l.jsx("section",{className:"py-16 border-b border-gray-100",children:l.jsx("div",{className:"container mx-auto px-4",children:l.jsxs(ne.div,{className:"max-w-4xl mx-auto",initial:"hidden",whileInView:"visible",viewport:{once:!0,margin:"-100px"},variants:Nf,children:[l.jsx("h2",{className:"text-3xl md:text-4xl font-bold text-gray-900 mb-10 text-center",children:"Backed by"}),l.jsxs("div",{className:"flex flex-wrap items-center justify-center gap-16 md:gap-24",children:[l.jsx("div",{className:"flex items-center",children:l.jsx("img",{src:gg,alt:"E44 Ventures",className:"h-16 w-auto"})}),l.jsx("div",{className:"flex items-center",children:l.jsx("img",{src:$V,alt:"HarborVenture",className:"h-16 w-auto"})}),l.jsx("div",{className:"text-3xl font-light text-gray-500 tracking-wide",children:"Chione"}),l.jsxs("div",{className:"flex flex-col items-center text-base text-gray-600",children:[l.jsx("span",{className:"font-medium",children:"Tapalpa"}),l.jsx("span",{children:"Gadi Kenny"}),l.jsx("span",{children:"Private & Impact Investors"})]})]})]})})}),!1,l.jsx("section",{className:"py-12",children:l.jsx("div",{className:"container mx-auto px-4",children:l.jsx("div",{className:"max-w-4xl mx-auto",children:l.jsx(Oe,{asChild:!0,variant:"outline",className:"gap-2",children:l.jsxs(zn,{to:"/",children:[l.jsx(I1,{className:"w-4 h-4"}),"Back to Home"]})})})})}),l.jsx(dn,{})]}),zV="/assets/careers-team-DNsYbvFS.jpeg",UV=()=>l.jsxs("div",{className:"min-h-screen bg-background",children:[l.jsx(fn,{title:"Careers at AgriPass - Build the Future of Farming",description:"Join AgriPass to build AI-powered robotic weeders across robotics, computer vision, mechanical engineering, and agronomy.",path:"/careers"}),l.jsx(un,{}),l.jsxs("section",{className:"relative pt-40 pb-20 overflow-hidden",children:[l.jsx("div",{className:"absolute inset-0 bg-gradient-to-b from-primary/10 to-transparent"}),l.jsx("div",{className:"container mx-auto px-4 relative z-10",children:l.jsxs(ne.div,{initial:{opacity:0,y:30}
242,animate:{opacity:1,y:0},transition:{duration:.7},className:"max-w-4xl mx-auto text-center",children:[l.jsx("h1",{className:"text-4xl md:text-5xl lg:text-6xl font-bold mb-6 text-foreground",children:"Weeding the Way to a Sustainable Future"}),l.jsx("p",{className:"text-lg md:text-xl text-muted-foreground max-w-3xl mx-auto leading-relaxed",children:"AgriPass is a fast-growing, mission-driven team transforming how technology and agriculture intersect. From Tel Aviv to fields in the U.S., Europe, and beyond, AgriPass is proving that innovative technology can scale sustainable agriculture profitably and practically."})]})})]}),l.jsx("section",{className:"pb-16",children:l.jsx("div",{className:"container mx-auto px-4",children:l.jsx(ne.div,{initial:{opacity:0,scale:.95},whileInView:{opacity:1,scale:1},transition:{duration:.7},viewport:{once:!0},className:"max-w-5xl mx-auto rounded-2xl overflow-hidden shadow-xl",children:l.jsx("img",{src:zV,alt:"The AgriPass team",className:"w-full h-auto object-cover"})})})}),l.jsx("section",{className:"py-20 bg-muted",children:l.jsxs("div",{className:"container mx-auto px-4",children:[l.jsxs(ne.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},transition:{duration:.6},viewport:{once:!0},className:"max-w-3xl mx-auto text-center",children:[l.jsx("h2",{className:"text-3xl md:text-4xl font-bold mb-6 text-foreground",children:"Why Join AgriPass?"}),l.jsx("p",{className:"text-lg text-muted-foreground leading-relaxed",children:"If you're excited about combining tech with agriculture - robotics, AI, computer vision, mechanical engineering, agronomy, or software - to solve real-world problems for farmers, while contributing to food security and a healthier planet, then we want to hear from you."})]}),l.jsx(ne.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},transition:{duration:.5,delay:.2},viewport:{once:!0},className:"max-w-md mx-auto mt-14 p-8 rounded-xl bg-background shadow-sm text-center",children:l.jsx("h3",{className:"text-xl font-semibold text-foreground",children:"Job Opportunities"})})]})}),l.jsx("section",{className:"py-24",children:l.jsx("div",{className:"container mx-auto px-4 text-center",children:l.jsxs(ne.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},transition:{duration:.6},viewport:{once:!0},children:[l.jsx("h2",{className:"text-3xl md:text-4xl font-bold mb-4 text-foreground",children:"Ready to Make an Impact?"}),l.jsx("p",{className:"text-muted-foreground mb-8 max-w-xl mx-auto",children:"Send us your resume and tell us how you'd like to contribute to the future of sustainable farming."}),l.jsx(Oe,{size:"lg",asChild:!0,className:"text-lg px-8 py-6 h-auto",children:l.jsx("a",{href:"mailto:[email protected]",children:"Get in Touch"})})]})})}),l.jsx(dn,{})]});var El=e=>e.type==="checkbox",Bs=e=>e instanceof Date,Ot=e=>e==null;const CC=e=>typeof e=="object";var rt=e=>!Ot(e)&&!Array.isArray(e)&&CC(e)&&!Bs(e),NC=e=>rt(e)&&e.target?El(e.target)?e.target.checked:e.target.value:e,HV=e=>e.substring(0,e.search(/\.\d+(\.|$)/))||e,kC=(e,t)=>e.has(HV(t)),WV=e=>{const t=e.constructor&&e.constructor.prototype;return rt(t)&&t.hasOwnProperty("isPrototypeOf")},yg=typeof window<"u"&&typeof window.HTMLElement<"u"&&typeof document<"u";function ct(e){let t;const n=Array.isArray(e),r=typeof FileList<"u"?e instanceof FileList:!1;if(e instanceof Date)t=new Date(e);else if(!(yg&&(e instanceof Blob||r))&&(n||rt(e)))if(t=n?[]:{},!n&&!WV(e))t=e;else for(const s in e)e.hasOwnProperty(s)&&(t[s]=ct(e[s]));else return e;return t}var fd=e=>/^\w*$/.test(e),tt=e=>e===void 0,vg=e=>Array.isArray(e)?e.filter(Boolean):[],xg=e=>vg(e.replace(/["|']|\]/g,"").split(/\.|\[/)),G=(e,t,n)=>{if(!t||!rt(e))return n;const r=(fd(t)?[t]:xg(t)).reduce((s,i)=>Ot(s)?s:s[i],e);return tt(r)||r===e?tt(e[t])?n:e[t]:r},en=e=>typeof e=="boolean",Te=(e,t,n)=>{let r=-1;const s=fd(t)?[t]:xg(t),i=s.length,o=i-1;for(;++r<i;){const a=s[r];let c=n;if(r!==o){const u=e[a];c=rt(u)||Array.isArray(u)?u:isNaN(+s[r+1])?{}:[]}if(a==="__proto__"||a==="constructor"||a==="prototype")return;e[a]=c,e=e[a]}};const Su={BLUR:"blur",FOCUS_OUT:"focusout",CHANGE:"change"},Hn={onBlur:"onBlur",onChange:"onChange",onSubmit:"onSubmit",onTouched:"onTouched",all:"all"},wr={max:"max",min:"min",maxLength:"maxLength",minLength:"minLength",pattern:"pattern",required:"required",validate:"validate"},wg=R.createContext(null);wg.displayName="HookFormContext";const hd=()=>R.useContext(wg),KV=e=>{const{children:t,...n}=e;return R.createElement(wg.Provider,{value:n},t)};var TC=(e,t,n,r=!0)=>{const s={defaultValues:t._defaultValues};for(const i in e)Object.defineProperty(s,i,{get:()=>{const o=i;return t._proxyFormState[o]!==Hn.all&&(t._proxyFormState[o]=!r||Hn.all),n&&(n[o]=!0),e[o]}});return s};const bg=typeof window<"u"?R.useLayoutEffect:R.useEffect;function GV(e){const t=hd(),{control:n=t.control,disabled:r,name:s,exact:i}=e||{},[o,a]=R.useState(n._formState),c=R.useRef({isDirty:!1,isLoading:!1,dirtyFields:!1,touchedFields:!1,validatingFields:!1,isValidating:!1,isValid:!1,errors:!1});return bg(()=>n._subscribe({name:s,formState:c.current,exact:i,callback:u=>{!r&&a({...n._formState,...u})}}),[s,r,i]),R.useEffect(()=>{c.current.isValid&&n._setValid(!0)},[n]),R.useMemo(()=>TC(o,n,c.current,!1),[o,n])}var lr=e=>
242typeof e=="string",EC=(e,t,n,r,s)=>lr(e)?(r&&t.watch.add(e),G(n,e,s)):Array.isArray(e)?e.map(i=>(r&&t.watch.add(i),G(n,i))):(r&&(t.watchAll=!0),n),dm=e=>Ot(e)||!CC(e);function Nr(e,t,n=new WeakSet){if(dm(e)||dm(t))return e===t;if(Bs(e)&&Bs(t))return e.getTime()===t.getTime();const r=Object.keys(e),s=Object.keys(t);if(r.length!==s.length)return!1;if(n.has(e)||n.has(t))return!0;n.add(e),n.add(t);for(const i of r){const o=e[i];if(!s.includes(i))return!1;if(i!=="ref"){const a=t[i];if(Bs(o)&&Bs(a)||rt(o)&&rt(a)||Array.isArray(o)&&Array.isArray(a)?!Nr(o,a,n):o!==a)return!1}}return!0}function YV(e){const t=hd(),{control:n=t.control,name:r,defaultValue:s,disabled:i,exact:o,compute:a}=e||{},c=R.useRef(s),u=R.useRef(a),d=R.useRef(void 0);u.current=a;const f=R.useMemo(()=>n._getWatch(r,c.current),[n,r]),[h,m]=R.useState(u.current?u.current(f):f);return bg(()=>n._subscribe({name:r,formState:{values:!0},exact:o,callback:w=>{if(!i){const g=EC(r,n._names,w.values||n._formValues,!1,c.current);if(u.current){const b=u.current(g);Nr(b,d.current)||(m(b),d.current=b)}else m(g)}}}),[n,i,r,o]),R.useEffect(()=>n._removeUnmounted()),h}function ZV(e){const t=hd(),{name:n,disabled:r,control:s=t.control,shouldUnregister:i,defaultValue:o}=e,a=kC(s._names.array,n),c=R.useMemo(()=>G(s._formValues,n,G(s._defaultValues,n,o)),[s,n,o]),u=YV({control:s,name:n,defaultValue:c,exact:!0}),d=GV({control:s,name:n,exact:!0}),f=R.useRef(e),h=R.useRef(s.register(n,{...e.rules,value:u,...en(e.disabled)?{disabled:e.disabled}:{}}));f.current=e;const m=R.useMemo(()=>Object.defineProperties({},{invalid:{enumerable:!0,get:()=>!!G(d.errors,n)},isDirty:{enumerable:!0,get:()=>!!G(d.dirtyFields,n)},isTouched:{enumerable:!0,get:()=>!!G(d.touchedFields,n)},isValidating:{enumerable:!0,get:()=>!!G(d.validatingFields,n)},error:{enumerable:!0,get:()=>G(d.errors,n)}}),[d,n]),w=R.useCallback(p=>h.current.onChange({target:{value:NC(p),name:n},type:Su.CHANGE}),[n]),g=R.useCallback(()=>h.current.onBlur({target:{value:G(s._formValues,n),name:n},type:Su.BLUR}),[n,s._formValues]),b=R.useCallback(p=>{const v=G(s._fields,n);v&&p&&(v._f.ref={focus:()=>p.focus&&p.focus(),select:()=>p.select&&p.select(),setCustomValidity:j=>p.setCustomValidity(j),reportValidity:()=>p.reportValidity()})},[s._fields,n]),y=R.useMemo(()=>({name:n,value:u,...en(r)||d.disabled?{disabled:d.disabled||r}:{},onChange:w,onBlur:g,ref:b}),[n,r,d.disabled,w,g,b,u]);return R.useEffect(()=>{const p=s._options.shouldUnregister||i;s.register(n,{...f.current.rules,...en(f.current.disabled)?{disabled:f.current.disabled}:{}});const v=(j,S)=>{const N=G(s._fields,j);N&&N._f&&(N._f.mount=S)};if(v(n,!0),p){const j=ct(G(s._options.defaultValues,n));Te(s._defaultValues,n,j),tt(G(s._formValues,n))&&Te(s._formValues,n,j)}return!a&&s.register(n),()=>{(a?p&&!s._state.action:p)?s.unregister(n):v(n,!1)}},[n,s,a,i]),R.useEffect(()=>{s._setDisabledField({disabled:r,name:n})},[r,n,s]),R.useMemo(()=>({field:y,formState:d,fieldState:m}),[y,d,m])}const qV=e=>e.render(ZV(e));var PC=(e,t,n,r,s)=>t?{...n[e],types:{...n[e]&&n[e].types?n[e].types:{},[r]:s||!0}}:{},ka=e=>Array.isArray(e)?e:[e],Jx=()=>{let e=[];return{get observers(){return e},next:s=>{for(const i of e)i.next&&i.next(s)},subscribe:s=>(e.push(s),{unsubscribe:()=>{e=e.filter(i=>i!==s)}}),unsubscribe:()=>{e=[]}}},Wt=e=>rt(e)&&!Object.keys(e).length,jg=e=>e.type==="file",Wn=e=>typeof e=="function",Cu=e=>{if(!yg)return!1;const t=e?e.ownerDocument:0;return e instanceof(t&&t.defaultView?t.defaultView.HTMLElement:HTMLElement)},_C=e=>e.type==="select-multiple",Sg=e=>e.type==="radio",QV=e=>Sg(e)||El(e),kf=e=>Cu(e)&&e.isConnected;function XV(e,t){const n=t.slice(0,-1).length;let r=0;for(;r<n;)e=tt(e)?r++:e[t[r++]];return e}function JV(e){for(const t in e)if(e.hasOwnProperty(t)&&!tt(e[t]))return!1;return!0}function it(e,t){const n=Array.isArray(t)?t:fd(t)?[t]:xg(t),r=n.length===1?e:XV(e,n),s=n.length-1,i=n[s];return r&&delete r[i],s!==0&&(rt(r)&&Wt(r)||Array.isArray(r)&&JV(r))&&it(e,n.slice(0,-1)),e}var AC=e=>{for(const t in e)if(Wn(e[t]))return!0;return!1};function Nu(e,t={}){const n=Array.isArray(e);if(rt(e)||n)for(const r in e)Array.isArray(e[r])||rt(e[r])&&!AC(e[r])?(t[r]=Array.isArray(e[r])?[]:{},Nu(e[r],t[r])):Ot(e[r])||(t[r]=!0);return t}function RC(e,t,n){const r=Array.isArray(e);if(rt(e)||r)for(const s in e)Array.isArray(e[s])||rt(e[s])&&!AC(e[s])?tt(t)||dm(n[s])?n[s]=Array.isArray(e[s])?Nu(e[s],[]):{...Nu(e[s])}:RC(e[s],Ot(t)?{}:t[s],n[s]):n[s]=!Nr(e[s],t[s]);return n}var Xo=(e,t)=>
vendor: 5,103 bytes, line 242
242RC(e,t,Nu(t));const e0={value:!1,isValid:!1},t0={value:!0,isValid:!0};var IC=e=>{if(Array.isArray(e)){if(e.length>1){const t=e.filter(n=>n&&n.checked&&!n.disabled).map(n=>n.value);return{value:t,isValid:!!t.length}}return e[0].checked&&!e[0].disabled?e[0].attributes&&!tt(e[0].attributes.value)?tt(e[0].value)||e[0].value===""?t0:{value:e[0].value,isValid:!0}:t0:e0}return e0},MC=(e,{valueAsNumber:t,valueAsDate:n,setValueAs:r})=>tt(e)?e:t?e===""?NaN:e&&+e:n&&lr(e)?new Date(e):r?r(e):e;const n0={isValid:!1,value:null};var OC=e=>Array.isArray(e)?e.reduce((t,n)=>n&&n.checked&&!n.disabled?{isValid:!0,value:n.value}:t,n0):n0;function r0(e){const t=e.ref;return jg(t)?t.files:Sg(t)?OC(e.refs).value:_C(t)?[...t.selectedOptions].map(({value:n})=>n):El(t)?IC(e.refs).value:MC(tt(t.value)?e.ref.value:t.value,e)}var e8=(e,t,n,r)=>{const s={};for(const i of e){const o=G(t,i);o&&Te(s,i,o._f)}return{criteriaMode:n,names:[...e],fields:s,shouldUseNativeValidation:r}},ku=e=>e instanceof RegExp,Jo=e=>tt(e)?e:ku(e)?e.source:rt(e)?ku(e.value)?e.value.source:e.value:e,s0=e=>({isOnSubmit:!e||e===Hn.onSubmit,isOnBlur:e===Hn.onBlur,isOnChange:e===Hn.onChange,isOnAll:e===Hn.all,isOnTouch:e===Hn.onTouched});const i0="AsyncFunction";var t8=e=>!!e&&!!e.validate&&!!(Wn(e.validate)&&e.validate.constructor.name===i0||rt(e.validate)&&Object.values(e.validate).find(t=>t.constructor.name===i0)),n8=e=>e.mount&&(e.required||e.min||e.max||e.maxLength||e.minLength||e.pattern||e.validate),o0=(e,t,n)=>!n&&(t.watchAll||t.watch.has(e)||[...t.watch].some(r=>e.startsWith(r)&&/^\.\w+/.test(e.slice(r.length))));const Ta=(e,t,n,r)=>{for(const s of n||Object.keys(e)){const i=G(e,s);if(i){const{_f:o,...a}=i;if(o){if(o.refs&&o.refs[0]&&t(o.refs[0],s)&&!r)return!0;if(o.ref&&t(o.ref,o.name)&&!r)return!0;if(Ta(a,t))break}else if(rt(a)&&Ta(a,t))break}}};function a0(e,t,n){const r=G(e,n);if(r||fd(n))return{error:r,name:n};const s=n.split(".");for(;s.length;){const i=s.join("."),o=G(t,i),a=G(e,i);if(o&&!Array.isArray(o)&&n!==i)return{name:n};if(a&&a.type)return{name:i,error:a};if(a&&a.root&&a.root.type)return{name:`${i}.root`,error:a.root};s.pop()}return{name:n}}var r8=(e,t,n,r)=>{n(e);const{name:s,...i}=e;return Wt(i)||Object.keys(i).length>=Object.keys(t).length||Object.keys(i).find(o=>t[o]===(!r||Hn.all))},s8=(e,t,n)=>!e||!t||e===t||ka(e).some(r=>r&&(n?r===t:r.startsWith(t)||t.startsWith(r))),i8=(e,t,n,r,s)=>s.isOnAll?!1:!n&&s.isOnTouch?!(t||e):(n?r.isOnBlur:s.isOnBlur)?!e:(n?r.isOnChange:s.isOnChange)?e:!0,o8=(e,t)=>!vg(G(e,t)).length&&it(e,t),a8=(e,t,n)=>{const r=ka(G(e,n));return Te(r,"root",t[n]),Te(e,n,r),e},Oc=e=>lr(e);function l0(e,t,n="validate"){if(Oc(e)||Array.isArray(e)&&e.every(Oc)||en(e)&&!e)return{type:n,message:Oc(e)?e:"",ref:t}}var Si=e=>rt(e)&&!ku(e)?e:{value:e,message:""},c0=async(e,t,n,r,s,i)=>{const{ref:o,refs:a,required:c,maxLength:u,minLength:d,min:f,max:h,pattern:m,validate:w,name:g,valueAsNumber:b,mount:y}=e._f,p=G(n,g);if(!y||t.has(g))return{};const v=a?a[0]:o,j=D=>{s&&v.reportValidity&&(v.setCustomValidity(en(D)?"":D||""),v.reportValidity())},S={},N=Sg(o),k=El(o),T=N||k,_=(b||jg(o))&&tt(o.value)&&tt(p)||Cu(o)&&o.value===""||p===""||Array.isArray(p)&&!p.length,M=PC.bind(null,g,r,S),V=(D,W,L,Q=wr.maxLength,Z=wr.minLength)=>{const K=D?W:L;S[g]={type:D?Q:Z,message:K,ref:o,...M(D?Q:Z,K)}};if(i?!Array.isArray(p)||!p.length:c&&(!T&&(_||Ot(p))||en(p)&&!p||k&&!IC(a).isValid||N&&!OC(a).isValid)){const{value:D,message:W}=Oc(c)?{value:!!c,message:c}:Si(c);if(D&&(S[g]={type:wr.required,message:W,ref:v,...M(wr.required,W)},!r))return j(W),S}if(!_&&(!Ot(f)||!Ot(h))){let D,W;const L=Si(h),Q=Si(f);if(!Ot(p)&&!isNaN(p)){const Z=o.valueAsNumber||p&&+p;Ot(L.value)||(D=Z>L.value),Ot(Q.value)||(W=Z<Q.value)}else{const Z=o.valueAsDate||new Date(p),K=z=>new Date(new Date().toDateString()+" "+z),P=o.type=="time",A=o.type=="week";lr(L.value)&&p&&(D=P?K(p)>K(L.value):A?p>L.value:Z>new Date(L.value)),lr(Q.value)&&p&&(W=P?K(p)<K(Q.value):A?p<Q.value:Z<new Date(Q.value))}if((D||W)&&(V(!!D,L.message,Q.message,wr.max,wr.min),!r))return j(S[g].message),S}if((u||d)&&!_&&(lr(p)||i&&Array.isArray(p))){const D=Si(u),W=Si(d),L=!Ot(D.value)&&p.length>+D.value,Q=!Ot(W.value)&&p.length<+W.value;if((L||Q)&&(V(L,D.message,W.message),!r))return j(S[g].message),S}if(m&&!_&&lr(p)){const{value:D,message:W}=Si(m);if(ku(D)&&!p.match(D)&&(S[g]={type:wr.pattern,message:W,ref:o,...M(wr.pattern,W)},!r))return j(W),S}if(w){if(Wn(w)){const D=await w(p,n),W=l0(D,v);if(W&&(S[g]={...W,...M(wr.validate,W.message)},!r))return j(W.message),S}else if(rt(w)){let D={};for(const W in w){if(!Wt(D)&&!r)break;const L=l0(await w[W](p,n),v,W);L&&(D={...L,...M(W,L.message)},j(L.message),r&&(S[g]=D))}if(!Wt(D)&&(S[g]={ref:v,...D},!r))return S}}return j(!0),S};const l8={mode:Hn.onSubmit,reValidateMode:Hn.onChange,shouldFocusError:!0};function c8(e={}){let t={...l8,...e},n={submitCount:0,isDirty:!1,isReady:!1,isLoading:Wn(t.defaultValues),isValidating:!1,isSubmitted:!1,isSubmitting:!1,isSubmitSuccessful:!1,isValid:!1,touchedFields:{},dirtyFields:{},validatingFields:{},errors:t.errors||{},disabled:t.disabled||!1}
vendor: 4,952 bytes, line 242
242,r={},s=rt(t.defaultValues)||rt(t.values)?ct(t.defaultValues||t.values)||{}:{},i=t.shouldUnregister?{}:ct(s),o={action:!1,mount:!1,watch:!1},a={mount:new Set,disabled:new Set,unMount:new Set,array:new Set,watch:new Set},c,u=0;const d={isDirty:!1,dirtyFields:!1,validatingFields:!1,touchedFields:!1,isValidating:!1,isValid:!1,errors:!1};let f={...d};const h={array:Jx(),state:Jx()},m=t.criteriaMode===Hn.all,w=C=>E=>{clearTimeout(u),u=setTimeout(C,E)},g=async C=>{if(!t.disabled&&(d.isValid||f.isValid||C)){const E=t.resolver?Wt((await k()).errors):await _(r,!0);E!==n.isValid&&h.state.next({isValid:E})}},b=(C,E)=>{!t.disabled&&(d.isValidating||d.validatingFields||f.isValidating||f.validatingFields)&&((C||Array.from(a.mount)).forEach(I=>{I&&(E?Te(n.validatingFields,I,E):it(n.validatingFields,I))}),h.state.next({validatingFields:n.validatingFields,isValidating:!Wt(n.validatingFields)}))},y=(C,E=[],I,U,H=!0,$=!0)=>{if(U&&I&&!t.disabled){if(o.action=!0,$&&Array.isArray(G(r,C))){const q=I(G(r,C),U.argA,U.argB);H&&Te(r,C,q)}if($&&Array.isArray(G(n.errors,C))){const q=I(G(n.errors,C),U.argA,U.argB);H&&Te(n.errors,C,q),o8(n.errors,C)}if((d.touchedFields||f.touchedFields)&&$&&Array.isArray(G(n.touchedFields,C))){const q=I(G(n.touchedFields,C),U.argA,U.argB);H&&Te(n.touchedFields,C,q)}(d.dirtyFields||f.dirtyFields)&&(n.dirtyFields=Xo(s,i)),h.state.next({name:C,isDirty:V(C,E),dirtyFields:n.dirtyFields,errors:n.errors,isValid:n.isValid})}else Te(i,C,E)},p=(C,E)=>{Te(n.errors,C,E),h.state.next({errors:n.errors})},v=C=>{n.errors=C,h.state.next({errors:n.errors,isValid:!1})},j=(C,E,I,U)=>{const H=G(r,C);if(H){const $=G(i,C,tt(I)?G(s,C):I);tt($)||U&&U.defaultChecked||E?Te(i,C,E?$:r0(H._f)):L(C,$),o.mount&&g()}},S=(C,E,I,U,H)=>{let $=!1,q=!1;const me={name:C};if(!t.disabled){if(!I||U){(d.isDirty||f.isDirty)&&(q=n.isDirty,n.isDirty=me.isDirty=V(),$=q!==me.isDirty);const Ce=Nr(G(s,C),E);q=!!G(n.dirtyFields,C),Ce?it(n.dirtyFields,C):Te(n.dirtyFields,C,!0),me.dirtyFields=n.dirtyFields,$=$||(d.dirtyFields||f.dirtyFields)&&q!==!Ce}if(I){const Ce=G(n.touchedFields,C);Ce||(Te(n.touchedFields,C,I),me.touchedFields=n.touchedFields,$=$||(d.touchedFields||f.touchedFields)&&Ce!==I)}$&&H&&h.state.next(me)}return $?me:{}},N=(C,E,I,U)=>{const H=G(n.errors,C),$=(d.isValid||f.isValid)&&en(E)&&n.isValid!==E;if(t.delayError&&I?(c=w(()=>p(C,I)),c(t.delayError)):(clearTimeout(u),c=null,I?Te(n.errors,C,I):it(n.errors,C)),(I?!Nr(H,I):H)||!Wt(U)||$){const q={...U,...$&&en(E)?{isValid:E}:{},errors:n.errors,name:C};n={...n,...q},h.state.next(q)}},k=async C=>{b(C,!0);const E=await t.resolver(i,t.context,e8(C||a.mount,r,t.criteriaMode,t.shouldUseNativeValidation));return b(C),E},T=async C=>{const{errors:E}=await k(C);if(C)for(const I of C){const U=G(E,I);U?Te(n.errors,I,U):it(n.errors,I)}else n.errors=E;return E},_=async(C,E,I={valid:!0})=>{for(const U in C){const H=C[U];if(H){const{_f:$,...q}=H;if($){const me=a.array.has($.name),Ce=H._f&&t8(H._f);Ce&&d.validatingFields&&b([U],!0);const mt=await c0(H,a.disabled,i,m,t.shouldUseNativeValidation&&!E,me);if(Ce&&d.validatingFields&&b([U]),mt[$.name]&&(I.valid=!1,E))break;!E&&(G(mt,$.name)?me?a8(n.errors,mt,$.name):Te(n.errors,$.name,mt[$.name]):it(n.errors,$.name))}!Wt(q)&&await _(q,E,I)}}return I.valid},M=()=>{for(const C of a.unMount){const E=G(r,C);E&&(E._f.refs?E._f.refs.every(I=>!kf(I)):!kf(E._f.ref))&&oe(C)}a.unMount=new Set},V=(C,E)=>!t.disabled&&(C&&E&&Te(i,C,E),!Nr(z(),s)),D=(C,E,I)=>EC(C,a,{...o.mount?i:tt(E)?s:lr(C)?{[C]:E}:E},I,E),W=C=>vg(G(o.mount?i:s,C,t.shouldUnregister?G(s,C,[]):[])),L=(C,E,I={})=>{const U=G(r,C);let H=E;if(U){const $=U._f;$&&(!$.disabled&&Te(i,C,MC(E,$)),H=Cu($.ref)&&Ot(E)?"":E,_C($.ref)?[...$.ref.options].forEach(q=>q.selected=H.includes(q.value)):$.refs?El($.ref)?$.refs.forEach(q=>{(!q.defaultChecked||!q.disabled)&&(Array.isArray(H)?q.checked=!!H.find(me=>me===q.value):q.checked=H===q.value||!!H)}):$.refs.forEach(q=>q.checked=q.value===H):jg($.ref)?$.ref.value="":($.ref.value=H,$.ref.type||h.state.next({name:C,values:ct(i)})))}(I.shouldDirty||I.shouldTouch)&&S(C,H,I.shouldTouch,I.shouldDirty,!0),I.shouldValidate&&A(C)},Q=(C,E,I)=>{for(const U in E){if(!E.hasOwnProperty(U))return;const H=E[U],$=C+"."+U,q=G(r,$);(a.array.has(C)||rt(H)||q&&!q._f)&&!Bs(H)?Q($,H,I):L($,H,I)}},Z=(C,E,I={})=>{const U=G(r,C),H=a.array.has(C),$=ct(E);Te(i,C,$),H?(h.array.next({name:C,values:ct(i)}),(d.isDirty||d.dirtyFields||f.isDirty||f.dirtyFields)&&I.shouldDirty&&h.state.next({name:C,dirtyFields:Xo(s,i),isDirty:V(C,$)})):U&&!U._f&&!Ot($)?Q(C,$,I):L(C,$,I),o0(C,a)&&h.state.next({...n,name:C}),h.state.next({name:o.mount?C:void 0,values:ct(i)})},K=async C=>{o.mount=!0;const E=C.target;let I=E.name,U=!0;const H=G(r,I),$=Ce=>{U=Number.isNaN(Ce)||Bs(Ce)&&isNaN(Ce.getTime())||Nr(Ce,G(i,I,Ce))},q=s0(t.mode),me=s0(t.reValidateMode);if(H){let Ce,mt;const St=E.type?r0(H._f):NC(C),Ut=C.type===Su.BLUR||C.type===Su.FOCUS_OUT,$r=!n8(H._f)&&!t.resolver&&!G(n.errors,I)&&
vendor: 4,349 bytes, line 242
242!H._f.deps||i8(Ut,G(n.touchedFields,I),n.isSubmitted,me,q),hn=o0(I,a,Ut);Te(i,I,St),Ut?(H._f.onBlur&&H._f.onBlur(C),c&&c(0)):H._f.onChange&&H._f.onChange(C);const mn=S(I,St,Ut),hi=!Wt(mn)||hn;if(!Ut&&h.state.next({name:I,type:C.type,values:ct(i)}),$r)return(d.isValid||f.isValid)&&(t.mode==="onBlur"?Ut&&g():Ut||g()),hi&&h.state.next({name:I,...hn?{}:mn});if(!Ut&&hn&&h.state.next({...n}),t.resolver){const{errors:En}=await k([I]);if($(St),U){const Lo=a0(n.errors,r,I),mi=a0(En,r,Lo.name||I);Ce=mi.error,I=mi.name,mt=Wt(En)}}else b([I],!0),Ce=(await c0(H,a.disabled,i,m,t.shouldUseNativeValidation))[I],b([I]),$(St),U&&(Ce?mt=!1:(d.isValid||f.isValid)&&(mt=await _(r,!0)));U&&(H._f.deps&&A(H._f.deps),N(I,mt,Ce,mn))}},P=(C,E)=>{if(G(n.errors,E)&&C.focus)return C.focus(),1},A=async(C,E={})=>{let I,U;const H=ka(C);if(t.resolver){const $=await T(tt(C)?C:H);I=Wt($),U=C?!H.some(q=>G($,q)):I}else C?(U=(await Promise.all(H.map(async $=>{const q=G(r,$);return await _(q&&q._f?{[$]:q}:q)}))).every(Boolean),!(!U&&!n.isValid)&&g()):U=I=await _(r);return h.state.next({...!lr(C)||(d.isValid||f.isValid)&&I!==n.isValid?{}:{name:C},...t.resolver||!C?{isValid:I}:{},errors:n.errors}),E.shouldFocus&&!U&&Ta(r,P,C?H:a.mount),U},z=C=>{const E={...o.mount?i:s};return tt(C)?E:lr(C)?G(E,C):C.map(I=>G(E,I))},se=(C,E)=>({invalid:!!G((E||n).errors,C),isDirty:!!G((E||n).dirtyFields,C),error:G((E||n).errors,C),isValidating:!!G(n.validatingFields,C),isTouched:!!G((E||n).touchedFields,C)}),te=C=>{C&&ka(C).forEach(E=>it(n.errors,E)),h.state.next({errors:C?n.errors:{}})},le=(C,E,I)=>{const U=(G(r,C,{_f:{}})._f||{}).ref,H=G(n.errors,C)||{},{ref:$,message:q,type:me,...Ce}=H;Te(n.errors,C,{...Ce,...E,ref:U}),h.state.next({name:C,errors:n.errors,isValid:!1}),I&&I.shouldFocus&&U&&U.focus&&U.focus()},ie=(C,E)=>Wn(C)?h.state.subscribe({next:I=>"values"in I&&C(D(void 0,E),I)}):D(C,E,!0),ke=C=>h.state.subscribe({next:E=>{s8(C.name,E.name,C.exact)&&r8(E,C.formState||d,At,C.reRenderRoot)&&C.callback({values:{...i},...n,...E,defaultValues:s})}}).unsubscribe,Le=C=>(o.mount=!0,f={...f,...C.formState},ke({...C,formState:f})),oe=(C,E={})=>{for(const I of C?ka(C):a.mount)a.mount.delete(I),a.array.delete(I),E.keepValue||(it(r,I),it(i,I)),!E.keepError&&it(n.errors,I),!E.keepDirty&&it(n.dirtyFields,I),!E.keepTouched&&it(n.touchedFields,I),!E.keepIsValidating&&it(n.validatingFields,I),!t.shouldUnregister&&!E.keepDefaultValue&&it(s,I);h.state.next({values:ct(i)}),h.state.next({...n,...E.keepDirty?{isDirty:V()}:{}}),!E.keepIsValid&&g()},Re=({disabled:C,name:E})=>{(en(C)&&o.mount||C||a.disabled.has(E))&&(C?a.disabled.add(E):a.disabled.delete(E))},Ye=(C,E={})=>{let I=G(r,C);const U=en(E.disabled)||en(t.disabled);return Te(r,C,{...I||{},_f:{...I&&I._f?I._f:{ref:{name:C}},name:C,mount:!0,...E}}),a.mount.add(C),I?Re({disabled:en(E.disabled)?E.disabled:t.disabled,name:C}):j(C,!0,E.value),{...U?{disabled:E.disabled||t.disabled}:{},...t.progressive?{required:!!E.required,min:Jo(E.min),max:Jo(E.max),minLength:Jo(E.minLength),maxLength:Jo(E.maxLength),pattern:Jo(E.pattern)}:{},name:C,onChange:K,onBlur:K,ref:H=>{if(H){Ye(C,E),I=G(r,C);const $=tt(H.value)&&H.querySelectorAll&&H.querySelectorAll("input,select,textarea")[0]||H,q=QV($),me=I._f.refs||[];if(q?me.find(Ce=>Ce===$):$===I._f.ref)return;Te(r,C,{_f:{...I._f,...q?{refs:[...me.filter(kf),$,...Array.isArray(G(s,C))?[{}]:[]],ref:{type:$.type,name:C}}:{ref:$}}}),j(C,!1,void 0,$)}else I=G(r,C,{}),I._f&&(I._f.mount=!1),(t.shouldUnregister||E.shouldUnregister)&&!(kC(a.array,C)&&o.action)&&a.unMount.add(C)}}},Fe=()=>t.shouldFocusError&&Ta(r,P,a.mount),ve=C=>{en(C)&&(h.state.next({disabled:C}),Ta(r,(E,I)=>{const U=G(r,I);U&&(E.disabled=U._f.disabled||C,Array.isArray(U._f.refs)&&U._f.refs.forEach(H=>{H.disabled=U._f.disabled||C}))},0,!1))},X=(C,E)=>async I=>{let U;I&&(I.preventDefault&&I.preventDefault(),I.persist&&I.persist());let H=ct(i);if(h.state.next({isSubmitting:!0}),t.resolver){const{errors:$,values:q}=await k();n.errors=$,H=ct(q)}else await _(r);if(a.disabled.size)for(const $ of a.disabled)it(H,$);if(it(n.errors,"root"),Wt(n.errors)){h.state.next({errors:{}});try{await C(H,I)}catch($){U=$}}else E&&await E({...n.errors},I),Fe(),setTimeout(Fe);if(h.state.next({isSubmitted:!0,isSubmitting:!1,isSubmitSuccessful:Wt(n.errors)&&!U,submitCount:n.submitCount+1,errors:n.errors}),U)throw U},ge=(C,E={})=>
vendor: 4,402 bytes, line 242
242{G(r,C)&&(tt(E.defaultValue)?Z(C,ct(G(s,C))):(Z(C,E.defaultValue),Te(s,C,ct(E.defaultValue))),E.keepTouched||it(n.touchedFields,C),E.keepDirty||(it(n.dirtyFields,C),n.isDirty=E.defaultValue?V(C,ct(G(s,C))):V()),E.keepError||(it(n.errors,C),d.isValid&&g()),h.state.next({...n}))},Pe=(C,E={})=>{const I=C?ct(C):s,U=ct(I),H=Wt(C),$=H?s:U;if(E.keepDefaultValues||(s=I),!E.keepValues){if(E.keepDirtyValues){const q=new Set([...a.mount,...Object.keys(Xo(s,i))]);for(const me of Array.from(q))G(n.dirtyFields,me)?Te($,me,G(i,me)):Z(me,G($,me))}else{if(yg&&tt(C))for(const q of a.mount){const me=G(r,q);if(me&&me._f){const Ce=Array.isArray(me._f.refs)?me._f.refs[0]:me._f.ref;if(Cu(Ce)){const mt=Ce.closest("form");if(mt){mt.reset();break}}}}if(E.keepFieldsRef)for(const q of a.mount)Z(q,G($,q));else r={}}i=t.shouldUnregister?E.keepDefaultValues?ct(s):{}:ct($),h.array.next({values:{...$}}),h.state.next({values:{...$}})}a={mount:E.keepDirtyValues?a.mount:new Set,unMount:new Set,array:new Set,disabled:new Set,watch:new Set,watchAll:!1,focus:""},o.mount=!d.isValid||!!E.keepIsValid||!!E.keepDirtyValues,o.watch=!!t.shouldUnregister,h.state.next({submitCount:E.keepSubmitCount?n.submitCount:0,isDirty:H?!1:E.keepDirty?n.isDirty:!!(E.keepDefaultValues&&!Nr(C,s)),isSubmitted:E.keepIsSubmitted?n.isSubmitted:!1,dirtyFields:H?{}:E.keepDirtyValues?E.keepDefaultValues&&i?Xo(s,i):n.dirtyFields:E.keepDefaultValues&&C?Xo(s,C):E.keepDirty?n.dirtyFields:{},touchedFields:E.keepTouched?n.touchedFields:{},errors:E.keepErrors?n.errors:{},isSubmitSuccessful:E.keepIsSubmitSuccessful?n.isSubmitSuccessful:!1,isSubmitting:!1})},Ze=(C,E)=>Pe(Wn(C)?C(i):C,E),vt=(C,E={})=>{const I=G(r,C),U=I&&I._f;if(U){const H=U.refs?U.refs[0]:U.ref;H.focus&&(H.focus(),E.shouldSelect&&Wn(H.select)&&H.select())}},At=C=>{n={...n,...C}},ht={control:{register:Ye,unregister:oe,getFieldState:se,handleSubmit:X,setError:le,_subscribe:ke,_runSchema:k,_focusError:Fe,_getWatch:D,_getDirty:V,_setValid:g,_setFieldArray:y,_setDisabledField:Re,_setErrors:v,_getFieldArray:W,_reset:Pe,_resetDefaultValues:()=>Wn(t.defaultValues)&&t.defaultValues().then(C=>{Ze(C,t.resetOptions),h.state.next({isLoading:!1})}),_removeUnmounted:M,_disableForm:ve,_subjects:h,_proxyFormState:d,get _fields(){return r},get _formValues(){return i},get _state(){return o},set _state(C){o=C},get _defaultValues(){return s},get _names(){return a},set _names(C){a=C},get _formState(){return n},get _options(){return t},set _options(C){t={...t,...C}}},subscribe:Le,trigger:A,register:Ye,handleSubmit:X,watch:ie,setValue:Z,getValues:z,reset:Ze,resetField:ge,clearErrors:te,unregister:oe,setError:le,setFocus:vt,getFieldState:se};return{...ht,formControl:ht}}function u8(e={}){const t=R.useRef(void 0),n=R.useRef(void 0),[r,s]=R.useState({isDirty:!1,isValidating:!1,isLoading:Wn(e.defaultValues),isSubmitted:!1,isSubmitting:!1,isSubmitSuccessful:!1,isValid:!1,submitCount:0,dirtyFields:{},touchedFields:{},validatingFields:{},errors:e.errors||{},disabled:e.disabled||!1,isReady:!1,defaultValues:Wn(e.defaultValues)?void 0:e.defaultValues});if(!t.current)if(e.formControl)t.current={...e.formControl,formState:r},e.defaultValues&&!Wn(e.defaultValues)&&e.formControl.reset(e.defaultValues,e.resetOptions);else{const{formControl:o,...a}=c8(e);t.current={...a,formState:r}}const i=t.current.control;return i._options=e,bg(()=>{const o=i._subscribe({formState:i._proxyFormState,callback:()=>s({...i._formState}),reRenderRoot:!0});return s(a=>({...a,isReady:!0})),i._formState.isReady=!0,o},[i]),R.useEffect(()=>i._disableForm(e.disabled),[i,e.disabled]),R.useEffect(()=>{e.mode&&(i._options.mode=e.mode),e.reValidateMode&&(i._options.reValidateMode=e.reValidateMode)},[i,e.mode,e.reValidateMode]),R.useEffect(()=>{e.errors&&(i._setErrors(e.errors),i._focusError())},[i,e.errors]),R.useEffect(()=>{e.shouldUnregister&&i._subjects.state.next({values:i._getWatch()})},[i,e.shouldUnregister]),R.useEffect(()=>{if(i._proxyFormState.isDirty){const o=i._getDirty();o!==r.isDirty&&i._subjects.state.next({isDirty:o})}},[i,r.isDirty]),R.useEffect(()=>{e.values&&!Nr(e.values,n.current)?(i._reset(e.values,{keepFieldsRef:!0,...i._options.resetOptions}),n.current=e.values,s(o=>({...o}))):i._resetDefaultValues()},[i,e.values]),R.useEffect(()=>{i._state.mount||(i._setValid(),i._state.mount=!0),i._state.watch&&(i._state.watch=!1,i._subjects.state.next({...i._formState})),i._removeUnmounted()}
vendor: 2,847 bytes, line 242
242),t.current.formState=TC(r,i),t.current}const u0=(e,t,n)=>{if(e&&"reportValidity"in e){const r=G(n,t);e.setCustomValidity(r&&r.message||""),e.reportValidity()}},DC=(e,t)=>{for(const n in t.fields){const r=t.fields[n];r&&r.ref&&"reportValidity"in r.ref?u0(r.ref,n,e):r.refs&&r.refs.forEach(s=>u0(s,n,e))}},d8=(e,t)=>{t.shouldUseNativeValidation&&DC(e,t);const n={};for(const r in e){const s=G(t.fields,r),i=Object.assign(e[r]||{},{ref:s&&s.ref});if(f8(t.names||Object.keys(e),r)){const o=Object.assign({},G(n,r));Te(o,"root",i),Te(n,r,o)}else Te(n,r,i)}return n},f8=(e,t)=>e.some(n=>n.startsWith(t+"."));var h8=function(e,t){for(var n={};e.length;){var r=e[0],s=r.code,i=r.message,o=r.path.join(".");if(!n[o])if("unionErrors"in r){var a=r.unionErrors[0].errors[0];n[o]={message:a.message,type:a.code}}else n[o]={message:i,type:s};if("unionErrors"in r&&r.unionErrors.forEach(function(d){return d.errors.forEach(function(f){return e.push(f)})}),t){var c=n[o].types,u=c&&c[r.code];n[o]=PC(o,t,n,s,u?[].concat(u,r.message):r.message)}e.shift()}return n},m8=function(e,t,n){return n===void 0&&(n={}),function(r,s,i){try{return Promise.resolve(function(o,a){try{var c=Promise.resolve(e[n.mode==="sync"?"parse":"parseAsync"](r,t)).then(function(u){return i.shouldUseNativeValidation&&DC({},i),{errors:{},values:n.raw?r:u}})}catch(u){return a(u)}return c&&c.then?c.then(void 0,a):c}(0,function(o){if(function(a){return Array.isArray(a==null?void 0:a.errors)}(o))return{values:{},errors:d8(h8(o.errors,!i.shouldUseNativeValidation&&i.criteriaMode==="all"),i)};throw o}))}catch(o){return Promise.reject(o)}}},je;(function(e){e.assertEqual=s=>{};function t(s){}e.assertIs=t;function n(s){throw new Error}e.assertNever=n,e.arrayToEnum=s=>{const i={};for(const o of s)i[o]=o;return i},e.getValidEnumValues=s=>{const i=e.objectKeys(s).filter(a=>typeof s[s[a]]!="number"),o={};for(const a of i)o[a]=s[a];return e.objectValues(o)},e.objectValues=s=>e.objectKeys(s).map(function(i){return s[i]}),e.objectKeys=typeof Object.keys=="function"?s=>Object.keys(s):s=>{const i=[];for(const o in s)Object.prototype.hasOwnProperty.call(s,o)&&i.push(o);return i},e.find=(s,i)=>{for(const o of s)if(i(o))return o},e.isInteger=typeof Number.isInteger=="function"?s=>Number.isInteger(s):s=>typeof s=="number"&&Number.isFinite(s)&&Math.floor(s)===s;function r(s,i=" | "){return s.map(o=>typeof o=="string"?`'${o}'`:o).join(i)}e.joinValues=r,e.jsonStringifyReplacer=(s,i)=>typeof i=="bigint"?i.toString():i})(je||(je={}));var d0;(function(e){e.mergeShapes=(t,n)=>({...t,...n})})(d0||(d0={}));const ee=je.arrayToEnum(["string","nan","number","integer","float","boolean","date","bigint","symbol","function","undefined","null","array","object","unknown","promise","void","never","map","set"]),Qr=e=>{switch(typeof e){case"undefined":return ee.undefined;case"string":return ee.string;
vendor: 5,170 bytes, line 242
242case"number":return Number.isNaN(e)?ee.nan:ee.number;case"boolean":return ee.boolean;case"function":return ee.function;case"bigint":return ee.bigint;case"symbol":return ee.symbol;case"object":return Array.isArray(e)?ee.array:e===null?ee.null:e.then&&typeof e.then=="function"&&e.catch&&typeof e.catch=="function"?ee.promise:typeof Map<"u"&&e instanceof Map?ee.map:typeof Set<"u"&&e instanceof Set?ee.set:typeof Date<"u"&&e instanceof Date?ee.date:ee.object;default:return ee.unknown}},B=je.arrayToEnum(["invalid_type","invalid_literal","custom","invalid_union","invalid_union_discriminator","invalid_enum_value","unrecognized_keys","invalid_arguments","invalid_return_type","invalid_date","invalid_string","too_small","too_big","invalid_intersection_types","not_multiple_of","not_finite"]);class Fr extends Error{get errors(){return this.issues}constructor(t){super(),this.issues=[],this.addIssue=r=>{this.issues=[...this.issues,r]},this.addIssues=(r=[])=>{this.issues=[...this.issues,...r]};const n=new.target.prototype;Object.setPrototypeOf?Object.setPrototypeOf(this,n):this.__proto__=n,this.name="ZodError",this.issues=t}format(t){const n=t||function(i){return i.message},r={_errors:[]},s=i=>{for(const o of i.issues)if(o.code==="invalid_union")o.unionErrors.map(s);else if(o.code==="invalid_return_type")s(o.returnTypeError);else if(o.code==="invalid_arguments")s(o.argumentsError);else if(o.path.length===0)r._errors.push(n(o));else{let a=r,c=0;for(;c<o.path.length;){const u=o.path[c];c===o.path.length-1?(a[u]=a[u]||{_errors:[]},a[u]._errors.push(n(o))):a[u]=a[u]||{_errors:[]},a=a[u],c++}}};return s(this),r}static assert(t){if(!(t instanceof Fr))throw new Error(`Not a ZodError: ${t}`)}toString(){return this.message}get message(){return JSON.stringify(this.issues,je.jsonStringifyReplacer,2)}get isEmpty(){return this.issues.length===0}flatten(t=n=>n.message){const n={},r=[];for(const s of this.issues)if(s.path.length>0){const i=s.path[0];n[i]=n[i]||[],n[i].push(t(s))}else r.push(t(s));return{formErrors:r,fieldErrors:n}}get formErrors(){return this.flatten()}}Fr.create=e=>new Fr(e);const fm=(e,t)=>{let n;switch(e.code){case B.invalid_type:e.received===ee.undefined?n="Required":n=`Expected ${e.expected}, received ${e.received}`;break;case B.invalid_literal:n=`Invalid literal value, expected ${JSON.stringify(e.expected,je.jsonStringifyReplacer)}`;break;case B.unrecognized_keys:n=`Unrecognized key(s) in object: ${je.joinValues(e.keys,", ")}`;break;case B.invalid_union:n="Invalid input";break;case B.invalid_union_discriminator:n=`Invalid discriminator value. Expected ${je.joinValues(e.options)}`;break;case B.invalid_enum_value:n=`Invalid enum value. Expected ${je.joinValues(e.options)}, received '${e.received}'`;break;case B.invalid_arguments:n="Invalid function arguments";break;case B.invalid_return_type:n="Invalid function return type";break;case B.invalid_date:n="Invalid date";break;case B.invalid_string:typeof e.validation=="object"?"includes"in e.validation?(n=`Invalid input: must include "${e.validation.includes}"`,typeof e.validation.position=="number"&&(n=`${n} at one or more positions greater than or equal to ${e.validation.position}`)):"startsWith"in e.validation?n=`Invalid input: must start with "${e.validation.startsWith}"`:"endsWith"in e.validation?n=`Invalid input: must end with "${e.validation.endsWith}"`:je.assertNever(e.validation):e.validation!=="regex"?n=`Invalid ${e.validation}`:n="Invalid";break;case B.too_small:e.type==="array"?n=`Array must contain ${e.exact?"exactly":e.inclusive?"at least":"more than"} ${e.minimum} element(s)`:e.type==="string"?n=`String must contain ${e.exact?"exactly":e.inclusive?"at least":"over"} ${e.minimum} character(s)`:e.type==="number"?n=`Number must be ${e.exact?"exactly equal to ":e.inclusive?"greater than or equal to ":"greater than "}${e.minimum}`:e.type==="bigint"?n=`Number must be ${e.exact?"exactly equal to ":e.inclusive?"greater than or equal to ":"greater than "}${e.minimum}`:e.type==="date"?n=`Date must be ${e.exact?"exactly equal to ":e.inclusive?"greater than or equal to ":"greater than "}${new Date(Number(e.minimum))}`:n="Invalid input";break;case B.too_big:e.type==="array"?n=`Array must contain ${e.exact?"exactly":e.inclusive?"at most":"less than"} ${e.maximum} element(s)`:e.type==="string"?n=`String must contain ${e.exact?"exactly":e.inclusive?"at most":"under"} ${e.maximum} character(s)`:e.type==="number"?n=`Number must be ${e.exact?"exactly":e.inclusive?"less than or equal to":"less than"} ${e.maximum}`:e.type==="bigint"?n=`BigInt must be ${e.exact?"exactly":e.inclusive?"less than or equal to":"less than"} ${e.maximum}`:e.type==="date"?n=`Date must be ${e.exact?"exactly":e.inclusive?"smaller than or equal to":"smaller than"} ${new Date(Number(e.maximum))}`:n="Invalid input";break;case B.custom:n="Invalid input";break;case B.invalid_intersection_types:n="Intersection results could not be merged";break;case B.not_multiple_of:n=`Number must be a multiple of ${e.multipleOf}`;break;case B.not_finite:n="Number must be finite";break;default:n=t.defaultError,je.assertNever(e)}return{message:n}};let p8=fm;function g8(){return p8}const y8=e=>
vendor: 17,801 bytes, line 242
242{const{data:t,path:n,errorMaps:r,issueData:s}=e,i=[...n,...s.path||[]],o={...s,path:i};if(s.message!==void 0)return{...s,path:i,message:s.message};let a="";const c=r.filter(u=>!!u).slice().reverse();for(const u of c)a=u(o,{data:t,defaultError:a}).message;return{...s,path:i,message:a}};function Y(e,t){const n=g8(),r=y8({issueData:t,data:e.data,path:e.path,errorMaps:[e.common.contextualErrorMap,e.schemaErrorMap,n,n===fm?void 0:fm].filter(s=>!!s)});e.common.issues.push(r)}class an{constructor(){this.value="valid"}dirty(){this.value==="valid"&&(this.value="dirty")}abort(){this.value!=="aborted"&&(this.value="aborted")}static mergeArray(t,n){const r=[];for(const s of n){if(s.status==="aborted")return ue;s.status==="dirty"&&t.dirty(),r.push(s.value)}return{status:t.value,value:r}}static async mergeObjectAsync(t,n){const r=[];for(const s of n){const i=await s.key,o=await s.value;r.push({key:i,value:o})}return an.mergeObjectSync(t,r)}static mergeObjectSync(t,n){const r={};for(const s of n){const{key:i,value:o}=s;if(i.status==="aborted"||o.status==="aborted")return ue;i.status==="dirty"&&t.dirty(),o.status==="dirty"&&t.dirty(),i.value!=="__proto__"&&(typeof o.value<"u"||s.alwaysSet)&&(r[i.value]=o.value)}return{status:t.value,value:r}}}const ue=Object.freeze({status:"aborted"}),oa=e=>({status:"dirty",value:e}),Tn=e=>({status:"valid",value:e}),f0=e=>e.status==="aborted",h0=e=>e.status==="dirty",jo=e=>e.status==="valid",Tu=e=>typeof Promise<"u"&&e instanceof Promise;var re;(function(e){e.errToObj=t=>typeof t=="string"?{message:t}:t||{},e.toString=t=>typeof t=="string"?t:t==null?void 0:t.message})(re||(re={}));class Ns{constructor(t,n,r,s){this._cachedPath=[],this.parent=t,this.data=n,this._path=r,this._key=s}get path(){return this._cachedPath.length||(Array.isArray(this._key)?this._cachedPath.push(...this._path,...this._key):this._cachedPath.push(...this._path,this._key)),this._cachedPath}}const m0=(e,t)=>{if(jo(t))return{success:!0,data:t.value};if(!e.common.issues.length)throw new Error("Validation failed but no issues detected.");return{success:!1,get error(){if(this._error)return this._error;const n=new Fr(e.common.issues);return this._error=n,this._error}}};function pe(e){if(!e)return{};const{errorMap:t,invalid_type_error:n,required_error:r,description:s}=e;if(t&&(n||r))throw new Error(`Can't use "invalid_type_error" or "required_error" in conjunction with custom error map.`);return t?{errorMap:t,description:s}:{errorMap:(o,a)=>{const{message:c}=e;return o.code==="invalid_enum_value"?{message:c??a.defaultError}:typeof a.data>"u"?{message:c??r??a.defaultError}:o.code!=="invalid_type"?{message:a.defaultError}:{message:c??n??a.defaultError}},description:s}}class we{get description(){return this._def.description}_getType(t){return Qr(t.data)}_getOrReturnCtx(t,n){return n||{common:t.parent.common,data:t.data,parsedType:Qr(t.data),schemaErrorMap:this._def.errorMap,path:t.path,parent:t.parent}}_processInputParams(t){return{status:new an,ctx:{common:t.parent.common,data:t.data,parsedType:Qr(t.data),schemaErrorMap:this._def.errorMap,path:t.path,parent:t.parent}}}_parseSync(t){const n=this._parse(t);if(Tu(n))throw new Error("Synchronous parse encountered promise.");return n}_parseAsync(t){const n=this._parse(t);return Promise.resolve(n)}parse(t,n){const r=this.safeParse(t,n);if(r.success)return r.data;throw r.error}safeParse(t,n){const r={common:{issues:[],async:(n==null?void 0:n.async)??!1,contextualErrorMap:n==null?void 0:n.errorMap},path:(n==null?void 0:n.path)||[],schemaErrorMap:this._def.errorMap,parent:null,data:t,parsedType:Qr(t)},s=this._parseSync({data:t,path:r.path,parent:r});return m0(r,s)}"~validate"(t){var r,s;const n={common:{issues:[],async:!!this["~standard"].async},path:[],schemaErrorMap:this._def.errorMap,parent:null,data:t,parsedType:Qr(t)};if(!this["~standard"].async)try{const i=this._parseSync({data:t,path:[],parent:n});return jo(i)?{value:i.value}:{issues:n.common.issues}}catch(i){(s=(r=i==null?void 0:i.message)==null?void 0:r.toLowerCase())!=null&&s.includes("encountered")&&(this["~standard"].async=!0),n.common={issues:[],async:!0}}return this._parseAsync({data:t,path:[],parent:n}).then(i=>jo(i)?{value:i.value}:{issues:n.common.issues})}async parseAsync(t,n){const r=await this.safeParseAsync(t,n);if(r.success)return r.data;throw r.error}async safeParseAsync(t,n){const r={common:{issues:[],contextualErrorMap:n==null?void 0:n.errorMap,async:!0},path:(n==null?void 0:n.path)||[],schemaErrorMap:this._def.errorMap,parent:null,data:t,parsedType:Qr(t)},s=this._parse({data:t,path:r.path,parent:r}),i=await(Tu(s)?s:Promise.resolve(s));return m0(r,i)}refine(t,n){const r=s=>typeof n=="string"||typeof n>"u"?{message:n}:typeof n=="function"?n(s):n;return this._refinement((s,i)=>{const o=t(s),a=()=>i.addIssue({code:B.custom,...r(s)});return typeof Promise<"u"&&o instanceof Promise?o.then(c=>c?!0:(a(),!1)):o?!0:(a(),!1)})}refinement(t,n){return this._refinement((r,s)=>t(r)?!0:(s.addIssue(typeof n=="function"?n(r,s):n),!1))}_refinement(t){return new Co({schema:this,typeName:de.ZodEffects,effect:{type:"refinement",refinement:t}})}superRefine(t){return this._refinement(t)}constructor(t){this.spa=this.safeParseAsync,this._def=t,this.parse=this.parse.bind(this),this.safeParse=this.safeParse.bind(this),this.parseAsync=this.parseAsync.bind(this),this.safeParseAsync=this.safeParseAsync.bind(this),this.spa=this.spa.bind(this),this.refine=this.refine.bind(this),this.refinement=this.refinement.bind(this),this.superRefine=this.superRefine.bind(this),this.optional=this.optional.bind(this),this.nullable=this.nullable.bind(this),this.nullish=this.nullish.bind(this),this.array=this.array.bind(this),this.promise=this.promise.bind(this),this.or=this.or.bind(this),this.and=this.and.bind(this),this.transform=this.transform.bind(this),this.brand=this.brand.bind(this),this.default=this.default.bind(this),this.catch=this.catch.bind(this),this.describe=this.describe.bind(this),this.pipe=this.pipe.bind(this),this.readonly=this.readonly.bind(this),this.isNullable=this.isNullable.bind(this),this.isOptional=this.isOptional.bind(this),this["~standard"]={version:1,vendor:"zod",validate:n=>this["~validate"](n)}}optional(){return vs.create(this,this._def)}nullable(){return No.create(this,this._def)}nullish(){return this.nullable().optional()}array(){return mr.create(this)}promise(){return Au.create(this,this._def)}or(t){return Pu.create([this,t],this._def)}and(t){return _u.create(this,t,this._def)}transform(t){return new Co({...pe(this._def),schema:this,typeName:de.ZodEffects,effect:{type:"transform",transform:t}})}default(t){const n=typeof t=="function"?t:()=>t;return new mm({...pe(this._def),innerType:this,defaultValue:n,typeName:de.ZodDefault})}brand(){return new $8({typeName:de.ZodBranded,type:this,...pe(this._def)})}catch(t){const n=typeof t=="function"?t:()=>t;return new pm({...pe(this._def),innerType:this,catchValue:n,typeName:de.ZodCatch})}describe(t){const n=this.constructor;return new n({...this._def,description:t})}pipe(t){return Cg.create(this,t)}readonly(){return gm.create(this)}isOptional(){return this.safeParse(void 0).success}isNullable(){return this.safeParse(null).success}}const v8=/^c[^\s-]{8,}$/i,x8=/^[0-9a-z]+$/,w8=/^[0-9A-HJKMNP-TV-Z]{26}$/i,b8=/^[0-9a-fA-F]{8}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{12}$/i,j8=/^[a-z0-9_-]{21}$/i,S8=/^[A-Za-z0-9-_]+\.[A-Za-z0-9-_]+\.[A-Za-z0-9-_]*$/,C8=/^[-+]?P(?!$)(?:(?:[-+]?\d+Y)|(?:[-+]?\d+[.,]\d+Y$))?(?:(?:[-+]?\d+M)|(?:[-+]?\d+[.,]\d+M$))?(?:(?:[-+]?\d+W)|(?:[-+]?\d+[.,]\d+W$))?(?:(?:[-+]?\d+D)|(?:[-+]?\d+[.,]\d+D$))?(?:T(?=[\d+-])(?:(?:[-+]?\d+H)|(?:[-+]?\d+[.,]\d+H$))?(?:(?:[-+]?\d+M)|(?:[-+]?\d+[.,]\d+M$))?(?:[-+]?\d+(?:[.,]\d+)?S)?)??$/,N8=/^(?!\.)(?!.*\.\.)([A-Z0-9_'+\-\.]*)[A-Z0-9_+-]@([A-Z0-9][A-Z0-9\-]*\.)+[A-Z]{2,}$/i,k8="^(\\p{Extended_Pictographic}|\\p{Emoji_Component})+$";let Tf;const T8=/^(?:(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])$/,E8=/^(?:(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\/(3[0-2]|[12]?[0-9])$/,P8=/^(([0-9a-fA-F]{1,4}:){7,7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:)|fe80:(:[0-9a-fA-F]{0,4}){0,4}%[0-9a-zA-Z]{1,}|::(ffff(:0{1,4}){0,1}:){0,1}((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])|([0-9a-fA-F]{1,4}:){1,4}:((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9]))$/,_8=/^(([0-9a-fA-F]{1,4}:){7,7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:)|fe80:(:[0-9a-fA-F]{0,4}){0,4}%[0-9a-zA-Z]{1,}|::(ffff(:0{1,4}){0,1}:){0,1}((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])|([0-9a-fA-F]{1,4}:){1,4}:((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9]))\/(12[0-8]|1[01][0-9]|[1-9]?[0-9])$/,A8=/^([0-9a-zA-Z+/]{4})*(([0-9a-zA-Z+/]{2}==)|([0-9a-zA-Z+/]{3}=))?$/,R8=/^([0-9a-zA-Z-_]{4})*(([0-9a-zA-Z-_]{2}(==)?)|([0-9a-zA-Z-_]{3}(=)?))?$/,LC="((\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-((0[13578]|1[02])-(0[1-9]|[12]\\d|3[01])|(0[469]|11)-(0[1-9]|[12]\\d|30)|(02)-(0[1-9]|1\\d|2[0-8])))",I8=new RegExp(`^${LC}$`);function FC(e){let t="[0-5]\\d";e.precision?t=`${t}\\.\\d{${e.precision}}`:e.precision==null&&(t=`${t}(\\.\\d+)?`);const n=e.precision?"+":"?";return`([01]\\d|2[0-3]):[0-5]\\d(:${t})${n}`}function M8(e){return new RegExp(`^${FC(e)}$`)}function O8(e){let t=`${LC}T${FC(e)}`;const n=[];return n.push(e.local?"Z?":"Z"),e.offset&&n.push("([+-]\\d{2}:?\\d{2})"),t=`${t}(${n.join("|")})`,new RegExp(`^${t}$`)}function D8(e,t){return!!((t==="v4"||!t)&&T8.test(e)||(t==="v6"||!t)&&P8.test(e))}function L8(e,t){if(!S8.test(e))return!1;try{const[n]=e.split(".");if(!n)return!1;const r=n.replace(/-/g,"+").replace(/_/g,"/").padEnd(n.length+(4-n.length%4)%4,"="),s=JSON.parse(atob(r));return!(typeof s!="object"||s===null||"typ"in s&&(s==null?void 0:s.typ)!=="JWT"||!s.alg||t&&s.alg!==t)}catch{return!1}}function F8(e,t){return!!((t==="v4"||!t)&&E8.test(e)||(t==="v6"||!t)&&_8.test(e))}class ls extends we{_parse(t){if(this._def.coerce&&(t.data=String(t.data)),this._getType(t)!==ee.string){const i=this._getOrReturnCtx(t);return Y(i,{code:B.invalid_type,expected:ee.string,received:i.parsedType}),ue}const r=new an;let s;for(const i of this._def.checks)if(i.kind==="min")t.data.length<i.value&&(s=this._getOrReturnCtx(t,s),Y(s,{code:B.too_small,minimum:i.value,type:"string",inclusive:!0,exact:!1,message:i.message}),r.dirty());else if(i.kind==="max")t.data.length>i.value&&(s=this._getOrReturnCtx(t,s),Y(s,{code:B.too_big,maximum:i.value,type:"string",inclusive:!0,exact:!1,message:i.message}),r.dirty());else if(i.kind==="length"){const o=t.data.length>i.value,a=t.data.length<i.value;(o||a)&&(s=this._getOrReturnCtx(t,s),o?Y(s,{code:B.too_big,maximum:i.value,type:"string",inclusive:!0,exact:!0,message:i.message}):a&&Y(s,{code:B.too_small,minimum:i.value,type:"string",inclusive:!0,exact:!0,message:i.message}),r.dirty())}else if(i.kind==="email")N8.test(t.data)||(s=this._getOrReturnCtx(t,s),Y(s,{validation:"email",code:B.invalid_string,message:i.message}),r.dirty());else if(i.kind==="emoji")Tf||(Tf=new RegExp(k8,"u")),Tf.test(t.data)||(s=this._getOrReturnCtx(t,s),Y(s,{validation:"emoji",code:B.invalid_string,message:i.message}),r.dirty());else if(i.kind==="uuid")b8.test(t.data)||(s=this._getOrReturnCtx(t,s),Y(s,{validation:"uuid",code:B.invalid_string,message:i.message}),r.dirty());else if(i.kind==="nanoid")j8.test(t.data)||(s=this._getOrReturnCtx(t,s),Y(s,{validation:"nanoid",code:B.invalid_string,message:i.message}),r.dirty());else if(i.kind==="cuid")v8.test(t.data)||(s=this._getOrReturnCtx(t,s),Y(s,{validation:"cuid",code:B.invalid_string,message:i.message}),r.dirty());else if(i.kind==="cuid2")x8.test(t.data)||(s=this._getOrReturnCtx(t,s),Y(s,{validation:"cuid2",code:B.invalid_string,message:i.message}),r.dirty());else if(i.kind==="ulid")w8.test(t.data)||(s=this._getOrReturnCtx(t,s),Y(s,{validation:"ulid",code:B.invalid_string,message:i.message}),r.dirty());else if(i.kind==="url")try{new URL(t.data)}catch{s=this._getOrReturnCtx(t,s),Y(s,{validation:"url",code:B.invalid_string,message:i.message}),r.dirty()}else i.kind==="regex"?(i.regex.lastIndex=0,i.regex.test(t.data)||(s=this._getOrReturnCtx(t,s),Y(s,{validation:"regex",code:B.invalid_string,message:i.message}),r.dirty())):i.kind==="trim"?t.data=t.data.trim():i.kind==="includes"?t.data.includes(i.value,i.position)||(s=this._getOrReturnCtx(t,s),Y(s,{code:B.invalid_string,validation:{includes:i.value,position:i.position},message:i.message}),r.dirty()):i.kind==="toLowerCase"?t.data=t.data.toLowerCase():i.kind==="toUpperCase"?t.data=t.data.toUpperCase():i.kind==="startsWith"?t.data.startsWith(i.value)||(s=this._getOrReturnCtx(t,s),Y(s,{code:B.invalid_string,validation:{startsWith:i.value},message:i.message}),r.dirty()):i.kind==="endsWith"?t.data.endsWith(i.value)||(s=this._getOrReturnCtx(t,s),Y(s,{code:B.invalid_string,validation:{endsWith:i.value},message:i.message}),r.dirty()):i.kind==="datetime"?O8(i).test(t.data)||(s=this._getOrReturnCtx(t,s),Y(s,{code:B.invalid_string,validation:"datetime",message:i.message}),r.dirty()):i.kind==="date"?I8.test(t.data)||(s=this._getOrReturnCtx(t,s),Y(s,{code:B.invalid_string,validation:"date",message:i.message}),r.dirty()):i.kind==="time"?M8(i).test(t.data)||(s=this._getOrReturnCtx(t,s),Y(s,{code:B.invalid_string,validation:"time",message:i.message}),r.dirty()):i.kind==="duration"?C8.test(t.data)||(s=this._getOrReturnCtx(t,s),Y(s,{validation:"duration",code:B.invalid_string,message:i.message}),r.dirty()):i.kind==="ip"?D8(t.data,i.version)||(s=this._getOrReturnCtx(t,s),Y(s,{validation:"ip",code:B.invalid_string,message:i.message}),r.dirty()):i.kind==="jwt"?L8(t.data,i.alg)||(s=this._getOrReturnCtx(t,s),Y(s,{validation:"jwt",code:B.invalid_string,message:i.message}),r.dirty()):i.kind==="cidr"?F8(t.data,i.version)||(s=this._getOrReturnCtx(t,s),Y(s,{validation:"cidr",code:B.invalid_string,message:i.message}),r.dirty()):i.kind==="base64"?A8.test(t.data)||(s=this._getOrReturnCtx(t,s),Y(s,{validation:"base64",code:B.invalid_string,message:i.message}),r.dirty()):i.kind==="base64url"?R8.test(t.data)||(s=this._getOrReturnCtx(t,s),Y(s,{validation:"base64url",code:B.invalid_string,message:i.message}),r.dirty()):je.assertNever(i);return{status:r.value,value:t.data}}_regex(t,n,r){return this.refinement(s=>t.test(s),{validation:n,code:B.invalid_string,...re.errToObj(r)})}_addCheck(t){return new ls({...this._def,checks:[...this._def.checks,t]})}email(t){return this._addCheck({kind:"email",...re.errToObj(t)})}url(t){return this._addCheck({kind:"url",...re.errToObj(t)})}emoji(t){return this._addCheck({kind:"emoji",...re.errToObj(t)})}uuid(t){return this._addCheck({kind:"uuid",...re.errToObj(t)})}nanoid(t){return this._addCheck({kind:"nanoid",...re.errToObj(t)})}cuid(t){return this._addCheck({kind:"cuid",...re.errToObj(t)})}cuid2(t){return this._addCheck({kind:"cuid2",...re.errToObj(t)})}ulid(t){return this._addCheck({kind:"ulid",...re.errToObj(t)})}base64(t){return this._addCheck({kind:"base64",...re.errToObj(t)})}base64url(t){return this._addCheck({kind:"base64url",...re.errToObj(t)})}jwt(t){return this._addCheck({kind:"jwt",...re.errToObj(t)})}ip(t){return this._addCheck({kind:"ip",...re.errToObj(t)})}cidr(t){return this._addCheck({kind:"cidr",...re.errToObj(t)})}datetime(t){return typeof t=="string"?this._addCheck({kind:"datetime",precision:null,offset:!1,local:!1,message:t}):this._addCheck({kind:"datetime",precision:typeof(t==null?void 0:t.precision)>"u"?null:t==null?void 0:t.precision,offset:(t==null?void 0:t.offset)??!1,local:(t==null?void 0:t.local)??!1,...re.errToObj(t==null?void 0:t.message)})}date(t){return this._addCheck({kind:"date",message:t})}time(t){return typeof t=="string"?this._addCheck({kind:"time",precision:null,message:t}):this._addCheck({kind:"time",precision:typeof(t==null?void 0:t.precision)>"u"?null:t==null?void 0:t.precision,...re.errToObj(t==null?void 0:t.message)})}duration(t){return this._addCheck({kind:"duration",...re.errToObj(t)})}regex(t,n){return this._addCheck({kind:"regex",regex:t,...re.errToObj(n)})}includes(t,n){return this._addCheck({kind:"includes",value:t,position:n==null?void 0:n.position,...re.errToObj(n==null?void 0:n.message)})}startsWith(t,n){return this._addCheck({kind:"startsWith",value:t,...re.errToObj(n)})}endsWith(t,n){return this._addCheck({kind:"endsWith",value:t,...re.errToObj(n)})}min(t,n){return this._addCheck({kind:"min",value:t,...re.errToObj(n)})}max(t,n){return this._addCheck({kind:"max",value:t,...re.errToObj(n)})}length(t,n){return this._addCheck({kind:"length",value:t,...re.errToObj(n)})}nonempty(t){return this.min(1,re.errToObj(t))}trim(){return new ls({...this._def,checks:[...this._def.checks,{kind:"trim"}]})}toLowerCase(){return new ls({...this._def,checks:[...this._def.checks,{kind:"toLowerCase"}]})}toUpperCase(){return new ls({...this._def,checks:[...this._def.checks,{kind:"toUpperCase"}]})}get isDatetime(){return!!this._def.checks.find(t=>t.kind==="datetime")}
vendor: 4,658 bytes, line 242
242get isDate(){return!!this._def.checks.find(t=>t.kind==="date")}get isTime(){return!!this._def.checks.find(t=>t.kind==="time")}get isDuration(){return!!this._def.checks.find(t=>t.kind==="duration")}get isEmail(){return!!this._def.checks.find(t=>t.kind==="email")}get isURL(){return!!this._def.checks.find(t=>t.kind==="url")}get isEmoji(){return!!this._def.checks.find(t=>t.kind==="emoji")}get isUUID(){return!!this._def.checks.find(t=>t.kind==="uuid")}get isNANOID(){return!!this._def.checks.find(t=>t.kind==="nanoid")}get isCUID(){return!!this._def.checks.find(t=>t.kind==="cuid")}get isCUID2(){return!!this._def.checks.find(t=>t.kind==="cuid2")}get isULID(){return!!this._def.checks.find(t=>t.kind==="ulid")}get isIP(){return!!this._def.checks.find(t=>t.kind==="ip")}get isCIDR(){return!!this._def.checks.find(t=>t.kind==="cidr")}get isBase64(){return!!this._def.checks.find(t=>t.kind==="base64")}get isBase64url(){return!!this._def.checks.find(t=>t.kind==="base64url")}get minLength(){let t=null;for(const n of this._def.checks)n.kind==="min"&&(t===null||n.value>t)&&(t=n.value);return t}get maxLength(){let t=null;for(const n of this._def.checks)n.kind==="max"&&(t===null||n.value<t)&&(t=n.value);return t}}ls.create=e=>new ls({checks:[],typeName:de.ZodString,coerce:(e==null?void 0:e.coerce)??!1,...pe(e)});function V8(e,t){const n=(e.toString().split(".")[1]||"").length,r=(t.toString().split(".")[1]||"").length,s=n>r?n:r,i=Number.parseInt(e.toFixed(s).replace(".","")),o=Number.parseInt(t.toFixed(s).replace(".",""));return i%o/10**s}class ol extends we{constructor(){super(...arguments),this.min=this.gte,this.max=this.lte,this.step=this.multipleOf}_parse(t){if(this._def.coerce&&(t.data=Number(t.data)),this._getType(t)!==ee.number){const i=this._getOrReturnCtx(t);return Y(i,{code:B.invalid_type,expected:ee.number,received:i.parsedType}),ue}let r;const s=new an;for(const i of this._def.checks)i.kind==="int"?je.isInteger(t.data)||(r=this._getOrReturnCtx(t,r),Y(r,{code:B.invalid_type,expected:"integer",received:"float",message:i.message}),s.dirty()):i.kind==="min"?(i.inclusive?t.data<i.value:t.data<=i.value)&&(r=this._getOrReturnCtx(t,r),Y(r,{code:B.too_small,minimum:i.value,type:"number",inclusive:i.inclusive,exact:!1,message:i.message}),s.dirty()):i.kind==="max"?(i.inclusive?t.data>i.value:t.data>=i.value)&&(r=this._getOrReturnCtx(t,r),Y(r,{code:B.too_big,maximum:i.value,type:"number",inclusive:i.inclusive,exact:!1,message:i.message}),s.dirty()):i.kind==="multipleOf"?V8(t.data,i.value)!==0&&(r=this._getOrReturnCtx(t,r),Y(r,{code:B.not_multiple_of,multipleOf:i.value,message:i.message}),s.dirty()):i.kind==="finite"?Number.isFinite(t.data)||(r=this._getOrReturnCtx(t,r),Y(r,{code:B.not_finite,message:i.message}),s.dirty()):je.assertNever(i);return{status:s.value,value:t.data}}gte(t,n){return this.setLimit("min",t,!0,re.toString(n))}gt(t,n){return this.setLimit("min",t,!1,re.toString(n))}lte(t,n){return this.setLimit("max",t,!0,re.toString(n))}lt(t,n){return this.setLimit("max",t,!1,re.toString(n))}setLimit(t,n,r,s){return new ol({...this._def,checks:[...this._def.checks,{kind:t,value:n,inclusive:r,message:re.toString(s)}]})}_addCheck(t){return new ol({...this._def,checks:[...this._def.checks,t]})}int(t){return this._addCheck({kind:"int",message:re.toString(t)})}positive(t){return this._addCheck({kind:"min",value:0,inclusive:!1,message:re.toString(t)})}negative(t){return this._addCheck({kind:"max",value:0,inclusive:!1,message:re.toString(t)})}nonpositive(t){return this._addCheck({kind:"max",value:0,inclusive:!0,message:re.toString(t)})}nonnegative(t){return this._addCheck({kind:"min",value:0,inclusive:!0,message:re.toString(t)})}multipleOf(t,n){return this._addCheck({kind:"multipleOf",value:t,message:re.toString(n)})}finite(t){return this._addCheck({kind:"finite",message:re.toString(t)})}safe(t){return this._addCheck({kind:"min",inclusive:!0,value:Number.MIN_SAFE_INTEGER,message:re.toString(t)})._addCheck({kind:"max",inclusive:!0,value:Number.MAX_SAFE_INTEGER,message:re.toString(t)})}get minValue(){let t=null;for(const n of this._def.checks)n.kind==="min"&&(t===null||n.value>t)&&(t=n.value);return t}get maxValue(){let t=null;for(const n of this._def.checks)n.kind==="max"&&(t===null||n.value<t)&&(t=n.value);return t}get isInt(){return!!this._def.checks.find(t=>t.kind==="int"||t.kind==="multipleOf"&&je.isInteger(t.value))}get isFinite(){let t=null,n=null;for(const r of this._def.checks){if(r.kind==="finite"||r.kind==="int"||r.kind==="multipleOf")return!0;r.kind==="min"?(n===null||r.value>n)&&(n=r.value):r.kind==="max"&&(t===null||r.value<t)&&(t=r.value)}return Number.isFinite(n)&&Number.isFinite(t)}
vendor: 6,689 bytes, line 242
242}ol.create=e=>new ol({checks:[],typeName:de.ZodNumber,coerce:(e==null?void 0:e.coerce)||!1,...pe(e)});class al extends we{constructor(){super(...arguments),this.min=this.gte,this.max=this.lte}_parse(t){if(this._def.coerce)try{t.data=BigInt(t.data)}catch{return this._getInvalidInput(t)}if(this._getType(t)!==ee.bigint)return this._getInvalidInput(t);let r;const s=new an;for(const i of this._def.checks)i.kind==="min"?(i.inclusive?t.data<i.value:t.data<=i.value)&&(r=this._getOrReturnCtx(t,r),Y(r,{code:B.too_small,type:"bigint",minimum:i.value,inclusive:i.inclusive,message:i.message}),s.dirty()):i.kind==="max"?(i.inclusive?t.data>i.value:t.data>=i.value)&&(r=this._getOrReturnCtx(t,r),Y(r,{code:B.too_big,type:"bigint",maximum:i.value,inclusive:i.inclusive,message:i.message}),s.dirty()):i.kind==="multipleOf"?t.data%i.value!==BigInt(0)&&(r=this._getOrReturnCtx(t,r),Y(r,{code:B.not_multiple_of,multipleOf:i.value,message:i.message}),s.dirty()):je.assertNever(i);return{status:s.value,value:t.data}}_getInvalidInput(t){const n=this._getOrReturnCtx(t);return Y(n,{code:B.invalid_type,expected:ee.bigint,received:n.parsedType}),ue}gte(t,n){return this.setLimit("min",t,!0,re.toString(n))}gt(t,n){return this.setLimit("min",t,!1,re.toString(n))}lte(t,n){return this.setLimit("max",t,!0,re.toString(n))}lt(t,n){return this.setLimit("max",t,!1,re.toString(n))}setLimit(t,n,r,s){return new al({...this._def,checks:[...this._def.checks,{kind:t,value:n,inclusive:r,message:re.toString(s)}]})}_addCheck(t){return new al({...this._def,checks:[...this._def.checks,t]})}positive(t){return this._addCheck({kind:"min",value:BigInt(0),inclusive:!1,message:re.toString(t)})}negative(t){return this._addCheck({kind:"max",value:BigInt(0),inclusive:!1,message:re.toString(t)})}nonpositive(t){return this._addCheck({kind:"max",value:BigInt(0),inclusive:!0,message:re.toString(t)})}nonnegative(t){return this._addCheck({kind:"min",value:BigInt(0),inclusive:!0,message:re.toString(t)})}multipleOf(t,n){return this._addCheck({kind:"multipleOf",value:t,message:re.toString(n)})}get minValue(){let t=null;for(const n of this._def.checks)n.kind==="min"&&(t===null||n.value>t)&&(t=n.value);return t}get maxValue(){let t=null;for(const n of this._def.checks)n.kind==="max"&&(t===null||n.value<t)&&(t=n.value);return t}}al.create=e=>new al({checks:[],typeName:de.ZodBigInt,coerce:(e==null?void 0:e.coerce)??!1,...pe(e)});class p0 extends we{_parse(t){if(this._def.coerce&&(t.data=!!t.data),this._getType(t)!==ee.boolean){const r=this._getOrReturnCtx(t);return Y(r,{code:B.invalid_type,expected:ee.boolean,received:r.parsedType}),ue}return Tn(t.data)}}p0.create=e=>new p0({typeName:de.ZodBoolean,coerce:(e==null?void 0:e.coerce)||!1,...pe(e)});class Eu extends we{_parse(t){if(this._def.coerce&&(t.data=new Date(t.data)),this._getType(t)!==ee.date){const i=this._getOrReturnCtx(t);return Y(i,{code:B.invalid_type,expected:ee.date,received:i.parsedType}),ue}if(Number.isNaN(t.data.getTime())){const i=this._getOrReturnCtx(t);return Y(i,{code:B.invalid_date}),ue}const r=new an;let s;for(const i of this._def.checks)i.kind==="min"?t.data.getTime()<i.value&&(s=this._getOrReturnCtx(t,s),Y(s,{code:B.too_small,message:i.message,inclusive:!0,exact:!1,minimum:i.value,type:"date"}),r.dirty()):i.kind==="max"?t.data.getTime()>i.value&&(s=this._getOrReturnCtx(t,s),Y(s,{code:B.too_big,message:i.message,inclusive:!0,exact:!1,maximum:i.value,type:"date"}),r.dirty()):je.assertNever(i);return{status:r.value,value:new Date(t.data.getTime())}}_addCheck(t){return new Eu({...this._def,checks:[...this._def.checks,t]})}min(t,n){return this._addCheck({kind:"min",value:t.getTime(),message:re.toString(n)})}max(t,n){return this._addCheck({kind:"max",value:t.getTime(),message:re.toString(n)})}get minDate(){let t=null;for(const n of this._def.checks)n.kind==="min"&&(t===null||n.value>t)&&(t=n.value);return t!=null?new Date(t):null}get maxDate(){let t=null;for(const n of this._def.checks)n.kind==="max"&&(t===null||n.value<t)&&(t=n.value);return t!=null?new Date(t):null}}Eu.create=e=>new Eu({checks:[],coerce:(e==null?void 0:e.coerce)||!1,typeName:de.ZodDate,...pe(e)});class g0 extends we{_parse(t){if(this._getType(t)!==ee.symbol){const r=this._getOrReturnCtx(t);return Y(r,{code:B.invalid_type,expected:ee.symbol,received:r.parsedType}),ue}return Tn(t.data)}}g0.create=e=>new g0({typeName:de.ZodSymbol,...pe(e)});class y0 extends we{_parse(t){if(this._getType(t)!==ee.undefined){const r=this._getOrReturnCtx(t);return Y(r,{code:B.invalid_type,expected:ee.undefined,received:r.parsedType}),ue}return Tn(t.data)}}y0.create=e=>new y0({typeName:de.ZodUndefined,...pe(e)});class v0 extends we{_parse(t){if(this._getType(t)!==ee.null){const r=this._getOrReturnCtx(t);return Y(r,{code:B.invalid_type,expected:ee.null,received:r.parsedType}),ue}return Tn(t.data)}}v0.create=e=>new v0({typeName:de.ZodNull,...pe(e)});class x0 extends we{constructor(){super(...arguments),this._any=!0}_parse(t){return Tn(t.data)}}x0.create=e=>new x0({typeName:de.ZodAny,...pe(e)});class w0 extends we{constructor(){super(...arguments),this._unknown=!0}_parse(t){return Tn(t.data)}}w0.create=e=>new w0({typeName:de.ZodUnknown,...pe(e)});class ks extends we{_parse(t){const n=this._getOrReturnCtx(t);return Y(n,{code:B.invalid_type,expected:ee.never,received:n.parsedType}),ue}}ks.create=e=>new ks({typeName:de.ZodNever,...pe(e)});class b0 extends we{_parse(t){if(this._getType(t)!==ee.undefined){const r=this._getOrReturnCtx(t);return Y(r,{code:B.invalid_type,expected:ee.void,received:r.parsedType}),ue}return Tn(t.data)}}b0.create=e=>new b0({typeName:de.ZodVoid,...pe(e)});class mr extends we{_parse(t){const{ctx:n,status:r}=this._processInputParams(t),s=this._def;if(n.parsedType!==ee.array)return Y(n,{code:B.invalid_type,expected:ee.array,received:n.parsedType}),ue;if(s.exactLength!==null){const o=n.data.length>s.exactLength.value,a=n.data.length<s.exactLength.value;(o||a)&&(Y(n,{code:o?B.too_big:B.too_small,minimum:a?s.exactLength.value:void 0,maximum:o?s.exactLength.value:void 0,type:"array",inclusive:!0,exact:!0,message:s.exactLength.message}),r.dirty())}if(s.minLength!==null&&n.data.length<s.minLength.value&&(Y(n,{code:B.too_small,minimum:s.minLength.value,type:"array",inclusive:!0,exact:!1,message:s.minLength.message}),r.dirty()),s.maxLength!==null&&n.data.length>s.maxLength.value&&(Y(n,{code:B.too_big,maximum:s.maxLength.value,type:"array",inclusive:!0,exact:!1,message:s.maxLength.message}),r.dirty()),n.common.async)return Promise.all([...n.data].map((o,a)=>s.type._parseAsync(new Ns(n,o,n.path,a)))).then(o=>an.mergeArray(r,o));const i=[...n.data].map((o,a)=>s.type._parseSync(new Ns(n,o,n.path,a)));return an.mergeArray(r,i)}
vendor: 5,220 bytes, line 242
242get element(){return this._def.type}min(t,n){return new mr({...this._def,minLength:{value:t,message:re.toString(n)}})}max(t,n){return new mr({...this._def,maxLength:{value:t,message:re.toString(n)}})}length(t,n){return new mr({...this._def,exactLength:{value:t,message:re.toString(n)}})}nonempty(t){return this.min(1,t)}}mr.create=(e,t)=>new mr({type:e,minLength:null,maxLength:null,exactLength:null,typeName:de.ZodArray,...pe(t)});function ki(e){if(e instanceof Xe){const t={};for(const n in e.shape){const r=e.shape[n];t[n]=vs.create(ki(r))}return new Xe({...e._def,shape:()=>t})}else return e instanceof mr?new mr({...e._def,type:ki(e.element)}):e instanceof vs?vs.create(ki(e.unwrap())):e instanceof No?No.create(ki(e.unwrap())):e instanceof ai?ai.create(e.items.map(t=>ki(t))):e}class Xe extends we{constructor(){super(...arguments),this._cached=null,this.nonstrict=this.passthrough,this.augment=this.extend}_getCached(){if(this._cached!==null)return this._cached;const t=this._def.shape(),n=je.objectKeys(t);return this._cached={shape:t,keys:n},this._cached}_parse(t){if(this._getType(t)!==ee.object){const u=this._getOrReturnCtx(t);return Y(u,{code:B.invalid_type,expected:ee.object,received:u.parsedType}),ue}const{status:r,ctx:s}=this._processInputParams(t),{shape:i,keys:o}=this._getCached(),a=[];if(!(this._def.catchall instanceof ks&&this._def.unknownKeys==="strip"))for(const u in s.data)o.includes(u)||a.push(u);const c=[];for(const u of o){const d=i[u],f=s.data[u];c.push({key:{status:"valid",value:u},value:d._parse(new Ns(s,f,s.path,u)),alwaysSet:u in s.data})}if(this._def.catchall instanceof ks){const u=this._def.unknownKeys;if(u==="passthrough")for(const d of a)c.push({key:{status:"valid",value:d},value:{status:"valid",value:s.data[d]}});else if(u==="strict")a.length>0&&(Y(s,{code:B.unrecognized_keys,keys:a}),r.dirty());else if(u!=="strip")throw new Error("Internal ZodObject error: invalid unknownKeys value.")}else{const u=this._def.catchall;for(const d of a){const f=s.data[d];c.push({key:{status:"valid",value:d},value:u._parse(new Ns(s,f,s.path,d)),alwaysSet:d in s.data})}}return s.common.async?Promise.resolve().then(async()=>{const u=[];for(const d of c){const f=await d.key,h=await d.value;u.push({key:f,value:h,alwaysSet:d.alwaysSet})}return u}).then(u=>an.mergeObjectSync(r,u)):an.mergeObjectSync(r,c)}get shape(){return this._def.shape()}strict(t){return re.errToObj,new Xe({...this._def,unknownKeys:"strict",...t!==void 0?{errorMap:(n,r)=>{var i,o;const s=((o=(i=this._def).errorMap)==null?void 0:o.call(i,n,r).message)??r.defaultError;return n.code==="unrecognized_keys"?{message:re.errToObj(t).message??s}:{message:s}}}:{}})}strip(){return new Xe({...this._def,unknownKeys:"strip"})}passthrough(){return new Xe({...this._def,unknownKeys:"passthrough"})}extend(t){return new Xe({...this._def,shape:()=>({...this._def.shape(),...t})})}merge(t){return new Xe({unknownKeys:t._def.unknownKeys,catchall:t._def.catchall,shape:()=>({...this._def.shape(),...t._def.shape()}),typeName:de.ZodObject})}setKey(t,n){return this.augment({[t]:n})}catchall(t){return new Xe({...this._def,catchall:t})}pick(t){const n={};for(const r of je.objectKeys(t))t[r]&&this.shape[r]&&(n[r]=this.shape[r]);return new Xe({...this._def,shape:()=>n})}omit(t){const n={};for(const r of je.objectKeys(this.shape))t[r]||(n[r]=this.shape[r]);return new Xe({...this._def,shape:()=>n})}deepPartial(){return ki(this)}partial(t){const n={};for(const r of je.objectKeys(this.shape)){const s=this.shape[r];t&&!t[r]?n[r]=s:n[r]=s.optional()}return new Xe({...this._def,shape:()=>n})}required(t){const n={};for(const r of je.objectKeys(this.shape))if(t&&!t[r])n[r]=this.shape[r];else{let i=this.shape[r];for(;i instanceof vs;)i=i._def.innerType;n[r]=i}return new Xe({...this._def,shape:()=>n})}keyof(){return VC(je.objectKeys(this.shape))}}Xe.create=(e,t)=>new Xe({shape:()=>e,unknownKeys:"strip",catchall:ks.create(),typeName:de.ZodObject,...pe(t)});Xe.strictCreate=(e,t)=>new Xe({shape:()=>e,unknownKeys:"strict",catchall:ks.create(),typeName:de.ZodObject,...pe(t)});Xe.lazycreate=(e,t)=>new Xe({shape:e,unknownKeys:"strip",catchall:ks.create(),typeName:de.ZodObject,...pe(t)});class Pu extends we{_parse(t){const{ctx:n}=this._processInputParams(t),r=this._def.options;function s(i){for(const a of i)if(a.result.status==="valid")return a.result;for(const a of i)if(a.result.status==="dirty")return n.common.issues.push(...a.ctx.common.issues),a.result;const o=i.map(a=>new Fr(a.ctx.common.issues));return Y(n,{code:B.invalid_union,unionErrors:o}),ue}if(n.common.async)return Promise.all(r.map(async i=>{const o={...n,common:{...n.common,issues:[]},parent:null};return{result:await i._parseAsync({data:n.data,path:n.path,parent:o}),ctx:o}})).then(s);{let i;const o=[];for(const c of r){const u={...n,common:{...n.common,issues:[]},parent:null},d=c._parseSync({data:n.data,path:n.path,parent:u});if(d.status==="valid")return d;d.status==="dirty"&&!i&&(i={result:d,ctx:u}),u.common.issues.length&&o.push(u.common.issues)}if(i)return n.common.issues.push(...i.ctx.common.issues),i.result;const a=o.map(c=>new Fr(c));return Y(n,{code:B.invalid_union,unionErrors:a}),ue}}get options(){return this._def.options}}Pu.create=(e,t)=>
vendor: 4,393 bytes, line 242
242new Pu({options:e,typeName:de.ZodUnion,...pe(t)});function hm(e,t){const n=Qr(e),r=Qr(t);if(e===t)return{valid:!0,data:e};if(n===ee.object&&r===ee.object){const s=je.objectKeys(t),i=je.objectKeys(e).filter(a=>s.indexOf(a)!==-1),o={...e,...t};for(const a of i){const c=hm(e[a],t[a]);if(!c.valid)return{valid:!1};o[a]=c.data}return{valid:!0,data:o}}else if(n===ee.array&&r===ee.array){if(e.length!==t.length)return{valid:!1};const s=[];for(let i=0;i<e.length;i++){const o=e[i],a=t[i],c=hm(o,a);if(!c.valid)return{valid:!1};s.push(c.data)}return{valid:!0,data:s}}else return n===ee.date&&r===ee.date&&+e==+t?{valid:!0,data:e}:{valid:!1}}class _u extends we{_parse(t){const{status:n,ctx:r}=this._processInputParams(t),s=(i,o)=>{if(f0(i)||f0(o))return ue;const a=hm(i.value,o.value);return a.valid?((h0(i)||h0(o))&&n.dirty(),{status:n.value,value:a.data}):(Y(r,{code:B.invalid_intersection_types}),ue)};return r.common.async?Promise.all([this._def.left._parseAsync({data:r.data,path:r.path,parent:r}),this._def.right._parseAsync({data:r.data,path:r.path,parent:r})]).then(([i,o])=>s(i,o)):s(this._def.left._parseSync({data:r.data,path:r.path,parent:r}),this._def.right._parseSync({data:r.data,path:r.path,parent:r}))}}_u.create=(e,t,n)=>new _u({left:e,right:t,typeName:de.ZodIntersection,...pe(n)});class ai extends we{_parse(t){const{status:n,ctx:r}=this._processInputParams(t);if(r.parsedType!==ee.array)return Y(r,{code:B.invalid_type,expected:ee.array,received:r.parsedType}),ue;if(r.data.length<this._def.items.length)return Y(r,{code:B.too_small,minimum:this._def.items.length,inclusive:!0,exact:!1,type:"array"}),ue;!this._def.rest&&r.data.length>this._def.items.length&&(Y(r,{code:B.too_big,maximum:this._def.items.length,inclusive:!0,exact:!1,type:"array"}),n.dirty());const i=[...r.data].map((o,a)=>{const c=this._def.items[a]||this._def.rest;return c?c._parse(new Ns(r,o,r.path,a)):null}).filter(o=>!!o);return r.common.async?Promise.all(i).then(o=>an.mergeArray(n,o)):an.mergeArray(n,i)}get items(){return this._def.items}rest(t){return new ai({...this._def,rest:t})}}ai.create=(e,t)=>{if(!Array.isArray(e))throw new Error("You must pass an array of schemas to z.tuple([ ... ])");return new ai({items:e,typeName:de.ZodTuple,rest:null,...pe(t)})};class j0 extends we{get keySchema(){return this._def.keyType}get valueSchema(){return this._def.valueType}_parse(t){const{status:n,ctx:r}=this._processInputParams(t);if(r.parsedType!==ee.map)return Y(r,{code:B.invalid_type,expected:ee.map,received:r.parsedType}),ue;const s=this._def.keyType,i=this._def.valueType,o=[...r.data.entries()].map(([a,c],u)=>({key:s._parse(new Ns(r,a,r.path,[u,"key"])),value:i._parse(new Ns(r,c,r.path,[u,"value"]))}));if(r.common.async){const a=new Map;return Promise.resolve().then(async()=>{for(const c of o){const u=await c.key,d=await c.value;if(u.status==="aborted"||d.status==="aborted")return ue;(u.status==="dirty"||d.status==="dirty")&&n.dirty(),a.set(u.value,d.value)}return{status:n.value,value:a}})}else{const a=new Map;for(const c of o){const u=c.key,d=c.value;if(u.status==="aborted"||d.status==="aborted")return ue;(u.status==="dirty"||d.status==="dirty")&&n.dirty(),a.set(u.value,d.value)}return{status:n.value,value:a}}}}j0.create=(e,t,n)=>new j0({valueType:t,keyType:e,typeName:de.ZodMap,...pe(n)});class ll extends we{_parse(t){const{status:n,ctx:r}=this._processInputParams(t);if(r.parsedType!==ee.set)return Y(r,{code:B.invalid_type,expected:ee.set,received:r.parsedType}),ue;const s=this._def;s.minSize!==null&&r.data.size<s.minSize.value&&(Y(r,{code:B.too_small,minimum:s.minSize.value,type:"set",inclusive:!0,exact:!1,message:s.minSize.message}),n.dirty()),s.maxSize!==null&&r.data.size>s.maxSize.value&&(Y(r,{code:B.too_big,maximum:s.maxSize.value,type:"set",inclusive:!0,exact:!1,message:s.maxSize.message}),n.dirty());const i=this._def.valueType;function o(c){const u=new Set;for(const d of c){if(d.status==="aborted")return ue;d.status==="dirty"&&n.dirty(),u.add(d.value)}return{status:n.value,value:u}}const a=[...r.data.values()].map((c,u)=>i._parse(new Ns(r,c,r.path,u)));return r.common.async?Promise.all(a).then(c=>o(c)):o(a)}min(t,n){return new ll({...this._def,minSize:{value:t,message:re.toString(n)}})}max(t,n){return new ll({...this._def,maxSize:{value:t,message:re.toString(n)}})}size(t,n){return this.min(t,n).max(t,n)}nonempty(t){return this.min(1,t)}}ll.create=(e,t)=>
vendor: 4,642 bytes, line 242
242new ll({valueType:e,minSize:null,maxSize:null,typeName:de.ZodSet,...pe(t)});class S0 extends we{get schema(){return this._def.getter()}_parse(t){const{ctx:n}=this._processInputParams(t);return this._def.getter()._parse({data:n.data,path:n.path,parent:n})}}S0.create=(e,t)=>new S0({getter:e,typeName:de.ZodLazy,...pe(t)});class C0 extends we{_parse(t){if(t.data!==this._def.value){const n=this._getOrReturnCtx(t);return Y(n,{received:n.data,code:B.invalid_literal,expected:this._def.value}),ue}return{status:"valid",value:t.data}}get value(){return this._def.value}}C0.create=(e,t)=>new C0({value:e,typeName:de.ZodLiteral,...pe(t)});function VC(e,t){return new So({values:e,typeName:de.ZodEnum,...pe(t)})}class So extends we{_parse(t){if(typeof t.data!="string"){const n=this._getOrReturnCtx(t),r=this._def.values;return Y(n,{expected:je.joinValues(r),received:n.parsedType,code:B.invalid_type}),ue}if(this._cache||(this._cache=new Set(this._def.values)),!this._cache.has(t.data)){const n=this._getOrReturnCtx(t),r=this._def.values;return Y(n,{received:n.data,code:B.invalid_enum_value,options:r}),ue}return Tn(t.data)}get options(){return this._def.values}get enum(){const t={};for(const n of this._def.values)t[n]=n;return t}get Values(){const t={};for(const n of this._def.values)t[n]=n;return t}get Enum(){const t={};for(const n of this._def.values)t[n]=n;return t}extract(t,n=this._def){return So.create(t,{...this._def,...n})}exclude(t,n=this._def){return So.create(this.options.filter(r=>!t.includes(r)),{...this._def,...n})}}So.create=VC;class N0 extends we{_parse(t){const n=je.getValidEnumValues(this._def.values),r=this._getOrReturnCtx(t);if(r.parsedType!==ee.string&&r.parsedType!==ee.number){const s=je.objectValues(n);return Y(r,{expected:je.joinValues(s),received:r.parsedType,code:B.invalid_type}),ue}if(this._cache||(this._cache=new Set(je.getValidEnumValues(this._def.values))),!this._cache.has(t.data)){const s=je.objectValues(n);return Y(r,{received:r.data,code:B.invalid_enum_value,options:s}),ue}return Tn(t.data)}get enum(){return this._def.values}}N0.create=(e,t)=>new N0({values:e,typeName:de.ZodNativeEnum,...pe(t)});class Au extends we{unwrap(){return this._def.type}_parse(t){const{ctx:n}=this._processInputParams(t);if(n.parsedType!==ee.promise&&n.common.async===!1)return Y(n,{code:B.invalid_type,expected:ee.promise,received:n.parsedType}),ue;const r=n.parsedType===ee.promise?n.data:Promise.resolve(n.data);return Tn(r.then(s=>this._def.type.parseAsync(s,{path:n.path,errorMap:n.common.contextualErrorMap})))}}Au.create=(e,t)=>new Au({type:e,typeName:de.ZodPromise,...pe(t)});class Co extends we{innerType(){return this._def.schema}sourceType(){return this._def.schema._def.typeName===de.ZodEffects?this._def.schema.sourceType():this._def.schema}_parse(t){const{status:n,ctx:r}=this._processInputParams(t),s=this._def.effect||null,i={addIssue:o=>{Y(r,o),o.fatal?n.abort():n.dirty()},get path(){return r.path}};if(i.addIssue=i.addIssue.bind(i),s.type==="preprocess"){const o=s.transform(r.data,i);if(r.common.async)return Promise.resolve(o).then(async a=>{if(n.value==="aborted")return ue;const c=await this._def.schema._parseAsync({data:a,path:r.path,parent:r});return c.status==="aborted"?ue:c.status==="dirty"||n.value==="dirty"?oa(c.value):c});{if(n.value==="aborted")return ue;const a=this._def.schema._parseSync({data:o,path:r.path,parent:r});return a.status==="aborted"?ue:a.status==="dirty"||n.value==="dirty"?oa(a.value):a}}if(s.type==="refinement"){const o=a=>{const c=s.refinement(a,i);if(r.common.async)return Promise.resolve(c);if(c instanceof Promise)throw new Error("Async refinement encountered during synchronous parse operation. Use .parseAsync instead.");return a};if(r.common.async===!1){const a=this._def.schema._parseSync({data:r.data,path:r.path,parent:r});return a.status==="aborted"?ue:(a.status==="dirty"&&n.dirty(),o(a.value),{status:n.value,value:a.value})}else return this._def.schema._parseAsync({data:r.data,path:r.path,parent:r}).then(a=>a.status==="aborted"?ue:(a.status==="dirty"&&n.dirty(),o(a.value).then(()=>({status:n.value,value:a.value}))))}if(s.type==="transform")if(r.common.async===!1){const o=this._def.schema._parseSync({data:r.data,path:r.path,parent:r});if(!jo(o))return ue;const a=s.transform(o.value,i);if(a instanceof Promise)throw new Error("Asynchronous transform encountered during synchronous parse operation. Use .parseAsync instead.");return{status:n.value,value:a}}else return this._def.schema._parseAsync({data:r.data,path:r.path,parent:r}).then(o=>jo(o)?Promise.resolve(s.transform(o.value,i)).then(a=>({status:n.value,value:a})):ue);je.assertNever(s)}}
vendor: 4,741 bytes, line 242
242Co.create=(e,t,n)=>new Co({schema:e,typeName:de.ZodEffects,effect:t,...pe(n)});Co.createWithPreprocess=(e,t,n)=>new Co({schema:t,effect:{type:"preprocess",transform:e},typeName:de.ZodEffects,...pe(n)});class vs extends we{_parse(t){return this._getType(t)===ee.undefined?Tn(void 0):this._def.innerType._parse(t)}unwrap(){return this._def.innerType}}vs.create=(e,t)=>new vs({innerType:e,typeName:de.ZodOptional,...pe(t)});class No extends we{_parse(t){return this._getType(t)===ee.null?Tn(null):this._def.innerType._parse(t)}unwrap(){return this._def.innerType}}No.create=(e,t)=>new No({innerType:e,typeName:de.ZodNullable,...pe(t)});class mm extends we{_parse(t){const{ctx:n}=this._processInputParams(t);let r=n.data;return n.parsedType===ee.undefined&&(r=this._def.defaultValue()),this._def.innerType._parse({data:r,path:n.path,parent:n})}removeDefault(){return this._def.innerType}}mm.create=(e,t)=>new mm({innerType:e,typeName:de.ZodDefault,defaultValue:typeof t.default=="function"?t.default:()=>t.default,...pe(t)});class pm extends we{_parse(t){const{ctx:n}=this._processInputParams(t),r={...n,common:{...n.common,issues:[]}},s=this._def.innerType._parse({data:r.data,path:r.path,parent:{...r}});return Tu(s)?s.then(i=>({status:"valid",value:i.status==="valid"?i.value:this._def.catchValue({get error(){return new Fr(r.common.issues)},input:r.data})})):{status:"valid",value:s.status==="valid"?s.value:this._def.catchValue({get error(){return new Fr(r.common.issues)},input:r.data})}}removeCatch(){return this._def.innerType}}pm.create=(e,t)=>new pm({innerType:e,typeName:de.ZodCatch,catchValue:typeof t.catch=="function"?t.catch:()=>t.catch,...pe(t)});class k0 extends we{_parse(t){if(this._getType(t)!==ee.nan){const r=this._getOrReturnCtx(t);return Y(r,{code:B.invalid_type,expected:ee.nan,received:r.parsedType}),ue}return{status:"valid",value:t.data}}}k0.create=e=>new k0({typeName:de.ZodNaN,...pe(e)});class $8 extends we{_parse(t){const{ctx:n}=this._processInputParams(t),r=n.data;return this._def.type._parse({data:r,path:n.path,parent:n})}unwrap(){return this._def.type}}class Cg extends we{_parse(t){const{status:n,ctx:r}=this._processInputParams(t);if(r.common.async)return(async()=>{const i=await this._def.in._parseAsync({data:r.data,path:r.path,parent:r});return i.status==="aborted"?ue:i.status==="dirty"?(n.dirty(),oa(i.value)):this._def.out._parseAsync({data:i.value,path:r.path,parent:r})})();{const s=this._def.in._parseSync({data:r.data,path:r.path,parent:r});return s.status==="aborted"?ue:s.status==="dirty"?(n.dirty(),{status:"dirty",value:s.value}):this._def.out._parseSync({data:s.value,path:r.path,parent:r})}}static create(t,n){return new Cg({in:t,out:n,typeName:de.ZodPipeline})}}class gm extends we{_parse(t){const n=this._def.innerType._parse(t),r=s=>(jo(s)&&(s.value=Object.freeze(s.value)),s);return Tu(n)?n.then(s=>r(s)):r(n)}unwrap(){return this._def.innerType}}gm.create=(e,t)=>new gm({innerType:e,typeName:de.ZodReadonly,...pe(t)});Xe.lazycreate;var de;(function(e){e.ZodString="ZodString",e.ZodNumber="ZodNumber",e.ZodNaN="ZodNaN",e.ZodBigInt="ZodBigInt",e.ZodBoolean="ZodBoolean",e.ZodDate="ZodDate",e.ZodSymbol="ZodSymbol",e.ZodUndefined="ZodUndefined",e.ZodNull="ZodNull",e.ZodAny="ZodAny",e.ZodUnknown="ZodUnknown",e.ZodNever="ZodNever",e.ZodVoid="ZodVoid",e.ZodArray="ZodArray",e.ZodObject="ZodObject",e.ZodUnion="ZodUnion",e.ZodDiscriminatedUnion="ZodDiscriminatedUnion",e.ZodIntersection="ZodIntersection",e.ZodTuple="ZodTuple",e.ZodRecord="ZodRecord",e.ZodMap="ZodMap",e.ZodSet="ZodSet",e.ZodFunction="ZodFunction",e.ZodLazy="ZodLazy",e.ZodLiteral="ZodLiteral",e.ZodEnum="ZodEnum",e.ZodEffects="ZodEffects",e.ZodNativeEnum="ZodNativeEnum",e.ZodOptional="ZodOptional",e.ZodNullable="ZodNullable",e.ZodDefault="ZodDefault",e.ZodCatch="ZodCatch",e.ZodPromise="ZodPromise",e.ZodBranded="ZodBranded",e.ZodPipeline="ZodPipeline",e.ZodReadonly="ZodReadonly"})(de||(de={}));const uc=ls.create;ks.create;mr.create;const B8=Xe.create;Xe.strictCreate;Pu.create;_u.create;ai.create;So.create;Au.create;vs.create;No.create;const Dc=x.forwardRef(({className:e,type:t,...n},r)=>l.jsx("input",{type:t,className:Ne("flex h-10 w-full rounded-md border border-input bg-background px-3 py-2 text-base ring-offset-background file:border-0 file:bg-transparent file:text-sm file:font-medium file:text-foreground placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50 md:text-sm",e),ref:r,...n}));Dc.displayName="Input";const $C=x.forwardRef(({className:e,...t},n)=>l.jsx("textarea",{className:Ne("flex min-h-[80px] w-full rounded-md border border-input bg-background px-3 py-2 text-sm r
242ing-offset-background placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50",e),ref:n,...t}));$C.displayName="Textarea";var z8="Label",BC=x.forwardRef((e,t)=>l.jsx(st.label,{...e,ref:t,onMouseDown:n=>{var s;n.target.closest("button, input, select, textarea")||((s=e.onMouseDown)==null||s.call(e,n),!n.defaultPrevented&&n.detail>1&&n.preventDefault())}}));BC.displayName=z8;var zC=BC;const U8=Qu("text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70"),UC=x.forwardRef(({className:e,...t},n)=>l.jsx(zC,{ref:n,className:Ne(U8(),e),...t}));UC.displayName=zC.displayName;const H8=KV,HC=x.createContext({}),dc=({...e})=>l.jsx(HC.Provider,{value:{name:e.name},children:l.jsx(qV,{...e})}),md=()=>{const e=x.useContext(HC),t=x.useContext(WC),{getFieldState:n,formState:r}=hd(),s=n(e.name,r);if(!e)throw new Error("useFormField should be used within <FormField>");const{id:i}=t;return{id:i,name:e.name,formItemId:`${i}-form-item`,formDescriptionId:`${i}-form-item-description`,formMessageId:`${i}-form-item-message`,...s}},WC=x.createContext({}),aa=x.forwardRef(({className:e,...t},n)=>{const r=x.useId();return l.jsx(WC.Provider,{value:{id:r},children:l.jsx("div",{ref:n,className:Ne("space-y-2",e),...t})})});aa.displayName="FormItem";const la=x.forwardRef(({className:e,...t},n)=>{const{error:r,formItemId:s}=md();return l.jsx(UC,{ref:n,className:Ne(r&&"text-destructive",e),htmlFor:s,...t})});la.displayName="FormLabel";const ca=x.forwardRef(({...e},t)=>{const{error:n,formItemId:r,formDescriptionId:s,formMessageId:i}=md();return l.jsx(s1,{ref:t,id:r,"aria-describedby":n?`${s} ${i}`:`${s}`,"aria-invalid":!!n,...e})});ca.displayName="FormControl";const W8=x.forwardRef(({className:e,...t},n)=>{const{formDescriptionId:r}=md();return l.jsx("p",{ref:n,id:r,className:Ne("text-sm text-muted-foreground",e),...t})});W8.displayName="FormDescription";const ua=x.forwardRef(({className:e,children:t,...n},r)=>{const{error:s,formMessageId:i}=md(),o=s?String(s==null?void 0:s.message):t;return o?l.jsx("p",{ref:r,id:i,className:Ne("text-sm font-medium text-destructive",e),...n,children:o}):null});ua.displayName="FormMessage";const K8=B8({name:uc().trim().min(1,"Name is required").max(100,"Name must be less than 100 characters"),email:uc().trim().email("Please enter a valid email address").max(255),phone:uc().trim().min(1,"Phone number is required").max(30,"Phone number is too long"),why:uc().trim().max(1e3,"Message must be less than 1000 characters").optional()}),G8=()=>{const[e,t]=x.useState(!1),n=u8({resolver:m8(K8),defaultValues:{name:"",email:"",phone:"",why:""}}),r=async s=>{t(!0);const i=encodeURIComponent("Contact Form Submission"),o=encodeURIComponent(`Name: ${s.name}
243Email: ${s.email}
244Phone: ${s.phone}
245
246Why: ${s.why||"N/A"}`);window.location.href=`mailto:[email protected]?subject=${i}&body=${o}
246`,n1({title:"Opening your email client...",description:"Your message details have been pre-filled."}),t(!1)};return l.jsxs("div",{className:"min-h-screen bg-background",children:[l.jsx(fn,{title:"Contact AgriPass - Talk to the RHIC Team",description:"Get in touch with AgriPass to learn how RHIC can support your farm, pilot, or partnership.",path:"/contact"}),l.jsx(un,{}),l.jsx("main",{className:"pt-40 pb-20",children:l.jsxs("div",{className:"container mx-auto px-4 max-w-5xl",children:[l.jsxs("div",{className:"text-center mb-12",children:[l.jsx("h1",{className:"text-4xl md:text-5xl font-bold text-foreground mb-4",children:"Meet Us"}),l.jsx("p",{className:"text-lg text-muted-foreground max-w-2xl mx-auto",children:"Interested in learning more about AgriPass and our innovative agritech solutions? Get in touch!"})]}),l.jsxs("div",{className:"grid md:grid-cols-5 gap-10",children:[l.jsx("div",{className:"md:col-span-2 space-y-8",children:l.jsxs("div",{className:"flex items-start gap-4",children:[l.jsx(yp,{className:"h-6 w-6 text-primary mt-1 shrink-0"}),l.jsxs("div",{children:[l.jsx("h3",{className:"font-semibold text-foreground",children:"Email"}),l.jsx("a",{href:"mailto:[email protected]",className:"text-muted-foreground hover:text-primary transition-colors",children:"[email protected]"})]})]})}),l.jsx("div",{className:"md:col-span-3 bg-card border border-border rounded-2xl p-8 shadow-sm",children:l.jsx(H8,{...n,children:l.jsxs("form",{onSubmit:n.handleSubmit(r),className:"space-y-5",children:[l.jsx(dc,{control:n.control,name:"name",render:({field:s})=>l.jsxs(aa,{children:[l.jsx(la,{children:"Name *"}),l.jsx(ca,{children:l.jsx(Dc,{placeholder:"Your full name",...s})}),l.jsx(ua,{})]})}),l.jsx(dc,{control:n.control,name:"email",render:({field:s})=>l.jsxs(aa,{children:[l.jsx(la,{children:"Email Address *"}),l.jsx(ca,{children:l.jsx(Dc,{type:"email",placeholder:"[email protected]",...s})}),l.jsx(ua,{})]})}),l.jsx(dc,{control:n.control,name:"phone",render:({field:s})=>l.jsxs(aa,{children:[l.jsx(la,{children:"Phone Number *"}),l.jsx(ca,{children:l.jsx(Dc,{type:"tel",placeholder:"+1 (555) 000-0000",...s})}),l.jsx(ua,{})]})}),l.jsx(dc,{control:n.control,name:"why",render:({field:s})=>l.jsxs(aa,{children:[l.jsxs(la,{children:["Why? ",l.jsx("span",{className:"text-muted-foreground font-normal",children:"(optional)"})]}),l.jsx(ca,{children:l.jsx($C,{placeholder:"Tell us why you're reaching out...",rows:4,...s})}),l.jsx(ua,{})]})}),l.jsx(Oe,{type:"submit",className:"w-full text-base py-5 h-auto",disabled:e,children:"Send Message"})]})})})]})]})}),l.jsx(dn,{})]})},Y8="/assets/rhic-california-1-61WAt4sV.jpg",Z8="/assets/rhic-california-2-D8aUUE5d.png",q8="/assets/rhic-california-3-D2egje6C.jpg",Q8="/assets/rhic-florida-D0raVcAq.jpg",X8="/assets/rhic-california-4-BXpmAqq5.jpg",J8="/assets/team-growers-1-BqmTSUT8.jpg",e$="/assets/team-growers-2-IGRRuVDH.jpg",t$="/assets/liron-yanay-headshot-C_ZHW56S.png",Ci={hidden:{opacity:0,y:20},visible:{opacity:1,y:0,transition:{duration:.6}}},n$=()=>{const e=[{src:Y8,alt:"RHIC AI weeding machine in Central Valley, California f
246ields"},{src:Z8,alt:"RHIC AI weeding machine demonstrated in California"},{src:q8,alt:"RHIC in action in California fields"},{src:Q8,alt:"RHIC on a regenerative farm in Florida"},{src:X8,alt:"RHIC AI weeding machine in California"},{src:J8,alt:"AgriPass team on-site with growers, California"},{src:e$,alt:"AgriPass team on-site with growers"}];return l.jsxs("div",{className:"min-h-screen bg-background",children:[l.jsx(fn,{title:"Media Kit - AgriPass and RHIC Press Resources",description:"Download AgriPass logos, RHIC field imagery, leadership headshots, and press contact information.",path:"/media-kit"}),l.jsx(un,{}),l.jsx("main",{className:"pt-32 pb-20",children:l.jsxs("div",{className:"container mx-auto px-4 max-w-5xl",children:[l.jsxs(ne.div,{initial:"hidden",animate:"visible",variants:Ci,className:"text-center mb-16",children:[l.jsx("h1",{className:"text-4xl md:text-5xl font-bold text-foreground mb-4",children:"Media Kit"}),l.jsx("p",{className:"text-lg text-muted-foreground max-w-2xl mx-auto",children:"Press resources, high-resolution photos, logos, and company information for media use."})]}),l.jsx(ne.section,{initial:"hidden",whileInView:"visible",viewport:{once:!0},variants:Ci,className:"mb-16",children:l.jsxs("div",{className:"bg-muted rounded-2xl p-8",children:[l.jsx("h2",{className:"text-2xl font-bold text-foreground mb-4",children:"Media Contact"}),l.jsx("p",{className:"text-lg font-semibold text-foreground",children:"Amanda Ditzler, Marketing"}),l.jsxs("div",{className:"flex flex-col gap-2 mt-3 text-muted-foreground",children:[l.jsxs("a",{href:"mailto:[email protected]",className:"flex items-center gap-2 hover:text-primary transition-colors",children:[l.jsx(yp,{className:"w-4 h-4"})," [email protected]"]}),l.jsxs("a",{href:"tel:+13173130525",className:"flex items-center gap-2 hover:text-primary transition-colors",children:[l.jsx(L1,{className:"w-4 h-4"})," 1 (317) 313-0525"]}),l.jsxs("a",{href:"https://agripass.co/",target:"_blank",rel:"noopener noreferrer",className:"flex items-center gap-2 hover:text-primary transition-colors",children:[l.jsx(XE,{className:"w-4 h-4"})," agripass.co"]})]})]})}),l.jsxs(ne.section,{initial:"hidden",whileInView:"visible",viewport:{once:!0},variants:Ci,className:"mb-16",children:[l.jsx("h2",{className:"text-2xl font-bold text-foreground mb-6",children:"Company Overview"}),l.jsxs("div",{className:"prose prose-lg max-w-none text-muted-foreground",children:[l.jsx("p",{children:"AgriPass is an innovative agricultural technology company founded in 2023. Our mission is to make chemical-free, sustainable farming accessible, profitable, and practical for growers worldwide. By harnessing advanced AI and robotics while collaborating directly with farmers in the fields, we develop solutions that enable healthier crops without harmful chemicals."}),l.jsx("p",{className:"mt-4",children:"Our flagship product, RHIC (Robot of Human-Inspired Cultivation), is an AI-powered weeding robot that mimics expert manual weeding. It uses AI, real-time cameras, adaptive selective tilling (AST), and human-inspired mechanical arms to precisely identify and remove weeds with minimal soil disturbance. RHIC eliminates herbicide dependency, reduces input costs, preserves soil health, and supports regenerative and sustainable practices. RHIC adapts to various crops, row spacings, and field conditions, offering scalable, farmer-first innovation now operating in the U.S., E.U., and beyond."})]})]}),l.jsxs(ne.section,{initial:"hidden",whileInView:"visible",viewport:{once:!0},variants:Ci,className:"mb-16",children:[l.jsx("h2",{className:"text-2xl font-bold text-foreground mb-6",children:"Key Videos"}),l.jsxs("div",{children:[l.jsx("h3",{className:"font-semibold text-foreground mb-3",children:"AgriPass RHIC Introduction Video"}),l.jsx("div",{className:"relative w-full max-w-2xl rounded-xl overflow-hidden shadow-md",style:{paddingBottom:"36%"},children:l.jsx("iframe",{className:"absolute inset-0 w-full h-full",src:"https://www.youtube.com/embed/Zc_DjnQIzLo?si=4C-p1y9btJjLpgGs",title:"AgriPass RHIC Introduction Video",allow:"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture",allowFullScreen:!0})})]})]}
246),l.jsxs(ne.section,{initial:"hidden",whileInView:"visible",viewport:{once:!0},variants:Ci,className:"mb-16",children:[l.jsx("h2",{className:"text-2xl font-bold text-foreground mb-6",children:"CEO Bio"}),l.jsxs("div",{className:"flex flex-col md:flex-row gap-8 items-start",children:[l.jsx("img",{src:t$,alt:"Liron Yanay, CEO of AgriPass",className:"w-40 h-40 rounded-2xl object-cover shadow-md"}),l.jsxs("div",{className:"text-muted-foreground",children:[l.jsx("h3",{className:"text-xl font-semibold text-foreground mb-3",children:"Liron Yanay"}),l.jsx("p",{children:"Liron Yanay, CEO of AgriPass, brings over 20 years of experience in automotive, smart mobility, and SaaS technology. She excels at bridging strategy and execution, scaling complex technologies across global markets. As a disciplined operator, she builds high-performance teams and transforms deep innovation into commercially sustainable growth. Under her leadership, AgriPass has rapidly advanced from prototype to field operations and commercial momentum."})]})]})]}),l.jsxs(ne.section,{initial:"hidden",whileInView:"visible",viewport:{once:!0},variants:Ci,className:"mb-16",children:[l.jsx("h2",{className:"text-2xl font-bold text-foreground mb-6",children:"High-Resolution Photos"}),l.jsx("div",{className:"grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-3 gap-4",children:e.map((t,n)=>l.jsxs("a",{href:t.src,target:"_blank",rel:"noopener noreferrer",className:"group relative overflow-hidden rounded-xl shadow-md hover:shadow-lg transition-shadow",children:[l.jsx("img",{src:t.src,alt:t.alt,className:"w-full h-56 object-cover group-hover:scale-105 transition-transform duration-300",loading:"lazy"}),l.jsx("div",{className:"absolute inset-0 bg-black/0 group-hover:bg-black/30 transition-colors flex items-end",children:l.jsx("p",{className:"text-white text-xs p-3 opacity-0 group-hover:opacity-100 transition-opacity",children:t.alt})})]},n))})]})]})}),l.jsx(dn,{})]})},r$="/assets/rhic-farmer-kneeling-DMZNCJ33.jpg",s$="/assets/rhic-florida-field-CoLxu4PT.png",i$="/assets/fortune-logo-4IgbSvdY.png",o$="/assets/axios-logo-By9fdZT-.png",a$="/assets/afn-logo-BFj3EdHs.png",l$="/assets/robotics247-logo-CRklzams.png",c$="/assets/tfn-logo-BEYSblaO.png",u$=()=>l.jsxs("div",{className:"min-h-screen bg-background",children:[l.jsx(fn,{title:"AgriPass One Pager - RHIC Robotic Weeding Overview",description:"A concise overview of AgriPass, the RHIC robot, performance metrics, and impact for farmers.",path:"/one-pager"}),l.jsx(un,{}),l.jsxs("main",{className:"pt-28",children:[l.jsxs("section",{className:"relative min-h-[80vh] flex items-center justify-center overflow-hidden",children:[l.jsx("img",{src:r$,alt:"RHIC robot in the field with farmer",className:"absolute inset-0 w-full h-full object-cover"}),l.jsx("div",{className:"absolute inset-0 bg-black/55"}),l.jsxs("div",{className:"relative z-10 text-center px-4 max-w-4xl mx-auto",children:[l.jsx("p",{className:"text-primary-foreground/80 uppercase tracking-[0.3em] text-sm mb-4",children:"The Future of Sustainable Agriculture"}),l.jsx("h1",{className:"text-4xl md:text-6xl font-bold text-primary-foreground mb-6",children:"A Robot That Thinks Like a Farmer"}),l.jsx("p",{className:"text-primary-foreground/90 text-lg md:text-xl max-w-2xl mx-auto mb-8",children:"AgriPass is building human-inspired, AI-powered robotic systems that remove weeds selectively at the root while reducing chemical inputs and protecting soil health"})]})]}),l.jsx("section",{className:"py-20 bg-muted",children:l.jsxs("div",{className:"container mx-auto px-4",children:[l.jsx("h2",{className:"text-3xl md:text-4xl font-bold text-center mb-12",children:"THE PROBLEM"}),l.jsxs("div",{className:"grid md:grid-cols-3 gap-8 max-w-4xl mx-auto mb-10",children:[l.jsxs("div",{className:"bg-background rounded-xl p-8 text-center shadow-sm",children:[l.jsx("p",{className:"font-semibold text-lg mb-1",children:"Herbicide resistance"}),l.jsx("p",{className:"text-2xl font-bold text-primary",children:"$40B crop loss"})]}),l.jsxs("div",{className:"bg-background rounded-xl p-8 text-center shadow-sm",children:[l.jsx("p",{className:"font-semibold text-lg mb-1",children:"Soil damage from tillage"}),l.jsx("p",{className:"text-2xl font-bold text-primary",children:"$300B productivity loss"})]}),l.jsxs("div",{className:"bg-background rounded-xl p-8 text-center shadow-sm",children:[l.jsx("p",{className:"font-semibold text-lg mb-1",children:"Manual weeding labor"}),l.jsx("p",{className:"text-2xl font-bold text-primary",children:"$500B global cost"})]})]}),l.jsx("p",{className:"text-center text-muted-foreground text-lg max-w-2xl mx-auto",children:"Farmers need a solution that is adaptive, selective, scalable and sustainable"})]})}),l.jsx("section",{className:"py-20",children:l.jsx("div",{className:"container mx-auto px-4",children:l.jsxs("div",{className:"grid md:grid-cols-2 gap-12 items-center max-w-5xl mx-auto",children:[l.jsxs("div",{children:[l.jsx("h2",{className:"text-3xl md:text-4xl font-bold mb-2",children:"The Solution: RHIC"}),l.jsx("p",{className:"text-primary text-xl font-semibold mb-4",children:"Robot of Human-Inspired Cultivation"}),l.jsx("p",{className:"text-muted-foreground text-lg",children:"AgriPass developed RHIC, an AI-powered robotic system that replicates how experienced farmers identify and remove weeds"})]}),l.jsx("div",{children:l.jsx("img",{src:s$,alt:"RHIC in the field",className:"w-full rounded-xl"})})]})})}),l.jsx("section",{className:"py-20 bg-muted",children:l.jsxs("div",{className:"container mx-auto px-4",children:[l.jsx("h2",{className:"text-3xl md:text-4xl font-bold text-center mb-12",children:"PERFORMANCE"}),l.jsx("div",{className:"grid grid-cols-2 md:grid-cols-4 gap-6 max-w-4xl mx-auto",children:[{stat:"80–85%",label:"weed removal"},{stat:"70–80%",label:"less soil disturbance"},{stat:">97%",label:"crop safety"},{stat:"Zero",label:"herbicides"}].map((e,t)=>l.jsxs("div",{className:"bg-background rounded-xl p-6 text-center shadow-sm",children:[l.jsx("p",{className:"text-3xl font-bold text-primary mb-1",children:e.stat}),l.jsx("p",{className:"text-muted-foreground",children:e.label})]},t))})]})}),l.jsx("section",{className:"py-20",children:l.jsxs("div",{className:"container mx-auto px-4",children:[l.jsx("h2",{className:"text-3xl md:text-4xl font-bold text-center mb-12",children:"IMPACT FOR FARMERS"}),l.jsx("div",{className:"grid md:grid-cols-2 gap-8 max-w-4xl mx-auto",children:[{title:"Food Security",detail
246:"+10–20% yield improvement"},{title:"Farm Economics",detail:"$1000–1500 savings per hectare"},{title:"Soil Health",detail:"Reduced erosion and better water retention"},{title:"Climate Impact",detail:"0.3–0.5 tons CO₂ retained per hectare annually"}].map((e,t)=>l.jsxs("div",{className:"bg-muted rounded-xl p-8 shadow-sm",children:[l.jsx("p",{className:"font-semibold text-lg mb-1",children:e.title}),l.jsx("p",{className:"text-primary text-xl font-bold",children:e.detail})]},t))})]})}),l.jsx("section",{className:"py-20 bg-muted",children:l.jsxs("div",{className:"container mx-auto px-4 text-center",children:[l.jsx("h2",{className:"text-3xl md:text-4xl font-bold mb-8",children:"$7.5M Raised in Funding"}),l.jsx("p",{className:"text-muted-foreground text-lg mb-8",children:"Featured in"}),l.jsxs("div",{className:"flex flex-wrap items-center justify-center gap-8 md:gap-12 max-w-4xl mx-auto",children:[l.jsx("img",{src:i$,alt:"Fortune",className:"h-8 md:h-10 object-contain grayscale hover:grayscale-0 transition-all"}),l.jsx("img",{src:o$,alt:"Axios",className:"h-8 md:h-10 object-contain grayscale hover:grayscale-0 transition-all"}),l.jsx("img",{src:a$,alt:"AgFunder News",className:"h-8 md:h-10 object-contain grayscale hover:grayscale-0 transition-all"}),l.jsx("img",{src:l$,alt:"Robotics 24/7",className:"h-6 md:h-8 object-contain grayscale hover:grayscale-0 transition-all"}),l.jsx("img",{src:c$,alt:"TechFundingNews",className:"h-8 md:h-10 object-contain grayscale hover:grayscale-0 transition-all"})]})]})}),l.jsx("section",{className:"py-20 text-center",children:l.jsxs("div",{className:"container mx-auto px-4",children:[l.jsx("h2",{className:"text-2xl md:text-3xl font-bold mb-6",children:"Watch RHIC in Action"}),l.jsx("a",{href:"https://www.youtube.com/watch?v=Zc_DjnQIzLo",target:"_blank",rel:"noopener noreferrer",className:`${N2({size:"lg"})} text-base px-8 py-6 h-auto`,children:"▶ Watch Demo"})]})}),l.jsx("section",{className:"py-10 text-center",children:l.jsx("a",{href:"https://www.agripass.co",target:"_blank",rel:"noopener noreferrer",className:"text-lg md:text-xl font-semibold text-muted-foreground hover:text-primary transition-colors",children:"www.agripass.co"})})]}),l.jsx(dn,{})]}),d$=[{title:"Before You Start",items:["Confirm the field is mapped and row spacing is recorded","Check that the battery is fully charged","Walk the rows and clear large debris"]},{title:"Starting a Session",items:["Power on the unit and wait for the status light to turn green","Select the crop profile for the field","Position the unit at the start of the first row"]},{title:"During Operation",items:["Monitor progress from the operator screen","Pause any time using the stop control","Keep people and animals clear of the working area"]},{title:"Finishing Up",items:["Return the unit to the staging area","Rinse and inspect the tools","Connect the charger and review the session summary"]}],f$=()=>l.jsxs("div",{className:"min-h-screen bg-background",children:[l.jsx(fn,{title:"RHIC Instructions - AgriPass Field Guide",description:"Step-by-step instructions for preparing, running, and finishing a RHIC weeding session in the field.",path:"/instructions"}),l.jsx(un,{}),l.jsx("main",{className:"pt-40 pb-20",children:l.jsxs("section",{className:"container mx-auto px-4 max-w-3xl",children:[l.jsx("h1",{className:"text-3xl md:text-4xl font-semibold mb-4",children:"Instructions"}),l.jsx("p",{className:"text-muted-foreground text-lg mb-12",children:"A simple field guide for getting RHIC ready, running a session, and wrapping up at the end of the day"}),l.jsx("ol",{className:"space-y-10",children:d$.map((e,t)=>l.jsxs("li",{className:"bg-muted rounded-xl p-8",children:[l.jsxs("div",{className:"flex items-baseline gap-4 mb-4",children:[l.jsx("span",{className:"text-primary text-2xl font-bold",children:t+1}),l.jsx("h2",{className:"text-2xl font-semibold",children:e.title})]}),l.jsx("ul",{className:"list-disc list-outside pl-5 space-y-2 text-muted-foreground text-lg",children:e.items.map(n=>l.jsx("li",{children:n},n))})]},e.title))})]})}),l.jsx(dn,{})]}),h$=()=>{const e=fi();return x.useEffect(()=>{console.error("404 Error: User attempted to access non-existent route:",e.pathname)},[e.pathname]),l.jsx("div",{className:"flex min-h-screen items-center justify-center bg-gray-100",children: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-gray-600",children:"Oops! Page not found"}),l.jsx("a",{href:"/",className:"text-blue-500 underline hover:text-blue-700",children:"Return to Home"})]})})},m$=()=>{const{pathname:e}=fi(),t=o4();return x.useEffect(()=>{t!=="POP"&&window.scrollTo({top:0,left:0,behavior:"instant"})},[e,t]),null},p$=new _R,g$=()=>l.jsx(RR,{client:p$,children:l.jsxs(oR,{children:[l.jsx(BP,{}),l.jsx(x_,{}),l.jsxs(P4,{children:[l.jsx(m$,{}),l.jsxs(j4,{children:[l.jsx(Rt,{path:"/",element:l.jsx(TV,{})}),l.jsx(Rt,{path:"/how-it-works",element:l.jsx(AV,{})}),l.jsx(Rt,{path:"/benefits",element:l.jsx(MV,{})}),l.jsx(Rt,{path:"/testimonials",element:l.jsx(DV,{})}),l.jsx(Rt,{path:"/terms-of-use",element:l.jsx(LV,{})}),l.jsx(Rt,{path:"/privacy-policy",element:l.jsx(FV,{})}),l.jsx(Rt,{path:"/cookie-policy",element:l.jsx(VV,{})}),l.jsx(Rt,{path:"/investor-relations",element:l.jsx(BV,{})}),l.jsx(Rt,{path:"/careers",element:l.jsx(UV,{})}),l.jsx(Rt,{path:"/contact",element:l.jsx(G8,{})}),l.jsx(Rt,{path:"/media-kit",element:l.jsx(n$,{})}),l.jsx(Rt,{path:"/one-pager",element:l.jsx(u$,{})}
246),l.jsx(Rt,{path:"/instructions",element:l.jsx(f$,{})}),l.jsx(Rt,{path:"*",element:l.jsx(h$,{})})]})]})]})});Yb(document.getElementById("root")).render(l.jsx(t1,{children:l.jsx(g$,{})}));

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.