1511 lines
874 KiB
JavaScript
1511 lines
874 KiB
JavaScript
var YE=Object.defineProperty;var Wx=e=>{throw TypeError(e)};var QE=(e,t,n)=>t in e?YE(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;var Vx=(e,t,n)=>QE(e,typeof t!="symbol"?t+"":t,n),Ux=(e,t,n)=>t.has(e)||Wx("Cannot "+n);var Hx=(e,t,n)=>(Ux(e,t,"read from private field"),n?n.call(e):t.get(e)),Gx=(e,t,n)=>t.has(e)?Wx("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,n),ch=(e,t,n,r)=>(Ux(e,t,"write to private field"),r?r.call(e,n):t.set(e,n),n);function ZE(e,t){for(var n=0;n<t.length;n++){const r=t[n];if(typeof r!="string"&&!Array.isArray(r)){for(const i in r)if(i!=="default"&&!(i in e)){const o=Object.getOwnPropertyDescriptor(r,i);o&&Object.defineProperty(e,i,o.get?o:{enumerable:!0,get:()=>r[i]})}}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const i of document.querySelectorAll('link[rel="modulepreload"]'))r(i);new MutationObserver(i=>{for(const o of i)if(o.type==="childList")for(const a of o.addedNodes)a.tagName==="LINK"&&a.rel==="modulepreload"&&r(a)}).observe(document,{childList:!0,subtree:!0});function n(i){const o={};return i.integrity&&(o.integrity=i.integrity),i.referrerPolicy&&(o.referrerPolicy=i.referrerPolicy),i.crossOrigin==="use-credentials"?o.credentials="include":i.crossOrigin==="anonymous"?o.credentials="omit":o.credentials="same-origin",o}function r(i){if(i.ep)return;i.ep=!0;const o=n(i);fetch(i.href,o)}})();var nd=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function r1(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Nk={exports:{}},Op={},Dk={exports:{}},Pe={};/**
|
||
* @license React
|
||
* react.production.min.js
|
||
*
|
||
* Copyright (c) Facebook, Inc. and its affiliates.
|
||
*
|
||
* This source code is licensed under the MIT license found in the
|
||
* LICENSE file in the root directory of this source tree.
|
||
*/var vu=Symbol.for("react.element"),JE=Symbol.for("react.portal"),eA=Symbol.for("react.fragment"),tA=Symbol.for("react.strict_mode"),nA=Symbol.for("react.profiler"),rA=Symbol.for("react.provider"),iA=Symbol.for("react.context"),oA=Symbol.for("react.forward_ref"),aA=Symbol.for("react.suspense"),sA=Symbol.for("react.memo"),lA=Symbol.for("react.lazy"),Kx=Symbol.iterator;function cA(e){return e===null||typeof e!="object"?null:(e=Kx&&e[Kx]||e["@@iterator"],typeof e=="function"?e:null)}var Ok={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},Fk=Object.assign,Bk={};function cl(e,t,n){this.props=e,this.context=t,this.refs=Bk,this.updater=n||Ok}cl.prototype.isReactComponent={};cl.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")};cl.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function Wk(){}Wk.prototype=cl.prototype;function i1(e,t,n){this.props=e,this.context=t,this.refs=Bk,this.updater=n||Ok}var o1=i1.prototype=new Wk;o1.constructor=i1;Fk(o1,cl.prototype);o1.isPureReactComponent=!0;var qx=Array.isArray,Vk=Object.prototype.hasOwnProperty,a1={current:null},Uk={key:!0,ref:!0,__self:!0,__source:!0};function Hk(e,t,n){var r,i={},o=null,a=null;if(t!=null)for(r in t.ref!==void 0&&(a=t.ref),t.key!==void 0&&(o=""+t.key),t)Vk.call(t,r)&&!Uk.hasOwnProperty(r)&&(i[r]=t[r]);var l=arguments.length-2;if(l===1)i.children=n;else if(1<l){for(var c=Array(l),u=0;u<l;u++)c[u]=arguments[u+2];i.children=c}if(e&&e.defaultProps)for(r in l=e.defaultProps,l)i[r]===void 0&&(i[r]=l[r]);return{$$typeof:vu,type:e,key:o,ref:a,props:i,_owner:a1.current}}function uA(e,t){return{$$typeof:vu,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}function s1(e){return typeof e=="object"&&e!==null&&e.$$typeof===vu}function dA(e){var t={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,function(n){return t[n]})}var Xx=/\/+/g;function uh(e,t){return typeof e=="object"&&e!==null&&e.key!=null?dA(""+e.key):t.toString(36)}function Yd(e,t,n,r,i){var o=typeof e;(o==="undefined"||o==="boolean")&&(e=null);var a=!1;if(e===null)a=!0;else switch(o){case"string":case"number":a=!0;break;case"object":switch(e.$$typeof){case vu:case JE:a=!0}}if(a)return a=e,i=i(a),e=r===""?"."+uh(a,0):r,qx(i)?(n="",e!=null&&(n=e.replace(Xx,"$&/")+"/"),Yd(i,t,n,"",function(u){return u})):i!=null&&(s1(i)&&(i=uA(i,n+(!i.key||a&&a.key===i.key?"":(""+i.key).replace(Xx,"$&/")+"/")+e)),t.push(i)),1;if(a=0,r=r===""?".":r+":",qx(e))for(var l=0;l<e.length;l++){o=e[l];var c=r+uh(o,l);a+=Yd(o,t,n,c,i)}else if(c=cA(e),typeof c=="function")for(e=c.call(e),l=0;!(o=e.next()).done;)o=o.value,c=r+uh(o,l++),a+=Yd(o,t,n,c,i);else if(o==="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 a}function rd(e,t,n){if(e==null)return e;var r=[],i=0;return Yd(e,r,"","",function(o){return t.call(n,o,i++)}),r}function fA(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 xn={current:null},Qd={transition:null},pA={ReactCurrentDispatcher:xn,ReactCurrentBatchConfig:Qd,ReactCurrentOwner:a1};function Gk(){throw Error("act(...) is not supported in production builds of React.")}Pe.Children={map:rd,forEach:function(e,t,n){rd(e,function(){t.apply(this,arguments)},n)},count:function(e){var t=0;return rd(e,function(){t++}),t},toArray:function(e){return rd(e,function(t){return t})||[]},only:function(e){if(!s1(e))throw Error("React.Children.only expected to receive a single React element child.");return e}};Pe.Component=cl;Pe.Fragment=eA;Pe.Profiler=nA;Pe.PureComponent=i1;Pe.StrictMode=tA;Pe.Suspense=aA;Pe.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=pA;Pe.act=Gk;Pe.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=Fk({},e.props),i=e.key,o=e.ref,a=e._owner;if(t!=null){if(t.ref!==void 0&&(o=t.ref,a=a1.current),t.key!==void 0&&(i=""+t.key),e.type&&e.type.defaultProps)var l=e.type.defaultProps;for(c in t)Vk.call(t,c)&&!Uk.hasOwnProperty(c)&&(r[c]=t[c]===void 0&&l!==void 0?l[c]:t[c])}var c=arguments.length-2;if(c===1)r.children=n;else if(1<c){l=Array(c);for(var u=0;u<c;u++)l[u]=arguments[u+2];r.children=l}return{$$typeof:vu,type:e.type,key:i,ref:o,props:r,_owner:a}};Pe.createContext=function(e){return e={$$typeof:iA,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null},e.Provider={$$typeof:rA,_context:e},e.Consumer=e};Pe.createElement=Hk;Pe.createFactory=function(e){var t=Hk.bind(null,e);return t.type=e,t};Pe.createRef=function(){return{current:null}};Pe.forwardRef=function(e){return{$$typeof:oA,render:e}};Pe.isValidElement=s1;Pe.lazy=function(e){return{$$typeof:lA,_payload:{_status:-1,_result:e},_init:fA}};Pe.memo=function(e,t){return{$$typeof:sA,type:e,compare:t===void 0?null:t}};Pe.startTransition=function(e){var t=Qd.transition;Qd.transition={};try{e()}finally{Qd.transition=t}};Pe.unstable_act=Gk;Pe.useCallback=function(e,t){return xn.current.useCallback(e,t)};Pe.useContext=function(e){return xn.current.useContext(e)};Pe.useDebugValue=function(){};Pe.useDeferredValue=function(e){return xn.current.useDeferredValue(e)};Pe.useEffect=function(e,t){return xn.current.useEffect(e,t)};Pe.useId=function(){return xn.current.useId()};Pe.useImperativeHandle=function(e,t,n){return xn.current.useImperativeHandle(e,t,n)};Pe.useInsertionEffect=function(e,t){return xn.current.useInsertionEffect(e,t)};Pe.useLayoutEffect=function(e,t){return xn.current.useLayoutEffect(e,t)};Pe.useMemo=function(e,t){return xn.current.useMemo(e,t)};Pe.useReducer=function(e,t,n){return xn.current.useReducer(e,t,n)};Pe.useRef=function(e){return xn.current.useRef(e)};Pe.useState=function(e){return xn.current.useState(e)};Pe.useSyncExternalStore=function(e,t,n){return xn.current.useSyncExternalStore(e,t,n)};Pe.useTransition=function(){return xn.current.useTransition()};Pe.version="18.3.1";Dk.exports=Pe;var m=Dk.exports;const Xt=r1(m),U0=ZE({__proto__:null,default:Xt},[m]);/**
|
||
* @license React
|
||
* react-jsx-runtime.production.min.js
|
||
*
|
||
* Copyright (c) Facebook, Inc. and its affiliates.
|
||
*
|
||
* This source code is licensed under the MIT license found in the
|
||
* LICENSE file in the root directory of this source tree.
|
||
*/var mA=m,hA=Symbol.for("react.element"),gA=Symbol.for("react.fragment"),vA=Object.prototype.hasOwnProperty,yA=mA.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,bA={key:!0,ref:!0,__self:!0,__source:!0};function Kk(e,t,n){var r,i={},o=null,a=null;n!==void 0&&(o=""+n),t.key!==void 0&&(o=""+t.key),t.ref!==void 0&&(a=t.ref);for(r in t)vA.call(t,r)&&!bA.hasOwnProperty(r)&&(i[r]=t[r]);if(e&&e.defaultProps)for(r in t=e.defaultProps,t)i[r]===void 0&&(i[r]=t[r]);return{$$typeof:hA,type:e,key:o,ref:a,props:i,_owner:yA.current}}Op.Fragment=gA;Op.jsx=Kk;Op.jsxs=Kk;Nk.exports=Op;var s=Nk.exports,H0={},qk={exports:{}},Gn={},Xk={exports:{}},Yk={};/**
|
||
* @license React
|
||
* scheduler.production.min.js
|
||
*
|
||
* Copyright (c) Facebook, Inc. and its affiliates.
|
||
*
|
||
* This source code is licensed under the MIT license found in the
|
||
* LICENSE file in the root directory of this source tree.
|
||
*/(function(e){function t(F,M){var G=F.length;F.push(M);e:for(;0<G;){var Z=G-1>>>1,ae=F[Z];if(0<i(ae,M))F[Z]=M,F[G]=ae,G=Z;else break e}}function n(F){return F.length===0?null:F[0]}function r(F){if(F.length===0)return null;var M=F[0],G=F.pop();if(G!==M){F[0]=G;e:for(var Z=0,ae=F.length,oe=ae>>>1;Z<oe;){var Q=2*(Z+1)-1,ue=F[Q],ce=Q+1,Be=F[ce];if(0>i(ue,G))ce<ae&&0>i(Be,ue)?(F[Z]=Be,F[ce]=G,Z=ce):(F[Z]=ue,F[Q]=G,Z=Q);else if(ce<ae&&0>i(Be,G))F[Z]=Be,F[ce]=G,Z=ce;else break e}}return M}function i(F,M){var G=F.sortIndex-M.sortIndex;return G!==0?G:F.id-M.id}if(typeof performance=="object"&&typeof performance.now=="function"){var o=performance;e.unstable_now=function(){return o.now()}}else{var a=Date,l=a.now();e.unstable_now=function(){return a.now()-l}}var c=[],u=[],d=1,f=null,p=3,h=!1,v=!1,b=!1,x=typeof setTimeout=="function"?setTimeout:null,y=typeof clearTimeout=="function"?clearTimeout:null,g=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function S(F){for(var M=n(u);M!==null;){if(M.callback===null)r(u);else if(M.startTime<=F)r(u),M.sortIndex=M.expirationTime,t(c,M);else break;M=n(u)}}function w(F){if(b=!1,S(F),!v)if(n(c)!==null)v=!0,N(k);else{var M=n(u);M!==null&&R(w,M.startTime-F)}}function k(F,M){v=!1,b&&(b=!1,y(j),j=-1),h=!0;var G=p;try{for(S(M),f=n(c);f!==null&&(!(f.expirationTime>M)||F&&!W());){var Z=f.callback;if(typeof Z=="function"){f.callback=null,p=f.priorityLevel;var ae=Z(f.expirationTime<=M);M=e.unstable_now(),typeof ae=="function"?f.callback=ae:f===n(c)&&r(c),S(M)}else r(c);f=n(c)}if(f!==null)var oe=!0;else{var Q=n(u);Q!==null&&R(w,Q.startTime-M),oe=!1}return oe}finally{f=null,p=G,h=!1}}var P=!1,_=null,j=-1,z=5,$=-1;function W(){return!(e.unstable_now()-$<z)}function Y(){if(_!==null){var F=e.unstable_now();$=F;var M=!0;try{M=_(!0,F)}finally{M?ee():(P=!1,_=null)}}else P=!1}var ee;if(typeof g=="function")ee=function(){g(Y)};else if(typeof MessageChannel<"u"){var I=new MessageChannel,L=I.port2;I.port1.onmessage=Y,ee=function(){L.postMessage(null)}}else ee=function(){x(Y,0)};function N(F){_=F,P||(P=!0,ee())}function R(F,M){j=x(function(){F(e.unstable_now())},M)}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(F){F.callback=null},e.unstable_continueExecution=function(){v||h||(v=!0,N(k))},e.unstable_forceFrameRate=function(F){0>F||125<F?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):z=0<F?Math.floor(1e3/F):5},e.unstable_getCurrentPriorityLevel=function(){return p},e.unstable_getFirstCallbackNode=function(){return n(c)},e.unstable_next=function(F){switch(p){case 1:case 2:case 3:var M=3;break;default:M=p}var G=p;p=M;try{return F()}finally{p=G}},e.unstable_pauseExecution=function(){},e.unstable_requestPaint=function(){},e.unstable_runWithPriority=function(F,M){switch(F){case 1:case 2:case 3:case 4:case 5:break;default:F=3}var G=p;p=F;try{return M()}finally{p=G}},e.unstable_scheduleCallback=function(F,M,G){var Z=e.unstable_now();switch(typeof G=="object"&&G!==null?(G=G.delay,G=typeof G=="number"&&0<G?Z+G:Z):G=Z,F){case 1:var ae=-1;break;case 2:ae=250;break;case 5:ae=1073741823;break;case 4:ae=1e4;break;default:ae=5e3}return ae=G+ae,F={id:d++,callback:M,priorityLevel:F,startTime:G,expirationTime:ae,sortIndex:-1},G>Z?(F.sortIndex=G,t(u,F),n(c)===null&&F===n(u)&&(b?(y(j),j=-1):b=!0,R(w,G-Z))):(F.sortIndex=ae,t(c,F),v||h||(v=!0,N(k))),F},e.unstable_shouldYield=W,e.unstable_wrapCallback=function(F){var M=p;return function(){var G=p;p=M;try{return F.apply(this,arguments)}finally{p=G}}}})(Yk);Xk.exports=Yk;var xA=Xk.exports;/**
|
||
* @license React
|
||
* react-dom.production.min.js
|
||
*
|
||
* Copyright (c) Facebook, Inc. and its affiliates.
|
||
*
|
||
* This source code is licensed under the MIT license found in the
|
||
* LICENSE file in the root directory of this source tree.
|
||
*/var SA=m,Vn=xA;function U(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 Qk=new Set,Ec={};function Aa(e,t){Bs(e,t),Bs(e+"Capture",t)}function Bs(e,t){for(Ec[e]=t,e=0;e<t.length;e++)Qk.add(t[e])}var Si=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),G0=Object.prototype.hasOwnProperty,wA=/^[: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]*$/,Yx={},Qx={};function kA(e){return G0.call(Qx,e)?!0:G0.call(Yx,e)?!1:wA.test(e)?Qx[e]=!0:(Yx[e]=!0,!1)}function CA(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 jA(e,t,n,r){if(t===null||typeof t>"u"||CA(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 Sn(e,t,n,r,i,o,a){this.acceptsBooleans=t===2||t===3||t===4,this.attributeName=r,this.attributeNamespace=i,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=o,this.removeEmptyString=a}var en={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){en[e]=new Sn(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];en[t]=new Sn(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){en[e]=new Sn(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){en[e]=new Sn(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){en[e]=new Sn(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){en[e]=new Sn(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){en[e]=new Sn(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){en[e]=new Sn(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){en[e]=new Sn(e,5,!1,e.toLowerCase(),null,!1,!1)});var l1=/[\-:]([a-z])/g;function c1(e){return e[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(e){var t=e.replace(l1,c1);en[t]=new Sn(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(l1,c1);en[t]=new Sn(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(l1,c1);en[t]=new Sn(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){en[e]=new Sn(e,1,!1,e.toLowerCase(),null,!1,!1)});en.xlinkHref=new Sn("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){en[e]=new Sn(e,1,!1,e.toLowerCase(),null,!0,!0)});function u1(e,t,n,r){var i=en.hasOwnProperty(t)?en[t]:null;(i!==null?i.type!==0:r||!(2<t.length)||t[0]!=="o"&&t[0]!=="O"||t[1]!=="n"&&t[1]!=="N")&&(jA(t,n,i,r)&&(n=null),r||i===null?kA(t)&&(n===null?e.removeAttribute(t):e.setAttribute(t,""+n)):i.mustUseProperty?e[i.propertyName]=n===null?i.type===3?!1:"":n:(t=i.attributeName,r=i.attributeNamespace,n===null?e.removeAttribute(t):(i=i.type,n=i===3||i===4&&n===!0?"":""+n,r?e.setAttributeNS(r,t,n):e.setAttribute(t,n))))}var Ai=SA.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,id=Symbol.for("react.element"),Xa=Symbol.for("react.portal"),Ya=Symbol.for("react.fragment"),d1=Symbol.for("react.strict_mode"),K0=Symbol.for("react.profiler"),Zk=Symbol.for("react.provider"),Jk=Symbol.for("react.context"),f1=Symbol.for("react.forward_ref"),q0=Symbol.for("react.suspense"),X0=Symbol.for("react.suspense_list"),p1=Symbol.for("react.memo"),Vi=Symbol.for("react.lazy"),e5=Symbol.for("react.offscreen"),Zx=Symbol.iterator;function jl(e){return e===null||typeof e!="object"?null:(e=Zx&&e[Zx]||e["@@iterator"],typeof e=="function"?e:null)}var ht=Object.assign,dh;function Wl(e){if(dh===void 0)try{throw Error()}catch(n){var t=n.stack.trim().match(/\n( *(at )?)/);dh=t&&t[1]||""}return`
|
||
`+dh+e}var fh=!1;function ph(e,t){if(!e||fh)return"";fh=!0;var n=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(t)if(t=function(){throw Error()},Object.defineProperty(t.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(t,[])}catch(u){var r=u}Reflect.construct(e,[],t)}else{try{t.call()}catch(u){r=u}e.call(t.prototype)}else{try{throw Error()}catch(u){r=u}e()}}catch(u){if(u&&r&&typeof u.stack=="string"){for(var i=u.stack.split(`
|
||
`),o=r.stack.split(`
|
||
`),a=i.length-1,l=o.length-1;1<=a&&0<=l&&i[a]!==o[l];)l--;for(;1<=a&&0<=l;a--,l--)if(i[a]!==o[l]){if(a!==1||l!==1)do if(a--,l--,0>l||i[a]!==o[l]){var c=`
|
||
`+i[a].replace(" at new "," at ");return e.displayName&&c.includes("<anonymous>")&&(c=c.replace("<anonymous>",e.displayName)),c}while(1<=a&&0<=l);break}}}finally{fh=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?Wl(e):""}function PA(e){switch(e.tag){case 5:return Wl(e.type);case 16:return Wl("Lazy");case 13:return Wl("Suspense");case 19:return Wl("SuspenseList");case 0:case 2:case 15:return e=ph(e.type,!1),e;case 11:return e=ph(e.type.render,!1),e;case 1:return e=ph(e.type,!0),e;default:return""}}function Y0(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 Ya:return"Fragment";case Xa:return"Portal";case K0:return"Profiler";case d1:return"StrictMode";case q0:return"Suspense";case X0:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case Jk:return(e.displayName||"Context")+".Consumer";case Zk:return(e._context.displayName||"Context")+".Provider";case f1:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case p1:return t=e.displayName||null,t!==null?t:Y0(e.type)||"Memo";case Vi:t=e._payload,e=e._init;try{return Y0(e(t))}catch{}}return null}function _A(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 Y0(t);case 8:return t===d1?"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 mo(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function t5(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function TA(e){var t=t5(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&typeof n<"u"&&typeof n.get=="function"&&typeof n.set=="function"){var i=n.get,o=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return i.call(this)},set:function(a){r=""+a,o.call(this,a)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(a){r=""+a},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function od(e){e._valueTracker||(e._valueTracker=TA(e))}function n5(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=t5(e)?e.checked?"true":"false":e.value),e=r,e!==n?(t.setValue(e),!0):!1}function Ff(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 Q0(e,t){var n=t.checked;return ht({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n??e._wrapperState.initialChecked})}function Jx(e,t){var n=t.defaultValue==null?"":t.defaultValue,r=t.checked!=null?t.checked:t.defaultChecked;n=mo(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 r5(e,t){t=t.checked,t!=null&&u1(e,"checked",t,!1)}function Z0(e,t){r5(e,t);var n=mo(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")?J0(e,t.type,n):t.hasOwnProperty("defaultValue")&&J0(e,t.type,mo(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function e2(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 J0(e,t,n){(t!=="number"||Ff(e.ownerDocument)!==e)&&(n==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var Vl=Array.isArray;function Cs(e,t,n,r){if(e=e.options,t){t={};for(var i=0;i<n.length;i++)t["$"+n[i]]=!0;for(n=0;n<e.length;n++)i=t.hasOwnProperty("$"+e[n].value),e[n].selected!==i&&(e[n].selected=i),i&&r&&(e[n].defaultSelected=!0)}else{for(n=""+mo(n),t=null,i=0;i<e.length;i++){if(e[i].value===n){e[i].selected=!0,r&&(e[i].defaultSelected=!0);return}t!==null||e[i].disabled||(t=e[i])}t!==null&&(t.selected=!0)}}function eg(e,t){if(t.dangerouslySetInnerHTML!=null)throw Error(U(91));return ht({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function t2(e,t){var n=t.value;if(n==null){if(n=t.children,t=t.defaultValue,n!=null){if(t!=null)throw Error(U(92));if(Vl(n)){if(1<n.length)throw Error(U(93));n=n[0]}t=n}t==null&&(t=""),n=t}e._wrapperState={initialValue:mo(n)}}function i5(e,t){var n=mo(t.value),r=mo(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 n2(e){var t=e.textContent;t===e._wrapperState.initialValue&&t!==""&&t!==null&&(e.value=t)}function o5(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 tg(e,t){return e==null||e==="http://www.w3.org/1999/xhtml"?o5(t):e==="http://www.w3.org/2000/svg"&&t==="foreignObject"?"http://www.w3.org/1999/xhtml":e}var ad,a5=function(e){return typeof MSApp<"u"&&MSApp.execUnsafeLocalFunction?function(t,n,r,i){MSApp.execUnsafeLocalFunction(function(){return e(t,n,r,i)})}:e}(function(e,t){if(e.namespaceURI!=="http://www.w3.org/2000/svg"||"innerHTML"in e)e.innerHTML=t;else{for(ad=ad||document.createElement("div"),ad.innerHTML="<svg>"+t.valueOf().toString()+"</svg>",t=ad.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function Ac(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var ic={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},EA=["Webkit","ms","Moz","O"];Object.keys(ic).forEach(function(e){EA.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),ic[t]=ic[e]})});function s5(e,t,n){return t==null||typeof t=="boolean"||t===""?"":n||typeof t!="number"||t===0||ic.hasOwnProperty(e)&&ic[e]?(""+t).trim():t+"px"}function l5(e,t){e=e.style;for(var n in t)if(t.hasOwnProperty(n)){var r=n.indexOf("--")===0,i=s5(n,t[n],r);n==="float"&&(n="cssFloat"),r?e.setProperty(n,i):e[n]=i}}var AA=ht({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 ng(e,t){if(t){if(AA[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(U(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(U(60));if(typeof t.dangerouslySetInnerHTML!="object"||!("__html"in t.dangerouslySetInnerHTML))throw Error(U(61))}if(t.style!=null&&typeof t.style!="object")throw Error(U(62))}}function rg(e,t){if(e.indexOf("-")===-1)return typeof t.is=="string";switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var ig=null;function m1(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var og=null,js=null,Ps=null;function r2(e){if(e=xu(e)){if(typeof og!="function")throw Error(U(280));var t=e.stateNode;t&&(t=Up(t),og(e.stateNode,e.type,t))}}function c5(e){js?Ps?Ps.push(e):Ps=[e]:js=e}function u5(){if(js){var e=js,t=Ps;if(Ps=js=null,r2(e),t)for(e=0;e<t.length;e++)r2(t[e])}}function d5(e,t){return e(t)}function f5(){}var mh=!1;function p5(e,t,n){if(mh)return e(t,n);mh=!0;try{return d5(e,t,n)}finally{mh=!1,(js!==null||Ps!==null)&&(f5(),u5())}}function $c(e,t){var n=e.stateNode;if(n===null)return null;var r=Up(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(U(231,t,typeof n));return n}var ag=!1;if(Si)try{var Pl={};Object.defineProperty(Pl,"passive",{get:function(){ag=!0}}),window.addEventListener("test",Pl,Pl),window.removeEventListener("test",Pl,Pl)}catch{ag=!1}function $A(e,t,n,r,i,o,a,l,c){var u=Array.prototype.slice.call(arguments,3);try{t.apply(n,u)}catch(d){this.onError(d)}}var oc=!1,Bf=null,Wf=!1,sg=null,zA={onError:function(e){oc=!0,Bf=e}};function RA(e,t,n,r,i,o,a,l,c){oc=!1,Bf=null,$A.apply(zA,arguments)}function IA(e,t,n,r,i,o,a,l,c){if(RA.apply(this,arguments),oc){if(oc){var u=Bf;oc=!1,Bf=null}else throw Error(U(198));Wf||(Wf=!0,sg=u)}}function $a(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 m5(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 i2(e){if($a(e)!==e)throw Error(U(188))}function MA(e){var t=e.alternate;if(!t){if(t=$a(e),t===null)throw Error(U(188));return t!==e?null:e}for(var n=e,r=t;;){var i=n.return;if(i===null)break;var o=i.alternate;if(o===null){if(r=i.return,r!==null){n=r;continue}break}if(i.child===o.child){for(o=i.child;o;){if(o===n)return i2(i),e;if(o===r)return i2(i),t;o=o.sibling}throw Error(U(188))}if(n.return!==r.return)n=i,r=o;else{for(var a=!1,l=i.child;l;){if(l===n){a=!0,n=i,r=o;break}if(l===r){a=!0,r=i,n=o;break}l=l.sibling}if(!a){for(l=o.child;l;){if(l===n){a=!0,n=o,r=i;break}if(l===r){a=!0,r=o,n=i;break}l=l.sibling}if(!a)throw Error(U(189))}}if(n.alternate!==r)throw Error(U(190))}if(n.tag!==3)throw Error(U(188));return n.stateNode.current===n?e:t}function h5(e){return e=MA(e),e!==null?g5(e):null}function g5(e){if(e.tag===5||e.tag===6)return e;for(e=e.child;e!==null;){var t=g5(e);if(t!==null)return t;e=e.sibling}return null}var v5=Vn.unstable_scheduleCallback,o2=Vn.unstable_cancelCallback,LA=Vn.unstable_shouldYield,NA=Vn.unstable_requestPaint,Ct=Vn.unstable_now,DA=Vn.unstable_getCurrentPriorityLevel,h1=Vn.unstable_ImmediatePriority,y5=Vn.unstable_UserBlockingPriority,Vf=Vn.unstable_NormalPriority,OA=Vn.unstable_LowPriority,b5=Vn.unstable_IdlePriority,Fp=null,Hr=null;function FA(e){if(Hr&&typeof Hr.onCommitFiberRoot=="function")try{Hr.onCommitFiberRoot(Fp,e,void 0,(e.current.flags&128)===128)}catch{}}var jr=Math.clz32?Math.clz32:VA,BA=Math.log,WA=Math.LN2;function VA(e){return e>>>=0,e===0?32:31-(BA(e)/WA|0)|0}var sd=64,ld=4194304;function Ul(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 Uf(e,t){var n=e.pendingLanes;if(n===0)return 0;var r=0,i=e.suspendedLanes,o=e.pingedLanes,a=n&268435455;if(a!==0){var l=a&~i;l!==0?r=Ul(l):(o&=a,o!==0&&(r=Ul(o)))}else a=n&~i,a!==0?r=Ul(a):o!==0&&(r=Ul(o));if(r===0)return 0;if(t!==0&&t!==r&&!(t&i)&&(i=r&-r,o=t&-t,i>=o||i===16&&(o&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-jr(t),i=1<<n,r|=e[n],t&=~i;return r}function UA(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 HA(e,t){for(var n=e.suspendedLanes,r=e.pingedLanes,i=e.expirationTimes,o=e.pendingLanes;0<o;){var a=31-jr(o),l=1<<a,c=i[a];c===-1?(!(l&n)||l&r)&&(i[a]=UA(l,t)):c<=t&&(e.expiredLanes|=l),o&=~l}}function lg(e){return e=e.pendingLanes&-1073741825,e!==0?e:e&1073741824?1073741824:0}function x5(){var e=sd;return sd<<=1,!(sd&4194240)&&(sd=64),e}function hh(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function yu(e,t,n){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-jr(t),e[t]=n}function GA(e,t){var n=e.pendingLanes&~t;e.pendingLanes=t,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=t,e.mutableReadLanes&=t,e.entangledLanes&=t,t=e.entanglements;var r=e.eventTimes;for(e=e.expirationTimes;0<n;){var i=31-jr(n),o=1<<i;t[i]=0,r[i]=-1,e[i]=-1,n&=~o}}function g1(e,t){var n=e.entangledLanes|=t;for(e=e.entanglements;n;){var r=31-jr(n),i=1<<r;i&t|e[r]&t&&(e[r]|=t),n&=~i}}var Ue=0;function S5(e){return e&=-e,1<e?4<e?e&268435455?16:536870912:4:1}var w5,v1,k5,C5,j5,cg=!1,cd=[],io=null,oo=null,ao=null,zc=new Map,Rc=new Map,Gi=[],KA="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 a2(e,t){switch(e){case"focusin":case"focusout":io=null;break;case"dragenter":case"dragleave":oo=null;break;case"mouseover":case"mouseout":ao=null;break;case"pointerover":case"pointerout":zc.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":Rc.delete(t.pointerId)}}function _l(e,t,n,r,i,o){return e===null||e.nativeEvent!==o?(e={blockedOn:t,domEventName:n,eventSystemFlags:r,nativeEvent:o,targetContainers:[i]},t!==null&&(t=xu(t),t!==null&&v1(t)),e):(e.eventSystemFlags|=r,t=e.targetContainers,i!==null&&t.indexOf(i)===-1&&t.push(i),e)}function qA(e,t,n,r,i){switch(t){case"focusin":return io=_l(io,e,t,n,r,i),!0;case"dragenter":return oo=_l(oo,e,t,n,r,i),!0;case"mouseover":return ao=_l(ao,e,t,n,r,i),!0;case"pointerover":var o=i.pointerId;return zc.set(o,_l(zc.get(o)||null,e,t,n,r,i)),!0;case"gotpointercapture":return o=i.pointerId,Rc.set(o,_l(Rc.get(o)||null,e,t,n,r,i)),!0}return!1}function P5(e){var t=Xo(e.target);if(t!==null){var n=$a(t);if(n!==null){if(t=n.tag,t===13){if(t=m5(n),t!==null){e.blockedOn=t,j5(e.priority,function(){k5(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 Zd(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;0<t.length;){var n=ug(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(n===null){n=e.nativeEvent;var r=new n.constructor(n.type,n);ig=r,n.target.dispatchEvent(r),ig=null}else return t=xu(n),t!==null&&v1(t),e.blockedOn=n,!1;t.shift()}return!0}function s2(e,t,n){Zd(e)&&n.delete(t)}function XA(){cg=!1,io!==null&&Zd(io)&&(io=null),oo!==null&&Zd(oo)&&(oo=null),ao!==null&&Zd(ao)&&(ao=null),zc.forEach(s2),Rc.forEach(s2)}function Tl(e,t){e.blockedOn===t&&(e.blockedOn=null,cg||(cg=!0,Vn.unstable_scheduleCallback(Vn.unstable_NormalPriority,XA)))}function Ic(e){function t(i){return Tl(i,e)}if(0<cd.length){Tl(cd[0],e);for(var n=1;n<cd.length;n++){var r=cd[n];r.blockedOn===e&&(r.blockedOn=null)}}for(io!==null&&Tl(io,e),oo!==null&&Tl(oo,e),ao!==null&&Tl(ao,e),zc.forEach(t),Rc.forEach(t),n=0;n<Gi.length;n++)r=Gi[n],r.blockedOn===e&&(r.blockedOn=null);for(;0<Gi.length&&(n=Gi[0],n.blockedOn===null);)P5(n),n.blockedOn===null&&Gi.shift()}var _s=Ai.ReactCurrentBatchConfig,Hf=!0;function YA(e,t,n,r){var i=Ue,o=_s.transition;_s.transition=null;try{Ue=1,y1(e,t,n,r)}finally{Ue=i,_s.transition=o}}function QA(e,t,n,r){var i=Ue,o=_s.transition;_s.transition=null;try{Ue=4,y1(e,t,n,r)}finally{Ue=i,_s.transition=o}}function y1(e,t,n,r){if(Hf){var i=ug(e,t,n,r);if(i===null)jh(e,t,r,Gf,n),a2(e,r);else if(qA(i,e,t,n,r))r.stopPropagation();else if(a2(e,r),t&4&&-1<KA.indexOf(e)){for(;i!==null;){var o=xu(i);if(o!==null&&w5(o),o=ug(e,t,n,r),o===null&&jh(e,t,r,Gf,n),o===i)break;i=o}i!==null&&r.stopPropagation()}else jh(e,t,r,null,n)}}var Gf=null;function ug(e,t,n,r){if(Gf=null,e=m1(r),e=Xo(e),e!==null)if(t=$a(e),t===null)e=null;else if(n=t.tag,n===13){if(e=m5(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 Gf=e,null}function _5(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(DA()){case h1:return 1;case y5:return 4;case Vf:case OA:return 16;case b5:return 536870912;default:return 16}default:return 16}}var Yi=null,b1=null,Jd=null;function T5(){if(Jd)return Jd;var e,t=b1,n=t.length,r,i="value"in Yi?Yi.value:Yi.textContent,o=i.length;for(e=0;e<n&&t[e]===i[e];e++);var a=n-e;for(r=1;r<=a&&t[n-r]===i[o-r];r++);return Jd=i.slice(e,1<r?1-r:void 0)}function ef(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 ud(){return!0}function l2(){return!1}function Kn(e){function t(n,r,i,o,a){this._reactName=n,this._targetInst=i,this.type=r,this.nativeEvent=o,this.target=a,this.currentTarget=null;for(var l in e)e.hasOwnProperty(l)&&(n=e[l],this[l]=n?n(o):o[l]);return this.isDefaultPrevented=(o.defaultPrevented!=null?o.defaultPrevented:o.returnValue===!1)?ud:l2,this.isPropagationStopped=l2,this}return ht(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=ud)},stopPropagation:function(){var n=this.nativeEvent;n&&(n.stopPropagation?n.stopPropagation():typeof n.cancelBubble!="unknown"&&(n.cancelBubble=!0),this.isPropagationStopped=ud)},persist:function(){},isPersistent:ud}),t}var ul={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},x1=Kn(ul),bu=ht({},ul,{view:0,detail:0}),ZA=Kn(bu),gh,vh,El,Bp=ht({},bu,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:S1,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!==El&&(El&&e.type==="mousemove"?(gh=e.screenX-El.screenX,vh=e.screenY-El.screenY):vh=gh=0,El=e),gh)},movementY:function(e){return"movementY"in e?e.movementY:vh}}),c2=Kn(Bp),JA=ht({},Bp,{dataTransfer:0}),e9=Kn(JA),t9=ht({},bu,{relatedTarget:0}),yh=Kn(t9),n9=ht({},ul,{animationName:0,elapsedTime:0,pseudoElement:0}),r9=Kn(n9),i9=ht({},ul,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),o9=Kn(i9),a9=ht({},ul,{data:0}),u2=Kn(a9),s9={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},l9={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"},c9={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function u9(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):(e=c9[e])?!!t[e]:!1}function S1(){return u9}var d9=ht({},bu,{key:function(e){if(e.key){var t=s9[e.key]||e.key;if(t!=="Unidentified")return t}return e.type==="keypress"?(e=ef(e),e===13?"Enter":String.fromCharCode(e)):e.type==="keydown"||e.type==="keyup"?l9[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:S1,charCode:function(e){return e.type==="keypress"?ef(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?ef(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),f9=Kn(d9),p9=ht({},Bp,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),d2=Kn(p9),m9=ht({},bu,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:S1}),h9=Kn(m9),g9=ht({},ul,{propertyName:0,elapsedTime:0,pseudoElement:0}),v9=Kn(g9),y9=ht({},Bp,{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}),b9=Kn(y9),x9=[9,13,27,32],w1=Si&&"CompositionEvent"in window,ac=null;Si&&"documentMode"in document&&(ac=document.documentMode);var S9=Si&&"TextEvent"in window&&!ac,E5=Si&&(!w1||ac&&8<ac&&11>=ac),f2=" ",p2=!1;function A5(e,t){switch(e){case"keyup":return x9.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function $5(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var Qa=!1;function w9(e,t){switch(e){case"compositionend":return $5(t);case"keypress":return t.which!==32?null:(p2=!0,f2);case"textInput":return e=t.data,e===f2&&p2?null:e;default:return null}}function k9(e,t){if(Qa)return e==="compositionend"||!w1&&A5(e,t)?(e=T5(),Jd=b1=Yi=null,Qa=!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 E5&&t.locale!=="ko"?null:t.data;default:return null}}var C9={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 m2(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t==="input"?!!C9[e.type]:t==="textarea"}function z5(e,t,n,r){c5(r),t=Kf(t,"onChange"),0<t.length&&(n=new x1("onChange","change",null,n,r),e.push({event:n,listeners:t}))}var sc=null,Mc=null;function j9(e){V5(e,0)}function Wp(e){var t=es(e);if(n5(t))return e}function P9(e,t){if(e==="change")return t}var R5=!1;if(Si){var bh;if(Si){var xh="oninput"in document;if(!xh){var h2=document.createElement("div");h2.setAttribute("oninput","return;"),xh=typeof h2.oninput=="function"}bh=xh}else bh=!1;R5=bh&&(!document.documentMode||9<document.documentMode)}function g2(){sc&&(sc.detachEvent("onpropertychange",I5),Mc=sc=null)}function I5(e){if(e.propertyName==="value"&&Wp(Mc)){var t=[];z5(t,Mc,e,m1(e)),p5(j9,t)}}function _9(e,t,n){e==="focusin"?(g2(),sc=t,Mc=n,sc.attachEvent("onpropertychange",I5)):e==="focusout"&&g2()}function T9(e){if(e==="selectionchange"||e==="keyup"||e==="keydown")return Wp(Mc)}function E9(e,t){if(e==="click")return Wp(t)}function A9(e,t){if(e==="input"||e==="change")return Wp(t)}function $9(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var Er=typeof Object.is=="function"?Object.is:$9;function Lc(e,t){if(Er(e,t))return!0;if(typeof e!="object"||e===null||typeof t!="object"||t===null)return!1;var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(r=0;r<n.length;r++){var i=n[r];if(!G0.call(t,i)||!Er(e[i],t[i]))return!1}return!0}function v2(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function y2(e,t){var n=v2(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=v2(n)}}function M5(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?M5(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function L5(){for(var e=window,t=Ff();t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href=="string"}catch{n=!1}if(n)e=t.contentWindow;else break;t=Ff(e.document)}return t}function k1(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 z9(e){var t=L5(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&M5(n.ownerDocument.documentElement,n)){if(r!==null&&k1(n)){if(t=r.start,e=r.end,e===void 0&&(e=t),"selectionStart"in n)n.selectionStart=t,n.selectionEnd=Math.min(e,n.value.length);else if(e=(t=n.ownerDocument||document)&&t.defaultView||window,e.getSelection){e=e.getSelection();var i=n.textContent.length,o=Math.min(r.start,i);r=r.end===void 0?o:Math.min(r.end,i),!e.extend&&o>r&&(i=r,r=o,o=i),i=y2(n,o);var a=y2(n,r);i&&a&&(e.rangeCount!==1||e.anchorNode!==i.node||e.anchorOffset!==i.offset||e.focusNode!==a.node||e.focusOffset!==a.offset)&&(t=t.createRange(),t.setStart(i.node,i.offset),e.removeAllRanges(),o>r?(e.addRange(t),e.extend(a.node,a.offset)):(t.setEnd(a.node,a.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 R9=Si&&"documentMode"in document&&11>=document.documentMode,Za=null,dg=null,lc=null,fg=!1;function b2(e,t,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;fg||Za==null||Za!==Ff(r)||(r=Za,"selectionStart"in r&&k1(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}),lc&&Lc(lc,r)||(lc=r,r=Kf(dg,"onSelect"),0<r.length&&(t=new x1("onSelect","select",null,t,n),e.push({event:t,listeners:r}),t.target=Za)))}function dd(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var Ja={animationend:dd("Animation","AnimationEnd"),animationiteration:dd("Animation","AnimationIteration"),animationstart:dd("Animation","AnimationStart"),transitionend:dd("Transition","TransitionEnd")},Sh={},N5={};Si&&(N5=document.createElement("div").style,"AnimationEvent"in window||(delete Ja.animationend.animation,delete Ja.animationiteration.animation,delete Ja.animationstart.animation),"TransitionEvent"in window||delete Ja.transitionend.transition);function Vp(e){if(Sh[e])return Sh[e];if(!Ja[e])return e;var t=Ja[e],n;for(n in t)if(t.hasOwnProperty(n)&&n in N5)return Sh[e]=t[n];return e}var D5=Vp("animationend"),O5=Vp("animationiteration"),F5=Vp("animationstart"),B5=Vp("transitionend"),W5=new Map,x2="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 ko(e,t){W5.set(e,t),Aa(t,[e])}for(var wh=0;wh<x2.length;wh++){var kh=x2[wh],I9=kh.toLowerCase(),M9=kh[0].toUpperCase()+kh.slice(1);ko(I9,"on"+M9)}ko(D5,"onAnimationEnd");ko(O5,"onAnimationIteration");ko(F5,"onAnimationStart");ko("dblclick","onDoubleClick");ko("focusin","onFocus");ko("focusout","onBlur");ko(B5,"onTransitionEnd");Bs("onMouseEnter",["mouseout","mouseover"]);Bs("onMouseLeave",["mouseout","mouseover"]);Bs("onPointerEnter",["pointerout","pointerover"]);Bs("onPointerLeave",["pointerout","pointerover"]);Aa("onChange","change click focusin focusout input keydown keyup selectionchange".split(" "));Aa("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" "));Aa("onBeforeInput",["compositionend","keypress","textInput","paste"]);Aa("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" "));Aa("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" "));Aa("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Hl="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(" "),L9=new Set("cancel close invalid load scroll toggle".split(" ").concat(Hl));function S2(e,t,n){var r=e.type||"unknown-event";e.currentTarget=n,IA(r,t,void 0,e),e.currentTarget=null}function V5(e,t){t=(t&4)!==0;for(var n=0;n<e.length;n++){var r=e[n],i=r.event;r=r.listeners;e:{var o=void 0;if(t)for(var a=r.length-1;0<=a;a--){var l=r[a],c=l.instance,u=l.currentTarget;if(l=l.listener,c!==o&&i.isPropagationStopped())break e;S2(i,l,u),o=c}else for(a=0;a<r.length;a++){if(l=r[a],c=l.instance,u=l.currentTarget,l=l.listener,c!==o&&i.isPropagationStopped())break e;S2(i,l,u),o=c}}}if(Wf)throw e=sg,Wf=!1,sg=null,e}function Je(e,t){var n=t[vg];n===void 0&&(n=t[vg]=new Set);var r=e+"__bubble";n.has(r)||(U5(t,e,2,!1),n.add(r))}function Ch(e,t,n){var r=0;t&&(r|=4),U5(n,e,r,t)}var fd="_reactListening"+Math.random().toString(36).slice(2);function Nc(e){if(!e[fd]){e[fd]=!0,Qk.forEach(function(n){n!=="selectionchange"&&(L9.has(n)||Ch(n,!1,e),Ch(n,!0,e))});var t=e.nodeType===9?e:e.ownerDocument;t===null||t[fd]||(t[fd]=!0,Ch("selectionchange",!1,t))}}function U5(e,t,n,r){switch(_5(t)){case 1:var i=YA;break;case 4:i=QA;break;default:i=y1}n=i.bind(null,t,n,e),i=void 0,!ag||t!=="touchstart"&&t!=="touchmove"&&t!=="wheel"||(i=!0),r?i!==void 0?e.addEventListener(t,n,{capture:!0,passive:i}):e.addEventListener(t,n,!0):i!==void 0?e.addEventListener(t,n,{passive:i}):e.addEventListener(t,n,!1)}function jh(e,t,n,r,i){var o=r;if(!(t&1)&&!(t&2)&&r!==null)e:for(;;){if(r===null)return;var a=r.tag;if(a===3||a===4){var l=r.stateNode.containerInfo;if(l===i||l.nodeType===8&&l.parentNode===i)break;if(a===4)for(a=r.return;a!==null;){var c=a.tag;if((c===3||c===4)&&(c=a.stateNode.containerInfo,c===i||c.nodeType===8&&c.parentNode===i))return;a=a.return}for(;l!==null;){if(a=Xo(l),a===null)return;if(c=a.tag,c===5||c===6){r=o=a;continue e}l=l.parentNode}}r=r.return}p5(function(){var u=o,d=m1(n),f=[];e:{var p=W5.get(e);if(p!==void 0){var h=x1,v=e;switch(e){case"keypress":if(ef(n)===0)break e;case"keydown":case"keyup":h=f9;break;case"focusin":v="focus",h=yh;break;case"focusout":v="blur",h=yh;break;case"beforeblur":case"afterblur":h=yh;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=c2;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":h=e9;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":h=h9;break;case D5:case O5:case F5:h=r9;break;case B5:h=v9;break;case"scroll":h=ZA;break;case"wheel":h=b9;break;case"copy":case"cut":case"paste":h=o9;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":h=d2}var b=(t&4)!==0,x=!b&&e==="scroll",y=b?p!==null?p+"Capture":null:p;b=[];for(var g=u,S;g!==null;){S=g;var w=S.stateNode;if(S.tag===5&&w!==null&&(S=w,y!==null&&(w=$c(g,y),w!=null&&b.push(Dc(g,w,S)))),x)break;g=g.return}0<b.length&&(p=new h(p,v,null,n,d),f.push({event:p,listeners:b}))}}if(!(t&7)){e:{if(p=e==="mouseover"||e==="pointerover",h=e==="mouseout"||e==="pointerout",p&&n!==ig&&(v=n.relatedTarget||n.fromElement)&&(Xo(v)||v[wi]))break e;if((h||p)&&(p=d.window===d?d:(p=d.ownerDocument)?p.defaultView||p.parentWindow:window,h?(v=n.relatedTarget||n.toElement,h=u,v=v?Xo(v):null,v!==null&&(x=$a(v),v!==x||v.tag!==5&&v.tag!==6)&&(v=null)):(h=null,v=u),h!==v)){if(b=c2,w="onMouseLeave",y="onMouseEnter",g="mouse",(e==="pointerout"||e==="pointerover")&&(b=d2,w="onPointerLeave",y="onPointerEnter",g="pointer"),x=h==null?p:es(h),S=v==null?p:es(v),p=new b(w,g+"leave",h,n,d),p.target=x,p.relatedTarget=S,w=null,Xo(d)===u&&(b=new b(y,g+"enter",v,n,d),b.target=S,b.relatedTarget=x,w=b),x=w,h&&v)t:{for(b=h,y=v,g=0,S=b;S;S=Da(S))g++;for(S=0,w=y;w;w=Da(w))S++;for(;0<g-S;)b=Da(b),g--;for(;0<S-g;)y=Da(y),S--;for(;g--;){if(b===y||y!==null&&b===y.alternate)break t;b=Da(b),y=Da(y)}b=null}else b=null;h!==null&&w2(f,p,h,b,!1),v!==null&&x!==null&&w2(f,x,v,b,!0)}}e:{if(p=u?es(u):window,h=p.nodeName&&p.nodeName.toLowerCase(),h==="select"||h==="input"&&p.type==="file")var k=P9;else if(m2(p))if(R5)k=A9;else{k=T9;var P=_9}else(h=p.nodeName)&&h.toLowerCase()==="input"&&(p.type==="checkbox"||p.type==="radio")&&(k=E9);if(k&&(k=k(e,u))){z5(f,k,n,d);break e}P&&P(e,p,u),e==="focusout"&&(P=p._wrapperState)&&P.controlled&&p.type==="number"&&J0(p,"number",p.value)}switch(P=u?es(u):window,e){case"focusin":(m2(P)||P.contentEditable==="true")&&(Za=P,dg=u,lc=null);break;case"focusout":lc=dg=Za=null;break;case"mousedown":fg=!0;break;case"contextmenu":case"mouseup":case"dragend":fg=!1,b2(f,n,d);break;case"selectionchange":if(R9)break;case"keydown":case"keyup":b2(f,n,d)}var _;if(w1)e:{switch(e){case"compositionstart":var j="onCompositionStart";break e;case"compositionend":j="onCompositionEnd";break e;case"compositionupdate":j="onCompositionUpdate";break e}j=void 0}else Qa?A5(e,n)&&(j="onCompositionEnd"):e==="keydown"&&n.keyCode===229&&(j="onCompositionStart");j&&(E5&&n.locale!=="ko"&&(Qa||j!=="onCompositionStart"?j==="onCompositionEnd"&&Qa&&(_=T5()):(Yi=d,b1="value"in Yi?Yi.value:Yi.textContent,Qa=!0)),P=Kf(u,j),0<P.length&&(j=new u2(j,e,null,n,d),f.push({event:j,listeners:P}),_?j.data=_:(_=$5(n),_!==null&&(j.data=_)))),(_=S9?w9(e,n):k9(e,n))&&(u=Kf(u,"onBeforeInput"),0<u.length&&(d=new u2("onBeforeInput","beforeinput",null,n,d),f.push({event:d,listeners:u}),d.data=_))}V5(f,t)})}function Dc(e,t,n){return{instance:e,listener:t,currentTarget:n}}function Kf(e,t){for(var n=t+"Capture",r=[];e!==null;){var i=e,o=i.stateNode;i.tag===5&&o!==null&&(i=o,o=$c(e,n),o!=null&&r.unshift(Dc(e,o,i)),o=$c(e,t),o!=null&&r.push(Dc(e,o,i))),e=e.return}return r}function Da(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5);return e||null}function w2(e,t,n,r,i){for(var o=t._reactName,a=[];n!==null&&n!==r;){var l=n,c=l.alternate,u=l.stateNode;if(c!==null&&c===r)break;l.tag===5&&u!==null&&(l=u,i?(c=$c(n,o),c!=null&&a.unshift(Dc(n,c,l))):i||(c=$c(n,o),c!=null&&a.push(Dc(n,c,l)))),n=n.return}a.length!==0&&e.push({event:t,listeners:a})}var N9=/\r\n?/g,D9=/\u0000|\uFFFD/g;function k2(e){return(typeof e=="string"?e:""+e).replace(N9,`
|
||
`).replace(D9,"")}function pd(e,t,n){if(t=k2(t),k2(e)!==t&&n)throw Error(U(425))}function qf(){}var pg=null,mg=null;function hg(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 gg=typeof setTimeout=="function"?setTimeout:void 0,O9=typeof clearTimeout=="function"?clearTimeout:void 0,C2=typeof Promise=="function"?Promise:void 0,F9=typeof queueMicrotask=="function"?queueMicrotask:typeof C2<"u"?function(e){return C2.resolve(null).then(e).catch(B9)}:gg;function B9(e){setTimeout(function(){throw e})}function Ph(e,t){var n=t,r=0;do{var i=n.nextSibling;if(e.removeChild(n),i&&i.nodeType===8)if(n=i.data,n==="/$"){if(r===0){e.removeChild(i),Ic(t);return}r--}else n!=="$"&&n!=="$?"&&n!=="$!"||r++;n=i}while(n);Ic(t)}function so(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 j2(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 dl=Math.random().toString(36).slice(2),Fr="__reactFiber$"+dl,Oc="__reactProps$"+dl,wi="__reactContainer$"+dl,vg="__reactEvents$"+dl,W9="__reactListeners$"+dl,V9="__reactHandles$"+dl;function Xo(e){var t=e[Fr];if(t)return t;for(var n=e.parentNode;n;){if(t=n[wi]||n[Fr]){if(n=t.alternate,t.child!==null||n!==null&&n.child!==null)for(e=j2(e);e!==null;){if(n=e[Fr])return n;e=j2(e)}return t}e=n,n=e.parentNode}return null}function xu(e){return e=e[Fr]||e[wi],!e||e.tag!==5&&e.tag!==6&&e.tag!==13&&e.tag!==3?null:e}function es(e){if(e.tag===5||e.tag===6)return e.stateNode;throw Error(U(33))}function Up(e){return e[Oc]||null}var yg=[],ts=-1;function Co(e){return{current:e}}function tt(e){0>ts||(e.current=yg[ts],yg[ts]=null,ts--)}function Ye(e,t){ts++,yg[ts]=e.current,e.current=t}var ho={},pn=Co(ho),Tn=Co(!1),ga=ho;function Ws(e,t){var n=e.type.contextTypes;if(!n)return ho;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var i={},o;for(o in n)i[o]=t[o];return r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=i),i}function En(e){return e=e.childContextTypes,e!=null}function Xf(){tt(Tn),tt(pn)}function P2(e,t,n){if(pn.current!==ho)throw Error(U(168));Ye(pn,t),Ye(Tn,n)}function H5(e,t,n){var r=e.stateNode;if(t=t.childContextTypes,typeof r.getChildContext!="function")return n;r=r.getChildContext();for(var i in r)if(!(i in t))throw Error(U(108,_A(e)||"Unknown",i));return ht({},n,r)}function Yf(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||ho,ga=pn.current,Ye(pn,e),Ye(Tn,Tn.current),!0}function _2(e,t,n){var r=e.stateNode;if(!r)throw Error(U(169));n?(e=H5(e,t,ga),r.__reactInternalMemoizedMergedChildContext=e,tt(Tn),tt(pn),Ye(pn,e)):tt(Tn),Ye(Tn,n)}var oi=null,Hp=!1,_h=!1;function G5(e){oi===null?oi=[e]:oi.push(e)}function U9(e){Hp=!0,G5(e)}function jo(){if(!_h&&oi!==null){_h=!0;var e=0,t=Ue;try{var n=oi;for(Ue=1;e<n.length;e++){var r=n[e];do r=r(!0);while(r!==null)}oi=null,Hp=!1}catch(i){throw oi!==null&&(oi=oi.slice(e+1)),v5(h1,jo),i}finally{Ue=t,_h=!1}}return null}var ns=[],rs=0,Qf=null,Zf=0,rr=[],ir=0,va=null,ui=1,di="";function Wo(e,t){ns[rs++]=Zf,ns[rs++]=Qf,Qf=e,Zf=t}function K5(e,t,n){rr[ir++]=ui,rr[ir++]=di,rr[ir++]=va,va=e;var r=ui;e=di;var i=32-jr(r)-1;r&=~(1<<i),n+=1;var o=32-jr(t)+i;if(30<o){var a=i-i%5;o=(r&(1<<a)-1).toString(32),r>>=a,i-=a,ui=1<<32-jr(t)+i|n<<i|r,di=o+e}else ui=1<<o|n<<i|r,di=e}function C1(e){e.return!==null&&(Wo(e,1),K5(e,1,0))}function j1(e){for(;e===Qf;)Qf=ns[--rs],ns[rs]=null,Zf=ns[--rs],ns[rs]=null;for(;e===va;)va=rr[--ir],rr[ir]=null,di=rr[--ir],rr[ir]=null,ui=rr[--ir],rr[ir]=null}var On=null,Dn=null,lt=!1,wr=null;function q5(e,t){var n=or(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 T2(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,On=e,Dn=so(t.firstChild),!0):!1;case 6:return t=e.pendingProps===""||t.nodeType!==3?null:t,t!==null?(e.stateNode=t,On=e,Dn=null,!0):!1;case 13:return t=t.nodeType!==8?null:t,t!==null?(n=va!==null?{id:ui,overflow:di}:null,e.memoizedState={dehydrated:t,treeContext:n,retryLane:1073741824},n=or(18,null,null,0),n.stateNode=t,n.return=e,e.child=n,On=e,Dn=null,!0):!1;default:return!1}}function bg(e){return(e.mode&1)!==0&&(e.flags&128)===0}function xg(e){if(lt){var t=Dn;if(t){var n=t;if(!T2(e,t)){if(bg(e))throw Error(U(418));t=so(n.nextSibling);var r=On;t&&T2(e,t)?q5(r,n):(e.flags=e.flags&-4097|2,lt=!1,On=e)}}else{if(bg(e))throw Error(U(418));e.flags=e.flags&-4097|2,lt=!1,On=e}}}function E2(e){for(e=e.return;e!==null&&e.tag!==5&&e.tag!==3&&e.tag!==13;)e=e.return;On=e}function md(e){if(e!==On)return!1;if(!lt)return E2(e),lt=!0,!1;var t;if((t=e.tag!==3)&&!(t=e.tag!==5)&&(t=e.type,t=t!=="head"&&t!=="body"&&!hg(e.type,e.memoizedProps)),t&&(t=Dn)){if(bg(e))throw X5(),Error(U(418));for(;t;)q5(e,t),t=so(t.nextSibling)}if(E2(e),e.tag===13){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(U(317));e:{for(e=e.nextSibling,t=0;e;){if(e.nodeType===8){var n=e.data;if(n==="/$"){if(t===0){Dn=so(e.nextSibling);break e}t--}else n!=="$"&&n!=="$!"&&n!=="$?"||t++}e=e.nextSibling}Dn=null}}else Dn=On?so(e.stateNode.nextSibling):null;return!0}function X5(){for(var e=Dn;e;)e=so(e.nextSibling)}function Vs(){Dn=On=null,lt=!1}function P1(e){wr===null?wr=[e]:wr.push(e)}var H9=Ai.ReactCurrentBatchConfig;function Al(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(U(309));var r=n.stateNode}if(!r)throw Error(U(147,e));var i=r,o=""+e;return t!==null&&t.ref!==null&&typeof t.ref=="function"&&t.ref._stringRef===o?t.ref:(t=function(a){var l=i.refs;a===null?delete l[o]:l[o]=a},t._stringRef=o,t)}if(typeof e!="string")throw Error(U(284));if(!n._owner)throw Error(U(290,e))}return e}function hd(e,t){throw e=Object.prototype.toString.call(t),Error(U(31,e==="[object Object]"?"object with keys {"+Object.keys(t).join(", ")+"}":e))}function A2(e){var t=e._init;return t(e._payload)}function Y5(e){function t(y,g){if(e){var S=y.deletions;S===null?(y.deletions=[g],y.flags|=16):S.push(g)}}function n(y,g){if(!e)return null;for(;g!==null;)t(y,g),g=g.sibling;return null}function r(y,g){for(y=new Map;g!==null;)g.key!==null?y.set(g.key,g):y.set(g.index,g),g=g.sibling;return y}function i(y,g){return y=fo(y,g),y.index=0,y.sibling=null,y}function o(y,g,S){return y.index=S,e?(S=y.alternate,S!==null?(S=S.index,S<g?(y.flags|=2,g):S):(y.flags|=2,g)):(y.flags|=1048576,g)}function a(y){return e&&y.alternate===null&&(y.flags|=2),y}function l(y,g,S,w){return g===null||g.tag!==6?(g=Ih(S,y.mode,w),g.return=y,g):(g=i(g,S),g.return=y,g)}function c(y,g,S,w){var k=S.type;return k===Ya?d(y,g,S.props.children,w,S.key):g!==null&&(g.elementType===k||typeof k=="object"&&k!==null&&k.$$typeof===Vi&&A2(k)===g.type)?(w=i(g,S.props),w.ref=Al(y,g,S),w.return=y,w):(w=lf(S.type,S.key,S.props,null,y.mode,w),w.ref=Al(y,g,S),w.return=y,w)}function u(y,g,S,w){return g===null||g.tag!==4||g.stateNode.containerInfo!==S.containerInfo||g.stateNode.implementation!==S.implementation?(g=Mh(S,y.mode,w),g.return=y,g):(g=i(g,S.children||[]),g.return=y,g)}function d(y,g,S,w,k){return g===null||g.tag!==7?(g=oa(S,y.mode,w,k),g.return=y,g):(g=i(g,S),g.return=y,g)}function f(y,g,S){if(typeof g=="string"&&g!==""||typeof g=="number")return g=Ih(""+g,y.mode,S),g.return=y,g;if(typeof g=="object"&&g!==null){switch(g.$$typeof){case id:return S=lf(g.type,g.key,g.props,null,y.mode,S),S.ref=Al(y,null,g),S.return=y,S;case Xa:return g=Mh(g,y.mode,S),g.return=y,g;case Vi:var w=g._init;return f(y,w(g._payload),S)}if(Vl(g)||jl(g))return g=oa(g,y.mode,S,null),g.return=y,g;hd(y,g)}return null}function p(y,g,S,w){var k=g!==null?g.key:null;if(typeof S=="string"&&S!==""||typeof S=="number")return k!==null?null:l(y,g,""+S,w);if(typeof S=="object"&&S!==null){switch(S.$$typeof){case id:return S.key===k?c(y,g,S,w):null;case Xa:return S.key===k?u(y,g,S,w):null;case Vi:return k=S._init,p(y,g,k(S._payload),w)}if(Vl(S)||jl(S))return k!==null?null:d(y,g,S,w,null);hd(y,S)}return null}function h(y,g,S,w,k){if(typeof w=="string"&&w!==""||typeof w=="number")return y=y.get(S)||null,l(g,y,""+w,k);if(typeof w=="object"&&w!==null){switch(w.$$typeof){case id:return y=y.get(w.key===null?S:w.key)||null,c(g,y,w,k);case Xa:return y=y.get(w.key===null?S:w.key)||null,u(g,y,w,k);case Vi:var P=w._init;return h(y,g,S,P(w._payload),k)}if(Vl(w)||jl(w))return y=y.get(S)||null,d(g,y,w,k,null);hd(g,w)}return null}function v(y,g,S,w){for(var k=null,P=null,_=g,j=g=0,z=null;_!==null&&j<S.length;j++){_.index>j?(z=_,_=null):z=_.sibling;var $=p(y,_,S[j],w);if($===null){_===null&&(_=z);break}e&&_&&$.alternate===null&&t(y,_),g=o($,g,j),P===null?k=$:P.sibling=$,P=$,_=z}if(j===S.length)return n(y,_),lt&&Wo(y,j),k;if(_===null){for(;j<S.length;j++)_=f(y,S[j],w),_!==null&&(g=o(_,g,j),P===null?k=_:P.sibling=_,P=_);return lt&&Wo(y,j),k}for(_=r(y,_);j<S.length;j++)z=h(_,y,j,S[j],w),z!==null&&(e&&z.alternate!==null&&_.delete(z.key===null?j:z.key),g=o(z,g,j),P===null?k=z:P.sibling=z,P=z);return e&&_.forEach(function(W){return t(y,W)}),lt&&Wo(y,j),k}function b(y,g,S,w){var k=jl(S);if(typeof k!="function")throw Error(U(150));if(S=k.call(S),S==null)throw Error(U(151));for(var P=k=null,_=g,j=g=0,z=null,$=S.next();_!==null&&!$.done;j++,$=S.next()){_.index>j?(z=_,_=null):z=_.sibling;var W=p(y,_,$.value,w);if(W===null){_===null&&(_=z);break}e&&_&&W.alternate===null&&t(y,_),g=o(W,g,j),P===null?k=W:P.sibling=W,P=W,_=z}if($.done)return n(y,_),lt&&Wo(y,j),k;if(_===null){for(;!$.done;j++,$=S.next())$=f(y,$.value,w),$!==null&&(g=o($,g,j),P===null?k=$:P.sibling=$,P=$);return lt&&Wo(y,j),k}for(_=r(y,_);!$.done;j++,$=S.next())$=h(_,y,j,$.value,w),$!==null&&(e&&$.alternate!==null&&_.delete($.key===null?j:$.key),g=o($,g,j),P===null?k=$:P.sibling=$,P=$);return e&&_.forEach(function(Y){return t(y,Y)}),lt&&Wo(y,j),k}function x(y,g,S,w){if(typeof S=="object"&&S!==null&&S.type===Ya&&S.key===null&&(S=S.props.children),typeof S=="object"&&S!==null){switch(S.$$typeof){case id:e:{for(var k=S.key,P=g;P!==null;){if(P.key===k){if(k=S.type,k===Ya){if(P.tag===7){n(y,P.sibling),g=i(P,S.props.children),g.return=y,y=g;break e}}else if(P.elementType===k||typeof k=="object"&&k!==null&&k.$$typeof===Vi&&A2(k)===P.type){n(y,P.sibling),g=i(P,S.props),g.ref=Al(y,P,S),g.return=y,y=g;break e}n(y,P);break}else t(y,P);P=P.sibling}S.type===Ya?(g=oa(S.props.children,y.mode,w,S.key),g.return=y,y=g):(w=lf(S.type,S.key,S.props,null,y.mode,w),w.ref=Al(y,g,S),w.return=y,y=w)}return a(y);case Xa:e:{for(P=S.key;g!==null;){if(g.key===P)if(g.tag===4&&g.stateNode.containerInfo===S.containerInfo&&g.stateNode.implementation===S.implementation){n(y,g.sibling),g=i(g,S.children||[]),g.return=y,y=g;break e}else{n(y,g);break}else t(y,g);g=g.sibling}g=Mh(S,y.mode,w),g.return=y,y=g}return a(y);case Vi:return P=S._init,x(y,g,P(S._payload),w)}if(Vl(S))return v(y,g,S,w);if(jl(S))return b(y,g,S,w);hd(y,S)}return typeof S=="string"&&S!==""||typeof S=="number"?(S=""+S,g!==null&&g.tag===6?(n(y,g.sibling),g=i(g,S),g.return=y,y=g):(n(y,g),g=Ih(S,y.mode,w),g.return=y,y=g),a(y)):n(y,g)}return x}var Us=Y5(!0),Q5=Y5(!1),Jf=Co(null),ep=null,is=null,_1=null;function T1(){_1=is=ep=null}function E1(e){var t=Jf.current;tt(Jf),e._currentValue=t}function Sg(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 Ts(e,t){ep=e,_1=is=null,e=e.dependencies,e!==null&&e.firstContext!==null&&(e.lanes&t&&(_n=!0),e.firstContext=null)}function cr(e){var t=e._currentValue;if(_1!==e)if(e={context:e,memoizedValue:t,next:null},is===null){if(ep===null)throw Error(U(308));is=e,ep.dependencies={lanes:0,firstContext:e}}else is=is.next=e;return t}var Yo=null;function A1(e){Yo===null?Yo=[e]:Yo.push(e)}function Z5(e,t,n,r){var i=t.interleaved;return i===null?(n.next=n,A1(t)):(n.next=i.next,i.next=n),t.interleaved=n,ki(e,r)}function ki(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 Ui=!1;function $1(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function J5(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 hi(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function lo(e,t,n){var r=e.updateQueue;if(r===null)return null;if(r=r.shared,Re&2){var i=r.pending;return i===null?t.next=t:(t.next=i.next,i.next=t),r.pending=t,ki(e,n)}return i=r.interleaved,i===null?(t.next=t,A1(r)):(t.next=i.next,i.next=t),r.interleaved=t,ki(e,n)}function tf(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,g1(e,n)}}function $2(e,t){var n=e.updateQueue,r=e.alternate;if(r!==null&&(r=r.updateQueue,n===r)){var i=null,o=null;if(n=n.firstBaseUpdate,n!==null){do{var a={eventTime:n.eventTime,lane:n.lane,tag:n.tag,payload:n.payload,callback:n.callback,next:null};o===null?i=o=a:o=o.next=a,n=n.next}while(n!==null);o===null?i=o=t:o=o.next=t}else i=o=t;n={baseState:r.baseState,firstBaseUpdate:i,lastBaseUpdate:o,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 tp(e,t,n,r){var i=e.updateQueue;Ui=!1;var o=i.firstBaseUpdate,a=i.lastBaseUpdate,l=i.shared.pending;if(l!==null){i.shared.pending=null;var c=l,u=c.next;c.next=null,a===null?o=u:a.next=u,a=c;var d=e.alternate;d!==null&&(d=d.updateQueue,l=d.lastBaseUpdate,l!==a&&(l===null?d.firstBaseUpdate=u:l.next=u,d.lastBaseUpdate=c))}if(o!==null){var f=i.baseState;a=0,d=u=c=null,l=o;do{var p=l.lane,h=l.eventTime;if((r&p)===p){d!==null&&(d=d.next={eventTime:h,lane:0,tag:l.tag,payload:l.payload,callback:l.callback,next:null});e:{var v=e,b=l;switch(p=t,h=n,b.tag){case 1:if(v=b.payload,typeof v=="function"){f=v.call(h,f,p);break e}f=v;break e;case 3:v.flags=v.flags&-65537|128;case 0:if(v=b.payload,p=typeof v=="function"?v.call(h,f,p):v,p==null)break e;f=ht({},f,p);break e;case 2:Ui=!0}}l.callback!==null&&l.lane!==0&&(e.flags|=64,p=i.effects,p===null?i.effects=[l]:p.push(l))}else h={eventTime:h,lane:p,tag:l.tag,payload:l.payload,callback:l.callback,next:null},d===null?(u=d=h,c=f):d=d.next=h,a|=p;if(l=l.next,l===null){if(l=i.shared.pending,l===null)break;p=l,l=p.next,p.next=null,i.lastBaseUpdate=p,i.shared.pending=null}}while(!0);if(d===null&&(c=f),i.baseState=c,i.firstBaseUpdate=u,i.lastBaseUpdate=d,t=i.shared.interleaved,t!==null){i=t;do a|=i.lane,i=i.next;while(i!==t)}else o===null&&(i.shared.lanes=0);ba|=a,e.lanes=a,e.memoizedState=f}}function z2(e,t,n){if(e=t.effects,t.effects=null,e!==null)for(t=0;t<e.length;t++){var r=e[t],i=r.callback;if(i!==null){if(r.callback=null,r=n,typeof i!="function")throw Error(U(191,i));i.call(r)}}}var Su={},Gr=Co(Su),Fc=Co(Su),Bc=Co(Su);function Qo(e){if(e===Su)throw Error(U(174));return e}function z1(e,t){switch(Ye(Bc,t),Ye(Fc,e),Ye(Gr,Su),e=t.nodeType,e){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:tg(null,"");break;default:e=e===8?t.parentNode:t,t=e.namespaceURI||null,e=e.tagName,t=tg(t,e)}tt(Gr),Ye(Gr,t)}function Hs(){tt(Gr),tt(Fc),tt(Bc)}function eC(e){Qo(Bc.current);var t=Qo(Gr.current),n=tg(t,e.type);t!==n&&(Ye(Fc,e),Ye(Gr,n))}function R1(e){Fc.current===e&&(tt(Gr),tt(Fc))}var dt=Co(0);function np(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 Th=[];function I1(){for(var e=0;e<Th.length;e++)Th[e]._workInProgressVersionPrimary=null;Th.length=0}var nf=Ai.ReactCurrentDispatcher,Eh=Ai.ReactCurrentBatchConfig,ya=0,pt=null,It=null,Wt=null,rp=!1,cc=!1,Wc=0,G9=0;function nn(){throw Error(U(321))}function M1(e,t){if(t===null)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!Er(e[n],t[n]))return!1;return!0}function L1(e,t,n,r,i,o){if(ya=o,pt=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,nf.current=e===null||e.memoizedState===null?Y9:Q9,e=n(r,i),cc){o=0;do{if(cc=!1,Wc=0,25<=o)throw Error(U(301));o+=1,Wt=It=null,t.updateQueue=null,nf.current=Z9,e=n(r,i)}while(cc)}if(nf.current=ip,t=It!==null&&It.next!==null,ya=0,Wt=It=pt=null,rp=!1,t)throw Error(U(300));return e}function N1(){var e=Wc!==0;return Wc=0,e}function Lr(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return Wt===null?pt.memoizedState=Wt=e:Wt=Wt.next=e,Wt}function ur(){if(It===null){var e=pt.alternate;e=e!==null?e.memoizedState:null}else e=It.next;var t=Wt===null?pt.memoizedState:Wt.next;if(t!==null)Wt=t,It=e;else{if(e===null)throw Error(U(310));It=e,e={memoizedState:It.memoizedState,baseState:It.baseState,baseQueue:It.baseQueue,queue:It.queue,next:null},Wt===null?pt.memoizedState=Wt=e:Wt=Wt.next=e}return Wt}function Vc(e,t){return typeof t=="function"?t(e):t}function Ah(e){var t=ur(),n=t.queue;if(n===null)throw Error(U(311));n.lastRenderedReducer=e;var r=It,i=r.baseQueue,o=n.pending;if(o!==null){if(i!==null){var a=i.next;i.next=o.next,o.next=a}r.baseQueue=i=o,n.pending=null}if(i!==null){o=i.next,r=r.baseState;var l=a=null,c=null,u=o;do{var d=u.lane;if((ya&d)===d)c!==null&&(c=c.next={lane:0,action:u.action,hasEagerState:u.hasEagerState,eagerState:u.eagerState,next:null}),r=u.hasEagerState?u.eagerState:e(r,u.action);else{var f={lane:d,action:u.action,hasEagerState:u.hasEagerState,eagerState:u.eagerState,next:null};c===null?(l=c=f,a=r):c=c.next=f,pt.lanes|=d,ba|=d}u=u.next}while(u!==null&&u!==o);c===null?a=r:c.next=l,Er(r,t.memoizedState)||(_n=!0),t.memoizedState=r,t.baseState=a,t.baseQueue=c,n.lastRenderedState=r}if(e=n.interleaved,e!==null){i=e;do o=i.lane,pt.lanes|=o,ba|=o,i=i.next;while(i!==e)}else i===null&&(n.lanes=0);return[t.memoizedState,n.dispatch]}function $h(e){var t=ur(),n=t.queue;if(n===null)throw Error(U(311));n.lastRenderedReducer=e;var r=n.dispatch,i=n.pending,o=t.memoizedState;if(i!==null){n.pending=null;var a=i=i.next;do o=e(o,a.action),a=a.next;while(a!==i);Er(o,t.memoizedState)||(_n=!0),t.memoizedState=o,t.baseQueue===null&&(t.baseState=o),n.lastRenderedState=o}return[o,r]}function tC(){}function nC(e,t){var n=pt,r=ur(),i=t(),o=!Er(r.memoizedState,i);if(o&&(r.memoizedState=i,_n=!0),r=r.queue,D1(oC.bind(null,n,r,e),[e]),r.getSnapshot!==t||o||Wt!==null&&Wt.memoizedState.tag&1){if(n.flags|=2048,Uc(9,iC.bind(null,n,r,i,t),void 0,null),Vt===null)throw Error(U(349));ya&30||rC(n,t,i)}return i}function rC(e,t,n){e.flags|=16384,e={getSnapshot:t,value:n},t=pt.updateQueue,t===null?(t={lastEffect:null,stores:null},pt.updateQueue=t,t.stores=[e]):(n=t.stores,n===null?t.stores=[e]:n.push(e))}function iC(e,t,n,r){t.value=n,t.getSnapshot=r,aC(t)&&sC(e)}function oC(e,t,n){return n(function(){aC(t)&&sC(e)})}function aC(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!Er(e,n)}catch{return!0}}function sC(e){var t=ki(e,1);t!==null&&Pr(t,e,1,-1)}function R2(e){var t=Lr();return typeof e=="function"&&(e=e()),t.memoizedState=t.baseState=e,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:Vc,lastRenderedState:e},t.queue=e,e=e.dispatch=X9.bind(null,pt,e),[t.memoizedState,e]}function Uc(e,t,n,r){return e={tag:e,create:t,destroy:n,deps:r,next:null},t=pt.updateQueue,t===null?(t={lastEffect:null,stores:null},pt.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 lC(){return ur().memoizedState}function rf(e,t,n,r){var i=Lr();pt.flags|=e,i.memoizedState=Uc(1|t,n,void 0,r===void 0?null:r)}function Gp(e,t,n,r){var i=ur();r=r===void 0?null:r;var o=void 0;if(It!==null){var a=It.memoizedState;if(o=a.destroy,r!==null&&M1(r,a.deps)){i.memoizedState=Uc(t,n,o,r);return}}pt.flags|=e,i.memoizedState=Uc(1|t,n,o,r)}function I2(e,t){return rf(8390656,8,e,t)}function D1(e,t){return Gp(2048,8,e,t)}function cC(e,t){return Gp(4,2,e,t)}function uC(e,t){return Gp(4,4,e,t)}function dC(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 fC(e,t,n){return n=n!=null?n.concat([e]):null,Gp(4,4,dC.bind(null,t,e),n)}function O1(){}function pC(e,t){var n=ur();t=t===void 0?null:t;var r=n.memoizedState;return r!==null&&t!==null&&M1(t,r[1])?r[0]:(n.memoizedState=[e,t],e)}function mC(e,t){var n=ur();t=t===void 0?null:t;var r=n.memoizedState;return r!==null&&t!==null&&M1(t,r[1])?r[0]:(e=e(),n.memoizedState=[e,t],e)}function hC(e,t,n){return ya&21?(Er(n,t)||(n=x5(),pt.lanes|=n,ba|=n,e.baseState=!0),t):(e.baseState&&(e.baseState=!1,_n=!0),e.memoizedState=n)}function K9(e,t){var n=Ue;Ue=n!==0&&4>n?n:4,e(!0);var r=Eh.transition;Eh.transition={};try{e(!1),t()}finally{Ue=n,Eh.transition=r}}function gC(){return ur().memoizedState}function q9(e,t,n){var r=uo(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},vC(e))yC(t,n);else if(n=Z5(e,t,n,r),n!==null){var i=hn();Pr(n,e,r,i),bC(n,t,r)}}function X9(e,t,n){var r=uo(e),i={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(vC(e))yC(t,i);else{var o=e.alternate;if(e.lanes===0&&(o===null||o.lanes===0)&&(o=t.lastRenderedReducer,o!==null))try{var a=t.lastRenderedState,l=o(a,n);if(i.hasEagerState=!0,i.eagerState=l,Er(l,a)){var c=t.interleaved;c===null?(i.next=i,A1(t)):(i.next=c.next,c.next=i),t.interleaved=i;return}}catch{}finally{}n=Z5(e,t,i,r),n!==null&&(i=hn(),Pr(n,e,r,i),bC(n,t,r))}}function vC(e){var t=e.alternate;return e===pt||t!==null&&t===pt}function yC(e,t){cc=rp=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function bC(e,t,n){if(n&4194240){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,g1(e,n)}}var ip={readContext:cr,useCallback:nn,useContext:nn,useEffect:nn,useImperativeHandle:nn,useInsertionEffect:nn,useLayoutEffect:nn,useMemo:nn,useReducer:nn,useRef:nn,useState:nn,useDebugValue:nn,useDeferredValue:nn,useTransition:nn,useMutableSource:nn,useSyncExternalStore:nn,useId:nn,unstable_isNewReconciler:!1},Y9={readContext:cr,useCallback:function(e,t){return Lr().memoizedState=[e,t===void 0?null:t],e},useContext:cr,useEffect:I2,useImperativeHandle:function(e,t,n){return n=n!=null?n.concat([e]):null,rf(4194308,4,dC.bind(null,t,e),n)},useLayoutEffect:function(e,t){return rf(4194308,4,e,t)},useInsertionEffect:function(e,t){return rf(4,2,e,t)},useMemo:function(e,t){var n=Lr();return t=t===void 0?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=Lr();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=q9.bind(null,pt,e),[r.memoizedState,e]},useRef:function(e){var t=Lr();return e={current:e},t.memoizedState=e},useState:R2,useDebugValue:O1,useDeferredValue:function(e){return Lr().memoizedState=e},useTransition:function(){var e=R2(!1),t=e[0];return e=K9.bind(null,e[1]),Lr().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=pt,i=Lr();if(lt){if(n===void 0)throw Error(U(407));n=n()}else{if(n=t(),Vt===null)throw Error(U(349));ya&30||rC(r,t,n)}i.memoizedState=n;var o={value:n,getSnapshot:t};return i.queue=o,I2(oC.bind(null,r,o,e),[e]),r.flags|=2048,Uc(9,iC.bind(null,r,o,n,t),void 0,null),n},useId:function(){var e=Lr(),t=Vt.identifierPrefix;if(lt){var n=di,r=ui;n=(r&~(1<<32-jr(r)-1)).toString(32)+n,t=":"+t+"R"+n,n=Wc++,0<n&&(t+="H"+n.toString(32)),t+=":"}else n=G9++,t=":"+t+"r"+n.toString(32)+":";return e.memoizedState=t},unstable_isNewReconciler:!1},Q9={readContext:cr,useCallback:pC,useContext:cr,useEffect:D1,useImperativeHandle:fC,useInsertionEffect:cC,useLayoutEffect:uC,useMemo:mC,useReducer:Ah,useRef:lC,useState:function(){return Ah(Vc)},useDebugValue:O1,useDeferredValue:function(e){var t=ur();return hC(t,It.memoizedState,e)},useTransition:function(){var e=Ah(Vc)[0],t=ur().memoizedState;return[e,t]},useMutableSource:tC,useSyncExternalStore:nC,useId:gC,unstable_isNewReconciler:!1},Z9={readContext:cr,useCallback:pC,useContext:cr,useEffect:D1,useImperativeHandle:fC,useInsertionEffect:cC,useLayoutEffect:uC,useMemo:mC,useReducer:$h,useRef:lC,useState:function(){return $h(Vc)},useDebugValue:O1,useDeferredValue:function(e){var t=ur();return It===null?t.memoizedState=e:hC(t,It.memoizedState,e)},useTransition:function(){var e=$h(Vc)[0],t=ur().memoizedState;return[e,t]},useMutableSource:tC,useSyncExternalStore:nC,useId:gC,unstable_isNewReconciler:!1};function xr(e,t){if(e&&e.defaultProps){t=ht({},t),e=e.defaultProps;for(var n in e)t[n]===void 0&&(t[n]=e[n]);return t}return t}function wg(e,t,n,r){t=e.memoizedState,n=n(r,t),n=n==null?t:ht({},t,n),e.memoizedState=n,e.lanes===0&&(e.updateQueue.baseState=n)}var Kp={isMounted:function(e){return(e=e._reactInternals)?$a(e)===e:!1},enqueueSetState:function(e,t,n){e=e._reactInternals;var r=hn(),i=uo(e),o=hi(r,i);o.payload=t,n!=null&&(o.callback=n),t=lo(e,o,i),t!==null&&(Pr(t,e,i,r),tf(t,e,i))},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var r=hn(),i=uo(e),o=hi(r,i);o.tag=1,o.payload=t,n!=null&&(o.callback=n),t=lo(e,o,i),t!==null&&(Pr(t,e,i,r),tf(t,e,i))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=hn(),r=uo(e),i=hi(n,r);i.tag=2,t!=null&&(i.callback=t),t=lo(e,i,r),t!==null&&(Pr(t,e,r,n),tf(t,e,r))}};function M2(e,t,n,r,i,o,a){return e=e.stateNode,typeof e.shouldComponentUpdate=="function"?e.shouldComponentUpdate(r,o,a):t.prototype&&t.prototype.isPureReactComponent?!Lc(n,r)||!Lc(i,o):!0}function xC(e,t,n){var r=!1,i=ho,o=t.contextType;return typeof o=="object"&&o!==null?o=cr(o):(i=En(t)?ga:pn.current,r=t.contextTypes,o=(r=r!=null)?Ws(e,i):ho),t=new t(n,o),e.memoizedState=t.state!==null&&t.state!==void 0?t.state:null,t.updater=Kp,e.stateNode=t,t._reactInternals=e,r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=i,e.__reactInternalMemoizedMaskedChildContext=o),t}function L2(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&&Kp.enqueueReplaceState(t,t.state,null)}function kg(e,t,n,r){var i=e.stateNode;i.props=n,i.state=e.memoizedState,i.refs={},$1(e);var o=t.contextType;typeof o=="object"&&o!==null?i.context=cr(o):(o=En(t)?ga:pn.current,i.context=Ws(e,o)),i.state=e.memoizedState,o=t.getDerivedStateFromProps,typeof o=="function"&&(wg(e,t,o,n),i.state=e.memoizedState),typeof t.getDerivedStateFromProps=="function"||typeof i.getSnapshotBeforeUpdate=="function"||typeof i.UNSAFE_componentWillMount!="function"&&typeof i.componentWillMount!="function"||(t=i.state,typeof i.componentWillMount=="function"&&i.componentWillMount(),typeof i.UNSAFE_componentWillMount=="function"&&i.UNSAFE_componentWillMount(),t!==i.state&&Kp.enqueueReplaceState(i,i.state,null),tp(e,n,i,r),i.state=e.memoizedState),typeof i.componentDidMount=="function"&&(e.flags|=4194308)}function Gs(e,t){try{var n="",r=t;do n+=PA(r),r=r.return;while(r);var i=n}catch(o){i=`
|
||
Error generating stack: `+o.message+`
|
||
`+o.stack}return{value:e,source:t,stack:i,digest:null}}function zh(e,t,n){return{value:e,source:null,stack:n??null,digest:t??null}}function Cg(e,t){try{console.error(t.value)}catch(n){setTimeout(function(){throw n})}}var J9=typeof WeakMap=="function"?WeakMap:Map;function SC(e,t,n){n=hi(-1,n),n.tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){ap||(ap=!0,Ig=r),Cg(e,t)},n}function wC(e,t,n){n=hi(-1,n),n.tag=3;var r=e.type.getDerivedStateFromError;if(typeof r=="function"){var i=t.value;n.payload=function(){return r(i)},n.callback=function(){Cg(e,t)}}var o=e.stateNode;return o!==null&&typeof o.componentDidCatch=="function"&&(n.callback=function(){Cg(e,t),typeof r!="function"&&(co===null?co=new Set([this]):co.add(this));var a=t.stack;this.componentDidCatch(t.value,{componentStack:a!==null?a:""})}),n}function N2(e,t,n){var r=e.pingCache;if(r===null){r=e.pingCache=new J9;var i=new Set;r.set(t,i)}else i=r.get(t),i===void 0&&(i=new Set,r.set(t,i));i.has(n)||(i.add(n),e=p$.bind(null,e,t,n),t.then(e,e))}function D2(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 O2(e,t,n,r,i){return e.mode&1?(e.flags|=65536,e.lanes=i,e):(e===t?e.flags|=65536:(e.flags|=128,n.flags|=131072,n.flags&=-52805,n.tag===1&&(n.alternate===null?n.tag=17:(t=hi(-1,1),t.tag=2,lo(n,t,1))),n.lanes|=1),e)}var e$=Ai.ReactCurrentOwner,_n=!1;function mn(e,t,n,r){t.child=e===null?Q5(t,null,n,r):Us(t,e.child,n,r)}function F2(e,t,n,r,i){n=n.render;var o=t.ref;return Ts(t,i),r=L1(e,t,n,r,o,i),n=N1(),e!==null&&!_n?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~i,Ci(e,t,i)):(lt&&n&&C1(t),t.flags|=1,mn(e,t,r,i),t.child)}function B2(e,t,n,r,i){if(e===null){var o=n.type;return typeof o=="function"&&!K1(o)&&o.defaultProps===void 0&&n.compare===null&&n.defaultProps===void 0?(t.tag=15,t.type=o,kC(e,t,o,r,i)):(e=lf(n.type,null,r,t,t.mode,i),e.ref=t.ref,e.return=t,t.child=e)}if(o=e.child,!(e.lanes&i)){var a=o.memoizedProps;if(n=n.compare,n=n!==null?n:Lc,n(a,r)&&e.ref===t.ref)return Ci(e,t,i)}return t.flags|=1,e=fo(o,r),e.ref=t.ref,e.return=t,t.child=e}function kC(e,t,n,r,i){if(e!==null){var o=e.memoizedProps;if(Lc(o,r)&&e.ref===t.ref)if(_n=!1,t.pendingProps=r=o,(e.lanes&i)!==0)e.flags&131072&&(_n=!0);else return t.lanes=e.lanes,Ci(e,t,i)}return jg(e,t,n,r,i)}function CC(e,t,n){var r=t.pendingProps,i=r.children,o=e!==null?e.memoizedState:null;if(r.mode==="hidden")if(!(t.mode&1))t.memoizedState={baseLanes:0,cachePool:null,transitions:null},Ye(as,Nn),Nn|=n;else{if(!(n&1073741824))return e=o!==null?o.baseLanes|n:n,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e,cachePool:null,transitions:null},t.updateQueue=null,Ye(as,Nn),Nn|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},r=o!==null?o.baseLanes:n,Ye(as,Nn),Nn|=r}else o!==null?(r=o.baseLanes|n,t.memoizedState=null):r=n,Ye(as,Nn),Nn|=r;return mn(e,t,i,n),t.child}function jC(e,t){var n=t.ref;(e===null&&n!==null||e!==null&&e.ref!==n)&&(t.flags|=512,t.flags|=2097152)}function jg(e,t,n,r,i){var o=En(n)?ga:pn.current;return o=Ws(t,o),Ts(t,i),n=L1(e,t,n,r,o,i),r=N1(),e!==null&&!_n?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~i,Ci(e,t,i)):(lt&&r&&C1(t),t.flags|=1,mn(e,t,n,i),t.child)}function W2(e,t,n,r,i){if(En(n)){var o=!0;Yf(t)}else o=!1;if(Ts(t,i),t.stateNode===null)of(e,t),xC(t,n,r),kg(t,n,r,i),r=!0;else if(e===null){var a=t.stateNode,l=t.memoizedProps;a.props=l;var c=a.context,u=n.contextType;typeof u=="object"&&u!==null?u=cr(u):(u=En(n)?ga:pn.current,u=Ws(t,u));var d=n.getDerivedStateFromProps,f=typeof d=="function"||typeof a.getSnapshotBeforeUpdate=="function";f||typeof a.UNSAFE_componentWillReceiveProps!="function"&&typeof a.componentWillReceiveProps!="function"||(l!==r||c!==u)&&L2(t,a,r,u),Ui=!1;var p=t.memoizedState;a.state=p,tp(t,r,a,i),c=t.memoizedState,l!==r||p!==c||Tn.current||Ui?(typeof d=="function"&&(wg(t,n,d,r),c=t.memoizedState),(l=Ui||M2(t,n,l,r,p,c,u))?(f||typeof a.UNSAFE_componentWillMount!="function"&&typeof a.componentWillMount!="function"||(typeof a.componentWillMount=="function"&&a.componentWillMount(),typeof a.UNSAFE_componentWillMount=="function"&&a.UNSAFE_componentWillMount()),typeof a.componentDidMount=="function"&&(t.flags|=4194308)):(typeof a.componentDidMount=="function"&&(t.flags|=4194308),t.memoizedProps=r,t.memoizedState=c),a.props=r,a.state=c,a.context=u,r=l):(typeof a.componentDidMount=="function"&&(t.flags|=4194308),r=!1)}else{a=t.stateNode,J5(e,t),l=t.memoizedProps,u=t.type===t.elementType?l:xr(t.type,l),a.props=u,f=t.pendingProps,p=a.context,c=n.contextType,typeof c=="object"&&c!==null?c=cr(c):(c=En(n)?ga:pn.current,c=Ws(t,c));var h=n.getDerivedStateFromProps;(d=typeof h=="function"||typeof a.getSnapshotBeforeUpdate=="function")||typeof a.UNSAFE_componentWillReceiveProps!="function"&&typeof a.componentWillReceiveProps!="function"||(l!==f||p!==c)&&L2(t,a,r,c),Ui=!1,p=t.memoizedState,a.state=p,tp(t,r,a,i);var v=t.memoizedState;l!==f||p!==v||Tn.current||Ui?(typeof h=="function"&&(wg(t,n,h,r),v=t.memoizedState),(u=Ui||M2(t,n,u,r,p,v,c)||!1)?(d||typeof a.UNSAFE_componentWillUpdate!="function"&&typeof a.componentWillUpdate!="function"||(typeof a.componentWillUpdate=="function"&&a.componentWillUpdate(r,v,c),typeof a.UNSAFE_componentWillUpdate=="function"&&a.UNSAFE_componentWillUpdate(r,v,c)),typeof a.componentDidUpdate=="function"&&(t.flags|=4),typeof a.getSnapshotBeforeUpdate=="function"&&(t.flags|=1024)):(typeof a.componentDidUpdate!="function"||l===e.memoizedProps&&p===e.memoizedState||(t.flags|=4),typeof a.getSnapshotBeforeUpdate!="function"||l===e.memoizedProps&&p===e.memoizedState||(t.flags|=1024),t.memoizedProps=r,t.memoizedState=v),a.props=r,a.state=v,a.context=c,r=u):(typeof a.componentDidUpdate!="function"||l===e.memoizedProps&&p===e.memoizedState||(t.flags|=4),typeof a.getSnapshotBeforeUpdate!="function"||l===e.memoizedProps&&p===e.memoizedState||(t.flags|=1024),r=!1)}return Pg(e,t,n,r,o,i)}function Pg(e,t,n,r,i,o){jC(e,t);var a=(t.flags&128)!==0;if(!r&&!a)return i&&_2(t,n,!1),Ci(e,t,o);r=t.stateNode,e$.current=t;var l=a&&typeof n.getDerivedStateFromError!="function"?null:r.render();return t.flags|=1,e!==null&&a?(t.child=Us(t,e.child,null,o),t.child=Us(t,null,l,o)):mn(e,t,l,o),t.memoizedState=r.state,i&&_2(t,n,!0),t.child}function PC(e){var t=e.stateNode;t.pendingContext?P2(e,t.pendingContext,t.pendingContext!==t.context):t.context&&P2(e,t.context,!1),z1(e,t.containerInfo)}function V2(e,t,n,r,i){return Vs(),P1(i),t.flags|=256,mn(e,t,n,r),t.child}var _g={dehydrated:null,treeContext:null,retryLane:0};function Tg(e){return{baseLanes:e,cachePool:null,transitions:null}}function _C(e,t,n){var r=t.pendingProps,i=dt.current,o=!1,a=(t.flags&128)!==0,l;if((l=a)||(l=e!==null&&e.memoizedState===null?!1:(i&2)!==0),l?(o=!0,t.flags&=-129):(e===null||e.memoizedState!==null)&&(i|=1),Ye(dt,i&1),e===null)return xg(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):(a=r.children,e=r.fallback,o?(r=t.mode,o=t.child,a={mode:"hidden",children:a},!(r&1)&&o!==null?(o.childLanes=0,o.pendingProps=a):o=Yp(a,r,0,null),e=oa(e,r,n,null),o.return=t,e.return=t,o.sibling=e,t.child=o,t.child.memoizedState=Tg(n),t.memoizedState=_g,e):F1(t,a));if(i=e.memoizedState,i!==null&&(l=i.dehydrated,l!==null))return t$(e,t,a,r,l,i,n);if(o){o=r.fallback,a=t.mode,i=e.child,l=i.sibling;var c={mode:"hidden",children:r.children};return!(a&1)&&t.child!==i?(r=t.child,r.childLanes=0,r.pendingProps=c,t.deletions=null):(r=fo(i,c),r.subtreeFlags=i.subtreeFlags&14680064),l!==null?o=fo(l,o):(o=oa(o,a,n,null),o.flags|=2),o.return=t,r.return=t,r.sibling=o,t.child=r,r=o,o=t.child,a=e.child.memoizedState,a=a===null?Tg(n):{baseLanes:a.baseLanes|n,cachePool:null,transitions:a.transitions},o.memoizedState=a,o.childLanes=e.childLanes&~n,t.memoizedState=_g,r}return o=e.child,e=o.sibling,r=fo(o,{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 F1(e,t){return t=Yp({mode:"visible",children:t},e.mode,0,null),t.return=e,e.child=t}function gd(e,t,n,r){return r!==null&&P1(r),Us(t,e.child,null,n),e=F1(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function t$(e,t,n,r,i,o,a){if(n)return t.flags&256?(t.flags&=-257,r=zh(Error(U(422))),gd(e,t,a,r)):t.memoizedState!==null?(t.child=e.child,t.flags|=128,null):(o=r.fallback,i=t.mode,r=Yp({mode:"visible",children:r.children},i,0,null),o=oa(o,i,a,null),o.flags|=2,r.return=t,o.return=t,r.sibling=o,t.child=r,t.mode&1&&Us(t,e.child,null,a),t.child.memoizedState=Tg(a),t.memoizedState=_g,o);if(!(t.mode&1))return gd(e,t,a,null);if(i.data==="$!"){if(r=i.nextSibling&&i.nextSibling.dataset,r)var l=r.dgst;return r=l,o=Error(U(419)),r=zh(o,r,void 0),gd(e,t,a,r)}if(l=(a&e.childLanes)!==0,_n||l){if(r=Vt,r!==null){switch(a&-a){case 4:i=2;break;case 16:i=8;break;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:i=32;break;case 536870912:i=268435456;break;default:i=0}i=i&(r.suspendedLanes|a)?0:i,i!==0&&i!==o.retryLane&&(o.retryLane=i,ki(e,i),Pr(r,e,i,-1))}return G1(),r=zh(Error(U(421))),gd(e,t,a,r)}return i.data==="$?"?(t.flags|=128,t.child=e.child,t=m$.bind(null,e),i._reactRetry=t,null):(e=o.treeContext,Dn=so(i.nextSibling),On=t,lt=!0,wr=null,e!==null&&(rr[ir++]=ui,rr[ir++]=di,rr[ir++]=va,ui=e.id,di=e.overflow,va=t),t=F1(t,r.children),t.flags|=4096,t)}function U2(e,t,n){e.lanes|=t;var r=e.alternate;r!==null&&(r.lanes|=t),Sg(e.return,t,n)}function Rh(e,t,n,r,i){var o=e.memoizedState;o===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailMode:i}:(o.isBackwards=t,o.rendering=null,o.renderingStartTime=0,o.last=r,o.tail=n,o.tailMode=i)}function TC(e,t,n){var r=t.pendingProps,i=r.revealOrder,o=r.tail;if(mn(e,t,r.children,n),r=dt.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&&U2(e,n,t);else if(e.tag===19)U2(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(Ye(dt,r),!(t.mode&1))t.memoizedState=null;else switch(i){case"forwards":for(n=t.child,i=null;n!==null;)e=n.alternate,e!==null&&np(e)===null&&(i=n),n=n.sibling;n=i,n===null?(i=t.child,t.child=null):(i=n.sibling,n.sibling=null),Rh(t,!1,i,n,o);break;case"backwards":for(n=null,i=t.child,t.child=null;i!==null;){if(e=i.alternate,e!==null&&np(e)===null){t.child=i;break}e=i.sibling,i.sibling=n,n=i,i=e}Rh(t,!0,n,null,o);break;case"together":Rh(t,!1,null,null,void 0);break;default:t.memoizedState=null}return t.child}function of(e,t){!(t.mode&1)&&e!==null&&(e.alternate=null,t.alternate=null,t.flags|=2)}function Ci(e,t,n){if(e!==null&&(t.dependencies=e.dependencies),ba|=t.lanes,!(n&t.childLanes))return null;if(e!==null&&t.child!==e.child)throw Error(U(153));if(t.child!==null){for(e=t.child,n=fo(e,e.pendingProps),t.child=n,n.return=t;e.sibling!==null;)e=e.sibling,n=n.sibling=fo(e,e.pendingProps),n.return=t;n.sibling=null}return t.child}function n$(e,t,n){switch(t.tag){case 3:PC(t),Vs();break;case 5:eC(t);break;case 1:En(t.type)&&Yf(t);break;case 4:z1(t,t.stateNode.containerInfo);break;case 10:var r=t.type._context,i=t.memoizedProps.value;Ye(Jf,r._currentValue),r._currentValue=i;break;case 13:if(r=t.memoizedState,r!==null)return r.dehydrated!==null?(Ye(dt,dt.current&1),t.flags|=128,null):n&t.child.childLanes?_C(e,t,n):(Ye(dt,dt.current&1),e=Ci(e,t,n),e!==null?e.sibling:null);Ye(dt,dt.current&1);break;case 19:if(r=(n&t.childLanes)!==0,e.flags&128){if(r)return TC(e,t,n);t.flags|=128}if(i=t.memoizedState,i!==null&&(i.rendering=null,i.tail=null,i.lastEffect=null),Ye(dt,dt.current),r)break;return null;case 22:case 23:return t.lanes=0,CC(e,t,n)}return Ci(e,t,n)}var EC,Eg,AC,$C;EC=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}};Eg=function(){};AC=function(e,t,n,r){var i=e.memoizedProps;if(i!==r){e=t.stateNode,Qo(Gr.current);var o=null;switch(n){case"input":i=Q0(e,i),r=Q0(e,r),o=[];break;case"select":i=ht({},i,{value:void 0}),r=ht({},r,{value:void 0}),o=[];break;case"textarea":i=eg(e,i),r=eg(e,r),o=[];break;default:typeof i.onClick!="function"&&typeof r.onClick=="function"&&(e.onclick=qf)}ng(n,r);var a;n=null;for(u in i)if(!r.hasOwnProperty(u)&&i.hasOwnProperty(u)&&i[u]!=null)if(u==="style"){var l=i[u];for(a in l)l.hasOwnProperty(a)&&(n||(n={}),n[a]="")}else u!=="dangerouslySetInnerHTML"&&u!=="children"&&u!=="suppressContentEditableWarning"&&u!=="suppressHydrationWarning"&&u!=="autoFocus"&&(Ec.hasOwnProperty(u)?o||(o=[]):(o=o||[]).push(u,null));for(u in r){var c=r[u];if(l=i!=null?i[u]:void 0,r.hasOwnProperty(u)&&c!==l&&(c!=null||l!=null))if(u==="style")if(l){for(a in l)!l.hasOwnProperty(a)||c&&c.hasOwnProperty(a)||(n||(n={}),n[a]="");for(a in c)c.hasOwnProperty(a)&&l[a]!==c[a]&&(n||(n={}),n[a]=c[a])}else n||(o||(o=[]),o.push(u,n)),n=c;else u==="dangerouslySetInnerHTML"?(c=c?c.__html:void 0,l=l?l.__html:void 0,c!=null&&l!==c&&(o=o||[]).push(u,c)):u==="children"?typeof c!="string"&&typeof c!="number"||(o=o||[]).push(u,""+c):u!=="suppressContentEditableWarning"&&u!=="suppressHydrationWarning"&&(Ec.hasOwnProperty(u)?(c!=null&&u==="onScroll"&&Je("scroll",e),o||l===c||(o=[])):(o=o||[]).push(u,c))}n&&(o=o||[]).push("style",n);var u=o;(t.updateQueue=u)&&(t.flags|=4)}};$C=function(e,t,n,r){n!==r&&(t.flags|=4)};function $l(e,t){if(!lt)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 rn(e){var t=e.alternate!==null&&e.alternate.child===e.child,n=0,r=0;if(t)for(var i=e.child;i!==null;)n|=i.lanes|i.childLanes,r|=i.subtreeFlags&14680064,r|=i.flags&14680064,i.return=e,i=i.sibling;else for(i=e.child;i!==null;)n|=i.lanes|i.childLanes,r|=i.subtreeFlags,r|=i.flags,i.return=e,i=i.sibling;return e.subtreeFlags|=r,e.childLanes=n,t}function r$(e,t,n){var r=t.pendingProps;switch(j1(t),t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return rn(t),null;case 1:return En(t.type)&&Xf(),rn(t),null;case 3:return r=t.stateNode,Hs(),tt(Tn),tt(pn),I1(),r.pendingContext&&(r.context=r.pendingContext,r.pendingContext=null),(e===null||e.child===null)&&(md(t)?t.flags|=4:e===null||e.memoizedState.isDehydrated&&!(t.flags&256)||(t.flags|=1024,wr!==null&&(Ng(wr),wr=null))),Eg(e,t),rn(t),null;case 5:R1(t);var i=Qo(Bc.current);if(n=t.type,e!==null&&t.stateNode!=null)AC(e,t,n,r,i),e.ref!==t.ref&&(t.flags|=512,t.flags|=2097152);else{if(!r){if(t.stateNode===null)throw Error(U(166));return rn(t),null}if(e=Qo(Gr.current),md(t)){r=t.stateNode,n=t.type;var o=t.memoizedProps;switch(r[Fr]=t,r[Oc]=o,e=(t.mode&1)!==0,n){case"dialog":Je("cancel",r),Je("close",r);break;case"iframe":case"object":case"embed":Je("load",r);break;case"video":case"audio":for(i=0;i<Hl.length;i++)Je(Hl[i],r);break;case"source":Je("error",r);break;case"img":case"image":case"link":Je("error",r),Je("load",r);break;case"details":Je("toggle",r);break;case"input":Jx(r,o),Je("invalid",r);break;case"select":r._wrapperState={wasMultiple:!!o.multiple},Je("invalid",r);break;case"textarea":t2(r,o),Je("invalid",r)}ng(n,o),i=null;for(var a in o)if(o.hasOwnProperty(a)){var l=o[a];a==="children"?typeof l=="string"?r.textContent!==l&&(o.suppressHydrationWarning!==!0&&pd(r.textContent,l,e),i=["children",l]):typeof l=="number"&&r.textContent!==""+l&&(o.suppressHydrationWarning!==!0&&pd(r.textContent,l,e),i=["children",""+l]):Ec.hasOwnProperty(a)&&l!=null&&a==="onScroll"&&Je("scroll",r)}switch(n){case"input":od(r),e2(r,o,!0);break;case"textarea":od(r),n2(r);break;case"select":case"option":break;default:typeof o.onClick=="function"&&(r.onclick=qf)}r=i,t.updateQueue=r,r!==null&&(t.flags|=4)}else{a=i.nodeType===9?i:i.ownerDocument,e==="http://www.w3.org/1999/xhtml"&&(e=o5(n)),e==="http://www.w3.org/1999/xhtml"?n==="script"?(e=a.createElement("div"),e.innerHTML="<script><\/script>",e=e.removeChild(e.firstChild)):typeof r.is=="string"?e=a.createElement(n,{is:r.is}):(e=a.createElement(n),n==="select"&&(a=e,r.multiple?a.multiple=!0:r.size&&(a.size=r.size))):e=a.createElementNS(e,n),e[Fr]=t,e[Oc]=r,EC(e,t,!1,!1),t.stateNode=e;e:{switch(a=rg(n,r),n){case"dialog":Je("cancel",e),Je("close",e),i=r;break;case"iframe":case"object":case"embed":Je("load",e),i=r;break;case"video":case"audio":for(i=0;i<Hl.length;i++)Je(Hl[i],e);i=r;break;case"source":Je("error",e),i=r;break;case"img":case"image":case"link":Je("error",e),Je("load",e),i=r;break;case"details":Je("toggle",e),i=r;break;case"input":Jx(e,r),i=Q0(e,r),Je("invalid",e);break;case"option":i=r;break;case"select":e._wrapperState={wasMultiple:!!r.multiple},i=ht({},r,{value:void 0}),Je("invalid",e);break;case"textarea":t2(e,r),i=eg(e,r),Je("invalid",e);break;default:i=r}ng(n,i),l=i;for(o in l)if(l.hasOwnProperty(o)){var c=l[o];o==="style"?l5(e,c):o==="dangerouslySetInnerHTML"?(c=c?c.__html:void 0,c!=null&&a5(e,c)):o==="children"?typeof c=="string"?(n!=="textarea"||c!=="")&&Ac(e,c):typeof c=="number"&&Ac(e,""+c):o!=="suppressContentEditableWarning"&&o!=="suppressHydrationWarning"&&o!=="autoFocus"&&(Ec.hasOwnProperty(o)?c!=null&&o==="onScroll"&&Je("scroll",e):c!=null&&u1(e,o,c,a))}switch(n){case"input":od(e),e2(e,r,!1);break;case"textarea":od(e),n2(e);break;case"option":r.value!=null&&e.setAttribute("value",""+mo(r.value));break;case"select":e.multiple=!!r.multiple,o=r.value,o!=null?Cs(e,!!r.multiple,o,!1):r.defaultValue!=null&&Cs(e,!!r.multiple,r.defaultValue,!0);break;default:typeof i.onClick=="function"&&(e.onclick=qf)}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 rn(t),null;case 6:if(e&&t.stateNode!=null)$C(e,t,e.memoizedProps,r);else{if(typeof r!="string"&&t.stateNode===null)throw Error(U(166));if(n=Qo(Bc.current),Qo(Gr.current),md(t)){if(r=t.stateNode,n=t.memoizedProps,r[Fr]=t,(o=r.nodeValue!==n)&&(e=On,e!==null))switch(e.tag){case 3:pd(r.nodeValue,n,(e.mode&1)!==0);break;case 5:e.memoizedProps.suppressHydrationWarning!==!0&&pd(r.nodeValue,n,(e.mode&1)!==0)}o&&(t.flags|=4)}else r=(n.nodeType===9?n:n.ownerDocument).createTextNode(r),r[Fr]=t,t.stateNode=r}return rn(t),null;case 13:if(tt(dt),r=t.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(lt&&Dn!==null&&t.mode&1&&!(t.flags&128))X5(),Vs(),t.flags|=98560,o=!1;else if(o=md(t),r!==null&&r.dehydrated!==null){if(e===null){if(!o)throw Error(U(318));if(o=t.memoizedState,o=o!==null?o.dehydrated:null,!o)throw Error(U(317));o[Fr]=t}else Vs(),!(t.flags&128)&&(t.memoizedState=null),t.flags|=4;rn(t),o=!1}else wr!==null&&(Ng(wr),wr=null),o=!0;if(!o)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||dt.current&1?Lt===0&&(Lt=3):G1())),t.updateQueue!==null&&(t.flags|=4),rn(t),null);case 4:return Hs(),Eg(e,t),e===null&&Nc(t.stateNode.containerInfo),rn(t),null;case 10:return E1(t.type._context),rn(t),null;case 17:return En(t.type)&&Xf(),rn(t),null;case 19:if(tt(dt),o=t.memoizedState,o===null)return rn(t),null;if(r=(t.flags&128)!==0,a=o.rendering,a===null)if(r)$l(o,!1);else{if(Lt!==0||e!==null&&e.flags&128)for(e=t.child;e!==null;){if(a=np(e),a!==null){for(t.flags|=128,$l(o,!1),r=a.updateQueue,r!==null&&(t.updateQueue=r,t.flags|=4),t.subtreeFlags=0,r=n,n=t.child;n!==null;)o=n,e=r,o.flags&=14680066,a=o.alternate,a===null?(o.childLanes=0,o.lanes=e,o.child=null,o.subtreeFlags=0,o.memoizedProps=null,o.memoizedState=null,o.updateQueue=null,o.dependencies=null,o.stateNode=null):(o.childLanes=a.childLanes,o.lanes=a.lanes,o.child=a.child,o.subtreeFlags=0,o.deletions=null,o.memoizedProps=a.memoizedProps,o.memoizedState=a.memoizedState,o.updateQueue=a.updateQueue,o.type=a.type,e=a.dependencies,o.dependencies=e===null?null:{lanes:e.lanes,firstContext:e.firstContext}),n=n.sibling;return Ye(dt,dt.current&1|2),t.child}e=e.sibling}o.tail!==null&&Ct()>Ks&&(t.flags|=128,r=!0,$l(o,!1),t.lanes=4194304)}else{if(!r)if(e=np(a),e!==null){if(t.flags|=128,r=!0,n=e.updateQueue,n!==null&&(t.updateQueue=n,t.flags|=4),$l(o,!0),o.tail===null&&o.tailMode==="hidden"&&!a.alternate&&!lt)return rn(t),null}else 2*Ct()-o.renderingStartTime>Ks&&n!==1073741824&&(t.flags|=128,r=!0,$l(o,!1),t.lanes=4194304);o.isBackwards?(a.sibling=t.child,t.child=a):(n=o.last,n!==null?n.sibling=a:t.child=a,o.last=a)}return o.tail!==null?(t=o.tail,o.rendering=t,o.tail=t.sibling,o.renderingStartTime=Ct(),t.sibling=null,n=dt.current,Ye(dt,r?n&1|2:n&1),t):(rn(t),null);case 22:case 23:return H1(),r=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==r&&(t.flags|=8192),r&&t.mode&1?Nn&1073741824&&(rn(t),t.subtreeFlags&6&&(t.flags|=8192)):rn(t),null;case 24:return null;case 25:return null}throw Error(U(156,t.tag))}function i$(e,t){switch(j1(t),t.tag){case 1:return En(t.type)&&Xf(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return Hs(),tt(Tn),tt(pn),I1(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 5:return R1(t),null;case 13:if(tt(dt),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(U(340));Vs()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return tt(dt),null;case 4:return Hs(),null;case 10:return E1(t.type._context),null;case 22:case 23:return H1(),null;case 24:return null;default:return null}}var vd=!1,ln=!1,o$=typeof WeakSet=="function"?WeakSet:Set,ie=null;function os(e,t){var n=e.ref;if(n!==null)if(typeof n=="function")try{n(null)}catch(r){yt(e,t,r)}else n.current=null}function Ag(e,t,n){try{n()}catch(r){yt(e,t,r)}}var H2=!1;function a$(e,t){if(pg=Hf,e=L5(),k1(e)){if("selectionStart"in e)var n={start:e.selectionStart,end:e.selectionEnd};else e:{n=(n=e.ownerDocument)&&n.defaultView||window;var r=n.getSelection&&n.getSelection();if(r&&r.rangeCount!==0){n=r.anchorNode;var i=r.anchorOffset,o=r.focusNode;r=r.focusOffset;try{n.nodeType,o.nodeType}catch{n=null;break e}var a=0,l=-1,c=-1,u=0,d=0,f=e,p=null;t:for(;;){for(var h;f!==n||i!==0&&f.nodeType!==3||(l=a+i),f!==o||r!==0&&f.nodeType!==3||(c=a+r),f.nodeType===3&&(a+=f.nodeValue.length),(h=f.firstChild)!==null;)p=f,f=h;for(;;){if(f===e)break t;if(p===n&&++u===i&&(l=a),p===o&&++d===r&&(c=a),(h=f.nextSibling)!==null)break;f=p,p=f.parentNode}f=h}n=l===-1||c===-1?null:{start:l,end:c}}else n=null}n=n||{start:0,end:0}}else n=null;for(mg={focusedElem:e,selectionRange:n},Hf=!1,ie=t;ie!==null;)if(t=ie,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,ie=e;else for(;ie!==null;){t=ie;try{var v=t.alternate;if(t.flags&1024)switch(t.tag){case 0:case 11:case 15:break;case 1:if(v!==null){var b=v.memoizedProps,x=v.memoizedState,y=t.stateNode,g=y.getSnapshotBeforeUpdate(t.elementType===t.type?b:xr(t.type,b),x);y.__reactInternalSnapshotBeforeUpdate=g}break;case 3:var S=t.stateNode.containerInfo;S.nodeType===1?S.textContent="":S.nodeType===9&&S.documentElement&&S.removeChild(S.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(U(163))}}catch(w){yt(t,t.return,w)}if(e=t.sibling,e!==null){e.return=t.return,ie=e;break}ie=t.return}return v=H2,H2=!1,v}function uc(e,t,n){var r=t.updateQueue;if(r=r!==null?r.lastEffect:null,r!==null){var i=r=r.next;do{if((i.tag&e)===e){var o=i.destroy;i.destroy=void 0,o!==void 0&&Ag(t,n,o)}i=i.next}while(i!==r)}}function qp(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 $g(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 zC(e){var t=e.alternate;t!==null&&(e.alternate=null,zC(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[Fr],delete t[Oc],delete t[vg],delete t[W9],delete t[V9])),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 RC(e){return e.tag===5||e.tag===3||e.tag===4}function G2(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||RC(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 zg(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=qf));else if(r!==4&&(e=e.child,e!==null))for(zg(e,t,n),e=e.sibling;e!==null;)zg(e,t,n),e=e.sibling}function Rg(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(Rg(e,t,n),e=e.sibling;e!==null;)Rg(e,t,n),e=e.sibling}var Kt=null,Sr=!1;function Li(e,t,n){for(n=n.child;n!==null;)IC(e,t,n),n=n.sibling}function IC(e,t,n){if(Hr&&typeof Hr.onCommitFiberUnmount=="function")try{Hr.onCommitFiberUnmount(Fp,n)}catch{}switch(n.tag){case 5:ln||os(n,t);case 6:var r=Kt,i=Sr;Kt=null,Li(e,t,n),Kt=r,Sr=i,Kt!==null&&(Sr?(e=Kt,n=n.stateNode,e.nodeType===8?e.parentNode.removeChild(n):e.removeChild(n)):Kt.removeChild(n.stateNode));break;case 18:Kt!==null&&(Sr?(e=Kt,n=n.stateNode,e.nodeType===8?Ph(e.parentNode,n):e.nodeType===1&&Ph(e,n),Ic(e)):Ph(Kt,n.stateNode));break;case 4:r=Kt,i=Sr,Kt=n.stateNode.containerInfo,Sr=!0,Li(e,t,n),Kt=r,Sr=i;break;case 0:case 11:case 14:case 15:if(!ln&&(r=n.updateQueue,r!==null&&(r=r.lastEffect,r!==null))){i=r=r.next;do{var o=i,a=o.destroy;o=o.tag,a!==void 0&&(o&2||o&4)&&Ag(n,t,a),i=i.next}while(i!==r)}Li(e,t,n);break;case 1:if(!ln&&(os(n,t),r=n.stateNode,typeof r.componentWillUnmount=="function"))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(l){yt(n,t,l)}Li(e,t,n);break;case 21:Li(e,t,n);break;case 22:n.mode&1?(ln=(r=ln)||n.memoizedState!==null,Li(e,t,n),ln=r):Li(e,t,n);break;default:Li(e,t,n)}}function K2(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var n=e.stateNode;n===null&&(n=e.stateNode=new o$),t.forEach(function(r){var i=h$.bind(null,e,r);n.has(r)||(n.add(r),r.then(i,i))})}}function gr(e,t){var n=t.deletions;if(n!==null)for(var r=0;r<n.length;r++){var i=n[r];try{var o=e,a=t,l=a;e:for(;l!==null;){switch(l.tag){case 5:Kt=l.stateNode,Sr=!1;break e;case 3:Kt=l.stateNode.containerInfo,Sr=!0;break e;case 4:Kt=l.stateNode.containerInfo,Sr=!0;break e}l=l.return}if(Kt===null)throw Error(U(160));IC(o,a,i),Kt=null,Sr=!1;var c=i.alternate;c!==null&&(c.return=null),i.return=null}catch(u){yt(i,t,u)}}if(t.subtreeFlags&12854)for(t=t.child;t!==null;)MC(t,e),t=t.sibling}function MC(e,t){var n=e.alternate,r=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:if(gr(t,e),zr(e),r&4){try{uc(3,e,e.return),qp(3,e)}catch(b){yt(e,e.return,b)}try{uc(5,e,e.return)}catch(b){yt(e,e.return,b)}}break;case 1:gr(t,e),zr(e),r&512&&n!==null&&os(n,n.return);break;case 5:if(gr(t,e),zr(e),r&512&&n!==null&&os(n,n.return),e.flags&32){var i=e.stateNode;try{Ac(i,"")}catch(b){yt(e,e.return,b)}}if(r&4&&(i=e.stateNode,i!=null)){var o=e.memoizedProps,a=n!==null?n.memoizedProps:o,l=e.type,c=e.updateQueue;if(e.updateQueue=null,c!==null)try{l==="input"&&o.type==="radio"&&o.name!=null&&r5(i,o),rg(l,a);var u=rg(l,o);for(a=0;a<c.length;a+=2){var d=c[a],f=c[a+1];d==="style"?l5(i,f):d==="dangerouslySetInnerHTML"?a5(i,f):d==="children"?Ac(i,f):u1(i,d,f,u)}switch(l){case"input":Z0(i,o);break;case"textarea":i5(i,o);break;case"select":var p=i._wrapperState.wasMultiple;i._wrapperState.wasMultiple=!!o.multiple;var h=o.value;h!=null?Cs(i,!!o.multiple,h,!1):p!==!!o.multiple&&(o.defaultValue!=null?Cs(i,!!o.multiple,o.defaultValue,!0):Cs(i,!!o.multiple,o.multiple?[]:"",!1))}i[Oc]=o}catch(b){yt(e,e.return,b)}}break;case 6:if(gr(t,e),zr(e),r&4){if(e.stateNode===null)throw Error(U(162));i=e.stateNode,o=e.memoizedProps;try{i.nodeValue=o}catch(b){yt(e,e.return,b)}}break;case 3:if(gr(t,e),zr(e),r&4&&n!==null&&n.memoizedState.isDehydrated)try{Ic(t.containerInfo)}catch(b){yt(e,e.return,b)}break;case 4:gr(t,e),zr(e);break;case 13:gr(t,e),zr(e),i=e.child,i.flags&8192&&(o=i.memoizedState!==null,i.stateNode.isHidden=o,!o||i.alternate!==null&&i.alternate.memoizedState!==null||(V1=Ct())),r&4&&K2(e);break;case 22:if(d=n!==null&&n.memoizedState!==null,e.mode&1?(ln=(u=ln)||d,gr(t,e),ln=u):gr(t,e),zr(e),r&8192){if(u=e.memoizedState!==null,(e.stateNode.isHidden=u)&&!d&&e.mode&1)for(ie=e,d=e.child;d!==null;){for(f=ie=d;ie!==null;){switch(p=ie,h=p.child,p.tag){case 0:case 11:case 14:case 15:uc(4,p,p.return);break;case 1:os(p,p.return);var v=p.stateNode;if(typeof v.componentWillUnmount=="function"){r=p,n=p.return;try{t=r,v.props=t.memoizedProps,v.state=t.memoizedState,v.componentWillUnmount()}catch(b){yt(r,n,b)}}break;case 5:os(p,p.return);break;case 22:if(p.memoizedState!==null){X2(f);continue}}h!==null?(h.return=p,ie=h):X2(f)}d=d.sibling}e:for(d=null,f=e;;){if(f.tag===5){if(d===null){d=f;try{i=f.stateNode,u?(o=i.style,typeof o.setProperty=="function"?o.setProperty("display","none","important"):o.display="none"):(l=f.stateNode,c=f.memoizedProps.style,a=c!=null&&c.hasOwnProperty("display")?c.display:null,l.style.display=s5("display",a))}catch(b){yt(e,e.return,b)}}}else if(f.tag===6){if(d===null)try{f.stateNode.nodeValue=u?"":f.memoizedProps}catch(b){yt(e,e.return,b)}}else if((f.tag!==22&&f.tag!==23||f.memoizedState===null||f===e)&&f.child!==null){f.child.return=f,f=f.child;continue}if(f===e)break e;for(;f.sibling===null;){if(f.return===null||f.return===e)break e;d===f&&(d=null),f=f.return}d===f&&(d=null),f.sibling.return=f.return,f=f.sibling}}break;case 19:gr(t,e),zr(e),r&4&&K2(e);break;case 21:break;default:gr(t,e),zr(e)}}function zr(e){var t=e.flags;if(t&2){try{e:{for(var n=e.return;n!==null;){if(RC(n)){var r=n;break e}n=n.return}throw Error(U(160))}switch(r.tag){case 5:var i=r.stateNode;r.flags&32&&(Ac(i,""),r.flags&=-33);var o=G2(e);Rg(e,o,i);break;case 3:case 4:var a=r.stateNode.containerInfo,l=G2(e);zg(e,l,a);break;default:throw Error(U(161))}}catch(c){yt(e,e.return,c)}e.flags&=-3}t&4096&&(e.flags&=-4097)}function s$(e,t,n){ie=e,LC(e)}function LC(e,t,n){for(var r=(e.mode&1)!==0;ie!==null;){var i=ie,o=i.child;if(i.tag===22&&r){var a=i.memoizedState!==null||vd;if(!a){var l=i.alternate,c=l!==null&&l.memoizedState!==null||ln;l=vd;var u=ln;if(vd=a,(ln=c)&&!u)for(ie=i;ie!==null;)a=ie,c=a.child,a.tag===22&&a.memoizedState!==null?Y2(i):c!==null?(c.return=a,ie=c):Y2(i);for(;o!==null;)ie=o,LC(o),o=o.sibling;ie=i,vd=l,ln=u}q2(e)}else i.subtreeFlags&8772&&o!==null?(o.return=i,ie=o):q2(e)}}function q2(e){for(;ie!==null;){var t=ie;if(t.flags&8772){var n=t.alternate;try{if(t.flags&8772)switch(t.tag){case 0:case 11:case 15:ln||qp(5,t);break;case 1:var r=t.stateNode;if(t.flags&4&&!ln)if(n===null)r.componentDidMount();else{var i=t.elementType===t.type?n.memoizedProps:xr(t.type,n.memoizedProps);r.componentDidUpdate(i,n.memoizedState,r.__reactInternalSnapshotBeforeUpdate)}var o=t.updateQueue;o!==null&&z2(t,o,r);break;case 3:var a=t.updateQueue;if(a!==null){if(n=null,t.child!==null)switch(t.child.tag){case 5:n=t.child.stateNode;break;case 1:n=t.child.stateNode}z2(t,a,n)}break;case 5:var l=t.stateNode;if(n===null&&t.flags&4){n=l;var c=t.memoizedProps;switch(t.type){case"button":case"input":case"select":case"textarea":c.autoFocus&&n.focus();break;case"img":c.src&&(n.src=c.src)}}break;case 6:break;case 4:break;case 12:break;case 13:if(t.memoizedState===null){var u=t.alternate;if(u!==null){var d=u.memoizedState;if(d!==null){var f=d.dehydrated;f!==null&&Ic(f)}}}break;case 19:case 17:case 21:case 22:case 23:case 25:break;default:throw Error(U(163))}ln||t.flags&512&&$g(t)}catch(p){yt(t,t.return,p)}}if(t===e){ie=null;break}if(n=t.sibling,n!==null){n.return=t.return,ie=n;break}ie=t.return}}function X2(e){for(;ie!==null;){var t=ie;if(t===e){ie=null;break}var n=t.sibling;if(n!==null){n.return=t.return,ie=n;break}ie=t.return}}function Y2(e){for(;ie!==null;){var t=ie;try{switch(t.tag){case 0:case 11:case 15:var n=t.return;try{qp(4,t)}catch(c){yt(t,n,c)}break;case 1:var r=t.stateNode;if(typeof r.componentDidMount=="function"){var i=t.return;try{r.componentDidMount()}catch(c){yt(t,i,c)}}var o=t.return;try{$g(t)}catch(c){yt(t,o,c)}break;case 5:var a=t.return;try{$g(t)}catch(c){yt(t,a,c)}}}catch(c){yt(t,t.return,c)}if(t===e){ie=null;break}var l=t.sibling;if(l!==null){l.return=t.return,ie=l;break}ie=t.return}}var l$=Math.ceil,op=Ai.ReactCurrentDispatcher,B1=Ai.ReactCurrentOwner,sr=Ai.ReactCurrentBatchConfig,Re=0,Vt=null,Et=null,Jt=0,Nn=0,as=Co(0),Lt=0,Hc=null,ba=0,Xp=0,W1=0,dc=null,jn=null,V1=0,Ks=1/0,ii=null,ap=!1,Ig=null,co=null,yd=!1,Qi=null,sp=0,fc=0,Mg=null,af=-1,sf=0;function hn(){return Re&6?Ct():af!==-1?af:af=Ct()}function uo(e){return e.mode&1?Re&2&&Jt!==0?Jt&-Jt:H9.transition!==null?(sf===0&&(sf=x5()),sf):(e=Ue,e!==0||(e=window.event,e=e===void 0?16:_5(e.type)),e):1}function Pr(e,t,n,r){if(50<fc)throw fc=0,Mg=null,Error(U(185));yu(e,n,r),(!(Re&2)||e!==Vt)&&(e===Vt&&(!(Re&2)&&(Xp|=n),Lt===4&&Ki(e,Jt)),An(e,r),n===1&&Re===0&&!(t.mode&1)&&(Ks=Ct()+500,Hp&&jo()))}function An(e,t){var n=e.callbackNode;HA(e,t);var r=Uf(e,e===Vt?Jt:0);if(r===0)n!==null&&o2(n),e.callbackNode=null,e.callbackPriority=0;else if(t=r&-r,e.callbackPriority!==t){if(n!=null&&o2(n),t===1)e.tag===0?U9(Q2.bind(null,e)):G5(Q2.bind(null,e)),F9(function(){!(Re&6)&&jo()}),n=null;else{switch(S5(r)){case 1:n=h1;break;case 4:n=y5;break;case 16:n=Vf;break;case 536870912:n=b5;break;default:n=Vf}n=UC(n,NC.bind(null,e))}e.callbackPriority=t,e.callbackNode=n}}function NC(e,t){if(af=-1,sf=0,Re&6)throw Error(U(327));var n=e.callbackNode;if(Es()&&e.callbackNode!==n)return null;var r=Uf(e,e===Vt?Jt:0);if(r===0)return null;if(r&30||r&e.expiredLanes||t)t=lp(e,r);else{t=r;var i=Re;Re|=2;var o=OC();(Vt!==e||Jt!==t)&&(ii=null,Ks=Ct()+500,ia(e,t));do try{d$();break}catch(l){DC(e,l)}while(!0);T1(),op.current=o,Re=i,Et!==null?t=0:(Vt=null,Jt=0,t=Lt)}if(t!==0){if(t===2&&(i=lg(e),i!==0&&(r=i,t=Lg(e,i))),t===1)throw n=Hc,ia(e,0),Ki(e,r),An(e,Ct()),n;if(t===6)Ki(e,r);else{if(i=e.current.alternate,!(r&30)&&!c$(i)&&(t=lp(e,r),t===2&&(o=lg(e),o!==0&&(r=o,t=Lg(e,o))),t===1))throw n=Hc,ia(e,0),Ki(e,r),An(e,Ct()),n;switch(e.finishedWork=i,e.finishedLanes=r,t){case 0:case 1:throw Error(U(345));case 2:Vo(e,jn,ii);break;case 3:if(Ki(e,r),(r&130023424)===r&&(t=V1+500-Ct(),10<t)){if(Uf(e,0)!==0)break;if(i=e.suspendedLanes,(i&r)!==r){hn(),e.pingedLanes|=e.suspendedLanes&i;break}e.timeoutHandle=gg(Vo.bind(null,e,jn,ii),t);break}Vo(e,jn,ii);break;case 4:if(Ki(e,r),(r&4194240)===r)break;for(t=e.eventTimes,i=-1;0<r;){var a=31-jr(r);o=1<<a,a=t[a],a>i&&(i=a),r&=~o}if(r=i,r=Ct()-r,r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*l$(r/1960))-r,10<r){e.timeoutHandle=gg(Vo.bind(null,e,jn,ii),r);break}Vo(e,jn,ii);break;case 5:Vo(e,jn,ii);break;default:throw Error(U(329))}}}return An(e,Ct()),e.callbackNode===n?NC.bind(null,e):null}function Lg(e,t){var n=dc;return e.current.memoizedState.isDehydrated&&(ia(e,t).flags|=256),e=lp(e,t),e!==2&&(t=jn,jn=n,t!==null&&Ng(t)),e}function Ng(e){jn===null?jn=e:jn.push.apply(jn,e)}function c$(e){for(var t=e;;){if(t.flags&16384){var n=t.updateQueue;if(n!==null&&(n=n.stores,n!==null))for(var r=0;r<n.length;r++){var i=n[r],o=i.getSnapshot;i=i.value;try{if(!Er(o(),i))return!1}catch{return!1}}}if(n=t.child,t.subtreeFlags&16384&&n!==null)n.return=t,t=n;else{if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return!0;t=t.return}t.sibling.return=t.return,t=t.sibling}}return!0}function Ki(e,t){for(t&=~W1,t&=~Xp,e.suspendedLanes|=t,e.pingedLanes&=~t,e=e.expirationTimes;0<t;){var n=31-jr(t),r=1<<n;e[n]=-1,t&=~r}}function Q2(e){if(Re&6)throw Error(U(327));Es();var t=Uf(e,0);if(!(t&1))return An(e,Ct()),null;var n=lp(e,t);if(e.tag!==0&&n===2){var r=lg(e);r!==0&&(t=r,n=Lg(e,r))}if(n===1)throw n=Hc,ia(e,0),Ki(e,t),An(e,Ct()),n;if(n===6)throw Error(U(345));return e.finishedWork=e.current.alternate,e.finishedLanes=t,Vo(e,jn,ii),An(e,Ct()),null}function U1(e,t){var n=Re;Re|=1;try{return e(t)}finally{Re=n,Re===0&&(Ks=Ct()+500,Hp&&jo())}}function xa(e){Qi!==null&&Qi.tag===0&&!(Re&6)&&Es();var t=Re;Re|=1;var n=sr.transition,r=Ue;try{if(sr.transition=null,Ue=1,e)return e()}finally{Ue=r,sr.transition=n,Re=t,!(Re&6)&&jo()}}function H1(){Nn=as.current,tt(as)}function ia(e,t){e.finishedWork=null,e.finishedLanes=0;var n=e.timeoutHandle;if(n!==-1&&(e.timeoutHandle=-1,O9(n)),Et!==null)for(n=Et.return;n!==null;){var r=n;switch(j1(r),r.tag){case 1:r=r.type.childContextTypes,r!=null&&Xf();break;case 3:Hs(),tt(Tn),tt(pn),I1();break;case 5:R1(r);break;case 4:Hs();break;case 13:tt(dt);break;case 19:tt(dt);break;case 10:E1(r.type._context);break;case 22:case 23:H1()}n=n.return}if(Vt=e,Et=e=fo(e.current,null),Jt=Nn=t,Lt=0,Hc=null,W1=Xp=ba=0,jn=dc=null,Yo!==null){for(t=0;t<Yo.length;t++)if(n=Yo[t],r=n.interleaved,r!==null){n.interleaved=null;var i=r.next,o=n.pending;if(o!==null){var a=o.next;o.next=i,r.next=a}n.pending=r}Yo=null}return e}function DC(e,t){do{var n=Et;try{if(T1(),nf.current=ip,rp){for(var r=pt.memoizedState;r!==null;){var i=r.queue;i!==null&&(i.pending=null),r=r.next}rp=!1}if(ya=0,Wt=It=pt=null,cc=!1,Wc=0,B1.current=null,n===null||n.return===null){Lt=1,Hc=t,Et=null;break}e:{var o=e,a=n.return,l=n,c=t;if(t=Jt,l.flags|=32768,c!==null&&typeof c=="object"&&typeof c.then=="function"){var u=c,d=l,f=d.tag;if(!(d.mode&1)&&(f===0||f===11||f===15)){var p=d.alternate;p?(d.updateQueue=p.updateQueue,d.memoizedState=p.memoizedState,d.lanes=p.lanes):(d.updateQueue=null,d.memoizedState=null)}var h=D2(a);if(h!==null){h.flags&=-257,O2(h,a,l,o,t),h.mode&1&&N2(o,u,t),t=h,c=u;var v=t.updateQueue;if(v===null){var b=new Set;b.add(c),t.updateQueue=b}else v.add(c);break e}else{if(!(t&1)){N2(o,u,t),G1();break e}c=Error(U(426))}}else if(lt&&l.mode&1){var x=D2(a);if(x!==null){!(x.flags&65536)&&(x.flags|=256),O2(x,a,l,o,t),P1(Gs(c,l));break e}}o=c=Gs(c,l),Lt!==4&&(Lt=2),dc===null?dc=[o]:dc.push(o),o=a;do{switch(o.tag){case 3:o.flags|=65536,t&=-t,o.lanes|=t;var y=SC(o,c,t);$2(o,y);break e;case 1:l=c;var g=o.type,S=o.stateNode;if(!(o.flags&128)&&(typeof g.getDerivedStateFromError=="function"||S!==null&&typeof S.componentDidCatch=="function"&&(co===null||!co.has(S)))){o.flags|=65536,t&=-t,o.lanes|=t;var w=wC(o,l,t);$2(o,w);break e}}o=o.return}while(o!==null)}BC(n)}catch(k){t=k,Et===n&&n!==null&&(Et=n=n.return);continue}break}while(!0)}function OC(){var e=op.current;return op.current=ip,e===null?ip:e}function G1(){(Lt===0||Lt===3||Lt===2)&&(Lt=4),Vt===null||!(ba&268435455)&&!(Xp&268435455)||Ki(Vt,Jt)}function lp(e,t){var n=Re;Re|=2;var r=OC();(Vt!==e||Jt!==t)&&(ii=null,ia(e,t));do try{u$();break}catch(i){DC(e,i)}while(!0);if(T1(),Re=n,op.current=r,Et!==null)throw Error(U(261));return Vt=null,Jt=0,Lt}function u$(){for(;Et!==null;)FC(Et)}function d$(){for(;Et!==null&&!LA();)FC(Et)}function FC(e){var t=VC(e.alternate,e,Nn);e.memoizedProps=e.pendingProps,t===null?BC(e):Et=t,B1.current=null}function BC(e){var t=e;do{var n=t.alternate;if(e=t.return,t.flags&32768){if(n=i$(n,t),n!==null){n.flags&=32767,Et=n;return}if(e!==null)e.flags|=32768,e.subtreeFlags=0,e.deletions=null;else{Lt=6,Et=null;return}}else if(n=r$(n,t,Nn),n!==null){Et=n;return}if(t=t.sibling,t!==null){Et=t;return}Et=t=e}while(t!==null);Lt===0&&(Lt=5)}function Vo(e,t,n){var r=Ue,i=sr.transition;try{sr.transition=null,Ue=1,f$(e,t,n,r)}finally{sr.transition=i,Ue=r}return null}function f$(e,t,n,r){do Es();while(Qi!==null);if(Re&6)throw Error(U(327));n=e.finishedWork;var i=e.finishedLanes;if(n===null)return null;if(e.finishedWork=null,e.finishedLanes=0,n===e.current)throw Error(U(177));e.callbackNode=null,e.callbackPriority=0;var o=n.lanes|n.childLanes;if(GA(e,o),e===Vt&&(Et=Vt=null,Jt=0),!(n.subtreeFlags&2064)&&!(n.flags&2064)||yd||(yd=!0,UC(Vf,function(){return Es(),null})),o=(n.flags&15990)!==0,n.subtreeFlags&15990||o){o=sr.transition,sr.transition=null;var a=Ue;Ue=1;var l=Re;Re|=4,B1.current=null,a$(e,n),MC(n,e),z9(mg),Hf=!!pg,mg=pg=null,e.current=n,s$(n),NA(),Re=l,Ue=a,sr.transition=o}else e.current=n;if(yd&&(yd=!1,Qi=e,sp=i),o=e.pendingLanes,o===0&&(co=null),FA(n.stateNode),An(e,Ct()),t!==null)for(r=e.onRecoverableError,n=0;n<t.length;n++)i=t[n],r(i.value,{componentStack:i.stack,digest:i.digest});if(ap)throw ap=!1,e=Ig,Ig=null,e;return sp&1&&e.tag!==0&&Es(),o=e.pendingLanes,o&1?e===Mg?fc++:(fc=0,Mg=e):fc=0,jo(),null}function Es(){if(Qi!==null){var e=S5(sp),t=sr.transition,n=Ue;try{if(sr.transition=null,Ue=16>e?16:e,Qi===null)var r=!1;else{if(e=Qi,Qi=null,sp=0,Re&6)throw Error(U(331));var i=Re;for(Re|=4,ie=e.current;ie!==null;){var o=ie,a=o.child;if(ie.flags&16){var l=o.deletions;if(l!==null){for(var c=0;c<l.length;c++){var u=l[c];for(ie=u;ie!==null;){var d=ie;switch(d.tag){case 0:case 11:case 15:uc(8,d,o)}var f=d.child;if(f!==null)f.return=d,ie=f;else for(;ie!==null;){d=ie;var p=d.sibling,h=d.return;if(zC(d),d===u){ie=null;break}if(p!==null){p.return=h,ie=p;break}ie=h}}}var v=o.alternate;if(v!==null){var b=v.child;if(b!==null){v.child=null;do{var x=b.sibling;b.sibling=null,b=x}while(b!==null)}}ie=o}}if(o.subtreeFlags&2064&&a!==null)a.return=o,ie=a;else e:for(;ie!==null;){if(o=ie,o.flags&2048)switch(o.tag){case 0:case 11:case 15:uc(9,o,o.return)}var y=o.sibling;if(y!==null){y.return=o.return,ie=y;break e}ie=o.return}}var g=e.current;for(ie=g;ie!==null;){a=ie;var S=a.child;if(a.subtreeFlags&2064&&S!==null)S.return=a,ie=S;else e:for(a=g;ie!==null;){if(l=ie,l.flags&2048)try{switch(l.tag){case 0:case 11:case 15:qp(9,l)}}catch(k){yt(l,l.return,k)}if(l===a){ie=null;break e}var w=l.sibling;if(w!==null){w.return=l.return,ie=w;break e}ie=l.return}}if(Re=i,jo(),Hr&&typeof Hr.onPostCommitFiberRoot=="function")try{Hr.onPostCommitFiberRoot(Fp,e)}catch{}r=!0}return r}finally{Ue=n,sr.transition=t}}return!1}function Z2(e,t,n){t=Gs(n,t),t=SC(e,t,1),e=lo(e,t,1),t=hn(),e!==null&&(yu(e,1,t),An(e,t))}function yt(e,t,n){if(e.tag===3)Z2(e,e,n);else for(;t!==null;){if(t.tag===3){Z2(t,e,n);break}else if(t.tag===1){var r=t.stateNode;if(typeof t.type.getDerivedStateFromError=="function"||typeof r.componentDidCatch=="function"&&(co===null||!co.has(r))){e=Gs(n,e),e=wC(t,e,1),t=lo(t,e,1),e=hn(),t!==null&&(yu(t,1,e),An(t,e));break}}t=t.return}}function p$(e,t,n){var r=e.pingCache;r!==null&&r.delete(t),t=hn(),e.pingedLanes|=e.suspendedLanes&n,Vt===e&&(Jt&n)===n&&(Lt===4||Lt===3&&(Jt&130023424)===Jt&&500>Ct()-V1?ia(e,0):W1|=n),An(e,t)}function WC(e,t){t===0&&(e.mode&1?(t=ld,ld<<=1,!(ld&130023424)&&(ld=4194304)):t=1);var n=hn();e=ki(e,t),e!==null&&(yu(e,t,n),An(e,n))}function m$(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),WC(e,n)}function h$(e,t){var n=0;switch(e.tag){case 13:var r=e.stateNode,i=e.memoizedState;i!==null&&(n=i.retryLane);break;case 19:r=e.stateNode;break;default:throw Error(U(314))}r!==null&&r.delete(t),WC(e,n)}var VC;VC=function(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps||Tn.current)_n=!0;else{if(!(e.lanes&n)&&!(t.flags&128))return _n=!1,n$(e,t,n);_n=!!(e.flags&131072)}else _n=!1,lt&&t.flags&1048576&&K5(t,Zf,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;of(e,t),e=t.pendingProps;var i=Ws(t,pn.current);Ts(t,n),i=L1(null,t,r,e,i,n);var o=N1();return t.flags|=1,typeof i=="object"&&i!==null&&typeof i.render=="function"&&i.$$typeof===void 0?(t.tag=1,t.memoizedState=null,t.updateQueue=null,En(r)?(o=!0,Yf(t)):o=!1,t.memoizedState=i.state!==null&&i.state!==void 0?i.state:null,$1(t),i.updater=Kp,t.stateNode=i,i._reactInternals=t,kg(t,r,e,n),t=Pg(null,t,r,!0,o,n)):(t.tag=0,lt&&o&&C1(t),mn(null,t,i,n),t=t.child),t;case 16:r=t.elementType;e:{switch(of(e,t),e=t.pendingProps,i=r._init,r=i(r._payload),t.type=r,i=t.tag=v$(r),e=xr(r,e),i){case 0:t=jg(null,t,r,e,n);break e;case 1:t=W2(null,t,r,e,n);break e;case 11:t=F2(null,t,r,e,n);break e;case 14:t=B2(null,t,r,xr(r.type,e),n);break e}throw Error(U(306,r,""))}return t;case 0:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:xr(r,i),jg(e,t,r,i,n);case 1:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:xr(r,i),W2(e,t,r,i,n);case 3:e:{if(PC(t),e===null)throw Error(U(387));r=t.pendingProps,o=t.memoizedState,i=o.element,J5(e,t),tp(t,r,null,n);var a=t.memoizedState;if(r=a.element,o.isDehydrated)if(o={element:r,isDehydrated:!1,cache:a.cache,pendingSuspenseBoundaries:a.pendingSuspenseBoundaries,transitions:a.transitions},t.updateQueue.baseState=o,t.memoizedState=o,t.flags&256){i=Gs(Error(U(423)),t),t=V2(e,t,r,n,i);break e}else if(r!==i){i=Gs(Error(U(424)),t),t=V2(e,t,r,n,i);break e}else for(Dn=so(t.stateNode.containerInfo.firstChild),On=t,lt=!0,wr=null,n=Q5(t,null,r,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling;else{if(Vs(),r===i){t=Ci(e,t,n);break e}mn(e,t,r,n)}t=t.child}return t;case 5:return eC(t),e===null&&xg(t),r=t.type,i=t.pendingProps,o=e!==null?e.memoizedProps:null,a=i.children,hg(r,i)?a=null:o!==null&&hg(r,o)&&(t.flags|=32),jC(e,t),mn(e,t,a,n),t.child;case 6:return e===null&&xg(t),null;case 13:return _C(e,t,n);case 4:return z1(t,t.stateNode.containerInfo),r=t.pendingProps,e===null?t.child=Us(t,null,r,n):mn(e,t,r,n),t.child;case 11:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:xr(r,i),F2(e,t,r,i,n);case 7:return mn(e,t,t.pendingProps,n),t.child;case 8:return mn(e,t,t.pendingProps.children,n),t.child;case 12:return mn(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(r=t.type._context,i=t.pendingProps,o=t.memoizedProps,a=i.value,Ye(Jf,r._currentValue),r._currentValue=a,o!==null)if(Er(o.value,a)){if(o.children===i.children&&!Tn.current){t=Ci(e,t,n);break e}}else for(o=t.child,o!==null&&(o.return=t);o!==null;){var l=o.dependencies;if(l!==null){a=o.child;for(var c=l.firstContext;c!==null;){if(c.context===r){if(o.tag===1){c=hi(-1,n&-n),c.tag=2;var u=o.updateQueue;if(u!==null){u=u.shared;var d=u.pending;d===null?c.next=c:(c.next=d.next,d.next=c),u.pending=c}}o.lanes|=n,c=o.alternate,c!==null&&(c.lanes|=n),Sg(o.return,n,t),l.lanes|=n;break}c=c.next}}else if(o.tag===10)a=o.type===t.type?null:o.child;else if(o.tag===18){if(a=o.return,a===null)throw Error(U(341));a.lanes|=n,l=a.alternate,l!==null&&(l.lanes|=n),Sg(a,n,t),a=o.sibling}else a=o.child;if(a!==null)a.return=o;else for(a=o;a!==null;){if(a===t){a=null;break}if(o=a.sibling,o!==null){o.return=a.return,a=o;break}a=a.return}o=a}mn(e,t,i.children,n),t=t.child}return t;case 9:return i=t.type,r=t.pendingProps.children,Ts(t,n),i=cr(i),r=r(i),t.flags|=1,mn(e,t,r,n),t.child;case 14:return r=t.type,i=xr(r,t.pendingProps),i=xr(r.type,i),B2(e,t,r,i,n);case 15:return kC(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:xr(r,i),of(e,t),t.tag=1,En(r)?(e=!0,Yf(t)):e=!1,Ts(t,n),xC(t,r,i),kg(t,r,i,n),Pg(null,t,r,!0,e,n);case 19:return TC(e,t,n);case 22:return CC(e,t,n)}throw Error(U(156,t.tag))};function UC(e,t){return v5(e,t)}function g$(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 or(e,t,n,r){return new g$(e,t,n,r)}function K1(e){return e=e.prototype,!(!e||!e.isReactComponent)}function v$(e){if(typeof e=="function")return K1(e)?1:0;if(e!=null){if(e=e.$$typeof,e===f1)return 11;if(e===p1)return 14}return 2}function fo(e,t){var n=e.alternate;return n===null?(n=or(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 lf(e,t,n,r,i,o){var a=2;if(r=e,typeof e=="function")K1(e)&&(a=1);else if(typeof e=="string")a=5;else e:switch(e){case Ya:return oa(n.children,i,o,t);case d1:a=8,i|=8;break;case K0:return e=or(12,n,t,i|2),e.elementType=K0,e.lanes=o,e;case q0:return e=or(13,n,t,i),e.elementType=q0,e.lanes=o,e;case X0:return e=or(19,n,t,i),e.elementType=X0,e.lanes=o,e;case e5:return Yp(n,i,o,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case Zk:a=10;break e;case Jk:a=9;break e;case f1:a=11;break e;case p1:a=14;break e;case Vi:a=16,r=null;break e}throw Error(U(130,e==null?e:typeof e,""))}return t=or(a,n,t,i),t.elementType=e,t.type=r,t.lanes=o,t}function oa(e,t,n,r){return e=or(7,e,r,t),e.lanes=n,e}function Yp(e,t,n,r){return e=or(22,e,r,t),e.elementType=e5,e.lanes=n,e.stateNode={isHidden:!1},e}function Ih(e,t,n){return e=or(6,e,null,t),e.lanes=n,e}function Mh(e,t,n){return t=or(4,e.children!==null?e.children:[],e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function y$(e,t,n,r,i){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=hh(0),this.expirationTimes=hh(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=hh(0),this.identifierPrefix=r,this.onRecoverableError=i,this.mutableSourceEagerHydrationData=null}function q1(e,t,n,r,i,o,a,l,c){return e=new y$(e,t,n,l,c),t===1?(t=1,o===!0&&(t|=8)):t=0,o=or(3,null,null,t),e.current=o,o.stateNode=e,o.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},$1(o),e}function b$(e,t,n){var r=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:Xa,key:r==null?null:""+r,children:e,containerInfo:t,implementation:n}}function HC(e){if(!e)return ho;e=e._reactInternals;e:{if($a(e)!==e||e.tag!==1)throw Error(U(170));var t=e;do{switch(t.tag){case 3:t=t.stateNode.context;break e;case 1:if(En(t.type)){t=t.stateNode.__reactInternalMemoizedMergedChildContext;break e}}t=t.return}while(t!==null);throw Error(U(171))}if(e.tag===1){var n=e.type;if(En(n))return H5(e,n,t)}return t}function GC(e,t,n,r,i,o,a,l,c){return e=q1(n,r,!0,e,i,o,a,l,c),e.context=HC(null),n=e.current,r=hn(),i=uo(n),o=hi(r,i),o.callback=t??null,lo(n,o,i),e.current.lanes=i,yu(e,i,r),An(e,r),e}function Qp(e,t,n,r){var i=t.current,o=hn(),a=uo(i);return n=HC(n),t.context===null?t.context=n:t.pendingContext=n,t=hi(o,a),t.payload={element:e},r=r===void 0?null:r,r!==null&&(t.callback=r),e=lo(i,t,a),e!==null&&(Pr(e,i,a,o),tf(e,i,a)),a}function cp(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 J2(e,t){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var n=e.retryLane;e.retryLane=n!==0&&n<t?n:t}}function X1(e,t){J2(e,t),(e=e.alternate)&&J2(e,t)}function x$(){return null}var KC=typeof reportError=="function"?reportError:function(e){console.error(e)};function Y1(e){this._internalRoot=e}Zp.prototype.render=Y1.prototype.render=function(e){var t=this._internalRoot;if(t===null)throw Error(U(409));Qp(e,t,null,null)};Zp.prototype.unmount=Y1.prototype.unmount=function(){var e=this._internalRoot;if(e!==null){this._internalRoot=null;var t=e.containerInfo;xa(function(){Qp(null,e,null,null)}),t[wi]=null}};function Zp(e){this._internalRoot=e}Zp.prototype.unstable_scheduleHydration=function(e){if(e){var t=C5();e={blockedOn:null,target:e,priority:t};for(var n=0;n<Gi.length&&t!==0&&t<Gi[n].priority;n++);Gi.splice(n,0,e),n===0&&P5(e)}};function Q1(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}function Jp(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11&&(e.nodeType!==8||e.nodeValue!==" react-mount-point-unstable "))}function eS(){}function S$(e,t,n,r,i){if(i){if(typeof r=="function"){var o=r;r=function(){var u=cp(a);o.call(u)}}var a=GC(t,r,e,0,null,!1,!1,"",eS);return e._reactRootContainer=a,e[wi]=a.current,Nc(e.nodeType===8?e.parentNode:e),xa(),a}for(;i=e.lastChild;)e.removeChild(i);if(typeof r=="function"){var l=r;r=function(){var u=cp(c);l.call(u)}}var c=q1(e,0,!1,null,null,!1,!1,"",eS);return e._reactRootContainer=c,e[wi]=c.current,Nc(e.nodeType===8?e.parentNode:e),xa(function(){Qp(t,c,n,r)}),c}function em(e,t,n,r,i){var o=n._reactRootContainer;if(o){var a=o;if(typeof i=="function"){var l=i;i=function(){var c=cp(a);l.call(c)}}Qp(t,a,e,i)}else a=S$(n,t,e,i,r);return cp(a)}w5=function(e){switch(e.tag){case 3:var t=e.stateNode;if(t.current.memoizedState.isDehydrated){var n=Ul(t.pendingLanes);n!==0&&(g1(t,n|1),An(t,Ct()),!(Re&6)&&(Ks=Ct()+500,jo()))}break;case 13:xa(function(){var r=ki(e,1);if(r!==null){var i=hn();Pr(r,e,1,i)}}),X1(e,1)}};v1=function(e){if(e.tag===13){var t=ki(e,134217728);if(t!==null){var n=hn();Pr(t,e,134217728,n)}X1(e,134217728)}};k5=function(e){if(e.tag===13){var t=uo(e),n=ki(e,t);if(n!==null){var r=hn();Pr(n,e,t,r)}X1(e,t)}};C5=function(){return Ue};j5=function(e,t){var n=Ue;try{return Ue=e,t()}finally{Ue=n}};og=function(e,t,n){switch(t){case"input":if(Z0(e,n),t=n.name,n.type==="radio"&&t!=null){for(n=e;n.parentNode;)n=n.parentNode;for(n=n.querySelectorAll("input[name="+JSON.stringify(""+t)+'][type="radio"]'),t=0;t<n.length;t++){var r=n[t];if(r!==e&&r.form===e.form){var i=Up(r);if(!i)throw Error(U(90));n5(r),Z0(r,i)}}}break;case"textarea":i5(e,n);break;case"select":t=n.value,t!=null&&Cs(e,!!n.multiple,t,!1)}};d5=U1;f5=xa;var w$={usingClientEntryPoint:!1,Events:[xu,es,Up,c5,u5,U1]},zl={findFiberByHostInstance:Xo,bundleType:0,version:"18.3.1",rendererPackageName:"react-dom"},k$={bundleType:zl.bundleType,version:zl.version,rendererPackageName:zl.rendererPackageName,rendererConfig:zl.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:Ai.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return e=h5(e),e===null?null:e.stateNode},findFiberByHostInstance:zl.findFiberByHostInstance||x$,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 bd=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!bd.isDisabled&&bd.supportsFiber)try{Fp=bd.inject(k$),Hr=bd}catch{}}Gn.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=w$;Gn.createPortal=function(e,t){var n=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!Q1(t))throw Error(U(200));return b$(e,t,null,n)};Gn.createRoot=function(e,t){if(!Q1(e))throw Error(U(299));var n=!1,r="",i=KC;return t!=null&&(t.unstable_strictMode===!0&&(n=!0),t.identifierPrefix!==void 0&&(r=t.identifierPrefix),t.onRecoverableError!==void 0&&(i=t.onRecoverableError)),t=q1(e,1,!1,null,null,n,!1,r,i),e[wi]=t.current,Nc(e.nodeType===8?e.parentNode:e),new Y1(t)};Gn.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(U(188)):(e=Object.keys(e).join(","),Error(U(268,e)));return e=h5(t),e=e===null?null:e.stateNode,e};Gn.flushSync=function(e){return xa(e)};Gn.hydrate=function(e,t,n){if(!Jp(t))throw Error(U(200));return em(null,e,t,!0,n)};Gn.hydrateRoot=function(e,t,n){if(!Q1(e))throw Error(U(405));var r=n!=null&&n.hydratedSources||null,i=!1,o="",a=KC;if(n!=null&&(n.unstable_strictMode===!0&&(i=!0),n.identifierPrefix!==void 0&&(o=n.identifierPrefix),n.onRecoverableError!==void 0&&(a=n.onRecoverableError)),t=GC(t,null,e,1,n??null,i,!1,o,a),e[wi]=t.current,Nc(e),r)for(e=0;e<r.length;e++)n=r[e],i=n._getVersion,i=i(n._source),t.mutableSourceEagerHydrationData==null?t.mutableSourceEagerHydrationData=[n,i]:t.mutableSourceEagerHydrationData.push(n,i);return new Zp(t)};Gn.render=function(e,t,n){if(!Jp(t))throw Error(U(200));return em(null,e,t,!1,n)};Gn.unmountComponentAtNode=function(e){if(!Jp(e))throw Error(U(40));return e._reactRootContainer?(xa(function(){em(null,null,e,!1,function(){e._reactRootContainer=null,e[wi]=null})}),!0):!1};Gn.unstable_batchedUpdates=U1;Gn.unstable_renderSubtreeIntoContainer=function(e,t,n,r){if(!Jp(n))throw Error(U(200));if(e==null||e._reactInternals===void 0)throw Error(U(38));return em(e,t,n,!1,r)};Gn.version="18.3.1-next-f1338f8080-20240426";function qC(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(qC)}catch(e){console.error(e)}}qC(),qk.exports=Gn;var Z1=qk.exports,tS=Z1;H0.createRoot=tS.createRoot,H0.hydrateRoot=tS.hydrateRoot;function XC(e){return e!=null&&typeof e=="object"&&"nodeType"in e&&e.nodeType===Node.ELEMENT_NODE}function C$(){return!!(globalThis!=null&&globalThis.document)}function YC(e){return e.parentElement&&YC(e.parentElement)?!0:e.hidden}function j$(e){const t=e.getAttribute("contenteditable");return t!=="false"&&t!=null}function P$(e){return!!e.getAttribute("disabled")||!!e.getAttribute("aria-disabled")}function _$(e,...t){if(e==null)throw new TypeError("Cannot convert undefined or null to object");const n={...e};for(const r of t)if(r!=null)for(const i in r)Object.prototype.hasOwnProperty.call(r,i)&&(i in n&&delete n[i],n[i]=r[i]);return n}const de=e=>e?"":void 0,gi=e=>e?!0:void 0;function Dg(e){return Array.isArray(e)}function Nt(e){const t=typeof e;return e!=null&&(t==="object"||t==="function")&&!Dg(e)}function T$(e){const t=e==null?0:e.length;return t?e[t-1]:void 0}function E$(e){const t=parseFloat(e.toString()),n=e.toString().replace(String(t),"");return{unitless:!n,value:t,unit:n}}function Og(e){if(e==null)return e;const{unitless:t}=E$(e);return t||typeof e=="number"?`${e}px`:e}const QC=(e,t)=>parseInt(e[1],10)>parseInt(t[1],10)?1:-1,J1=e=>Object.fromEntries(Object.entries(e).sort(QC));function nS(e){const t=J1(e);return Object.assign(Object.values(t),t)}function A$(e){const t=Object.keys(J1(e));return new Set(t)}function rS(e){if(!e)return e;e=Og(e)??e;const t=-.02;return typeof e=="number"?`${e+t}`:e.replace(/(\d+\.?\d*)/u,n=>`${parseFloat(n)+t}`)}function Gl(e,t){const n=["@media screen"];return e&&n.push("and",`(min-width: ${Og(e)})`),t&&n.push("and",`(max-width: ${Og(t)})`),n.join(" ")}function $$(e){if(!e)return null;e.base=e.base??"0px";const t=nS(e),n=Object.entries(e).sort(QC).map(([o,a],l,c)=>{let[,u]=c[l+1]??[];return u=parseFloat(u)>0?rS(u):void 0,{_minW:rS(a),breakpoint:o,minW:a,maxW:u,maxWQuery:Gl(null,u),minWQuery:Gl(a),minMaxQuery:Gl(a,u)}}),r=A$(e),i=Array.from(r.values());return{keys:r,normalized:t,isResponsive(o){const a=Object.keys(o);return a.length>0&&a.every(l=>r.has(l))},asObject:J1(e),asArray:nS(e),details:n,get(o){return n.find(a=>a.breakpoint===o)},media:[null,...t.map(o=>Gl(o)).slice(1)],toArrayValue(o){if(!Nt(o))throw new Error("toArrayValue: value must be an object");const a=i.map(l=>o[l]??null);for(;T$(a)===null;)a.pop();return a},toObjectValue(o){if(!Array.isArray(o))throw new Error("toObjectValue: value must be an array");return o.reduce((a,l,c)=>{const u=i[c];return u!=null&&l!=null&&(a[u]=l),a},{})}}}function z$(...e){return function(...n){e.forEach(r=>r==null?void 0:r(...n))}}function he(...e){return function(n){e.some(r=>(r==null||r(n),n==null?void 0:n.defaultPrevented))}}function ey(e){return m.Children.toArray(e).filter(t=>m.isValidElement(t))}function ty(e){const t=Object.assign({},e);for(let n in t)t[n]===void 0&&delete t[n];return t}function R$(e,t){return`${e} returned \`undefined\`. Seems you forgot to wrap component within ${t}`}function _e(e={}){const{name:t,strict:n=!0,hookName:r="useContext",providerName:i="Provider",errorMessage:o,defaultValue:a}=e,l=m.createContext(a);l.displayName=t;function c(){var d;const u=m.useContext(l);if(!u&&n){const f=new Error(o??R$(r,i));throw f.name="ContextError",(d=Error.captureStackTrace)==null||d.call(Error,f,c),f}return u}return[l.Provider,c,l]}const V=(...e)=>e.filter(Boolean).join(" "),I$=e=>e.hasAttribute("tabindex");function M$(e){if(!XC(e)||YC(e)||P$(e))return!1;const{localName:t}=e;if(["input","select","textarea","button"].indexOf(t)>=0)return!0;const r={a:()=>e.hasAttribute("href"),audio:()=>e.hasAttribute("controls"),video:()=>e.hasAttribute("controls")};return t in r?r[t]():j$(e)?!0:I$(e)}const L$=["input:not(:disabled):not([disabled])","select:not(:disabled):not([disabled])","textarea:not(:disabled):not([disabled])","embed","iframe","object","a[href]","area[href]","button:not(:disabled):not([disabled])","[tabindex]","audio[controls]","video[controls]","*[tabindex]:not([aria-disabled])","*[contenteditable]"],N$=L$.join(),D$=e=>e.offsetWidth>0&&e.offsetHeight>0;function O$(e){const t=Array.from(e.querySelectorAll(N$));return t.unshift(e),t.filter(n=>M$(n)&&D$(n))}function F$(e,t,n,r){const i=typeof t=="string"?t.split("."):[t];for(r=0;r<i.length&&e;r+=1)e=e[i[r]];return e===void 0?n:e}const B$=e=>{const t=new WeakMap;return(r,i,o,a)=>{if(typeof r>"u")return e(r,i,o);t.has(r)||t.set(r,new Map);const l=t.get(r);if(l.has(i))return l.get(i);const c=e(r,i,o,a);return l.set(i,c),c}},ZC=B$(F$),W$=e=>e.default||e;function tm(e,t=[]){const n=Object.assign({},e);for(const r of t)r in n&&delete n[r];return n}function JC(e,t){const n={};for(const r of t)r in e&&(n[r]=e[r]);return n}const e6=Object.freeze(["base","sm","md","lg","xl","2xl"]);function ny(e,t){return Array.isArray(e)?e.map(n=>n===null?null:t(n)):Nt(e)?Object.keys(e).reduce((n,r)=>(n[r]=t(e[r]),n),{}):e!=null?t(e):null}function V$(e,t=e6){const n={};return e.forEach((r,i)=>{const o=t[i];r!=null&&(n[o]=r)}),n}const U$=e=>typeof e=="function";function cn(e,...t){return U$(e)?e(...t):e}function H$(e){const t=e.ownerDocument.defaultView||window,{overflow:n,overflowX:r,overflowY:i}=t.getComputedStyle(e);return/auto|scroll|overlay|hidden/.test(n+i+r)}function G$(e){return e.localName==="html"?e:e.assignedSlot||e.parentElement||e.ownerDocument.documentElement}function t6(e){return["html","body","#document"].includes(e.localName)?e.ownerDocument.body:XC(e)&&H$(e)?e:t6(G$(e))}function n6(e,t){const n={},r={};for(const[i,o]of Object.entries(e))t.includes(i)?n[i]=o:r[i]=o;return[n,r]}function K$(e,...t){const n=Object.getOwnPropertyDescriptors(e),r=Object.keys(n),i=a=>{const l={};for(let c=0;c<a.length;c++){const u=a[c];n[u]&&(Object.defineProperty(l,u,n[u]),delete n[u])}return l},o=a=>i(Array.isArray(a)?a:r.filter(a));return t.map(o).concat(i(r))}function iS(e,t,n={}){const{stop:r,getKey:i}=n;function o(a,l=[]){if(Nt(a)||Array.isArray(a)){const c={};for(const[u,d]of Object.entries(a)){const f=(i==null?void 0:i(u))??u,p=[...l,f];if(r!=null&&r(a,p))return t(a,l);c[f]=o(d,p)}return c}return t(a,l)}return o(e)}var up={exports:{}};up.exports;(function(e,t){var n=200,r="__lodash_hash_undefined__",i=800,o=16,a=9007199254740991,l="[object Arguments]",c="[object Array]",u="[object AsyncFunction]",d="[object Boolean]",f="[object Date]",p="[object Error]",h="[object Function]",v="[object GeneratorFunction]",b="[object Map]",x="[object Number]",y="[object Null]",g="[object Object]",S="[object Proxy]",w="[object RegExp]",k="[object Set]",P="[object String]",_="[object Undefined]",j="[object WeakMap]",z="[object ArrayBuffer]",$="[object DataView]",W="[object Float32Array]",Y="[object Float64Array]",ee="[object Int8Array]",I="[object Int16Array]",L="[object Int32Array]",N="[object Uint8Array]",R="[object Uint8ClampedArray]",F="[object Uint16Array]",M="[object Uint32Array]",G=/[\\^$.*+?()[\]{}|]/g,Z=/^\[object .+?Constructor\]$/,ae=/^(?:0|[1-9]\d*)$/,oe={};oe[W]=oe[Y]=oe[ee]=oe[I]=oe[L]=oe[N]=oe[R]=oe[F]=oe[M]=!0,oe[l]=oe[c]=oe[z]=oe[d]=oe[$]=oe[f]=oe[p]=oe[h]=oe[b]=oe[x]=oe[g]=oe[w]=oe[k]=oe[P]=oe[j]=!1;var Q=typeof nd=="object"&&nd&&nd.Object===Object&&nd,ue=typeof self=="object"&&self&&self.Object===Object&&self,ce=Q||ue||Function("return this")(),Be=t&&!t.nodeType&&t,Ze=Be&&!0&&e&&!e.nodeType&&e,te=Ze&&Ze.exports===Be,re=te&&Q.process,ze=function(){try{var C=Ze&&Ze.require&&Ze.require("util").types;return C||re&&re.binding&&re.binding("util")}catch{}}(),ye=ze&&ze.isTypedArray;function ot(C,E,O){switch(O.length){case 0:return C.call(E);case 1:return C.call(E,O[0]);case 2:return C.call(E,O[0],O[1]);case 3:return C.call(E,O[0],O[1],O[2])}return C.apply(E,O)}function ve(C,E){for(var O=-1,le=Array(C);++O<C;)le[O]=E(O);return le}function ut(C){return function(E){return C(E)}}function Ve(C,E){return C==null?void 0:C[E]}function $t(C,E){return function(O){return C(E(O))}}var Se=Array.prototype,kn=Function.prototype,Ot=Object.prototype,mr=ce["__core-js_shared__"],ei=kn.toString,se=Ot.hasOwnProperty,ti=function(){var C=/[^.]+$/.exec(mr&&mr.keys&&mr.keys.IE_PROTO||"");return C?"Symbol(src)_1."+C:""}(),Ro=Ot.toString,Xu=ei.call(Object),Yu=RegExp("^"+ei.call(se).replace(G,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),Io=te?ce.Buffer:void 0,Px=ce.Symbol,_x=ce.Uint8Array;Io&&Io.allocUnsafe;var Tx=$t(Object.getPrototypeOf,Object),Ex=Object.create,G7=Ot.propertyIsEnumerable,K7=Se.splice,Mo=Px?Px.toStringTag:void 0,Qu=function(){try{var C=th(Object,"defineProperty");return C({},"",{}),C}catch{}}(),q7=Io?Io.isBuffer:void 0,Ax=Math.max,X7=Date.now,$x=th(ce,"Map"),wl=th(Object,"create"),Y7=function(){function C(){}return function(E){if(!No(E))return{};if(Ex)return Ex(E);C.prototype=E;var O=new C;return C.prototype=void 0,O}}();function Lo(C){var E=-1,O=C==null?0:C.length;for(this.clear();++E<O;){var le=C[E];this.set(le[0],le[1])}}function Q7(){this.__data__=wl?wl(null):{},this.size=0}function Z7(C){var E=this.has(C)&&delete this.__data__[C];return this.size-=E?1:0,E}function J7(C){var E=this.__data__;if(wl){var O=E[C];return O===r?void 0:O}return se.call(E,C)?E[C]:void 0}function eE(C){var E=this.__data__;return wl?E[C]!==void 0:se.call(E,C)}function tE(C,E){var O=this.__data__;return this.size+=this.has(C)?0:1,O[C]=wl&&E===void 0?r:E,this}Lo.prototype.clear=Q7,Lo.prototype.delete=Z7,Lo.prototype.get=J7,Lo.prototype.has=eE,Lo.prototype.set=tE;function ni(C){var E=-1,O=C==null?0:C.length;for(this.clear();++E<O;){var le=C[E];this.set(le[0],le[1])}}function nE(){this.__data__=[],this.size=0}function rE(C){var E=this.__data__,O=Zu(E,C);if(O<0)return!1;var le=E.length-1;return O==le?E.pop():K7.call(E,O,1),--this.size,!0}function iE(C){var E=this.__data__,O=Zu(E,C);return O<0?void 0:E[O][1]}function oE(C){return Zu(this.__data__,C)>-1}function aE(C,E){var O=this.__data__,le=Zu(O,C);return le<0?(++this.size,O.push([C,E])):O[le][1]=E,this}ni.prototype.clear=nE,ni.prototype.delete=rE,ni.prototype.get=iE,ni.prototype.has=oE,ni.prototype.set=aE;function La(C){var E=-1,O=C==null?0:C.length;for(this.clear();++E<O;){var le=C[E];this.set(le[0],le[1])}}function sE(){this.size=0,this.__data__={hash:new Lo,map:new($x||ni),string:new Lo}}function lE(C){var E=ed(this,C).delete(C);return this.size-=E?1:0,E}function cE(C){return ed(this,C).get(C)}function uE(C){return ed(this,C).has(C)}function dE(C,E){var O=ed(this,C),le=O.size;return O.set(C,E),this.size+=O.size==le?0:1,this}La.prototype.clear=sE,La.prototype.delete=lE,La.prototype.get=cE,La.prototype.has=uE,La.prototype.set=dE;function Na(C){var E=this.__data__=new ni(C);this.size=E.size}function fE(){this.__data__=new ni,this.size=0}function pE(C){var E=this.__data__,O=E.delete(C);return this.size=E.size,O}function mE(C){return this.__data__.get(C)}function hE(C){return this.__data__.has(C)}function gE(C,E){var O=this.__data__;if(O instanceof ni){var le=O.__data__;if(!$x||le.length<n-1)return le.push([C,E]),this.size=++O.size,this;O=this.__data__=new La(le)}return O.set(C,E),this.size=O.size,this}Na.prototype.clear=fE,Na.prototype.delete=pE,Na.prototype.get=mE,Na.prototype.has=hE,Na.prototype.set=gE;function vE(C,E){var O=ih(C),le=!O&&rh(C),Ae=!O&&!le&&Lx(C),Ke=!O&&!le&&!Ae&&Dx(C),at=O||le||Ae||Ke,Le=at?ve(C.length,String):[],st=Le.length;for(var hr in C)at&&(hr=="length"||Ae&&(hr=="offset"||hr=="parent")||Ke&&(hr=="buffer"||hr=="byteLength"||hr=="byteOffset")||Ix(hr,st))||Le.push(hr);return Le}function Jm(C,E,O){(O!==void 0&&!td(C[E],O)||O===void 0&&!(E in C))&&eh(C,E,O)}function yE(C,E,O){var le=C[E];(!(se.call(C,E)&&td(le,O))||O===void 0&&!(E in C))&&eh(C,E,O)}function Zu(C,E){for(var O=C.length;O--;)if(td(C[O][0],E))return O;return-1}function eh(C,E,O){E=="__proto__"&&Qu?Qu(C,E,{configurable:!0,enumerable:!0,value:O,writable:!0}):C[E]=O}var bE=zE();function Ju(C){return C==null?C===void 0?_:y:Mo&&Mo in Object(C)?RE(C):OE(C)}function zx(C){return kl(C)&&Ju(C)==l}function xE(C){if(!No(C)||NE(C))return!1;var E=ah(C)?Yu:Z;return E.test(VE(C))}function SE(C){return kl(C)&&Nx(C.length)&&!!oe[Ju(C)]}function wE(C){if(!No(C))return DE(C);var E=Mx(C),O=[];for(var le in C)le=="constructor"&&(E||!se.call(C,le))||O.push(le);return O}function Rx(C,E,O,le,Ae){C!==E&&bE(E,function(Ke,at){if(Ae||(Ae=new Na),No(Ke))kE(C,E,at,O,Rx,le,Ae);else{var Le=le?le(nh(C,at),Ke,at+"",C,E,Ae):void 0;Le===void 0&&(Le=Ke),Jm(C,at,Le)}},Ox)}function kE(C,E,O,le,Ae,Ke,at){var Le=nh(C,O),st=nh(E,O),hr=at.get(st);if(hr){Jm(C,O,hr);return}var Mn=Ke?Ke(Le,st,O+"",C,E,at):void 0,Cl=Mn===void 0;if(Cl){var sh=ih(st),lh=!sh&&Lx(st),Bx=!sh&&!lh&&Dx(st);Mn=st,sh||lh||Bx?ih(Le)?Mn=Le:UE(Le)?Mn=EE(Le):lh?(Cl=!1,Mn=PE(st)):Bx?(Cl=!1,Mn=TE(st)):Mn=[]:HE(st)||rh(st)?(Mn=Le,rh(Le)?Mn=GE(Le):(!No(Le)||ah(Le))&&(Mn=IE(st))):Cl=!1}Cl&&(at.set(st,Mn),Ae(Mn,st,le,Ke,at),at.delete(st)),Jm(C,O,Mn)}function CE(C,E){return BE(FE(C,E,Fx),C+"")}var jE=Qu?function(C,E){return Qu(C,"toString",{configurable:!0,enumerable:!1,value:qE(E),writable:!0})}:Fx;function PE(C,E){return C.slice()}function _E(C){var E=new C.constructor(C.byteLength);return new _x(E).set(new _x(C)),E}function TE(C,E){var O=_E(C.buffer);return new C.constructor(O,C.byteOffset,C.length)}function EE(C,E){var O=-1,le=C.length;for(E||(E=Array(le));++O<le;)E[O]=C[O];return E}function AE(C,E,O,le){var Ae=!O;O||(O={});for(var Ke=-1,at=E.length;++Ke<at;){var Le=E[Ke],st=void 0;st===void 0&&(st=C[Le]),Ae?eh(O,Le,st):yE(O,Le,st)}return O}function $E(C){return CE(function(E,O){var le=-1,Ae=O.length,Ke=Ae>1?O[Ae-1]:void 0,at=Ae>2?O[2]:void 0;for(Ke=C.length>3&&typeof Ke=="function"?(Ae--,Ke):void 0,at&&ME(O[0],O[1],at)&&(Ke=Ae<3?void 0:Ke,Ae=1),E=Object(E);++le<Ae;){var Le=O[le];Le&&C(E,Le,le,Ke)}return E})}function zE(C){return function(E,O,le){for(var Ae=-1,Ke=Object(E),at=le(E),Le=at.length;Le--;){var st=at[++Ae];if(O(Ke[st],st,Ke)===!1)break}return E}}function ed(C,E){var O=C.__data__;return LE(E)?O[typeof E=="string"?"string":"hash"]:O.map}function th(C,E){var O=Ve(C,E);return xE(O)?O:void 0}function RE(C){var E=se.call(C,Mo),O=C[Mo];try{C[Mo]=void 0;var le=!0}catch{}var Ae=Ro.call(C);return le&&(E?C[Mo]=O:delete C[Mo]),Ae}function IE(C){return typeof C.constructor=="function"&&!Mx(C)?Y7(Tx(C)):{}}function Ix(C,E){var O=typeof C;return E=E??a,!!E&&(O=="number"||O!="symbol"&&ae.test(C))&&C>-1&&C%1==0&&C<E}function ME(C,E,O){if(!No(O))return!1;var le=typeof E;return(le=="number"?oh(O)&&Ix(E,O.length):le=="string"&&E in O)?td(O[E],C):!1}function LE(C){var E=typeof C;return E=="string"||E=="number"||E=="symbol"||E=="boolean"?C!=="__proto__":C===null}function NE(C){return!!ti&&ti in C}function Mx(C){var E=C&&C.constructor,O=typeof E=="function"&&E.prototype||Ot;return C===O}function DE(C){var E=[];if(C!=null)for(var O in Object(C))E.push(O);return E}function OE(C){return Ro.call(C)}function FE(C,E,O){return E=Ax(E===void 0?C.length-1:E,0),function(){for(var le=arguments,Ae=-1,Ke=Ax(le.length-E,0),at=Array(Ke);++Ae<Ke;)at[Ae]=le[E+Ae];Ae=-1;for(var Le=Array(E+1);++Ae<E;)Le[Ae]=le[Ae];return Le[E]=O(at),ot(C,this,Le)}}function nh(C,E){if(!(E==="constructor"&&typeof C[E]=="function")&&E!="__proto__")return C[E]}var BE=WE(jE);function WE(C){var E=0,O=0;return function(){var le=X7(),Ae=o-(le-O);if(O=le,Ae>0){if(++E>=i)return arguments[0]}else E=0;return C.apply(void 0,arguments)}}function VE(C){if(C!=null){try{return ei.call(C)}catch{}try{return C+""}catch{}}return""}function td(C,E){return C===E||C!==C&&E!==E}var rh=zx(function(){return arguments}())?zx:function(C){return kl(C)&&se.call(C,"callee")&&!G7.call(C,"callee")},ih=Array.isArray;function oh(C){return C!=null&&Nx(C.length)&&!ah(C)}function UE(C){return kl(C)&&oh(C)}var Lx=q7||XE;function ah(C){if(!No(C))return!1;var E=Ju(C);return E==h||E==v||E==u||E==S}function Nx(C){return typeof C=="number"&&C>-1&&C%1==0&&C<=a}function No(C){var E=typeof C;return C!=null&&(E=="object"||E=="function")}function kl(C){return C!=null&&typeof C=="object"}function HE(C){if(!kl(C)||Ju(C)!=g)return!1;var E=Tx(C);if(E===null)return!0;var O=se.call(E,"constructor")&&E.constructor;return typeof O=="function"&&O instanceof O&&ei.call(O)==Xu}var Dx=ye?ut(ye):SE;function GE(C){return AE(C,Ox(C))}function Ox(C){return oh(C)?vE(C):wE(C)}var KE=$E(function(C,E,O,le){Rx(C,E,O,le)});function qE(C){return function(){return C}}function Fx(C){return C}function XE(){return!1}e.exports=KE})(up,up.exports);var q$=up.exports;const ar=r1(q$);function _r(e,t=[]){const n=m.useRef(e);return m.useEffect(()=>{n.current=e}),m.useCallback((...r)=>{var i;return(i=n.current)==null?void 0:i.call(n,...r)},t)}function cf(e,t,n,r){const i=_r(n);return m.useEffect(()=>{const o=typeof e=="function"?e():e??document;if(!(!n||!o))return o.addEventListener(t,i,r),()=>{o.removeEventListener(t,i,r)}},[t,e,r,i,n]),()=>{const o=typeof e=="function"?e():e??document;o==null||o.removeEventListener(t,i,r)}}function r6(e){const{value:t,defaultValue:n,onChange:r,shouldUpdate:i=(p,h)=>p!==h}=e,o=_r(r),a=_r(i),[l,c]=m.useState(n),u=t!==void 0,d=u?t:l,f=_r(p=>{const v=typeof p=="function"?p(d):p;a(d,v)&&(u||c(v),o(v))},[u,o,d,a]);return[d,f]}function wu(e={}){const{onClose:t,onOpen:n,isOpen:r,id:i}=e,o=_r(n),a=_r(t),[l,c]=m.useState(e.defaultIsOpen||!1),u=r!==void 0?r:l,d=r!==void 0,f=m.useId(),p=i??`disclosure-${f}`,h=m.useCallback(()=>{d||c(!1),a==null||a()},[d,a]),v=m.useCallback(()=>{d||c(!0),o==null||o()},[d,o]),b=m.useCallback(()=>{u?h():v()},[u,v,h]);function x(g={}){return{...g,"aria-expanded":u,"aria-controls":p,onClick(S){var w;(w=g.onClick)==null||w.call(g,S),b()}}}function y(g={}){return{...g,hidden:!u,id:p}}return{isOpen:u,onOpen:v,onClose:h,onToggle:b,isControlled:d,getButtonProps:x,getDisclosureProps:y}}const vi=globalThis!=null&&globalThis.document?m.useLayoutEffect:m.useEffect,dp=(e,t)=>{const n=m.useRef(!1),r=m.useRef(!1);m.useEffect(()=>{if(n.current&&r.current)return e();r.current=!0},t),m.useEffect(()=>(n.current=!0,()=>{n.current=!1}),[])};function X$(e){return"current"in e}const i6=()=>typeof window<"u";function Y$(){const e=navigator.userAgentData;return(e==null?void 0:e.platform)??navigator.platform}const Q$=e=>i6()&&e.test(navigator.vendor),Z$=e=>i6()&&e.test(Y$()),J$=()=>Z$(/mac|iphone|ipad|ipod/i),ez=()=>J$()&&Q$(/apple/i);function tz(e){const{ref:t,elements:n,enabled:r}=e,i=()=>{var o;return((o=t.current)==null?void 0:o.ownerDocument)??document};cf(i,"pointerdown",o=>{var u,d;if(!ez()||!r)return;const a=((d=(u=o.composedPath)==null?void 0:u.call(o))==null?void 0:d[0])??o.target,c=(n??[t]).some(f=>{const p=X$(f)?f.current:f;return(p==null?void 0:p.contains(a))||p===a});i().activeElement!==a&&c&&(o.preventDefault(),a.focus())})}function nz(e,t){if(e!=null){if(typeof e=="function"){e(t);return}try{e.current=t}catch{throw new Error(`Cannot assign value '${t}' to ref '${e}'`)}}}function Mt(...e){return t=>{e.forEach(n=>{nz(n,t)})}}function ry(...e){return m.useMemo(()=>Mt(...e),e)}function rz(e,t){const n=_r(e);m.useEffect(()=>{if(t==null)return;let r=null;return r=window.setTimeout(()=>{n()},t),()=>{r&&window.clearTimeout(r)}},[t,n])}const zt={open:(e,t)=>`${e}[data-open], ${e}[open], ${e}[data-state=open] ${t}`,closed:(e,t)=>`${e}[data-closed], ${e}[data-state=closed] ${t}`,hover:(e,t)=>`${e}:hover ${t}, ${e}[data-hover] ${t}`,focus:(e,t)=>`${e}:focus ${t}, ${e}[data-focus] ${t}`,focusVisible:(e,t)=>`${e}:focus-visible ${t}`,focusWithin:(e,t)=>`${e}:focus-within ${t}`,active:(e,t)=>`${e}:active ${t}, ${e}[data-active] ${t}`,disabled:(e,t)=>`${e}:disabled ${t}, ${e}[data-disabled] ${t}`,invalid:(e,t)=>`${e}:invalid ${t}, ${e}[data-invalid] ${t}`,checked:(e,t)=>`${e}:checked ${t}, ${e}[data-checked] ${t}`,placeholderShown:(e,t)=>`${e}:placeholder-shown ${t}`},Rr=e=>o6(t=>e(t,"&"),"[role=group]","[data-group]",".group"),ri=e=>o6(t=>e(t,"~ &"),"[data-peer]",".peer"),o6=(e,...t)=>t.map(e).join(", "),As={_hover:"&:hover, &[data-hover]",_active:"&:active, &[data-active]",_focus:"&:focus, &[data-focus]",_highlighted:"&[data-highlighted]",_focusWithin:"&:focus-within, &[data-focus-within]",_focusVisible:"&:focus-visible, &[data-focus-visible]",_disabled:"&:disabled, &[disabled], &[aria-disabled=true], &[data-disabled]",_readOnly:"&[aria-readonly=true], &[readonly], &[data-readonly]",_before:"&::before",_after:"&::after",_empty:"&:empty, &[data-empty]",_expanded:"&[aria-expanded=true], &[data-expanded], &[data-state=expanded]",_checked:"&[aria-checked=true], &[data-checked], &[data-state=checked]",_grabbed:"&[aria-grabbed=true], &[data-grabbed]",_pressed:"&[aria-pressed=true], &[data-pressed]",_invalid:"&[aria-invalid=true], &[data-invalid]",_valid:"&[data-valid], &[data-state=valid]",_loading:"&[data-loading], &[aria-busy=true]",_selected:"&[aria-selected=true], &[data-selected]",_hidden:"&[hidden], &[data-hidden]",_autofill:"&:-webkit-autofill",_even:"&:nth-of-type(even)",_odd:"&:nth-of-type(odd)",_first:"&:first-of-type",_firstLetter:"&::first-letter",_last:"&:last-of-type",_notFirst:"&:not(:first-of-type)",_notLast:"&:not(:last-of-type)",_visited:"&:visited",_activeLink:"&[aria-current=page]",_activeStep:"&[aria-current=step]",_indeterminate:"&:indeterminate, &[aria-checked=mixed], &[data-indeterminate], &[data-state=indeterminate]",_groupOpen:Rr(zt.open),_groupClosed:Rr(zt.closed),_groupHover:Rr(zt.hover),_peerHover:ri(zt.hover),_groupFocus:Rr(zt.focus),_peerFocus:ri(zt.focus),_groupFocusVisible:Rr(zt.focusVisible),_peerFocusVisible:ri(zt.focusVisible),_groupActive:Rr(zt.active),_peerActive:ri(zt.active),_groupDisabled:Rr(zt.disabled),_peerDisabled:ri(zt.disabled),_groupInvalid:Rr(zt.invalid),_peerInvalid:ri(zt.invalid),_groupChecked:Rr(zt.checked),_peerChecked:ri(zt.checked),_groupFocusWithin:Rr(zt.focusWithin),_peerFocusWithin:ri(zt.focusWithin),_peerPlaceholderShown:ri(zt.placeholderShown),_placeholder:"&::placeholder, &[data-placeholder]",_placeholderShown:"&:placeholder-shown, &[data-placeholder-shown]",_fullScreen:"&:fullscreen, &[data-fullscreen]",_selection:"&::selection",_rtl:"[dir=rtl] &, &[dir=rtl]",_ltr:"[dir=ltr] &, &[dir=ltr]",_mediaDark:"@media (prefers-color-scheme: dark)",_mediaReduceMotion:"@media (prefers-reduced-motion: reduce)",_dark:".chakra-ui-dark &:not([data-theme]),[data-theme=dark] &:not([data-theme]),&[data-theme=dark]",_light:".chakra-ui-light &:not([data-theme]),[data-theme=light] &:not([data-theme]),&[data-theme=light]",_horizontal:"&[data-orientation=horizontal]",_vertical:"&[data-orientation=vertical]",_open:"&[data-open], &[open], &[data-state=open]",_closed:"&[data-closed], &[data-state=closed]",_complete:"&[data-complete]",_incomplete:"&[data-incomplete]",_current:"&[data-current]"},a6=Object.keys(As),iz=e=>/!(important)?$/.test(e),oS=e=>typeof e=="string"?e.replace(/!(important)?$/,"").trim():e,oz=(e,t)=>n=>{const r=String(t),i=iz(r),o=oS(r),a=e?`${e}.${o}`:o;let l=Nt(n.__cssMap)&&a in n.__cssMap?n.__cssMap[a].varRef:t;return l=oS(l),i?`${l} !important`:l};function iy(e){const{scale:t,transform:n,compose:r}=e;return(o,a)=>{const l=oz(t,o)(a);let c=(n==null?void 0:n(l,a))??l;return r&&(c=r(c,a)),c}}const xd=(...e)=>t=>e.reduce((n,r)=>r(n),t);function Jn(e,t){return n=>{const r={property:n,scale:e};return r.transform=iy({scale:e,transform:t}),r}}const az=({rtl:e,ltr:t})=>n=>n.direction==="rtl"?e:t;function sz(e){const{property:t,scale:n,transform:r}=e;return{scale:n,property:az(t),transform:n?iy({scale:n,compose:r}):r}}const s6=["rotate(var(--chakra-rotate, 0))","scaleX(var(--chakra-scale-x, 1))","scaleY(var(--chakra-scale-y, 1))","skewX(var(--chakra-skew-x, 0))","skewY(var(--chakra-skew-y, 0))"];function lz(){return["translateX(var(--chakra-translate-x, 0))","translateY(var(--chakra-translate-y, 0))",...s6].join(" ")}function cz(){return["translate3d(var(--chakra-translate-x, 0), var(--chakra-translate-y, 0), 0)",...s6].join(" ")}const uz={"--chakra-blur":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-brightness":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-contrast":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-grayscale":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-hue-rotate":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-invert":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-saturate":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-sepia":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-drop-shadow":"var(--chakra-empty,/*!*/ /*!*/)",filter:["var(--chakra-blur)","var(--chakra-brightness)","var(--chakra-contrast)","var(--chakra-grayscale)","var(--chakra-hue-rotate)","var(--chakra-invert)","var(--chakra-saturate)","var(--chakra-sepia)","var(--chakra-drop-shadow)"].join(" ")},dz={backdropFilter:["var(--chakra-backdrop-blur)","var(--chakra-backdrop-brightness)","var(--chakra-backdrop-contrast)","var(--chakra-backdrop-grayscale)","var(--chakra-backdrop-hue-rotate)","var(--chakra-backdrop-invert)","var(--chakra-backdrop-opacity)","var(--chakra-backdrop-saturate)","var(--chakra-backdrop-sepia)"].join(" "),"--chakra-backdrop-blur":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-backdrop-brightness":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-backdrop-contrast":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-backdrop-grayscale":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-backdrop-hue-rotate":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-backdrop-invert":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-backdrop-opacity":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-backdrop-saturate":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-backdrop-sepia":"var(--chakra-empty,/*!*/ /*!*/)"};function fz(e){return{"--chakra-ring-offset-shadow":"var(--chakra-ring-inset) 0 0 0 var(--chakra-ring-offset-width) var(--chakra-ring-offset-color)","--chakra-ring-shadow":"var(--chakra-ring-inset) 0 0 0 calc(var(--chakra-ring-width) + var(--chakra-ring-offset-width)) var(--chakra-ring-color)","--chakra-ring-width":e,boxShadow:["var(--chakra-ring-offset-shadow)","var(--chakra-ring-shadow)","var(--chakra-shadow, 0 0 #0000)"].join(", ")}}const pz={"row-reverse":{space:"--chakra-space-x-reverse",divide:"--chakra-divide-x-reverse"},"column-reverse":{space:"--chakra-space-y-reverse",divide:"--chakra-divide-y-reverse"}},Fg={"to-t":"to top","to-tr":"to top right","to-r":"to right","to-br":"to bottom right","to-b":"to bottom","to-bl":"to bottom left","to-l":"to left","to-tl":"to top left"},mz=new Set(Object.values(Fg)),Bg=new Set(["none","-moz-initial","inherit","initial","revert","unset"]),hz=e=>e.trim();function gz(e,t){if(e==null||Bg.has(e))return e;if(!(Wg(e)||Bg.has(e)))return`url('${e}')`;const i=/(^[a-z-A-Z]+)\((.*)\)/g.exec(e),o=i==null?void 0:i[1],a=i==null?void 0:i[2];if(!o||!a)return e;const l=o.includes("-gradient")?o:`${o}-gradient`,[c,...u]=a.split(",").map(hz).filter(Boolean);if((u==null?void 0:u.length)===0)return e;const d=c in Fg?Fg[c]:c;u.unshift(d);const f=u.map(p=>{if(mz.has(p))return p;const h=p.indexOf(" "),[v,b]=h!==-1?[p.substr(0,h),p.substr(h+1)]:[p],x=Wg(b)?b:b&&b.split(" "),y=`colors.${v}`,g=y in t.__cssMap?t.__cssMap[y].varRef:v;return x?[g,...Array.isArray(x)?x:[x]].join(" "):g});return`${l}(${f.join(", ")})`}const Wg=e=>typeof e=="string"&&e.includes("(")&&e.includes(")"),vz=(e,t)=>gz(e,t??{});function yz(e){return/^var\(--.+\)$/.test(e)}const bz=e=>{const t=parseFloat(e.toString()),n=e.toString().replace(String(t),"");return{unitless:!n,value:t,unit:n}},Ir=e=>t=>`${e}(${t})`,Ee={filter(e){return e!=="auto"?e:uz},backdropFilter(e){return e!=="auto"?e:dz},ring(e){return fz(Ee.px(e))},bgClip(e){return e==="text"?{color:"transparent",backgroundClip:"text"}:{backgroundClip:e}},transform(e){return e==="auto"?lz():e==="auto-gpu"?cz():e},vh(e){return e==="$100vh"?"var(--chakra-vh)":e},px(e){if(e==null)return e;const{unitless:t}=bz(e);return t||typeof e=="number"?`${e}px`:e},fraction(e){return typeof e!="number"||e>1?e:`${e*100}%`},float(e,t){const n={left:"right",right:"left"};return t.direction==="rtl"?n[e]:e},degree(e){if(yz(e)||e==null)return e;const t=typeof e=="string"&&!e.endsWith("deg");return typeof e=="number"||t?`${e}deg`:e},gradient:vz,blur:Ir("blur"),opacity:Ir("opacity"),brightness:Ir("brightness"),contrast:Ir("contrast"),dropShadow:Ir("drop-shadow"),grayscale:Ir("grayscale"),hueRotate:e=>Ir("hue-rotate")(Ee.degree(e)),invert:Ir("invert"),saturate:Ir("saturate"),sepia:Ir("sepia"),bgImage(e){return e==null||Wg(e)||Bg.has(e)?e:`url(${e})`},outline(e){const t=String(e)==="0"||String(e)==="none";return e!==null&&t?{outline:"2px solid transparent",outlineOffset:"2px"}:{outline:e}},flexDirection(e){const{space:t,divide:n}=pz[e]??{},r={flexDirection:e};return t&&(r[t]=1),n&&(r[n]=1),r}},T={borderWidths:Jn("borderWidths"),borderStyles:Jn("borderStyles"),colors:Jn("colors"),borders:Jn("borders"),gradients:Jn("gradients",Ee.gradient),radii:Jn("radii",Ee.px),space:Jn("space",xd(Ee.vh,Ee.px)),spaceT:Jn("space",xd(Ee.vh,Ee.px)),degreeT(e){return{property:e,transform:Ee.degree}},prop(e,t,n){return{property:e,scale:t,...t&&{transform:iy({scale:t,transform:n})}}},propT(e,t){return{property:e,transform:t}},sizes:Jn("sizes",xd(Ee.vh,Ee.px)),sizesT:Jn("sizes",xd(Ee.vh,Ee.fraction)),shadows:Jn("shadows"),logical:sz,blur:Jn("blur",Ee.blur)},uf={background:T.colors("background"),backgroundColor:T.colors("backgroundColor"),backgroundImage:T.gradients("backgroundImage"),backgroundSize:!0,backgroundPosition:!0,backgroundRepeat:!0,backgroundAttachment:!0,backgroundClip:{transform:Ee.bgClip},bgSize:T.prop("backgroundSize"),bgPosition:T.prop("backgroundPosition"),bg:T.colors("background"),bgColor:T.colors("backgroundColor"),bgPos:T.prop("backgroundPosition"),bgRepeat:T.prop("backgroundRepeat"),bgAttachment:T.prop("backgroundAttachment"),bgGradient:T.gradients("backgroundImage"),bgClip:{transform:Ee.bgClip}};Object.assign(uf,{bgImage:uf.backgroundImage,bgImg:uf.backgroundImage});const Ne={border:T.borders("border"),borderWidth:T.borderWidths("borderWidth"),borderStyle:T.borderStyles("borderStyle"),borderColor:T.colors("borderColor"),borderRadius:T.radii("borderRadius"),borderTop:T.borders("borderTop"),borderBlockStart:T.borders("borderBlockStart"),borderTopLeftRadius:T.radii("borderTopLeftRadius"),borderStartStartRadius:T.logical({scale:"radii",property:{ltr:"borderTopLeftRadius",rtl:"borderTopRightRadius"}}),borderEndStartRadius:T.logical({scale:"radii",property:{ltr:"borderBottomLeftRadius",rtl:"borderBottomRightRadius"}}),borderTopRightRadius:T.radii("borderTopRightRadius"),borderStartEndRadius:T.logical({scale:"radii",property:{ltr:"borderTopRightRadius",rtl:"borderTopLeftRadius"}}),borderEndEndRadius:T.logical({scale:"radii",property:{ltr:"borderBottomRightRadius",rtl:"borderBottomLeftRadius"}}),borderRight:T.borders("borderRight"),borderInlineEnd:T.borders("borderInlineEnd"),borderBottom:T.borders("borderBottom"),borderBlockEnd:T.borders("borderBlockEnd"),borderBottomLeftRadius:T.radii("borderBottomLeftRadius"),borderBottomRightRadius:T.radii("borderBottomRightRadius"),borderLeft:T.borders("borderLeft"),borderInlineStart:{property:"borderInlineStart",scale:"borders"},borderInlineStartRadius:T.logical({scale:"radii",property:{ltr:["borderTopLeftRadius","borderBottomLeftRadius"],rtl:["borderTopRightRadius","borderBottomRightRadius"]}}),borderInlineEndRadius:T.logical({scale:"radii",property:{ltr:["borderTopRightRadius","borderBottomRightRadius"],rtl:["borderTopLeftRadius","borderBottomLeftRadius"]}}),borderX:T.borders(["borderLeft","borderRight"]),borderInline:T.borders("borderInline"),borderY:T.borders(["borderTop","borderBottom"]),borderBlock:T.borders("borderBlock"),borderTopWidth:T.borderWidths("borderTopWidth"),borderBlockStartWidth:T.borderWidths("borderBlockStartWidth"),borderTopColor:T.colors("borderTopColor"),borderBlockStartColor:T.colors("borderBlockStartColor"),borderTopStyle:T.borderStyles("borderTopStyle"),borderBlockStartStyle:T.borderStyles("borderBlockStartStyle"),borderBottomWidth:T.borderWidths("borderBottomWidth"),borderBlockEndWidth:T.borderWidths("borderBlockEndWidth"),borderBottomColor:T.colors("borderBottomColor"),borderBlockEndColor:T.colors("borderBlockEndColor"),borderBottomStyle:T.borderStyles("borderBottomStyle"),borderBlockEndStyle:T.borderStyles("borderBlockEndStyle"),borderLeftWidth:T.borderWidths("borderLeftWidth"),borderInlineStartWidth:T.borderWidths("borderInlineStartWidth"),borderLeftColor:T.colors("borderLeftColor"),borderInlineStartColor:T.colors("borderInlineStartColor"),borderLeftStyle:T.borderStyles("borderLeftStyle"),borderInlineStartStyle:T.borderStyles("borderInlineStartStyle"),borderRightWidth:T.borderWidths("borderRightWidth"),borderInlineEndWidth:T.borderWidths("borderInlineEndWidth"),borderRightColor:T.colors("borderRightColor"),borderInlineEndColor:T.colors("borderInlineEndColor"),borderRightStyle:T.borderStyles("borderRightStyle"),borderInlineEndStyle:T.borderStyles("borderInlineEndStyle"),borderTopRadius:T.radii(["borderTopLeftRadius","borderTopRightRadius"]),borderBottomRadius:T.radii(["borderBottomLeftRadius","borderBottomRightRadius"]),borderLeftRadius:T.radii(["borderTopLeftRadius","borderBottomLeftRadius"]),borderRightRadius:T.radii(["borderTopRightRadius","borderBottomRightRadius"])};Object.assign(Ne,{rounded:Ne.borderRadius,roundedTop:Ne.borderTopRadius,roundedTopLeft:Ne.borderTopLeftRadius,roundedTopRight:Ne.borderTopRightRadius,roundedTopStart:Ne.borderStartStartRadius,roundedTopEnd:Ne.borderStartEndRadius,roundedBottom:Ne.borderBottomRadius,roundedBottomLeft:Ne.borderBottomLeftRadius,roundedBottomRight:Ne.borderBottomRightRadius,roundedBottomStart:Ne.borderEndStartRadius,roundedBottomEnd:Ne.borderEndEndRadius,roundedLeft:Ne.borderLeftRadius,roundedRight:Ne.borderRightRadius,roundedStart:Ne.borderInlineStartRadius,roundedEnd:Ne.borderInlineEndRadius,borderStart:Ne.borderInlineStart,borderEnd:Ne.borderInlineEnd,borderTopStartRadius:Ne.borderStartStartRadius,borderTopEndRadius:Ne.borderStartEndRadius,borderBottomStartRadius:Ne.borderEndStartRadius,borderBottomEndRadius:Ne.borderEndEndRadius,borderStartRadius:Ne.borderInlineStartRadius,borderEndRadius:Ne.borderInlineEndRadius,borderStartWidth:Ne.borderInlineStartWidth,borderEndWidth:Ne.borderInlineEndWidth,borderStartColor:Ne.borderInlineStartColor,borderEndColor:Ne.borderInlineEndColor,borderStartStyle:Ne.borderInlineStartStyle,borderEndStyle:Ne.borderInlineEndStyle});const xz={color:T.colors("color"),textColor:T.colors("color"),fill:T.colors("fill"),stroke:T.colors("stroke"),accentColor:T.colors("accentColor"),textFillColor:T.colors("textFillColor")},fp={alignItems:!0,alignContent:!0,justifyItems:!0,justifyContent:!0,flexWrap:!0,flexDirection:{transform:Ee.flexDirection},flex:!0,flexFlow:!0,flexGrow:!0,flexShrink:!0,flexBasis:T.sizes("flexBasis"),justifySelf:!0,alignSelf:!0,order:!0,placeItems:!0,placeContent:!0,placeSelf:!0,gap:T.space("gap"),rowGap:T.space("rowGap"),columnGap:T.space("columnGap")};Object.assign(fp,{flexDir:fp.flexDirection});const tr={width:T.sizesT("width"),inlineSize:T.sizesT("inlineSize"),height:T.sizes("height"),blockSize:T.sizes("blockSize"),boxSize:T.sizes(["width","height"]),minWidth:T.sizes("minWidth"),minInlineSize:T.sizes("minInlineSize"),minHeight:T.sizes("minHeight"),minBlockSize:T.sizes("minBlockSize"),maxWidth:T.sizes("maxWidth"),maxInlineSize:T.sizes("maxInlineSize"),maxHeight:T.sizes("maxHeight"),maxBlockSize:T.sizes("maxBlockSize"),overflow:!0,overflowX:!0,overflowY:!0,overscrollBehavior:!0,overscrollBehaviorX:!0,overscrollBehaviorY:!0,display:!0,aspectRatio:!0,hideFrom:{scale:"breakpoints",transform:(e,t)=>{var i,o;return{[`@media screen and (min-width: ${((o=(i=t.__breakpoints)==null?void 0:i.get(e))==null?void 0:o.minW)??e})`]:{display:"none"}}}},hideBelow:{scale:"breakpoints",transform:(e,t)=>{var i,o;return{[`@media screen and (max-width: ${((o=(i=t.__breakpoints)==null?void 0:i.get(e))==null?void 0:o._minW)??e})`]:{display:"none"}}}},verticalAlign:!0,boxSizing:!0,boxDecorationBreak:!0,float:T.propT("float",Ee.float),objectFit:!0,objectPosition:!0,visibility:!0,isolation:!0};Object.assign(tr,{w:tr.width,h:tr.height,minW:tr.minWidth,maxW:tr.maxWidth,minH:tr.minHeight,maxH:tr.maxHeight,overscroll:tr.overscrollBehavior,overscrollX:tr.overscrollBehaviorX,overscrollY:tr.overscrollBehaviorY});const Sz={filter:{transform:Ee.filter},blur:T.blur("--chakra-blur"),brightness:T.propT("--chakra-brightness",Ee.brightness),contrast:T.propT("--chakra-contrast",Ee.contrast),hueRotate:T.propT("--chakra-hue-rotate",Ee.hueRotate),invert:T.propT("--chakra-invert",Ee.invert),saturate:T.propT("--chakra-saturate",Ee.saturate),dropShadow:T.propT("--chakra-drop-shadow",Ee.dropShadow),backdropFilter:{transform:Ee.backdropFilter},backdropBlur:T.blur("--chakra-backdrop-blur"),backdropBrightness:T.propT("--chakra-backdrop-brightness",Ee.brightness),backdropContrast:T.propT("--chakra-backdrop-contrast",Ee.contrast),backdropHueRotate:T.propT("--chakra-backdrop-hue-rotate",Ee.hueRotate),backdropInvert:T.propT("--chakra-backdrop-invert",Ee.invert),backdropSaturate:T.propT("--chakra-backdrop-saturate",Ee.saturate)},wz={ring:{transform:Ee.ring},ringColor:T.colors("--chakra-ring-color"),ringOffset:T.prop("--chakra-ring-offset-width"),ringOffsetColor:T.colors("--chakra-ring-offset-color"),ringInset:T.prop("--chakra-ring-inset")},kz={appearance:!0,cursor:!0,resize:!0,userSelect:!0,pointerEvents:!0,outline:{transform:Ee.outline},outlineOffset:!0,outlineColor:T.colors("outlineColor")},l6={gridGap:T.space("gridGap"),gridColumnGap:T.space("gridColumnGap"),gridRowGap:T.space("gridRowGap"),gridColumn:!0,gridRow:!0,gridAutoFlow:!0,gridAutoColumns:!0,gridColumnStart:!0,gridColumnEnd:!0,gridRowStart:!0,gridRowEnd:!0,gridAutoRows:!0,gridTemplate:!0,gridTemplateColumns:!0,gridTemplateRows:!0,gridTemplateAreas:!0,gridArea:!0};function Cz(e,t,n,r){const i=typeof t=="string"?t.split("."):[t];for(r=0;r<i.length&&e;r+=1)e=e[i[r]];return e===void 0?n:e}const jz=e=>{const t=new WeakMap;return(r,i,o,a)=>{if(typeof r>"u")return e(r,i,o);t.has(r)||t.set(r,new Map);const l=t.get(r);if(l.has(i))return l.get(i);const c=e(r,i,o,a);return l.set(i,c),c}},Pz=jz(Cz),_z={border:"0px",clip:"rect(0, 0, 0, 0)",width:"1px",height:"1px",margin:"-1px",padding:"0px",overflow:"hidden",whiteSpace:"nowrap",position:"absolute"},Tz={position:"static",width:"auto",height:"auto",clip:"auto",padding:"0",margin:"0",overflow:"visible",whiteSpace:"normal"},Lh=(e,t,n)=>{const r={},i=Pz(e,t,{});for(const o in i)o in n&&n[o]!=null||(r[o]=i[o]);return r},Ez={srOnly:{transform(e){return e===!0?_z:e==="focusable"?Tz:{}}},layerStyle:{processResult:!0,transform:(e,t,n)=>Lh(t,`layerStyles.${e}`,n)},textStyle:{processResult:!0,transform:(e,t,n)=>Lh(t,`textStyles.${e}`,n)},apply:{processResult:!0,transform:(e,t,n)=>Lh(t,e,n)}},pc={position:!0,pos:T.prop("position"),zIndex:T.prop("zIndex","zIndices"),inset:T.spaceT("inset"),insetX:T.spaceT(["left","right"]),insetInline:T.spaceT("insetInline"),insetY:T.spaceT(["top","bottom"]),insetBlock:T.spaceT("insetBlock"),top:T.spaceT("top"),insetBlockStart:T.spaceT("insetBlockStart"),bottom:T.spaceT("bottom"),insetBlockEnd:T.spaceT("insetBlockEnd"),left:T.spaceT("left"),insetInlineStart:T.logical({scale:"space",property:{ltr:"left",rtl:"right"}}),right:T.spaceT("right"),insetInlineEnd:T.logical({scale:"space",property:{ltr:"right",rtl:"left"}})};Object.assign(pc,{insetStart:pc.insetInlineStart,insetEnd:pc.insetInlineEnd});const Vg={boxShadow:T.shadows("boxShadow"),mixBlendMode:!0,blendMode:T.prop("mixBlendMode"),backgroundBlendMode:!0,bgBlendMode:T.prop("backgroundBlendMode"),opacity:!0};Object.assign(Vg,{shadow:Vg.boxShadow});const et={margin:T.spaceT("margin"),marginTop:T.spaceT("marginTop"),marginBlockStart:T.spaceT("marginBlockStart"),marginRight:T.spaceT("marginRight"),marginInlineEnd:T.spaceT("marginInlineEnd"),marginBottom:T.spaceT("marginBottom"),marginBlockEnd:T.spaceT("marginBlockEnd"),marginLeft:T.spaceT("marginLeft"),marginInlineStart:T.spaceT("marginInlineStart"),marginX:T.spaceT(["marginInlineStart","marginInlineEnd"]),marginInline:T.spaceT("marginInline"),marginY:T.spaceT(["marginTop","marginBottom"]),marginBlock:T.spaceT("marginBlock"),padding:T.space("padding"),paddingTop:T.space("paddingTop"),paddingBlockStart:T.space("paddingBlockStart"),paddingRight:T.space("paddingRight"),paddingBottom:T.space("paddingBottom"),paddingBlockEnd:T.space("paddingBlockEnd"),paddingLeft:T.space("paddingLeft"),paddingInlineStart:T.space("paddingInlineStart"),paddingInlineEnd:T.space("paddingInlineEnd"),paddingX:T.space(["paddingInlineStart","paddingInlineEnd"]),paddingInline:T.space("paddingInline"),paddingY:T.space(["paddingTop","paddingBottom"]),paddingBlock:T.space("paddingBlock")};Object.assign(et,{m:et.margin,mt:et.marginTop,mr:et.marginRight,me:et.marginInlineEnd,marginEnd:et.marginInlineEnd,mb:et.marginBottom,ml:et.marginLeft,ms:et.marginInlineStart,marginStart:et.marginInlineStart,mx:et.marginX,my:et.marginY,p:et.padding,pt:et.paddingTop,py:et.paddingY,px:et.paddingX,pb:et.paddingBottom,pl:et.paddingLeft,ps:et.paddingInlineStart,paddingStart:et.paddingInlineStart,pr:et.paddingRight,pe:et.paddingInlineEnd,paddingEnd:et.paddingInlineEnd});const Az={scrollBehavior:!0,scrollSnapAlign:!0,scrollSnapStop:!0,scrollSnapType:!0,scrollMargin:T.spaceT("scrollMargin"),scrollMarginTop:T.spaceT("scrollMarginTop"),scrollMarginBottom:T.spaceT("scrollMarginBottom"),scrollMarginLeft:T.spaceT("scrollMarginLeft"),scrollMarginRight:T.spaceT("scrollMarginRight"),scrollMarginX:T.spaceT(["scrollMarginLeft","scrollMarginRight"]),scrollMarginY:T.spaceT(["scrollMarginTop","scrollMarginBottom"]),scrollPadding:T.spaceT("scrollPadding"),scrollPaddingTop:T.spaceT("scrollPaddingTop"),scrollPaddingBottom:T.spaceT("scrollPaddingBottom"),scrollPaddingLeft:T.spaceT("scrollPaddingLeft"),scrollPaddingRight:T.spaceT("scrollPaddingRight"),scrollPaddingX:T.spaceT(["scrollPaddingLeft","scrollPaddingRight"]),scrollPaddingY:T.spaceT(["scrollPaddingTop","scrollPaddingBottom"])},$z={fontFamily:T.prop("fontFamily","fonts"),fontSize:T.prop("fontSize","fontSizes",Ee.px),fontWeight:T.prop("fontWeight","fontWeights"),lineHeight:T.prop("lineHeight","lineHeights"),letterSpacing:T.prop("letterSpacing","letterSpacings"),textAlign:!0,fontStyle:!0,textIndent:!0,wordBreak:!0,overflowWrap:!0,textOverflow:!0,textTransform:!0,whiteSpace:!0,isTruncated:{transform(e){if(e===!0)return{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"}}},noOfLines:{static:{overflow:"hidden",textOverflow:"ellipsis",display:"-webkit-box",WebkitBoxOrient:"vertical",WebkitLineClamp:"var(--chakra-line-clamp)"},property:"--chakra-line-clamp"}},zz={textDecorationColor:T.colors("textDecorationColor"),textDecoration:!0,textDecor:{property:"textDecoration"},textDecorationLine:!0,textDecorationStyle:!0,textDecorationThickness:!0,textUnderlineOffset:!0,textShadow:T.shadows("textShadow")},Rz={clipPath:!0,transform:T.propT("transform",Ee.transform),transformOrigin:!0,translateX:T.spaceT("--chakra-translate-x"),translateY:T.spaceT("--chakra-translate-y"),skewX:T.degreeT("--chakra-skew-x"),skewY:T.degreeT("--chakra-skew-y"),scaleX:T.prop("--chakra-scale-x"),scaleY:T.prop("--chakra-scale-y"),scale:T.prop(["--chakra-scale-x","--chakra-scale-y"]),rotate:T.degreeT("--chakra-rotate")},Iz={listStyleType:!0,listStylePosition:!0,listStylePos:T.prop("listStylePosition"),listStyleImage:!0,listStyleImg:T.prop("listStyleImage")},Mz={transition:!0,transitionDelay:!0,animation:!0,willChange:!0,transitionDuration:T.prop("transitionDuration","transition.duration"),transitionProperty:T.prop("transitionProperty","transition.property"),transitionTimingFunction:T.prop("transitionTimingFunction","transition.easing")},oy=ar({},uf,Ne,xz,fp,tr,Sz,wz,kz,l6,Ez,pc,Vg,et,Az,$z,zz,Rz,Iz,Mz),Lz=Object.assign({},et,tr,fp,l6,pc),c6=Object.keys(Lz),Nz=[...Object.keys(oy),...a6],Dz={...oy,...As},Oz=e=>e in Dz,Fz=e=>t=>{if(!t.__breakpoints)return e;const{isResponsive:n,toArrayValue:r,media:i}=t.__breakpoints,o={};for(const a in e){let l=cn(e[a],t);if(l==null)continue;if(l=Nt(l)&&n(l)?r(l):l,!Array.isArray(l)){o[a]=l;continue}const c=l.slice(0,i.length).length;for(let u=0;u<c;u+=1){const d=i==null?void 0:i[u];if(!d){o[a]=l[u];continue}o[d]=o[d]||{},l[u]!=null&&(o[d][a]=l[u])}}return o};function Bz(e){const t=[];let n="",r=!1;for(let i=0;i<e.length;i++){const o=e[i];o==="("?(r=!0,n+=o):o===")"?(r=!1,n+=o):o===","&&!r?(t.push(n),n=""):n+=o}return n=n.trim(),n&&t.push(n),t}function Wz(e){return/^var\(--.+\)$/.test(e)}const Vz=(e,t)=>e.startsWith("--")&&typeof t=="string"&&!Wz(t),Uz=(e,t)=>{if(t==null)return t;const n=a=>{var l,c;return(c=(l=e.__cssMap)==null?void 0:l[a])==null?void 0:c.varRef},r=a=>n(a)??a,[i,o]=Bz(t);return t=n(i)??r(o)??r(t),t};function Hz(e){const{configs:t={},pseudos:n={},theme:r}=e,i=(o,a=!1)=>{var d;const l=cn(o,r),c=Fz(l)(r);let u={};for(let f in c){const p=c[f];let h=cn(p,r);f in n&&(f=n[f]),Vz(f,h)&&(h=Uz(r,h));let v=t[f];if(v===!0&&(v={property:f}),Nt(h)){u[f]=u[f]??{},u[f]=ar({},u[f],i(h,!0));continue}let b=((d=v==null?void 0:v.transform)==null?void 0:d.call(v,h,r,l))??h;b=v!=null&&v.processResult?i(b,!0):b;const x=cn(v==null?void 0:v.property,r);if(!a&&(v!=null&&v.static)){const y=cn(v.static,r);u=ar({},u,y)}if(x&&Array.isArray(x)){for(const y of x)u[y]=b;continue}if(x){x==="&"&&Nt(b)?u=ar({},u,b):u[x]=b;continue}if(Nt(b)){u=ar({},u,b);continue}u[f]=b}return u};return i}const u6=e=>t=>Hz({theme:t,pseudos:As,configs:oy})(e);function fe(e){return{definePartsStyle(t){return t},defineMultiStyleConfig(t){return{parts:e,...t}}}}function Gz(e,t,n){var r,i;return((i=(r=e.__cssMap)==null?void 0:r[`${t}.${n}`])==null?void 0:i.varRef)??n}function Kz(e,t){if(Array.isArray(e))return e;if(Nt(e))return t(e);if(e!=null)return[e]}function qz(e,t){for(let n=t+1;n<e.length;n++)if(e[n]!=null)return n;return-1}function Xz(e){const t=e.__breakpoints;return function(r,i,o,a){var p,h;if(!t)return;const l={},c=Kz(o,t.toArrayValue);if(!c)return l;const u=c.length,d=u===1,f=!!r.parts;for(let v=0;v<u;v++){const b=t.details[v],x=t.details[qz(c,v)],y=Gl(b.minW,x==null?void 0:x._minW),g=cn((p=r[i])==null?void 0:p[c[v]],a);if(g){if(f){(h=r.parts)==null||h.forEach(S=>{ar(l,{[S]:d?g[S]:{[y]:g[S]}})});continue}if(!f){d?ar(l,g):l[y]=g;continue}l[y]=g}}return l}}function Yz(e){return t=>{const{variant:n,size:r,theme:i}=t,o=Xz(i);return ar({},cn(e.baseStyle??{},t),o(e,"sizes",r,t),o(e,"variants",n,t))}}function $e(e){return tm(e,["styleConfig","size","variant","colorScheme"])}function d6(e){return Nt(e)&&e.reference?e.reference:String(e)}const nm=(e,...t)=>t.map(d6).join(` ${e} `).replace(/calc/g,""),aS=(...e)=>`calc(${nm("+",...e)})`,sS=(...e)=>`calc(${nm("-",...e)})`,Ug=(...e)=>`calc(${nm("*",...e)})`,lS=(...e)=>`calc(${nm("/",...e)})`,cS=e=>{const t=d6(e);return t!=null&&!Number.isNaN(parseFloat(t))?String(t).startsWith("-")?String(t).slice(1):`-${t}`:Ug(t,-1)},ai=Object.assign(e=>({add:(...t)=>ai(aS(e,...t)),subtract:(...t)=>ai(sS(e,...t)),multiply:(...t)=>ai(Ug(e,...t)),divide:(...t)=>ai(lS(e,...t)),negate:()=>ai(cS(e)),toString:()=>e.toString()}),{add:aS,subtract:sS,multiply:Ug,divide:lS,negate:cS});function Qz(e,t="-"){return e.replace(/\s+/g,t)}function Zz(e){const t=Qz(e.toString());return eR(Jz(t))}function Jz(e){return e.includes("\\.")?e:!Number.isInteger(parseFloat(e.toString()))?e.replace(".","\\."):e}function eR(e){return e.replace(/[!-,/:-@[-^`{-~]/g,"\\$&")}function tR(e,t=""){return[t,e].filter(Boolean).join("-")}function nR(e,t){return`var(${e}${t?`, ${t}`:""})`}function rR(e,t=""){return Zz(`--${tR(e,t)}`)}function X(e,t,n){const r=rR(e,n);return{variable:r,reference:nR(r,t)}}function f6(e,t){const n={};for(const r of t){if(Array.isArray(r)){const[i,o]=r;n[i]=X(`${e}-${i}`,o);continue}n[r]=X(`${e}-${r}`)}return n}const iR=["colors","borders","borderWidths","borderStyles","fonts","fontSizes","fontWeights","gradients","letterSpacings","lineHeights","radii","space","shadows","sizes","zIndices","transition","blur","breakpoints"];function oR(e){return JC(e,iR)}function aR(e){return e.semanticTokens}function sR(e){const{__cssMap:t,__cssVars:n,__breakpoints:r,...i}=e;return i}function lR(e){const t=oR(e),n=aR(e),r=o=>a6.includes(o)||o==="default",i={};return iS(t,(o,a)=>{o!=null&&(i[a.join(".")]={isSemantic:!1,value:o})}),iS(n,(o,a)=>{o!=null&&(i[a.join(".")]={isSemantic:!0,value:o})},{stop:o=>Object.keys(o).every(r)}),i}function uS(e,t){return X(String(e).replace(/\./g,"-"),void 0,t)}function cR(e){var a;const t=lR(e),n=(a=e.config)==null?void 0:a.cssVarPrefix;let r={};const i={};function o(l,c){const d=[String(l).split(".")[0],c].join(".");if(!t[d])return c;const{reference:p}=uS(d,n);return p}for(const[l,c]of Object.entries(t)){const{isSemantic:u,value:d}=c,{variable:f,reference:p}=uS(l,n);if(!u){if(l.startsWith("space")){const v=l.split("."),[b,...x]=v,y=`${b}.-${x.join(".")}`,g=ai.negate(d),S=ai.negate(p);i[y]={value:g,var:f,varRef:S}}r[f]=d,i[l]={value:d,var:f,varRef:p};continue}const h=Nt(d)?d:{default:d};r=ar(r,Object.entries(h).reduce((v,[b,x])=>{if(!x)return v;const y=o(l,`${x}`);if(b==="default")return v[f]=y,v;const g=(As==null?void 0:As[b])??b;return v[g]={[f]:y},v},{})),i[l]={value:p,var:f,varRef:p}}return{cssVars:r,cssMap:i}}function uR(e){const t=sR(e),{cssMap:n,cssVars:r}=cR(t);return Object.assign(t,{__cssVars:{...{"--chakra-ring-inset":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-ring-offset-width":"0px","--chakra-ring-offset-color":"#fff","--chakra-ring-color":"rgba(66, 153, 225, 0.6)","--chakra-ring-offset-shadow":"0 0 #0000","--chakra-ring-shadow":"0 0 #0000","--chakra-space-x-reverse":"0","--chakra-space-y-reverse":"0"},...r},__cssMap:n,__breakpoints:$$(t.breakpoints)}),t}function Me(e,t={}){let n=!1;function r(){if(!n){n=!0;return}throw new Error("[anatomy] .part(...) should only be called once. Did you mean to use .extend(...) ?")}function i(...d){r();for(const f of d)t[f]=c(f);return Me(e,t)}function o(...d){for(const f of d)f in t||(t[f]=c(f));return Me(e,t)}function a(){return Object.fromEntries(Object.entries(t).map(([f,p])=>[f,p.selector]))}function l(){return Object.fromEntries(Object.entries(t).map(([f,p])=>[f,p.className]))}function c(d){const h=`chakra-${(["container","root"].includes(d??"")?[e]:[e,d]).filter(Boolean).join("__")}`;return{className:h,selector:`.${h}`,toString:()=>d}}return{parts:i,toPart:c,extend:o,selectors:a,classnames:l,get keys(){return Object.keys(t)},__type:{}}}const dR=Me("accordion").parts("root","container","button","panel","icon"),p6=Me("alert").parts("title","description","container","icon","spinner"),fR=Me("avatar").parts("label","badge","container","excessLabel","group"),pR=Me("breadcrumb").parts("link","item","container","separator");Me("button").parts();const m6=Me("checkbox").parts("control","icon","container","label");Me("progress").parts("track","filledTrack","label");const mR=Me("drawer").parts("overlay","dialogContainer","dialog","header","closeButton","body","footer"),hR=Me("editable").parts("preview","input","textarea"),h6=Me("form").parts("container","requiredIndicator","helperText"),gR=Me("formError").parts("text","icon"),ay=Me("input").parts("addon","field","element","group"),vR=Me("list").parts("container","item","icon"),g6=Me("menu").parts("button","list","item","groupTitle","icon","command","divider"),v6=Me("modal").parts("overlay","dialogContainer","dialog","header","closeButton","body","footer"),yR=Me("numberinput").parts("root","field","stepperGroup","stepper");Me("pininput").parts("field");const bR=Me("popover").parts("content","header","body","footer","popper","arrow","closeButton"),y6=Me("progress").parts("label","filledTrack","track"),b6=Me("radio").parts("container","control","label"),xR=Me("select").parts("field","icon"),x6=Me("slider").parts("container","track","thumb","filledTrack","mark"),SR=Me("stat").parts("container","label","helpText","number","icon"),S6=Me("switch").parts("container","track","thumb","label"),wR=Me("table").parts("table","thead","tbody","tr","th","td","tfoot","caption"),kR=Me("tabs").parts("root","tab","tablist","tabpanel","tabpanels","indicator"),CR=Me("tag").parts("container","label","closeButton"),w6=Me("card").parts("container","header","body","footer");Me("stepper").parts("stepper","step","title","description","indicator","separator","icon","number");const{definePartsStyle:jR,defineMultiStyleConfig:PR}=fe(dR.keys),_R={borderTopWidth:"1px",borderColor:"inherit",_last:{borderBottomWidth:"1px"}},TR={transitionProperty:"common",transitionDuration:"normal",fontSize:"md",_focusVisible:{boxShadow:"outline"},_hover:{bg:"blackAlpha.50"},_disabled:{opacity:.4,cursor:"not-allowed"},px:"4",py:"2"},ER={pt:"2",px:"4",pb:"5"},AR={fontSize:"1.25em"},$R=jR({container:_R,button:TR,panel:ER,icon:AR}),zR=PR({baseStyle:$R});function Zo(e,t,n){return Math.min(Math.max(e,n),t)}class Kl extends Error{constructor(t){super(`Failed to parse color: "${t}"`)}}function sy(e){if(typeof e!="string")throw new Kl(e);if(e.trim().toLowerCase()==="transparent")return[0,0,0,0];let t=e.trim();t=FR.test(e)?MR(e):e;const n=LR.exec(t);if(n){const a=Array.from(n).slice(1);return[...a.slice(0,3).map(l=>parseInt(Gc(l,2),16)),parseInt(Gc(a[3]||"f",2),16)/255]}const r=NR.exec(t);if(r){const a=Array.from(r).slice(1);return[...a.slice(0,3).map(l=>parseInt(l,16)),parseInt(a[3]||"ff",16)/255]}const i=DR.exec(t);if(i){const a=Array.from(i).slice(1);return[...a.slice(0,3).map(l=>parseInt(l,10)),parseFloat(a[3]||"1")]}const o=OR.exec(t);if(o){const[a,l,c,u]=Array.from(o).slice(1).map(parseFloat);if(Zo(0,100,l)!==l)throw new Kl(e);if(Zo(0,100,c)!==c)throw new Kl(e);return[...BR(a,l,c),Number.isNaN(u)?1:u]}throw new Kl(e)}function RR(e){let t=5381,n=e.length;for(;n;)t=t*33^e.charCodeAt(--n);return(t>>>0)%2341}const dS=e=>parseInt(e.replace(/_/g,""),36),IR="1q29ehhb 1n09sgk7 1kl1ekf_ _yl4zsno 16z9eiv3 1p29lhp8 _bd9zg04 17u0____ _iw9zhe5 _to73___ _r45e31e _7l6g016 _jh8ouiv _zn3qba8 1jy4zshs 11u87k0u 1ro9yvyo 1aj3xael 1gz9zjz0 _3w8l4xo 1bf1ekf_ _ke3v___ _4rrkb__ 13j776yz _646mbhl _nrjr4__ _le6mbhl 1n37ehkb _m75f91n _qj3bzfz 1939yygw 11i5z6x8 _1k5f8xs 1509441m 15t5lwgf _ae2th1n _tg1ugcv 1lp1ugcv 16e14up_ _h55rw7n _ny9yavn _7a11xb_ 1ih442g9 _pv442g9 1mv16xof 14e6y7tu 1oo9zkds 17d1cisi _4v9y70f _y98m8kc 1019pq0v 12o9zda8 _348j4f4 1et50i2o _8epa8__ _ts6senj 1o350i2o 1mi9eiuo 1259yrp0 1ln80gnw _632xcoy 1cn9zldc _f29edu4 1n490c8q _9f9ziet 1b94vk74 _m49zkct 1kz6s73a 1eu9dtog _q58s1rz 1dy9sjiq __u89jo3 _aj5nkwg _ld89jo3 13h9z6wx _qa9z2ii _l119xgq _bs5arju 1hj4nwk9 1qt4nwk9 1ge6wau6 14j9zlcw 11p1edc_ _ms1zcxe _439shk6 _jt9y70f _754zsow 1la40eju _oq5p___ _x279qkz 1fa5r3rv _yd2d9ip _424tcku _8y1di2_ _zi2uabw _yy7rn9h 12yz980_ __39ljp6 1b59zg0x _n39zfzp 1fy9zest _b33k___ _hp9wq92 1il50hz4 _io472ub _lj9z3eo 19z9ykg0 _8t8iu3a 12b9bl4a 1ak5yw0o _896v4ku _tb8k8lv _s59zi6t _c09ze0p 1lg80oqn 1id9z8wb _238nba5 1kq6wgdi _154zssg _tn3zk49 _da9y6tc 1sg7cv4f _r12jvtt 1gq5fmkz 1cs9rvci _lp9jn1c _xw1tdnb 13f9zje6 16f6973h _vo7ir40 _bt5arjf _rc45e4t _hr4e100 10v4e100 _hc9zke2 _w91egv_ _sj2r1kk 13c87yx8 _vqpds__ _ni8ggk8 _tj9yqfb 1ia2j4r4 _7x9b10u 1fc9ld4j 1eq9zldr _5j9lhpx _ez9zl6o _md61fzm".split(" ").reduce((e,t)=>{const n=dS(t.substring(0,3)),r=dS(t.substring(3)).toString(16);let i="";for(let o=0;o<6-r.length;o++)i+="0";return e[n]=`${i}${r}`,e},{});function MR(e){const t=e.toLowerCase().trim(),n=IR[RR(t)];if(!n)throw new Kl(e);return`#${n}`}const Gc=(e,t)=>Array.from(Array(t)).map(()=>e).join(""),LR=new RegExp(`^#${Gc("([a-f0-9])",3)}([a-f0-9])?$`,"i"),NR=new RegExp(`^#${Gc("([a-f0-9]{2})",3)}([a-f0-9]{2})?$`,"i"),DR=new RegExp(`^rgba?\\(\\s*(\\d+)\\s*${Gc(",\\s*(\\d+)\\s*",2)}(?:,\\s*([\\d.]+))?\\s*\\)$`,"i"),OR=/^hsla?\(\s*([\d.]+)\s*,\s*([\d.]+)%\s*,\s*([\d.]+)%(?:\s*,\s*([\d.]+))?\s*\)$/i,FR=/^[a-z]+$/i,fS=e=>Math.round(e*255),BR=(e,t,n)=>{let r=n/100;if(t===0)return[r,r,r].map(fS);const i=(e%360+360)%360/60,o=(1-Math.abs(2*r-1))*(t/100),a=o*(1-Math.abs(i%2-1));let l=0,c=0,u=0;i>=0&&i<1?(l=o,c=a):i>=1&&i<2?(l=a,c=o):i>=2&&i<3?(c=o,u=a):i>=3&&i<4?(c=a,u=o):i>=4&&i<5?(l=a,u=o):i>=5&&i<6&&(l=o,u=a);const d=r-o/2,f=l+d,p=c+d,h=u+d;return[f,p,h].map(fS)};function WR(e,t,n,r){return`rgba(${Zo(0,255,e).toFixed()}, ${Zo(0,255,t).toFixed()}, ${Zo(0,255,n).toFixed()}, ${parseFloat(Zo(0,1,r).toFixed(3))})`}function VR(e,t){const[n,r,i,o]=sy(e);return WR(n,r,i,o-t)}function UR(e){const[t,n,r,i]=sy(e);let o=a=>{const l=Zo(0,255,a).toString(16);return l.length===1?`0${l}`:l};return`#${o(t)}${o(n)}${o(r)}${i<1?o(Math.round(i*255)):""}`}const HR=e=>Object.keys(e).length===0;function GR(e,t,n,r,i){for(t=t.split?t.split("."):t,r=0;r<t.length;r++)e=e?e[t[r]]:i;return e===i?n:e}const nt=(e,t,n)=>{const r=GR(e,`colors.${t}`,t);try{return UR(r),r}catch{return n??"#000000"}},KR=e=>{const[t,n,r]=sy(e);return(t*299+n*587+r*114)/1e3},qR=e=>t=>{const n=nt(t,e);return KR(n)<128?"dark":"light"},XR=e=>t=>qR(e)(t)==="dark",Ut=(e,t)=>n=>{const r=nt(n,e);return VR(r,1-t)};function pS(e="1rem",t="rgba(255, 255, 255, 0.15)"){return{backgroundImage:`linear-gradient(
|
||
45deg,
|
||
${t} 25%,
|
||
transparent 25%,
|
||
transparent 50%,
|
||
${t} 50%,
|
||
${t} 75%,
|
||
transparent 75%,
|
||
transparent
|
||
)`,backgroundSize:`${e} ${e}`}}const YR=()=>`#${Math.floor(Math.random()*16777215).toString(16).padEnd(6,"0")}`;function QR(e){const t=YR();return!e||HR(e)?t:e.string&&e.colors?JR(e.string,e.colors):e.string&&!e.colors?ZR(e.string):e.colors&&!e.string?eI(e.colors):t}function ZR(e){let t=0;if(e.length===0)return t.toString();for(let r=0;r<e.length;r+=1)t=e.charCodeAt(r)+((t<<5)-t),t=t&t;let n="#";for(let r=0;r<3;r+=1){const i=t>>r*8&255;n+=`00${i.toString(16)}`.substr(-2)}return n}function JR(e,t){let n=0;if(e.length===0)return t[0];for(let r=0;r<e.length;r+=1)n=e.charCodeAt(r)+((n<<5)-n),n=n&n;return n=(n%t.length+t.length)%t.length,t[n]}function eI(e){return e[Math.floor(Math.random()*e.length)]}function J(e,t){return n=>n.colorMode==="dark"?t:e}function ly(e){const{orientation:t,vertical:n,horizontal:r}=e;return t?t==="vertical"?n:r:{}}function k6(e){return Nt(e)&&e.reference?e.reference:String(e)}const rm=(e,...t)=>t.map(k6).join(` ${e} `).replace(/calc/g,""),mS=(...e)=>`calc(${rm("+",...e)})`,hS=(...e)=>`calc(${rm("-",...e)})`,Hg=(...e)=>`calc(${rm("*",...e)})`,gS=(...e)=>`calc(${rm("/",...e)})`,vS=e=>{const t=k6(e);return t!=null&&!Number.isNaN(parseFloat(t))?String(t).startsWith("-")?String(t).slice(1):`-${t}`:Hg(t,-1)},si=Object.assign(e=>({add:(...t)=>si(mS(e,...t)),subtract:(...t)=>si(hS(e,...t)),multiply:(...t)=>si(Hg(e,...t)),divide:(...t)=>si(gS(e,...t)),negate:()=>si(vS(e)),toString:()=>e.toString()}),{add:mS,subtract:hS,multiply:Hg,divide:gS,negate:vS});function tI(e){return!Number.isInteger(parseFloat(e.toString()))}function nI(e,t="-"){return e.replace(/\s+/g,t)}function C6(e){const t=nI(e.toString());return t.includes("\\.")?e:tI(e)?t.replace(".","\\."):e}function rI(e,t=""){return[t,C6(e)].filter(Boolean).join("-")}function iI(e,t){return`var(${C6(e)}${t?`, ${t}`:""})`}function oI(e,t=""){return`--${rI(e,t)}`}function wt(e,t){const n=oI(e,t==null?void 0:t.prefix);return{variable:n,reference:iI(n,aI(t==null?void 0:t.fallback))}}function aI(e){return e==null?void 0:e.reference}const{definePartsStyle:ku,defineMultiStyleConfig:sI}=fe(p6.keys),Fn=X("alert-fg"),ji=X("alert-bg"),lI=ku({container:{bg:ji.reference,px:"4",py:"3"},title:{fontWeight:"bold",lineHeight:"6",marginEnd:"2"},description:{lineHeight:"6"},icon:{color:Fn.reference,flexShrink:0,marginEnd:"3",w:"5",h:"6"},spinner:{color:Fn.reference,flexShrink:0,marginEnd:"3",w:"5",h:"5"}});function cy(e){const{theme:t,colorScheme:n}=e,r=Ut(`${n}.200`,.16)(t);return{light:`colors.${n}.100`,dark:r}}const cI=ku(e=>{const{colorScheme:t}=e,n=cy(e);return{container:{[Fn.variable]:`colors.${t}.600`,[ji.variable]:n.light,_dark:{[Fn.variable]:`colors.${t}.200`,[ji.variable]:n.dark}}}}),uI=ku(e=>{const{colorScheme:t}=e,n=cy(e);return{container:{[Fn.variable]:`colors.${t}.600`,[ji.variable]:n.light,_dark:{[Fn.variable]:`colors.${t}.200`,[ji.variable]:n.dark},paddingStart:"3",borderStartWidth:"4px",borderStartColor:Fn.reference}}}),dI=ku(e=>{const{colorScheme:t}=e,n=cy(e);return{container:{[Fn.variable]:`colors.${t}.600`,[ji.variable]:n.light,_dark:{[Fn.variable]:`colors.${t}.200`,[ji.variable]:n.dark},pt:"2",borderTopWidth:"4px",borderTopColor:Fn.reference}}}),fI=ku(e=>{const{colorScheme:t}=e;return{container:{[Fn.variable]:"colors.white",[ji.variable]:`colors.${t}.600`,_dark:{[Fn.variable]:"colors.gray.900",[ji.variable]:`colors.${t}.200`},color:Fn.reference}}}),pI={subtle:cI,"left-accent":uI,"top-accent":dI,solid:fI},mI=sI({baseStyle:lI,variants:pI,defaultProps:{variant:"subtle",colorScheme:"blue"}}),j6={px:"1px",.5:"0.125rem",1:"0.25rem",1.5:"0.375rem",2:"0.5rem",2.5:"0.625rem",3:"0.75rem",3.5:"0.875rem",4:"1rem",5:"1.25rem",6:"1.5rem",7:"1.75rem",8:"2rem",9:"2.25rem",10:"2.5rem",12:"3rem",14:"3.5rem",16:"4rem",20:"5rem",24:"6rem",28:"7rem",32:"8rem",36:"9rem",40:"10rem",44:"11rem",48:"12rem",52:"13rem",56:"14rem",60:"15rem",64:"16rem",72:"18rem",80:"20rem",96:"24rem"},hI={max:"max-content",min:"min-content",full:"100%","3xs":"14rem","2xs":"16rem",xs:"20rem",sm:"24rem",md:"28rem",lg:"32rem",xl:"36rem","2xl":"42rem","3xl":"48rem","4xl":"56rem","5xl":"64rem","6xl":"72rem","7xl":"80rem","8xl":"90rem",prose:"60ch"},gI={sm:"640px",md:"768px",lg:"1024px",xl:"1280px"},P6={...j6,...hI,container:gI},vI=e=>typeof e=="function";function gn(e,...t){return vI(e)?e(...t):e}const{definePartsStyle:_6,defineMultiStyleConfig:yI}=fe(fR.keys),$s=X("avatar-border-color"),mc=X("avatar-bg"),Kc=X("avatar-font-size"),qs=X("avatar-size"),bI={borderRadius:"full",border:"0.2em solid",borderColor:$s.reference,[$s.variable]:"white",_dark:{[$s.variable]:"colors.gray.800"}},xI={bg:mc.reference,fontSize:Kc.reference,width:qs.reference,height:qs.reference,lineHeight:"1",[mc.variable]:"colors.gray.200",_dark:{[mc.variable]:"colors.whiteAlpha.400"}},SI=e=>{const{name:t,theme:n}=e,r=t?QR({string:t}):"colors.gray.400",i=XR(r)(n);let o="white";return i||(o="gray.800"),{bg:mc.reference,fontSize:Kc.reference,color:o,borderColor:$s.reference,verticalAlign:"top",width:qs.reference,height:qs.reference,"&:not([data-loaded])":{[mc.variable]:r},[$s.variable]:"colors.white",_dark:{[$s.variable]:"colors.gray.800"}}},wI={fontSize:Kc.reference,lineHeight:"1"},kI=_6(e=>({badge:gn(bI,e),excessLabel:gn(xI,e),container:gn(SI,e),label:wI}));function Ni(e){const t=e!=="100%"?P6[e]:void 0;return _6({container:{[qs.variable]:t??e,[Kc.variable]:`calc(${t??e} / 2.5)`},excessLabel:{[qs.variable]:t??e,[Kc.variable]:`calc(${t??e} / 2.5)`}})}const CI={"2xs":Ni(4),xs:Ni(6),sm:Ni(8),md:Ni(12),lg:Ni(16),xl:Ni(24),"2xl":Ni(32),full:Ni("100%")},jI=yI({baseStyle:kI,sizes:CI,defaultProps:{size:"md"}}),jt=f6("badge",["bg","color","shadow"]),PI={px:1,textTransform:"uppercase",fontSize:"xs",borderRadius:"sm",fontWeight:"bold",bg:jt.bg.reference,color:jt.color.reference,boxShadow:jt.shadow.reference},_I=e=>{const{colorScheme:t,theme:n}=e,r=Ut(`${t}.500`,.6)(n);return{[jt.bg.variable]:`colors.${t}.500`,[jt.color.variable]:"colors.white",_dark:{[jt.bg.variable]:r,[jt.color.variable]:"colors.whiteAlpha.800"}}},TI=e=>{const{colorScheme:t,theme:n}=e,r=Ut(`${t}.200`,.16)(n);return{[jt.bg.variable]:`colors.${t}.100`,[jt.color.variable]:`colors.${t}.800`,_dark:{[jt.bg.variable]:r,[jt.color.variable]:`colors.${t}.200`}}},EI=e=>{const{colorScheme:t,theme:n}=e,r=Ut(`${t}.200`,.8)(n);return{[jt.color.variable]:`colors.${t}.500`,_dark:{[jt.color.variable]:r},[jt.shadow.variable]:`inset 0 0 0px 1px ${jt.color.reference}`}},AI={solid:_I,subtle:TI,outline:EI},hc={baseStyle:PI,variants:AI,defaultProps:{variant:"subtle",colorScheme:"gray"}},{defineMultiStyleConfig:$I,definePartsStyle:zI}=fe(pR.keys),Nh=X("breadcrumb-link-decor"),RI={transitionProperty:"common",transitionDuration:"fast",transitionTimingFunction:"ease-out",outline:"none",color:"inherit",textDecoration:Nh.reference,[Nh.variable]:"none","&:not([aria-current=page])":{cursor:"pointer",_hover:{[Nh.variable]:"underline"},_focusVisible:{boxShadow:"outline"}}},II=zI({link:RI}),MI=$I({baseStyle:II}),LI={lineHeight:"1.2",borderRadius:"md",fontWeight:"semibold",transitionProperty:"common",transitionDuration:"normal",_focusVisible:{boxShadow:"outline"},_disabled:{opacity:.4,cursor:"not-allowed",boxShadow:"none"},_hover:{_disabled:{bg:"initial"}}},T6=e=>{const{colorScheme:t,theme:n}=e;if(t==="gray")return{color:J("gray.800","whiteAlpha.900")(e),_hover:{bg:J("gray.100","whiteAlpha.200")(e)},_active:{bg:J("gray.200","whiteAlpha.300")(e)}};const r=Ut(`${t}.200`,.12)(n),i=Ut(`${t}.200`,.24)(n);return{color:J(`${t}.600`,`${t}.200`)(e),bg:"transparent",_hover:{bg:J(`${t}.50`,r)(e)},_active:{bg:J(`${t}.100`,i)(e)}}},NI=e=>{const{colorScheme:t}=e,n=J("gray.200","whiteAlpha.300")(e);return{border:"1px solid",borderColor:t==="gray"?n:"currentColor",".chakra-button__group[data-attached][data-orientation=horizontal] > &:not(:last-of-type)":{marginEnd:"-1px"},".chakra-button__group[data-attached][data-orientation=vertical] > &:not(:last-of-type)":{marginBottom:"-1px"},...gn(T6,e)}},DI={yellow:{bg:"yellow.400",color:"black",hoverBg:"yellow.500",activeBg:"yellow.600"},cyan:{bg:"cyan.400",color:"black",hoverBg:"cyan.500",activeBg:"cyan.600"}},OI=e=>{const{colorScheme:t}=e;if(t==="gray"){const l=J("gray.100","whiteAlpha.200")(e);return{bg:l,color:J("gray.800","whiteAlpha.900")(e),_hover:{bg:J("gray.200","whiteAlpha.300")(e),_disabled:{bg:l}},_active:{bg:J("gray.300","whiteAlpha.400")(e)}}}const{bg:n=`${t}.500`,color:r="white",hoverBg:i=`${t}.600`,activeBg:o=`${t}.700`}=DI[t]??{},a=J(n,`${t}.200`)(e);return{bg:a,color:J(r,"gray.800")(e),_hover:{bg:J(i,`${t}.300`)(e),_disabled:{bg:a}},_active:{bg:J(o,`${t}.400`)(e)}}},FI=e=>{const{colorScheme:t}=e;return{padding:0,height:"auto",lineHeight:"normal",verticalAlign:"baseline",color:J(`${t}.500`,`${t}.200`)(e),_hover:{textDecoration:"underline",_disabled:{textDecoration:"none"}},_active:{color:J(`${t}.700`,`${t}.500`)(e)}}},BI={bg:"none",color:"inherit",display:"inline",lineHeight:"inherit",m:"0",p:"0"},WI={ghost:T6,outline:NI,solid:OI,link:FI,unstyled:BI},VI={lg:{h:"12",minW:"12",fontSize:"lg",px:"6"},md:{h:"10",minW:"10",fontSize:"md",px:"4"},sm:{h:"8",minW:"8",fontSize:"sm",px:"3"},xs:{h:"6",minW:"6",fontSize:"xs",px:"2"}},UI={baseStyle:LI,variants:WI,sizes:VI,defaultProps:{variant:"solid",size:"md",colorScheme:"gray"}},{definePartsStyle:aa,defineMultiStyleConfig:HI}=fe(w6.keys),pp=X("card-bg"),yi=X("card-padding"),E6=X("card-shadow"),df=X("card-radius"),A6=X("card-border-width","0"),$6=X("card-border-color"),GI=aa({container:{[pp.variable]:"colors.chakra-body-bg",backgroundColor:pp.reference,boxShadow:E6.reference,borderRadius:df.reference,color:"chakra-body-text",borderWidth:A6.reference,borderColor:$6.reference},body:{padding:yi.reference,flex:"1 1 0%"},header:{padding:yi.reference},footer:{padding:yi.reference}}),KI={sm:aa({container:{[df.variable]:"radii.base",[yi.variable]:"space.3"}}),md:aa({container:{[df.variable]:"radii.md",[yi.variable]:"space.5"}}),lg:aa({container:{[df.variable]:"radii.xl",[yi.variable]:"space.7"}})},qI={elevated:aa({container:{[E6.variable]:"shadows.base",_dark:{[pp.variable]:"colors.gray.700"}}}),outline:aa({container:{[A6.variable]:"1px",[$6.variable]:"colors.chakra-border-color"}}),filled:aa({container:{[pp.variable]:"colors.chakra-subtle-bg"}}),unstyled:{body:{[yi.variable]:0},header:{[yi.variable]:0},footer:{[yi.variable]:0}}},XI=HI({baseStyle:GI,variants:qI,sizes:KI,defaultProps:{variant:"elevated",size:"md"}}),{definePartsStyle:ff,defineMultiStyleConfig:YI}=fe(m6.keys),gc=X("checkbox-size"),QI=e=>{const{colorScheme:t}=e;return{w:gc.reference,h:gc.reference,transitionProperty:"box-shadow",transitionDuration:"normal",border:"2px solid",borderRadius:"sm",borderColor:"inherit",color:"white",_checked:{bg:J(`${t}.500`,`${t}.200`)(e),borderColor:J(`${t}.500`,`${t}.200`)(e),color:J("white","gray.900")(e),_hover:{bg:J(`${t}.600`,`${t}.300`)(e),borderColor:J(`${t}.600`,`${t}.300`)(e)},_disabled:{borderColor:J("gray.200","transparent")(e),bg:J("gray.200","whiteAlpha.300")(e),color:J("gray.500","whiteAlpha.500")(e)}},_indeterminate:{bg:J(`${t}.500`,`${t}.200`)(e),borderColor:J(`${t}.500`,`${t}.200`)(e),color:J("white","gray.900")(e)},_disabled:{bg:J("gray.100","whiteAlpha.100")(e),borderColor:J("gray.100","transparent")(e)},_focusVisible:{boxShadow:"outline"},_invalid:{borderColor:J("red.500","red.300")(e)}}},ZI={_disabled:{cursor:"not-allowed"}},JI={userSelect:"none",_disabled:{opacity:.4}},eM={transitionProperty:"transform",transitionDuration:"normal"},tM=ff(e=>({icon:eM,container:ZI,control:gn(QI,e),label:JI})),nM={sm:ff({control:{[gc.variable]:"sizes.3"},label:{fontSize:"sm"},icon:{fontSize:"3xs"}}),md:ff({control:{[gc.variable]:"sizes.4"},label:{fontSize:"md"},icon:{fontSize:"2xs"}}),lg:ff({control:{[gc.variable]:"sizes.5"},label:{fontSize:"lg"},icon:{fontSize:"2xs"}})},Hi=YI({baseStyle:tM,sizes:nM,defaultProps:{size:"md",colorScheme:"blue"}}),vc=wt("close-button-size"),Rl=wt("close-button-bg"),rM={w:[vc.reference],h:[vc.reference],borderRadius:"md",transitionProperty:"common",transitionDuration:"normal",_disabled:{opacity:.4,cursor:"not-allowed",boxShadow:"none"},_hover:{[Rl.variable]:"colors.blackAlpha.100",_dark:{[Rl.variable]:"colors.whiteAlpha.100"}},_active:{[Rl.variable]:"colors.blackAlpha.200",_dark:{[Rl.variable]:"colors.whiteAlpha.200"}},_focusVisible:{boxShadow:"outline"},bg:Rl.reference},iM={lg:{[vc.variable]:"sizes.10",fontSize:"md"},md:{[vc.variable]:"sizes.8",fontSize:"xs"},sm:{[vc.variable]:"sizes.6",fontSize:"2xs"}},oM={baseStyle:rM,sizes:iM,defaultProps:{size:"md"}},{variants:aM,defaultProps:sM}=hc,lM={fontFamily:"mono",fontSize:"sm",px:"0.2em",borderRadius:"sm",bg:jt.bg.reference,color:jt.color.reference,boxShadow:jt.shadow.reference},cM={baseStyle:lM,variants:aM,defaultProps:sM},uM={w:"100%",mx:"auto",maxW:"prose",px:"4"},dM={baseStyle:uM},fM={opacity:.6,borderColor:"inherit"},pM={borderStyle:"solid"},mM={borderStyle:"dashed"},hM={solid:pM,dashed:mM},gM={baseStyle:fM,variants:hM,defaultProps:{variant:"solid"}},{definePartsStyle:Gg,defineMultiStyleConfig:vM}=fe(mR.keys),Dh=X("drawer-bg"),Oh=X("drawer-box-shadow");function Oa(e){return Gg(e==="full"?{dialog:{maxW:"100vw",h:"100vh"}}:{dialog:{maxW:e}})}const yM={bg:"blackAlpha.600",zIndex:"modal"},bM={display:"flex",zIndex:"modal",justifyContent:"center"},xM=e=>{const{isFullHeight:t}=e;return{...t&&{height:"100vh"},zIndex:"modal",maxH:"100vh",color:"inherit",[Dh.variable]:"colors.white",[Oh.variable]:"shadows.lg",_dark:{[Dh.variable]:"colors.gray.700",[Oh.variable]:"shadows.dark-lg"},bg:Dh.reference,boxShadow:Oh.reference}},SM={px:"6",py:"4",fontSize:"xl",fontWeight:"semibold"},wM={position:"absolute",top:"2",insetEnd:"3"},kM={px:"6",py:"2",flex:"1",overflow:"auto"},CM={px:"6",py:"4"},jM=Gg(e=>({overlay:yM,dialogContainer:bM,dialog:gn(xM,e),header:SM,closeButton:wM,body:kM,footer:CM})),PM={xs:Oa("xs"),sm:Oa("md"),md:Oa("lg"),lg:Oa("2xl"),xl:Oa("4xl"),full:Oa("full")},_M=vM({baseStyle:jM,sizes:PM,defaultProps:{size:"xs"}}),{definePartsStyle:TM,defineMultiStyleConfig:EM}=fe(hR.keys),AM={borderRadius:"md",py:"1",transitionProperty:"common",transitionDuration:"normal"},$M={borderRadius:"md",py:"1",transitionProperty:"common",transitionDuration:"normal",width:"full",_focusVisible:{boxShadow:"outline"},_placeholder:{opacity:.6}},zM={borderRadius:"md",py:"1",transitionProperty:"common",transitionDuration:"normal",width:"full",_focusVisible:{boxShadow:"outline"},_placeholder:{opacity:.6}},RM=TM({preview:AM,input:$M,textarea:zM}),IM=EM({baseStyle:RM}),{definePartsStyle:MM,defineMultiStyleConfig:LM}=fe(h6.keys),zs=X("form-control-color"),NM={marginStart:"1",[zs.variable]:"colors.red.500",_dark:{[zs.variable]:"colors.red.300"},color:zs.reference},DM={mt:"2",[zs.variable]:"colors.gray.600",_dark:{[zs.variable]:"colors.whiteAlpha.600"},color:zs.reference,lineHeight:"normal",fontSize:"sm"},OM=MM({container:{width:"100%",position:"relative"},requiredIndicator:NM,helperText:DM}),FM=LM({baseStyle:OM}),{definePartsStyle:BM,defineMultiStyleConfig:WM}=fe(gR.keys),Rs=X("form-error-color"),VM={[Rs.variable]:"colors.red.500",_dark:{[Rs.variable]:"colors.red.300"},color:Rs.reference,mt:"2",fontSize:"sm",lineHeight:"normal"},UM={marginEnd:"0.5em",[Rs.variable]:"colors.red.500",_dark:{[Rs.variable]:"colors.red.300"},color:Rs.reference},HM=BM({text:VM,icon:UM}),GM=WM({baseStyle:HM}),KM={fontSize:"md",marginEnd:"3",mb:"2",fontWeight:"medium",transitionProperty:"common",transitionDuration:"normal",opacity:1,_disabled:{opacity:.4}},qM={baseStyle:KM},XM={fontFamily:"heading",fontWeight:"bold"},YM={"4xl":{fontSize:["6xl",null,"7xl"],lineHeight:1},"3xl":{fontSize:["5xl",null,"6xl"],lineHeight:1},"2xl":{fontSize:["4xl",null,"5xl"],lineHeight:[1.2,null,1]},xl:{fontSize:["3xl",null,"4xl"],lineHeight:[1.33,null,1.2]},lg:{fontSize:["2xl",null,"3xl"],lineHeight:[1.33,null,1.2]},md:{fontSize:"xl",lineHeight:1.2},sm:{fontSize:"md",lineHeight:1.2},xs:{fontSize:"sm",lineHeight:1.2}},QM={baseStyle:XM,sizes:YM,defaultProps:{size:"xl"}},{definePartsStyle:fi,defineMultiStyleConfig:ZM}=fe(ay.keys),ss=X("input-height"),ls=X("input-font-size"),cs=X("input-padding"),us=X("input-border-radius"),JM=fi({addon:{height:ss.reference,fontSize:ls.reference,px:cs.reference,borderRadius:us.reference},field:{width:"100%",height:ss.reference,fontSize:ls.reference,px:cs.reference,borderRadius:us.reference,minWidth:0,outline:0,position:"relative",appearance:"none",transitionProperty:"common",transitionDuration:"normal",_disabled:{opacity:.4,cursor:"not-allowed"}}}),Di={lg:{[ls.variable]:"fontSizes.lg",[cs.variable]:"space.4",[us.variable]:"radii.md",[ss.variable]:"sizes.12"},md:{[ls.variable]:"fontSizes.md",[cs.variable]:"space.4",[us.variable]:"radii.md",[ss.variable]:"sizes.10"},sm:{[ls.variable]:"fontSizes.sm",[cs.variable]:"space.3",[us.variable]:"radii.sm",[ss.variable]:"sizes.8"},xs:{[ls.variable]:"fontSizes.xs",[cs.variable]:"space.2",[us.variable]:"radii.sm",[ss.variable]:"sizes.6"}},eL={lg:fi({field:Di.lg,group:Di.lg}),md:fi({field:Di.md,group:Di.md}),sm:fi({field:Di.sm,group:Di.sm}),xs:fi({field:Di.xs,group:Di.xs})};function uy(e){const{focusBorderColor:t,errorBorderColor:n}=e;return{focusBorderColor:t||J("blue.500","blue.300")(e),errorBorderColor:n||J("red.500","red.300")(e)}}const tL=fi(e=>{const{theme:t}=e,{focusBorderColor:n,errorBorderColor:r}=uy(e);return{field:{border:"1px solid",borderColor:"inherit",bg:"inherit",_hover:{borderColor:J("gray.300","whiteAlpha.400")(e)},_readOnly:{boxShadow:"none !important",userSelect:"all"},_invalid:{borderColor:nt(t,r),boxShadow:`0 0 0 1px ${nt(t,r)}`},_focusVisible:{zIndex:1,borderColor:nt(t,n),boxShadow:`0 0 0 1px ${nt(t,n)}`}},addon:{border:"1px solid",borderColor:J("inherit","whiteAlpha.50")(e),bg:J("gray.100","whiteAlpha.300")(e)}}}),nL=fi(e=>{const{theme:t}=e,{focusBorderColor:n,errorBorderColor:r}=uy(e);return{field:{border:"2px solid",borderColor:"transparent",bg:J("gray.100","whiteAlpha.50")(e),_hover:{bg:J("gray.200","whiteAlpha.100")(e)},_readOnly:{boxShadow:"none !important",userSelect:"all"},_invalid:{borderColor:nt(t,r)},_focusVisible:{bg:"transparent",borderColor:nt(t,n)}},addon:{border:"2px solid",borderColor:"transparent",bg:J("gray.100","whiteAlpha.50")(e)}}}),rL=fi(e=>{const{theme:t}=e,{focusBorderColor:n,errorBorderColor:r}=uy(e);return{field:{borderBottom:"1px solid",borderColor:"inherit",borderRadius:"0",px:"0",bg:"transparent",_readOnly:{boxShadow:"none !important",userSelect:"all"},_invalid:{borderColor:nt(t,r),boxShadow:`0px 1px 0px 0px ${nt(t,r)}`},_focusVisible:{borderColor:nt(t,n),boxShadow:`0px 1px 0px 0px ${nt(t,n)}`}},addon:{borderBottom:"2px solid",borderColor:"inherit",borderRadius:"0",px:"0",bg:"transparent"}}}),iL=fi({field:{bg:"transparent",px:"0",height:"auto"},addon:{bg:"transparent",px:"0",height:"auto"}}),oL={outline:tL,filled:nL,flushed:rL,unstyled:iL},Fe=ZM({baseStyle:JM,sizes:eL,variants:oL,defaultProps:{size:"md",variant:"outline"}}),Fh=X("kbd-bg"),aL={[Fh.variable]:"colors.gray.100",_dark:{[Fh.variable]:"colors.whiteAlpha.100"},bg:Fh.reference,borderRadius:"md",borderWidth:"1px",borderBottomWidth:"3px",fontSize:"0.8em",fontWeight:"bold",lineHeight:"normal",px:"0.4em",whiteSpace:"nowrap"},sL={baseStyle:aL},lL={transitionProperty:"common",transitionDuration:"fast",transitionTimingFunction:"ease-out",cursor:"pointer",textDecoration:"none",outline:"none",color:"inherit",_hover:{textDecoration:"underline"},_focusVisible:{boxShadow:"outline"}},cL={baseStyle:lL},{defineMultiStyleConfig:uL,definePartsStyle:dL}=fe(vR.keys),fL={marginEnd:"2",display:"inline",verticalAlign:"text-bottom"},pL=dL({icon:fL}),mL=uL({baseStyle:pL}),{defineMultiStyleConfig:hL,definePartsStyle:gL}=fe(g6.keys),Nr=X("menu-bg"),Bh=X("menu-shadow"),vL={[Nr.variable]:"#fff",[Bh.variable]:"shadows.sm",_dark:{[Nr.variable]:"colors.gray.700",[Bh.variable]:"shadows.dark-lg"},color:"inherit",minW:"3xs",py:"2",zIndex:"dropdown",borderRadius:"md",borderWidth:"1px",bg:Nr.reference,boxShadow:Bh.reference},yL={py:"1.5",px:"3",transitionProperty:"background",transitionDuration:"ultra-fast",transitionTimingFunction:"ease-in",_focus:{[Nr.variable]:"colors.gray.100",_dark:{[Nr.variable]:"colors.whiteAlpha.100"}},_active:{[Nr.variable]:"colors.gray.200",_dark:{[Nr.variable]:"colors.whiteAlpha.200"}},_expanded:{[Nr.variable]:"colors.gray.100",_dark:{[Nr.variable]:"colors.whiteAlpha.100"}},_disabled:{opacity:.4,cursor:"not-allowed"},bg:Nr.reference},bL={mx:4,my:2,fontWeight:"semibold",fontSize:"sm"},xL={display:"inline-flex",alignItems:"center",justifyContent:"center",flexShrink:0},SL={opacity:.6},wL={border:0,borderBottom:"1px solid",borderColor:"inherit",my:"2",opacity:.6},kL={transitionProperty:"common",transitionDuration:"normal"},CL=gL({button:kL,list:vL,item:yL,groupTitle:bL,icon:xL,command:SL,divider:wL}),jL=hL({baseStyle:CL}),{defineMultiStyleConfig:PL,definePartsStyle:Kg}=fe(v6.keys),Wh=X("modal-bg"),Vh=X("modal-shadow"),_L={bg:"blackAlpha.600",zIndex:"modal"},TL=e=>{const{isCentered:t,scrollBehavior:n}=e;return{display:"flex",zIndex:"modal",justifyContent:"center",alignItems:t?"center":"flex-start",overflow:n==="inside"?"hidden":"auto",overscrollBehaviorY:"none"}},EL=e=>{const{isCentered:t,scrollBehavior:n}=e;return{borderRadius:"md",color:"inherit",my:t?"auto":"16",mx:t?"auto":void 0,zIndex:"modal",maxH:n==="inside"?"calc(100% - 7.5rem)":void 0,[Wh.variable]:"colors.white",[Vh.variable]:"shadows.lg",_dark:{[Wh.variable]:"colors.gray.700",[Vh.variable]:"shadows.dark-lg"},bg:Wh.reference,boxShadow:Vh.reference}},AL={px:"6",py:"4",fontSize:"xl",fontWeight:"semibold"},$L={position:"absolute",top:"2",insetEnd:"3"},zL=e=>{const{scrollBehavior:t}=e;return{px:"6",py:"2",flex:"1",overflow:t==="inside"?"auto":void 0}},RL={px:"6",py:"4"},IL=Kg(e=>({overlay:_L,dialogContainer:gn(TL,e),dialog:gn(EL,e),header:AL,closeButton:$L,body:gn(zL,e),footer:RL}));function vr(e){return Kg(e==="full"?{dialog:{maxW:"100vw",minH:"$100vh",my:"0",borderRadius:"0"}}:{dialog:{maxW:e}})}const ML={xs:vr("xs"),sm:vr("sm"),md:vr("md"),lg:vr("lg"),xl:vr("xl"),"2xl":vr("2xl"),"3xl":vr("3xl"),"4xl":vr("4xl"),"5xl":vr("5xl"),"6xl":vr("6xl"),full:vr("full")},LL=PL({baseStyle:IL,sizes:ML,defaultProps:{size:"md"}}),z6={letterSpacings:{tighter:"-0.05em",tight:"-0.025em",normal:"0",wide:"0.025em",wider:"0.05em",widest:"0.1em"},lineHeights:{normal:"normal",none:1,shorter:1.25,short:1.375,base:1.5,tall:1.625,taller:"2",3:".75rem",4:"1rem",5:"1.25rem",6:"1.5rem",7:"1.75rem",8:"2rem",9:"2.25rem",10:"2.5rem"},fontWeights:{hairline:100,thin:200,light:300,normal:400,medium:500,semibold:600,bold:700,extrabold:800,black:900},fonts:{heading:'-apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"',body:'-apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"',mono:'SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace'},fontSizes:{"3xs":"0.45rem","2xs":"0.625rem",xs:"0.75rem",sm:"0.875rem",md:"1rem",lg:"1.125rem",xl:"1.25rem","2xl":"1.5rem","3xl":"1.875rem","4xl":"2.25rem","5xl":"3rem","6xl":"3.75rem","7xl":"4.5rem","8xl":"6rem","9xl":"8rem"}},{defineMultiStyleConfig:NL,definePartsStyle:R6}=fe(yR.keys),dy=wt("number-input-stepper-width"),I6=wt("number-input-input-padding"),DL=si(dy).add("0.5rem").toString(),Uh=wt("number-input-bg"),Hh=wt("number-input-color"),Gh=wt("number-input-border-color"),OL={[dy.variable]:"sizes.6",[I6.variable]:DL},FL=e=>{var t;return((t=gn(Fe.baseStyle,e))==null?void 0:t.field)??{}},BL={width:dy.reference},WL={borderStart:"1px solid",borderStartColor:Gh.reference,color:Hh.reference,bg:Uh.reference,[Hh.variable]:"colors.chakra-body-text",[Gh.variable]:"colors.chakra-border-color",_dark:{[Hh.variable]:"colors.whiteAlpha.800",[Gh.variable]:"colors.whiteAlpha.300"},_active:{[Uh.variable]:"colors.gray.200",_dark:{[Uh.variable]:"colors.whiteAlpha.300"}},_disabled:{opacity:.4,cursor:"not-allowed"}},VL=R6(e=>({root:OL,field:gn(FL,e)??{},stepperGroup:BL,stepper:WL}));function Sd(e){var o,a;const t=(o=Fe.sizes)==null?void 0:o[e],n={lg:"md",md:"md",sm:"sm",xs:"sm"},r=((a=t.field)==null?void 0:a.fontSize)??"md",i=z6.fontSizes[r];return R6({field:{...t.field,paddingInlineEnd:I6.reference,verticalAlign:"top"},stepper:{fontSize:si(i).multiply(.75).toString(),_first:{borderTopEndRadius:n[e]},_last:{borderBottomEndRadius:n[e],mt:"-1px",borderTopWidth:1}}})}const UL={xs:Sd("xs"),sm:Sd("sm"),md:Sd("md"),lg:Sd("lg")},HL=NL({baseStyle:VL,sizes:UL,variants:Fe.variants,defaultProps:Fe.defaultProps});var xk;const GL={...(xk=Fe.baseStyle)==null?void 0:xk.field,textAlign:"center"},KL={lg:{fontSize:"lg",w:12,h:12,borderRadius:"md"},md:{fontSize:"md",w:10,h:10,borderRadius:"md"},sm:{fontSize:"sm",w:8,h:8,borderRadius:"sm"},xs:{fontSize:"xs",w:6,h:6,borderRadius:"sm"}};var Sk;const qL={outline:e=>{var t,n;return((n=gn((t=Fe.variants)==null?void 0:t.outline,e))==null?void 0:n.field)??{}},flushed:e=>{var t,n;return((n=gn((t=Fe.variants)==null?void 0:t.flushed,e))==null?void 0:n.field)??{}},filled:e=>{var t,n;return((n=gn((t=Fe.variants)==null?void 0:t.filled,e))==null?void 0:n.field)??{}},unstyled:((Sk=Fe.variants)==null?void 0:Sk.unstyled.field)??{}},XL={baseStyle:GL,sizes:KL,variants:qL,defaultProps:Fe.defaultProps},{defineMultiStyleConfig:YL,definePartsStyle:QL}=fe(bR.keys),wd=wt("popper-bg"),ZL=wt("popper-arrow-bg"),yS=wt("popper-arrow-shadow-color"),JL={zIndex:"popover"},eN={[wd.variable]:"colors.white",bg:wd.reference,[ZL.variable]:wd.reference,[yS.variable]:"colors.gray.200",_dark:{[wd.variable]:"colors.gray.700",[yS.variable]:"colors.whiteAlpha.300"},width:"xs",border:"1px solid",borderColor:"inherit",borderRadius:"md",boxShadow:"sm",zIndex:"inherit",_focusVisible:{outline:0,boxShadow:"outline"}},tN={px:3,py:2,borderBottomWidth:"1px"},nN={px:3,py:2},rN={px:3,py:2,borderTopWidth:"1px"},iN={position:"absolute",borderRadius:"md",top:1,insetEnd:2,padding:2},oN=QL({popper:JL,content:eN,header:tN,body:nN,footer:rN,closeButton:iN}),aN=YL({baseStyle:oN}),{defineMultiStyleConfig:sN,definePartsStyle:ql}=fe(y6.keys),lN=e=>{const{colorScheme:t,theme:n,isIndeterminate:r,hasStripe:i}=e,o=J(pS(),pS("1rem","rgba(0,0,0,0.1)"))(e),a=J(`${t}.500`,`${t}.200`)(e),l=`linear-gradient(
|
||
to right,
|
||
transparent 0%,
|
||
${nt(n,a)} 50%,
|
||
transparent 100%
|
||
)`;return{...!r&&i&&o,...r?{bgImage:l}:{bgColor:a}}},cN={lineHeight:"1",fontSize:"0.25em",fontWeight:"bold",color:"white"},uN=e=>({bg:J("gray.100","whiteAlpha.300")(e)}),dN=e=>({transitionProperty:"common",transitionDuration:"slow",...lN(e)}),fN=ql(e=>({label:cN,filledTrack:dN(e),track:uN(e)})),pN={xs:ql({track:{h:"1"}}),sm:ql({track:{h:"2"}}),md:ql({track:{h:"3"}}),lg:ql({track:{h:"4"}})},mN=sN({sizes:pN,baseStyle:fN,defaultProps:{size:"md",colorScheme:"blue"}}),{defineMultiStyleConfig:hN,definePartsStyle:pf}=fe(b6.keys),gN=e=>{var n;const t=(n=gn(Hi.baseStyle,e))==null?void 0:n.control;return{...t,borderRadius:"full",_checked:{...t==null?void 0:t._checked,_before:{content:'""',display:"inline-block",pos:"relative",w:"50%",h:"50%",borderRadius:"50%",bg:"currentColor"}}}},vN=pf(e=>{var t,n;return{label:(t=Hi.baseStyle)==null?void 0:t.call(Hi,e).label,container:(n=Hi.baseStyle)==null?void 0:n.call(Hi,e).container,control:gN(e)}}),yN={md:pf({control:{w:"4",h:"4"},label:{fontSize:"md"}}),lg:pf({control:{w:"5",h:"5"},label:{fontSize:"lg"}}),sm:pf({control:{width:"3",height:"3"},label:{fontSize:"sm"}})},bN=hN({baseStyle:vN,sizes:yN,defaultProps:{size:"md",colorScheme:"blue"}}),{defineMultiStyleConfig:xN,definePartsStyle:SN}=fe(xR.keys),kd=X("select-bg");var wk;const wN={...(wk=Fe.baseStyle)==null?void 0:wk.field,appearance:"none",paddingBottom:"1px",lineHeight:"normal",bg:kd.reference,[kd.variable]:"colors.white",_dark:{[kd.variable]:"colors.gray.700"},"> option, > optgroup":{bg:kd.reference}},kN={width:"6",height:"100%",insetEnd:"2",position:"relative",color:"currentColor",fontSize:"xl",_disabled:{opacity:.5}},CN=SN({field:wN,icon:kN}),Cd={paddingInlineEnd:"8"};var kk,Ck,jk,Pk,_k,Tk,Ek,Ak;const jN={lg:{...(kk=Fe.sizes)==null?void 0:kk.lg,field:{...(Ck=Fe.sizes)==null?void 0:Ck.lg.field,...Cd}},md:{...(jk=Fe.sizes)==null?void 0:jk.md,field:{...(Pk=Fe.sizes)==null?void 0:Pk.md.field,...Cd}},sm:{...(_k=Fe.sizes)==null?void 0:_k.sm,field:{...(Tk=Fe.sizes)==null?void 0:Tk.sm.field,...Cd}},xs:{...(Ek=Fe.sizes)==null?void 0:Ek.xs,field:{...(Ak=Fe.sizes)==null?void 0:Ak.xs.field,...Cd},icon:{insetEnd:"1"}}},PN=xN({baseStyle:CN,sizes:jN,variants:Fe.variants,defaultProps:Fe.defaultProps}),Kh=X("skeleton-start-color"),qh=X("skeleton-end-color"),_N={[Kh.variable]:"colors.gray.100",[qh.variable]:"colors.gray.400",_dark:{[Kh.variable]:"colors.gray.800",[qh.variable]:"colors.gray.600"},background:Kh.reference,borderColor:qh.reference,opacity:.7,borderRadius:"sm"},TN={baseStyle:_N},Xh=X("skip-link-bg"),EN={borderRadius:"md",fontWeight:"semibold",_focusVisible:{boxShadow:"outline",padding:"4",position:"fixed",top:"6",insetStart:"6",[Xh.variable]:"colors.white",_dark:{[Xh.variable]:"colors.gray.700"},bg:Xh.reference}},AN={baseStyle:EN},{defineMultiStyleConfig:$N,definePartsStyle:im}=fe(x6.keys),Sa=X("slider-thumb-size"),qc=X("slider-track-size"),qi=X("slider-bg"),zN=e=>{const{orientation:t}=e;return{display:"inline-block",position:"relative",cursor:"pointer",_disabled:{opacity:.6,cursor:"default",pointerEvents:"none"},...ly({orientation:t,vertical:{h:"100%",px:ai(Sa.reference).divide(2).toString()},horizontal:{w:"100%",py:ai(Sa.reference).divide(2).toString()}})}},RN=e=>({...ly({orientation:e.orientation,horizontal:{h:qc.reference},vertical:{w:qc.reference}}),overflow:"hidden",borderRadius:"sm",[qi.variable]:"colors.gray.200",_dark:{[qi.variable]:"colors.whiteAlpha.200"},_disabled:{[qi.variable]:"colors.gray.300",_dark:{[qi.variable]:"colors.whiteAlpha.300"}},bg:qi.reference}),IN=e=>{const{orientation:t}=e;return{...ly({orientation:t,vertical:{left:"50%"},horizontal:{top:"50%"}}),w:Sa.reference,h:Sa.reference,display:"flex",alignItems:"center",justifyContent:"center",position:"absolute",outline:0,zIndex:1,borderRadius:"full",bg:"white",boxShadow:"base",border:"1px solid",borderColor:"transparent",transitionProperty:"transform",transitionDuration:"normal",_focusVisible:{boxShadow:"outline"},_active:{"--slider-thumb-scale":"1.15"},_disabled:{bg:"gray.300"}}},MN=e=>{const{colorScheme:t}=e;return{width:"inherit",height:"inherit",[qi.variable]:`colors.${t}.500`,_dark:{[qi.variable]:`colors.${t}.200`},bg:qi.reference}},LN=im(e=>({container:zN(e),track:RN(e),thumb:IN(e),filledTrack:MN(e)})),NN=im({container:{[Sa.variable]:"sizes.4",[qc.variable]:"sizes.1"}}),DN=im({container:{[Sa.variable]:"sizes.3.5",[qc.variable]:"sizes.1"}}),ON=im({container:{[Sa.variable]:"sizes.2.5",[qc.variable]:"sizes.0.5"}}),FN={lg:NN,md:DN,sm:ON},BN=$N({baseStyle:LN,sizes:FN,defaultProps:{size:"md",colorScheme:"blue"}}),qo=wt("spinner-size"),WN={width:[qo.reference],height:[qo.reference]},VN={xs:{[qo.variable]:"sizes.3"},sm:{[qo.variable]:"sizes.4"},md:{[qo.variable]:"sizes.6"},lg:{[qo.variable]:"sizes.8"},xl:{[qo.variable]:"sizes.12"}},UN={baseStyle:WN,sizes:VN,defaultProps:{size:"md"}},{defineMultiStyleConfig:HN,definePartsStyle:M6}=fe(SR.keys),GN={fontWeight:"medium"},KN={opacity:.8,marginBottom:"2"},qN={verticalAlign:"baseline",fontWeight:"semibold"},XN={marginEnd:1,w:"3.5",h:"3.5",verticalAlign:"middle"},YN=M6({container:{},label:GN,helpText:KN,number:qN,icon:XN}),QN={md:M6({label:{fontSize:"sm"},helpText:{fontSize:"sm"},number:{fontSize:"2xl"}})},ZN=HN({baseStyle:YN,sizes:QN,defaultProps:{size:"md"}}),{defineMultiStyleConfig:JN,definePartsStyle:Xl}=fe(["stepper","step","title","description","indicator","separator","icon","number"]),li=X("stepper-indicator-size"),ds=X("stepper-icon-size"),fs=X("stepper-title-font-size"),Yl=X("stepper-description-font-size"),Il=X("stepper-accent-color"),eD=Xl(({colorScheme:e})=>({stepper:{display:"flex",justifyContent:"space-between",gap:"4","&[data-orientation=vertical]":{flexDirection:"column",alignItems:"flex-start"},"&[data-orientation=horizontal]":{flexDirection:"row",alignItems:"center"},[Il.variable]:`colors.${e}.500`,_dark:{[Il.variable]:`colors.${e}.200`}},title:{fontSize:fs.reference,fontWeight:"medium"},description:{fontSize:Yl.reference,color:"chakra-subtle-text"},number:{fontSize:fs.reference},step:{flexShrink:0,position:"relative",display:"flex",gap:"2","&[data-orientation=horizontal]":{alignItems:"center"},flex:"1","&:last-of-type:not([data-stretch])":{flex:"initial"}},icon:{flexShrink:0,width:ds.reference,height:ds.reference},indicator:{flexShrink:0,borderRadius:"full",width:li.reference,height:li.reference,display:"flex",justifyContent:"center",alignItems:"center","&[data-status=active]":{borderWidth:"2px",borderColor:Il.reference},"&[data-status=complete]":{bg:Il.reference,color:"chakra-inverse-text"},"&[data-status=incomplete]":{borderWidth:"2px"}},separator:{bg:"chakra-border-color",flex:"1","&[data-status=complete]":{bg:Il.reference},"&[data-orientation=horizontal]":{width:"100%",height:"2px",marginStart:"2"},"&[data-orientation=vertical]":{width:"2px",position:"absolute",height:"100%",maxHeight:`calc(100% - ${li.reference} - 8px)`,top:`calc(${li.reference} + 4px)`,insetStart:`calc(${li.reference} / 2 - 1px)`}}})),tD=JN({baseStyle:eD,sizes:{xs:Xl({stepper:{[li.variable]:"sizes.4",[ds.variable]:"sizes.3",[fs.variable]:"fontSizes.xs",[Yl.variable]:"fontSizes.xs"}}),sm:Xl({stepper:{[li.variable]:"sizes.6",[ds.variable]:"sizes.4",[fs.variable]:"fontSizes.sm",[Yl.variable]:"fontSizes.xs"}}),md:Xl({stepper:{[li.variable]:"sizes.8",[ds.variable]:"sizes.5",[fs.variable]:"fontSizes.md",[Yl.variable]:"fontSizes.sm"}}),lg:Xl({stepper:{[li.variable]:"sizes.10",[ds.variable]:"sizes.6",[fs.variable]:"fontSizes.lg",[Yl.variable]:"fontSizes.md"}})},defaultProps:{size:"md",colorScheme:"blue"}}),{defineMultiStyleConfig:nD,definePartsStyle:mf}=fe(S6.keys),yc=wt("switch-track-width"),sa=wt("switch-track-height"),Yh=wt("switch-track-diff"),rD=si.subtract(yc,sa),qg=wt("switch-thumb-x"),Ml=wt("switch-bg"),iD=e=>{const{colorScheme:t}=e;return{borderRadius:"full",p:"0.5",width:[yc.reference],height:[sa.reference],transitionProperty:"common",transitionDuration:"fast",[Ml.variable]:"colors.gray.300",_dark:{[Ml.variable]:"colors.whiteAlpha.400"},_focusVisible:{boxShadow:"outline"},_disabled:{opacity:.4,cursor:"not-allowed"},_checked:{[Ml.variable]:`colors.${t}.500`,_dark:{[Ml.variable]:`colors.${t}.200`}},bg:Ml.reference}},oD={bg:"white",transitionProperty:"transform",transitionDuration:"normal",borderRadius:"inherit",width:[sa.reference],height:[sa.reference],_checked:{transform:`translateX(${qg.reference})`}},aD=mf(e=>({container:{[Yh.variable]:rD,[qg.variable]:Yh.reference,_rtl:{[qg.variable]:si(Yh).negate().toString()}},track:iD(e),thumb:oD})),sD={sm:mf({container:{[yc.variable]:"1.375rem",[sa.variable]:"sizes.3"}}),md:mf({container:{[yc.variable]:"1.875rem",[sa.variable]:"sizes.4"}}),lg:mf({container:{[yc.variable]:"2.875rem",[sa.variable]:"sizes.6"}})},lD=nD({baseStyle:aD,sizes:sD,defaultProps:{size:"md",colorScheme:"blue"}}),{defineMultiStyleConfig:cD,definePartsStyle:Is}=fe(wR.keys),uD=Is({table:{fontVariantNumeric:"lining-nums tabular-nums",borderCollapse:"collapse",width:"full"},th:{fontFamily:"heading",fontWeight:"bold",textTransform:"uppercase",letterSpacing:"wider",textAlign:"start"},td:{textAlign:"start"},caption:{mt:4,fontFamily:"heading",textAlign:"center",fontWeight:"medium"}}),mp={"&[data-is-numeric=true]":{textAlign:"end"}},dD=Is(e=>{const{colorScheme:t}=e;return{th:{color:J("gray.600","gray.400")(e),borderBottom:"1px",borderColor:J(`${t}.100`,`${t}.700`)(e),...mp},td:{borderBottom:"1px",borderColor:J(`${t}.100`,`${t}.700`)(e),...mp},caption:{color:J("gray.600","gray.100")(e)},tfoot:{tr:{"&:last-of-type":{th:{borderBottomWidth:0}}}}}}),fD=Is(e=>{const{colorScheme:t}=e;return{th:{color:J("gray.600","gray.400")(e),borderBottom:"1px",borderColor:J(`${t}.100`,`${t}.700`)(e),...mp},td:{borderBottom:"1px",borderColor:J(`${t}.100`,`${t}.700`)(e),...mp},caption:{color:J("gray.600","gray.100")(e)},tbody:{tr:{"&:nth-of-type(odd)":{"th, td":{borderBottomWidth:"1px",borderColor:J(`${t}.100`,`${t}.700`)(e)},td:{background:J(`${t}.100`,`${t}.700`)(e)}}}},tfoot:{tr:{"&:last-of-type":{th:{borderBottomWidth:0}}}}}}),pD={simple:dD,striped:fD,unstyled:{}},mD={sm:Is({th:{px:"4",py:"1",lineHeight:"4",fontSize:"xs"},td:{px:"4",py:"2",fontSize:"sm",lineHeight:"4"},caption:{px:"4",py:"2",fontSize:"xs"}}),md:Is({th:{px:"6",py:"3",lineHeight:"4",fontSize:"xs"},td:{px:"6",py:"4",lineHeight:"5"},caption:{px:"6",py:"2",fontSize:"sm"}}),lg:Is({th:{px:"8",py:"4",lineHeight:"5",fontSize:"sm"},td:{px:"8",py:"5",lineHeight:"6"},caption:{px:"6",py:"2",fontSize:"md"}})},hD=cD({baseStyle:uD,variants:pD,sizes:mD,defaultProps:{variant:"simple",size:"md",colorScheme:"gray"}}),Pn=X("tabs-color"),kr=X("tabs-bg"),jd=X("tabs-border-color"),{defineMultiStyleConfig:gD,definePartsStyle:Kr}=fe(kR.keys),vD=e=>{const{orientation:t}=e;return{display:t==="vertical"?"flex":"block"}},yD=e=>{const{isFitted:t}=e;return{flex:t?1:void 0,transitionProperty:"common",transitionDuration:"normal",_focusVisible:{zIndex:1,boxShadow:"outline"},_disabled:{cursor:"not-allowed",opacity:.4}}},bD=e=>{const{align:t="start",orientation:n}=e;return{justifyContent:{end:"flex-end",center:"center",start:"flex-start"}[t],flexDirection:n==="vertical"?"column":"row"}},xD={p:4},SD=Kr(e=>({root:vD(e),tab:yD(e),tablist:bD(e),tabpanel:xD})),wD={sm:Kr({tab:{py:1,px:4,fontSize:"sm"}}),md:Kr({tab:{fontSize:"md",py:2,px:4}}),lg:Kr({tab:{fontSize:"lg",py:3,px:4}})},kD=Kr(e=>{const{colorScheme:t,orientation:n}=e,r=n==="vertical",i=r?"borderStart":"borderBottom",o=r?"marginStart":"marginBottom";return{tablist:{[i]:"2px solid",borderColor:"inherit"},tab:{[i]:"2px solid",borderColor:"transparent",[o]:"-2px",_selected:{[Pn.variable]:`colors.${t}.600`,_dark:{[Pn.variable]:`colors.${t}.300`},borderColor:"currentColor"},_active:{[kr.variable]:"colors.gray.200",_dark:{[kr.variable]:"colors.whiteAlpha.300"}},_disabled:{_active:{bg:"none"}},color:Pn.reference,bg:kr.reference}}}),CD=Kr(e=>{const{colorScheme:t}=e;return{tab:{borderTopRadius:"md",border:"1px solid",borderColor:"transparent",mb:"-1px",[jd.variable]:"transparent",_selected:{[Pn.variable]:`colors.${t}.600`,[jd.variable]:"colors.white",_dark:{[Pn.variable]:`colors.${t}.300`,[jd.variable]:"colors.gray.800"},borderColor:"inherit",borderBottomColor:jd.reference},color:Pn.reference},tablist:{mb:"-1px",borderBottom:"1px solid",borderColor:"inherit"}}}),jD=Kr(e=>{const{colorScheme:t}=e;return{tab:{border:"1px solid",borderColor:"inherit",[kr.variable]:"colors.gray.50",_dark:{[kr.variable]:"colors.whiteAlpha.50"},mb:"-1px",_notLast:{marginEnd:"-1px"},_selected:{[kr.variable]:"colors.white",[Pn.variable]:`colors.${t}.600`,_dark:{[kr.variable]:"colors.gray.800",[Pn.variable]:`colors.${t}.300`},borderColor:"inherit",borderTopColor:"currentColor",borderBottomColor:"transparent"},color:Pn.reference,bg:kr.reference},tablist:{mb:"-1px",borderBottom:"1px solid",borderColor:"inherit"}}}),PD=Kr(e=>{const{colorScheme:t,theme:n}=e;return{tab:{borderRadius:"full",fontWeight:"semibold",color:"gray.600",_selected:{color:nt(n,`${t}.700`),bg:nt(n,`${t}.100`)}}}}),_D=Kr(e=>{const{colorScheme:t}=e;return{tab:{borderRadius:"full",fontWeight:"semibold",[Pn.variable]:"colors.gray.600",_dark:{[Pn.variable]:"inherit"},_selected:{[Pn.variable]:"colors.white",[kr.variable]:`colors.${t}.600`,_dark:{[Pn.variable]:"colors.gray.800",[kr.variable]:`colors.${t}.300`}},color:Pn.reference,bg:kr.reference}}}),TD=Kr({}),ED={line:kD,enclosed:CD,"enclosed-colored":jD,"soft-rounded":PD,"solid-rounded":_D,unstyled:TD},AD=gD({baseStyle:SD,sizes:wD,variants:ED,defaultProps:{size:"md",variant:"line",colorScheme:"blue"}}),{defineMultiStyleConfig:$D,definePartsStyle:la}=fe(CR.keys),bS=X("tag-bg"),xS=X("tag-color"),Qh=X("tag-shadow"),hf=X("tag-min-height"),gf=X("tag-min-width"),vf=X("tag-font-size"),yf=X("tag-padding-inline"),zD={fontWeight:"medium",lineHeight:1.2,outline:0,[xS.variable]:jt.color.reference,[bS.variable]:jt.bg.reference,[Qh.variable]:jt.shadow.reference,color:xS.reference,bg:bS.reference,boxShadow:Qh.reference,borderRadius:"md",minH:hf.reference,minW:gf.reference,fontSize:vf.reference,px:yf.reference,_focusVisible:{[Qh.variable]:"shadows.outline"}},RD={lineHeight:1.2,overflow:"visible"},ID={fontSize:"lg",w:"5",h:"5",transitionProperty:"common",transitionDuration:"normal",borderRadius:"full",marginStart:"1.5",marginEnd:"-1",opacity:.5,_disabled:{opacity:.4},_focusVisible:{boxShadow:"outline",bg:"rgba(0, 0, 0, 0.14)"},_hover:{opacity:.8},_active:{opacity:1}},MD=la({container:zD,label:RD,closeButton:ID}),LD={sm:la({container:{[hf.variable]:"sizes.5",[gf.variable]:"sizes.5",[vf.variable]:"fontSizes.xs",[yf.variable]:"space.2"},closeButton:{marginEnd:"-2px",marginStart:"0.35rem"}}),md:la({container:{[hf.variable]:"sizes.6",[gf.variable]:"sizes.6",[vf.variable]:"fontSizes.sm",[yf.variable]:"space.2"}}),lg:la({container:{[hf.variable]:"sizes.8",[gf.variable]:"sizes.8",[vf.variable]:"fontSizes.md",[yf.variable]:"space.3"}})},ND={subtle:la(e=>{var t;return{container:(t=hc.variants)==null?void 0:t.subtle(e)}}),solid:la(e=>{var t;return{container:(t=hc.variants)==null?void 0:t.solid(e)}}),outline:la(e=>{var t;return{container:(t=hc.variants)==null?void 0:t.outline(e)}})},DD=$D({variants:ND,baseStyle:MD,sizes:LD,defaultProps:{size:"md",variant:"subtle",colorScheme:"gray"}});var $k;const OD={...($k=Fe.baseStyle)==null?void 0:$k.field,paddingY:"2",minHeight:"20",lineHeight:"short",verticalAlign:"top"};var zk;const FD={outline:e=>{var t;return((t=Fe.variants)==null?void 0:t.outline(e).field)??{}},flushed:e=>{var t;return((t=Fe.variants)==null?void 0:t.flushed(e).field)??{}},filled:e=>{var t;return((t=Fe.variants)==null?void 0:t.filled(e).field)??{}},unstyled:((zk=Fe.variants)==null?void 0:zk.unstyled.field)??{}};var Rk,Ik,Mk,Lk;const BD={xs:((Rk=Fe.sizes)==null?void 0:Rk.xs.field)??{},sm:((Ik=Fe.sizes)==null?void 0:Ik.sm.field)??{},md:((Mk=Fe.sizes)==null?void 0:Mk.md.field)??{},lg:((Lk=Fe.sizes)==null?void 0:Lk.lg.field)??{}},WD={baseStyle:OD,sizes:BD,variants:FD,defaultProps:{size:"md",variant:"outline"}},Pd=wt("tooltip-bg"),Zh=wt("tooltip-fg"),VD=wt("popper-arrow-bg"),UD={bg:Pd.reference,color:Zh.reference,[Pd.variable]:"colors.gray.700",[Zh.variable]:"colors.whiteAlpha.900",_dark:{[Pd.variable]:"colors.gray.300",[Zh.variable]:"colors.gray.900"},[VD.variable]:Pd.reference,px:"2",py:"0.5",borderRadius:"sm",fontWeight:"medium",fontSize:"sm",boxShadow:"md",maxW:"xs",zIndex:"tooltip"},HD={baseStyle:UD},GD={Accordion:zR,Alert:mI,Avatar:jI,Badge:hc,Breadcrumb:MI,Button:UI,Checkbox:Hi,CloseButton:oM,Code:cM,Container:dM,Divider:gM,Drawer:_M,Editable:IM,Form:FM,FormError:GM,FormLabel:qM,Heading:QM,Input:Fe,Kbd:sL,Link:cL,List:mL,Menu:jL,Modal:LL,NumberInput:HL,PinInput:XL,Popover:aN,Progress:mN,Radio:bN,Select:PN,Skeleton:TN,SkipLink:AN,Slider:BN,Spinner:UN,Stat:ZN,Switch:lD,Table:hD,Tabs:AD,Tag:DD,Textarea:WD,Tooltip:HD,Card:XI,Stepper:tD},KD={none:0,"1px":"1px solid","2px":"2px solid","4px":"4px solid","8px":"8px solid"},qD={base:"0em",sm:"30em",md:"48em",lg:"62em",xl:"80em","2xl":"96em"},XD={transparent:"transparent",current:"currentColor",black:"#000000",white:"#FFFFFF",whiteAlpha:{50:"rgba(255, 255, 255, 0.04)",100:"rgba(255, 255, 255, 0.06)",200:"rgba(255, 255, 255, 0.08)",300:"rgba(255, 255, 255, 0.16)",400:"rgba(255, 255, 255, 0.24)",500:"rgba(255, 255, 255, 0.36)",600:"rgba(255, 255, 255, 0.48)",700:"rgba(255, 255, 255, 0.64)",800:"rgba(255, 255, 255, 0.80)",900:"rgba(255, 255, 255, 0.92)"},blackAlpha:{50:"rgba(0, 0, 0, 0.04)",100:"rgba(0, 0, 0, 0.06)",200:"rgba(0, 0, 0, 0.08)",300:"rgba(0, 0, 0, 0.16)",400:"rgba(0, 0, 0, 0.24)",500:"rgba(0, 0, 0, 0.36)",600:"rgba(0, 0, 0, 0.48)",700:"rgba(0, 0, 0, 0.64)",800:"rgba(0, 0, 0, 0.80)",900:"rgba(0, 0, 0, 0.92)"},gray:{50:"#F7FAFC",100:"#EDF2F7",200:"#E2E8F0",300:"#CBD5E0",400:"#A0AEC0",500:"#718096",600:"#4A5568",700:"#2D3748",800:"#1A202C",900:"#171923"},red:{50:"#FFF5F5",100:"#FED7D7",200:"#FEB2B2",300:"#FC8181",400:"#F56565",500:"#E53E3E",600:"#C53030",700:"#9B2C2C",800:"#822727",900:"#63171B"},orange:{50:"#FFFAF0",100:"#FEEBC8",200:"#FBD38D",300:"#F6AD55",400:"#ED8936",500:"#DD6B20",600:"#C05621",700:"#9C4221",800:"#7B341E",900:"#652B19"},yellow:{50:"#FFFFF0",100:"#FEFCBF",200:"#FAF089",300:"#F6E05E",400:"#ECC94B",500:"#D69E2E",600:"#B7791F",700:"#975A16",800:"#744210",900:"#5F370E"},green:{50:"#F0FFF4",100:"#C6F6D5",200:"#9AE6B4",300:"#68D391",400:"#48BB78",500:"#38A169",600:"#2F855A",700:"#276749",800:"#22543D",900:"#1C4532"},teal:{50:"#E6FFFA",100:"#B2F5EA",200:"#81E6D9",300:"#4FD1C5",400:"#38B2AC",500:"#319795",600:"#2C7A7B",700:"#285E61",800:"#234E52",900:"#1D4044"},blue:{50:"#ebf8ff",100:"#bee3f8",200:"#90cdf4",300:"#63b3ed",400:"#4299e1",500:"#3182ce",600:"#2b6cb0",700:"#2c5282",800:"#2a4365",900:"#1A365D"},cyan:{50:"#EDFDFD",100:"#C4F1F9",200:"#9DECF9",300:"#76E4F7",400:"#0BC5EA",500:"#00B5D8",600:"#00A3C4",700:"#0987A0",800:"#086F83",900:"#065666"},purple:{50:"#FAF5FF",100:"#E9D8FD",200:"#D6BCFA",300:"#B794F4",400:"#9F7AEA",500:"#805AD5",600:"#6B46C1",700:"#553C9A",800:"#44337A",900:"#322659"},pink:{50:"#FFF5F7",100:"#FED7E2",200:"#FBB6CE",300:"#F687B3",400:"#ED64A6",500:"#D53F8C",600:"#B83280",700:"#97266D",800:"#702459",900:"#521B41"}},YD={none:"0",sm:"0.125rem",base:"0.25rem",md:"0.375rem",lg:"0.5rem",xl:"0.75rem","2xl":"1rem","3xl":"1.5rem",full:"9999px"},QD={xs:"0 0 0 1px rgba(0, 0, 0, 0.05)",sm:"0 1px 2px 0 rgba(0, 0, 0, 0.05)",base:"0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06)",md:"0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06)",lg:"0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05)",xl:"0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04)","2xl":"0 25px 50px -12px rgba(0, 0, 0, 0.25)",outline:"0 0 0 3px rgba(66, 153, 225, 0.6)",inner:"inset 0 2px 4px 0 rgba(0,0,0,0.06)",none:"none","dark-lg":"rgba(0, 0, 0, 0.1) 0px 0px 0px 1px, rgba(0, 0, 0, 0.2) 0px 5px 10px, rgba(0, 0, 0, 0.4) 0px 15px 40px"},ZD={common:"background-color, border-color, color, fill, stroke, opacity, box-shadow, transform",colors:"background-color, border-color, color, fill, stroke",dimensions:"width, height",position:"left, right, top, bottom",background:"background-color, background-image, background-position"},JD={"ease-in":"cubic-bezier(0.4, 0, 1, 1)","ease-out":"cubic-bezier(0, 0, 0.2, 1)","ease-in-out":"cubic-bezier(0.4, 0, 0.2, 1)"},eO={"ultra-fast":"50ms",faster:"100ms",fast:"150ms",normal:"200ms",slow:"300ms",slower:"400ms","ultra-slow":"500ms"},tO={property:ZD,easing:JD,duration:eO},nO={hide:-1,auto:"auto",base:0,docked:10,dropdown:1e3,sticky:1100,banner:1200,overlay:1300,modal:1400,popover:1500,skipLink:1600,toast:1700,tooltip:1800},rO={none:0,sm:"4px",base:"8px",md:"12px",lg:"16px",xl:"24px","2xl":"40px","3xl":"64px"},iO={breakpoints:qD,zIndices:nO,radii:YD,blur:rO,colors:XD,...z6,sizes:P6,shadows:QD,space:j6,borders:KD,transition:tO},oO={colors:{"chakra-body-text":{_light:"gray.800",_dark:"whiteAlpha.900"},"chakra-body-bg":{_light:"white",_dark:"gray.800"},"chakra-border-color":{_light:"gray.200",_dark:"whiteAlpha.300"},"chakra-inverse-text":{_light:"white",_dark:"gray.800"},"chakra-subtle-bg":{_light:"gray.100",_dark:"gray.700"},"chakra-subtle-text":{_light:"gray.600",_dark:"gray.400"},"chakra-placeholder-color":{_light:"gray.500",_dark:"whiteAlpha.400"}}},aO={global:{body:{fontFamily:"body",color:"chakra-body-text",bg:"chakra-body-bg",transitionProperty:"background-color",transitionDuration:"normal",lineHeight:"base"},"*::placeholder":{color:"chakra-placeholder-color"},"*, *::before, *::after":{borderColor:"chakra-border-color"}}},sO=["borders","breakpoints","colors","components","config","direction","fonts","fontSizes","fontWeights","letterSpacings","lineHeights","radii","shadows","sizes","space","styles","transition","zIndices"];function lO(e){return Nt(e)?sO.every(t=>Object.prototype.hasOwnProperty.call(e,t)):!1}const cO="ltr",uO={useSystemColorMode:!1,initialColorMode:"light",cssVarPrefix:"chakra"},Jo={semanticTokens:oO,direction:cO,...iO,components:GD,styles:aO,config:uO};function dO(e){if(e.sheet)return e.sheet;for(var t=0;t<document.styleSheets.length;t++)if(document.styleSheets[t].ownerNode===e)return document.styleSheets[t]}function fO(e){var t=document.createElement("style");return t.setAttribute("data-emotion",e.key),e.nonce!==void 0&&t.setAttribute("nonce",e.nonce),t.appendChild(document.createTextNode("")),t.setAttribute("data-s",""),t}var pO=function(){function e(n){var r=this;this._insertTag=function(i){var o;r.tags.length===0?r.insertionPoint?o=r.insertionPoint.nextSibling:r.prepend?o=r.container.firstChild:o=r.before:o=r.tags[r.tags.length-1].nextSibling,r.container.insertBefore(i,o),r.tags.push(i)},this.isSpeedy=n.speedy===void 0?!0:n.speedy,this.tags=[],this.ctr=0,this.nonce=n.nonce,this.key=n.key,this.container=n.container,this.prepend=n.prepend,this.insertionPoint=n.insertionPoint,this.before=null}var t=e.prototype;return t.hydrate=function(r){r.forEach(this._insertTag)},t.insert=function(r){this.ctr%(this.isSpeedy?65e3:1)===0&&this._insertTag(fO(this));var i=this.tags[this.tags.length-1];if(this.isSpeedy){var o=dO(i);try{o.insertRule(r,o.cssRules.length)}catch{}}else i.appendChild(document.createTextNode(r));this.ctr++},t.flush=function(){this.tags.forEach(function(r){var i;return(i=r.parentNode)==null?void 0:i.removeChild(r)}),this.tags=[],this.ctr=0},e}(),on="-ms-",hp="-moz-",De="-webkit-",L6="comm",fy="rule",py="decl",mO="@import",N6="@keyframes",hO="@layer",gO=Math.abs,om=String.fromCharCode,vO=Object.assign;function yO(e,t){return Yt(e,0)^45?(((t<<2^Yt(e,0))<<2^Yt(e,1))<<2^Yt(e,2))<<2^Yt(e,3):0}function D6(e){return e.trim()}function bO(e,t){return(e=t.exec(e))?e[0]:e}function Oe(e,t,n){return e.replace(t,n)}function Xg(e,t){return e.indexOf(t)}function Yt(e,t){return e.charCodeAt(t)|0}function Xc(e,t,n){return e.slice(t,n)}function Dr(e){return e.length}function my(e){return e.length}function _d(e,t){return t.push(e),e}function xO(e,t){return e.map(t).join("")}var am=1,Xs=1,O6=0,Rn=0,Tt=0,fl="";function sm(e,t,n,r,i,o,a){return{value:e,root:t,parent:n,type:r,props:i,children:o,line:am,column:Xs,length:a,return:""}}function Ll(e,t){return vO(sm("",null,null,"",null,null,0),e,{length:-e.length},t)}function SO(){return Tt}function wO(){return Tt=Rn>0?Yt(fl,--Rn):0,Xs--,Tt===10&&(Xs=1,am--),Tt}function Bn(){return Tt=Rn<O6?Yt(fl,Rn++):0,Xs++,Tt===10&&(Xs=1,am++),Tt}function qr(){return Yt(fl,Rn)}function bf(){return Rn}function Cu(e,t){return Xc(fl,e,t)}function Yc(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function F6(e){return am=Xs=1,O6=Dr(fl=e),Rn=0,[]}function B6(e){return fl="",e}function xf(e){return D6(Cu(Rn-1,Yg(e===91?e+2:e===40?e+1:e)))}function kO(e){for(;(Tt=qr())&&Tt<33;)Bn();return Yc(e)>2||Yc(Tt)>3?"":" "}function CO(e,t){for(;--t&&Bn()&&!(Tt<48||Tt>102||Tt>57&&Tt<65||Tt>70&&Tt<97););return Cu(e,bf()+(t<6&&qr()==32&&Bn()==32))}function Yg(e){for(;Bn();)switch(Tt){case e:return Rn;case 34:case 39:e!==34&&e!==39&&Yg(Tt);break;case 40:e===41&&Yg(e);break;case 92:Bn();break}return Rn}function jO(e,t){for(;Bn()&&e+Tt!==57;)if(e+Tt===84&&qr()===47)break;return"/*"+Cu(t,Rn-1)+"*"+om(e===47?e:Bn())}function PO(e){for(;!Yc(qr());)Bn();return Cu(e,Rn)}function _O(e){return B6(Sf("",null,null,null,[""],e=F6(e),0,[0],e))}function Sf(e,t,n,r,i,o,a,l,c){for(var u=0,d=0,f=a,p=0,h=0,v=0,b=1,x=1,y=1,g=0,S="",w=i,k=o,P=r,_=S;x;)switch(v=g,g=Bn()){case 40:if(v!=108&&Yt(_,f-1)==58){Xg(_+=Oe(xf(g),"&","&\f"),"&\f")!=-1&&(y=-1);break}case 34:case 39:case 91:_+=xf(g);break;case 9:case 10:case 13:case 32:_+=kO(v);break;case 92:_+=CO(bf()-1,7);continue;case 47:switch(qr()){case 42:case 47:_d(TO(jO(Bn(),bf()),t,n),c);break;default:_+="/"}break;case 123*b:l[u++]=Dr(_)*y;case 125*b:case 59:case 0:switch(g){case 0:case 125:x=0;case 59+d:y==-1&&(_=Oe(_,/\f/g,"")),h>0&&Dr(_)-f&&_d(h>32?wS(_+";",r,n,f-1):wS(Oe(_," ","")+";",r,n,f-2),c);break;case 59:_+=";";default:if(_d(P=SS(_,t,n,u,d,i,l,S,w=[],k=[],f),o),g===123)if(d===0)Sf(_,t,P,P,w,o,f,l,k);else switch(p===99&&Yt(_,3)===110?100:p){case 100:case 108:case 109:case 115:Sf(e,P,P,r&&_d(SS(e,P,P,0,0,i,l,S,i,w=[],f),k),i,k,f,l,r?w:k);break;default:Sf(_,P,P,P,[""],k,0,l,k)}}u=d=h=0,b=y=1,S=_="",f=a;break;case 58:f=1+Dr(_),h=v;default:if(b<1){if(g==123)--b;else if(g==125&&b++==0&&wO()==125)continue}switch(_+=om(g),g*b){case 38:y=d>0?1:(_+="\f",-1);break;case 44:l[u++]=(Dr(_)-1)*y,y=1;break;case 64:qr()===45&&(_+=xf(Bn())),p=qr(),d=f=Dr(S=_+=PO(bf())),g++;break;case 45:v===45&&Dr(_)==2&&(b=0)}}return o}function SS(e,t,n,r,i,o,a,l,c,u,d){for(var f=i-1,p=i===0?o:[""],h=my(p),v=0,b=0,x=0;v<r;++v)for(var y=0,g=Xc(e,f+1,f=gO(b=a[v])),S=e;y<h;++y)(S=D6(b>0?p[y]+" "+g:Oe(g,/&\f/g,p[y])))&&(c[x++]=S);return sm(e,t,n,i===0?fy:l,c,u,d)}function TO(e,t,n){return sm(e,t,n,L6,om(SO()),Xc(e,2,-2),0)}function wS(e,t,n,r){return sm(e,t,n,py,Xc(e,0,r),Xc(e,r+1,-1),r)}function Ms(e,t){for(var n="",r=my(e),i=0;i<r;i++)n+=t(e[i],i,e,t)||"";return n}function EO(e,t,n,r){switch(e.type){case hO:if(e.children.length)break;case mO:case py:return e.return=e.return||e.value;case L6:return"";case N6:return e.return=e.value+"{"+Ms(e.children,r)+"}";case fy:e.value=e.props.join(",")}return Dr(n=Ms(e.children,r))?e.return=e.value+"{"+n+"}":""}function AO(e){var t=my(e);return function(n,r,i,o){for(var a="",l=0;l<t;l++)a+=e[l](n,r,i,o)||"";return a}}function $O(e){return function(t){t.root||(t=t.return)&&e(t)}}var kS=function(t){var n=new WeakMap;return function(r){if(n.has(r))return n.get(r);var i=t(r);return n.set(r,i),i}};function W6(e){var t=Object.create(null);return function(n){return t[n]===void 0&&(t[n]=e(n)),t[n]}}var zO=function(t,n,r){for(var i=0,o=0;i=o,o=qr(),i===38&&o===12&&(n[r]=1),!Yc(o);)Bn();return Cu(t,Rn)},RO=function(t,n){var r=-1,i=44;do switch(Yc(i)){case 0:i===38&&qr()===12&&(n[r]=1),t[r]+=zO(Rn-1,n,r);break;case 2:t[r]+=xf(i);break;case 4:if(i===44){t[++r]=qr()===58?"&\f":"",n[r]=t[r].length;break}default:t[r]+=om(i)}while(i=Bn());return t},IO=function(t,n){return B6(RO(F6(t),n))},CS=new WeakMap,MO=function(t){if(!(t.type!=="rule"||!t.parent||t.length<1)){for(var n=t.value,r=t.parent,i=t.column===r.column&&t.line===r.line;r.type!=="rule";)if(r=r.parent,!r)return;if(!(t.props.length===1&&n.charCodeAt(0)!==58&&!CS.get(r))&&!i){CS.set(t,!0);for(var o=[],a=IO(n,o),l=r.props,c=0,u=0;c<a.length;c++)for(var d=0;d<l.length;d++,u++)t.props[u]=o[c]?a[c].replace(/&\f/g,l[d]):l[d]+" "+a[c]}}},LO=function(t){if(t.type==="decl"){var n=t.value;n.charCodeAt(0)===108&&n.charCodeAt(2)===98&&(t.return="",t.value="")}};function V6(e,t){switch(yO(e,t)){case 5103:return De+"print-"+e+e;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return De+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return De+e+hp+e+on+e+e;case 6828:case 4268:return De+e+on+e+e;case 6165:return De+e+on+"flex-"+e+e;case 5187:return De+e+Oe(e,/(\w+).+(:[^]+)/,De+"box-$1$2"+on+"flex-$1$2")+e;case 5443:return De+e+on+"flex-item-"+Oe(e,/flex-|-self/,"")+e;case 4675:return De+e+on+"flex-line-pack"+Oe(e,/align-content|flex-|-self/,"")+e;case 5548:return De+e+on+Oe(e,"shrink","negative")+e;case 5292:return De+e+on+Oe(e,"basis","preferred-size")+e;case 6060:return De+"box-"+Oe(e,"-grow","")+De+e+on+Oe(e,"grow","positive")+e;case 4554:return De+Oe(e,/([^-])(transform)/g,"$1"+De+"$2")+e;case 6187:return Oe(Oe(Oe(e,/(zoom-|grab)/,De+"$1"),/(image-set)/,De+"$1"),e,"")+e;case 5495:case 3959:return Oe(e,/(image-set\([^]*)/,De+"$1$`$1");case 4968:return Oe(Oe(e,/(.+:)(flex-)?(.*)/,De+"box-pack:$3"+on+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+De+e+e;case 4095:case 3583:case 4068:case 2532:return Oe(e,/(.+)-inline(.+)/,De+"$1$2")+e;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(Dr(e)-1-t>6)switch(Yt(e,t+1)){case 109:if(Yt(e,t+4)!==45)break;case 102:return Oe(e,/(.+:)(.+)-([^]+)/,"$1"+De+"$2-$3$1"+hp+(Yt(e,t+3)==108?"$3":"$2-$3"))+e;case 115:return~Xg(e,"stretch")?V6(Oe(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(Yt(e,t+1)!==115)break;case 6444:switch(Yt(e,Dr(e)-3-(~Xg(e,"!important")&&10))){case 107:return Oe(e,":",":"+De)+e;case 101:return Oe(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+De+(Yt(e,14)===45?"inline-":"")+"box$3$1"+De+"$2$3$1"+on+"$2box$3")+e}break;case 5936:switch(Yt(e,t+11)){case 114:return De+e+on+Oe(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return De+e+on+Oe(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return De+e+on+Oe(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return De+e+on+e+e}return e}var NO=function(t,n,r,i){if(t.length>-1&&!t.return)switch(t.type){case py:t.return=V6(t.value,t.length);break;case N6:return Ms([Ll(t,{value:Oe(t.value,"@","@"+De)})],i);case fy:if(t.length)return xO(t.props,function(o){switch(bO(o,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return Ms([Ll(t,{props:[Oe(o,/:(read-\w+)/,":"+hp+"$1")]})],i);case"::placeholder":return Ms([Ll(t,{props:[Oe(o,/:(plac\w+)/,":"+De+"input-$1")]}),Ll(t,{props:[Oe(o,/:(plac\w+)/,":"+hp+"$1")]}),Ll(t,{props:[Oe(o,/:(plac\w+)/,on+"input-$1")]})],i)}return""})}},DO=[NO],OO=function(t){var n=t.key;if(n==="css"){var r=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(r,function(b){var x=b.getAttribute("data-emotion");x.indexOf(" ")!==-1&&(document.head.appendChild(b),b.setAttribute("data-s",""))})}var i=t.stylisPlugins||DO,o={},a,l=[];a=t.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+n+' "]'),function(b){for(var x=b.getAttribute("data-emotion").split(" "),y=1;y<x.length;y++)o[x[y]]=!0;l.push(b)});var c,u=[MO,LO];{var d,f=[EO,$O(function(b){d.insert(b)})],p=AO(u.concat(i,f)),h=function(x){return Ms(_O(x),p)};c=function(x,y,g,S){d=g,h(x?x+"{"+y.styles+"}":y.styles),S&&(v.inserted[y.name]=!0)}}var v={key:n,sheet:new pO({key:n,container:a,nonce:t.nonce,speedy:t.speedy,prepend:t.prepend,insertionPoint:t.insertionPoint}),nonce:t.nonce,inserted:o,registered:{},insert:c};return v.sheet.hydrate(l),v};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)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},wa.apply(null,arguments)}var U6={exports:{}},Ge={};/** @license React v16.13.1
|
||
* react-is.production.min.js
|
||
*
|
||
* Copyright (c) Facebook, Inc. and its affiliates.
|
||
*
|
||
* This source code is licensed under the MIT license found in the
|
||
* LICENSE file in the root directory of this source tree.
|
||
*/var Gt=typeof Symbol=="function"&&Symbol.for,hy=Gt?Symbol.for("react.element"):60103,gy=Gt?Symbol.for("react.portal"):60106,lm=Gt?Symbol.for("react.fragment"):60107,cm=Gt?Symbol.for("react.strict_mode"):60108,um=Gt?Symbol.for("react.profiler"):60114,dm=Gt?Symbol.for("react.provider"):60109,fm=Gt?Symbol.for("react.context"):60110,vy=Gt?Symbol.for("react.async_mode"):60111,pm=Gt?Symbol.for("react.concurrent_mode"):60111,mm=Gt?Symbol.for("react.forward_ref"):60112,hm=Gt?Symbol.for("react.suspense"):60113,FO=Gt?Symbol.for("react.suspense_list"):60120,gm=Gt?Symbol.for("react.memo"):60115,vm=Gt?Symbol.for("react.lazy"):60116,BO=Gt?Symbol.for("react.block"):60121,WO=Gt?Symbol.for("react.fundamental"):60117,VO=Gt?Symbol.for("react.responder"):60118,UO=Gt?Symbol.for("react.scope"):60119;function qn(e){if(typeof e=="object"&&e!==null){var t=e.$$typeof;switch(t){case hy:switch(e=e.type,e){case vy:case pm:case lm:case um:case cm:case hm:return e;default:switch(e=e&&e.$$typeof,e){case fm:case mm:case vm:case gm:case dm:return e;default:return t}}case gy:return t}}}function H6(e){return qn(e)===pm}Ge.AsyncMode=vy;Ge.ConcurrentMode=pm;Ge.ContextConsumer=fm;Ge.ContextProvider=dm;Ge.Element=hy;Ge.ForwardRef=mm;Ge.Fragment=lm;Ge.Lazy=vm;Ge.Memo=gm;Ge.Portal=gy;Ge.Profiler=um;Ge.StrictMode=cm;Ge.Suspense=hm;Ge.isAsyncMode=function(e){return H6(e)||qn(e)===vy};Ge.isConcurrentMode=H6;Ge.isContextConsumer=function(e){return qn(e)===fm};Ge.isContextProvider=function(e){return qn(e)===dm};Ge.isElement=function(e){return typeof e=="object"&&e!==null&&e.$$typeof===hy};Ge.isForwardRef=function(e){return qn(e)===mm};Ge.isFragment=function(e){return qn(e)===lm};Ge.isLazy=function(e){return qn(e)===vm};Ge.isMemo=function(e){return qn(e)===gm};Ge.isPortal=function(e){return qn(e)===gy};Ge.isProfiler=function(e){return qn(e)===um};Ge.isStrictMode=function(e){return qn(e)===cm};Ge.isSuspense=function(e){return qn(e)===hm};Ge.isValidElementType=function(e){return typeof e=="string"||typeof e=="function"||e===lm||e===pm||e===um||e===cm||e===hm||e===FO||typeof e=="object"&&e!==null&&(e.$$typeof===vm||e.$$typeof===gm||e.$$typeof===dm||e.$$typeof===fm||e.$$typeof===mm||e.$$typeof===WO||e.$$typeof===VO||e.$$typeof===UO||e.$$typeof===BO)};Ge.typeOf=qn;U6.exports=Ge;var HO=U6.exports,G6=HO,GO={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},KO={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},K6={};K6[G6.ForwardRef]=GO;K6[G6.Memo]=KO;var qO=!0;function q6(e,t,n){var r="";return n.split(" ").forEach(function(i){e[i]!==void 0?t.push(e[i]+";"):i&&(r+=i+" ")}),r}var yy=function(t,n,r){var i=t.key+"-"+n.name;(r===!1||qO===!1)&&t.registered[i]===void 0&&(t.registered[i]=n.styles)},by=function(t,n,r){yy(t,n,r);var i=t.key+"-"+n.name;if(t.inserted[n.name]===void 0){var o=n;do t.insert(n===o?"."+i:"",o,t.sheet,!0),o=o.next;while(o!==void 0)}};function XO(e){for(var t=0,n,r=0,i=e.length;i>=4;++r,i-=4)n=e.charCodeAt(r)&255|(e.charCodeAt(++r)&255)<<8|(e.charCodeAt(++r)&255)<<16|(e.charCodeAt(++r)&255)<<24,n=(n&65535)*1540483477+((n>>>16)*59797<<16),n^=n>>>24,t=(n&65535)*1540483477+((n>>>16)*59797<<16)^(t&65535)*1540483477+((t>>>16)*59797<<16);switch(i){case 3:t^=(e.charCodeAt(r+2)&255)<<16;case 2:t^=(e.charCodeAt(r+1)&255)<<8;case 1:t^=e.charCodeAt(r)&255,t=(t&65535)*1540483477+((t>>>16)*59797<<16)}return t^=t>>>13,t=(t&65535)*1540483477+((t>>>16)*59797<<16),((t^t>>>15)>>>0).toString(36)}var YO={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,scale:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},QO=/[A-Z]|^ms/g,ZO=/_EMO_([^_]+?)_([^]*?)_EMO_/g,X6=function(t){return t.charCodeAt(1)===45},jS=function(t){return t!=null&&typeof t!="boolean"},Jh=W6(function(e){return X6(e)?e:e.replace(QO,"-$&").toLowerCase()}),PS=function(t,n){switch(t){case"animation":case"animationName":if(typeof n=="string")return n.replace(ZO,function(r,i,o){return Or={name:i,styles:o,next:Or},i})}return YO[t]!==1&&!X6(t)&&typeof n=="number"&&n!==0?n+"px":n};function Qc(e,t,n){if(n==null)return"";var r=n;if(r.__emotion_styles!==void 0)return r;switch(typeof n){case"boolean":return"";case"object":{var i=n;if(i.anim===1)return Or={name:i.name,styles:i.styles,next:Or},i.name;var o=n;if(o.styles!==void 0){var a=o.next;if(a!==void 0)for(;a!==void 0;)Or={name:a.name,styles:a.styles,next:Or},a=a.next;var l=o.styles+";";return l}return JO(e,t,n)}case"function":{if(e!==void 0){var c=Or,u=n(e);return Or=c,Qc(e,t,u)}break}}var d=n;if(t==null)return d;var f=t[d];return f!==void 0?f:d}function JO(e,t,n){var r="";if(Array.isArray(n))for(var i=0;i<n.length;i++)r+=Qc(e,t,n[i])+";";else for(var o in n){var a=n[o];if(typeof a!="object"){var l=a;t!=null&&t[l]!==void 0?r+=o+"{"+t[l]+"}":jS(l)&&(r+=Jh(o)+":"+PS(o,l)+";")}else if(Array.isArray(a)&&typeof a[0]=="string"&&(t==null||t[a[0]]===void 0))for(var c=0;c<a.length;c++)jS(a[c])&&(r+=Jh(o)+":"+PS(o,a[c])+";");else{var u=Qc(e,t,a);switch(o){case"animation":case"animationName":{r+=Jh(o)+":"+u+";";break}default:r+=o+"{"+u+"}"}}}return r}var _S=/label:\s*([^\s;{]+)\s*(;|$)/g,Or;function ym(e,t,n){if(e.length===1&&typeof e[0]=="object"&&e[0]!==null&&e[0].styles!==void 0)return e[0];var r=!0,i="";Or=void 0;var o=e[0];if(o==null||o.raw===void 0)r=!1,i+=Qc(n,t,o);else{var a=o;i+=a[0]}for(var l=1;l<e.length;l++)if(i+=Qc(n,t,e[l]),r){var c=o;i+=c[l]}_S.lastIndex=0;for(var u="",d;(d=_S.exec(i))!==null;)u+="-"+d[1];var f=XO(i)+u;return{name:f,styles:i,next:Or}}var eF=function(t){return t()},Y6=U0.useInsertionEffect?U0.useInsertionEffect:!1,Q6=Y6||eF,TS=Y6||m.useLayoutEffect,xy=m.createContext(typeof HTMLElement<"u"?OO({key:"css"}):null);xy.Provider;var tF=function(){return m.useContext(xy)},Sy=function(t){return m.forwardRef(function(n,r){var i=m.useContext(xy);return t(n,i,r)})},Ys=m.createContext({}),nF=function(t,n){if(typeof n=="function"){var r=n(t);return r}return wa({},t,n)},rF=kS(function(e){return kS(function(t){return nF(e,t)})}),iF=function(t){var n=m.useContext(Ys);return t.theme!==n&&(n=rF(n)(t.theme)),m.createElement(Ys.Provider,{value:n},t.children)},wy={}.hasOwnProperty,Qg="__EMOTION_TYPE_PLEASE_DO_NOT_USE__",oF=function(t,n){var r={};for(var i in n)wy.call(n,i)&&(r[i]=n[i]);return r[Qg]=t,r},aF=function(t){var n=t.cache,r=t.serialized,i=t.isStringTag;return yy(n,r,i),Q6(function(){return by(n,r,i)}),null},sF=Sy(function(e,t,n){var r=e.css;typeof r=="string"&&t.registered[r]!==void 0&&(r=t.registered[r]);var i=e[Qg],o=[r],a="";typeof e.className=="string"?a=q6(t.registered,o,e.className):e.className!=null&&(a=e.className+" ");var l=ym(o,void 0,m.useContext(Ys));a+=t.key+"-"+l.name;var c={};for(var u in e)wy.call(e,u)&&u!=="css"&&u!==Qg&&(c[u]=e[u]);return c.className=a,n&&(c.ref=n),m.createElement(m.Fragment,null,m.createElement(aF,{cache:t,serialized:l,isStringTag:typeof i=="string"}),m.createElement(i,c))}),lF=sF,ES=function(t,n){var r=arguments;if(n==null||!wy.call(n,"css"))return m.createElement.apply(void 0,r);var i=r.length,o=new Array(i);o[0]=lF,o[1]=oF(t,n);for(var a=2;a<i;a++)o[a]=r[a];return m.createElement.apply(null,o)};(function(e){var t;t||(t=e.JSX||(e.JSX={}))})(ES||(ES={}));var bm=Sy(function(e,t){var n=e.styles,r=ym([n],void 0,m.useContext(Ys)),i=m.useRef();return TS(function(){var o=t.key+"-global",a=new t.sheet.constructor({key:o,nonce:t.sheet.nonce,container:t.sheet.container,speedy:t.sheet.isSpeedy}),l=!1,c=document.querySelector('style[data-emotion="'+o+" "+r.name+'"]');return t.sheet.tags.length&&(a.before=t.sheet.tags[0]),c!==null&&(l=!0,c.setAttribute("data-emotion",o),a.hydrate([c])),i.current=[a,l],function(){a.flush()}},[t]),TS(function(){var o=i.current,a=o[0],l=o[1];if(l){o[1]=!1;return}if(r.next!==void 0&&by(t,r.next,!0),a.tags.length){var c=a.tags[a.tags.length-1].nextElementSibling;a.before=c,a.flush()}t.insert("",r,a,!1)},[t,r.name]),null});function cF(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return ym(t)}function ju(){var e=cF.apply(void 0,arguments),t="animation-"+e.name;return{name:t,styles:"@keyframes "+t+"{"+e.styles+"}",anim:1,toString:function(){return"_EMO_"+this.name+"_"+this.styles+"_EMO_"}}}const ky=m.createContext({});ky.displayName="ColorModeContext";function Pu(){const e=m.useContext(ky);if(e===void 0)throw new Error("useColorMode must be used within a ColorModeProvider");return e}function gp(e,t){const{colorMode:n}=Pu();return n==="dark"?t:e}const Td={light:"chakra-ui-light",dark:"chakra-ui-dark"};function uF(e={}){const{preventTransition:t=!0,nonce:n}=e,r={setDataset:i=>{const o=t?r.preventTransition():void 0;document.documentElement.dataset.theme=i,document.documentElement.style.colorScheme=i,o==null||o()},setClassName(i){document.body.classList.add(i?Td.dark:Td.light),document.body.classList.remove(i?Td.light:Td.dark)},query(){return window.matchMedia("(prefers-color-scheme: dark)")},getSystemTheme(i){return r.query().matches??i==="dark"?"dark":"light"},addListener(i){const o=r.query(),a=l=>{i(l.matches?"dark":"light")};return typeof o.addListener=="function"?o.addListener(a):o.addEventListener("change",a),()=>{typeof o.removeListener=="function"?o.removeListener(a):o.removeEventListener("change",a)}},preventTransition(){const i=document.createElement("style");return i.appendChild(document.createTextNode("*{-webkit-transition:none!important;-moz-transition:none!important;-o-transition:none!important;-ms-transition:none!important;transition:none!important}")),n!==void 0&&(i.nonce=n),document.head.appendChild(i),()=>{window.getComputedStyle(document.body),requestAnimationFrame(()=>{requestAnimationFrame(()=>{document.head.removeChild(i)})})}}};return r}const dF="chakra-ui-color-mode";function fF(e){return{ssr:!1,type:"localStorage",get(t){if(!(globalThis!=null&&globalThis.document))return t;let n;try{n=localStorage.getItem(e)||t}catch{}return n||t},set(t){try{localStorage.setItem(e,t)}catch{}}}}const pF=fF(dF),AS=()=>{},mF=C$()?m.useLayoutEffect:m.useEffect;function $S(e,t){return e.type==="cookie"&&e.ssr?e.get(t):t}const Z6=function(t){const{value:n,children:r,options:{useSystemColorMode:i,initialColorMode:o,disableTransitionOnChange:a}={},colorModeManager:l=pF}=t,c=tF(),u=o==="dark"?"dark":"light",[d,f]=m.useState(()=>$S(l,u)),[p,h]=m.useState(()=>$S(l)),{getSystemTheme:v,setClassName:b,setDataset:x,addListener:y}=m.useMemo(()=>uF({preventTransition:a,nonce:c==null?void 0:c.nonce}),[a,c==null?void 0:c.nonce]),g=o==="system"&&!d?p:d,S=m.useCallback(P=>{const _=P==="system"?v():P;f(_),b(_==="dark"),x(_),l.set(_)},[l,v,b,x]);mF(()=>{o==="system"&&h(v())},[]),m.useEffect(()=>{const P=l.get();if(P){S(P);return}if(o==="system"){S("system");return}S(u)},[l,u,o,S]);const w=m.useCallback(()=>{S(g==="dark"?"light":"dark")},[g,S]);m.useEffect(()=>{if(i)return y(S)},[i,y,S]);const k=m.useMemo(()=>({colorMode:n??g,toggleColorMode:n?AS:w,setColorMode:n?AS:S,forced:n!==void 0}),[g,w,S,n]);return s.jsx(ky.Provider,{value:k,children:r})};Z6.displayName="ColorModeProvider";const J6=String.raw,ej=J6`
|
||
:root,
|
||
:host {
|
||
--chakra-vh: 100vh;
|
||
}
|
||
|
||
@supports (height: -webkit-fill-available) {
|
||
:root,
|
||
:host {
|
||
--chakra-vh: -webkit-fill-available;
|
||
}
|
||
}
|
||
|
||
@supports (height: -moz-fill-available) {
|
||
:root,
|
||
:host {
|
||
--chakra-vh: -moz-fill-available;
|
||
}
|
||
}
|
||
|
||
@supports (height: 100dvh) {
|
||
:root,
|
||
:host {
|
||
--chakra-vh: 100dvh;
|
||
}
|
||
}
|
||
`,hF=()=>s.jsx(bm,{styles:ej}),gF=({scope:e=""})=>s.jsx(bm,{styles:J6`
|
||
html {
|
||
line-height: 1.5;
|
||
-webkit-text-size-adjust: 100%;
|
||
font-family: system-ui, sans-serif;
|
||
-webkit-font-smoothing: antialiased;
|
||
text-rendering: optimizeLegibility;
|
||
-moz-osx-font-smoothing: grayscale;
|
||
touch-action: manipulation;
|
||
}
|
||
|
||
body {
|
||
position: relative;
|
||
min-height: 100%;
|
||
margin: 0;
|
||
font-feature-settings: "kern";
|
||
}
|
||
|
||
${e} :where(*, *::before, *::after) {
|
||
border-width: 0;
|
||
border-style: solid;
|
||
box-sizing: border-box;
|
||
word-wrap: break-word;
|
||
}
|
||
|
||
main {
|
||
display: block;
|
||
}
|
||
|
||
${e} hr {
|
||
border-top-width: 1px;
|
||
box-sizing: content-box;
|
||
height: 0;
|
||
overflow: visible;
|
||
}
|
||
|
||
${e} :where(pre, code, kbd,samp) {
|
||
font-family: SFMono-Regular, Menlo, Monaco, Consolas, monospace;
|
||
font-size: 1em;
|
||
}
|
||
|
||
${e} a {
|
||
background-color: transparent;
|
||
color: inherit;
|
||
text-decoration: inherit;
|
||
}
|
||
|
||
${e} abbr[title] {
|
||
border-bottom: none;
|
||
text-decoration: underline;
|
||
-webkit-text-decoration: underline dotted;
|
||
text-decoration: underline dotted;
|
||
}
|
||
|
||
${e} :where(b, strong) {
|
||
font-weight: bold;
|
||
}
|
||
|
||
${e} small {
|
||
font-size: 80%;
|
||
}
|
||
|
||
${e} :where(sub,sup) {
|
||
font-size: 75%;
|
||
line-height: 0;
|
||
position: relative;
|
||
vertical-align: baseline;
|
||
}
|
||
|
||
${e} sub {
|
||
bottom: -0.25em;
|
||
}
|
||
|
||
${e} sup {
|
||
top: -0.5em;
|
||
}
|
||
|
||
${e} img {
|
||
border-style: none;
|
||
}
|
||
|
||
${e} :where(button, input, optgroup, select, textarea) {
|
||
font-family: inherit;
|
||
font-size: 100%;
|
||
line-height: 1.15;
|
||
margin: 0;
|
||
}
|
||
|
||
${e} :where(button, input) {
|
||
overflow: visible;
|
||
}
|
||
|
||
${e} :where(button, select) {
|
||
text-transform: none;
|
||
}
|
||
|
||
${e} :where(
|
||
button::-moz-focus-inner,
|
||
[type="button"]::-moz-focus-inner,
|
||
[type="reset"]::-moz-focus-inner,
|
||
[type="submit"]::-moz-focus-inner
|
||
) {
|
||
border-style: none;
|
||
padding: 0;
|
||
}
|
||
|
||
${e} fieldset {
|
||
padding: 0.35em 0.75em 0.625em;
|
||
}
|
||
|
||
${e} legend {
|
||
box-sizing: border-box;
|
||
color: inherit;
|
||
display: table;
|
||
max-width: 100%;
|
||
padding: 0;
|
||
white-space: normal;
|
||
}
|
||
|
||
${e} progress {
|
||
vertical-align: baseline;
|
||
}
|
||
|
||
${e} textarea {
|
||
overflow: auto;
|
||
}
|
||
|
||
${e} :where([type="checkbox"], [type="radio"]) {
|
||
box-sizing: border-box;
|
||
padding: 0;
|
||
}
|
||
|
||
${e} input[type="number"]::-webkit-inner-spin-button,
|
||
${e} input[type="number"]::-webkit-outer-spin-button {
|
||
-webkit-appearance: none !important;
|
||
}
|
||
|
||
${e} input[type="number"] {
|
||
-moz-appearance: textfield;
|
||
}
|
||
|
||
${e} input[type="search"] {
|
||
-webkit-appearance: textfield;
|
||
outline-offset: -2px;
|
||
}
|
||
|
||
${e} input[type="search"]::-webkit-search-decoration {
|
||
-webkit-appearance: none !important;
|
||
}
|
||
|
||
${e} ::-webkit-file-upload-button {
|
||
-webkit-appearance: button;
|
||
font: inherit;
|
||
}
|
||
|
||
${e} details {
|
||
display: block;
|
||
}
|
||
|
||
${e} summary {
|
||
display: list-item;
|
||
}
|
||
|
||
template {
|
||
display: none;
|
||
}
|
||
|
||
[hidden] {
|
||
display: none !important;
|
||
}
|
||
|
||
${e} :where(
|
||
blockquote,
|
||
dl,
|
||
dd,
|
||
h1,
|
||
h2,
|
||
h3,
|
||
h4,
|
||
h5,
|
||
h6,
|
||
hr,
|
||
figure,
|
||
p,
|
||
pre
|
||
) {
|
||
margin: 0;
|
||
}
|
||
|
||
${e} button {
|
||
background: transparent;
|
||
padding: 0;
|
||
}
|
||
|
||
${e} fieldset {
|
||
margin: 0;
|
||
padding: 0;
|
||
}
|
||
|
||
${e} :where(ol, ul) {
|
||
margin: 0;
|
||
padding: 0;
|
||
}
|
||
|
||
${e} textarea {
|
||
resize: vertical;
|
||
}
|
||
|
||
${e} :where(button, [role="button"]) {
|
||
cursor: pointer;
|
||
}
|
||
|
||
${e} button::-moz-focus-inner {
|
||
border: 0 !important;
|
||
}
|
||
|
||
${e} table {
|
||
border-collapse: collapse;
|
||
}
|
||
|
||
${e} :where(h1, h2, h3, h4, h5, h6) {
|
||
font-size: inherit;
|
||
font-weight: inherit;
|
||
}
|
||
|
||
${e} :where(button, input, optgroup, select, textarea) {
|
||
padding: 0;
|
||
line-height: inherit;
|
||
color: inherit;
|
||
}
|
||
|
||
${e} :where(img, svg, video, canvas, audio, iframe, embed, object) {
|
||
display: block;
|
||
}
|
||
|
||
${e} :where(img, video) {
|
||
max-width: 100%;
|
||
height: auto;
|
||
}
|
||
|
||
[data-js-focus-visible]
|
||
:focus:not([data-focus-visible-added]):not(
|
||
[data-focus-visible-disabled]
|
||
) {
|
||
outline: none;
|
||
box-shadow: none;
|
||
}
|
||
|
||
${e} select::-ms-expand {
|
||
display: none;
|
||
}
|
||
|
||
${ej}
|
||
`});function vF(e){const{cssVarsRoot:t,theme:n,children:r}=e,i=m.useMemo(()=>uR(n),[n]);return s.jsxs(iF,{theme:i,children:[s.jsx(yF,{root:t}),r]})}function yF({root:e=":host, :root"}){const t=[e,"[data-theme]"].join(",");return s.jsx(bm,{styles:n=>({[t]:n.__cssVars})})}_e({name:"StylesContext",errorMessage:"useStyles: `styles` is undefined. Seems you forgot to wrap the components in `<StylesProvider />` "});function $r(e){return _e({name:`${e}StylesContext`,errorMessage:`useStyles: "styles" is undefined. Seems you forgot to wrap the components in "<${e} />" `})}function bF(){const{colorMode:e}=Pu();return s.jsx(bm,{styles:t=>{const n=ZC(t,"styles.global"),r=cn(n,{theme:t,colorMode:e});return r?u6(r)(t):void 0}})}const[xF,SF]=_e({strict:!1,name:"PortalManagerContext"});function tj(e){const{children:t,zIndex:n}=e;return s.jsx(xF,{value:{zIndex:n},children:t})}tj.displayName="PortalManager";const Cy=m.createContext({getDocument(){return document},getWindow(){return window}});Cy.displayName="EnvironmentContext";function wF({defer:e}={}){const[,t]=m.useReducer(n=>n+1,0);return vi(()=>{e&&t()},[e]),m.useContext(Cy)}function nj(e){const{children:t,environment:n,disabled:r}=e,i=m.useRef(null),o=m.useMemo(()=>n||{getDocument:()=>{var l;return((l=i.current)==null?void 0:l.ownerDocument)??document},getWindow:()=>{var l;return((l=i.current)==null?void 0:l.ownerDocument.defaultView)??window}},[n]),a=!r||!n;return s.jsxs(Cy.Provider,{value:o,children:[t,a&&s.jsx("span",{id:"__chakra_env",hidden:!0,ref:i})]})}nj.displayName="EnvironmentProvider";const kF=e=>{const{children:t,colorModeManager:n,portalZIndex:r,resetScope:i,resetCSS:o=!0,theme:a={},environment:l,cssVarsRoot:c,disableEnvironment:u,disableGlobalStyle:d}=e,f=s.jsx(nj,{environment:l,disabled:u,children:t});return s.jsx(vF,{theme:a,cssVarsRoot:c,children:s.jsxs(Z6,{colorModeManager:n,options:a.config,children:[o?s.jsx(gF,{scope:i}):s.jsx(hF,{}),!d&&s.jsx(bF,{}),r?s.jsx(tj,{zIndex:r,children:f}):f]})})},jy=m.createContext({});function Py(e){const t=m.useRef(null);return t.current===null&&(t.current=e()),t.current}const _u=m.createContext(null),_y=m.createContext({transformPagePoint:e=>e,isStatic:!1,reducedMotion:"never"});class CF extends m.Component{getSnapshotBeforeUpdate(t){const n=this.props.childRef.current;if(n&&t.isPresent&&!this.props.isPresent){const r=this.props.sizeRef.current;r.height=n.offsetHeight||0,r.width=n.offsetWidth||0,r.top=n.offsetTop,r.left=n.offsetLeft}return null}componentDidUpdate(){}render(){return this.props.children}}function jF({children:e,isPresent:t}){const n=m.useId(),r=m.useRef(null),i=m.useRef({width:0,height:0,top:0,left:0}),{nonce:o}=m.useContext(_y);return m.useInsertionEffect(()=>{const{width:a,height:l,top:c,left:u}=i.current;if(t||!r.current||!a||!l)return;r.current.dataset.motionPopId=n;const d=document.createElement("style");return o&&(d.nonce=o),document.head.appendChild(d),d.sheet&&d.sheet.insertRule(`
|
||
[data-motion-pop-id="${n}"] {
|
||
position: absolute !important;
|
||
width: ${a}px !important;
|
||
height: ${l}px !important;
|
||
top: ${c}px !important;
|
||
left: ${u}px !important;
|
||
}
|
||
`),()=>{document.head.removeChild(d)}},[t]),s.jsx(CF,{isPresent:t,childRef:r,sizeRef:i,children:m.cloneElement(e,{ref:r})})}const PF=({children:e,initial:t,isPresent:n,onExitComplete:r,custom:i,presenceAffectsLayout:o,mode:a})=>{const l=Py(_F),c=m.useId(),u=m.useCallback(f=>{l.set(f,!0);for(const p of l.values())if(!p)return;r&&r()},[l,r]),d=m.useMemo(()=>({id:c,initial:t,isPresent:n,custom:i,onExitComplete:u,register:f=>(l.set(f,!1),()=>l.delete(f))}),o?[Math.random(),u]:[n,u]);return m.useMemo(()=>{l.forEach((f,p)=>l.set(p,!1))},[n]),m.useEffect(()=>{!n&&!l.size&&r&&r()},[n]),a==="popLayout"&&(e=s.jsx(jF,{isPresent:n,children:e})),s.jsx(_u.Provider,{value:d,children:e})};function _F(){return new Map}function Ty(e=!0){const t=m.useContext(_u);if(t===null)return[!0,null];const{isPresent:n,onExitComplete:r,register:i}=t,o=m.useId();m.useEffect(()=>{e&&i(o)},[e]);const a=m.useCallback(()=>e&&r&&r(o),[o,r,e]);return!n&&r?[!1,a]:[!0]}function TF(){return EF(m.useContext(_u))}function EF(e){return e===null?!0:e.isPresent}const Ed=e=>e.key||"";function zS(e){const t=[];return m.Children.forEach(e,n=>{m.isValidElement(n)&&t.push(n)}),t}const Ey=typeof window<"u",rj=Ey?m.useLayoutEffect:m.useEffect,$i=({children:e,custom:t,initial:n=!0,onExitComplete:r,presenceAffectsLayout:i=!0,mode:o="sync",propagate:a=!1})=>{const[l,c]=Ty(a),u=m.useMemo(()=>zS(e),[e]),d=a&&!l?[]:u.map(Ed),f=m.useRef(!0),p=m.useRef(u),h=Py(()=>new Map),[v,b]=m.useState(u),[x,y]=m.useState(u);rj(()=>{f.current=!1,p.current=u;for(let w=0;w<x.length;w++){const k=Ed(x[w]);d.includes(k)?h.delete(k):h.get(k)!==!0&&h.set(k,!1)}},[x,d.length,d.join("-")]);const g=[];if(u!==v){let w=[...u];for(let k=0;k<x.length;k++){const P=x[k],_=Ed(P);d.includes(_)||(w.splice(k,0,P),g.push(P))}o==="wait"&&g.length&&(w=g),y(zS(w)),b(u);return}const{forceRender:S}=m.useContext(jy);return s.jsx(s.Fragment,{children:x.map(w=>{const k=Ed(w),P=a&&!l?!1:u===x||d.includes(k),_=()=>{if(h.has(k))h.set(k,!0);else return;let j=!0;h.forEach(z=>{z||(j=!1)}),j&&(S==null||S(),y(p.current),a&&(c==null||c()),r&&r())};return s.jsx(PF,{isPresent:P,initial:!f.current||n?void 0:!1,custom:P?void 0:t,presenceAffectsLayout:i,mode:o,onExitComplete:P?void 0:_,children:w},k)})})},Wn=e=>e;let ij=Wn;function Ay(e){let t;return()=>(t===void 0&&(t=e()),t)}const Qs=(e,t,n)=>{const r=t-e;return r===0?1:(n-e)/r},bi=e=>e*1e3,xi=e=>e/1e3,AF={useManualTiming:!1};function $F(e){let t=new Set,n=new Set,r=!1,i=!1;const o=new WeakSet;let a={delta:0,timestamp:0,isProcessing:!1};function l(u){o.has(u)&&(c.schedule(u),e()),u(a)}const c={schedule:(u,d=!1,f=!1)=>{const h=f&&r?t:n;return d&&o.add(u),h.has(u)||h.add(u),u},cancel:u=>{n.delete(u),o.delete(u)},process:u=>{if(a=u,r){i=!0;return}r=!0,[t,n]=[n,t],t.forEach(l),t.clear(),r=!1,i&&(i=!1,c.process(u))}};return c}const Ad=["read","resolveKeyframes","update","preRender","render","postRender"],zF=40;function oj(e,t){let n=!1,r=!0;const i={delta:0,timestamp:0,isProcessing:!1},o=()=>n=!0,a=Ad.reduce((y,g)=>(y[g]=$F(o),y),{}),{read:l,resolveKeyframes:c,update:u,preRender:d,render:f,postRender:p}=a,h=()=>{const y=performance.now();n=!1,i.delta=r?1e3/60:Math.max(Math.min(y-i.timestamp,zF),1),i.timestamp=y,i.isProcessing=!0,l.process(i),c.process(i),u.process(i),d.process(i),f.process(i),p.process(i),i.isProcessing=!1,n&&t&&(r=!1,e(h))},v=()=>{n=!0,r=!0,i.isProcessing||e(h)};return{schedule:Ad.reduce((y,g)=>{const S=a[g];return y[g]=(w,k=!1,P=!1)=>(n||v(),S.schedule(w,k,P)),y},{}),cancel:y=>{for(let g=0;g<Ad.length;g++)a[Ad[g]].cancel(y)},state:i,steps:a}}const{schedule:it,cancel:go,state:qt,steps:e0}=oj(typeof requestAnimationFrame<"u"?requestAnimationFrame:Wn,!0),aj=m.createContext({strict:!1}),RS={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"]},Zs={};for(const e in RS)Zs[e]={isEnabled:t=>RS[e].some(n=>!!t[n])};function RF(e){for(const t in e)Zs[t]={...Zs[t],...e[t]}}const IF=new Set(["animate","exit","variants","initial","style","values","variants","transition","transformTemplate","custom","inherit","onBeforeLayoutMeasure","onAnimationStart","onAnimationComplete","onUpdate","onDragStart","onDrag","onDragEnd","onMeasureDragConstraints","onDirectionLock","onDragTransitionEnd","_dragX","_dragY","onHoverStart","onHoverEnd","onViewportEnter","onViewportLeave","globalTapTarget","ignoreStrict","viewport"]);function vp(e){return e.startsWith("while")||e.startsWith("drag")&&e!=="draggable"||e.startsWith("layout")||e.startsWith("onTap")||e.startsWith("onPan")||e.startsWith("onLayout")||IF.has(e)}let sj=e=>!vp(e);function MF(e){e&&(sj=t=>t.startsWith("on")?!vp(t):e(t))}try{MF(require("@emotion/is-prop-valid").default)}catch{}function LF(e,t,n){const r={};for(const i in e)i==="values"&&typeof e.values=="object"||(sj(i)||n===!0&&vp(i)||!t&&!vp(i)||e.draggable&&i.startsWith("onDrag"))&&(r[i]=e[i]);return r}function NF(e){if(typeof Proxy>"u")return e;const t=new Map,n=(...r)=>e(...r);return new Proxy(n,{get:(r,i)=>i==="create"?e:(t.has(i)||t.set(i,e(i)),t.get(i))})}const xm=m.createContext({});function Zc(e){return typeof e=="string"||Array.isArray(e)}function Sm(e){return e!==null&&typeof e=="object"&&typeof e.start=="function"}const $y=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],zy=["initial",...$y];function wm(e){return Sm(e.animate)||zy.some(t=>Zc(e[t]))}function lj(e){return!!(wm(e)||e.variants)}function DF(e,t){if(wm(e)){const{initial:n,animate:r}=e;return{initial:n===!1||Zc(n)?n:void 0,animate:Zc(r)?r:void 0}}return e.inherit!==!1?t:{}}function OF(e){const{initial:t,animate:n}=DF(e,m.useContext(xm));return m.useMemo(()=>({initial:t,animate:n}),[IS(t),IS(n)])}function IS(e){return Array.isArray(e)?e.join(" "):e}const FF=Symbol.for("motionComponentSymbol");function ps(e){return e&&typeof e=="object"&&Object.prototype.hasOwnProperty.call(e,"current")}function BF(e,t,n){return m.useCallback(r=>{r&&e.onMount&&e.onMount(r),t&&(r?t.mount(r):t.unmount()),n&&(typeof n=="function"?n(r):ps(n)&&(n.current=r))},[t])}const Ry=e=>e.replace(/([a-z])([A-Z])/gu,"$1-$2").toLowerCase(),WF="framerAppearId",cj="data-"+Ry(WF),{schedule:Iy}=oj(queueMicrotask,!1),uj=m.createContext({});function VF(e,t,n,r,i){var o,a;const{visualElement:l}=m.useContext(xm),c=m.useContext(aj),u=m.useContext(_u),d=m.useContext(_y).reducedMotion,f=m.useRef(null);r=r||c.renderer,!f.current&&r&&(f.current=r(e,{visualState:t,parent:l,props:n,presenceContext:u,blockInitialAnimation:u?u.initial===!1:!1,reducedMotionConfig:d}));const p=f.current,h=m.useContext(uj);p&&!p.projection&&i&&(p.type==="html"||p.type==="svg")&&UF(f.current,n,i,h);const v=m.useRef(!1);m.useInsertionEffect(()=>{p&&v.current&&p.update(n,u)});const b=n[cj],x=m.useRef(!!b&&!(!((o=window.MotionHandoffIsComplete)===null||o===void 0)&&o.call(window,b))&&((a=window.MotionHasOptimisedAnimation)===null||a===void 0?void 0:a.call(window,b)));return rj(()=>{p&&(v.current=!0,window.MotionIsMounted=!0,p.updateFeatures(),Iy.render(p.render),x.current&&p.animationState&&p.animationState.animateChanges())}),m.useEffect(()=>{p&&(!x.current&&p.animationState&&p.animationState.animateChanges(),x.current&&(queueMicrotask(()=>{var y;(y=window.MotionHandoffMarkAsComplete)===null||y===void 0||y.call(window,b)}),x.current=!1))}),p}function UF(e,t,n,r){const{layoutId:i,layout:o,drag:a,dragConstraints:l,layoutScroll:c,layoutRoot:u}=t;e.projection=new n(e.latestValues,t["data-framer-portal-id"]?void 0:dj(e.parent)),e.projection.setOptions({layoutId:i,layout:o,alwaysMeasureLayout:!!a||l&&ps(l),visualElement:e,animationType:typeof o=="string"?o:"both",initialPromotionConfig:r,layoutScroll:c,layoutRoot:u})}function dj(e){if(e)return e.options.allowProjection!==!1?e.projection:dj(e.parent)}function HF({preloadedFeatures:e,createVisualElement:t,useRender:n,useVisualState:r,Component:i}){var o,a;e&&RF(e);function l(u,d){let f;const p={...m.useContext(_y),...u,layoutId:GF(u)},{isStatic:h}=p,v=OF(u),b=r(u,h);if(!h&&Ey){KF();const x=qF(p);f=x.MeasureLayout,v.visualElement=VF(i,b,p,t,x.ProjectionNode)}return s.jsxs(xm.Provider,{value:v,children:[f&&v.visualElement?s.jsx(f,{visualElement:v.visualElement,...p}):null,n(i,u,BF(b,v.visualElement,d),b,h,v.visualElement)]})}l.displayName=`motion.${typeof i=="string"?i:`create(${(a=(o=i.displayName)!==null&&o!==void 0?o:i.name)!==null&&a!==void 0?a:""})`}`;const c=m.forwardRef(l);return c[FF]=i,c}function GF({layoutId:e}){const t=m.useContext(jy).id;return t&&e!==void 0?t+"-"+e:e}function KF(e,t){m.useContext(aj).strict}function qF(e){const{drag:t,layout:n}=Zs;if(!t&&!n)return{};const r={...t,...n};return{MeasureLayout:t!=null&&t.isEnabled(e)||n!=null&&n.isEnabled(e)?r.MeasureLayout:void 0,ProjectionNode:r.ProjectionNode}}const XF=["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 My(e){return typeof e!="string"||e.includes("-")?!1:!!(XF.indexOf(e)>-1||/[A-Z]/u.test(e))}function MS(e){const t=[{},{}];return e==null||e.values.forEach((n,r)=>{t[0][r]=n.get(),t[1][r]=n.getVelocity()}),t}function Ly(e,t,n,r){if(typeof t=="function"){const[i,o]=MS(r);t=t(n!==void 0?n:e.custom,i,o)}if(typeof t=="string"&&(t=e.variants&&e.variants[t]),typeof t=="function"){const[i,o]=MS(r);t=t(n!==void 0?n:e.custom,i,o)}return t}const Zg=e=>Array.isArray(e),YF=e=>!!(e&&typeof e=="object"&&e.mix&&e.toValue),QF=e=>Zg(e)?e[e.length-1]||0:e,un=e=>!!(e&&e.getVelocity);function wf(e){const t=un(e)?e.get():e;return YF(t)?t.toValue():t}function ZF({scrapeMotionValuesFromProps:e,createRenderState:t,onUpdate:n},r,i,o){const a={latestValues:JF(r,i,o,e),renderState:t()};return n&&(a.onMount=l=>n({props:r,current:l,...a}),a.onUpdate=l=>n(l)),a}const fj=e=>(t,n)=>{const r=m.useContext(xm),i=m.useContext(_u),o=()=>ZF(e,t,r,i);return n?o():Py(o)};function JF(e,t,n,r){const i={},o=r(e,{});for(const p in o)i[p]=wf(o[p]);let{initial:a,animate:l}=e;const c=wm(e),u=lj(e);t&&u&&!c&&e.inherit!==!1&&(a===void 0&&(a=t.initial),l===void 0&&(l=t.animate));let d=n?n.initial===!1:!1;d=d||a===!1;const f=d?l:a;if(f&&typeof f!="boolean"&&!Sm(f)){const p=Array.isArray(f)?f:[f];for(let h=0;h<p.length;h++){const v=Ly(e,p[h]);if(v){const{transitionEnd:b,transition:x,...y}=v;for(const g in y){let S=y[g];if(Array.isArray(S)){const w=d?S.length-1:0;S=S[w]}S!==null&&(i[g]=S)}for(const g in b)i[g]=b[g]}}}return i}const pl=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],za=new Set(pl),pj=e=>t=>typeof t=="string"&&t.startsWith(e),mj=pj("--"),eB=pj("var(--"),Ny=e=>eB(e)?tB.test(e.split("/*")[0].trim()):!1,tB=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu,hj=(e,t)=>t&&typeof e=="number"?t.transform(e):e,Pi=(e,t,n)=>n>t?t:n<e?e:n,ml={test:e=>typeof e=="number",parse:parseFloat,transform:e=>e},Jc={...ml,transform:e=>Pi(0,1,e)},$d={...ml,default:1},Tu=e=>({test:t=>typeof t=="string"&&t.endsWith(e)&&t.split(" ").length===1,parse:parseFloat,transform:t=>`${t}${e}`}),Fi=Tu("deg"),Xr=Tu("%"),be=Tu("px"),nB=Tu("vh"),rB=Tu("vw"),LS={...Xr,parse:e=>Xr.parse(e)/100,transform:e=>Xr.transform(e*100)},iB={borderWidth:be,borderTopWidth:be,borderRightWidth:be,borderBottomWidth:be,borderLeftWidth:be,borderRadius:be,radius:be,borderTopLeftRadius:be,borderTopRightRadius:be,borderBottomRightRadius:be,borderBottomLeftRadius:be,width:be,maxWidth:be,height:be,maxHeight:be,top:be,right:be,bottom:be,left:be,padding:be,paddingTop:be,paddingRight:be,paddingBottom:be,paddingLeft:be,margin:be,marginTop:be,marginRight:be,marginBottom:be,marginLeft:be,backgroundPositionX:be,backgroundPositionY:be},oB={rotate:Fi,rotateX:Fi,rotateY:Fi,rotateZ:Fi,scale:$d,scaleX:$d,scaleY:$d,scaleZ:$d,skew:Fi,skewX:Fi,skewY:Fi,distance:be,translateX:be,translateY:be,translateZ:be,x:be,y:be,z:be,perspective:be,transformPerspective:be,opacity:Jc,originX:LS,originY:LS,originZ:be},NS={...ml,transform:Math.round},Dy={...iB,...oB,zIndex:NS,size:be,fillOpacity:Jc,strokeOpacity:Jc,numOctaves:NS},aB={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},sB=pl.length;function lB(e,t,n){let r="",i=!0;for(let o=0;o<sB;o++){const a=pl[o],l=e[a];if(l===void 0)continue;let c=!0;if(typeof l=="number"?c=l===(a.startsWith("scale")?1:0):c=parseFloat(l)===0,!c||n){const u=hj(l,Dy[a]);if(!c){i=!1;const d=aB[a]||a;r+=`${d}(${u}) `}n&&(t[a]=u)}}return r=r.trim(),n?r=n(t,i?"":r):i&&(r="none"),r}function Oy(e,t,n){const{style:r,vars:i,transformOrigin:o}=e;let a=!1,l=!1;for(const c in t){const u=t[c];if(za.has(c)){a=!0;continue}else if(mj(c)){i[c]=u;continue}else{const d=hj(u,Dy[c]);c.startsWith("origin")?(l=!0,o[c]=d):r[c]=d}}if(t.transform||(a||n?r.transform=lB(t,e.transform,n):r.transform&&(r.transform="none")),l){const{originX:c="50%",originY:u="50%",originZ:d=0}=o;r.transformOrigin=`${c} ${u} ${d}`}}const cB={offset:"stroke-dashoffset",array:"stroke-dasharray"},uB={offset:"strokeDashoffset",array:"strokeDasharray"};function dB(e,t,n=1,r=0,i=!0){e.pathLength=1;const o=i?cB:uB;e[o.offset]=be.transform(-r);const a=be.transform(t),l=be.transform(n);e[o.array]=`${a} ${l}`}function DS(e,t,n){return typeof e=="string"?e:be.transform(t+n*e)}function fB(e,t,n){const r=DS(t,e.x,e.width),i=DS(n,e.y,e.height);return`${r} ${i}`}function Fy(e,{attrX:t,attrY:n,attrScale:r,originX:i,originY:o,pathLength:a,pathSpacing:l=1,pathOffset:c=0,...u},d,f){if(Oy(e,u,f),d){e.style.viewBox&&(e.attrs.viewBox=e.style.viewBox);return}e.attrs=e.style,e.style={};const{attrs:p,style:h,dimensions:v}=e;p.transform&&(v&&(h.transform=p.transform),delete p.transform),v&&(i!==void 0||o!==void 0||h.transform)&&(h.transformOrigin=fB(v,i!==void 0?i:.5,o!==void 0?o:.5)),t!==void 0&&(p.x=t),n!==void 0&&(p.y=n),r!==void 0&&(p.scale=r),a!==void 0&&dB(p,a,l,c,!1)}const By=()=>({style:{},transform:{},transformOrigin:{},vars:{}}),gj=()=>({...By(),attrs:{}}),Wy=e=>typeof e=="string"&&e.toLowerCase()==="svg";function vj(e,{style:t,vars:n},r,i){Object.assign(e.style,t,i&&i.getProjectionStyles(r));for(const o in n)e.style.setProperty(o,n[o])}const yj=new Set(["baseFrequency","diffuseConstant","kernelMatrix","kernelUnitLength","keySplines","keyTimes","limitingConeAngle","markerHeight","markerWidth","numOctaves","targetX","targetY","surfaceScale","specularConstant","specularExponent","stdDeviation","tableValues","viewBox","gradientTransform","pathLength","startOffset","textLength","lengthAdjust"]);function bj(e,t,n,r){vj(e,t,void 0,r);for(const i in t.attrs)e.setAttribute(yj.has(i)?i:Ry(i),t.attrs[i])}const yp={};function pB(e){Object.assign(yp,e)}function xj(e,{layout:t,layoutId:n}){return za.has(e)||e.startsWith("origin")||(t||n!==void 0)&&(!!yp[e]||e==="opacity")}function Vy(e,t,n){var r;const{style:i}=e,o={};for(const a in i)(un(i[a])||t.style&&un(t.style[a])||xj(a,e)||((r=n==null?void 0:n.getValue(a))===null||r===void 0?void 0:r.liveStyle)!==void 0)&&(o[a]=i[a]);return o}function Sj(e,t,n){const r=Vy(e,t,n);for(const i in e)if(un(e[i])||un(t[i])){const o=pl.indexOf(i)!==-1?"attr"+i.charAt(0).toUpperCase()+i.substring(1):i;r[o]=e[i]}return r}function mB(e,t){try{t.dimensions=typeof e.getBBox=="function"?e.getBBox():e.getBoundingClientRect()}catch{t.dimensions={x:0,y:0,width:0,height:0}}}const OS=["x","y","width","height","cx","cy","r"],hB={useVisualState:fj({scrapeMotionValuesFromProps:Sj,createRenderState:gj,onUpdate:({props:e,prevProps:t,current:n,renderState:r,latestValues:i})=>{if(!n)return;let o=!!e.drag;if(!o){for(const l in i)if(za.has(l)){o=!0;break}}if(!o)return;let a=!t;if(t)for(let l=0;l<OS.length;l++){const c=OS[l];e[c]!==t[c]&&(a=!0)}a&&it.read(()=>{mB(n,r),it.render(()=>{Fy(r,i,Wy(n.tagName),e.transformTemplate),bj(n,r)})})}})},gB={useVisualState:fj({scrapeMotionValuesFromProps:Vy,createRenderState:By})};function wj(e,t,n){for(const r in t)!un(t[r])&&!xj(r,n)&&(e[r]=t[r])}function vB({transformTemplate:e},t){return m.useMemo(()=>{const n=By();return Oy(n,t,e),Object.assign({},n.vars,n.style)},[t])}function yB(e,t){const n=e.style||{},r={};return wj(r,n,e),Object.assign(r,vB(e,t)),r}function bB(e,t){const n={},r=yB(e,t);return e.drag&&e.dragListener!==!1&&(n.draggable=!1,r.userSelect=r.WebkitUserSelect=r.WebkitTouchCallout="none",r.touchAction=e.drag===!0?"none":`pan-${e.drag==="x"?"y":"x"}`),e.tabIndex===void 0&&(e.onTap||e.onTapStart||e.whileTap)&&(n.tabIndex=0),n.style=r,n}function xB(e,t,n,r){const i=m.useMemo(()=>{const o=gj();return Fy(o,t,Wy(r),e.transformTemplate),{...o.attrs,style:{...o.style}}},[t]);if(e.style){const o={};wj(o,e.style,e),i.style={...o,...i.style}}return i}function SB(e=!1){return(n,r,i,{latestValues:o},a)=>{const c=(My(n)?xB:bB)(r,o,a,n),u=LF(r,typeof n=="string",e),d=n!==m.Fragment?{...u,...c,ref:i}:{},{children:f}=r,p=m.useMemo(()=>un(f)?f.get():f,[f]);return m.createElement(n,{...d,children:p})}}function wB(e,t){return function(r,{forwardMotionProps:i}={forwardMotionProps:!1}){const a={...My(r)?hB:gB,preloadedFeatures:e,useRender:SB(i),createVisualElement:t,Component:r};return HF(a)}}function kj(e,t){if(!Array.isArray(t))return!1;const n=t.length;if(n!==e.length)return!1;for(let r=0;r<n;r++)if(t[r]!==e[r])return!1;return!0}function km(e,t,n){const r=e.getProps();return Ly(r,t,n!==void 0?n:r.custom,e)}const kB=Ay(()=>window.ScrollTimeline!==void 0);class CB{constructor(t){this.stop=()=>this.runAll("stop"),this.animations=t.filter(Boolean)}get finished(){return Promise.all(this.animations.map(t=>"finished"in t?t.finished:t))}getAll(t){return this.animations[0][t]}setAll(t,n){for(let r=0;r<this.animations.length;r++)this.animations[r][t]=n}attachTimeline(t,n){const r=this.animations.map(i=>{if(kB()&&i.attachTimeline)return i.attachTimeline(t);if(typeof n=="function")return n(i)});return()=>{r.forEach((i,o)=>{i&&i(),this.animations[o].stop()})}}get time(){return this.getAll("time")}set time(t){this.setAll("time",t)}get speed(){return this.getAll("speed")}set speed(t){this.setAll("speed",t)}get startTime(){return this.getAll("startTime")}get duration(){let t=0;for(let n=0;n<this.animations.length;n++)t=Math.max(t,this.animations[n].duration);return t}runAll(t){this.animations.forEach(n=>n[t]())}flatten(){this.runAll("flatten")}play(){this.runAll("play")}pause(){this.runAll("pause")}cancel(){this.runAll("cancel")}complete(){this.runAll("complete")}}class jB extends CB{then(t,n){return Promise.all(this.animations).then(t).catch(n)}}function Uy(e,t){return e?e[t]||e.default||e:void 0}const Jg=2e4;function Cj(e){let t=0;const n=50;let r=e.next(t);for(;!r.done&&t<Jg;)t+=n,r=e.next(t);return t>=Jg?1/0:t}function Hy(e){return typeof e=="function"}function FS(e,t){e.timeline=t,e.onfinish=null}const Gy=e=>Array.isArray(e)&&typeof e[0]=="number",PB={linearEasing:void 0};function _B(e,t){const n=Ay(e);return()=>{var r;return(r=PB[t])!==null&&r!==void 0?r:n()}}const bp=_B(()=>{try{document.createElement("div").animate({opacity:0},{easing:"linear(0, 1)"})}catch{return!1}return!0},"linearEasing"),jj=(e,t,n=10)=>{let r="";const i=Math.max(Math.round(t/n),2);for(let o=0;o<i;o++)r+=e(Qs(0,i-1,o))+", ";return`linear(${r.substring(0,r.length-2)})`};function Pj(e){return!!(typeof e=="function"&&bp()||!e||typeof e=="string"&&(e in ev||bp())||Gy(e)||Array.isArray(e)&&e.every(Pj))}const Ql=([e,t,n,r])=>`cubic-bezier(${e}, ${t}, ${n}, ${r})`,ev={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:Ql([0,.65,.55,1]),circOut:Ql([.55,0,1,.45]),backIn:Ql([.31,.01,.66,-.59]),backOut:Ql([.33,1.53,.69,.99])};function _j(e,t){if(e)return typeof e=="function"&&bp()?jj(e,t):Gy(e)?Ql(e):Array.isArray(e)?e.map(n=>_j(n,t)||ev.easeOut):ev[e]}const br={x:!1,y:!1};function Tj(){return br.x||br.y}function TB(e,t,n){var r;if(e instanceof Element)return[e];if(typeof e=="string"){let i=document;const o=(r=void 0)!==null&&r!==void 0?r:i.querySelectorAll(e);return o?Array.from(o):[]}return Array.from(e)}function Ej(e,t){const n=TB(e),r=new AbortController,i={passive:!0,...t,signal:r.signal};return[n,i,()=>r.abort()]}function BS(e){return t=>{t.pointerType==="touch"||Tj()||e(t)}}function EB(e,t,n={}){const[r,i,o]=Ej(e,n),a=BS(l=>{const{target:c}=l,u=t(l);if(typeof u!="function"||!c)return;const d=BS(f=>{u(f),c.removeEventListener("pointerleave",d)});c.addEventListener("pointerleave",d,i)});return r.forEach(l=>{l.addEventListener("pointerenter",a,i)}),o}const Aj=(e,t)=>t?e===t?!0:Aj(e,t.parentElement):!1,Ky=e=>e.pointerType==="mouse"?typeof e.button!="number"||e.button<=0:e.isPrimary!==!1,AB=new Set(["BUTTON","INPUT","SELECT","TEXTAREA","A"]);function $B(e){return AB.has(e.tagName)||e.tabIndex!==-1}const Zl=new WeakSet;function WS(e){return t=>{t.key==="Enter"&&e(t)}}function t0(e,t){e.dispatchEvent(new PointerEvent("pointer"+t,{isPrimary:!0,bubbles:!0}))}const zB=(e,t)=>{const n=e.currentTarget;if(!n)return;const r=WS(()=>{if(Zl.has(n))return;t0(n,"down");const i=WS(()=>{t0(n,"up")}),o=()=>t0(n,"cancel");n.addEventListener("keyup",i,t),n.addEventListener("blur",o,t)});n.addEventListener("keydown",r,t),n.addEventListener("blur",()=>n.removeEventListener("keydown",r),t)};function VS(e){return Ky(e)&&!Tj()}function RB(e,t,n={}){const[r,i,o]=Ej(e,n),a=l=>{const c=l.currentTarget;if(!VS(l)||Zl.has(c))return;Zl.add(c);const u=t(l),d=(h,v)=>{window.removeEventListener("pointerup",f),window.removeEventListener("pointercancel",p),!(!VS(h)||!Zl.has(c))&&(Zl.delete(c),typeof u=="function"&&u(h,{success:v}))},f=h=>{d(h,n.useGlobalTarget||Aj(c,h.target))},p=h=>{d(h,!1)};window.addEventListener("pointerup",f,i),window.addEventListener("pointercancel",p,i)};return r.forEach(l=>{!$B(l)&&l.getAttribute("tabindex")===null&&(l.tabIndex=0),(n.useGlobalTarget?window:l).addEventListener("pointerdown",a,i),l.addEventListener("focus",u=>zB(u,i),i)}),o}function IB(e){return e==="x"||e==="y"?br[e]?null:(br[e]=!0,()=>{br[e]=!1}):br.x||br.y?null:(br.x=br.y=!0,()=>{br.x=br.y=!1})}const $j=new Set(["width","height","top","left","right","bottom",...pl]);let kf;function MB(){kf=void 0}const Yr={now:()=>(kf===void 0&&Yr.set(qt.isProcessing||AF.useManualTiming?qt.timestamp:performance.now()),kf),set:e=>{kf=e,queueMicrotask(MB)}};function qy(e,t){e.indexOf(t)===-1&&e.push(t)}function Xy(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}class Yy{constructor(){this.subscriptions=[]}add(t){return qy(this.subscriptions,t),()=>Xy(this.subscriptions,t)}notify(t,n,r){const i=this.subscriptions.length;if(i)if(i===1)this.subscriptions[0](t,n,r);else for(let o=0;o<i;o++){const a=this.subscriptions[o];a&&a(t,n,r)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}function zj(e,t){return t?e*(1e3/t):0}const US=30,LB=e=>!isNaN(parseFloat(e));class NB{constructor(t,n={}){this.version="11.18.2",this.canTrackVelocity=null,this.events={},this.updateAndNotify=(r,i=!0)=>{const o=Yr.now();this.updatedAt!==o&&this.setPrevFrameValue(),this.prev=this.current,this.setCurrent(r),this.current!==this.prev&&this.events.change&&this.events.change.notify(this.current),i&&this.events.renderRequest&&this.events.renderRequest.notify(this.current)},this.hasAnimated=!1,this.setCurrent(t),this.owner=n.owner}setCurrent(t){this.current=t,this.updatedAt=Yr.now(),this.canTrackVelocity===null&&t!==void 0&&(this.canTrackVelocity=LB(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 Yy);const r=this.events[t].add(n);return t==="change"?()=>{r(),it.read(()=>{this.events.change.getSize()||this.stop()})}:r}clearListeners(){for(const t in this.events)this.events[t].clear()}attach(t,n){this.passiveEffect=t,this.stopPassiveEffect=n}set(t,n=!0){!n||!this.passiveEffect?this.updateAndNotify(t,n):this.passiveEffect(t,this.updateAndNotify)}setWithVelocity(t,n,r){this.set(n),this.prev=void 0,this.prevFrameValue=t,this.prevUpdatedAt=this.updatedAt-r}jump(t,n=!0){this.updateAndNotify(t),this.prev=t,this.prevUpdatedAt=this.prevFrameValue=void 0,n&&this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}get(){return this.current}getPrevious(){return this.prev}getVelocity(){const t=Yr.now();if(!this.canTrackVelocity||this.prevFrameValue===void 0||t-this.updatedAt>US)return 0;const n=Math.min(this.updatedAt-this.prevUpdatedAt,US);return zj(parseFloat(this.current)-parseFloat(this.prevFrameValue),n)}start(t){return this.stop(),new Promise(n=>{this.hasAnimated=!0,this.animation=t(n),this.events.animationStart&&this.events.animationStart.notify()}).then(()=>{this.events.animationComplete&&this.events.animationComplete.notify(),this.clearAnimation()})}stop(){this.animation&&(this.animation.stop(),this.events.animationCancel&&this.events.animationCancel.notify()),this.clearAnimation()}isAnimating(){return!!this.animation}clearAnimation(){delete this.animation}destroy(){this.clearListeners(),this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}}function eu(e,t){return new NB(e,t)}function DB(e,t,n){e.hasValue(t)?e.getValue(t).set(n):e.addValue(t,eu(n))}function OB(e,t){const n=km(e,t);let{transitionEnd:r={},transition:i={},...o}=n||{};o={...o,...r};for(const a in o){const l=QF(o[a]);DB(e,a,l)}}function FB(e){return!!(un(e)&&e.add)}function tv(e,t){const n=e.getValue("willChange");if(FB(n))return n.add(t)}function Rj(e){return e.props[cj]}const Ij=(e,t,n)=>(((1-3*n+3*t)*e+(3*n-6*t))*e+3*t)*e,BB=1e-7,WB=12;function VB(e,t,n,r,i){let o,a,l=0;do a=t+(n-t)/2,o=Ij(a,r,i)-e,o>0?n=a:t=a;while(Math.abs(o)>BB&&++l<WB);return a}function Eu(e,t,n,r){if(e===t&&n===r)return Wn;const i=o=>VB(o,0,1,e,n);return o=>o===0||o===1?o:Ij(i(o),t,r)}const Mj=e=>t=>t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2,Lj=e=>t=>1-e(1-t),Nj=Eu(.33,1.53,.69,.99),Qy=Lj(Nj),Dj=Mj(Qy),Oj=e=>(e*=2)<1?.5*Qy(e):.5*(2-Math.pow(2,-10*(e-1))),Zy=e=>1-Math.sin(Math.acos(e)),Fj=Lj(Zy),Bj=Mj(Zy),Wj=e=>/^0[^.\s]+$/u.test(e);function UB(e){return typeof e=="number"?e===0:e!==null?e==="none"||e==="0"||Wj(e):!0}const bc=e=>Math.round(e*1e5)/1e5,Jy=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu;function HB(e){return e==null}const GB=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu,eb=(e,t)=>n=>!!(typeof n=="string"&&GB.test(n)&&n.startsWith(e)||t&&!HB(n)&&Object.prototype.hasOwnProperty.call(n,t)),Vj=(e,t,n)=>r=>{if(typeof r!="string")return r;const[i,o,a,l]=r.match(Jy);return{[e]:parseFloat(i),[t]:parseFloat(o),[n]:parseFloat(a),alpha:l!==void 0?parseFloat(l):1}},KB=e=>Pi(0,255,e),n0={...ml,transform:e=>Math.round(KB(e))},ea={test:eb("rgb","red"),parse:Vj("red","green","blue"),transform:({red:e,green:t,blue:n,alpha:r=1})=>"rgba("+n0.transform(e)+", "+n0.transform(t)+", "+n0.transform(n)+", "+bc(Jc.transform(r))+")"};function qB(e){let t="",n="",r="",i="";return e.length>5?(t=e.substring(1,3),n=e.substring(3,5),r=e.substring(5,7),i=e.substring(7,9)):(t=e.substring(1,2),n=e.substring(2,3),r=e.substring(3,4),i=e.substring(4,5),t+=t,n+=n,r+=r,i+=i),{red:parseInt(t,16),green:parseInt(n,16),blue:parseInt(r,16),alpha:i?parseInt(i,16)/255:1}}const nv={test:eb("#"),parse:qB,transform:ea.transform},ms={test:eb("hsl","hue"),parse:Vj("hue","saturation","lightness"),transform:({hue:e,saturation:t,lightness:n,alpha:r=1})=>"hsla("+Math.round(e)+", "+Xr.transform(bc(t))+", "+Xr.transform(bc(n))+", "+bc(Jc.transform(r))+")"},an={test:e=>ea.test(e)||nv.test(e)||ms.test(e),parse:e=>ea.test(e)?ea.parse(e):ms.test(e)?ms.parse(e):nv.parse(e),transform:e=>typeof e=="string"?e:e.hasOwnProperty("red")?ea.transform(e):ms.transform(e)},XB=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu;function YB(e){var t,n;return isNaN(e)&&typeof e=="string"&&(((t=e.match(Jy))===null||t===void 0?void 0:t.length)||0)+(((n=e.match(XB))===null||n===void 0?void 0:n.length)||0)>0}const Uj="number",Hj="color",QB="var",ZB="var(",HS="${}",JB=/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 tu(e){const t=e.toString(),n=[],r={color:[],number:[],var:[]},i=[];let o=0;const l=t.replace(JB,c=>(an.test(c)?(r.color.push(o),i.push(Hj),n.push(an.parse(c))):c.startsWith(ZB)?(r.var.push(o),i.push(QB),n.push(c)):(r.number.push(o),i.push(Uj),n.push(parseFloat(c))),++o,HS)).split(HS);return{values:n,split:l,indexes:r,types:i}}function Gj(e){return tu(e).values}function Kj(e){const{split:t,types:n}=tu(e),r=t.length;return i=>{let o="";for(let a=0;a<r;a++)if(o+=t[a],i[a]!==void 0){const l=n[a];l===Uj?o+=bc(i[a]):l===Hj?o+=an.transform(i[a]):o+=i[a]}return o}}const eW=e=>typeof e=="number"?0:e;function tW(e){const t=Gj(e);return Kj(e)(t.map(eW))}const vo={test:YB,parse:Gj,createTransformer:Kj,getAnimatableNone:tW},nW=new Set(["brightness","contrast","saturate","opacity"]);function rW(e){const[t,n]=e.slice(0,-1).split("(");if(t==="drop-shadow")return e;const[r]=n.match(Jy)||[];if(!r)return e;const i=n.replace(r,"");let o=nW.has(t)?1:0;return r!==n&&(o*=100),t+"("+o+i+")"}const iW=/\b([a-z-]*)\(.*?\)/gu,rv={...vo,getAnimatableNone:e=>{const t=e.match(iW);return t?t.map(rW).join(" "):e}},oW={...Dy,color:an,backgroundColor:an,outlineColor:an,fill:an,stroke:an,borderColor:an,borderTopColor:an,borderRightColor:an,borderBottomColor:an,borderLeftColor:an,filter:rv,WebkitFilter:rv},tb=e=>oW[e];function qj(e,t){let n=tb(e);return n!==rv&&(n=vo),n.getAnimatableNone?n.getAnimatableNone(t):void 0}const aW=new Set(["auto","none","0"]);function sW(e,t,n){let r=0,i;for(;r<e.length&&!i;){const o=e[r];typeof o=="string"&&!aW.has(o)&&tu(o).values.length&&(i=e[r]),r++}if(i&&n)for(const o of t)e[o]=qj(n,i)}const GS=e=>e===ml||e===be,KS=(e,t)=>parseFloat(e.split(", ")[t]),qS=(e,t)=>(n,{transform:r})=>{if(r==="none"||!r)return 0;const i=r.match(/^matrix3d\((.+)\)$/u);if(i)return KS(i[1],t);{const o=r.match(/^matrix\((.+)\)$/u);return o?KS(o[1],e):0}},lW=new Set(["x","y","z"]),cW=pl.filter(e=>!lW.has(e));function uW(e){const t=[];return cW.forEach(n=>{const r=e.getValue(n);r!==void 0&&(t.push([n,r.get()]),r.set(n.startsWith("scale")?1:0))}),t}const Js={width:({x:e},{paddingLeft:t="0",paddingRight:n="0"})=>e.max-e.min-parseFloat(t)-parseFloat(n),height:({y:e},{paddingTop:t="0",paddingBottom:n="0"})=>e.max-e.min-parseFloat(t)-parseFloat(n),top:(e,{top:t})=>parseFloat(t),left:(e,{left:t})=>parseFloat(t),bottom:({y:e},{top:t})=>parseFloat(t)+(e.max-e.min),right:({x:e},{left:t})=>parseFloat(t)+(e.max-e.min),x:qS(4,13),y:qS(5,14)};Js.translateX=Js.x;Js.translateY=Js.y;const ca=new Set;let iv=!1,ov=!1;function Xj(){if(ov){const e=Array.from(ca).filter(r=>r.needsMeasurement),t=new Set(e.map(r=>r.element)),n=new Map;t.forEach(r=>{const i=uW(r);i.length&&(n.set(r,i),r.render())}),e.forEach(r=>r.measureInitialState()),t.forEach(r=>{r.render();const i=n.get(r);i&&i.forEach(([o,a])=>{var l;(l=r.getValue(o))===null||l===void 0||l.set(a)})}),e.forEach(r=>r.measureEndState()),e.forEach(r=>{r.suspendedScrollY!==void 0&&window.scrollTo(0,r.suspendedScrollY)})}ov=!1,iv=!1,ca.forEach(e=>e.complete()),ca.clear()}function Yj(){ca.forEach(e=>{e.readKeyframes(),e.needsMeasurement&&(ov=!0)})}function dW(){Yj(),Xj()}class nb{constructor(t,n,r,i,o,a=!1){this.isComplete=!1,this.isAsync=!1,this.needsMeasurement=!1,this.isScheduled=!1,this.unresolvedKeyframes=[...t],this.onComplete=n,this.name=r,this.motionValue=i,this.element=o,this.isAsync=a}scheduleResolve(){this.isScheduled=!0,this.isAsync?(ca.add(this),iv||(iv=!0,it.read(Yj),it.resolveKeyframes(Xj))):(this.readKeyframes(),this.complete())}readKeyframes(){const{unresolvedKeyframes:t,name:n,element:r,motionValue:i}=this;for(let o=0;o<t.length;o++)if(t[o]===null)if(o===0){const a=i==null?void 0:i.get(),l=t[t.length-1];if(a!==void 0)t[0]=a;else if(r&&n){const c=r.readValue(n,l);c!=null&&(t[0]=c)}t[0]===void 0&&(t[0]=l),i&&a===void 0&&i.set(t[0])}else t[o]=t[o-1]}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(){this.isComplete=!0,this.onComplete(this.unresolvedKeyframes,this.finalKeyframe),ca.delete(this)}cancel(){this.isComplete||(this.isScheduled=!1,ca.delete(this))}resume(){this.isComplete||this.scheduleResolve()}}const Qj=e=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(e),fW=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;function pW(e){const t=fW.exec(e);if(!t)return[,];const[,n,r,i]=t;return[`--${n??r}`,i]}function Zj(e,t,n=1){const[r,i]=pW(e);if(!r)return;const o=window.getComputedStyle(t).getPropertyValue(r);if(o){const a=o.trim();return Qj(a)?parseFloat(a):a}return Ny(i)?Zj(i,t,n+1):i}const Jj=e=>t=>t.test(e),mW={test:e=>e==="auto",parse:e=>e},eP=[ml,be,Xr,Fi,rB,nB,mW],XS=e=>eP.find(Jj(e));class tP extends nb{constructor(t,n,r,i,o){super(t,n,r,i,o,!0)}readKeyframes(){const{unresolvedKeyframes:t,element:n,name:r}=this;if(!n||!n.current)return;super.readKeyframes();for(let c=0;c<t.length;c++){let u=t[c];if(typeof u=="string"&&(u=u.trim(),Ny(u))){const d=Zj(u,n.current);d!==void 0&&(t[c]=d),c===t.length-1&&(this.finalKeyframe=u)}}if(this.resolveNoneKeyframes(),!$j.has(r)||t.length!==2)return;const[i,o]=t,a=XS(i),l=XS(o);if(a!==l)if(GS(a)&&GS(l))for(let c=0;c<t.length;c++){const u=t[c];typeof u=="string"&&(t[c]=parseFloat(u))}else this.needsMeasurement=!0}resolveNoneKeyframes(){const{unresolvedKeyframes:t,name:n}=this,r=[];for(let i=0;i<t.length;i++)UB(t[i])&&r.push(i);r.length&&sW(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=Js[r](t.measureViewportBox(),window.getComputedStyle(t.current)),n[0]=this.measuredOrigin;const i=n[n.length-1];i!==void 0&&t.getValue(r,i).jump(i,!1)}measureEndState(){var t;const{element:n,name:r,unresolvedKeyframes:i}=this;if(!n||!n.current)return;const o=n.getValue(r);o&&o.jump(this.measuredOrigin,!1);const a=i.length-1,l=i[a];i[a]=Js[r](n.measureViewportBox(),window.getComputedStyle(n.current)),l!==null&&this.finalKeyframe===void 0&&(this.finalKeyframe=l),!((t=this.removedTransforms)===null||t===void 0)&&t.length&&this.removedTransforms.forEach(([c,u])=>{n.getValue(c).set(u)}),this.resolveNoneKeyframes()}}const YS=(e,t)=>t==="zIndex"?!1:!!(typeof e=="number"||Array.isArray(e)||typeof e=="string"&&(vo.test(e)||e==="0")&&!e.startsWith("url("));function hW(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 gW(e,t,n,r){const i=e[0];if(i===null)return!1;if(t==="display"||t==="visibility")return!0;const o=e[e.length-1],a=YS(i,t),l=YS(o,t);return!a||!l?!1:hW(e)||(n==="spring"||Hy(n))&&r}const vW=e=>e!==null;function Cm(e,{repeat:t,repeatType:n="loop"},r){const i=e.filter(vW),o=t&&n!=="loop"&&t%2===1?0:i.length-1;return!o||r===void 0?i[o]:r}const yW=40;class nP{constructor({autoplay:t=!0,delay:n=0,type:r="keyframes",repeat:i=0,repeatDelay:o=0,repeatType:a="loop",...l}){this.isStopped=!1,this.hasAttemptedResolve=!1,this.createdAt=Yr.now(),this.options={autoplay:t,delay:n,type:r,repeat:i,repeatDelay:o,repeatType:a,...l},this.updateFinishedPromise()}calcStartTime(){return this.resolvedAt?this.resolvedAt-this.createdAt>yW?this.resolvedAt:this.createdAt:this.createdAt}get resolved(){return!this._resolved&&!this.hasAttemptedResolve&&dW(),this._resolved}onKeyframesResolved(t,n){this.resolvedAt=Yr.now(),this.hasAttemptedResolve=!0;const{name:r,type:i,velocity:o,delay:a,onComplete:l,onUpdate:c,isGenerator:u}=this.options;if(!u&&!gW(t,r,i,o))if(a)this.options.duration=0;else{c&&c(Cm(t,this.options,n)),l&&l(),this.resolveFinishedPromise();return}const d=this.initPlayback(t,n);d!==!1&&(this._resolved={keyframes:t,finalKeyframe:n,...d},this.onPostResolved())}onPostResolved(){}then(t,n){return this.currentFinishedPromise.then(t,n)}flatten(){this.options.type="keyframes",this.options.ease="linear"}updateFinishedPromise(){this.currentFinishedPromise=new Promise(t=>{this.resolveFinishedPromise=t})}}const ft=(e,t,n)=>e+(t-e)*n;function r0(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 bW({hue:e,saturation:t,lightness:n,alpha:r}){e/=360,t/=100,n/=100;let i=0,o=0,a=0;if(!t)i=o=a=n;else{const l=n<.5?n*(1+t):n+t-n*t,c=2*n-l;i=r0(c,l,e+1/3),o=r0(c,l,e),a=r0(c,l,e-1/3)}return{red:Math.round(i*255),green:Math.round(o*255),blue:Math.round(a*255),alpha:r}}function xp(e,t){return n=>n>0?t:e}const i0=(e,t,n)=>{const r=e*e,i=n*(t*t-r)+r;return i<0?0:Math.sqrt(i)},xW=[nv,ea,ms],SW=e=>xW.find(t=>t.test(e));function QS(e){const t=SW(e);if(!t)return!1;let n=t.parse(e);return t===ms&&(n=bW(n)),n}const ZS=(e,t)=>{const n=QS(e),r=QS(t);if(!n||!r)return xp(e,t);const i={...n};return o=>(i.red=i0(n.red,r.red,o),i.green=i0(n.green,r.green,o),i.blue=i0(n.blue,r.blue,o),i.alpha=ft(n.alpha,r.alpha,o),ea.transform(i))},wW=(e,t)=>n=>t(e(n)),Au=(...e)=>e.reduce(wW),av=new Set(["none","hidden"]);function kW(e,t){return av.has(e)?n=>n<=0?e:t:n=>n>=1?t:e}function CW(e,t){return n=>ft(e,t,n)}function rb(e){return typeof e=="number"?CW:typeof e=="string"?Ny(e)?xp:an.test(e)?ZS:_W:Array.isArray(e)?rP:typeof e=="object"?an.test(e)?ZS:jW:xp}function rP(e,t){const n=[...e],r=n.length,i=e.map((o,a)=>rb(o)(o,t[a]));return o=>{for(let a=0;a<r;a++)n[a]=i[a](o);return n}}function jW(e,t){const n={...e,...t},r={};for(const i in n)e[i]!==void 0&&t[i]!==void 0&&(r[i]=rb(e[i])(e[i],t[i]));return i=>{for(const o in r)n[o]=r[o](i);return n}}function PW(e,t){var n;const r=[],i={color:0,var:0,number:0};for(let o=0;o<t.values.length;o++){const a=t.types[o],l=e.indexes[a][i[a]],c=(n=e.values[l])!==null&&n!==void 0?n:0;r[o]=c,i[a]++}return r}const _W=(e,t)=>{const n=vo.createTransformer(t),r=tu(e),i=tu(t);return r.indexes.var.length===i.indexes.var.length&&r.indexes.color.length===i.indexes.color.length&&r.indexes.number.length>=i.indexes.number.length?av.has(e)&&!i.values.length||av.has(t)&&!r.values.length?kW(e,t):Au(rP(PW(r,i),i.values),n):xp(e,t)};function iP(e,t,n){return typeof e=="number"&&typeof t=="number"&&typeof n=="number"?ft(e,t,n):rb(e)(e,t)}const TW=5;function oP(e,t,n){const r=Math.max(t-TW,0);return zj(n-e(r),t-r)}const vt={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},o0=.001;function EW({duration:e=vt.duration,bounce:t=vt.bounce,velocity:n=vt.velocity,mass:r=vt.mass}){let i,o,a=1-t;a=Pi(vt.minDamping,vt.maxDamping,a),e=Pi(vt.minDuration,vt.maxDuration,xi(e)),a<1?(i=u=>{const d=u*a,f=d*e,p=d-n,h=sv(u,a),v=Math.exp(-f);return o0-p/h*v},o=u=>{const f=u*a*e,p=f*n+n,h=Math.pow(a,2)*Math.pow(u,2)*e,v=Math.exp(-f),b=sv(Math.pow(u,2),a);return(-i(u)+o0>0?-1:1)*((p-h)*v)/b}):(i=u=>{const d=Math.exp(-u*e),f=(u-n)*e+1;return-o0+d*f},o=u=>{const d=Math.exp(-u*e),f=(n-u)*(e*e);return d*f});const l=5/e,c=$W(i,o,l);if(e=bi(e),isNaN(c))return{stiffness:vt.stiffness,damping:vt.damping,duration:e};{const u=Math.pow(c,2)*r;return{stiffness:u,damping:a*2*Math.sqrt(r*u),duration:e}}}const AW=12;function $W(e,t,n){let r=n;for(let i=1;i<AW;i++)r=r-e(r)/t(r);return r}function sv(e,t){return e*Math.sqrt(1-t*t)}const zW=["duration","bounce"],RW=["stiffness","damping","mass"];function JS(e,t){return t.some(n=>e[n]!==void 0)}function IW(e){let t={velocity:vt.velocity,stiffness:vt.stiffness,damping:vt.damping,mass:vt.mass,isResolvedFromDuration:!1,...e};if(!JS(e,RW)&&JS(e,zW))if(e.visualDuration){const n=e.visualDuration,r=2*Math.PI/(n*1.2),i=r*r,o=2*Pi(.05,1,1-(e.bounce||0))*Math.sqrt(i);t={...t,mass:vt.mass,stiffness:i,damping:o}}else{const n=EW(e);t={...t,...n,mass:vt.mass},t.isResolvedFromDuration=!0}return t}function aP(e=vt.visualDuration,t=vt.bounce){const n=typeof e!="object"?{visualDuration:e,keyframes:[0,1],bounce:t}:e;let{restSpeed:r,restDelta:i}=n;const o=n.keyframes[0],a=n.keyframes[n.keyframes.length-1],l={done:!1,value:o},{stiffness:c,damping:u,mass:d,duration:f,velocity:p,isResolvedFromDuration:h}=IW({...n,velocity:-xi(n.velocity||0)}),v=p||0,b=u/(2*Math.sqrt(c*d)),x=a-o,y=xi(Math.sqrt(c/d)),g=Math.abs(x)<5;r||(r=g?vt.restSpeed.granular:vt.restSpeed.default),i||(i=g?vt.restDelta.granular:vt.restDelta.default);let S;if(b<1){const k=sv(y,b);S=P=>{const _=Math.exp(-b*y*P);return a-_*((v+b*y*x)/k*Math.sin(k*P)+x*Math.cos(k*P))}}else if(b===1)S=k=>a-Math.exp(-y*k)*(x+(v+y*x)*k);else{const k=y*Math.sqrt(b*b-1);S=P=>{const _=Math.exp(-b*y*P),j=Math.min(k*P,300);return a-_*((v+b*y*x)*Math.sinh(j)+k*x*Math.cosh(j))/k}}const w={calculatedDuration:h&&f||null,next:k=>{const P=S(k);if(h)l.done=k>=f;else{let _=0;b<1&&(_=k===0?bi(v):oP(S,k,P));const j=Math.abs(_)<=r,z=Math.abs(a-P)<=i;l.done=j&&z}return l.value=l.done?a:P,l},toString:()=>{const k=Math.min(Cj(w),Jg),P=jj(_=>w.next(k*_).value,k,30);return k+"ms "+P}};return w}function e4({keyframes:e,velocity:t=0,power:n=.8,timeConstant:r=325,bounceDamping:i=10,bounceStiffness:o=500,modifyTarget:a,min:l,max:c,restDelta:u=.5,restSpeed:d}){const f=e[0],p={done:!1,value:f},h=j=>l!==void 0&&j<l||c!==void 0&&j>c,v=j=>l===void 0?c:c===void 0||Math.abs(l-j)<Math.abs(c-j)?l:c;let b=n*t;const x=f+b,y=a===void 0?x:a(x);y!==x&&(b=y-f);const g=j=>-b*Math.exp(-j/r),S=j=>y+g(j),w=j=>{const z=g(j),$=S(j);p.done=Math.abs(z)<=u,p.value=p.done?y:$};let k,P;const _=j=>{h(p.value)&&(k=j,P=aP({keyframes:[p.value,v(p.value)],velocity:oP(S,j,p.value),damping:i,stiffness:o,restDelta:u,restSpeed:d}))};return _(0),{calculatedDuration:null,next:j=>{let z=!1;return!P&&k===void 0&&(z=!0,w(j),_(j)),k!==void 0&&j>=k?P.next(j-k):(!z&&w(j),p)}}}const MW=Eu(.42,0,1,1),LW=Eu(0,0,.58,1),sP=Eu(.42,0,.58,1),NW=e=>Array.isArray(e)&&typeof e[0]!="number",DW={linear:Wn,easeIn:MW,easeInOut:sP,easeOut:LW,circIn:Zy,circInOut:Bj,circOut:Fj,backIn:Qy,backInOut:Dj,backOut:Nj,anticipate:Oj},t4=e=>{if(Gy(e)){ij(e.length===4);const[t,n,r,i]=e;return Eu(t,n,r,i)}else if(typeof e=="string")return DW[e];return e};function OW(e,t,n){const r=[],i=n||iP,o=e.length-1;for(let a=0;a<o;a++){let l=i(e[a],e[a+1]);if(t){const c=Array.isArray(t)?t[a]||Wn:t;l=Au(c,l)}r.push(l)}return r}function FW(e,t,{clamp:n=!0,ease:r,mixer:i}={}){const o=e.length;if(ij(o===t.length),o===1)return()=>t[0];if(o===2&&t[0]===t[1])return()=>t[1];const a=e[0]===e[1];e[0]>e[o-1]&&(e=[...e].reverse(),t=[...t].reverse());const l=OW(t,r,i),c=l.length,u=d=>{if(a&&d<e[0])return t[0];let f=0;if(c>1)for(;f<e.length-2&&!(d<e[f+1]);f++);const p=Qs(e[f],e[f+1],d);return l[f](p)};return n?d=>u(Pi(e[0],e[o-1],d)):u}function BW(e,t){const n=e[e.length-1];for(let r=1;r<=t;r++){const i=Qs(0,t,r);e.push(ft(n,1,i))}}function WW(e){const t=[0];return BW(t,e.length-1),t}function VW(e,t){return e.map(n=>n*t)}function UW(e,t){return e.map(()=>t||sP).splice(0,e.length-1)}function Sp({duration:e=300,keyframes:t,times:n,ease:r="easeInOut"}){const i=NW(r)?r.map(t4):t4(r),o={done:!1,value:t[0]},a=VW(n&&n.length===t.length?n:WW(t),e),l=FW(a,t,{ease:Array.isArray(i)?i:UW(t,i)});return{calculatedDuration:e,next:c=>(o.value=l(c),o.done=c>=e,o)}}const HW=e=>{const t=({timestamp:n})=>e(n);return{start:()=>it.update(t,!0),stop:()=>go(t),now:()=>qt.isProcessing?qt.timestamp:Yr.now()}},GW={decay:e4,inertia:e4,tween:Sp,keyframes:Sp,spring:aP},KW=e=>e/100;class ib extends nP{constructor(t){super(t),this.holdTime=null,this.cancelTime=null,this.currentTime=0,this.playbackSpeed=1,this.pendingPlayState="running",this.startTime=null,this.state="idle",this.stop=()=>{if(this.resolver.cancel(),this.isStopped=!0,this.state==="idle")return;this.teardown();const{onStop:c}=this.options;c&&c()};const{name:n,motionValue:r,element:i,keyframes:o}=this.options,a=(i==null?void 0:i.KeyframeResolver)||nb,l=(c,u)=>this.onKeyframesResolved(c,u);this.resolver=new a(o,l,n,r,i),this.resolver.scheduleResolve()}flatten(){super.flatten(),this._resolved&&Object.assign(this._resolved,this.initPlayback(this._resolved.keyframes))}initPlayback(t){const{type:n="keyframes",repeat:r=0,repeatDelay:i=0,repeatType:o,velocity:a=0}=this.options,l=Hy(n)?n:GW[n]||Sp;let c,u;l!==Sp&&typeof t[0]!="number"&&(c=Au(KW,iP(t[0],t[1])),t=[0,100]);const d=l({...this.options,keyframes:t});o==="mirror"&&(u=l({...this.options,keyframes:[...t].reverse(),velocity:-a})),d.calculatedDuration===null&&(d.calculatedDuration=Cj(d));const{calculatedDuration:f}=d,p=f+i,h=p*(r+1)-i;return{generator:d,mirroredGenerator:u,mapPercentToKeyframes:c,calculatedDuration:f,resolvedDuration:p,totalDuration:h}}onPostResolved(){const{autoplay:t=!0}=this.options;this.play(),this.pendingPlayState==="paused"||!t?this.pause():this.state=this.pendingPlayState}tick(t,n=!1){const{resolved:r}=this;if(!r){const{keyframes:j}=this.options;return{done:!0,value:j[j.length-1]}}const{finalKeyframe:i,generator:o,mirroredGenerator:a,mapPercentToKeyframes:l,keyframes:c,calculatedDuration:u,totalDuration:d,resolvedDuration:f}=r;if(this.startTime===null)return o.next(0);const{delay:p,repeat:h,repeatType:v,repeatDelay:b,onUpdate:x}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,t):this.speed<0&&(this.startTime=Math.min(t-d/this.speed,this.startTime)),n?this.currentTime=t:this.holdTime!==null?this.currentTime=this.holdTime:this.currentTime=Math.round(t-this.startTime)*this.speed;const y=this.currentTime-p*(this.speed>=0?1:-1),g=this.speed>=0?y<0:y>d;this.currentTime=Math.max(y,0),this.state==="finished"&&this.holdTime===null&&(this.currentTime=d);let S=this.currentTime,w=o;if(h){const j=Math.min(this.currentTime,d)/f;let z=Math.floor(j),$=j%1;!$&&j>=1&&($=1),$===1&&z--,z=Math.min(z,h+1),!!(z%2)&&(v==="reverse"?($=1-$,b&&($-=b/f)):v==="mirror"&&(w=a)),S=Pi(0,1,$)*f}const k=g?{done:!1,value:c[0]}:w.next(S);l&&(k.value=l(k.value));let{done:P}=k;!g&&u!==null&&(P=this.speed>=0?this.currentTime>=d:this.currentTime<=0);const _=this.holdTime===null&&(this.state==="finished"||this.state==="running"&&P);return _&&i!==void 0&&(k.value=Cm(c,this.options,i)),x&&x(k.value),_&&this.finish(),k}get duration(){const{resolved:t}=this;return t?xi(t.calculatedDuration):0}get time(){return xi(this.currentTime)}set time(t){t=bi(t),this.currentTime=t,this.holdTime!==null||this.speed===0?this.holdTime=t:this.driver&&(this.startTime=this.driver.now()-t/this.speed)}get speed(){return this.playbackSpeed}set speed(t){const n=this.playbackSpeed!==t;this.playbackSpeed=t,n&&(this.time=xi(this.currentTime))}play(){if(this.resolver.isScheduled||this.resolver.resume(),!this._resolved){this.pendingPlayState="running";return}if(this.isStopped)return;const{driver:t=HW,onPlay:n,startTime:r}=this.options;this.driver||(this.driver=t(o=>this.tick(o))),n&&n();const i=this.driver.now();this.holdTime!==null?this.startTime=i-this.holdTime:this.startTime?this.state==="finished"&&(this.startTime=i):this.startTime=r??this.calcStartTime(),this.state==="finished"&&this.updateFinishedPromise(),this.cancelTime=this.startTime,this.holdTime=null,this.state="running",this.driver.start()}pause(){var t;if(!this._resolved){this.pendingPlayState="paused";return}this.state="paused",this.holdTime=(t=this.currentTime)!==null&&t!==void 0?t:0}complete(){this.state!=="running"&&this.play(),this.pendingPlayState=this.state="finished",this.holdTime=null}finish(){this.teardown(),this.state="finished";const{onComplete:t}=this.options;t&&t()}cancel(){this.cancelTime!==null&&this.tick(this.cancelTime),this.teardown(),this.updateFinishedPromise()}teardown(){this.state="idle",this.stopDriver(),this.resolveFinishedPromise(),this.updateFinishedPromise(),this.startTime=this.cancelTime=null,this.resolver.cancel()}stopDriver(){this.driver&&(this.driver.stop(),this.driver=void 0)}sample(t){return this.startTime=0,this.tick(t,!0)}}const qW=new Set(["opacity","clipPath","filter","transform"]);function XW(e,t,n,{delay:r=0,duration:i=300,repeat:o=0,repeatType:a="loop",ease:l="easeInOut",times:c}={}){const u={[t]:n};c&&(u.offset=c);const d=_j(l,i);return Array.isArray(d)&&(u.easing=d),e.animate(u,{delay:r,duration:i,easing:Array.isArray(d)?"linear":d,fill:"both",iterations:o+1,direction:a==="reverse"?"alternate":"normal"})}const YW=Ay(()=>Object.hasOwnProperty.call(Element.prototype,"animate")),wp=10,QW=2e4;function ZW(e){return Hy(e.type)||e.type==="spring"||!Pj(e.ease)}function JW(e,t){const n=new ib({...t,keyframes:e,repeat:0,delay:0,isGenerator:!0});let r={done:!1,value:e[0]};const i=[];let o=0;for(;!r.done&&o<QW;)r=n.sample(o),i.push(r.value),o+=wp;return{times:void 0,keyframes:i,duration:o-wp,ease:"linear"}}const lP={anticipate:Oj,backInOut:Dj,circInOut:Bj};function eV(e){return e in lP}class n4 extends nP{constructor(t){super(t);const{name:n,motionValue:r,element:i,keyframes:o}=this.options;this.resolver=new tP(o,(a,l)=>this.onKeyframesResolved(a,l),n,r,i),this.resolver.scheduleResolve()}initPlayback(t,n){let{duration:r=300,times:i,ease:o,type:a,motionValue:l,name:c,startTime:u}=this.options;if(!l.owner||!l.owner.current)return!1;if(typeof o=="string"&&bp()&&eV(o)&&(o=lP[o]),ZW(this.options)){const{onComplete:f,onUpdate:p,motionValue:h,element:v,...b}=this.options,x=JW(t,b);t=x.keyframes,t.length===1&&(t[1]=t[0]),r=x.duration,i=x.times,o=x.ease,a="keyframes"}const d=XW(l.owner.current,c,t,{...this.options,duration:r,times:i,ease:o});return d.startTime=u??this.calcStartTime(),this.pendingTimeline?(FS(d,this.pendingTimeline),this.pendingTimeline=void 0):d.onfinish=()=>{const{onComplete:f}=this.options;l.set(Cm(t,this.options,n)),f&&f(),this.cancel(),this.resolveFinishedPromise()},{animation:d,duration:r,times:i,type:a,ease:o,keyframes:t}}get duration(){const{resolved:t}=this;if(!t)return 0;const{duration:n}=t;return xi(n)}get time(){const{resolved:t}=this;if(!t)return 0;const{animation:n}=t;return xi(n.currentTime||0)}set time(t){const{resolved:n}=this;if(!n)return;const{animation:r}=n;r.currentTime=bi(t)}get speed(){const{resolved:t}=this;if(!t)return 1;const{animation:n}=t;return n.playbackRate}set speed(t){const{resolved:n}=this;if(!n)return;const{animation:r}=n;r.playbackRate=t}get state(){const{resolved:t}=this;if(!t)return"idle";const{animation:n}=t;return n.playState}get startTime(){const{resolved:t}=this;if(!t)return null;const{animation:n}=t;return n.startTime}attachTimeline(t){if(!this._resolved)this.pendingTimeline=t;else{const{resolved:n}=this;if(!n)return Wn;const{animation:r}=n;FS(r,t)}return Wn}play(){if(this.isStopped)return;const{resolved:t}=this;if(!t)return;const{animation:n}=t;n.playState==="finished"&&this.updateFinishedPromise(),n.play()}pause(){const{resolved:t}=this;if(!t)return;const{animation:n}=t;n.pause()}stop(){if(this.resolver.cancel(),this.isStopped=!0,this.state==="idle")return;this.resolveFinishedPromise(),this.updateFinishedPromise();const{resolved:t}=this;if(!t)return;const{animation:n,keyframes:r,duration:i,type:o,ease:a,times:l}=t;if(n.playState==="idle"||n.playState==="finished")return;if(this.time){const{motionValue:u,onUpdate:d,onComplete:f,element:p,...h}=this.options,v=new ib({...h,keyframes:r,duration:i,type:o,ease:a,times:l,isGenerator:!0}),b=bi(this.time);u.setWithVelocity(v.sample(b-wp).value,v.sample(b).value,wp)}const{onStop:c}=this.options;c&&c(),this.cancel()}complete(){const{resolved:t}=this;t&&t.animation.finish()}cancel(){const{resolved:t}=this;t&&t.animation.cancel()}static supports(t){const{motionValue:n,name:r,repeatDelay:i,repeatType:o,damping:a,type:l}=t;if(!n||!n.owner||!(n.owner.current instanceof HTMLElement))return!1;const{onUpdate:c,transformTemplate:u}=n.owner.getProps();return YW()&&r&&qW.has(r)&&!c&&!u&&!i&&o!=="mirror"&&a!==0&&l!=="inertia"}}const tV={type:"spring",stiffness:500,damping:25,restSpeed:10},nV=e=>({type:"spring",stiffness:550,damping:e===0?2*Math.sqrt(550):30,restSpeed:10}),rV={type:"keyframes",duration:.8},iV={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},oV=(e,{keyframes:t})=>t.length>2?rV:za.has(e)?e.startsWith("scale")?nV(t[1]):tV:iV;function aV({when:e,delay:t,delayChildren:n,staggerChildren:r,staggerDirection:i,repeat:o,repeatType:a,repeatDelay:l,from:c,elapsed:u,...d}){return!!Object.keys(d).length}const ob=(e,t,n,r={},i,o)=>a=>{const l=Uy(r,e)||{},c=l.delay||r.delay||0;let{elapsed:u=0}=r;u=u-bi(c);let d={keyframes:Array.isArray(n)?n:[null,n],ease:"easeOut",velocity:t.getVelocity(),...l,delay:-u,onUpdate:p=>{t.set(p),l.onUpdate&&l.onUpdate(p)},onComplete:()=>{a(),l.onComplete&&l.onComplete()},name:e,motionValue:t,element:o?void 0:i};aV(l)||(d={...d,...oV(e,d)}),d.duration&&(d.duration=bi(d.duration)),d.repeatDelay&&(d.repeatDelay=bi(d.repeatDelay)),d.from!==void 0&&(d.keyframes[0]=d.from);let f=!1;if((d.type===!1||d.duration===0&&!d.repeatDelay)&&(d.duration=0,d.delay===0&&(f=!0)),f&&!o&&t.get()!==void 0){const p=Cm(d.keyframes,l);if(p!==void 0)return it.update(()=>{d.onUpdate(p),d.onComplete()}),new jB([])}return!o&&n4.supports(d)?new n4(d):new ib(d)};function sV({protectedKeys:e,needsAnimating:t},n){const r=e.hasOwnProperty(n)&&t[n]!==!0;return t[n]=!1,r}function cP(e,t,{delay:n=0,transitionOverride:r,type:i}={}){var o;let{transition:a=e.getDefaultTransition(),transitionEnd:l,...c}=t;r&&(a=r);const u=[],d=i&&e.animationState&&e.animationState.getState()[i];for(const f in c){const p=e.getValue(f,(o=e.latestValues[f])!==null&&o!==void 0?o:null),h=c[f];if(h===void 0||d&&sV(d,f))continue;const v={delay:n,...Uy(a||{},f)};let b=!1;if(window.MotionHandoffAnimation){const y=Rj(e);if(y){const g=window.MotionHandoffAnimation(y,f,it);g!==null&&(v.startTime=g,b=!0)}}tv(e,f),p.start(ob(f,p,h,e.shouldReduceMotion&&$j.has(f)?{type:!1}:v,e,b));const x=p.animation;x&&u.push(x)}return l&&Promise.all(u).then(()=>{it.update(()=>{l&&OB(e,l)})}),u}function lv(e,t,n={}){var r;const i=km(e,t,n.type==="exit"?(r=e.presenceContext)===null||r===void 0?void 0:r.custom:void 0);let{transition:o=e.getDefaultTransition()||{}}=i||{};n.transitionOverride&&(o=n.transitionOverride);const a=i?()=>Promise.all(cP(e,i,n)):()=>Promise.resolve(),l=e.variantChildren&&e.variantChildren.size?(u=0)=>{const{delayChildren:d=0,staggerChildren:f,staggerDirection:p}=o;return lV(e,t,d+u,f,p,n)}:()=>Promise.resolve(),{when:c}=o;if(c){const[u,d]=c==="beforeChildren"?[a,l]:[l,a];return u().then(()=>d())}else return Promise.all([a(),l(n.delay)])}function lV(e,t,n=0,r=0,i=1,o){const a=[],l=(e.variantChildren.size-1)*r,c=i===1?(u=0)=>u*r:(u=0)=>l-u*r;return Array.from(e.variantChildren).sort(cV).forEach((u,d)=>{u.notify("AnimationStart",t),a.push(lv(u,t,{...o,delay:n+c(d)}).then(()=>u.notify("AnimationComplete",t)))}),Promise.all(a)}function cV(e,t){return e.sortNodePosition(t)}function uV(e,t,n={}){e.notify("AnimationStart",t);let r;if(Array.isArray(t)){const i=t.map(o=>lv(e,o,n));r=Promise.all(i)}else if(typeof t=="string")r=lv(e,t,n);else{const i=typeof t=="function"?km(e,t,n.custom):t;r=Promise.all(cP(e,i,n))}return r.then(()=>{e.notify("AnimationComplete",t)})}const dV=zy.length;function uP(e){if(!e)return;if(!e.isControllingVariants){const n=e.parent?uP(e.parent)||{}:{};return e.props.initial!==void 0&&(n.initial=e.props.initial),n}const t={};for(let n=0;n<dV;n++){const r=zy[n],i=e.props[r];(Zc(i)||i===!1)&&(t[r]=i)}return t}const fV=[...$y].reverse(),pV=$y.length;function mV(e){return t=>Promise.all(t.map(({animation:n,options:r})=>uV(e,n,r)))}function hV(e){let t=mV(e),n=r4(),r=!0;const i=c=>(u,d)=>{var f;const p=km(e,d,c==="exit"?(f=e.presenceContext)===null||f===void 0?void 0:f.custom:void 0);if(p){const{transition:h,transitionEnd:v,...b}=p;u={...u,...b,...v}}return u};function o(c){t=c(e)}function a(c){const{props:u}=e,d=uP(e.parent)||{},f=[],p=new Set;let h={},v=1/0;for(let x=0;x<pV;x++){const y=fV[x],g=n[y],S=u[y]!==void 0?u[y]:d[y],w=Zc(S),k=y===c?g.isActive:null;k===!1&&(v=x);let P=S===d[y]&&S!==u[y]&&w;if(P&&r&&e.manuallyAnimateOnMount&&(P=!1),g.protectedKeys={...h},!g.isActive&&k===null||!S&&!g.prevProp||Sm(S)||typeof S=="boolean")continue;const _=gV(g.prevProp,S);let j=_||y===c&&g.isActive&&!P&&w||x>v&&w,z=!1;const $=Array.isArray(S)?S:[S];let W=$.reduce(i(y),{});k===!1&&(W={});const{prevResolvedValues:Y={}}=g,ee={...Y,...W},I=R=>{j=!0,p.has(R)&&(z=!0,p.delete(R)),g.needsAnimating[R]=!0;const F=e.getValue(R);F&&(F.liveStyle=!1)};for(const R in ee){const F=W[R],M=Y[R];if(h.hasOwnProperty(R))continue;let G=!1;Zg(F)&&Zg(M)?G=!kj(F,M):G=F!==M,G?F!=null?I(R):p.add(R):F!==void 0&&p.has(R)?I(R):g.protectedKeys[R]=!0}g.prevProp=S,g.prevResolvedValues=W,g.isActive&&(h={...h,...W}),r&&e.blockInitialAnimation&&(j=!1),j&&(!(P&&_)||z)&&f.push(...$.map(R=>({animation:R,options:{type:y}})))}if(p.size){const x={};p.forEach(y=>{const g=e.getBaseTarget(y),S=e.getValue(y);S&&(S.liveStyle=!0),x[y]=g??null}),f.push({animation:x})}let b=!!f.length;return r&&(u.initial===!1||u.initial===u.animate)&&!e.manuallyAnimateOnMount&&(b=!1),r=!1,b?t(f):Promise.resolve()}function l(c,u){var d;if(n[c].isActive===u)return Promise.resolve();(d=e.variantChildren)===null||d===void 0||d.forEach(p=>{var h;return(h=p.animationState)===null||h===void 0?void 0:h.setActive(c,u)}),n[c].isActive=u;const f=a(c);for(const p in n)n[p].protectedKeys={};return f}return{animateChanges:a,setActive:l,setAnimateFunction:o,getState:()=>n,reset:()=>{n=r4(),r=!0}}}function gV(e,t){return typeof t=="string"?t!==e:Array.isArray(t)?!kj(t,e):!1}function Do(e=!1){return{isActive:e,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function r4(){return{animate:Do(!0),whileInView:Do(),whileHover:Do(),whileTap:Do(),whileDrag:Do(),whileFocus:Do(),exit:Do()}}class Po{constructor(t){this.isMounted=!1,this.node=t}update(){}}class vV extends Po{constructor(t){super(t),t.animationState||(t.animationState=hV(t))}updateAnimationControlsSubscription(){const{animate:t}=this.node.getProps();Sm(t)&&(this.unmountControls=t.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){const{animate:t}=this.node.getProps(),{animate:n}=this.node.prevProps||{};t!==n&&this.updateAnimationControlsSubscription()}unmount(){var t;this.node.animationState.reset(),(t=this.unmountControls)===null||t===void 0||t.call(this)}}let yV=0;class bV extends Po{constructor(){super(...arguments),this.id=yV++}update(){if(!this.node.presenceContext)return;const{isPresent:t,onExitComplete:n}=this.node.presenceContext,{isPresent:r}=this.node.prevPresenceContext||{};if(!this.node.animationState||t===r)return;const i=this.node.animationState.setActive("exit",!t);n&&!t&&i.then(()=>n(this.id))}mount(){const{register:t}=this.node.presenceContext||{};t&&(this.unmount=t(this.id))}unmount(){}}const xV={animation:{Feature:vV},exit:{Feature:bV}};function nu(e,t,n,r={passive:!0}){return e.addEventListener(t,n,r),()=>e.removeEventListener(t,n)}function $u(e){return{point:{x:e.pageX,y:e.pageY}}}const SV=e=>t=>Ky(t)&&e(t,$u(t));function xc(e,t,n,r){return nu(e,t,SV(n),r)}const i4=(e,t)=>Math.abs(e-t);function wV(e,t){const n=i4(e.x,t.x),r=i4(e.y,t.y);return Math.sqrt(n**2+r**2)}class dP{constructor(t,n,{transformPagePoint:r,contextWindow:i,dragSnapToOrigin:o=!1}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.handlers={},this.contextWindow=window,this.updatePoint=()=>{if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const f=s0(this.lastMoveEventInfo,this.history),p=this.startEvent!==null,h=wV(f.offset,{x:0,y:0})>=3;if(!p&&!h)return;const{point:v}=f,{timestamp:b}=qt;this.history.push({...v,timestamp:b});const{onStart:x,onMove:y}=this.handlers;p||(x&&x(this.lastMoveEvent,f),this.startEvent=this.lastMoveEvent),y&&y(this.lastMoveEvent,f)},this.handlePointerMove=(f,p)=>{this.lastMoveEvent=f,this.lastMoveEventInfo=a0(p,this.transformPagePoint),it.update(this.updatePoint,!0)},this.handlePointerUp=(f,p)=>{this.end();const{onEnd:h,onSessionEnd:v,resumeAnimation:b}=this.handlers;if(this.dragSnapToOrigin&&b&&b(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const x=s0(f.type==="pointercancel"?this.lastMoveEventInfo:a0(p,this.transformPagePoint),this.history);this.startEvent&&h&&h(f,x),v&&v(f,x)},!Ky(t))return;this.dragSnapToOrigin=o,this.handlers=n,this.transformPagePoint=r,this.contextWindow=i||window;const a=$u(t),l=a0(a,this.transformPagePoint),{point:c}=l,{timestamp:u}=qt;this.history=[{...c,timestamp:u}];const{onSessionStart:d}=n;d&&d(t,s0(l,this.history)),this.removeListeners=Au(xc(this.contextWindow,"pointermove",this.handlePointerMove),xc(this.contextWindow,"pointerup",this.handlePointerUp),xc(this.contextWindow,"pointercancel",this.handlePointerUp))}updateHandlers(t){this.handlers=t}end(){this.removeListeners&&this.removeListeners(),go(this.updatePoint)}}function a0(e,t){return t?{point:t(e.point)}:e}function o4(e,t){return{x:e.x-t.x,y:e.y-t.y}}function s0({point:e},t){return{point:e,delta:o4(e,fP(t)),offset:o4(e,kV(t)),velocity:CV(t,.1)}}function kV(e){return e[0]}function fP(e){return e[e.length-1]}function CV(e,t){if(e.length<2)return{x:0,y:0};let n=e.length-1,r=null;const i=fP(e);for(;n>=0&&(r=e[n],!(i.timestamp-r.timestamp>bi(t)));)n--;if(!r)return{x:0,y:0};const o=xi(i.timestamp-r.timestamp);if(o===0)return{x:0,y:0};const a={x:(i.x-r.x)/o,y:(i.y-r.y)/o};return a.x===1/0&&(a.x=0),a.y===1/0&&(a.y=0),a}const pP=1e-4,jV=1-pP,PV=1+pP,mP=.01,_V=0-mP,TV=0+mP;function Un(e){return e.max-e.min}function EV(e,t,n){return Math.abs(e-t)<=n}function a4(e,t,n,r=.5){e.origin=r,e.originPoint=ft(t.min,t.max,e.origin),e.scale=Un(n)/Un(t),e.translate=ft(n.min,n.max,e.origin)-e.originPoint,(e.scale>=jV&&e.scale<=PV||isNaN(e.scale))&&(e.scale=1),(e.translate>=_V&&e.translate<=TV||isNaN(e.translate))&&(e.translate=0)}function Sc(e,t,n,r){a4(e.x,t.x,n.x,r?r.originX:void 0),a4(e.y,t.y,n.y,r?r.originY:void 0)}function s4(e,t,n){e.min=n.min+t.min,e.max=e.min+Un(t)}function AV(e,t,n){s4(e.x,t.x,n.x),s4(e.y,t.y,n.y)}function l4(e,t,n){e.min=t.min-n.min,e.max=e.min+Un(t)}function wc(e,t,n){l4(e.x,t.x,n.x),l4(e.y,t.y,n.y)}function $V(e,{min:t,max:n},r){return t!==void 0&&e<t?e=r?ft(t,e,r.min):Math.max(e,t):n!==void 0&&e>n&&(e=r?ft(n,e,r.max):Math.min(e,n)),e}function c4(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 zV(e,{top:t,left:n,bottom:r,right:i}){return{x:c4(e.x,n,i),y:c4(e.y,t,r)}}function u4(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 RV(e,t){return{x:u4(e.x,t.x),y:u4(e.y,t.y)}}function IV(e,t){let n=.5;const r=Un(e),i=Un(t);return i>r?n=Qs(t.min,t.max-r,e.min):r>i&&(n=Qs(e.min,e.max-i,t.min)),Pi(0,1,n)}function MV(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 cv=.35;function LV(e=cv){return e===!1?e=0:e===!0&&(e=cv),{x:d4(e,"left","right"),y:d4(e,"top","bottom")}}function d4(e,t,n){return{min:f4(e,t),max:f4(e,n)}}function f4(e,t){return typeof e=="number"?e:e[t]||0}const p4=()=>({translate:0,scale:1,origin:0,originPoint:0}),hs=()=>({x:p4(),y:p4()}),m4=()=>({min:0,max:0}),kt=()=>({x:m4(),y:m4()});function nr(e){return[e("x"),e("y")]}function hP({top:e,left:t,right:n,bottom:r}){return{x:{min:t,max:n},y:{min:e,max:r}}}function NV({x:e,y:t}){return{top:t.min,right:e.max,bottom:t.max,left:e.min}}function DV(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 l0(e){return e===void 0||e===1}function uv({scale:e,scaleX:t,scaleY:n}){return!l0(e)||!l0(t)||!l0(n)}function Uo(e){return uv(e)||gP(e)||e.z||e.rotate||e.rotateX||e.rotateY||e.skewX||e.skewY}function gP(e){return h4(e.x)||h4(e.y)}function h4(e){return e&&e!=="0%"}function kp(e,t,n){const r=e-n,i=t*r;return n+i}function g4(e,t,n,r,i){return i!==void 0&&(e=kp(e,i,r)),kp(e,n,r)+t}function dv(e,t=0,n=1,r,i){e.min=g4(e.min,t,n,r,i),e.max=g4(e.max,t,n,r,i)}function vP(e,{x:t,y:n}){dv(e.x,t.translate,t.scale,t.originPoint),dv(e.y,n.translate,n.scale,n.originPoint)}const v4=.999999999999,y4=1.0000000000001;function OV(e,t,n,r=!1){const i=n.length;if(!i)return;t.x=t.y=1;let o,a;for(let l=0;l<i;l++){o=n[l],a=o.projectionDelta;const{visualElement:c}=o.options;c&&c.props.style&&c.props.style.display==="contents"||(r&&o.options.layoutScroll&&o.scroll&&o!==o.root&&vs(e,{x:-o.scroll.offset.x,y:-o.scroll.offset.y}),a&&(t.x*=a.x.scale,t.y*=a.y.scale,vP(e,a)),r&&Uo(o.latestValues)&&vs(e,o.latestValues))}t.x<y4&&t.x>v4&&(t.x=1),t.y<y4&&t.y>v4&&(t.y=1)}function gs(e,t){e.min=e.min+t,e.max=e.max+t}function b4(e,t,n,r,i=.5){const o=ft(e.min,e.max,i);dv(e,t,n,o,r)}function vs(e,t){b4(e.x,t.x,t.scaleX,t.scale,t.originX),b4(e.y,t.y,t.scaleY,t.scale,t.originY)}function yP(e,t){return hP(DV(e.getBoundingClientRect(),t))}function FV(e,t,n){const r=yP(e,n),{scroll:i}=t;return i&&(gs(r.x,i.offset.x),gs(r.y,i.offset.y)),r}const bP=({current:e})=>e?e.ownerDocument.defaultView:null,BV=new WeakMap;class WV{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=kt(),this.visualElement=t}start(t,{snapToCursor:n=!1}={}){const{presenceContext:r}=this.visualElement;if(r&&r.isPresent===!1)return;const i=d=>{const{dragSnapToOrigin:f}=this.getProps();f?this.pauseAnimation():this.stopAnimation(),n&&this.snapToCursor($u(d).point)},o=(d,f)=>{const{drag:p,dragPropagation:h,onDragStart:v}=this.getProps();if(p&&!h&&(this.openDragLock&&this.openDragLock(),this.openDragLock=IB(p),!this.openDragLock))return;this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),nr(x=>{let y=this.getAxisMotionValue(x).get()||0;if(Xr.test(y)){const{projection:g}=this.visualElement;if(g&&g.layout){const S=g.layout.layoutBox[x];S&&(y=Un(S)*(parseFloat(y)/100))}}this.originPoint[x]=y}),v&&it.postRender(()=>v(d,f)),tv(this.visualElement,"transform");const{animationState:b}=this.visualElement;b&&b.setActive("whileDrag",!0)},a=(d,f)=>{const{dragPropagation:p,dragDirectionLock:h,onDirectionLock:v,onDrag:b}=this.getProps();if(!p&&!this.openDragLock)return;const{offset:x}=f;if(h&&this.currentDirection===null){this.currentDirection=VV(x),this.currentDirection!==null&&v&&v(this.currentDirection);return}this.updateAxis("x",f.point,x),this.updateAxis("y",f.point,x),this.visualElement.render(),b&&b(d,f)},l=(d,f)=>this.stop(d,f),c=()=>nr(d=>{var f;return this.getAnimationState(d)==="paused"&&((f=this.getAxisMotionValue(d).animation)===null||f===void 0?void 0:f.play())}),{dragSnapToOrigin:u}=this.getProps();this.panSession=new dP(t,{onSessionStart:i,onStart:o,onMove:a,onSessionEnd:l,resumeAnimation:c},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:u,contextWindow:bP(this.visualElement)})}stop(t,n){const r=this.isDragging;if(this.cancel(),!r)return;const{velocity:i}=n;this.startAnimation(i);const{onDragEnd:o}=this.getProps();o&&it.postRender(()=>o(t,n))}cancel(){this.isDragging=!1;const{projection:t,animationState:n}=this.visualElement;t&&(t.isAnimationBlocked=!1),this.panSession&&this.panSession.end(),this.panSession=void 0;const{dragPropagation:r}=this.getProps();!r&&this.openDragLock&&(this.openDragLock(),this.openDragLock=null),n&&n.setActive("whileDrag",!1)}updateAxis(t,n,r){const{drag:i}=this.getProps();if(!r||!zd(t,i,this.currentDirection))return;const o=this.getAxisMotionValue(t);let a=this.originPoint[t]+r[t];this.constraints&&this.constraints[t]&&(a=$V(a,this.constraints[t],this.elastic[t])),o.set(a)}resolveConstraints(){var t;const{dragConstraints:n,dragElastic:r}=this.getProps(),i=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):(t=this.visualElement.projection)===null||t===void 0?void 0:t.layout,o=this.constraints;n&&ps(n)?this.constraints||(this.constraints=this.resolveRefConstraints()):n&&i?this.constraints=zV(i.layoutBox,n):this.constraints=!1,this.elastic=LV(r),o!==this.constraints&&i&&this.constraints&&!this.hasMutatedConstraints&&nr(a=>{this.constraints!==!1&&this.getAxisMotionValue(a)&&(this.constraints[a]=MV(i.layoutBox[a],this.constraints[a]))})}resolveRefConstraints(){const{dragConstraints:t,onMeasureDragConstraints:n}=this.getProps();if(!t||!ps(t))return!1;const r=t.current,{projection:i}=this.visualElement;if(!i||!i.layout)return!1;const o=FV(r,i.root,this.visualElement.getTransformPagePoint());let a=RV(i.layout.layoutBox,o);if(n){const l=n(NV(a));this.hasMutatedConstraints=!!l,l&&(a=hP(l))}return a}startAnimation(t){const{drag:n,dragMomentum:r,dragElastic:i,dragTransition:o,dragSnapToOrigin:a,onDragTransitionEnd:l}=this.getProps(),c=this.constraints||{},u=nr(d=>{if(!zd(d,n,this.currentDirection))return;let f=c&&c[d]||{};a&&(f={min:0,max:0});const p=i?200:1e6,h=i?40:1e7,v={type:"inertia",velocity:r?t[d]:0,bounceStiffness:p,bounceDamping:h,timeConstant:750,restDelta:1,restSpeed:10,...o,...f};return this.startAxisValueAnimation(d,v)});return Promise.all(u).then(l)}startAxisValueAnimation(t,n){const r=this.getAxisMotionValue(t);return tv(this.visualElement,t),r.start(ob(t,r,0,n,this.visualElement,!1))}stopAnimation(){nr(t=>this.getAxisMotionValue(t).stop())}pauseAnimation(){nr(t=>{var n;return(n=this.getAxisMotionValue(t).animation)===null||n===void 0?void 0:n.pause()})}getAnimationState(t){var n;return(n=this.getAxisMotionValue(t).animation)===null||n===void 0?void 0:n.state}getAxisMotionValue(t){const n=`_drag${t.toUpperCase()}`,r=this.visualElement.getProps(),i=r[n];return i||this.visualElement.getValue(t,(r.initial?r.initial[t]:void 0)||0)}snapToCursor(t){nr(n=>{const{drag:r}=this.getProps();if(!zd(n,r,this.currentDirection))return;const{projection:i}=this.visualElement,o=this.getAxisMotionValue(n);if(i&&i.layout){const{min:a,max:l}=i.layout.layoutBox[n];o.set(t[n]-ft(a,l,.5))}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;const{drag:t,dragConstraints:n}=this.getProps(),{projection:r}=this.visualElement;if(!ps(n)||!r||!this.constraints)return;this.stopAnimation();const i={x:0,y:0};nr(a=>{const l=this.getAxisMotionValue(a);if(l&&this.constraints!==!1){const c=l.get();i[a]=IV({min:c,max:c},this.constraints[a])}});const{transformTemplate:o}=this.visualElement.getProps();this.visualElement.current.style.transform=o?o({},""):"none",r.root&&r.root.updateScroll(),r.updateLayout(),this.resolveConstraints(),nr(a=>{if(!zd(a,t,null))return;const l=this.getAxisMotionValue(a),{min:c,max:u}=this.constraints[a];l.set(ft(c,u,i[a]))})}addListeners(){if(!this.visualElement.current)return;BV.set(this.visualElement,this);const t=this.visualElement.current,n=xc(t,"pointerdown",c=>{const{drag:u,dragListener:d=!0}=this.getProps();u&&d&&this.start(c)}),r=()=>{const{dragConstraints:c}=this.getProps();ps(c)&&c.current&&(this.constraints=this.resolveRefConstraints())},{projection:i}=this.visualElement,o=i.addEventListener("measure",r);i&&!i.layout&&(i.root&&i.root.updateScroll(),i.updateLayout()),it.read(r);const a=nu(window,"resize",()=>this.scalePositionWithinConstraints()),l=i.addEventListener("didUpdate",({delta:c,hasLayoutChanged:u})=>{this.isDragging&&u&&(nr(d=>{const f=this.getAxisMotionValue(d);f&&(this.originPoint[d]+=c[d].translate,f.set(f.get()+c[d].translate))}),this.visualElement.render())});return()=>{a(),n(),o(),l&&l()}}getProps(){const t=this.visualElement.getProps(),{drag:n=!1,dragDirectionLock:r=!1,dragPropagation:i=!1,dragConstraints:o=!1,dragElastic:a=cv,dragMomentum:l=!0}=t;return{...t,drag:n,dragDirectionLock:r,dragPropagation:i,dragConstraints:o,dragElastic:a,dragMomentum:l}}}function zd(e,t,n){return(t===!0||t===e)&&(n===null||n===e)}function VV(e,t=10){let n=null;return Math.abs(e.y)>t?n="y":Math.abs(e.x)>t&&(n="x"),n}class UV extends Po{constructor(t){super(t),this.removeGroupControls=Wn,this.removeListeners=Wn,this.controls=new WV(t)}mount(){const{dragControls:t}=this.node.getProps();t&&(this.removeGroupControls=t.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||Wn}unmount(){this.removeGroupControls(),this.removeListeners()}}const x4=e=>(t,n)=>{e&&it.postRender(()=>e(t,n))};class HV extends Po{constructor(){super(...arguments),this.removePointerDownListener=Wn}onPointerDown(t){this.session=new dP(t,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:bP(this.node)})}createPanHandlers(){const{onPanSessionStart:t,onPanStart:n,onPan:r,onPanEnd:i}=this.node.getProps();return{onSessionStart:x4(t),onStart:x4(n),onMove:r,onEnd:(o,a)=>{delete this.session,i&&it.postRender(()=>i(o,a))}}}mount(){this.removePointerDownListener=xc(this.node.current,"pointerdown",t=>this.onPointerDown(t))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}}const Cf={hasAnimatedSinceResize:!0,hasEverUpdated:!1};function S4(e,t){return t.max===t.min?0:e/(t.max-t.min)*100}const Nl={correct:(e,t)=>{if(!t.target)return e;if(typeof e=="string")if(be.test(e))e=parseFloat(e);else return e;const n=S4(e,t.target.x),r=S4(e,t.target.y);return`${n}% ${r}%`}},GV={correct:(e,{treeScale:t,projectionDelta:n})=>{const r=e,i=vo.parse(e);if(i.length>5)return r;const o=vo.createTransformer(e),a=typeof i[0]!="number"?1:0,l=n.x.scale*t.x,c=n.y.scale*t.y;i[0+a]/=l,i[1+a]/=c;const u=ft(l,c,.5);return typeof i[2+a]=="number"&&(i[2+a]/=u),typeof i[3+a]=="number"&&(i[3+a]/=u),o(i)}};class KV extends m.Component{componentDidMount(){const{visualElement:t,layoutGroup:n,switchLayoutGroup:r,layoutId:i}=this.props,{projection:o}=t;pB(qV),o&&(n.group&&n.group.add(o),r&&r.register&&i&&r.register(o),o.root.didUpdate(),o.addEventListener("animationComplete",()=>{this.safeToRemove()}),o.setOptions({...o.options,onExitComplete:()=>this.safeToRemove()})),Cf.hasEverUpdated=!0}getSnapshotBeforeUpdate(t){const{layoutDependency:n,visualElement:r,drag:i,isPresent:o}=this.props,a=r.projection;return a&&(a.isPresent=o,i||t.layoutDependency!==n||n===void 0?a.willUpdate():this.safeToRemove(),t.isPresent!==o&&(o?a.promote():a.relegate()||it.postRender(()=>{const l=a.getStack();(!l||!l.members.length)&&this.safeToRemove()}))),null}componentDidUpdate(){const{projection:t}=this.props.visualElement;t&&(t.root.didUpdate(),Iy.postRender(()=>{!t.currentAnimation&&t.isLead()&&this.safeToRemove()}))}componentWillUnmount(){const{visualElement:t,layoutGroup:n,switchLayoutGroup:r}=this.props,{projection:i}=t;i&&(i.scheduleCheckAfterUnmount(),n&&n.group&&n.group.remove(i),r&&r.deregister&&r.deregister(i))}safeToRemove(){const{safeToRemove:t}=this.props;t&&t()}render(){return null}}function xP(e){const[t,n]=Ty(),r=m.useContext(jy);return s.jsx(KV,{...e,layoutGroup:r,switchLayoutGroup:m.useContext(uj),isPresent:t,safeToRemove:n})}const qV={borderRadius:{...Nl,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:Nl,borderTopRightRadius:Nl,borderBottomLeftRadius:Nl,borderBottomRightRadius:Nl,boxShadow:GV};function XV(e,t,n){const r=un(e)?e:eu(e);return r.start(ob("",r,t,n)),r.animation}function YV(e){return e instanceof SVGElement&&e.tagName!=="svg"}const QV=(e,t)=>e.depth-t.depth;class ZV{constructor(){this.children=[],this.isDirty=!1}add(t){qy(this.children,t),this.isDirty=!0}remove(t){Xy(this.children,t),this.isDirty=!0}forEach(t){this.isDirty&&this.children.sort(QV),this.isDirty=!1,this.children.forEach(t)}}function JV(e,t){const n=Yr.now(),r=({timestamp:i})=>{const o=i-n;o>=t&&(go(r),e(o-t))};return it.read(r,!0),()=>go(r)}const SP=["TopLeft","TopRight","BottomLeft","BottomRight"],eU=SP.length,w4=e=>typeof e=="string"?parseFloat(e):e,k4=e=>typeof e=="number"||be.test(e);function tU(e,t,n,r,i,o){i?(e.opacity=ft(0,n.opacity!==void 0?n.opacity:1,nU(r)),e.opacityExit=ft(t.opacity!==void 0?t.opacity:1,0,rU(r))):o&&(e.opacity=ft(t.opacity!==void 0?t.opacity:1,n.opacity!==void 0?n.opacity:1,r));for(let a=0;a<eU;a++){const l=`border${SP[a]}Radius`;let c=C4(t,l),u=C4(n,l);if(c===void 0&&u===void 0)continue;c||(c=0),u||(u=0),c===0||u===0||k4(c)===k4(u)?(e[l]=Math.max(ft(w4(c),w4(u),r),0),(Xr.test(u)||Xr.test(c))&&(e[l]+="%")):e[l]=u}(t.rotate||n.rotate)&&(e.rotate=ft(t.rotate||0,n.rotate||0,r))}function C4(e,t){return e[t]!==void 0?e[t]:e.borderRadius}const nU=wP(0,.5,Fj),rU=wP(.5,.95,Wn);function wP(e,t,n){return r=>r<e?0:r>t?1:n(Qs(e,t,r))}function j4(e,t){e.min=t.min,e.max=t.max}function er(e,t){j4(e.x,t.x),j4(e.y,t.y)}function P4(e,t){e.translate=t.translate,e.scale=t.scale,e.originPoint=t.originPoint,e.origin=t.origin}function _4(e,t,n,r,i){return e-=t,e=kp(e,1/n,r),i!==void 0&&(e=kp(e,1/i,r)),e}function iU(e,t=0,n=1,r=.5,i,o=e,a=e){if(Xr.test(t)&&(t=parseFloat(t),t=ft(a.min,a.max,t/100)-a.min),typeof t!="number")return;let l=ft(o.min,o.max,r);e===o&&(l-=t),e.min=_4(e.min,t,n,l,i),e.max=_4(e.max,t,n,l,i)}function T4(e,t,[n,r,i],o,a){iU(e,t[n],t[r],t[i],t.scale,o,a)}const oU=["x","scaleX","originX"],aU=["y","scaleY","originY"];function E4(e,t,n,r){T4(e.x,t,oU,n?n.x:void 0,r?r.x:void 0),T4(e.y,t,aU,n?n.y:void 0,r?r.y:void 0)}function A4(e){return e.translate===0&&e.scale===1}function kP(e){return A4(e.x)&&A4(e.y)}function $4(e,t){return e.min===t.min&&e.max===t.max}function sU(e,t){return $4(e.x,t.x)&&$4(e.y,t.y)}function z4(e,t){return Math.round(e.min)===Math.round(t.min)&&Math.round(e.max)===Math.round(t.max)}function CP(e,t){return z4(e.x,t.x)&&z4(e.y,t.y)}function R4(e){return Un(e.x)/Un(e.y)}function I4(e,t){return e.translate===t.translate&&e.scale===t.scale&&e.originPoint===t.originPoint}class lU{constructor(){this.members=[]}add(t){qy(this.members,t),t.scheduleRender()}remove(t){if(Xy(this.members,t),t===this.prevLead&&(this.prevLead=void 0),t===this.lead){const n=this.members[this.members.length-1];n&&this.promote(n)}}relegate(t){const n=this.members.findIndex(i=>t===i);if(n===0)return!1;let r;for(let i=n;i>=0;i--){const o=this.members[i];if(o.isPresent!==!1){r=o;break}}return r?(this.promote(r),!0):!1}promote(t,n){const r=this.lead;if(t!==r&&(this.prevLead=r,this.lead=t,t.show(),r)){r.instance&&r.scheduleRender(),t.scheduleRender(),t.resumeFrom=r,n&&(t.resumeFrom.preserveOpacity=!0),r.snapshot&&(t.snapshot=r.snapshot,t.snapshot.latestValues=r.animationValues||r.latestValues),t.root&&t.root.isUpdating&&(t.isLayoutDirty=!0);const{crossfade:i}=t.options;i===!1&&r.hide()}}exitAnimationComplete(){this.members.forEach(t=>{const{options:n,resumingFrom:r}=t;n.onExitComplete&&n.onExitComplete(),r&&r.options.onExitComplete&&r.options.onExitComplete()})}scheduleRender(){this.members.forEach(t=>{t.instance&&t.scheduleRender(!1)})}removeLeadSnapshot(){this.lead&&this.lead.snapshot&&(this.lead.snapshot=void 0)}}function cU(e,t,n){let r="";const i=e.x.translate/t.x,o=e.y.translate/t.y,a=(n==null?void 0:n.z)||0;if((i||o||a)&&(r=`translate3d(${i}px, ${o}px, ${a}px) `),(t.x!==1||t.y!==1)&&(r+=`scale(${1/t.x}, ${1/t.y}) `),n){const{transformPerspective:u,rotate:d,rotateX:f,rotateY:p,skewX:h,skewY:v}=n;u&&(r=`perspective(${u}px) ${r}`),d&&(r+=`rotate(${d}deg) `),f&&(r+=`rotateX(${f}deg) `),p&&(r+=`rotateY(${p}deg) `),h&&(r+=`skewX(${h}deg) `),v&&(r+=`skewY(${v}deg) `)}const l=e.x.scale*t.x,c=e.y.scale*t.y;return(l!==1||c!==1)&&(r+=`scale(${l}, ${c})`),r||"none"}const Ho={type:"projectionFrame",totalNodes:0,resolvedTargetDeltas:0,recalculatedProjection:0},Jl=typeof window<"u"&&window.MotionDebug!==void 0,c0=["","X","Y","Z"],uU={visibility:"hidden"},M4=1e3;let dU=0;function u0(e,t,n,r){const{latestValues:i}=t;i[e]&&(n[e]=i[e],t.setStaticValue(e,0),r&&(r[e]=0))}function jP(e){if(e.hasCheckedOptimisedAppear=!0,e.root===e)return;const{visualElement:t}=e.options;if(!t)return;const n=Rj(t);if(window.MotionHasOptimisedAnimation(n,"transform")){const{layout:i,layoutId:o}=e.options;window.MotionCancelOptimisedAnimation(n,"transform",it,!(i||o))}const{parent:r}=e;r&&!r.hasCheckedOptimisedAppear&&jP(r)}function PP({attachResizeListener:e,defaultParent:t,measureScroll:n,checkIsScrollRoot:r,resetTransform:i}){return class{constructor(a={},l=t==null?void 0:t()){this.id=dU++,this.animationId=0,this.children=new Set,this.options={},this.isTreeAnimating=!1,this.isAnimationBlocked=!1,this.isLayoutDirty=!1,this.isProjectionDirty=!1,this.isSharedProjectionDirty=!1,this.isTransformDirty=!1,this.updateManuallyBlocked=!1,this.updateBlockedByResize=!1,this.isUpdating=!1,this.isSVG=!1,this.needsReset=!1,this.shouldResetTransform=!1,this.hasCheckedOptimisedAppear=!1,this.treeScale={x:1,y:1},this.eventHandlers=new Map,this.hasTreeAnimated=!1,this.updateScheduled=!1,this.scheduleUpdate=()=>this.update(),this.projectionUpdateScheduled=!1,this.checkUpdateFailed=()=>{this.isUpdating&&(this.isUpdating=!1,this.clearAllSnapshots())},this.updateProjection=()=>{this.projectionUpdateScheduled=!1,Jl&&(Ho.totalNodes=Ho.resolvedTargetDeltas=Ho.recalculatedProjection=0),this.nodes.forEach(mU),this.nodes.forEach(bU),this.nodes.forEach(xU),this.nodes.forEach(hU),Jl&&window.MotionDebug.record(Ho)},this.resolvedRelativeTargetAt=0,this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=a,this.root=l?l.root||l:this,this.path=l?[...l.path,l]:[],this.parent=l,this.depth=l?l.depth+1:0;for(let c=0;c<this.path.length;c++)this.path[c].shouldResetTransform=!0;this.root===this&&(this.nodes=new ZV)}addEventListener(a,l){return this.eventHandlers.has(a)||this.eventHandlers.set(a,new Yy),this.eventHandlers.get(a).add(l)}notifyListeners(a,...l){const c=this.eventHandlers.get(a);c&&c.notify(...l)}hasListeners(a){return this.eventHandlers.has(a)}mount(a,l=this.root.hasTreeAnimated){if(this.instance)return;this.isSVG=YV(a),this.instance=a;const{layoutId:c,layout:u,visualElement:d}=this.options;if(d&&!d.current&&d.mount(a),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),l&&(u||c)&&(this.isLayoutDirty=!0),e){let f;const p=()=>this.root.updateBlockedByResize=!1;e(a,()=>{this.root.updateBlockedByResize=!0,f&&f(),f=JV(p,250),Cf.hasAnimatedSinceResize&&(Cf.hasAnimatedSinceResize=!1,this.nodes.forEach(N4))})}c&&this.root.registerSharedNode(c,this),this.options.animate!==!1&&d&&(c||u)&&this.addEventListener("didUpdate",({delta:f,hasLayoutChanged:p,hasRelativeTargetChanged:h,layout:v})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}const b=this.options.transition||d.getDefaultTransition()||jU,{onLayoutAnimationStart:x,onLayoutAnimationComplete:y}=d.getProps(),g=!this.targetLayout||!CP(this.targetLayout,v)||h,S=!p&&h;if(this.options.layoutRoot||this.resumeFrom&&this.resumeFrom.instance||S||p&&(g||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0),this.setAnimationOrigin(f,S);const w={...Uy(b,"layout"),onPlay:x,onComplete:y};(d.shouldReduceMotion||this.options.layoutRoot)&&(w.delay=0,w.type=!1),this.startAnimation(w)}else p||N4(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=v})}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);const a=this.getStack();a&&a.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,go(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(SU),this.animationId++)}getTransformTemplate(){const{visualElement:a}=this.options;return a&&a.getProps().transformTemplate}willUpdate(a=!0){if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked()){this.options.onExitComplete&&this.options.onExitComplete();return}if(window.MotionCancelOptimisedAnimation&&!this.hasCheckedOptimisedAppear&&jP(this),!this.root.isUpdating&&this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let d=0;d<this.path.length;d++){const f=this.path[d];f.shouldResetTransform=!0,f.updateScroll("snapshot"),f.options.layoutRoot&&f.willUpdate(!1)}const{layoutId:l,layout:c}=this.options;if(l===void 0&&!c)return;const u=this.getTransformTemplate();this.prevTransformTemplateValue=u?u(this.latestValues,""):void 0,this.updateSnapshot(),a&&this.notifyListeners("willUpdate")}update(){if(this.updateScheduled=!1,this.isUpdateBlocked()){this.unblockUpdate(),this.clearAllSnapshots(),this.nodes.forEach(L4);return}this.isUpdating||this.nodes.forEach(vU),this.isUpdating=!1,this.nodes.forEach(yU),this.nodes.forEach(fU),this.nodes.forEach(pU),this.clearAllSnapshots();const l=Yr.now();qt.delta=Pi(0,1e3/60,l-qt.timestamp),qt.timestamp=l,qt.isProcessing=!0,e0.update.process(qt),e0.preRender.process(qt),e0.render.process(qt),qt.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,Iy.read(this.scheduleUpdate))}clearAllSnapshots(){this.nodes.forEach(gU),this.sharedNodes.forEach(wU)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,it.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){it.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){this.snapshot||!this.instance||(this.snapshot=this.measure())}updateLayout(){if(!this.instance||(this.updateScroll(),!(this.options.alwaysMeasureLayout&&this.isLead())&&!this.isLayoutDirty))return;if(this.resumeFrom&&!this.resumeFrom.instance)for(let c=0;c<this.path.length;c++)this.path[c].updateScroll();const a=this.layout;this.layout=this.measure(!1),this.layoutCorrected=kt(),this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners("measure",this.layout.layoutBox);const{visualElement:l}=this.options;l&&l.notify("LayoutMeasure",this.layout.layoutBox,a?a.layoutBox:void 0)}updateScroll(a="measure"){let l=!!(this.options.layoutScroll&&this.instance);if(this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===a&&(l=!1),l){const c=r(this.instance);this.scroll={animationId:this.root.animationId,phase:a,isRoot:c,offset:n(this.instance),wasRoot:this.scroll?this.scroll.isRoot:c}}}resetTransform(){if(!i)return;const a=this.isLayoutDirty||this.shouldResetTransform||this.options.alwaysMeasureLayout,l=this.projectionDelta&&!kP(this.projectionDelta),c=this.getTransformTemplate(),u=c?c(this.latestValues,""):void 0,d=u!==this.prevTransformTemplateValue;a&&(l||Uo(this.latestValues)||d)&&(i(this.instance,u),this.shouldResetTransform=!1,this.scheduleRender())}measure(a=!0){const l=this.measurePageBox();let c=this.removeElementScroll(l);return a&&(c=this.removeTransform(c)),PU(c),{animationId:this.root.animationId,measuredBox:l,layoutBox:c,latestValues:{},source:this.id}}measurePageBox(){var a;const{visualElement:l}=this.options;if(!l)return kt();const c=l.measureViewportBox();if(!(((a=this.scroll)===null||a===void 0?void 0:a.wasRoot)||this.path.some(_U))){const{scroll:d}=this.root;d&&(gs(c.x,d.offset.x),gs(c.y,d.offset.y))}return c}removeElementScroll(a){var l;const c=kt();if(er(c,a),!((l=this.scroll)===null||l===void 0)&&l.wasRoot)return c;for(let u=0;u<this.path.length;u++){const d=this.path[u],{scroll:f,options:p}=d;d!==this.root&&f&&p.layoutScroll&&(f.wasRoot&&er(c,a),gs(c.x,f.offset.x),gs(c.y,f.offset.y))}return c}applyTransform(a,l=!1){const c=kt();er(c,a);for(let u=0;u<this.path.length;u++){const d=this.path[u];!l&&d.options.layoutScroll&&d.scroll&&d!==d.root&&vs(c,{x:-d.scroll.offset.x,y:-d.scroll.offset.y}),Uo(d.latestValues)&&vs(c,d.latestValues)}return Uo(this.latestValues)&&vs(c,this.latestValues),c}removeTransform(a){const l=kt();er(l,a);for(let c=0;c<this.path.length;c++){const u=this.path[c];if(!u.instance||!Uo(u.latestValues))continue;uv(u.latestValues)&&u.updateSnapshot();const d=kt(),f=u.measurePageBox();er(d,f),E4(l,u.latestValues,u.snapshot?u.snapshot.layoutBox:void 0,d)}return Uo(this.latestValues)&&E4(l,this.latestValues),l}setTargetDelta(a){this.targetDelta=a,this.root.scheduleUpdateProjection(),this.isProjectionDirty=!0}setOptions(a){this.options={...this.options,...a,crossfade:a.crossfade!==void 0?a.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!==qt.timestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(a=!1){var l;const c=this.getLead();this.isProjectionDirty||(this.isProjectionDirty=c.isProjectionDirty),this.isTransformDirty||(this.isTransformDirty=c.isTransformDirty),this.isSharedProjectionDirty||(this.isSharedProjectionDirty=c.isSharedProjectionDirty);const u=!!this.resumingFrom||this!==c;if(!(a||u&&this.isSharedProjectionDirty||this.isProjectionDirty||!((l=this.parent)===null||l===void 0)&&l.isProjectionDirty||this.attemptToResolveRelativeTarget||this.root.updateBlockedByResize))return;const{layout:f,layoutId:p}=this.options;if(!(!this.layout||!(f||p))){if(this.resolvedRelativeTargetAt=qt.timestamp,!this.targetDelta&&!this.relativeTarget){const h=this.getClosestProjectingParent();h&&h.layout&&this.animationProgress!==1?(this.relativeParent=h,this.forceRelativeParentToResolveTarget(),this.relativeTarget=kt(),this.relativeTargetOrigin=kt(),wc(this.relativeTargetOrigin,this.layout.layoutBox,h.layout.layoutBox),er(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}if(!(!this.relativeTarget&&!this.targetDelta)){if(this.target||(this.target=kt(),this.targetWithTransforms=kt()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target?(this.forceRelativeParentToResolveTarget(),AV(this.target,this.relativeTarget,this.relativeParent.target)):this.targetDelta?(this.resumingFrom?this.target=this.applyTransform(this.layout.layoutBox):er(this.target,this.layout.layoutBox),vP(this.target,this.targetDelta)):er(this.target,this.layout.layoutBox),this.attemptToResolveRelativeTarget){this.attemptToResolveRelativeTarget=!1;const h=this.getClosestProjectingParent();h&&!!h.resumingFrom==!!this.resumingFrom&&!h.options.layoutScroll&&h.target&&this.animationProgress!==1?(this.relativeParent=h,this.forceRelativeParentToResolveTarget(),this.relativeTarget=kt(),this.relativeTargetOrigin=kt(),wc(this.relativeTargetOrigin,this.target,h.target),er(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}Jl&&Ho.resolvedTargetDeltas++}}}getClosestProjectingParent(){if(!(!this.parent||uv(this.parent.latestValues)||gP(this.parent.latestValues)))return this.parent.isProjecting()?this.parent:this.parent.getClosestProjectingParent()}isProjecting(){return!!((this.relativeTarget||this.targetDelta||this.options.layoutRoot)&&this.layout)}calcProjection(){var a;const l=this.getLead(),c=!!this.resumingFrom||this!==l;let u=!0;if((this.isProjectionDirty||!((a=this.parent)===null||a===void 0)&&a.isProjectionDirty)&&(u=!1),c&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(u=!1),this.resolvedRelativeTargetAt===qt.timestamp&&(u=!1),u)return;const{layout:d,layoutId:f}=this.options;if(this.isTreeAnimating=!!(this.parent&&this.parent.isTreeAnimating||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),!this.layout||!(d||f))return;er(this.layoutCorrected,this.layout.layoutBox);const p=this.treeScale.x,h=this.treeScale.y;OV(this.layoutCorrected,this.treeScale,this.path,c),l.layout&&!l.target&&(this.treeScale.x!==1||this.treeScale.y!==1)&&(l.target=l.layout.layoutBox,l.targetWithTransforms=kt());const{target:v}=l;if(!v){this.prevProjectionDelta&&(this.createProjectionDeltas(),this.scheduleRender());return}!this.projectionDelta||!this.prevProjectionDelta?this.createProjectionDeltas():(P4(this.prevProjectionDelta.x,this.projectionDelta.x),P4(this.prevProjectionDelta.y,this.projectionDelta.y)),Sc(this.projectionDelta,this.layoutCorrected,v,this.latestValues),(this.treeScale.x!==p||this.treeScale.y!==h||!I4(this.projectionDelta.x,this.prevProjectionDelta.x)||!I4(this.projectionDelta.y,this.prevProjectionDelta.y))&&(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",v)),Jl&&Ho.recalculatedProjection++}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(a=!0){var l;if((l=this.options.visualElement)===null||l===void 0||l.scheduleRender(),a){const c=this.getStack();c&&c.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}createProjectionDeltas(){this.prevProjectionDelta=hs(),this.projectionDelta=hs(),this.projectionDeltaWithTransform=hs()}setAnimationOrigin(a,l=!1){const c=this.snapshot,u=c?c.latestValues:{},d={...this.latestValues},f=hs();(!this.relativeParent||!this.relativeParent.options.layoutRoot)&&(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!l;const p=kt(),h=c?c.source:void 0,v=this.layout?this.layout.source:void 0,b=h!==v,x=this.getStack(),y=!x||x.members.length<=1,g=!!(b&&!y&&this.options.crossfade===!0&&!this.path.some(CU));this.animationProgress=0;let S;this.mixTargetDelta=w=>{const k=w/1e3;D4(f.x,a.x,k),D4(f.y,a.y,k),this.setTargetDelta(f),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&(wc(p,this.layout.layoutBox,this.relativeParent.layout.layoutBox),kU(this.relativeTarget,this.relativeTargetOrigin,p,k),S&&sU(this.relativeTarget,S)&&(this.isProjectionDirty=!1),S||(S=kt()),er(S,this.relativeTarget)),b&&(this.animationValues=d,tU(d,u,this.latestValues,k,g,y)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=k},this.mixTargetDelta(this.options.layoutRoot?1e3:0)}startAnimation(a){this.notifyListeners("animationStart"),this.currentAnimation&&this.currentAnimation.stop(),this.resumingFrom&&this.resumingFrom.currentAnimation&&this.resumingFrom.currentAnimation.stop(),this.pendingAnimation&&(go(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=it.update(()=>{Cf.hasAnimatedSinceResize=!0,this.currentAnimation=XV(0,M4,{...a,onUpdate:l=>{this.mixTargetDelta(l),a.onUpdate&&a.onUpdate(l)},onComplete:()=>{a.onComplete&&a.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 a=this.getStack();a&&a.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")}finishAnimation(){this.currentAnimation&&(this.mixTargetDelta&&this.mixTargetDelta(M4),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){const a=this.getLead();let{targetWithTransforms:l,target:c,layout:u,latestValues:d}=a;if(!(!l||!c||!u)){if(this!==a&&this.layout&&u&&_P(this.options.animationType,this.layout.layoutBox,u.layoutBox)){c=this.target||kt();const f=Un(this.layout.layoutBox.x);c.x.min=a.target.x.min,c.x.max=c.x.min+f;const p=Un(this.layout.layoutBox.y);c.y.min=a.target.y.min,c.y.max=c.y.min+p}er(l,c),vs(l,d),Sc(this.projectionDeltaWithTransform,this.layoutCorrected,l,d)}}registerSharedNode(a,l){this.sharedNodes.has(a)||this.sharedNodes.set(a,new lU),this.sharedNodes.get(a).add(l);const u=l.options.initialPromotionConfig;l.promote({transition:u?u.transition:void 0,preserveFollowOpacity:u&&u.shouldPreserveFollowOpacity?u.shouldPreserveFollowOpacity(l):void 0})}isLead(){const a=this.getStack();return a?a.lead===this:!0}getLead(){var a;const{layoutId:l}=this.options;return l?((a=this.getStack())===null||a===void 0?void 0:a.lead)||this:this}getPrevLead(){var a;const{layoutId:l}=this.options;return l?(a=this.getStack())===null||a===void 0?void 0:a.prevLead:void 0}getStack(){const{layoutId:a}=this.options;if(a)return this.root.sharedNodes.get(a)}promote({needsReset:a,transition:l,preserveFollowOpacity:c}={}){const u=this.getStack();u&&u.promote(this,c),a&&(this.projectionDelta=void 0,this.needsReset=!0),l&&this.setOptions({transition:l})}relegate(){const a=this.getStack();return a?a.relegate(this):!1}resetSkewAndRotation(){const{visualElement:a}=this.options;if(!a)return;let l=!1;const{latestValues:c}=a;if((c.z||c.rotate||c.rotateX||c.rotateY||c.rotateZ||c.skewX||c.skewY)&&(l=!0),!l)return;const u={};c.z&&u0("z",a,u,this.animationValues);for(let d=0;d<c0.length;d++)u0(`rotate${c0[d]}`,a,u,this.animationValues),u0(`skew${c0[d]}`,a,u,this.animationValues);a.render();for(const d in u)a.setStaticValue(d,u[d]),this.animationValues&&(this.animationValues[d]=u[d]);a.scheduleRender()}getProjectionStyles(a){var l,c;if(!this.instance||this.isSVG)return;if(!this.isVisible)return uU;const u={visibility:""},d=this.getTransformTemplate();if(this.needsReset)return this.needsReset=!1,u.opacity="",u.pointerEvents=wf(a==null?void 0:a.pointerEvents)||"",u.transform=d?d(this.latestValues,""):"none",u;const f=this.getLead();if(!this.projectionDelta||!this.layout||!f.target){const b={};return this.options.layoutId&&(b.opacity=this.latestValues.opacity!==void 0?this.latestValues.opacity:1,b.pointerEvents=wf(a==null?void 0:a.pointerEvents)||""),this.hasProjected&&!Uo(this.latestValues)&&(b.transform=d?d({},""):"none",this.hasProjected=!1),b}const p=f.animationValues||f.latestValues;this.applyTransformsToTarget(),u.transform=cU(this.projectionDeltaWithTransform,this.treeScale,p),d&&(u.transform=d(p,u.transform));const{x:h,y:v}=this.projectionDelta;u.transformOrigin=`${h.origin*100}% ${v.origin*100}% 0`,f.animationValues?u.opacity=f===this?(c=(l=p.opacity)!==null&&l!==void 0?l:this.latestValues.opacity)!==null&&c!==void 0?c:1:this.preserveOpacity?this.latestValues.opacity:p.opacityExit:u.opacity=f===this?p.opacity!==void 0?p.opacity:"":p.opacityExit!==void 0?p.opacityExit:0;for(const b in yp){if(p[b]===void 0)continue;const{correct:x,applyTo:y}=yp[b],g=u.transform==="none"?p[b]:x(p[b],f);if(y){const S=y.length;for(let w=0;w<S;w++)u[y[w]]=g}else u[b]=g}return this.options.layoutId&&(u.pointerEvents=f===this?wf(a==null?void 0:a.pointerEvents)||"":"none"),u}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(a=>{var l;return(l=a.currentAnimation)===null||l===void 0?void 0:l.stop()}),this.root.nodes.forEach(L4),this.root.sharedNodes.clear()}}}function fU(e){e.updateLayout()}function pU(e){var t;const n=((t=e.resumeFrom)===null||t===void 0?void 0:t.snapshot)||e.snapshot;if(e.isLead()&&e.layout&&n&&e.hasListeners("didUpdate")){const{layoutBox:r,measuredBox:i}=e.layout,{animationType:o}=e.options,a=n.source!==e.layout.source;o==="size"?nr(f=>{const p=a?n.measuredBox[f]:n.layoutBox[f],h=Un(p);p.min=r[f].min,p.max=p.min+h}):_P(o,n.layoutBox,r)&&nr(f=>{const p=a?n.measuredBox[f]:n.layoutBox[f],h=Un(r[f]);p.max=p.min+h,e.relativeTarget&&!e.currentAnimation&&(e.isProjectionDirty=!0,e.relativeTarget[f].max=e.relativeTarget[f].min+h)});const l=hs();Sc(l,r,n.layoutBox);const c=hs();a?Sc(c,e.applyTransform(i,!0),n.measuredBox):Sc(c,r,n.layoutBox);const u=!kP(l);let d=!1;if(!e.resumeFrom){const f=e.getClosestProjectingParent();if(f&&!f.resumeFrom){const{snapshot:p,layout:h}=f;if(p&&h){const v=kt();wc(v,n.layoutBox,p.layoutBox);const b=kt();wc(b,r,h.layoutBox),CP(v,b)||(d=!0),f.options.layoutRoot&&(e.relativeTarget=b,e.relativeTargetOrigin=v,e.relativeParent=f)}}}e.notifyListeners("didUpdate",{layout:r,snapshot:n,delta:c,layoutDelta:l,hasLayoutChanged:u,hasRelativeTargetChanged:d})}else if(e.isLead()){const{onExitComplete:r}=e.options;r&&r()}e.options.transition=void 0}function mU(e){Jl&&Ho.totalNodes++,e.parent&&(e.isProjecting()||(e.isProjectionDirty=e.parent.isProjectionDirty),e.isSharedProjectionDirty||(e.isSharedProjectionDirty=!!(e.isProjectionDirty||e.parent.isProjectionDirty||e.parent.isSharedProjectionDirty)),e.isTransformDirty||(e.isTransformDirty=e.parent.isTransformDirty))}function hU(e){e.isProjectionDirty=e.isSharedProjectionDirty=e.isTransformDirty=!1}function gU(e){e.clearSnapshot()}function L4(e){e.clearMeasurements()}function vU(e){e.isLayoutDirty=!1}function yU(e){const{visualElement:t}=e.options;t&&t.getProps().onBeforeLayoutMeasure&&t.notify("BeforeLayoutMeasure"),e.resetTransform()}function N4(e){e.finishAnimation(),e.targetDelta=e.relativeTarget=e.target=void 0,e.isProjectionDirty=!0}function bU(e){e.resolveTargetDelta()}function xU(e){e.calcProjection()}function SU(e){e.resetSkewAndRotation()}function wU(e){e.removeLeadSnapshot()}function D4(e,t,n){e.translate=ft(t.translate,0,n),e.scale=ft(t.scale,1,n),e.origin=t.origin,e.originPoint=t.originPoint}function O4(e,t,n,r){e.min=ft(t.min,n.min,r),e.max=ft(t.max,n.max,r)}function kU(e,t,n,r){O4(e.x,t.x,n.x,r),O4(e.y,t.y,n.y,r)}function CU(e){return e.animationValues&&e.animationValues.opacityExit!==void 0}const jU={duration:.45,ease:[.4,0,.1,1]},F4=e=>typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(e),B4=F4("applewebkit/")&&!F4("chrome/")?Math.round:Wn;function W4(e){e.min=B4(e.min),e.max=B4(e.max)}function PU(e){W4(e.x),W4(e.y)}function _P(e,t,n){return e==="position"||e==="preserve-aspect"&&!EV(R4(t),R4(n),.2)}function _U(e){var t;return e!==e.root&&((t=e.scroll)===null||t===void 0?void 0:t.wasRoot)}const TU=PP({attachResizeListener:(e,t)=>nu(e,"resize",t),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}),checkIsScrollRoot:()=>!0}),d0={current:void 0},TP=PP({measureScroll:e=>({x:e.scrollLeft,y:e.scrollTop}),defaultParent:()=>{if(!d0.current){const e=new TU({});e.mount(window),e.setOptions({layoutScroll:!0}),d0.current=e}return d0.current},resetTransform:(e,t)=>{e.style.transform=t!==void 0?t:"none"},checkIsScrollRoot:e=>window.getComputedStyle(e).position==="fixed"}),EU={pan:{Feature:HV},drag:{Feature:UV,ProjectionNode:TP,MeasureLayout:xP}};function V4(e,t,n){const{props:r}=e;e.animationState&&r.whileHover&&e.animationState.setActive("whileHover",n==="Start");const i="onHover"+n,o=r[i];o&&it.postRender(()=>o(t,$u(t)))}class AU extends Po{mount(){const{current:t}=this.node;t&&(this.unmount=EB(t,n=>(V4(this.node,n,"Start"),r=>V4(this.node,r,"End"))))}unmount(){}}class $U extends Po{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=Au(nu(this.node.current,"focus",()=>this.onFocus()),nu(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}function U4(e,t,n){const{props:r}=e;e.animationState&&r.whileTap&&e.animationState.setActive("whileTap",n==="Start");const i="onTap"+(n==="End"?"":n),o=r[i];o&&it.postRender(()=>o(t,$u(t)))}class zU extends Po{mount(){const{current:t}=this.node;t&&(this.unmount=RB(t,n=>(U4(this.node,n,"Start"),(r,{success:i})=>U4(this.node,r,i?"End":"Cancel")),{useGlobalTarget:this.node.props.globalTapTarget}))}unmount(){}}const fv=new WeakMap,f0=new WeakMap,RU=e=>{const t=fv.get(e.target);t&&t(e)},IU=e=>{e.forEach(RU)};function MU({root:e,...t}){const n=e||document;f0.has(n)||f0.set(n,{});const r=f0.get(n),i=JSON.stringify(t);return r[i]||(r[i]=new IntersectionObserver(IU,{root:e,...t})),r[i]}function LU(e,t,n){const r=MU(t);return fv.set(e,n),r.observe(e),()=>{fv.delete(e),r.unobserve(e)}}const NU={some:0,all:1};class DU extends Po{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){this.unmount();const{viewport:t={}}=this.node.getProps(),{root:n,margin:r,amount:i="some",once:o}=t,a={root:n?n.current:void 0,rootMargin:r,threshold:typeof i=="number"?i:NU[i]},l=c=>{const{isIntersecting:u}=c;if(this.isInView===u||(this.isInView=u,o&&!u&&this.hasEnteredView))return;u&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",u);const{onViewportEnter:d,onViewportLeave:f}=this.node.getProps(),p=u?d:f;p&&p(c)};return LU(this.node.current,a,l)}mount(){this.startObserver()}update(){if(typeof IntersectionObserver>"u")return;const{props:t,prevProps:n}=this.node;["amount","margin","root"].some(OU(t,n))&&this.startObserver()}unmount(){}}function OU({viewport:e={}},{viewport:t={}}={}){return n=>e[n]!==t[n]}const FU={inView:{Feature:DU},tap:{Feature:zU},focus:{Feature:$U},hover:{Feature:AU}},BU={layout:{ProjectionNode:TP,MeasureLayout:xP}},pv={current:null},EP={current:!1};function WU(){if(EP.current=!0,!!Ey)if(window.matchMedia){const e=window.matchMedia("(prefers-reduced-motion)"),t=()=>pv.current=e.matches;e.addListener(t),t()}else pv.current=!1}const VU=[...eP,an,vo],UU=e=>VU.find(Jj(e)),H4=new WeakMap;function HU(e,t,n){for(const r in t){const i=t[r],o=n[r];if(un(i))e.addValue(r,i);else if(un(o))e.addValue(r,eu(i,{owner:e}));else if(o!==i)if(e.hasValue(r)){const a=e.getValue(r);a.liveStyle===!0?a.jump(i):a.hasAnimated||a.set(i)}else{const a=e.getStaticValue(r);e.addValue(r,eu(a!==void 0?a:i,{owner:e}))}}for(const r in n)t[r]===void 0&&e.removeValue(r);return t}const G4=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"];class GU{scrapeMotionValuesFromProps(t,n,r){return{}}constructor({parent:t,props:n,presenceContext:r,reducedMotionConfig:i,blockInitialAnimation:o,visualState:a},l={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.values=new Map,this.KeyframeResolver=nb,this.features={},this.valueSubscriptions=new Map,this.prevMotionValues={},this.events={},this.propEventSubscriptions={},this.notifyUpdate=()=>this.notify("Update",this.latestValues),this.render=()=>{this.current&&(this.triggerBuild(),this.renderInstance(this.current,this.renderState,this.props.style,this.projection))},this.renderScheduledAt=0,this.scheduleRender=()=>{const h=Yr.now();this.renderScheduledAt<h&&(this.renderScheduledAt=h,it.render(this.render,!1,!0))};const{latestValues:c,renderState:u,onUpdate:d}=a;this.onUpdate=d,this.latestValues=c,this.baseTarget={...c},this.initialValues=n.initial?{...c}:{},this.renderState=u,this.parent=t,this.props=n,this.presenceContext=r,this.depth=t?t.depth+1:0,this.reducedMotionConfig=i,this.options=l,this.blockInitialAnimation=!!o,this.isControllingVariants=wm(n),this.isVariantNode=lj(n),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(t&&t.current);const{willChange:f,...p}=this.scrapeMotionValuesFromProps(n,{},this);for(const h in p){const v=p[h];c[h]!==void 0&&un(v)&&v.set(c[h],!1)}}mount(t){this.current=t,H4.set(t,this),this.projection&&!this.projection.instance&&this.projection.mount(t),this.parent&&this.isVariantNode&&!this.isControllingVariants&&(this.removeFromVariantTree=this.parent.addVariantChild(this)),this.values.forEach((n,r)=>this.bindToMotionValue(r,n)),EP.current||WU(),this.shouldReduceMotion=this.reducedMotionConfig==="never"?!1:this.reducedMotionConfig==="always"?!0:pv.current,this.parent&&this.parent.children.add(this),this.update(this.props,this.presenceContext)}unmount(){H4.delete(this.current),this.projection&&this.projection.unmount(),go(this.notifyUpdate),go(this.render),this.valueSubscriptions.forEach(t=>t()),this.valueSubscriptions.clear(),this.removeFromVariantTree&&this.removeFromVariantTree(),this.parent&&this.parent.children.delete(this);for(const t in this.events)this.events[t].clear();for(const t in this.features){const n=this.features[t];n&&(n.unmount(),n.isMounted=!1)}this.current=null}bindToMotionValue(t,n){this.valueSubscriptions.has(t)&&this.valueSubscriptions.get(t)();const r=za.has(t),i=n.on("change",l=>{this.latestValues[t]=l,this.props.onUpdate&&it.preRender(this.notifyUpdate),r&&this.projection&&(this.projection.isTransformDirty=!0)}),o=n.on("renderRequest",this.scheduleRender);let a;window.MotionCheckAppearSync&&(a=window.MotionCheckAppearSync(this,t,n)),this.valueSubscriptions.set(t,()=>{i(),o(),a&&a(),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 Zs){const n=Zs[t];if(!n)continue;const{isEnabled:r,Feature:i}=n;if(!this.features[t]&&i&&r(this.props)&&(this.features[t]=new i(this)),this.features[t]){const o=this.features[t];o.isMounted?o.update():(o.mount(),o.isMounted=!0)}}}triggerBuild(){this.build(this.renderState,this.latestValues,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):kt()}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<G4.length;r++){const i=G4[r];this.propEventSubscriptions[i]&&(this.propEventSubscriptions[i](),delete this.propEventSubscriptions[i]);const o="on"+i,a=t[o];a&&(this.propEventSubscriptions[i]=this.on(i,a))}this.prevMotionValues=HU(this,this.scrapeMotionValuesFromProps(t,this.prevProps,this),this.prevMotionValues),this.handleChildMotionValue&&this.handleChildMotionValue(),this.onUpdate&&this.onUpdate(this)}getProps(){return this.props}getVariant(t){return this.props.variants?this.props.variants[t]:void 0}getDefaultTransition(){return this.props.transition}getTransformPagePoint(){return this.props.transformPagePoint}getClosestVariantNode(){return this.isVariantNode?this:this.parent?this.parent.getClosestVariantNode():void 0}addVariantChild(t){const n=this.getClosestVariantNode();if(n)return n.variantChildren&&n.variantChildren.add(t),()=>n.variantChildren.delete(t)}addValue(t,n){const r=this.values.get(t);n!==r&&(r&&this.removeValue(t),this.bindToMotionValue(t,n),this.values.set(t,n),this.latestValues[t]=n.get())}removeValue(t){this.values.delete(t);const n=this.valueSubscriptions.get(t);n&&(n(),this.valueSubscriptions.delete(t)),delete this.latestValues[t],this.removeValueFromRenderState(t,this.renderState)}hasValue(t){return this.values.has(t)}getValue(t,n){if(this.props.values&&this.props.values[t])return this.props.values[t];let r=this.values.get(t);return r===void 0&&n!==void 0&&(r=eu(n===null?void 0:n,{owner:this}),this.addValue(t,r)),r}readValue(t,n){var r;let i=this.latestValues[t]!==void 0||!this.current?this.latestValues[t]:(r=this.getBaseTargetFromProps(this.props,t))!==null&&r!==void 0?r:this.readValueFromInstance(this.current,t,this.options);return i!=null&&(typeof i=="string"&&(Qj(i)||Wj(i))?i=parseFloat(i):!UU(i)&&vo.test(n)&&(i=qj(t,n)),this.setBaseTarget(t,un(i)?i.get():i)),un(i)?i.get():i}setBaseTarget(t,n){this.baseTarget[t]=n}getBaseTarget(t){var n;const{initial:r}=this.props;let i;if(typeof r=="string"||typeof r=="object"){const a=Ly(this.props,r,(n=this.presenceContext)===null||n===void 0?void 0:n.custom);a&&(i=a[t])}if(r&&i!==void 0)return i;const o=this.getBaseTargetFromProps(this.props,t);return o!==void 0&&!un(o)?o:this.initialValues[t]!==void 0&&i===void 0?void 0:this.baseTarget[t]}on(t,n){return this.events[t]||(this.events[t]=new Yy),this.events[t].add(n)}notify(t,...n){this.events[t]&&this.events[t].notify(...n)}}class AP extends GU{constructor(){super(...arguments),this.KeyframeResolver=tP}sortInstanceNodePosition(t,n){return t.compareDocumentPosition(n)&2?1:-1}getBaseTargetFromProps(t,n){return t.style?t.style[n]:void 0}removeValueFromRenderState(t,{vars:n,style:r}){delete n[t],delete r[t]}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);const{children:t}=this.props;un(t)&&(this.childSubscription=t.on("change",n=>{this.current&&(this.current.textContent=`${n}`)}))}}function KU(e){return window.getComputedStyle(e)}class qU extends AP{constructor(){super(...arguments),this.type="html",this.renderInstance=vj}readValueFromInstance(t,n){if(za.has(n)){const r=tb(n);return r&&r.default||0}else{const r=KU(t),i=(mj(n)?r.getPropertyValue(n):r[n])||0;return typeof i=="string"?i.trim():i}}measureInstanceViewportBox(t,{transformPagePoint:n}){return yP(t,n)}build(t,n,r){Oy(t,n,r.transformTemplate)}scrapeMotionValuesFromProps(t,n,r){return Vy(t,n,r)}}class XU extends AP{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=kt}getBaseTargetFromProps(t,n){return t[n]}readValueFromInstance(t,n){if(za.has(n)){const r=tb(n);return r&&r.default||0}return n=yj.has(n)?n:Ry(n),t.getAttribute(n)}scrapeMotionValuesFromProps(t,n,r){return Sj(t,n,r)}build(t,n,r){Fy(t,n,this.isSVGTag,r.transformTemplate)}renderInstance(t,n,r,i){bj(t,n,r,i)}mount(t){this.isSVGTag=Wy(t.tagName),super.mount(t)}}const YU=(e,t)=>My(e)?new XU(t):new qU(t,{allowProjection:e!==m.Fragment}),QU=wB({...xV,...FU,...EU,...BU},YU),Xn=NF(QU),ZU=(e,t)=>e.find(n=>n.id===t);function K4(e,t){const n=$P(e,t),r=n?e[n].findIndex(i=>i.id===t):-1;return{position:n,index:r}}function $P(e,t){for(const[n,r]of Object.entries(e))if(ZU(r,t))return n}function JU(e){const t=e.includes("right"),n=e.includes("left");let r="center";return t&&(r="flex-end"),n&&(r="flex-start"),{display:"flex",flexDirection:"column",alignItems:r}}function eH(e){const n=e==="top"||e==="bottom"?"0 auto":void 0,r=e.includes("top")?"env(safe-area-inset-top, 0px)":void 0,i=e.includes("bottom")?"env(safe-area-inset-bottom, 0px)":void 0,o=e.includes("left")?void 0:"env(safe-area-inset-right, 0px)",a=e.includes("right")?void 0:"env(safe-area-inset-left, 0px)";return{position:"fixed",zIndex:"var(--toast-z-index, 5500)",pointerEvents:"none",display:"flex",flexDirection:"column",margin:n,top:r,bottom:i,right:o,left:a}}var tH=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|disableRemotePlayback|download|draggable|encType|enterKeyHint|fetchpriority|fetchPriority|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|popover|popoverTarget|popoverTargetAction|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,nH=W6(function(e){return tH.test(e)||e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)<91}),rH=nH,iH=function(t){return t!=="theme"},q4=function(t){return typeof t=="string"&&t.charCodeAt(0)>96?rH:iH},X4=function(t,n,r){var i;if(n){var o=n.shouldForwardProp;i=t.__emotion_forwardProp&&o?function(a){return t.__emotion_forwardProp(a)&&o(a)}:o}return typeof i!="function"&&r&&(i=t.__emotion_forwardProp),i},oH=function(t){var n=t.cache,r=t.serialized,i=t.isStringTag;return yy(n,r,i),Q6(function(){return by(n,r,i)}),null},aH=function e(t,n){var r=t.__emotion_real===t,i=r&&t.__emotion_base||t,o,a;n!==void 0&&(o=n.label,a=n.target);var l=X4(t,n,r),c=l||q4(i),u=!c("as");return function(){var d=arguments,f=r&&t.__emotion_styles!==void 0?t.__emotion_styles.slice(0):[];if(o!==void 0&&f.push("label:"+o+";"),d[0]==null||d[0].raw===void 0)f.push.apply(f,d);else{var p=d[0];f.push(p[0]);for(var h=d.length,v=1;v<h;v++)f.push(d[v],p[v])}var b=Sy(function(x,y,g){var S=u&&x.as||i,w="",k=[],P=x;if(x.theme==null){P={};for(var _ in x)P[_]=x[_];P.theme=m.useContext(Ys)}typeof x.className=="string"?w=q6(y.registered,k,x.className):x.className!=null&&(w=x.className+" ");var j=ym(f.concat(k),y.registered,P);w+=y.key+"-"+j.name,a!==void 0&&(w+=" "+a);var z=u&&l===void 0?q4(S):c,$={};for(var W in x)u&&W==="as"||z(W)&&($[W]=x[W]);return $.className=w,g&&($.ref=g),m.createElement(m.Fragment,null,m.createElement(oH,{cache:y,serialized:j,isStringTag:typeof S=="string"}),m.createElement(S,$))});return b.displayName=o!==void 0?o:"Styled("+(typeof i=="string"?i:i.displayName||i.name||"Component")+")",b.defaultProps=t.defaultProps,b.__emotion_real=b,b.__emotion_base=i,b.__emotion_styles=f,b.__emotion_forwardProp=l,Object.defineProperty(b,"toString",{value:function(){return"."+a}}),b.withComponent=function(x,y){var g=e(x,wa({},n,y,{shouldForwardProp:X4(b,y,!0)}));return g.apply(void 0,f)},b}},sH=["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","marquee","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"],mv=aH.bind(null);sH.forEach(function(e){mv[e]=mv(e)});const lH=new Set([...Nz,"textStyle","layerStyle","apply","noOfLines","focusBorderColor","errorBorderColor","as","__css","css","sx"]),cH=new Set(["htmlWidth","htmlHeight","htmlSize","htmlTranslate"]);function uH(e){return(cH.has(e)||!lH.has(e))&&e[0]!=="_"}const dH=W$(mv),fH=({baseStyle:e})=>t=>{const{theme:n,css:r,__css:i,sx:o,...a}=t,[l]=K$(a,Oz),c=cn(e,t),u=_$({},i,c,ty(l),o),d=u6(u)(t.theme);return r?[d,r]:d};function p0(e,t){const{baseStyle:n,...r}=t??{};r.shouldForwardProp||(r.shouldForwardProp=uH);const i=fH({baseStyle:n}),o=dH(e,r)(i);return m.forwardRef(function(c,u){const{children:d,...f}=c,{colorMode:p,forced:h}=Pu(),v=h?p:void 0;return m.createElement(o,{ref:u,"data-theme":v,...f},d)})}function pH(){const e=new Map;return new Proxy(p0,{apply(t,n,r){return p0(...r)},get(t,n){return e.has(n)||e.set(n,p0(n)),e.get(n)}})}const D=pH(),mH={initial:e=>{const{position:t}=e,n=["top","bottom"].includes(t)?"y":"x";let r=["top-right","bottom-right"].includes(t)?1:-1;return t==="bottom"&&(r=1),{opacity:0,[n]:r*24}},animate:{opacity:1,y:0,x:0,scale:1,transition:{duration:.4,ease:[.4,0,.2,1]}},exit:{opacity:0,scale:.85,transition:{duration:.2,ease:[.4,0,1,1]}}},zP=m.memo(e=>{const{id:t,message:n,onCloseComplete:r,onRequestRemove:i,requestClose:o=!1,position:a="bottom",duration:l=5e3,containerStyle:c,motionVariants:u=mH,toastSpacing:d="0.5rem"}=e,[f,p]=m.useState(l),h=TF();dp(()=>{h||r==null||r()},[h]),dp(()=>{p(l)},[l]);const v=()=>p(null),b=()=>p(l),x=()=>{h&&i()};m.useEffect(()=>{h&&o&&i()},[h,o,i]),rz(x,f);const y=m.useMemo(()=>({pointerEvents:"auto",maxWidth:560,minWidth:300,margin:d,...c}),[c,d]),g=m.useMemo(()=>JU(a),[a]);return s.jsx(Xn.div,{layout:!0,className:"chakra-toast",variants:u,initial:"initial",animate:"animate",exit:"exit",onHoverStart:v,onHoverEnd:b,custom:{position:a},style:g,children:s.jsx(D.div,{role:"status","aria-atomic":"true",className:"chakra-toast__inner",__css:y,children:cn(n,{id:t,onClose:x})})})});zP.displayName="ToastComponent";function B(e){return m.forwardRef(e)}var hH=typeof Element<"u",gH=typeof Map=="function",vH=typeof Set=="function",yH=typeof ArrayBuffer=="function"&&!!ArrayBuffer.isView;function jf(e,t){if(e===t)return!0;if(e&&t&&typeof e=="object"&&typeof t=="object"){if(e.constructor!==t.constructor)return!1;var n,r,i;if(Array.isArray(e)){if(n=e.length,n!=t.length)return!1;for(r=n;r--!==0;)if(!jf(e[r],t[r]))return!1;return!0}var o;if(gH&&e instanceof Map&&t instanceof Map){if(e.size!==t.size)return!1;for(o=e.entries();!(r=o.next()).done;)if(!t.has(r.value[0]))return!1;for(o=e.entries();!(r=o.next()).done;)if(!jf(r.value[1],t.get(r.value[0])))return!1;return!0}if(vH&&e instanceof Set&&t instanceof Set){if(e.size!==t.size)return!1;for(o=e.entries();!(r=o.next()).done;)if(!t.has(r.value[0]))return!1;return!0}if(yH&&ArrayBuffer.isView(e)&&ArrayBuffer.isView(t)){if(n=e.length,n!=t.length)return!1;for(r=n;r--!==0;)if(e[r]!==t[r])return!1;return!0}if(e.constructor===RegExp)return e.source===t.source&&e.flags===t.flags;if(e.valueOf!==Object.prototype.valueOf&&typeof e.valueOf=="function"&&typeof t.valueOf=="function")return e.valueOf()===t.valueOf();if(e.toString!==Object.prototype.toString&&typeof e.toString=="function"&&typeof t.toString=="function")return e.toString()===t.toString();if(i=Object.keys(e),n=i.length,n!==Object.keys(t).length)return!1;for(r=n;r--!==0;)if(!Object.prototype.hasOwnProperty.call(t,i[r]))return!1;if(hH&&e instanceof Element)return!1;for(r=n;r--!==0;)if(!((i[r]==="_owner"||i[r]==="__v"||i[r]==="__o")&&e.$$typeof)&&!jf(e[i[r]],t[i[r]]))return!1;return!0}return e!==e&&t!==t}var bH=function(t,n){try{return jf(t,n)}catch(r){if((r.message||"").match(/stack|recursion/i))return console.warn("react-fast-compare cannot handle circular refs"),!1;throw r}};const xH=r1(bH);function zi(){const e=m.useContext(Ys);if(!e)throw Error("useTheme: `theme` is undefined. Seems you forgot to wrap your app in `<ChakraProvider />` or `<ThemeProvider />`");return e}function RP(){const e=Pu(),t=zi();return{...e,theme:t}}function SH(e,t,n){if(t==null)return t;const r=i=>{var o,a;return(a=(o=e.__cssMap)==null?void 0:o[i])==null?void 0:a.value};return r(t)??r(n)??n}function wH(e,t,n){const r=Array.isArray(t)?t:[t],i=Array.isArray(n)?n:[n];return o=>{const a=i.filter(Boolean),l=r.map((c,u)=>{const d=`${e}.${c}`;return SH(o,d,a[u]??c)});return Array.isArray(t)?l:l[0]}}function kH(e){return Object.fromEntries(Object.entries(e).filter(([t,n])=>n!==void 0&&t!=="children"&&!m.isValidElement(n)))}function IP(e,t={}){const{styleConfig:n,...r}=t,{theme:i,colorMode:o}=RP(),a=e?ZC(i,`components.${e}`):void 0,l=n||a,c=ar({theme:i,colorMode:o},(l==null?void 0:l.defaultProps)??{},kH(r),(d,f)=>d?void 0:f),u=m.useRef({});if(l){const f=Yz(l)(c);xH(u.current,f)||(u.current=f)}return u.current}function Yn(e,t={}){return IP(e,t)}function Qe(e,t={}){return IP(e,t)}const Y4={path:s.jsxs("g",{stroke:"currentColor",strokeWidth:"1.5",children:[s.jsx("path",{strokeLinecap:"round",fill:"none",d:"M9,9a3,3,0,1,1,4,2.829,1.5,1.5,0,0,0-1,1.415V14.25"}),s.jsx("path",{fill:"currentColor",strokeLinecap:"round",d:"M12,17.25a.375.375,0,1,0,.375.375A.375.375,0,0,0,12,17.25h0"}),s.jsx("circle",{fill:"none",strokeMiterlimit:"10",cx:"12",cy:"12",r:"11.25"})]}),viewBox:"0 0 24 24"},At=B((e,t)=>{const{as:n,viewBox:r,color:i="currentColor",focusable:o=!1,children:a,className:l,__css:c,...u}=e,d=V("chakra-icon",l),f=Yn("Icon",e),p={w:"1em",h:"1em",display:"inline-block",lineHeight:"1em",flexShrink:0,color:i,...c,...f},h={ref:t,focusable:o,className:d,__css:p},v=r??Y4.viewBox;if(n&&typeof n!="string")return s.jsx(D.svg,{as:n,...h,...u});const b=a??Y4.path;return s.jsx(D.svg,{verticalAlign:"middle",viewBox:v,...h,...u,children:b})});At.displayName="Icon";function CH(e){return s.jsx(At,{viewBox:"0 0 24 24",...e,children:s.jsx("path",{fill:"currentColor",d:"M12,0A12,12,0,1,0,24,12,12.014,12.014,0,0,0,12,0Zm6.927,8.2-6.845,9.289a1.011,1.011,0,0,1-1.43.188L5.764,13.769a1,1,0,1,1,1.25-1.562l4.076,3.261,6.227-8.451A1,1,0,1,1,18.927,8.2Z"})})}function jH(e){return s.jsx(At,{viewBox:"0 0 24 24",...e,children:s.jsx("path",{fill:"currentColor",d:"M12,0A12,12,0,1,0,24,12,12.013,12.013,0,0,0,12,0Zm.25,5a1.5,1.5,0,1,1-1.5,1.5A1.5,1.5,0,0,1,12.25,5ZM14.5,18.5h-4a1,1,0,0,1,0-2h.75a.25.25,0,0,0,.25-.25v-4.5a.25.25,0,0,0-.25-.25H10.5a1,1,0,0,1,0-2h1a2,2,0,0,1,2,2v4.75a.25.25,0,0,0,.25.25h.75a1,1,0,1,1,0,2Z"})})}function Q4(e){return s.jsx(At,{viewBox:"0 0 24 24",...e,children:s.jsx("path",{fill:"currentColor",d:"M11.983,0a12.206,12.206,0,0,0-8.51,3.653A11.8,11.8,0,0,0,0,12.207,11.779,11.779,0,0,0,11.8,24h.214A12.111,12.111,0,0,0,24,11.791h0A11.766,11.766,0,0,0,11.983,0ZM10.5,16.542a1.476,1.476,0,0,1,1.449-1.53h.027a1.527,1.527,0,0,1,1.523,1.47,1.475,1.475,0,0,1-1.449,1.53h-.027A1.529,1.529,0,0,1,10.5,16.542ZM11,12.5v-6a1,1,0,0,1,2,0v6a1,1,0,1,1-2,0Z"})})}const PH=ju({"0%":{transform:"rotate(0deg)"},"100%":{transform:"rotate(360deg)"}}),yn=B((e,t)=>{const n=Yn("Spinner",e),{label:r="Loading...",thickness:i="2px",speed:o="0.45s",emptyColor:a="transparent",className:l,...c}=$e(e),u=V("chakra-spinner",l),d={display:"inline-block",borderColor:"currentColor",borderStyle:"solid",borderRadius:"99999px",borderWidth:i,borderBottomColor:a,borderLeftColor:a,animation:`${PH} ${o} linear infinite`,...n};return s.jsx(D.div,{ref:t,__css:d,className:u,...c,children:r&&s.jsx(D.span,{srOnly:!0,children:r})})});yn.displayName="Spinner";const[_H,ab]=_e({name:"AlertContext",hookName:"useAlertContext",providerName:"<Alert />"}),[TH,sb]=_e({name:"AlertStylesContext",hookName:"useAlertStyles",providerName:"<Alert />"}),MP={info:{icon:jH,colorScheme:"blue"},warning:{icon:Q4,colorScheme:"orange"},success:{icon:CH,colorScheme:"green"},error:{icon:Q4,colorScheme:"red"},loading:{icon:yn,colorScheme:"blue"}};function EH(e){return MP[e].colorScheme}function AH(e){return MP[e].icon}const LP=B(function(t,n){const{status:r="info",addRole:i=!0,...o}=$e(t),a=t.colorScheme??EH(r),l=Qe("Alert",{...t,colorScheme:a}),c={width:"100%",display:"flex",alignItems:"center",position:"relative",overflow:"hidden",...l.container};return s.jsx(_H,{value:{status:r},children:s.jsx(TH,{value:l,children:s.jsx(D.div,{"data-status":r,role:i?"alert":void 0,ref:n,...o,className:V("chakra-alert",t.className),__css:c})})})});LP.displayName="Alert";function NP(e){const{status:t}=ab(),n=AH(t),r=sb(),i=t==="loading"?r.spinner:r.icon;return s.jsx(D.span,{display:"inherit","data-status":t,...e,className:V("chakra-alert__icon",e.className),__css:i,children:e.children||s.jsx(n,{h:"100%",w:"100%"})})}NP.displayName="AlertIcon";const DP=B(function(t,n){const r=sb(),{status:i}=ab();return s.jsx(D.div,{ref:n,"data-status":i,...t,className:V("chakra-alert__title",t.className),__css:r.title})});DP.displayName="AlertTitle";const OP=B(function(t,n){const{status:r}=ab(),i=sb(),o={display:"inline",...i.description};return s.jsx(D.div,{ref:n,"data-status":r,...t,className:V("chakra-alert__desc",t.className),__css:o})});OP.displayName="AlertDescription";function $H(e){return s.jsx(At,{focusable:"false","aria-hidden":!0,...e,children:s.jsx("path",{fill:"currentColor",d:"M.439,21.44a1.5,1.5,0,0,0,2.122,2.121L11.823,14.3a.25.25,0,0,1,.354,0l9.262,9.263a1.5,1.5,0,1,0,2.122-2.121L14.3,12.177a.25.25,0,0,1,0-.354l9.263-9.262A1.5,1.5,0,0,0,21.439.44L12.177,9.7a.25.25,0,0,1-.354,0L2.561.44A1.5,1.5,0,0,0,.439,2.561L9.7,11.823a.25.25,0,0,1,0,.354Z"})})}const jm=B(function(t,n){const r=Yn("CloseButton",t),{children:i,isDisabled:o,__css:a,...l}=$e(t),c={outline:0,display:"flex",alignItems:"center",justifyContent:"center",flexShrink:0};return s.jsx(D.button,{type:"button","aria-label":"Close",ref:n,disabled:o,__css:{...c,...r,...a},...l,children:i||s.jsx($H,{width:"1em",height:"1em"})})});jm.displayName="CloseButton";const zH=e=>{const{status:t,variant:n="solid",id:r,title:i,isClosable:o,onClose:a,description:l,colorScheme:c,icon:u}=e,d=r?{root:`toast-${r}`,title:`toast-${r}-title`,description:`toast-${r}-description`}:void 0;return s.jsxs(LP,{addRole:!1,status:t,variant:n,id:d==null?void 0:d.root,alignItems:"start",borderRadius:"md",boxShadow:"lg",paddingEnd:8,textAlign:"start",width:"auto",colorScheme:c,children:[s.jsx(NP,{children:u}),s.jsxs(D.div,{flex:"1",maxWidth:"100%",children:[i&&s.jsx(DP,{id:d==null?void 0:d.title,children:i}),l&&s.jsx(OP,{id:d==null?void 0:d.description,display:"block",children:l})]}),o&&s.jsx(jm,{size:"sm",onClick:a,position:"absolute",insetEnd:1,top:1})]})};function FP(e={}){const{render:t,toastComponent:n=zH}=e;return i=>typeof t=="function"?t({...i,...e}):s.jsx(n,{...i,...e})}const RH={top:[],"top-left":[],"top-right":[],"bottom-left":[],bottom:[],"bottom-right":[]},Br=IH(RH);function IH(e){let t=e;const n=new Set,r=i=>{t=i(t),n.forEach(o=>o())};return{getState:()=>t,subscribe:i=>(n.add(i),()=>{r(()=>e),n.delete(i)}),removeToast:(i,o)=>{r(a=>({...a,[o]:a[o].filter(l=>l.id!=i)}))},notify:(i,o)=>{const a=MH(i,o),{position:l,id:c}=a;return r(u=>{const f=l.includes("top")?[a,...u[l]??[]]:[...u[l]??[],a];return{...u,[l]:f}}),c},update:(i,o)=>{i&&r(a=>{const l={...a},{position:c,index:u}=K4(l,i);return c&&u!==-1&&(l[c][u]={...l[c][u],...o,message:FP(o)}),l})},closeAll:({positions:i}={})=>{r(o=>(i??["bottom","bottom-right","bottom-left","top","top-left","top-right"]).reduce((c,u)=>(c[u]=o[u].map(d=>({...d,requestClose:!0})),c),{...o}))},close:i=>{r(o=>{const a=$P(o,i);return a?{...o,[a]:o[a].map(l=>l.id==i?{...l,requestClose:!0}:l)}:o})},isActive:i=>!!K4(Br.getState(),i).position}}let Z4=0;function MH(e,t={}){Z4+=1;const n=t.id??Z4,r=t.position??"bottom";return{id:n,message:e,position:r,duration:t.duration,onCloseComplete:t.onCloseComplete,onRequestRemove:()=>Br.removeToast(String(n),r),status:t.status,requestClose:!1,containerStyle:t.containerStyle}}const[BP,LH]=_e({strict:!1,name:"PortalContext"}),lb="chakra-portal",NH=".chakra-portal",DH=e=>s.jsx("div",{className:"chakra-portal-zIndex",style:{position:"absolute",zIndex:e.zIndex,top:0,left:0,right:0},children:e.children}),OH=e=>{const{appendToParentPortal:t,children:n}=e,[r,i]=m.useState(null),o=m.useRef(null),[,a]=m.useState({});m.useEffect(()=>a({}),[]);const l=LH(),c=SF();vi(()=>{if(!r)return;const d=r.ownerDocument,f=t?l??d.body:d.body;if(!f)return;o.current=d.createElement("div"),o.current.className=lb,f.appendChild(o.current),a({});const p=o.current;return()=>{f.contains(p)&&f.removeChild(p)}},[r]);const u=c!=null&&c.zIndex?s.jsx(DH,{zIndex:c==null?void 0:c.zIndex,children:n}):n;return o.current?Z1.createPortal(s.jsx(BP,{value:o.current,children:u}),o.current):s.jsx("span",{ref:d=>{d&&i(d)}})},FH=e=>{const{children:t,containerRef:n,appendToParentPortal:r}=e,i=n.current,o=i??(typeof window<"u"?document.body:void 0),a=m.useMemo(()=>{const c=i==null?void 0:i.ownerDocument.createElement("div");return c&&(c.className=lb),c},[i]),[,l]=m.useState({});return vi(()=>l({}),[]),vi(()=>{if(!(!a||!o))return o.appendChild(a),()=>{o.removeChild(a)}},[a,o]),o&&a?Z1.createPortal(s.jsx(BP,{value:r?a:null,children:t}),a):null};function hl(e){const t={appendToParentPortal:!0,...e},{containerRef:n,...r}=t;return n?s.jsx(FH,{containerRef:n,...r}):s.jsx(OH,{...r})}hl.className=lb;hl.selector=NH;hl.displayName="Portal";const[BH,WH]=_e({name:"ToastOptionsContext",strict:!1}),VH=e=>{const t=m.useSyncExternalStore(Br.subscribe,Br.getState,Br.getState),{motionVariants:n,component:r=zP,portalProps:i,animatePresenceProps:o}=e,l=Object.keys(t).map(c=>{const u=t[c];return s.jsx("div",{role:"region","aria-live":"polite","aria-label":`Notifications-${c}`,"aria-hidden":!u.length,id:`chakra-toast-manager-${c}`,style:eH(c),children:s.jsx($i,{...o,initial:!1,children:u.map(d=>s.jsx(r,{motionVariants:n,...d},d.id))})},c)});return s.jsx(hl,{...i,children:l})},UH=e=>function({children:n,theme:r=e,toastOptions:i,...o}){return s.jsxs(kF,{theme:r,...o,children:[s.jsx(BH,{value:i==null?void 0:i.defaultOptions,children:n}),s.jsx(VH,{...i})]})},HH=UH(Jo);function J4(e){return e.sort((t,n)=>{const r=t.compareDocumentPosition(n);if(r&Node.DOCUMENT_POSITION_FOLLOWING||r&Node.DOCUMENT_POSITION_CONTAINED_BY)return-1;if(r&Node.DOCUMENT_POSITION_PRECEDING||r&Node.DOCUMENT_POSITION_CONTAINS)return 1;if(r&Node.DOCUMENT_POSITION_DISCONNECTED||r&Node.DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC)throw Error("Cannot sort the given nodes.");return 0})}const GH=e=>typeof e=="object"&&"nodeType"in e&&e.nodeType===Node.ELEMENT_NODE;function ew(e,t,n){let r=e+1;return n&&r>=t&&(r=0),r}function tw(e,t,n){let r=e-1;return n&&r<0&&(r=t),r}const m0=typeof window<"u"?m.useLayoutEffect:m.useEffect,nw=e=>e;var KH=Object.defineProperty,qH=(e,t,n)=>t in e?KH(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,gt=(e,t,n)=>(qH(e,typeof t!="symbol"?t+"":t,n),n);class XH{constructor(){gt(this,"descendants",new Map),gt(this,"register",t=>{if(t!=null)return GH(t)?this.registerNode(t):n=>{this.registerNode(n,t)}}),gt(this,"unregister",t=>{this.descendants.delete(t);const n=J4(Array.from(this.descendants.keys()));this.assignIndex(n)}),gt(this,"destroy",()=>{this.descendants.clear()}),gt(this,"assignIndex",t=>{this.descendants.forEach(n=>{const r=t.indexOf(n.node);n.index=r,n.node.dataset.index=n.index.toString()})}),gt(this,"count",()=>this.descendants.size),gt(this,"enabledCount",()=>this.enabledValues().length),gt(this,"values",()=>Array.from(this.descendants.values()).sort((n,r)=>n.index-r.index)),gt(this,"enabledValues",()=>this.values().filter(t=>!t.disabled)),gt(this,"item",t=>{if(this.count()!==0)return this.values()[t]}),gt(this,"enabledItem",t=>{if(this.enabledCount()!==0)return this.enabledValues()[t]}),gt(this,"first",()=>this.item(0)),gt(this,"firstEnabled",()=>this.enabledItem(0)),gt(this,"last",()=>this.item(this.descendants.size-1)),gt(this,"lastEnabled",()=>{const t=this.enabledValues().length-1;return this.enabledItem(t)}),gt(this,"indexOf",t=>{var n;return t?((n=this.descendants.get(t))==null?void 0:n.index)??-1:-1}),gt(this,"enabledIndexOf",t=>t==null?-1:this.enabledValues().findIndex(n=>n.node.isSameNode(t))),gt(this,"next",(t,n=!0)=>{const r=ew(t,this.count(),n);return this.item(r)}),gt(this,"nextEnabled",(t,n=!0)=>{const r=this.item(t);if(!r)return;const i=this.enabledIndexOf(r.node),o=ew(i,this.enabledCount(),n);return this.enabledItem(o)}),gt(this,"prev",(t,n=!0)=>{const r=tw(t,this.count()-1,n);return this.item(r)}),gt(this,"prevEnabled",(t,n=!0)=>{const r=this.item(t);if(!r)return;const i=this.enabledIndexOf(r.node),o=tw(i,this.enabledCount()-1,n);return this.enabledItem(o)}),gt(this,"registerNode",(t,n)=>{if(!t||this.descendants.has(t))return;const r=Array.from(this.descendants.keys()).concat(t),i=J4(r);n!=null&&n.disabled&&(n.disabled=!!n.disabled);const o={node:t,index:-1,...n};this.descendants.set(t,o),this.assignIndex(i)})}}function YH(){const[e,t]=_e({name:"DescendantsProvider",errorMessage:"useDescendantsContext must be used within DescendantsProvider"});return[e,t,()=>{const i=m.useRef(new XH);return m0(()=>()=>i.current.destroy()),i.current},i=>{const o=t(),[a,l]=m.useState(-1),c=m.useRef(null);m0(()=>()=>{c.current&&o.unregister(c.current)},[]),m0(()=>{if(!c.current)return;const d=Number(c.current.dataset.index);a!=d&&!Number.isNaN(d)&&l(d)});const u=nw(i?o.register(i):o.register);return{descendants:o,index:a,enabledIndex:o.enabledIndexOf(c.current),register:Mt(u,c)}}]}const pi={ease:[.25,.1,.25,1],easeIn:[.4,0,1,1],easeOut:[0,0,.2,1],easeInOut:[.4,0,.2,1]},Dl={slideLeft:{position:{left:0,top:0,bottom:0,width:"100%"},enter:{x:0,y:0},exit:{x:"-100%",y:0}},slideRight:{position:{right:0,top:0,bottom:0,width:"100%"},enter:{x:0,y:0},exit:{x:"100%",y:0}},slideUp:{position:{top:0,left:0,right:0,maxWidth:"100vw"},enter:{x:0,y:0},exit:{x:0,y:"-100%"}},slideDown:{position:{bottom:0,left:0,right:0,maxWidth:"100vw"},enter:{x:0,y:0},exit:{x:0,y:"100%"}}};function hv(e){switch((e==null?void 0:e.direction)??"right"){case"right":return Dl.slideRight;case"left":return Dl.slideLeft;case"bottom":return Dl.slideDown;case"top":return Dl.slideUp;default:return Dl.slideRight}}const ua={enter:{duration:.2,ease:pi.easeOut},exit:{duration:.1,ease:pi.easeIn}},Tr={enter:(e,t)=>({...e,delay:typeof t=="number"?t:t==null?void 0:t.enter}),exit:(e,t)=>({...e,delay:typeof t=="number"?t:t==null?void 0:t.exit})},QH=e=>e!=null&&parseInt(e.toString(),10)>0,rw={exit:{height:{duration:.2,ease:pi.ease},opacity:{duration:.3,ease:pi.ease}},enter:{height:{duration:.3,ease:pi.ease},opacity:{duration:.4,ease:pi.ease}}},ZH={exit:({animateOpacity:e,startingHeight:t,transition:n,transitionEnd:r,delay:i})=>({...e&&{opacity:QH(t)?1:0},height:t,transitionEnd:r==null?void 0:r.exit,transition:(n==null?void 0:n.exit)??Tr.exit(rw.exit,i)}),enter:({animateOpacity:e,endingHeight:t,transition:n,transitionEnd:r,delay:i})=>({...e&&{opacity:1},height:t,transitionEnd:r==null?void 0:r.enter,transition:(n==null?void 0:n.enter)??Tr.enter(rw.enter,i)})},zu=m.forwardRef((e,t)=>{const{in:n,unmountOnExit:r,animateOpacity:i=!0,startingHeight:o=0,endingHeight:a="auto",style:l,className:c,transition:u,transitionEnd:d,animatePresenceProps:f,...p}=e,[h,v]=m.useState(!1);m.useEffect(()=>{const S=setTimeout(()=>{v(!0)});return()=>clearTimeout(S)},[]);const b=parseFloat(o.toString())>0,x={startingHeight:o,endingHeight:a,animateOpacity:i,transition:h?u:{enter:{duration:0}},transitionEnd:{enter:d==null?void 0:d.enter,exit:r?d==null?void 0:d.exit:{...d==null?void 0:d.exit,display:b?"block":"none"}}},y=r?n:!0,g=n||r?"enter":"exit";return s.jsx($i,{...f,initial:!1,custom:x,children:y&&s.jsx(Xn.div,{ref:t,...p,className:V("chakra-collapse",c),style:{overflow:"hidden",display:"block",...l},custom:x,variants:ZH,initial:r?"exit":!1,animate:g,exit:"exit"})})});zu.displayName="Collapse";const[JH,WP]=_e({name:"AvatarStylesContext",hookName:"useAvatarStyles",providerName:"<Avatar/>"});function eG(e){const t=e.trim().split(" "),n=t[0]??"",r=t.length>1?t[t.length-1]:"";return n&&r?`${n.charAt(0)}${r.charAt(0)}`:n.charAt(0)}function VP(e){const{name:t,getInitials:n,...r}=e,i=WP();return s.jsx(D.div,{role:"img","aria-label":t,...r,__css:i.label,children:t?n==null?void 0:n(t):null})}VP.displayName="AvatarName";const UP=e=>s.jsxs(D.svg,{viewBox:"0 0 128 128",color:"#fff",width:"100%",height:"100%",className:"chakra-avatar__svg",...e,children:[s.jsx("path",{fill:"currentColor",d:"M103,102.1388 C93.094,111.92 79.3504,118 64.1638,118 C48.8056,118 34.9294,111.768 25,101.7892 L25,95.2 C25,86.8096 31.981,80 40.6,80 L87.4,80 C96.019,80 103,86.8096 103,95.2 L103,102.1388 Z"}),s.jsx("path",{fill:"currentColor",d:"M63.9961647,24 C51.2938136,24 41,34.2938136 41,46.9961647 C41,59.7061864 51.2938136,70 63.9961647,70 C76.6985159,70 87,59.7061864 87,46.9961647 C87,34.2938136 76.6985159,24 63.9961647,24"})]});function HP(e){const{loading:t,src:n,srcSet:r,onLoad:i,onError:o,crossOrigin:a,sizes:l,ignoreFallback:c}=e,[u,d]=m.useState("pending");m.useEffect(()=>{d(n?"loading":"pending")},[n]);const f=m.useRef(null),p=m.useCallback(()=>{if(!n)return;h();const v=new Image;v.src=n,a&&(v.crossOrigin=a),r&&(v.srcset=r),l&&(v.sizes=l),t&&(v.loading=t),v.onload=b=>{h(),d("loaded"),i==null||i(b)},v.onerror=b=>{h(),d("failed"),o==null||o(b)},f.current=v},[n,a,r,l,i,o,t]),h=()=>{f.current&&(f.current.onload=null,f.current.onerror=null,f.current=null)};return vi(()=>{if(!c)return u==="loading"&&p(),()=>{h()}},[u,p,c]),c?"loaded":u}const tG=(e,t)=>e!=="loaded"&&t==="beforeLoadOrError"||e==="failed"&&t==="onError";function GP(e){const{src:t,srcSet:n,onError:r,onLoad:i,getInitials:o,name:a,borderRadius:l,loading:c,iconLabel:u,icon:d=s.jsx(UP,{}),ignoreFallback:f,referrerPolicy:p,crossOrigin:h}=e,b=HP({src:t,onError:r,crossOrigin:h,ignoreFallback:f})==="loaded";return!t||!b?a?s.jsx(VP,{className:"chakra-avatar__initials",getInitials:o,name:a}):m.cloneElement(d,{role:"img","aria-label":u}):s.jsx(D.img,{src:t,srcSet:n,alt:a??u,onLoad:i,referrerPolicy:p,crossOrigin:h??void 0,className:"chakra-avatar__img",loading:c,__css:{width:"100%",height:"100%",objectFit:"cover",borderRadius:l}})}GP.displayName="AvatarImage";const nG={display:"inline-flex",alignItems:"center",justifyContent:"center",textAlign:"center",textTransform:"uppercase",fontWeight:"medium",position:"relative",flexShrink:0},cb=B((e,t)=>{const n=Qe("Avatar",e),[r,i]=m.useState(!1),{src:o,srcSet:a,name:l,showBorder:c,borderRadius:u="full",onError:d,onLoad:f,getInitials:p=eG,icon:h=s.jsx(UP,{}),iconLabel:v=" avatar",loading:b,children:x,borderColor:y,ignoreFallback:g,crossOrigin:S,referrerPolicy:w,...k}=$e(e),P={borderRadius:u,borderWidth:c?"2px":void 0,...nG,...n.container};return y&&(P.borderColor=y),s.jsx(D.span,{ref:t,...k,className:V("chakra-avatar",e.className),"data-loaded":de(r),__css:P,children:s.jsxs(JH,{value:n,children:[s.jsx(GP,{src:o,srcSet:a,loading:b,onLoad:he(f,()=>{i(!0)}),onError:d,getInitials:p,name:l,borderRadius:u,icon:h,iconLabel:v,ignoreFallback:g,crossOrigin:S,referrerPolicy:w}),x]})})});cb.displayName="Avatar";const rG={"top-start":{top:"0",insetStart:"0",transform:"translate(-25%, -25%)"},"top-end":{top:"0",insetEnd:"0",transform:"translate(25%, -25%)"},"bottom-start":{bottom:"0",insetStart:"0",transform:"translate(-25%, 25%)"},"bottom-end":{bottom:"0",insetEnd:"0",transform:"translate(25%, 25%)"}},KP=B(function(t,n){const{placement:r="bottom-end",className:i,...o}=t,a=WP(),c={position:"absolute",display:"flex",alignItems:"center",justifyContent:"center",...rG[r],...a.badge};return s.jsx(D.div,{ref:n,...o,className:V("chakra-avatar__badge",i),__css:c})});KP.displayName="AvatarBadge";const dn=B(function(t,n){const r=Yn("Badge",t),{className:i,...o}=$e(t);return s.jsx(D.span,{ref:n,className:V("chakra-badge",t.className),...o,__css:{display:"inline-block",whiteSpace:"nowrap",verticalAlign:"middle",...r}})});dn.displayName="Badge";const ne=D("div");ne.displayName="Box";const[iG,oG]=_e({strict:!1,name:"ButtonGroupContext"});function ec(e){const{children:t,className:n,...r}=e,i=m.isValidElement(t)?m.cloneElement(t,{"aria-hidden":!0,focusable:!1}):t,o=V("chakra-button__icon",n);return s.jsx(D.span,{display:"inline-flex",alignSelf:"center",flexShrink:0,...r,className:o,children:i})}ec.displayName="ButtonIcon";function gv(e){const{label:t,placement:n,spacing:r="0.5rem",children:i=s.jsx(yn,{color:"currentColor",width:"1em",height:"1em"}),className:o,__css:a,...l}=e,c=V("chakra-button__spinner",o),u=n==="start"?"marginEnd":"marginStart",d=m.useMemo(()=>({display:"flex",alignItems:"center",position:t?"relative":"absolute",[u]:t?r:0,fontSize:"1em",lineHeight:"normal",...a}),[a,t,u,r]);return s.jsx(D.div,{className:c,...l,__css:d,children:i})}gv.displayName="ButtonSpinner";function aG(e){const[t,n]=m.useState(!e);return{ref:m.useCallback(o=>{o&&n(o.tagName==="BUTTON")},[]),type:t?"button":void 0}}const xe=B((e,t)=>{const n=oG(),r=Yn("Button",{...n,...e}),{isDisabled:i=n==null?void 0:n.isDisabled,isLoading:o,isActive:a,children:l,leftIcon:c,rightIcon:u,loadingText:d,iconSpacing:f="0.5rem",type:p,spinner:h,spinnerPlacement:v="start",className:b,as:x,shouldWrapChildren:y,...g}=$e(e),S=m.useMemo(()=>{const _={...r==null?void 0:r._focus,zIndex:1};return{display:"inline-flex",appearance:"none",alignItems:"center",justifyContent:"center",userSelect:"none",position:"relative",whiteSpace:"nowrap",verticalAlign:"middle",outline:"none",...r,...!!n&&{_focus:_}}},[r,n]),{ref:w,type:k}=aG(x),P={rightIcon:u,leftIcon:c,iconSpacing:f,children:l,shouldWrapChildren:y};return s.jsxs(D.button,{disabled:i||o,ref:ry(t,w),as:x,type:p??k,"data-active":de(a),"data-loading":de(o),__css:S,className:V("chakra-button",b),...g,children:[o&&v==="start"&&s.jsx(gv,{className:"chakra-button__spinner--start",label:d,placement:"start",spacing:f,children:h}),o?d||s.jsx(D.span,{opacity:0,children:s.jsx(iw,{...P})}):s.jsx(iw,{...P}),o&&v==="end"&&s.jsx(gv,{className:"chakra-button__spinner--end",label:d,placement:"end",spacing:f,children:h})]})});xe.displayName="Button";function iw(e){const{leftIcon:t,rightIcon:n,children:r,iconSpacing:i,shouldWrapChildren:o}=e;return o?s.jsxs("span",{style:{display:"contents"},children:[t&&s.jsx(ec,{marginEnd:i,children:t}),r,n&&s.jsx(ec,{marginStart:i,children:n})]}):s.jsxs(s.Fragment,{children:[t&&s.jsx(ec,{marginEnd:i,children:t}),r,n&&s.jsx(ec,{marginStart:i,children:n})]})}const sG={horizontal:{"> *:first-of-type:not(:last-of-type)":{borderEndRadius:0},"> *:not(:first-of-type):not(:last-of-type)":{borderRadius:0},"> *:not(:first-of-type):last-of-type":{borderStartRadius:0}},vertical:{"> *:first-of-type:not(:last-of-type)":{borderBottomRadius:0},"> *:not(:first-of-type):not(:last-of-type)":{borderRadius:0},"> *:not(:first-of-type):last-of-type":{borderTopRadius:0}}},lG={horizontal:e=>({"& > *:not(style) ~ *:not(style)":{marginStart:e}}),vertical:e=>({"& > *:not(style) ~ *:not(style)":{marginTop:e}})},Pm=B(function(t,n){const{size:r,colorScheme:i,variant:o,className:a,spacing:l="0.5rem",isAttached:c,isDisabled:u,orientation:d="horizontal",...f}=t,p=V("chakra-button__group",a),h=m.useMemo(()=>({size:r,colorScheme:i,variant:o,isDisabled:u}),[r,i,o,u]);let v={display:"inline-flex",...c?sG[d]:lG[d](l)};const b=d==="vertical";return s.jsx(iG,{value:h,children:s.jsx(D.div,{ref:n,role:"group",__css:v,className:p,"data-attached":c?"":void 0,"data-orientation":d,flexDir:b?"column":void 0,...f})})});Pm.displayName="ButtonGroup";const vn=B((e,t)=>{const{icon:n,children:r,isRound:i,"aria-label":o,...a}=e,l=n||r,c=m.isValidElement(l)?m.cloneElement(l,{"aria-hidden":!0,focusable:!1}):null;return s.jsx(xe,{px:"0",py:"0",borderRadius:i?"full":void 0,ref:t,"aria-label":o,...a,children:c})});vn.displayName="IconButton";const[cG,uG]=$r("Card"),ub=B(function(t,n){const{className:r,children:i,direction:o="column",justify:a,align:l,...c}=$e(t),u=Qe("Card",t);return s.jsx(D.div,{ref:n,className:V("chakra-card",r),__css:{display:"flex",flexDirection:o,justifyContent:a,alignItems:l,position:"relative",minWidth:0,wordWrap:"break-word",...u.container},...c,children:s.jsx(cG,{value:u,children:i})})}),db=B(function(t,n){const{className:r,...i}=t,o=uG();return s.jsx(D.div,{ref:n,className:V("chakra-card__body",r),__css:o.body,...i})}),qP=D("div",{baseStyle:{display:"flex",alignItems:"center",justifyContent:"center"}});qP.displayName="Center";const dG={horizontal:{insetStart:"50%",transform:"translateX(-50%)"},vertical:{top:"50%",transform:"translateY(-50%)"},both:{insetStart:"50%",top:"50%",transform:"translate(-50%, -50%)"}};B(function(t,n){const{axis:r="both",...i}=t;return s.jsx(D.div,{ref:n,__css:dG[r],...i,position:"absolute"})});var fG=()=>typeof document<"u",ow=!1,Ru=null,ka=!1,vv=!1,yv=new Set;function fb(e,t){yv.forEach(n=>n(e,t))}var pG=typeof window<"u"&&window.navigator!=null?/^Mac/.test(window.navigator.platform):!1;function mG(e){return!(e.metaKey||!pG&&e.altKey||e.ctrlKey||e.key==="Control"||e.key==="Shift"||e.key==="Meta")}function aw(e){ka=!0,mG(e)&&(Ru="keyboard",fb("keyboard",e))}function Fa(e){if(Ru="pointer",e.type==="mousedown"||e.type==="pointerdown"){ka=!0;const t=e.composedPath?e.composedPath()[0]:e.target;let n=!1;try{n=t.matches(":focus-visible")}catch{}if(n)return;fb("pointer",e)}}function hG(e){return e.mozInputSource===0&&e.isTrusted?!0:e.detail===0&&!e.pointerType}function gG(e){hG(e)&&(ka=!0,Ru="virtual")}function vG(e){e.target===window||e.target===document||e.target instanceof Element&&e.target.hasAttribute("tabindex")||(!ka&&!vv&&(Ru="virtual",fb("virtual",e)),ka=!1,vv=!1)}function yG(){ka=!1,vv=!0}function sw(){return Ru!=="pointer"}function bG(){if(!fG()||ow)return;const{focus:e}=HTMLElement.prototype;HTMLElement.prototype.focus=function(...n){ka=!0,e.apply(this,n)},document.addEventListener("keydown",aw,!0),document.addEventListener("keyup",aw,!0),document.addEventListener("click",gG,!0),window.addEventListener("focus",vG,!0),window.addEventListener("blur",yG,!1),typeof PointerEvent<"u"?(document.addEventListener("pointerdown",Fa,!0),document.addEventListener("pointermove",Fa,!0),document.addEventListener("pointerup",Fa,!0)):(document.addEventListener("mousedown",Fa,!0),document.addEventListener("mousemove",Fa,!0),document.addEventListener("mouseup",Fa,!0)),ow=!0}function XP(e){bG(),e(sw());const t=()=>e(sw());return yv.add(t),()=>{yv.delete(t)}}const[xG,YP]=_e({name:"FormControlStylesContext",errorMessage:`useFormControlStyles returned is 'undefined'. Seems you forgot to wrap the components in "<FormControl />" `}),[SG,Iu]=_e({strict:!1,name:"FormControlContext"});function wG(e){const{id:t,isRequired:n,isInvalid:r,isDisabled:i,isReadOnly:o,...a}=e,l=m.useId(),c=t||`field-${l}`,u=`${c}-label`,d=`${c}-feedback`,f=`${c}-helptext`,[p,h]=m.useState(!1),[v,b]=m.useState(!1),[x,y]=m.useState(!1),g=m.useCallback((_={},j=null)=>({id:f,..._,ref:Mt(j,z=>{z&&b(!0)})}),[f]),S=m.useCallback((_={},j=null)=>({..._,ref:j,"data-focus":de(x),"data-disabled":de(i),"data-invalid":de(r),"data-readonly":de(o),id:_.id!==void 0?_.id:u,htmlFor:_.htmlFor!==void 0?_.htmlFor:c}),[c,i,x,r,o,u]),w=m.useCallback((_={},j=null)=>({id:d,..._,ref:Mt(j,z=>{z&&h(!0)}),"aria-live":"polite"}),[d]),k=m.useCallback((_={},j=null)=>({..._,...a,ref:j,role:"group","data-focus":de(x),"data-disabled":de(i),"data-invalid":de(r),"data-readonly":de(o)}),[a,i,x,r,o]),P=m.useCallback((_={},j=null)=>({..._,ref:j,role:"presentation","aria-hidden":!0,children:_.children||"*"}),[]);return{isRequired:!!n,isInvalid:!!r,isReadOnly:!!o,isDisabled:!!i,isFocused:!!x,onFocus:()=>y(!0),onBlur:()=>y(!1),hasFeedbackText:p,setHasFeedbackText:h,hasHelpText:v,setHasHelpText:b,id:c,labelId:u,feedbackId:d,helpTextId:f,htmlProps:a,getHelpTextProps:g,getErrorMessageProps:w,getRootProps:k,getLabelProps:S,getRequiredIndicatorProps:P}}const ke=B(function(t,n){const r=Qe("Form",t),i=$e(t),{getRootProps:o,htmlProps:a,...l}=wG(i),c=V("chakra-form-control",t.className);return s.jsx(SG,{value:l,children:s.jsx(xG,{value:r,children:s.jsx(D.div,{...o({},n),className:c,__css:r.container})})})});ke.displayName="FormControl";const ru=B(function(t,n){const r=Iu(),i=YP(),o=V("chakra-form__helper-text",t.className);return s.jsx(D.div,{...r==null?void 0:r.getHelpTextProps(t,n),__css:i.helperText,className:o})});ru.displayName="FormHelperText";function QP(e){const{isDisabled:t,isInvalid:n,isReadOnly:r,isRequired:i,...o}=ZP(e);return{...o,disabled:t,readOnly:r,required:i,"aria-invalid":gi(n),"aria-required":gi(i),"aria-readonly":gi(r)}}function ZP(e){const t=Iu(),{id:n,disabled:r,readOnly:i,required:o,isRequired:a,isInvalid:l,isReadOnly:c,isDisabled:u,onFocus:d,onBlur:f,...p}=e,h=e["aria-describedby"]?[e["aria-describedby"]]:[];return t!=null&&t.hasFeedbackText&&(t!=null&&t.isInvalid)&&h.push(t.feedbackId),t!=null&&t.hasHelpText&&h.push(t.helpTextId),{...p,"aria-describedby":h.join(" ")||void 0,id:n??(t==null?void 0:t.id),isDisabled:r??u??(t==null?void 0:t.isDisabled),isReadOnly:i??c??(t==null?void 0:t.isReadOnly),isRequired:o??a??(t==null?void 0:t.isRequired),isInvalid:l??(t==null?void 0:t.isInvalid),onFocus:he(t==null?void 0:t.onFocus,d),onBlur:he(t==null?void 0:t.onBlur,f)}}const JP={border:"0",clip:"rect(0, 0, 0, 0)",height:"1px",width:"1px",margin:"-1px",padding:"0",overflow:"hidden",whiteSpace:"nowrap",position:"absolute"};function kG(e={}){const t=ZP(e),{isDisabled:n,isReadOnly:r,isRequired:i,isInvalid:o,id:a,onBlur:l,onFocus:c,"aria-describedby":u}=t,{defaultChecked:d,isChecked:f,isFocusable:p,onChange:h,isIndeterminate:v,name:b,value:x,tabIndex:y=void 0,"aria-label":g,"aria-labelledby":S,"aria-invalid":w,...k}=e,P=tm(k,["isDisabled","isReadOnly","isRequired","isInvalid","id","onBlur","onFocus","aria-describedby"]),_=_r(h),j=_r(l),z=_r(c),[$,W]=m.useState(!1),[Y,ee]=m.useState(!1),[I,L]=m.useState(!1),N=m.useRef(!1);m.useEffect(()=>XP(ve=>{N.current=ve}),[]);const R=m.useRef(null),[F,M]=m.useState(!0),[G,Z]=m.useState(!!d),ae=f!==void 0,oe=ae?f:G,Q=m.useCallback(ve=>{if(r||n){ve.preventDefault();return}ae||Z(oe?ve.currentTarget.checked:v?!0:ve.currentTarget.checked),_==null||_(ve)},[r,n,oe,ae,v,_]);vi(()=>{R.current&&(R.current.indeterminate=!!v)},[v]),dp(()=>{n&&W(!1)},[n,W]),vi(()=>{const ve=R.current;if(!(ve!=null&&ve.form))return;const ut=()=>{Z(!!d)};return ve.form.addEventListener("reset",ut),()=>{var Ve;return(Ve=ve.form)==null?void 0:Ve.removeEventListener("reset",ut)}},[]);const ue=n&&!p,ce=m.useCallback(ve=>{ve.key===" "&&L(!0)},[L]),Be=m.useCallback(ve=>{ve.key===" "&&L(!1)},[L]);vi(()=>{if(!R.current)return;R.current.checked!==oe&&Z(R.current.checked)},[R.current]);const Ze=m.useCallback((ve={},ut=null)=>{const Ve=$t=>{$&&$t.preventDefault(),L(!0)};return{...ve,ref:ut,"data-active":de(I),"data-hover":de(Y),"data-checked":de(oe),"data-focus":de($),"data-focus-visible":de($&&N.current),"data-indeterminate":de(v),"data-disabled":de(n),"data-invalid":de(o),"data-readonly":de(r),"aria-hidden":!0,onMouseDown:he(ve.onMouseDown,Ve),onMouseUp:he(ve.onMouseUp,()=>L(!1)),onMouseEnter:he(ve.onMouseEnter,()=>ee(!0)),onMouseLeave:he(ve.onMouseLeave,()=>ee(!1))}},[I,oe,n,$,Y,v,o,r]),te=m.useCallback((ve={},ut=null)=>({...ve,ref:ut,"data-active":de(I),"data-hover":de(Y),"data-checked":de(oe),"data-focus":de($),"data-focus-visible":de($&&N.current),"data-indeterminate":de(v),"data-disabled":de(n),"data-invalid":de(o),"data-readonly":de(r)}),[I,oe,n,$,Y,v,o,r]),re=m.useCallback((ve={},ut=null)=>({...P,...ve,ref:Mt(ut,Ve=>{Ve&&M(Ve.tagName==="LABEL")}),onClick:he(ve.onClick,()=>{var Ve;F||((Ve=R.current)==null||Ve.click(),requestAnimationFrame(()=>{var $t;($t=R.current)==null||$t.focus({preventScroll:!0})}))}),"data-disabled":de(n),"data-checked":de(oe),"data-invalid":de(o)}),[P,n,oe,o,F]),ze=m.useCallback((ve={},ut=null)=>({...ve,ref:Mt(R,ut),type:"checkbox",name:b,value:x,id:a,tabIndex:y,onChange:he(ve.onChange,Q),onBlur:he(ve.onBlur,j,()=>W(!1)),onFocus:he(ve.onFocus,z,()=>W(!0)),onKeyDown:he(ve.onKeyDown,ce),onKeyUp:he(ve.onKeyUp,Be),required:i,checked:oe,disabled:ue,readOnly:r,"aria-label":g,"aria-labelledby":S,"aria-invalid":w?!!w:o,"aria-describedby":u,"aria-disabled":n,"aria-checked":v?"mixed":oe,style:JP}),[b,x,a,y,Q,j,z,ce,Be,i,oe,ue,r,g,S,w,o,u,n,v]),ye=m.useCallback((ve={},ut=null)=>({...ve,ref:ut,onMouseDown:he(ve.onMouseDown,CG),"data-disabled":de(n),"data-checked":de(oe),"data-invalid":de(o)}),[oe,n,o]);return{state:{isInvalid:o,isFocused:$,isChecked:oe,isActive:I,isHovered:Y,isIndeterminate:v,isDisabled:n,isReadOnly:r,isRequired:i},getRootProps:re,getCheckboxProps:Ze,getIndicatorProps:te,getInputProps:ze,getLabelProps:ye,htmlProps:P}}function CG(e){e.preventDefault(),e.stopPropagation()}const jG=new Set(["dark","light","system"]);function PG(e){let t=e;return jG.has(t)||(t="light"),t}function _G(e={}){const{initialColorMode:t="light",type:n="localStorage",storageKey:r="chakra-ui-color-mode"}=e,i=PG(t),o=n==="cookie",a=`(function(){try{var a=function(o){var l="(prefers-color-scheme: dark)",v=window.matchMedia(l).matches?"dark":"light",e=o==="system"?v:o,d=document.documentElement,m=document.body,i="chakra-ui-light",n="chakra-ui-dark",s=e==="dark";return m.classList.add(s?n:i),m.classList.remove(s?i:n),d.style.colorScheme=e,d.dataset.theme=e,e},u=a,h="${i}",r="${r}",t=document.cookie.match(new RegExp("(^| )".concat(r,"=([^;]+)"))),c=t?t[2]:null;c?a(c):document.cookie="".concat(r,"=").concat(a(h),"; max-age=31536000; path=/")}catch(a){}})();
|
||
`,l=`(function(){try{var a=function(c){var v="(prefers-color-scheme: dark)",h=window.matchMedia(v).matches?"dark":"light",r=c==="system"?h:c,o=document.documentElement,s=document.body,l="chakra-ui-light",d="chakra-ui-dark",i=r==="dark";return s.classList.add(i?d:l),s.classList.remove(i?l:d),o.style.colorScheme=r,o.dataset.theme=r,r},n=a,m="${i}",e="${r}",t=localStorage.getItem(e);t?a(t):localStorage.setItem(e,a(m))}catch(a){}})();
|
||
`;return`!${o?a:l}`.trim()}function TG(e={}){const{nonce:t}=e;return s.jsx("script",{id:"chakra-script",nonce:t,dangerouslySetInnerHTML:{__html:_G(e)}})}const fn=B(function(t,n){const{className:r,centerContent:i,...o}=$e(t),a=Yn("Container",t);return s.jsx(D.div,{ref:n,className:V("chakra-container",r),...o,__css:{...a,...i&&{display:"flex",flexDirection:"column",alignItems:"center"}}})});fn.displayName="Container";const da=B(function(t,n){const{borderLeftWidth:r,borderBottomWidth:i,borderTopWidth:o,borderRightWidth:a,borderWidth:l,borderStyle:c,borderColor:u,...d}=Yn("Divider",t),{className:f,orientation:p="horizontal",__css:h,...v}=$e(t),b={vertical:{borderLeftWidth:r||a||l||"1px",height:"100%"},horizontal:{borderBottomWidth:i||o||l||"1px",width:"100%"}};return s.jsx(D.hr,{ref:n,"aria-orientation":p,...v,__css:{...d,border:"0",borderColor:u,borderStyle:c,...b[p],...h},className:V("chakra-divider",f)})});da.displayName="Divider";const[EG,e_]=_e({name:"EditableStylesContext",errorMessage:`useEditableStyles returned is 'undefined'. Seems you forgot to wrap the components in "<Editable />" `}),[AG,pb]=_e({name:"EditableContext",errorMessage:"useEditableContext: context is undefined. Seems you forgot to wrap the editable components in `<Editable />`"});function lw(e,t){return e?e===t||e.contains(t):!1}function $G(e={}){const{onChange:t,onCancel:n,onSubmit:r,onBlur:i,value:o,isDisabled:a,defaultValue:l,startWithEditView:c,isPreviewFocusable:u=!0,submitOnBlur:d=!0,selectAllOnFocus:f=!0,placeholder:p,onEdit:h,finalFocusRef:v,...b}=e,x=_r(h),y=!!(c&&!a),[g,S]=m.useState(y),[w,k]=r6({defaultValue:l||"",value:o,onChange:t}),[P,_]=m.useState(w),j=m.useRef(null),z=m.useRef(null),$=m.useRef(null),W=m.useRef(null),Y=m.useRef(null);tz({ref:j,enabled:g,elements:[W,Y]});const ee=!g&&!a;vi(()=>{var te,re;g&&((te=j.current)==null||te.focus(),f&&((re=j.current)==null||re.select()))},[]),dp(()=>{var te,re,ze,ye;if(!g){v?(te=v.current)==null||te.focus():(re=$.current)==null||re.focus();return}(ze=j.current)==null||ze.focus(),f&&((ye=j.current)==null||ye.select()),x==null||x()},[g,x,f]);const I=m.useCallback(()=>{ee&&S(!0)},[ee]),L=m.useCallback(()=>{_(w)},[w]),N=m.useCallback(()=>{S(!1),k(P),n==null||n(P),i==null||i(P)},[n,i,k,P]),R=m.useCallback(()=>{S(!1),_(w),r==null||r(w),i==null||i(P)},[w,r,i,P]);m.useEffect(()=>{if(g)return;const te=j.current;(te==null?void 0:te.ownerDocument.activeElement)===te&&(te==null||te.blur())},[g]);const F=m.useCallback(te=>{k(te.currentTarget.value)},[k]),M=m.useCallback(te=>{const re=te.key,ye={Escape:N,Enter:ot=>{!ot.shiftKey&&!ot.metaKey&&R()}}[re];ye&&(te.preventDefault(),ye(te))},[N,R]),G=m.useCallback(te=>{const re=te.key,ye={Escape:N}[re];ye&&(te.preventDefault(),ye(te))},[N]),Z=w.length===0,ae=m.useCallback(te=>{if(!g)return;const re=te.currentTarget.ownerDocument,ze=te.relatedTarget??re.activeElement,ye=lw(W.current,ze),ot=lw(Y.current,ze);!ye&&!ot&&(d?R():N())},[d,R,N,g]),oe=m.useCallback((te={},re=null)=>{const ze=ee&&u?0:void 0;return{...te,ref:Mt(re,z),children:Z?p:w,hidden:g,"aria-disabled":gi(a),tabIndex:ze,onFocus:he(te.onFocus,I,L)}},[a,g,ee,u,Z,I,L,p,w]),Q=m.useCallback((te={},re=null)=>({...te,hidden:!g,placeholder:p,ref:Mt(re,j),disabled:a,"aria-disabled":gi(a),value:w,onBlur:he(te.onBlur,ae),onChange:he(te.onChange,F),onKeyDown:he(te.onKeyDown,M),onFocus:he(te.onFocus,L)}),[a,g,ae,F,M,L,p,w]),ue=m.useCallback((te={},re=null)=>({...te,hidden:!g,placeholder:p,ref:Mt(re,j),disabled:a,"aria-disabled":gi(a),value:w,onBlur:he(te.onBlur,ae),onChange:he(te.onChange,F),onKeyDown:he(te.onKeyDown,G),onFocus:he(te.onFocus,L)}),[a,g,ae,F,G,L,p,w]),ce=m.useCallback((te={},re=null)=>({"aria-label":"Edit",...te,type:"button",onClick:he(te.onClick,I),ref:Mt(re,$),disabled:a}),[I,a]),Be=m.useCallback((te={},re=null)=>({...te,"aria-label":"Submit",ref:Mt(Y,re),type:"button",onClick:he(te.onClick,R),disabled:a}),[R,a]),Ze=m.useCallback((te={},re=null)=>({"aria-label":"Cancel",id:"cancel",...te,ref:Mt(W,re),type:"button",onClick:he(te.onClick,N),disabled:a}),[N,a]);return{isEditing:g,isDisabled:a,isValueEmpty:Z,value:w,onEdit:I,onCancel:N,onSubmit:R,getPreviewProps:oe,getInputProps:Q,getTextareaProps:ue,getEditButtonProps:ce,getSubmitButtonProps:Be,getCancelButtonProps:Ze,htmlProps:b}}const Pf=B(function(t,n){const r=Qe("Editable",t),i=$e(t),{htmlProps:o,...a}=$G(i),{isEditing:l,onSubmit:c,onCancel:u,onEdit:d}=a,f=V("chakra-editable",t.className),p=cn(t.children,{isEditing:l,onSubmit:c,onCancel:u,onEdit:d});return s.jsx(AG,{value:a,children:s.jsx(EG,{value:r,children:s.jsx(D.div,{ref:n,...o,className:f,children:p})})})});Pf.displayName="Editable";const t_={fontSize:"inherit",fontWeight:"inherit",textAlign:"inherit",bg:"transparent"},_f=B(function(t,n){const{getInputProps:r}=pb(),i=e_(),o=r(t,n),a=V("chakra-editable__input",t.className);return s.jsx(D.input,{...o,__css:{outline:0,...t_,...i.input},className:a})});_f.displayName="EditableInput";const Tf=B(function(t,n){const{getPreviewProps:r}=pb(),i=e_(),o=r(t,n),a=V("chakra-editable__preview",t.className);return s.jsx(D.span,{...o,__css:{cursor:"text",display:"inline-block",...t_,...i.preview},className:a})});Tf.displayName="EditablePreview";function zG(){const{isEditing:e,getEditButtonProps:t,getCancelButtonProps:n,getSubmitButtonProps:r}=pb();return{isEditing:e,getEditButtonProps:t,getCancelButtonProps:n,getSubmitButtonProps:r}}function tc(e){return typeof e=="function"}function RG(...e){return t=>e.reduce((n,r)=>r(n),t)}const IG=e=>function(...n){let r=[...n],i=n[n.length-1];return lO(i)&&r.length>1?r=r.slice(0,r.length-1):i=e,RG(...r.map(o=>a=>tc(o)?o(a):MG(a,o)))(i)},mb=IG(Jo);function MG(...e){return ar({},...e,n_)}function n_(e,t,n,r){if((tc(e)||tc(t))&&Object.prototype.hasOwnProperty.call(r,n))return(...i)=>{const o=tc(e)?e(...i):e,a=tc(t)?t(...i):t;return ar({},o,a,n_)};if(Nt(e)&&Dg(t)||Dg(e)&&Nt(t))return t}const St=B(function(t,n){const{direction:r,align:i,justify:o,wrap:a,basis:l,grow:c,shrink:u,...d}=t,f={display:"flex",flexDirection:r,alignItems:i,justifyContent:o,flexWrap:a,flexBasis:l,flexGrow:c,flexShrink:u};return s.jsx(D.div,{ref:n,__css:f,...d})});St.displayName="Flex";function LG(e,t){if(e==null)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(t.indexOf(r)!==-1)continue;n[r]=e[r]}return n}var bv="data-focus-lock",r_="data-focus-lock-disabled",NG="data-no-focus-lock",DG="data-autofocus-inside",OG="data-no-autofocus";function h0(e,t){return typeof e=="function"?e(t):e&&(e.current=t),e}function FG(e,t){var n=m.useState(function(){return{value:e,callback:t,facade:{get current(){return n.value},set current(r){var i=n.value;i!==r&&(n.value=r,n.callback(r,i))}}}})[0];return n.callback=t,n.facade}var BG=typeof window<"u"?m.useLayoutEffect:m.useEffect,cw=new WeakMap;function i_(e,t){var n=FG(null,function(r){return e.forEach(function(i){return h0(i,r)})});return BG(function(){var r=cw.get(n);if(r){var i=new Set(r),o=new Set(e),a=n.current;i.forEach(function(l){o.has(l)||h0(l,null)}),o.forEach(function(l){i.has(l)||h0(l,a)})}cw.set(n,e)},[e]),n}var g0={width:"1px",height:"0px",padding:0,overflow:"hidden",position:"fixed",top:"1px",left:"1px"},Wr=function(){return Wr=Object.assign||function(t){for(var n,r=1,i=arguments.length;r<i;r++){n=arguments[r];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(t[o]=n[o])}return t},Wr.apply(this,arguments)};function o_(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]]);return n}function WG(e,t,n){if(n||arguments.length===2)for(var r=0,i=t.length,o;r<i;r++)(o||!(r in t))&&(o||(o=Array.prototype.slice.call(t,0,r)),o[r]=t[r]);return e.concat(o||Array.prototype.slice.call(t))}function a_(e){return e}function s_(e,t){t===void 0&&(t=a_);var n=[],r=!1,i={read:function(){if(r)throw new Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return n.length?n[n.length-1]:e},useMedium:function(o){var a=t(o,r);return n.push(a),function(){n=n.filter(function(l){return l!==a})}},assignSyncMedium:function(o){for(r=!0;n.length;){var a=n;n=[],a.forEach(o)}n={push:function(l){return o(l)},filter:function(){return n}}},assignMedium:function(o){r=!0;var a=[];if(n.length){var l=n;n=[],l.forEach(o),a=n}var c=function(){var d=a;a=[],d.forEach(o)},u=function(){return Promise.resolve().then(c)};u(),n={push:function(d){a.push(d),u()},filter:function(d){return a=a.filter(d),n}}}};return i}function hb(e,t){return t===void 0&&(t=a_),s_(e,t)}function l_(e){e===void 0&&(e={});var t=s_(null);return t.options=Wr({async:!0,ssr:!1},e),t}var c_=function(e){var t=e.sideCar,n=o_(e,["sideCar"]);if(!t)throw new Error("Sidecar: please provide `sideCar` property to import the right car");var r=t.read();if(!r)throw new Error("Sidecar medium not found");return m.createElement(r,Wr({},n))};c_.isSideCarExport=!0;function VG(e,t){return e.useMedium(t),c_}var u_=hb({},function(e){var t=e.target,n=e.currentTarget;return{target:t,currentTarget:n}}),d_=hb(),UG=hb(),HG=l_({async:!0,ssr:typeof document<"u"}),GG=m.createContext(void 0),KG=[],gb=m.forwardRef(function(t,n){var r,i=m.useState(),o=i[0],a=i[1],l=m.useRef(),c=m.useRef(!1),u=m.useRef(null),d=m.useState({}),f=d[1],p=t.children,h=t.disabled,v=h===void 0?!1:h,b=t.noFocusGuards,x=b===void 0?!1:b,y=t.persistentFocus,g=y===void 0?!1:y,S=t.crossFrame,w=S===void 0?!0:S,k=t.autoFocus,P=k===void 0?!0:k;t.allowTextSelection;var _=t.group,j=t.className,z=t.whiteList,$=t.hasPositiveIndices,W=t.shards,Y=W===void 0?KG:W,ee=t.as,I=ee===void 0?"div":ee,L=t.lockProps,N=L===void 0?{}:L,R=t.sideCar,F=t.returnFocus,M=F===void 0?!1:F,G=t.focusOptions,Z=t.onActivation,ae=t.onDeactivation,oe=m.useState({}),Q=oe[0],ue=m.useCallback(function(Ve){var $t=Ve.captureFocusRestore;if(!u.current){var Se,kn=(Se=document)==null?void 0:Se.activeElement;u.current=kn,kn!==document.body&&(u.current=$t(kn))}l.current&&Z&&Z(l.current),c.current=!0,f()},[Z]),ce=m.useCallback(function(){c.current=!1,ae&&ae(l.current),f()},[ae]),Be=m.useCallback(function(Ve){var $t=u.current;if($t){var Se=(typeof $t=="function"?$t():$t)||document.body,kn=typeof M=="function"?M(Se):M;if(kn){var Ot=typeof kn=="object"?kn:void 0;u.current=null,Ve?Promise.resolve().then(function(){return Se.focus(Ot)}):Se.focus(Ot)}}},[M]),Ze=m.useCallback(function(Ve){c.current&&u_.useMedium(Ve)},[]),te=d_.useMedium,re=m.useCallback(function(Ve){l.current!==Ve&&(l.current=Ve,a(Ve))},[]),ze=wa((r={},r[r_]=v&&"disabled",r[bv]=_,r),N),ye=x!==!0,ot=ye&&x!=="tail",ve=i_([n,re]),ut=m.useMemo(function(){return{observed:l,shards:Y,enabled:!v,get active(){return c.current}}},[v,c,Y,l]);return Xt.createElement(m.Fragment,null,ye&&[Xt.createElement("div",{key:"guard-first","data-focus-guard":!0,tabIndex:v?-1:0,style:g0}),$?Xt.createElement("div",{key:"guard-nearest","data-focus-guard":!0,tabIndex:v?-1:1,style:g0}):null],!v&&Xt.createElement(R,{id:Q,sideCar:HG,observed:o,disabled:v,persistentFocus:g,crossFrame:w,autoFocus:P,whiteList:z,shards:Y,onActivation:ue,onDeactivation:ce,returnFocus:Be,focusOptions:G,noFocusGuards:x}),Xt.createElement(I,wa({ref:ve},ze,{className:j,onBlur:te,onFocus:Ze}),Xt.createElement(GG.Provider,{value:ut},p)),ot&&Xt.createElement("div",{"data-focus-guard":!0,tabIndex:v?-1:0,style:g0}))});gb.propTypes={};function xv(e,t){return xv=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(n,r){return n.__proto__=r,n},xv(e,t)}function qG(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,xv(e,t)}function iu(e){"@babel/helpers - typeof";return iu=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},iu(e)}function XG(e,t){if(iu(e)!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t);if(iu(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function YG(e){var t=XG(e,"string");return iu(t)=="symbol"?t:t+""}function QG(e,t,n){return(t=YG(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ZG(e,t){function n(r){return r.displayName||r.name||"Component"}return function(i){var o=[],a;function l(){a=e(o.map(function(u){return u.props})),t(a)}var c=function(u){qG(d,u);function d(){return u.apply(this,arguments)||this}d.peek=function(){return a};var f=d.prototype;return f.componentDidMount=function(){o.push(this),l()},f.componentDidUpdate=function(){l()},f.componentWillUnmount=function(){var h=o.indexOf(this);o.splice(h,1),l()},f.render=function(){return Xt.createElement(i,this.props)},d}(m.PureComponent);return QG(c,"displayName","SideEffect("+n(i)+")"),c}}var Jr=function(e){for(var t=Array(e.length),n=0;n<e.length;++n)t[n]=e[n];return t},Ca=function(e){return Array.isArray(e)?e:[e]},f_=function(e){return Array.isArray(e)?e[0]:e},JG=function(e){if(e.nodeType!==Node.ELEMENT_NODE)return!1;var t=window.getComputedStyle(e,null);return!t||!t.getPropertyValue?!1:t.getPropertyValue("display")==="none"||t.getPropertyValue("visibility")==="hidden"},p_=function(e){return e.parentNode&&e.parentNode.nodeType===Node.DOCUMENT_FRAGMENT_NODE?e.parentNode.host:e.parentNode},m_=function(e){return e===document||e&&e.nodeType===Node.DOCUMENT_NODE},eK=function(e){return e.hasAttribute("inert")},tK=function(e,t){return!e||m_(e)||!JG(e)&&!eK(e)&&t(p_(e))},h_=function(e,t){var n=e.get(t);if(n!==void 0)return n;var r=tK(t,h_.bind(void 0,e));return e.set(t,r),r},nK=function(e,t){return e&&!m_(e)?oK(e)?t(p_(e)):!1:!0},g_=function(e,t){var n=e.get(t);if(n!==void 0)return n;var r=nK(t,g_.bind(void 0,e));return e.set(t,r),r},v_=function(e){return e.dataset},rK=function(e){return e.tagName==="BUTTON"},y_=function(e){return e.tagName==="INPUT"},b_=function(e){return y_(e)&&e.type==="radio"},iK=function(e){return!((y_(e)||rK(e))&&(e.type==="hidden"||e.disabled))},oK=function(e){var t=e.getAttribute(OG);return![!0,"true",""].includes(t)},vb=function(e){var t;return!!(e&&(!((t=v_(e))===null||t===void 0)&&t.focusGuard))},Sv=function(e){return!vb(e)},aK=function(e){return!!e},sK=function(e,t){var n=Math.max(0,e.tabIndex),r=Math.max(0,t.tabIndex),i=n-r,o=e.index-t.index;if(i){if(!n)return 1;if(!r)return-1}return i||o},lK=function(e){return e.tabIndex<0&&!e.hasAttribute("tabindex")?0:e.tabIndex},yb=function(e,t,n){return Jr(e).map(function(r,i){var o=lK(r);return{node:r,index:i,tabIndex:n&&o===-1?(r.dataset||{}).focusGuard?0:-1:o}}).filter(function(r){return!t||r.tabIndex>=0}).sort(sK)},cK=["button:enabled","select:enabled","textarea:enabled","input:enabled","a[href]","area[href]","summary","iframe","object","embed","audio[controls]","video[controls]","[tabindex]","[contenteditable]","[autofocus]"],bb=cK.join(","),uK="".concat(bb,", [data-focus-guard]"),x_=function(e,t){return Jr((e.shadowRoot||e).children).reduce(function(n,r){return n.concat(r.matches(t?uK:bb)?[r]:[],x_(r))},[])},dK=function(e,t){var n;return e instanceof HTMLIFrameElement&&(!((n=e.contentDocument)===null||n===void 0)&&n.body)?el([e.contentDocument.body],t):[e]},el=function(e,t){return e.reduce(function(n,r){var i,o=x_(r,t),a=(i=[]).concat.apply(i,o.map(function(l){return dK(l,t)}));return n.concat(a,r.parentNode?Jr(r.parentNode.querySelectorAll(bb)).filter(function(l){return l===r}):[])},[])},fK=function(e){var t=e.querySelectorAll("[".concat(DG,"]"));return Jr(t).map(function(n){return el([n])}).reduce(function(n,r){return n.concat(r)},[])},xb=function(e,t){return Jr(e).filter(function(n){return h_(t,n)}).filter(function(n){return iK(n)})},uw=function(e,t){return t===void 0&&(t=new Map),Jr(e).filter(function(n){return g_(t,n)})},Sb=function(e,t,n){return yb(xb(el(e,n),t),!0,n)},ou=function(e,t){return yb(xb(el(e),t),!1)},pK=function(e,t){return xb(fK(e),t)},fa=function(e,t){return e.shadowRoot?fa(e.shadowRoot,t):Object.getPrototypeOf(e).contains!==void 0&&Object.getPrototypeOf(e).contains.call(e,t)?!0:Jr(e.children).some(function(n){var r;if(n instanceof HTMLIFrameElement){var i=(r=n.contentDocument)===null||r===void 0?void 0:r.body;return i?fa(i,t):!1}return fa(n,t)})},mK=function(e){for(var t=new Set,n=e.length,r=0;r<n;r+=1)for(var i=r+1;i<n;i+=1){var o=e[r].compareDocumentPosition(e[i]);(o&Node.DOCUMENT_POSITION_CONTAINED_BY)>0&&t.add(i),(o&Node.DOCUMENT_POSITION_CONTAINS)>0&&t.add(r)}return e.filter(function(a,l){return!t.has(l)})},S_=function(e){return e.parentNode?S_(e.parentNode):e},wb=function(e){var t=Ca(e);return t.filter(Boolean).reduce(function(n,r){var i=r.getAttribute(bv);return n.push.apply(n,i?mK(Jr(S_(r).querySelectorAll("[".concat(bv,'="').concat(i,'"]:not([').concat(r_,'="disabled"])')))):[r]),n},[])},hK=function(e){try{return e()}catch{return}},au=function(e){if(e===void 0&&(e=document),!(!e||!e.activeElement)){var t=e.activeElement;return t.shadowRoot?au(t.shadowRoot):t instanceof HTMLIFrameElement&&hK(function(){return t.contentWindow.document})?au(t.contentWindow.document):t}},gK=function(e,t){return e===t},vK=function(e,t){return!!Jr(e.querySelectorAll("iframe")).some(function(n){return gK(n,t)})},w_=function(e,t){return t===void 0&&(t=au(f_(e).ownerDocument)),!t||t.dataset&&t.dataset.focusGuard?!1:wb(e).some(function(n){return fa(n,t)||vK(n,t)})},yK=function(e){e===void 0&&(e=document);var t=au(e);return t?Jr(e.querySelectorAll("[".concat(NG,"]"))).some(function(n){return fa(n,t)}):!1},bK=function(e,t){return t.filter(b_).filter(function(n){return n.name===e.name}).filter(function(n){return n.checked})[0]||e},kb=function(e,t){return b_(e)&&e.name?bK(e,t):e},xK=function(e){var t=new Set;return e.forEach(function(n){return t.add(kb(n,e))}),e.filter(function(n){return t.has(n)})},dw=function(e){return e[0]&&e.length>1?kb(e[0],e):e[0]},fw=function(e,t){return e.indexOf(kb(t,e))},wv="NEW_FOCUS",SK=function(e,t,n,r,i){var o=e.length,a=e[0],l=e[o-1],c=vb(r);if(!(r&&e.indexOf(r)>=0)){var u=r!==void 0?n.indexOf(r):-1,d=i?n.indexOf(i):u,f=i?e.indexOf(i):-1;if(u===-1)return f!==-1?f:wv;if(f===-1)return wv;var p=u-d,h=n.indexOf(a),v=n.indexOf(l),b=xK(n),x=r!==void 0?b.indexOf(r):-1,y=i?b.indexOf(i):x,g=b.filter(function(j){return j.tabIndex>=0}),S=r!==void 0?g.indexOf(r):-1,w=i?g.indexOf(i):S,k=S>=0&&w>=0?w-S:y-x;if(!p&&f>=0||t.length===0)return f;var P=fw(e,t[0]),_=fw(e,t[t.length-1]);if(u<=h&&c&&Math.abs(p)>1)return _;if(u>=v&&c&&Math.abs(p)>1)return P;if(p&&Math.abs(k)>1)return f;if(u<=h)return _;if(u>v)return P;if(p)return Math.abs(p)>1?f:(o+f+p)%o}},wK=function(e){return function(t){var n,r=(n=v_(t))===null||n===void 0?void 0:n.autofocus;return t.autofocus||r!==void 0&&r!=="false"||e.indexOf(t)>=0}},pw=function(e,t,n){var r=e.map(function(o){var a=o.node;return a}),i=uw(r.filter(wK(n)));return i&&i.length?dw(i):dw(uw(t))},kv=function(e,t){return t===void 0&&(t=[]),t.push(e),e.parentNode&&kv(e.parentNode.host||e.parentNode,t),t},v0=function(e,t){for(var n=kv(e),r=kv(t),i=0;i<n.length;i+=1){var o=n[i];if(r.indexOf(o)>=0)return o}return!1},k_=function(e,t,n){var r=Ca(e),i=Ca(t),o=r[0],a=!1;return i.filter(Boolean).forEach(function(l){a=v0(a||l,l)||a,n.filter(Boolean).forEach(function(c){var u=v0(o,c);u&&(!a||fa(u,a)?a=u:a=v0(u,a))})}),a},mw=function(e,t){return e.reduce(function(n,r){return n.concat(pK(r,t))},[])},kK=function(e,t){var n=new Map;return t.forEach(function(r){return n.set(r.node,r)}),e.map(function(r){return n.get(r)}).filter(aK)},CK=function(e,t){var n=au(Ca(e).length>0?document:f_(e).ownerDocument),r=wb(e).filter(Sv),i=k_(n||e,e,r),o=new Map,a=ou(r,o),l=a.filter(function(v){var b=v.node;return Sv(b)});if(l[0]){var c=ou([i],o).map(function(v){var b=v.node;return b}),u=kK(c,l),d=u.map(function(v){var b=v.node;return b}),f=u.filter(function(v){var b=v.tabIndex;return b>=0}).map(function(v){var b=v.node;return b}),p=SK(d,f,c,n,t);if(p===wv){var h=pw(a,f,mw(r,o))||pw(a,d,mw(r,o));if(h)return{node:h};console.warn("focus-lock: cannot find any node to move focus into");return}return p===void 0?p:u[p]}},jK=function(e){var t=wb(e).filter(Sv),n=k_(e,e,t),r=yb(el([n],!0),!0,!0),i=el(t,!1);return r.map(function(o){var a=o.node,l=o.index;return{node:a,index:l,lockItem:i.indexOf(a)>=0,guard:vb(a)}})},Cb=function(e,t){e&&("focus"in e&&e.focus(t),"contentWindow"in e&&e.contentWindow&&e.contentWindow.focus())},y0=0,b0=!1,C_=function(e,t,n){n===void 0&&(n={});var r=CK(e,t);if(!b0&&r){if(y0>2){console.error("FocusLock: focus-fighting detected. Only one focus management system could be active. See https://github.com/theKashey/focus-lock/#focus-fighting"),b0=!0,setTimeout(function(){b0=!1},1);return}y0++,Cb(r.node,n.focusOptions),y0--}};function Ol(e){if(!e)return null;if(typeof WeakRef>"u")return function(){return e||null};var t=e?new WeakRef(e):null;return function(){return(t==null?void 0:t.deref())||null}}var PK=function(e){if(!e)return null;for(var t=[],n=e;n&&n!==document.body;)t.push({current:Ol(n),parent:Ol(n.parentElement),left:Ol(n.previousElementSibling),right:Ol(n.nextElementSibling)}),n=n.parentElement;return{element:Ol(e),stack:t,ownerDocument:e.ownerDocument}},_K=function(e){var t,n,r,i,o;if(e)for(var a=e.stack,l=e.ownerDocument,c=new Map,u=0,d=a;u<d.length;u++){var f=d[u],p=(t=f.parent)===null||t===void 0?void 0:t.call(f);if(p&&l.contains(p)){for(var h=(n=f.left)===null||n===void 0?void 0:n.call(f),v=f.current(),b=p.contains(v)?v:void 0,x=(r=f.right)===null||r===void 0?void 0:r.call(f),y=Sb([p],c),g=(o=(i=b??(h==null?void 0:h.nextElementSibling))!==null&&i!==void 0?i:x)!==null&&o!==void 0?o:h;g;){for(var S=0,w=y;S<w.length;S++){var k=w[S];if(g!=null&&g.contains(k.node))return k.node}g=g.nextElementSibling}if(y.length)return y[0].node}}},j_=function(e){var t=PK(e);return function(){return _K(t)}},TK=function(e,t,n){if(!e||!t)return console.error("no element or scope given"),{};var r=Ca(t);if(r.every(function(a){return!fa(a,e)}))return console.error("Active element is not contained in the scope"),{};var i=n?Sb(r,new Map):ou(r,new Map),o=i.findIndex(function(a){var l=a.node;return l===e});if(o!==-1)return{prev:i[o-1],next:i[o+1],first:i[0],last:i[i.length-1]}},EK=function(e,t){var n=t?Sb(Ca(e),new Map):ou(Ca(e),new Map);return{first:n[0],last:n[n.length-1]}},AK=function(e){return Object.assign({scope:document.body,cycle:!0,onlyTabbable:!0},e)},P_=function(e,t,n){t===void 0&&(t={});var r=AK(t),i=TK(e,r.scope,r.onlyTabbable);if(i){var o=n(i,r.cycle);o&&Cb(o.node,r.focusOptions)}},$K=function(e,t){t===void 0&&(t={}),P_(e,t,function(n,r){var i=n.next,o=n.first;return i||r&&o})},zK=function(e,t){t===void 0&&(t={}),P_(e,t,function(n,r){var i=n.prev,o=n.last;return i||r&&o})},__=function(e,t,n){var r,i=EK(e,(r=t.onlyTabbable)!==null&&r!==void 0?r:!0),o=i[n];o&&Cb(o.node,t.focusOptions)},RK=function(e,t){t===void 0&&(t={}),__(e,t,"first")},IK=function(e,t){t===void 0&&(t={}),__(e,t,"last")};function jb(e){setTimeout(e,1)}var MK=function(t){return t&&"current"in t?t.current:t},T_=function(){return document&&document.activeElement===document.body},LK=function(){return T_()||yK()},Ls=null,Cn=null,hw=function(){return null},Ns=null,su=!1,Pb=!1,NK=function(){return!0},DK=function(t){return(Ls.whiteList||NK)(t)},OK=function(t,n){Ns={observerNode:t,portaledElement:n}},FK=function(t){return Ns&&Ns.portaledElement===t};function gw(e,t,n,r){var i=null,o=e;do{var a=r[o];if(a.guard)a.node.dataset.focusAutoGuard&&(i=a);else if(a.lockItem){if(o!==e)return;i=null}else break}while((o+=n)!==t);i&&(i.node.tabIndex=0)}var BK=function(t){return t?!!su:su==="meanwhile"},WK=function e(t,n,r){return n&&(n.host===t&&(!n.activeElement||r.contains(n.activeElement))||n.parentNode&&e(t,n.parentNode,r))},VK=function(t,n){return n.some(function(r){return WK(t,r,r)})},E_=function(t){return ou(t,new Map)},UK=function(t){return!E_([t.parentNode]).some(function(n){return n.node===t})},Cp=function(){var t=!1;if(Ls){var n=Ls,r=n.observed,i=n.persistentFocus,o=n.autoFocus,a=n.shards,l=n.crossFrame,c=n.focusOptions,u=n.noFocusGuards,d=r||Ns&&Ns.portaledElement;if(T_()&&Cn&&Cn!==document.body&&(!document.body.contains(Cn)||UK(Cn))){var f=hw();f&&f.focus()}var p=document&&document.activeElement;if(d){var h=[d].concat(a.map(MK).filter(Boolean)),v=function(){if(!BK(l)||!u||!Cn||Pb)return!1;var S=E_(h),w=S.findIndex(function(k){var P=k.node;return P===Cn});return w===0||w===S.length-1};if((!p||DK(p))&&(i||v()||!LK()||!Cn&&o)&&(d&&!(w_(h)||p&&VK(p,h)||FK(p))&&(document&&!Cn&&p&&!o?(p.blur&&p.blur(),document.body.focus()):(t=C_(h,Cn,{focusOptions:c}),Ns={})),Cn=document&&document.activeElement,Cn!==document.body&&(hw=j_(Cn)),su=!1),document&&p!==document.activeElement&&document.querySelector("[data-focus-auto-guard]")){var b=document&&document.activeElement,x=jK(h),y=x.map(function(g){var S=g.node;return S}).indexOf(b);y>-1&&(x.filter(function(g){var S=g.guard,w=g.node;return S&&w.dataset.focusAutoGuard}).forEach(function(g){var S=g.node;return S.removeAttribute("tabIndex")}),gw(y,x.length,1,x),gw(y,-1,-1,x))}}}return t},A_=function(t){Cp()&&t&&(t.stopPropagation(),t.preventDefault())},_b=function(){return jb(Cp)},HK=function(t){var n=t.target,r=t.currentTarget;r.contains(n)||OK(r,n)},GK=function(){return null},$_=function(){Pb=!0},z_=function(){Pb=!1,su="just",jb(function(){su="meanwhile"})},KK=function(){document.addEventListener("focusin",A_),document.addEventListener("focusout",_b),window.addEventListener("focus",$_),window.addEventListener("blur",z_)},qK=function(){document.removeEventListener("focusin",A_),document.removeEventListener("focusout",_b),window.removeEventListener("focus",$_),window.removeEventListener("blur",z_)};function XK(e){return e.filter(function(t){var n=t.disabled;return!n})}var R_={moveFocusInside:C_,focusInside:w_,focusNextElement:$K,focusPrevElement:zK,focusFirstElement:RK,focusLastElement:IK,captureFocusRestore:j_};function YK(e){var t=e.slice(-1)[0];t&&!Ls&&KK();var n=Ls,r=n&&t&&t.id===n.id;Ls=t,n&&!r&&(n.onDeactivation(),e.filter(function(i){var o=i.id;return o===n.id}).length||n.returnFocus(!t)),t?(Cn=null,(!r||n.observed!==t.observed)&&t.onActivation(R_),Cp(),jb(Cp)):(qK(),Cn=null)}u_.assignSyncMedium(HK);d_.assignMedium(_b);UG.assignMedium(function(e){return e(R_)});const QK=ZG(XK,YK)(GK);var Cv=m.forwardRef(function(t,n){return Xt.createElement(gb,wa({sideCar:QK,ref:n},t))}),I_=gb.propTypes||{};I_.sideCar;LG(I_,["sideCar"]);Cv.propTypes={};const ZK=Cv.default??Cv,M_=e=>{const{initialFocusRef:t,finalFocusRef:n,contentRef:r,restoreFocus:i,children:o,isDisabled:a,autoFocus:l,persistentFocus:c,lockFocusAcrossFrames:u}=e,d=m.useCallback(()=>{t!=null&&t.current?t.current.focus():r!=null&&r.current&&O$(r.current).length===0&&requestAnimationFrame(()=>{var v;(v=r.current)==null||v.focus()})},[t,r]),f=m.useCallback(()=>{var h;(h=n==null?void 0:n.current)==null||h.focus()},[n]),p=i&&!n;return s.jsx(ZK,{crossFrame:u,persistentFocus:c,autoFocus:l,disabled:a,onActivation:d,onDeactivation:f,returnFocus:p,children:o})};M_.displayName="FocusLock";const Ce=B(function(t,n){const r=Yn("FormLabel",t),i=$e(t),{className:o,children:a,requiredIndicator:l=s.jsx(L_,{}),optionalIndicator:c=null,...u}=i,d=Iu(),f=(d==null?void 0:d.getLabelProps(u,n))??{ref:n,...u};return s.jsxs(D.label,{...f,className:V("chakra-form__label",i.className),__css:{display:"block",textAlign:"start",...r},children:[a,d!=null&&d.isRequired?l:c]})});Ce.displayName="FormLabel";const L_=B(function(t,n){const r=Iu(),i=YP();if(!(r!=null&&r.isRequired))return null;const o=V("chakra-form__required-indicator",t.className);return s.jsx(D.span,{...r==null?void 0:r.getRequiredIndicatorProps(t,n),__css:i.requiredIndicator,className:o})});L_.displayName="RequiredIndicator";const N_=B(function(t,n){const{templateAreas:r,gap:i,rowGap:o,columnGap:a,column:l,row:c,autoFlow:u,autoRows:d,templateRows:f,autoColumns:p,templateColumns:h,...v}=t,b={display:"grid",gridTemplateAreas:r,gridGap:i,gridRowGap:o,gridColumnGap:a,gridAutoColumns:p,gridColumn:l,gridRow:c,gridAutoFlow:u,gridAutoRows:d,gridTemplateRows:f,gridTemplateColumns:h};return s.jsx(D.div,{ref:n,__css:b,...v})});N_.displayName="Grid";const bn=B(function(t,n){const{columns:r,spacingX:i,spacingY:o,spacing:a,minChildWidth:l,...c}=t,u=zi(),d=l?eq(l,u):tq(r);return s.jsx(N_,{ref:n,gap:a,columnGap:i,rowGap:o,templateColumns:d,...c})});bn.displayName="SimpleGrid";function JK(e){return typeof e=="number"?`${e}px`:e}function eq(e,t){return ny(e,n=>{const r=wH("sizes",n,JK(n))(t);return n===null?null:`repeat(auto-fit, minmax(${r}, 1fr))`})}function tq(e){return ny(e,t=>t===null?null:`repeat(${t}, minmax(0, 1fr))`)}function _m(e){const{viewBox:t="0 0 24 24",d:n,displayName:r,defaultProps:i={}}=e,o=m.Children.toArray(e.path),a=B((l,c)=>s.jsx(At,{ref:c,viewBox:t,...i,...l,children:o.length?o:s.jsx("path",{fill:"currentColor",d:n})}));return a.displayName=r,a}const jv=B(function(t,n){const{htmlWidth:r,htmlHeight:i,alt:o,...a}=t;return s.jsx("img",{width:r,height:i,ref:n,alt:o,...a})});jv.displayName="NativeImage";const D_=B(function(t,n){const{fallbackSrc:r,fallback:i,src:o,srcSet:a,align:l,fit:c,loading:u,ignoreFallback:d,crossOrigin:f,fallbackStrategy:p="beforeLoadOrError",referrerPolicy:h,...v}=t,b=r!==void 0||i!==void 0,x=u!=null||d||!b,y=HP({...t,crossOrigin:f,ignoreFallback:x}),g=tG(y,p),S={ref:n,objectFit:c,objectPosition:l,...x?v:tm(v,["onError","onLoad"])};return g?i||s.jsx(D.img,{as:jv,className:"chakra-image__placeholder",src:r,...S}):s.jsx(D.img,{as:jv,src:o,srcSet:a,crossOrigin:f,loading:u,referrerPolicy:h,className:"chakra-image",...S})});D_.displayName="Image";const bt=B(function(t,n){const{htmlSize:r,...i}=t,o=Qe("Input",i),a=$e(i),l=QP(a),c=V("chakra-input",t.className);return s.jsx(D.input,{size:r,...l,__css:o.field,ref:n,className:c})});bt.displayName="Input";bt.id="Input";const[nq,rq]=_e({name:"InputGroupStylesContext",errorMessage:`useInputGroupStyles returned is 'undefined'. Seems you forgot to wrap the components in "<InputGroup />" `}),Tb=B(function(t,n){const r=Qe("Input",t),{children:i,className:o,...a}=$e(t),l=V("chakra-input__group",o),c={},u=ey(i),d=r.field;u.forEach(p=>{r&&(d&&p.type.id==="InputLeftElement"&&(c.paddingStart=d.height??d.h),d&&p.type.id==="InputRightElement"&&(c.paddingEnd=d.height??d.h),p.type.id==="InputRightAddon"&&(c.borderEndRadius=0),p.type.id==="InputLeftAddon"&&(c.borderStartRadius=0))});const f=u.map(p=>{var v,b;const h=ty({size:((v=p.props)==null?void 0:v.size)||t.size,variant:((b=p.props)==null?void 0:b.variant)||t.variant});return p.type.id!=="Input"?m.cloneElement(p,h):m.cloneElement(p,Object.assign(h,c,p.props))});return s.jsx(D.div,{className:l,ref:n,__css:{width:"100%",display:"flex",position:"relative",isolation:"isolate",...r.group},"data-group":!0,...a,children:s.jsx(nq,{value:r,children:f})})});Tb.displayName="InputGroup";const iq=D("div",{baseStyle:{display:"flex",alignItems:"center",justifyContent:"center",position:"absolute",top:"0",zIndex:2}}),Tm=B(function(t,n){const{placement:r="left",...i}=t,o=rq(),a=o.field,c={[r==="left"?"insetStart":"insetEnd"]:"0",width:(a==null?void 0:a.height)??(a==null?void 0:a.h),height:(a==null?void 0:a.height)??(a==null?void 0:a.h),fontSize:a==null?void 0:a.fontSize,...o.element};return s.jsx(iq,{ref:n,__css:c,...i})});Tm.id="InputElement";Tm.displayName="InputElement";const Eb=B(function(t,n){const{className:r,...i}=t,o=V("chakra-input__left-element",r);return s.jsx(Tm,{ref:n,placement:"left",className:o,...i})});Eb.id="InputLeftElement";Eb.displayName="InputLeftElement";const Em=B(function(t,n){const{className:r,...i}=t,o=V("chakra-input__right-element",r);return s.jsx(Tm,{ref:n,placement:"right",className:o,...i})});Em.id="InputRightElement";Em.displayName="InputRightElement";const _o=B(function(t,n){const r=Yn("Link",t),{className:i,isExternal:o,...a}=$e(t);return s.jsx(D.a,{target:o?"_blank":void 0,rel:o?"noopener":void 0,ref:n,className:V("chakra-link",i),...a,__css:r})});_o.displayName="Link";const[oq,O_]=_e({name:"ListStylesContext",errorMessage:`useListStyles returned is 'undefined'. Seems you forgot to wrap the components in "<List />" `}),Mu=B(function(t,n){const r=Qe("List",t),{children:i,styleType:o="none",stylePosition:a,spacing:l,...c}=$e(t),u=ey(i),f=l?{["& > *:not(style) ~ *:not(style)"]:{mt:l}}:{};return s.jsx(oq,{value:r,children:s.jsx(D.ul,{ref:n,listStyleType:o,listStylePosition:a,role:"list",__css:{...r.container,...f},...c,children:u})})});Mu.displayName="List";const aq=B((e,t)=>{const{as:n,...r}=e;return s.jsx(Mu,{ref:t,as:"ol",styleType:"decimal",marginStart:"1em",...r})});aq.displayName="OrderedList";const sq=B(function(t,n){const{as:r,...i}=t;return s.jsx(Mu,{ref:n,as:"ul",styleType:"initial",marginStart:"1em",...i})});sq.displayName="UnorderedList";const Ab=B(function(t,n){const r=O_();return s.jsx(D.li,{ref:n,...t,__css:r.item})});Ab.displayName="ListItem";const F_=B(function(t,n){const r=O_();return s.jsx(At,{ref:n,role:"presentation",...t,__css:r.icon})});F_.displayName="ListIcon";function lq(e,t={}){const{ssr:n=!0,fallback:r}=t,{getWindow:i}=wF(),o=Array.isArray(e)?e:[e];let a=Array.isArray(r)?r:[r];a=a.filter(u=>u!=null);const[l,c]=m.useState(()=>o.map((u,d)=>({media:u,matches:n?!!a[d]:i().matchMedia(u).matches})));return m.useEffect(()=>{const u=i();c(o.map(p=>({media:p,matches:u.matchMedia(p).matches})));const d=o.map(p=>u.matchMedia(p)),f=p=>{c(h=>h.slice().map(v=>v.media===p.media?{...v,matches:p.matches}:v))};return d.forEach(p=>{typeof p.addListener=="function"?p.addListener(f):p.addEventListener("change",f)}),()=>{d.forEach(p=>{typeof p.removeListener=="function"?p.removeListener(f):p.removeEventListener("change",f)})}},[i]),l.map(u=>u.matches)}function cq(e){var l;const t=Nt(e)?e:{fallback:e??"base"},r=zi().__breakpoints.details.map(({minMaxQuery:c,breakpoint:u})=>({breakpoint:u,query:c.replace("@media screen and ","")})),i=r.map(c=>c.breakpoint===t.fallback),a=lq(r.map(c=>c.query),{fallback:i,ssr:t.ssr}).findIndex(c=>c==!0);return((l=r[a])==null?void 0:l.breakpoint)??t.fallback}function uq(e,t,n=e6){let r=Object.keys(e).indexOf(t);if(r!==-1)return e[t];let i=n.indexOf(t);for(;i>=0;){const o=n[i];if(e.hasOwnProperty(o)){r=i;break}i-=1}if(r!==-1){const o=n[r];return e[o]}}function jp(e,t){var l;const n=Nt(t)?t:{fallback:t??"base"},r=cq(n),i=zi();if(!r)return;const o=Array.from(((l=i.__breakpoints)==null?void 0:l.keys)||[]),a=Array.isArray(e)?Object.fromEntries(Object.entries(V$(e,o)).map(([c,u])=>[c,u])):e;return uq(a,r,o)}var $n="top",dr="bottom",fr="right",zn="left",$b="auto",Lu=[$n,dr,fr,zn],tl="start",lu="end",dq="clippingParents",B_="viewport",Fl="popper",fq="reference",vw=Lu.reduce(function(e,t){return e.concat([t+"-"+tl,t+"-"+lu])},[]),W_=[].concat(Lu,[$b]).reduce(function(e,t){return e.concat([t,t+"-"+tl,t+"-"+lu])},[]),pq="beforeRead",mq="read",hq="afterRead",gq="beforeMain",vq="main",yq="afterMain",bq="beforeWrite",xq="write",Sq="afterWrite",wq=[pq,mq,hq,gq,vq,yq,bq,xq,Sq];function Zr(e){return e?(e.nodeName||"").toLowerCase():null}function Hn(e){if(e==null)return window;if(e.toString()!=="[object Window]"){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function ja(e){var t=Hn(e).Element;return e instanceof t||e instanceof Element}function lr(e){var t=Hn(e).HTMLElement;return e instanceof t||e instanceof HTMLElement}function zb(e){if(typeof ShadowRoot>"u")return!1;var t=Hn(e).ShadowRoot;return e instanceof t||e instanceof ShadowRoot}function kq(e){var t=e.state;Object.keys(t.elements).forEach(function(n){var r=t.styles[n]||{},i=t.attributes[n]||{},o=t.elements[n];!lr(o)||!Zr(o)||(Object.assign(o.style,r),Object.keys(i).forEach(function(a){var l=i[a];l===!1?o.removeAttribute(a):o.setAttribute(a,l===!0?"":l)}))})}function Cq(e){var t=e.state,n={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,n.popper),t.styles=n,t.elements.arrow&&Object.assign(t.elements.arrow.style,n.arrow),function(){Object.keys(t.elements).forEach(function(r){var i=t.elements[r],o=t.attributes[r]||{},a=Object.keys(t.styles.hasOwnProperty(r)?t.styles[r]:n[r]),l=a.reduce(function(c,u){return c[u]="",c},{});!lr(i)||!Zr(i)||(Object.assign(i.style,l),Object.keys(o).forEach(function(c){i.removeAttribute(c)}))})}}const jq={name:"applyStyles",enabled:!0,phase:"write",fn:kq,effect:Cq,requires:["computeStyles"]};function Qr(e){return e.split("-")[0]}var pa=Math.max,Pp=Math.min,nl=Math.round;function Pv(){var e=navigator.userAgentData;return e!=null&&e.brands&&Array.isArray(e.brands)?e.brands.map(function(t){return t.brand+"/"+t.version}).join(" "):navigator.userAgent}function V_(){return!/^((?!chrome|android).)*safari/i.test(Pv())}function rl(e,t,n){t===void 0&&(t=!1),n===void 0&&(n=!1);var r=e.getBoundingClientRect(),i=1,o=1;t&&lr(e)&&(i=e.offsetWidth>0&&nl(r.width)/e.offsetWidth||1,o=e.offsetHeight>0&&nl(r.height)/e.offsetHeight||1);var a=ja(e)?Hn(e):window,l=a.visualViewport,c=!V_()&&n,u=(r.left+(c&&l?l.offsetLeft:0))/i,d=(r.top+(c&&l?l.offsetTop:0))/o,f=r.width/i,p=r.height/o;return{width:f,height:p,top:d,right:u+f,bottom:d+p,left:u,x:u,y:d}}function Rb(e){var t=rl(e),n=e.offsetWidth,r=e.offsetHeight;return Math.abs(t.width-n)<=1&&(n=t.width),Math.abs(t.height-r)<=1&&(r=t.height),{x:e.offsetLeft,y:e.offsetTop,width:n,height:r}}function U_(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&zb(n)){var r=t;do{if(r&&e.isSameNode(r))return!0;r=r.parentNode||r.host}while(r)}return!1}function _i(e){return Hn(e).getComputedStyle(e)}function Pq(e){return["table","td","th"].indexOf(Zr(e))>=0}function To(e){return((ja(e)?e.ownerDocument:e.document)||window.document).documentElement}function Am(e){return Zr(e)==="html"?e:e.assignedSlot||e.parentNode||(zb(e)?e.host:null)||To(e)}function yw(e){return!lr(e)||_i(e).position==="fixed"?null:e.offsetParent}function _q(e){var t=/firefox/i.test(Pv()),n=/Trident/i.test(Pv());if(n&&lr(e)){var r=_i(e);if(r.position==="fixed")return null}var i=Am(e);for(zb(i)&&(i=i.host);lr(i)&&["html","body"].indexOf(Zr(i))<0;){var o=_i(i);if(o.transform!=="none"||o.perspective!=="none"||o.contain==="paint"||["transform","perspective"].indexOf(o.willChange)!==-1||t&&o.willChange==="filter"||t&&o.filter&&o.filter!=="none")return i;i=i.parentNode}return null}function Nu(e){for(var t=Hn(e),n=yw(e);n&&Pq(n)&&_i(n).position==="static";)n=yw(n);return n&&(Zr(n)==="html"||Zr(n)==="body"&&_i(n).position==="static")?t:n||_q(e)||t}function Ib(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function kc(e,t,n){return pa(e,Pp(t,n))}function Tq(e,t,n){var r=kc(e,t,n);return r>n?n:r}function H_(){return{top:0,right:0,bottom:0,left:0}}function G_(e){return Object.assign({},H_(),e)}function K_(e,t){return t.reduce(function(n,r){return n[r]=e,n},{})}var Eq=function(t,n){return t=typeof t=="function"?t(Object.assign({},n.rects,{placement:n.placement})):t,G_(typeof t!="number"?t:K_(t,Lu))};function Aq(e){var t,n=e.state,r=e.name,i=e.options,o=n.elements.arrow,a=n.modifiersData.popperOffsets,l=Qr(n.placement),c=Ib(l),u=[zn,fr].indexOf(l)>=0,d=u?"height":"width";if(!(!o||!a)){var f=Eq(i.padding,n),p=Rb(o),h=c==="y"?$n:zn,v=c==="y"?dr:fr,b=n.rects.reference[d]+n.rects.reference[c]-a[c]-n.rects.popper[d],x=a[c]-n.rects.reference[c],y=Nu(o),g=y?c==="y"?y.clientHeight||0:y.clientWidth||0:0,S=b/2-x/2,w=f[h],k=g-p[d]-f[v],P=g/2-p[d]/2+S,_=kc(w,P,k),j=c;n.modifiersData[r]=(t={},t[j]=_,t.centerOffset=_-P,t)}}function $q(e){var t=e.state,n=e.options,r=n.element,i=r===void 0?"[data-popper-arrow]":r;i!=null&&(typeof i=="string"&&(i=t.elements.popper.querySelector(i),!i)||U_(t.elements.popper,i)&&(t.elements.arrow=i))}const zq={name:"arrow",enabled:!0,phase:"main",fn:Aq,effect:$q,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function il(e){return e.split("-")[1]}var Rq={top:"auto",right:"auto",bottom:"auto",left:"auto"};function Iq(e,t){var n=e.x,r=e.y,i=t.devicePixelRatio||1;return{x:nl(n*i)/i||0,y:nl(r*i)/i||0}}function bw(e){var t,n=e.popper,r=e.popperRect,i=e.placement,o=e.variation,a=e.offsets,l=e.position,c=e.gpuAcceleration,u=e.adaptive,d=e.roundOffsets,f=e.isFixed,p=a.x,h=p===void 0?0:p,v=a.y,b=v===void 0?0:v,x=typeof d=="function"?d({x:h,y:b}):{x:h,y:b};h=x.x,b=x.y;var y=a.hasOwnProperty("x"),g=a.hasOwnProperty("y"),S=zn,w=$n,k=window;if(u){var P=Nu(n),_="clientHeight",j="clientWidth";if(P===Hn(n)&&(P=To(n),_i(P).position!=="static"&&l==="absolute"&&(_="scrollHeight",j="scrollWidth")),P=P,i===$n||(i===zn||i===fr)&&o===lu){w=dr;var z=f&&P===k&&k.visualViewport?k.visualViewport.height:P[_];b-=z-r.height,b*=c?1:-1}if(i===zn||(i===$n||i===dr)&&o===lu){S=fr;var $=f&&P===k&&k.visualViewport?k.visualViewport.width:P[j];h-=$-r.width,h*=c?1:-1}}var W=Object.assign({position:l},u&&Rq),Y=d===!0?Iq({x:h,y:b},Hn(n)):{x:h,y:b};if(h=Y.x,b=Y.y,c){var ee;return Object.assign({},W,(ee={},ee[w]=g?"0":"",ee[S]=y?"0":"",ee.transform=(k.devicePixelRatio||1)<=1?"translate("+h+"px, "+b+"px)":"translate3d("+h+"px, "+b+"px, 0)",ee))}return Object.assign({},W,(t={},t[w]=g?b+"px":"",t[S]=y?h+"px":"",t.transform="",t))}function Mq(e){var t=e.state,n=e.options,r=n.gpuAcceleration,i=r===void 0?!0:r,o=n.adaptive,a=o===void 0?!0:o,l=n.roundOffsets,c=l===void 0?!0:l,u={placement:Qr(t.placement),variation:il(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:i,isFixed:t.options.strategy==="fixed"};t.modifiersData.popperOffsets!=null&&(t.styles.popper=Object.assign({},t.styles.popper,bw(Object.assign({},u,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:a,roundOffsets:c})))),t.modifiersData.arrow!=null&&(t.styles.arrow=Object.assign({},t.styles.arrow,bw(Object.assign({},u,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:c})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})}const Lq={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:Mq,data:{}};var Rd={passive:!0};function Nq(e){var t=e.state,n=e.instance,r=e.options,i=r.scroll,o=i===void 0?!0:i,a=r.resize,l=a===void 0?!0:a,c=Hn(t.elements.popper),u=[].concat(t.scrollParents.reference,t.scrollParents.popper);return o&&u.forEach(function(d){d.addEventListener("scroll",n.update,Rd)}),l&&c.addEventListener("resize",n.update,Rd),function(){o&&u.forEach(function(d){d.removeEventListener("scroll",n.update,Rd)}),l&&c.removeEventListener("resize",n.update,Rd)}}const Dq={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:Nq,data:{}};var Oq={left:"right",right:"left",bottom:"top",top:"bottom"};function Ef(e){return e.replace(/left|right|bottom|top/g,function(t){return Oq[t]})}var Fq={start:"end",end:"start"};function xw(e){return e.replace(/start|end/g,function(t){return Fq[t]})}function Mb(e){var t=Hn(e),n=t.pageXOffset,r=t.pageYOffset;return{scrollLeft:n,scrollTop:r}}function Lb(e){return rl(To(e)).left+Mb(e).scrollLeft}function Bq(e,t){var n=Hn(e),r=To(e),i=n.visualViewport,o=r.clientWidth,a=r.clientHeight,l=0,c=0;if(i){o=i.width,a=i.height;var u=V_();(u||!u&&t==="fixed")&&(l=i.offsetLeft,c=i.offsetTop)}return{width:o,height:a,x:l+Lb(e),y:c}}function Wq(e){var t,n=To(e),r=Mb(e),i=(t=e.ownerDocument)==null?void 0:t.body,o=pa(n.scrollWidth,n.clientWidth,i?i.scrollWidth:0,i?i.clientWidth:0),a=pa(n.scrollHeight,n.clientHeight,i?i.scrollHeight:0,i?i.clientHeight:0),l=-r.scrollLeft+Lb(e),c=-r.scrollTop;return _i(i||n).direction==="rtl"&&(l+=pa(n.clientWidth,i?i.clientWidth:0)-o),{width:o,height:a,x:l,y:c}}function Nb(e){var t=_i(e),n=t.overflow,r=t.overflowX,i=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+i+r)}function q_(e){return["html","body","#document"].indexOf(Zr(e))>=0?e.ownerDocument.body:lr(e)&&Nb(e)?e:q_(Am(e))}function Cc(e,t){var n;t===void 0&&(t=[]);var r=q_(e),i=r===((n=e.ownerDocument)==null?void 0:n.body),o=Hn(r),a=i?[o].concat(o.visualViewport||[],Nb(r)?r:[]):r,l=t.concat(a);return i?l:l.concat(Cc(Am(a)))}function _v(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function Vq(e,t){var n=rl(e,!1,t==="fixed");return n.top=n.top+e.clientTop,n.left=n.left+e.clientLeft,n.bottom=n.top+e.clientHeight,n.right=n.left+e.clientWidth,n.width=e.clientWidth,n.height=e.clientHeight,n.x=n.left,n.y=n.top,n}function Sw(e,t,n){return t===B_?_v(Bq(e,n)):ja(t)?Vq(t,n):_v(Wq(To(e)))}function Uq(e){var t=Cc(Am(e)),n=["absolute","fixed"].indexOf(_i(e).position)>=0,r=n&&lr(e)?Nu(e):e;return ja(r)?t.filter(function(i){return ja(i)&&U_(i,r)&&Zr(i)!=="body"}):[]}function Hq(e,t,n,r){var i=t==="clippingParents"?Uq(e):[].concat(t),o=[].concat(i,[n]),a=o[0],l=o.reduce(function(c,u){var d=Sw(e,u,r);return c.top=pa(d.top,c.top),c.right=Pp(d.right,c.right),c.bottom=Pp(d.bottom,c.bottom),c.left=pa(d.left,c.left),c},Sw(e,a,r));return l.width=l.right-l.left,l.height=l.bottom-l.top,l.x=l.left,l.y=l.top,l}function X_(e){var t=e.reference,n=e.element,r=e.placement,i=r?Qr(r):null,o=r?il(r):null,a=t.x+t.width/2-n.width/2,l=t.y+t.height/2-n.height/2,c;switch(i){case $n:c={x:a,y:t.y-n.height};break;case dr:c={x:a,y:t.y+t.height};break;case fr:c={x:t.x+t.width,y:l};break;case zn:c={x:t.x-n.width,y:l};break;default:c={x:t.x,y:t.y}}var u=i?Ib(i):null;if(u!=null){var d=u==="y"?"height":"width";switch(o){case tl:c[u]=c[u]-(t[d]/2-n[d]/2);break;case lu:c[u]=c[u]+(t[d]/2-n[d]/2);break}}return c}function cu(e,t){t===void 0&&(t={});var n=t,r=n.placement,i=r===void 0?e.placement:r,o=n.strategy,a=o===void 0?e.strategy:o,l=n.boundary,c=l===void 0?dq:l,u=n.rootBoundary,d=u===void 0?B_:u,f=n.elementContext,p=f===void 0?Fl:f,h=n.altBoundary,v=h===void 0?!1:h,b=n.padding,x=b===void 0?0:b,y=G_(typeof x!="number"?x:K_(x,Lu)),g=p===Fl?fq:Fl,S=e.rects.popper,w=e.elements[v?g:p],k=Hq(ja(w)?w:w.contextElement||To(e.elements.popper),c,d,a),P=rl(e.elements.reference),_=X_({reference:P,element:S,placement:i}),j=_v(Object.assign({},S,_)),z=p===Fl?j:P,$={top:k.top-z.top+y.top,bottom:z.bottom-k.bottom+y.bottom,left:k.left-z.left+y.left,right:z.right-k.right+y.right},W=e.modifiersData.offset;if(p===Fl&&W){var Y=W[i];Object.keys($).forEach(function(ee){var I=[fr,dr].indexOf(ee)>=0?1:-1,L=[$n,dr].indexOf(ee)>=0?"y":"x";$[ee]+=Y[L]*I})}return $}function Gq(e,t){t===void 0&&(t={});var n=t,r=n.placement,i=n.boundary,o=n.rootBoundary,a=n.padding,l=n.flipVariations,c=n.allowedAutoPlacements,u=c===void 0?W_:c,d=il(r),f=d?l?vw:vw.filter(function(v){return il(v)===d}):Lu,p=f.filter(function(v){return u.indexOf(v)>=0});p.length===0&&(p=f);var h=p.reduce(function(v,b){return v[b]=cu(e,{placement:b,boundary:i,rootBoundary:o,padding:a})[Qr(b)],v},{});return Object.keys(h).sort(function(v,b){return h[v]-h[b]})}function Kq(e){if(Qr(e)===$b)return[];var t=Ef(e);return[xw(e),t,xw(t)]}function qq(e){var t=e.state,n=e.options,r=e.name;if(!t.modifiersData[r]._skip){for(var i=n.mainAxis,o=i===void 0?!0:i,a=n.altAxis,l=a===void 0?!0:a,c=n.fallbackPlacements,u=n.padding,d=n.boundary,f=n.rootBoundary,p=n.altBoundary,h=n.flipVariations,v=h===void 0?!0:h,b=n.allowedAutoPlacements,x=t.options.placement,y=Qr(x),g=y===x,S=c||(g||!v?[Ef(x)]:Kq(x)),w=[x].concat(S).reduce(function(Q,ue){return Q.concat(Qr(ue)===$b?Gq(t,{placement:ue,boundary:d,rootBoundary:f,padding:u,flipVariations:v,allowedAutoPlacements:b}):ue)},[]),k=t.rects.reference,P=t.rects.popper,_=new Map,j=!0,z=w[0],$=0;$<w.length;$++){var W=w[$],Y=Qr(W),ee=il(W)===tl,I=[$n,dr].indexOf(Y)>=0,L=I?"width":"height",N=cu(t,{placement:W,boundary:d,rootBoundary:f,altBoundary:p,padding:u}),R=I?ee?fr:zn:ee?dr:$n;k[L]>P[L]&&(R=Ef(R));var F=Ef(R),M=[];if(o&&M.push(N[Y]<=0),l&&M.push(N[R]<=0,N[F]<=0),M.every(function(Q){return Q})){z=W,j=!1;break}_.set(W,M)}if(j)for(var G=v?3:1,Z=function(ue){var ce=w.find(function(Be){var Ze=_.get(Be);if(Ze)return Ze.slice(0,ue).every(function(te){return te})});if(ce)return z=ce,"break"},ae=G;ae>0;ae--){var oe=Z(ae);if(oe==="break")break}t.placement!==z&&(t.modifiersData[r]._skip=!0,t.placement=z,t.reset=!0)}}const Xq={name:"flip",enabled:!0,phase:"main",fn:qq,requiresIfExists:["offset"],data:{_skip:!1}};function ww(e,t,n){return n===void 0&&(n={x:0,y:0}),{top:e.top-t.height-n.y,right:e.right-t.width+n.x,bottom:e.bottom-t.height+n.y,left:e.left-t.width-n.x}}function kw(e){return[$n,fr,dr,zn].some(function(t){return e[t]>=0})}function Yq(e){var t=e.state,n=e.name,r=t.rects.reference,i=t.rects.popper,o=t.modifiersData.preventOverflow,a=cu(t,{elementContext:"reference"}),l=cu(t,{altBoundary:!0}),c=ww(a,r),u=ww(l,i,o),d=kw(c),f=kw(u);t.modifiersData[n]={referenceClippingOffsets:c,popperEscapeOffsets:u,isReferenceHidden:d,hasPopperEscaped:f},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":d,"data-popper-escaped":f})}const Qq={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:Yq};function Zq(e,t,n){var r=Qr(e),i=[zn,$n].indexOf(r)>=0?-1:1,o=typeof n=="function"?n(Object.assign({},t,{placement:e})):n,a=o[0],l=o[1];return a=a||0,l=(l||0)*i,[zn,fr].indexOf(r)>=0?{x:l,y:a}:{x:a,y:l}}function Jq(e){var t=e.state,n=e.options,r=e.name,i=n.offset,o=i===void 0?[0,0]:i,a=W_.reduce(function(d,f){return d[f]=Zq(f,t.rects,o),d},{}),l=a[t.placement],c=l.x,u=l.y;t.modifiersData.popperOffsets!=null&&(t.modifiersData.popperOffsets.x+=c,t.modifiersData.popperOffsets.y+=u),t.modifiersData[r]=a}const eX={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:Jq};function tX(e){var t=e.state,n=e.name;t.modifiersData[n]=X_({reference:t.rects.reference,element:t.rects.popper,placement:t.placement})}const nX={name:"popperOffsets",enabled:!0,phase:"read",fn:tX,data:{}};function rX(e){return e==="x"?"y":"x"}function iX(e){var t=e.state,n=e.options,r=e.name,i=n.mainAxis,o=i===void 0?!0:i,a=n.altAxis,l=a===void 0?!1:a,c=n.boundary,u=n.rootBoundary,d=n.altBoundary,f=n.padding,p=n.tether,h=p===void 0?!0:p,v=n.tetherOffset,b=v===void 0?0:v,x=cu(t,{boundary:c,rootBoundary:u,padding:f,altBoundary:d}),y=Qr(t.placement),g=il(t.placement),S=!g,w=Ib(y),k=rX(w),P=t.modifiersData.popperOffsets,_=t.rects.reference,j=t.rects.popper,z=typeof b=="function"?b(Object.assign({},t.rects,{placement:t.placement})):b,$=typeof z=="number"?{mainAxis:z,altAxis:z}:Object.assign({mainAxis:0,altAxis:0},z),W=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,Y={x:0,y:0};if(P){if(o){var ee,I=w==="y"?$n:zn,L=w==="y"?dr:fr,N=w==="y"?"height":"width",R=P[w],F=R+x[I],M=R-x[L],G=h?-j[N]/2:0,Z=g===tl?_[N]:j[N],ae=g===tl?-j[N]:-_[N],oe=t.elements.arrow,Q=h&&oe?Rb(oe):{width:0,height:0},ue=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:H_(),ce=ue[I],Be=ue[L],Ze=kc(0,_[N],Q[N]),te=S?_[N]/2-G-Ze-ce-$.mainAxis:Z-Ze-ce-$.mainAxis,re=S?-_[N]/2+G+Ze+Be+$.mainAxis:ae+Ze+Be+$.mainAxis,ze=t.elements.arrow&&Nu(t.elements.arrow),ye=ze?w==="y"?ze.clientTop||0:ze.clientLeft||0:0,ot=(ee=W==null?void 0:W[w])!=null?ee:0,ve=R+te-ot-ye,ut=R+re-ot,Ve=kc(h?Pp(F,ve):F,R,h?pa(M,ut):M);P[w]=Ve,Y[w]=Ve-R}if(l){var $t,Se=w==="x"?$n:zn,kn=w==="x"?dr:fr,Ot=P[k],mr=k==="y"?"height":"width",ei=Ot+x[Se],se=Ot-x[kn],ti=[$n,zn].indexOf(y)!==-1,Ro=($t=W==null?void 0:W[k])!=null?$t:0,Xu=ti?ei:Ot-_[mr]-j[mr]-Ro+$.altAxis,Yu=ti?Ot+_[mr]+j[mr]-Ro-$.altAxis:se,Io=h&&ti?Tq(Xu,Ot,Yu):kc(h?Xu:ei,Ot,h?Yu:se);P[k]=Io,Y[k]=Io-Ot}t.modifiersData[r]=Y}}const oX={name:"preventOverflow",enabled:!0,phase:"main",fn:iX,requiresIfExists:["offset"]};function aX(e){return{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}}function sX(e){return e===Hn(e)||!lr(e)?Mb(e):aX(e)}function lX(e){var t=e.getBoundingClientRect(),n=nl(t.width)/e.offsetWidth||1,r=nl(t.height)/e.offsetHeight||1;return n!==1||r!==1}function cX(e,t,n){n===void 0&&(n=!1);var r=lr(t),i=lr(t)&&lX(t),o=To(t),a=rl(e,i,n),l={scrollLeft:0,scrollTop:0},c={x:0,y:0};return(r||!r&&!n)&&((Zr(t)!=="body"||Nb(o))&&(l=sX(t)),lr(t)?(c=rl(t,!0),c.x+=t.clientLeft,c.y+=t.clientTop):o&&(c.x=Lb(o))),{x:a.left+l.scrollLeft-c.x,y:a.top+l.scrollTop-c.y,width:a.width,height:a.height}}function uX(e){var t=new Map,n=new Set,r=[];e.forEach(function(o){t.set(o.name,o)});function i(o){n.add(o.name);var a=[].concat(o.requires||[],o.requiresIfExists||[]);a.forEach(function(l){if(!n.has(l)){var c=t.get(l);c&&i(c)}}),r.push(o)}return e.forEach(function(o){n.has(o.name)||i(o)}),r}function dX(e){var t=uX(e);return wq.reduce(function(n,r){return n.concat(t.filter(function(i){return i.phase===r}))},[])}function fX(e){var t;return function(){return t||(t=new Promise(function(n){Promise.resolve().then(function(){t=void 0,n(e())})})),t}}function pX(e){var t=e.reduce(function(n,r){var i=n[r.name];return n[r.name]=i?Object.assign({},i,r,{options:Object.assign({},i.options,r.options),data:Object.assign({},i.data,r.data)}):r,n},{});return Object.keys(t).map(function(n){return t[n]})}var Cw={placement:"bottom",modifiers:[],strategy:"absolute"};function jw(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return!t.some(function(r){return!(r&&typeof r.getBoundingClientRect=="function")})}function mX(e){e===void 0&&(e={});var t=e,n=t.defaultModifiers,r=n===void 0?[]:n,i=t.defaultOptions,o=i===void 0?Cw:i;return function(l,c,u){u===void 0&&(u=o);var d={placement:"bottom",orderedModifiers:[],options:Object.assign({},Cw,o),modifiersData:{},elements:{reference:l,popper:c},attributes:{},styles:{}},f=[],p=!1,h={state:d,setOptions:function(y){var g=typeof y=="function"?y(d.options):y;b(),d.options=Object.assign({},o,d.options,g),d.scrollParents={reference:ja(l)?Cc(l):l.contextElement?Cc(l.contextElement):[],popper:Cc(c)};var S=dX(pX([].concat(r,d.options.modifiers)));return d.orderedModifiers=S.filter(function(w){return w.enabled}),v(),h.update()},forceUpdate:function(){if(!p){var y=d.elements,g=y.reference,S=y.popper;if(jw(g,S)){d.rects={reference:cX(g,Nu(S),d.options.strategy==="fixed"),popper:Rb(S)},d.reset=!1,d.placement=d.options.placement,d.orderedModifiers.forEach(function($){return d.modifiersData[$.name]=Object.assign({},$.data)});for(var w=0;w<d.orderedModifiers.length;w++){if(d.reset===!0){d.reset=!1,w=-1;continue}var k=d.orderedModifiers[w],P=k.fn,_=k.options,j=_===void 0?{}:_,z=k.name;typeof P=="function"&&(d=P({state:d,options:j,name:z,instance:h})||d)}}}},update:fX(function(){return new Promise(function(x){h.forceUpdate(),x(d)})}),destroy:function(){b(),p=!0}};if(!jw(l,c))return h;h.setOptions(u).then(function(x){!p&&u.onFirstUpdate&&u.onFirstUpdate(x)});function v(){d.orderedModifiers.forEach(function(x){var y=x.name,g=x.options,S=g===void 0?{}:g,w=x.effect;if(typeof w=="function"){var k=w({state:d,name:y,instance:h,options:S}),P=function(){};f.push(k||P)}})}function b(){f.forEach(function(x){return x()}),f=[]}return h}}var hX=[Dq,nX,Lq,jq,eX,Xq,oX,zq,Qq],gX=mX({defaultModifiers:hX});const Ba=(e,t)=>({var:e,varRef:t?`var(${e}, ${t})`:`var(${e})`}),Qt={arrowShadowColor:Ba("--popper-arrow-shadow-color"),arrowSize:Ba("--popper-arrow-size","8px"),arrowSizeHalf:Ba("--popper-arrow-size-half"),arrowBg:Ba("--popper-arrow-bg"),transformOrigin:Ba("--popper-transform-origin"),arrowOffset:Ba("--popper-arrow-offset")};function vX(e){if(e.includes("top"))return"1px 1px 0px 0 var(--popper-arrow-shadow-color)";if(e.includes("bottom"))return"-1px -1px 0px 0 var(--popper-arrow-shadow-color)";if(e.includes("right"))return"-1px 1px 0px 0 var(--popper-arrow-shadow-color)";if(e.includes("left"))return"1px -1px 0px 0 var(--popper-arrow-shadow-color)"}const yX={top:"bottom center","top-start":"bottom left","top-end":"bottom right",bottom:"top center","bottom-start":"top left","bottom-end":"top right",left:"right center","left-start":"right top","left-end":"right bottom",right:"left center","right-start":"left top","right-end":"left bottom"},bX=e=>yX[e],Pw={scroll:!0,resize:!0};function xX(e){let t;return typeof e=="object"?t={enabled:!0,options:{...Pw,...e}}:t={enabled:e,options:Pw},t}const SX={name:"matchWidth",enabled:!0,phase:"beforeWrite",requires:["computeStyles"],fn:({state:e})=>{e.styles.popper.width=`${e.rects.reference.width}px`},effect:({state:e})=>()=>{const t=e.elements.reference;e.elements.popper.style.width=`${t.offsetWidth}px`}},wX={name:"transformOrigin",enabled:!0,phase:"write",fn:({state:e})=>{_w(e)},effect:({state:e})=>()=>{_w(e)}},_w=e=>{e.elements.popper.style.setProperty(Qt.transformOrigin.var,bX(e.placement))},kX={name:"positionArrow",enabled:!0,phase:"afterWrite",fn:({state:e})=>{CX(e)}},CX=e=>{var n;if(!e.placement)return;const t=jX(e.placement);if((n=e.elements)!=null&&n.arrow&&t){Object.assign(e.elements.arrow.style,{[t.property]:t.value,width:Qt.arrowSize.varRef,height:Qt.arrowSize.varRef,zIndex:-1});const r={[Qt.arrowSizeHalf.var]:`calc(${Qt.arrowSize.varRef} / 2 - 1px)`,[Qt.arrowOffset.var]:`calc(${Qt.arrowSizeHalf.varRef} * -1)`};for(const i in r)e.elements.arrow.style.setProperty(i,r[i])}},jX=e=>{if(e.startsWith("top"))return{property:"bottom",value:Qt.arrowOffset.varRef};if(e.startsWith("bottom"))return{property:"top",value:Qt.arrowOffset.varRef};if(e.startsWith("left"))return{property:"right",value:Qt.arrowOffset.varRef};if(e.startsWith("right"))return{property:"left",value:Qt.arrowOffset.varRef}},PX={name:"innerArrow",enabled:!0,phase:"main",requires:["arrow"],fn:({state:e})=>{Tw(e)},effect:({state:e})=>()=>{Tw(e)}},Tw=e=>{if(!e.elements.arrow)return;const t=e.elements.arrow.querySelector("[data-popper-arrow-inner]");if(!t)return;const n=vX(e.placement);n&&t.style.setProperty("--popper-arrow-default-shadow",n),Object.assign(t.style,{transform:"rotate(45deg)",background:Qt.arrowBg.varRef,top:0,left:0,width:"100%",height:"100%",position:"absolute",zIndex:"inherit",boxShadow:"var(--popper-arrow-shadow, var(--popper-arrow-default-shadow))"})},_X={"start-start":{ltr:"left-start",rtl:"right-start"},"start-end":{ltr:"left-end",rtl:"right-end"},"end-start":{ltr:"right-start",rtl:"left-start"},"end-end":{ltr:"right-end",rtl:"left-end"},start:{ltr:"left",rtl:"right"},end:{ltr:"right",rtl:"left"}},TX={"auto-start":"auto-end","auto-end":"auto-start","top-start":"top-end","top-end":"top-start","bottom-start":"bottom-end","bottom-end":"bottom-start"};function EX(e,t="ltr"){var r;const n=((r=_X[e])==null?void 0:r[t])||e;return t==="ltr"?n:TX[e]??n}function AX(e={}){const{enabled:t=!0,modifiers:n,placement:r="bottom",strategy:i="absolute",arrowPadding:o=8,eventListeners:a=!0,offset:l,gutter:c=8,flip:u=!0,boundary:d="clippingParents",preventOverflow:f=!0,matchWidth:p,direction:h="ltr"}=e,v=m.useRef(null),b=m.useRef(null),x=m.useRef(null),y=EX(r,h),g=m.useRef(()=>{}),S=m.useCallback(()=>{var $;!t||!v.current||!b.current||(($=g.current)==null||$.call(g),x.current=gX(v.current,b.current,{placement:y,modifiers:[PX,kX,wX,{...SX,enabled:!!p},{name:"eventListeners",...xX(a)},{name:"arrow",options:{padding:o}},{name:"offset",options:{offset:l??[0,c]}},{name:"flip",enabled:!!u,options:{padding:8}},{name:"preventOverflow",enabled:!!f,options:{boundary:d}},...n??[]],strategy:i}),x.current.forceUpdate(),g.current=x.current.destroy)},[y,t,n,p,a,o,l,c,u,f,d,i]);m.useEffect(()=>()=>{var $;!v.current&&!b.current&&(($=x.current)==null||$.destroy(),x.current=null)},[]);const w=m.useCallback($=>{v.current=$,S()},[S]),k=m.useCallback(($={},W=null)=>({...$,ref:Mt(w,W)}),[w]),P=m.useCallback($=>{b.current=$,S()},[S]),_=m.useCallback(($={},W=null)=>({...$,ref:Mt(P,W),style:{...$.style,position:i,minWidth:p?void 0:"max-content",inset:"0 auto auto 0"}}),[i,P,p]),j=m.useCallback(($={},W=null)=>{const{size:Y,shadowColor:ee,bg:I,style:L,...N}=$;return{...N,ref:W,"data-popper-arrow":"",style:$X($)}},[]),z=m.useCallback(($={},W=null)=>({...$,ref:W,"data-popper-arrow-inner":""}),[]);return{update(){var $;($=x.current)==null||$.update()},forceUpdate(){var $;($=x.current)==null||$.forceUpdate()},transformOrigin:Qt.transformOrigin.varRef,referenceRef:w,popperRef:P,getPopperProps:_,getArrowProps:j,getArrowInnerProps:z,getReferenceProps:k}}function $X(e){const{size:t,shadowColor:n,bg:r,style:i}=e,o={...i,position:"absolute"};return t&&(o["--popper-arrow-size"]=t),n&&(o["--popper-arrow-shadow-color"]=n),r&&(o["--popper-arrow-bg"]=r),o}const[hue,gue,vue,yue]=YH(),[bue,zX]=_e({strict:!1,name:"MenuContext"});var RX=function(e){if(typeof document>"u")return null;var t=Array.isArray(e)?e[0]:e;return t.ownerDocument.body},Wa=new WeakMap,Id=new WeakMap,Md={},x0=0,Y_=function(e){return e&&(e.host||Y_(e.parentNode))},IX=function(e,t){return t.map(function(n){if(e.contains(n))return n;var r=Y_(n);return r&&e.contains(r)?r:(console.error("aria-hidden",n,"in not contained inside",e,". Doing nothing"),null)}).filter(function(n){return!!n})},MX=function(e,t,n,r){var i=IX(t,Array.isArray(e)?e:[e]);Md[n]||(Md[n]=new WeakMap);var o=Md[n],a=[],l=new Set,c=new Set(i),u=function(f){!f||l.has(f)||(l.add(f),u(f.parentNode))};i.forEach(u);var d=function(f){!f||c.has(f)||Array.prototype.forEach.call(f.children,function(p){if(l.has(p))d(p);else try{var h=p.getAttribute(r),v=h!==null&&h!=="false",b=(Wa.get(p)||0)+1,x=(o.get(p)||0)+1;Wa.set(p,b),o.set(p,x),a.push(p),b===1&&v&&Id.set(p,!0),x===1&&p.setAttribute(n,"true"),v||p.setAttribute(r,"true")}catch(y){console.error("aria-hidden: cannot operate on ",p,y)}})};return d(t),l.clear(),x0++,function(){a.forEach(function(f){var p=Wa.get(f)-1,h=o.get(f)-1;Wa.set(f,p),o.set(f,h),p||(Id.has(f)||f.removeAttribute(r),Id.delete(f)),h||f.removeAttribute(n)}),x0--,x0||(Wa=new WeakMap,Wa=new WeakMap,Id=new WeakMap,Md={})}},LX=function(e,t,n){n===void 0&&(n="data-aria-hidden");var r=Array.from(Array.isArray(e)?e:[e]),i=RX(e);return i?(r.push.apply(r,Array.from(i.querySelectorAll("[aria-live], script"))),MX(r,i,n,"aria-hidden")):function(){return null}},NX=Object.defineProperty,DX=(e,t,n)=>t in e?NX(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,OX=(e,t,n)=>(DX(e,t+"",n),n);class FX{constructor(){OX(this,"modals"),this.modals=new Set}add(t){return this.modals.add(t),this.modals.size}remove(t){this.modals.delete(t)}isTopModal(t){if(!t)return!1;const n=Array.from(this.modals)[this.modals.size-1];return t===n}}const Tv=new FX;function Q_(e,t){const[n,r]=m.useState(0);return m.useEffect(()=>{const i=e.current;if(i){if(t){const o=Tv.add(i);r(o)}return()=>{Tv.remove(i),r(0)}}},[t,e]),n}function BX(e){const{isOpen:t,onClose:n,id:r,closeOnOverlayClick:i=!0,closeOnEsc:o=!0,useInert:a=!0,onOverlayClick:l,onEsc:c}=e,u=m.useRef(null),d=m.useRef(null),[f,p,h]=VX(r,"chakra-modal","chakra-modal--header","chakra-modal--body");WX(u,t&&a);const v=Q_(u,t),b=m.useRef(null),x=m.useCallback(z=>{b.current=z.target},[]),y=m.useCallback(z=>{z.key==="Escape"&&(z.stopPropagation(),o&&(n==null||n()),c==null||c())},[o,n,c]),[g,S]=m.useState(!1),[w,k]=m.useState(!1),P=m.useCallback((z={},$=null)=>({role:"dialog",...z,ref:Mt($,u),id:f,tabIndex:-1,"aria-modal":!0,"aria-labelledby":g?p:void 0,"aria-describedby":w?h:void 0,onClick:he(z.onClick,W=>W.stopPropagation())}),[h,w,f,p,g]),_=m.useCallback(z=>{z.stopPropagation(),b.current===z.target&&Tv.isTopModal(u.current)&&(i&&(n==null||n()),l==null||l())},[n,i,l]),j=m.useCallback((z={},$=null)=>({...z,ref:Mt($,d),onClick:he(z.onClick,_),onKeyDown:he(z.onKeyDown,y),onMouseDown:he(z.onMouseDown,x)}),[y,x,_]);return{isOpen:t,onClose:n,headerId:p,bodyId:h,setBodyMounted:k,setHeaderMounted:S,dialogRef:u,overlayRef:d,getDialogProps:P,getDialogContainerProps:j,index:v}}function WX(e,t){const n=e.current;m.useEffect(()=>{if(!(!e.current||!t))return LX(e.current)},[t,e,n])}function VX(e,...t){const n=m.useId(),r=e||n;return m.useMemo(()=>t.map(i=>`${i}-${r}`),[r,t])}const[UX,Ra]=_e({name:"ModalStylesContext",errorMessage:`useModalStyles returned is 'undefined'. Seems you forgot to wrap the components in "<Modal />" `}),[HX,yo]=_e({strict:!0,name:"ModalContext",errorMessage:"useModalContext: `context` is undefined. Seems you forgot to wrap modal components in `<Modal />`"}),Du=e=>{const t={scrollBehavior:"outside",autoFocus:!0,trapFocus:!0,returnFocusOnClose:!0,blockScrollOnMount:!0,allowPinchZoom:!1,preserveScrollBarGap:!0,motionPreset:"scale",...e,lockFocusAcrossFrames:e.lockFocusAcrossFrames??!0},{portalProps:n,children:r,autoFocus:i,trapFocus:o,initialFocusRef:a,finalFocusRef:l,returnFocusOnClose:c,blockScrollOnMount:u,allowPinchZoom:d,preserveScrollBarGap:f,motionPreset:p,lockFocusAcrossFrames:h,animatePresenceProps:v,onCloseComplete:b}=t,x=Qe("Modal",t),g={...BX(t),autoFocus:i,trapFocus:o,initialFocusRef:a,finalFocusRef:l,returnFocusOnClose:c,blockScrollOnMount:u,allowPinchZoom:d,preserveScrollBarGap:f,motionPreset:p,lockFocusAcrossFrames:h};return s.jsx(HX,{value:g,children:s.jsx(UX,{value:x,children:s.jsx($i,{...v,onExitComplete:b,children:g.isOpen&&s.jsx(hl,{...n,children:r})})})})};Du.displayName="Modal";var Af="right-scroll-bar-position",$f="width-before-scroll-bar",GX="with-scroll-bars-hidden",KX="--removed-body-scroll-bar-size",Z_=l_(),S0=function(){},$m=m.forwardRef(function(e,t){var n=m.useRef(null),r=m.useState({onScrollCapture:S0,onWheelCapture:S0,onTouchMoveCapture:S0}),i=r[0],o=r[1],a=e.forwardProps,l=e.children,c=e.className,u=e.removeScrollBar,d=e.enabled,f=e.shards,p=e.sideCar,h=e.noRelative,v=e.noIsolation,b=e.inert,x=e.allowPinchZoom,y=e.as,g=y===void 0?"div":y,S=e.gapMode,w=o_(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noRelative","noIsolation","inert","allowPinchZoom","as","gapMode"]),k=p,P=i_([n,t]),_=Wr(Wr({},w),i);return m.createElement(m.Fragment,null,d&&m.createElement(k,{sideCar:Z_,removeScrollBar:u,shards:f,noRelative:h,noIsolation:v,inert:b,setCallbacks:o,allowPinchZoom:!!x,lockRef:n,gapMode:S}),a?m.cloneElement(m.Children.only(l),Wr(Wr({},_),{ref:P})):m.createElement(g,Wr({},_,{className:c,ref:P}),l))});$m.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1};$m.classNames={fullWidth:$f,zeroRight:Af};var qX=function(){if(typeof __webpack_nonce__<"u")return __webpack_nonce__};function XX(){if(!document)return null;var e=document.createElement("style");e.type="text/css";var t=qX();return t&&e.setAttribute("nonce",t),e}function YX(e,t){e.styleSheet?e.styleSheet.cssText=t:e.appendChild(document.createTextNode(t))}function QX(e){var t=document.head||document.getElementsByTagName("head")[0];t.appendChild(e)}var ZX=function(){var e=0,t=null;return{add:function(n){e==0&&(t=XX())&&(YX(t,n),QX(t)),e++},remove:function(){e--,!e&&t&&(t.parentNode&&t.parentNode.removeChild(t),t=null)}}},JX=function(){var e=ZX();return function(t,n){m.useEffect(function(){return e.add(t),function(){e.remove()}},[t&&n])}},J_=function(){var e=JX(),t=function(n){var r=n.styles,i=n.dynamic;return e(r,i),null};return t},eY={left:0,top:0,right:0,gap:0},w0=function(e){return parseInt(e||"",10)||0},tY=function(e){var t=window.getComputedStyle(document.body),n=t[e==="padding"?"paddingLeft":"marginLeft"],r=t[e==="padding"?"paddingTop":"marginTop"],i=t[e==="padding"?"paddingRight":"marginRight"];return[w0(n),w0(r),w0(i)]},nY=function(e){if(e===void 0&&(e="margin"),typeof window>"u")return eY;var t=tY(e),n=document.documentElement.clientWidth,r=window.innerWidth;return{left:t[0],top:t[1],right:t[2],gap:Math.max(0,r-n+t[2]-t[0])}},rY=J_(),Ds="data-scroll-locked",iY=function(e,t,n,r){var i=e.left,o=e.top,a=e.right,l=e.gap;return n===void 0&&(n="margin"),`
|
||
.`.concat(GX,` {
|
||
overflow: hidden `).concat(r,`;
|
||
padding-right: `).concat(l,"px ").concat(r,`;
|
||
}
|
||
body[`).concat(Ds,`] {
|
||
overflow: hidden `).concat(r,`;
|
||
overscroll-behavior: contain;
|
||
`).concat([t&&"position: relative ".concat(r,";"),n==="margin"&&`
|
||
padding-left: `.concat(i,`px;
|
||
padding-top: `).concat(o,`px;
|
||
padding-right: `).concat(a,`px;
|
||
margin-left:0;
|
||
margin-top:0;
|
||
margin-right: `).concat(l,"px ").concat(r,`;
|
||
`),n==="padding"&&"padding-right: ".concat(l,"px ").concat(r,";")].filter(Boolean).join(""),`
|
||
}
|
||
|
||
.`).concat(Af,` {
|
||
right: `).concat(l,"px ").concat(r,`;
|
||
}
|
||
|
||
.`).concat($f,` {
|
||
margin-right: `).concat(l,"px ").concat(r,`;
|
||
}
|
||
|
||
.`).concat(Af," .").concat(Af,` {
|
||
right: 0 `).concat(r,`;
|
||
}
|
||
|
||
.`).concat($f," .").concat($f,` {
|
||
margin-right: 0 `).concat(r,`;
|
||
}
|
||
|
||
body[`).concat(Ds,`] {
|
||
`).concat(KX,": ").concat(l,`px;
|
||
}
|
||
`)},Ew=function(){var e=parseInt(document.body.getAttribute(Ds)||"0",10);return isFinite(e)?e:0},oY=function(){m.useEffect(function(){return document.body.setAttribute(Ds,(Ew()+1).toString()),function(){var e=Ew()-1;e<=0?document.body.removeAttribute(Ds):document.body.setAttribute(Ds,e.toString())}},[])},aY=function(e){var t=e.noRelative,n=e.noImportant,r=e.gapMode,i=r===void 0?"margin":r;oY();var o=m.useMemo(function(){return nY(i)},[i]);return m.createElement(rY,{styles:iY(o,!t,i,n?"":"!important")})},Ev=!1;if(typeof window<"u")try{var Ld=Object.defineProperty({},"passive",{get:function(){return Ev=!0,!0}});window.addEventListener("test",Ld,Ld),window.removeEventListener("test",Ld,Ld)}catch{Ev=!1}var Va=Ev?{passive:!1}:!1,sY=function(e){return e.tagName==="TEXTAREA"},eT=function(e,t){if(!(e instanceof Element))return!1;var n=window.getComputedStyle(e);return n[t]!=="hidden"&&!(n.overflowY===n.overflowX&&!sY(e)&&n[t]==="visible")},lY=function(e){return eT(e,"overflowY")},cY=function(e){return eT(e,"overflowX")},Aw=function(e,t){var n=t.ownerDocument,r=t;do{typeof ShadowRoot<"u"&&r instanceof ShadowRoot&&(r=r.host);var i=tT(e,r);if(i){var o=nT(e,r),a=o[1],l=o[2];if(a>l)return!0}r=r.parentNode}while(r&&r!==n.body);return!1},uY=function(e){var t=e.scrollTop,n=e.scrollHeight,r=e.clientHeight;return[t,n,r]},dY=function(e){var t=e.scrollLeft,n=e.scrollWidth,r=e.clientWidth;return[t,n,r]},tT=function(e,t){return e==="v"?lY(t):cY(t)},nT=function(e,t){return e==="v"?uY(t):dY(t)},fY=function(e,t){return e==="h"&&t==="rtl"?-1:1},pY=function(e,t,n,r,i){var o=fY(e,window.getComputedStyle(t).direction),a=o*r,l=n.target,c=t.contains(l),u=!1,d=a>0,f=0,p=0;do{if(!l)break;var h=nT(e,l),v=h[0],b=h[1],x=h[2],y=b-x-o*v;(v||y)&&tT(e,l)&&(f+=y,p+=v);var g=l.parentNode;l=g&&g.nodeType===Node.DOCUMENT_FRAGMENT_NODE?g.host:g}while(!c&&l!==document.body||c&&(t.contains(l)||t===l));return(d&&Math.abs(f)<1||!d&&Math.abs(p)<1)&&(u=!0),u},Nd=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},$w=function(e){return[e.deltaX,e.deltaY]},zw=function(e){return e&&"current"in e?e.current:e},mY=function(e,t){return e[0]===t[0]&&e[1]===t[1]},hY=function(e){return`
|
||
.block-interactivity-`.concat(e,` {pointer-events: none;}
|
||
.allow-interactivity-`).concat(e,` {pointer-events: all;}
|
||
`)},gY=0,Ua=[];function vY(e){var t=m.useRef([]),n=m.useRef([0,0]),r=m.useRef(),i=m.useState(gY++)[0],o=m.useState(J_)[0],a=m.useRef(e);m.useEffect(function(){a.current=e},[e]),m.useEffect(function(){if(e.inert){document.body.classList.add("block-interactivity-".concat(i));var b=WG([e.lockRef.current],(e.shards||[]).map(zw),!0).filter(Boolean);return b.forEach(function(x){return x.classList.add("allow-interactivity-".concat(i))}),function(){document.body.classList.remove("block-interactivity-".concat(i)),b.forEach(function(x){return x.classList.remove("allow-interactivity-".concat(i))})}}},[e.inert,e.lockRef.current,e.shards]);var l=m.useCallback(function(b,x){if("touches"in b&&b.touches.length===2||b.type==="wheel"&&b.ctrlKey)return!a.current.allowPinchZoom;var y=Nd(b),g=n.current,S="deltaX"in b?b.deltaX:g[0]-y[0],w="deltaY"in b?b.deltaY:g[1]-y[1],k,P=b.target,_=Math.abs(S)>Math.abs(w)?"h":"v";if("touches"in b&&_==="h"&&P.type==="range")return!1;var j=window.getSelection(),z=j&&j.anchorNode,$=z?z===P||z.contains(P):!1;if($)return!1;var W=Aw(_,P);if(!W)return!0;if(W?k=_:(k=_==="v"?"h":"v",W=Aw(_,P)),!W)return!1;if(!r.current&&"changedTouches"in b&&(S||w)&&(r.current=k),!k)return!0;var Y=r.current||k;return pY(Y,x,b,Y==="h"?S:w)},[]),c=m.useCallback(function(b){var x=b;if(!(!Ua.length||Ua[Ua.length-1]!==o)){var y="deltaY"in x?$w(x):Nd(x),g=t.current.filter(function(k){return k.name===x.type&&(k.target===x.target||x.target===k.shadowParent)&&mY(k.delta,y)})[0];if(g&&g.should){x.cancelable&&x.preventDefault();return}if(!g){var S=(a.current.shards||[]).map(zw).filter(Boolean).filter(function(k){return k.contains(x.target)}),w=S.length>0?l(x,S[0]):!a.current.noIsolation;w&&x.cancelable&&x.preventDefault()}}},[]),u=m.useCallback(function(b,x,y,g){var S={name:b,delta:x,target:y,should:g,shadowParent:yY(y)};t.current.push(S),setTimeout(function(){t.current=t.current.filter(function(w){return w!==S})},1)},[]),d=m.useCallback(function(b){n.current=Nd(b),r.current=void 0},[]),f=m.useCallback(function(b){u(b.type,$w(b),b.target,l(b,e.lockRef.current))},[]),p=m.useCallback(function(b){u(b.type,Nd(b),b.target,l(b,e.lockRef.current))},[]);m.useEffect(function(){return Ua.push(o),e.setCallbacks({onScrollCapture:f,onWheelCapture:f,onTouchMoveCapture:p}),document.addEventListener("wheel",c,Va),document.addEventListener("touchmove",c,Va),document.addEventListener("touchstart",d,Va),function(){Ua=Ua.filter(function(b){return b!==o}),document.removeEventListener("wheel",c,Va),document.removeEventListener("touchmove",c,Va),document.removeEventListener("touchstart",d,Va)}},[]);var h=e.removeScrollBar,v=e.inert;return m.createElement(m.Fragment,null,v?m.createElement(o,{styles:hY(i)}):null,h?m.createElement(aY,{noRelative:e.noRelative,gapMode:e.gapMode}):null)}function yY(e){for(var t=null;e!==null;)e instanceof ShadowRoot&&(t=e.host,e=e.host),e=e.parentNode;return t}const bY=VG(Z_,vY);var rT=m.forwardRef(function(e,t){return m.createElement($m,Wr({},e,{ref:t,sideCar:bY}))});rT.classNames=$m.classNames;function iT(e){const{autoFocus:t,trapFocus:n,dialogRef:r,initialFocusRef:i,blockScrollOnMount:o,allowPinchZoom:a,finalFocusRef:l,returnFocusOnClose:c,preserveScrollBarGap:u,lockFocusAcrossFrames:d,isOpen:f}=yo(),[p,h]=Ty();m.useEffect(()=>{!p&&h&&setTimeout(h)},[p,h]);const v=Q_(r,f);return s.jsx(M_,{autoFocus:t,isDisabled:!n,initialFocusRef:i,finalFocusRef:l,restoreFocus:c,contentRef:r,lockFocusAcrossFrames:d,children:s.jsx(rT,{removeScrollBar:!u,allowPinchZoom:a,enabled:v===1&&o,forwardProps:!0,children:e.children})})}const xY={initial:({offsetX:e,offsetY:t,transition:n,transitionEnd:r,delay:i})=>({opacity:0,x:e,y:t,transition:(n==null?void 0:n.exit)??Tr.exit(ua.exit,i),transitionEnd:r==null?void 0:r.exit}),enter:({transition:e,transitionEnd:t,delay:n})=>({opacity:1,x:0,y:0,transition:(e==null?void 0:e.enter)??Tr.enter(ua.enter,n),transitionEnd:t==null?void 0:t.enter}),exit:({offsetY:e,offsetX:t,transition:n,transitionEnd:r,reverse:i,delay:o})=>{const a={x:t,y:e};return{opacity:0,transition:(n==null?void 0:n.exit)??Tr.exit(ua.exit,o),...i?{...a,transitionEnd:r==null?void 0:r.exit}:{transitionEnd:{...a,...r==null?void 0:r.exit}}}}},Zi={initial:"initial",animate:"enter",exit:"exit",variants:xY},SY=m.forwardRef(function(t,n){const{unmountOnExit:r,in:i,reverse:o=!0,className:a,offsetX:l=0,offsetY:c=8,transition:u,transitionEnd:d,delay:f,animatePresenceProps:p,...h}=t,v=r?i&&r:!0,b=i||r?"enter":"exit",x={offsetX:l,offsetY:c,reverse:o,transition:u,transitionEnd:d,delay:f};return s.jsx($i,{...p,custom:x,children:v&&s.jsx(Xn.div,{ref:n,className:V("chakra-offset-slide",a),custom:x,...Zi,animate:b,...h})})});SY.displayName="SlideFade";const wY={exit:({reverse:e,initialScale:t,transition:n,transitionEnd:r,delay:i})=>({opacity:0,...e?{scale:t,transitionEnd:r==null?void 0:r.exit}:{transitionEnd:{scale:t,...r==null?void 0:r.exit}},transition:(n==null?void 0:n.exit)??Tr.exit(ua.exit,i)}),enter:({transitionEnd:e,transition:t,delay:n})=>({opacity:1,scale:1,transition:(t==null?void 0:t.enter)??Tr.enter(ua.enter,n),transitionEnd:e==null?void 0:e.enter})},Db={initial:"exit",animate:"enter",exit:"exit",variants:wY},kY=m.forwardRef(function(t,n){const{unmountOnExit:r,in:i,reverse:o=!0,initialScale:a=.95,className:l,transition:c,transitionEnd:u,delay:d,animatePresenceProps:f,...p}=t,h=r?i&&r:!0,v=i||r?"enter":"exit",b={initialScale:a,reverse:o,transition:c,transitionEnd:u,delay:d};return s.jsx($i,{...f,custom:b,children:h&&s.jsx(Xn.div,{ref:n,className:V("chakra-offset-slide",l),...Db,animate:v,custom:b,...p})})});kY.displayName="ScaleFade";const CY={slideInBottom:{...Zi,custom:{offsetY:16,reverse:!0}},slideInRight:{...Zi,custom:{offsetX:16,reverse:!0}},slideInTop:{...Zi,custom:{offsetY:-16,reverse:!0}},slideInLeft:{...Zi,custom:{offsetX:-16,reverse:!0}},scale:{...Db,custom:{initialScale:.95,reverse:!0}},none:{}},jY=D(Xn.section),PY=e=>CY[e||"none"],oT=m.forwardRef((e,t)=>{const{preset:n,motionProps:r=PY(n),...i}=e;return s.jsx(jY,{ref:t,...r,...i})});oT.displayName="ModalTransition";const zm=B((e,t)=>{const{className:n,children:r,containerProps:i,motionProps:o,...a}=e,{getDialogProps:l,getDialogContainerProps:c}=yo(),u=l(a,t),d=c(i),f=V("chakra-modal__content",n),p=Ra(),h={display:"flex",flexDirection:"column",position:"relative",width:"100%",outline:0,...p.dialog},v={display:"flex",width:"100vw",height:"$100vh",position:"fixed",left:0,top:0,...p.dialogContainer},{motionPreset:b}=yo();return s.jsx(iT,{children:s.jsx(D.div,{...d,className:"chakra-modal__content-container",tabIndex:-1,__css:v,children:s.jsx(oT,{preset:b,motionProps:o,className:f,...u,__css:h,children:r})})})});zm.displayName="ModalContent";const gl=B((e,t)=>{const{className:n,...r}=e,{bodyId:i,setBodyMounted:o}=yo();m.useEffect(()=>(o(!0),()=>o(!1)),[o]);const a=V("chakra-modal__body",n),l=Ra();return s.jsx(D.div,{ref:t,className:a,id:i,...r,__css:l.body})});gl.displayName="ModalBody";const Ou=B((e,t)=>{const{onClick:n,className:r,...i}=e,{onClose:o}=yo(),a=V("chakra-modal__close-btn",r),l=Ra();return s.jsx(jm,{ref:t,__css:l.closeButton,className:a,onClick:he(n,c=>{c.stopPropagation(),o()}),...i})});Ou.displayName="ModalCloseButton";const Rm=B((e,t)=>{const{className:n,...r}=e,i=V("chakra-modal__footer",n),o=Ra(),a={display:"flex",alignItems:"center",justifyContent:"flex-end",...o.footer};return s.jsx(D.footer,{ref:t,...r,__css:a,className:i})});Rm.displayName="ModalFooter";const vl=B((e,t)=>{const{className:n,...r}=e,{headerId:i,setHeaderMounted:o}=yo();m.useEffect(()=>(o(!0),()=>o(!1)),[o]);const a=V("chakra-modal__header",n),l=Ra(),c={flex:0,...l.header};return s.jsx(D.header,{ref:t,className:a,id:i,...r,__css:c})});vl.displayName="ModalHeader";const _Y={enter:({transition:e,transitionEnd:t,delay:n}={})=>({opacity:1,transition:(e==null?void 0:e.enter)??Tr.enter(ua.enter,n),transitionEnd:t==null?void 0:t.enter}),exit:({transition:e,transitionEnd:t,delay:n}={})=>({opacity:0,transition:(e==null?void 0:e.exit)??Tr.exit(ua.exit,n),transitionEnd:t==null?void 0:t.exit})},aT={initial:"exit",animate:"enter",exit:"exit",variants:_Y},TY=m.forwardRef(function(t,n){const{unmountOnExit:r,in:i,className:o,transition:a,transitionEnd:l,delay:c,animatePresenceProps:u,...d}=t,f=i||r?"enter":"exit",p=r?i&&r:!0,h={transition:a,transitionEnd:l,delay:c};return s.jsx($i,{...u,custom:h,children:p&&s.jsx(Xn.div,{ref:n,className:V("chakra-fade",o),custom:h,...aT,animate:f,...d})})});TY.displayName="Fade";const EY=D(Xn.div),yl=B((e,t)=>{const{className:n,transition:r,motionProps:i,...o}=e,a=V("chakra-modal__overlay",n),c={pos:"fixed",left:"0",top:"0",w:"100vw",h:"100vh",...Ra().overlay},{motionPreset:u}=yo(),f=i||(u==="none"?{}:aT);return s.jsx(EY,{...f,__css:c,ref:t,className:a,...o})});yl.displayName="ModalOverlay";function AY(e){const{leastDestructiveRef:t,...n}=e;return s.jsx(Du,{...n,initialFocusRef:t})}const $Y=B((e,t)=>s.jsx(zm,{ref:t,role:"alertdialog",...e})),[zY,RY]=_e(),IY={start:{ltr:"left",rtl:"right"},end:{ltr:"right",rtl:"left"}};function MY(e,t){var n;if(e)return((n=IY[e])==null?void 0:n[t])??e}function sT(e){var u;const{isOpen:t,onClose:n,placement:r="right",children:i,...o}=e,a=zi(),l=(u=a.components)==null?void 0:u.Drawer,c=MY(r,a.direction);return s.jsx(zY,{value:{placement:c},children:s.jsx(Du,{isOpen:t,onClose:n,styleConfig:l,...o,children:i})})}const Rw={exit:{duration:.15,ease:pi.easeInOut},enter:{type:"spring",damping:25,stiffness:180}},LY={exit:({direction:e,transition:t,transitionEnd:n,delay:r})=>{const{exit:i}=hv({direction:e});return{...i,transition:(t==null?void 0:t.exit)??Tr.exit(Rw.exit,r),transitionEnd:n==null?void 0:n.exit}},enter:({direction:e,transitionEnd:t,transition:n,delay:r})=>{const{enter:i}=hv({direction:e});return{...i,transition:(n==null?void 0:n.enter)??Tr.enter(Rw.enter,r),transitionEnd:t==null?void 0:t.enter}}},lT=m.forwardRef(function(t,n){const{direction:r="right",style:i,unmountOnExit:o,in:a,className:l,transition:c,transitionEnd:u,delay:d,motionProps:f,animatePresenceProps:p,...h}=t,v=hv({direction:r}),b=Object.assign({position:"fixed"},v.position,i),x=o?a&&o:!0,y=a||o?"enter":"exit",g={transitionEnd:u,transition:c,direction:r,delay:d};return s.jsx($i,{...p,custom:g,children:x&&s.jsx(Xn.div,{...h,ref:n,initial:"exit",className:V("chakra-slide",l),animate:y,exit:"exit",custom:g,variants:LY,style:b,...f})})});lT.displayName="Slide";const NY=D(lT),Ob=B((e,t)=>{const{className:n,children:r,motionProps:i,containerProps:o,...a}=e,{getDialogProps:l,getDialogContainerProps:c,isOpen:u}=yo(),d=l(a,t),f=c(o),p=V("chakra-modal__content",n),h=Ra(),v={display:"flex",flexDirection:"column",position:"relative",width:"100%",outline:0,...h.dialog},b={display:"flex",width:"100vw",height:"$100vh",position:"fixed",left:0,top:0,...h.dialogContainer},{placement:x}=RY();return s.jsx(iT,{children:s.jsx(D.div,{...f,className:"chakra-modal__content-container",__css:b,children:s.jsx(NY,{motionProps:i,direction:x,in:u,className:p,...d,__css:v,children:r})})})});Ob.displayName="DrawerContent";function DY(e){var n;const t=m.version;return typeof t!="string"||t.startsWith("18.")?e==null?void 0:e.ref:(n=e==null?void 0:e.props)==null?void 0:n.ref}function OY(e,t,n){return(e-t)*100/(n-t)}ju({"0%":{strokeDasharray:"1, 400",strokeDashoffset:"0"},"50%":{strokeDasharray:"400, 400",strokeDashoffset:"-100"},"100%":{strokeDasharray:"400, 400",strokeDashoffset:"-260"}});ju({"0%":{transform:"rotate(0deg)"},"100%":{transform:"rotate(360deg)"}});const FY=ju({"0%":{left:"-40%"},"100%":{left:"100%"}}),BY=ju({from:{backgroundPosition:"1rem 0"},to:{backgroundPosition:"0 0"}});function WY(e){const{value:t=0,min:n,max:r,valueText:i,getValueText:o,isIndeterminate:a,role:l="progressbar"}=e,c=OY(t,n,r);return{bind:{"data-indeterminate":a?"":void 0,"aria-valuemax":r,"aria-valuemin":n,"aria-valuenow":a?void 0:t,"aria-valuetext":(()=>{if(t!=null)return typeof o=="function"?o(t,c):i})(),role:l},percent:c,value:t}}const[VY,UY]=_e({name:"ProgressStylesContext",errorMessage:`useProgressStyles returned is 'undefined'. Seems you forgot to wrap the components in "<Progress />" `}),HY=B((e,t)=>{const{min:n,max:r,value:i,isIndeterminate:o,role:a,...l}=e,c=WY({value:i,min:n,max:r,isIndeterminate:o,role:a}),d={height:"100%",...UY().filledTrack};return s.jsx(D.div,{ref:t,style:{width:`${c.percent}%`,...l.style},...c.bind,...l,__css:d})}),_p=B((e,t)=>{var _;const{value:n,min:r=0,max:i=100,hasStripe:o,isAnimated:a,children:l,borderRadius:c,isIndeterminate:u,"aria-label":d,"aria-labelledby":f,"aria-valuetext":p,title:h,role:v,...b}=$e(e),x=Qe("Progress",e),y=c??((_=x.track)==null?void 0:_.borderRadius),g={animation:`${BY} 1s linear infinite`},k={...!u&&o&&a&&g,...u&&{position:"absolute",willChange:"left",minWidth:"50%",animation:`${FY} 1s ease infinite normal none running`}},P={overflow:"hidden",position:"relative",...x.track};return s.jsx(D.div,{ref:t,borderRadius:y,__css:P,...b,children:s.jsxs(VY,{value:x,children:[s.jsx(HY,{"aria-label":d,"aria-labelledby":f,"aria-valuetext":p,min:r,max:i,value:n,isIndeterminate:u,css:k,borderRadius:y,title:h,role:v}),l]})})});_p.displayName="Progress";function GY(e){return e&&Nt(e)&&Nt(e.target)}function KY(e={}){const{onChange:t,value:n,defaultValue:r,name:i,isDisabled:o,isFocusable:a,isNative:l,...c}=e,[u,d]=m.useState(r||""),f=typeof n<"u",p=f?n:u,h=m.useRef(null),v=m.useCallback(()=>{const k=h.current;if(!k)return;let P="input:not(:disabled):checked";const _=k.querySelector(P);if(_){_.focus();return}P="input:not(:disabled)";const j=k.querySelector(P);j==null||j.focus()},[]),x=`radio-${m.useId()}`,y=i||x,g=m.useCallback(k=>{const P=GY(k)?k.target.value:k;f||d(P),t==null||t(String(P))},[t,f]),S=m.useCallback((k={},P=null)=>({...k,ref:Mt(P,h),role:"radiogroup"}),[]),w=m.useCallback((k={},P=null)=>({...k,ref:P,name:y,[l?"checked":"isChecked"]:p!=null?k.value===p:void 0,onChange(j){g(j)},"data-radiogroup":!0}),[l,y,g,p]);return{getRootProps:S,getRadioProps:w,name:y,ref:h,focus:v,setValue:d,value:p,onChange:g,isDisabled:o,isFocusable:a,htmlProps:c}}const[qY,cT]=_e({name:"RadioGroupContext",strict:!1}),uT=B((e,t)=>{const{colorScheme:n,size:r,variant:i,children:o,className:a,isDisabled:l,isFocusable:c,...u}=e,{value:d,onChange:f,getRootProps:p,name:h,htmlProps:v}=KY(u),b=m.useMemo(()=>({name:h,size:r,onChange:f,colorScheme:n,value:d,variant:i,isDisabled:l,isFocusable:c}),[h,r,f,n,d,i,l,c]);return s.jsx(qY,{value:b,children:s.jsx(D.div,{...p(v,t),className:V("chakra-radio-group",a),children:o})})});uT.displayName="RadioGroup";function XY(e={}){const{defaultChecked:t,isChecked:n,isFocusable:r,isDisabled:i,isReadOnly:o,isRequired:a,onChange:l,isInvalid:c,name:u,value:d,id:f,"data-radiogroup":p,"aria-describedby":h,...v}=e,b=`radio-${m.useId()}`,x=Iu(),g=!!cT()||!!p;let w=!!x&&!g?x.id:b;w=f??w;const k=i??(x==null?void 0:x.isDisabled),P=o??(x==null?void 0:x.isReadOnly),_=a??(x==null?void 0:x.isRequired),j=c??(x==null?void 0:x.isInvalid),[z,$]=m.useState(!1),[W,Y]=m.useState(!1),[ee,I]=m.useState(!1),[L,N]=m.useState(!!t),R=typeof n<"u",F=R?n:L,M=m.useRef(!1);m.useEffect(()=>XP(re=>{M.current=re}),[]);const G=m.useCallback(re=>{if(P||k){re.preventDefault();return}R||N(re.currentTarget.checked),l==null||l(re)},[R,k,P,l]),Z=m.useCallback(re=>{re.key===" "&&I(!0)},[I]),ae=m.useCallback(re=>{re.key===" "&&I(!1)},[I]),oe=m.useCallback((re={},ze=null)=>({...re,ref:ze,"data-active":de(ee),"data-hover":de(W),"data-disabled":de(k),"data-invalid":de(j),"data-checked":de(F),"data-focus":de(z),"data-focus-visible":de(z&&M.current),"data-readonly":de(P),"aria-hidden":!0,onMouseDown:he(re.onMouseDown,()=>I(!0)),onMouseUp:he(re.onMouseUp,()=>I(!1)),onMouseEnter:he(re.onMouseEnter,()=>Y(!0)),onMouseLeave:he(re.onMouseLeave,()=>Y(!1))}),[ee,W,k,j,F,z,P]),{onFocus:Q,onBlur:ue}=x??{},ce=m.useCallback((re={},ze=null)=>{const ye=k&&!r;return{...re,id:w,ref:ze,type:"radio",name:u,value:d,onChange:he(re.onChange,G),onBlur:he(ue,re.onBlur,()=>$(!1)),onFocus:he(Q,re.onFocus,()=>$(!0)),onKeyDown:he(re.onKeyDown,Z),onKeyUp:he(re.onKeyUp,ae),checked:F,disabled:ye,readOnly:P,required:_,"aria-invalid":gi(j),"aria-disabled":gi(ye),"aria-required":gi(_),"data-readonly":de(P),"aria-describedby":h,style:JP}},[k,r,w,u,d,G,ue,Q,Z,ae,F,P,_,j,h]);return{state:{isInvalid:j,isFocused:z,isChecked:F,isActive:ee,isHovered:W,isDisabled:k,isReadOnly:P,isRequired:_},getRadioProps:oe,getInputProps:ce,getLabelProps:(re={},ze=null)=>({...re,ref:ze,onMouseDown:he(re.onMouseDown,YY),"data-disabled":de(k),"data-checked":de(F),"data-invalid":de(j)}),getRootProps:(re,ze=null)=>({htmlFor:w,...re,ref:ze,"data-disabled":de(k),"data-checked":de(F),"data-invalid":de(j)}),htmlProps:v}}function YY(e){e.preventDefault(),e.stopPropagation()}const Av=B((e,t)=>{const n=cT(),{onChange:r,value:i}=e,o=Qe("Radio",{...n,...e}),a=$e(e),{spacing:l="0.5rem",children:c,isDisabled:u=n==null?void 0:n.isDisabled,isFocusable:d=n==null?void 0:n.isFocusable,inputProps:f,...p}=a;let h=e.isChecked;(n==null?void 0:n.value)!=null&&i!=null&&(h=n.value===i);let v=r;n!=null&&n.onChange&&i!=null&&(v=z$(n.onChange,r));const b=(e==null?void 0:e.name)??(n==null?void 0:n.name),{getInputProps:x,getRadioProps:y,getLabelProps:g,getRootProps:S,htmlProps:w}=XY({...p,isChecked:h,isFocusable:d,isDisabled:u,onChange:v,name:b}),[k,P]=n6(w,c6),_=y(P),j=x(f,t),z=g(),$=Object.assign({},k,S()),W={display:"inline-flex",alignItems:"center",verticalAlign:"top",cursor:"pointer",position:"relative",...o.container},Y={display:"inline-flex",alignItems:"center",justifyContent:"center",flexShrink:0,...o.control},ee={userSelect:"none",marginStart:l,...o.label};return s.jsxs(D.label,{className:"chakra-radio",...$,__css:W,children:[s.jsx("input",{className:"chakra-radio__input",...j}),s.jsx(D.span,{className:"chakra-radio__control",..._,__css:Y}),c&&s.jsx(D.span,{className:"chakra-radio__label",...z,__css:ee,children:c})]})});Av.displayName="Radio";const dT=B(function(t,n){const{children:r,placeholder:i,className:o,...a}=t;return s.jsxs(D.select,{...a,ref:n,className:V("chakra-select",o),children:[i&&s.jsx("option",{value:"",children:i}),r]})});dT.displayName="SelectField";const fT=B((e,t)=>{var S;const n=Qe("Select",e),{rootProps:r,placeholder:i,icon:o,color:a,height:l,h:c,minH:u,minHeight:d,iconColor:f,iconSize:p,...h}=$e(e),[v,b]=n6(h,c6),x=QP(b),y={width:"100%",height:"fit-content",position:"relative",color:a},g={paddingEnd:"2rem",...n.field,_focus:{zIndex:"unset",...(S=n.field)==null?void 0:S._focus}};return s.jsxs(D.div,{className:"chakra-select__wrapper",__css:y,...v,...r,children:[s.jsx(dT,{ref:t,height:c??l,minH:u??d,placeholder:i,...x,__css:g,children:e.children}),s.jsx(pT,{"data-disabled":de(x.disabled),...(f||a)&&{color:f||a},__css:n.icon,...p&&{fontSize:p},children:o})]})});fT.displayName="Select";const QY=e=>s.jsx("svg",{viewBox:"0 0 24 24",...e,children:s.jsx("path",{fill:"currentColor",d:"M16.59 8.59L12 13.17 7.41 8.59 6 10l6 6 6-6z"})}),ZY=D("div",{baseStyle:{position:"absolute",display:"inline-flex",alignItems:"center",justifyContent:"center",pointerEvents:"none",top:"50%",transform:"translateY(-50%)"}}),pT=e=>{const{children:t=s.jsx(QY,{}),...n}=e,r=m.cloneElement(t,{role:"presentation",className:"chakra-select__icon",focusable:!1,"aria-hidden":!0,style:{width:"1em",height:"1em",color:"currentColor"}});return s.jsx(ZY,{...n,className:"chakra-select__icon-wrapper",children:m.isValidElement(t)?r:null})};pT.displayName="SelectIcon";const Eo=D("div",{baseStyle:{flex:1,justifySelf:"stretch",alignSelf:"stretch"}});Eo.displayName="Spacer";const mT=e=>s.jsx(D.div,{className:"chakra-stack__item",...e,__css:{display:"inline-block",flex:"0 0 auto",minWidth:0,...e.__css}});mT.displayName="StackItem";function JY(e){const{spacing:t,direction:n}=e,r={column:{my:t,mx:0,borderLeftWidth:0,borderBottomWidth:"1px"},"column-reverse":{my:t,mx:0,borderLeftWidth:0,borderBottomWidth:"1px"},row:{mx:t,my:0,borderLeftWidth:"1px",borderBottomWidth:0},"row-reverse":{mx:t,my:0,borderLeftWidth:"1px",borderBottomWidth:0}};return{"&":ny(n,i=>r[i])}}const we=B((e,t)=>{const{isInline:n,direction:r,align:i,justify:o,spacing:a="0.5rem",wrap:l,children:c,divider:u,className:d,shouldWrapChildren:f,...p}=e,h=n?"row":r??"column",v=m.useMemo(()=>JY({spacing:a,direction:h}),[a,h]),b=!!u,x=!f&&!b,y=m.useMemo(()=>{const S=ey(c);return x?S:S.map((w,k)=>{const P=typeof w.key<"u"?w.key:k,_=k+1===S.length,z=f?s.jsx(mT,{children:w},P):w;if(!b)return z;const $=m.cloneElement(u,{__css:v}),W=_?null:$;return s.jsxs(m.Fragment,{children:[z,W]},P)})},[u,v,b,x,f,c]),g=V("chakra-stack",d);return s.jsx(D.div,{ref:t,display:"flex",alignItems:i,justifyContent:o,flexDirection:h,flexWrap:l,gap:b?void 0:a,className:g,...p,children:y})});we.displayName="Stack";const ge=B((e,t)=>s.jsx(we,{align:"center",...e,direction:"row",ref:t}));ge.displayName="HStack";const Fu=B((e,t)=>s.jsx(we,{align:"center",...e,direction:"column",ref:t}));Fu.displayName="VStack";const[eQ,hT]=_e({name:"StatStylesContext",errorMessage:`useStatStyles returned is 'undefined'. Seems you forgot to wrap the components in "<Stat />" `}),Go=B(function(t,n){const r=Qe("Stat",t),i={position:"relative",flex:"1 1 0%",...r.container},{className:o,children:a,...l}=$e(t);return s.jsx(eQ,{value:r,children:s.jsx(D.div,{ref:n,...l,className:V("chakra-stat",o),__css:i,children:s.jsx("dl",{children:a})})})});Go.displayName="Stat";const Ko=B(function(t,n){const r=hT();return s.jsx(D.dt,{ref:n,...t,className:V("chakra-stat__label",t.className),__css:r.label})});Ko.displayName="StatLabel";const Bi=B(function(t,n){const r=hT();return s.jsx(D.dd,{ref:n,...t,className:V("chakra-stat__number",t.className),__css:{...r.number,fontFeatureSettings:"pnum",fontVariantNumeric:"proportional-nums"}})});Bi.displayName="StatNumber";const[tQ,Ao]=_e({name:"StepContext"}),[nQ,Ia]=$r("Stepper"),rQ=B(function(t,n){const{orientation:r,status:i,showLastSeparator:o}=Ao(),a=Ia();return s.jsx(D.div,{ref:n,"data-status":i,"data-orientation":r,"data-stretch":de(o),__css:a.step,...t,className:V("chakra-step",t.className)})}),iQ=B(function(t,n){const{status:r}=Ao(),i=Ia();return s.jsx(D.p,{ref:n,"data-status":r,...t,className:V("chakra-step__description",t.className),__css:i.description})});function oQ(e){return s.jsx("svg",{stroke:"currentColor",fill:"currentColor",strokeWidth:"0",viewBox:"0 0 20 20","aria-hidden":"true",height:"1em",width:"1em",...e,children:s.jsx("path",{fillRule:"evenodd",d:"M16.707 5.293a1 1 0 010 1.414l-8 8a1 1 0 01-1.414 0l-4-4a1 1 0 011.414-1.414L8 12.586l7.293-7.293a1 1 0 011.414 0z",clipRule:"evenodd"})})}function aQ(e){const{status:t}=Ao(),n=Ia(),r=t==="complete"?oQ:void 0;return s.jsx(At,{as:r,__css:n.icon,...e,className:V("chakra-step__icon",e.className)})}const Iw=B(function(t,n){const{children:r,...i}=t,{status:o,index:a}=Ao(),l=Ia();return s.jsx(D.div,{ref:n,"data-status":o,__css:l.number,...i,className:V("chakra-step__number",t.className),children:r||a+1})});function sQ(e){const{complete:t,incomplete:n,active:r}=e,i=Ao();let o=null;switch(i.status){case"complete":o=cn(t,i);break;case"incomplete":o=cn(n,i);break;case"active":o=cn(r,i);break}return o?s.jsx(s.Fragment,{children:o}):null}const lQ=B(function(t,n){const{status:r}=Ao(),i=Ia();return s.jsx(D.div,{ref:n,"data-status":r,...t,__css:i.indicator,className:V("chakra-step__indicator",t.className)})}),gT=B(function(t,n){const{orientation:r,status:i,isLast:o,showLastSeparator:a}=Ao(),l=Ia();return o&&!a?null:s.jsx(D.div,{ref:n,role:"separator","data-orientation":r,"data-status":i,__css:l.separator,...t,className:V("chakra-step__separator",t.className)})}),cQ=B(function(t,n){const{status:r}=Ao(),i=Ia();return s.jsx(D.h3,{ref:n,"data-status":r,...t,__css:i.title,className:V("chakra-step__title",t.className)})}),uQ=B(function(t,n){const r=Qe("Stepper",t),{children:i,index:o,orientation:a="horizontal",showLastSeparator:l=!1,...c}=$e(t),u=m.Children.toArray(i),d=u.length;function f(p){return p<o?"complete":p>o?"incomplete":"active"}return s.jsx(D.div,{ref:n,"aria-label":"Progress","data-orientation":a,...c,__css:r.stepper,className:V("chakra-stepper",t.className),children:s.jsx(nQ,{value:r,children:u.map((p,h)=>s.jsx(tQ,{value:{index:h,status:f(h),orientation:a,showLastSeparator:l,count:d,isFirst:h===0,isLast:h===d-1},children:p},h))})})}),nc=B(function(t,n){const r=Qe("Switch",t),{spacing:i="0.5rem",children:o,...a}=$e(t),{getIndicatorProps:l,getInputProps:c,getCheckboxProps:u,getRootProps:d,getLabelProps:f}=kG(a),p=m.useMemo(()=>({display:"inline-block",position:"relative",verticalAlign:"middle",lineHeight:0,...r.container}),[r.container]),h=m.useMemo(()=>({display:"inline-flex",flexShrink:0,justifyContent:"flex-start",boxSizing:"content-box",cursor:"pointer",...r.track}),[r.track]),v=m.useMemo(()=>({userSelect:"none",marginStart:i,...r.label}),[i,r.label]);return s.jsxs(D.label,{...d(),className:V("chakra-switch",t.className),__css:p,children:[s.jsx("input",{className:"chakra-switch__input",...c({},n)}),s.jsx(D.span,{...u(),className:"chakra-switch__track",__css:h,children:s.jsx(D.span,{__css:r.thumb,className:"chakra-switch__thumb",...l()})}),o&&s.jsx(D.span,{className:"chakra-switch__label",...f(),__css:v,children:o})]})});nc.displayName="Switch";const[dQ,Bu]=_e({name:"TableStylesContext",errorMessage:`useTableStyles returned is 'undefined'. Seems you forgot to wrap the components in "<Table />" `}),uu=B((e,t)=>{const n=Qe("Table",e),{className:r,layout:i,...o}=$e(e);return s.jsx(dQ,{value:n,children:s.jsx(D.table,{ref:t,__css:{tableLayout:i,...n.table},className:V("chakra-table",r),...o})})});uu.displayName="Table";const Tp=B((e,t)=>{const{overflow:n,overflowX:r,className:i,...o}=e;return s.jsx(D.div,{ref:t,className:V("chakra-table__container",i),...o,__css:{display:"block",whiteSpace:"nowrap",WebkitOverflowScrolling:"touch",overflowX:n??r??"auto",overflowY:"hidden",maxWidth:"100%"}})}),Ep=B((e,t)=>{const n=Bu();return s.jsx(D.tbody,{...e,ref:t,__css:n.tbody})}),xt=B(({isNumeric:e,...t},n)=>{const r=Bu();return s.jsx(D.td,{...t,ref:n,__css:r.td,"data-is-numeric":e})}),_t=B(({isNumeric:e,...t},n)=>{const r=Bu();return s.jsx(D.th,{...t,ref:n,__css:r.th,"data-is-numeric":e})}),Ap=B((e,t)=>{const n=Bu();return s.jsx(D.thead,{...e,ref:t,__css:n.thead})}),Vr=B((e,t)=>{const n=Bu();return s.jsx(D.tr,{...e,ref:t,__css:n.tr})});function fQ(e,t){const n=e??"bottom",i={"top-start":{ltr:"top-left",rtl:"top-right"},"top-end":{ltr:"top-right",rtl:"top-left"},"bottom-start":{ltr:"bottom-left",rtl:"bottom-right"},"bottom-end":{ltr:"bottom-right",rtl:"bottom-left"}}[n];return(i==null?void 0:i[t])??n}function pQ(e,t){const n=i=>({...t,...i,position:fQ((i==null?void 0:i.position)??(t==null?void 0:t.position),e)}),r=i=>{const o=n(i),a=FP(o);return Br.notify(a,o)};return r.update=(i,o)=>{Br.update(i,n(o))},r.promise=(i,o)=>{const a=r({...o.loading,status:"loading",duration:null});i.then(l=>r.update(a,{status:"success",duration:5e3,...cn(o.success,l)})).catch(l=>r.update(a,{status:"error",duration:5e3,...cn(o.error,l)}))},r.closeAll=Br.closeAll,r.close=Br.close,r.isActive=Br.isActive,r}function pr(e){const{theme:t}=RP(),n=WH();return m.useMemo(()=>pQ(t.direction,{...n,...e}),[e,t.direction,n])}const mQ={exit:{scale:.85,opacity:0,transition:{opacity:{duration:.15,easings:"easeInOut"},scale:{duration:.2,easings:"easeInOut"}}},enter:{scale:1,opacity:1,transition:{opacity:{easings:"easeOut",duration:.2},scale:{duration:.2,ease:[.175,.885,.4,1.1]}}}},$v=e=>{var t;return((t=e.current)==null?void 0:t.ownerDocument)||document},zf=e=>{var t,n;return((n=(t=e.current)==null?void 0:t.ownerDocument)==null?void 0:n.defaultView)||window};function hQ(e={}){const{openDelay:t=0,closeDelay:n=0,closeOnClick:r=!0,closeOnMouseDown:i,closeOnScroll:o,closeOnPointerDown:a=i,closeOnEsc:l=!0,onOpen:c,onClose:u,placement:d,id:f,isOpen:p,defaultIsOpen:h,arrowSize:v=10,arrowShadowColor:b,arrowPadding:x,modifiers:y,isDisabled:g,gutter:S,offset:w,direction:k,...P}=e,{isOpen:_,onOpen:j,onClose:z}=wu({isOpen:p,defaultIsOpen:h,onOpen:c,onClose:u}),{referenceRef:$,getPopperProps:W,getArrowInnerProps:Y,getArrowProps:ee}=AX({enabled:_,placement:d,arrowPadding:x,modifiers:y,gutter:S,offset:w,direction:k}),I=m.useId(),N=`tooltip-${f??I}`,R=m.useRef(null),F=m.useRef(void 0),M=m.useCallback(()=>{F.current&&(clearTimeout(F.current),F.current=void 0)},[]),G=m.useRef(void 0),Z=m.useCallback(()=>{G.current&&(clearTimeout(G.current),G.current=void 0)},[]),ae=m.useCallback(()=>{Z(),z()},[z,Z]),oe=gQ(R,ae),Q=m.useCallback(()=>{if(!g&&!F.current){_&&oe();const ye=zf(R);F.current=ye.setTimeout(j,t)}},[oe,g,_,j,t]),ue=m.useCallback(()=>{M();const ye=zf(R);G.current=ye.setTimeout(ae,n)},[n,ae,M]),ce=m.useCallback(()=>{_&&r&&ue()},[r,ue,_]),Be=m.useCallback(()=>{_&&a&&ue()},[a,ue,_]),Ze=m.useCallback(ye=>{_&&ye.key==="Escape"&&ue()},[_,ue]);cf(()=>$v(R),"keydown",l?Ze:void 0),cf(()=>{if(!o)return null;const ye=R.current;if(!ye)return null;const ot=t6(ye);return ot.localName==="body"?zf(R):ot},"scroll",()=>{_&&o&&ae()},{passive:!0,capture:!0}),m.useEffect(()=>{g&&(M(),_&&z())},[g,_,z,M]),m.useEffect(()=>()=>{M(),Z()},[M,Z]),cf(()=>R.current,"pointerleave",ue);const te=m.useCallback((ye={},ot=null)=>({...ye,ref:Mt(R,ot,$),onPointerEnter:he(ye.onPointerEnter,ut=>{ut.pointerType!=="touch"&&Q()}),onClick:he(ye.onClick,ce),onPointerDown:he(ye.onPointerDown,Be),onFocus:he(ye.onFocus,Q),onBlur:he(ye.onBlur,ue),"aria-describedby":_?N:void 0}),[Q,ue,Be,_,N,ce,$]),re=m.useCallback((ye={},ot=null)=>W({...ye,style:{...ye.style,[Qt.arrowSize.var]:v?`${v}px`:void 0,[Qt.arrowShadowColor.var]:b}},ot),[W,v,b]),ze=m.useCallback((ye={},ot=null)=>{const ve={...ye.style,position:"relative",transformOrigin:Qt.transformOrigin.varRef};return{ref:ot,...P,...ye,id:N,role:"tooltip",style:ve}},[P,N]);return{isOpen:_,show:Q,hide:ue,getTriggerProps:te,getTooltipProps:ze,getTooltipPositionerProps:re,getArrowProps:ee,getArrowInnerProps:Y}}const k0="chakra-ui:close-tooltip";function gQ(e,t){return m.useEffect(()=>{const n=$v(e);return n.addEventListener(k0,t),()=>n.removeEventListener(k0,t)},[t,e]),()=>{const n=$v(e),r=zf(e);n.dispatchEvent(new r.CustomEvent(k0))}}const vQ=D(Xn.div),Fb=B((e,t)=>{const n=Yn("Tooltip",e),r=$e(e),i=zi(),{children:o,label:a,shouldWrapChildren:l,"aria-label":c,hasArrow:u,bg:d,portalProps:f,background:p,backgroundColor:h,bgColor:v,motionProps:b,animatePresenceProps:x,...y}=r,g=p??h??d??v;if(g){n.bg=g;const $=Gz(i,"colors",g);n[Qt.arrowBg.var]=$}const S=hQ({...y,direction:i.direction}),w=!m.isValidElement(o)||l;let k;if(w)k=s.jsx(D.span,{display:"inline-block",tabIndex:0,...S.getTriggerProps(),children:o});else{const $=m.Children.only(o);k=m.cloneElement($,S.getTriggerProps($.props,DY($)))}const P=!!c,_=S.getTooltipProps({},t),j=P?tm(_,["role","id"]):_,z=JC(_,["role","id"]);return a?s.jsxs(s.Fragment,{children:[k,s.jsx($i,{...x,children:S.isOpen&&s.jsx(hl,{...f,children:s.jsx(D.div,{...S.getTooltipPositionerProps(),__css:{zIndex:n.zIndex,pointerEvents:"none"},children:s.jsxs(vQ,{variants:mQ,initial:"exit",animate:"enter",exit:"exit",...b,...j,__css:n,children:[a,P&&s.jsx(D.span,{srOnly:!0,...z,children:c}),u&&s.jsx(D.div,{"data-popper-arrow":!0,className:"chakra-tooltip__arrow-wrapper",children:s.jsx(D.div,{"data-popper-arrow-inner":!0,className:"chakra-tooltip__arrow",__css:{bg:n.bg}})})]})})})})]}):s.jsx(s.Fragment,{children:o})});Fb.displayName="Tooltip";const ct=B(function(t,n){const r=Yn("Heading",t),{className:i,...o}=$e(t);return s.jsx(D.h2,{ref:n,className:V("chakra-heading",t.className),...o,__css:r})});ct.displayName="Heading";const K=B(function(t,n){const r=Yn("Text",t),{className:i,align:o,decoration:a,casing:l,...c}=$e(t),u=ty({textAlign:t.align,textDecoration:t.decoration,textTransform:t.casing});return s.jsx(D.p,{ref:n,className:V("chakra-text",t.className),...u,...c,__css:r})});K.displayName="Text";const vT=B(function(t,n){const{spacing:r="0.5rem",spacingX:i,spacingY:o,children:a,justify:l,direction:c,align:u,className:d,shouldWrapChildren:f,...p}=t,h=m.useMemo(()=>f?m.Children.map(a,(v,b)=>s.jsx(Bb,{children:v},b)):a,[a,f]);return s.jsx(D.div,{ref:n,className:V("chakra-wrap",d),...p,children:s.jsx(D.ul,{className:"chakra-wrap__list",__css:{display:"flex",flexWrap:"wrap",justifyContent:l,alignItems:u,flexDirection:c,listStyleType:"none",gap:r,columnGap:i,rowGap:o,padding:"0"},children:h})})});vT.displayName="Wrap";const Bb=B(function(t,n){const{className:r,...i}=t;return s.jsx(D.li,{ref:n,__css:{display:"flex",alignItems:"flex-start"},className:V("chakra-wrap__listitem",r),...i})});Bb.displayName="WrapItem";var In=e=>_m({viewBox:"0 0 24 24",defaultProps:{fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},...e});In({displayName:"ChevronUpIcon",path:s.jsx("polyline",{points:"18 15 12 9 6 15"})});In({displayName:"ChevronDownIcon",path:s.jsx("polyline",{points:"6 9 12 15 18 9"})});In({displayName:"ChevronLeftIcon",path:s.jsx("polyline",{points:"15 18 9 12 15 6"})});In({displayName:"ChevronRightIcon",path:s.jsx("polyline",{points:"9 18 15 12 9 6"})});In({displayName:"ChevronDownIcon",path:s.jsxs("g",{fill:"none",children:[s.jsx("line",{x1:"3",y1:"12",x2:"21",y2:"12"}),s.jsx("line",{x1:"3",y1:"6",x2:"21",y2:"6"}),s.jsx("line",{x1:"3",y1:"18",x2:"21",y2:"18"})]})});var yQ=In({displayName:"CloseIcon",path:s.jsxs("g",{children:[s.jsx("line",{x1:"18",y1:"6",x2:"6",y2:"18"}),s.jsx("line",{x1:"6",y1:"6",x2:"18",y2:"18"})]})});In({displayName:"FilterIcon",path:s.jsx("polygon",{points:"22 3 2 3 10 12.46 10 19 14 21 14 12.46 22 3"})});In({displayName:"CalendarIcon",path:s.jsxs("g",{children:[s.jsx("rect",{x:"3",y:"4",width:"18",height:"18",rx:"2",ry:"2"}),s.jsx("line",{x1:"16",y1:"2",x2:"16",y2:"6"}),s.jsx("line",{x1:"8",y1:"2",x2:"8",y2:"6"}),s.jsx("line",{x1:"3",y1:"10",x2:"21",y2:"10"})]})});In({displayName:"PlusIcon",path:s.jsxs("g",{children:[s.jsx("line",{x1:"12",y1:"5",x2:"12",y2:"19"}),s.jsx("line",{x1:"5",y1:"12",x2:"19",y2:"12"})]})});In({displayName:"MinusIcon",path:s.jsx("g",{children:s.jsx("line",{x1:"5",y1:"12",x2:"19",y2:"12"})})});In({displayName:"ViewOffIcon",path:s.jsxs("g",{children:[s.jsx("path",{d:"M17.94 17.94A10.07 10.07 0 0 1 12 20c-7 0-11-8-11-8a18.45 18.45 0 0 1 5.06-5.94M9.9 4.24A9.12 9.12 0 0 1 12 4c7 0 11 8 11 8a18.5 18.5 0 0 1-2.16 3.19m-6.72-1.07a3 3 0 1 1-4.24-4.24"}),s.jsx("line",{x1:"1",y1:"1",x2:"23",y2:"23"})]})});In({displayName:"ViewOffIcon",path:s.jsxs("g",{children:[s.jsx("path",{d:"M1 12s4-8 11-8 11 8 11 8-4 8-11 8-11-8-11-8z"}),s.jsx("circle",{cx:"12",cy:"12",r:"3"})]})});var bQ=In({displayName:"SearchIcon",path:s.jsxs("g",{children:[s.jsx("circle",{cx:"11",cy:"11",r:"8"}),s.jsx("line",{x1:"21",y1:"21",x2:"16.65",y2:"16.65"})]})});In({displayName:"CheckIcon",path:s.jsx("g",{children:s.jsx("polyline",{points:"20 6 9 17 4 12"})})});function Ht(e,t={}){let n=!1;function r(){if(!n){n=!0;return}throw new Error("[anatomy] .part(...) should only be called once. Did you mean to use .extend(...) ?")}function i(...d){r();for(const f of d)t[f]=c(f);return Ht(e,t)}function o(...d){for(const f of d)f in t||(t[f]=c(f));return Ht(e,t)}function a(){return Object.fromEntries(Object.entries(t).map(([f,p])=>[f,p.selector]))}function l(){return Object.fromEntries(Object.entries(t).map(([f,p])=>[f,p.className]))}function c(d){const h=`chakra-${(["container","root"].includes(d??"")?[e]:[e,d]).filter(Boolean).join("__")}`;return{className:h,selector:`.${h}`,toString:()=>d}}return{parts:i,toPart:c,extend:o,selectors:a,classnames:l,get keys(){return Object.keys(t)},__type:{}}}var xQ=Ht("app-shell").parts("container","inner","main"),yT=Ht("emptystate").parts("container","body","icon","title","descripton","actions","footer"),SQ=Ht("banner").parts("container","icon","content","title","description","actions","close"),wQ=Ht("hotkeys").parts("container","group","groupTitle","item","command","then"),kQ=Ht("loading-overlay").parts("overlay","text"),CQ=Ht("nav-group").parts("container","title","icon","content"),jQ=Ht("nav-item").parts("item","link","inner","icon","label"),PQ=Ht("nprogress").parts("container","bar"),_Q=Ht("persona").parts("container","details","avatar","label","secondaryLabel","tertiaryLabel"),TQ=Ht("search-input").parts("input","reset"),EQ=Ht("sidebar").parts("container","overlay","section","toggleWrapper","toggle");Ht("stepper").parts("container","steps","icon","content","title","separator");var AQ=Ht("structured-list").parts("list","item","button","header","cell","icon"),bT=Ht("property").parts("property","label","value"),$Q=Ht("select").parts("addon","field","element"),zQ=Ht("timeline").parts("container","item","separator","icon","dot","track","content"),{definePartsStyle:xT,defineMultiStyleConfig:RQ}=fe(p6.keys),IQ=xT(e=>{const{colorScheme:t}=e;return{container:{bg:"white",_dark:{bg:"black"},borderWidth:"1px"},icon:{color:`${t}.500`,_dark:{color:`${t}.500`},"& .chakra-spinner":{color:"black",_dark:{color:"white"}}},title:{fontWeight:"semibold",fontSize:"md"},description:{fontSize:"sm",color:"gray.500",_dark:{color:"gray.400"}}}}),MQ=xT({container:{borderRadius:"md"}}),LQ=RQ({defaultProps:{size:"sm"},baseStyle:MQ,variants:{snackbar:IQ}}),ci=f6("badge",["bg","color","shadow","border"]),Mw=e=>{const{colorScheme:t,theme:n}=e,r=Ut(`${t}.200`,.8)(n);return{[ci.color.variable]:`colors.${t}.500`,_dark:{[ci.color.variable]:r},[ci.shadow.variable]:`inset 0 0 0px 1px ${ci.color.reference}`}},NQ={variants:{outline:e=>{const t=Mw(e);return{...t,_dark:{...t==null?void 0:t._dark,[ci.shadow.variable]:`inset 0 0 0px 1px ${ci.border.reference}`,[ci.color.variable]:`colors.${e.colorScheme}.200`,[ci.border.variable]:`colors.${e.colorScheme}.500`}}},ghost:e=>{const t=Mw(e);return{...t,shadow:"none",_dark:{...t==null?void 0:t._dark,[ci.color.variable]:`colors.${e.colorScheme}.200`}}}}},ST=e=>{const{colorScheme:t}=e;return t==="gray"?{base:J("gray.100","whiteAlpha.300")(e),hover:J("gray.200","whiteAlpha.400")(e),active:J("gray.300","whiteAlpha.500")(e)}:t==="white"?{base:"whiteAlpha.900",hover:"whiteAlpha.700",active:"whiteAlpha.500"}:{base:J(`${t}.500`,`${t}.500`)(e),hover:J(`${t}.600`,`${t}.600`)(e),active:J(`${t}.700`,`${t}.700`)(e)}},DQ={yellow:{bg:"yellow.400",hoverBg:"yellow.500",activeBg:"yellow.600",color:"black"},cyan:{bg:"cyan.400",color:"black",hoverBg:"cyan.500",activeBg:"cyan.600"}},Im=e=>{var t;const{colorScheme:n,colorMode:r}=e;if(n==="white")return{bg:"white",color:"black",_hover:{bg:"whiteAlpha.900",_dark:{bg:"whiteAlpha.900"},_disabled:{bg:"white"}},_active:{bg:"whiteAlpha.800",_dark:{bg:"whiteAlpha.800"}},_disabled:{color:"blackAlpha.700"}};if(n==="neutral")return{bg:"black",color:"white",_dark:{bg:"white",color:"black"},_hover:{bg:"blackAlpha.800",_disabled:{bg:"black"},_dark:{bg:"whiteAlpha.800",_disabled:{bg:"white"}}},_active:{bg:"blackAlpha.800",_dark:{bg:"whiteAlpha.800"}},_disabled:{color:"blackAlpha.700",_dark:{color:"whiteAlpha.700"}}};const{base:i,hover:o,active:a}=ST(e),{color:l=n==="gray"?J("black","white")(e):"white",bg:c=i,hoverBg:u=o,activeBg:d=a}=(t=DQ[n])!=null?t:{};return{bg:c,color:l,_hover:{bg:u,_disabled:{bg:c}},_active:{bg:d}}},OQ=e=>({shadow:"md",...Im(e)}),wT=e=>{const{colorScheme:t}=e,{base:n,hover:r,active:i}=ST(e);return{...kT(e),borderColor:t==="gray"?r:n,borderWidth:"1px",_hover:{borderColor:t==="gray"?i:r}}},kT=e=>{const{colorScheme:t,theme:n}=e;if(t==="gray")return{color:"inherit",_dark:{color:"whiteAlpha.900"},_hover:{bg:"blackAlpha.100",_dark:{bg:"whiteAlpha.200"}},_active:{bg:"blackAlpha.200",_dark:{bg:"whiteAlpha.300"}}};if(t==="white")return{color:"white",_hover:{bg:"whiteAlpha.200"},_active:"whiteAlpha.300"};const r=Ut(`${t}.200`,.12)(n),i=Ut(`${t}.200`,.24)(n);return{color:`${t}.600`,_dark:{color:`${t}.200`},bg:"transparent",_hover:{bg:`${t}.50`,_dark:{bg:r}},_active:{bg:`${t}.100`,_dark:{bg:i}}}},FQ=e=>{const{colorScheme:t,theme:n}=e;if(t==="gray")return{color:"inherit",bg:"blackAlpha.100",_dark:{bg:"whiteAlpha.100",color:"whiteAlpha.900"},_hover:{bg:"blackAlpha.200",_dark:{color:"white.200"}},_active:{bg:"blackAlpha.300",_dark:{bg:"whiteAlpha.300"}}};const r=t==="white"?"white":J(`${t}.500`,`${t}.200`)(e),i=Ut(r,.1)(n),o=Ut(r,.16)(n),a=Ut(r,.24)(n);return{color:t==="white"?"white":J(`${t}.600`,`${t}.200`)(e),bg:i,_hover:{bg:o},_active:{bg:a}}},BQ=e=>{const{colorScheme:t}=e;return{padding:0,height:"auto",lineHeight:"normal",verticalAlign:"baseline",color:t==="white"?"white":J(`${t}.500`,`${t}.200`)(e),_hover:{textDecoration:"underline",_disabled:{textDecoration:"none"}},_active:{color:t==="white"?"whiteAlpha.800":J(`${t}.700`,`${t}.500`)(e)}}},WQ=e=>{let{colorScheme:t}=e;return t==="gray"&&(t="primary"),Im({...e,variant:"solid",colorScheme:t})},VQ=e=>Im({...e,variant:"solid"}),UQ=e=>wT({...e,variant:"outline"}),HQ={defaultProps:{size:"sm"},variants:{solid:Im,ghost:kT,outline:wT,subtle:FQ,elevated:OQ,link:BQ,primary:WQ,secondary:VQ,tertiary:UQ}},{definePartsStyle:ma,defineMultiStyleConfig:GQ}=fe(w6.keys),ta=X("card-bg"),C0=X("card-padding"),Wb=X("card-shadow"),j0=X("card-radius"),Vb=X("card-border-width","0"),Ji=X("card-border-color"),KQ=ma(()=>({container:{transitionProperty:"common",transitionDuration:"normal"}})),qQ=ma(e=>({container:{[ta.variable]:"colors.white",[Ji.variable]:"colors.blackAlpha.200",[Vb.variable]:"1px",[Wb.variable]:"shadows.sm",_dark:{[ta.variable]:"colors.whiteAlpha.200",[Ji.variable]:"colors.whiteAlpha.50"},"&.chakra-linkbox:hover":{[Ji.variable]:"colors.blackAlpha.300",_dark:{[Ji.variable]:"colors.whiteAlpha.300"}}}})),XQ=ma(e=>{const{colorScheme:t}=e,n=t?"white":"inherit";return{container:{[Vb.variable]:"0",[Wb.variable]:"none",[ta.variable]:t?`${t}.500`:"colors.blackAlpha.100",color:n,"&.chakra-linkbox:hover":{[ta.variable]:t?`${t}.600`:"colors.blackAlpha.200"},_dark:{[ta.variable]:t?`${t}.500`:"colors.whiteAlpha.100","&.chakra-linkbox:hover":{[ta.variable]:t?`${t}.600`:"colors.whiteAlpha.200"}}}}}),YQ=ma(e=>{const{colorScheme:t}=e;return{container:{[Vb.variable]:"1px",[Wb.variable]:"none",[Ji.variable]:t?`${t}.500`:"colors.blackAlpha.200",[ta.variable]:"transparent","&.chakra-linkbox:hover":{[Ji.variable]:t?`${t}.600`:"colors.blackAlpha.300"},_dark:{[Ji.variable]:t?`${t}.500`:"colors.whiteAlpha.300","&.chakra-linkbox:hover":{[Ji.variable]:t?`${t}.600`:"colors.whiteAlpha.400"}}}}}),QQ={sm:ma({container:{[j0.variable]:"radii.base",[C0.variable]:"space.3"}}),md:ma({container:{[j0.variable]:"radii.md",[C0.variable]:"space.4"}}),lg:ma({container:{[j0.variable]:"radii.xl",[C0.variable]:"space.6"}})},ZQ=GQ({defaultProps:{variant:"elevated"},baseStyle:KQ,variants:{elevated:qQ,outline:YQ,filled:XQ},sizes:QQ}),{definePartsStyle:JQ,defineMultiStyleConfig:eZ}=fe(m6.keys),tZ=JQ(e=>{const{colorScheme:t}=e;return{control:{_checked:{borderColor:`${t}.500`,bg:`${t}.500`,color:"white"}}}}),nZ=eZ({baseStyle:tZ,defaultProps:{colorScheme:"primary"}}),rZ={defaultProps:{size:"sm"}},{definePartsStyle:Rf,defineMultiStyleConfig:iZ}=fe(ay.keys),Dd=X("input-height"),Od=X("input-padding"),Lw=X("input-border-radius"),CT={sm:Rf({field:{[Lw.variable]:"radii.md"},group:{[Lw.variable]:"radii.md"}}),md:Rf({field:{[Od.variable]:"space.3",[Dd.variable]:"sizes.9"},group:{[Od.variable]:"space.3",[Dd.variable]:"sizes.9"}}),lg:Rf({field:{[Od.variable]:"space.3",[Dd.variable]:"sizes.10"},group:{[Od.variable]:"space.3",[Dd.variable]:"sizes.10"}})},jT=Rf(e=>({field:{borderColor:"blackAlpha.300",_dark:{borderColor:"whiteAlpha.300"},_hover:{borderColor:"blackAlpha.400",_dark:{borderColor:"whiteAlpha.400"}}}})),Ub=iZ({defaultProps:{focusBorderColor:"primary.500"},variants:{outline:jT},sizes:CT}),oZ={variants:{horizontal:{mb:0,marginStart:"0.5rem"}}},jc=Ub,aZ=Ub,sZ={defaultProps:{focusBorderColor:"primary.500"},variants:{outline:jT},sizes:CT},lZ={defaultProps:{focusBorderColor:"primary.500"},variants:{outline:e=>{var t,n;return(n=(t=jc.variants)==null?void 0:t.outline(e).field)!=null?n:{}}}},cZ=Ub,{definePartsStyle:mi,defineMultiStyleConfig:uZ}=fe(ay.keys),ys=X("input-height"),bs=X("input-font-size"),xs=X("input-padding"),Ss=X("input-border-radius"),dZ=mi({addon:{height:ys.reference,fontSize:bs.reference,px:xs.reference,borderRadius:Ss.reference},field:{width:"100%",height:ys.reference,fontSize:bs.reference,px:xs.reference,borderRadius:Ss.reference,minWidth:0,outline:0,position:"relative",appearance:"none",transitionProperty:"common",transitionDuration:"normal",_disabled:{opacity:.4,cursor:"not-allowed"}}}),Oi={lg:{[bs.variable]:"fontSizes.lg",[xs.variable]:"space.4",[Ss.variable]:"radii.md",[ys.variable]:"sizes.12"},md:{[bs.variable]:"fontSizes.md",[xs.variable]:"space.4",[Ss.variable]:"radii.md",[ys.variable]:"sizes.10"},sm:{[bs.variable]:"fontSizes.sm",[xs.variable]:"space.3",[Ss.variable]:"radii.sm",[ys.variable]:"sizes.8"},xs:{[bs.variable]:"fontSizes.xs",[xs.variable]:"space.2",[Ss.variable]:"radii.sm",[ys.variable]:"sizes.6"}},fZ={lg:mi({field:Oi.lg,group:Oi.lg}),md:mi({field:Oi.md,group:Oi.md}),sm:mi({field:Oi.sm,group:Oi.sm}),xs:mi({field:Oi.xs,group:Oi.xs})};function Hb(e){const{focusBorderColor:t,errorBorderColor:n}=e;return{focusBorderColor:t||J("blue.500","blue.300")(e),errorBorderColor:n||J("red.500","red.300")(e)}}var pZ=mi(e=>{const{theme:t}=e,{focusBorderColor:n,errorBorderColor:r}=Hb(e);return{field:{border:"1px solid",borderColor:"inherit",bg:"inherit",_hover:{borderColor:J("gray.300","whiteAlpha.400")(e)},_readOnly:{boxShadow:"none !important",userSelect:"all"},_invalid:{borderColor:nt(t,r),boxShadow:`0 0 0 1px ${nt(t,r)}`},_focusVisible:{zIndex:1,borderColor:nt(t,n),boxShadow:`0 0 0 1px ${nt(t,n)}`}},addon:{border:"1px solid",borderColor:J("inherit","whiteAlpha.50")(e),bg:J("gray.100","whiteAlpha.300")(e)}}}),mZ=mi(e=>{const{theme:t}=e,{focusBorderColor:n,errorBorderColor:r}=Hb(e);return{field:{border:"2px solid",borderColor:"transparent",bg:J("gray.100","whiteAlpha.50")(e),_hover:{bg:J("gray.200","whiteAlpha.100")(e)},_readOnly:{boxShadow:"none !important",userSelect:"all"},_invalid:{borderColor:nt(t,r)},_focusVisible:{bg:"transparent",borderColor:nt(t,n)}},addon:{border:"2px solid",borderColor:"transparent",bg:J("gray.100","whiteAlpha.50")(e)}}}),hZ=mi(e=>{const{theme:t}=e,{focusBorderColor:n,errorBorderColor:r}=Hb(e);return{field:{borderBottom:"1px solid",borderColor:"inherit",borderRadius:"0",px:"0",bg:"transparent",_readOnly:{boxShadow:"none !important",userSelect:"all"},_invalid:{borderColor:nt(t,r),boxShadow:`0px 1px 0px 0px ${nt(t,r)}`},_focusVisible:{borderColor:nt(t,n),boxShadow:`0px 1px 0px 0px ${nt(t,n)}`}},addon:{borderBottom:"2px solid",borderColor:"inherit",borderRadius:"0",px:"0",bg:"transparent"}}}),gZ=mi({field:{bg:"transparent",px:"0",height:"auto"},addon:{bg:"transparent",px:"0",height:"auto"}}),vZ={outline:pZ,filled:mZ,flushed:hZ,unstyled:gZ},eo=uZ({baseStyle:dZ,sizes:fZ,variants:vZ,defaultProps:{size:"md",variant:"outline"}}),Nw,Dw,yZ={...eo,defaultProps:jc.defaultProps,variants:{outline:e=>{var t,n;return{...(n=(t=jc.variants)==null?void 0:t.outline(e))!=null?n:{}}},flushed:e=>{var t,n;return(n=(t=eo.variants)==null?void 0:t.flushed(e))!=null?n:{}},filled:e=>{var t,n;return(n=(t=eo.variants)==null?void 0:t.filled(e))!=null?n:{}},unstyled:(Dw=(Nw=eo.variants)==null?void 0:Nw.unstyled)!=null?Dw:{}},sizes:jc.sizes},bZ={defaultProps:{size:"lg"}},xZ=e=>({color:"blackAlpha.300",_dark:{bg:"whiteAlpha.300"},borderWidth:0,borderBottomWidth:0,padding:"1px",display:"inline-block",borderRadius:"3px",minW:"20px",textAlign:"center",mr:1,":last-child":{mr:0}}),SZ={defaultProps:{variant:"solid"},variants:{basic:{opacity:.6},solid:xZ}},{definePartsStyle:PT,defineMultiStyleConfig:wZ}=fe(g6.keys),kZ=PT(e=>({list:{borderWidth:1,borderColor:"blackAlpha.200",boxShadow:"lg",_dark:{borderWidth:0,borderColor:"whiteAlpha.300",boxShadow:"dark-lg"}},divider:{borderColor:"blackAlpha.200",_dark:{borderColor:"whiteAlpha.300"}},groupTitle:{mx:3}})),CZ=PT(()=>({item:{px:6},groupTitle:{color:"muted",px:3}})),jZ=wZ({baseStyle:kZ,variants:{dialog:CZ}}),{definePartsStyle:PZ,defineMultiStyleConfig:_Z}=fe(v6.keys),TZ=PZ(e=>({closeButton:{top:4,insetEnd:4}})),EZ=_Z({baseStyle:TZ}),{definePartsStyle:AZ,defineMultiStyleConfig:$Z}=fe(y6.keys),zZ=$Z({defaultProps:{colorScheme:"primary"},baseStyle:AZ(e=>{const{colorScheme:t}=e;return{track:{borderRadius:"md"},filledTrack:{bg:`${t}.500`}}})}),{definePartsStyle:RZ,defineMultiStyleConfig:IZ}=fe(b6.keys),MZ=IZ({defaultProps:{colorScheme:"primary"},baseStyle:RZ(e=>{const{colorScheme:t}=e;return{control:{_checked:{borderColor:`${t}.500`,bg:`${t}.500`,color:"white"}}}})}),{definePartsStyle:LZ,defineMultiStyleConfig:NZ}=fe(x6.keys),DZ=NZ({defaultProps:{colorScheme:"primary"},baseStyle:LZ(e=>{const{colorScheme:t}=e;return{filledTrack:{bg:`${t}.500`}}})}),{definePartsStyle:OZ,defineMultiStyleConfig:FZ}=fe(S6.keys),BZ=FZ({defaultProps:{colorScheme:"primary"},baseStyle:OZ(e=>{const{colorScheme:t}=e;return{track:{_checked:{bg:`${t}.500`}}}})}),Fd=wt("tooltip-bg"),Ow=wt("tooltip-fg"),WZ=wt("popper-arrow-bg"),VZ=e=>({display:"flex",[Fd.variable]:"colors.white",[Ow.variable]:"colors.blackAlpha.900",_dark:{[Fd.variable]:"colors.gray.700",[Ow.variable]:"colors.whiteAlpha.900"},px:"8px",py:"2px",bg:[Fd.reference],[WZ.variable]:[Fd.reference],borderRadius:"sm",fontWeight:"medium",fontSize:"xs",boxShadow:"md",maxW:"320px",zIndex:"tooltip",borderWidth:"1px"}),UZ={baseStyle:VZ},Bd=X("stepper-indicator-size"),ha=X("stepper-accent-color"),na=X("stepper-vertical-seperator-offset"),{defineMultiStyleConfig:HZ,definePartsStyle:to}=fe(["container","item","content","stepper","step","title","description","indicator","separator","icon","number"]),GZ=to(({colorScheme:e})=>({container:{display:"flex",flexDirection:"column",gap:4},item:{w:"full"},content:{"&[data-orientation=vertical]":{mt:2,ms:na.reference,borderLeftWidth:"1px",ps:6}},stepper:{gap:"2",[na.variable]:"10px",[ha.variable]:`colors.${e}.500`,_dark:{[ha.variable]:`colors.${e}.500`}},separator:{transitionProperty:"common",transitionDuration:"normal","&[data-orientation=horizontal]":{height:"1px"},"&[data-orientation=vertical]":{width:"1px"},".sui-steps__item .chakra-step &[data-orientation=vertical]":{display:"none"},".sui-steps__item &[data-orientation=vertical]":{position:"static",minH:4,height:"auto",ms:na.reference}},step:{"&[data-orientation=vertical]":{alignItems:"center"}}})),KZ=to(e=>({})),qZ=to(e=>({indicator:{"&[data-status=active]":{borderWidth:"0",bg:ha.reference,color:"chakra-inverse-text"},"&[data-status=complete]":{bg:ha.reference,color:"chakra-inverse-text"},"&[data-status=incomplete]":{borderWidth:"0",bg:"blackAlpha.200",_dark:{bg:"whiteAlpha.200"}}}})),XZ=to(e=>{const{theme:t,colorScheme:n}=e;return{stepper:{[ha.variable]:`colors.${n}.100`},indicator:{"&[data-status=active]":{borderWidth:"0",bg:ha.reference,color:`${n}.500`,_dark:{bg:Ut(`${n}.200`,.16)(t)}},"&[data-status=complete]":{bg:ha.reference,color:`${n}.500`,_dark:{bg:Ut(`${n}.200`,.24)(t),color:`${n}.200`}},"&[data-status=incomplete]":{borderWidth:"0",bg:"blackAlpha.200",color:"blackAlpha.700",_dark:{bg:"whiteAlpha.200",color:"whiteAlpha.600"}}}}}),YZ=HZ({defaultProps:{variant:"outline",colorScheme:"primary",size:"md"},baseStyle:GZ,variants:{outline:KZ,solid:qZ,subtle:XZ},sizes:{xs:to({stepper:{[Bd.variable]:"sizes.4",[na.variable]:"7px"}}),sm:to({stepper:{[Bd.variable]:"sizes.6",[na.variable]:"11px"}}),md:to({stepper:{[Bd.variable]:"sizes.7",[na.variable]:"14px"}}),lg:to({stepper:{[Bd.variable]:"sizes.8",[na.variable]:"16px"}})}}),{definePartsStyle:QZ,defineMultiStyleConfig:ZZ}=fe(yT.keys),JZ=QZ(e=>{const{colorScheme:t}=e;return{icon:{boxSize:[10,null,12],color:`${t}.500`,_dark:{color:`${t}.500`}}}}),eJ=ZZ({baseStyle:JZ}),{definePartsStyle:_T,defineMultiStyleConfig:TT}=fe(PQ.keys),tJ=_T(e=>{const{colorScheme:t}=e;return{bar:{bg:`${t}.500`,_dark:{bg:`${t}.300`}}}}),nJ=TT({defaultProps:{colorScheme:"teal"},baseStyle:tJ}),rJ=_T(e=>{const{colorScheme:t}=e;return{bar:{bg:`${t}.500`,_dark:{bg:`${t}.500`}}}}),iJ=TT({defaultProps:{colorScheme:"primary"},baseStyle:rJ}),{defineMultiStyleConfig:oJ}=fe(bT.keys),aJ=oJ({baseStyle:{label:{color:"muted",_dark:{color:"muted"}}}}),sJ={Alert:LQ,Badge:NQ,Button:HQ,Card:ZQ,Checkbox:nZ,CloseButton:rZ,Heading:bZ,Kbd:SZ,Menu:jZ,Modal:EZ,Progress:zZ,Radio:MZ,Slider:DZ,Switch:BZ,Stepper:YZ,Tooltip:UZ,Input:jc,PinInput:sZ,FormLabel:oZ,NumberInput:aZ,Select:cZ,Textarea:lZ,SuiEmptyState:eJ,SuiNProgress:iJ,SuiProperty:aJ,SuiSelect:yZ},{definePartsStyle:lJ,defineMultiStyleConfig:cJ}=fe(xQ.keys),uJ=lJ({container:{},inner:{},main:{}}),dJ=cJ({defaultProps:{variant:"fullscreen"},variants:{static:{},fullscreen:{container:{position:"absolute",inset:0}}},baseStyle:uJ}),{definePartsStyle:Gb,defineMultiStyleConfig:fJ}=fe(SQ.keys),pJ=Gb({container:{px:4,py:3},content:{display:"flex",flex:1,flexDirection:["column",null,"row"]},title:{fontWeight:"bold",lineHeight:6,marginEnd:2},description:{lineHeight:6,marginEnd:2},actions:{marginEnd:2},icon:{flexShrink:0,marginEnd:3,w:5,h:6}}),mJ=Gb(e=>{const{theme:t,colorScheme:n}=e;return{container:{bg:`${n}.100`,_dark:{bg:Ut(`${n}.200`,.16)(t)}},icon:{color:`${n}.500`,_dark:{color:`${n}.200`}}}}),hJ=Gb(e=>{const{colorScheme:t}=e;return{container:{bg:`${t}.500`,color:"white"}}}),gJ=fJ({baseStyle:pJ,variants:{subtle:mJ,solid:hJ},defaultProps:{variant:"subtle",colorScheme:"blue"}}),vJ={baseStyle:{fontSize:"xs","[role=tooltip] > &":{ms:1,_before:{content:'"•"',me:1,fontSize:"xs"}}}},{definePartsStyle:ET,defineMultiStyleConfig:yJ}=fe(yT.keys),bJ=ET(e=>{const{colorScheme:t}=e;return{icon:{boxSize:[10,null,12],color:`${t}.500`,_dark:{color:`${t}.200`}},title:{mt:8,fontWeight:"bold",fontSize:"xl"},actions:{mt:8}}}),xJ=ET(e=>({body:{display:"flex",flexDirection:"column",textAlign:"center",alignItems:"center"}})),SJ=yJ({baseStyle:bJ,variants:{centered:xJ}}),{definePartsStyle:wJ,defineMultiStyleConfig:kJ}=fe(h6.keys),CJ=wJ({container:{display:"grid",gridTemplateColumns:"1fr 2fr",alignItems:"flex-start",flexDirection:"row",justifyContent:"flex-end"}}),jJ=kJ({variants:{horizontal:CJ}}),PJ={defaultProps:{spacing:4}},_J={baseStyle:{fontWeight:"semibold",mb:4}},{defineMultiStyleConfig:TJ}=fe(wQ.keys),EJ=TJ({baseStyle:{container:{fontSize:"md"},group:{my:2,py:2},groupTitle:{py:2,fontWeight:"semibold",fontSize:"sm"},item:{display:"flex",alignItems:"center",textAlign:"start",flex:"0 0 auto",py:2},then:{mr:1,fontSize:"sm",color:"muted"}}}),{defineMultiStyleConfig:AJ,definePartsStyle:Mm}=fe(kQ.keys),$J=Mm({overlay:{p:4}}),zJ=Mm(()=>({overlay:{flex:1,height:"100%"}})),RJ=Mm(()=>({overlay:{position:"fixed",inset:0,zIndex:"modal",bg:"white",_dark:{bg:"gray.800"}}})),IJ=Mm(()=>({overlay:{position:"absolute",inset:0,bg:"whiteAlpha.300",_dark:{bg:"blackAlpha.300"}}})),MJ=AJ({defaultProps:{variant:"fill"},baseStyle:$J,variants:{fill:zJ,fullscreen:RJ,overlay:IJ}}),{definePartsStyle:LJ,defineMultiStyleConfig:NJ}=fe(CQ.keys),DJ=LJ(e=>({container:{"&:not(:last-of-type)":{mb:4}},title:{display:"flex",alignItems:"center",px:3,my:1,height:6,fontSize:"sm",fontWeight:"medium",color:"muted",transitionProperty:"common",transitionDuration:"normal","&.sui-collapse-toggle .chakra-icon":{opacity:0},"&.sui-collapse-toggle":{cursor:"pointer",borderRadius:"md",_hover:{bg:"blackAlpha.100","& .chakra-icon":{opacity:1},_dark:{bg:"whiteAlpha.200"}}},"[data-compact] &":{opacity:0}},content:{}})),OJ=NJ({baseStyle:DJ}),{definePartsStyle:Wu,defineMultiStyleConfig:FJ}=fe(jQ.keys),BJ=Wu(e=>({item:{my:"2px",color:"gray.900",minW:1,_dark:{color:"whiteAlpha.900"}},link:{display:"flex",rounded:"md",justifyContent:"flex-start",alignItems:"center",textDecoration:"none",transitionProperty:"common",transitionDuration:"normal",minW:1,_hover:{textDecoration:"none"},_focusVisible:{outline:"none",boxShadow:"outline"}},inner:{display:"flex",flex:1,w:"100%",alignItems:"center",minW:1},label:{whiteSpace:"nowrap",textOverflow:"ellipsis",overflow:"hidden"},icon:{display:"flex",transitionProperty:"common",transitionDuration:"normal",alignItems:"center",justifyContent:"center",width:"4",ml:"-0.25rem",color:"currentColor"}})),WJ=Wu(e=>{const t={bg:"blackAlpha.200",_dark:{bg:"whiteAlpha.200"}};return{link:{_hover:{bg:"blackAlpha.100",_dark:{bg:"whiteAlpha.100"}},_active:t,"&[aria-current=page]":t},icon:{opacity:.8,"[data-active] &":{opacity:1}}}}),VJ=Wu(e=>{const{colorScheme:t,theme:n}=e,r={bg:Ut(`${t}.500`,.3)(n),fontWeight:"semibold",color:`${t}.600`,_dark:{bg:Ut(`${t}.500`,.3)(n),color:`${t}.100`}};return{link:{_hover:{bg:"blackAlpha.100",_dark:{bg:"whiteAlpha.200"}},_active:r,"&[aria-current=page]":r}}}),UJ=Wu(e=>{const{colorScheme:t}=e,n={bg:`${t}.500`};return{link:{_hover:{bg:"blackAlpha.100",_dark:{bg:"whiteAlpha.200"}},_active:n,"&[aria-current=page]":n,color:"white"},icon:{color:"white"},label:{}}}),HJ=Wu(e=>{const{colorScheme:t}=e,n={_before:{content:'""',display:"block",position:"absolute",top:0,bottom:0,left:-3,width:"3px",bg:`${t}.500`}};return{item:{position:"relative"},link:{_hover:{color:"inherit",bg:"blackAlpha.100",_dark:{bg:"whiteAlpha.200"}},_active:n,"&[aria-current=page]":n},icon:{"[data-active] &":{color:"currentColor"}},label:{}}}),Fw,Bw,Ww,Vw,GJ=FJ({defaultProps:{size:"sm",colorScheme:"primary",variant:"neutral"},baseStyle:BJ,sizes:{xs:{link:(Fw=Jo.components.Button.sizes)==null?void 0:Fw.xs,icon:{me:1,fontSize:"xs"}},sm:{link:(Bw=Jo.components.Button.sizes)==null?void 0:Bw.sm,icon:{me:2,fontSize:"sm"}},md:{link:(Ww=Jo.components.Button.sizes)==null?void 0:Ww.md,icon:{me:2,fontSize:"md"}},lg:{link:(Vw=Jo.components.Button.sizes)==null?void 0:Vw.lg,icon:{me:3,fontSize:"lg"}}},variants:{neutral:WJ,subtle:VJ,solid:UJ,"left-accent":HJ}}),{definePartsStyle:Wi,defineMultiStyleConfig:KJ}=fe(_Q.keys),Uw=e=>({color:"gray.500",overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis",minW:0,_dark:{color:"whiteAlpha.600"}}),qJ=Wi(e=>({details:{minW:0},secondaryLabel:Uw(e),tertiaryLabel:Uw(e)})),XJ={"2xs":Wi({details:{ms:2},label:{fontSize:"xs"},secondaryLabel:{display:"none"},tertiaryLabel:{display:"none"}}),xs:Wi({details:{ms:2},label:{fontSize:"md"},secondaryLabel:{display:"none"},tertiaryLabel:{display:"none"}}),sm:Wi({details:{ms:2},label:{fontSize:"md"},secondaryLabel:{fontSize:"sm"},tertiaryLabel:{display:"none"}}),md:Wi({details:{ms:2},label:{fontSize:"md"},secondaryLabel:{fontSize:"sm"},tertiaryLabel:{display:"none"}}),lg:Wi({details:{ms:3},label:{fontSize:"md"},secondaryLabel:{fontSize:"sm"},tertiaryLabel:{fontSize:"sm"}}),xl:Wi({details:{ms:3},label:{fontSize:"xl"},secondaryLabel:{fontSize:"md"},tertiaryLabel:{fontSize:"md"}}),"2xl":Wi({details:{ms:4},label:{fontSize:"2xl"},secondaryLabel:{fontSize:"lg"},tertiaryLabel:{fontSize:"lg"}})},YJ=KJ({defaultProps:{size:"md"},baseStyle:qJ,sizes:XJ}),{defineMultiStyleConfig:QJ}=fe(bT.keys),ZJ=QJ({baseStyle:{label:{display:"flex",flexDirection:"row",minWidth:"100px",width:"30%",marginEnd:2,py:2,color:"gray.500",_dark:{color:"gray.400"}}}}),{defineMultiStyleConfig:JJ}=fe(TQ.keys),eee=JJ({baseStyle:{input:{pr:8}},sizes:{sm:{reset:{fontSize:"0.7em"}},lg:{input:{pr:10}}}}),{definePartsStyle:Kb,defineMultiStyleConfig:tee}=fe(EQ.keys),nee=Kb(e=>{const{colorScheme:t}=e;return{container:{bg:t?`${t}.500`:"white",display:"flex",flexDirection:"column",borderRightWidth:"1px",_dark:{bg:t?`${t}.500`:"gray.800"}},overlay:{bg:"blackAlpha.200"}}}),ree=Kb(e=>({container:{width:"280px",maxWidth:["100vw","320px"],minWidth:"220px",py:3,"&[data-collapsible]":{pt:14}},section:{px:3},toggleWrapper:{h:8,mb:4,display:"none","[data-collapsible] &":{display:"block"}}})),iee=Kb(e=>({container:{width:"14",py:3},section:{px:3},toggleWrapper:{display:"none"}})),oee=tee({defaultProps:{variant:"default"},baseStyle:nee,variants:{default:ree,compact:iee}}),{defineMultiStyleConfig:aee}=fe($Q.keys),see=aee({defaultProps:eo.defaultProps,baseStyle:eo.baseStyle,sizes:eo.sizes,variants:eo.variants}),{definePartsStyle:lee,defineMultiStyleConfig:cee}=fe(AQ.keys),uee=lee(e=>({item:{display:"flex",flexDirection:"row",alignItems:"center",justifyContent:"space-between",fontSize:"md"},button:{display:"flex",flexDirection:"row",alignItems:"center",justifyContent:"space-between",flex:1,cursor:"pointer",userSelect:"none",transitionProperty:"common",transitionDuration:"normal",borderRadius:"inherit",outline:"none",_hover:{bg:"blackAlpha.50",_dark:{bg:"whiteAlpha.50"}},_focusVisible:{boxShadow:"outline"},_focus:{bg:"blackAlpha.50",_dark:{bg:"whiteAlpha.50"}},_active:{bg:"blackAlpha.100",_dark:{bg:"whiteAlpha.100"}},_disabled:{cursor:"inherit",opacity:.5,_hover:{bg:"transparent",_dark:{bg:"transparent"}},_active:{bg:"transparent",_dark:{bg:"transparent"}}}},header:{display:"flex",flexDirection:"row",position:"sticky",fontSize:"md",fontWeight:"semibold",color:"muted"},icon:{display:"flex",flexShrink:0}})),dee=cee({defaultProps:{size:"md"},baseStyle:uee,sizes:{sm:{item:{py:1,px:1},header:{py:1,px:1},button:{py:1,px:1},cell:{px:1},icon:{px:1}},md:{item:{py:2,px:2},header:{py:2,px:2},button:{py:2,px:2},cell:{px:2},icon:{px:2}}}}),{definePartsStyle:qb,defineMultiStyleConfig:fee}=fe(zQ.keys),Hw=X("timeline-row-start","minmax(0,1fr)"),pee=X("timeline-row-end","minmax(0,1fr)"),Gw=X("timeline-col-start","minmax(0,1fr)"),Kw=X("timeline-col-end","minmax(0,1fr)"),mee=qb(e=>({container:{display:"flex",[Hw.variable]:"minmax(0,1fr)",[pee.variable]:"minmax(0,1fr)",[Gw.variable]:"auto",[Kw.variable]:"2fr",flexDirection:"column",justifyItems:"center"},item:{display:"grid",alignItems:"center",justifyItems:"start",gridTemplateRows:`${Hw.reference}`,gridTemplateColumns:`${Gw.reference} ${Kw.reference}`,position:"relative"},separator:{mx:1,minW:"24px",flexShrink:0,gridColumnStart:1,gap:2,height:"100%",_before:{content:'""',display:"block",flex:1,minH:"0.5em"},_after:{content:'""',display:"block",flex:1,minH:"0.5em"},"&:has(.sui-timeline__track:first-of-type):before":{display:"none"},"&:has(.sui-timeline__track:last-of-type):after":{display:"none"}},icon:{color:"gray.300",_dark:{color:"gray.600"}},dot:{width:"9px",height:"9px",bg:"currentColor",borderRadius:"full"},track:{bg:"gray.300",width:"1px",flex:1,minH:"0.5em",_dark:{bg:"gray.600"}},content:{px:"2",_first:{gridColumnStart:1},_last:{gridColumnStart:2,justifySelf:"start"}}})),hee=qb(e=>({icon:{}})),gee=qb(e=>({dot:{bg:"transparent",borderColor:"currentColor",borderWidth:"2px"}})),vee=fee({defaultProps:{variant:"solid",size:"sm"},baseStyle:mee,variants:{solid:hee,outline:gee},sizes:{sm:{icon:{minH:"8px",minW:"8px"}}}}),yee={baseStyle:{display:"inline-flex",alignItems:"center",justifyContent:"center"},variants:{outline:({colorScheme:e})=>({borderWidth:"1px",borderColor:e?`${e}.500`:"chakra-border-color",color:e?`${e}.500`:"currentColor"}),solid:({colorScheme:e="gray"})=>({bg:`${e}.500`,color:"white"})},sizes:{sm:{borderRadius:"sm",fontSize:"0.9em",w:6,h:6},md:{borderRadius:"md",fontSize:"1.1em",w:8,h:8},lg:{borderRadius:"md",fontSize:"1.3em",w:10,h:10},xl:{borderRadius:"md",fontSize:"1.5em",w:12,h:12}},defaultProps:{variant:"outline",size:"md"}},bee=Me("navbar").parts("container","inner","brand","content","item","link"),{defineMultiStyleConfig:xee,definePartsStyle:See}=fe(bee.keys),qw=X("navbar-bg"),Xw=X("navbar-text-color","currentColor"),P0=X("navbar-link-bg","transparent"),wee=["yellow","cyan"],kee=xee({baseStyle:See(({colorScheme:e})=>{let t="currentColor";return e&&(t=wee.includes(e)?"colors.black":"colors.white"),{container:{display:"flex",[qw.variable]:e?`colors.${e}.500`:"colors.chakra-body-bg",[Xw.variable]:t,bg:qw.reference,color:Xw.reference,zIndex:"overlay",width:"full",height:"auto",alignItems:"center",justifyContent:"center",data:{"& [data-menu-open=true]":{border:"none"}}},inner:{display:"flex",alignItems:"center",justifyContent:"space-between",width:"full",height:"var(--navbar-height)",px:{base:4,lg:6},gap:4,flexWrap:"nowrap"},toggle:{display:"flex",alignItems:"center",justifyContent:"center",width:6,height:"full",outline:"none",borderRadius:"sm"},brand:{display:"flex",alignItems:"center",justifyContent:"flex-start",height:"full",bg:"transparent",textDecoration:"none",color:"inherit",whiteSpace:"nowrap",boxSizing:"border-box"},content:{display:"flex",alignItems:"center",justifyContent:"flex-start",flex:1,listStyle:"none"},item:{display:"inline-flex",p:0},link:{bg:P0.reference,color:"current",display:"inline-flex",alignItems:"center",justifyContent:"center",textDecoration:"none",whiteSpace:"nowrap",boxSizing:"border-box",borderRadius:"md",transitionProperty:"common",transitionDuration:"normal",lineHeight:1,px:3,h:8,_focusVisible:{outline:"none",boxShadow:"outline"},_hover:{[P0.variable]:"colors.blackAlpha.100",textDecoration:"none",_dark:{[P0.variable]:"colors.whiteAlpha.200"}},_active:{fontWeight:"semibold"}}}})}),Cee={Form:jJ,SuiAppShell:dJ,SuiBanner:gJ,SuiCommand:vJ,SuiEmptyState:SJ,SuiFormLayout:PJ,SuiFormLegend:_J,SuiHotkeys:EJ,SuiStructuredList:dee,SuiLoadingOverlay:MJ,SuiNavGroup:OJ,SuiNavItem:GJ,SuiPersona:YJ,SuiProperty:ZJ,SuiNProgress:nJ,SuiSearchInput:eee,SuiSelect:see,SuiSidebar:oee,SuiTimeline:vee,SuiIconBadge:yee,SuiNavbar:kee},jee=mb({colors:{primary:Jo.colors.blue},semanticTokens:{colors:{"presence.online":"green.500","presence.offline":"gray.400","presence.busy":"orange.500","presence.dnd":"red.500","presence.away":"gray.400"}},components:Cee}),Pee={global:e=>({body:{WebkitFontSmoothing:"antialiased",TextRendering:"optimizelegibility"}})},_0={black:"#0e1012",gray:{50:"#f9fafa",100:"#f1f1f2",200:"#e7e7e8",300:"#d3d4d5",400:"#abadaf",500:"#7d7f83",600:"#52555a",700:"#33373d",800:"#1d2025",900:"#171a1d"},purple:{50:"#f9f6fd",100:"#e5daf8",200:"#d3bef4",300:"#b795ec",400:"#a379e7",500:"#8952e0",600:"#7434db",700:"#6023c0",800:"#4f1d9e",900:"#3b1676"},pink:{50:"#fdf5f9",100:"#f8d9e7",200:"#f3b9d3",300:"#eb8db8",400:"#e56ba2",500:"#dc3882",600:"#c4246c",700:"#a01d58",800:"#7d1745",900:"#5d1133"},red:{50:"#fdf6f5",100:"#f8d9d8",200:"#f1b8b4",300:"#e98d87",400:"#e4726c",500:"#dc4a41",600:"#d2140a",700:"#ac0900",800:"#930800",900:"#6d0600"},orange:{50:"#fdfaf6",100:"#f9ebdb",200:"#f1d4b1",300:"#e6b273",400:"#dc9239",500:"#c37b24",600:"#a5681e",700:"#835318",800:"#674113",900:"#553610"},yellow:{50:"#fffefb",100:"#fff8e9",200:"#feecbd",300:"#fddc87",400:"#fbc434",500:"#d2a01e",600:"#a88018",700:"#836413",800:"#624b0e",900:"#513e0c"},green:{50:"#f7fdfb",100:"#d2f2e7",200:"#9fe3cd",300:"#64d2ad",400:"#1dbd88",500:"#0ea371",600:"#0c875e",700:"#096949",800:"#07563c",900:"#064731"},teal:{50:"#f1fcfc",100:"#c0f1f4",200:"#84e4e9",300:"#2dd1da",400:"#22b2ba",500:"#1d979e",600:"#187b80",700:"#125f64",800:"#0f5053",900:"#0d4244"},cyan:{50:"#f4fbfd",100:"#d0eef7",200:"#bae7f3",300:"#a2deee",400:"#53c2e1",500:"#2ab4d9",600:"#24a2c4",700:"#1e86a2",800:"#196e85",900:"#135567"},blue:{50:"#f1f6fd",100:"#cde0f6",200:"#a8c8f0",300:"#7fafe8",400:"#5896e1",500:"#347fdb",600:"#236abf",700:"#1b5192",800:"#164278",900:"#123662"},indigo:{50:"#f8f7fc",100:"#e1ddf5",200:"#c8c0ec",300:"#a89de2",400:"#9789dc",500:"#7f6ed4",600:"#6a58c9",700:"#5546a1",800:"#483c88",900:"#342b62"}},zv={primary:_0.purple,secondary:_0.cyan,..._0},_ee={heading:"InterVariable, Inter, sans-serif",body:"InterVariable, Inter, sans-serif"},Tee={"3xs":"0.45rem","2xs":"0.625rem",xs:"0.75rem",sm:"0.8125rem",md:"0.875rem",lg:"1rem",xl:"1.125rem","2xl":"1.25rem","3xl":"1.5rem","4xl":"1.875rem","5xl":"2.25rem","6xl":"3rem","7xl":"3.75rem","8xl":"4.5rem","9xl":"6rem"},Eee={h1:{fontSize:["5xl","6xl","7xl"],fontWeight:"extrabold",lineHeight:"1.2",letterSpacing:"-2%"},h2:{fontSize:["3xl","4xl","5xl"],fontWeight:"extrabold",lineHeight:"1.1",letterSpacing:"-1%"},h3:{fontSize:["lg","xl"],fontWeight:"extrabold",lineHeight:"1.1",letterSpacing:"-1%"},subtitle:{fontSize:["lg",null,"2xl"],fontWeight:"normal"}},Aee={container:{sm:"30em",md:"48em",lg:"62em",xl:"80em","2xl":"96em"}},$ee=Aee,zee={outline:`0 0 0 2px ${Ut(zv.primary[500],.6)({colors:zv})}`},Ree=zee,Iee={colors:{"chakra-border-color":{_light:"gray.200",_dark:"whiteAlpha.200"},muted:{default:"gray.500",_dark:"gray.400"},neutral:{default:"black",_dark:"white"},"neutral-fg":{default:"white",_dark:"black"}}},Mee={colors:zv,fonts:_ee,fontSizes:Tee,textStyles:Eee,sizes:$ee,shadows:Ree,semanticTokens:Iee},AT=mb({...Mee,styles:Pee,components:sJ},jee);function $T(e,t){return Array.from((e==null?void 0:e.querySelectorAll(t))??[])}function Lee(e,t){return e.find(n=>n.id===t)}function zT(e,t){const n=Lee(e,t);return n?e.indexOf(n):-1}function Nee(e,t,n=!0){let r=zT(e,t);return r=n?(r+1)%e.length:Math.min(r+1,e.length-1),e[r]}function Dee(e,t,n=!0){let r=zT(e,t);return r===-1?n?e[e.length-1]:null:(r=n?(r-1+e.length)%e.length:Math.max(0,r-1),e[r])}const no=e=>(e==null?void 0:e.ownerDocument)??document,bo=e=>e&&"window"in e&&e.window===e?e:no(e).defaultView||window;function Oee(e){return e!==null&&typeof e=="object"&&"nodeType"in e&&typeof e.nodeType=="number"}function Fee(e){return Oee(e)&&e.nodeType===Node.DOCUMENT_FRAGMENT_NODE&&"host"in e}const Bee=typeof Element<"u"&&"checkVisibility"in Element.prototype;function Wee(e){const t=bo(e);if(!(e instanceof t.HTMLElement)&&!(e instanceof t.SVGElement))return!1;let{display:n,visibility:r}=e.style,i=n!=="none"&&r!=="hidden"&&r!=="collapse";if(i){const{getComputedStyle:o}=bo(e);let{display:a,visibility:l}=o(e);i=a!=="none"&&l!=="hidden"&&l!=="collapse"}return i}function Vee(e,t){return!e.hasAttribute("hidden")&&!e.hasAttribute("data-react-aria-prevent-focus")&&(e.nodeName==="DETAILS"&&t&&t.nodeName!=="SUMMARY"?e.hasAttribute("open"):!0)}function RT(e,t){return Bee?e.checkVisibility({visibilityProperty:!0})&&!e.closest("[data-react-aria-prevent-focus]"):e.nodeName!=="#comment"&&Wee(e)&&Vee(e,t)&&(!e.parentElement||RT(e.parentElement,e))}const IT=["input:not([disabled]):not([type=hidden])","select:not([disabled])","textarea:not([disabled])","button:not([disabled])","a[href]","area[href]","summary","iframe","object","embed","audio[controls]","video[controls]",'[contenteditable]:not([contenteditable^="false"])',"permission"],Uee=IT.join(":not([hidden]),")+",[tabindex]:not([disabled]):not([hidden])";IT.push('[tabindex]:not([tabindex="-1"]):not([disabled])');function Hee(e,t){return e.matches(Uee)&&!Gee(e)&&((t==null?void 0:t.skipVisibilityCheck)||RT(e))}function Gee(e){let t=e;for(;t!=null;){if(t instanceof bo(t).HTMLElement&&t.inert)return!0;t=t.parentElement}return!1}function MT(...e){return(...t)=>{for(let n of e)typeof n=="function"&&n(...t)}}const Xb=typeof document<"u"?Xt.useLayoutEffect:()=>{};let Rv=new Map;typeof FinalizationRegistry<"u"&&new FinalizationRegistry(e=>{Rv.delete(e)});function Kee(e,t){if(e===t)return e;let n=Rv.get(e);if(n)return n.forEach(i=>i.current=t),t;let r=Rv.get(t);return r?(r.forEach(i=>i.current=e),e):t}function qee(...e){return e.length===1&&e[0]?e[0]:t=>{let n=!1;const r=e.map(i=>{const o=Yw(i,t);return n||(n=typeof o=="function"),o});if(n)return()=>{r.forEach((i,o)=>{typeof i=="function"?i():Yw(e[o],null)})}}}function Yw(e,t){if(typeof e=="function")return e(t);e!=null&&(e.current=t)}function LT(e){var t,n,r="";if(typeof e=="string"||typeof e=="number")r+=e;else if(typeof e=="object")if(Array.isArray(e)){var i=e.length;for(t=0;t<i;t++)e[t]&&(n=LT(e[t]))&&(r&&(r+=" "),r+=n)}else for(n in e)e[n]&&(r&&(r+=" "),r+=n);return r}function Xee(){for(var e,t,n=0,r="",i=arguments.length;n<i;n++)(e=arguments[n])&&(t=LT(e))&&(r&&(r+=" "),r+=t);return r}function Yb(...e){let t={...e[0]};for(let n=1;n<e.length;n++){let r=e[n];for(let i in r){let o=t[i],a=r[i];typeof o=="function"&&typeof a=="function"&&i[0]==="o"&&i[1]==="n"&&i.charCodeAt(2)>=65&&i.charCodeAt(2)<=90?t[i]=MT(o,a):(i==="className"||i==="UNSAFE_className")&&typeof o=="string"&&typeof a=="string"?t[i]=Xee(o,a):i==="id"&&o&&a?t.id=Kee(o,a):i==="ref"&&o&&a?t.ref=qee(o,a):t[i]=a!==void 0?a:o}}return t}function du(e){if(Yee())e.focus({preventScroll:!0});else{let t=Qee(e);e.focus(),Zee(t)}}let Wd=null;function Yee(){if(Wd==null){Wd=!1;try{document.createElement("div").focus({get preventScroll(){return Wd=!0,!0}})}catch{}}return Wd}function Qee(e){let t=e.parentNode,n=[],r=document.scrollingElement||document.documentElement;for(;t instanceof HTMLElement&&t!==r;)(t.offsetHeight<t.scrollHeight||t.offsetWidth<t.scrollWidth)&&n.push({element:t,scrollTop:t.scrollTop,scrollLeft:t.scrollLeft}),t=t.parentNode;return r instanceof HTMLElement&&n.push({element:r,scrollTop:r.scrollTop,scrollLeft:r.scrollLeft}),n}function Zee(e){for(let{element:t,scrollTop:n,scrollLeft:r}of e)t.scrollTop=n,t.scrollLeft=r}let Jee=!1;function NT(){return Jee}function Mr(e,t){if(!NT())return t&&e?e.contains(t):!1;if(!e||!t)return!1;let n=t;for(;n!==null;){if(n===e)return!0;n.tagName==="SLOT"&&n.assignedSlot?n=n.assignedSlot.parentNode:Fee(n)?n=n.host:n=n.parentNode}return!1}function Bt(e){if(NT()&&e.target instanceof Element&&e.target.shadowRoot){if("composedPath"in e)return e.composedPath()[0]??null;if("composedPath"in e.nativeEvent)return e.nativeEvent.composedPath()[0]??null}return e.target}function ete(e){let t=e;return t.nativeEvent=e,t.isDefaultPrevented=()=>t.defaultPrevented,t.isPropagationStopped=()=>t.cancelBubble,t.persist=()=>{},t}function tte(e,t){Object.defineProperty(e,"target",{value:t}),Object.defineProperty(e,"currentTarget",{value:t})}function nte(e){for(;e&&!Hee(e,{skipVisibilityCheck:!0});)e=e.parentElement;let t=bo(e),n=t.document.activeElement;if(!n||n===e)return;let r=!1,i=d=>{(Bt(d)===n||r)&&d.stopImmediatePropagation()},o=d=>{(Bt(d)===n||r)&&(d.stopImmediatePropagation(),!e&&!r&&(r=!0,du(n),c()))},a=d=>{(Bt(d)===e||r)&&d.stopImmediatePropagation()},l=d=>{(Bt(d)===e||r)&&(d.stopImmediatePropagation(),r||(r=!0,du(n),c()))};t.addEventListener("blur",i,!0),t.addEventListener("focusout",o,!0),t.addEventListener("focusin",l,!0),t.addEventListener("focus",a,!0);let c=()=>{cancelAnimationFrame(u),t.removeEventListener("blur",i,!0),t.removeEventListener("focusout",o,!0),t.removeEventListener("focusin",l,!0),t.removeEventListener("focus",a,!0),r=!1},u=requestAnimationFrame(c);return c}function Lm(e){var n;if(typeof window>"u"||window.navigator==null)return!1;let t=(n=window.navigator.userAgentData)==null?void 0:n.brands;return Array.isArray(t)&&t.some(r=>e.test(r.brand))||e.test(window.navigator.userAgent)}function Qb(e){var t;return typeof window<"u"&&window.navigator!=null?e.test(((t=window.navigator.userAgentData)==null?void 0:t.platform)||window.navigator.platform):!1}function $o(e){let t=null;return()=>(t==null&&(t=e()),t)}const $p=$o(function(){return Qb(/^Mac/i)}),rte=$o(function(){return Qb(/^iPhone/i)}),DT=$o(function(){return Qb(/^iPad/i)||$p()&&navigator.maxTouchPoints>1}),OT=$o(function(){return rte()||DT()}),ite=$o(function(){return Lm(/AppleWebKit/i)&&!ote()}),ote=$o(function(){return Lm(/Chrome/i)}),FT=$o(function(){return Lm(/Android/i)}),ate=$o(function(){return Lm(/Firefox/i)});let Xi=new Map,Iv=new Set;function Qw(){if(typeof window>"u")return;function e(r){return"propertyName"in r}let t=r=>{let i=Bt(r);if(!e(r)||!i)return;let o=Xi.get(i);o||(o=new Set,Xi.set(i,o),i.addEventListener("transitioncancel",n,{once:!0})),o.add(r.propertyName)},n=r=>{let i=Bt(r);if(!e(r)||!i)return;let o=Xi.get(i);if(o&&(o.delete(r.propertyName),o.size===0&&(i.removeEventListener("transitioncancel",n),Xi.delete(i)),Xi.size===0)){for(let a of Iv)a();Iv.clear()}};document.body.addEventListener("transitionrun",t),document.body.addEventListener("transitionend",n)}typeof document<"u"&&(document.readyState!=="loading"?Qw():document.addEventListener("DOMContentLoaded",Qw));function ste(){for(const[e]of Xi)"isConnected"in e&&!e.isConnected&&Xi.delete(e)}function lte(e){requestAnimationFrame(()=>{ste(),Xi.size===0?e():Iv.add(e)})}let ws="default",Mv="",If=new WeakMap;function cte(e){if(OT()){if(ws==="default"){const t=no(e);Mv=t.documentElement.style.webkitUserSelect,t.documentElement.style.webkitUserSelect="none"}ws="disabled"}else if(e instanceof HTMLElement||e instanceof SVGElement){let t="userSelect"in e.style?"userSelect":"webkitUserSelect";If.set(e,e.style[t]),e.style[t]="none"}}function Zw(e){if(OT()){if(ws!=="disabled")return;ws="restoring",setTimeout(()=>{lte(()=>{if(ws==="restoring"){const t=no(e);t.documentElement.style.webkitUserSelect==="none"&&(t.documentElement.style.webkitUserSelect=Mv||""),Mv="",ws="default"}})},300)}else if((e instanceof HTMLElement||e instanceof SVGElement)&&e&&If.has(e)){let t=If.get(e),n="userSelect"in e.style?"userSelect":"webkitUserSelect";e.style[n]==="none"&&(e.style[n]=t),e.getAttribute("style")===""&&e.removeAttribute("style"),If.delete(e)}}function Jw(e){let t=e==null?void 0:e.defaultView;return(t==null?void 0:t.__webpack_nonce__)||globalThis.__webpack_nonce__||void 0}let T0=new WeakMap;function ute(e){let t=e??(typeof document<"u"?document:void 0);if(!t)return Jw(t);if(T0.has(t))return T0.get(t);let n=t.querySelector('meta[property="csp-nonce"]'),r=n&&n instanceof bo(n).HTMLMetaElement&&(n.nonce||n.content)||Jw(t)||void 0;return r!==void 0&&T0.set(t,r),r}function dte(e){return e.pointerType===""&&e.isTrusted?!0:FT()&&e.pointerType?e.type==="click"&&e.buttons===1:e.detail===0&&!e.pointerType}function fte(e){return!FT()&&e.width===0&&e.height===0||e.width===1&&e.height===1&&e.pressure===0&&e.detail===0&&e.pointerType==="mouse"}function fu(e,t,n=!0){var c,u;let{metaKey:r,ctrlKey:i,altKey:o,shiftKey:a}=t;ate()&&((u=(c=window.event)==null?void 0:c.type)!=null&&u.startsWith("key"))&&e.target==="_blank"&&($p()?r=!0:i=!0);let l=ite()&&$p()&&!DT()?new KeyboardEvent("keydown",{keyIdentifier:"Enter",metaKey:r,ctrlKey:i,altKey:o,shiftKey:a}):new MouseEvent("click",{metaKey:r,ctrlKey:i,altKey:o,shiftKey:a,detail:1,bubbles:!0,cancelable:!0});fu.isOpening=n,du(e),e.dispatchEvent(l),fu.isOpening=!1}fu.isOpening=!1;const BT=Xt.createContext({register:()=>{}});BT.displayName="PressResponderContext";const pte=Xt.useInsertionEffect??Xb;function Mf(e){const t=m.useRef(null);return pte(()=>{t.current=e},[e]),m.useCallback((...n)=>{const r=t.current;return r==null?void 0:r(...n)},[])}function WT(){let e=m.useRef(new Map),t=m.useCallback((i,o,a,l)=>{let c=l!=null&&l.once?(...u)=>{e.current.delete(a),a(...u)}:a;e.current.set(a,{type:o,eventTarget:i,fn:c,options:l}),i.addEventListener(o,c,l)},[]),n=m.useCallback((i,o,a,l)=>{var u;let c=((u=e.current.get(a))==null?void 0:u.fn)||a;i.removeEventListener(o,c,l),e.current.delete(a)},[]),r=m.useCallback(()=>{e.current.forEach((i,o)=>{n(i.eventTarget,i.type,o,i.options)})},[n]);return m.useEffect(()=>r,[r]),{addGlobalListener:t,removeGlobalListener:n,removeAllGlobalListeners:r}}function mte(e,t){Xb(()=>{if(e&&e.ref&&t)return e.ref.current=t.current,()=>{e.ref&&(e.ref.current=null)}})}function hte(e){let t=m.useContext(BT);if(t){let{register:n,ref:r,...i}=t;e=Yb(i,e),n()}return mte(t,e.ref),e}var Fs;class Vd{constructor(t,n,r,i){Gx(this,Fs);ch(this,Fs,!0);let o=(i==null?void 0:i.target)??r.currentTarget;const a=o==null?void 0:o.getBoundingClientRect();let l,c=0,u,d=null;r.clientX!=null&&r.clientY!=null&&(u=r.clientX,d=r.clientY),a&&(u!=null&&d!=null?(l=u-a.left,c=d-a.top):(l=a.width/2,c=a.height/2)),this.type=t,this.pointerType=n,this.target=r.currentTarget,this.shiftKey=r.shiftKey,this.metaKey=r.metaKey,this.ctrlKey=r.ctrlKey,this.altKey=r.altKey,this.x=l,this.y=c,this.key=r.key}continuePropagation(){ch(this,Fs,!1)}get shouldStopPropagation(){return Hx(this,Fs)}}Fs=new WeakMap;const e3=Symbol("linkClicked"),t3="react-aria-pressable-style",n3="data-react-aria-pressable";function gte(e){let{onPress:t,onPressChange:n,onPressStart:r,onPressEnd:i,onPressUp:o,onClick:a,isDisabled:l,isPressed:c,preventFocusOnPress:u,shouldCancelOnPointerExit:d,allowTextSelectionOnPress:f,ref:p,...h}=hte(e),[v,b]=m.useState(!1),x=m.useRef({isPressed:!1,ignoreEmulatedMouseEvents:!1,didFirePressStart:!1,isTriggeringEvent:!1,activePointerId:null,target:null,isOverTarget:!1,pointerType:null,disposables:[]}),{addGlobalListener:y,removeAllGlobalListeners:g}=WT(),S=m.useCallback((I,L)=>{let N=x.current;if(l||N.didFirePressStart)return!1;let R=!0;if(N.isTriggeringEvent=!0,r){let F=new Vd("pressstart",L,I);r(F),R=F.shouldStopPropagation}return n&&n(!0),N.isTriggeringEvent=!1,N.didFirePressStart=!0,b(!0),R},[l,r,n]),w=m.useCallback((I,L,N=!0)=>{let R=x.current;if(!R.didFirePressStart)return!1;R.didFirePressStart=!1,R.isTriggeringEvent=!0;let F=!0;if(i){let M=new Vd("pressend",L,I);i(M),F=M.shouldStopPropagation}if(n&&n(!1),b(!1),t&&N&&!l){let M=new Vd("press",L,I);t(M),F&&(F=M.shouldStopPropagation)}return R.isTriggeringEvent=!1,F},[l,i,n,t]),k=Mf(w),P=m.useCallback((I,L)=>{let N=x.current;if(l)return!1;if(o){N.isTriggeringEvent=!0;let R=new Vd("pressup",L,I);return o(R),N.isTriggeringEvent=!1,R.shouldStopPropagation}return!0},[l,o]),_=Mf(P),j=m.useCallback(I=>{let L=x.current;if(L.isPressed&&L.target){L.didFirePressStart&&L.pointerType!=null&&w(Oo(L.target,I),L.pointerType,!1),L.isPressed=!1,L.isOverTarget=!1,L.activePointerId=null,L.pointerType=null,g(),f||Zw(L.target);for(let N of L.disposables)N();L.disposables=[]}},[f,g,w]),z=Mf(j);m.useEffect(()=>{l&&x.current.isPressed&&z({currentTarget:x.current.target,shiftKey:!1,ctrlKey:!1,metaKey:!1,altKey:!1})},[l]);let $=m.useCallback(I=>{d&&j(I)},[d,j]),W=m.useCallback(I=>{l||a==null||a(I)},[l,a]),Y=m.useCallback((I,L)=>{if(!l&&a){let N=new MouseEvent("click",I);tte(N,L),a(ete(N))}},[l,a]),ee=m.useMemo(()=>{let I=x.current,L={onKeyDown(R){var F;if(E0(R.nativeEvent,R.currentTarget)&&Mr(R.currentTarget,Bt(R))){r3(Bt(R),R.key)&&R.preventDefault();let M=!0;!I.isPressed&&!R.repeat&&(I.target=R.currentTarget,I.isPressed=!0,I.pointerType="keyboard",M=S(R,"keyboard"));let G=R.currentTarget,Z=ae=>{E0(ae,G)&&!ae.repeat&&Mr(G,Bt(ae))&&I.target&&_(Oo(I.target,ae),"keyboard")};y(no(R.currentTarget),"keyup",MT(Z,N),!0),M&&R.stopPropagation(),R.metaKey&&$p()&&((F=I.metaKeyEvents)==null||F.set(R.key,R.nativeEvent))}else R.key==="Meta"&&(I.metaKeyEvents=new Map)},onClick(R){if(!(R&&!Mr(R.currentTarget,Bt(R)))&&R&&R.button===0&&!I.isTriggeringEvent&&!fu.isOpening){let F=!0;if(l&&R.preventDefault(),!I.ignoreEmulatedMouseEvents&&!I.isPressed&&(I.pointerType==="virtual"||dte(R.nativeEvent))){let M=S(R,"virtual"),G=_(R,"virtual"),Z=k(R,"virtual");W(R),F=M&&G&&Z}else if(I.isPressed&&I.pointerType!=="keyboard"){let M=I.pointerType||R.nativeEvent.pointerType||"virtual",G=_(Oo(R.currentTarget,R),M),Z=k(Oo(R.currentTarget,R),M,!0);F=G&&Z,I.isOverTarget=!1,W(R),z(R)}I.ignoreEmulatedMouseEvents=!1,F&&R.stopPropagation()}}},N=R=>{var F,M,G;if(I.isPressed&&I.target&&E0(R,I.target)){r3(Bt(R),R.key)&&R.preventDefault();let Z=Bt(R),ae=Mr(I.target,Z);k(Oo(I.target,R),"keyboard",ae),ae&&Y(R,I.target),g(),R.key!=="Enter"&&Zb(I.target)&&Mr(I.target,Z)&&!R[e3]&&(R[e3]=!0,fu(I.target,R,!1)),I.isPressed=!1,(F=I.metaKeyEvents)==null||F.delete(R.key)}else if(R.key==="Meta"&&((M=I.metaKeyEvents)!=null&&M.size)){let Z=I.metaKeyEvents;I.metaKeyEvents=void 0;for(let ae of Z.values())(G=I.target)==null||G.dispatchEvent(new KeyboardEvent("keyup",ae))}};if(typeof PointerEvent<"u"){L.onPointerDown=M=>{if(M.button!==0||!Mr(M.currentTarget,Bt(M)))return;if(fte(M.nativeEvent)){I.pointerType="virtual";return}I.pointerType=M.pointerType;let G=!0;if(!I.isPressed){I.isPressed=!0,I.isOverTarget=!0,I.activePointerId=M.pointerId,I.target=M.currentTarget,f||cte(I.target),G=S(M,I.pointerType);let Z=Bt(M);"releasePointerCapture"in Z&&("hasPointerCapture"in Z?Z.hasPointerCapture(M.pointerId)&&Z.releasePointerCapture(M.pointerId):Z.releasePointerCapture(M.pointerId)),y(no(M.currentTarget),"pointerup",R,!1),y(no(M.currentTarget),"pointercancel",F,!1)}G&&M.stopPropagation()},L.onMouseDown=M=>{if(Mr(M.currentTarget,Bt(M))&&M.button===0){if(u){let G=nte(M.target);G&&I.disposables.push(G)}M.stopPropagation()}},L.onPointerUp=M=>{!Mr(M.currentTarget,Bt(M))||I.pointerType==="virtual"||M.button===0&&!I.isPressed&&_(M,I.pointerType||M.pointerType)},L.onPointerEnter=M=>{M.pointerId===I.activePointerId&&I.target&&!I.isOverTarget&&I.pointerType!=null&&(I.isOverTarget=!0,S(Oo(I.target,M),I.pointerType))},L.onPointerLeave=M=>{M.pointerId===I.activePointerId&&I.target&&I.isOverTarget&&I.pointerType!=null&&(I.isOverTarget=!1,k(Oo(I.target,M),I.pointerType,!1),$(M))};let R=M=>{if(M.pointerId===I.activePointerId&&I.isPressed&&M.button===0&&I.target){if(Mr(I.target,Bt(M))&&I.pointerType!=null){let G=!1,Z=setTimeout(()=>{I.isPressed&&I.target instanceof HTMLElement&&(G?z(M):(du(I.target),I.target.click()))},80);y(M.currentTarget,"click",()=>G=!0,!0),I.disposables.push(()=>clearTimeout(Z))}else z(M);I.isOverTarget=!1}},F=M=>{z(M)};L.onDragStart=M=>{Mr(M.currentTarget,Bt(M))&&z(M)}}return L},[y,l,u,g,f,$,S,W,Y]);return m.useEffect(()=>{if(!p)return;const I=no(p.current);if(!I||!I.head||I.getElementById(t3))return;const L=I.createElement("style");L.id=t3;let N=ute(I);N&&(L.nonce=N),L.textContent=`
|
||
@layer {
|
||
[${n3}] {
|
||
touch-action: pan-x pan-y pinch-zoom;
|
||
}
|
||
}
|
||
`.trim(),I.head.prepend(L)},[p]),m.useEffect(()=>{let I=x.current;return()=>{f||Zw(I.target??void 0);for(let L of I.disposables)L();I.disposables=[]}},[f]),{isPressed:c||v,pressProps:Yb(h,ee,{[n3]:!0})}}function Zb(e){return e.tagName==="A"&&e.hasAttribute("href")}function E0(e,t){const{key:n,code:r}=e,i=t,o=i.getAttribute("role");return(n==="Enter"||n===" "||n==="Spacebar"||r==="Space")&&!(i instanceof bo(i).HTMLInputElement&&!VT(i,n)||i instanceof bo(i).HTMLTextAreaElement||i.isContentEditable)&&!((o==="link"||!o&&Zb(i))&&n!=="Enter")}function Oo(e,t){let n=t.clientX,r=t.clientY;return{currentTarget:e,shiftKey:t.shiftKey,ctrlKey:t.ctrlKey,metaKey:t.metaKey,altKey:t.altKey,clientX:n,clientY:r,key:t.key}}function vte(e){return e instanceof HTMLInputElement?!1:e instanceof HTMLButtonElement?e.type!=="submit"&&e.type!=="reset":!Zb(e)}function r3(e,t){return e instanceof HTMLInputElement?!VT(e,t):vte(e)}const yte=new Set(["checkbox","radio","range","color","file","image","button","submit","reset"]);function VT(e,t){return e.type==="checkbox"||e.type==="radio"?t===" ":yte.has(e.type)}let bte=0;const A0=new Map;function xte(e){let[t,n]=m.useState();return Xb(()=>{if(!e)return;let r=A0.get(e);if(r)n(r.element.id);else{let i=`react-aria-description-${bte++}`;n(i);let o=document.createElement("div");o.id=i,o.style.display="none",o.textContent=e,document.body.appendChild(o),r={refCount:0,element:o},A0.set(e,r)}return r.refCount++,()=>{r&&--r.refCount===0&&(r.element.remove(),A0.delete(e))}},[e]),{"aria-describedby":e?t:void 0}}const Ste=500;function wte(e){let{isDisabled:t,onLongPressStart:n,onLongPressEnd:r,onLongPress:i,threshold:o=Ste,accessibilityDescription:a}=e;const l=m.useRef(void 0);let{addGlobalListener:c,removeGlobalListener:u}=WT(),{pressProps:d}=gte({isDisabled:t,onPressStart(p){if(p.continuePropagation(),(p.pointerType==="mouse"||p.pointerType==="touch")&&(n&&n({...p,type:"longpressstart"}),l.current=setTimeout(()=>{p.target.dispatchEvent(new PointerEvent("pointercancel",{bubbles:!0})),no(p.target).activeElement!==p.target&&du(p.target),i&&i({...p,type:"longpress"}),l.current=void 0},o),p.pointerType==="touch")){let h=b=>{b.preventDefault()},v=bo(p.target);c(p.target,"contextmenu",h,{once:!0}),c(v,"pointerup",()=>{setTimeout(()=>{u(p.target,"contextmenu",h)},30)},{once:!0})}},onPressEnd(p){l.current&&clearTimeout(l.current),r&&(p.pointerType==="mouse"||p.pointerType==="touch")&&r({...p,type:"longpressend"})}}),f=xte(i&&!t?a:void 0);return{longPressProps:Yb(d,f)}}function kte(){return typeof window.ResizeObserver<"u"}function Cte(e){const{ref:t,box:n,onResize:r}=e;let i=Mf(r);m.useEffect(()=>{let o=t==null?void 0:t.current;if(o)if(kte()){const a=new window.ResizeObserver(l=>{l.length&&i()});return a.observe(o,{box:n}),()=>{o&&a.unobserve(o)}}else return window.addEventListener("resize",i,!1),()=>{window.removeEventListener("resize",i,!1)}},[t,n])}function jte(e,t){return m.Children.toArray(e).find(n=>n.type===t)}function Pte(e,t){return m.Children.toArray(e).filter(n=>Array.isArray(t)?t.some(r=>r===n.type):n.type===t)}var _te=(e,t)=>Array.isArray(e)?e:typeof e=="object"?t==null?void 0:t(e):e!=null?[e]:[],i3=(e,t)=>{var n;const r=zi(),i=_te(e,(n=r.__breakpoints)==null?void 0:n.toArrayValue);return jp(i,t)},[xue,Tte]=$r("SuiEmptyState"),Ete=B((e,t)=>{var n;const r=Tte();return s.jsx(At,{ref:t,role:"presentation",...e,boxSize:(n=e.boxSize)!=null?n:10,sx:{...r.icon,...e.sx},className:V("sui-empty-state__icon",e.className)})});Ete.displayName="EmptyStateIcon";var Jb=m.createContext({});function Ate(e){const{theme:t,linkComponent:n,onError:r,children:i,...o}=e,a={linkComponent:n,onError:r};return s.jsx(Jb.Provider,{value:a,children:s.jsx(HH,{...o,theme:t||AT,children:i})})}var $te=()=>m.useContext(Jb),zte=e=>s.jsx(D.a,{...e});function ex(){const e=$te();return e!=null&&e.linkComponent?e.linkComponent:zte}var Rte=class extends m.Component{constructor(e){super(e),this.onError=(t,n)=>{var r,i,o,a;(i=(r=this.props).onError)==null||i.call(r,t,n),(a=(o=this.context).onError)==null||a.call(o,t,n)},this.state={error:null}}static getDerivedStateFromError(e){return{error:e}}componentDidCatch(e,t){this.onError(e,t)}render(){return this.state.error?this.props.fallback||s.jsx("h1",{children:"Something went wrong."}):this.props.children}};Rte.contextType=Jb;var UT=(e="lg")=>e?{base:!0,[e]:!1}:{base:!1},[Ite,Mte]=_e({strict:!1,errorMessage:"AppShell context not available."}),Lte=e=>{const t=wu(),n=UT(e.toggleBreakpoint),r=jp(n,{fallback:e.toggleBreakpoint||"lg"});return{isSidebarOpen:t.isOpen,closeSidebar:t.onClose,openSidebar:t.onOpen,toggleSidebar:t.onToggle,isMobile:r}},[Nte]=$r("SuiAppShell"),Dte=B((e,t)=>{const n=Qe("SuiAppShell",e),{navbar:r,sidebar:i,aside:o,footer:a,children:l,mainRef:c,...u}=$e(e),d={flexDirection:"column",...n.container},f={flex:1,minHeight:0,minWidth:0,...n.inner},p={flex:1,flexDirection:"column",minWidth:0,...n.main},h=m.isValidElement(i)&&i.type.id==="Sidebar",v=Lte({toggleBreakpoint:h?i==null?void 0:i.props.toggleBreakpoint:void 0});return s.jsx(Ite,{value:v,children:s.jsx(Nte,{value:n,children:s.jsxs(St,{ref:t,...u,sx:d,className:V("sui-app-shell",e.className),children:[r,s.jsxs(St,{sx:f,className:"saas-app-shell__inner",children:[i,s.jsx(St,{ref:c,sx:p,className:"saas-app-shell__main",children:l}),o]}),a]})})})});Dte.displayName="AppShell";function Ote(e){return s.jsx(At,{viewBox:"0 0 24 24",...e,children:s.jsx("path",{fill:"currentColor",d:"M12,0A12,12,0,1,0,24,12,12.014,12.014,0,0,0,12,0Zm6.927,8.2-6.845,9.289a1.011,1.011,0,0,1-1.43.188L5.764,13.769a1,1,0,1,1,1.25-1.562l4.076,3.261,6.227-8.451A1,1,0,1,1,18.927,8.2Z"})})}function Fte(e){return s.jsx(At,{viewBox:"0 0 24 24",...e,children:s.jsx("path",{fill:"currentColor",d:"M12,0A12,12,0,1,0,24,12,12.013,12.013,0,0,0,12,0Zm.25,5a1.5,1.5,0,1,1-1.5,1.5A1.5,1.5,0,0,1,12.25,5ZM14.5,18.5h-4a1,1,0,0,1,0-2h.75a.25.25,0,0,0,.25-.25v-4.5a.25.25,0,0,0-.25-.25H10.5a1,1,0,0,1,0-2h1a2,2,0,0,1,2,2v4.75a.25.25,0,0,0,.25.25h.75a1,1,0,1,1,0,2Z"})})}function o3(e){return s.jsx(At,{viewBox:"0 0 24 24",...e,children:s.jsx("path",{fill:"currentColor",d:"M11.983,0a12.206,12.206,0,0,0-8.51,3.653A11.8,11.8,0,0,0,0,12.207,11.779,11.779,0,0,0,11.8,24h.214A12.111,12.111,0,0,0,24,11.791h0A11.766,11.766,0,0,0,11.983,0ZM10.5,16.542a1.476,1.476,0,0,1,1.449-1.53h.027a1.527,1.527,0,0,1,1.523,1.47,1.475,1.475,0,0,1-1.449,1.53h-.027A1.529,1.529,0,0,1,10.5,16.542ZM11,12.5v-6a1,1,0,0,1,2,0v6a1,1,0,1,1-2,0Z"})})}var Ud={enter:{duration:.2,ease:pi.easeOut},exit:{duration:.2,ease:pi.easeIn}},Bte={slideOutTop:{...Zi,custom:{offsetY:"-100%",reverse:!0,transition:Ud},initial:"enter"},slideOutBottom:{...Zi,custom:{offsetY:"100%",reverse:!0,transition:Ud},initial:"enter"},fade:{...Zi,custom:{transition:Ud},initial:"enter"},scale:{...Db,custom:{initialScale:.1,reverse:!0,transition:Ud},initial:"enter"},none:{custom:{}}},Wte=D(Xn.div),Vte=m.forwardRef((e,t)=>{const{motionPreset:n,...r}=e,o={...Bte[n]};return s.jsx(Wte,{ref:t,...o,...r})}),[Ute,Vu]=$r("SuiBanner"),Hte={info:{icon:Fte,colorScheme:"blue"},warning:{icon:o3,colorScheme:"orange"},success:{icon:Ote,colorScheme:"green"},error:{icon:o3,colorScheme:"red"}},[Gte,Kte]=_e({name:"BannerContext",errorMessage:"useBannerContext: `context` is undefined. Seems you forgot to wrap banner components in `<Banner />`"}),qte=B((e,t)=>{var n;const{id:r,status:i="info",isOpen:o=!0,onClose:a,motionPreset:l="slideOutTop",...c}=$e(e),u=(n=e.colorScheme)!=null?n:Hte[i].colorScheme,d=Qe("SuiBanner",{...e,colorScheme:u}),f={width:"100%",display:"flex",alignItems:"center",position:"relative",overflow:"hidden",...d.container},p={id:r||`banner-${m.useId()}`,status:i,onClose:a,isOpen:o},h=["warning","error"].includes(i)?"alert":"status",v=o?"enter":"exit";return s.jsx(Gte,{value:p,children:s.jsx(Ute,{value:d,children:s.jsx($i,{children:o&&s.jsx(Vte,{id:p.id,role:h,ref:t,motionPreset:l,animate:v,...c,className:V("sui-banner",e.className),__css:f})})})})});qte.displayName="Banner";var Xte=B((e,t)=>{const n=Vu();return s.jsx(D.div,{ref:t,...e,className:V("sui-banner__content",e.className),__css:n.content})});Xte.displayName="BannerContent";var Yte=B((e,t)=>{const n=Vu();return s.jsx(D.div,{ref:t,...e,className:V("sui-banner__title",e.className),__css:n.title})});Yte.displayName="BannerTitle";var Qte=B((e,t)=>{const r={display:"inline",...Vu().description};return s.jsx(D.div,{ref:t,...e,className:V("sui-banner__desc",e.className),__css:r})});Qte.displayName="BannerDescription";var Zte=B((e,t)=>{const{children:n,variant:r}=e,i=Vu();return s.jsx(D.div,{ref:t,...e,className:V("sui-banner__actions",e.className),__css:i.actions,children:s.jsx(Pm,{variant:r,children:n})})});Zte.displayName="BannerActions";var Jte=B((e,t)=>{const{onClick:n,className:r,...i}=e,{onClose:o,isOpen:a,id:l}=Kte(),c=V("sui-banner__close-btn",r),u=Vu();return s.jsx(jm,{ref:t,__css:u.closeButton,className:c,onClick:he(n,d=>{d.stopPropagation(),o==null||o()}),"aria-controls":l,"aria-expanded":a!=null&&a.toString()?"true":"false",...i})});Jte.displayName="BannerCloseButton";_e({name:"UseCollapseReturn"});var[ene,tx]=$r("SuiStructuredList"),[tne,nne]=_e({name:"StructuredListContext",errorMessage:"useStructuredListContext: `context` is undefined. Seems you forgot to wrap the components in `<StructuredList />`"});function rne(e){return $T(e,"[role='button']:not([disabled])")}var ine=e=>{var t;const n=m.useId(),r=m.useRef(null),[i,o]=m.useState(null),a={onBlur:he(e.onBlur,l=>{l.relatedTarget&&(rne(r.current).includes(l.relatedTarget)||o(null))})};return{id:(t=e.id)!=null?t:n,containerRef:r,focusId:i,setFocusId:o,listProps:a}},one=B((e,t)=>{const{items:n,children:r,...i}=e,o=Qe("SuiStructuredList",i),a=$e(i);let l;n?l=n.map((f,p)=>m.createElement(HT,{...f,key:f.id||p})):l=r;const c={py:2,position:"relative",...o.list},{listProps:u,...d}=ine(e);return s.jsx(tne,{value:d,children:s.jsx(ene,{value:o,children:s.jsx(D.ul,{ref:ry(t,d.containerRef),__css:c,...a,...u,className:V("sui-list",e.className),children:l})})})});one.displayName="StructuredList";var ane=B((e,t)=>{const{children:n,onClick:r,action:i,role:o="heading",level:a=1,...l}=e,c=tx();return s.jsxs(D.li,{ref:t,__css:c.header,onClick:r,...l,className:V("sui-list__header",e.className),children:[s.jsx(D.span,{flex:"1",userSelect:"none",role:o,"aria-level":a,children:n}),i]})});ane.displayName="StructuredListHeader";var HT=B((e,t)=>{const{onClick:n,href:r,as:i,children:o,isDisabled:a,...l}=e,c=tx(),u=!!(n||r),d=u?GT:m.Fragment,f=!!u,p={...c.item,...f?{py:0,px:0}:{}},h=u?{onClick:n,href:r,as:i,isDisabled:a}:{},v=u?s.jsx(d,{...h,children:o}):o;return s.jsx(D.li,{ref:t,__css:p,...l,className:V("sui-list__item",e.className),children:v})});HT.displayName="StructuredListItem";var sne=e=>{var t;const{id:n,containerRef:r,focusId:i,setFocusId:o}=nne(),a=`${n}-${m.useId()}`,l=(t=e.id)!=null?t:a,c=i===l;function u(){return $T(r.current,".sui-list__item-button:not([aria-disabled=true])")}return{buttonProps:{id:l,"data-focus":de(c),"aria-disabled":e.isDisabled?"true":void 0,tabIndex:e.isDisabled?-1:0,onFocus:he(e.onFocus,()=>{o(l)}),onKeyDown:he(e.onKeyDown,m.useCallback(f=>{const p=u(),h={ArrowUp:()=>{var v;(v=Dee(p,l))==null||v.focus()},ArrowDown:()=>{var v;(v=Nee(p,l))==null||v.focus()},Home:()=>{var v;(v=p[0])==null||v.focus()},End:()=>{var v;(v=p[p.length-1])==null||v.focus()}};h[f.key]&&(f.preventDefault(),h[f.key](f))},[l])),onClick:f=>{var p;if(e.isDisabled){f.preventDefault(),f.stopPropagation();return}(p=e.onClick)==null||p.call(e,f)}}}},GT=B((e,t)=>{const{children:n,isDisabled:r,...i}=e,{buttonProps:o}=sne(e),a=tx();return s.jsx(D.div,{ref:t,__css:a.button,role:"button",...i,...o,className:V("sui-list__item-button",e.className),children:n})});GT.displayName="StructuredListButton";var lne=B((e,t)=>{const n=ex(),{href:r,...i}=e;return s.jsx(_o,{as:n,ref:t,href:r,...i})});lne.displayName="Link";$r("SuiLoadingOverlay");D(Xn.div);var cne=typeof window<"u";function a3(e){return cne?e?{x:e.scrollLeft,y:e.scrollTop}:{x:window.scrollX,y:window.scrollY}:{x:0,y:0}}var une=e=>{const{elementRef:t,delay:n=30,callback:r,isEnabled:i}=e,o=m.useRef(i?a3(t==null?void 0:t.current):{x:0,y:0});let a=null;const l=()=>{const c=a3(t==null?void 0:t.current);typeof r=="function"&&r({prevPos:o.current,currPos:c}),o.current=c,a=null};return m.useEffect(()=>{if(!i)return;const c=()=>{n?a===null&&(a=setTimeout(l,n)):l()},u=(t==null?void 0:t.current)||window;return u.addEventListener("scroll",c),()=>u.removeEventListener("scroll",c)},[t==null?void 0:t.current,n,i]),o.current},[Sue,dne]=_e({name:"UseContextMenuContext",strict:!1}),s3=(e=0,t=0)=>()=>({width:0,height:0,top:t,left:e,right:e,bottom:t}),fne=()=>typeof window!==void 0&&window.matchMedia("(hover: none)").matches,pne=(e,t)=>{const{triggerRef:n,onOpen:r,onClose:i,anchor:o}=dne(),a=zX(),{popper:l,openAndFocusFirstItem:c}=a,{longPressProps:u}=wte({isDisabled:e.longPressDisabled,accessibilityDescription:"Long press to open context menu",onLongPressStart:h=>{i()},onLongPress:h=>{h.pointerType!=="mouse"&&h.type==="longpress"&&(r(h),c())}}),d=m.useRef({getBoundingClientRect:s3(o.x,o.y)});return m.useEffect(()=>{l.referenceRef(d.current)},[]),m.useEffect(()=>{d.current.getBoundingClientRect=s3(o.x,o.y),a.popper.update()},[o]),{triggerProps:{...u,onPointerDown:h=>{var v;h.pointerType!=="mouse"&&((v=u.onPointerDown)==null||v.call(u,h))},onMouseDown:h=>{var v;fne()&&((v=u.onMouseDown)==null||v.call(u,h))},onContextMenu:he(h=>{h.preventDefault(),r(h),c()},e.onContextMenu),ref:Mt(n,t)}}},mne=B((e,t)=>{const{children:n,longPressDisabled:r,...i}=e,{triggerProps:o}=pne(e,t);return s.jsx(D.span,{...i,sx:{WebkitTouchCallout:"none"},...o,children:n})});mne.displayName="ContextMenuTrigger";var[hne,Nm]=$r("SuiPersona"),l3={online:{label:"Online",color:"presence.online"},offline:{label:"Offline",color:"presence.offline"},busy:{label:"Busy",color:"presence.busy"},dnd:{label:"Do-not-disturb",color:"presence.dnd"},away:{label:"Away",color:"presence.away"}},gne={online:"green.500",offline:"gray.400",busy:"orange.500",dnd:"red.500",away:"gray.400"},vne=B((e,t)=>{const{children:n,...r}=e,i=Qe("SuiPersona",e),o=$e(r),l={...{display:"flex",flexDirection:"row",alignItems:"center"},...i.container};return s.jsx(hne,{value:i,children:s.jsx(D.div,{ref:t,__css:l,...o,className:V("sui-persona",e.className),children:n})})});vne.displayName="PersonaContainer";var yne=B((e,t)=>{var n,r,i,o,a;const{name:l,presence:c,presenceLabel:u,presenceIcon:d,isOutOfOffice:f,badgeSize:p="1em",size:h,getInitials:v,icon:b,iconLabel:x,ignoreFallback:y,loading:g,onError:S,src:w,srcSet:k,...P}=e,_={};let j;const z=zi(),$=((n=z.colors)==null?void 0:n.presence)||gne,W=!!((i=(r=z.semanticTokens)==null?void 0:r.colors)!=null&&i["presence.online"]);if(c){const Y=u||((o=l3[c])==null?void 0:o.label),ee=W?((a=l3[c])==null?void 0:a.color)||`presence.${c}`:$[c];f?(_.sx={_before:{content:'""',width:"100%",height:"100%",position:"absolute",top:0,left:0,border:"0.2em solid",borderColor:ee,borderRadius:"50%",boxSizing:"border-box"}},_.borderWidth="0.15em",_.bg=gp("white","gray.800")):_.bg=ee,j=s.jsx(KP,{boxSize:p,..._,children:d}),Y&&(j=s.jsx(Fb,{label:Y,children:j}))}return s.jsx(cb,{ref:t,name:l,size:h,getInitials:v,icon:b,iconLabel:x,ignoreFallback:y,loading:g,onError:S,src:w,srcSet:k,...P,children:j})});yne.displayName="PersonaAvatar";var bne=B((e,t)=>{const{children:n,className:r,...i}=e,o=Nm(),l={...{display:"flex",flexDirection:"column"},...o.details};return s.jsx(D.div,{ref:t,...i,__css:l,className:V("sui-persona__details",r),children:n})});bne.displayName="PersonaDetails";var xne=B((e,t)=>{const n=Nm();return s.jsx(D.span,{ref:t,...e,__css:n.label,className:V("sui-persona__label",e.className)})});xne.displayName="PersonaLabel";var Sne=B((e,t)=>{const n=Nm();return s.jsx(D.span,{ref:t,...e,__css:n.secondaryLabel,className:V("sui-persona__secondary-label",e.className)})});Sne.displayName="PersonaSecondaryLabel";var wne=B((e,t)=>{const n=Nm();return s.jsx(D.span,{ref:t,...e,__css:n.tertiaryLabel,className:V("sui-persona__tertiary-label",e.className)})});wne.displayName="PersonaTertiaryLabel";var[kne,KT]=$r("SuiProperty"),Cne=B((e,t)=>{const n=Qe("SuiProperty",e),{children:r,label:i,value:o,labelWidth:a,spacing:l,...c}=$e(e),u={minW:0,display:"flex",flexDirection:"row",alignItems:"center",...n.property};return s.jsx(kne,{value:n,children:s.jsxs(D.dl,{ref:t,__css:u,...c,className:V("sui-property",e.className),children:[i&&s.jsx(qT,{width:a,minWidth:a,marginEnd:l,children:i}),o&&s.jsx(XT,{children:o}),r]})})});Cne.displayName="Property";var qT=B((e,t)=>{const n=KT(),{children:r,noOfLines:i=1,width:o,minWidth:a,...l}=e,c={display:"flex",flexDirection:"row",...n.label};return o&&(c.minWidth=a||"auto",c.width=o),s.jsx(D.dt,{ref:t,__css:c,...l,className:V("sui-property__label",e.className),children:s.jsx(D.span,{flex:"1",noOfLines:i,children:r})})});qT.displayName="PropertyLabel";var XT=B((e,t)=>{const n=KT(),{children:r,...i}=e,o={display:"flex",flexDirection:"row",alignItems:"center",flex:1,...n.value};return s.jsx(D.dd,{ref:t,__css:o,...i,className:V("sui-property__value",e.className),children:r})});XT.displayName="PropertyValue";function jne(e){const{ref:t,parentRef:n,height:r="3.5rem",shouldHideOnScroll:i=!1,disableScrollHandler:o=!1,onScrollPositionChange:a,motionProps:l,...c}=e,u=m.useRef(null);m.useImperativeHandle(t,()=>u.current);const d=m.useRef(0),f=m.useRef(0),[p,h]=m.useState(!1),v=()=>{if(u.current){const x=u.current.offsetWidth;x!==d.current&&(d.current=x)}};return Cte({ref:u,onResize:()=>{var x;((x=u.current)==null?void 0:x.offsetWidth)!==d.current&&v()}}),m.useEffect(()=>{var x;v(),f.current=((x=u.current)==null?void 0:x.offsetHeight)||0},[]),une({elementRef:n,isEnabled:i||!o,callback:({prevPos:x,currPos:y})=>{a==null||a(y.y),i&&h(g=>{const S=y.y>x.y&&y.y>f.current;return S!==g?S:g})}}),{containerRef:u,height:r,isHidden:p,shouldHideOnScroll:i,motionProps:l,getContainerProps:(x={})=>({...c,...l,"data-hidden":de(p),ref:u,style:{"--navbar-height":r,...c.style,...x==null?void 0:x.style}})}}var[Pne]=_e({name:"NavbarContext",strict:!0,errorMessage:"useNavbarContext: `context` is undefined. Seems you forgot to wrap component within <Navbar />"}),[_ne,Dm]=_e({name:"NavBarStylesContext",hookName:"useNavItemStyles",providerName:"<NavBar />"}),Tne=D(Xn.nav),Ene=B((e,t)=>{const{children:n,...r}=e,i=jne({...r,ref:t}),o=Qe("SuiNavbar",e),a=s.jsx(D.header,{__css:o.inner,className:"sui-navbar__inner",children:n}),l={top:e.position==="sticky"?"0":void 0,insetX:e.position==="sticky"?"0":void 0,...o.container};return s.jsx(_ne,{value:o,children:s.jsx(Pne,{value:i,children:s.jsx(Tne,{__css:l,animate:i.isHidden?"hidden":"visible",initial:!1,variants:{hidden:{y:"-100%"},visible:{y:0,transition:{ease:"easeInOut"}}},className:V("sui-navbar",e.className),...i.getContainerProps(e),children:a})})})});Ene.displayName="Navbar";var Ane=B((e,t)=>{const{className:n,children:r,...i}=e,o=Dm();return s.jsx(D.div,{ref:t,__css:o.brand,className:V("sui-navbar__brand"),...i,children:r})});Ane.displayName="NavbarBrand";var $ne=B((e,t)=>{const{className:n,children:r,spacing:i=0,...o}=e,l={...Dm().content,"& > *:not(style) ~ *:not(style)":{marginStart:i}};return s.jsx(D.ul,{ref:t,__css:l,className:V("sui-navbar__content",n),...o,children:r})});$ne.displayName="NavbarContent";var zne=B((e,t)=>{const{className:n,children:r,isActive:i,...o}=e,a=Dm();return s.jsx(D.li,{ref:t,__css:a.item,className:V("sui-navbar__item",n),"data-active":de(i),...o,children:r})});zne.displayName="NavbarItem";var Rne=B((e,t)=>{const{className:n,children:r,isActive:i,...o}=e,a=ex(),l=Dm();return s.jsx(D.a,{as:a,ref:t,__css:l.link,"data-active":de(i),className:V("sui-navbar__link",n),...o,children:r})});Rne.displayName="NavbarLink";var[Ine,Mne]=_e({name:"SidebarContext",strict:!1}),[Lne]=_e({name:"SidebarStylesContext",hookName:"useSidebarStyles",providerName:"<Sidebar />"}),Nne=D(Xn.nav),Dne={slideInOut:{enter:{left:0,transition:{type:"spring",duration:.6,bounce:.15}},exit:{left:"-100%"}},none:{}},YT=B((e,t)=>{var n,r,i;const o=Qe("SuiSidebar",e),l=(n=zi().components.SuiSidebar)==null?void 0:n.defaultProps,c=i3((r=e.variant)!=null?r:l==null?void 0:l.variant,{fallback:"base"}),u=i3((i=e.size)!=null?i:l==null?void 0:l.size,{fallback:"base"}),d=c==="compact",{spacing:f=4,children:p,toggleBreakpoint:h="lg",className:v,motionPreset:b="slideInOut",isOpen:x,onOpen:y,onClose:g,...S}=$e(e),w=Mte(),k=UT(h),P=jp(k,{fallback:void 0}),_=jp(k),j=typeof P>"u",z=typeof x<"u",$=(P||z)&&!d,W=wu({isOpen:x||(w==null?void 0:w.isSidebarOpen),onOpen:y||(w==null?void 0:w.openSidebar),onClose:g||(w==null?void 0:w.closeSidebar)}),{isOpen:Y,onClose:ee,onOpen:I}=W;m.useEffect(()=>{j&&_||d||z||(_?ee():I())},[j,d,_]);const L={"& > *:not(style) ~ *:not(style, .sui-resize-handle, .sui-sidebar__toggle-button + *)":{marginTop:f},display:"flex",flexDirection:"column",...P&&$?{position:"absolute",zIndex:"modal",top:0,left:{base:"-100%",lg:"0"},bottom:0}:{position:"relative"}},N={...W,breakpoints:k,isMobile:P,variant:c,size:u},R=Dne[d?"none":b||"none"];return s.jsx(Ine,{value:N,children:s.jsx(Lne,{value:o,children:s.jsx(Nne,{ref:t,initial:!1,animate:!j&&(!$||Y?"enter":"exit"),variants:R,__css:{...L,...o.container},...S,id:W.getDisclosureProps().id,className:V("sui-sidebar",v),"data-compact":de(d),"data-collapsible":de(P&&$),children:p})})})});YT.displayName="Sidebar";YT.id="Sidebar";_e({name:"NavGroupStylesContext",hookName:"useNavItemStyles",providerName:"<NavItem />"});var[One,QT]=_e({name:"NavItemStylesContext",hookName:"useNavItemStyles",providerName:"<NavItem />"}),ZT=B(({children:e,...t},n)=>{const r=QT();return s.jsx(D.span,{ref:n,__css:r.label,...t,className:V("sui-nav-item__label",t.className),children:e})});ZT.displayName="NavItemLabel";var JT=e=>{const t=QT(),{className:n,children:r,...i}=e,o=m.Children.only(r),a=m.isValidElement(o)?m.cloneElement(o,{focusable:"false","aria-hidden":!0}):null;return s.jsx(D.span,{...i,className:V("sui-nav-item__icon",e.className),__css:{flexShrink:0,...t.icon},children:a})};JT.displayName="NavItemIcon";var Fne=B((e,t)=>{const{as:n,href:r,icon:i,inset:o,className:a,tooltipProps:l,isActive:c,children:u,...d}=$e(e),f=ex(),{onClose:p,variant:h}=Mne()||{},v=h==="compact",b=Qe("SuiNavItem",e);let x=u,y=l==null?void 0:l.label;typeof x=="string"&&(!y&&v&&(y=x),x=s.jsx(ZT,{children:x}));let g=n;r&&!n&&(g=f);const S=s.jsx(D.a,{as:g,"aria-current":c?"page":void 0,...d,ref:t,href:r,className:"sui-nav-item__link","data-active":de(c),__css:b.link,children:s.jsxs(D.span,{__css:{...b.inner,pl:o},className:"sui-nav-item__inner",children:[i&&s.jsx(JT,{children:i}),x]})});return s.jsx(One,{value:b,children:s.jsx(Fb,{label:y,placement:"right",openDelay:400,...l,children:s.jsx(D.div,{__css:b.item,onClick:p,"data-compact":de(v),className:V("sui-nav-item",a),children:S})})})});Fne.displayName="NavItem";var Bne=B((e,t)=>{const{placeholder:n="Search",value:r,defaultValue:i,size:o,variant:a,width:l,icon:c,resetIcon:u,rightElement:d,onChange:f,onReset:p,onKeyDown:h,...v}=e,b=Qe("SuiSearchInput",e),x=m.useRef(null),[y,g]=r6({value:r,defaultValue:i}),S=m.useCallback(j=>{g(j.target.value)},[g]),w=m.useCallback(j=>{j.key==="Escape"&&(g(""),k())},[p,g]),k=()=>{var j;g(""),p==null||p(),(j=x.current)==null||j.focus()},P=o==="lg"?"sm":"xs",_=y&&!e.isDisabled;return s.jsxs(Tb,{size:o,width:l,children:[s.jsx(Eb,{children:c||s.jsx(bQ,{})}),s.jsx(bt,{type:"text",placeholder:n,variant:a,size:o,value:y,ref:ry(t,x),sx:b.input,onChange:he(S,f),onKeyDown:he(w,h),...v}),s.jsx(Em,{children:_?s.jsx(vn,{onClick:k,size:P,variant:"ghost","aria-label":"Reset search",icon:u||s.jsx(yQ,{}),sx:b.reset}):d})]})});Bne.displayName="SearchInput";var[Wne,Vne]=_e({name:"StepperContext",errorMessage:"useStepperContext: `context` is undefined. Seems you forgot to wrap stepper components in `<Stepper />`"});function Une(e){const{step:t,onChange:n}=e,[r,i]=m.useState(0),o=m.useRef([]),[,a]=m.useState(Date.now()),l=m.useCallback(h=>{const v=[...o.current];v.indexOf(h)===-1&&v.push(h),o.current=v,a(Date.now())},[o,a]),c=h=>{o.current=o.current.slice(o.current.indexOf(h),1)},u=h=>{const v=o.current.indexOf(h);v!==-1&&i(v)},d=()=>{i(r+1)},f=()=>{i(r-1)};return m.useEffect(()=>{typeof t=="string"?u(t):typeof t=="number"?i(t):r===-1&&i(0)},[t]),m.useEffect(()=>{n==null||n(r)},[r,n]),{stepsRef:o,activeStep:o.current[r],activeIndex:r,isFirstStep:r===0,isLastStep:r===o.current.length-1,isCompleted:r>=o.current.length,setIndex:i,setStep:u,nextStep:d,prevStep:f,registerStep:l,unregisterStep:c}}function Hne(e){const{name:t,isActive:n,isCompleted:r}=e,{registerStep:i,unregisterStep:o,activeStep:a}=Vne();return m.useEffect(()=>{if(t)return i(t),()=>{o(t)}},[]),{isActive:t?a===t:n,isCompleted:r}}var[Gne,Kne]=$r("Stepper"),qne=B((e,t)=>{var n,r,i,o;const{children:a,orientation:l="horizontal",index:c,step:u,onChange:d,variant:f,colorScheme:p,size:h,stepperProps:v,...b}=e,x=Qe("Stepper",e),y=Une({step:u??c,onChange:d}),{activeIndex:g}=y,S=l==="vertical",w=Pte(a,e8),k={position:"relative",...x.item},P=w.reduce(($,W,Y,ee)=>{const I=m.cloneElement(W,{key:Y,...W.props,isActive:g===Y,isCompleted:W.props.isCompleted||g>Y});return S?$.push(s.jsxs(D.div,{className:"sui-steps__item",__css:k,children:[I,s.jsx(Lv,{isOpen:g===Y,orientation:l,children:W.props.children}),Y<ee.length-1?s.jsx(gT,{}):null]},`content-${Y}`)):$.push(I),$},[]),_=jte(a,t8),j=(r=(n=w[g])==null?void 0:n.props)==null?void 0:r.children,z=g>=w.length?_:!S&&j?s.jsx(Lv,{orientation:l,children:(o=(i=w[g])==null?void 0:i.props)==null?void 0:o.children}):null;return s.jsx(Gne,{value:x,children:s.jsx(Wne,{value:y,children:s.jsxs(D.div,{ref:t,__css:x.container,...b,className:V("sui-steps",e.className),children:[s.jsx(uQ,{index:g,orientation:l,variant:f,colorScheme:p,size:h,...v,children:P}),z]})})})});qne.displayName="Steps";var e8=e=>{const{render:t,icon:n,title:r,description:i,...o}=e,a=Hne(o);return t?t({...a,...e}):s.jsxs(rQ,{children:[s.jsx(lQ,{children:s.jsx(sQ,{complete:s.jsx(aQ,{}),incomplete:s.jsx(Iw,{children:n}),active:s.jsx(Iw,{})})}),s.jsxs(ne,{flexShrink:"0",children:[s.jsx(cQ,{children:r}),i&&s.jsx(iQ,{children:i})]}),s.jsx(gT,{})]})};e8.displayName="StepsItem";var Lv=e=>{const{children:t,isOpen:n=!0,orientation:r="horizontal",...i}=e,o=Kne();return s.jsx(D.div,{...i,__css:o.content,className:V("sui-steps__content",e.className),"data-orientation":r,children:r==="vertical"?s.jsx(zu,{in:n,style:{overflow:n?"visible":"hidden"},children:s.jsx(D.div,{p:"2px",children:n?t:null})}):t})};Lv.displayName="StepsContent";var t8=e=>{const t={};return s.jsx(D.div,{__css:t,...e,className:V("sui-steps__completed",e.className)})};t8.displayName="StepsCompleted";var[wue,Xne]=$r("SuiTimeline"),Yne=B((e,t)=>{const{children:n,...r}=e,i=Xne();return s.jsx(D.li,{...r,ref:t,__css:i.item,className:V("sui-timeline__item",e.className),children:n})});Yne.displayName="TimelineItem";B((e,t)=>{const{icon:n,children:r,isRound:i,"aria-label":o,...a}=e,l=Yn("SuiIconBadge",e),c=$e(a),u=n||r,d=m.isValidElement(u)?m.cloneElement(u,{"aria-hidden":!0,focusable:!1}):null,f={display:"inline-flex",alignItems:"center",justifyContent:"center",...l};return s.jsx(D.div,{ref:t,__css:f,borderRadius:i?"full":void 0,"aria-label":o,...c,className:V("sui-icon-badge",e.className),children:d})});/**
|
||
* @remix-run/router v1.23.3
|
||
*
|
||
* Copyright (c) Remix Software Inc.
|
||
*
|
||
* This source code is licensed under the MIT license found in the
|
||
* LICENSE.md file in the root directory of this source tree.
|
||
*
|
||
* @license MIT
|
||
*/function pu(){return pu=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},pu.apply(null,arguments)}var ro;(function(e){e.Pop="POP",e.Push="PUSH",e.Replace="REPLACE"})(ro||(ro={}));const c3="popstate";function Qne(e){e===void 0&&(e={});function t(r,i){let{pathname:o,search:a,hash:l}=r.location;return Nv("",{pathname:o,search:a,hash:l},i.state&&i.state.usr||null,i.state&&i.state.key||"default")}function n(r,i){return typeof i=="string"?i:zp(i)}return Jne(t,n,null,e)}function mt(e,t){if(e===!1||e===null||typeof e>"u")throw new Error(t)}function nx(e,t){if(!e){typeof console<"u"&&console.warn(t);try{throw new Error(t)}catch{}}}function Zne(){return Math.random().toString(36).substr(2,8)}function u3(e,t){return{usr:e.state,key:e.key,idx:t}}function Nv(e,t,n,r){return n===void 0&&(n=null),pu({pathname:typeof e=="string"?e:e.pathname,search:"",hash:""},typeof t=="string"?bl(t):t,{state:n,key:t&&t.key||r||Zne()})}function zp(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 bl(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 Jne(e,t,n,r){r===void 0&&(r={});let{window:i=document.defaultView,v5Compat:o=!1}=r,a=i.history,l=ro.Pop,c=null,u=d();u==null&&(u=0,a.replaceState(pu({},a.state,{idx:u}),""));function d(){return(a.state||{idx:null}).idx}function f(){l=ro.Pop;let x=d(),y=x==null?null:x-u;u=x,c&&c({action:l,location:b.location,delta:y})}function p(x,y){l=ro.Push;let g=Nv(b.location,x,y);u=d()+1;let S=u3(g,u),w=b.createHref(g);try{a.pushState(S,"",w)}catch(k){if(k instanceof DOMException&&k.name==="DataCloneError")throw k;i.location.assign(w)}o&&c&&c({action:l,location:b.location,delta:1})}function h(x,y){l=ro.Replace;let g=Nv(b.location,x,y);u=d();let S=u3(g,u),w=b.createHref(g);a.replaceState(S,"",w),o&&c&&c({action:l,location:b.location,delta:0})}function v(x){let y=i.location.origin!=="null"?i.location.origin:i.location.href,g=typeof x=="string"?x:zp(x);return g=g.replace(/ $/,"%20"),mt(y,"No window.location.(origin|href) available to create URL for href: "+g),new URL(g,y)}let b={get action(){return l},get location(){return e(i,a)},listen(x){if(c)throw new Error("A history only accepts one active listener");return i.addEventListener(c3,f),c=x,()=>{i.removeEventListener(c3,f),c=null}},createHref(x){return t(i,x)},createURL:v,encodeLocation(x){let y=v(x);return{pathname:y.pathname,search:y.search,hash:y.hash}},push:p,replace:h,go(x){return a.go(x)}};return b}var d3;(function(e){e.data="data",e.deferred="deferred",e.redirect="redirect",e.error="error"})(d3||(d3={}));function ere(e,t,n){return n===void 0&&(n="/"),tre(e,t,n)}function tre(e,t,n,r){let i=typeof t=="string"?bl(t):t,o=ol(i.pathname||"/",n);if(o==null)return null;let a=n8(e);nre(a);let l=null,c=pre(o);for(let u=0;l==null&&u<a.length;++u)l=dre(a[u],c);return l}function n8(e,t,n,r){t===void 0&&(t=[]),n===void 0&&(n=[]),r===void 0&&(r="");let i=(o,a,l)=>{let c={relativePath:l===void 0?o.path||"":l,caseSensitive:o.caseSensitive===!0,childrenIndex:a,route:o};c.relativePath.startsWith("/")&&(mt(c.relativePath.startsWith(r),'Absolute route path "'+c.relativePath+'" nested under path '+('"'+r+'" is not valid. An absolute child route path ')+"must start with the combined path of all its parent routes."),c.relativePath=c.relativePath.slice(r.length));let u=po([r,c.relativePath]),d=n.concat(c);o.children&&o.children.length>0&&(mt(o.index!==!0,"Index routes must not have child routes. Please remove "+('all child routes from route path "'+u+'".')),n8(o.children,t,d,u)),!(o.path==null&&!o.index)&&t.push({path:u,score:cre(u,o.index),routesMeta:d})};return e.forEach((o,a)=>{var l;if(o.path===""||!((l=o.path)!=null&&l.includes("?")))i(o,a);else for(let c of r8(o.path))i(o,a,c)}),t}function r8(e){let t=e.split("/");if(t.length===0)return[];let[n,...r]=t,i=n.endsWith("?"),o=n.replace(/\?$/,"");if(r.length===0)return i?[o,""]:[o];let a=r8(r.join("/")),l=[];return l.push(...a.map(c=>c===""?o:[o,c].join("/"))),i&&l.push(...a),l.map(c=>e.startsWith("/")&&c===""?"/":c)}function nre(e){e.sort((t,n)=>t.score!==n.score?n.score-t.score:ure(t.routesMeta.map(r=>r.childrenIndex),n.routesMeta.map(r=>r.childrenIndex)))}const rre=/^:[\w-]+$/,ire=3,ore=2,are=1,sre=10,lre=-2,f3=e=>e==="*";function cre(e,t){let n=e.split("/"),r=n.length;return n.some(f3)&&(r+=lre),t&&(r+=ore),n.filter(i=>!f3(i)).reduce((i,o)=>i+(rre.test(o)?ire:o===""?are:sre),r)}function ure(e,t){return e.length===t.length&&e.slice(0,-1).every((r,i)=>r===t[i])?e[e.length-1]-t[t.length-1]:0}function dre(e,t,n){let{routesMeta:r}=e,i={},o="/",a=[];for(let l=0;l<r.length;++l){let c=r[l],u=l===r.length-1,d=o==="/"?t:t.slice(o.length)||"/",f=Dv({path:c.relativePath,caseSensitive:c.caseSensitive,end:u},d),p=c.route;if(!f)return null;Object.assign(i,f.params),a.push({params:i,pathname:po([o,f.pathname]),pathnameBase:yre(po([o,f.pathnameBase])),route:p}),f.pathnameBase!=="/"&&(o=po([o,f.pathnameBase]))}return a}function Dv(e,t){typeof e=="string"&&(e={path:e,caseSensitive:!1,end:!0});let[n,r]=fre(e.path,e.caseSensitive,e.end),i=t.match(n);if(!i)return null;let o=i[0],a=o.replace(/(.)\/+$/,"$1"),l=i.slice(1);return{params:r.reduce((u,d,f)=>{let{paramName:p,isOptional:h}=d;if(p==="*"){let b=l[f]||"";a=o.slice(0,o.length-b.length).replace(/(.)\/+$/,"$1")}const v=l[f];return h&&!v?u[p]=void 0:u[p]=(v||"").replace(/%2F/g,"/"),u},{}),pathname:o,pathnameBase:a,pattern:e}}function fre(e,t,n){t===void 0&&(t=!1),n===void 0&&(n=!0),nx(e==="*"||!e.endsWith("*")||e.endsWith("/*"),'Route path "'+e+'" will be treated as if it were '+('"'+e.replace(/\*$/,"/*")+'" because the `*` character must ')+"always follow a `/` in the pattern. To get rid of this warning, "+('please change the route path to "'+e.replace(/\*$/,"/*")+'".'));let r=[],i="^"+e.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(a,l,c)=>(r.push({paramName:l,isOptional:c!=null}),c?"/?([^\\/]+)?":"/([^\\/]+)"));return e.endsWith("*")?(r.push({paramName:"*"}),i+=e==="*"||e==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):n?i+="\\/*$":e!==""&&e!=="/"&&(i+="(?:(?=\\/|$))"),[new RegExp(i,t?void 0:"i"),r]}function pre(e){try{return e.split("/").map(t=>decodeURIComponent(t).replace(/\//g,"%2F")).join("/")}catch(t){return nx(!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 ol(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 mre=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,hre=e=>mre.test(e);function gre(e,t){t===void 0&&(t="/");let{pathname:n,search:r="",hash:i=""}=typeof e=="string"?bl(e):e,o;if(n)if(hre(n))o=n;else{if(n.includes("//")){let a=n;n=i8(n),nx(!1,"Pathnames cannot have embedded double slashes - normalizing "+(a+" -> "+n))}n.startsWith("/")?o=p3(n.substring(1),"/"):o=p3(n,t)}else o=t;return{pathname:o,search:bre(r),hash:xre(i)}}function p3(e,t){let n=t.replace(/\/+$/,"").split("/");return e.split("/").forEach(i=>{i===".."?n.length>1&&n.pop():i!=="."&&n.push(i)}),n.length>1?n.join("/"):"/"}function $0(e,t,n,r){return"Cannot include a '"+e+"' character in a manually specified "+("`to."+t+"` field ["+JSON.stringify(r)+"]. Please separate it out to the ")+("`to."+n+"` field. Alternatively you may provide the full path as ")+'a string in <Link to="..."> and the router will parse it for you.'}function vre(e){return e.filter((t,n)=>n===0||t.route.path&&t.route.path.length>0)}function rx(e,t){let n=vre(e);return t?n.map((r,i)=>i===n.length-1?r.pathname:r.pathnameBase):n.map(r=>r.pathnameBase)}function ix(e,t,n,r){r===void 0&&(r=!1);let i;typeof e=="string"?i=bl(e):(i=pu({},e),mt(!i.pathname||!i.pathname.includes("?"),$0("?","pathname","search",i)),mt(!i.pathname||!i.pathname.includes("#"),$0("#","pathname","hash",i)),mt(!i.search||!i.search.includes("#"),$0("#","search","hash",i)));let o=e===""||i.pathname==="",a=o?"/":i.pathname,l;if(a==null)l=n;else{let f=t.length-1;if(!r&&a.startsWith("..")){let p=a.split("/");for(;p[0]==="..";)p.shift(),f-=1;i.pathname=p.join("/")}l=f>=0?t[f]:"/"}let c=gre(i,l),u=a&&a!=="/"&&a.endsWith("/"),d=(o||a===".")&&n.endsWith("/");return!c.pathname.endsWith("/")&&(u||d)&&(c.pathname+="/"),c}const i8=e=>e.replace(/\/\/+/g,"/"),po=e=>i8(e.join("/")),yre=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/"),bre=e=>!e||e==="?"?"":e.startsWith("?")?e:"?"+e,xre=e=>!e||e==="#"?"":e.startsWith("#")?e:"#"+e;function Sre(e){return e!=null&&typeof e.status=="number"&&typeof e.statusText=="string"&&typeof e.internal=="boolean"&&"data"in e}const o8=["post","put","patch","delete"];new Set(o8);const wre=["get",...o8];new Set(wre);/**
|
||
* React Router v6.30.4
|
||
*
|
||
* Copyright (c) Remix Software Inc.
|
||
*
|
||
* This source code is licensed under the MIT license found in the
|
||
* LICENSE.md file in the root directory of this source tree.
|
||
*
|
||
* @license MIT
|
||
*/function mu(){return mu=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},mu.apply(null,arguments)}const Om=m.createContext(null),a8=m.createContext(null),Ri=m.createContext(null),Fm=m.createContext(null),Ii=m.createContext({outlet:null,matches:[],isDataRoute:!1}),s8=m.createContext(null);function kre(e,t){let{relative:n}=t===void 0?{}:t;xl()||mt(!1);let{basename:r,navigator:i}=m.useContext(Ri),{hash:o,pathname:a,search:l}=Bm(e,{relative:n}),c=a;return r!=="/"&&(c=a==="/"?r:po([r,a])),i.createHref({pathname:c,search:l,hash:o})}function xl(){return m.useContext(Fm)!=null}function Ma(){return xl()||mt(!1),m.useContext(Fm).location}function l8(e){m.useContext(Ri).static||m.useLayoutEffect(e)}function Qn(){let{isDataRoute:e}=m.useContext(Ii);return e?Dre():Cre()}function Cre(){xl()||mt(!1);let e=m.useContext(Om),{basename:t,future:n,navigator:r}=m.useContext(Ri),{matches:i}=m.useContext(Ii),{pathname:o}=Ma(),a=JSON.stringify(rx(i,n.v7_relativeSplatPath)),l=m.useRef(!1);return l8(()=>{l.current=!0}),m.useCallback(function(u,d){if(d===void 0&&(d={}),!l.current)return;if(typeof u=="number"){r.go(u);return}let f=ix(u,JSON.parse(a),o,d.relative==="path");e==null&&t!=="/"&&(f.pathname=f.pathname==="/"?t:po([t,f.pathname])),(d.replace?r.replace:r.push)(f,d.state,d)},[t,r,a,o,e])}const jre=m.createContext(null);function Pre(e){let t=m.useContext(Ii).outlet;return t&&m.createElement(jre.Provider,{value:e},t)}function Bm(e,t){let{relative:n}=t===void 0?{}:t,{future:r}=m.useContext(Ri),{matches:i}=m.useContext(Ii),{pathname:o}=Ma(),a=JSON.stringify(rx(i,r.v7_relativeSplatPath));return m.useMemo(()=>ix(e,JSON.parse(a),o,n==="path"),[e,a,o,n])}function _re(e,t){return Tre(e,t)}function Tre(e,t,n,r){xl()||mt(!1);let{navigator:i}=m.useContext(Ri),{matches:o}=m.useContext(Ii),a=o[o.length-1],l=a?a.params:{};a&&a.pathname;let c=a?a.pathnameBase:"/";a&&a.route;let u=Ma(),d;if(t){var f;let x=typeof t=="string"?bl(t):t;c==="/"||(f=x.pathname)!=null&&f.startsWith(c)||mt(!1),d=x}else d=u;let p=d.pathname||"/",h=p;if(c!=="/"){let x=c.replace(/^\//,"").split("/");h="/"+p.replace(/^\//,"").split("/").slice(x.length).join("/")}let v=ere(e,{pathname:h}),b=Rre(v&&v.map(x=>Object.assign({},x,{params:Object.assign({},l,x.params),pathname:po([c,i.encodeLocation?i.encodeLocation(x.pathname).pathname:x.pathname]),pathnameBase:x.pathnameBase==="/"?c:po([c,i.encodeLocation?i.encodeLocation(x.pathnameBase).pathname:x.pathnameBase])})),o,n,r);return t&&b?m.createElement(Fm.Provider,{value:{location:mu({pathname:"/",search:"",hash:"",state:null,key:"default"},d),navigationType:ro.Pop}},b):b}function Ere(){let e=Nre(),t=Sre(e)?e.status+" "+e.statusText:e instanceof Error?e.message:JSON.stringify(e),n=e instanceof Error?e.stack:null,i={padding:"0.5rem",backgroundColor:"rgba(200,200,200, 0.5)"};return m.createElement(m.Fragment,null,m.createElement("h2",null,"Unexpected Application Error!"),m.createElement("h3",{style:{fontStyle:"italic"}},t),n?m.createElement("pre",{style:i},n):null,null)}const Are=m.createElement(Ere,null);class $re extends m.Component{constructor(t){super(t),this.state={location:t.location,revalidation:t.revalidation,error:t.error}}static getDerivedStateFromError(t){return{error:t}}static getDerivedStateFromProps(t,n){return n.location!==t.location||n.revalidation!=="idle"&&t.revalidation==="idle"?{error:t.error,location:t.location,revalidation:t.revalidation}:{error:t.error!==void 0?t.error:n.error,location:n.location,revalidation:t.revalidation||n.revalidation}}componentDidCatch(t,n){console.error("React Router caught the following error during render",t,n)}render(){return this.state.error!==void 0?m.createElement(Ii.Provider,{value:this.props.routeContext},m.createElement(s8.Provider,{value:this.state.error,children:this.props.component})):this.props.children}}function zre(e){let{routeContext:t,match:n,children:r}=e,i=m.useContext(Om);return i&&i.static&&i.staticContext&&(n.route.errorElement||n.route.ErrorBoundary)&&(i.staticContext._deepestRenderedBoundaryId=n.route.id),m.createElement(Ii.Provider,{value:t},r)}function Rre(e,t,n,r){var i;if(t===void 0&&(t=[]),n===void 0&&(n=null),r===void 0&&(r=null),e==null){var o;if(!n)return null;if(n.errors)e=n.matches;else if((o=r)!=null&&o.v7_partialHydration&&t.length===0&&!n.initialized&&n.matches.length>0)e=n.matches;else return null}let a=e,l=(i=n)==null?void 0:i.errors;if(l!=null){let d=a.findIndex(f=>f.route.id&&(l==null?void 0:l[f.route.id])!==void 0);d>=0||mt(!1),a=a.slice(0,Math.min(a.length,d+1))}let c=!1,u=-1;if(n&&r&&r.v7_partialHydration)for(let d=0;d<a.length;d++){let f=a[d];if((f.route.HydrateFallback||f.route.hydrateFallbackElement)&&(u=d),f.route.id){let{loaderData:p,errors:h}=n,v=f.route.loader&&p[f.route.id]===void 0&&(!h||h[f.route.id]===void 0);if(f.route.lazy||v){c=!0,u>=0?a=a.slice(0,u+1):a=[a[0]];break}}}return a.reduceRight((d,f,p)=>{let h,v=!1,b=null,x=null;n&&(h=l&&f.route.id?l[f.route.id]:void 0,b=f.route.errorElement||Are,c&&(u<0&&p===0?(Ore("route-fallback"),v=!0,x=null):u===p&&(v=!0,x=f.route.hydrateFallbackElement||null)));let y=t.concat(a.slice(0,p+1)),g=()=>{let S;return h?S=b:v?S=x:f.route.Component?S=m.createElement(f.route.Component,null):f.route.element?S=f.route.element:S=d,m.createElement(zre,{match:f,routeContext:{outlet:d,matches:y,isDataRoute:n!=null},children:S})};return n&&(f.route.ErrorBoundary||f.route.errorElement||p===0)?m.createElement($re,{location:n.location,revalidation:n.revalidation,component:b,error:h,children:g(),routeContext:{outlet:null,matches:y,isDataRoute:!0}}):g()},null)}var c8=function(e){return e.UseBlocker="useBlocker",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e}(c8||{}),u8=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}(u8||{});function Ire(e){let t=m.useContext(Om);return t||mt(!1),t}function Mre(e){let t=m.useContext(a8);return t||mt(!1),t}function Lre(e){let t=m.useContext(Ii);return t||mt(!1),t}function d8(e){let t=Lre(),n=t.matches[t.matches.length-1];return n.route.id||mt(!1),n.route.id}function Nre(){var e;let t=m.useContext(s8),n=Mre(),r=d8();return t!==void 0?t:(e=n.errors)==null?void 0:e[r]}function Dre(){let{router:e}=Ire(c8.UseNavigateStable),t=d8(u8.UseNavigateStable),n=m.useRef(!1);return l8(()=>{n.current=!0}),m.useCallback(function(i,o){o===void 0&&(o={}),n.current&&(typeof i=="number"?e.navigate(i):e.navigate(i,mu({fromRouteId:t},o)))},[e,t])}const m3={};function Ore(e,t,n){m3[e]||(m3[e]=!0)}function Fre(e,t){e==null||e.v7_startTransition,e==null||e.v7_relativeSplatPath}function hu(e){let{to:t,replace:n,state:r,relative:i}=e;xl()||mt(!1);let{future:o,static:a}=m.useContext(Ri),{matches:l}=m.useContext(Ii),{pathname:c}=Ma(),u=Qn(),d=ix(t,rx(l,o.v7_relativeSplatPath),c,i==="path"),f=JSON.stringify(d);return m.useEffect(()=>u(JSON.parse(f),{replace:n,state:r,relative:i}),[u,f,i,n,r]),null}function f8(e){return Pre(e.context)}function Rt(e){mt(!1)}function Bre(e){let{basename:t="/",children:n=null,location:r,navigationType:i=ro.Pop,navigator:o,static:a=!1,future:l}=e;xl()&&mt(!1);let c=t.replace(/^\/*/,"/"),u=m.useMemo(()=>({basename:c,navigator:o,static:a,future:mu({v7_relativeSplatPath:!1},l)}),[c,l,o,a]);typeof r=="string"&&(r=bl(r));let{pathname:d="/",search:f="",hash:p="",state:h=null,key:v="default"}=r,b=m.useMemo(()=>{let x=ol(d,c);return x==null?null:{location:{pathname:x,search:f,hash:p,state:h,key:v},navigationType:i}},[c,d,f,p,h,v,i]);return b==null?null:m.createElement(Ri.Provider,{value:u},m.createElement(Fm.Provider,{children:n,value:b}))}function Wre(e){let{children:t,location:n}=e;return _re(Ov(t),n)}new Promise(()=>{});function Ov(e,t){t===void 0&&(t=[]);let n=[];return m.Children.forEach(e,(r,i)=>{if(!m.isValidElement(r))return;let o=[...t,i];if(r.type===m.Fragment){n.push.apply(n,Ov(r.props.children,o));return}r.type!==Rt&&mt(!1),!r.props.index||!r.props.children||mt(!1);let a={id:r.props.id||o.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&&(a.children=Ov(r.props.children,o)),n.push(a)}),n}/**
|
||
* React Router DOM v6.30.4
|
||
*
|
||
* Copyright (c) Remix Software Inc.
|
||
*
|
||
* This source code is licensed under the MIT license found in the
|
||
* LICENSE.md file in the root directory of this source tree.
|
||
*
|
||
* @license MIT
|
||
*/function Rp(){return Rp=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Rp.apply(null,arguments)}function p8(e,t){if(e==null)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(t.indexOf(r)!==-1)continue;n[r]=e[r]}return n}function Vre(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}function Ure(e,t){return e.button===0&&(!t||t==="_self")&&!Vre(e)}const Hre=["onClick","relative","reloadDocument","replace","state","target","to","preventScrollReset","viewTransition"],Gre=["aria-current","caseSensitive","className","end","style","to","viewTransition","children"],Kre="6";try{window.__reactRouterVersion=Kre}catch{}const qre=m.createContext({isTransitioning:!1}),Xre="startTransition",h3=U0[Xre];function Yre(e){let{basename:t,children:n,future:r,window:i}=e,o=m.useRef();o.current==null&&(o.current=Qne({window:i,v5Compat:!0}));let a=o.current,[l,c]=m.useState({action:a.action,location:a.location}),{v7_startTransition:u}=r||{},d=m.useCallback(f=>{u&&h3?h3(()=>c(f)):c(f)},[c,u]);return m.useLayoutEffect(()=>a.listen(d),[a,d]),m.useEffect(()=>Fre(r),[r]),m.createElement(Bre,{basename:t,children:n,location:l.location,navigationType:l.action,navigator:a,future:r})}const Qre=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",Zre=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,Zt=m.forwardRef(function(t,n){let{onClick:r,relative:i,reloadDocument:o,replace:a,state:l,target:c,to:u,preventScrollReset:d,viewTransition:f}=t,p=p8(t,Hre),{basename:h}=m.useContext(Ri),v,b=!1;if(typeof u=="string"&&Zre.test(u)&&(v=u,Qre))try{let S=new URL(window.location.href),w=u.startsWith("//")?new URL(S.protocol+u):new URL(u),k=ol(w.pathname,h);w.origin===S.origin&&k!=null?u=k+w.search+w.hash:b=!0}catch{}let x=kre(u,{relative:i}),y=eie(u,{replace:a,state:l,target:c,preventScrollReset:d,relative:i,viewTransition:f});function g(S){r&&r(S),S.defaultPrevented||y(S)}return m.createElement("a",Rp({},p,{href:v||x,onClick:b||o?r:g,ref:n,target:c}))}),m8=m.forwardRef(function(t,n){let{"aria-current":r="page",caseSensitive:i=!1,className:o="",end:a=!1,style:l,to:c,viewTransition:u,children:d}=t,f=p8(t,Gre),p=Bm(c,{relative:f.relative}),h=Ma(),v=m.useContext(a8),{navigator:b,basename:x}=m.useContext(Ri),y=v!=null&&tie(p)&&u===!0,g=b.encodeLocation?b.encodeLocation(p).pathname:p.pathname,S=h.pathname,w=v&&v.navigation&&v.navigation.location?v.navigation.location.pathname:null;i||(S=S.toLowerCase(),w=w?w.toLowerCase():null,g=g.toLowerCase()),w&&x&&(w=ol(w,x)||w);const k=g!=="/"&&g.endsWith("/")?g.length-1:g.length;let P=S===g||!a&&S.startsWith(g)&&S.charAt(k)==="/",_=w!=null&&(w===g||!a&&w.startsWith(g)&&w.charAt(g.length)==="/"),j={isActive:P,isPending:_,isTransitioning:y},z=P?r:void 0,$;typeof o=="function"?$=o(j):$=[o,P?"active":null,_?"pending":null,y?"transitioning":null].filter(Boolean).join(" ");let W=typeof l=="function"?l(j):l;return m.createElement(Zt,Rp({},f,{"aria-current":z,className:$,ref:n,style:W,to:c,viewTransition:u}),typeof d=="function"?d(j):d)});var Fv;(function(e){e.UseScrollRestoration="useScrollRestoration",e.UseSubmit="useSubmit",e.UseSubmitFetcher="useSubmitFetcher",e.UseFetcher="useFetcher",e.useViewTransitionState="useViewTransitionState"})(Fv||(Fv={}));var g3;(function(e){e.UseFetcher="useFetcher",e.UseFetchers="useFetchers",e.UseScrollRestoration="useScrollRestoration"})(g3||(g3={}));function Jre(e){let t=m.useContext(Om);return t||mt(!1),t}function eie(e,t){let{target:n,replace:r,state:i,preventScrollReset:o,relative:a,viewTransition:l}=t===void 0?{}:t,c=Qn(),u=Ma(),d=Bm(e,{relative:a});return m.useCallback(f=>{if(Ure(f,n)){f.preventDefault();let p=r!==void 0?r:zp(u)===zp(d);c(e,{replace:p,state:i,preventScrollReset:o,relative:a,viewTransition:l})}},[u,c,d,r,i,n,e,o,a,l])}function tie(e,t){t===void 0&&(t={});let n=m.useContext(qre);n==null&&mt(!1);let{basename:r}=Jre(Fv.useViewTransitionState),i=Bm(e,{relative:t.relative});if(!n.isTransitioning)return!1;let o=ol(n.currentLocation.pathname,r)||n.currentLocation.pathname,a=ol(n.nextLocation.pathname,r)||n.nextLocation.pathname;return Dv(i.pathname,a)!=null||Dv(i.pathname,o)!=null}const nie=[{title:"Gestion de commandes",desc:"Client, admin, cabine, livreur — un flux complet de bout en bout."},{title:"Livraison temps réel",desc:"GPS, auto-assignation des livreurs, ETA et navigation."},{title:"Paiements & notifications",desc:"NowPayments (crypto), Telegram."},{title:"Sécurisé par design",desc:"Sécurité maximale avec RBAC, TLSv3, WAF et isolation de chaque plateforme."}];function rie(){return s.jsxs(ne,{children:[s.jsx(ne,{bgGradient:"linear(to-b, blackAlpha.50, transparent)",py:{base:16,md:24},children:s.jsx(fn,{maxW:"container.lg",children:s.jsxs(we,{spacing:6,textAlign:"center",align:"center",children:[s.jsx(ct,{size:"2xl",children:"La plateforme de gestion de commandes & livraison"}),s.jsx(K,{fontSize:"xl",color:"gray.600",maxW:"2xl",children:"Testez la solution complète en conditions réelles. Une démo isolée, déployée en un clic, disponible pendant 30 jours."}),s.jsxs(we,{direction:{base:"column",sm:"row"},spacing:4,w:{base:"full",sm:"auto"},children:[s.jsx(xe,{as:Zt,to:"/register",colorScheme:"primary",size:"lg",w:{base:"full",sm:"auto"},children:"Créer un compte"}),s.jsx(xe,{as:Zt,to:"/tarifs",variant:"outline",size:"lg",w:{base:"full",sm:"auto"},children:"Voir les tarifs"})]})]})})}),s.jsx(fn,{maxW:"container.lg",py:16,children:s.jsx(bn,{columns:{base:1,md:2},spacing:8,children:nie.map(e=>s.jsxs(ne,{p:6,borderWidth:"1px",borderRadius:"lg",children:[s.jsx(ct,{size:"md",mb:2,children:e.title}),s.jsx(K,{color:"gray.600",children:e.desc})]},e.title))})})]})}const h8="https://t.me/OMNEX_CORP",iie=[{name:"Démo",price:"Gratuit",period:"30 jours",description:"Une instance isolée et complète pour évaluer la solution.",features:["Plateforme complète en conditions réelles","Environnement dédié et isolé","Accompagnement commercial"],cta:"Créer un compte",ctaHref:"/register"},{name:"Premium",price:"Sur devis",period:"",description:"Passez en production : votre démo n'expire plus.",features:["Tout ce qui est inclus dans Démo","Support prioritaire","Domaine personnalisable à la demande","Sauvegarde constante et sécurisée","Haute disponibilité"],cta:"Nous contacter",ctaHref:h8,ctaExternal:!0,highlighted:!0}];function oie(){return s.jsxs(fn,{maxW:"container.lg",py:{base:12,md:20},children:[s.jsxs(we,{spacing:4,textAlign:"center",mb:12,align:"center",children:[s.jsx(ct,{size:"2xl",children:"Tarifs"}),s.jsx(K,{fontSize:"lg",color:"gray.600",maxW:"2xl",children:"Commencez par une démo gratuite de 30 jours, puis passez en premium quand vous êtes prêt."})]}),s.jsx(bn,{columns:{base:1,md:2},spacing:8,alignItems:"stretch",maxW:"2xl",mx:"auto",children:iie.map(e=>s.jsx(aie,{plan:e},e.name))}),s.jsxs(K,{textAlign:"center",color:"gray.500",mt:10,fontSize:"sm",children:["Besoin d'un devis précis ?"," ",s.jsx(sie,{href:h8,children:"Contactez-nous"})," — un commercial vous recontacte."]})]})}function aie({plan:e}){return s.jsxs(we,{spacing:6,p:8,borderWidth:e.highlighted?"2px":"1px",borderColor:e.highlighted?"primary.500":"inherit",borderRadius:"xl",position:"relative",boxShadow:e.highlighted?"lg":"sm",bg:"bg-surface",children:[e.highlighted&&s.jsx(dn,{colorScheme:"primary",position:"absolute",top:-3,left:"50%",transform:"translateX(-50%)",px:3,py:1,borderRadius:"full",children:"Le plus choisi"}),s.jsxs(ne,{children:[s.jsx(ct,{size:"md",children:e.name}),s.jsx(K,{color:"gray.500",mt:1,fontSize:"sm",children:e.description})]}),s.jsxs(ge,{align:"baseline",spacing:2,children:[s.jsx(K,{fontSize:"3xl",fontWeight:"bold",children:e.price}),e.period&&s.jsxs(K,{color:"gray.500",children:["/ ",e.period]})]}),s.jsx(Mu,{spacing:3,flex:"1",children:e.features.map(t=>s.jsxs(Ab,{display:"flex",alignItems:"flex-start",children:[s.jsx(At,{as:lie,color:"primary.500",mt:1,mr:2}),s.jsx(K,{fontSize:"sm",children:t})]},t))}),e.ctaExternal?s.jsx(xe,{as:"a",href:e.ctaHref,target:"_blank",rel:"noopener noreferrer",colorScheme:"primary",variant:e.highlighted?"solid":"outline",size:"lg",children:e.cta}):s.jsx(xe,{as:Zt,to:e.ctaHref,colorScheme:"primary",variant:e.highlighted?"solid":"outline",size:"lg",children:e.cta})]})}function sie({href:e,children:t}){return s.jsx(ne,{as:"a",href:e,target:"_blank",rel:"noopener noreferrer",color:"primary.500",fontWeight:"medium",display:"inline",children:t})}function lie(e){return s.jsx(At,{viewBox:"0 0 20 20",fill:"currentColor",...e,children:s.jsx("path",{fillRule:"evenodd",d:"M16.7 5.3a1 1 0 010 1.4l-7.5 7.5a1 1 0 01-1.4 0L3.3 9.7a1 1 0 011.4-1.4l3.8 3.8 6.8-6.8a1 1 0 011.4 0z",clipRule:"evenodd"})})}/*!
|
||
* Font Awesome Free 7.3.1 by @fontawesome - https://fontawesome.com
|
||
* License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License)
|
||
* Copyright 2026 Fonticons, Inc.
|
||
*/function Bv(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function cie(e){if(Array.isArray(e))return e}function uie(e){if(Array.isArray(e))return Bv(e)}function die(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function fie(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,g8(r.key),r)}}function pie(e,t,n){return t&&fie(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e}function Lf(e,t){var n=typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=ox(e))||t){n&&(e=n);var r=0,i=function(){};return{s:i,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(c){throw c},f:i}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
|
||
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var o,a=!0,l=!1;return{s:function(){n=n.call(e)},n:function(){var c=n.next();return a=c.done,c},e:function(c){l=!0,o=c},f:function(){try{a||n.return==null||n.return()}finally{if(l)throw o}}}}function me(e,t,n){return(t=g8(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function mie(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function hie(e,t){var n=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(n!=null){var r,i,o,a,l=[],c=!0,u=!1;try{if(o=(n=n.call(e)).next,t===0){if(Object(n)!==n)return;c=!1}else for(;!(c=(r=o.call(n)).done)&&(l.push(r.value),l.length!==t);c=!0);}catch(d){u=!0,i=d}finally{try{if(!c&&n.return!=null&&(a=n.return(),Object(a)!==a))return}finally{if(u)throw i}}return l}}function gie(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
||
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function vie(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
|
||
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function v3(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function H(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?v3(Object(n),!0).forEach(function(r){me(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):v3(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function Wm(e,t){return cie(e)||hie(e,t)||ox(e,t)||gie()}function Ar(e){return uie(e)||mie(e)||ox(e)||vie()}function yie(e,t){if(typeof e!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t);if(typeof r!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function g8(e){var t=yie(e,"string");return typeof t=="symbol"?t:t+""}function Ip(e){"@babel/helpers - typeof";return Ip=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Ip(e)}function ox(e,t){if(e){if(typeof e=="string")return Bv(e,t);var n={}.toString.call(e).slice(8,-1);return n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set"?Array.from(e):n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Bv(e,t):void 0}}var y3=function(){},ax={},v8={},y8=null,b8={mark:y3,measure:y3};try{typeof window<"u"&&(ax=window),typeof document<"u"&&(v8=document),typeof MutationObserver<"u"&&(y8=MutationObserver),typeof performance<"u"&&(b8=performance)}catch{}var bie=ax.navigator||{},b3=bie.userAgent,x3=b3===void 0?"":b3,xo=ax,rt=v8,S3=y8,Hd=b8;xo.document;var Mi=!!rt.documentElement&&!!rt.head&&typeof rt.addEventListener=="function"&&typeof rt.createElement=="function",x8=~x3.indexOf("MSIE")||~x3.indexOf("Trident/"),Gd,xie=/fa(k|kd|s|r|l|t|d|dr|dl|dt|b|slr|slpr|wsb|tl|ns|nds|es|gt|jr|jfr|jdr|usb|ufsb|udsb|cr|ss|sr|sl|st|sds|sdr|sdl|sdt|sldr|slpdr|pr|ms|vs)?[\-\ ]/,Sie=/Font ?Awesome ?([567 ]*)(Solid|Regular|Light|Thin|Duotone|Brands|Free|Pro|Sharp Duotone|Sharp|Kit|Notdog Duo|Notdog|Chisel|Etch|Graphite|Thumbprint|Jelly Fill|Jelly Duo|Jelly|Utility|Utility Fill|Utility Duo|Slab Press|Slab|Slab Duo|Slab Press Duo|Pixel|Mosaic|Vellum|Whiteboard)?.*/i,S8={classic:{fa:"solid",fas:"solid","fa-solid":"solid",far:"regular","fa-regular":"regular",fal:"light","fa-light":"light",fat:"thin","fa-thin":"thin",fab:"brands","fa-brands":"brands"},duotone:{fa:"solid",fad:"solid","fa-solid":"solid","fa-duotone":"solid",fadr:"regular","fa-regular":"regular",fadl:"light","fa-light":"light",fadt:"thin","fa-thin":"thin"},sharp:{fa:"solid",fass:"solid","fa-solid":"solid",fasr:"regular","fa-regular":"regular",fasl:"light","fa-light":"light",fast:"thin","fa-thin":"thin"},"sharp-duotone":{fa:"solid",fasds:"solid","fa-solid":"solid",fasdr:"regular","fa-regular":"regular",fasdl:"light","fa-light":"light",fasdt:"thin","fa-thin":"thin"},slab:{"fa-regular":"regular",faslr:"regular"},"slab-press":{"fa-regular":"regular",faslpr:"regular"},"slab-duo":{"fa-regular":"regular",fasldr:"regular"},"slab-press-duo":{"fa-regular":"regular",faslpdr:"regular"},thumbprint:{"fa-light":"light",fatl:"light"},vellum:{"fa-solid":"solid",favs:"solid"},pixel:{"fa-regular":"regular",fapr:"regular"},mosaic:{"fa-solid":"solid",fams:"solid"},whiteboard:{"fa-semibold":"semibold",fawsb:"semibold"},notdog:{"fa-solid":"solid",fans:"solid"},"notdog-duo":{"fa-solid":"solid",fands:"solid"},etch:{"fa-solid":"solid",faes:"solid"},graphite:{"fa-thin":"thin",fagt:"thin"},jelly:{"fa-regular":"regular",fajr:"regular"},"jelly-fill":{"fa-regular":"regular",fajfr:"regular"},"jelly-duo":{"fa-regular":"regular",fajdr:"regular"},chisel:{"fa-regular":"regular",facr:"regular"},utility:{"fa-semibold":"semibold",fausb:"semibold"},"utility-duo":{"fa-semibold":"semibold",faudsb:"semibold"},"utility-fill":{"fa-semibold":"semibold",faufsb:"semibold"}},wie={GROUP:"duotone-group",PRIMARY:"primary",SECONDARY:"secondary"},w8=["fa-classic","fa-duotone","fa-sharp","fa-sharp-duotone","fa-thumbprint","fa-whiteboard","fa-notdog","fa-notdog-duo","fa-chisel","fa-etch","fa-graphite","fa-jelly","fa-jelly-fill","fa-jelly-duo","fa-slab","fa-slab-press","fa-slab-press-duo","fa-slab-duo","fa-mosaic","fa-pixel","fa-vellum","fa-utility","fa-utility-duo","fa-utility-fill"],tn="classic",Uu="duotone",k8="sharp",C8="sharp-duotone",j8="chisel",P8="etch",_8="graphite",T8="jelly",E8="jelly-duo",A8="jelly-fill",$8="mosaic",z8="notdog",R8="notdog-duo",I8="pixel",M8="slab",L8="slab-duo",N8="slab-press",D8="slab-press-duo",O8="thumbprint",F8="utility",B8="utility-duo",W8="utility-fill",V8="vellum",U8="whiteboard",kie="Classic",Cie="Duotone",jie="Sharp",Pie="Sharp Duotone",_ie="Chisel",Tie="Etch",Eie="Graphite",Aie="Jelly",$ie="Jelly Duo",zie="Jelly Fill",Rie="Mosaic",Iie="Notdog",Mie="Notdog Duo",Lie="Pixel",Nie="Slab",Die="Slab Duo",Oie="Slab Press",Fie="Slab Press Duo",Bie="Thumbprint",Wie="Utility",Vie="Utility Duo",Uie="Utility Fill",Hie="Vellum",Gie="Whiteboard",H8=[tn,Uu,k8,C8,j8,P8,_8,T8,E8,A8,$8,z8,R8,I8,M8,L8,N8,D8,O8,F8,B8,W8,V8,U8];Gd={},me(me(me(me(me(me(me(me(me(me(Gd,tn,kie),Uu,Cie),k8,jie),C8,Pie),j8,_ie),P8,Tie),_8,Eie),T8,Aie),E8,$ie),A8,zie),me(me(me(me(me(me(me(me(me(me(Gd,$8,Rie),z8,Iie),R8,Mie),I8,Lie),M8,Nie),L8,Die),N8,Oie),D8,Fie),O8,Bie),F8,Wie),me(me(me(me(Gd,B8,Vie),W8,Uie),V8,Hie),U8,Gie);var Kie={classic:{900:"fas",400:"far",normal:"far",300:"fal",100:"fat"},duotone:{900:"fad",400:"fadr",300:"fadl",100:"fadt"},sharp:{900:"fass",400:"fasr",300:"fasl",100:"fast"},"sharp-duotone":{900:"fasds",400:"fasdr",300:"fasdl",100:"fasdt"},slab:{400:"faslr"},"slab-press":{400:"faslpr"},"slab-duo":{400:"fasldr"},"slab-press-duo":{400:"faslpdr"},vellum:{900:"favs"},mosaic:{900:"fams"},pixel:{400:"fapr"},whiteboard:{600:"fawsb"},thumbprint:{300:"fatl"},notdog:{900:"fans"},"notdog-duo":{900:"fands"},etch:{900:"faes"},graphite:{100:"fagt"},chisel:{400:"facr"},jelly:{400:"fajr"},"jelly-fill":{400:"fajfr"},"jelly-duo":{400:"fajdr"},utility:{600:"fausb"},"utility-duo":{600:"faudsb"},"utility-fill":{600:"faufsb"}},qie={"Font Awesome 7 Free":{900:"fas",400:"far"},"Font Awesome 7 Pro":{900:"fas",400:"far",normal:"far",300:"fal",100:"fat"},"Font Awesome 7 Brands":{400:"fab",normal:"fab"},"Font Awesome 7 Duotone":{900:"fad",400:"fadr",normal:"fadr",300:"fadl",100:"fadt"},"Font Awesome 7 Sharp":{900:"fass",400:"fasr",normal:"fasr",300:"fasl",100:"fast"},"Font Awesome 7 Sharp Duotone":{900:"fasds",400:"fasdr",normal:"fasdr",300:"fasdl",100:"fasdt"},"Font Awesome 7 Jelly":{400:"fajr",normal:"fajr"},"Font Awesome 7 Jelly Fill":{400:"fajfr",normal:"fajfr"},"Font Awesome 7 Jelly Duo":{400:"fajdr",normal:"fajdr"},"Font Awesome 7 Slab":{400:"faslr",normal:"faslr"},"Font Awesome 7 Slab Press":{400:"faslpr",normal:"faslpr"},"Font Awesome 7 Slab Duo":{400:"fasldr",normal:"fasldr"},"Font Awesome 7 Slab Press Duo":{400:"faslpdr",normal:"faslpdr"},"Font Awesome 7 Pixel":{400:"fapr",normal:"fapr"},"Font Awesome 7 Mosaic":{900:"fams",normal:"fams"},"Font Awesome 7 Vellum":{900:"favs",normal:"favs"},"Font Awesome 7 Thumbprint":{300:"fatl",normal:"fatl"},"Font Awesome 7 Notdog":{900:"fans",normal:"fans"},"Font Awesome 7 Notdog Duo":{900:"fands",normal:"fands"},"Font Awesome 7 Etch":{900:"faes",normal:"faes"},"Font Awesome 7 Graphite":{100:"fagt",normal:"fagt"},"Font Awesome 7 Chisel":{400:"facr",normal:"facr"},"Font Awesome 7 Whiteboard":{600:"fawsb",normal:"fawsb"},"Font Awesome 7 Utility":{600:"fausb",normal:"fausb"},"Font Awesome 7 Utility Duo":{600:"faudsb",normal:"faudsb"},"Font Awesome 7 Utility Fill":{600:"faufsb",normal:"faufsb"}},Xie=new Map([["classic",{defaultShortPrefixId:"fas",defaultStyleId:"solid",styleIds:["solid","regular","light","thin","brands"],futureStyleIds:[],defaultFontWeight:900}],["duotone",{defaultShortPrefixId:"fad",defaultStyleId:"solid",styleIds:["solid","regular","light","thin"],futureStyleIds:[],defaultFontWeight:900}],["sharp",{defaultShortPrefixId:"fass",defaultStyleId:"solid",styleIds:["solid","regular","light","thin"],futureStyleIds:[],defaultFontWeight:900}],["sharp-duotone",{defaultShortPrefixId:"fasds",defaultStyleId:"solid",styleIds:["solid","regular","light","thin"],futureStyleIds:[],defaultFontWeight:900}],["chisel",{defaultShortPrefixId:"facr",defaultStyleId:"regular",styleIds:["regular"],futureStyleIds:[],defaultFontWeight:400}],["etch",{defaultShortPrefixId:"faes",defaultStyleId:"solid",styleIds:["solid"],futureStyleIds:[],defaultFontWeight:900}],["graphite",{defaultShortPrefixId:"fagt",defaultStyleId:"thin",styleIds:["thin"],futureStyleIds:[],defaultFontWeight:100}],["jelly",{defaultShortPrefixId:"fajr",defaultStyleId:"regular",styleIds:["regular"],futureStyleIds:[],defaultFontWeight:400}],["jelly-duo",{defaultShortPrefixId:"fajdr",defaultStyleId:"regular",styleIds:["regular"],futureStyleIds:[],defaultFontWeight:400}],["jelly-fill",{defaultShortPrefixId:"fajfr",defaultStyleId:"regular",styleIds:["regular"],futureStyleIds:[],defaultFontWeight:400}],["mosaic",{defaultShortPrefixId:"fams",defaultStyleId:"solid",styleIds:["solid"],futureStyleIds:[],defaultFontWeight:900}],["notdog",{defaultShortPrefixId:"fans",defaultStyleId:"solid",styleIds:["solid"],futureStyleIds:[],defaultFontWeight:900}],["notdog-duo",{defaultShortPrefixId:"fands",defaultStyleId:"solid",styleIds:["solid"],futureStyleIds:[],defaultFontWeight:900}],["pixel",{defaultShortPrefixId:"fapr",defaultStyleId:"regular",styleIds:["regular"],futureStyleIds:[],defaultFontWeight:400}],["slab",{defaultShortPrefixId:"faslr",defaultStyleId:"regular",styleIds:["regular"],futureStyleIds:[],defaultFontWeight:400}],["slab-duo",{defaultShortPrefixId:"fasldr",defaultStyleId:"regular",styleIds:["regular"],futureStyleIds:[],defaultFontWeight:400}],["slab-press",{defaultShortPrefixId:"faslpr",defaultStyleId:"regular",styleIds:["regular"],futureStyleIds:[],defaultFontWeight:400}],["slab-press-duo",{defaultShortPrefixId:"faslpdr",defaultStyleId:"regular",styleIds:["regular"],futureStyleIds:[],defaultFontWeight:400}],["thumbprint",{defaultShortPrefixId:"fatl",defaultStyleId:"light",styleIds:["light"],futureStyleIds:[],defaultFontWeight:300}],["utility",{defaultShortPrefixId:"fausb",defaultStyleId:"semibold",styleIds:["semibold"],futureStyleIds:[],defaultFontWeight:600}],["utility-duo",{defaultShortPrefixId:"faudsb",defaultStyleId:"semibold",styleIds:["semibold"],futureStyleIds:[],defaultFontWeight:600}],["utility-fill",{defaultShortPrefixId:"faufsb",defaultStyleId:"semibold",styleIds:["semibold"],futureStyleIds:[],defaultFontWeight:600}],["vellum",{defaultShortPrefixId:"favs",defaultStyleId:"solid",styleIds:["solid"],futureStyleIds:[],defaultFontWeight:900}],["whiteboard",{defaultShortPrefixId:"fawsb",defaultStyleId:"semibold",styleIds:["semibold"],futureStyleIds:[],defaultFontWeight:600}]]),Yie={chisel:{regular:"facr"},classic:{brands:"fab",light:"fal",regular:"far",solid:"fas",thin:"fat"},duotone:{light:"fadl",regular:"fadr",solid:"fad",thin:"fadt"},etch:{solid:"faes"},graphite:{thin:"fagt"},jelly:{regular:"fajr"},"jelly-duo":{regular:"fajdr"},"jelly-fill":{regular:"fajfr"},mosaic:{solid:"fams"},notdog:{solid:"fans"},"notdog-duo":{solid:"fands"},pixel:{regular:"fapr"},sharp:{light:"fasl",regular:"fasr",solid:"fass",thin:"fast"},"sharp-duotone":{light:"fasdl",regular:"fasdr",solid:"fasds",thin:"fasdt"},slab:{regular:"faslr"},"slab-duo":{regular:"fasldr"},"slab-press":{regular:"faslpr"},"slab-press-duo":{regular:"faslpdr"},thumbprint:{light:"fatl"},utility:{semibold:"fausb"},"utility-duo":{semibold:"faudsb"},"utility-fill":{semibold:"faufsb"},vellum:{solid:"favs"},whiteboard:{semibold:"fawsb"}},G8=["fak","fa-kit","fakd","fa-kit-duotone"],w3={kit:{fak:"kit","fa-kit":"kit"},"kit-duotone":{fakd:"kit-duotone","fa-kit-duotone":"kit-duotone"}},Qie=["kit"],Zie="kit",Jie="kit-duotone",eoe="Kit",toe="Kit Duotone";me(me({},Zie,eoe),Jie,toe);var noe={kit:{"fa-kit":"fak"}},roe={"Font Awesome Kit":{400:"fak",normal:"fak"},"Font Awesome Kit Duotone":{400:"fakd",normal:"fakd"}},ioe={kit:{fak:"fa-kit"}},k3={kit:{kit:"fak"},"kit-duotone":{"kit-duotone":"fakd"}},Kd,qd={GROUP:"duotone-group",SWAP_OPACITY:"swap-opacity",PRIMARY:"primary",SECONDARY:"secondary"},ooe=["fa-classic","fa-duotone","fa-sharp","fa-sharp-duotone","fa-thumbprint","fa-whiteboard","fa-notdog","fa-notdog-duo","fa-chisel","fa-etch","fa-graphite","fa-jelly","fa-jelly-fill","fa-jelly-duo","fa-slab","fa-slab-press","fa-slab-press-duo","fa-slab-duo","fa-mosaic","fa-pixel","fa-vellum","fa-utility","fa-utility-duo","fa-utility-fill"],aoe="classic",soe="duotone",loe="sharp",coe="sharp-duotone",uoe="chisel",doe="etch",foe="graphite",poe="jelly",moe="jelly-duo",hoe="jelly-fill",goe="mosaic",voe="notdog",yoe="notdog-duo",boe="pixel",xoe="slab",Soe="slab-duo",woe="slab-press",koe="slab-press-duo",Coe="thumbprint",joe="utility",Poe="utility-duo",_oe="utility-fill",Toe="vellum",Eoe="whiteboard",Aoe="Classic",$oe="Duotone",zoe="Sharp",Roe="Sharp Duotone",Ioe="Chisel",Moe="Etch",Loe="Graphite",Noe="Jelly",Doe="Jelly Duo",Ooe="Jelly Fill",Foe="Mosaic",Boe="Notdog",Woe="Notdog Duo",Voe="Pixel",Uoe="Slab",Hoe="Slab Duo",Goe="Slab Press",Koe="Slab Press Duo",qoe="Thumbprint",Xoe="Utility",Yoe="Utility Duo",Qoe="Utility Fill",Zoe="Vellum",Joe="Whiteboard";Kd={},me(me(me(me(me(me(me(me(me(me(Kd,aoe,Aoe),soe,$oe),loe,zoe),coe,Roe),uoe,Ioe),doe,Moe),foe,Loe),poe,Noe),moe,Doe),hoe,Ooe),me(me(me(me(me(me(me(me(me(me(Kd,goe,Foe),voe,Boe),yoe,Woe),boe,Voe),xoe,Uoe),Soe,Hoe),woe,Goe),koe,Koe),Coe,qoe),joe,Xoe),me(me(me(me(Kd,Poe,Yoe),_oe,Qoe),Toe,Zoe),Eoe,Joe);var eae="kit",tae="kit-duotone",nae="Kit",rae="Kit Duotone";me(me({},eae,nae),tae,rae);var iae={classic:{"fa-brands":"fab","fa-duotone":"fad","fa-light":"fal","fa-regular":"far","fa-solid":"fas","fa-thin":"fat"},duotone:{"fa-regular":"fadr","fa-light":"fadl","fa-thin":"fadt"},sharp:{"fa-solid":"fass","fa-regular":"fasr","fa-light":"fasl","fa-thin":"fast"},"sharp-duotone":{"fa-solid":"fasds","fa-regular":"fasdr","fa-light":"fasdl","fa-thin":"fasdt"},slab:{"fa-regular":"faslr"},"slab-press":{"fa-regular":"faslpr"},"slab-duo":{"fa-regular":"fasldr"},"slab-press-duo":{"fa-regular":"faslpdr"},pixel:{"fa-regular":"fapr"},mosaic:{"fa-solid":"fams"},vellum:{"fa-solid":"favs"},whiteboard:{"fa-semibold":"fawsb"},thumbprint:{"fa-light":"fatl"},notdog:{"fa-solid":"fans"},"notdog-duo":{"fa-solid":"fands"},etch:{"fa-solid":"faes"},graphite:{"fa-thin":"fagt"},jelly:{"fa-regular":"fajr"},"jelly-fill":{"fa-regular":"fajfr"},"jelly-duo":{"fa-regular":"fajdr"},chisel:{"fa-regular":"facr"},utility:{"fa-semibold":"fausb"},"utility-duo":{"fa-semibold":"faudsb"},"utility-fill":{"fa-semibold":"faufsb"}},oae={classic:["fas","far","fal","fat","fad"],duotone:["fadr","fadl","fadt"],sharp:["fass","fasr","fasl","fast"],"sharp-duotone":["fasds","fasdr","fasdl","fasdt"],slab:["faslr"],"slab-press":["faslpr"],"slab-duo":["fasldr"],"slab-press-duo":["faslpdr"],pixel:["fapr"],mosaic:["fams"],vellum:["favs"],whiteboard:["fawsb"],thumbprint:["fatl"],notdog:["fans"],"notdog-duo":["fands"],etch:["faes"],graphite:["fagt"],jelly:["fajr"],"jelly-fill":["fajfr"],"jelly-duo":["fajdr"],chisel:["facr"],utility:["fausb"],"utility-duo":["faudsb"],"utility-fill":["faufsb"]},Wv={classic:{fab:"fa-brands",fad:"fa-duotone",fal:"fa-light",far:"fa-regular",fas:"fa-solid",fat:"fa-thin"},duotone:{fadr:"fa-regular",fadl:"fa-light",fadt:"fa-thin"},sharp:{fass:"fa-solid",fasr:"fa-regular",fasl:"fa-light",fast:"fa-thin"},"sharp-duotone":{fasds:"fa-solid",fasdr:"fa-regular",fasdl:"fa-light",fasdt:"fa-thin"},slab:{faslr:"fa-regular"},"slab-press":{faslpr:"fa-regular"},"slab-duo":{fasldr:"fa-regular"},"slab-press-duo":{faslpdr:"fa-regular"},pixel:{fapr:"fa-regular"},mosaic:{fams:"fa-solid"},vellum:{favs:"fa-solid"},whiteboard:{fawsb:"fa-semibold"},thumbprint:{fatl:"fa-light"},notdog:{fans:"fa-solid"},"notdog-duo":{fands:"fa-solid"},etch:{faes:"fa-solid"},graphite:{fagt:"fa-thin"},jelly:{fajr:"fa-regular"},"jelly-fill":{fajfr:"fa-regular"},"jelly-duo":{fajdr:"fa-regular"},chisel:{facr:"fa-regular"},utility:{fausb:"fa-semibold"},"utility-duo":{faudsb:"fa-semibold"},"utility-fill":{faufsb:"fa-semibold"}},aae=["fa-solid","fa-regular","fa-light","fa-thin","fa-duotone","fa-brands","fa-semibold"],K8=["fa","fas","far","fal","fat","fad","fadr","fadl","fadt","fab","fass","fasr","fasl","fast","fasds","fasdr","fasdl","fasdt","faslr","faslpr","fasldr","faslpdr","fapr","fams","favs","fawsb","fatl","fans","fands","faes","fagt","fajr","fajfr","fajdr","facr","fausb","faudsb","faufsb"].concat(ooe,aae),sae=["solid","regular","light","thin","duotone","brands","semibold"],q8=[1,2,3,4,5,6,7,8,9,10],lae=q8.concat([11,12,13,14,15,16,17,18,19,20]),cae=["aw","fw","pull-left","pull-right"],uae=[].concat(Ar(Object.keys(oae)),sae,cae,["2xs","xs","sm","lg","xl","2xl","beat","beat-fade","border","bounce","buzz","canvas-square","canvas-roomy","fade","flip-360","flip-both","flip-horizontal","flip-vertical","flip","float","inverse","jello","layers","layers-bottom-left","layers-bottom-right","layers-counter","layers-text","layers-top-left","layers-top-right","li","pull-end","pull-start","pulse","rotate-180","rotate-270","rotate-90","rotate-by","shake","spin-pulse","spin-reverse","spin","spin-snap","spin-snap-4","spin-snap-8","stack-1x","stack-2x","stack","swing","ul","wag","width-auto","width-fixed",qd.GROUP,qd.SWAP_OPACITY,qd.PRIMARY,qd.SECONDARY]).concat(q8.map(function(e){return"".concat(e,"x")})).concat(lae.map(function(e){return"w-".concat(e)})),dae={"Font Awesome 5 Free":{900:"fas",400:"far"},"Font Awesome 5 Pro":{900:"fas",400:"far",normal:"far",300:"fal"},"Font Awesome 5 Brands":{400:"fab",normal:"fab"},"Font Awesome 5 Duotone":{900:"fad"}},Ti="___FONT_AWESOME___",Vv=16,X8="fa",Y8="svg-inline--fa",Pa="data-fa-i2svg",Uv="data-fa-pseudo-element",fae="data-fa-pseudo-element-pending",sx="data-prefix",lx="data-icon",C3="fontawesome-i2svg",pae="async",mae=["HTML","HEAD","STYLE","SCRIPT"],Q8=["::before","::after",":before",":after"],Z8=function(){try{return!0}catch{return!1}}();function Hu(e){return new Proxy(e,{get:function(n,r){return r in n?n[r]:n[tn]}})}var J8=H({},S8);J8[tn]=H(H(H(H({},{"fa-duotone":"duotone"}),S8[tn]),w3.kit),w3["kit-duotone"]);var hae=Hu(J8),Hv=H({},Yie);Hv[tn]=H(H(H(H({},{duotone:"fad"}),Hv[tn]),k3.kit),k3["kit-duotone"]);var j3=Hu(Hv),Gv=H({},Wv);Gv[tn]=H(H({},Gv[tn]),ioe.kit);var cx=Hu(Gv),Kv=H({},iae);Kv[tn]=H(H({},Kv[tn]),noe.kit);Hu(Kv);var gae=xie,e7="fa-layers-text",vae=Sie,yae=H({},Kie);Hu(yae);var bae=["class","data-prefix","data-icon","data-fa-transform","data-fa-mask"],z0=wie,xae=[].concat(Ar(Qie),Ar(uae)),Pc=xo.FontAwesomeConfig||{};function Sae(e){var t=rt.querySelector("script["+e+"]");if(t)return t.getAttribute(e)}function wae(e){return e===""?!0:e==="false"?!1:e==="true"?!0:e}if(rt&&typeof rt.querySelector=="function"){var kae=[["data-family-prefix","familyPrefix"],["data-css-prefix","cssPrefix"],["data-family-default","familyDefault"],["data-style-default","styleDefault"],["data-replacement-class","replacementClass"],["data-auto-replace-svg","autoReplaceSvg"],["data-auto-add-css","autoAddCss"],["data-search-pseudo-elements","searchPseudoElements"],["data-search-pseudo-elements-warnings","searchPseudoElementsWarnings"],["data-search-pseudo-elements-full-scan","searchPseudoElementsFullScan"],["data-observe-mutations","observeMutations"],["data-mutate-approach","mutateApproach"],["data-keep-original-source","keepOriginalSource"],["data-measure-performance","measurePerformance"],["data-show-missing-icons","showMissingIcons"]];kae.forEach(function(e){var t=Wm(e,2),n=t[0],r=t[1],i=wae(Sae(n));i!=null&&(Pc[r]=i)})}var t7={styleDefault:"solid",familyDefault:tn,cssPrefix:X8,replacementClass:Y8,autoReplaceSvg:!0,autoAddCss:!0,searchPseudoElements:!1,searchPseudoElementsWarnings:!0,searchPseudoElementsFullScan:!1,observeMutations:!0,mutateApproach:"async",keepOriginalSource:!0,measurePerformance:!1,showMissingIcons:!0};Pc.familyPrefix&&(Pc.cssPrefix=Pc.familyPrefix);var al=H(H({},t7),Pc);al.autoReplaceSvg||(al.observeMutations=!1);var pe={};Object.keys(t7).forEach(function(e){Object.defineProperty(pe,e,{enumerable:!0,set:function(n){al[e]=n,_c.forEach(function(r){return r(pe)})},get:function(){return al[e]}})});Object.defineProperty(pe,"familyPrefix",{enumerable:!0,set:function(t){al.cssPrefix=t,_c.forEach(function(n){return n(pe)})},get:function(){return al.cssPrefix}});xo.FontAwesomeConfig=pe;var _c=[];function Cae(e){return _c.push(e),function(){_c.splice(_c.indexOf(e),1)}}var Ha=Vv,Ur={size:16,x:0,y:0,rotate:0,flipX:!1,flipY:!1};function jae(e){if(!(!e||!Mi)){var t=rt.createElement("style");t.setAttribute("type","text/css"),t.innerHTML=e;for(var n=rt.head.childNodes,r=null,i=n.length-1;i>-1;i--){var o=n[i],a=(o.tagName||"").toUpperCase();["STYLE","LINK"].indexOf(a)>-1&&(r=o)}return rt.head.insertBefore(t,r),e}}var Pae="0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ";function P3(){for(var e=12,t="";e-- >0;)t+=Pae[Math.random()*62|0];return t}function Sl(e){for(var t=[],n=(e||[]).length>>>0;n--;)t[n]=e[n];return t}function ux(e){return e.classList?Sl(e.classList):(e.getAttribute("class")||"").split(" ").filter(function(t){return t})}function n7(e){return"".concat(e).replace(/&/g,"&").replace(/"/g,""").replace(/'/g,"'").replace(/</g,"<").replace(/>/g,">")}function _ae(e){return Object.keys(e||{}).reduce(function(t,n){return t+"".concat(n,'="').concat(n7(e[n]),'" ')},"").trim()}function Vm(e){return Object.keys(e||{}).reduce(function(t,n){return t+"".concat(n,": ").concat(e[n].trim(),";")},"")}function dx(e){return e.size!==Ur.size||e.x!==Ur.x||e.y!==Ur.y||e.rotate!==Ur.rotate||e.flipX||e.flipY}function Tae(e){var t=e.transform,n=e.containerWidth,r=e.iconWidth,i={transform:"translate(".concat(n/2," 256)")},o="translate(".concat(t.x*32,", ").concat(t.y*32,") "),a="scale(".concat(t.size/16*(t.flipX?-1:1),", ").concat(t.size/16*(t.flipY?-1:1),") "),l="rotate(".concat(t.rotate," 0 0)"),c={transform:"".concat(o," ").concat(a," ").concat(l)},u={transform:"translate(".concat(r/2*-1," -256)")};return{outer:i,inner:c,path:u}}function Eae(e){var t=e.transform,n=e.width,r=n===void 0?Vv:n,i=e.height,o=i===void 0?Vv:i,a="";return x8?a+="translate(".concat(t.x/Ha-r/2,"em, ").concat(t.y/Ha-o/2,"em) "):a+="translate(calc(-50% + ".concat(t.x/Ha,"em), calc(-50% + ").concat(t.y/Ha,"em)) "),a+="scale(".concat(t.size/Ha*(t.flipX?-1:1),", ").concat(t.size/Ha*(t.flipY?-1:1),") "),a+="rotate(".concat(t.rotate,"deg) "),a}var Aae=`:root, :host {
|
||
--fa-font-solid: normal 900 1em/1 'Font Awesome 7 Free';
|
||
--fa-font-regular: normal 400 1em/1 'Font Awesome 7 Free';
|
||
--fa-font-light: normal 300 1em/1 'Font Awesome 7 Pro';
|
||
--fa-font-thin: normal 100 1em/1 'Font Awesome 7 Pro';
|
||
--fa-font-duotone: normal 900 1em/1 'Font Awesome 7 Duotone';
|
||
--fa-font-duotone-regular: normal 400 1em/1 'Font Awesome 7 Duotone';
|
||
--fa-font-duotone-light: normal 300 1em/1 'Font Awesome 7 Duotone';
|
||
--fa-font-duotone-thin: normal 100 1em/1 'Font Awesome 7 Duotone';
|
||
--fa-font-brands: normal 400 1em/1 'Font Awesome 7 Brands';
|
||
--fa-font-sharp-solid: normal 900 1em/1 'Font Awesome 7 Sharp';
|
||
--fa-font-sharp-regular: normal 400 1em/1 'Font Awesome 7 Sharp';
|
||
--fa-font-sharp-light: normal 300 1em/1 'Font Awesome 7 Sharp';
|
||
--fa-font-sharp-thin: normal 100 1em/1 'Font Awesome 7 Sharp';
|
||
--fa-font-sharp-duotone-solid: normal 900 1em/1 'Font Awesome 7 Sharp Duotone';
|
||
--fa-font-sharp-duotone-regular: normal 400 1em/1 'Font Awesome 7 Sharp Duotone';
|
||
--fa-font-sharp-duotone-light: normal 300 1em/1 'Font Awesome 7 Sharp Duotone';
|
||
--fa-font-sharp-duotone-thin: normal 100 1em/1 'Font Awesome 7 Sharp Duotone';
|
||
--fa-font-slab-regular: normal 400 1em/1 'Font Awesome 7 Slab';
|
||
--fa-font-slab-press-regular: normal 400 1em/1 'Font Awesome 7 Slab Press';
|
||
--fa-font-slab-duo-regular: normal 400 1em/1 'Font Awesome 7 Slab Duo';
|
||
--fa-font-slab-press-duo-regular: normal 400 1em/1 'Font Awesome 7 Slab Press Duo';
|
||
--fa-font-pixel-regular: normal 400 1em/1 'Font Awesome 7 Pixel';
|
||
--fa-font-mosaic-solid: normal 900 1em/1 'Font Awesome 7 Mosaic';
|
||
--fa-font-vellum-solid: normal 900 1em/1 'Font Awesome 7 Vellum';
|
||
--fa-font-whiteboard-semibold: normal 600 1em/1 'Font Awesome 7 Whiteboard';
|
||
--fa-font-thumbprint-light: normal 300 1em/1 'Font Awesome 7 Thumbprint';
|
||
--fa-font-notdog-solid: normal 900 1em/1 'Font Awesome 7 Notdog';
|
||
--fa-font-notdog-duo-solid: normal 900 1em/1 'Font Awesome 7 Notdog Duo';
|
||
--fa-font-etch-solid: normal 900 1em/1 'Font Awesome 7 Etch';
|
||
--fa-font-graphite-thin: normal 100 1em/1 'Font Awesome 7 Graphite';
|
||
--fa-font-jelly-regular: normal 400 1em/1 'Font Awesome 7 Jelly';
|
||
--fa-font-jelly-fill-regular: normal 400 1em/1 'Font Awesome 7 Jelly Fill';
|
||
--fa-font-jelly-duo-regular: normal 400 1em/1 'Font Awesome 7 Jelly Duo';
|
||
--fa-font-chisel-regular: normal 400 1em/1 'Font Awesome 7 Chisel';
|
||
--fa-font-utility-semibold: normal 600 1em/1 'Font Awesome 7 Utility';
|
||
--fa-font-utility-duo-semibold: normal 600 1em/1 'Font Awesome 7 Utility Duo';
|
||
--fa-font-utility-fill-semibold: normal 600 1em/1 'Font Awesome 7 Utility Fill';
|
||
}
|
||
|
||
.svg-inline--fa {
|
||
box-sizing: content-box;
|
||
display: var(--fa-display, inline-block);
|
||
height: 1em;
|
||
overflow: visible;
|
||
vertical-align: -0.125em;
|
||
width: var(--fa-width, 1.25em);
|
||
}
|
||
.svg-inline--fa.fa-2xs {
|
||
vertical-align: 0.1em;
|
||
}
|
||
.svg-inline--fa.fa-xs {
|
||
vertical-align: 0em;
|
||
}
|
||
.svg-inline--fa.fa-sm {
|
||
vertical-align: -0.0714285714em;
|
||
}
|
||
.svg-inline--fa.fa-lg {
|
||
vertical-align: -0.2em;
|
||
}
|
||
.svg-inline--fa.fa-xl {
|
||
vertical-align: -0.25em;
|
||
}
|
||
.svg-inline--fa.fa-2xl {
|
||
vertical-align: -0.3125em;
|
||
}
|
||
.svg-inline--fa.fa-pull-left,
|
||
.svg-inline--fa .fa-pull-start {
|
||
float: inline-start;
|
||
margin-inline-end: var(--fa-pull-margin, 0.3em);
|
||
}
|
||
.svg-inline--fa.fa-pull-right,
|
||
.svg-inline--fa .fa-pull-end {
|
||
float: inline-end;
|
||
margin-inline-start: var(--fa-pull-margin, 0.3em);
|
||
}
|
||
.svg-inline--fa.fa-li {
|
||
width: var(--fa-li-width, 2em);
|
||
inset-inline-start: calc(-1 * var(--fa-li-width, 2em));
|
||
inset-block-start: 0.25em; /* syncing vertical alignment with Web Font rendering */
|
||
}
|
||
|
||
.fa-layers-counter, .fa-layers-text {
|
||
display: inline-block;
|
||
position: absolute;
|
||
text-align: center;
|
||
}
|
||
|
||
.fa-layers {
|
||
display: inline-block;
|
||
height: 1em;
|
||
position: relative;
|
||
text-align: center;
|
||
vertical-align: -0.125em;
|
||
width: var(--fa-width, 1.25em);
|
||
}
|
||
.fa-layers .svg-inline--fa {
|
||
inset: 0;
|
||
margin: auto;
|
||
position: absolute;
|
||
transform-origin: center center;
|
||
}
|
||
|
||
.fa-layers-text {
|
||
left: 50%;
|
||
top: 50%;
|
||
transform: translate(-50%, -50%);
|
||
transform-origin: center center;
|
||
}
|
||
|
||
.fa-layers-counter {
|
||
background-color: var(--fa-counter-background-color, #ff253a);
|
||
border-radius: var(--fa-counter-border-radius, 1em);
|
||
box-sizing: border-box;
|
||
color: var(--fa-inverse, #fff);
|
||
line-height: var(--fa-counter-line-height, 1);
|
||
max-width: var(--fa-counter-max-width, 5em);
|
||
min-width: var(--fa-counter-min-width, 1.5em);
|
||
overflow: hidden;
|
||
padding: var(--fa-counter-padding, 0.25em 0.5em);
|
||
right: var(--fa-right, 0);
|
||
text-overflow: ellipsis;
|
||
top: var(--fa-top, 0);
|
||
transform: scale(var(--fa-counter-scale, 0.25));
|
||
transform-origin: top right;
|
||
}
|
||
|
||
.fa-layers-bottom-right {
|
||
bottom: var(--fa-bottom, 0);
|
||
right: var(--fa-right, 0);
|
||
top: auto;
|
||
transform: scale(var(--fa-layers-scale, 0.25));
|
||
transform-origin: bottom right;
|
||
}
|
||
|
||
.fa-layers-bottom-left {
|
||
bottom: var(--fa-bottom, 0);
|
||
left: var(--fa-left, 0);
|
||
right: auto;
|
||
top: auto;
|
||
transform: scale(var(--fa-layers-scale, 0.25));
|
||
transform-origin: bottom left;
|
||
}
|
||
|
||
.fa-layers-top-right {
|
||
top: var(--fa-top, 0);
|
||
right: var(--fa-right, 0);
|
||
transform: scale(var(--fa-layers-scale, 0.25));
|
||
transform-origin: top right;
|
||
}
|
||
|
||
.fa-layers-top-left {
|
||
left: var(--fa-left, 0);
|
||
right: auto;
|
||
top: var(--fa-top, 0);
|
||
transform: scale(var(--fa-layers-scale, 0.25));
|
||
transform-origin: top left;
|
||
}
|
||
|
||
.fa-1x {
|
||
font-size: 1em;
|
||
}
|
||
|
||
.fa-2x {
|
||
font-size: 2em;
|
||
}
|
||
|
||
.fa-3x {
|
||
font-size: 3em;
|
||
}
|
||
|
||
.fa-4x {
|
||
font-size: 4em;
|
||
}
|
||
|
||
.fa-5x {
|
||
font-size: 5em;
|
||
}
|
||
|
||
.fa-6x {
|
||
font-size: 6em;
|
||
}
|
||
|
||
.fa-7x {
|
||
font-size: 7em;
|
||
}
|
||
|
||
.fa-8x {
|
||
font-size: 8em;
|
||
}
|
||
|
||
.fa-9x {
|
||
font-size: 9em;
|
||
}
|
||
|
||
.fa-10x {
|
||
font-size: 10em;
|
||
}
|
||
|
||
.fa-2xs {
|
||
font-size: calc(10 / 16 * 1em); /* converts a 10px size into an em-based value that's relative to the scale's 16px base */
|
||
line-height: calc(1 / 10 * 1em); /* sets the line-height of the icon back to that of it's parent */
|
||
vertical-align: calc((6 / 10 - 0.375) * 1em); /* vertically centers the icon taking into account the surrounding text's descender */
|
||
}
|
||
|
||
.fa-xs {
|
||
font-size: calc(12 / 16 * 1em); /* converts a 12px size into an em-based value that's relative to the scale's 16px base */
|
||
line-height: calc(1 / 12 * 1em); /* sets the line-height of the icon back to that of it's parent */
|
||
vertical-align: calc((6 / 12 - 0.375) * 1em); /* vertically centers the icon taking into account the surrounding text's descender */
|
||
}
|
||
|
||
.fa-sm {
|
||
font-size: calc(14 / 16 * 1em); /* converts a 14px size into an em-based value that's relative to the scale's 16px base */
|
||
line-height: calc(1 / 14 * 1em); /* sets the line-height of the icon back to that of it's parent */
|
||
vertical-align: calc((6 / 14 - 0.375) * 1em); /* vertically centers the icon taking into account the surrounding text's descender */
|
||
}
|
||
|
||
.fa-lg {
|
||
font-size: calc(20 / 16 * 1em); /* converts a 20px size into an em-based value that's relative to the scale's 16px base */
|
||
line-height: calc(1 / 20 * 1em); /* sets the line-height of the icon back to that of it's parent */
|
||
vertical-align: calc((6 / 20 - 0.375) * 1em); /* vertically centers the icon taking into account the surrounding text's descender */
|
||
}
|
||
|
||
.fa-xl {
|
||
font-size: calc(24 / 16 * 1em); /* converts a 24px size into an em-based value that's relative to the scale's 16px base */
|
||
line-height: calc(1 / 24 * 1em); /* sets the line-height of the icon back to that of it's parent */
|
||
vertical-align: calc((6 / 24 - 0.375) * 1em); /* vertically centers the icon taking into account the surrounding text's descender */
|
||
}
|
||
|
||
.fa-2xl {
|
||
font-size: calc(32 / 16 * 1em); /* converts a 32px size into an em-based value that's relative to the scale's 16px base */
|
||
line-height: calc(1 / 32 * 1em); /* sets the line-height of the icon back to that of it's parent */
|
||
vertical-align: calc((6 / 32 - 0.375) * 1em); /* vertically centers the icon taking into account the surrounding text's descender */
|
||
}
|
||
|
||
.fa-width-auto {
|
||
--fa-width: auto;
|
||
}
|
||
|
||
.fa-fw,
|
||
.fa-width-fixed {
|
||
--fa-width: 1.25em;
|
||
}
|
||
|
||
.fa-canvas-square {
|
||
padding-block: 0.125em;
|
||
margin-block-end: -0.125em;
|
||
}
|
||
|
||
.fa-canvas-roomy {
|
||
padding-block: 0.25em;
|
||
padding-inline: 0.125em;
|
||
margin-block-end: -0.25em;
|
||
box-sizing: content-box;
|
||
}
|
||
|
||
.fa-ul {
|
||
list-style-type: none;
|
||
margin-inline-start: var(--fa-li-margin, 2.5em);
|
||
padding-inline-start: 0;
|
||
}
|
||
.fa-ul > li {
|
||
position: relative;
|
||
}
|
||
|
||
.fa-li {
|
||
inset-inline-start: calc(-1 * var(--fa-li-width, 2em));
|
||
position: absolute;
|
||
text-align: center;
|
||
width: var(--fa-li-width, 2em);
|
||
line-height: inherit;
|
||
}
|
||
|
||
/* Heads Up: Bordered Icons will not be supported in the future!
|
||
- This feature will be deprecated in the next major release of Font Awesome (v8)!
|
||
- You may continue to use it in this version *v7), but it will not be supported in Font Awesome v8.
|
||
*/
|
||
/* Notes:
|
||
* --@{v.$css-prefix}-border-width = 1/16 by default (to render as ~1px based on a 16px default font-size)
|
||
* --@{v.$css-prefix}-border-padding =
|
||
** 3/16 for vertical padding (to give ~2px of vertical whitespace around an icon considering it's vertical alignment)
|
||
** 4/16 for horizontal padding (to give ~4px of horizontal whitespace around an icon)
|
||
*/
|
||
.fa-border {
|
||
border-color: var(--fa-border-color, #eee);
|
||
border-radius: var(--fa-border-radius, 0.1em);
|
||
border-style: var(--fa-border-style, solid);
|
||
border-width: var(--fa-border-width, 0.0625em);
|
||
box-sizing: var(--fa-border-box-sizing, content-box);
|
||
padding: var(--fa-border-padding, 0.1875em 0.25em);
|
||
}
|
||
|
||
.fa-pull-left,
|
||
.fa-pull-start {
|
||
float: inline-start;
|
||
margin-inline-end: var(--fa-pull-margin, 0.3em);
|
||
}
|
||
|
||
.fa-pull-right,
|
||
.fa-pull-end {
|
||
float: inline-end;
|
||
margin-inline-start: var(--fa-pull-margin, 0.3em);
|
||
}
|
||
|
||
.fa-beat {
|
||
animation-name: fa-beat;
|
||
animation-delay: var(--fa-animation-delay, 0s);
|
||
animation-direction: var(--fa-animation-direction, normal);
|
||
animation-duration: var(--fa-animation-duration, 1s);
|
||
animation-iteration-count: var(--fa-animation-iteration-count, infinite);
|
||
animation-timing-function: var(--fa-animation-timing, ease-in-out);
|
||
}
|
||
|
||
.fa-bounce {
|
||
animation-name: fa-bounce;
|
||
animation-delay: var(--fa-animation-delay, 0s);
|
||
animation-direction: var(--fa-animation-direction, normal);
|
||
animation-duration: var(--fa-animation-duration, 1s);
|
||
animation-iteration-count: var(--fa-animation-iteration-count, infinite);
|
||
animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.28, 0.84, 0.42, 1));
|
||
}
|
||
|
||
.fa-fade {
|
||
animation-name: fa-fade;
|
||
animation-delay: var(--fa-animation-delay, 0s);
|
||
animation-direction: var(--fa-animation-direction, normal);
|
||
animation-duration: var(--fa-animation-duration, 1s);
|
||
animation-iteration-count: var(--fa-animation-iteration-count, infinite);
|
||
animation-timing-function: var(--fa-animation-timing, ease-in-out);
|
||
}
|
||
|
||
.fa-beat-fade {
|
||
animation-name: fa-beat-fade;
|
||
animation-delay: var(--fa-animation-delay, 0s);
|
||
animation-direction: var(--fa-animation-direction, normal);
|
||
animation-duration: var(--fa-animation-duration, 1s);
|
||
animation-iteration-count: var(--fa-animation-iteration-count, infinite);
|
||
animation-timing-function: var(--fa-animation-timing, ease-in-out);
|
||
}
|
||
|
||
.fa-flip {
|
||
animation-name: fa-flip;
|
||
animation-delay: var(--fa-animation-delay, 0s);
|
||
animation-direction: var(--fa-animation-direction, normal);
|
||
animation-duration: var(--fa-animation-duration, 1.5s);
|
||
animation-iteration-count: var(--fa-animation-iteration-count, infinite);
|
||
animation-timing-function: var(--fa-animation-timing, ease-in-out);
|
||
}
|
||
|
||
.fa-flip-360 {
|
||
animation-name: fa-flip-360;
|
||
animation-delay: var(--fa-animation-delay, 0s);
|
||
animation-direction: var(--fa-animation-direction, normal);
|
||
animation-duration: var(--fa-animation-duration, 1s);
|
||
animation-iteration-count: var(--fa-animation-iteration-count, infinite);
|
||
animation-timing-function: var(--fa-animation-timing, ease-in-out);
|
||
}
|
||
|
||
.fa-shake {
|
||
animation-name: fa-shake;
|
||
animation-delay: var(--fa-animation-delay, 0s);
|
||
animation-direction: var(--fa-animation-direction, normal);
|
||
animation-duration: var(--fa-animation-duration, 0.75s);
|
||
animation-iteration-count: var(--fa-animation-iteration-count, infinite);
|
||
animation-timing-function: var(--fa-animation-timing, ease-in-out);
|
||
}
|
||
|
||
.fa-spin {
|
||
animation-name: fa-spin;
|
||
animation-delay: var(--fa-animation-delay, 0s);
|
||
animation-direction: var(--fa-animation-direction, normal);
|
||
animation-duration: var(--fa-animation-duration, 2s);
|
||
animation-iteration-count: var(--fa-animation-iteration-count, infinite);
|
||
animation-timing-function: var(--fa-animation-timing, linear);
|
||
}
|
||
|
||
.fa-spin-reverse {
|
||
--fa-animation-direction: reverse;
|
||
}
|
||
|
||
.fa-pulse,
|
||
.fa-spin-pulse {
|
||
animation-name: fa-spin;
|
||
animation-direction: var(--fa-animation-direction, normal);
|
||
animation-duration: var(--fa-animation-duration, 1s);
|
||
animation-iteration-count: var(--fa-animation-iteration-count, infinite);
|
||
animation-timing-function: var(--fa-animation-timing, steps(8));
|
||
}
|
||
|
||
.fa-spin-snap {
|
||
animation-name: fa-spin-snap;
|
||
animation-delay: var(--fa-animation-delay, 0s);
|
||
animation-direction: var(--fa-animation-direction, normal);
|
||
animation-duration: var(--fa-animation-duration, 3s);
|
||
animation-iteration-count: var(--fa-animation-iteration-count, infinite);
|
||
animation-timing-function: var(--fa-animation-timing, linear);
|
||
}
|
||
|
||
.fa-spin-snap-4 {
|
||
animation-name: fa-spin-snap-4;
|
||
animation-delay: var(--fa-animation-delay, 0s);
|
||
animation-direction: var(--fa-animation-direction, normal);
|
||
animation-duration: var(--fa-animation-duration, 2.4s);
|
||
animation-iteration-count: var(--fa-animation-iteration-count, infinite);
|
||
animation-timing-function: var(--fa-animation-timing, linear);
|
||
}
|
||
|
||
.fa-spin-snap-8 {
|
||
animation-name: fa-spin-snap-8;
|
||
animation-delay: var(--fa-animation-delay, 0s);
|
||
animation-direction: var(--fa-animation-direction, normal);
|
||
animation-duration: var(--fa-animation-duration, 4s);
|
||
animation-iteration-count: var(--fa-animation-iteration-count, infinite);
|
||
animation-timing-function: var(--fa-animation-timing, linear);
|
||
}
|
||
|
||
.fa-buzz {
|
||
animation-name: fa-buzz;
|
||
animation-delay: var(--fa-animation-delay, 0s);
|
||
animation-direction: var(--fa-animation-direction, normal);
|
||
animation-duration: var(--fa-animation-duration, 0.6s);
|
||
animation-iteration-count: var(--fa-animation-iteration-count, infinite);
|
||
animation-timing-function: var(--fa-animation-timing, linear);
|
||
}
|
||
|
||
.fa-wag {
|
||
animation-name: fa-wag;
|
||
animation-delay: var(--fa-animation-delay, 0s);
|
||
animation-direction: var(--fa-animation-direction, normal);
|
||
animation-duration: var(--fa-animation-duration, 0.9s);
|
||
animation-iteration-count: var(--fa-animation-iteration-count, infinite);
|
||
animation-timing-function: var(--fa-animation-timing, ease-out);
|
||
transform-origin: bottom center;
|
||
}
|
||
|
||
.fa-float {
|
||
animation-name: fa-float;
|
||
animation-delay: var(--fa-animation-delay, 0s);
|
||
animation-direction: var(--fa-animation-direction, normal);
|
||
animation-duration: var(--fa-animation-duration, 3s);
|
||
animation-iteration-count: var(--fa-animation-iteration-count, infinite);
|
||
animation-timing-function: var(--fa-animation-timing, ease-in-out);
|
||
will-change: transform;
|
||
}
|
||
|
||
.fa-swing {
|
||
animation-name: fa-swing;
|
||
animation-delay: var(--fa-animation-delay, 0s);
|
||
animation-direction: var(--fa-animation-direction, normal);
|
||
animation-duration: var(--fa-animation-duration, 1.2s);
|
||
animation-iteration-count: var(--fa-animation-iteration-count, infinite);
|
||
animation-timing-function: var(--fa-animation-timing, ease-out);
|
||
transform-origin: top center;
|
||
}
|
||
|
||
.fa-jello {
|
||
animation-name: fa-jello;
|
||
animation-delay: var(--fa-animation-delay, 0s);
|
||
animation-direction: var(--fa-animation-direction, normal);
|
||
animation-duration: var(--fa-animation-duration, 0.9s);
|
||
animation-iteration-count: var(--fa-animation-iteration-count, infinite);
|
||
animation-timing-function: var(--fa-animation-timing, ease-out);
|
||
}
|
||
|
||
@media (prefers-reduced-motion: reduce) {
|
||
.fa-beat,
|
||
.fa-bounce,
|
||
.fa-fade,
|
||
.fa-beat-fade,
|
||
.fa-flip,
|
||
.fa-flip-360,
|
||
.fa-pulse,
|
||
.fa-shake,
|
||
.fa-spin,
|
||
.fa-spin-pulse,
|
||
.fa-buzz,
|
||
.fa-float,
|
||
.fa-jello,
|
||
.fa-spin-snap,
|
||
.fa-spin-snap-4,
|
||
.fa-spin-snap-8,
|
||
.fa-swing,
|
||
.fa-wag {
|
||
animation: none !important;
|
||
transition: none !important;
|
||
}
|
||
}
|
||
@keyframes fa-beat {
|
||
0% {
|
||
transform: scale(1);
|
||
}
|
||
25% {
|
||
transform: scale(calc(1.25 * var(--fa-beat-scale, 1.25)));
|
||
}
|
||
45% {
|
||
transform: scale(calc(1.22 * var(--fa-beat-scale, 1.22)));
|
||
}
|
||
65% {
|
||
transform: scale(calc(1.25 * var(--fa-beat-scale, 1.25)));
|
||
}
|
||
90% {
|
||
transform: scale(1);
|
||
}
|
||
}
|
||
@keyframes fa-bounce {
|
||
0% {
|
||
transform: scale(1, 1) translateY(0);
|
||
animation-timing-function: var(--fa-animation-timing);
|
||
}
|
||
14% {
|
||
transform: scale(var(--fa-bounce-start-scale-x, 1.06), var(--fa-bounce-start-scale-y, 0.94)) translateY(var(--fa-bounce-anticipation, 3px));
|
||
animation-timing-function: cubic-bezier(0.33, 0, 0.66, 0.33);
|
||
}
|
||
32% {
|
||
transform: scale(var(--fa-bounce-jump-scale-x, 0.94), var(--fa-bounce-jump-scale-y, 1.12)) translateY(calc(-1 * var(--fa-bounce-height, 0.5em)));
|
||
animation-timing-function: cubic-bezier(0.33, 0.66, 0.66, 1);
|
||
}
|
||
52% {
|
||
transform: scale(1, 1) translateY(calc(-1 * var(--fa-bounce-height, 0.5em) * 1.1));
|
||
animation-timing-function: cubic-bezier(0.5, 0, 1, 0.5);
|
||
}
|
||
70% {
|
||
transform: scale(var(--fa-bounce-land-scale-x, 1.06), var(--fa-bounce-land-scale-y, 0.92)) translateY(0);
|
||
animation-timing-function: cubic-bezier(0.33, 0.33, 0.66, 1);
|
||
}
|
||
85% {
|
||
transform: scale(0.98, 1.04) translateY(calc(-2px * var(--fa-bounce-rebound, 1)));
|
||
animation-timing-function: cubic-bezier(0.33, 0, 0.66, 1);
|
||
}
|
||
100% {
|
||
transform: scale(1, 1) translateY(0);
|
||
}
|
||
}
|
||
@keyframes fa-fade {
|
||
0% {
|
||
opacity: 1;
|
||
transform: scale(1);
|
||
animation-timing-function: cubic-bezier(0.2, 0, 0.4, 1);
|
||
}
|
||
40% {
|
||
opacity: var(--fa-fade-opacity, 0.4);
|
||
transform: scale(0.98);
|
||
animation-timing-function: cubic-bezier(0.4, 0, 0.6, 1);
|
||
}
|
||
100% {
|
||
opacity: 1;
|
||
transform: scale(1);
|
||
}
|
||
}
|
||
@keyframes fa-beat-fade {
|
||
0% {
|
||
opacity: var(--fa-beat-fade-opacity, 0.4);
|
||
transform: scale(1);
|
||
animation-timing-function: cubic-bezier(0.2, 0, 0.4, 1);
|
||
}
|
||
25% {
|
||
opacity: calc(var(--fa-beat-fade-opacity, 0.4) + 0.4);
|
||
transform: scale(var(--fa-beat-fade-scale, 1.28));
|
||
animation-timing-function: cubic-bezier(0.4, 0, 0.6, 1);
|
||
}
|
||
45% {
|
||
opacity: 1;
|
||
transform: scale(var(--fa-beat-fade-scale, 1.25));
|
||
animation-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
|
||
}
|
||
65% {
|
||
opacity: calc(var(--fa-beat-fade-opacity, 0.4) + 0.4);
|
||
transform: scale(var(--fa-beat-fade-scale, 1.28));
|
||
animation-timing-function: cubic-bezier(0.4, 0, 0.6, 1);
|
||
}
|
||
100% {
|
||
opacity: var(--fa-beat-fade-opacity, 0.4);
|
||
transform: scale(1);
|
||
}
|
||
}
|
||
@keyframes fa-flip {
|
||
0% {
|
||
transform: perspective(2em) scale(1) rotate3d(var(--fa-flip-x, 0), var(--fa-flip-y, 1), var(--fa-flip-z, 0), 0deg);
|
||
animation-timing-function: cubic-bezier(0.2, 0, 0.4, 1);
|
||
}
|
||
8% {
|
||
transform: perspective(2em) scale(var(--fa-flip-anticipation-scale, 0.95)) rotate3d(var(--fa-flip-x, 0), var(--fa-flip-y, 1), var(--fa-flip-z, 0), 0deg);
|
||
animation-timing-function: cubic-bezier(0.33, 0, 0.66, 0.33);
|
||
}
|
||
35% {
|
||
transform: perspective(2em) scale(1) rotate3d(var(--fa-flip-x, 0), var(--fa-flip-y, 1), var(--fa-flip-z, 0), calc(var(--fa-flip-angle, -360deg) * 0.6));
|
||
animation-timing-function: linear;
|
||
}
|
||
65% {
|
||
transform: perspective(2em) scale(1) rotate3d(var(--fa-flip-x, 0), var(--fa-flip-y, 1), var(--fa-flip-z, 0), calc(var(--fa-flip-angle, -360deg) * 0.5));
|
||
animation-timing-function: cubic-bezier(0.33, 0.66, 0.66, 1);
|
||
}
|
||
92% {
|
||
transform: perspective(2em) scale(1) rotate3d(var(--fa-flip-x, 0), var(--fa-flip-y, 1), var(--fa-flip-z, 0), calc(var(--fa-flip-angle, -360deg) * var(--fa-flip-overshoot, 1.04)));
|
||
animation-timing-function: cubic-bezier(0.33, 0, 0.66, 1);
|
||
}
|
||
100% {
|
||
transform: perspective(2em) scale(1) rotate3d(var(--fa-flip-x, 0), var(--fa-flip-y, 1), var(--fa-flip-z, 0), var(--fa-flip-angle, -360deg));
|
||
}
|
||
}
|
||
@keyframes fa-flip-360 {
|
||
0% {
|
||
transform: perspective(2em) scale(1) rotate3d(var(--fa-flip-x, 0), var(--fa-flip-y, 1), var(--fa-flip-z, 0), 0deg);
|
||
animation-timing-function: cubic-bezier(0.2, 0, 0.4, 1);
|
||
}
|
||
8% {
|
||
transform: perspective(2em) scale(var(--fa-flip-anticipation-scale, 0.95)) rotate3d(var(--fa-flip-x, 0), var(--fa-flip-y, 1), var(--fa-flip-z, 0), 0deg);
|
||
animation-timing-function: cubic-bezier(0.33, 0, 0.66, 0.33);
|
||
}
|
||
50% {
|
||
transform: perspective(2em) scale(1) rotate3d(var(--fa-flip-x, 0), var(--fa-flip-y, 1), var(--fa-flip-z, 0), calc(var(--fa-flip-angle, -360deg) * 0.6));
|
||
animation-timing-function: cubic-bezier(0.33, 0.66, 0.66, 1);
|
||
}
|
||
80% {
|
||
transform: perspective(2em) scale(1) rotate3d(var(--fa-flip-x, 0), var(--fa-flip-y, 1), var(--fa-flip-z, 0), calc(var(--fa-flip-angle, -360deg) * var(--fa-flip-overshoot, 1.04)));
|
||
animation-timing-function: cubic-bezier(0.33, 0, 0.66, 1);
|
||
}
|
||
100% {
|
||
transform: perspective(2em) scale(1) rotate3d(var(--fa-flip-x, 0), var(--fa-flip-y, 1), var(--fa-flip-z, 0), var(--fa-flip-angle, -360deg));
|
||
}
|
||
}
|
||
@keyframes fa-shake {
|
||
0% {
|
||
transform: rotate(0deg);
|
||
animation-timing-function: cubic-bezier(0.2, 0, 0.8, 1);
|
||
}
|
||
8% {
|
||
transform: rotate(35deg) translateX(1px);
|
||
animation-timing-function: cubic-bezier(0.3, 0, 0.7, 1);
|
||
}
|
||
20% {
|
||
transform: rotate(-22deg) translateX(-1px);
|
||
animation-timing-function: cubic-bezier(0.3, 0, 0.7, 1);
|
||
}
|
||
35% {
|
||
transform: rotate(15deg) translateX(1px);
|
||
animation-timing-function: cubic-bezier(0.3, 0, 0.7, 1);
|
||
}
|
||
50% {
|
||
transform: rotate(-9deg);
|
||
animation-timing-function: cubic-bezier(0.4, 0, 0.6, 1);
|
||
}
|
||
65% {
|
||
transform: rotate(5deg);
|
||
animation-timing-function: cubic-bezier(0.4, 0, 0.6, 1);
|
||
}
|
||
78% {
|
||
transform: rotate(-3deg);
|
||
animation-timing-function: cubic-bezier(0.4, 0, 0.6, 1);
|
||
}
|
||
90% {
|
||
transform: rotate(1deg);
|
||
animation-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
|
||
}
|
||
100% {
|
||
transform: rotate(0deg);
|
||
}
|
||
}
|
||
@keyframes fa-spin {
|
||
0% {
|
||
transform: rotate(0deg);
|
||
}
|
||
100% {
|
||
transform: rotate(360deg);
|
||
}
|
||
}
|
||
@keyframes fa-spin-snap {
|
||
0% {
|
||
transform: rotate(0deg);
|
||
animation-timing-function: cubic-bezier(0, 0, 0.2, 1);
|
||
}
|
||
12% {
|
||
transform: rotate(60deg);
|
||
animation-timing-function: cubic-bezier(0.8, 0, 1, 1);
|
||
}
|
||
16.67% {
|
||
transform: rotate(60deg);
|
||
animation-timing-function: cubic-bezier(0, 0, 0.2, 1);
|
||
}
|
||
28.67% {
|
||
transform: rotate(120deg);
|
||
animation-timing-function: cubic-bezier(0.8, 0, 1, 1);
|
||
}
|
||
33.33% {
|
||
transform: rotate(120deg);
|
||
animation-timing-function: cubic-bezier(0, 0, 0.2, 1);
|
||
}
|
||
45.33% {
|
||
transform: rotate(180deg);
|
||
animation-timing-function: cubic-bezier(0.8, 0, 1, 1);
|
||
}
|
||
50% {
|
||
transform: rotate(180deg);
|
||
animation-timing-function: cubic-bezier(0, 0, 0.2, 1);
|
||
}
|
||
62% {
|
||
transform: rotate(240deg);
|
||
animation-timing-function: cubic-bezier(0.8, 0, 1, 1);
|
||
}
|
||
66.67% {
|
||
transform: rotate(240deg);
|
||
animation-timing-function: cubic-bezier(0, 0, 0.2, 1);
|
||
}
|
||
78.67% {
|
||
transform: rotate(300deg);
|
||
animation-timing-function: cubic-bezier(0.8, 0, 1, 1);
|
||
}
|
||
83.33% {
|
||
transform: rotate(300deg);
|
||
animation-timing-function: cubic-bezier(0, 0, 0.2, 1);
|
||
}
|
||
95.33% {
|
||
transform: rotate(360deg);
|
||
animation-timing-function: cubic-bezier(0.8, 0, 1, 1);
|
||
}
|
||
100% {
|
||
transform: rotate(360deg);
|
||
}
|
||
}
|
||
@keyframes fa-spin-snap-4 {
|
||
0% {
|
||
transform: rotate(0deg);
|
||
animation-timing-function: cubic-bezier(0, 0, 0.2, 1);
|
||
}
|
||
15% {
|
||
transform: rotate(90deg);
|
||
animation-timing-function: cubic-bezier(0.8, 0, 1, 1);
|
||
}
|
||
25% {
|
||
transform: rotate(90deg);
|
||
animation-timing-function: cubic-bezier(0, 0, 0.2, 1);
|
||
}
|
||
40% {
|
||
transform: rotate(180deg);
|
||
animation-timing-function: cubic-bezier(0.8, 0, 1, 1);
|
||
}
|
||
50% {
|
||
transform: rotate(180deg);
|
||
animation-timing-function: cubic-bezier(0, 0, 0.2, 1);
|
||
}
|
||
65% {
|
||
transform: rotate(270deg);
|
||
animation-timing-function: cubic-bezier(0.8, 0, 1, 1);
|
||
}
|
||
75% {
|
||
transform: rotate(270deg);
|
||
animation-timing-function: cubic-bezier(0, 0, 0.2, 1);
|
||
}
|
||
90% {
|
||
transform: rotate(360deg);
|
||
animation-timing-function: cubic-bezier(0.8, 0, 1, 1);
|
||
}
|
||
100% {
|
||
transform: rotate(360deg);
|
||
}
|
||
}
|
||
@keyframes fa-spin-snap-8 {
|
||
0% {
|
||
transform: rotate(0deg);
|
||
animation-timing-function: cubic-bezier(0, 0, 0.2, 1);
|
||
}
|
||
9% {
|
||
transform: rotate(45deg);
|
||
animation-timing-function: cubic-bezier(0.8, 0, 1, 1);
|
||
}
|
||
12.5% {
|
||
transform: rotate(45deg);
|
||
animation-timing-function: cubic-bezier(0, 0, 0.2, 1);
|
||
}
|
||
21.5% {
|
||
transform: rotate(90deg);
|
||
animation-timing-function: cubic-bezier(0.8, 0, 1, 1);
|
||
}
|
||
25% {
|
||
transform: rotate(90deg);
|
||
animation-timing-function: cubic-bezier(0, 0, 0.2, 1);
|
||
}
|
||
34% {
|
||
transform: rotate(135deg);
|
||
animation-timing-function: cubic-bezier(0.8, 0, 1, 1);
|
||
}
|
||
37.5% {
|
||
transform: rotate(135deg);
|
||
animation-timing-function: cubic-bezier(0, 0, 0.2, 1);
|
||
}
|
||
46.5% {
|
||
transform: rotate(180deg);
|
||
animation-timing-function: cubic-bezier(0.8, 0, 1, 1);
|
||
}
|
||
50% {
|
||
transform: rotate(180deg);
|
||
animation-timing-function: cubic-bezier(0, 0, 0.2, 1);
|
||
}
|
||
59% {
|
||
transform: rotate(225deg);
|
||
animation-timing-function: cubic-bezier(0.8, 0, 1, 1);
|
||
}
|
||
62.5% {
|
||
transform: rotate(225deg);
|
||
animation-timing-function: cubic-bezier(0, 0, 0.2, 1);
|
||
}
|
||
71.5% {
|
||
transform: rotate(270deg);
|
||
animation-timing-function: cubic-bezier(0.8, 0, 1, 1);
|
||
}
|
||
75% {
|
||
transform: rotate(270deg);
|
||
animation-timing-function: cubic-bezier(0, 0, 0.2, 1);
|
||
}
|
||
84% {
|
||
transform: rotate(315deg);
|
||
animation-timing-function: cubic-bezier(0.8, 0, 1, 1);
|
||
}
|
||
87.5% {
|
||
transform: rotate(315deg);
|
||
animation-timing-function: cubic-bezier(0, 0, 0.2, 1);
|
||
}
|
||
96.5% {
|
||
transform: rotate(360deg);
|
||
animation-timing-function: cubic-bezier(0.8, 0, 1, 1);
|
||
}
|
||
100% {
|
||
transform: rotate(360deg);
|
||
}
|
||
}
|
||
@keyframes fa-buzz {
|
||
0% {
|
||
transform: translateX(0) rotate(0deg);
|
||
animation-timing-function: cubic-bezier(0.1, 0, 0.9, 1);
|
||
}
|
||
5% {
|
||
transform: translateX(var(--fa-buzz-distance, 4px)) rotate(0.5deg);
|
||
}
|
||
10% {
|
||
transform: translateX(calc(-1 * var(--fa-buzz-distance, 4px))) rotate(-0.5deg);
|
||
}
|
||
15% {
|
||
transform: translateX(var(--fa-buzz-distance, 4px)) rotate(0.3deg);
|
||
}
|
||
20% {
|
||
transform: translateX(calc(-1 * var(--fa-buzz-distance, 4px))) rotate(-0.3deg);
|
||
}
|
||
25% {
|
||
transform: translateX(calc(var(--fa-buzz-distance, 4px) * 0.7)) rotate(0.2deg);
|
||
}
|
||
30% {
|
||
transform: translateX(calc(-1 * var(--fa-buzz-distance, 4px) * 0.7)) rotate(-0.2deg);
|
||
}
|
||
35% {
|
||
transform: translateX(calc(var(--fa-buzz-distance, 4px) * 0.4)) rotate(0.1deg);
|
||
}
|
||
40% {
|
||
transform: translateX(0) rotate(0deg);
|
||
}
|
||
100% {
|
||
transform: translateX(0) rotate(0deg);
|
||
}
|
||
}
|
||
@keyframes fa-wag {
|
||
0% {
|
||
transform: rotate(0deg);
|
||
animation-timing-function: cubic-bezier(0.2, 0, 0.6, 1);
|
||
}
|
||
12% {
|
||
transform: rotate(var(--fa-wag-angle, 12deg));
|
||
animation-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
|
||
}
|
||
24% {
|
||
transform: rotate(2deg);
|
||
animation-timing-function: cubic-bezier(0.2, 0, 0.6, 1);
|
||
}
|
||
36% {
|
||
transform: rotate(calc(var(--fa-wag-angle, 12deg) * 0.85));
|
||
animation-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
|
||
}
|
||
48% {
|
||
transform: rotate(1deg);
|
||
animation-timing-function: cubic-bezier(0.2, 0, 0.6, 1);
|
||
}
|
||
58% {
|
||
transform: rotate(calc(var(--fa-wag-angle, 12deg) * 0.6));
|
||
animation-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
|
||
}
|
||
68% {
|
||
transform: rotate(0deg);
|
||
}
|
||
100% {
|
||
transform: rotate(0deg);
|
||
}
|
||
}
|
||
@keyframes fa-float {
|
||
0% {
|
||
transform: translateY(0) translateX(0) rotate(0deg) scale(var(--fa-float-squash-x, 1.02), var(--fa-float-squash-y, 0.98));
|
||
animation-timing-function: cubic-bezier(0.33, 0, 0.66, 0.33);
|
||
}
|
||
15% {
|
||
transform: translateY(calc(-0.4 * var(--fa-float-height, 6px))) translateX(var(--fa-float-drift, 1px)) rotate(var(--fa-float-tilt, 1deg)) scale(1, 1);
|
||
animation-timing-function: cubic-bezier(0.33, 0.66, 0.66, 1);
|
||
}
|
||
35% {
|
||
transform: translateY(calc(-1 * var(--fa-float-height, 6px))) translateX(0) rotate(0deg) scale(var(--fa-float-stretch-x, 0.98), var(--fa-float-stretch-y, 1.03));
|
||
animation-timing-function: cubic-bezier(0.5, 0, 0.5, 0);
|
||
}
|
||
50% {
|
||
transform: translateY(calc(-0.92 * var(--fa-float-height, 6px))) translateX(calc(-0.5 * var(--fa-float-drift, 1px))) rotate(calc(-0.5 * var(--fa-float-tilt, 1deg))) scale(0.995, 1.01);
|
||
animation-timing-function: cubic-bezier(0.33, 0, 0.66, 0.33);
|
||
}
|
||
70% {
|
||
transform: translateY(calc(-0.3 * var(--fa-float-height, 6px))) translateX(calc(-1 * var(--fa-float-drift, 1px))) rotate(calc(-1 * var(--fa-float-tilt, 1deg))) scale(1, 1);
|
||
animation-timing-function: cubic-bezier(0.33, 0.66, 0.66, 1);
|
||
}
|
||
90% {
|
||
transform: translateY(calc(0.05 * var(--fa-float-height, 6px))) translateX(0) rotate(0deg) scale(var(--fa-float-squash-x, 1.02), var(--fa-float-squash-y, 0.98));
|
||
animation-timing-function: cubic-bezier(0.33, 0, 0.66, 1);
|
||
}
|
||
100% {
|
||
transform: translateY(0) translateX(0) rotate(0deg) scale(var(--fa-float-squash-x, 1.02), var(--fa-float-squash-y, 0.98));
|
||
}
|
||
}
|
||
@keyframes fa-swing {
|
||
0% {
|
||
transform: rotate(0deg);
|
||
animation-timing-function: cubic-bezier(0.2, 0, 0.8, 1);
|
||
}
|
||
8% {
|
||
transform: rotate(var(--fa-swing-angle, 22deg));
|
||
animation-timing-function: cubic-bezier(0.3, 0, 0.7, 1);
|
||
}
|
||
18% {
|
||
transform: rotate(calc(-1 * var(--fa-swing-angle, 22deg) * 0.85));
|
||
animation-timing-function: cubic-bezier(0.3, 0, 0.7, 1);
|
||
}
|
||
28% {
|
||
transform: rotate(calc(var(--fa-swing-angle, 22deg) * 0.65));
|
||
animation-timing-function: cubic-bezier(0.35, 0, 0.65, 1);
|
||
}
|
||
38% {
|
||
transform: rotate(calc(-1 * var(--fa-swing-angle, 22deg) * 0.45));
|
||
animation-timing-function: cubic-bezier(0.4, 0, 0.6, 1);
|
||
}
|
||
48% {
|
||
transform: rotate(calc(var(--fa-swing-angle, 22deg) * 0.25));
|
||
animation-timing-function: cubic-bezier(0.4, 0, 0.6, 1);
|
||
}
|
||
56% {
|
||
transform: rotate(calc(-1 * var(--fa-swing-angle, 22deg) * 0.1));
|
||
animation-timing-function: cubic-bezier(0.4, 0, 0.6, 1);
|
||
}
|
||
64% {
|
||
transform: rotate(0deg);
|
||
}
|
||
100% {
|
||
transform: rotate(0deg);
|
||
}
|
||
}
|
||
@keyframes fa-jello {
|
||
0% {
|
||
transform: scale(1, 1);
|
||
animation-timing-function: cubic-bezier(0.2, 0, 0.8, 1);
|
||
}
|
||
12% {
|
||
transform: scale(var(--fa-jello-scale-x, 1.15), calc(2 - var(--fa-jello-scale-x, 1.15)));
|
||
animation-timing-function: cubic-bezier(0.3, 0, 0.7, 1);
|
||
}
|
||
24% {
|
||
transform: scale(calc(2 - var(--fa-jello-scale-y, 1.12)), var(--fa-jello-scale-y, 1.12));
|
||
animation-timing-function: cubic-bezier(0.3, 0, 0.7, 1);
|
||
}
|
||
36% {
|
||
transform: scale(calc(1 + (var(--fa-jello-scale-x, 1.15) - 1) * 0.5), calc(2 - (1 + (var(--fa-jello-scale-x, 1.15) - 1) * 0.5)));
|
||
animation-timing-function: cubic-bezier(0.4, 0, 0.6, 1);
|
||
}
|
||
48% {
|
||
transform: scale(calc(2 - (1 + (var(--fa-jello-scale-y, 1.12) - 1) * 0.3)), calc(1 + (var(--fa-jello-scale-y, 1.12) - 1) * 0.3));
|
||
animation-timing-function: cubic-bezier(0.4, 0, 0.6, 1);
|
||
}
|
||
58% {
|
||
transform: scale(1.02, 0.98);
|
||
animation-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
|
||
}
|
||
68% {
|
||
transform: scale(1, 1);
|
||
}
|
||
100% {
|
||
transform: scale(1, 1);
|
||
}
|
||
}
|
||
.fa-rotate-90 {
|
||
transform: rotate(90deg);
|
||
}
|
||
|
||
.fa-rotate-180 {
|
||
transform: rotate(180deg);
|
||
}
|
||
|
||
.fa-rotate-270 {
|
||
transform: rotate(270deg);
|
||
}
|
||
|
||
.fa-flip-horizontal {
|
||
transform: scale(-1, 1);
|
||
}
|
||
|
||
.fa-flip-vertical {
|
||
transform: scale(1, -1);
|
||
}
|
||
|
||
.fa-flip-both,
|
||
.fa-flip-horizontal.fa-flip-vertical {
|
||
transform: scale(-1, -1);
|
||
}
|
||
|
||
.fa-rotate-by {
|
||
transform: rotate(var(--fa-rotate-angle, 0));
|
||
}
|
||
|
||
.svg-inline--fa .fa-primary {
|
||
fill: var(--fa-primary-color, currentColor);
|
||
opacity: var(--fa-primary-opacity, 1);
|
||
}
|
||
|
||
.svg-inline--fa .fa-secondary {
|
||
fill: var(--fa-secondary-color, currentColor);
|
||
opacity: var(--fa-secondary-opacity, 0.4);
|
||
}
|
||
|
||
.svg-inline--fa.fa-swap-opacity .fa-primary {
|
||
opacity: var(--fa-secondary-opacity, 0.4);
|
||
}
|
||
|
||
.svg-inline--fa.fa-swap-opacity .fa-secondary {
|
||
opacity: var(--fa-primary-opacity, 1);
|
||
}
|
||
|
||
.svg-inline--fa mask .fa-primary,
|
||
.svg-inline--fa mask .fa-secondary {
|
||
fill: black;
|
||
}
|
||
|
||
.svg-inline--fa.fa-inverse {
|
||
fill: var(--fa-inverse, #fff);
|
||
}
|
||
|
||
.fa-stack {
|
||
display: inline-block;
|
||
height: 2em;
|
||
line-height: 2em;
|
||
position: relative;
|
||
vertical-align: middle;
|
||
width: 2.5em;
|
||
}
|
||
|
||
.fa-inverse {
|
||
color: var(--fa-inverse, #fff);
|
||
}
|
||
|
||
.svg-inline--fa.fa-stack-1x {
|
||
--fa-width: 1.25em;
|
||
height: 1em;
|
||
width: var(--fa-width);
|
||
}
|
||
.svg-inline--fa.fa-stack-2x {
|
||
--fa-width: 2.5em;
|
||
height: 2em;
|
||
width: var(--fa-width);
|
||
}
|
||
|
||
.fa-stack-1x,
|
||
.fa-stack-2x {
|
||
inset: 0;
|
||
margin: auto;
|
||
position: absolute;
|
||
z-index: var(--fa-stack-z-index, auto);
|
||
}`;function r7(){var e=X8,t=Y8,n=pe.cssPrefix,r=pe.replacementClass,i=Aae;if(n!==e||r!==t){var o=new RegExp("\\.".concat(e,"\\-"),"g"),a=new RegExp("\\--".concat(e,"\\-"),"g"),l=new RegExp("\\.".concat(t),"g");i=i.replace(o,".".concat(n,"-")).replace(a,"--".concat(n,"-")).replace(l,".".concat(r))}return i}var _3=!1;function R0(){pe.autoAddCss&&!_3&&(jae(r7()),_3=!0)}var $ae={mixout:function(){return{dom:{css:r7,insertCss:R0}}},hooks:function(){return{beforeDOMElementCreation:function(){R0()},beforeI2svg:function(){R0()}}}},Ei=xo||{};Ei[Ti]||(Ei[Ti]={});Ei[Ti].styles||(Ei[Ti].styles={});Ei[Ti].hooks||(Ei[Ti].hooks={});Ei[Ti].shims||(Ei[Ti].shims=[]);var Cr=Ei[Ti],i7=[],o7=function(){rt.removeEventListener("DOMContentLoaded",o7),Mp=1,i7.map(function(t){return t()})},Mp=!1;Mi&&(Mp=(rt.documentElement.doScroll?/^loaded|^c/:/^loaded|^i|^c/).test(rt.readyState),Mp||rt.addEventListener("DOMContentLoaded",o7));function zae(e){Mi&&(Mp?setTimeout(e,0):i7.push(e))}function Gu(e){var t=e.tag,n=e.attributes,r=n===void 0?{}:n,i=e.children,o=i===void 0?[]:i;return typeof e=="string"?n7(e):"<".concat(t," ").concat(_ae(r),">").concat(o.map(Gu).join(""),"</").concat(t,">")}function T3(e,t,n){if(e&&e[t]&&e[t][n])return{prefix:t,iconName:n,icon:e[t][n]}}var I0=function(t,n,r,i){var o=Object.keys(t),a=o.length,l=n,c,u,d;for(r===void 0?(c=1,d=t[o[0]]):(c=0,d=r);c<a;c++)u=o[c],d=l(d,t[u],u,t);return d};function a7(e){return Ar(e).length!==1?null:e.codePointAt(0).toString(16)}function E3(e){return Object.keys(e).reduce(function(t,n){var r=e[n],i=!!r.icon;return i?t[r.iconName]=r.icon:t[n]=r,t},{})}function qv(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},r=n.skipHooks,i=r===void 0?!1:r,o=E3(t);typeof Cr.hooks.addPack=="function"&&!i?Cr.hooks.addPack(e,E3(t)):Cr.styles[e]=H(H({},Cr.styles[e]||{}),o),e==="fas"&&qv("fa",t)}var gu=Cr.styles,Rae=Cr.shims,s7=Object.keys(cx),Iae=s7.reduce(function(e,t){return e[t]=Object.keys(cx[t]),e},{}),fx=null,l7={},c7={},u7={},d7={},f7={};function Mae(e){return~xae.indexOf(e)}function Lae(e,t){var n=t.split("-"),r=n[0],i=n.slice(1).join("-");return r===e&&i!==""&&!Mae(i)?i:null}var p7=function(){var t=function(o){return I0(gu,function(a,l,c){return a[c]=I0(l,o,{}),a},{})};l7=t(function(i,o,a){if(o[3]&&(i[o[3]]=a),o[2]){var l=o[2].filter(function(c){return typeof c=="number"});l.forEach(function(c){i[c.toString(16)]=a})}return i}),c7=t(function(i,o,a){if(i[a]=a,o[2]){var l=o[2].filter(function(c){return typeof c=="string"});l.forEach(function(c){i[c]=a})}return i}),f7=t(function(i,o,a){var l=o[2];return i[a]=a,l.forEach(function(c){i[c]=a}),i});var n="far"in gu||pe.autoFetchSvg,r=I0(Rae,function(i,o){var a=o[0],l=o[1],c=o[2];return l==="far"&&!n&&(l="fas"),typeof a=="string"&&(i.names[a]={prefix:l,iconName:c}),typeof a=="number"&&(i.unicodes[a.toString(16)]={prefix:l,iconName:c}),i},{names:{},unicodes:{}});u7=r.names,d7=r.unicodes,fx=Um(pe.styleDefault,{family:pe.familyDefault})};Cae(function(e){fx=Um(e.styleDefault,{family:pe.familyDefault})});p7();function px(e,t){return(l7[e]||{})[t]}function Nae(e,t){return(c7[e]||{})[t]}function ra(e,t){return(f7[e]||{})[t]}function m7(e){return u7[e]||{prefix:null,iconName:null}}function Dae(e){var t=d7[e],n=px("fas",e);return t||(n?{prefix:"fas",iconName:n}:null)||{prefix:null,iconName:null}}function So(){return fx}var h7=function(){return{prefix:null,iconName:null,rest:[]}};function Oae(e){var t=tn,n=s7.reduce(function(r,i){return r[i]="".concat(pe.cssPrefix,"-").concat(i),r},{});return H8.forEach(function(r){(e.includes(n[r])||e.some(function(i){return Iae[r].includes(i)}))&&(t=r)}),t}function Um(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=t.family,r=n===void 0?tn:n,i=hae[r][e];if(r===Uu&&!e)return"fad";var o=j3[r][e]||j3[r][i],a=e in Cr.styles?e:null,l=o||a||null;return l}function Fae(e){var t=[],n=null;return e.forEach(function(r){var i=Lae(pe.cssPrefix,r);i?n=i:r&&t.push(r)}),{iconName:n,rest:t}}function A3(e){return e.sort().filter(function(t,n,r){return r.indexOf(t)===n})}var $3=K8.concat(G8);function Hm(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=t.skipLookups,r=n===void 0?!1:n,i=null,o=A3(e.filter(function(h){return $3.includes(h)})),a=A3(e.filter(function(h){return!$3.includes(h)})),l=o.filter(function(h){return i=h,!w8.includes(h)}),c=Wm(l,1),u=c[0],d=u===void 0?null:u,f=Oae(o),p=H(H({},Fae(a)),{},{prefix:Um(d,{family:f})});return H(H(H({},p),Uae({values:e,family:f,styles:gu,config:pe,canonical:p,givenPrefix:i})),Bae(r,i,p))}function Bae(e,t,n){var r=n.prefix,i=n.iconName;if(e||!r||!i)return{prefix:r,iconName:i};var o=t==="fa"?m7(i):{},a=ra(r,i);return i=o.iconName||a||i,r=o.prefix||r,r==="far"&&!gu.far&&gu.fas&&!pe.autoFetchSvg&&(r="fas"),{prefix:r,iconName:i}}var Wae=H8.filter(function(e){return e!==tn||e!==Uu}),Vae=Object.keys(Wv).filter(function(e){return e!==tn}).map(function(e){return Object.keys(Wv[e])}).flat();function Uae(e){var t=e.values,n=e.family,r=e.canonical,i=e.givenPrefix,o=i===void 0?"":i,a=e.styles,l=a===void 0?{}:a,c=e.config,u=c===void 0?{}:c,d=n===Uu,f=t.includes("fa-duotone")||t.includes("fad"),p=u.familyDefault==="duotone",h=r.prefix==="fad"||r.prefix==="fa-duotone";if(!d&&(f||p||h)&&(r.prefix="fad"),(t.includes("fa-brands")||t.includes("fab"))&&(r.prefix="fab"),!r.prefix&&Wae.includes(n)){var v=Object.keys(l).find(function(x){return Vae.includes(x)});if(v||u.autoFetchSvg){var b=Xie.get(n).defaultShortPrefixId;r.prefix=b,r.iconName=ra(r.prefix,r.iconName)||r.iconName}}return(r.prefix==="fa"||o==="fa")&&(r.prefix=So()||"fas"),r}var Hae=function(){function e(){die(this,e),this.definitions={}}return pie(e,[{key:"add",value:function(){for(var n=this,r=arguments.length,i=new Array(r),o=0;o<r;o++)i[o]=arguments[o];var a=i.reduce(this._pullDefinitions,{});Object.keys(a).forEach(function(l){n.definitions[l]=H(H({},n.definitions[l]||{}),a[l]),qv(l,a[l]);var c=cx[tn][l];c&&qv(c,a[l]),p7()})}},{key:"reset",value:function(){this.definitions={}}},{key:"_pullDefinitions",value:function(n,r){var i=r.prefix&&r.iconName&&r.icon?{0:r}:r;return Object.keys(i).map(function(o){var a=i[o],l=a.prefix,c=a.iconName,u=a.icon,d=u[2];n[l]||(n[l]={}),d.length>0&&d.forEach(function(f){typeof f=="string"&&(n[l][f]=u)}),n[l][c]=u}),n}}])}(),z3=[],ks={},Os={},Gae=Object.keys(Os);function Kae(e,t){var n=t.mixoutsTo;return z3=e,ks={},Object.keys(Os).forEach(function(r){Gae.indexOf(r)===-1&&delete Os[r]}),z3.forEach(function(r){var i=r.mixout?r.mixout():{};if(Object.keys(i).forEach(function(a){typeof i[a]=="function"&&(n[a]=i[a]),Ip(i[a])==="object"&&Object.keys(i[a]).forEach(function(l){n[a]||(n[a]={}),n[a][l]=i[a][l]})}),r.hooks){var o=r.hooks();Object.keys(o).forEach(function(a){ks[a]||(ks[a]=[]),ks[a].push(o[a])})}r.provides&&r.provides(Os)}),n}function Xv(e,t){for(var n=arguments.length,r=new Array(n>2?n-2:0),i=2;i<n;i++)r[i-2]=arguments[i];var o=ks[e]||[];return o.forEach(function(a){t=a.apply(null,[t].concat(r))}),t}function _a(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];var i=ks[e]||[];i.forEach(function(o){o.apply(null,n)})}function wo(){var e=arguments[0],t=Array.prototype.slice.call(arguments,1);return Os[e]?Os[e].apply(null,t):void 0}function Yv(e){e.prefix==="fa"&&(e.prefix="fas");var t=e.iconName,n=e.prefix||So();if(t)return t=ra(n,t)||t,T3(g7.definitions,n,t)||T3(Cr.styles,n,t)}var g7=new Hae,qae=function(){pe.autoReplaceSvg=!1,pe.observeMutations=!1,_a("noAuto")},Xae={i2svg:function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return Mi?(_a("beforeI2svg",t),wo("pseudoElements2svg",t),wo("i2svg",t)):Promise.reject(new Error("Operation requires a DOM of some kind."))},watch:function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},n=t.autoReplaceSvgRoot;pe.autoReplaceSvg===!1&&(pe.autoReplaceSvg=!0),pe.observeMutations=!0,zae(function(){Qae({autoReplaceSvgRoot:n}),_a("watch",t)})}},Yae={icon:function(t){if(t===null)return null;if(Ip(t)==="object"&&t.prefix&&t.iconName)return{prefix:t.prefix,iconName:ra(t.prefix,t.iconName)||t.iconName};if(Array.isArray(t)&&t.length===2){var n=t[1].indexOf("fa-")===0?t[1].slice(3):t[1],r=Um(t[0]);return{prefix:r,iconName:ra(r,n)||n}}if(typeof t=="string"&&(t.indexOf("".concat(pe.cssPrefix,"-"))>-1||t.match(gae))){var i=Hm(t.split(" "),{skipLookups:!0});return{prefix:i.prefix||So(),iconName:ra(i.prefix,i.iconName)||i.iconName}}if(typeof t=="string"){var o=So();return{prefix:o,iconName:ra(o,t)||t}}}},Zn={noAuto:qae,config:pe,dom:Xae,parse:Yae,library:g7,findIconDefinition:Yv,toHtml:Gu},Qae=function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},n=t.autoReplaceSvgRoot,r=n===void 0?rt:n;(Object.keys(Cr.styles).length>0||pe.autoFetchSvg)&&Mi&&pe.autoReplaceSvg&&Zn.dom.i2svg({node:r})};function Gm(e,t){return Object.defineProperty(e,"abstract",{get:t}),Object.defineProperty(e,"html",{get:function(){return e.abstract.map(function(r){return Gu(r)})}}),Object.defineProperty(e,"node",{get:function(){if(Mi){var r=rt.createElement("div");return r.innerHTML=e.html,r.children}}}),e}function Zae(e){var t=e.children,n=e.main,r=e.mask,i=e.attributes,o=e.styles,a=e.transform;if(dx(a)&&n.found&&!r.found){var l=n.width,c=n.height,u={x:l/c/2,y:.5};i.style=Vm(H(H({},o),{},{"transform-origin":"".concat(u.x+a.x/16,"em ").concat(u.y+a.y/16,"em")}))}return[{tag:"svg",attributes:i,children:t}]}function Jae(e){var t=e.prefix,n=e.iconName,r=e.children,i=e.attributes,o=e.symbol,a=o===!0?"".concat(t,"-").concat(pe.cssPrefix,"-").concat(n):o;return[{tag:"svg",attributes:{style:"display: none;"},children:[{tag:"symbol",attributes:H(H({},i),{},{id:a}),children:r}]}]}function ese(e){var t=["aria-label","aria-labelledby","title","role"];return t.some(function(n){return n in e})}function mx(e){var t=e.icons,n=t.main,r=t.mask,i=e.prefix,o=e.iconName,a=e.transform,l=e.symbol,c=e.maskId,u=e.extra,d=e.watchable,f=d===void 0?!1:d,p=r.found?r:n,h=p.width,v=p.height,b=[pe.replacementClass,o?"".concat(pe.cssPrefix,"-").concat(o):""].filter(function(k){return u.classes.indexOf(k)===-1}).filter(function(k){return k!==""||!!k}).concat(u.classes).join(" "),x={children:[],attributes:H(H({},u.attributes),{},{"data-prefix":i,"data-icon":o,class:b,role:u.attributes.role||"img",viewBox:"0 0 ".concat(h," ").concat(v)})};!ese(u.attributes)&&!u.attributes["aria-hidden"]&&(x.attributes["aria-hidden"]="true"),f&&(x.attributes[Pa]="");var y=H(H({},x),{},{prefix:i,iconName:o,main:n,mask:r,maskId:c,transform:a,symbol:l,styles:H({},u.styles)}),g=r.found&&n.found?wo("generateAbstractMask",y)||{children:[],attributes:{}}:wo("generateAbstractIcon",y)||{children:[],attributes:{}},S=g.children,w=g.attributes;return y.children=S,y.attributes=w,l?Jae(y):Zae(y)}function R3(e){var t=e.content,n=e.width,r=e.height,i=e.transform,o=e.extra,a=e.watchable,l=a===void 0?!1:a,c=H(H({},o.attributes),{},{class:o.classes.join(" ")});l&&(c[Pa]="");var u=H({},o.styles);dx(i)&&(u.transform=Eae({transform:i,width:n,height:r}),u["-webkit-transform"]=u.transform);var d=Vm(u);d.length>0&&(c.style=d);var f=[];return f.push({tag:"span",attributes:c,children:[t]}),f}function tse(e){var t=e.content,n=e.extra,r=H(H({},n.attributes),{},{class:n.classes.join(" ")}),i=Vm(n.styles);i.length>0&&(r.style=i);var o=[];return o.push({tag:"span",attributes:r,children:[t]}),o}var M0=Cr.styles;function Qv(e){var t=e[0],n=e[1],r=e.slice(4),i=Wm(r,1),o=i[0],a=null;return Array.isArray(o)?a={tag:"g",attributes:{class:"".concat(pe.cssPrefix,"-").concat(z0.GROUP)},children:[{tag:"path",attributes:{class:"".concat(pe.cssPrefix,"-").concat(z0.SECONDARY),fill:"currentColor",d:o[0]}},{tag:"path",attributes:{class:"".concat(pe.cssPrefix,"-").concat(z0.PRIMARY),fill:"currentColor",d:o[1]}}]}:a={tag:"path",attributes:{fill:"currentColor",d:o}},{found:!0,width:t,height:n,icon:a}}var nse={found:!1,width:512,height:512};function rse(e,t){!Z8&&!pe.showMissingIcons&&e&&console.error('Icon with name "'.concat(e,'" and prefix "').concat(t,'" is missing.'))}function Zv(e,t){var n=t;return t==="fa"&&pe.styleDefault!==null&&(t=So()),new Promise(function(r,i){if(n==="fa"){var o=m7(e)||{};e=o.iconName||e,t=o.prefix||t}if(e&&t&&M0[t]&&M0[t][e]){var a=M0[t][e];return r(Qv(a))}rse(e,t),r(H(H({},nse),{},{icon:pe.showMissingIcons&&e?wo("missingIconAbstract")||{}:{}}))})}var I3=function(){},Jv=pe.measurePerformance&&Hd&&Hd.mark&&Hd.measure?Hd:{mark:I3,measure:I3},rc='FA "7.3.1"',ise=function(t){return Jv.mark("".concat(rc," ").concat(t," begins")),function(){return v7(t)}},v7=function(t){Jv.mark("".concat(rc," ").concat(t," ends")),Jv.measure("".concat(rc," ").concat(t),"".concat(rc," ").concat(t," begins"),"".concat(rc," ").concat(t," ends"))},hx={begin:ise,end:v7},Nf=function(){};function M3(e){var t=e.getAttribute?e.getAttribute(Pa):null;return typeof t=="string"}function ose(e){var t=e.getAttribute?e.getAttribute(sx):null,n=e.getAttribute?e.getAttribute(lx):null;return t&&n}function ase(e){return e&&e.classList&&e.classList.contains&&e.classList.contains(pe.replacementClass)}function sse(){if(pe.autoReplaceSvg===!0)return Df.replace;var e=Df[pe.autoReplaceSvg];return e||Df.replace}function lse(e){return rt.createElementNS("http://www.w3.org/2000/svg",e)}function cse(e){return rt.createElement(e)}function y7(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=t.ceFn,r=n===void 0?e.tag==="svg"?lse:cse:n;if(typeof e=="string")return rt.createTextNode(e);var i=r(e.tag);Object.keys(e.attributes||[]).forEach(function(a){i.setAttribute(a,e.attributes[a])});var o=e.children||[];return o.forEach(function(a){i.appendChild(y7(a,{ceFn:r}))}),i}function use(e){var t=" ".concat(e.outerHTML," ");return t="".concat(t,"Font Awesome fontawesome.com "),t}var Df={replace:function(t){var n=t[0];if(n.parentNode)if(t[1].forEach(function(i){n.parentNode.insertBefore(y7(i),n)}),n.getAttribute(Pa)===null&&pe.keepOriginalSource){var r=rt.createComment(use(n));n.parentNode.replaceChild(r,n)}else n.remove()},nest:function(t){var n=t[0],r=t[1];if(~ux(n).indexOf(pe.replacementClass))return Df.replace(t);var i=new RegExp("".concat(pe.cssPrefix,"-.*"));if(delete r[0].attributes.id,r[0].attributes.class){var o=r[0].attributes.class.split(" ").reduce(function(l,c){return c===pe.replacementClass||c.match(i)?l.toSvg.push(c):l.toNode.push(c),l},{toNode:[],toSvg:[]});r[0].attributes.class=o.toSvg.join(" "),o.toNode.length===0?n.removeAttribute("class"):n.setAttribute("class",o.toNode.join(" "))}var a=r.map(function(l){return Gu(l)}).join(`
|
||
`);n.setAttribute(Pa,""),n.innerHTML=a}};function L3(e){e()}function b7(e,t){var n=typeof t=="function"?t:Nf;if(e.length===0)n();else{var r=L3;pe.mutateApproach===pae&&(r=xo.requestAnimationFrame||L3),r(function(){var i=sse(),o=hx.begin("mutate");e.map(i),o(),n()})}}var gx=!1;function x7(){gx=!0}function e1(){gx=!1}var Lp=null;function N3(e){if(S3&&pe.observeMutations){var t=e.treeCallback,n=t===void 0?Nf:t,r=e.nodeCallback,i=r===void 0?Nf:r,o=e.pseudoElementsCallback,a=o===void 0?Nf:o,l=e.observeMutationsRoot,c=l===void 0?rt:l;Lp=new S3(function(u){if(!gx){var d=So();Sl(u).forEach(function(f){if(f.type==="childList"&&f.addedNodes.length>0&&!M3(f.addedNodes[0])&&(pe.searchPseudoElements&&a(f.target),n(f.target)),f.type==="attributes"&&f.target.parentNode&&pe.searchPseudoElements&&a([f.target],!0),f.type==="attributes"&&M3(f.target)&&~bae.indexOf(f.attributeName))if(f.attributeName==="class"&&ose(f.target)){var p=Hm(ux(f.target)),h=p.prefix,v=p.iconName;f.target.setAttribute(sx,h||d),v&&f.target.setAttribute(lx,v)}else ase(f.target)&&i(f.target)})}}),Mi&&Lp.observe(c,{childList:!0,attributes:!0,characterData:!0,subtree:!0})}}function dse(){Lp&&Lp.disconnect()}function fse(e){var t=e.getAttribute("style"),n=[];return t&&(n=t.split(";").reduce(function(r,i){var o=i.split(":"),a=o[0],l=o.slice(1);return a&&l.length>0&&(r[a]=l.join(":").trim()),r},{})),n}function pse(e){var t=e.getAttribute("data-prefix"),n=e.getAttribute("data-icon"),r=e.innerText!==void 0?e.innerText.trim():"",i=Hm(ux(e));return i.prefix||(i.prefix=So()),t&&n&&(i.prefix=t,i.iconName=n),i.iconName&&i.prefix||(i.prefix&&r.length>0&&(i.iconName=Nae(i.prefix,e.innerText)||px(i.prefix,a7(e.innerText))),!i.iconName&&pe.autoFetchSvg&&e.firstChild&&e.firstChild.nodeType===Node.TEXT_NODE&&(i.iconName=e.firstChild.data)),i}function mse(e){var t=Sl(e.attributes).reduce(function(n,r){return n.name!=="class"&&n.name!=="style"&&(n[r.name]=r.value),n},{});return t}function hse(){return{iconName:null,prefix:null,transform:Ur,symbol:!1,mask:{iconName:null,prefix:null,rest:[]},maskId:null,extra:{classes:[],styles:{},attributes:{}}}}function D3(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{styleParser:!0},n=pse(e),r=n.iconName,i=n.prefix,o=n.rest,a=mse(e),l=Xv("parseNodeAttributes",{},e),c=t.styleParser?fse(e):[];return H({iconName:r,prefix:i,transform:Ur,mask:{iconName:null,prefix:null,rest:[]},maskId:null,symbol:!1,extra:{classes:o,styles:c,attributes:a}},l)}var gse=Cr.styles;function S7(e){var t=pe.autoReplaceSvg==="nest"?D3(e,{styleParser:!1}):D3(e);return~t.extra.classes.indexOf(e7)?wo("generateLayersText",e,t):wo("generateSvgReplacementMutation",e,t)}function vse(){return[].concat(Ar(G8),Ar(K8))}function O3(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;if(!Mi)return Promise.resolve();var n=rt.documentElement.classList,r=function(f){return n.add("".concat(C3,"-").concat(f))},i=function(f){return n.remove("".concat(C3,"-").concat(f))},o=pe.autoFetchSvg?vse():w8.concat(Object.keys(gse));o.includes("fa")||o.push("fa");var a=[".".concat(e7,":not([").concat(Pa,"])")].concat(o.map(function(d){return".".concat(d,":not([").concat(Pa,"])")})).join(", ");if(a.length===0)return Promise.resolve();var l=[];try{l=Sl(e.querySelectorAll(a))}catch{}if(l.length>0)r("pending"),i("complete");else return Promise.resolve();var c=hx.begin("onTree"),u=l.reduce(function(d,f){try{var p=S7(f);p&&d.push(p)}catch(h){Z8||h.name==="MissingIcon"&&console.error(h)}return d},[]);return new Promise(function(d,f){Promise.all(u).then(function(p){b7(p,function(){r("active"),r("complete"),i("pending"),typeof t=="function"&&t(),c(),d()})}).catch(function(p){c(),f(p)})})}function yse(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;S7(e).then(function(n){n&&b7([n],t)})}function bse(e){return function(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=(t||{}).icon?t:Yv(t||{}),i=n.mask;return i&&(i=(i||{}).icon?i:Yv(i||{})),e(r,H(H({},n),{},{mask:i}))}}var xse=function(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=n.transform,i=r===void 0?Ur:r,o=n.symbol,a=o===void 0?!1:o,l=n.mask,c=l===void 0?null:l,u=n.maskId,d=u===void 0?null:u,f=n.classes,p=f===void 0?[]:f,h=n.attributes,v=h===void 0?{}:h,b=n.styles,x=b===void 0?{}:b;if(t){var y=t.prefix,g=t.iconName,S=t.icon;return Gm(H({type:"icon"},t),function(){return _a("beforeDOMElementCreation",{iconDefinition:t,params:n}),mx({icons:{main:Qv(S),mask:c?Qv(c.icon):{found:!1,width:null,height:null,icon:{}}},prefix:y,iconName:g,transform:H(H({},Ur),i),symbol:a,maskId:d,extra:{attributes:v,styles:x,classes:p}})})}},Sse={mixout:function(){return{icon:bse(xse)}},hooks:function(){return{mutationObserverCallbacks:function(n){return n.treeCallback=O3,n.nodeCallback=yse,n}}},provides:function(t){t.i2svg=function(n){var r=n.node,i=r===void 0?rt:r,o=n.callback,a=o===void 0?function(){}:o;return O3(i,a)},t.generateSvgReplacementMutation=function(n,r){var i=r.iconName,o=r.prefix,a=r.transform,l=r.symbol,c=r.mask,u=r.maskId,d=r.extra;return new Promise(function(f,p){Promise.all([Zv(i,o),c.iconName?Zv(c.iconName,c.prefix):Promise.resolve({found:!1,width:512,height:512,icon:{}})]).then(function(h){var v=Wm(h,2),b=v[0],x=v[1];f([n,mx({icons:{main:b,mask:x},prefix:o,iconName:i,transform:a,symbol:l,maskId:u,extra:d,watchable:!0})])}).catch(p)})},t.generateAbstractIcon=function(n){var r=n.children,i=n.attributes,o=n.main,a=n.transform,l=n.styles,c=Vm(l);c.length>0&&(i.style=c);var u;return dx(a)&&(u=wo("generateAbstractTransformGrouping",{main:o,transform:a,containerWidth:o.width,iconWidth:o.width})),r.push(u||o.icon),{children:r,attributes:i}}}},wse={mixout:function(){return{layer:function(n){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},i=r.classes,o=i===void 0?[]:i;return Gm({type:"layer"},function(){_a("beforeDOMElementCreation",{assembler:n,params:r});var a=[];return n(function(l){Array.isArray(l)?l.map(function(c){a=a.concat(c.abstract)}):a=a.concat(l.abstract)}),[{tag:"span",attributes:{class:["".concat(pe.cssPrefix,"-layers")].concat(Ar(o)).join(" ")},children:a}]})}}}},kse={mixout:function(){return{counter:function(n){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};r.title;var i=r.classes,o=i===void 0?[]:i,a=r.attributes,l=a===void 0?{}:a,c=r.styles,u=c===void 0?{}:c;return Gm({type:"counter",content:n},function(){return _a("beforeDOMElementCreation",{content:n,params:r}),tse({content:n.toString(),extra:{attributes:l,styles:u,classes:["".concat(pe.cssPrefix,"-layers-counter")].concat(Ar(o))}})})}}}},Cse={mixout:function(){return{text:function(n){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},i=r.transform,o=i===void 0?Ur:i,a=r.classes,l=a===void 0?[]:a,c=r.attributes,u=c===void 0?{}:c,d=r.styles,f=d===void 0?{}:d;return Gm({type:"text",content:n},function(){return _a("beforeDOMElementCreation",{content:n,params:r}),R3({content:n,transform:H(H({},Ur),o),extra:{attributes:u,styles:f,classes:["".concat(pe.cssPrefix,"-layers-text")].concat(Ar(l))}})})}}},provides:function(t){t.generateLayersText=function(n,r){var i=r.transform,o=r.extra,a=null,l=null;if(x8){var c=parseInt(getComputedStyle(n).fontSize,10),u=n.getBoundingClientRect();a=u.width/c,l=u.height/c}return Promise.resolve([n,R3({content:n.innerHTML,width:a,height:l,transform:i,extra:o,watchable:!0})])}}},w7=new RegExp('"',"ug"),F3=[1105920,1112319],B3=H(H(H(H({},{FontAwesome:{normal:"fas",400:"fas"}}),qie),dae),roe),t1=Object.keys(B3).reduce(function(e,t){return e[t.toLowerCase()]=B3[t],e},{}),jse=Object.keys(t1).reduce(function(e,t){var n=t1[t];return e[t]=n[900]||Ar(Object.entries(n))[0][1],e},{});function Pse(e){var t=e.replace(w7,"");return a7(Ar(t)[0]||"")}function _se(e){var t=e.getPropertyValue("font-feature-settings").includes("ss01"),n=e.getPropertyValue("content"),r=n.replace(w7,""),i=r.codePointAt(0),o=i>=F3[0]&&i<=F3[1],a=r.length===2?r[0]===r[1]:!1;return o||a||t}function Tse(e,t){var n=e.replace(/^['"]|['"]$/g,"").toLowerCase(),r=parseInt(t),i=isNaN(r)?"normal":r;return(t1[n]||{})[i]||jse[n]}function W3(e,t){var n="".concat(fae).concat(t.replace(":","-"));return new Promise(function(r,i){if(e.getAttribute(n)!==null)return r();var o=Sl(e.children),a=o.filter(function(P){return P.getAttribute(Uv)===t})[0],l=xo.getComputedStyle(e,t),c=l.getPropertyValue("font-family"),u=c.match(vae),d=l.getPropertyValue("font-weight"),f=l.getPropertyValue("content");if(a&&!u)return e.removeChild(a),r();if(u&&f!=="none"&&f!==""){var p=l.getPropertyValue("content"),h=Tse(c,d),v=Pse(p),b=u[0].startsWith("FontAwesome"),x=_se(l),y=px(h,v),g=y;if(b){var S=Dae(v);S.iconName&&S.prefix&&(y=S.iconName,h=S.prefix)}if(y&&!x&&(!a||a.getAttribute(sx)!==h||a.getAttribute(lx)!==g)){e.setAttribute(n,g),a&&e.removeChild(a);var w=hse(),k=w.extra;k.attributes[Uv]=t,Zv(y,h).then(function(P){var _=mx(H(H({},w),{},{icons:{main:P,mask:h7()},prefix:h,iconName:g,extra:k,watchable:!0})),j=rt.createElementNS("http://www.w3.org/2000/svg","svg");t==="::before"?e.insertBefore(j,e.firstChild):e.appendChild(j),j.outerHTML=_.map(function(z){return Gu(z)}).join(`
|
||
`),e.removeAttribute(n),r()}).catch(i)}else r()}else r()})}function Ese(e){return Promise.all([W3(e,"::before"),W3(e,"::after")])}function Ase(e){return e.parentNode!==document.head&&!~mae.indexOf(e.tagName.toUpperCase())&&!e.getAttribute(Uv)&&(!e.parentNode||e.parentNode.tagName!=="svg")}var $se=function(t){return!!t&&Q8.some(function(n){return t.includes(n)})},zse=function(t){if(!t)return[];var n=new Set,r=t.split(/,(?![^()]*\))/).map(function(c){return c.trim()});r=r.flatMap(function(c){return c.includes("(")?c:c.split(",").map(function(u){return u.trim()})});var i=Lf(r),o;try{for(i.s();!(o=i.n()).done;){var a=o.value;if($se(a)){var l=Q8.reduce(function(c,u){return c.replace(u,"")},a);l!==""&&l!=="*"&&n.add(l)}}}catch(c){i.e(c)}finally{i.f()}return n};function V3(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;if(Mi){var n;if(t)n=e;else if(pe.searchPseudoElementsFullScan)n=e.querySelectorAll("*");else{var r=new Set,i=Lf(document.styleSheets),o;try{for(i.s();!(o=i.n()).done;){var a=o.value;try{var l=Lf(a.cssRules),c;try{for(l.s();!(c=l.n()).done;){var u=c.value,d=zse(u.selectorText),f=Lf(d),p;try{for(f.s();!(p=f.n()).done;){var h=p.value;r.add(h)}}catch(b){f.e(b)}finally{f.f()}}}catch(b){l.e(b)}finally{l.f()}}catch(b){pe.searchPseudoElementsWarnings&&console.warn("Font Awesome: cannot parse stylesheet: ".concat(a.href," (").concat(b.message,`)
|
||
If it declares any Font Awesome CSS pseudo-elements, they will not be rendered as SVG icons. Add crossorigin="anonymous" to the <link>, enable searchPseudoElementsFullScan for slower but more thorough DOM parsing, or suppress this warning by setting searchPseudoElementsWarnings to false.`))}}}catch(b){i.e(b)}finally{i.f()}if(!r.size)return;var v=Array.from(r).join(", ");try{n=e.querySelectorAll(v)}catch{}}return new Promise(function(b,x){var y=Sl(n).filter(Ase).map(Ese),g=hx.begin("searchPseudoElements");x7(),Promise.all(y).then(function(){g(),e1(),b()}).catch(function(){g(),e1(),x()})})}}var Rse={hooks:function(){return{mutationObserverCallbacks:function(n){return n.pseudoElementsCallback=V3,n}}},provides:function(t){t.pseudoElements2svg=function(n){var r=n.node,i=r===void 0?rt:r;pe.searchPseudoElements&&V3(i)}}},U3=!1,Ise={mixout:function(){return{dom:{unwatch:function(){x7(),U3=!0}}}},hooks:function(){return{bootstrap:function(){N3(Xv("mutationObserverCallbacks",{}))},noAuto:function(){dse()},watch:function(n){var r=n.observeMutationsRoot;U3?e1():N3(Xv("mutationObserverCallbacks",{observeMutationsRoot:r}))}}}},H3=function(t){var n={size:16,x:0,y:0,flipX:!1,flipY:!1,rotate:0};return t.toLowerCase().split(" ").reduce(function(r,i){var o=i.toLowerCase().split("-"),a=o[0],l=o.slice(1).join("-");if(a&&l==="h")return r.flipX=!0,r;if(a&&l==="v")return r.flipY=!0,r;if(l=parseFloat(l),isNaN(l))return r;switch(a){case"grow":r.size=r.size+l;break;case"shrink":r.size=r.size-l;break;case"left":r.x=r.x-l;break;case"right":r.x=r.x+l;break;case"up":r.y=r.y-l;break;case"down":r.y=r.y+l;break;case"rotate":r.rotate=r.rotate+l;break}return r},n)},Mse={mixout:function(){return{parse:{transform:function(n){return H3(n)}}}},hooks:function(){return{parseNodeAttributes:function(n,r){var i=r.getAttribute("data-fa-transform");return i&&(n.transform=H3(i)),n}}},provides:function(t){t.generateAbstractTransformGrouping=function(n){var r=n.main,i=n.transform,o=n.containerWidth,a=n.iconWidth,l={transform:"translate(".concat(o/2," 256)")},c="translate(".concat(i.x*32,", ").concat(i.y*32,") "),u="scale(".concat(i.size/16*(i.flipX?-1:1),", ").concat(i.size/16*(i.flipY?-1:1),") "),d="rotate(".concat(i.rotate," 0 0)"),f={transform:"".concat(c," ").concat(u," ").concat(d)},p={transform:"translate(".concat(a/2*-1," -256)")},h={outer:l,inner:f,path:p};return{tag:"g",attributes:H({},h.outer),children:[{tag:"g",attributes:H({},h.inner),children:[{tag:r.icon.tag,children:r.icon.children,attributes:H(H({},r.icon.attributes),h.path)}]}]}}}},L0={x:0,y:0,width:"100%",height:"100%"};function G3(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0;return e.attributes&&(e.attributes.fill||t)&&(e.attributes.fill="black"),e}function Lse(e){return e.tag==="g"?e.children:[e]}var Nse={hooks:function(){return{parseNodeAttributes:function(n,r){var i=r.getAttribute("data-fa-mask"),o=i?Hm(i.split(" ").map(function(a){return a.trim()})):h7();return o.prefix||(o.prefix=So()),n.mask=o,n.maskId=r.getAttribute("data-fa-mask-id"),n}}},provides:function(t){t.generateAbstractMask=function(n){var r=n.children,i=n.attributes,o=n.main,a=n.mask,l=n.maskId,c=n.transform,u=o.width,d=o.icon,f=a.width,p=a.icon,h=Tae({transform:c,containerWidth:f,iconWidth:u}),v={tag:"rect",attributes:H(H({},L0),{},{fill:"white"})},b=d.children?{children:d.children.map(G3)}:{},x={tag:"g",attributes:H({},h.inner),children:[G3(H({tag:d.tag,attributes:H(H({},d.attributes),h.path)},b))]},y={tag:"g",attributes:H({},h.outer),children:[x]},g="mask-".concat(l||P3()),S="clip-".concat(l||P3()),w={tag:"mask",attributes:H(H({},L0),{},{id:g,maskUnits:"userSpaceOnUse",maskContentUnits:"userSpaceOnUse"}),children:[v,y]},k={tag:"defs",children:[{tag:"clipPath",attributes:{id:S},children:Lse(p)},w]};return r.push(k,{tag:"rect",attributes:H({fill:"currentColor","clip-path":"url(#".concat(S,")"),mask:"url(#".concat(g,")")},L0)}),{children:r,attributes:i}}}},Dse={provides:function(t){var n=!1;xo.matchMedia&&(n=xo.matchMedia("(prefers-reduced-motion: reduce)").matches),t.missingIconAbstract=function(){var r=[],i={fill:"currentColor"},o={attributeType:"XML",repeatCount:"indefinite",dur:"2s"};r.push({tag:"path",attributes:H(H({},i),{},{d:"M156.5,447.7l-12.6,29.5c-18.7-9.5-35.9-21.2-51.5-34.9l22.7-22.7C127.6,430.5,141.5,440,156.5,447.7z M40.6,272H8.5 c1.4,21.2,5.4,41.7,11.7,61.1L50,321.2C45.1,305.5,41.8,289,40.6,272z M40.6,240c1.4-18.8,5.2-37,11.1-54.1l-29.5-12.6 C14.7,194.3,10,216.7,8.5,240H40.6z M64.3,156.5c7.8-14.9,17.2-28.8,28.1-41.5L69.7,92.3c-13.7,15.6-25.5,32.8-34.9,51.5 L64.3,156.5z M397,419.6c-13.9,12-29.4,22.3-46.1,30.4l11.9,29.8c20.7-9.9,39.8-22.6,56.9-37.6L397,419.6z M115,92.4 c13.9-12,29.4-22.3,46.1-30.4l-11.9-29.8c-20.7,9.9-39.8,22.6-56.8,37.6L115,92.4z M447.7,355.5c-7.8,14.9-17.2,28.8-28.1,41.5 l22.7,22.7c13.7-15.6,25.5-32.9,34.9-51.5L447.7,355.5z M471.4,272c-1.4,18.8-5.2,37-11.1,54.1l29.5,12.6 c7.5-21.1,12.2-43.5,13.6-66.8H471.4z M321.2,462c-15.7,5-32.2,8.2-49.2,9.4v32.1c21.2-1.4,41.7-5.4,61.1-11.7L321.2,462z M240,471.4c-18.8-1.4-37-5.2-54.1-11.1l-12.6,29.5c21.1,7.5,43.5,12.2,66.8,13.6V471.4z M462,190.8c5,15.7,8.2,32.2,9.4,49.2h32.1 c-1.4-21.2-5.4-41.7-11.7-61.1L462,190.8z M92.4,397c-12-13.9-22.3-29.4-30.4-46.1l-29.8,11.9c9.9,20.7,22.6,39.8,37.6,56.9 L92.4,397z M272,40.6c18.8,1.4,36.9,5.2,54.1,11.1l12.6-29.5C317.7,14.7,295.3,10,272,8.5V40.6z M190.8,50 c15.7-5,32.2-8.2,49.2-9.4V8.5c-21.2,1.4-41.7,5.4-61.1,11.7L190.8,50z M442.3,92.3L419.6,115c12,13.9,22.3,29.4,30.5,46.1 l29.8-11.9C470,128.5,457.3,109.4,442.3,92.3z M397,92.4l22.7-22.7c-15.6-13.7-32.8-25.5-51.5-34.9l-12.6,29.5 C370.4,72.1,384.4,81.5,397,92.4z"})});var a=H(H({},o),{},{attributeName:"opacity"}),l={tag:"circle",attributes:H(H({},i),{},{cx:"256",cy:"364",r:"28"}),children:[]};return n||l.children.push({tag:"animate",attributes:H(H({},o),{},{attributeName:"r",values:"28;14;28;28;14;28;"})},{tag:"animate",attributes:H(H({},a),{},{values:"1;0;1;1;0;1;"})}),r.push(l),r.push({tag:"path",attributes:H(H({},i),{},{opacity:"1",d:"M263.7,312h-16c-6.6,0-12-5.4-12-12c0-71,77.4-63.9,77.4-107.8c0-20-17.8-40.2-57.4-40.2c-29.1,0-44.3,9.6-59.2,28.7 c-3.9,5-11.1,6-16.2,2.4l-13.1-9.2c-5.6-3.9-6.9-11.8-2.6-17.2c21.2-27.2,46.4-44.7,91.2-44.7c52.3,0,97.4,29.8,97.4,80.2 c0,67.6-77.4,63.5-77.4,107.8C275.7,306.6,270.3,312,263.7,312z"}),children:n?[]:[{tag:"animate",attributes:H(H({},a),{},{values:"1;0;0;0;0;1;"})}]}),n||r.push({tag:"path",attributes:H(H({},i),{},{opacity:"0",d:"M232.5,134.5l7,168c0.3,6.4,5.6,11.5,12,11.5h9c6.4,0,11.7-5.1,12-11.5l7-168c0.3-6.8-5.2-12.5-12-12.5h-23 C237.7,122,232.2,127.7,232.5,134.5z"}),children:[{tag:"animate",attributes:H(H({},a),{},{values:"0;0;1;1;0;0;"})}]}),{tag:"g",attributes:{class:"missing"},children:r}}}},Ose={hooks:function(){return{parseNodeAttributes:function(n,r){var i=r.getAttribute("data-fa-symbol"),o=i===null?!1:i===""?!0:i;return n.symbol=o,n}}}},Fse=[$ae,Sse,wse,kse,Cse,Rse,Ise,Mse,Nse,Dse,Ose];Kae(Fse,{mixoutsTo:Zn});Zn.noAuto;var sl=Zn.config;Zn.library;Zn.dom;var k7=Zn.parse;Zn.findIconDefinition;Zn.toHtml;var Bse=Zn.icon;Zn.layer;Zn.text;Zn.counter;function Wse(e){return e=e-0,e===e}function C7(e){return Wse(e)?e:(e=e.replace(/[_-]+(.)?/g,(t,n)=>n?n.toUpperCase():""),e.charAt(0).toLowerCase()+e.slice(1))}var Vse=(e,t)=>Xt.createElement("stop",{key:`${t}-${e.offset}`,offset:e.offset,stopColor:e.color,...e.opacity!==void 0&&{stopOpacity:e.opacity}});function Use(e){return e.charAt(0).toUpperCase()+e.slice(1)}var Ga=new Map,Hse=1e3;function Gse(e){if(Ga.has(e))return Ga.get(e);const t={};let n=0;const r=e.length;for(;n<r;){const i=e.indexOf(";",n),o=i===-1?r:i,a=e.slice(n,o).trim();if(a){const l=a.indexOf(":");if(l>0){const c=a.slice(0,l).trim(),u=a.slice(l+1).trim();if(c&&u){const d=C7(c);t[d.startsWith("webkit")?Use(d):d]=u}}}n=o+1}if(Ga.size===Hse){const i=Ga.keys().next().value;i&&Ga.delete(i)}return Ga.set(e,t),t}function j7(e,t,n={}){if(typeof t=="string")return t;const r=(t.children||[]).map(f=>{let p=f;return("fill"in n||n.gradientFill)&&f.tag==="path"&&"fill"in f.attributes&&(p={...f,attributes:{...f.attributes,fill:void 0}}),j7(e,p)}),i=t.attributes||{},o={};for(const[f,p]of Object.entries(i))switch(!0){case f==="class":{o.className=p;break}case f==="style":{o.style=Gse(String(p));break}case f.startsWith("aria-"):case f.startsWith("data-"):{o[f.toLowerCase()]=p;break}default:o[C7(f)]=p}const{style:a,role:l,"aria-label":c,gradientFill:u,...d}=n;if(a&&(o.style=o.style?{...o.style,...a}:a),l&&(o.role=l),c&&(o["aria-label"]=c,o["aria-hidden"]="false"),u){o.fill=`url(#${u.id})`;const{type:f,stops:p=[],...h}=u;r.unshift(e(f==="linear"?"linearGradient":"radialGradient",{...h,id:u.id},p.map(Vse)))}return e(t.tag,{...o,...d},...r)}var Kse=j7.bind(null,Xt.createElement),K3=(e,t)=>{const n=m.useId();return e||(t?n:void 0)},qse=class{constructor(e="react-fontawesome"){this.enabled=!1;let t=!1;try{t=typeof process<"u"&&!1}catch{}this.scope=e,this.enabled=t}log(...e){this.enabled&&console.log(`[${this.scope}]`,...e)}warn(...e){this.enabled&&console.warn(`[${this.scope}]`,...e)}error(...e){this.enabled&&console.error(`[${this.scope}]`,...e)}},Xse="searchPseudoElementsFullScan"in sl&&typeof sl.searchPseudoElementsFullScan=="boolean"?"7.0.0":"6.0.0",Yse=Number.parseInt(Xse)>=7,Qse=()=>Yse,Tc="fa",Ft={beat:"fa-beat",fade:"fa-fade",beatFade:"fa-beat-fade",bounce:"fa-bounce",shake:"fa-shake",spin:"fa-spin",spinPulse:"fa-spin-pulse",spinReverse:"fa-spin-reverse",pulse:"fa-pulse",flip360:"fa-flip-360",buzz:"fa-buzz",float:"fa-float",jello:"fa-jello",spinSnap:"fa-spin-snap",spinSnap4:"fa-spin-snap-4",spinSnap8:"fa-spin-snap-8",swing:"fa-swing",wag:"fa-wag"},Zse={left:"fa-pull-left",right:"fa-pull-right"},Jse={90:"fa-rotate-90",180:"fa-rotate-180",270:"fa-rotate-270"},ele={"2xs":"fa-2xs",xs:"fa-xs",sm:"fa-sm",lg:"fa-lg",xl:"fa-xl","2xl":"fa-2xl","1x":"fa-1x","2x":"fa-2x","3x":"fa-3x","4x":"fa-4x","5x":"fa-5x","6x":"fa-6x","7x":"fa-7x","8x":"fa-8x","9x":"fa-9x","10x":"fa-10x"},yr={border:"fa-border",fixedWidth:"fa-fw",flip:"fa-flip",flipHorizontal:"fa-flip-horizontal",flipVertical:"fa-flip-vertical",inverse:"fa-inverse",rotateBy:"fa-rotate-by",swapOpacity:"fa-swap-opacity",widthAuto:"fa-width-auto",canvasSquare:"fa-canvas-square",canvasRoomy:"fa-canvas-roomy"};function tle(e){const t=sl.cssPrefix||sl.familyPrefix||Tc;return t===Tc?e:e.replace(new RegExp(String.raw`(?<=^|\s)${Tc}-`,"g"),`${t}-`)}function nle(e){const{beat:t,fade:n,beatFade:r,bounce:i,shake:o,spin:a,spinPulse:l,spinReverse:c,pulse:u,fixedWidth:d,inverse:f,border:p,flip:h,size:v,rotation:b,pull:x,swapOpacity:y,rotateBy:g,widthAuto:S,canvasSquare:w,canvasRoomy:k,flip360:P,buzz:_,float:j,jello:z,spinSnap:$,spinSnap4:W,spinSnap8:Y,swing:ee,wag:I,className:L}=e,N=[];return L&&N.push(...L.split(" ")),t&&N.push(Ft.beat),n&&N.push(Ft.fade),r&&N.push(Ft.beatFade),i&&N.push(Ft.bounce),o&&N.push(Ft.shake),a&&N.push(Ft.spin),c&&N.push(Ft.spinReverse),l&&N.push(Ft.spinPulse),u&&N.push(Ft.pulse),d&&N.push(yr.fixedWidth),f&&N.push(yr.inverse),p&&N.push(yr.border),h===!0&&N.push(yr.flip),(h==="horizontal"||h==="both")&&N.push(yr.flipHorizontal),(h==="vertical"||h==="both")&&N.push(yr.flipVertical),v!=null&&N.push(ele[v]),b!=null&&b!==0&&N.push(Jse[b]),x!=null&&N.push(Zse[x]),y&&N.push(yr.swapOpacity),Qse()?(g&&N.push(yr.rotateBy),S&&N.push(yr.widthAuto),w&&N.push(yr.canvasSquare),k&&N.push(yr.canvasRoomy),P&&N.push(Ft.flip360),_&&N.push(Ft.buzz),j&&N.push(Ft.float),z&&N.push(Ft.jello),$&&N.push(Ft.spinSnap),W&&N.push(Ft.spinSnap4),Y&&N.push(Ft.spinSnap8),ee&&N.push(Ft.swing),I&&N.push(Ft.wag),(sl.cssPrefix||sl.familyPrefix||Tc)===Tc?N:N.map(tle)):N}var rle=e=>typeof e=="object"&&"icon"in e&&!!e.icon;function q3(e){if(e)return rle(e)?e:k7.icon(e)}function ile(e){return Object.keys(e)}var X3=new qse("FontAwesomeIcon"),P7={border:!1,className:"",mask:void 0,maskId:void 0,fixedWidth:!1,inverse:!1,flip:!1,icon:void 0,listItem:!1,pull:void 0,pulse:!1,rotation:void 0,rotateBy:!1,size:void 0,spin:!1,spinPulse:!1,spinReverse:!1,beat:!1,fade:!1,beatFade:!1,bounce:!1,shake:!1,symbol:!1,title:"",titleId:void 0,transform:void 0,swapOpacity:!1,widthAuto:!1,canvasSquare:!1,canvasRoomy:!1,flip360:!1,buzz:!1,float:!1,jello:!1,spinSnap:!1,spinSnap4:!1,spinSnap8:!1,swing:!1,wag:!1},ole=new Set(Object.keys(P7)),We=Xt.forwardRef((e,t)=>{const n={...P7,...e},{icon:r,mask:i,symbol:o,title:a,titleId:l,maskId:c,transform:u}=n,d=K3(c,!!i),f=K3(l,!!a),p=q3(r);if(!p)return X3.error("Icon lookup is undefined",r),null;const h=nle(n),v=typeof u=="string"?k7.transform(u):u,b=q3(i),x=Bse(p,{...h.length>0&&{classes:h},...v&&{transform:v},...b&&{mask:b},symbol:o,title:a,titleId:f,maskId:d});if(!x)return X3.error("Could not find icon",p),null;const{abstract:y}=x,g={ref:t};for(const S of ile(n))ole.has(S)||(g[S]=n[S]);return Kse(y[0],g)});We.displayName="FontAwesomeIcon";/*!
|
||
* Font Awesome Free 7.3.1 by @fontawesome - https://fontawesome.com
|
||
* License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License)
|
||
* Copyright 2026 Fonticons, Inc.
|
||
*/var n1={prefix:"fas",iconName:"truck",icon:[576,512,[128666,9951],"f0d1","M0 96C0 60.7 28.7 32 64 32l288 0c35.3 0 64 28.7 64 64l0 32 50.7 0c17 0 33.3 6.7 45.3 18.7L557.3 192c12 12 18.7 28.3 18.7 45.3L576 384c0 35.3-28.7 64-64 64l-3.3 0c-10.4 36.9-44.4 64-84.7 64s-74.2-27.1-84.7-64l-102.6 0c-10.4 36.9-44.4 64-84.7 64s-74.2-27.1-84.7-64L64 448c-35.3 0-64-28.7-64-64L0 96zM512 288l0-50.7-45.3-45.3-50.7 0 0 96 96 0zM192 424a40 40 0 1 0 -80 0 40 40 0 1 0 80 0zm232 40a40 40 0 1 0 0-80 40 40 0 1 0 0 80z"]},vx={prefix:"fas",iconName:"user-check",icon:[640,512,[],"f4fc","M286 304c98.5 0 178.3 79.8 178.3 178.3 0 16.4-13.3 29.7-29.7 29.7L78 512c-16.4 0-29.7-13.3-29.7-29.7 0-98.5 79.8-178.3 178.3-178.3l59.4 0zM585.7 105.9c7.8-10.7 22.8-13.1 33.5-5.3s13.1 22.8 5.3 33.5L522.1 274.9c-4.2 5.7-10.7 9.4-17.7 9.8s-14-2.2-18.9-7.3l-46.4-48c-9.2-9.5-9-24.7 .6-33.9 9.5-9.2 24.7-8.9 33.9 .6l26.5 27.4 85.6-117.7zM256.3 248a120 120 0 1 1 0-240 120 120 0 1 1 0 240z"]},yx={prefix:"fas",iconName:"bell",icon:[448,512,[128276,61602],"f0f3","M224 0c-17.7 0-32 14.3-32 32l0 3.2C119 50 64 114.6 64 192l0 21.7c0 48.1-16.4 94.8-46.4 132.4L7.8 358.3C2.7 364.6 0 372.4 0 380.5 0 400.1 15.9 416 35.5 416l376.9 0c19.6 0 35.5-15.9 35.5-35.5 0-8.1-2.7-15.9-7.8-22.2l-9.8-12.2C400.4 308.5 384 261.8 384 213.7l0-21.7c0-77.4-55-142-128-156.8l0-3.2c0-17.7-14.3-32-32-32zM162 464c7.1 27.6 32.2 48 62 48s54.9-20.4 62-48l-124 0z"]},Y3={prefix:"fas",iconName:"trophy",icon:[512,512,[127942],"f091","M144.3 0l224 0c26.5 0 48.1 21.8 47.1 48.2-.2 5.3-.4 10.6-.7 15.8l49.6 0c26.1 0 49.1 21.6 47.1 49.8-7.5 103.7-60.5 160.7-118 190.5-15.8 8.2-31.9 14.3-47.2 18.8-20.2 28.6-41.2 43.7-57.9 51.8l0 73.1 64 0c17.7 0 32 14.3 32 32s-14.3 32-32 32l-192 0c-17.7 0-32-14.3-32-32s14.3-32 32-32l64 0 0-73.1c-16-7.7-35.9-22-55.3-48.3-18.4-4.8-38.4-12.1-57.9-23.1-54.1-30.3-102.9-87.4-109.9-189.9-1.9-28.1 21-49.7 47.1-49.7l49.6 0c-.3-5.2-.5-10.4-.7-15.8-1-26.5 20.6-48.2 47.1-48.2zM101.5 112l-52.4 0c6.2 84.7 45.1 127.1 85.2 149.6-14.4-37.3-26.3-86-32.8-149.6zM380 256.8c40.5-23.8 77.1-66.1 83.3-144.8L411 112c-6.2 60.9-17.4 108.2-31 144.8z"]},ale={prefix:"fas",iconName:"gift",icon:[512,512,[127873],"f06b","M321.5 68.8C329.1 55.9 342.9 48 357.8 48l2.2 0c22.1 0 40 17.9 40 40s-17.9 40-40 40l-73.3 0 34.8-59.2zm-131 0l34.8 59.2-73.3 0c-22.1 0-40-17.9-40-40s17.9-40 40-40l2.2 0c14.9 0 28.8 7.9 36.3 20.8zm89.6-24.3l-24.1 41-24.1-41C215.7 16.9 186.1 0 154.2 0L152 0c-48.6 0-88 39.4-88 88 0 14.4 3.5 28 9.6 40L32 128c-17.7 0-32 14.3-32 32l0 32c0 17.7 14.3 32 32 32l448 0c17.7 0 32-14.3 32-32l0-32c0-17.7-14.3-32-32-32l-41.6 0c6.1-12 9.6-25.6 9.6-40 0-48.6-39.4-88-88-88l-2.2 0c-31.9 0-61.5 16.9-77.7 44.4zM480 272l-200 0 0 208 136 0c35.3 0 64-28.7 64-64l0-144zm-248 0l-200 0 0 144c0 35.3 28.7 64 64 64l136 0 0-208z"]},_7={prefix:"fas",iconName:"power-off",icon:[512,512,[9211],"f011","M288 0c0-17.7-14.3-32-32-32S224-17.7 224 0l0 256c0 17.7 14.3 32 32 32s32-14.3 32-32L288 0zM146.3 98.4c14.5-10.1 18-30.1 7.9-44.6s-30.1-18-44.6-7.9C43.4 92.1 0 169 0 256 0 397.4 114.6 512 256 512S512 397.4 512 256c0-87-43.4-163.9-109.7-210.1-14.5-10.1-34.4-6.6-44.6 7.9s-6.6 34.4 7.9 44.6c49.8 34.8 82.3 92.4 82.3 157.6 0 106-86 192-192 192S64 362 64 256c0-65.2 32.5-122.9 82.3-157.6z"]},sle={prefix:"fas",iconName:"cash-register",icon:[512,512,[],"f788","M96 0C60.7 0 32 28.7 32 64s28.7 64 64 64l48 0 0 32-57 0c-31.6 0-58.5 23.1-63.3 54.4L1.1 364.1C.4 368.8 0 373.6 0 378.4L0 448c0 35.3 28.7 64 64 64l384 0c35.3 0 64-28.7 64-64l0-69.6c0-4.8-.4-9.6-1.1-14.4L488.2 214.4C483.5 183.1 456.6 160 425 160l-217 0 0-32 48 0c35.3 0 64-28.7 64-64S291.3 0 256 0L96 0zm0 48l160 0c8.8 0 16 7.2 16 16s-7.2 16-16 16L96 80c-8.8 0-16-7.2-16-16s7.2-16 16-16zM64 424c0-13.3 10.7-24 24-24l336 0c13.3 0 24 10.7 24 24s-10.7 24-24 24L88 448c-13.3 0-24-10.7-24-24zm48-160a24 24 0 1 1 0-48 24 24 0 1 1 0 48zm120-24a24 24 0 1 1 -48 0 24 24 0 1 1 48 0zM160 344a24 24 0 1 1 0-48 24 24 0 1 1 0 48zM328 240a24 24 0 1 1 -48 0 24 24 0 1 1 48 0zM256 344a24 24 0 1 1 0-48 24 24 0 1 1 0 48zM424 240a24 24 0 1 1 -48 0 24 24 0 1 1 48 0zM352 344a24 24 0 1 1 0-48 24 24 0 1 1 0 48z"]},lle={prefix:"fas",iconName:"map-location-dot",icon:[640,512,["map-marked-alt"],"f5a0","M576 48c0-11.1-5.7-21.4-15.2-27.2s-21.2-6.4-31.1-1.4L413.5 77.5 234.1 17.6c-8.1-2.7-16.8-2.1-24.4 1.7l-128 64C70.8 88.8 64 99.9 64 112l0 352c0 11.1 5.7 21.4 15.2 27.2s21.2 6.4 31.1 1.4l116.1-58.1 173.3 57.8c-4.3-6.4-8.5-13.1-12.6-19.9-11-18.3-21.9-39.3-30-61.8l-101.2-33.7 0-284.5 128 42.7 0 99.3c31-35.8 77-58.4 128-58.4 22.6 0 44.2 4.4 64 12.5L576 48zM512 224c-66.3 0-120 52.8-120 117.9 0 68.9 64.1 150.4 98.6 189.3 11.6 13 31.3 13 42.9 0 34.5-38.9 98.6-120.4 98.6-189.3 0-65.1-53.7-117.9-120-117.9zM472 344a40 40 0 1 1 80 0 40 40 0 1 1 -80 0z"]},cle={prefix:"fas",iconName:"magnifying-glass",icon:[512,512,[128269,"search"],"f002","M416 208c0 45.9-14.9 88.3-40 122.7L502.6 457.4c12.5 12.5 12.5 32.8 0 45.3s-32.8 12.5-45.3 0L330.7 376C296.3 401.1 253.9 416 208 416 93.1 416 0 322.9 0 208S93.1 0 208 0 416 93.1 416 208zM208 352a144 144 0 1 0 0-288 144 144 0 1 0 0 288z"]},ule={prefix:"fas",iconName:"boxes-stacked",icon:[512,512,[62625,"boxes","boxes-alt"],"f468","M224 0l0 64c0 8.8 7.2 16 16 16l32 0c8.8 0 16-7.2 16-16l0-64 32 0c35.3 0 64 28.7 64 64l0 128c0 5.5-.7 10.9-2 16l-252 0c-1.3-5.1-2-10.5-2-16l0-128c0-35.3 28.7-64 64-64l32 0zm96 512c-11.2 0-21.8-2.9-31-8 9.5-16.5 15-35.6 15-56l0-128c0-20.4-5.5-39.5-15-56 9.2-5.1 19.7-8 31-8l32 0 0 64c0 8.8 7.2 16 16 16l32 0c8.8 0 16-7.2 16-16l0-64 32 0c35.3 0 64 28.7 64 64l0 128c0 35.3-28.7 64-64 64l-128 0zM0 320c0-35.3 28.7-64 64-64l32 0 0 64c0 8.8 7.2 16 16 16l32 0c8.8 0 16-7.2 16-16l0-64 32 0c35.3 0 64 28.7 64 64l0 128c0 35.3-28.7 64-64 64L64 512c-35.3 0-64-28.7-64-64L0 320z"]},T7={prefix:"fas",iconName:"ban",icon:[512,512,[128683,"cancel"],"f05e","M367.2 412.5L99.5 144.8c-22.4 31.4-35.5 69.8-35.5 111.2 0 106 86 192 192 192 41.5 0 79.9-13.1 111.2-35.5zm45.3-45.3c22.4-31.4 35.5-69.8 35.5-111.2 0-106-86-192-192-192-41.5 0-79.9 13.1-111.2 35.5L412.5 367.2zM0 256a256 256 0 1 1 512 0 256 256 0 1 1 -512 0z"]},Q3={prefix:"fas",iconName:"palette",icon:[512,512,[127912],"f53f","M512 256c0 .9 0 1.8 0 2.7-.4 36.5-33.6 61.3-70.1 61.3L344 320c-26.5 0-48 21.5-48 48 0 3.4 .4 6.7 1 9.9 2.1 10.2 6.5 20 10.8 29.9 6.1 13.8 12.1 27.5 12.1 42 0 31.8-21.6 60.7-53.4 62-3.5 .1-7 .2-10.6 .2-141.4 0-256-114.6-256-256S114.6 0 256 0 512 114.6 512 256zM128 288a32 32 0 1 0 -64 0 32 32 0 1 0 64 0zm0-96a32 32 0 1 0 0-64 32 32 0 1 0 0 64zM288 96a32 32 0 1 0 -64 0 32 32 0 1 0 64 0zm96 96a32 32 0 1 0 0-64 32 32 0 1 0 0 64z"]},dle={prefix:"fas",iconName:"eye",icon:[576,512,[128065],"f06e","M288 32c-80.8 0-145.5 36.8-192.6 80.6-46.8 43.5-78.1 95.4-93 131.1-3.3 7.9-3.3 16.7 0 24.6 14.9 35.7 46.2 87.7 93 131.1 47.1 43.7 111.8 80.6 192.6 80.6s145.5-36.8 192.6-80.6c46.8-43.5 78.1-95.4 93-131.1 3.3-7.9 3.3-16.7 0-24.6-14.9-35.7-46.2-87.7-93-131.1-47.1-43.7-111.8-80.6-192.6-80.6zM144 256a144 144 0 1 1 288 0 144 144 0 1 1 -288 0zm144-64c0 35.3-28.7 64-64 64-11.5 0-22.3-3-31.7-8.4-1 10.9-.1 22.1 2.9 33.2 13.7 51.2 66.4 81.6 117.6 67.9s81.6-66.4 67.9-117.6c-12.2-45.7-55.5-74.8-101.1-70.8 5.3 9.3 8.4 20.1 8.4 31.7z"]},E7={prefix:"fas",iconName:"trash",icon:[448,512,[],"f1f8","M136.7 5.9L128 32 32 32C14.3 32 0 46.3 0 64S14.3 96 32 96l384 0c17.7 0 32-14.3 32-32s-14.3-32-32-32l-96 0-8.7-26.1C306.9-7.2 294.7-16 280.9-16L167.1-16c-13.8 0-26 8.8-30.4 21.9zM416 144L32 144 53.1 467.1C54.7 492.4 75.7 512 101 512L347 512c25.3 0 46.3-19.6 47.9-44.9L416 144z"]},fle={prefix:"fas",iconName:"receipt",icon:[384,512,[129534],"f543","M14 2.2C22.5-1.7 32.5-.3 39.6 5.8L80 40.4 120.4 5.8c9-7.7 22.3-7.7 31.2 0L192 40.4 232.4 5.8c9-7.7 22.2-7.7 31.2 0L304 40.4 344.4 5.8c7.1-6.1 17.1-7.5 25.6-3.6S384 14.6 384 24l0 464c0 9.4-5.5 17.9-14 21.8s-18.5 2.5-25.6-3.6l-40.4-34.6-40.4 34.6c-9 7.7-22.2 7.7-31.2 0l-40.4-34.6-40.4 34.6c-9 7.7-22.3 7.7-31.2 0L80 471.6 39.6 506.2c-7.1 6.1-17.1 7.5-25.6 3.6S0 497.4 0 488L0 24C0 14.6 5.5 6.1 14 2.2zM104 136c-13.3 0-24 10.7-24 24s10.7 24 24 24l176 0c13.3 0 24-10.7 24-24s-10.7-24-24-24l-176 0zM80 352c0 13.3 10.7 24 24 24l176 0c13.3 0 24-10.7 24-24s-10.7-24-24-24l-176 0c-13.3 0-24 10.7-24 24zm24-120c-13.3 0-24 10.7-24 24s10.7 24 24 24l176 0c13.3 0 24-10.7 24-24s-10.7-24-24-24l-176 0z"]},A7={prefix:"fas",iconName:"chevron-up",icon:[448,512,[],"f077","M201.4 105.4c12.5-12.5 32.8-12.5 45.3 0l192 192c12.5 12.5 12.5 32.8 0 45.3s-32.8 12.5-45.3 0L224 173.3 54.6 342.6c-12.5 12.5-32.8 12.5-45.3 0s-12.5-32.8 0-45.3l192-192z"]},Ku={prefix:"fas",iconName:"clock",icon:[512,512,[128339,"clock-four"],"f017","M256 0a256 256 0 1 1 0 512 256 256 0 1 1 0-512zM232 120l0 136c0 8 4 15.5 10.7 20l96 64c11 7.4 25.9 4.4 33.3-6.7s4.4-25.9-6.7-33.3L280 243.2 280 120c0-13.3-10.7-24-24-24s-24 10.7-24 24z"]},ple={prefix:"fas",iconName:"paper-plane",icon:[576,512,[61913],"f1d8","M536.4-26.3c9.8-3.5 20.6-1 28 6.3s9.8 18.2 6.3 28l-178 496.9c-5 13.9-18.1 23.1-32.8 23.1-14.2 0-27-8.6-32.3-21.7l-64.2-158c-4.5-11-2.5-23.6 5.2-32.6l94.5-112.4c5.1-6.1 4.7-15-.9-20.6s-14.6-6-20.6-.9L229.2 276.1c-9.1 7.6-21.6 9.6-32.6 5.2L38.1 216.8c-13.1-5.3-21.7-18.1-21.7-32.3 0-14.7 9.2-27.8 23.1-32.8l496.9-178z"]},mle={prefix:"fas",iconName:"chevron-right",icon:[320,512,[9002],"f054","M311.1 233.4c12.5 12.5 12.5 32.8 0 45.3l-192 192c-12.5 12.5-32.8 12.5-45.3 0s-12.5-32.8 0-45.3L243.2 256 73.9 86.6c-12.5-12.5-12.5-32.8 0-45.3s32.8-12.5 45.3 0l192 192z"]},hle={prefix:"fas",iconName:"fire",icon:[448,512,[128293],"f06d","M160.5-26.4c9.3-7.8 23-7.5 31.9 .9 12.3 11.6 23.3 24.4 33.9 37.4 13.5 16.5 29.7 38.3 45.3 64.2 5.2-6.8 10-12.8 14.2-17.9 1.1-1.3 2.2-2.7 3.3-4.1 7.9-9.8 17.7-22.1 30.8-22.1 13.4 0 22.8 11.9 30.8 22.1 1.3 1.7 2.6 3.3 3.9 4.8 10.3 12.4 24 30.3 37.7 52.4 27.2 43.9 55.6 106.4 55.6 176.6 0 123.7-100.3 224-224 224S0 411.7 0 288c0-91.1 41.1-170 80.5-225 19.9-27.7 39.7-49.9 54.6-65.1 8.2-8.4 16.5-16.7 25.5-24.2zM225.7 416c25.3 0 47.7-7 68.8-21 42.1-29.4 53.4-88.2 28.1-134.4-4.5-9-16-9.6-22.5-2l-25.2 29.3c-6.6 7.6-18.5 7.4-24.7-.5-17.3-22.1-49.1-62.4-65.3-83-5.4-6.9-15.2-8-21.5-1.9-18.3 17.8-51.5 56.8-51.5 104.3 0 68.6 50.6 109.2 113.7 109.2z"]},$7={prefix:"fas",iconName:"users",icon:[640,512,[],"f0c0","M320 16a104 104 0 1 1 0 208 104 104 0 1 1 0-208zM96 88a72 72 0 1 1 0 144 72 72 0 1 1 0-144zM0 416c0-70.7 57.3-128 128-128 12.8 0 25.2 1.9 36.9 5.4-32.9 36.8-52.9 85.4-52.9 138.6l0 16c0 11.4 2.4 22.2 6.7 32L32 480c-17.7 0-32-14.3-32-32l0-32zm521.3 64c4.3-9.8 6.7-20.6 6.7-32l0-16c0-53.2-20-101.8-52.9-138.6 11.7-3.5 24.1-5.4 36.9-5.4 70.7 0 128 57.3 128 128l0 32c0 17.7-14.3 32-32 32l-86.7 0zM472 160a72 72 0 1 1 144 0 72 72 0 1 1 -144 0zM160 432c0-88.4 71.6-160 160-160s160 71.6 160 160l0 16c0 17.7-14.3 32-32 32l-256 0c-17.7 0-32-14.3-32-32l0-16z"]},z7={prefix:"fas",iconName:"location-arrow",icon:[512,512,[],"f124","M477.9 75.5c4.5-11.8 1.7-25.2-7.2-34.1s-22.3-11.8-34.1-7.2l-416 160C7.9 199-.3 211.2 0 224.7s9.1 25.4 21.9 29.6l176.8 58.9 58.9 176.8c4.3 12.8 16.1 21.6 29.6 21.9s25.7-7.9 30.6-20.5l160-416z"]},gle={prefix:"fas",iconName:"video",icon:[576,512,["video-camera"],"f03d","M96 64c-35.3 0-64 28.7-64 64l0 256c0 35.3 28.7 64 64 64l256 0c35.3 0 64-28.7 64-64l0-256c0-35.3-28.7-64-64-64L96 64zM464 336l73.5 58.8c4.2 3.4 9.4 5.2 14.8 5.2 13.1 0 23.7-10.6 23.7-23.7l0-240.6c0-13.1-10.6-23.7-23.7-23.7-5.4 0-10.6 1.8-14.8 5.2L464 176 464 336z"]},vle={prefix:"fas",iconName:"utensils",icon:[512,512,[127860,61685,"cutlery"],"f2e7","M63.9 14.4C63.1 6.2 56.2 0 48 0s-15.1 6.2-16 14.3L17.9 149.7c-1.3 6-1.9 12.1-1.9 18.2 0 45.9 35.1 83.6 80 87.7L96 480c0 17.7 14.3 32 32 32s32-14.3 32-32l0-224.4c44.9-4.1 80-41.8 80-87.7 0-6.1-.6-12.2-1.9-18.2L223.9 14.3C223.1 6.2 216.2 0 208 0s-15.1 6.2-15.9 14.4L178.5 149.9c-.6 5.7-5.4 10.1-11.1 10.1-5.8 0-10.6-4.4-11.2-10.2L143.9 14.6C143.2 6.3 136.3 0 128 0s-15.2 6.3-15.9 14.6L99.8 149.8c-.5 5.8-5.4 10.2-11.2 10.2-5.8 0-10.6-4.4-11.1-10.1L63.9 14.4zM448 0C432 0 320 32 320 176l0 112c0 35.3 28.7 64 64 64l32 0 0 128c0 17.7 14.3 32 32 32s32-14.3 32-32l0-448c0-17.7-14.3-32-32-32z"]},yle={prefix:"fas",iconName:"circle-xmark",icon:[512,512,[61532,"times-circle","xmark-circle"],"f057","M256 512a256 256 0 1 0 0-512 256 256 0 1 0 0 512zM167 167c9.4-9.4 24.6-9.4 33.9 0l55 55 55-55c9.4-9.4 24.6-9.4 33.9 0s9.4 24.6 0 33.9l-55 55 55 55c9.4 9.4 9.4 24.6 0 33.9s-24.6 9.4-33.9 0l-55-55-55 55c-9.4 9.4-24.6 9.4-33.9 0s-9.4-24.6 0-33.9l55-55-55-55c-9.4-9.4-9.4-24.6 0-33.9z"]},bx={prefix:"fas",iconName:"user-clock",icon:[576,512,[],"f4fd","M224 8a120 120 0 1 1 0 240 120 120 0 1 1 0-240zM194.3 304l59.4 0c3.9 0 7.9 .1 11.8 .4-16.2 28.2-25.5 60.8-25.5 95.6 0 41.8 13.4 80.5 36 112L45.7 512C29.3 512 16 498.7 16 482.3 16 383.8 95.8 304 194.3 304zM288 400a144 144 0 1 1 288 0 144 144 0 1 1 -288 0zm144-80c-8.8 0-16 7.2-16 16l0 64c0 8.8 7.2 16 16 16l48 0c8.8 0 16-7.2 16-16s-7.2-16-16-16l-32 0 0-48c0-8.8-7.2-16-16-16z"]},ble={prefix:"fas",iconName:"image",icon:[448,512,[],"f03e","M64 32C28.7 32 0 60.7 0 96L0 416c0 35.3 28.7 64 64 64l320 0c35.3 0 64-28.7 64-64l0-320c0-35.3-28.7-64-64-64L64 32zm64 80a48 48 0 1 1 0 96 48 48 0 1 1 0-96zM272 224c8.4 0 16.1 4.4 20.5 11.5l88 144c4.5 7.4 4.7 16.7 .5 24.3S368.7 416 360 416L88 416c-8.9 0-17.2-5-21.3-12.9s-3.5-17.5 1.6-24.8l56-80c4.5-6.4 11.8-10.2 19.7-10.2s15.2 3.8 19.7 10.2l26.4 37.8 61.4-100.5c4.4-7.1 12.1-11.5 20.5-11.5z"]},xle={prefix:"fas",iconName:"user-plus",icon:[640,512,[],"f234","M285.7 304c98.5 0 178.3 79.8 178.3 178.3 0 16.4-13.3 29.7-29.7 29.7L77.7 512C61.3 512 48 498.7 48 482.3 48 383.8 127.8 304 226.3 304l59.4 0zM528 80c13.3 0 24 10.7 24 24l0 48 48 0c13.3 0 24 10.7 24 24s-10.7 24-24 24l-48 0 0 48c0 13.3-10.7 24-24 24s-24-10.7-24-24l0-48-48 0c-13.3 0-24-10.7-24-24s10.7-24 24-24l48 0 0-48c0-13.3 10.7-24 24-24zM256 248a120 120 0 1 1 0-240 120 120 0 1 1 0 240z"]},R7={prefix:"fas",iconName:"link",icon:[576,512,[128279,"chain"],"f0c1","M419.5 96c-16.6 0-32.7 4.5-46.8 12.7-15.8-16-34.2-29.4-54.5-39.5 28.2-24 64.1-37.2 101.3-37.2 86.4 0 156.5 70 156.5 156.5 0 41.5-16.5 81.3-45.8 110.6l-71.1 71.1c-29.3 29.3-69.1 45.8-110.6 45.8-86.4 0-156.5-70-156.5-156.5 0-1.5 0-3 .1-4.5 .5-17.7 15.2-31.6 32.9-31.1s31.6 15.2 31.1 32.9c0 .9 0 1.8 0 2.6 0 51.1 41.4 92.5 92.5 92.5 24.5 0 48-9.7 65.4-27.1l71.1-71.1c17.3-17.3 27.1-40.9 27.1-65.4 0-51.1-41.4-92.5-92.5-92.5zM275.2 173.3c-1.9-.8-3.8-1.9-5.5-3.1-12.6-6.5-27-10.2-42.1-10.2-24.5 0-48 9.7-65.4 27.1L91.1 258.2c-17.3 17.3-27.1 40.9-27.1 65.4 0 51.1 41.4 92.5 92.5 92.5 16.5 0 32.6-4.4 46.7-12.6 15.8 16 34.2 29.4 54.6 39.5-28.2 23.9-64 37.2-101.3 37.2-86.4 0-156.5-70-156.5-156.5 0-41.5 16.5-81.3 45.8-110.6l71.1-71.1c29.3-29.3 69.1-45.8 110.6-45.8 86.6 0 156.5 70.6 156.5 156.9 0 1.3 0 2.6 0 3.9-.4 17.7-15.1 31.6-32.8 31.2s-31.6-15.1-31.2-32.8c0-.8 0-1.5 0-2.3 0-33.7-18-63.3-44.8-79.6z"]},I7={prefix:"fas",iconName:"bicycle",icon:[640,512,[128690],"f206","M331.7 43.3C336 36.3 343.7 32 352 32l104 0c13.3 0 24 10.7 24 24s-10.7 24-24 24l-65.6 0 72.2 148.4c10.7-2.9 21.9-4.4 33.4-4.4 70.7 0 128 57.3 128 128s-57.3 128-128 128-128-57.3-128-128c0-42 20.2-79.2 51.4-102.6l-20.4-41.9-73.5 147c-2.3 4.8-6.3 8.8-11.4 11.2-.6 .3-1.2 .5-1.8 .7-2.9 1.1-5.9 1.6-8.9 1.5L271 368c-7.9 63.1-61.7 112-127 112-70.7 0-128-57.3-128-128S73.3 224 144 224c10.8 0 21.2 1.3 31.2 3.8l28.5-56.9-11.5-26.9-40.2 0c-13.3 0-24-10.7-24-24s10.7-24 24-24l56 0c9.6 0 18.3 5.7 22.1 14.5l14.3 33.5 123.7 0-37.7-77.5c-3.6-7.4-3.2-16.2 1.2-23.2zM228.5 228.7l-45.6 91.3 84.8 0-39.1-91.3zM305.7 287l47.5-95-88.2 0 40.7 95zm168.7 75.5l-29.7-61c-12.8 13-20.7 30.8-20.7 50.5 0 39.8 32.2 72 72 72s72-32.2 72-72-32.2-72-72-72c-2.7 0-5.5 .2-8.1 .5l29.7 61c5.8 11.9 .8 26.3-11.1 32.1s-26.3 .8-32.1-11.1zM149.2 368c-20.2 0-33.4-21.3-24.3-39.4l24.2-48.5c-1.7-.1-3.4-.2-5.1-.2-39.8 0-72 32.2-72 72s32.2 72 72 72c34.3 0 62.9-23.9 70.2-56l-65 0z"]},Sle={prefix:"fas",iconName:"bell-concierge",icon:[512,512,[128718,"concierge-bell"],"f562","M216 64c-13.3 0-24 10.7-24 24s10.7 24 24 24l16 0 0 33.3C124.8 156.7 40.2 243.7 32.6 352l446.9 0C471.8 243.7 387.2 156.7 280 145.3l0-33.3 16 0c13.3 0 24-10.7 24-24s-10.7-24-24-24l-80 0zM24 400c-13.3 0-24 10.7-24 24s10.7 24 24 24l464 0c13.3 0 24-10.7 24-24s-10.7-24-24-24L24 400z"]},Ta={prefix:"fas",iconName:"check",icon:[448,512,[10003,10004],"f00c","M434.8 70.1c14.3 10.4 17.5 30.4 7.1 44.7l-256 352c-5.5 7.6-14 12.3-23.4 13.1s-18.5-2.7-25.1-9.3l-128-128c-12.5-12.5-12.5-32.8 0-45.3s32.8-12.5 45.3 0l101.5 101.5 234-321.7c10.4-14.3 30.4-17.5 44.7-7.1z"]},xx={prefix:"fas",iconName:"user",icon:[448,512,[128100,62144,62470,"user-alt","user-large"],"f007","M224 248a120 120 0 1 0 0-240 120 120 0 1 0 0 240zm-29.7 56C95.8 304 16 383.8 16 482.3 16 498.7 29.3 512 45.7 512l356.6 0c16.4 0 29.7-13.3 29.7-29.7 0-98.5-79.8-178.3-178.3-178.3l-59.4 0z"]},wle={prefix:"fas",iconName:"tags",icon:[576,512,[],"f02c","M401.2 39.1L549.4 189.4c27.7 28.1 27.7 73.1 0 101.2L393 448.9c-9.3 9.4-24.5 9.5-33.9 .2s-9.5-24.5-.2-33.9L515.3 256.8c9.2-9.3 9.2-24.4 0-33.7L367 72.9c-9.3-9.4-9.2-24.6 .2-33.9s24.6-9.2 33.9 .2zM32.1 229.5L32.1 96c0-35.3 28.7-64 64-64l133.5 0c17 0 33.3 6.7 45.3 18.7l144 144c25 25 25 65.5 0 90.5L285.4 418.7c-25 25-65.5 25-90.5 0l-144-144c-12-12-18.7-28.3-18.7-45.3zm144-85.5a32 32 0 1 0 -64 0 32 32 0 1 0 64 0z"]},kle={prefix:"fas",iconName:"circle-check",icon:[512,512,[61533,"check-circle"],"f058","M256 512a256 256 0 1 1 0-512 256 256 0 1 1 0 512zM374 145.7c-10.7-7.8-25.7-5.4-33.5 5.3L221.1 315.2 169 263.1c-9.4-9.4-24.6-9.4-33.9 0s-9.4 24.6 0 33.9l72 72c5 5 11.8 7.5 18.8 7s13.4-4.1 17.5-9.8L379.3 179.2c7.8-10.7 5.4-25.7-5.3-33.5z"]},Cle={prefix:"fas",iconName:"pen",icon:[512,512,[128394],"f304","M352.9 21.2L308 66.1 445.9 204 490.8 159.1C504.4 145.6 512 127.2 512 108s-7.6-37.6-21.2-51.1L455.1 21.2C441.6 7.6 423.2 0 404 0s-37.6 7.6-51.1 21.2zM274.1 100L58.9 315.1c-10.7 10.7-18.5 24.1-22.6 38.7L.9 481.6c-2.3 8.3 0 17.3 6.2 23.4s15.1 8.5 23.4 6.2l127.8-35.5c14.6-4.1 27.9-11.8 38.7-22.6L412 237.9 274.1 100z"]},jle={prefix:"fas",iconName:"phone",icon:[512,512,[128222,128379],"f095","M160.2 25C152.3 6.1 131.7-3.9 112.1 1.4l-5.5 1.5c-64.6 17.6-119.8 80.2-103.7 156.4 37.1 175 174.8 312.7 349.8 349.8 76.3 16.2 138.8-39.1 156.4-103.7l1.5-5.5c5.4-19.7-4.7-40.3-23.5-48.1l-97.3-40.5c-16.5-6.9-35.6-2.1-47 11.8l-38.6 47.2C233.9 335.4 177.3 277 144.8 205.3L189 169.3c13.9-11.3 18.6-30.4 11.8-47L160.2 25z"]},M7={prefix:"fas",iconName:"chevron-down",icon:[448,512,[],"f078","M201.4 406.6c12.5 12.5 32.8 12.5 45.3 0l192-192c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L224 338.7 54.6 169.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3l192 192z"]},Ple={prefix:"fas",iconName:"hourglass-half",icon:[384,512,["hourglass-2"],"f252","M32 0C14.3 0 0 14.3 0 32S14.3 64 32 64l0 11c0 42.4 16.9 83.1 46.9 113.1l67.9 67.9-67.9 67.9C48.9 353.9 32 394.6 32 437l0 11c-17.7 0-32 14.3-32 32s14.3 32 32 32l320 0c17.7 0 32-14.3 32-32s-14.3-32-32-32l0-11c0-42.4-16.9-83.1-46.9-113.1l-67.9-67.9 67.9-67.9c30-30 46.9-70.7 46.9-113.1l0-11c17.7 0 32-14.3 32-32S369.7 0 352 0L32 0zM96 75l0-11 192 0 0 11c0 19-5.6 37.4-16 53L112 128c-10.3-15.6-16-34-16-53zm16 309c3.5-5.3 7.6-10.3 12.1-14.9l67.9-67.9 67.9 67.9c4.6 4.6 8.6 9.6 12.2 14.9L112 384z"]},_le={prefix:"fas",iconName:"credit-card",icon:[512,512,[128179,62083,"credit-card-alt"],"f09d","M0 128l0 32 512 0 0-32c0-35.3-28.7-64-64-64L64 64C28.7 64 0 92.7 0 128zm0 80L0 384c0 35.3 28.7 64 64 64l384 0c35.3 0 64-28.7 64-64l0-176-512 0zM64 360c0-13.3 10.7-24 24-24l48 0c13.3 0 24 10.7 24 24s-10.7 24-24 24l-48 0c-13.3 0-24-10.7-24-24zm144 0c0-13.3 10.7-24 24-24l64 0c13.3 0 24 10.7 24 24s-10.7 24-24 24l-64 0c-13.3 0-24-10.7-24-24z"]},Tle={prefix:"fas",iconName:"chevron-left",icon:[320,512,[9001],"f053","M9.4 233.4c-12.5 12.5-12.5 32.8 0 45.3l192 192c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L77.3 256 246.6 86.6c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0l-192 192z"]},Np={prefix:"fas",iconName:"star",icon:[576,512,[11088,61446],"f005","M309.5-18.9c-4.1-8-12.4-13.1-21.4-13.1s-17.3 5.1-21.4 13.1L193.1 125.3 33.2 150.7c-8.9 1.4-16.3 7.7-19.1 16.3s-.5 18 5.8 24.4l114.4 114.5-25.2 159.9c-1.4 8.9 2.3 17.9 9.6 23.2s16.9 6.1 25 2L288.1 417.6 432.4 491c8 4.1 17.7 3.3 25-2s11-14.2 9.6-23.2L441.7 305.9 556.1 191.4c6.4-6.4 8.6-15.8 5.8-24.4s-10.1-14.9-19.1-16.3L383 125.3 309.5-18.9z"]},Km={prefix:"fas",iconName:"triangle-exclamation",icon:[512,512,[9888,"exclamation-triangle","warning"],"f071","M256 0c14.7 0 28.2 8.1 35.2 21l216 400c6.7 12.4 6.4 27.4-.8 39.5S486.1 480 472 480L40 480c-14.1 0-27.2-7.4-34.4-19.5s-7.5-27.1-.8-39.5l216-400c7-12.9 20.5-21 35.2-21zm0 352a32 32 0 1 0 0 64 32 32 0 1 0 0-64zm0-192c-18.2 0-32.7 15.5-31.4 33.7l7.4 104c.9 12.5 11.4 22.3 23.9 22.3 12.6 0 23-9.7 23.9-22.3l7.4-104c1.3-18.2-13.1-33.7-31.4-33.7z"]},qm={prefix:"fas",iconName:"shield-halved",icon:[512,512,["shield-alt"],"f3ed","M256 0c4.6 0 9.2 1 13.4 2.9L457.8 82.8c22 9.3 38.4 31 38.3 57.2-.5 99.2-41.3 280.7-213.6 363.2-16.7 8-36.1 8-52.8 0-172.4-82.5-213.1-264-213.6-363.2-.1-26.2 16.3-47.9 38.3-57.2L242.7 2.9C246.9 1 251.4 0 256 0zm0 66.8l0 378.1c138-66.8 175.1-214.8 176-303.4l-176-74.6 0 0z"]},Ele={prefix:"fas",iconName:"check-double",icon:[384,512,[],"f560","M249.9 66.8c10.4-14.3 7.2-34.3-7.1-44.7s-34.3-7.2-44.7 7.1l-106 145.7-37.5-37.5c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3l64 64c6.6 6.6 15.8 10 25.1 9.3s17.9-5.5 23.4-13.1l128-176zm128 136c10.4-14.3 7.2-34.3-7.1-44.7s-34.3-7.2-44.7 7.1l-170 233.7-69.5-69.5c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3l96 96c6.6 6.6 15.8 10 25.1 9.3s17.9-5.5 23.4-13.1l192-264z"]},Sx={prefix:"fas",iconName:"plus",icon:[448,512,[10133,61543,"add"],"2b","M256 64c0-17.7-14.3-32-32-32s-32 14.3-32 32l0 160-160 0c-17.7 0-32 14.3-32 32s14.3 32 32 32l160 0 0 160c0 17.7 14.3 32 32 32s32-14.3 32-32l0-160 160 0c17.7 0 32-14.3 32-32s-14.3-32-32-32l-160 0 0-160z"]},L7={prefix:"fas",iconName:"box",icon:[448,512,[128230],"f466","M335.1 16c20.7 0 40.1 10 52.1 26.8l48.9 68.5c7.7 10.8 11.9 23.9 11.9 37.2L448 416c0 35.3-28.7 64-64 64l-320 0-6.5-.3C25.2 476.4 0 449.1 0 416L0 148.5c0-11.7 3.2-23.1 9.2-33l2.7-4.2 48.9-68.5c10.5-14.7 26.7-24.2 44.4-26.3l7.7-.5 222.1 0zM248 128l121.3 0-34.3-48-87.1 0 0 48zM78.7 128l121.3 0 0-48-87.1 0-34.3 48z"]},N7={prefix:"fas",iconName:"link-slash",icon:[576,512,["chain-broken","chain-slash","unlink"],"f127","M41-24.9c-9.4-9.4-24.6-9.4-33.9 0S-2.3-.3 7 9.1l528 528c9.4 9.4 24.6 9.4 33.9 0s9.4-24.6 0-33.9l-122-122c4.2-3.4 8.3-7.1 12.1-10.9l71.1-71.1c29.3-29.3 45.8-69.1 45.8-110.6 0-86.4-70-156.5-156.5-156.5-37.3 0-73.1 13.3-101.3 37.2 20.3 10.1 38.7 23.5 54.5 39.5 14.1-8.3 30.2-12.7 46.8-12.7 51.1 0 92.5 41.4 92.5 92.5 0 24.5-9.7 48-27.1 65.4l-71.1 71.1c-3.9 3.9-8.1 7.4-12.6 10.5l-47.5-47.5c16.5-.9 29.7-14.4 30.2-31.1 0-1.3 0-2.6 0-3.9 0-86.3-69.9-156.9-156.5-156.9-19.2 0-37.9 3.5-55.5 10.2L41-24.9zM225.9 160c.6 0 1.1 0 1.7 0 15.1 0 29.5 3.7 42.1 10.2 1.8 1.2 3.6 2.3 5.5 3.1 26.8 16.3 44.8 45.9 44.8 79.6 0 .4 0 .8 0 1.2L225.9 160zM346.2 416L192 261.8c1.2 84.6 69.6 152.9 154.1 154.1zM139.7 209.5l-45.3-45.3-48.6 48.6c-29.3 29.3-45.8 69.1-45.8 110.6 0 86.4 70 156.5 156.5 156.5 37.2 0 73.1-13.3 101.3-37.2-20.3-10.1-38.8-23.5-54.6-39.5-14 8.2-30.1 12.6-46.7 12.6-51.1 0-92.5-41.4-92.5-92.5 0-24.5 9.7-48 27.1-65.4l48.6-48.6z"]},Ale={prefix:"fas",iconName:"arrow-rotate-right",icon:[512,512,[8635,"arrow-right-rotate","arrow-rotate-forward","redo"],"f01e","M436.7 74.7L448 85.4 448 32c0-17.7 14.3-32 32-32s32 14.3 32 32l0 128c0 17.7-14.3 32-32 32l-128 0c-17.7 0-32-14.3-32-32s14.3-32 32-32l47.9 0-7.6-7.2c-.2-.2-.4-.4-.6-.6-75-75-196.5-75-271.5 0s-75 196.5 0 271.5 196.5 75 271.5 0c8.2-8.2 15.5-16.9 21.9-26.1 10.1-14.5 30.1-18 44.6-7.9s18 30.1 7.9 44.6c-8.5 12.2-18.2 23.8-29.1 34.7-100 100-262.1 100-362 0S-25 175 75 75c99.9-99.9 261.7-100 361.7-.3z"]},$le={prefix:"fas",iconName:"eye-slash",icon:[576,512,[],"f070","M41-24.9c-9.4-9.4-24.6-9.4-33.9 0S-2.3-.3 7 9.1l528 528c9.4 9.4 24.6 9.4 33.9 0s9.4-24.6 0-33.9l-96.4-96.4c2.7-2.4 5.4-4.8 8-7.2 46.8-43.5 78.1-95.4 93-131.1 3.3-7.9 3.3-16.7 0-24.6-14.9-35.7-46.2-87.7-93-131.1-47.1-43.7-111.8-80.6-192.6-80.6-56.8 0-105.6 18.2-146 44.2L41-24.9zM204.5 138.7c23.5-16.8 52.4-26.7 83.5-26.7 79.5 0 144 64.5 144 144 0 31.1-9.9 59.9-26.7 83.5l-34.7-34.7c12.7-21.4 17-47.7 10.1-73.7-13.7-51.2-66.4-81.6-117.6-67.9-8.6 2.3-16.7 5.7-24 10l-34.7-34.7zM325.3 395.1c-11.9 3.2-24.4 4.9-37.3 4.9-79.5 0-144-64.5-144-144 0-12.9 1.7-25.4 4.9-37.3L69.4 139.2c-32.6 36.8-55 75.8-66.9 104.5-3.3 7.9-3.3 16.7 0 24.6 14.9 35.7 46.2 87.7 93 131.1 47.1 43.7 111.8 80.6 192.6 80.6 37.3 0 71.2-7.9 101.5-20.6l-64.2-64.2z"]},Dp={prefix:"fas",iconName:"arrow-rotate-left",icon:[512,512,[8634,"arrow-left-rotate","arrow-rotate-back","arrow-rotate-backward","undo"],"f0e2","M256 64c-56.8 0-107.9 24.7-143.1 64l47.1 0c17.7 0 32 14.3 32 32s-14.3 32-32 32L32 192c-17.7 0-32-14.3-32-32L0 32C0 14.3 14.3 0 32 0S64 14.3 64 32l0 54.7C110.9 33.6 179.5 0 256 0 397.4 0 512 114.6 512 256S397.4 512 256 512c-87 0-163.9-43.4-210.1-109.7-10.1-14.5-6.6-34.4 7.9-44.6s34.4-6.6 44.6 7.9c34.8 49.8 92.4 82.3 157.6 82.3 106 0 192-86 192-192S362 64 256 64z"]},zle={prefix:"fas",iconName:"desktop",icon:[512,512,[128421,61704,"desktop-alt"],"f390","M64 32C28.7 32 0 60.7 0 96L0 352c0 35.3 28.7 64 64 64l144 0-16 48-72 0c-13.3 0-24 10.7-24 24s10.7 24 24 24l272 0c13.3 0 24-10.7 24-24s-10.7-24-24-24l-72 0-16-48 144 0c35.3 0 64-28.7 64-64l0-256c0-35.3-28.7-64-64-64L64 32zM96 96l320 0c17.7 0 32 14.3 32 32l0 160c0 17.7-14.3 32-32 32L96 320c-17.7 0-32-14.3-32-32l0-160c0-17.7 14.3-32 32-32z"]},Rle={prefix:"fas",iconName:"arrow-down",icon:[384,512,[8595],"f063","M169.4 502.6c12.5 12.5 32.8 12.5 45.3 0l160-160c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L224 402.7 224 32c0-17.7-14.3-32-32-32s-32 14.3-32 32l0 370.7-105.4-105.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3l160 160z"]},Xm={prefix:"fas",iconName:"location-dot",icon:[384,512,["map-marker-alt"],"f3c5","M0 188.6C0 84.4 86 0 192 0S384 84.4 384 188.6c0 119.3-120.2 262.3-170.4 316.8-11.8 12.8-31.5 12.8-43.3 0-50.2-54.5-170.4-197.5-170.4-316.8zM192 256a64 64 0 1 0 0-128 64 64 0 1 0 0 128z"]},wx={prefix:"fas",iconName:"route",icon:[512,512,[],"f4d7","M512 96c0 50.2-59.1 125.1-84.6 155-3.8 4.4-9.4 6.1-14.5 5L320 256c-17.7 0-32 14.3-32 32s14.3 32 32 32l96 0c53 0 96 43 96 96s-43 96-96 96l-276.4 0c8.7-9.9 19.3-22.6 30-36.8 6.3-8.4 12.8-17.6 19-27.2L416 448c17.7 0 32-14.3 32-32s-14.3-32-32-32l-96 0c-53 0-96-43-96-96s43-96 96-96l39.8 0c-21-31.5-39.8-67.7-39.8-96 0-53 43-96 96-96s96 43 96 96zM117.1 489.1c-3.8 4.3-7.2 8.1-10.1 11.3l-1.8 2-.2-.2c-6 4.6-14.6 4-20-1.8-25.2-27.4-85-97.9-85-148.4 0-53 43-96 96-96s96 43 96 96c0 30-21.1 67-43.5 97.9-10.7 14.7-21.7 28-30.8 38.5l-.6 .7zM128 352a32 32 0 1 0 -64 0 32 32 0 1 0 64 0zM416 128a32 32 0 1 0 0-64 32 32 0 1 0 0 64z"]},Ile={prefix:"fas",iconName:"file-export",icon:[576,512,["arrow-right-from-file"],"f56e","M96.5 0c-35.3 0-64 28.7-64 64l0 384c0 35.3 28.7 64 64 64l256 0c35.3 0 64-28.7 64-64l0-96 78.1 0-31 31c-9.4 9.4-9.4 24.6 0 33.9s24.6 9.4 33.9 0l72-72c9.4-9.4 9.4-24.6 0-33.9l-72-72c-9.4-9.4-24.6-9.4-33.9 0s-9.4 24.6 0 33.9l31 31-78.1 0 0-133.5c0-17-6.7-33.3-18.7-45.3L291.2 18.7C279.2 6.7 263 0 246 0L96.5 0zM358 176l-93.5 0c-13.3 0-24-10.7-24-24L240.5 58.5 358 176zM224.5 328c0-13.3 10.7-24 24-24l104 0 0 48-104 0c-13.3 0-24-10.7-24-24z"]},Mle={prefix:"fas",iconName:"arrows-rotate",icon:[512,512,[128472,"refresh","sync"],"f021","M65.9 228.5c13.3-93 93.4-164.5 190.1-164.5 53 0 101 21.5 135.8 56.2 .2 .2 .4 .4 .6 .6l7.6 7.2-47.9 0c-17.7 0-32 14.3-32 32s14.3 32 32 32l128 0c17.7 0 32-14.3 32-32l0-128c0-17.7-14.3-32-32-32s-32 14.3-32 32l0 53.4-11.3-10.7C390.5 28.6 326.5 0 256 0 127 0 20.3 95.4 2.6 219.5 .1 237 12.2 253.2 29.7 255.7s33.7-9.7 36.2-27.1zm443.5 64c2.5-17.5-9.7-33.7-27.1-36.2s-33.7 9.7-36.2 27.1c-13.3 93-93.4 164.5-190.1 164.5-53 0-101-21.5-135.8-56.2-.2-.2-.4-.4-.6-.6l-7.6-7.2 47.9 0c17.7 0 32-14.3 32-32s-14.3-32-32-32L32 320c-8.5 0-16.7 3.4-22.7 9.5S-.1 343.7 0 352.3l1 127c.1 17.7 14.6 31.9 32.3 31.7S65.2 496.4 65 478.7l-.4-51.5 10.7 10.1c46.3 46.1 110.2 74.7 180.7 74.7 129 0 235.7-95.4 253.4-219.5z"]},Lle=Mle;const A={bg:"#0a0a0a",card:"#1e1e1e",border:"#333333",text:"rgba(255,255,255,.87)",text2:"rgba(255,255,255,.6)",text3:"rgba(255,255,255,.4)",accent:"#7c3aed",accentLight:"#8b5cf6",secondary:"#22d3ee",success:"#4ade80",danger:"#ef4444",warning:"#f59e0b",info:"#3b82f6"};function Dt({children:e}){return s.jsx(ne,{bg:A.bg,borderRadius:"24px",p:"14px",maxW:"380px",mx:"auto",boxShadow:"0 30px 60px -20px rgba(60,20,110,.45)",border:"1px solid",borderColor:"whiteAlpha.100",children:s.jsx(ne,{bg:A.bg,borderRadius:"16px",p:"16px 14px 20px",minH:"220px",children:e})})}function wn({title:e,subtitle:t,action:n}){return s.jsxs(St,{justify:"space-between",align:"flex-start",mb:4,children:[s.jsxs(ne,{children:[s.jsx(K,{color:A.text,fontSize:"1rem",fontWeight:"800",mb:0,children:e}),t&&s.jsx(K,{color:A.text3,fontSize:"0.72rem",children:t})]}),n]})}function He({children:e,mb:t=2.5,onClick:n,active:r=!1}){return s.jsx(ne,{bg:A.card,border:"1px solid",borderColor:r?A.accent:A.border,borderRadius:"12px",p:3,mb:t,cursor:n?"pointer":void 0,transition:"border-color .15s, transform .1s",onClick:n,_hover:n?{borderColor:A.accentLight}:void 0,_active:n?{transform:"scale(0.99)"}:void 0,children:e})}function Xe({icon:e,value:t,label:n,color:r=A.accentLight}){return s.jsxs(ne,{bg:A.card,border:"1px solid",borderColor:A.border,borderRadius:"12px",p:2.5,children:[s.jsx(St,{w:"26px",h:"26px",borderRadius:"full",align:"center",justify:"center",bg:`${r}30`,mb:2,children:s.jsx(We,{icon:e,style:{color:r,fontSize:"0.7rem"}})}),s.jsx(K,{color:A.text,fontSize:"1.15rem",fontWeight:"800",lineHeight:"1",children:t}),s.jsx(K,{color:A.text3,fontSize:"0.62rem",mt:1,textTransform:"uppercase",letterSpacing:"0.02em",children:n})]})}function q({children:e,variant:t="primary",mono:n=!1,size:r}){const i={primary:A.text,secondary:A.text2,muted:A.text3,success:A.success,danger:A.danger};return s.jsx(K,{color:i[t],fontSize:r??"0.78rem",fontFamily:n?"mono":void 0,as:"span",children:e})}function Pt({children:e}){return s.jsx(ge,{justify:"space-between",align:"center",children:e})}function Nle({value:e,color:t=A.accent}){return s.jsx(_p,{value:e,size:"xs",borderRadius:"full",mt:1,sx:{"& > div":{background:t,transition:"width .4s ease"},background:"#2a2a2a"}})}function ll({color:e,size:t="9px"}){return s.jsx(ne,{as:"span",display:"inline-block",w:t,h:t,borderRadius:"full",bg:e,mr:1.5,flexShrink:0})}function D7({icon:e,color:t,size:n="0.75rem"}){return s.jsx(We,{icon:e,style:{color:t??A.text2,fontSize:n,marginRight:6}})}function Te({children:e,tone:t="outline",icon:n,onClick:r,isActive:i=!1}){const o={accent:{bg:A.accent,color:"white",border:"none"},outline:{bg:"transparent",color:A.text2,border:`1px solid ${A.border}`},outlineDanger:{bg:"transparent",color:A.danger,border:`1px solid ${A.danger}`},success:{bg:A.success,color:"#0a0a0a",border:"none"}}[t];return s.jsxs(ne,{as:"button",type:"button",display:"inline-flex",alignItems:"center",borderRadius:"8px",px:3,py:1.5,fontSize:"0.68rem",fontWeight:"700",cursor:r?"pointer":"default",transition:"filter .15s, transform .1s",opacity:i?1:.92,_hover:r?{filter:"brightness(1.15)"}:void 0,_active:r?{transform:"scale(0.96)"}:void 0,onClick:r,...o,children:[n&&s.jsx(We,{icon:n,style:{marginRight:6,fontSize:"0.68rem"}}),e]})}function kx({tabs:e,active:t,onChange:n}){return s.jsx(ge,{spacing:1.5,mb:3,flexWrap:"wrap",children:e.map(r=>{const i=r.key===t;return s.jsx(ne,{as:"button",type:"button",onClick:()=>n(r.key),px:2.5,py:1,borderRadius:"999px",fontSize:"0.66rem",fontWeight:"700",cursor:"pointer",transition:"all .15s",bg:i?A.accent:"transparent",color:i?"white":A.text3,border:"1px solid",borderColor:i?A.accent:A.border,_hover:{borderColor:A.accentLight,color:i?"white":A.text2},children:r.label},r.key)})})}function Dle({value:e,onChange:t,placeholder:n}){return s.jsxs(ne,{position:"relative",my:2,children:[s.jsx(We,{icon:cle,style:{position:"absolute",left:10,top:"50%",transform:"translateY(-50%)",color:A.text3,fontSize:"0.65rem"}}),s.jsx(ne,{as:"input",value:e,onChange:r=>t(r.target.value),placeholder:n,w:"100%",bg:A.bg,border:"1px solid",borderColor:A.border,borderRadius:"8px",color:A.text,fontSize:"0.7rem",py:1.5,pl:"26px",pr:2,outline:"none"})]})}function Ym({children:e}){return s.jsx(ne,{border:"1px dashed",borderColor:A.border,borderRadius:"10px",p:2.5,mt:2,children:s.jsx(K,{color:A.text3,fontSize:"0.64rem",fontStyle:"italic",children:e})})}function Ole({isOn:e,onToggle:t}){return s.jsx(ne,{as:"button",type:"button",onClick:t,w:"34px",h:"20px",borderRadius:"full",bg:e?A.accent:A.border,position:"relative",cursor:"pointer",transition:"background .2s",flexShrink:0,children:s.jsx(ne,{position:"absolute",top:"2px",left:e?"16px":"2px",w:"16px",h:"16px",borderRadius:"full",bg:"white",transition:"left .2s"})})}function Fle(){const[e,t]=m.useState(!0);return s.jsxs(Dt,{children:[s.jsx(wn,{title:"Bonjour, Admin",subtitle:"Vue d'ensemble"}),s.jsxs(bn,{columns:2,spacing:2,mb:2.5,children:[s.jsx(Xe,{icon:L7,value:312,label:"Total commandes",color:A.accentLight}),s.jsx(Xe,{icon:Ku,value:8,label:"En attente",color:A.warning}),s.jsx(Xe,{icon:z7,value:5,label:"En route",color:A.info}),s.jsx(Xe,{icon:Ta,value:299,label:"Terminées",color:A.success}),s.jsx(Xe,{icon:xx,value:184,label:"Clients",color:A.accentLight}),s.jsx(Xe,{icon:$7,value:6,label:"Livreurs",color:A.secondary})]}),s.jsxs(He,{mb:0,children:[s.jsxs(Pt,{children:[s.jsxs(q,{children:[s.jsx(D7,{icon:yx,color:A.secondary}),"Notifications Telegram"]}),s.jsx(Te,{tone:e?"outlineDanger":"accent",icon:e?N7:R7,onClick:()=>t(n=>!n),children:e?"Délier":"Lier Telegram"})]}),s.jsx(q,{variant:"muted",size:"0.68rem",children:e?"Compte Telegram lié — alertes actives.":"Aucun compte lié — cliquez pour connecter."})]})]})}const Z3=[{id:"#1042",client:"client_marie · 12 rue des Lilas",extra:"il y a 4 min",tone:"warning",label:"En attente",amount:"46,00 €"},{id:"#1041",client:"client_paul · Livreur: lucas_d",extra:"Net après parrainage",tone:"info",label:"En route",amount:"33,00 €"},{id:"#1040",client:"client_lea · 8 avenue Foch",extra:"en attente d’assignation",tone:"accent",label:"Livreur arrivé",amount:"58,50 €"}],J3=[{id:"#1038",client:"client_sam · 3 rue Victor Hugo",extra:"Terminée il y a 1 h",tone:"info",label:"Livrée",amount:"27,00 €"},{id:"#1036",client:"client_ana · 21 bd Voltaire",extra:"Terminée hier",tone:"info",label:"Livrée",amount:"41,00 €"},{id:"#1030",client:"client_marie · 5 rue de Rivoli",extra:"Terminée il y a 3 j",tone:"info",label:"Livrée",amount:"22,00 €"}],ek=[{id:"#1029",client:"client_theo · adresse introuvable",extra:"Annulée par le livreur",tone:"warning",label:"Annulée",amount:"19,00 €"}],tk={warning:A.warning,info:A.info,accent:A.accentLight};function nk({o:e,isOpen:t,onClick:n,children:r}){return s.jsxs(He,{active:t,onClick:n,children:[s.jsxs(Pt,{children:[s.jsx(q,{mono:!0,children:e.id}),s.jsx("span",{style:{background:`${tk[e.tone]}26`,color:tk[e.tone],padding:"2px 9px",borderRadius:999,fontWeight:800,fontSize:"0.62rem"},children:e.label})]}),s.jsx(q,{variant:"secondary",size:"0.7rem",children:e.client}),s.jsxs(Pt,{children:[s.jsx(q,{variant:"muted",size:"0.65rem",children:e.extra}),s.jsx(q,{variant:"primary",size:"0.75rem",children:e.amount})]}),r]})}function Ble(){const[e,t]=m.useState("#1040"),[n,r]=m.useState(null),[i,o]=m.useState(""),a=n==="approuvees"?J3:n==="annulees"?ek:[],l=m.useMemo(()=>a.filter(u=>u.client.toLowerCase().includes(i.toLowerCase())),[a,i]),c=u=>{r(d=>d===u?null:u),o("")};return s.jsxs(Dt,{children:[s.jsxs(Pt,{children:[s.jsx(Te,{tone:"outline",icon:Lle,children:"Actualiser"}),s.jsx(Te,{tone:"outline",icon:Ile,children:"Export CSV"})]}),s.jsxs("div",{style:{display:"flex",gap:6,marginTop:10,marginBottom:6},children:[s.jsxs("div",{onClick:()=>c("approuvees"),style:{cursor:"pointer",flex:1,textAlign:"center",padding:"6px 4px",borderRadius:999,fontSize:"0.66rem",fontWeight:700,border:`1px solid ${n==="approuvees"?A.success:A.border}`,background:n==="approuvees"?`${A.success}22`:"transparent",color:n==="approuvees"?A.success:A.text3},children:["Approuvées (",J3.length,")"]}),s.jsxs("div",{onClick:()=>c("annulees"),style:{cursor:"pointer",flex:1,textAlign:"center",padding:"6px 4px",borderRadius:999,fontSize:"0.66rem",fontWeight:700,border:`1px solid ${n==="annulees"?A.danger:A.border}`,background:n==="annulees"?`${A.danger}22`:"transparent",color:n==="annulees"?A.danger:A.text3},children:["Annulées (",ek.length,")"]})]}),n&&s.jsxs("div",{style:{marginBottom:10},children:[s.jsx(Dle,{value:i,onChange:o,placeholder:"Rechercher par username..."}),s.jsxs(q,{variant:"muted",size:"0.62rem",children:[l.length," résultat",l.length>1?"s":""]}),l.map(u=>s.jsx(nk,{o:u,isOpen:!1,onClick:()=>{}},u.id)),s.jsx("div",{style:{borderTop:`1px solid ${A.border}`,margin:"10px 0"}})]}),s.jsxs(q,{size:"0.78rem",variant:"primary",children:["Commandes actives (",Z3.length,")"]}),s.jsx("div",{style:{marginTop:8},children:Z3.map(u=>{const d=e===u.id;return s.jsx(nk,{o:u,isOpen:d,onClick:()=>t(d?null:u.id),children:d&&s.jsxs("div",{style:{marginTop:10,paddingTop:10,borderTop:`1px solid ${A.border}`,display:"flex",gap:6,flexWrap:"wrap"},children:[s.jsx(Te,{tone:"accent",icon:vx,children:"Assigner livreur"}),s.jsx(Te,{tone:"outline",icon:n1,children:"Passer en route"}),s.jsx(Te,{tone:"outline",icon:Ale,children:"Proposer adresse"})]})},u.id)})})]})}const rk=[{name:"lucas_d",status:"busy",queue:1,today:14,total:512,distance:"1,8 km",eta:"6 min"},{name:"emma_l",status:"available",queue:0,today:9,total:340,distance:"0,6 km",eta:"2 min"},{name:"yanis_b",status:"offline",queue:0,today:5,total:128,distance:"—",eta:"—"}],Ka={available:A.success,busy:A.warning,offline:A.text3},Wle={available:"Disponible",busy:"Occupé",offline:"Hors ligne"};function Vle(){const[e,t]=m.useState("lucas_d"),n=rk.find(r=>r.name===e);return s.jsxs(Dt,{children:[s.jsxs(bn,{columns:3,spacing:2,mb:2.5,children:[s.jsx(Xe,{icon:Xm,value:1,label:"Dispo",color:A.success}),s.jsx(Xe,{icon:Ku,value:1,label:"Occupés",color:A.warning}),s.jsx(Xe,{icon:_7,value:1,label:"Hors ligne",color:A.text3})]}),s.jsxs(He,{children:[s.jsx("div",{style:{height:110,borderRadius:8,position:"relative",backgroundImage:"linear-gradient(135deg,#161022 25%,#1c1330 25%,#1c1330 50%,#161022 50%,#161022 75%,#1c1330 75%)",backgroundSize:"18px 18px",marginBottom:6},children:s.jsxs("span",{style:{position:"absolute",top:8,left:8,background:`${Ka[n.status]}26`,color:Ka[n.status],fontSize:"0.62rem",fontWeight:800,padding:"3px 9px",borderRadius:999},children:[s.jsx(ll,{color:Ka[n.status],size:"7px"}),n.name," — ",n.distance," · ",n.eta]})}),s.jsx(q,{variant:"muted",size:"0.62rem",children:"Cliquez un livreur ci-dessous pour suivre son trajet en direct"})]}),rk.map(r=>{const i=r.name===e;return s.jsxs(He,{active:i,onClick:()=>t(r.name),children:[s.jsxs(Pt,{children:[s.jsxs(q,{children:[s.jsx(ll,{color:Ka[r.status]}),r.name]}),s.jsx("span",{style:{background:`${Ka[r.status]}26`,color:Ka[r.status],fontSize:"0.6rem",fontWeight:800,padding:"2px 8px",borderRadius:999},children:Wle[r.status]})]}),s.jsxs(q,{variant:"muted",size:"0.62rem",children:[r.queue," en attente · ",r.today," aujourd'hui · ",r.total," total"]}),i&&s.jsxs("div",{style:{marginTop:8,display:"flex",gap:6},children:[s.jsx(Te,{tone:"outline",icon:Np,children:"Avis"}),s.jsx(Te,{tone:r.status!=="offline"?"accent":"outline",icon:wx,children:r.status!=="offline"?"Suivre l'itinéraire":"Indisponible"})]})]},r.name)})]})}const Ule=[{label:"1u",price:"12€",active:!0},{label:"3u",price:"30€",active:!0},{label:"5u",price:"45€",active:!1}];function Hle(){const[e,t]=m.useState(Ule),n=r=>{t(i=>i.map((o,a)=>a===r?{...o,active:!o.active}:o))};return s.jsxs(Dt,{children:[s.jsx(wn,{title:"Produits (48)",action:s.jsx(Te,{tone:"accent",icon:Sx,children:"Créer"})}),s.jsxs(He,{children:[s.jsxs(Pt,{children:[s.jsx(q,{variant:"primary",size:"0.82rem",children:"Pack Découverte"}),s.jsx("span",{style:{background:`${A.accentLight}26`,color:A.accentLight,fontSize:"0.6rem",fontWeight:800,padding:"2px 8px",borderRadius:999},children:"Premium"})]}),s.jsxs(q,{variant:"muted",size:"0.65rem",children:[s.jsx(We,{icon:ble,style:{marginRight:4}}),"3 images ·"," ",s.jsx(We,{icon:gle,style:{marginRight:4}}),"1 vidéo · Stock: 24 u"]}),s.jsx(q,{variant:"muted",size:"0.66rem",children:"Cliquez un tarif pour l'activer / le désactiver"}),s.jsx("div",{style:{display:"flex",gap:6,marginTop:6,flexWrap:"wrap"},children:e.map((r,i)=>s.jsxs("div",{onClick:()=>n(i),style:{cursor:"pointer",display:"flex",alignItems:"center",gap:5,padding:"4px 9px",borderRadius:8,border:`1px solid ${A.border}`,opacity:r.active?1:.5,textDecoration:r.active?"none":"line-through"},children:[s.jsx(We,{icon:r.active?kle:yle,style:{color:r.active?A.success:A.danger,fontSize:"0.7rem"}}),s.jsxs("span",{style:{color:A.text,fontSize:"0.72rem"},children:[r.label," = ",r.price]})]},r.label))}),s.jsxs("div",{style:{display:"flex",gap:6,marginTop:10},children:[s.jsx(Te,{tone:"outline",icon:Cle,children:"Modifier"}),s.jsx(Te,{tone:"outlineDanger",icon:E7,children:"Supprimer"})]})]}),s.jsxs(He,{mb:0,children:[s.jsxs(Pt,{children:[s.jsx(q,{variant:"primary",size:"0.82rem",children:"Édition Limitée"}),s.jsx("span",{style:{background:`${A.warning}26`,color:A.warning,fontSize:"0.6rem",fontWeight:800,padding:"2px 8px",borderRadius:999},children:"À venir"})]}),s.jsx(q,{variant:"muted",size:"0.65rem",children:"Stock: 0 u — masqué du catalogue tant que le stock est vide"})]})]})}const Gle=[{id:"a",name:"Fleurs",color:"#10b981"},{id:"b",name:"Résines",color:"#9333ea"},{id:"c",name:"Comestibles",color:"#3dc2f7",soon:!0}];function Kle(){const[e,t]=m.useState(Gle),n=(r,i)=>{const o=r+i;o<0||o>=e.length||t(a=>{const l=[...a];return[l[r],l[o]]=[l[o],l[r]],l})};return s.jsxs(Dt,{children:[s.jsx(wn,{title:"Catégories",action:s.jsx(Te,{tone:"accent",icon:Sx,children:"Ajouter"})}),e.map((r,i)=>s.jsx(He,{children:s.jsxs(Pt,{children:[s.jsxs(q,{children:[s.jsx(ll,{color:r.color}),r.name,r.soon&&s.jsx("span",{style:{marginLeft:8,background:`${A.warning}26`,color:A.warning,fontSize:"0.58rem",fontWeight:800,padding:"2px 7px",borderRadius:999},children:"Prochainement"})]}),s.jsxs("div",{style:{display:"flex",gap:4},children:[s.jsx("button",{onClick:()=>n(i,-1),disabled:i===0,style:{background:"transparent",border:"none",cursor:i===0?"default":"pointer",color:i===0?A.border:A.text2,padding:4},"aria-label":"Monter",children:s.jsx(We,{icon:A7,style:{fontSize:"0.7rem"}})}),s.jsx("button",{onClick:()=>n(i,1),disabled:i===e.length-1,style:{background:"transparent",border:"none",cursor:i===e.length-1?"default":"pointer",color:i===e.length-1?A.border:A.text2,padding:4},"aria-label":"Descendre",children:s.jsx(We,{icon:M7,style:{fontSize:"0.7rem"}})})]})]})},r.id)),s.jsx(q,{variant:"muted",size:"0.62rem",children:"Essayez les flèches ↑ / ↓ pour réordonner"})]})}function Bl({title:e,onReset:t,since:n,children:r}){return s.jsxs(He,{children:[s.jsxs(Pt,{children:[s.jsx(q,{variant:"secondary",size:"0.72rem",children:e}),t&&s.jsx(Te,{tone:"outlineDanger",icon:Dp,onClick:t,children:"Réinitialiser"})]}),n&&s.jsxs(q,{variant:"muted",size:"0.58rem",children:["Depuis le ",n]}),s.jsx("div",{style:{marginTop:8},children:r})]})}function Fo({label:e,value:t,pct:n,color:r,highlight:i}){return s.jsxs("div",{style:{marginBottom:6},children:[s.jsxs(Pt,{children:[s.jsxs(q,{variant:i?"primary":"muted",size:"0.64rem",children:[i&&s.jsx(We,{icon:hle,style:{color:A.warning,marginRight:4}}),e]}),s.jsx(q,{variant:i?"primary":"muted",size:"0.64rem",children:t})]}),s.jsx(Nle,{value:n,color:i?A.warning:r})]})}const qa=["Mai 2026","Juin 2026","Juillet 2026","Août 2026"],qle=[{day:"02/08",orders:14,revenue:"312€",best:!1},{day:"01/08",orders:22,revenue:"498€",best:!0},{day:"31/07",orders:9,revenue:"201€",best:!1}],Xle=[{key:"quantite",label:"Quantité"},{key:"commandes",label:"Commandes"},{key:"revenus",label:"Revenus"}],Yle={quantite:[{name:"Pack Découverte",value:210,display:"210"},{name:"Édition Standard",value:140,display:"140"},{name:"Format Duo",value:96,display:"96"}],commandes:[{name:"Pack Découverte",value:86,display:"86"},{name:"Édition Standard",value:54,display:"54"},{name:"Format Duo",value:41,display:"41"}],revenus:[{name:"Pack Découverte",value:1032,display:"1032€"},{name:"Édition Standard",value:648,display:"648€"},{name:"Format Duo",value:492,display:"492€"}]},N0=[{label:"10h",value:4},{label:"12h",value:18},{label:"14h",value:9},{label:"18h",value:22},{label:"20h",value:31},{label:"22h",value:12}],D0=[{label:"Lun",value:32},{label:"Mar",value:28},{label:"Mer",value:35},{label:"Jeu",value:41},{label:"Ven",value:58},{label:"Sam",value:71},{label:"Dim",value:47}],ik=[{label:"1g",value:40},{label:"3.5g",value:86},{label:"5g",value:22},{label:"10g",value:12}];function Qle(){const[e,t]=m.useState(qa.length-1),[n,r]=m.useState("revenus"),i=m.useMemo(()=>[...Yle[n]].sort((f,p)=>p.value-f.value),[n]),o=i[0].value,a=Math.max(...N0.map(f=>f.value)),l=N0.reduce((f,p)=>p.value>f.value?p:f),c=Math.max(...D0.map(f=>f.value)),u=D0.reduce((f,p)=>p.value>f.value?p:f),d=Math.max(...ik.map(f=>f.value));return s.jsxs(Dt,{children:[s.jsx(wn,{title:"Statistiques",subtitle:"Activité globale & produits"}),s.jsxs("div",{style:{maxHeight:560,overflowY:"auto",paddingRight:2},children:[s.jsxs(bn,{columns:2,spacing:2,mb:2.5,children:[s.jsx(Xe,{icon:fle,value:312,label:"Commandes totales",color:A.accentLight}),s.jsx(Xe,{icon:sle,value:"6,4k€",label:"Revenus (terminées)",color:A.success}),s.jsx(Xe,{icon:Ku,value:"10,4",label:"Moy. commandes/jour",color:A.info}),s.jsx(Xe,{icon:Y3,value:"Samedi",label:"Jour de pointe",color:A.warning})]}),s.jsxs(He,{children:[s.jsx(q,{variant:"secondary",size:"0.72rem",children:"Activité du jour"}),s.jsxs("div",{style:{display:"flex",gap:10,margin:"6px 0 8px"},children:[s.jsx(q,{variant:"muted",size:"0.6rem",children:"18 commandes"}),s.jsx(q,{variant:"muted",size:"0.6rem",children:"420g vendus"}),s.jsx(q,{variant:"muted",size:"0.6rem",children:"312€"})]}),s.jsx(Fo,{label:"Fleurs — Pack Découverte",value:"86 · 1032€",pct:90,color:A.accent}),s.jsx(Fo,{label:"Résines — Format Duo",value:"41 · 492€",pct:45,color:A.info})]}),s.jsxs(He,{children:[s.jsxs(Pt,{children:[s.jsx("button",{onClick:()=>t(f=>Math.max(0,f-1)),disabled:e===0,style:{background:"none",border:"none",cursor:e===0?"default":"pointer",color:e===0?A.border:A.text2},children:s.jsx(We,{icon:Tle})}),s.jsx(q,{variant:"primary",size:"0.72rem",children:qa[e]}),s.jsx("button",{onClick:()=>t(f=>Math.min(qa.length-1,f+1)),disabled:e===qa.length-1,style:{background:"none",border:"none",cursor:e===qa.length-1?"default":"pointer",color:e===qa.length-1?A.border:A.text2},children:s.jsx(We,{icon:mle})})]}),s.jsx(q,{variant:"muted",size:"0.6rem",children:"Historique mensuel — cliquez les flèches"}),s.jsx("div",{style:{marginTop:8},children:qle.map(f=>s.jsx(Fo,{label:f.day,value:`${f.orders} cmd · ${f.revenue}`,pct:f.orders/22*100,color:A.accent,highlight:f.best},f.day))})]}),s.jsx(Bl,{title:"30 derniers jours — commandes",onReset:()=>{},since:"15/07/2026",children:s.jsx("div",{style:{display:"flex",alignItems:"flex-end",gap:3,height:50},children:[4,8,6,10,7,12,9,14,6,11].map((f,p)=>s.jsx("div",{style:{flex:1,height:`${f/14*100}%`,background:A.accent,borderRadius:2}},p))})}),s.jsxs(Bl,{title:"Revenus par jour (30j)",onReset:()=>{},since:"15/07/2026",children:[s.jsx("div",{style:{display:"flex",alignItems:"flex-end",gap:3,height:50,marginBottom:6},children:[120,240,180,300,210,360,260,410,190,330].map((f,p)=>s.jsx("div",{style:{flex:1,height:`${f/410*100}%`,background:A.success,borderRadius:2}},p))}),s.jsxs(q,{variant:"muted",size:"0.6rem",children:[s.jsx(We,{icon:Y3,style:{color:A.warning,marginRight:4}}),"Meilleure journée : 01/08 — 498€"]})]}),s.jsxs(Bl,{title:"Heures d'affluence",onReset:()=>{},since:"15/07/2026",children:[N0.map(f=>s.jsx(Fo,{label:f.label,value:String(f.value),pct:f.value/a*100,color:A.info,highlight:f.label===l.label},f.label)),s.jsxs(q,{variant:"muted",size:"0.6rem",children:["Heure de pointe : ",l.label," (",l.value," commandes)"]})]}),s.jsxs(Bl,{title:"Jours d'affluence",onReset:()=>{},since:"15/07/2026",children:[D0.map(f=>s.jsx(Fo,{label:f.label,value:String(f.value),pct:f.value/c*100,color:A.accent,highlight:f.label===u.label},f.label)),s.jsxs(q,{variant:"muted",size:"0.6rem",children:["Pic d'activité : ",u.label]})]}),s.jsx(Bl,{title:"Doses populaires — Pack Découverte",onReset:()=>{},since:"15/07/2026",children:ik.map(f=>s.jsx(Fo,{label:f.label,value:String(f.value),pct:f.value/d*100,color:A.secondary,highlight:f.value===d},f.label))}),s.jsxs(He,{mb:0,children:[s.jsxs(Pt,{children:[s.jsx(q,{variant:"secondary",size:"0.72rem",children:"Top produits"}),s.jsx(Te,{tone:"outlineDanger",icon:Dp,onClick:()=>{},children:"Réinitialiser"})]}),s.jsx("div",{style:{marginTop:8},children:s.jsx(kx,{tabs:Xle,active:n,onChange:r})}),i.map((f,p)=>s.jsx(Fo,{label:f.name,value:f.display,pct:f.value/o*100,color:A.accent,highlight:p===0},f.name)),s.jsxs(q,{variant:"muted",size:"0.6rem",children:["Moins vendu : ",i[i.length-1].name]})]})]})]})}const ok=[{name:"client_marie",role:"clients",icon:xx,tone:A.info,detail:"Cmd: 12 · Points: 340 · Parrain: +8€"},{name:"lucas_d",role:"livreurs",icon:I7,tone:A.success,detail:"512 livraisons · connecté aujourd’hui"},{name:"admin_yas",role:"admins",icon:qm,tone:A.accentLight,detail:"Accès complet à la plateforme"}],Zle=[{key:"tous",label:"Tous",icon:$7,count:3},{key:"clients",label:"Clients",icon:xx,count:1},{key:"livreurs",label:"Livreurs",icon:I7,count:1},{key:"admins",label:"Admins",icon:qm,count:1}];function Jle(){const[e,t]=m.useState("tous"),n=e==="tous"?ok:ok.filter(r=>r.role===e);return s.jsxs(Dt,{children:[s.jsx(bn,{columns:4,spacing:1.5,mb:2.5,children:Zle.map(r=>{const i=r.key===e;return s.jsxs("div",{onClick:()=>t(r.key),style:{cursor:"pointer",textAlign:"center",padding:"8px 2px",borderRadius:10,border:`1px solid ${i?A.accent:A.border}`,background:i?`${A.accent}22`:A.card},children:[s.jsx(We,{icon:r.icon,style:{color:i?A.accentLight:A.text3,fontSize:"0.75rem"}}),s.jsx("div",{style:{color:A.text,fontSize:"0.72rem",fontWeight:800,marginTop:4},children:r.count}),s.jsx("div",{style:{color:A.text3,fontSize:"0.55rem"},children:r.label})]},r.key)})}),n.map(r=>s.jsxs(He,{children:[s.jsxs(Pt,{children:[s.jsxs(q,{children:[s.jsx(We,{icon:r.icon,style:{color:r.tone,marginRight:6,fontSize:"0.72rem"}}),r.name]}),s.jsx("span",{style:{background:`${r.tone}26`,color:r.tone,fontSize:"0.6rem",fontWeight:800,padding:"2px 8px",borderRadius:999,textTransform:"capitalize"},children:r.role==="clients"?"Client":r.role==="livreurs"?"Livreur":"Admin"})]}),s.jsx(q,{variant:"muted",size:"0.65rem",children:r.detail})]},r.name))]})}const ak=[{id:"perso",icon:Q3,title:"Personnalisation",body:"Nom du shop affiché dans l’app · dégradé de couleur du titre (2 couleurs, aperçu en direct)."},{id:"amendes",icon:T7,title:"Amendes",body:"Barème par nombre d’annulations : 0 → 20€, 1 → 50€, 2 → 100€, 3 → 150€. Score affichable au client ou non.",hasSwitch:!0},{id:"parrainage",icon:xle,title:"Parrainage",body:"Active le solde de parrainage, utilisable directement au moment du paiement par le filleul.",hasSwitch:!0},{id:"points",icon:Np,title:"Système de points",body:"Créez vos propres types de points (nom + couleur), chacun avec son propre barème €→points.",hasSwitch:!0},{id:"attribution",icon:wle,title:"Attribution catégories → points",body:"Chaque catégorie de produit peut être reliée à un type de points précis, ou à aucun."},{id:"baremes",icon:Np,title:"Barème — Points Fidélité",body:"Paliers Min € / Max € / Points : ex. 0–20€ = 5 pts, 20–50€ = 15 pts, 50€+ = 40 pts."},{id:"recompense",icon:ale,title:"Récompenses par palier",body:"Seuil de points → produit offert ou à -50%. Récapitulatif généré automatiquement.",hasSwitch:!0},{id:"horaires",icon:n1,title:"Horaires de livraison",body:"Lundi → Vendredi : 11h00–22h30 · Samedi : 12h00–23h00 · Dimanche : fermé."},{id:"zones",icon:lle,title:"Zones de livraison",body:"3 zones actives · minimum de commande et liste de codes postaux par zone, ajout en masse."},{id:"crypto",icon:_le,title:"Paiement crypto",body:"BTC, ETH, LTC, USDT acceptés (NowPayments). Clé API et secret IPN masqués.",hasSwitch:!0},{id:"telegram",icon:ple,title:"Notifications Telegram",body:"Bot configuré — @votre_bot · authentification à deux facteurs activée.",hasSwitch:!0},{id:"mode-livraison",icon:n1,title:"Mode de livraison",body:"« Par catégorie » : chaque livreur ne reçoit que les commandes des catégories qui lui sont assignées."},{id:"couleurs",icon:Q3,title:"Couleurs de l'interface",body:"Palette séparée pour l’espace admin et pour l’app client — 5 couleurs, restaurables en un clic."}];function ece(){const[e,t]=m.useState("crypto"),[n,r]=m.useState(!0),[i,o]=m.useState(!0);return s.jsxs(Dt,{children:[s.jsx(wn,{title:"Paramètres",subtitle:`${ak.length} sections — cliquez pour ouvrir`}),s.jsx("div",{style:{maxHeight:480,overflowY:"auto",paddingRight:2},children:ak.map(a=>{const l=e===a.id,c=a.id==="crypto"?n:a.id==="telegram"?i:!0,u=a.id==="crypto"?r:o;return s.jsxs(He,{onClick:()=>t(l?null:a.id),children:[s.jsxs(Pt,{children:[s.jsxs(q,{size:"0.72rem",children:[s.jsx(We,{icon:a.icon,style:{color:A.accentLight,marginRight:8,fontSize:"0.68rem"}}),a.title]}),s.jsxs("div",{style:{display:"flex",alignItems:"center",gap:8},children:[a.hasSwitch&&(a.id==="crypto"||a.id==="telegram")&&s.jsx("span",{onClick:d=>d.stopPropagation(),children:s.jsx(Ole,{isOn:c,onToggle:()=>u(d=>!d)})}),a.hasSwitch&&a.id!=="crypto"&&a.id!=="telegram"&&s.jsx(We,{icon:yx,style:{color:A.success,fontSize:"0.55rem"}}),s.jsx(We,{icon:l?A7:M7,style:{color:A.text3,fontSize:"0.6rem"}})]})]}),l&&s.jsx("div",{style:{marginTop:8,paddingTop:8,borderTop:`1px solid ${A.border}`},children:s.jsx(q,{variant:"muted",size:"0.66rem",children:a.body})})]},a.id)})})]})}const tce=[{id:"1",driver:"lucas_d",message:"Guet-apens",time:"03/08/2026, 14:32",active:!0},{id:"2",driver:"emma_l",message:"Contrôle de police",time:"02/08/2026, 19:05",active:!1}];function nce(){const[e,t]=m.useState(tce),n=r=>{t(i=>i.map(o=>o.id===r?{...o,active:!1}:o))};return s.jsxs(Dt,{children:[s.jsx(wn,{title:"Alertes",subtitle:"Cliquez « Résoudre » pour tester"}),e.map(r=>s.jsxs(He,{children:[s.jsxs(Pt,{children:[s.jsxs(q,{variant:r.active?"danger":"secondary",children:[s.jsx(We,{icon:Km,style:{color:r.active?A.danger:A.text3,marginRight:6,fontSize:"0.72rem"}}),r.driver]}),s.jsx("span",{style:{background:r.active?`${A.danger}26`:`${A.success}26`,color:r.active?A.danger:A.success,fontSize:"0.6rem",fontWeight:800,padding:"2px 8px",borderRadius:999},children:r.active?"Active":"Terminée"})]}),r.active&&s.jsxs(q,{variant:"danger",size:"0.7rem",children:['"',r.message,'"']}),s.jsxs(Pt,{children:[s.jsx(q,{variant:"muted",size:"0.62rem",children:r.time}),r.active&&s.jsx(Te,{tone:"success",icon:Ta,onClick:()=>n(r.id),children:"Résoudre"})]})]},r.id))]})}const rce=[{id:"1",wrong:"10 rue de la paix",right:"10 Rue de la Paix, 75001 Paris"}];function ice(){const[e,t]=m.useState(rce),[n,r]=m.useState(!1),[i,o]=m.useState(""),[a,l]=m.useState(""),c=()=>{!i.trim()||!a.trim()||(t(u=>[...u,{id:String(u.length+1),wrong:i,right:a}]),o(""),l(""),r(!1))};return s.jsxs(Dt,{children:[s.jsx(wn,{title:"Corrections d'adresses",action:s.jsx(Te,{tone:"accent",icon:Sx,onClick:()=>r(u=>!u),children:n?"Fermer":"Ajouter"})}),n&&s.jsxs(He,{children:[s.jsx("input",{placeholder:"Adresse invalide (ex: 10 rue de la paix)",value:i,onChange:u=>o(u.target.value),style:{width:"100%",background:A.bg,border:`1px solid ${A.border}`,borderRadius:8,color:A.text,fontSize:"0.7rem",padding:"6px 8px",marginBottom:6,outline:"none"}}),s.jsx("input",{placeholder:"Adresse correcte (ex: 10 Rue de la Paix, 75001 Paris)",value:a,onChange:u=>l(u.target.value),style:{width:"100%",background:A.bg,border:`1px solid ${A.border}`,borderRadius:8,color:A.text,fontSize:"0.7rem",padding:"6px 8px",marginBottom:8,outline:"none"}}),s.jsx(Te,{tone:"accent",onClick:c,children:"Ajouter la correction"})]}),e.map(u=>s.jsxs(He,{children:[s.jsx(q,{variant:"danger",size:"0.72rem",children:u.wrong}),s.jsx("div",{style:{margin:"3px 0"},children:s.jsx(We,{icon:Rle,style:{color:A.text3,fontSize:"0.62rem"}})}),s.jsx(q,{variant:"success",size:"0.72rem",children:u.right})]},u.id))]})}function oce(){const[e,t]=m.useState(!1);return s.jsxs(Dt,{children:[s.jsx(wn,{title:"Cabine — Nadia",subtitle:"Suivi des opérations"}),s.jsxs(bn,{columns:2,spacing:2,mb:2.5,children:[s.jsx(Xe,{icon:L7,value:11,label:"Commandes actives",color:A.info}),s.jsx(Xe,{icon:z7,value:4,label:"En route",color:A.warning}),s.jsx(Xe,{icon:Ku,value:3,label:"En attente",color:A.accentLight}),s.jsx(Xe,{icon:vx,value:4,label:"Livreurs dispo",color:A.success}),s.jsx(Xe,{icon:bx,value:2,label:"Livreurs occupés",color:A.warning}),s.jsx(Xe,{icon:Ele,value:299,label:"Total terminées",color:A.success})]}),s.jsx(He,{mb:0,children:s.jsxs(Pt,{children:[s.jsxs(q,{children:[s.jsx(D7,{icon:yx,color:A.secondary}),"Notifications Telegram"]}),s.jsx(Te,{tone:e?"outlineDanger":"accent",icon:e?N7:R7,onClick:()=>t(n=>!n),children:e?"Délier":"Lier Telegram"})]})})]})}const ace=[{id:"#1042",client:"client_marie",address:"12 rue des Lilas",total:"46,00 €",label:"En attente",tone:A.warning},{id:"#1040",client:"client_lea",address:"8 avenue Foch",total:"58,50 €",label:"Livreur arrivé",tone:A.accentLight}];function sce(){const[e,t]=m.useState("#1042");return s.jsxs(Dt,{children:[s.jsx(wn,{title:"Commandes actives",subtitle:"Cliquez une commande"}),ace.map(n=>{const r=e===n.id;return s.jsxs(He,{active:r,onClick:()=>t(r?null:n.id),children:[s.jsxs(Pt,{children:[s.jsx(q,{mono:!0,children:n.id}),s.jsx("span",{style:{background:`${n.tone}26`,color:n.tone,fontSize:"0.6rem",fontWeight:800,padding:"2px 8px",borderRadius:999},children:n.label})]}),s.jsxs(q,{variant:"secondary",size:"0.7rem",children:[n.client," · ",n.address]}),s.jsx(q,{variant:"primary",size:"0.75rem",children:n.total}),r&&s.jsxs("div",{style:{marginTop:10,paddingTop:10,borderTop:`1px solid ${A.border}`,display:"flex",gap:6,flexWrap:"wrap"},children:[s.jsx(Te,{tone:"accent",icon:Sle,children:"Le livreur est là"}),s.jsx(Te,{tone:"outline",icon:vx,children:"Assigner livreur"}),s.jsx(Te,{tone:"outline",icon:Xm,children:"Proposer adresse"}),s.jsx(Te,{tone:"outlineDanger",icon:E7,children:"Supprimer"})]})]},n.id)}),s.jsx(Ym,{children:"Contrairement à l'espace admin, la cabine ne peut pas modifier le contenu d'une commande — seulement la faire avancer ou la supprimer."})]})}const lce=[{name:"lucas_d",status:"busy",queue:1,total:512},{name:"emma_l",status:"available",queue:0,total:340}],O0={available:A.success,busy:A.warning,offline:A.text3},cce={available:"Disponible",busy:"Occupé",offline:"Hors ligne"};function uce(){const[e,t]=m.useState("lucas_d");return s.jsxs(Dt,{children:[s.jsxs(bn,{columns:3,spacing:2,mb:2.5,children:[s.jsx(Xe,{icon:Xm,value:1,label:"Dispo",color:A.success}),s.jsx(Xe,{icon:bx,value:1,label:"Occupés",color:A.warning}),s.jsx(Xe,{icon:_7,value:0,label:"Offline",color:A.text3})]}),lce.map(n=>{const r=e===n.name;return s.jsxs(He,{active:r,children:[s.jsxs(Pt,{children:[s.jsxs(q,{children:[s.jsx(ll,{color:O0[n.status]}),n.name]}),s.jsx("span",{style:{background:`${O0[n.status]}26`,color:O0[n.status],fontSize:"0.6rem",fontWeight:800,padding:"2px 8px",borderRadius:999},children:cce[n.status]})]}),s.jsxs(q,{variant:"muted",size:"0.62rem",children:["Queue: ",n.queue," · Total: ",n.total]}),s.jsx("div",{style:{marginTop:8},children:s.jsx(Te,{tone:r?"accent":"outline",icon:wx,onClick:()=>t(r?null:n.name),children:r?"Arrêter le suivi":"Suivre"})})]},n.name)}),s.jsx(Ym,{children:"La cabine visualise et suit les livreurs en direct, mais l'assignation d'une commande se fait depuis l'écran Commandes."})]})}const sk=[{id:"1",driver:"lucas_d",message:"Accès bloqué, portail fermé",time:"14:32",active:!0},{id:"2",driver:"emma_l",message:"Client injoignable",time:"hier 19:05",active:!1}];function dce(){const[e,t]=m.useState("toutes"),n=e==="toutes"?sk:sk.filter(r=>r.active);return s.jsxs(Dt,{children:[s.jsx(wn,{title:"Alertes livreurs"}),s.jsx(kx,{tabs:[{key:"toutes",label:"Toutes"},{key:"actives",label:"Actives"}],active:e,onChange:t}),n.map(r=>s.jsxs(He,{children:[s.jsxs(Pt,{children:[s.jsxs(q,{variant:r.active?"danger":"secondary",children:[s.jsx(We,{icon:Km,style:{color:r.active?A.danger:A.text3,marginRight:6,fontSize:"0.72rem"}}),r.driver]}),s.jsx("span",{style:{background:r.active?`${A.danger}26`:`${A.success}26`,color:r.active?A.danger:A.success,fontSize:"0.6rem",fontWeight:800,padding:"2px 8px",borderRadius:999},children:r.active?"Active":"Terminée"})]}),r.active&&s.jsxs(q,{variant:"danger",size:"0.7rem",children:['"',r.message,'"']}),s.jsx(q,{variant:"muted",size:"0.62rem",children:r.time})]},r.id)),s.jsx(Ym,{children:"La résolution des alertes reste réservée à l'espace admin."})]})}function fce(){const[e,t]=m.useState("35 €"),[n,r]=m.useState(340);return s.jsxs(Dt,{children:[s.jsx(wn,{title:"Clients",subtitle:"Réinitialisations rapides"}),s.jsxs(He,{mb:0,children:[s.jsx(q,{variant:"primary",size:"0.82rem",children:"client_marie"}),s.jsx(q,{variant:"muted",size:"0.66rem",children:"Marie D. · 06 12 34 56 78"}),s.jsxs("div",{style:{display:"flex",gap:12,margin:"8px 0"},children:[s.jsx(q,{variant:"danger",size:"0.68rem",children:"Annul.: 2"}),s.jsxs(q,{variant:"secondary",size:"0.68rem",mono:!0,children:["Amende: ",e]}),s.jsxs(q,{variant:"success",size:"0.68rem",mono:!0,children:["Points: ",n]})]}),s.jsxs("div",{style:{display:"flex",gap:6,flexWrap:"wrap"},children:[s.jsx(Te,{tone:"outline",icon:Dp,onClick:()=>t("0 €"),children:"Reset pénalités"}),s.jsx(Te,{tone:"outline",icon:Dp,onClick:()=>r(0),children:"Reset points"})]})]}),s.jsx(Ym,{children:"Pas de création, modification ni suppression de compte ici — uniquement des remises à zéro ponctuelles."})]})}const F0=["pending","in_progress","arrived","completed"],B0={pending:{label:"En attente",tone:A.info},in_progress:{label:"En cours",tone:A.warning},arrived:{label:"Arrivé",tone:A.accentLight},completed:{label:"Terminée",tone:A.success}},pce=[{key:"available",label:"Disponible",tone:A.success},{key:"busy",label:"Occupé",tone:A.warning},{key:"offline",label:"Hors ligne",tone:A.text3}];function mce(){const[e,t]=m.useState("available"),[n,r]=m.useState("in_progress"),i=()=>{const o=F0.indexOf(n);o<F0.length-1&&r(F0[o+1])};return s.jsxs(Dt,{children:[s.jsx(wn,{title:"Mon statut"}),s.jsx("div",{style:{display:"flex",gap:6,marginBottom:12,flexWrap:"wrap"},children:pce.map(o=>{const a=e===o.key;return s.jsxs("div",{onClick:()=>t(o.key),style:{cursor:"pointer",display:"flex",alignItems:"center",padding:"5px 10px",borderRadius:999,fontSize:"0.65rem",fontWeight:700,border:`1px solid ${a?o.tone:A.border}`,background:a?`${o.tone}22`:"transparent",color:a?o.tone:A.text3},children:[s.jsx(ll,{color:o.tone,size:"7px"}),o.label]},o.key)})}),s.jsx(He,{children:s.jsx("div",{style:{height:96,borderRadius:8,position:"relative",backgroundImage:"linear-gradient(135deg,#161022 25%,#1c1330 25%,#1c1330 50%,#161022 50%,#161022 75%,#1c1330 75%)",backgroundSize:"18px 18px",marginBottom:6},children:s.jsxs("span",{style:{position:"absolute",top:8,left:8,background:`${A.success}26`,color:A.success,fontSize:"0.6rem",fontWeight:800,padding:"3px 9px",borderRadius:999},children:[s.jsx(ll,{color:A.success,size:"7px"}),"GPS actif — 48.85, 2.35"]})})}),s.jsx(q,{variant:"muted",size:"0.66rem",children:"Mes livraisons (1) — cliquez « avancer » pour tester le cycle complet"}),s.jsxs(He,{mb:0,children:[s.jsxs(Pt,{children:[s.jsx(q,{mono:!0,children:"Commande #1041"}),s.jsx("span",{style:{background:`${B0[n].tone}26`,color:B0[n].tone,fontSize:"0.6rem",fontWeight:800,padding:"2px 8px",borderRadius:999},children:B0[n].label})]}),s.jsx(q,{variant:"secondary",size:"0.7rem",children:"client_paul · 12 rue des Lilas"}),s.jsxs("div",{style:{display:"flex",gap:6,marginTop:8,flexWrap:"wrap"},children:[s.jsx(Te,{tone:"outline",icon:Xm,children:"Itinéraire"}),s.jsx(Te,{tone:"outline",icon:jle,children:"Appeler"})]}),s.jsxs("div",{style:{marginTop:10,paddingTop:10,borderTop:`1px solid ${A.border}`,display:"flex",gap:6,flexWrap:"wrap"},children:[n==="pending"&&s.jsx(Te,{tone:"success",icon:wx,onClick:i,children:"Démarrer la livraison"}),n==="in_progress"&&s.jsx(Te,{tone:"accent",icon:bx,onClick:i,children:"J'arrive"}),n==="arrived"&&s.jsxs(s.Fragment,{children:[s.jsx(Te,{tone:"accent",icon:Ta,onClick:i,children:"Terminer"}),s.jsx(Te,{tone:"outlineDanger",icon:T7,children:"Annuler"})]}),n==="completed"&&s.jsxs(q,{variant:"success",size:"0.7rem",children:[s.jsx(We,{icon:Ta,style:{marginRight:6}}),"Livraison terminée"]})]})]})]})}const Bo={police:{title:"Contrôle de police",icon:qm,hint:"Restez calme, coopérez avec les forces de l’ordre. L’équipe est prévenue."},ambush:{title:"Guet-apens",icon:Km,hint:"Éloignez-vous du danger si possible. L’équipe et les secours sont prévenus."}};function hce(){const[e,t]=m.useState("idle"),[n,r]=m.useState("police");return s.jsxs(Dt,{children:[s.jsx(wn,{title:"Alerte",subtitle:"Bouton d'urgence pour les livreurs"}),e==="idle"&&s.jsx(Te,{tone:"outlineDanger",icon:Km,onClick:()=>t("pick"),children:"Déclencher alerte police"}),e==="pick"&&s.jsxs(He,{mb:0,children:[s.jsx(q,{size:"0.78rem",variant:"primary",children:"Type d'alerte"}),s.jsx(q,{variant:"muted",size:"0.65rem",children:"Sélectionnez la raison de l'alerte."}),s.jsx("div",{style:{display:"flex",flexDirection:"column",gap:6,marginTop:8},children:Object.keys(Bo).map(i=>s.jsxs("div",{onClick:()=>{r(i),t("confirm")},style:{cursor:"pointer",display:"flex",alignItems:"center",gap:8,padding:"8px 10px",borderRadius:8,border:`1px solid ${A.border}`},children:[s.jsx(We,{icon:Bo[i].icon,style:{color:A.danger,fontSize:"0.8rem"}}),s.jsx("span",{style:{color:A.text,fontSize:"0.74rem"},children:Bo[i].title})]},i))}),s.jsx("div",{style:{marginTop:10},children:s.jsx(Te,{tone:"outline",onClick:()=>t("idle"),children:"Annuler"})})]}),e==="confirm"&&s.jsxs(He,{mb:0,children:[s.jsxs(q,{size:"0.78rem",variant:"danger",children:[s.jsx(We,{icon:Bo[n].icon,style:{marginRight:6}}),"Alerte — ",Bo[n].title]}),s.jsx(q,{variant:"muted",size:"0.66rem",children:Bo[n].hint}),s.jsx(q,{variant:"primary",size:"0.74rem",children:"Confirmez-vous le déclenchement ?"}),s.jsxs("div",{style:{display:"flex",gap:6,marginTop:10},children:[s.jsx(Te,{tone:"outline",onClick:()=>t("idle"),children:"Annuler"}),s.jsx(Te,{tone:"outlineDanger",onClick:()=>t("sent"),children:"Déclencher"})]})]}),e==="sent"&&s.jsxs(He,{mb:0,children:[s.jsx(We,{icon:Ta,style:{color:A.success,fontSize:"1.4rem",marginBottom:8}}),s.jsx(q,{size:"0.8rem",variant:"success",children:"Alerte envoyée"}),s.jsx(q,{variant:"muted",size:"0.66rem",children:"L'équipe admin a été notifiée immédiatement."}),s.jsx(q,{variant:"secondary",size:"0.66rem",children:Bo[n].hint}),s.jsx("div",{style:{marginTop:10},children:s.jsx(Te,{tone:"accent",onClick:()=>t("idle"),children:"Compris"})})]})]})}function lk({value:e}){return s.jsx("span",{children:[1,2,3,4,5].map(t=>s.jsx(We,{icon:Np,style:{color:t<=e?A.warning:A.border,fontSize:"0.7rem",marginRight:2}},t))})}const gce=[{client:"client_marie",order:"#1038",rating:5,comment:"Livraison rapide et sympa, merci !"},{client:"client_theo",order:"#1029",rating:4,comment:"Tout est arrivé nickel."}];function vce(){return s.jsxs(Dt,{children:[s.jsx(wn,{title:"Mes avis"}),s.jsxs(He,{children:[s.jsx(q,{size:"1.5rem",variant:"primary",children:"4.7"}),s.jsx("div",{style:{marginTop:4},children:s.jsx(lk,{value:5})}),s.jsx(q,{variant:"muted",size:"0.66rem",children:"38 avis clients"})]}),gce.map(e=>s.jsxs(He,{children:[s.jsx(q,{size:"0.74rem",variant:"primary",children:e.client}),s.jsxs(q,{variant:"muted",size:"0.62rem",children:["Commande ",e.order]}),s.jsx("div",{style:{margin:"4px 0"},children:s.jsx(lk,{value:e.rating})}),s.jsxs(q,{variant:"secondary",size:"0.68rem",children:["« ",e.comment," »"]})]},e.order))]})}const yce={jour:[2,4,3,6,5,8,4],semaine:[18,24,21,27,15,30,22],mois:[80,92,76,101]},bce={jour:["L","M","M","J","V","S","D"],semaine:["S1","S2","S3","S4","S5","S6","S7"],mois:["Mai","Juin","Juil","Août"]};function xce(){const[e,t]=m.useState("semaine"),n=yce[e],r=bce[e],i=m.useMemo(()=>Math.max(...n),[n]);return s.jsxs(Dt,{children:[s.jsx(wn,{title:"Mes performances"}),s.jsxs(bn,{columns:2,spacing:2,mb:2.5,children:[s.jsx(Xe,{icon:ule,value:512,label:"Total livraisons",color:A.accentLight}),s.jsx(Xe,{icon:Ta,value:489,label:"Complétées",color:A.success}),s.jsx(Xe,{icon:Ku,value:14,label:"Livraisons du jour",color:A.accentLight}),s.jsx(Xe,{icon:Ple,value:3,label:"En attente",color:A.info})]}),s.jsxs(He,{mb:0,children:[s.jsx(q,{variant:"secondary",size:"0.72rem",children:"Évolution"}),s.jsx("div",{style:{marginTop:8},children:s.jsx(kx,{tabs:[{key:"jour",label:"Jour"},{key:"semaine",label:"Semaine"},{key:"mois",label:"Mois"}],active:e,onChange:t})}),s.jsx("div",{style:{display:"flex",alignItems:"flex-end",gap:6,height:90,marginTop:6},children:n.map((o,a)=>s.jsxs("div",{style:{flex:1,textAlign:"center"},children:[s.jsx("div",{style:{height:`${o/i*70}px`,background:A.accent,borderRadius:4,transition:"height .3s ease"}}),s.jsx("div",{style:{color:A.text3,fontSize:"0.55rem",marginTop:4},children:r[a]})]},a))}),s.jsxs(q,{variant:"muted",size:"0.62rem",children:[n.reduce((o,a)=>o+a,0)," livraisons sur la période"]})]})]})}const Sce=[{id:"admin-dashboard",kicker:"Vue d'ensemble",title:"Toute votre activité en un coup d’œil",lead:"Dès l'ouverture, vous voyez l'essentiel : commandes en attente ou en route, clients et livreurs actifs — sans avoir à chercher l'information.",points:["Chiffres mis à jour en temps réel","Notifications Telegram liées à votre compte","Accès identique sur mobile et sur ordinateur"],mockup:s.jsx(Fle,{})},{id:"admin-commandes",kicker:"Suivi opérationnel",title:"Suivez chaque commande, de la validation à la livraison",lead:"Chaque commande apparaît avec son statut, son montant et le livreur assigné. Un menu d'actions par commande permet d'assigner un livreur ou de la finaliser en un geste.",points:["Archives des commandes approuvées et annulées, recherche instantanée","Export CSV pour votre comptabilité","Parrainage et fidélité pris en compte automatiquement dans le total"],mockup:s.jsx(Ble,{}),reverse:!0},{id:"admin-livraison",kicker:"Géolocalisation en direct",title:"Localisez vos livreurs en temps réel, sur la carte",lead:"La position de chaque livreur s'affiche en direct, avec la distance et le temps restant estimé. Vue d'ensemble de toute la flotte : disponible, occupée ou hors ligne.",points:["Distance et temps de trajet calculés automatiquement","Avis clients et historique de connexion par livreur",'Notification client en un tap : "le livreur est arrivé"'],mockup:s.jsx(Vle,{})},{id:"admin-produits",kicker:"Catalogue",title:"Un catalogue que vous gérez vous-même",lead:"Ajoutez, modifiez ou retirez un produit en quelques secondes : photos, vidéos, stock, description, et plusieurs tarifs par produit.",points:["Photos et vidéos multiples par produit","Plusieurs paliers de prix, activables indépendamment","Statut « à venir » pour annoncer un produit avant sa mise en vente"],mockup:s.jsx(Hle,{}),reverse:!0},{id:"admin-categories",kicker:"Organisation",title:"Organisez votre catalogue comme vous le souhaitez",lead:"Créez vos propres catégories, attribuez-leur une couleur, réordonnez-les en un clic. Une catégorie peut être marquée « prochainement » avant sa mise en ligne.",points:["Couleur personnalisée par catégorie","Réorganisation manuelle de l'ordre d'affichage","Aperçu immédiat du rendu côté client"],mockup:s.jsx(Kle,{})},{id:"admin-statistiques",kicker:"Pilotage",title:"Des chiffres clairs pour piloter votre activité",lead:"Chiffre d'affaires, produits les plus vendus, heures et jours d'affluence : tout est visualisé simplement, sans éplucher vos commandes une par une.",points:["Historique mensuel navigable, jour par jour","Classement des meilleurs produits (quantité, commandes ou revenus)","Repérage automatique du jour et de l'heure de pointe"],mockup:s.jsx(Qle,{}),reverse:!0},{id:"admin-utilisateurs",kicker:"Équipe & clients",title:"Clients, livreurs, équipe : tout au même endroit",lead:"Un seul espace pour gérer tous les comptes. Ajustez les points de fidélité, appliquez une pénalité ou consultez l'historique d'un client.",points:["Filtre par rôle et recherche instantanée","Gestion des points de fidélité et du parrainage","Suivi des annulations et de l'historique de connexion"],mockup:s.jsx(Jle,{})},{id:"admin-parametres",kicker:"Personnalisation",title:"Une plateforme qui s'adapte à votre activité",lead:"13 sections de réglages : fidélité, parrainage, pénalités, zones et horaires de livraison, paiement crypto, Telegram, couleurs de l’interface... Tout est configurable vous-même.",points:["Zones de livraison par code postal avec minimum de commande","Paiement crypto (NowPayments) et bot Telegram intégrés","Couleurs de l'espace admin et de l'app client personnalisables"],mockup:s.jsx(ece,{}),reverse:!0},{id:"admin-alertes",kicker:"Réactivité",title:"Réagissez immédiatement en cas de problème",lead:"Si un livreur rencontre un souci sur le terrain, l'alerte remonte instantanément — avec son message et l'horodatage — jusqu'à ce qu'elle soit résolue.",points:["Distinction claire entre alerte active et résolue","Historique complet conservé"],mockup:s.jsx(nce,{})},{id:"admin-adresses",kicker:"Fiabilité livraison",title:"Zéro commande perdue à cause d’une adresse mal saisie",lead:"Quand un client tape une adresse imprécise, corrigez-la une bonne fois pour toutes : les prochaines commandes utiliseront automatiquement la bonne adresse.",points:["Association simple « adresse saisie → adresse correcte »","Moins d’erreurs de livraison, moins d’allers-retours"],mockup:s.jsx(ice,{}),reverse:!0}],wce=[{id:"cabine-dashboard",kicker:"Opérations du jour",title:"Un espace dédié pour votre équipe en cuisine",lead:"Vos préparateurs voient uniquement ce qui les concerne : commandes en cours, livreurs disponibles — sans chiffre d'affaires ni réglages sensibles.",points:["Aucune donnée financière exposée","Notifications Telegram propres à chaque compte","Rafraîchissement en direct"],mockup:s.jsx(oce,{})},{id:"cabine-commandes",kicker:"Suivi des commandes",title:"Faire avancer une commande, en toute sécurité",lead:"La cabine assigne un livreur, prévient le client, propose une correction d’adresse — mais ne peut ni modifier ni voir les réglages de la commande.",points:["Actions limitées et guidées, pas de menu complexe","Confirmation demandée avant chaque action sensible","Zéro risque de modification accidentelle"],mockup:s.jsx(sce,{}),reverse:!0},{id:"cabine-livraison",kicker:"Suivi livreurs",title:"Suivre les livreurs en direct, sans les gérer",lead:"La cabine voit la carte, la disponibilité et la position de chaque livreur pour coordonner la préparation — la gestion des comptes reste réservée à l’admin.",points:["Carte et statuts en temps réel","Suivi d’itinéraire en un clic","Aucun accès à la création ou modification de compte"],mockup:s.jsx(uce,{})},{id:"cabine-alertes",kicker:"Information",title:"Rester informé, sans pouvoir de décision",lead:"Les alertes remontées par les livreurs sont visibles par la cabine pour garder tout le monde informé — seule l’équipe admin peut les résoudre.",points:['Filtre "Toutes" / "Actives"',"Lecture seule, aucune action destructrice possible"],mockup:s.jsx(dce,{}),reverse:!0},{id:"cabine-utilisateurs",kicker:"Service client",title:"Un geste commercial, sans accès aux comptes",lead:"Besoin d’annuler une pénalité ou d’offrir des points en guise de geste commercial ? La cabine peut le faire en un clic, sans jamais toucher au reste du compte client.",points:["Reset pénalités et points uniquement","Aucune création, édition ou suppression de compte"],mockup:s.jsx(fce,{})}],kce=[{id:"livreur-dashboard",kicker:"Terrain",title:"Le compagnon de route de vos livreurs",lead:"Statut en un tap (disponible / occupé / hors ligne), position GPS en direct, et un cycle de livraison guidé étape par étape jusqu’à la remise au client.",points:["Cycle complet : Démarrer → J’arrive → Terminer","Appel client et itinéraire en un tap","Gestion des cas « client absent » avec compte à rebours"],mockup:s.jsx(mce,{})},{id:"livreur-alertes",kicker:"Sécurité",title:"Un bouton d’urgence, toujours à portée de main",lead:"En cas de contrôle de police ou de situation dangereuse, le livreur alerte l’équipe admin en 2 taps — avec des consignes de sécurité affichées immédiatement.",points:["Deux types d’alerte : contrôle de police / guet-apens","Confirmation avant envoi pour éviter les fausses alertes","Consignes de sécurité affichées après envoi"],mockup:s.jsx(hce,{}),reverse:!0},{id:"livreur-avis",kicker:"Reconnaissance",title:"Chaque livreur voit ses propres avis clients",lead:"Note moyenne et commentaires clients, pour valoriser le travail de vos livreurs et repérer rapidement un souci de service.",points:["Note moyenne calculée automatiquement","Commentaires clients horodatés"],mockup:s.jsx(vce,{})},{id:"livreur-stats",kicker:"Performance",title:"Un livreur qui suit sa propre performance reste motivé",lead:"Nombre de livraisons, taux de complétion, évolution jour / semaine / mois : chaque livreur a une vision claire de son activité.",points:["Bascule Jour / Semaine / Mois","Totaux recalculés automatiquement"],mockup:s.jsx(xce,{}),reverse:!0}],ck=[{key:"admin",label:"Espace Admin",icon:zle,features:Sce,blurb:"Contrôle total de la plateforme."},{key:"cabine",label:"Espace Cabine",icon:vle,features:wce,blurb:"Équipe de préparation, accès restreint."},{key:"livreur",label:"Espace Livreur",icon:qm,features:kce,blurb:"Application dédiée aux livreurs."}];function Cce(){const[e,t]=m.useState("admin"),n=ck.find(r=>r.key===e);return s.jsxs(ne,{children:[s.jsx(ne,{bgGradient:"linear(to-b, blackAlpha.50, transparent)",py:{base:14,md:20},children:s.jsx(fn,{maxW:"container.lg",children:s.jsxs(we,{spacing:5,textAlign:"center",align:"center",children:[s.jsxs(ge,{spacing:2,children:[s.jsx(ne,{as:"span",px:3,py:1,borderRadius:"full",fontSize:"xs",fontWeight:"bold",bg:"primary.500",color:"white",children:"3 espaces, 1 seule plateforme"}),s.jsx(ne,{as:"span",px:3,py:1,borderRadius:"full",fontSize:"xs",fontWeight:"bold",borderWidth:"1px",children:"Démo interactive"})]}),s.jsx(ct,{size:"2xl",children:"Admin, cabine, livreur : chacun son espace"}),s.jsx(K,{fontSize:"lg",color:"gray.500",maxW:"2xl",children:"Chaque rôle a exactement les écrans dont il a besoin — rien de plus. Choisissez un espace ci-dessous et essayez les aperçus : ils sont interactifs, comme dans l'application réelle."})]})})}),s.jsx(ne,{borderTopWidth:"1px",borderBottomWidth:"1px",bg:"chakra-subtle-bg",position:"sticky",top:0,zIndex:2,children:s.jsxs(fn,{maxW:"container.lg",py:{base:2,md:3},children:[s.jsx(ge,{spacing:2,mb:{base:0,md:2},overflowX:"auto",children:ck.map(r=>s.jsx(xe,{size:"sm",leftIcon:s.jsx(We,{icon:r.icon}),colorScheme:e===r.key?"primary":void 0,variant:e===r.key?"solid":"outline",onClick:()=>t(r.key),flexShrink:0,children:r.label},r.key))}),s.jsx(vT,{spacing:4,shouldWrapChildren:!0,display:{base:"none",md:"flex"},children:n.features.map(r=>s.jsx(Bb,{children:s.jsx(K,{as:"a",href:`#${r.id}`,fontSize:"xs",fontWeight:"medium",color:"gray.500",whiteSpace:"nowrap",_hover:{color:"primary.500",textDecoration:"underline"},children:r.kicker})},r.id))})]})}),s.jsxs(fn,{maxW:"container.lg",children:[s.jsx(ne,{py:6,children:s.jsx(K,{color:"gray.500",fontSize:"sm",textAlign:"center",children:n.blurb})}),n.features.map(r=>s.jsxs(we,{id:r.id,direction:{base:"column",md:r.reverse?"row-reverse":"row"},spacing:{base:10,md:16},align:"center",py:{base:14,md:20},borderBottomWidth:"1px",scrollMarginTop:"120px",children:[s.jsxs(ne,{flex:"0.9",minW:0,children:[s.jsx(K,{fontSize:"xs",fontWeight:"extrabold",letterSpacing:"wide",textTransform:"uppercase",color:"primary.500",mb:2,children:r.kicker}),s.jsx(ct,{size:"lg",mb:4,children:r.title}),s.jsx(K,{color:"gray.500",mb:5,children:r.lead}),s.jsx(Mu,{spacing:2,children:r.points.map(i=>s.jsxs(Ab,{fontSize:"sm",color:"gray.600",display:"flex",children:[s.jsx(F_,{as:()=>s.jsx(We,{icon:Ta}),color:"green.400",mt:1,mr:2}),s.jsx("span",{children:i})]},i))})]}),s.jsx(ne,{flex:"1",minW:0,w:"full",children:r.mockup})]},r.id))]}),s.jsx(ne,{bg:"gray.900",color:"white",py:20,textAlign:"center",children:s.jsxs(fn,{maxW:"container.md",children:[s.jsx(ct,{size:"xl",mb:4,children:"Prêt à essayer votre propre espace admin ?"}),s.jsx(K,{color:"whiteAlpha.700",mb:8,children:"Une démo dédiée et isolée, prête en quelques minutes, pour tester la plateforme en conditions réelles."}),s.jsxs(bn,{columns:{base:1,sm:2},spacing:4,maxW:"sm",mx:"auto",children:[s.jsx(xe,{as:Zt,to:"/register",colorScheme:"primary",size:"lg",children:"Créer un compte"}),s.jsx(xe,{as:Zt,to:"/tarifs",variant:"outline",colorScheme:"whiteAlpha",size:"lg",children:"Voir les tarifs"})]})]})})]})}const O7="";class Ie extends Error{constructor(n,r){super(r);Vx(this,"status");this.status=n}}async function qe(e,t,n){const r={"Content-Type":"application/json"},i=await fetch(`${O7}/api/v1${t}`,{method:e,headers:r,credentials:"include",body:n?JSON.stringify(n):void 0});if(!i.ok){const o=await i.json().catch(()=>({error:`HTTP ${i.status}`}));throw new Ie(i.status,o.error??`HTTP ${i.status}`)}return i.status===204?void 0:await i.json()}const je={login:(e,t,n)=>qe("POST","/auth/login",{username:e,password:t,role:n}),register:(e,t)=>qe("POST","/auth/register",{username:e,password:t}),me:()=>qe("GET","/auth/me"),logout:()=>qe("POST","/auth/logout"),listDemos:()=>qe("GET","/demos"),listMyDemos:()=>qe("GET","/demos/mine"),getDemo:e=>qe("GET",`/demos/${e}`),createDemo:e=>qe("POST","/demos",{username:e.username,...e.telegramBotUsername?{telegram_bot_username:e.telegramBotUsername}:{},...e.telegramBotToken?{telegram_bot_token:e.telegramBotToken}:{},...e.nowPaymentsApiKey?{nowpayments_api_key:e.nowPaymentsApiKey}:{},...e.nowPaymentsIpnSecret?{nowpayments_ipn_secret:e.nowPaymentsIpnSecret}:{},storage_driver:e.storageDriver,...e.storageDriver==="s3"?{s3_bucket:e.s3Bucket,s3_endpoint:e.s3Endpoint}:{},...e.tomtomApiKey?{tomtom_api_key:e.tomtomApiKey}:{},...e.tomtomApiKey1?{tomtom_api_key_1:e.tomtomApiKey1}:{},...e.tomtomApiKey2?{tomtom_api_key_2:e.tomtomApiKey2}:{},...e.tomtomApiKey3?{tomtom_api_key_3:e.tomtomApiKey3}:{},...e.lbBot1Username?{lb_bot1_username:e.lbBot1Username,lb_bot1_token:e.lbBot1Token}:{},...e.lbBot2Username?{lb_bot2_username:e.lbBot2Username,lb_bot2_token:e.lbBot2Token}:{},...e.lbStrategy?{lb_strategy:e.lbStrategy}:{},...e.lbJwtTtlSeconds?{lb_jwt_ttl_seconds:e.lbJwtTtlSeconds}:{},...e.lbHealthCheckInterval?{lb_health_check_interval:e.lbHealthCheckInterval}:{},admin_username:e.adminUsername,admin_password:e.adminPassword}),extendDemo:e=>qe("POST",`/demos/${e}/extend`),deleteDemo:e=>qe("DELETE",`/demos/${e}`),setDemoDomain:(e,t)=>qe("POST",`/demos/${e}/domain`,{domain:t}),transferDemoToPremium:e=>qe("POST",`/demos/${e}/premium`),listCodes:()=>qe("GET","/codes"),listPremiumUsers:()=>qe("GET","/premium"),createCode:e=>qe("POST","/codes",{username:e}),addCode:e=>qe("POST","/subscription",{code_verif:e}),sendMessage:(e,t,n,r)=>qe("POST","/send/message",{username:e,telegram:t,sujet:n,message:r}),getMessage:()=>qe("GET","/messages"),getDemoDetails:e=>qe("POST","/demos/details",{namespace:e}),updateUsername:e=>qe("POST","/profile/username",{username:e}),updatePassword:e=>qe("POST","/profile/password",{password:e}),getTelegram:()=>qe("GET","/profile/telegram"),setTelegram:e=>qe("POST","/profile/telegram",{telegram:e}),getAlertSettings:()=>qe("GET","/profile/alerts"),setAlertSettings:e=>qe("POST","/profile/alerts",e),testAlertSettings:e=>qe("POST","/profile/alerts/test",e),listAppDownloads:()=>qe("GET","/apps")};function jce(e){return`${O7}/api/v1/apps/${encodeURIComponent(e)}`}const F7=m.createContext(null);function Pce({children:e}){const[t,n]=m.useState(null),[r,i]=m.useState(null),[o,a]=m.useState(!0);m.useEffect(()=>{let p=!0;return je.me().then(h=>{p&&(n(h.role),i(h.type_abonnement))}).catch(()=>{}).finally(()=>{p&&a(!1)}),()=>{p=!1}},[]);const l=m.useCallback(async(p,h,v)=>{await je.login(p,h,v);const b=await je.me();n(b.role),i(b.type_abonnement)},[]),c=m.useCallback(async(p,h)=>{await je.register(p,h);const v=await je.me();n(v.role),i(v.type_abonnement)},[]),u=m.useCallback(async()=>{try{await je.logout()}finally{n(null),i(null)}},[]),d=m.useCallback(async()=>{const p=await je.me();i(p.type_abonnement)},[]),f=m.useMemo(()=>({isAuthenticated:!!t,isAdmin:t==="admin",isClient:t==="client",isPremium:r==="premium",role:t,typeAbo:r,initializing:o,login:l,register:c,logout:u,refreshAbo:d}),[t,r,o,l,c,u,d]);return s.jsx(F7.Provider,{value:f,children:e})}function zo(){const e=m.useContext(F7);if(!e)throw new Error("useAuth doit être utilisé dans <AuthProvider>");return e}function Ea(e){const{toggleColorMode:t}=Pu(),n=gp("Passer en mode sombre","Passer en mode clair");return s.jsx(vn,{"aria-label":n,title:n,variant:"ghost",size:e.size??"sm",onClick:t,icon:gp(s.jsx(Tce,{}),s.jsx(_ce,{}))})}function _ce(){return s.jsxs(At,{viewBox:"0 0 24 24",boxSize:5,fill:"none",stroke:"currentColor",strokeWidth:2,children:[s.jsx("circle",{cx:"12",cy:"12",r:"4"}),s.jsx("path",{strokeLinecap:"round",d:"M12 2v2m0 16v2M2 12h2m16 0h2M4.9 4.9l1.4 1.4m11.4 11.4l1.4 1.4M19.1 4.9l-1.4 1.4M6.3 17.7l-1.4 1.4"})]})}function Tce(){return s.jsx(At,{viewBox:"0 0 24 24",boxSize:5,fill:"currentColor",children:s.jsx("path",{d:"M21 12.8A9 9 0 1111.2 3a7 7 0 009.8 9.8z"})})}const sn=m.forwardRef((e,t)=>{const[n,r]=m.useState(!1);return s.jsxs(Tb,{children:[s.jsx(bt,{ref:t,type:n?"text":"password",...e}),s.jsx(Em,{children:s.jsx(vn,{"aria-label":n?"Masquer le mot de passe":"Afficher le mot de passe",icon:s.jsx(We,{icon:n?$le:dle}),size:"sm",variant:"ghost",tabIndex:-1,onClick:()=>r(i=>!i)})})]})});sn.displayName="PasswordInput";function Ece(){const{login:e}=zo(),t=Qn(),n=pr(),[r,i]=m.useState(""),[o,a]=m.useState(""),[l,c]=m.useState(!1),u=async d=>{d.preventDefault(),c(!0);try{await e(r.trim(),o,"client"),t("/app",{replace:!0})}catch(f){const p=f instanceof Ie?f.message:"Connexion impossible";n({status:"error",title:"Échec de connexion",description:p})}finally{c(!1)}};return s.jsxs(fn,{maxW:"sm",py:20,position:"relative",children:[s.jsx(ne,{position:"absolute",top:4,right:4,children:s.jsx(Ea,{})}),s.jsxs(we,{spacing:6,children:[s.jsxs(ne,{textAlign:"center",children:[s.jsx(ct,{size:"lg",children:"Espace client"}),s.jsx(K,{color:"gray.500",children:"Connectez-vous pour gérer votre abonnement."})]}),s.jsx(ub,{children:s.jsx(db,{children:s.jsx("form",{onSubmit:u,children:s.jsxs(we,{spacing:4,children:[s.jsxs(ke,{isRequired:!0,children:[s.jsx(Ce,{children:"Nom d'utilisateur"}),s.jsx(bt,{value:r,onChange:d=>i(d.target.value),autoComplete:"username"})]}),s.jsxs(ke,{isRequired:!0,children:[s.jsx(Ce,{children:"Mot de passe"}),s.jsx(sn,{value:o,onChange:d=>a(d.target.value),autoComplete:"current-password"})]}),s.jsx(xe,{type:"submit",colorScheme:"primary",isLoading:l,children:"Se connecter"})]})})})}),s.jsxs(ge,{justify:"center",spacing:1,children:[s.jsx(K,{fontSize:"sm",color:"gray.500",children:"Pas encore de compte ?"}),s.jsx(xe,{as:Zt,to:"/register",variant:"link",size:"sm",children:"Créer un compte"})]}),s.jsx(xe,{as:Zt,to:"/",variant:"outline",size:"sm",children:"← Retour au site"})]})]})}function Ace(){const{login:e}=zo(),t=Qn(),n=pr(),[r,i]=m.useState(""),[o,a]=m.useState(""),[l,c]=m.useState(!1),u=async d=>{d.preventDefault(),c(!0);try{await e(r.trim(),o,"admin"),t("/app",{replace:!0})}catch(f){const p=f instanceof Ie?f.message:"Connexion impossible";n({status:"error",title:"Échec de connexion",description:p})}finally{c(!1)}};return s.jsxs(fn,{maxW:"sm",py:20,position:"relative",children:[s.jsx(ne,{position:"absolute",top:4,right:4,children:s.jsx(Ea,{})}),s.jsxs(we,{spacing:6,children:[s.jsxs(ne,{textAlign:"center",children:[s.jsx(ct,{size:"lg",children:"Espace admin"}),s.jsx(K,{color:"gray.500",children:"Connectez-vous pour administrer la plateforme."})]}),s.jsx(ub,{children:s.jsx(db,{children:s.jsx("form",{onSubmit:u,children:s.jsxs(we,{spacing:4,children:[s.jsxs(ke,{isRequired:!0,children:[s.jsx(Ce,{children:"Nom d'utilisateur"}),s.jsx(bt,{value:r,onChange:d=>i(d.target.value),autoComplete:"username"})]}),s.jsxs(ke,{isRequired:!0,children:[s.jsx(Ce,{children:"Mot de passe"}),s.jsx(sn,{value:o,onChange:d=>a(d.target.value),autoComplete:"current-password"})]}),s.jsx(xe,{type:"submit",colorScheme:"primary",isLoading:l,children:"Se connecter"})]})})})}),s.jsx(xe,{as:Zt,to:"/",variant:"outline",size:"sm",children:"← Retour au site"})]})]})}function $ce(){const{register:e}=zo(),t=Qn(),n=pr(),[r,i]=m.useState(""),[o,a]=m.useState(""),[l,c]=m.useState(""),[u,d]=m.useState(!1),f=/^[a-zA-Z0-9]{3,64}$/.test(r),p=o.length>=10,h=o===l,v=f&&p&&h,b=async x=>{if(x.preventDefault(),!!v){d(!0);try{await e(r.trim(),o),t("/app",{replace:!0})}catch(y){const g=y instanceof Ie?y.message:"Inscription impossible";n({status:"error",title:"Échec de l’inscription",description:g})}finally{d(!1)}}};return s.jsxs(fn,{maxW:"sm",py:16,position:"relative",children:[s.jsx(ne,{position:"absolute",top:4,right:4,children:s.jsx(Ea,{})}),s.jsxs(we,{spacing:6,children:[s.jsxs(ne,{textAlign:"center",children:[s.jsx(ct,{size:"lg",children:"Créer un compte"}),s.jsx(K,{color:"gray.500",children:"Rejoignez l’espace commercial Omnex."})]}),s.jsx(ub,{children:s.jsx(db,{children:s.jsx("form",{onSubmit:b,children:s.jsxs(we,{spacing:4,children:[s.jsxs(ke,{isRequired:!0,isInvalid:r.length>0&&!f,children:[s.jsx(Ce,{children:"Nom d'utilisateur"}),s.jsx(bt,{value:r,onChange:x=>i(x.target.value),autoComplete:"username"}),s.jsx(ru,{children:"3 à 64 caractères alphanumériques."})]}),s.jsxs(ke,{isRequired:!0,isInvalid:o.length>0&&!p,children:[s.jsx(Ce,{children:"Mot de passe"}),s.jsx(sn,{value:o,onChange:x=>a(x.target.value),autoComplete:"new-password"}),s.jsx(ru,{children:"10 caractères minimum."})]}),s.jsxs(ke,{isRequired:!0,isInvalid:l.length>0&&!h,children:[s.jsx(Ce,{children:"Confirmer le mot de passe"}),s.jsx(sn,{value:l,onChange:x=>c(x.target.value),autoComplete:"new-password"})]}),s.jsx(xe,{type:"submit",colorScheme:"primary",isLoading:u,isDisabled:!v,children:"Créer mon compte"})]})})})}),s.jsxs(ge,{justify:"center",spacing:1,children:[s.jsx(K,{fontSize:"sm",color:"gray.500",children:"Déjà un compte ?"}),s.jsx(xe,{as:Zt,to:"/login",variant:"link",size:"sm",children:"Se connecter"})]})]})]})}const qu=_m({displayName:"EditIcon",path:s.jsxs("g",{fill:"none",stroke:"currentColor",strokeLinecap:"round",strokeWidth:"2",children:[s.jsx("path",{d:"M11 4H4a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2v-7"}),s.jsx("path",{d:"M18.5 2.5a2.121 2.121 0 0 1 3 3L12 15l-4 1 1-4 9.5-9.5z"})]})}),B7=_m({displayName:"CloseIcon",d:"M.439,21.44a1.5,1.5,0,0,0,2.122,2.121L11.823,14.3a.25.25,0,0,1,.354,0l9.262,9.263a1.5,1.5,0,1,0,2.122-2.121L14.3,12.177a.25.25,0,0,1,0-.354l9.263-9.262A1.5,1.5,0,0,0,21.439.44L12.177,9.7a.25.25,0,0,1-.354,0L2.561.44A1.5,1.5,0,0,0,.439,2.561L9.7,11.823a.25.25,0,0,1,0,.354Z"}),W7=_m({viewBox:"0 0 14 14",path:s.jsx("g",{fill:"currentColor",children:s.jsx("polygon",{points:"5.5 11.9993304 14 3.49933039 12.5 2 5.5 8.99933039 1.5 4.9968652 0 6.49933039"})})});function Qm(e){switch(e){case"ready":return"green";case"provisioning":case"pending":return"blue";case"expiring":return"orange";case"failed":return"red";case"expired":default:return"gray"}}function Zm(e){return{pending:"En attente",provisioning:"Déploiement…",ready:"Active",expiring:"Suppression…",expired:"Expirée",failed:"Échec"}[e]??e}function uk(e){switch(e){case"Running":return"green";case"Pending":return"yellow";case"Succeeded":return"blue";case"Failed":return"red";case"Unknown":case"":default:return"gray"}}function zce(e){return{Running:"En ligne",Pending:"En attente",Succeeded:"Terminé",Failed:"Down",Unknown:"Inconnu"}[e]??"Introuvable"}function dk(e,t=Date.now()){const n=new Date(e).getTime()-t;if(n<=0)return"expirée";const r=Math.floor(n/864e5),i=Math.floor(n%864e5/36e5);if(r>0)return`${r} j ${i} h`;const o=Math.floor(n%36e5/6e4);return`${i} h ${o} min`}function Rce(e){if(e<1024)return`${e} o`;const t=["Ko","Mo","Go"];let n=e/1024,r=0;for(;n>=1024&&r<t.length-1;)n/=1024,r+=1;return`${n.toFixed(1)} ${t[r]}`}function Of({isOpen:e,title:t,children:n,confirmLabel:r="Confirmer",cancelLabel:i="Annuler",confirmColorScheme:o="red",isLoading:a=!1,onConfirm:l,onClose:c}){const u=m.useRef(null);return s.jsx(AY,{isOpen:e,leastDestructiveRef:u,onClose:c,isCentered:!0,motionPreset:"slideInBottom",children:s.jsx(yl,{backdropFilter:"blur(2px)",children:s.jsxs($Y,{borderRadius:"xl",children:[s.jsx(vl,{fontSize:"lg",fontWeight:"bold",children:t}),s.jsx(gl,{children:n}),s.jsxs(Rm,{gap:3,children:[s.jsx(xe,{ref:u,onClick:c,variant:"ghost",isDisabled:a,children:i}),s.jsx(xe,{colorScheme:o,onClick:l,isLoading:a,children:r})]})]})})})}function V7({isOpen:e,onClose:t,onCreated:n}){const r=pr(),[i,o]=m.useState(""),[a,l]=m.useState("admin"),[c,u]=m.useState(""),[d,f]=m.useState(!1),[p,h]=m.useState(""),[v,b]=m.useState(""),[x,y]=m.useState(!1),[g,S]=m.useState(""),[w,k]=m.useState(""),[P,_]=m.useState(!1),[j,z]=m.useState(""),[$,W]=m.useState(""),[Y,ee]=m.useState(""),[I,L]=m.useState(""),[N,R]=m.useState(!1),[F,M]=m.useState(""),[G,Z]=m.useState(""),[ae,oe]=m.useState(""),[Q,ue]=m.useState(""),[ce,Be]=m.useState("failover"),[Ze,te]=m.useState(""),[re,ze]=m.useState(""),[ye,ot]=m.useState("local"),[ve,ut]=m.useState(""),[Ve,$t]=m.useState(""),[Se,kn]=m.useState(!1),Ot=()=>{o(""),l("admin"),u(""),f(!1),h(""),b(""),y(!1),S(""),k(""),_(!1),z(""),W(""),ee(""),L(""),R(!1),M(""),Z(""),oe(""),ue(""),Be("failover"),te(""),ze(""),ot("local"),ut(""),$t("")},mr=()=>{Se||(Ot(),t())},ei=async()=>{if(!i.trim()){r({status:"warning",title:"Username requis"});return}if(!a.trim()||c.trim().length<8){r({status:"warning",title:"Identifiants admin requis (mot de passe : 8 caractères min.)"});return}if(ye==="s3"&&(!ve.trim()||!Ve.trim())){r({status:"warning",title:"Bucket et endpoint S3 requis"});return}if(N&&!F.trim()&&!ae.trim()){r({status:"warning",title:"Au moins un bot (username) requis pour le load-balancer"});return}if(P&&!j.trim()){r({status:"warning",title:"La clé API TomTom principale est requise"});return}const se={username:i.trim(),adminUsername:a.trim(),adminPassword:c.trim(),telegramBotUsername:d&&p.trim()||void 0,telegramBotToken:d&&v.trim()||void 0,nowPaymentsApiKey:x&&g.trim()||void 0,nowPaymentsIpnSecret:x&&w.trim()||void 0,storageDriver:ye,...ye==="s3"?{s3Bucket:ve.trim(),s3Endpoint:Ve.trim()}:{},...P?{tomtomApiKey:j.trim(),tomtomApiKey1:$.trim()||void 0,tomtomApiKey2:Y.trim()||void 0,tomtomApiKey3:I.trim()||void 0}:{},...N?{lbBot1Username:F.trim()||void 0,lbBot1Token:G.trim()||void 0,lbBot2Username:ae.trim()||void 0,lbBot2Token:Q.trim()||void 0,lbStrategy:ce,lbJwtTtlSeconds:Ze.trim()||void 0,lbHealthCheckInterval:re.trim()||void 0}:{}};kn(!0);try{await je.createDemo(se),r({status:"success",title:"Démo lancée",description:"Provisioning en cours."}),Ot(),n(),t()}catch(ti){const Ro=ti instanceof Ie?ti.message:"Erreur";r({status:"error",title:"Lancement impossible",description:Ro})}finally{kn(!1)}};return s.jsxs(Du,{isOpen:e,onClose:mr,size:"lg",closeOnOverlayClick:!Se,children:[s.jsx(yl,{}),s.jsxs(zm,{children:[s.jsx(vl,{children:"Nouvelle démo"}),s.jsx(Ou,{isDisabled:Se}),s.jsx(gl,{children:s.jsxs(we,{spacing:5,children:[s.jsxs(ke,{isRequired:!0,isDisabled:Se,children:[s.jsx(Ce,{children:"Username"}),s.jsx(bt,{placeholder:"ex: acme-corp",value:i,onChange:se=>o(se.target.value)})]}),s.jsxs(we,{spacing:3,p:3,borderWidth:"1px",borderRadius:"md",children:[s.jsx(K,{fontSize:"sm",fontWeight:"semibold",children:"Compte admin de la démo"}),s.jsx(K,{fontSize:"xs",color:"gray.500",children:"Créé une fois postgres/redis/backend/frontend démarrés — c'est ce que le client utilisera pour se connecter au backoffice de sa démo."}),s.jsxs(ge,{spacing:3,align:"start",children:[s.jsxs(ke,{isRequired:!0,isDisabled:Se,children:[s.jsx(Ce,{fontSize:"sm",children:"Username"}),s.jsx(bt,{value:a,onChange:se=>l(se.target.value)})]}),s.jsxs(ke,{isRequired:!0,isDisabled:Se,children:[s.jsx(Ce,{fontSize:"sm",children:"Mot de passe"}),s.jsx(sn,{placeholder:"8 caractères min.",value:c,onChange:se=>u(se.target.value),autoComplete:"off"})]})]})]}),s.jsx(ke,{isDisabled:Se,children:s.jsxs(ge,{justify:"space-between",children:[s.jsx(Ce,{mb:0,children:"Bot Telegram"}),s.jsx(nc,{isChecked:d,onChange:se=>f(se.target.checked)})]})}),d&&s.jsxs(we,{spacing:3,pl:3,borderLeftWidth:"2px",borderColor:"primary.500",children:[s.jsxs(ke,{isDisabled:Se,children:[s.jsx(Ce,{fontSize:"sm",children:"Nom du bot (username)"}),s.jsx(bt,{placeholder:"mon_bot",value:p,onChange:se=>h(se.target.value)})]}),s.jsxs(ke,{isDisabled:Se,children:[s.jsx(Ce,{fontSize:"sm",children:"Token bot Telegram"}),s.jsx(sn,{placeholder:"123456:ABC-DEF...",value:v,onChange:se=>b(se.target.value),autoComplete:"off"})]})]}),s.jsx(ke,{isDisabled:Se,children:s.jsxs(ge,{justify:"space-between",children:[s.jsx(Ce,{mb:0,children:"NowPayments (paiement crypto)"}),s.jsx(nc,{isChecked:x,onChange:se=>y(se.target.checked)})]})}),x&&s.jsxs(we,{spacing:3,pl:3,borderLeftWidth:"2px",borderColor:"primary.500",children:[s.jsxs(ke,{isDisabled:Se,children:[s.jsx(Ce,{fontSize:"sm",children:"Clé API NowPayments"}),s.jsx(sn,{placeholder:"clé API du compte marchand",value:g,onChange:se=>S(se.target.value),autoComplete:"off"})]}),s.jsxs(ke,{isDisabled:Se,children:[s.jsx(Ce,{fontSize:"sm",children:"Secret IPN NowPayments"}),s.jsx(sn,{placeholder:"secret configuré côté NowPayments",value:w,onChange:se=>k(se.target.value),autoComplete:"off"}),s.jsx(K,{fontSize:"xs",color:"gray.500",mt:1,children:"Laissez vide pour garder celui pré-généré automatiquement."})]})]}),s.jsx(ke,{isDisabled:Se,children:s.jsxs(ge,{justify:"space-between",children:[s.jsx(Ce,{mb:0,children:"TomTom (GPS livreur)"}),s.jsx(nc,{isChecked:P,onChange:se=>_(se.target.checked)})]})}),P&&s.jsxs(we,{spacing:3,pl:3,borderLeftWidth:"2px",borderColor:"primary.500",children:[s.jsx(K,{fontSize:"xs",color:"gray.500",children:"Géocodage, itinéraire et ETA des livreurs. Jusqu'à 4 clés — le backend bascule automatiquement sur la suivante si une clé atteint son quota."}),s.jsxs(ke,{isRequired:!0,isDisabled:Se,children:[s.jsx(Ce,{fontSize:"sm",children:"Clé API TomTom (principale)"}),s.jsx(sn,{placeholder:"clé API TomTom",value:j,onChange:se=>z(se.target.value),autoComplete:"off"})]}),s.jsxs(ke,{isDisabled:Se,children:[s.jsx(Ce,{fontSize:"sm",children:"Clé API TomTom #2 (optionnelle)"}),s.jsx(sn,{placeholder:"clé de secours",value:$,onChange:se=>W(se.target.value),autoComplete:"off"})]}),s.jsxs(ke,{isDisabled:Se,children:[s.jsx(Ce,{fontSize:"sm",children:"Clé API TomTom #3 (optionnelle)"}),s.jsx(sn,{placeholder:"clé de secours",value:Y,onChange:se=>ee(se.target.value),autoComplete:"off"})]}),s.jsxs(ke,{isDisabled:Se,children:[s.jsx(Ce,{fontSize:"sm",children:"Clé API TomTom #4 (optionnelle)"}),s.jsx(sn,{placeholder:"clé de secours",value:I,onChange:se=>L(se.target.value),autoComplete:"off"})]})]}),s.jsx(ke,{isDisabled:Se,children:s.jsxs(ge,{justify:"space-between",children:[s.jsx(Ce,{mb:0,children:"Load-balancer Telegram"}),s.jsx(nc,{isChecked:N,onChange:se=>R(se.target.checked)})]})}),N&&s.jsxs(we,{spacing:4,pl:3,borderLeftWidth:"2px",borderColor:"primary.500",children:[s.jsx(K,{fontSize:"xs",color:"gray.500",children:"Répartit le trafic entre plusieurs bots. Renseignez au moins le bot 1 ; le bot 2 est optionnel."}),s.jsxs(ge,{spacing:3,align:"start",children:[s.jsxs(ke,{isDisabled:Se,children:[s.jsx(Ce,{fontSize:"sm",children:"Bot 1 — username"}),s.jsx(bt,{placeholder:"mon_bot_1",value:F,onChange:se=>M(se.target.value)})]}),s.jsxs(ke,{isDisabled:Se,children:[s.jsx(Ce,{fontSize:"sm",children:"Bot 1 — token"}),s.jsx(sn,{placeholder:"123456:ABC-DEF...",value:G,onChange:se=>Z(se.target.value),autoComplete:"off"})]})]}),s.jsxs(ge,{spacing:3,align:"start",children:[s.jsxs(ke,{isDisabled:Se,children:[s.jsx(Ce,{fontSize:"sm",children:"Bot 2 — username (optionnel)"}),s.jsx(bt,{placeholder:"mon_bot_2",value:ae,onChange:se=>oe(se.target.value)})]}),s.jsxs(ke,{isDisabled:Se,children:[s.jsx(Ce,{fontSize:"sm",children:"Bot 2 — token"}),s.jsx(sn,{placeholder:"123456:ABC-DEF...",value:Q,onChange:se=>ue(se.target.value),autoComplete:"off"})]})]}),s.jsxs(ge,{spacing:3,align:"start",children:[s.jsxs(ke,{isDisabled:Se,children:[s.jsx(Ce,{fontSize:"sm",children:"Stratégie de répartition"}),s.jsxs(fT,{value:ce,onChange:se=>Be(se.target.value),children:[s.jsx("option",{value:"failover",children:"Failover"}),s.jsx("option",{value:"roundrobin",children:"Round-robin"}),s.jsx("option",{value:"leastconn",children:"Moins de connexions"})]})]}),s.jsxs(ke,{isDisabled:Se,children:[s.jsx(Ce,{fontSize:"sm",children:"TTL JWT (secondes)"}),s.jsx(bt,{placeholder:"300",value:Ze,onChange:se=>te(se.target.value),type:"number"})]}),s.jsxs(ke,{isDisabled:Se,children:[s.jsx(Ce,{fontSize:"sm",children:"Intervalle health-check (s)"}),s.jsx(bt,{placeholder:"30",value:re,onChange:se=>ze(se.target.value),type:"number"})]})]})]}),s.jsxs(ke,{isDisabled:Se,children:[s.jsx(Ce,{children:"Stockage des fichiers"}),s.jsx(uT,{value:ye,onChange:se=>ot(se),children:s.jsxs(we,{direction:"row",spacing:6,children:[s.jsx(Av,{value:"local",children:"Local (disque du cluster)"}),s.jsx(Av,{value:"s3",children:"S3"})]})})]}),ye==="s3"&&s.jsxs(we,{spacing:4,pl:3,borderLeftWidth:"2px",borderColor:"primary.500",children:[s.jsxs(ke,{isRequired:!0,isDisabled:Se,children:[s.jsx(Ce,{fontSize:"sm",children:"Nom du bucket"}),s.jsx(bt,{placeholder:"mon-bucket-demo",value:ve,onChange:se=>ut(se.target.value)})]}),s.jsxs(ke,{isRequired:!0,isDisabled:Se,children:[s.jsx(Ce,{fontSize:"sm",children:"Endpoint S3"}),s.jsx(bt,{placeholder:"https://s3.exemple.com",value:Ve,onChange:se=>$t(se.target.value)})]})]})]})}),s.jsxs(Rm,{children:[s.jsx(xe,{variant:"ghost",mr:3,onClick:mr,isDisabled:Se,children:"Annuler"}),s.jsx(xe,{colorScheme:"primary",onClick:ei,isLoading:Se,children:"Lancer la démo"})]})]})]})}function U7({demo:e,onClose:t,onSaved:n}){const r=pr(),[i,o]=m.useState(""),[a,l]=m.useState(!1);m.useEffect(()=>{o((e==null?void 0:e.custom_domain)??"")},[e]);const c=()=>{a||t()},u=async()=>{if(e){l(!0);try{await je.setDemoDomain(e.id,i.trim()),r({status:"success",title:"Domaine mis à jour"}),n(),t()}catch(d){const f=d instanceof Ie?d.message:"Erreur";r({status:"error",title:"Mise à jour impossible",description:f})}finally{l(!1)}}};return s.jsxs(Du,{isOpen:!!e,onClose:c,closeOnOverlayClick:!a,children:[s.jsx(yl,{}),s.jsxs(zm,{children:[s.jsx(vl,{children:"Domaine de la plateforme"}),s.jsx(Ou,{isDisabled:a}),s.jsx(gl,{children:s.jsxs(ke,{children:[s.jsx(Ce,{fontSize:"sm",children:"Domaine personnalisé"}),s.jsx(bt,{placeholder:"boutique.mon-domaine.com",value:i,onChange:d=>o(d.target.value),isDisabled:a,fontFamily:"mono"}),s.jsxs(ru,{children:["Laissez vide pour revenir au domaine par défaut (",e==null?void 0:e.namespace,".<domaine omnex>). Le DNS du domaine choisi doit pointer vers le cluster, et un certificat TLS valide doit le couvrir — le certificat wildcard partagé ne couvre que le domaine par défaut."]})]})}),s.jsxs(Rm,{children:[s.jsx(xe,{variant:"ghost",mr:3,onClick:c,isDisabled:a,children:"Annuler"}),s.jsx(xe,{colorScheme:"primary",onClick:u,isLoading:a,children:"Enregistrer"})]})]})]})}const Ice=[{key:"api",label:"Backend"},{key:"web",label:"Frontend"},{key:"db",label:"PostgreSQL"},{key:"dbm",label:"Redis"}],Mce=[{key:"lb",label:"Load-balancer Telegram"}];function Cx({state:e}){const t=Mce.filter(o=>e[o.key].phase!==""),n=[...Ice,...t],r=n.every(o=>e[o.key].phase==="Running"),i=n.filter(o=>e[o.key].phase!=="Running").length;return s.jsxs(we,{spacing:3,children:[s.jsxs(ge,{spacing:2,children:[s.jsx(ne,{w:"8px",h:"8px",borderRadius:"full",bg:r?"green.400":"red.400",flexShrink:0}),s.jsx(K,{fontSize:"sm",fontWeight:"medium",children:r?"Tous les services sont opérationnels":`${i} service${i>1?"s":""} indisponible${i>1?"s":""}`})]}),s.jsx(bn,{columns:{base:1,lg:4},spacing:3,children:n.map(o=>s.jsx(Lce,{title:o.label,cs:e[o.key]},o.key))})]})}function Lce({title:e,cs:t}){const n=t.cpu_limit_milli>0?Math.min(100,Math.round(t.cpu_milli/t.cpu_limit_milli*100)):0,r=t.memory_limit_mi>0?Math.min(100,Math.round(t.memory_mi/t.memory_limit_mi*100)):0;return s.jsxs(ne,{p:3,borderWidth:"1px",borderRadius:"lg",bg:"bg-surface",minW:0,children:[s.jsxs(ge,{justify:"space-between",mb:3,children:[s.jsx(K,{fontSize:"sm",fontWeight:"semibold",noOfLines:1,children:e}),s.jsxs(ge,{spacing:1.5,children:[s.jsx(ne,{w:"7px",h:"7px",borderRadius:"full",bg:`${uk(t.phase)}.400`,flexShrink:0}),s.jsx(dn,{colorScheme:uk(t.phase),fontSize:"10px",children:zce(t.phase)})]})]}),s.jsxs(we,{spacing:2,children:[s.jsxs(ne,{children:[s.jsxs(St,{justify:"space-between",fontSize:"xs",color:"gray.500",mb:1,children:[s.jsx(K,{children:"CPU"}),s.jsxs(K,{fontFamily:"mono",children:[t.cpu_milli,"m / ",t.cpu_limit_milli,"m"]})]}),s.jsx(_p,{value:n,size:"xs",borderRadius:"full",colorScheme:n>85?"red":n>60?"orange":"primary"})]}),s.jsxs(ne,{children:[s.jsxs(St,{justify:"space-between",fontSize:"xs",color:"gray.500",mb:1,children:[s.jsx(K,{children:"Mémoire"}),s.jsxs(K,{fontFamily:"mono",children:[t.memory_mi,"Mi / ",t.memory_limit_mi,"Mi"]})]}),s.jsx(_p,{value:r,size:"xs",borderRadius:"full",colorScheme:r>85?"red":r>60?"orange":"primary"})]})]})]})}function jx(e){return s.jsx(At,{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:3,...e,children:s.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M9 18l6-6-6-6"})})}function H7({demo:e,isOpen:t,onToggle:n,detailsLoading:r,details:i,onEditDomain:o,expiresLabel:a,actions:l}){return s.jsxs(ne,{borderWidth:"1px",borderRadius:"lg",overflow:"hidden",bg:"bg-surface",children:[s.jsxs(ne,{p:4,cursor:"pointer",onClick:n,_active:{bg:"chakra-subtle-bg"},children:[s.jsxs(ge,{justify:"space-between",align:"start",children:[s.jsxs(ge,{spacing:2,minW:0,flex:"1",children:[s.jsx(At,{as:jx,boxSize:3,color:"gray.400",flexShrink:0,transform:t?"rotate(90deg)":void 0,transition:"transform 0.15s"}),s.jsx(K,{fontFamily:"mono",fontSize:"sm",noOfLines:1,wordBreak:"break-all",minW:0,flex:"1",children:e.namespace})]}),s.jsx(dn,{colorScheme:Qm(e.status),flexShrink:0,children:Zm(e.status)})]}),s.jsxs(we,{spacing:1,mt:3,fontSize:"sm",children:[s.jsxs(ge,{justify:"space-between",children:[s.jsx(K,{color:"gray.500",children:"Client"}),s.jsx(K,{children:e.username||"—"})]}),s.jsxs(ge,{justify:"space-between",align:"start",children:[s.jsx(K,{color:"gray.500",flexShrink:0,children:"URL"}),s.jsxs(ge,{spacing:1,minW:0,flex:"1",justify:"flex-end",children:[e.status==="ready"?s.jsx(_o,{href:e.url,color:"primary.500",isExternal:!0,noOfLines:1,wordBreak:"break-all",minW:0,flex:"1",onClick:c=>c.stopPropagation(),children:e.url}):s.jsx(K,{color:"gray.400",children:"—"}),s.jsx(vn,{"aria-label":"Modifier le domaine",icon:s.jsx(qu,{}),size:"xs",variant:"ghost",flexShrink:0,onClick:c=>{c.stopPropagation(),o()}})]})]}),a&&s.jsxs(ge,{justify:"space-between",children:[s.jsx(K,{color:"gray.500",children:"Expire dans"}),s.jsx(K,{children:a})]})]}),l&&s.jsx(ge,{mt:3,spacing:2,flexWrap:"wrap",rowGap:2,onClick:c=>c.stopPropagation(),children:l})]}),s.jsx(zu,{in:t,unmountOnExit:!0,animateOpacity:!0,children:s.jsx(ne,{p:4,bg:"chakra-subtle-bg",borderTopWidth:"1px",children:r&&!i?s.jsx(ge,{justify:"center",py:2,children:s.jsx(yn,{size:"sm"})}):i?s.jsx(Cx,{state:i.state}):s.jsx(K,{color:"gray.500",fontSize:"sm",children:"Aucune donnée."})})})]})}const Nce=5e3,Dce=5e3;function Oce(){const e=pr(),t=Qn(),[n,r]=m.useState([]),[i,o]=m.useState(!0),[a,l]=m.useState(null),[c,u]=m.useState(null),[d,f]=m.useState(null),[p,h]=m.useState(null),[v,b]=m.useState(!1),[x,y]=m.useState(null),[g,S]=m.useState(null),[w,k]=m.useState(null),[P,_]=m.useState(!1),j=m.useCallback(async()=>{try{const L=await je.listDemos();r((L.items??[]).filter(N=>N.type_abonnement!=="premium"&&N.status!=="expired"))}catch(L){L instanceof Ie&&L.status===401?t("/admin/login"):e({status:"error",title:"Chargement des démos impossible"})}finally{o(!1)}},[t,e]);m.useEffect(()=>{j();const L=setInterval(()=>void j(),Nce);return()=>clearInterval(L)},[j]);const z=async()=>{if(!p)return;const L=p;l(L.id);try{await je.extendDemo(L.id),e({status:"success",title:"Démo prolongée de 30 jours"}),h(null),await j()}catch(N){const R=N instanceof Ie?N.message:"Erreur";e({status:"error",title:"Prolongation impossible",description:R})}finally{l(null)}},$=async()=>{if(!c)return;const L=c;l(L.id);try{await je.deleteDemo(L.id),e({status:"success",title:"Démo détruite"}),u(null),await j()}catch(N){const R=N instanceof Ie?N.message:"Erreur";e({status:"error",title:"Destruction impossible",description:R})}finally{l(null)}},W=async()=>{if(!d)return;const L=d;l(L.id);try{await je.transferDemoToPremium(L.id),e({status:"success",title:"Démo passée en premium",description:"La migration des données tourne en tâche de fond."}),f(null),await j()}catch(N){const R=N instanceof Ie?N.message:"Erreur";e({status:"error",title:"Passage en premium impossible",description:R})}finally{l(null)}},Y=async L=>{if(g===L.id){S(null),k(null);return}S(L.id),k(null),_(!0);try{const N=await je.getDemoDetails(L.namespace);k(N)}catch(N){const R=N instanceof Ie?N.message:"Erreur";e({status:"error",title:"État des pods indisponible",description:R}),S(null)}finally{_(!1)}};m.useEffect(()=>{const L=n.find(F=>F.id===g);if(!L)return;const N=L.namespace,R=setInterval(()=>{je.getDemoDetails(N).then(k).catch(()=>{})},Dce);return()=>clearInterval(R)},[g]);const ee=L=>L!=="expired"&&L!=="failed",I=L=>s.jsxs(s.Fragment,{children:[s.jsx(xe,{size:"sm",variant:"outline",isDisabled:!ee(L.status)||a===L.id,onClick:N=>{N.stopPropagation(),h(L)},children:"+30 j"}),s.jsx(xe,{size:"sm",colorScheme:"purple",variant:"outline",isDisabled:!ee(L.status)||a===L.id,onClick:N=>{N.stopPropagation(),f(L)},children:"Passer en premium"}),s.jsx(xe,{size:"sm",colorScheme:"red",variant:"outline",isDisabled:!ee(L.status),onClick:N=>{N.stopPropagation(),u(L)},children:"Détruire"})]});return s.jsxs(s.Fragment,{children:[s.jsxs(St,{mb:6,align:"center",gap:4,wrap:"wrap",children:[s.jsx(ct,{size:"md",mr:4,children:"Démos"}),s.jsx(Eo,{}),s.jsx(xe,{colorScheme:"primary",onClick:()=>b(!0),children:"Nouvelle démo"})]}),s.jsx(V7,{isOpen:v,onClose:()=>b(!1),onCreated:()=>void j()}),i?s.jsx(yn,{}):n.length===0?s.jsx(K,{color:"gray.500",children:"Aucune démo active. Lancez-en une avec le bouton ci-dessus."}):s.jsxs(s.Fragment,{children:[s.jsx(Tp,{borderWidth:"1px",borderRadius:"lg",display:{base:"none",md:"block"},children:s.jsxs(uu,{children:[s.jsx(Ap,{children:s.jsxs(Vr,{children:[s.jsx(_t,{children:"Namespace"}),s.jsx(_t,{children:"Client"}),s.jsx(_t,{children:"Statut"}),s.jsx(_t,{children:"URL"}),s.jsx(_t,{children:"Expire dans"}),s.jsx(_t,{})]})}),s.jsx(Ep,{children:n.map(L=>{const N=g===L.id;return s.jsxs(m.Fragment,{children:[s.jsxs(Vr,{cursor:"pointer",bg:N?"chakra-subtle-bg":void 0,_hover:{bg:"chakra-subtle-bg"},onClick:()=>Y(L),children:[s.jsx(xt,{fontFamily:"mono",children:s.jsxs(ge,{spacing:2,children:[s.jsx(At,{as:jx,boxSize:3,color:"gray.400",transform:N?"rotate(90deg)":void 0,transition:"transform 0.15s"}),s.jsx(K,{children:L.namespace})]})}),s.jsx(xt,{children:L.username?s.jsx(K,{children:L.username}):s.jsx(K,{color:"gray.400",children:"—"})}),s.jsx(xt,{children:s.jsx(dn,{colorScheme:Qm(L.status),children:Zm(L.status)})}),s.jsx(xt,{children:s.jsxs(ge,{spacing:1,children:[L.status==="ready"?s.jsx(_o,{href:L.url,color:"primary.500",isExternal:!0,onClick:R=>R.stopPropagation(),children:L.url}):s.jsx(K,{color:"gray.400",children:"—"}),s.jsx(vn,{"aria-label":"Modifier le domaine",icon:s.jsx(qu,{}),size:"xs",variant:"ghost",onClick:R=>{R.stopPropagation(),y(L)}})]})}),s.jsx(xt,{children:ee(L.status)?dk(L.expires_at):"—"}),s.jsx(xt,{textAlign:"right",children:s.jsx(ge,{justify:"flex-end",children:I(L)})})]}),s.jsx(Vr,{children:s.jsx(xt,{p:0,border:N?void 0:"none",colSpan:6,children:s.jsx(zu,{in:N,unmountOnExit:!0,animateOpacity:!0,children:s.jsx(ne,{p:4,bg:"chakra-subtle-bg",borderTopWidth:"1px",children:P&&!w?s.jsx(St,{justify:"center",py:4,children:s.jsx(yn,{size:"sm"})}):w?s.jsx(Cx,{state:w.state}):s.jsx(K,{color:"gray.500",fontSize:"sm",children:"Aucune donnée."})})})})})]},L.id)})})]})}),s.jsx(we,{spacing:3,display:{base:"flex",md:"none"},children:n.map(L=>s.jsx(H7,{demo:L,isOpen:g===L.id,onToggle:()=>Y(L),detailsLoading:P,details:g===L.id?w:null,onEditDomain:()=>y(L),expiresLabel:ee(L.status)?dk(L.expires_at):"—",actions:I(L)},L.id))})]}),s.jsxs(Of,{isOpen:!!p,title:"Prolonger la démo de 30 jours ?",confirmLabel:"Prolonger",confirmColorScheme:"primary",isLoading:!!p&&a===p.id,onConfirm:z,onClose:()=>h(null),children:["La démo"," ",s.jsx(K,{as:"span",fontFamily:"mono",fontWeight:"semibold",children:p==null?void 0:p.namespace})," ","verra sa date d'expiration repoussée de 30 jours."]}),s.jsxs(Of,{isOpen:!!c,title:"Détruire la démo ?",confirmLabel:"Détruire",isLoading:!!c&&a===c.id,onConfirm:$,onClose:()=>u(null),children:["La démo"," ",s.jsx(K,{as:"span",fontFamily:"mono",fontWeight:"semibold",children:c==null?void 0:c.namespace})," ","et toutes ses données seront supprimées définitivement. Les ressources du pool seront libérées. Cette action est irréversible."]}),s.jsxs(Of,{isOpen:!!d,title:"Passer cette démo en premium ?",confirmLabel:"Passer en premium",confirmColorScheme:"purple",isLoading:!!d&&a===d.id,onConfirm:W,onClose:()=>f(null),children:["La démo"," ",s.jsx(K,{as:"span",fontFamily:"mono",fontWeight:"semibold",children:d==null?void 0:d.namespace})," ","n'expirera plus et sera migrée vers un namespace dédié (données conservées). Cette opération tourne en tâche de fond et n'est pas instantanée."]}),s.jsx(U7,{demo:x,onClose:()=>y(null),onSaved:()=>void j()})]})}const Fce=5e3,Bce=5e3;function Wce(){const e=pr(),t=Qn(),[n,r]=m.useState([]),[i,o]=m.useState(!0),[a,l]=m.useState(null),[c,u]=m.useState(null),[d,f]=m.useState(!1),[p,h]=m.useState(null),[v,b]=m.useState(null),[x,y]=m.useState(null),[g,S]=m.useState(!1),w=m.useCallback(async()=>{try{const j=await je.listDemos();r((j.items??[]).filter(z=>z.type_abonnement==="premium"&&z.status!=="expired"))}catch(j){j instanceof Ie&&j.status===401?t("/admin/login"):e({status:"error",title:"Chargement des démos impossible"})}finally{o(!1)}},[t,e]);m.useEffect(()=>{w();const j=setInterval(()=>void w(),Fce);return()=>clearInterval(j)},[w]);const k=async()=>{if(!c)return;const j=c;l(j.id);try{await je.deleteDemo(j.id),e({status:"success",title:"Plateforme détruite"}),u(null),await w()}catch(z){const $=z instanceof Ie?z.message:"Erreur";e({status:"error",title:"Destruction impossible",description:$})}finally{l(null)}},P=async j=>{if(v===j.id){b(null),y(null);return}b(j.id),y(null),S(!0);try{const z=await je.getDemoDetails(j.namespace);y(z)}catch(z){const $=z instanceof Ie?z.message:"Erreur";e({status:"error",title:"État des pods indisponible",description:$}),b(null)}finally{S(!1)}};m.useEffect(()=>{const j=n.find(W=>W.id===v);if(!j)return;const z=j.namespace,$=setInterval(()=>{je.getDemoDetails(z).then(y).catch(()=>{})},Bce);return()=>clearInterval($)},[v]);const _=j=>s.jsx(xe,{size:"sm",colorScheme:"red",variant:"outline",isDisabled:a===j.id,onClick:z=>{z.stopPropagation(),u(j)},children:"Détruire"});return s.jsxs(s.Fragment,{children:[s.jsxs(St,{mb:2,align:"center",gap:4,wrap:"wrap",children:[s.jsx(ct,{size:"md",mr:4,children:"Plateforme Premium"}),s.jsx(Eo,{}),s.jsx(xe,{colorScheme:"primary",onClick:()=>f(!0),children:"Déployer une plateforme"})]}),s.jsx(K,{color:"gray.500",mb:6,fontSize:"sm",children:"Démos rattachées à un client passé en abonnement payant — stockage persistant, n'expirent plus."}),s.jsx(V7,{isOpen:d,onClose:()=>f(!1),onCreated:()=>void w()}),i?s.jsx(yn,{}):n.length===0?s.jsx(K,{color:"gray.500",children:"Aucune démo premium pour le moment."}):s.jsxs(s.Fragment,{children:[s.jsx(Tp,{borderWidth:"1px",borderRadius:"lg",display:{base:"none",md:"block"},children:s.jsxs(uu,{children:[s.jsx(Ap,{children:s.jsxs(Vr,{children:[s.jsx(_t,{children:"Namespace"}),s.jsx(_t,{children:"Client"}),s.jsx(_t,{children:"Statut"}),s.jsx(_t,{children:"URL"}),s.jsx(_t,{})]})}),s.jsx(Ep,{children:n.map(j=>{const z=v===j.id;return s.jsxs(m.Fragment,{children:[s.jsxs(Vr,{cursor:"pointer",bg:z?"chakra-subtle-bg":void 0,_hover:{bg:"chakra-subtle-bg"},onClick:()=>P(j),children:[s.jsx(xt,{fontFamily:"mono",children:s.jsxs(ge,{spacing:2,children:[s.jsx(At,{as:jx,boxSize:3,color:"gray.400",transform:z?"rotate(90deg)":void 0,transition:"transform 0.15s"}),s.jsx(K,{children:j.namespace})]})}),s.jsx(xt,{children:j.username||s.jsx(K,{color:"gray.400",children:"—"})}),s.jsx(xt,{children:s.jsx(dn,{colorScheme:Qm(j.status),children:Zm(j.status)})}),s.jsx(xt,{children:s.jsxs(ge,{spacing:1,children:[j.status==="ready"?s.jsx(_o,{href:j.url,color:"primary.500",isExternal:!0,onClick:$=>$.stopPropagation(),children:j.url}):s.jsx(K,{color:"gray.400",children:"—"}),s.jsx(vn,{"aria-label":"Modifier le domaine",icon:s.jsx(qu,{}),size:"xs",variant:"ghost",onClick:$=>{$.stopPropagation(),h(j)}})]})}),s.jsx(xt,{textAlign:"right",children:s.jsx(ge,{justify:"flex-end",children:_(j)})})]}),s.jsx(Vr,{children:s.jsx(xt,{p:0,border:z?void 0:"none",colSpan:5,children:s.jsx(zu,{in:z,unmountOnExit:!0,animateOpacity:!0,children:s.jsx(ne,{p:4,bg:"chakra-subtle-bg",borderTopWidth:"1px",children:g&&!x?s.jsx(yn,{size:"sm"}):x?s.jsx(Cx,{state:x.state}):s.jsx(K,{color:"gray.500",fontSize:"sm",children:"Aucune donnée."})})})})})]},j.id)})})]})}),s.jsx(we,{spacing:3,display:{base:"flex",md:"none"},children:n.map(j=>s.jsx(H7,{demo:j,isOpen:v===j.id,onToggle:()=>P(j),detailsLoading:g,details:v===j.id?x:null,onEditDomain:()=>h(j),actions:_(j)},j.id))})]}),s.jsxs(Of,{isOpen:!!c,title:"Détruire la plateforme premium ?",confirmLabel:"Détruire",isLoading:!!c&&a===c.id,onConfirm:k,onClose:()=>u(null),children:["La plateforme"," ",s.jsx(K,{as:"span",fontFamily:"mono",fontWeight:"semibold",children:c==null?void 0:c.namespace})," ","et toutes ses données (client payant) seront supprimées définitivement. Cette action est irréversible."]}),s.jsx(U7,{demo:p,onClose:()=>h(null),onSaved:()=>void w()})]})}const Vce=1e4;function fk(e){if(!e)return"—";const t=new Date(e);return Number.isNaN(t.getTime())?"—":t.toLocaleDateString("fr-FR",{day:"2-digit",month:"long",year:"numeric"})}function Uce(e){if(!e)return null;const t=new Date(e);return Number.isNaN(t.getTime())?null:Math.ceil((t.getTime()-Date.now())/(1e3*60*60*24))}function Hce(){const e=pr(),t=Qn(),[n,r]=m.useState([]),[i,o]=m.useState([]),[a,l]=m.useState(!0),[c,u]=m.useState(null),[d,f]=m.useState(""),[p,h]=m.useState(null),v=m.useCallback(async()=>{try{const[y,g]=await Promise.all([je.listCodes(),je.listPremiumUsers()]);r(y.items??[]),o(g.items??[])}catch(y){y instanceof Ie&&y.status===401?t("/admin/login"):e({status:"error",title:"Chargement des codes impossible"})}finally{l(!1)}},[t,e]);m.useEffect(()=>{v();const y=setInterval(()=>void v(),Vce);return()=>clearInterval(y)},[v]);const b=async y=>{if(y.preventDefault(),!d.trim()){e({status:"error",title:"Veuillez entrer un nom d'utilisateur"});return}u("generate");try{const g=await je.createCode(d.trim());h(g.code),f(""),e({status:"success",title:"Code généré avec succès !"}),await v()}catch(g){const S=g instanceof Ie?g.message:"Erreur";e({status:"error",title:"Génération impossible",description:S})}finally{u(null)}},x=async y=>{try{await navigator.clipboard.writeText(y),e({status:"success",title:"Code copié dans le presse-papiers !"})}catch{const S=document.createElement("textarea");S.value=y,S.style.position="fixed",S.style.opacity="0",document.body.appendChild(S),S.select();const w=document.execCommand("copy");document.body.removeChild(S),e(w?{status:"success",title:"Code copié dans le presse-papiers !"}:{status:"error",title:"Impossible de copier. Essayez manuellement."})}};return s.jsxs(s.Fragment,{children:[s.jsxs(St,{mb:6,align:"center",children:[s.jsx(ct,{size:"md",children:"Gestion des codes de souscription"}),s.jsx(Eo,{})]}),s.jsx(ne,{mb:8,p:6,borderWidth:"1px",borderRadius:"lg",bg:"bg-surface",children:s.jsx("form",{onSubmit:b,children:s.jsxs(Fu,{spacing:4,align:"stretch",children:[s.jsxs(we,{direction:{base:"column",sm:"row"},align:{base:"stretch",sm:"center"},gap:4,children:[s.jsxs(ke,{isRequired:!0,children:[s.jsx(Ce,{children:"Nom d\\'utilisateur"}),s.jsx(bt,{type:"text",value:d,onChange:y=>f(y.target.value),placeholder:"Entrez le nom d'utilisateur",isDisabled:c==="generate",maxLength:64})]}),s.jsx(xe,{colorScheme:"primary",type:"submit",isLoading:c==="generate",mt:{base:0,sm:6},h:"40px",flexShrink:0,w:{base:"full",sm:"auto"},children:"Générer un code"})]}),p&&s.jsxs(ne,{p:4,bg:"gray.900",borderRadius:"md",borderWidth:"1px",borderColor:"whiteAlpha.200",children:[s.jsxs(K,{fontSize:"sm",color:"gray.400",mb:2,children:["Code généré pour ",s.jsx("strong",{children:d})," :"]}),s.jsxs(ge,{children:[s.jsx(K,{fontFamily:"mono",fontSize:"xl",fontWeight:"bold",letterSpacing:"widest",children:p}),s.jsx(xe,{size:"sm",variant:"outline",onClick:()=>x(p),children:"Copier"})]})]})]})})}),s.jsx(ct,{size:"sm",mb:3,children:"Codes générés (non encore utilisés)"}),a?s.jsx(yn,{}):n.length===0?s.jsx(K,{color:"gray.500",children:"Aucun code de souscription généré."}):s.jsx(Tp,{borderWidth:"1px",borderRadius:"lg",children:s.jsxs(uu,{children:[s.jsx(Ap,{children:s.jsxs(Vr,{children:[s.jsx(_t,{children:"ID"}),s.jsx(_t,{children:"Utilisateur"}),s.jsx(_t,{children:"Code"}),s.jsx(_t,{children:"Date de création"}),s.jsx(_t,{})]})}),s.jsx(Ep,{children:n.map(y=>s.jsxs(Vr,{children:[s.jsxs(xt,{fontFamily:"mono",fontSize:"sm",children:[y.id.slice(0,8),"..."]}),s.jsx(xt,{children:s.jsx(dn,{colorScheme:"gray",px:2,py:1,children:y.username})}),s.jsx(xt,{fontFamily:"mono",letterSpacing:"wide",children:y.code_verif}),s.jsx(xt,{fontSize:"sm",color:"gray.400",children:new Date(y.created_at).toLocaleString("fr-FR")}),s.jsx(xt,{textAlign:"right",children:s.jsx(xe,{size:"sm",variant:"outline",onClick:()=>x(y.code_verif),children:"Copier"})})]},y.id))})]})}),s.jsx(ct,{size:"sm",mt:10,mb:3,children:"Clients premium"}),a?s.jsx(yn,{}):i.length===0?s.jsx(K,{color:"gray.500",children:"Aucun client premium pour le moment."}):s.jsx(Tp,{borderWidth:"1px",borderRadius:"lg",children:s.jsxs(uu,{children:[s.jsx(Ap,{children:s.jsxs(Vr,{children:[s.jsx(_t,{children:"Client"}),s.jsx(_t,{children:"Code activé le"}),s.jsx(_t,{children:"Abonnement expire le"}),s.jsx(_t,{children:"Statut"})]})}),s.jsx(Ep,{children:i.map(y=>{const g=Uce(y.expired_at);return s.jsxs(Vr,{children:[s.jsx(xt,{children:s.jsx(dn,{colorScheme:"purple",px:2,py:1,children:y.username})}),s.jsx(xt,{fontSize:"sm",color:"gray.400",children:fk(y.activated_at)}),s.jsx(xt,{fontSize:"sm",color:"gray.400",children:fk(y.expired_at)}),s.jsx(xt,{children:g===null?s.jsx(K,{color:"gray.400",children:"—"}):g<0?s.jsx(dn,{colorScheme:"red",children:"Expiré"}):s.jsxs(dn,{colorScheme:g<=7?"orange":"green",children:[g," j restant",g>1?"s":""]})})]},y.username)})})]})})]})}function Gce(){const e=pr(),t=Qn(),[n,r]=m.useState(null),[i,o]=m.useState(null),[a,l]=m.useState(!0),[c,u]=m.useState(!1),[d,f]=m.useState(""),[p,h]=m.useState(!1),v=m.useCallback(async()=>{try{const S=await je.me();r(S.type_abonnement??null),o(S.expired_at?new Date(S.expired_at):null)}catch(S){S instanceof Ie&&S.status===401?t("/login"):e({status:"error",title:"Chargement de l'abonnement impossible"})}finally{l(!1)}},[t,e]);m.useEffect(()=>{v()},[v]);const b=async S=>{if(S.preventDefault(),!d.trim()){e({status:"error",title:"Veuillez entrer un code"});return}u(!0);try{await je.addCode(d.trim()),e({status:"success",title:"Abonnement premium activé !"}),f(""),h(!1),await v()}catch(w){const k=w instanceof Ie?w.message:"Erreur";e({status:"error",title:"Code invalide",description:k})}finally{u(!1)}},x=n==="premium",y=!x||p,g=i?Math.ceil((i.getTime()-Date.now())/(1e3*60*60*24)):null;return s.jsxs(s.Fragment,{children:[s.jsxs(St,{mb:6,align:"center",children:[s.jsx(ct,{size:"md",children:"Mon abonnement"}),s.jsx(Eo,{})]}),s.jsx(ne,{mb:8,p:6,borderWidth:"1px",borderRadius:"lg",bg:"bg-surface",children:a?s.jsx(yn,{}):s.jsxs(Fu,{align:"stretch",spacing:4,children:[s.jsxs(ge,{flexWrap:"wrap",rowGap:2,children:[s.jsx(K,{color:"gray.400",children:"Statut actuel :"}),s.jsx(dn,{colorScheme:x?"purple":"gray",px:2,py:1,children:x?"Premium":"Demo"}),x&&!p&&s.jsx(xe,{size:"sm",variant:"link",ml:2,whiteSpace:"normal",textAlign:"left",onClick:()=>h(!0),children:"Renouveler avec un nouveau code"})]}),x&&i&&s.jsx(K,{fontSize:"sm",color:g!==null&&g<=5?"orange.400":"gray.400",children:g!==null&&g>0?`Expire dans ${g} jour${g>1?"s":""} (le ${i.toLocaleDateString("fr-FR")})`:`Expiré depuis le ${i.toLocaleDateString("fr-FR")}`}),y&&s.jsx("form",{onSubmit:b,children:s.jsxs(we,{direction:{base:"column",sm:"row"},align:{base:"stretch",sm:"center"},gap:4,children:[s.jsxs(ke,{isRequired:!0,children:[s.jsx(Ce,{children:x?"Nouveau code de renouvellement":"Code de souscription"}),s.jsx(bt,{type:"text",value:d,onChange:S=>f(S.target.value.toUpperCase()),placeholder:"XXXX-XXXX-XXXX-XXXX",isDisabled:c,fontFamily:"mono",letterSpacing:"wide"})]}),s.jsxs(ge,{flexShrink:0,children:[s.jsx(xe,{colorScheme:"primary",type:"submit",isLoading:c,mt:{base:0,sm:6},h:"40px",flexShrink:0,w:{base:"full",sm:"auto"},children:x?"Renouveler":"Activer"}),x&&s.jsx(xe,{variant:"ghost",mt:{base:0,sm:6},h:"40px",flexShrink:0,w:{base:"full",sm:"auto"},onClick:()=>{h(!1),f("")},isDisabled:c,children:"Annuler"})]})]})})]})})]})}const Kce=()=>s.jsx(ne,{as:"svg",w:"16px",h:"16px",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",children:s.jsx(ne,{as:"path",d:"M12 3v12m0 0-4-4m4 4 4-4M5 21h14"})});function qce(){const e=pr(),t=Qn(),[n,r]=m.useState([]),[i,o]=m.useState(!1),[a,l]=m.useState(!0),c=m.useCallback(async()=>{try{const u=await je.listAppDownloads();r(u.items??[]),o(u.eligible)}catch(u){u instanceof Ie&&u.status===401?t("/login"):e({status:"error",title:"Chargement des applications impossible"})}finally{l(!1)}},[t,e]);return m.useEffect(()=>{c()},[c]),s.jsxs(s.Fragment,{children:[s.jsxs(St,{mb:6,align:"center",children:[s.jsx(ct,{size:"md",children:"Applications"}),s.jsx(Eo,{})]}),s.jsx(ne,{mb:8,p:6,borderWidth:"1px",borderRadius:"lg",bg:"bg-surface",children:a?s.jsx(yn,{}):i?n.length===0?s.jsx(K,{color:"gray.500",children:"Aucune application disponible pour le moment."}):s.jsx(Fu,{align:"stretch",spacing:3,children:n.map(u=>s.jsxs(ge,{justify:"space-between",flexWrap:"wrap",rowGap:2,children:[s.jsxs(we,{spacing:0,children:[s.jsx(K,{fontFamily:"mono",children:u.name}),s.jsx(K,{fontSize:"sm",color:"gray.500",children:Rce(u.size_bytes)})]}),s.jsx(xe,{as:"a",href:jce(u.name),download:u.name,size:"sm",colorScheme:"primary",leftIcon:s.jsx(Kce,{}),children:"Télécharger"})]},u.name))}):s.jsx(K,{color:"gray.500",children:"Le téléchargement des applications nécessite une démo ou un abonnement actif."})})]})}function pk(e){return e==="admin"?"Administrateur":"Client"}function Xce(e){return e==="admin"?"purple":"blue"}function Yce(e){const t=(e==null?void 0:e.toLowerCase())??"";return t.includes("premium")||t.includes("pro")?"green":t.includes("expired")||t===""?"red":"gray"}function Qce(e){if(!e)return"—";const t=new Date(e);return Number.isNaN(t.getTime())?"—":t.toLocaleDateString("fr-FR",{day:"2-digit",month:"long",year:"numeric"})}function W0(){const{isEditing:e,getSubmitButtonProps:t,getCancelButtonProps:n,getEditButtonProps:r}=zG();return e?s.jsxs(Pm,{size:"sm",spacing:1,children:[s.jsx(vn,{"aria-label":"Enregistrer",icon:s.jsx(W7,{}),...t()}),s.jsx(vn,{"aria-label":"Annuler",icon:s.jsx(B7,{}),...n()})]}):s.jsx(vn,{"aria-label":"Modifier le nom d'utilisateur",size:"sm",variant:"ghost",icon:s.jsx(qu,{}),...r()})}function Zce(){const e=pr(),t=Qn(),{logout:n}=zo(),[r,i]=m.useState(null),[o,a]=m.useState(!0),[l,c]=m.useState(!1),[u,d]=m.useState(!1),[f,p]=m.useState(!1),[h,v]=m.useState(!1),[b,x]=m.useState(""),[y,g]=m.useState(""),[S,w]=m.useState(!1),[k,P]=m.useState(!1),[_,j]=m.useState(""),[z,$]=m.useState(""),[W,Y]=m.useState(""),[ee,I]=m.useState(!1),[L,N]=m.useState(!1);m.useEffect(()=>{let Q=!1;return(async()=>{try{const[ue,ce]=await Promise.all([je.me(),je.getTelegram()]);if(Q)return;if(i(ue),g(ce.telegram??""),ue.role==="admin"){const Be=await je.getAlertSettings();if(Q)return;j(Be.discord_webhook_url),$(Be.telegram_bot_token),Y(Be.telegram_chat_id)}}catch(ue){if(ue instanceof Ie&&ue.status===401){t("/login");return}e({status:"error",title:"Impossible de charger le profil"})}finally{Q||a(!1)}})(),()=>{Q=!0}},[t,e]);const R=async()=>{I(!0);try{const Q=await je.setAlertSettings({discord_webhook_url:_.trim(),telegram_bot_token:z.trim(),telegram_chat_id:W.trim()});j(Q.discord_webhook_url),$(Q.telegram_bot_token),Y(Q.telegram_chat_id),e({status:"success",title:"Alertes enregistrées"})}catch(Q){if(Q instanceof Ie&&Q.status===401){t("/login");return}e({status:"error",title:"Impossible d'enregistrer les alertes",description:Q instanceof Ie?Q.message:void 0})}finally{I(!1)}},F=async()=>{N(!0);try{const Q=await je.testAlertSettings({discord_webhook_url:_.trim(),telegram_bot_token:z.trim(),telegram_chat_id:W.trim()}),ue=[Q.discord&&{label:"Discord",...Q.discord},Q.telegram&&{label:"Telegram",...Q.telegram}].filter(ce=>!!ce);ue.every(ce=>ce.ok)?e({status:"success",title:"Notification de test envoyée",description:ue.map(ce=>ce.label).join(" et ")}):e({status:"error",title:"Échec du test",description:ue.filter(ce=>!ce.ok).map(ce=>`${ce.label} : ${ce.error}`).join(" — ")})}catch(Q){if(Q instanceof Ie&&Q.status===401){t("/login");return}e({status:"warning",title:"Test impossible",description:Q instanceof Ie?Q.message:void 0})}finally{N(!1)}},M=async Q=>{const ue=Q.trim();if(!(!r||!ue||ue===r.username)){d(!0);try{const ce=await je.updateUsername(ue);i({...r,username:ce.username}),e({status:"success",title:"Nom d'utilisateur mis à jour"})}catch(ce){if(ce instanceof Ie&&ce.status===401){t("/login");return}e({status:"error",title:"Impossible de mettre à jour le nom d'utilisateur",description:ce instanceof Ie?ce.message:void 0})}finally{d(!1)}}},G=async()=>{const Q=b.trim();if(Q.length<8){e({status:"warning",title:"Le mot de passe doit contenir au moins 8 caractères"});return}p(!0);try{await je.updatePassword(Q),e({status:"success",title:"Mot de passe mis à jour"}),v(!1),x("")}catch(ue){if(ue instanceof Ie&&ue.status===401){t("/login");return}e({status:"error",title:"Impossible de mettre à jour le mot de passe",description:ue instanceof Ie?ue.message:void 0})}finally{p(!1)}},Z=()=>{x(""),v(!1)},ae=async Q=>{const ue=Q.trim();if(!ue){P(!1);return}w(!0);try{const ce=await je.setTelegram(ue);g(ce.telegram),P(!1),e({status:"success",title:"Telegram enregistré"})}catch(ce){if(ce instanceof Ie&&ce.status===401){t("/login");return}e({status:"error",title:"Impossible d'enregistrer le Telegram",description:ce instanceof Ie?ce.message:void 0})}finally{w(!1)}},oe=async()=>{c(!0);try{await je.logout(),n==null||n(),t("/login")}catch{e({status:"error",title:"Déconnexion impossible"})}finally{c(!1)}};return s.jsx(ne,{bg:"chakra-subtle-bg",py:{base:10,md:14},minH:"100%",children:s.jsxs(fn,{maxW:"container.md",children:[s.jsxs(we,{spacing:3,mb:8,children:[s.jsx(ct,{size:"lg",children:"Mon profil"}),s.jsx(K,{color:"gray.400",fontSize:"md",children:"Informations de votre compte et de votre abonnement."})]}),s.jsx(ne,{bg:"bg-surface",borderWidth:"1px",borderColor:"chakra-border-color",borderRadius:"xl",p:{base:6,md:10},boxShadow:"lg",children:o?s.jsx(St,{justify:"center",py:10,children:s.jsx(yn,{})}):r?s.jsxs(we,{spacing:8,children:[s.jsxs(St,{align:"center",gap:5,wrap:"wrap",children:[s.jsx(cb,{name:r.username,size:"xl"}),s.jsxs(ne,{children:[s.jsx(Pf,{defaultValue:r.username,onSubmit:M,isDisabled:u,submitOnBlur:!1,children:s.jsxs(ge,{spacing:2,children:[s.jsx(Tf,{as:ct,size:"md",fontFamily:"mono"}),s.jsx(_f,{fontFamily:"mono",fontSize:"md",fontWeight:"bold"}),s.jsx(W0,{})]})},r.username),s.jsxs(ge,{mt:2,spacing:2,children:[s.jsx(dn,{colorScheme:Xce(r.role),children:pk(r.role)}),r.type_abonnement&&s.jsx(dn,{colorScheme:Yce(r.type_abonnement),children:r.type_abonnement})]})]})]}),s.jsx(da,{borderColor:"chakra-border-color"}),s.jsxs(bn,{columns:{base:1,sm:2},spacing:6,children:[s.jsxs(Go,{children:[s.jsx(Ko,{children:"Identifiant"}),s.jsx(Bi,{fontSize:"md",fontFamily:"mono",children:r.user_id})]}),s.jsxs(Go,{children:[s.jsx(Ko,{children:"Rôle"}),s.jsx(Bi,{fontSize:"md",children:pk(r.role)})]}),s.jsxs(Go,{children:[s.jsx(Ko,{children:"Type d'abonnement"}),s.jsx(Bi,{fontSize:"md",children:r.type_abonnement||"—"})]}),s.jsxs(Go,{children:[s.jsx(Ko,{children:"Mot de passe"}),h?s.jsxs(ge,{spacing:2,children:[s.jsx(sn,{size:"sm",fontFamily:"mono",fontSize:"md",value:b,onChange:Q=>x(Q.target.value),isDisabled:f,autoFocus:!0}),s.jsxs(Pm,{size:"sm",spacing:1,children:[s.jsx(vn,{"aria-label":"Enregistrer",icon:s.jsx(W7,{}),isLoading:f,onClick:G}),s.jsx(vn,{"aria-label":"Annuler",icon:s.jsx(B7,{}),isDisabled:f,onClick:Z})]})]}):s.jsxs(ge,{spacing:2,children:[s.jsx(Bi,{fontSize:"md",fontFamily:"mono",children:"••••••••"}),s.jsx(vn,{"aria-label":"Modifier le mot de passe",size:"sm",variant:"ghost",icon:s.jsx(qu,{}),onClick:()=>v(!0)})]})]}),s.jsxs(Go,{children:[s.jsx(Ko,{children:"Telegram"}),y?s.jsx(Pf,{defaultValue:y,onSubmit:ae,isDisabled:S,submitOnBlur:!1,children:s.jsxs(ge,{spacing:2,children:[s.jsx(Tf,{as:Bi,fontSize:"md",fontFamily:"mono"}),s.jsx(_f,{fontSize:"md",fontFamily:"mono"}),s.jsx(W0,{})]})},y):k?s.jsx(Pf,{defaultValue:"",placeholder:"@monpseudo",startWithEditView:!0,onSubmit:ae,onCancel:()=>P(!1),isDisabled:S,submitOnBlur:!1,children:s.jsxs(ge,{spacing:2,children:[s.jsx(Tf,{as:Bi,fontSize:"md",fontFamily:"mono"}),s.jsx(_f,{fontSize:"md",fontFamily:"mono"}),s.jsx(W0,{})]})}):s.jsx(xe,{size:"sm",variant:"outline",onClick:()=>P(!0),children:"Ajouter mon Telegram"})]}),s.jsxs(Go,{children:[s.jsx(Ko,{children:"Expire le"}),s.jsx(Bi,{fontSize:"md",children:Qce(r.expired_at)})]})]}),r.role==="admin"&&s.jsxs(s.Fragment,{children:[s.jsx(da,{borderColor:"chakra-border-color"}),s.jsxs(we,{spacing:4,children:[s.jsxs(ne,{children:[s.jsx(ct,{size:"sm",children:"Alertes monitoring"}),s.jsx(K,{color:"gray.500",fontSize:"sm",children:"Recevez une notification quand un pod d'une démo tombe en erreur (ou se rétablit). Réglages propres à votre compte."})]}),s.jsxs(ke,{children:[s.jsx(Ce,{fontSize:"sm",children:"Webhook Discord"}),s.jsx(bt,{fontFamily:"mono",fontSize:"sm",placeholder:"https://discord.com/api/webhooks/...",value:_,onChange:Q=>j(Q.target.value),isDisabled:ee})]}),s.jsxs(bn,{columns:{base:1,sm:2},spacing:4,children:[s.jsxs(ke,{children:[s.jsx(Ce,{fontSize:"sm",children:"Bot Telegram (token)"}),s.jsx(bt,{fontFamily:"mono",fontSize:"sm",placeholder:"123456789:AAExemple...",value:z,onChange:Q=>$(Q.target.value),isDisabled:ee})]}),s.jsxs(ke,{children:[s.jsx(Ce,{fontSize:"sm",children:"Telegram (chat ID)"}),s.jsx(bt,{fontFamily:"mono",fontSize:"sm",placeholder:"-100123456789",value:W,onChange:Q=>Y(Q.target.value),isDisabled:ee}),s.jsx(ru,{children:"Envoyez un message au bot puis récupérez le chat_id via son API."})]})]}),s.jsxs(St,{justify:"flex-end",gap:2,children:[s.jsx(xe,{size:"sm",variant:"outline",isDisabled:!_.trim()&&!(z.trim()&&W.trim()),isLoading:L,onClick:F,children:"Tester les notifications"}),s.jsx(xe,{size:"sm",colorScheme:"primary",isLoading:ee,onClick:R,children:"Enregistrer les alertes"})]})]})]}),s.jsx(da,{borderColor:"chakra-border-color"}),s.jsx(St,{justify:"flex-end",children:s.jsx(xe,{colorScheme:"red",variant:"outline",isLoading:l,onClick:oe,children:"Se déconnecter"})})]}):s.jsx(K,{color:"gray.500",children:"Aucune information disponible."})})]})})}function mk(e){const t=gp("/omnex-blanc.jpg","/omnex-black.jpg");return s.jsx(D_,{src:t,alt:"Omnex",objectFit:"contain",...e})}const hk=[{to:"/",label:"Accueil",end:!0},{to:"/tarifs",label:"Tarifs",end:!1},{to:"/documentation",label:"Documentation",end:!1},{to:"/contact",label:"Contact",end:!1}],Jce=()=>s.jsx(ne,{as:"svg",w:"24px",h:"24px",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",children:s.jsx(ne,{as:"path",d:"M3 12h18M3 6h18M3 18h18"})});function eue(){const{isOpen:e,onOpen:t,onClose:n}=wu();return s.jsxs(ne,{as:"header",position:"sticky",top:0,zIndex:"sticky",bg:"chakra-body-bg",borderBottomWidth:"1px",backdropFilter:"saturate(180%) blur(6px)",children:[s.jsx(fn,{maxW:"container.lg",children:s.jsxs(St,{h:16,align:"center",justify:"space-between",children:[s.jsxs(ge,{spacing:8,children:[s.jsx(ne,{as:Zt,to:"/",display:"flex",alignItems:"center",children:s.jsx(mk,{h:10})}),s.jsx(ge,{as:"nav",spacing:1,display:{base:"none",md:"flex"},children:hk.map(r=>s.jsx(gk,{to:r.to,end:r.end,children:r.label},r.to))})]}),s.jsxs(ge,{spacing:2,display:{base:"none",md:"flex"},children:[s.jsx(Ea,{}),s.jsx(xe,{as:Zt,to:"/login",variant:"ghost",size:"sm",children:"Espace client"}),s.jsx(xe,{as:Zt,to:"/register",colorScheme:"primary",size:"sm",children:"Créer un compte"})]}),s.jsxs(ge,{spacing:1,display:{base:"flex",md:"none"},children:[s.jsx(Ea,{}),s.jsx(vn,{"aria-label":"Ouvrir le menu",variant:"ghost",onClick:t,icon:s.jsx(Jce,{})})]})]})}),s.jsxs(sT,{isOpen:e,placement:"right",onClose:n,size:"xs",children:[s.jsx(yl,{}),s.jsxs(Ob,{bg:"chakra-body-bg",children:[s.jsx(Ou,{size:"lg"}),s.jsx(vl,{borderBottomWidth:"1px",children:s.jsx(mk,{h:9})}),s.jsxs(gl,{py:6,children:[s.jsx(we,{as:"nav",spacing:1,children:hk.map(r=>s.jsx(gk,{to:r.to,end:r.end,onClick:n,mobile:!0,children:r.label},r.to))}),s.jsx(da,{my:6}),s.jsxs(we,{spacing:3,children:[s.jsx(xe,{as:Zt,to:"/login",variant:"outline",justifyContent:"flex-start",onClick:n,children:"Espace client"}),s.jsx(xe,{as:Zt,to:"/register",colorScheme:"primary",justifyContent:"flex-start",onClick:n,children:"Créer un compte"})]})]})]})]})]})}function gk({to:e,end:t,children:n,onClick:r,mobile:i=!1}){return s.jsx(xe,{as:m8,to:e,end:t,size:i?"lg":"sm",variant:"ghost",justifyContent:i?"flex-start":"center",onClick:r,_activeLink:{fontWeight:"bold",color:"primary.500"},children:n})}function tue(){return s.jsx(ne,{as:"footer",borderTopWidth:"1px",mt:20,bg:"chakra-subtle-bg",children:s.jsxs(fn,{maxW:"container.lg",py:12,children:[s.jsxs(bn,{columns:{base:1,md:4},spacing:8,children:[s.jsxs(we,{spacing:3,children:[s.jsx(K,{fontWeight:"bold",fontSize:"lg",children:"Omnex"}),s.jsx(K,{fontSize:"sm",color:"gray.500",children:"Plateforme de gestion de commandes & livraison."})]}),s.jsxs(nue,{title:"Produit",children:[s.jsx(Xd,{to:"/",children:"Présentation"}),s.jsx(Xd,{to:"/tarifs",children:"Tarifs"}),s.jsx(Xd,{to:"/register",children:"Créer un compte"}),s.jsx(Xd,{to:"/documentation",children:"Documentation"})]})]}),s.jsx(da,{my:8}),s.jsxs(ge,{justify:"space-between",flexWrap:"wrap",spacing:4,children:[s.jsxs(K,{fontSize:"sm",color:"gray.500",children:["© ",new Date().getFullYear()," Omnex. Tous droits réservés."]}),s.jsxs(ge,{spacing:6,fontSize:"sm",color:"gray.500",children:[s.jsx(vk,{href:"#",children:"Mentions légales"}),s.jsx(vk,{href:"#",children:"Confidentialité"})]})]})]})})}function nue({title:e,children:t}){return s.jsxs(we,{spacing:2,children:[s.jsx(K,{fontWeight:"semibold",fontSize:"sm",textTransform:"uppercase",color:"gray.500",children:e}),t]})}function Xd({to:e,children:t}){return s.jsx(_o,{as:Zt,to:e,fontSize:"sm",color:"gray.600",_hover:{color:"primary.500"},children:t})}function vk({href:e,children:t}){return s.jsx(_o,{href:e,fontSize:"sm",color:"gray.600",_hover:{color:"primary.500"},children:t})}function rue(){return s.jsxs(St,{direction:"column",minH:"100vh",children:[s.jsx(eue,{}),s.jsx(ne,{as:"main",flex:"1",children:s.jsx(f8,{})}),s.jsx(tue,{})]})}const iue=()=>s.jsx(ne,{as:"svg",w:"20px",h:"20px",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",children:s.jsx(ne,{as:"path",d:"M3 12h18M3 6h18M3 18h18"})}),yk="https://t.me/OMNEX_CORP";function oue(){const[e,t]=m.useState(null),{logout:n,isAdmin:r,isClient:i}=zo(),o=Qn(),{isOpen:a,onOpen:l,onClose:c}=wu(),u=e==="premium",d=m.useCallback(async()=>{try{const v=await je.me();t(v.type_abonnement??null)}catch(v){v instanceof Ie&&v.status===401&&o("/login")}},[o]);m.useEffect(()=>{d()},[d]);const f=async()=>{const v=r?"/admin/login":"/login";await n(),o(v,{replace:!0})},p=r?"Admin":i?"Client":"Utilisateur",h=r?"purple":"gray";return s.jsxs(ne,{minH:"100vh",bg:"chakra-subtle-bg",overflowX:"hidden",children:[s.jsxs(St,{as:"header",px:6,py:3,borderBottomWidth:"1px",align:"center",gap:6,children:[s.jsxs(ct,{size:"sm",as:Zt,to:"/app",children:["Omnex · ",r?"Espace admin":"Espace client"]}),s.jsxs(ge,{spacing:1,display:{base:"none",md:"flex"},children:[i&&s.jsx(Ln,{to:"/app/subscription",children:"Abonnement"}),i&&s.jsx(Ln,{to:"/app/downloads",children:"Applications"}),(r||i)&&s.jsx(Ln,{to:"/app/profile",children:"Profile"}),i&&s.jsx(Ln,{to:"/app/myservices",children:u?"Ma plateforme":"Ma démo"}),r&&s.jsx(Ln,{to:"/app/demos",children:"Démos"}),r&&s.jsx(Ln,{to:"/app/premium",children:"Premium"}),r&&s.jsx(Ln,{to:"/app/codes",children:"Codes"})]}),s.jsx(Eo,{}),s.jsxs(ge,{spacing:2,display:{base:"none",md:"flex"},children:[s.jsx(dn,{colorScheme:h,children:p}),s.jsx(xe,{as:"a",href:yk,target:"_blank",rel:"noopener noreferrer",size:"sm",variant:"outline",children:"Support"}),s.jsx(Ea,{}),s.jsx(xe,{size:"sm",variant:"outline",onClick:f,children:"Déconnexion"})]}),s.jsxs(ge,{spacing:1,display:{base:"flex",md:"none"},children:[s.jsx(dn,{colorScheme:h,children:p}),s.jsx(Ea,{}),s.jsx(vn,{"aria-label":"Ouvrir le menu",variant:"ghost",onClick:l,icon:s.jsx(iue,{})})]})]}),s.jsxs(sT,{isOpen:a,placement:"right",onClose:c,size:"xs",children:[s.jsx(yl,{}),s.jsxs(Ob,{bg:"chakra-body-bg",children:[s.jsx(Ou,{size:"lg"}),s.jsxs(vl,{borderBottomWidth:"1px",fontWeight:"bold",fontSize:"xl",children:["Omnex · ",r?"Espace admin":"Espace client"]}),s.jsxs(gl,{py:6,children:[s.jsxs(we,{as:"nav",spacing:1,children:[i&&s.jsx(Ln,{to:"/app/subscription",onClick:c,mobile:!0,children:"Abonnement"}),i&&s.jsx(Ln,{to:"/app/downloads",onClick:c,mobile:!0,children:"Applications"}),r&&s.jsx(Ln,{to:"/app/demos",onClick:c,mobile:!0,children:"Démos"}),r&&s.jsx(Ln,{to:"/app/premium",onClick:c,mobile:!0,children:"Premium"}),r&&s.jsx(Ln,{to:"/app/codes",onClick:c,mobile:!0,children:"Codes"}),(r||i)&&s.jsx(Ln,{to:"/app/profile",onClick:c,mobile:!0,children:"Profile"})]}),s.jsx(da,{my:6}),s.jsxs(we,{spacing:3,children:[s.jsx(xe,{as:"a",href:yk,target:"_blank",rel:"noopener noreferrer",variant:"outline",justifyContent:"flex-start",onClick:c,children:"Support"}),s.jsx(xe,{variant:"outline",justifyContent:"flex-start",onClick:f,children:"Déconnexion"})]})]})]})]}),s.jsx(fn,{maxW:"container.xl",py:8,children:s.jsx(f8,{})})]})}function Ln({to:e,children:t,onClick:n,mobile:r=!1}){return s.jsx(xe,{as:m8,to:e,size:r?"lg":"sm",variant:"ghost",onClick:n,_activeLink:{fontWeight:"bold",color:"primary.500"},justifyContent:"flex-start",children:t})}function aue(){return s.jsx(ne,{children:s.jsx(ne,{bgGradient:"linear(to-b, blackAlpha.50, transparent)",py:{base:16,md:24},children:s.jsx(fn,{maxW:"container.lg",children:s.jsxs(we,{spacing:6,textAlign:"center",align:"center",children:[s.jsx(ct,{size:"2xl",children:"Contactez-nous"}),s.jsx(K,{fontSize:"xl",color:"gray.600",maxW:"2xl",children:"Une question ? Notre équipe vous répond directement sur Telegram."}),s.jsx(xe,{as:"a",href:"https://t.me/OMNEX_CORP",target:"_blank",rel:"noopener noreferrer",colorScheme:"primary",size:"lg",children:"Nous contacter sur Telegram"})]})})})})}function sue(){const e=pr(),t=Qn(),[n,r]=m.useState(null),[i,o]=m.useState([]),[a,l]=m.useState(!0),c=m.useCallback(async()=>{try{const f=await je.me();r(f.type_abonnement??null)}catch(f){f instanceof Ie&&f.status===401&&t("/login")}},[t]),u=m.useCallback(async()=>{try{const f=await je.listMyDemos();o(f.items??[])}catch{e({status:"error",title:"Chargement des démos impossible"})}finally{l(!1)}},[e]);m.useEffect(()=>{c(),u()},[c,u]);const d=n==="premium";return s.jsxs(s.Fragment,{children:[s.jsxs(St,{mb:6,align:"center",children:[s.jsx(ct,{size:"md",children:d?"Ma plateforme":"Ma démo"}),s.jsx(Eo,{})]}),s.jsx(ne,{mb:8,p:6,borderWidth:"1px",borderRadius:"lg",bg:"bg-surface",children:a?s.jsx(yn,{size:"sm"}):i.length===0?s.jsx(K,{color:"gray.500",children:d?"Aucune plateforme pour le moment.":"Aucune démo pour le moment."}):s.jsx(Fu,{align:"stretch",spacing:3,children:i.map(f=>s.jsxs(ge,{justify:"space-between",flexWrap:"wrap",rowGap:2,children:[f.status==="ready"?s.jsx(_o,{href:f.url,color:"primary.500",isExternal:!0,fontFamily:"mono",children:f.url}):s.jsx(K,{color:"gray.400",fontFamily:"mono",children:f.url||"—"}),s.jsx(dn,{colorScheme:Qm(f.status),children:Zm(f.status)})]},f.id))})})]})}const lue=["/app/demos","/app/premium","/app/codes"];function cue({children:e}){const{isAuthenticated:t,initializing:n}=zo(),r=Ma();if(n)return s.jsx(qP,{h:"100vh",children:s.jsx(yn,{})});if(t)return e;const i=lue.some(o=>r.pathname.startsWith(o));return s.jsx(hu,{to:i?"/admin/login":"/login",replace:!0})}function V0({children:e}){const{isAdmin:t}=zo();return t?e:s.jsx(hu,{to:"/app/subscription",replace:!0})}function uue(){const{role:e}=zo();switch(e){case"admin":return s.jsx(hu,{to:"/app/demos",replace:!0});default:return s.jsx(hu,{to:"/app/subscription",replace:!0})}}function due(){return s.jsxs(Wre,{children:[s.jsxs(Rt,{element:s.jsx(rue,{}),children:[s.jsx(Rt,{path:"/",element:s.jsx(rie,{})}),s.jsx(Rt,{path:"/tarifs",element:s.jsx(oie,{})}),s.jsx(Rt,{path:"/documentation",element:s.jsx(Cce,{})}),s.jsx(Rt,{path:"/contact",element:s.jsx(aue,{})})]}),s.jsx(Rt,{path:"/login",element:s.jsx(Ece,{})}),s.jsx(Rt,{path:"/admin/login",element:s.jsx(Ace,{})}),s.jsx(Rt,{path:"/register",element:s.jsx($ce,{})}),s.jsxs(Rt,{path:"/app",element:s.jsx(cue,{children:s.jsx(oue,{})}),children:[s.jsx(Rt,{index:!0,element:s.jsx(uue,{})}),s.jsx(Rt,{path:"demos",element:s.jsx(V0,{children:s.jsx(Oce,{})})}),s.jsx(Rt,{path:"codes",element:s.jsx(V0,{children:s.jsx(Hce,{})})}),s.jsx(Rt,{path:"premium",element:s.jsx(V0,{children:s.jsx(Wce,{})})}),s.jsx(Rt,{path:"subscription",element:s.jsx(Gce,{})}),s.jsx(Rt,{path:"downloads",element:s.jsx(qce,{})}),s.jsx(Rt,{path:"profile",element:s.jsx(Zce,{})}),s.jsx(Rt,{path:"myservices",element:s.jsx(sue,{})})]}),s.jsx(Rt,{path:"*",element:s.jsx(hu,{to:"/",replace:!0})})]})}const fue={initialColorMode:"system",useSystemColorMode:!1},bk=mb({config:fue,colors:{black:"#000000",gray:{50:"#f7f7f8",100:"#e8e8ea",200:"#c5c5c9",300:"#a2a2a9",400:"#7f7f88",500:"#5c5c66",600:"#43434c",700:"#2a2a33",800:"#15151b",900:"#0a0a0f"},midnight:{50:"#e9ebf5",100:"#c7cce6",200:"#a3abd6",300:"#7f8ac6",400:"#5b69b6",500:"#2d3a7d",600:"#232e63",700:"#1a2249",800:"#11172f",900:"#080b16"}},semanticTokens:{colors:{"chakra-body-bg":{_light:"white",_dark:"#000000"},"chakra-subtle-bg":{_light:"gray.50",_dark:"#050508"},"bg-surface":{_light:"white",_dark:"#08080c"},"chakra-body-text":{_light:"gray.800",_dark:"#f5f5f7"},"chakra-border-color":{_light:"gray.200",_dark:"whiteAlpha.100"},"primary.50":{default:"purple.50",_dark:"midnight.50"},"primary.100":{default:"purple.100",_dark:"midnight.100"},"primary.200":{default:"purple.200",_dark:"midnight.200"},"primary.300":{default:"purple.300",_dark:"midnight.300"},"primary.400":{default:"purple.400",_dark:"midnight.400"},"primary.500":{default:"purple.500",_dark:"midnight.500"},"primary.600":{default:"purple.600",_dark:"midnight.600"},"primary.700":{default:"purple.700",_dark:"midnight.700"},"primary.800":{default:"purple.800",_dark:"midnight.800"},"primary.900":{default:"purple.900",_dark:"midnight.900"}}},styles:{global:{body:{bg:"chakra-body-bg",color:"chakra-body-text"}}},components:{Card:{baseStyle:{container:{bg:"bg-surface",borderColor:"whiteAlpha.50"}}},Button:{baseStyle:{_dark:{bg:"gray.800",_hover:{bg:"gray.700"}}}},Input:{baseStyle:{field:{_dark:{bg:"gray.900",borderColor:"whiteAlpha.200",_focus:{borderColor:"whiteAlpha.400"}}}}},Select:{baseStyle:{field:{_dark:{bg:"gray.900",borderColor:"whiteAlpha.200"}}}},Textarea:{baseStyle:{_dark:{bg:"gray.900",borderColor:"whiteAlpha.200"}}},Modal:{baseStyle:{overlay:{_dark:{bg:"blackAlpha.800"}},content:{_dark:{bg:"#08080c"}}}}}},AT);H0.createRoot(document.getElementById("root")).render(s.jsxs(Xt.StrictMode,{children:[s.jsx(TG,{initialColorMode:bk.config.initialColorMode}),s.jsx(Ate,{theme:bk,children:s.jsx(Pce,{children:s.jsx(Yre,{children:s.jsx(due,{})})})})]}));
|