vendor: 4,137 bytes, lines 1-9
1var hh=e=>{throw TypeError(e)};var Ul=(e,t,n)=>t.has(e)||hh("Cannot "+n);var A=(e,t,n)=>(Ul(e,t,"read from private field"),n?n.call(e):t.get(e)),ee=(e,t,n)=>t.has(e)?hh("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,n),G=(e,t,n,r)=>(Ul(e,t,"write to private field"),r?r.call(e,n):t.set(e,n),n),Le=(e,t,n)=>(Ul(e,t,"access private method"),n);var bo=(e,t,n,r)=>({set _(s){G(e,t,s,n)},get _(){return A(e,t,r)}});function k1(e,t){for(var n=0;n<t.length;n++){const r=t[n];if(typeof r!="string"&&!Array.isArray(r)){for(const s in r)if(s!=="default"&&!(s in e)){const i=Object.getOwnPropertyDescriptor(r,s);i&&Object.defineProperty(e,s,i.get?i:{enumerable:!0,get:()=>r[s]})}}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const s of document.querySelectorAll('link[rel="modulepreload"]'))r(s);new MutationObserver(s=>{for(const i of s)if(i.type==="childList")for(const o of i.addedNodes)o.tagName==="LINK"&&o.rel==="modulepreload"&&r(o)}).observe(document,{childList:!0,subtree:!0});function n(s){const i={};return s.integrity&&(i.integrity=s.integrity),s.referrerPolicy&&(i.referrerPolicy=s.referrerPolicy),s.crossOrigin==="use-credentials"?i.credentials="include":s.crossOrigin==="anonymous"?i.credentials="omit":i.credentials="same-origin",i}function r(s){if(s.ep)return;s.ep=!0;const i=n(s);fetch(s.href,i)}})();function Mg(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Dg={exports:{}},sl={},Lg={exports:{}},X={};/** 2 * @license React 3 * react.production.min.js 4 * 5 * Copyright (c) Facebook, Inc. and its affiliates. 6 * 7 * This source code is licensed under the MIT license found in the 8 * LICENSE file in the root directory of this source tree. 9 */var io=Symbol.for("react.element"),N1=Symbol.for("react.portal"),R1=Symbol.for("react.fragment"),A1=Symbol.for("react.strict_mode"),j1=Symbol.for("react.profiler"),M1=Symbol.for("react.provider"),D1=Symbol.for("react.context"),L1=Symbol.for("react.forward_ref"),O1=Symbol.for("react.suspense"),I1=Symbol.for("react.memo"),V1=Symbol.for("react.lazy"),ph=Symbol.iterator;function F1(e){return e===null||typeof e!="object"?null:(e=ph&&e[ph]||e["@@iterator"],typeof e=="function"?e:null)}var Og={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},Ig=Object.assign,Vg={};function $s(e,t,n){this.props=e,this.context=t,this.refs=Vg,this.updater=n||Og}$s.prototype.isReactComponent={};$s.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")};$s.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function Fg(){}Fg.prototype=$s.prototype;function xd(e,t,n){this.props=e,this.context=t,this.refs=Vg,this.updater=n||Og}var wd=xd.prototype=new Fg;wd.constructor=xd;Ig(wd,$s.prototype);wd.isPureReactComponent=!0;var mh=Array.isArray,zg=Object.prototype.hasOwnProperty,bd={current:null},_g={key:!0,ref:!0,__self:!0,__source:!0};function Bg(e,t,n){var r,s={},i=null,o=null;if(t!=null)for(r in t.ref!==void 0&&(o=t.ref),t.key!==void 0&&(i=""+t.key),t)zg.call(t,r)&&!_g.hasOwnProperty(r)&&(s[r]=t[r]);var a=arguments.length-2;if(a===1)s.children=n;else if(1<a){for(var l=Array(a),u=0;u<a;u++)l[u]=arguments[u+2];s.children=l}if(e&&e.defaultProps)for(r in a=e.defaultProps,a)s[r]===void 0&&(s[r]=a[r]);return{$$typeof:io,type:e,key:i,ref:o,props:s,_owner:bd.current}}function z1(e,t){return{$$typeof:io,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}function Sd(e){return typeof e=="object"&&e!==null&&e.$$typeof===io}function _1(e){var t={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,function(n){return t[n]})}var gh=/\/+/g;function Wl(e,t){return typeof e=="object"&&e!==null&&e.key!=null?_1(""+e.key):t.toString(36)}
vendor: 8,961 bytes, lines 9-25
9function Qo(e,t,n,r,s){var i=typeof e;(i==="undefined"||i==="boolean")&&(e=null);var o=!1;if(e===null)o=!0;else switch(i){case"string":case"number":o=!0;break;case"object":switch(e.$$typeof){case io:case N1:o=!0}}if(o)return o=e,s=s(o),e=r===""?"."+Wl(o,0):r,mh(s)?(n="",e!=null&&(n=e.replace(gh,"$&/")+"/"),Qo(s,t,n,"",function(u){return u})):s!=null&&(Sd(s)&&(s=z1(s,n+(!s.key||o&&o.key===s.key?"":(""+s.key).replace(gh,"$&/")+"/")+e)),t.push(s)),1;if(o=0,r=r===""?".":r+":",mh(e))for(var a=0;a<e.length;a++){i=e[a];var l=r+Wl(i,a);o+=Qo(i,t,n,l,s)}else if(l=F1(e),typeof l=="function")for(e=l.call(e),a=0;!(i=e.next()).done;)i=i.value,l=r+Wl(i,a++),o+=Qo(i,t,n,l,s);else if(i==="object")throw t=String(e),Error("Objects are not valid as a React child (found: "+(t==="[object Object]"?"object with keys {"+Object.keys(e).join(", ")+"}":t)+"). If you meant to render a collection of children, use an array instead.");return o}function So(e,t,n){if(e==null)return e;var r=[],s=0;return Qo(e,r,"","",function(i){return t.call(n,i,s++)}),r}function B1(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 Ge={current:null},Yo={transition:null},U1={ReactCurrentDispatcher:Ge,ReactCurrentBatchConfig:Yo,ReactCurrentOwner:bd};function Ug(){throw Error("act(...) is not supported in production builds of React.")}X.Children={map:So,forEach:function(e,t,n){So(e,function(){t.apply(this,arguments)},n)},count:function(e){var t=0;return So(e,function(){t++}),t},toArray:function(e){return So(e,function(t){return t})||[]},only:function(e){if(!Sd(e))throw Error("React.Children.only expected to receive a single React element child.");return e}};X.Component=$s;X.Fragment=R1;X.Profiler=j1;X.PureComponent=xd;X.StrictMode=A1;X.Suspense=O1;X.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=U1;X.act=Ug;X.cloneElement=function(e,t,n){if(e==null)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+e+".");var r=Ig({},e.props),s=e.key,i=e.ref,o=e._owner;if(t!=null){if(t.ref!==void 0&&(i=t.ref,o=bd.current),t.key!==void 0&&(s=""+t.key),e.type&&e.type.defaultProps)var a=e.type.defaultProps;for(l in t)zg.call(t,l)&&!_g.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:io,type:e.type,key:s,ref:i,props:r,_owner:o}};X.createContext=function(e){return e={$$typeof:D1,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null},e.Provider={$$typeof:M1,_context:e},e.Consumer=e};X.createElement=Bg;X.createFactory=function(e){var t=Bg.bind(null,e);return t.type=e,t};X.createRef=function(){return{current:null}};X.forwardRef=function(e){return{$$typeof:L1,render:e}};X.isValidElement=Sd;X.lazy=function(e){return{$$typeof:V1,_payload:{_status:-1,_result:e},_init:B1}};X.memo=function(e,t){return{$$typeof:I1,type:e,compare:t===void 0?null:t}};X.startTransition=function(e){var t=Yo.transition;Yo.transition={};try{e()}finally{Yo.transition=t}};X.unstable_act=Ug;X.useCallback=function(e,t){return Ge.current.useCallback(e,t)};X.useContext=function(e){return Ge.current.useContext(e)};X.useDebugValue=function(){};X.useDeferredValue=function(e){return Ge.current.useDeferredValue(e)};X.useEffect=function(e,t){return Ge.current.useEffect(e,t)};X.useId=function(){return Ge.current.useId()};X.useImperativeHandle=function(e,t,n){return Ge.current.useImperativeHandle(e,t,n)};X.useInsertionEffect=function(e,t){return Ge.current.useInsertionEffect(e,t)};X.useLayoutEffect=function(e,t){return Ge.current.useLayoutEffect(e,t)};X.useMemo=function(e,t){return Ge.current.useMemo(e,t)};X.useReducer=function(e,t,n){return Ge.current.useReducer(e,t,n)};X.useRef=function(e){return Ge.current.useRef(e)};X.useState=function(e){return Ge.current.useState(e)};X.useSyncExternalStore=function(e,t,n){return Ge.current.useSyncExternalStore(e,t,n)};X.useTransition=function(){return Ge.current.useTransition()};X.version="18.3.1";Lg.exports=X;var b=Lg.exports;const D=Mg(b),Wg=k1({__proto__:null,default:D},[b]);/** 10 * @license React 11 * react-jsx-runtime.production.min.js 12 * 13 * Copyright (c) Facebook, Inc. and its affiliates. 14 * 15 * This source code is licensed under the MIT license found in the 16 * LICENSE file in the root directory of this source tree. 17 */var W1=b,$1=Symbol.for("react.element"),H1=Symbol.for("react.fragment"),K1=Object.prototype.hasOwnProperty,G1=W1.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,q1={key:!0,ref:!0,__self:!0,__source:!0};function $g(e,t,n){var r,s={},i=null,o=null;n!==void 0&&(i=""+n),t.key!==void 0&&(i=""+t.key),t.ref!==void 0&&(o=t.ref);for(r in t)K1.call(t,r)&&!q1.hasOwnProperty(r)&&(s[r]=t[r]);if(e&&e.defaultProps)for(r in t=e.defaultProps,t)s[r]===void 0&&(s[r]=t[r]);return{$$typeof:$1,type:e,key:i,ref:o,props:s,_owner:G1.current}}sl.Fragment=H1;sl.jsx=$g;sl.jsxs=$g;Dg.exports=sl;var p=Dg.exports,Hg={exports:{}},ft={},Kg={exports:{}},Gg={};/** 18 * @license React 19 * scheduler.production.min.js 20 * 21 * Copyright (c) Facebook, Inc. and its affiliates. 22 * 23 * This source code is licensed under the MIT license found in the 24 * LICENSE file in the root directory of this source tree. 25 */(function(e){function t(P,R){var I=P.length;P.push(R);e:for(;0<I;){var U=I-1>>>1,B=P[U];if(0<s(B,R))P[U]=R,P[I]=B,I=U;else break e}}function n(P){return P.length===0?null:P[0]}function r(P){if(P.length===0)return null;var R=P[0],I=P.pop();if(I!==R){P[0]=I;e:for(var U=0,B=P.length,Y=B>>>1;U<Y;){var Z=2*(U+1)-1,xe=P[Z],De=Z+1,te=P[De];if(0>s(xe,I))De<B&&0>s(te,xe)?(P[U]=te,P[De]=I,U=De):(P[U]=xe,P[Z]=I,U=Z);else if(De<B&&0>s(te,I))P[U]=te,P[De]=I,U=De;else break e}}return R}function s(P,R){var I=P.sortIndex-R.sortIndex;return I!==0?I:P.id-R.id}if(typeof performance=="object"&&typeof performance.now=="function"){var i=performance;e.unstable_now=function(){return i.now()}}else{var o=Date,a=o.now();e.unstable_now=function(){return o.now()-a}}var l=[],u=[],c=1,d=null,f=3,h=!1,x=!1,y=!1,w=typeof setTimeout=="function"?setTimeout:null,g=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(P){for(var R=n(u);R!==null;){if(R.callback===null)r(u);else if(R.startTime<=P)r(u),R.sortIndex=R.expirationTime,t(l,R);else break;R=n(u)}}function S(P){if(y=!1,v(P),!x)if(n(l)!==null)x=!0,_(E);else{var R=n(u);R!==null&&H(S,R.startTime-P)}}function E(P,R){x=!1,y&&(y=!1,g(k),k=-1),h=!0;var I=f;try{for(v(R),d=n(l);d!==null&&(!(d.expirationTime>R)||P&&!V());){var U=d.callback;if(typeof U=="function"){d.callback=null,f=d.priorityLevel;var B=U(d.expirationTime<=R);R=e.unstable_now(),typeof B=="function"?d.callback=B:d===n(l)&&r(l),v(R)}else r(l);d=n(l)}if(d!==null)var Y=!0;else{var Z=n(u);Z!==null&&H(S,Z.startTime-R),Y=!1}return Y}finally{d=null,f=I,h=!1}}var C=!1,T=null,k=-1,M=5,N=-1;function V(){return!(e.unstable_now()-N<M)}function O(){if(T!==null){var P=e.unstable_now();N=P;var R=!0;try{R=T(!0,P)}finally{R?W():(C=!1,T=null)}}else C=!1}var W;if(typeof m=="function")W=function(){m(O)};else if(typeof MessageChannel<"u"){var L=new MessageChannel,$=L.port2;L.port1.onmessage=O,W=function(){$.postMessage(null)}}else W=function(){w(O,0)};function _(P){T=P,C||(C=!0,W())}function H(P,R){k=w(function(){P(e.unstable_now())},R)}e.unstable_IdlePriority=5,e.unstable_ImmediatePriority=1,e.unstable_LowPriority=4,e.unstable_NormalPriority=3,e.unstable_Profiling=null,e.unstable_UserBlockingPriority=2,e.unstable_cancelCallback=function(P){P.callback=null},e.unstable_continueExecution=function(){x||h||(x=!0,_(E))},e.unstable_forceFrameRate=function(P){0>P||125<P?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):M=0<P?Math.floor(1e3/P):5},e.unstable_getCurrentPriorityLevel=function(){return f},e.unstable_getFirstCallbackNode=function(){return n(l)},e.unstable_next=function(P){switch(f){case 1:case 2:case 3:var R=3;break;default:R=f}var I=f;f=R;try{return P()}finally{f=I}},e.unstable_pauseExecution=function(){},e.unstable_requestPaint=function(){},e.unstable_runWithPriority=function(P,R){switch(P){case 1:case 2:case 3:case 4:case 5:break;default:P=3}var I=f;f=P;try{return R()}finally{f=I}},e.unstable_scheduleCallback=function(P,R,I){var U=e.unstable_now();switch(typeof I=="object"&&I!==null?(I=I.delay,I=typeof I=="number"&&0<I?U+I:U):I=U,P){case 1:var B=-1;break;case 2:B=250;break;case 5:B=1073741823;break;case 4:B=1e4;break;default:B=5e3}
vendor: 4,614 bytes, lines 25-33
25return B=I+B,P={id:c++,callback:R,priorityLevel:P,startTime:I,expirationTime:B,sortIndex:-1},I>U?(P.sortIndex=I,t(u,P),n(l)===null&&P===n(u)&&(y?(g(k),k=-1):y=!0,H(S,I-U))):(P.sortIndex=B,t(l,P),x||h||(x=!0,_(E))),P},e.unstable_shouldYield=V,e.unstable_wrapCallback=function(P){var R=f;return function(){var I=f;f=R;try{return P.apply(this,arguments)}finally{f=I}}}})(Gg);Kg.exports=Gg;var Q1=Kg.exports;/** 26 * @license React 27 * react-dom.production.min.js 28 * 29 * Copyright (c) Facebook, Inc. and its affiliates. 30 * 31 * This source code is licensed under the MIT license found in the 32 * LICENSE file in the root directory of this source tree. 33 */var Y1=b,dt=Q1;function j(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 qg=new Set,Mi={};function Wr(e,t){Ms(e,t),Ms(e+"Capture",t)}function Ms(e,t){for(Mi[e]=t,e=0;e<t.length;e++)qg.add(t[e])}var gn=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),zu=Object.prototype.hasOwnProperty,X1=/^[: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]*$/,yh={},vh={};function Z1(e){return zu.call(vh,e)?!0:zu.call(yh,e)?!1:X1.test(e)?vh[e]=!0:(yh[e]=!0,!1)}function J1(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 eb(e,t,n,r){if(t===null||typeof t>"u"||J1(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,s,i,o){this.acceptsBooleans=t===2||t===3||t===4,this.attributeName=r,this.attributeNamespace=s,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=i,this.removeEmptyString=o}var Me={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){Me[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];Me[t]=new qe(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){Me[e]=new qe(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){Me[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){Me[e]=new qe(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){Me[e]=new qe(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){Me[e]=new qe(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){Me[e]=new qe(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){Me[e]=new qe(e,5,!1,e.toLowerCase(),null,!1,!1)});var Ed=/[\-:]([a-z])/g;function Cd(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
33-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(Ed,Cd);Me[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(Ed,Cd);Me[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(Ed,Cd);Me[t]=new qe(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){Me[e]=new qe(e,1,!1,e.toLowerCase(),null,!1,!1)});Me.xlinkHref=new qe("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){Me[e]=new qe(e,1,!1,e.toLowerCase(),null,!0,!0)});function Td(e,t,n,r){var s=Me.hasOwnProperty(t)?Me[t]:null;(s!==null?s.type!==0:r||!(2<t.length)||t[0]!=="o"&&t[0]!=="O"||t[1]!=="n"&&t[1]!=="N")&&(eb(t,n,s,r)&&(n=null),r||s===null?Z1(t)&&(n===null?e.removeAttribute(t):e.setAttribute(t,""+n)):s.mustUseProperty?e[s.propertyName]=n===null?s.type===3?!1:"":n:(t=s.attributeName,r=s.attributeNamespace,n===null?e.removeAttribute(t):(s=s.type,n=s===3||s===4&&n===!0?"":""+n,r?e.setAttributeNS(r,t,n):e.setAttribute(t,n))))}var Sn=Y1.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,Eo=Symbol.for("react.element"),es=Symbol.for("react.portal"),ts=Symbol.for("react.fragment"),Pd=Symbol.for("react.strict_mode"),_u=Symbol.for("react.profiler"),Qg=Symbol.for("react.provider"),Yg=Symbol.for("react.context"),kd=Symbol.for("react.forward_ref"),Bu=Symbol.for("react.suspense"),Uu=Symbol.for("react.suspense_list"),Nd=Symbol.for("react.memo"),On=Symbol.for("react.lazy"),Xg=Symbol.for("react.offscreen"),xh=Symbol.iterator;function ti(e){return e===null||typeof e!="object"?null:(e=xh&&e[xh]||e["@@iterator"],typeof e=="function"?e:null)}var me=Object.assign,$l;function hi(e){if($l===void 0)try{throw Error()}catch(n){var t=n.stack.trim().match(/\n( *(at )?)/);$l=t&&t[1]||""}return` 34`+$l+e}var Hl=!1;function Kl(e,t){if(!e||Hl)return"";Hl=!0;var n=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(t)if(t=function(){throw Error()},Object.defineProperty(t.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(t,[])}catch(u){var r=u}Reflect.construct(e,[],t)}else{try{t.call()}catch(u){r=u}e.call(t.prototype)}else{try{throw Error()}catch(u){r=u}e()}}catch(u){if(u&&r&&typeof u.stack=="string"){for(var s=u.stack.split(` 35`),i=r.stack.split(` 36`),o=s.length-1,a=i.length-1;1<=o&&0<=a&&s[o]!==i[a];)a--;for(;1<=o&&0<=a;o--,a--)if(s[o]!==i[a]){if(o!==1||a!==1)do if(o--,a--,0>a||s[o]!==i[a]){var l=` 37`+s[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{Hl=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?hi(e):""}function tb(e){switch(e.tag){case 5:return hi(e.type);case 16:return hi("Lazy");case 13:return hi("Suspense");case 19:return hi("SuspenseList");case 0:case 2:case 15:return e=Kl(e.type,!1),e;case 11:return e=Kl(e.type.render,!1),e;case 1:return e=Kl(e.type,!0),e;default:return""}}function Wu(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 ts:return"Fragment";case es:return"Portal";case _u:return"Profiler";case Pd:return"StrictMode";case Bu:return"Suspense";case Uu:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case Yg:return(e.displayName||"Context")+".Consumer";case Qg:return(e._context.displayName||"Context")+".Provider";case kd:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case Nd:return t=e.displayName||null,t!==null?t:Wu(e.type)||"Memo";case On:t=e._payload,e=e._init;try{return Wu(e(t))}catch{}}return null}function nb(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 Wu(t);case 8:return t===Pd?"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 nr(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function Zg(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function rb(e){var t=Zg(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&typeof n<"u"&&typeof n.get=="function"&&typeof n.set=="function"){var s=n.get,i=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return s.call(this)},set:function(o){r=""+o,i.call(this,o)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(o){r=""+o},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function Co(e){e._valueTracker||(e._valueTracker=rb(e))}function Jg(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=Zg(e)?e.checked?"true":"false":e.value),e=r,e!==n?(t.setValue(e),!0):!1}function ya(e){if(e=e||(typeof document<"u"?document:void 0),typeof e>"u")return null;try{return e.activeElement||e.body}catch{return e.body}}function $u(e,t){var n=t.checked;return me({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n??e._wrapperState.initialChecked})}function wh(e,t){var n=t.defaultValue==null?"":t.defaultValue,r=t.checked!=null?t.checked:t.defaultChecked;
vendor: 4,810 bytes, line 37
37n=nr(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 ey(e,t){t=t.checked,t!=null&&Td(e,"checked",t,!1)}function Hu(e,t){ey(e,t);var n=nr(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")?Ku(e,t.type,n):t.hasOwnProperty("defaultValue")&&Ku(e,t.type,nr(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function bh(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 Ku(e,t,n){(t!=="number"||ya(e.ownerDocument)!==e)&&(n==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var pi=Array.isArray;function ms(e,t,n,r){if(e=e.options,t){t={};for(var s=0;s<n.length;s++)t["$"+n[s]]=!0;for(n=0;n<e.length;n++)s=t.hasOwnProperty("$"+e[n].value),e[n].selected!==s&&(e[n].selected=s),s&&r&&(e[n].defaultSelected=!0)}else{for(n=""+nr(n),t=null,s=0;s<e.length;s++){if(e[s].value===n){e[s].selected=!0,r&&(e[s].defaultSelected=!0);return}t!==null||e[s].disabled||(t=e[s])}t!==null&&(t.selected=!0)}}function Gu(e,t){if(t.dangerouslySetInnerHTML!=null)throw Error(j(91));return me({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function Sh(e,t){var n=t.value;if(n==null){if(n=t.children,t=t.defaultValue,n!=null){if(t!=null)throw Error(j(92));if(pi(n)){if(1<n.length)throw Error(j(93));n=n[0]}t=n}t==null&&(t=""),n=t}e._wrapperState={initialValue:nr(n)}}function ty(e,t){var n=nr(t.value),r=nr(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 Eh(e){var t=e.textContent;t===e._wrapperState.initialValue&&t!==""&&t!==null&&(e.value=t)}function ny(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 qu(e,t){return e==null||e==="http://www.w3.org/1999/xhtml"?ny(t):e==="http://www.w3.org/2000/svg"&&t==="foreignObject"?"http://www.w3.org/1999/xhtml":e}var To,ry=function(e){return typeof MSApp<"u"&&MSApp.execUnsafeLocalFunction?function(t,n,r,s){MSApp.execUnsafeLocalFunction(function(){return e(t,n,r,s)})}:e}(function(e,t){if(e.namespaceURI!=="http://www.w3.org/2000/svg"||"innerHTML"in e)e.innerHTML=t;else{for(To=To||document.createElement("div"),To.innerHTML="<svg>"+t.valueOf().toString()+"</svg>",t=To.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function Di(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var vi={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},sb=["Webkit","ms","Moz","O"];Object.keys(vi).forEach(function(e){sb.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),vi[t]=vi[e]})});function sy(e,t,n){return t==null||typeof t=="boolean"||t===""?"":n||typeof t!="number"||t===0||vi.hasOwnProperty(e)&&vi[e]?(""+t).trim():t+"px"}function iy(e,t){e=e.style;for(var n in t)if(t.hasOwnProperty(n)){var r=n.indexOf("--")===0,s=sy(n,t[n],r);n==="float"&&(n="cssFloat"),r?e.setProperty(n,s):e[n]=s}}var ib=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 Qu(e,t){if(t){if(ib[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(j(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(j(60));if(typeof t.dangerouslySetInnerHTML!="object"||!("__html"in t.dangerouslySetInnerHTML))throw Error(j(61))}if(t.style!=null&&typeof t.style!="object")throw Error(j(62))}}function Yu(e,t){if(e.indexOf("-")===-1)return typeof t.is=="str
37ing";switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var Xu=null;function Rd(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var Zu=null,gs=null,ys=null;function Ch(e){if(e=lo(e)){if(typeof Zu!="function")throw Error(j(280));var t=e.stateNode;t&&(t=ul(t),Zu(e.stateNode,e.type,t))}}function oy(e){gs?ys?ys.push(e):ys=[e]:gs=e}function ay(){if(gs){var e=gs,t=ys;if(ys=gs=null,Ch(e),t)for(e=0;e<t.length;e++)Ch(t[e])}}function ly(e,t){return e(t)}function uy(){}var Gl=!1;function cy(e,t,n){if(Gl)return e(t,n);Gl=!0;try{return ly(e,t,n)}finally{Gl=!1,(gs!==null||ys!==null)&&(uy(),ay())}}function Li(e,t){var n=e.stateNode;if(n===null)return null;var r=ul(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(j(231,t,typeof n));return n}var Ju=!1;if(gn)try{var ni={};Object.defineProperty(ni,"passive",{get:function(){Ju=!0}}),window.addEventListener("test",ni,ni),window.removeEventListener("test",ni,ni)}catch{Ju=!1}function ob(e,t,n,r,s,i,o,a,l){var u=Array.prototype.slice.call(arguments,3);try{t.apply(n,u)}catch(c){this.onError(c)}}var xi=!1,va=null,xa=!1,ec=null,ab={onError:function(e){xi=!0,va=e}};function lb(e,t,n,r,s,i,o,a,l){xi=!1,va=null,ob.apply(ab,arguments)}function ub(e,t,n,r,s,i,o,a,l){if(lb.apply(this,arguments),xi){if(xi){var u=va;xi=!1,va=null}else throw Error(j(198));xa||(xa=!0,ec=u)}}function $r(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 dy(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 Th(e){if($r(e)!==e)throw Error(j(188))}function cb(e){var t=e.alternate;if(!t){if(t=$r(e),t===null)throw Error(j(188));return t!==e?null:e}for(var n=e,r=t;;){var s=n.return;if(s===null)break;var i=s.alternate;if(i===null){if(r=s.return,r!==null){n=r;continue}break}if(s.child===i.child){for(i=s.child;i;){if(i===n)return Th(s),e;if(i===r)return Th(s),t;i=i.sibling}throw Error(j(188))}if(n.return!==r.return)n=s,r=i;else{for(var o=!1,a=s.child;a;){if(a===n){o=!0,n=s,r=i;break}if(a===r){o=!0,r=s,n=i;break}a=a.sibling}if(!o){for(a=i.child;a;){if(a===n){o=!0,n=i,r=s;break}if(a===r){o=!0,r=i,n=s;break}a=a.sibling}if(!o)throw Error(j(189))}}if(n.alternate!==r)throw Error(j(190))}if(n.tag!==3)throw Error(j(188));return n.stateNode.current===n?e:t}function fy(e){return e=cb(e),e!==null?hy(e):null}function hy(e){if(e.tag===5||e.tag===6)return e;for(e=e.child;e!==null;){var t=hy(e);if(t!==null)return t;e=e.sibling}return null}var py=dt.unstable_scheduleCallback,Ph=dt.unstable_cancelCallback,db=dt.unstable_shouldYield,fb=dt.unstable_requestPaint,ve=dt.unstable_now,hb=dt.unstable_getCurrentPriorityLevel,Ad=dt.unstable_ImmediatePriority,my=dt.unstable_UserBlockingPriority,wa=dt.unstable_NormalPriority,pb=dt.unstable_LowPriority,gy=dt.unstable_IdlePriority,il=null,en=null;function mb(e){if(en&&typeof en.onCommitFiberRoot=="function")try{en.onCommitFiberRoot(il,e,void 0,(e.current.flags&128)===128)}catch{}}
vendor: 4,446 bytes, line 37
37var Ft=Math.clz32?Math.clz32:vb,gb=Math.log,yb=Math.LN2;function vb(e){return e>>>=0,e===0?32:31-(gb(e)/yb|0)|0}var Po=64,ko=4194304;function mi(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 ba(e,t){var n=e.pendingLanes;if(n===0)return 0;var r=0,s=e.suspendedLanes,i=e.pingedLanes,o=n&268435455;if(o!==0){var a=o&~s;a!==0?r=mi(a):(i&=o,i!==0&&(r=mi(i)))}else o=n&~s,o!==0?r=mi(o):i!==0&&(r=mi(i));if(r===0)return 0;if(t!==0&&t!==r&&!(t&s)&&(s=r&-r,i=t&-t,s>=i||s===16&&(i&4194240)!==0))return t;if(r&4&&(r|=n&16),t=e.entangledLanes,t!==0)for(e=e.entanglements,t&=r;0<t;)n=31-Ft(t),s=1<<n,r|=e[n],t&=~s;return r}function xb(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 wb(e,t){for(var n=e.suspendedLanes,r=e.pingedLanes,s=e.expirationTimes,i=e.pendingLanes;0<i;){var o=31-Ft(i),a=1<<o,l=s[o];l===-1?(!(a&n)||a&r)&&(s[o]=xb(a,t)):l<=t&&(e.expiredLanes|=a),i&=~a}}function tc(e){return e=e.pendingLanes&-1073741825,e!==0?e:e&1073741824?1073741824:0}function yy(){var e=Po;return Po<<=1,!(Po&4194240)&&(Po=64),e}function ql(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function oo(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 bb(e,t){var n=e.pendingLanes&~t;e.pendingLanes=t,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=t,e.mutableReadLanes&=t,e.entangledLanes&=t,t=e.entanglements;var r=e.eventTimes;for(e=e.expirationTimes;0<n;){var s=31-Ft(n),i=1<<s;t[s]=0,r[s]=-1,e[s]=-1,n&=~i}}function jd(e,t){var n=e.entangledLanes|=t;for(e=e.entanglements;n;){var r=31-Ft(n),s=1<<r;s&t|e[r]&t&&(e[r]|=t),n&=~s}}var ne=0;function vy(e){return e&=-e,1<e?4<e?e&268435455?16:536870912:4:1}var xy,Md,wy,by,Sy,nc=!1,No=[],qn=null,Qn=null,Yn=null,Oi=new Map,Ii=new Map,Vn=[],Sb="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 kh(e,t){switch(e){case"focusin":case"focusout":qn=null;break;case"dragenter":case"dragleave":Qn=null;break;case"mouseover":case"mouseout":Yn=null;break;case"pointerover":case"pointerout":Oi.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":Ii.delete(t.pointerId)}}function ri(e,t,n,r,s,i){return e===null||e.nativeEvent!==i?(e={blockedOn:t,domEventName:n,eventSystemFlags:r,nativeEvent:i,targetContainers:[s]},t!==null&&(t=lo(t),t!==null&&Md(t)),e):(e.eventSystemFlags|=r,t=e.targetContainers,s!==null&&t.indexOf(s)===-1&&t.push(s),e)}function Eb(e,t,n,r,s){switch(t){case"focusin":return qn=ri(qn,e,t,n,r,s),!0;case"dragenter":return Qn=ri(Qn,e,t,n,r,s),!0;case"mouseover":return Yn=ri(Yn,e,t,n,r,s),!0;case"pointerover":var i=s.pointerId;return Oi.set(i,ri(Oi.get(i)||null,e,t,n,r,s)),!0;case"gotpointercapture":return i=s.pointerId,Ii.set(i,ri(Ii.get(i)||null,e,t,n,r,s)),!0}return!1}function Ey(e){var t=Sr(e.target);if(t!==null){var n=$r(t);if(n!==null){if(t=n.tag,t===13){if(t=dy(n),t!==null){e.blockedOn=t,Sy(e.priority,function(){wy(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 Xo(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;0<t.length;){var n=rc(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(n===null){n=e.nativeEvent;var r=new n.constructor(n.type,n);Xu=r,n.target.dispatchEvent(r),Xu=null}else return t=lo(n),t!==null&&Md(t),e.blockedOn=n,!1;t.shift()}return!0}
vendor: 11,622 bytes, line 37
37function Nh(e,t,n){Xo(e)&&n.delete(t)}function Cb(){nc=!1,qn!==null&&Xo(qn)&&(qn=null),Qn!==null&&Xo(Qn)&&(Qn=null),Yn!==null&&Xo(Yn)&&(Yn=null),Oi.forEach(Nh),Ii.forEach(Nh)}function si(e,t){e.blockedOn===t&&(e.blockedOn=null,nc||(nc=!0,dt.unstable_scheduleCallback(dt.unstable_NormalPriority,Cb)))}function Vi(e){function t(s){return si(s,e)}if(0<No.length){si(No[0],e);for(var n=1;n<No.length;n++){var r=No[n];r.blockedOn===e&&(r.blockedOn=null)}}for(qn!==null&&si(qn,e),Qn!==null&&si(Qn,e),Yn!==null&&si(Yn,e),Oi.forEach(t),Ii.forEach(t),n=0;n<Vn.length;n++)r=Vn[n],r.blockedOn===e&&(r.blockedOn=null);for(;0<Vn.length&&(n=Vn[0],n.blockedOn===null);)Ey(n),n.blockedOn===null&&Vn.shift()}var vs=Sn.ReactCurrentBatchConfig,Sa=!0;function Tb(e,t,n,r){var s=ne,i=vs.transition;vs.transition=null;try{ne=1,Dd(e,t,n,r)}finally{ne=s,vs.transition=i}}function Pb(e,t,n,r){var s=ne,i=vs.transition;vs.transition=null;try{ne=4,Dd(e,t,n,r)}finally{ne=s,vs.transition=i}}function Dd(e,t,n,r){if(Sa){var s=rc(e,t,n,r);if(s===null)su(e,t,r,Ea,n),kh(e,r);else if(Eb(s,e,t,n,r))r.stopPropagation();else if(kh(e,r),t&4&&-1<Sb.indexOf(e)){for(;s!==null;){var i=lo(s);if(i!==null&&xy(i),i=rc(e,t,n,r),i===null&&su(e,t,r,Ea,n),i===s)break;s=i}s!==null&&r.stopPropagation()}else su(e,t,r,null,n)}}var Ea=null;function rc(e,t,n,r){if(Ea=null,e=Rd(r),e=Sr(e),e!==null)if(t=$r(e),t===null)e=null;else if(n=t.tag,n===13){if(e=dy(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 Ea=e,null}function Cy(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(hb()){case Ad:return 1;case my:return 4;case wa:case pb:return 16;case gy:return 536870912;default:return 16}default:return 16}}var $n=null,Ld=null,Zo=null;function Ty(){if(Zo)return Zo;var e,t=Ld,n=t.length,r,s="value"in $n?$n.value:$n.textContent,i=s.length;for(e=0;e<n&&t[e]===s[e];e++);var o=n-e;for(r=1;r<=o&&t[n-r]===s[i-r];r++);return Zo=s.slice(e,1<r?1-r:void 0)}function Jo(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 Ro(){return!0}function Rh(){return!1}function ht(e){function t(n,r,s,i,o){this._reactName=n,this._targetInst=s,this.type=r,this.nativeEvent=i,this.target=o,this.currentTarget=null;for(var a in e)e.hasOwnProperty(a)&&(n=e[a],this[a]=n?n(i):i[a]);return this.isDefaultPrevented=(i.defaultPrevented!=null?i.defaultPrevented:i.returnValue===!1)?Ro:Rh,this.isPropagationStopped=Rh,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=Ro)},stopPropagation:function(){var n=this.nativeEvent;n&&(n.stopPropagation?n.stopPropagation():typeof n.cancelBubble!="unknown"&&(n.cancelBubble=!0),this.isPropagationStopped=Ro)},persist:function(){},isPersistent:Ro}),t}var Hs={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},Od=ht(Hs),ao=me({},Hs,{view:0,detail:0}),kb=ht(ao),Ql,Yl,ii,ol=me({},ao,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Id,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!==ii&&(ii&&e.type==="mousemove"?(Ql=e.screenX-ii.screenX,Yl=e.screenY-ii.screenY):Yl=Ql=0,ii=e),Ql)},movementY:function(e){return"movementY"in e?e.movementY:Yl}}),Ah=ht(ol),Nb=me({},ol,{dataTransfer:0}),Rb=ht(Nb),Ab=me({},ao,{relatedTarget:0}),Xl=ht(Ab),jb=me({},Hs,{animationName:0,elapsedTime:0,pseudoElement:0}),Mb=ht(jb),Db=me({},Hs,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),Lb=ht(Db),Ob=me({},Hs,{data:0}),jh=ht(Ob),Ib={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},Vb={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"},Fb={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function zb(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):(e=Fb[e])?!!t[e]:!1}function Id(){return zb}var _b=me({},ao,{key:function(e){if(e.key){var t=Ib[e.key]||e.key;if(t!=="Unidentified")return t}return e.type==="keypress"?(e=Jo(e),e===13?"Enter":String.fromCharCode(e)):e.type==="keydown"||e.type==="keyup"?Vb[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Id,charCode:function(e){return e.type==="keypress"?Jo(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?Jo(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),Bb=ht(_b),Ub=me({},ol,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),Mh=ht(Ub),Wb=me({},ao,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Id}),$b=ht(Wb),Hb=me({},Hs,{propertyName:0,elapsedTime:0,pseudoElement:0}),Kb=ht(Hb),Gb=me({},ol,{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}),qb=ht(Gb),Qb=[9,13,27,32],Vd=gn&&"CompositionEvent"in window,wi=null;gn&&"documentMode"in document&&(wi=document.documentMode);var Yb=gn&&"TextEvent"in window&&!wi,Py=gn&&(!Vd||wi&&8<wi&&11>=wi),Dh=" ",Lh=!1;function ky(e,t){switch(e){case"keyup":return Qb.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Ny(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var ns=!1;function Xb(e,t){switch(e){case"compositionend":return Ny(t);case"keypress":return t.which!==32?null:(Lh=!0,Dh);case"textInput":return e=t.data,e===Dh&&Lh?null:e;default:return null}}function Zb(e,t){if(ns)return e==="compositionend"||!Vd&&ky(e,t)?(e=Ty(),Zo=Ld=$n=null,ns=!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 Py&&t.locale!=="ko"?null:t.data;default:return null}}var Jb={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 Oh(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t==="input"?!!Jb[e.type]:t==="textarea"}function Ry(e,t,n,r){oy(r),t=Ca(t,"onChange"),0<t.length&&(n=new Od("onChange","change",null,n,r),e.push({event:n,listeners:t}))}var bi=null,Fi=null;function eS(e){_y(e,0)}function al(e){var t=is(e);if(Jg(t))return e}function tS(e,t){if(e==="change")return t}var Ay=!1;if(gn){var Zl;if(gn){var Jl="oninput"in document;if(!Jl){var Ih=document.createElement("div");Ih.setAttribute("oninput","return;"),Jl=typeof Ih.oninput=="function"}Zl=Jl}else Zl=!1;Ay=Zl&&(!document.documentMode||9<document.documentMode)}function Vh(){bi&&(bi.detachEvent("onpropertychange",jy),Fi=bi=null)}function jy(e){if(e.propertyName==="value"&&al(Fi)){var t=[];Ry(t,Fi,e,Rd(e)),cy(eS,t)}}function nS(e,t,n){e==="focusin"?(Vh(),bi=t,Fi=n,bi.attachEvent("onpropertychange",jy)):e==="focusout"&&Vh()}function rS(e){if(e==="selectionchange"||e==="keyup"||e==="keydown")return al(Fi)}function sS(e,t){if(e==="click")return al(t)}function iS(e,t){if(e==="input"||e==="change")return al(t)}function oS(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var Bt=typeof Object.is=="function"?Object.is:oS;function zi(e,t){if(Bt(e,t))return!0;if(typeof e!="object"||e===null||typeof t!="object"||t===null)return!1;var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(r=0;r<n.length;r++){var s=n[r];if(!zu.call(t,s)||!Bt(e[s],t[s]))return!1}return!0}function Fh(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function zh(e,t){var n=Fh(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=Fh(n)}}function My(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?My(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function Dy(){for(var e=window,t=ya();t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href=="string"}catch{n=!1}if(n)e=t.contentWindow;else break;t=ya(e.document)}return t}function Fd(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 aS(e){var t=Dy(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&My(n.ownerDocument.documentElement,n)){if(r!==null&&Fd(n)){if(t=r.start,e=r.end,e===void 0&&(e=t),"selectionStart"in n)n.selectionStart=t,n.selectionEnd=Math.min(e,n.value.length);else if(e=(t=n.ownerDocument||document)&&t.defaultView||window,e.getSelection){e=e.getSelection();var s=n.textContent.length,i=Math.min(r.start,s);r=r.end===void 0?i:Math.min(r.end,s),!e.extend&&i>r&&(s=r,r=i,i=s),s=zh(n,i);var o=zh(n,r);s&&o&&(e.rangeCount!==1||e.anchorNode!==s.node||e.anchorOffset!==s.offset||e.focusNode!==o.node||e.focusOffset!==o.offset)&&(t=t.createRange(),t.setStart(s.node,s.offset),e.removeAllRanges(),i>r?(e.addRange(t),e.extend(o.node,o.offset)):(t.setEnd(o.node,o.offset),e.addRange(t)))}}for(t=[],e=n;e=e.parentNode;)e.nodeType===1&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for(typeof n.focus=="function"&&n.focus(),n=0;n<t.length;n++)e=t[n],e.element.scrollLeft=e.left,e.element.scrollTop=e.top}}var lS=gn&&"documentMode"in document&&11>
vendor: 3,523 bytes, line 37
37=document.documentMode,rs=null,sc=null,Si=null,ic=!1;function _h(e,t,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;ic||rs==null||rs!==ya(r)||(r=rs,"selectionStart"in r&&Fd(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}),Si&&zi(Si,r)||(Si=r,r=Ca(sc,"onSelect"),0<r.length&&(t=new Od("onSelect","select",null,t,n),e.push({event:t,listeners:r}),t.target=rs)))}function Ao(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var ss={animationend:Ao("Animation","AnimationEnd"),animationiteration:Ao("Animation","AnimationIteration"),animationstart:Ao("Animation","AnimationStart"),transitionend:Ao("Transition","TransitionEnd")},eu={},Ly={};gn&&(Ly=document.createElement("div").style,"AnimationEvent"in window||(delete ss.animationend.animation,delete ss.animationiteration.animation,delete ss.animationstart.animation),"TransitionEvent"in window||delete ss.transitionend.transition);function ll(e){if(eu[e])return eu[e];if(!ss[e])return e;var t=ss[e],n;for(n in t)if(t.hasOwnProperty(n)&&n in Ly)return eu[e]=t[n];return e}var Oy=ll("animationend"),Iy=ll("animationiteration"),Vy=ll("animationstart"),Fy=ll("transitionend"),zy=new Map,Bh="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 cr(e,t){zy.set(e,t),Wr(t,[e])}for(var tu=0;tu<Bh.length;tu++){var nu=Bh[tu],uS=nu.toLowerCase(),cS=nu[0].toUpperCase()+nu.slice(1);cr(uS,"on"+cS)}cr(Oy,"onAnimationEnd");cr(Iy,"onAnimationIteration");cr(Vy,"onAnimationStart");cr("dblclick","onDoubleClick");cr("focusin","onFocus");cr("focusout","onBlur");cr(Fy,"onTransitionEnd");Ms("onMouseEnter",["mouseout","mouseover"]);Ms("onMouseLeave",["mouseout","mouseover"]);Ms("onPointerEnter",["pointerout","pointerover"]);Ms("onPointerLeave",["pointerout","pointerover"]);Wr("onChange","change click focusin focusout input keydown keyup selectionchange".split(" "));Wr("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" "));Wr("onBeforeInput",["compositionend","keypress","textInput","paste"]);Wr("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" "));Wr("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" "));Wr("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var gi="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(" "),dS=new Set("cancel close invalid load scroll toggle".split(" ").concat(gi));function Uh(e,t,n){var r=e.type||"unknown-event";e.currentTarget=n,ub(r,t,void 0,e),e.currentTarget=null}
vendor: 5,056 bytes, line 37
37function _y(e,t){t=(t&4)!==0;for(var n=0;n<e.length;n++){var r=e[n],s=r.event;r=r.listeners;e:{var i=void 0;if(t)for(var o=r.length-1;0<=o;o--){var a=r[o],l=a.instance,u=a.currentTarget;if(a=a.listener,l!==i&&s.isPropagationStopped())break e;Uh(s,a,u),i=l}else for(o=0;o<r.length;o++){if(a=r[o],l=a.instance,u=a.currentTarget,a=a.listener,l!==i&&s.isPropagationStopped())break e;Uh(s,a,u),i=l}}}if(xa)throw e=ec,xa=!1,ec=null,e}function ae(e,t){var n=t[cc];n===void 0&&(n=t[cc]=new Set);var r=e+"__bubble";n.has(r)||(By(t,e,2,!1),n.add(r))}function ru(e,t,n){var r=0;t&&(r|=4),By(n,e,r,t)}var jo="_reactListening"+Math.random().toString(36).slice(2);function _i(e){if(!e[jo]){e[jo]=!0,qg.forEach(function(n){n!=="selectionchange"&&(dS.has(n)||ru(n,!1,e),ru(n,!0,e))});var t=e.nodeType===9?e:e.ownerDocument;t===null||t[jo]||(t[jo]=!0,ru("selectionchange",!1,t))}}function By(e,t,n,r){switch(Cy(t)){case 1:var s=Tb;break;case 4:s=Pb;break;default:s=Dd}n=s.bind(null,t,n,e),s=void 0,!Ju||t!=="touchstart"&&t!=="touchmove"&&t!=="wheel"||(s=!0),r?s!==void 0?e.addEventListener(t,n,{capture:!0,passive:s}):e.addEventListener(t,n,!0):s!==void 0?e.addEventListener(t,n,{passive:s}):e.addEventListener(t,n,!1)}function su(e,t,n,r,s){var i=r;if(!(t&1)&&!(t&2)&&r!==null)e:for(;;){if(r===null)return;var o=r.tag;if(o===3||o===4){var a=r.stateNode.containerInfo;if(a===s||a.nodeType===8&&a.parentNode===s)break;if(o===4)for(o=r.return;o!==null;){var l=o.tag;if((l===3||l===4)&&(l=o.stateNode.containerInfo,l===s||l.nodeType===8&&l.parentNode===s))return;o=o.return}for(;a!==null;){if(o=Sr(a),o===null)return;if(l=o.tag,l===5||l===6){r=i=o;continue e}a=a.parentNode}}r=r.return}cy(function(){var u=i,c=Rd(n),d=[];e:{var f=zy.get(e);if(f!==void 0){var h=Od,x=e;switch(e){case"keypress":if(Jo(n)===0)break e;case"keydown":case"keyup":h=Bb;break;case"focusin":x="focus",h=Xl;break;case"focusout":x="blur",h=Xl;break;case"beforeblur":case"afterblur":h=Xl;break;case"click":if(n.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":h=Ah;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":h=Rb;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":h=$b;break;case Oy:case Iy:case Vy:h=Mb;break;case Fy:h=Kb;break;case"scroll":h=kb;break;case"wheel":h=qb;break;case"copy":case"cut":case"paste":h=Lb;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":h=Mh}var y=(t&4)!==0,w=!y&&e==="scroll",g=y?f!==null?f+"Capture":null:f;y=[];for(var m=u,v;m!==null;){v=m;var S=v.stateNode;if(v.tag===5&&S!==null&&(v=S,g!==null&&(S=Li(m,g),S!=null&&y.push(Bi(m,S,v)))),w)break;m=m.return}0<y.length&&(f=new h(f,x,null,n,c),d.push({event:f,listeners:y}))}}if(!(t&7)){e:{if(f=e==="mouseover"||e==="pointerover",h=e==="mouseout"||e==="pointerout",f&&n!==Xu&&(x=n.relatedTarget||n.fromElement)&&(Sr(x)||x[yn]))break e;if((h||f)&&(f=c.window===c?c:(f=c.ownerDocument)?f.defaultView||f.parentWindow:window,h?(x=n.relatedTarget||n.toElement,h=u,x=x?Sr(x):null,x!==null&&(w=$r(x),x!==w||x.tag!==5&&x.tag!==6)&&(x=null)):(h=null,x=u),h!==x)){if(y=Ah,S="onMouseLeave",g="onMouseEnter",m="mouse",(e==="pointerout"||e==="pointerover")&&(y=Mh,S="onPointerLeave",g="onPointerEnter",m="pointer"),w=h==null?f:is(h),v=x==null?f:is(x),f=new y(S,m+"leave",h,n,c),f.target=w,f.relatedTarget=v,S=null,Sr(c)===u&&(y=new y(g,m+"enter",x,n,c),y.target=v,y.relatedTarget=w,S=y),w=S,h&&x)t:{for(y=h,g=x,m=0,v=y;v;v=Xr(v))m++;for(v=0,S=g;S;S=Xr(S))v++;for(;0<m-v;)y=Xr(y),m--;for(;0<v-m;)g=Xr(g),v--;for(;m--;){if(y===g||g!==null&&y===g.alternate)break t;y=Xr(y),g=Xr(g)}y=null}else y=null;h!==null&&Wh(d,f,h,y,!1),x!==null&&w!==null&&Wh(d,w,x,y,!0)}}e:{if(f=u?is(u):window,h=f.nodeName&&f.nodeName.toLowerCase(),h==="select"||h==="input"&&f.type==="file")var E=tS;else if(Oh(f))if(Ay)E=iS;else{E=rS;var C=nS}else(h=f.nodeName)&&h.toLowerCase()==="input"&&(f.type==="checkbox"||f.type==="radio")&&(E=sS);if(E&&(E=E(e,u))){Ry(d,E,n,c);break e}C&&C(e,f,u),e==="focusout"&&(C=f._wrapperState)&&C.controlled&&f.type==="number"&&Ku(f,"number",f.value)}switch(C=u?is(u):window,e){case"focusin":(Oh(C)||C.contentEditable==="true")&&(rs=C,sc=u,Si=null);break;case"focusout":Si=sc=rs=null;break;case"mousedown":ic=!0;break;case"contextmenu":case"mouseup":case"dragend":ic=!1,_h(d,n,c);break;case"selectionchange":if(lS)break;case"keydown":case"keyup":_h(d,n,c)}var T;if(Vd)e:{switch(e){case"compositionstart":var k="onCompositionStart";break e;case"compositionend":k="onCompositionEnd";break e;case"compositionupdate":k="onCompositionUpdate";break e}k=void 0}else ns?ky(e,n)&&(k="onCompositionEnd"):e==="keydown"&&n.keyCode===229&&(k="onCompositionStart");k&&(Py&&n.locale!=="ko"&&(ns||k!=="onCompositionStart"?k==="onCompositionEnd"&&ns&&(T=Ty()):($n=c,Ld="value"in $n?$n.value:$n.textContent,ns=!0)),C=Ca(u,k),0<C.length&&(k=new jh(k,e,
vendor: 4,503 bytes, lines 37-38
37null,n,c),d.push({event:k,listeners:C}),T?k.data=T:(T=Ny(n),T!==null&&(k.data=T)))),(T=Yb?Xb(e,n):Zb(e,n))&&(u=Ca(u,"onBeforeInput"),0<u.length&&(c=new jh("onBeforeInput","beforeinput",null,n,c),d.push({event:c,listeners:u}),c.data=T))}_y(d,t)})}function Bi(e,t,n){return{instance:e,listener:t,currentTarget:n}}function Ca(e,t){for(var n=t+"Capture",r=[];e!==null;){var s=e,i=s.stateNode;s.tag===5&&i!==null&&(s=i,i=Li(e,n),i!=null&&r.unshift(Bi(e,i,s)),i=Li(e,t),i!=null&&r.push(Bi(e,i,s))),e=e.return}return r}function Xr(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5);return e||null}function Wh(e,t,n,r,s){for(var i=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,s?(l=Li(n,i),l!=null&&o.unshift(Bi(n,l,a))):s||(l=Li(n,i),l!=null&&o.push(Bi(n,l,a)))),n=n.return}o.length!==0&&e.push({event:t,listeners:o})}var fS=/\r\n?/g,hS=/\u0000|\uFFFD/g;function $h(e){return(typeof e=="string"?e:""+e).replace(fS,` 38`).replace(hS,"")}function Mo(e,t,n){if(t=$h(t),$h(e)!==t&&n)throw Error(j(425))}function Ta(){}var oc=null,ac=null;function lc(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 uc=typeof setTimeout=="function"?setTimeout:void 0,pS=typeof clearTimeout=="function"?clearTimeout:void 0,Hh=typeof Promise=="function"?Promise:void 0,mS=typeof queueMicrotask=="function"?queueMicrotask:typeof Hh<"u"?function(e){return Hh.resolve(null).then(e).catch(gS)}:uc;function gS(e){setTimeout(function(){throw e})}function iu(e,t){var n=t,r=0;do{var s=n.nextSibling;if(e.removeChild(n),s&&s.nodeType===8)if(n=s.data,n==="/$"){if(r===0){e.removeChild(s),Vi(t);return}r--}else n!=="$"&&n!=="$?"&&n!=="$!"||r++;n=s}while(n);Vi(t)}function Xn(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 Kh(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 Ks=Math.random().toString(36).slice(2),Zt="__reactFiber$"+Ks,Ui="__reactProps$"+Ks,yn="__reactContainer$"+Ks,cc="__reactEvents$"+Ks,yS="__reactListeners$"+Ks,vS="__reactHandles$"+Ks;function Sr(e){var t=e[Zt];if(t)return t;for(var n=e.parentNode;n;){if(t=n[yn]||n[Zt]){if(n=t.alternate,t.child!==null||n!==null&&n.child!==null)for(e=Kh(e);e!==null;){if(n=e[Zt])return n;e=Kh(e)}return t}e=n,n=e.parentNode}return null}function lo(e){return e=e[Zt]||e[yn],!e||e.tag!==5&&e.tag!==6&&e.tag!==13&&e.tag!==3?null:e}function is(e){if(e.tag===5||e.tag===6)return e.stateNode;throw Error(j(33))}function ul(e){return e[Ui]||null}var dc=[],os=-1;function dr(e){return{current:e}}function ue(e){0>os||(e.current=dc[os],dc[os]=null,os--)}function ie(e,t){os++,dc[os]=e.current,e.current=t}var rr={},ze=dr(rr),Je=dr(!1),Vr=rr;function Ds(e,t){var n=e.type.contextTypes;if(!n)return rr;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var s={},i;for(i in n)s[i]=t[i];return r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=s),s}function et(e){return e=e.childContextTypes,e!=null}function Pa(){ue(Je),ue(ze)}function Gh(e,t,n){if(ze.current!==rr)throw Error(j(168));ie(ze,t),ie(Je,n)}function Uy(e,t,n){var r=e.stateNode;if(t=t.childContextTypes,typeof r.getChildContext!="function")return n;r=r.getChildContext();for(var s in r)if(!(s in t))throw Error(j(108,nb(e)||"Unknown",s));return me({},n,r)}function ka(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||rr,Vr=ze.current,ie(ze,e),ie(Je,Je.current),!0}function qh(e,t,n){var r=e.stateNode;if(!r)throw Error(j(169));n?(e=Uy(e,t,Vr),r.__reactInternalMemoizedMergedChildContext=e,ue(Je),ue(ze),ie(ze,e)):ue(Je),ie(Je,n)}var dn=null,cl=!1,ou=!1;function Wy(e){dn===null?dn=[e]:dn.push(e)}function xS(e){cl=!0,Wy(e)}function fr(){if(!ou&&dn!==null){ou=!0;var e=0,t=ne;try{var n=dn;for(ne=1;e<n.length;e++){var r=n[e];do r=r(!0);while(r!==null)}dn=null,cl=!1}catch(s){throw dn!==null&&(dn=dn.slice(e+1)),py(Ad,fr),s}finally{ne=t,ou=!1}}return null}var as=[],ls=0,Na=null,Ra=0,gt=[],yt=0,Fr=null,hn=1,pn="";function xr(e,t){as[ls++]=Ra,as[ls++]=Na,Na=e,Ra=t}
vendor: 25,295 bytes, lines 38-40
38function $y(e,t,n){gt[yt++]=hn,gt[yt++]=pn,gt[yt++]=Fr,Fr=e;var r=hn;e=pn;var s=32-Ft(r)-1;r&=~(1<<s),n+=1;var i=32-Ft(t)+s;if(30<i){var o=s-s%5;i=(r&(1<<o)-1).toString(32),r>>=o,s-=o,hn=1<<32-Ft(t)+s|n<<s|r,pn=i+e}else hn=1<<i|n<<s|r,pn=e}function zd(e){e.return!==null&&(xr(e,1),$y(e,1,0))}function _d(e){for(;e===Na;)Na=as[--ls],as[ls]=null,Ra=as[--ls],as[ls]=null;for(;e===Fr;)Fr=gt[--yt],gt[yt]=null,pn=gt[--yt],gt[yt]=null,hn=gt[--yt],gt[yt]=null}var ut=null,lt=null,de=!1,Vt=null;function Hy(e,t){var n=vt(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 Qh(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=Xn(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=Fr!==null?{id:hn,overflow:pn}:null,e.memoizedState={dehydrated:t,treeContext:n,retryLane:1073741824},n=vt(18,null,null,0),n.stateNode=t,n.return=e,e.child=n,ut=e,lt=null,!0):!1;default:return!1}}function fc(e){return(e.mode&1)!==0&&(e.flags&128)===0}function hc(e){if(de){var t=lt;if(t){var n=t;if(!Qh(e,t)){if(fc(e))throw Error(j(418));t=Xn(n.nextSibling);var r=ut;t&&Qh(e,t)?Hy(r,n):(e.flags=e.flags&-4097|2,de=!1,ut=e)}}else{if(fc(e))throw Error(j(418));e.flags=e.flags&-4097|2,de=!1,ut=e}}}function Yh(e){for(e=e.return;e!==null&&e.tag!==5&&e.tag!==3&&e.tag!==13;)e=e.return;ut=e}function Do(e){if(e!==ut)return!1;if(!de)return Yh(e),de=!0,!1;var t;if((t=e.tag!==3)&&!(t=e.tag!==5)&&(t=e.type,t=t!=="head"&&t!=="body"&&!lc(e.type,e.memoizedProps)),t&&(t=lt)){if(fc(e))throw Ky(),Error(j(418));for(;t;)Hy(e,t),t=Xn(t.nextSibling)}if(Yh(e),e.tag===13){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(j(317));e:{for(e=e.nextSibling,t=0;e;){if(e.nodeType===8){var n=e.data;if(n==="/$"){if(t===0){lt=Xn(e.nextSibling);break e}t--}else n!=="$"&&n!=="$!"&&n!=="$?"||t++}e=e.nextSibling}lt=null}}else lt=ut?Xn(e.stateNode.nextSibling):null;return!0}function Ky(){for(var e=lt;e;)e=Xn(e.nextSibling)}function Ls(){lt=ut=null,de=!1}function Bd(e){Vt===null?Vt=[e]:Vt.push(e)}var wS=Sn.ReactCurrentBatchConfig;function oi(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(j(309));var r=n.stateNode}if(!r)throw Error(j(147,e));var s=r,i=""+e;return t!==null&&t.ref!==null&&typeof t.ref=="function"&&t.ref._stringRef===i?t.ref:(t=function(o){var a=s.refs;o===null?delete a[i]:a[i]=o},t._stringRef=i,t)}if(typeof e!="string")throw Error(j(284));if(!n._owner)throw Error(j(290,e))}return e}function Lo(e,t){throw e=Object.prototype.toString.call(t),Error(j(31,e==="[object Object]"?"object with keys {"+Object.keys(t).join(", ")+"}":e))}function Xh(e){var t=e._init;return t(e._payload)}function Gy(e){function t(g,m){if(e){var v=g.deletions;v===null?(g.deletions=[m],g.flags|=16):v.push(m)}}function n(g,m){if(!e)return null;for(;m!==null;)t(g,m),m=m.sibling;return null}function r(g,m){for(g=new Map;m!==null;)m.key!==null?g.set(m.key,m):g.set(m.index,m),m=m.sibling;return g}function s(g,m){return g=tr(g,m),g.index=0,g.sibling=null,g}function i(g,m,v){return g.index=v,e?(v=g.alternate,v!==null?(v=v.index,v<m?(g.flags|=2,m):v):(g.flags|=2,m)):(g.flags|=1048576,m)}function o(g){return e&&g.alternate===null&&(g.flags|=2),g}function a(g,m,v,S){return m===null||m.tag!==6?(m=hu(v,g.mode,S),m.return=g,m):(m=s(m,v),m.return=g,m)}function l(g,m,v,S){var E=v.type;return E===ts?c(g,m,v.props.children,S,v.key):m!==null&&(m.elementType===E||typeof E=="object"&&E!==null&&E.$$typeof===On&&Xh(E)===m.type)?(S=s(m,v.props),S.ref=oi(g,m,v),S.return=g,S):(S=oa(v.type,v.key,v.props,null,g.mode,S),S.ref=oi(g,m,v),S.return=g,S)}function u(g,m,v,S){return m===null||m.tag!==4||m.stateNode.containerInfo!==v.containerInfo||m.stateNode.implementation!==v.implementation?(m=pu(v,g.mode,S),m.return=g,m):(m=s(m,v.children||[]),m.return=g,m)}function c(g,m,v,S,E){return m===null||m.tag!==7?(m=Lr(v,g.mode,S,E),m.return=g,m):(m=s(m,v),m.return=g,m)}function d(g,m,v){if(typeof m=="string"&&m!==""||typeof m=="number")return m=hu(""+m,g.mode,v),m.return=g,m;if(typeof m=="object"&&m!==null){switch(m.$$typeof){case Eo:return v=oa(m.type,m.key,m.props,null,g.mode,v),v.ref=oi(g,null,m),v.return=g,v;case es:return m=pu(m,g.mode,v),m.return=g,m;case On:var S=m._init;return d(g,S(m._payload),v)}if(pi(m)||ti(m))return m=Lr(m,g.mode,v,null),m.return=g,m;Lo(g,m)}return null}function f(g,m,v,S){var E=m!==null?m.key:null;if(typeof v=="string"&&v!==""||typeof v=="number")return E!==null?null:a(g,m,""+v,S);if(typeof v=="object"&&v!==null){switch(v.$$typeof){case Eo:return v.key===E?l(g,m,v,S):null;case es:return v.key===E?u(g,m,v,S):null;case On:return E=v._init,f(g,m,E(v._payload),S)}if(pi(v)||ti(v))return E!==null?null:c(g,m,v,S,null);Lo(g,v)}return null}function h(g,m,v,S,E){if(typeof S=="string"&&S!==""||typeof S=="number")return g=g.get(v)||null,a(m,g,""+S,E);if(typeof S=="object"&&S!==null){switch(S.$$typeof){case Eo:return g=g.get(S.key===null?v:S.key)||null,l(m,g,S,E);case es:return g=g.get(S.key===null?v:S.key)||null,u(m,g,S,E);case On:var C=S._init;return h(g,m,v,C(S._payload),E)}if(pi(S)||ti(S))return g=g.get(v)||null,c(m,g,S,E,null);Lo(m,S)}return null}function x(g,m,v,S){for(var E=null,C=null,T=m,k=m=0,M=null;T!==null&&k<v.length;k++){T.index>k?(M=T,T=null):M=T.sibling;var N=f(g,T,v[k],S);if(N===null){T===null&&(T=M);break}e&&T&&N.alternate===null&&t(g,T),m=i(N,m,k),C===null?E=N:C.sibling=N,C=N,T=M}if(k===v.length)return n(g,T),de&&xr(g,k),E;if(T===null){for(;k<v.length;k++)T=d(g,v[k],S),T!==null&&(m=i(T,m,k),C===null?E=T:C.sibling=T,C=T);return de&&xr(g,k),E}for(T=r(g,T);k<v.length;k++)M=h(T,g,k,v[k],S),M!==null&&(e&&M.alternate!==null&&T.delete(M.key===null?k:M.key),m=i(M,m,k),C===null?E=M:C.sibling=M,C=M);return e&&T.forEach(function(V){return t(g,V)}),de&&xr(g,k),E}function y(g,m,v,S){var E=ti(v);if(typeof E!="function")throw Error(j(150));if(v=E.call(v),v==null)throw Error(j(151));for(var C=E=null,T=m,k=m=0,M=null,N=v.next();T!==null&&!N.done;k++,N=v.next()){T.index>k?(M=T,T=null):M=T.sibling;var V=f(g,T,N.value,S);if(V===null){T===null&&(T=M);break}e&&T&&V.alternate===null&&t(g,T),m=i(V,m,k),C===null?E=V:C.sibling=V,C=V,T=M}if(N.done)return n(g,T),de&&xr(g,k),E;if(T===null){for(;!N.done;k++,N=v.next())N=d(g,N.value,S),N!==null&&(m=i(N,m,k),C===null?E=N:C.sibling=N,C=N);return de&&xr(g,k),E}for(T=r(g,T);!N.done;k++,N=v.next())N=h(T,g,k,N.value,S),N!==null&&(e&&N.alternate!==null&&T.delete(N.key===null?k:N.key),m=i(N,m,k),C===null?E=N:C.sibling=N,C=N);return e&&T.forEach(function(O){return t(g,O)}),de&&xr(g,k),E}function w(g,m,v,S){if(typeof v=="object"&&v!==null&&v.type===ts&&v.key===null&&(v=v.props.children),typeof v=="object"&&v!==null){switch(v.$$typeof){case Eo:e:{for(var E=v.key,C=m;C!==null;){if(C.key===E){if(E=v.type,E===ts){if(C.tag===7){n(g,C.sibling),m=s(C,v.props.children),m.return=g,g=m;break e}}else if(C.elementType===E||typeof E=="object"&&E!==null&&E.$$typeof===On&&Xh(E)===C.type){n(g,C.sibling),m=s(C,v.props),m.ref=oi(g,C,v),m.return=g,g=m;break e}n(g,C);break}else t(g,C);C=C.sibling}v.type===ts?(m=Lr(v.props.children,g.mode,S,v.key),m.return=g,g=m):(S=oa(v.type,v.key,v.props,null,g.mode,S),S.ref=oi(g,m,v),S.return=g,g=S)}return o(g);case es:e:{for(C=v.key;m!==null;){if(m.key===C)if(m.tag===4&&m.stateNode.containerInfo===v.containerInfo&&m.stateNode.implementation===v.implementation){n(g,m.sibling),m=s(m,v.children||[]),m.return=g,g=m;break e}else{n(g,m);break}else t(g,m);m=m.sibling}m=pu(v,g.mode,S),m.return=g,g=m}return o(g);case On:return C=v._init,w(g,m,C(v._payload),S)}if(pi(v))return x(g,m,v,S);if(ti(v))return y(g,m,v,S);Lo(g,v)}return typeof v=="string"&&v!==""||typeof v=="number"?(v=""+v,m!==null&&m.tag===6?(n(g,m.sibling),m=s(m,v),m.return=g,g=m):(n(g,m),m=hu(v,g.mode,S),m.return=g,g=m),o(g)):n(g,m)}return w}var Os=Gy(!0),qy=Gy(!1),Aa=dr(null),ja=null,us=null,Ud=null;function Wd(){Ud=us=ja=null}function $d(e){var t=Aa.current;ue(Aa),e._currentValue=t}function pc(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 xs(e,t){ja=e,Ud=us=null,e=e.dependencies,e!==null&&e.firstContext!==null&&(e.lanes&t&&(Ze=!0),e.firstContext=null)}function Et(e){var t=e._currentValue;if(Ud!==e)if(e={context:e,memoizedValue:t,next:null},us===null){if(ja===null)throw Error(j(308));us=e,ja.dependencies={lanes:0,firstContext:e}}else us=us.next=e;return t}var Er=null;function Hd(e){Er===null?Er=[e]:Er.push(e)}function Qy(e,t,n,r){var s=t.interleaved;return s===null?(n.next=n,Hd(t)):(n.next=s.next,s.next=n),t.interleaved=n,vn(e,r)}function vn(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 In=!1;function Kd(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function Yy(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 mn(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function Zn(e,t,n){var r=e.updateQueue;if(r===null)return null;if(r=r.shared,J&2){var s=r.pending;return s===null?t.next=t:(t.next=s.next,s.next=t),r.pending=t,vn(e,n)}return s=r.interleaved,s===null?(t.next=t,Hd(r)):(t.next=s.next,s.next=t),r.interleaved=t,vn(e,n)}function ea(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,jd(e,n)}}function Zh(e,t){var n=e.updateQueue,r=e.alternate;if(r!==null&&(r=r.updateQueue,n===r)){var s=null,i=null;if(n=n.firstBaseUpdate,n!==null){do{var o={eventTime:n.eventTime,lane:n.lane,tag:n.tag,payload:n.payload,callback:n.callback,next:null};i===null?s=i=o:i=i.next=o,n=n.next}while(n!==null);i===null?s=i=t:i=i.next=t}else s=i=t;n={baseState:r.baseState,firstBaseUpdate:s,lastBaseUpdate:i,shared:r.shared,effects:r.effects},e.updateQueue=n;return}e=n.lastBaseUpdate,e===null?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}function Ma(e,t,n,r){var s=e.updateQueue;In=!1;var i=s.firstBaseUpdate,o=s.lastBaseUpdate,a=s.shared.pending;if(a!==null){s.shared.pending=null;var l=a,u=l.next;l.next=null,o===null?i=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(i!==null){var d=s.baseState;o=0,c=u=l=null,a=i;do{var f=a.lane,h=a.eventTime;if((r&f)===f){c!==null&&(c=c.next={eventTime:h,lane:0,tag:a.tag,payload:a.payload,callback:a.callback,next:null});e:{var x=e,y=a;switch(f=t,h=n,y.tag){case 1:if(x=y.payload,typeof x=="function"){d=x.call(h,d,f);break e}d=x;break e;case 3:x.flags=x.flags&-65537|128;case 0:if(x=y.payload,f=typeof x=="function"?x.call(h,d,f):x,f==null)break e;d=me({},d,f);break e;case 2:In=!0}}a.callback!==null&&a.lane!==0&&(e.flags|=64,f=s.effects,f===null?s.effects=[a]:f.push(a))}else h={eventTime:h,lane:f,tag:a.tag,payload:a.payload,callback:a.callback,next:null},c===null?(u=c=h,l=d):c=c.next=h,o|=f;if(a=a.next,a===null){if(a=s.shared.pending,a===null)break;f=a,a=f.next,f.next=null,s.lastBaseUpdate=f,s.shared.pending=null}}while(!0);if(c===null&&(l=d),s.baseState=l,s.firstBaseUpdate=u,s.lastBaseUpdate=c,t=s.shared.interleaved,t!==null){s=t;do o|=s.lane,s=s.next;while(s!==t)}else i===null&&(s.shared.lanes=0);_r|=o,e.lanes=o,e.memoizedState=d}}function Jh(e,t,n){if(e=t.effects,t.effects=null,e!==null)for(t=0;t<e.length;t++){var r=e[t],s=r.callback;if(s!==null){if(r.callback=null,r=n,typeof s!="function")throw Error(j(191,s));s.call(r)}}}var uo={},tn=dr(uo),Wi=dr(uo),$i=dr(uo);function Cr(e){if(e===uo)throw Error(j(174));return e}function Gd(e,t){switch(ie($i,t),ie(Wi,e),ie(tn,uo),e=t.nodeType,e){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:qu(null,"");break;default:e=e===8?t.parentNode:t,t=e.namespaceURI||null,e=e.tagName,t=qu(t,e)}ue(tn),ie(tn,t)}function Is(){ue(tn),ue(Wi),ue($i)}function Xy(e){Cr($i.current);var t=Cr(tn.current),n=qu(t,e.type);t!==n&&(ie(Wi,e),ie(tn,n))}function qd(e){Wi.current===e&&(ue(tn),ue(Wi))}var he=dr(0);function Da(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 au=[];function Qd(){for(var e=0;e<au.length;e++)au[e]._workInProgressVersionPrimary=null;au.length=0}var ta=Sn.ReactCurrentDispatcher,lu=Sn.ReactCurrentBatchConfig,zr=0,pe=null,Ee=null,Pe=null,La=!1,Ei=!1,Hi=0,bS=0;function Oe(){throw Error(j(321))}function Yd(e,t){if(t===null)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!Bt(e[n],t[n]))return!1;return!0}function Xd(e,t,n,r,s,i){if(zr=i,pe=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,ta.current=e===null||e.memoizedState===null?TS:PS,e=n(r,s),Ei){i=0;do{if(Ei=!1,Hi=0,25<=i)throw Error(j(301));i+=1,Pe=Ee=null,t.updateQueue=null,ta.current=kS,e=n(r,s)}while(Ei)}if(ta.current=Oa,t=Ee!==null&&Ee.next!==null,zr=0,Pe=Ee=pe=null,La=!1,t)throw Error(j(300));return e}function Zd(){var e=Hi!==0;return Hi=0,e}function Kt(){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 Ct(){if(Ee===null){var e=pe.alternate;e=e!==null?e.memoizedState:null}else e=Ee.next;var t=Pe===null?pe.memoizedState:Pe.next;if(t!==null)Pe=t,Ee=e;else{if(e===null)throw Error(j(310));Ee=e,e={memoizedState:Ee.memoizedState,baseState:Ee.baseState,baseQueue:Ee.baseQueue,queue:Ee.queue,next:null},Pe===null?pe.memoizedState=Pe=e:Pe=Pe.next=e}return Pe}function Ki(e,t){return typeof t=="function"?t(e):t}function uu(e){var t=Ct(),n=t.queue;if(n===null)throw Error(j(311));n.lastRenderedReducer=e;var r=Ee,s=r.baseQueue,i=n.pending;if(i!==null){if(s!==null){var o=s.next;s.next=i.next,i.next=o}r.baseQueue=s=i,n.pending=null}if(s!==null){i=s.next,r=r.baseState;var a=o=null,l=null,u=i;do{var c=u.lane;if((zr&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,_r|=c}u=u.next}while(u!==null&&u!==i);l===null?o=r:l.next=a,Bt(r,t.memoizedState)||(Ze=!0),t.memoizedState=r,t.baseState=o,t.baseQueue=l,n.lastRenderedState=r}if(e=n.interleaved,e!==null){s=e;do i=s.lane,pe.lanes|=i,_r|=i,s=s.next;while(s!==e)}else s===null&&(n.lanes=0);return[t.memoizedState,n.dispatch]}function cu(e){var t=Ct(),n=t.queue;if(n===null)throw Error(j(311));n.lastRenderedReducer=e;var r=n.dispatch,s=n.pending,i=t.memoizedState;if(s!==null){n.pending=null;var o=s=s.next;do i=e(i,o.action),o=o.next;while(o!==s);Bt(i,t.memoizedState)||(Ze=!0),t.memoizedState=i,t.baseQueue===null&&(t.baseState=i),n.lastRenderedState=i}return[i,r]}function Zy(){}function Jy(e,t){var n=pe,r=Ct(),s=t(),i=!Bt(r.memoizedState,s);if(i&&(r.memoizedState=s,Ze=!0),r=r.queue,Jd(nv.bind(null,n,r,e),[e]),r.getSnapshot!==t||i||Pe!==null&&Pe.memoizedState.tag&1){if(n.flags|=2048,Gi(9,tv.bind(null,n,r,s,t),void 0,null),ke===null)throw Error(j(349));zr&30||ev(n,t,s)}return s}function ev(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 tv(e,t,n,r){t.value=n,t.getSnapshot=r,rv(t)&&sv(e)}function nv(e,t,n){return n(function(){rv(t)&&sv(e)})}function rv(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!Bt(e,n)}catch{return!0}}function sv(e){var t=vn(e,1);t!==null&&zt(t,e,1,-1)}function ep(e){var t=Kt();return typeof e=="function"&&(e=e()),t.memoizedState=t.baseState=e,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:Ki,lastRenderedState:e},t.queue=e,e=e.dispatch=CS.bind(null,pe,e),[t.memoizedState,e]}function Gi(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 iv(){return Ct().memoizedState}function na(e,t,n,r){var s=Kt();pe.flags|=e,s.memoizedState=Gi(1|t,n,void 0,r===void 0?null:r)}function dl(e,t,n,r){var s=Ct();r=r===void 0?null:r;var i=void 0;if(Ee!==null){var o=Ee.memoizedState;if(i=o.destroy,r!==null&&Yd(r,o.deps)){s.memoizedState=Gi(t,n,i,r);return}}pe.flags|=e,s.memoizedState=Gi(1|t,n,i,r)}function tp(e,t){return na(8390656,8,e,t)}function Jd(e,t){return dl(2048,8,e,t)}function ov(e,t){return dl(4,2,e,t)}function av(e,t){return dl(4,4,e,t)}function lv(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 uv(e,t,n){return n=n!=null?n.concat([e]):null,dl(4,4,lv.bind(null,t,e),n)}function ef(){}function cv(e,t){var n=Ct();t=t===void 0?null:t;var r=n.memoizedState;return r!==null&&t!==null&&Yd(t,r[1])?r[0]:(n.memoizedState=[e,t],e)}function dv(e,t){var n=Ct();t=t===void 0?null:t;var r=n.memoizedState;return r!==null&&t!==null&&Yd(t,r[1])?r[0]:(e=e(),n.memoizedState=[e,t],e)}function fv(e,t,n){return zr&21?(Bt(n,t)||(n=yy(),pe.lanes|=n,_r|=n,e.baseState=!0),t):(e.baseState&&(e.baseState=!1,Ze=!0),e.memoizedState=n)}function SS(e,t){var n=ne;ne=n!==0&&4>n?n:4,e(!0);var r=lu.transition;lu.transition={};try{e(!1),t()}finally{ne=n,lu.transition=r}}function hv(){return Ct().memoizedState}function ES(e,t,n){var r=er(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},pv(e))mv(t,n);else if(n=Qy(e,t,n,r),n!==null){var s=Ke();zt(n,e,r,s),gv(n,t,r)}}function CS(e,t,n){var r=er(e),s={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(pv(e))mv(t,s);else{var i=e.alternate;if(e.lanes===0&&(i===null||i.lanes===0)&&(i=t.lastRenderedReducer,i!==null))try{var o=t.lastRenderedState,a=i(o,n);if(s.hasEagerState=!0,s.eagerState=a,Bt(a,o)){var l=t.interleaved;l===null?(s.next=s,Hd(t)):(s.next=l.next,l.next=s),t.interleaved=s;return}}catch{}finally{}n=Qy(e,t,s,r),n!==null&&(s=Ke(),zt(n,e,r,s),gv(n,t,r))}}function pv(e){var t=e.alternate;return e===pe||t!==null&&t===pe}function mv(e,t){Ei=La=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function gv(e,t,n){if(n&4194240){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,jd(e,n)}}var Oa={readContext:Et,useCallback:Oe,useContext:Oe,useEffect:Oe,useImperativeHandle:Oe,useInsertionEffect:Oe,useLayoutEffect:Oe,useMemo:Oe,useReducer:Oe,useRef:Oe,useState:Oe,useDebugValue:Oe,useDeferredValue:Oe,useTransition:Oe,useMutableSource:Oe,useSyncExternalStore:Oe,useId:Oe,unstable_isNewReconciler:!1},TS={readContext:Et,useCallback:function(e,t){return Kt().memoizedState=[e,t===void 0?null:t],e},useContext:Et,useEffect:tp,useImperativeHandle:function(e,t,n){return n=n!=null?n.concat([e]):null,na(4194308,4,lv.bind(null,t,e),n)},useLayoutEffect:function(e,t){return na(4194308,4,e,t)},useInsertionEffect:function(e,t){return na(4,2,e,t)},useMemo:function(e,t){var n=Kt();return t=t===void 0?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=Kt();return t=n!==void 0?n(t):t,r.memoizedState=r.baseState=t,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},r.queue=e,e=e.dispatch=ES.bind(null,pe,e),[r.memoizedState,e]},useRef:function(e){var t=Kt();return e={current:e},t.memoizedState=e},useState:ep,useDebugValue:ef,useDeferredValue:function(e){return Kt().memoizedState=e},useTransition:function(){var e=ep(!1),t=e[0];return e=SS.bind(null,e[1]),Kt().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=pe,s=Kt();if(de){if(n===void 0)throw Error(j(407));n=n()}else{if(n=t(),ke===null)throw Error(j(349));zr&30||ev(r,t,n)}s.memoizedState=n;var i={value:n,getSnapshot:t};return s.queue=i,tp(nv.bind(null,r,i,e),[e]),r.flags|=2048,Gi(9,tv.bind(null,r,i,n,t),void 0,null),n},useId:function(){var e=Kt(),t=ke.identifierPrefix;if(de){var n=pn,r=hn;n=(r&~(1<<32-Ft(r)-1)).toString(32)+n,t=":"+t+"R"+n,n=Hi++,0<n&&(t+="H"+n.toString(32)),t+=":"}else n=bS++,t=":"+t+"r"+n.toString(32)+":";return e.memoizedState=t},unstable_isNewReconciler:!1},PS={readContext:Et,useCallback:cv,useContext:Et,useEffect:Jd,useImperativeHandle:uv,useInsertionEffect:ov,useLayoutEffect:av,useMemo:dv,useReducer:uu,useRef:iv,useState:function(){return uu(Ki)},useDebugValue:ef,useDeferredValue:function(e){var t=Ct();return fv(t,Ee.memoizedState,e)},useTransition:function(){var e=uu(Ki)[0],t=Ct().memoizedState;return[e,t]},useMutableSource:Zy,useSyncExternalStore:Jy,useId:hv,unstable_isNewReconciler:!1},kS={readContext:Et,useCallback:cv,useContext:Et,useEffect:Jd,useImperativeHandle:uv,useInsertionEffect:ov,useLayoutEffect:av,useMemo:dv,useReducer:cu,useRef:iv,useState:function(){return cu(Ki)},useDebugValue:ef,useDeferredValue:function(e){var t=Ct();return Ee===null?t.memoizedState=e:fv(t,Ee.memoizedState,e)},useTransition:function(){var e=cu(Ki)[0],t=Ct().memoizedState;return[e,t]},useMutableSource:Zy,useSyncExternalStore:Jy,useId:hv,unstable_isNewReconciler:!1};function Mt(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 mc(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 fl={isMounted:function(e){return(e=e._reactInternals)?$r(e)===e:!1},enqueueSetState:function(e,t,n){e=e._reactInternals;var r=Ke(),s=er(e),i=mn(r,s);i.payload=t,n!=null&&(i.callback=n),t=Zn(e,i,s),t!==null&&(zt(t,e,s,r),ea(t,e,s))},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var r=Ke(),s=er(e),i=mn(r,s);i.tag=1,i.payload=t,n!=null&&(i.callback=n),t=Zn(e,i,s),t!==null&&(zt(t,e,s,r),ea(t,e,s))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=Ke(),r=er(e),s=mn(n,r);s.tag=2,t!=null&&(s.callback=t),t=Zn(e,s,r),t!==null&&(zt(t,e,r,n),ea(t,e,r))}};function np(e,t,n,r,s,i,o){return e=e.stateNode,typeof e.shouldComponentUpdate=="function"?e.shouldComponentUpdate(r,i,o):t.prototype&&t.prototype.isPureReactComponent?!zi(n,r)||!zi(s,i):!0}function yv(e,t,n){var r=!1,s=rr,i=t.contextType;return typeof i=="object"&&i!==null?i=Et(i):(s=et(t)?Vr:ze.current,r=t.contextTypes,i=(r=r!=null)?Ds(e,s):rr),t=new t(n,i),e.memoizedState=t.state!==null&&t.state!==void 0?t.state:null,t.updater=fl,e.stateNode=t,t._reactInternals=e,r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=s,e.__reactInternalMemoizedMaskedChildContext=i),t}function rp(e,t,n,r){e=t.state,typeof t.componentWillReceiveProps=="function"&&t.componentWillReceiveProps(n,r),typeof t.UNSAFE_componentWillReceiveProps=="function"&&t.UNSAFE_componentWillReceiveProps(n,r),t.state!==e&&fl.enqueueReplaceState(t,t.state,null)}function gc(e,t,n,r){var s=e.stateNode;s.props=n,s.state=e.memoizedState,s.refs={},Kd(e);var i=t.contextType;typeof i=="object"&&i!==null?s.context=Et(i):(i=et(t)?Vr:ze.current,s.context=Ds(e,i)),s.state=e.memoizedState,i=t.getDerivedStateFromProps,typeof i=="function"&&(mc(e,t,i,n),s.state=e.memoizedState),typeof t.getDerivedStateFromProps=="function"||typeof s.getSnapshotBeforeUpdate=="function"||typeof s.UNSAFE_componentWillMount!="function"&&typeof s.componentWillMount!="function"||(t=s.state,typeof s.componentWillMount=="function"&&s.componentWillMount(),typeof s.UNSAFE_componentWillMount=="function"&&s.UNSAFE_componentWillMount(),t!==s.state&&fl.enqueueReplaceState(s,s.state,null),Ma(e,n,s,r),s.state=e.memoizedState),typeof s.componentDidMount=="function"&&(e.flags|=4194308)}function Vs(e,t){try{var n="",r=t;do n+=tb(r),r=r.return;while(r);var s=n}catch(i){s=` 39Error generating stack: `+i.message+` 40`+i.stack}return{value:e,source:t,stack:s,digest:null}}function du(e,t,n){return{value:e,source:null,stack:n??null,digest:t??null}}function yc(e,t){try{console.error(t.value)}catch(n){setTimeout(function(){throw n})}}var NS=typeof WeakMap=="function"?WeakMap:Map;function vv(e,t,n){n=mn(-1,n),n.tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){Va||(Va=!0,kc=r),yc(e,t)},n}function xv(e,t,n){n=mn(-1,n),n.tag=3;var r=e.type.getDerivedStateFromError;if(typeof r=="function"){var s=t.value;n.payload=function(){return r(s)},n.callback=function(){yc(e,t)}}var i=e.stateNode;return i!==null&&typeof i.componentDidCatch=="function"&&(n.callback=function(){yc(e,t),typeof r!="function"&&(Jn===null?Jn=new Set([this]):Jn.add(this));var o=t.stack;this.componentDidCatch(t.value,{componentStack:o!==null?o:""})}),n}
vendor: 8,958 bytes, line 40
40function sp(e,t,n){var r=e.pingCache;if(r===null){r=e.pingCache=new NS;var s=new Set;r.set(t,s)}else s=r.get(t),s===void 0&&(s=new Set,r.set(t,s));s.has(n)||(s.add(n),e=US.bind(null,e,t,n),t.then(e,e))}function ip(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 op(e,t,n,r,s){return e.mode&1?(e.flags|=65536,e.lanes=s,e):(e===t?e.flags|=65536:(e.flags|=128,n.flags|=131072,n.flags&=-52805,n.tag===1&&(n.alternate===null?n.tag=17:(t=mn(-1,1),t.tag=2,Zn(n,t,1))),n.lanes|=1),e)}var RS=Sn.ReactCurrentOwner,Ze=!1;function Be(e,t,n,r){t.child=e===null?qy(t,null,n,r):Os(t,e.child,n,r)}function ap(e,t,n,r,s){n=n.render;var i=t.ref;return xs(t,s),r=Xd(e,t,n,r,i,s),n=Zd(),e!==null&&!Ze?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~s,xn(e,t,s)):(de&&n&&zd(t),t.flags|=1,Be(e,t,r,s),t.child)}function lp(e,t,n,r,s){if(e===null){var i=n.type;return typeof i=="function"&&!uf(i)&&i.defaultProps===void 0&&n.compare===null&&n.defaultProps===void 0?(t.tag=15,t.type=i,wv(e,t,i,r,s)):(e=oa(n.type,null,r,t,t.mode,s),e.ref=t.ref,e.return=t,t.child=e)}if(i=e.child,!(e.lanes&s)){var o=i.memoizedProps;if(n=n.compare,n=n!==null?n:zi,n(o,r)&&e.ref===t.ref)return xn(e,t,s)}return t.flags|=1,e=tr(i,r),e.ref=t.ref,e.return=t,t.child=e}function wv(e,t,n,r,s){if(e!==null){var i=e.memoizedProps;if(zi(i,r)&&e.ref===t.ref)if(Ze=!1,t.pendingProps=r=i,(e.lanes&s)!==0)e.flags&131072&&(Ze=!0);else return t.lanes=e.lanes,xn(e,t,s)}return vc(e,t,n,r,s)}function bv(e,t,n){var r=t.pendingProps,s=r.children,i=e!==null?e.memoizedState:null;if(r.mode==="hidden")if(!(t.mode&1))t.memoizedState={baseLanes:0,cachePool:null,transitions:null},ie(ds,ot),ot|=n;else{if(!(n&1073741824))return e=i!==null?i.baseLanes|n:n,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e,cachePool:null,transitions:null},t.updateQueue=null,ie(ds,ot),ot|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},r=i!==null?i.baseLanes:n,ie(ds,ot),ot|=r}else i!==null?(r=i.baseLanes|n,t.memoizedState=null):r=n,ie(ds,ot),ot|=r;return Be(e,t,s,n),t.child}function Sv(e,t){var n=t.ref;(e===null&&n!==null||e!==null&&e.ref!==n)&&(t.flags|=512,t.flags|=2097152)}function vc(e,t,n,r,s){var i=et(n)?Vr:ze.current;return i=Ds(t,i),xs(t,s),n=Xd(e,t,n,r,i,s),r=Zd(),e!==null&&!Ze?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~s,xn(e,t,s)):(de&&r&&zd(t),t.flags|=1,Be(e,t,n,s),t.child)}function up(e,t,n,r,s){if(et(n)){var i=!0;ka(t)}else i=!1;if(xs(t,s),t.stateNode===null)ra(e,t),yv(t,n,r),gc(t,n,r,s),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=Et(u):(u=et(n)?Vr:ze.current,u=Ds(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)&&rp(t,o,r,u),In=!1;var f=t.memoizedState;o.state=f,Ma(t,r,o,s),l=t.memoizedState,a!==r||f!==l||Je.current||In?(typeof c=="function"&&(mc(t,n,c,r),l=t.memoizedState),(a=In||np(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,Yy(e,t),a=t.memoizedProps,u=t.type===t.elementType?a:Mt(t.type,a),o.props=u,d=t.pendingProps,f=o.context,l=n.contextType,typeof l=="object"&&l!==null?l=Et(l):(l=et(n)?Vr:ze.current,l=Ds(t,l));var h=n.getDerivedStateFromProps;(c=typeof h=="function"||typeof o.getSnapshotBeforeUpdate=="function")||typeof o.UNSAFE_componentWillReceiveProps!="function"&&typeof o.componentWillReceiveProps!="function"||(a!==d||f!==l)&&rp(t,o,r,l),In=!1,f=t.memoizedState,o.state=f,Ma(t,r,o,s);var x=t.memoizedState;a!==d||f!==x||Je.current||In?(typeof h=="function"&&(mc(t,n,h,r),x=t.memoizedState),(u=In||np(t,n,u,r,f,x,l)||!1)?(c||typeof o.UNSAFE_componentWillUpdate!="function"&&typeof o.componentWillUpdate!="function"||(typeof o.componentWillUpdate=="function"&&o.componentWillUpdate(r,x,l),typeof o.UNSAFE_componentWillUpdate=="function"&&o.UNSAFE_componentWillUpdate(r,x,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=x),o.props=r,o.state=x,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 xc(e,t,n,r,i,s)}function xc(e,t,n,r,s,i){Sv(e,t);var o=(t.flags&128)!==0;if(!r&&!o)return s&&qh(t,n,!1),xn(e,t,i);r=t.stateNode,RS.current=t;var a=o&&typeof n.getDerivedStateFromError!="function"?null:r.render();return t.flags|=1,e!==null&&o?(t.child=Os(t,e.child,null,i),t.child=Os(t,null,a,i)):Be(e,t,a,i),t.memoizedState=r.state,s&&qh(t,n,!0),t.child}function Ev(e){var t=e.stateNode;t.pendingContext?Gh(e,t.pendingContext,t.pendingContext!==t.context):t.context&&Gh(e,t.context,!1),Gd(e,t.containerInfo)}function cp(e,t,n,r,s){return Ls(),Bd(s),t.flags|=256,Be(e,t,n,r),t.child}var wc={dehydrated:null,treeContext:null,retryLane:0};function bc(e){return{baseLanes:e,cachePool:null,transitions:null}}function Cv(e,t,n){var r=t.pendingProps,s=he.current,i=!1,o=(t.flags&128)!==0,a;if((a=o)||(a=e!==null&&e.memoizedState===null?!1:(s&2)!==0),a?(i=!0,t.flags&=-129):(e===null||e.memoizedState!==null)&&(s|=1),ie(he,s&1),e===null)return hc(t),e=t.memoizedState,e!==null&&(e=e.dehydrated,e!==null)?(t.mode&1?e.data==="$!"?t.lanes=8:t.lanes=1073741824:t.lanes=1,null):(o=r.children,e=r.fallback,i?(r=t.mode,i=t.child,o={mode:"hidden",children:o},!(r&1)&&i!==null?(i.childLanes=0,i.pendingProps=o):i=ml(o,r,0,null),e=Lr(e,r,n,null),i.return=t,e.return=t,i.sibling=e,t.child=i,t.child.memoizedState=bc(n),t.memoizedState=wc,e):tf(t,o));if(s=e.memoizedState,s!==null&&(a=s.dehydrated,a!==null))return AS(e,t,o,r,a,s,n);if(i){i=r.fallback,o=t.mode,s=e.child,a=s.sibling;var l={mode:"hidden",children:r.children};return!(o&1)&&t.child!==s?(r=t.child,r.childLanes=0,r.pendingProps=l,t.deletions=null):(r=tr(s,l),r.subtreeFlags=s.subtreeFlags&14680064),a!==null?i=tr(a,i):(i=Lr(i,o,n,null),i.flags|=2),i.return=t,r.return=t,r.sibling=i,t.child=r,r=i,i=t.child,o=e.child.memoizedState,o=o===null?bc(n):{baseLanes:o.baseLanes|n,cachePool:null,transitions:o.transitions},i.memoizedState=o,i.childLanes=e.childLanes&~n,t.memoizedState=wc,r}return i=e.child,e=i.sibling,r=tr(i,{mode:"visible",children:r.children}),!(t.mode&1)&&(r.lanes=n),r.return=t,r.sibling=null,e!==null&&(n=t.deletions,n===null?(t.deletions=[e],t.flags|=16):n.push(e)),t.child=r,t.memoizedState=null,r}function tf(e,t){return t=ml({mode:"visible",children:t},e.mode,0,null),t.return=e,e.child=t}function Oo(e,t,n,r){return r!==null&&Bd(r),Os(t,e.child,null,n),e=tf(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function AS(e,t,n,r,s,i,o){if(n)return t.flags&256?(t.flags&=-257,r=du(Error(j(422))),Oo(e,t,o,r)):t.memoizedState!==null?(t.child=e.child,t.flags|=128,null):(i=r.fallback,s=t.mode,r=ml({mode:"visible",children:r.children},s,0,null),i=Lr(i,s,o,null),i.flags|=2,r.return=t,i.return=t,r.sibling=i,t.child=r,t.mode&1&&Os(t,e.child,null,o),t.child.memoizedState=bc(o),t.memoizedState=wc,i);if(!(t.mode&1))return Oo(e,t,o,null);if(s.data==="$!"){if(r=s.nextSibling&&s.nextSibling.dataset,r)var a=r.dgst;return r=a,i=Error(j(419)),r=du(i,r,void 0),Oo(e,t,o,r)}if(a=(o&e.childLanes)!==0,Ze||a){if(r=ke,r!==null){switch(o&-o){case 4:s=2;break;case 16:s=8;break;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:s=32;break;case 536870912:s=268435456;break;default:s=0}s=s&(r.suspendedLanes|o)?0:s,s!==0&&s!==i.retryLane&&(i.retryLane=s,vn(e,s),zt(r,e,s,-1))}return lf(),r=du(Error(j(421))),Oo(e,t,o,r)}return s.data==="$?"?(t.flags|=128,t.child=e.child,t=WS.bind(null,e),s._reactRetry=t,null):(e=i.treeContext,lt=Xn(s.nextSibling),ut=t,de=!0,Vt=null,e!==null&&(gt[yt++]=hn,gt[yt++]=pn,gt[yt++]=Fr,hn=e.id,pn=e.overflow,Fr=t),t=tf(t,r.children),t.flags|=4096,t)}function dp(e,t,n){e.lanes|=t;var r=e.alternate;r!==null&&(r.lanes|=t),pc(e.return,t,n)}
vendor: 5,381 bytes, line 40
40function fu(e,t,n,r,s){var i=e.memoizedState;i===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailMode:s}:(i.isBackwards=t,i.rendering=null,i.renderingStartTime=0,i.last=r,i.tail=n,i.tailMode=s)}function Tv(e,t,n){var r=t.pendingProps,s=r.revealOrder,i=r.tail;if(Be(e,t,r.children,n),r=he.current,r&2)r=r&1|2,t.flags|=128;else{if(e!==null&&e.flags&128)e:for(e=t.child;e!==null;){if(e.tag===13)e.memoizedState!==null&&dp(e,n,t);else if(e.tag===19)dp(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(ie(he,r),!(t.mode&1))t.memoizedState=null;else switch(s){case"forwards":for(n=t.child,s=null;n!==null;)e=n.alternate,e!==null&&Da(e)===null&&(s=n),n=n.sibling;n=s,n===null?(s=t.child,t.child=null):(s=n.sibling,n.sibling=null),fu(t,!1,s,n,i);break;case"backwards":for(n=null,s=t.child,t.child=null;s!==null;){if(e=s.alternate,e!==null&&Da(e)===null){t.child=s;break}e=s.sibling,s.sibling=n,n=s,s=e}fu(t,!0,n,null,i);break;case"together":fu(t,!1,null,null,void 0);break;default:t.memoizedState=null}return t.child}function ra(e,t){!(t.mode&1)&&e!==null&&(e.alternate=null,t.alternate=null,t.flags|=2)}function xn(e,t,n){if(e!==null&&(t.dependencies=e.dependencies),_r|=t.lanes,!(n&t.childLanes))return null;if(e!==null&&t.child!==e.child)throw Error(j(153));if(t.child!==null){for(e=t.child,n=tr(e,e.pendingProps),t.child=n,n.return=t;e.sibling!==null;)e=e.sibling,n=n.sibling=tr(e,e.pendingProps),n.return=t;n.sibling=null}return t.child}function jS(e,t,n){switch(t.tag){case 3:Ev(t),Ls();break;case 5:Xy(t);break;case 1:et(t.type)&&ka(t);break;case 4:Gd(t,t.stateNode.containerInfo);break;case 10:var r=t.type._context,s=t.memoizedProps.value;ie(Aa,r._currentValue),r._currentValue=s;break;case 13:if(r=t.memoizedState,r!==null)return r.dehydrated!==null?(ie(he,he.current&1),t.flags|=128,null):n&t.child.childLanes?Cv(e,t,n):(ie(he,he.current&1),e=xn(e,t,n),e!==null?e.sibling:null);ie(he,he.current&1);break;case 19:if(r=(n&t.childLanes)!==0,e.flags&128){if(r)return Tv(e,t,n);t.flags|=128}if(s=t.memoizedState,s!==null&&(s.rendering=null,s.tail=null,s.lastEffect=null),ie(he,he.current),r)break;return null;case 22:case 23:return t.lanes=0,bv(e,t,n)}return xn(e,t,n)}var Pv,Sc,kv,Nv;Pv=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}};Sc=function(){};kv=function(e,t,n,r){var s=e.memoizedProps;if(s!==r){e=t.stateNode,Cr(tn.current);var i=null;switch(n){case"input":s=$u(e,s),r=$u(e,r),i=[];break;case"select":s=me({},s,{value:void 0}),r=me({},r,{value:void 0}),i=[];break;case"textarea":s=Gu(e,s),r=Gu(e,r),i=[];break;default:typeof s.onClick!="function"&&typeof r.onClick=="function"&&(e.onclick=Ta)}Qu(n,r);var o;n=null;for(u in s)if(!r.hasOwnProperty(u)&&s.hasOwnProperty(u)&&s[u]!=null)if(u==="style"){var a=s[u];for(o in a)a.hasOwnProperty(o)&&(n||(n={}),n[o]="")}else u!=="dangerouslySetInnerHTML"&&u!=="children"&&u!=="suppressContentEditableWarning"&&u!=="suppressHydrationWarning"&&u!=="autoFocus"&&(Mi.hasOwnProperty(u)?i||(i=[]):(i=i||[]).push(u,null));for(u in r){var l=r[u];if(a=s!=null?s[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||(i||(i=[]),i.push(u,n)),n=l;else u==="dangerouslySetInnerHTML"?(l=l?l.__html:void 0,a=a?a.__html:void 0,l!=null&&a!==l&&(i=i||[]).push(u,l)):u==="children"?typeof l!="string"&&typeof l!="number"||(i=i||[]).push(u,""+l):u!=="suppressContentEditableWarning"&&u!=="suppressHydrationWarning"&&(Mi.hasOwnProperty(u)?(l!=null&&u==="onScroll"&&ae("scroll",e),i||a===l||(i=[])):(i=i||[]).push(u,l))}n&&(i=i||[]).push("style",n);var u=i;(t.updateQueue=u)&&(t.flags|=4)}};Nv=function(e,t,n,r){n!==r&&(t.flags|=4)};function ai(e,t){if(!de)switch(e.tailMode){case"hidden":t=e.tail;for(var n=null;t!==null;)t.alternate!==null&&(n=t),t=t.sibling;n===null?e.tail=null:n.sibling=null;break;case"collapsed":n=e.tail;for(var r=null;n!==null;)n.alternate!==null&&(r=n),n=n.sibling;r===null?t||e.tail===null?e.tail=null:e.tail.sibling=null:r.sibling=null}}function Ie(e){var t=e.alternate!==null&&e.alternate.child===e.child,n=0,r=0;if(t)for(var s=e.child;s!==null;)n|=s.lanes|s.childLanes,r|=s.subtreeFlags&14680064,r|=s.flags&14680064,s.return=e,s=s.sibling;else for(s=e.child;s!==null;)n|=s.lanes|s.childLanes,r|=s.subtreeFlags,r|=s.flags,s.return=e,s=s.sibling;return e.subtreeFlags|=r,e.childLanes=n,t}function MS(e,t,n){var r=t.pendingProps;switch(_d(t),t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Ie(t),null;case 1:return et(t.type)&&Pa(),Ie(t),null;case 3:return r=t.stateNode,Is(),ue(Je),ue(ze),Qd(),r.pendingContext&&(r.context=r.pendingContext,r.pendingContext=null),(e===null||e.child===null)&&(Do(t)?t.flags|=4:e===null||e.memoizedState.isDehydrated&&!(t.flags&256)||(t.flags|=1024,Vt!==null&&(Ac(Vt),Vt=null))),Sc(e,t),Ie(t),null;case 5:qd(t);var s=Cr($i.current);
vendor: 29,529 bytes, line 40
40if(n=t.type,e!==null&&t.stateNode!=null)kv(e,t,n,r,s),e.ref!==t.ref&&(t.flags|=512,t.flags|=2097152);else{if(!r){if(t.stateNode===null)throw Error(j(166));return Ie(t),null}if(e=Cr(tn.current),Do(t)){r=t.stateNode,n=t.type;var i=t.memoizedProps;switch(r[Zt]=t,r[Ui]=i,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(s=0;s<gi.length;s++)ae(gi[s],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":wh(r,i),ae("invalid",r);break;case"select":r._wrapperState={wasMultiple:!!i.multiple},ae("invalid",r);break;case"textarea":Sh(r,i),ae("invalid",r)}Qu(n,i),s=null;for(var o in i)if(i.hasOwnProperty(o)){var a=i[o];o==="children"?typeof a=="string"?r.textContent!==a&&(i.suppressHydrationWarning!==!0&&Mo(r.textContent,a,e),s=["children",a]):typeof a=="number"&&r.textContent!==""+a&&(i.suppressHydrationWarning!==!0&&Mo(r.textContent,a,e),s=["children",""+a]):Mi.hasOwnProperty(o)&&a!=null&&o==="onScroll"&&ae("scroll",r)}switch(n){case"input":Co(r),bh(r,i,!0);break;case"textarea":Co(r),Eh(r);break;case"select":case"option":break;default:typeof i.onClick=="function"&&(r.onclick=Ta)}r=s,t.updateQueue=r,r!==null&&(t.flags|=4)}else{o=s.nodeType===9?s:s.ownerDocument,e==="http://www.w3.org/1999/xhtml"&&(e=ny(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[Zt]=t,e[Ui]=r,Pv(e,t,!1,!1),t.stateNode=e;e:{switch(o=Yu(n,r),n){case"dialog":ae("cancel",e),ae("close",e),s=r;break;case"iframe":case"object":case"embed":ae("load",e),s=r;break;case"video":case"audio":for(s=0;s<gi.length;s++)ae(gi[s],e);s=r;break;case"source":ae("error",e),s=r;break;case"img":case"image":case"link":ae("error",e),ae("load",e),s=r;break;case"details":ae("toggle",e),s=r;break;case"input":wh(e,r),s=$u(e,r),ae("invalid",e);break;case"option":s=r;break;case"select":e._wrapperState={wasMultiple:!!r.multiple},s=me({},r,{value:void 0}),ae("invalid",e);break;case"textarea":Sh(e,r),s=Gu(e,r),ae("invalid",e);break;default:s=r}Qu(n,s),a=s;for(i in a)if(a.hasOwnProperty(i)){var l=a[i];i==="style"?iy(e,l):i==="dangerouslySetInnerHTML"?(l=l?l.__html:void 0,l!=null&&ry(e,l)):i==="children"?typeof l=="string"?(n!=="textarea"||l!=="")&&Di(e,l):typeof l=="number"&&Di(e,""+l):i!=="suppressContentEditableWarning"&&i!=="suppressHydrationWarning"&&i!=="autoFocus"&&(Mi.hasOwnProperty(i)?l!=null&&i==="onScroll"&&ae("scroll",e):l!=null&&Td(e,i,l,o))}switch(n){case"input":Co(e),bh(e,r,!1);break;case"textarea":Co(e),Eh(e);break;case"option":r.value!=null&&e.setAttribute("value",""+nr(r.value));break;case"select":e.multiple=!!r.multiple,i=r.value,i!=null?ms(e,!!r.multiple,i,!1):r.defaultValue!=null&&ms(e,!!r.multiple,r.defaultValue,!0);break;default:typeof s.onClick=="function"&&(e.onclick=Ta)}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 Ie(t),null;case 6:if(e&&t.stateNode!=null)Nv(e,t,e.memoizedProps,r);else{if(typeof r!="string"&&t.stateNode===null)throw Error(j(166));if(n=Cr($i.current),Cr(tn.current),Do(t)){if(r=t.stateNode,n=t.memoizedProps,r[Zt]=t,(i=r.nodeValue!==n)&&(e=ut,e!==null))switch(e.tag){case 3:Mo(r.nodeValue,n,(e.mode&1)!==0);break;case 5:e.memoizedProps.suppressHydrationWarning!==!0&&Mo(r.nodeValue,n,(e.mode&1)!==0)}i&&(t.flags|=4)}else r=(n.nodeType===9?n:n.ownerDocument).createTextNode(r),r[Zt]=t,t.stateNode=r}return Ie(t),null;case 13:if(ue(he),r=t.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(de&<!==null&&t.mode&1&&!(t.flags&128))Ky(),Ls(),t.flags|=98560,i=!1;else if(i=Do(t),r!==null&&r.dehydrated!==null){if(e===null){if(!i)throw Error(j(318));if(i=t.memoizedState,i=i!==null?i.dehydrated:null,!i)throw Error(j(317));i[Zt]=t}else Ls(),!(t.flags&128)&&(t.memoizedState=null),t.flags|=4;Ie(t),i=!1}else Vt!==null&&(Ac(Vt),Vt=null),i=!0;if(!i)return t.flags&65536?t:null}return t.flags&128?(t.lanes=n,t):(r=r!==null,r!==(e!==null&&e.memoizedState!==null)&&r&&(t.child.flags|=8192,t.mode&1&&(e===null||he.current&1?Te===0&&(Te=3):lf())),t.updateQueue!==null&&(t.flags|=4),Ie(t),null);case 4:return Is(),Sc(e,t),e===null&&_i(t.stateNode.containerInfo),Ie(t),null;case 10:return $d(t.type._context),Ie(t),null;case 17:return et(t.type)&&Pa(),Ie(t),null;case 19:if(ue(he),i=t.memoizedState,i===null)return Ie(t),null;if(r=(t.flags&128)!==0,o=i.rendering,o===null)if(r)ai(i,!1);else{if(Te!==0||e!==null&&e.flags&128)for(e=t.child;e!==null;){if(o=Da(e),o!==null){for(t.flags|=128,ai(i,!1),r=o.updateQueue,r!==null&&(t.updateQueue=r,t.flags|=4),t.subtreeFlags=0,r=n,n=t.child;n!==null;)i=n,e=r,i.flags&=14680066,o=i.alternate,o===null?(i.childLanes=0,i.lanes=e,i.child=null,i.subtreeFlags=0,i.memoizedProps=null,i.memoizedState=null,i.updateQueue=null,i.dependencies=null,i.stateNode=null):(i.childLanes=o.childLanes,i.lanes=o.lanes,i.child=o.child,i.subtreeFlags=0,i.deletions=null,i.memoizedProps=o.memoizedProps,i.memoizedState=o.memoizedState,i.updateQueue=o.updateQueue,i.type=o.type,e=o.dependencies,i.dependencies=e===null?null:{lanes:e.lanes,firstContext:e.firstContext}),n=n.sibling;return ie(he,he.current&1|2),t.child}e=e.sibling}i.tail!==null&&ve()>Fs&&(t.flags|=128,r=!0,ai(i,!1),t.lanes=4194304)}else{if(!r)if(e=Da(o),e!==null){if(t.flags|=128,r=!0,n=e.updateQueue,n!==null&&(t.updateQueue=n,t.flags|=4),ai(i,!0),i.tail===null&&i.tailMode==="hidden"&&!o.alternate&&!de)return Ie(t),null}else 2*ve()-i.renderingStartTime>Fs&&n!==1073741824&&(t.flags|=128,r=!0,ai(i,!1),t.lanes=4194304);i.isBackwards?(o.sibling=t.child,t.child=o):(n=i.last,n!==null?n.sibling=o:t.child=o,i.last=o)}return i.tail!==null?(t=i.tail,i.rendering=t,i.tail=t.sibling,i.renderingStartTime=ve(),t.sibling=null,n=he.current,ie(he,r?n&1|2:n&1),t):(Ie(t),null);case 22:case 23:return af(),r=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==r&&(t.flags|=8192),r&&t.mode&1?ot&1073741824&&(Ie(t),t.subtreeFlags&6&&(t.flags|=8192)):Ie(t),null;case 24:return null;case 25:return null}throw Error(j(156,t.tag))}function DS(e,t){switch(_d(t),t.tag){case 1:return et(t.type)&&Pa(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return Is(),ue(Je),ue(ze),Qd(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 5:return qd(t),null;case 13:if(ue(he),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(j(340));Ls()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return ue(he),null;case 4:return Is(),null;case 10:return $d(t.type._context),null;case 22:case 23:return af(),null;case 24:return null;default:return null}}var Io=!1,Fe=!1,LS=typeof WeakSet=="function"?WeakSet:Set,F=null;function cs(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 Ec(e,t,n){try{n()}catch(r){ye(e,t,r)}}var fp=!1;function OS(e,t){if(oc=Sa,e=Dy(),Fd(e)){if("selectionStart"in e)var n={start:e.selectionStart,end:e.selectionEnd};else e:{n=(n=e.ownerDocument)&&n.defaultView||window;var r=n.getSelection&&n.getSelection();if(r&&r.rangeCount!==0){n=r.anchorNode;var s=r.anchorOffset,i=r.focusNode;r=r.focusOffset;try{n.nodeType,i.nodeType}catch{n=null;break e}var o=0,a=-1,l=-1,u=0,c=0,d=e,f=null;t:for(;;){for(var h;d!==n||s!==0&&d.nodeType!==3||(a=o+s),d!==i||r!==0&&d.nodeType!==3||(l=o+r),d.nodeType===3&&(o+=d.nodeValue.length),(h=d.firstChild)!==null;)f=d,d=h;for(;;){if(d===e)break t;if(f===n&&++u===s&&(a=o),f===i&&++c===r&&(l=o),(h=d.nextSibling)!==null)break;d=f,f=d.parentNode}d=h}n=a===-1||l===-1?null:{start:a,end:l}}else n=null}n=n||{start:0,end:0}}else n=null;for(ac={focusedElem:e,selectionRange:n},Sa=!1,F=t;F!==null;)if(t=F,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,F=e;else for(;F!==null;){t=F;try{var x=t.alternate;if(t.flags&1024)switch(t.tag){case 0:case 11:case 15:break;case 1:if(x!==null){var y=x.memoizedProps,w=x.memoizedState,g=t.stateNode,m=g.getSnapshotBeforeUpdate(t.elementType===t.type?y:Mt(t.type,y),w);g.__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(j(163))}}catch(S){ye(t,t.return,S)}if(e=t.sibling,e!==null){e.return=t.return,F=e;break}F=t.return}return x=fp,fp=!1,x}function Ci(e,t,n){var r=t.updateQueue;if(r=r!==null?r.lastEffect:null,r!==null){var s=r=r.next;do{if((s.tag&e)===e){var i=s.destroy;s.destroy=void 0,i!==void 0&&Ec(t,n,i)}s=s.next}while(s!==r)}}function hl(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 Cc(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 Rv(e){var t=e.alternate;t!==null&&(e.alternate=null,Rv(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[Zt],delete t[Ui],delete t[cc],delete t[yS],delete t[vS])),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 Av(e){return e.tag===5||e.tag===3||e.tag===4}function hp(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||Av(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 Tc(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=Ta));else if(r!==4&&(e=e.child,e!==null))for(Tc(e,t,n),e=e.sibling;e!==null;)Tc(e,t,n),e=e.sibling}function Pc(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(Pc(e,t,n),e=e.sibling;e!==null;)Pc(e,t,n),e=e.sibling}var Ne=null,It=!1;function Rn(e,t,n){for(n=n.child;n!==null;)jv(e,t,n),n=n.sibling}function jv(e,t,n){if(en&&typeof en.onCommitFiberUnmount=="function")try{en.onCommitFiberUnmount(il,n)}catch{}switch(n.tag){case 5:Fe||cs(n,t);case 6:var r=Ne,s=It;Ne=null,Rn(e,t,n),Ne=r,It=s,Ne!==null&&(It?(e=Ne,n=n.stateNode,e.nodeType===8?e.parentNode.removeChild(n):e.removeChild(n)):Ne.removeChild(n.stateNode));break;case 18:Ne!==null&&(It?(e=Ne,n=n.stateNode,e.nodeType===8?iu(e.parentNode,n):e.nodeType===1&&iu(e,n),Vi(e)):iu(Ne,n.stateNode));break;case 4:r=Ne,s=It,Ne=n.stateNode.containerInfo,It=!0,Rn(e,t,n),Ne=r,It=s;break;case 0:case 11:case 14:case 15:if(!Fe&&(r=n.updateQueue,r!==null&&(r=r.lastEffect,r!==null))){s=r=r.next;do{var i=s,o=i.destroy;i=i.tag,o!==void 0&&(i&2||i&4)&&Ec(n,t,o),s=s.next}while(s!==r)}Rn(e,t,n);break;case 1:if(!Fe&&(cs(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)}Rn(e,t,n);break;case 21:Rn(e,t,n);break;case 22:n.mode&1?(Fe=(r=Fe)||n.memoizedState!==null,Rn(e,t,n),Fe=r):Rn(e,t,n);break;default:Rn(e,t,n)}}function pp(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var n=e.stateNode;n===null&&(n=e.stateNode=new LS),t.forEach(function(r){var s=$S.bind(null,e,r);n.has(r)||(n.add(r),r.then(s,s))})}}function Nt(e,t){var n=t.deletions;if(n!==null)for(var r=0;r<n.length;r++){var s=n[r];try{var i=e,o=t,a=o;e:for(;a!==null;){switch(a.tag){case 5:Ne=a.stateNode,It=!1;break e;case 3:Ne=a.stateNode.containerInfo,It=!0;break e;case 4:Ne=a.stateNode.containerInfo,It=!0;break e}a=a.return}if(Ne===null)throw Error(j(160));jv(i,o,s),Ne=null,It=!1;var l=s.alternate;l!==null&&(l.return=null),s.return=null}catch(u){ye(s,t,u)}}if(t.subtreeFlags&12854)for(t=t.child;t!==null;)Mv(t,e),t=t.sibling}function Mv(e,t){var n=e.alternate,r=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:if(Nt(t,e),Ht(e),r&4){try{Ci(3,e,e.return),hl(3,e)}catch(y){ye(e,e.return,y)}try{Ci(5,e,e.return)}catch(y){ye(e,e.return,y)}}break;case 1:Nt(t,e),Ht(e),r&512&&n!==null&&cs(n,n.return);break;case 5:if(Nt(t,e),Ht(e),r&512&&n!==null&&cs(n,n.return),e.flags&32){var s=e.stateNode;try{Di(s,"")}catch(y){ye(e,e.return,y)}}if(r&4&&(s=e.stateNode,s!=null)){var i=e.memoizedProps,o=n!==null?n.memoizedProps:i,a=e.type,l=e.updateQueue;if(e.updateQueue=null,l!==null)try{a==="input"&&i.type==="radio"&&i.name!=null&&ey(s,i),Yu(a,o);var u=Yu(a,i);for(o=0;o<l.length;o+=2){var c=l[o],d=l[o+1];c==="style"?iy(s,d):c==="dangerouslySetInnerHTML"?ry(s,d):c==="children"?Di(s,d):Td(s,c,d,u)}switch(a){case"input":Hu(s,i);break;case"textarea":ty(s,i);break;case"select":var f=s._wrapperState.wasMultiple;s._wrapperState.wasMultiple=!!i.multiple;var h=i.value;h!=null?ms(s,!!i.multiple,h,!1):f!==!!i.multiple&&(i.defaultValue!=null?ms(s,!!i.multiple,i.defaultValue,!0):ms(s,!!i.multiple,i.multiple?[]:"",!1))}s[Ui]=i}catch(y){ye(e,e.return,y)}}break;case 6:if(Nt(t,e),Ht(e),r&4){if(e.stateNode===null)throw Error(j(162));s=e.stateNode,i=e.memoizedProps;try{s.nodeValue=i}catch(y){ye(e,e.return,y)}}break;case 3:if(Nt(t,e),Ht(e),r&4&&n!==null&&n.memoizedState.isDehydrated)try{Vi(t.containerInfo)}catch(y){ye(e,e.return,y)}break;case 4:Nt(t,e),Ht(e);break;case 13:Nt(t,e),Ht(e),s=e.child,s.flags&8192&&(i=s.memoizedState!==null,s.stateNode.isHidden=i,!i||s.alternate!==null&&s.alternate.memoizedState!==null||(sf=ve())),r&4&&pp(e);break;case 22:if(c=n!==null&&n.memoizedState!==null,e.mode&1?(Fe=(u=Fe)||c,Nt(t,e),Fe=u):Nt(t,e),Ht(e),r&8192){if(u=e.memoizedState!==null,(e.stateNode.isHidden=u)&&!c&&e.mode&1)for(F=e,c=e.child;c!==null;){for(d=F=c;F!==null;){switch(f=F,h=f.child,f.tag){case 0:case 11:case 14:case 15:Ci(4,f,f.return);break;case 1:cs(f,f.return);var x=f.stateNode;if(typeof x.componentWillUnmount=="function"){r=f,n=f.return;try{t=r,x.props=t.memoizedProps,x.state=t.memoizedState,x.componentWillUnmount()}catch(y){ye(r,n,y)}}break;case 5:cs(f,f.return);break;case 22:if(f.memoizedState!==null){gp(d);continue}}h!==null?(h.return=f,F=h):gp(d)}c=c.sibling}e:for(c=null,d=e;;){if(d.tag===5){if(c===null){c=d;try{s=d.stateNode,u?(i=s.style,typeof i.setProperty=="function"?i.setProperty("display","none","important"):i.display="none"):(a=d.stateNode,l=d.memoizedProps.style,o=l!=null&&l.hasOwnProperty("display")?l.display:null,a.style.display=sy("display",o))}catch(y){ye(e,e.return,y)}}}else if(d.tag===6){if(c===null)try{d.stateNode.nodeValue=u?"":d.memoizedProps}catch(y){ye(e,e.return,y)}}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:Nt(t,e),Ht(e),r&4&&pp(e);break;case 21:break;default:Nt(t,e),Ht(e)}}function Ht(e){var t=e.flags;if(t&2){try{e:{for(var n=e.return;n!==null;){if(Av(n)){var r=n;break e}n=n.return}throw Error(j(160))}switch(r.tag){case 5:var s=r.stateNode;r.flags&32&&(Di(s,""),r.flags&=-33);var i=hp(e);Pc(e,i,s);break;case 3:case 4:var o=r.stateNode.containerInfo,a=hp(e);Tc(e,a,o);break;default:throw Error(j(161))}}catch(l){ye(e,e.return,l)}e.flags&=-3}t&4096&&(e.flags&=-4097)}function IS(e,t,n){F=e,Dv(e)}function Dv(e,t,n){for(var r=(e.mode&1)!==0;F!==null;){var s=F,i=s.child;if(s.tag===22&&r){var o=s.memoizedState!==null||Io;if(!o){var a=s.alternate,l=a!==null&&a.memoizedState!==null||Fe;a=Io;var u=Fe;if(Io=o,(Fe=l)&&!u)for(F=s;F!==null;)o=F,l=o.child,o.tag===22&&o.memoizedState!==null?yp(s):l!==null?(l.return=o,F=l):yp(s);for(;i!==null;)F=i,Dv(i),i=i.sibling;F=s,Io=a,Fe=u}mp(e)}else s.subtreeFlags&8772&&i!==null?(i.return=s,F=i):mp(e)}}function mp(e){for(;F!==null;){var t=F;if(t.flags&8772){var n=t.alternate;try{if(t.flags&8772)switch(t.tag){case 0:case 11:case 15:Fe||hl(5,t);break;case 1:var r=t.stateNode;if(t.flags&4&&!Fe)if(n===null)r.componentDidMount();else{var s=t.elementType===t.type?n.memoizedProps:Mt(t.type,n.memoizedProps);r.componentDidUpdate(s,n.memoizedState,r.__reactInternalSnapshotBeforeUpdate)}var i=t.updateQueue;i!==null&&Jh(t,i,r);break;case 3:var o=t.updateQueue;if(o!==null){if(n=null,t.child!==null)switch(t.child.tag){case 5:n=t.child.stateNode;break;case 1:n=t.child.stateNode}Jh(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&&Vi(d)}}}break;case 19:case 17:case 21:case 22:case 23:case 25:break;default:throw Error(j(163))}Fe||t.flags&512&&Cc(t)}catch(f){ye(t,t.return,f)}}if(t===e){F=null;break}if(n=t.sibling,n!==null){n.return=t.return,F=n;break}F=t.return}}function gp(e){for(;F!==null;){var t=F;if(t===e){F=null;break}var n=t.sibling;if(n!==null){n.return=t.return,F=n;break}F=t.return}}function yp(e){for(;F!==null;){var t=F;try{switch(t.tag){case 0:case 11:case 15:var n=t.return;try{hl(4,t)}catch(l){ye(t,n,l)}break;case 1:var r=t.stateNode;if(typeof r.componentDidMount=="function"){var s=t.return;try{r.componentDidMount()}catch(l){ye(t,s,l)}}var i=t.return;try{Cc(t)}catch(l){ye(t,i,l)}break;case 5:var o=t.return;try{Cc(t)}catch(l){ye(t,o,l)}}}catch(l){ye(t,t.return,l)}if(t===e){F=null;break}var a=t.sibling;if(a!==null){a.return=t.return,F=a;break}F=t.return}}var VS=Math.ceil,Ia=Sn.ReactCurrentDispatcher,nf=Sn.ReactCurrentOwner,wt=Sn.ReactCurrentBatchConfig,J=0,ke=null,be=null,je=0,ot=0,ds=dr(0),Te=0,qi=null,_r=0,pl=0,rf=0,Ti=null,Xe=null,sf=0,Fs=1/0,cn=null,Va=!1,kc=null,Jn=null,Vo=!1,Hn=null,Fa=0,Pi=0,Nc=null,sa=-1,ia=0;function Ke(){return J&6?ve():sa!==-1?sa:sa=ve()}function er(e){return e.mode&1?J&2&&je!==0?je&-je:wS.transition!==null?(ia===0&&(ia=yy()),ia):(e=ne,e!==0||(e=window.event,e=e===void 0?16:Cy(e.type)),e):1}function zt(e,t,n,r){if(50<Pi)throw Pi=0,Nc=null,Error(j(185));oo(e,n,r),(!(J&2)||e!==ke)&&(e===ke&&(!(J&2)&&(pl|=n),Te===4&&Fn(e,je)),tt(e,r),n===1&&J===0&&!(t.mode&1)&&(Fs=ve()+500,cl&&fr()))}function tt(e,t){var n=e.callbackNode;wb(e,t);var r=ba(e,e===ke?je:0);if(r===0)n!==null&&Ph(n),e.callbackNode=null,e.callbackPriority=0;else if(t=r&-r,e.callbackPriority!==t){if(n!=null&&Ph(n),t===1)e.tag===0?xS(vp.bind(null,e)):Wy(vp.bind(null,e)),mS(function(){!(J&6)&&fr()}),n=null;else{switch(vy(r)){case 1:n=Ad;break;case 4:n=my;break;case 16:n=wa;break;case 536870912:n=gy;break;default:n=wa}n=Bv(n,Lv.bind(null,e))}e.callbackPriority=t,e.callbackNode=n}}function Lv(e,t){if(sa=-1,ia=0,J&6)throw Error(j(327));var n=e.callbackNode;if(ws()&&e.callbackNode!==n)return null;var r=ba(e,e===ke?je:0);if(r===0)return null;if(r&30||r&e.expiredLanes||t)t=za(e,r);else{t=r;var s=J;J|=2;var i=Iv();(ke!==e||je!==t)&&(cn=null,Fs=ve()+500,Dr(e,t));do try{_S();break}catch(a){Ov(e,a)}while(!0);Wd(),Ia.current=i,J=s,be!==null?t=0:(ke=null,je=0,t=Te)}if(t!==0){if(t===2&&(s=tc(e),s!==0&&(r=s,t=Rc(e,s))),t===1)throw n=qi,Dr(e,0),Fn(e,r),tt(e,ve()),n;if(t===6)Fn(e,r);else{if(s=e.current.alternate,!(r&30)&&!FS(s)&&(t=za(e,r),t===2&&(i=tc(e),i!==0&&(r=i,t=Rc(e,i))),t===1))throw n=qi,Dr(e,0),Fn(e,r),tt(e,ve()),n;switch(e.finishedWork=s,e.finishedLanes=r,t){case 0:case 1:throw Error(j(345));case 2:wr(e,Xe,cn);break;case 3:if(Fn(e,r),(r&130023424)===r&&(t=sf+500-ve(),10<t)){if(ba(e,0)!==0)break;if(s=e.suspendedLanes,(s&r)!==r){Ke(),e.pingedLanes|=e.suspendedLanes&s;break}e.timeoutHandle=uc(wr.bind(null,e,Xe,cn),t);break}wr(e,Xe,cn);break;case 4:if(Fn(e,r),(r&4194240)===r)break;for(t=e.eventTimes,s=-1;0<r;){var o=31-Ft(r);i=1<<o,o=t[o],o>s&&(s=o),r&=~i}if(r=s,r=ve()-r,r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*VS(r/1960))-r,10<r){e.timeoutHandle=uc(wr.bind(null,e,Xe,cn),r);break}wr(e,Xe,cn);break;case 5:wr(e,Xe,cn);break;default:throw Error(j(329))}}}return tt(e,ve()),e.callbackNode===n?Lv.bind(null,e):null}function Rc(e,t){var n=Ti;return e.current.memoizedState.isDehydrated&&(Dr(e,t).flags|=256),e=za(e,t),e!==2&&(t=Xe,Xe=n,t!==null&&Ac(t)),e}function Ac(e){Xe===null?Xe=e:Xe.push.apply(Xe,e)}function FS(e){for(var t=e;;){if(t.flags&16384){var n=t.updateQueue;if(n!==null&&(n=n.stores,n!==null))for(var r=0;r<n.length;r++){var s=n[r],i=s.getSnapshot;s=s.value;try{if(!Bt(i(),s))return!1}catch{return!1}}}if(n=t.child,t.subtreeFlags&16384&&n!==null)n.return=t,t=n;else{if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return!0;t=t.return}t.sibling.return=t.return,t=t.sibling}}return!0}function Fn(e,t){for(t&=~rf,t&=~pl,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 vp(e){if(J&6)throw Error(j(327));ws();var t=ba(e,0);if(!(t&1))return tt(e,ve()),null;var n=za(e,t);if(e.tag!==0&&n===2){var r=tc(e);r!==0&&(t=r,n=Rc(e,r))}if(n===1)throw n=qi,Dr(e,0),Fn(e,t),tt(e,ve()),n;if(n===6)throw Error(j(345));return e.finishedWork=e.current.alternate,e.finishedLanes=t,wr(e,Xe,cn),tt(e,ve()),null}function of(e,t){var n=J;J|=1;try{return e(t)}finally{J=n,J===0&&(Fs=ve()+500,cl&&fr())}}function Br(e){Hn!==null&&Hn.tag===0&&!(J&6)&&ws();var t=J;J|=1;var n=wt.transition,r=ne;try{if(wt.transition=null,ne=1,e)return e()}finally{ne=r,wt.transition=n,J=t,!(J&6)&&fr()}}function af(){ot=ds.current,ue(ds)}function Dr(e,t){e.finishedWork=null,e.finishedLanes=0;var n=e.timeoutHandle;if(n!==-1&&(e.timeoutHandle=-1,pS(n)),be!==null)for(n=be.return;n!==null;){var r=n;switch(_d(r),r.tag){case 1:r=r.type.childContextTypes,r!=null&&Pa();break;case 3:Is(),ue(Je),ue(ze),Qd();break;case 5:qd(r);break;case 4:Is();break;case 13:ue(he);break;case 19:ue(he);break;case 10:$d(r.type._context);break;case 22:case 23:af()}n=n.return}if(ke=e,be=e=tr(e.current,null),je=ot=t,Te=0,qi=null,rf=pl=_r=0,Xe=Ti=null,Er!==null){for(t=0;t<Er.length;t++)if(n=Er[t],r=n.interleaved,r!==null){n.interleaved=null;var s=r.next,i=n.pending;if(i!==null){var o=i.next;i.next=s,r.next=o}n.pending=r}Er=null}return e}function Ov(e,t){do{var n=be;try{if(Wd(),ta.current=Oa,La){for(var r=pe.memoizedState;r!==null;){var s=r.queue;s!==null&&(s.pending=null),r=r.next}La=!1}if(zr=0,Pe=Ee=pe=null,Ei=!1,Hi=0,nf.current=null,n===null||n.return===null){Te=1,qi=t,be=null;break}e:{var i=e,o=n.return,a=n,l=t;if(t=je,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 h=ip(o);if(h!==null){h.flags&=-257,op(h,o,a,i,t),h.mode&1&&sp(i,u,t),t=h,l=u;var x=t.updateQueue;if(x===null){var y=new Set;y.add(l),t.updateQueue=y}else x.add(l);break e}else{if(!(t&1)){sp(i,u,t),lf();break e}l=Error(j(426))}}else if(de&&a.mode&1){var w=ip(o);if(w!==null){!(w.flags&65536)&&(w.flags|=256),op(w,o,a,i,t),Bd(Vs(l,a));break e}}i=l=Vs(l,a),Te!==4&&(Te=2),Ti===null?Ti=[i]:Ti.push(i),i=o;do{switch(i.tag){case 3:i.flags|=65536,t&=-t,i.lanes|=t;var g=vv(i,l,t);Zh(i,g);break e;case 1:a=l;var m=i.type,v=i.stateNode;if(!(i.flags&128)&&(typeof m.getDerivedStateFromError=="function"||v!==null&&typeof v.componentDidCatch=="function"&&(Jn===null||!Jn.has(v)))){i.flags|=65536,t&=-t,i.lanes|=t;var S=xv(i,a,t);Zh(i,S);break e}}i=i.return}while(i!==null)}Fv(n)}catch(E){t=E,be===n&&n!==null&&(be=n=n.return);continue}break}while(!0)}function Iv(){var e=Ia.current;return Ia.current=Oa,e===null?Oa:e}function lf(){(Te===0||Te===3||Te===2)&&(Te=4),ke===null||!(_r&268435455)&&!(pl&268435455)||Fn(ke,je)}function za(e,t){var n=J;J|=2;var r=Iv();(ke!==e||je!==t)&&(cn=null,Dr(e,t));do try{zS();break}catch(s){Ov(e,s)}while(!0);if(Wd(),J=n,Ia.current=r,be!==null)throw Error(j(261));return ke=null,je=0,Te}function zS(){for(;be!==null;)Vv(be)}function _S(){for(;be!==null&&!db();)Vv(be)}function Vv(e){var t=_v(e.alternate,e,ot);e.memoizedProps=e.pendingProps,t===null?Fv(e):be=t,nf.current=null}function Fv(e){var t=e;do{var n=t.alternate;if(e=t.return,t.flags&32768){if(n=DS(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=MS(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 wr(e,t,n){var r=ne,s=wt.transition;try{wt.transition=null,ne=1,BS(e,t,n,r)}finally{wt.transition=s,ne=r}return null}function BS(e,t,n,r){do ws();while(Hn!==null);if(J&6)throw Error(j(327));n=e.finishedWork;var s=e.finishedLanes;if(n===null)return null;if(e.finishedWork=null,e.finishedLanes=0,n===e.current)throw Error(j(177));e.callbackNode=null,e.callbackPriority=0;var i=n.lanes|n.childLanes;if(bb(e,i),e===ke&&(be=ke=null,je=0),!(n.subtreeFlags&2064)&&!(n.flags&2064)||Vo||(Vo=!0,Bv(wa,function(){return ws(),null})),i=(n.flags&15990)!==0,n.subtreeFlags&15990||i){i=wt.transition,wt.transition=null;var o=ne;ne=1;var a=J;J|=4,nf.current=null,OS(e,n),Mv(n,e),aS(ac),Sa=!!oc,ac=oc=null,e.current=n,IS(n),fb(),J=a,ne=o,wt.transition=i}else e.current=n;if(Vo&&(Vo=!1,Hn=e,Fa=s),i=e.pendingLanes,i===0&&(Jn=null),mb(n.stateNode),tt(e,ve()),t!==null)for(r=e.onRecoverableError,n=0;n<t.length;n++)s=t[n],r(s.value,{componentStack:s.stack,digest:s.digest});if(Va)throw Va=!1,e=kc,kc=null,e;return Fa&1&&e.tag!==0&&ws(),i=e.pendingLanes,i&1?e===Nc?Pi++:(Pi=0,Nc=e):Pi=0,fr(),null}function ws(){if(Hn!==null){var e=vy(Fa),t=wt.transition,n=ne;try{if(wt.transition=null,ne=16>e?16:e,Hn===null)var r=!1;else{if(e=Hn,Hn=null,Fa=0,J&6)throw Error(j(331));var s=J;for(J|=4,F=e.current;F!==null;){var i=F,o=i.child;if(F.flags&16){var a=i.deletions;if(a!==null){for(var l=0;l<a.length;l++){var u=a[l];for(F=u;F!==null;){var c=F;switch(c.tag){case 0:case 11:case 15:Ci(8,c,i)}var d=c.child;if(d!==null)d.return=c,F=d;else for(;F!==null;){c=F;var f=c.sibling,h=c.return;if(Rv(c),c===u){F=null;break}if(f!==null){f.return=h,F=f;break}F=h}}}var x=i.alternate;if(x!==null){var y=x.child;if(y!==null){x.child=null;do{var w=y.sibling;y.sibling=null,y=w}while(y!==null)}}F=i}}if(i.subtreeFlags&2064&&o!==null)o.return=i,F=o;else e:for(;F!==null;){if(i=F,i.flags&2048)switch(i.tag){case 0:case 11:case 15:Ci(9,i,i.return)}var g=i.sibling;if(g!==null){g.return=i.return,F=g;break e}F=i.return}}var m=e.current;for(F=m;F!==null;){o=F;var v=o.child;if(o.subtreeFlags&2064&&v!==null)v.return=o,F=v;else e:for(o=m;F!==null;){if(a=F,a.flags&2048)try{switch(a.tag){case 0:case 11:case 15:hl(9,a)}}catch(E){ye(a,a.return,E)}if(a===o){F=null;break e}var S=a.sibling;if(S!==null){S.return=a.return,F=S;break e}F=a.return}}if(J=s,fr(),en&&typeof en.onPostCommitFiberRoot=="function")try{en.onPostCommitFiberRoot(il,e)}catch{}r=!0}return r}finally{ne=n,wt.transition=t}}return!1}function xp(e,t,n){t=Vs(n,t),t=vv(e,t,1),e=Zn(e,t,1),t=Ke(),e!==null&&(oo(e,1,t),tt(e,t))}function ye(e,t,n){if(e.tag===3)xp(e,e,n);else for(;t!==null;){if(t.tag===3){xp(t,e,n);break}else if(t.tag===1){var r=t.stateNode;if(typeof t.type.getDerivedStateFromError=="function"||typeof r.componentDidCatch=="function"&&(Jn===null||!Jn.has(r))){e=Vs(n,e),e=xv(t,e,1),t=Zn(t,e,1),e=Ke(),t!==null&&(oo(t,1,e),tt(t,e));break}}t=t.return}}function US(e,t,n){var r=e.pingCache;r!==null&&r.delete(t),t=Ke(),e.pingedLanes|=e.suspendedLanes&n,ke===e&&(je&n)===n&&(Te===4||Te===3&&(je&130023424)===je&&500>ve()-sf?Dr(e,0):rf|=n),tt(e,t)}function zv(e,t){t===0&&(e.mode&1?(t=ko,ko<<=1,!(ko&130023424)&&(ko=4194304)):t=1);var n=Ke();e=vn(e,t),e!==null&&(oo(e,t,n),tt(e,n))}function WS(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),zv(e,n)}function $S(e,t){var n=0;switch(e.tag){case 13:var r=e.stateNode,s=e.memoizedState;s!==null&&(n=s.retryLane);break;case 19:r=e.stateNode;break;default:throw Error(j(314))}r!==null&&r.delete(t),zv(e,n)}var _v;_v=function(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps||Je.current)Ze=!0;else{if(!(e.lanes&n)&&!(t.flags&128))return Ze=!1,jS(e,t,n);Ze=!!(e.flags&131072)}else Ze=!1,de&&t.flags&1048576&&$y(t,Ra,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;ra(e,t),e=t.pendingProps;var s=Ds(t,ze.current);xs(t,n),s=Xd(null,t,r,e,s,n);var i=Zd();return t.flags|=1,typeof s=="object"&&s!==null&&typeof s.render=="function"&&s.$$typeof===void 0?(t.tag=1,t.memoizedState=null,t.updateQueue=null,et(r)?(i=!0,ka(t)):i=!1,t.memoizedState=s.state!==null&&s.state!==void 0?s.state:null,Kd(t),s.updater=fl,t.stateNode=s,s._reactInternals=t,gc(t,r,e,n),t=xc(null,t,r,!0,i,n)):(t.tag=0,de&&i&&zd(t),Be(null,t,s,n),t=t.child),t;case 16:r=t.elementType;e:{switch(ra(e,t),e=t.pendingProps,s=r._init,r=s(r._payload),t.type=r,s=t.tag=KS(r),e=Mt(r,e),s){case 0:t=vc(null,t,r,e,n);break e;case 1:t=up(null,t,r,e,n);break e;case 11:t=ap(null,t,r,e,n);break e;case 14:t=lp(null,t,r,Mt(r.type,e),n);break e}throw Error(j(306,r,""))}return t;case 0:return r=t.type,s=t.pendingProps,s=t.elementType===r?s:Mt
vendor: 1,197 bytes, line 40
40(r,s),vc(e,t,r,s,n);case 1:return r=t.type,s=t.pendingProps,s=t.elementType===r?s:Mt(r,s),up(e,t,r,s,n);case 3:e:{if(Ev(t),e===null)throw Error(j(387));r=t.pendingProps,i=t.memoizedState,s=i.element,Yy(e,t),Ma(t,r,null,n);var o=t.memoizedState;if(r=o.element,i.isDehydrated)if(i={element:r,isDehydrated:!1,cache:o.cache,pendingSuspenseBoundaries:o.pendingSuspenseBoundaries,transitions:o.transitions},t.updateQueue.baseState=i,t.memoizedState=i,t.flags&256){s=Vs(Error(j(423)),t),t=cp(e,t,r,n,s);break e}else if(r!==s){s=Vs(Error(j(424)),t),t=cp(e,t,r,n,s);break e}else for(lt=Xn(t.stateNode.containerInfo.firstChild),ut=t,de=!0,Vt=null,n=qy(t,null,r,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling;else{if(Ls(),r===s){t=xn(e,t,n);break e}Be(e,t,r,n)}t=t.child}return t;case 5:return Xy(t),e===null&&hc(t),r=t.type,s=t.pendingProps,i=e!==null?e.memoizedProps:null,o=s.children,lc(r,s)?o=null:i!==null&&lc(r,i)&&(t.flags|=32),Sv(e,t),Be(e,t,o,n),t.child;case 6:return e===null&&hc(t),null;case 13:return Cv(e,t,n);case 4:return Gd(t,t.stateNode.containerInfo),r=t.pendingProps,e===null?t.child=Os(t,null,r,n):Be(e,t,r,n),t.child;case 11:return r=t.type,s=t.pendingProps,s=t.elementType===r?s:Mt
vendor: 1,449 bytes, line 40
40(r,s),ap(e,t,r,s,n);case 7:return Be(e,t,t.pendingProps,n),t.child;case 8:return Be(e,t,t.pendingProps.children,n),t.child;case 12:return Be(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(r=t.type._context,s=t.pendingProps,i=t.memoizedProps,o=s.value,ie(Aa,r._currentValue),r._currentValue=o,i!==null)if(Bt(i.value,o)){if(i.children===s.children&&!Je.current){t=xn(e,t,n);break e}}else for(i=t.child,i!==null&&(i.return=t);i!==null;){var a=i.dependencies;if(a!==null){o=i.child;for(var l=a.firstContext;l!==null;){if(l.context===r){if(i.tag===1){l=mn(-1,n&-n),l.tag=2;var u=i.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}}i.lanes|=n,l=i.alternate,l!==null&&(l.lanes|=n),pc(i.return,n,t),a.lanes|=n;break}l=l.next}}else if(i.tag===10)o=i.type===t.type?null:i.child;else if(i.tag===18){if(o=i.return,o===null)throw Error(j(341));o.lanes|=n,a=o.alternate,a!==null&&(a.lanes|=n),pc(o,n,t),o=i.sibling}else o=i.child;if(o!==null)o.return=i;else for(o=i;o!==null;){if(o===t){o=null;break}if(i=o.sibling,i!==null){i.return=o.return,o=i;break}o=o.return}i=o}Be(e,t,s.children,n),t=t.child}return t;case 9:return s=t.type,r=t.pendingProps.children,xs(t,n),s=Et(s),r=r(s),t.flags|=1,Be(e,t,r,n),t.child;case 14:return r=t.type,s=Mt(r,t.pendingProps),s=Mt(r.type,s),lp(e,t,r,s,n);case 15:return wv(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,s=t.pendingProps,s=t.elementType===r?s:Mt
vendor: 5,368 bytes, line 40
40(r,s),ra(e,t),t.tag=1,et(r)?(e=!0,ka(t)):e=!1,xs(t,n),yv(t,r,s),gc(t,r,s,n),xc(null,t,r,!0,e,n);case 19:return Tv(e,t,n);case 22:return bv(e,t,n)}throw Error(j(156,t.tag))};function Bv(e,t){return py(e,t)}function HS(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 vt(e,t,n,r){return new HS(e,t,n,r)}function uf(e){return e=e.prototype,!(!e||!e.isReactComponent)}function KS(e){if(typeof e=="function")return uf(e)?1:0;if(e!=null){if(e=e.$$typeof,e===kd)return 11;if(e===Nd)return 14}return 2}function tr(e,t){var n=e.alternate;return n===null?(n=vt(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 oa(e,t,n,r,s,i){var o=2;if(r=e,typeof e=="function")uf(e)&&(o=1);else if(typeof e=="string")o=5;else e:switch(e){case ts:return Lr(n.children,s,i,t);case Pd:o=8,s|=8;break;case _u:return e=vt(12,n,t,s|2),e.elementType=_u,e.lanes=i,e;case Bu:return e=vt(13,n,t,s),e.elementType=Bu,e.lanes=i,e;case Uu:return e=vt(19,n,t,s),e.elementType=Uu,e.lanes=i,e;case Xg:return ml(n,s,i,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case Qg:o=10;break e;case Yg:o=9;break e;case kd:o=11;break e;case Nd:o=14;break e;case On:o=16,r=null;break e}throw Error(j(130,e==null?e:typeof e,""))}return t=vt(o,n,t,s),t.elementType=e,t.type=r,t.lanes=i,t}function Lr(e,t,n,r){return e=vt(7,e,r,t),e.lanes=n,e}function ml(e,t,n,r){return e=vt(22,e,r,t),e.elementType=Xg,e.lanes=n,e.stateNode={isHidden:!1},e}function hu(e,t,n){return e=vt(6,e,null,t),e.lanes=n,e}function pu(e,t,n){return t=vt(4,e.children!==null?e.children:[],e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function GS(e,t,n,r,s){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=ql(0),this.expirationTimes=ql(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=ql(0),this.identifierPrefix=r,this.onRecoverableError=s,this.mutableSourceEagerHydrationData=null}function cf(e,t,n,r,s,i,o,a,l){return e=new GS(e,t,n,a,l),t===1?(t=1,i===!0&&(t|=8)):t=0,i=vt(3,null,null,t),e.current=i,i.stateNode=e,i.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},Kd(i),e}function qS(e,t,n){var r=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:es,key:r==null?null:""+r,children:e,containerInfo:t,implementation:n}}function Uv(e){if(!e)return rr;e=e._reactInternals;e:{if($r(e)!==e||e.tag!==1)throw Error(j(170));var t=e;do{switch(t.tag){case 3:t=t.stateNode.context;break e;case 1:if(et(t.type)){t=t.stateNode.__reactInternalMemoizedMergedChildContext;break e}}t=t.return}while(t!==null);throw Error(j(171))}if(e.tag===1){var n=e.type;if(et(n))return Uy(e,n,t)}return t}function Wv(e,t,n,r,s,i,o,a,l){return e=cf(n,r,!0,e,s,i,o,a,l),e.context=Uv(null),n=e.current,r=Ke(),s=er(n),i=mn(r,s),i.callback=t??null,Zn(n,i,s),e.current.lanes=s,oo(e,s,r),tt(e,r),e}function gl(e,t,n,r){var s=t.current,i=Ke(),o=er(s);return n=Uv(n),t.context===null?t.context=n:t.pendingContext=n,t=mn(i,o),t.payload={element:e},r=r===void 0?null:r,r!==null&&(t.callback=r),e=Zn(s,t,o),e!==null&&(zt(e,s,o,i),ea(e,s,o)),o}function _a(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 wp(e,t){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var n=e.retryLane;e.retryLane=n!==0&&n<t?n:t}}function df(e,t){wp(e,t),(e=e.alternate)&&wp(e,t)}function QS(){return null}var $v=typeof reportError=="function"?reportError:function(e){console.error(e)};function ff(e){this._internalRoot=e}yl.prototype.render=ff.prototype.render=function(e){var t=this._internalRoot;if(t===null)throw Error(j(409));gl(e,t,null,null)};yl.prototype.unmount=ff.prototype.unmount=function(){var e=this._internalRoot;if(e!==null){this._internalRoot=null;var t=e.containerInfo;Br(function(){gl(null,e,null,null)}),t[yn]=null}};function yl(e){this._internalRoot=e}yl.prototype.unstable_scheduleHydration=function(e){if(e){var t=by();e={blockedOn:null,target:e,priority:t};for(var n=0;n<Vn.length&&t!==0&&t<Vn[n].priority;n++);Vn.splice(n,0,e),n===0&&Ey(e)}};function hf(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}function vl(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11&&(e.nodeType!==8||e.nodeValue!==" react-mount-point-unstable "))}function bp(){}
vendor: 5,612 bytes, line 40
40function YS(e,t,n,r,s){if(s){if(typeof r=="function"){var i=r;r=function(){var u=_a(o);i.call(u)}}var o=Wv(t,r,e,0,null,!1,!1,"",bp);return e._reactRootContainer=o,e[yn]=o.current,_i(e.nodeType===8?e.parentNode:e),Br(),o}for(;s=e.lastChild;)e.removeChild(s);if(typeof r=="function"){var a=r;r=function(){var u=_a(l);a.call(u)}}var l=cf(e,0,!1,null,null,!1,!1,"",bp);return e._reactRootContainer=l,e[yn]=l.current,_i(e.nodeType===8?e.parentNode:e),Br(function(){gl(t,l,n,r)}),l}function xl(e,t,n,r,s){var i=n._reactRootContainer;if(i){var o=i;if(typeof s=="function"){var a=s;s=function(){var l=_a(o);a.call(l)}}gl(t,o,e,s)}else o=YS(n,t,e,s,r);return _a(o)}xy=function(e){switch(e.tag){case 3:var t=e.stateNode;if(t.current.memoizedState.isDehydrated){var n=mi(t.pendingLanes);n!==0&&(jd(t,n|1),tt(t,ve()),!(J&6)&&(Fs=ve()+500,fr()))}break;case 13:Br(function(){var r=vn(e,1);if(r!==null){var s=Ke();zt(r,e,1,s)}}),df(e,1)}};Md=function(e){if(e.tag===13){var t=vn(e,134217728);if(t!==null){var n=Ke();zt(t,e,134217728,n)}df(e,134217728)}};wy=function(e){if(e.tag===13){var t=er(e),n=vn(e,t);if(n!==null){var r=Ke();zt(n,e,t,r)}df(e,t)}};by=function(){return ne};Sy=function(e,t){var n=ne;try{return ne=e,t()}finally{ne=n}};Zu=function(e,t,n){switch(t){case"input":if(Hu(e,n),t=n.name,n.type==="radio"&&t!=null){for(n=e;n.parentNode;)n=n.parentNode;for(n=n.querySelectorAll("input[name="+JSON.stringify(""+t)+'][type="radio"]'),t=0;t<n.length;t++){var r=n[t];if(r!==e&&r.form===e.form){var s=ul(r);if(!s)throw Error(j(90));Jg(r),Hu(r,s)}}}break;case"textarea":ty(e,n);break;case"select":t=n.value,t!=null&&ms(e,!!n.multiple,t,!1)}};ly=of;uy=Br;var XS={usingClientEntryPoint:!1,Events:[lo,is,ul,oy,ay,of]},li={findFiberByHostInstance:Sr,bundleType:0,version:"18.3.1",rendererPackageName:"react-dom"},ZS={bundleType:li.bundleType,version:li.version,rendererPackageName:li.rendererPackageName,rendererConfig:li.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:Sn.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return e=fy(e),e===null?null:e.stateNode},findFiberByHostInstance:li.findFiberByHostInstance||QS,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 Fo=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!Fo.isDisabled&&Fo.supportsFiber)try{il=Fo.inject(ZS),en=Fo}catch{}}ft.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=XS;ft.createPortal=function(e,t){var n=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!hf(t))throw Error(j(200));return qS(e,t,null,n)};ft.createRoot=function(e,t){if(!hf(e))throw Error(j(299));var n=!1,r="",s=$v;return t!=null&&(t.unstable_strictMode===!0&&(n=!0),t.identifierPrefix!==void 0&&(r=t.identifierPrefix),t.onRecoverableError!==void 0&&(s=t.onRecoverableError)),t=cf(e,1,!1,null,null,n,!1,r,s),e[yn]=t.current,_i(e.nodeType===8?e.parentNode:e),new ff(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(j(188)):(e=Object.keys(e).join(","),Error(j(268,e)));return e=fy(t),e=e===null?null:e.stateNode,e};ft.flushSync=function(e){return Br(e)};ft.hydrate=function(e,t,n){if(!vl(t))throw Error(j(200));return xl(null,e,t,!0,n)};ft.hydrateRoot=function(e,t,n){if(!hf(e))throw Error(j(405));var r=n!=null&&n.hydratedSources||null,s=!1,i="",o=$v;if(n!=null&&(n.unstable_strictMode===!0&&(s=!0),n.identifierPrefix!==void 0&&(i=n.identifierPrefix),n.onRecoverableError!==void 0&&(o=n.onRecoverableError)),t=Wv(t,null,e,1,n??null,s,!1,i,o),e[yn]=t.current,_i(e),r)for(e=0;e<r.length;e++)n=r[e],s=n._getVersion,s=s(n._source),t.mutableSourceEagerHydrationData==null?t.mutableSourceEagerHydrationData=[n,s]:t.mutableSourceEagerHydrationData.push(n,s);return new yl(t)};ft.render=function(e,t,n){if(!vl(t))throw Error(j(200));return xl(null,e,t,!1,n)};ft.unmountComponentAtNode=function(e){if(!vl(e))throw Error(j(40));return e._reactRootContainer?(Br(function(){xl(null,null,e,!1,function(){e._reactRootContainer=null,e[yn]=null})}),!0):!1};ft.unstable_batchedUpdates=of;ft.unstable_renderSubtreeIntoContainer=function(e,t,n,r){if(!vl(n))throw Error(j(200));if(e==null||e._reactInternals===void 0)throw Error(j(38));return xl(e,t,n,!1,r)};ft.version="18.3.1-next-f1338f8080-20240426";function Hv(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(Hv)}catch(e){console.error(e)}}Hv(),Hg.exports=ft;var co=Hg.exports;const Kv=Mg(co);var Gv,Sp=co;Gv=Sp.createRoot,Sp.hydrateRoot;var wl=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(){}},bl=typeof window>"u"||"Deno"in globalThis;function Dt(){}function JS(e,t){return typeof e=="function"?e(t):e}function eE(e){return typeof e=="number"&&e>=0&&e!==1/0}function tE(e,t){return Math.max(e+(t||0)-Date.now(),0)}function jc(e,t){return typeof e=="function"?e(t):e}function nE(e,t){return typeof e=="function"?e(t):e}function Ep(e,t){const{type:n="all",exact:r,fetchStatus:s,predicate:i,queryKey:o,stale:a}=e;
vendor: 17,584 bytes, line 40
40if(o){if(r){if(t.queryHash!==pf(o,t.options))return!1}else if(!Yi(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||s&&s!==t.state.fetchStatus||i&&!i(t))}function Cp(e,t){const{exact:n,status:r,predicate:s,mutationKey:i}=e;if(i){if(!t.options.mutationKey)return!1;if(n){if(Qi(t.options.mutationKey)!==Qi(i))return!1}else if(!Yi(t.options.mutationKey,i))return!1}return!(r&&t.state.status!==r||s&&!s(t))}function pf(e,t){return((t==null?void 0:t.queryKeyHashFn)||Qi)(e)}function Qi(e){return JSON.stringify(e,(t,n)=>Mc(n)?Object.keys(n).sort().reduce((r,s)=>(r[s]=n[s],r),{}):n)}function Yi(e,t){return e===t?!0:typeof e!=typeof t?!1:e&&t&&typeof e=="object"&&typeof t=="object"?Object.keys(t).every(n=>Yi(e[n],t[n])):!1}function qv(e,t){if(e===t)return e;const n=Tp(e)&&Tp(t);if(n||Mc(e)&&Mc(t)){const r=n?e:Object.keys(e),s=r.length,i=n?t:Object.keys(t),o=i.length,a=n?[]:{},l=new Set(r);let u=0;for(let c=0;c<o;c++){const d=n?c:i[c];(!n&&l.has(d)||n)&&e[d]===void 0&&t[d]===void 0?(a[d]=void 0,u++):(a[d]=qv(e[d],t[d]),a[d]===e[d]&&e[d]!==void 0&&u++)}return s===o&&u===s?e:a}return t}function Tp(e){return Array.isArray(e)&&e.length===Object.keys(e).length}function Mc(e){if(!Pp(e))return!1;const t=e.constructor;if(t===void 0)return!0;const n=t.prototype;return!(!Pp(n)||!n.hasOwnProperty("isPrototypeOf")||Object.getPrototypeOf(e)!==Object.prototype)}function Pp(e){return Object.prototype.toString.call(e)==="[object Object]"}function rE(e){return new Promise(t=>{setTimeout(t,e)})}function sE(e,t,n){return typeof n.structuralSharing=="function"?n.structuralSharing(e,t):n.structuralSharing!==!1?qv(e,t):t}function iE(e,t,n=0){const r=[...e,t];return n&&r.length>n?r.slice(1):r}function oE(e,t,n=0){const r=[t,...e];return n&&r.length>n?r.slice(0,-1):r}var mf=Symbol();function Qv(e,t){return!e.queryFn&&(t!=null&&t.initialPromise)?()=>t.initialPromise:!e.queryFn||e.queryFn===mf?()=>Promise.reject(new Error(`Missing queryFn: '${e.queryHash}'`)):e.queryFn}var kr,zn,Cs,Cg,aE=(Cg=class extends wl{constructor(){super();ee(this,kr);ee(this,zn);ee(this,Cs);G(this,Cs,t=>{if(!bl&&window.addEventListener){const n=()=>t();return window.addEventListener("visibilitychange",n,!1),()=>{window.removeEventListener("visibilitychange",n)}}})}onSubscribe(){A(this,zn)||this.setEventListener(A(this,Cs))}onUnsubscribe(){var t;this.hasListeners()||((t=A(this,zn))==null||t.call(this),G(this,zn,void 0))}setEventListener(t){var n;G(this,Cs,t),(n=A(this,zn))==null||n.call(this),G(this,zn,t(r=>{typeof r=="boolean"?this.setFocused(r):this.onFocus()}))}setFocused(t){A(this,kr)!==t&&(G(this,kr,t),this.onFocus())}onFocus(){const t=this.isFocused();this.listeners.forEach(n=>{n(t)})}isFocused(){var t;return typeof A(this,kr)=="boolean"?A(this,kr):((t=globalThis.document)==null?void 0:t.visibilityState)!=="hidden"}},kr=new WeakMap,zn=new WeakMap,Cs=new WeakMap,Cg),Yv=new aE,Ts,_n,Ps,Tg,lE=(Tg=class extends wl{constructor(){super();ee(this,Ts,!0);ee(this,_n);ee(this,Ps);G(this,Ps,t=>{if(!bl&&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(){A(this,_n)||this.setEventListener(A(this,Ps))}onUnsubscribe(){var t;this.hasListeners()||((t=A(this,_n))==null||t.call(this),G(this,_n,void 0))}setEventListener(t){var n;G(this,Ps,t),(n=A(this,_n))==null||n.call(this),G(this,_n,t(this.setOnline.bind(this)))}setOnline(t){A(this,Ts)!==t&&(G(this,Ts,t),this.listeners.forEach(r=>{r(t)}))}isOnline(){return A(this,Ts)}},Ts=new WeakMap,_n=new WeakMap,Ps=new WeakMap,Tg),Ba=new lE;function uE(){let e,t;const n=new Promise((s,i)=>{e=s,t=i});n.status="pending",n.catch(()=>{});function r(s){Object.assign(n,s),delete n.resolve,delete n.reject}return n.resolve=s=>{r({status:"fulfilled",value:s}),e(s)},n.reject=s=>{r({status:"rejected",reason:s}),t(s)},n}function cE(e){return Math.min(1e3*2**e,3e4)}function Xv(e){return(e??"online")==="online"?Ba.isOnline():!0}var Zv=class extends Error{constructor(e){super("CancelledError"),this.revert=e==null?void 0:e.revert,this.silent=e==null?void 0:e.silent}};function mu(e){return e instanceof Zv}function Jv(e){let t=!1,n=0,r=!1,s;const i=uE(),o=y=>{var w;r||(f(new Zv(y)),(w=e.abort)==null||w.call(e))},a=()=>{t=!0},l=()=>{t=!1},u=()=>Yv.isFocused()&&(e.networkMode==="always"||Ba.isOnline())&&e.canRun(),c=()=>Xv(e.networkMode)&&e.canRun(),d=y=>{var w;r||(r=!0,(w=e.onSuccess)==null||w.call(e,y),s==null||s(),i.resolve(y))},f=y=>{var w;r||(r=!0,(w=e.onError)==null||w.call(e,y),s==null||s(),i.reject(y))},h=()=>new Promise(y=>{var w;s=g=>{(r||u())&&y(g)},(w=e.onPause)==null||w.call(e)}).then(()=>{var y;s=void 0,r||(y=e.onContinue)==null||y.call(e)}),x=()=>{if(r)return;let y;const w=n===0?e.initialPromise:void 0;try{y=w??e.fn()}catch(g){y=Promise.reject(g)}Promise.resolve(y).then(d).catch(g=>{var C;if(r)return;const m=e.retry??(bl?0:3),v=e.retryDelay??cE,S=typeof v=="function"?v(n,g):v,E=m===!0||typeof m=="number"&&n<m||typeof m=="function"&&m(n,g);if(t||!E){f(g);return}n++,(C=e.onFail)==null||C.call(e,n,g),rE(S).then(()=>u()?void 0:h()).then(()=>{t?f(g):x()})})};return{promise:i,cancel:o,continue:()=>(s==null||s(),i),cancelRetry:a,continueRetry:l,canStart:c,start:()=>(c()?x():h().then(x),i)}}var dE=e=>setTimeout(e,0);function fE(){let e=[],t=0,n=a=>{a()},r=a=>{a()},s=dE;const i=a=>{t?e.push(a):s(()=>{n(a)})},o=()=>{const a=e;e=[],a.length&&s(()=>{r(()=>{a.forEach(l=>{n(l)})})})};return{batch:a=>{let l;t++;try{l=a()}finally{t--,t||o()}return l},batchCalls:a=>(...l)=>{i(()=>{a(...l)})},schedule:i,setNotifyFunction:a=>{n=a},setBatchNotifyFunction:a=>{r=a},setScheduler:a=>{s=a}}}var Ue=fE(),Nr,Pg,e0=(Pg=class{constructor(){ee(this,Nr)}destroy(){this.clearGcTimeout()}scheduleGc(){this.clearGcTimeout(),eE(this.gcTime)&&G(this,Nr,setTimeout(()=>{this.optionalRemove()},this.gcTime))}updateGcTime(e){this.gcTime=Math.max(this.gcTime||0,e??(bl?1/0:5*60*1e3))}clearGcTimeout(){A(this,Nr)&&(clearTimeout(A(this,Nr)),G(this,Nr,void 0))}},Nr=new WeakMap,Pg),ks,Rr,mt,Ar,Ve,ro,jr,Lt,un,kg,hE=(kg=class extends e0{constructor(t){super();ee(this,Lt);ee(this,ks);ee(this,Rr);ee(this,mt);ee(this,Ar);ee(this,Ve);ee(this,ro);ee(this,jr);G(this,jr,!1),G(this,ro,t.defaultOptions),this.setOptions(t.options),this.observers=[],G(this,Ar,t.client),G(this,mt,A(this,Ar).getQueryCache()),this.queryKey=t.queryKey,this.queryHash=t.queryHash,G(this,ks,mE(this.options)),this.state=t.state??A(this,ks),this.scheduleGc()}get meta(){return this.options.meta}get promise(){var t;return(t=A(this,Ve))==null?void 0:t.promise}setOptions(t){this.options={...A(this,ro),...t},this.updateGcTime(this.options.gcTime)}optionalRemove(){!this.observers.length&&this.state.fetchStatus==="idle"&&A(this,mt).remove(this)}setData(t,n){const r=sE(this.state.data,t,this.options);return Le(this,Lt,un).call(this,{data:r,type:"success",dataUpdatedAt:n==null?void 0:n.updatedAt,manual:n==null?void 0:n.manual}),r}setState(t,n){Le(this,Lt,un).call(this,{type:"setState",state:t,setStateOptions:n})}cancel(t){var r,s;const n=(r=A(this,Ve))==null?void 0:r.promise;return(s=A(this,Ve))==null||s.cancel(t),n?n.then(Dt).catch(Dt):Promise.resolve()}destroy(){super.destroy(),this.cancel({silent:!0})}reset(){this.destroy(),this.setState(A(this,ks))}isActive(){return this.observers.some(t=>nE(t.options.enabled,this)!==!1)}isDisabled(){return this.getObserversCount()>0?!this.isActive():this.options.queryFn===mf||this.state.dataUpdateCount+this.state.errorUpdateCount===0}isStatic(){return this.getObserversCount()>0?this.observers.some(t=>jc(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:!tE(this.state.dataUpdatedAt,t)}onFocus(){var n;const t=this.observers.find(r=>r.shouldFetchOnWindowFocus());t==null||t.refetch({cancelRefetch:!1}),(n=A(this,Ve))==null||n.continue()}onOnline(){var n;const t=this.observers.find(r=>r.shouldFetchOnReconnect());t==null||t.refetch({cancelRefetch:!1}),(n=A(this,Ve))==null||n.continue()}addObserver(t){this.observers.includes(t)||(this.observers.push(t),this.clearGcTimeout(),A(this,mt).notify({type:"observerAdded",query:this,observer:t}))}removeObserver(t){this.observers.includes(t)&&(this.observers=this.observers.filter(n=>n!==t),this.observers.length||(A(this,Ve)&&(A(this,jr)?A(this,Ve).cancel({revert:!0}):A(this,Ve).cancelRetry()),this.scheduleGc()),A(this,mt).notify({type:"observerRemoved",query:this,observer:t}))}getObserversCount(){return this.observers.length}invalidate(){this.state.isInvalidated||Le(this,Lt,un).call(this,{type:"invalidate"})}fetch(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(A(this,Ve))return A(this,Ve).continueRetry(),A(this,Ve).promise}if(t&&this.setOptions(t),!this.options.queryFn){const f=this.observers.find(h=>h.options.queryFn);f&&this.setOptions(f.options)}const r=new AbortController,s=f=>{Object.defineProperty(f,"signal",{enumerable:!0,get:()=>(G(this,jr,!0),r.signal)})},i=()=>{const f=Qv(this.options,n),x=(()=>{const y={client:A(this,Ar),queryKey:this.queryKey,meta:this.meta};return s(y),y})();return G(this,jr,!1),this.options.persister?this.options.persister(f,x,this):f(x)},a=(()=>{const f={fetchOptions:n,options:this.options,queryKey:this.queryKey,client:A(this,Ar),state:this.state,fetchFn:i};return s(f),f})();(u=this.options.behavior)==null||u.onFetch(a,this),G(this,Rr,this.state),(this.state.fetchStatus==="idle"||this.state.fetchMeta!==((c=a.fetchOptions)==null?void 0:c.meta))&&Le(this,Lt,un).call(this,{type:"fetch",meta:(d=a.fetchOptions)==null?void 0:d.meta});const l=f=>{var h,x,y,w;mu(f)&&f.silent||Le(this,Lt,un).call(this,{type:"error",error:f}),mu(f)||((x=(h=A(this,mt).config).onError)==null||x.call(h,f,this),(w=(y=A(this,mt).config).onSettled)==null||w.call(y,this.state.data,f,this)),this.scheduleGc()};return G(this,Ve,Jv({initialPromise:n==null?void 0:n.initialPromise,fn:a.fetchFn,abort:r.abort.bind(r),onSuccess:f=>{var h,x,y,w;if(f===void 0){l(new Error(`${this.queryHash} data is undefined`));return}try{this.setData(f)}catch(g){l(g);return}(x=(h=A(this,mt).config).onSuccess)==null||x.call(h,f,this),(w=(y=A(this,mt).config).onSettled)==null||w.call(y,f,this.state.error,this),this.scheduleGc()},onError:l,onFail:(f,h)=>{Le(this,Lt,un).call(this,{type:"failed",failureCount:f,error:h})},onPause:()=>{Le(this,Lt,un).call(this,{type:"pause"})},onContinue:()=>{Le(this,Lt,un).call(this,{type:"continue"})},retry:a.options.retry,retryDelay:a.options.retryDelay,networkMode:a.options.networkMode,canRun:()=>!0})),A(this,Ve).start()}},ks=new WeakMap,Rr=new WeakMap,mt=new WeakMap,Ar=new WeakMap,Ve=new WeakMap,ro=new WeakMap,jr=new WeakMap,Lt=new WeakSet,un=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,...pE(r.data,this.options),fetchMeta:t.meta??null};case"success":return G(this,Rr,void 0),{...r,data:t.data,dataUpdateCount:r.dataUpdateCount+1,dataUpdatedAt:t.dataUpdatedAt??Date.now(),error:null,isInvalidated:!1,status:"success",...!t.manual&&{fetchStatus:"idle",fetchFailureCount:0,fetchFailureReason:null}};case"error":const s=t.error;return mu(s)&&s.revert&&A(this,Rr)?{...A(this,Rr),fetchStatus:"idle"}:{...r,error:s,errorUpdateCount:r.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:r.fetchFailureCount+1,fetchFailureReason:s,fetchStatus:"idle",status:"error"};case"invalidate":return{...r,isInvalidated:!0};case"setState":return{...r,...t.state}}};this.state=n(this.state),Ue.batch(()=>{this.observers.forEach(r=>{r.onQueryUpdate()}),A(this,mt).notify({query:this,type:"updated",action:t})})},kg);function pE(e,t){return{fetchFailureCount:0,fetchFailureReason:null,fetchStatus:Xv(t.networkMode)?"fetching":"paused",...e===void 0&&{error:null,status:"pending"}}}function mE(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 qt,Ng,gE=(Ng=class extends wl{constructor(t={}){super();ee(this,qt);this.config=t,G(this,qt,new Map)}build(t,n,r){const s=n.queryKey,i=n.queryHash??pf(s,n);let o=this.get(i);return o||(o=new hE({client:t,queryKey:s,queryHash:i,options:t.defaultQueryOptions(n),state:r,defaultOptions:t.getQueryDefaults(s)}),this.add(o)),o}add(t){A(this,qt).has(t.queryHash)||(A(this,qt).set(t.queryHash,t),this.notify({type:"added",query:t}))}remove(t){const n=A(this,qt).get(t.queryHash);n&&(t.destroy(),n===t&&A(this,qt).delete(t.queryHash),this.notify({type:"removed",query:t}))}clear(){Ue.batch(()=>{this.getAll().forEach(t=>{this.remove(t)})})}get(t){return A(this,qt).get(t)}getAll(){return[...A(this,qt).values()]}find(t){const n={exact:!0,...t};return this.getAll().find(r=>Ep(n,r))}findAll(t={}){const n=this.getAll();return Object.keys(t).length>0?n.filter(r=>Ep(t,r)):n}notify(t){Ue.batch(()=>{this.listeners.forEach(n=>{n(t)})})}onFocus(){Ue.batch(()=>{this.getAll().forEach(t=>{t.onFocus()})})}onOnline(){Ue.batch(()=>{this.getAll().forEach(t=>{t.onOnline()})})}},qt=new WeakMap,Ng),Qt,_e,Mr,Yt,Mn,Rg,yE=(Rg=class extends e0{constructor(t){super();ee(this,Yt);ee(this,Qt);ee(this,_e);ee(this,Mr);this.mutationId=t.mutationId,G(this,_e,t.mutationCache),G(this,Qt,[]),this.state=t.state||vE(),this.setOptions(t.options),this.scheduleGc()}setOptions(t){this.options=t,this.updateGcTime(this.options.gcTime)}get meta(){return this.options.meta}addObserver(t){A(this,Qt).includes(t)||(A(this,Qt).push(t),this.clearGcTimeout(),A(this,_e).notify({type:"observerAdded",mutation:this,observer:t}))}removeObserver(t){G(this,Qt,A(this,Qt).filter(n=>n!==t)),this.scheduleGc(),A(this,_e).notify({type:"observerRemoved",mutation:this,observer:t})}optionalRemove(){A(this,Qt).length||(this.state.status==="pending"?this.scheduleGc():A(this,_e).remove(this))}continue(){var t;return((t=A(this,Mr))==null?void 0:t.continue())??this.execute(this.state.variables)}async execute(t){var i,o,a,l,u,c,d,f,h,x,y,w,g,m,v,S,E,C,T,k;const n=()=>{Le(this,Yt,Mn).call(this,{type:"continue"})};G(this,Mr,Jv({fn:()=>this.options.mutationFn?this.options.mutationFn(t):Promise.reject(new Error("No mutationFn found")),onFail:(M,N)=>{Le(this,Yt,Mn).call(this,{type:"failed",failureCount:M,error:N})},onPause:()=>{Le(this,Yt,Mn).call(this,{type:"pause"})},onContinue:n,retry:this.options.retry??0,retryDelay:this.options.retryDelay,networkMode:this.options.networkMode,canRun:()=>A(this,_e).canRun(this)}));const r=this.state.status==="pending",s=!A(this,Mr).canStart();try{if(r)n();else{Le(this,Yt,Mn).call(this,{type:"pending",variables:t,isPaused:s}),await((o=(i=A(this,_e).config).onMutate)==null?void 0:o.call(i,t,this));const N=await((l=(a=this.options).onMutate)==null?void 0:l.call(a,t));N!==this.state.context&&Le(this,Yt,Mn).call(this,{type:"pending",context:N,variables:t,isPaused:s})}const M=await A(this,Mr).start();return await((c=(u=A(this,_e).config).onSuccess)==null?void 0:c.call(u,M,t,this.state.context,this)),await((f=(d=this.options).onSuccess)==null?void 0:f.call(d,M,t,this.state.context)),await((x=(h=A(this,_e).config).onSettled)==null?void 0:x.call(h,M,null,this.state.variables,this.state.context,this)),await((w=(y=this.options).onSettled)==null?void 0:w.call(y,M,null,t,this.state.context)),Le(this,Yt,Mn).call(this,{type:"success",data:M}),M}catch(M){try{throw await((m=(g=A(this,_e).config).onError)==null?void 0:m.call(g,M,t,this.state.context,this)),await((S=(v=this.options).onError)==null?void 0:S.call(v,M,t,this.state.context)),await((C=(E=A(this,_e).config).onSettled)==null?void 0:C.call(E,void 0,M,this.state.variables,this.state.context,this)),await((k=(T=this.options).onSettled)==null?void 0:k.call(T,void 0,M,t,this.state.context)),M}finally{Le(this,Yt,Mn).call(this,{type:"error",error:M})}}finally{A(this,_e).runNext(this)}}},Qt=new WeakMap,_e=new WeakMap,Mr=new WeakMap,Yt=new WeakSet,Mn=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),Ue.batch(()=>{A(this,Qt).forEach(r=>{r.onMutationUpdate(t)}),A(this,_e).notify({mutation:this,type:"updated",action:t})})},Rg);function vE(){return{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:"idle",variables:void 0,submittedAt:0}}
40var fn,Ot,so,Ag,xE=(Ag=class extends wl{constructor(t={}){super();ee(this,fn);ee(this,Ot);ee(this,so);this.config=t,G(this,fn,new Set),G(this,Ot,new Map),G(this,so,0)}build(t,n,r){const s=new yE({mutationCache:this,mutationId:++bo(this,so)._,options:t.defaultMutationOptions(n),state:r});return this.add(s),s}add(t){A(this,fn).add(t);const n=zo(t);if(typeof n=="string"){const r=A(this,Ot).get(n);r?r.push(t):A(this,Ot).set(n,[t])}this.notify({type:"added",mutation:t})}remove(t){if(A(this,fn).delete(t)){const n=zo(t);if(typeof n=="string"){const r=A(this,Ot).get(n);if(r)if(r.length>1){const s=r.indexOf(t);s!==-1&&r.splice(s,1)}else r[0]===t&&A(this,Ot).delete(n)}}this.notify({type:"removed",mutation:t})}canRun(t){const n=zo(t);if(typeof n=="string"){const r=A(this,Ot).get(n),s=r==null?void 0:r.find(i=>i.state.status==="pending");return!s||s===t}else return!0}runNext(t){var r;const n=zo(t);if(typeof n=="string"){const s=(r=A(this,Ot).get(n))==null?void 0:r.find(i=>i!==t&&i.state.isPaused);return(s==null?void 0:s.continue())??Promise.resolve()}else return Promise.resolve()}clear(){Ue.batch(()=>{A(this,fn).forEach(t=>{this.notify({type:"removed",mutation:t})}),A(this,fn).clear(),A(this,Ot).clear()})}getAll(){return Array.from(A(this,fn))}find(t){const n={exact:!0,...t};return this.getAll().find(r=>Cp(n,r))}findAll(t={}){return this.getAll().filter(n=>Cp(t,n))}notify(t){Ue.batch(()=>{this.listeners.forEach(n=>{n(t)})})}resumePausedMutations(){const t=this.getAll().filter(n=>n.state.isPaused);return Ue.batch(()=>Promise.all(t.map(n=>n.continue().catch(Dt))))}},fn=new WeakMap,Ot=new WeakMap,so=new WeakMap,Ag);function zo(e){var t;return(t=e.options.scope)==null?void 0:t.id}function kp(e){return{onFetch:(t,n)=>{var c,d,f,h,x;const r=t.options,s=(f=(d=(c=t.fetchOptions)==null?void 0:c.meta)==null?void 0:d.fetchMore)==null?void 0:f.direction,i=((h=t.state.data)==null?void 0:h.pages)||[],o=((x=t.state.data)==null?void 0:x.pageParams)||[];let a={pages:[],pageParams:[]},l=0;const u=async()=>{let y=!1;const w=v=>{Object.defineProperty(v,"signal",{enumerable:!0,get:()=>(t.signal.aborted?y=!0:t.signal.addEventListener("abort",()=>{y=!0}),t.signal)})},g=Qv(t.options,t.fetchOptions),m=async(v,S,E)=>{if(y)return Promise.reject();if(S==null&&v.pages.length)return Promise.resolve(v);const T=(()=>{const V={client:t.client,queryKey:t.queryKey,pageParam:S,direction:E?"backward":"forward",meta:t.options.meta};return w(V),V})(),k=await g(T),{maxPages:M}=t.options,N=E?oE:iE;return{pages:N(v.pages,k,M),pageParams:N(v.pageParams,S,M)}};if(s&&i.length){const v=s==="backward",S=v?wE:Np,E={pages:i,pageParams:o},C=S(r,E);a=await m(E,C,v)}else{const v=e??i.length;do{const S=l===0?o[0]??r.initialPageParam:Np(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 y,w;return(w=(y=t.options).persister)==null?void 0:w.call(y,u,{client:t.client,queryKey:t.queryKey,meta:t.options.meta,signal:t.signal},n)}:t.fetchFn=u}}}function Np(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 wE(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,Bn,Un,Ns,Rs,Wn,As,js,jg,bE=(jg=class{constructor(e={}){ee(this,ge);ee(this,Bn);ee(this,Un);ee(this,Ns);ee(this,Rs);ee(this,Wn);ee(this,As);ee(this,js);G(this,ge,e.queryCache||new gE),G(this,Bn,e.mutationCache||new xE),G(this,Un,e.defaultOptions||{}),G(this,Ns,new Map),G(this,Rs,new Map),G(this,Wn,0)}mount(){bo(this,Wn)._++,A(this,Wn)===1&&(G(this,As,Yv.subscribe(async e=>{e&&(await this.resumePausedMutations(),A(this,ge).onFocus())})),G(this,js,Ba.subscribe(async e=>{e&&(await this.resumePausedMutations(),A(this,ge).onOnline())})))}unmount(){var e,t;bo(this,Wn)._--,A(this,Wn)===0&&((e=A(this,As))==null||e.call(this),G(this,As,void 0),(t=A(this,js))==null||t.call(this),G(this,js,void 0))}isFetching(e){return A(this,ge).findAll({...e,fetchStatus:"fetching"}).length}isMutating(e){return A(this,Bn).findAll({...e,status:"pending"}).length}getQueryData(e){var n;const t=this.defaultQueryOptions({queryKey:e});return(n=A(this,ge).get(t.queryHash))==null?void 0:n.state.data}ensureQueryData(e){const t=this.defaultQueryOptions(e),n=A(this,ge).build(this,t),r=n.state.data;return r===void 0?this.fetchQuery(e):(e.revalidateIfStale&&n.isStaleByTime(jc(t.staleTime,n))&&this.prefetchQuery(t),Promise.resolve(r))}getQueriesData(e){return A(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}),s=A(this,ge).get(r.queryHash),i=s==null?void 0:s.state.data,o=JS(t,i);if(o!==void 0)return A(this,ge).build(this,r).setData(o,{...n,manual:!0})}
40setQueriesData(e,t,n){return Ue.batch(()=>A(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=A(this,ge).get(t.queryHash))==null?void 0:n.state}removeQueries(e){const t=A(this,ge);Ue.batch(()=>{t.findAll(e).forEach(n=>{t.remove(n)})})}resetQueries(e,t){const n=A(this,ge);return Ue.batch(()=>(n.findAll(e).forEach(r=>{r.reset()}),this.refetchQueries({type:"active",...e},t)))}cancelQueries(e,t={}){const n={revert:!0,...t},r=Ue.batch(()=>A(this,ge).findAll(e).map(s=>s.cancel(n)));return Promise.all(r).then(Dt).catch(Dt)}invalidateQueries(e,t={}){return Ue.batch(()=>(A(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=Ue.batch(()=>A(this,ge).findAll(e).filter(s=>!s.isDisabled()&&!s.isStatic()).map(s=>{let i=s.fetch(void 0,n);return n.throwOnError||(i=i.catch(Dt)),s.state.fetchStatus==="paused"?Promise.resolve():i}));return Promise.all(r).then(Dt)}fetchQuery(e){const t=this.defaultQueryOptions(e);t.retry===void 0&&(t.retry=!1);const n=A(this,ge).build(this,t);return n.isStaleByTime(jc(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=kp(e.pages),this.fetchQuery(e)}prefetchInfiniteQuery(e){return this.fetchInfiniteQuery(e).then(Dt).catch(Dt)}ensureInfiniteQueryData(e){return e.behavior=kp(e.pages),this.ensureQueryData(e)}resumePausedMutations(){return Ba.isOnline()?A(this,Bn).resumePausedMutations():Promise.resolve()}getQueryCache(){return A(this,ge)}getMutationCache(){return A(this,Bn)}getDefaultOptions(){return A(this,Un)}setDefaultOptions(e){G(this,Un,e)}setQueryDefaults(e,t){A(this,Ns).set(Qi(e),{queryKey:e,defaultOptions:t})}getQueryDefaults(e){const t=[...A(this,Ns).values()],n={};return t.forEach(r=>{Yi(e,r.queryKey)&&Object.assign(n,r.defaultOptions)}),n}setMutationDefaults(e,t){A(this,Rs).set(Qi(e),{mutationKey:e,defaultOptions:t})}getMutationDefaults(e){const t=[...A(this,Rs).values()],n={};return t.forEach(r=>{Yi(e,r.mutationKey)&&Object.assign(n,r.defaultOptions)}),n}defaultQueryOptions(e){if(e._defaulted)return e;const t={...A(this,Un).queries,...this.getQueryDefaults(e.queryKey),...e,_defaulted:!0};return t.queryHash||(t.queryHash=pf(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===mf&&(t.enabled=!1),t}defaultMutationOptions(e){return e!=null&&e._defaulted?e:{...A(this,Un).mutations,...(e==null?void 0:e.mutationKey)&&this.getMutationDefaults(e.mutationKey),...e,_defaulted:!0}}clear(){A(this,ge).clear(),A(this,Bn).clear()}},ge=new WeakMap,Bn=new WeakMap,Un=new WeakMap,Ns=new WeakMap,Rs=new WeakMap,Wn=new WeakMap,As=new WeakMap,js=new WeakMap,jg),SE=b.createContext(void 0),EE=({client:e,children:t})=>(b.useEffect(()=>(e.mount(),()=>{e.unmount()}),[e]),p.jsx(SE.Provider,{value:e,children:t}));/** 41 * @remix-run/router v1.23.0 42 * 43 * Copyright (c) Remix Software Inc. 44 * 45 * This source code is licensed under the MIT license found in the 46 * LICENSE.md file in the root directory of this source tree. 47 * 48 * @license MIT 49 */function Ua(){return Ua=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Ua.apply(this,arguments)}var Kn;(function(e){e.Pop="POP",e.Push="PUSH",e.Replace="REPLACE"})(Kn||(Kn={}));const Rp="popstate";function CE(e){e===void 0&&(e={});function t(r,s){let{pathname:i,search:o,hash:a}=r.location;return Dc("",{pathname:i,search:o,hash:a},s.state&&s.state.usr||null,s.state&&s.state.key||"default")}function n(r,s){return typeof s=="string"?s:n0(s)}return PE(t,n,null,e)}function rt(e,t){if(e===!1||e===null||typeof e>"u")throw new Error(t)}function t0(e,t){if(!e){typeof console<"u"&&console.warn(t);try{throw new Error(t)}catch{}}}function TE(){return Math.random().toString(36).substr(2,8)}function Ap(e,t){return{usr:e.state,key:e.key,idx:t}}function Dc(e,t,n,r){return n===void 0&&(n=null),Ua({pathname:typeof e=="string"?e:e.pathname,search:"",hash:""},typeof t=="string"?Sl(t):t,{state:n,key:t&&t.key||r||TE()})}function n0(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 Sl(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 PE(e,t,n,r){r===void 0&&(r={});let{window:s=document.defaultView,v5Compat:i=!1}=r,o=s.history,a=Kn.Pop,l=null,u=c();u==null&&(u=0,o.replaceState(Ua({},o.state,{idx:u}),""));function c(){return(o.state||{idx:null}).idx}function d(){a=Kn.Pop;let w=c(),g=w==null?null:w-u;u=w,l&&l({action:a,location:y.location,delta:g})}function f(w,g){a=Kn.Push;let m=Dc(y.location,w,g);u=c()+1;let v=Ap(m,u),S=y.createHref(m);try{o.pushState(v,"",S)}
vendor: 3,324 bytes, line 49
49catch(E){if(E instanceof DOMException&&E.name==="DataCloneError")throw E;s.location.assign(S)}i&&l&&l({action:a,location:y.location,delta:1})}function h(w,g){a=Kn.Replace;let m=Dc(y.location,w,g);u=c();let v=Ap(m,u),S=y.createHref(m);o.replaceState(v,"",S),i&&l&&l({action:a,location:y.location,delta:0})}function x(w){let g=s.location.origin!=="null"?s.location.origin:s.location.href,m=typeof w=="string"?w:n0(w);return m=m.replace(/ $/,"%20"),rt(g,"No window.location.(origin|href) available to create URL for href: "+m),new URL(m,g)}let y={get action(){return a},get location(){return e(s,o)},listen(w){if(l)throw new Error("A history only accepts one active listener");return s.addEventListener(Rp,d),l=w,()=>{s.removeEventListener(Rp,d),l=null}},createHref(w){return t(s,w)},createURL:x,encodeLocation(w){let g=x(w);return{pathname:g.pathname,search:g.search,hash:g.hash}},push:f,replace:h,go(w){return o.go(w)}};return y}var jp;(function(e){e.data="data",e.deferred="deferred",e.redirect="redirect",e.error="error"})(jp||(jp={}));function kE(e,t,n){return n===void 0&&(n="/"),NE(e,t,n,!1)}function NE(e,t,n,r){let s=typeof t=="string"?Sl(t):t,i=i0(s.pathname||"/",n);if(i==null)return null;let o=r0(e);RE(o);let a=null;for(let l=0;a==null&&l<o.length;++l){let u=_E(i);a=FE(o[l],u,r)}return a}function r0(e,t,n,r){t===void 0&&(t=[]),n===void 0&&(n=[]),r===void 0&&(r="");let s=(i,o,a)=>{let l={relativePath:a===void 0?i.path||"":a,caseSensitive:i.caseSensitive===!0,childrenIndex:o,route:i};l.relativePath.startsWith("/")&&(rt(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=bs([r,l.relativePath]),c=n.concat(l);i.children&&i.children.length>0&&(rt(i.index!==!0,"Index routes must not have child routes. Please remove "+('all child routes from route path "'+u+'".')),r0(i.children,t,c,u)),!(i.path==null&&!i.index)&&t.push({path:u,score:IE(u,i.index),routesMeta:c})};return e.forEach((i,o)=>{var a;if(i.path===""||!((a=i.path)!=null&&a.includes("?")))s(i,o);else for(let l of s0(i.path))s(i,o,l)}),t}function s0(e){let t=e.split("/");if(t.length===0)return[];let[n,...r]=t,s=n.endsWith("?"),i=n.replace(/\?$/,"");if(r.length===0)return s?[i,""]:[i];let o=s0(r.join("/")),a=[];return a.push(...o.map(l=>l===""?i:[i,l].join("/"))),s&&a.push(...o),a.map(l=>e.startsWith("/")&&l===""?"/":l)}function RE(e){e.sort((t,n)=>t.score!==n.score?n.score-t.score:VE(t.routesMeta.map(r=>r.childrenIndex),n.routesMeta.map(r=>r.childrenIndex)))}const AE=/^:[\w-]+$/,jE=3,ME=2,DE=1,LE=10,OE=-2,Mp=e=>e==="*";function IE(e,t){let n=e.split("/"),r=n.length;return n.some(Mp)&&(r+=OE),t&&(r+=ME),n.filter(s=>!Mp(s)).reduce((s,i)=>s+(AE.test(i)?jE:i===""?DE:LE),r)}function VE(e,t){return e.length===t.length&&e.slice(0,-1).every((r,s)=>r===t[s])?e[e.length-1]-t[t.length-1]:0}function FE(e,t,n){let{routesMeta:r}=e,s={},i="/",o=[];for(let a=0;a<r.length;++a){let l=r[a],u=a===r.length-1,c=i==="/"?t:t.slice(i.length)||"/",d=Dp({path:l.relativePath,caseSensitive:l.caseSensitive,end:u},c),f=l.route;if(!d&&u&&n&&!r[r.length-1].route.index&&(d=Dp({path:l.relativePath,caseSensitive:l.caseSensitive,end:!1},c)),!d)return null;
vendor: 4,131 bytes, lines 49-58
49Object.assign(s,d.params),o.push({params:s,pathname:bs([i,d.pathname]),pathnameBase:BE(bs([i,d.pathnameBase])),route:f}),d.pathnameBase!=="/"&&(i=bs([i,d.pathnameBase]))}return o}function Dp(e,t){typeof e=="string"&&(e={path:e,caseSensitive:!1,end:!0});let[n,r]=zE(e.path,e.caseSensitive,e.end),s=t.match(n);if(!s)return null;let i=s[0],o=i.replace(/(.)\/+$/,"$1"),a=s.slice(1);return{params:r.reduce((u,c,d)=>{let{paramName:f,isOptional:h}=c;if(f==="*"){let y=a[d]||"";o=i.slice(0,i.length-y.length).replace(/(.)\/+$/,"$1")}const x=a[d];return h&&!x?u[f]=void 0:u[f]=(x||"").replace(/%2F/g,"/"),u},{}),pathname:i,pathnameBase:o,pattern:e}}function zE(e,t,n){t===void 0&&(t=!1),n===void 0&&(n=!0),t0(e==="*"||!e.endsWith("*")||e.endsWith("/*"),'Route path "'+e+'" will be treated as if it were '+('"'+e.replace(/\*$/,"/*")+'" because the `*` character must ')+"always follow a `/` in the pattern. To get rid of this warning, "+('please change the route path to "'+e.replace(/\*$/,"/*")+'".'));let r=[],s="^"+e.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(o,a,l)=>(r.push({paramName:a,isOptional:l!=null}),l?"/?([^\\/]+)?":"/([^\\/]+)"));return e.endsWith("*")?(r.push({paramName:"*"}),s+=e==="*"||e==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):n?s+="\\/*$":e!==""&&e!=="/"&&(s+="(?:(?=\\/|$))"),[new RegExp(s,t?void 0:"i"),r]}function _E(e){try{return e.split("/").map(t=>decodeURIComponent(t).replace(/\//g,"%2F")).join("/")}catch(t){return t0(!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 i0(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 bs=e=>e.join("/").replace(/\/\/+/g,"/"),BE=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/");function UE(e){return e!=null&&typeof e.status=="number"&&typeof e.statusText=="string"&&typeof e.internal=="boolean"&&"data"in e}const o0=["post","put","patch","delete"];new Set(o0);const WE=["get",...o0];new Set(WE);/** 50 * React Router v6.30.1 51 * 52 * Copyright (c) Remix Software Inc. 53 * 54 * This source code is licensed under the MIT license found in the 55 * LICENSE.md file in the root directory of this source tree. 56 * 57 * @license MIT 58 */function Wa(){return Wa=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Wa.apply(this,arguments)}const $E=b.createContext(null),HE=b.createContext(null),a0=b.createContext(null),El=b.createContext(null),Cl=b.createContext({outlet:null,matches:[],isDataRoute:!1}),l0=b.createContext(null);function gf(){return b.useContext(El)!=null}function u0(){return gf()||rt(!1),b.useContext(El).location}function KE(e,t){return GE(e,t)}function GE(e,t,n,r){gf()||rt(!1);let{navigator:s}=b.useContext(a0),{matches:i}=b.useContext(Cl),o=i[i.length-1],a=o?o.params:{};o&&o.pathname;let l=o?o.pathnameBase:"/";o&&o.route;let u=u0(),c;if(t){var d;let w=typeof t=="string"?Sl(t):t;l==="/"||(d=w.pathname)!=null&&d.startsWith(l)||rt(!1),c=w}else c=u;let f=c.pathname||"/",h=f;if(l!=="/"){let w=l.replace(/^\//,"").split("/");h="/"+f.replace(/^\//,"").split("/").slice(w.length).join("/")}let x=kE(e,{pathname:h}),y=ZE(x&&x.map(w=>Object.assign({},w,{params:Object.assign({},a,w.params),pathname:bs([l,s.encodeLocation?s.encodeLocation(w.pathname).pathname:w.pathname]),pathnameBase:w.pathnameBase==="/"?l:bs([l,s.encodeLocation?s.encodeLocation(w.pathnameBase).pathname:w.pathnameBase])})),i,n,r);return t&&y?b.createElement(El.Provider,{value:{location:Wa({pathname:"/",search:"",hash:"",state:null,key:"default"},c),navigationType:Kn.Pop}},y):y}function qE(){let e=nC(),t=UE(e)?e.status+" "+e.statusText:e instanceof Error?e.message:JSON.stringify(e),n=e instanceof Error?e.stack:null,s={padding:"0.5rem",backgroundColor:"rgba(200,200,200, 0.5)"};return b.createElement(b.Fragment,null,b.createElement("h2",null,"Unexpected Application
58Error!"),b.createElement("h3",{style:{fontStyle:"italic"}},t),n?b.createElement("pre",{style:s},n):null,null)}const QE=b.createElement(qE,null);class YE extends b.Component{constructor(t){super(t),this.state={location:t.location,revalidation:t.revalidation,error:t.error}}static getDerivedStateFromError(t){return{error:t}}static getDerivedStateFromProps(t,n){return n.location!==t.location||n.revalidation!=="idle"&&t.revalidation==="idle"?{error:t.error,location:t.location,revalidation:t.revalidation}:{error:t.error!==void 0?t.error:n.error,location:n.location,revalidation:t.revalidation||n.revalidation}}componentDidCatch(t,n){console.error("React Router caught the following error during render",t,n)}render(){return this.state.error!==void 0?b.createElement(Cl.Provider,{value:this.props.routeContext},b.createElement(l0.Provider,{value:this.state.error,children:this.props.component})):this.props.children}}function XE(e){let{routeContext:t,match:n,children:r}=e,s=b.useContext($E);return s&&s.static&&s.staticContext&&(n.route.errorElement||n.route.ErrorBoundary)&&(s.staticContext._deepestRenderedBoundaryId=n.route.id),b.createElement(Cl.Provider,{value:t},r)}function ZE(e,t,n,r){var s;if(t===void 0&&(t=[]),n===void 0&&(n=null),r===void 0&&(r=null),e==null){var i;if(!n)return null;if(n.errors)e=n.matches;else if((i=r)!=null&&i.v7_partialHydration&&t.length===0&&!n.initialized&&n.matches.length>0)e=n.matches;else return null}let o=e,a=(s=n)==null?void 0:s.errors;if(a!=null){let c=o.findIndex(d=>d.route.id&&(a==null?void 0:a[d.route.id])!==void 0);c>=0||rt(!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:h}=n,x=d.route.loader&&f[d.route.id]===void 0&&(!h||h[d.route.id]===void 0);if(d.route.lazy||x){l=!0,u>=0?o=o.slice(0,u+1):o=[o[0]];break}}}return o.reduceRight((c,d,f)=>{let h,x=!1,y=null,w=null;n&&(h=a&&d.route.id?a[d.route.id]:void 0,y=d.route.errorElement||QE,l&&(u<0&&f===0?(x=!0,w=null):u===f&&(x=!0,w=d.route.hydrateFallbackElement||null)));let g=t.concat(o.slice(0,f+1)),m=()=>{let v;return h?v=y:x?v=w:d.route.Component?v=b.createElement(d.route.Component,null):d.route.element?v=d.route.element:v=c,b.createElement(XE,{match:d,routeContext:{outlet:c,matches:g,isDataRoute:n!=null},children:v})};return n&&(d.route.ErrorBoundary||d.route.errorElement||f===0)?b.createElement(YE,{location:n.location,revalidation:n.revalidation,component:y,error:h,children:m(),routeContext:{outlet:null,matches:g,isDataRoute:!0}}):m()},null)}var Lc=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}(Lc||{});function JE(e){let t=b.useContext(HE);return t||rt(!1),t}function eC(e){let t=b.useContext(Cl);return t||rt(!1),t}function tC(e){let t=eC(),n=t.matches[t.matches.length-1];return n.route.id||rt(!1),n.route.id}function nC(){var e;let t=b.useContext(l0),n=JE(Lc.UseRouteError),r=tC(Lc.UseRouteError);return t!==void 0?t:(e=n.errors)==null?void 0:e[r]}function rC(e,t){e==null||e.v7_startTransition,e==null||e.v7_relativeSplatPath}function Zr(e){rt(!1)}function sC(e){let{basename:t="/",children:n=null,location:r,navigationType:s=Kn.Pop,navigator:i,static:o=!1,future:a}=e;gf()&&rt(!1);let l=t.replace(/^\/*/,"/"),u=b.useMemo(()=>({basename:l,navigator:i,static:o,future:Wa({v7_relativeSplatPath:!1},a)}),[l,a,i,o]);typeof r=="string"&&(r=Sl(r));let{pathname:c="/",search:d="",hash:f="",state:h=null,key:x="default"}=r,y=b.useMemo(()=>{let w=i0(c,l);return w==null?null:{location:{pathname:w,search:d,hash:f,state:h,key:x},navigationType:s}},[l,c,d,f,h,x,s]);return y==null?null:b.createElement(a0.Provider,{value:u},b.createElement(El.Provider,{children:n,value:y}))}function iC(e){let{children:t,location:n}=e;return KE(Oc(t),n)}new Promise(()=>{});
58function Oc(e,t){t===void 0&&(t=[]);let n=[];return b.Children.forEach(e,(r,s)=>{if(!b.isValidElement(r))return;let i=[...t,s];if(r.type===b.Fragment){n.push.apply(n,Oc(r.props.children,i));return}r.type!==Zr&&rt(!1),!r.props.index||!r.props.children||rt(!1);let o={id:r.props.id||i.join("-"),caseSensitive:r.props.caseSensitive,element:r.props.element,Component:r.props.Component,index:r.props.index,path:r.props.path,loader:r.props.loader,action:r.props.action,errorElement:r.props.errorElement,ErrorBoundary:r.props.ErrorBoundary,hasErrorBoundary:r.props.ErrorBoundary!=null||r.props.errorElement!=null,shouldRevalidate:r.props.shouldRevalidate,handle:r.props.handle,lazy:r.props.lazy};r.props.children&&(o.children=Oc(r.props.children,i)),n.push(o)}),n}/** 59 * React Router DOM v6.30.1 60 * 61 * Copyright (c) Remix Software Inc. 62 * 63 * This source code is licensed under the MIT license found in the 64 * LICENSE.md file in the root directory of this source tree. 65 * 66 * @license MIT 67 */const oC="6";try{window.__reactRouterVersion=oC}catch{}const aC="startTransition",Lp=Wg[aC];function lC(e){let{basename:t,children:n,future:r,window:s}=e,i=b.useRef();i.current==null&&(i.current=CE({window:s,v5Compat:!0}));let o=i.current,[a,l]=b.useState({action:o.action,location:o.location}),{v7_startTransition:u}=r||{},c=b.useCallback(d=>{u&&Lp?Lp(()=>l(d)):l(d)},[l,u]);return b.useLayoutEffect(()=>o.listen(c),[o,c]),b.useEffect(()=>rC(r),[r]),b.createElement(sC,{basename:t,children:n,location:a.location,navigationType:a.action,navigator:o,future:r})}var Op;(function(e){e.UseScrollRestoration="useScrollRestoration",e.UseSubmit="useSubmit",e.UseSubmitFetcher="useSubmitFetcher",e.UseFetcher="useFetcher",e.useViewTransitionState="useViewTransitionState"})(Op||(Op={}));var Ip;(function(e){e.UseFetcher="useFetcher",e.UseFetchers="useFetchers",e.UseScrollRestoration="useScrollRestoration"})(Ip||(Ip={}));var Vp=["light","dark"],uC="(prefers-color-scheme: dark)",cC=b.createContext(void 0),dC={setTheme:e=>{},themes:[]},fC=()=>{var e;return(e=b.useContext(cC))!=null?e:dC};b.memo(({forcedTheme:e,storageKey:t,attribute:n,enableSystem:r,enableColorScheme:s,defaultTheme:i,value:o,attrs:a,nonce:l})=>{let u=i==="system",c=n==="class"?`var d=document.documentElement,c=d.classList;${`c.remove(${a.map(x=>`'${x}'`).join(",")})`};`:`var d=document.documentElement,n='${n}',s='setAttribute';`,d=s?Vp.includes(i)&&i?`if(e==='light'||e==='dark'||!e)d.style.colorScheme=e||'${i}'`:"if(e==='light'||e==='dark')d.style.colorScheme=e":"",f=(x,y=!1,w=!0)=>{let g=o?o[x]:x,m=y?x+"|| ''":`'${g}'`,v="";return s&&w&&!y&&Vp.includes(x)&&(v+=`d.style.colorScheme = '${x}';`),n==="class"?y||g?v+=`c.add(${m})`:v+="null":g&&(v+=`d[s](n,${m})`),v},h=e?`!function(){${c}${f(e)}}()`:r?`!function(){try{${c}var e=localStorage.getItem('${t}');if('system'===e||(!e&&${u})){var t='${uC}',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(i,!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(i,!1,!1)};}${d}}catch(t){}}();`;return b.createElement("script",{nonce:l,dangerouslySetInnerHTML:{__html:h}})});var hC=e=>{switch(e){case"success":return gC;case"info":return vC;case"warning":return yC;case"error":return xC;default:return null}},pC=Array(12).fill(0),mC=({visible:e,className:t})=>D.createElement("div",{className:["sonner-loading-wrapper",t].filter(Boolean).join(" "),"data-visible":e},D.createElement("div",{className:"sonner-spinner"},pC.map((n,r)=>D.createElement("div",{className:"sonner-loading-bar",key:`spinner-bar-${r}`})))),gC=D.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},D.createElement("path",{fillRule:"evenodd",d:"M10 18a8 8 0 100-16 8 8 0 000 16zm3.857-9.809a.75.75 0 00-1.214-.882l-3.483 4.79-1.88-1.88a.75.75 0 10-1.06 1.061l2.5 2.5a.75.75 0 001.137-.089l4-5.5z",clipRule:"evenodd"})),yC=D.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"
67currentColor",height:"20",width:"20"},D.createElement("path",{fillRule:"evenodd",d:"M9.401 3.003c1.155-2 4.043-2 5.197 0l7.355 12.748c1.154 2-.29 4.5-2.599 4.5H4.645c-2.309 0-3.752-2.5-2.598-4.5L9.4 3.003zM12 8.25a.75.75 0 01.75.75v3.75a.75.75 0 01-1.5 0V9a.75.75 0 01.75-.75zm0 8.25a.75.75 0 100-1.5.75.75 0 000 1.5z",clipRule:"evenodd"})),vC=D.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},D.createElement("path",{fillRule:"evenodd",d:"M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-7-4a1 1 0 11-2 0 1 1 0 012 0zM9 9a.75.75 0 000 1.5h.253a.25.25 0 01.244.304l-.459 2.066A1.75 1.75 0 0010.747 15H11a.75.75 0 000-1.5h-.253a.25.25 0 01-.244-.304l.459-2.066A1.75 1.75 0 009.253 9H9z",clipRule:"evenodd"})),xC=D.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},D.createElement("path",{fillRule:"evenodd",d:"M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-8-5a.75.75 0 01.75.75v4.5a.75.75 0 01-1.5 0v-4.5A.75.75 0 0110 5zm0 10a1 1 0 100-2 1 1 0 000 2z",clipRule:"evenodd"})),wC=D.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"12",height:"12",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"},D.createElement("line",{x1:"18",y1:"6",x2:"6",y2:"18"}),D.createElement("line",{x1:"6",y1:"6",x2:"18",y2:"18"})),bC=()=>{let[e,t]=D.useState(document.hidden);return D.useEffect(()=>{let n=()=>{t(document.hidden)};return document.addEventListener("visibilitychange",n),()=>window.removeEventListener("visibilitychange",n)},[]),e},Ic=1,SC=class{constructor(){this.subscribe=e=>(this.subscribers.push(e),()=>{let t=this.subscribers.indexOf(e);this.subscribers.splice(t,1)}),this.publish=e=>{this.subscribers.forEach(t=>t(e))},this.addToast=e=>{this.publish(e),this.toasts=[...this.toasts,e]},this.create=e=>{var t;let{message:n,...r}=e,s=typeof(e==null?void 0:e.id)=="number"||((t=e.id)==null?void 0:t.length)>0?e.id:Ic++,i=this.toasts.find(a=>a.id===s),o=e.dismissible===void 0?!0:e.dismissible;return this.dismissedToasts.has(s)&&this.dismissedToasts.delete(s),i?this.toasts=this.toasts.map(a=>a.id===s?(this.publish({...a,...e,id:s,title:n}),{...a,...e,id:s,dismissible:o,title:n}):a):this.addToast({title:n,...r,dismissible:o,id:s}),s},this.dismiss=e=>(this.dismissedToasts.add(e),e||this.toasts.forEach(t=>{this.subscribers.forEach(n=>n({id:t.id,dismiss:!0}))}),this.subscribers.forEach(t=>t({id:e,dismiss:!0})),e),this.message=(e,t)=>this.create({...t,message:e}),this.error=(e,t)=>this.create({...t,message:e,type:"error"}),this.success=(e,t)=>this.create({...t,type:"success",message:e}),this.info=(e,t)=>this.create({...t,type:"info",message:e}),this.warning=(e,t)=>this.create({...t,type:"warning",message:e}),this.loading=(e,t)=>
67this.create({...t,type:"loading",message:e}),this.promise=(e,t)=>{if(!t)return;let n;t.loading!==void 0&&(n=this.create({...t,promise:e,type:"loading",message:t.loading,description:typeof t.description!="function"?t.description:void 0}));let r=e instanceof Promise?e:e(),s=n!==void 0,i,o=r.then(async l=>{if(i=["resolve",l],D.isValidElement(l))s=!1,this.create({id:n,type:"default",message:l});else if(CC(l)&&!l.ok){s=!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){s=!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(i=["reject",l],t.error!==void 0){s=!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;s&&(this.dismiss(n),n=void 0),(l=t.finally)==null||l.call(t)}),a=()=>new Promise((l,u)=>o.then(()=>i[0]==="reject"?u(i[1]):l(i[1])).catch(u));return typeof n!="string"&&typeof n!="number"?{unwrap:a}:Object.assign(n,{unwrap:a})},this.custom=(e,t)=>{let n=(t==null?void 0:t.id)||Ic++;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}},Ye=new SC,EC=(e,t)=>{let n=(t==null?void 0:t.id)||Ic++;return Ye.addToast({title:e,...t,id:n}),n},CC=e=>e&&typeof e=="object"&&"ok"in e&&typeof e.ok=="boolean"&&"status"in e&&typeof e.status=="number",TC=EC,PC=()=>Ye.toasts,kC=()=>Ye.getActiveToasts();Object.assign(TC,{success:Ye.success,info:Ye.info,warning:Ye.warning,error:Ye.error,custom:Ye.custom,message:Ye.message,promise:Ye.promise,dismiss:Ye.dismiss,loading:Ye.loading},{getHistory:PC,getToasts:kC});function NC(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))}NC(`:where(html[dir="ltr"]),:where([data-sonner-toaster][dir="ltr"]){--toast-icon-margin-start: -3px;--toast-icon-margin-end: 4px;--toast-svg-margin-start: -1px;--toast-svg-margin-end: 0px;--toast-button-margin-start: auto;--toast-button-margin-end: 0;--toast-close-button-start: 0;--toast-close-button-end: unset;--toast-close-button-transform: translate(-35%, -35%)}:where(html[dir="rtl"]),:where([data-sonner-toaster][dir="rtl"]){--toast-icon-margin-start: 4px;--toast-icon-margin-end: -3px;--toast-svg-margin-start: 0px;--toast-svg-margin-end: -1px;--toast-button-margin-start: 0;--toast-button-margin-end: auto;--toast-close-button-start: unset;--toast-close-button-end: 0;--toast-close-button-transform: translate(35%, -35%)}:where([data-sonner-toaster]){position:fixed;width:var(--width);font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;--gray1: hsl(0, 0%, 99%);--gray2: hsl(0, 0%, 97.3%);--gray3: hsl(0, 0%, 95.1%);--gray4: hsl(0, 0%, 93%);--gray5: hsl(0, 0%, 90.9%);--gray6: hsl(0, 0%, 88.7%);--gray7: hsl(0, 0%, 85.8%);--gray8: hsl(0, 0%, 78%);--gray9: hsl(0, 0%, 56.1%);--gray10: hsl(0, 0%, 52.3%);--gray11: hsl(0, 0%, 43.5%);--gray12: hsl(0, 0%, 9%);--border-radius: 8px;box-sizing:border-box;padding:0;margin:0;list-style:none;outline:none;z-index:999999999;transition:transform .4s ease}:where([data-sonner-toaster][data-lifted="true"]){transform:translateY(-10px)}@media (hover: none) and (pointer: coarse){:where([data-sonner-toaster][data-lifted="true"]){transform:none}}:where([data-sonner-toaster][data-x-position="right"]){right:var(--offset-right)}:where([data-sonner-toaster][data-x-position="left"]){left:var(--offset-left)}:where([data-sonner-toaster][data-x-position="center"]){left:50%;transform:translate(-50%)}:where([data-sonner-toaster][data-y-position="top"]){top:var(--offset-top)}:where([data-sonner-toaster][data-y-position="bottom"]){bottom:var(--offset-bottom)}:where([data-sonner-toast]){--y: translateY(100%);--lift-amount: calc(var(--lift) * var(--gap));z-index:var(--z-index);position:absolute;opacity:0;transform:var(--y);filter:blur(0);touch-action:none;transition:transform .4s,opacity .4s,height .4s,box-shadow .2s;box-sizing:border-box;outline:none;overflow-wrap:anywhere}:where([data-sonner-toast][data-styled="true"]){padding:16px;background:var(--normal-bg);border:1px solid var(--normal-border);color:var(--normal-text);border-radius:var(--border-radius);box-shadow:0 4px 12px #0000001a;width:var(--width);font-size:13px;display:flex;align-items:center;gap:6px}:where([data-sonner-toast]:focus-visible){box-shadow:0 4px 12px #0000001a,0 0 0 2px #0003}:where([data-sonner-toast][data-y-position="top"]){top:0;--y: translateY(-100%);--lift: 1;--lift-amount: calc(1 * var(--gap))}:where([data-sonner-toast][data-y-position="bottom"]){bottom:0;--y: translateY(100%);--lift: -1;--lift-amount: calc(var(--lift) * var(--gap))}:where([data-sonner-toast]) :where([data-description]){font-weight:400;line-height:1.4;color:inherit}:where([data-sonner-toast]) :where([data-title]){font-weight:500;line-height:1.5;color:inherit}:where([data-sonner-toast]) :where([data-icon]){display:flex;height:16px;width:16px;position:relative;justify-content:flex-start;align-items:center;flex-shrink:0;margin-left:var(--toast-icon-margin-start);margin-right:var(--toast-icon-margin-end)}:where([data-sonner-toast][data-promise="true"]) :where([data-icon])>svg{opacity:0;transform:scale(.8);transform-origin:center;animation:sonner-fade-in .3s ease forwards}:where([data-sonner-toast]) :where([data-icon])>*{flex-shrink:0}:where([data-sonner-toast]) :where([data-icon]) svg{margin-left:var(--toast-svg-margin-start);margin-right:var(--toast-svg-margin-end)}:where([data-sonner-toast]) :where([data-content]){display:flex;flex-direction:column;gap:2px}[data-sonner-toast][data-styled=true] [data-button]{border-radius:4px;padding-left:8px;padding-right:8px;height:24px;font-size:12px;color:var(--normal-bg);background:var(--normal-text);margin-left:var(--toast-button-margin-start);margin-right:var(--toast-button-margin-end);border:none;cursor:pointer;outline:none;display:flex;align-items:center;flex-shrink:0;transition:opacity .4s,box-shadow .2s}:where([data-sonner-toast]) :where([data-button]):focus-visible{box-shadow:0 0 0 2px #0006}:where([data-sonner-toast]) :where([data-button]):first-of-type{margin-left:var(--toast-button-margin-start);margin-right:var(--toast-button-margin-end)}:where([data-sonner-toast]) :where([data-cancel]){color:var(--normal-text);background:rgba(0,0,0,.08)}:where([data-sonner-toast][data-theme="dark"]) :where([data-cancel]){background:rgba(255,255,255,.3)}:where([data-sonner-toast]) :where([data-close-button]){position:absolute;
67left:var(--toast-close-button-start);right:var(--toast-close-button-end);top:0;height:20px;width:20px;display:flex;justify-content:center;align-items:center;padding:0;color:var(--gray12);border:1px solid var(--gray4);transform:var(--toast-close-button-transform);border-radius:50%;cursor:pointer;z-index:1;transition:opacity .1s,background .2s,border-color .2s}[data-sonner-toast] [data-close-button]{background:var(--gray1)}:where([data-sonner-toast]) :where([data-close-button]):focus-visible{box-shadow:0 4px 12px #0000001a,0 0 0 2px #0003}:where([data-sonner-toast]) :where([data-disabled="true"]){cursor:not-allowed}:where([data-sonner-toast]):hover :where([data-close-button]):hover{background:var(--gray2);border-color:var(--gray5)}:where([data-sonner-toast][data-swiping="true"]):before{content:"";position:absolute;left:-50%;right:-50%;height:100%;z-index:-1}:where([data-sonner-toast][data-y-position="top"][data-swiping="true"]):before{bottom:50%;transform:scaleY(3) translateY(50%)}:where([data-sonner-toast][data-y-position="bottom"][data-swiping="true"]):before{top:50%;transform:scaleY(3) translateY(-50%)}:where([data-sonner-toast][data-swiping="false"][data-removed="true"]):before{content:"";position:absolute;inset:0;transform:scaleY(2)}:where([data-sonner-toast]):after{content:"";position:absolute;left:0;height:calc(var(--gap) + 1px);bottom:100%;width:100%}:where([data-sonner-toast][data-mounted="true"]){--y: translateY(0);opacity:1}:where([data-sonner-toast][data-expanded="false"][data-front="false"]){--scale: var(--toasts-before) * .05 + 1;--y: translateY(calc(var(--lift-amount) * var(--toasts-before))) scale(calc(-1 * var(--scale)));height:var(--front-toast-height)}:where([data-sonner-toast])>*{transition:opacity .4s}:where([data-sonner-toast][data-expanded="false"][data-front="false"][data-styled="true"])>*{opacity:0}
67:where([data-sonner-toast][data-visible="false"]){opacity:0;pointer-events:none}:where([data-sonner-toast][data-mounted="true"][data-expanded="true"]){--y: translateY(calc(var(--lift) * var(--offset)));height:var(--initial-height)}:where([data-sonner-toast][data-removed="true"][data-front="true"][data-swipe-out="false"]){--y: translateY(calc(var(--lift) * -100%));opacity:0}:where([data-sonner-toast][data-removed="true"][data-front="false"][data-swipe-out="false"][data-expanded="true"]){--y: translateY(calc(var(--lift) * var(--offset) + var(--lift) * -100%));opacity:0}:where([data-sonner-toast][data-removed="true"][data-front="false"][data-swipe-out="false"][data-expanded="false"]){--y: translateY(40%);opacity:0;transition:transform .5s,opacity .2s}:where([data-sonner-toast][data-removed="true"][data-front="false"]):before{height:calc(var(--initial-height) + 20%)}[data-sonner-toast][data-swiping=true]{transform:var(--y) translateY(var(--swipe-amount-y, 0px)) translate(var(--swipe-amount-x, 0px));transition:none}[data-sonner-toast][data-swiped=true]{user-select:none}[data-sonner-toast][data-swipe-out=true][data-y-position=bottom],[data-sonner-toast][data-swipe-out=true][data-y-position=top]{animation-duration:.2s;animation-timing-function:ease-out;animation-fill-mode:forwards}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=left]{animation-name:swipe-out-left}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=right]{animation-name:swipe-out-right}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=up]{animation-name:swipe-out-up}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=down]{animation-name:swipe-out-down}@keyframes swipe-out-left{0%{transform:var(--y) translate(var(--swipe-amount-x));opacity:1}to{transform:var(--y) translate(calc(var(--swipe-amount-x) - 100%));opacity:0}}@keyframes swipe-out-right{0%{transform:var(--y) translate(var(--swipe-amount-x));opacity:1}to{transform:var(--y) translate(calc(var(--swipe-amount-x) + 100%));opacity:0}}@keyframes swipe-out-up{0%{transform:var(--y) translateY(var(--swipe-amount-y));opacity:1}to{transform:var(--y) translateY(calc(var(--swipe-amount-y) - 100%));opacity:0}}@keyframes swipe-out-down{0%{transform:var(--y) translateY(var(--swipe-amount-y));opacity:1}to{transform:var(--y) translateY(calc(var(--swipe-amount-y) + 100%));opacity:0}}@media (max-width: 600px){[data-sonner-toaster]{position:fixed;right:var(--mobile-offset-right);left:var(--mobile-offset-left);width:100%}[data-sonner-toaster][dir=rtl]{left:calc(var(--mobile-offset-left) * -1)}[data-sonner-toaster] [data-sonner-toast]{left:0;right:0;width:calc(100% - var(--mobile-offset-left) * 2)}[data-sonner-toaster][data-x-position=left]{left:var(--mobile-offset-left)}[data-sonner-toaster][data-y-position=bottom]{bottom:var(--mobile-offset-bottom)}[data-sonner-toaster][data-y-position=top]{top:var(--mobile-offset-top)}[data-sonner-toaster][data-x-position=center]{left:var(--mobile-offset-left);right:var(--mobile-offset-right);transform:none}}[data-sonner-toaster][data-theme=light]{--normal-bg: #fff;--normal-border: var(--gray4);--normal-text: var(--gray12);--success-bg: hsl(143, 85%, 96%);--success-border: hsl(145, 92%, 91%);--success-text: hsl(140, 100%, 27%);--info-bg: hsl(208, 100%, 97%);--info-border: hsl(221, 91%, 91%);--info-text: hsl(210, 92%, 45%);--warning-bg: hsl(49, 100%, 97%);--warning-border: hsl(49, 91%, 91%);--warning-text: hsl(31, 92%, 45%);--error-bg: hsl(359, 100%, 97%);--error-border: hsl(359, 100%, 94%);--error-text: hsl(360, 100%, 45%)}[data-sonner-toaster][data-theme=light] [data-sonner-toast][data-invert=true]{--normal-bg: #000;--normal-border: hsl(0, 0%, 20%);--normal-text: var(--gray1)}[data-sonner-toaster][data-theme=dark] [data-sonner-toast][data-invert=true]{--normal-bg: #fff;--normal-border: var(--gray3);--normal-text: var(--gray12)}[data-sonner-toaster][data-theme=dark]{--normal-bg: #000;--normal-bg-hover: hsl(0, 0%, 12%);--normal-border: hsl(0, 0%, 20%);--normal-border-hover: hsl(0, 0%, 25%);--normal-text: var(--gray1);--success-bg: hsl(150, 100%, 6%);--success-border: hsl(147, 100%, 12%);--success-text: hsl(150, 86%, 65%);--info-bg: hsl(215, 100%, 6%);--info-border: hsl(223, 100%, 12%);--info-text: hsl(216, 87%, 65%);--warning-bg: hsl(64, 100%, 6%);--warning-border: hsl(60, 100%, 12%);--warning-text: hsl(46, 87%, 65%);--error-bg: hsl(358, 76%, 10%);--error-border: hsl(357, 89%, 16%);
67--error-text: hsl(358, 100%, 81%)}[data-sonner-toaster][data-theme=dark] [data-sonner-toast] [data-close-button]{background:var(--normal-bg);border-color:var(--normal-border);color:var(--normal-text)}[data-sonner-toaster][data-theme=dark] [data-sonner-toast] [data-close-button]:hover{background:var(--normal-bg-hover);border-color:var(--normal-border-hover)}[data-rich-colors=true][data-sonner-toast][data-type=success],[data-rich-colors=true][data-sonner-toast][data-type=success] [data-close-button]{background:var(--success-bg);border-color:var(--success-border);color:var(--success-text)}[data-rich-colors=true][data-sonner-toast][data-type=info],[data-rich-colors=true][data-sonner-toast][data-type=info] [data-close-button]{background:var(--info-bg);border-color:var(--info-border);color:var(--info-text)}[data-rich-colors=true][data-sonner-toast][data-type=warning],[data-rich-colors=true][data-sonner-toast][data-type=warning] [data-close-button]{background:var(--warning-bg);border-color:var(--warning-border);color:var(--warning-text)}[data-rich-colors=true][data-sonner-toast][data-type=error],[data-rich-colors=true][data-sonner-toast][data-type=error] [data-close-button]{background:var(--error-bg);border-color:var(--error-border);color:var(--error-text)}.sonner-loading-wrapper{--size: 16px;height:var(--size);width:var(--size);position:absolute;inset:0;z-index:10}.sonner-loading-wrapper[data-visible=false]{transform-origin:center;animation:sonner-fade-out .2s ease forwards}.sonner-spinner{position:relative;top:50%;left:50%;height:var(--size);width:var(--size)}.sonner-loading-bar{animation:sonner-spin 1.2s linear infinite;background:var(--gray11);border-radius:6px;height:8%;left:-10%;position:absolute;top:-3.9%;width:24%}.sonner-loading-bar:nth-child(1){animation-delay:-1.2s;transform:rotate(.0001deg) translate(146%)}.sonner-loading-bar:nth-child(2){animation-delay:-1.1s;transform:rotate(30deg) translate(146%)}.sonner-loading-bar:nth-child(3){animation-delay:-1s;transform:rotate(60deg) translate(146%)}.sonner-loading-bar:nth-child(4){animation-delay:-.9s;transform:rotate(90deg) translate(146%)}.sonner-loading-bar:nth-child(5){animation-delay:-.8s;transform:rotate(120deg) translate(146%)}.sonner-loading-bar:nth-child(6){animation-delay:-.7s;transform:rotate(150deg) translate(146%)}.sonner-loading-bar:nth-child(7){animation-delay:-.6s;transform:rotate(180deg) translate(146%)}.sonner-loading-bar:nth-child(8){animation-delay:-.5s;transform:rotate(210deg) translate(146%)}.sonner-loading-bar:nth-child(9){animation-delay:-.4s;transform:rotate(240deg) translate(146%)}.sonner-loading-bar:nth-child(10){animation-delay:-.3s;transform:rotate(270deg) translate(146%)}.sonner-loading-bar:nth-child(11){animation-delay:-.2s;transform:rotate(300deg) translate(146%)}.sonner-loading-bar:nth-child(12){animation-delay:-.1s;transform:rotate(330deg) translate(146%)}@keyframes sonner-fade-in{0%{opacity:0;transform:scale(.8)}to{opacity:1;transform:scale(1)}}@keyframes sonner-fade-out{0%{opacity:1;transform:scale(1)}to{opacity:0;transform:scale(.8)}}@keyframes sonner-spin{0%{opacity:1}to{opacity:.15}}@media (prefers-reduced-motion){[data-sonner-toast],[data-sonner-toast]>*,.sonner-loading-bar{transition:none!important;animation:none!important}}.sonner-loader{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);transform-origin:center;transition:opacity .2s,transform .2s}.sonner-loader[data-visible=false]{opacity:0;transform:scale(.8) translate(-50%,-50%)} 68`);function _o(e){return e.label!==void 0}var RC=3,AC="32px",jC="16px",Fp=4e3,MC=356,DC=14,LC=20,OC=200;function Rt(...e){return e.filter(Boolean).join(" ")}function IC(e){let[t,n]=e.split("-"),r=[];return t&&r.push(t),n&&r.push(n),r}var VC=e=>{var t,n,r,s,i,o,a,l,u,c,d;let{invert:f,toast:h,unstyled:x,interacting:y,setHeights:w,visibleToasts:g,heights:m,index:v,toasts:S,expanded:E,removeToast:C,defaultRichColors:T,closeButton:k,style:M,cancelButtonStyle:N,actionButtonStyle:V,className:O="",descriptionClassName:W="",duration:L,position:$,gap:_,loadingIcon:H,expandByDefault:P,classNames:R,icons:I,closeButtonAriaLabel:U="Close toast",pauseWhenPageIsHidden:B}=e,[Y,Z]=D.useState(null),[xe,De]=D.useState(null),[te,Hr]=D.use
68State(!1),[En,mr]=D.useState(!1),[Cn,Kr]=D.useState(!1),[Tn,vo]=D.useState(!1),[Fl,xo]=D.useState(!1),[zl,Js]=D.useState(0),[Gr,ah]=D.useState(0),ei=D.useRef(h.duration||L||Fp),lh=D.useRef(null),gr=D.useRef(null),v1=v===0,x1=v+1<=g,pt=h.type,qr=h.dismissible!==!1,w1=h.className||"",b1=h.descriptionClassName||"",wo=D.useMemo(()=>m.findIndex(K=>K.toastId===h.id)||0,[m,h.id]),S1=D.useMemo(()=>{var K;return(K=h.closeButton)!=null?K:k},[h.closeButton,k]),uh=D.useMemo(()=>h.duration||L||Fp,[h.duration,L]),_l=D.useRef(0),Qr=D.useRef(0),ch=D.useRef(0),Yr=D.useRef(null),[E1,C1]=$.split("-"),dh=D.useMemo(()=>m.reduce((K,re,ce)=>ce>=wo?K:K+re.height,0),[m,wo]),fh=bC(),T1=h.invert||f,Bl=pt==="loading";Qr.current=D.useMemo(()=>wo*_+dh,[wo,dh]),D.useEffect(()=>{ei.current=uh},[uh]),D.useEffect(()=>{Hr(!0)},[]),D.useEffect(()=>{let K=gr.current;if(K){let re=K.getBoundingClientRect().height;return ah(re),w(ce=>[{toastId:h.id,height:re,position:h.position},...ce]),()=>w(ce=>ce.filter(Tt=>Tt.toastId!==h.id))}},[w,h.id]),D.useLayoutEffect(()=>{if(!te)return;let K=gr.current,re=K.style.height;K.style.height="auto";let ce=K.getBoundingClientRect().height;K.style.height=re,ah(ce),w(Tt=>Tt.find(Pt=>Pt.toastId===h.id)?Tt.map(Pt=>Pt.toastId===h.id?{...Pt,height:ce}:Pt):[{toastId:h.id,height:ce,position:h.position},...Tt])},[te,h.title,h.description,w,h.id]);let Pn=D.useCallback(()=>{mr(!0),Js(Qr.current),w(K=>K.filter(re=>re.toastId!==h.id)),setTimeout(()=>{C(h)},OC)},[h,C,w,Qr]);D.useEffect(()=>{if(h.promise&&pt==="loading"||h.duration===1/0||h.type==="loading")return;let K;return E||y||B&&fh?(()=>{if(ch.current<_l.current){let re=new Date().getTime()-_l.current;ei.current=ei.current-re}ch.current=new Date().getTime()})():ei.current!==1/0&&(_l.current=new Date().getTime(),K=setTimeout(()=>{var re;(re=h.onAutoClose)==null||re.call(h,h),Pn()},ei.current)),()=>clearTimeout(K)},[E,y,h,pt,B,fh,Pn]),D.useEffect(()=>{h.delete&&Pn()},[Pn,h.delete]);function P1(){var K,re,ce;return I!=null&&I.loading?D.createElement("div",{className:Rt(R==null?void 0:R.loader,(K=h==null?void 0:h.classNames)==null?void 0:K.loader,"sonner-loader"),"data-visible":pt==="loading"},I.loading):H?D.createElement("div",{className:Rt(R==null?void 0:R.loader,(re=h==null?void 0:h.classNames)==null?void 0:re.loader,"sonner-loader"),"data-visible":pt==="loading"},H):D.createElement(mC,{className:Rt(R==null?void 0:R.loader,(ce=h==null?void 0:h.classNames)==null?void 0:ce.loader),visible:pt==="loading"})}return D.createElement("li",{tabIndex:0,ref:gr,className:Rt(O,w1,R==null?void 0:R.toast,(t=h==null?void 0:h.classNames)==null?void 0:t.toast,R==null?void 0:R.default,R==null?void 0:R[pt],(n=h==null?void 0:h.classNames)==null?void 0:n[pt]),"data-sonner-toast":"","data-rich-colors":(r=h.richColors)!=null?r:T,"data-styled":!(h.jsx||h.unstyled||x),"data-mounted":te,"data-promise":!!h.promise,"data-swiped":Fl,"data-removed":En,"data-visible":x1,"data-y-position":E1,"data-x-position":C1,"data-index":v,"data-front":v1,"data-swiping":Cn,"data-dismissible":qr,"data-type":pt,"data-invert":T1,"data-swipe-out":Tn,"data-swipe-direction":xe,"data-expanded":!!(E||P&&te),style:{"--index":v,"--toasts-before":v,"--z-index":S.length-v,"--offset":`${En?zl:Qr.current}px`,"--initial-height":P?"auto":`${Gr}px`,...M,...h.style},onDragEnd:()=>{Kr(!1),Z(null),Yr.current=null},onPointerDown:K=>{Bl||!qr||(lh.current=new Date,Js(Qr.current),K.target.setPointerCapture(K.pointerId),K.target.tagName!=="BUTTON"&&(Kr(!0),Yr.current={x:K.clientX,y:K.clientY}))},onPointerUp:()=>{var K,re,ce,Tt;if(Tn||!qr)return;Yr.current=null;let Pt=Number(((K=gr.current)==null?void 0:K.style.getPropertyValue("--swipe-amount-x").replace("px",""))||0),kn=Number(((re=gr.current)==null?void 0:re.style.getPropertyValue("--swipe-amount-y").replace("px",""))||0),yr=new Date().getTime()-((ce=lh.current)==null?void 0:ce.getTime()),kt=Y==="x"?Pt:kn,Nn=Math.abs(kt)/yr;if(Math.abs(kt)>=LC||Nn>.11){Js(Qr.current),(Tt=h.onDismiss)==null||Tt.call(h,h),De(Y==="x"?Pt>0?"right":"left":kn>0?"down":"up"),Pn(),vo(!0),xo(!1);return}Kr(!1),Z(null)},onPointerMove:K=>{var re,ce,Tt,Pt;if(!Yr.current||!qr||((re=window.getSelection())==null?void 0:re.toString().length)>0)return;let kn=K.clientY-Yr.current.y,yr=K.clientX-Yr.current.x,kt=(ce=e.swipeDirections)!=null?ce:IC($);!Y&&(Math.abs(yr)>1||Math.abs(kn)>1)&&Z(Math.abs(yr)>Math.abs(kn)?"x":"y");let Nn={x:0,y:0};Y==="y"?(kt.includes("top")||kt.includes("bottom"))&&(kt.includes("top")&&kn<0||kt.includes("bottom")&&kn>0)&&(Nn.y=kn):Y==="x"&&(kt.includes("left")||kt.includes("right"))&&(kt.includes("left")&&yr<0||kt.includes("right")&&yr>0)&&(Nn.x=yr),(Math.abs(Nn.x)>0||Math.abs(Nn.y)>0)&&xo(!0),(Tt=gr.current)==null||Tt.style.setProperty("--swipe-amount-x",`${Nn.x}px`),(Pt=gr.current)==null||Pt.style.setProperty("--swipe-amount-y",`${Nn.y}px`)}},S1&&!h.jsx?D.createElement("button",{"aria-label":U,"data-disabled":
68Bl,"data-close-button":!0,onClick:Bl||!qr?()=>{}:()=>{var K;Pn(),(K=h.onDismiss)==null||K.call(h,h)},className:Rt(R==null?void 0:R.closeButton,(s=h==null?void 0:h.classNames)==null?void 0:s.closeButton)},(i=I==null?void 0:I.close)!=null?i:wC):null,h.jsx||b.isValidElement(h.title)?h.jsx?h.jsx:typeof h.title=="function"?h.title():h.title:D.createElement(D.Fragment,null,pt||h.icon||h.promise?D.createElement("div",{"data-icon":"",className:Rt(R==null?void 0:R.icon,(o=h==null?void 0:h.classNames)==null?void 0:o.icon)},h.promise||h.type==="loading"&&!h.icon?h.icon||P1():null,h.type!=="loading"?h.icon||(I==null?void 0:I[pt])||hC(pt):null):null,D.createElement("div",{"data-content":"",className:Rt(R==null?void 0:R.content,(a=h==null?void 0:h.classNames)==null?void 0:a.content)},D.createElement("div",{"data-title":"",className:Rt(R==null?void 0:R.title,(l=h==null?void 0:h.classNames)==null?void 0:l.title)},typeof h.title=="function"?h.title():h.title),h.description?D.createElement("div",{"data-description":"",className:Rt(W,b1,R==null?void 0:R.description,(u=h==null?void 0:h.classNames)==null?void 0:u.description)},typeof h.description=="function"?h.description():h.description):null),b.isValidElement(h.cancel)?h.cancel:h.cancel&&_o(h.cancel)?D.createElement("button",{"data-button":!0,"data-cancel":!0,style:h.cancelButtonStyle||N,onClick:K=>{var re,ce;_o(h.cancel)&&qr&&((ce=(re=h.cancel).onClick)==null||ce.call(re,K),Pn())},className:Rt(R==null?void 0:R.cancelButton,(c=h==null?void 0:h.classNames)==null?void 0:c.cancelButton)},h.cancel.label):null,b.isValidElement(h.action)?h.action:h.action&&_o(h.action)?D.createElement("button",{"data-button":!0,"data-action":!0,style:h.actionButtonStyle||V,onClick:K=>{var re,ce;_o(h.action)&&((ce=(re=h.action).onClick)==null||ce.call(re,K),!K.defaultPrevented&&Pn())},className:Rt(R==null?void 0:R.actionButton,(d=h==null?void 0:h.classNames)==null?void 0:d.actionButton)},h.action.label):null))};function zp(){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 FC(e,t){let n={};return[e,t].forEach((r,s)=>{let i=s===1,o=i?"--mobile-offset":"--offset",a=i?jC:AC;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 zC=b.forwardRef(function(e,t){let{invert:n,position:r="bottom-right",hotkey:s=["altKey","KeyT"],expand:i,closeButton:o,className:a,offset:l,mobileOffset:u,theme:c="light",richColors:d,duration:f,style:h,visibleToasts:x=RC,toastOptions:y,dir:w=zp(),gap:g=DC,loadingIcon:m,icons:v,containerAriaLabel:S="Notifications",pauseWhenPageIsHidden:E}=e,[C,T]=D.useState([]),k=D.useMemo(()=>
vendor: 4,218 bytes, line 68
68Array.from(new Set([r].concat(C.filter(B=>B.position).map(B=>B.position)))),[C,r]),[M,N]=D.useState([]),[V,O]=D.useState(!1),[W,L]=D.useState(!1),[$,_]=D.useState(c!=="system"?c:typeof window<"u"&&window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light"),H=D.useRef(null),P=s.join("+").replace(/Key/g,"").replace(/Digit/g,""),R=D.useRef(null),I=D.useRef(!1),U=D.useCallback(B=>{T(Y=>{var Z;return(Z=Y.find(xe=>xe.id===B.id))!=null&&Z.delete||Ye.dismiss(B.id),Y.filter(({id:xe})=>xe!==B.id)})},[]);return D.useEffect(()=>Ye.subscribe(B=>{if(B.dismiss){T(Y=>Y.map(Z=>Z.id===B.id?{...Z,delete:!0}:Z));return}setTimeout(()=>{Kv.flushSync(()=>{T(Y=>{let Z=Y.findIndex(xe=>xe.id===B.id);return Z!==-1?[...Y.slice(0,Z),{...Y[Z],...B},...Y.slice(Z+1)]:[B,...Y]})})})}),[]),D.useEffect(()=>{if(c!=="system"){_(c);return}if(c==="system"&&(window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches?_("dark"):_("light")),typeof window>"u")return;let B=window.matchMedia("(prefers-color-scheme: dark)");try{B.addEventListener("change",({matches:Y})=>{_(Y?"dark":"light")})}catch{B.addListener(({matches:Z})=>{try{_(Z?"dark":"light")}catch(xe){console.error(xe)}})}},[c]),D.useEffect(()=>{C.length<=1&&O(!1)},[C]),D.useEffect(()=>{let B=Y=>{var Z,xe;s.every(De=>Y[De]||Y.code===De)&&(O(!0),(Z=H.current)==null||Z.focus()),Y.code==="Escape"&&(document.activeElement===H.current||(xe=H.current)!=null&&xe.contains(document.activeElement))&&O(!1)};return document.addEventListener("keydown",B),()=>document.removeEventListener("keydown",B)},[s]),D.useEffect(()=>{if(H.current)return()=>{R.current&&(R.current.focus({preventScroll:!0}),R.current=null,I.current=!1)}},[H.current]),D.createElement("section",{ref:t,"aria-label":`${S} ${P}`,tabIndex:-1,"aria-live":"polite","aria-relevant":"additions text","aria-atomic":"false",suppressHydrationWarning:!0},k.map((B,Y)=>{var Z;let[xe,De]=B.split("-");return C.length?D.createElement("ol",{key:B,dir:w==="auto"?zp():w,tabIndex:-1,ref:H,className:a,"data-sonner-toaster":!0,"data-theme":$,"data-y-position":xe,"data-lifted":V&&C.length>1&&!i,"data-x-position":De,style:{"--front-toast-height":`${((Z=M[0])==null?void 0:Z.height)||0}px`,"--width":`${MC}px`,"--gap":`${g}px`,...h,...FC(l,u)},onBlur:te=>{I.current&&!te.currentTarget.contains(te.relatedTarget)&&(I.current=!1,R.current&&(R.current.focus({preventScroll:!0}),R.current=null))},onFocus:te=>{te.target instanceof HTMLElement&&te.target.dataset.dismissible==="false"||I.current||(I.current=!0,R.current=te.relatedTarget)},onMouseEnter:()=>O(!0),onMouseMove:()=>O(!0),onMouseLeave:()=>{W||O(!1)},onDragEnd:()=>O(!1),onPointerDown:te=>{te.target instanceof HTMLElement&&te.target.dataset.dismissible==="false"||L(!0)},onPointerUp:()=>L(!1)},C.filter(te=>!te.position&&Y===0||te.position===B).map((te,Hr)=>{var En,mr;return D.createElement(VC,{key:te.id,icons:v,index:Hr,toast:te,defaultRichColors:d,duration:(En=y==null?void 0:y.duration)!=null?En:f,className:y==null?void 0:y.className,descriptionClassName:y==null?void 0:y.descriptionClassName,invert:n,visibleToasts:x,closeButton:(mr=y==null?void 0:y.closeButton)!=null?mr:o,interacting:W,position:B,style:y==null?void 0:y.style,unstyled:y==null?void 0:y.unstyled,classNames:y==null?void 0:y.classNames,cancelButtonStyle:y==null?void 0:y.cancelButtonStyle,actionButtonStyle:y==null?void 0:y.actionButtonStyle,removeToast:U,toasts:C.filter(Cn=>Cn.position==te.position),heights:M.filter(Cn=>Cn.position==te.position),setHeights:N,expandByDefault:i,gap:g,loadingIcon:m,expanded:V,pauseWhenPageIsHidden:E,swipeDirections:e.swipeDirections})})):null}))});const _C=({...e})=>{const{theme:t="system"}=fC();return p.jsx(zC,{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})},BC=1,UC=1e6;let gu=0;function WC(){return gu=(gu+1)%Number.MAX_SAFE_INTEGER,gu.toString()}
68const yu=new Map,_p=e=>{if(yu.has(e))return;const t=setTimeout(()=>{yu.delete(e),ki({type:"REMOVE_TOAST",toastId:e})},UC);yu.set(e,t)},$C=(e,t)=>{switch(t.type){case"ADD_TOAST":return{...e,toasts:[t.toast,...e.toasts].slice(0,BC)};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?_p(n):e.toasts.forEach(r=>{_p(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)}}},aa=[];let la={toasts:[]};function ki(e){la=$C(la,e),aa.forEach(t=>{t(la)})}function HC({...e}){const t=WC(),n=s=>ki({type:"UPDATE_TOAST",toast:{...s,id:t}}),r=()=>ki({type:"DISMISS_TOAST",toastId:t});return ki({type:"ADD_TOAST",toast:{...e,id:t,open:!0,onOpenChange:s=>{s||r()}}}),{id:t,dismiss:r,update:n}}function KC(){const[e,t]=b.useState(la);return b.useEffect(()=>(aa.push(t),()=>{const n=aa.indexOf(t);n>-1&&aa.splice(n,1)}),[e]),{...e,toast:HC,dismiss:n=>ki({type:"DISMISS_TOAST",toastId:n})}}function Ce(e,t,{checkForDefaultPrevented:n=!0}={}){return function(s){if(e==null||e(s),n===!1||!s.defaultPrevented)return t==null?void 0:t(s)}}function Bp(e,t){if(typeof e=="function")return e(t);e!=null&&(e.current=t)}function c0(...e){return t=>{let n=!1;const r=e.map(s=>{const i=Bp(s,t);return!n&&typeof i=="function"&&(n=!0),i});if(n)return()=>{for(let s=0;s<r.length;s++){const i=r[s];typeof i=="function"?i():Bp(e[s],null)}}}}function Ut(...e){return b.useCallback(c0(...e),e)}function Tl(e,t=[]){let n=[];function r(i,o){const a=b.createContext(o),l=n.length;n=[...n,o];const u=d=>{var g;const{scope:f,children:h,...x}=d,y=((g=f==null?void 0:f[e])==null?void 0:g[l])||a,w=b.useMemo(()=>x,Object.values(x));return p.jsx(y.Provider,{value:w,children:h})};u.displayName=i+"Provider";function c(d,f){var y;const h=((y=f==null?void 0:f[e])==null?void 0:y[l])||a,x=b.useContext(h);if(x)return x;if(o!==void 0)return o;throw new Error(`\`${d}\` must be used within \`${i}\``)}return[u,c]}const s=()=>{const i=n.map(o=>b.createContext(o));return function(a){const l=(a==null?void 0:a[e])||i;return b.useMemo(()=>({[`__scope${e}`]:{...a,[e]:l}}),[a,l])}};return s.scopeName=e,[r,GC(s,...t)]}function GC(...e){const t=e[0];if(e.length===1)return t;const n=()=>{const r=e.map(s=>({useScope:s(),scopeName:s.scopeName}));return function(i){const o=r.reduce((a,{useScope:l,scopeName:u})=>{const d=l(i)[`__scope${u}`];return{...a,...d}},{});return b.useMemo(()=>({[`__scope${t.scopeName}`]:o}),[o])}};return n.scopeName=t.scopeName,n}function $a(e){const t=QC(e),n=b.forwardRef((r,s)=>{const{children:i,...o}=r,a=b.Children.toArray(i),l=a.find(XC);if(l){const u=l.props.children,c=a.map(d=>d===l?b.Children.count(u)>1?b.Children.only(null):b.isValidElement(u)?u.props.children:null:d);return p.jsx(t,{...o,ref:s,children:b.isValidElement(u)?b.cloneElement(u,void 0,c):null})}return p.jsx(t,{...o,ref:s,children:i})});return n.displayName=`${e}.Slot`,n}var qC=$a("Slot");function QC(e){const t=b.forwardRef((n,r)=>{const{children:s,...i}=n;if(b.isValidElement(s)){const o=JC(s),a=ZC(i,s.props);return s.type!==b.Fragment&&(a.ref=r?c0(r,o):o),b.cloneElement(s,a)}return b.Children.count(s)>1?b.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}var d0=Symbol("radix.slottable");function YC(e){const t=({children:n})=>p.jsx(p.Fragment,{children:n});return t.displayName=`${e}.Slottable`,t.__radixId=d0,t}function XC(e){return b.isValidElement(e)&&typeof e.type=="function"&&"__radixId"in e.type&&e.type.__radixId===d0}function ZC(e,t){const n={...t};for(const r in t){const s=e[r],i=t[r];/^on[A-Z]/.test(r)?s&&i?n[r]=(...a)=>{const l=i(...a);return s(...a),l}:s&&(n[r]=s):r==="style"?n[r]={...s,...i}:r==="className"&&(n[r]=[s,i].filter(Boolean).join(" "))}return{...e,...n}}function JC(e){var r,s;let t=(r=Object.getOwnPropertyDescriptor(e.props,"ref"))==null?void 0:r.get,n=t&&"isReactWarning"in t&&t.isReactWarning;return n?e.ref:(t=(s=Object.getOwnPropertyDescriptor(e,"ref"))==null?void 0:s.get,n=t&&"isReactWarning"in t&&t.isReactWarning,n?e.props.ref:e.props.ref||e.ref)}function eT(e){const t=e+"CollectionProvider",[n,r]=Tl(t),[s,i]=n(t,{collectionRef:{current:null},itemMap:new Map}),o=y=>{const{scope:w,children:g}=y,m=D.useRef(null),v=D.useRef(new Map).current;return p.jsx(s,{scope:w,itemMap:v,collectionRef:m,children:g})};o.displayName=t;const a=e+"CollectionSlot",l=$a(a),u=D.forwardRef((y,w)=>{const{scope:g,children:m}=y,v=i(a,g),S=Ut(w,v.collectionRef);return p.jsx(l,{ref:S,children:m})});u.displayName=a;const c=e+"CollectionItemSlot",d="data-radix-collection-item",f=$a(c),h=D.forwardRef((y,w)=>{const{scope:g,children:m,...v}=y,S=D.useRef(null),E=Ut(w,S),C=i(c,g);return D.useEffect(()=>(C.itemMap.set(S,{ref:S,...v}),()=>void C.itemMap.delete(S))),p.jsx(f,{[d]:"",ref:E,children:m})});h.displayName=c;function x(y){const w=i(e+"CollectionConsumer",y);return D.useCallback(()=>{const m=w.collectionRef.current;if(!m)return[];const v=Array.from(m.querySelectorAll(`[${d}]`));return Array.from(w.itemMap.values()).sort((C,T)=>v.indexOf(C.ref.current)-v.indexOf(T.ref.current))},[w.collectionRef,w.itemMap])}return[{Provider:o,Slot:u,ItemSlot:h},x,r]}var tT=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],st=tT.reduce((e,t)=>
vendor: 8,608 bytes, line 68
68{const n=$a(`Primitive.${t}`),r=b.forwardRef((s,i)=>{const{asChild:o,...a}=s,l=o?n:t;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),p.jsx(l,{...a,ref:i})});return r.displayName=`Primitive.${t}`,{...e,[t]:r}},{});function f0(e,t){e&&co.flushSync(()=>e.dispatchEvent(t))}function sr(e){const t=b.useRef(e);return b.useEffect(()=>{t.current=e}),b.useMemo(()=>(...n)=>{var r;return(r=t.current)==null?void 0:r.call(t,...n)},[])}function nT(e,t=globalThis==null?void 0:globalThis.document){const n=sr(e);b.useEffect(()=>{const r=s=>{s.key==="Escape"&&n(s)};return t.addEventListener("keydown",r,{capture:!0}),()=>t.removeEventListener("keydown",r,{capture:!0})},[n,t])}var rT="DismissableLayer",Vc="dismissableLayer.update",sT="dismissableLayer.pointerDownOutside",iT="dismissableLayer.focusOutside",Up,h0=b.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),yf=b.forwardRef((e,t)=>{const{disableOutsidePointerEvents:n=!1,onEscapeKeyDown:r,onPointerDownOutside:s,onFocusOutside:i,onInteractOutside:o,onDismiss:a,...l}=e,u=b.useContext(h0),[c,d]=b.useState(null),f=(c==null?void 0:c.ownerDocument)??(globalThis==null?void 0:globalThis.document),[,h]=b.useState({}),x=Ut(t,T=>d(T)),y=Array.from(u.layers),[w]=[...u.layersWithOutsidePointerEventsDisabled].slice(-1),g=y.indexOf(w),m=c?y.indexOf(c):-1,v=u.layersWithOutsidePointerEventsDisabled.size>0,S=m>=g,E=aT(T=>{const k=T.target,M=[...u.branches].some(N=>N.contains(k));!S||M||(s==null||s(T),o==null||o(T),T.defaultPrevented||a==null||a())},f),C=lT(T=>{const k=T.target;[...u.branches].some(N=>N.contains(k))||(i==null||i(T),o==null||o(T),T.defaultPrevented||a==null||a())},f);return nT(T=>{m===u.layers.size-1&&(r==null||r(T),!T.defaultPrevented&&a&&(T.preventDefault(),a()))},f),b.useEffect(()=>{if(c)return n&&(u.layersWithOutsidePointerEventsDisabled.size===0&&(Up=f.body.style.pointerEvents,f.body.style.pointerEvents="none"),u.layersWithOutsidePointerEventsDisabled.add(c)),u.layers.add(c),Wp(),()=>{n&&u.layersWithOutsidePointerEventsDisabled.size===1&&(f.body.style.pointerEvents=Up)}},[c,f,n,u]),b.useEffect(()=>()=>{c&&(u.layers.delete(c),u.layersWithOutsidePointerEventsDisabled.delete(c),Wp())},[c,u]),b.useEffect(()=>{const T=()=>h({});return document.addEventListener(Vc,T),()=>document.removeEventListener(Vc,T)},[]),p.jsx(st.div,{...l,ref:x,style:{pointerEvents:v?S?"auto":"none":void 0,...e.style},onFocusCapture:Ce(e.onFocusCapture,C.onFocusCapture),onBlurCapture:Ce(e.onBlurCapture,C.onBlurCapture),onPointerDownCapture:Ce(e.onPointerDownCapture,E.onPointerDownCapture)})});yf.displayName=rT;var oT="DismissableLayerBranch",p0=b.forwardRef((e,t)=>{const n=b.useContext(h0),r=b.useRef(null),s=Ut(t,r);return b.useEffect(()=>{const i=r.current;if(i)return n.branches.add(i),()=>{n.branches.delete(i)}},[n.branches]),p.jsx(st.div,{...e,ref:s})});p0.displayName=oT;function aT(e,t=globalThis==null?void 0:globalThis.document){const n=sr(e),r=b.useRef(!1),s=b.useRef(()=>{});return b.useEffect(()=>{const i=a=>{if(a.target&&!r.current){let l=function(){m0(sT,n,u,{discrete:!0})};const u={originalEvent:a};a.pointerType==="touch"?(t.removeEventListener("click",s.current),s.current=l,t.addEventListener("click",s.current,{once:!0})):l()}else t.removeEventListener("click",s.current);r.current=!1},o=window.setTimeout(()=>{t.addEventListener("pointerdown",i)},0);return()=>{window.clearTimeout(o),t.removeEventListener("pointerdown",i),t.removeEventListener("click",s.current)}},[t,n]),{onPointerDownCapture:()=>r.current=!0}}function lT(e,t=globalThis==null?void 0:globalThis.document){const n=sr(e),r=b.useRef(!1);return b.useEffect(()=>{const s=i=>{i.target&&!r.current&&m0(iT,n,{originalEvent:i},{discrete:!1})};return t.addEventListener("focusin",s),()=>t.removeEventListener("focusin",s)},[t,n]),{onFocusCapture:()=>r.current=!0,onBlurCapture:()=>r.current=!1}}function Wp(){const e=new CustomEvent(Vc);document.dispatchEvent(e)}function m0(e,t,n,{discrete:r}){const s=n.originalEvent.target,i=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:n});t&&s.addEventListener(e,t,{once:!0}),r?f0(s,i):s.dispatchEvent(i)}var uT=yf,cT=p0,ir=globalThis!=null&&globalThis.document?b.useLayoutEffect:()=>{},dT="Portal",g0=b.forwardRef((e,t)=>{var a;const{container:n,...r}=e,[s,i]=b.useState(!1);ir(()=>i(!0),[]);const o=n||s&&((a=globalThis==null?void 0:globalThis.document)==null?void 0:a.body);return o?Kv.createPortal(p.jsx(st.div,{...r,ref:t}),o):null});g0.displayName=dT;function fT(e,t){return b.useReducer((n,r)=>t[n][r]??n,e)}var vf=e=>{const{present:t,children:n}=e,r=hT(t),s=typeof n=="function"?n({present:r.isPresent}):b.Children.only(n),i=Ut(r.ref,pT(s));return typeof n=="function"||r.isPresent?b.cloneElement(s,{ref:i}):null};vf.displayName="Presence";function hT(e){const[t,n]=b.useState(),r=b.useRef(null),s=b.useRef(e),i=b.useRef("none"),o=e?"mounted":"unmounted",[a,l]=fT(o,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return b.useEffect(()=>{const u=Bo(r.current);i.current=a==="mounted"?u:"none"},[a]),ir(()=>{const u=r.current,c=s.current;if(c!==e){const f=i.current,h=Bo(u);e?l("MOUNT"):h==="none"||(u==null?void 0:u.display)==="none"?l("UNMOUNT"):l(c&&f!==h?"ANIMATION_OUT":"UNMOUNT"),s.current=e}},[e,l]),ir(()=>{if(t){let u;const c=t.ownerDocument.defaultView??window,d=h=>{const y=Bo(r.current).includes(h.animationName);if(h.target===t&&y&&(l("ANIMATION_END"),!s.current)){const w=t.style.animationFillMode;t.style.animationFillMode="forwards",u=c.setTimeout(()=>{t.style.animationFillMode==="forwards"&&(t.style.animationFillMode=w)})}},f=h=>{h.target===t&&(i.current=Bo(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:b.useCallback(u=>{r.current=u?getComputedStyle(u):null,n(u)},[])}}function Bo(e){return(e==null?void 0:e.animationName)||"none"}function pT(e){var r,s;let t=(r=Object.getOwnPropertyDescriptor(e.props,"ref"))==null?void 0:r.get,n=t&&"isReactWarning"in t&&t.isReactWarning;return n?e.ref:(t=(s=Object.getOwnPropertyDescriptor(e,"ref"))==null?void 0:s.get,n=t&&"isReactWarning"in t&&t.isReactWarning,n?e.props.ref:e.props.ref||e.ref)}var mT=Wg[" useInsertionEffect ".trim().toString()]||ir;function gT({prop:e,defaultProp:t,onChange:n=()=>{},caller:r}){const[s,i,o]=yT({defaultProp:t,onChange:n}),a=e!==void 0,l=a?e:s;{const c=b.useRef(e!==void 0);b.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=b.useCallback(c=>{var d;if(a){const f=vT(c)?c(e):c;f!==e&&((d=o.current)==null||d.call(o,f))}else i(c)},[a,e,i,o]);return[l,u]}function yT({defaultProp:e,onChange:t}){const[n,r]=b.useState(e),s=b.useRef(n),i=b.useRef(t);return mT(()=>{i.current=t},[t]),b.useEffect(()=>{var o;s.current!==n&&((o=i.current)==null||o.call(i,n),s.current=n)},[n,s]),[n,r,i]}function vT(e){return typeof e=="function"}var xT=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"}),wT="VisuallyHidden",Pl=b.forwardRef((e,t)=>p.jsx(st.span,{...e,ref:t,style:{...xT,...e.style}}));Pl.displayName=wT;var bT=Pl,xf="ToastProvider",[wf,ST,ET]=eT("Toast"),[y0,cD]=Tl("Toast",[ET]),[CT,kl]=y0(xf),v0=e=>{const{__scopeToast:t,label:n="Notification",duration:r=5e3,swipeDirection:s="right",swipeThreshold:i=50,children:o}=e,[a,l]=b.useState(null),[u,c]=b.useState(0),d=b.useRef(!1),f=b.useRef(!1);return n.trim()||console.error(`Invalid prop \`label\` supplied to \`${xf}\`. Expected non-empty \`string\`.`),p.jsx(wf.Provider,{scope:t,children:p.jsx(CT,{scope:t,label:n,duration:r,swipeDirection:s,swipeThreshold:i,toastCount:u,viewport:a,onViewportChange:l,onToastAdd:b.useCallback(()=>c(h=>h+1),[]),onToastRemove:b.useCallback(()=>c(h=>h-1),[]),isFocusedToastEscapeKeyDownRef:d,isClosePausedRef:f,children:o})})};v0.displayName=xf;var x0="ToastViewport",TT=["F8"],Fc="toast.viewportPause",zc="toast.viewportResume",w0=b.forwardRef((e,t)=>
68{const{__scopeToast:n,hotkey:r=TT,label:s="Notifications ({hotkey})",...i}=e,o=kl(x0,n),a=ST(n),l=b.useRef(null),u=b.useRef(null),c=b.useRef(null),d=b.useRef(null),f=Ut(t,d,o.onViewportChange),h=r.join("+").replace(/Key/g,"").replace(/Digit/g,""),x=o.toastCount>0;b.useEffect(()=>{const w=g=>{var v;r.length!==0&&r.every(S=>g[S]||g.code===S)&&((v=d.current)==null||v.focus())};return document.addEventListener("keydown",w),()=>document.removeEventListener("keydown",w)},[r]),b.useEffect(()=>{const w=l.current,g=d.current;if(x&&w&&g){const m=()=>{if(!o.isClosePausedRef.current){const C=new CustomEvent(Fc);g.dispatchEvent(C),o.isClosePausedRef.current=!0}},v=()=>{if(o.isClosePausedRef.current){const C=new CustomEvent(zc);g.dispatchEvent(C),o.isClosePausedRef.current=!1}},S=C=>{!w.contains(C.relatedTarget)&&v()},E=()=>{w.contains(document.activeElement)||v()};return w.addEventListener("focusin",m),w.addEventListener("focusout",S),w.addEventListener("pointermove",m),w.addEventListener("pointerleave",E),window.addEventListener("blur",m),window.addEventListener("focus",v),()=>{w.removeEventListener("focusin",m),w.removeEventListener("focusout",S),w.removeEventListener("pointermove",m),w.removeEventListener("pointerleave",E),window.removeEventListener("blur",m),window.removeEventListener("focus",v)}}},[x,o.isClosePausedRef]);const y=b.useCallback(({tabbingDirection:w})=>{const m=a().map(v=>{const S=v.ref.current,E=[S,...FT(S)];return w==="forwards"?E:E.reverse()});return(w==="forwards"?m.reverse():m).flat()},[a]);return b.useEffect(()=>{const w=d.current;if(w){const g=m=>{var E,C,T;const v=m.altKey||m.ctrlKey||m.metaKey;if(m.key==="Tab"&&!v){const k=document.activeElement,M=m.shiftKey;if(m.target===w&&M){(E=u.current)==null||E.focus();return}const O=y({tabbingDirection:M?"backwards":"forwards"}),W=O.findIndex(L=>L===k);vu(O.slice(W+1))?m.preventDefault():M?(C=u.current)==null||C.focus():(T=c.current)==null||T.focus()}};return w.addEventListener("keydown",g),()=>w.removeEventListener("keydown",g)}},[a,y]),p.jsxs(cT,{ref:l,role:"region","aria-label":s.replace("{hotkey}",h),tabIndex:-1,style:{pointerEvents:x?void 0:"none"},children:[x&&p.jsx(_c,{ref:u,onFocusFromOutsideViewport:()=>{const w=y({tabbingDirection:"forwards"});vu(w)}}),p.jsx(wf.Slot,{scope:n,children:p.jsx(st.ol,{tabIndex:-1,...i,ref:f})}),x&&p.jsx(_c,{ref:c,onFocusFromOutsideViewport:()=>{const w=y({tabbingDirection:"backwards"});vu(w)}})]})});w0.displayName=x0;var b0="ToastFocusProxy",_c=b.forwardRef((e,t)=>{const{__scopeToast:n,onFocusFromOutsideViewport:r,...s}=e,i=kl(b0,n);return p.jsx(Pl,{"aria-hidden":!0,tabIndex:0,...s,ref:t,style:{position:"fixed"},onFocus:o=>{var u;const a=o.relatedTarget;!((u=i.viewport)!=null&&u.contains(a))&&r()}})});_c.displayName=b0;var fo="Toast",PT="toast.swipeStart",kT="toast.swipeMove",NT="toast.swipeCancel",RT="toast.swipeEnd",S0=b.forwardRef((e,t)=>{const{forceMount:n,open:r,defaultOpen:s,onOpenChange:i,...o}=e,[a,l]=gT({prop:r,defaultProp:s??!0,onChange:i,caller:fo});return p.jsx(vf,{present:n||a,children:p.jsx(MT,{open:a,...o,ref:t,onClose:()=>l(!1),onPause:sr(e.onPause),onResume:sr(e.onResume),onSwipeStart:Ce(e.onSwipeStart,u=>{u.currentTarget.setAttribute("data-swipe","start")}),onSwipeMove:Ce(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:Ce(e.onSwipeCancel,u=>{u.currentTarget.setAttribute("data-swipe","cancel"),u.currentTarget.style.removeProperty("--radix-toast-swipe-move-x"),u.currentTarget.style.removeProperty("--radix-toast-swipe-move-y"),u.currentTarget.style.removeProperty("--radix-toast-swipe-end-x"),u.currentTarget.style.removeProperty("--radix-toast-swipe-end-y")}),onSwipeEnd:Ce(e.onSwipeEnd,u=>{const{x: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)})})})});S0.displayName=fo;var[AT,jT]=y0(fo,{onClose(){}}),MT=b.forwardRef((e,t)=>
68{const{__scopeToast:n,type:r="foreground",duration:s,open:i,onClose:o,onEscapeKeyDown:a,onPause:l,onResume:u,onSwipeStart:c,onSwipeMove:d,onSwipeCancel:f,onSwipeEnd:h,...x}=e,y=kl(fo,n),[w,g]=b.useState(null),m=Ut(t,L=>g(L)),v=b.useRef(null),S=b.useRef(null),E=s||y.duration,C=b.useRef(0),T=b.useRef(E),k=b.useRef(0),{onToastAdd:M,onToastRemove:N}=y,V=sr(()=>{var $;(w==null?void 0:w.contains(document.activeElement))&&(($=y.viewport)==null||$.focus()),o()}),O=b.useCallback(L=>{!L||L===1/0||(window.clearTimeout(k.current),C.current=new Date().getTime(),k.current=window.setTimeout(V,L))},[V]);b.useEffect(()=>{const L=y.viewport;if(L){const $=()=>{O(T.current),u==null||u()},_=()=>{const H=new Date().getTime()-C.current;T.current=T.current-H,window.clearTimeout(k.current),l==null||l()};return L.addEventListener(Fc,_),L.addEventListener(zc,$),()=>{L.removeEventListener(Fc,_),L.removeEventListener(zc,$)}}},[y.viewport,E,l,u,O]),b.useEffect(()=>{i&&!y.isClosePausedRef.current&&O(E)},[i,E,y.isClosePausedRef,O]),b.useEffect(()=>(M(),()=>N()),[M,N]);const W=b.useMemo(()=>w?R0(w):null,[w]);return y.viewport?p.jsxs(p.Fragment,{children:[W&&p.jsx(DT,{__scopeToast:n,role:"status","aria-live":r==="foreground"?"assertive":"polite","aria-atomic":!0,children:W}),p.jsx(AT,{scope:n,onClose:V,children:co.createPortal(p.jsx(wf.ItemSlot,{scope:n,children:p.jsx(uT,{asChild:!0,onEscapeKeyDown:Ce(a,()=>{y.isFocusedToastEscapeKeyDownRef.current||V(),y.isFocusedToastEscapeKeyDownRef.current=!1}),children:p.jsx(st.li,{role:"status","aria-live":"off","aria-atomic":!0,tabIndex:0,"data-state":i?"open":"closed","data-swipe-direction":y.swipeDirection,...x,ref:m,style:{userSelect:"none",touchAction:"none",...e.style},onKeyDown:Ce(e.onKeyDown,L=>{L.key==="Escape"&&(a==null||a(L.nativeEvent),L.nativeEvent.defaultPrevented||(y.isFocusedToastEscapeKeyDownRef.current=!0,V()))}),onPointerDown:Ce(e.onPointerDown,L=>{L.button===0&&(v.current={x:L.clientX,y:L.clientY})}),onPointerMove:Ce(e.onPointerMove,L=>{if(!v.current)return;const $=L.clientX-v.current.x,_=L.clientY-v.current.y,H=!!S.current,P=["left","right"].includes(y.swipeDirection),R=["left","up"].includes(y.swipeDirection)?Math.min:Math.max,I=P?R(0,$):0,U=P?0:R(0,_),B=L.pointerType==="touch"?10:2,Y={x:I,y:U},Z={originalEvent:L,delta:Y};H?(S.current=Y,Uo(kT,d,Z,{discrete:!1})):$p(Y,y.swipeDirection,B)?(S.current=Y,Uo(PT,c,Z,{discrete:!1}),L.target.setPointerCapture(L.pointerId)):(Math.abs($)>B||Math.abs(_)>B)&&(v.current=null)}),onPointerUp:Ce(e.onPointerUp,L=>{const $=S.current,_=L.target;if(_.hasPointerCapture(L.pointerId)&&_.releasePointerCapture(L.pointerId),S.current=null,v.current=null,$){const H=L.currentTarget,P={originalEvent:L,delta:$};$p($,y.swipeDirection,y.swipeThreshold)?Uo(RT,h,P,{discrete:!0}):Uo(NT,f,P,{discrete:!0}),H.addEventListener("click",R=>R.preventDefault(),{once:!0})}})})})}),y.viewport)})]}):null}),DT=e=>{const{__scopeToast:t,children:n,...r}=e,s=kl(fo,t),[i,o]=b.useState(!1),[a,l]=b.useState(!1);return IT(()=>o(!0)),b.useEffect(()=>{const u=window.setTimeout(()=>l(!0),1e3);return()=>window.clearTimeout(u)},[]),a?null:p.jsx(g0,{asChild:!0,children:p.jsx(Pl,{...r,children:i&&p.jsxs(p.Fragment,{children:[s.label," ",n]})})})},LT="ToastTitle",E0=b.forwardRef((e,t)=>{const{__scopeToast:n,...r}=e;return p.jsx(st.div,{...r,ref:t})});E0.displayName=LT;var OT="ToastDescription",C0=b.forwardRef((e,t)=>{const{__scopeToast:n,...r}=e;return p.jsx(st.div,{...r,ref:t})});C0.displayName=OT;var T0="ToastAction",P0=b.forwardRef((e,t)=>{const{altText:n,...r}=e;return n.trim()?p.jsx(N0,{altText:n,asChild:!0,children:p.jsx(bf,{...r,ref:t})}):(console.error(`Invalid prop \`altText\` supplied to \`${T0}\`. Expected non-empty \`string\`.`),null)});P0.displayName=T0;var k0="ToastClose",bf=b.forwardRef((e,t)=>{const{__scopeToast:n,...r}=e,s=jT(k0,n);return p.jsx(N0,{asChild:!0,children:p.jsx(st.button,{type:"button",...r,ref:t,onClick:Ce(e.onClick,s.onClose)})})});bf.displayName=k0;var N0=b.forwardRef((e,t)=>{const{__scopeToast:n,altText:r,...s}=e;return p.jsx(st.div,{"data-radix-toast-announce-exclude":"","data-radix-toast-announce-alt":r||void 0,...s,ref:t})});function R0(e){const t=[];
vendor: 6,626 bytes, lines 68-132
68return Array.from(e.childNodes).forEach(r=>{if(r.nodeType===r.TEXT_NODE&&r.textContent&&t.push(r.textContent),VT(r)){const s=r.ariaHidden||r.hidden||r.style.display==="none",i=r.dataset.radixToastAnnounceExclude==="";if(!s)if(i){const o=r.dataset.radixToastAnnounceAlt;o&&t.push(o)}else t.push(...R0(r))}}),t}function Uo(e,t,n,{discrete:r}){const s=n.originalEvent.currentTarget,i=new CustomEvent(e,{bubbles:!0,cancelable:!0,detail:n});t&&s.addEventListener(e,t,{once:!0}),r?f0(s,i):s.dispatchEvent(i)}var $p=(e,t,n=0)=>{const r=Math.abs(e.x),s=Math.abs(e.y),i=r>s;return t==="left"||t==="right"?i&&r>n:!i&&s>n};function IT(e=()=>{}){const t=sr(e);ir(()=>{let n=0,r=0;return n=window.requestAnimationFrame(()=>r=window.requestAnimationFrame(t)),()=>{window.cancelAnimationFrame(n),window.cancelAnimationFrame(r)}},[t])}function VT(e){return e.nodeType===e.ELEMENT_NODE}function FT(e){const t=[],n=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:r=>{const s=r.tagName==="INPUT"&&r.type==="hidden";return r.disabled||r.hidden||s?NodeFilter.FILTER_SKIP:r.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;n.nextNode();)t.push(n.currentNode);return t}function vu(e){const t=document.activeElement;return e.some(n=>n===t?!0:(n.focus(),document.activeElement!==t))}var zT=v0,A0=w0,j0=S0,M0=E0,D0=C0,L0=P0,O0=bf;function I0(e){var t,n,r="";if(typeof e=="string"||typeof e=="number")r+=e;else if(typeof e=="object")if(Array.isArray(e)){var s=e.length;for(t=0;t<s;t++)e[t]&&(n=I0(e[t]))&&(r&&(r+=" "),r+=n)}else for(n in e)e[n]&&(r&&(r+=" "),r+=n);return r}function V0(){for(var e,t,n=0,r="",s=arguments.length;n<s;n++)(e=arguments[n])&&(t=I0(e))&&(r&&(r+=" "),r+=t);return r}const Hp=e=>typeof e=="boolean"?`${e}`:e===0?"0":e,Kp=V0,F0=(e,t)=>n=>{var r;if((t==null?void 0:t.variants)==null)return Kp(e,n==null?void 0:n.class,n==null?void 0:n.className);const{variants:s,defaultVariants:i}=t,o=Object.keys(s).map(u=>{const c=n==null?void 0:n[u],d=i==null?void 0:i[u];if(c===null)return null;const f=Hp(c)||Hp(d);return s[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,...h}=c;return Object.entries(h).every(x=>{let[y,w]=x;return Array.isArray(w)?w.includes({...i,...a}[y]):{...i,...a}[y]===w})?[...u,d,f]:u},[]);return Kp(e,o,l,n==null?void 0:n.class,n==null?void 0:n.className)};/** 69 * @license lucide-react v0.462.0 - ISC 70 * 71 * This source code is licensed under the ISC license. 72 * See the LICENSE file in the root directory of this source tree. 73 */const _T=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),z0=(...e)=>e.filter((t,n,r)=>!!t&&t.trim()!==""&&r.indexOf(t)===n).join(" ").trim();/** 74 * @license lucide-react v0.462.0 - ISC 75 * 76 * This source code is licensed under the ISC license. 77 * See the LICENSE file in the root directory of this source tree. 78 */var BT={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};/** 79 * @license lucide-react v0.462.0 - ISC 80 * 81 * This source code is licensed under the ISC license. 82 * See the LICENSE file in the root directory of this source tree. 83 */const UT=b.forwardRef(({color:e="currentColor",size:t=24,strokeWidth:n=2,absoluteStrokeWidth:r,className:s="",children:i,iconNode:o,...a},l)=>b.createElement("svg",{ref:l,...BT,width:t,height:t,stroke:e,strokeWidth:r?Number(n)*24/Number(t):n,className:z0("lucide",s),...a},[...o.map(([u,c])=>b.createElement(u,c)),...Array.isArray(i)?i:[i]]));/** 84 * @license lucide-react v0.462.0 - ISC 85 * 86 * This source code is licensed under the ISC license. 87 * See the LICENSE file in the root directory of this source tree. 88 */const Qe=(e,t)=>{const n=b.forwardRef(({className:r,...s},i)=>b.createElement(UT,{ref:i,iconNode:t,className:z0(`lucide-${_T(e)}`,r),...s}));return n.displayName=`${e}`,n};/** 89 * @license lucide-react v0.462.0 - ISC 90 * 91 * This source code is licensed under the ISC license. 92 * See the LICENSE file in the root directory of this source tree. 93 */const Wo=Qe("ArrowRight",[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"m12 5 7 7-7 7",key:"xquz4c"}]]);/** 94 * @license lucide-react v0.462.0 - ISC 95 * 96 * This source code is licensed under the ISC license. 97 * See the LICENSE file in the root directory of this source tree. 98 */const WT=Qe("Check",[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]]);/** 99 * @license lucide-react v0.462.0 - ISC 100 * 101 * This source code is licensed under the ISC license. 102 * See the LICENSE file in the root directory of this source tree. 103 */const Sf=Qe("ChevronLeft",[["path",{d:"m15 18-6-6 6-6",key:"1wnfg3"}]]);/** 104 * @license lucide-react v0.462.0 - ISC 105 * 106 * This source code is licensed under the ISC license. 107 * See the LICENSE file in the root directory of this source tree. 108 */const Ef=Qe("ChevronRight",[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]]);/** 109 * @license lucide-react v0.462.0 - ISC 110 * 111 * This source code is licensed under the ISC license. 112 * See the LICENSE file in the root directory of this source tree. 113 */const $T=Qe("Clock",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["polyline",{points:"12 6 12 12 16 14",key:"68esgv"}]]);/** 114 * @license lucide-react v0.462.0 - ISC 115 * 116 * This source code is licensed under the ISC license. 117 * See the LICENSE file in the root directory of this source tree. 118 */const HT=Qe("Euro",[["path",{d:"M4 10h12",key:"1y6xl8"}],["path",{d:"M4 14h9",key:"1loblj"}],["path",{d:"M19 6a7.7 7.7 0 0 0-5.2-2A7.9 7.9 0 0 0 6 12c0 4.4 3.5 8 7.8 8 2 0 3.8-.8 5.2-2",key:"1j6lzo"}]]);/** 119 * @license lucide-react v0.462.0 - ISC 120 * 121 * This source code is licensed under the ISC license. 122 * See the LICENSE file in the root directory of this source tree. 123 */const KT=Qe("FileText",[["path",{d:"M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7Z",key:"1rqfz7"}],["path",{d:"M14 2v4a2 2 0 0 0 2 2h4",key:"tnqrlb"}],["path",{d:"M10 9H8",key:"b1mrlr"}],["path",{d:"M16 13H8",key:"t4e002"}],["path",{d:"M16 17H8",key:"z1uh3a"}]]);/** 124 * @license lucide-react v0.462.0 - ISC 125 * 126 * This source code is licensed under the ISC license. 127 * See the LICENSE file in the root directory of this source tree. 128 */const GT=Qe("Headphones",[["path",{d:"M3 14h3a2 2 0 0 1 2 2v3a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-7a9 9 0 0 1 18 0v7a2 2 0 0 1-2 2h-1a2 2 0 0 1-2-2v-3a2 2 0 0 1 2-2h3",key:"1xhozi"}]]);/** 129 * @license lucide-react v0.462.0 - ISC 130 * 131 * This source code is licensed under the ISC license. 132 * See the LICENSE file in the root directory of this source tree.
vendor: 10,051 bytes, lines 133-163
133 */const qT=Qe("Lock",[["rect",{width:"18",height:"11",x:"3",y:"11",rx:"2",ry:"2",key:"1w4ew1"}],["path",{d:"M7 11V7a5 5 0 0 1 10 0v4",key:"fwvmzm"}]]);/** 134 * @license lucide-react v0.462.0 - ISC 135 * 136 * This source code is licensed under the ISC license. 137 * See the LICENSE file in the root directory of this source tree. 138 */const Cf=Qe("Play",[["polygon",{points:"6 3 20 12 6 21 6 3",key:"1oa8hb"}]]);/** 139 * @license lucide-react v0.462.0 - ISC 140 * 141 * This source code is licensed under the ISC license. 142 * See the LICENSE file in the root directory of this source tree. 143 */const QT=Qe("Scale",[["path",{d:"m16 16 3-8 3 8c-.87.65-1.92 1-3 1s-2.13-.35-3-1Z",key:"7g6ntu"}],["path",{d:"m2 16 3-8 3 8c-.87.65-1.92 1-3 1s-2.13-.35-3-1Z",key:"ijws7r"}],["path",{d:"M7 21h10",key:"1b0cd5"}],["path",{d:"M12 3v18",key:"108xh3"}],["path",{d:"M3 7h2c2 0 5-1 7-2 2 1 5 2 7 2h2",key:"3gwbw2"}]]);/** 144 * @license lucide-react v0.462.0 - ISC 145 * 146 * This source code is licensed under the ISC license. 147 * See the LICENSE file in the root directory of this source tree. 148 */const YT=Qe("ShieldCheck",[["path",{d:"M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z",key:"oel41y"}],["path",{d:"m9 12 2 2 4-4",key:"dzmm74"}]]);/** 149 * @license lucide-react v0.462.0 - ISC 150 * 151 * This source code is licensed under the ISC license. 152 * See the LICENSE file in the root directory of this source tree. 153 */const bt=Qe("Star",[["path",{d:"M11.525 2.295a.53.53 0 0 1 .95 0l2.31 4.679a2.123 2.123 0 0 0 1.595 1.16l5.166.756a.53.53 0 0 1 .294.904l-3.736 3.638a2.123 2.123 0 0 0-.611 1.878l.882 5.14a.53.53 0 0 1-.771.56l-4.618-2.428a2.122 2.122 0 0 0-1.973 0L6.396 21.01a.53.53 0 0 1-.77-.56l.881-5.139a2.122 2.122 0 0 0-.611-1.879L2.16 9.795a.53.53 0 0 1 .294-.906l5.165-.755a2.122 2.122 0 0 0 1.597-1.16z",key:"r04s7s"}]]);/** 154 * @license lucide-react v0.462.0 - ISC 155 * 156 * This source code is licensed under the ISC license. 157 * See the LICENSE file in the root directory of this source tree. 158 */const XT=Qe("Tag",[["path",{d:"M12.586 2.586A2 2 0 0 0 11.172 2H4a2 2 0 0 0-2 2v7.172a2 2 0 0 0 .586 1.414l8.704 8.704a2.426 2.426 0 0 0 3.42 0l6.58-6.58a2.426 2.426 0 0 0 0-3.42z",key:"vktsd0"}],["circle",{cx:"7.5",cy:"7.5",r:".5",fill:"currentColor",key:"kqv944"}]]);/** 159 * @license lucide-react v0.462.0 - ISC 160 * 161 * This source code is licensed under the ISC license. 162 * See the LICENSE file in the root directory of this source tree. 163 */const _0=Qe("X",[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]]),Tf="-",ZT=e=>{const t=eP(e),{conflictingClassGroups:n,conflictingClassGroupModifiers:r}=e;return{getClassGroupId:o=>{const a=o.split(Tf);return a[0]===""&&a.length!==1&&a.shift(),B0(a,t)||JT(o)},getConflictingClassGroupIds:(o,a)=>{const l=n[o]||[];return a&&r[o]?[...l,...r[o]]:l}}},B0=(e,t)=>{var o;if(e.length===0)return t.classGroupId;const n=e[0],r=t.nextPart.get(n),s=r?B0(e.slice(1),r):void 0;if(s)return s;if(t.validators.length===0)return;const i=e.join(Tf);return(o=t.validators.find(({validator:a})=>a(i)))==null?void 0:o.classGroupId},Gp=/^\[(.+)\]$/,JT=e=>{if(Gp.test(e)){const t=Gp.exec(e)[1],n=t==null?void 0:t.substring(0,t.indexOf(":"));if(n)return"arbitrary.."+n}},eP=e=>{const{theme:t,prefix:n}=e,r={nextPart:new Map,validators:[]};return nP(Object.entries(e.classGroups),n).forEach(([i,o])=>{Bc(o,r,i,t)}),r},Bc=(e,t,n,r)=>{e.forEach(s=>{if(typeof s=="string"){const i=s===""?t:qp(t,s);i.classGroupId=n;return}if(typeof s=="function"){if(tP(s)){Bc(s(r),t,n,r);return}t.validators.push({validator:s,classGroupId:n});return}Object.entries(s).forEach(([i,o])=>{Bc(o,qp(t,i),n,r)})})},qp=(e,t)=>{let n=e;return t.split(Tf).forEach(r=>{n.nextPart.has(r)||n.nextPart.set(r,{nextPart:new Map,validators:[]}),n=n.nextPart.get(r)}),n},tP=e=>e.isThemeGetter,nP=(e,t)=>t?e.map(([n,r])=>{const s=r.map(i=>typeof i=="string"?t+i:typeof i=="object"?Object.fromEntries(Object.entries(i).map(([o,a])=>[t+o,a])):i);return[n,s]}):e,rP=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,n=new Map,r=new Map;const s=(i,o)=>{n.set(i,o),t++,t>e&&(t=0,r=n,n=new Map)};return{get(i){let o=n.get(i);if(o!==void 0)return o;if((o=r.get(i))!==void 0)return s(i,o),o},set(i,o){n.has(i)?n.set(i,o):s(i,o)}}},U0="!",sP=e=>{const{separator:t,experimentalParseClassName:n}=e,r=t.length===1,s=t[0],i=t.length,o=a=>{const l=[];let u=0,c=0,d;for(let w=0;w<a.length;w++){let g=a[w];if(u===0){if(g===s&&(r||a.slice(w,w+i)===t)){l.push(a.slice(c,w)),c=w+i;continue}if(g==="/"){d=w;continue}}g==="["?u++:g==="]"&&u--}const f=l.length===0?a:a.substring(c),h=f.startsWith(U0),x=h?f.substring(1):f,y=d&&d>c?d-c:void 0;return{modifiers:l,hasImportantModifier:h,baseClassName:x,maybePostfixModifierPosition:y}};return n?a=>n({className:a,parseClassName:o}):o},iP=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},oP=e=>({cache:rP(e.cacheSize),parseClassName:sP(e),...ZT(e)}),aP=/\s+/,lP=(e,t)=>{const{parseClassName:n,getClassGroupId:r,getConflictingClassGroupIds:s}=t,i=[],o=e.trim().split(aP);let a="";for(let l=o.length-1;l>=0;l-=1){const u=o[l],{modifiers:c,hasImportantModifier:d,baseClassName:f,maybePostfixModifierPosition:h}=n(u);let x=!!h,y=r(x?f.substring(0,h):f);if(!y){if(!x){a=u+(a.length>0?" "+a:a);continue}if(y=r(f),!y){a=u+(a.length>0?" "+a:a);continue}x=!1}const w=iP(c).join(":"),g=d?w+U0:w,m=g+y;if(i.includes(m))continue;i.push(m);const v=s(y,x);for(let S=0;S<v.length;++S){const E=v[S];i.push(g+E)}a=u+(a.length>0?" "+a:a)}return a};function uP(){let e=0,t,n,r="";for(;e<arguments.length;)(t=arguments[e++])&&(n=W0(t))&&(r&&(r+=" "),r+=n);return r}const W0=e=>{if(typeof e=="string")return e;let t,n="";for(let r=0;r<e.length;r++)e[r]&&(t=W0(e[r]))&&(n&&(n+=" "),n+=t);return n};function cP(e,...t){let n,r,s,i=o;function o(l){const u=t.reduce((c,d)=>d(c),e());return n=oP(u),r=n.cache.get,s=n.cache.set,i=a,a(l)}function a(l){const u=r(l);if(u)return u;const c=lP(l,n);return s(l,c),c}return function(){return i(uP.apply(null,arguments))}}const oe=e=>{const t=n=>n[e]||[];return t.isThemeGetter=!0,t},$0=/^\[(?:([a-z-]+):)?(.+)\]$/i,dP=/^\d+\/\d+$/,fP=new Set(["px","full","screen"]),hP=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,pP=/\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$/,mP=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,gP=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,yP=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,ln=e=>Ss(e)||fP.has(e)||dP.test(e),An=e=>Gs(e,"length",TP),Ss=e=>!!e&&!Number.isNaN(Number(e)),xu=e=>Gs(e,"number",Ss),ui=e=>!!e&&Number.isInteger(Number(e)),vP=e=>e.endsWith("%")&&Ss(e.slice(0,-1)),Q=e=>$0.test(e),jn=e=>hP.test(e),xP=new Set(["length","size","percentage"]),wP=e=>Gs(e,xP,H0),bP=e=>Gs(e,"position",H0),SP=new Set(["image","url"]),EP=e=>Gs(e,SP,kP),CP=e=>Gs(e,"",PP),ci=()=>!0,Gs=(e,t,n)=>{const r=$0.exec(e);return r?r[1]?typeof t=="string"?r[1]===t:t.has(r[1]):n(r[2]):!1},TP=e=>pP.test(e)&&!mP.test(e),H0=()=>!1,PP=e=>gP.test(e),kP=e=>yP.test(e),NP=()=>{const e=oe("colors"),t=oe("spacing"),n=oe("blur"),r=oe("brightness"),s=oe("borderColor"),i=oe("borderRadius"),o=oe("borderSpacing"),a=oe("borderWidth"),l=oe("contrast"),u=oe("grayscale"),c=oe("hueRotate"),d=oe("invert"),f=oe("gap"),h=oe("gradientColorStops"),x=oe("gradientColorStopPositions"),y=oe("inset"),w=oe("margin"),g=oe("opacity"),m=oe("padding"),v=oe("saturate"),S=oe("scale"),E=oe("sepia"),C=oe("skew"),T=oe("space"),k=oe("translate"),M=()=>["auto","contain","none"],N=()=>["auto","hidden","clip","visible","scroll"],V=()=>["auto",Q,t],O=()=>[Q,t],W=()=>["",ln,An],L=()=>["auto",Ss,Q],$=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],_=()=>["solid","dashed","dotted","double","none"],H=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],P=()=>["start","end","center","between","around","evenly","stretch"],R=()=>["","0",Q],I=()=>["auto","avoid","all","avoid-page","page","left","right","column"],U=()=>[Ss,Q];return{cacheSize:500,separator:":",theme:{colors:[ci],spacing:[ln,An],blur:["none","",jn,Q],brightness:U(),borderColor:[e],borderRadius:["none","","full",jn,Q],borderSpacing:O(),borderWidth:W(),contrast:U(),grayscale:R(),hueRotate:U(),invert:R(),gap:O(),gradientColorStops:[e],gradientColorStopPositions:[vP,An],inset:V(),margin:V(),opacity:U(),padding:O(),saturate:U(),scale:U(),sepia:R(),skew:U(),space:O(),translate:O()},classGroups:{aspect:[{aspect:["auto","square","video",Q]}],container:["container"],columns:[{columns:[jn]}],"break-after":[{"break-after":I()}],"break-before":[{"break-before":I()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:[...$(),Q]}],overflow:[{overflow:N()}],"overflow-x":[{"overflow-x":N()}],"overflow-y":[{"overflow-y":N()}],overscroll:[{overscroll:M()}],"overscroll-x":[{"overscroll-x":M()}],"overscroll-y":[{"overscroll-y":M()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[y]}],"inset-x":[{"inset-x":[y]}],"inset-y":[{"inset-y":[y]}],start:[{start:[y]}],end:[{end:[y]}],top:[{top:[y]}
vendor: 9,621 bytes, line 163
163],right:[{right:[y]}],bottom:[{bottom:[y]}],left:[{left:[y]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",ui,Q]}],basis:[{basis:V()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",Q]}],grow:[{grow:R()}],shrink:[{shrink:R()}],order:[{order:["first","last","none",ui,Q]}],"grid-cols":[{"grid-cols":[ci]}],"col-start-end":[{col:["auto",{span:["full",ui,Q]},Q]}],"col-start":[{"col-start":L()}],"col-end":[{"col-end":L()}],"grid-rows":[{"grid-rows":[ci]}],"row-start-end":[{row:["auto",{span:[ui,Q]},Q]}],"row-start":[{"row-start":L()}],"row-end":[{"row-end":L()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",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",...P()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...P(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...P(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[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:[w]}],mx:[{mx:[w]}],my:[{my:[w]}],ms:[{ms:[w]}],me:[{me:[w]}],mt:[{mt:[w]}],mr:[{mr:[w]}],mb:[{mb:[w]}],ml:[{ml:[w]}],"space-x":[{"space-x":[T]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[T]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",Q,t]}],"min-w":[{"min-w":[Q,t,"min","max","fit"]}],"max-w":[{"max-w":[Q,t,"none","full","min","max","fit","prose",{screen:[jn]},jn]}],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",jn,An]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",xu]}],"font-family":[{font:[ci]}],"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",Ss,xu]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",ln,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":[g]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[g]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[..._(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",ln,An]}],"underline-offset":[{"underline-offset":["auto",ln,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:O()}],"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":[g]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...$(),bP]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",wP]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},EP]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[x]}],"gradient-via-pos":[{via:[x]}],"gradient-to-pos":[{to:[x]}],"gradient-from":[{from:[h]}],"gradient-via":[{via:[h]}],"gradient-to":[{to:[h]}],rounded:[{rounded:[i]}],"rounded-s":[{"rounded-s":[i]}],"rounded-e":[{"rounded-e":[i]}],"rounded-t":[{"rounded-t":[i]}],"rounded-r":[{"rounded-r":[i]}],"rounded-b":[{"rounded-b":[i]}],"rounded-l":[{"rounded-l":[i]}],"rounded-ss":[{"rounded-ss":[i]}],"rounded-se":[{"rounded-se":[i]}],"rounded-ee":[{"rounded-ee":[i]}],"rounded-es":[{"rounded-es":[i]}],"rounded-tl":[{"rounded-tl":[i]}],"rounded-tr":[{"rounded-tr":[i]}],"rounded-br":[{"rounded-br":[i]}],"rounded-bl":[{"rounded-bl":[i]}],"border-w":[{border:[a]}],"border-w-x":[{"border-x":[a]}],"border-w-y":[{"border-y":[a]}],"border-w-s":[{"border-s":[a]}],"border-w-e":[{"border-e":[a]}],"border-w-t":[{"border-t":[a]}],"border-w-r":[{"border-r":[a]}],"border-w-b":[{"border-b":[a]}],"border-w-l":[{"border-l":[a]}],"border-opacity":[{"border-opacity":[g]}],"border-style":[{border:[..._(),"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":[g]}],"divide-style":[{divide:_()}],"border-color":[{border:[s]}],"border-color-x":[{"border-x":[s]}],"border-color-y":[{"border-y":[s]}],"border-color-s":[{"border-s":[s]}],"border-color-e":[{"border-e":[s]}],"border-color-t":[{"border-t":[s]}],"border-color-r":[{"border-r":[s]}],"border-color-b":[{"border-b":[s]}],"border-color-l":[{"border-l":[s]}],"divide-color":[{divide:[s]}],"outline-style":[{outline:["",..._()]}],"outline-offset":[{"outline-offset":[ln,Q]}],"outline-w":[{outline:[ln,An]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:W()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[g]}],"ring-offset-w":[{"ring-offset":[ln,An]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",jn,CP]}],"shadow-color":[{shadow:[ci]}],opacity:[{opacity:[g]}],"mix-blend":[{"mix-blend":[...H(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":H()}],filter:[{filter:["","none"]}],blur:[{blur:[n]}],brightness:[{brightness:[r]}],contrast:[{contrast:[l]}],"drop-shadow":[{"drop-shadow":["","none",jn,Q]}],grayscale:[{grayscale:[u]}],"hue-rotate":[{"hue-rotate":[c]}],invert:[{invert:[d]}],saturate:[{saturate:[v]}],sepia:[{sepia:[E]}],"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":[g]}],"backdrop-saturate":[{"backdrop-saturate":[v]}],"backdrop-sepia":[{"backdrop-sepia":[E]}],"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:U()}],ease:[{ease:["linear","in","out","in-out",Q]}],delay:[{delay:U()}],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:[ui,Q]}],"translate-x":[{"translate-x":[k]}],"translate-y":[{"translate-y":[k]}],"skew-x":[{"skew-x":[C]}],"skew-y":[{"skew-y":[C]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",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":O()}],"scroll-mx":[{"scroll-mx":O()}],"scroll-my":[{"scroll-my":O()}],"scroll-ms":[{"scroll-ms":O()}],"scroll-me":[{"scroll-me":O()}],"scroll-mt":[{"scroll-mt":O()}],"scroll-mr":[{"scroll-mr":O()}],"scroll-mb":[{"scroll-mb":O()}],"scroll-ml":[{"scroll-ml":O()}],"scroll-p":[{"scroll-p":O()}],"scroll-px":[{"scroll-px":O()}],"scroll-py":[{"scroll-py":O()}],"scroll-ps":[{"scroll-ps":O()}],"scroll-pe":[{"scroll-pe":O()}],"scroll-pt":[{"scroll-pt":O()}
vendor: 4,941 bytes, line 163
163],"scroll-pr":[{"scroll-pr":O()}],"scroll-pb":[{"scroll-pb":O()}],"scroll-pl":[{"scroll-pl":O()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",Q]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[ln,An,xu]}],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"]}}},RP=cP(NP);function hr(...e){return RP(V0(e))}const AP=zT,K0=b.forwardRef(({className:e,...t},n)=>p.jsx(A0,{ref:n,className:hr("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}));K0.displayName=A0.displayName;const jP=F0("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"}}),G0=b.forwardRef(({className:e,variant:t,...n},r)=>p.jsx(j0,{ref:r,className:hr(jP({variant:t}),e),...n}));G0.displayName=j0.displayName;const MP=b.forwardRef(({className:e,...t},n)=>p.jsx(L0,{ref:n,className:hr("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}));MP.displayName=L0.displayName;const q0=b.forwardRef(({className:e,...t},n)=>p.jsx(O0,{ref:n,className:hr("absolute right-2 top-2 rounded-md p-1 text-foreground
vendor: 13,725 bytes, line 163
163/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:p.jsx(_0,{className:"h-4 w-4"})}));q0.displayName=O0.displayName;const Q0=b.forwardRef(({className:e,...t},n)=>p.jsx(M0,{ref:n,className:hr("text-sm font-semibold",e),...t}));Q0.displayName=M0.displayName;const Y0=b.forwardRef(({className:e,...t},n)=>p.jsx(D0,{ref:n,className:hr("text-sm opacity-90",e),...t}));Y0.displayName=D0.displayName;function DP(){const{toasts:e}=KC();return p.jsxs(AP,{children:[e.map(function({id:t,title:n,description:r,action:s,...i}){return p.jsxs(G0,{...i,children:[p.jsxs("div",{className:"grid gap-1",children:[n&&p.jsx(Q0,{children:n}),r&&p.jsx(Y0,{children:r})]}),s,p.jsx(q0,{})]},t)}),p.jsx(K0,{})]})}const LP=["top","right","bottom","left"],or=Math.min,at=Math.max,Ha=Math.round,$o=Math.floor,nn=e=>({x:e,y:e}),OP={left:"right",right:"left",bottom:"top",top:"bottom"},IP={start:"end",end:"start"};function Uc(e,t,n){return at(e,or(t,n))}function wn(e,t){return typeof e=="function"?e(t):e}function bn(e){return e.split("-")[0]}function qs(e){return e.split("-")[1]}function Pf(e){return e==="x"?"y":"x"}function kf(e){return e==="y"?"height":"width"}const VP=new Set(["top","bottom"]);function Jt(e){return VP.has(bn(e))?"y":"x"}function Nf(e){return Pf(Jt(e))}function FP(e,t,n){n===void 0&&(n=!1);const r=qs(e),s=Nf(e),i=kf(s);let o=s==="x"?r===(n?"end":"start")?"right":"left":r==="start"?"bottom":"top";return t.reference[i]>t.floating[i]&&(o=Ka(o)),[o,Ka(o)]}function zP(e){const t=Ka(e);return[Wc(e),t,Wc(t)]}function Wc(e){return e.replace(/start|end/g,t=>IP[t])}const Qp=["left","right"],Yp=["right","left"],_P=["top","bottom"],BP=["bottom","top"];function UP(e,t,n){switch(e){case"top":case"bottom":return n?t?Yp:Qp:t?Qp:Yp;case"left":case"right":return t?_P:BP;default:return[]}}function WP(e,t,n,r){const s=qs(e);let i=UP(bn(e),n==="start",r);return s&&(i=i.map(o=>o+"-"+s),t&&(i=i.concat(i.map(Wc)))),i}function Ka(e){return e.replace(/left|right|bottom|top/g,t=>OP[t])}function $P(e){return{top:0,right:0,bottom:0,left:0,...e}}function X0(e){return typeof e!="number"?$P(e):{top:e,right:e,bottom:e,left:e}}function Ga(e){const{x:t,y:n,width:r,height:s}=e;return{width:r,height:s,top:n,left:t,right:t+r,bottom:n+s,x:t,y:n}}function Xp(e,t,n){let{reference:r,floating:s}=e;const i=Jt(t),o=Nf(t),a=kf(o),l=bn(t),u=i==="y",c=r.x+r.width/2-s.width/2,d=r.y+r.height/2-s.height/2,f=r[a]/2-s[a]/2;let h;switch(l){case"top":h={x:c,y:r.y-s.height};break;case"bottom":h={x:c,y:r.y+r.height};break;case"right":h={x:r.x+r.width,y:d};break;case"left":h={x:r.x-s.width,y:d};break;default:h={x:r.x,y:r.y}}switch(qs(t)){case"start":h[o]-=f*(n&&u?-1:1);break;case"end":h[o]+=f*(n&&u?-1:1);break}return h}const HP=async(e,t,n)=>{const{placement:r="bottom",strategy:s="absolute",middleware:i=[],platform:o}=n,a=i.filter(Boolean),l=await(o.isRTL==null?void 0:o.isRTL(t));let u=await o.getElementRects({reference:e,floating:t,strategy:s}),{x:c,y:d}=Xp(u,r,l),f=r,h={},x=0;for(let y=0;y<a.length;y++){const{name:w,fn:g}=a[y],{x:m,y:v,data:S,reset:E}=await g({x:c,y:d,initialPlacement:r,placement:f,strategy:s,middlewareData:h,rects:u,platform:o,elements:{reference:e,floating:t}});c=m??c,d=v??d,h={...h,[w]:{...h[w],...S}},E&&x<=50&&(x++,typeof E=="object"&&(E.placement&&(f=E.placement),E.rects&&(u=E.rects===!0?await o.getElementRects({reference:e,floating:t,strategy:s}):E.rects),{x:c,y:d}=Xp(u,f,l)),y=-1)}return{x:c,y:d,placement:f,strategy:s,middlewareData:h}};async function Xi(e,t){var n;t===void 0&&(t={});const{x:r,y:s,platform:i,rects:o,elements:a,strategy:l}=e,{boundary:u="clippingAncestors",rootBoundary:c="viewport",elementContext:d="floating",altBoundary:f=!1,padding:h=0}=wn(t,e),x=X0(h),w=a[f?d==="floating"?"reference":"floating":d],g=Ga(await i.getClippingRect({element:(n=await(i.isElement==null?void 0:i.isElement(w)))==null||n?w:w.contextElement||await(i.getDocumentElement==null?void 0:i.getDocumentElement(a.floating)),boundary:u,rootBoundary:c,strategy:l})),m=d==="floating"?{x:r,y:s,width:o.floating.width,height:o.floating.height}:o.reference,v=await(i.getOffsetParent==null?void 0:i.getOffsetParent(a.floating)),S=await(i.isElement==null?void 0:i.isElement(v))?await(i.getScale==null?void 0:i.getScale(v))||{x:1,y:1}:{x:1,y:1},E=Ga(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({elements:a,rect:m,offsetParent:v,strategy:l}):m);return{top:(g.top-E.top+x.top)/S.y,bottom:(E.bottom-g.bottom+x.bottom)/S.y,left:(g.left-E.left+x.left)/S.x,right:(E.right-g.right+x.right)/S.x}}const KP=e=>({name:"arrow",options:e,async fn(t){const{x:n,y:r,placement:s,rects:i,platform:o,elements:a,middlewareData:l}=t,{element:u,padding:c=0}=wn(e,t)||{};if(u==null)return{};const d=X0(c),f={x:n,y:r},h=Nf(s),x=kf(h),y=await o.getDimensions(u),w=h==="y",g=w?"top":"left",m=w?"bottom":"right",v=w?"clientHeight":"clientWidth",S=i.reference[x]+i.reference[h]-f[h]-i.floating[x],E=f[h]-i.reference[h],C=await(o.getOffsetParent==null?void 0:o.getOffsetParent(u));let T=C?C[v]:0;(!T||!await(o.isElement==null?void 0:o.isElement(C)))&&(T=a.floating[v]||i.floating[x]);const k=S/2-E/2,M=T/2-y[x]/2-1,N=or(d[g],M),V=or(d[m],M),O=N,W=T-y[x]-V,L=T/2-y[x]/2+k,$=Uc(O,L,W),_=!l.arrow&&qs(s)!=null&&L!==$&&i.reference[x]/2-(L<O?N:V)-y[x]/2<0,H=_?L<O?L-O:L-W:0;return{[h]:f[h]+H,data:{[h]:$,centerOffset:L-$-H,..._&&{alignmentOffset:H}},reset:_}}}),GP=function(e){return e===void 0&&(e={}),{name:"flip",options:e,async fn(t){var n,r;const{placement:s,middlewareData:i,rects:o,initialPlacement:a,platform:l,elements:u}=t,{mainAxis:c=!0,crossAxis:d=!0,fallbackPlacements:f,fallbackStrategy:h="bestFit",fallbackAxisSideDirection:x="none",flipAlignment:y=!0,...w}=wn(e,t);if((n=i.arrow)!=null&&n.alignmentOffset)return{};const g=bn(s),m=Jt(a),v=bn(a)===a,S=await(l.isRTL==null?void 0:l.isRTL(u.floating)),E=f||(v||!y?[Ka(a)]:zP(a)),C=x!=="none";!f&&C&&E.push(...WP(a,y,x,S));const T=[a,...E],k=await Xi(t,w),M=[];let N=((r=i.flip)==null?void 0:r.overflows)||[];if(c&&M.push(k[g]),d){const L=FP(s,o,S);M.push(k[L[0]],k[L[1]])}if(N=[...N,{placement:s,overflows:M}],!M.every(L=>L<=0)){var V,O;const L=(((V=i.flip)==null?void 0:V.index)||0)+1,$=T[L];if($&&(!(d==="alignment"?m!==Jt($):!1)||N.every(P=>P.overflows[0]>0&&Jt(P.placement)===m)))return{data:{index:L,overflows:N},reset:{placement:$}};let _=(O=N.filter(H=>H.overflows[0]<=0).sort((H,P)=>H.overflows[1]-P.overflows[1])[0])==null?void 0:O.placement;if(!_)switch(h){case"bestFit":{var W;const H=(W=N.filter(P=>{if(C){const R=Jt(P.placement);return R===m||R==="y"}return!0}).map(P=>[P.placement,P.overflows.filter(R=>R>0).reduce((R,I)=>R+I,0)]).sort((P,R)=>P[1]-R[1])[0])==null?void 0:W[0];H&&(_=H);break}case"initialPlacement":_=a;break}if(s!==_)return{reset:{placement:_}}}return{}}}};function Zp(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function Jp(e){return LP.some(t=>e[t]>=0)}const qP=function(e){return e===void 0&&(e={}),{name:"hide",options:e,async fn(t){const{rects:n}=t,{strategy:r="referenceHidden",...s}=wn(e,t);switch(r){case"referenceHidden":{const i=await Xi(t,{...s,elementContext:"reference"}),o=Zp(i,n.reference);return{data:{referenceHiddenOffsets:o,referenceHidden:Jp(o)}}}case"escaped":{const i=await Xi(t,{...s,altBoundary:!0}),o=Zp(i,n.floating);return{data:{escapedOffsets:o,escaped:Jp(o)}}}default:return{}}}}},Z0=new Set(["left","top"]);async function QP(e,t){const{placement:n,platform:r,elements:s}=e,i=await(r.isRTL==null?void 0:r.isRTL(s.floating)),o=bn(n),a=qs(n),l=Jt(n)==="y",u=Z0.has(o)?-1:1,c=i&&l?-1:1,d=wn(t,e);let{mainAxis:f,crossAxis:h,alignmentAxis:x}=typeof d=="number"?{mainAxis:d,crossAxis:0,alignmentAxis:null}:{mainAxis:d.mainAxis||0,crossAxis:d.crossAxis||0,alignmentAxis:d.alignmentAxis};return a&&typeof x=="number"&&(h=a==="end"?x*-1:x),l?{x:h*c,y:f*u}:{x:f*u,y:h*c}}const YP=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(t){var n,r;const{x:s,y:i,placement:o,middlewareData:a}=t,l=await QP(t,e);return o===((n=a.offset)==null?void 0:n.placement)&&(r=a.arrow)!=null&&r.alignmentOffset?{}:{x:s+l.x,y:i+l.y,data:{...l,placement:o}}}}},XP=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){const{x:n,y:r,placement:s}=t,{mainAxis:i=!0,crossAxis:o=!1,limiter:a={fn:w=>{let{x:g,y:m}=w;return{x:g,y:m}}},...l}=wn(e,t),u={x:n,y:r},c=await Xi(t,l),d=Jt(bn(s)),f=Pf(d);let h=u[f],x=u[d];if(i){const w=f==="y"?"top":"left",g=f==="y"?"bottom":"right",m=h+c[w],v=h-c[g];h=Uc(m,h,v)}if(o){const w=d==="y"?"top":"left",g=d==="y"?"bottom":"right",m=x+c[w],v=x-c[g];x=Uc(m,x,v)}const y=a.fn({...t,[f]:h,[d]:x});return{...y,data:{x:y.x-n,y:y.y-r,enabled:{[f]:i,[d]:o}}}}}},ZP=function(e){return e===void 0&&(e={}),{options:e,fn(t){const{x:n,y:r,placement:s,rects:i,middlewareData:o}=t,{offset:a=0,mainAxis:l=!0,crossAxis:u=!0}=wn(e,t),c={x:n,y:r},d=Jt(s),f=Pf(d);let h=c[f],x=c[d];const y=wn(a,t),w=typeof y=="number"?{mainAxis:y,crossAxis:0}:{mainAxis:0,crossAxis:0,...y};if(l){const v=f==="y"?"height":"width",S=i.reference[f]-i.floating[v]+w.mainAxis,E=i.reference[f]+i.reference[v]-w.mainAxis;h<S?h=S:h>E&&(h=E)}if(u){var g,m;const v=f==="y"?"width":"height",S=Z0.has(bn(s)),E=i.reference[d]-i.floating[v]+(S&&((g=o.offset)==null?void 0:g[d])||0)+(S?0:w.crossAxis),C=i.reference[d]+i.reference[v]+(S?0:((m=o.offset)==null?void 0:m[d])||0)-(S?w.crossAxis:0);x<E?x=E:x>C&&(x=C)}return{[f]:h,[d]:x}}}},JP=function(e){return e===void 0&&(e={}),{name:"size",options:e,async fn(t){var n,r;const{placement:s,rects:i,platform:o,elements:a}=t,{apply:l=()=>{},...u}=wn(e,t),c=await Xi(t,u),d=bn(s),f=qs(s),h=Jt(s)==="y",{width:x,height:y}=i.floating;let w,g;d==="top"||d==="bottom"?(w=d,g=f===(await(o.isRTL==null?void 0:o.isRTL(a.floating))?"start":"end")?"left":"right"):(g=d,w=f==="end"?"top":"bottom");const m=y-c.top-c.bottom,v=x-c.left-c.right,S=or(y-c[w],m),E=or(x-c[g],v),C=!t.middlewareData.shift;let T=S,k=E;if((n=t.middlewareData.shift)!=null&&n.enabled.x&&(k=v),(r=t.middlewareData.shift)!=null&&r.enabled.y&&(T=m),C&&!f){const N=at(c.left,0),V=at(c.right,0),O=at(c.top,0),W=at(c.bottom,0);h?k=x-2*(N!==0||V!==0?N+V:at(c.left,c.right)):T=y-2*(O!==0||W!==0?O+W:at(c.top,c.bottom))}await l({...t,availableWidth:k,availableHeight:T});const M=await o.getDimensions(a.floating);return x!==M.width||y!==M.height?{reset:{rects:!0}}:{}}}};function Nl(){return typeof window<"u"}function Qs(e){return J0(e)?(e.nodeName||"").toLowerCase():"#document"}function ct(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function an(e){var t;return(t=(J0(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function J0(e){return Nl()?e instanceof Node||e instanceof ct(e).Node:!1}function Wt(e){return Nl()?e instanceof Element||e instanceof ct(e).Element:!1}function sn(e){return Nl()?e instanceof HTMLElement||e instanceof ct(e).HTMLElement:!1}function em(e){return!Nl()||typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof ct(e).ShadowRoot}const e2=new Set(["inline","contents"]);function ho(e){const{overflow:t,overflowX:n,overflowY:r,display:s}=$t(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&!e2.has(s)}const t2=new Set(["table","td","th"]);function n2(e){return t2.has(Qs(e))}const r2=[":popover-open",":modal"];function Rl(e){return r2.some(t=>{try{return e.matches(t)}catch{return!1}})}const s2=["transform","translate","scale","rotate","perspective"],i2=["transform","translate","scale","rotate","perspective","filter"],o2=["paint","layout","strict","content"];function Rf(e){const t=Af(),n=Wt(e)?$t(e):e;return s2.some(r=>n[r]?n[r]!=="none":!1)||(n.containerType?n.containerType!=="normal":!1)||!t&&(n.backdropFilter?n.backdropFilter!=="none":!1)||!t&&(n.filter?n.filter!=="none":!1)||i2.some(r=>(n.willChange||"").includes(r))||o2.some(r=>(n.contain||"").includes(r))}function a2(e){let t=ar(e);for(;sn(t)&&!zs(t);){if(Rf(t))return t;if(Rl(t))return null;t=ar(t)}return null}function Af(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}const l2=new Set(["html","body","#document"]);function zs(e){return l2.has(Qs(e))}function $t(e){return ct(e).getComputedStyle(e)}function Al(e){return Wt(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function ar(e){if(Qs(e)==="html")return e;const t=e.assignedSlot||e.parentNode||em(e)&&e.host||an(e);return em(t)?t.host:t}function ex(e){const t=ar(e);return zs(t)?e.ownerDocument?e.ownerDocument.body:e.body:sn(t)&&ho(t)?t:ex(t)}function Zi(e,t,n){var r;t===void 0&&(t=[]),n===void 0&&(n=!0);const s=ex(e),i=s===((r=e.ownerDocument)==null?void 0:r.body),o=ct(s);if(i){const a=$c(o);return t.concat(o,o.visualViewport||[],ho(s)?s:[],a&&n?Zi(a):[])}return t.concat(s,Zi(s,[],n))}function $c(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function tx(e){const t=$t(e);let n=parseFloat(t.width)||0,r=parseFloat(t.height)||0;const s=sn(e),i=s?e.offsetWidth:n,o=s?e.offsetHeight:r,a=Ha(n)!==i||Ha(r)!==o;return a&&(n=i,r=o),{width:n,height:r,$:a}}function jf(e){return Wt(e)?e:e.contextElement}function Es(e){const t=jf(e);if(!sn(t))return nn(1);const n=t.getBoundingClientRect(),{width:r,height:s,$:i}=tx(t);let o=(i?Ha(n.width):n.width)/r,a=(i?Ha(n.height):n.height)/s;return(!o||!Number.isFinite(o))&&(o=1),(!a||!Number.isFinite(a))&&(a=1),{x:o,y:a}}const u2=nn(0);function nx(e){const t=ct(e);
vendor: 5,770 bytes, line 163
163return!Af()||!t.visualViewport?u2:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function c2(e,t,n){return t===void 0&&(t=!1),!n||t&&n!==ct(e)?!1:t}function Ur(e,t,n,r){t===void 0&&(t=!1),n===void 0&&(n=!1);const s=e.getBoundingClientRect(),i=jf(e);let o=nn(1);t&&(r?Wt(r)&&(o=Es(r)):o=Es(e));const a=c2(i,n,r)?nx(i):nn(0);let l=(s.left+a.x)/o.x,u=(s.top+a.y)/o.y,c=s.width/o.x,d=s.height/o.y;if(i){const f=ct(i),h=r&&Wt(r)?ct(r):r;let x=f,y=$c(x);for(;y&&r&&h!==x;){const w=Es(y),g=y.getBoundingClientRect(),m=$t(y),v=g.left+(y.clientLeft+parseFloat(m.paddingLeft))*w.x,S=g.top+(y.clientTop+parseFloat(m.paddingTop))*w.y;l*=w.x,u*=w.y,c*=w.x,d*=w.y,l+=v,u+=S,x=ct(y),y=$c(x)}}return Ga({width:c,height:d,x:l,y:u})}function Mf(e,t){const n=Al(e).scrollLeft;return t?t.left+n:Ur(an(e)).left+n}function rx(e,t,n){n===void 0&&(n=!1);const r=e.getBoundingClientRect(),s=r.left+t.scrollLeft-(n?0:Mf(e,r)),i=r.top+t.scrollTop;return{x:s,y:i}}function d2(e){let{elements:t,rect:n,offsetParent:r,strategy:s}=e;const i=s==="fixed",o=an(r),a=t?Rl(t.floating):!1;if(r===o||a&&i)return n;let l={scrollLeft:0,scrollTop:0},u=nn(1);const c=nn(0),d=sn(r);if((d||!d&&!i)&&((Qs(r)!=="body"||ho(o))&&(l=Al(r)),sn(r))){const h=Ur(r);u=Es(r),c.x=h.x+r.clientLeft,c.y=h.y+r.clientTop}const f=o&&!d&&!i?rx(o,l,!0):nn(0);return{width:n.width*u.x,height:n.height*u.y,x:n.x*u.x-l.scrollLeft*u.x+c.x+f.x,y:n.y*u.y-l.scrollTop*u.y+c.y+f.y}}function f2(e){return Array.from(e.getClientRects())}function h2(e){const t=an(e),n=Al(e),r=e.ownerDocument.body,s=at(t.scrollWidth,t.clientWidth,r.scrollWidth,r.clientWidth),i=at(t.scrollHeight,t.clientHeight,r.scrollHeight,r.clientHeight);let o=-n.scrollLeft+Mf(e);const a=-n.scrollTop;return $t(r).direction==="rtl"&&(o+=at(t.clientWidth,r.clientWidth)-s),{width:s,height:i,x:o,y:a}}function p2(e,t){const n=ct(e),r=an(e),s=n.visualViewport;let i=r.clientWidth,o=r.clientHeight,a=0,l=0;if(s){i=s.width,o=s.height;const u=Af();(!u||u&&t==="fixed")&&(a=s.offsetLeft,l=s.offsetTop)}return{width:i,height:o,x:a,y:l}}const m2=new Set(["absolute","fixed"]);function g2(e,t){const n=Ur(e,!0,t==="fixed"),r=n.top+e.clientTop,s=n.left+e.clientLeft,i=sn(e)?Es(e):nn(1),o=e.clientWidth*i.x,a=e.clientHeight*i.y,l=s*i.x,u=r*i.y;return{width:o,height:a,x:l,y:u}}function tm(e,t,n){let r;if(t==="viewport")r=p2(e,n);else if(t==="document")r=h2(an(e));else if(Wt(t))r=g2(t,n);else{const s=nx(e);r={x:t.x-s.x,y:t.y-s.y,width:t.width,height:t.height}}return Ga(r)}function sx(e,t){const n=ar(e);return n===t||!Wt(n)||zs(n)?!1:$t(n).position==="fixed"||sx(n,t)}function y2(e,t){const n=t.get(e);if(n)return n;let r=Zi(e,[],!1).filter(a=>Wt(a)&&Qs(a)!=="body"),s=null;const i=$t(e).position==="fixed";let o=i?ar(e):e;for(;Wt(o)&&!zs(o);){const a=$t(o),l=Rf(o);!l&&a.position==="fixed"&&(s=null),(i?!l&&!s:!l&&a.position==="static"&&!!s&&m2.has(s.position)||ho(o)&&!l&&sx(e,o))?r=r.filter(c=>c!==o):s=a,o=ar(o)}return t.set(e,r),r}function v2(e){let{element:t,boundary:n,rootBoundary:r,strategy:s}=e;const o=[...n==="clippingAncestors"?Rl(t)?[]:y2(t,this._c):[].concat(n),r],a=o[0],l=o.reduce((u,c)=>{const d=tm(t,c,s);return u.top=at(d.top,u.top),u.right=or(d.right,u.right),u.bottom=or(d.bottom,u.bottom),u.left=at(d.left,u.left),u},tm(t,a,s));return{width:l.right-l.left,height:l.bottom-l.top,x:l.left,y:l.top}}function x2(e){const{width:t,height:n}=tx(e);return{width:t,height:n}}function w2(e,t,n){const r=sn(t),s=an(t),i=n==="fixed",o=Ur(e,!0,i,t);let a={scrollLeft:0,scrollTop:0};const l=nn(0);function u(){l.x=Mf(s)}if(r||!r&&!i)if((Qs(t)!=="body"||ho(s))&&(a=Al(t)),r){const h=Ur(t,!0,i,t);l.x=h.x+t.clientLeft,l.y=h.y+t.clientTop}else s&&u();i&&!r&&s&&u();const c=s&&!r&&!i?rx(s,a):nn(0),d=o.left+a.scrollLeft-l.x-c.x,f=o.top+a.scrollTop-l.y-c.y;return{x:d,y:f,width:o.width,height:o.height}}function wu(e){return $t(e).position==="static"}function nm(e,t){if(!sn(e)||$t(e).position==="fixed")return null;if(t)return t(e);let n=e.offsetParent;return an(e)===n&&(n=n.ownerDocument.body),n}function ix(e,t){const n=ct(e);if(Rl(e))return n;if(!sn(e)){let s=ar(e);for(;s&&!zs(s);){if(Wt(s)&&!wu(s))return s;s=ar(s)}return n}let r=nm(e,t);for(;r&&n2(r)&&wu(r);)r=nm(r,t);return r&&zs(r)&&wu(r)&&!Rf(r)?n:r||a2(e)||n}const b2=async function(e){const t=this.getOffsetParent||ix,n=this.getDimensions,r=await n(e.floating);return{reference:w2(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:r.width,height:r.height}}};function S2(e){return $t(e).direction==="rtl"}const E2={convertOffsetParentRelativeRectToViewportRelativeRect:d2,getDocumentElement:an,getClippingRect:v2,getOffsetParent:ix,getElementRects:b2,getClientRects:f2,getDimensions:x2,getScale:Es,isElement:Wt,isRTL:S2};function ox(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function C2(e,t){let n=null,r;const s=an(e);function i(){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),i();const u=e.getBoundingClientRect(),{left:c,top:d,width:f,height:h}=u;if(a||t(),!f||!h)return;const x=$o(d),y=$o(s.clientWidth-(c+f)),w=$o(s.clientHeight-(d+h)),g=$o(c),v={rootMargin:-x+"px "+-y+"px "+-w+"px "+-g+"px",threshold:at(0,or(1,l))||1};let S=!0;function E(C){const T=C[0].intersectionRatio;if(T!==l){if(!S)return o();T?o(!1,T):r=setTimeout(()=>{o(!1,1e-7)},1e3)}T===1&&!ox(u,e.getBoundingClientRect())&&o(),S=!1}try{n=new IntersectionObserver(E,{...v,root:s.ownerDocument})}catch{n=new IntersectionObserver(E,v)}n.observe(e)}return o(!0),i}function T2(e,t,n,r){r===void 0&&(r={});const{ancestorScroll:s=!0,ancestorResize:i=!0,elementResize:o=typeof ResizeObserver=="function",layoutShift:a=typeof IntersectionObserver=="function",animationFrame:l=!1}=r,u=jf(e),c=s||i?[...u?Zi(u):[],...Zi(t)]:[];
vendor: 9,086 bytes, line 163
163c.forEach(g=>{s&&g.addEventListener("scroll",n,{passive:!0}),i&&g.addEventListener("resize",n)});const d=u&&a?C2(u,n):null;let f=-1,h=null;o&&(h=new ResizeObserver(g=>{let[m]=g;m&&m.target===u&&h&&(h.unobserve(t),cancelAnimationFrame(f),f=requestAnimationFrame(()=>{var v;(v=h)==null||v.observe(t)})),n()}),u&&!l&&h.observe(u),h.observe(t));let x,y=l?Ur(e):null;l&&w();function w(){const g=Ur(e);y&&!ox(y,g)&&n(),y=g,x=requestAnimationFrame(w)}return n(),()=>{var g;c.forEach(m=>{s&&m.removeEventListener("scroll",n),i&&m.removeEventListener("resize",n)}),d==null||d(),(g=h)==null||g.disconnect(),h=null,l&&cancelAnimationFrame(x)}}const P2=YP,k2=XP,N2=GP,R2=JP,A2=qP,rm=KP,j2=ZP,M2=(e,t,n)=>{const r=new Map,s={platform:E2,...n},i={...s.platform,_c:r};return HP(e,t,{...s,platform:i})};var D2=typeof document<"u",L2=function(){},ua=D2?b.useLayoutEffect:L2;function qa(e,t){if(e===t)return!0;if(typeof e!=typeof t)return!1;if(typeof e=="function"&&e.toString()===t.toString())return!0;let n,r,s;if(e&&t&&typeof e=="object"){if(Array.isArray(e)){if(n=e.length,n!==t.length)return!1;for(r=n;r--!==0;)if(!qa(e[r],t[r]))return!1;return!0}if(s=Object.keys(e),n=s.length,n!==Object.keys(t).length)return!1;for(r=n;r--!==0;)if(!{}.hasOwnProperty.call(t,s[r]))return!1;for(r=n;r--!==0;){const i=s[r];if(!(i==="_owner"&&e.$$typeof)&&!qa(e[i],t[i]))return!1}return!0}return e!==e&&t!==t}function ax(e){return typeof window>"u"?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function sm(e,t){const n=ax(e);return Math.round(t*n)/n}function bu(e){const t=b.useRef(e);return ua(()=>{t.current=e}),t}function O2(e){e===void 0&&(e={});const{placement:t="bottom",strategy:n="absolute",middleware:r=[],platform:s,elements:{reference:i,floating:o}={},transform:a=!0,whileElementsMounted:l,open:u}=e,[c,d]=b.useState({x:0,y:0,strategy:n,placement:t,middlewareData:{},isPositioned:!1}),[f,h]=b.useState(r);qa(f,r)||h(r);const[x,y]=b.useState(null),[w,g]=b.useState(null),m=b.useCallback(P=>{P!==C.current&&(C.current=P,y(P))},[]),v=b.useCallback(P=>{P!==T.current&&(T.current=P,g(P))},[]),S=i||x,E=o||w,C=b.useRef(null),T=b.useRef(null),k=b.useRef(c),M=l!=null,N=bu(l),V=bu(s),O=bu(u),W=b.useCallback(()=>{if(!C.current||!T.current)return;const P={placement:t,strategy:n,middleware:f};V.current&&(P.platform=V.current),M2(C.current,T.current,P).then(R=>{const I={...R,isPositioned:O.current!==!1};L.current&&!qa(k.current,I)&&(k.current=I,co.flushSync(()=>{d(I)}))})},[f,t,n,V,O]);ua(()=>{u===!1&&k.current.isPositioned&&(k.current.isPositioned=!1,d(P=>({...P,isPositioned:!1})))},[u]);const L=b.useRef(!1);ua(()=>(L.current=!0,()=>{L.current=!1}),[]),ua(()=>{if(S&&(C.current=S),E&&(T.current=E),S&&E){if(N.current)return N.current(S,E,W);W()}},[S,E,W,N,M]);const $=b.useMemo(()=>({reference:C,floating:T,setReference:m,setFloating:v}),[m,v]),_=b.useMemo(()=>({reference:S,floating:E}),[S,E]),H=b.useMemo(()=>{const P={position:n,left:0,top:0};if(!_.floating)return P;const R=sm(_.floating,c.x),I=sm(_.floating,c.y);return a?{...P,transform:"translate("+R+"px, "+I+"px)",...ax(_.floating)>=1.5&&{willChange:"transform"}}:{position:n,left:R,top:I}},[n,a,_.floating,c.x,c.y]);return b.useMemo(()=>({...c,update:W,refs:$,elements:_,floatingStyles:H}),[c,W,$,_,H])}const I2=e=>{function t(n){return{}.hasOwnProperty.call(n,"current")}return{name:"arrow",options:e,fn(n){const{element:r,padding:s}=typeof e=="function"?e(n):e;return r&&t(r)?r.current!=null?rm({element:r.current,padding:s}).fn(n):{}:r?rm({element:r,padding:s}).fn(n):{}}}},V2=(e,t)=>({...P2(e),options:[e,t]}),F2=(e,t)=>({...k2(e),options:[e,t]}),z2=(e,t)=>({...j2(e),options:[e,t]}),_2=(e,t)=>({...N2(e),options:[e,t]}),B2=(e,t)=>({...R2(e),options:[e,t]}),U2=(e,t)=>({...A2(e),options:[e,t]}),W2=(e,t)=>({...I2(e),options:[e,t]});var $2="Arrow",lx=b.forwardRef((e,t)=>{const{children:n,width:r=10,height:s=5,...i}=e;return p.jsx(st.svg,{...i,ref:t,width:r,height:s,viewBox:"0 0 30 10",preserveAspectRatio:"none",children:e.asChild?n:p.jsx("polygon",{points:"0,0 30,0 15,10"})})});lx.displayName=$2;var H2=lx;function K2(e){const[t,n]=b.useState(void 0);return ir(()=>{if(e){n({width:e.offsetWidth,height:e.offsetHeight});const r=new ResizeObserver(s=>{if(!Array.isArray(s)||!s.length)return;const i=s[0];let o,a;if("borderBoxSize"in i){const l=i.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",[cx,dx]=Tl(ux),[dD,fx]=cx(ux),hx="PopperAnchor",px=b.forwardRef((e,t)=>{const{__scopePopper:n,virtualRef:r,...s}=e,i=fx(hx,n),o=b.useRef(null),a=Ut(t,o);return b.useEffect(()=>{i.onAnchorChange((r==null?void 0:r.current)||o.current)}),r?null:p.jsx(st.div,{...s,ref:a})});px.displayName=hx;var Df="PopperContent",[G2,q2]=cx(Df),mx=b.forwardRef((e,t)=>{var te,Hr,En,mr,Cn,Kr;const{__scopePopper:n,side:r="bottom",sideOffset:s=0,align:i="center",alignOffset:o=0,arrowPadding:a=0,avoidCollisions:l=!0,collisionBoundary:u=[],collisionPadding:c=0,sticky:d="partial",hideWhenDetached:f=!1,updatePositionStrategy:h="optimized",onPlaced:x,...y}=e,w=fx(Df,n),[g,m]=b.useState(null),v=Ut(t,Tn=>m(Tn)),[S,E]=b.useState(null),C=K2(S),T=(C==null?void 0:C.width)??0,k=(C==null?void 0:C.height)??0,M=r+(i!=="center"?"-"+i:""),N=typeof c=="number"?c:{top:0,right:0,bottom:0,left:0,...c},V=Array.isArray(u)?u:[u],O=V.length>0,W={padding:N,boundary:V.filter(Y2),altBoundary:O},{refs:L,floatingStyles:$,placement:_,isPositioned:H,middlewareData:P}=O2({strategy:"fixed",placement:M,whileElementsMounted:(...Tn)=>T2(...Tn,{animationFrame:h==="always"}),elements:{reference:w.anchor},middleware:[V2({mainAxis:s+k,alignmentAxis:o}),l&&F2({mainAxis:!0,crossAxis:!1,limiter:d==="partial"?z2():void 0,...W}),l&&_2({...W}),B2({...W,apply:({elements:Tn,rects:vo,availableWidth:Fl,availableHeight:xo})=>{const{width:zl,height:Js}=vo.reference,Gr=Tn.floating.style;Gr.setProperty("--radix-popper-available-width",`${Fl}px`),Gr.setProperty("--radix-popper-available-height",`${xo}px`),Gr.setProperty("--radix-popper-anchor-width",`${zl}px`),Gr.setProperty("--radix-popper-anchor-height",`${Js}px`)}}),S&&W2({element:S,padding:a}),X2({arrowWidth:T,arrowHeight:k}),f&&U2({strategy:"referenceHidden",...W})]}),[R,I]=vx(_),U=sr(x);ir(()=>{H&&(U==null||U())},[H,U]);const B=(te=P.arrow)==null?void 0:te.x,Y=(Hr=P.arrow)==null?void 0:Hr.y,Z=((En=P.arrow)==null?void 0:En.centerOffset)!==0,[xe,De]=b.useState();return ir(()=>{g&&De(window.getComputedStyle(g).zIndex)},[g]),p.jsx("div",{ref:L.setFloating,"data-radix-popper-content-wrapper":"",style:{...$,transform:H?$.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:xe,"--radix-popper-transform-origin":[(mr=P.transformOrigin)==null?void 0:mr.x,(Cn=P.transformOrigin)==null?void 0:Cn.y].join(" "),...((Kr=P.hide)==null?void 0:Kr.referenceHidden)&&{visibility:"hidden",pointerEvents:"none"}},dir:e.dir,children:p.jsx(G2,{scope:n,placedSide:R,onArrowChange:E,arrowX:B,arrowY:Y,shouldHideArrow:Z,children:p.jsx(st.div,{"data-side":R,"data-align":I,...y,ref:v,style:{...y.style,animation:H?void 0:"none"}})})})});mx.displayName=Df;var gx="PopperArrow",Q2={top:"bottom",right:"left",bottom:"top",left:"right"},yx=b.forwardRef(function(t,n){const{__scopePopper:r,...s}=t,i=q2(gx,r),o=Q2[i.placedSide];return p.jsx("span",{ref:i.onArrowChange,style:{position:"absolute",left:i.arrowX,top:i.arrowY,[o]:0,transformOrigin:{top:"",right:"0 0",bottom:"center 0",left:"100% 0"}[i.placedSide],transform:{top:"translateY(100%)",right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:"rotate(180deg)",left:"translateY(50%) rotate(-90deg) translateX(50%)"}[i.placedSide],visibility:i.shouldHideArrow?"hidden":void 0},children:p.jsx(H2,{...s,ref:n,style:{...s.style,display:"block"}})})});yx.displayName=gx;function Y2(e){return e!==null}var X2=e=>({name:"transformOrigin",options:e,fn(t){var w,g,m;const{placement:n,rects:r,middlewareData:s}=t,o=((w=s.arrow)==null?void 0:w.centerOffset)!==0,a=o?0:e.arrowWidth,l=o?0:e.arrowHeight,[u,c]=vx(n),d={start:"0%",center:"50%",end:"100%"}[c],f=(((g=s.arrow)==null?void 0:g.x)??0)+a/2,h=(((m=s.arrow)==null?void 0:m.y)??0)+l/2;let x="",y="";return u==="bottom"?(x=o?d:`${f}px`,y=`${-l}px`):u==="top"?(x=o?d:`${f}px`,y=`${r.floating.height+l}px`):u==="right"?(x=`${-l}px`,y=o?d:`${h}px`):u==="left"&&(x=`${r.floating.width+l}px`,y=o?d:`${h}px`),{data:{x,y}}}});function vx(e){const[t,n="center"]=e.split("-");return[t,n]}var Z2=px,J2=mx,ek=yx,[jl,fD]=Tl("Tooltip",[dx]),Lf=dx(),xx="TooltipProvider",tk=700,im="tooltip.open",[nk,wx]=jl(xx),bx=e=>{const{__scopeTooltip:t,delayDuration:n=tk,skipDelayDuration:r=300,disableHoverableContent:s=!1,children:i}=e,o=b.useRef(!0),a=b.useRef(!1),l=b.useRef(0);return b.useEffect(()=>{const u=l.current;return()=>window.clearTimeout(u)},[]),p.jsx(nk,{scope:t,isOpenDelayedRef:o,delayDuration:n,onOpen:b.useCallback(()=>{window.clearTimeout(l.current),o.current=!1},[]),onClose:b.useCallback(()=>{window.clearTimeout(l.current),l.current=window.setTimeout(()=>
vendor: 5,838 bytes, line 163
163o.current=!0,r)},[r]),isPointerInTransitRef:a,onPointerInTransitChange:b.useCallback(u=>{a.current=u},[]),disableHoverableContent:s,children:i})};bx.displayName=xx;var Sx="Tooltip",[hD,Ml]=jl(Sx),Hc="TooltipTrigger",rk=b.forwardRef((e,t)=>{const{__scopeTooltip:n,...r}=e,s=Ml(Hc,n),i=wx(Hc,n),o=Lf(n),a=b.useRef(null),l=Ut(t,a,s.onTriggerChange),u=b.useRef(!1),c=b.useRef(!1),d=b.useCallback(()=>u.current=!1,[]);return b.useEffect(()=>()=>document.removeEventListener("pointerup",d),[d]),p.jsx(Z2,{asChild:!0,...o,children:p.jsx(st.button,{"aria-describedby":s.open?s.contentId:void 0,"data-state":s.stateAttribute,...r,ref:l,onPointerMove:Ce(e.onPointerMove,f=>{f.pointerType!=="touch"&&!c.current&&!i.isPointerInTransitRef.current&&(s.onTriggerEnter(),c.current=!0)}),onPointerLeave:Ce(e.onPointerLeave,()=>{s.onTriggerLeave(),c.current=!1}),onPointerDown:Ce(e.onPointerDown,()=>{s.open&&s.onClose(),u.current=!0,document.addEventListener("pointerup",d,{once:!0})}),onFocus:Ce(e.onFocus,()=>{u.current||s.onOpen()}),onBlur:Ce(e.onBlur,s.onClose),onClick:Ce(e.onClick,s.onClose)})})});rk.displayName=Hc;var sk="TooltipPortal",[pD,ik]=jl(sk,{forceMount:void 0}),_s="TooltipContent",Ex=b.forwardRef((e,t)=>{const n=ik(_s,e.__scopeTooltip),{forceMount:r=n.forceMount,side:s="top",...i}=e,o=Ml(_s,e.__scopeTooltip);return p.jsx(vf,{present:r||o.open,children:o.disableHoverableContent?p.jsx(Cx,{side:s,...i,ref:t}):p.jsx(ok,{side:s,...i,ref:t})})}),ok=b.forwardRef((e,t)=>{const n=Ml(_s,e.__scopeTooltip),r=wx(_s,e.__scopeTooltip),s=b.useRef(null),i=Ut(t,s),[o,a]=b.useState(null),{trigger:l,onClose:u}=n,c=s.current,{onPointerInTransitChange:d}=r,f=b.useCallback(()=>{a(null),d(!1)},[d]),h=b.useCallback((x,y)=>{const w=x.currentTarget,g={x:x.clientX,y:x.clientY},m=dk(g,w.getBoundingClientRect()),v=fk(g,m),S=hk(y.getBoundingClientRect()),E=mk([...v,...S]);a(E),d(!0)},[d]);return b.useEffect(()=>()=>f(),[f]),b.useEffect(()=>{if(l&&c){const x=w=>h(w,c),y=w=>h(w,l);return l.addEventListener("pointerleave",x),c.addEventListener("pointerleave",y),()=>{l.removeEventListener("pointerleave",x),c.removeEventListener("pointerleave",y)}}},[l,c,h,f]),b.useEffect(()=>{if(o){const x=y=>{const w=y.target,g={x:y.clientX,y:y.clientY},m=(l==null?void 0:l.contains(w))||(c==null?void 0:c.contains(w)),v=!pk(g,o);m?f():v&&(f(),u())};return document.addEventListener("pointermove",x),()=>document.removeEventListener("pointermove",x)}},[l,c,o,u,f]),p.jsx(Cx,{...e,ref:i})}),[ak,lk]=jl(Sx,{isInside:!1}),uk=YC("TooltipContent"),Cx=b.forwardRef((e,t)=>{const{__scopeTooltip:n,children:r,"aria-label":s,onEscapeKeyDown:i,onPointerDownOutside:o,...a}=e,l=Ml(_s,n),u=Lf(n),{onClose:c}=l;return b.useEffect(()=>(document.addEventListener(im,c),()=>document.removeEventListener(im,c)),[c]),b.useEffect(()=>{if(l.trigger){const d=f=>{const h=f.target;h!=null&&h.contains(l.trigger)&&c()};return window.addEventListener("scroll",d,{capture:!0}),()=>window.removeEventListener("scroll",d,{capture:!0})}},[l.trigger,c]),p.jsx(yf,{asChild:!0,disableOutsidePointerEvents:!1,onEscapeKeyDown:i,onPointerDownOutside:o,onFocusOutside:d=>d.preventDefault(),onDismiss:c,children:p.jsxs(J2,{"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:[p.jsx(uk,{children:r}),p.jsx(ak,{scope:n,isInside:!0,children:p.jsx(bT,{id:l.contentId,role:"tooltip",children:s||r})})]})})});Ex.displayName=_s;var Tx="TooltipArrow",ck=b.forwardRef((e,t)=>{const{__scopeTooltip:n,...r}=e,s=Lf(n);return lk(Tx,n).isInside?null:p.jsx(ek,{...s,...r,ref:t})});ck.displayName=Tx;function dk(e,t){const n=Math.abs(t.top-e.y),r=Math.abs(t.bottom-e.y),s=Math.abs(t.right-e.x),i=Math.abs(t.left-e.x);switch(Math.min(n,r,s,i)){case i:return"left";case s:return"right";case n:return"top";case r:return"bottom";default:throw new Error("unreachable")}}function fk(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 hk(e){const{top:t,right:n,bottom:r,left:s}=e;return[{x:s,y:t},{x:n,y:t},{x:n,y:r},{x:s,y:r}]}function pk(e,t){const{x:n,y:r}=e;let s=!1;for(let i=0,o=t.length-1;i<t.length;o=i++){const a=t[i],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&&(s=!s)}return s}function mk(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),gk(t)}function gk(e){if(e.length<=1)return e.slice();const t=[];for(let r=0;r<e.length;r++){const s=e[r];for(;t.length>=2;){const i=t[t.length-1],o=t[t.length-2];if((i.x-o.x)*(s.y-o.y)>=(i.y-o.y)*(s.x-o.x))t.pop();else break}t.push(s)}t.pop();const n=[];for(let r=e.length-1;r>=0;r--){const s=e[r];for(;n.length>=2;){const i=n[n.length-1],o=n[n.length-2];if((i.x-o.x)*(s.y-o.y)>=(i.y-o.y)*(s.x-o.x))n.pop();else break}n.push(s)}return n.pop(),t.length===1&&n.length===1&&t[0].x===n[0].x&&t[0].y===n[0].y?t:t.concat(n)}var yk=bx,Px=Ex;const vk=yk,xk=b.forwardRef(({className:e,sideOffset:t=4,...n},r)=>p.jsx(Px,{ref:r,sideOffset:t,className:hr("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]:sli
163de-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",e),...n}));xk.displayName=Px.displayName;const kx=b.createContext({});function wk(e){const t=b.useRef(null);return t.current===null&&(t.current=e()),t.current}const bk=typeof window<"u",Sk=bk?b.useLayoutEffect:b.useEffect,Of=b.createContext(null);function If(e,t){e.indexOf(t)===-1&&e.push(t)}function Qa(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 Dl=()=>{},Bs=()=>{};const lr={},Nx=e=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(e);function Rx(e){return typeof e=="object"&&e!==null}const Ax=e=>/^0[^.\s]+$/u.test(e);function jx(e){let t;return()=>(t===void 0&&(t=e()),t)}const St=e=>e,Ek=(e,t)=>n=>t(e(n)),po=(...e)=>e.reduce(Ek),Ji=(e,t,n)=>{const r=t-e;return r===0?1:(n-e)/r};class Vf{constructor(){this.subscriptions=[]}add(t){return If(this.subscriptions,t),()=>Qa(this.subscriptions,t)}notify(t,n,r){const s=this.subscriptions.length;if(s)if(s===1)this.subscriptions[0](t,n,r);else for(let i=0;i<s;i++){const o=this.subscriptions[i];o&&o(t,n,r)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}const nt=e=>e*1e3,xt=e=>e/1e3;function Mx(e,t){return t?e*(1e3/t):0}const Dx=(e,t,n)=>(((1-3*n+3*t)*e+(3*n-6*t))*e+3*t)*e,Ck=1e-7,Tk=12;function Pk(e,t,n,r,s){let i,o,a=0;do o=t+(n-t)/2,i=Dx(o,r,s)-e,i>0?n=o:t=o;while(Math.abs(i)>Ck&&++a<Tk);return o}function mo(e,t,n,r){if(e===t&&n===r)return St;const s=i=>Pk(i,0,1,e,n);return i=>i===0||i===1?i:Dx(s(i),t,r)}const Lx=e=>t=>t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2,Ox=e=>t=>1-e(1-t),Ix=mo(.33,1.53,.69,.99),Ff=Ox(Ix),Vx=Lx(Ff),Fx=e=>e>=1?1:(e*=2)<1?.5*Ff(e):.5*(2-Math.pow(2,-10*(e-1))),zf=e=>1-Math.sin(Math.acos(e)),zx=Ox(zf),_x=Lx(zf),kk=mo(.42,0,1,1),Nk=mo(0,0,.58,1),Bx=mo(.42,0,.58,1),Rk=e=>Array.isArray(e)&&typeof e[0]!="number",Ux=e=>Array.isArray(e)&&typeof e[0]=="number",om={linear:St,easeIn:kk,easeInOut:Bx,easeOut:Nk,circIn:zf,circInOut:_x,circOut:zx,backIn:Ff,backInOut:Vx,backOut:Ix,anticipate:Fx},Ak=e=>typeof e=="string",am=e=>{if(Ux(e)){Bs(e.length===4,"Cubic bezier arrays must contain four numerical values.","cubic-bezier-length");const[t,n,r,s]=e;return mo(t,n,r,s)}else if(Ak(e))return Bs(om[e]!==void 0,`Invalid easing type '${e}'`,"invalid-easing-type"),om[e];return e},Ho=["setup","read","resolveKeyframes","preUpdate","update","preRender","render","postRender"],lm={value:null,addProjectionMetrics:null};function jk(e,t){let n=new Set,r=new Set,s=!1,i=!1;const o=new WeakSet;let a={delta:0,timestamp:0,isProcessing:!1},l=0;function u(d){o.has(d)&&(c.schedule(d),e()),l++,d(a)}const c={schedule:(d,f=!1,h=!1)=>{const y=h&&s?n:r;return f&&o.add(d),y.add(d),d},cancel:d=>{r.delete(d),o.delete(d)},process:d=>{if(a=d,s){i=!0;return}s=!0;const f=n;n=r,r=f,n.forEach(u),t&&lm.value&&lm.value.frameloop[t].push(l),l=0,n.clear(),s=!1,i&&(i=!1,c.process(d))}};return c}const Mk=40;function Wx(e,t){let n=!1,r=!0;const s={delta:0,timestamp:0,isProcessing:!1},i=()=>n=!0,o=Ho.reduce((v,S)=>(v[S]=jk(i,t?S:void 0),v),{}),{setup:a,read:l,resolveKeyframes:u,preUpdate:c,update:d,preRender:f,render:h,postRender:x}=o,y=()=>{const v=lr.useManualTiming,S=v?s.timestamp:performance.now();n=!1,v||(s.delta=r?1e3/60:Math.max(Math.min(S-s.timestamp,Mk),1)),s.timestamp=S,s.isProcessing=!0,a.process(s),l.process(s),u.process(s),c.process(s),d.process(s),f.process(s),h.process(s),x.process(s),s.isProcessing=!1,n&&t&&(r=!1,e(y))},w=()=>{n=!0,r=!0,s.isProcessing||e(y)};return{schedule:Ho.reduce((v,S)=>{const E=o[S];return v[S]=(C,T=!1,k=!1)=>(n||w(),E.schedule(C,T,k)),v},{}),cancel:v=>{for(let S=0;S<Ho.length;S++)o[Ho[S]].cancel(v)},state:s,steps:o}}const{schedule:se,cancel:ur,state:Re,steps:Su}=Wx(typeof requestAnimationFrame<"u"?requestAnimationFrame:St,!0);let ca;function Dk(){ca=void 0}const $e={now:()=>(ca===void 0&&$e.set(Re.isProcessing||lr.useManualTiming?Re.timestamp:performance.now()),ca),set:e=>{ca=e,queueMicrotask(Dk)}},$x=e=>t=>typeof t=="string"&&t.startsWith(e),Hx=$x("--"),Lk=$x("var(--"),_f=e=>Lk(e)?Ok.test(e.split("/*")[0].trim()):!1,Ok=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu;function um(e){return typeof e!="string"?!1:e.split("/*")[0].includes("var(--")}const Ys={test:e=>typeof e=="number",parse:parseFloat,transform:e=>e},eo={...Ys,transform:e=>on(0,1,e)},Ko={...Ys,default:1},Ni=e=>Math.round(e*1e5)/1e5,Bf=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu;function Ik(e){return e==null}const Vk=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu,Uf=(e,t)=>
vendor: 5,161 bytes, line 163
163n=>!!(typeof n=="string"&&Vk.test(n)&&n.startsWith(e)||t&&!Ik(n)&&Object.prototype.hasOwnProperty.call(n,t)),Kx=(e,t,n)=>r=>{if(typeof r!="string")return r;const[s,i,o,a]=r.match(Bf);return{[e]:parseFloat(s),[t]:parseFloat(i),[n]:parseFloat(o),alpha:a!==void 0?parseFloat(a):1}},Fk=e=>on(0,255,e),Eu={...Ys,transform:e=>Math.round(Fk(e))},Tr={test:Uf("rgb","red"),parse:Kx("red","green","blue"),transform:({red:e,green:t,blue:n,alpha:r=1})=>"rgba("+Eu.transform(e)+", "+Eu.transform(t)+", "+Eu.transform(n)+", "+Ni(eo.transform(r))+")"};function zk(e){let t="",n="",r="",s="";return e.length>5?(t=e.substring(1,3),n=e.substring(3,5),r=e.substring(5,7),s=e.substring(7,9)):(t=e.substring(1,2),n=e.substring(2,3),r=e.substring(3,4),s=e.substring(4,5),t+=t,n+=n,r+=r,s+=s),{red:parseInt(t,16),green:parseInt(n,16),blue:parseInt(r,16),alpha:s?parseInt(s,16)/255:1}}const Kc={test:Uf("#"),parse:zk,transform:Tr.transform},go=e=>({test:t=>typeof t=="string"&&t.endsWith(e)&&t.split(" ").length===1,parse:parseFloat,transform:t=>`${t}${e}`}),Dn=go("deg"),rn=go("%"),z=go("px"),_k=go("vh"),Bk=go("vw"),cm={...rn,parse:e=>rn.parse(e)/100,transform:e=>rn.transform(e*100)},fs={test:Uf("hsl","hue"),parse:Kx("hue","saturation","lightness"),transform:({hue:e,saturation:t,lightness:n,alpha:r=1})=>"hsla("+Math.round(e)+", "+rn.transform(Ni(t))+", "+rn.transform(Ni(n))+", "+Ni(eo.transform(r))+")"},we={test:e=>Tr.test(e)||Kc.test(e)||fs.test(e),parse:e=>Tr.test(e)?Tr.parse(e):fs.test(e)?fs.parse(e):Kc.parse(e),transform:e=>typeof e=="string"?e:e.hasOwnProperty("red")?Tr.transform(e):fs.transform(e),getAnimatableNone:e=>{const t=we.parse(e);return t.alpha=0,we.transform(t)}},Uk=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu;function Wk(e){var t,n;return isNaN(e)&&typeof e=="string"&&(((t=e.match(Bf))==null?void 0:t.length)||0)+(((n=e.match(Uk))==null?void 0:n.length)||0)>0}const Gx="number",qx="color",$k="var",Hk="var(",dm="${}",Kk=/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:[]},s=[];let i=0;const a=t.replace(Kk,l=>(we.test(l)?(r.color.push(i),s.push(qx),n.push(we.parse(l))):l.startsWith(Hk)?(r.var.push(i),s.push($k),n.push(l)):(r.number.push(i),s.push(Gx),n.push(parseFloat(l))),++i,dm)).split(dm);return{values:n,split:a,indexes:r,types:s}}function Gk(e){return Us(e).values}function Qx({split:e,types:t}){const n=e.length;return r=>{let s="";for(let i=0;i<n;i++)if(s+=e[i],r[i]!==void 0){const o=t[i];o===Gx?s+=Ni(r[i]):o===qx?s+=we.transform(r[i]):s+=r[i]}return s}}function qk(e){return Qx(Us(e))}const Qk=e=>typeof e=="number"?0:we.test(e)?we.getAnimatableNone(e):e,Yk=(e,t)=>typeof e=="number"?t!=null&&t.trim().endsWith("/")?e:0:Qk(e);function Xk(e){const t=Us(e);return Qx(t)(t.values.map((r,s)=>Yk(r,t.split[s])))}const _t={test:Wk,parse:Gk,createTransformer:qk,getAnimatableNone:Xk};function Cu(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 Zk({hue:e,saturation:t,lightness:n,alpha:r}){e/=360,t/=100,n/=100;let s=0,i=0,o=0;if(!t)s=i=o=n;else{const a=n<.5?n*(1+t):n+t-n*t,l=2*n-a;s=Cu(l,a,e+1/3),i=Cu(l,a,e),o=Cu(l,a,e-1/3)}return{red:Math.round(s*255),green:Math.round(i*255),blue:Math.round(o*255),alpha:r}}function Ya(e,t){return n=>n>0?t:e}const le=(e,t,n)=>e+(t-e)*n,Tu=(e,t,n)=>{const r=e*e,s=n*(t*t-r)+r;return s<0?0:Math.sqrt(s)},Jk=[Kc,Tr,fs],eN=e=>Jk.find(t=>t.test(e));function fm(e){const t=eN(e);if(Dl(!!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===fs&&(n=Zk(n)),n}const hm=(e,t)=>{const n=fm(e),r=fm(t);if(!n||!r)return Ya(e,t);const s={...n};return i=>(s.red=Tu(n.red,r.red,i),s.green=Tu(n.green,r.green,i),s.blue=Tu(n.blue,r.blue,i),s.alpha=le(n.alpha,r.alpha,i),Tr.transform(s))},Gc=new Set(["none","hidden"]);function tN(e,t){return Gc.has(e)?n=>n<=0?e:t:n=>n>=1?t:e}function nN(e,t){return n=>le(e,t,n)}function Wf(e){return typeof e=="number"?nN:typeof e=="string"?_f(e)?Ya:we.test(e)?hm:iN:Array.isArray(e)?Yx:typeof e=="object"?we.test(e)?hm:rN:Ya}function Yx(e,t){const n=[...e],r=n.length,s=e.map((i,o)=>Wf(i)(i,t[o]));return i=>{for(let o=0;o<r;o++)n[o]=s[o](i);return n}}function rN(e,t){const n={...e,...t},r={};for(const s in n)e[s]!==void 0&&t[s]!==void 0&&(r[s]=Wf(e[s])(e[s],t[s]));return s=>{for(const i in r)n[i]=r[i](s);return n}}function sN(e,t){const n=[],r={color:0,var:0,number:0};for(let s=0;s<t.values.length;s++){const i=t.types[s],o=e.indexes[i][r[i]],a=e.values[o]??0;n[s]=a,r[i]++}return n}const iN=(e,t)=>{const n=_t.createTransformer(t),r=Us(e),s=Us(t);return r.indexes.var.length===s.indexes.var.length&&r.indexes.color.length===s.indexes.color.length&&r.indexes.number.length>=s.indexes.number.length?Gc.has(e)&&!s.values.length||Gc.has(t)&&!r.values.length?tN(e,t):po(Yx(sN(r,s),s.values),n):(Dl(!0,`Complex values '${e}' and '${t}
163' 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"),Ya(e,t))};function Xx(e,t,n){return typeof e=="number"&&typeof t=="number"&&typeof n=="number"?le(e,t,n):Wf(e)(e,t)}const oN=e=>{const t=({timestamp:n})=>e(n);return{start:(n=!0)=>se.update(t,n),stop:()=>ur(t),now:()=>Re.isProcessing?Re.timestamp:$e.now()}},Zx=(e,t,n=10)=>{let r="";const s=Math.max(Math.round(t/n),2);for(let i=0;i<s;i++)r+=Math.round(e(i/(s-1))*1e4)/1e4+", ";return`linear(${r.substring(0,r.length-2)})`},Xa=2e4;function $f(e){let t=0;const n=50;let r=e.next(t);for(;!r.done&&t<Xa;)t+=n,r=e.next(t);return t>=Xa?1/0:t}function aN(e,t=100,n){const r=n({...e,keyframes:[0,t]}),s=Math.min($f(r),Xa);return{type:"keyframes",ease:i=>r.next(s*i).value/t,duration:xt(s)}}const fe={stiffness:100,damping:10,mass:1,velocity:0,duration:800,bounce:.3,visualDuration:.3,restSpeed:{granular:.01,default:2},restDelta:{granular:.005,default:.5},minDuration:.01,maxDuration:10,minDamping:.05,maxDamping:1};function qc(e,t){return e*Math.sqrt(1-t*t)}const lN=12;function uN(e,t,n){let r=n;for(let s=1;s<lN;s++)r=r-e(r)/t(r);return r}const Pu=.001;function cN({duration:e=fe.duration,bounce:t=fe.bounce,velocity:n=fe.velocity,mass:r=fe.mass}){let s,i;Dl(e<=nt(fe.maxDuration),"Spring duration must be 10 seconds or less","spring-duration-limit");let o=1-t;o=on(fe.minDamping,fe.maxDamping,o),e=on(fe.minDuration,fe.maxDuration,xt(e)),o<1?(s=u=>{const c=u*o,d=c*e,f=c-n,h=qc(u,o),x=Math.exp(-d);return Pu-f/h*x},i=u=>{const d=u*o*e,f=d*n+n,h=Math.pow(o,2)*Math.pow(u,2)*e,x=Math.exp(-d),y=qc(Math.pow(u,2),o);return(-s(u)+Pu>0?-1:1)*((f-h)*x)/y}):(s=u=>{const c=Math.exp(-u*e),d=(u-n)*e+1;return-Pu+c*d},i=u=>{const c=Math.exp(-u*e),d=(n-u)*(e*e);return c*d});const a=5/e,l=uN(s,i,a);if(e=nt(e),isNaN(l))return{stiffness:fe.stiffness,damping:fe.damping,duration:e};{const u=Math.pow(l,2)*r;return{stiffness:u,damping:o*2*Math.sqrt(r*u),duration:e}}}const dN=["duration","bounce"],fN=["stiffness","damping","mass"];function pm(e,t){return t.some(n=>e[n]!==void 0)}function hN(e){let t={velocity:fe.velocity,stiffness:fe.stiffness,damping:fe.damping,mass:fe.mass,isResolvedFromDuration:!1,...e};if(!pm(e,fN)&&pm(e,dN))if(t.velocity=0,e.visualDuration){const n=e.visualDuration,r=2*Math.PI/(n*1.2),s=r*r,i=2*on(.05,1,1-(e.bounce||0))*Math.sqrt(s);t={...t,mass:fe.mass,stiffness:s,damping:i}}else{const n=cN({...e,velocity:0});t={...t,...n,mass:fe.mass},t.isResolvedFromDuration=!0}return t}function Za(e=fe.visualDuration,t=fe.bounce){const n=typeof e!="object"?{visualDuration:e,keyframes:[0,1],bounce:t}:e;let{restSpeed:r,restDelta:s}=n;const i=n.keyframes[0],o=n.keyframes[n.keyframes.length-1],a={done:!1,value:i},{stiffness:l,damping:u,mass:c,duration:d,velocity:f,isResolvedFromDuration:h}=hN({...n,velocity:-xt(n.velocity||0)}),x=f||0,y=u/(2*Math.sqrt(l*c)),w=o-i,g=xt(Math.sqrt(l/c)),m=Math.abs(w)<5;r||(r=m?fe.restSpeed.granular:fe.restSpeed.default),s||(s=m?fe.restDelta.granular:fe.restDelta.default);let v,S,E,C,T,k;if(y<1)E=qc(g,y),C=(x+y*g*w)/E,v=N=>{const V=Math.exp(-y*g*N);return o-V*(C*Math.sin(E*N)+w*Math.cos(E*N))},T=y*g*C+w*E,k=y*g*w-C*E,S=N=>Math.exp(-y*g*N)*(T*Math.sin(E*N)+k*Math.cos(E*N));else if(y===1){v=V=>o-Math.exp(-g*V)*(w+(x+g*w)*V);const N=x+g*w;S=V=>Math.exp(-g*V)*(g*N*V-x)}else{const N=g*Math.sqrt(y*y-1);v=L=>{const $=Math.exp(-y*g*L),_=Math.min(N*L,300);return o-$*((x+y*g*w)*Math.sinh(_)+N*w*Math.cosh(_))/N};const V=(x+y*g*w)/N,O=y*g*V-w*N,W=y*g*w-V*N;S=L=>{const $=Math.exp(-y*g*L),_=Math.min(N*L,300);return $*(O*Math.sinh(_)+W*Math.cosh(_))}}const M={calculatedDuration:h&&d||null,velocity:N=>nt(S(N)),next:N=>{if(!h&&y<1){const O=Math.exp(-y*g*N),W=Math.sin(E*N),L=Math.cos(E*N),$=o-O*(C*W+w*L),_=nt(O*(T*W+k*L));return a.done=Math.abs(_)<=r&&Math.abs(o-$)<=s,a.value=a.done?o:$,a}const V=v(N);if(h)a.done=N>=d;else{const O=nt(S(N));a.done=Math.abs(O)<=r&&Math.abs(o-V)<=s}return a.value=a.done?o:V,a},toString:()=>{const N=Math.min($f(M),Xa),V=Zx(O=>
vendor: 16,248 bytes, line 163
163M.next(N*O).value,N,30);return N+"ms "+V},toTransition:()=>{}};return M}Za.applyToOptions=e=>{const t=aN(e,100,Za);return e.ease=t.ease,e.duration=nt(t.duration),e.type="keyframes",e};const pN=5;function Jx(e,t,n){const r=Math.max(t-pN,0);return Mx(n-e(r),t-r)}function Qc({keyframes:e,velocity:t=0,power:n=.8,timeConstant:r=325,bounceDamping:s=10,bounceStiffness:i=500,modifyTarget:o,min:a,max:l,restDelta:u=.5,restSpeed:c}){const d=e[0],f={done:!1,value:d},h=k=>a!==void 0&&k<a||l!==void 0&&k>l,x=k=>a===void 0?l:l===void 0||Math.abs(a-k)<Math.abs(l-k)?a:l;let y=n*t;const w=d+y,g=o===void 0?w:o(w);g!==w&&(y=g-d);const m=k=>-y*Math.exp(-k/r),v=k=>g+m(k),S=k=>{const M=m(k),N=v(k);f.done=Math.abs(M)<=u,f.value=f.done?g:N};let E,C;const T=k=>{h(f.value)&&(E=k,C=Za({keyframes:[f.value,x(f.value)],velocity:Jx(v,k,f.value),damping:s,stiffness:i,restDelta:u,restSpeed:c}))};return T(0),{calculatedDuration:null,next:k=>{let M=!1;return!C&&E===void 0&&(M=!0,S(k),T(k)),E!==void 0&&k>=E?C.next(k-E):(!M&&S(k),f)}}}function mN(e,t,n){const r=[],s=n||lr.mix||Xx,i=e.length-1;for(let o=0;o<i;o++){let a=s(e[o],e[o+1]);if(t){const l=Array.isArray(t)?t[o]||St:t;a=po(l,a)}r.push(a)}return r}function gN(e,t,{clamp:n=!0,ease:r,mixer:s}={}){const i=e.length;if(Bs(i===t.length,"Both input and output ranges must be the same length","range-length"),i===1)return()=>t[0];if(i===2&&t[0]===t[1])return()=>t[1];const o=e[0]===e[1];e[0]>e[i-1]&&(e=[...e].reverse(),t=[...t].reverse());const a=mN(t,r,s),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=Ji(e[d],e[d+1],c);return a[d](f)};return n?c=>u(on(e[0],e[i-1],c)):u}function yN(e,t){const n=e[e.length-1];for(let r=1;r<=t;r++){const s=Ji(0,t,r);e.push(le(n,1,s))}}function vN(e){const t=[0];return yN(t,e.length-1),t}function xN(e,t){return e.map(n=>n*t)}function wN(e,t){return e.map(()=>t||Bx).splice(0,e.length-1)}function Ri({duration:e=300,keyframes:t,times:n,ease:r="easeInOut"}){const s=Rk(r)?r.map(am):am(r),i={done:!1,value:t[0]},o=xN(n&&n.length===t.length?n:vN(t),e),a=gN(o,t,{ease:Array.isArray(s)?s:wN(t,s)});return{calculatedDuration:e,next:l=>(i.value=a(l),i.done=l>=e,i)}}const bN=e=>e!==null;function Ll(e,{repeat:t,repeatType:n="loop"},r,s=1){const i=e.filter(bN),a=s<0||t&&n!=="loop"&&t%2===1?0:i.length-1;return!a||r===void 0?i[a]:r}const SN={decay:Qc,inertia:Qc,tween:Ri,keyframes:Ri,spring:Za};function ew(e){typeof e.type=="string"&&(e.type=SN[e.type])}class Hf{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 EN=e=>e/100;class Ja extends Hf{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,s;const{motionValue:n}=this.options;n&&n.updatedAt!==$e.now()&&this.tick($e.now()),this.isStopped=!0,this.state!=="idle"&&(this.teardown(),(s=(r=this.options).onStop)==null||s.call(r))},this.options=t,this.initAnimation(),this.play(),t.autoplay===!1&&this.pause()}initAnimation(){const{options:t}=this;ew(t);const{type:n=Ri,repeat:r=0,repeatDelay:s=0,repeatType:i,velocity:o=0}=t;let{keyframes:a}=t;const l=n||Ri;l!==Ri&&typeof a[0]!="number"&&(this.mixKeyframes=po(EN,Xx(a[0],a[1])),a=[0,100]);const u=l({...t,keyframes:a});i==="mirror"&&(this.mirroredGenerator=l({...t,keyframes:[...a].reverse(),velocity:-o})),u.calculatedDuration===null&&(u.calculatedDuration=$f(u));const{calculatedDuration:c}=u;this.calculatedDuration=c,this.resolvedDuration=c+s,this.totalDuration=this.resolvedDuration*(r+1)-s,this.generator=u}updateTime(t){const n=Math.round(t-this.startTime)*this.playbackSpeed;this.holdTime!==null?this.currentTime=this.holdTime:this.currentTime=n}tick(t,n=!1){const{generator:r,totalDuration:s,mixKeyframes:i,mirroredGenerator:o,resolvedDuration:a,calculatedDuration:l}=this;if(this.startTime===null)return r.next(0);const{delay:u=0,keyframes:c,repeat:d,repeatType:f,repeatDelay:h,type:x,onUpdate:y,finalKeyframe:w}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,t):this.speed<0&&(this.startTime=Math.min(t-s/this.speed,this.startTime)),n?this.currentTime=t:this.updateTime(t);const g=this.currentTime-u*(this.playbackSpeed>=0?1:-1),m=this.playbackSpeed>=0?g<0:g>s;this.currentTime=Math.max(g,0),this.state==="finished"&&this.holdTime===null&&(this.currentTime=s);let v=this.currentTime,S=r;if(d){const k=Math.min(this.currentTime,s)/a;let M=Math.floor(k),N=k%1;!N&&k>=1&&(N=1),N===1&&M--,M=Math.min(M,d+1),!!(M%2)&&(f==="reverse"?(N=1-N,h&&(N-=h/a)):f==="mirror"&&(S=o)),v=on(0,1,N)*a}let E;m?(this.delayState.value=c[0],E=this.delayState):E=S.next(v),i&&!m&&(E.value=i(E.value));let{done:C}=E;!m&&l!==null&&(C=this.playbackSpeed>=0?this.currentTime>=s:this.currentTime<=0);const T=this.holdTime===null&&(this.state==="finished"||this.state==="running"&&C);return T&&x!==Qc&&(E.value=Ll(c,this.options,w,this.speed)),y&&y(E.value),T&&this.finish(),E}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=nt(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 Jx(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($e.now()),this.playbackSpeed=t,n&&this.driver&&(this.time=xt(this.currentTime))}play(){var s,i;if(this.isStopped)return;const{driver:t=oN,startTime:n}=this.options;this.driver||(this.driver=t(o=>this.tick(o))),(i=(s=this.options).onPlay)==null||i.call(s);const r=this.driver.now();this.state==="finished"?(this.updateFinished(),this.startTime=r):this.holdTime!==null?this.startTime=r-this.holdTime:this.startTime||(this.startTime=n??r),this.state==="finished"&&this.speed<0&&(this.startTime+=this.calculatedDuration),this.holdTime=null,this.state="running",this.driver.start()}pause(){this.state="paused",this.updateTime($e.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 CN(e){for(let t=1;t<e.length;t++)e[t]??(e[t]=e[t-1])}const Pr=e=>e*180/Math.PI,Yc=e=>{const t=Pr(Math.atan2(e[1],e[0]));return Xc(t)},TN={x:4,y:5,translateX:4,translateY:5,scaleX:0,scaleY:3,scale:e=>(Math.abs(e[0])+Math.abs(e[3]))/2,rotate:Yc,rotateZ:Yc,skewX:e=>Pr(Math.atan(e[1])),skewY:e=>Pr(Math.atan(e[2])),skew:e=>(Math.abs(e[1])+Math.abs(e[2]))/2},Xc=e=>(e=e%360,e<0&&(e+=360),e),mm=Yc,gm=e=>Math.sqrt(e[0]*e[0]+e[1]*e[1]),ym=e=>Math.sqrt(e[4]*e[4]+e[5]*e[5]),PN={x:12,y:13,z:14,translateX:12,translateY:13,translateZ:14,scaleX:gm,scaleY:ym,scale:e=>(gm(e)+ym(e))/2,rotateX:e=>Xc(Pr(Math.atan2(e[6],e[5]))),rotateY:e=>Xc(Pr(Math.atan2(-e[2],e[0]))),rotateZ:mm,rotate:mm,skewX:e=>Pr(Math.atan(e[4])),skewY:e=>Pr(Math.atan(e[1])),skew:e=>(Math.abs(e[1])+Math.abs(e[4]))/2};function Zc(e){return e.includes("scale")?1:0}function Jc(e,t){if(!e||e==="none")return Zc(t);const n=e.match(/^matrix3d\(([-\d.e\s,]+)\)$/u);let r,s;if(n)r=PN,s=n;else{const a=e.match(/^matrix\(([-\d.e\s,]+)\)$/u);r=TN,s=a}if(!s)return Zc(t);const i=r[t],o=s[1].split(",").map(NN);return typeof i=="function"?i(o):o[i]}const kN=(e,t)=>{const{transform:n="none"}=getComputedStyle(e);return Jc(n,t)};function NN(e){return parseFloat(e.trim())}const Xs=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],Zs=new Set(Xs),vm=e=>e===Ys||e===z,RN=new Set(["x","y","z"]),AN=Xs.filter(e=>!RN.has(e));function jN(e){const t=[];return AN.forEach(n=>{const r=e.getValue(n);r!==void 0&&(t.push([n,r.get()]),r.set(n.startsWith("scale")?1:0))}),t}const Gn={width:({x:e},{paddingLeft:t="0",paddingRight:n="0",boxSizing:r})=>{const s=e.max-e.min;return r==="border-box"?s:s-parseFloat(t)-parseFloat(n)},height:({y:e},{paddingTop:t="0",paddingBottom:n="0",boxSizing:r})=>{const s=e.max-e.min;return r==="border-box"?s:s-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})=>Jc(t,"x"),y:(e,{transform:t})=>Jc(t,"y")};Gn.translateX=Gn.x;Gn.translateY=Gn.y;const Or=new Set;let ed=!1,td=!1,nd=!1;function tw(){if(td){const e=Array.from(Or).filter(r=>r.needsMeasurement),t=new Set(e.map(r=>r.element)),n=new Map;t.forEach(r=>{const s=jN(r);s.length&&(n.set(r,s),r.render())}),e.forEach(r=>r.measureInitialState()),t.forEach(r=>{r.render();const s=n.get(r);s&&s.forEach(([i,o])=>{var a;(a=r.getValue(i))==null||a.set(o)})}),e.forEach(r=>r.measureEndState()),e.forEach(r=>{r.suspendedScrollY!==void 0&&window.scrollTo(0,r.suspendedScrollY)})}td=!1,ed=!1,Or.forEach(e=>e.complete(nd)),Or.clear()}function nw(){Or.forEach(e=>{e.readKeyframes(),e.needsMeasurement&&(td=!0)})}function MN(){nd=!0,nw(),tw(),nd=!1}class Kf{constructor(t,n,r,s,i,o=!1){this.state="pending",this.isAsync=!1,this.needsMeasurement=!1,this.unresolvedKeyframes=[...t],this.onComplete=n,this.name=r,this.motionValue=s,this.element=i,this.isAsync=o}scheduleResolve(){this.state="scheduled",this.isAsync?(Or.add(this),ed||(ed=!0,se.read(nw),se.resolveKeyframes(tw))):(this.readKeyframes(),this.complete())}readKeyframes(){const{unresolvedKeyframes:t,name:n,element:r,motionValue:s}=this;if(t[0]===null){const i=s==null?void 0:s.get(),o=t[t.length-1];if(i!==void 0)t[0]=i;else if(r&&n){const a=r.readValue(n,o);a!=null&&(t[0]=a)}t[0]===void 0&&(t[0]=o),s&&i===void 0&&s.set(t[0])}CN(t)}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(t=!1){this.state="complete",this.onComplete(this.unresolvedKeyframes,this.finalKeyframe,t),Or.delete(this)}cancel(){this.state==="scheduled"&&(Or.delete(this),this.state="pending")}resume(){this.state==="pending"&&this.scheduleResolve()}}const DN=e=>e.startsWith("--");function rw(e,t,n){DN(t)?e.style.setProperty(t,n):e.style[t]=n}const LN={};function sw(e,t){const n=jx(e);return()=>LN[t]??n()}const ON=sw(()=>window.ScrollTimeline!==void 0,"scrollTimeline"),iw=sw(()=>{try{document.createElement("div").animate({opacity:0},{easing:"linear(0, 1)"})}catch{return!1}return!0},"linearEasing"),yi=([e,t,n,r])=>`cubic-bezier(${e}, ${t}, ${n}, ${r})`,xm={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:yi([0,.65,.55,1]),circOut:yi([.55,0,1,.45]),backIn:yi([.31,.01,.66,-.59]),backOut:yi([.33,1.53,.69,.99])};function ow(e,t){if(e)return typeof e=="function"?iw()?Zx(e,t):"ease-out":Ux(e)?yi(e):Array.isArray(e)?e.map(n=>ow(n,t)||xm.easeOut):xm[e]}function IN(e,t,n,{delay:r=0,duration:s=300,repeat:i=0,repeatType:o="loop",ease:a="easeOut",times:l}={},u=void 0){const c={[t]:n};l&&(c.offset=l);const d=ow(a,s);Array.isArray(d)&&(c.easing=d);const f={delay:r,duration:s,easing:Array.isArray(d)?"linear":d,fill:"both",iterations:i+1,direction:o==="reverse"?"alternate":"normal"};return u&&(f.pseudoElement=u),e.animate(c,f)}function aw(e){return typeof e=="function"&&"applyToOptions"in e}function VN({type:e,...t}){return aw(e)&&iw()?e.applyToOptions(t):(t.duration??(t.duration=300),t.ease??(t.ease="easeOut"),t)}class lw extends Hf{constructor(t){if(super(),this.finishedTime=null,this.isStopped=!1,this.manualStartTime=null,!t)return;const{element:n,name:r,keyframes:s,pseudoElement:i,allowFlatten:o=!1,finalKeyframe:a,onComplete:l}=t;this.isPseudoElement=!!i,this.allowFlatten=o,this.options=t,Bs(typeof t.type!="string",`Mini animate() doesn't support "type" as a string.`,"mini-spring");const u=VN(t);this.animation=IN(n,r,s,u,i),u.autoplay===!1&&this.animation.pause(),this.animation.onfinish=()=>{if(this.finishedTime=this.time,!i){const c=Ll(s,this.options,a,this.speed);this.updateMotionValue&&this.updateMotionValue(c),rw(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,s;const t=(n=this.options)==null?void 0:n.element;!this.isPseudoElement&&(t!=null&&t.isConnected)&&((s=(r=this.animation).commitStyles)==null||s.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=nt(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:s}){var i;return this.allowFlatten&&((i=this.animation.effect)==null||i.updateTiming({easing:"linear"})),this.animation.onfinish=null,t&&ON()?(this.animation.timeline=t,n&&(this.animation.rangeStart=n),r&&(this.animation.rangeEnd=r),St):s(this)}}const uw={anticipate:Fx,backInOut:Vx,circInOut:_x};function FN(e){return e in uw}function zN(e){typeof e.ease=="string"&&FN(e.ease)&&(e.ease=uw[e.ease])}const ku=10;class _N extends lw{constructor(t){zN(t),ew(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:s,element:i,...o}=this.options;if(!n)return;if(t!==void 0){n.set(t);return}const a=new Ja({...o,autoplay:!1}),l=Math.max(ku,$e.now()-this.startTime),u=on(0,ku,l-ku),c=a.sample(l).value,{name:d}=this.options;i&&d&&rw(i,d,c),n.setWithVelocity(a.sample(Math.max(0,l-u)).value,c,u),a.stop()}}const wm=(e,t)=>t==="zIndex"?!1:!!(typeof e=="number"||Array.isArray(e)||typeof e=="string"&&(_t.test(e)||e==="0")&&!e.startsWith("url("));function BN(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 UN(e,t,n,r){const s=e[0];if(s===null)return!1;if(t==="display"||t==="visibility")return!0;const i=e[e.length-1],o=wm(s,t),a=wm(i,t);return Dl(o===a,`You are trying to animate ${t} from "${s}" to "${i}". "${o?i:s}" is not an animatable value.`,"value-not-animatable"),!o||!a?!1:BN(e)||(n==="spring"||aw(n))&&r}function rd(e){e.duration=0,e.type="keyframes"}const cw=new Set(["opacity","clipPath","filter","transform"]),WN=/^(?:
163oklch|oklab|lab|lch|color|color-mix|light-dark)\(/;function $N(e){for(let t=0;t<e.length;t++)if(typeof e[t]=="string"&&WN.test(e[t]))return!0;return!1}const HN=new Set(["color","backgroundColor","outlineColor","fill","stroke","borderColor","borderTopColor","borderRightColor","borderBottomColor","borderLeftColor"]),KN=jx(()=>Object.hasOwnProperty.call(Element.prototype,"animate"));function GN(e){var d;const{motionValue:t,name:n,repeatDelay:r,repeatType:s,damping:i,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 KN()&&n&&(cw.has(n)||HN.has(n)&&$N(a))&&(n!=="transform"||!c)&&!u&&!r&&s!=="mirror"&&i!==0&&o!=="inertia"}const qN=40;class QN extends Hf{constructor({autoplay:t=!0,delay:n=0,type:r="keyframes",repeat:s=0,repeatDelay:i=0,repeatType:o="loop",keyframes:a,name:l,motionValue:u,element:c,...d}){var x;super(),this.stop=()=>{var y,w;this._animation&&(this._animation.stop(),(y=this.stopTimeline)==null||y.call(this)),(w=this.keyframeResolver)==null||w.cancel()},this.createdAt=$e.now();const f={autoplay:t,delay:n,type:r,repeat:s,repeatDelay:i,repeatType:o,name:l,motionValue:u,element:c,...d},h=(c==null?void 0:c.KeyframeResolver)||Kf;this.keyframeResolver=new h(a,(y,w,g)=>this.onKeyframesResolved(y,w,f,!g),l,u,c),(x=this.keyframeResolver)==null||x.scheduleResolve()}onKeyframesResolved(t,n,r,s){var g,m;this.keyframeResolver=void 0;const{name:i,type:o,velocity:a,delay:l,isHandoff:u,onUpdate:c}=r;this.resolvedAt=$e.now();let d=!0;UN(t,i,o,a)||(d=!1,(lr.instantAnimations||!l)&&(c==null||c(Ll(t,r,n))),t[0]=t[t.length-1],rd(r),r.repeat=0);const h={startTime:s?this.resolvedAt?this.resolvedAt-this.createdAt>qN?this.resolvedAt:this.createdAt:this.createdAt:void 0,finalKeyframe:n,...r,keyframes:t},x=d&&!u&&GN(h),y=(m=(g=h.motionValue)==null?void 0:g.owner)==null?void 0:m.current;let w;if(x)try{w=new _N({...h,element:y})}catch{w=new Ja(h)}else w=new Ja(h);w.finished.then(()=>{this.notifyFinished()}).catch(St),this.pendingTimeline&&(this.stopTimeline=w.attachTimeline(this.pendingTimeline),this.pendingTimeline=void 0),this._animation=w}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(),MN()),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 dw(e,t,n,r=0,s=1){const i=Array.from(e).sort((u,c)=>u.sortNodePosition(c)).indexOf(t),o=e.size,a=(o-1)*r;return typeof n=="function"?n(i,o):s===1?i*r:a-i*r}const YN=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;function XN(e){const t=YN.exec(e);if(!t)return[,];const[,n,r,s]=t;return[`--${n??r}`,s]}const ZN=4;function fw(e,t,n=1){Bs(n<=ZN,`Max CSS variable fallback depth detected in property "${e}". This may indicate a circular fallback dependency.`,"max-css-var-depth");const[r,s]=XN(e);if(!r)return;const i=window.getComputedStyle(t).getPropertyValue(r);if(i){const o=i.trim();return Nx(o)?parseFloat(o):o}return _f(s)?fw(s,t,n+1):s}const JN={type:"spring",stiffness:500,damping:25,restSpeed:10},eR=e=>({type:"spring",stiffness:550,damping:e===0?2*Math.sqrt(550):30,restSpeed:10}),tR={type:"keyframes",duration:.8},nR={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},rR=(e,{keyframes:t})=>t.length>2?tR:Zs.has(e)?e.startsWith("scale")?eR(t[1]):JN:nR;function hw(e,t){if(e!=null&&e.inherit&&t){const{inherit:n,...r}=e;return{...t,...r}}return e}function Gf(e,t){const n=(e==null?void 0:e[t])??(e==null?void 0:e.default)??e;return n!==e?hw(n,e):n}const sR=new Set(["when","delay","delayChildren","staggerChildren","staggerDirection","repeat","repeatType","repeatDelay","from","elapsed"]);function iR(e){for(const t in e)if(!sR.has(t))return!0;return!1}const qf=(e,t,n,r={},s,i)=>o=>{const a=Gf(r,e)||{},l=a.delay||r.delay||0;let{elapsed:u=0}=r;u=u-nt(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:i?void 0:s};iR(a)||Object.assign(c,rR(e,c)),c.duration&&(c.duration=nt(c.duration)),c.repeatDelay&&(c.repeatDelay=nt(c.repeatDelay)),c.from!==void 0&&(c.keyframes[0]=c.from);let d=!1;if((c.type===!1||c.duration===0&&!c.repeatDelay)&&(rd(c),c.delay===0&&(
vendor: 50,877 bytes, line 163
163d=!0)),(lr.instantAnimations||lr.skipAnimations||s!=null&&s.shouldSkipAnimations)&&(d=!0,rd(c),c.delay=0),c.allowFlatten=!a.type&&!a.ease,d&&!i&&t.get()!==void 0){const f=Ll(c.keyframes,a);if(f!==void 0){se.update(()=>{c.onUpdate(f),c.onComplete()});return}}return a.isSync?new Ja(c):new QN(c)};function bm(e){const t=[{},{}];return e==null||e.values.forEach((n,r)=>{t[0][r]=n.get(),t[1][r]=n.getVelocity()}),t}function Qf(e,t,n,r){if(typeof t=="function"){const[s,i]=bm(r);t=t(n!==void 0?n:e.custom,s,i)}if(typeof t=="string"&&(t=e.variants&&e.variants[t]),typeof t=="function"){const[s,i]=bm(r);t=t(n!==void 0?n:e.custom,s,i)}return t}function Ir(e,t,n){const r=e.getProps();return Qf(r,t,n!==void 0?n:r.custom,e)}const pw=new Set(["width","height","top","left","right","bottom",...Xs]),Sm=30,oR=e=>!isNaN(parseFloat(e));class aR{constructor(t,n={}){this.canTrackVelocity=null,this.events={},this.updateAndNotify=r=>{var i;const s=$e.now();if(this.updatedAt!==s&&this.setPrevFrameValue(),this.prev=this.current,this.setCurrent(r),this.current!==this.prev&&((i=this.events.change)==null||i.notify(this.current),this.dependents))for(const o of this.dependents)o.dirty()},this.hasAnimated=!1,this.setCurrent(t),this.owner=n.owner}setCurrent(t){this.current=t,this.updatedAt=$e.now(),this.canTrackVelocity===null&&t!==void 0&&(this.canTrackVelocity=oR(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 Vf);const r=this.events[t].add(n);return t==="change"?()=>{r(),se.read(()=>{this.events.change.getSize()||this.stop()})}:r}clearListeners(){for(const t in this.events)this.events[t].clear()}attach(t,n){this.passiveEffect=t,this.stopPassiveEffect=n}set(t){this.passiveEffect?this.passiveEffect(t,this.updateAndNotify):this.updateAndNotify(t)}setWithVelocity(t,n,r){this.set(n),this.prev=void 0,this.prevFrameValue=t,this.prevUpdatedAt=this.updatedAt-r}jump(t,n=!0){this.updateAndNotify(t),this.prev=t,this.prevUpdatedAt=this.prevFrameValue=void 0,n&&this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}dirty(){var t;(t=this.events.change)==null||t.notify(this.current)}addDependent(t){this.dependents||(this.dependents=new Set),this.dependents.add(t)}removeDependent(t){this.dependents&&this.dependents.delete(t)}get(){return this.current}getPrevious(){return this.prev}getVelocity(){const t=$e.now();if(!this.canTrackVelocity||this.prevFrameValue===void 0||t-this.updatedAt>Sm)return 0;const n=Math.min(this.updatedAt-this.prevUpdatedAt,Sm);return Mx(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 Ws(e,t){return new aR(e,t)}const sd=e=>Array.isArray(e);function lR(e,t,n){e.hasValue(t)?e.getValue(t).set(n):e.addValue(t,Ws(n))}function uR(e){return sd(e)?e[e.length-1]||0:e}function cR(e,t){const n=Ir(e,t);let{transitionEnd:r={},transition:s={},...i}=n||{};i={...i,...r};for(const o in i){const a=uR(i[o]);lR(e,o,a)}}const Ae=e=>!!(e&&e.getVelocity);function dR(e){return!!(Ae(e)&&e.add)}function id(e,t){const n=e.getValue("willChange");if(dR(n))return n.add(t);if(!n&&lr.WillChange){const r=new lr.WillChange("auto");e.addValue("willChange",r),r.add(t)}}function Yf(e){return e.replace(/([A-Z])/g,t=>`-${t.toLowerCase()}`)}const fR="framerAppearId",mw="data-"+Yf(fR);function gw(e){return e.props[mw]}function hR({protectedKeys:e,needsAnimating:t},n){const r=e.hasOwnProperty(n)&&t[n]!==!0;return t[n]=!1,r}function yw(e,t,{delay:n=0,transitionOverride:r,type:s}={}){let{transition:i,transitionEnd:o,...a}=t;const l=e.getDefaultTransition();i=i?hw(i,l):l;const u=i==null?void 0:i.reduceMotion;r&&(i=r);const c=[],d=s&&e.animationState&&e.animationState.getState()[s];for(const f in a){const h=e.getValue(f,e.latestValues[f]??null),x=a[f];if(x===void 0||d&&hR(d,f))continue;const y={delay:n,...Gf(i||{},f)},w=h.get();if(w!==void 0&&!h.isAnimating()&&!Array.isArray(x)&&x===w&&!y.velocity){se.update(()=>h.set(x));continue}let g=!1;if(window.MotionHandoffAnimation){const S=gw(e);if(S){const E=window.MotionHandoffAnimation(S,f,se);E!==null&&(y.startTime=E,g=!0)}}id(e,f);const m=u??e.shouldReduceMotion;h.start(qf(f,h,x,m&&pw.has(f)?{type:!1}:y,e,g));const v=h.animation;v&&c.push(v)}if(o){const f=()=>se.update(()=>{o&&cR(e,o)});c.length?Promise.all(c).then(f):f()}return c}function od(e,t,n={}){var l;const r=Ir(e,t,n.type==="exit"?(l=e.presenceContext)==null?void 0:l.custom:void 0);let{transition:s=e.getDefaultTransition()||{}}=r||{};n.transitionOverride&&(s=n.transitionOverride);const i=r?()=>Promise.all(yw(e,r,n)):()=>Promise.resolve(),o=e.variantChildren&&e.variantChildren.size?(u=0)=>{const{delayChildren:c=0,staggerChildren:d,staggerDirection:f}=s;return pR(e,t,u,c,d,f,n)}:()=>Promise.resolve(),{when:a}=s;if(a){const[u,c]=a==="beforeChildren"?[i,o]:[o,i];return u().then(()=>c())}else return Promise.all([i(),o(n.delay)])}function pR(e,t,n=0,r=0,s=0,i=1,o){const a=[];for(const l of e.variantChildren)l.notify("AnimationStart",t),a.push(od(l,t,{...o,delay:n+(typeof r=="function"?0:r)+dw(e.variantChildren,l,r,s,i)}).then(()=>l.notify("AnimationComplete",t)));return Promise.all(a)}function mR(e,t,n={}){e.notify("AnimationStart",t);let r;if(Array.isArray(t)){const s=t.map(i=>od(e,i,n));r=Promise.all(s)}else if(typeof t=="string")r=od(e,t,n);else{const s=typeof t=="function"?Ir(e,t,n.custom):t;r=Promise.all(yw(e,s,n))}return r.then(()=>{e.notify("AnimationComplete",t)})}const gR={test:e=>e==="auto",parse:e=>e},vw=e=>t=>t.test(e),xw=[Ys,z,rn,Dn,Bk,_k,gR],Em=e=>xw.find(vw(e));function yR(e){return typeof e=="number"?e===0:e!==null?e==="none"||e==="0"||Ax(e):!0}const vR=new Set(["brightness","contrast","saturate","opacity"]);function xR(e){const[t,n]=e.slice(0,-1).split("(");if(t==="drop-shadow")return e;const[r]=n.match(Bf)||[];if(!r)return e;const s=n.replace(r,"");let i=vR.has(t)?1:0;return r!==n&&(i*=100),t+"("+i+s+")"}const wR=/\b([a-z-]*)\(.*?\)/gu,ad={..._t,getAnimatableNone:e=>{const t=e.match(wR);return t?t.map(xR).join(" "):e}},ld={..._t,getAnimatableNone:e=>{const t=_t.parse(e);return _t.createTransformer(e)(t.map(r=>typeof r=="number"?0:typeof r=="object"?{...r,alpha:1}:r))}},Cm={...Ys,transform:Math.round},bR={rotate:Dn,rotateX:Dn,rotateY:Dn,rotateZ:Dn,scale:Ko,scaleX:Ko,scaleY:Ko,scaleZ:Ko,skew:Dn,skewX:Dn,skewY:Dn,distance:z,translateX:z,translateY:z,translateZ:z,x:z,y:z,z,perspective:z,transformPerspective:z,opacity:eo,originX:cm,originY:cm,originZ:z},Xf={borderWidth:z,borderTopWidth:z,borderRightWidth:z,borderBottomWidth:z,borderLeftWidth:z,borderRadius:z,borderTopLeftRadius:z,borderTopRightRadius:z,borderBottomRightRadius:z,borderBottomLeftRadius:z,width:z,maxWidth:z,height:z,maxHeight:z,top:z,right:z,bottom:z,left:z,inset:z,insetBlock:z,insetBlockStart:z,insetBlockEnd:z,insetInline:z,insetInlineStart:z,insetInlineEnd:z,padding:z,paddingTop:z,paddingRight:z,paddingBottom:z,paddingLeft:z,paddingBlock:z,paddingBlockStart:z,paddingBlockEnd:z,paddingInline:z,paddingInlineStart:z,paddingInlineEnd:z,margin:z,marginTop:z,marginRight:z,marginBottom:z,marginLeft:z,marginBlock:z,marginBlockStart:z,marginBlockEnd:z,marginInline:z,marginInlineStart:z,marginInlineEnd:z,fontSize:z,backgroundPositionX:z,backgroundPositionY:z,...bR,zIndex:Cm,fillOpacity:eo,strokeOpacity:eo,numOctaves:Cm},SR={...Xf,color:we,backgroundColor:we,outlineColor:we,fill:we,stroke:we,borderColor:we,borderTopColor:we,borderRightColor:we,borderBottomColor:we,borderLeftColor:we,filter:ad,WebkitFilter:ad,mask:ld,WebkitMask:ld},ww=e=>SR[e],ER=new Set([ad,ld]);function bw(e,t){let n=ww(e);return ER.has(n)||(n=_t),n.getAnimatableNone?n.getAnimatableNone(t):void 0}const CR=new Set(["auto","none","0"]);function TR(e,t,n){let r=0,s;for(;r<e.length&&!s;){const i=e[r];typeof i=="string"&&!CR.has(i)&&Us(i).values.length&&(s=e[r]),r++}if(s&&n)for(const i of t)e[i]=bw(n,s)}class PR extends Kf{constructor(t,n,r,s,i){super(t,n,r,s,i,!0)}readKeyframes(){const{unresolvedKeyframes:t,element:n,name:r}=this;if(!n||!n.current)return;super.readKeyframes();for(let c=0;c<t.length;c++){let d=t[c];if(typeof d=="string"&&(d=d.trim(),_f(d))){const f=fw(d,n.current);f!==void 0&&(t[c]=f),c===t.length-1&&(this.finalKeyframe=d)}}if(this.resolveNoneKeyframes(),!pw.has(r)||t.length!==2)return;const[s,i]=t,o=Em(s),a=Em(i),l=um(s),u=um(i);if(l!==u&&Gn[r]){this.needsMeasurement=!0;return}if(o!==a)if(vm(o)&&vm(a))for(let c=0;c<t.length;c++){const d=t[c];typeof d=="string"&&(t[c]=parseFloat(d))}else Gn[r]&&(this.needsMeasurement=!0)}resolveNoneKeyframes(){const{unresolvedKeyframes:t,name:n}=this,r=[];for(let s=0;s<t.length;s++)(t[s]===null||yR(t[s]))&&r.push(s);r.length&&TR(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=Gn[r](t.measureViewportBox(),window.getComputedStyle(t.current)),n[0]=this.measuredOrigin;const s=n[n.length-1];s!==void 0&&t.getValue(r,s).jump(s,!1)}measureEndState(){var a;const{element:t,name:n,unresolvedKeyframes:r}=this;if(!t||!t.current)return;const s=t.getValue(n);s&&s.jump(this.measuredOrigin,!1);const i=r.length-1,o=r[i];r[i]=Gn[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 Sw(e,t,n){if(e==null)return[];if(e instanceof EventTarget)return[e];if(typeof e=="string"){const s=document.querySelectorAll(e);return s?Array.from(s):[]}return Array.from(e).filter(r=>r!=null)}const Ew=(e,t)=>t&&typeof e=="number"?t.transform(e):e;function kR(e){return Rx(e)&&"offsetHeight"in e&&!("ownerSVGElement"in e)}const{schedule:Zf,cancel:mD}=Wx(queueMicrotask,!1),jt={x:!1,y:!1};function Cw(){return jt.x||jt.y}function NR(e){return e==="x"||e==="y"?jt[e]?null:(jt[e]=!0,()=>{jt[e]=!1}):jt.x||jt.y?null:(jt.x=jt.y=!0,()=>{jt.x=jt.y=!1})}function Tw(e,t){const n=Sw(e),r=new AbortController,s={passive:!0,...t,signal:r.signal};return[n,s,()=>r.abort()]}function RR(e){return!(e.pointerType==="touch"||Cw())}function AR(e,t,n={}){const[r,s,i]=Tw(e,n);return r.forEach(o=>{let a=!1,l=!1,u;const c=()=>{o.removeEventListener("pointerleave",x)},d=w=>{u&&(u(w),u=void 0),c()},f=w=>{a=!1,window.removeEventListener("pointerup",f),window.removeEventListener("pointercancel",f),l&&(l=!1,d(w))},h=()=>{a=!0,window.addEventListener("pointerup",f,s),window.addEventListener("pointercancel",f,s)},x=w=>{if(w.pointerType!=="touch"){if(a){l=!0;return}d(w)}},y=w=>{if(!RR(w))return;l=!1;const g=t(o,w);typeof g=="function"&&(u=g,o.addEventListener("pointerleave",x,s))};o.addEventListener("pointerenter",y,s),o.addEventListener("pointerdown",h,s)}),i}const Pw=(e,t)=>t?e===t?!0:Pw(e,t.parentElement):!1,Jf=e=>e.pointerType==="mouse"?typeof e.button!="number"||e.button<=0:e.isPrimary!==!1,jR=new Set(["BUTTON","INPUT","SELECT","TEXTAREA","A"]);function MR(e){return jR.has(e.tagName)||e.isContentEditable===!0}const DR=new Set(["INPUT","SELECT","TEXTAREA"]);function LR(e){return DR.has(e.tagName)||e.isContentEditable===!0}const da=new WeakSet;function Tm(e){return t=>{t.key==="Enter"&&e(t)}}function Nu(e,t){e.dispatchEvent(new PointerEvent("pointer"+t,{isPrimary:!0,bubbles:!0}))}const OR=(e,t)=>{const n=e.currentTarget;if(!n)return;const r=Tm(()=>{if(da.has(n))return;Nu(n,"down");const s=Tm(()=>{Nu(n,"up")}),i=()=>Nu(n,"cancel");n.addEventListener("keyup",s,t),n.addEventListener("blur",i,t)});n.addEventListener("keydown",r,t),n.addEventListener("blur",()=>n.removeEventListener("keydown",r),t)};function Pm(e){return Jf(e)&&!Cw()}const km=new WeakSet;function IR(e,t,n={}){const[r,s,i]=Tw(e,n),o=a=>{const l=a.currentTarget;if(!Pm(a)||km.has(a))return;da.add(l),n.stopPropagation&&km.add(a);const u=t(l,a),c=(h,x)=>{window.removeEventListener("pointerup",d),window.removeEventListener("pointercancel",f),da.has(l)&&da.delete(l),Pm(h)&&typeof u=="function"&&u(h,{success:x})},d=h=>{c(h,l===window||l===document||n.useGlobalTarget||Pw(l,h.target))},f=h=>{c(h,!1)};window.addEventListener("pointerup",d,s),window.addEventListener("pointercancel",f,s)};return r.forEach(a=>{(n.useGlobalTarget?window:a).addEventListener("pointerdown",o,s),kR(a)&&(a.addEventListener("focus",u=>OR(u,s)),!MR(a)&&!a.hasAttribute("tabindex")&&(a.tabIndex=0))}),i}function eh(e){return Rx(e)&&"ownerSVGElement"in e}const fa=new WeakMap;let Ln;const kw=(e,t,n)=>(r,s)=>s&&s[0]?s[0][e+"Size"]:eh(r)&&"getBBox"in r?r.getBBox()[t]:r[n],VR=kw("inline","width","offsetWidth"),FR=kw("block","height","offsetHeight");function zR({target:e,borderBoxSize:t}){var n;(n=fa.get(e))==null||n.forEach(r=>{r(e,{get width(){return VR(e,t)},get height(){return FR(e,t)}})})}function _R(e){e.forEach(zR)}function BR(){typeof ResizeObserver>"u"||(Ln=new ResizeObserver(_R))}function UR(e,t){Ln||BR();const n=Sw(e);return n.forEach(r=>{let s=fa.get(r);s||(s=new Set,fa.set(r,s)),s.add(t),Ln==null||Ln.observe(r)}),()=>{n.forEach(r=>{const s=fa.get(r);s==null||s.delete(t),s!=null&&s.size||Ln==null||Ln.unobserve(r)})}}const ha=new Set;let hs;function WR(){hs=()=>{const e={get width(){return window.innerWidth},get height(){return window.innerHeight}};ha.forEach(t=>t(e))},window.addEventListener("resize",hs)}function $R(e){return ha.add(e),hs||WR(),()=>{ha.delete(e),!ha.size&&typeof hs=="function"&&(window.removeEventListener("resize",hs),hs=void 0)}}function Nm(e,t){return typeof e=="function"?$R(e):UR(e,t)}function HR(e){return eh(e)&&e.tagName==="svg"}const KR=[...xw,we,_t],GR=e=>KR.find(vw(e)),Rm=()=>({translate:0,scale:1,origin:0,originPoint:0}),ps=()=>({x:Rm(),y:Rm()}),Am=()=>({min:0,max:0}),Se=()=>({x:Am(),y:Am()}),qR=new WeakMap;function Ol(e){return e!==null&&typeof e=="object"&&typeof e.start=="function"}function to(e){return typeof e=="string"||Array.isArray(e)}const th=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],nh=["initial",...th];function Il(e){return Ol(e.animate)||nh.some(t=>to(e[t]))}function Nw(e){return!!(Il(e)||e.variants)}function QR(e,t,n){for(const r in t){const s=t[r],i=n[r];if(Ae(s))e.addValue(r,s);else if(Ae(i))e.addValue(r,Ws(s,{owner:e}));else if(i!==s)if(e.hasValue(r)){const o=e.getValue(r);o.liveStyle===!0?o.jump(s):o.hasAnimated||o.set(s)}else{const o=e.getStaticValue(r);e.addValue(r,Ws(o!==void 0?o:s,{owner:e}))}}for(const r in n)t[r]===void 0&&e.removeValue(r);return t}const ud={current:null},Rw={current:!1},YR=typeof window<"u";function XR(){if(Rw.current=!0,!!YR)if(window.matchMedia){const e=window.matchMedia("(prefers-reduced-motion)"),t=()=>ud.current=e.matches;e.addEventListener("change",t),t()}else ud.current=!1}const jm=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"];let el={};function Aw(e){el=e}function ZR(){return el}class JR{scrapeMotionValuesFromProps(t,n,r){return{}}constructor({parent:t,props:n,presenceContext:r,reducedMotionConfig:s,skipAnimations:i,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=Kf,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 h=$e.now();this.renderScheduledAt<h&&(this.renderScheduledAt=h,se.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=s,this.skipAnimationsConfig=i,this.options=l,this.blockInitialAnimation=!!o,this.isControllingVariants=Il(n),this.isVariantNode=Nw(n),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(t&&t.current);const{willChange:d,...f}=this.scrapeMotionValuesFromProps(n,{},this);for(const h in f){const x=f[h];u[h]!==void 0&&Ae(x)&&x.set(u[h])}}mount(t){var n,r;if(this.hasBeenMounted)for(const s in this.initialValues)(n=this.values.get(s))==null||n.jump(this.initialValues[s]),this.latestValues[s]=this.initialValues[s];this.current=t,qR.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((s,i)=>this.bindToMotionValue(i,s)),this.reducedMotionConfig==="never"?this.shouldReduceMotion=!1:this.reducedMotionConfig==="always"?this.shouldReduceMotion=!0:(Rw.current||XR(),this.shouldReduceMotion=ud.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(),ur(this.notifyUpdate),ur(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&&cw.has(t)&&this.current instanceof HTMLElement){const{factory:o,keyframes:a,times:l,ease:u,duration:c}=n.accelerate,d=new lw({element:this.current,name:t,keyframes:a,times:l,ease:u,duration:nt(c)}),f=o(d);this.valueSubscriptions.set(t,()=>{f(),d.cancel()});return}const r=Zs.has(t);r&&this.onBindTransform&&this.onBindTransform();const s=n.on("change",o=>{this.latestValues[t]=o,this.props.onUpdate&&se.preRender(this.notifyUpdate),r&&this.projection&&(this.projection.isTransformDirty=!0),this.scheduleRender()});let i;typeof window<"u"&&window.MotionCheckAppearSync&&(i=window.MotionCheckAppearSync(this,t,n)),this.valueSubscriptions.set(t,()=>{s(),i&&i(),n.owner&&n.stop()})}sortNodePosition(t){return!this.current||!this.sortInstanceNodePosition||this.type!==t.type?0:this.sortInstanceNodePosition(this.current,t.current)}updateFeatures(){let t="animation";for(t in el){const n=el[t];if(!n)continue;const{isEnabled:r,Feature:s}=n;if(!this.features[t]&&s&&r(this.props)&&(this.features[t]=new s(this)),this.features[t]){const i=this.features[t];i.isMounted?i.update():(i.mount(),i.isMounted=!0)}}}triggerBuild(){this.build(this.renderState,this.latestValues,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):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<jm.length;r++){const s=jm[r];this.propEventSubscriptions[s]&&(this.propEventSubscriptions[s](),delete this.propEventSubscriptions[s]);const i="on"+s,o=t[i];o&&(this.propEventSubscriptions[s]=this.on(s,o))}this.prevMotionValues=QR(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=Ws(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"&&(Nx(r)||Ax(r))?r=parseFloat(r):!GR(r)&&_t.test(n)&&(r=bw(t,n)),this.setBaseTarget(t,Ae(r)?r.get():r)),Ae(r)?r.get():r}setBaseTarget(t,n){this.baseTarget[t]=n}getBaseTarget(t){var i;const{initial:n}=this.props;let r;if(typeof n=="string"||typeof n=="object"){const o=Qf(this.props,n,(i=this.presenceContext)==null?void 0:i.custom);o&&(r=o[t])}if(n&&r!==void 0)return r;const s=this.getBaseTargetFromProps(this.props,t);return s!==void 0&&!Ae(s)?s:this.initialValues[t]!==void 0&&r===void 0?void 0:this.baseTarget[t]}on(t,n){return this.events[t]||(this.events[t]=new Vf),this.events[t].add(n)}notify(t,...n){this.events[t]&&this.events[t].notify(...n)}scheduleRenderMicrotask(){Zf.render(this.render)}}class jw extends JR{constructor(){super(...arguments),this.KeyframeResolver=PR}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;Ae(t)&&(this.childSubscription=t.on("change",n=>{this.current&&(this.current.textContent=`${n}`)}))}}class pr{constructor(t){this.isMounted=!1,this.node=t}update(){}}function Mw({top:e,left:t,right:n,bottom:r}){return{x:{min:t,max:n},y:{min:e,max:r}}}function eA({x:e,y:t}){return{top:t.min,right:e.max,bottom:t.max,left:e.min}}function tA(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 Ru(e){return e===void 0||e===1}function cd({scale:e,scaleX:t,scaleY:n}){return!Ru(e)||!Ru(t)||!Ru(n)}function br(e){return cd(e)||Dw(e)||e.z||e.rotate||e.rotateX||e.rotateY||e.skewX||e.skewY}function Dw(e){return Mm(e.x)||Mm(e.y)}function Mm(e){return e&&e!=="0%"}function tl(e,t,n){const r=e-n,s=t*r;return n+s}function Dm(e,t,n,r,s){return s!==void 0&&(e=tl(e,s,r)),tl(e,n,r)+t}function dd(e,t=0,n=1,r,s){e.min=Dm(e.min,t,n,r,s),e.max=Dm(e.max,t,n,r,s)}function Lw(e,{x:t,y:n}){dd(e.x,t.translate,t.scale,t.originPoint),dd(e.y,n.translate,n.scale,n.originPoint)}const Lm=.999999999999,Om=1.0000000000001;function nA(e,t,n,r=!1){var a;const s=n.length;if(!s)return;t.x=t.y=1;let i,o;for(let l=0;l<s;l++){i=n[l],o=i.projectionDelta;const{visualElement:u}=i.options;u&&u.props.style&&u.props.style.display==="contents"||(r&&i.options.layoutScroll&&i.scroll&&i!==i.root&&(Xt(e.x,-i.scroll.offset.x),Xt(e.y,-i.scroll.offset.y)),o&&(t.x*=o.x.scale,t.y*=o.y.scale,Lw(e,o)),r&&br(i.latestValues)&&pa(e,i.latestValues,(a=i.layout)==null?void 0:a.layoutBox))}t.x<Om&&t.x>Lm&&(t.x=1),t.y<Om&&t.y>Lm&&(t.y=1)}function Xt(e,t){e.min+=t,e.max+=t}function Im(e,t,n,r,s=.5){const i=le(e.min,e.max,s);dd(e,t,n,i,r)}function Vm(e,t){return typeof e=="string"?parseFloat(e)/100*(t.max-t.min):e}function pa(e,t,n){const r=n??e;Im(e.x,Vm(t.x,r.x),t.scaleX,t.scale,t.originX),Im(e.y,Vm(t.y,r.y),t.scaleY,t.scale,t.originY)}function Ow(e,t){return Mw(tA(e.getBoundingClientRect(),t))}function rA(e,t,n){const r=Ow(e,n),{scroll:s}=t;return s&&(Xt(r.x,s.offset.x),Xt(r.y,s.offset.y)),r}const sA={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},iA=Xs.length;function oA(e,t,n){let r="",s=!0;for(let i=0;i<iA;i++){const o=Xs[i],a=e[o];if(a===void 0)continue;let l=!0;if(typeof a=="number")l=a===(o.startsWith("scale")?1:0);else{const u=parseFloat(a);l=o.startsWith("scale")?u===1:u===0}if(!l||n){const u=Ew(a,Xf[o]);if(!l){s=!1;const c=sA[o]||o;r+=`${c}(${u}) `}n&&(t[o]=u)}}return r=r.trim(),n?r=n(t,s?"":r):s&&(r="none"),r}function rh(e,t,n){const{style:r,vars:s,transformOrigin:i}=e;let o=!1,a=!1;for(const l in t){const u=t[l];if(Zs.has(l)){o=!0;continue}else if(Hx(l)){s[l]=u;continue}else{const c=Ew(u,Xf[l]);l.startsWith("origin")?(a=!0,i[l]=c):r[l]=c}}if(t.transform||(o||n?r.transform=oA(t,e.transform,n):r.transform&&(r.transform="none")),a){const{originX:l="50%",originY:u="50%",originZ:c=0}=i;r.transformOrigin=`${l} ${u} ${c}`}}function Iw(e,{style:t,vars:n},r,s){const i=e.style;let o;for(o in t)i[o]=t[o];s==null||s.applyProjectionStyles(i,r);for(o in n)i.setProperty(o,n[o])}function Fm(e,t){return t.max===t.min?0:e/(t.max-t.min)*100}const di={correct:(e,t)=>{if(!t.target)return e;if(typeof e=="string")if(z.test(e))e=parseFloat(e);else return e;const n=Fm(e,t.target.x),r=Fm(e,t.target.y);return`${n}% ${r}%`}},aA={correct:(e,{treeScale:t,projectionDelta:n})=>{const r=e,s=_t.parse(e);if(s.length>5)return r;const i=_t.createTransformer(e),o=typeof s[0]!="number"?1:0,a=n.x.scale*t.x,l=n.y.scale*t.y;s[0+o]/=a,s[1+o]/=l;const u=le(a,l,.5);return typeof s[2+o]=="number"&&(s[2+o]/=u),typeof s[3+o]=="number"&&(s[3+o]/=u),i(s)}},fd={borderRadius:{...di,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:di,borderTopRightRadius:di,borderBottomLeftRadius:di,borderBottomRightRadius:di,boxShadow:aA};function Vw(e,{layout:t,layoutId:n}){return Zs.has(e)||e.startsWith("origin")||(t||n!==void 0)&&(!!fd[e]||e==="opacity")}function sh(e,t,n){var o;const r=e.style,s=t==null?void 0:t.style,i={};if(!r)return i;for(const a in r)(Ae(r[a])||s&&Ae(s[a])||Vw(a,e)||((o=n==null?void 0:n.getValue(a))==null?void 0:o.liveStyle)!==void 0)&&(i[a]=r[a]);return i}function lA(e){return window.getComputedStyle(e)}class uA extends jw{constructor(){super(...arguments),this.type="html",this.renderInstance=Iw}readValueFromInstance(t,n){var r;if(Zs.has(n))return(r=this.projection)!=null&&r.isProjecting?Zc(n):kN(t,n);{const s=lA(t),i=(Hx(n)?s.getPropertyValue(n):s[n])||0;return typeof i=="string"?i.trim():i}}measureInstanceViewportBox(t,{transformPagePoint:n}){return Ow(t,n)}build(t,n,r){rh(t,n,r.transformTemplate)}scrapeMotionValuesFromProps(t,n,r){return sh(t,n,r)}}const cA={offset:"stroke-dashoffset",array:"stroke-dasharray"},dA={offset:"strokeDashoffset",array:"strokeDasharray"};function fA(e,t,n=1,r=0,s=!0){e.pathLength=1;const i=s?cA:dA;e[i.offset]=`${-r}`,e[i.array]=`${t} ${n}`}const hA=["offsetDistance","offsetPath","offsetRotate","offsetAnchor"];function Fw(e,{attrX:t,attrY:n,attrScale:r,pathLength:s,pathSpacing:i=1,pathOffset:o=0,...a},l,u,c){if(rh(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 h of hA)d[h]!==void 0&&(f[h]=d[h],delete d[h]);t!==void 0&&(d.x=t),n!==void 0&&(d.y=n),r!==void 0&&(d.scale=r),s!==void 0&&fA(d,s,i,o,!1)}const zw=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"]),_w=e=>typeof e=="string"&&e.toLowerCase()==="svg";function pA(e,t,n,r){Iw(e,t,void 0,r);for(const s in t.attrs)e.setAttribute(zw.has(s)?s:Yf(s),t.attrs[s])}function Bw(e,t,n){const r=sh(e,t,n);for(const s in e)if(Ae(e[s])||Ae(t[s])){const i=Xs.indexOf(s)!==-1?"attr"+s.charAt(0).toUpperCase()+s.substring(1):s;r[i]=e[s]}return r}class mA extends jw{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=Se}getBaseTargetFromProps(t,n){return t[n]}readValueFromInstance(t,n){if(Zs.has(n)){const r=ww(n);return r&&r.default||0}return n=zw.has(n)?n:Yf(n),t.getAttribute(n)}scrapeMotionValuesFromProps(t,n,r){return Bw(t,n,r)}build(t,n,r){Fw(t,n,this.isSVGTag,r.transformTemplate,r.style)}renderInstance(t,n,r,s){pA(t,n,r,s)}mount(t){this.isSVGTag=_w(t.tagName),super.mount(t)}}const gA=nh.length;function Uw(e){if(!e)return;if(!e.isControllingVariants){const n=e.parent?Uw(e.parent)||{}:{};return e.props.initial!==void 0&&(n.initial=e.props.initial),n}const t={};for(let n=0;n<gA;n++){const r=nh[n],s=e.props[r];(to(s)||s===!1)&&(t[r]=s)}return t}function Ww(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 yA=[...th].reverse(),vA=th.length;function xA(e){return t=>Promise.all(t.map(({animation:n,options:r})=>mR(e,n,r)))}function wA(e){let t=xA(e),n=zm(),r=!0,s=!1;const i=u=>(c,d)=>{var h;const f=Ir(e,d,u==="exit"?(h=e.presenceContext)==null?void 0:h.custom:void 0);if(f){const{transition:x,transitionEnd:y,...w}=f;c={...c,...w,...y}}return c};function o(u){t=u(e)}function a(u){const{props:c}=e,d=Uw(e.parent)||{},f=[],h=new Set;let x={},y=1/0;for(let g=0;g<vA;g++){const m=yA[g],v=n[m],S=c[m]!==void 0?c[m]:d[m],E=to(S),C=m===u?v.isActive:null;C===!1&&(y=g);let T=S===d[m]&&S!==c[m]&&E;if(T&&(r||s)&&e.manuallyAnimateOnMount&&(T=!1),v.protectedKeys={...x},!v.isActive&&C===null||!S&&!v.prevProp||Ol(S)||typeof S=="boolean")continue;if(m==="exit"&&v.isActive&&C!==!0){v.prevResolvedValues&&(x={...x,...v.prevResolvedValues});continue}const k=bA(v.prevProp,S);let M=k||m===u&&v.isActive&&!T&&E||g>y&&E,N=!1;const V=Array.isArray(S)?S:[S];let O=V.reduce(i(m),{});C===!1&&(O={});const{prevResolvedValues:W={}}=v,L={...W,...O},$=P=>{M=!0,h.has(P)&&(N=!0,h.delete(P)),v.needsAnimating[P]=!0;const R=e.getValue(P);R&&(R.liveStyle=!1)};for(const P in L){const R=O[P],I=W[P];if(x.hasOwnProperty(P))continue;let U=!1;sd(R)&&sd(I)?U=!Ww(R,I):U=R!==I,U?R!=null?$(P):h.add(P):R!==void 0&&h.has(P)?$(P):v.protectedKeys[P]=!0}v.prevProp=S,v.prevResolvedValues=O,v.isActive&&(x={...x,...O}),(r||s)&&e.blockInitialAnimation&&(M=!1);const _=T&&k;M&&(!_||N)&&f.push(...V.map(P=>{const R={type:m};if(typeof P=="string"&&(r||s)&&!_&&e.manuallyAnimateOnMount&&e.parent){const{parent:I}=e,U=Ir(I,P);if(I.enteringChildren&&U){const{delayChildren:B}=U.transition||{};R.delay=dw(I.enteringChildren,e,B)}}return{animation:P,options:R}}))}if(h.size){const g={};if(typeof c.initial!="boolean"){const m=Ir(e,Array.isArray(c.initial)?c.initial[0]:c.initial);m&&m.transition&&(g.transition=m.transition)}h.forEach(m=>{const v=e.getBaseTarget(m),S=e.getValue(m);S&&(S.liveStyle=!0),g[m]=v??null}),f.push({animation:g})}let w=!!f.length;return r&&(c.initial===!1||c.initial===c.animate)&&!e.manuallyAnimateOnMount&&(w=!1),r=!1,s=!1,w?t(f):Promise.resolve()}function l(u,c){var f;if(n[u].isActive===c)return Promise.resolve();(f=e.variantChildren)==null||f.forEach(h=>{var x;return(x=h.animationState)==null?void 0:x.setActive(u,c)}),n[u].isActive=c;const d=a(u);for(const h in n)n[h].protectedKeys={};return d}return{animateChanges:a,setActive:l,setAnimateFunction:o,getState:()=>n,reset:()=>{n=zm(),s=!0}}}function bA(e,t){return typeof t=="string"?t!==e:Array.isArray(t)?!Ww(t,e):!1}function vr(e=!1){return{isActive:e,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function zm(){return{animate:vr(!0),whileInView:vr(),whileHover:vr(),whileTap:vr(),whileDrag:vr(),whileFocus:vr(),exit:vr()}}function hd(e,t){e.min=t.min,e.max=t.max}function At(e,t){hd(e.x,t.x),hd(e.y,t.y)}function _m(e,t){e.translate=t.translate,e.scale=t.scale,e.originPoint=t.originPoint,e.origin=t.origin}const $w=1e-4,SA=1-$w,EA=1+$w,Hw=.01,CA=0-Hw,TA=0+Hw;function He(e){return e.max-e.min}function PA(e,t,n){return Math.abs(e-t)<=n}function Bm(e,t,n,r=.5){e.origin=r,e.originPoint=le(t.min,t.max,e.origin),e.scale=He(n)/He(t),e.translate=le(n.min,n.max,e.origin)-e.originPoint,(e.scale>=SA&&e.scale<=EA||isNaN(e.scale))&&(e.scale=1),(e.translate>=CA&&e.translate<=TA||isNaN(e.translate))&&(e.translate=0)}function Ai(e,t,n,r){Bm(e.x,t.x,n.x,r?r.originX:void 0),Bm(e.y,t.y,n.y,r?r.originY:void 0)}function Um(e,t,n,r=0){const s=r?le(n.min,n.max,r):n.min;e.min=s+t.min,e.max=e.min+He(t)}function kA(e,t,n,r){Um(e.x,t.x,n.x,r==null?void 0:r.x),Um(e.y,t.y,n.y,r==null?void 0:r.y)}function Wm(e,t,n,r=0){const s=r?le(n.min,n.max,r):n.min;e.min=t.min-s,e.max=e.min+He(t)}function nl(e,t,n,r){Wm(e.x,t.x,n.x,r==null?void 0:r.x),Wm(e.y,t.y,n.y,r==null?void 0:r.y)}function $m(e,t,n,r,s){return e-=t,e=tl(e,1/n,r),s!==void 0&&(e=tl(e,1/s,r)),e}function NA(e,t=0,n=1,r=.5,s,i=e,o=e){if(rn.test(t)&&(t=parseFloat(t),t=le(o.min,o.max,t/100)-o.min),typeof t!="number")return;let a=le(i.min,i.max,r);e===i&&(a-=t),e.min=$m(e.min,t,n,a,s),e.max=$m(e.max,t,n,a,s)}function Hm(e,t,[n,r,s],i,o){NA(e,t[n],t[r],t[s],t.scale,i,o)}const RA=["x","scaleX","originX"],AA=["y","scaleY","originY"];function Km(e,t,n,r){Hm(e.x,t,RA,n?n.x:void 0,r?r.x:void 0),Hm(e.y,t,AA,n?n.y:void 0,r?r.y:void 0)}function Gm(e){return e.translate===0&&e.scale===1}function Kw(e){return Gm(e.x)&&Gm(e.y)}function qm(e,t){return e.min===t.min&&e.max===t.max}function jA(e,t){return qm(e.x,t.x)&&qm(e.y,t.y)}function Qm(e,t){return Math.round(e.min)===Math.round(t.min)&&Math.round(e.max)===Math.round(t.max)}function Gw(e,t){return Qm(e.x,t.x)&&Qm(e.y,t.y)}function Ym(e){return He(e.x)/He(e.y)}function Xm(e,t){return e.translate===t.translate&&e.scale===t.scale&&e.originPoint===t.originPoint}function Gt(e){return[e("x"),e("y")]}function MA(e,t,n){let r="";const s=e.x.translate/t.x,i=e.y.translate/t.y,o=(n==null?void 0:n.z)||0;if((s||i||o)&&(r=`translate3d(${s}px, ${i}px, ${o}px) `),(t.x!==1||t.y!==1)&&(r+=`scale(${1/t.x}, ${1/t.y}) `),n){const{transformPerspective:u,rotate:c,rotateX:d,rotateY:f,skewX:h,skewY:x}=n;u&&(r=`perspective(${u}px) ${r}`),c&&(r+=`rotate(${c}deg) `),d&&(r+=`rotateX(${d}deg) `),f&&(r+=`rotateY(${f}deg) `),h&&(r+=`skewX(${h}deg) `),x&&(r+=`skewY(${x}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 qw=["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"],DA=qw.length,Zm=e=>typeof e=="string"?parseFloat(e):e,Jm=e=>typeof e=="number"||z.test(e);function LA(e,t,n,r,s,i){s?(e.opacity=le(0,n.opacity??1,OA(r)),e.opacityExit=le(t.opacity??1,0,IA(r))):i&&(e.opacity=le(t.opacity??1,n.opacity??1,r));for(let o=0;o<DA;o++){const a=qw[o];let l=eg(t,a),u=eg(n,a);if(l===void 0&&u===void 0)continue;l||(l=0),u||(u=0),l===0||u===0||Jm(l)===Jm(u)?(e[a]=Math.max(le(Zm(l),Zm(u),r),0),(rn.test(u)||rn.test(l))&&(e[a]+="%")):e[a]=u}(t.rotate||n.rotate)&&(e.rotate=le(t.rotate||0,n.rotate||0,r))}function eg(e,t){return e[t]!==void 0?e[t]:e.borderRadius}const OA=Qw(0,.5,zx),IA=Qw(.5,.95,St);function Qw(e,t,n){return r=>r<e?0:r>t?1:n(Ji(e,t,r))}function VA(e,t,n){const r=Ae(e)?e:Ws(e);return r.start(qf("",r,t,n)),r.animation}function no(e,t,n,r={passive:!0}){return e.addEventListener(t,n,r),()=>e.removeEventListener(t,n)}const FA=(e,t)=>e.depth-t.depth;class zA{constructor(){this.children=[],this.isDirty=!1}add(t){If(this.children,t),this.isDirty=!0}remove(t){Qa(this.children,t),this.isDirty=!0}forEach(t){this.isDirty&&this.children.sort(FA),this.isDirty=!1,this.children.forEach(t)}}function _A(e,t){const n=$e.now(),r=({timestamp:s})=>{const i=s-n;i>=t&&(ur(r),e(i-t))};return se.setup(r,!0),()=>ur(r)}function ma(e){return Ae(e)?e.get():e}class BA{constructor(){this.members=[]}add(t){If(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 s=r.instance;(!s||s.isConnected===!1)&&!r.snapshot&&(Qa(this.members,r),r.unmount())}t.scheduleRender()}remove(t){if(Qa(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 s=this.members[r];if(s.isPresent!==!1&&((n=s.instance)==null?void 0:n.isConnected)!==!1)return this.promote(s),!0}return!1}promote(t,n){var s;const r=this.lead;if(t!==r&&(this.prevLead=r,this.lead=t,t.show(),r)){r.updateSnapshot(),t.scheduleRender();const{layoutDependency:i}=r.options,{layoutDependency:o}=t.options;(i===void 0||i!==o)&&(t.resumeFrom=r,n&&(r.preserveOpacity=!0),r.snapshot&&(t.snapshot=r.snapshot,t.snapshot.latestValues=r.animationValues||r.latestValues),(s=t.root)!=null&&s.isUpdating&&(t.isLayoutDirty=!0)),t.options.crossfade===!1&&r.hide()}}exitAnimationComplete(){this.members.forEach(t=>{var n,r,s,i,o;(r=(n=t.options).onExitComplete)==null||r.call(n),(o=(s=t.resumingFrom)==null?void 0:(i=s.options).onExitComplete)==null||o.call(i)})}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 ga={hasAnimatedSinceResize:!0,hasEverUpdated:!1},Au=["","X","Y","Z"],UA=1e3;let WA=0;function ju(e,t,n,r){const{latestValues:s}=t;s[e]&&(n[e]=s[e],t.setStaticValue(e,0),r&&(r[e]=0))}function Yw(e){if(e.hasCheckedOptimisedAppear=!0,e.root===e)return;const{visualElement:t}=e.options;if(!t)return;const n=gw(t);if(window.MotionHasOptimisedAnimation(n,"transform")){const{layout:s,layoutId:i}=e.options;window.MotionCancelOptimisedAnimation(n,"transform",se,!(s||i))}const{parent:r}=e;r&&!r.hasCheckedOptimisedAppear&&Yw(r)}function Xw({attachResizeListener:e,defaultParent:t,measureScroll:n,checkIsScrollRoot:r,resetTransform:s}){return class{constructor(o={},a=t==null?void 0:t()){this.id=WA++,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(KA),this.nodes.forEach(ZA),this.nodes.forEach(JA),this.nodes.forEach(GA)},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 zA)}addEventListener(o,a){return this.eventHandlers.has(o)||this.eventHandlers.set(o,new Vf),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)&&!HR(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;se.read(()=>{d=window.innerWidth}),e(o,()=>{const h=window.innerWidth;h!==d&&(d=h,this.root.updateBlockedByResize=!0,c&&c(),c=_A(f,250),ga.hasAnimatedSinceResize&&(ga.hasAnimatedSinceResize=!1,this.nodes.forEach(rg)))})}a&&this.root.registerSharedNode(a,this),this.options.animate!==!1&&u&&(a||l)&&this.addEventListener("didUpdate",({delta:c,hasLayoutChanged:d,hasRelativeLayoutChanged:f,layout:h})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}const x=this.options.transition||u.getDefaultTransition()||sj,{onLayoutAnimationStart:y,onLayoutAnimationComplete:w}=u.getProps(),g=!this.targetLayout||!Gw(this.targetLayout,h),m=!d&&f;if(this.options.layoutRoot||this.resumeFrom||m||d&&(g||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0);const v={...Gf(x,"layout"),onPlay:y,onComplete:w};(u.shouldReduceMotion||this.options.layoutRoot)&&(v.delay=0,v.type=!1),this.startAnimation(v),this.setAnimationOrigin(c,m)}else d||rg(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=h})}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(),ur(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(ej),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&&Yw(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(QA),this.nodes.forEach(tg);return}if(this.animationId<=this.animationCommitId){this.nodes.forEach(ng);return}this.animationCommitId=this.animationId,this.isUpdating?(this.isUpdating=!1,this.nodes.forEach(YA),this.nodes.forEach(XA),this.nodes.forEach($A),this.nodes.forEach(HA)):this.nodes.forEach(ng),this.clearAllSnapshots();const a=$e.now();Re.delta=on(0,1e3/60,a-Re.timestamp),Re.timestamp=a,Re.isProcessing=!0,Su.update.process(Re),Su.preRender.process(Re),Su.render.process(Re),Re.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,Zf.read(this.scheduleUpdate))}clearAllSnapshots(){this.nodes.forEach(qA),this.sharedNodes.forEach(tj)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,se.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){se.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){this.snapshot||!this.instance||(this.snapshot=this.measure(),this.snapshot&&!He(this.snapshot.measuredBox.x)&&!He(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(!s)return;const o=this.isLayoutDirty||this.shouldResetTransform||this.options.alwaysMeasureLayout,a=this.projectionDelta&&!Kw(this.projectionDelta),l=this.getTransformTemplate(),u=l?l(this.latestValues,""):void 0,c=u!==this.prevTransformTemplateValue;o&&this.instance&&(a||br(this.latestValues)||c)&&(s(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)),ij(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(oj))){const{scroll:c}=this.root;c&&(Xt(a.x,c.offset.x),Xt(a.y,c.offset.y))}return a}removeElementScroll(o){var l;const a=Se();if(At(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&&At(a,o),Xt(a.x,d.offset.x),Xt(a.y,d.offset.y))}return a}applyTransform(o,a=!1,l){var c,d;const u=l||Se();At(u,o);for(let f=0;f<this.path.length;f++){const h=this.path[f];!a&&h.options.layoutScroll&&h.scroll&&h!==h.root&&(Xt(u.x,-h.scroll.offset.x),Xt(u.y,-h.scroll.offset.y)),br(h.latestValues)&&pa(u,h.latestValues,(c=h.layout)==null?void 0:c.layoutBox)}return br(this.latestValues)&&pa(u,this.latestValues,(d=this.layout)==null?void 0:d.layoutBox),u}removeTransform(o){var l;const a=Se();At(a,o);for(let u=0;u<this.path.length;u++){const c=this.path[u];if(!br(c.latestValues))continue;let d;c.instance&&(cd(c.latestValues)&&c.updateSnapshot(),d=Se(),At(d,c.measurePageBox())),Km(a,c.latestValues,(l=c.snapshot)==null?void 0:l.layoutBox,d)}return br(this.latestValues)&&Km(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 h;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||(h=this.parent)!=null&&h.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(),kA(this.target,this.relativeTarget,this.relativeParent.target,this.options.layoutAnchor||void 0)):this.targetDelta?(this.resumingFrom?this.applyTransform(this.layout.layoutBox,!1,this.target):At(this.target,this.layout.layoutBox),Lw(this.target,this.targetDelta)):At(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||cd(this.parent.latestValues)||Dw(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(),nl(this.relativeTargetOrigin,a,l,this.options.layoutAnchor||void 0),At(this.relativeTarget,this.relativeTargetOrigin)}removeRelativeTarget(){this.relativeParent=this.relativeTarget=void 0}calcProjection(){var x;const o=this.getLead(),a=!!this.resumingFrom||this!==o;let l=!0;if((this.isProjectionDirty||(x=this.parent)!=null&&x.isProjectionDirty)&&
vendor: 5,333 bytes, line 163
163(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;At(this.layoutCorrected,this.layout.layoutBox);const d=this.treeScale.x,f=this.treeScale.y;nA(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:h}=o;if(!h){this.prevProjectionDelta&&(this.createProjectionDeltas(),this.scheduleRender());return}!this.projectionDelta||!this.prevProjectionDelta?this.createProjectionDeltas():(_m(this.prevProjectionDelta.x,this.projectionDelta.x),_m(this.prevProjectionDelta.y,this.projectionDelta.y)),Ai(this.projectionDelta,this.layoutCorrected,h,this.latestValues),(this.treeScale.x!==d||this.treeScale.y!==f||!Xm(this.projectionDelta.x,this.prevProjectionDelta.x)||!Xm(this.projectionDelta.y,this.prevProjectionDelta.y))&&(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",h))}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=ps(),this.projectionDelta=ps(),this.projectionDeltaWithTransform=ps()}setAnimationOrigin(o,a=!1){const l=this.snapshot,u=l?l.latestValues:{},c={...this.latestValues},d=ps();(!this.relativeParent||!this.relativeParent.options.layoutRoot)&&(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!a;const f=Se(),h=l?l.source:void 0,x=this.layout?this.layout.source:void 0,y=h!==x,w=this.getStack(),g=!w||w.members.length<=1,m=!!(y&&!g&&this.options.crossfade===!0&&!this.path.some(rj));this.animationProgress=0;let v;this.mixTargetDelta=S=>{const E=S/1e3;sg(d.x,o.x,E),sg(d.y,o.y,E),this.setTargetDelta(d),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&(nl(f,this.layout.layoutBox,this.relativeParent.layout.layoutBox,this.options.layoutAnchor||void 0),nj(this.relativeTarget,this.relativeTargetOrigin,f,E),v&&jA(this.relativeTarget,v)&&(this.isProjectionDirty=!1),v||(v=Se()),At(v,this.relativeTarget)),y&&(this.animationValues=c,LA(c,u,this.latestValues,E,m,g)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=E},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&&(ur(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=se.update(()=>{ga.hasAnimatedSinceResize=!0,this.motionValue||(this.motionValue=Ws(0)),this.motionValue.jump(0,!1),this.currentAnimation=VA(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(UA),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&&Zw(this.options.animationType,this.layout.layoutBox,u.layoutBox)){l=this.target||Se();const d=He(this.layout.layoutBox.x);l.x.min=o.target.x.min,l.x.max=l.x.min+d;const f=He(this.layout.layoutBox.y);l.y.min=o.target.y.min,l.y.max=l.y.min+f}At(a,l),pa(a,c),Ai(this.projectionDeltaWithTransform,this.layoutCorrected,a,c)}}registerSharedNode(o,a){this.sharedNodes.has(o)||this.sharedNodes.set(o,new BA),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}
vendor: 8,879 bytes, line 163
163resetSkewAndRotation(){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&&ju("z",o,u,this.animationValues);for(let c=0;c<Au.length;c++)ju(`rotate${Au[c]}`,o,u,this.animationValues),ju(`skew${Au[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=ma(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=ma(a==null?void 0:a.pointerEvents)||""),this.hasProjected&&!br(this.latestValues)&&(o.transform=l?l({},""):"none",this.hasProjected=!1);return}o.visibility="";const c=u.animationValues||u.latestValues;this.applyTransformsToTarget();let d=MA(this.projectionDeltaWithTransform,this.treeScale,c);l&&(d=l(c,d)),o.transform=d;const{x:f,y:h}=this.projectionDelta;o.transformOrigin=`${f.origin*100}% ${h.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 x in fd){if(c[x]===void 0)continue;const{correct:y,applyTo:w,isCSSVariable:g}=fd[x],m=d==="none"?c[x]:y(c[x],u);if(w){const v=w.length;for(let S=0;S<v;S++)o[w[S]]=m}else g?this.options.visualElement.renderState.vars[x]=m:o[x]=m}this.options.layoutId&&(o.pointerEvents=u===this?ma(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(tg),this.root.sharedNodes.clear()}}}function $A(e){e.updateLayout()}function HA(e){var n;const t=((n=e.resumeFrom)==null?void 0:n.snapshot)||e.snapshot;if(e.isLead()&&e.layout&&t&&e.hasListeners("didUpdate")){const{layoutBox:r,measuredBox:s}=e.layout,{animationType:i}=e.options,o=t.source!==e.layout.source;if(i==="size")Gt(d=>{const f=o?t.measuredBox[d]:t.layoutBox[d],h=He(f);f.min=r[d].min,f.max=f.min+h});else if(i==="x"||i==="y"){const d=i==="x"?"y":"x";hd(o?t.measuredBox[d]:t.layoutBox[d],r[d])}else Zw(i,t.layoutBox,r)&&Gt(d=>{const f=o?t.measuredBox[d]:t.layoutBox[d],h=He(r[d]);f.max=f.min+h,e.relativeTarget&&!e.currentAnimation&&(e.isProjectionDirty=!0,e.relativeTarget[d].max=e.relativeTarget[d].min+h)});const a=ps();Ai(a,r,t.layoutBox);const l=ps();o?Ai(l,e.applyTransform(s,!0),t.measuredBox):Ai(l,r,t.layoutBox);const u=!Kw(a);let c=!1;if(!e.resumeFrom){const d=e.getClosestProjectingParent();if(d&&!d.resumeFrom){const{snapshot:f,layout:h}=d;if(f&&h){const x=e.options.layoutAnchor||void 0,y=Se();nl(y,t.layoutBox,f.layoutBox,x);const w=Se();nl(w,r,h.layoutBox,x),Gw(y,w)||(c=!0),d.options.layoutRoot&&(e.relativeTarget=w,e.relativeTargetOrigin=y,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 KA(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 GA(e){e.isProjectionDirty=e.isSharedProjectionDirty=e.isTransformDirty=!1}function qA(e){e.clearSnapshot()}function tg(e){e.clearMeasurements()}function QA(e){e.isLayoutDirty=!0,e.updateLayout()}function ng(e){e.isLayoutDirty=!1}function YA(e){e.isAnimationBlocked&&e.layout&&!e.isLayoutDirty&&(e.snapshot=e.layout,e.isLayoutDirty=!0)}function XA(e){const{visualElement:t}=e.options;t&&t.getProps().onBeforeLayoutMeasure&&t.notify("BeforeLayoutMeasure"),e.resetTransform()}function rg(e){e.finishAnimation(),e.targetDelta=e.relativeTarget=e.target=void 0,e.isProjectionDirty=!0}function ZA(e){e.resolveTargetDelta()}function JA(e){e.calcProjection()}function ej(e){e.resetSkewAndRotation()}function tj(e){e.removeLeadSnapshot()}function sg(e,t,n){e.translate=le(t.translate,0,n),e.scale=le(t.scale,1,n),e.origin=t.origin,e.originPoint=t.originPoint}function ig(e,t,n,r){e.min=le(t.min,n.min,r),e.max=le(t.max,n.max,r)}function nj(e,t,n,r){ig(e.x,t.x,n.x,r),ig(e.y,t.y,n.y,r)}function rj(e){return e.animationValues&&e.animationValues.opacityExit!==void 0}const sj={duration:.45,ease:[.4,0,.1,1]},og=e=>typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(e),ag=og("applewebkit/")&&!og("chrome/")?Math.round:St;function lg(e){e.min=ag(e.min),e.max=ag(e.max)}function ij(e){lg(e.x),lg(e.y)}function Zw(e,t,n){return e==="position"||e==="preserve-aspect"&&!PA(Ym(t),Ym(n),.2)}function oj(e){var t;return e!==e.root&&((t=e.scroll)==null?void 0:t.wasRoot)}const aj=Xw({attachResizeListener:(e,t)=>no(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}),Mu={current:void 0},Jw=Xw({measureScroll:e=>({x:e.scrollLeft,y:e.scrollTop}),defaultParent:()=>{if(!Mu.current){const e=new aj({});e.mount(window),e.setOptions({layoutScroll:!0}),Mu.current=e}return Mu.current},resetTransform:(e,t)=>{e.style.transform=t!==void 0?t:"none"},checkIsScrollRoot:e=>window.getComputedStyle(e).position==="fixed"}),e1=b.createContext({transformPagePoint:e=>e,isStatic:!1,reducedMotion:"never"});function lj(e=!0){const t=b.useContext(Of);if(t===null)return[!0,null];const{isPresent:n,onExitComplete:r,register:s}=t,i=b.useId();b.useEffect(()=>{if(e)return s(i)},[e]);const o=b.useCallback(()=>e&&r&&r(i),[i,r,e]);return!n&&r?[!1,o]:[!0]}const t1=b.createContext({strict:!1}),ug={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 cg=!1;function uj(){if(cg)return;const e={};for(const t in ug)e[t]={isEnabled:n=>ug[t].some(r=>!!n[r])};Aw(e),cg=!0}function n1(){return uj(),ZR()}function cj(e){const t=n1();for(const n in e)t[n]={...t[n],...e[n]};Aw(t)}const dj=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 rl(e){return e.startsWith("while")||e.startsWith("drag")&&e!=="draggable"||e.startsWith("layout")||e.startsWith("onTap")||e.startsWith("onPan")||e.startsWith("onLayout")||dj.has(e)}let r1=e=>!rl(e);function fj(e){typeof e=="function"&&(r1=t=>t.startsWith("on")?!rl(t):e(t))}try{fj(require("@emotion/is-prop-valid").default)}catch{}function hj(e,t,n){const r={};for(const s in e)s==="values"&&typeof e.values=="object"||Ae(e[s])||(r1(s)||n===!0&&rl(s)||!t&&!rl(s)||e.draggable&&s.startsWith("onDrag"))&&(r[s]=e[s]);return r}const Vl=b.createContext({});function pj(e,t){if(Il(e)){const{initial:n,animate:r}=e;return{initial:n===!1||to(n)?n:void 0,animate:to(r)?r:void 0}}return e.inherit!==!1?t:{}}function mj(e){const{initial:t,animate:n}=pj(e,b.useContext(Vl));return b.useMemo(()=>({initial:t,animate:n}),[dg(t),dg(n)])}function dg(e){return Array.isArray(e)?e.join(" "):e}const ih=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function s1(e,t,n){for(const r in t)!Ae(t[r])&&!Vw(r,n)&&(e[r]=t[r])}function gj({transformTemplate:e},t){return b.useMemo(()=>{const n=ih();return rh(n,t,e),Object.assign({},n.vars,n.style)},[t])}function yj(e,t){const n=e.style||{},r={};return s1(r,n,e),Object.assign(r,gj(e,t)),r}function vj(e,t){const n={},r=yj(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"}
163`),e.tabIndex===void 0&&(e.onTap||e.onTapStart||e.whileTap)&&(n.tabIndex=0),n.style=r,n}const i1=()=>({...ih(),attrs:{}});function xj(e,t,n,r){const s=b.useMemo(()=>{const i=i1();return Fw(i,t,_w(r),e.transformTemplate,e.style),{...i.attrs,style:{...i.style}}},[t]);if(e.style){const i={};s1(i,e.style,e),s.style={...i,...s.style}}return s}const wj=["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 oh(e){return typeof e!="string"||e.includes("-")?!1:!!(wj.indexOf(e)>-1||/[A-Z]/u.test(e))}function bj(e,t,n,{latestValues:r},s,i=!1,o){const l=(o??oh(e)?xj:vj)(t,r,s,e),u=hj(t,typeof e=="string",i),c=e!==b.Fragment?{...u,...l,ref:n}:{},{children:d}=t,f=b.useMemo(()=>Ae(d)?d.get():d,[d]);return b.createElement(e,{...c,children:f})}function Sj({scrapeMotionValuesFromProps:e,createRenderState:t},n,r,s){return{latestValues:Ej(n,r,s,e),renderState:t()}}function Ej(e,t,n,r){const s={},i=r(e,{});for(const f in i)s[f]=ma(i[f]);let{initial:o,animate:a}=e;const l=Il(e),u=Nw(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"&&!Ol(d)){const f=Array.isArray(d)?d:[d];for(let h=0;h<f.length;h++){const x=Qf(e,f[h]);if(x){const{transitionEnd:y,transition:w,...g}=x;for(const m in g){let v=g[m];if(Array.isArray(v)){const S=c?v.length-1:0;v=v[S]}v!==null&&(s[m]=v)}for(const m in y)s[m]=y[m]}}}return s}const o1=e=>(t,n)=>{const r=b.useContext(Vl),s=b.useContext(Of),i=()=>Sj(e,t,r,s);return n?i():wk(i)},Cj=o1({scrapeMotionValuesFromProps:sh,createRenderState:ih}),Tj=o1({scrapeMotionValuesFromProps:Bw,createRenderState:i1}),Pj=Symbol.for("motionComponentSymbol");function kj(e,t,n){const r=b.useRef(n);b.useInsertionEffect(()=>{r.current=n});const s=b.useRef(null);return b.useCallback(i=>{var a;i&&((a=e.onMount)==null||a.call(e,i));const o=r.current;if(typeof o=="function")if(i){const l=o(i);typeof l=="function"&&(s.current=l)}else s.current?(s.current(),s.current=null):o(i);else o&&(o.current=i);t&&(i?t.mount(i):t.unmount())},[t])}const a1=b.createContext({});function Jr(e){return e&&typeof e=="object"&&Object.prototype.hasOwnProperty.call(e,"current")}function Nj(e,t,n,r,s,i){var v,S;const{visualElement:o}=b.useContext(Vl),a=b.useContext(t1),l=b.useContext(Of),u=b.useContext(e1),c=u.reducedMotion,d=u.skipAnimations,f=b.useRef(null),h=b.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:i}),h.current&&f.current&&(f.current.manuallyAnimateOnMount=!0));const x=f.current,y=b.useContext(a1);x&&!x.projection&&s&&(x.type==="html"||x.type==="svg")&&Rj(f.current,n,s,y);const w=b.useRef(!1);b.useInsertionEffect(()=>{x&&w.current&&x.update(n,l)});const g=n[mw],m=b.useRef(!!g&&typeof window<"u"&&!((v=window.MotionHandoffIsComplete)!=null&&v.call(window,g))&&((S=window.MotionHasOptimisedAnimation)==null?void 0:S.call(window,g)));return Sk(()=>{h.current=!0,x&&(w.current=!0,window.MotionIsMounted=!0,x.updateFeatures(),x.scheduleRenderMicrotask(),m.current&&x.animationState&&x.animationState.animateChanges())}),b.useEffect(()=>{x&&(!m.current&&x.animationState&&x.animationState.animateChanges(),m.current&&(queueMicrotask(()=>{var E;(E=window.MotionHandoffMarkAsComplete)==null||E.call(window,g)}),m.current=!1),x.enteringChildren=void 0)}),x}function Rj(e,t,n,r){const{layoutId:s,layout:i,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:l1(e.parent)),e.projection.setOptions({layoutId:s,layout:i,alwaysMeasureLayout:!!o||a&&Jr(a),visualElement:e,animationType:typeof i=="string"?i:"both",initialPromotionConfig:r,crossfade:d,layoutScroll:l,layoutRoot:u,layoutAnchor:c})}function l1(e){if(e)return e.options.allowProjection!==!1?e.projection:l1(e.parent)}function Du(e,{forwardMotionProps:t=!1,type:n}={},r,s){r&&cj(r);const i=n?n==="svg":oh(e),o=i?Tj:Cj;function a(u,c){let d;const f={...b.useContext(e1),...u,layoutId:Aj(u)},{isStatic:h}=f,x=mj(u),y=o(u,h);if(!h&&typeof window<"u"){jj();const w=Mj(f);d=w.MeasureLayout,x.visualElement=Nj(e,y,f,s,w.ProjectionNode,i)}return p.jsxs(Vl.Provider,{value:x,children:[d&&x.visualElement?p.jsx(d,{visualElement:x.visualElement,...f}):null,bj(e,u,kj(y,x.visualElement,c),y,h,t,i)]})}a.displayName=`motion.${typeof e=="string"?e:`create(${e.displayName??e.name??""})`}`;const l=b.forwardRef(a);return l[Pj]=e,l}function Aj({layoutId:e}){const t=b.useContext(kx).id;return t&&e!==void 0?t+"-"+e:e}function jj(e,t){b.useContext(t1).strict}function Mj(e){const t=n1(),{drag:n,layout:r}=t;if(!n&&!r)return{};const s={...n,...r};return{MeasureLayout:n!=null&&n.isEnabled(e)||r!=null&&r.isEnabled(e)?s.MeasureLayout:void 0,ProjectionNode:s.ProjectionNode}}
vendor: 18,495 bytes, line 163
163function Dj(e,t){if(typeof Proxy>"u")return Du;const n=new Map,r=(i,o)=>Du(i,o,e,t),s=(i,o)=>r(i,o);return new Proxy(s,{get:(i,o)=>o==="create"?r:(n.has(o)||n.set(o,Du(o,void 0,e,t)),n.get(o))})}const Lj=(e,t)=>t.isSVG??oh(e)?new mA(t):new uA(t,{allowProjection:e!==b.Fragment});class Oj extends pr{constructor(t){super(t),t.animationState||(t.animationState=wA(t))}updateAnimationControlsSubscription(){const{animate:t}=this.node.getProps();Ol(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 Ij=0;class Vj extends pr{constructor(){super(...arguments),this.id=Ij++,this.isExitComplete=!1}update(){var i;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"){const l=Ir(this.node,o,a);if(l){const{transition:u,transitionEnd:c,...d}=l;for(const f in d)(i=this.node.getValue(f))==null||i.jump(d[f])}}this.node.animationState.reset(),this.node.animationState.animateChanges()}else this.node.animationState.setActive("exit",!1);this.isExitComplete=!1;return}const s=this.node.animationState.setActive("exit",!t);n&&!t&&s.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 Fj={animation:{Feature:Oj},exit:{Feature:Vj}};function yo(e){return{point:{x:e.pageX,y:e.pageY}}}const zj=e=>t=>Jf(t)&&e(t,yo(t));function ji(e,t,n,r){return no(e,t,zj(n),r)}const u1=({current:e})=>e?e.ownerDocument.defaultView:null,fg=(e,t)=>Math.abs(e-t);function _j(e,t){const n=fg(e.x,t.x),r=fg(e.y,t.y);return Math.sqrt(n**2+r**2)}const hg=new Set(["auto","scroll"]);class c1{constructor(t,n,{transformPagePoint:r,contextWindow:s=window,dragSnapToOrigin:i=!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=h=>{this.handleScroll(h.target)},this.onWindowScroll=()=>{this.handleScroll(window)},this.updatePoint=()=>{if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;this.lastRawMoveEventInfo&&(this.lastMoveEventInfo=Go(this.lastRawMoveEventInfo,this.transformPagePoint));const h=Lu(this.lastMoveEventInfo,this.history),x=this.startEvent!==null,y=_j(h.offset,{x:0,y:0})>=this.distanceThreshold;if(!x&&!y)return;const{point:w}=h,{timestamp:g}=Re;this.history.push({...w,timestamp:g});const{onStart:m,onMove:v}=this.handlers;x||(m&&m(this.lastMoveEvent,h),this.startEvent=this.lastMoveEvent),v&&v(this.lastMoveEvent,h)},this.handlePointerMove=(h,x)=>{this.lastMoveEvent=h,this.lastRawMoveEventInfo=x,this.lastMoveEventInfo=Go(x,this.transformPagePoint),se.update(this.updatePoint,!0)},this.handlePointerUp=(h,x)=>{this.end();const{onEnd:y,onSessionEnd:w,resumeAnimation:g}=this.handlers;if((this.dragSnapToOrigin||!this.startEvent)&&g&&g(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const m=Lu(h.type==="pointercancel"?this.lastMoveEventInfo:Go(x,this.transformPagePoint),this.history);this.startEvent&&y&&y(h,m),w&&w(h,m)},!Jf(t))return;this.dragSnapToOrigin=i,this.handlers=n,this.transformPagePoint=r,this.distanceThreshold=o,this.contextWindow=s||window;const l=yo(t),u=Go(l,this.transformPagePoint),{point:c}=u,{timestamp:d}=Re;this.history=[{...c,timestamp:d}];const{onSessionStart:f}=n;f&&f(t,Lu(u,this.history)),this.removeListeners=po(ji(this.contextWindow,"pointermove",this.handlePointerMove),ji(this.contextWindow,"pointerup",this.handlePointerUp),ji(this.contextWindow,"pointercancel",this.handlePointerUp)),a&&this.startScrollTracking(a)}startScrollTracking(t){let n=t.parentElement;for(;n;){const r=getComputedStyle(n);(hg.has(r.overflowX)||hg.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,s=r?{x:window.scrollX,y:window.scrollY}:{x:t.scrollLeft,y:t.scrollTop},i={x:s.x-n.x,y:s.y-n.y};i.x===0&&i.y===0||(r?this.lastMoveEventInfo&&(this.lastMoveEventInfo.point.x+=i.x,this.lastMoveEventInfo.point.y+=i.y):this.history.length>0&&(this.history[0].x-=i.x,this.history[0].y-=i.y),this.scrollPositions.set(t,s),se.update(this.updatePoint,!0))}updateHandlers(t){this.handlers=t}end(){this.removeListeners&&this.removeListeners(),this.removeScrollListeners&&this.removeScrollListeners(),this.scrollPositions.clear(),ur(this.updatePoint)}}function Go(e,t){return t?{point:t(e.point)}:e}function pg(e,t){return{x:e.x-t.x,y:e.y-t.y}}function Lu({point:e},t){return{point:e,delta:pg(e,d1(t)),offset:pg(e,Bj(t)),velocity:Uj(t,.1)}}function Bj(e){return e[0]}function d1(e){return e[e.length-1]}function Uj(e,t){if(e.length<2)return{x:0,y:0};let n=e.length-1,r=null;const s=d1(e);for(;n>=0&&(r=e[n],!(s.timestamp-r.timestamp>nt(t)));)n--;if(!r)return{x:0,y:0};r===e[0]&&e.length>2&&s.timestamp-r.timestamp>nt(t)*2&&(r=e[1]);const i=xt(s.timestamp-r.timestamp);if(i===0)return{x:0,y:0};const o={x:(s.x-r.x)/i,y:(s.y-r.y)/i};return o.x===1/0&&(o.x=0),o.y===1/0&&(o.y=0),o}function Wj(e,{min:t,max:n},r){return t!==void 0&&e<t?e=r?le(t,e,r.min):Math.max(e,t):n!==void 0&&e>n&&(e=r?le(n,e,r.max):Math.min(e,n)),e}function mg(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 $j(e,{top:t,left:n,bottom:r,right:s}){return{x:mg(e.x,n,s),y:mg(e.y,t,r)}}function gg(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 Hj(e,t){return{x:gg(e.x,t.x),y:gg(e.y,t.y)}}function Kj(e,t){let n=.5;const r=He(e),s=He(t);return s>r?n=Ji(t.min,t.max-r,e.min):r>s&&(n=Ji(e.min,e.max-s,t.min)),on(0,1,n)}function Gj(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 pd=.35;function qj(e=pd){return e===!1?e=0:e===!0&&(e=pd),{x:yg(e,"left","right"),y:yg(e,"top","bottom")}}function yg(e,t,n){return{min:vg(e,t),max:vg(e,n)}}function vg(e,t){return typeof e=="number"?e:e[t]||0}const Qj=new WeakMap;class Yj{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:s}=this.visualElement;if(s&&s.isPresent===!1)return;const i=d=>{n&&this.snapToCursor(yo(d).point),this.stopAnimation()},o=(d,f)=>{const{drag:h,dragPropagation:x,onDragStart:y}=this.getProps();if(h&&!x&&(this.openDragLock&&this.openDragLock(),this.openDragLock=NR(h),!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),Gt(g=>{let m=this.getAxisMotionValue(g).get()||0;if(rn.test(m)){const{projection:v}=this.visualElement;if(v&&v.layout){const S=v.layout.layoutBox[g];S&&(m=He(S)*(parseFloat(m)/100))}}this.originPoint[g]=m}),y&&se.update(()=>y(d,f),!1,!0),id(this.visualElement,"transform");const{animationState:w}=this.visualElement;w&&w.setActive("whileDrag",!0)},a=(d,f)=>{this.latestPointerEvent=d,this.latestPanInfo=f;const{dragPropagation:h,dragDirectionLock:x,onDirectionLock:y,onDrag:w}=this.getProps();if(!h&&!this.openDragLock)return;const{offset:g}=f;if(x&&this.currentDirection===null){this.currentDirection=Zj(g),this.currentDirection!==null&&y&&y(this.currentDirection);return}this.updateAxis("x",f.point,g),this.updateAxis("y",f.point,g),this.visualElement.render(),w&&se.update(()=>w(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 c1(t,{onSessionStart:i,onStart:o,onMove:a,onSessionEnd:l,resumeAnimation:u},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:c,distanceThreshold:r,contextWindow:u1(this.visualElement),element:this.visualElement.current})}stop(t,n){const r=t||this.latestPointerEvent,s=n||this.latestPanInfo,i=this.isDragging;if(this.cancel(),!i||!s||!r)return;const{velocity:o}=s;this.startAnimation(o);const{onDragEnd:a}=this.getProps();a&&se.postRender(()=>a(r,s))}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:s}=this.getProps();if(!r||!qo(t,s,this.currentDirection))return;const i=this.getAxisMotionValue(t);let o=this.originPoint[t]+r[t];this.constraints&&this.constraints[t]&&(o=Wj(o,this.constraints[t],this.elastic[t])),i.set(o)}resolveConstraints(){var i;const{dragConstraints:t,dragElastic:n}=this.getProps(),r=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):(i=this.visualElement.projection)==null?void 0:i.layout,s=this.constraints;t&&Jr(t)?this.constraints||(this.constraints=this.resolveRefConstraints()):t&&r?this.constraints=$j(r.layoutBox,t):this.constraints=!1,this.elastic=qj(n),s!==this.constraints&&!Jr(t)&&r&&this.constraints&&!this.hasMutatedConstraints&&Gt(o=>{this.constraints!==!1&&this.getAxisMotionValue(o)&&(this.constraints[o]=Gj(r.layoutBox[o],this.constraints[o]))})}resolveRefConstraints(){const{dragConstraints:t,onMeasureDragConstraints:n}=this.getProps();if(!t||!Jr(t))return!1;const r=t.current;Bs(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:s}=this.visualElement;if(!s||!s.layout)return!1;const i=rA(r,s.root,this.visualElement.getTransformPagePoint());let o=Hj(s.layout.layoutBox,i);if(n){const a=n(eA(o));this.hasMutatedConstraints=!!a,a&&(o=Mw(a))}return o}startAnimation(t){const{drag:n,dragMomentum:r,dragElastic:s,dragTransition:i,dragSnapToOrigin:o,onDragTransitionEnd:a}=this.getProps(),l=this.constraints||{},u=Gt(c=>{if(!qo(c,n,this.currentDirection))return;let d=l&&l[c]||{};(o===!0||o===c)&&(d={min:0,max:0});const f=s?200:1e6,h=s?40:1e7,x={type:"inertia",velocity:r?t[c]:0,bounceStiffness:f,bounceDamping:h,timeConstant:750,restDelta:1,restSpeed:10,...i,...d};return this.startAxisValueAnimation(c,x)});return Promise.all(u).then(a)}startAxisValueAnimation(t,n){const r=this.getAxisMotionValue(t);return id(this.visualElement,t),r.start(qf(t,r,0,n,this.visualElement,!1))}stopAnimation(){Gt(t=>this.getAxisMotionValue(t).stop())}getAxisMotionValue(t){const n=`_drag${t.toUpperCase()}`,r=this.visualElement.getProps(),s=r[n];return s||this.visualElement.getValue(t,(r.initial?r.initial[t]:void 0)||0)}snapToCursor(t){Gt(n=>{const{drag:r}=this.getProps();if(!qo(n,r,this.currentDirection))return;const{projection:s}=this.visualElement,i=this.getAxisMotionValue(n);if(s&&s.layout){const{min:o,max:a}=s.layout.layoutBox[n],l=i.get()||0;i.set(t[n]-le(o,a,.5)+l)}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;const{drag:t,dragConstraints:n}=this.getProps(),{projection:r}=this.visualElement;if(!Jr(n)||!r||!this.constraints)return;this.stopAnimation();const s={x:0,y:0};Gt(o=>{const a=this.getAxisMotionValue(o);if(a&&this.constraints!==!1){const l=a.get();s[o]=Kj({min:l,max:l},this.constraints[o])}});const{transformTemplate:i}=this.visualElement.getProps();this.visualElement.current.style.transform=i?i({},""):"none",r.root&&r.root.updateScroll(),r.updateLayout(),this.constraints=!1,this.resolveConstraints(),Gt(o=>{if(!qo(o,t,null))return;const a=this.getAxisMotionValue(o),{min:l,max:u}=this.constraints[o];a.set(le(l,u,s[o]))}),this.visualElement.render()}addListeners(){if(!this.visualElement.current)return;Qj.set(this.visualElement,this);const t=this.visualElement.current,n=ji(t,"pointerdown",u=>{const{drag:c,dragListener:d=!0}=this.getProps(),f=u.target,h=f!==t&&LR(f);c&&d&&!h&&this.start(u)});let r;const s=()=>{const{dragConstraints:u}=this.getProps();Jr(u)&&u.current&&(this.constraints=this.resolveRefConstraints(),r||(r=Xj(t,u.current,()=>this.scalePositionWithinConstraints())))},{projection:i}=this.visualElement,o=i.addEventListener("measure",s);i&&!i.layout&&(i.root&&i.root.updateScroll(),i.updateLayout()),se.read(s);const a=no(window,"resize",()=>this.scalePositionWithinConstraints()),l=i.addEventListener("didUpdate",({delta:u,hasLayoutChanged:c})=>{this.isDragging&&c&&(Gt(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:s=!1,dragConstraints:i=!1,dragElastic:o=pd,dragMomentum:a=!0}=t;return{...t,drag:n,dragDirectionLock:r,dragPropagation:s,dragConstraints:i,dragElastic:o,dragMomentum:a}}}function xg(e){let t=!0;return()=>{if(t){t=!1;return}e()}}function Xj(e,t,n){const r=Nm(e,xg(n)),s=Nm(t,xg(n));return()=>{r(),s()}}function qo(e,t,n){return(t===!0||t===e)&&(n===null||n===e)}function Zj(e,t=10){let n=null;return Math.abs(e.y)>t?n="y":Math.abs(e.x)>t&&(n="x"),n}class Jj extends pr{constructor(t){super(t),this.removeGroupControls=St,this.removeListeners=St,this.controls=new Yj(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 Ou=e=>(t,n)=>{e&&se.update(()=>e(t,n),!1,!0)};class eM extends pr{constructor(){super(...arguments),this.removePointerDownListener=St}onPointerDown(t){this.session=new c1(t,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:u1(this.node)})}createPanHandlers(){const{onPanSessionStart:t,onPanStart:n,onPan:r,onPanEnd:s}=this.node.getProps();return{onSessionStart:Ou(t),onStart:Ou(n),onMove:Ou(r),onEnd:(i,o)=>{delete this.session,s&&se.postRender(()=>s(i,o))}}}mount(){this.removePointerDownListener=ji(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 Iu=!1;class tM extends b.Component{componentDidMount(){const{visualElement:t,layoutGroup:n,switchLayoutGroup:r,layoutId:s}=this.props,{projection:i}=t;i&&(n.group&&n.group.add(i),r&&r.register&&s&&r.register(i),Iu&&i.root.didUpdate(),i.addEventListener("animationComplete",()=>{this.safeToRemove()}),i.setOptions({...i.options,layoutDependency:this.props.layoutDependency,onExitComplete:()=>this.safeToRemove()})),ga.hasEverUpdated=!0}getSnapshotBeforeUpdate(t){const{layoutDependency:n,visualElement:r,drag:s,isPresent:i}=this.props,{projection:o}=r;return o&&(o.isPresent=i,t.layoutDependency!==n&&o.setOptions({...o.options,layoutDependency:n}),Iu=!0,s||t.layoutDependency!==n||n===void 0||t.isPresent!==i?o.willUpdate():this.safeToRemove(),t.isPresent!==i&&(i?o.promote():o.relegate()||se.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(),Zf.postRender(()=>{!r.currentAnimation&&r.isLead()&&this.safeToRemove()}))}componentWillUnmount(){const{visualElement:t,layoutGroup:n,switchLayoutGroup:r}=this.props,{projection:s}=t;Iu=!0,s&&(s.scheduleCheckAfterUnmount(),n&&n.group&&n.group.remove(s),r&&r.deregister&&r.deregister(s))}safeToRemove(){const{safeToRemove:t}=this.props;t&&t()}render(){return null}}function f1(e){const[t,n]=lj(),r=b.useContext(kx);return p.jsx(tM,{...e,layoutGroup:r,switchLayoutGroup:b.useContext(a1),isPresent:t,safeToRemove:n})}const nM={pan:{Feature:eM},drag:{Feature:Jj,ProjectionNode:Jw,MeasureLayout:f1}};function wg(e,t,n){const{props:r}=e;e.animationState&&r.whileHover&&e.animationState.setActive("whileHover",n==="Start");const s="onHover"+n,i=r[s];i&&se.postRender(()=>i(t,yo(t)))}class rM extends pr{mount(){const{current:t}=this.node;t&&(this.unmount=AR(t,(n,r)=>(wg(this.node,r,"Start"),s=>wg(this.node,s,"End"))))}unmount(){}}class sM extends pr{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=po(no(this.node.current,"focus",()=>this.onFocus()),no(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}function bg(e,t,n){const{props:r}=e;if(e.current instanceof HTMLButtonElement&&e.current.disabled)return;e.animationState&&r.whileTap&&e.animationState.setActive("whileTap",n==="Start");const s="onTap"+(n==="End"?"":n),i=r[s];i&&se.postRender(()=>i(t,yo(t)))}class iM extends pr{mount(){const{current:t}=this.node;if(!t)return;
163const{globalTapTarget:n,propagate:r}=this.node.props;this.unmount=IR(t,(s,i)=>(bg(this.node,i,"Start"),(o,{success:a})=>bg(this.node,o,a?"End":"Cancel")),{useGlobalTarget:n,stopPropagation:(r==null?void 0:r.tap)===!1})}unmount(){}}const md=new WeakMap,Vu=new WeakMap,oM=e=>{const t=md.get(e.target);t&&t(e)},aM=e=>{e.forEach(oM)};function lM({root:e,...t}){const n=e||document;Vu.has(n)||Vu.set(n,{});const r=Vu.get(n),s=JSON.stringify(t);return r[s]||(r[s]=new IntersectionObserver(aM,{root:e,...t})),r[s]}function uM(e,t,n){const r=lM(t);return md.set(e,n),r.observe(e),()=>{md.delete(e),r.unobserve(e)}}const cM={some:0,all:1};class dM extends pr{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:s="some",once:i}=t,o={root:n?n.current:void 0,rootMargin:r,threshold:typeof s=="number"?s:cM[s]},a=u=>{const{isIntersecting:c}=u;if(this.isInView===c||(this.isInView=c,i&&!c&&this.hasEnteredView))return;c&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",c);const{onViewportEnter:d,onViewportLeave:f}=this.node.getProps(),h=c?d:f;h&&h(u)};this.stopObserver=uM(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(fM(t,n))&&this.startObserver()}unmount(){var t;(t=this.stopObserver)==null||t.call(this),this.hasEnteredView=!1,this.isInView=!1}}function fM({viewport:e={}},{viewport:t={}}={}){return n=>e[n]!==t[n]}const hM={inView:{Feature:dM},tap:{Feature:iM},focus:{Feature:sM},hover:{Feature:rM}},pM={layout:{ProjectionNode:Jw,MeasureLayout:f1}},mM={...Fj,...hM,...nM,...pM},q=Dj(mM,Lj),gM=F0("inline-flex items-center justify-center gap-2 whitespace-nowrap text-sm font-medium ring-offset-background transition-all duration-200 ease-[cubic-bezier(0.25,0.1,0.25,1)] 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 rounded-[6px]",{variants:{variant:{default:"bg-primary text-primary-foreground hover:bg-primary/90 hover:-translate-y-[1px] hover:shadow-lg",destructive:"bg-destructive text-destructive-foreground hover:bg-destructive/90",outline:"border border-input bg-background hover:bg-accent hover:text-accent-foreground",secondary:"bg-secondary text-secondary-foreground hover:bg-secondary/80",ghost:"hover:bg-accent hover:text-accent-foreground",link:"text-primary underline-offset-4 hover:underline",cta:"bg-accent text-white hover:bg-accent/90 hover:-translate-y-[1px] shadow-md hover:shadow-xl text-base font-bold"},size:{default:"h-10 px-4 py-2",sm:"h-9 px-3",lg:"h-12 px-8",xl:"h-14 px-10 text-base",icon:"h-10 w-10"}},defaultVariants:{variant:"default",size:"default"}}),We=b.forwardRef(({className:e,variant:t,size:n,asChild:r=!1,...s},i)=>{const o=r?qC:"button";return p.jsx(o,{className:hr(gM({variant:t,size:n,className:e})),ref:i,...s})});We.displayName="Button";const yM="https://calendly.com/evoqse-plus/evoqse-suisse-echange-qualite-hse-ou-rse",vM=()=>{const e=b.useRef(null),[t,n]=b.useState(!1),r=()=>{const s=e.current;s&&(s.muted=!1,s.play(),n(!0))};return p.jsx("section",{className:"min-h-[55vh] flex flex-col items-center justify-center px-4 sm:px-6 py-12 sm:py-16",children:p.jsxs(q.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{duration:.7,ease:"easeOut"},className:"max-w-5xl mx-auto text-center",children:[p.jsx("h1",{className:"text-3xl sm:text-5xl lg:text-7xl font-extrabold text-foreground leading-[1.08] mb-4 sm:mb-5",style:{textWrap:"balance"},children:"Prenez du recul sur votre organisation."}),p.jsx("p",{className:"text-lg sm:text-2xl lg:text-3xl text-accent font-bold mb-8 sm:mb-10",style:{textWrap:"balance"},children:"Gagnez en qualité, en performance et en structuration."}),p.jsxs(q.div,{initial:{opacity:0,scale:.97},animate:{opacity:1,scale:1},transition:{duration:.6,delay:.2},className:"relative w-full max-w-4xl mx-auto rounded-2xl overflow-hidden mb-4 sm:mb-5 ring-1 ring-foreground
163/10",style:{aspectRatio:"16/9",boxShadow:"0 8px 40px -8px hsl(220 70% 25% / 0.25), 0 2px 12px hsl(220 70% 25% / 0.1)"},children:[p.jsx("video",{ref:e,controls:t,playsInline:!0,preload:"metadata",poster:"/videos/hero-reunion-poster.jpg",onPause:()=>n(!1),onEnded:()=>n(!1),className:"absolute inset-0 w-full h-full object-cover",children:p.jsx("source",{src:"/videos/hero-reunion.mp4",type:"video/mp4"})}),!t&&p.jsx("button",{type:"button",onClick:r,"aria-label":"Lancer la vidéo",className:"absolute inset-0 flex items-center justify-center bg-foreground/10 hover:bg-foreground/20 transition-colors group",children:p.jsx("span",{className:"flex items-center justify-center w-20 h-20 sm:w-24 sm:h-24 rounded-full bg-accent text-accent-foreground shadow-2xl group-hover:scale-110 transition-transform",children:p.jsx(Cf,{className:"w-8 h-8 sm:w-10 sm:h-10 ml-1",fill:"currentColor"})})})]}),p.jsx("p",{className:"text-xs sm:text-sm text-muted-foreground mb-8 sm:mb-10 text-center",children:"L'excellence opérationnelle au service de votre conformité â Suisse Romande."}),p.jsx(We,{variant:"cta",size:"xl",asChild:!0,className:"text-lg sm:text-2xl px-10 sm:px-16 h-16 sm:h-20 w-full sm:w-auto shadow-lg hover:shadow-2xl transition-shadow",children:p.jsx("a",{href:yM,target:"_blank",rel:"noopener noreferrer",children:"Réserver mon audit offert"})})]})})},xM="https://calendly.com/evoqse-plus/evoqse-suisse-echange-qualite-hse-ou-rse",wM=[{value:"+80",label:"Entreprises accompagnées",icon:"ð¢"},{value:"12 ans",label:"D'expertise terrain",icon:"ð"},{value:"Forbes",label:"Intervention & reconnaissance",icon:"ð°"},{value:"Suisse Romande",label:"Zone d'intervention",icon:"ð"}],bM=()=>p.jsxs("section",{className:"py-12 sm:py-16 px-4 sm:px-6 bg-primary relative overflow-hidden",children:[p.jsx("div",{className:"absolute inset-0 opacity-[0.04]",style:{backgroundImage:"radial-gradient(circle at 1px 1px, white 1px, transparent 0)",backgroundSize:"32px 32px"}}),p.jsxs("div",{className:"max-w-5xl mx-auto relative z-10",children:[p.jsxs(q.h2,{initial:{opacity:0,y:10},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.5},className:"text-2xl sm:text-4xl lg:text-5xl font-extrabold text-white text-center mb-8 sm:mb-10 px-2",children:["Votre audit offert, par des"," ",p.jsx("span",{className:"text-accent",children:"experts reconnus."})]}),p.jsx("div",{className:"grid grid-cols-2 lg:grid-cols-4 gap-3 sm:gap-5",children:wM.map((e,t)=>p.jsxs(q.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.4,delay:t*.1},className:"rounded-xl border border-white/30 bg-white p-5 sm:p-7 text-center shadow-[0_4px_20px_rgba(0,0,0,0.15)]",children:[p.jsx("span",{className:"text-2xl mb-1 block",children:e.icon}),p.jsx("p",{className:"text-3xl sm:text-4xl font-extrabold text-accent mb-1.5",children:e.value}),p.jsx("p",{className:"text-sm sm:text-base text-foreground font-semibold",children:e.label})]},e.label))}),p.jsx("div",{className:"sm:hidden text-center mt-8",children:p.jsx(We,{variant:"cta",size:"xl",asChild:!0,className:"text-lg px-10 h-16 w-full shadow-lg",children:p.jsx("a",{href:xM,target:"_blank",rel:"noopener noreferrer",children:"Réserver mon audit offert"})})})]})]}),SM="https://calendly.com/evoqse-plus/evoqse-suisse-echange-qualite-hse-ou-rse",gd=[{name:"Valérie BREVIER MAGISSON",role:"Assistante de Direction",company:"Ravate Ãlec · Distribution matériel pro",text:"Evoqse conjugue professionnalisme et expertise pour la sécurité de nos hommes et de nos sites au quotidien !"},{name:"Loïc EGAMBAROM",role:"Directeur",company:"Casse de la Source · Casse automobile",text:"Très bonne collaboration avec l'équipe. Professionnalisme, réactivité et accompagnement de qualité."},{name:"Claude Payet",role:"Directeur · Société PHB",company:"Industrie & BTP",text:"Depuis 3 ans de travail et mise en place d'une conformité ISO, un accompagnement solide, très pro et adapté."},{name:"Faical ZADVAT",role:"Responsable d'agence",company:"Immobilier",text:"Un grand merci à toute l'équipe d'Evoqse pour son professionnalisme, sa disponibilité et son sérieux."},{name:"Dom Conduite",role:"Directeur",company:"Auto-école",text:"Très bonne expérience pour la mise en place de notre DUERP. Réactif et compétent, travail sérieux."},{name:"Yohann Le Guellenec",role:"Directeur · L'As de Trèfles",company:"Point Presse",text:"Je suis extrêmement satisfait de l'expérience avec Evoqse. Une grande aide dans l'automatisation des tâches."}],EM=()=>p.jsx("div",{className:"flex gap-0.5",children:[...Array(5)].map((e,t)=>p.jsx(bt,{className:"w-5 h-5 fill-accent text-accent"},t))}),h1=({review:e})=>p.jsxs("div",{className:"p-5 sm:p-6 rounded-xl border border-border bg-card hover:border-accent/30 transition-colors duration-300",style:{boxShadow:"var(--shadow-card)"},children:[p.jsx(EM,{}),p.jsxs("p",{className:"text-sm text-muted-foreground leading-relaxed mt-3 mb-4",children:['"',e.text,'"']}),p.jsx("p",{className:"text-sm font-bold text-foreground",children:e.name}),p.jsx("p",{className:"text-xs font-semibold text-accent",children:e.role}),p.jsx("p",{className:"text-xs text-muted-foreground",children:e.company})]}),CM=()=>{const[e,t]=b.useState(0),n=2,r=Math.ceil(gd.length/n),s=gd.slice(e*n,e*n+n);return p.jsxs("div",{className:"sm:hidden",children:[p.jsx(q.div,{initial:{opacity:0,x:30}
163,animate:{opacity:1,x:0},exit:{opacity:0,x:-30},transition:{duration:.3},className:"flex flex-col gap-3",children:s.map(i=>p.jsx(h1,{review:i},i.name))},e),p.jsxs("div",{className:"flex items-center justify-center gap-4 mt-6",children:[p.jsx("button",{onClick:()=>t(i=>Math.max(0,i-1)),disabled:e===0,className:"w-10 h-10 rounded-full border border-border bg-background flex items-center justify-center disabled:opacity-30 transition-opacity","aria-label":"Précédent",children:p.jsx(Sf,{className:"w-5 h-5 text-foreground"})}),p.jsx("div",{className:"flex gap-2",children:[...Array(r)].map((i,o)=>p.jsx("button",{onClick:()=>t(o),className:`w-2.5 h-2.5 rounded-full transition-all duration-300 ${o===e?"bg-accent scale-125":"bg-border"}`,"aria-label":`Page ${o+1}`},o))}),p.jsx("button",{onClick:()=>t(i=>Math.min(r-1,i+1)),disabled:e===r-1,className:"w-10 h-10 rounded-full border border-border bg-background flex items-center justify-center disabled:opacity-30 transition-opacity","aria-label":"Suivant",children:p.jsx(Ef,{className:"w-5 h-5 text-foreground"})})]})]})},p1=({hideCta:e=!1})=>p.jsx("section",{id:"social-proof",className:"py-14 sm:py-20 px-4 sm:px-6",children:p.jsxs("div",{className:"max-w-5xl mx-auto",children:[p.jsxs(q.div,{initial:{opacity:0,y:10},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.6},className:"text-center mb-12",children:[p.jsxs(q.span,{initial:{scale:.8,opacity:0}
163,whileInView:{scale:1,opacity:1},viewport:{once:!0},transition:{type:"spring",stiffness:200,damping:12},className:"inline-flex items-center gap-2 bg-accent/10 text-accent font-bold text-sm px-5 py-2 rounded-full mb-6 border border-accent/20",children:[p.jsx(bt,{className:"w-4 h-4 fill-accent"})," ILS NOUS FONT CONFIANCE"," ",p.jsx(bt,{className:"w-4 h-4 fill-accent"})]}),p.jsxs("h2",{className:"text-3xl sm:text-5xl lg:text-6xl font-extrabold text-foreground mb-3",children:["Et si le prochain avis 5 étoiles",p.jsx("br",{}),p.jsx("span",{className:"text-accent",children:"était le vôtre ?"})]}),p.jsx("div",{className:"flex justify-center gap-1.5 mt-5 mb-3",children:[...Array(5)].map((t,n)=>p.jsx(q.div,{initial:{opacity:0,scale:0},whileInView:{opacity:1,scale:1},viewport:{once:!0},transition:{delay:.3+n*.08,type:"spring",stiffness:300},children:p.jsx(bt,{className:"w-9 h-9 sm:w-11 sm:h-11 fill-accent text-accent"})},n))}),p.jsx("p",{className:"text-foreground font-bold text-lg sm:text-xl",children:"Note moyenne 5/5 · Avis Google vérifiés"})]}),p.jsxs("div",{className:"mb-10 sm:mb-12",children:[p.jsx(CM,{}),p.jsx("div",{className:"hidden sm:grid sm:grid-cols-2 lg:grid-cols-3 gap-4 sm:gap-5",children:gd.map((t,n)=>p.jsx(q.div,{initial:{opacity:0,y:15},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.4,delay:n*.08},children:p.jsx(h1,{review:t})},t.name))})]}),!e&&p.jsx("div",{className:"text-center",children:p.jsx(We,{variant:"cta",size:"xl",asChild:!0,className:"text-lg sm:text-2xl px-10 sm:px-16 h-16 sm:h-20 w-full sm:w-auto shadow-lg hover:shadow-2xl transition-shadow",children:p.jsx("a",{href:SM,target:"_blank",rel:"noopener noreferrer",children:"Réserver mon audit offert"})})})]})}),TM=()=>p.jsxs("div",{className:"min-h-screen bg-background",children:[p.jsx(vM,{}),p.jsx(bM,{}),p.jsx(p1,{}),p.jsx("footer",{className:"py-6 px-6 text-center",children:p.jsxs("p",{className:"text-xs text-muted-foreground",children:["© ",new Date().getFullYear()," Evoqse+ â Qualité, HSE & RSE"]})})]}),PM="https://calendly.com/evoqse-plus/evoqse-suisse-echange-qualite-hse-ou-rse",kM=()=>{const e=b.useRef(null),[t,n]=b.useState(!1),r=()=>{const s=e.current;s&&(s.muted=!1,s.play(),n(!0))};return p.jsx("section",{className:"min-h-[55vh] flex flex-col items-center justify-center px-4 sm:px-6 py-12 sm:py-16",children:p.jsxs(q.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{duration:.7,ease:"easeOut"},className:"max-w-5xl mx-auto text-center",children:[p.jsx("h1",{className:"text-3xl sm:text-5xl lg:text-7xl font-extrabold text-foreground leading-[1.08] mb-4 sm:mb-5",style:{textWrap:"balance"},children:"Ãvaluez votre niveau qualité en seulement une heure."}),p.jsx("p",{className:"text-lg sm:text-2xl lg:text-3xl text-accent font-bold mb-8 sm:mb-10",style:{textWrap:"balance"},children:"Un audit offert pour structurer votre démarche Qualité, HSE & RSE."}),p.jsxs(q.div,{initial:{opacity:0,scale:.97},animate:{opacity:1,scale:1},transition:{duration:.6,delay:.2},className:"relative w-full max-w-4xl mx-auto rounded-2xl overflow-hidden mb-4 sm:mb-5 ring-1 ring-foreground/10",style:{aspectRatio:"16/9",boxShadow:"0 8px 40px -8px hsl(220 70% 25% / 0.25), 0 2px 12px hsl(220 70% 25% / 0.1)"},children:[p.jsx("video",{ref:e,controls:t,playsInline:!0,preload:"metadata",poster:"/videos/hero-reunion-poster.jpg",onPause:()=>n(!1),onEnded:()=>n(!1),className:"absolute inset-0 w-full h-full object-cover",children:p.jsx("source",{src:"/videos/hero-reunion.mp4",type:"video/mp4"})}),!t&&p.jsx("button",{type:"button",onClick:r,"aria-label":"Lancer la vidéo",className:"absolute inset-0 flex items-center justify-center bg-foreground
163/10 hover:bg-foreground/20 transition-colors group",children:p.jsx("span",{className:"flex items-center justify-center w-20 h-20 sm:w-24 sm:h-24 rounded-full bg-accent text-accent-foreground shadow-2xl group-hover:scale-110 transition-transform",children:p.jsx(Cf,{className:"w-8 h-8 sm:w-10 sm:h-10 ml-1",fill:"currentColor"})})})]}),p.jsx("p",{className:"text-xs sm:text-sm text-muted-foreground mb-8 sm:mb-10 text-center",children:"L'excellence opérationnelle au service de votre conformité â Suisse Romande."}),p.jsx(We,{variant:"cta",size:"xl",asChild:!0,className:"text-lg sm:text-2xl px-10 sm:px-16 h-16 sm:h-20 w-full sm:w-auto shadow-lg hover:shadow-2xl transition-shadow",children:p.jsx("a",{href:PM,target:"_blank",rel:"noopener noreferrer",children:"Réserver mon audit qualité offert"})})]})})},NM="https://calendly.com/evoqse-plus/evoqse-suisse-echange-qualite-hse-ou-rse",RM=[{value:"+80",label:"Entreprises accompagnées",icon:"ð¢"},{value:"12 ans",label:"D'expertise terrain",icon:"ð"},{value:"ISO",label:"Démarches qualité & conformité",icon:"â
"},{value:"Suisse Romande",label:"Zone d'intervention",icon:"ð"}],AM=()=>p.jsxs("section",{className:"py-12 sm:py-16 px-4 sm:px-6 bg-primary relative overflow-hidden",children:[p.jsx("div",{className:"absolute inset-0 opacity-[0.04]",style:{backgroundImage:"radial-gradient(circle at 1px 1px, white 1px, transparent 0)",backgroundSize:"32px 32px"}}),p.jsxs("div",{className:"max-w-5xl mx-auto relative z-10",children:[p.jsxs(q.h2,{initial:{opacity:0,y:10},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.5},className:"text-2xl sm:text-4xl lg:text-5xl font-extrabold text-white text-center mb-8 sm:mb-10 px-2",children:["Votre audit qualité offert, par des"," ",p.jsx("span",{className:"text-accent",children:"experts reconnus."})]}),p.jsx("div",{className:"grid grid-cols-2 lg:grid-cols-4 gap-3 sm:gap-5",children:RM.map((e,t)=>p.jsxs(q.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.4,delay:t*.1},className:"rounded-xl border border-white/30 bg-white p-5 sm:p-7 text-center shadow-[0_4px_20px_rgba(0,0,0,0.15)]",children:[p.jsx("span",{className:"text-2xl mb-1 block",children:e.icon}),p.jsx("p",{className:"text-3xl sm:text-4xl font-extrabold text-accent mb-1.5",children:e.value}),p.jsx("p",{className:"text-sm sm:text-base text-foreground font-semibold",children:e.label})]},e.label))}),p.jsx("div",{className:"sm:hidden text-center mt-8",children:p.jsx(We,{variant:"cta",size:"xl",asChild:!0,className:"text-lg px-10 h-16 w-full shadow-lg",children:p.jsx("a",{href:NM,target:"_blank",rel:"noopener noreferrer",children:"Réserver mon audit qualité offert"})})})]})]}),jM="https://calendly.com/evoqse-plus/evoqse-suisse-echange-qualite-hse-ou-rse",yd=[{name:"Valérie BREVIER MAGISSON",role:"Assistante de Direction",company:"Ravate Ãlec · Distribution matériel pro",text:"Evoqse conjugue professionnalisme et expertise pour la sécurité de nos hommes et de nos sites au quotidien !"},{name:"Loïc EGAMBAROM",role:"Directeur",company:"Casse de la Source · Casse automobile",text:"Très bonne collaboration avec l'équipe. Professionnalisme, réactivité et accompagnement de qualité."},{name:"Claude Payet",role:"Directeur · Société PHB",company:"Industrie & BTP",text:"Depuis 3 ans de travail et mise en place d'une conformité ISO, un accompagnement solide, très pro et adapté."},{name:"Faical ZADVAT",role:"Responsable d'agence",company:"Immobilier",text:"Un grand merci à toute l'équipe d'Evoqse pour son professionnalisme, sa disponibilité et son sérieux."},{name:"Dom Conduite",role:"Directeur",company:"Auto-école",text:"Très bonne expérience pour la mise en place de notre DUERP. Réactif et compétent, travail sérieux."},{name:"Yohann Le Guellenec",role:"Directeur · L'As de Trèfles",company:"Point Presse",text:"Je suis extrêmement satisfait de l'expérience avec Evoqse. Une grande aide dans l'automatisation des tâches."}],MM=()=>p.jsx("div",{className:"flex gap-0.5",children:[...Array(5)].map((e,t)=>p.jsx(bt,{className:"w-5 h-5 fill-accent text-accent"},t))}),m1=({review:e})=>p.jsxs("div",{className:"p-5 sm:p-6 rounded-xl border border-border bg-card hover:border-accent/30 transition-colors duration-300",style:{boxShadow:"var(--shadow-card)"},children:[p.jsx(MM,{}),p.jsxs("p",{className:"text-sm text-muted-foreground leading-relaxed mt-3 mb-4",children:['"',e.text,'"']}),p.jsx("p",{className:"text-sm font-bold text-foreground",children:e.name}),p.jsx("p",{className:"text-xs font-semibold text-accent",children:e.role}),p.jsx("p",{className:"text-xs text-muted-foreground",children:e.company})]}),DM=()=>{const[e,t]=b.useState(0),n=2,r=Math.ceil(yd.length/n),s=yd.slice(e*n,e*n+n);return p.jsxs("div",{className:"sm:hidden",children:[p.jsx(q.div,{initial:{opacity:0,x:30}
163,animate:{opacity:1,x:0},exit:{opacity:0,x:-30},transition:{duration:.3},className:"flex flex-col gap-3",children:s.map(i=>p.jsx(m1,{review:i},i.name))},e),p.jsxs("div",{className:"flex items-center justify-center gap-4 mt-6",children:[p.jsx("button",{onClick:()=>t(i=>Math.max(0,i-1)),disabled:e===0,className:"w-10 h-10 rounded-full border border-border bg-background flex items-center justify-center disabled:opacity-30 transition-opacity","aria-label":"Précédent",children:p.jsx(Sf,{className:"w-5 h-5 text-foreground"})}),p.jsx("div",{className:"flex gap-2",children:[...Array(r)].map((i,o)=>p.jsx("button",{onClick:()=>t(o),className:`w-2.5 h-2.5 rounded-full transition-all duration-300 ${o===e?"bg-accent scale-125":"bg-border"}`,"aria-label":`Page ${o+1}`},o))}),p.jsx("button",{onClick:()=>t(i=>Math.min(r-1,i+1)),disabled:e===r-1,className:"w-10 h-10 rounded-full border border-border bg-background flex items-center justify-center disabled:opacity-30 transition-opacity","aria-label":"Suivant",children:p.jsx(Ef,{className:"w-5 h-5 text-foreground"})})]})]})},LM=()=>p.jsx("section",{id:"social-proof",className:"py-14 sm:py-20 px-4 sm:px-6",children:p.jsxs("div",{className:"max-w-5xl mx-auto",children:[p.jsxs(q.div,{initial:{opacity:0,y:10},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.6},className:"text-center mb-12",children:[p.jsxs(q.span,{initial:{scale:.8,opacity:0}
163,whileInView:{scale:1,opacity:1},viewport:{once:!0},transition:{type:"spring",stiffness:200,damping:12},className:"inline-flex items-center gap-2 bg-accent/10 text-accent font-bold text-sm px-5 py-2 rounded-full mb-6 border border-accent/20",children:[p.jsx(bt,{className:"w-4 h-4 fill-accent"})," ILS NOUS FONT CONFIANCE"," ",p.jsx(bt,{className:"w-4 h-4 fill-accent"})]}),p.jsxs("h2",{className:"text-3xl sm:text-5xl lg:text-6xl font-extrabold text-foreground mb-3",children:["Et si le prochain avis 5 étoiles",p.jsx("br",{}),p.jsx("span",{className:"text-accent",children:"était le vôtre ?"})]}),p.jsx("div",{className:"flex justify-center gap-1.5 mt-5 mb-3",children:[...Array(5)].map((e,t)=>p.jsx(q.div,{initial:{opacity:0,scale:0},whileInView:{opacity:1,scale:1},viewport:{once:!0},transition:{delay:.3+t*.08,type:"spring",stiffness:300},children:p.jsx(bt,{className:"w-9 h-9 sm:w-11 sm:h-11 fill-accent text-accent"})},t))}),p.jsx("p",{className:"text-foreground font-bold text-lg sm:text-xl",children:"Note moyenne 5/5 · Avis Google vérifiés"})]}),p.jsxs("div",{className:"mb-10 sm:mb-12",children:[p.jsx(DM,{}),p.jsx("div",{className:"hidden sm:grid sm:grid-cols-2 lg:grid-cols-3 gap-4 sm:gap-5",children:yd.map((e,t)=>p.jsx(q.div,{initial:{opacity:0,y:15},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.4,delay:t*.08},children:p.jsx(m1,{review:e})},e.name))})]}),p.jsx("div",{className:"text-center",children:p.jsx(We,{variant:"cta",size:"xl",asChild:!0,className:"text-lg sm:text-2xl px-10 sm:px-16 h-16 sm:h-20 w-full sm:w-auto shadow-lg hover:shadow-2xl transition-shadow",children:p.jsx("a",{href:jM,target:"_blank",rel:"noopener noreferrer",children:"Réserver mon audit qualité offert"})})})]})}),OM=()=>p.jsxs("div",{className:"min-h-screen bg-background",children:[p.jsx(kM,{}),p.jsx(AM,{}),p.jsx(LM,{}),p.jsx("footer",{className:"py-6 px-6 text-center",children:p.jsxs("p",{className:"text-xs text-muted-foreground",children:["© ",new Date().getFullYear()," Evoqse+ â Qualité, HSE & RSE"]})})]}),IM="https://form.asana.com/?k=TMBJPCWvTrtURFrbOonWdw&d=1211169954240166",VM=()=>{const e=b.useRef(null),[t,n]=b.useState(!1),r=()=>{const s=e.current;s&&(s.muted=!1,s.play(),n(!0))};return p.jsx("section",{className:"min-h-[55vh] flex flex-col items-center justify-center px-4 sm:px-6 py-12 sm:py-16",children:p.jsxs(q.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{duration:.7,ease:"easeOut"},className:"max-w-5xl mx-auto text-center",children:[p.jsx("h1",{className:"text-3xl sm:text-5xl lg:text-7xl font-extrabold text-foreground leading-[1.08] mb-4 sm:mb-5",style:{textWrap:"balance"},children:"Prenez du recul sur votre organisation."}),p.jsx("p",{className:"text-lg sm:text-2xl lg:text-3xl text-accent font-bold mb-8 sm:mb-10",style:{textWrap:"balance"},children:"Un audit offert pour structurer votre démarche Qualité, HSE & RSE â Ãle de La Réunion."}),p.jsxs(q.div,{initial:{opacity:0,scale:.97},animate:{opacity:1,scale:1},transition:{duration:.6,delay:.2},className:"relative w-full max-w-4xl mx-auto rounded-2xl overflow-hidden mb-4 sm:mb-5 ring-1 ring-foreground/10",style:{aspectRatio:"16/9",boxShadow:"0 8px 40px -8px hsl(220 70% 25% / 0.25), 0 2px 12px hsl(220 70% 25% / 0.1)"},children:[p.jsx("video",{ref:e,controls:t,playsInline:!0,preload:"metadata",poster:"/videos/hero-reunion-poster.jpg",onPause:()=>n(!1),onEnded:()=>n(!1),className:"absolute inset-0 w-full h-full object-cover",children:p.jsx("source",{src:"/videos/hero-reunion.mp4",type:"video/mp4"})}),!t&&p.jsx("button",{type:"button",onClick:r,"aria-label":"Lancer la vidéo",className:"absolute inset-0 flex items-center justify-center bg-foreground
163/10 hover:bg-foreground/20 transition-colors group",children:p.jsx("span",{className:"flex items-center justify-center w-20 h-20 sm:w-24 sm:h-24 rounded-full bg-accent text-accent-foreground shadow-2xl group-hover:scale-110 transition-transform",children:p.jsx(Cf,{className:"w-8 h-8 sm:w-10 sm:h-10 ml-1",fill:"currentColor"})})})]}),p.jsx("p",{className:"text-xs sm:text-sm text-muted-foreground mb-8 sm:mb-10 text-center",children:"L'excellence opérationnelle au service de votre conformité â Ãle de La Réunion."}),p.jsx(We,{variant:"cta",size:"xl",asChild:!0,className:"text-lg sm:text-2xl px-10 sm:px-16 h-16 sm:h-20 w-full sm:w-auto shadow-lg hover:shadow-2xl transition-shadow",children:p.jsx("a",{href:IM,target:"_blank",rel:"noopener noreferrer",children:"Je réserve mon audit offert !"})})]})})},FM="/assets/ravate-CSb1TnDs.png",zM="/assets/leroymerlin-CW-KKGjQ.jpg",_M="/assets/schindler-CErDT9eT.jpg",BM="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAVwAAAFcBAMAAAB2OBsfAAAAIVBMVEXxWSAAN3Pu7+/////Ez9stW4zyflLzpYj0zL1hg6eUqsK/LOJiAAANjklEQVR42u2dy28auxrAR+dKA1uuyoKu0jEFmtW9npxAs0sgi2ZHGxbpapRKkCVKJWCJiBTYpm0WyS5N7iL9K+/wtmdsjw228RzZOufoEM/jh+fz5+/lwfHnDXrzZvhHx+JaXItrcS2uxbW4Ftfi7hp38Qew+IvhHy2uxbW4FtfiWlyL+8/EraQHF8BKr90epQW30nfCdiUXV5mROg6mtE42BeY5hOOeM2+XBuPCXnsAwkdXbi9gnYzBzk9t+vzdwXgF6wwM9tVqXSfSBga7ljBGmzHZEy5HaZ3vJuMGUVoXGIxbig1u1uCwSC0gy4KhuPHBncuCobgBRRbMxI2rBeebwbhdhyK6RuLW4rTOjbkRyCEB11znBwapwj0k0Lrm4g5ThUuUhYyxuFUnVbglEm7WWNxuukY3SNXokpa0dYDBONwyEfcvU3GJM83JmIq7R8R1RobiDh2W8KYF1/muAFeCGdql4F6aaZ7TcDPpwjU0LEKTXcdM3L10CcMhBfcvM3GrFNxvhjruNL1rJm6NgnuTLlyQKtl1/VThZvxUCYOpuJRV2Nj4Ltn7+ZepEUhiFMe5TFWMzGDcapp8NUp8d+e4tXRFzwPqgFUNjO9W6bOHIA07D+mVGKGDoXkxsuFyxAi9VfNiZN2lPJJ6A4ra3R1usFROpN5bcgxnt7iX1N5YaQvYNe5q/lAmYsQ4NwDXZWnliPloAO5ceMkHlyNeuxJcAbtzFTugHBzgM01FuaIobpZxcBVfgmmXgrOmHLey8sZpByPK4Yrq2E36/X6n358Atbjd9io0Qzv4ELMeCZeqjdvBQmQCtzNRiRusHUZqyeZ6cGG8F46jK587AKpxpzFm6sHzpc11O4TeMcmE70wU4VaQQB31YDjutdvtwSjW61d6lFDPNVSAC0EZCR8khB38WC8kDu2iaFY+bqV3M0QidcK6s+cw2rVs3FrgXAVI2FYU95ZF67g3knG7kdiXIC5zbBdukkTcaMjuuxjurZPULqXilihe2HaZC74VewPcLiXg4XHKfXK7hPJw4055VgC3x0EbDq+8CGSVWo3JYaSWHa7G69hx4BKKQTKAF7fLh5uVh0uKf11x4lb5aB13JAuXXCU229c1s7M8bwSo99jjxJ0vbTJwa7TxmHZXJv321BCk3aPLi8tZCZOMS5ssbugV9NqocBAuFfDiurJGd8h1N0C+h+OICe/2uHzP89uWuAvh1YWb3Rb3UqcwzFKU28guK5wlhMuni9wtNcMidKxOM8SrATiXGJZq2B63wne7m+2WiUWiSMIizCd/34nnlvXjDnk1GelS/HNtJCkCechrU5EuVe70J5P5ElCZjHsBU5oUmefEojFq2MHz4PojpBLLwvWHnGqer1aDEs9xpflqVZm4kBLSyUrD9XmU/Q1/lMSvBJsW+3LhHvJpeYHI9qbbXrlwOSZbBgqlG25V4nJI77VYdiS+H/5GIi7s8ih5kexIebOiM07cMo/5J5TMweXL/S4VF3DEPMVw9zC3byQ52F/rJkc1hHCR6ZCZANm5CVAJkswTMVy4kVbhz/yU6bxXm+RN8dPlZy1vE2IEgriBs/j+bQGtIpJxv2XWmIsm0fujSmiduZ2RsjqysUMNl4njQgh8b6K0qJBkS3WA1IoFmbhwEuPtjDxjcT2Ap3ZD/Q48g3Gnxt/KfekM1PNtXxALvUm/3+kMRj5IAy7qNKYCF1hci2txLe42H8v9wQRIxFVRqYjUuU1XwHboiqXiNe1LDy+0LdKAuw42tq/Nx63Gk/QG4UIv0osHhjM3JuGCca89wHsjtvyM1xBcOF5GadclpbGK0htjcOdeBl5/2o0HpwzBLZPqT0uEIh4zcLvr9Nq6t0bfZ2XIu/TwctlbaoBqt7glJKyM9JKyBJdw97hdJD0WsxmieQG4a9yKQytGHtPKbnaJW3Koxcg9ivhuiCvFDO2iKSC8t0Z5/+YOzfMalmzFe0GZXEK5Q9wSlnmP9pIzqrvDxZJOWeaXWSf9dodbdpi4NWKF6u5wu3hymDUR0QT9jnDLTgJuWd57DCXg4oPnxnElvl9ga9xo+pWA65ekvbpua9zokybhMoZXM24s90rCJU62K/W4k2hmpRL3b0i4e8QKZeW4Q7womEBLxq1SK3aV4u65WOkfKatNxK1RS2CV4h46mWl0DtBzmGRccu3RSHUEsjrbfTr7WKHsRyTvZuvS3hOp1DyfPVS305/0qaWMLvHcMq0AXK03wVFQRjy3RqvSNBO3QntrqFrc5GrIrABuRjXuUCquqxo3uXjzmwCu+B5eTbie0MHScGscFf6kc8nvGqdIjjxcyLF/gnhuIKCkJUZxEnF9kdF1bhTjBolqV2R0RTd0C+N2E/WYyFRzvinGHSYqBhFFtnqtlircvcSZxm/iOOK/HCjqq+0l7zojnUt7KBnFruVe8hZE0rkBa0upQtxScsU86dyukbizX0EgnVtibCJUWQM5TN6OSjqXupNhl6PL2C9Je9WMYlzmzsu5FqWcS661Vx10uk0s8KedS4xKqMZl7Ke5EhekrK8Yl7E59SbhXMIrZy7VlxsnDK5IuNK5Vh8wDWjraeK58RzbSD0uWfXOfphXNNSe1RCOLjnt2AC713znYuLQ7o/0FHP/JyaDnOei4nAFINRTAxmqpHZ8lnGdO8TL4LQUCFQGk8kY3ZjCf+6yIGNh6WrBBdMXT05XKXf670Do3OGqpExv+QWsjGb/Ab7QufMfzN6wglNx/S7p47jd3rg+dge4s5eYpgjX2HJji2txLa7FtbhqaiC1fbS4FtfiWlyLa3Hl4gKQHtzw32LjJCW4AJ69Pty3Lh4eX05IvejvdPgzh5d6KYgfDKZNNu7ZfTO3aK3HWIT0rDFrL41lOzsJu+KXKjbW7QX5/7OGVFz4vxza8r/xt18c5GItn794iV/qOEdpbyVGIEHxPgrzAzv4gMwQAkPsUuCJiivPPAfwLj54vzlwc7nHGa9eXEi8yTMPbu7tCdSMCz4Rb1AA64OLVNzcV4Be6lg97lGTfIfPPKMb8voI7qlyXEh7gPk6F27uB9SJ+4HKcc6HW6hrxPWf6Bw8sjv/WtpwjxgcP7lGN5er68M9ZWC85cQ914fbZGDk63y4eaAL9yOT4yeX7M51nhbcYybGG77RDWH04EashXwLl41CHLfwELYWcbKpx8X0Qv4l7D3DvkA9hns+tYn8g1eCNOC4qLnb+PMiJQL5HjMavWma/KCJqbKovTsDCw/8hD2Htwvn4hSZpqsbQSDJ+cEsqHN/3osuc/+m4IZOKL4a1qO4uboCX+0O1UbL3rvoHCLghk8Rk9MfOnDRGX++KmxDJCRPx/UwqZmLNFkYpOGiWvd51XsQWwCIuJidXIDqRxedyAWktxnxKci4HkSOy2sQBtT4fwvXvU98uJjvUFcvDKhi+Izgvlv/+QsD10O19k8NU62J3W7V+9+osUXBRaXhs3pcGJtp896/EauBhYs+nTdQuTCgKqCO9H6MKl4a7ns0TKN8dPfxmb3qPcIcIAbuEaZZVON+jOmx2OiycTENrRz3A4oFgAdFRxeda/Wo7K4Cpp4PpeAiolcoFosnJ2Gvh3+N+bJGw0XNiwhuaEAujiqeNBpSaiARhZW7b120LqaWd9juo1MwYu+uS/ru0AUFt3db+da8XbTukQjLFub5u1xyY+M+0XGj3sb2uMdb457iQQmLi3x82hbXO0WtC/Nx35uG+8zE/dtI3GK6cA8s7i5w0zXVwGlqcfUvE1OjpNnC2kOdpRl2hptvvLwsYoYnyMGe721q4jys232LBzfR3j3GzfBVBULsYKq9i+JG7N0T5EYNKeb5cTzwDMRw7xjeBOpyS8F9R/HVZODK99XAO4onzI/bpLqWeaWuZa6+Ce6BVsf9AyWKw417tKuwyCz8LYz7EYtgagw6LVNoYrjHmD7WGdIrbIJ7hz0dnQHTxVxDe2ESLpqdeNYbjkZSKcux/1RPwH3PiJ4rDvbnCpFkHdhv/mDjot+2oCNRhQ5P7je2V
163ILiXTj9mLgHkbSlctx9vKYGrdEMacMhY+ECtBDxs6chr4Yn/s+ROtD92aR/ZuCC/agVv+XocmTc8fqAX9M6rWnFMVwkqL9Aj2rvYrUF+VjGfVVpInOLUiRK9nVmmjdem3iyjYRbxL7pGz24f0fdn4uHh1YzktaO4oZ/LJ7hdRpf4vUMKnCTqlZ+xqtFXl9Db6YZL+jTMbr+XY6nGCfpW73x9Ywus4xsbUkkVTo9+5pG94gnzJA0ugVf1+gmScPckkjA/enrGl3/fUKFGMfoFoC+0T1osusFT5Jxf/j6Rjchn/I1eXS/Al/f6ML9JvM5wyTNkK97GkcXsnRZ4SRZ7/6Gns7R9eDdFgWx+V/oj+3pwMWtXmyaJZcb/wIeZSOCMC73np8PFEnwGXt+0L0rxD0/z+o2gH2KT7f8Yx16bNz8I4he6kkLrn8W5b14AewdVbnWI2FHlSZcv/iKltw9NhY71pbr1UO0/Zluwotf6tP6iLpKXB82/sxKL0KShpd4MJhvxaJsLNSx1zK8/ywxAYi9EEz/8fkuNTtW/U5Wam7C7hO2uBbX4lrcfyAur71rxkeLa3EtrsW1uBbX4lpci7tzXGueW9zlx/8DR/yjpkOyLewAAAAASUVORK5CYII=",UM="/assets/albioma-Fx6WIDX7.jpg",WM="/assets/ola-energy-Dltuseuq.webp",$M="/assets/ixeo-DR1VbYRn.png",HM="/assets/stmc-BsRYoY_Q.png",KM="/assets/apave-K92tYdzo.jpg",GM="/assets/cancees-BXgj17F7.svg",qM="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAOEAAADhCAMAAAAJbSJIAAAAolBMVEX////scCvsbynqXwDsbif859r//vzraR7rZxnrayLraBzrZRPrYhHqYAD//Pf//Pnuf0b62cr0rYrpWgD98uvzqIL+9e/xl2b4zrn0tJTrZQjxm3H2vqD87OL+9O3xmWzyonrvilb638/teTzscjL3xavwj1z51MDuhE7pVAD1uJnugUf3yK/62MPwlGzyn3fsdD3sdzPuf0rviVrnQwDufz//dyo2AAANtElEQVR4nO2da3eqsBKGSwiSEPAGIiLITdG2dnvsPv3/f+1wqRoUFISA+yyeb12rpbwkmZlMJsnbW09PT09PT09PT09PT09PT09PT09PT09PT8//BwPdFgR/YiR8+YJg66Ou36khBkPb38yW4XgNMUIkASEM12PPmW18TR90/Ya1GPnW4RubkSYRAy4DwGKkV4Fjx/r6R1tT9z92Js9L8EralVAo8ry5W/h61+9bEX3iBohct1uhTIxI4G5XXb91eYRpYCJcTt0JjMz11P8nBqVm/fAEVpP325Qyf7Tsrt//Ef6Mkyu2Hg2U4fKlG1JYEvRU81EaEXH8rnUU4Xs8qicvReLDl9TozxWxCX0xovx6GvUpbqT9zhrJVOtaU4Y9JzepL0YWra5VXbA/+Zr2JQ/Af75IVx1YUGpeX4yIF6/gOfRQKRmcVQfwf7uPAIzmLGgeorLpVt9g9lyAVh4ou11OO1ahwlZfjOJ111N9rlEfWISEurKpBq4RY1cBkn03AhXGQ5CW+NGBwA+1LX0x/Kx1gdPGw7QHEqft5qsGC75dgZFJdVtVuGi1i3YgcWG2LzDuqK0J3HfQgonEtuZT29bH4Am5nSDVl1rzg9cAddKCwBXXUiSTBwQtxKhhK7FoEZI3ZC1w1tkgTJEdxgIN0q3AyC2yjcI13JmVOQGIwFKhxzRlUQ5xx3AoWh0PwhSZXWwj3F/PbQtAmM35vU4dxQU8ZiRw37kdPcEoQB12b0dPMApt2p7V34McGAgUXqaPxsgMQnDnRcxMiug1LtB/KYEcp341rfAVohka/Lfh3JvQUeKiGHPbrMJD6U4KElhqS5HCRgUKj9eYABQJr5gmESMIMXlZZKuTNGpOZw9cBZQIHs+nluHbmh6xsv39Yh7Urh+6hzhvUKC2vvumWMbhXrgtLdQmrkgYLoE3WMxo3QtnEL8zCpdpVwuFWeJKbnBB6lj8liI53J/L2GNWnhQEjU2F/cKJL5TDh+Ndn7MKaJXGvP60yM4gXMopLRnV2zQWf+tBgZ1RnHJlEjaj5AdYNzSJ8vOdIVA+SlYsCazSO8RoRmF+J4V86cczUyg14xL17zxLCssNQbYKodSINc2dNwFUIfBlppDjG8m6WXmdVK2yksdOIWrE6Xs5nVReVHkCO4XYa2CWOIS3vgLNK9V9slMIUANlfXm+AlfzQ+wUckoD8+DN7eupFd0QQ4XVhks+h5sEjbir+AiGCsU/tQWOdjfDsPLkmqFC+F17IOo3uQhUeZ2ZoUKAa6+X3mZoqq/BMlTYQLZmf61QnFd2QUwV1l6GWlxPX8sH3K0oRG5dhe5VzAbhXWev2/52u9luJ76gnaNilgprp01H86v5ObpTrDv6mn2vpXg/ukkQ/M/OtYQRa4X4p6ZCfXcVlZLi3IgxVuTLSj8AmPDKeCGwVQi5mhMo7T9ZZwEL81taqOYkOyBRQ59VFiMB1dzFZ6+zCqUiZygEBUlDIOKQ5fI4qukQrwtMzIJ54WpdvPoGmC7M1d1uIlwPw/wvNuquEOWOYSiFnzWl8Jjf660W9j8VUFfhV9YdimGuoVkF3VXV1s0oTrK9j+SXlG06rNNoWKGcHwV+dlgYnVGoTSofknKlkM9NGgzZ7ZN9DK3QWCvmuKJtvVaYa0q/uixjoBT6fNSXRLNaCJBVCPL/etOpwku3WiYvW7GsT8h4a4hzTenNDKtNKG+RZnbvzQ3yFGZsCDzm/tKB0fpgKahy2nSmVykdH8WlHG1E8HfuL7mNKAQARmAsVTNbVFxqcxIAJKiWg9DWjxUO/jThLKIAOAjGY89z1pUkIio77XsQhBVXTVdjel4g5k6oG1EoHmxBW43icV7Ju0KYcYBC5VXhYUibmoIinSZ6KTpHS8NxFYU4qHt0RqagLb8N39wGJhaX3drVFNYvNM3UPhdYmrsFRSW5xIPVFFbPT999+4JtAEYDHp8/b2eqprBgLlCBL3rmV+APVw3EpZc0bEWFtZfXNHpTMxTz81A/5d8JRB4v4So9cqlqrthLa69bjI60u1DyjXHZ+SFAinn0/sR4R1ORfx8NkSS9n0OTYSBLkkSrhEQxFdOM/uDmrBgQUG+k2U9lFjPOrmAf7oPqzPP3hgdDG6XWfTDStrMgeWMYLB3n4qhH7txxnM/zEyUSuNaXr2nC1nLXJJvWupR7j7ZzDqyfSUst6PYp2kxdWPlGt4R8uO5RmhUfICnN3wYDyqsN4p8+fp+I5XBC1ZFqRijTX5OcwmwhJBKEkveEd8zsTS+K2zXuoa3BKC/dYAdifmXT74eVxzeJpu2aMu98+skHC1WNnTKAT9Rm2Ih6eewVJAkeHkIAufwOpB3hHYWKm/PG+uFi382kcw+c97E1E+MO/0z1CW0oASyK+8IHkZtSlDDa87mxYKKQuLl/MjqcBkWqaOC+L/WkaER8qh5zRsdkhbscNFBs4/Gd1YC3N4yKFKKwaFR5v98zVTT9b1yREddu5eeRHrGlrUjxgqQACyRiEkJ6njrwDYM2HgelQCHg6JyJTo+Pk/GWk55xiAUOojlCkb9+gE27guK1pzefy1ufgGRsCDz+vAgMiUyU8eXl9+p8pNOne8fbGfRIIZ26HHwEY7qGLQ0mQeqfh3FTCxg8XY3p0EPsTmWAHfDXFhXyyBq9CbwY+r5gr4ZvJ5ukXN5+IkdhjnkJL4c/KA55otenVFvvEL5TQ1lPTmGml0fjTvpsCJcpVrgzoKLYRqL3HgCJDzbJ5+U5rKrvvGJiGGA53lmjXh4ziZsDUQp/ozZpeXmwHcd4YE111MQ60GUKR8zB8ZPFNRqdOQHmvadoH54UH0+OsURkzjHSVjitAQNRQd/Ox37rC/7FJhcppBvESKJjk3I4RvxMqphGiPqP/OxxWYM5PcAepCNHgrX0fn528+nkLOJXoaiMLeH2+xQphFQElMZM9L8WCIhmvxdb+xE9RXl6KdGgw5pMXylHohAoXv4LFCjM/J90PwN91IAedSxqMI8CwMHvp4tNR5nNS9U348QKceGRsgUK8Ziy2mm2iNC9MLJF4sUgT8x6u4QyyRpYeZdDpBAWn4NQpPCTUphms+WsQpEyRTOZA/mLKuXwM1OH3BjkHpEVUGgno22WP+75pzJt6N20oS7SRyqtAlizsiaTU+TUim5H4Ol3G0xFWaQizsJxSMU9zs04tBGmUipx3FWvws3IrNPDdbUFrCimoTqQE0/wCO3xH9vSNDamg5wvhVBz1egL1KzDHGZS3xyqViIvqNTG66/35GUv075rhadt43T0tEn8Ib1XbaNSbRwfaFF57Fyxz5Y1kUpZSuHdvfyQLKdC7iL5RuFGJYTATJAvSFf+YxDylOU0okeYifzn23Fwde
163yHOauQLsgoHHAIQvr1UoW0mTTcmeWIEFN/5ES/xFNV6zaiJx7LKGILYvnG+/MFtdd57SoHigoqXW9ue6Yypb5PolC87hQuyhg0+6iqO+qPFu+UXD3y14kVmijm8414k8U0y9cKC2qQMU2DTPsnCm9MfeSC02Y54dPvbkNE/fd4wwQfddKtItbZkHhTDk12Zb9X5C3u+JdEITCvNmbHqz3FkfRcpV1DHNPJe33PP5VMPDO62f8kiiXXk6P54c0KkXD+POneOP7qWcl6VtF+kSlPT8S1IJkrQnVdt0zxJp0G+J9SH83mb87n0pTz2whcbMQAl+1gaaCoujkphaGrZjYD2UnUjHmn9mbEnLMxRKnElSmaI8bNkRlU4/ezwl9fK/3N9NPfNUnyub0a7gN/R9AyM5KnKiLmroEds7kH7iHz8MBAG0ES1crj/UmjP0NY3qy0lGGYdn8UUA596PzGiVjxNlTn0w1HwdfLJ6P9YbZtZDfpjbFJkFTuQyj0jl/eqTga8mYwn01dDybX0SDzxOm7Qf442xuGsVnMj9TyBFR47LlTa2NNnR+TFzNJnoYZFJykhJE0drf2zSVxQ9v6RFTMDrAoIfG3J4Az1IOk9OY58aq3wOSSttPtbVLzJyidsQvPKsHEhN/Lj/1XpDNB8/fTv1BmUAANJJbH7Bt3qu4BlOI0GommNUdITIWX2RSwV6x5qsrh0TIaSEub2J0yhJaP37IO+nfHJ2Lh6omwigjsjtQpRbNnJ+WyvUndtwnfxk0Xiw7L1pV2Dp5fdra5gjD0hBnmHbUiYn+Y9y+DoJOiYHHc3mVzWhcSMWnzKlZ91/pOLilo97pAfdxyK4pB2/daaUU7KhkJFNu/8FEPW9xlQZ5dv65FkqVth7LHpjUucWa2EsAB5dCWH7xhk7d9u2kySwCt46+ZhzcSaONumWLsOePrEuQObz/8xVIZzomx+gp3rQo7ZnMNEjC9j6Q0+ked69SLwWTW5RWkGfxPtXG/AfiCquKOMDi5UY1A5l7o0uqE1RSixjQCCbuvdfF4guAoDQXjIj9/DQtzg+CaDeS5ZfPPi+qLsWdrUsuuYsLNXlhfjGYd5Yp7lc8AUT5+dB7ClGDiIr66SCDyaLl9gQimFLpxWMuoQneFyOSczcv491JoxiGQiPj4lq/41ggpcAz7X2k+ipGwcThFlaWii6IgFmVV4eYbobMZbgPYX5YbBoiYskwkKa7ix6IkESKbBB29g7X9FyzLQ4aa7e+t6WzphF5E6Diz9LKPf7npenp6enp6enp6enp6enp6enp6enp6enp6enp6el6X/wE0r/wImePX3gAAAABJRU5ErkJggg==",Fu=[{src:FM,alt:"Ravate"},{src:zM,alt:"Leroy Merlin"},{src:_M,alt:"Schindler"},{src:BM,alt:"EDF"},{src:UM,alt:"Albioma"},{src:WM,alt:"Ola Energy"},{src:$M,alt:"Ixeo Ãnergie Solaire"},{src:HM,alt:"STMC"},{src:KM,alt:"Apave"},{src:GM,alt:"Cancees"},{src:qM,alt:"Catoi"}],g1=()=>{const e=[...Fu,...Fu];return p.jsxs("section",{className:"w-full py-8 sm:py-10 bg-background overflow-hidden","aria-label":"Ils nous font confiance",children:[p.jsx("p",{className:"text-center text-xs sm:text-sm uppercase tracking-widest text-muted-foreground mb-6 font-semibold",children:"Ils nous font confiance"}),p.jsxs("div",{className:"relative overflow-hidden",children:[p.jsx("div",{className:"pointer-events-none absolute inset-y-0 left-0 w-12 sm:w-32 z-10",style:{background:"linear-gradient(to right, hsl(var(--background)) 0%, hsl(var(--background) / 0) 100%)"}}),p.jsx("div",{className:"pointer-events-none absolute inset-y-0 right-0 w-12 sm:w-32 z-10",style:{background:"linear-gradient(to left, hsl(var(--background)) 0%, hsl(var(--background) / 0) 100%)"}}),p.jsx("div",{className:"flex w-max animate-marquee transform-gpu",children:e.map((t,n)=>p.jsx("div",{className:"flex items-center justify-center shrink-0 h-14 sm:h-20 px-6 sm:px-10",children:p.jsx("img",{src:t.src,alt:t.alt,loading:"eager",decoding:"async",draggable:!1,"aria-hidden":n>=Fu.length,className:"max-h-full w-auto object-contain grayscale opacity-70 select-none pointer-events-none",style:{maxWidth:"160px"}})},`${t.alt}-${n}`))})]})]})},QM="https://form.asana.com/?k=TMBJPCWvTrtURFrbOonWdw&d=1211169954240166",YM=[{value:"+80",label:"Entreprises accompagnées",icon:"ð¢"},{value:"12 ans",label:"D'expertise terrain",icon:"ð"},{value:"ISO",label:"Démarches qualité & conformité",icon:"â
"},{value:"974",label:"Ãle de La Réunion",icon:"ð´"}],XM=()=>p.jsxs("section",{className:"py-12 sm:py-16 px-4 sm:px-6 bg-primary relative overflow-hidden",children:[p.jsx("div",{className:"absolute inset-0 opacity-[0.04]",style:{backgroundImage:"radial-gradient(circle at 1px 1px, white 1px, transparent 0)",backgroundSize:"32px 32px"}}),p.jsxs("div",{className:"max-w-5xl mx-auto relative z-10",children:[p.jsxs(q.h2,{initial:{opacity:0,y:10},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.5},className:"text-2xl sm:text-4xl lg:text-5xl font-extrabold text-white text-center mb-8 sm:mb-10 px-2",children:["Votre audit qualité offert à La Réunion, par des"," ",p.jsx("span",{className:"text-accent",children:"experts reconnus."})]}),p.jsx("div",{className:"grid grid-cols-2 lg:grid-cols-4 gap-3 sm:gap-5",children:YM.map((e,t)=>p.jsxs(q.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.4,delay:t*.1},className:"rounded-xl border border-white/30 bg-white p-5 sm:p-7 text-center shadow-[0_4px_20px_rgba(0,0,0,0.15)]",children:[p.jsx("span",{className:"text-2xl mb-1 block",children:e.icon}),p.jsx("p",{className:"text-3xl sm:text-4xl font-extrabold text-accent mb-1.5",children:e.value}),p.jsx("p",{className:"text-sm sm:text-base text-foreground font-semibold",children:e.label})]},e.label))}),p.jsx("div",{className:"sm:hidden text-center mt-8",children:p.jsx(We,{variant:"cta",size:"xl",asChild:!0,className:"text-lg px-10 h-16 w-full shadow-lg",children:p.jsx("a",{href:QM,target:"_blank",rel:"noopener noreferrer",children:"Je réserve mon audit offert
163!"})})})]})]}),ZM="https://form.asana.com/?k=TMBJPCWvTrtURFrbOonWdw&d=1211169954240166",vd=[{name:"Valérie BREVIER MAGISSON",role:"Assistante de Direction",company:"Ravate Ãlec · Distribution matériel pro",text:"Evoqse conjugue professionnalisme et expertise pour la sécurité de nos hommes et de nos sites au quotidien !"},{name:"Loïc EGAMBAROM",role:"Directeur",company:"Casse de la Source · Casse automobile",text:"Très bonne collaboration avec l'équipe. Professionnalisme, réactivité et accompagnement de qualité."},{name:"Claude Payet",role:"Directeur · Société PHB",company:"Industrie & BTP",text:"Depuis 3 ans de travail et mise en place d'une conformité ISO, un accompagnement solide, très pro et adapté."},{name:"Faical ZADVAT",role:"Responsable d'agence",company:"Immobilier",text:"Un grand merci à toute l'équipe d'Evoqse pour son professionnalisme, sa disponibilité et son sérieux."},{name:"Dom Conduite",role:"Directeur",company:"Auto-école",text:"Très bonne expérience pour la mise en place de notre DUERP. Réactif et compétent, travail sérieux."},{name:"Yohann Le Guellenec",role:"Directeur · L'As de Trèfles",company:"Point Presse",text:"Je suis extrêmement satisfait de l'expérience avec Evoqse. Une grande aide dans l'automatisation des tâches."}],JM=()=>p.jsx("div",{className:"flex gap-0.5",children:[...Array(5)].map((e,t)=>p.jsx(bt,{className:"w-5 h-5 fill-accent text-accent"},t))}),y1=({review:e})=>p.jsxs("div",{className:"p-5 sm:p-6 rounded-xl border border-border bg-card hover:border-accent/30 transition-colors duration-300",style:{boxShadow:"var(--shadow-card)"},children:[p.jsx(JM,{}),p.jsxs("p",{className:"text-sm text-muted-foreground leading-relaxed mt-3 mb-4",children:['"',e.text,'"']}),p.jsx("p",{className:"text-sm font-bold text-foreground",children:e.name}),p.jsx("p",{className:"text-xs font-semibold text-accent",children:e.role}),p.jsx("p",{className:"text-xs text-muted-foreground",children:e.company})]}),eD=()=>{const[e,t]=b.useState(0),n=2,r=Math.ceil(vd.length/n),s=vd.slice(e*n,e*n+n);return p.jsxs("div",{className:"sm:hidden",children:[p.jsx(q.div,{initial:{opacity:0,x:30},animate:{opacity:1,x:0},exit:{opacity:0,x:-30},transition:{duration:.3},className:"flex flex-col gap-3",children:s.map(i=>p.jsx(y1,{review:i},i.name))},e),p.jsxs("div",{className:"flex items-center justify-center gap-4 mt-6",children:[p.jsx("button",{onClick:()=>t(i=>Math.max(0,i-1)),disabled:e===0,className:"w-10 h-10 rounded-full border border-border bg-background flex items-center justify-center disabled:opacity-30 transition-opacity","aria-label":"Précédent",children:p.jsx(Sf,{className:"w-5 h-5 text-foreground"})}),p.jsx("div",{className:"flex gap-2",children:[...Array(r)].map((i,o)=>p.jsx("button",{onClick:()=>t(o),className:`w-2.5 h-2.5 rounded-full transition-all duration-300 ${o===e?"bg-accent scale-125":"bg-border"}`,"aria-label":`Page ${o+1}`},o))}),p.jsx("button",{onClick:()=>t(i=>Math.min(r-1,i+1)),disabled:e===r-1,className:"w-10 h-10 rounded-full border border-border bg-background flex items-center justify-center disabled:opacity-30 transition-opacity","aria-label":"Suivant",children:p.jsx(Ef,{className:"w-5 h-5 text-foreground"})})]})]})},tD=()=>p.jsx("section",{id:"social-proof",className:"py-14 sm:py-20 px-4 sm:px-6",children:p.jsxs("div",{className:"max-w-5xl mx-auto",children:[p.jsxs(q.div,{initial:{opacity:0,y:10},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.6},className:"text-center mb-12",children:[p.jsxs(q.span,{initial:{scale:.8,opacity:0}
163,whileInView:{scale:1,opacity:1},viewport:{once:!0},transition:{type:"spring",stiffness:200,damping:12},className:"inline-flex items-center gap-2 bg-accent/10 text-accent font-bold text-sm px-5 py-2 rounded-full mb-6 border border-accent/20",children:[p.jsx(bt,{className:"w-4 h-4 fill-accent"})," ILS NOUS FONT CONFIANCE"," ",p.jsx(bt,{className:"w-4 h-4 fill-accent"})]}),p.jsxs("h2",{className:"text-3xl sm:text-5xl lg:text-6xl font-extrabold text-foreground mb-3",children:["Et si le prochain avis 5 étoiles",p.jsx("br",{}),p.jsx("span",{className:"text-accent",children:"était le vôtre ?"})]}),p.jsx("div",{className:"flex justify-center gap-1.5 mt-5 mb-3",children:[...Array(5)].map((e,t)=>p.jsx(q.div,{initial:{opacity:0,scale:0},whileInView:{opacity:1,scale:1},viewport:{once:!0},transition:{delay:.3+t*.08,type:"spring",stiffness:300},children:p.jsx(bt,{className:"w-9 h-9 sm:w-11 sm:h-11 fill-accent text-accent"})},t))}),p.jsx("p",{className:"text-foreground font-bold text-lg sm:text-xl",children:"Note moyenne 5/5 · Avis Google vérifiés"})]}),p.jsxs("div",{className:"mb-10 sm:mb-12",children:[p.jsx(eD,{}),p.jsx("div",{className:"hidden sm:grid sm:grid-cols-2 lg:grid-cols-3 gap-4 sm:gap-5",children:vd.map((e,t)=>p.jsx(q.div,{initial:{opacity:0,y:15},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.4,delay:t*.08},children:p.jsx(y1,{review:e})},e.name))})]}),p.jsx("div",{className:"text-center",children:p.jsx(We,{variant:"cta",size:"xl",asChild:!0,className:"text-lg sm:text-2xl px-10 sm:px-16 h-16 sm:h-20 w-full sm:w-auto shadow-lg hover:shadow-2xl transition-shadow",children:p.jsx("a",{href:ZM,target:"_blank",rel:"noopener noreferrer",children:"Je réserve mon audit offert !"})})})]})}),Sg="GTM-WPN34K6W",Eg="G-2JY0ZBPXTN",nD=()=>(b.useEffect(()=>{if(!document.getElementById("gtm-script-reunion")){const e=document.createElement("script");e.id="gtm-script-reunion",e.innerHTML=`(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start': 164new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0], 165j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
166'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f); 167})(window,document,'script','dataLayer','${Sg}');`,document.head.prepend(e);const t=document.createElement("noscript");t.id="gtm-noscript-reunion",t.innerHTML=`<iframe src="https://www.googletagmanager.com/ns.html?id=${Sg}" height="0" width="0" style="display:none;visibility:hidden"></iframe>`,document.body.prepend(t)}if(!document.getElementById("ga-script-reunion")){const e=document.createElement("script");e.id="ga-script-reunion",e.async=!0,e.src=`https://www.googletagmanager.com/gtag/js?id=${Eg}`,document.head.appendChild(e);const t=document.createElement("script");t.id="ga-init-reunion",t.innerHTML=`window.dataLayer = window.dataLayer || []; 168function gtag(){dataLayer.push(arguments);} 169gtag('js', new Date()); 170gtag('config', '${Eg}');`,document.head.appendChild(t)}},[]),p.jsxs("div",{className:"min-h-screen bg-background",children:[p.jsx(VM,{}),p.jsx(g1,{}),p.jsx(XM,{}),p.jsx(tD,{}),p.jsx("footer",{className:"py-6 px-6 text-center",children:p.jsxs("p",{className:"text-xs text-muted-foreground",children:["© ",new Date().getFullYear()," Evoqse+ â Qualité, HSE & RSE · Ãle de La Réunion"]})})]})),rD="/assets/evoqse-logo-BDCNBwEO.webp",it={initial:{opacity:0,y:16},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.5}},fi=()=>{var e;(e=document.getElementById("devis-form"))==null||e.scrollIntoView({behavior:"smooth",block:"start"})},sD=[{value:"+80",label:"Entreprises accompagnées",icon:"ð¢"},{value:"12 ans",label:"D'expertise terrain",icon:"ð"},{value:"Forbes",label:"Intervention & reconnaissance",icon:"ð°"},{value:"974",label:"Ãle de La Réunion",icon:"ð´"}],iD=()=>(b.useEffect(()=>{const e="https://evoqse-auditgratuit.lovable.app/duerp",t="DUERP en 72h | Document Unique conforme dès 250⬠â EVOQSE+",n="Document Unique d'Ãvaluation des Risques Professionnels (DUERP) rédigé en 72h par des experts. Conforme Code du Travail, tarif fixe dès 250â¬. Devis offert.";document.title=t;const r=(c,d,f,h)=>{let x=document.head.querySelector(c);x||(x=document.createElement("meta"),x.setAttribute(d,f),document.head.appendChild(x)),x.setAttribute("content",h)};r('meta[name="description"]',"name","description",n),r('meta[property="og:title"]',"property","og:title",t),r('meta[property="og:description"]',"property","og:description",n),r('meta[property="og:type"]',"property","og:type","website"),r('meta[property="og:url"]',"property","og:url",e),r('meta[name="twitter:card"]',"name","twitter:card","summary_large_image"),r('meta[name="twitter:title"]',"name","twitter:title",t),r('meta[name="twitter:description"]',"name","twitter:description",n),r('meta[name="robots"]',"name","robots","index, follow");let s=document.head.querySelector('link[rel="canonical"]');s||(s=document.createElement("link"),s.rel="canonical",document.head.appendChild(s)),s.href=e;const i="duerp-jsonld";let o=document.getElementById(i);if(o||(o=document.createElement("script"),o.type="application/ld+json",o.id=i,document.head.appendChild(o)),o.textContent=JSON.stringify({"@context":"https://schema.org","@type":"Service",name:"Rédaction DUERP en 72h",provider:{"@type":"Organization",name:"EVOQSE+",url:"https://evoqse-plus.fr",email:"[email protected]"},areaServed:"FR",description:n,offers:{"@type":"Offer",price:"250",priceCurrency:"EUR",availability:"https://schema.org/InStock",url:e}}),!document.getElementById("fb-pixel-duerp")){const c=document.createElement("script");c.id="fb-pixel-duerp",c.innerHTML="
vendor: 388 bytes, line 170
170!function(f,b,e,v,n,t,s){if(f.fbq)return;n=f.fbq=function(){n.callMethod?n.callMethod.apply(n,arguments):n.queue.push(arguments)};if(!f._fbq)f._fbq=n;n.push=n;n.loaded=!0;n.version='2.0';n.queue=[];t=b.createElement(e);t.async=!0;t.src=v;s=b.getElementsByTagName(e)[0];s.parentNode.insertBefore(t,s)}(window,document,'script','https://connect.facebook.net/en_US/fbevents.js');fbq('init','
1701941332079914175
vendor: 27 bytes, line 170
170');fbq('track','PageView');
170",document.head.appendChild(c);const d=document.createElement("noscript");d.id="fb-noscript-duerp",d.innerHTML='<img height="1" width="1" src="https://www.facebook.com/tr?id=1941332079914175&ev=PageView&noscript=1"/>',document.body.appendChild(d)}const a="https://tally.so/widgets/embed.js",l=()=>{typeof Tally<"u"?Tally.loadEmbeds():document.querySelectorAll("iframe[data-tally-src]:not([src])").forEach(c=>{c.src=c.dataset.tallySrc})};if(document.querySelector(`script[src="${a}"]`)){l();return}const u=document.createElement("script");u.src=a,u.onload=l,u.onerror=l,document.body.appendChild(u)},[]),p.jsxs("div",{className:"min-h-screen bg-background",children:[p.jsx("section",{className:"bg-primary text-primary-foreground px-4 sm:px-6 pt-6 pb-14 sm:pb-20",children:p.jsxs("div",{className:"max-w-6xl mx-auto",children:[p.jsx("div",{className:"flex items-center justify-between mb-8",children:p.jsx("img",{src:rD,alt:"EVOQSE+ â Expertise QSE et prévention des risques professionnels",width:160,height:48,decoding:"async",fetchPriority:"high",className:"h-10 sm:h-12 w-auto"})}),p.jsxs(q.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{duration:.6},className:"max-w-4xl",children:[p.jsx("span",{className:"inline-flex items-center gap-2 bg-accent text-accent-foreground font-bold text-xs sm:text-sm px-4 py-2 rounded-full mb-6",children:"Offre limitée â Campagne 2 semaines"}),p.jsx("h1",{className:"text-3xl sm:text-5xl lg:text-6xl font-extrabold leading-[1.08] mb-5",children:"Votre Document Unique réalisé en 72h chrono"}),p.jsx("p",{className:"text-base sm:text-xl text-primary-foreground/85 mb-8 max-w-3xl leading-relaxed",children:"Obligation légale dès 1 salarié. Sans DUERP, vous risquez jusqu'à 1 500⬠d'amende par salarié et engagez votre responsabilité pénale."}),p.jsxs(We,{variant:"cta",size:"xl",onClick:fi,className:"text-lg sm:text-2xl px-10 sm:px-14 h-16 sm:h-20 w-full sm:w-auto shadow-lg hover:shadow-2xl",children:["Obtenir mon devis gratuit",p.jsx(Wo,{className:"w-5 h-5 ml-1"})]}),p.jsx("p",{className:"text-xs sm:text-sm text-primary-foreground/70 mt-4",children:"On vous rappelle sous 24h max · Tarif fixe · Sans engagement"}),p.jsx("div",{className:"grid grid-cols-3 gap-4 sm:gap-8 mt-10 sm:mt-14 border-t border-primary-foreground/15 pt-8",children:[{v:"72h",l:"Délai de livraison"},{v:"100%",l:"Conforme réglementation"},{v:"250â¬",l:"à partir de"}].map(e=>p.jsxs("div",{className:"text-center sm:text-left",children:[p.jsx("p",{className:"text-2xl sm:text-4xl font-extrabold text-accent",children:e.v}),p.jsx("p",{className:"text-xs sm:text-sm text-primary-foreground/75 mt-1",children:e.l})]},e.v))})]})]})}),p.jsx(g1,{}),p.jsx("section",{className:"py-14 sm:py-20 px-4 sm:px-6 bg-background",children:p.jsxs("div",{className:"max-w-6xl mx-auto",children:[p.jsxs(q.h2,{...it,className:"text-3xl sm:text-5xl font-extrabold text-foreground text-center mb-10 sm:mb-14",children:["Sans DUERP, votre entreprise est ",p.jsx("span",{className:"text-destructive",children:"en danger"})]}),p.jsxs("div",{className:"grid sm:grid-cols-2 gap-5 sm:gap-6",children:[p.jsxs(q.div,{...it,className:"rounded-xl border-2 border-destructive/40 bg-destructive/5 p-6 sm:p-8",children:[p.jsx("h3",{className:"text-xl sm:text-2xl font-extrabold text-destructive mb-5",children:"SANS DUERP"}),p.jsx("ul",{className:"space-y-3",children:["Amende jusqu'à 1 500⬠par salarié","Responsabilité pénale du dirigeant","Faute inexcusable en cas d'accident","Majoration des cotisations AT/MP","Impossibilité de répondre aux appels d'offres","Contrôle DREETS sans préavis"].map(e=>p.jsxs("li",{className:"flex items-start gap-3 text-foreground/90",children:[p.jsx(_0,{className:"w-5 h-5 text-destructive shrink-0 mt-0.5",strokeWidth:3}),p.jsx("span",{className:"text-sm sm:text-base",children:e})]},e))})]}),p.jsxs(q.div,{...it,className:"rounded-xl border-2 border-[hsl(142_72%_38%)]/40 bg-[hsl(142_72%_38%)]/5 p-6 sm:p-8",children:[p.jsx("h3",{className:"text-xl sm:text-2xl font-extrabold text-[hsl(142_72%_30%)] mb-5",children:"AVEC DUERP EVOQSE+"}),p.jsx("ul",{className:"space-y-3",children:["Conformité légale totale","Protection juridique du dirigeant","Réduction des accidents de travail","Image professionnelle renforcée","Accès aux marchés publics","Sérénité face aux contrôles"].map(e=>
170p.jsxs("li",{className:"flex items-start gap-3 text-foreground/90",children:[p.jsx(WT,{className:"w-5 h-5 text-[hsl(142_72%_38%)] shrink-0 mt-0.5",strokeWidth:3}),p.jsx("span",{className:"text-sm sm:text-base",children:e})]},e))})]})]}),p.jsx("div",{className:"text-center mt-10",children:p.jsxs(We,{variant:"cta",size:"xl",onClick:fi,className:"text-lg px-10 h-16 w-full sm:w-auto shadow-lg",children:["Obtenir mon devis gratuit",p.jsx(Wo,{className:"w-5 h-5 ml-1"})]})})]})}),p.jsx("section",{className:"py-14 sm:py-20 px-4 sm:px-6 bg-muted",children:p.jsxs("div",{className:"max-w-6xl mx-auto",children:[p.jsx(q.h2,{...it,className:"text-3xl sm:text-5xl font-extrabold text-foreground text-center mb-10 sm:mb-14",children:"Ce que vous risquez vraiment sans Document Unique"}),p.jsx("div",{className:"grid md:grid-cols-3 gap-5 sm:gap-6",children:[{icon:HT,title:"Financier",text:"Jusqu'à 1 500⬠d'amende par salarié (3 000⬠en cas de récidive). Majorations des cotisations accidents du travail."},{icon:QT,title:"Pénal",text:"En cas d'accident, le dirigeant peut être poursuivi pour faute inexcusable. Peines de prison possibles."},{icon:KT,title:"Commercial",text:"Exclusion des appels d'offres publics et privés. Perte de crédibilité auprès des donneurs d'ordre."}].map(e=>p.jsxs(q.div,{...it,className:"bg-card rounded-xl p-6 sm:p-7 border border-border",style:{boxShadow:"var(--shadow-card)"},children:[p.jsx("div",{className:"w-12 h-12 rounded-lg bg-primary/10 flex items-center justify-center mb-4",children:p.jsx(e.icon,{className:"w-6 h-6 text-primary"})}),p.jsx("h3",{className:"text-xl font-extrabold text-foreground mb-2",children:e.title}),p.jsx("p",{className:"text-sm sm:text-base text-muted-foreground leading-relaxed",children:e.text})]},e.title))})]})}),p.jsx("section",{className:"py-14 sm:py-20 px-4 sm:px-6 bg-background",children:p.jsxs("div",{className:"max-w-6xl mx-auto",children:[p.jsxs(q.h2,{...it,className:"text-3xl sm:text-5xl font-extrabold text-foreground text-center mb-12 sm:mb-16",children:["Votre DUERP en ",p.jsx("span",{className:"text-accent",children:"3 étapes simples"})]}),p.jsx("div",{className:"grid md:grid-cols-3 gap-6 sm:gap-8",children:[{n:"1",t:"Vous remplissez un formulaire",d:"Informations sur votre entreprise, vos postes, votre activité. 15 minutes suffisent."},{n:"2",t:"Nous rédigeons votre DUERP",d:"Notre équipe analyse vos données et produit un Document Unique complet et conforme."},{n:"3",t:"Présentation en visio",d:"Un expert vous présente votre DUERP, répond à vos questions et vous accompagne."}].map(e=>p.jsxs(q.div,{...it,className:"text-center",children:[p.jsx("div",{className:"w-16 h-16 rounded-full bg-accent text-accent-foreground font-extrabold text-2xl flex items-center justify-center mx-auto mb-5 shadow-lg",children:e.n}),p.jsx("h3",{className:"text-xl font-extrabold text-foreground mb-2",children:e.t}),p.jsx("p",{className:"text-sm sm:text-base text-muted-foreground leading-relaxed",children:e.d})]},e.n))}),p.jsx("div",{className:"text-center mt-12",children:p.jsxs(We,{variant:"cta",size:"xl",onClick:fi,className:"text-lg px-10 h-16 w-full sm:w-auto shadow-lg",children:["Obtenir mon devis gratuit",p.jsx(Wo,{className:"w-5 h-5 ml-1"})]})})]})}),p.jsx("section",{id:"devis-form",className:"py-14 sm:py-20 px-4 sm:px-6 bg-muted",children:p.jsxs("div",{className:"max-w-2xl mx-auto",children:[p.jsxs(q.div,{...it,className:"text-center mb-8 sm:mb-10",children:[p.jsx("h2",{className:"text-3xl sm:text-5xl font-extrabold text-foreground mb-3",children:"Recevez votre devis en 2 minutes"}),p.jsx("p",{className:"text-muted-foreground text-base sm:text-lg",children:"Remplissez ce formulaire, on vous rappelle sous 24h max."})]}),p.jsxs(q.div,{...it,className:"bg-card rounded-2xl p-4 sm:p-6 border border-border",style:{boxShadow:"var(--shadow-card)"},children:[p.jsx("iframe",{"data-tally-src":"https://tally.so/embed/lbVWgN?alignLeft=1&hideTitle=1&transparentBackground=1&dynamicHeight=1",loading:"lazy",width:"100%",height:424,frameBorder:0,marginHeight:0,marginWidth:0,title:"Formulaire de devis DUERP"}),p.jsxs("p",{className:"text-xs text-muted-foreground text-center flex items-center justify-center gap-1.5 mt-3",children:[p.jsx(qT,{className:"w-3.5 h-3.5"}),"Vos données sont confidentielles et ne seront jamais partagées."]})]})]})}),p.jsxs("section",{className:"py-12 sm:py-16 px-4 sm:px-6 bg-primary relative overflow-hidden",children:[p.jsx("div",{className:"absolute inset-0 opacity-[0.04]",style:{backgroundImage:"radial-gradient(circle at 1px 1px, white 1px, transparent 0)",backgroundSize:"32px 32px"}}),p.jsxs("div",{className:"max-w-5xl mx-auto relative z-10",children:[p.jsxs(q.h2,{initial:{opacity:0,y:10},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.5},className:"text-2xl sm:text-4xl lg:text-5xl font-extrabold text-white text-center mb-8 sm:mb-10 px-2",children:["Votre DUERP, par des ",p.jsx("span",{className:"text-accent",children:"experts reconnus."})]}),p.jsx("div",{className:"grid grid-cols-2 lg:grid-cols-4 gap-3 sm:gap-5",children:sD.map((e,t)=>p.jsxs(q.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.4,delay:t*.1},className:"rounded-xl border border-white/30 bg-white p-5 sm:p-7 text-center shadow-[0_4px_20px_rgba(0,0,0,0.15)]",children:[p.jsx("span",{className:"text-2xl mb-1 block",children:e.icon}),p.jsx("p",{className:"text-3xl sm:text-4xl font-extrabold text-accent mb-1.5",children:e.value}),p.jsx("p",{className:"text-sm sm:text-base text-foreground font-semibold",children:e.label})]},e.label))})]})]}),p.jsx("section",{className:"py-14 sm:py-20 px-4 sm:px-6 bg-background",children:p.jsxs("div",{className:"max-w-5xl mx-auto",children:[p.jsxs(q.h2,{...it,className:"text-3xl sm:text-5xl font-extrabold text-foreground text-center mb-6",children:["Pourquoi choisir ",p.jsx("span",{className:"text-accent",children:"EVOQSE+ ?"})]}),p.jsx(q.p,{...it,className:"text-center text-muted-foreground mb-10 sm:mb-14",children:p.jsx("a",{href:"https://evoqse-plus.fr",target:"_blank",rel:"noopener noreferrer",className:"text-primary font-semibold underline underline-offset-4 hover:text-accent transition-colors",children:"Découvrez-nous sur evoqse-plus.fr"})}),p.jsx("div",{className:"grid sm:grid-cols-2 gap-5 sm:gap-6",children:[{icon:YT,t:"Expert réglementaire",d:"Conformité garantie avec le Code du Travail"},{icon:$T,t:"72h chrono",d:"Le DUERP le plus rapide du marché"},{icon:XT,t:"Tarif fixe",d:"Pas de coût caché, prix annoncé = prix payé"},{icon:GT,t:"Accompagnement",d:"Visio de présentation + support post-livraison"}].map(e=>p.jsxs(q.div,{...it,className:"flex gap-4 p-6 rounded-xl border border-border bg-card",style:{boxShadow:"var(--shadow-card)"},children:[p.jsx("div",{className:"w-12 h-12 rounded-lg bg-primary/10 flex items-center justify-center shrink-0",children:p.jsx(e.icon,{className:"w-6 h-6 text-primary"})}),p.jsxs("div",{children:[p.jsx("h3",{className:"text-lg font-extrabold text-foreground mb-1",children:e.t}),p.jsx("p",{className:"text-sm text-muted-foreground",children:e.d})]})]},e.t))}),p.jsx("div",{className:"text-center mt-12",children:p.jsxs(We,{variant:"cta",size:"xl",onClick:fi,className:"text-lg px-10 h-16 w-full sm:w-auto
170shadow-lg",children:["Obtenir mon devis gratuit",p.jsx(Wo,{className:"w-5 h-5 ml-1"})]})})]})}),p.jsx(p1,{hideCta:!0}),p.jsx("section",{className:"py-14 sm:py-20 px-4 sm:px-6 bg-accent text-accent-foreground",children:p.jsxs(q.div,{...it,className:"max-w-3xl mx-auto text-center",children:[p.jsx("h2",{className:"text-2xl sm:text-4xl lg:text-5xl font-extrabold mb-8 leading-tight",children:"Ne prenez pas le risque. Chaque jour sans DUERP est un jour d'infraction."}),p.jsx(We,{size:"xl",onClick:fi,className:"bg-background text-accent hover:bg-background/90 text-lg sm:text-2xl px-10 sm:px-14 h-16 sm:h-20 w-full sm:w-auto font-bold shadow-xl",children:"Obtenir mon devis maintenant"}),p.jsx("p",{className:"text-sm text-accent-foreground/85 mt-4",children:"Offre campagne · Places limitées"})]})}),p.jsx("footer",{className:"bg-primary text-primary-foreground py-10 px-4 sm:px-6",children:p.jsxs("div",{className:"max-w-5xl mx-auto text-center space-y-2",children:[p.jsx("p",{className:"font-bold",children:"EVOQSE+ · Expertise en prévention des risques professionnels"}),p.jsxs("p",{className:"text-sm text-primary-foreground/80",children:["Contact :"," ",p.jsx("a",{href:"mailto:[email protected]",className:"underline hover:text-accent",children:"[email protected]"})]}),p.jsxs("p",{className:"text-xs text-primary-foreground/60 pt-3",children:["© ",new Date().getFullYear()," EVOQSE+ â Tous droits réservés"]}),p.jsx("p",{className:"text-xs text-primary-foreground/60 pt-2 max-w-2xl mx-auto",children:"Le DUERP est obligatoire pour tout employeur dès 1 salarié (Article R4121-1 du Code du Travail)"})]})})]})),oD=()=>{const e=u0();return b.useEffect(()=>{console.error("404 Error: User attempted to access non-existent route:",e.pathname)},[e.pathname]),p.jsx("div",{className:"flex min-h-screen items-center justify-center bg-muted",children:p.jsxs("div",{className:"text-center",children:[p.jsx("h1",{className:"mb-4 text-4xl font-bold",children:"404"}),p.jsx("p",{className:"mb-4 text-xl text-muted-foreground",children:"Oops! Page not found"}),p.jsx("a",{href:"/",className:"text-primary underline hover:text-primary/90",children:"Return to Home"})]})})},aD=new bE,lD=()=>p.jsx(EE,{client:aD,children:p.jsxs(vk,{children:[p.jsx(DP,{}),p.jsx(_C,{}),p.jsx(lC,{children:p.jsxs(iC,{children:[p.jsx(Zr,{path:"/",element:p.jsx(TM,{})}),p.jsx(Zr,{path:"/qualite",element:p.jsx(OM,{})}),p.jsx(Zr,{path:"/reunion",element:p.jsx(nD,{})}),p.jsx(Zr,{path:"/duerp",element:p.jsx(iD,{})}),p.jsx(Zr,{path:"*",element:p.jsx(oD,{})})]})})]})});Gv(document.getElementById("root")).render(p.jsx(lD,{}));
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.