vendor: 7,096 bytes, lines 1-10
1const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/index-BR82k0za.js","assets/glass-reactor-yellow-liquid-wide-view.jpg.asset-DeBXM_On.js","assets/SEO-CKHFD8f3.js","assets/HeroMedia-DUp_2NwP.js","assets/transition-link-Di5cgf31.js","assets/viewTransition-ut9NF-Cw.js","assets/play-B454DGnH.js","assets/parallax-image-Dy0pgScP.js","assets/arrow-right-CaFNUuCa.js","assets/CredentialsStrip-BsUCBxDc.js","assets/analytics-events-CC3KRr24.js","assets/shield-check-D8xYAI6i.js","assets/loader-circle-D5A6fFpF.js","assets/kv-molecule-code.jpg.asset-AoWeYyIl.js","assets/KineticHeadline-CQVZatOe.js","assets/leaf-CqFqXUkj.js","assets/flask-conical-CICZEZIW.js","assets/sparkles-D40m31r6.js","assets/FAQ-Bb3ADD4L.js","assets/PageCTA-BJkB-QvA.js","assets/Careers-DqJ7CDBt.js","assets/careers-DpG0wKzg.js","assets/Careers-DfuSbcQI.css","assets/CareersApply-YE_Yh2_t.js","assets/chevron-left-DpRAq_v2.js","assets/Team-BFAPdzv4.js","assets/team-DYIHJ20i.js","assets/Knowledge-39LGD0n2.js","assets/index-D8ORRB1s.js","assets/Media-dt5X3Eow.js","assets/DocLink-CrSMLdz3.js","assets/PillarPage-D_H9IhWs.js"])))=>i.map(i=>d[i]); 2var AS=Object.defineProperty;var zh=e=>{throw TypeError(e)};var RS=(e,t,n)=>t in e?AS(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;var cn=(e,t,n)=>RS(e,typeof t!="symbol"?t+"":t,n),Vu=(e,t,n)=>t.has(e)||zh("Cannot "+n);var M=(e,t,n)=>(Vu(e,t,"read from private field"),n?n.call(e):t.get(e)),J=(e,t,n)=>t.has(e)?zh("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,n),K=(e,t,n,r)=>(Vu(e,t,"write to private field"),r?r.call(e,n):t.set(e,n),n),Ie=(e,t,n)=>(Vu(e,t,"access private method"),n);var ta=(e,t,n,r)=>({set _(i){K(e,t,i,n)},get _(){return M(e,t,r)}});function NS(e,t){for(var n=0;n<t.length;n++){const r=t[n];if(typeof r!="string"&&!Array.isArray(r)){for(const i in r)if(i!=="default"&&!(i in e)){const s=Object.getOwnPropertyDescriptor(r,i);s&&Object.defineProperty(e,i,s.get?s:{enumerable:!0,get:()=>r[i]})}}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const i of document.querySelectorAll('link[rel="modulepreload"]'))r(i);new MutationObserver(i=>{for(const s of i)if(s.type==="childList")for(const o of s.addedNodes)o.tagName==="LINK"&&o.rel==="modulepreload"&&r(o)}).observe(document,{childList:!0,subtree:!0});function n(i){const s={};return i.integrity&&(s.integrity=i.integrity),i.referrerPolicy&&(s.referrerPolicy=i.referrerPolicy),i.crossOrigin==="use-credentials"?s.credentials="include":i.crossOrigin==="anonymous"?s.credentials="omit":s.credentials="same-origin",s}function r(i){if(i.ep)return;i.ep=!0;const s=n(i);fetch(i.href,s)}})();var Dj=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function zo(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Tv={exports:{}},Yl={},Pv={exports:{}},Q={};/** 3 * @license React 4 * react.production.min.js 5 * 6 * Copyright (c) Facebook, Inc. and its affiliates. 7 * 8 * This source code is licensed under the MIT license found in the 9 * LICENSE file in the root directory of this source tree. 10 */var Fo=Symbol.for("react.element"),MS=Symbol.for("react.portal"),LS=Symbol.for("react.fragment"),DS=Symbol.for("react.strict_mode"),OS=Symbol.for("react.profiler"),IS=Symbol.for("react.provider"),jS=Symbol.for("react.context"),_S=Symbol.for("react.forward_ref"),zS=Symbol.for("react.suspense"),FS=Symbol.for("react.memo"),VS=Symbol.for("react.lazy"),Fh=Symbol.iterator;function BS(e){return e===null||typeof e!="object"?null:(e=Fh&&e[Fh]||e["@@iterator"],typeof e=="function"?e:null)}var kv={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},Av=Object.assign,Rv={};function ds(e,t,n){this.props=e,this.context=t,this.refs=Rv,this.updater=n||kv}ds.prototype.isReactComponent={};ds.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")};ds.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function Nv(){}Nv.prototype=ds.prototype;function Ff(e,t,n){this.props=e,this.context=t,this.refs=Rv,this.updater=n||kv}var Vf=Ff.prototype=new Nv;Vf.constructor=Ff;Av(Vf,ds.prototype);Vf.isPureReactComponent=!0;var Vh=Array.isArray,Mv=Object.prototype.hasOwnProperty,Bf={current:null},Lv={key:!0,ref:!0,__self:!0,__source:!0};function Dv(e,t,n){var r,i={},s=null,o=null;if(t!=null)for(r in t.ref!==void 0&&(o=t.ref),t.key!==void 0&&(s=""+t.key),t)Mv.call(t,r)&&!Lv.hasOwnProperty(r)&&(i[r]=t[r]);var a=arguments.length-2;if(a===1)i.children=n;else if(1<a){for(var l=Array(a),u=0;u<a;u++)l[u]=arguments[u+2];i.children=l}if(e&&e.defaultProps)for(r in a=e.defaultProps,a)i[r]===void 0&&(i[r]=a[r]);return{$$typeof:Fo,type:e,key:s,ref:o,props:i,_owner:Bf.current}}function $S(e,t){return{$$typeof:Fo,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}function $f(e){return typeof e=="object"&&e!==null&&e.$$typeof===Fo}function US(e){var t={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,function(n){return t[n]})}var Bh=/\/+/g;function Bu(e,t){return typeof e=="object"&&e!==null&&e.key!=null?US(""+e.key):t.toString(36)}function Na(e,t,n,r,i){var s=typeof e;(s==="undefined"||s==="boolean")&&(e=null);var o=!1;if(e===null)o=!0;else switch(s){case"string":case"number":o=!0;break;case"object":switch(e.$$typeof){case Fo:case MS:o=!0}}if(o)return o=e,i=i(o),e=r===""?"."+Bu(o,0):r,Vh(i)?(n="",e!=null&&(n=e.replace(Bh,"$&/")+"/"),Na(i,t,n,"",function(u){return u})):i!=null&&($f(i)&&(i=$S(i,n+(!i.key||o&&o.key===i.key?"":(""+i.key).replace(Bh,"$&/")+"/")+e)),t.push(i)),1;if(o=0,r=r===""?".":r+":",Vh(e))for(var a=0;a<e.length;a++){s=e[a];var l=r+Bu(s,a);o+=Na(s,t,n,l,i)}else if(l=BS(e),typeof l=="function")for(e=l.call(e),a=0;!(s=e.next()).done;)s=s.value,l=r+Bu(s,a++),o+=Na(s,t,n,l,i);else if(s==="object")throw t=String(e),Error("Objects are not valid as a React child (found: "+(t==="[object Object]"?"object with keys {"+Object.keys(e).join(", ")+"}":t)+"). If you meant to render a collection of children, use an array instead.");return o}function na(e,t,n){if(e==null)return e;var r=[],i=0;return Na(e,r,"","",function(s){return t.call(n,s,i++)}),r}function WS(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 Ye={current:null},Ma={transition:null},HS={ReactCurrentDispatcher:Ye,ReactCurrentBatchConfig:Ma,ReactCurrentOwner:Bf};function Ov(){throw Error("act(...) is not supported in production builds of React.")}
vendor: 4,305 bytes, lines 10-26
10Q.Children={map:na,forEach:function(e,t,n){na(e,function(){t.apply(this,arguments)},n)},count:function(e){var t=0;return na(e,function(){t++}),t},toArray:function(e){return na(e,function(t){return t})||[]},only:function(e){if(!$f(e))throw Error("React.Children.only expected to receive a single React element child.");return e}};Q.Component=ds;Q.Fragment=LS;Q.Profiler=OS;Q.PureComponent=Ff;Q.StrictMode=DS;Q.Suspense=zS;Q.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=HS;Q.act=Ov;Q.cloneElement=function(e,t,n){if(e==null)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+e+".");var r=Av({},e.props),i=e.key,s=e.ref,o=e._owner;if(t!=null){if(t.ref!==void 0&&(s=t.ref,o=Bf.current),t.key!==void 0&&(i=""+t.key),e.type&&e.type.defaultProps)var a=e.type.defaultProps;for(l in t)Mv.call(t,l)&&!Lv.hasOwnProperty(l)&&(r[l]=t[l]===void 0&&a!==void 0?a[l]:t[l])}var l=arguments.length-2;if(l===1)r.children=n;else if(1<l){a=Array(l);for(var u=0;u<l;u++)a[u]=arguments[u+2];r.children=a}return{$$typeof:Fo,type:e.type,key:i,ref:s,props:r,_owner:o}};Q.createContext=function(e){return e={$$typeof:jS,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null},e.Provider={$$typeof:IS,_context:e},e.Consumer=e};Q.createElement=Dv;Q.createFactory=function(e){var t=Dv.bind(null,e);return t.type=e,t};Q.createRef=function(){return{current:null}};Q.forwardRef=function(e){return{$$typeof:_S,render:e}};Q.isValidElement=$f;Q.lazy=function(e){return{$$typeof:VS,_payload:{_status:-1,_result:e},_init:WS}};Q.memo=function(e,t){return{$$typeof:FS,type:e,compare:t===void 0?null:t}};Q.startTransition=function(e){var t=Ma.transition;Ma.transition={};try{e()}finally{Ma.transition=t}};Q.unstable_act=Ov;Q.useCallback=function(e,t){return Ye.current.useCallback(e,t)};Q.useContext=function(e){return Ye.current.useContext(e)};Q.useDebugValue=function(){};Q.useDeferredValue=function(e){return Ye.current.useDeferredValue(e)};Q.useEffect=function(e,t){return Ye.current.useEffect(e,t)};Q.useId=function(){return Ye.current.useId()};Q.useImperativeHandle=function(e,t,n){return Ye.current.useImperativeHandle(e,t,n)};Q.useInsertionEffect=function(e,t){return Ye.current.useInsertionEffect(e,t)};Q.useLayoutEffect=function(e,t){return Ye.current.useLayoutEffect(e,t)};Q.useMemo=function(e,t){return Ye.current.useMemo(e,t)};Q.useReducer=function(e,t,n){return Ye.current.useReducer(e,t,n)};Q.useRef=function(e){return Ye.current.useRef(e)};Q.useState=function(e){return Ye.current.useState(e)};Q.useSyncExternalStore=function(e,t,n){return Ye.current.useSyncExternalStore(e,t,n)};Q.useTransition=function(){return Ye.current.useTransition()};Q.version="18.3.1";Pv.exports=Q;var w=Pv.exports;const L=zo(w),Iv=NS({__proto__:null,default:L},[w]);/** 11 * @license React 12 * react-jsx-runtime.production.min.js 13 * 14 * Copyright (c) Facebook, Inc. and its affiliates. 15 * 16 * This source code is licensed under the MIT license found in the 17 * LICENSE file in the root directory of this source tree. 18 */var KS=w,GS=Symbol.for("react.element"),qS=Symbol.for("react.fragment"),YS=Object.prototype.hasOwnProperty,QS=KS.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,XS={key:!0,ref:!0,__self:!0,__source:!0};function jv(e,t,n){var r,i={},s=null,o=null;n!==void 0&&(s=""+n),t.key!==void 0&&(s=""+t.key),t.ref!==void 0&&(o=t.ref);for(r in t)YS.call(t,r)&&!XS.hasOwnProperty(r)&&(i[r]=t[r]);if(e&&e.defaultProps)for(r in t=e.defaultProps,t)i[r]===void 0&&(i[r]=t[r]);return{$$typeof:GS,type:e,key:s,ref:o,props:i,_owner:QS.current}}Yl.Fragment=qS;Yl.jsx=jv;Yl.jsxs=jv;Tv.exports=Yl;var b=Tv.exports,_v={exports:{}},ft={},zv={exports:{}},Fv={};/** 19 * @license React 20 * scheduler.production.min.js 21 * 22 * Copyright (c) Facebook, Inc. and its affiliates. 23 * 24 * This source code is licensed under the MIT license found in the 25 * LICENSE file in the root directory of this source tree. 26 */(function(e){function t(A,N){var j=A.length;A.push(N);e:for(;0<j;){var $=j-1>>>1,B=A[$];if(0<i(B,N))A[$]=N,A[j]=B,j=$;else break e}}function n(A){return A.length===0?null:A[0]}function r(A){if(A.length===0)return null;var N=A[0],j=A.pop();if(j!==N){A[0]=j;e:for(var $=0,B=A.length,Y=B>>>1;$<Y;){var X=2*($+1)-1,we=A[X],Oe=X+1,ee=A[Oe];if(0>
vendor: 10,295 bytes, lines 26-35
26i(we,j))Oe<B&&0>i(ee,we)?(A[$]=ee,A[Oe]=j,$=Oe):(A[$]=we,A[X]=j,$=X);else if(Oe<B&&0>i(ee,j))A[$]=ee,A[Oe]=j,$=Oe;else break e}}return N}function i(A,N){var j=A.sortIndex-N.sortIndex;return j!==0?j:A.id-N.id}if(typeof performance=="object"&&typeof performance.now=="function"){var s=performance;e.unstable_now=function(){return s.now()}}else{var o=Date,a=o.now();e.unstable_now=function(){return o.now()-a}}var l=[],u=[],c=1,d=null,f=3,p=!1,y=!1,g=!1,x=typeof setTimeout=="function"?setTimeout:null,h=typeof clearTimeout=="function"?clearTimeout:null,m=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function v(A){for(var N=n(u);N!==null;){if(N.callback===null)r(u);else if(N.startTime<=A)r(u),N.sortIndex=N.expirationTime,t(l,N);else break;N=n(u)}}function S(A){if(g=!1,v(A),!y)if(n(l)!==null)y=!0,V(C);else{var N=n(u);N!==null&&G(S,N.startTime-A)}}function C(A,N){y=!1,g&&(g=!1,h(P),P=-1),p=!0;var j=f;try{for(v(N),d=n(l);d!==null&&(!(d.expirationTime>N)||A&&!_());){var $=d.callback;if(typeof $=="function"){d.callback=null,f=d.priorityLevel;var B=$(d.expirationTime<=N);N=e.unstable_now(),typeof B=="function"?d.callback=B:d===n(l)&&r(l),v(N)}else r(l);d=n(l)}if(d!==null)var Y=!0;else{var X=n(u);X!==null&&G(S,X.startTime-N),Y=!1}return Y}finally{d=null,f=j,p=!1}}var E=!1,T=null,P=-1,R=5,k=-1;function _(){return!(e.unstable_now()-k<R)}function I(){if(T!==null){var A=e.unstable_now();k=A;var N=!0;try{N=T(!0,A)}finally{N?U():(E=!1,T=null)}}else E=!1}var U;if(typeof m=="function")U=function(){m(I)};else if(typeof MessageChannel<"u"){var O=new MessageChannel,W=O.port2;O.port1.onmessage=I,U=function(){W.postMessage(null)}}else U=function(){x(I,0)};function V(A){T=A,E||(E=!0,U())}function G(A,N){P=x(function(){A(e.unstable_now())},N)}e.unstable_IdlePriority=5,e.unstable_ImmediatePriority=1,e.unstable_LowPriority=4,e.unstable_NormalPriority=3,e.unstable_Profiling=null,e.unstable_UserBlockingPriority=2,e.unstable_cancelCallback=function(A){A.callback=null},e.unstable_continueExecution=function(){y||p||(y=!0,V(C))},e.unstable_forceFrameRate=function(A){0>A||125<A?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):R=0<A?Math.floor(1e3/A):5},e.unstable_getCurrentPriorityLevel=function(){return f},e.unstable_getFirstCallbackNode=function(){return n(l)},e.unstable_next=function(A){switch(f){case 1:case 2:case 3:var N=3;break;default:N=f}var j=f;f=N;try{return A()}finally{f=j}},e.unstable_pauseExecution=function(){},e.unstable_requestPaint=function(){},e.unstable_runWithPriority=function(A,N){switch(A){case 1:case 2:case 3:case 4:case 5:break;default:A=3}var j=f;f=A;try{return N()}finally{f=j}},e.unstable_scheduleCallback=function(A,N,j){var $=e.unstable_now();switch(typeof j=="object"&&j!==null?(j=j.delay,j=typeof j=="number"&&0<j?$+j:$):j=$,A){case 1:var B=-1;break;case 2:B=250;break;case 5:B=1073741823;break;case 4:B=1e4;break;default:B=5e3}return B=j+B,A={id:c++,callback:N,priorityLevel:A,startTime:j,expirationTime:B,sortIndex:-1},j>$?(A.sortIndex=j,t(u,A),n(l)===null&&A===n(u)&&(g?(h(P),P=-1):g=!0,G(S,j-$))):(A.sortIndex=B,t(l,A),y||p||(y=!0,V(C))),A},e.unstable_shouldYield=_,e.unstable_wrapCallback=function(A){var N=f;return function(){var j=f;f=N;try{return A.apply(this,arguments)}finally{f=j}}}})(Fv);zv.exports=Fv;var ZS=zv.exports;/** 27 * @license React 28 * react-dom.production.min.js 29 * 30 * Copyright (c) Facebook, Inc. and its affiliates. 31 * 32 * This source code is licensed under the MIT license found in the 33 * LICENSE file in the root directory of this source tree. 34 */var JS=w,dt=ZS;function D(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 Vv=new Set,lo={};function si(e,t){Zi(e,t),Zi(e+"Capture",t)}function Zi(e,t){for(lo[e]=t,e=0;e<t.length;e++)Vv.add(t[e])}var bn=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),Gc=Object.prototype.hasOwnProperty,eC=/^[: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]*$/,$h={},Uh={};function tC(e){return Gc.call(Uh,e)?!0:Gc.call($h,e)?!1:eC.test(e)?Uh[e]=!0:($h[e]=!0,!1)}function nC(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 rC(e,t,n,r){if(t===null||typeof t>"u"||nC(e,t,n,r))return!0;if(r)return!1;if(n!==null)switch(n.type){case 3:return!t;case 4:return t===!1;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}function Qe(e,t,n,r,i,s,o){this.acceptsBooleans=t===2||t===3||t===4,this.attributeName=r,this.attributeNamespace=i,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=s,this.removeEmptyString=o}var De={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){De[e]=new Qe(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];De[t]=new Qe(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){De[e]=new Qe(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){De[e]=new Qe(e,2,!1,e,null,!1,!1)});"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(e){De[e]=new Qe(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){De[e]=new Qe(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){De[e]=new Qe(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){De[e]=new Qe(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){De[e]=new Qe(e,5,!1,e.toLowerCase(),null,!1,!1)});var Uf=/[\-:]([a-z])/g;function Wf(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(Uf,Wf);De[t]=new Qe(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(Uf,Wf);De[t]=new Qe(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(Uf,Wf);De[t]=new Qe(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){De[e]=new Qe(e,1,!1,e.toLowerCase(),null,!1,!1)});De.xlinkHref=new Qe("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){De[e]=new Qe(e,1,!1,e.toLowerCase(),null,!0,!0)});function Hf(e,t,n,r){var i=De.hasOwnProperty(t)?De[t]:null;(i!==null?i.type!==0:r||!(2<t.length)||t[0]!=="o"&&t[0]!=="O"||t[1]!=="n"&&t[1]!=="N")&&(rC(t,n,i,r)&&(n=null),r||i===null?tC(t)&&(n===null?e.removeAttribute(t):e.setAttribute(t,""+n)):i.mustUseProperty?e[i.propertyName]=n===null?i.type===3?!1:"":n:(t=i.attributeName,r=i.attributeNamespace,n===null?e.removeAttribute(t):(i=i.type,n=i===3||i===4&&n===!0?"":""+n,r?e.setAttributeNS(r,t,n):e.setAttribute(t,n))))}var kn=JS.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,ra=Symbol.for("react.element"),vi=Symbol.for("react.portal"),wi=Symbol.for("react.fragment"),Kf=Symbol.for("react.strict_mode"),qc=Symbol.for("react.profiler"),Bv=Symbol.for("react.provider"),$v=Symbol.for("react.context"),Gf=Symbol.for("react.forward_ref"),Yc=Symbol.for("react.suspense"),Qc=Symbol.for("react.suspense_list"),qf=Symbol.for("react.memo"),Bn=Symbol.for("react.lazy"),Uv=Symbol.for("react.offscreen"),Wh=Symbol.iterator;function ks(e){return e===null||typeof e!="object"?null:(e=Wh&&e[Wh]||e["@@iterator"],typeof e=="function"?e:null)}var me=Object.assign,$u;function Vs(e){if($u===void 0)try{throw Error()}catch(n){var t=n.stack.trim().match(/\n( *(at )?)/);$u=t&&t[1]||""}return` 35`+$u+e}var Uu=!1;function Wu(e,t){if(!e||Uu)return"";Uu=!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: 4,297 bytes, lines 35-38
35catch(u){if(u&&r&&typeof u.stack=="string"){for(var i=u.stack.split(` 36`),s=r.stack.split(` 37`),o=i.length-1,a=s.length-1;1<=o&&0<=a&&i[o]!==s[a];)a--;for(;1<=o&&0<=a;o--,a--)if(i[o]!==s[a]){if(o!==1||a!==1)do if(o--,a--,0>a||i[o]!==s[a]){var l=` 38`+i[o].replace(" at new "," at ");return e.displayName&&l.includes("<anonymous>")&&(l=l.replace("<anonymous>",e.displayName)),l}while(1<=o&&0<=a);break}}}finally{Uu=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?Vs(e):""}function iC(e){switch(e.tag){case 5:return Vs(e.type);case 16:return Vs("Lazy");case 13:return Vs("Suspense");case 19:return Vs("SuspenseList");case 0:case 2:case 15:return e=Wu(e.type,!1),e;case 11:return e=Wu(e.type.render,!1),e;case 1:return e=Wu(e.type,!0),e;default:return""}}function Xc(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 wi:return"Fragment";case vi:return"Portal";case qc:return"Profiler";case Kf:return"StrictMode";case Yc:return"Suspense";case Qc:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case $v:return(e.displayName||"Context")+".Consumer";case Bv:return(e._context.displayName||"Context")+".Provider";case Gf:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case qf:return t=e.displayName||null,t!==null?t:Xc(e.type)||"Memo";case Bn:t=e._payload,e=e._init;try{return Xc(e(t))}catch{}}return null}function sC(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 Xc(t);case 8:return t===Kf?"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 ur(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function Wv(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function oC(e){var t=Wv(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&typeof n<"u"&&typeof n.get=="function"&&typeof n.set=="function"){var i=n.get,s=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return i.call(this)},set:function(o){r=""+o,s.call(this,o)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(o){r=""+o},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function ia(e){e._valueTracker||(e._valueTracker=oC(e))}function Hv(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=Wv(e)?e.checked?"true":"false":e.value),e=r,e!==n?(t.setValue(e),!0):!1}function il(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 Zc(e,t){var n=t.checked;return me({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n??e._wrapperState.initialChecked})}function Hh(e,t){var n=t.defaultValue==null?"":t.defaultValue,r=t.checked!=null?t.checked:t.defaultChecked;n=ur(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 Kv(e,t){t=t.checked,t!=null&&Hf(e,"checked",t,!1)}function Jc(e,t){Kv(e,t);var n=ur(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")?ed(e,t.type,n):t.hasOwnProperty("defaultValue")&&ed(e,t.type,ur(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}
vendor: 4,180 bytes, line 38
38function Kh(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 ed(e,t,n){(t!=="number"||il(e.ownerDocument)!==e)&&(n==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var Bs=Array.isArray;function Di(e,t,n,r){if(e=e.options,t){t={};for(var i=0;i<n.length;i++)t["$"+n[i]]=!0;for(n=0;n<e.length;n++)i=t.hasOwnProperty("$"+e[n].value),e[n].selected!==i&&(e[n].selected=i),i&&r&&(e[n].defaultSelected=!0)}else{for(n=""+ur(n),t=null,i=0;i<e.length;i++){if(e[i].value===n){e[i].selected=!0,r&&(e[i].defaultSelected=!0);return}t!==null||e[i].disabled||(t=e[i])}t!==null&&(t.selected=!0)}}function td(e,t){if(t.dangerouslySetInnerHTML!=null)throw Error(D(91));return me({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function Gh(e,t){var n=t.value;if(n==null){if(n=t.children,t=t.defaultValue,n!=null){if(t!=null)throw Error(D(92));if(Bs(n)){if(1<n.length)throw Error(D(93));n=n[0]}t=n}t==null&&(t=""),n=t}e._wrapperState={initialValue:ur(n)}}function Gv(e,t){var n=ur(t.value),r=ur(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 qh(e){var t=e.textContent;t===e._wrapperState.initialValue&&t!==""&&t!==null&&(e.value=t)}function qv(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 nd(e,t){return e==null||e==="http://www.w3.org/1999/xhtml"?qv(t):e==="http://www.w3.org/2000/svg"&&t==="foreignObject"?"http://www.w3.org/1999/xhtml":e}var sa,Yv=function(e){return typeof MSApp<"u"&&MSApp.execUnsafeLocalFunction?function(t,n,r,i){MSApp.execUnsafeLocalFunction(function(){return e(t,n,r,i)})}:e}(function(e,t){if(e.namespaceURI!=="http://www.w3.org/2000/svg"||"innerHTML"in e)e.innerHTML=t;else{for(sa=sa||document.createElement("div"),sa.innerHTML="<svg>"+t.valueOf().toString()+"</svg>",t=sa.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function uo(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var qs={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},aC=["Webkit","ms","Moz","O"];Object.keys(qs).forEach(function(e){aC.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),qs[t]=qs[e]})});function Qv(e,t,n){return t==null||typeof t=="boolean"||t===""?"":n||typeof t!="number"||t===0||qs.hasOwnProperty(e)&&qs[e]?(""+t).trim():t+"px"}function Xv(e,t){e=e.style;for(var n in t)if(t.hasOwnProperty(n)){var r=n.indexOf("--")===0,i=Qv(n,t[n],r);n==="float"&&(n="cssFloat"),r?e.setProperty(n,i):e[n]=i}}var lC=me({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 rd(e,t){if(t){if(lC[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(D(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(D(60));if(typeof t.dangerouslySetInnerHTML!="object"||!("__html"in t.dangerouslySetInnerHTML))throw Error(D(61))}if(t.style!=null&&typeof t.style!="object")throw Error(D(62))}}function id(e,t){if(e.indexOf("-")===-1)return typeof t.is=="str
38ing";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 sd=null;function Yf(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var od=null,Oi=null,Ii=null;function Yh(e){if(e=$o(e)){if(typeof od!="function")throw Error(D(280));var t=e.stateNode;t&&(t=eu(t),od(e.stateNode,e.type,t))}}function Zv(e){Oi?Ii?Ii.push(e):Ii=[e]:Oi=e}function Jv(){if(Oi){var e=Oi,t=Ii;if(Ii=Oi=null,Yh(e),t)for(e=0;e<t.length;e++)Yh(t[e])}}function e0(e,t){return e(t)}function t0(){}var Hu=!1;function n0(e,t,n){if(Hu)return e(t,n);Hu=!0;try{return e0(e,t,n)}finally{Hu=!1,(Oi!==null||Ii!==null)&&(t0(),Jv())}}function co(e,t){var n=e.stateNode;if(n===null)return null;var r=eu(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(D(231,t,typeof n));return n}var ad=!1;if(bn)try{var As={};Object.defineProperty(As,"passive",{get:function(){ad=!0}}),window.addEventListener("test",As,As),window.removeEventListener("test",As,As)}catch{ad=!1}function uC(e,t,n,r,i,s,o,a,l){var u=Array.prototype.slice.call(arguments,3);try{t.apply(n,u)}catch(c){this.onError(c)}}var Ys=!1,sl=null,ol=!1,ld=null,cC={onError:function(e){Ys=!0,sl=e}};function dC(e,t,n,r,i,s,o,a,l){Ys=!1,sl=null,uC.apply(cC,arguments)}function fC(e,t,n,r,i,s,o,a,l){if(dC.apply(this,arguments),Ys){if(Ys){var u=sl;Ys=!1,sl=null}else throw Error(D(198));ol||(ol=!0,ld=u)}}function oi(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 r0(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 Qh(e){if(oi(e)!==e)throw Error(D(188))}function pC(e){var t=e.alternate;if(!t){if(t=oi(e),t===null)throw Error(D(188));return t!==e?null:e}for(var n=e,r=t;;){var i=n.return;if(i===null)break;var s=i.alternate;if(s===null){if(r=i.return,r!==null){n=r;continue}break}if(i.child===s.child){for(s=i.child;s;){if(s===n)return Qh(i),e;if(s===r)return Qh(i),t;s=s.sibling}throw Error(D(188))}if(n.return!==r.return)n=i,r=s;else{for(var o=!1,a=i.child;a;){if(a===n){o=!0,n=i,r=s;break}if(a===r){o=!0,r=i,n=s;break}a=a.sibling}if(!o){for(a=s.child;a;){if(a===n){o=!0,n=s,r=i;break}if(a===r){o=!0,r=s,n=i;break}a=a.sibling}if(!o)throw Error(D(189))}}if(n.alternate!==r)throw Error(D(190))}if(n.tag!==3)throw Error(D(188));return n.stateNode.current===n?e:t}function i0(e){return e=pC(e),e!==null?s0(e):null}function s0(e){if(e.tag===5||e.tag===6)return e;for(e=e.child;e!==null;){var t=s0(e);if(t!==null)return t;e=e.sibling}return null}var o0=dt.unstable_scheduleCallback,Xh=dt.unstable_cancelCallback,hC=dt.unstable_shouldYield,mC=dt.unstable_requestPaint,ve=dt.unstable_now,gC=dt.unstable_getCurrentPriorityLevel,Qf=dt.unstable_ImmediatePriority,a0=dt.unstable_UserBlockingPriority,al=dt.unstable_NormalPriority,yC=dt.unstable_LowPriority,l0=dt.unstable_IdlePriority,Ql=null,en=null;function vC(e){if(en&&typeof en.onCommitFiberRoot=="function")try{en.onCommitFiberRoot(Ql,e,void 0,(e.current.flags&128)===128)}catch{}}var Ft=Math.clz32?Math.clz32:bC,wC=Math.log,xC=Math.LN2;function bC(e){return e>>>=0,e===0?32:31-(wC(e)/xC|0)|0}var oa=64,aa=4194304;function $s(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 ll(e,t){var n=e.pendingLanes;if(n===0)return 0;var r=0,i=e.suspendedLanes,s=e.pingedLanes,o=n&268435455;if(o!==0){var a=o&~i;a!==0?r=$s(a):(s&=o,s!==0&&(r=$s(s)))}else o=n&~i,o!==0?r=$s(o):s!==0&&(r=$s(s));if(r===0)return 0;if(t!==0&&t!==r&&!(t&i)&&(i=r&-r,s=t&-t,i>=s||i===16&&(s&4194240)!==0))return t;if(r&4&&(r|=n&16),t=e.entangledLanes,t!==0)for(e=e.entanglements,t&=r;0<t;)n=31-Ft(t),i=1<<n,r|=e[n],t&=~i;return r}function SC(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 CC(e,t){for(var n=e.suspendedLanes,r=e.pingedLanes,i=e.expirationTimes,s=e.pendingLanes;0<s;){var o=31-Ft(s),a=1<<o,l=i[o];l===-1?(!(a&n)||a&r)&&(i[o]=SC(a,t)):l<=t&&(e.expiredLanes|=a),s&=~a}}function ud(e){return e=e.pendingLanes&-1073741825,e!==0?e:e&1073741824?1073741824:0}function u0(){var e=oa;return oa<<=1,!(oa&4194240)&&(oa=64),e}function Ku(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function Vo(e,t,n){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-Ft(t),e[t]=n}function EC(e,t){var n=e.pendingLanes&~t;e.pendingLanes=t,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=t,e.mutableReadLanes&=t,e.entangledLanes&=t,t=e.entanglements;var r=e.eventTimes;for(e=e.expirationTimes;0<n;){var i=31-Ft(n),s=1<<i;t[i]=0,r[i]=-1,e[i]=-1,n&=~s}}function Xf(e,t){var n=e.entangledLanes|=t;for(e=e.entanglements;n;){var r=31-Ft(n),i=1<<r;i&t|e[r]&t&&(e[r]|=t),n&=~i}}var te=0;function c0(e){return e&=-e,1<e?4<e?e&268435455?16:536870912:4:1}var d0,Zf,f0,p0,h0,cd=!1,la=[],er=null,tr=null,nr=null,fo=new Map,po=new Map,Un=[],TC="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 Zh(e,t){switch(e){case"focusin":case"focusout":er=null;break;case"dragenter":case"dragleave":tr=null;break;case"mouseover":case"mouseout":nr=null;break;case"pointerover":case"pointerout":fo.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":po.delete(t.pointerId)}}function Rs(e,t,n,r,i,s){return e===null||e.nativeEvent!==s?(e={blockedOn:t,domEventName:n,eventSystemFlags:r,nativeEvent:s,targetContainers:[i]},t!==null&&(t=$o(t),t!==null&&Zf(t)),e):(e.eventSystemFlags|=r,t=e.targetContainers,i!==null&&t.indexOf(i)===-1&&t.push(i),e)}function PC(e,t,n,r,i){switch(t){case"focusin":return er=Rs(er,e,t,n,r,i),!0;case"dragenter":return tr=Rs(tr,e,t,n,r,i),!0;case"mouseover":return nr=Rs(nr,e,t,n,r,i),!0;case"pointerover":var s=i.pointerId;return fo.set(s,Rs(fo.get(s)||null,e,t,n,r,i)),!0;case"gotpointercapture":return s=i.pointerId,po.set(s,Rs(po.get(s)||null,e,t,n,r,i)),!0}return!1}function m0(e){var t=Ir(e.target);if(t!==null){var n=oi(t);if(n!==null){if(t=n.tag,t===13){if(t=r0(n),t!==null){e.blockedOn=t,h0(e.priority,function(){f0(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 La(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;0<t.length;){var n=dd(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(n===null){n=e.nativeEvent;var r=new n.constructor(n.type,n);sd=r,n.target.dispatchEvent(r),sd=null}else return t=$o(n),t!==null&&Zf(t),e.blockedOn=n,!1;t.shift()}return!0}function Jh(e,t,n){La(e)&&n.delete(t)}function kC(){cd=!1,er!==null&&La(er)&&(er=null),tr!==null&&La(tr)&&(tr=null),nr!==null&&La(nr)&&(nr=null),fo.forEach(Jh),po.forEac
vendor: 9,276 bytes, line 38
38h(Jh)}function Ns(e,t){e.blockedOn===t&&(e.blockedOn=null,cd||(cd=!0,dt.unstable_scheduleCallback(dt.unstable_NormalPriority,kC)))}function ho(e){function t(i){return Ns(i,e)}if(0<la.length){Ns(la[0],e);for(var n=1;n<la.length;n++){var r=la[n];r.blockedOn===e&&(r.blockedOn=null)}}for(er!==null&&Ns(er,e),tr!==null&&Ns(tr,e),nr!==null&&Ns(nr,e),fo.forEach(t),po.forEach(t),n=0;n<Un.length;n++)r=Un[n],r.blockedOn===e&&(r.blockedOn=null);for(;0<Un.length&&(n=Un[0],n.blockedOn===null);)m0(n),n.blockedOn===null&&Un.shift()}var ji=kn.ReactCurrentBatchConfig,ul=!0;function AC(e,t,n,r){var i=te,s=ji.transition;ji.transition=null;try{te=1,Jf(e,t,n,r)}finally{te=i,ji.transition=s}}function RC(e,t,n,r){var i=te,s=ji.transition;ji.transition=null;try{te=4,Jf(e,t,n,r)}finally{te=i,ji.transition=s}}function Jf(e,t,n,r){if(ul){var i=dd(e,t,n,r);if(i===null)nc(e,t,r,cl,n),Zh(e,r);else if(PC(i,e,t,n,r))r.stopPropagation();else if(Zh(e,r),t&4&&-1<TC.indexOf(e)){for(;i!==null;){var s=$o(i);if(s!==null&&d0(s),s=dd(e,t,n,r),s===null&&nc(e,t,r,cl,n),s===i)break;i=s}i!==null&&r.stopPropagation()}else nc(e,t,r,null,n)}}var cl=null;function dd(e,t,n,r){if(cl=null,e=Yf(r),e=Ir(e),e!==null)if(t=oi(e),t===null)e=null;else if(n=t.tag,n===13){if(e=r0(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 cl=e,null}function g0(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(gC()){case Qf:return 1;case a0:return 4;case al:case yC:return 16;case l0:return 536870912;default:return 16}default:return 16}}var Qn=null,ep=null,Da=null;function y0(){if(Da)return Da;var e,t=ep,n=t.length,r,i="value"in Qn?Qn.value:Qn.textContent,s=i.length;for(e=0;e<n&&t[e]===i[e];e++);var o=n-e;for(r=1;r<=o&&t[n-r]===i[s-r];r++);return Da=i.slice(e,1<r?1-r:void 0)}function Oa(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 ua(){return!0}function em(){return!1}function pt(e){function t(n,r,i,s,o){this._reactName=n,this._targetInst=i,this.type=r,this.nativeEvent=s,this.target=o,this.currentTarget=null;for(var a in e)e.hasOwnProperty(a)&&(n=e[a],this[a]=n?n(s):s[a]);return this.isDefaultPrevented=(s.defaultPrevented!=null?s.defaultPrevented:s.returnValue===!1)?ua:em,this.isPropagationStopped=em,this}return me(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=ua)},stopPropagation:function(){var n=this.nativeEvent;n&&(n.stopPropagation?n.stopPropagation():typeof n.cancelBubble!="unknown"&&(n.cancelBubble=!0),this.isPropagationStopped=ua)},persist:function(){},isPersistent:ua}),t}var fs={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},tp=pt(fs),Bo=me({},fs,{view:0,detail:0}),NC=pt(Bo),Gu,qu,Ms,Xl=me({},Bo,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:np,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!==Ms&&(Ms&&e.type==="mousemove"?(Gu=e.screenX-Ms.screenX,qu=e.screenY-Ms.screenY):qu=Gu=0,Ms=e),Gu)},movementY:function(e){return"movementY"in e?e.movementY:qu}}),tm=pt(Xl),MC=me({},Xl,{dataTransfer:0}),LC=pt(MC),DC=me({},Bo,{relatedTarget:0}),Yu=pt(DC),OC=me({},fs,{animationName:0,elapsedTime:0,pseudoElement:0}),IC=pt(OC),jC=me({},fs,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),_C=pt(jC),zC=me({},fs,{data:0}),nm=pt(zC),FC={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},VC={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"},BC={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function $C(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):(e=BC[e])?!!t[e]:!1}function np(){return $C}var UC=me({},Bo,{key:function(e){if(e.key){var t=FC[e.key]||e.key;if(t!=="Unidentified")return t}return e.type==="keypress"?(e=Oa(e),e===13?"Enter":String.fromCharCode(e)):e.type==="keydown"||e.type==="keyup"?VC[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:np,charCode:function(e){return e.type==="keypress"?Oa(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?Oa(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),WC=pt(UC),HC=me({},Xl,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),rm=pt(HC),KC=me({},Bo,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:np}),GC=pt(KC),qC=me({},fs,{propertyName:0,elapsedTime:0,pseudoElement:0}),YC=pt(qC),QC=me({},Xl,{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}),XC=pt(QC),ZC=[9,13,27,32],rp=bn&&"CompositionEvent"in window,Qs=null;bn&&"documentMode"in document&&(Qs=document.documentMode);var JC=bn&&"TextEvent"in window&&!Qs,v0=bn&&(!rp||Qs&&8<Qs&&11>=Qs),im=" ",sm=!1;function w0(e,t){switch(e){case"keyup":return ZC.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function x0(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var xi=!1;function eE(e,t){switch(e){case"compositionend":return x0(t);case"keypress":return t.which!==32?null:(sm=!0,im);case"textInput":return e=t.data,e===im&&sm?null:e;default:return null}}function tE(e,t){if(xi)return e==="compositionend"||!rp&&w0(e,t)?(e=y0(),Da=ep=Qn=null,xi=!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 v0&&t.locale!=="ko"?null:t.data;default:return null}}var nE={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 om(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t==="input"?!!nE[e.type]:t==="textarea"}function b0(e,t,n,r){Zv(r),t=dl(t,"onChange"),0<t.length&&(n=new tp("onChange","change",null,n,r),e.push({event:n,listeners:t}))}var Xs=null,mo=null;function rE(e){L0(e,0)}function Zl(e){var t=Ci(e);if(Hv(t))return e}function iE(e,t){if(e==="change")return t}var S0=!1;if(bn){var Qu;if(bn){var Xu="oninput"in document;if(!Xu){var am=document.createElement("div");am.setAttribute("oninput","return;"),Xu=typeof am.oninput=="function"}Qu=Xu}else Qu=!1;S0=Qu&&(!document.documentMode||9<document.documentMode)}function lm(){Xs&&(Xs.detachEvent("onpropertychange",C0),mo=Xs=null)}function C0(e){if(e.propertyName==="value"&&Zl(mo)){var t=[];b0(t,mo,e,Yf(e)),n0(rE,t)}}function sE(e,t,n){e==="focusin"?(lm(),Xs=t,mo=n,Xs.attachEvent("onpropertychange",C0)):e==="focusout"&&lm()}function oE(e){if(e==="selectionchange"||e==="keyup"||e==="keydown")return Zl(mo)}function aE(e,t){if(e==="click")return Zl(t)}function lE(e,t){if(e==="input"||e==="change")return Zl(t)}function uE(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var $t=typeof Object.is=="function"?Object.is:uE;function go(e,t){if($t(e,t))return!0;
vendor: 4,808 bytes, line 38
38if(typeof e!="object"||e===null||typeof t!="object"||t===null)return!1;var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(r=0;r<n.length;r++){var i=n[r];if(!Gc.call(t,i)||!$t(e[i],t[i]))return!1}return!0}function um(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function cm(e,t){var n=um(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=um(n)}}function E0(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?E0(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function T0(){for(var e=window,t=il();t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href=="string"}catch{n=!1}if(n)e=t.contentWindow;else break;t=il(e.document)}return t}function ip(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 cE(e){var t=T0(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&E0(n.ownerDocument.documentElement,n)){if(r!==null&&ip(n)){if(t=r.start,e=r.end,e===void 0&&(e=t),"selectionStart"in n)n.selectionStart=t,n.selectionEnd=Math.min(e,n.value.length);else if(e=(t=n.ownerDocument||document)&&t.defaultView||window,e.getSelection){e=e.getSelection();var i=n.textContent.length,s=Math.min(r.start,i);r=r.end===void 0?s:Math.min(r.end,i),!e.extend&&s>r&&(i=r,r=s,s=i),i=cm(n,s);var o=cm(n,r);i&&o&&(e.rangeCount!==1||e.anchorNode!==i.node||e.anchorOffset!==i.offset||e.focusNode!==o.node||e.focusOffset!==o.offset)&&(t=t.createRange(),t.setStart(i.node,i.offset),e.removeAllRanges(),s>r?(e.addRange(t),e.extend(o.node,o.offset)):(t.setEnd(o.node,o.offset),e.addRange(t)))}}for(t=[],e=n;e=e.parentNode;)e.nodeType===1&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for(typeof n.focus=="function"&&n.focus(),n=0;n<t.length;n++)e=t[n],e.element.scrollLeft=e.left,e.element.scrollTop=e.top}}var dE=bn&&"documentMode"in document&&11>=document.documentMode,bi=null,fd=null,Zs=null,pd=!1;function dm(e,t,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;pd||bi==null||bi!==il(r)||(r=bi,"selectionStart"in r&&ip(r)?r={start:r.selectionStart,end:r.selectionEnd}:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection(),r={anchorNode:r.anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset}),Zs&&go(Zs,r)||(Zs=r,r=dl(fd,"onSelect"),0<r.length&&(t=new tp("onSelect","select",null,t,n),e.push({event:t,listeners:r}),t.target=bi)))}function ca(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var Si={animationend:ca("Animation","AnimationEnd"),animationiteration:ca("Animation","AnimationIteration"),animationstart:ca("Animation","AnimationStart"),transitionend:ca("Transition","TransitionEnd")},Zu={},P0={};bn&&(P0=document.createElement("div").style,"AnimationEvent"in window||(delete Si.animationend.animation,delete Si.animationiteration.animation,delete Si.animationstart.animation),"TransitionEvent"in window||delete Si.transitionend.transition);function Jl(e){if(Zu[e])return Zu[e];if(!Si[e])return e;var t=Si[e],n;for(n in t)if(t.hasOwnProperty(n)&&n in P0)return Zu[e]=t[n];return e}var k0=Jl("animationend"),A0=Jl("animationiteration"),R0=Jl("animationstart"),N0=Jl("transitionend"),M0=new Map,fm="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 wr(e,t){M0.set(e,t),si(t,[e])}for(var Ju=0;Ju<fm.length;Ju++){var ec=fm[Ju],fE=ec.toLowerCase(),pE=ec[0].toUpperCase()+ec.slice(1);wr(fE,"on"+pE)}wr(k0,"onAnimationEnd");wr(A0,"onAnimationIteration");wr(R0,"onAnimationStart");wr("dblclick","onDoubleClick");wr("focusin","onFocus");wr("focusout","onBlur");wr(N0,"onTransitionEnd");Zi("onMouseEnter",["mouseout","mouseover"]);Zi("onMouseLeave",["mouseout","mouseover"]);Zi("onPointerEnter",["pointerout","pointerover"]);Zi("onPointerLeave",["pointerout","pointerover"]);si("onChange","change click focusin focusout input keydown keyup selectionchange".split(" "));
vendor: 4,227 bytes, line 38
38si("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" "));si("onBeforeInput",["compositionend","keypress","textInput","paste"]);si("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" "));si("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" "));si("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Us="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(" "),hE=new Set("cancel close invalid load scroll toggle".split(" ").concat(Us));function pm(e,t,n){var r=e.type||"unknown-event";e.currentTarget=n,fC(r,t,void 0,e),e.currentTarget=null}function L0(e,t){t=(t&4)!==0;for(var n=0;n<e.length;n++){var r=e[n],i=r.event;r=r.listeners;e:{var s=void 0;if(t)for(var o=r.length-1;0<=o;o--){var a=r[o],l=a.instance,u=a.currentTarget;if(a=a.listener,l!==s&&i.isPropagationStopped())break e;pm(i,a,u),s=l}else for(o=0;o<r.length;o++){if(a=r[o],l=a.instance,u=a.currentTarget,a=a.listener,l!==s&&i.isPropagationStopped())break e;pm(i,a,u),s=l}}}if(ol)throw e=ld,ol=!1,ld=null,e}function ae(e,t){var n=t[vd];n===void 0&&(n=t[vd]=new Set);var r=e+"__bubble";n.has(r)||(D0(t,e,2,!1),n.add(r))}function tc(e,t,n){var r=0;t&&(r|=4),D0(n,e,r,t)}var da="_reactListening"+Math.random().toString(36).slice(2);function yo(e){if(!e[da]){e[da]=!0,Vv.forEach(function(n){n!=="selectionchange"&&(hE.has(n)||tc(n,!1,e),tc(n,!0,e))});var t=e.nodeType===9?e:e.ownerDocument;t===null||t[da]||(t[da]=!0,tc("selectionchange",!1,t))}}function D0(e,t,n,r){switch(g0(t)){case 1:var i=AC;break;case 4:i=RC;break;default:i=Jf}n=i.bind(null,t,n,e),i=void 0,!ad||t!=="touchstart"&&t!=="touchmove"&&t!=="wheel"||(i=!0),r?i!==void 0?e.addEventListener(t,n,{capture:!0,passive:i}):e.addEventListener(t,n,!0):i!==void 0?e.addEventListener(t,n,{passive:i}):e.addEventListener(t,n,!1)}function nc(e,t,n,r,i){var s=r;if(!(t&1)&&!(t&2)&&r!==null)e:for(;;){if(r===null)return;var o=r.tag;if(o===3||o===4){var a=r.stateNode.containerInfo;if(a===i||a.nodeType===8&&a.parentNode===i)break;if(o===4)for(o=r.return;o!==null;){var l=o.tag;if((l===3||l===4)&&(l=o.stateNode.containerInfo,l===i||l.nodeType===8&&l.parentNode===i))return;o=o.return}for(;a!==null;){if(o=Ir(a),o===null)return;if(l=o.tag,l===5||l===6){r=s=o;continue e}a=a.parentNode}}r=r.return}n0(function(){var u=s,c=Yf(n),d=[];e:{var f=M0.get(e);if(f!==void 0){var p=tp,y=e;switch(e){case"keypress":if(Oa(n)===0)break e;case"keydown":case"keyup":p=WC;break;case"focusin":y="focus",p=Yu;break;case"focusout":y="blur",p=Yu;break;case"beforeblur":case"afterblur":p=Yu;break;case"click":if(n.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":p=tm;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":p=LC;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":p=GC;break;case k0:case A0:case R0:p=IC;break;case N0:p=YC;break;case"scroll":p=NC;break;case"wheel":p=XC;break;case"copy":case"cut":case"paste":p=_C;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":p=rm}var g=(t&4)!==0,x=!g&&e==="scroll",h=g?f!==null?f+"Capture":null:f;g=[];for(var m=u,v;m!==null;){v=m;var S=v.stateNode;if(v.tag===5&&S!==null&&(v=S,h!==null&&(S=co(m,h),S!=null&&g.push(vo(m,S,v)))),x)break;m=m.return}0<g.length&&(f=new p(f,y,null,n,c),d.push({event:f,listeners:g}))}}if(!(t&7)){e:{if(f=e==="mouseover"||e==="pointerover",p=e==="mouseout"||e==="pointerout",f&&n!==sd&&(y=n.relatedTarget||n.fromElement)&&(Ir(y)||y[Sn]))break e;if((p||f)&&(f=c.window===c?c:(f=c.ownerDocument)?f.defaultView||f.parentWindow:window,p?(y=n.relatedTarget||n.toElement,p=u,y=y?Ir(y):null,y!==null&&(x=oi(y),y!==x||y.tag!==5&&y.tag!==6)&&(y=null)):(p=null,y=u),p!==y)){if(g=tm,S="onMouseLeave",h="onMouseEnter",m="mou
38se",(e==="pointerout"||e==="pointerover")&&(g=rm,S="onPointerLeave",h="onPointerEnter",m="pointer"),x=p==null?f:Ci(p),v=y==null?f:Ci(y),f=new g(S,m+"leave",p,n,c),f.target=x,f.relatedTarget=v,S=null,Ir(c)===u&&(g=new g(h,m+"enter",y,n,c),g.target=v,g.relatedTarget=x,S=g),x=S,p&&y)t:{for(g=p,h=y,m=0,v=g;v;v=pi(v))m++;for(v=0,S=h;S;S=pi(S))v++;for(;0<m-v;)g=pi(g),m--;for(;0<v-m;)h=pi(h),v--;for(;m--;){if(g===h||h!==null&&g===h.alternate)break t;g=pi(g),h=pi(h)}g=null}else g=null;p!==null&&hm(d,f,p,g,!1),y!==null&&x!==null&&hm(d,x,y,g,!0)}}e:{if(f=u?Ci(u):window,p=f.nodeName&&f.nodeName.toLowerCase(),p==="select"||p==="input"&&f.type==="file")var C=iE;else if(om(f))if(S0)C=lE;else{C=oE;var E=sE}else(p=f.nodeName)&&p.toLowerCase()==="input"&&(f.type==="checkbox"||f.type==="radio")&&(C=aE);if(C&&(C=C(e,u))){b0(d,C,n,c);break e}E&&E(e,f,u),e==="focusout"&&(E=f._wrapperState)&&E.controlled&&f.type==="number"&&ed(f,"number",f.value)}switch(E=u?Ci(u):window,e){case"focusin":(om(E)||E.contentEditable==="true")&&(bi=E,fd=u,Zs=null);break;case"focusout":Zs=fd=bi=null;break;case"mousedown":pd=!0;break;case"contextmenu":case"mouseup":case"dragend":pd=!1,dm(d,n,c);break;case"selectionchange":if(dE)break;case"keydown":case"keyup":dm(d,n,c)}var T;if(rp)e:{switch(e){case"compositionstart":var P="onCompositionStart";break e;case"compositionend":P="onCompositionEnd";break e;case"compositionupdate":P="onCompositionUpdate";break e}P=void 0}else xi?w0(e,n)&&(P="onCompositionEnd"):e==="keydown"&&n.keyCode===229&&(P="onCompositionStart");P&&(v0&&n.locale!=="ko"&&(xi||P!=="onCompositionStart"?P==="onCompositionEnd"&&xi&&(T=y0()):(Qn=c,ep="value"in Qn?Qn.value:Qn.textContent,xi=!0)),E=dl(u,P),0<E.length&&(P=new nm(P,e,null,n,c),d.push({event:P,listeners:E}),T?P.data=T:(T=x0(n),T!==null&&(P.data=T)))),(T=JC?eE(e,n):tE(e,n))&&(u=dl(u,"onBeforeInput"),0<u.length&&(c=new nm("onBeforeInput","beforeinput",null,n,c),d.push({event:c,listeners:u}),c.data=T))}L0(d,t)})}function vo(e,t,n){return{instance:e,listener:t,currentTarget:n}}function dl(e,t){for(var n=t+"Capture",r=[];e!==null;){var i=e,s=i.stateNode;i.tag===5&&s!==null&&(i=s,s=co(e,n),s!=null&&r.unshift(vo(e,s,i)),s=co(e,t),s!=null&&r.push(vo(e,s,i))),e=e.return}return r}function pi(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5);return e||null}function hm(e,t,n,r,i){for(var s=t._reactName,o=[];n!==null&&n!==r;){var a=n,l=a.alternate,u=a.stateNode;if(l!==null&&l===r)break;a.tag===5&&u!==null&&(a=u,i?(l=co(n,s),l!=null&&o.unshift(vo(n,l,a))):i||(l=co(n,s),l!=null&&o.push(vo(n,l,a)))),n=n.return}o.length!==0&&e.push({event:t,listeners:o})}var mE=/\r\n?/g,gE=/\u0000|\uFFFD/g;function mm(e){return(typeof e=="string"?e:""+e).replace(mE,` 39`).replace(gE,"")}function fa(e,t,n){if(t=mm(t),mm(e)!==t&&n)throw Error(D(425))}function fl(){}var hd=null,md=null;function gd(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 yd=typeof setTimeout=="function"?setTimeout:void 0,yE=typeof clearTimeout=="function"?clearTimeout:void 0,gm=typeof Promise=="function"?Promise:void 0,vE=typeof queueMicrotask=="function"?queueMicrotask:typeof gm<"u"?function(e){return gm.resolve(null).then(e).catch(wE)}:yd;function wE(e){setTimeout(function(){throw e})}function rc(e,t){var n=t,r=0;do{var i=n.nextSibling;if(e.removeChild(n),i&&i.nodeType===8)if(n=i.data,n==="/$"){if(r===0){e.removeChild(i),ho(t);return}r--}else n!=="$"&&n!=="$?"&&n!=="$!"||r++;n=i}while(n);ho(t)}function rr(e){for(;e!=null;e=e.nextSibling){var t=e.nodeType;if(t===1||t===3)break;if(t===8){if(t=e.data,t==="$"||t==="$!"||t==="$?")break;if(t==="/$")return null}}return e}function ym(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 ps=Math.random().toString(36).slice(2),Jt="__reactFiber$"+ps,wo="__reactProps$"+ps,Sn="__reactContainer$"+ps,vd="__reactEvents$"+ps,xE="__reactListeners$"+ps,bE="__reactHandles$"+ps;function Ir(e){var t=e[Jt];if(t)return t;for(var n=e.parentNode;n;){if(t=n[Sn]||n[Jt]){if(n=t.alternate,t.child!==null||n!==null&&n.child!==null)for(e=ym(e);e!==null;){if(n=e[Jt])return n;e=ym(e)}return t}e=n,n=e.parentNode}return null}function $o(e){return e=e[Jt]||e[Sn],!e||e.tag!==5&&e.tag!==6&&e.tag!==13&&e.tag!==3?null:e}function Ci(e){if(e.tag===5||e.tag===6)return e.stateNode;throw Error(D(33))}function eu(e){return e[wo]||null}var wd=[],Ei=-1;function xr(e){return{current:e}}function le(e){0>Ei||(e.current=wd[Ei],wd[Ei]=null,Ei--)}function se(e,t){Ei++,wd[Ei]=e.current,e.current=t}var cr={},Ve=xr(cr),tt=xr(!1),Jr=cr;function Ji(e,t){var n=e.type.contextTypes;if(!n)return cr;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var i={},s;for(s in n)i[s]=t[s];return r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=i),i}function nt(e){return e=e.childContextTypes,e!=null}function pl(){le(tt),le(Ve)}function vm(e,t,n){if(Ve.current!==cr)throw Error(D(168));se(Ve,t),se(tt,n)}
vendor: 15,429 bytes, line 39
39function O0(e,t,n){var r=e.stateNode;if(t=t.childContextTypes,typeof r.getChildContext!="function")return n;r=r.getChildContext();for(var i in r)if(!(i in t))throw Error(D(108,sC(e)||"Unknown",i));return me({},n,r)}function hl(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||cr,Jr=Ve.current,se(Ve,e),se(tt,tt.current),!0}function wm(e,t,n){var r=e.stateNode;if(!r)throw Error(D(169));n?(e=O0(e,t,Jr),r.__reactInternalMemoizedMergedChildContext=e,le(tt),le(Ve),se(Ve,e)):le(tt),se(tt,n)}var gn=null,tu=!1,ic=!1;function I0(e){gn===null?gn=[e]:gn.push(e)}function SE(e){tu=!0,I0(e)}function br(){if(!ic&&gn!==null){ic=!0;var e=0,t=te;try{var n=gn;for(te=1;e<n.length;e++){var r=n[e];do r=r(!0);while(r!==null)}gn=null,tu=!1}catch(i){throw gn!==null&&(gn=gn.slice(e+1)),o0(Qf,br),i}finally{te=t,ic=!1}}return null}var Ti=[],Pi=0,ml=null,gl=0,yt=[],vt=0,ei=null,vn=1,wn="";function Mr(e,t){Ti[Pi++]=gl,Ti[Pi++]=ml,ml=e,gl=t}function j0(e,t,n){yt[vt++]=vn,yt[vt++]=wn,yt[vt++]=ei,ei=e;var r=vn;e=wn;var i=32-Ft(r)-1;r&=~(1<<i),n+=1;var s=32-Ft(t)+i;if(30<s){var o=i-i%5;s=(r&(1<<o)-1).toString(32),r>>=o,i-=o,vn=1<<32-Ft(t)+i|n<<i|r,wn=s+e}else vn=1<<s|n<<i|r,wn=e}function sp(e){e.return!==null&&(Mr(e,1),j0(e,1,0))}function op(e){for(;e===ml;)ml=Ti[--Pi],Ti[Pi]=null,gl=Ti[--Pi],Ti[Pi]=null;for(;e===ei;)ei=yt[--vt],yt[vt]=null,wn=yt[--vt],yt[vt]=null,vn=yt[--vt],yt[vt]=null}var ut=null,lt=null,ce=!1,_t=null;function _0(e,t){var n=wt(5,null,null,0);n.elementType="DELETED",n.stateNode=t,n.return=e,t=e.deletions,t===null?(e.deletions=[n],e.flags|=16):t.push(n)}function xm(e,t){switch(e.tag){case 5:var n=e.type;return t=t.nodeType!==1||n.toLowerCase()!==t.nodeName.toLowerCase()?null:t,t!==null?(e.stateNode=t,ut=e,lt=rr(t.firstChild),!0):!1;case 6:return t=e.pendingProps===""||t.nodeType!==3?null:t,t!==null?(e.stateNode=t,ut=e,lt=null,!0):!1;case 13:return t=t.nodeType!==8?null:t,t!==null?(n=ei!==null?{id:vn,overflow:wn}:null,e.memoizedState={dehydrated:t,treeContext:n,retryLane:1073741824},n=wt(18,null,null,0),n.stateNode=t,n.return=e,e.child=n,ut=e,lt=null,!0):!1;default:return!1}}function xd(e){return(e.mode&1)!==0&&(e.flags&128)===0}function bd(e){if(ce){var t=lt;if(t){var n=t;if(!xm(e,t)){if(xd(e))throw Error(D(418));t=rr(n.nextSibling);var r=ut;t&&xm(e,t)?_0(r,n):(e.flags=e.flags&-4097|2,ce=!1,ut=e)}}else{if(xd(e))throw Error(D(418));e.flags=e.flags&-4097|2,ce=!1,ut=e}}}function bm(e){for(e=e.return;e!==null&&e.tag!==5&&e.tag!==3&&e.tag!==13;)e=e.return;ut=e}function pa(e){if(e!==ut)return!1;if(!ce)return bm(e),ce=!0,!1;var t;if((t=e.tag!==3)&&!(t=e.tag!==5)&&(t=e.type,t=t!=="head"&&t!=="body"&&!gd(e.type,e.memoizedProps)),t&&(t=lt)){if(xd(e))throw z0(),Error(D(418));for(;t;)_0(e,t),t=rr(t.nextSibling)}if(bm(e),e.tag===13){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(D(317));e:{for(e=e.nextSibling,t=0;e;){if(e.nodeType===8){var n=e.data;if(n==="/$"){if(t===0){lt=rr(e.nextSibling);break e}t--}else n!=="$"&&n!=="$!"&&n!=="$?"||t++}e=e.nextSibling}lt=null}}else lt=ut?rr(e.stateNode.nextSibling):null;return!0}function z0(){for(var e=lt;e;)e=rr(e.nextSibling)}function es(){lt=ut=null,ce=!1}function ap(e){_t===null?_t=[e]:_t.push(e)}var CE=kn.ReactCurrentBatchConfig;function Ls(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(D(309));var r=n.stateNode}if(!r)throw Error(D(147,e));var i=r,s=""+e;return t!==null&&t.ref!==null&&typeof t.ref=="function"&&t.ref._stringRef===s?t.ref:(t=function(o){var a=i.refs;o===null?delete a[s]:a[s]=o},t._stringRef=s,t)}if(typeof e!="string")throw Error(D(284));if(!n._owner)throw Error(D(290,e))}return e}function ha(e,t){throw e=Object.prototype.toString.call(t),Error(D(31,e==="[object Object]"?"object with keys {"+Object.keys(t).join(", ")+"}":e))}function Sm(e){var t=e._init;return t(e._payload)}function F0(e){function t(h,m){if(e){var v=h.deletions;v===null?(h.deletions=[m],h.flags|=16):v.push(m)}}function n(h,m){if(!e)return null;for(;m!==null;)t(h,m),m=m.sibling;return null}function r(h,m){for(h=new Map;m!==null;)m.key!==null?h.set(m.key,m):h.set(m.index,m),m=m.sibling;return h}function i(h,m){return h=ar(h,m),h.index=0,h.sibling=null,h}function s(h,m,v){return h.index=v,e?(v=h.alternate,v!==null?(v=v.index,v<m?(h.flags|=2,m):v):(h.flags|=2,m)):(h.flags|=1048576,m)}function o(h){return e&&h.alternate===null&&(h.flags|=2),h}function a(h,m,v,S){return m===null||m.tag!==6?(m=dc(v,h.mode,S),m.return=h,m):(m=i(m,v),m.return=h,m)}function l(h,m,v,S){var C=v.type;return C===wi?c(h,m,v.props.children,S,v.key):m!==null&&(m.elementType===C||typeof C=="object"&&C!==null&&C.$$typeof===Bn&&Sm(C)===m.type)?(S=i(m,v.props),S.ref=Ls(h,m,v),S.return=h,S):(S=Ba(v.type,v.key,v.props,null,h.mode,S),S.ref=Ls(h,m,v),S.return=h,S)}function u(h,m,v,S){return m===null||m.tag!==4||m.stateNode.containerInfo!==v.containerInfo||m.stateNode.implementation!==v.implementation?(m=fc(v,h.mode,S),m.return=h,m):(m=i(m,v.children||[]),m.return=h,m)}function c(h,m,v,S,C){return m===null||m.tag!==7?(m=Yr(v,h.mode,S,C),m.return=h,m):(m=i(m,v),m.return=h,m)}function d(h,m,v){if(typeof m=="string"&&m!==""||typeof m=="number")return m=dc(""+m,h.mode,v),m.return=h,m;if(typeof m=="object"&&m!==null){switch(m.$$typeof){case ra:return v=Ba(m.type,m.key,m.props,null,h.mode,v),v.ref=Ls(h,null,m),v.return=h,v;case vi:return m=fc(m,h.mode,v),m.return=h,m;case Bn:var S=m._init;return d(h,S(m._payload),v)}if(Bs(m)||ks(m))return m=Yr(m,h.mode,v,null),m.return=h,m;ha(h,m)}return null}function f(h,m,v,S){var C=m!==null?m.key:null;if(typeof v=="string"&&v!==""||typeof v=="number")return C!==null?null:a(h,m,""+v,S);if(typeof v=="object"&&v!==null){switch(v.$$typeof){case ra:return v.key===C?l(h,m,v,S):null;case vi:return v.key===C?u(h,m,v,S):null;case Bn:return C=v._init,f(h,m,C(v._payload),S)}if(Bs(v)||ks(v))return C!==null?null:c(h,m,v,S,null);ha(h,v)}return null}function p(h,m,v,S,C){if(typeof S=="string"&&S!==""||typeof S=="number")return h=h.get(v)||null,a(m,h,""+S,C);if(typeof S=="object"&&S!==null){switch(S.$$typeof){case ra:return h=h.get(S.key===null?v:S.key)||null,l(m,h,S,C);case vi:return h=h.get(S.key===null?v:S.key)||null,u(m,h,S,C);case Bn:var E=S._init;return p(h,m,v,E(S._payload),C)}if(Bs(S)||ks(S))return h=h.get(v)||null,c(m,h,S,C,null);ha(m,S)}return null}function y(h,m,v,S){for(var C=null,E=null,T=m,P=m=0,R=null;T!==null&&P<v.length;P++){T.index>P?(R=T,T=null):R=T.sibling;var k=f(h,T,v[P],S);if(k===null){T===null&&(T=R);break}e&&T&&k.alternate===null&&t(h,T),m=s(k,m,P),E===null?C=k:E.sibling=k,E=k,T=R}if(P===v.length)return n(h,T),ce&&Mr(h,P),C;if(T===null){for(;P<v.length;P++)T=d(h,v[P],S),T!==null&&(m=s(T,m,P),E===null?C=T:E.sibling=T,E=T);return ce&&Mr(h,P),C}for(T=r(h,T);P<v.length;P++)R=p(T,h,P,v[P],S),R!==null&&(e&&R.alternate!==null&&T.delete(R.key===null?P:R.key),m=s(R,m,P),E===null?C=R:E.sibling=R,E=R);return e&&T.forEach(function(_){return t(h,_)}),ce&&Mr(h,P),C}function g(h,m,v,S){var C=ks(v);if(typeof C!="function")throw Error(D(150));if(v=C.call(v),v==null)throw Error(D(151));for(var E=C=null,T=m,P=m=0,R=null,k=v.next();T!==null&&!k.done;P++,k=v.next()){T.index>P?(R=T,T=null):R=T.sibling;var _=f(h,T,k.value,S);if(_===null){T===null&&(T=R);break}e&&T&&_.alternate===null&&t(h,T),m=s(_,m,P),E===null?C=_:E.sibling=_,E=_,T=R}if(k.done)return n(h,T),ce&&Mr(h,P),C;if(T===null){for(;!k.done;P++,k=v.next())k=d(h,k.value,S),k!==null&&(m=s(k,m,P),E===null?C=k:E.sibling=k,E=k);return ce&&Mr(h,P),C}for(T=r(h,T);!k.done;P++,k=v.next())k=p(T,h,P,k.value,S),k!==null&&(e&&k.alternate!==null&&T.delete(k.key===null?P:k.key),m=s(k,m,P),E===null?C=k:E.sibling=k,E=k);return e&&T.forEach(function(I){return t(h,I)}),ce&&Mr(h,P),C}function x(h,m,v,S){if(typeof v=="object"&&v!==null&&v.type===wi&&v.key===null&&(v=v.props.children),typeof v=="object"&&v!==null){switch(v.$$typeof){case ra:e:{for(var C=v.key,E=m;E!==null;){if(E.key===C){if(C=v.type,C===wi){if(E.tag===7){n(h,E.sibling),m=i(E,v.props.children),m.return=h,h=m;break e}}else if(E.elementType===C||typeof C=="object"&&C!==null&&C.$$typeof===Bn&&Sm(C)===E.type){n(h,E.sibling),m=i(E,v.props),m.ref=Ls(h,E,v),m.return=h,h=m;break e}n(h,E);break}else t(h,E);E=E.sibling}v.type===wi?(m=Yr(v.props.children,h.mode,S,v.key),m.return=h,h=m):(S=Ba(v.type,v.key,v.props,null,h.mode,S),S.ref=Ls(h,m,v),S.return=h,h=S)}return o(h);case vi:e:{for(E=v.key;m!==null;){if(m.key===E)if(m.tag===4&&m.stateNode.containerInfo===v.containerInfo&&m.stateNode.implementation===v.implementation){n(h,m.sibling),m=i(m,v.children||[]),m.return=h,h=m;break e}else{n(h,m);break}else t(h,m);m=m.sibling}m=fc(v,h.mode,S),m.return=h,h=m}return o(h);case Bn:return E=v._init,x(h,m,E(v._payload),S)}if(Bs(v))return y(h,m,v,S);if(ks(v))return g(h,m,v,S);ha(h,v)}return typeof v=="string"&&v!==""||typeof v=="number"?(v=""+v,m!==null&&m.tag===6?(n(h,m.sibling),m=i(m,v),m.return=h,h=m):(n(h,m),m=dc(v,h.mode,S),m.return=h,h=m),o(h)):n(h,m)}return x}var ts=F0(!0),V0=F0(!1),yl=xr(null),vl=null,ki=null,lp=null;function up(){lp=ki=vl=null}function cp(e){var t=yl.current;le(yl),e._currentValue=t}function Sd(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 _i(e,t){vl=e,lp=ki=null,e=e.dependencies,e!==null&&e.firstContext!==null&&(e.lanes&t&&(et=!0),e.firstContext=null)}function Ct(e){var t=e._currentValue;if(lp!==e)if(e={context:e,memoizedValue:t,next:null},ki===null){if(vl===null)throw Error(D(308));ki=e,vl.dependencies={lanes:0,firstContext:e}}else ki=ki.next=e;return t}var jr=null;function dp(e){jr===null?jr=[e]:jr.push(e)}function B0(e,t,n,r){var i=t.interleaved;return i===null?(n.next=n,dp(t)):(n.next=i.next,i.next=n),t.interleaved=n,Cn(e,r)}function Cn(e,t){e.lanes|=t;var n=e.alternate;for(n!==null&&(n.lanes|=t),n=e,e=e.return;e!==null;)e.childLanes|=t,n=e.alternate,n!==null&&(n.childLanes|=t),n=e,e=e.return;return n.tag===3?n.stateNode:null}var $n=!1;function fp(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function $0(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 xn(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function ir(e,t,n){var r=e.updateQueue;if(r===null)return null;if(r=r.shared,Z&2){var i=r.pending;return i===null?t.next=t:(t.next=i.next,i.next=t),r.pending=t,Cn(e,n)}return i=r.interleaved,i===null?(t.next=t,dp(r)):(t.next=i.next,i.next=t),r.interleaved=t,Cn(e,n)}function Ia(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,Xf(e,n)}}function Cm(e,t){var n=e.updateQueue,r=e.alternate;if(r!==null&&(r=r.updateQueue,n===r)){var i=null,s=null;if(n=n.firstBaseUpdate,n!==null){do{var o={eventTime:n.eventTime,lane:n.lane,tag:n.tag,payload:n.payload,callback:n.callback,next:null};s===null?i=s=o:s=s.next=o,n=n.next}while(n!==null);s===null?i=s=t:s=s.next=t}else i=s=t;n={baseState:r.baseState,firstBaseUpdate:i,lastBaseUpdate:s,shared:r.shared,effects:r.effects},e.updateQueue=n;return}e=n.lastBaseUpdate,e===null?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}function wl(e,t,n,r){var i=e.updateQueue;$n=!1;var s=i.firstBaseUpdate,o=i.lastBaseUpdate,a=i.shared.pending;if(a!==null){i.shared.pending=null;var l=a,u=l.next;l.next=null,o===null?s=u:o.next=u,o=l;var c=e.alternate;c!==null&&(c=c.updateQueue,a=c.lastBaseUpdate,a!==o&&(a===null?c.firstBaseUpdate=u:a.next=u,c.lastBaseUpdate=l))}if(s!==null){var d=i.baseState;o=0,c=u=l=null,a=s;do{var f=a.lane,p=a.eventTime;if((r&f)===f){c!==null&&(c=c.next={eventTime:p,lane:0,tag:a.tag,payload:a.payload,callback:a.callback,next:null});e:{var y=e,g=a;switch(f=t,p=n,g.tag){case 1:if(y=g.payload,typeof y=="function"){d=y.call(p,d,f);break e}d=y;break e;case 3:y.flags=y.flags&-65537|128;case 0:if(y=g.payload,f=typeof y=="function"?y.call(p,d,f):y,f==null)break e;d=me({},d,f);break e;case 2:$n=!0}}a.callback!==null&&a.lane!==0&&(e.flags|=64,f=i.effects,f===null?i.effects=[a]:f.push(a))}else p={eventTime:p,lane:f,tag:a.tag,payload:a.payload,callback:a.callback,next:null},c===null?(u=c=p,l=d):c=c.next=p,o|=f;if(a=a.next,a===null){if(a=i.shared.pending,a===null)break;f=a,a=f.next,f.next=null,i.lastBaseUpdate=f,i.shared.pending=null}}while(!0);if(c===null&&(l=d),i.baseState=l,i.firstBaseUpdate=u,i.lastBaseUpdate=c,t=i.shared.interleaved,t!==null){i=t;do o|=i.lane,i=i.next;while(i!==t)}else s===null&&(i.shared.lanes=0);ni|=o,e.lanes=o,e.memoizedState=d}}function Em(e,t,n){if(e=t.effects,t.effects=null,e!==null)for(t=0;t<e.length;t++){var r=e[t],i=r.callback;if(i!==null){if(r.callback=null,r=n,typeof i!="function")throw Error(D(191,i));i.call(r)}}}var Uo={},tn=xr(Uo),xo=xr(Uo),bo=xr(Uo);function _r(e){if(e===Uo)throw Error(D(174));return e}function pp(e,t){switch(se(bo,t),se(xo,e),se(tn,Uo),e=t.nodeType,e){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:nd(null,"");break;default:e=e===8?t.parentNode:t,t=e.namespaceURI||null,e=e.tagName,t=nd(t,e)}le(tn),se(tn,t)}function ns(){le(tn),le(xo),le(bo)}function U0(e){_r(bo.current);var t=_r(tn.current),n=nd(t,e.type);t!==n&&(se(xo,e),se(tn,n))}function hp(e){xo.current===e&&(le(tn),le(xo))}var fe=xr(0);function xl(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 sc=[];function mp(){for(var e=0;e<sc.length;e++)sc[e]._workInProgressVersionPrimary=null;sc.length=0}var ja=kn.ReactCurrentDispatcher,oc=kn.ReactCurrentBatchConfig,ti=0,pe=null,Ce=null,Pe=null,bl=!1,Js=!1,So=0,EE=0;function je(){throw Error(D(321))}function gp(e,t){if(t===null)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!$t(e[n],t[n]))return!1;return!0}function yp(e,t,n,r,i,s){if(ti=s,pe=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,ja.current=e===null||e.memoizedState===null?AE:RE,e=n(r,i),Js){s=0;do{if(Js=!1,So=0,25<=s)throw Error(D(301));s+=1,Pe=Ce=null,t.updateQueue=null,ja.current=NE,e=n(r,i)}while(Js)}if(ja.current=Sl,t=Ce!==null&&Ce.next!==null,ti=0,Pe=Ce=pe=null,bl=!1,t)throw Error(D(300));return e}function vp(){var e=So!==0;return So=0,e}function Gt(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return Pe===null?pe.memoizedState=Pe=e:Pe=Pe.next=e,Pe}function Et(){if(Ce===null){var e=pe.alternate;e=e!==null?e.memoizedState:null}else e=Ce.next;var t=Pe===null?pe.memoizedState:Pe.next;if(t!==null)Pe=t,Ce=e;else{if(e===null)throw Error(D(310));Ce=e,e={memoizedState:Ce.memoizedState,baseState:Ce.baseState,baseQueue:Ce.baseQueue,queue:Ce.queue,next:null},Pe===null?pe.memoizedState=Pe=e:Pe=Pe.next=e}return Pe}function Co(e,t){return typeof t=="function"?t(e):t}function ac(e){var t=Et(),n=t.queue;if(n===null)throw Error(D(311));n.lastRenderedReducer=e;var r=Ce,i=r.baseQueue,s=n.pending;if(s!==null){if(i!==null){var o=i.next;
vendor: 4,528 bytes, line 39
39i.next=s.next,s.next=o}r.baseQueue=i=s,n.pending=null}if(i!==null){s=i.next,r=r.baseState;var a=o=null,l=null,u=s;do{var c=u.lane;if((ti&c)===c)l!==null&&(l=l.next={lane:0,action:u.action,hasEagerState:u.hasEagerState,eagerState:u.eagerState,next:null}),r=u.hasEagerState?u.eagerState:e(r,u.action);else{var d={lane:c,action:u.action,hasEagerState:u.hasEagerState,eagerState:u.eagerState,next:null};l===null?(a=l=d,o=r):l=l.next=d,pe.lanes|=c,ni|=c}u=u.next}while(u!==null&&u!==s);l===null?o=r:l.next=a,$t(r,t.memoizedState)||(et=!0),t.memoizedState=r,t.baseState=o,t.baseQueue=l,n.lastRenderedState=r}if(e=n.interleaved,e!==null){i=e;do s=i.lane,pe.lanes|=s,ni|=s,i=i.next;while(i!==e)}else i===null&&(n.lanes=0);return[t.memoizedState,n.dispatch]}function lc(e){var t=Et(),n=t.queue;if(n===null)throw Error(D(311));n.lastRenderedReducer=e;var r=n.dispatch,i=n.pending,s=t.memoizedState;if(i!==null){n.pending=null;var o=i=i.next;do s=e(s,o.action),o=o.next;while(o!==i);$t(s,t.memoizedState)||(et=!0),t.memoizedState=s,t.baseQueue===null&&(t.baseState=s),n.lastRenderedState=s}return[s,r]}function W0(){}function H0(e,t){var n=pe,r=Et(),i=t(),s=!$t(r.memoizedState,i);if(s&&(r.memoizedState=i,et=!0),r=r.queue,wp(q0.bind(null,n,r,e),[e]),r.getSnapshot!==t||s||Pe!==null&&Pe.memoizedState.tag&1){if(n.flags|=2048,Eo(9,G0.bind(null,n,r,i,t),void 0,null),ke===null)throw Error(D(349));ti&30||K0(n,t,i)}return i}function K0(e,t,n){e.flags|=16384,e={getSnapshot:t,value:n},t=pe.updateQueue,t===null?(t={lastEffect:null,stores:null},pe.updateQueue=t,t.stores=[e]):(n=t.stores,n===null?t.stores=[e]:n.push(e))}function G0(e,t,n,r){t.value=n,t.getSnapshot=r,Y0(t)&&Q0(e)}function q0(e,t,n){return n(function(){Y0(t)&&Q0(e)})}function Y0(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!$t(e,n)}catch{return!0}}function Q0(e){var t=Cn(e,1);t!==null&&Vt(t,e,1,-1)}function Tm(e){var t=Gt();return typeof e=="function"&&(e=e()),t.memoizedState=t.baseState=e,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:Co,lastRenderedState:e},t.queue=e,e=e.dispatch=kE.bind(null,pe,e),[t.memoizedState,e]}function Eo(e,t,n,r){return e={tag:e,create:t,destroy:n,deps:r,next:null},t=pe.updateQueue,t===null?(t={lastEffect:null,stores:null},pe.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 X0(){return Et().memoizedState}function _a(e,t,n,r){var i=Gt();pe.flags|=e,i.memoizedState=Eo(1|t,n,void 0,r===void 0?null:r)}function nu(e,t,n,r){var i=Et();r=r===void 0?null:r;var s=void 0;if(Ce!==null){var o=Ce.memoizedState;if(s=o.destroy,r!==null&&gp(r,o.deps)){i.memoizedState=Eo(t,n,s,r);return}}pe.flags|=e,i.memoizedState=Eo(1|t,n,s,r)}function Pm(e,t){return _a(8390656,8,e,t)}function wp(e,t){return nu(2048,8,e,t)}function Z0(e,t){return nu(4,2,e,t)}function J0(e,t){return nu(4,4,e,t)}function ew(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 tw(e,t,n){return n=n!=null?n.concat([e]):null,nu(4,4,ew.bind(null,t,e),n)}function xp(){}function nw(e,t){var n=Et();t=t===void 0?null:t;var r=n.memoizedState;return r!==null&&t!==null&&gp(t,r[1])?r[0]:(n.memoizedState=[e,t],e)}function rw(e,t){var n=Et();t=t===void 0?null:t;var r=n.memoizedState;return r!==null&&t!==null&&gp(t,r[1])?r[0]:(e=e(),n.memoizedState=[e,t],e)}function iw(e,t,n){return ti&21?($t(n,t)||(n=u0(),pe.lanes|=n,ni|=n,e.baseState=!0),t):(e.baseState&&(e.baseState=!1,et=!0),e.memoizedState=n)}function TE(e,t){var n=te;te=n!==0&&4>n?n:4,e(!0);var r=oc.transition;oc.transition={};try{e(!1),t()}finally{te=n,oc.transition=r}}function sw(){return Et().memoizedState}function PE(e,t,n){var r=or(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},ow(e))aw(t,n);else if(n=B0(e,t,n,r),n!==null){var i=qe();Vt(n,e,r,i),lw(n,t,r)}}function kE(e,t,n){var r=or(e),i={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(ow(e))aw(t,i);else{var s=e.alternate;if(e.lanes===0&&(s===null||s.lanes===0)&&(s=t.lastRenderedReducer,s!==null))try{var o=t.lastRenderedState,a=s(o,n);if(i.hasEagerState=!0,i.eagerState=a,$t(a,o)){var l=t.interleaved;l===null?(i.next=i,dp(t)):(i.next=l.next,l.next=i),t.interleaved=i;return}}catch{}finally{}n=B0(e,t,i,r),n!==null&&(i=qe(),Vt(n,e,r,i),lw(n,t,r))}}function ow(e){var t=e.alternate;return e===pe||t!==null&&t===pe}function aw(e,t){Js=bl=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}
vendor: 7,164 bytes, lines 39-41
39function lw(e,t,n){if(n&4194240){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,Xf(e,n)}}var Sl={readContext:Ct,useCallback:je,useContext:je,useEffect:je,useImperativeHandle:je,useInsertionEffect:je,useLayoutEffect:je,useMemo:je,useReducer:je,useRef:je,useState:je,useDebugValue:je,useDeferredValue:je,useTransition:je,useMutableSource:je,useSyncExternalStore:je,useId:je,unstable_isNewReconciler:!1},AE={readContext:Ct,useCallback:function(e,t){return Gt().memoizedState=[e,t===void 0?null:t],e},useContext:Ct,useEffect:Pm,useImperativeHandle:function(e,t,n){return n=n!=null?n.concat([e]):null,_a(4194308,4,ew.bind(null,t,e),n)},useLayoutEffect:function(e,t){return _a(4194308,4,e,t)},useInsertionEffect:function(e,t){return _a(4,2,e,t)},useMemo:function(e,t){var n=Gt();return t=t===void 0?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=Gt();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=PE.bind(null,pe,e),[r.memoizedState,e]},useRef:function(e){var t=Gt();return e={current:e},t.memoizedState=e},useState:Tm,useDebugValue:xp,useDeferredValue:function(e){return Gt().memoizedState=e},useTransition:function(){var e=Tm(!1),t=e[0];return e=TE.bind(null,e[1]),Gt().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=pe,i=Gt();if(ce){if(n===void 0)throw Error(D(407));n=n()}else{if(n=t(),ke===null)throw Error(D(349));ti&30||K0(r,t,n)}i.memoizedState=n;var s={value:n,getSnapshot:t};return i.queue=s,Pm(q0.bind(null,r,s,e),[e]),r.flags|=2048,Eo(9,G0.bind(null,r,s,n,t),void 0,null),n},useId:function(){var e=Gt(),t=ke.identifierPrefix;if(ce){var n=wn,r=vn;n=(r&~(1<<32-Ft(r)-1)).toString(32)+n,t=":"+t+"R"+n,n=So++,0<n&&(t+="H"+n.toString(32)),t+=":"}else n=EE++,t=":"+t+"r"+n.toString(32)+":";return e.memoizedState=t},unstable_isNewReconciler:!1},RE={readContext:Ct,useCallback:nw,useContext:Ct,useEffect:wp,useImperativeHandle:tw,useInsertionEffect:Z0,useLayoutEffect:J0,useMemo:rw,useReducer:ac,useRef:X0,useState:function(){return ac(Co)},useDebugValue:xp,useDeferredValue:function(e){var t=Et();return iw(t,Ce.memoizedState,e)},useTransition:function(){var e=ac(Co)[0],t=Et().memoizedState;return[e,t]},useMutableSource:W0,useSyncExternalStore:H0,useId:sw,unstable_isNewReconciler:!1},NE={readContext:Ct,useCallback:nw,useContext:Ct,useEffect:wp,useImperativeHandle:tw,useInsertionEffect:Z0,useLayoutEffect:J0,useMemo:rw,useReducer:lc,useRef:X0,useState:function(){return lc(Co)},useDebugValue:xp,useDeferredValue:function(e){var t=Et();return Ce===null?t.memoizedState=e:iw(t,Ce.memoizedState,e)},useTransition:function(){var e=lc(Co)[0],t=Et().memoizedState;return[e,t]},useMutableSource:W0,useSyncExternalStore:H0,useId:sw,unstable_isNewReconciler:!1};function Lt(e,t){if(e&&e.defaultProps){t=me({},t),e=e.defaultProps;for(var n in e)t[n]===void 0&&(t[n]=e[n]);return t}return t}function Cd(e,t,n,r){t=e.memoizedState,n=n(r,t),n=n==null?t:me({},t,n),e.memoizedState=n,e.lanes===0&&(e.updateQueue.baseState=n)}var ru={isMounted:function(e){return(e=e._reactInternals)?oi(e)===e:!1},enqueueSetState:function(e,t,n){e=e._reactInternals;var r=qe(),i=or(e),s=xn(r,i);s.payload=t,n!=null&&(s.callback=n),t=ir(e,s,i),t!==null&&(Vt(t,e,i,r),Ia(t,e,i))},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var r=qe(),i=or(e),s=xn(r,i);s.tag=1,s.payload=t,n!=null&&(s.callback=n),t=ir(e,s,i),t!==null&&(Vt(t,e,i,r),Ia(t,e,i))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=qe(),r=or(e),i=xn(n,r);i.tag=2,t!=null&&(i.callback=t),t=ir(e,i,r),t!==null&&(Vt(t,e,r,n),Ia(t,e,r))}};function km(e,t,n,r,i,s,o){return e=e.stateNode,typeof e.shouldComponentUpdate=="function"?e.shouldComponentUpdate(r,s,o):t.prototype&&t.prototype.isPureReactComponent?!go(n,r)||!go(i,s):!0}function uw(e,t,n){var r=!1,i=cr,s=t.contextType;return typeof s=="object"&&s!==null?s=Ct(s):(i=nt(t)?Jr:Ve.current,r=t.contextTypes,s=(r=r!=null)?Ji(e,i):cr),t=new t(n,s),e.memoizedState=t.state!==null&&t.state!==void 0?t.state:null,t.updater=ru,e.stateNode=t,t._reactInternals=e,r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=i,e.__reactInternalMemoizedMaskedChildContext=s),t}function Am(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&&ru.enqueueReplaceState(t,t.state,null)}function Ed(e,t,n,r){var i=e.stateNode;i.props=n,i.state=e.memoizedState,i.refs={},fp(e);var s=t.contextType;typeof s=="object"&&s!==null?i.context=Ct(s):(s=nt(t)?Jr:Ve.current,i.context=Ji(e,s)),i.state=e.memoizedState,s=t.getDerivedStateFromProps,typeof s=="function"&&(Cd(e,t,s,n),i.state=e.memoizedState),typeof t.getDerivedStateFromProps=="function"||typeof i.getSnapshotBeforeUpdate=="function"||typeof i.UNSAFE_componentWillMount!="function"&&typeof i.componentWillMount!="function"||(t=i.state,typeof i.componentWillMount=="function"&&i.componentWillMount(),typeof i.UNSAFE_componentWillMount=="function"&&i.UNSAFE_componentWillMount(),t!==i.state&&ru.enqueueReplaceState(i,i.state,null),wl(e,n,i,r),i.state=e.memoizedState),typeof i.componentDidMount=="function"&&(e.flags|=4194308)}function rs(e,t){try{var n="",r=t;do n+=iC(r),r=r.return;while(r);var i=n}catch(s){i=` 40Error generating stack: `+s.message+` 41`+s.stack}return{value:e,source:t,stack:i,digest:null}}function uc(e,t,n){return{value:e,source:null,stack:n??null,digest:t??null}}function Td(e,t){try{console.error(t.value)}catch(n){setTimeout(function(){throw n})}}var ME=typeof WeakMap=="function"?WeakMap:Map;function cw(e,t,n){n=xn(-1,n),n.tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){El||(El=!0,Id=r),Td(e,t)},n}function dw(e,t,n){n=xn(-1,n),n.tag=3;var r=e.type.getDerivedStateFromError;if(typeof r=="function"){var i=t.value;n.payload=function(){return r(i)},n.callback=function(){Td(e,t)}}var s=e.stateNode;return s!==null&&typeof s.componentDidCatch=="function"&&(n.callback=function(){Td(e,t),typeof r!="function"&&(sr===null?sr=new Set([this]):sr.add(this));var o=t.stack;this.componentDidCatch(t.value,{componentStack:o!==null?o:""})}),n}function Rm(e,t,n){var r=e.pingCache;if(r===null){r=e.pingCache=new ME;var i=new Set;r.set(t,i)}else i=r.get(t),i===void 0&&(i=new Set,r.set(t,i));i.has(n)||(i.add(n),e=HE.bind(null,e,t,n),t.then(e,e))}function Nm(e){do{var t;if((t=e.tag===13)&&(t=e.memoizedState,t=t!==null?t.dehydrated!==null:!0),t)return e;e=e.return}while(e!==null);return null}function Mm(e,t,n,r,i){return e.mode&1?(e.flags|=65536,e.lanes=i,e):(e===t?e.flags|=65536:(e.flags|=128,n.flags|=131072,n.flags&=-52805,n.tag===1&&(n.alternate===null?n.tag=17:(t=xn(-1,1),t.tag=2,ir(n,t,1))),n.lanes|=1),e)}var LE=kn.ReactCurrentOwner,et=!1;function Ue(e,t,n,r){t.child=e===null?V0(t,null,n,r):ts(t,e.child,n,r)}function Lm(e,t,n,r,i){n=n.render;var s=t.ref;return _i(t,i),r=yp(e,t,n,r,s,i),n=vp(),e!==null&&!et?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~i,En(e,t,i)):(ce&&n&&sp(t),t.flags|=1,Ue(e,t,r,i
vendor: 9,531 bytes, line 41
41),t.child)}function Dm(e,t,n,r,i){if(e===null){var s=n.type;return typeof s=="function"&&!Ap(s)&&s.defaultProps===void 0&&n.compare===null&&n.defaultProps===void 0?(t.tag=15,t.type=s,fw(e,t,s,r,i)):(e=Ba(n.type,null,r,t,t.mode,i),e.ref=t.ref,e.return=t,t.child=e)}if(s=e.child,!(e.lanes&i)){var o=s.memoizedProps;if(n=n.compare,n=n!==null?n:go,n(o,r)&&e.ref===t.ref)return En(e,t,i)}return t.flags|=1,e=ar(s,r),e.ref=t.ref,e.return=t,t.child=e}function fw(e,t,n,r,i){if(e!==null){var s=e.memoizedProps;if(go(s,r)&&e.ref===t.ref)if(et=!1,t.pendingProps=r=s,(e.lanes&i)!==0)e.flags&131072&&(et=!0);else return t.lanes=e.lanes,En(e,t,i)}return Pd(e,t,n,r,i)}function pw(e,t,n){var r=t.pendingProps,i=r.children,s=e!==null?e.memoizedState:null;if(r.mode==="hidden")if(!(t.mode&1))t.memoizedState={baseLanes:0,cachePool:null,transitions:null},se(Ri,ot),ot|=n;else{if(!(n&1073741824))return e=s!==null?s.baseLanes|n:n,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e,cachePool:null,transitions:null},t.updateQueue=null,se(Ri,ot),ot|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},r=s!==null?s.baseLanes:n,se(Ri,ot),ot|=r}else s!==null?(r=s.baseLanes|n,t.memoizedState=null):r=n,se(Ri,ot),ot|=r;return Ue(e,t,i,n),t.child}function hw(e,t){var n=t.ref;(e===null&&n!==null||e!==null&&e.ref!==n)&&(t.flags|=512,t.flags|=2097152)}function Pd(e,t,n,r,i){var s=nt(n)?Jr:Ve.current;return s=Ji(t,s),_i(t,i),n=yp(e,t,n,r,s,i),r=vp(),e!==null&&!et?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~i,En(e,t,i)):(ce&&r&&sp(t),t.flags|=1,Ue(e,t,n,i),t.child)}function Om(e,t,n,r,i){if(nt(n)){var s=!0;hl(t)}else s=!1;if(_i(t,i),t.stateNode===null)za(e,t),uw(t,n,r),Ed(t,n,r,i),r=!0;else if(e===null){var o=t.stateNode,a=t.memoizedProps;o.props=a;var l=o.context,u=n.contextType;typeof u=="object"&&u!==null?u=Ct(u):(u=nt(n)?Jr:Ve.current,u=Ji(t,u));var c=n.getDerivedStateFromProps,d=typeof c=="function"||typeof o.getSnapshotBeforeUpdate=="function";d||typeof o.UNSAFE_componentWillReceiveProps!="function"&&typeof o.componentWillReceiveProps!="function"||(a!==r||l!==u)&&Am(t,o,r,u),$n=!1;var f=t.memoizedState;o.state=f,wl(t,r,o,i),l=t.memoizedState,a!==r||f!==l||tt.current||$n?(typeof c=="function"&&(Cd(t,n,c,r),l=t.memoizedState),(a=$n||km(t,n,a,r,f,l,u))?(d||typeof o.UNSAFE_componentWillMount!="function"&&typeof o.componentWillMount!="function"||(typeof o.componentWillMount=="function"&&o.componentWillMount(),typeof o.UNSAFE_componentWillMount=="function"&&o.UNSAFE_componentWillMount()),typeof o.componentDidMount=="function"&&(t.flags|=4194308)):(typeof o.componentDidMount=="function"&&(t.flags|=4194308),t.memoizedProps=r,t.memoizedState=l),o.props=r,o.state=l,o.context=u,r=a):(typeof o.componentDidMount=="function"&&(t.flags|=4194308),r=!1)}else{o=t.stateNode,$0(e,t),a=t.memoizedProps,u=t.type===t.elementType?a:Lt(t.type,a),o.props=u,d=t.pendingProps,f=o.context,l=n.contextType,typeof l=="object"&&l!==null?l=Ct(l):(l=nt(n)?Jr:Ve.current,l=Ji(t,l));var p=n.getDerivedStateFromProps;(c=typeof p=="function"||typeof o.getSnapshotBeforeUpdate=="function")||typeof o.UNSAFE_componentWillReceiveProps!="function"&&typeof o.componentWillReceiveProps!="function"||(a!==d||f!==l)&&Am(t,o,r,l),$n=!1,f=t.memoizedState,o.state=f,wl(t,r,o,i);var y=t.memoizedState;a!==d||f!==y||tt.current||$n?(typeof p=="function"&&(Cd(t,n,p,r),y=t.memoizedState),(u=$n||km(t,n,u,r,f,y,l)||!1)?(c||typeof o.UNSAFE_componentWillUpdate!="function"&&typeof o.componentWillUpdate!="function"||(typeof o.componentWillUpdate=="function"&&o.componentWillUpdate(r,y,l),typeof o.UNSAFE_componentWillUpdate=="function"&&o.UNSAFE_componentWillUpdate(r,y,l)),typeof o.componentDidUpdate=="function"&&(t.flags|=4),typeof o.getSnapshotBeforeUpdate=="function"&&(t.flags|=1024)):(typeof o.componentDidUpdate!="function"||a===e.memoizedProps&&f===e.memoizedState||(t.flags|=4),typeof o.getSnapshotBeforeUpdate!="function"||a===e.memoizedProps&&f===e.memoizedState||(t.flags|=1024),t.memoizedProps=r,t.memoizedState=y),o.props=r,o.state=y,o.context=l,r=u):(typeof o.componentDidUpdate!="function"||a===e.memoizedProps&&f===e.memoizedState||(t.flags|=4),typeof o.getSnapshotBeforeUpdate!="function"||a===e.memoizedProps&&f===e.memoizedState||(t.flags|=1024),r=!1)}return kd(e,t,n,r,s,i)}function kd(e,t,n,r,i,s){hw(e,t);var o=(t.flags&128)!==0;if(!r&&!o)return i&&wm(t,n,!1),En(e,t,s);r=t.stateNode,LE.current=t;var a=o&&typeof n.getDerivedStateFromError!="function"?null:r.render();return t.flags|=1,e!==null&&o?(t.child=ts(t,e.child,null,s),t.child=ts(t,null,a,s)):Ue(e,t,a,s),t.memoizedState=r.state,i&&wm(t,n,!0),t.child}function mw(e){var t=e.stateNode;t.pendingContext?vm(e,t.pendingContext,t.pendingContext!==t.context):t.context&&vm(e,t.context,!1),pp(e,t.containerInfo)}function Im(e,t,n,r,i){return es(),ap(i),t.flags|=256,Ue(e,t,n,r),t.child}var Ad={dehydrated:null,treeContext:null,retryLane:0};function Rd(e){return{baseLanes:e,cachePool:null,transitions:null}}function gw(e,t,n){var r=t.pendingProps,i=fe.current,s=!1,o=(t.flags&128)!==0,a;if((a=o)||(a=e!==null&&e.memoizedState===null?!1:(i&2)!==0),a?(s=!0,t.flags&=-129):(e===null||e.memoizedState!==null)&&(i|=1),se(fe,i&1),e===null)return bd(t),e=t.memoizedState,e!==null&&(e=e.dehydrated,e!==null)?(t.mode&1?e.data==="$!"?t.lanes=8:t.lanes=1073741824:t.lanes=1,null):(o=r.children,e=r.fallback,s?(r=t.mode,s=t.child,o={mode:"hidden",children:o},!(r&1)&&s!==null?(s.childLanes=0,s.pendingProps=o):s=ou(o,r,0,null),e=Yr(e,r,n,null),s.return=t,e.return=t,s.sibling=e,t.child=s,t.child.memoizedState=Rd(n),t.memoizedState=Ad,e):bp(t,o));if(i=e.memoizedState,i!==null&&(a=i.dehydrated,a!==null))return DE(e,t,o,r,a,i,n);if(s){s=r.fallback,o=t.mode,i=e.child,a=i.sibling;var l={mode:"hidden",children:r.children};return!(o&1)&&t.child!==i?(r=t.child,r.childLanes=0,r.pendingProps=l,t.deletions=null):(r=ar(i,l),r.subtreeFlags=i.subtreeFlags&14680064),a!==null?s=ar(a,s):(s=Yr(s,o,n,null),s.flags|=2),s.return=t,r.return=t,r.sibling=s,t.child=r,r=s,s=t.child,o=e.child.memoizedState,o=o===null?Rd(n):{baseLanes:o.baseLanes|n,cachePool:null,transitions:o.transitions},s.memoizedState=o,s.childLanes=e.childLanes&~n,t.memoizedState=Ad,r}return s=e.child,e=s.sibling,r=ar(s,{mode:"visible",children:r.children}),!(t.mode&1)&&(r.lanes=n),r.return=t,r.sibling=null,e!==null&&(n=t.deletions,n===null?(t.deletions=[e],t.flags|=16):n.push(e)),t.child=r,t.memoizedState=null,r}function bp(e,t){return t=ou({mode:"visible",children:t},e.mode,0,null),t.return=e,e.child=t}function ma(e,t,n,r){return r!==null&&ap(r),ts(t,e.child,null,n),e=bp(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function DE(e,t,n,r,i,s,o){if(n)return t.flags&256?(t.flags&=-257,r=uc(Error(D(422))),ma(e,t,o,r)):t.memoizedState!==null?(t.child=e.child,t.flags|=128,null):(s=r.fallback,i=t.mode,r=ou({mode:"visible",children:r.children},i,0,null),s=Yr(s,i,o,null),s.flags|=2,r.return=t,s.return=t,r.sibling=s,t.child=r,t.mode&1&&ts(t,e.child,null,o),t.child.memoizedState=Rd(o),t.memoizedState=Ad,s);if(!(t.mode&1))return ma(e,t,o,null);if(i.data==="$!"){if(r=i.nextSibling&&i.nextSibling.dataset,r)var a=r.dgst;return r=a,s=Error(D(419)),r=uc(s,r,void 0),ma(e,t,o,r)}if(a=(o&e.childLanes)!==0,et||a){if(r=ke,r!==null){switch(o&-o){case 4:i=2;break;case 16:i=8;break;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:i=32;break;case 536870912:i=268435456;break;default:i=0}i=i&(r.suspendedLanes|o)?0:i,i!==0&&i!==s.retryLane&&(s.retryLane=i,Cn(e,i),Vt(r,e,i,-1))}return kp(),r=uc(Error(D(421))),ma(e,t,o,r)}return i.data==="$?"?(t.flags|=128,t.child=e.child,t=KE.bind(null,e),i._reactRetry=t,null):(e=s.treeContext,lt=rr(i.nextSibling),ut=t,ce=!0,_t=null,e!==null&&(yt[vt++]=vn,yt[vt++]=wn,yt[vt++]=ei,vn=e.id,wn=e.overflow,ei=t),t=bp(t,r.children),t.flags|=4096,t)}function jm(e,t,n){e.lanes|=t;var r=e.alternate;r!==null&&(r.lanes|=t),Sd(e.return,t,n)}function cc(e,t,n,r,i){var s=e.memoizedState;s===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailMode:i}:(s.isBackwards=t,s.rendering=null,s.renderingStartTime=0,s.last=r,s.tail=n,s.tailMode=i)}function yw(e,t,n){var r=t.pendingProps,i=r.revealOrder,s=r.tail;if(Ue(e,t,r.children,n),r=fe.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&&jm(e,n,t);else if(e.tag===19)jm(e,n,t);else if(e.child!==null){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;e.sibling===null;){if(e.return===null||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}r&=1}if(se(fe,r),!(t.mode&1))t.memoizedState=null;else switch(i){case"forwards":for(n=t.child,i=null;n!==null;)e=n.alternate,e!==null&&xl(e)===null&&(i=n),n=n.sibling;n=i,n===null?(i=t.child,t.child=null):(i=n.sibling,n.sibling=null),cc(t,!1,i,n,s);break;case"backwards":for(n=null,i=t.child,t.child=null;i!==null;){if(e=i.alternate,e!==null&&xl(e)===null){t.child=i;break}e=i.sibling,i.sibling=n,n=i,i=e}cc(t,!0,n,null,s);break;case"together":cc(t,!1,null,null,void 0);break;default:t.memoizedState=null}return t.child}function za(e,t){!(t.mode&1)&&e!==null&&(e.alternate=null,t.alternate=null,t.flags|=2)}function En(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(D(153));
vendor: 4,746 bytes, line 41
41if(t.child!==null){for(e=t.child,n=ar(e,e.pendingProps),t.child=n,n.return=t;e.sibling!==null;)e=e.sibling,n=n.sibling=ar(e,e.pendingProps),n.return=t;n.sibling=null}return t.child}function OE(e,t,n){switch(t.tag){case 3:mw(t),es();break;case 5:U0(t);break;case 1:nt(t.type)&&hl(t);break;case 4:pp(t,t.stateNode.containerInfo);break;case 10:var r=t.type._context,i=t.memoizedProps.value;se(yl,r._currentValue),r._currentValue=i;break;case 13:if(r=t.memoizedState,r!==null)return r.dehydrated!==null?(se(fe,fe.current&1),t.flags|=128,null):n&t.child.childLanes?gw(e,t,n):(se(fe,fe.current&1),e=En(e,t,n),e!==null?e.sibling:null);se(fe,fe.current&1);break;case 19:if(r=(n&t.childLanes)!==0,e.flags&128){if(r)return yw(e,t,n);t.flags|=128}if(i=t.memoizedState,i!==null&&(i.rendering=null,i.tail=null,i.lastEffect=null),se(fe,fe.current),r)break;return null;case 22:case 23:return t.lanes=0,pw(e,t,n)}return En(e,t,n)}var vw,Nd,ww,xw;vw=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}};Nd=function(){};ww=function(e,t,n,r){var i=e.memoizedProps;if(i!==r){e=t.stateNode,_r(tn.current);var s=null;switch(n){case"input":i=Zc(e,i),r=Zc(e,r),s=[];break;case"select":i=me({},i,{value:void 0}),r=me({},r,{value:void 0}),s=[];break;case"textarea":i=td(e,i),r=td(e,r),s=[];break;default:typeof i.onClick!="function"&&typeof r.onClick=="function"&&(e.onclick=fl)}rd(n,r);var o;n=null;for(u in i)if(!r.hasOwnProperty(u)&&i.hasOwnProperty(u)&&i[u]!=null)if(u==="style"){var a=i[u];for(o in a)a.hasOwnProperty(o)&&(n||(n={}),n[o]="")}else u!=="dangerouslySetInnerHTML"&&u!=="children"&&u!=="suppressContentEditableWarning"&&u!=="suppressHydrationWarning"&&u!=="autoFocus"&&(lo.hasOwnProperty(u)?s||(s=[]):(s=s||[]).push(u,null));for(u in r){var l=r[u];if(a=i!=null?i[u]:void 0,r.hasOwnProperty(u)&&l!==a&&(l!=null||a!=null))if(u==="style")if(a){for(o in a)!a.hasOwnProperty(o)||l&&l.hasOwnProperty(o)||(n||(n={}),n[o]="");for(o in l)l.hasOwnProperty(o)&&a[o]!==l[o]&&(n||(n={}),n[o]=l[o])}else n||(s||(s=[]),s.push(u,n)),n=l;else u==="dangerouslySetInnerHTML"?(l=l?l.__html:void 0,a=a?a.__html:void 0,l!=null&&a!==l&&(s=s||[]).push(u,l)):u==="children"?typeof l!="string"&&typeof l!="number"||(s=s||[]).push(u,""+l):u!=="suppressContentEditableWarning"&&u!=="suppressHydrationWarning"&&(lo.hasOwnProperty(u)?(l!=null&&u==="onScroll"&&ae("scroll",e),s||a===l||(s=[])):(s=s||[]).push(u,l))}n&&(s=s||[]).push("style",n);var u=s;(t.updateQueue=u)&&(t.flags|=4)}};xw=function(e,t,n,r){n!==r&&(t.flags|=4)};function Ds(e,t){if(!ce)switch(e.tailMode){case"hidden":t=e.tail;for(var n=null;t!==null;)t.alternate!==null&&(n=t),t=t.sibling;n===null?e.tail=null:n.sibling=null;break;case"collapsed":n=e.tail;for(var r=null;n!==null;)n.alternate!==null&&(r=n),n=n.sibling;r===null?t||e.tail===null?e.tail=null:e.tail.sibling=null:r.sibling=null}}function _e(e){var t=e.alternate!==null&&e.alternate.child===e.child,n=0,r=0;if(t)for(var i=e.child;i!==null;)n|=i.lanes|i.childLanes,r|=i.subtreeFlags&14680064,r|=i.flags&14680064,i.return=e,i=i.sibling;else for(i=e.child;i!==null;)n|=i.lanes|i.childLanes,r|=i.subtreeFlags,r|=i.flags,i.return=e,i=i.sibling;return e.subtreeFlags|=r,e.childLanes=n,t}function IE(e,t,n){var r=t.pendingProps;switch(op(t),t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return _e(t),null;case 1:return nt(t.type)&&pl(),_e(t),null;case 3:return r=t.stateNode,ns(),le(tt),le(Ve),mp(),r.pendingContext&&(r.context=r.pendingContext,r.pendingContext=null),(e===null||e.child===null)&&(pa(t)?t.flags|=4:e===null||e.memoizedState.isDehydrated&&!(t.flags&256)||(t.flags|=1024,_t!==null&&(zd(_t),_t=null))),Nd(e,t),_e(t),null;case 5:hp(t);var i=_r(bo.current);if(n=t.type,e!==null&&t.stateNode!=null)ww(e,t,n,r,i),e.ref!==t.ref&&(t.flags|=512,t.flags|=2097152);else{if(!r){if(t.stateNode===null)throw Error(D(166));return _e(t),null}if(e=_r(tn.current),pa(t)){r=t.stateNode,n=t.type;var s=t.memoizedProps;switch(r[Jt]=t,r[wo]=s,e=(t.mode&1)!==0,n){case"dialog":ae("cancel",r),ae("close",r);break;case"iframe":case"object":case"embed":ae("load",r);break;case"video":case"audio":for(i=0;i<Us.length;i++)ae(Us[i],r);break;case"source":ae("error",r);break;case"img":case"image":case"link":ae("error",r),ae("load",r);break;case"details":ae("toggle",r);break;case"input":Hh(r,s),ae("invalid",r);break;case"select":r._wrapperState={wasMultiple:!!s.multiple},ae("invalid",r);break;case"textarea":Gh(r,s),ae("invalid",r)}rd(n,s),i=null;for(var o in s)if(s.hasOwnProperty(o)){var a=s[o];
vendor: 28,864 bytes, line 41
41o==="children"?typeof a=="string"?r.textContent!==a&&(s.suppressHydrationWarning!==!0&&fa(r.textContent,a,e),i=["children",a]):typeof a=="number"&&r.textContent!==""+a&&(s.suppressHydrationWarning!==!0&&fa(r.textContent,a,e),i=["children",""+a]):lo.hasOwnProperty(o)&&a!=null&&o==="onScroll"&&ae("scroll",r)}switch(n){case"input":ia(r),Kh(r,s,!0);break;case"textarea":ia(r),qh(r);break;case"select":case"option":break;default:typeof s.onClick=="function"&&(r.onclick=fl)}r=i,t.updateQueue=r,r!==null&&(t.flags|=4)}else{o=i.nodeType===9?i:i.ownerDocument,e==="http://www.w3.org/1999/xhtml"&&(e=qv(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[Jt]=t,e[wo]=r,vw(e,t,!1,!1),t.stateNode=e;e:{switch(o=id(n,r),n){case"dialog":ae("cancel",e),ae("close",e),i=r;break;case"iframe":case"object":case"embed":ae("load",e),i=r;break;case"video":case"audio":for(i=0;i<Us.length;i++)ae(Us[i],e);i=r;break;case"source":ae("error",e),i=r;break;case"img":case"image":case"link":ae("error",e),ae("load",e),i=r;break;case"details":ae("toggle",e),i=r;break;case"input":Hh(e,r),i=Zc(e,r),ae("invalid",e);break;case"option":i=r;break;case"select":e._wrapperState={wasMultiple:!!r.multiple},i=me({},r,{value:void 0}),ae("invalid",e);break;case"textarea":Gh(e,r),i=td(e,r),ae("invalid",e);break;default:i=r}rd(n,i),a=i;for(s in a)if(a.hasOwnProperty(s)){var l=a[s];s==="style"?Xv(e,l):s==="dangerouslySetInnerHTML"?(l=l?l.__html:void 0,l!=null&&Yv(e,l)):s==="children"?typeof l=="string"?(n!=="textarea"||l!=="")&&uo(e,l):typeof l=="number"&&uo(e,""+l):s!=="suppressContentEditableWarning"&&s!=="suppressHydrationWarning"&&s!=="autoFocus"&&(lo.hasOwnProperty(s)?l!=null&&s==="onScroll"&&ae("scroll",e):l!=null&&Hf(e,s,l,o))}switch(n){case"input":ia(e),Kh(e,r,!1);break;case"textarea":ia(e),qh(e);break;case"option":r.value!=null&&e.setAttribute("value",""+ur(r.value));break;case"select":e.multiple=!!r.multiple,s=r.value,s!=null?Di(e,!!r.multiple,s,!1):r.defaultValue!=null&&Di(e,!!r.multiple,r.defaultValue,!0);break;default:typeof i.onClick=="function"&&(e.onclick=fl)}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 _e(t),null;case 6:if(e&&t.stateNode!=null)xw(e,t,e.memoizedProps,r);else{if(typeof r!="string"&&t.stateNode===null)throw Error(D(166));if(n=_r(bo.current),_r(tn.current),pa(t)){if(r=t.stateNode,n=t.memoizedProps,r[Jt]=t,(s=r.nodeValue!==n)&&(e=ut,e!==null))switch(e.tag){case 3:fa(r.nodeValue,n,(e.mode&1)!==0);break;case 5:e.memoizedProps.suppressHydrationWarning!==!0&&fa(r.nodeValue,n,(e.mode&1)!==0)}s&&(t.flags|=4)}else r=(n.nodeType===9?n:n.ownerDocument).createTextNode(r),r[Jt]=t,t.stateNode=r}return _e(t),null;case 13:if(le(fe),r=t.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(ce&<!==null&&t.mode&1&&!(t.flags&128))z0(),es(),t.flags|=98560,s=!1;else if(s=pa(t),r!==null&&r.dehydrated!==null){if(e===null){if(!s)throw Error(D(318));if(s=t.memoizedState,s=s!==null?s.dehydrated:null,!s)throw Error(D(317));s[Jt]=t}else es(),!(t.flags&128)&&(t.memoizedState=null),t.flags|=4;_e(t),s=!1}else _t!==null&&(zd(_t),_t=null),s=!0;if(!s)return t.flags&65536?t:null}return t.flags&128?(t.lanes=n,t):(r=r!==null,r!==(e!==null&&e.memoizedState!==null)&&r&&(t.child.flags|=8192,t.mode&1&&(e===null||fe.current&1?Te===0&&(Te=3):kp())),t.updateQueue!==null&&(t.flags|=4),_e(t),null);case 4:return ns(),Nd(e,t),e===null&&yo(t.stateNode.containerInfo),_e(t),null;case 10:return cp(t.type._context),_e(t),null;case 17:return nt(t.type)&&pl(),_e(t),null;case 19:if(le(fe),s=t.memoizedState,s===null)return _e(t),null;if(r=(t.flags&128)!==0,o=s.rendering,o===null)if(r)Ds(s,!1);else{if(Te!==0||e!==null&&e.flags&128)for(e=t.child;e!==null;){if(o=xl(e),o!==null){for(t.flags|=128,Ds(s,!1),r=o.updateQueue,r!==null&&(t.updateQueue=r,t.flags|=4),t.subtreeFlags=0,r=n,n=t.child;n!==null;)s=n,e=r,s.flags&=14680066,o=s.alternate,o===null?(s.childLanes=0,s.lanes=e,s.child=null,s.subtreeFlags=0,s.memoizedProps=null,s.memoizedState=null,s.updateQueue=null,s.dependencies=null,s.stateNode=null):(s.childLanes=o.childLanes,s.lanes=o.lanes,s.child=o.child,s.subtreeFlags=0,s.deletions=null,s.memoizedProps=o.memoizedProps,s.memoizedState=o.memoizedState,s.updateQueue=o.updateQueue,s.type=o.type,e=o.dependencies,s.dependencies=e===null?null:{lanes:e.lanes,firstContext:e.firstContext}),n=n.sibling;return se(fe,fe.current&1|2),t.child}e=e.sibling}s.tail!==null&&ve()>is&&(t.flags|=128,r=!0,Ds(s,!1),t.lanes=4194304)}else{if(!r)if(e=xl(o),e!==null){if(t.flags|=128,r=!0,n=e.updateQueue,n!==null&&(t.updateQueue=n,t.flags|=4),Ds(s,!0),s.tail===null&&s.tailMode==="hidden"&&!o.alternate&&!ce)return _e(t),null}else 2*ve()-s.renderingStartTime>is&&n!==1073741824&&(t.flags|=128,r=!0,Ds(s,!1),t.lanes=4194304);s.isBackwards?(o.sibling=t.child,t.child=o):(n=s.last,n!==null?n.sibling=o:t.child=o,s.last=o)}return s.tail!==null?(t=s.tail,s.rendering=t,s.tail=t.sibling,s.renderingStartTime=ve(),t.sibling=null,n=fe.current,se(fe,r?n&1|2:n&1),t):(_e(t),null);case 22:case 23:return Pp(),r=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==r&&(t.flags|=8192),r&&t.mode&1?ot&1073741824&&(_e(t),t.subtreeFlags&6&&(t.flags|=8192)):_e(t),null;case 24:return null;case 25:return null}throw Error(D(156,t.tag))}function jE(e,t){switch(op(t),t.tag){case 1:return nt(t.type)&&pl(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return ns(),le(tt),le(Ve),mp(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 5:return hp(t),null;case 13:if(le(fe),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(D(340));es()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return le(fe),null;case 4:return ns(),null;case 10:return cp(t.type._context),null;case 22:case 23:return Pp(),null;case 24:return null;default:return null}}var ga=!1,Fe=!1,_E=typeof WeakSet=="function"?WeakSet:Set,z=null;function Ai(e,t){var n=e.ref;if(n!==null)if(typeof n=="function")try{n(null)}catch(r){ye(e,t,r)}else n.current=null}function Md(e,t,n){try{n()}catch(r){ye(e,t,r)}}var _m=!1;function zE(e,t){if(hd=ul,e=T0(),ip(e)){if("selectionStart"in e)var n={start:e.selectionStart,end:e.selectionEnd};else e:{n=(n=e.ownerDocument)&&n.defaultView||window;var r=n.getSelection&&n.getSelection();if(r&&r.rangeCount!==0){n=r.anchorNode;var i=r.anchorOffset,s=r.focusNode;r=r.focusOffset;try{n.nodeType,s.nodeType}catch{n=null;break e}var o=0,a=-1,l=-1,u=0,c=0,d=e,f=null;t:for(;;){for(var p;d!==n||i!==0&&d.nodeType!==3||(a=o+i),d!==s||r!==0&&d.nodeType!==3||(l=o+r),d.nodeType===3&&(o+=d.nodeValue.length),(p=d.firstChild)!==null;)f=d,d=p;for(;;){if(d===e)break t;if(f===n&&++u===i&&(a=o),f===s&&++c===r&&(l=o),(p=d.nextSibling)!==null)break;d=f,f=d.parentNode}d=p}n=a===-1||l===-1?null:{start:a,end:l}}else n=null}n=n||{start:0,end:0}}else n=null;for(md={focusedElem:e,selectionRange:n},ul=!1,z=t;z!==null;)if(t=z,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,z=e;else for(;z!==null;){t=z;try{var y=t.alternate;if(t.flags&1024)switch(t.tag){case 0:case 11:case 15:break;case 1:if(y!==null){var g=y.memoizedProps,x=y.memoizedState,h=t.stateNode,m=h.getSnapshotBeforeUpdate(t.elementType===t.type?g:Lt(t.type,g),x);h.__reactInternalSnapshotBeforeUpdate=m}break;case 3:var v=t.stateNode.containerInfo;v.nodeType===1?v.textContent="":v.nodeType===9&&v.documentElement&&v.removeChild(v.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(D(163))}}catch(S){ye(t,t.return,S)}if(e=t.sibling,e!==null){e.return=t.return,z=e;break}z=t.return}return y=_m,_m=!1,y}function eo(e,t,n){var r=t.updateQueue;if(r=r!==null?r.lastEffect:null,r!==null){var i=r=r.next;do{if((i.tag&e)===e){var s=i.destroy;i.destroy=void 0,s!==void 0&&Md(t,n,s)}i=i.next}while(i!==r)}}function iu(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 Ld(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 bw(e){var t=e.alternate;t!==null&&(e.alternate=null,bw(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[Jt],delete t[wo],delete t[vd],delete t[xE],delete t[bE])),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 Sw(e){return e.tag===5||e.tag===3||e.tag===4}function zm(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||Sw(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 Dd(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=fl));else if(r!==4&&(e=e.child,e!==null))for(Dd(e,t,n),e=e.sibling;e!==null;)Dd(e,t,n),e=e.sibling}function Od(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(Od(e,t,n),e=e.sibling;e!==null;)Od(e,t,n),e=e.sibling}var Ae=null,jt=!1;function jn(e,t,n){for(n=n.child;n!==null;)Cw(e,t,n),n=n.sibling}function Cw(e,t,n){if(en&&typeof en.onCommitFiberUnmount=="function")try{en.onCommitFiberUnmount(Ql,n)}catch{}switch(n.tag){case 5:Fe||Ai(n,t);case 6:var r=Ae,i=jt;Ae=null,jn(e,t,n),Ae=r,jt=i,Ae!==null&&(jt?(e=Ae,n=n.stateNode,e.nodeType===8?e.parentNode.removeChild(n):e.removeChild(n)):Ae.removeChild(n.stateNode));break;case 18:Ae!==null&&(jt?(e=Ae,n=n.stateNode,e.nodeType===8?rc(e.parentNode,n):e.nodeType===1&&rc(e,n),ho(e)):rc(Ae,n.stateNode));break;case 4:r=Ae,i=jt,Ae=n.stateNode.containerInfo,jt=!0,jn(e,t,n),Ae=r,jt=i;break;case 0:case 11:case 14:case 15:if(!Fe&&(r=n.updateQueue,r!==null&&(r=r.lastEffect,r!==null))){i=r=r.next;do{var s=i,o=s.destroy;s=s.tag,o!==void 0&&(s&2||s&4)&&Md(n,t,o),i=i.next}while(i!==r)}jn(e,t,n);break;case 1:if(!Fe&&(Ai(n,t),r=n.stateNode,typeof r.componentWillUnmount=="function"))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(a){ye(n,t,a)}jn(e,t,n);break;case 21:jn(e,t,n);break;case 22:n.mode&1?(Fe=(r=Fe)||n.memoizedState!==null,jn(e,t,n),Fe=r):jn(e,t,n);break;default:jn(e,t,n)}}function Fm(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var n=e.stateNode;n===null&&(n=e.stateNode=new _E),t.forEach(function(r){var i=GE.bind(null,e,r);n.has(r)||(n.add(r),r.then(i,i))})}}function At(e,t){var n=t.deletions;if(n!==null)for(var r=0;r<n.length;r++){var i=n[r];try{var s=e,o=t,a=o;e:for(;a!==null;){switch(a.tag){case 5:Ae=a.stateNode,jt=!1;break e;case 3:Ae=a.stateNode.containerInfo,jt=!0;break e;case 4:Ae=a.stateNode.containerInfo,jt=!0;break e}a=a.return}if(Ae===null)throw Error(D(160));Cw(s,o,i),Ae=null,jt=!1;var l=i.alternate;l!==null&&(l.return=null),i.return=null}catch(u){ye(i,t,u)}}if(t.subtreeFlags&12854)for(t=t.child;t!==null;)Ew(t,e),t=t.sibling}function Ew(e,t){var n=e.alternate,r=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:if(At(t,e),Kt(e),r&4){try{eo(3,e,e.return),iu(3,e)}catch(g){ye(e,e.return,g)}try{eo(5,e,e.return)}catch(g){ye(e,e.return,g)}}break;case 1:At(t,e),Kt(e),r&512&&n!==null&&Ai(n,n.return);break;case 5:if(At(t,e),Kt(e),r&512&&n!==null&&Ai(n,n.return),e.flags&32){var i=e.stateNode;try{uo(i,"")}catch(g){ye(e,e.return,g)}}if(r&4&&(i=e.stateNode,i!=null)){var s=e.memoizedProps,o=n!==null?n.memoizedProps:s,a=e.type,l=e.updateQueue;if(e.updateQueue=null,l!==null)try{a==="input"&&s.type==="radio"&&s.name!=null&&Kv(i,s),id(a,o);var u=id(a,s);for(o=0;o<l.length;o+=2){var c=l[o],d=l[o+1];c==="style"?Xv(i,d):c==="dangerouslySetInnerHTML"?Yv(i,d):c==="children"?uo(i,d):Hf(i,c,d,u)}switch(a){case"input":Jc(i,s);break;case"textarea":Gv(i,s);break;case"select":var f=i._wrapperState.wasMultiple;i._wrapperState.wasMultiple=!!s.multiple;var p=s.value;p!=null?Di(i,!!s.multiple,p,!1):f!==!!s.multiple&&(s.defaultValue!=null?Di(i,!!s.multiple,s.defaultValue,!0):Di(i,!!s.multiple,s.multiple?[]:"",!1))}i[wo]=s}catch(g){ye(e,e.return,g)}}break;case 6:if(At(t,e),Kt(e),r&4){if(e.stateNode===null)throw Error(D(162));i=e.stateNode,s=e.memoizedProps;try{i.nodeValue=s}catch(g){ye(e,e.return,g)}}break;case 3:if(At(t,e),Kt(e),r&4&&n!==null&&n.memoizedState.isDehydrated)try{ho(t.containerInfo)}catch(g){ye(e,e.return,g)}break;case 4:At(t,e),Kt(e);break;case 13:At(t,e),Kt(e),i=e.child,i.flags&8192&&(s=i.memoizedState!==null,i.stateNode.isHidden=s,!s||i.alternate!==null&&i.alternate.memoizedState!==null||(Ep=ve())),r&4&&Fm(e);break;case 22:if(c=n!==null&&n.memoizedState!==null,e.mode&1?(Fe=(u=Fe)||c,At(t,e),Fe=u):At(t,e),Kt(e),r&8192){if(u=e.memoizedState!==null,(e.stateNode.isHidden=u)&&!c&&e.mode&1)for(z=e,c=e.child;c!==null;){for(d=z=c;z!==null;){switch(f=z,p=f.child,f.tag){case 0:case 11:case 14:case 15:eo(4,f,f.return);break;case 1:Ai(f,f.return);var y=f.stateNode;if(typeof y.componentWillUnmount=="function"){r=f,n=f.return;try{t=r,y.props=t.memoizedProps,y.state=t.memoizedState,y.componentWillUnmount()}catch(g){ye(r,n,g)}}break;case 5:Ai(f,f.return);break;case 22:if(f.memoizedState!==null){Bm(d);continue}}p!==null?(p.return=f,z=p):Bm(d)}c=c.sibling}e:for(c=null,d=e;;){if(d.tag===5){if(c===null){c=d;try{i=d.stateNode,u?(s=i.style,typeof s.setProperty=="function"?s.setProperty("display","none","important"):s.display="none"):(a=d.stateNode,l=d.memoizedProps.style,o=l!=null&&l.hasOwnProperty("display")?l.display:null,a.style.display=Qv("display",o))}catch(g){ye(e,e.return,g)}}}else if(d.tag===6){if(c===null)try{d.stateNode.nodeValue=u?"":d.memoizedProps}catch(g){ye(e,e.return,g)}}else if((d.tag!==22&&d.tag!==23||d.memoizedState===null||d===e)&&d.child!==null){d.child.return=d,d=d.child;continue}if(d===e)break e;for(;d.sibling===null;){if(d.return===null||d.return===e)break e;c===d&&(c=null),d=d.return}c===d&&(c=null),d.sibling.return=d.return,d=d.sibling}}break;case 19:At(t,e),Kt(e),r&4&&Fm(e);break;case 21:break;default:At(t,e),Kt(e)}}function Kt(e){var t=e.flags;if(t&2){try{e:{for(var n=e.return;n!==null;){if(Sw(n)){var r=n;break e}n=n.return}throw Error(D(160))}switch(r.tag){case 5:var i=r.stateNode;r.flags&32&&(uo(i,""),r.flags&=-33);var s=zm(e);Od(e,s,i);break;case 3:case 4:var o=r.stateNode.containerInfo,a=zm(e);Dd(e,a,o);break;default:throw Error(D(161))}}catch(l){ye(e,e.return,l)}e.flags&=-3}t&4096&&(e.flags&=-4097)}function FE(e,t,n){z=e,Tw(e)}function Tw(e,t,n){for(var r=(e.mode&1)!==0;z!==null;){var i=z,s=i.child;if(i.tag===22&&r){var o=i.memoizedState!==null||ga;if(!o){var a=i.alternate,l=a!==null&&a.memoizedState!==null||Fe;a=ga;var u=Fe;if(ga=o,(Fe=l)&&!u)for(z=i;z!==null;)o=z,l=o.child,o.tag===22&&o.memoizedState!==null?$m(i):l!==null?(l.return=o,z=l):$m(i);for(;s!==null;)z=s,Tw(s),s=s.sibling;z=i,ga=a,Fe=u}Vm(e)}else i.subtreeFlags&8772&&s!==null?(s.return=i,z=s):Vm(e)}}function Vm(e){for(;z!==null;){var t=z;if(t.flags&8772){var n=t.alternate;try{if(t.flags&8772)switch(t.tag){case 0:case 11:case 15:Fe||iu(5,t);break;case 1:var r=t.stateNode;if(t.flags&4&&!Fe)if(n===null)r.componentDidMount();else{var i=t.elementType===t.type?n.memoizedProps:Lt(t.type,n.memoizedProps);r.componentDidUpdate(i,n.memoizedState,r.__reactInternalSnapshotBeforeUpdate)}var s=t.updateQueue;s!==null&&Em(t,s,r);break;case 3:var o=t.updateQueue;if(o!==null){if(n=null,t.child!==null)switch(t.child.tag){case 5:n=t.child.stateNode;break;case 1:n=t.child.stateNode}Em(t,o,n)}break;case 5:var a=t.stateNode;if(n===null&&t.flags&4){n=a;var l=t.memoizedProps;switch(t.type){case"button":case"input":case"select":case"textarea":l.autoFocus&&n.focus();break;case"img":l.src&&(n.src=l.src)}}break;case 6:break;case 4:break;case 12:break;case 13:if(t.memoizedState===null){var u=t.alternate;if(u!==null){var c=u.memoizedState;if(c!==null){var d=c.dehydrated;d!==null&&ho(d)}}}break;case 19:case 17:case 21:case 22:case 23:case 25:break;default:throw Error(D(163))}Fe||t.flags&512&&Ld(t)}catch(f){ye(t,t.return,f)}}if(t===e){z=null;break}if(n=t.sibling,n!==null){n.return=t.return,z=n;break}z=t.return}}function Bm(e){for(;z!==null;){var t=z;if(t===e){z=null;break}var n=t.sibling;if(n!==null){n.return=t.return,z=n;break}z=t.return}}function $m(e){for(;z!==null;){var t=z;try{switch(t.tag){case 0:case 11:case 15:var n=t.return;try{iu(4,t)}catch(l){ye(t,n,l)}break;case 1:var r=t.stateNode;if(typeof r.componentDidMount=="function"){var i=t.return;try{r.componentDidMount()}catch(l){ye(t,i,l)}}var s=t.return;try{Ld(t)}catch(l){ye(t,s,l)}break;case 5:var o=t.return;try{Ld(t)}catch(l){ye(t,o,l)}}}catch(l){ye(t,t.return,l)}if(t===e){z=null;break}var a=t.sibling;if(a!==null){a.return=t.return,z=a;break}z=t.return}}var VE=Math.ceil,Cl=kn.ReactCurrentDispatcher,Sp=kn.ReactCurrentOwner,bt=kn.ReactCurrentBatchConfig,Z=0,ke=null,be=null,Le=0,ot=0,Ri=xr(0),Te=0,To=null,ni=0,su=0,Cp=0,to=null,Je=null,Ep=0,is=1/0,mn=null,El=!1,Id=null,sr=null,ya=!1,Xn=null,Tl=0,no=0,jd=null,Fa=-1,Va=0;function qe(){return Z&6?ve():Fa!==-1?Fa:Fa=ve()}function or(e){return e.mode&1?Z&2&&Le!==0?Le&-Le:CE.transition!==null?(Va===0&&(Va=u0()),Va):(e=te,e!==0||(e=window.event,e=e===void 0?16:g0(e.type)),e):1}function Vt(e,t,n,r){if(50<no)throw no=0,jd=null,Error(D(185));Vo(e,n,r),(!(Z&2)||e!==ke)&&(e===ke&&(!(Z&2)&&(su|=n),Te===4&&Wn(e,Le)),rt(e,r),n===1&&Z===0&&!(t.mode&1)&&(is=ve()+500,tu&&br()))}function rt(e,t){var n=e.callbackNode;CC(e,t);var r=ll(e,e===ke?Le:0);if(r===0)n!==null&&Xh(n),e.callbackNode=null,e.callbackPriority=0;else if(t=r&-r,e.callbackPriority!==t){if(n!=null&&Xh(n),t===1)e.tag===0?SE(Um.bind(null,e)):I0(Um.bind(null,e)),vE(function(){!(Z&6)&&br()}),n=null;else{switch(c0(r)){case 1:n=Qf;break;case 4:n=a0;break;case 16:n=al;break;case 536870912:n=l0;break;default:n=al}n=Dw(n,Pw.bind(null,e))}e.callbackPriority=t,e.callbackNode=n}}function Pw(e,t){if(Fa=-1,Va=0,Z&6)throw Error(D(327));var n=e.callbackNode;if(zi()&&e.callbackNode!==n)return null;var r=ll(e,e===ke?Le:0);if(r===0)return null;if(r&30||r&e.expiredLanes||t)t=Pl(e,r);else{t=r;var i=Z;Z|=2;var s=Aw();(ke!==e||Le!==t)&&(mn=null,is=ve()+500,qr(e,t));do try{UE();break}catch(a){kw(e,a)}while(!0);up(),Cl.current=s,Z=i,be!==null?t=0:(ke=null,Le=0,t=Te)}if(t!==0){if(t===2&&(i=ud(e),i!==0&&(r=i,t=_d(e,i))),t===1)throw n=To,qr(e,0),Wn(e,r),rt(e,ve()),n;if(t===6)Wn(e,r);else{if(i=e.current.alternate,!(r&30)&&!BE(i)&&(t=Pl(e,r),t===2&&(s=ud(e),s!==0&&(r=s,t=_d(e,s))),t===1))throw n=To,qr(e,0),Wn(e,r),rt(e,ve()),n;switch(e.finishedWork=i,e.finishedLanes=r,t){case 0:case 1:throw Error(D(345));case 2:Lr(e,Je,mn);break;case 3:if(Wn(e,r),(r&130023424)===r&&(t=Ep+500-ve(),10<t)){if(ll(e,0)!==0)break;if(i=e.suspendedLanes,(i&r)!==r){qe(),e.pingedLanes|=e.suspendedLanes&i;break}e.timeoutHandle=yd(Lr.bind(null,e,Je,mn),t);break}Lr(e,Je,mn);break;case 4:if(Wn(e,r),(r&4194240)===r)break;for(t=e.eventTimes,i=-1;0<r;){var o=31-Ft(r);s=1<<o,o=t[o],o>i&&(i=o),r&=~s}if(r=i,r=ve()-r,r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*VE(r/1960))-r,10<r){e.timeoutHandle=yd(Lr.bind(null,e,Je,mn),r);break}Lr(e,Je,mn);break;case 5:Lr(e,Je,mn);break;default:throw Error(D(329))}}}return rt(e,ve()),e.callbackNode===n?Pw.bind(null,e):null}function _d(e,t){var n=to;return e.current.memoizedState.isDehydrated&&(qr(e,t).flags|=256),e=Pl(e,t),e!==2&&(t=Je,Je=n,t!==null&&zd(t)),e}function zd(e){Je===null?Je=e:Je.push.apply(Je,e)}function BE(e){for(var t=e;;){if(t.flags&16384){var n=t.updateQueue;if(n!==null&&(n=n.stores,n!==null))for(var r=0;r<n.length;r++){var i=n[r],s=i.getSnapshot;i=i.value;try{if(!$t(s(),i))return!1}catch{return!1}}}if(n=t.child,t.subtreeFlags&16384&&n!==null)n.return=t,t=n;else{if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return!0;t=t.return}t.sibling.return=t.return,t=t.sibling}}return!0}function Wn(e,t){for(t&=~Cp,t&=~su,e.suspendedLanes|=t,e.pingedLanes&=~t,e=e.expirationTimes;0<t;){var n=31-Ft(t),r=1<<n;e[n]=-1,t&=~r}}function Um(e){if(Z&6)throw Error(D(327));zi();var t=ll(e,0);if(!(t&1))return rt(e,ve()),null;var n=Pl(e,t);if(e.tag!==0&&n===2){var r=ud(e);r!==0&&(t=r,n=_d(e,r))}if(n===1)throw n=To,qr(e,0),Wn(e,t),rt(e,ve()),n;if(n===6)throw Error(D(345));return e.finishedWork=e.current.alternate,e.finishedLanes=t,Lr(e,Je,mn),rt(e,ve()),null}function Tp(e,t){var n=Z;Z|=1;try{return e(t)}finally{Z=n,Z===0&&(is=ve()+500,tu&&br())}}function ri(e){Xn!==null&&Xn.tag===0&&!(Z&6)&&zi();var t=Z;Z|=1;var n=bt.transition,r=te;try{if(bt.transition=null,te=1,e)return e()}finally{te=r,bt.transition=n,Z=t,!(Z&6)&&br()}}function Pp(){ot=Ri.current,le(Ri)}function qr(e,t){e.finishedWork=null,e.finishedLanes=0;var n=e.timeoutHandle;if(n!==-1&&(e.timeoutHandle=-1,yE(n)),be!==null)for(n=be.return;n!==null;){var r=n;switch(op(r),r.tag){case 1:r=r.type.childContextTypes,r!=null&&pl();break;case 3:ns(),le(tt),le(Ve),mp();break;case 5:hp(r);break;case 4:ns();break;case 13:le(fe);break;case 19:le(fe);break;case 10:cp(r.type._context);break;case 22:case 23:Pp()}n=n.return}if(ke=e,be=e=ar(e.current,null),Le=ot=t,Te=0,To=null,Cp=su=ni=0,Je=to=null,jr!==null){for(t=0;t<jr.length;t++)if(n=jr[t],r=n.interleaved,r!==null){n.interleaved=null;var i=r.next,s=n.pending;if(s!==null){var o=s.next;s.next=i,r.next=o}n.pending=r}jr=null}return e}function kw(e,t){do{var n=be;try{if(up(),ja.current=Sl,bl){for(var r=pe.memoizedState;r!==null;){var i=r.queue;i!==null&&(i.pending=null),r=r.next}bl=!1}if(ti=0,Pe=Ce=pe=null,Js=!1,So=0,Sp.current=null,n===null||n.return===null){Te=1,To=t,be=null;break}e:{var s=e,o=n.return,a=n,l=t;if(t=Le,a.flags|=32768,l!==null&&typeof l=="object"&&typeof l.then=="function"){var u=l,c=a,d=c.tag;if(!(c.mode&1)&&(d===0||d===11||d===15)){var f=c.alternate;f?(c.updateQueue=f.updateQueue,c.memoizedState=f.memoizedState,c.lanes=f.lanes):(c.updateQueue=null,c.memoizedState=null)}var p=Nm(o);if(p!==null){p.flags&=-257,Mm(p,o,a,s,t),p.mode&1&&Rm(s,u,t),t=p,l=u;var y=t.updateQueue;if(y===null){var g=new Set;g.add(l),t.updateQueue=g}else y.add(l);break e}else{if(!(t&1)){Rm(s,u,t),kp();break e}l=Error(D(426))}}else if(ce&&a.mode&1){var x=Nm(o);if(x!==null){!(x.flags&65536)&&(x.flags|=256),Mm(x,o,a,s,t),ap(rs(l,a));break e}}s=l=rs(l,a),Te!==4&&(Te=2),to===null?to=[s]:to.push(s),s=o;do{switch(s.tag){case 3:s.flags|=65536,t&=-t,s.lanes|=t;var h=cw(s,l,t);Cm(s,h);break e;case 1:a=l;var m=s.type,v=s.stateNode;if(!(s.flags&128)&&(typeof m.getDerivedStateFromError=="function"||v!==null&&typeof v.componentDidCatch=="function"&&(sr===null||!sr.has(v)))){s.flags|=65536,t&=-t,s.lanes|=t;var S=dw(s,a,t);Cm(s,S);break e}}s=s.return}while(s!==null)}Nw(n)}catch(C){t=C,be===n&&n!==null&&(be=n=n.return);continue}break}while(!0)}function Aw(){var e=Cl.current;return Cl.current=Sl,e===null?Sl:e}function kp(){(Te===0||Te===3||Te===2)&&(Te=4),ke===null||!(ni&268435455)&&!(su&268435455)||Wn(ke,Le)}function Pl(e,t){var n=Z;Z|=2;var r=Aw();(ke!==e||Le!==t)&&(mn=null,qr(e,t));do try{$E();break}catch(i){kw(e,i)}while(!0);if(up(),Z=n,Cl.current=r,be!==null)throw Error(D(261));return ke=null,Le=0,Te}function $E(){for(;be!==null;)Rw(be)}function UE(){for(;be!==null&&!hC();)Rw(be)}function Rw(e){var t=Lw(e.alternate,e,ot);e.memoizedProps=e.pendingProps,t===null?Nw(e):be=t,Sp.current=null}function Nw(e){var t=e;do{var n=t.alternate;if(e=t.return,t.flags&32768){if(n=jE(n,t),n!==null){n.flags&=32767,be=n;return}if(e!==null)e.flags|=32768,e.subtreeFlags=0,e.deletions=null;else{Te=6,be=null;return}}else if(n=IE(n,t,ot),n!==null){be=n;return}if(t=t.sibling,t!==null){be=t;return}be=t=e}while(t!==null);Te===0&&(Te=5)}function Lr(e,t,n){var r=te,i=bt.transition;try{bt.transition=null,te=1,WE(e,t,n,r)}finally{bt.transition=i,te=r}return null}function WE(e,t,n,r){do zi();while(Xn!==null);if(Z&6)throw Error(D(327));n=e.finishedWork;var i=e.finishedLanes;if(n===null)return null;if(e.finishedWork=null,e.finishedLanes=0,n===e.current)throw Error(D(177));e.callbackNode=null,e.callbackPriority=0;var s=n.lanes|n.childLanes;if(EC(e,s),e===ke&&(be=ke=null,Le=0),!(n.subtreeFlags&2064)&&!(n.flags&2064)||ya||(ya=!0,Dw(al,function(){return zi(),null})),s=(n.flags&15990)!==0,n.subtreeFlags&15990||s){s=bt.transition,bt.transition=null;var o=te;te=1;var a=Z;Z|=4,Sp.current=null,zE(e,n),Ew(n,e),cE(md),ul=!!hd,md=hd=null,e.current=n,FE(n),mC(),Z=a,te=o,bt.transition=s}else e.current=n;if(ya&&(ya=!1,Xn=e,Tl=i),s=e.pendingLanes,s===0&&(sr=null),vC(n.stateNode),rt(e,ve()),t!==null)for(r=e.onRecoverableError,n=0;n<t.length;n++)i=t[n],r(i.value,{componentStack:i.stack,digest:i.digest});if(El)throw El=!1,e=Id,Id=null,e;return Tl&1&&e.tag!==0&&zi(),s=e.pendingLanes,s&1?e===jd?no++:(no=0,jd=e):no=0,br(),null}function zi(){if(Xn!==null){var e=c0(Tl),t=bt.transition,n=te;try{if(bt.transition=null,te=16>e?16:e,Xn===null)var r=!1;else{if(e=Xn,Xn=null,Tl=0,Z&6)throw Error(D(331));var i=Z;for(Z|=4,z=e.current;z!==null;){var s=z,o=s.child;if(z.flags&16){var a=s.deletions;if(a!==null){for(var l=0;l<a.length;l++){var u=a[l];for(z=u;z!==null;){var c=z;switch(c.tag){case 0:case 11:case 15:eo(8,c,s)}var d=c.child;if(d!==null)d.return=c,z=d;else for(;z!==null;){c=z;var f=c.sibling,p=c.return;if(bw(c),c===u){z=null;break}if(f!==null){f.return=p,z=f;break}z=p}}}var y=s.alternate;if(y!==null){var g=y.child;if(g!==null){y.child=null;do{var x=g.sibling;g.sibling=null,g=x}while(g!==null)}}z=s}}if(s.subtreeFlags&2064&&o!==null)o.return=s,z=o;else e:for(;z!==null;){if(s=z,s.flags&2048)switch(s.tag){case 0:case 11:case 15:eo(9,s,s.return)}var h=s.sibling;if(h!==null){h.return=s.return,z=h;break e}z=s.return}}var m=e.current;for(z=m;z!==null;){o=z;var v=o.child;if(o.subtreeFlags&2064&&v!==null)v.return=o,z=v;else e:for(o=m;z!==null;){if(a=z,a.flags&2048)try{switch(a.tag){case 0:case 11:case 15:iu(9,a)}}catch(C){ye(a,a.return,C)}if(a===o){z=null;break e}var S=a.sibling;if(S!==null){S.return=a.return,z=S;break e}z=a.return}}if(Z=i,br(),en&&typeof en.onPostCommitFiberRoot=="function")try{en.onPostCommitFiberRoot(Ql,e)}catch{}r=!0}return r}finally{te=n,bt.transition=t}}return!1}function Wm(e,t,n){t=rs(n,t),t=cw(e,t,1),e=ir(e,t,1),t=qe(),e!==null&&(Vo(e,1,t),rt(e,t))}function ye(e,t,n){if(e.tag===3)Wm(e,e,n);else for(;t!==null;){if(t.tag===3){Wm(t,e,n);break}else if(t.tag===1){var r=t.stateNode;if(typeof t.type.getDerivedStateFromError=="function"||typeof r.componentDidCatch=="function"&&(sr===null||!sr.has(r))){e=rs(n,e),e=dw(t,e,1),t=ir(t,e,1),e=qe(),t!==null&&(Vo(t,1,e),rt(t,e));break}}t=t.return}}function HE(e,t,n){var r=e.pingCache;r!==null&&r.delete(t),t=qe(),e.pingedLanes|=e.suspendedLanes&n,ke===e&&(Le&n)===n&&(Te===4||Te===3&&(Le&130023424)===Le&&500>ve()-Ep?qr(e,0):Cp|=n),rt(e,t)}function Mw(e,t){t===0&&(e.mode&1?(t=aa,aa<<=1,!(aa&130023424)&&(aa=4194304)):t=1);var n=qe();e=Cn(e,t),e!==null&&(Vo(e,t,n),rt(e,n))}function KE(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),Mw(e,n)}function GE(e,t){var n=0;switch(e.tag){case 13:var r=e.stateNode,i=e.memoizedState;i!==null&&(n=i.retryLane);break;case 19:r=e.stateNode;break;default:throw Error(D(314))}r!==null&&r.delete(t),Mw(e,n)}var Lw;Lw=function(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps||tt.current)et=!0;else{if(!(e.lanes&n)&&!(t.flags&128))return et=!1,OE(e,t,n);et=!!(e.flags&131072)}else et=!1,ce&&t.flags&1048576&&j0(t,gl,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;za(e,t),e=t.pendingProps;var i=Ji(t,Ve.current);_i(t,n),i=yp(null,t,r,e,i,n);var s=vp();return t.flags|=1,typeof i=="object"&&i!==null&&typeof i.render=="function"&&i.$$typeof===void 0?(t.tag=1,t.memoizedState=null,t.updateQueue=null,nt(r)?(s=!0,hl(t)):s=!1,t.memoizedState=i.state!==null&&i.state!==void 0?i.state:null,fp(t),i.updater=ru,t.stateNode=i,i._reactInternals=t,Ed(t,r,e,n),t=kd(null,t,r,!0,s,n)):(t.tag=0,ce&&s&&sp(t),Ue(null,t,i,n),t=t.child),t;case 16:r=t.elementType;e:{switch(za(e,t),e=t.pendingProps,i=r._init,r=i(r._payload),t.type=r,i=t.tag=YE(r),e=Lt(r,e),i){case 0:t=Pd(null,t,r,e,n);break e;case 1:t=Om(null,t,r,e,n);break e;case 11:t=Lm(null,t,r,e,n);break e;case 14:t=Dm(null,t,r,Lt(r.type,e),n);break e}throw Error(D(306,r,""))}return t;case 0:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:Lt(r,i),Pd(e,t,r,i,n);case 1:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:Lt(r,i),Om(e,t,r,i,n);case 3:e:{if(mw(t),e===null)throw Error(D(387));
vendor: 4,729 bytes, line 41
41r=t.pendingProps,s=t.memoizedState,i=s.element,$0(e,t),wl(t,r,null,n);var o=t.memoizedState;if(r=o.element,s.isDehydrated)if(s={element:r,isDehydrated:!1,cache:o.cache,pendingSuspenseBoundaries:o.pendingSuspenseBoundaries,transitions:o.transitions},t.updateQueue.baseState=s,t.memoizedState=s,t.flags&256){i=rs(Error(D(423)),t),t=Im(e,t,r,n,i);break e}else if(r!==i){i=rs(Error(D(424)),t),t=Im(e,t,r,n,i);break e}else for(lt=rr(t.stateNode.containerInfo.firstChild),ut=t,ce=!0,_t=null,n=V0(t,null,r,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling;else{if(es(),r===i){t=En(e,t,n);break e}Ue(e,t,r,n)}t=t.child}return t;case 5:return U0(t),e===null&&bd(t),r=t.type,i=t.pendingProps,s=e!==null?e.memoizedProps:null,o=i.children,gd(r,i)?o=null:s!==null&&gd(r,s)&&(t.flags|=32),hw(e,t),Ue(e,t,o,n),t.child;case 6:return e===null&&bd(t),null;case 13:return gw(e,t,n);case 4:return pp(t,t.stateNode.containerInfo),r=t.pendingProps,e===null?t.child=ts(t,null,r,n):Ue(e,t,r,n),t.child;case 11:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:Lt(r,i),Lm(e,t,r,i,n);case 7:return Ue(e,t,t.pendingProps,n),t.child;case 8:return Ue(e,t,t.pendingProps.children,n),t.child;case 12:return Ue(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(r=t.type._context,i=t.pendingProps,s=t.memoizedProps,o=i.value,se(yl,r._currentValue),r._currentValue=o,s!==null)if($t(s.value,o)){if(s.children===i.children&&!tt.current){t=En(e,t,n);break e}}else for(s=t.child,s!==null&&(s.return=t);s!==null;){var a=s.dependencies;if(a!==null){o=s.child;for(var l=a.firstContext;l!==null;){if(l.context===r){if(s.tag===1){l=xn(-1,n&-n),l.tag=2;var u=s.updateQueue;if(u!==null){u=u.shared;var c=u.pending;c===null?l.next=l:(l.next=c.next,c.next=l),u.pending=l}}s.lanes|=n,l=s.alternate,l!==null&&(l.lanes|=n),Sd(s.return,n,t),a.lanes|=n;break}l=l.next}}else if(s.tag===10)o=s.type===t.type?null:s.child;else if(s.tag===18){if(o=s.return,o===null)throw Error(D(341));o.lanes|=n,a=o.alternate,a!==null&&(a.lanes|=n),Sd(o,n,t),o=s.sibling}else o=s.child;if(o!==null)o.return=s;else for(o=s;o!==null;){if(o===t){o=null;break}if(s=o.sibling,s!==null){s.return=o.return,o=s;break}o=o.return}s=o}Ue(e,t,i.children,n),t=t.child}return t;case 9:return i=t.type,r=t.pendingProps.children,_i(t,n),i=Ct(i),r=r(i),t.flags|=1,Ue(e,t,r,n),t.child;case 14:return r=t.type,i=Lt(r,t.pendingProps),i=Lt(r.type,i),Dm(e,t,r,i,n);case 15:return fw(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:Lt(r,i),za(e,t),t.tag=1,nt(r)?(e=!0,hl(t)):e=!1,_i(t,n),uw(t,r,i),Ed(t,r,i,n),kd(null,t,r,!0,e,n);case 19:return yw(e,t,n);case 22:return pw(e,t,n)}throw Error(D(156,t.tag))};function Dw(e,t){return o0(e,t)}function qE(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function wt(e,t,n,r){return new qE(e,t,n,r)}function Ap(e){return e=e.prototype,!(!e||!e.isReactComponent)}function YE(e){if(typeof e=="function")return Ap(e)?1:0;if(e!=null){if(e=e.$$typeof,e===Gf)return 11;if(e===qf)return 14}return 2}function ar(e,t){var n=e.alternate;return n===null?(n=wt(e.tag,t,e.key,e.mode),n.elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.subtreeFlags=0,n.deletions=null),n.flags=e.flags&14680064,n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n}function Ba(e,t,n,r,i,s){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 wi:return Yr(n.children,i,s,t);case Kf:o=8,i|=8;break;case qc:return e=wt(12,n,t,i|2),e.elementType=qc,e.lanes=s,e;case Yc:return e=wt(13,n,t,i),e.elementType=Yc,e.lanes=s,e;case Qc:return e=wt(19,n,t,i),e.elementType=Qc,e.lanes=s,e;case Uv:return ou(n,i,s,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case Bv:o=10;break e;case $v:o=9;break e;case Gf:o=11;break e;case qf:o=14;break e;case Bn:o=16,r=null;break e}throw Error(D(130,e==null?e:typeof e,""))}return t=wt(o,n,t,i),t.elementType=e,t.type=r,t.lanes=s,t}function Yr(e,t,n,r){return e=wt(7,e,r,t),e.lanes=n,e}function ou(e,t,n,r){return e=wt(22,e,r,t),e.elementType=Uv,e.lanes=n,e.stateNode={isHidden:!1},e}function dc(e,t,n){return e=wt(6,e,null,t),e.lanes=n,e}
vendor: 4,321 bytes, line 41
41function fc(e,t,n){return t=wt(4,e.children!==null?e.children:[],e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function QE(e,t,n,r,i){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=Ku(0),this.expirationTimes=Ku(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Ku(0),this.identifierPrefix=r,this.onRecoverableError=i,this.mutableSourceEagerHydrationData=null}function Rp(e,t,n,r,i,s,o,a,l){return e=new QE(e,t,n,a,l),t===1?(t=1,s===!0&&(t|=8)):t=0,s=wt(3,null,null,t),e.current=s,s.stateNode=e,s.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},fp(s),e}function XE(e,t,n){var r=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:vi,key:r==null?null:""+r,children:e,containerInfo:t,implementation:n}}function Ow(e){if(!e)return cr;e=e._reactInternals;e:{if(oi(e)!==e||e.tag!==1)throw Error(D(170));var t=e;do{switch(t.tag){case 3:t=t.stateNode.context;break e;case 1:if(nt(t.type)){t=t.stateNode.__reactInternalMemoizedMergedChildContext;break e}}t=t.return}while(t!==null);throw Error(D(171))}if(e.tag===1){var n=e.type;if(nt(n))return O0(e,n,t)}return t}function Iw(e,t,n,r,i,s,o,a,l){return e=Rp(n,r,!0,e,i,s,o,a,l),e.context=Ow(null),n=e.current,r=qe(),i=or(n),s=xn(r,i),s.callback=t??null,ir(n,s,i),e.current.lanes=i,Vo(e,i,r),rt(e,r),e}function au(e,t,n,r){var i=t.current,s=qe(),o=or(i);return n=Ow(n),t.context===null?t.context=n:t.pendingContext=n,t=xn(s,o),t.payload={element:e},r=r===void 0?null:r,r!==null&&(t.callback=r),e=ir(i,t,o),e!==null&&(Vt(e,i,o,s),Ia(e,i,o)),o}function kl(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 Hm(e,t){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var n=e.retryLane;e.retryLane=n!==0&&n<t?n:t}}function Np(e,t){Hm(e,t),(e=e.alternate)&&Hm(e,t)}function ZE(){return null}var jw=typeof reportError=="function"?reportError:function(e){console.error(e)};function Mp(e){this._internalRoot=e}lu.prototype.render=Mp.prototype.render=function(e){var t=this._internalRoot;if(t===null)throw Error(D(409));au(e,t,null,null)};lu.prototype.unmount=Mp.prototype.unmount=function(){var e=this._internalRoot;if(e!==null){this._internalRoot=null;var t=e.containerInfo;ri(function(){au(null,e,null,null)}),t[Sn]=null}};function lu(e){this._internalRoot=e}lu.prototype.unstable_scheduleHydration=function(e){if(e){var t=p0();e={blockedOn:null,target:e,priority:t};for(var n=0;n<Un.length&&t!==0&&t<Un[n].priority;n++);Un.splice(n,0,e),n===0&&m0(e)}};function Lp(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}function uu(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11&&(e.nodeType!==8||e.nodeValue!==" react-mount-point-unstable "))}function Km(){}function JE(e,t,n,r,i){if(i){if(typeof r=="function"){var s=r;r=function(){var u=kl(o);s.call(u)}}var o=Iw(t,r,e,0,null,!1,!1,"",Km);return e._reactRootContainer=o,e[Sn]=o.current,yo(e.nodeType===8?e.parentNode:e),ri(),o}for(;i=e.lastChild;)e.removeChild(i);if(typeof r=="function"){var a=r;r=function(){var u=kl(l);a.call(u)}}var l=Rp(e,0,!1,null,null,!1,!1,"",Km);return e._reactRootContainer=l,e[Sn]=l.current,yo(e.nodeType===8?e.parentNode:e),ri(function(){au(t,l,n,r)}),l}function cu(e,t,n,r,i){var s=n._reactRootContainer;if(s){var o=s;if(typeof i=="function"){var a=i;i=function(){var l=kl(o);a.call(l)}}au(t,o,e,i)}else o=JE(n,t,e,i,r);return kl(o)}d0=function(e){switch(e.tag){case 3:var t=e.stateNode;if(t.current.memoizedState.isDehydrated){var n=$s(t.pendingLanes);n!==0&&(Xf(t,n|1),rt(t,ve()),!(Z&6)&&(is=ve()+500,br()))}break;case 13:ri(function(){var r=Cn(e,1);if(r!==null){var i=qe();Vt(r,e,1,i)}}),Np(e,1)}};Zf=function(e){if(e.tag===13){var t=Cn(e,134217728);if(t!==null){var n=qe();Vt(t,e,134217728,n)}Np(e,134217728)}};f0=function(e){if(e.tag===13){var t=or(e),n=Cn(e,t);if(n!==null){var r=qe();Vt(n,e,t,r)}Np(e,t)}};p0=function(){return te};h0=function(e,t){var n=te;
41try{return te=e,t()}finally{te=n}};od=function(e,t,n){switch(t){case"input":if(Jc(e,n),t=n.name,n.type==="radio"&&t!=null){for(n=e;n.parentNode;)n=n.parentNode;for(n=n.querySelectorAll("input[name="+JSON.stringify(""+t)+'][type="radio"]'),t=0;t<n.length;t++){var r=n[t];if(r!==e&&r.form===e.form){var i=eu(r);if(!i)throw Error(D(90));Hv(r),Jc(r,i)}}}break;case"textarea":Gv(e,n);break;case"select":t=n.value,t!=null&&Di(e,!!n.multiple,t,!1)}};e0=Tp;t0=ri;var eT={usingClientEntryPoint:!1,Events:[$o,Ci,eu,Zv,Jv,Tp]},Os={findFiberByHostInstance:Ir,bundleType:0,version:"18.3.1",rendererPackageName:"react-dom"},tT={bundleType:Os.bundleType,version:Os.version,rendererPackageName:Os.rendererPackageName,rendererConfig:Os.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:kn.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return e=i0(e),e===null?null:e.stateNode},findFiberByHostInstance:Os.findFiberByHostInstance||ZE,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 va=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!va.isDisabled&&va.supportsFiber)try{Ql=va.inject(tT),en=va}catch{}}ft.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=eT;ft.createPortal=function(e,t){var n=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!Lp(t))throw Error(D(200));return XE(e,t,null,n)};ft.createRoot=function(e,t){if(!Lp(e))throw Error(D(299));var n=!1,r="",i=jw;return t!=null&&(t.unstable_strictMode===!0&&(n=!0),t.identifierPrefix!==void 0&&(r=t.identifierPrefix),t.onRecoverableError!==void 0&&(i=t.onRecoverableError)),t=Rp(e,1,!1,null,null,n,!1,r,i),e[Sn]=t.current,yo(e.nodeType===8?e.parentNode:e),new Mp(t)};ft.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(D(188)):(e=Object.keys(e).join(","),Error(D(268,e)));return e=i0(t),e=e===null?null:e.stateNode,e};ft.flushSync=function(e){return ri(e)};ft.hydrate=function(e,t,n){if(!uu(t))throw Error(D(200));return cu(null,e,t,!0,n)};ft.hydrateRoot=function(e,t,n){if(!Lp(e))throw Error(D(405));var r=n!=null&&n.hydratedSources||null,i=!1,s="",o=jw;if(n!=null&&(n.unstable_strictMode===!0&&(i=!0),n.identifierPrefix!==void 0&&(s=n.identifierPrefix),n.onRecoverableError!==void 0&&(o=n.onRecoverableError)),t=Iw(t,null,e,1,n??null,i,!1,s,o),e[Sn]=t.current,yo(e),r)for(e=0;e<r.length;e++)n=r[e],i=n._getVersion,i=i(n._source),t.mutableSourceEagerHydrationData==null?t.mutableSourceEagerHydrationData=[n,i]:t.mutableSourceEagerHydrationData.push(n,i);return new lu(t)};ft.render=function(e,t,n){if(!uu(t))throw Error(D(200));return cu(null,e,t,!1,n)};ft.unmountComponentAtNode=function(e){if(!uu(e))throw Error(D(40));return e._reactRootContainer?(ri(function(){cu(null,null,e,!1,function(){e._reactRootContainer=null,e[Sn]=null})}),!0):!1};ft.unstable_batchedUpdates=Tp;ft.unstable_renderSubtreeIntoContainer=function(e,t,n,r){if(!uu(n))throw Error(D(200));if(e==null||e._reactInternals===void 0)throw Error(D(38));return cu(e,t,n,!1,r)};ft.version="18.3.1-next-f1338f8080-20240426";function _w(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(_w)}catch(e){console.error(e)}}_w(),_v.exports=ft;var Wo=_v.exports;const zw=zo(Wo);var Fw,Gm=Wo;Fw=Gm.createRoot,Gm.hydrateRoot;var nT=typeof Element<"u",rT=typeof Map=="function",iT=typeof Set=="function",sT=typeof ArrayBuffer=="function"&&!!ArrayBuffer.isView;function $a(e,t){if(e===t)return!0;if(e&&t&&typeof e=="object"&&typeof t=="object"){if(e.constructor!==t.constructor)return!1;var n,r,i;if(Array.isArray(e)){if(n=e.length,n!=t.length)return!1;for(r=n;r--!==0;)if(!$a(e[r],t[r]))return!1;return!0}var s;if(rT&&e instanceof Map&&t instanceof Map){if(e.size!==t.size)return!1;for(s=e.entries();!(r=s.next()).done;)if(!t.has(r.value[0]))return!1;for(s=e.entries();!(r=s.next()).done;)if(!$a(r.value[1],t.get(r.value[0])))return!1;return!0}if(iT&&e instanceof Set&&t instanceof Set){if(e.size!==t.size)return!1;for(s=e.entries();!(r=s.next()).done;)if(!t.has(r.value[0]))return!1;return!0}if(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(i=Object.keys(e),n=i.length,n!==Object.keys(t).length)return!1;for(r=n;r--!==0;)if(!Object.prototype.hasOwnProperty.call(t,i[r]))return!1;if(nT&&e instanceof Element)return!1;for(r=n;r--!==0;)if(!((i[r]==="_owner"||i[r]==="__v"||i[r]==="__o")&&e.$$typeof)&&!$a(e[i[r]],t[i[r]]))return!1;return!0}return e!==e&&t!==t}var oT=function(t,n){try{return $a(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 aT=zo(oT);var lT=function(e,t,n,r,i,s,o,a){if(!e){var l;if(t===void 0)l=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var u=[n,r,i,s,o,a],c=0;
41l=new Error(t.replace(/%s/g,function(){return u[c++]})),l.name="Invariant Violation"}throw l.framesToPop=1,l}},uT=lT;const qm=zo(uT);var cT=function(t,n,r,i){var s=r?r.call(i,t,n):void 0;if(s!==void 0)return!!s;if(t===n)return!0;if(typeof t!="object"||!t||typeof n!="object"||!n)return!1;var o=Object.keys(t),a=Object.keys(n);if(o.length!==a.length)return!1;for(var l=Object.prototype.hasOwnProperty.bind(n),u=0;u<o.length;u++){var c=o[u];if(!l(c))return!1;var d=t[c],f=n[c];if(s=r?r.call(i,d,f,c):void 0,s===!1||s===void 0&&d!==f)return!1}return!0};const dT=zo(cT);var Vw=(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))(Vw||{}),pc={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"]}},Ym=Object.values(Vw),du={accesskey:"accessKey",charset:"charSet",class:"className",contenteditable:"contentEditable",contextmenu:"contextMenu","http-equiv":"httpEquiv",itemprop:"itemProp",tabindex:"tabIndex"},Bw=Object.entries(du).reduce((e,[t,n])=>(e[n]=t,e),{}),zt="data-rh",Fi={DEFAULT_TITLE:"defaultTitle",DEFER:"defer",ENCODE_SPECIAL_CHARACTERS:"encodeSpecialCharacters",ON_CHANGE_CLIENT_STATE:"onChangeClientState",TITLE_TEMPLATE:"titleTemplate",PRIORITIZE_SEO_TAGS:"prioritizeSeoTags"},Vi=(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},fT=e=>{let t=Vi(e,"title");const n=Vi(e,Fi.TITLE_TEMPLATE);if(Array.isArray(t)&&(t=t.join("")),n&&t)return n.replace(/%s/g,()=>t);const r=Vi(e,Fi.DEFAULT_TITLE);return t||r||void 0},pT=e=>Vi(e,Fi.ON_CHANGE_CLIENT_STATE)||(()=>{}),hc=(e,t)=>t.filter(n=>typeof n[e]<"u").map(n=>n[e]).reduce((n,r)=>({...n,...r}),{}),hT=(e,t)=>t.filter(n=>typeof n.base<"u").map(n=>n.base).reverse().reduce((n,r)=>{if(!n.length){const i=Object.keys(r);for(let s=0;s<i.length;s+=1){const a=i[s].toLowerCase();if(e.indexOf(a)!==-1&&r[a])return n.concat(r)}}return n},[]),mT=e=>console&&typeof console.warn=="function"&&console.warn(e),Is=(e,t,n)=>{const r={};return n.filter(i=>Array.isArray(i[e])?!0:(typeof i[e]<"u"&&mT(`Helmet: ${e} should be of type "Array". Instead found type "${typeof i[e]}"`),!1)).map(i=>i[e]).reverse().reduce((i,s)=>{const o={};s.filter(l=>{let u;const c=Object.keys(l);for(let f=0;f<c.length;f+=1){const p=c[f],y=p.toLowerCase();t.indexOf(y)!==-1&&!(u==="rel"&&l[u].toLowerCase()==="canonical")&&!(y==="rel"&&l[y].toLowerCase()==="stylesheet")&&(u=y),t.indexOf(p)!==-1&&(p==="innerHTML"||p==="cssText"||p==="itemprop")&&(u=p)}if(!u||!l[u])return!1;const d=l[u].toLowerCase();return r[u]||(r[u]={}),o[u]||(o[u]={}),r[u][d]?!1:(o[u][d]=!0,!0)}).reverse().forEach(l=>i.push(l));const a=Object.keys(o);for(let l=0;l<a.length;l+=1){const u=a[l],c={...r[u],...o[u]};r[u]=c}return i},[]).reverse()},gT=(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},yT=e=>({baseTag:hT(["href"],e),bodyAttributes:hc("bodyAttributes",e),defer:Vi(e,Fi.DEFER),encode:Vi(e,Fi.ENCODE_SPECIAL_CHARACTERS),htmlAttributes:hc("htmlAttributes",e),linkTags:Is("link",["rel","href"],e),metaTags:Is("meta",["name","charset","http-equiv","property","itemprop"],e),noscriptTags:Is("noscript",["innerHTML"],e),onChangeClientState:pT(e),scriptTags:Is("script",["src","innerHTML"],e),styleTags:Is("style",["cssText"],e),title:fT(e),titleAttributes:hc("titleAttributes",e),prioritizeSeoTags:gT(e,Fi.PRIORITIZE_SEO_TAGS)}),$w=e=>Array.isArray(e)?e.join(""):e,vT=(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},mc=(e,t)=>Array.isArray(e)?e.reduce((n,r)=>(vT(r,t)?n.priority.push(r):n.default.push(r),n),{priority:[],default:[]}):{default:e,priority:[]},Qm=(e,t)=>({...e,[t]:void 0}),wT=["noscript","script","style"],Fd=(e,t=!0)=>t===!1?String(e):String(e).replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,""").replace(/'/g,"'"),Uw=e=>Object.keys(e).reduce((t,n)=>{const r=typeof e[n]<"u"?`${n}="${e[n]}"`:`${n}`;return t?`${t} ${r}`:r},""),xT=(e,t,n,r)=>{const i=Uw(n),s=$w(t);return i?`<${e} ${zt}="true" ${i}>${Fd(s,r)}</${e}>`:`<${e} ${zt}="true">${Fd(s,r)}</${e}>`},bT=(e,t,n=!0)=>t.reduce((r,i)=>{const s=i,o=Object.keys(s).filter(u=>!(u==="innerHTML"||u==="cssText")).reduce((u,c)=>{const d=typeof s[c]>"u"?c:`${c}="${Fd(s[c],n)}"`;return u?`${u} ${d}`:d},""),a=s.innerHTML||s.cssText||"",l=wT.indexOf(e)===-1;return`${r}<${e} ${zt}="true" ${o}${l?"/>":`>${a}</${e}>`}`},""),Ww=(e,t={})=>Object.keys(e).reduce((n,r)=>{const i=du[r];return n[i||r]=e[r],n},t),ST=(e,t,n)=>{const r={key:t,[zt]:!0},i=Ww(n,r);return[L.createElement("title",i,t)]},Ua=(e,t)=>t.map((n,r)=>{const i={key:r,[zt]:!0};
41return Object.keys(n).forEach(s=>{const a=du[s]||s;if(a==="innerHTML"||a==="cssText"){const l=n.innerHTML||n.cssText;i.dangerouslySetInnerHTML={__html:l}}else i[a]=n[s]}),L.createElement(e,i)}),mt=(e,t,n=!0)=>{switch(e){case"title":return{toComponent:()=>ST(e,t.title,t.titleAttributes),toString:()=>xT(e,t.title,t.titleAttributes,n)};case"bodyAttributes":case"htmlAttributes":return{toComponent:()=>Ww(t),toString:()=>Uw(t)};default:return{toComponent:()=>Ua(e,t),toString:()=>bT(e,t,n)}}},CT=({metaTags:e,linkTags:t,scriptTags:n,encode:r})=>{const i=mc(e,pc.meta),s=mc(t,pc.link),o=mc(n,pc.script);return{priorityMethods:{toComponent:()=>[...Ua("meta",i.priority),...Ua("link",s.priority),...Ua("script",o.priority)],toString:()=>`${mt("meta",i.priority,r)} ${mt("link",s.priority,r)} ${mt("script",o.priority,r)}`},metaTags:i.default,linkTags:s.default,scriptTags:o.default}},ET=e=>{const{baseTag:t,bodyAttributes:n,encode:r=!0,htmlAttributes:i,noscriptTags:s,styleTags:o,title:a="",titleAttributes:l,prioritizeSeoTags:u}=e;let{linkTags:c,metaTags:d,scriptTags:f}=e,p={toComponent:()=>[],toString:()=>""};return u&&({priorityMethods:p,linkTags:c,metaTags:d,scriptTags:f}=CT(e)),{priority:p,base:mt("base",t,r),bodyAttributes:mt("bodyAttributes",n,r),htmlAttributes:mt("htmlAttributes",i,r),link:mt("link",c,r),meta:mt("meta",d,r),noscript:mt("noscript",s,r),script:mt("script",f,r),style:mt("style",o,r),title:mt("title",{title:a,titleAttributes:l},r)}},Vd=ET,wa=[],Dp=!!(typeof window<"u"&&window.document&&window.document.createElement),Bd=class{constructor(e,t){cn(this,"instances",[]);cn(this,"canUseDOM",Dp);cn(this,"context");cn(this,"value",{setHelmet:e=>{this.context.helmet=e},helmetInstances:{get:()=>this.canUseDOM?wa:this.instances,add:e=>{(this.canUseDOM?wa:this.instances).push(e)},remove:e=>{const t=(this.canUseDOM?wa:this.instances).indexOf(e);(this.canUseDOM?wa:this.instances).splice(t,1)}}});this.context=e,this.canUseDOM=t||!1,t||(e.helmet=Vd({baseTag:[],bodyAttributes:{},encodeSpecialCharacters:!0,htmlAttributes:{},linkTags:[],metaTags:[],noscriptTags:[],scriptTags:[],styleTags:[],title:"",titleAttributes:{}}))}},TT=parseInt(L.version.split(".")[0],10),$d=TT>=19,PT={},Hw=L.createContext(PT),Br,Kw=(Br=class extends w.Component{constructor(n){super(n);cn(this,"helmetData");$d?this.helmetData=null:this.helmetData=new Bd(this.props.context||{},Br.canUseDOM)}render(){return $d?L.createElement(L.Fragment,null,this.props.children):L.createElement(Hw.Provider,{value:this.helmetData.value},this.props.children)}},cn(Br,"canUseDOM",Dp),Br),hi=(e,t)=>{const n=document.head||document.querySelector("head"),r=n.querySelectorAll(`${e}[${zt}]`),i=[].slice.call(r),s=[];let o;return t&&t.length&&t.forEach(a=>{const l=document.createElement(e);for(const u in a)if(Object.prototype.hasOwnProperty.call(a,u))if(u==="innerHTML")l.innerHTML=a.innerHTML;else if(u==="cssText"){const c=a.cssText;l.appendChild(document.createTextNode(c))}else{const c=u,d=typeof a[c]>"u"?"":a[c];l.setAttribute(u,d)}l.setAttribute(zt,"true"),i.some((u,c)=>(o=c,l.isEqualNode(u)))?i.splice(o,1):s.push(l)}),i.forEach(a=>{var l;return(l=a.parentNode)==null?void 0:l.removeChild(a)}),s.forEach(a=>n.appendChild(a)),{oldTags:i,newTags:s}},Ud=(e,t)=>{const n=document.getElementsByTagName(e)[0];if(!n)return;const r=n.getAttribute(zt),i=r?r.split(","):[],s=[...i],o=Object.keys(t);for(const a of o){const l=t[a]||"";n.getAttribute(a)!==l&&n.setAttribute(a,l),i.indexOf(a)===-1&&i.push(a);const u=s.indexOf(a);u!==-1&&s.splice(u,1)}for(let a=s.length-1;a>=0;a-=1)n.removeAttribute(s[a]);i.length===s.length?n.removeAttribute(zt):n.getAttribute(zt)!==o.join(",")&&n.setAttribute(zt,o.join(","))},kT=(e,t)=>{typeof e<"u"&&document.title!==e&&(document.title=$w(e)),Ud("title",t)},Xm=(e,t)=>{const{baseTag:n,bodyAttributes:r,htmlAttributes:i,linkTags:s,metaTags:o,noscriptTags:a,onChangeClientState:l,scriptTags:u,styleTags:c,title:d,titleAttributes:f}=e;Ud("body",r),Ud("html",i),kT(d,f);const p={baseTag:hi("base",n),linkTags:hi("link",s),metaTags:hi("meta",o),noscriptTags:hi("noscript",a),scriptTags:hi("script",u),styleTags:hi("style",c)},y={},g={};
41Object.keys(p).forEach(x=>{const{newTags:h,oldTags:m}=p[x];h.length&&(y[x]=h),m.length&&(g[x]=p[x].oldTags)}),t&&t(),l(e,y,g)},js=null,AT=e=>{js&&cancelAnimationFrame(js),e.defer?js=requestAnimationFrame(()=>{Xm(e,()=>{js=null})}):(Xm(e),js=null)},RT=AT,Zm=class extends w.Component{constructor(){super(...arguments);cn(this,"rendered",!1)}shouldComponentUpdate(t){return!dT(t,this.props)}componentDidUpdate(){this.emitChange()}componentWillUnmount(){const{helmetInstances:t}=this.props.context;t.remove(this),this.emitChange()}emitChange(){const{helmetInstances:t,setHelmet:n}=this.props.context;let r=null;const i=yT(t.get().map(s=>{const{context:o,...a}=s.props;return a}));Kw.canUseDOM?RT(i):Vd&&(r=Vd(i)),n(r)}init(){if(this.rendered)return;this.rendered=!0;const{helmetInstances:t}=this.props.context;t.add(this),this.emitChange()}render(){return this.init(),null}},Wa=[],Jm=e=>{const t={};for(const n of Object.keys(e))t[Bw[n]||n]=e[n];return t},kr=e=>{const t={};for(const n of Object.keys(e)){const r=du[n];t[r||n]=e[n]}return t},eg=(e,t)=>{if(!Dp)return;const n=document.getElementsByTagName(e)[0];if(!n)return;const r="data-rh-managed",i=n.getAttribute(r),s=i?i.split(","):[],o=Object.keys(t);for(const a of s)o.includes(a)||n.removeAttribute(a);for(const a of o){const l=t[a];l==null||l===!1?n.removeAttribute(a):l===!0?n.setAttribute(a,""):n.setAttribute(a,String(l))}o.length>0?n.setAttribute(r,o.join(",")):n.removeAttribute(r)},gc=()=>{const e={},t={};for(const n of Wa){const{htmlAttributes:r,bodyAttributes:i}=n.props;r&&Object.assign(e,Jm(r)),i&&Object.assign(t,Jm(i))}eg("html",e),eg("body",t)},NT=class extends w.Component{componentDidMount(){Wa.push(this),gc()}componentDidUpdate(){gc()}componentWillUnmount(){const e=Wa.indexOf(this);e!==-1&&Wa.splice(e,1),gc()}resolveTitle(){const{title:e,titleTemplate:t,defaultTitle:n}=this.props;return e&&t?t.replace(/%s/g,()=>Array.isArray(e)?e.join(""):e):e||n||void 0}renderTitle(){const e=this.resolveTitle();if(e===void 0)return null;const t=this.props.titleAttributes||{};return L.createElement("title",kr(t),e)}renderBase(){const{base:e}=this.props;return e?L.createElement("base",kr(e)):null}renderMeta(){const{meta:e}=this.props;return!e||!Array.isArray(e)?null:e.map((t,n)=>L.createElement("meta",{key:n,...kr(t)}))}renderLink(){const{link:e}=this.props;return!e||!Array.isArray(e)?null:e.map((t,n)=>L.createElement("link",{key:n,...kr(t)}))}renderScript(){const{script:e}=this.props;return!e||!Array.isArray(e)?null:e.map((t,n)=>{const{innerHTML:r,...i}=t,s=kr(i);return r&&(s.dangerouslySetInnerHTML={__html:r}),L.createElement("script",{key:n,...s})})}renderStyle(){const{style:e}=this.props;return!e||!Array.isArray(e)?null:e.map((t,n)=>{const{cssText:r,...i}=t,s=kr(i);return r&&(s.dangerouslySetInnerHTML={__html:r}),L.createElement("style",{key:n,...s})})}renderNoscript(){const{noscript:e}=this.props;return!e||!Array.isArray(e)?null:e.map((t,n)=>{const{innerHTML:r,...i}=t,s=kr(i);return r&&(s.dangerouslySetInnerHTML={__html:r}),L.createElement("noscript",{key:n,...s})})}render(){return L.createElement(L.Fragment,null,this.renderTitle(),this.renderBase(),this.renderMeta(),this.renderLink(),this.renderScript(),this.renderStyle(),this.renderNoscript())}},Kc,Oj=(Kc=class extends w.Component{shouldComponentUpdate(e){return!aT(Qm(this.props,"helmetData"),Qm(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}
41warnOnInvalidChildren(e,t){return qm(Ym.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 ${Ym.join(", ")} are allowed. Helmet does not support rendering <${e.type}> elements. Refer to our API for more information.`),qm(!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 L.Children.forEach(e,r=>{if(!r||!r.props)return;const{children:i,...s}=r.props,o=Object.keys(s).reduce((l,u)=>(l[Bw[u]||u]=s[u],l),{});let{type:a}=r;switch(typeof a=="symbol"?a=a.toString():this.warnOnInvalidChildren(r,i),a){case"Symbol(react.fragment)":t=this.mapChildrenToProps(i,t);break;case"link":case"meta":case"noscript":case"script":case"style":n=this.flattenArrayTypeChildren(r,n,o,i);break;default:t=this.mapObjectTypeChildren(r,t,o,i);break}}),this.mapArrayTypeChildrenToProps(n,t)}render(){const{children:e,...t}=this.props;let n={...t},{helmetData:r}=t;if(e&&(n=this.mapChildrenToProps(e,n)),r&&!(r instanceof Bd)){const i=r;r=new Bd(i.context,!0),delete n.helmetData}return $d?L.createElement(NT,{...n}):r?L.createElement(Zm,{...n,context:r.value}):L.createElement(Hw.Consumer,null,i=>L.createElement(Zm,{...n,context:i}))}},cn(Kc,"defaultProps",{defer:!0,encodeSpecialCharacters:!0,prioritizeSeoTags:!1}),Kc);const MT=1,LT=1e6;let yc=0;function DT(){return yc=(yc+1)%Number.MAX_SAFE_INTEGER,yc.toString()}const vc=new Map,tg=e=>{if(vc.has(e))return;const t=setTimeout(()=>{vc.delete(e),ro({type:"REMOVE_TOAST",toastId:e})},LT);vc.set(e,t)},OT=(e,t)=>{switch(t.type){case"ADD_TOAST":return{...e,toasts:[t.toast,...e.toasts].slice(0,MT)};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?tg(n):e.toasts.forEach(r=>{tg(r.id)}),{...e,toasts:e.toasts.map(r=>r.id===n||n===void 0?{...r,open:!1}:r)}}case"REMOVE_TOAST":return t.toastId===void 0?{...e,toasts:[]}:{...e,toasts:e.toasts.filter(n=>n.id!==t.toastId)}}},Ha=[];let Ka={toasts:[]};function ro(e){Ka=OT(Ka,e),Ha.forEach(t=>{t(Ka)})}function IT({...e}){const t=DT(),n=i=>ro({type:"UPDATE_TOAST",toast:{...i,id:t}}),r=()=>ro({type:"DISMISS_TOAST",toastId:t});return ro({type:"ADD_TOAST",toast:{...e,id:t,open:!0,onOpenChange:i=>{i||r()}}}),{id:t,dismiss:r,update:n}}function jT(){const[e,t]=w.useState(Ka);return w.useEffect(()=>(Ha.push(t),()=>{const n=Ha.indexOf(t);n>-1&&Ha.splice(n,1)}),[e]),{...e,toast:IT,dismiss:n=>ro({type:"DISMISS_TOAST",toastId:n})}}function Ee(e,t,{checkForDefaultPrevented:n=!0}={}){return function(i){if(e==null||e(i),n===!1||!i.defaultPrevented)return t==null?void 0:t(i)}}function ng(e,t){if(typeof e=="function")return e(t);e!=null&&(e.current=t)}function Gw(...e){return t=>{let n=!1;const r=e.map(i=>{const s=ng(i,t);return!n&&typeof s=="function"&&(n=!0),s});if(n)return()=>{for(let i=0;i<r.length;i++){const s=r[i];typeof s=="function"?s():ng(e[i],null)}}}}function Ut(...e){return w.useCallback(Gw(...e),e)}function fu(e,t=[]){let n=[];function r(s,o){const a=w.createContext(o),l=n.length;n=[...n,o];const u=d=>{var h;const{scope:f,children:p,...y}=d,g=((h=f==null?void 0:f[e])==null?void 0:h[l])||a,x=w.useMemo(()=>y,Object.values(y));return b.jsx(g.Provider,{value:x,children:p})};u.displayName=s+"Provider";function c(d,f){var g;const p=((g=f==null?void 0:f[e])==null?void 0:g[l])||a,y=w.useContext(p);if(y)return y;if(o!==void 0)return o;throw new Error(`\`${d}\` must be used within \`${s}\``)}return[u,c]}const i=()=>{const s=n.map(o=>w.createContext(o));return function(a){const l=(a==null?void 0:a[e])||s;return w.useMemo(()=>({[`__scope${e}`]:{...a,[e]:l}}),[a,l])}};return i.scopeName=e,[r,_T(i,...t)]}function _T(...e){const t=e[0];if(e.length===1)return t;const n=()=>{const r=e.map(i=>({useScope:i(),scopeName:i.scopeName}));return function(s){const o=r.reduce((a,{useScope:l,scopeName:u})=>{const d=l(s)[`__scope${u}`];return{...a,...d}},{});return w.useMemo(()=>({[`__scope${t.scopeName}`]:o}),[o])}};return n.scopeName=t.scopeName,n}function Al(e){const t=FT(e),n=w.forwardRef((r,i)=>{const{children:s,...o}=r,a=w.Children.toArray(s),l=a.find(BT);if(l){const u=l.props.children,c=a.map(d=>d===l?w.Children.count(u)>1?w.Children.only(null):w.isValidElement(u)?u.props.children:null:d);return b.jsx(t,{...o,ref:i,children:w.isValidElement(u)?w.cloneElement(u,void 0,c):null})}return b.jsx(t,{...o,ref:i,children:s})});return n.displayName=`${e}.Slot`,n}var zT=Al("Slot");function FT(e){const t=w.forwardRef((n,r)=>{const{children:i,...s}=n;
vendor: 9,475 bytes, line 41
41if(w.isValidElement(i)){const o=UT(i),a=$T(s,i.props);return i.type!==w.Fragment&&(a.ref=r?Gw(r,o):o),w.cloneElement(i,a)}return w.Children.count(i)>1?w.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}var qw=Symbol("radix.slottable");function VT(e){const t=({children:n})=>b.jsx(b.Fragment,{children:n});return t.displayName=`${e}.Slottable`,t.__radixId=qw,t}function BT(e){return w.isValidElement(e)&&typeof e.type=="function"&&"__radixId"in e.type&&e.type.__radixId===qw}function $T(e,t){const n={...t};for(const r in t){const i=e[r],s=t[r];/^on[A-Z]/.test(r)?i&&s?n[r]=(...a)=>{const l=s(...a);return i(...a),l}:i&&(n[r]=i):r==="style"?n[r]={...i,...s}:r==="className"&&(n[r]=[i,s].filter(Boolean).join(" "))}return{...e,...n}}function UT(e){var r,i;let t=(r=Object.getOwnPropertyDescriptor(e.props,"ref"))==null?void 0:r.get,n=t&&"isReactWarning"in t&&t.isReactWarning;return n?e.ref:(t=(i=Object.getOwnPropertyDescriptor(e,"ref"))==null?void 0:i.get,n=t&&"isReactWarning"in t&&t.isReactWarning,n?e.props.ref:e.props.ref||e.ref)}function WT(e){const t=e+"CollectionProvider",[n,r]=fu(t),[i,s]=n(t,{collectionRef:{current:null},itemMap:new Map}),o=g=>{const{scope:x,children:h}=g,m=L.useRef(null),v=L.useRef(new Map).current;return b.jsx(i,{scope:x,itemMap:v,collectionRef:m,children:h})};o.displayName=t;const a=e+"CollectionSlot",l=Al(a),u=L.forwardRef((g,x)=>{const{scope:h,children:m}=g,v=s(a,h),S=Ut(x,v.collectionRef);return b.jsx(l,{ref:S,children:m})});u.displayName=a;const c=e+"CollectionItemSlot",d="data-radix-collection-item",f=Al(c),p=L.forwardRef((g,x)=>{const{scope:h,children:m,...v}=g,S=L.useRef(null),C=Ut(x,S),E=s(c,h);return L.useEffect(()=>(E.itemMap.set(S,{ref:S,...v}),()=>void E.itemMap.delete(S))),b.jsx(f,{[d]:"",ref:C,children:m})});p.displayName=c;function y(g){const x=s(e+"CollectionConsumer",g);return L.useCallback(()=>{const m=x.collectionRef.current;if(!m)return[];const v=Array.from(m.querySelectorAll(`[${d}]`));return Array.from(x.itemMap.values()).sort((E,T)=>v.indexOf(E.ref.current)-v.indexOf(T.ref.current))},[x.collectionRef,x.itemMap])}return[{Provider:o,Slot:u,ItemSlot:p},y,r]}var HT=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],st=HT.reduce((e,t)=>{const n=Al(`Primitive.${t}`),r=w.forwardRef((i,s)=>{const{asChild:o,...a}=i,l=o?n:t;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),b.jsx(l,{...a,ref:s})});return r.displayName=`Primitive.${t}`,{...e,[t]:r}},{});function Yw(e,t){e&&Wo.flushSync(()=>e.dispatchEvent(t))}function dr(e){const t=w.useRef(e);return w.useEffect(()=>{t.current=e}),w.useMemo(()=>(...n)=>{var r;return(r=t.current)==null?void 0:r.call(t,...n)},[])}function KT(e,t=globalThis==null?void 0:globalThis.document){const n=dr(e);w.useEffect(()=>{const r=i=>{i.key==="Escape"&&n(i)};return t.addEventListener("keydown",r,{capture:!0}),()=>t.removeEventListener("keydown",r,{capture:!0})},[n,t])}var GT="DismissableLayer",Wd="dismissableLayer.update",qT="dismissableLayer.pointerDownOutside",YT="dismissableLayer.focusOutside",rg,Qw=w.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),Op=w.forwardRef((e,t)=>{const{disableOutsidePointerEvents:n=!1,onEscapeKeyDown:r,onPointerDownOutside:i,onFocusOutside:s,onInteractOutside:o,onDismiss:a,...l}=e,u=w.useContext(Qw),[c,d]=w.useState(null),f=(c==null?void 0:c.ownerDocument)??(globalThis==null?void 0:globalThis.document),[,p]=w.useState({}),y=Ut(t,T=>d(T)),g=Array.from(u.layers),[x]=[...u.layersWithOutsidePointerEventsDisabled].slice(-1),h=g.indexOf(x),m=c?g.indexOf(c):-1,v=u.layersWithOutsidePointerEventsDisabled.size>0,S=m>=h,C=XT(T=>{const P=T.target,R=[...u.branches].some(k=>k.contains(P));!S||R||(i==null||i(T),o==null||o(T),T.defaultPrevented||a==null||a())},f),E=ZT(T=>{const P=T.target;[...u.branches].some(k=>k.contains(P))||(s==null||s(T),o==null||o(T),T.defaultPrevented||a==null||a())},f);return KT(T=>{m===u.layers.size-1&&(r==null||r(T),!T.defaultPrevented&&a&&(T.preventDefault(),a()))},f),w.useEffect(()=>{if(c)return n&&(u.layersWithOutsidePointerEventsDisabled.size===0&&(rg=f.body.style.pointerEvents,f.body.style.pointerEvents="none"),u.layersWithOutsidePointerEventsDisabled.add(c)),u.layers.add(c),ig(),()=>{n&&u.layersWithOutsidePointerEventsDisabled.size===1&&(f.body.style.pointerEvents=rg)}},[c,f,n,u]),w.useEffect(()=>()=>{c&&(u.layers.delete(c),u.layersWithOutsidePointerEventsDisabled.delete(c),ig())},[c,u]),w.useEffect(()=>{const T=()=>p({});return document.addEventListener(Wd,T),()=>document.removeEventListener(Wd,T)},[]),b.jsx(st.div,{...l,ref:y,style:{pointerEvents:v?S?"auto":"none":void 0,...e.style},onFocusCapture:Ee(e.onFocusCapture,E.onFocusCapture),onBlurCapture:Ee(e.onBlurCapture,E.onBlurCapture),onPointerDownCapture:Ee(e.onPointerDownCapture,C.onPointerDownCapture)})});Op.displayName=GT;var QT="DismissableLayerBranch",Xw=w.forwardRef((e,t)=>{const n=w.useContext(Qw),r=w.useRef(null),i=Ut(t,r);return w.useEffect(()=>{const s=r.current;if(s)return n.branches.add(s),()=>{n.branches.delete(s)}},[n.branches]),b.jsx(st.div,{...e,ref:i})});Xw.displayName=QT;function XT(e,t=globalThis==null?void 0:globalThis.document){const n=dr(e),r=w.useRef(!1),i=w.useRef(()=>{});return w.useEffect(()=>{const s=a=>{if(a.target&&!r.current){let l=function(){Zw(qT,n,u,{discrete:!0})};const u={originalEvent:a};a.pointerType==="touch"?(t.removeEventListener("click",i.current),i.current=l,t.addEventListener("click",i.current,{once:!0})):l()}else t.removeEventListener("click",i.current);r.current=!1},o=window.setTimeout(()=>{t.addEventListener("pointerdown",s)},0);return()=>{window.clearTimeout(o),t.removeEventListener("pointerdown",s),t.removeEventListener("click",i.current)}},[t,n]),{onPointerDownCapture:()=>r.current=!0}}function ZT(e,t=globalThis==null?void 0:globalThis.document){const n=dr(e),r=w.useRef(!1);return w.useEffect(()=>{const i=s=>{s.target&&!r.current&&Zw(YT,n,{originalEvent:s},{discrete:!1})};return t.addEventListener("focusin",i),()=>t.removeEventListener("focusin",i)},[t,n]),{onFocusCapture:()=>r.current=!0,onBlurCapture:()=>r.current=!1}}function ig(){const e=new CustomEvent(Wd);document.dispatchEvent(e)}function Zw(e,t,n,{discrete:r}){const i=n.originalEvent.target,s=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:n});t&&i.addEventListener(e,t,{once:!0}),r?Yw(i,s):i.dispatchEvent(s)}var JT=Op,eP=Xw,fr=globalThis!=null&&globalThis.document?w.useLayoutEffect:()=>{},tP="Portal",Jw=w.forwardRef((e,t)=>{var a;const{container:n,...r}=e,[i,s]=w.useState(!1);fr(()=>s(!0),[]);const o=n||i&&((a=globalThis==null?void 0:globalThis.document)==null?void 0:a.body);return o?zw.createPortal(b.jsx(st.div,{...r,ref:t}),o):null});Jw.displayName=tP;function nP(e,t){return w.useReducer((n,r)=>t[n][r]??n,e)}var Ip=e=>{const{present:t,children:n}=e,r=rP(t),i=typeof n=="function"?n({present:r.isPresent}):w.Children.only(n),s=Ut(r.ref,iP(i));return typeof n=="function"||r.isPresent?w.cloneElement(i,{ref:s}):null};Ip.displayName="Presence";function rP(e){const[t,n]=w.useState(),r=w.useRef(null),i=w.useRef(e),s=w.useRef("none"),o=e?"mounted":"unmounted",[a,l]=nP(o,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return w.useEffect(()=>{const u=xa(r.current);s.current=a==="mounted"?u:"none"},[a]),fr(()=>{const u=r.current,c=i.current;if(c!==e){const f=s.current,p=xa(u);e?l("MOUNT"):p==="none"||(u==null?void 0:u.display)==="none"?l("UNMOUNT"):l(c&&f!==p?"ANIMATION_OUT":"UNMOUNT"),i.current=e}},[e,l]),fr(()=>{if(t){let u;const c=t.ownerDocument.defaultView??window,d=p=>{const g=xa(r.current).includes(p.animationName);if(p.target===t&&g&&(l("ANIMATION_END"),!i.current)){const x=t.style.animationFillMode;t.style.animationFillMode="forwards",u=c.setTimeout(()=>{t.style.animationFillMode==="forwards"&&(t.style.animationFillMode=x)})}},f=p=>{p.target===t&&(s.current=xa(r.current))};return t.addEventListener("animationstart",f),t.addEventListener("animationcancel",d),t.addEventListener("animationend",d),()=>{c.clearTimeout(u),t.removeEventListener("animationstart",f),t.removeEventListener("animationcancel",d),t.removeEventListener("animationend",d)}}else l("ANIMATION_END")},[t,l]),{isPresent:["mounted","unmountSuspended"].includes(a),ref:w.useCallback(u=>{r.current=u?getComputedStyle(u):null,n(u)},[])}}function xa(e){return(e==null?void 0:e.animationName)||"none"}function iP(e){var r,i;let t=(r=Object.getOwnPropertyDescriptor(e.props,"ref"))==null?void 0:r.get,n=t&&"isReactWarning"in t&&t.isReactWarning;return n?e.ref:(t=(i=Object.getOwnPropertyDescriptor(e,"ref"))==null?void 0:i.get,n=t&&"isReactWarning"in t&&t.isReactWarning,n?e.props.ref:e.props.ref||e.ref)}var sP=Iv[" useInsertionEffect ".trim().toString()]||fr;function oP({prop:e,defaultProp:t,onChange:n=()=>{},caller:r}){const[i,s,o]=aP({defaultProp:t,onChange:n}),a=e!==void 0,l=a?e:i;{const c=w.useRef(e!==void 0);w.useEffect(()=>{const d=c.current;d!==a&&console.warn(`${r} is changing from ${d?"controlled":"uncontrolled"} to ${a?"controlled":"uncontrolled"}. Components should not switch from controlled to uncontrolled (or vice versa). Decide between using a controlled or uncontrolled value for the lifetime of the component.`),c.current=a},[a,r])}const u=w.useCallback(c=>{var d;if(a){const f=lP(c)?c(e):c;f!==e&&((d=o.current)==null||d.call(o,f))}else s(c)}
41,[a,e,s,o]);return[l,u]}function aP({defaultProp:e,onChange:t}){const[n,r]=w.useState(e),i=w.useRef(n),s=w.useRef(t);return sP(()=>{s.current=t},[t]),w.useEffect(()=>{var o;i.current!==n&&((o=s.current)==null||o.call(s,n),i.current=n)},[n,i]),[n,r,s]}function lP(e){return typeof e=="function"}var uP=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"}),cP="VisuallyHidden",pu=w.forwardRef((e,t)=>b.jsx(st.span,{...e,ref:t,style:{...uP,...e.style}}));pu.displayName=cP;var dP=pu,jp="ToastProvider",[_p,fP,pP]=WT("Toast"),[ex,Ij]=fu("Toast",[pP]),[hP,hu]=ex(jp),tx=e=>{const{__scopeToast:t,label:n="Notification",duration:r=5e3,swipeDirection:i="right",swipeThreshold:s=50,children:o}=e,[a,l]=w.useState(null),[u,c]=w.useState(0),d=w.useRef(!1),f=w.useRef(!1);return n.trim()||console.error(`Invalid prop \`label\` supplied to \`${jp}\`. Expected non-empty \`string\`.`),b.jsx(_p.Provider,{scope:t,children:b.jsx(hP,{scope:t,label:n,duration:r,swipeDirection:i,swipeThreshold:s,toastCount:u,viewport:a,onViewportChange:l,onToastAdd:w.useCallback(()=>c(p=>p+1),[]),onToastRemove:w.useCallback(()=>c(p=>p-1),[]),isFocusedToastEscapeKeyDownRef:d,isClosePausedRef:f,children:o})})};tx.displayName=jp;var nx="ToastViewport",mP=["F8"],Hd="toast.viewportPause",Kd="toast.viewportResume",rx=w.forwardRef((e,t)=>{const{__scopeToast:n,hotkey:r=mP,label:i="Notifications ({hotkey})",...s}=e,o=hu(nx,n),a=fP(n),l=w.useRef(null),u=w.useRef(null),c=w.useRef(null),d=w.useRef(null),f=Ut(t,d,o.onViewportChange),p=r.join("+").replace(/Key/g,"").replace(/Digit/g,""),y=o.toastCount>0;w.useEffect(()=>{const x=h=>{var v;r.length!==0&&r.every(S=>h[S]||h.code===S)&&((v=d.current)==null||v.focus())};return document.addEventListener("keydown",x),()=>document.removeEventListener("keydown",x)},[r]),w.useEffect(()=>{const x=l.current,h=d.current;if(y&&x&&h){const m=()=>{if(!o.isClosePausedRef.current){const E=new CustomEvent(Hd);h.dispatchEvent(E),o.isClosePausedRef.current=!0}},v=()=>{if(o.isClosePausedRef.current){const E=new CustomEvent(Kd);h.dispatchEvent(E),o.isClosePausedRef.current=!1}},S=E=>{!x.contains(E.relatedTarget)&&v()},C=()=>{x.contains(document.activeElement)||v()};return x.addEventListener("focusin",m),x.addEventListener("focusout",S),x.addEventListener("pointermove",m),x.addEventListener("pointerleave",C),window.addEventListener("blur",m),window.addEventListener("focus",v),()=>{x.removeEventListener("focusin",m),x.removeEventListener("focusout",S),x.removeEventListener("pointermove",m),x.removeEventListener("pointerleave",C),window.removeEventListener("blur",m),window.removeEventListener("focus",v)}}},[y,o.isClosePausedRef]);const g=w.useCallback(({tabbingDirection:x})=>{const m=a().map(v=>{const S=v.ref.current,C=[S,...AP(S)];return x==="forwards"?C:C.reverse()});return(x==="forwards"?m.reverse():m).flat()},[a]);return w.useEffect(()=>{const x=d.current;if(x){const h=m=>{var C,E,T;const v=m.altKey||m.ctrlKey||m.metaKey;if(m.key==="Tab"&&!v){const P=document.activeElement,R=m.shiftKey;if(m.target===x&&R){(C=u.current)==null||C.focus();return}const I=g({tabbingDirection:R?"backwards":"forwards"}),U=I.findIndex(O=>O===P);wc(I.slice(U+1))?m.preventDefault():R?(E=u.current)==null||E.focus():(T=c.current)==null||T.focus()}};return x.addEventListener("keydown",h),()=>x.removeEventListener("keydown",h)}},[a,g]),b.jsxs(eP,{ref:l,role:"region","aria-label":i.replace("{hotkey}",p),tabIndex:-1,style:{pointerEvents:y?void 0:"none"},children:[y&&b.jsx(Gd,{ref:u,onFocusFromOutsideViewport:()=>{const x=g({tabbingDirection:"forwards"});wc(x)}}),b.jsx(_p.Slot,{scope:n,children:b.jsx(st.ol,{tabIndex:-1,...s,ref:f})}),y&&b.jsx(Gd,{ref:c,onFocusFromOutsideViewport:()=>{const x=g({tabbingDirection:"backwards"});wc(x)}})]})});rx.displayName=nx;var ix="ToastFocusProxy",Gd=w.forwardRef((e,t)=>{const{__scopeToast:n,onFocusFromOutsideViewport:r,...i}=e,s=hu(ix,n);return b.jsx(pu,{"aria-hidden":!0,tabIndex:0,...i,ref:t,style:{position:"fixed"},onFocus:o=>{var u;const a=o.relatedTarget;!((u=s.viewport)!=null&&u.contains(a))&&r()}})});Gd.displayName=ix;var Ho="Toast",gP="toast.swipeStart",yP="toast.swipeMove",vP="toast.swipeCancel",wP="toast.swipeEnd",sx=w.forwardRef((e,t)=>
41{const{forceMount:n,open:r,defaultOpen:i,onOpenChange:s,...o}=e,[a,l]=oP({prop:r,defaultProp:i??!0,onChange:s,caller:Ho});return b.jsx(Ip,{present:n||a,children:b.jsx(SP,{open:a,...o,ref:t,onClose:()=>l(!1),onPause:dr(e.onPause),onResume:dr(e.onResume),onSwipeStart:Ee(e.onSwipeStart,u=>{u.currentTarget.setAttribute("data-swipe","start")}),onSwipeMove:Ee(e.onSwipeMove,u=>{const{x:c,y:d}=u.detail.delta;u.currentTarget.setAttribute("data-swipe","move"),u.currentTarget.style.setProperty("--radix-toast-swipe-move-x",`${c}px`),u.currentTarget.style.setProperty("--radix-toast-swipe-move-y",`${d}px`)}),onSwipeCancel:Ee(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:Ee(e.onSwipeEnd,u=>{const{x:c,y:d}=u.detail.delta;u.currentTarget.setAttribute("data-swipe","end"),u.currentTarget.style.removeProperty("--radix-toast-swipe-move-x"),u.currentTarget.style.removeProperty("--radix-toast-swipe-move-y"),u.currentTarget.style.setProperty("--radix-toast-swipe-end-x",`${c}px`),u.currentTarget.style.setProperty("--radix-toast-swipe-end-y",`${d}px`),l(!1)})})})});sx.displayName=Ho;var[xP,bP]=ex(Ho,{onClose(){}}),SP=w.forwardRef((e,t)=>{const{__scopeToast:n,type:r="foreground",duration:i,open:s,onClose:o,onEscapeKeyDown:a,onPause:l,onResume:u,onSwipeStart:c,onSwipeMove:d,onSwipeCancel:f,onSwipeEnd:p,...y}=e,g=hu(Ho,n),[x,h]=w.useState(null),m=Ut(t,O=>h(O)),v=w.useRef(null),S=w.useRef(null),C=i||g.duration,E=w.useRef(0),T=w.useRef(C),P=w.useRef(0),{onToastAdd:R,onToastRemove:k}=g,_=dr(()=>{var W;(x==null?void 0:x.contains(document.activeElement))&&((W=g.viewport)==null||W.focus()),o()}),I=w.useCallback(O=>{!O||O===1/0||(window.clearTimeout(P.current),E.current=new Date().getTime(),P.current=window.setTimeout(_,O))},[_]);w.useEffect(()=>{const O=g.viewport;if(O){const W=()=>{I(T.current),u==null||u()},V=()=>{const G=new Date().getTime()-E.current;T.current=T.current-G,window.clearTimeout(P.current),l==null||l()};return O.addEventListener(Hd,V),O.addEventListener(Kd,W),()=>{O.removeEventListener(Hd,V),O.removeEventListener(Kd,W)}}},[g.viewport,C,l,u,I]),w.useEffect(()=>{s&&!g.isClosePausedRef.current&&I(C)},[s,C,g.isClosePausedRef,I]),w.useEffect(()=>(R(),()=>k()),[R,k]);const U=w.useMemo(()=>x?fx(x):null,[x]);return g.viewport?b.jsxs(b.Fragment,{children:[U&&b.jsx(CP,{__scopeToast:n,role:"status","aria-live":r==="foreground"?"assertive":"polite","aria-atomic":!0,children:U}),b.jsx(xP,{scope:n,onClose:_,children:Wo.createPortal(b.jsx(_p.ItemSlot,{scope:n,children:b.jsx(JT,{asChild:!0,onEscapeKeyDown:Ee(a,()=>{g.isFocusedToastEscapeKeyDownRef.current||_(),g.isFocusedToastEscapeKeyDownRef.current=!1}),children:b.jsx(st.li,{role:"status","aria-live":"off","aria-atomic":!0,tabIndex:0,"data-state":s?"open":"closed","data-swipe-direction":g.swipeDirection,...y,ref:m,style:{userSelect:"none",touchAction:"none",...e.style},onKeyDown:Ee(e.onKeyDown,O=>{O.key==="Escape"&&(a==null||a(O.nativeEvent),O.nativeEvent.defaultPrevented||(g.isFocusedToastEscapeKeyDownRef.current=!0,_()))}),onPointerDown:Ee(e.onPointerDown,O=>{O.button===0&&(v.current={x:O.clientX,y:O.clientY})}),onPointerMove:Ee(e.onPointerMove,O=>{if(!v.current)return;const W=O.clientX-v.current.x,V=O.clientY-v.current.y,G=!!S.current,A=["left","right"].includes(g.swipeDirection),N=["left","up"].includes(g.swipeDirection)?Math.min:Math.max,j=A?N(0,W):0,$=A?0:N(0,V),B=O.pointerType==="touch"?10:2,Y={x:j,y:$},X={originalEvent:O,delta:Y};G?(S.current=Y,ba(yP,d,X,{discrete:!1})):sg(Y,g.swipeDirection,B)?(S.current=Y,ba(gP,c,X,{discrete:!1}),O.target.setPointerCapture(O.pointerId)):(Math.abs(W)>B||Math.abs(V)>B)&&(v.current=null)}),onPointerUp:Ee(e.onPointerUp,O=>{const W=S.current,V=O.target;if(V.hasPointerCapture(O.pointerId)&&V.releasePointerCapture(O.pointerId),S.current=null,v.current=null,W){const G=O.currentTarget,A={originalEvent:O,delta:W};sg(W,g.swipeDirection,g.swipeThreshold)?ba(wP,p,A,{discrete:!0}):ba(vP,f,A,{discrete:!0}),G.addEventListener("click",N=>N.preventDefault(),{once:!0})}})})})}),g.viewport)})]}):null}),CP=e=>{const{__scopeToast:t,children:n,...r}=e,i=hu(Ho,t),[s,o]=w.useState(!1),[a,l]=w.useState(!1);return PP(()=>
41o(!0)),w.useEffect(()=>{const u=window.setTimeout(()=>l(!0),1e3);return()=>window.clearTimeout(u)},[]),a?null:b.jsx(Jw,{asChild:!0,children:b.jsx(pu,{...r,children:s&&b.jsxs(b.Fragment,{children:[i.label," ",n]})})})},EP="ToastTitle",ox=w.forwardRef((e,t)=>{const{__scopeToast:n,...r}=e;return b.jsx(st.div,{...r,ref:t})});ox.displayName=EP;var TP="ToastDescription",ax=w.forwardRef((e,t)=>{const{__scopeToast:n,...r}=e;return b.jsx(st.div,{...r,ref:t})});ax.displayName=TP;var lx="ToastAction",ux=w.forwardRef((e,t)=>{const{altText:n,...r}=e;return n.trim()?b.jsx(dx,{altText:n,asChild:!0,children:b.jsx(zp,{...r,ref:t})}):(console.error(`Invalid prop \`altText\` supplied to \`${lx}\`. Expected non-empty \`string\`.`),null)});ux.displayName=lx;var cx="ToastClose",zp=w.forwardRef((e,t)=>{const{__scopeToast:n,...r}=e,i=bP(cx,n);return b.jsx(dx,{asChild:!0,children:b.jsx(st.button,{type:"button",...r,ref:t,onClick:Ee(e.onClick,i.onClose)})})});zp.displayName=cx;var dx=w.forwardRef((e,t)=>{const{__scopeToast:n,altText:r,...i}=e;return b.jsx(st.div,{"data-radix-toast-announce-exclude":"","data-radix-toast-announce-alt":r||void 0,...i,ref:t})});function fx(e){const t=[];return Array.from(e.childNodes).forEach(r=>{if(r.nodeType===r.TEXT_NODE&&r.textContent&&t.push(r.textContent),kP(r)){const i=r.ariaHidden||r.hidden||r.style.display==="none",s=r.dataset.radixToastAnnounceExclude==="";if(!i)if(s){const o=r.dataset.radixToastAnnounceAlt;o&&t.push(o)}else t.push(...fx(r))}}),t}function ba(e,t,n,{discrete:r}){const i=n.originalEvent.currentTarget,s=new CustomEvent(e,{bubbles:!0,cancelable:!0,detail:n});t&&i.addEventListener(e,t,{once:!0}),r?Yw(i,s):i.dispatchEvent(s)}var sg=(e,t,n=0)=>{const r=Math.abs(e.x),i=Math.abs(e.y),s=r>i;return t==="left"||t==="right"?s&&r>n:!s&&i>n};function PP(e=()=>{}){const t=dr(e);fr(()=>{let n=0,r=0;return n=window.requestAnimationFrame(()=>r=window.requestAnimationFrame(t)),()=>{window.cancelAnimationFrame(n),window.cancelAnimationFrame(r)}},[t])}function kP(e){return e.nodeType===e.ELEMENT_NODE}function AP(e){const t=[],n=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:r=>{const i=r.tagName==="INPUT"&&r.type==="hidden";return r.disabled||r.hidden||i?NodeFilter.FILTER_SKIP:r.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;n.nextNode();)t.push(n.currentNode);return t}function wc(e){const t=document.activeElement;return e.some(n=>n===t?!0:(n.focus(),document.activeElement!==t))}var RP=tx,px=rx,hx=sx,mx=ox,gx=ax,yx=ux,vx=zp;function wx(e){var t,n,r="";if(typeof e=="string"||typeof e=="number")r+=e;else if(typeof e=="object")if(Array.isArray(e)){var i=e.length;for(t=0;t<i;t++)e[t]&&(n=wx(e[t]))&&(r&&(r+=" "),r+=n)}else for(n in e)e[n]&&(r&&(r+=" "),r+=n);return r}function xx(){for(var e,t,n=0,r="",i=arguments.length;n<i;n++)(e=arguments[n])&&(t=wx(e))&&(r&&(r+=" "),r+=t);return r}const og=e=>typeof e=="boolean"?`${e}`:e===0?"0":e,ag=xx,bx=(e,t)=>n=>{var r;if((t==null?void 0:t.variants)==null)return ag(e,n==null?void 0:n.class,n==null?void 0:n.className);const{variants:i,defaultVariants:s}=t,o=Object.keys(i).map(u=>{const c=n==null?void 0:n[u],d=s==null?void 0:s[u];if(c===null)return null;const f=og(c)||og(d);return i[u][f]}),a=n&&Object.entries(n).reduce((u,c)=>{let[d,f]=c;return f===void 0||(u[d]=f),u},{}),l=t==null||(r=t.compoundVariants)===null||r===void 0?void 0:r.reduce((u,c)=>{let{class:d,className:f,...p}=c;return Object.entries(p).every(y=>{let[g,x]=y;return Array.isArray(x)?x.includes({...s,...a}[g]):{...s,...a}[g]===x})?[...u,d,f]:u},[]);return ag(e,o,l,n==null?void 0:n.class,n==null?void 0:n.className)};/** 42 * @license lucide-react v0.462.0 - ISC 43 * 44 * This source code is licensed under the ISC license. 45 * See the LICENSE file in the root directory of this source tree. 46 */const NP=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),Sx=(...e)=>e.filter((t,n,r)=>!!t&&t.trim()!==""&&r.indexOf(t)===n).join(" ").trim();/** 47 * @license lucide-react v0.462.0 - ISC 48 * 49 * This source code is licensed under the ISC license. 50 * See the LICENSE file in the root directory of this source tree. 51 */var MP={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"};/** 52 * @license lucide-react v0.462.0 - ISC 53 * 54 * This source code is licensed under the ISC license. 55 * See the LICENSE file in the root directory of this source tree. 56 */const LP=w.forwardRef(({color:e="currentColor",size:t=24,strokeWidth:n=2,absoluteStrokeWidth:r,className:i="",children:s,iconNode:o,...a},l)=>w.createElement("svg",{ref:l,...MP,width:t,height:t,stroke:e,strokeWidth:r?Number(n)*24/Number(t):n,className:Sx("lucide",i),...a},[...o.map(([u,c])=>w.createElement(u,c)),...Array.isArray(s)?s:[s]]));/** 57 * @license lucide-react v0.462.0 - ISC 58 * 59 * This source code is licensed under the ISC license. 60 * See the LICENSE file in the root directory of this source tree. 61 */const an=(e,t)=>{const n=w.forwardRef(({className:r,...i},s)=>w.createElement(LP,{ref:s,iconNode:t,className:Sx(`lucide-${NP(e)}`,r),...i}));return n.displayName=`${e}`,n};/** 62 * @license lucide-react v0.462.0 - ISC 63 * 64 * This source code is licensed under the ISC license. 65 * See the LICENSE file in the root directory of this source tree. 66 */const Cx=an("CalendarDays",[["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"}],["path",{d:"M8 14h.01",key:"6423bh"}],["path",{d:"M12 14h.01",key:"1etili"}],["path",{d:"M16 14h.01",key:"1gbofw"}],["path",{d:"M8 18h.01",key:"lrp35t"}],["path",{d:"M12 18h.01",key:"mhygvu"}],["path",{d:"M16 18h.01",key:"kzsmim"}]]);/** 67 * @license lucide-react v0.462.0 - ISC 68 * 69 * This source code is licensed under the ISC license. 70 * See the LICENSE file in the root directory of this source tree. 71 */const qd=an("ChevronDown",[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]]);/** 72 * @license lucide-react v0.462.0 - ISC 73 * 74 * This source code is licensed under the ISC license. 75 * See the LICENSE file in the root directory of this source tree. 76 */const DP=an("ChevronRight",[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]]);/** 77 * @license lucide-react v0.462.0 - ISC 78 * 79 * This source code is licensed under the ISC license. 80 * See the LICENSE file in the root directory of this source tree. 81 */const OP=an("ChevronUp",[["path",{d:"m18 15-6-6-6 6",key:"153udz"}]]);/** 82 * @license lucide-react v0.462.0 - ISC 83 * 84 * This source code is licensed under the ISC license. 85 * See the LICENSE file in the root directory of this source tree. 86 */const IP=an("Cookie",[["path",{d:"M12 2a10 10 0 1 0 10 10 4 4 0 0 1-5-5 4 4 0 0 1-5-5",key:"laymnq"}],["path",{d:"M8.5 8.5v.01",key:"ue8clq"}],["path",{d:"M16 15.5v.01",key:"14dtrp"}],["path",{d:"M12 12v.01",key:"u5ubse"}],["path",{d:"M11 17v.01",key:"1hyl5a"}],["path",{d:"M7 14v.01",key:"uct60s"}]]);/** 87 * @license lucide-react v0.462.0 - ISC 88 * 89 * This source code is licensed under the ISC license. 90 * See the LICENSE file in the root directory of this source tree. 91 */const lg=an("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"}]]);/** 92 * @license lucide-react v0.462.0 - ISC 93 * 94 * This source code is licensed under the ISC license. 95 * See the LICENSE file in the root directory of this source tree. 96 */const jP=an("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"}]]);/** 97 * @license lucide-react v0.462.0 - ISC 98 * 99 * This source code is licensed under the ISC license. 100 * See the LICENSE file in the root directory of this source tree. 101 */const _P=an("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"}]]);/** 102 * @license lucide-react v0.462.0 - ISC 103 * 104 * This source code is licensed under the ISC license. 105 * See the LICENSE file in the root directory of this source tree. 106 */const zP=an("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"}]]);/** 107 * @license lucide-react v0.462.0 - ISC 108 * 109 * This source code is licensed under the ISC license. 110 * See the LICENSE file in the root directory of this source tree. 111 */const Yd=an("X",[["path",{d:"M18 6 6 18",key:"1bl5f8"}
vendor: 5,361 bytes, line 111
111],["path",{d:"m6 6 12 12",key:"d8bk6v"}]]),Fp="-",FP=e=>{const t=BP(e),{conflictingClassGroups:n,conflictingClassGroupModifiers:r}=e;return{getClassGroupId:o=>{const a=o.split(Fp);return a[0]===""&&a.length!==1&&a.shift(),Ex(a,t)||VP(o)},getConflictingClassGroupIds:(o,a)=>{const l=n[o]||[];return a&&r[o]?[...l,...r[o]]:l}}},Ex=(e,t)=>{var o;if(e.length===0)return t.classGroupId;const n=e[0],r=t.nextPart.get(n),i=r?Ex(e.slice(1),r):void 0;if(i)return i;if(t.validators.length===0)return;const s=e.join(Fp);return(o=t.validators.find(({validator:a})=>a(s)))==null?void 0:o.classGroupId},ug=/^\[(.+)\]$/,VP=e=>{if(ug.test(e)){const t=ug.exec(e)[1],n=t==null?void 0:t.substring(0,t.indexOf(":"));if(n)return"arbitrary.."+n}},BP=e=>{const{theme:t,prefix:n}=e,r={nextPart:new Map,validators:[]};return UP(Object.entries(e.classGroups),n).forEach(([s,o])=>{Qd(o,r,s,t)}),r},Qd=(e,t,n,r)=>{e.forEach(i=>{if(typeof i=="string"){const s=i===""?t:cg(t,i);s.classGroupId=n;return}if(typeof i=="function"){if($P(i)){Qd(i(r),t,n,r);return}t.validators.push({validator:i,classGroupId:n});return}Object.entries(i).forEach(([s,o])=>{Qd(o,cg(t,s),n,r)})})},cg=(e,t)=>{let n=e;return t.split(Fp).forEach(r=>{n.nextPart.has(r)||n.nextPart.set(r,{nextPart:new Map,validators:[]}),n=n.nextPart.get(r)}),n},$P=e=>e.isThemeGetter,UP=(e,t)=>t?e.map(([n,r])=>{const i=r.map(s=>typeof s=="string"?t+s:typeof s=="object"?Object.fromEntries(Object.entries(s).map(([o,a])=>[t+o,a])):s);return[n,i]}):e,WP=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,n=new Map,r=new Map;const i=(s,o)=>{n.set(s,o),t++,t>e&&(t=0,r=n,n=new Map)};return{get(s){let o=n.get(s);if(o!==void 0)return o;if((o=r.get(s))!==void 0)return i(s,o),o},set(s,o){n.has(s)?n.set(s,o):i(s,o)}}},Tx="!",HP=e=>{const{separator:t,experimentalParseClassName:n}=e,r=t.length===1,i=t[0],s=t.length,o=a=>{const l=[];let u=0,c=0,d;for(let x=0;x<a.length;x++){let h=a[x];if(u===0){if(h===i&&(r||a.slice(x,x+s)===t)){l.push(a.slice(c,x)),c=x+s;continue}if(h==="/"){d=x;continue}}h==="["?u++:h==="]"&&u--}const f=l.length===0?a:a.substring(c),p=f.startsWith(Tx),y=p?f.substring(1):f,g=d&&d>c?d-c:void 0;return{modifiers:l,hasImportantModifier:p,baseClassName:y,maybePostfixModifierPosition:g}};return n?a=>n({className:a,parseClassName:o}):o},KP=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},GP=e=>({cache:WP(e.cacheSize),parseClassName:HP(e),...FP(e)}),qP=/\s+/,YP=(e,t)=>{const{parseClassName:n,getClassGroupId:r,getConflictingClassGroupIds:i}=t,s=[],o=e.trim().split(qP);let a="";for(let l=o.length-1;l>=0;l-=1){const u=o[l],{modifiers:c,hasImportantModifier:d,baseClassName:f,maybePostfixModifierPosition:p}=n(u);let y=!!p,g=r(y?f.substring(0,p):f);if(!g){if(!y){a=u+(a.length>0?" "+a:a);continue}if(g=r(f),!g){a=u+(a.length>0?" "+a:a);continue}y=!1}const x=KP(c).join(":"),h=d?x+Tx:x,m=h+g;if(s.includes(m))continue;s.push(m);const v=i(g,y);for(let S=0;S<v.length;++S){const C=v[S];s.push(h+C)}a=u+(a.length>0?" "+a:a)}return a};function QP(){let e=0,t,n,r="";for(;e<arguments.length;)(t=arguments[e++])&&(n=Px(t))&&(r&&(r+=" "),r+=n);return r}const Px=e=>{if(typeof e=="string")return e;let t,n="";for(let r=0;r<e.length;r++)e[r]&&(t=Px(e[r]))&&(n&&(n+=" "),n+=t);return n};function XP(e,...t){let n,r,i,s=o;function o(l){const u=t.reduce((c,d)=>d(c),e());return n=GP(u),r=n.cache.get,i=n.cache.set,s=a,a(l)}function a(l){const u=r(l);if(u)return u;const c=YP(l,n);return i(l,c),c}return function(){return s(QP.apply(null,arguments))}}const oe=e=>{const t=n=>n[e]||[];return t.isThemeGetter=!0,t},kx=/^\[(?:([a-z-]+):)?(.+)\]$/i,ZP=/^\d+\/\d+$/,JP=new Set(["px","full","screen"]),ek=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,tk=/\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$/,nk=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,rk=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,ik=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,dn=e=>Bi(e)||JP.has(e)||ZP.test(e),_n=e=>hs(e,"length",fk),Bi=e=>!!e&&!Number.isNaN(Number(e)),xc=e=>hs(e,"number",Bi),_s=e=>!!e&&Number.isInteger(Number(e)),sk=e=>e.endsWith("%")&&Bi(e.slice(0,-1)),q=e=>kx.test(e),zn=e=>ek.test(e),ok=new Set(["length","size","percentage"]),ak=e=>hs(e,ok,Ax),lk=e=>hs(e,"position",Ax),uk=new Set(["image","url"]),ck=e=>hs(e,uk,hk),dk=e=>hs(e,"",pk),zs=()=>!0,hs=(e,t,n)=>{const r=kx.exec(e);return r?r[1]?typeof t=="string"?r[1]===t:t.has(r[1]):n(r[2]):!1},fk=e=>tk.test(e)&&!nk.test(e),Ax=()=>!1,pk=e=>rk.test(e),hk=e=>ik.test(e),mk=()=>{const e=oe("colors"),t=oe("spacing"),n=oe("blur"),r=oe("brightness"),i=oe("borderColor"),s=oe("borderRadius"),o=oe("borderSpacing"),a=oe("borderWidth"),l=oe("contrast"),u=oe("grayscale"),c=oe("hueRotate"),d=oe("invert"),f=oe("gap"),p=oe("gradientColorStops"),y=oe("gradientColorStopPositions"),g=oe("inset"),x=oe("margin"),h=oe("opacity"),m=oe("padding"),v=oe("saturate"),S=oe("scale"),C=oe("sepia"),E=oe("skew"),T=oe("space"),P=oe("translate"),R=()=>["auto","contain","none"],k=()=>["auto","hidden","clip","visible","scroll"],_=()=>["auto",q,t],I=()=>[q,t],U=()=>["",dn,_n],O=()=>["auto",Bi,q],W=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],
vendor: 12,034 bytes, line 111
111V=()=>["solid","dashed","dotted","double","none"],G=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],A=()=>["start","end","center","between","around","evenly","stretch"],N=()=>["","0",q],j=()=>["auto","avoid","all","avoid-page","page","left","right","column"],$=()=>[Bi,q];return{cacheSize:500,separator:":",theme:{colors:[zs],spacing:[dn,_n],blur:["none","",zn,q],brightness:$(),borderColor:[e],borderRadius:["none","","full",zn,q],borderSpacing:I(),borderWidth:U(),contrast:$(),grayscale:N(),hueRotate:$(),invert:N(),gap:I(),gradientColorStops:[e],gradientColorStopPositions:[sk,_n],inset:_(),margin:_(),opacity:$(),padding:I(),saturate:$(),scale:$(),sepia:N(),skew:$(),space:I(),translate:I()},classGroups:{aspect:[{aspect:["auto","square","video",q]}],container:["container"],columns:[{columns:[zn]}],"break-after":[{"break-after":j()}],"break-before":[{"break-before":j()}],"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:[...W(),q]}],overflow:[{overflow:k()}],"overflow-x":[{"overflow-x":k()}],"overflow-y":[{"overflow-y":k()}],overscroll:[{overscroll:R()}],"overscroll-x":[{"overscroll-x":R()}],"overscroll-y":[{"overscroll-y":R()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[g]}],"inset-x":[{"inset-x":[g]}],"inset-y":[{"inset-y":[g]}],start:[{start:[g]}],end:[{end:[g]}],top:[{top:[g]}],right:[{right:[g]}],bottom:[{bottom:[g]}],left:[{left:[g]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",_s,q]}],basis:[{basis:_()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",q]}],grow:[{grow:N()}],shrink:[{shrink:N()}],order:[{order:["first","last","none",_s,q]}],"grid-cols":[{"grid-cols":[zs]}],"col-start-end":[{col:["auto",{span:["full",_s,q]},q]}],"col-start":[{"col-start":O()}],"col-end":[{"col-end":O()}],"grid-rows":[{"grid-rows":[zs]}],"row-start-end":[{row:["auto",{span:[_s,q]},q]}],"row-start":[{"row-start":O()}],"row-end":[{"row-end":O()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",q]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",q]}],gap:[{gap:[f]}],"gap-x":[{"gap-x":[f]}],"gap-y":[{"gap-y":[f]}],"justify-content":[{justify:["normal",...A()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...A(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...A(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[m]}],px:[{px:[m]}],py:[{py:[m]}],ps:[{ps:[m]}],pe:[{pe:[m]}],pt:[{pt:[m]}],pr:[{pr:[m]}],pb:[{pb:[m]}],pl:[{pl:[m]}],m:[{m:[x]}],mx:[{mx:[x]}],my:[{my:[x]}],ms:[{ms:[x]}],me:[{me:[x]}],mt:[{mt:[x]}],mr:[{mr:[x]}],mb:[{mb:[x]}],ml:[{ml:[x]}],"space-x":[{"space-x":[T]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[T]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",q,t]}],"min-w":[{"min-w":[q,t,"min","max","fit"]}],"max-w":[{"max-w":[q,t,"none","full","min","max","fit","prose",{screen:[zn]},zn]}],h:[{h:[q,t,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[q,t,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[q,t,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[q,t,"auto","min","max","fit"]}],"font-size":[{text:["base",zn,_n]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",xc]}],"font-family":[{font:[zs]}],"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",q]}],"line-clamp":[{"line-clamp":["none",Bi,xc]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",dn,q]}],"list-image":[{"list-image":["none",q]}],"list-style-type":[{list:["none","disc","decimal",q]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[h]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[h]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...V(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",dn,_n]}],"underline-offset":[{"underline-offset":["auto",dn,q]}],"text-decoration-color":[{decoration:[e]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:I()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",q]}],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",q]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[h]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...W(),lk]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",ak]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},ck]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[y]}],"gradient-via-pos":[{via:[y]}],"gradient-to-pos":[{to:[y]}],"gradient-from":[{from:[p]}],"gradient-via":[{via:[p]}],"gradient-to":[{to:[p]}],rounded:[{rounded:[s]}],"rounded-s":[{"rounded-s":[s]}],"rounded-e":[{"rounded-e":[s]}],"rounded-t":[{"rounded-t":[s]}],"rounded-r":[{"rounded-r":[s]}],"rounded-b":[{"rounded-b":[s]}],"rounded-l":[{"rounded-l":[s]}],"rounded-ss":[{"rounded-ss":[s]}],"rounded-se":[{"rounded-se":[s]}],"rounded-ee":[{"rounded-ee":[s]}],"rounded-es":[{"rounded-es":[s]}],"rounded-tl":[{"rounded-tl":[s]}],"rounded-tr":[{"rounded-tr":[s]}],"rounded-br":[{"rounded-br":[s]}],"rounded-bl":[{"rounded-bl":[s]}],"border-w":[{border:[a]}],"border-w-x":[{"border-x":[a]}],"border-w-y":[{"border-y":[a]}],"border-w-s":[{"border-s":[a]}],"border-w-e":[{"border-e":[a]}],"border-w-t":[{"border-t":[a]}],"border-w-r":[{"border-r":[a]}],"border-w-b":[{"border-b":[a]}],"border-w-l":[{"border-l":[a]}],"border-opacity":[{"border-opacity":[h]}],"border-style":[{border:[...V(),"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":[h]}],"divide-style":[{divide:V()}],"border-color":[{border:[i]}],"border-color-x":[{"border-x":[i]}],"border-color-y":[{"border-y":[i]}],"border-color-s":[{"border-s":[i]}],"border-color-e":[{"border-e":[i]}],"border-color-t":[{"border-t":[i]}],"border-color-r":[{"border-r":[i]}],"border-color-b":[{"border-b":[i]}],"border-color-l":[{"border-l":[i]}],"divide-color":[{divide:[i]}],"outline-style":[{outline:["",...V()]}],"outline-offset":[{"outline-offset":[dn,q]}],"outline-w":[{outline:[dn,_n]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:U()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[h]}],"ring-offset-w":[{"ring-offset":[dn,_n]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",zn,dk]}],"shadow-color":[{shadow:[zs]}],opacity:[{opacity:[h]}],"mix-blend":[{"mix-blend":[...G(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":G()}],filter:[{filter:["","none"]}],blur:[{blur:[n]}],brightness:[{brightness:[r]}],contrast:[{contrast:[l]}],"drop-shadow":[{"drop-shadow":["","none",zn,q]}],grayscale:[{grayscale:[u]}],"hue-rotate":[{"hue-rotate":[c]}],invert:[{invert:[d]}],saturate:[{saturate:[v]}],sepia:[{sepia:[C]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[n]}],"backdrop-brightness":[{"backdrop-brightness":[r]}],"backdrop-contrast":[{"backdrop-contrast":[l]}],"backdrop-grayscale":[{"backdrop-grayscale":[u]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[c]}],"backdrop-invert":[{"backdrop-invert":[d]}],"backdrop-opacity":[{"backdrop-opacity":[h]}],"backdrop-saturate":[{"backdrop-saturate":[v]}],"backdrop-sepia":[{"backdrop-sepia":[C]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[o]}],"border-spacing-x":[{"border-spacing-x":[o]}],"border-spacing-y":[{"border-spacing-y":[o]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",q]}],duration:[{duration:$()}],ease:[{ease:["linear","in","out","in-out",q]}],delay:[{delay:$()}],animate:[{animate:["none","spin","ping","pulse","bounce",q]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[S]}],"scale-x":[{"scale-x":[S]}],"scale-y":[{"scale-y":[S]}],rotate:[{rotate:[_s,q]}],"translate-x":[{"translate-x":[P]}],"translate-y":[{"translate-y":[P]}],"skew-x":[{"skew-x":[E]}],"skew-y":[{"skew-y":[E]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",q]}],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",q]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":I()}],"scroll-mx":[{"scroll-mx":I()}],"scroll-my":[{"scroll-my":I()}],"scroll-ms":[{"scroll-ms":I()}],"scroll-me":[{"scroll-me":I()}],"scroll-mt":[{"scroll-mt":I()}],"scroll-mr":[{"scroll-mr":I()}],"scroll-mb":[{"scroll-mb":I()}],"scroll-ml":[{"scroll-ml":I()}],"scroll-p":[{"scroll-p":I()}],"scroll-px":[{"scroll-px":I()}],"scroll-py":[{"scroll-py":I()}],"scroll-ps":[{"scroll-ps":I()}],"scroll-pe":[{"scroll-pe":I()}],"scroll-pt":[{"scroll-pt":I()}],"scroll-pr":[{"scroll-pr":I()}],"scroll-pb":[{"scroll-pb":I()}],"scroll-pl":[{"scroll-pl":I()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}
vendor: 4,646 bytes, line 111
111],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",q]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[dn,_n,xc]}],stroke:[{stroke:[e,"none"]}],sr:["sr-only","not-sr-only"],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-s","border-color-e","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}},gk=XP(mk);function Sr(...e){return gk(xx(e))}const yk=RP,Rx=w.forwardRef(({className:e,...t},n)=>b.jsx(px,{ref:n,className:Sr("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}));Rx.displayName=px.displayName;const vk=bx("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"}}),Nx=w.forwardRef(({className:e,variant:t,...n},r)=>b.jsx(hx,{ref:r,className:Sr(vk({variant:t}),e),...n}));Nx.displayName=hx.displayName;const wk=w.forwardRef(({className:e,...t},n)=>b.jsx(yx,{ref:n,className:Sr("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}));wk.displayName=yx.displayName;const Mx=w.forwardRef(({className:e,...t},n)=>b.jsx(vx,{ref:n,className:Sr("absolute right-2 top-2 rounded-md p-1 text-foreground
111/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:b.jsx(Yd,{className:"h-4 w-4"})}));Mx.displayName=vx.displayName;const Lx=w.forwardRef(({className:e,...t},n)=>b.jsx(mx,{ref:n,className:Sr("text-sm font-semibold",e),...t}));Lx.displayName=mx.displayName;const Dx=w.forwardRef(({className:e,...t},n)=>b.jsx(gx,{ref:n,className:Sr("text-sm opacity-90",e),...t}));Dx.displayName=gx.displayName;function xk(){const{toasts:e}=jT();return b.jsxs(yk,{children:[e.map(function({id:t,title:n,description:r,action:i,...s}){return b.jsxs(Nx,{...s,children:[b.jsxs("div",{className:"grid gap-1",children:[n&&b.jsx(Lx,{children:n}),r&&b.jsx(Dx,{children:r})]}),i,b.jsx(Mx,{})]},t)}),b.jsx(Rx,{})]})}var dg=["light","dark"],bk="(prefers-color-scheme: dark)",Sk=w.createContext(void 0),Ck={setTheme:e=>{},themes:[]},Ek=()=>{var e;return(e=w.useContext(Sk))!=null?e:Ck};w.memo(({forcedTheme:e,storageKey:t,attribute:n,enableSystem:r,enableColorScheme:i,defaultTheme:s,value:o,attrs:a,nonce:l})=>{let u=s==="system",c=n==="class"?`var d=document.documentElement,c=d.classList;${`c.remove(${a.map(y=>`'${y}'`).join(",")})`};`:`var d=document.documentElement,n='${n}',s='setAttribute';`,d=i?dg.includes(s)&&s?`if(e==='light'||e==='dark'||!e)d.style.colorScheme=e||'${s}'`:"if(e==='light'||e==='dark')d.style.colorScheme=e":"",f=(y,g=!1,x=!0)=>{let h=o?o[y]:y,m=g?y+"|| ''":`'${h}'`,v="";return i&&x&&!g&&dg.includes(y)&&(v+=`d.style.colorScheme = '${y}';`),n==="class"?g||h?v+=`c.add(${m})`:v+="null":h&&(v+=`d[s](n,${m})`),v},p=e?`!function(){${c}${f(e)}}()`:r?`!function(){try{${c}var e=localStorage.getItem('${t}');if('system'===e||(!e&&${u})){var t='${bk}',m=window.matchMedia(t);if(m.media!==t||m.matches){${f("dark")}}else{${f("light")}}}else if(e){${o?`var x=${JSON.stringify(o)};`:""}${f(o?"x[e]":"e",!0)}}${u?"":"else{"+f(s,!1,!1)+"}"}${d}}catch(e){}}()`:`!function(){try{${c}var e=localStorage.getItem('${t}');if(e){${o?`var x=${JSON.stringify(o)};`:""}${f(o?"x[e]":"e",!0)}}else{${f(s,!1,!1)};}${d}}catch(t){}}();`;return w.createElement("script",{nonce:l,dangerouslySetInnerHTML:{__html:p}})});var Tk=e=>{switch(e){case"success":return Ak;case"info":return Nk;case"warning":return Rk;case"error":return Mk;default:return null}},Pk=Array(12).fill(0),kk=({visible:e,className:t})=>L.createElement("div",{className:["sonner-loading-wrapper",t].filter(Boolean).join(" "),"data-visible":e},L.createElement("div",{className:"sonner-spinner"},Pk.map((n,r)=>L.createElement("div",{className:"sonner-loading-bar",key:`spinner-bar-${r}`})))),Ak=L.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},L.createElement("path",{fillRule:"evenodd",d:"M10 18a8 8 0 100-16 8 8 0 000 16zm3.857-9.809a.75.75 0 00-1.214-.882l-3.483 4.79-1.88-1.88a.75.75 0 10-1.06 1.061l2.5 2.5a.75.75 0 001.137-.089l4-5.5z",clipRule:"evenodd"})),Rk=L.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",height:"20",width:"20"},L.createElement("path",{fillRule:"evenodd",d:"M9.401 3.003c1.155-2 4.043-2 5.197 0l7.355 12.748c1.154 2-.29 4.5-2.599 4.5H4.645c-2.309 0-3.752-2.5-2.598-4.5L9.4 3.003zM12 8.25a.75.75 0 01.75.75v3.75a.75.75 0 01-1.5 0V9a.75.75 0 01.75-.75zm0 8.25a.75.75 0 100-1.5.75.75 0 000 1.5z",clipRule:"evenodd"})),Nk=L.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},L.createElement("path",{fillRule:"evenodd",d:"M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-7-4a1 1 0 11-2 0 1 1 0 012 0zM9 9a.75.75 0 000 1.5h.253a.25.25 0 01.244.304l-.459 2.066A1.75 1.75 0 0010.747 15H11a.75.75 0 000-1.5h-.253a.25.25 0 01-.244-.304l.459-2.066A1.75 1.75 0 009.253 9H9z",clipRule:"evenodd"})),Mk=L.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},L.createElement("path",{fillRule:"evenodd",d:"M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-8-5a.75.75 0 01.75.75v4.5a.75.75 0 01-1.5 0v-4.5A.75.75 0 0110 5zm0 10a1 1 0 100-2 1 1 0 000 2z",clipRule:"evenodd"})),Lk=L.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"12",height:"12",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"},L.createElement("line",{x1:"18",y1:"6",x2:"6",y2:"18"}),L.createElement("line",{x1:"6",y1:"6",x2:"18",y2:"18"})),Dk=()=>{let[e,t]=L.useState(document.hidden);return L.useEffect(()=>{let n=()=>{t(document.hidden)};
111return document.addEventListener("visibilitychange",n),()=>window.removeEventListener("visibilitychange",n)},[]),e},Xd=1,Ok=class{constructor(){this.subscribe=e=>(this.subscribers.push(e),()=>{let t=this.subscribers.indexOf(e);this.subscribers.splice(t,1)}),this.publish=e=>{this.subscribers.forEach(t=>t(e))},this.addToast=e=>{this.publish(e),this.toasts=[...this.toasts,e]},this.create=e=>{var t;let{message:n,...r}=e,i=typeof(e==null?void 0:e.id)=="number"||((t=e.id)==null?void 0:t.length)>0?e.id:Xd++,s=this.toasts.find(a=>a.id===i),o=e.dismissible===void 0?!0:e.dismissible;return this.dismissedToasts.has(i)&&this.dismissedToasts.delete(i),s?this.toasts=this.toasts.map(a=>a.id===i?(this.publish({...a,...e,id:i,title:n}),{...a,...e,id:i,dismissible:o,title:n}):a):this.addToast({title:n,...r,dismissible:o,id:i}),i},this.dismiss=e=>(this.dismissedToasts.add(e),e||this.toasts.forEach(t=>{this.subscribers.forEach(n=>n({id:t.id,dismiss:!0}))}),this.subscribers.forEach(t=>t({id:e,dismiss:!0})),e),this.message=(e,t)=>this.create({...t,message:e}),this.error=(e,t)=>this.create({...t,message:e,type:"error"}),this.success=(e,t)=>this.create({...t,type:"success",message:e}),this.info=(e,t)=>this.create({...t,type:"info",message:e}),this.warning=(e,t)=>this.create({...t,type:"warning",message:e}),this.loading=(e,t)=>
111this.create({...t,type:"loading",message:e}),this.promise=(e,t)=>{if(!t)return;let n;t.loading!==void 0&&(n=this.create({...t,promise:e,type:"loading",message:t.loading,description:typeof t.description!="function"?t.description:void 0}));let r=e instanceof Promise?e:e(),i=n!==void 0,s,o=r.then(async l=>{if(s=["resolve",l],L.isValidElement(l))i=!1,this.create({id:n,type:"default",message:l});else if(jk(l)&&!l.ok){i=!1;let u=typeof t.error=="function"?await t.error(`HTTP error! status: ${l.status}`):t.error,c=typeof t.description=="function"?await t.description(`HTTP error! status: ${l.status}`):t.description;this.create({id:n,type:"error",message:u,description:c})}else if(t.success!==void 0){i=!1;let u=typeof t.success=="function"?await t.success(l):t.success,c=typeof t.description=="function"?await t.description(l):t.description;this.create({id:n,type:"success",message:u,description:c})}}).catch(async l=>{if(s=["reject",l],t.error!==void 0){i=!1;let u=typeof t.error=="function"?await t.error(l):t.error,c=typeof t.description=="function"?await t.description(l):t.description;this.create({id:n,type:"error",message:u,description:c})}}).finally(()=>{var l;i&&(this.dismiss(n),n=void 0),(l=t.finally)==null||l.call(t)}),a=()=>new Promise((l,u)=>o.then(()=>s[0]==="reject"?u(s[1]):l(s[1])).catch(u));return typeof n!="string"&&typeof n!="number"?{unwrap:a}:Object.assign(n,{unwrap:a})},this.custom=(e,t)=>{let n=(t==null?void 0:t.id)||Xd++;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}},Ze=new Ok,Ik=(e,t)=>{let n=(t==null?void 0:t.id)||Xd++;return Ze.addToast({title:e,...t,id:n}),n},jk=e=>e&&typeof e=="object"&&"ok"in e&&typeof e.ok=="boolean"&&"status"in e&&typeof e.status=="number",_k=Ik,zk=()=>Ze.toasts,Fk=()=>Ze.getActiveToasts();Object.assign(_k,{success:Ze.success,info:Ze.info,warning:Ze.warning,error:Ze.error,custom:Ze.custom,message:Ze.message,promise:Ze.promise,dismiss:Ze.dismiss,loading:Ze.loading},{getHistory:zk,getToasts:Fk});function Vk(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))}Vk(`: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;
111left: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}
111: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%);
111--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%)} 112`);function Sa(e){return e.label!==void 0}var Bk=3,$k="32px",Uk="16px",fg=4e3,Wk=356,Hk=14,Kk=20,Gk=200;function Rt(...e){return e.filter(Boolean).join(" ")}function qk(e){let[t,n]=e.split("-"),r=[];return t&&r.push(t),n&&r.push(n),r}var Yk=e=>{var t,n,r,i,s,o,a,l,u,c,d;let{invert:f,toast:p,unstyled:y,interacting:g,setHeights:x,visibleToasts:h,heights:m,index:v,toasts:S,expanded:C,removeToast:E,defaultRichColors:T,closeButton:P,style:R,cancelButtonStyle:k,actionButtonStyle:_,className:I="",descriptionClassName:U="",duration:O,position:W,gap:V,loadingIcon:G,expandByDefault:A,classNames:N,icons:j,closeButtonAriaLabel:$="Close toast",pauseWhenPageIsHidden:B}=e,[Y,X]=L.useState(null),[we,Oe]=L.useState(null),[ee,ai]=L.useState(!1),[Nn,Er]=L.useState(!1),[Mn,li]=L.useState(!1),[Ln,Zo]=L.useState(!1),[ju,Jo]=L.useState(!1),[_u,Ts]=L.useState(0),[ui,Lh]=L.useState(0),Ps=L.useRef(p.duration||O||fg),Dh=L.useRef(null),Tr=L.useRef(null),wS=v===0,xS=v+1<=h,ht=p.type,ci=p.dism
112issible!==!1,bS=p.className||"",SS=p.descriptionClassName||"",ea=L.useMemo(()=>m.findIndex(H=>H.toastId===p.id)||0,[m,p.id]),CS=L.useMemo(()=>{var H;return(H=p.closeButton)!=null?H:P},[p.closeButton,P]),Oh=L.useMemo(()=>p.duration||O||fg,[p.duration,O]),zu=L.useRef(0),di=L.useRef(0),Ih=L.useRef(0),fi=L.useRef(null),[ES,TS]=W.split("-"),jh=L.useMemo(()=>m.reduce((H,ne,ue)=>ue>=ea?H:H+ne.height,0),[m,ea]),_h=Dk(),PS=p.invert||f,Fu=ht==="loading";di.current=L.useMemo(()=>ea*V+jh,[ea,jh]),L.useEffect(()=>{Ps.current=Oh},[Oh]),L.useEffect(()=>{ai(!0)},[]),L.useEffect(()=>{let H=Tr.current;if(H){let ne=H.getBoundingClientRect().height;return Lh(ne),x(ue=>[{toastId:p.id,height:ne,position:p.position},...ue]),()=>x(ue=>ue.filter(Tt=>Tt.toastId!==p.id))}},[x,p.id]),L.useLayoutEffect(()=>{if(!ee)return;let H=Tr.current,ne=H.style.height;H.style.height="auto";let ue=H.getBoundingClientRect().height;H.style.height=ne,Lh(ue),x(Tt=>Tt.find(Pt=>Pt.toastId===p.id)?Tt.map(Pt=>Pt.toastId===p.id?{...Pt,height:ue}:Pt):[{toastId:p.id,height:ue,position:p.position},...Tt])},[ee,p.title,p.description,x,p.id]);let Dn=L.useCallback(()=>{Er(!0),Ts(di.current),x(H=>H.filter(ne=>ne.toastId!==p.id)),setTimeout(()=>{E(p)},Gk)},[p,E,x,di]);L.useEffect(()=>{if(p.promise&&ht==="loading"||p.duration===1/0||p.type==="loading")return;let H;return C||g||B&&_h?(()=>{if(Ih.current<zu.current){let ne=new Date().getTime()-zu.current;Ps.current=Ps.current-ne}Ih.current=new Date().getTime()})():Ps.current!==1/0&&(zu.current=new Date().getTime(),H=setTimeout(()=>{var ne;(ne=p.onAutoClose)==null||ne.call(p,p),Dn()},Ps.current)),()=>clearTimeout(H)},[C,g,p,ht,B,_h,Dn]),L.useEffect(()=>{p.delete&&Dn()},[Dn,p.delete]);function kS(){var H,ne,ue;return j!=null&&j.loading?L.createElement("div",{className:Rt(N==null?void 0:N.loader,(H=p==null?void 0:p.classNames)==null?void 0:H.loader,"sonner-loader"),"data-visible":ht==="loading"},j.loading):G?L.createElement("div",{className:Rt(N==null?void 0:N.loader,(ne=p==null?void 0:p.classNames)==null?void 0:ne.loader,"sonner-loader"),"data-visible":ht==="loading"},G):L.createElement(kk,{className:Rt(N==null?void 0:N.loader,(ue=p==null?void 0:p.classNames)==null?void 0:ue.loader),visible:ht==="loading"})}return L.createElement("li",{tabIndex:0,ref:Tr,className:Rt(I,bS,N==null?void 0:N.toast,(t=p==null?void 0:p.classNames)==null?void 0:t.toast,N==null?void 0:N.default,N==null?void 0:N[ht],(n=p==null?void 0:p.classNames)==null?void 0:n[ht]),"data-sonner-toast":"","data-rich-colors":(r=p.richColors)!=null?r:T,"data-styled":!(p.jsx||p.unstyled||y),"data-mounted":ee,"data-promise":!!p.promise,"data-swiped":ju,"data-removed":Nn,"data-visible":xS,"data-y-position":ES,"data-x-position":TS,"data-index":v,"data-front":wS,"data-swiping":Mn,"data-dismissible":ci,"data-type":ht,"data-invert":PS,"data-swipe-out":Ln,"data-swipe-direction":we,"data-expanded":!!(C||A&&ee),style:{"--index":v,"--toasts-before":v,"--z-index":S.length-v,"--offset":`${Nn?_u:di.current}px`,"--initial-height":A?"auto":`${ui}px`,...R,...p.style},onDragEnd:()=>{li(!1),X(null),fi.current=null},onPointerDown:H=>{Fu||!ci||(Dh.current=new Date,Ts(di.current),H.target.setPointerCapture(H.pointerId),H.target.tagName!=="BUTTON"&&(li(!0),fi.current={x:H.clientX,y:H.clientY}))},onPointerUp:()=>{var H,ne,ue,Tt;if(Ln||!ci)return;fi.current=null;let Pt=Number(((H=Tr.current)==null?void 0:H.style.getPropertyValue("--swipe-amount-x").replace("px",""))||0),On=Number(((ne=Tr.current)==null?void 0:ne.style.getPropertyValue("--swipe-amount-y").replace("px",""))||0),Pr=new Date().getTime()-((ue=Dh.current)==null?void 0:ue.getTime()),kt=Y==="x"?Pt:On,In=Math.abs(kt)/Pr;if(Math.abs(kt)>=Kk||In>.11){Ts(di.current),(Tt=p.onDismiss)==null||Tt.call(p,p),Oe(Y==="x"?Pt>0?"right":"left":On>0?"down":"up"),Dn(),Zo(!0),Jo(!1);return}li(!1),X(null)},onPointerMove:H=>{var ne,ue,Tt,Pt;if(!fi.current||!ci||((ne=window.getSelection())==null?void 0:ne.toString().length)>0)return;let On=H.clientY-fi.current.y,Pr=H.clientX-fi.current.x,kt=(ue=e.swipeDirections)!=null?ue:qk(W);!Y&&(Math.abs(Pr)>1||Math.abs(On)>1)&&X(Math.abs(Pr)>Math.abs(On)?"x":"y");let In={x:0,y:0};Y==="y"?(kt.includes("top")||kt.includes("bottom"))&&(kt.includes("top")&&On<0||kt.includes("bottom")&&On>0)&&(In.y=On):Y==="x"&&(kt.includes("left")||kt.includes("right"))&&(kt.includes("left")&&Pr<0||kt.includes("right")&&Pr>0)&&(In.x=Pr),(Math.abs(In.x)>0||Math.abs(In.y)>0)&&Jo(!0),(Tt=Tr.current)==null||Tt.style.setProperty("--swipe-amount-x",`${In.x}px`),(Pt=Tr.current)==null||Pt.style.setProperty("--swipe-amount-y",`${In.y}px`)}},CS&&!p.jsx?L.createElement("button",{"aria-label":$,"data-disabled":Fu,"data-close-button":!0,onClick:Fu||!ci?()=>{}:()=>{var H;Dn(),(H=p.onDismiss)==null||H.call(p,p)},className:Rt(N==null?void 0:N.closeButton,(i=p==null?void 0:p.classNames)==null?void 0:i.closeButton)},(s=j==null?void 0:j.close)!=null?s:Lk):null,p.jsx||w.isValidElement(p.title)?p.jsx?p.jsx:typeof p.title=="function"?p.title():p.title:L.createElement(L.Fragment,null,ht||p.icon||p.promise?L.createElement("div",{"data-icon":"",className:Rt(N==null?void 0:N.icon,(o=p==null?void 0:p.classNames)==null?void 0:o.icon)}
vendor: 6,671 bytes, line 112
112,p.promise||p.type==="loading"&&!p.icon?p.icon||kS():null,p.type!=="loading"?p.icon||(j==null?void 0:j[ht])||Tk(ht):null):null,L.createElement("div",{"data-content":"",className:Rt(N==null?void 0:N.content,(a=p==null?void 0:p.classNames)==null?void 0:a.content)},L.createElement("div",{"data-title":"",className:Rt(N==null?void 0:N.title,(l=p==null?void 0:p.classNames)==null?void 0:l.title)},typeof p.title=="function"?p.title():p.title),p.description?L.createElement("div",{"data-description":"",className:Rt(U,SS,N==null?void 0:N.description,(u=p==null?void 0:p.classNames)==null?void 0:u.description)},typeof p.description=="function"?p.description():p.description):null),w.isValidElement(p.cancel)?p.cancel:p.cancel&&Sa(p.cancel)?L.createElement("button",{"data-button":!0,"data-cancel":!0,style:p.cancelButtonStyle||k,onClick:H=>{var ne,ue;Sa(p.cancel)&&ci&&((ue=(ne=p.cancel).onClick)==null||ue.call(ne,H),Dn())},className:Rt(N==null?void 0:N.cancelButton,(c=p==null?void 0:p.classNames)==null?void 0:c.cancelButton)},p.cancel.label):null,w.isValidElement(p.action)?p.action:p.action&&Sa(p.action)?L.createElement("button",{"data-button":!0,"data-action":!0,style:p.actionButtonStyle||_,onClick:H=>{var ne,ue;Sa(p.action)&&((ue=(ne=p.action).onClick)==null||ue.call(ne,H),!H.defaultPrevented&&Dn())},className:Rt(N==null?void 0:N.actionButton,(d=p==null?void 0:p.classNames)==null?void 0:d.actionButton)},p.action.label):null))};function pg(){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 Qk(e,t){let n={};return[e,t].forEach((r,i)=>{let s=i===1,o=s?"--mobile-offset":"--offset",a=s?Uk:$k;function l(u){["top","right","bottom","left"].forEach(c=>{n[`${o}-${c}`]=typeof u=="number"?`${u}px`:u})}typeof r=="number"||typeof r=="string"?l(r):typeof r=="object"?["top","right","bottom","left"].forEach(u=>{r[u]===void 0?n[`${o}-${u}`]=a:n[`${o}-${u}`]=typeof r[u]=="number"?`${r[u]}px`:r[u]}):l(a)}),n}var Xk=w.forwardRef(function(e,t){let{invert:n,position:r="bottom-right",hotkey:i=["altKey","KeyT"],expand:s,closeButton:o,className:a,offset:l,mobileOffset:u,theme:c="light",richColors:d,duration:f,style:p,visibleToasts:y=Bk,toastOptions:g,dir:x=pg(),gap:h=Hk,loadingIcon:m,icons:v,containerAriaLabel:S="Notifications",pauseWhenPageIsHidden:C}=e,[E,T]=L.useState([]),P=L.useMemo(()=>Array.from(new Set([r].concat(E.filter(B=>B.position).map(B=>B.position)))),[E,r]),[R,k]=L.useState([]),[_,I]=L.useState(!1),[U,O]=L.useState(!1),[W,V]=L.useState(c!=="system"?c:typeof window<"u"&&window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light"),G=L.useRef(null),A=i.join("+").replace(/Key/g,"").replace(/Digit/g,""),N=L.useRef(null),j=L.useRef(!1),$=L.useCallback(B=>{T(Y=>{var X;return(X=Y.find(we=>we.id===B.id))!=null&&X.delete||Ze.dismiss(B.id),Y.filter(({id:we})=>we!==B.id)})},[]);return L.useEffect(()=>Ze.subscribe(B=>{if(B.dismiss){T(Y=>Y.map(X=>X.id===B.id?{...X,delete:!0}:X));return}setTimeout(()=>{zw.flushSync(()=>{T(Y=>{let X=Y.findIndex(we=>we.id===B.id);return X!==-1?[...Y.slice(0,X),{...Y[X],...B},...Y.slice(X+1)]:[B,...Y]})})})}),[]),L.useEffect(()=>{if(c!=="system"){V(c);return}if(c==="system"&&(window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches?V("dark"):V("light")),typeof window>"u")return;let B=window.matchMedia("(prefers-color-scheme: dark)");try{B.addEventListener("change",({matches:Y})=>{V(Y?"dark":"light")})}catch{B.addListener(({matches:X})=>{try{V(X?"dark":"light")}catch(we){console.error(we)}})}},[c]),L.useEffect(()=>{E.length<=1&&I(!1)},[E]),L.useEffect(()=>{let B=Y=>{var X,we;i.every(Oe=>Y[Oe]||Y.code===Oe)&&(I(!0),(X=G.current)==null||X.focus()),Y.code==="Escape"&&(document.activeElement===G.current||(we=G.current)!=null&&we.contains(document.activeElement))&&I(!1)};return document.addEventListener("keydown",B),()=>document.removeEventListener("keydown",B)},[i]),L.useEffect(()=>{if(G.current)return()=>{N.current&&(N.current.focus({preventScroll:!0}),N.current=null,j.current=!1)}},[G.current]),L.createElement("section",{ref:t,"aria-label":`${S} ${A}`,tabIndex:-1,"aria-live":"polite","aria-relevant":"additions text","aria-atomic":"false",suppressHydrationWarning:!0},P.map((B,Y)=>{var X;let[we,Oe]=B.split("-");return E.length?L.createElement("ol",{key:B,dir:x==="auto"?pg():x,tabIndex:-1,ref:G,className:a,"data-sonner-toaster":!0,"data-theme":W,"data-y-position":we,"data-lifted":_&&E.length>1&&!s,"data-x-position":Oe,style:{"--front-toast-height":`${((X=R[0])==null?void 0:X.height)||0}px`,"--width":`${Wk}px`,"--gap":`${h}px`,...p,...Qk(l,u)},onBlur:ee=>{j.current&&!ee.currentTarget.contains(ee.relatedTarget)&&(j.current=!1,N.current&&(N.current.focus({preventScroll:!0}),N.current=null))},onFocus:ee=>{ee.target instanceof HTMLElement&&ee.target.dataset.dismissible==="false"||j.current||(j.current=!0,N.current=ee.relatedTarget)},onMouseEnter:()=>I(!0),onMouseMove:()=>I(!0),onMouseLeave:()=>{U||I(!1)},onDragEnd:()=>I(!1),onPointerDown:ee=>{ee.target instanceof HTMLElement&&ee.target.dataset.dismissible==="false"||O(!0)},onPointerUp:()=>O(!1)},E.filter(ee=>!ee.position&&Y===0||ee.position===B).map((ee,ai)=>{var Nn,Er;return L.createElement(Yk,{key:ee.id,icons:v,index:ai,toast:ee,defaultRichColors:d,duration:(Nn=g==null?void 0:g.duration)!=null?Nn:f,className:g==null?void 0:g.className,descriptionClassName:g==null?void 0:g.descriptionClassName,invert:n,visibleToasts:y,closeButton:(Er=g==null?void 0:g.closeButton)!=null?Er:o,interacting:U,position:B,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:$,toasts:E.filter(Mn=>Mn.position==ee.position),heights:R.filter(Mn=>Mn.position==ee.position),setHeights:k,expandByDefault:s,gap:h,loadingIcon:m,expanded:_,pauseWhenPageIsHidden:C,swipeDirections:e.swipeDirections})})):null}))});const Zk=({...e})=>{const{theme:t="system"}=Ek();return b.jsx(Xk,{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})},Jk=["top","right","bottom","left"],pr=Math.min,at=Math.max,Rl=Math.round,Ca=Math.floor,hr=e=>({x:e,y:e}
vendor: 11,656 bytes, line 112
112),eA={left:"right",right:"left",bottom:"top",top:"bottom"},tA={start:"end",end:"start"};function Zd(e,t,n){return at(e,pr(t,n))}function Tn(e,t){return typeof e=="function"?e(t):e}function Pn(e){return e.split("-")[0]}function ms(e){return e.split("-")[1]}function Vp(e){return e==="x"?"y":"x"}function Bp(e){return e==="y"?"height":"width"}function mr(e){return["top","bottom"].includes(Pn(e))?"y":"x"}function $p(e){return Vp(mr(e))}function nA(e,t,n){n===void 0&&(n=!1);const r=ms(e),i=$p(e),s=Bp(i);let o=i==="x"?r===(n?"end":"start")?"right":"left":r==="start"?"bottom":"top";return t.reference[s]>t.floating[s]&&(o=Nl(o)),[o,Nl(o)]}function rA(e){const t=Nl(e);return[Jd(e),t,Jd(t)]}function Jd(e){return e.replace(/start|end/g,t=>tA[t])}function iA(e,t,n){const r=["left","right"],i=["right","left"],s=["top","bottom"],o=["bottom","top"];switch(e){case"top":case"bottom":return n?t?i:r:t?r:i;case"left":case"right":return t?s:o;default:return[]}}function sA(e,t,n,r){const i=ms(e);let s=iA(Pn(e),n==="start",r);return i&&(s=s.map(o=>o+"-"+i),t&&(s=s.concat(s.map(Jd)))),s}function Nl(e){return e.replace(/left|right|bottom|top/g,t=>eA[t])}function oA(e){return{top:0,right:0,bottom:0,left:0,...e}}function Ox(e){return typeof e!="number"?oA(e):{top:e,right:e,bottom:e,left:e}}function Ml(e){const{x:t,y:n,width:r,height:i}=e;return{width:r,height:i,top:n,left:t,right:t+r,bottom:n+i,x:t,y:n}}function hg(e,t,n){let{reference:r,floating:i}=e;const s=mr(t),o=$p(t),a=Bp(o),l=Pn(t),u=s==="y",c=r.x+r.width/2-i.width/2,d=r.y+r.height/2-i.height/2,f=r[a]/2-i[a]/2;let p;switch(l){case"top":p={x:c,y:r.y-i.height};break;case"bottom":p={x:c,y:r.y+r.height};break;case"right":p={x:r.x+r.width,y:d};break;case"left":p={x:r.x-i.width,y:d};break;default:p={x:r.x,y:r.y}}switch(ms(t)){case"start":p[o]-=f*(n&&u?-1:1);break;case"end":p[o]+=f*(n&&u?-1:1);break}return p}const aA=async(e,t,n)=>{const{placement:r="bottom",strategy:i="absolute",middleware:s=[],platform:o}=n,a=s.filter(Boolean),l=await(o.isRTL==null?void 0:o.isRTL(t));let u=await o.getElementRects({reference:e,floating:t,strategy:i}),{x:c,y:d}=hg(u,r,l),f=r,p={},y=0;for(let g=0;g<a.length;g++){const{name:x,fn:h}=a[g],{x:m,y:v,data:S,reset:C}=await h({x:c,y:d,initialPlacement:r,placement:f,strategy:i,middlewareData:p,rects:u,platform:o,elements:{reference:e,floating:t}});c=m??c,d=v??d,p={...p,[x]:{...p[x],...S}},C&&y<=50&&(y++,typeof C=="object"&&(C.placement&&(f=C.placement),C.rects&&(u=C.rects===!0?await o.getElementRects({reference:e,floating:t,strategy:i}):C.rects),{x:c,y:d}=hg(u,f,l)),g=-1)}return{x:c,y:d,placement:f,strategy:i,middlewareData:p}};async function Po(e,t){var n;t===void 0&&(t={});const{x:r,y:i,platform:s,rects:o,elements:a,strategy:l}=e,{boundary:u="clippingAncestors",rootBoundary:c="viewport",elementContext:d="floating",altBoundary:f=!1,padding:p=0}=Tn(t,e),y=Ox(p),x=a[f?d==="floating"?"reference":"floating":d],h=Ml(await s.getClippingRect({element:(n=await(s.isElement==null?void 0:s.isElement(x)))==null||n?x:x.contextElement||await(s.getDocumentElement==null?void 0:s.getDocumentElement(a.floating)),boundary:u,rootBoundary:c,strategy:l})),m=d==="floating"?{x:r,y:i,width:o.floating.width,height:o.floating.height}:o.reference,v=await(s.getOffsetParent==null?void 0:s.getOffsetParent(a.floating)),S=await(s.isElement==null?void 0:s.isElement(v))?await(s.getScale==null?void 0:s.getScale(v))||{x:1,y:1}:{x:1,y:1},C=Ml(s.convertOffsetParentRelativeRectToViewportRelativeRect?await s.convertOffsetParentRelativeRectToViewportRelativeRect({elements:a,rect:m,offsetParent:v,strategy:l}):m);return{top:(h.top-C.top+y.top)/S.y,bottom:(C.bottom-h.bottom+y.bottom)/S.y,left:(h.left-C.left+y.left)/S.x,right:(C.right-h.right+y.right)/S.x}}const lA=e=>({name:"arrow",options:e,async fn(t){const{x:n,y:r,placement:i,rects:s,platform:o,elements:a,middlewareData:l}=t,{element:u,padding:c=0}=Tn(e,t)||{};if(u==null)return{};const d=Ox(c),f={x:n,y:r},p=$p(i),y=Bp(p),g=await o.getDimensions(u),x=p==="y",h=x?"top":"left",m=x?"bottom":"right",v=x?"clientHeight":"clientWidth",S=s.reference[y]+s.reference[p]-f[p]-s.floating[y],C=f[p]-s.reference[p],E=await(o.getOffsetParent==null?void 0:o.getOffsetParent(u));let T=E?E[v]:0;(!T||!await(o.isElement==null?void 0:o.isElement(E)))&&(T=a.floating[v]||s.floating[y]);const P=S/2-C/2,R=T/2-g[y]/2-1,k=pr(d[h],R),_=pr(d[m],R),I=k,U=T-g[y]-_,O=T/2-g[y]/2+P,W=Zd(I,O,U),V=!l.arrow&&ms(i)!=null&&O!==W&&s.reference[y]/2-(O<I?k:_)-g[y]/2<0,G=V?O<I?O-I:O-U:0;return{[p]:f[p]+G,data:{[p]:W,centerOffset:O-W-G,...V&&{alignmentOffset:G}},reset:V}}}),uA=function(e){return e===void 0&&(e={}),{name:"flip",options:e,async fn(t){var n,r;const{placement:i,middlewareData:s,rects:o,initialPlacement:a,platform:l,elements:u}=t,{mainAxis:c=!0,crossAxis:d=!0,fallbackPlacements:f,fallbackStrategy:p="bestFit",fallbackAxisSideDirection:y="none",flipAlignment:g=!0,...x}=Tn(e,t);if((n=s.arrow)!=null&&n.alignmentOffset)return{};const h=Pn(i),m=mr(a),v=Pn(a)===a,S=await(l.isRTL==null?void 0:l.isRTL(u.floating)),C=f||(v||!g?[Nl(a)]:rA(a)),E=y!=="none";!f&&E&&C.push(...sA(a,g,y,S));const T=[a,...C],P=await Po(t,x),R=[];let k=((r=s.flip)==null?void 0:r.overflows)||[];if(c&&R.push(P[h]),d){const O=nA(i,o,S);R.push(P[O[0]],P[O[1]])}if(k=[...k,{placement:i,overflows:R}],!R.every(O=>O<=0)){var _,I;const O=(((_=s.flip)==null?void 0:_.index)||0)+1,W=T[O];if(W)return{data:{index:O,overflows:k},reset:{placement:W}};let V=(I=k.filter(G=>G.overflows[0]<=0).sort((G,A)=>G.overflows[1]-A.overflows[1])[0])==null?void 0:I.placement;if(!V)switch(p){case"bestFit":{var U;const G=(U=k.filter(A=>{if(E){const N=mr(A.placement);return N===m||N==="y"}return!0}).map(A=>[A.placement,A.overflows.filter(N=>N>0).reduce((N,j)=>N+j,0)]).sort((A,N)=>A[1]-N[1])[0])==null?void 0:U[0];G&&(V=G);break}case"initialPlacement":V=a;break}if(i!==V)return{reset:{placement:V}}}return{}}}};function mg(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function gg(e){return Jk.some(t=>e[t]>=0)}const cA=function(e){return e===void 0&&(e={}),{name:"hide",options:e,async fn(t){const{rects:n}=t,{strategy:r="referenceHidden",...i}=Tn(e,t);switch(r){case"referenceHidden":{const s=await Po(t,{...i,elementContext:"reference"}),o=mg(s,n.reference);return{data:{referenceHiddenOffsets:o,referenceHidden:gg(o)}}}case"escaped":{const s=await Po(t,{...i,altBoundary:!0}),o=mg(s,n.floating);return{data:{escapedOffsets:o,escaped:gg(o)}}}default:return{}}}}};async function dA(e,t){const{placement:n,platform:r,elements:i}=e,s=await(r.isRTL==null?void 0:r.isRTL(i.floating)),o=Pn(n),a=ms(n),l=mr(n)==="y",u=["left","top"].includes(o)?-1:1,c=s&&l?-1:1,d=Tn(t,e);let{mainAxis:f,crossAxis:p,alignmentAxis:y}=typeof d=="number"?{mainAxis:d,crossAxis:0,alignmentAxis:null}:{mainAxis:d.mainAxis||0,crossAxis:d.crossAxis||0,alignmentAxis:d.alignmentAxis};return a&&typeof y=="number"&&(p=a==="end"?y*-1:y),l?{x:p*c,y:f*u}:{x:f*u,y:p*c}}const fA=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(t){var n,r;const{x:i,y:s,placement:o,middlewareData:a}=t,l=await dA(t,e);return o===((n=a.offset)==null?void 0:n.placement)&&(r=a.arrow)!=null&&r.alignmentOffset?{}:{x:i+l.x,y:s+l.y,data:{...l,placement:o}}}}},pA=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){const{x:n,y:r,placement:i}=t,{mainAxis:s=!0,crossAxis:o=!1,limiter:a={fn:x=>{let{x:h,y:m}=x;return{x:h,y:m}}},...l}=Tn(e,t),u={x:n,y:r},c=await Po(t,l),d=mr(Pn(i)),f=Vp(d);let p=u[f],y=u[d];if(s){const x=f==="y"?"top":"left",h=f==="y"?"bottom":"right",m=p+c[x],v=p-c[h];p=Zd(m,p,v)}if(o){const x=d==="y"?"top":"left",h=d==="y"?"bottom":"right",m=y+c[x],v=y-c[h];y=Zd(m,y,v)}const g=a.fn({...t,[f]:p,[d]:y});return{...g,data:{x:g.x-n,y:g.y-r,enabled:{[f]:s,[d]:o}}}}}},hA=function(e){return e===void 0&&(e={}),{options:e,fn(t){const{x:n,y:r,placement:i,rects:s,middlewareData:o}=t,{offset:a=0,mainAxis:l=!0,crossAxis:u=!0}=Tn(e,t),c={x:n,y:r},d=mr(i),f=Vp(d);let p=c[f],y=c[d];const g=Tn(a,t),x=typeof g=="number"?{mainAxis:g,crossAxis:0}:{mainAxis:0,crossAxis:0,...g};if(l){const v=f==="y"?"height":"width",S=s.reference[f]-s.floating[v]+x.mainAxis,C=s.reference[f]+s.reference[v]-x.mainAxis;p<S?p=S:p>C&&(p=C)}if(u){var h,m;const v=f==="y"?"width":"height",S=["top","left"].includes(Pn(i)),C=s.reference[d]-s.floating[v]+(S&&((h=o.offset)==null?void 0:h[d])||0)+(S?0:x.crossAxis),E=s.reference[d]+s.reference[v]+(S?0:((m=o.offset)==null?void 0:m[d])||0)-(S?x.crossAxis:0);y<C?y=C:y>E&&(y=E)}return{[f]:p,[d]:y}}}},mA=function(e){return e===void 0&&(e={}),{name:"size",options:e,async fn(t){var n,r;const{placement:i,rects:s,platform:o,elements:a}=t,{apply:l=()=>{},...u}=Tn(e,t),c=await Po(t,u),d=Pn(i),f=ms(i),p=mr(i)==="y",{width:y,height:g}=s.floating;let x,h;d==="top"||d==="bottom"?(x=d,h=f===(await(o.isRTL==null?void 0:o.isRTL(a.floating))?"start":"end")?"left":"right"):(h=d,x=f==="end"?"top":"bottom");const m=g-c.top-c.bottom,v=y-c.left-c.right,S=pr(g-c[x],m),C=pr(y-c[h],v),E=!t.middlewareData.shift;let T=S,P=C;if((n=t.middlewareData.shift)!=null&&n.enabled.x&&(P=v),(r=t.middlewareData.shift)!=null&&r.enabled.y&&(T=m),E&&!f){const k=at(c.left,0),_=at(c.right,0),I=at(c.top,0),U=at(c.bottom,0);p?P=y-2*(k!==0||_!==0?k+_:at(c.left,c.right)):T=g-2*(I!==0||U!==0?I+U:at(c.top,c.bottom))}await l({...t,availableWidth:P,availableHeight:T});const R=await o.getDimensions(a.floating);return y!==R.width||g!==R.height?{reset:{rects:!0}}:{}}}};function mu(){return typeof window<"u"}function gs(e){return Ix(e)?(e.nodeName||"").toLowerCase():"#document"}function ct(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function ln(e){var t;return(t=(Ix(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function Ix(e){return mu()?e instanceof Node||e instanceof ct(e).Node:!1}function Wt(e){return mu()?e instanceof Element||e instanceof ct(e).Element:!1}function rn(e){return mu()?e instanceof HTMLElement||e instanceof ct(e).HTMLElement:!1}function yg(e){return!mu()||typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof ct(e).ShadowRoot}function Ko(e){const{overflow:t,overflowX:n,overflowY:r,display:i}=Ht(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&!["inline","contents"].includes(i)}function gA(e){return["table","td","th"].includes(gs(e))}function gu(e){return[":popover-open",":modal"].some(t=>{try{return e.matches(t)}catch{return!1}})}function Up(e){const t=Wp(),n=Wt(e)?Ht(e):e;return n.transform!=="none"||n.perspective!=="none"||(n.containerType?n.containerType!=="normal":!1)||!t&&(n.backdropFilter?n.backdropFilter!=="none":!1)||!t&&(n.filter?n.filter!=="none":!1)||["transform","perspective","filter"].some(r=>(n.willChange||"").includes(r))||["paint","layout","strict","content"].some(r=>(n.contain||"").includes(r))}function yA(e){let t=gr(e);for(;rn(t)&&!ss(t);){if(Up(t))return t;if(gu(t))return null;t=gr(t)}return null}function Wp(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function ss(e){return["html","body","#document"].includes(gs(e))}function Ht(e){return ct(e).getComputedStyle(e)}function yu(e){return Wt(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function gr(e){if(gs(e)==="html")return e;const t=e.assignedSlot||e.parentNode||yg(e)&&e.host||ln(e);return yg(t)?t.host:t}function jx(e){const t=gr(e);return ss(t)?e.ownerDocument?e.ownerDocument.body:e.body:rn(t)&&Ko(t)?t:jx(t)}function ko(e,t,n){var r;t===void 0&&(t=[]),n===void 0&&(n=!0);const i=jx(e),s=i===((r=e.ownerDocument)==null?void 0:r.body),o=ct(i);if(s){const a=ef(o);
vendor: 5,525 bytes, line 112
112return t.concat(o,o.visualViewport||[],Ko(i)?i:[],a&&n?ko(a):[])}return t.concat(i,ko(i,[],n))}function ef(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function _x(e){const t=Ht(e);let n=parseFloat(t.width)||0,r=parseFloat(t.height)||0;const i=rn(e),s=i?e.offsetWidth:n,o=i?e.offsetHeight:r,a=Rl(n)!==s||Rl(r)!==o;return a&&(n=s,r=o),{width:n,height:r,$:a}}function Hp(e){return Wt(e)?e:e.contextElement}function $i(e){const t=Hp(e);if(!rn(t))return hr(1);const n=t.getBoundingClientRect(),{width:r,height:i,$:s}=_x(t);let o=(s?Rl(n.width):n.width)/r,a=(s?Rl(n.height):n.height)/i;return(!o||!Number.isFinite(o))&&(o=1),(!a||!Number.isFinite(a))&&(a=1),{x:o,y:a}}const vA=hr(0);function zx(e){const t=ct(e);return!Wp()||!t.visualViewport?vA:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function wA(e,t,n){return t===void 0&&(t=!1),!n||t&&n!==ct(e)?!1:t}function ii(e,t,n,r){t===void 0&&(t=!1),n===void 0&&(n=!1);const i=e.getBoundingClientRect(),s=Hp(e);let o=hr(1);t&&(r?Wt(r)&&(o=$i(r)):o=$i(e));const a=wA(s,n,r)?zx(s):hr(0);let l=(i.left+a.x)/o.x,u=(i.top+a.y)/o.y,c=i.width/o.x,d=i.height/o.y;if(s){const f=ct(s),p=r&&Wt(r)?ct(r):r;let y=f,g=ef(y);for(;g&&r&&p!==y;){const x=$i(g),h=g.getBoundingClientRect(),m=Ht(g),v=h.left+(g.clientLeft+parseFloat(m.paddingLeft))*x.x,S=h.top+(g.clientTop+parseFloat(m.paddingTop))*x.y;l*=x.x,u*=x.y,c*=x.x,d*=x.y,l+=v,u+=S,y=ct(g),g=ef(y)}}return Ml({width:c,height:d,x:l,y:u})}function xA(e){let{elements:t,rect:n,offsetParent:r,strategy:i}=e;const s=i==="fixed",o=ln(r),a=t?gu(t.floating):!1;if(r===o||a&&s)return n;let l={scrollLeft:0,scrollTop:0},u=hr(1);const c=hr(0),d=rn(r);if((d||!d&&!s)&&((gs(r)!=="body"||Ko(o))&&(l=yu(r)),rn(r))){const f=ii(r);u=$i(r),c.x=f.x+r.clientLeft,c.y=f.y+r.clientTop}return{width:n.width*u.x,height:n.height*u.y,x:n.x*u.x-l.scrollLeft*u.x+c.x,y:n.y*u.y-l.scrollTop*u.y+c.y}}function bA(e){return Array.from(e.getClientRects())}function tf(e,t){const n=yu(e).scrollLeft;return t?t.left+n:ii(ln(e)).left+n}function SA(e){const t=ln(e),n=yu(e),r=e.ownerDocument.body,i=at(t.scrollWidth,t.clientWidth,r.scrollWidth,r.clientWidth),s=at(t.scrollHeight,t.clientHeight,r.scrollHeight,r.clientHeight);let o=-n.scrollLeft+tf(e);const a=-n.scrollTop;return Ht(r).direction==="rtl"&&(o+=at(t.clientWidth,r.clientWidth)-i),{width:i,height:s,x:o,y:a}}function CA(e,t){const n=ct(e),r=ln(e),i=n.visualViewport;let s=r.clientWidth,o=r.clientHeight,a=0,l=0;if(i){s=i.width,o=i.height;const u=Wp();(!u||u&&t==="fixed")&&(a=i.offsetLeft,l=i.offsetTop)}return{width:s,height:o,x:a,y:l}}function EA(e,t){const n=ii(e,!0,t==="fixed"),r=n.top+e.clientTop,i=n.left+e.clientLeft,s=rn(e)?$i(e):hr(1),o=e.clientWidth*s.x,a=e.clientHeight*s.y,l=i*s.x,u=r*s.y;return{width:o,height:a,x:l,y:u}}function vg(e,t,n){let r;if(t==="viewport")r=CA(e,n);else if(t==="document")r=SA(ln(e));else if(Wt(t))r=EA(t,n);else{const i=zx(e);r={...t,x:t.x-i.x,y:t.y-i.y}}return Ml(r)}function Fx(e,t){const n=gr(e);return n===t||!Wt(n)||ss(n)?!1:Ht(n).position==="fixed"||Fx(n,t)}function TA(e,t){const n=t.get(e);if(n)return n;let r=ko(e,[],!1).filter(a=>Wt(a)&&gs(a)!=="body"),i=null;const s=Ht(e).position==="fixed";let o=s?gr(e):e;for(;Wt(o)&&!ss(o);){const a=Ht(o),l=Up(o);!l&&a.position==="fixed"&&(i=null),(s?!l&&!i:!l&&a.position==="static"&&!!i&&["absolute","fixed"].includes(i.position)||Ko(o)&&!l&&Fx(e,o))?r=r.filter(c=>c!==o):i=a,o=gr(o)}return t.set(e,r),r}function PA(e){let{element:t,boundary:n,rootBoundary:r,strategy:i}=e;const o=[...n==="clippingAncestors"?gu(t)?[]:TA(t,this._c):[].concat(n),r],a=o[0],l=o.reduce((u,c)=>{const d=vg(t,c,i);return u.top=at(d.top,u.top),u.right=pr(d.right,u.right),u.bottom=pr(d.bottom,u.bottom),u.left=at(d.left,u.left),u},vg(t,a,i));return{width:l.right-l.left,height:l.bottom-l.top,x:l.left,y:l.top}}function kA(e){const{width:t,height:n}=_x(e);return{width:t,height:n}}function AA(e,t,n){const r=rn(t),i=ln(t),s=n==="fixed",o=ii(e,!0,s,t);let a={scrollLeft:0,scrollTop:0};const l=hr(0);if(r||!r&&!s)if((gs(t)!=="body"||Ko(i))&&(a=yu(t)),r){const p=ii(t,!0,s,t);l.x=p.x+t.clientLeft,l.y=p.y+t.clientTop}else i&&(l.x=tf(i));let u=0,c=0;if(i&&!r&&!s){const p=i.getBoundingClientRect();c=p.top+a.scrollTop,u=p.left+a.scrollLeft-tf(i,p)}const d=o.left+a.scrollLeft-l.x-u,f=o.top+a.scrollTop-l.y-c;return{x:d,y:f,width:o.width,height:o.height}}function bc(e){return Ht(e).position==="static"}function wg(e,t){if(!rn(e)||Ht(e).position==="fixed")return null;if(t)return t(e);let n=e.offsetParent;return ln(e)===n&&(n=n.ownerDocument.body),n}function Vx(e,t){const n=ct(e);if(gu(e))return n;if(!rn(e)){let i=gr(e);for(;i&&!ss(i);){if(Wt(i)&&!bc(i))return i;i=gr(i)}return n}let r=wg(e,t);for(;r&&gA(r)&&bc(r);)r=wg(r,t);return r&&ss(r)&&bc(r)&&!Up(r)?n:r||yA(e)||n}const RA=async function(e){const t=this.getOffsetParent||Vx,n=this.getDimensions,r=await n(e.floating);return{reference:AA(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:r.width,height:r.height}}};function NA(e){return Ht(e).direction==="rtl"}const MA={convertOffsetParentRelativeRectToViewportRelativeRect:xA,getDocumentElement:ln,getClippingRect:PA,getOffsetParent:Vx,getElementRects:RA,getClientRects:bA,getDimensions:kA,getScale:$i,isElement:Wt,isRTL:NA};function LA(e,t){let n=null,r;const i=ln(e);function s(){var a;clearTimeout(r),(a=n)==null||a.disconnect(),n=null}function o(a,l){a===void 0&&(a=!1),l===void 0&&(l=1),s();const{left:u,top:c,width:d,height:f}=e.getBoundingClientRect();if(a||t(),!d||!f)return;
vendor: 9,798 bytes, line 112
112const p=Ca(c),y=Ca(i.clientWidth-(u+d)),g=Ca(i.clientHeight-(c+f)),x=Ca(u),m={rootMargin:-p+"px "+-y+"px "+-g+"px "+-x+"px",threshold:at(0,pr(1,l))||1};let v=!0;function S(C){const E=C[0].intersectionRatio;if(E!==l){if(!v)return o();E?o(!1,E):r=setTimeout(()=>{o(!1,1e-7)},1e3)}v=!1}try{n=new IntersectionObserver(S,{...m,root:i.ownerDocument})}catch{n=new IntersectionObserver(S,m)}n.observe(e)}return o(!0),s}function DA(e,t,n,r){r===void 0&&(r={});const{ancestorScroll:i=!0,ancestorResize:s=!0,elementResize:o=typeof ResizeObserver=="function",layoutShift:a=typeof IntersectionObserver=="function",animationFrame:l=!1}=r,u=Hp(e),c=i||s?[...u?ko(u):[],...ko(t)]:[];c.forEach(h=>{i&&h.addEventListener("scroll",n,{passive:!0}),s&&h.addEventListener("resize",n)});const d=u&&a?LA(u,n):null;let f=-1,p=null;o&&(p=new ResizeObserver(h=>{let[m]=h;m&&m.target===u&&p&&(p.unobserve(t),cancelAnimationFrame(f),f=requestAnimationFrame(()=>{var v;(v=p)==null||v.observe(t)})),n()}),u&&!l&&p.observe(u),p.observe(t));let y,g=l?ii(e):null;l&&x();function x(){const h=ii(e);g&&(h.x!==g.x||h.y!==g.y||h.width!==g.width||h.height!==g.height)&&n(),g=h,y=requestAnimationFrame(x)}return n(),()=>{var h;c.forEach(m=>{i&&m.removeEventListener("scroll",n),s&&m.removeEventListener("resize",n)}),d==null||d(),(h=p)==null||h.disconnect(),p=null,l&&cancelAnimationFrame(y)}}const OA=fA,IA=pA,jA=uA,_A=mA,zA=cA,xg=lA,FA=hA,VA=(e,t,n)=>{const r=new Map,i={platform:MA,...n},s={...i.platform,_c:r};return aA(e,t,{...i,platform:s})};var Ga=typeof document<"u"?w.useLayoutEffect:w.useEffect;function Ll(e,t){if(e===t)return!0;if(typeof e!=typeof t)return!1;if(typeof e=="function"&&e.toString()===t.toString())return!0;let n,r,i;if(e&&t&&typeof e=="object"){if(Array.isArray(e)){if(n=e.length,n!==t.length)return!1;for(r=n;r--!==0;)if(!Ll(e[r],t[r]))return!1;return!0}if(i=Object.keys(e),n=i.length,n!==Object.keys(t).length)return!1;for(r=n;r--!==0;)if(!{}.hasOwnProperty.call(t,i[r]))return!1;for(r=n;r--!==0;){const s=i[r];if(!(s==="_owner"&&e.$$typeof)&&!Ll(e[s],t[s]))return!1}return!0}return e!==e&&t!==t}function Bx(e){return typeof window>"u"?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function bg(e,t){const n=Bx(e);return Math.round(t*n)/n}function Sc(e){const t=w.useRef(e);return Ga(()=>{t.current=e}),t}function BA(e){e===void 0&&(e={});const{placement:t="bottom",strategy:n="absolute",middleware:r=[],platform:i,elements:{reference:s,floating:o}={},transform:a=!0,whileElementsMounted:l,open:u}=e,[c,d]=w.useState({x:0,y:0,strategy:n,placement:t,middlewareData:{},isPositioned:!1}),[f,p]=w.useState(r);Ll(f,r)||p(r);const[y,g]=w.useState(null),[x,h]=w.useState(null),m=w.useCallback(A=>{A!==E.current&&(E.current=A,g(A))},[]),v=w.useCallback(A=>{A!==T.current&&(T.current=A,h(A))},[]),S=s||y,C=o||x,E=w.useRef(null),T=w.useRef(null),P=w.useRef(c),R=l!=null,k=Sc(l),_=Sc(i),I=Sc(u),U=w.useCallback(()=>{if(!E.current||!T.current)return;const A={placement:t,strategy:n,middleware:f};_.current&&(A.platform=_.current),VA(E.current,T.current,A).then(N=>{const j={...N,isPositioned:I.current!==!1};O.current&&!Ll(P.current,j)&&(P.current=j,Wo.flushSync(()=>{d(j)}))})},[f,t,n,_,I]);Ga(()=>{u===!1&&P.current.isPositioned&&(P.current.isPositioned=!1,d(A=>({...A,isPositioned:!1})))},[u]);const O=w.useRef(!1);Ga(()=>(O.current=!0,()=>{O.current=!1}),[]),Ga(()=>{if(S&&(E.current=S),C&&(T.current=C),S&&C){if(k.current)return k.current(S,C,U);U()}},[S,C,U,k,R]);const W=w.useMemo(()=>({reference:E,floating:T,setReference:m,setFloating:v}),[m,v]),V=w.useMemo(()=>({reference:S,floating:C}),[S,C]),G=w.useMemo(()=>{const A={position:n,left:0,top:0};if(!V.floating)return A;const N=bg(V.floating,c.x),j=bg(V.floating,c.y);return a?{...A,transform:"translate("+N+"px, "+j+"px)",...Bx(V.floating)>=1.5&&{willChange:"transform"}}:{position:n,left:N,top:j}},[n,a,V.floating,c.x,c.y]);return w.useMemo(()=>({...c,update:U,refs:W,elements:V,floatingStyles:G}),[c,U,W,V,G])}const $A=e=>{function t(n){return{}.hasOwnProperty.call(n,"current")}return{name:"arrow",options:e,fn(n){const{element:r,padding:i}=typeof e=="function"?e(n):e;return r&&t(r)?r.current!=null?xg({element:r.current,padding:i}).fn(n):{}:r?xg({element:r,padding:i}).fn(n):{}}}},UA=(e,t)=>({...OA(e),options:[e,t]}),WA=(e,t)=>({...IA(e),options:[e,t]}),HA=(e,t)=>({...FA(e),options:[e,t]}),KA=(e,t)=>({...jA(e),options:[e,t]}),GA=(e,t)=>({..._A(e),options:[e,t]}),qA=(e,t)=>({...zA(e),options:[e,t]}),YA=(e,t)=>({...$A(e),options:[e,t]});var QA="Arrow",$x=w.forwardRef((e,t)=>{const{children:n,width:r=10,height:i=5,...s}=e;return b.jsx(st.svg,{...s,ref:t,width:r,height:i,viewBox:"0 0 30 10",preserveAspectRatio:"none",children:e.asChild?n:b.jsx("polygon",{points:"0,0 30,0 15,10"})})});$x.displayName=QA;var XA=$x;function ZA(e){const[t,n]=w.useState(void 0);return fr(()=>{if(e){n({width:e.offsetWidth,height:e.offsetHeight});const r=new ResizeObserver(i=>{if(!Array.isArray(i)||!i.length)return;const s=i[0];let o,a;if("borderBoxSize"in s){const l=s.borderBoxSize,u=Array.isArray(l)?l[0]:l;o=u.inlineSize,a=u.blockSize}else o=e.offsetWidth,a=e.offsetHeight;n({width:o,height:a})});return r.observe(e,{box:"border-box"}),()=>r.unobserve(e)}else n(void 0)},[e]),t}var Ux="Popper",[Wx,Hx]=fu(Ux),[jj,Kx]=Wx(Ux),Gx="PopperAnchor",qx=w.forwardRef((e,t)=>{const{__scopePopper:n,virtualRef:r,...i}=e,s=Kx(Gx,n),o=w.useRef(null),a=Ut(t,o);return w.useEffect(()=>{s.onAnchorChange((r==null?void 0:r.current)||o.current)}),r?null:b.jsx(st.div,{...i,ref:a})});qx.displayName=Gx;var Kp="PopperContent",[JA,eR]=Wx(Kp),Yx=w.forwardRef((e,t)=>{var ee,ai,Nn,Er,Mn,li;const{__scopePopper:n,side:r="bottom",sideOffset:i=0,align:s="center",alignOffset:o=0,arrowPadding:a=0,avoidCollisions:l=!0,collisionBoundary:u=[],collisionPadding:c=0,sticky:d="partial",hideWhenDetached:f=!1,updatePositionStrategy:p="optimized",onPlaced:y,...g}=e,x=Kx(Kp,n),[h,m]=w.useState(null),v=Ut(t,Ln=>m(Ln)),[S,C]=w.useState(null),E=ZA(S),T=(E==null?void 0:E.width)??0,P=(E==null?void 0:E.height)??0,R=r+(s!=="center"?"-"+s:""),k=typeof c=="number"?c:{top:0,right:0,bottom:0,left:0,...c},_=Array.isArray(u)?u:[u],I=_.length>0,U={padding:k,boundary:_.filter(nR),altBoundary:I},{refs:O,floatingStyles:W,placement:V,isPositioned:G,middlewareData:A}=BA({strategy:"fixed",placement:R,whileElementsMounted:(...Ln)=>DA(...Ln,{animationFrame:p==="always"}),elements:{reference:x.anchor},middleware:[UA({mainAxis:i+P,alignmentAxis:o}),l&&WA({mainAxis:!0,crossAxis:!1,limiter:d==="partial"?HA():void 0,...U}),l&&KA({...U}),GA({...U,apply:({elements:Ln,rects:Zo,availableWidth:ju,availableHeight:Jo})=>{const{width:_u,height:Ts}=Zo.reference,ui=Ln.floating.style;ui.setProperty("--radix-popper-available-width",`${ju}px`),ui.setProperty("--radix-popper-available-height",`${Jo}px`),ui.setProperty("--radix-popper-anchor-width",`${_u}px`),ui.setProperty("--radix-popper-anchor-height",`${Ts}px`)}}),S&&YA({element:S,padding:a}),rR({arrowWidth:T,arrowHeight:P}),f&&qA({strategy:"referenceHidden",...U})]}),[N,j]=Zx(V),$=dr(y);fr(()=>{G&&($==null||$())},[G,$]);const B=(ee=A.arrow)==null?void 0:ee.x,Y=(ai=A.arrow)==null?void 0:ai.y,X=((Nn=A.arrow)==null?void 0:Nn.centerOffset)!==0,[we,Oe]=w.useState();return fr(()=>{h&&Oe(window.getComputedStyle(h).zIndex)},[h]),b.jsx("div",{ref:O.setFloating,"data-radix-popper-content-wrapper":"",style:{...W,transform:G?W.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:we,"--radix-popper-transform-origin":[(Er=A.transformOrigin)==null?void 0:Er.x,(Mn=A.transformOrigin)==null?void 0:Mn.y].join(" "),...((li=A.hide)==null?void 0:li.referenceHidden)&&{visibility:"hidden",pointerEvents:"none"}},dir:e.dir,children:b.jsx(JA,{scope:n,placedSide:N,onArrowChange:C,arrowX:B,arrowY:Y,shouldHideArrow:X,children:b.jsx(st.div,{"data-side":N,"data-align":j,...g,ref:v,style:{...g.style,animation:G?void 0:"none"}})})})});Yx.displayName=Kp;var Qx="PopperArrow",tR={top:"bottom",right:"left",bottom:"top",left:"right"},Xx=w.forwardRef(function(t,n){const{__scopePopper:r,...i}=t,s=eR(Qx,r),o=tR[s.placedSide];return b.jsx("span",{ref:s.onArrowChange,style:{position:"absolute",left:s.arrowX,top:s.arrowY,[o]:0,transformOrigin:{top:"",right:"0 0",bottom:"center 0",left:"100% 0"}[s.placedSide],transform:{top:"translateY(100%)",right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:"rotate(180deg)",left:"translateY(50%) rotate(-90deg) translateX(50%)"}[s.placedSide],visibility:s.shouldHideArrow?"hidden":void 0},children:b.jsx(XA,{...i,ref:n,style:{...i.style,display:"block"}})})});Xx.displayName=Qx;function nR(e){return e!==null}var rR=e=>({name:"transformOrigin",options:e,fn(t){var x,h,m;const{placement:n,rects:r,middlewareData:i}=t,o=((x=i.arrow)==null?void 0:x.centerOffset)!==0,a=o?0:e.arrowWidth,l=o?0:e.arrowHeight,[u,c]=Zx(n),d={start:"0%",center:"50%",end:"100%"}[c],f=(((h=i.arrow)==null?void 0:h.x)??0)+a/2,p=(((m=i.arrow)==null?void 0:m.y)??0)+l/2;let y="",g="";return u==="bottom"?(y=o?d:`${f}px`,g=`${-l}px`):u==="top"?(y=o?d:`${f}px`,g=`${r.floating.height+l}px`):u==="right"?(y=`${-l}px`,g=o?d:`${p}px`):u==="left"&&(y=`${r.floating.width+l}px`,g=o?d:`${p}px`),{data:{x:y,y:g}}}});function Zx(e){const[t,n="center"]=e.split("-");return[t,n]}var iR=qx,sR=Yx,oR=Xx,[vu,_j]=fu("Tooltip",[Hx]),Gp=Hx(),Jx="TooltipProvider",aR=700,Sg="tooltip.open",[lR,e1]=vu(Jx),t1=e=>{const{__scopeTooltip:t,delayDuration:n=aR,skipDelayDuration:r=300,disableHoverableContent:i=!1,children:s}=e,o=w.useRef(!0),a=w.useRef(!1),l=w.useRef(0);return w.useEffect(()=>{const u=l.current;return()=>window.clearTimeout(u)},[]),b.jsx(lR,{scope:t,isOpenDelayedRef:o,delayDuration:n,onOpen:w.useCallback(()=>{window.clearTimeout(l.current),o.current=!1},[]),onClose:w.useCallback(()=>{window.clearTimeout(l.current),l.current=window.setTimeout(()=>
vendor: 5,465 bytes, line 112
112o.current=!0,r)},[r]),isPointerInTransitRef:a,onPointerInTransitChange:w.useCallback(u=>{a.current=u},[]),disableHoverableContent:i,children:s})};t1.displayName=Jx;var n1="Tooltip",[zj,wu]=vu(n1),nf="TooltipTrigger",uR=w.forwardRef((e,t)=>{const{__scopeTooltip:n,...r}=e,i=wu(nf,n),s=e1(nf,n),o=Gp(n),a=w.useRef(null),l=Ut(t,a,i.onTriggerChange),u=w.useRef(!1),c=w.useRef(!1),d=w.useCallback(()=>u.current=!1,[]);return w.useEffect(()=>()=>document.removeEventListener("pointerup",d),[d]),b.jsx(iR,{asChild:!0,...o,children:b.jsx(st.button,{"aria-describedby":i.open?i.contentId:void 0,"data-state":i.stateAttribute,...r,ref:l,onPointerMove:Ee(e.onPointerMove,f=>{f.pointerType!=="touch"&&!c.current&&!s.isPointerInTransitRef.current&&(i.onTriggerEnter(),c.current=!0)}),onPointerLeave:Ee(e.onPointerLeave,()=>{i.onTriggerLeave(),c.current=!1}),onPointerDown:Ee(e.onPointerDown,()=>{i.open&&i.onClose(),u.current=!0,document.addEventListener("pointerup",d,{once:!0})}),onFocus:Ee(e.onFocus,()=>{u.current||i.onOpen()}),onBlur:Ee(e.onBlur,i.onClose),onClick:Ee(e.onClick,i.onClose)})})});uR.displayName=nf;var cR="TooltipPortal",[Fj,dR]=vu(cR,{forceMount:void 0}),os="TooltipContent",r1=w.forwardRef((e,t)=>{const n=dR(os,e.__scopeTooltip),{forceMount:r=n.forceMount,side:i="top",...s}=e,o=wu(os,e.__scopeTooltip);return b.jsx(Ip,{present:r||o.open,children:o.disableHoverableContent?b.jsx(i1,{side:i,...s,ref:t}):b.jsx(fR,{side:i,...s,ref:t})})}),fR=w.forwardRef((e,t)=>{const n=wu(os,e.__scopeTooltip),r=e1(os,e.__scopeTooltip),i=w.useRef(null),s=Ut(t,i),[o,a]=w.useState(null),{trigger:l,onClose:u}=n,c=i.current,{onPointerInTransitChange:d}=r,f=w.useCallback(()=>{a(null),d(!1)},[d]),p=w.useCallback((y,g)=>{const x=y.currentTarget,h={x:y.clientX,y:y.clientY},m=yR(h,x.getBoundingClientRect()),v=vR(h,m),S=wR(g.getBoundingClientRect()),C=bR([...v,...S]);a(C),d(!0)},[d]);return w.useEffect(()=>()=>f(),[f]),w.useEffect(()=>{if(l&&c){const y=x=>p(x,c),g=x=>p(x,l);return l.addEventListener("pointerleave",y),c.addEventListener("pointerleave",g),()=>{l.removeEventListener("pointerleave",y),c.removeEventListener("pointerleave",g)}}},[l,c,p,f]),w.useEffect(()=>{if(o){const y=g=>{const x=g.target,h={x:g.clientX,y:g.clientY},m=(l==null?void 0:l.contains(x))||(c==null?void 0:c.contains(x)),v=!xR(h,o);m?f():v&&(f(),u())};return document.addEventListener("pointermove",y),()=>document.removeEventListener("pointermove",y)}},[l,c,o,u,f]),b.jsx(i1,{...e,ref:s})}),[pR,hR]=vu(n1,{isInside:!1}),mR=VT("TooltipContent"),i1=w.forwardRef((e,t)=>{const{__scopeTooltip:n,children:r,"aria-label":i,onEscapeKeyDown:s,onPointerDownOutside:o,...a}=e,l=wu(os,n),u=Gp(n),{onClose:c}=l;return w.useEffect(()=>(document.addEventListener(Sg,c),()=>document.removeEventListener(Sg,c)),[c]),w.useEffect(()=>{if(l.trigger){const d=f=>{const p=f.target;p!=null&&p.contains(l.trigger)&&c()};return window.addEventListener("scroll",d,{capture:!0}),()=>window.removeEventListener("scroll",d,{capture:!0})}},[l.trigger,c]),b.jsx(Op,{asChild:!0,disableOutsidePointerEvents:!1,onEscapeKeyDown:s,onPointerDownOutside:o,onFocusOutside:d=>d.preventDefault(),onDismiss:c,children:b.jsxs(sR,{"data-state":l.stateAttribute,...u,...a,ref:t,style:{...a.style,"--radix-tooltip-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-tooltip-content-available-width":"var(--radix-popper-available-width)","--radix-tooltip-content-available-height":"var(--radix-popper-available-height)","--radix-tooltip-trigger-width":"var(--radix-popper-anchor-width)","--radix-tooltip-trigger-height":"var(--radix-popper-anchor-height)"},children:[b.jsx(mR,{children:r}),b.jsx(pR,{scope:n,isInside:!0,children:b.jsx(dP,{id:l.contentId,role:"tooltip",children:i||r})})]})})});r1.displayName=os;var s1="TooltipArrow",gR=w.forwardRef((e,t)=>{const{__scopeTooltip:n,...r}=e,i=Gp(n);return hR(s1,n).isInside?null:b.jsx(oR,{...i,...r,ref:t})});gR.displayName=s1;function yR(e,t){const n=Math.abs(t.top-e.y),r=Math.abs(t.bottom-e.y),i=Math.abs(t.right-e.x),s=Math.abs(t.left-e.x);switch(Math.min(n,r,i,s)){case s:return"left";case i:return"right";case n:return"top";case r:return"bottom";default:throw new Error("unreachable")}}function vR(e,t,n=5){const r=[];switch(t){case"top":r.push({x:e.x-n,y:e.y+n},{x:e.x+n,y:e.y+n});break;case"bottom":r.push({x:e.x-n,y:e.y-n},{x:e.x+n,y:e.y-n});break;case"left":r.push({x:e.x+n,y:e.y-n},{x:e.x+n,y:e.y+n});break;case"right":r.push({x:e.x-n,y:e.y-n},{x:e.x-n,y:e.y+n});break}return r}function wR(e){const{top:t,right:n,bottom:r,left:i}=e;return[{x:i,y:t},{x:n,y:t},{x:n,y:r},{x:i,y:r}]}function xR(e,t){const{x:n,y:r}=e;let i=!1;for(let s=0,o=t.length-1;s<t.length;o=s++){const a=t[s],l=t[o],u=a.x,c=a.y,d=l.x,f=l.y;c>r!=f>r&&n<(d-u)*(r-c)/(f-c)+u&&(i=!i)}return i}function bR(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 i=e[r];for(;t.length>=2;){const s=t[t.length-1],o=t[t.length-2];if((s.x-o.x)*(i.y-o.y)>=(s.y-o.y)*(i.x-o.x))t.pop();else break}t.push(i)}t.pop();const n=[];for(let r=e.length-1;r>=0;r--){const i=e[r];for(;n.length>=2;){const s=n[n.length-1],o=n[n.length-2];if((s.x-o.x)*(i.y-o.y)>=(s.y-o.y)*(i.x-o.x))n.pop();else break}n.push(i)}return n.pop(),t.length===1&&n.length===1&&t[0].x===n[0].x&&t[0].y===n[0].y?t:t.concat(n)}var CR=t1,o1=r1;const ER=CR,TR=w.forwardRef(({className:e,sideOffset:t=4,...n},r)=>
vendor: 8,481 bytes, line 112
112b.jsx(o1,{ref:r,sideOffset:t,className:Sr("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}));TR.displayName=o1.displayName;var xu=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(){}},bu=typeof window>"u"||"Deno"in globalThis;function Dt(){}function PR(e,t){return typeof e=="function"?e(t):e}function kR(e){return typeof e=="number"&&e>=0&&e!==1/0}function AR(e,t){return Math.max(e+(t||0)-Date.now(),0)}function rf(e,t){return typeof e=="function"?e(t):e}function RR(e,t){return typeof e=="function"?e(t):e}function Cg(e,t){const{type:n="all",exact:r,fetchStatus:i,predicate:s,queryKey:o,stale:a}=e;if(o){if(r){if(t.queryHash!==qp(o,t.options))return!1}else if(!Ro(t.queryKey,o))return!1}if(n!=="all"){const l=t.isActive();if(n==="active"&&!l||n==="inactive"&&l)return!1}return!(typeof a=="boolean"&&t.isStale()!==a||i&&i!==t.state.fetchStatus||s&&!s(t))}function Eg(e,t){const{exact:n,status:r,predicate:i,mutationKey:s}=e;if(s){if(!t.options.mutationKey)return!1;if(n){if(Ao(t.options.mutationKey)!==Ao(s))return!1}else if(!Ro(t.options.mutationKey,s))return!1}return!(r&&t.state.status!==r||i&&!i(t))}function qp(e,t){return((t==null?void 0:t.queryKeyHashFn)||Ao)(e)}function Ao(e){return JSON.stringify(e,(t,n)=>sf(n)?Object.keys(n).sort().reduce((r,i)=>(r[i]=n[i],r),{}):n)}function Ro(e,t){return e===t?!0:typeof e!=typeof t?!1:e&&t&&typeof e=="object"&&typeof t=="object"?Object.keys(t).every(n=>Ro(e[n],t[n])):!1}function a1(e,t){if(e===t)return e;const n=Tg(e)&&Tg(t);if(n||sf(e)&&sf(t)){const r=n?e:Object.keys(e),i=r.length,s=n?t:Object.keys(t),o=s.length,a=n?[]:{},l=new Set(r);let u=0;for(let c=0;c<o;c++){const d=n?c:s[c];(!n&&l.has(d)||n)&&e[d]===void 0&&t[d]===void 0?(a[d]=void 0,u++):(a[d]=a1(e[d],t[d]),a[d]===e[d]&&e[d]!==void 0&&u++)}return i===o&&u===i?e:a}return t}function Tg(e){return Array.isArray(e)&&e.length===Object.keys(e).length}function sf(e){if(!Pg(e))return!1;const t=e.constructor;if(t===void 0)return!0;const n=t.prototype;return!(!Pg(n)||!n.hasOwnProperty("isPrototypeOf")||Object.getPrototypeOf(e)!==Object.prototype)}function Pg(e){return Object.prototype.toString.call(e)==="[object Object]"}function NR(e){return new Promise(t=>{setTimeout(t,e)})}function MR(e,t,n){return typeof n.structuralSharing=="function"?n.structuralSharing(e,t):n.structuralSharing!==!1?a1(e,t):t}function LR(e,t,n=0){const r=[...e,t];return n&&r.length>n?r.slice(1):r}function DR(e,t,n=0){const r=[t,...e];return n&&r.length>n?r.slice(0,-1):r}var Yp=Symbol();function l1(e,t){return!e.queryFn&&(t!=null&&t.initialPromise)?()=>t.initialPromise:!e.queryFn||e.queryFn===Yp?()=>Promise.reject(new Error(`Missing queryFn: '${e.queryHash}'`)):e.queryFn}var $r,Hn,Wi,yv,OR=(yv=class extends xu{constructor(){super();J(this,$r);J(this,Hn);J(this,Wi);K(this,Wi,t=>{if(!bu&&window.addEventListener){const n=()=>t();return window.addEventListener("visibilitychange",n,!1),()=>{window.removeEventListener("visibilitychange",n)}}})}onSubscribe(){M(this,Hn)||this.setEventListener(M(this,Wi))}onUnsubscribe(){var t;this.hasListeners()||((t=M(this,Hn))==null||t.call(this),K(this,Hn,void 0))}setEventListener(t){var n;K(this,Wi,t),(n=M(this,Hn))==null||n.call(this),K(this,Hn,t(r=>{typeof r=="boolean"?this.setFocused(r):this.onFocus()}))}setFocused(t){M(this,$r)!==t&&(K(this,$r,t),this.onFocus())}onFocus(){const t=this.isFocused();this.listeners.forEach(n=>{n(t)})}isFocused(){var t;return typeof M(this,$r)=="boolean"?M(this,$r):((t=globalThis.document)==null?void 0:t.visibilityState)!=="hidden"}},$r=new WeakMap,Hn=new WeakMap,Wi=new WeakMap,yv),u1=new OR,Hi,Kn,Ki,vv,IR=(vv=class extends xu{constructor(){super();J(this,Hi,!0);J(this,Kn);J(this,Ki);K(this,Ki,t=>{if(!bu&&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(){M(this,Kn)||this.setEventListener(M(this,Ki))}onUnsubscribe(){var t;this.hasListeners()||((t=M(this,Kn))==null||t.call(this),K(this,Kn,void 0))}setEventListener(t){var n;K(this,Ki,t),(n=M(this,Kn))==null||n.call(this),K(this,Kn,t(this.setOnline.bind(this)))}setOnline(t){M(this,Hi)!==t&&(K(this,Hi,t),this.listeners.forEach(r=>{r(t)}))}isOnline(){return M(this,Hi)}},Hi=new WeakMap,Kn=new WeakMap,Ki=new WeakMap,vv),Dl=new IR;function jR(){let e,t;const n=new Promise((i,s)=>{e=i,t=s});n.status="pending",n.catch(()=>{});function r(i){Object.assign(n,i),delete n.resolve,delete n.reject}return n.resolve=i=>{r({status:"fulfilled",value:i}),e(i)},n.reject=i=>{r({status:"rejected",reason:i}),t(i)},n}function _R(e){return Math.min(1e3*2**e,3e4)}function c1(e){return(e??"online")==="online"?Dl.isOnline():!0}var d1=class extends Error{constructor(e){super("CancelledError"),this.revert=e==null?void 0:e.revert,this.silent=e==null?void 0:e.silent}};function Cc(e){return e instanceof d1}function f1(e){let t=!1,n=0,r=!1,i;const s=jR(),o=g=>{var x;r||(f(new d1(g)),(x=e.abort)==null||x.call(e))},a=()=>{t=!0},l=()=>{t=!1},u=()=>u1.isFocused()&&(e.networkMode==="always"||Dl.isOnline())&&e.canRun(),c=()=>c1(e.networkMode)&&e.canRun(),d=g=>{var x;r||(r=!0,(x=e.onSuccess)==null||x.call(e,g),i==null||i(),s.resolve(g))},f=g=>{var x;r||(r=!0,(x=e.onError)==null||x.call(e,g),i==null||i(),s.reject(g))},p=()=>new Promise(g=>{var x;i=h=>{(r||u())&&g(h)},(x=e.onPause)==null||x.call(e)}).then(()=>{var g;i=void 0,r||(g=e.onContinue)==null||g.call(e)}),y=()=>{if(r)return;let g;const x=n===0?e.initialPromise:void 0;try{g=x??e.fn()}catch(h){g=Promise.reject(h)}Promise.resolve(g).then(d).catch(h=>{var E;if(r)return;const m=e.retry??(bu?0:3),v=e.retryDelay??_R,S=typeof v=="function"?v(n,h):v,C=m===!0||typeof m=="number"&&n<m||typeof m=="function"&&m(n,h);if(t||!C){f(h);return}n++,(E=e.onFail)==null||E.call(e,n,h),NR(S).then(()=>u()?void 0:p()).then(()=>{t?f(h):y()})})};return{promise:s,cancel:o,continue:()=>(i==null||i(),s),cancelRetry:a,continueRetry:l,canStart:c,start:()=>(c()?y():p().then(y),s)}}var zR=e=>setTimeout(e,0);function FR(){let e=[],t=0,n=a=>{a()},r=a=>{a()},i=zR;const s=a=>{t?e.push(a):i(()=>{n(a)})},o=()=>{const a=e;e=[],a.length&&i(()=>{r(()=>{a.forEach(l=>{n(l)})})})};return{batch:a=>{let l;t++;try{l=a()}finally{t--,t||o()}return l},batchCalls:a=>(...l)=>{s(()=>{a(...l)})},schedule:s,setNotifyFunction:a=>{n=a},setBatchNotifyFunction:a=>{r=a},setScheduler:a=>{i=a}}}var He=FR(),Ur,wv,p1=(wv=class{constructor(){J(this,Ur)}destroy(){this.clearGcTimeout()}scheduleGc(){this.clearGcTimeout(),kR(this.gcTime)&&K(this,Ur,setTimeout(()=>{this.optionalRemove()},this.gcTime))}updateGcTime(e){this.gcTime=Math.max(this.gcTime||0,e??(bu?1/0:5*60*1e3))}clearGcTimeout(){M(this,Ur)&&(clearTimeout(M(this,Ur)),K(this,Ur,void 0))}},Ur=new WeakMap,wv),Gi,Wr,gt,Hr,ze,jo,Kr,Ot,fn,xv,VR=(xv=class extends p1{constructor(t){super();J(this,Ot);J(this,Gi);J(this,Wr);J(this,gt);J(this,Hr);J(this,ze);J(this,jo);J(this,Kr);K(this,Kr,!1),K(this,jo,t.defaultOptions),this.setOptions(t.options),this.observers=[],K(this,Hr,t.client),K(this,gt,M(this,Hr).getQueryCache()),this.queryKey=t.queryKey,this.queryHash=t.queryHash,K(this,Gi,$R(this.options)),this.state=t.state??M(this,Gi),this.scheduleGc()}get meta(){return this.options.meta}get promise(){var t;return(t=M(this,ze))==null?void 0:t.promise}setOptions(t){this.options={...M(this,jo),...t},this.updateGcTime(this.options.gcTime)}optionalRemove(){!this.observers.length&&this.state.fetchStatus==="idle"&&M(this,gt).remove(this)}setData(t,n){const r=MR(this.state.data,t,this.options);return Ie(this,Ot,fn).call(this,{data:r,type:"success",dataUpdatedAt:n==null?void 0:n.updatedAt,manual:n==null?void 0:n.manual}),r}setState(t,n){Ie(this,Ot,fn).call(this,{type:"setState",state:t,setStateOptions:n})}cancel(t){var r,i;const n=(r=M(this,ze))==null?void 0:r.promise;return(i=M(this,ze))==null||i.cancel(t),n?n.then(Dt).catch(Dt):Prom
vendor: 1,602 bytes, line 112
112ise.resolve()}destroy(){super.destroy(),this.cancel({silent:!0})}reset(){this.destroy(),this.setState(M(this,Gi))}isActive(){return this.observers.some(t=>RR(t.options.enabled,this)!==!1)}isDisabled(){return this.getObserversCount()>0?!this.isActive():this.options.queryFn===Yp||this.state.dataUpdateCount+this.state.errorUpdateCount===0}isStatic(){return this.getObserversCount()>0?this.observers.some(t=>rf(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:!AR(this.state.dataUpdatedAt,t)}onFocus(){var n;const t=this.observers.find(r=>r.shouldFetchOnWindowFocus());t==null||t.refetch({cancelRefetch:!1}),(n=M(this,ze))==null||n.continue()}onOnline(){var n;const t=this.observers.find(r=>r.shouldFetchOnReconnect());t==null||t.refetch({cancelRefetch:!1}),(n=M(this,ze))==null||n.continue()}addObserver(t){this.observers.includes(t)||(this.observers.push(t),this.clearGcTimeout(),M(this,gt).notify({type:"observerAdded",query:this,observer:t}))}removeObserver(t){this.observers.includes(t)&&(this.observers=this.observers.filter(n=>n!==t),this.observers.length||(M(this,ze)&&(M(this,Kr)?M(this,ze).cancel({revert:!0}):M(this,ze).cancelRetry()),this.scheduleGc()),M(this,gt).notify({type:"observerRemoved",query:this,observer:t}))}getObserversCount(){return this.observers.length}invalidate(){this.state.isInvalidated||Ie(this,Ot,fn).call(this,{type:"invalidate"})}
vendor: 8,718 bytes, line 112
112fetch(t,n){var u,c,d;if(this.state.fetchStatus!=="idle"){if(this.state.data!==void 0&&(n!=null&&n.cancelRefetch))this.cancel({silent:!0});else if(M(this,ze))return M(this,ze).continueRetry(),M(this,ze).promise}if(t&&this.setOptions(t),!this.options.queryFn){const f=this.observers.find(p=>p.options.queryFn);f&&this.setOptions(f.options)}const r=new AbortController,i=f=>{Object.defineProperty(f,"signal",{enumerable:!0,get:()=>(K(this,Kr,!0),r.signal)})},s=()=>{const f=l1(this.options,n),y=(()=>{const g={client:M(this,Hr),queryKey:this.queryKey,meta:this.meta};return i(g),g})();return K(this,Kr,!1),this.options.persister?this.options.persister(f,y,this):f(y)},a=(()=>{const f={fetchOptions:n,options:this.options,queryKey:this.queryKey,client:M(this,Hr),state:this.state,fetchFn:s};return i(f),f})();(u=this.options.behavior)==null||u.onFetch(a,this),K(this,Wr,this.state),(this.state.fetchStatus==="idle"||this.state.fetchMeta!==((c=a.fetchOptions)==null?void 0:c.meta))&&Ie(this,Ot,fn).call(this,{type:"fetch",meta:(d=a.fetchOptions)==null?void 0:d.meta});const l=f=>{var p,y,g,x;Cc(f)&&f.silent||Ie(this,Ot,fn).call(this,{type:"error",error:f}),Cc(f)||((y=(p=M(this,gt).config).onError)==null||y.call(p,f,this),(x=(g=M(this,gt).config).onSettled)==null||x.call(g,this.state.data,f,this)),this.scheduleGc()};return K(this,ze,f1({initialPromise:n==null?void 0:n.initialPromise,fn:a.fetchFn,abort:r.abort.bind(r),onSuccess:f=>{var p,y,g,x;if(f===void 0){l(new Error(`${this.queryHash} data is undefined`));return}try{this.setData(f)}catch(h){l(h);return}(y=(p=M(this,gt).config).onSuccess)==null||y.call(p,f,this),(x=(g=M(this,gt).config).onSettled)==null||x.call(g,f,this.state.error,this),this.scheduleGc()},onError:l,onFail:(f,p)=>{Ie(this,Ot,fn).call(this,{type:"failed",failureCount:f,error:p})},onPause:()=>{Ie(this,Ot,fn).call(this,{type:"pause"})},onContinue:()=>{Ie(this,Ot,fn).call(this,{type:"continue"})},retry:a.options.retry,retryDelay:a.options.retryDelay,networkMode:a.options.networkMode,canRun:()=>!0})),M(this,ze).start()}},Gi=new WeakMap,Wr=new WeakMap,gt=new WeakMap,Hr=new WeakMap,ze=new WeakMap,jo=new WeakMap,Kr=new WeakMap,Ot=new WeakSet,fn=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,...BR(r.data,this.options),fetchMeta:t.meta??null};case"success":return K(this,Wr,void 0),{...r,data:t.data,dataUpdateCount:r.dataUpdateCount+1,dataUpdatedAt:t.dataUpdatedAt??Date.now(),error:null,isInvalidated:!1,status:"success",...!t.manual&&{fetchStatus:"idle",fetchFailureCount:0,fetchFailureReason:null}};case"error":const i=t.error;return Cc(i)&&i.revert&&M(this,Wr)?{...M(this,Wr),fetchStatus:"idle"}:{...r,error:i,errorUpdateCount:r.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:r.fetchFailureCount+1,fetchFailureReason:i,fetchStatus:"idle",status:"error"};case"invalidate":return{...r,isInvalidated:!0};case"setState":return{...r,...t.state}}};this.state=n(this.state),He.batch(()=>{this.observers.forEach(r=>{r.onQueryUpdate()}),M(this,gt).notify({query:this,type:"updated",action:t})})},xv);function BR(e,t){return{fetchFailureCount:0,fetchFailureReason:null,fetchStatus:c1(t.networkMode)?"fetching":"paused",...e===void 0&&{error:null,status:"pending"}}}function $R(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 Yt,bv,UR=(bv=class extends xu{constructor(t={}){super();J(this,Yt);this.config=t,K(this,Yt,new Map)}build(t,n,r){const i=n.queryKey,s=n.queryHash??qp(i,n);let o=this.get(s);return o||(o=new VR({client:t,queryKey:i,queryHash:s,options:t.defaultQueryOptions(n),state:r,defaultOptions:t.getQueryDefaults(i)}),this.add(o)),o}add(t){M(this,Yt).has(t.queryHash)||(M(this,Yt).set(t.queryHash,t),this.notify({type:"added",query:t}))}remove(t){const n=M(this,Yt).get(t.queryHash);n&&(t.destroy(),n===t&&M(this,Yt).delete(t.queryHash),this.notify({type:"removed",query:t}))}clear(){He.batch(()=>{this.getAll().forEach(t=>{this.remove(t)})})}get(t){return M(this,Yt).get(t)}getAll(){return[...M(this,Yt).values()]}find(t){const n={exact:!0,...t};return this.getAll().find(r=>Cg(n,r))}findAll(t={}){const n=this.getAll();return Object.keys(t).length>0?n.filter(r=>Cg(t,r)):n}notify(t){He.batch(()=>{this.listeners.forEach(n=>{n(t)})})}onFocus(){He.batch(()=>{this.getAll().forEach(t=>{t.onFocus()})})}onOnline(){He.batch(()=>{this.getAll().forEach(t=>{t.onOnline()})})}},Yt=new WeakMap,bv),Qt,$e,Gr,Xt,Fn,Sv,WR=(Sv=class extends p1{constructor(t){super();J(this,Xt);J(this,Qt);J(this,$e);J(this,Gr);this.mutationId=t.mutationId,K(this,$e,t.mutationCache),K(this,Qt,[]),this.state=t.state||HR(),this.setOptions(t.options),this.scheduleGc()}setOptions(t){this.options=t,this.updateGcTime(this.options.gcTime)}get meta(){return this.options.meta}addObserver(t){M(this,Qt).includes(t)||(M(this,Qt).push(t),this.clearGcTimeout(),M(this,$e).notify({type:"observerAdded",mutation:this,observer:t}))}removeObserver(t){K(this,Qt,M(this,Qt).filter(n=>n!==t)),this.scheduleGc(),M(this,$e).notify({type:"observerRemoved",mutation:this,observer:t})}optionalRemove(){M(this,Qt).length||(this.state.status==="pending"?this.scheduleGc():M(this,$e).remove(this))}continue(){var t;return((t=M(this,Gr))==null?void 0:t.continue())??this.execute(this.state.variables)}async execute(t){var s,o,a,l,u,c,d,f,p,y,g,x,h,m,v,S,C,E,T,P;const n=()=>{Ie(this,Xt,Fn).call(this,{type:"continue"})};K(this,Gr,f1({fn:()=>this.options.mutationFn?this.options.mutationFn(t):Promise.reject(new Error("No mutationFn found")),onFail:(R,k)=>{Ie(this,Xt,Fn).call(this,{type:"failed",failureCount:R,error:k})},onPause:()=>{Ie(this,Xt,Fn).call(this,{type:"pause"})},onContinue:n,retry:this.options.retry??0,retryDelay:this.options.retryDelay,networkMode:this.options.networkMode,canRun:()=>M(this,$e).canRun(this)}));const r=this.state.status==="pending",i=!M(this,Gr).canStart();try{if(r)n();else{Ie(this,Xt,Fn).call(this,{type:"pending",variables:t,isPaused:i}),await((o=(s=M(this,$e).config).onMutate)==null?void 0:o.call(s,t,this));const k=await((l=(a=this.options).onMutate)==null?void 0:l.call(a,t));k!==this.state.context&&Ie(this,Xt,Fn).call(this,{type:"pending",context:k,variables:t,isPaused:i})}const R=await M(this,Gr).start();return await((c=(u=M(this,$e).config).onSuccess)==null?void 0:c.call(u,R,t,this.state.context,this)),await((f=(d=this.options).onSuccess)==null?void 0:f.call(d,R,t,this.state.context)),await((y=(p=M(this,$e).config).onSettled)==null?void 0:y.call(p,R,null,this.state.variables,this.state.context,this)),await((x=(g=this.options).onSettled)==null?void 0:x.call(g,R,null,t,this.state.context)),Ie(this,Xt,Fn).call(this,{type:"success",data:R}),R}catch(R){try{throw await((m=(h=M(this,$e).config).onError)==null?void 0:m.call(h,R,t,this.state.context,this)),await((S=(v=this.options).onError)==null?void 0:S.call(v,R,t,this.state.context)),await((E=(C=M(this,$e).config).onSettled)==null?void 0:E.call(C,void 0,R,this.state.variables,this.state.context,this)),await((P=(T=this.options).onSettled)==null?void 0:P.call(T,void 0,R,t,this.state.context)),R}finally{Ie(this,Xt,Fn).call(this,{type:"error",error:R})}}finally{M(this,$e).runNext(this)}}},Qt=new WeakMap,$e=new WeakMap,Gr=new WeakMap,Xt=new WeakSet,Fn=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),He.batch(()=>{M(this,Qt).forEach(r=>{r.onMutationUpdate(t)}),M(this,$e).notify({mutation:this,type:"updated",action:t})})},Sv);function HR(){return{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:"idle",variables:void 0,submittedAt:0}}var yn,It,_o,Cv,KR=(Cv=class extends xu{constructor(t={}){super();
112J(this,yn);J(this,It);J(this,_o);this.config=t,K(this,yn,new Set),K(this,It,new Map),K(this,_o,0)}build(t,n,r){const i=new WR({mutationCache:this,mutationId:++ta(this,_o)._,options:t.defaultMutationOptions(n),state:r});return this.add(i),i}add(t){M(this,yn).add(t);const n=Ea(t);if(typeof n=="string"){const r=M(this,It).get(n);r?r.push(t):M(this,It).set(n,[t])}this.notify({type:"added",mutation:t})}remove(t){if(M(this,yn).delete(t)){const n=Ea(t);if(typeof n=="string"){const r=M(this,It).get(n);if(r)if(r.length>1){const i=r.indexOf(t);i!==-1&&r.splice(i,1)}else r[0]===t&&M(this,It).delete(n)}}this.notify({type:"removed",mutation:t})}canRun(t){const n=Ea(t);if(typeof n=="string"){const r=M(this,It).get(n),i=r==null?void 0:r.find(s=>s.state.status==="pending");return!i||i===t}else return!0}runNext(t){var r;const n=Ea(t);if(typeof n=="string"){const i=(r=M(this,It).get(n))==null?void 0:r.find(s=>s!==t&&s.state.isPaused);return(i==null?void 0:i.continue())??Promise.resolve()}else return Promise.resolve()}clear(){He.batch(()=>{M(this,yn).forEach(t=>{this.notify({type:"removed",mutation:t})}),M(this,yn).clear(),M(this,It).clear()})}getAll(){return Array.from(M(this,yn))}find(t){const n={exact:!0,...t};return this.getAll().find(r=>Eg(n,r))}findAll(t={}){return this.getAll().filter(n=>Eg(t,n))}notify(t){He.batch(()=>{this.listeners.forEach(n=>{n(t)})})}resumePausedMutations(){const t=this.getAll().filter(n=>n.state.isPaused);return He.batch(()=>Promise.all(t.map(n=>n.continue().catch(Dt))))}},yn=new WeakMap,It=new WeakMap,_o=new WeakMap,Cv);function Ea(e){var t;return(t=e.options.scope)==null?void 0:t.id}function kg(e){return{onFetch:(t,n)=>{var c,d,f,p,y;const r=t.options,i=(f=(d=(c=t.fetchOptions)==null?void 0:c.meta)==null?void 0:d.fetchMore)==null?void 0:f.direction,s=((p=t.state.data)==null?void 0:p.pages)||[],o=((y=t.state.data)==null?void 0:y.pageParams)||[];let a={pages:[],pageParams:[]},l=0;const u=async()=>{let g=!1;const x=v=>{Object.defineProperty(v,"signal",{enumerable:!0,get:()=>(t.signal.aborted?g=!0:t.signal.addEventListener("abort",()=>{g=!0}),t.signal)})},h=l1(t.options,t.fetchOptions),m=async(v,S,C)=>{if(g)return Promise.reject();if(S==null&&v.pages.length)return Promise.resolve(v);const T=(()=>{const _={client:t.client,queryKey:t.queryKey,pageParam:S,direction:C?"backward":"forward",meta:t.options.meta};return x(_),_})(),P=await h(T),{maxPages:R}=t.options,k=C?DR:LR;return{pages:k(v.pages,P,R),pageParams:k(v.pageParams,S,R)}};if(i&&s.length){const v=i==="backward",S=v?GR:Ag,C={pages:s,pageParams:o},E=S(r,C);a=await m(C,E,v)}else{const v=e??s.length;do{const S=l===0?o[0]??r.initialPageParam:Ag(r,a);if(l>0&&S==null)break;a=await m(a,S),l++}while(l<v)}return a};t.options.persister?t.fetchFn=()=>{var g,x;return(x=(g=t.options).persister)==null?void 0:x.call(g,u,{client:t.client,queryKey:t.queryKey,meta:t.options.meta,signal:t.signal},n)}:t.fetchFn=u}}}function Ag(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 GR(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 ge,Gn,qn,qi,Yi,Yn,Qi,Xi,Ev,qR=(Ev=class{constructor(e={}){J(this,ge);J(this,Gn);J(this,qn);J(this,qi);J(this,Yi);J(this,Yn);J(this,Qi);J(this,Xi);K(this,ge,e.queryCache||new UR),K(this,Gn,e.mutationCache||new KR),K(this,qn,e.defaultOptions||{}),K(this,qi,new Map),K(this,Yi,new Map),K(this,Yn,0)}mount(){ta(this,Yn)._++,M(this,Yn)===1&&(K(this,Qi,u1.subscribe(async e=>{e&&(await this.resumePausedMutations(),M(this,ge).onFocus())})),K(this,Xi,Dl.subscribe(async e=>{e&&(await this.resumePausedMutations(),M(this,ge).onOnline())})))}unmount(){var e,t;ta(this,Yn)._--,M(this,Yn)===0&&((e=M(this,Qi))==null||e.call(this),K(this,Qi,void 0),(t=M(this,Xi))==null||t.call(this),K(this,Xi,void 0))}isFetching(e){return M(this,ge).findAll({...e,fetchStatus:"fetching"}).length}isMutating(e){return M(this,Gn).findAll({...e,status:"pending"}).length}getQueryData(e){var n;const t=this.defaultQueryOptions({queryKey:e});return(n=M(this,ge).get(t.queryHash))==null?void 0:n.state.data}ensureQueryData(e){const t=this.defaultQueryOptions(e),n=M(this,ge).build(this,t),r=n.state.data;return r===void 0?this.fetchQuery(e):(e.revalidateIfStale&&n.isStaleByTime(rf(t.staleTime,n))&&this.prefetchQuery(t),Promise.resolve(r))}getQueriesData(e){return M(this,ge).findAll(e).map(({queryKey:t,state:n})=>{const r=n.data;return[t,r]})}setQueryData(e,t,n){const r=this.defaultQueryOptions({queryKey:e}),i=M(this,ge).get(r.queryHash),s=i==null?void 0:i.state.data,o=PR(t,s);if(o!==void 0)return M(this,ge).build(this,r).setData(o,{...n,manual:!0})}
112setQueriesData(e,t,n){return He.batch(()=>M(this,ge).findAll(e).map(({queryKey:r})=>[r,this.setQueryData(r,t,n)]))}getQueryState(e){var n;const t=this.defaultQueryOptions({queryKey:e});return(n=M(this,ge).get(t.queryHash))==null?void 0:n.state}removeQueries(e){const t=M(this,ge);He.batch(()=>{t.findAll(e).forEach(n=>{t.remove(n)})})}resetQueries(e,t){const n=M(this,ge);return He.batch(()=>(n.findAll(e).forEach(r=>{r.reset()}),this.refetchQueries({type:"active",...e},t)))}cancelQueries(e,t={}){const n={revert:!0,...t},r=He.batch(()=>M(this,ge).findAll(e).map(i=>i.cancel(n)));return Promise.all(r).then(Dt).catch(Dt)}invalidateQueries(e,t={}){return He.batch(()=>(M(this,ge).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=He.batch(()=>M(this,ge).findAll(e).filter(i=>!i.isDisabled()&&!i.isStatic()).map(i=>{let s=i.fetch(void 0,n);return n.throwOnError||(s=s.catch(Dt)),i.state.fetchStatus==="paused"?Promise.resolve():s}));return Promise.all(r).then(Dt)}fetchQuery(e){const t=this.defaultQueryOptions(e);t.retry===void 0&&(t.retry=!1);const n=M(this,ge).build(this,t);return n.isStaleByTime(rf(t.staleTime,n))?n.fetch(t):Promise.resolve(n.state.data)}prefetchQuery(e){return this.fetchQuery(e).then(Dt).catch(Dt)}fetchInfiniteQuery(e){return e.behavior=kg(e.pages),this.fetchQuery(e)}prefetchInfiniteQuery(e){return this.fetchInfiniteQuery(e).then(Dt).catch(Dt)}ensureInfiniteQueryData(e){return e.behavior=kg(e.pages),this.ensureQueryData(e)}resumePausedMutations(){return Dl.isOnline()?M(this,Gn).resumePausedMutations():Promise.resolve()}getQueryCache(){return M(this,ge)}getMutationCache(){return M(this,Gn)}getDefaultOptions(){return M(this,qn)}setDefaultOptions(e){K(this,qn,e)}setQueryDefaults(e,t){M(this,qi).set(Ao(e),{queryKey:e,defaultOptions:t})}getQueryDefaults(e){const t=[...M(this,qi).values()],n={};return t.forEach(r=>{Ro(e,r.queryKey)&&Object.assign(n,r.defaultOptions)}),n}setMutationDefaults(e,t){M(this,Yi).set(Ao(e),{mutationKey:e,defaultOptions:t})}getMutationDefaults(e){const t=[...M(this,Yi).values()],n={};return t.forEach(r=>{Ro(e,r.mutationKey)&&Object.assign(n,r.defaultOptions)}),n}defaultQueryOptions(e){if(e._defaulted)return e;const t={...M(this,qn).queries,...this.getQueryDefaults(e.queryKey),...e,_defaulted:!0};return t.queryHash||(t.queryHash=qp(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===Yp&&(t.enabled=!1),t}defaultMutationOptions(e){return e!=null&&e._defaulted?e:{...M(this,qn).mutations,...(e==null?void 0:e.mutationKey)&&this.getMutationDefaults(e.mutationKey),...e,_defaulted:!0}}clear(){M(this,ge).clear(),M(this,Gn).clear()}},ge=new WeakMap,Gn=new WeakMap,qn=new WeakMap,qi=new WeakMap,Yi=new WeakMap,Yn=new WeakMap,Qi=new WeakMap,Xi=new WeakMap,Ev),YR=w.createContext(void 0),QR=({client:e,children:t})=>(w.useEffect(()=>(e.mount(),()=>{e.unmount()}),[e]),b.jsx(YR.Provider,{value:e,children:t}));/** 113 * @remix-run/router v1.23.3 114 * 115 * Copyright (c) Remix Software Inc. 116 * 117 * This source code is licensed under the MIT license found in the 118 * LICENSE.md file in the root directory of this source tree. 119 * 120 * @license MIT 121 */function No(){return No=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},No.apply(null,arguments)}var Zn;(function(e){e.Pop="POP",e.Push="PUSH",e.Replace="REPLACE"})(Zn||(Zn={}));const Rg="popstate";function XR(e){e===void 0&&(e={});function t(r,i){let{pathname:s,search:o,hash:a}=r.location;return of("",{pathname:s,search:o,hash:a},i.state&&i.state.usr||null,i.state&&i.state.key||"default")}function n(r,i){return typeof i=="string"?i:Ol(i)}return JR(t,n,null,e)}function he(e,t){if(e===!1||e===null||typeof e>"u")throw new Error(t)}function Qp(e,t){if(!e){typeof console<"u"&&console.warn(t);try{throw new Error(t)}catch{}}}function ZR(){return Math.random().toString(36).substr(2,8)}function Ng(e,t){return{usr:e.state,key:e.key,idx:t}}function of(e,t,n,r){return n===void 0&&(n=null),No({pathname:typeof e=="string"?e:e.pathname,search:"",hash:""},typeof t=="string"?ys(t):t,{state:n,key:t&&t.key||r||ZR()})}function Ol(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 ys(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 JR(e,t,n,r){r===void 0&&(r={});let{window:i=document.defaultView,v5Compat:s=!1}=r,o=i.history,a=Zn.Pop,l=null,u=c();u==null&&(u=0,o.replaceState(No({},o.state,{idx:u}),""));function c(){return(o.state||{idx:null}).idx}function d(){a=Zn.Pop;let x=c(),h=x==null?null:x-u;u=x,l&&l({action:a,location:g.location,delta:h})}function f(x,h){a=Zn.Push;let m=of(g.location,x,h);u=c()+1;let v=Ng(m,u),S=g.createHref(m);try{o.pushState(v,"",S)}catch(C){if(C instanceof DOMException&&C.name==="DataCloneError")throw C;i.location.assign(S)}s&&l&&l({action:a,location:g.location,delta:1})}function p(x,h){a=Zn.Replace;let m=of(g.location,x,h);u=c();let v=Ng(m,u),S=g.createHref(m);o.replaceState(v,"",S),s&&l&&l({action:a,location:g.location,delta:0})}function y(x){let h=i.location.origin!=="null"?i.location.origin:i.location.href,m=typeof x=="str
121ing"?x:Ol(x);return m=m.replace(/ $/,"%20"),he(h,"No window.location.(origin|href) available to create URL for href: "+m),new URL(m,h)}let g={get action(){return a},get location(){return e(i,o)},listen(x){if(l)throw new Error("A history only accepts one active listener");return i.addEventListener(Rg,d),l=x,()=>{i.removeEventListener(Rg,d),l=null}},createHref(x){return t(i,x)},createURL:y,encodeLocation(x){let h=y(x);return{pathname:h.pathname,search:h.search,hash:h.hash}},push:f,replace:p,go(x){return o.go(x)}};return g}var Mg;(function(e){e.data="data",e.deferred="deferred",e.redirect="redirect",e.error="error"})(Mg||(Mg={}));function eN(e,t,n){return n===void 0&&(n="/"),tN(e,t,n,!1)}function tN(e,t,n,r){let i=typeof t=="string"?ys(t):t,s=as(i.pathname||"/",n);if(s==null)return null;let o=h1(e);nN(o);let a=null,l=pN(s);for(let u=0;a==null&&u<o.length;++u)a=dN(o[u],l,r);return a}function h1(e,t,n,r){t===void 0&&(t=[]),n===void 0&&(n=[]),r===void 0&&(r="");let i=(s,o,a)=>{let l={relativePath:a===void 0?s.path||"":a,caseSensitive:s.caseSensitive===!0,childrenIndex:o,route:s};l.relativePath.startsWith("/")&&(he(l.relativePath.startsWith(r),'Absolute route path "'+l.relativePath+'" nested under path '+('"'+r+'" is not valid. An absolute child route path ')+"must start with the combined path of all its parent routes."),l.relativePath=l.relativePath.slice(r.length));let u=lr([r,l.relativePath]),c=n.concat(l);s.children&&s.children.length>0&&(he(s.index!==!0,"Index routes must not have child routes. Please remove "+('all child routes from route path "'+u+'".')),h1(s.children,t,c,u)),!(s.path==null&&!s.index)&&t.push({path:u,score:uN(u,s.index),routesMeta:c})};return e.forEach((s,o)=>{var a;if(s.path===""||!((a=s.path)!=null&&a.includes("?")))i(s,o);else for(let l of m1(s.path))i(s,o,l)}),t}function m1(e){let t=e.split("/");if(t.length===0)return[];let[n,...r]=t,i=n.endsWith("?"),s=n.replace(/\?$/,"");if(r.length===0)return i?[s,""]:[s];let o=m1(r.join("/")),a=[];return a.push(...o.map(l=>l===""?s:[s,l].join("/"))),i&&a.push(...o),a.map(l=>e.startsWith("/")&&l===""?"/":l)}function nN(e){e.sort((t,n)=>t.score!==n.score?n.score-t.score:cN(t.routesMeta.map(r=>r.childrenIndex),n.routesMeta.map(r=>r.childrenIndex)))}const rN=/^:[\w-]+$/,iN=3,sN=2,oN=1,aN=10,lN=-2,Lg=e=>e==="*";function uN(e,t){let n=e.split("/"),r=n.length;return n.some(Lg)&&(r+=lN),t&&(r+=sN),n.filter(i=>!Lg(i)).reduce((i,s)=>i+(rN.test(s)?iN:s===""?oN:aN),r)}function cN(e,t){return e.length===t.length&&e.slice(0,-1).every((r,i)=>r===t[i])?e[e.length-1]-t[t.length-1]:0}function dN(e,t,n){let{routesMeta:r}=e,i={},s="/",o=[];for(let a=0;a<r.length;++a){let l=r[a],u=a===r.length-1,c=s==="/"?t:t.slice(s.length)||"/",d=Il({path:l.relativePath,caseSensitive:l.caseSensitive,end:u},c),f=l.route;if(!d&&u&&n&&!r[r.length-1].route.index&&(d=Il({path:l.relativePath,caseSensitive:l.caseSensitive,end:!1},c)),!d)return null;
vendor: 5,325 bytes, lines 121-130
121Object.assign(i,d.params),o.push({params:i,pathname:lr([s,d.pathname]),pathnameBase:vN(lr([s,d.pathnameBase])),route:f}),d.pathnameBase!=="/"&&(s=lr([s,d.pathnameBase]))}return o}function Il(e,t){typeof e=="string"&&(e={path:e,caseSensitive:!1,end:!0});let[n,r]=fN(e.path,e.caseSensitive,e.end),i=t.match(n);if(!i)return null;let s=i[0],o=s.replace(/(.)\/+$/,"$1"),a=i.slice(1);return{params:r.reduce((u,c,d)=>{let{paramName:f,isOptional:p}=c;if(f==="*"){let g=a[d]||"";o=s.slice(0,s.length-g.length).replace(/(.)\/+$/,"$1")}const y=a[d];return p&&!y?u[f]=void 0:u[f]=(y||"").replace(/%2F/g,"/"),u},{}),pathname:s,pathnameBase:o,pattern:e}}function fN(e,t,n){t===void 0&&(t=!1),n===void 0&&(n=!0),Qp(e==="*"||!e.endsWith("*")||e.endsWith("/*"),'Route path "'+e+'" will be treated as if it were '+('"'+e.replace(/\*$/,"/*")+'" because the `*` character must ')+"always follow a `/` in the pattern. To get rid of this warning, "+('please change the route path to "'+e.replace(/\*$/,"/*")+'".'));let r=[],i="^"+e.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(o,a,l)=>(r.push({paramName:a,isOptional:l!=null}),l?"/?([^\\/]+)?":"/([^\\/]+)"));return e.endsWith("*")?(r.push({paramName:"*"}),i+=e==="*"||e==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):n?i+="\\/*$":e!==""&&e!=="/"&&(i+="(?:(?=\\/|$))"),[new RegExp(i,t?void 0:"i"),r]}function pN(e){try{return e.split("/").map(t=>decodeURIComponent(t).replace(/\//g,"%2F")).join("/")}catch(t){return Qp(!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 as(e,t){if(t==="/")return e;if(!e.toLowerCase().startsWith(t.toLowerCase()))return null;let n=t.endsWith("/")?t.length-1:t.length,r=e.charAt(n);return r&&r!=="/"?null:e.slice(n)||"/"}const hN=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,mN=e=>hN.test(e);function gN(e,t){t===void 0&&(t="/");let{pathname:n,search:r="",hash:i=""}=typeof e=="string"?ys(e):e,s;if(n)if(mN(n))s=n;else{if(n.includes("//")){let o=n;n=g1(n),Qp(!1,"Pathnames cannot have embedded double slashes - normalizing "+(o+" -> "+n))}n.startsWith("/")?s=Dg(n.substring(1),"/"):s=Dg(n,t)}else s=t;return{pathname:s,search:wN(r),hash:xN(i)}}function Dg(e,t){let n=t.replace(/\/+$/,"").split("/");return e.split("/").forEach(i=>{i===".."?n.length>1&&n.pop():i!=="."&&n.push(i)}),n.length>1?n.join("/"):"/"}function Ec(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 yN(e){return e.filter((t,n)=>n===0||t.route.path&&t.route.path.length>0)}function Xp(e,t){let n=yN(e);return t?n.map((r,i)=>i===n.length-1?r.pathname:r.pathnameBase):n.map(r=>r.pathnameBase)}function Zp(e,t,n,r){r===void 0&&(r=!1);let i;typeof e=="string"?i=ys(e):(i=No({},e),he(!i.pathname||!i.pathname.includes("?"),Ec("?","pathname","search",i)),he(!i.pathname||!i.pathname.includes("#"),Ec("#","pathname","hash",i)),he(!i.search||!i.search.includes("#"),Ec("#","search","hash",i)));let s=e===""||i.pathname==="",o=s?"/":i.pathname,a;if(o==null)a=n;else{let d=t.length-1;if(!r&&o.startsWith("..")){let f=o.split("/");for(;f[0]==="..";)f.shift(),d-=1;i.pathname=f.join("/")}a=d>=0?t[d]:"/"}let l=gN(i,a),u=o&&o!=="/"&&o.endsWith("/"),c=(s||o===".")&&n.endsWith("/");return!l.pathname.endsWith("/")&&(u||c)&&(l.pathname+="/"),l}const g1=e=>e.replace(/\/\/+/g,"/"),lr=e=>g1(e.join("/")),vN=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/"),wN=e=>!e||e==="?"?"":e.startsWith("?")?e:"?"+e,xN=e=>!e||e==="#"?"":e.startsWith("#")?e:"#"+e;function bN(e){return e!=null&&typeof e.status=="number"&&typeof e.statusText=="string"&&typeof e.internal=="boolean"&&"data"in e}const y1=["post","put","patch","delete"];new Set(y1);const SN=["get",...y1];new Set(SN);/** 122 * React Router v6.30.4 123 * 124 * Copyright (c) Remix Software Inc. 125 * 126 * This source code is licensed under the MIT license found in the 127 * LICENSE.md file in the root directory of this source tree. 128 * 129 * @license MIT 130 */function Mo(){return Mo=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Mo.apply(null,arguments)}const Su=w.createContext(null),v1=w.createContext(null),An=w.createContext(null),Cu=w.createContext(null),Rn=w.createContext({outlet:null,matches:[],isDataRoute:!1}),w1=w.createContext(null);function CN(e,t){let{relative:n}=t===void 0?{}:t;vs()||he(!1);let{basename:r,navigator:i}=w.useContext(An),{hash:s,pathname:o,search:a}=Tu(e,{relative:n}),l=o;return r!=="/"&&(l=o==="/"?r:lr([r,o])),i.createHref({pathname:l,search:a,hash:s})}function vs(){return w.useContext(Cu)!=null}function Be(){return vs()||he(!1),w.useContext(Cu).location}function x1(e){w.useContext(An).static||w.useLayoutEffect(e)}function Eu(){let{isDataRoute:e}=w.useContext(Rn);return e?jN():EN()}function EN(){vs()||he(!1);let e=w.useContext(Su),{basename:t,future:n,navigator:r}=w.useContext(An),{matches:i}=w.useContext(Rn),{pathname:s}=Be(),o=JSON.stringify(Xp(i,n.v7_relativeSplatPath)),a=w.useRef(!1);return x1(()=>{a.current=!0}
vendor: 4,173 bytes, line 130
130),w.useCallback(function(u,c){if(c===void 0&&(c={}),!a.current)return;if(typeof u=="number"){r.go(u);return}let d=Zp(u,JSON.parse(o),s,c.relative==="path");e==null&&t!=="/"&&(d.pathname=d.pathname==="/"?t:lr([t,d.pathname])),(c.replace?r.replace:r.push)(d,c.state,c)},[t,r,o,s,e])}function Vj(){let{matches:e}=w.useContext(Rn),t=e[e.length-1];return t?t.params:{}}function Tu(e,t){let{relative:n}=t===void 0?{}:t,{future:r}=w.useContext(An),{matches:i}=w.useContext(Rn),{pathname:s}=Be(),o=JSON.stringify(Xp(i,r.v7_relativeSplatPath));return w.useMemo(()=>Zp(e,JSON.parse(o),s,n==="path"),[e,o,s,n])}function TN(e,t){return PN(e,t)}function PN(e,t,n,r){vs()||he(!1);let{navigator:i}=w.useContext(An),{matches:s}=w.useContext(Rn),o=s[s.length-1],a=o?o.params:{};o&&o.pathname;let l=o?o.pathnameBase:"/";o&&o.route;let u=Be(),c;if(t){var d;let x=typeof t=="string"?ys(t):t;l==="/"||(d=x.pathname)!=null&&d.startsWith(l)||he(!1),c=x}else c=u;let f=c.pathname||"/",p=f;if(l!=="/"){let x=l.replace(/^\//,"").split("/");p="/"+f.replace(/^\//,"").split("/").slice(x.length).join("/")}let y=eN(e,{pathname:p}),g=MN(y&&y.map(x=>Object.assign({},x,{params:Object.assign({},a,x.params),pathname:lr([l,i.encodeLocation?i.encodeLocation(x.pathname).pathname:x.pathname]),pathnameBase:x.pathnameBase==="/"?l:lr([l,i.encodeLocation?i.encodeLocation(x.pathnameBase).pathname:x.pathnameBase])})),s,n,r);return t&&g?w.createElement(Cu.Provider,{value:{location:Mo({pathname:"/",search:"",hash:"",state:null,key:"default"},c),navigationType:Zn.Pop}},g):g}function kN(){let e=IN(),t=bN(e)?e.status+" "+e.statusText:e instanceof Error?e.message:JSON.stringify(e),n=e instanceof Error?e.stack:null,i={padding:"0.5rem",backgroundColor:"rgba(200,200,200, 0.5)"};return w.createElement(w.Fragment,null,w.createElement("h2",null,"Unexpected Application Error!"),w.createElement("h3",{style:{fontStyle:"italic"}},t),n?w.createElement("pre",{style:i},n):null,null)}const AN=w.createElement(kN,null);class RN extends w.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?w.createElement(Rn.Provider,{value:this.props.routeContext},w.createElement(w1.Provider,{value:this.state.error,children:this.props.component})):this.props.children}}function NN(e){let{routeContext:t,match:n,children:r}=e,i=w.useContext(Su);return i&&i.static&&i.staticContext&&(n.route.errorElement||n.route.ErrorBoundary)&&(i.staticContext._deepestRenderedBoundaryId=n.route.id),w.createElement(Rn.Provider,{value:t},r)}function MN(e,t,n,r){var i;if(t===void 0&&(t=[]),n===void 0&&(n=null),r===void 0&&(r=null),e==null){var s;if(!n)return null;if(n.errors)e=n.matches;else if((s=r)!=null&&s.v7_partialHydration&&t.length===0&&!n.initialized&&n.matches.length>0)e=n.matches;else return null}let o=e,a=(i=n)==null?void 0:i.errors;if(a!=null){let c=o.findIndex(d=>d.route.id&&(a==null?void 0:a[d.route.id])!==void 0);c>=0||he(!1),o=o.slice(0,Math.min(o.length,c+1))}let l=!1,u=-1;if(n&&r&&r.v7_partialHydration)for(let c=0;c<o.length;c++){let d=o[c];if((d.route.HydrateFallback||d.route.hydrateFallbackElement)&&(u=c),d.route.id){let{loaderData:f,errors:p}=n,y=d.route.loader&&f[d.route.id]===void 0&&(!p||p[d.route.id]===void 0);if(d.route.lazy||y){l=!0,u>=0?o=o.slice(0,u+1):o=[o[0]];break}}}return o.reduceRight((c,d,f)=>{let p,y=!1,g=null,x=null;n&&(p=a&&d.route.id?a[d.route.id]:void 0,g=d.route.errorElement||AN,l&&(u<0&&f===0?(y=!0,x=null):u===f&&(y=!0,x=d.route.hydrateFallbackElement||null)));let h=t.concat(o.slice(0,f+1)),m=()=>{let v;return p?v=g:y?v=x:d.route.Component?v=w.createElement(d.route.Component,null):d.route.element?v=d.route.element:v=c,w.createElement(NN,{match:d,routeC
130ontext:{outlet:c,matches:h,isDataRoute:n!=null},children:v})};return n&&(d.route.ErrorBoundary||d.route.errorElement||f===0)?w.createElement(RN,{location:n.location,revalidation:n.revalidation,component:g,error:p,children:m(),routeContext:{outlet:null,matches:h,isDataRoute:!0}}):m()},null)}var b1=function(e){return e.UseBlocker="useBlocker",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e}(b1||{}),jl=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}(jl||{});function LN(e){let t=w.useContext(Su);return t||he(!1),t}function DN(e){let t=w.useContext(v1);return t||he(!1),t}function ON(e){let t=w.useContext(Rn);return t||he(!1),t}function S1(e){let t=ON(),n=t.matches[t.matches.length-1];return n.route.id||he(!1),n.route.id}function IN(){var e;let t=w.useContext(w1),n=DN(jl.UseRouteError),r=S1(jl.UseRouteError);return t!==void 0?t:(e=n.errors)==null?void 0:e[r]}function jN(){let{router:e}=LN(b1.UseNavigateStable),t=S1(jl.UseNavigateStable),n=w.useRef(!1);return x1(()=>{n.current=!0}),w.useCallback(function(i,s){s===void 0&&(s={}),n.current&&(typeof i=="number"?e.navigate(i):e.navigate(i,Mo({fromRouteId:t},s)))},[e,t])}function _N(e,t){e==null||e.v7_startTransition,e==null||e.v7_relativeSplatPath}function zN(e){let{to:t,replace:n,state:r,relative:i}=e;vs()||he(!1);let{future:s,static:o}=w.useContext(An),{matches:a}=w.useContext(Rn),{pathname:l}=Be(),u=Eu(),c=Zp(t,Xp(a,s.v7_relativeSplatPath),l,i==="path"),d=JSON.stringify(c);return w.useEffect(()=>u(JSON.parse(d),{replace:n,state:r,relative:i}),[u,d,i,n,r]),null}function pn(e){he(!1)}function FN(e){let{basename:t="/",children:n=null,location:r,navigationType:i=Zn.Pop,navigator:s,static:o=!1,future:a}=e;vs()&&he(!1);let l=t.replace(/^\/*/,"/"),u=w.useMemo(()=>({basename:l,navigator:s,static:o,future:Mo({v7_relativeSplatPath:!1},a)}),[l,a,s,o]);typeof r=="string"&&(r=ys(r));let{pathname:c="/",search:d="",hash:f="",state:p=null,key:y="default"}=r,g=w.useMemo(()=>{let x=as(c,l);return x==null?null:{location:{pathname:x,search:d,hash:f,state:p,key:y},navigationType:i}},[l,c,d,f,p,y,i]);return g==null?null:w.createElement(An.Provider,{value:u},w.createElement(Cu.Provider,{children:n,value:g}))}function VN(e){let{children:t,location:n}=e;return TN(af(t),n)}new Promise(()=>{});function af(e,t){t===void 0&&(t=[]);let n=[];return w.Children.forEach(e,(r,i)=>{if(!w.isValidElement(r))return;let s=[...t,i];if(r.type===w.Fragment){n.push.apply(n,af(r.props.children,s));return}r.type!==pn&&he(!1),!r.props.index||!r.props.children||he(!1);let o={id:r.props.id||s.join("-"),caseSensitive:r.props.caseSensitive,element:r.props.element,Component:r.props.Component,index:r.props.index,path:r.props.path,loader:r.props.loader,action:r.props.action,errorElement:r.props.errorElement,ErrorBoundary:r.props.ErrorBoundary,hasErrorBoundary:r.props.ErrorBoundary!=null||r.props.errorElement!=null,shouldRevalidate:r.props.shouldRevalidate,handle:r.props.handle,lazy:r.props.lazy};r.props.children&&(o.children=af(r.props.children,s)),n.push(o)}),n}/** 131 * React Router DOM v6.30.4 132 * 133 * Copyright (c) Remix Software Inc. 134 * 135 * This source code is licensed under the MIT license found in the 136 * LICENSE.md file in the root directory of this source tree. 137 * 138 * @license MIT 139 */function _l(){return _l=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},_l.apply(null,arguments)}function C1(e,t){if(e==null)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(t.indexOf(r)!==-1)continue;n[r]=e[r]}return n}function BN(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}function $N(e,t){return e.button===0&&(!t||t==="_self")&&!BN(e)}function lf(e){return e===void 0&&(e=""),new URLSearchParams(typeof e=="string"||Array.isArray(e)||e instanceof URLSearchParams?e:Object.keys(e).reduce((t,n)=>{let r=e[n];return t.concat(Array.isArray(r)?r.map(i=>[n,i]):[[n,r]])},[]))}function UN(e,t){let n=lf(e);return t&&t.forEach((r,i)=>
139{n.has(i)||t.getAll(i).forEach(s=>{n.append(i,s)})}),n}const WN=["onClick","relative","reloadDocument","replace","state","target","to","preventScrollReset","viewTransition"],HN=["aria-current","caseSensitive","className","end","style","to","viewTransition","children"],KN="6";try{window.__reactRouterVersion=KN}catch{}const GN=w.createContext({isTransitioning:!1}),qN="startTransition",Og=Iv[qN];function YN(e){let{basename:t,children:n,future:r,window:i}=e,s=w.useRef();s.current==null&&(s.current=XR({window:i,v5Compat:!0}));let o=s.current,[a,l]=w.useState({action:o.action,location:o.location}),{v7_startTransition:u}=r||{},c=w.useCallback(d=>{u&&Og?Og(()=>l(d)):l(d)},[l,u]);return w.useLayoutEffect(()=>o.listen(c),[o,c]),w.useEffect(()=>_N(r),[r]),w.createElement(FN,{basename:t,children:n,location:a.location,navigationType:a.action,navigator:o,future:r})}const QN=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",XN=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,Ne=w.forwardRef(function(t,n){let{onClick:r,relative:i,reloadDocument:s,replace:o,state:a,target:l,to:u,preventScrollReset:c,viewTransition:d}=t,f=C1(t,WN),{basename:p}=w.useContext(An),y,g=!1;if(typeof u=="string"&&XN.test(u)&&(y=u,QN))try{let v=new URL(window.location.href),S=u.startsWith("//")?new URL(v.protocol+u):new URL(u),C=as(S.pathname,p);S.origin===v.origin&&C!=null?u=C+S.search+S.hash:g=!0}catch{}let x=CN(u,{relative:i}),h=JN(u,{replace:o,state:a,target:l,preventScrollReset:c,relative:i,viewTransition:d});function m(v){r&&r(v),v.defaultPrevented||h(v)}return w.createElement("a",_l({},f,{href:y||x,onClick:g||s?r:m,ref:n,target:l}))}),mi=w.forwardRef(function(t,n){let{"aria-current":r="page",caseSensitive:i=!1,className:s="",end:o=!1,style:a,to:l,viewTransition:u,children:c}=t,d=C1(t,HN),f=Tu(l,{relative:d.relative}),p=Be(),y=w.useContext(v1),{navigator:g,basename:x}=w.useContext(An),h=y!=null&&eM(f)&&u===!0,m=g.encodeLocation?g.encodeLocation(f).pathname:f.pathname,v=p.pathname,S=y&&y.navigation&&y.navigation.location?y.navigation.location.pathname:null;i||(v=v.toLowerCase(),S=S?S.toLowerCase():null,m=m.toLowerCase()),S&&x&&(S=as(S,x)||S);const C=m!=="/"&&m.endsWith("/")?m.length-1:m.length;let E=v===m||!o&&v.startsWith(m)&&v.charAt(C)==="/",T=S!=null&&(S===m||!o&&S.startsWith(m)&&S.charAt(m.length)==="/"),P={isActive:E,isPending:T,isTransitioning:h},R=E?r:void 0,k;typeof s=="function"?k=s(P):k=[s,E?"active":null,T?"pending":null,h?"transitioning":null].filter(Boolean).join(" ");let _=typeof a=="function"?a(P):a;return w.createElement(Ne,_l({},d,{"aria-current":R,className:k,ref:n,style:_,to:l,viewTransition:u}),typeof c=="function"?c(P):c)});var uf;(function(e){e.UseScrollRestoration="useScrollRestoration",e.UseSubmit="useSubmit",e.UseSubmitFetcher="useSubmitFetcher",e.UseFetcher="useFetcher",e.useViewTransitionState="useViewTransitionState"})(uf||(uf={}));var Ig;(function(e){e.UseFetcher="useFetcher",e.UseFetchers="useFetchers",e.UseScrollRestoration="useScrollRestoration"})(Ig||(Ig={}));function ZN(e){let t=w.useContext(Su);return t||he(!1),t}function JN(e,t){let{target:n,replace:r,state:i,preventScrollReset:s,relative:o,viewTransition:a}=t===void 0?{}:t,l=Eu(),u=Be(),c=Tu(e,{relative:o});return w.useCallback(d=>{if($N(d,n)){d.preventDefault();let f=r!==void 0?r:Ol(u)===Ol(c);l(e,{replace:f,state:i,preventScrollReset:s,relative:o,viewTransition:a})}},[u,l,c,r,i,n,e,s,o,a])}function Bj(e){let t=w.useRef(lf(e)),n=w.useRef(!1),r=Be(),i=w.useMemo(()=>UN(r.search,n.current?null:t.current),[r.search]),s=Eu(),o=w.useCallback((a,l)=>{const u=lf(typeof a=="function"?a(i):a);n.current=!0,s("?"+u,l)},[s,i]);return[i,o]}function eM(e,t){t===void 0&&(t={});let n=w.useContext(GN);n==null&&he(!1);let{basename:r}=ZN(uf.useViewTransitionState),i=Tu(e,{relative:t.relative});if(!n.isTransitioning)return!1;let s=as(n.currentLocation.pathname,r)||n.currentLocation.pathname,o=as(n.nextLocation.pathname,r)||n.nextLocation.pathname;return Il(i.pathname,o)!=null||Il(i.pathname,s)!=null}const tM=["amineOxide","technicalData","palmFree","biodegradable","whatAreSurfactants","bioVsBiosurfactants","circularEconomy","lignocellulosic","glossary","detergentsRegulation","anionicSurfactants","nonionicSurfactants","cationicSurfactants","amphotericSurfactants","oecd301b","bioBasedSurfactants","cmc","reachCompliant","specialtySurfactants","fluorosurfactantAlternatives"],Pu=[{key:"home",en:"/",de:"/de"},{key:"technology",en:"/technology",de:"/de/technologie"},{key:"products",en:"/products",de:"/de/produkte"},{key:"nexovant",en:"/products/nexovant",de:"/de/produkte/nexovant",parent:"products"},{key:"rheosyl",en:"/products/rheosyl",de:"/de/produkte/rheosyl",parent:"products"},{key:"sylvaxis",en:"/products/sylvaxis",de:"/de/produkte/sylvaxis",parent:"products"},{key:"applications",en:"/applications",de:"/de/anwendungen"},{key:"sustainability",en:"/sustainability",de:"/de/nachhaltigkeit"},{key:"about",en:"/about",de:"/de/ueber-uns"},{key:"team",en:"/team",de:"/de/team",parent:"about"},{key:"news",en:"/news",de:"/de/news"},{key:"careers",en:"/careers",de:"/de/karriere"},{key:"careersApply",en:"/careers/apply",de:"/de/karriere/bewerbung",parent:"careers"},{key:"contact",en:"/contact",de:"/de/kontakt"},{key:"media",en:"/media",de:"/de/medien"},{key:"legal",en:"/legal-notice",de:"/de/impressum"},{key:"privacy",en:"/privacy",de:"/de/datenschutz"},{key:"faq",en:"/faq",de:"/de/faq"},{key:"knowledge",en:"/knowledge",de:"/de/wissen"},{key:"whatAreSurfactants",en:"/what-are-surfactants",de:"/de/was-sind-tenside",parent:"knowledge"},{key:"amineOxide",en:"/bio-based-amine-oxide",de:"/de/biobasiertes-aminoxid",parent:"knowledge"},{key:"technicalData",en:"/technical-data",de:"/de/technische-daten",parent:"knowledge"},{key:"palmFree",en:"/palm-free-surfactants",de:"/de/palmoelfreie-tenside",parent:"knowledge"},{key:"biodegradable",en:"/biodegradable-surfactants-oecd-301",de:"/de/biologisch-abbaubare-tenside-oecd-301",parent:"knowledge"},{key:"bioVsBiosurfactants",en:"/bio-based-vs-biosurfactants",de:"/de/biobasiert-vs-biotenside",parent:"knowledge"},{key:"circularEconomy",en:"/circular-economy-chemistry",de:"/de/kreislaufwirtschaft-chemie",parent:"knowledge"},{key:"lignocellulosic",en:"/lignocellulosic-surfactants",de:"/de/lignocellulose-tenside",parent:"knowledge"},{key:"glossary",en:"/glossary",de:"/de/glossar",parent:"knowledge"},{key:"detergentsRegulation",en:"/eu-detergents-regulation",de:"/de/eu-detergenzienverordnung",parent:"knowledge"},{key:"bioBasedSurfactants",en:"/bio-based-surfactants",de:"/de/biobasierte-tenside",parent:"knowledge"},{key:"oecd301b",en:"/oecd-301b-test",de:"/de/oecd-301b-test",parent:"biodegradable"},{key:"anionicSurfactants",en:"/anionic-surfactants",de:"/de/anionische-tenside",parent:"whatAreSurfactants"},{key:"nonionicSurfactants",en:"/non-ionic-surfactants",de:"/de/nichtionische-tenside",parent:"whatAreSurfactants"},{key:"cationicSurfactants",en:"/cationic-surfactants",de:"/de/kationische-tenside",parent:"whatAreSurfactants"},{key:"amphotericSurfactants",en:"/amphoteric-surfactants",de:"/de/amphotere-tenside",parent:"whatAreSurfactants"},{key:"cmc",en:"/critical-micelle-concentration",de:"/de/kritische-mizellbildungskonzentration",parent:"whatAreSurfactants"},{key:"reachCompliant",en:"/reach-compliant-surfactants",de:"/de/reach-konforme-tenside",parent:"bioB
139asedSurfactants"},{key:"specialtySurfactants",en:"/specialty-surfactants",de:"/de/spezialtenside",parent:"bioBasedSurfactants"},{key:"fluorosurfactantAlternatives",en:"/fluorosurfactant-alternatives",de:"/de/fluortensid-alternativen",parent:"bioBasedSurfactants"}],zr="https://www.puresurf.eu",Qr=(e,t)=>{const n=Pu.find(r=>r.key===e);return n?n[t]:t==="de"?"/de":"/"},nM=e=>Pu.find(t=>t.key===e),Go=e=>{const t=e.replace(/\/+$/,"")||"/";for(const n of Pu){if(t===n.en)return{route:n,lang:"en"};if(t===n.de)return{route:n,lang:"de"}}return null},ws=e=>e==="/de"||e.startsWith("/de/")?"de":"en",rM=(e,t)=>t==="de"?`/de/news/${e}`:`/news/${e}`,iM=e=>{const n=(e.replace(/\/+$/,"")||"/").match(/^(?:\/de)?\/news\/([^/]+)$/);return n?n[1]:null},sM=(e,t)=>{const n=iM(e);if(n)return rM(n,t);const r=Go(e);return r?r.route[t]:t==="de"?"/de":"/"},oM={"nav.technology":"Technology","nav.products":"Products","nav.applications":"Applications","nav.sustainability":"Sustainability","nav.about":"About","nav.news":"News","nav.careers":"Careers","nav.contact":"Contact","nav.bookCall":"Book a call","nav.media":"Media","nav.knowledge":"Knowledge","nav.requestSample":"Request a sample","nav.openMenu":"Open menu","nav.closeMenu":"Close menu","nav.skipToContent":"Skip to content","nav.mobileNav":"Mobile navigation","footer.tagline":"PureSurf develops and commercializes innovative surfactants, gelators and antimicrobials that are high-performing and bio-based, delivering effective solutions without compromise for industries and consumers.","footer.quickLinks":"Quick links","footer.legal":"Legal","footer.contact":"Contact","footer.legalNotice":"Legal notice","footer.privacy":"Privacy","footer.cookieSettings":"Cookie settings","footer.supportedBy":"Supported by","footer.address":"PureSurf FlexCo · Sandgasse 36/IV, 8010 Graz, Austria · puresurf.eu · [email protected]","footer.euDisclaimer":"","footer.hostedBy":"A spin-off of the University of Graz","footer.rights":"All rights reserved.","crumb.home":"Home","page.home.title":"Bio-Based Surfactants: EU-Made, High-performance","page.home.description":"PureSurf builds bio-based surfactants from EU side streams: CMC 33 mg/L and 0.69 mN/m interfacial tension, both third-party measured. Request a 50 g sample.","page.technology.title":"Bio-Based Surfactant Platform: PureSynth at TRL 6 | PureSurf","page.technology.description":"PureSynth converts renewable EU building blocks into bio-based surfactants at CMC 33 mg/L, now at TRL 6 with 50 kg batches. See the process and the lab data.","page.products.title":"Bio-Based Surfactant Products: 3 Grades, TRL 4-6 | PureSurf","page.products.description":"Three PureSurf grades with measured data: NEXOVANT at CMC 33 mg/L, RHEOSYL at 7.0Ã10³ mPa·s and SYLVAXIS to DIN EN 1276. Compare specifications side by side.","page.nexovant.title":"NEXOVANT Amine Oxide: CMC 33 mg/L, 74.7 % ThCO2 | PureSurf","page.nexovant.description":"NEXOVANT is a drop-in bio-based amine oxide: CMC 33 mg/L third-party measured, 74.7 % ThCO2 in 28 days (OECD 301B, GLP). Request a 50 kg-batch sample.","page.rheosyl.title":"RHEOSYL Bio-Based Gelator: 7.0Ã10³ mPa·s, TRL 4 | PureSurf","page.rheosyl.description":"RHEOSYL is an additive-free bio-based gelator reaching 7.0Ã10³ mPa·s in cleaning and care formulations, currently TRL 4. See the rheology curves and apply.","page.sylvaxis.title":"SYLVAXIS Antimicrobial: DIN EN 1276 Bio-Based | PureSurf","page.sylvaxis.description":"SYLVAXIS is a bio-based broad-spectrum antimicrobial tested to DIN EN 1276, active against ESKAPE and MDR pathogens at TRL 4. Join the formulation trials.","page.applications.title":"Surfactant Applications: 5 Sectors, CMC 33 mg/L | PureSurf","page.applications.description":"Where PureSurf surfactants perform: home care, personal care, I&I cleaning, agrochemistry and healthcare disinfection, dosed on a measured CMC of 33 mg/L.","page.sustainability.title":"Sustainable Surfactants: 74.7 % ThCO2 in 28 Days | PureSurf","page.sustainability.description":"Sustainability at PureSurf, in numbers: 74.7 % ThCO2 in 28 days under OECD 3
13901B (GLP), EU side-stream feedstocks and REACH-ready grades. Read the evidence.","page.about.title":"About PureSurf: EIC-Funded Spin-Off in Graz | PureSurf","page.about.description":"PureSurf is a University of Graz spin-off funded under EIC Transition, grant 101058142, scaling bio-based surfactants to TRL 6. Meet the team and the science.","page.team.title":"PureSurf Team: Founders, Scientists, Advisors | PureSurf","page.team.description":"The named people behind PureSurf chemistry: founders, catalysis and surfactant analysis scientists, and advisors, each with credentials and public profiles.","page.news.title":"PureSurf News: EIC Milestones and Lab Results | PureSurf","page.news.description":"PureSurf newsroom: EIC Transition milestones, 50 kg scale-up batches, industry partnerships, peer-reviewed papers and SEPAWA Congress talks, dated per entry.","page.contact.title":"Contact PureSurf: Request a 50 g Sample, Graz | PureSurf","page.contact.description":"Talk to the PureSurf lab in Graz, Austria: request a 50 g bio-based surfactant sample, ask for grade-specific data, or start a joint formulation trial.","page.legal.title":"Legal Notice: PureSurf FlexCo, Graz, Austria | PureSurf","page.legal.description":"Legal notice for PureSurf FlexCo, Sandgasse 36/IV, 8010 Graz, Austria: company details, register data, management and regulatory information for Austria.","page.privacy.title":"Privacy Policy: GDPR Data Handling at PureSurf | PureSurf","page.privacy.description":"How PureSurf handles personal data under the GDPR: legal bases, sample and job application forms, analytics consent, retention periods and your rights.","page.careers.title":"Careers at PureSurf: R&D Jobs in Graz, Austria | PureSurf","page.careers.description":"Open roles at PureSurf in Graz: chemistry, analytics, operations and business, in an EIC Transition funded spin-off scaling bio-based surfactants to TRL 6.","page.careersApply.title":"Apply to PureSurf: Open Roles and Speculative | PureSurf","page.careersApply.description":"Apply for an open PureSurf role in Graz or send a speculative application, with CV upload. Every application is read by the hiring lead, not a screening bot.","page.media.title":"PureSurf Media Kit: Videos, Imagery, Logos | PureSurf","page.media.description":"PureSurf press hub: company and product films, scientific imagery from our Graz lab, and a downloadable brand kit with logos and usage rules for publishers.","page.knowledge.title":"Surfactant Knowledge: Guides, Glossary, Data | PureSurf","page.knowledge.description":"Surfactant knowledge from the PureSurf lab: plain-language guides on CMC, biodegradability and REACH, a glossary and measured technical data on bio-based grades.","pageName.home":"Home","pageName.technology":"Technology","pageName.products":"Products","pageName.nexovant":"NEXOVANT","pageName.rheosyl":"RHEOSYL","pageName.sylvaxis":"SYLVAXIS","pageName.applications":"Applications","pageName.sustainability":"Sustainability","pageName.about":"About","pageName.team":"Team","pageName.news":"News","pageName.careers":"Careers","pageName.careersApply":"Apply","pageName.contact":"Contact","pageName.media":"Media","pageName.legal":"Legal notice","pageName.privacy":"Privacy","pageName.faq":"FAQ","pageName.knowledge":"Knowledge","pageName.whatAreSurfactants":"What are surfactants?","pageName.amineOxide":"Bio-based amine oxide","pageName.technicalData":"Technical data","pageName.palmFree":"Palm-free surfactants","pageName.biodegradable":"Biodegradable surfactants","pageName.bioVsBiosurfactants":"Bio-based vs biosurfactants","pageName.circularEconomy":"Circular economy chemistry","pageName.lignocellulosic":"Lignocellulosic surfactants","pageName.glossary":"Glossary","pageName.detergentsRegulation":"EU Detergents Regulation","pageName.anionicSurfactants":"Anionic surfactants","pageName.nonionicSurfactants":"Non-ionic surfactants","pageName.cationicSurfactants":"Cationic surfactants","pageName.amphotericSurfactants":"Amphoteric surfactants","pageName.oecd301b":"OECD 301B test","pageName.bioBasedSurfactants":"Bio-based surfactants","pageName.cmc":"Critical micelle concentration","pageName.reachCompliant":"REACH-compliant surfactants","pageName.specialtySurfactants":"Specialty surfactants","pageName.fluorosurfactantAlternatives":"Fluorosurfactant alternatives"},aM={"nav.technology":"Technologie","nav.products":"Produkte","nav.applications":"Anwendungen","nav.sustainability":"Nachhaltigkeit","nav.about":"Ãber uns","nav.news":"News","nav.careers":"Karriere","nav.contact":"Kontakt","nav.bookCall":"Termin buchen","nav.media":"Medien","nav.knowledge":"Wissen","nav.requestSample":"Muster anfragen","nav.openMenu":"Menü öffnen","nav.closeMenu":"Menü schlieÃen","nav.skipToContent":"Zum Inhalt springen","nav.mobileNav":"Mobile Navigation","footer.tagline":"PureSurf entwickelt und vermarktet innovative Tenside, Gelbildner und antimikrobielle Wirkstoffe, die hochleistungsfähig und biobasiert sind und wirksame Lösungen ohne Kompromisse für Industrie und Verbraucher:innen bieten.","footer.quickLinks":"Schnellzugriff","footer.legal":"Rechtliches","footer.contact":"Kontakt","footer.legalNotice":"Impressum","footer.privacy":"Datenschutz","footer.cookieSettings":"Cookie-Einstellungen","footer.supportedBy":"Unterstützt von","footer.address":"PureSurf FlexCo
139· Sandgasse 36/IV, 8010 Graz, Ãsterreich · puresurf.eu · [email protected]","footer.euDisclaimer":"","footer.hostedBy":"Ein Spin-off der Universität Graz","footer.rights":"Alle Rechte vorbehalten.","crumb.home":"Start","page.home.title":"Biobasierte Tenside: EU-made, hochleistungsfähig","page.home.description":"PureSurf entwickelt biobasierte Tenside aus EU-Nebenströmen: CMC 33 mg/L und 0,69 mN/m Grenzflächenspannung, im Drittlabor gemessen. Muster jetzt anfragen.","page.technology.title":"Biobasierte Tensidplattform: PureSynth auf TRL 6 | PureSurf","page.technology.description":"PureSynth überführt erneuerbare EU-Bausteine in biobasierte Tenside mit CMC 33 mg/L, heute TRL 6 mit 50-kg-Chargen. Prozess und Labordaten im Detail ansehen.","page.products.title":"Biobasierte Tenside: 3 Produkte, TRL 4 bis 6 | PureSurf","page.products.description":"Drei PureSurf-Produkte mit belegten Werten: NEXOVANT mit CMC 33 mg/L, RHEOSYL mit 7,0Ã10³ mPa·s und SYLVAXIS nach DIN EN 1276. Spezifikationen vergleichen.","page.nexovant.title":"NEXOVANT Aminoxid: CMC 33 mg/L, 74,7 % ThCO2 | PureSurf","page.nexovant.description":"NEXOVANT ist ein biobasiertes Drop-in-Aminoxid: CMC 33 mg/L im Drittlabor, 74,7 % ThCO2 in 28 Tagen (OECD 301B, GLP). Muster aus 50-kg-Charge anfragen.","page.rheosyl.title":"RHEOSYL Gelbildner: 7,0Ã10³ mPa·s, additivfrei | PureSurf","page.rheosyl.description":"RHEOSYL ist ein additivfreier biobasierter Gelbildner mit 7,0Ã10³ mPa·s für Reinigungs- und Pflegeformulierungen, aktuell TRL 4. Rheologiedaten ansehen.","page.sylvaxis.title":"SYLVAXIS Wirkstoff: DIN EN 1276, biobasiert | PureSurf","page.sylvaxis.description":"SYLVAXIS ist ein biobasierter Breitband-Wirkstoff nach DIN EN 1276, wirksam gegen ESKAPE- und MDR-Erreger, aktuell TRL 4. Für Formulierungstests bewerben.","page.applications.title":"Tensid-Anwendungen: 5 Branchen, CMC 33 mg/L | PureSurf","page.applications.description":"Wo PureSurf-Tenside überzeugen: Home Care, Personal Care, I&I-Reinigung, Agrochemie und Healthcare-Desinfektion, dosiert auf gemessene CMC von 33 mg/L.","page.sustainability.title":"Nachhaltige Tenside: 74,7 % ThCO2 in 28 Tagen | PureSurf","page.sustainability.description":"Nachhaltigkeit bei PureSurf in Zahlen: 74,7 % ThCO2 in 28 Tagen nach OECD 301B (GLP), Rohstoffe aus EU-Nebenströmen und REACH-fähige Typen. Belege ansehen.","page.about.title":"Ãber PureSurf: EIC-gefördertes Spin-off in Graz | PureSurf","page.about.description":"PureSurf ist ein Spin-off der Universität Graz, gefördert über EIC Transition, Nr. 101058142, und skaliert biobasierte Tenside auf TRL 6. Team und Forschung.","page.team.title":"PureSurf Team: Gründung, Forschung, Beirat | PureSurf","page.team.description":"Die Menschen hinter der PureSurf-Chemie: Gründungsteam, Forschung in Katalyse und Tensid-Analytik sowie Beirat, mit Qualifikationen und öffentlichen Profilen.","page.news.title":"PureSurf News: EIC-Meilensteine und Labordaten | PureSurf","page.news.description":"PureSurf Newsroom: EIC-Transition-Meilensteine, 50-kg-Chargen im Scale-up, Industriepartnerschaften, Publikationen und SEPAWA-Vorträge, jeweils mit Datum.","page.contact.title":"PureSurf kontaktieren: 50-g-Muster aus Graz | PureSurf","page.contact.description":"Sprechen Sie mit dem PureSurf-Labor in Graz: 50-g-Muster eines biobasierten Tensids anfragen, typspezifische Daten erhalten oder Formulierungstest starten.","page.legal.title":"Impressum: PureSurf FlexCo, Graz, Ãsterreich | PureSurf","page.legal.description":"Impressum der PureSurf FlexCo, Sandgasse 36/IV, 8010 Graz, Ãsterreich: Unternehmensangaben, Registerdaten, Geschäftsführung und rechtliche Pflichtangaben.","page.privacy.title":"Datenschutz: DSGVO-Umgang mit Daten bei PureSurf | PureSurf","page.privacy.description":"Wie PureSurf personenbezogene Daten nach DSGVO verarbeitet: Rechtsgrundlagen, Muster- und Bewerbungsformulare, Analyse-Einwilligung, Fristen und Rechte.","page.careers.title":"Karriere bei PureSurf: F&E-Jobs in Graz | PureSurf","page.careers.description":"Offene Stellen bei PureSurf in Graz: Chemie, Analytik, Operations und Business, in einem EIC-Transition-geförderten Spin-off, das Tenside auf TRL 6 skaliert.","page.careersApply.title":"Bei PureSurf bewerben: Stellen und initiativ | PureSurf","page.careersApply.description":"Bewerben Sie sich auf eine offene PureSurf-Stelle in Graz oder initiativ, inklusive CV-Upload. Jede Bewerbung prüft die fachliche Leitung, kein Screening-Bot.","page.media.title":"PureSurf Media-Kit: Videos, Bilder, Logos | PureSurf","page.media.description":"PureSurf Presse-Hub: Unternehmens- und Produktfilme, wissenschaftliche Bilder aus dem Grazer Labor, Markenpaket mit Logos und Nutzungsregeln als Download.","page.knowledge.title":"Tensid-Wissen: Leitfäden, Glossar, Daten | PureSurf","page.knowledge.description":"Tensid-Wissen aus dem PureSurf-Labor: verständliche Leitfäden zu CMC, Abbaubarkeit und REACH, ein Glossar und gemessene technische Daten zu biobasierten Typen.","pageName.home":"Start","pageName.technology":"Technologie","pageName.products":"Produkte","pageName.nexovant":"NEXOVANT","pageName.rheosyl":"RHEOSYL","pageName.sylvaxis":"SYLVAXIS","pageName.applications":"Anwendungen","pageName.sustainability":"Nachhaltigkeit","pageName.about":"Ãber uns","pageName.team":"Team","pageName.news":"News","pageName.careers":"Karriere","pageName.careersApply":"Bewerbung","pageName.contact":"Kontakt","pageName.media":"Medien","pageName.legal":"Impressum","pageName.privacy":"Datenschutz","pageName.faq":"FAQ","pageName.knowledge":"Wissen","pageName.whatAreSurfactants":"Was sind Tenside?","pageName.amineOxide":"Biobasiertes Aminoxid","pageName.technicalData":"Technische Daten","pageName.palmFree":"Palmölfreie Tenside","pageName.biodegradable":"Biologisch abbaubare Tenside","pageName.bioVsBiosurfactants":"Biobasiert vs. Biotenside","pageName.circularEconomy":"Kreislaufwirtschaft in der Chemie","pageName.lignocellulosic":"Lignocellulose-Tenside","pageName.glossary":"Glossar","pageName.detergentsRegulation":"EU-Detergenzienverordnung","pageName.anionicSurfactants":"Anionische Tenside","pageName.nonionicSurfactants":"Nichtionische Tenside","pageName.cationicSurfactants":"Kationische Tenside","pageName.amphotericSurfactants":"Amphotere Tenside","pageName.oecd301b":"OECD-301B-Test","pageName.bioBasedSurfactants":"Biobasierte Tenside","pageName.cmc":"Kritische Mizellbildungskonzentration","pageName.reachCompliant":"REACH-konforme Tenside","pageName.specialtySurfactants":"Spezialtenside","pageName.fluorosurfactantAlternatives":"Fluortensid-Alternativen"},jg={en:oM,de:aM},ku=(e,t)=>jg[e][t]??jg.en[t]??t,E1=(e,t)=>ku(e,`pageName.${t}`),zl=(e,t)=>
139ku(e,`page.${t}.title`),$j=(e,t)=>ku(e,`page.${t}.description`),T1=w.createContext(null),lM=({children:e})=>{const t=Be(),n=w.useMemo(()=>{const r=ws(t.pathname),i=r==="en"?"de":"en",s=Go(t.pathname),o=(s==null?void 0:s.route.key)??null;return{lang:r,other:i,currentKey:o,link:a=>Qr(a,r),altPath:sM(t.pathname,i),t:a=>ku(r,a),pageName:a=>E1(r,a)}},[t.pathname]);return L.useEffect(()=>{document.documentElement.lang=n.lang},[n.lang]),b.jsx(T1.Provider,{value:n,children:e})},xs=()=>{const e=w.useContext(T1);if(!e)throw new Error("useI18n must be used inside <I18nProvider>");return e},_g=[{key:"technology",labelKey:"nav.technology"},{key:"products",labelKey:"nav.products"},{key:"applications",labelKey:"nav.applications"},{key:"sustainability",labelKey:"nav.sustainability"},{key:"about",labelKey:"nav.about"},{key:"news",labelKey:"nav.news"},{key:"media",labelKey:"nav.media"},{key:"careers",labelKey:"nav.careers"},{key:"contact",labelKey:"nav.contact"}],zg=["nexovant","rheosyl","sylvaxis"],Fg=["knowledge","bioBasedSurfactants","whatAreSurfactants","biodegradable","technicalData","glossary","faq"],uM=()=>{const{t:e,link:t,lang:n,other:r,altPath:i,pageName:s}=xs(),o=Be(),[a,l]=w.useState(!1),[u,c]=w.useState(!1),[d,f]=w.useState(!1);L.useEffect(()=>{l(!1)},[o.pathname]);const p=y=>(t(y),o.pathname.startsWith(t("products")));return b.jsxs("header",{className:"site-header",children:[b.jsxs("div",{className:"container-custom flex items-center justify-between gap-4 py-4",children:[b.jsx(Ne,{to:t("home"),className:"flex items-center shrink-0","aria-label":"PureSurf home",children:b.jsxs("picture",{children:[b.jsx("source",{media:"(max-width: 640px)",srcSet:"/logos/puresurf-logo-small.webp"}),b.jsx("img",{src:"/logos/puresurf-logo.png",alt:"PureSurf",className:"h-8 sm:h-9 w-auto select-none",width:"160",height:"36",decoding:"async",fetchPriority:"high",draggable:!1,style:{aspectRatio:"4.65 / 1"}})]})}),b.jsxs("nav",{"aria-label":"Primary",className:"hidden xl:flex items-center gap-1",children:[_g.map(y=>y.key==="products"?b.jsxs("div",{className:"relative",onMouseEnter:()=>c(!0),onMouseLeave:()=>c(!1),children:[b.jsxs(mi,{to:t("products"),className:`nav-link inline-flex items-center gap-1 ${p("products")?"is-active":""}`,"aria-haspopup":"true","aria-expanded":u,children:[e(y.labelKey),b.jsx(qd,{className:"h-3.5 w-3.5","aria-hidden":"true"})]}),u&&b.jsx("div",{className:"absolute left-0 top-full pt-2",children:b.jsxs("ul",{className:"card-surface min-w-[220px] py-2",role:"menu",children:[b.jsx("li",{role:"none",children:b.jsx(Ne,{role:"menuitem",to:t("products"),className:"block px-4 py-2 text-sm text-ink hover:bg-bg-blue hover:text-brand-blue",children:s("products")})}),b.jsx("li",{className:"my-1 border-t border-border"}),zg.map(g=>b.jsx("li",{role:"none",children:b.jsx(Ne,{role:"menuitem",to:t(g),className:"block px-4 py-2 text-sm text-ink hover:bg-bg-blue hover:text-brand-blue",children:s(g)})},g))]})})]},"products"):b.jsx(mi,{to:t(y.key),className:({isActive:g})=>`nav-link ${g?"is-active":""}`,children:e(y.labelKey)},y.key)),b.jsxs("div",{className:"relative",onMouseEnter:()=>f(!0),onMouseLeave:()=>f(!1),children:[b.jsxs(mi,{to:t("knowledge"),className:({isActive:y})=>`nav-link inline-flex items-center gap-1 ${y?"is-active":""}`,"aria-haspopup":"true","aria-expanded":d,children:[e("nav.knowledge"),b.jsx(qd,{className:"h-3.5 w-3.5","aria-hidden":"true"})]}),d&&b.jsx("div",{className:"absolute right-0 top-full pt-2",children:b.jsx("ul",{className:"card-surface min-w-[220px] py-2",role:"menu",children:Fg.map(y=>b.jsx("li",{role:"none",children:b.jsx(Ne,{role:"menuitem",to:t(y),className:"block px-4 py-2 text-sm text-ink hover:bg-bg-blue hover:text-brand-blue",children:s(y)})},y))})})]})]}),b.jsxs("div",{className:"hidden xl:flex items-center gap-3",children:[b.jsxs(Ne,{to:i,className:"glass-sweep inline-flex items-center gap-1.5 rounded-full border border-border bg-white px-3 py-1.5 text-sm font-semibold text-ink hover:border-brand-blue hover:text-brand-blue transition-colors","aria-label":r==="de"?"Auf Deutsch wechseln":"Switch to English",title:r==="de"?"Auf Deutsch wechseln":"Switch to English",hrefLang:r,children:[b.jsx(lg,{className:"h-3.5 w-3.5","aria-hidden":"true"}),b.jsx("span",{children:r.toUpperCase()})]}),b.jsx(Ne,{to:`${t("contact")}#book-a-call`,"aria-label":e("nav.bookCall"),title:e("nav.bookCall"),className:"inline-flex items-center justify-center rounded-full border border-border bg-white h-9 w-9 text-ink hover:border-brand-blue hover:text-brand-blue transition-colors",children:b.jsx(Cx,{className:"h-4 w-4","aria-hidden":"true"})}),b.jsx(Ne,{to:t("contact"),className:"btn btn-primary text-sm",children:e("nav.requestSample")})]}),b.jsx("button",{className:"xl:hidden inline-flex items-center justify-center min-h-11 min-w-11 p-2 text-brand-blue",onClick:()=>l(y=>!y),"aria-label":e(a?"nav.closeMenu":"nav.openMenu"),"aria-expanded":a,children:a?b.jsx(Yd,{className:"h-6 w-6"}):b.jsx(zP,{className:"h-6 w-6"})})]}),b.jsx("div",{className:`mobile-menu-backdrop xl:hidden ${a?"is-open":""}`,onClick:()=>l(!1),"aria-hidden":"true"}),b.jsxs("nav",{className:`mobile-menu-panel xl:hidden ${a?"is-open":""}`,"aria-label":"Mobile navigation","aria-hidden":!a,children:[b.jsxs("div",{className:"flex items-center justify-between mb-4",children:[b.jsx("img",{src:"/logos/puresurf-logo.png",alt:"PureSurf",className:"h-7 w-auto",width:"140",height:"28"}),b.jsx("button",{className:"inline-flex items-center justify-center min-h-11 min-w-11 p-2 text-brand-blue",onClick:()=>l(!1),"aria-label":e("nav.closeMenu"),children:b.jsx(Yd,{className:"h-6 w-6"})})]}),b.jsxs("div",{className:"flex flex-col",children:[_g.map(y=>b.jsxs(L.Fragment,{children:[b.jsx(mi,{to:t(y.key),className:({isActive:g})=>`px-2 py-3 text-base font-medium border-b border-border ${g?"text-brand-blue":"text-ink"}`,children:e(y.labelKey)}),y.key==="products"&&b.jsx("div",{className:"pl-4 border-b border-border",children:zg.map(g=>b.jsx(Ne,{to:t(g),className:"block min-h-11 py-3 text-sm text-ink",children:s(g)},g))})]},y.key)),Fg.map(y=>b.jsx(mi,{to:t(y),className:({isActive:g})=>`px-2 py-3 text-base font-medium border-b border-border ${g?"text-brand-blue":"text-ink"}`,children:s(y)},y)),b.jsx(mi,{to:`${t("contact")}#book-a-call`,className:"px-2 py-3 text-base font-medium border-b border-border text-ink",children:e("nav.bookCall")}),b.jsxs("div",{className:"flex items-center justify-between py-4",children:[b.jsxs(Ne,{to:i,className:"inline-flex items-center gap-1.5 min-h-11 rounded-full border border-border bg-white px-4 py-2.5 text-sm font-semibold text-ink",hrefLang:r,"aria-label":r==="de"?"Auf Deutsch wechseln":"Switch to English",children:[b.jsx(lg,{className:"h-3.5 w-3.5","aria-hidden":"true"}),b.jsx("span",{children:r.toUpperCase()})]}),b.jsx(Ne,{to:t("contact"),className:"btn btn-primary text-sm",children:e("nav.requestSample")})]})]})]})]})},cM=[{file:"partner-eic.webp",name:"European Innovation Council",alt:"Supported by European Innovation Council"},{file:"partner-erc.webp",name:"European Research Council",alt:"Supported by European Research Council"},{file:"partner-aws-preseed.png",name:"aws (Austria Wirtschaftsservice)",alt:"aws Austria Wirtschaftsservice"},{file:"partner-uni-graz.png",name:"University of Graz",alt:"Research partner University of Graz"},{file:"partner-groningen.webp",name:"University of Groningen",alt:"Research partner University of Groningen"},{file:"partner-tu-graz.webp",name:"TU Graz",alt:"Research partner TU Graz"},{file:"partner-meduni-graz.webp",name:"Medical University of Graz",alt:"Research partner Medical University of Graz"},{file:"partner-cdl.webp",name:"Creative Destruction Lab",alt:"Supported by Creative Destruction Lab"},{file:"partner-chem-institute.jpg",name:"chemstars.nrw",alt:"Supported by chemstars.nrw"},{file:"partner-iect.webp",name:"IECT Hermann Hauser",alt:"Supported by IECT Hermann Hauser"},{file:"partner-startup-uni.webp",name:"Startup-uni.at",alt:"Supported by Startup-uni.at"},{file:"partner-bmk.png",name:"BMK",alt:"Supported by BMK, Austrian Federal Ministry for Climate Action"},{file:"partner-sciencepark-graz.png",name:"Science Park Graz",alt:"Supported by Science Park Graz"}],dM=({label:e})=>{const[t,n]=w.useState(new Set),r=cM.filter(s=>!t.has(s.file)),i=[...r,...r];return b.jsx("section",{"aria-label":e,className:"border-t border-border",style:{background:"hsl(var(--bg-blue))",minHeight:320},children:b.jsxs("div",{className:"container-custom py-12",style:{minHeight:272},children:[b.jsx("p",{className:"eyebrow text-center block mb-8",style:{color:"hsl(var(--brand-blue))"},children:e}),b.jsx("div",{className:"partner-marquee",tabIndex:0,children:b.jsx("ul",{className:"partner-marquee__track",role:"list","aria-label":e,children:i.map((s,o)=>b.jsx("li",{"aria-hidden":o>=r.length?"true":void 0,className:"shrink-0",children:b.jsx("div",{className:"flex items-center justify-center rounded-xl bg-white border border-border shadow-sm h-36 w-[300px] px-8 py-6",title:s.name,children:b.jsx("img",{src:`/partners/${s.file}`,alt:s.alt,loading:"eager",decoding:"async",width:240,height:112,className:"block max-h-28 max-w-[240px] w-auto h-auto object-contain",onError:()=>n(a=>
139{const l=new Set(a);return l.add(s.file),l})})})},`${s.file}-${o}`))})})]})})},fM=()=>{const{lang:e}=xs(),t=e==="de";return b.jsx("section",{"aria-label":t?"Förderhinweis":"Funding notice",className:"border-t border-border bg-white",children:b.jsx("div",{className:"container-custom py-8 md:py-10",children:b.jsxs("div",{className:"flex flex-col gap-6 md:flex-row md:items-center md:gap-10",children:[b.jsxs("div",{className:"flex flex-wrap items-center gap-x-8 gap-y-4 shrink-0",children:[b.jsx("span",{className:"text-[11px] font-semibold uppercase tracking-[0.18em] text-muted-foreground","aria-hidden":"true",children:t?"Gefördert von":"Funded by"}),b.jsxs("div",{className:"flex items-center gap-6 md:gap-8",children:[b.jsx("a",{href:"https://eic.ec.europa.eu/",target:"_blank",rel:"noopener noreferrer","aria-label":"European Innovation Council",className:"block",children:b.jsx("img",{src:"/partners/partner-eic.webp",alt:"Supported by European Innovation Council",loading:"eager",decoding:"async",width:208,height:70,className:"h-10 md:h-12 w-auto object-contain"})}),b.jsx("a",{href:"https://www.aws.at/en/aws-preseed-seedfinancing/",target:"_blank",rel:"noopener noreferrer","aria-label":"aws PreSeed",className:"block",children:b.jsx("img",{src:"/partners/partner-aws-preseed.png",alt:"aws Austria Wirtschaftsservice",loading:"eager",decoding:"async",width:140,height:48,className:"h-10 md:h-12 w-auto object-contain"})})]})]}),b.jsx("p",{className:"text-xs leading-relaxed text-muted-foreground md:flex-1 md:border-l md:border-border md:pl-8",children:t?"Spin-off aus einem EIC Transition Projekt (Fördervereinbarung #101058142). Die geäuÃerten Ansichten sind ausschlieÃlich jene der Autor:innen und spiegeln nicht notwendigerweise jene der Europäischen Union oder des European Innovation Council wider. Die PureSurf FlexCo hat zudem aws PreSeed Förderung vom BMIMI erhalten.":"Spin-off from an EIC Transition (grant agreement #101058142). Views and opinions expressed are those of the author(s) only and do not necessarily reflect those of the European Union or the European Innovation Council. The PureSurf FlexCo has received aws PreSeed funding from BMIMI."})]})})})},pM=["technology","products","applications","sustainability","about","team","news","careers","faq","contact"],Tc="text-[11px] font-semibold uppercase tracking-[0.16em] text-white/55 [font-family:Satoshi,Inter,Arial,sans-serif] [word-break:keep-all] hyphens-none",Ar="inline-flex items-center min-h-[32px] py-0.5 text-[13.5px] leading-snug text-white/75 hover:text-white transition-colors",hM=()=>{const{t:e,link:t,pageName:n}=xs();return b.jsxs(b.Fragment,{children:[b.jsx(dM,{label:e("footer.supportedBy")}),b.jsx(fM,{}),b.jsxs("footer",{id:"site-footer",className:"section-dark mt-0 footer-green-divider",children:[b.jsxs("div",{className:"container-custom pt-12 pb-8 md:pt-14 md:pb-10 grid gap-x-8 gap-y-10 grid-cols-2 md:grid-cols-12 [&>*]:min-w-0",children:[b.jsxs("div",{className:"col-span-2 md:col-span-4",children:[b.jsx("img",{src:"/logos/puresurf-logo.png",alt:"PureSurf - bio-based chemical platform logo",className:"h-7 w-auto brightness-0 invert",width:"140",height:"28",loading:"lazy"}),b.jsx("p",{className:"mt-4 text-[13.5px] leading-relaxed text-white/65 max-w-[36ch]",children:e("footer.tagline")})]}),b.jsxs("nav",{"aria-label":e("footer.quickLinks"),className:"col-span-1 md:col-span-3",children:[b.jsx("p",{className:Tc,children:e("footer.quickLinks")}),b.jsx("ul",{className:"mt-4 space-y-1.5",children:pM.map(r=>b.jsx("li",{children:b.jsx(Ne,{to:t(r),className:Ar,children:n(r)})},r))})]}),b.jsxs("nav",{"aria-label":e("footer.legal"),className:"col-span-1 md:col-span-2",children:[b.jsx("p",{className:Tc,children:e("footer.legal")}),b.jsxs("ul",{className:"mt-4 space-y-1.5",children:[b.jsx("li",{children:b.jsx(Ne,{to:t("legal"),className:Ar,children:e("footer.legalNotice")})}),b.jsx("li",{children:b.jsx(Ne,{to:t("privacy"),className:Ar,children:e("footer.privacy")})}),b.jsx("li",{children:b.jsx("button",{type:"button",onClick:()=>
139window.dispatchEvent(new CustomEvent("puresurf:open-cookie-settings")),className:`${Ar} text-left`,children:e("footer.cookieSettings")})})]})]}),b.jsxs("div",{className:"col-span-2 md:col-span-3",children:[b.jsx("p",{className:Tc,children:e("footer.contact")}),b.jsxs("ul",{className:"mt-4 space-y-1.5",children:[b.jsx("li",{children:b.jsxs("a",{href:"mailto:[email protected]",className:`${Ar} gap-2`,children:[b.jsx(_P,{className:"h-4 w-4 shrink-0","aria-hidden":"true"}),b.jsx("span",{className:"break-all",children:"[email protected]"})]})}),b.jsx("li",{children:b.jsxs("a",{href:"https://www.linkedin.com/company/puresurf",target:"_blank",rel:"noopener noreferrer",className:`${Ar} gap-2`,children:[b.jsx(jP,{className:"h-4 w-4 shrink-0","aria-hidden":"true"}),b.jsx("span",{children:"LinkedIn"})]})}),b.jsx("li",{children:b.jsxs(Ne,{to:`${t("contact")}#book-a-call`,className:`${Ar} gap-2`,children:[b.jsx(Cx,{className:"h-4 w-4 shrink-0","aria-hidden":"true"}),b.jsx("span",{children:e("nav.bookCall")})]})})]})]})]}),b.jsx("div",{className:"border-t border-white/10",children:b.jsxs("div",{className:"container-custom py-5 flex flex-col md:flex-row md:items-center md:justify-between gap-3 text-[12px] text-white/55",children:[b.jsxs("p",{className:"order-2 md:order-1",children:["© ",new Date().getFullYear()," PureSurf FlexCo. ",e("footer.rights")]}),b.jsxs("div",{className:"order-1 md:order-2 flex flex-col md:flex-row md:items-center gap-x-5 gap-y-1",children:[b.jsx("p",{children:e("footer.address")}),b.jsx("a",{href:"https://www.aixpoint.de",target:"_blank",rel:"noopener noreferrer",className:"text-white/75 text-[12px] font-medium tracking-normal hover:text-white transition-colors no-underline","aria-label":"Website designed by aixpoint",children:"Designed by aixpoint"})]})]})})]})]})},mM=()=>{const{t:e,link:t}=xs(),n=Be(),[r,i]=w.useState(!1),[s,o]=w.useState(!1),a=n.pathname===t("contact")||n.pathname.endsWith("/contact");w.useEffect(()=>{const u=()=>{i(window.scrollY>window.innerHeight*1.2)};return u(),window.addEventListener("scroll",u,{passive:!0}),()=>window.removeEventListener("scroll",u)},[]),w.useEffect(()=>{const u=[document.getElementById("site-footer"),document.querySelector("[data-contact-form]")].filter(Boolean);if(!u.length){o(!1);return}const c=new IntersectionObserver(d=>{const f=d.some(p=>p.isIntersecting);o(f)},{rootMargin:"0px 0px 0px 0px",threshold:.01});return u.forEach(d=>c.observe(d)),()=>c.disconnect()},[n.pathname]);const l=r&&!s&&!a;return b.jsx("div",{className:"lg:hidden fixed inset-x-0 bottom-0 z-40 pointer-events-none",style:{paddingBottom:"env(safe-area-inset-bottom, 0px)"},"aria-hidden":!l,children:b.jsx("div",{className:"px-4 pb-3 pt-2 transition-transform duration-[250ms] ease-out",style:{transform:l?"translateY(0)":"translateY(140%)"},children:b.jsx(Ne,{to:t("contact"),className:"glass-pill glass-sweep pointer-events-auto flex w-full items-center justify-center rounded-full font-semibold shadow-lg",style:{minHeight:52},tabIndex:l?0:-1,children:e("nav.requestSample")})})})},gM=()=>b.jsxs("div",{className:"atmos-root","aria-hidden":"true",children:[b.jsx("div",{className:"atmos-blob atmos-blob--navy"}),b.jsx("div",{className:"atmos-blob atmos-blob--green"}),b.jsx("div",{className:"atmos-grain"}),b.jsx("div",{className:"atmos-vignette"})]}),P1=`${zr}/#organization`,k1=`${zr}/#website`,sn={"@id":P1},bs=e=>e==="de"?"de-AT":"en",Ui=e=>e.startsWith("http")?e:`${zr}${e}`,yM=(e,t)=>{var s;const n=[],r=new Set;let i=t;for(;i&&!r.has(i);)r.add(i),n.unshift(i),i=(s=nM(i))==null?void 0:s.parent;return n[0]!=="home"&&n.unshift("home"),n.map(o=>({name:E1(e,o),path:Qr(o,e)}))},Uj=e=>({"@context":"https://schema.org","@type":"BreadcrumbList",itemListElement:e.map((t,n)=>({"@type":"ListItem",position:n+1,name:t.name,item:Ui(t.path)}))}),Wj=(e,t,n)=>({"@context":"https://schema.org","@type":"FAQPage","@id":`${n}#faq`,inLanguage:bs(e),isPartOf:{"@id":`${n}#webpage`},mainEntity:t.map(r=>({"@type":"Question",name:r.question,acceptedAnswer:{"@type":"Answer",text:r.answer}}))}),Vg=e=>({"@type":"Person",...e.id?{"@id":e.id}:{},name:e.name,...e.url?{url:e.url}:{},...e.jobTitle?{jobTitle:e.jobTitle}:{},...e.sameAs?{sameAs:typeof e.sameAs=="string"?e.sameAs:e.sameAs.slice()}:{},worksFor:sn}),Hj=({lang:e,url:t,headline:n,description:r,datePublished:i,dateModified:s,author:o,reviewedBy:a,about:l,image:u})=>({"@context":"https://schema.org","@type":"TechArticle","@id":`${t}
139#article`,headline:n,description:r,url:t,mainEntityOfPage:{"@id":`${t}#webpage`},inLanguage:bs(e),datePublished:i,dateModified:s,proficiencyLevel:"Expert",dependencies:"None",author:Vg(o),...a?{reviewedBy:Vg(a),lastReviewed:s}:{},publisher:sn,about:l.map(c=>({"@type":"Thing",name:c})),...u?{image:u}:{}}),Kj=(e,t,n,r,i)=>({"@context":"https://schema.org","@type":"DefinedTermSet","@id":`${t}#termset`,name:n,description:r,url:t,inLanguage:bs(e),publisher:sn,hasDefinedTerm:i.map(s=>({"@type":"DefinedTerm",name:s.term,description:s.definition,inDefinedTermSet:{"@id":`${t}#termset`},url:`${t}#${vM(s.term)}`}))}),vM=e=>e.toLowerCase().replace(/[()/.,]/g,"").replace(/[^a-z0-9]+/g,"-").replace(/^-|-$/g,""),Gj=(e,t,n)=>{const r=Ui(Qr("contact",e));return{"@type":"Offer",url:t,availability:`https://schema.org/${n}`,itemCondition:"https://schema.org/NewCondition",priceCurrency:"EUR",price:"0",validFrom:"2026-01-01",priceValidUntil:"2027-12-31",businessFunction:"http://purl.org/goodrelations/v1#Sell",eligibleCustomerType:"http://purl.org/goodrelations/v1#Business",areaServed:"Europe",seller:sn,potentialAction:{"@type":"Action",name:e==="de"?"Muster anfordern":"Request a sample",target:r},shippingDetails:{"@type":"OfferShippingDetails",shippingRate:{"@type":"MonetaryAmount",value:"0",currency:"EUR"},shippingDestination:{"@type":"DefinedRegion",addressRegion:"EU",addressCountry:["AT","DE","NL","FR","IT","ES","BE","PL","SE"]},deliveryTime:{"@type":"ShippingDeliveryTime",handlingTime:{"@type":"QuantitativeValue",minValue:1,maxValue:5,unitCode:"DAY"},transitTime:{"@type":"QuantitativeValue",minValue:1,maxValue:10,unitCode:"DAY"}}},hasMerchantReturnPolicy:{"@type":"MerchantReturnPolicy",applicableCountry:["AT","DE","NL","FR","IT","ES","BE","PL","SE"],returnPolicyCategory:"https://schema.org/MerchantReturnNotPermitted",merchantReturnLink:r}}},qj=(e,t,n)=>({"@type":"PropertyValue",name:e,value:t,...n?{unitText:n}:{}}),wM=e=>`${Ui(Qr("team","en"))}#${e}`,Yj=({lang:e,pageUrl:t,slug:n,name:r,jobTitle:i,description:s,credentials:o,affiliations:a,sameAs:l,image:u,email:c})=>({"@type":"Person","@id":wM(n),name:r,url:`${t}#${n}`,jobTitle:i,inLanguage:bs(e),...s?{description:s}:{},worksFor:sn,...a!=null&&a.length?{affiliation:a.map(d=>({"@type":"Organization",name:d}))}:{},...o!=null&&o.length?{hasCredential:o.map(d=>({"@type":"EducationalOccupationalCredential",name:d}))}:{},...l!=null&&l.length?{sameAs:[...l]}:{},...u?{image:u}:{},...c?{email:c}:{}}),Qj=(e,t,n,r,i)=>({"@context":"https://schema.org","@type":"CollectionPage","@id":`${t}#collectionpage`,name:n,description:r,url:t,inLanguage:bs(e),isPartOf:{"@id":k1},about:sn,publisher:sn,mainEntity:{"@type":"ItemList",name:n,numberOfItems:i.length,itemListElement:i.map((s,o)=>({"@type":"ListItem",position:o+1,item:s}))}}),Xj=({lang:e,pageUrl:t,name:n,description:r,awards:i,funding:s,teamUrl:o,brands:a})=>({"@context":"https://schema.org","@type":"AboutPage","@id":`${t}#aboutpage`,name:n,description:r,url:t,inLanguage:bs(e),isPartOf:{"@id":k1},publisher:sn,mainEntity:{"@id":P1,"@type":"Organization",...i.length?{award:[...i]}:{},...s.length?{funding:s.map(l=>({"@type":"Grant",name:l.name,...l.url?{url:l.url}:{},funder:{"@type":"Organization",name:l.name}}))}:{},...a!=null&&a.length?{brand:a}:{}},...o?{significantLink:o}:{}}),Ws={nexovant:`${zr}/#brand-nexovant`,rheosyl:`${zr}/#brand-rheosyl`,sylvaxis:`${zr}/#brand-sylvaxis`,puresynth:`${zr}/#brand-puresynth`},Zj=(e,t,n)=>({"@id":`${Ui(Qr(n,"en"))}#product`,brand:{"@type":"Brand","@id":Ws[e],name:t,parentOrganization:sn},manufacturer:sn,sameAs:[Ui(Qr(n,"en")),Ui(Qr(n,"de"))]}),Jj=()=>[{"@type":"Brand","@id":Ws.nexovant,name:"NEXOVANT"},{"@type":"Brand","@id":Ws.rheosyl,name:"RHEOSYL"},{"@type":"Brand","@id":Ws.sylvaxis,name:"SYLVAXIS"},{"@type":"Brand","@id":Ws.puresynth,name:"PureSynth"}],xM=({pageKey:e})=>{const{lang:t}=xs();if(e==="home")return null;const n=yM(t,e);return n.length<2?null:b.jsx("nav",{"aria-label":"Breadcrumb",className:"container-custom pt-6",children:b.jsx("ol",{className:"flex flex-wrap items-center gap-2 text-sm text-muted-foreground",children:n.map((r,i)=>{const s=i===n.length-1;return b.jsxs("li",{className:"flex items-center gap-2",children:[i>0&&b.jsx(DP,{className:"h-3.5 w-3.5 text-muted","aria-hidden":"true"}),s?b.jsx("span",{"aria-current":"page",className:"text-ink font-medium",children:r.name}):b.jsx(Ne,{to:r.path,className:"hover:text-brand-blue",children:r.name})]},r.path)})})})},bM=()=>{const{pathname:e}=Be(),t=Go(e);return!t||t.route.key==="home"?null:b.jsx(xM,{pageKey:t.route.key})};function SM(){w.useEffect(()=>{if(typeof window>"u")return;const e=CSS&&typeof CSS.supports=="function"&&CSS.supports("animation-timeline: view()"),t=window.matchMedia("(prefers-reduced-motion: reduce)").matches;if(e||t)return;const n='[data-reveal]:not(.is-in-view), [data-cine="reveal"]:not(.is-in-view), [data-sda]:not(.is-in-view)',r=new IntersectionObserver(o=>{o.forEach(a=>{a.isIntersecting&&(a.target.classList.add("is-in-view"),r.unobserve(a.target))})}
139,{rootMargin:"0px 0px -10% 0px",threshold:.2}),i=()=>{document.querySelectorAll(n).forEach(o=>r.observe(o))};i();const s=new MutationObserver(()=>{i()});return s.observe(document.body,{childList:!0,subtree:!0}),()=>{r.disconnect(),s.disconnect()}},[])}function CM(){w.useEffect(()=>{var c;if(typeof window>"u"||((c=window.matchMedia)==null?void 0:c.call(window,"(prefers-reduced-motion: reduce)").matches))return;let t=0,n=0,r=0,i=0,s=0,o=!1;const a=document.documentElement,l=()=>{i+=(n-i)*.08,s+=(r-s)*.08,a.style.setProperty("--tilt-x",i.toFixed(3)),a.style.setProperty("--tilt-y",s.toFixed(3)),t=requestAnimationFrame(l)},u=d=>{const f=typeof d.gamma=="number"?d.gamma:0,p=typeof d.beta=="number"?d.beta:0,y=Math.max(-1,Math.min(1,f/25)),g=Math.max(-1,Math.min(1,(p-45)/25));n=y,r=g,o||(o=!0,t=requestAnimationFrame(l))};return window.addEventListener("deviceorientation",u,{passive:!0}),()=>{window.removeEventListener("deviceorientation",u),t&&cancelAnimationFrame(t),a.style.removeProperty("--tilt-x"),a.style.removeProperty("--tilt-y")}},[])}function EM(){w.useEffect(()=>{if(typeof window>"u")return;const e=document.documentElement;let t="",n=!1;const r=()=>{const s=window.scrollY<80?"top":"compact";s!==t&&(e.setAttribute("data-nav-state",s),t=s),n=!1},i=()=>{n||(window.requestAnimationFrame(r),n=!0)};return r(),window.addEventListener("scroll",i,{passive:!0}),()=>{window.removeEventListener("scroll",i),e.removeAttribute("data-nav-state")}},[])}const TM=()=>{var e;return typeof window<"u"&&((e=window.matchMedia)==null?void 0:e.call(window,"(prefers-reduced-motion: reduce)").matches)},cf="data-split",Pc="m-in",PM="m-word",kM=/outperform|schlagen/i;function A1(e){if(e.dataset.split==="ready")return;const t=e.textContent??"";if(!t.trim())return;const n=t.split(/(\s+)/);e.textContent="",n.forEach((r,i)=>{if(/^\s+$/.test(r)){e.appendChild(document.createTextNode(r));return}const s=document.createElement("span");s.className=PM,s.style.setProperty("--m-i",String(Math.floor(i/2))),kM.test(r)&&s.classList.add("m-underline"),s.textContent=r,e.appendChild(s)}),e.dataset.split="ready"}function AM(e){if(e.dataset.countState==="done")return;const t=Number((e.dataset.count||"").replace(/[^\d.-]/g,""));if(!isFinite(t))return;const n=e.dataset.countSuffix??"",r=Number(e.dataset.countDecimals??"0"),i=900,s=performance.now();e.dataset.countState="run";const o=a=>{const l=Math.min(1,(a-s)/i),u=1-Math.pow(1-l,3),c=t*u;e.textContent=c.toFixed(r)+n,l<1?requestAnimationFrame(o):(e.textContent=t.toFixed(r)+n,e.dataset.countState="done")};requestAnimationFrame(o)}function Bg(e){e.querySelectorAll("h1.display-xl, h1[data-motion-hero], section h1").forEach(t=>{if(t.hasAttribute(cf)||t.closest("[data-no-motion]")||t.children.length>0)return;const n=(t.textContent||"").trim();!n||n.length>140||(t.setAttribute(cf,""),A1(t))}),e.querySelectorAll("span.text-\\[0\\.72rem\\], span.text-xs.uppercase, span.uppercase.tracking-\\[0\\.22em\\], p.uppercase.tracking-\\[0\\.22em\\]").forEach(t=>{t.hasAttribute("data-eyebrow")||t.setAttribute("data-eyebrow","")})}function RM(){w.useEffect(()=>{if(typeof window>"u")return;const e=TM(),t=document.querySelector(".site-header"),n=document.querySelector("[data-photo-heavy]")||document.querySelector("section:first-of-type");let r=null;t&&n&&(r=new IntersectionObserver(u=>{const c=u[0];c&&(c.isIntersecting&&c.intersectionRatio>.15?t.setAttribute("data-over-photo","1"):t.removeAttribute("data-over-photo"))},{threshold:[0,.15,.5]}),r.observe(n)),Bg(document.body);const i=["[data-split]","[data-eyebrow]","[data-motion-reveal]","[data-scroll-card]","[data-bento]","[data-count]","[data-arrow-nudge]","[data-icon-pop]"].join(","),s=new IntersectionObserver(u=>{u.forEach(c=>{if(!c.isIntersecting)return;const d=c.target;if(d.classList.contains(Pc)){s.unobserve(d);return}d.hasAttribute(cf)&&d.dataset.split!=="ready"&&A1(d),d.classList.add(Pc),d.hasAttribute("data-count")&&!e&&AM(d),s.unobserve(d)})},{rootMargin:"0px 0px -10% 0px",threshold:.15}),o=()=>{Bg(document.body),document.querySelectorAll(i).forEach(u=>{u.classList.contains(Pc)||s.observe(u)})};o();let a=!1;const l=new MutationObserver(()=>{a||(a=!0,requestAnimationFrame(()=>{a=!1,o()}))});return l.observe(document.body,{childList:!0,subtree:!0}),()=>{s.disconnect(),l.disconnect(),r==null||r.disconnect()}},[])}const Hs="puresurf_cookie_preferences",kc="puresurf_cookie_consent",NM=e=>
139({analytics_storage:e.analytics?"granted":"denied",functionality_storage:e.preferences?"granted":"denied",personalization_storage:e.preferences?"granted":"denied",ad_storage:e.marketing?"granted":"denied",ad_user_data:e.marketing?"granted":"denied",ad_personalization:e.marketing?"granted":"denied"}),df="puresurf_consent",MM=()=>{if(typeof window>"u")return null;const e=window.location.hostname;if(e==="localhost"||/^[\d.]+$/.test(e))return null;const t=e.split(".");return t.length<2?null:`.${t.slice(-2).join(".")}`},R1=()=>{if(typeof document>"u")return null;const e=document.cookie.split("; ").find(t=>t.startsWith(`${df}=`));if(!e)return null;try{const t=JSON.parse(decodeURIComponent(e.slice(df.length+1)));return!t||typeof t!="object"||!t.prefs?null:t}catch{return null}},LM=e=>{if(typeof document>"u")return;const t=MM(),n=window.location.protocol==="https:"?"; Secure":"";document.cookie=`${df}=${encodeURIComponent(JSON.stringify(e))}; path=/; max-age=${60*60*24*365}; SameSite=Lax${n}`+(t?`; domain=${t}`:"")},Jp=()=>{var e;try{const t=localStorage.getItem(Hs);if(t)return JSON.parse(t)}catch{}return((e=R1())==null?void 0:e.prefs)??null},Ac=()=>{const e=Jp();return!!(e!=null&&e.analytics)},$g="https://kzsskscshpbtagsizehj.supabase.co/functions/v1/crm-track",qa="puresurf_crm_vid",ff="puresurf_internal";let We=null,Ug=!0,Ks=null,Ya=null,Wg=!1,Hg=null;const eh=()=>typeof window<"u"&&typeof document<"u",th=()=>eh()&&/(^|\.)puresurf\.eu$/i.test(window.location.hostname),Au=()=>{try{if(crypto&&"randomUUID"in crypto)return crypto.randomUUID()}catch{}return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,e=>{const t=Math.random()*16|0;return(e==="x"?t:t&3|8).toString(16)})},pf=()=>{var e;return!!((e=Jp())!=null&&e.marketing)},N1=()=>{try{return localStorage.getItem(ff)==="1"}catch{return!1}},nh=()=>
139{if(!eh())return null;try{if(!pf())return localStorage.removeItem(qa),null;let e=localStorage.getItem(qa);return e||(e=Au(),localStorage.setItem(qa,e)),e}catch{return null}},rh=()=>{const e=window.innerWidth||1200;return e<768?"m":e<1100?"t":"d"},DM=e=>!e.includes(" ")&&(e.includes("page.")||e.endsWith(".title")),M1=e=>{const t=document.title||e,n=Go(e),r=n?zl(n.lang,n.route.key):document.title||zl(ws(e),"home");return!r||DM(r)?t:r},Ru=e=>{if(!th()||N1())return;const t=JSON.stringify(e);try{if(navigator.sendBeacon&&navigator.sendBeacon($g,new Blob([t],{type:"text/plain"})))return}catch{}fetch($g,{method:"POST",body:t,keepalive:!0,headers:{"Content-Type":"text/plain"}}).catch(()=>{})},L1=()=>{if(!We)return;const e=Date.now(),t=We.visibleMs+(We.visibleSince?e-We.visibleSince:0),n=Math.round(t/1e3);n>=1&&Ru({t:"end",v:We.id,sec:Math.min(n,3600)}),We=null},OM=()=>{const e=new URLSearchParams(window.location.search);let t=!1;if(e.has("ps_internal")){try{e.get("ps_internal")==="1"?localStorage.setItem(ff,"1"):localStorage.removeItem(ff)}catch{}e.delete("ps_internal"),t=!0}const n=e.get("pst");if(n&&/^[A-Za-z0-9]{12,40}$/.test(n)&&(Ks=n),e.has("pst")&&(e.delete("pst"),t=!0),t){const r=e.toString();window.history.replaceState(window.history.state,"",window.location.pathname+(r?`?${r}`:"")+window.location.hash)}return e},IM=()=>
139{if(Wg||!eh())return;Wg=!0,document.addEventListener("visibilitychange",()=>{We&&(document.visibilityState==="hidden"?(We.visibleSince&&(We.visibleMs+=Date.now()-We.visibleSince),We.visibleSince=null):We.visibleSince||(We.visibleSince=Date.now()))}),window.addEventListener("pagehide",L1);let e=pf();window.addEventListener("storage",()=>{const t=pf();if(!t)try{localStorage.removeItem(qa)}catch{}t&&!e&&Ya&&(Ru({t:"pv",v:Au(),p:window.location.pathname,ti:M1(window.location.pathname),l:ws(window.location.pathname),dv:rh(),vid:nh(),pst:Ya}),Ya=null),e=t})},jM=()=>{if(!th())return;IM();const e=OM(),t=window.location.pathname;if(Hg===t&&We||(Hg=t,L1(),N1()))return;const n=Au();We={id:n,visibleMs:0,visibleSince:document.visibilityState==="visible"?Date.now():null};const r={t:"pv",v:n,p:t,l:ws(t),dv:rh(),vid:nh()};if(Ug){if(document.referrer)try{const i=new URL(document.referrer);r.r=i.origin+i.pathname}catch{}e.get("utm_source")&&(r.us=e.get("utm_source")),e.get("utm_medium")&&(r.um=e.get("utm_medium")),e.get("utm_campaign")&&(r.uc=e.get("utm_campaign")),Ug=!1}Ks&&(r.pst=Ks,r.vid||(Ya=Ks),Ks=null),window.setTimeout(()=>{r.ti=M1(t),Ru(r)},400)},e_=e=>{th()&&Ru({t:"dl",v:Au(),p:window.location.pathname,ti:`Download: ${e}`.slice(0,300),f:e,l:ws(window.location.pathname),dv:rh(),vid:nh()})},_M="G-MFGFNF8DDV",zM=e=>{const t=Go(e);if(t)return zl(t.lang,t.route.key);const n=ws(e);return document.title||zl(n,"home")},FM=()=>{const e=Be(),t=w.useRef(null),n=()=>{var i;const r=window.location.pathname+window.location.search;t.current!==r&&(t.current=r,(i=window.gtag)==null||i.call(window,"event","page_view",{send_to:_M,page_path:r,page_location:window.location.href,page_title:zM(window.location.pathname)}))};w.useEffect(()=>{let r=Ac();const i=()=>{var l,u,c,d,f;const s=Jp(),o=s?NM(s):{ad_storage:"denied",ad_user_data:"denied",ad_personalization:"denied",analytics_storage:"denied",functionality_storage:"denied",personalization_storage:"denied"};(l=window.gtag)==null||l.call(window,"consent","update",{...o,security_storage:"granted"}),(u=window.gtag)==null||u.call(window,"set","ads_data_redaction",o.ad_storage!=="granted"),(c=window.gtag)==null||c.call(window,"set","url_passthrough",!0),(d=window.gtag)==null||d.call(window,"set","allow_google_signals",o.ad_storage==="granted"),(f=window.gtag)==null||f.call(window,"set","allow_ad_personalization_signals",o.ad_personalization==="granted");const a=Ac();a&&!r&&n(),r=a};return i(),window.addEventListener("storage",i),()=>window.removeEventListener("storage",i)},[]),w.useEffect(()=>{Ac()&&n()},[e.pathname,e.search]),w.useEffect(()=>{jM()},[e.pathname])},VM=({children:e})=>{SM(),CM(),EM(),RM(),FM();const{t}=xs();return b.jsxs("div",{className:"min-h-screen flex flex-col bg-background text-foreground relative",children:[b.jsx("a",{href:"#main",className:"sr-only focus:not-sr-only focus:fixed focus:top-3 focus:left-3 focus:z-[100] focus:rounded-md focus:bg-primary focus:text-primary-foreground focus:px-4 focus:py-2 focus:no-underline focus:shadow-lg focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-primary",children:t("nav.skipToContent")}),b.jsx(gM,{}),b.jsx(uM,{}),b.jsxs("main",{id:"main",className:"flex-1 relative z-[1]",children:[b.jsx(bM,{}),e]}),b.jsx(hM,{}),b.jsx(mM,{})]})},BM="modulepreload",$M=function(e){return"/"+e},Kg={},un=function(t,n,r){let i=Promise.resolve();if(n&&n.length>0){document.getElementsByTagName("link");const o=document.querySelector("meta[property=csp-nonce]"),a=(o==null?void 0:o.nonce)||(o==null?void 0:o.getAttribute("nonce"));i=Promise.allSettled(n.map(l=>{if(l=$M(l),l in Kg)return;Kg[l]=!0;const u=l.endsWith(".css"),c=u?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${l}"]${c}`))return;const d=document.createElement("link");if(d.rel=u?"stylesheet":BM,u||(d.as="script"),d.crossOrigin="",d.href=l,a&&d.setAttribute("nonce",a),document.head.appendChild(d),u)return new Promise((f,p)=>{d.addEventListener("load",f),d.addEventListener("error",()=>p(new Error(`Unable to preload CSS for ${l}`)))})}))}function s(o){const a=new Event("vite:preloadError",{cancelable:!0});if(a.payload=o,window.dispatchEvent(a),!a.defaultPrevented)throw o}return i.then(o=>{for(const a of o||[])a.status==="rejected"&&s(a.reason);return t().catch(s)})},ih=w.createContext({});function sh(e){const t=w.useRef(null);return t.current===null&&(t.current=e()),t.current}const UM=typeof window<"u",D1=UM?w.useLayoutEffect:w.useEffect,Nu=w.createContext(null);function oh(e,t){e.indexOf(t)===-1&&e.push(t)}function Fl(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}const on=(e,t,n)=>n>t?t:n<e?e:n;let Mu=()=>{},ls=()=>{};const yr={},O1=e=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(e),I1=e=>typeof e=="object"&&e!==null,j1=e=>/^0[^.\s]+$/u.test(e);function _1(e){let t;return()=>(t===void 0&&(t=e()),t)}const St=e=>e,qo=(...e)=>e.reduce((t,n)=>r=>n(t(r))),Lo=(e,t,n)=>{const r=t-e;return r?(n-e)/r:1};class ah{constructor(){this.subscriptions=[]}add(t){return oh(this.subscriptions,t),()=>Fl(this.subscriptions,t)}notify(t,n,r){const i=this.subscriptions.length;if(i)if(i===1)this.subscriptions[0](t,n,r);else for(let s=0;s<i;s++){const o=this.subscriptions[s];o&&o(t,n,r)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}const it=e=>e*1e3,xt=e=>e/1e3,z1=(e,t)=>t?e*(1e3/t):0,F1=(e,t,n)=>(((1-3*n+3*t)*e+(3*n-6*t))*e+3*t)*e,WM=1e-7,HM=12;function KM(e,t,n,r,i){let s,o,a=0;do o=t+(n-t)/2,s=F1(o,r,i)-e,s>0?n=o:t=o;while(Math.abs(s)>WM&&++a<HM);return o}function Yo(e,t,n,r){if(e===t&&n===r)return St;const i=s=>KM(s,0,1,e,n);return s=>s===0||s===1?s:F1(i(s),t,r)}const V1=e=>t=>t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2,B1=e=>t=>1-e(1-t),$1=Yo(.33,1.53,.69,.99),lh=B1($1),U1=V1(lh),W1=e=>e>=1?1:(e*=2)<1?.5*lh(e):.5*(2-Math.pow(2,-10*(e-1))),uh=e=>1-Math.sin(Math.acos(e)),H1=B1(uh),K1=V1(uh),GM=Yo(.42,0,1,1),qM=Yo(0,0,.58,1),G1=Yo(.42,0,.58,1),YM=e=>Array.isArray(e)&&typeof e[0]!="number",q1=e=>Array.isArray(e)&&typeof e[0]=="number",Gg={linear:St,easeIn:GM,easeInOut:G1,easeOut:qM,circIn:uh,circInOut:K1,circOut:H1,backIn:lh,backInOut:U1,backOut:$1,anticipate:W1},QM=e=>typeof e=="string",qg=e=>{if(q1(e)){ls(e.length===4,"Cubic bezier arrays must contain four numerical values.","cubic-bezier-length");const[t,n,r,i]=e;return Yo(t,n,r,i)}else if(QM(e))return ls(Gg[e]!==void 0,`Invalid easing type '${e}
139'`,"invalid-easing-type"),Gg[e];return e},Ta=["setup","read","resolveKeyframes","preUpdate","update","preRender","render","postRender"],Yg={value:null,addProjectionMetrics:null};function XM(e,t){let n=new Set,r=new Set,i=!1,s=!1;const o=new WeakSet;let a={delta:0,timestamp:0,isProcessing:!1},l=0;function u(d){o.has(d)&&(c.schedule(d),e()),l++,d(a)}const c={schedule:(d,f=!1,p=!1)=>{const g=p&&i?n:r;return f&&o.add(d),g.add(d),d},cancel:d=>{r.delete(d),o.delete(d)},process:d=>{if(a=d,i){s=!0;return}i=!0;const f=n;n=r,r=f,n.forEach(u),t&&Yg.value&&Yg.value.frameloop[t].push(l),l=0,n.clear(),i=!1,s&&(s=!1,c.process(d))}};return c}const ZM=40;function Y1(e,t){let n=!1,r=!0;const i={delta:0,timestamp:0,isProcessing:!1},s=()=>n=!0,o=Ta.reduce((v,S)=>(v[S]=XM(s,t?S:void 0),v),{}),{setup:a,read:l,resolveKeyframes:u,preUpdate:c,update:d,preRender:f,render:p,postRender:y}=o,g=()=>{const v=yr.useManualTiming,S=v?i.timestamp:performance.now();n=!1,v||(i.delta=r?1e3/60:Math.max(Math.min(S-i.timestamp,ZM),1)),i.timestamp=S,i.isProcessing=!0,a.process(i),l.process(i),u.process(i),c.process(i),d.process(i),f.process(i),p.process(i),y.process(i),i.isProcessing=!1,n&&t&&(r=!1,e(g))},x=()=>{n=!0,r=!0,i.isProcessing||e(g)};return{schedule:Ta.reduce((v,S)=>{const C=o[S];return v[S]=(E,T=!1,P=!1)=>(n||x(),C.schedule(E,T,P)),v},{}),cancel:v=>{for(let S=0;S<Ta.length;S++)o[Ta[S]].cancel(v)},state:i,steps:o}}const{schedule:ie,cancel:vr,state:Re,steps:Rc}=Y1(typeof requestAnimationFrame<"u"?requestAnimationFrame:St,!0);let Qa;function JM(){Qa=void 0}const Ke={now:()=>(Qa===void 0&&Ke.set(Re.isProcessing||yr.useManualTiming?Re.timestamp:performance.now()),Qa),set
vendor: 26,339 bytes, line 139
139:e=>{Qa=e,queueMicrotask(JM)}},Q1=e=>t=>typeof t=="string"&&t.startsWith(e),X1=Q1("--"),eL=Q1("var(--"),ch=e=>eL(e)?tL.test(e.split("/*")[0].trim()):!1,tL=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu;function Qg(e){return typeof e!="string"?!1:e.split("/*")[0].includes("var(--")}const Ss={test:e=>typeof e=="number",parse:parseFloat,transform:e=>e},Do={...Ss,transform:e=>on(0,1,e)},Pa={...Ss,default:1},io=e=>Math.round(e*1e5)/1e5,dh=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu;function nL(e){return e==null}const rL=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu,fh=(e,t)=>n=>!!(typeof n=="string"&&rL.test(n)&&n.startsWith(e)||t&&!nL(n)&&Object.prototype.hasOwnProperty.call(n,t)),Z1=(e,t,n)=>r=>{if(typeof r!="string")return r;const[i,s,o,a]=r.match(dh);return{[e]:parseFloat(i),[t]:parseFloat(s),[n]:parseFloat(o),alpha:a!==void 0?parseFloat(a):1}},iL=e=>on(0,255,e),Nc={...Ss,transform:e=>Math.round(iL(e))},Fr={test:fh("rgb","red"),parse:Z1("red","green","blue"),transform:({red:e,green:t,blue:n,alpha:r=1})=>"rgba("+Nc.transform(e)+", "+Nc.transform(t)+", "+Nc.transform(n)+", "+io(Do.transform(r))+")"};function sL(e){let t="",n="",r="",i="";return e.length>5?(t=e.substring(1,3),n=e.substring(3,5),r=e.substring(5,7),i=e.substring(7,9)):(t=e.substring(1,2),n=e.substring(2,3),r=e.substring(3,4),i=e.substring(4,5),t+=t,n+=n,r+=r,i+=i),{red:parseInt(t,16),green:parseInt(n,16),blue:parseInt(r,16),alpha:i?parseInt(i,16)/255:1}}const hf={test:fh("#"),parse:sL,transform:Fr.transform},Qo=e=>({test:t=>typeof t=="string"&&t.endsWith(e)&&t.split(" ").length===1,parse:parseFloat,transform:t=>`${t}${e}`}),hn=Qo("deg"),nn=Qo("%"),F=Qo("px"),oL=Qo("vh"),aL=Qo("vw"),Xg={...nn,parse:e=>nn.parse(e)/100,transform:e=>nn.transform(e*100)},Ni={test:fh("hsl","hue"),parse:Z1("hue","saturation","lightness"),transform:({hue:e,saturation:t,lightness:n,alpha:r=1})=>"hsla("+Math.round(e)+", "+nn.transform(io(t))+", "+nn.transform(io(n))+", "+io(Do.transform(r))+")"},xe={test:e=>Fr.test(e)||hf.test(e)||Ni.test(e),parse:e=>Fr.test(e)?Fr.parse(e):Ni.test(e)?Ni.parse(e):hf.parse(e),transform:e=>typeof e=="string"?e:e.hasOwnProperty("red")?Fr.transform(e):Ni.transform(e),getAnimatableNone:e=>{const t=xe.parse(e);return t.alpha=0,xe.transform(t)}},lL=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu;function uL(e){var t,n;return isNaN(e)&&typeof e=="string"&&(((t=e.match(dh))==null?void 0:t.length)||0)+(((n=e.match(lL))==null?void 0:n.length)||0)>0}const J1="number",eb="color",cL="var",dL="var(",Zg="${}",fL=/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 us(e){const t=e.toString(),n=[],r={color:[],number:[],var:[]},i=[];let s=0;const a=t.replace(fL,l=>(xe.test(l)?(r.color.push(s),i.push(eb),n.push(xe.parse(l))):l.startsWith(dL)?(r.var.push(s),i.push(cL),n.push(l)):(r.number.push(s),i.push(J1),n.push(parseFloat(l))),++s,Zg)).split(Zg);return{values:n,split:a,indexes:r,types:i}}function pL(e){return us(e).values}function tb({split:e,types:t}){const n=e.length;return r=>{let i="";for(let s=0;s<n;s++)if(i+=e[s],r[s]!==void 0){const o=t[s];o===J1?i+=io(r[s]):o===eb?i+=xe.transform(r[s]):i+=r[s]}return i}}function hL(e){return tb(us(e))}const mL=e=>typeof e=="number"?0:xe.test(e)?xe.getAnimatableNone(e):e,gL=(e,t)=>typeof e=="number"?t!=null&&t.trim().endsWith("/")?e:0:mL(e);function yL(e){const t=us(e);return tb(t)(t.values.map((r,i)=>gL(r,t.split[i])))}const Bt={test:uL,parse:pL,createTransformer:hL,getAnimatableNone:yL};function Mc(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 vL({hue:e,saturation:t,lightness:n,alpha:r}){e/=360,t/=100,n/=100;let i=0,s=0,o=0;if(!t)i=s=o=n;else{const a=n<.5?n*(1+t):n+t-n*t,l=2*n-a;i=Mc(l,a,e+1/3),s=Mc(l,a,e),o=Mc(l,a,e-1/3)}return{red:Math.round(i*255),green:Math.round(s*255),blue:Math.round(o*255),alpha:r}}function Vl(e,t){return n=>n>0?t:e}const re=(e,t,n)=>e+(t-e)*n,Lc=(e,t,n)=>{const r=e*e,i=n*(t*t-r)+r;return i<0?0:Math.sqrt(i)},wL=[hf,Fr,Ni],xL=e=>wL.find(t=>t.test(e));function Jg(e){const t=xL(e);if(Mu(!!t,`'${e}' is not an animatable color. Use the equivalent color code instead.`,"color-not-animatable"),!t)return!1;let n=t.parse(e);return t===Ni&&(n=vL(n)),n}const ey=(e,t)=>{const n=Jg(e),r=Jg(t);if(!n||!r)return Vl(e,t);const i={...n};return s=>(i.red=Lc(n.red,r.red,s),i.green=Lc(n.green,r.green,s),i.blue=Lc(n.blue,r.blue,s),i.alpha=re(n.alpha,r.alpha,s),Fr.transform(i))},mf=new Set(["none","hidden"]);function bL(e,t){return mf.has(e)?n=>n<=0?e:t:n=>n>=1?t:e}function SL(e,t){return n=>re(e,t,n)}function ph(e){return typeof e=="number"?SL:typeof e=="string"?ch(e)?Vl:xe.test(e)?ey:TL:Array.isArray(e)?nb:typeof e=="object"?xe.test(e)?ey:CL:Vl}function nb(e,t){const n=[...e],r=n.length,i=e.map((s,o)=>ph(s)(s,t[o]));return s=>{for(let o=0;o<r;o++)n[o]=i[o](s);return n}}function CL(e,t){const n={...e,...t},r={};for(const i in n)e[i]!==void 0&&t[i]!==void 0&&(r[i]=ph(e[i])(e[i],t[i]));return i=>{for(const s in r)n[s]=r[s](i);return n}}function EL(e,t){const n=[],r={color:0,var:0,number:0};for(let i=0;i<t.values.length;i++){const s=t.types[i],o=e.indexes[s][r[s]],a=e.values[o]??0;n[i]=a,r[s]++}return n}const TL=(e,t)=>{const n=Bt.createTransformer(t),r=us(e),i=us(t);return r.indexes.var.length===i.indexes.var.length&&r.indexes.color.length===i.indexes.color.length&&r.indexes.number.length>=i.indexes.number.length?mf.has(e)&&!i.values.length||mf.has(t)&&!r.values.length?bL(e,t):qo(nb(EL(r,i),i.values),n):(Mu(!0,`Complex values '${e}' and '${t}' too different to mix. Ensure all colors are of the same type, and that each contains the same quantity of number and color values. Falling back to instant transition.`,"complex-values-different"),Vl(e,t))};function rb(e,t,n){return typeof e=="number"&&typeof t=="number"&&typeof n=="number"?re(e,t,n):ph(e)(e,t)}const PL=e=>{const t=({timestamp:n})=>e(n);return{start:(n=!0)=>ie.update(t,n),stop:()=>vr(t),now:()=>Re.isProcessing?Re.timestamp:Ke.now()}},ib=(e,t,n=10)=>{let r="";const i=Math.max(Math.round(t/n),2);for(let s=0;s<i;s++)r+=Math.round(e(s/(i-1))*1e4)/1e4+", ";return`linear(${r.substring(0,r.length-2)})`},Bl=2e4;function hh(e){let t=0;const n=50;let r=e.next(t);for(;!r.done&&t<Bl;)t+=n,r=e.next(t);return t>=Bl?1/0:t}function kL(e,t=100,n){const r=n({...e,keyframes:[0,t]}),i=Math.min(hh(r),Bl);return{type:"keyframes",ease:s=>r.next(i*s).value/t,duration:xt(i)}}const de={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};function gf(e,t){return e*Math.sqrt(1-t*t)}const AL=12;function RL(e,t,n){let r=n;for(let i=1;i<AL;i++)r=r-e(r)/t(r);return r}const Dc=.001;function NL({duration:e=de.duration,bounce:t=de.bounce,velocity:n=de.velocity,mass:r=de.mass}){let i,s;Mu(e<=it(de.maxDuration),"Spring duration must be 10 seconds or less","spring-duration-limit");let o=1-t;o=on(de.minDamping,de.maxDamping,o),e=on(de.minDuration,de.maxDuration,xt(e)),o<1?(i=u=>{const c=u*o,d=c*e,f=c-n,p=gf(u,o),y=Math.exp(-d);return Dc-f/p*y},s=u=>{const d=u*o*e,f=d*n+n,p=Math.pow(o,2)*Math.pow(u,2)*e,y=Math.exp(-d),g=gf(Math.pow(u,2),o);return(-i(u)+Dc>0?-1:1)*((f-p)*y)/g}):(i=u=>{const c=Math.exp(-u*e),d=(u-n)*e+1;return-Dc+c*d},s=u=>{const c=Math.exp(-u*e),d=(n-u)*(e*e);return c*d});const a=5/e,l=RL(i,s,a);if(e=it(e),isNaN(l))return{stiffness:de.stiffness,damping:de.damping,duration:e};{const u=Math.pow(l,2)*r;return{stiffness:u,damping:o*2*Math.sqrt(r*u),duration:e}}}const ML=["duration","bounce"],LL=["stiffness","damping","mass"];function ty(e,t){return t.some(n=>e[n]!==void 0)}function DL(e){let t={velocity:de.velocity,stiffness:de.stiffness,damping:de.damping,mass:de.mass,isResolvedFromDuration:!1,...e};if(!ty(e,LL)&&ty(e,ML))if(t.velocity=0,e.visualDuration){const n=e.visualDuration,r=2*Math.PI/(n*1.2),i=r*r,s=2*on(.05,1,1-(e.bounce||0))*Math.sqrt(i);t={...t,mass:de.mass,stiffness:i,damping:s}}else{const n=NL({...e,velocity:0});t={...t,...n,mass:de.mass},t.isResolvedFromDuration=!0}return t}function $l(e=de.visualDuration,t=de.bounce){const n=typeof e!="object"?{visualDuration:e,keyframes:[0,1],bounce:t}:e;let{restSpeed:r,restDelta:i}=n;const s=n.keyframes[0],o=n.keyframes[n.keyframes.length-1],a={done:!1,value:s},{stiffness:l,damping:u,mass:c,duration:d,velocity:f,isResolvedFromDuration:p}=DL({...n,velocity:-xt(n.velocity||0)}),y=f||0,g=u/(2*Math.sqrt(l*c)),x=o-s,h=xt(Math.sqrt(l/c)),m=Math.abs(x)<5;r||(r=m?de.restSpeed.granular:de.restSpeed.default),i||(i=m?de.restDelta.granular:de.restDelta.default);let v,S,C,E,T,P;if(g<1)C=gf(h,g),E=(y+g*h*x)/C,v=k=>{const _=Math.exp(-g*h*k);return o-_*(E*Math.sin(C*k)+x*Math.cos(C*k))},T=g*h*E+x*C,P=g*h*x-E*C,S=k=>Math.exp(-g*h*k)*(T*Math.sin(C*k)+P*Math.cos(C*k));else if(g===1){v=_=>o-Math.exp(-h*_)*(x+(y+h*x)*_);const k=y+h*x;S=_=>Math.exp(-h*_)*(h*k*_-y)}else{const k=h*Math.sqrt(g*g-1);v=O=>{const W=Math.exp(-g*h*O),V=Math.min(k*O,300);return o-W*((y+g*h*x)*Math.sinh(V)+k*x*Math.cosh(V))/k};const _=(y+g*h*x)/k,I=g*h*_-x*k,U=g*h*x-_*k;S=O=>{const W=Math.exp(-g*h*O),V=Math.min(k*O,300);return W*(I*Math.sinh(V)+U*Math.cosh(V))}}const R={calculatedDuration:p&&d||null,velocity:k=>it(S(k)),next:k=>{if(!p&&g<1){const I=Math.exp(-g*h*k),U=Math.sin(C*k),O=Math.cos(C*k),W=o-I*(E*U+x*O),V=it(I*(T*U+P*O));return a.done=Math.abs(V)<=r&&Math.abs(o-W)<=i,a.value=a.done?o:W,a}const _=v(k);if(p)a.done=k>=d;else{const I=it(S(k));a.done=Math.abs(I)<=r&&Math.abs(o-_)<=i}return a.value=a.done?o:_,a},toString:()=>{const k=Math.min(hh(R),Bl),_=ib(I=>R.next(k*I).value,k,30);return k+"ms "+_},toTransition:()=>{}};return R}$l.applyToOptions=e=>{const t=kL(e,100,$l);return e.ease=t.ease,e.duration=it(t.duration),e.type="keyframes",e};const OL=5;function sb(e,t,n){const r=Math.max(t-OL,0);return z1(n-e(r),t-r)}function yf({keyframes:e,velocity:t=0,power:n=.8,timeConstant:r=325,bounceDamping:i=10,bounceStiffness:s=500,modifyTarget:o,min:a,max:l,restDelta:u=.5,restSpeed:c}){const d=e[0],f={done:!1,value:d},p=P=>a!==void 0&&P<a||l!==void 0&&P>l,y=P=>a===void 0?l:l===void 0||Math.abs(a-P)<Math.abs(l-P)?a:l;let g=n*t;const x=d+g,h=o===void 0?x:o(x);h!==x&&(g=h-d);const m=P=>-g*Math.exp(-P/r),v=P=>h+m(P),S=P=>{const R=m(P),k=v(P);f.done=Math.abs(R)<=u,f.value=f.done?h:k};let C,E;const T=P=>{p(f.value)&&(C=P,E=$l({keyframes:[f.value,y(f.value)],velocity:sb(v,P,f.value),damping:i,stiffness:s,restDelta:u,restSpeed:c}))};return T(0),{calculatedDuration:null,next:P=>{let R=!1;return!E&&C===void 0&&(R=!0,S(P),T(P)),C!==void 0&&P>=C?E.next(P-C):(!R&&S(P),f)}}}function IL(e,t,n){const r=[],i=n||yr.mix||rb,s=e.length-1;for(let o=0;o<s;o++){let a=i(e[o],e[o+1]);if(t){const l=Array.isArray(t)?t[o]||St:t;a=qo(l,a)}r.push(a)}return r}function jL(e,t,{clamp:n=!0,ease:r,mixer:i}={}){const s=e.length;if(ls(s===t.length,"Both input and output ranges must be the same length","range-length"),s===1)return()=>t[0];if(s===2&&t[0]===t[1])return()=>t[1];const o=e[0]===e[1];e[0]>e[s-1]&&(e=[...e].reverse(),t=[...t].reverse());const a=IL(t,r,i),l=a.length,u=c=>{if(o&&c<e[0])return t[0];let d=0;if(l>1)for(;d<e.length-2&&!(c<e[d+1]);d++);const f=Lo(e[d],e[d+1],c);return a[d](f)};return n?c=>u(on(e[0],e[s-1],c)):u}function _L(e,t){const n=e[e.length-1];for(let r=1;r<=t;r++){const i=Lo(0,t,r);e.push(re(n,1,i))}}function zL(e){const t=[0];return _L(t,e.length-1),t}function FL(e,t){return e.map(n=>n*t)}function VL(e,t){return e.map(()=>t||G1).splice(0,e.length-1)}function so({duration:e=300,keyframes:t,times:n,ease:r="easeInOut"}){const i=YM(r)?r.map(qg):qg(r),s={done:!1,value:t[0]},o=FL(n&&n.length===t.length?n:zL(t),e),a=jL(o,t,{ease:Array.isArray(i)?i:VL(t,i)});return{calculatedDuration:e,next:l=>(s.value=a(l),s.done=l>=e,s)}}const BL=e=>e!==null;function Lu(e,{repeat:t,repeatType:n="loop"},r,i=1){const s=e.filter(BL),a=i<0||t&&n!=="loop"&&t%2===1?0:s.length-1;return!a||r===void 0?s[a]:r}const $L={decay:yf,inertia:yf,tween:so,keyframes:so,spring:$l};function ob(e){typeof e.type=="string"&&(e.type=$L[e.type])}class mh{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 UL=e=>e/100;class Ul extends mh{constructor(t){super(),this.state="idle",this.startTime=null,this.isStopped=!1,this.currentTime=0,this.holdTime=null,this.playbackSpeed=1,this.delayState={done:!1,value:void 0},this.stop=()=>{var r,i;const{motionValue:n}=this.options;n&&n.updatedAt!==Ke.now()&&this.tick(Ke.now()),this.isStopped=!0,this.state!=="idle"&&(this.teardown(),(i=(r=this.options).onStop)==null||i.call(r))},this.options=t,this.initAnimation(),this.play(),t.autoplay===!1&&this.pause()}initAnimation(){const{options:t}=this;ob(t);const{type:n=so,repeat:r=0,repeatDelay:i=0,repeatType:s,velocity:o=0}=t;let{keyframes:a}=t;const l=n||so;l!==so&&typeof a[0]!="number"&&(this.mixKeyframes=qo(UL,rb(a[0],a[1])),a=[0,100]);const u=l({...t,keyframes:a});s==="mirror"&&(this.mirroredGenerator=l({...t,keyframes:[...a].reverse(),velocity:-o})),u.calculatedDuration===null&&(u.calculatedDuration=hh(u));const{calculatedDuration:c}=u;this.calculatedDuration=c,this.resolvedDuration=c+i,this.totalDuration=this.resolvedDuration*(r+1)-i,this.generator=u}updateTime(t){const n=Math.round(t-this.startTime)*this.playbackSpeed;this.holdTime!==null?this.currentTime=this.holdTime:this.currentTime=n}tick(t,n=!1){const{generator:r,totalDuration:i,mixKeyframes:s,mirroredGenerator:o,resolvedDuration:a,calculatedDuration:l}=this;if(this.startTime===null)return r.next(0);const{delay:u=0,keyframes:c,repeat:d,repeatType:f,repeatDelay:p,type:y,onUpdate:g,finalKeyframe:x}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,t):this.speed<0&&(this.startTime=Math.min(t-i/this.speed,this.startTime)),n?this.currentTime=t:this.updateTime(t);const h=this.currentTime-u*(this.playbackSpeed>=0?1:-1),m=this.playbackSpeed>=0?h<0:h>i;this.currentTime=Math.max(h,0),this.state==="finished"&&this.holdTime===null&&(this.currentTime=i);let v=this.currentTime,S=r;if(d){const P=Math.min(this.currentTime,i)/a;let R=Math.floor(P),k=P%1;!k&&P>=1&&(k=1),k===1&&R--,R=Math.min(R,d+1),!!(R%2)&&(f==="reverse"?(k=1-k,p&&(k-=p/a)):f==="mirror"&&(S=o)),v=on(0,1,k)*a}let C;m?(this.delayState.value=c[0],C=this.delayState):C=S.next(v),s&&!m&&(C.value=s(C.value));let{done:E}=C;!m&&l!==null&&(E=this.playbackSpeed>=0?this.currentTime>=i:this.currentTime<=0);const T=this.holdTime===null&&(this.state==="finished"||this.state==="running"&&E);return T&&y!==yf&&(C.value=Lu(c,this.options,x,this.speed)),g&&g(C.value),T&&this.finish(),C}then(t,n){return this.finished.then(t,n)}get duration(){return xt(this.calculatedDuration)}get iterationDuration(){const{delay:t=0}=this.options||{};return this.duration+xt(t)}get time(){return xt(this.currentTime)}set time(t){t=it(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),this.driver?this.driver.start(!1):(this.startTime=0,this.state="paused",this.holdTime=t,this.tick(t))}getGeneratorVelocity(){const t=this.currentTime;if(t<=0)return this.options.velocity||0;if(this.generator.velocity)return this.generator.velocity(t);const n=this.generator.next(t).value;return sb(r=>this.generator.next(r).value,t,n)}get speed(){return this.playbackSpeed}set speed(t){const n=this.playbackSpeed!==t;n&&this.driver&&this.updateTime(Ke.now()),this.playbackSpeed=t,n&&this.driver&&(this.time=xt(this.currentTime))}play(){var i,s;if(this.isStopped)return;const{driver:t=PL,startTime:n}=this.options;this.driver||(this.driver=t(o=>this.tick(o))),(s=(i=this.options).onPlay)==null||s.call(i);const r=this.driver.now();this.state==="finished"?(this.updateFinished(),this.startTime=r):this.holdTime!==null?this.startTime=r-this.holdTime:this.startTime||(this.startTime=n??r),this.state==="finished"&&this.speed<0&&(this.startTime+=this.calculatedDuration),this.holdTime=null,this.state="running",this.driver.start()}pause(){this.state="paused",this.updateTime(Ke.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 WL(e){for(let t=1;t<e.length;t++)e[t]??(e[t]=e[t-1])}const Vr=e=>e*180/Math.PI,vf=e=>{const t=Vr(Math.atan2(e[1],e[0]));return wf(t)},HL={x:4,y:5,translateX:4,translateY:5,scaleX:0,scaleY:3,scale:e=>(Math.abs(e[0])+Math.abs(e[3]))/2,rotate:vf,rotateZ:vf,skewX:e=>Vr(Math.atan(e[1])),skewY:e=>Vr(Math.atan(e[2])),skew:e=>(Math.abs(e[1])+Math.abs(e[2]))/2},wf=e=>(e=e%360,e<0&&(e+=360),e),ny=vf,ry=e=>Math.sqrt(e[0]*e[0]+e[1]*e[1]),iy=e=>Math.sqrt(e[4]*e[4]+e[5]*e[5]),KL={x:12,y:13,z:14,translateX:12,translateY:13,translateZ:14,scaleX:ry,scaleY:iy,scale:e=>(ry(e)+iy(e))/2,rotateX:e=>wf(Vr(Math.atan2(e[6],e[5]))),rotateY:e=>wf(Vr(Math.atan2(-e[2],e[0]))),rotateZ:ny,rotate:ny,skewX:e=>Vr(Math.atan(e[4])),skewY:e=>Vr(Math.atan(e[1])),skew:e=>(Math.abs(e[1])+Math.abs(e[4]))/2};function xf(e){return e.includes("scale")?1:0}function bf(e,t){if(!e||e==="none")return xf(t);const n=e.match(/^matrix3d\(([-\d.e\s,]+)\)$/u);let r,i;if(n)r=KL,i=n;else{const a=e.match(/^matrix\(([-\d.e\s,]+)\)$/u);r=HL,i=a}if(!i)return xf(t);const s=r[t],o=i[1].split(",").map(qL);return typeof s=="function"?s(o):o[s]}const GL=(e,t)=>{const{transform:n="none"}=getComputedStyle(e);return bf(n,t)};function qL(e){return parseFloat(e.trim())}const Cs=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],Es=new Set([...Cs,"pathRotation"]),sy=e=>e===Ss||e===F,YL=new Set(["x","y","z"]),QL=Cs.filter(e=>!YL.has(e));function XL(e){const t=[];return QL.forEach(n=>{const r=e.getValue(n);r!==void 0&&(t.push([n,r.get()]),r.set(n.startsWith("scale")?1:0))}),t}const Jn={width:({x:e},{paddingLeft:t="0",paddingRight:n="0",boxSizing:r})=>{const i=e.max-e.min;return r==="border-box"?i:i-parseFloat(t)-parseFloat(n)},height:({y:e},{paddingTop:t="0",paddingBottom:n="0",boxSizing:r})=>{const i=e.max-e.min;return r==="border-box"?i:i-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})=>bf(t,"x"),y:(e,{transform:t})=>bf(t,"y")};Jn.translateX=Jn.x;Jn.translateY=Jn.y;const Xr=new Set;let Sf=!1,Cf=!1,Ef=!1;function ab(){if(Cf){const e=Array.from(Xr).filter(r=>r.needsMeasurement),t=new Set(e.map(r=>r.element)),n=new Map;t.forEach(r=>{const i=XL(r);i.length&&(n.set(r,i),r.render())}),e.forEach(r=>r.measureInitialState()),t.forEach(r=>{r.render();const i=n.get(r);i&&i.forEach(([s,o])=>{var a;(a=r.getValue(s))==null||a.set(o)})}),e.forEach(r=>r.measureEndState()),e.forEach(r=>{r.suspendedScrollY!==void 0&&window.scrollTo(0,r.suspendedScrollY)})}Cf=!1,Sf=!1,Xr.forEach(e=>e.complete(Ef)),Xr.clear()}function lb(){Xr.forEach(e=>{e.readKeyframes(),e.needsMeasurement&&(Cf=!0)})}function ZL(){Ef=!0,lb(),ab(),Ef=!1}class gh{constructor(t,n,r,i,s,o=!1){this.state="pending",this.isAsync=!1,this.needsMeasurement=!1,this.unresolvedKeyframes=[...t],this.onComplete=n,this.name=r,this.motionValue=i,this.element=s,this.isAsync=o}scheduleResolve(){this.state="scheduled",this.isAsync?(Xr.add(this),Sf||(Sf=!0,ie.read(lb),ie.resolveKeyframes(ab))):(this.readKeyframes(),this.complete())}readKeyframes(){const{unresolvedKeyframes:t,name:n,element:r,motionValue:i}=this;if(t[0]===null){const s=i==null?void 0:i.get(),o=t[t.length-1];if(s!==void 0)t[0]=s;else if(r&&n){const a=r.readValue(n,o);a!=null&&(t[0]=a)}t[0]===void 0&&(t[0]=o),i&&s===void 0&&i.set(t[0])}WL(t)}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(t=!1){this.state="complete",this.onComplete(this.unresolvedKeyframes,this.finalKeyframe,t),Xr.delete(this)}cancel(){this.state==="scheduled"&&(Xr.delete(this),this.state="pending")}resume(){this.state==="pending"&&this.scheduleResolve()}}const JL=e=>e.startsWith("--");function ub(e,t,n){JL(t)?e.style.setProperty(t,n):e.style[t]=n}const eD={};function yh(e,t){const n=_1(e);return()=>eD[t]??n()}const tD=yh(()=>window.ScrollTimeline!==void 0,"scrollTimeline"),t_=yh(()=>window.ViewTimeline!==void 0,"viewTimeline"),cb=yh(()=>{try{document.createElement("div").animate({opacity:0},{easing:"linear(0, 1)"})}catch{return!1}return!0},"linearEasing"),Gs=([e,t,n,r])=>`cubic-bezier(${e}, ${t}, ${n}, ${r})`,oy={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:Gs([0,.65,.55,1]),circOut:Gs([.55,0,1,.45]),backIn:Gs([.31,.01,.66,-.59]),backOut:Gs([.33,1.53,.69,.99])};function db(e,t){if(e)return typeof e=="function"?cb()?ib(e,t):"ease-out":q1(e)?Gs(e):Array.isArray(e)?e.map(n=>db(n,t)||oy.easeOut):oy[e]}function nD(e,t,n,{delay:r=0,duration:i=300,repeat:s=0,repeatType:o="loop",ease:a="easeOut",times:l}={},u=void 0){const c={[t]:n};l&&(c.offset=l);const d=db(a,i);Array.isArray(d)&&(c.easing=d);const f={delay:r,duration:i,easing:Array.isArray(d)?"linear":d,fill:"both",iterations:s+1,direction:o==="reverse"?"alternate":"normal"};return u&&(f.pseudoElement=u),e.animate(c,f)}function fb(e){return typeof e=="function"&&"applyToOptions"in e}function rD({type:e,...t}){return fb(e)&&cb()?e.applyToOptions(t):(t.duration??(t.duration=300),t.ease??(t.ease="easeOut"),t)}class pb extends mh{constructor(t){if(super(),this.finishedTime=null,this.isStopped=!1,this.manualStartTime=null,!t)return;const{element:n,name:r,keyframes:i,pseudoElement:s,allowFlatten:o=!1,finalKeyframe:a,onComplete:l}=t;this.isPseudoElement=!!s,this.allowFlatten=o,this.options=t,ls(typeof t.type!="string",`Mini animate() doesn't support "type" as a string.`,"mini-spring");const u=rD(t);this.animation=nD(n,r,i,u,s),u.autoplay===!1&&this.animation.pause(),this.animation.onfinish=()=>{if(this.finishedTime=this.time,!s){const c=Lu(i,this.options,a,this.speed);this.updateMotionValue&&this.updateMotionValue(c),ub(n,r,c),this.animation.cancel()}l==null||l(),this.notifyFinished()}}play(){this.isStopped||(this.manualStartTime=null,this.animation.play(),this.state==="finished"&&this.updateFinished())}pause(){this.animation.pause()}complete(){var t,n;(n=(t=this.animation).finish)==null||n.call(t)}cancel(){try{this.animation.cancel()}catch{}}stop(){if(this.isStopped)return;this.isStopped=!0;const{state:t}=this;t==="idle"||t==="finished"||(this.updateMotionValue?this.updateMotionValue():this.commitStyles(),this.isPseudoElement||this.cancel())}commitStyles(){var n,r,i;const t=(n=this.options)==null?void 0:n.element;!this.isPseudoElement&&(t!=null&&t.isConnected)&&((i=(r=this.animation).commitStyles)==null||i.call(r))}get duration(){var n,r;const t=((r=(n=this.animation.effect)==null?void 0:n.getComputedTiming)==null?void 0:r.call(n).duration)||0;return xt(Number(t))}get iterationDuration(){const{delay:t=0}=this.options||{};return this.duration+xt(t)}get time(){return xt(Number(this.animation.currentTime)||0)}set time(t){const n=this.finishedTime!==null;this.manualStartTime=null,this.finishedTime=null,this.animation.currentTime=it(t),n&&this.animation.pause()}get speed(){return this.animation.playbackRate}set speed(t){t<0&&(this.finishedTime=null),this.animation.playbackRate=t}get state(){return this.finishedTime!==null?"finished":this.animation.playState}get startTime(){return this.manualStartTime??Number(this.animation.startTime)}set startTime(t){this.manualStartTime=this.animation.startTime=t}attachTimeline({timeline:t,rangeStart:n,rangeEnd:r,observe:i}){var s;return this.allowFlatten&&((s=this.animation.effect)==null||s.updateTiming({easing:"linear"})),this.animation.onfinish=null,t&&tD()?(this.animation.timeline=t,n&&(this.animation.rangeStart=n),r&&(this.animation.rangeEnd=r),St):i(this)}}const hb={anticipate:W1,backInOut:U1,circInOut:K1};function iD(e){return e in hb}function sD(e){typeof e.ease=="string"&&iD(e.ease)&&(e.ease=hb[e.ease])}const Oc=10;class oD extends pb{constructor(t){sD(t),ob(t),super(t),t.startTime!==void 0&&t.autoplay!==!1&&(this.startTime=t.startTime),this.options=t}updateMotionValue(t){const{motionValue:n,onUpdate:r,onComplete:i,element:s,...o}=this.options;if(!n)return;if(t!==void 0){n.set(t);return}const a=new Ul({...o,autoplay:!1}),l=Math.max(Oc,Ke.now()-this.startTime),u=on(0,Oc,l-Oc),c=a.sample(l).value,{name:d}=this.options;s&&d&&ub(s,d,c),n.setWithVelocity(a.sample(Math.max(0,l-u)).value,c,u),a.stop()}}const ay=(e,t)=>t==="zIndex"?!1:!!(typeof e=="number"||Array.isArray(e)||typeof e=="string"&&(Bt.test(e)||e==="0")&&!e.startsWith("url("));function aD(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 lD(e,t,n,r){const i=e[0];if(i===null)return!1;if(t==="display"||t==="visibility")return!0;const s=e[e.length-1],o=ay(i,t),a=ay(s,t);return Mu(o===a,`You are trying to animate ${t} from "${i}" to "${s}". "${o?s:i}" is not an animatable value.`,"value-not-animatable"),!o||!a?!1:aD(e)||(n==="spring"||fb(n))&&r}function Tf(e){e.duration=0,e.type="keyframes"}const mb=new Set(["opacity","clipPath","filter","transform"]),uD=/^(?:oklch|oklab|lab|lch|color|color-mix|light-dark)\(/;function cD(e){for(let t=0;t<e.length;
139t++)if(typeof e[t]=="string"&&uD.test(e[t]))return!0;return!1}const dD=new Set(["color","backgroundColor","outlineColor","fill","stroke","borderColor","borderTopColor","borderRightColor","borderBottomColor","borderLeftColor"]),fD=_1(()=>Object.hasOwnProperty.call(Element.prototype,"animate"));function pD(e){var d;const{motionValue:t,name:n,repeatDelay:r,repeatType:i,damping:s,type:o,keyframes:a}=e;if(!(((d=t==null?void 0:t.owner)==null?void 0:d.current)instanceof HTMLElement))return!1;const{onUpdate:u,transformTemplate:c}=t.owner.getProps();return fD()&&n&&(mb.has(n)||dD.has(n)&&cD(a))&&(n!=="transform"||!c)&&!u&&!r&&i!=="mirror"&&s!==0&&o!=="inertia"}const hD=40;class mD extends mh{constructor({autoplay:t=!0,delay:n=0,type:r="keyframes",repeat:i=0,repeatDelay:s=0,repeatType:o="loop",keyframes:a,name:l,motionValue:u,element:c,...d}){var y;super(),this.stop=()=>{var g,x;this._animation&&(this._animation.stop(),(g=this.stopTimeline)==null||g.call(this)),(x=this.keyframeResolver)==null||x.cancel()},this.createdAt=Ke.now();const f={autoplay:t,delay:n,type:r,repeat:i,repeatDelay:s,repeatType:o,name:l,motionValue:u,element:c,...d},p=(c==null?void 0:c.KeyframeResolver)||gh;this.keyframeResolver=new p(a,(g,x,h)=>this.onKeyframesResolved(g,x,f,!h),l,u,c),(y=this.keyframeResolver)==null||y.scheduleResolve()}onKeyframesResolved(t,n,r,i){var h,m;this.keyframeResolver=void 0;const{name:s,type:o,velocity:a,delay:l,isHandoff:u,onUpdate:c}=r;this.resolvedAt=Ke.now();let d=!0;lD(t,s,o,a)||(d=!1,(yr.instantAnimations||!l)&&(c==null||c(Lu(t,r,n))),t[0]=t[t.length-1],Tf(r),r.repeat=0);const p={startTime:i?this.resolvedAt?this.resolvedAt-this.createdAt>hD?this.resolvedAt:this.createdAt:this.createdAt:void 0,finalKeyframe:n,...r,keyframes:t},y=d&&!u&&pD(p),g=(m=(h=p.motionValue)==null?void 0:h.owner)==null?void 0:m.current;let x;if(y)try{x=new oD({...p,element:g})}catch{x=new Ul(p)}else x=new Ul(p);x.finished.then(()=>{this.notifyFinished()}).catch(St),this.pendingTimeline&&(this.stopTimeline=x.attachTimeline(this.pendingTimeline),this.pendingTimeline=void 0),this._animation=x}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(),ZL()),this._animation}get duration(){return this.animation.duration}get iterationDuration(){return this.animation.iterationDuration}get time(){return this.animation.time}set time(t){this.animation.time=t}get speed(){return this.animation.speed}get state(){return this.animation.state}set speed(t){this.animation.speed=t}get startTime(){return this.animation.startTime}attachTimeline(t){return this._animation?this.stopTimeline=this.animation.attachTimeline(t):this.pendingTimeline=t,()=>this.stop()}play(){this.animation.play()}pause(){this.animation.pause()}complete(){this.animation.complete()}cancel(){var t;this._animation&&this.animation.cancel(),(t=this.keyframeResolver)==null||t.cancel()}}function gb(e,t,n,r=0,i=1){const s=Array.from(e).sort((u,c)=>u.sortNodePosition(c)).indexOf(t),o=e.size,a=(o-1)*r;return typeof n=="function"?n(s,o):i===1?s*r:a-s*r}const ly=30,gD=e=>!isNaN(parseFloat(e)),uy={current:void 0};class yD{constructor(t,n={}){this.canTrackVelocity=null,this.events={},this.updateAndNotify=r=>{var s;const i=Ke.now();if(this.updatedAt!==i&&this.setPrevFrameValue(),this.prev=this.current,this.setCurrent(r),this.current!==this.prev&&((s=this.events.change)==null||s.notify(this.current),this.dependents))for(const o of this.dependents)o.dirty()},this.hasAnimated=!1,this.setCurrent(t),this.owner=n.owner}setCurrent(t){this.current=t,this.updatedAt=Ke.now(),this.canTrackVelocity===null&&t!==void 0&&(this.canTrackVelocity=gD(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 ah);const r=this.events[t].add(n);return t==="change"?()=>{r(),ie.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 uy.current&&uy.current.push(this),this.current}getPrevious(){return this.prev}getVelocity(){const t=Ke.now();if(!this.canTrackVelocity||this.prevFrameValue===void 0||t-this.updatedAt>ly)return 0;const n=Math.min(this.updatedAt-this.prevUpdatedAt,ly);return z1(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 cs(e,t){return new yD(e,t)}function yb(e,t){if(e!=null&&e.inherit&&t){const{inherit:n,...r}=e;return{...t,...r}}return e}function vh(e,t){const n=(e==null?void 0:e[t])??(e==null?void 0:e.default)??e;return n!==e?yb(n,e):n}const vD={type:"spring",stiffness:500,damping:25,restSpeed:10},wD=e=>({type:"spring",stiffness:550,damping:e===0?2*Math.sqrt(550):30,restSpeed:10}),xD={type:"keyframes",duration:.8},bD={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},SD=(e,{keyframes:t})=>t.length>2?xD:Es.has(e)?e.startsWith("scale")?wD(t[1]):vD:bD,CD=new Set(["when","delay","delayChildren","staggerChildren","staggerDirection","repeat","repeatType","repeatDelay","from","elapsed"]);function ED(e){for(const t in e)if(!CD.has(t))return!0;return!1}const wh=(e,t,n,r={},i,s)=>o=>{const a=vh(r,e)||{},l=a.delay||r.delay||0;let{elapsed:u=0}=r;u=u-it(l);const c={keyframes:Array.isArray(n)?n:[null,n],ease:"easeOut",velocity:t.getVelocity(),...a,delay:-u,onUpdate:f=>{t.set(f),a.onUpdate&&a.onUpdate(f)},onComplete:()=>{o(),a.onComplete&&a.onComplete()},name:e,motionValue:t,element:s?void 0:i};ED(a)||Object.assign(c,SD(e,c)),c.duration&&(c.duration=it(c.duration)),c.repeatDelay&&(c.repeatDelay=it(c.repeatDelay)),c.from!==void 0&&(c.keyframes[0]=c.from);let d=!1;if((c.type===!1||c.duration===0&&!c.repeatDelay)&&(Tf(c),c.delay===0&&(
139d=!0)),(yr.instantAnimations||yr.skipAnimations||i!=null&&i.shouldSkipAnimations||a.skipAnimations)&&(d=!0,Tf(c),c.delay=0),c.allowFlatten=!a.type&&!a.ease,d&&!s&&t.get()!==void 0){const f=Lu(c.keyframes,a);if(f!==void 0){ie.update(()=>{c.onUpdate(f),c.onComplete()});return}}return a.isSync?new Ul(c):new mD(c)},TD=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;function PD(e){const t=TD.exec(e);if(!t)return[,];const[,n,r,i]=t;return[`--${n??r}`,i]}const kD=4;function vb(e,t,n=1){ls(n<=kD,`Max CSS variable fallback depth detected in property "${e}". This may indicate a circular fallback dependency.`,"max-css-var-depth");const[r,i]=PD(e);if(!r)return;const s=window.getComputedStyle(t).getPropertyValue(r);if(s){const o=s.trim();return O1(o)?parseFloat(o):o}return ch(i)?vb(i,t,n+1):i}function cy(e){const t=[{},{}];return e==null||e.values.forEach((n,r)=>{t[0][r]=n.get(),t[1][r]=n.getVelocity()}),t}function xh(e,t,n,r){if(typeof t=="function"){const[i,s]=cy(r);t=t(n!==void 0?n:e.custom,i,s)}if(typeof t=="string"&&(t=e.variants&&e.variants[t]),typeof t=="function"){const[i,s]=cy(r);t=t(n!==void 0?n:e.custom,i,s)}return t}function Zr(e,t,n){const r=e.getProps();return xh(r,t,n!==void 0?n:r.custom,e)}const wb=new Set(["width","height","top","left","right","bottom",...Cs]),Pf=e=>Array.isArray(e);function AD(e,t,n){e.hasValue(t)?e.getValue(t).set(n):e.addValue(t,cs(n))}function RD(e){return Pf(e)?e[e.length-1]||0:e}function ND(e,t){const n=Zr(e,t);let{transitionEnd:r={},transition:i={},...s}=n||{};s={...s,...r};for(const o in s){const a=RD(s[o]);AD(e,o,a)}}const Me=e=>!!(e&&e.getVelocity);function MD(e){return!!(Me(e)&&e.add)}function kf(e,t){const n=e.getValue("willChange");if(MD(n))return n.add(t);if(!n&&yr.WillChange){const r=new yr.WillChange("auto");e.addValue("willChange",r),r.add(t)}}function bh(e){return e.replace(/([A-Z])/g,t=>`-${t.toLowerCase()}`)}const LD="framerAppearId",xb="data-"+bh(LD);function bb(e){return e.props[xb]}function DD({protectedKeys:e,needsAnimating:t},n){const r=e.hasOwnProperty(n)&&t[n]!==!0;return t[n]=!1,r}function Sb(e,t,{delay:n=0,transitionOverride:r,type:i}={}){let{transition:s,transitionEnd:o,...a}=t;const l=e.getDefaultTransition();s=s?yb(s,l):l;const u=s==null?void 0:s.reduceMotion,c=s==null?void 0:s.skipAnimations;r&&(s=r);const d=[],f=i&&e.animationState&&e.animationState.getState()[i],p=s==null?void 0:s.path;p&&p.animateVisualElement(e,a,s,n,d);for(const y in a){const g=e.getValue(y,e.latestValues[y]??null),x=a[y];if(x===void 0||f&&DD(f,y))continue;const h={delay:n,...vh(s||{},y)};c&&(h.skipAnimations=!0);const m=g.get();if(m!==void 0&&!g.isAnimating()&&!Array.isArray(x)&&x===m&&!h.velocity){ie.update(()=>g.set(x));continue}let v=!1;if(window.MotionHandoffAnimation){const E=bb(e);if(E){const T=window.MotionHandoffAnimation(E,y,ie);T!==null&&(h.startTime=T,v=!0)}}kf(e,y);const S=u??e.shouldReduceMotion;g.start(wh(y,g,x,S&&wb.has(y)?{type:!1}:h,e,v));const C=g.animation;C&&d.push(C)}if(o){const y=()=>ie.update(()=>{o&&ND(e,o)});d.length?Promise.all(d).then(y):y()}return d}function Af(e,t,n={}){var l;const r=Zr(e,t,n.type==="exit"?(l=e.presenceContext)==null?void 0:l.custom:void 0);let{transition:i=e.getDefaultTransition()||{}}=r||{};n.transitionOverride&&(i=n.transitionOverride);const s=r?()=>Promise.all(Sb(e,r,n)):()=>Promise.resolve(),o=e.variantChildren&&e.variantChildren.size?(u=0)=>{const{delayChildren:c=0,staggerChildren:d,staggerDirection:f}=i;return OD(e,t,u,c,d,f,n)}:()=>Promise.resolve(),{when:a}=i;if(a){const[u,c]=a==="beforeChildren"?[s,o]:[o,s];return u().then(()=>c())}else return Promise.all([s(),o(n.delay)])}function OD(e,t,n=0,r=0,i=0,s=1,o){const a=[];for(const l of e.variantChildren)l.notify("AnimationStart",t),a.push(Af(l,t,{...o,delay:n+(typeof r=="function"?0:r)+gb(e.variantChildren,l,r,i,s)}).then(()=>l.notify("AnimationComplete",t)));return Promise.all(a)}function ID(e,t,n={}){e.notify("AnimationStart",t);let r;if(Array.isArray(t)){const i=t.map(s=>Af(e,s,n));r=Promise.all(i)}else if(typeof t=="string")r=Af(e,t,n);else{const i=typeof t=="function"?Zr(e,t,n.custom):t;r=Promise.all(Sb(e,i,n))}return r.then(()=>
vendor: 55,161 bytes, line 139
139{e.notify("AnimationComplete",t)})}const jD={test:e=>e==="auto",parse:e=>e},Cb=e=>t=>t.test(e),Eb=[Ss,F,nn,hn,aL,oL,jD],dy=e=>Eb.find(Cb(e));function _D(e){return typeof e=="number"?e===0:e!==null?e==="none"||e==="0"||j1(e):!0}const zD=new Set(["brightness","contrast","saturate","opacity"]);function FD(e){const[t,n]=e.slice(0,-1).split("(");if(t==="drop-shadow")return e;const[r]=n.match(dh)||[];if(!r)return e;const i=n.replace(r,"");let s=zD.has(t)?1:0;return r!==n&&(s*=100),t+"("+s+i+")"}const VD=/\b([a-z-]*)\(.*?\)/gu,Rf={...Bt,getAnimatableNone:e=>{const t=e.match(VD);return t?t.map(FD).join(" "):e}},Nf={...Bt,getAnimatableNone:e=>{const t=Bt.parse(e);return Bt.createTransformer(e)(t.map(r=>typeof r=="number"?0:typeof r=="object"?{...r,alpha:1}:r))}},fy={...Ss,transform:Math.round},BD={rotate:hn,pathRotation:hn,rotateX:hn,rotateY:hn,rotateZ:hn,scale:Pa,scaleX:Pa,scaleY:Pa,scaleZ:Pa,skew:hn,skewX:hn,skewY:hn,distance:F,translateX:F,translateY:F,translateZ:F,x:F,y:F,z:F,perspective:F,transformPerspective:F,opacity:Do,originX:Xg,originY:Xg,originZ:F},Wl={borderWidth:F,borderTopWidth:F,borderRightWidth:F,borderBottomWidth:F,borderLeftWidth:F,borderRadius:F,borderTopLeftRadius:F,borderTopRightRadius:F,borderBottomRightRadius:F,borderBottomLeftRadius:F,width:F,maxWidth:F,height:F,maxHeight:F,top:F,right:F,bottom:F,left:F,inset:F,insetBlock:F,insetBlockStart:F,insetBlockEnd:F,insetInline:F,insetInlineStart:F,insetInlineEnd:F,padding:F,paddingTop:F,paddingRight:F,paddingBottom:F,paddingLeft:F,paddingBlock:F,paddingBlockStart:F,paddingBlockEnd:F,paddingInline:F,paddingInlineStart:F,paddingInlineEnd:F,margin:F,marginTop:F,marginRight:F,marginBottom:F,marginLeft:F,marginBlock:F,marginBlockStart:F,marginBlockEnd:F,marginInline:F,marginInlineStart:F,marginInlineEnd:F,fontSize:F,backgroundPositionX:F,backgroundPositionY:F,...BD,zIndex:fy,fillOpacity:Do,strokeOpacity:Do,numOctaves:fy},$D={...Wl,color:xe,backgroundColor:xe,outlineColor:xe,fill:xe,stroke:xe,borderColor:xe,borderTopColor:xe,borderRightColor:xe,borderBottomColor:xe,borderLeftColor:xe,filter:Rf,WebkitFilter:Rf,mask:Nf,WebkitMask:Nf},Tb=e=>$D[e],UD=new Set([Rf,Nf]);function Pb(e,t){let n=Tb(e);return UD.has(n)||(n=Bt),n.getAnimatableNone?n.getAnimatableNone(t):void 0}const WD=new Set(["auto","none","0"]);function HD(e,t,n){let r=0,i;for(;r<e.length&&!i;){const s=e[r];typeof s=="string"&&!WD.has(s)&&us(s).values.length&&(i=e[r]),r++}if(i&&n)for(const s of t)e[s]=Pb(n,i)}class KD extends gh{constructor(t,n,r,i,s){super(t,n,r,i,s,!0)}readKeyframes(){const{unresolvedKeyframes:t,element:n,name:r}=this;if(!n||!n.current)return;super.readKeyframes();for(let c=0;c<t.length;c++){let d=t[c];if(typeof d=="string"&&(d=d.trim(),ch(d))){const f=vb(d,n.current);f!==void 0&&(t[c]=f),c===t.length-1&&(this.finalKeyframe=d)}}if(this.resolveNoneKeyframes(),!wb.has(r)||t.length!==2)return;const[i,s]=t,o=dy(i),a=dy(s),l=Qg(i),u=Qg(s);if(l!==u&&Jn[r]){this.needsMeasurement=!0;return}if(o!==a)if(sy(o)&&sy(a))for(let c=0;c<t.length;c++){const d=t[c];typeof d=="string"&&(t[c]=parseFloat(d))}else Jn[r]&&(this.needsMeasurement=!0)}resolveNoneKeyframes(){const{unresolvedKeyframes:t,name:n}=this,r=[];for(let i=0;i<t.length;i++)(t[i]===null||_D(t[i]))&&r.push(i);r.length&&HD(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=Jn[r](t.measureViewportBox(),window.getComputedStyle(t.current)),n[0]=this.measuredOrigin;const i=n[n.length-1];i!==void 0&&t.getValue(r,i).jump(i,!1)}measureEndState(){var a;const{element:t,name:n,unresolvedKeyframes:r}=this;if(!t||!t.current)return;const i=t.getValue(n);i&&i.jump(this.measuredOrigin,!1);const s=r.length-1,o=r[s];r[s]=Jn[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(([l,u])=>{t.getValue(l).set(u)}),this.resolveNoneKeyframes()}}function kb(e,t,n){if(e==null)return[];if(e instanceof EventTarget)return[e];if(typeof e=="string"){const i=document.querySelectorAll(e);return i?Array.from(i):[]}return Array.from(e).filter(r=>r!=null)}const Mf=(e,t)=>t&&typeof e=="number"?t.transform(e):e;function Xa(e){return I1(e)&&"offsetHeight"in e&&!("ownerSVGElement"in e)}const{schedule:Sh,cancel:n_}=Y1(queueMicrotask,!1),Mt={x:!1,y:!1};function Ab(){return Mt.x||Mt.y}function GD(e){return e==="x"||e==="y"?Mt[e]?null:(Mt[e]=!0,()=>{Mt[e]=!1}):Mt.x||Mt.y?null:(Mt.x=Mt.y=!0,()=>{Mt.x=Mt.y=!1})}function Rb(e,t){const n=kb(e),r=new AbortController,i={passive:!0,...t,signal:r.signal};return[n,i,()=>r.abort()]}function qD(e){return!(e.pointerType==="touch"||Ab())}function YD(e,t,n={}){const[r,i,s]=Rb(e,n);return r.forEach(o=>{let a=!1,l=!1,u;const c=()=>{o.removeEventListener("pointerleave",y)},d=x=>{u&&(u(x),u=void 0),c()},f=x=>{a=!1,window.removeEventListener("pointerup",f),window.removeEventListener("pointercancel",f),l&&(l=!1,d(x))},p=()=>{a=!0,window.addEventListener("pointerup",f,i),window.addEventListener("pointercancel",f,i)},y=x=>{if(x.pointerType!=="touch"){if(a){l=!0;return}d(x)}},g=x=>{if(!qD(x))return;l=!1;const h=t(o,x);typeof h=="function"&&(u=h,o.addEventListener("pointerleave",y,i))};o.addEventListener("pointerenter",g,i),o.addEventListener("pointerdown",p,i)}),s}const Nb=(e,t)=>t?e===t?!0:Nb(e,t.parentElement):!1,Ch=e=>e.pointerType==="mouse"?typeof e.button!="number"||e.button<=0:e.isPrimary!==!1,QD=new Set(["BUTTON","INPUT","SELECT","TEXTAREA","A"]);function XD(e){return QD.has(e.tagName)||e.isContentEditable===!0}const ZD=new Set(["INPUT","SELECT","TEXTAREA"]);function JD(e){return ZD.has(e.tagName)||e.isContentEditable===!0}const Za=new WeakSet;function py(e){return t=>{t.key==="Enter"&&e(t)}}function Ic(e,t){e.dispatchEvent(new PointerEvent("pointer"+t,{isPrimary:!0,bubbles:!0}))}const eO=(e,t)=>{const n=e.currentTarget;if(!n)return;const r=py(()=>{if(Za.has(n))return;Ic(n,"down");const i=py(()=>{Ic(n,"up")}),s=()=>Ic(n,"cancel");n.addEventListener("keyup",i,t),n.addEventListener("blur",s,t)});n.addEventListener("keydown",r,t),n.addEventListener("blur",()=>n.removeEventListener("keydown",r),t)};function hy(e){return Ch(e)&&!Ab()}const my=new WeakSet;function tO(e,t,n={}){const[r,i,s]=Rb(e,n),o=a=>{const l=a.currentTarget;if(!hy(a)||my.has(a))return;Za.add(l),n.stopPropagation&&my.add(a);const u=t(l,a),c=(p,y)=>{window.removeEventListener("pointerup",d),window.removeEventListener("pointercancel",f),Za.has(l)&&Za.delete(l),hy(p)&&typeof u=="function"&&u(p,{success:y})},d=p=>{c(p,l===window||l===document||n.useGlobalTarget||Nb(l,p.target))},f=p=>{c(p,!1)};window.addEventListener("pointerup",d,i),window.addEventListener("pointercancel",f,i)};return r.forEach(a=>{(n.useGlobalTarget?window:a).addEventListener("pointerdown",o,i),Xa(a)&&(a.addEventListener("focus",u=>eO(u,i)),!XD(a)&&!a.hasAttribute("tabindex")&&(a.tabIndex=0))}),s}function Eh(e){return I1(e)&&"ownerSVGElement"in e}const Ja=new WeakMap;let Vn;const Mb=(e,t,n)=>(r,i)=>i&&i[0]?i[0][e+"Size"]:Eh(r)&&"getBBox"in r?r.getBBox()[t]:r[n],nO=Mb("inline","width","offsetWidth"),rO=Mb("block","height","offsetHeight");function iO({target:e,borderBoxSize:t}){var n;(n=Ja.get(e))==null||n.forEach(r=>{r(e,{get width(){return nO(e,t)},get height(){return rO(e,t)}})})}function sO(e){e.forEach(iO)}function oO(){typeof ResizeObserver>"u"||(Vn=new ResizeObserver(sO))}function aO(e,t){Vn||oO();const n=kb(e);return n.forEach(r=>{let i=Ja.get(r);i||(i=new Set,Ja.set(r,i)),i.add(t),Vn==null||Vn.observe(r)}),()=>{n.forEach(r=>{const i=Ja.get(r);i==null||i.delete(t),i!=null&&i.size||Vn==null||Vn.unobserve(r)})}}const el=new Set;let Mi;function lO(){Mi=()=>{const e={get width(){return window.innerWidth},get height(){return window.innerHeight}};el.forEach(t=>t(e))},window.addEventListener("resize",Mi)}function uO(e){return el.add(e),Mi||lO(),()=>{el.delete(e),!el.size&&typeof Mi=="function"&&(window.removeEventListener("resize",Mi),Mi=void 0)}}function gy(e,t){return typeof e=="function"?uO(e):aO(e,t)}function cO(e){return Eh(e)&&e.tagName==="svg"}const dO=[...Eb,xe,Bt],fO=e=>dO.find(Cb(e)),yy=()=>({translate:0,scale:1,origin:0,originPoint:0}),Li=()=>({x:yy(),y:yy()}),vy=()=>({min:0,max:0}),Se=()=>({x:vy(),y:vy()}),pO=new WeakMap;function Du(e){return e!==null&&typeof e=="object"&&typeof e.start=="function"}function Oo(e){return typeof e=="string"||Array.isArray(e)}const Th=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],Ph=["initial",...Th];function Ou(e){return Du(e.animate)||Ph.some(t=>Oo(e[t]))}function Lb(e){return!!(Ou(e)||e.variants)}function hO(e,t,n){for(const r in t){const i=t[r],s=n[r];if(Me(i))e.addValue(r,i);else if(Me(s))e.addValue(r,cs(i,{owner:e}));else if(s!==i)if(e.hasValue(r)){const o=e.getValue(r);o.liveStyle===!0?o.jump(i):o.hasAnimated||o.set(i)}else{const o=e.getStaticValue(r);e.addValue(r,cs(o!==void 0?o:i,{owner:e}))}}for(const r in n)t[r]===void 0&&e.removeValue(r);return t}const Lf={current:null},Db={current:!1},mO=typeof window<"u";function gO(){if(Db.current=!0,!!mO)if(window.matchMedia){const e=window.matchMedia("(prefers-reduced-motion)"),t=()=>Lf.current=e.matches;e.addEventListener("change",t),t()}else Lf.current=!1}const wy=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"];let Hl={};function Ob(e){Hl=e}function yO(){return Hl}class vO{scrapeMotionValuesFromProps(t,n,r){return{}}constructor({parent:t,props:n,presenceContext:r,reducedMotionConfig:i,skipAnimations:s,blockInitialAnimation:o,visualState:a},l={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.shouldSkipAnimations=!1,this.values=new Map,this.KeyframeResolver=gh,this.features={},this.valueSubscriptions=new Map,this.prevMotionValues={},this.hasBeenMounted=!1,this.events={},this.propEventSubscriptions={},this.notifyUpdate=()=>this.notify("Update",this.latestValues),this.render=()=>{this.current&&(this.triggerBuild(),this.renderInstance(this.current,this.renderState,this.props.style,this.projection))},this.renderScheduledAt=0,this.scheduleRender=()=>{const p=Ke.now();this.renderScheduledAt<p&&(this.renderScheduledAt=p,ie.render(this.render,!1,!0))};const{latestValues:u,renderState:c}=a;this.latestValues=u,this.baseTarget={...u},this.initialValues=n.initial?{...u}:{},this.renderState=c,this.parent=t,this.props=n,this.presenceContext=r,this.depth=t?t.depth+1:0,this.reducedMotionConfig=i,this.skipAnimationsConfig=s,this.options=l,this.blockInitialAnimation=!!o,this.isControllingVariants=Ou(n),this.isVariantNode=Lb(n),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(t&&t.current);const{willChange:d,...f}=this.scrapeMotionValuesFromProps(n,{},this);for(const p in f){const y=f[p];u[p]!==void 0&&Me(y)&&y.set(u[p])}}mount(t){var n,r;if(this.hasBeenMounted)for(const i in this.initialValues)(n=this.values.get(i))==null||n.jump(this.initialValues[i]),this.latestValues[i]=this.initialValues[i];this.current=t,pO.set(t,this),this.projection&&!this.projection.instance&&this.projection.mount(t),this.parent&&this.isVariantNode&&!this.isControllingVariants&&(this.removeFromVariantTree=this.parent.addVariantChild(this)),this.values.forEach((i,s)=>this.bindToMotionValue(s,i)),this.reducedMotionConfig==="never"?this.shouldReduceMotion=!1:this.reducedMotionConfig==="always"?this.shouldReduceMotion=!0:(Db.current||gO(),this.shouldReduceMotion=Lf.current),this.shouldSkipAnimations=this.skipAnimationsConfig??!1,(r=this.parent)==null||r.addChild(this),this.update(this.props,this.presenceContext),this.hasBeenMounted=!0}unmount(){var t;this.projection&&this.projection.unmount(),vr(this.notifyUpdate),vr(this.render),this.valueSubscriptions.forEach(n=>n()),this.valueSubscriptions.clear(),this.removeFromVariantTree&&this.removeFromVariantTree(),(t=this.parent)==null||t.removeChild(this);for(const n in this.events)this.events[n].clear();for(const n in this.features){const r=this.features[n];r&&(r.unmount(),r.isMounted=!1)}this.current=null}addChild(t){this.children.add(t),this.enteringChildren??(this.enteringChildren=new Set),this.enteringChildren.add(t)}removeChild(t){this.children.delete(t),this.enteringChildren&&this.enteringChildren.delete(t)}bindToMotionValue(t,n){if(this.valueSubscriptions.has(t)&&this.valueSubscriptions.get(t)(),n.accelerate&&mb.has(t)&&this.current instanceof HTMLElement){const{factory:o,keyframes:a,times:l,ease:u,duration:c}=n.accelerate,d=new pb({element:this.current,name:t,keyframes:a,times:l,ease:u,duration:it(c)}),f=o(d);this.valueSubscriptions.set(t,()=>{f(),d.cancel()});return}const r=Es.has(t);r&&this.onBindTransform&&this.onBindTransform();const i=n.on("change",o=>{this.latestValues[t]=o,this.props.onUpdate&&ie.preRender(this.notifyUpdate),r&&this.projection&&(this.projection.isTransformDirty=!0),this.scheduleRender()});let s;typeof window<"u"&&window.MotionCheckAppearSync&&(s=window.MotionCheckAppearSync(this,t,n)),this.valueSubscriptions.set(t,()=>{i(),s&&s()})}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 Hl){const n=Hl[t];if(!n)continue;const{isEnabled:r,Feature:i}=n;if(!this.features[t]&&i&&r(this.props)&&(this.features[t]=new i(this)),this.features[t]){const s=this.features[t];s.isMounted?s.update():(s.mount(),s.isMounted=!0)}}}triggerBuild(){this.build(this.renderState,this.latestValues,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):Se()}getStaticValue(t){return this.latestValues[t]}setStaticValue(t,n){this.latestValues[t]=n}update(t,n){(t.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=t,this.prevPresenceContext=this.presenceContext,this.presenceContext=n;for(let r=0;r<wy.length;r++){const i=wy[r];this.propEventSubscriptions[i]&&(this.propEventSubscriptions[i](),delete this.propEventSubscriptions[i]);const s="on"+i,o=t[s];o&&(this.propEventSubscriptions[i]=this.on(i,o))}this.prevMotionValues=hO(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=cs(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"&&(O1(r)||j1(r))?r=parseFloat(r):!fO(r)&&Bt.test(n)&&(r=Pb(t,n)),this.setBaseTarget(t,Me(r)?r.get():r)),Me(r)?r.get():r}setBaseTarget(t,n){this.baseTarget[t]=n}getBaseTarget(t){var s;const{initial:n}=this.props;let r;if(typeof n=="string"||typeof n=="object"){const o=xh(this.props,n,(s=this.presenceContext)==null?void 0:s.custom);o&&(r=o[t])}if(n&&r!==void 0)return r;const i=this.getBaseTargetFromProps(this.props,t);return i!==void 0&&!Me(i)?i:this.initialValues[t]!==void 0&&r===void 0?void 0:this.baseTarget[t]}on(t,n){return this.events[t]||(this.events[t]=new ah),this.events[t].add(n)}notify(t,...n){this.events[t]&&this.events[t].notify(...n)}scheduleRenderMicrotask(){Sh.render(this.render)}}class Ib extends vO{constructor(){super(...arguments),this.KeyframeResolver=KD}sortInstanceNodePosition(t,n){return t.compareDocumentPosition(n)&2?1:-1}getBaseTargetFromProps(t,n){const r=t.style;return r?r[n]:void 0}removeValueFromRenderState(t,{vars:n,style:r}){delete n[t],delete r[t]}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);const{children:t}=this.props;Me(t)&&(this.childSubscription=t.on("change",n=>{this.current&&(this.current.textContent=`${n}`)}))}}class Cr{constructor(t){this.isMounted=!1,this.node=t}update(){}}function jb({top:e,left:t,right:n,bottom:r}){return{x:{min:t,max:n},y:{min:e,max:r}}}function wO({x:e,y:t}){return{top:t.min,right:e.max,bottom:t.max,left:e.min}}function xO(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 jc(e){return e===void 0||e===1}function Df({scale:e,scaleX:t,scaleY:n}){return!jc(e)||!jc(t)||!jc(n)}function Dr(e){return Df(e)||_b(e)||e.z||e.rotate||e.rotateX||e.rotateY||e.skewX||e.skewY}function _b(e){return xy(e.x)||xy(e.y)}function xy(e){return e&&e!=="0%"}function Kl(e,t,n){const r=e-n,i=t*r;return n+i}function by(e,t,n,r,i){return i!==void 0&&(e=Kl(e,i,r)),Kl(e,n,r)+t}function Of(e,t=0,n=1,r,i){e.min=by(e.min,t,n,r,i),e.max=by(e.max,t,n,r,i)}function zb(e,{x:t,y:n}){Of(e.x,t.translate,t.scale,t.originPoint),Of(e.y,n.translate,n.scale,n.originPoint)}const Sy=.999999999999,Cy=1.0000000000001;function bO(e,t,n,r=!1){var a;const i=n.length;if(!i)return;t.x=t.y=1;let s,o;for(let l=0;l<i;l++){s=n[l],o=s.projectionDelta;const{visualElement:u}=s.options;u&&u.props.style&&u.props.style.display==="contents"||(r&&s.options.layoutScroll&&s.scroll&&s!==s.root&&(Zt(e.x,-s.scroll.offset.x),Zt(e.y,-s.scroll.offset.y)),o&&(t.x*=o.x.scale,t.y*=o.y.scale,zb(e,o)),r&&Dr(s.latestValues)&&tl(e,s.latestValues,(a=s.layout)==null?void 0:a.layoutBox))}t.x<Cy&&t.x>Sy&&(t.x=1),t.y<Cy&&t.y>Sy&&(t.y=1)}function Zt(e,t){e.min+=t,e.max+=t}function Ey(e,t,n,r,i=.5){const s=re(e.min,e.max,i);Of(e,t,n,s,r)}function Ty(e,t){return typeof e=="string"?parseFloat(e)/100*(t.max-t.min):e}function tl(e,t,n){const r=n??e;Ey(e.x,Ty(t.x,r.x),t.scaleX,t.scale,t.originX),Ey(e.y,Ty(t.y,r.y),t.scaleY,t.scale,t.originY)}function Fb(e,t){return jb(xO(e.getBoundingClientRect(),t))}function SO(e,t,n){const r=Fb(e,n),{scroll:i}=t;return i&&(Zt(r.x,i.offset.x),Zt(r.y,i.offset.y)),r}const CO={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},EO=Cs.length;function TO(e,t,n){let r="",i=!0;for(let o=0;o<EO;o++){const a=Cs[o],l=e[a];if(l===void 0)continue;let u=!0;if(typeof l=="number")u=l===(a.startsWith("scale")?1:0);else{const c=parseFloat(l);u=a.startsWith("scale")?c===1:c===0}if(!u||n){const c=Mf(l,Wl[a]);if(!u){i=!1;const d=CO[a]||a;r+=`${d}(${c}) `}n&&(t[a]=c)}}const s=e.pathRotation;return s&&(i=!1,r+=`rotate(${Mf(s,Wl.pathRotation)}) `),r=r.trim(),n?r=n(t,i?"":r):i&&(r="none"),r}function kh(e,t,n){const{style:r,vars:i,transformOrigin:s}=e;let o=!1,a=!1;for(const l in t){const u=t[l];if(Es.has(l)){o=!0;continue}else if(X1(l)){i[l]=u;continue}else{const c=Mf(u,Wl[l]);l.startsWith("origin")?(a=!0,s[l]=c):r[l]=c}}if(t.transform||(o||n?r.transform=TO(t,e.transform,n):r.transform&&(r.transform="none")),a){const{originX:l="50%",originY:u="50%",originZ:c=0}=s;r.transformOrigin=`${l} ${u} ${c}`}}function Vb(e,{style:t,vars:n},r,i){const s=e.style;let o;for(o in t)s[o]=t[o];i==null||i.applyProjectionStyles(s,r);for(o in n)s.setProperty(o,n[o])}function Py(e,t){return t.max===t.min?0:e/(t.max-t.min)*100}const Fs={correct:(e,t)=>{if(!t.target)return e;if(typeof e=="string")if(F.test(e))e=parseFloat(e);else return e;const n=Py(e,t.target.x),r=Py(e,t.target.y);return`${n}% ${r}%`}},PO={correct:(e,{treeScale:t,projectionDelta:n})=>{const r=e,i=Bt.parse(e);if(i.length>5)return r;const s=Bt.createTransformer(e),o=typeof i[0]!="number"?1:0,a=n.x.scale*t.x,l=n.y.scale*t.y;i[0+o]/=a,i[1+o]/=l;const u=re(a,l,.5);return typeof i[2+o]=="number"&&(i[2+o]/=u),typeof i[3+o]=="number"&&(i[3+o]/=u),s(i)}},If={borderRadius:{...Fs,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:Fs,borderTopRightRadius:Fs,borderBottomLeftRadius:Fs,borderBottomRightRadius:Fs,boxShadow:PO};function Bb(e,{layout:t,layoutId:n}){return Es.has(e)||e.startsWith("origin")||(t||n!==void 0)&&(!!If[e]||e==="opacity")}function Ah(e,t,n){var o;const r=e.style,i=t==null?void 0:t.style,s={};if(!r)return s;for(const a in r)(Me(r[a])||i&&Me(i[a])||Bb(a,e)||((o=n==null?void 0:n.getValue(a))==null?void 0:o.liveStyle)!==void 0)&&(s[a]=r[a]);return s}function kO(e){return window.getComputedStyle(e)}class AO extends Ib{constructor(){super(...arguments),this.type="html",this.renderInstance=Vb}readValueFromInstance(t,n){var r;if(Es.has(n))return(r=this.projection)!=null&&r.isProjecting?xf(n):GL(t,n);{const i=kO(t),s=(X1(n)?i.getPropertyValue(n):i[n])||0;return typeof s=="string"?s.trim():s}}measureInstanceViewportBox(t,{transformPagePoint:n}){return Fb(t,n)}build(t,n,r){kh(t,n,r.transformTemplate)}scrapeMotionValuesFromProps(t,n,r){return Ah(t,n,r)}}const RO={offset:"stroke-dashoffset",array:"stroke-dasharray"},NO={offset:"strokeDashoffset",array:"strokeDasharray"};function MO(e,t,n=1,r=0,i=!0){e.pathLength=1;const s=i?RO:NO;e[s.offset]=`${-r}`,e[s.array]=`${t} ${n}`}const LO=["offsetDistance","offsetPath","offsetRotate","offsetAnchor"];function $b(e,{attrX:t,attrY:n,attrScale:r,pathLength:i,pathSpacing:s=1,pathOffset:o=0,...a},l,u,c){if(kh(e,a,u),l){e.style.viewBox&&(e.attrs.viewBox=e.style.viewBox);return}e.attrs=e.style,e.style={};const{attrs:d,style:f}=e;d.transform&&(f.transform=d.transform,delete d.transform),(f.transform||d.transformOrigin)&&(f.transformOrigin=d.transformOrigin??"50% 50%",delete d.transformOrigin),f.transform&&(f.transformBox=(c==null?void 0:c.transformBox)??"fill-box",delete d.transformBox);for(const p of LO)d[p]!==void 0&&(f[p]=d[p],delete d[p]);t!==void 0&&(d.x=t),n!==void 0&&(d.y=n),r!==void 0&&(d.scale=r),i!==void 0&&MO(d,i,s,o,!1)}const Ub=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"]),Wb=e=>typeof e=="string"&&e.toLowerCase()==="svg";function DO(e,t,n,r){Vb(e,t,void 0,r);for(const i in t.attrs)e.setAttribute(Ub.has(i)?i:bh(i),t.attrs[i])}function Hb(e,t,n){const r=Ah(e,t,n);for(const i in e)if(Me(e[i])||Me(t[i])){const s=Cs.indexOf(i)!==-1?"attr"+i.charAt(0).toUpperCase()+i.substring(1):i;r[s]=e[i]}return r}class OO extends Ib{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=Se}getBaseTargetFromProps(t,n){return t[n]}readValueFromInstance(t,n){if(Es.has(n)){const r=Tb(n);return r&&r.default||0}return n=Ub.has(n)?n:bh(n),t.getAttribute(n)}scrapeMotionValuesFromProps(t,n,r){return Hb(t,n,r)}build(t,n,r){$b(t,n,this.isSVGTag,r.transformTemplate,r.style)}renderInstance(t,n,r,i){DO(t,n,r,i)}mount(t){this.isSVGTag=Wb(t.tagName),super.mount(t)}}const IO=Ph.length;function Kb(e){if(!e)return;if(!e.isControllingVariants){const n=e.parent?Kb(e.parent)||{}:{};return e.props.initial!==void 0&&(n.initial=e.props.initial),n}const t={};for(let n=0;n<IO;n++){const r=Ph[n],i=e.props[r];(Oo(i)||i===!1)&&(t[r]=i)}return t}function Gb(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 jO=[...Th].reverse(),_O=Th.length;function zO(e){return t=>Promise.all(t.map(({animation:n,options:r})=>ID(e,n,r)))}function FO(e){let t=zO(e),n=ky(),r=!0,i=!1;const s=u=>(c,d)=>{var p;const f=Zr(e,d,u==="exit"?(p=e.presenceContext)==null?void 0:p.custom:void 0);if(f){const{transition:y,transitionEnd:g,...x}=f;c={...c,...x,...g}}return c};function o(u){t=u(e)}function a(u){const{props:c}=e,d=Kb(e.parent)||{},f=[],p=new Set;let y={},g=1/0;for(let h=0;h<_O;h++){const m=jO[h],v=n[m],S=c[m]!==void 0?c[m]:d[m],C=Oo(S),E=m===u?v.isActive:null;E===!1&&(g=h);let T=S===d[m]&&S!==c[m]&&C;if(T&&(r||i)&&e.manuallyAnimateOnMount&&(T=!1),v.protectedKeys={...y},!v.isActive&&E===null||!S&&!v.prevProp||Du(S)||typeof S=="boolean")continue;if(m==="exit"&&v.isActive&&E!==!0){v.prevResolvedValues&&(y={...y,...v.prevResolvedValues});continue}const P=VO(v.prevProp,S);let R=P||m===u&&v.isActive&&!T&&C||h>g&&C,k=!1;const _=Array.isArray(S)?S:[S];let I=_.reduce(s(m),{});E===!1&&(I={});const{prevResolvedValues:U={}}=v,O={...U,...I},W=A=>{R=!0,p.has(A)&&(k=!0,p.delete(A)),v.needsAnimating[A]=!0;const N=e.getValue(A);N&&(N.liveStyle=!1)};for(const A in O){const N=I[A],j=U[A];if(y.hasOwnProperty(A))continue;let $=!1;Pf(N)&&Pf(j)?$=!Gb(N,j)||P:$=N!==j,$?N!=null?W(A):p.add(A):N!==void 0&&p.has(A)?W(A):v.protectedKeys[A]=!0}v.prevProp=S,v.prevResolvedValues=I,v.isActive&&(y={...y,...I}),(r||i)&&e.blockInitialAnimation&&(R=!1);const V=T&&P;R&&(!V||k)&&f.push(..._.map(A=>{const N={type:m};if(typeof A=="string"&&(r||i)&&!V&&e.manuallyAnimateOnMount&&e.parent){const{parent:j}=e,$=Zr(j,A);if(j.enteringChildren&&$){const{delayChildren:B}=$.transition||{};N.delay=gb(j.enteringChildren,e,B)}}return{animation:A,options:N}}))}if(p.size){const h={};if(typeof c.initial!="boolean"){const m=Zr(e,Array.isArray(c.initial)?c.initial[0]:c.initial);m&&m.transition&&(h.transition=m.transition)}p.forEach(m=>{const v=e.getBaseTarget(m),S=e.getValue(m);S&&(S.liveStyle=!0),h[m]=v??null}),f.push({animation:h})}let x=!!f.length;return r&&(c.initial===!1||c.initial===c.animate)&&!e.manuallyAnimateOnMount&&(x=!1),r=!1,i=!1,x?t(f):Promise.resolve()}function l(u,c){var f;if(n[u].isActive===c)return Promise.resolve();(f=e.variantChildren)==null||f.forEach(p=>{var y;return(y=p.animationState)==null?void 0:y.setActive(u,c)}),n[u].isActive=c;const d=a(u);for(const p in n)n[p].protectedKeys={};return d}return{animateChanges:a,setActive:l,setAnimateFunction:o,getState:()=>n,reset:()=>{n=ky(),i=!0}}}function VO(e,t){return typeof t=="string"?t!==e:Array.isArray(t)?!Gb(t,e):!1}function Rr(e=!1){return{isActive:e,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function ky(){return{animate:Rr(!0),whileInView:Rr(),whileHover:Rr(),whileTap:Rr(),whileDrag:Rr(),whileFocus:Rr(),exit:Rr()}}function jf(e,t){e.min=t.min,e.max=t.max}function Nt(e,t){jf(e.x,t.x),jf(e.y,t.y)}function Ay(e,t){e.translate=t.translate,e.scale=t.scale,e.originPoint=t.originPoint,e.origin=t.origin}const qb=1e-4,BO=1-qb,$O=1+qb,Yb=.01,UO=0-Yb,WO=0+Yb;function Ge(e){return e.max-e.min}function HO(e,t,n){return Math.abs(e-t)<=n}function Ry(e,t,n,r=.5){e.origin=r,e.originPoint=re(t.min,t.max,e.origin),e.scale=Ge(n)/Ge(t),e.translate=re(n.min,n.max,e.origin)-e.originPoint,(e.scale>=BO&&e.scale<=$O||isNaN(e.scale))&&(e.scale=1),(e.translate>=UO&&e.translate<=WO||isNaN(e.translate))&&(e.translate=0)}function oo(e,t,n,r){Ry(e.x,t.x,n.x,r?r.originX:void 0),Ry(e.y,t.y,n.y,r?r.originY:void 0)}function Ny(e,t,n,r=0){const i=r?re(n.min,n.max,r):n.min;e.min=i+t.min,e.max=e.min+Ge(t)}function KO(e,t,n,r){Ny(e.x,t.x,n.x,r==null?void 0:r.x),Ny(e.y,t.y,n.y,r==null?void 0:r.y)}function My(e,t,n,r=0){const i=r?re(n.min,n.max,r):n.min;e.min=t.min-i,e.max=e.min+Ge(t)}function Gl(e,t,n,r){My(e.x,t.x,n.x,r==null?void 0:r.x),My(e.y,t.y,n.y,r==null?void 0:r.y)}function Ly(e,t,n,r,i){return e-=t,e=Kl(e,1/n,r),i!==void 0&&(e=Kl(e,1/i,r)),e}function GO(e,t=0,n=1,r=.5,i,s=e,o=e){if(nn.test(t)&&(t=parseFloat(t),t=re(o.min,o.max,t/100)-o.min),typeof t!="number")return;let a=re(s.min,s.max,r);e===s&&(a-=t),e.min=Ly(e.min,t,n,a,i),e.max=Ly(e.max,t,n,a,i)}function Dy(e,t,[n,r,i],s,o){GO(e,t[n],t[r],t[i],t.scale,s,o)}const qO=["x","scaleX","originX"],YO=["y","scaleY","originY"];function Oy(e,t,n,r){Dy(e.x,t,qO,n?n.x:void 0,r?r.x:void 0),Dy(e.y,t,YO,n?n.y:void 0,r?r.y:void 0)}function Iy(e){return e.translate===0&&e.scale===1}function Qb(e){return Iy(e.x)&&Iy(e.y)}function jy(e,t){return e.min===t.min&&e.max===t.max}function QO(e,t){return jy(e.x,t.x)&&jy(e.y,t.y)}function _y(e,t){return Math.round(e.min)===Math.round(t.min)&&Math.round(e.max)===Math.round(t.max)}function Xb(e,t){return _y(e.x,t.x)&&_y(e.y,t.y)}function zy(e){return Ge(e.x)/Ge(e.y)}function Fy(e,t){return e.translate===t.translate&&e.scale===t.scale&&e.originPoint===t.originPoint}function qt(e){return[e("x"),e("y")]}function XO(e,t,n){let r="";const i=e.x.translate/t.x,s=e.y.translate/t.y,o=(n==null?void 0:n.z)||0;if((i||s||o)&&(r=`translate3d(${i}px, ${s}px, ${o}px) `),(t.x!==1||t.y!==1)&&(r+=`scale(${1/t.x}, ${1/t.y}) `),n){const{transformPerspective:u,rotate:c,pathRotation:d,rotateX:f,rotateY:p,skewX:y,skewY:g}=n;u&&(r=`perspective(${u}px) ${r}`),c&&(r+=`rotate(${c}deg) `),d&&(r+=`rotate(${d}deg) `),f&&(r+=`rotateX(${f}deg) `),p&&(r+=`rotateY(${p}deg) `),y&&(r+=`skewX(${y}deg) `),g&&(r+=`skewY(${g}deg) `)}const a=e.x.scale*t.x,l=e.y.scale*t.y;return(a!==1||l!==1)&&(r+=`scale(${a}, ${l})`),r||"none"}const Zb=["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"],ZO=Zb.length,Vy=e=>typeof e=="string"?parseFloat(e):e,By=e=>typeof e=="number"||F.test(e);function JO(e,t,n,r,i,s){i?(e.opacity=re(0,n.opacity??1,e2(r)),e.opacityExit=re(t.opacity??1,0,t2(r))):s&&(e.opacity=re(t.opacity??1,n.opacity??1,r));for(let o=0;o<ZO;o++){const a=Zb[o];let l=$y(t,a),u=$y(n,a);if(l===void 0&&u===void 0)continue;l||(l=0),u||(u=0),l===0||u===0||By(l)===By(u)?(e[a]=Math.max(re(Vy(l),Vy(u),r),0),(nn.test(u)||nn.test(l))&&(e[a]+="%")):e[a]=u}(t.rotate||n.rotate)&&(e.rotate=re(t.rotate||0,n.rotate||0,r))}function $y(e,t){return e[t]!==void 0?e[t]:e.borderRadius}const e2=Jb(0,.5,H1),t2=Jb(.5,.95,St);function Jb(e,t,n){return r=>r<e?0:r>t?1:n(Lo(e,t,r))}function n2(e,t,n){const r=Me(e)?e:cs(e);return r.start(wh("",r,t,n)),r.animation}function Io(e,t,n,r={passive:!0}){return e.addEventListener(t,n,r),()=>e.removeEventListener(t,n)}const r2=(e,t)=>e.depth-t.depth;class i2{constructor(){this.children=[],this.isDirty=!1}add(t){oh(this.children,t),this.isDirty=!0}remove(t){Fl(this.children,t),this.isDirty=!0}forEach(t){this.isDirty&&this.children.sort(r2),this.isDirty=!1,this.children.forEach(t)}}function s2(e,t){const n=Ke.now(),r=({timestamp:i})=>{const s=i-n;s>=t&&(vr(r),e(s-t))};return ie.setup(r,!0),()=>vr(r)}function nl(e){return Me(e)?e.get():e}class o2{constructor(){this.members=[]}add(t){oh(this.members,t);for(let n=this.members.length-1;n>=0;n--){const r=this.members[n];if(r===t||r===this.lead||r===this.prevLead)continue;const i=r.instance;(!i||i.isConnected===!1)&&!r.snapshot&&(Fl(this.members,r),r.unmount())}t.scheduleRender()}remove(t){if(Fl(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){var n;for(let r=this.members.indexOf(t)-1;r>=0;r--){const i=this.members[r];if(i.isPresent!==!1&&((n=i.instance)==null?void 0:n.isConnected)!==!1)return this.promote(i),!0}return!1}promote(t,n){var i;const r=this.lead;if(t!==r&&(this.prevLead=r,this.lead=t,t.show(),r)){r.updateSnapshot(),t.scheduleRender();const{layoutDependency:s}=r.options,{layoutDependency:o}=t.options;(s===void 0||s!==o)&&(t.resumeFrom=r,n&&(r.preserveOpacity=!0),r.snapshot&&(t.snapshot=r.snapshot,t.snapshot.latestValues=r.animationValues||r.latestValues),(i=t.root)!=null&&i.isUpdating&&(t.isLayoutDirty=!0)),t.options.crossfade===!1&&r.hide()}}exitAnimationComplete(){this.members.forEach(t=>{var n,r,i,s,o;(r=(n=t.options).onExitComplete)==null||r.call(n),(o=(i=t.resumingFrom)==null?void 0:(s=i.options).onExitComplete)==null||o.call(s)})}scheduleRender(){this.members.forEach(t=>t.instance&&t.scheduleRender(!1))}removeLeadSnapshot(){var t;(t=this.lead)!=null&&t.snapshot&&(this.lead.snapshot=void 0)}}const rl={hasAnimatedSinceResize:!0,hasEverUpdated:!1},_c=["","X","Y","Z"],a2=1e3;let l2=0;function zc(e,t,n,r){const{latestValues:i}=t;i[e]&&(n[e]=i[e],t.setStaticValue(e,0),r&&(r[e]=0))}function eS(e){if(e.hasCheckedOptimisedAppear=!0,e.root===e)return;const{visualElement:t}=e.options;if(!t)return;const n=bb(t);if(window.MotionHasOptimisedAnimation(n,"transform")){const{layout:i,layoutId:s}=e.options;window.MotionCancelOptimisedAnimation(n,"transform",ie,!(i||s))}const{parent:r}=e;r&&!r.hasCheckedOptimisedAppear&&eS(r)}function tS({attachResizeListener:e,defaultParent:t,measureScroll:n,checkIsScrollRoot:r,resetTransform:i}){return class{constructor(o={},a=t==null?void 0:t()){this.id=l2++,this.animationId=0,this.animationCommitId=0,this.children=new Set,this.options={},this.isTreeAnimating=!1,this.isAnimationBlocked=!1,this.isLayoutDirty=!1,this.isProjectionDirty=!1,this.isSharedProjectionDirty=!1,this.isTransformDirty=!1,this.updateManuallyBlocked=!1,this.updateBlockedByResize=!1,this.isUpdating=!1,this.isSVG=!1,this.needsReset=!1,this.shouldResetTransform=!1,this.hasCheckedOptimisedAppear=!1,this.treeScale={x:1,y:1},this.eventHandlers=new Map,this.hasTreeAnimated=!1,this.layoutVersion=0,this.updateScheduled=!1,this.scheduleUpdate=()=>this.update(),this.projectionUpdateScheduled=!1,this.checkUpdateFailed=()=>{this.isUpdating&&(this.isUpdating=!1,this.clearAllSnapshots())},this.updateProjection=()=>{this.projectionUpdateScheduled=!1,this.nodes.forEach(d2),this.nodes.forEach(y2),this.nodes.forEach(v2),this.nodes.forEach(f2)},this.resolvedRelativeTargetAt=0,this.linkedParentVersion=0,this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=o,this.root=a?a.root||a:this,this.path=a?[...a.path,a]:[],this.parent=a,this.depth=a?a.depth+1:0;for(let l=0;l<this.path.length;l++)this.path[l].shouldResetTransform=!0;this.root===this&&(this.nodes=new i2)}addEventListener(o,a){return this.eventHandlers.has(o)||this.eventHandlers.set(o,new ah),this.eventHandlers.get(o).add(a)}notifyListeners(o,...a){const l=this.eventHandlers.get(o);l&&l.notify(...a)}hasListeners(o){return this.eventHandlers.has(o)}mount(o){if(this.instance)return;this.isSVG=Eh(o)&&!cO(o),this.instance=o;const{layoutId:a,layout:l,visualElement:u}=this.options;if(u&&!u.current&&u.mount(o),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),this.root.hasTreeAnimated&&(l||a)&&(this.isLayoutDirty=!0),e){let c,d=0;const f=()=>this.root.updateBlockedByResize=!1;ie.read(()=>{d=window.innerWidth}),e(o,()=>{const p=window.innerWidth;p!==d&&(d=p,this.root.updateBlockedByResize=!0,c&&c(),c=s2(f,250),rl.hasAnimatedSinceResize&&(rl.hasAnimatedSinceResize=!1,this.nodes.forEach(Hy)))})}a&&this.root.registerSharedNode(a,this),this.options.animate!==!1&&u&&(a||l)&&this.addEventListener("didUpdate",({delta:c,hasLayoutChanged:d,hasRelativeLayoutChanged:f,layout:p})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}const y=this.options.transition||u.getDefaultTransition()||C2,{onLayoutAnimationStart:g,onLayoutAnimationComplete:x}=u.getProps(),h=!this.targetLayout||!Xb(this.targetLayout,p),m=!d&&f;if(this.options.layoutRoot||this.resumeFrom||m||d&&(h||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0);const v={...vh(y,"layout"),onPlay:g,onComplete:x};(u.shouldReduceMotion||this.options.layoutRoot)&&(v.delay=0,v.type=!1),this.startAnimation(v),this.setAnimationOrigin(c,m,v.path)}else d||Hy(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=p})}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);const o=this.getStack();o&&o.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,this.eventHandlers.clear(),vr(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(w2),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&&eS(this),!this.root.isUpdating&&this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let c=0;c<this.path.length;c++){const d=this.path[c];d.shouldResetTransform=!0,(typeof d.latestValues.x=="string"||typeof d.latestValues.y=="string")&&(d.isLayoutDirty=!0),d.updateScroll("snapshot"),d.options.layoutRoot&&d.willUpdate(!1)}const{layoutId:a,layout:l}=this.options;if(a===void 0&&!l)return;const u=this.getTransformTemplate();this.prevTransformTemplateValue=u?u(this.latestValues,""):void 0,this.updateSnapshot(),o&&this.notifyListeners("willUpdate")}update(){if(this.updateScheduled=!1,this.isUpdateBlocked()){const l=this.updateBlockedByResize;this.unblockUpdate(),this.updateBlockedByResize=!1,this.clearAllSnapshots(),l&&this.nodes.forEach(h2),this.nodes.forEach(Uy);return}if(this.animationId<=this.animationCommitId){this.nodes.forEach(Wy);return}this.animationCommitId=this.animationId,this.isUpdating?(this.isUpdating=!1,this.nodes.forEach(m2),this.nodes.forEach(g2),this.nodes.forEach(u2),this.nodes.forEach(c2)):this.nodes.forEach(Wy),this.clearAllSnapshots();const a=Ke.now();Re.delta=on(0,1e3/60,a-Re.timestamp),Re.timestamp=a,Re.isProcessing=!0,Rc.update.process(Re),Rc.preRender.process(Re),Rc.render.process(Re),Re.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,Sh.read(this.scheduleUpdate))}clearAllSnapshots(){this.nodes.forEach(p2),this.sharedNodes.forEach(x2)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,ie.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){ie.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){this.snapshot||!this.instance||(this.snapshot=this.measure(),this.snapshot&&!Ge(this.snapshot.measuredBox.x)&&!Ge(this.snapshot.measuredBox.y)&&(this.snapshot=void 0))}updateLayout(){if(!this.instance||(this.updateScroll(),!(this.options.alwaysMeasureLayout&&this.isLead())&&!this.isLayoutDirty))return;if(this.resumeFrom&&!this.resumeFrom.instance)for(let l=0;l<this.path.length;l++)this.path[l].updateScroll();const o=this.layout;this.layout=this.measure(!1),this.layoutVersion++,this.layoutCorrected||(this.layoutCorrected=Se()),this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners("measure",this.layout.layoutBox);const{visualElement:a}=this.options;a&&a.notify("LayoutMeasure",this.layout.layoutBox,o?o.layoutBox:void 0)}updateScroll(o="measure"){let a=!!(this.options.layoutScroll&&this.instance);if(this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===o&&(a=!1),a&&this.instance){const l=r(this.instance);this.scroll={animationId:this.root.animationId,phase:o,isRoot:l,offset:n(this.instance),wasRoot:this.scroll?this.scroll.isRoot:l}}}resetTransform(){if(!i)return;const o=this.isLayoutDirty||this.shouldResetTransform||this.options.alwaysMeasureLayout,a=this.projectionDelta&&!Qb(this.projectionDelta),l=this.getTransformTemplate(),u=l?l(this.latestValues,""):void 0,c=u!==this.prevTransformTemplateValue;o&&this.instance&&(a||Dr(this.latestValues)||c)&&(i(this.instance,u),this.shouldResetTransform=!1,this.scheduleRender())}measure(o=!0){const a=this.measurePageBox();let l=this.removeElementScroll(a);return o&&(l=this.removeTransform(l)),E2(l),{animationId:this.root.animationId,measuredBox:a,layoutBox:l,latestValues:{},source:this.id}}measurePageBox(){var u;const{visualElement:o}=this.options;if(!o)return Se();const a=o.measureViewportBox();if(!(((u=this.scroll)==null?void 0:u.wasRoot)||this.path.some(T2))){const{scroll:c}=this.root;c&&(Zt(a.x,c.offset.x),Zt(a.y,c.offset.y))}return a}removeElementScroll(o){var l;const a=Se();if(Nt(a,o),(l=this.scroll)!=null&&l.wasRoot)return a;for(let u=0;u<this.path.length;u++){const c=this.path[u],{scroll:d,options:f}=c;c!==this.root&&d&&f.layoutScroll&&(d.wasRoot&&Nt(a,o),Zt(a.x,d.offset.x),Zt(a.y,d.offset.y))}return a}applyTransform(o,a=!1,l){var c,d;const u=l||Se();Nt(u,o);for(let f=0;f<this.path.length;f++){const p=this.path[f];!a&&p.options.layoutScroll&&p.scroll&&p!==p.root&&(Zt(u.x,-p.scroll.offset.x),Zt(u.y,-p.scroll.offset.y)),Dr(p.latestValues)&&tl(u,p.latestValues,(c=p.layout)==null?void 0:c.layoutBox)}return Dr(this.latestValues)&&tl(u,this.latestValues,(d=this.layout)==null?void 0:d.layoutBox),u}removeTransform(o){var l;const a=Se();Nt(a,o);for(let u=0;u<this.path.length;u++){const c=this.path[u];if(!Dr(c.latestValues))continue;let d;c.instance&&(Df(c.latestValues)&&c.updateSnapshot(),d=Se(),Nt(d,c.measurePageBox())),Oy(a,c.latestValues,(l=c.snapshot)==null?void 0:l.layoutBox,d)}return Dr(this.latestValues)&&Oy(a,this.latestValues),a}setTargetDelta(o){this.targetDelta=o,this.root.scheduleUpdateProjection(),this.isProjectionDirty=!0}setOptions(o){this.options={...this.options,...o,crossfade:o.crossfade!==void 0?o.crossfade:!0}}clearMeasurements(){this.scroll=void 0,this.layout=void 0,this.snapshot=void 0,this.prevTransformTemplateValue=void 0,this.targetDelta=void 0,this.target=void 0,this.isLayoutDirty=!1}forceRelativeParentToResolveTarget(){this.relativeParent&&this.relativeParent.resolvedRelativeTargetAt!==Re.timestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(o=!1){var p;const a=this.getLead();this.isProjectionDirty||(this.isProjectionDirty=a.isProjectionDirty),this.isTransformDirty||(this.isTransformDirty=a.isTransformDirty),this.isSharedProjectionDirty||(this.isSharedProjectionDirty=a.isSharedProjectionDirty);const l=!!this.resumingFrom||this!==a;if(!(o||l&&this.isSharedProjectionDirty||this.isProjectionDirty||(p=this.parent)!=null&&p.isProjectionDirty||this.attemptToResolveRelativeTarget||this.root.updateBlockedByResize))return;const{layout:c,layoutId:d}=this.options;if(!this.layout||!(c||d))return;this.resolvedRelativeTargetAt=Re.timestamp;const f=this.getClosestProjectingParent();f&&this.linkedParentVersion!==f.layoutVersion&&!f.options.layoutRoot&&this.removeRelativeTarget(),!this.targetDelta&&!this.relativeTarget&&(this.options.layoutAnchor!==!1&&f&&f.layout?this.createRelativeTarget(f,this.layout.layoutBox,f.layout.layoutBox):this.removeRelativeTarget()),!(!this.relativeTarget&&!this.targetDelta)&&(this.target||(this.target=Se(),this.targetWithTransforms=Se()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target?(this.forceRelativeParentToResolveTarget(),KO(this.target,this.relativeTarget,this.relativeParent.target,this.options.layoutAnchor||void 0)):this.targetDelta?(this.resumingFrom?this.applyTransform(this.layout.layoutBox,!1,this.target):Nt(this.target,this.layout.layoutBox),zb(this.target,this.targetDelta)):Nt(this.target,this.layout.layoutBox),this.attemptToResolveRelativeTarget&&(this.attemptToResolveRelativeTarget=!1,this.options.layoutAnchor!==!1&&f&&!!f.resumingFrom==!!this.resumingFrom&&!f.options.layoutScroll&&f.target&&this.animationProgress!==1?this.createRelativeTarget(f,this.target,f.target):this.relativeParent=this.relativeTarget=void 0))}getClosestProjectingParent(){if(!(!this.parent||Df(this.parent.latestValues)||_b(this.parent.latestValues)))return this.parent.isProjecting()?this.parent:this.parent.getClosestProjectingParent()}isProjecting(){return!!((this.relativeTarget||this.targetDelta||this.options.layoutRoot)&&this.layout)}createRelativeTarget(o,a,l){this.relativeParent=o,this.linkedParentVersion=o.layoutVersion,this.forceRelativeParentToResolveTarget(),this.relativeTarget=Se(),this.relativeTargetOrigin=Se(),Gl(this.relativeTargetOrigin,a,l,this.options.layoutAnchor||void 0),Nt(this.relativeTarget,this.relativeTargetOrigin)}removeRelativeTarget(){this.relativeParent=this.relativeTarget=void 0}calcProjection(){var y;const o=this.getLead(),a=!!this.resumingFrom||this!==o;let l=!0;if((this.isProjectionDirty||(y=this.parent)!=null&&y.isProjectionDirty)&&(l=!1),a&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(l=!1),this.resolvedRelativeTargetAt===Re.timestamp&&(l=!1),l)return;const{layout:u,layoutId:c}=this.options;if(this.isTreeAnimating=!!(this.parent&&this.parent.isTreeAnimating||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),!this.layout||!(u||c))return;Nt(this.layoutCorrected,this.layout.layoutBox);const d=this.treeScale.x,f=this.treeScale.y;bO(this.layoutCorrected,this.treeScale,this.path,a),o.layout&&!o.target&&(this.treeScale.x!==1||this.treeScale.y!==1)&&(o.target=o.layout.layoutBox,o.targetWithTransforms=Se());const{target:p}=o;if(!p){this.prevProjectionDelta&&(this.createProjectionDeltas(),this.scheduleRender());return}!this.projectionDelta||!this.prevProjectionDelta?this.createProjectionDeltas():(Ay(this.prevProjectionDelta.x,this.projectionDelta.x),Ay(this.prevProjectionDelta.y,this.projectionDelta.y)),oo(this.projectionDelta,this.layoutCorrected,p,this.latestValues),(this.treeScale.x!==d||this.treeScale.y!==f||!Fy(this.projectionDelta.x,this.prevProjectionDelta.x)||!Fy(this.projectionDelta.y,this.prevProjectionDelta.y))&&(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",p))}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(o=!0){var a;if((a=this.options.visualElement)==null||a.scheduleRender(),o){const l=this.getStack();l&&l.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}createProjectionDeltas(){this.prevProjectionDelta=Li(),this.projectionDelta=Li(),this.projectionDeltaWithTransform=Li()}setAnimationOrigin(o,a=!1,l){const u=this.snapshot,c=u?u.latestValues:{},d={...this.latestValues},f=Li();(!this.relativeParent||!this.relativeParent.options.layoutRoot)&&(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!a;const p=Se(),y=u?u.source:void 0,g=this.layout?this.layout.source:void 0,x=y!==g,h=this.getStack(),m=!h||h.members.length<=1,v=!!(x&&!m&&this.options.crossfade===!0&&!this.path.some(S2));this.animationProgress=0;let S;const C=l==null?void 0:l.interpolateProjection(o);this.mixTargetDelta=E=>{const T=E/1e3,P=C==null?void 0:C(T);P?(f.x.translate=P.x,f.x.scale=re(o.x.scale,1,T),f.x.origin=o.x.origin,f.x.originPoint=o.x.originPoint,f.y.translate=P.y,f.y.scale=re(o.y.scale,1,T),f.y.origin=o.y.origin,f.y.originPoint=o.y.originPoint):(Ky(f.x,o.x,T),Ky(f.y,o.y,T)),this.setTargetDelta(f),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&(Gl(p,this.layout.layoutBox,this.relativeParent.layout.layoutBox,this.options.layoutAnchor||void 0),b2(this.relativeTarget,this.relativeTargetOrigin,p,T),S&&QO(this.relativeTarget,S)&&(this.isProjectionDirty=!1),S||(S=Se()),Nt(S,this.relativeTarget)),x&&(this.animationValues=d,JO(d,c,this.latestValues,T,v,m)),P&&P.rotate!==void 0&&(this.animationValues||(this.animationValues=d),this.animationValues.pathRotation=P.rotate),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=T},this.mixTargetDelta(this.options.layoutRoot?1e3:0)}startAnimation(o){var a,l,u;this.notifyListeners("animationStart"),(a=this.currentAnimation)==null||a.stop(),(u=(l=this.resumingFrom)==null?void 0:l.currentAnimation)==null||u.stop(),this.pendingAnimation&&(vr(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=ie.update(()=>{rl.hasAnimatedSinceResize=!0,this.motionValue||(this.motionValue=cs(0)),this.motionValue.jump(0,!1),this.currentAnimation=n2(this.motionValue,[0,1e3],{...o,velocity:0,isSync:!0,onUpdate:c=>{this.mixTargetDelta(c),o.onUpdate&&o.onUpdate(c)},onStop:()=>{},onComplete:()=>{o.onComplete&&o.onComplete(),this.completeAnimation()}}),this.resumingFrom&&(this.resumingFrom.currentAnimation=this.currentAnimation),this.pendingAnimation=void 0})}completeAnimation(){this.resumingFrom&&(this.resumingFrom.currentAnimation=void 0,this.resumingFrom.preserveOpacity=void 0);const o=this.getStack();o&&o.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")}finishAnimation(){this.currentAnimation&&(this.mixTargetDelta&&this.mixTargetDelta(a2),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){const o=this.getLead();let{targetWithTransforms:a,target:l,layout:u,latestValues:c}=o;if(!(!a||!l||!u)){if(this!==o&&this.layout&&u&&nS(this.options.animationType,this.layout.layoutBox,u.layoutBox)){l=this.target||Se();const d=Ge(this.layout.layoutBox.x);l.x.min=o.target.x.min,l.x.max=l.x.min+d;const f=Ge(this.layout.layoutBox.y);l.y.min=o.target.y.min,l.y.max=l.y.min+f}Nt(a,l),tl(a,c),oo(this.projectionDeltaWithTransform,this.layoutCorrected,a,c)}}registerSharedNode(o,a){this.sharedNodes.has(o)||this.sharedNodes.set(o,new o2),this.sharedNodes.get(o).add(a);const u=a.options.initialPromotionConfig;a.promote({transition:u?u.transition:void 0,preserveFollowOpacity:u&&u.shouldPreserveFollowOpacity?u.shouldPreserveFollowOpacity(a):void 0})}isLead(){const o=this.getStack();return o?o.lead===this:!0}getLead(){var a;const{layoutId:o}=this.options;return o?((a=this.getStack())==null?void 0:a.lead)||this:this}getPrevLead(){var a;const{layoutId:o}=this.options;return o?(a=this.getStack())==null?void 0:a.prevLead:void 0}getStack(){const{layoutId:o}=this.options;if(o)return this.root.sharedNodes.get(o)}promote({needsReset:o,transition:a,preserveFollowOpacity:l}={}){const u=this.getStack();u&&u.promote(this,l),o&&(this.projectionDelta=void 0,this.needsReset=!0),a&&this.setOptions({transition:a})}relegate(){const o=this.getStack();return o?o.relegate(this):!1}resetSkewAndRotation(){const{visualElement:o}=this.options;if(!o)return;let a=!1;const{latestValues:l}=o;if((l.z||l.rotate||l.rotateX||l.rotateY||l.rotateZ||l.skewX||l.skewY)&&(a=!0),!a)return;const u={};l.z&&zc("z",o,u,this.animationValues);for(let c=0;c<_c.length;c++)zc(`rotate${_c[c]}`,o,u,this.animationValues),zc(`skew${_c[c]}`,o,u,this.animationValues);o.render();for(const c in u)o.setStaticValue(c,u[c]),this.animationValues&&(this.animationValues[c]=u[c]);o.scheduleRender()}applyProjectionStyles(o,a){if(!this.instance||this.isSVG)return;if(!this.isVisible){o.visibility="hidden";return}const l=this.getTransformTemplate();if(this.needsReset){this.needsReset=!1,o.visibility="",o.opacity="",o.pointerEvents=nl(a==null?void 0:a.pointerEvents)||"",o.transform=l?l(this.latestValues,""):"none";return}const u=this.getLead();if(!this.projectionDelta||!this.layout||!u.target){this.options.layoutId&&(o.opacity=this.latestValues.opacity!==void 0?this.latestValues.opacity:1,o.pointerEvents=nl(a==null?void 0:a.pointerEvents)||""),this.hasProjected&&!Dr(this.latestValues)&&(o.transform=l?l({},""):"none",this.hasProjected=!1);return}o.visibility="";const c=u.animationValues||u.latestValues;this.applyTransformsToTarget();let d=XO(this.projectionDeltaWithTransform,this.treeScale,c);l&&(d=l(c,d)),o.transform=d;const{x:f,y:p}=this.projectionDelta;o.transformOrigin=`${f.origin*100}% ${p.origin*100}% 0`,u.animationValues?o.opacity=u===this?c.opacity??this.latestValues.opacity??1:this.preserveOpacity?this.latestValues.opacity:c.opacityExit:o.opacity=u===this?c.opacity!==void 0?c.opacity:"":c.opacityExit!==void 0?c.opacityExit:0;for(const y in If){if(c[y]===void 0)continue;const{correct:g,applyTo:x,isCSSVariable:h}=If[y],m=d==="none"?c[y]:g(c[y],u);if(x){const v=x.length;for(let S=0;S<v;S++)o[x[S]]=m}else h?this.options.visualElement.renderState.vars[y]=m:o[y]=m}this.options.layoutId&&(o.pointerEvents=u===this?nl(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(Uy),this.root.sharedNodes.clear()}}}function u2(e){e.updateLayout()}function c2(e){var n;const t=((n=e.resumeFrom)==null?void 0:n.snapshot)||e.snapshot;if(e.isLead()&&e.layout&&t&&e.hasListeners("didUpdate")){const{layoutBox:r,measuredBox:i}=e.layout,{animationType:s}=e.options,o=t.source!==e.layout.source;if(s==="size")qt(d=>{const f=o?t.measuredBox[d]:t.layoutBox[d],p=Ge(f);f.min=r[d].min,f.max=f.min+p});else if(s==="x"||s==="y"){const d=s==="x"?"y":"x";jf(o?t.measuredBox[d]:t.layoutBox[d],r[d])}else nS(s,t.layoutBox,r)&&qt(d=>{const f=o?t.measuredBox[d]:t.layoutBox[d],p=Ge(r[d]);f.max=f.min+p,e.relativeTarget&&!e.currentAnimation&&(e.isProjectionDirty=!0,e.relativeTarget[d].max=e.relativeTarget[d].min+p)});const a=Li();oo(a,r,t.layoutBox);const l=Li();o?oo(l,e.applyTransform(i,!0),t.measuredBox):oo(l,r,t.layoutBox);const u=!Qb(a);let c=!1;if(!e.resumeFrom){const d=e.getClosestProjectingParent();if(d&&!d.resumeFrom){const{snapshot:f,layout:p}=d;if(f&&p){const y=e.options.layoutAnchor||void 0,g=Se();Gl(g,t.layoutBox,f.layoutBox,y);const x=Se();Gl(x,r,p.layoutBox,y),Xb(g,x)||(c=!0),d.options.layoutRoot&&(e.relativeTarget=x,e.relativeTargetOrigin=g,e.relativeParent=d)}}}e.notifyListeners("didUpdate",{layout:r,snapshot:t,delta:l,layoutDelta:a,hasLayoutChanged:u,hasRelativeLayoutChanged:c})}else if(e.isLead()){const{onExitComplete:r}=e.options;r&&r()}e.options.transition=void 0}function d2(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 f2(e){e.isProjectionDirty=e.isSharedProjectionDirty=e.isTransformDirty=!1}function p2(e){e.clearSnapshot()}function Uy(e){e.clearMeasurements()}function h2(e){e.isLayoutDirty=!0,e.updateLayout()}function Wy(e){e.isLayoutDirty=!1}function m2(e){e.isAnimationBlocked&&e.layout&&!e.isLayoutDirty&&(e.snapshot=e.layout,e.isLayoutDirty=!0)}function g2(e){const{visualElement:t}=e.options;t&&t.getProps().onBeforeLayoutMeasure&&t.notify("BeforeLayoutMeasure"),e.resetTransform()}function Hy(e){e.finishAnimation(),e.targetDelta=e.relativeTarget=e.target=void 0,e.isProjectionDirty=!0}function y2(e){e.resolveTargetDelta()}function v2(e){e.calcProjection()}
139function w2(e){e.resetSkewAndRotation()}function x2(e){e.removeLeadSnapshot()}function Ky(e,t,n){e.translate=re(t.translate,0,n),e.scale=re(t.scale,1,n),e.origin=t.origin,e.originPoint=t.originPoint}function Gy(e,t,n,r){e.min=re(t.min,n.min,r),e.max=re(t.max,n.max,r)}function b2(e,t,n,r){Gy(e.x,t.x,n.x,r),Gy(e.y,t.y,n.y,r)}function S2(e){return e.animationValues&&e.animationValues.opacityExit!==void 0}const C2={duration:.45,ease:[.4,0,.1,1]},qy=e=>typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(e),Yy=qy("applewebkit/")&&!qy("chrome/")?Math.round:St;function Qy(e){e.min=Yy(e.min),e.max=Yy(e.max)}function E2(e){Qy(e.x),Qy(e.y)}function nS(e,t,n){return e==="position"||e==="preserve-aspect"&&!HO(zy(t),zy(n),.2)}function T2(e){var t;return e!==e.root&&((t=e.scroll)==null?void 0:t.wasRoot)}const P2=tS({attachResizeListener:(e,t)=>Io(e,"resize",t),measureScroll:()=>{var e,t;return{x:document.documentElement.scrollLeft||((e=document.body)==null?void 0:e.scrollLeft)||0,y:document.documentElement.scrollTop||((t=document.body)==null?void 0:t.scrollTop)||0}},checkIsScrollRoot:()=>!0}),Fc={current:void 0},rS=tS({measureScroll:e=>({x:e.scrollLeft,y:e.scrollTop}),defaultParent:()=>{if(!Fc.current){const e=new P2({});e.mount(window),e.setOptions({layoutScroll:!0}),Fc.current=e}return Fc.current},resetTransform:(e,t)=>{e.style.transform=t!==void 0?t:"none"},checkIsScrollRoot:e=>window.getComputedStyle(e).position==="fixed"}),Rh=w.createContext({transformPagePoint:e=>e,isStatic:!1,reducedMotion:"never"});function Xy(e,t){if(typeof e=="function")return e(t);e!=null&&(e.current=t)}function k2(...e){return t=>{let n=!1;const r=e.map(i=>{const s=Xy(i,t);return!n&&typeof s=="function"&&(n=!0),s});if(n)return()=>{for(let i=0;i<r.length;i++){const s=r[i];typeof s=="function"?s():Xy(e[i],null)}}}}function A2(...e){return w.useCallback(k2(...e),e)}class R2 extends w.Component{getSnapshotBeforeUpdate(t){const n=this.props.childRef.current;if(Xa(n)&&t.isPresent&&!this.props.isPresent&&this.props.pop!==!1){const r=n.offsetParent,i=Xa(r)&&r.offsetWidth||0,s=Xa(r)&&r.offsetHeight||0,o=getComputedStyle(n),a=this.props.sizeRef.current;a.height=parseFloat(o.height),a.width=parseFloat(o.width),a.top=n.offsetTop,a.left=n.offsetLeft,a.right=i-a.width-a.left,a.bottom=s-a.height-a.top,a.direction=o.direction}return null}componentDidUpdate(){}render(){return this.props.children}}function N2({children:e,isPresent:t,anchorX:n,anchorY:r,root:i,pop:s}){var f;const o=w.useId(),a=w.useRef(null),l=w.useRef({width:0,height:0,top:0,left:0,right:0,bottom:0,direction:"ltr"}),{nonce:u}=w.useContext(Rh),c=((f=e.props)==null?void 0:f.ref)??(e==null?void 0:e.ref),d=A2(a,c);return w.useInsertionEffect(()=>{const{width:p,height:y,top:g,left:x,right:h,bottom:m,direction:v}=l.current;if(t||s===!1||!a.current||!p||!y)return;const S=v==="rtl",C=n==="left"?S?`right: ${h}`:`left: ${x}`:S?`left: ${x}`:`right: ${h}`,E=r==="bottom"?`bottom: ${m}`:`top: ${g}`;a.current.dataset.motionPopId=o;const T=document.createElement("style");u&&(T.nonce=u);const P=i??document.head;return P.appendChild(T),T.sheet&&T.sheet.insertRule(` 140 [data-motion-pop-id="${o}"] { 141 position: absolute !important; 142 width: ${p}px !important; 143 height: ${y}px !important; 144 ${C}px !important; 145 ${E}px !important; 146 } 147 `),()=>{var R;(R=a.current)==null||R.removeAttribute("data-motion-pop-id"),P.contains(T)&&P.removeChild(T)}},[t]),b.jsx(R2,{isPresent:t,childRef:a,sizeRef:l,pop:s,children:s===!1?e:w.cloneElement(e,{ref:d})})}const M2=({children:e,initial:t,isPresent:n,onExitComplete:r,custom:i,presenceAffectsLayout:s,mode:o,anchorX:a,anchorY:l,root:u})=>{const c=sh(L2),d=w.useId();let f=!0,p=w.useMemo(()=>(f=!1,{id:d,initial:t,isPresent:n,custom:i,onExitComplete:y=>{c.set(y,!0);for(const g of c.values())if(!g)return;r&&r()},register:y=>(c.set(y,!1),()=>c.delete(y))}),[n,c,r]);return s&&f&&(p={...p}),w.useMemo(()=>{c.forEach((y,g)=>c.set(g,!1))},[n]),w.useEffect(()=>{!n&&!c.size&&r&&r()},[n]),e=b.jsx(N2,{pop:o==="popLayout",isPresent:n,anchorX:a,anchorY:l,root:u,children:e}),b.jsx(Nu.Provider,{value:p,children:e})};function L2(){return new Map}function iS(e=!0){const t=w.useContext(Nu);if(t===null)return[!0,null];const{isPresent:n,onExitComplete:r,register:i}=t,s=w.useId();w.useEffect(()=>{if(e)return i(s)},[e]);const o=w.useCallback(()=>e&&r&&r(s),[s,r,e]);return!n&&r?[!1,o]:[!0]}const ka=e=>e.key||"";function Zy(e){const t=[];
vendor: 5,454 bytes, line 147
147return w.Children.forEach(e,n=>{w.isValidElement(n)&&t.push(n)}),t}const D2=({children:e,custom:t,initial:n=!0,onExitComplete:r,presenceAffectsLayout:i=!0,mode:s="sync",propagate:o=!1,anchorX:a="left",anchorY:l="top",root:u})=>{const[c,d]=iS(o),f=w.useMemo(()=>Zy(e),[e]),p=o&&!c?[]:f.map(ka),y=w.useRef(!0),g=w.useRef(f),x=sh(()=>new Map),h=w.useRef(new Set),[m,v]=w.useState(f),[S,C]=w.useState(f);D1(()=>{y.current=!1,g.current=f;for(let P=0;P<S.length;P++){const R=ka(S[P]);p.includes(R)?(x.delete(R),h.current.delete(R)):x.get(R)!==!0&&x.set(R,!1)}},[S,p.length,p.join("-")]);const E=[];if(f!==m){let P=[...f];for(let R=0;R<S.length;R++){const k=S[R],_=ka(k);p.includes(_)||(P.splice(R,0,k),E.push(k))}return s==="wait"&&E.length&&(P=E),C(Zy(P)),v(f),null}const{forceRender:T}=w.useContext(ih);return b.jsx(b.Fragment,{children:S.map(P=>{const R=ka(P),k=o&&!c?!1:f===S||p.includes(R),_=()=>{if(h.current.has(R))return;if(x.has(R))h.current.add(R),x.set(R,!0);else return;let I=!0;x.forEach(U=>{U||(I=!1)}),I&&(T==null||T(),C(g.current),o&&(d==null||d()),r&&r())};return b.jsx(M2,{isPresent:k,initial:!y.current||n?void 0:!1,custom:t,presenceAffectsLayout:i,mode:s,root:u,onExitComplete:k?void 0:_,anchorX:a,anchorY:l,children:P},R)})})},sS=w.createContext({strict:!1}),Jy={animation:["animate","variants","whileHover","whileTap","exit","whileInView","whileFocus","whileDrag"],exit:["exit"],drag:["drag","dragControls"],focus:["whileFocus"],hover:["whileHover","onHoverStart","onHoverEnd"],tap:["whileTap","onTap","onTapStart","onTapCancel"],pan:["onPan","onPanStart","onPanSessionStart","onPanEnd"],inView:["whileInView","onViewportEnter","onViewportLeave"],layout:["layout","layoutId"]};let ev=!1;function O2(){if(ev)return;const e={};for(const t in Jy)e[t]={isEnabled:n=>Jy[t].some(r=>!!n[r])};Ob(e),ev=!0}function oS(){return O2(),yO()}function I2(e){const t=oS();for(const n in e)t[n]={...t[n],...e[n]};Ob(t)}const j2=new Set(["animate","exit","variants","initial","style","values","variants","transition","transformTemplate","custom","inherit","onBeforeLayoutMeasure","onAnimationStart","onAnimationComplete","onUpdate","onDragStart","onDrag","onDragEnd","onMeasureDragConstraints","onDirectionLock","onDragTransitionEnd","_dragX","_dragY","onHoverStart","onHoverEnd","onViewportEnter","onViewportLeave","globalTapTarget","propagate","ignoreStrict","viewport"]);function ql(e){return e.startsWith("while")||e.startsWith("drag")&&e!=="draggable"||e.startsWith("layout")||e.startsWith("onTap")||e.startsWith("onPan")||e.startsWith("onLayout")||j2.has(e)}let aS=e=>!ql(e);function _2(e){typeof e=="function"&&(aS=t=>t.startsWith("on")?!ql(t):e(t))}try{_2(require("@emotion/is-prop-valid").default)}catch{}function z2(e,t,n){const r={};for(const i in e)i==="values"&&typeof e.values=="object"||Me(e[i])||(aS(i)||n===!0&&ql(i)||!t&&!ql(i)||e.draggable&&i.startsWith("onDrag"))&&(r[i]=e[i]);return r}const Iu=w.createContext({});function F2(e,t){if(Ou(e)){const{initial:n,animate:r}=e;return{initial:n===!1||Oo(n)?n:void 0,animate:Oo(r)?r:void 0}}return e.inherit!==!1?t:{}}function V2(e){const{initial:t,animate:n}=F2(e,w.useContext(Iu));return w.useMemo(()=>({initial:t,animate:n}),[tv(t),tv(n)])}function tv(e){return Array.isArray(e)?e.join(" "):e}const Nh=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function lS(e,t,n){for(const r in t)!Me(t[r])&&!Bb(r,n)&&(e[r]=t[r])}function B2({transformTemplate:e},t){return w.useMemo(()=>{const n=Nh();return kh(n,t,e),Object.assign({},n.vars,n.style)},[t])}function $2(e,t){const n=e.style||{},r={};return lS(r,n,e),Object.assign(r,B2(e,t)),r}function U2(e,t){const n={},r=$2(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 uS=()=>({...Nh(),attrs:{}});function W2(e,t,n,r){const i=w.useMemo(()=>{const s=uS();return $b(s,t,Wb(r),e.transformTemplate,e.style),{...s.attrs,style:{...s.style}}},[t]);if(e.style){const s={};lS(s,e.style,e),i.style={...s,...i.style}}return i}const H2=["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 Mh(e){return typeof e!="string"||e.includes("-")?!1:!!(H2.indexOf(e)>-1||/[A-Z]/u.test(e))}function K2(e,t,n,{latestValues:r},i,s=!1,o){const l=(o??Mh(e)?W2:U2)(t,r,i,e),u=z2(t,typeof e=="string",s),c=e!==w.Fragment?{...u,...l,ref:n}:{},{children:d}=t,f=w.useMemo(()=>Me(d)?d.get():d,[d]);return w.createElement(e,{...c,children:f})}function G2({scrapeMotionValuesFromProps:e,createRenderState:t},n,r,i){return{latestValues:q2(n,r,i,e),renderState:t()}}function q2(e,t,n,r){const i={},s=r(e,{});for(const f in s)i[f]=nl(s[f]);let{initial:o,animate:a}=e;const l=Ou(e),u=Lb(e);t&&u&&!l&&e.inherit!==!1&&(o===void 0&&(o=t.initial),a===void 0&&(a=t.animate));let c=n?n.initial===!1:!1;c=c||o===!1;const d=c?a:o;if(d&&typeof d!="boolean"&&!Du(d)){const f=Array.isArray(d)?d:[d];for(let p=0;p<f.length;p++){const y=xh(e,f[p]);if(y){const{transitionEnd:g,transition:x,...h}=y;for(const m in h){let v=h[m];if(Array.isArray(v)){const S=c?v.length-1:0;v=v[S]}v!==null&&(i[m]=v)}for(const m in g)i[m]=g[m]}}}return i}const cS=e=>(t,n)=>{const r=w.useContext(Iu),i=w.useContext(Nu),s=()=>
vendor: 21,985 bytes, line 147
147G2(e,t,r,i);return n?s():sh(s)},Y2=cS({scrapeMotionValuesFromProps:Ah,createRenderState:Nh}),Q2=cS({scrapeMotionValuesFromProps:Hb,createRenderState:uS}),X2=Symbol.for("motionComponentSymbol");function Z2(e,t,n){const r=w.useRef(n);w.useInsertionEffect(()=>{r.current=n});const i=w.useRef(null);return w.useCallback(s=>{var a;s&&((a=e.onMount)==null||a.call(e,s)),t&&(s?t.mount(s):t.unmount());const o=r.current;if(typeof o=="function")if(s){const l=o(s);typeof l=="function"&&(i.current=l)}else i.current?(i.current(),i.current=null):o(s);else o&&(o.current=s)},[t])}const dS=w.createContext({});function yi(e){return e&&typeof e=="object"&&Object.prototype.hasOwnProperty.call(e,"current")}function J2(e,t,n,r,i,s){var v,S;const{visualElement:o}=w.useContext(Iu),a=w.useContext(sS),l=w.useContext(Nu),u=w.useContext(Rh),c=u.reducedMotion,d=u.skipAnimations,f=w.useRef(null),p=w.useRef(!1);r=r||a.renderer,!f.current&&r&&(f.current=r(e,{visualState:t,parent:o,props:n,presenceContext:l,blockInitialAnimation:l?l.initial===!1:!1,reducedMotionConfig:c,skipAnimations:d,isSVG:s}),p.current&&f.current&&(f.current.manuallyAnimateOnMount=!0));const y=f.current,g=w.useContext(dS);y&&!y.projection&&i&&(y.type==="html"||y.type==="svg")&&eI(f.current,n,i,g);const x=w.useRef(!1);w.useInsertionEffect(()=>{y&&x.current&&y.update(n,l)});const h=n[xb],m=w.useRef(!!h&&typeof window<"u"&&!((v=window.MotionHandoffIsComplete)!=null&&v.call(window,h))&&((S=window.MotionHasOptimisedAnimation)==null?void 0:S.call(window,h)));return D1(()=>{p.current=!0,y&&(x.current=!0,window.MotionIsMounted=!0,y.updateFeatures(),y.scheduleRenderMicrotask(),m.current&&y.animationState&&y.animationState.animateChanges())}),w.useEffect(()=>{y&&(!m.current&&y.animationState&&y.animationState.animateChanges(),m.current&&(queueMicrotask(()=>{var C;(C=window.MotionHandoffMarkAsComplete)==null||C.call(window,h)}),m.current=!1),y.enteringChildren=void 0)}),y}function eI(e,t,n,r){const{layoutId:i,layout:s,drag:o,dragConstraints:a,layoutScroll:l,layoutRoot:u,layoutAnchor:c,layoutCrossfade:d}=t;e.projection=new n(e.latestValues,t["data-framer-portal-id"]?void 0:fS(e.parent)),e.projection.setOptions({layoutId:i,layout:s,alwaysMeasureLayout:!!o||a&&yi(a),visualElement:e,animationType:typeof s=="string"?s:"both",initialPromotionConfig:r,crossfade:d,layoutScroll:l,layoutRoot:u,layoutAnchor:c})}function fS(e){if(e)return e.options.allowProjection!==!1?e.projection:fS(e.parent)}function Vc(e,{forwardMotionProps:t=!1,type:n}={},r,i){r&&I2(r);const s=n?n==="svg":Mh(e),o=s?Q2:Y2;function a(u,c){let d;const f={...w.useContext(Rh),...u,layoutId:tI(u)},{isStatic:p}=f,y=V2(u),g=o(u,p);if(!p&&typeof window<"u"){nI();const x=rI(f);d=x.MeasureLayout,y.visualElement=J2(e,g,f,i,x.ProjectionNode,s)}return b.jsxs(Iu.Provider,{value:y,children:[d&&y.visualElement?b.jsx(d,{visualElement:y.visualElement,...f}):null,K2(e,u,Z2(g,y.visualElement,c),g,p,t,s)]})}a.displayName=`motion.${typeof e=="string"?e:`create(${e.displayName??e.name??""})`}`;const l=w.forwardRef(a);return l[X2]=e,l}function tI({layoutId:e}){const t=w.useContext(ih).id;return t&&e!==void 0?t+"-"+e:e}function nI(e,t){w.useContext(sS).strict}function rI(e){const t=oS(),{drag:n,layout:r}=t;if(!n&&!r)return{};const i={...n,...r};return{MeasureLayout:n!=null&&n.isEnabled(e)||r!=null&&r.isEnabled(e)?i.MeasureLayout:void 0,ProjectionNode:i.ProjectionNode}}function iI(e,t){if(typeof Proxy>"u")return Vc;const n=new Map,r=(s,o)=>Vc(s,o,e,t),i=(s,o)=>r(s,o);return new Proxy(i,{get:(s,o)=>o==="create"?r:(n.has(o)||n.set(o,Vc(o,void 0,e,t)),n.get(o))})}const sI=(e,t)=>t.isSVG??Mh(e)?new OO(t):new AO(t,{allowProjection:e!==w.Fragment});class oI extends Cr{constructor(t){super(t),t.animationState||(t.animationState=FO(t))}updateAnimationControlsSubscription(){const{animate:t}=this.node.getProps();Du(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 aI=0;class lI extends Cr{constructor(){super(...arguments),this.id=aI++,this.isExitComplete=!1}update(){var s;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;if(t&&r===!1){if(this.isExitComplete){const{initial:o,custom:a}=this.node.getProps();if(typeof o=="string"||typeof o=="object"&&o!==null&&!Array.isArray(o)){const l=Zr(this.node,o,a);if(l){const{transition:u,transitionEnd:c,...d}=l;for(const f in d)(s=this.node.getValue(f))==null||s.jump(d[f])}}this.node.animationState.reset(),this.node.animationState.animateChanges()}else this.node.animationState.setActive("exit",!1);this.isExitComplete=!1;return}const i=this.node.animationState.setActive("exit",!t);n&&!t&&i.then(()=>{this.isExitComplete=!0,n(this.id)})}mount(){const{register:t,onExitComplete:n}=this.node.presenceContext||{};n&&n(this.id),t&&(this.unmount=t(this.id))}unmount(){}}const uI={animation:{Feature:oI},exit:{Feature:lI}};function Xo(e){return{point:{x:e.pageX,y:e.pageY}}}const cI=e=>t=>Ch(t)&&e(t,Xo(t));function ao(e,t,n,r){return Io(e,t,cI(n),r)}const pS=({current:e})=>e?e.ownerDocument.defaultView:null,nv=(e,t)=>Math.abs(e-t);function dI(e,t){const n=nv(e.x,t.x),r=nv(e.y,t.y);return Math.sqrt(n**2+r**2)}const rv=new Set(["auto","scroll"]);class hS{constructor(t,n,{transformPagePoint:r,contextWindow:i=window,dragSnapToOrigin:s=!1,distanceThreshold:o=3,element:a}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.lastRawMoveEventInfo=null,this.handlers={},this.contextWindow=window,this.scrollPositions=new Map,this.removeScrollListeners=null,this.onElementScroll=p=>{this.handleScroll(p.target)},this.onWindowScroll=()=>{this.handleScroll(window)},this.updatePoint=()=>{if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;this.lastRawMoveEventInfo&&(this.lastMoveEventInfo=Aa(this.lastRawMoveEventInfo,this.transformPagePoint));const p=Bc(this.lastMoveEventInfo,this.history),y=this.startEvent!==null,g=dI(p.offset,{x:0,y:0})>=this.distanceThreshold;if(!y&&!g)return;const{point:x}=p,{timestamp:h}=Re;this.history.push({...x,timestamp:h});const{onStart:m,onMove:v}=this.handlers;y||(m&&m(this.lastMoveEvent,p),this.startEvent=this.lastMoveEvent),v&&v(this.lastMoveEvent,p)},this.handlePointerMove=(p,y)=>{this.lastMoveEvent=p,this.lastRawMoveEventInfo=y,this.lastMoveEventInfo=Aa(y,this.transformPagePoint),ie.update(this.updatePoint,!0)},this.handlePointerUp=(p,y)=>{this.end();const{onEnd:g,onSessionEnd:x,resumeAnimation:h}=this.handlers;if((this.dragSnapToOrigin||!this.startEvent)&&h&&h(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const m=Bc(p.type==="pointercancel"?this.lastMoveEventInfo:Aa(y,this.transformPagePoint),this.history);this.startEvent&&g&&g(p,m),x&&x(p,m)},!Ch(t))return;this.dragSnapToOrigin=s,this.handlers=n,this.transformPagePoint=r,this.distanceThreshold=o,this.contextWindow=i||window;const l=Xo(t),u=Aa(l,this.transformPagePoint),{point:c}=u,{timestamp:d}=Re;this.history=[{...c,timestamp:d}];const{onSessionStart:f}=n;f&&f(t,Bc(u,this.history)),this.removeListeners=qo(ao(this.contextWindow,"pointermove",this.handlePointerMove),ao(this.contextWindow,"pointerup",this.handlePointerUp),ao(this.contextWindow,"pointercancel",this.handlePointerUp)),a&&this.startScrollTracking(a)}startScrollTracking(t){let n=t.parentElement;for(;n;){const r=getComputedStyle(n);(rv.has(r.overflowX)||rv.has(r.overflowY))&&this.scrollPositions.set(n,{x:n.scrollLeft,y:n.scrollTop}),n=n.parentElement}this.scrollPositions.set(window,{x:window.scrollX,y:window.scrollY}),window.addEventListener("scroll",this.onElementScroll,{capture:!0}),window.addEventListener("scroll",this.onWindowScroll),this.removeScrollListeners=()=>{window.removeEventListener("scroll",this.onElementScroll,{capture:!0}),window.removeEventListener("scroll",this.onWindowScroll)}}handleScroll(t){const n=this.scrollPositions.get(t);if(!n)return;const r=t===window,i=r?{x:window.scrollX,y:window.scrollY}:{x:t.scrollLeft,y:t.scrollTop},s={x:i.x-n.x,y:i.y-n.y};s.x===0&&s.y===0||(r?this.lastMoveEventInfo&&(this.lastMoveEventInfo.point.x+=s.x,this.lastMoveEventInfo.point.y+=s.y):this.history.length>0&&(this.history[0].x-=s.x,this.history[0].y-=s.y),this.scrollPositions.set(t,i),ie.update(this.updatePoint,!0))}updateHandlers(t){this.handlers=t}end(){this.removeListeners&&this.removeListeners(),this.removeScrollListeners&&this.removeScrollListeners(),this.scrollPositions.clear(),vr(this.updatePoint)}}function Aa(e,t){return t?{point:t(e.point)}:e}function iv(e,t){return{x:e.x-t.x,y:e.y-t.y}}function Bc({point:e},t){return{point:e,delta:iv(e,mS(t)),offset:iv(e,fI(t)),velocity:pI(t,.1)}}function fI(e){return e[0]}function mS(e){return e[e.length-1]}function pI(e,t){if(e.length<2)return{x:0,y:0};let n=e.length-1,r=null;const i=mS(e);for(;n>=0&&(r=e[n],!(i.timestamp-r.timestamp>it(t)));)n--;if(!r)return{x:0,y:0};r===e[0]&&e.length>2&&i.timestamp-r.timestamp>it(t)*2&&(r=e[1]);const s=xt(i.timestamp-r.timestamp);if(s===0)return{x:0,y:0};const o={x:(i.x-r.x)/s,y:(i.y-r.y)/s};return o.x===1/0&&(o.x=0),o.y===1/0&&(o.y=0),o}function hI(e,{min:t,max:n},r){return t!==void 0&&e<t?e=r?re(t,e,r.min):Math.max(e,t):n!==void 0&&e>n&&(e=r?re(n,e,r.max):Math.min(e,n)),e}function sv(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 mI(e,{top:t,left:n,bottom:r,right:i}){return{x:sv(e.x,n,i),y:sv(e.y,t,r)}}function ov(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 gI(e,t){return{x:ov(e.x,t.x),y:ov(e.y,t.y)}}function yI(e,t){let n=.5;const r=Ge(e),i=Ge(t);return i>r?n=Lo(t.min,t.max-r,e.min):r>i&&(n=Lo(e.min,e.max-i,t.min)),on(0,1,n)}function vI(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 _f=.35;function wI(e=_f){return e===!1?e=0:e===!0&&(e=_f),{x:av(e,"left","right"),y:av(e,"top","bottom")}}function av(e,t,n){return{min:lv(e,t),max:lv(e,n)}}function lv(e,t){return typeof e=="number"?e:e[t]||0}const xI=new WeakMap;class bI{constructor(t){this.openDragLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic=Se(),this.latestPointerEvent=null,this.latestPanInfo=null,this.visualElement=t}start(t,{snapToCursor:n=!1,distanceThreshold:r}={}){const{presenceContext:i}=this.visualElement;if(i&&i.isPresent===!1)return;const s=d=>{n&&this.snapToCursor(Xo(d).point),this.stopAnimation()},o=(d,f)=>{const{drag:p,dragPropagation:y,onDragStart:g}=this.getProps();if(p&&!y&&(this.openDragLock&&this.openDragLock(),this.openDragLock=GD(p),!this.openDragLock))return;this.latestPointerEvent=d,this.latestPanInfo=f,this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),qt(h=>{let m=this.getAxisMotionValue(h).get()||0;if(nn.test(m)){const{projection:v}=this.visualElement;if(v&&v.layout){const S=v.layout.layoutBox[h];S&&(m=Ge(S)*(parseFloat(m)/100))}}this.originPoint[h]=m}),g&&ie.update(()=>g(d,f),!1,!0),kf(this.visualElement,"transform");const{animationState:x}=this.visualElement;x&&x.setActive("whileDrag",!0)},a=(d,f)=>{this.latestPointerEvent=d,this.latestPanInfo=f;const{dragPropagation:p,dragDirectionLock:y,onDirectionLock:g,onDrag:x}=this.getProps();if(!p&&!this.openDragLock)return;const{offset:h}=f;if(y&&this.currentDirection===null){this.currentDirection=CI(h),this.currentDirection!==null&&g&&g(this.currentDirection);return}this.updateAxis("x",f.point,h),this.updateAxis("y",f.point,h),this.visualElement.render(),x&&ie.update(()=>x(d,f),!1,!0)},l=(d,f)=>{this.latestPointerEvent=d,this.latestPanInfo=f,this.stop(d,f),this.latestPointerEvent=null,this.latestPanInfo=null},u=()=>{const{dragSnapToOrigin:d}=this.getProps();(d||this.constraints)&&this.startAnimation({x:0,y:0})},{dragSnapToOrigin:c}=this.getProps();this.panSession=new hS(t,{onSessionStart:s,onStart:o,onMove:a,onSessionEnd:l,resumeAnimation:u},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:c,distanceThreshold:r,contextWindow:pS(this.visualElement),element:this.visualElement.current})}stop(t,n){const r=t||this.latestPointerEvent,i=n||this.latestPanInfo,s=this.isDragging;if(this.cancel(),!s||!i||!r)return;const{velocity:o}=i;this.startAnimation(o);const{onDragEnd:a}=this.getProps();a&&ie.postRender(()=>a(r,i))}cancel(){this.isDragging=!1;const{projection:t,animationState:n}=this.visualElement;t&&(t.isAnimationBlocked=!1),this.endPanSession();const{dragPropagation:r}=this.getProps();!r&&this.openDragLock&&(this.openDragLock(),this.openDragLock=null),n&&n.setActive("whileDrag",!1)}endPanSession(){this.panSession&&this.panSession.end(),this.panSession=void 0}updateAxis(t,n,r){const{drag:i}=this.getProps();if(!r||!Ra(t,i,this.currentDirection))return;const s=this.getAxisMotionValue(t);let o=this.originPoint[t]+r[t];this.constraints&&this.constraints[t]&&(o=hI(o,this.constraints[t],this.elastic[t])),s.set(o)}resolveConstraints(){var s;const{dragConstraints:t,dragElastic:n}=this.getProps(),r=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):(s=this.visualElement.projection)==null?void 0:s.layout,i=this.constraints;t&&yi(t)?this.constraints||(this.constraints=this.resolveRefConstraints()):t&&r?this.constraints=mI(r.layoutBox,t):this.constraints=!1,this.elastic=wI(n),i!==this.constraints&&!yi(t)&&r&&this.constraints&&!this.hasMutatedConstraints&&qt(o=>{this.constraints!==!1&&this.getAxisMotionValue(o)&&(this.constraints[o]=vI(r.layoutBox[o],this.constraints[o]))})}resolveRefConstraints(){const{dragConstraints:t,onMeasureDragConstraints:n}=this.getProps();if(!t||!yi(t))return!1;const r=t.current;ls(r!==null,"If `dragConstraints` is set as a React ref, that ref must be passed to another component's `ref` prop.","drag-constraints-ref");const{projection:i}=this.visualElement;if(!i||!i.layout)return!1;i.root&&(i.root.scroll=void 0,i.root.updateScroll());const s=SO(r,i.root,this.visualElement.getTransformPagePoint());let o=gI(i.layout.layoutBox,s);if(n){const a=n(wO(o));this.hasMutatedConstraints=!!a,a&&(o=jb(a))}return o}startAnimation(t){const{drag:n,dragMomentum:r,dragElastic:i,dragTransition:s,dragSnapToOrigin:o,onDragTransitionEnd:a}=this.getProps(),l=this.constraints||{},u=qt(c=>{if(!Ra(c,n,this.currentDirection))return;let d=l&&l[c]||{};(o===!0||o===c)&&(d={min:0,max:0});const f=i?200:1e6,p=i?40:1e7,y={type:"inertia",velocity:r?t[c]:0,bounceStiffness:f,bounceDamping:p,timeConstant:750,restDelta:1,restSpeed:10,...s,...d};return this.startAxisValueAnimation(c,y)});return Promise.all(u).then(a)}startAxisValueAnimation(t,n){const r=this.getAxisMotionValue(t);return kf(this.visualElement,t),r.start(wh(t,r,0,n,this.visualElement,!1))}stopAnimation(){qt(t=>this.getAxisMotionValue(t).stop())}getAxisMotionValue(t){const n=`_drag${t.toUpperCase()}`,i=this.visualElement.getProps()[n];return i||this.visualElement.getValue(t,this.visualElement.latestValues[t]??0)}snapToCursor(t){qt(n=>{const{drag:r}=this.getProps();if(!Ra(n,r,this.currentDirection))return;const{projection:i}=this.visualElement,s=this.getAxisMotionValue(n);if(i&&i.layout){const{min:o,max:a}=i.layout.layoutBox[n],l=s.get()||0;s.set(t[n]-re(o,a,.5)+l)}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;const{drag:t,dragConstraints:n}=this.getProps(),{projection:r}=this.visualElement;if(!yi(n)||!r||!this.constraints)return;this.stopAnimation();const i={x:0,y:0};qt(o=>{const a=this.getAxisMotionValue(o);if(a&&this.constraints!==!1){const l=a.get();i[o]=yI({min:l,max:l},this.constraints[o])}});const{transformTemplate:s}=this.visualElement.getProps();this.visualElement.current.style.transform=s?s({},""):"none",r.root&&r.root.updateScroll(),r.updateLayout(),this.constraints=!1,this.resolveConstraints(),qt(o=>{if(!Ra(o,t,null))return;const a=this.getAxisMotionValue(o),{min:l,max:u}=this.constraints[o];a.set(re(l,u,i[o]))}),this.visualElement.render()}addListeners(){if(!this.visualElement.current)return;xI.set(this.visualElement,this);const t=this.visualElement.current,n=ao(t,"pointerdown",u=>{const{drag:c,dragListener:d=!0}=this.getProps(),f=u.target,p=f!==t&&JD(f);c&&d&&!p&&this.start(u)});let r;const i=()=>{const{dragConstraints:u}=this.getProps();yi(u)&&u.current&&(this.constraints=this.resolveRefConstraints(),r||(r=SI(t,u.current,()=>this.scalePositionWithinConstraints())))},{projection:s}=this.visualElement,o=s.addEventListener("measure",i);s&&!s.layout&&(s.root&&s.root.updateScroll(),s.updateLayout()),ie.read(i);const a=Io(window,"resize",()=>this.scalePositionWithinConstraints()),l=s.addEventListener("didUpdate",({delta:u,hasLayoutChanged:c})=>{this.isDragging&&c&&(qt(d=>{const f=this.getAxisMotionValue(d);f&&(this.originPoint[d]+=u[d].translate,f.set(f.get()+u[d].translate))}),this.visualElement.render())});return()=>{a(),n(),o(),l&&l(),r&&r()}}getProps(){const t=this.visualElement.getProps(),{drag:n=!1,dragDirectionLock:r=!1,dragPropagation:i=!1,dragConstraints:s=!1,dragElastic:o=_f,dragMomentum:a=!0}=t;return{...t,drag:n,dragDirectionLock:r,dragPropagation:i,dragConstraints:s,dragElastic:o,dragMomentum:a}}}function uv(e){let t=!0;return()=>{if(t){t=!1;return}e()}}function SI(e,t,n){const r=gy(e,uv(n)),i=gy(t,uv(n));return()=>{r(),i()}}function Ra(e,t,n){return(t===!0||t===e)&&(n===null||n===e)}function CI(e,t=10){let n=null;return Math.abs(e.y)>t?n="y":Math.abs(e.x)>t&&(n="x"),n}class EI extends Cr{constructor(t){super(t),this.removeGroupControls=St,this.removeListeners=St,this.controls=new bI(t)}mount(){const{dragControls:t}=this.node.getProps();t&&(this.removeGroupControls=t.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||St}update(){const{dragControls:t}=this.node.getProps(),{dragControls:n}=this.node.prevProps||{};t!==n&&(this.removeGroupControls(),t&&(this.removeGroupControls=t.subscribe(this.controls)))}unmount(){this.removeGroupControls(),this.removeListeners(),this.controls.isDragging||this.controls.endPanSession()}}const $c=e=>(t,n)=>{e&&ie.update(()=>e(t,n),!1,!0)};class TI extends Cr{constructor(){super(...arguments),this.removePointerDownListener=St}onPointerDown(t){this.session=new hS(t,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:pS(this.node)})}createPanHandlers(){const{onPanSessionStart:t,onPanStart:n,onPan:r,onPanEnd:i}=this.node.getProps();return{onSessionStart:$c(t),onStart:$c(n),onMove:$c(r),onEnd:(s,o)=>{delete this.session,i&&ie.postRender(()=>i(s,o))}}}mount(){this.removePointerDownListener=ao(this.node.current,"pointerdown",t=>this.onPointerDown(t))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}}let Uc=!1;class PI extends w.Component{componentDidMount(){const{visualElement:t,layoutGroup:n,switchLayoutGroup:r,layoutId:i}=this.props,{projection:s}=t;s&&(n.group&&n.group.add(s),r&&r.register&&i&&r.register(s),Uc&&s.root.didUpdate(),s.addEventListener("animationComplete",()=>{this.safeToRemove()}),s.setOptions({...s.options,layoutDependency:this.props.layoutDependency,onExitComplete:()=>this.safeToRemove()})),rl.hasEverUpdated=!0}getSnapshotBeforeUpdate(t){const{layoutDependency:n,visualElement:r,drag:i,isPresent:s}=this.props,{projection:o}=r;return o&&(o.isPresent=s,t.layoutDependency!==n&&o.setOptions({...o.options,layoutDependency:n}),Uc=!0,i||t.layoutDependency!==n||n===void 0||t.isPresent!==s?o.willUpdate():this.safeToRemove(),t.isPresent!==s&&(s?o.promote():o.relegate()||ie.postRender(()=>{const a=o.getStack();(!a||!a.members.length)&&this.safeToRemove()}))),null}componentDidUpdate(){const{visualElement:t,layoutAnchor:n}=this.props,{projection:r}=t;r&&(r.options.layoutAnchor=n,r.root.didUpdate(),Sh.postRender(()=>{!r.currentAnimation&&r.isLead()&&this.safeToRemove()}))}componentWillUnmount(){const{visualElement:t,layoutGroup:n,switchLayoutGroup:r}=this.props,{projection:i}=t;Uc=!0,i&&(i.scheduleCheckAfterUnmount(),n&&n.group&&n.group.remove(i),r&&r.deregister&&r.deregister(i))}safeToRemove(){const{safeToRemove:t}=this.props;t&&t()}render(){return null}}function gS(e){const[t,n]=iS(),r=w.useContext(ih);return b.jsx(PI,{...e,layoutGroup:r,switchLayoutGroup:w.useContext(dS),isPresent:t,safeToRemove:n})}const kI={pan:{Feature:TI},drag:{Feature:EI,ProjectionNode:rS,MeasureLayout:gS}};function cv(e,t,n){const{props:r}=e;e.animationState&&r.whileHover&&e.animationState.setActive("whileHover",n==="Start");const i="onHover"+n,s=r[i];s&&ie.postRender(()=>s(t,Xo(t)))}class AI extends Cr{mount(){const{current:t}=this.node;t&&(this.unmount=YD(t,(n,r)=>(cv(this.node,r,"Start"),i=>cv(this.node,i,"End"))))}unmount(){}}class RI extends Cr{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=qo(Io(this.node.current,"focus",()=>this.onFocus()),Io(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}function dv(e,t,n){const{props:r}=e;if(e.current instanceof HTMLButtonElement&&e.current.disabled)return;e.animationState&&r.whileTap&&e.animationState.setActive("whileTap",n==="Start");const i="onTap"+(n==="End"?"":n),s=r[i];s&&ie.postRender(()=>s(t,Xo(t)))}class NI extends Cr{mount(){const{current:t}=this.node;if(!t)return;
147const{globalTapTarget:n,propagate:r}=this.node.props;this.unmount=tO(t,(i,s)=>(dv(this.node,s,"Start"),(o,{success:a})=>dv(this.node,o,a?"End":"Cancel")),{useGlobalTarget:n,stopPropagation:(r==null?void 0:r.tap)===!1})}unmount(){}}const zf=new WeakMap,Wc=new WeakMap,MI=e=>{const t=zf.get(e.target);t&&t(e)},LI=e=>{e.forEach(MI)};function DI({root:e,...t}){const n=e||document;Wc.has(n)||Wc.set(n,{});const r=Wc.get(n),i=JSON.stringify(t);return r[i]||(r[i]=new IntersectionObserver(LI,{root:e,...t})),r[i]}function OI(e,t,n){const r=DI(t);return zf.set(e,n),r.observe(e),()=>{zf.delete(e),r.unobserve(e)}}const II={some:0,all:1};class jI extends Cr{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){var l;(l=this.stopObserver)==null||l.call(this);const{viewport:t={}}=this.node.getProps(),{root:n,margin:r,amount:i="some",once:s}=t,o={root:n?n.current:void 0,rootMargin:r,threshold:typeof i=="number"?i:II[i]},a=u=>{const{isIntersecting:c}=u;if(this.isInView===c||(this.isInView=c,s&&!c&&this.hasEnteredView))return;c&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",c);const{onViewportEnter:d,onViewportLeave:f}=this.node.getProps(),p=c?d:f;p&&p(u)};this.stopObserver=OI(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(_I(t,n))&&this.startObserver()}unmount(){var t;(t=this.stopObserver)==null||t.call(this),this.hasEnteredView=!1,this.isInView=!1}}function _I({viewport:e={}},{viewport:t={}}={}){return n=>e[n]!==t[n]}const zI={inView:{Feature:jI},tap:{Feature:NI},focus:{Feature:RI},hover:{Feature:AI}},FI={layout:{ProjectionNode:rS,MeasureLayout:gS}},VI={...uI,...zI,...kI,...FI},BI=iI(VI,sI),$I={initial:{opacity:0,y:12},animate:{opacity:1,y:0},exit:{opacity:0,y:-8}},UI={type:"tween",ease:[.25,.46,.45,.94],duration:.35},WI=({children:e})=>{const t=Be();return w.useEffect(()=>{if(t.hash)return;const n=()=>{const l=window.lenis;l&&typeof l.scrollTo=="function"&&l.scrollTo(0,{immediate:!0}),window.scrollTo(0,0),document.documentElement.scrollTop=0,document.body.scrollTop=0};n();const r=requestAnimationFrame(n),i=requestAnimationFrame(()=>requestAnimationFrame(n)),s=window.setTimeout(n,120),o=window.setTimeout(n,350),a=window.setTimeout(n,700);return()=>{cancelAnimationFrame(r),cancelAnimationFrame(i),clearTimeout(s),clearTimeout(o),clearTimeout(a)}},[]),b.jsx(BI.div,{initial:"initial",animate:"animate",exit:"exit",variants:$I,transition:UI,children:e})},HI={"/project":"/technology","/project/*":"/technology","/about-us":"/about","/about-us/*":"/about","/blog-seite":"/news","/blog-seite/*":"/news","/privacy-policy":"/privacy","/privacy-policy/*":"/privacy","/author/*":"/about","/category":"/","/category/*":"/","/tag":"/","/tag/*":"/","/feed":"/","/comments/feed":"/","/wp-admin":"/","/wp-admin/*":"/","/wp-login.php":"/","/wp-json/*":"/","/wp-content/uploads/2026/01/PureClean-Flyer.pdf":"/media","/wp-content/*":"/","/wp-includes/*":"/","/xmlrpc.php":"/"},KI=()=>un(()=>import("./index-BR82k0za.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17])),Xe=e=>w.lazy(async()=>({default:(await KI())[e]})),GI=Xe("HomePage"),qI=Xe("TechnologyPage"),YI=Xe("ProductsPage"),QI=Xe("NexovantPage"),XI=Xe("RheosylPage"),ZI=Xe("SylvaxisPage"),JI=Xe("ApplicationsPage"),ej=Xe("SustainabilityPage"),tj=Xe("AboutPage"),nj=Xe("NewsPage"),fv=Xe("NewsArticlePage"),rj=Xe("ContactPage"),ij=Xe("LegalNoticePage"),sj=Xe("PrivacyPage"),oj=Xe("NotFoundPage"),aj=w.lazy(()=>un(()=>import("./FAQ-Bb3ADD4L.js"),__vite__mapDeps([18,7,19,4,5,8,3,14,2,16,15]))),lj=w.lazy(()=>un(()=>import("./Careers-DqJ7CDBt.js"),__vite__mapDeps([20,4,5,2,21,1,8,17,16,22])).then(e=>({default:e.CareersPage}))),uj=w.lazy(()=>un(()=>import("./CareersApply-YE_Yh2_t.js"),__vite__mapDeps([23,2,10,21,11,24,12])).then(e=>({default:e.CareersApplyPage}))),cj=w.lazy(()=>un(()=>import("./Team-BFAPdzv4.js"),__vite__mapDeps([25,2,3,4,5,14,9,26])).then(e=>({default:e.TeamPage}))),dj=w.lazy(()=>un(()=>import("./Knowledge-39LGD0n2.js"),__vite__mapDeps([27,2,3,4,5,14,19,7,8,28,13])).then(e=>({default:e.KnowledgePage}))),fj=w.lazy(()=>un(()=>import("./Media-dt5X3Eow.js"),__vite__mapDeps([29,2,10,6,24,5,17,14])).then(e=>({default:e.MediaPage}
147))),pj=w.lazy(()=>un(()=>import("./SeoReport-BYQavYjI.js"),[])),hj=w.lazy(()=>un(()=>import("./DocLink-CrSMLdz3.js"),__vite__mapDeps([30,12])).then(e=>({default:e.DocLinkPage}))),mj=w.lazy(()=>un(()=>import("./PillarPage-D_H9IhWs.js"),__vite__mapDeps([31,2,3,4,5,14,19,7,8,28,13,26]))),gj=e=>{const t=()=>b.jsx(mj,{pillarKey:e});return t.displayName=`Pillar(${e})`,t},yj={home:GI,technology:qI,products:YI,nexovant:QI,rheosyl:XI,sylvaxis:ZI,applications:JI,sustainability:ej,about:tj,team:cj,news:nj,careers:lj,careersApply:uj,contact:rj,media:fj,legal:ij,privacy:sj,faq:aj,knowledge:dj,...Object.fromEntries(tM.map(e=>[e,gj(e)]))},Nr=e=>b.jsx(WI,{children:e}),vj=()=>b.jsx("div",{"aria-hidden":!0,style:{minHeight:"60vh"}}),wj=()=>{const e=Be();return b.jsx(D2,{mode:"wait",initial:!1,children:b.jsx(w.Suspense,{fallback:b.jsx(vj,{}),children:b.jsxs(VN,{location:e,children:[Pu.flatMap(t=>{const n=yj[t.key];return[b.jsx(pn,{path:t.en,element:Nr(b.jsx(n,{}))},`${t.key}-en`),b.jsx(pn,{path:t.de,element:Nr(b.jsx(n,{}))},`${t.key}-de`)]}),b.jsx(pn,{path:"/news/:slug",element:Nr(b.jsx(fv,{}))}),b.jsx(pn,{path:"/de/news/:slug",element:Nr(b.jsx(fv,{}))}),b.jsx(pn,{path:"/debug/seo",element:Nr(b.jsx(pj,{}))}),b.jsx(pn,{path:"/d/:token",element:Nr(b.jsx(hj,{}))}),Object.entries(HI).map(([t,n])=>b.jsx(pn,{path:t,element:b.jsx(zN,{to:n,replace:!0})},`legacy-${t}`)),b.jsx(pn,{path:"*",element:Nr(b.jsx(oj,{}))})]},e.pathname)})})},xj=()=>{const e=Be();return w.useEffect(()=>{"scrollRestoration"in window.history&&(window.history.scrollRestoration="manual")},[]),w.useEffect(()=>{if(e.hash){const s=decodeURIComponent(e.hash.slice(1));if(!s)return;let o=0,a=0;const l=[],u=96,c=f=>{const p=document.getElementById(s);if(!p)return!1;const y=Math.max(p.getBoundingClientRect().top+window.scrollY-u,0),g=window.lenis;return g&&typeof g.scrollTo=="function"?g.scrollTo(y,f?void 0:{immediate:!0}):window.scrollTo({top:y,behavior:f?"smooth":"auto"}),!0},d=()=>{if(c(!0)){l.push(window.setTimeout(()=>c(!1),700)),l.push(window.setTimeout(()=>c(!1),1400));return}o+=1,o<40&&l.push(window.setTimeout(d,50))};return a=requestAnimationFrame(d),()=>{cancelAnimationFrame(a),l.forEach(clearTimeout)}}const t=()=>{const s=window.lenis;s&&typeof s.scrollTo=="function"&&s.scrollTo(0,{immediate:!0}),window.scrollTo(0,0),document.documentElement.scrollTop=0,document.body.scrollTop=0};t();const n=requestAnimationFrame(t),r=window.setTimeout(t,60),i=window.setTimeout(t,400);return()=>{cancelAnimationFrame(n),clearTimeout(r),clearTimeout(i)}},[e.key,e.pathname,e.hash]),null},bj="www.puresurf.eu",pv="puresurf.eu",Sj=["p","page_id","cat","tag","attachment_id","feed"],Cj=e=>e==="localhost"||e==="127.0.0.1"||e.endsWith(".local")||e.endsWith(".lovable.app")||e.endsWith(".lovableproject.com"),Ej=()=>{const e=Be(),t=Eu();return w.useEffect(()=>{if(typeof window>"u")return;const{protocol:n,hostname:r,href:i}=window.location;if(Cj(r))return;let s=null;n==="http:"&&(s=i.replace(/^http:/,"https:")),r===pv&&(s=(s??i).replace(`//${pv}`,`//${bj}`)),s&&s!==i&&window.location.replace(s)},[]),w.useEffect(()=>{const{pathname:n,search:r,hash:i}=e;if(r){const s=new URLSearchParams(r);if(Sj.some(o=>s.has(o))){t("/",{replace:!0});return}}n.length>1&&n.endsWith("/")&&t(`${n.replace(/\/+$/,"")}${r}${i}`,{replace:!0})},[e,t]),null},Tj=bx("inline-flex items-center justify-center gap-2 whitespace-nowrap text-sm font-semibold ring-offset-background transition-all 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 cursor-pointer select-none",{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-surface border border-border text-text hover:border-muted hover:bg-secondary",ghost:"bg-transparent text-text hover:bg-secondary",link:"text-primary underline-offset-4 hover:underline hover:text-accent",primary:"bg-accent text-accent-foreground hover:bg-accent/90 border border-transparent",accent:"bg-primary text-primary-foreground hover:bg-primary/90 border border-transparent",hero:"bg-accent text-accent-foreground hover:bg-accent/90 border border-transparent shadow-md",heroSecondary:"bg-surface border border-border text-text hover:bg-secondary"}
147,size:{default:"h-10 px-5 py-2 rounded-md",sm:"h-9 px-4 rounded-md",lg:"h-11 px-8 rounded-md",xl:"h-12 px-7 py-3 text-base rounded-md",icon:"h-10 w-10 rounded-md"}},defaultVariants:{variant:"default",size:"default"}}),Or=w.forwardRef(({className:e,variant:t,size:n,asChild:r=!1,...i},s)=>{const o=r?zT:"button";return b.jsx(o,{className:Sr(Tj({variant:t,size:n,className:e})),ref:s,...i})});Or.displayName="Button";const yS={en:{nav:{products:"Products",sustainability:"Sustainability",company:"Company",about:"About",team:"Team",history:"History",technology:"Technology",rdRoadmap:"R&D Roadmap",contact:"Contact",rfq:"Request Quote",pureClean:"PureClean",pureDisinfect:"PureDisinfect",pureGel:"PureGel",openMenu:"Open menu",closeMenu:"Close menu"},hero:{kicker:"Academia · Business · Industry",title:"High-performance bio-based surfactants from European feedstocks",subtitle:"Creating surfactants for a sustainable future. We transform bio-based and high performance from a contradiction to the norm, designing green manufacturing routes and novel products from renewable European feedstocks.",cta:"Request a sample",ctaSecondary:"Explore our products"},stats:{funding:"Non-Dilutive Funding",patents:"Patents",pilots:"Pilots with Global Brands",toxicity:"Lower Toxicity"},products:{title:"Our Product Families",subtitle:"Modular PureSynth platform delivering sustainable performance across multiple industries",pureClean:{title:"PureClean",subtitle:"Amine Oxide Surfactant",description:"High-performance surfactant for Home Care, Personal Care & Industrial applications. Drop-in replacement with 10à lower active concentration needed.",status:"Market Ready"},pureDisinfect:{title:"PureDisinfect",subtitle:"Bio-based Biocide",description:"Active against ESKAPE pathogens with no specific mechanism of action, preventing resistance development.",status:"In Development"},pureGel:{title:"PureGel",subtitle:"Small Molecule Gels",description:"Self-healing, injectable gels without additives. Potential applications in wound care, vaccine carriers, and electronics coatings.",status:"Research Stage"},learnMore:"Learn More"},sustainability:{title:"Sustainability at Our Core",subtitle:"Making sustainability the default, not a premium feature",problem:{title:"The Problem",text:"95% of the 17 Mt global surfactant market is not sustainable. 45% is fully petroleum-based. Current bio-based alternatives fail on price, efficiency, stability, or compatibility."},solution:{title:"Our Solution",text:"Circular feedstocks from European waste streams: wood residues, agricultural waste, and waste fats. 767 Mt available in the EU alone."},benefits:{title:"Environmental Benefits",items:["13à lower aquatic toxicity than conventional surfactants",">60% biodegradability in 28 days (OECD 301B target)","No palm oil dependency - eliminates deforestation concerns","No petroleum dependency - reduces carbon footprint"]}},company:{about:{title:"Together: academia, business, industry.",text:"The PureSurf team supports the chemical industry in adopting bio-based resources as valuable assets, developing selective transformations and value-added products. We deliver novel products and implement breakthrough technologies into current manufacturing practices to become an integral part of a future sustainable and circular economy.",mission:"PureSurf transforms bio-based and high performance from a contradiction to the norm."},team:{title:"Meet the team",subtitle:"A purpose-driven spin-off combining scientific excellence with entrepreneurial drive."},history:{title:"Our journey",subtitle:"From a research breakthrough to a kg-scale, customer-validated spin-off."},technology:{title:"PureSynth platform",subtitle:"Modular green-chemistry routes that turn complex renewables into high-performance molecules.",features:["Breakthrough technology rooted in academic excellence","TRL 5-6 validated under industrially relevant conditions","Kilogram-scale production and customer testing complete","128 novel surfactants and 48 novel disinfectants designed","European patent portfolio, palm-free and petroleum-free"]},roadmap:{title:"Our milestones",subtitle:"Patents, partnerships and validation from 2022 to today."}},contact:{title:"Get in touch",subtitle:"Become part of our movement towards future-fit surfactants. Talk to us about project partnerships, proto-customer trials, or sample requests.",form:{name:"Name",email:"Email",company:"Company",message:"Message",submit:"Send Message"},info:{address:"PureSurf FlexCo, Sandgasse 36/IV, 8010 Graz, Austria",email:"[email protected]",website:"puresurf.eu"}},rfq:{title:"Request for Quotation",subtitle:"Tell us about your requirements and we'll get back to you with a tailored proposal",form:{name:"Contact Name",email:"Business Email",company:"Company Name",industry:"Industry",industryOptions:{homeCare:"Home Care",personalCare:"Personal Care",industrial:"Industrial & Institutional",other:"Other"},product:"Product Interest",volume:"Estimated Annual Volume",volumeOptions:{under10:"Under 10 t/year",to50:"10-50 t/year",to100:"50-100 t/year",over100:"Over 100 t/year"},requirements:"Specific Requirements",submit:"Submit Request"}
147,success:"Thank you! We'll be in touch within 2 business days."},footer:{tagline:"Beyond the surface: Chemistry that cleans up products and supply chains.",rights:"All rights reserved.",privacy:"Privacy Policy",terms:"Terms of Service",imprint:"Imprint"}},de:{nav:{products:"Produkte",sustainability:"Nachhaltigkeit",company:"Unternehmen",about:"Ãber uns",team:"Team",history:"Geschichte",technology:"Technologie",rdRoadmap:"F&E Roadmap",contact:"Kontakt",rfq:"Angebot anfragen",pureClean:"PureClean",pureDisinfect:"PureDisinfect",pureGel:"PureGel",openMenu:"Menü öffnen",closeMenu:"Menü schlieÃen"},hero:{kicker:"Wissenschaft · Wirtschaft · Industrie",title:"Höchste Leistung. Reines Gewissen.",subtitle:"Wir entwickeln Tenside für eine nachhaltige Zukunft und beweisen: biobasiert und hochleistungsfähig sind kein Widerspruch. Aus erneuerbaren europäischen Rohstoffen, in grünen Verfahren.",cta:"Muster anfragen",ctaSecondary:"Produkte entdecken"},stats:{funding:"Nicht-verwässernde Finanzierung",patents:"Patente",pilots:"Pilotprojekte mit Global Brands",toxicity:"Geringere Toxizität"},products:{title:"Unsere Produktfamilien",subtitle:"Modulare PureSynth-Plattform für nachhaltige Leistung in verschiedenen Industrien",pureClean:{title:"PureClean",subtitle:"Aminoxid-Tensid",description:"Hochleistungstensid für Haushaltspflege, Körperpflege und industrielle Anwendungen. Drop-in-Ersatz mit 10à niedrigerer Wirkstoffkonzentration.",status:"Marktreif"},pureDisinfect:{title:"PureDisinfect",subtitle:"Biobasiertes Biozid",description:"Wirksam gegen ESKAPE-Pathogene ohne spezifischen Wirkmechanismus, verhindert Resistenzentwicklung.",status:"In Entwicklung"},pureGel:{title:"PureGel",subtitle:"Kleinmolekulare Gele",description:"Selbstheilende, injizierbare Gele ohne Additive. Potenzielle Anwendungen in Wundversorgung, Impfstoff-Träger und Elektronikbeschichtungen.",status:"Forschungsphase"},learnMore:"Mehr erfahren"},sustainability:{title:"Nachhaltigkeit als Kernprinzip",subtitle:"Nachhaltigkeit als Standard, nicht als Premium-Feature",problem:{title:"Das Problem",text:"95% des 17 Mt globalen Tensidmarktes sind nicht nachhaltig. 45% sind vollständig erdölbasiert. Aktuelle biobasierte Alternativen scheitern an Preis, Effizienz, Stabilität oder Kompatibilität."},solution:{title:"Unsere Lösung",text:"Zirkuläre Rohstoffe aus europäischen Abfallströmen: Holzreste, Agrarabfälle und Restfette. 767 Mt allein in der EU verfügbar."},benefits:{title:"Umweltvorteile",items:["13à geringere aquatische Toxizität als herkömmliche Tenside",">60% biologische Abbaubarkeit in 28 Tagen (OECD 301B Ziel)","Keine Palmölabhängigkeit - eliminiert Entwaldungsbedenken","Keine Erdölabhängigkeit - reduziert CO2-FuÃabdruck"]}},company:{about:{title:"Gemeinsam: Wissenschaft, Wirtschaft, Industrie.",text:"Das PureSurf-Team unterstützt die chemische Industrie dabei, biobasierte Rohstoffe als wertvolle Ressourcen zu nutzen. Wir entwickeln selektive Transformationen, hochwertige Produkte und bringen bahnbrechende Technologien in bestehende Herstellungsprozesse, als integraler Bestandteil einer nachhaltigen Kreislaufwirtschaft.",mission:"PureSurf macht biobasiert und Hochleistung vom Widerspruch zur Norm."},team:{title:"Unser Team",subtitle:"Ein zweckorientiertes Spin-off aus wissenschaftlicher Exzellenz und unternehmerischem Antrieb."},history:{title:"Unser Weg",subtitle:"Vom Forschungsdurchbruch zum kundenvalidierten Spin-off im Kilogramm-MaÃstab."},technology:{title:"PureSynth Plattform",subtitle:"Modulare Green-Chemistry-Routen, die komplexe Rohstoffe in hochleistungsfähige Moleküle wandeln.",features:["Bahnbrechende Technologie aus akademischer Exzellenz","TRL 5-6 unter industriell relevanten Bedingungen validiert","Produktion im Kilogramm-MaÃstab und Kundentests abgeschlossen","128 neue Tenside und 48 neue Desinfektionswirkstoffe entwickelt","Europäisches Patentportfolio, palmöl- und erdölfrei"]},roadmap:{title:"Unsere Meilensteine",subtitle:"Patente, Partnerschaften und Validierung seit 2022."}}
147,contact:{title:"Kontakt",subtitle:"Werden Sie Teil unserer Bewegung hin zu zukunftsfähigen Tensiden. Sprechen Sie mit uns über Projektpartnerschaften, Proto-Kundentests oder Musteranfragen.",form:{name:"Name",email:"E-Mail",company:"Unternehmen",message:"Nachricht",submit:"Nachricht senden"},info:{address:"PureSurf FlexCo, Sandgasse 36/IV, 8010 Graz, Ãsterreich",email:"[email protected]",website:"puresurf.eu"}},rfq:{title:"Angebotsanfrage",subtitle:"Teilen Sie uns Ihre Anforderungen mit und wir erstellen Ihnen ein maÃgeschneidertes Angebot",form:{name:"Kontaktname",email:"Geschäfts-E-Mail",company:"Firmenname",industry:"Branche",industryOptions:{homeCare:"Haushaltspflege",personalCare:"Körperpflege",industrial:"Industrie & Institution",other:"Sonstige"},product:"Produktinteresse",volume:"Geschätztes Jahresvolumen",volumeOptions:{under10:"Unter 10 t/Jahr",to50:"10-50 t/Jahr",to100:"50-100 t/Jahr",over100:"Ãber 100 t/Jahr"},requirements:"Spezifische Anforderungen",submit:"Anfrage senden"},success:"Vielen Dank! Wir melden uns innerhalb von 2 Werktagen bei Ihnen."},footer:{tagline:"Ãber die Oberfläche hinaus: Chemie, die Produkte und Lieferketten nachhaltiger macht.",rights:"Alle Rechte vorbehalten.",privacy:"Datenschutz",terms:"AGB",imprint:"Impressum"}},fr:{nav:{products:"Produits",sustainability:"Durabilité",company:"Entreprise",about:"à propos",team
147:"Ãquipe",history:"Histoire",technology:"Technologie",rdRoadmap:"Feuille de route R&D",contact:"Contact",rfq:"Demander un devis",pureClean:"PureClean",pureDisinfect:"PureDisinfect",pureGel:"PureGel",openMenu:"Ouvrir le menu",closeMenu:"Fermer le menu"},hero:{kicker:"Tensioactifs durables nouvelle génération",title:"Au-delà de la surface: Une chimie qui améliore les produits et les chaînes d'approvisionnement",subtitle:"Tensioactifs biosourcés haute performance à partir de matières premières circulaires. Remplacement direct des ingrédients pétroliers et à base d'huile de palme.",cta:"Commencer",ctaSecondary:"En savoir plus"},stats:{funding:"Financement non dilutif",patents:"Brevets",pilots:"Projets pilotes avec des marques mondiales",toxicity:"Toxicité réduite"},products:{title:"Nos familles de produits",subtitle:"Plateforme modulaire PureSynth offrant des performances durables dans plusieurs industries",pureClean:{title:"PureClean",subtitle:"Tensioactif Amine Oxyde",description:"Tensioactif haute performance pour les soins domestiques, les soins personnels et les applications industrielles. Remplacement direct avec une concentration active 10à plus faible.",status:"Prêt pour le marché"},pureDisinfect:{title:"PureDisinfect",subtitle:"Biocide biosourcé",description:"Actif contre les pathogènes ESKAPE sans mécanisme d'action spécifique, empêchant le développement de résistance.",status:"En développement"},pureGel:{title:"PureGel",subtitle:"Gels de petites molécules",description:"Gels auto-cicatrisants et injectables sans additifs. Applications potentielles dans les soins des plaies, les vecteurs de vaccins et les revêtements électroniques.",status:"Phase de recherche"},learnMore:"En savoir plus"},sustainability:{title:"La durabilité au cÅur de notre mission",subtitle:"Faire de la durabilité la norme, pas une option premium",problem:{title:"Le problème",text:"95% du marché mondial des tensioactifs de 17 Mt n'est pas durable. 45% est entièrement à base de pétrole. Les alternatives biosourcées actuelles échouent sur le prix, l'efficacité, la stabilité ou la compatibilité."},solution:{title:"Notre solution",text:"Matières premières circulaires issues des flux de déchets européens: résidus de bois, déchets agricoles et graisses usagées. 767 Mt disponibles dans l'UE seule."},benefits:{title:"Avantages environnementaux",items:["Toxicité aquatique 13à plus faible que les tensioactifs conventionnels",">60% de biodégradabilité en 28 jours (objectif OCDE 301B)","Pas de dépendance à l'huile de palme - élimine les préoccupations de déforestation","Pas de dépendance au pétrole - réduit l'empreinte carbone"]}},company:{about:{title:"à propos de PureSurf",text:"PureSurf est une spin-off de TU Graz développant la prochaine génération de tensioactifs biosourcés durables, haute performance et multifonctionnels. Notre plateforme modulaire PureSynth transforme les matières premières circulaires en remplacements directs qui égalent ou surpassent les performances existantes.",mission:"Faire de la durabilité la norme, pas une option premium."},team:{title:"Notre équipe",subtitle:"L'excellence scientifique combinée à l'expertise commerciale"},history:{title:"Notre histoire",subtitle:"De la recherche universitaire à l'échelle commerciale"},technology:{title:"Notre technologie",subtitle:"La plateforme modulaire PureSynth",features:["Pression atmosphérique - pas d'équipement haute pression nécessaire",">95% de conversion en transformations en une seule étape","Conditions douces (50°C) - faible consommation d'énergie","Flux de déchets minimaux","5 familles de produits distinctes à partir d'une seule plateforme"]},roadmap:{title:"Feuille de route R&D",subtitle:"Notre chemin vers l'échelle commerciale"}},contact:{title:"Contactez-nous",subtitle:"Prenez contact avec notre équipe",form:{name:"Nom",email:"E-mail",company:"Entreprise",message:"Message",submit:"Envoyer le message"},info:{address:"Sandgasse 36/IV, 8010 Graz, Autriche",email:"[email protected]",website:"puresurf.eu"}},rfq:{title:"Demande de devis",subtitle:"Décrivez-nous vos besoins et nous vous répondrons avec une proposition sur mesure",form:{name:"Nom du contact",email:"E-mail professionnel",company:"Nom de l'entreprise",industry:"Industrie",industryOptions:{homeCare:"Soins domestiques",personalCare:"Soins personnels",industrial:"Industriel & Institutionnel",other:"Autre"},product:"Intérêt produit",volume:"Volume annuel estimé",volumeOptions:{under10:"Moins de 10 t/an",to50:"10-50 t/an",to100:"50-100 t/an",over100:"Plus de 100 t/an"},requirements:"Exigences spécifiques",submit:"Soumettre la demande"},success:"Merci! Nous vous contacterons dans les 2 jours ouvrables."},footer:{tagline:"Au-delà de la surface: Une chimie qui améliore les produits et les chaînes d'approvisionnement.",rights:"Tous droits réservés.",privacy:"Politique de confidentialité",terms:"Conditions d'utilisation",imprint:"Mentions légales"}},it:{nav:{products:"Prodotti",sustainability:"Sostenibilità ",company:"Azienda",about:"Chi siamo",team:"Team",history:"Storia",technology:"Tecnologia",rdRoadmap:"Roadmap R&S",contact:"Contatto",rfq:"Richiedi preventivo",pureClean:"PureClean",pureDisinfect:"PureDisinfect",pureGel:"PureGel",openMenu:"Apri menu",closeMenu:"Chiudi menu"}
147,hero:{kicker:"Tensioattivi sostenibili di nuova generazione",title:"Oltre la superficie: Chimica che migliora prodotti e catene di approvvigionamento",subtitle:"Tensioattivi bio-based ad alte prestazioni da materie prime circolari. Sostituzione diretta degli ingredienti a base di petrolio e olio di palma.",cta:"Inizia ora",ctaSecondary:"Scopri di più"},stats:{funding:"Finanziamenti non diluitivi",patents:"Brevetti",pilots:"Piloti con marchi globali",toxicity:"Tossicità inferiore"},products:{title:"Le nostre famiglie di prodotti",subtitle:"Piattaforma modulare PureSynth per prestazioni sostenibili in molteplici settori",pureClean:{title:"PureClean",subtitle:"Tensioattivo Ammina Ossido",description:"Tensioattivo ad alte prestazioni per Home Care, Personal Care e applicazioni industriali. Sostituzione diretta con concentrazione attiva 10à inferiore.",status:"Pronto per il mercato"},pureDisinfect:{title:"PureDisinfect",subtitle:"Biocida bio-based",description:"Attivo contro i patogeni ESKAPE senza meccanismo d'azione specifico, prevenendo lo sviluppo di resistenza.",status:"In sviluppo"},pureGel:{title:"PureGel",subtitle:"Gel a piccole molecole",description:"Gel autoguarenti e iniettabili senza additivi. Applicazioni potenziali nella cura delle ferite, vettori di vaccini e rivestimenti elettronici.",status:"Fase di ricerca"},learnMore:"Scopri di più"},sustainability:{title:"Sostenibilità al centro",subtitle:"Rendere la sostenibilità lo standard, non una funzione premium",problem:{title:"Il problema",text:"Il 95% del mercato globale dei tensioattivi da 17 Mt non è sostenibile. Il 45% è interamente a base di petrolio. Le attuali alternative bio-based falliscono su prezzo, efficienza, stabilità o compatibilità ."},solution:{title:"La nostra soluzione",text:"Materie prime circolari dai flussi di rifiuti europei: residui di legno, rifiuti agricoli e grassi di scarto. 767 Mt disponibili solo nell'UE."},benefits:{title:"Benefici ambientali",items:["Tossicità acquatica 13à inferiore rispetto ai tensioattivi convenzionali",">60% biodegradabilità in 28 giorni (obiettivo OCSE 301B)","Nessuna dipendenza dall'olio di palma - elimina le preoccupazioni sulla deforestazione","Nessuna dipendenza dal petrolio - riduce l'impronta di carbonio"]}},company:{about:{title:"Chi è PureSurf",text:"PureSurf è uno spin-off di TU Graz che sviluppa la prossima generazione di tensioattivi bio-based sostenibili, ad alte prestazioni e multifunzionali. La nostra piattaforma modulare PureSynth trasforma le materie prime circolari in sostituzioni dirette che eguagliano o superano le prestazioni esistenti.",mission:"Rendere la sostenibilità lo standard, non una funzione premium."},team:{title:"Il nostro team",subtitle:"Eccellenza scientifica combinata con competenza aziendale"},history:{title:"La nostra storia",subtitle:"Dalla ricerca universitaria alla scala commerciale"},technology:{title:"La nostra tecnologia",subtitle:"La piattaforma modulare PureSynth",features:["Pressione atmosferica - nessuna attrezzatura ad alta pressione necessaria",">95% conversione in trasformazioni one-pot","Condizioni miti (50°C) - basso consumo energetico","Flussi di rifiuti minimi","5 famiglie di prodotti distinte da un'unica piattaforma"]},roadmap:{title:"Roadmap R&S",subtitle:"Il nostro percorso verso la scala commerciale"}},contact:{title:"Contattaci",subtitle:"Mettiti in contatto con il nostro team",form:{name:"Nome",email:"E-mail",company:"Azienda",message:"Messaggio",submit:"Invia messaggio"},info:{address:"Sandgasse 36/IV, 8010 Graz, Austria",email:"[email protected]",website:"puresurf.eu"}},rfq:{title:"Richiesta di preventivo",subtitle:"Descrivi le tue esigenze e ti risponderemo con una proposta su misura",form:{name:"Nome contatto",email:"E-mail aziendale",company:"Nome azienda",industry:"Settore",industryOptions:{homeCare:"Cura della casa",personalCare:"Cura personale",industrial:"Industriale & Istituzionale",other:"Altro"},product:"Interesse prodotto",volume:"Volume annuale stimato",volumeOptions:{under10:"Meno di 10 t/anno",to50:"10-50 t/anno",to100:"50-100 t/anno",over100:"Oltre 100 t/anno"},requirements:"Requisiti specifici",submit:"Invia richiesta"},success:"Grazie! Ti contatteremo entro 2 giorni lavorativi."},footer:{tagline:"Oltre la superficie: Chimica che migliora prodotti e catene di approvvigionamento.",rights:"Tutti i diritti riservati.",privacy:"Privacy Policy",terms:"Termini di servizio",imprint:"Impronta"}}},vS=w.createContext(void 0),Pj=({children:e})=>{const t=()=>{if(typeof window<"u"){const o=localStorage.getItem("puresurf-lang");if(o&&["en","de","fr","it"].includes(o))return o;const a=navigator.language.split("-")[0];if(["en","de","fr","it"].includes(a))return a}return"en"},[n,r]=w.useState(t),i=w.useCallback(o=>{r(o),typeof window<"u"&&localStorage.setItem("puresurf-lang",o)},[]),s={language:n,setLanguage:i,t:yS[n]};return b.jsx(vS.Provider,{value:s,children:e})},kj=()=>{const e=w.useContext(vS);return e===void 0?{language:"en",setLanguage:()=>{},t:yS.en}:e},Hc="puresurf_cookie_consent_version",gi="2.4",hv="puresurf:open-cookie-sett
147ings",Aj=()=>{const{language:e}=kj(),[t]=w.useState(()=>Symbol("cookie-consent")),[n,r]=w.useState(!1),i=w.useRef(!1),[s,o]=w.useState(!1),[a,l]=w.useState({necessary:!0,analytics:!1,marketing:!1,preferences:!1}),u={en:{title:"We value your privacy",description:"We use strictly necessary cookies to operate this website. Optional cookies for analytics, preferences or marketing are only set after your explicit consent (Art. 6(1)(a) GDPR · § 165(3) TKG 2021).",learnMore:"Read our",privacyPolicy:"Privacy Policy",acceptAll:"Accept all",rejectAll:"Reject all",customize:"Customize",savePreferences:"Save preferences",necessary:"Strictly necessary",necessaryDesc:"Essential for the website to function. Cannot be disabled.",analytics:"Analytics",analyticsDesc:"Help us understand how visitors interact with our website.",marketing:"Marketing",marketingDesc:"Used to deliver personalised advertisements. Lets us recognise you on later visits once you have identified yourself to us, for example through a personal link or a form, and link those visits to our customer records. Includes the Apollo website tracker, a marketing cookie used to recognise the company a visitor comes from.",preferences:"Preferences & embedded maps",preferencesDesc:"Remember your settings and load third-party embeds such as the OpenStreetMap location map on the Contact page (transmits your IP address to OpenStreetMap).",moreInfo:"More information",dataController:"Data Controller: PureSurf FlexCo, Sandgasse 36/IV, 8010 Graz, Austria",contact:"Contact: [email protected]",rights:"You have the right to withdraw consent at any time."},de:{title:"Wir schätzen Ihre Privatsphäre",description:"Wir verwenden ausschlieÃlich technisch notwendige Cookies zum Betrieb dieser Website. Optionale Cookies für Analytik, Präferenzen oder Marketing werden nur nach Ihrer ausdrücklichen Einwilligung gesetzt (Art. 6 Abs. 1 lit. a DSGVO · § 165 Abs. 3 TKG 2021).",learnMore:"Mehr in unserer",privacyPolicy:"Datenschutzerklärung",acceptAll:"Alle akzeptieren",rejectAll:"Alle ablehnen",customize:"Anpassen",savePreferences:"Einstellungen speichern",necessary:"Technisch notwendig",necessaryDesc:"Erforderlich für den Betrieb der Website. Kann nicht deaktiviert werden.",analytics:"Analytik",analyticsDesc:"Helfen uns zu verstehen, wie Besucher mit der Website interagieren.",marketing:"Marketing",marketingDesc:"Werden zur Auslieferung personalisierter Werbung verwendet. Ermöglicht es uns, Sie bei späteren Besuchen wiederzuerkennen, sobald Sie sich uns gegenüber zu erkennen gegeben haben, etwa über einen persönlichen Link oder ein Formular, und diese Besuche unseren Kundendaten zuzuordnen. Umfasst den Apollo Website Tracker, ein Marketing-Cookie zur Erkennung des Unternehmens, aus dem ein Besuch kommt.",preferences:"Präferenzen & eingebettete Karten",preferencesDesc:"Speichern Ihre Einstellungen und laden Drittanbieter-Einbettungen wie die OpenStreetMap-Standortkarte auf der Kontaktseite (Ãbertragung Ihrer IP-Adresse an OpenStreetMap).",moreInfo:"Weitere Informationen",dataController:"Verantwortlicher: PureSurf FlexCo, Sandgasse 36/IV, 8010 Graz, Ãsterreich",contact:"Kontakt: [email protected]",rights:"Sie haben das Recht, Ihre Einwilligung jederzeit zu widerrufen."},fr:{title:"Nous respectons votre vie privée",description:"Nous utilisons uniquement des cookies strictement nécessaires. Les co
147okies optionnels (analytique, préférences, marketing) ne sont activés quâavec votre consentement explicite (art. 6, par. 1, point a, RGPD).",learnMore:"Consulter notre",privacyPolicy:"Politique de confidentialité",acceptAll:"Tout accepter",rejectAll:"Tout refuser",customize:"Personnaliser",savePreferences:"Enregistrer les préférences",necessary:"Strictement nécessaires",necessaryDesc:"Essentiels au bon fonctionnement du site. Ne peuvent pas être désactivés.",analytics:"Analytique",analyticsDesc:"Nous aident à comprendre comment les visiteurs utilisent notre site.",marketing:"Marketing",marketingDesc:"Utilisés pour diffuser des publicités personnalisées. Nous permettent de vous reconnaître lors de visites ultérieures, dès que vous vous êtes identifié auprès de nous, par exemple via un lien personnel ou un formulaire, et de relier ces visites à nos données clients. Comprend le traceur de site Apollo, un cookie marketing servant à reconnaître lâentreprise dont provient une visite.",preferences:"Préférences et cartes intégrées",preferencesDesc:"Mémorisent vos paramètres et chargent les intégrations tierces telles que la carte OpenStreetMap de la page Contact (transmet votre adresse IP à OpenStreetMap).",moreInfo:"Plus dâinformations",dataController:"Responsable du traitement : PureSurf FlexCo, Sandgasse 36/IV, 8010 Graz, Autriche",contact:"Contact : [email protected]",rights:"Vous avez le droit de retirer votre consentement à tout moment."},it:{title:"Rispettiamo la tua privacy",description:"Utilizziamo solo cookie strettamente necessari al funzionamento del sito. I cookie opzionali (analitici, preferenze, marketing) vengono impostati solo previo consenso esplicito (art. 6, par. 1, lett. a, GDPR).",learnMore:"Leggi la nostra",privacyPolicy:"Informativa sulla privacy",acceptAll:"Accetta tutti",rejectAll:"Rifiuta tutti",customize:"Personalizza",savePreferences:"Salva preferenze",necessary:"Strettamente necessari",necessaryDesc:"Essenziali al funzionamento del sito. Non possono essere disattivati.",analytics:"Analitici",analyticsDesc:"Ci aiutano a capire come i visitatori utilizzano il sito.",marketing:"Marketing",marketingDesc:"Utilizzati per fornire pubblicità personalizzate. Ci permettono di riconoscerti nelle visite successive, una volta che ti sei identificato presso di noi, per esempio tramite un link personale o un modulo, e di collegare tali visite ai nostri dati clienti. Include il tracker del sito Apollo, un cookie di marketing usato per riconoscere lâazienda da cui proviene una visita.",preferences:"Preferenze e mappe integrate",preferencesDesc:"Ricordano le tue impostazioni e caricano contenuti di terze parti come la mappa OpenStreetMap nella pagina Contatti (trasmette il tuo indirizzo IP a OpenStreetMap).",moreInfo:"Maggiori informazioni",dataController:"Titolare del trattamento: PureSurf FlexCo, Sandgasse 36/IV, 8010 Graz, Austria",contact:"Contatto: [email protected]",rights:"Hai il diritto di revocare il consenso in qualsiasi momento."}},c=u[e]||u.en,d=e==="de"?"/de/datenschutz":"/privacy";w.useEffect(()=>{if(window.__puresurfCookieBannerOwner&&window.__puresurfCookieBannerOwner!==t)return;window.__puresurfCookieBannerOwner=t;const h=R1();if(h&&h.version===gi)try{localStorage.setItem(kc,h.timestamp),localStorage.setItem(Hs,JSON.stringify(h.prefs)),localStorage.setItem(Hc,h.version)}catch{}let m=null,v=null;try{m=localStorage.getItem(kc),v=localStorage.getItem(Hc)}catch{}if(h&&h.version===gi&&(m=m??h.timestamp,v=gi),!m||v!==gi){let C=!1,E,T;const P=()=>{E!==void 0&&window.clearTimeout(E),T!==void 0&&window.clearTimeout(T)},R=()=>{C||i.current||(P(),r(!0))};if(document.readyState==="complete")E=window.setTimeout(R,400);
147else{const k=()=>{E=window.setTimeout(R,400)};return window.addEventListener("load",k,{once:!0}),T=window.setTimeout(R,3500),()=>{C=!0,window.removeEventListener("load",k),P(),window.__puresurfCookieBannerOwner===t&&delete window.__puresurfCookieBannerOwner}}return()=>{C=!0,P(),window.__puresurfCookieBannerOwner===t&&delete window.__puresurfCookieBannerOwner}}const S=(h==null?void 0:h.prefs)??null;if(S){l(S);return}try{const C=localStorage.getItem(Hs);C&&l(JSON.parse(C))}catch{}},[t]),w.useEffect(()=>{const h=()=>{window.scrollTo({top:0,behavior:"auto"}),o(!0),r(!0)};return window.addEventListener(hv,h),()=>window.removeEventListener(hv,h)},[]);const f=h=>{const m=new Date().toISOString();i.current=!0;try{localStorage.setItem(kc,m),localStorage.setItem(Hs,JSON.stringify(h)),localStorage.setItem(Hc,gi)}catch{}LM({version:gi,timestamp:m,prefs:h}),l(h),r(!1),window.dispatchEvent(new StorageEvent("storage",{key:Hs}))},p=()=>f({necessary:!0,analytics:!0,marketing:!0,preferences:!0}),y=()=>f({necessary:!0,analytics:!1,marketing:!1,preferences:!1}),g=()=>f(a),x=h=>{h!=="necessary"&&l(m=>({...m,[h]:!m[h]}))};return n?b.jsxs("div",{className:"fixed inset-0 z-[9999] flex items-center justify-center p-4 sm:p-6 pointer-events-none overflow-y-auto",children:[b.jsx("div",{className:"absolute inset-0 bg-black/60 backdrop-blur-sm pointer-events-auto","aria-hidden":"true"}),b.jsxs("div",{role:"dialog","aria-modal":"true","aria-labelledby":"cookie-consent-title",className:"relative w-full max-w-3xl bg-white border border-border rounded-xl shadow-2xl pointer-events-auto animate-fade-in-up",children:[b.jsx("div",{className:"p-6 pb-4",children:b.jsxs("div",{className:"flex items-start gap-4",children:[b.jsx("div",{className:"w-10 h-10 rounded-lg bg-primary/10 flex items-center justify-center shrink-0",children:b.jsx(IP,{className:"h-5 w-5 text-primary","aria-hidden":"true"})}),b.jsxs("div",{className:"flex-1 min-w-0",children:[b.jsx("p",{id:"cookie-consent-title",className:"text-lg font-bold text-text mb-2 leading-snug",children:c.title}),b.jsx("p",{className:"text-sm text-muted leading-relaxed",children:c.description}),b.jsxs("p",{className:"text-sm text-muted mt-2",children:[c.learnMore," ",b.jsx("a",{href:d,className:"text-primary hover:text-primary/80 no-underline",children:c.privacyPolicy}),"."]})]})]})}),b.jsxs("div",{className:"px-6",children:[b.jsxs("button",{type:"button",onClick:()=>o(!s),className:"flex items-center gap-2 text-sm font-medium text-blue-900 hover:text-blue-700 mb-4","aria-expanded":s,children:[s?b.jsx(OP,{className:"h-4 w-4"}):b.jsx(qd,{className:"h-4 w-4"}),c.customize]}),s&&b.jsxs("div",{className:"space-y-3 mb-4 p-4 bg-slate-50 rounded-lg border border-border",children:[b.jsxs("div",{className:"flex items-start justify-between gap-4",children:[b.jsxs("div",{children:[b.jsx("p",{className:"text-sm font-medium text-text",children:c.necessary}),b.jsx("p",{className:"text-xs text-muted",children:c.necessaryDesc})]}),b.jsx("div",{className:"shrink-0",children:b.jsx("div",{className:"w-10 h-5 bg-primary/30 rounded-full relative cursor-not-allowed","aria-label":"always on",children:b.jsx("div",{className:"absolute right-0.5 top-0.5 w-4 h-4 bg-primary rounded-full"})})})]}),["analytics","marketing","preferences"].map(h=>b.jsxs("div",{className:"flex items-start justify-between gap-4",children:[b.jsxs("div",{children:[b.jsx("p",{className:"text-sm font-medium text-text",children:c[h]}),b.jsx("p",{className:"text-xs text-muted",children:c[`${h}Desc`]})]}),b.jsx("button",{type:"button",role:"switch","aria-checked":a[h],onClick:()=>x(h),className:`shrink-0 w-10 h-5 rounded-full relative transition-colors ${a[h]?"bg-primary":"bg-slate-300"}`,children:b.jsx("div",{className:`absolute top-0.5 w-4 h-4 bg-white rounded-full shadow transition-all ${a[h]?"right-0.5":"left-0.5"}`})})]},h)),b.jsxs("div",{className:"pt-3 mt-3 border-t border-border",children:[b.jsx("p",{className:"text-xs font-medium text-text mb-1",children:c.moreInfo}),b.jsx("p",{className:"text-xs text-muted",children:c.dataController}),b.jsx("p",{className:"text-xs text-muted",children:c.contact}),b.jsx("p",{className:"text-xs text-muted mt-1",children:c.rights})]})]})]}),b.jsx("div",{className:"p-6 pt-2 flex flex-wrap gap-3",children:s?b.jsxs(b.Fragment,{children:[b.jsx(Or,{variant:"primary",onClick:g,className:"flex-1 sm:flex-none",children:c.savePreferences}),b.jsx(Or,{variant:"secondary",onClick:y,className:"flex-1 sm:flex-none",children:c.rejectAll}),b.jsx(Or,{variant:"ghost",onClick:p,className:"flex-1 sm:flex-none",children:c.acceptAll})]}):b.jsxs(b.Fragment,{children:[b.jsx(Or,{variant:"primary",onClick:p,className:"flex-1 sm:flex-none",children:c.acceptAll}),b.jsx(Or,{variant:"secondary",onClick:y,className:"flex-1 sm:flex-none",children:c.rejectAll}),b.jsx(Or,{variant:"ghost",onClick:()=>o(!0),className:"flex-1 sm:flex-none",children:c.customize})]})})]})]}):null},Rj=new qR,Nj=()=>b.jsx(QR,{client:Rj,children:b.jsxs(ER,{children:[b.jsx(xk,{}),b.jsx(Zk,{}),b.jsx(YN,{children:b.jsx(Pj,{children:b.jsxs(lM,{children:[b.jsx(xj,{}),b.jsx(Ej,{}),b.jsx(VM,{children:b.jsx(wj,{})}),b.jsx(Aj,{})]})})})]})});let mv=!1;
147function gv(e){e.setAttribute("loading","eager"),e.getAttribute("decoding")||e.setAttribute("decoding","async");const t=e.getAttribute("data-src");if(t&&!e.src&&(e.src=t),!e.complete&&e.src){const n=e.src;e.src=n}}function Mj(){if(mv||typeof window>"u")return;mv=!0;const e=()=>{if(!("IntersectionObserver"in window)){document.querySelectorAll('img[loading="lazy"]').forEach(gv);return}const t=new IntersectionObserver(i=>{for(const s of i)s.isIntersecting&&(gv(s.target),t.unobserve(s.target))},{rootMargin:"1200px 0px 1200px 0px",threshold:.01}),n=i=>{i.dataset.lazyShim!=="1"&&(i.dataset.lazyShim="1",t.observe(i))};document.querySelectorAll('img[loading="lazy"]').forEach(n),new MutationObserver(i=>{var s;for(const o of i)for(const a of o.addedNodes)if(a instanceof HTMLElement)if(a.tagName==="IMG"){const l=a;l.loading==="lazy"&&n(l)}else(s=a.querySelectorAll)==null||s.call(a,'img[loading="lazy"]').forEach(n)}).observe(document.documentElement,{childList:!0,subtree:!0})};document.readyState==="loading"?document.addEventListener("DOMContentLoaded",e,{once:!0}):e()}Mj();Fw(document.getElementById("root")).render(b.jsx(Kw,{children:b.jsx(Nj,{})}));export{Ui as $,kb as A,b as B,Sr as C,BI as D,_P as E,jP as F,Cx as G,nh as H,kj as I,Ul as J,xs as K,Ne as L,Rh as M,Zj as N,hv as O,$j as P,Qr as Q,L as R,qj as S,Gj as T,Xj as U,Jj as V,Vj as W,zr as X,P1 as Y,E1 as Z,Wj as _,vr as a,Or as a0,qd as a1,un as a2,DP as a3,Eu as a4,Bj as a5,Yj as a6,Qj as a7,bs as a8,sn as a9,e_ as aa,Yd as ab,Ac as ac,tM as ad,Pu as ae,zl as af,Oj as ag,Hj as ah,wM as ai,Kj as aj,vM as ak,yM as al,Uj as am,k1 as an,zo as ao,Dj as ap,Me as b,an as c,tD as d,Xa as e,ie as f,zL as g,on as h,jL as i,Re as j,w as k,D1 as l,Sh as m,St as n,n_ as o,Lo as p,cs as q,gy as r,t_ as s,ls as t,sh as u,z1 as v,uy as w,Db as x,gO as y,Lf as z}; 148//# sourceMappingURL=index-9tjagyVo.js.map
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.