@saas-ui/storybook-addon 2.0.0 → 2.0.1
Sign up to get free protection for your applications and to get access to all the features.
- package/CHANGELOG.md +6 -0
- package/dist/ChakraProviderDecorator.js +3 -6
- package/dist/ChakraProviderDecorator.js.map +1 -1
- package/dist/ChakraProviderDecorator.mjs +4 -7
- package/dist/ChakraProviderDecorator.mjs.map +1 -1
- package/dist/preview.js +3 -6
- package/dist/preview.js.map +1 -1
- package/dist/preview.mjs +4 -7
- package/dist/preview.mjs.map +1 -1
- package/package.json +3 -3
package/dist/preview.js
CHANGED
@@ -3,9 +3,6 @@
|
|
3
3
|
var ht = require('react');
|
4
4
|
var react = require('@chakra-ui/react');
|
5
5
|
var previewApi = require('@storybook/preview-api');
|
6
|
-
require('@storybook/types');
|
7
|
-
var managerApi = require('@storybook/manager-api');
|
8
|
-
require('@storybook/preview-api/dist/addons');
|
9
6
|
var jsxRuntime = require('react/jsx-runtime');
|
10
7
|
|
11
8
|
function _interopNamespace(e) {
|
@@ -28,7 +25,7 @@ function _interopNamespace(e) {
|
|
28
25
|
|
29
26
|
var ht__namespace = /*#__PURE__*/_interopNamespace(ht);
|
30
27
|
|
31
|
-
var _y=Object.create;var _o=Object.defineProperty,Ty=Object.defineProperties,Py=Object.getOwnPropertyDescriptor,Ay=Object.getOwnPropertyDescriptors,Ey=Object.getOwnPropertyNames,Vn=Object.getOwnPropertySymbols,Ry=Object.getPrototypeOf,cs=Object.prototype.hasOwnProperty,jc=Object.prototype.propertyIsEnumerable;var On=Math.pow,Dc=(e,t,r)=>t in e?_o(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,d=(e,t)=>{for(var r in t||(t={}))cs.call(t,r)&&Dc(e,r,t[r]);if(Vn)for(var r of Vn(t))jc.call(t,r)&&Dc(e,r,t[r]);return e},v=(e,t)=>Ty(e,Ay(t));var k=(e,t)=>{var r={};for(var o in e)cs.call(e,o)&&t.indexOf(o)<0&&(r[o]=e[o]);if(e!=null&&Vn)for(var o of Vn(e))t.indexOf(o)<0&&jc.call(e,o)&&(r[o]=e[o]);return r};var Bc=(e,t)=>()=>(e&&(t=e(e=0)),t);var To=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),My=(e,t)=>{for(var r in t)_o(e,r,{get:t[r],enumerable:!0});},zc=(e,t,r,o)=>{if(t&&typeof t=="object"||typeof t=="function")for(let n of Ey(t))!cs.call(e,n)&&n!==r&&_o(e,n,{get:()=>t[n],enumerable:!(o=Py(t,n))||o.enumerable});return e};var zt=(e,t,r)=>(r=e!=null?_y(Ry(e)):{},zc(t||!e||!e.__esModule?_o(r,"default",{value:e,enumerable:!0}):r,e)),Iy=e=>zc(_o({},"__esModule",{value:!0}),e);var hu=To(H=>{var ie=typeof Symbol=="function"&&Symbol.for,ps=ie?Symbol.for("react.element"):60103,hs=ie?Symbol.for("react.portal"):60106,Wn=ie?Symbol.for("react.fragment"):60107,Hn=ie?Symbol.for("react.strict_mode"):60108,Gn=ie?Symbol.for("react.profiler"):60114,Un=ie?Symbol.for("react.provider"):60109,Kn=ie?Symbol.for("react.context"):60110,gs=ie?Symbol.for("react.async_mode"):60111,qn=ie?Symbol.for("react.concurrent_mode"):60111,Yn=ie?Symbol.for("react.forward_ref"):60112,Xn=ie?Symbol.for("react.suspense"):60113,qy=ie?Symbol.for("react.suspense_list"):60120,Zn=ie?Symbol.for("react.memo"):60115,Jn=ie?Symbol.for("react.lazy"):60116,Yy=ie?Symbol.for("react.block"):60121,Xy=ie?Symbol.for("react.fundamental"):60117,Zy=ie?Symbol.for("react.responder"):60118,Jy=ie?Symbol.for("react.scope"):60119;function Ve(e){if(typeof e=="object"&&e!==null){var t=e.$$typeof;switch(t){case ps:switch(e=e.type,e){case gs:case qn:case Wn:case Gn:case Hn:case Xn:return e;default:switch(e=e&&e.$$typeof,e){case Kn:case Yn:case Jn:case Zn:case Un:return e;default:return t}}case hs:return t}}}function pu(e){return Ve(e)===qn}H.AsyncMode=gs;H.ConcurrentMode=qn;H.ContextConsumer=Kn;H.ContextProvider=Un;H.Element=ps;H.ForwardRef=Yn;H.Fragment=Wn;H.Lazy=Jn;H.Memo=Zn;H.Portal=hs;H.Profiler=Gn;H.StrictMode=Hn;H.Suspense=Xn;H.isAsyncMode=function(e){return pu(e)||Ve(e)===gs};H.isConcurrentMode=pu;H.isContextConsumer=function(e){return Ve(e)===Kn};H.isContextProvider=function(e){return Ve(e)===Un};H.isElement=function(e){return typeof e=="object"&&e!==null&&e.$$typeof===ps};H.isForwardRef=function(e){return Ve(e)===Yn};H.isFragment=function(e){return Ve(e)===Wn};H.isLazy=function(e){return Ve(e)===Jn};H.isMemo=function(e){return Ve(e)===Zn};H.isPortal=function(e){return Ve(e)===hs};H.isProfiler=function(e){return Ve(e)===Gn};H.isStrictMode=function(e){return Ve(e)===Hn};H.isSuspense=function(e){return Ve(e)===Xn};H.isValidElementType=function(e){return typeof e=="string"||typeof e=="function"||e===Wn||e===qn||e===Gn||e===Hn||e===Xn||e===qy||typeof e=="object"&&e!==null&&(e.$$typeof===Jn||e.$$typeof===Zn||e.$$typeof===Un||e.$$typeof===Kn||e.$$typeof===Yn||e.$$typeof===Xy||e.$$typeof===Zy||e.$$typeof===Jy||e.$$typeof===Yy)};H.typeOf=Ve;});var yu=To(($5,gu)=>{gu.exports=hu();});var ku=To((L5,wu)=>{var ys=yu(),Qy={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},ev={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},tv={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},Su={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},vs={};vs[ys.ForwardRef]=tv;vs[ys.Memo]=Su;function vu(e){return ys.isMemo(e)?Su:vs[e.$$typeof]||Qy}var rv=Object.defineProperty,ov=Object.getOwnPropertyNames,bu=Object.getOwnPropertySymbols,nv=Object.getOwnPropertyDescriptor,iv=Object.getPrototypeOf,xu=Object.prototype;function Cu(e,t,r){if(typeof t!="string"){if(xu){var o=iv(t);o&&o!==xu&&Cu(e,o,r);}var n=ov(t);bu&&(n=n.concat(bu(t)));for(var i=vu(e),a=vu(t),s=0;s<n.length;++s){var l=n[s];if(!ev[l]&&!(r&&r[l])&&!(a&&a[l])&&!(i&&i[l])){var c=nv(t,l);try{rv(e,l,c);}catch(u){}}}}return e}wu.exports=Cu;});var Ar=To((No,_r)=>{var bv=200,Wu="__lodash_hash_undefined__",xv=800,Sv=16,Hu=9007199254740991,Gu="[object Arguments]",Cv="[object Array]",wv="[object AsyncFunction]",kv="[object Boolean]",_v="[object Date]",Tv="[object Error]",Uu="[object Function]",Pv="[object GeneratorFunction]",Av="[object Map]",Ev="[object Number]",Rv="[object Null]",Ku="[object Object]",Mv="[object Proxy]",Iv="[object RegExp]",Vv="[object Set]",Ov="[object String]",Nv="[object Undefined]",$v="[object WeakMap]",Lv="[object ArrayBuffer]",Dv="[object DataView]",jv="[object Float32Array]",Bv="[object Float64Array]",zv="[object Int8Array]",Fv="[object Int16Array]",Wv="[object Int32Array]",Hv="[object Uint8Array]",Gv="[object Uint8ClampedArray]",Uv="[object Uint16Array]",Kv="[object Uint32Array]",qv=/[\\^$.*+?()[\]{}|]/g,Yv=/^\[object .+?Constructor\]$/,Xv=/^(?:0|[1-9]\d*)$/,K={};K[jv]=K[Bv]=K[zv]=K[Fv]=K[Wv]=K[Hv]=K[Gv]=K[Uv]=K[Kv]=!0;K[Gu]=K[Cv]=K[Lv]=K[kv]=K[Dv]=K[_v]=K[Tv]=K[Uu]=K[Av]=K[Ev]=K[Ku]=K[Iv]=K[Vv]=K[Ov]=K[$v]=!1;var qu=typeof global=="object"&&global&&global.Object===Object&&global,Zv=typeof self=="object"&&self&&self.Object===Object&&self,Do=qu||Zv||Function("return this")(),Yu=typeof No=="object"&&No&&!No.nodeType&&No,$o=Yu&&typeof _r=="object"&&_r&&!_r.nodeType&&_r,Xu=$o&&$o.exports===Yu,Ss=Xu&&qu.process,Ou=function(){try{var e=$o&&$o.require&&$o.require("util").types;return e||Ss&&Ss.binding&&Ss.binding("util")}catch(t){}}(),Nu=Ou&&Ou.isTypedArray;function Jv(e,t,r){switch(r.length){case 0:return e.call(t);case 1:return e.call(t,r[0]);case 2:return e.call(t,r[0],r[1]);case 3:return e.call(t,r[0],r[1],r[2])}return e.apply(t,r)}function Qv(e,t){for(var r=-1,o=Array(e);++r<e;)o[r]=t(r);return o}function e0(e){return function(t){return e(t)}}function t0(e,t){return e==null?void 0:e[t]}function r0(e,t){return function(r){return e(t(r))}}var o0=Array.prototype,n0=Function.prototype,ci=Object.prototype,Cs=Do["__core-js_shared__"],ui=n0.toString,it=ci.hasOwnProperty,$u=function(){var e=/[^.]+$/.exec(Cs&&Cs.keys&&Cs.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}(),Zu=ci.toString,i0=ui.call(Object),a0=RegExp("^"+ui.call(it).replace(qv,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),si=Xu?Do.Buffer:void 0,Lu=Do.Symbol,Du=Do.Uint8Array,ju=si?si.allocUnsafe:void 0,Ju=r0(Object.getPrototypeOf,Object),Bu=Object.create,s0=ci.propertyIsEnumerable,l0=o0.splice,Ht=Lu?Lu.toStringTag:void 0,li=function(){try{var e=As(Object,"defineProperty");return e({},"",{}),e}catch(t){}}(),c0=si?si.isBuffer:void 0,zu=Math.max,u0=Date.now,Qu=As(Do,"Map"),Lo=As(Object,"create"),f0=function(){function e(){}return function(t){if(!Ut(t))return {};if(Bu)return Bu(t);e.prototype=t;var r=new e;return e.prototype=void 0,r}}();function Gt(e){var t=-1,r=e==null?0:e.length;for(this.clear();++t<r;){var o=e[t];this.set(o[0],o[1]);}}function d0(){this.__data__=Lo?Lo(null):{},this.size=0;}function m0(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}function p0(e){var t=this.__data__;if(Lo){var r=t[e];return r===Wu?void 0:r}return it.call(t,e)?t[e]:void 0}function h0(e){var t=this.__data__;return Lo?t[e]!==void 0:it.call(t,e)}function g0(e,t){var r=this.__data__;return this.size+=this.has(e)?0:1,r[e]=Lo&&t===void 0?Wu:t,this}Gt.prototype.clear=d0;Gt.prototype.delete=m0;Gt.prototype.get=p0;Gt.prototype.has=h0;Gt.prototype.set=g0;function at(e){var t=-1,r=e==null?0:e.length;for(this.clear();++t<r;){var o=e[t];this.set(o[0],o[1]);}}function y0(){this.__data__=[],this.size=0;}function v0(e){var t=this.__data__,r=fi(t,e);if(r<0)return !1;var o=t.length-1;return r==o?t.pop():l0.call(t,r,1),--this.size,!0}function b0(e){var t=this.__data__,r=fi(t,e);return r<0?void 0:t[r][1]}function x0(e){return fi(this.__data__,e)>-1}function S0(e,t){var r=this.__data__,o=fi(r,e);return o<0?(++this.size,r.push([e,t])):r[o][1]=t,this}at.prototype.clear=y0;at.prototype.delete=v0;at.prototype.get=b0;at.prototype.has=x0;at.prototype.set=S0;function Tr(e){var t=-1,r=e==null?0:e.length;for(this.clear();++t<r;){var o=e[t];this.set(o[0],o[1]);}}function C0(){this.size=0,this.__data__={hash:new Gt,map:new(Qu||at),string:new Gt};}function w0(e){var t=mi(this,e).delete(e);return this.size-=t?1:0,t}function k0(e){return mi(this,e).get(e)}function _0(e){return mi(this,e).has(e)}function T0(e,t){var r=mi(this,e),o=r.size;return r.set(e,t),this.size+=r.size==o?0:1,this}Tr.prototype.clear=C0;Tr.prototype.delete=w0;Tr.prototype.get=k0;Tr.prototype.has=_0;Tr.prototype.set=T0;function Pr(e){var t=this.__data__=new at(e);this.size=t.size;}function P0(){this.__data__=new at,this.size=0;}function A0(e){var t=this.__data__,r=t.delete(e);return this.size=t.size,r}function E0(e){return this.__data__.get(e)}function R0(e){return this.__data__.has(e)}function M0(e,t){var r=this.__data__;if(r instanceof at){var o=r.__data__;if(!Qu||o.length<bv-1)return o.push([e,t]),this.size=++r.size,this;r=this.__data__=new Tr(o);}return r.set(e,t),this.size=r.size,this}Pr.prototype.clear=P0;Pr.prototype.delete=A0;Pr.prototype.get=E0;Pr.prototype.has=R0;Pr.prototype.set=M0;function I0(e,t){var r=Ts(e),o=!r&&_s(e),n=!r&&!o&&of(e),i=!r&&!o&&!n&&af(e),a=r||o||n||i,s=a?Qv(e.length,String):[],l=s.length;for(var c in e)(t||it.call(e,c))&&!(a&&(c=="length"||n&&(c=="offset"||c=="parent")||i&&(c=="buffer"||c=="byteLength"||c=="byteOffset")||tf(c,l)))&&s.push(c);return s}function ws(e,t,r){(r!==void 0&&!pi(e[t],r)||r===void 0&&!(t in e))&&Ps(e,t,r);}function V0(e,t,r){var o=e[t];(!(it.call(e,t)&&pi(o,r))||r===void 0&&!(t in e))&&Ps(e,t,r);}function fi(e,t){for(var r=e.length;r--;)if(pi(e[r][0],t))return r;return -1}function Ps(e,t,r){t=="__proto__"&&li?li(e,t,{configurable:!0,enumerable:!0,value:r,writable:!0}):e[t]=r;}var O0=K0();function di(e){return e==null?e===void 0?Nv:Rv:Ht&&Ht in Object(e)?q0(e):eb(e)}function Fu(e){return jo(e)&&di(e)==Gu}function N0(e){if(!Ut(e)||J0(e))return !1;var t=Rs(e)?a0:Yv;return t.test(nb(e))}function $0(e){return jo(e)&&nf(e.length)&&!!K[di(e)]}function L0(e){if(!Ut(e))return Q0(e);var t=rf(e),r=[];for(var o in e)o=="constructor"&&(t||!it.call(e,o))||r.push(o);return r}function ef(e,t,r,o,n){e!==t&&O0(t,function(i,a){if(n||(n=new Pr),Ut(i))D0(e,t,a,r,ef,o,n);else {var s=o?o(ks(e,a),i,a+"",e,t,n):void 0;s===void 0&&(s=i),ws(e,a,s);}},sf);}function D0(e,t,r,o,n,i,a){var s=ks(e,r),l=ks(t,r),c=a.get(l);if(c){ws(e,r,c);return}var u=i?i(s,l,r+"",e,t,a):void 0,f=u===void 0;if(f){var m=Ts(l),p=!m&&of(l),g=!m&&!p&&af(l);u=l,m||p||g?Ts(s)?u=s:ib(s)?u=H0(s):p?(f=!1,u=z0(l,!0)):g?(f=!1,u=W0(l,!0)):u=[]:ab(l)||_s(l)?(u=s,_s(s)?u=sb(s):(!Ut(s)||Rs(s))&&(u=Y0(l))):f=!1;}f&&(a.set(l,u),n(u,l,o,i,a),a.delete(l)),ws(e,r,u);}function j0(e,t){return rb(tb(e,t,lf),e+"")}var B0=li?function(e,t){return li(e,"toString",{configurable:!0,enumerable:!1,value:cb(t),writable:!0})}:lf;function z0(e,t){if(t)return e.slice();var r=e.length,o=ju?ju(r):new e.constructor(r);return e.copy(o),o}function F0(e){var t=new e.constructor(e.byteLength);return new Du(t).set(new Du(e)),t}function W0(e,t){var r=t?F0(e.buffer):e.buffer;return new e.constructor(r,e.byteOffset,e.length)}function H0(e,t){var r=-1,o=e.length;for(t||(t=Array(o));++r<o;)t[r]=e[r];return t}function G0(e,t,r,o){var n=!r;r||(r={});for(var i=-1,a=t.length;++i<a;){var s=t[i],l=o?o(r[s],e[s],s,r,e):void 0;l===void 0&&(l=e[s]),n?Ps(r,s,l):V0(r,s,l);}return r}function U0(e){return j0(function(t,r){var o=-1,n=r.length,i=n>1?r[n-1]:void 0,a=n>2?r[2]:void 0;for(i=e.length>3&&typeof i=="function"?(n--,i):void 0,a&&X0(r[0],r[1],a)&&(i=n<3?void 0:i,n=1),t=Object(t);++o<n;){var s=r[o];s&&e(t,s,o,i);}return t})}function K0(e){return function(t,r,o){for(var n=-1,i=Object(t),a=o(t),s=a.length;s--;){var l=a[e?s:++n];if(r(i[l],l,i)===!1)break}return t}}function mi(e,t){var r=e.__data__;return Z0(t)?r[typeof t=="string"?"string":"hash"]:r.map}function As(e,t){var r=t0(e,t);return N0(r)?r:void 0}function q0(e){var t=it.call(e,Ht),r=e[Ht];try{e[Ht]=void 0;var o=!0;}catch(i){}var n=Zu.call(e);return o&&(t?e[Ht]=r:delete e[Ht]),n}function Y0(e){return typeof e.constructor=="function"&&!rf(e)?f0(Ju(e)):{}}function tf(e,t){var r=typeof e;return t=t==null?Hu:t,!!t&&(r=="number"||r!="symbol"&&Xv.test(e))&&e>-1&&e%1==0&&e<t}function X0(e,t,r){if(!Ut(r))return !1;var o=typeof t;return (o=="number"?Es(r)&&tf(t,r.length):o=="string"&&t in r)?pi(r[t],e):!1}function Z0(e){var t=typeof e;return t=="string"||t=="number"||t=="symbol"||t=="boolean"?e!=="__proto__":e===null}function J0(e){return !!$u&&$u in e}function rf(e){var t=e&&e.constructor,r=typeof t=="function"&&t.prototype||ci;return e===r}function Q0(e){var t=[];if(e!=null)for(var r in Object(e))t.push(r);return t}function eb(e){return Zu.call(e)}function tb(e,t,r){return t=zu(t===void 0?e.length-1:t,0),function(){for(var o=arguments,n=-1,i=zu(o.length-t,0),a=Array(i);++n<i;)a[n]=o[t+n];n=-1;for(var s=Array(t+1);++n<t;)s[n]=o[n];return s[t]=r(a),Jv(e,this,s)}}function ks(e,t){if(!(t==="constructor"&&typeof e[t]=="function")&&t!="__proto__")return e[t]}var rb=ob(B0);function ob(e){var t=0,r=0;return function(){var o=u0(),n=Sv-(o-r);if(r=o,n>0){if(++t>=xv)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}function nb(e){if(e!=null){try{return ui.call(e)}catch(t){}try{return e+""}catch(t){}}return ""}function pi(e,t){return e===t||e!==e&&t!==t}var _s=Fu(function(){return arguments}())?Fu:function(e){return jo(e)&&it.call(e,"callee")&&!s0.call(e,"callee")},Ts=Array.isArray;function Es(e){return e!=null&&nf(e.length)&&!Rs(e)}function ib(e){return jo(e)&&Es(e)}var of=c0||ub;function Rs(e){if(!Ut(e))return !1;var t=di(e);return t==Uu||t==Pv||t==wv||t==Mv}function nf(e){return typeof e=="number"&&e>-1&&e%1==0&&e<=Hu}function Ut(e){var t=typeof e;return e!=null&&(t=="object"||t=="function")}function jo(e){return e!=null&&typeof e=="object"}function ab(e){if(!jo(e)||di(e)!=Ku)return !1;var t=Ju(e);if(t===null)return !0;var r=it.call(t,"constructor")&&t.constructor;return typeof r=="function"&&r instanceof r&&ui.call(r)==i0}var af=Nu?e0(Nu):$0;function sb(e){return G0(e,sf(e))}function sf(e){return Es(e)?I0(e,!0):L0(e)}var lb=U0(function(e,t,r,o){ef(e,t,r,o);});function cb(e){return function(){return e}}function lf(e){return e}function ub(){return !1}_r.exports=lb;});var Lf=To((cO,$f)=>{var jx=typeof Element!="undefined",Bx=typeof Map=="function",zx=typeof Set=="function",Fx=typeof ArrayBuffer=="function"&&!!ArrayBuffer.isView;function wi(e,t){if(e===t)return !0;if(e&&t&&typeof e=="object"&&typeof t=="object"){if(e.constructor!==t.constructor)return !1;var r,o,n;if(Array.isArray(e)){if(r=e.length,r!=t.length)return !1;for(o=r;o--!==0;)if(!wi(e[o],t[o]))return !1;return !0}var i;if(Bx&&e instanceof Map&&t instanceof Map){if(e.size!==t.size)return !1;for(i=e.entries();!(o=i.next()).done;)if(!t.has(o.value[0]))return !1;for(i=e.entries();!(o=i.next()).done;)if(!wi(o.value[1],t.get(o.value[0])))return !1;return !0}if(zx&&e instanceof Set&&t instanceof Set){if(e.size!==t.size)return !1;for(i=e.entries();!(o=i.next()).done;)if(!t.has(o.value[0]))return !1;return !0}if(Fx&&ArrayBuffer.isView(e)&&ArrayBuffer.isView(t)){if(r=e.length,r!=t.length)return !1;for(o=r;o--!==0;)if(e[o]!==t[o])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(n=Object.keys(e),r=n.length,r!==Object.keys(t).length)return !1;for(o=r;o--!==0;)if(!Object.prototype.hasOwnProperty.call(t,n[o]))return !1;if(jx&&e instanceof Element)return !1;for(o=r;o--!==0;)if(!((n[o]==="_owner"||n[o]==="__v"||n[o]==="__o")&&e.$$typeof)&&!wi(e[n[o]],t[n[o]]))return !1;return !0}return e!==e&&t!==t}$f.exports=function(t,r){try{return wi(t,r)}catch(o){if((o.message||"").match(/stack|recursion/i))return console.warn("react-fast-compare cannot handle circular refs"),!1;throw o}};});function jw(e){var t={};return function(r){return t[r]===void 0&&(t[r]=e(r)),t[r]}}var Jd,Qd=Bc(()=>{Jd=jw;});var em={};My(em,{default:()=>Fw});var Bw,zw,Fw,tm=Bc(()=>{Qd();Bw=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|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|download|draggable|encType|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|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|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|inert|itemProp|itemScope|itemType|itemID|itemRef|on|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)-.*))$/,zw=Jd(function(e){return Bw.test(e)||e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)<91}),Fw=zw;});var mr="@saas-ui/storybook-addon2",Wc=`${mr}/direction-tool`,nt={TOGGLE_COLOR_MODE:`${mr}/toggleColorMode`,TOGGLE_DIRECTION:`${mr}/toggleDirection`,SET_THEME:`${mr}/setTheme`};function Hc(){let{setColorMode:e}=react.useColorMode();return ht.useEffect(()=>{let t=previewApi.addons.getChannel(),r=o=>e(o);return t.on(nt.TOGGLE_COLOR_MODE,r),()=>{t.removeListener(nt.TOGGLE_COLOR_MODE,r);}},[e]),null}var Uc=(e="ltr")=>{let[t,r]=ht.useState(e.toLowerCase());return ht.useEffect(()=>{document.documentElement.dir=t;},[t]),ht.useEffect(()=>{let o=previewApi.addons.getChannel(),n=i=>r(i);return o.on(nt.TOGGLE_DIRECTION,n),()=>{o.removeListener(nt.TOGGLE_DIRECTION,n);}},[r]),t};function Dy(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 jy(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 Kc=function(){function e(r){var o=this;this._insertTag=function(n){var i;o.tags.length===0?o.insertionPoint?i=o.insertionPoint.nextSibling:o.prepend?i=o.container.firstChild:i=o.before:i=o.tags[o.tags.length-1].nextSibling,o.container.insertBefore(n,i),o.tags.push(n);},this.isSpeedy=r.speedy===void 0?!0:r.speedy,this.tags=[],this.ctr=0,this.nonce=r.nonce,this.key=r.key,this.container=r.container,this.prepend=r.prepend,this.insertionPoint=r.insertionPoint,this.before=null;}var t=e.prototype;return t.hydrate=function(o){o.forEach(this._insertTag);},t.insert=function(o){this.ctr%(this.isSpeedy?65e3:1)===0&&this._insertTag(jy(this));var n=this.tags[this.tags.length-1];if(this.isSpeedy){var a=Dy(n);try{a.insertRule(o,a.cssRules.length);}catch(s){}}else n.appendChild(document.createTextNode(o));this.ctr++;},t.flush=function(){this.tags.forEach(function(o){return o.parentNode&&o.parentNode.removeChild(o)}),this.tags=[],this.ctr=0;},e}();var de="-ms-",Po="-moz-",j="-webkit-",Nn="comm",pr="rule",hr="decl";var qc="@import";var $n="@keyframes";var Yc="@layer";var Xc=Math.abs,Ft=String.fromCharCode,Zc=Object.assign;function Jc(e,t){return re(e,0)^45?(((t<<2^re(e,0))<<2^re(e,1))<<2^re(e,2))<<2^re(e,3):0}function Ln(e){return e.trim()}function us(e,t){return (e=t.exec(e))?e[0]:e}function D(e,t,r){return e.replace(t,r)}function Ao(e,t){return e.indexOf(t)}function re(e,t){return e.charCodeAt(t)|0}function vt(e,t,r){return e.slice(t,r)}function ye(e){return e.length}function gr(e){return e.length}function yr(e,t){return t.push(e),e}function fs(e,t){return e.map(t).join("")}var Dn=1,vr=1,Qc=0,ve=0,oe=0,xr="";function Eo(e,t,r,o,n,i,a){return {value:e,root:t,parent:r,type:o,props:n,children:i,line:Dn,column:vr,length:a,return:""}}function Sr(e,t){return Zc(Eo("",null,null,"",null,null,0),e,{length:-e.length},t)}function eu(){return oe}function tu(){return oe=ve>0?re(xr,--ve):0,vr--,oe===10&&(vr=1,Dn--),oe}function be(){return oe=ve<Qc?re(xr,ve++):0,vr++,oe===10&&(vr=1,Dn++),oe}function De(){return re(xr,ve)}function Ro(){return ve}function Cr(e,t){return vt(xr,e,t)}function br(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 jn(e){return Dn=vr=1,Qc=ye(xr=e),ve=0,[]}function Bn(e){return xr="",e}function wr(e){return Ln(Cr(ve-1,ds(e===91?e+2:e===40?e+1:e)))}function ru(e){for(;(oe=De())&&oe<33;)be();return br(e)>2||br(oe)>3?"":" "}function ou(e,t){for(;--t&&be()&&!(oe<48||oe>102||oe>57&&oe<65||oe>70&&oe<97););return Cr(e,Ro()+(t<6&&De()==32&&be()==32))}function ds(e){for(;be();)switch(oe){case e:return ve;case 34:case 39:e!==34&&e!==39&&ds(oe);break;case 40:e===41&&ds(e);break;case 92:be();break}return ve}function nu(e,t){for(;be()&&e+oe!==47+10;)if(e+oe===42+42&&De()===47)break;return "/*"+Cr(t,ve-1)+"*"+Ft(e===47?e:be())}function iu(e){for(;!br(De());)be();return Cr(e,ve)}function lu(e){return Bn(zn("",null,null,null,[""],e=jn(e),0,[0],e))}function zn(e,t,r,o,n,i,a,s,l){for(var c=0,u=0,f=a,m=0,p=0,g=0,y=1,b=1,x=1,S=0,C="",w=n,P=i,R=o,A=C;b;)switch(g=S,S=be()){case 40:if(g!=108&&re(A,f-1)==58){Ao(A+=D(wr(S),"&","&\f"),"&\f")!=-1&&(x=-1);break}case 34:case 39:case 91:A+=wr(S);break;case 9:case 10:case 13:case 32:A+=ru(g);break;case 92:A+=ou(Ro()-1,7);continue;case 47:switch(De()){case 42:case 47:yr(By(nu(be(),Ro()),t,r),l);break;default:A+="/";}break;case 123*y:s[c++]=ye(A)*x;case 125*y:case 59:case 0:switch(S){case 0:case 125:b=0;case 59+u:x==-1&&(A=D(A,/\f/g,"")),p>0&&ye(A)-f&&yr(p>32?su(A+";",o,r,f-1):su(D(A," ","")+";",o,r,f-2),l);break;case 59:A+=";";default:if(yr(R=au(A,t,r,c,u,n,s,C,w=[],P=[],f),i),S===123)if(u===0)zn(A,t,R,R,w,i,f,s,P);else switch(m===99&&re(A,3)===110?100:m){case 100:case 108:case 109:case 115:zn(e,R,R,o&&yr(au(e,R,R,0,0,n,s,C,n,w=[],f),P),n,P,f,s,o?w:P);break;default:zn(A,R,R,R,[""],P,0,s,P);}}c=u=p=0,y=x=1,C=A="",f=a;break;case 58:f=1+ye(A),p=g;default:if(y<1){if(S==123)--y;else if(S==125&&y++==0&&tu()==125)continue}switch(A+=Ft(S),S*y){case 38:x=u>0?1:(A+="\f",-1);break;case 44:s[c++]=(ye(A)-1)*x,x=1;break;case 64:De()===45&&(A+=wr(be())),m=De(),u=f=ye(C=A+=iu(Ro())),S++;break;case 45:g===45&&ye(A)==2&&(y=0);}}return i}function au(e,t,r,o,n,i,a,s,l,c,u){for(var f=n-1,m=n===0?i:[""],p=gr(m),g=0,y=0,b=0;g<o;++g)for(var x=0,S=vt(e,f+1,f=Xc(y=a[g])),C=e;x<p;++x)(C=Ln(y>0?m[x]+" "+S:D(S,/&\f/g,m[x])))&&(l[b++]=C);return Eo(e,t,r,n===0?pr:s,l,c,u)}function By(e,t,r){return Eo(e,t,r,Nn,Ft(eu()),vt(e,2,-2),0)}function su(e,t,r,o){return Eo(e,t,r,hr,vt(e,0,o),vt(e,o+1,-1),o)}function Wt(e,t){for(var r="",o=gr(e),n=0;n<o;n++)r+=t(e[n],n,e,t)||"";return r}function cu(e,t,r,o){switch(e.type){case Yc:if(e.children.length)break;case qc:case hr:return e.return=e.return||e.value;case Nn:return "";case $n:return e.return=e.value+"{"+Wt(e.children,o)+"}";case pr:e.value=e.props.join(",");}return ye(r=Wt(e.children,o))?e.return=e.value+"{"+r+"}":""}function uu(e){var t=gr(e);return function(r,o,n,i){for(var a="",s=0;s<t;s++)a+=e[s](r,o,n,i)||"";return a}}function fu(e){return function(t){t.root||(t=t.return)&&e(t);}}function Fn(e){var t=Object.create(null);return function(r){return t[r]===void 0&&(t[r]=e(r)),t[r]}}var zy=function(t,r,o){for(var n=0,i=0;n=i,i=De(),n===38&&i===12&&(r[o]=1),!br(i);)be();return Cr(t,ve)},Fy=function(t,r){var o=-1,n=44;do switch(br(n)){case 0:n===38&&De()===12&&(r[o]=1),t[o]+=zy(ve-1,r,o);break;case 2:t[o]+=wr(n);break;case 4:if(n===44){t[++o]=De()===58?"&\f":"",r[o]=t[o].length;break}default:t[o]+=Ft(n);}while(n=be());return t},Wy=function(t,r){return Bn(Fy(jn(t),r))},du=new WeakMap,Hy=function(t){if(!(t.type!=="rule"||!t.parent||t.length<1)){for(var r=t.value,o=t.parent,n=t.column===o.column&&t.line===o.line;o.type!=="rule";)if(o=o.parent,!o)return;if(!(t.props.length===1&&r.charCodeAt(0)!==58&&!du.get(o))&&!n){du.set(t,!0);for(var i=[],a=Wy(r,i),s=o.props,l=0,c=0;l<a.length;l++)for(var u=0;u<s.length;u++,c++)t.props[c]=i[l]?a[l].replace(/&\f/g,s[u]):s[u]+" "+a[l];}}},Gy=function(t){if(t.type==="decl"){var r=t.value;r.charCodeAt(0)===108&&r.charCodeAt(2)===98&&(t.return="",t.value="");}};function mu(e,t){switch(Jc(e,t)){case 5103:return j+"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 j+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return j+e+Po+e+de+e+e;case 6828:case 4268:return j+e+de+e+e;case 6165:return j+e+de+"flex-"+e+e;case 5187:return j+e+D(e,/(\w+).+(:[^]+)/,j+"box-$1$2"+de+"flex-$1$2")+e;case 5443:return j+e+de+"flex-item-"+D(e,/flex-|-self/,"")+e;case 4675:return j+e+de+"flex-line-pack"+D(e,/align-content|flex-|-self/,"")+e;case 5548:return j+e+de+D(e,"shrink","negative")+e;case 5292:return j+e+de+D(e,"basis","preferred-size")+e;case 6060:return j+"box-"+D(e,"-grow","")+j+e+de+D(e,"grow","positive")+e;case 4554:return j+D(e,/([^-])(transform)/g,"$1"+j+"$2")+e;case 6187:return D(D(D(e,/(zoom-|grab)/,j+"$1"),/(image-set)/,j+"$1"),e,"")+e;case 5495:case 3959:return D(e,/(image-set\([^]*)/,j+"$1$`$1");case 4968:return D(D(e,/(.+:)(flex-)?(.*)/,j+"box-pack:$3"+de+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+j+e+e;case 4095:case 3583:case 4068:case 2532:return D(e,/(.+)-inline(.+)/,j+"$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(ye(e)-1-t>6)switch(re(e,t+1)){case 109:if(re(e,t+4)!==45)break;case 102:return D(e,/(.+:)(.+)-([^]+)/,"$1"+j+"$2-$3$1"+Po+(re(e,t+3)==108?"$3":"$2-$3"))+e;case 115:return ~Ao(e,"stretch")?mu(D(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(re(e,t+1)!==115)break;case 6444:switch(re(e,ye(e)-3-(~Ao(e,"!important")&&10))){case 107:return D(e,":",":"+j)+e;case 101:return D(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+j+(re(e,14)===45?"inline-":"")+"box$3$1"+j+"$2$3$1"+de+"$2box$3")+e}break;case 5936:switch(re(e,t+11)){case 114:return j+e+de+D(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return j+e+de+D(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return j+e+de+D(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return j+e+de+e+e}return e}var Uy=function(t,r,o,n){if(t.length>-1&&!t.return)switch(t.type){case hr:t.return=mu(t.value,t.length);break;case $n:return Wt([Sr(t,{value:D(t.value,"@","@"+j)})],n);case pr:if(t.length)return fs(t.props,function(i){switch(us(i,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return Wt([Sr(t,{props:[D(i,/:(read-\w+)/,":"+Po+"$1")]})],n);case"::placeholder":return Wt([Sr(t,{props:[D(i,/:(plac\w+)/,":"+j+"input-$1")]}),Sr(t,{props:[D(i,/:(plac\w+)/,":"+Po+"$1")]}),Sr(t,{props:[D(i,/:(plac\w+)/,de+"input-$1")]})],n)}return ""})}},Ky=[Uy],ms=function(t){var r=t.key;if(r==="css"){var o=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(o,function(y){var b=y.getAttribute("data-emotion");b.indexOf(" ")!==-1&&(document.head.appendChild(y),y.setAttribute("data-s",""));});}var n=t.stylisPlugins||Ky,i={},a,s=[];a=t.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+r+' "]'),function(y){for(var b=y.getAttribute("data-emotion").split(" "),x=1;x<b.length;x++)i[b[x]]=!0;s.push(y);});var l,c=[Hy,Gy];{var u,f=[cu,fu(function(y){u.insert(y);})],m=uu(c.concat(n,f)),p=function(b){return Wt(lu(b),m)};l=function(b,x,S,C){u=S,p(b?b+"{"+x.styles+"}":x.styles),C&&(g.inserted[x.name]=!0);};}var g={key:r,sheet:new Kc({key:r,container:a,nonce:t.nonce,speedy:t.speedy,prepend:t.prepend,insertionPoint:t.insertionPoint}),nonce:t.nonce,inserted:i,registered:{},insert:l};return g.sheet.hydrate(s),g};function kr(){return kr=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var o in r)Object.prototype.hasOwnProperty.call(r,o)&&(e[o]=r[o]);}return e},kr.apply(this,arguments)}var av=!0;function Qn(e,t,r){var o="";return r.split(" ").forEach(function(n){e[n]!==void 0?t.push(e[n]+";"):o+=n+" ";}),o}var Mo=function(t,r,o){var n=t.key+"-"+r.name;(o===!1||av===!1)&&t.registered[n]===void 0&&(t.registered[n]=r.styles);},ei=function(t,r,o){Mo(t,r,o);var n=t.key+"-"+r.name;if(t.inserted[r.name]===void 0){var i=r;do t.insert(r===i?"."+n:"",i,t.sheet,!0),i=i.next;while(i!==void 0)}};function _u(e){for(var t=0,r,o=0,n=e.length;n>=4;++o,n-=4)r=e.charCodeAt(o)&255|(e.charCodeAt(++o)&255)<<8|(e.charCodeAt(++o)&255)<<16|(e.charCodeAt(++o)&255)<<24,r=(r&65535)*1540483477+((r>>>16)*59797<<16),r^=r>>>24,t=(r&65535)*1540483477+((r>>>16)*59797<<16)^(t&65535)*1540483477+((t>>>16)*59797<<16);switch(n){case 3:t^=(e.charCodeAt(o+2)&255)<<16;case 2:t^=(e.charCodeAt(o+1)&255)<<8;case 1:t^=e.charCodeAt(o)&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 Tu={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,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};var sv=/[A-Z]|^ms/g,lv=/_EMO_([^_]+?)_([^]*?)_EMO_/g,Ru=function(t){return t.charCodeAt(1)===45},Pu=function(t){return t!=null&&typeof t!="boolean"},bs=Fn(function(e){return Ru(e)?e:e.replace(sv,"-$&").toLowerCase()}),Au=function(t,r){switch(t){case"animation":case"animationName":if(typeof r=="string")return r.replace(lv,function(o,n,i){return Ye={name:n,styles:i,next:Ye},n})}return Tu[t]!==1&&!Ru(t)&&typeof r=="number"&&r!==0?r+"px":r};function Io(e,t,r){if(r==null)return "";if(r.__emotion_styles!==void 0)return r;switch(typeof r){case"boolean":return "";case"object":{if(r.anim===1)return Ye={name:r.name,styles:r.styles,next:Ye},r.name;if(r.styles!==void 0){var o=r.next;if(o!==void 0)for(;o!==void 0;)Ye={name:o.name,styles:o.styles,next:Ye},o=o.next;var n=r.styles+";";return n}return cv(e,t,r)}case"function":{if(e!==void 0){var i=Ye,a=r(e);return Ye=i,Io(e,t,a)}break}}if(t==null)return r;var c=t[r];return c!==void 0?c:r}function cv(e,t,r){var o="";if(Array.isArray(r))for(var n=0;n<r.length;n++)o+=Io(e,t,r[n])+";";else for(var i in r){var a=r[i];if(typeof a!="object")t!=null&&t[a]!==void 0?o+=i+"{"+t[a]+"}":Pu(a)&&(o+=bs(i)+":"+Au(i,a)+";");else if(Array.isArray(a)&&typeof a[0]=="string"&&(t==null||t[a[0]]===void 0))for(var s=0;s<a.length;s++)Pu(a[s])&&(o+=bs(i)+":"+Au(i,a[s])+";");else {var l=Io(e,t,a);switch(i){case"animation":case"animationName":{o+=bs(i)+":"+l+";";break}default:o+=i+"{"+l+"}";}}}return o}var Eu=/label:\s*([^\s;\n{]+)\s*(;|$)/g;var Ye,ti=function(t,r,o){if(t.length===1&&typeof t[0]=="object"&&t[0]!==null&&t[0].styles!==void 0)return t[0];var n=!0,i="";Ye=void 0;var a=t[0];a==null||a.raw===void 0?(n=!1,i+=Io(o,r,a)):i+=a[0];for(var s=1;s<t.length;s++)i+=Io(o,r,t[s]),n&&(i+=a[s]);Eu.lastIndex=0;for(var c="",u;(u=Eu.exec(i))!==null;)c+="-"+u[1];var f=_u(i)+c;return {name:f,styles:i,next:Ye}};var uv=function(t){return t()},fv=ht__namespace.useInsertionEffect?ht__namespace.useInsertionEffect:!1,oi=fv||uv;var ni=ht__namespace.createContext(typeof HTMLElement!="undefined"?ms({key:"css"}):null);ni.Provider;var ii=function(t){return ht.forwardRef(function(r,o){var n=ht.useContext(ni);return t(r,n,o)})};var Vo=ht__namespace.createContext({});zt(ku());function Iu(){let e=ht.useContext(Vo);if(!e)throw Error("useTheme: `theme` is undefined. Seems you forgot to wrap your app in `<ChakraProvider />` or `<ThemeProvider />`");return e}var xs=ht.createContext({});xs.displayName="ColorModeContext";function Oo(){let e=ht.useContext(xs);if(e===void 0)throw new Error("useColorMode must be used within a ColorModeProvider");return e}function Vu(){let e=Oo(),t=Iu();return v(d({},e),{theme:t})}function je(e){let t=typeof e;return e!=null&&(t==="object"||t==="function")&&!Array.isArray(e)}function Xe(e,...t){return vv(e)?e(...t):e}var vv=e=>typeof e=="function";zt(Ar(),1);var zo=zt(Ar(),1),bf=zt(Ar(),1);var bi=zt(Ar(),1);var fb=e=>/!(important)?$/.test(e),cf=e=>typeof e=="string"?e.replace(/!(important)?$/,"").trim():e,db=(e,t)=>r=>{let o=String(t),n=fb(o),i=cf(o),a=e?`${e}.${i}`:i,s=je(r.__cssMap)&&a in r.__cssMap?r.__cssMap[a].varRef:t;return s=cf(s),n?`${s} !important`:s};function Ls(e){let{scale:t,transform:r,compose:o}=e;return (i,a)=>{var s;let l=db(t,i)(a),c=(s=r==null?void 0:r(l,a))!=null?s:l;return o&&(c=o(c,a)),c}}var hi=(...e)=>t=>e.reduce((r,o)=>o(r),t);function Be(e,t){return r=>{let o={property:r,scale:e};return o.transform=Ls({scale:e,transform:t}),o}}var mb=({rtl:e,ltr:t})=>r=>r.direction==="rtl"?e:t;function pb(e){let{property:t,scale:r,transform:o}=e;return {scale:r,property:mb(t),transform:r?Ls({scale:r,compose:o}):o}}var hf=["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 hb(){return ["translateX(var(--chakra-translate-x, 0))","translateY(var(--chakra-translate-y, 0))",...hf].join(" ")}function gb(){return ["translate3d(var(--chakra-translate-x, 0), var(--chakra-translate-y, 0), 0)",...hf].join(" ")}var yb={"--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(" ")},vb={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 bb(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(", ")}}var xb={"row-reverse":{space:"--chakra-space-x-reverse",divide:"--chakra-divide-x-reverse"},"column-reverse":{space:"--chakra-space-y-reverse",divide:"--chakra-divide-y-reverse"}},Is={"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"},Sb=new Set(Object.values(Is)),Vs=new Set(["none","-moz-initial","inherit","initial","revert","unset"]),Cb=e=>e.trim();function wb(e,t){if(e==null||Vs.has(e))return e;if(!(Os(e)||Vs.has(e)))return `url('${e}')`;let n=/(^[a-z-A-Z]+)\((.*)\)/g.exec(e),i=n==null?void 0:n[1],a=n==null?void 0:n[2];if(!i||!a)return e;let s=i.includes("-gradient")?i:`${i}-gradient`,[l,...c]=a.split(",").map(Cb).filter(Boolean);if((c==null?void 0:c.length)===0)return e;let u=l in Is?Is[l]:l;c.unshift(u);let f=c.map(m=>{if(Sb.has(m))return m;let p=m.indexOf(" "),[g,y]=p!==-1?[m.substr(0,p),m.substr(p+1)]:[m],b=Os(y)?y:y&&y.split(" "),x=`colors.${g}`,S=x in t.__cssMap?t.__cssMap[x].varRef:g;return b?[S,...Array.isArray(b)?b:[b]].join(" "):S});return `${s}(${f.join(", ")})`}var Os=e=>typeof e=="string"&&e.includes("(")&&e.includes(")"),kb=(e,t)=>wb(e,t!=null?t:{});function _b(e){return /^var\(--.+\)$/.test(e)}var Tb=e=>{let t=parseFloat(e.toString()),r=e.toString().replace(String(t),"");return {unitless:!r,value:t,unit:r}},Ze=e=>t=>`${e}(${t})`,B={filter(e){return e!=="auto"?e:yb},backdropFilter(e){return e!=="auto"?e:vb},ring(e){return bb(B.px(e))},bgClip(e){return e==="text"?{color:"transparent",backgroundClip:"text"}:{backgroundClip:e}},transform(e){return e==="auto"?hb():e==="auto-gpu"?gb():e},vh(e){return e==="$100vh"?"var(--chakra-vh)":e},px(e){if(e==null)return e;let{unitless:t}=Tb(e);return t||typeof e=="number"?`${e}px`:e},fraction(e){return typeof e!="number"||e>1?e:`${e*100}%`},float(e,t){let r={left:"right",right:"left"};return t.direction==="rtl"?r[e]:e},degree(e){if(_b(e)||e==null)return e;let t=typeof e=="string"&&!e.endsWith("deg");return typeof e=="number"||t?`${e}deg`:e},gradient:kb,blur:Ze("blur"),opacity:Ze("opacity"),brightness:Ze("brightness"),contrast:Ze("contrast"),dropShadow:Ze("drop-shadow"),grayscale:Ze("grayscale"),hueRotate:Ze("hue-rotate"),invert:Ze("invert"),saturate:Ze("saturate"),sepia:Ze("sepia"),bgImage(e){return e==null||Os(e)||Vs.has(e)?e:`url(${e})`},outline(e){let t=String(e)==="0"||String(e)==="none";return e!==null&&t?{outline:"2px solid transparent",outlineOffset:"2px"}:{outline:e}},flexDirection(e){var t;let{space:r,divide:o}=(t=xb[e])!=null?t:{},n={flexDirection:e};return r&&(n[r]=1),o&&(n[o]=1),n}},h={borderWidths:Be("borderWidths"),borderStyles:Be("borderStyles"),colors:Be("colors"),borders:Be("borders"),gradients:Be("gradients",B.gradient),radii:Be("radii",B.px),space:Be("space",hi(B.vh,B.px)),spaceT:Be("space",hi(B.vh,B.px)),degreeT(e){return {property:e,transform:B.degree}},prop(e,t,r){return d({property:e,scale:t},t&&{transform:Ls({scale:t,transform:r})})},propT(e,t){return {property:e,transform:t}},sizes:Be("sizes",hi(B.vh,B.px)),sizesT:Be("sizes",hi(B.vh,B.fraction)),shadows:Be("shadows"),logical:pb,blur:Be("blur",B.blur)},gi={background:h.colors("background"),backgroundColor:h.colors("backgroundColor"),backgroundImage:h.gradients("backgroundImage"),backgroundSize:!0,backgroundPosition:!0,backgroundRepeat:!0,backgroundAttachment:!0,backgroundClip:{transform:B.bgClip},bgSize:h.prop("backgroundSize"),bgPosition:h.prop("backgroundPosition"),bg:h.colors("background"),bgColor:h.colors("backgroundColor"),bgPos:h.prop("backgroundPosition"),bgRepeat:h.prop("backgroundRepeat"),bgAttachment:h.prop("backgroundAttachment"),bgGradient:h.gradients("backgroundImage"),bgClip:{transform:B.bgClip}};Object.assign(gi,{bgImage:gi.backgroundImage,bgImg:gi.backgroundImage});var z={border:h.borders("border"),borderWidth:h.borderWidths("borderWidth"),borderStyle:h.borderStyles("borderStyle"),borderColor:h.colors("borderColor"),borderRadius:h.radii("borderRadius"),borderTop:h.borders("borderTop"),borderBlockStart:h.borders("borderBlockStart"),borderTopLeftRadius:h.radii("borderTopLeftRadius"),borderStartStartRadius:h.logical({scale:"radii",property:{ltr:"borderTopLeftRadius",rtl:"borderTopRightRadius"}}),borderEndStartRadius:h.logical({scale:"radii",property:{ltr:"borderBottomLeftRadius",rtl:"borderBottomRightRadius"}}),borderTopRightRadius:h.radii("borderTopRightRadius"),borderStartEndRadius:h.logical({scale:"radii",property:{ltr:"borderTopRightRadius",rtl:"borderTopLeftRadius"}}),borderEndEndRadius:h.logical({scale:"radii",property:{ltr:"borderBottomRightRadius",rtl:"borderBottomLeftRadius"}}),borderRight:h.borders("borderRight"),borderInlineEnd:h.borders("borderInlineEnd"),borderBottom:h.borders("borderBottom"),borderBlockEnd:h.borders("borderBlockEnd"),borderBottomLeftRadius:h.radii("borderBottomLeftRadius"),borderBottomRightRadius:h.radii("borderBottomRightRadius"),borderLeft:h.borders("borderLeft"),borderInlineStart:{property:"borderInlineStart",scale:"borders"},borderInlineStartRadius:h.logical({scale:"radii",property:{ltr:["borderTopLeftRadius","borderBottomLeftRadius"],rtl:["borderTopRightRadius","borderBottomRightRadius"]}}),borderInlineEndRadius:h.logical({scale:"radii",property:{ltr:["borderTopRightRadius","borderBottomRightRadius"],rtl:["borderTopLeftRadius","borderBottomLeftRadius"]}}),borderX:h.borders(["borderLeft","borderRight"]),borderInline:h.borders("borderInline"),borderY:h.borders(["borderTop","borderBottom"]),borderBlock:h.borders("borderBlock"),borderTopWidth:h.borderWidths("borderTopWidth"),borderBlockStartWidth:h.borderWidths("borderBlockStartWidth"),borderTopColor:h.colors("borderTopColor"),borderBlockStartColor:h.colors("borderBlockStartColor"),borderTopStyle:h.borderStyles("borderTopStyle"),borderBlockStartStyle:h.borderStyles("borderBlockStartStyle"),borderBottomWidth:h.borderWidths("borderBottomWidth"),borderBlockEndWidth:h.borderWidths("borderBlockEndWidth"),borderBottomColor:h.colors("borderBottomColor"),borderBlockEndColor:h.colors("borderBlockEndColor"),borderBottomStyle:h.borderStyles("borderBottomStyle"),borderBlockEndStyle:h.borderStyles("borderBlockEndStyle"),borderLeftWidth:h.borderWidths("borderLeftWidth"),borderInlineStartWidth:h.borderWidths("borderInlineStartWidth"),borderLeftColor:h.colors("borderLeftColor"),borderInlineStartColor:h.colors("borderInlineStartColor"),borderLeftStyle:h.borderStyles("borderLeftStyle"),borderInlineStartStyle:h.borderStyles("borderInlineStartStyle"),borderRightWidth:h.borderWidths("borderRightWidth"),borderInlineEndWidth:h.borderWidths("borderInlineEndWidth"),borderRightColor:h.colors("borderRightColor"),borderInlineEndColor:h.colors("borderInlineEndColor"),borderRightStyle:h.borderStyles("borderRightStyle"),borderInlineEndStyle:h.borderStyles("borderInlineEndStyle"),borderTopRadius:h.radii(["borderTopLeftRadius","borderTopRightRadius"]),borderBottomRadius:h.radii(["borderBottomLeftRadius","borderBottomRightRadius"]),borderLeftRadius:h.radii(["borderTopLeftRadius","borderBottomLeftRadius"]),borderRightRadius:h.radii(["borderTopRightRadius","borderBottomRightRadius"])};Object.assign(z,{rounded:z.borderRadius,roundedTop:z.borderTopRadius,roundedTopLeft:z.borderTopLeftRadius,roundedTopRight:z.borderTopRightRadius,roundedTopStart:z.borderStartStartRadius,roundedTopEnd:z.borderStartEndRadius,roundedBottom:z.borderBottomRadius,roundedBottomLeft:z.borderBottomLeftRadius,roundedBottomRight:z.borderBottomRightRadius,roundedBottomStart:z.borderEndStartRadius,roundedBottomEnd:z.borderEndEndRadius,roundedLeft:z.borderLeftRadius,roundedRight:z.borderRightRadius,roundedStart:z.borderInlineStartRadius,roundedEnd:z.borderInlineEndRadius,borderStart:z.borderInlineStart,borderEnd:z.borderInlineEnd,borderTopStartRadius:z.borderStartStartRadius,borderTopEndRadius:z.borderStartEndRadius,borderBottomStartRadius:z.borderEndStartRadius,borderBottomEndRadius:z.borderEndEndRadius,borderStartRadius:z.borderInlineStartRadius,borderEndRadius:z.borderInlineEndRadius,borderStartWidth:z.borderInlineStartWidth,borderEndWidth:z.borderInlineEndWidth,borderStartColor:z.borderInlineStartColor,borderEndColor:z.borderInlineEndColor,borderStartStyle:z.borderInlineStartStyle,borderEndStyle:z.borderInlineEndStyle});var Pb={color:h.colors("color"),textColor:h.colors("color"),fill:h.colors("fill"),stroke:h.colors("stroke")},Ns={boxShadow:h.shadows("boxShadow"),mixBlendMode:!0,blendMode:h.prop("mixBlendMode"),backgroundBlendMode:!0,bgBlendMode:h.prop("backgroundBlendMode"),opacity:!0};Object.assign(Ns,{shadow:Ns.boxShadow});var Ab={filter:{transform:B.filter},blur:h.blur("--chakra-blur"),brightness:h.propT("--chakra-brightness",B.brightness),contrast:h.propT("--chakra-contrast",B.contrast),hueRotate:h.degreeT("--chakra-hue-rotate"),invert:h.propT("--chakra-invert",B.invert),saturate:h.propT("--chakra-saturate",B.saturate),dropShadow:h.propT("--chakra-drop-shadow",B.dropShadow),backdropFilter:{transform:B.backdropFilter},backdropBlur:h.blur("--chakra-backdrop-blur"),backdropBrightness:h.propT("--chakra-backdrop-brightness",B.brightness),backdropContrast:h.propT("--chakra-backdrop-contrast",B.contrast),backdropHueRotate:h.degreeT("--chakra-backdrop-hue-rotate"),backdropInvert:h.propT("--chakra-backdrop-invert",B.invert),backdropSaturate:h.propT("--chakra-backdrop-saturate",B.saturate)},yi={alignItems:!0,alignContent:!0,justifyItems:!0,justifyContent:!0,flexWrap:!0,flexDirection:{transform:B.flexDirection},flex:!0,flexFlow:!0,flexGrow:!0,flexShrink:!0,flexBasis:h.sizes("flexBasis"),justifySelf:!0,alignSelf:!0,order:!0,placeItems:!0,placeContent:!0,placeSelf:!0,gap:h.space("gap"),rowGap:h.space("rowGap"),columnGap:h.space("columnGap")};Object.assign(yi,{flexDir:yi.flexDirection});var gf={gridGap:h.space("gridGap"),gridColumnGap:h.space("gridColumnGap"),gridRowGap:h.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},Eb={appearance:!0,cursor:!0,resize:!0,userSelect:!0,pointerEvents:!0,outline:{transform:B.outline},outlineOffset:!0,outlineColor:h.colors("outlineColor")},ze={width:h.sizesT("width"),inlineSize:h.sizesT("inlineSize"),height:h.sizes("height"),blockSize:h.sizes("blockSize"),boxSize:h.sizes(["width","height"]),minWidth:h.sizes("minWidth"),minInlineSize:h.sizes("minInlineSize"),minHeight:h.sizes("minHeight"),minBlockSize:h.sizes("minBlockSize"),maxWidth:h.sizes("maxWidth"),maxInlineSize:h.sizes("maxInlineSize"),maxHeight:h.sizes("maxHeight"),maxBlockSize:h.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 r,o,n;return {[`@media screen and (min-width: ${(n=(o=(r=t.__breakpoints)==null?void 0:r.get(e))==null?void 0:o.minW)!=null?n:e})`]:{display:"none"}}}},hideBelow:{scale:"breakpoints",transform:(e,t)=>{var r,o,n;return {[`@media screen and (max-width: ${(n=(o=(r=t.__breakpoints)==null?void 0:r.get(e))==null?void 0:o._minW)!=null?n:e})`]:{display:"none"}}}},verticalAlign:!0,boxSizing:!0,boxDecorationBreak:!0,float:h.propT("float",B.float),objectFit:!0,objectPosition:!0,visibility:!0,isolation:!0};Object.assign(ze,{w:ze.width,h:ze.height,minW:ze.minWidth,maxW:ze.maxWidth,minH:ze.minHeight,maxH:ze.maxHeight,overscroll:ze.overscrollBehavior,overscrollX:ze.overscrollBehaviorX,overscrollY:ze.overscrollBehaviorY});var Rb={listStyleType:!0,listStylePosition:!0,listStylePos:h.prop("listStylePosition"),listStyleImage:!0,listStyleImg:h.prop("listStyleImage")};function Mb(e,t,r,o){let n=typeof t=="string"?t.split("."):[t];for(o=0;o<n.length&&e;o+=1)e=e[n[o]];return e===void 0?r:e}var Ib=e=>{let t=new WeakMap;return (o,n,i,a)=>{if(typeof o=="undefined")return e(o,n,i);t.has(o)||t.set(o,new Map);let s=t.get(o);if(s.has(n))return s.get(n);let l=e(o,n,i,a);return s.set(n,l),l}},Vb=Ib(Mb),Ob={border:"0px",clip:"rect(0, 0, 0, 0)",width:"1px",height:"1px",margin:"-1px",padding:"0px",overflow:"hidden",whiteSpace:"nowrap",position:"absolute"},Nb={position:"static",width:"auto",height:"auto",clip:"auto",padding:"0",margin:"0",overflow:"visible",whiteSpace:"normal"},Ms=(e,t,r)=>{let o={},n=Vb(e,t,{});for(let i in n)i in r&&r[i]!=null||(o[i]=n[i]);return o},$b={srOnly:{transform(e){return e===!0?Ob:e==="focusable"?Nb:{}}},layerStyle:{processResult:!0,transform:(e,t,r)=>Ms(t,`layerStyles.${e}`,r)},textStyle:{processResult:!0,transform:(e,t,r)=>Ms(t,`textStyles.${e}`,r)},apply:{processResult:!0,transform:(e,t,r)=>Ms(t,e,r)}},Fo={position:!0,pos:h.prop("position"),zIndex:h.prop("zIndex","zIndices"),inset:h.spaceT("inset"),insetX:h.spaceT(["left","right"]),insetInline:h.spaceT("insetInline"),insetY:h.spaceT(["top","bottom"]),insetBlock:h.spaceT("insetBlock"),top:h.spaceT("top"),insetBlockStart:h.spaceT("insetBlockStart"),bottom:h.spaceT("bottom"),insetBlockEnd:h.spaceT("insetBlockEnd"),left:h.spaceT("left"),insetInlineStart:h.logical({scale:"space",property:{ltr:"left",rtl:"right"}}),right:h.spaceT("right"),insetInlineEnd:h.logical({scale:"space",property:{ltr:"right",rtl:"left"}})};Object.assign(Fo,{insetStart:Fo.insetInlineStart,insetEnd:Fo.insetInlineEnd});var Lb={ring:{transform:B.ring},ringColor:h.colors("--chakra-ring-color"),ringOffset:h.prop("--chakra-ring-offset-width"),ringOffsetColor:h.colors("--chakra-ring-offset-color"),ringInset:h.prop("--chakra-ring-inset")},q={margin:h.spaceT("margin"),marginTop:h.spaceT("marginTop"),marginBlockStart:h.spaceT("marginBlockStart"),marginRight:h.spaceT("marginRight"),marginInlineEnd:h.spaceT("marginInlineEnd"),marginBottom:h.spaceT("marginBottom"),marginBlockEnd:h.spaceT("marginBlockEnd"),marginLeft:h.spaceT("marginLeft"),marginInlineStart:h.spaceT("marginInlineStart"),marginX:h.spaceT(["marginInlineStart","marginInlineEnd"]),marginInline:h.spaceT("marginInline"),marginY:h.spaceT(["marginTop","marginBottom"]),marginBlock:h.spaceT("marginBlock"),padding:h.space("padding"),paddingTop:h.space("paddingTop"),paddingBlockStart:h.space("paddingBlockStart"),paddingRight:h.space("paddingRight"),paddingBottom:h.space("paddingBottom"),paddingBlockEnd:h.space("paddingBlockEnd"),paddingLeft:h.space("paddingLeft"),paddingInlineStart:h.space("paddingInlineStart"),paddingInlineEnd:h.space("paddingInlineEnd"),paddingX:h.space(["paddingInlineStart","paddingInlineEnd"]),paddingInline:h.space("paddingInline"),paddingY:h.space(["paddingTop","paddingBottom"]),paddingBlock:h.space("paddingBlock")};Object.assign(q,{m:q.margin,mt:q.marginTop,mr:q.marginRight,me:q.marginInlineEnd,marginEnd:q.marginInlineEnd,mb:q.marginBottom,ml:q.marginLeft,ms:q.marginInlineStart,marginStart:q.marginInlineStart,mx:q.marginX,my:q.marginY,p:q.padding,pt:q.paddingTop,py:q.paddingY,px:q.paddingX,pb:q.paddingBottom,pl:q.paddingLeft,ps:q.paddingInlineStart,paddingStart:q.paddingInlineStart,pr:q.paddingRight,pe:q.paddingInlineEnd,paddingEnd:q.paddingInlineEnd});var Db={textDecorationColor:h.colors("textDecorationColor"),textDecoration:!0,textDecor:{property:"textDecoration"},textDecorationLine:!0,textDecorationStyle:!0,textDecorationThickness:!0,textUnderlineOffset:!0,textShadow:h.shadows("textShadow")},jb={clipPath:!0,transform:h.propT("transform",B.transform),transformOrigin:!0,translateX:h.spaceT("--chakra-translate-x"),translateY:h.spaceT("--chakra-translate-y"),skewX:h.degreeT("--chakra-skew-x"),skewY:h.degreeT("--chakra-skew-y"),scaleX:h.prop("--chakra-scale-x"),scaleY:h.prop("--chakra-scale-y"),scale:h.prop(["--chakra-scale-x","--chakra-scale-y"]),rotate:h.degreeT("--chakra-rotate")},Bb={transition:!0,transitionDelay:!0,animation:!0,willChange:!0,transitionDuration:h.prop("transitionDuration","transition.duration"),transitionProperty:h.prop("transitionProperty","transition.property"),transitionTimingFunction:h.prop("transitionTimingFunction","transition.easing")},zb={fontFamily:h.prop("fontFamily","fonts"),fontSize:h.prop("fontSize","fontSizes",B.px),fontWeight:h.prop("fontWeight","fontWeights"),lineHeight:h.prop("lineHeight","lineHeights"),letterSpacing:h.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"}},Fb={scrollBehavior:!0,scrollSnapAlign:!0,scrollSnapStop:!0,scrollSnapType:!0,scrollMargin:h.spaceT("scrollMargin"),scrollMarginTop:h.spaceT("scrollMarginTop"),scrollMarginBottom:h.spaceT("scrollMarginBottom"),scrollMarginLeft:h.spaceT("scrollMarginLeft"),scrollMarginRight:h.spaceT("scrollMarginRight"),scrollMarginX:h.spaceT(["scrollMarginLeft","scrollMarginRight"]),scrollMarginY:h.spaceT(["scrollMarginTop","scrollMarginBottom"]),scrollPadding:h.spaceT("scrollPadding"),scrollPaddingTop:h.spaceT("scrollPaddingTop"),scrollPaddingBottom:h.spaceT("scrollPaddingBottom"),scrollPaddingLeft:h.spaceT("scrollPaddingLeft"),scrollPaddingRight:h.spaceT("scrollPaddingRight"),scrollPaddingX:h.spaceT(["scrollPaddingLeft","scrollPaddingRight"]),scrollPaddingY:h.spaceT(["scrollPaddingTop","scrollPaddingBottom"])};function yf(e){return je(e)&&e.reference?e.reference:String(e)}var xi=(e,...t)=>t.map(yf).join(` ${e} `).replace(/calc/g,""),uf=(...e)=>`calc(${xi("+",...e)})`,ff=(...e)=>`calc(${xi("-",...e)})`,$s=(...e)=>`calc(${xi("*",...e)})`,df=(...e)=>`calc(${xi("/",...e)})`,mf=e=>{let t=yf(e);return t!=null&&!Number.isNaN(parseFloat(t))?String(t).startsWith("-")?String(t).slice(1):`-${t}`:$s(t,-1)},Bo=Object.assign(e=>({add:(...t)=>Bo(uf(e,...t)),subtract:(...t)=>Bo(ff(e,...t)),multiply:(...t)=>Bo($s(e,...t)),divide:(...t)=>Bo(df(e,...t)),negate:()=>Bo(mf(e)),toString:()=>e.toString()}),{add:uf,subtract:ff,multiply:$s,divide:df,negate:mf});function Wb(e,t="-"){return e.replace(/\s+/g,t)}function Hb(e){let t=Wb(e.toString());return Ub(Gb(t))}function Gb(e){return e.includes("\\.")?e:!Number.isInteger(parseFloat(e.toString()))?e.replace(".","\\."):e}function Ub(e){return e.replace(/[!-,/:-@[-^`{-~]/g,"\\$&")}function Kb(e,t=""){return [t,e].filter(Boolean).join("-")}function qb(e,t){return `var(${e}${t?`, ${t}`:""})`}function Yb(e,t=""){return Hb(`--${Kb(e,t)}`)}function N(e,t,r){let o=Yb(e,r);return {variable:o,reference:qb(o,t)}}function Xb(e){let t=parseFloat(e.toString()),r=e.toString().replace(String(t),"");return {unitless:!r,value:t,unit:r}}function pf(e){if(e==null)return e;let{unitless:t}=Xb(e);return t||typeof e=="number"?`${e}px`:e}function Zb(e,t){let r=["@media screen"];return e&&r.push("and",`(min-width: ${pf(e)})`),t&&r.push("and",`(max-width: ${pf(t)})`),r.join(" ")}var me={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}`,indeterminate:(e,t)=>`${e}:indeterminate ${t}, ${e}[aria-checked=mixed] ${t}, ${e}[data-indeterminate] ${t}`,readOnly:(e,t)=>`${e}:read-only ${t}, ${e}[readonly] ${t}, ${e}[data-read-only] ${t}`,expanded:(e,t)=>`${e}:read-only ${t}, ${e}[aria-expanded=true] ${t}, ${e}[data-expanded] ${t}`,placeholderShown:(e,t)=>`${e}:placeholder-shown ${t}`},xt=e=>vf(t=>e(t,"&"),"[role=group]","[data-group]",".group"),st=e=>vf(t=>e(t,"~ &"),"[data-peer]",".peer"),vf=(e,...t)=>t.map(e).join(", "),Ds={_hover:"&:hover, &[data-hover]",_active:"&:active, &[data-active]",_focus:"&:focus, &[data-focus]",_highlighted:"&[data-highlighted]",_focusWithin:"&: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",_expanded:"&[aria-expanded=true], &[data-expanded]",_checked:"&[aria-checked=true], &[data-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]",_groupHover:xt(me.hover),_peerHover:st(me.hover),_groupFocus:xt(me.focus),_peerFocus:st(me.focus),_groupFocusVisible:xt(me.focusVisible),_peerFocusVisible:st(me.focusVisible),_groupActive:xt(me.active),_peerActive:st(me.active),_groupDisabled:xt(me.disabled),_peerDisabled:st(me.disabled),_groupInvalid:xt(me.invalid),_peerInvalid:st(me.invalid),_groupChecked:xt(me.checked),_peerChecked:st(me.checked),_groupFocusWithin:xt(me.focusWithin),_peerFocusWithin:st(me.focusWithin),_peerPlaceholderShown:st(me.placeholderShown),_placeholder:"&::placeholder",_placeholderShown:"&:placeholder-shown",_fullScreen:"&: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]"},Jb=Object.keys(Ds);var js=(0, bf.default)({},gi,z,Pb,yi,ze,Ab,Lb,Eb,gf,$b,Fo,Ns,q,Fb,zb,Db,jb,Rb,Bb);Object.assign({},q,ze,yi,gf,Fo);var xf=[...Object.keys(js),...Jb],tx=d(d({},js),Ds),Sf=e=>e in tx,rx=e=>t=>{if(!t.__breakpoints)return e;let{isResponsive:r,toArrayValue:o,media:n}=t.__breakpoints,i={};for(let a in e){let s=Xe(e[a],t);if(s==null)continue;if(s=je(s)&&r(s)?o(s):s,!Array.isArray(s)){i[a]=s;continue}let l=s.slice(0,n.length).length;for(let c=0;c<l;c+=1){let u=n==null?void 0:n[c];if(!u){i[a]=s[c];continue}i[u]=i[u]||{},s[c]!=null&&(i[u][a]=s[c]);}}return i};function ox(e){let t=[],r="",o=!1;for(let n=0;n<e.length;n++){let i=e[n];i==="("?(o=!0,r+=i):i===")"?(o=!1,r+=i):i===","&&!o?(t.push(r),r=""):r+=i;}return r=r.trim(),r&&t.push(r),t}function nx(e){return /^var\(--.+\)$/.test(e)}var ix=(e,t)=>e.startsWith("--")&&typeof t=="string"&&!nx(t),ax=(e,t)=>{var r,o;if(t==null)return t;let n=l=>{var c,u;return (u=(c=e.__cssMap)==null?void 0:c[l])==null?void 0:u.varRef},i=l=>{var c;return (c=n(l))!=null?c:l},[a,s]=ox(t);return t=(o=(r=n(a))!=null?r:i(s))!=null?o:i(t),t};function sx(e){let{configs:t={},pseudos:r={},theme:o}=e,n=(i,a=!1)=>{var s,l,c;let u=Xe(i,o),f=rx(u)(o),m={};for(let p in f){let g=f[p],y=Xe(g,o);p in r&&(p=r[p]),ix(p,y)&&(y=ax(o,y));let b=t[p];if(b===!0&&(b={property:p}),je(y)){m[p]=(s=m[p])!=null?s:{},m[p]=(0, zo.default)({},m[p],n(y,!0));continue}let x=(c=(l=b==null?void 0:b.transform)==null?void 0:l.call(b,y,o,u))!=null?c:y;x=b!=null&&b.processResult?n(x,!0):x;let S=Xe(b==null?void 0:b.property,o);if(!a&&(b!=null&&b.static)){let C=Xe(b.static,o);m=(0, zo.default)({},m,C);}if(S&&Array.isArray(S)){for(let C of S)m[C]=x;continue}if(S){S==="&"&&je(x)?m=(0, zo.default)({},m,x):m[S]=x;continue}if(je(x)){m=(0, zo.default)({},m,x);continue}m[p]=x;}return m};return n}var Cf=e=>t=>sx({theme:t,pseudos:Ds,configs:js})(e);function T(e){return {definePartsStyle(t){return t},defineMultiStyleConfig(t){return d({parts:e},t)}}}function lx(e,t){if(Array.isArray(e))return e;if(je(e))return t(e);if(e!=null)return [e]}function cx(e,t){for(let r=t+1;r<e.length;r++)if(e[r]!=null)return r;return -1}function ux(e){let t=e.__breakpoints;return function(o,n,i,a){var s,l;if(!t)return;let c={},u=lx(i,t.toArrayValue);if(!u)return c;let f=u.length,m=f===1,p=!!o.parts;for(let g=0;g<f;g++){let y=t.details[g],b=t.details[cx(u,g)],x=Zb(y.minW,b==null?void 0:b._minW),S=Xe((s=o[n])==null?void 0:s[u[g]],a);if(S){if(p){(l=o.parts)==null||l.forEach(C=>{(0, bi.default)(c,{[C]:m?S[C]:{[x]:S[C]}});});continue}if(!p){m?(0, bi.default)(c,S):c[x]=S;continue}c[x]=S;}}return c}}function wf(e){return t=>{var r;let{variant:o,size:n,theme:i}=t,a=ux(i);return (0, bi.default)({},Xe((r=e.baseStyle)!=null?r:{},t),a(e,"sizes",n,t),a(e,"variants",o,t))}}function M(e,t={}){let r=!1;function o(){if(!r){r=!0;return}throw new Error("[anatomy] .part(...) should only be called once. Did you mean to use .extend(...) ?")}function n(...u){o();for(let f of u)t[f]=l(f);return M(e,t)}function i(...u){for(let f of u)f in t||(t[f]=l(f));return M(e,t)}function a(){return Object.fromEntries(Object.entries(t).map(([f,m])=>[f,m.selector]))}function s(){return Object.fromEntries(Object.entries(t).map(([f,m])=>[f,m.className]))}function l(u){let p=`chakra-${(["container","root"].includes(u!=null?u:"")?[e]:[e,u]).filter(Boolean).join("__")}`;return {className:p,selector:`.${p}`,toString:()=>u}}return {parts:n,toPart:l,extend:i,selectors:a,classnames:s,get keys(){return Object.keys(t)},__type:{}}}M("accordion").parts("root","container","button","panel").extend("icon");var Wo=M("alert").parts("title","description","container").extend("icon","spinner");M("avatar").parts("label","badge","container").extend("excessLabel","group");M("breadcrumb").parts("link","item","container").extend("separator");M("button").parts();var Bs=M("checkbox").parts("control","icon","container").extend("label");M("progress").parts("track","filledTrack").extend("label");var zs=M("drawer").parts("overlay","dialogContainer","dialog").extend("header","closeButton","body","footer");M("editable").parts("preview","input","textarea");var Fs=M("form").parts("container","requiredIndicator","helperText");M("formError").parts("text","icon");var Kt=M("input").parts("addon","field","element","group");M("list").parts("container","item","icon");var Ho=M("menu").parts("button","list","item").extend("groupTitle","icon","command","divider"),Go=M("modal").parts("overlay","dialogContainer","dialog").extend("header","closeButton","body","footer");M("numberinput").parts("root","field","stepperGroup","stepper");M("pininput").parts("field");var Ws=M("popover").parts("content","header","body","footer").extend("popper","arrow","closeButton"),Uo=M("progress").parts("label","filledTrack","track"),Hs=M("radio").parts("container","control","label");M("select").parts("field","icon");var Gs=M("slider").parts("container","track","thumb","filledTrack","mark");M("stat").parts("container","label","helpText","number","icon");var Ko=M("switch").parts("container","track","thumb");M("table").parts("table","thead","tbody","tr","th","td","tfoot","caption");M("tabs").parts("root","tab","tablist","tabpanel","tabpanels","indicator");M("tag").parts("container","label","closeButton");var Us=M("card").parts("container","header","body","footer");function qt(e,t,r){return Math.min(Math.max(e,r),t)}var Ks=class extends Error{constructor(t){super(`Failed to parse color: "${t}"`);}},qo=Ks;function qs(e){if(typeof e!="string")throw new qo(e);if(e.trim().toLowerCase()==="transparent")return [0,0,0,0];let t=e.trim();t=Vx.test(e)?Ax(e):e;let r=Ex.exec(t);if(r){let a=Array.from(r).slice(1);return [...a.slice(0,3).map(s=>parseInt(Yo(s,2),16)),parseInt(Yo(a[3]||"f",2),16)/255]}let o=Rx.exec(t);if(o){let a=Array.from(o).slice(1);return [...a.slice(0,3).map(s=>parseInt(s,16)),parseInt(a[3]||"ff",16)/255]}let n=Mx.exec(t);if(n){let a=Array.from(n).slice(1);return [...a.slice(0,3).map(s=>parseInt(s,10)),parseFloat(a[3]||"1")]}let i=Ix.exec(t);if(i){let[a,s,l,c]=Array.from(i).slice(1).map(parseFloat);if(qt(0,100,s)!==s)throw new qo(e);if(qt(0,100,l)!==l)throw new qo(e);return [...Ox(a,s,l),Number.isNaN(c)?1:c]}throw new qo(e)}function Tx(e){let t=5381,r=e.length;for(;r;)t=t*33^e.charCodeAt(--r);return (t>>>0)%2341}var kf=e=>parseInt(e.replace(/_/g,""),36),Px="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)=>{let r=kf(t.substring(0,3)),o=kf(t.substring(3)).toString(16),n="";for(let i=0;i<6-o.length;i++)n+="0";return e[r]=`${n}${o}`,e},{});function Ax(e){let t=e.toLowerCase().trim(),r=Px[Tx(t)];if(!r)throw new qo(e);return `#${r}`}var Yo=(e,t)=>Array.from(Array(t)).map(()=>e).join(""),Ex=new RegExp(`^#${Yo("([a-f0-9])",3)}([a-f0-9])?$`,"i"),Rx=new RegExp(`^#${Yo("([a-f0-9]{2})",3)}([a-f0-9]{2})?$`,"i"),Mx=new RegExp(`^rgba?\\(\\s*(\\d+)\\s*${Yo(",\\s*(\\d+)\\s*",2)}(?:,\\s*([\\d.]+))?\\s*\\)$`,"i"),Ix=/^hsla?\(\s*([\d.]+)\s*,\s*([\d.]+)%\s*,\s*([\d.]+)%(?:\s*,\s*([\d.]+))?\s*\)$/i,Vx=/^[a-z]+$/i,_f=e=>Math.round(e*255),Ox=(e,t,r)=>{let o=r/100;if(t===0)return [o,o,o].map(_f);let n=(e%360+360)%360/60,i=(1-Math.abs(2*o-1))*(t/100),a=i*(1-Math.abs(n%2-1)),s=0,l=0,c=0;n>=0&&n<1?(s=i,l=a):n>=1&&n<2?(s=a,l=i):n>=2&&n<3?(l=i,c=a):n>=3&&n<4?(l=a,c=i):n>=4&&n<5?(s=a,c=i):n>=5&&n<6&&(s=i,c=a);let u=o-i/2,f=s+u,m=l+u,p=c+u;return [f,m,p].map(_f)};function Nx(e,t,r,o){return `rgba(${qt(0,255,e).toFixed()}, ${qt(0,255,t).toFixed()}, ${qt(0,255,r).toFixed()}, ${parseFloat(qt(0,1,o).toFixed(3))})`}function Tf(e,t){let[r,o,n,i]=qs(e);return Nx(r,o,n,i-t)}function Pf(e){let[t,r,o,n]=qs(e),i=a=>{let s=qt(0,255,a).toString(16);return s.length===1?`0${s}`:s};return `#${i(t)}${i(r)}${i(o)}${n<1?i(Math.round(n*255)):""}`}function $x(e,t,r,o,n){for(t=t.split?t.split("."):t,o=0;o<t.length;o++)e=e?e[t[o]]:n;return e===n?r:e}var ae=(e,t,r)=>{let o=$x(e,`colors.${t}`,t);try{return Pf(o),o}catch(n){return r!=null?r:"#000000"}};var te=(e,t)=>r=>{let o=ae(r,e);return Tf(o,1-t)};function Y(e,t){return r=>r.colorMode==="dark"?t:e}function Af(e){return !Number.isInteger(parseFloat(e.toString()))}function Lx(e,t="-"){return e.replace(/\s+/g,t)}function Ef(e){let t=Lx(e.toString());return t.includes("\\.")?e:Af(e)?t.replace(".","\\."):e}function Rf(e,t=""){return [t,Ef(e)].filter(Boolean).join("-")}function Mf(e,t){return `var(${Ef(e)}${t?`, ${t}`:""})`}function If(e,t=""){return `--${Rf(e,t)}`}function Ue(e,t){let r=If(e,t==null?void 0:t.prefix);return {variable:r,reference:Mf(r,Dx(t==null?void 0:t.fallback))}}function Dx(e){return typeof e=="string"?e:e==null?void 0:e.reference}var xe=e=>e?"":void 0;var _=(...e)=>e.filter(Boolean).join(" ");var Si=zt(Ar(),1);function Ys(e,t){let r={};return Object.keys(e).forEach(o=>{t.includes(o)||(r[o]=e[o]);}),r}function Vf(e,t,r,o){let n=typeof t=="string"?t.split("."):[t];for(o=0;o<n.length&&e;o+=1)e=e[n[o]];return e===void 0?r:e}var Of=e=>{let t=new WeakMap;return (o,n,i,a)=>{if(typeof o=="undefined")return e(o,n,i);t.has(o)||t.set(o,new Map);let s=t.get(o);if(s.has(n))return s.get(n);let l=e(o,n,i,a);return s.set(n,l),l}},Xs=Of(Vf);function Ci(e,t){let r={};return Object.keys(e).forEach(o=>{let n=e[o];t(n,o,e)&&(r[o]=n);}),r}var Xo=e=>Ci(e,t=>t!=null);function Nf(e){return typeof e=="function"}function se(e,...t){return Nf(e)?e(...t):e}function St(...e){return function(r){e.some(o=>(o==null||o(r),r==null?void 0:r.defaultPrevented));}}var Df=zt(Lf(),1);function Hx(e,t={}){var r;let f=t,{styleConfig:o}=f,n=k(f,["styleConfig"]),{theme:i,colorMode:a}=Vu(),s=e?Xs(i,`components.${e}`):void 0,l=o||s,c=(0, Si.default)({theme:i,colorMode:a},(r=l==null?void 0:l.defaultProps)!=null?r:{},Xo(Ys(n,["children"]))),u=ht.useRef({});if(l){let p=wf(l)(c);(0, Df.default)(u.current,p)||(u.current=p);}return u.current}function Zs(e,t={}){return Hx(e,t)}var Gx=new Set([...xf,"textStyle","layerStyle","apply","noOfLines","focusBorderColor","errorBorderColor","as","__css","css","sx"]),Ux=new Set(["htmlWidth","htmlHeight","htmlSize","htmlTranslate"]);function jf(e){return Ux.has(e)||!Gx.has(e)}function Js(e,...t){if(e==null)throw new TypeError("Cannot convert undefined or null to object");let r=d({},e);for(let o of t)if(o!=null)for(let n in o)Object.prototype.hasOwnProperty.call(o,n)&&(n in r&&delete r[n],r[n]=o[n]);return r}var Kx=/^((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|download|draggable|encType|enterKeyHint|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|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)-.*))$/,Bf=Fn(function(e){return Kx.test(e)||e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)<91});var qx=Bf,Yx=function(t){return t!=="theme"},zf=function(t){return typeof t=="string"&&t.charCodeAt(0)>96?qx:Yx},Ff=function(t,r,o){var n;if(r){var i=r.shouldForwardProp;n=t.__emotion_forwardProp&&i?function(a){return t.__emotion_forwardProp(a)&&i(a)}:i;}return typeof n!="function"&&o&&(n=t.__emotion_forwardProp),n};var Xx=function(t){var r=t.cache,o=t.serialized,n=t.isStringTag;return Mo(r,o,n),oi(function(){return ei(r,o,n)}),null},Wf=function e(t,r){var o=t.__emotion_real===t,n=o&&t.__emotion_base||t,i,a;r!==void 0&&(i=r.label,a=r.target);var s=Ff(t,r,o),l=s||zf(n),c=!l("as");return function(){var u=arguments,f=o&&t.__emotion_styles!==void 0?t.__emotion_styles.slice(0):[];if(i!==void 0&&f.push("label:"+i+";"),u[0]==null||u[0].raw===void 0)f.push.apply(f,u);else {f.push(u[0][0]);for(var m=u.length,p=1;p<m;p++)f.push(u[p],u[0][p]);}var g=ii(function(y,b,x){var S=c&&y.as||n,C="",w=[],P=y;if(y.theme==null){P={};for(var R in y)P[R]=y[R];P.theme=ht__namespace.useContext(Vo);}typeof y.className=="string"?C=Qn(b.registered,w,y.className):y.className!=null&&(C=y.className+" ");var A=ti(f.concat(w),b.registered,P);C+=b.key+"-"+A.name,a!==void 0&&(C+=" "+a);var I=c&&s===void 0?zf(S):l,O={};for(var F in y)c&&F==="as"||I(F)&&(O[F]=y[F]);return O.className=C,O.ref=x,ht__namespace.createElement(ht__namespace.Fragment,null,ht__namespace.createElement(Xx,{cache:b,serialized:A,isStringTag:typeof S=="string"}),ht__namespace.createElement(S,O))});return g.displayName=i!==void 0?i:"Styled("+(typeof n=="string"?n:n.displayName||n.name||"Component")+")",g.defaultProps=t.defaultProps,g.__emotion_real=g,g.__emotion_base=n,g.__emotion_styles=f,g.__emotion_forwardProp=s,Object.defineProperty(g,"toString",{value:function(){return "."+a}}),g.withComponent=function(y,b){return e(y,kr({},r,b,{shouldForwardProp:Ff(g,b,!0)})).apply(void 0,f)},g}};var Zx=["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"],Zo=Wf.bind();Zx.forEach(function(e){Zo[e]=Zo(e);});var Gf,Jx=(Gf=Zo.default)!=null?Gf:Zo,Qx=({baseStyle:e})=>t=>{let f=t,{theme:r,css:o,__css:n,sx:i}=f,a=k(f,["theme","css","__css","sx"]),s=Ci(a,(m,p)=>Sf(p)),l=se(e,t),c=Js({},n,l,Xo(s),i),u=Cf(c)(t.theme);return o?[u,o]:u};function ki(e,t){let s=t!=null?t:{},{baseStyle:r}=s,o=k(s,["baseStyle"]);o.shouldForwardProp||(o.shouldForwardProp=jf);let n=Qx({baseStyle:r}),i=Jx(e,o)(n);return ht__namespace.default.forwardRef(function(c,u){let{colorMode:f,forced:m}=Oo();return ht__namespace.default.createElement(i,d({ref:u,"data-theme":m?f:void 0},c))})}function eS(){let e=new Map;return new Proxy(ki,{apply(t,r,o){return ki(...o)},get(t,r){return e.has(r)||e.set(r,ki(r)),e.get(r)}})}var Er=eS();function Jo(e){return ht.forwardRef(e)}function Oe(e={}){let{strict:t=!0,errorMessage:r="useContext: `context` is undefined. Seems you forgot to wrap component within the Provider",name:o}=e,n=ht.createContext(void 0);n.displayName=o;function i(){var a;let s=ht.useContext(n);if(!s&&t){let l=new Error(r);throw l.name="ContextError",(a=Error.captureStackTrace)==null||a.call(Error,l,i),l}return s}return [n.Provider,i,n]}var _i=(...e)=>e.filter(Boolean).join(" "),Uf={path:jsxRuntime.jsxs("g",{stroke:"currentColor",strokeWidth:"1.5",children:[jsxRuntime.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"}),jsxRuntime.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"}),jsxRuntime.jsx("circle",{fill:"none",strokeMiterlimit:"10",cx:"12",cy:"12",r:"11.25"})]}),viewBox:"0 0 24 24"},qf=Jo((e,t)=>{let b=e,{as:r,viewBox:o,color:n="currentColor",focusable:i=!1,children:a,className:s,__css:l}=b,c=k(b,["as","viewBox","color","focusable","children","className","__css"]),u=_i("chakra-icon",s),f=Zs("Icon",e),m=d(d({w:"1em",h:"1em",display:"inline-block",lineHeight:"1em",flexShrink:0,color:n},l),f),p={ref:t,focusable:i,className:u,__css:m},g=o!=null?o:Uf.viewBox;if(r&&typeof r!="string")return jsxRuntime.jsx(Er.svg,d(d({as:r},p),c));let y=a!=null?a:Uf.path;return jsxRuntime.jsx(Er.svg,v(d(d({verticalAlign:"middle",viewBox:g},p),c),{children:y}))});qf.displayName="Icon";function aS(e){let{viewBox:t="0 0 24 24",d:r,displayName:o,defaultProps:n={}}=e,i=ht.Children.toArray(e.path),a=Jo((s,l)=>jsxRuntime.jsx(qf,v(d(d({ref:l,viewBox:t},n),s),{children:i.length?i:jsxRuntime.jsx("path",{fill:"currentColor",d:r})})));return a.displayName=o,a}var Se=e=>aS(d({viewBox:"0 0 24 24",defaultProps:{fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}},e));Se({displayName:"ChevronUpIcon",path:jsxRuntime.jsx("polyline",{points:"18 15 12 9 6 15"})});Se({displayName:"ChevronDownIcon",path:jsxRuntime.jsx("polyline",{points:"6 9 12 15 18 9"})});Se({displayName:"ChevronLeftIcon",path:jsxRuntime.jsx("polyline",{points:"15 18 9 12 15 6"})});Se({displayName:"ChevronRightIcon",path:jsxRuntime.jsx("polyline",{points:"9 18 15 12 9 6"})});Se({displayName:"ChevronDownIcon",path:jsxRuntime.jsxs("g",{fill:"none",children:[jsxRuntime.jsx("line",{x1:"3",y1:"12",x2:"21",y2:"12"}),jsxRuntime.jsx("line",{x1:"3",y1:"6",x2:"21",y2:"6"}),jsxRuntime.jsx("line",{x1:"3",y1:"18",x2:"21",y2:"18"})]})});var Jf=Se({displayName:"CloseIcon",path:jsxRuntime.jsxs("g",{children:[jsxRuntime.jsx("line",{x1:"18",y1:"6",x2:"6",y2:"18"}),jsxRuntime.jsx("line",{x1:"6",y1:"6",x2:"18",y2:"18"})]})});Se({displayName:"FilterIcon",path:jsxRuntime.jsx("polygon",{points:"22 3 2 3 10 12.46 10 19 14 21 14 12.46 22 3"})});Se({displayName:"CalendarIcon",path:jsxRuntime.jsxs("g",{children:[jsxRuntime.jsx("rect",{x:"3",y:"4",width:"18",height:"18",rx:"2",ry:"2"}),jsxRuntime.jsx("line",{x1:"16",y1:"2",x2:"16",y2:"6"}),jsxRuntime.jsx("line",{x1:"8",y1:"2",x2:"8",y2:"6"}),jsxRuntime.jsx("line",{x1:"3",y1:"10",x2:"21",y2:"10"})]})});Se({displayName:"PlusIcon",path:jsxRuntime.jsxs("g",{children:[jsxRuntime.jsx("line",{x1:"12",y1:"5",x2:"12",y2:"19"}),jsxRuntime.jsx("line",{x1:"5",y1:"12",x2:"19",y2:"12"})]})});Se({displayName:"MinusIcon",path:jsxRuntime.jsx("g",{children:jsxRuntime.jsx("line",{x1:"5",y1:"12",x2:"19",y2:"12"})})});Se({displayName:"ViewOffIcon",path:jsxRuntime.jsxs("g",{children:[jsxRuntime.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"}),jsxRuntime.jsx("line",{x1:"1",y1:"1",x2:"23",y2:"23"})]})});Se({displayName:"ViewOffIcon",path:jsxRuntime.jsxs("g",{children:[jsxRuntime.jsx("path",{d:"M1 12s4-8 11-8 11 8 11 8-4 8-11 8-11-8-11-8z"}),jsxRuntime.jsx("circle",{cx:"12",cy:"12",r:"3"})]})});var Qf=Se({displayName:"SearchIcon",path:jsxRuntime.jsxs("g",{children:[jsxRuntime.jsx("circle",{cx:"11",cy:"11",r:"8"}),jsxRuntime.jsx("line",{x1:"21",y1:"21",x2:"16.65",y2:"16.65"})]})});Se({displayName:"CheckIcon",path:jsxRuntime.jsx("g",{children:jsxRuntime.jsx("polyline",{points:"20 6 9 17 4 12"})})});var ed=M("app-shell").parts("container","inner","main"),Qs=M("emptystate").parts("container","body","icon","title","descripton","actions","footer"),td=M("banner").parts("container","icon","content","title","description","actions","close"),rd=M("hotkeys").parts("container","group","groupTitle","item","command","then"),od=M("loading-overlay").parts("overlay","text"),nd=M("nav-group").parts("container","title","icon","content"),id=M("nav-item").parts("item","link","inner","icon","label"),ad=M("nprogress").parts("container","bar"),sd=M("persona").parts("container","details","avatar","label","secondaryLabel","tertiaryLabel"),ld=M("search-input").parts("input","reset"),cd=M("sidebar").parts("container","overlay","section","toggleWrapper","toggle");M("stepper").parts("container","steps","icon","content","title","separator");var ud=M("structured-list").parts("list","item","button","header","cell","icon"),el=M("property").parts("property","label","value"),fd=M("select").parts("addon","field","element"),dd=M("timeline").parts("container","item","separator","icon","dot","track","content");var{definePartsStyle:SS,defineMultiStyleConfig:CS}=T(ed.keys),wS=SS({container:{},inner:{},main:{}}),kS=CS({defaultProps:{variant:"fullscreen"},variants:{static:{},fullscreen:{container:{position:"absolute",inset:0}}},baseStyle:wS}),{definePartsStyle:nl,defineMultiStyleConfig:_S}=T(td.keys),TS=nl({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}}),PS=nl(e=>{let{theme:t,colorScheme:r}=e;return {container:{bg:`${r}.100`,_dark:{bg:te(`${r}.200`,.16)(t)}},icon:{color:`${r}.500`,_dark:{color:`${r}.200`}}}}),AS=nl(e=>{let{colorScheme:t}=e;return {container:{bg:`${t}.500`,color:"white"}}}),ES=_S({baseStyle:TS,variants:{subtle:PS,solid:AS},defaultProps:{variant:"subtle",colorScheme:"blue"}}),RS={baseStyle:{fontSize:"xs","[role=tooltip] > &":{ms:1,_before:{content:'"\u2022"',me:1,fontSize:"xs"}}}},{definePartsStyle:Sd,defineMultiStyleConfig:MS}=T(Qs.keys),IS=Sd(e=>{let{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}}}),VS=Sd(e=>({body:{display:"flex",flexDirection:"column",textAlign:"center",alignItems:"center"}})),OS=MS({baseStyle:IS,variants:{centered:VS}}),{definePartsStyle:NS,defineMultiStyleConfig:$S}=T(Fs.keys),LS=NS({container:{display:"flex",alignItems:"center",flexDirection:"row-reverse",justifyContent:"flex-end"}}),DS=$S({variants:{horizontal:LS}}),jS={defaultProps:{spacing:4}},BS={baseStyle:{fontWeight:"semibold",mb:4}},{definePartsStyle:MN,defineMultiStyleConfig:zS}=T(rd.keys),FS=zS({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:WS,definePartsStyle:Ei}=T(od.keys),HS=Ei({overlay:{p:4},text:{}}),GS=Ei(()=>({overlay:{flex:1,height:"100%",bg:"whiteAlpha.400",_dark:{bg:"blackAlpha.400"}}})),US=Ei(()=>({overlay:{position:"fixed",inset:0,zIndex:"modal",bg:"white",_dark:{bg:"gray.800"}}})),KS=Ei(()=>({overlay:{position:"absolute",inset:0,bg:"whiteAlpha.300",_dark:{bg:"blackAlpha.300"}}})),qS=WS({defaultProps:{variant:"fill"},baseStyle:HS,variants:{fill:GS,fullscreen:US,overlay:KS}}),{definePartsStyle:YS,defineMultiStyleConfig:XS}=T(nd.keys),ZS=YS(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:{}})),JS=XS({baseStyle:ZS}),{definePartsStyle:Ri,defineMultiStyleConfig:QS}=T(id.keys),e1=Ri(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"}})),t1=Ri(e=>{let t={bg:"blackAlpha.200",_dark:{bg:"whiteAlpha.300"}};return {link:{_hover:{bg:"blackAlpha.100",_dark:{bg:"whiteAlpha.200"}},_active:t,["&[aria-current=page]"]:t},icon:{opacity:.8,"[data-active] &":{opacity:1}}}}),r1=Ri(e=>{let{colorScheme:t,theme:r}=e,o={bg:te(`${t}.500`,.3)(r),fontWeight:"semibold",color:`${t}.600`,_dark:{bg:te(`${t}.500`,.3)(r),color:`${t}.100`}};return {link:{_hover:{bg:"blackAlpha.100",_dark:{bg:"whiteAlpha.200"}},_active:o,["&[aria-current=page]"]:o}}}),o1=Ri(e=>{let{colorScheme:t}=e,r={bg:`${t}.500`};return {link:{_hover:{bg:"blackAlpha.100",_dark:{bg:"whiteAlpha.200"}},_active:r,["&[aria-current=page]"]:r,color:"white"},icon:{color:"white"},label:{}}}),md,pd,hd,gd,n1=QS({defaultProps:{size:"sm",colorScheme:"primary",variant:"neutral"},baseStyle:e1,sizes:{xs:{link:(md=react.theme.components.Button.sizes)==null?void 0:md.xs,icon:{me:1,fontSize:"xs"}},sm:{link:(pd=react.theme.components.Button.sizes)==null?void 0:pd.sm,icon:{me:2,fontSize:"sm"}},md:{link:(hd=react.theme.components.Button.sizes)==null?void 0:hd.md,icon:{me:2,fontSize:"md"}},lg:{link:(gd=react.theme.components.Button.sizes)==null?void 0:gd.lg,icon:{me:3,fontSize:"lg"}}},variants:{neutral:t1,subtle:r1,solid:o1}}),{definePartsStyle:Cd,defineMultiStyleConfig:wd}=T(ad.keys),i1=Cd(e=>{let{colorScheme:t}=e;return {bar:{bg:`${t}.500`,_dark:{bg:`${t}.300`}}}}),a1=wd({defaultProps:{colorScheme:"teal"},baseStyle:i1}),{definePartsStyle:kt,defineMultiStyleConfig:s1}=T(sd.keys),yd=e=>({color:"gray.500",overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis",minW:0,_dark:{color:"whiteAlpha.600"}}),l1=kt(e=>({details:{minW:0},secondaryLabel:yd(),tertiaryLabel:yd()})),c1={"2xs":kt({details:{ms:2},label:{fontSize:"xs"},secondaryLabel:{display:"none"},tertiaryLabel:{display:"none"}}),xs:kt({details:{ms:2},label:{fontSize:"md"},secondaryLabel:{display:"none"},tertiaryLabel:{display:"none"}}),sm:kt({details:{ms:2},label:{fontSize:"md"},secondaryLabel:{fontSize:"sm"},tertiaryLabel:{display:"none"}}),md:kt({details:{ms:2},label:{fontSize:"md"},secondaryLabel:{fontSize:"sm"},tertiaryLabel:{display:"none"}}),lg:kt({details:{ms:3},label:{fontSize:"md"},secondaryLabel:{fontSize:"sm"},tertiaryLabel:{fontSize:"sm"}}),xl:kt({details:{ms:3},label:{fontSize:"xl"},secondaryLabel:{fontSize:"md"},tertiaryLabel:{fontSize:"md"}}),"2xl":kt({details:{ms:4},label:{fontSize:"2xl"},secondaryLabel:{fontSize:"lg"},tertiaryLabel:{fontSize:"lg"}})},u1=s1({defaultProps:{size:"md"},baseStyle:l1,sizes:c1}),{definePartsStyle:BN,defineMultiStyleConfig:f1}=T(el.keys),d1=f1({baseStyle:{label:{display:"flex",flexDirection:"row",minWidth:"100px",width:"30%",marginEnd:2,py:2,color:"gray.500",_dark:{color:"gray.400"}}}}),{defineMultiStyleConfig:m1}=T(ld.keys),p1=m1({baseStyle:{input:{pr:8}},sizes:{sm:{reset:{fontSize:"0.7em"}},lg:{input:{pr:10}}}}),{definePartsStyle:il,defineMultiStyleConfig:h1}=T(cd.keys),g1=il(e=>{let{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"}}}),y1=il(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"}}})),v1=il(e=>({container:{width:"14",py:3},section:{px:3},toggleWrapper:{display:"none"}})),b1=h1({defaultProps:{variant:"default"},baseStyle:g1,variants:{default:y1,compact:v1}}),{definePartsStyle:lt,defineMultiStyleConfig:x1}=T(Kt.keys),Rr=N("input-height"),Mr=N("input-font-size"),Ir=N("input-padding"),Vr=N("input-border-radius"),S1=lt({addon:{height:Rr.reference,fontSize:Mr.reference,px:Ir.reference,borderRadius:Vr.reference},field:{width:"100%",height:Rr.reference,fontSize:Mr.reference,px:Ir.reference,borderRadius:Vr.reference,minWidth:0,outline:0,position:"relative",appearance:"none",transitionProperty:"common",transitionDuration:"normal",_disabled:{opacity:.4,cursor:"not-allowed"}}}),wt={lg:{[Mr.variable]:"fontSizes.lg",[Ir.variable]:"space.4",[Vr.variable]:"radii.md",[Rr.variable]:"sizes.12"},md:{[Mr.variable]:"fontSizes.md",[Ir.variable]:"space.4",[Vr.variable]:"radii.md",[Rr.variable]:"sizes.10"},sm:{[Mr.variable]:"fontSizes.sm",[Ir.variable]:"space.3",[Vr.variable]:"radii.sm",[Rr.variable]:"sizes.8"},xs:{[Mr.variable]:"fontSizes.xs",[Ir.variable]:"space.2",[Vr.variable]:"radii.sm",[Rr.variable]:"sizes.6"}},C1={lg:lt({field:wt.lg,group:wt.lg}),md:lt({field:wt.md,group:wt.md}),sm:lt({field:wt.sm,group:wt.sm}),xs:lt({field:wt.xs,group:wt.xs})};function al(e){let{focusBorderColor:t,errorBorderColor:r}=e;return {focusBorderColor:t||Y("blue.500","blue.300")(e),errorBorderColor:r||Y("red.500","red.300")(e)}}var w1=lt(e=>{let{theme:t}=e,{focusBorderColor:r,errorBorderColor:o}=al(e);return {field:{border:"1px solid",borderColor:"inherit",bg:"inherit",_hover:{borderColor:Y("gray.300","whiteAlpha.400")(e)},_readOnly:{boxShadow:"none !important",userSelect:"all"},_invalid:{borderColor:ae(t,o),boxShadow:`0 0 0 1px ${ae(t,o)}`},_focusVisible:{zIndex:1,borderColor:ae(t,r),boxShadow:`0 0 0 1px ${ae(t,r)}`}},addon:{border:"1px solid",borderColor:Y("inherit","whiteAlpha.50")(e),bg:Y("gray.100","whiteAlpha.300")(e)}}}),k1=lt(e=>{let{theme:t}=e,{focusBorderColor:r,errorBorderColor:o}=al(e);return {field:{border:"2px solid",borderColor:"transparent",bg:Y("gray.100","whiteAlpha.50")(e),_hover:{bg:Y("gray.200","whiteAlpha.100")(e)},_readOnly:{boxShadow:"none !important",userSelect:"all"},_invalid:{borderColor:ae(t,o)},_focusVisible:{bg:"transparent",borderColor:ae(t,r)}},addon:{border:"2px solid",borderColor:"transparent",bg:Y("gray.100","whiteAlpha.50")(e)}}}),_1=lt(e=>{let{theme:t}=e,{focusBorderColor:r,errorBorderColor:o}=al(e);return {field:{borderBottom:"1px solid",borderColor:"inherit",borderRadius:"0",px:"0",bg:"transparent",_readOnly:{boxShadow:"none !important",userSelect:"all"},_invalid:{borderColor:ae(t,o),boxShadow:`0px 1px 0px 0px ${ae(t,o)}`},_focusVisible:{borderColor:ae(t,r),boxShadow:`0px 1px 0px 0px ${ae(t,r)}`}},addon:{borderBottom:"2px solid",borderColor:"inherit",borderRadius:"0",px:"0",bg:"transparent"}}}),T1=lt({field:{bg:"transparent",px:"0",height:"auto"},addon:{bg:"transparent",px:"0",height:"auto"}}),P1={outline:w1,filled:k1,flushed:_1,unstyled:T1},_t=x1({baseStyle:S1,sizes:C1,variants:P1,defaultProps:{size:"md",variant:"outline"}}),{defineMultiStyleConfig:A1}=T(fd.keys),E1=A1({defaultProps:_t.defaultProps,baseStyle:_t.baseStyle,sizes:_t.sizes,variants:_t.variants}),{definePartsStyle:R1,defineMultiStyleConfig:M1}=T(ud.keys),I1=R1(e=>({item:{py:2,px:4},button:{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"}}}})),V1=M1({defaultProps:{size:"md"},baseStyle:I1,sizes:{sm:{item:{py:1,px:1},button:{py:1,px:1},cell:{px:1},icon:{px:1}},md:{item:{py:2,px:2},button:{py:2,px:2},cell:{px:2},icon:{px:2}}}}),{definePartsStyle:sl,defineMultiStyleConfig:O1}=T(dd.keys),N1=sl(e=>({container:{},item:{minHeight:"32px",position:"relative"},separator:{width:"24px",flexShrink:0},icon:{color:"gray.300",py:"7px",_dark:{color:"gray.600"}},dot:{width:"9px",height:"9px",bg:"currentColor",borderRadius:"full"},track:{bg:"gray.300",width:"1px",flex:1,_dark:{bg:"gray.600"}},content:{pt:"1px",px:"2"}})),$1=sl(e=>({icon:{}})),L1=sl(e=>({dot:{bg:"transparent",borderColor:"currentColor",borderWidth:"2px"}})),D1=O1({defaultProps:{variant:"solid",size:"sm"},baseStyle:N1,variants:{solid:$1,outline:L1},sizes:{sm:{icon:{minH:"8px",minW:"8px"}}}}),j1={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",p:1},md:{borderRadius:"md",fontSize:"1em",p:2},lg:{borderRadius:"md",fontSize:"1.3em",p:3}},defaultProps:{variant:"outline",size:"md"}},B1=M("navbar").parts("container","inner","brand","content","item","link"),{defineMultiStyleConfig:z1,definePartsStyle:F1}=T(B1.keys),W1=z1({baseStyle:F1({container:{display:"flex",bg:"chakra-body-bg",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: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:{display:"inline-flex",alignItems:"center",justifyContent:"center",textDecoration:"none",whiteSpace:"nowrap",boxSizing:"border-box",borderRadius:"md",transitionProperty:"common",transitionDuration:"normal",px:3,h:8,_hover:{bg:"gray.100",textDecoration:"none",_dark:{bg:"gray.700"}},_active:{fontWeight:"semibold"}}})}),H1={SuiAppShell:kS,SuiBanner:ES,SuiCommand:RS,SuiEmptyState:OS,SuiFormLayout:jS,SuiForm:DS,SuiFormLegend:BS,SuiHotkeys:FS,SuiStructuredList:V1,SuiLoadingOverlay:qS,SuiNavGroup:JS,SuiNavItem:n1,SuiPersona:u1,SuiProperty:d1,SuiNProgress:a1,SuiSearchInput:p1,SuiSelect:E1,SuiSidebar:b1,SuiTimeline:D1,SuiIconBadge:j1,SuiNavbar:W1},ll=react.extendTheme({colors:{primary:react.theme.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:H1}),G1={global:e=>({body:{WebkitFontSmoothing:"antialiased",TextRendering:"optimizelegibility"}})},tl={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"}},rl=d({primary:tl.purple,secondary:tl.cyan},tl),U1={heading:"InterVariable, Inter, sans-serif",body:"InterVariable, Inter, sans-serif"},K1={"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"},q1={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"}},Y1={container:{sm:"30em",md:"48em",lg:"62em",xl:"80em","2xl":"96em"}},X1=Y1,Z1={outline:`0 0 0 2px ${te(rl.primary[500],.6)({colors:rl})}`},J1=Z1,Q1={colors:{"chakra-border-color":{_light:"gray.200",_dark:"whiteAlpha.200"},muted:{default:"gray.500",_dark:"gray.400"}}},eC={colors:rl,fonts:U1,fontSizes:K1,textStyles:q1,sizes:X1,shadows:J1,semanticTokens:Q1},{definePartsStyle:kd,defineMultiStyleConfig:tC}=T(Wo.keys),rC=kd(e=>{let{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"}}}}),oC=kd({container:{borderRadius:"md"}}),nC=tC({defaultProps:{size:"sm"},baseStyle:oC,variants:{snackbar:rC}}),_d=e=>{let{colorScheme:t}=e;return t==="gray"?{base:Y("gray.100","whiteAlpha.300")(e),hover:Y("gray.200","whiteAlpha.400")(e),active:Y("gray.300","whiteAlpha.500")(e)}:t==="white"?{base:"whiteAlpha.900",hover:"whiteAlpha.700",active:"whiteAlpha.500"}:{base:Y(`${t}.500`,`${t}.500`)(e),hover:Y(`${t}.600`,`${t}.600`)(e),active:Y(`${t}.700`,`${t}.700`)(e)}},iC={yellow:{bg:"yellow.400",hoverBg:"yellow.500",activeBg:"yellow.600",color:"black"},cyan:{bg:"cyan.400",color:"black",hoverBg:"cyan.500",activeBg:"cyan.600"}},Mi=e=>{var t;let{colorScheme:r}=e;if(r==="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"}};let{base:o,hover:n,active:i}=_d(e),{color:a=r==="gray"?Y("black","white")(e):"white",bg:s=o,hoverBg:l=n,activeBg:c=i}=(t=iC[r])!=null?t:{};return {bg:s,color:a,_hover:{bg:l,_disabled:{bg:s}},_active:{bg:c}}},aC=e=>d({shadow:"md"},Mi(e)),Td=e=>{let{colorScheme:t}=e,{base:r,hover:o,active:n}=_d(e);return v(d({},Pd(e)),{borderColor:t==="gray"?o:r,borderWidth:"1px",_hover:{borderColor:t==="gray"?n:o}})},Pd=e=>{let{colorScheme:t,theme:r}=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"};let o=te(`${t}.200`,.12)(r),n=te(`${t}.200`,.24)(r);return {color:`${t}.600`,_dark:{color:`${t}.200`},bg:"transparent",_hover:{bg:`${t}.50`,_dark:{bg:o}},_active:{bg:`${t}.100`,_dark:{bg:n}}}},sC=e=>{let{colorScheme:t,theme:r}=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"}}};let o=t==="white"?"white":Y(`${t}.500`,`${t}.200`)(e),n=te(o,.1)(r),i=te(o,.16)(r),a=te(o,.24)(r);return {color:t==="white"?"white":Y(`${t}.600`,`${t}.200`)(e),bg:n,_hover:{bg:i},_active:{bg:a}}},lC=e=>{let{colorScheme:t}=e;return {padding:0,height:"auto",lineHeight:"normal",verticalAlign:"baseline",color:t==="white"?"white":Y(`${t}.500`,`${t}.200`)(e),_hover:{textDecoration:"underline",_disabled:{textDecoration:"none"}},_active:{color:t==="white"?"whiteAlpha.800":Y(`${t}.700`,`${t}.500`)(e)}}},cC=e=>{let{colorScheme:t}=e;return t==="gray"&&(t="primary"),Mi(v(d({},e),{variant:"solid",colorScheme:t}))},uC=e=>Mi(v(d({},e),{variant:"solid"})),fC=e=>Td(v(d({},e),{variant:"outline"})),dC={defaultProps:{size:"sm"},variants:{solid:Mi,ghost:Pd,outline:Td,subtle:sC,elevated:aC,link:lC,primary:cC,secondary:uC,tertiary:fC}},{definePartsStyle:Ii,defineMultiStyleConfig:mC}=T(Us.keys),Xt=N("card-bg");N("card-padding");var cl=N("card-shadow");N("card-radius");var ul=N("card-border-width","0"),Tt=N("card-border-color"),pC=Ii(()=>({container:{transitionProperty:"common",transitionDuration:"normal"},header:{p:4},body:{p:4},footer:{p:4}})),hC=Ii(e=>({container:{[Xt.variable]:"colors.white",[Tt.variable]:"colors.blackAlpha.200",[ul.variable]:"1px",[cl.variable]:"shadows.sm",_dark:{[Xt.variable]:"colors.whiteAlpha.200",[Tt.variable]:"colors.whiteAlpha.50"},"&.chakra-linkbox:hover":{[Tt.variable]:"colors.blackAlpha.300",_dark:{[Tt.variable]:"colors.whiteAlpha.300"}}}})),gC=Ii(e=>{let{colorScheme:t}=e,r=t?"white":"inherit";return {container:{[ul.variable]:"0",[cl.variable]:"none",[Xt.variable]:t?`${t}.500`:"colors.blackAlpha.100",color:r,"&.chakra-linkbox:hover":{[Xt.variable]:t?`${t}.600`:"colors.blackAlpha.200"},_dark:{[Xt.variable]:t?`${t}.500`:"colors.whiteAlpha.100","&.chakra-linkbox:hover":{[Xt.variable]:t?`${t}.600`:"colors.whiteAlpha.200"}}}}}),yC=Ii(e=>{let{colorScheme:t}=e;return {container:{[ul.variable]:"1px",[cl.variable]:"none",[Tt.variable]:t?`${t}.500`:"colors.blackAlpha.200",[Xt.variable]:"transparent","&.chakra-linkbox:hover":{[Tt.variable]:t?`${t}.600`:"colors.blackAlpha.300"},_dark:{[Tt.variable]:t?`${t}.500`:"colors.whiteAlpha.300","&.chakra-linkbox:hover":{[Tt.variable]:t?`${t}.600`:"colors.whiteAlpha.400"}}}}}),vC=mC({defaultProps:{variant:"elevated"},baseStyle:pC,variants:{elevated:hC,outline:yC,filled:gC}}),{definePartsStyle:bC,defineMultiStyleConfig:xC}=T(Bs.keys),SC=bC(e=>{let{colorScheme:t}=e;return {control:{_checked:{borderColor:`${t}.500`,bg:`${t}.500`,color:"white"}}}}),CC=xC({baseStyle:SC}),wC={defaultProps:{size:"sm"}},{definePartsStyle:ol,defineMultiStyleConfig:kC}=T(Kt.keys),Ad={sm:ol({field:{borderRadius:"md"},addon:{borderRadius:"md"}}),md:ol({field:{px:3,h:9},addon:{px:3,h:9}})},Ed=ol(e=>({field:{borderColor:"blackAlpha.300",_dark:{borderColor:"whiteAlpha.300"},_hover:{borderColor:"blackAlpha.400",_dark:{borderColor:"whiteAlpha.400"}}}})),fl=kC({defaultProps:{focusBorderColor:"primary.500"},variants:{outline:Ed},sizes:Ad}),_C={variants:{horizontal:{mb:0,marginStart:"0.5rem"}}},en=fl,TC=fl,PC={defaultProps:{focusBorderColor:"primary.500"},variants:{outline:Ed},sizes:Ad},AC={defaultProps:{focusBorderColor:"primary.500"},variants:{outline:e=>{var t,r;return (r=(t=en.variants)==null?void 0:t.outline(e).field)!=null?r:{}}}},EC=fl,vd,bd,RC=v(d({},_t),{defaultProps:en.defaultProps,variants:{outline:e=>{var t,r;return d({},(r=(t=en.variants)==null?void 0:t.outline(e))!=null?r:{})},flushed:e=>{var t,r;return (r=(t=_t.variants)==null?void 0:t.flushed(e))!=null?r:{}},filled:e=>{var t,r;return (r=(t=_t.variants)==null?void 0:t.filled(e))!=null?r:{}},unstyled:(bd=(vd=_t.variants)==null?void 0:vd.unstyled)!=null?bd:{}},sizes:en.sizes}),MC={defaultProps:{size:"lg"}},IC=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}}),VC={defaultProps:{variant:"solid"},variants:{basic:{opacity:.6},solid:IC}},{definePartsStyle:Rd,defineMultiStyleConfig:OC}=T(Ho.keys),NC=Rd(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}})),$C=Rd(()=>({item:{px:6},groupTitle:{color:"muted",px:3}})),LC=OC({baseStyle:NC,variants:{dialog:$C}}),{definePartsStyle:DC,defineMultiStyleConfig:jC}=T(Go.keys),BC=DC(e=>({closeButton:{top:4,insetEnd:4}})),zC=jC({baseStyle:BC}),{definePartsStyle:FC,defineMultiStyleConfig:WC}=T(Uo.keys),HC=WC({defaultProps:{colorScheme:"primary"},baseStyle:FC(e=>{let{colorScheme:t}=e;return {track:{borderRadius:"md"},filledTrack:{bg:`${t}.500`}}})}),{definePartsStyle:GC,defineMultiStyleConfig:UC}=T(Hs.keys),KC=UC({baseStyle:GC(e=>{let{colorScheme:t}=e;return {control:{_checked:{borderColor:`${t}.500`,bg:`${t}.500`,color:"white"}}}})}),{definePartsStyle:qC,defineMultiStyleConfig:YC}=T(Gs.keys),XC=YC({defaultProps:{colorScheme:"primary"},baseStyle:qC(e=>{let{colorScheme:t}=e;return {filledTrack:{bg:`${t}.500`}}})}),{definePartsStyle:ZC,defineMultiStyleConfig:JC}=T(Ko.keys),QC=JC({baseStyle:ZC(e=>{let{colorScheme:t}=e;return {track:{_checked:{bg:`${t}.500`}}}})}),Pi=Ue("tooltip-bg"),xd=Ue("tooltip-fg"),ew=Ue("popper-arrow-bg"),tw=e=>({display:"flex",[Pi.variable]:"colors.white",[xd.variable]:"colors.blackAlpha.900",_dark:{[Pi.variable]:"colors.gray.700",[xd.variable]:"colors.whiteAlpha.900"},px:"8px",py:"2px",bg:[Pi.reference],[ew.variable]:[Pi.reference],borderRadius:"sm",fontWeight:"medium",fontSize:"xs",boxShadow:"md",maxW:"320px",zIndex:"tooltip",borderWidth:"1px"}),rw={baseStyle:tw},Ai=N("stepper-indicator-size"),Jt=N("stepper-accent-color"),Zt=N("stepper-vertical-seperator-offset"),{defineMultiStyleConfig:ow,definePartsStyle:Pt}=T(["container","item","content","stepper","step","title","description","indicator","separator","icon","number"]),nw=Pt(({colorScheme:e})=>({container:{display:"flex",flexDirection:"column",gap:4},item:{w:"full"},content:{["&[data-orientation=vertical]"]:{mt:2,ms:Zt.reference,borderLeftWidth:"1px",ps:6}},stepper:{gap:"2",[Zt.variable]:"10px",[Jt.variable]:`colors.${e}.500`,_dark:{[Jt.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,ms:Zt.reference}},step:{["&[data-orientation=vertical]"]:{alignItems:"center"}}})),iw=Pt(e=>({})),aw=Pt(e=>({indicator:{"&[data-status=active]":{borderWidth:"0",bg:Jt.reference,color:"chakra-inverse-text"},"&[data-status=complete]":{bg:Jt.reference,color:"chakra-inverse-text"},"&[data-status=incomplete]":{borderWidth:"0",bg:"blackAlpha.200",_dark:{bg:"whiteAlpha.200"}}}})),sw=Pt(e=>{let{theme:t,colorScheme:r}=e;return {stepper:{[Jt.variable]:`colors.${r}.100`},indicator:{"&[data-status=active]":{borderWidth:"0",bg:Jt.reference,color:`${r}.500`,_dark:{bg:te(`${r}.200`,.16)(t)}},"&[data-status=complete]":{bg:Jt.reference,color:`${r}.500`,_dark:{bg:te(`${r}.200`,.24)(t),color:`${r}.200`}},"&[data-status=incomplete]":{borderWidth:"0",bg:"blackAlpha.200",color:"blackAlpha.700",_dark:{bg:"whiteAlpha.200",color:"whiteAlpha.600"}}}}}),lw=ow({defaultProps:{variant:"outline",colorScheme:"primary",size:"md"},baseStyle:nw,variants:{outline:iw,solid:aw,subtle:sw},sizes:{xs:Pt({stepper:{[Ai.variable]:"sizes.4",[Zt.variable]:"7px"}}),sm:Pt({stepper:{[Ai.variable]:"sizes.6",[Zt.variable]:"11px"}}),md:Pt({stepper:{[Ai.variable]:"sizes.7",[Zt.variable]:"14px"}}),lg:Pt({stepper:{[Ai.variable]:"sizes.8",[Zt.variable]:"16px"}})}}),{definePartsStyle:cw,defineMultiStyleConfig:uw}=T(Qs.keys),fw=cw(e=>{let{colorScheme:t}=e;return {icon:{boxSize:[10,null,12],color:`${t}.500`,_dark:{color:`${t}.500`}}}}),dw=uw({baseStyle:fw}),mw=Cd(e=>{let{colorScheme:t}=e;return {bar:{bg:`${t}.500`,_dark:{bg:`${t}.500`}}}}),pw=wd({defaultProps:{colorScheme:"primary"},baseStyle:mw}),{definePartsStyle:T$,defineMultiStyleConfig:hw}=T(el.keys),gw=hw({baseStyle:{label:{color:"muted",_dark:{color:"muted"}}}}),yw={Alert:nC,Button:dC,Card:vC,Checkbox:CC,CloseButton:wC,Heading:MC,Kbd:VC,Menu:LC,Modal:zC,Progress:HC,Radio:KC,Slider:XC,Switch:QC,Stepper:lw,Tooltip:rw,Input:en,PinInput:PC,FormLabel:_C,NumberInput:TC,Select:EC,Textarea:AC,SuiEmptyState:dw,SuiNProgress:pw,SuiProperty:gw,SuiSelect:RC},tn=react.extendTheme(v(d({},eC),{styles:G1,components:yw}),react.withDefaultColorScheme({colorScheme:"primary",components:["Radio","Switch","Checkbox"]}),ll);var Vi=ht.createContext({transformPagePoint:e=>e,isStatic:!1,reducedMotion:"never"});var At=ht.createContext({});var Et=ht.createContext(null);var Rt=typeof document!="undefined";var Or=Rt?ht.useLayoutEffect:ht.useEffect;var Oi=ht.createContext({strict:!1});function Id(e,t,r,o){let{visualElement:n}=ht.useContext(At),i=ht.useContext(Oi),a=ht.useContext(Et),s=ht.useContext(Vi).reducedMotion,l=ht.useRef();o=o||i.renderer,!l.current&&o&&(l.current=o(e,{visualState:t,parent:n,props:r,presenceContext:a,blockInitialAnimation:a?a.initial===!1:!1,reducedMotionConfig:s}));let c=l.current;ht.useInsertionEffect(()=>{c&&c.update(r,a);});let u=ht.useRef(!!window.HandoffAppearAnimations);return Or(()=>{c&&(c.render(),u.current&&c.animationState&&c.animationState.animateChanges());}),ht.useEffect(()=>{c&&(c.updateFeatures(),!u.current&&c.animationState&&c.animationState.animateChanges(),window.HandoffAppearAnimations=void 0,u.current=!1);}),c}function ut(e){return typeof e=="object"&&Object.prototype.hasOwnProperty.call(e,"current")}function Vd(e,t,r){return ht.useCallback(o=>{o&&e.mount&&e.mount(o),t&&(o?t.mount(o):t.unmount()),r&&(typeof r=="function"?r(o):ut(r)&&(r.current=o));},[t])}function ft(e){return typeof e=="string"||Array.isArray(e)}function Mt(e){return typeof e=="object"&&typeof e.start=="function"}var $i=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],rn=["initial",...$i];function Qt(e){return Mt(e.animate)||rn.some(t=>ft(e[t]))}function Li(e){return !!(Qt(e)||e.variants)}function Od(e,t){if(Qt(e)){let{initial:r,animate:o}=e;return {initial:r===!1||ft(r)?r:void 0,animate:ft(o)?o:void 0}}return e.inherit!==!1?t:{}}function $d(e){let{initial:t,animate:r}=Od(e,ht.useContext(At));return ht.useMemo(()=>({initial:t,animate:r}),[Nd(t),Nd(r)])}function Nd(e){return Array.isArray(e)?e.join(" "):e}var Ld={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"]},er={};for(let e in Ld)er[e]={isEnabled:t=>Ld[e].some(r=>!!t[r])};function Dd(e){for(let t in e)er[t]=d(d({},er[t]),e[t]);}var Nr=ht.createContext({});var Di=ht.createContext({});var jd=Symbol.for("motionComponentSymbol");function Bd({preloadedFeatures:e,createVisualElement:t,useRender:r,useVisualState:o,Component:n}){e&&Dd(e);function i(s,l){let c,u=v(d(d({},ht.useContext(Vi)),s),{layoutId:Iw(s)}),{isStatic:f}=u,m=$d(s),p=o(s,f);if(!f&&Rt){m.visualElement=Id(n,p,u,t);let g=ht.useContext(Di),y=ht.useContext(Oi).strict;m.visualElement&&(c=m.visualElement.loadFeatures(u,y,e,g));}return ht__namespace.createElement(At.Provider,{value:m},c&&m.visualElement?ht__namespace.createElement(c,d({visualElement:m.visualElement},u)):null,r(n,s,Vd(p,m.visualElement,l),p,f,m.visualElement))}let a=ht.forwardRef(i);return a[jd]=n,a}function Iw({layoutId:e}){let t=ht.useContext(Nr).id;return t&&e!==void 0?t+"-"+e:e}function zd(e){function t(o,n={}){return Bd(e(o,n))}if(typeof Proxy=="undefined")return t;let r=new Map;return new Proxy(t,{get:(o,n)=>(r.has(n)||r.set(n,t(n)),r.get(n))})}var Fd=["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 $r(e){return typeof e!="string"||e.includes("-")?!1:!!(Fd.indexOf(e)>-1||/[A-Z]/.test(e))}var Lr={};function Wd(e){Object.assign(Lr,e);}var It=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],Te=new Set(It);function Bi(e,{layout:t,layoutId:r}){return Te.has(e)||e.startsWith("origin")||(t||r!==void 0)&&(!!Lr[e]||e==="opacity")}var X=e=>!!(e&&e.getVelocity);var Vw={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},Ow=It.length;function Hd(e,{enableHardwareAcceleration:t=!0,allowTransformNone:r=!0},o,n){let i="";for(let a=0;a<Ow;a++){let s=It[a];if(e[s]!==void 0){let l=Vw[s]||s;i+=`${l}(${e[s]}) `;}}return t&&!e.z&&(i+="translateZ(0)"),i=i.trim(),n?i=n(e,o?"":i):r&&o&&(i="none"),i}var Gd=e=>t=>typeof t=="string"&&t.startsWith(e),zi=Gd("--"),Fi=Gd("var(--"),Ud=/var\s*\(\s*--[\w-]+(\s*,\s*(?:(?:[^)(]|\((?:[^)(]+|\([^)(]*\))*\))*)+)?\s*\)/g;var Kd=(e,t)=>t&&typeof e=="number"?t.transform(e):e;var Ce=(e,t,r)=>Math.min(Math.max(r,e),t);var Fe={test:e=>typeof e=="number",parse:parseFloat,transform:e=>e},Vt=v(d({},Fe),{transform:e=>Ce(0,1,e)}),on=v(d({},Fe),{default:1});var Ot=e=>Math.round(e*1e5)/1e5,tr=/(-)?([\d]*\.?[\d])+/g,ml=/(#[0-9a-f]{3,8}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2}(-?[\d\.]+%?)\s*[\,\/]?\s*[\d\.]*%?\))/gi,qd=/^(#[0-9a-f]{3,8}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2}(-?[\d\.]+%?)\s*[\,\/]?\s*[\d\.]*%?\))$/i;function dt(e){return typeof e=="string"}var nn=e=>({test:t=>dt(t)&&t.endsWith(e)&&t.split(" ").length===1,parse:parseFloat,transform:t=>`${t}${e}`}),Je=nn("deg"),we=nn("%"),E=nn("px"),Yd=nn("vh"),Xd=nn("vw"),pl=v(d({},we),{parse:e=>we.parse(e)/100,transform:e=>we.transform(e*100)});var hl=v(d({},Fe),{transform:Math.round});var Wi={borderWidth:E,borderTopWidth:E,borderRightWidth:E,borderBottomWidth:E,borderLeftWidth:E,borderRadius:E,radius:E,borderTopLeftRadius:E,borderTopRightRadius:E,borderBottomRightRadius:E,borderBottomLeftRadius:E,width:E,maxWidth:E,height:E,maxHeight:E,size:E,top:E,right:E,bottom:E,left:E,padding:E,paddingTop:E,paddingRight:E,paddingBottom:E,paddingLeft:E,margin:E,marginTop:E,marginRight:E,marginBottom:E,marginLeft:E,rotate:Je,rotateX:Je,rotateY:Je,rotateZ:Je,scale:on,scaleX:on,scaleY:on,scaleZ:on,skew:Je,skewX:Je,skewY:Je,distance:E,translateX:E,translateY:E,translateZ:E,x:E,y:E,z:E,perspective:E,transformPerspective:E,opacity:Vt,originX:pl,originY:pl,originZ:E,zIndex:hl,fillOpacity:Vt,strokeOpacity:Vt,numOctaves:hl};function Dr(e,t,r,o){let{style:n,vars:i,transform:a,transformOrigin:s}=e,l=!1,c=!1,u=!0;for(let f in t){let m=t[f];if(zi(f)){i[f]=m;continue}let p=Wi[f],g=Kd(m,p);if(Te.has(f)){if(l=!0,a[f]=g,!u)continue;m!==(p.default||0)&&(u=!1);}else f.startsWith("origin")?(c=!0,s[f]=g):n[f]=g;}if(t.transform||(l||o?n.transform=Hd(e.transform,r,u,o):n.transform&&(n.transform="none")),c){let{originX:f="50%",originY:m="50%",originZ:p=0}=s;n.transformOrigin=`${f} ${m} ${p}`;}}var jr=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function gl(e,t,r){for(let o in t)!X(t[o])&&!Bi(o,r)&&(e[o]=t[o]);}function $w({transformTemplate:e},t,r){return ht.useMemo(()=>{let o=jr();return Dr(o,t,{enableHardwareAcceleration:!r},e),Object.assign({},o.vars,o.style)},[t])}function Lw(e,t,r){let o=e.style||{},n={};return gl(n,o,e),Object.assign(n,$w(e,t,r)),e.transformValues?e.transformValues(n):n}function Zd(e,t,r){let o={},n=Lw(e,t,r);return e.drag&&e.dragListener!==!1&&(o.draggable=!1,n.userSelect=n.WebkitUserSelect=n.WebkitTouchCallout="none",n.touchAction=e.drag===!0?"none":`pan-${e.drag==="x"?"y":"x"}`),e.tabIndex===void 0&&(e.onTap||e.onTapStart||e.whileTap)&&(o.tabIndex=0),o.style=n,o}var Dw=new Set(["animate","exit","variants","initial","style","values","variants","transition","transformTemplate","transformValues","custom","inherit","onLayoutAnimationStart","onLayoutAnimationComplete","onLayoutMeasure","onBeforeLayoutMeasure","onAnimationStart","onAnimationComplete","onUpdate","onDragStart","onDrag","onDragEnd","onMeasureDragConstraints","onDirectionLock","onDragTransitionEnd","_dragX","_dragY","onHoverStart","onHoverEnd","onViewportEnter","onViewportLeave","ignoreStrict","viewport"]);function an(e){return e.startsWith("while")||e.startsWith("drag")&&e!=="draggable"||e.startsWith("layout")||e.startsWith("onTap")||e.startsWith("onPan")||Dw.has(e)}var rm=e=>!an(e);function Ww(e){e&&(rm=t=>t.startsWith("on")?!an(t):e(t));}try{Ww((tm(),Iy(em)).default);}catch(e){}function om(e,t,r){let o={};for(let n in e)n==="values"&&typeof e.values=="object"||(rm(n)||r===!0&&an(n)||!t&&!an(n)||e.draggable&&n.startsWith("onDrag"))&&(o[n]=e[n]);return o}function nm(e,t,r){return typeof e=="string"?e:E.transform(t+r*e)}function im(e,t,r){let o=nm(t,e.x,e.width),n=nm(r,e.y,e.height);return `${o} ${n}`}var Hw={offset:"stroke-dashoffset",array:"stroke-dasharray"},Gw={offset:"strokeDashoffset",array:"strokeDasharray"};function am(e,t,r=1,o=0,n=!0){e.pathLength=1;let i=n?Hw:Gw;e[i.offset]=E.transform(-o);let a=E.transform(t),s=E.transform(r);e[i.array]=`${a} ${s}`;}function Br(e,p,u,f,m){var g=p,{attrX:t,attrY:r,attrScale:o,originX:n,originY:i,pathLength:a,pathSpacing:s=1,pathOffset:l=0}=g,c=k(g,["attrX","attrY","attrScale","originX","originY","pathLength","pathSpacing","pathOffset"]);if(Dr(e,c,u,m),f){e.style.viewBox&&(e.attrs.viewBox=e.style.viewBox);return}e.attrs=e.style,e.style={};let{attrs:y,style:b,dimensions:x}=e;y.transform&&(x&&(b.transform=y.transform),delete y.transform),x&&(n!==void 0||i!==void 0||b.transform)&&(b.transformOrigin=im(x,n!==void 0?n:.5,i!==void 0?i:.5)),t!==void 0&&(y.x=t),r!==void 0&&(y.y=r),o!==void 0&&(y.scale=o),a!==void 0&&am(y,a,s,l,!1);}var Hi=()=>v(d({},jr()),{attrs:{}});var zr=e=>typeof e=="string"&&e.toLowerCase()==="svg";function sm(e,t,r,o){let n=ht.useMemo(()=>{let i=Hi();return Br(i,t,{enableHardwareAcceleration:!1},zr(o),e.transformTemplate),v(d({},i.attrs),{style:d({},i.style)})},[t]);if(e.style){let i={};gl(i,e.style,e),n.style=d(d({},i),n.style);}return n}function lm(e=!1){return (r,o,n,{latestValues:i},a)=>{let l=($r(r)?sm:Zd)(o,i,a,r),c=om(o,typeof r=="string",e),u=v(d(d({},c),l),{ref:n}),{children:f}=o,m=ht.useMemo(()=>X(f)?f.get():f,[f]);return ht.createElement(r,v(d({},u),{children:m}))}}var Fr=e=>e.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase();function Gi(e,{style:t,vars:r},o,n){Object.assign(e.style,t,n&&n.getProjectionStyles(o));for(let i in r)e.style.setProperty(i,r[i]);}var Ui=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 Ki(e,t,r,o){Gi(e,t,void 0,o);for(let n in t.attrs)e.setAttribute(Ui.has(n)?n:Fr(n),t.attrs[n]);}function Wr(e,t){let{style:r}=e,o={};for(let n in r)(X(r[n])||t.style&&X(t.style[n])||Bi(n,e))&&(o[n]=r[n]);return o}function qi(e,t){let r=Wr(e,t);for(let o in e)if(X(e[o])||X(t[o])){let n=It.indexOf(o)!==-1?"attr"+o.charAt(0).toUpperCase()+o.substring(1):o;r[n]=e[o];}return r}function Hr(e,t,r,o={},n={}){return typeof t=="function"&&(t=t(r!==void 0?r:e.custom,o,n)),typeof t=="string"&&(t=e.variants&&e.variants[t]),typeof t=="function"&&(t=t(r!==void 0?r:e.custom,o,n)),t}function Yi(e){let t=ht.useRef(null);return t.current===null&&(t.current=e()),t.current}var rr=e=>Array.isArray(e);var cm=e=>!!(e&&typeof e=="object"&&e.mix&&e.toValue),um=e=>rr(e)?e[e.length-1]||0:e;function Gr(e){let t=X(e)?e.get():e;return cm(t)?t.toValue():t}function Xw({scrapeMotionValuesFromProps:e,createRenderState:t,onMount:r},o,n,i){let a={latestValues:Zw(o,n,i,e),renderState:t()};return r&&(a.mount=s=>r(o,s,a)),a}var Xi=e=>(t,r)=>{let o=ht.useContext(At),n=ht.useContext(Et),i=()=>Xw(e,t,o,n);return r?i():Yi(i)};function Zw(e,t,r,o){let n={},i=o(e,{});for(let m in i)n[m]=Gr(i[m]);let{initial:a,animate:s}=e,l=Qt(e),c=Li(e);t&&c&&!l&&e.inherit!==!1&&(a===void 0&&(a=t.initial),s===void 0&&(s=t.animate));let u=r?r.initial===!1:!1;u=u||a===!1;let f=u?s:a;return f&&typeof f!="boolean"&&!Mt(f)&&(Array.isArray(f)?f:[f]).forEach(p=>{let g=Hr(e,p);if(!g)return;let S=g,{transitionEnd:y,transition:b}=S,x=k(S,["transitionEnd","transition"]);for(let C in x){let w=x[C];if(Array.isArray(w)){let P=u?w.length-1:0;w=w[P];}w!==null&&(n[C]=w);}for(let C in y)n[C]=y[C];}),n}var $=e=>e;var Zi=class{constructor(){this.order=[],this.scheduled=new Set;}add(t){if(!this.scheduled.has(t))return this.scheduled.add(t),this.order.push(t),!0}remove(t){let r=this.order.indexOf(t);r!==-1&&(this.order.splice(r,1),this.scheduled.delete(t));}clear(){this.order.length=0,this.scheduled.clear();}};function dm(e){let t=new Zi,r=new Zi,o=0,n=!1,i=!1,a=new WeakSet,s={schedule:(l,c=!1,u=!1)=>{let f=u&&n,m=f?t:r;return c&&a.add(l),m.add(l)&&f&&n&&(o=t.order.length),l},cancel:l=>{r.remove(l),a.delete(l);},process:l=>{if(n){i=!0;return}if(n=!0,[t,r]=[r,t],r.clear(),o=t.order.length,o)for(let c=0;c<o;c++){let u=t.order[c];u(l),a.has(u)&&(s.schedule(u),e());}n=!1,i&&(i=!1,s.process(l));}};return s}var Ji=["prepare","read","update","preRender","render","postRender"],Jw=40;function mm(e,t){let r=!1,o=!0,n={delta:0,timestamp:0,isProcessing:!1},i=Ji.reduce((f,m)=>(f[m]=dm(()=>r=!0),f),{}),a=f=>i[f].process(n),s=()=>{let f=performance.now();r=!1,n.delta=o?1e3/60:Math.max(Math.min(f-n.timestamp,Jw),1),n.timestamp=f,n.isProcessing=!0,Ji.forEach(a),n.isProcessing=!1,r&&t&&(o=!1,e(s));},l=()=>{r=!0,o=!0,n.isProcessing||e(s);};return {schedule:Ji.reduce((f,m)=>{let p=i[m];return f[m]=(g,y=!1,b=!1)=>(r||l(),p.schedule(g,y,b)),f},{}),cancel:f=>Ji.forEach(m=>i[m].cancel(f)),state:n,steps:i}}var{schedule:V,cancel:ke,state:Q,steps:Qi}=mm(typeof requestAnimationFrame!="undefined"?requestAnimationFrame:$,!0);var pm={useVisualState:Xi({scrapeMotionValuesFromProps:qi,createRenderState:Hi,onMount:(e,t,{renderState:r,latestValues:o})=>{V.read(()=>{try{r.dimensions=typeof t.getBBox=="function"?t.getBBox():t.getBoundingClientRect();}catch(n){r.dimensions={x:0,y:0,width:0,height:0};}}),V.render(()=>{Br(r,o,{enableHardwareAcceleration:!1},zr(t.tagName),e.transformTemplate),Ki(t,r);});}})};var hm={useVisualState:Xi({scrapeMotionValuesFromProps:Wr,createRenderState:jr})};function gm(e,{forwardMotionProps:t=!1},r,o){let n=$r(e)?pm:hm;return v(d({},n),{preloadedFeatures:r,useRender:lm(t),createVisualElement:o,Component:e})}function Pe(e,t,r,o={passive:!0}){return e.addEventListener(t,r,o),()=>e.removeEventListener(t,r)}var ea=e=>e.pointerType==="mouse"?typeof e.button!="number"||e.button<=0:e.isPrimary!==!1;function or(e,t="page"){return {point:{x:e[t+"X"],y:e[t+"Y"]}}}var ym=e=>t=>ea(t)&&e(t,or(t));function Ae(e,t,r,o){return Pe(e,t,ym(r),o)}var Qw=(e,t)=>r=>t(e(r)),Ee=(...e)=>e.reduce(Qw);function xm(e){let t=null;return ()=>{let r=()=>{t=null;};return t===null?(t=e,r):!1}}var vm=xm("dragHorizontal"),bm=xm("dragVertical");function yl(e){let t=!1;if(e==="y")t=bm();else if(e==="x")t=vm();else {let r=vm(),o=bm();r&&o?t=()=>{r(),o();}:(r&&r(),o&&o());}return t}function ta(){let e=yl(!0);return e?(e(),!1):!0}var le=class{constructor(t){this.isMounted=!1,this.node=t;}update(){}};function Sm(e,t){let r="pointer"+(t?"enter":"leave"),o="onHover"+(t?"Start":"End"),n=(i,a)=>{if(i.type==="touch"||ta())return;let s=e.getProps();e.animationState&&s.whileHover&&e.animationState.setActive("whileHover",t),s[o]&&V.update(()=>s[o](i,a));};return Ae(e.current,r,n,{passive:!e.getProps()[o]})}var ra=class extends le{mount(){this.unmount=Ee(Sm(this.node,!0),Sm(this.node,!1));}unmount(){}};var oa=class extends le{constructor(){super(...arguments),this.isActive=!1;}onFocus(){let t=!1;try{t=this.node.current.matches(":focus-visible");}catch(r){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=Ee(Pe(this.node.current,"focus",()=>this.onFocus()),Pe(this.node.current,"blur",()=>this.onBlur()));}unmount(){}};var vl=(e,t)=>t?e===t?!0:vl(e,t.parentElement):!1;function bl(e,t){if(!t)return;let r=new PointerEvent("pointer"+e);t(r,or(r));}var na=class extends le{constructor(){super(...arguments),this.removeStartListeners=$,this.removeEndListeners=$,this.removeAccessibleListeners=$,this.startPointerPress=(t,r)=>{if(this.removeEndListeners(),this.isPressing)return;let o=this.node.getProps(),i=Ae(window,"pointerup",(s,l)=>{if(!this.checkPressEnd())return;let{onTap:c,onTapCancel:u}=this.node.getProps();V.update(()=>{vl(this.node.current,s.target)?c&&c(s,l):u&&u(s,l);});},{passive:!(o.onTap||o.onPointerUp)}),a=Ae(window,"pointercancel",(s,l)=>this.cancelPress(s,l),{passive:!(o.onTapCancel||o.onPointerCancel)});this.removeEndListeners=Ee(i,a),this.startPress(t,r);},this.startAccessiblePress=()=>{let t=i=>{if(i.key!=="Enter"||this.isPressing)return;let a=s=>{s.key!=="Enter"||!this.checkPressEnd()||bl("up",(l,c)=>{let{onTap:u}=this.node.getProps();u&&V.update(()=>u(l,c));});};this.removeEndListeners(),this.removeEndListeners=Pe(this.node.current,"keyup",a),bl("down",(s,l)=>{this.startPress(s,l);});},r=Pe(this.node.current,"keydown",t),o=()=>{this.isPressing&&bl("cancel",(i,a)=>this.cancelPress(i,a));},n=Pe(this.node.current,"blur",o);this.removeAccessibleListeners=Ee(r,n);};}startPress(t,r){this.isPressing=!0;let{onTapStart:o,whileTap:n}=this.node.getProps();n&&this.node.animationState&&this.node.animationState.setActive("whileTap",!0),o&&V.update(()=>o(t,r));}checkPressEnd(){return this.removeEndListeners(),this.isPressing=!1,this.node.getProps().whileTap&&this.node.animationState&&this.node.animationState.setActive("whileTap",!1),!ta()}cancelPress(t,r){if(!this.checkPressEnd())return;let{onTapCancel:o}=this.node.getProps();o&&V.update(()=>o(t,r));}mount(){let t=this.node.getProps(),r=Ae(this.node.current,"pointerdown",this.startPointerPress,{passive:!(t.onTapStart||t.onPointerStart)}),o=Pe(this.node.current,"focus",this.startAccessiblePress);this.removeStartListeners=Ee(r,o);}unmount(){this.removeStartListeners(),this.removeEndListeners(),this.removeAccessibleListeners();}};var Sl=new WeakMap,xl=new WeakMap,ek=e=>{let t=Sl.get(e.target);t&&t(e);},tk=e=>{e.forEach(ek);};function rk(r){var o=r,{root:e}=o,t=k(o,["root"]);let n=e||document;xl.has(n)||xl.set(n,{});let i=xl.get(n),a=JSON.stringify(t);return i[a]||(i[a]=new IntersectionObserver(tk,d({root:e},t))),i[a]}function Cm(e,t,r){let o=rk(t);return Sl.set(e,r),o.observe(e),()=>{Sl.delete(e),o.unobserve(e);}}var ok={some:0,all:1},ia=class extends le{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1;}startObserver(){this.unmount();let{viewport:t={}}=this.node.getProps(),{root:r,margin:o,amount:n="some",once:i}=t,a={root:r?r.current:void 0,rootMargin:o,threshold:typeof n=="number"?n:ok[n]},s=l=>{let{isIntersecting:c}=l;if(this.isInView===c||(this.isInView=c,i&&!c&&this.hasEnteredView))return;c&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",c);let{onViewportEnter:u,onViewportLeave:f}=this.node.getProps(),m=c?u:f;m&&m(l);};return Cm(this.node.current,a,s)}mount(){this.startObserver();}update(){if(typeof IntersectionObserver=="undefined")return;let{props:t,prevProps:r}=this.node;["amount","margin","root"].some(nk(t,r))&&this.startObserver();}unmount(){}};function nk({viewport:e={}},{viewport:t={}}={}){return r=>e[r]!==t[r]}var wm={inView:{Feature:ia},tap:{Feature:na},focus:{Feature:oa},hover:{Feature:ra}};function Cl(e,t){if(!Array.isArray(t))return !1;let r=t.length;if(r!==e.length)return !1;for(let o=0;o<r;o++)if(t[o]!==e[o])return !1;return !0}function ik(e){let t={};return e.values.forEach((r,o)=>t[o]=r.get()),t}function ak(e){let t={};return e.values.forEach((r,o)=>t[o]=r.getVelocity()),t}function Nt(e,t,r){let o=e.getProps();return Hr(o,t,r!==void 0?r:o.custom,ik(e),ak(e))}var sk="framerAppearId",km="data-"+Fr(sk);var ge=$;var Ne=e=>e*1e3,Re=e=>e/1e3;var wl={current:!1};var kl=e=>Array.isArray(e)&&typeof e[0]=="number";function _l(e){return !!(!e||typeof e=="string"&&_m[e]||kl(e)||Array.isArray(e)&&e.every(_l))}var sn=([e,t,r,o])=>`cubic-bezier(${e}, ${t}, ${r}, ${o})`,_m={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:sn([0,.65,.55,1]),circOut:sn([.55,0,1,.45]),backIn:sn([.31,.01,.66,-.59]),backOut:sn([.33,1.53,.69,.99])};function Tl(e){if(e)return kl(e)?sn(e):Array.isArray(e)?e.map(Tl):_m[e]}function Tm(e,t,r,{delay:o=0,duration:n,repeat:i=0,repeatType:a="loop",ease:s,times:l}={}){let c={[t]:r};l&&(c.offset=l);let u=Tl(s);return Array.isArray(u)&&(c.easing=u),e.animate(c,{delay:o,duration:n,easing:Array.isArray(u)?"linear":u,fill:"both",iterations:i+1,direction:a==="reverse"?"alternate":"normal"})}function Pm(e,{repeat:t,repeatType:r="loop"}){let o=t&&r!=="loop"&&t%2===1?0:e.length-1;return e[o]}var Am=(e,t,r)=>(((1-3*r+3*t)*e+(3*r-6*t))*e+3*t)*e,lk=1e-7,ck=12;function uk(e,t,r,o,n){let i,a,s=0;do a=t+(r-t)/2,i=Am(a,o,n)-e,i>0?r=a:t=a;while(Math.abs(i)>lk&&++s<ck);return a}function $t(e,t,r,o){if(e===t&&r===o)return $;let n=i=>uk(i,0,1,e,r);return i=>i===0||i===1?i:Am(n(i),t,o)}var Em=$t(.42,0,1,1),Rm=$t(0,0,.58,1),aa=$t(.42,0,.58,1);var Mm=e=>Array.isArray(e)&&typeof e[0]!="number";var sa=e=>t=>t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2;var la=e=>t=>1-e(1-t);var Pl=e=>1-Math.sin(Math.acos(e)),ln=la(Pl),Im=sa(ln);var Al=$t(.33,1.53,.69,.99),cn=la(Al),Vm=sa(cn);var Om=e=>(e*=2)<1?.5*cn(e):.5*(2-Math.pow(2,-10*(e-1)));var Nm={linear:$,easeIn:Em,easeInOut:aa,easeOut:Rm,circIn:Pl,circInOut:Im,circOut:ln,backIn:cn,backInOut:Vm,backOut:Al,anticipate:Om},El=e=>{if(Array.isArray(e)){ge(e.length===4);let[t,r,o,n]=e;return $t(t,r,o,n)}else if(typeof e=="string")return Nm[e];return e};var Kr=(e,t)=>r=>!!(dt(r)&&qd.test(r)&&r.startsWith(e)||t&&Object.prototype.hasOwnProperty.call(r,t)),ca=(e,t,r)=>o=>{if(!dt(o))return o;let[n,i,a,s]=o.match(tr);return {[e]:parseFloat(n),[t]:parseFloat(i),[r]:parseFloat(a),alpha:s!==void 0?parseFloat(s):1}};var fk=e=>Ce(0,255,e),Rl=v(d({},Fe),{transform:e=>Math.round(fk(e))}),Qe={test:Kr("rgb","red"),parse:ca("red","green","blue"),transform:({red:e,green:t,blue:r,alpha:o=1})=>"rgba("+Rl.transform(e)+", "+Rl.transform(t)+", "+Rl.transform(r)+", "+Ot(Vt.transform(o))+")"};function dk(e){let t="",r="",o="",n="";return e.length>5?(t=e.substring(1,3),r=e.substring(3,5),o=e.substring(5,7),n=e.substring(7,9)):(t=e.substring(1,2),r=e.substring(2,3),o=e.substring(3,4),n=e.substring(4,5),t+=t,r+=r,o+=o,n+=n),{red:parseInt(t,16),green:parseInt(r,16),blue:parseInt(o,16),alpha:n?parseInt(n,16)/255:1}}var un={test:Kr("#"),parse:dk,transform:Qe.transform};var Lt={test:Kr("hsl","hue"),parse:ca("hue","saturation","lightness"),transform:({hue:e,saturation:t,lightness:r,alpha:o=1})=>"hsla("+Math.round(e)+", "+we.transform(Ot(t))+", "+we.transform(Ot(r))+", "+Ot(Vt.transform(o))+")"};var ne={test:e=>Qe.test(e)||un.test(e)||Lt.test(e),parse:e=>Qe.test(e)?Qe.parse(e):Lt.test(e)?Lt.parse(e):un.parse(e),transform:e=>dt(e)?e:e.hasOwnProperty("red")?Qe.transform(e):Lt.transform(e)};var L=(e,t,r)=>-r*e+r*t+e;function Ml(e,t,r){return r<0&&(r+=1),r>1&&(r-=1),r<1/6?e+(t-e)*6*r:r<1/2?t:r<2/3?e+(t-e)*(2/3-r)*6:e}function $m({hue:e,saturation:t,lightness:r,alpha:o}){e/=360,t/=100,r/=100;let n=0,i=0,a=0;if(!t)n=i=a=r;else {let s=r<.5?r*(1+t):r+t-r*t,l=2*r-s;n=Ml(l,s,e+1/3),i=Ml(l,s,e),a=Ml(l,s,e-1/3);}return {red:Math.round(n*255),green:Math.round(i*255),blue:Math.round(a*255),alpha:o}}var Il=(e,t,r)=>{let o=e*e;return Math.sqrt(Math.max(0,r*(t*t-o)+o))},mk=[un,Qe,Lt],pk=e=>mk.find(t=>t.test(e));function Lm(e){let t=pk(e);let r=t.parse(e);return t===Lt&&(r=$m(r)),r}var ua=(e,t)=>{let r=Lm(e),o=Lm(t),n=d({},r);return i=>(n.red=Il(r.red,o.red,i),n.green=Il(r.green,o.green,i),n.blue=Il(r.blue,o.blue,i),n.alpha=L(r.alpha,o.alpha,i),Qe.transform(n))};function hk(e){var t,r;return isNaN(e)&&dt(e)&&(((t=e.match(tr))===null||t===void 0?void 0:t.length)||0)+(((r=e.match(ml))===null||r===void 0?void 0:r.length)||0)>0}var Dm={regex:Ud,countKey:"Vars",token:"${v}",parse:$},jm={regex:ml,countKey:"Colors",token:"${c}",parse:ne.parse},Bm={regex:tr,countKey:"Numbers",token:"${n}",parse:Fe.parse};function Vl(e,{regex:t,countKey:r,token:o,parse:n}){let i=e.tokenised.match(t);i&&(e["num"+r]=i.length,e.tokenised=e.tokenised.replace(t,o),e.values.push(...i.map(n)));}function fn(e){let t=e.toString(),r={value:t,tokenised:t,values:[],numVars:0,numColors:0,numNumbers:0};return r.value.includes("var(--")&&Vl(r,Dm),Vl(r,jm),Vl(r,Bm),r}function zm(e){return fn(e).values}function Fm(e){let{values:t,numColors:r,numVars:o,tokenised:n}=fn(e),i=t.length;return a=>{let s=n;for(let l=0;l<i;l++)l<o?s=s.replace(Dm.token,a[l]):l<o+r?s=s.replace(jm.token,ne.transform(a[l])):s=s.replace(Bm.token,Ot(a[l]));return s}}var gk=e=>typeof e=="number"?0:e;function yk(e){let t=zm(e);return Fm(e)(t.map(gk))}var _e={test:hk,parse:zm,createTransformer:Fm,getAnimatableNone:yk};var Wm=(e,t)=>r=>`${r>0?t:e}`;function Hm(e,t){return typeof e=="number"?r=>L(e,t,r):ne.test(e)?ua(e,t):e.startsWith("var(")?Wm(e,t):Nl(e,t)}var Ol=(e,t)=>{let r=[...e],o=r.length,n=e.map((i,a)=>Hm(i,t[a]));return i=>{for(let a=0;a<o;a++)r[a]=n[a](i);return r}},Gm=(e,t)=>{let r=d(d({},e),t),o={};for(let n in r)e[n]!==void 0&&t[n]!==void 0&&(o[n]=Hm(e[n],t[n]));return n=>{for(let i in o)r[i]=o[i](n);return r}},Nl=(e,t)=>{let r=_e.createTransformer(t),o=fn(e),n=fn(t);return o.numVars===n.numVars&&o.numColors===n.numColors&&o.numNumbers>=n.numNumbers?Ee(Ol(o.values,n.values),r):(Wm(e,t))};var mt=(e,t,r)=>{let o=t-e;return o===0?1:(r-e)/o};var Um=(e,t)=>r=>L(e,t,r);function vk(e){return typeof e=="number"?Um:typeof e=="string"?ne.test(e)?ua:Nl:Array.isArray(e)?Ol:typeof e=="object"?Gm:Um}function bk(e,t,r){let o=[],n=r||vk(e[0]),i=e.length-1;for(let a=0;a<i;a++){let s=n(e[a],e[a+1]);if(t){let l=Array.isArray(t)?t[a]||$:t;s=Ee(l,s);}o.push(s);}return o}function fa(e,t,{clamp:r=!0,ease:o,mixer:n}={}){let i=e.length;if(ge(i===t.length),i===1)return ()=>t[0];e[0]>e[i-1]&&(e=[...e].reverse(),t=[...t].reverse());let a=bk(t,o,n),s=a.length,l=c=>{let u=0;if(s>1)for(;u<e.length-2&&!(c<e[u+1]);u++);let f=mt(e[u],e[u+1],c);return a[u](f)};return r?c=>l(Ce(e[0],e[i-1],c)):l}function Km(e,t){let r=e[e.length-1];for(let o=1;o<=t;o++){let n=mt(0,t,o);e.push(L(r,1,n));}}function qm(e){let t=[0];return Km(t,e.length-1),t}function Ym(e,t){return e.map(r=>r*t)}function xk(e,t){return e.map(()=>t||aa).splice(0,e.length-1)}function dn({duration:e=300,keyframes:t,times:r,ease:o="easeInOut"}){let n=Mm(o)?o.map(El):El(o),i={done:!1,value:t[0]},a=Ym(r&&r.length===t.length?r:qm(t),e),s=fa(a,t,{ease:Array.isArray(n)?n:xk(t,n)});return {calculatedDuration:e,next:l=>(i.value=s(l),i.done=l>=e,i)}}function da(e,t){return t?e*(1e3/t):0}var Sk=5;function ma(e,t,r){let o=Math.max(t-Sk,0);return da(r-e(o),t-o)}var $l=.001,Ck=.01,Xm=10,wk=.05,kk=1;function Zm({duration:e=800,bounce:t=.25,velocity:r=0,mass:o=1}){let n,i;let a=1-t;a=Ce(wk,kk,a),e=Ce(Ck,Xm,Re(e)),a<1?(n=c=>{let u=c*a,f=u*e,m=u-r,p=pa(c,a),g=Math.exp(-f);return $l-m/p*g},i=c=>{let f=c*a*e,m=f*r+r,p=Math.pow(a,2)*Math.pow(c,2)*e,g=Math.exp(-f),y=pa(Math.pow(c,2),a);return (-n(c)+$l>0?-1:1)*((m-p)*g)/y}):(n=c=>{let u=Math.exp(-c*e),f=(c-r)*e+1;return -$l+u*f},i=c=>{let u=Math.exp(-c*e),f=(r-c)*(e*e);return u*f});let s=5/e,l=Tk(n,i,s);if(e=Ne(e),isNaN(l))return {stiffness:100,damping:10,duration:e};{let c=Math.pow(l,2)*o;return {stiffness:c,damping:a*2*Math.sqrt(o*c),duration:e}}}var _k=12;function Tk(e,t,r){let o=r;for(let n=1;n<_k;n++)o=o-e(o)/t(o);return o}function pa(e,t){return e*Math.sqrt(1-t*t)}var Pk=["duration","bounce"],Ak=["stiffness","damping","mass"];function Jm(e,t){return t.some(r=>e[r]!==void 0)}function Ek(e){let t=d({velocity:0,stiffness:100,damping:10,mass:1,isResolvedFromDuration:!1},e);if(!Jm(e,Ak)&&Jm(e,Pk)){let r=Zm(e);t=v(d(d({},t),r),{velocity:0,mass:1}),t.isResolvedFromDuration=!0;}return t}function ha(n){var i=n,{keyframes:e,restDelta:t,restSpeed:r}=i,o=k(i,["keyframes","restDelta","restSpeed"]);let a=e[0],s=e[e.length-1],l={done:!1,value:a},{stiffness:c,damping:u,mass:f,velocity:m,duration:p,isResolvedFromDuration:g}=Ek(o),y=m?-Re(m):0,b=u/(2*Math.sqrt(c*f)),x=s-a,S=Re(Math.sqrt(c/f)),C=Math.abs(x)<5;r||(r=C?.01:2),t||(t=C?.005:.5);let w;if(b<1){let P=pa(S,b);w=R=>{let A=Math.exp(-b*S*R);return s-A*((y+b*S*x)/P*Math.sin(P*R)+x*Math.cos(P*R))};}else if(b===1)w=P=>s-Math.exp(-S*P)*(x+(y+S*x)*P);else {let P=S*Math.sqrt(b*b-1);w=R=>{let A=Math.exp(-b*S*R),I=Math.min(P*R,300);return s-A*((y+b*S*x)*Math.sinh(I)+P*x*Math.cosh(I))/P};}return {calculatedDuration:g&&p||null,next:P=>{let R=w(P);if(g)l.done=P>=p;else {let A=y;P!==0&&(b<1?A=ma(w,P,R):A=0);let I=Math.abs(A)<=r,O=Math.abs(s-R)<=t;l.done=I&&O;}return l.value=l.done?s:R,l}}}function Ll({keyframes:e,velocity:t=0,power:r=.8,timeConstant:o=325,bounceDamping:n=10,bounceStiffness:i=500,modifyTarget:a,min:s,max:l,restDelta:c=.5,restSpeed:u}){let f=e[0],m={done:!1,value:f},p=I=>s!==void 0&&I<s||l!==void 0&&I>l,g=I=>s===void 0?l:l===void 0||Math.abs(s-I)<Math.abs(l-I)?s:l,y=r*t,b=f+y,x=a===void 0?b:a(b);x!==b&&(y=x-f);let S=I=>-y*Math.exp(-I/o),C=I=>x+S(I),w=I=>{let O=S(I),F=C(I);m.done=Math.abs(O)<=c,m.value=m.done?x:F;},P,R,A=I=>{p(m.value)&&(P=I,R=ha({keyframes:[m.value,g(m.value)],velocity:ma(C,I,m.value),damping:n,stiffness:i,restDelta:c,restSpeed:u}));};return A(0),{calculatedDuration:null,next:I=>{let O=!1;return !R&&P===void 0&&(O=!0,w(I),A(I)),P!==void 0&&I>P?R.next(I-P):(!O&&w(I),m)}}}var Qm=e=>{let t=({timestamp:r})=>e(r);return {start:()=>V.update(t,!0),stop:()=>ke(t),now:()=>Q.isProcessing?Q.timestamp:performance.now()}};function Dl(e){let t=0,r=50,o=e.next(t);for(;!o.done&&t<2e4;)t+=r,o=e.next(t);return t>=2e4?1/0:t}var Rk={decay:Ll,inertia:Ll,tween:dn,keyframes:dn,spring:ha};function nr(p){var g=p,{autoplay:e=!0,delay:t=0,driver:r=Qm,keyframes:o,type:n="keyframes",repeat:i=0,repeatDelay:a=0,repeatType:s="loop",onPlay:l,onStop:c,onComplete:u,onUpdate:f}=g,m=k(g,["autoplay","delay","driver","keyframes","type","repeat","repeatDelay","repeatType","onPlay","onStop","onComplete","onUpdate"]);let y=1,b=!1,x,S,C=()=>{S=new Promise(J=>{x=J;});};C();let w,P=Rk[n]||dn,R;P!==dn&&typeof o[0]!="number"&&(R=fa([0,100],o,{clamp:!1}),o=[0,100]);let A=P(v(d({},m),{keyframes:o})),I;s==="mirror"&&(I=P(v(d({},m),{keyframes:[...o].reverse(),velocity:-(m.velocity||0)})));let O="idle",F=null,W=null,ue=null;A.calculatedDuration===null&&i&&(A.calculatedDuration=Dl(A));let{calculatedDuration:fe}=A,he=1/0,G=1/0;fe!==null&&(he=fe+a,G=he*(i+1)-a);let ee=0,ot=J=>{if(W===null)return;y>0&&(W=Math.min(W,J)),y<0&&(W=Math.min(J-G/y,W)),F!==null?ee=F:ee=Math.round(J-W)*y;let wo=ee-t*(y>=0?1:-1),Ic=y>=0?wo<0:wo>G;ee=Math.max(wo,0),O==="finished"&&F===null&&(ee=G);let Vc=ee,Oc=A;if(i){let ls=ee/he,In=Math.floor(ls),Bt=ls%1;!Bt&&ls>=1&&(Bt=1),Bt===1&&In--,In=Math.min(In,i+1);let $c=!!(In%2);$c&&(s==="reverse"?(Bt=1-Bt,a&&(Bt-=a/he)):s==="mirror"&&(Oc=I));let Lc=Ce(0,1,Bt);ee>G&&(Lc=s==="reverse"&&$c?1:0),Vc=Lc*he;}let ko=Ic?{done:!1,value:o[0]}:Oc.next(Vc);R&&(ko.value=R(ko.value));let{done:Nc}=ko;!Ic&&fe!==null&&(Nc=y>=0?ee>=G:ee<=0);let ky=F===null&&(O==="finished"||O==="running"&&Nc);return f&&f(ko.value),ky&&wy(),ko},Co=()=>{w&&w.stop(),w=void 0;},Ec=()=>{O="idle",Co(),x(),C(),W=ue=null;},wy=()=>{O="finished",u&&u(),Co(),x();},Rc=()=>{if(b)return;w||(w=r(ot));let J=w.now();l&&l(),F!==null?W=J-F:(!W||O==="finished")&&(W=J),O==="finished"&&C(),ue=W,F=null,O="running",w.start();};e&&Rc();let Mc={then(J,wo){return S.then(J,wo)},get time(){return Re(ee)},set time(J){J=Ne(J),ee=J,F!==null||!w||y===0?F=J:W=w.now()-J/y;},get duration(){let J=A.calculatedDuration===null?Dl(A):A.calculatedDuration;return Re(J)},get speed(){return y},set speed(J){J===y||!w||(y=J,Mc.time=Re(ee));},get state(){return O},play:Rc,pause:()=>{O="paused",F=ee;},stop:()=>{b=!0,O!=="idle"&&(O="idle",c&&c(),Ec());},cancel:()=>{ue!==null&&ot(ue),Ec();},complete:()=>{O="finished";},sample:J=>(W=0,ot(J))};return Mc}function ep(e){let t;return ()=>(t===void 0&&(t=e()),t)}var Mk=ep(()=>Object.hasOwnProperty.call(Element.prototype,"animate")),Ik=new Set(["opacity","clipPath","filter","transform","backgroundColor"]),ga=10,Vk=2e4,Ok=(e,t)=>t.type==="spring"||e==="backgroundColor"||!_l(t.ease);function tp(e,t,i){var a=i,{onUpdate:r,onComplete:o}=a,n=k(a,["onUpdate","onComplete"]);if(!(Mk()&&Ik.has(t)&&!n.repeatDelay&&n.repeatType!=="mirror"&&n.damping!==0&&n.type!=="inertia"))return !1;let l=!1,c,u,f=()=>{u=new Promise(w=>{c=w;});};f();let{keyframes:m,duration:p=300,ease:g,times:y}=n;if(Ok(t,n)){let w=nr(v(d({},n),{repeat:0,delay:0})),P={done:!1,value:m[0]},R=[],A=0;for(;!P.done&&A<Vk;)P=w.sample(A),R.push(P.value),A+=ga;y=void 0,m=R,p=A-ga,g="linear";}let b=Tm(e.owner.current,t,m,v(d({},n),{duration:p,ease:g,times:y}));n.syncStart&&(b.startTime=Q.isProcessing?Q.timestamp:document.timeline?document.timeline.currentTime:performance.now());let x=()=>b.cancel(),S=()=>{V.update(x),c(),f();};return b.onfinish=()=>{e.set(Pm(m,n)),o&&o(),S();},{then(w,P){return u.then(w,P)},attachTimeline(w){return b.timeline=w,b.onfinish=null,$},get time(){return Re(b.currentTime||0)},set time(w){b.currentTime=Ne(w);},get speed(){return b.playbackRate},set speed(w){b.playbackRate=w;},get duration(){return Re(p)},play:()=>{l||(b.play(),ke(x));},pause:()=>b.pause(),stop:()=>{if(l=!0,b.playState==="idle")return;let{currentTime:w}=b;if(w){let P=nr(v(d({},n),{autoplay:!1}));e.setWithVelocity(P.sample(w-ga).value,P.sample(w).value,ga);}S();},complete:()=>b.finish(),cancel:S}}function rp({keyframes:e,delay:t,onUpdate:r,onComplete:o}){let n=()=>(r&&r(e[e.length-1]),o&&o(),{time:0,speed:1,duration:0,play:$,pause:$,stop:$,then:i=>(i(),Promise.resolve()),cancel:$,complete:$});return t?nr({keyframes:[0,1],duration:0,delay:t,onComplete:n}):n()}var Nk={type:"spring",stiffness:500,damping:25,restSpeed:10},$k=e=>({type:"spring",stiffness:550,damping:e===0?2*Math.sqrt(550):30,restSpeed:10}),Lk={type:"keyframes",duration:.8},Dk={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},op=(e,{keyframes:t})=>t.length>2?Lk:Te.has(e)?e.startsWith("scale")?$k(t[1]):Nk:Dk;var mn=(e,t)=>e==="zIndex"?!1:!!(typeof t=="number"||Array.isArray(t)||typeof t=="string"&&(_e.test(t)||t==="0")&&!t.startsWith("url("));var jk=new Set(["brightness","contrast","saturate","opacity"]);function Bk(e){let[t,r]=e.slice(0,-1).split("(");if(t==="drop-shadow")return e;let[o]=r.match(tr)||[];if(!o)return e;let n=r.replace(o,""),i=jk.has(t)?1:0;return o!==r&&(i*=100),t+"("+i+n+")"}var zk=/([a-z-]*)\(.*?\)/g,pn=v(d({},_e),{getAnimatableNone:e=>{let t=e.match(zk);return t?t.map(Bk).join(" "):e}});var Fk=v(d({},Wi),{color:ne,backgroundColor:ne,outlineColor:ne,fill:ne,stroke:ne,borderColor:ne,borderTopColor:ne,borderRightColor:ne,borderBottomColor:ne,borderLeftColor:ne,filter:pn,WebkitFilter:pn}),qr=e=>Fk[e];function ya(e,t){let r=qr(e);return r!==pn&&(r=_e),r.getAnimatableNone?r.getAnimatableNone(t):void 0}var va=e=>/^0[^.\s]+$/.test(e);function np(e){if(typeof e=="number")return e===0;if(e!==null)return e==="none"||e==="0"||va(e)}function ip(e,t,r,o){let n=mn(t,r),i;Array.isArray(r)?i=[...r]:i=[null,r];let a=o.from!==void 0?o.from:e.get(),s,l=[];for(let c=0;c<i.length;c++)i[c]===null&&(i[c]=c===0?a:i[c-1]),np(i[c])&&l.push(c),typeof i[c]=="string"&&i[c]!=="none"&&i[c]!=="0"&&(s=i[c]);if(n&&l.length&&s)for(let c=0;c<l.length;c++){let u=l[c];i[u]=ya(t,s);}return i}function ap(f){var m=f,u=k(m,["when","delay","delayChildren","staggerChildren","staggerDirection","repeat","repeatType","repeatDelay","from","elapsed"]);return !!Object.keys(u).length}function ba(e,t){return e[t]||e.default||e}var Yr=(e,t,r,o={})=>n=>{let i=ba(o,e)||{},a=i.delay||o.delay||0,{elapsed:s=0}=o;s=s-Ne(a);let l=ip(t,e,r,i),c=l[0],u=l[l.length-1],f=mn(e,c),m=mn(e,u);let p=v(d({keyframes:l,velocity:t.getVelocity(),ease:"easeOut"},i),{delay:-s,onUpdate:g=>{t.set(g),i.onUpdate&&i.onUpdate(g);},onComplete:()=>{n(),i.onComplete&&i.onComplete();}});if(ap(i)||(p=d(d({},p),op(e,p))),p.duration&&(p.duration=Ne(p.duration)),p.repeatDelay&&(p.repeatDelay=Ne(p.repeatDelay)),!f||!m||wl.current||i.type===!1)return rp(p);if(t.owner&&t.owner.current instanceof HTMLElement&&!t.owner.getProps().onUpdate){let g=tp(t,e,p);if(g)return g}return nr(p)};function ir(e){return !!(X(e)&&e.add)}var xa=e=>/^\-?\d*\.?\d+$/.test(e);function Xr(e,t){e.indexOf(t)===-1&&e.push(t);}function Zr(e,t){let r=e.indexOf(t);r>-1&&e.splice(r,1);}var Dt=class{constructor(){this.subscriptions=[];}add(t){return Xr(this.subscriptions,t),()=>Zr(this.subscriptions,t)}notify(t,r,o){let n=this.subscriptions.length;if(n)if(n===1)this.subscriptions[0](t,r,o);else for(let i=0;i<n;i++){let a=this.subscriptions[i];a&&a(t,r,o);}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0;}};var Wk=e=>!isNaN(parseFloat(e)),jl=class{constructor(t,r={}){this.version="10.16.4",this.timeDelta=0,this.lastUpdated=0,this.canTrackVelocity=!1,this.events={},this.updateAndNotify=(o,n=!0)=>{this.prev=this.current,this.current=o;let{delta:i,timestamp:a}=Q;this.lastUpdated!==a&&(this.timeDelta=i,this.lastUpdated=a,V.postRender(this.scheduleVelocityCheck)),this.prev!==this.current&&this.events.change&&this.events.change.notify(this.current),this.events.velocityChange&&this.events.velocityChange.notify(this.getVelocity()),n&&this.events.renderRequest&&this.events.renderRequest.notify(this.current);},this.scheduleVelocityCheck=()=>V.postRender(this.velocityCheck),this.velocityCheck=({timestamp:o})=>{o!==this.lastUpdated&&(this.prev=this.current,this.events.velocityChange&&this.events.velocityChange.notify(this.getVelocity()));},this.hasAnimated=!1,this.prev=this.current=t,this.canTrackVelocity=Wk(this.current),this.owner=r.owner;}onChange(t){return this.on("change",t)}on(t,r){this.events[t]||(this.events[t]=new Dt);let o=this.events[t].add(r);return t==="change"?()=>{o(),V.read(()=>{this.events.change.getSize()||this.stop();});}:o}clearListeners(){for(let t in this.events)this.events[t].clear();}attach(t,r){this.passiveEffect=t,this.stopPassiveEffect=r;}set(t,r=!0){!r||!this.passiveEffect?this.updateAndNotify(t,r):this.passiveEffect(t,this.updateAndNotify);}setWithVelocity(t,r,o){this.set(r),this.prev=t,this.timeDelta=o;}jump(t){this.updateAndNotify(t),this.prev=t,this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect();}get(){return this.current}getPrevious(){return this.prev}getVelocity(){return this.canTrackVelocity?da(parseFloat(this.current)-parseFloat(this.prev),this.timeDelta):0}start(t){return this.stop(),new Promise(r=>{this.hasAnimated=!0,this.animation=t(r),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 et(e,t){return new jl(e,t)}var Sa=e=>t=>t.test(e);var lp={test:e=>e==="auto",parse:e=>e};var Bl=[Fe,E,we,Je,Xd,Yd,lp],Jr=e=>Bl.find(Sa(e));var Hk=[...Bl,ne,_e],cp=e=>Hk.find(Sa(e));function Gk(e,t,r){e.hasValue(t)?e.getValue(t).set(r):e.addValue(t,et(r));}function up(e,t){let r=Nt(e,t),a=r?e.makeTargetAnimatable(r,!1):{},{transitionEnd:o={},transition:n={}}=a,i=k(a,["transitionEnd","transition"]);i=d(d({},i),o);for(let s in i){let l=um(i[s]);Gk(e,s,l);}}function fp(e,t,r){var o,n;let i=Object.keys(t).filter(s=>!e.hasValue(s)),a=i.length;if(a)for(let s=0;s<a;s++){let l=i[s],c=t[l],u=null;Array.isArray(c)&&(u=c[0]),u===null&&(u=(n=(o=r[l])!==null&&o!==void 0?o:e.readValue(l))!==null&&n!==void 0?n:t[l]),u!=null&&(typeof u=="string"&&(xa(u)||va(u))?u=parseFloat(u):!cp(u)&&_e.test(c)&&(u=ya(l,c)),e.addValue(l,et(u,{owner:e})),r[l]===void 0&&(r[l]=u),u!==null&&e.setBaseTarget(l,u));}}function Uk(e,t){return t?(t[e]||t.default||t).from:void 0}function dp(e,t,r){let o={};for(let n in e){let i=Uk(n,t);if(i!==void 0)o[n]=i;else {let a=r.getValue(n);a&&(o[n]=a.get());}}return o}function Kk({protectedKeys:e,needsAnimating:t},r){let o=e.hasOwnProperty(r)&&t[r]!==!0;return t[r]=!1,o}function Ca(e,t,{delay:r=0,transitionOverride:o,type:n}={}){let f=e.makeTargetAnimatable(t),{transition:i=e.getDefaultTransition(),transitionEnd:a}=f,s=k(f,["transition","transitionEnd"]),l=e.getValue("willChange");o&&(i=o);let c=[],u=n&&e.animationState&&e.animationState.getState()[n];for(let m in s){let p=e.getValue(m),g=s[m];if(!p||g===void 0||u&&Kk(u,m))continue;let y=d({delay:r,elapsed:0},i);if(window.HandoffAppearAnimations&&!p.hasAnimated){let x=e.getProps()[km];x&&(y.elapsed=window.HandoffAppearAnimations(x,m,p,V),y.syncStart=!0);}p.start(Yr(m,p,g,e.shouldReduceMotion&&Te.has(m)?{type:!1}:y));let b=p.animation;ir(l)&&(l.add(m),b.then(()=>l.remove(m))),c.push(b);}return a&&Promise.all(c).then(()=>{a&&up(e,a);}),c}function wa(e,t,r={}){let o=Nt(e,t,r.custom),{transition:n=e.getDefaultTransition()||{}}=o||{};r.transitionOverride&&(n=r.transitionOverride);let i=o?()=>Promise.all(Ca(e,o,r)):()=>Promise.resolve(),a=e.variantChildren&&e.variantChildren.size?(l=0)=>{let{delayChildren:c=0,staggerChildren:u,staggerDirection:f}=n;return qk(e,t,c+l,u,f,r)}:()=>Promise.resolve(),{when:s}=n;if(s){let[l,c]=s==="beforeChildren"?[i,a]:[a,i];return l().then(()=>c())}else return Promise.all([i(),a(r.delay)])}function qk(e,t,r=0,o=0,n=1,i){let a=[],s=(e.variantChildren.size-1)*o,l=n===1?(c=0)=>c*o:(c=0)=>s-c*o;return Array.from(e.variantChildren).sort(Yk).forEach((c,u)=>{c.notify("AnimationStart",t),a.push(wa(c,t,v(d({},i),{delay:r+l(u)})).then(()=>c.notify("AnimationComplete",t)));}),Promise.all(a)}function Yk(e,t){return e.sortNodePosition(t)}function mp(e,t,r={}){e.notify("AnimationStart",t);let o;if(Array.isArray(t)){let n=t.map(i=>wa(e,i,r));o=Promise.all(n);}else if(typeof t=="string")o=wa(e,t,r);else {let n=typeof t=="function"?Nt(e,t,r.custom):t;o=Promise.all(Ca(e,n,r));}return o.then(()=>e.notify("AnimationComplete",t))}var Xk=[...$i].reverse(),Zk=$i.length;function Jk(e){return t=>Promise.all(t.map(({animation:r,options:o})=>mp(e,r,o)))}function pp(e){let t=Jk(e),r=e_(),o=!0,n=(l,c)=>{let u=Nt(e,c);if(u){let f=u,{transition:m,transitionEnd:p}=f,g=k(f,["transition","transitionEnd"]);l=d(d(d({},l),g),p);}return l};function i(l){t=l(e);}function a(l,c){let u=e.getProps(),f=e.getVariantContext(!0)||{},m=[],p=new Set,g={},y=1/0;for(let x=0;x<Zk;x++){let S=Xk[x],C=r[S],w=u[S]!==void 0?u[S]:f[S],P=ft(w),R=S===c?C.isActive:null;R===!1&&(y=x);let A=w===f[S]&&w!==u[S]&&P;if(A&&o&&e.manuallyAnimateOnMount&&(A=!1),C.protectedKeys=d({},g),!C.isActive&&R===null||!w&&!C.prevProp||Mt(w)||typeof w=="boolean")continue;let I=Qk(C.prevProp,w),O=I||S===c&&C.isActive&&!A&&P||x>y&&P,F=Array.isArray(w)?w:[w],W=F.reduce(n,{});R===!1&&(W={});let{prevResolvedValues:ue={}}=C,fe=d(d({},ue),W),he=G=>{O=!0,p.delete(G),C.needsAnimating[G]=!0;};for(let G in fe){let ee=W[G],ot=ue[G];g.hasOwnProperty(G)||(ee!==ot?rr(ee)&&rr(ot)?!Cl(ee,ot)||I?he(G):C.protectedKeys[G]=!0:ee!==void 0?he(G):p.add(G):ee!==void 0&&p.has(G)?he(G):C.protectedKeys[G]=!0);}C.prevProp=w,C.prevResolvedValues=W,C.isActive&&(g=d(d({},g),W)),o&&e.blockInitialAnimation&&(O=!1),O&&!A&&m.push(...F.map(G=>({animation:G,options:d({type:S},l)})));}if(p.size){let x={};p.forEach(S=>{let C=e.getBaseTarget(S);C!==void 0&&(x[S]=C);}),m.push({animation:x});}let b=!!m.length;return o&&u.initial===!1&&!e.manuallyAnimateOnMount&&(b=!1),o=!1,b?t(m):Promise.resolve()}function s(l,c,u){var f;if(r[l].isActive===c)return Promise.resolve();(f=e.variantChildren)===null||f===void 0||f.forEach(p=>{var g;return (g=p.animationState)===null||g===void 0?void 0:g.setActive(l,c)}),r[l].isActive=c;let m=a(u,l);for(let p in r)r[p].protectedKeys={};return m}return {animateChanges:a,setActive:s,setAnimateFunction:i,getState:()=>r}}function Qk(e,t){return typeof t=="string"?t!==e:Array.isArray(t)?!Cl(t,e):!1}function ar(e=!1){return {isActive:e,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function e_(){return {animate:ar(!0),whileInView:ar(),whileHover:ar(),whileTap:ar(),whileDrag:ar(),whileFocus:ar(),exit:ar()}}var ka=class extends le{constructor(t){super(t),t.animationState||(t.animationState=pp(t));}updateAnimationControlsSubscription(){let{animate:t}=this.node.getProps();this.unmount(),Mt(t)&&(this.unmount=t.subscribe(this.node));}mount(){this.updateAnimationControlsSubscription();}update(){let{animate:t}=this.node.getProps(),{animate:r}=this.node.prevProps||{};t!==r&&this.updateAnimationControlsSubscription();}unmount(){}};var t_=0,_a=class extends le{constructor(){super(...arguments),this.id=t_++;}update(){if(!this.node.presenceContext)return;let{isPresent:t,onExitComplete:r,custom:o}=this.node.presenceContext,{isPresent:n}=this.node.prevPresenceContext||{};if(!this.node.animationState||t===n)return;let i=this.node.animationState.setActive("exit",!t,{custom:o!=null?o:this.node.getProps().custom});r&&!t&&i.then(()=>r(this.id));}mount(){let{register:t}=this.node.presenceContext||{};t&&(this.unmount=t(this.id));}unmount(){}};var hp={animation:{Feature:ka},exit:{Feature:_a}};var gp=(e,t)=>Math.abs(e-t);function yp(e,t){let r=gp(e.x,t.x),o=gp(e.y,t.y);return Math.sqrt(On(r,2)+On(o,2))}var Qr=class{constructor(t,r,{transformPagePoint:o}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.handlers={},this.updatePoint=()=>{if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;let c=Fl(this.lastMoveEventInfo,this.history),u=this.startEvent!==null,f=yp(c.offset,{x:0,y:0})>=3;if(!u&&!f)return;let{point:m}=c,{timestamp:p}=Q;this.history.push(v(d({},m),{timestamp:p}));let{onStart:g,onMove:y}=this.handlers;u||(g&&g(this.lastMoveEvent,c),this.startEvent=this.lastMoveEvent),y&&y(this.lastMoveEvent,c);},this.handlePointerMove=(c,u)=>{this.lastMoveEvent=c,this.lastMoveEventInfo=zl(u,this.transformPagePoint),V.update(this.updatePoint,!0);},this.handlePointerUp=(c,u)=>{if(this.end(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;let{onEnd:f,onSessionEnd:m}=this.handlers,p=Fl(c.type==="pointercancel"?this.lastMoveEventInfo:zl(u,this.transformPagePoint),this.history);this.startEvent&&f&&f(c,p),m&&m(c,p);},!ea(t))return;this.handlers=r,this.transformPagePoint=o;let n=or(t),i=zl(n,this.transformPagePoint),{point:a}=i,{timestamp:s}=Q;this.history=[v(d({},a),{timestamp:s})];let{onSessionStart:l}=r;l&&l(t,Fl(i,this.history)),this.removeListeners=Ee(Ae(window,"pointermove",this.handlePointerMove),Ae(window,"pointerup",this.handlePointerUp),Ae(window,"pointercancel",this.handlePointerUp));}updateHandlers(t){this.handlers=t;}end(){this.removeListeners&&this.removeListeners(),ke(this.updatePoint);}};function zl(e,t){return t?{point:t(e.point)}:e}function vp(e,t){return {x:e.x-t.x,y:e.y-t.y}}function Fl({point:e},t){return {point:e,delta:vp(e,bp(t)),offset:vp(e,r_(t)),velocity:o_(t,.1)}}function r_(e){return e[0]}function bp(e){return e[e.length-1]}function o_(e,t){if(e.length<2)return {x:0,y:0};let r=e.length-1,o=null,n=bp(e);for(;r>=0&&(o=e[r],!(n.timestamp-o.timestamp>Ne(t)));)r--;if(!o)return {x:0,y:0};let i=Re(n.timestamp-o.timestamp);if(i===0)return {x:0,y:0};let a={x:(n.x-o.x)/i,y:(n.y-o.y)/i};return a.x===1/0&&(a.x=0),a.y===1/0&&(a.y=0),a}function pe(e){return e.max-e.min}function Ta(e,t=0,r=.01){return Math.abs(e-t)<=r}function xp(e,t,r,o=.5){e.origin=o,e.originPoint=L(t.min,t.max,e.origin),e.scale=pe(r)/pe(t),(Ta(e.scale,1,1e-4)||isNaN(e.scale))&&(e.scale=1),e.translate=L(r.min,r.max,e.origin)-e.originPoint,(Ta(e.translate)||isNaN(e.translate))&&(e.translate=0);}function eo(e,t,r,o){xp(e.x,t.x,r.x,o?o.originX:void 0),xp(e.y,t.y,r.y,o?o.originY:void 0);}function Sp(e,t,r){e.min=r.min+t.min,e.max=e.min+pe(t);}function wp(e,t,r){Sp(e.x,t.x,r.x),Sp(e.y,t.y,r.y);}function Cp(e,t,r){e.min=t.min-r.min,e.max=e.min+pe(t);}function to(e,t,r){Cp(e.x,t.x,r.x),Cp(e.y,t.y,r.y);}function Ap(e,{min:t,max:r},o){return t!==void 0&&e<t?e=o?L(t,e,o.min):Math.max(e,t):r!==void 0&&e>r&&(e=o?L(r,e,o.max):Math.min(e,r)),e}function kp(e,t,r){return {min:t!==void 0?e.min+t:void 0,max:r!==void 0?e.max+r-(e.max-e.min):void 0}}function Ep(e,{top:t,left:r,bottom:o,right:n}){return {x:kp(e.x,r,n),y:kp(e.y,t,o)}}function _p(e,t){let r=t.min-e.min,o=t.max-e.max;return t.max-t.min<e.max-e.min&&([r,o]=[o,r]),{min:r,max:o}}function Rp(e,t){return {x:_p(e.x,t.x),y:_p(e.y,t.y)}}function Mp(e,t){let r=.5,o=pe(e),n=pe(t);return n>o?r=mt(t.min,t.max-o,e.min):o>n&&(r=mt(e.min,e.max-n,t.min)),Ce(0,1,r)}function Ip(e,t){let r={};return t.min!==void 0&&(r.min=t.min-e.min),t.max!==void 0&&(r.max=t.max-e.min),r}var Pa=.35;function Vp(e=Pa){return e===!1?e=0:e===!0&&(e=Pa),{x:Tp(e,"left","right"),y:Tp(e,"top","bottom")}}function Tp(e,t,r){return {min:Pp(e,t),max:Pp(e,r)}}function Pp(e,t){return typeof e=="number"?e:e[t]||0}var Op=()=>({translate:0,scale:1,origin:0,originPoint:0}),sr=()=>({x:Op(),y:Op()}),Np=()=>({min:0,max:0}),Z=()=>({x:Np(),y:Np()});function We(e){return [e("x"),e("y")]}function Aa({top:e,left:t,right:r,bottom:o}){return {x:{min:t,max:r},y:{min:e,max:o}}}function $p({x:e,y:t}){return {top:t.min,right:e.max,bottom:t.max,left:e.min}}function Lp(e,t){if(!t)return e;let r=t({x:e.left,y:e.top}),o=t({x:e.right,y:e.bottom});return {top:r.y,left:r.x,bottom:o.y,right:o.x}}function Wl(e){return e===void 0||e===1}function Ea({scale:e,scaleX:t,scaleY:r}){return !Wl(e)||!Wl(t)||!Wl(r)}function pt(e){return Ea(e)||Hl(e)||e.z||e.rotate||e.rotateX||e.rotateY}function Hl(e){return Dp(e.x)||Dp(e.y)}function Dp(e){return e&&e!=="0%"}function hn(e,t,r){let o=e-r,n=t*o;return r+n}function jp(e,t,r,o,n){return n!==void 0&&(e=hn(e,n,o)),hn(e,r,o)+t}function Gl(e,t=0,r=1,o,n){e.min=jp(e.min,t,r,o,n),e.max=jp(e.max,t,r,o,n);}function Ul(e,{x:t,y:r}){Gl(e.x,t.translate,t.scale,t.originPoint),Gl(e.y,r.translate,r.scale,r.originPoint);}function Fp(e,t,r,o=!1){let n=r.length;if(!n)return;t.x=t.y=1;let i,a;for(let s=0;s<n;s++){i=r[s],a=i.projectionDelta;let l=i.instance;l&&l.style&&l.style.display==="contents"||(o&&i.options.layoutScroll&&i.scroll&&i!==i.root&&lr(e,{x:-i.scroll.offset.x,y:-i.scroll.offset.y}),a&&(t.x*=a.x.scale,t.y*=a.y.scale,Ul(e,a)),o&&pt(i.latestValues)&&lr(e,i.latestValues));}t.x=Bp(t.x),t.y=Bp(t.y);}function Bp(e){return Number.isInteger(e)||e>1.0000000000001||e<.999999999999?e:1}function tt(e,t){e.min=e.min+t,e.max=e.max+t;}function zp(e,t,[r,o,n]){let i=t[n]!==void 0?t[n]:.5,a=L(e.min,e.max,i);Gl(e,t[r],t[o],a,t.scale);}var n_=["x","scaleX","originX"],i_=["y","scaleY","originY"];function lr(e,t){zp(e.x,t,n_),zp(e.y,t,i_);}function Kl(e,t){return Aa(Lp(e.getBoundingClientRect(),t))}function Wp(e,t,r){let o=Kl(e,r),{scroll:n}=t;return n&&(tt(o.x,n.offset.x),tt(o.y,n.offset.y)),o}var a_=new WeakMap,Ma=class{constructor(t){this.openGlobalLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic=Z(),this.visualElement=t;}start(t,{snapToCursor:r=!1}={}){let{presenceContext:o}=this.visualElement;if(o&&o.isPresent===!1)return;let n=l=>{this.stopAnimation(),r&&this.snapToCursor(or(l,"page").point);},i=(l,c)=>{let{drag:u,dragPropagation:f,onDragStart:m}=this.getProps();if(u&&!f&&(this.openGlobalLock&&this.openGlobalLock(),this.openGlobalLock=yl(u),!this.openGlobalLock))return;this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),We(g=>{let y=this.getAxisMotionValue(g).get()||0;if(we.test(y)){let{projection:b}=this.visualElement;if(b&&b.layout){let x=b.layout.layoutBox[g];x&&(y=pe(x)*(parseFloat(y)/100));}}this.originPoint[g]=y;}),m&&V.update(()=>m(l,c),!1,!0);let{animationState:p}=this.visualElement;p&&p.setActive("whileDrag",!0);},a=(l,c)=>{let{dragPropagation:u,dragDirectionLock:f,onDirectionLock:m,onDrag:p}=this.getProps();if(!u&&!this.openGlobalLock)return;let{offset:g}=c;if(f&&this.currentDirection===null){this.currentDirection=s_(g),this.currentDirection!==null&&m&&m(this.currentDirection);return}this.updateAxis("x",c.point,g),this.updateAxis("y",c.point,g),this.visualElement.render(),p&&p(l,c);},s=(l,c)=>this.stop(l,c);this.panSession=new Qr(t,{onSessionStart:n,onStart:i,onMove:a,onSessionEnd:s},{transformPagePoint:this.visualElement.getTransformPagePoint()});}stop(t,r){let o=this.isDragging;if(this.cancel(),!o)return;let{velocity:n}=r;this.startAnimation(n);let{onDragEnd:i}=this.getProps();i&&V.update(()=>i(t,r));}cancel(){this.isDragging=!1;let{projection:t,animationState:r}=this.visualElement;t&&(t.isAnimationBlocked=!1),this.panSession&&this.panSession.end(),this.panSession=void 0;let{dragPropagation:o}=this.getProps();!o&&this.openGlobalLock&&(this.openGlobalLock(),this.openGlobalLock=null),r&&r.setActive("whileDrag",!1);}updateAxis(t,r,o){let{drag:n}=this.getProps();if(!o||!Ra(t,n,this.currentDirection))return;let i=this.getAxisMotionValue(t),a=this.originPoint[t]+o[t];this.constraints&&this.constraints[t]&&(a=Ap(a,this.constraints[t],this.elastic[t])),i.set(a);}resolveConstraints(){let{dragConstraints:t,dragElastic:r}=this.getProps(),{layout:o}=this.visualElement.projection||{},n=this.constraints;t&&ut(t)?this.constraints||(this.constraints=this.resolveRefConstraints()):t&&o?this.constraints=Ep(o.layoutBox,t):this.constraints=!1,this.elastic=Vp(r),n!==this.constraints&&o&&this.constraints&&!this.hasMutatedConstraints&&We(i=>{this.getAxisMotionValue(i)&&(this.constraints[i]=Ip(o.layoutBox[i],this.constraints[i]));});}resolveRefConstraints(){let{dragConstraints:t,onMeasureDragConstraints:r}=this.getProps();if(!t||!ut(t))return !1;let o=t.current;let{projection:n}=this.visualElement;if(!n||!n.layout)return !1;let i=Wp(o,n.root,this.visualElement.getTransformPagePoint()),a=Rp(n.layout.layoutBox,i);if(r){let s=r($p(a));this.hasMutatedConstraints=!!s,s&&(a=Aa(s));}return a}startAnimation(t){let{drag:r,dragMomentum:o,dragElastic:n,dragTransition:i,dragSnapToOrigin:a,onDragTransitionEnd:s}=this.getProps(),l=this.constraints||{},c=We(u=>{if(!Ra(u,r,this.currentDirection))return;let f=l&&l[u]||{};a&&(f={min:0,max:0});let m=n?200:1e6,p=n?40:1e7,g=d(d({type:"inertia",velocity:o?t[u]:0,bounceStiffness:m,bounceDamping:p,timeConstant:750,restDelta:1,restSpeed:10},i),f);return this.startAxisValueAnimation(u,g)});return Promise.all(c).then(s)}startAxisValueAnimation(t,r){let o=this.getAxisMotionValue(t);return o.start(Yr(t,o,0,r))}stopAnimation(){We(t=>this.getAxisMotionValue(t).stop());}getAxisMotionValue(t){let r="_drag"+t.toUpperCase(),o=this.visualElement.getProps(),n=o[r];return n||this.visualElement.getValue(t,(o.initial?o.initial[t]:void 0)||0)}snapToCursor(t){We(r=>{let{drag:o}=this.getProps();if(!Ra(r,o,this.currentDirection))return;let{projection:n}=this.visualElement,i=this.getAxisMotionValue(r);if(n&&n.layout){let{min:a,max:s}=n.layout.layoutBox[r];i.set(t[r]-L(a,s,.5));}});}scalePositionWithinConstraints(){if(!this.visualElement.current)return;let{drag:t,dragConstraints:r}=this.getProps(),{projection:o}=this.visualElement;if(!ut(r)||!o||!this.constraints)return;this.stopAnimation();let n={x:0,y:0};We(a=>{let s=this.getAxisMotionValue(a);if(s){let l=s.get();n[a]=Mp({min:l,max:l},this.constraints[a]);}});let{transformTemplate:i}=this.visualElement.getProps();this.visualElement.current.style.transform=i?i({},""):"none",o.root&&o.root.updateScroll(),o.updateLayout(),this.resolveConstraints(),We(a=>{if(!Ra(a,t,null))return;let s=this.getAxisMotionValue(a),{min:l,max:c}=this.constraints[a];s.set(L(l,c,n[a]));});}addListeners(){if(!this.visualElement.current)return;a_.set(this.visualElement,this);let t=this.visualElement.current,r=Ae(t,"pointerdown",l=>{let{drag:c,dragListener:u=!0}=this.getProps();c&&u&&this.start(l);}),o=()=>{let{dragConstraints:l}=this.getProps();ut(l)&&(this.constraints=this.resolveRefConstraints());},{projection:n}=this.visualElement,i=n.addEventListener("measure",o);n&&!n.layout&&(n.root&&n.root.updateScroll(),n.updateLayout()),o();let a=Pe(window,"resize",()=>this.scalePositionWithinConstraints()),s=n.addEventListener("didUpdate",({delta:l,hasLayoutChanged:c})=>{this.isDragging&&c&&(We(u=>{let f=this.getAxisMotionValue(u);f&&(this.originPoint[u]+=l[u].translate,f.set(f.get()+l[u].translate));}),this.visualElement.render());});return ()=>{a(),r(),i(),s&&s();}}getProps(){let t=this.visualElement.getProps(),{drag:r=!1,dragDirectionLock:o=!1,dragPropagation:n=!1,dragConstraints:i=!1,dragElastic:a=Pa,dragMomentum:s=!0}=t;return v(d({},t),{drag:r,dragDirectionLock:o,dragPropagation:n,dragConstraints:i,dragElastic:a,dragMomentum:s})}};function Ra(e,t,r){return (t===!0||t===e)&&(r===null||r===e)}function s_(e,t=10){let r=null;return Math.abs(e.y)>t?r="y":Math.abs(e.x)>t&&(r="x"),r}var Ia=class extends le{constructor(t){super(t),this.removeGroupControls=$,this.removeListeners=$,this.controls=new Ma(t);}mount(){let{dragControls:t}=this.node.getProps();t&&(this.removeGroupControls=t.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||$;}unmount(){this.removeGroupControls(),this.removeListeners();}};var Hp=e=>(t,r)=>{e&&V.update(()=>e(t,r));},Va=class extends le{constructor(){super(...arguments),this.removePointerDownListener=$;}onPointerDown(t){this.session=new Qr(t,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint()});}createPanHandlers(){let{onPanSessionStart:t,onPanStart:r,onPan:o,onPanEnd:n}=this.node.getProps();return {onSessionStart:Hp(t),onStart:Hp(r),onMove:o,onEnd:(i,a)=>{delete this.session,n&&V.update(()=>n(i,a));}}}mount(){this.removePointerDownListener=Ae(this.node.current,"pointerdown",t=>this.onPointerDown(t));}update(){this.session&&this.session.updateHandlers(this.createPanHandlers());}unmount(){this.removePointerDownListener(),this.session&&this.session.end();}};function Gp(){let e=ht.useContext(Et);if(e===null)return [!0,null];let{isPresent:t,onExitComplete:r,register:o}=e,n=ht.useId();return ht.useEffect(()=>o(n),[]),!t&&r?[!1,()=>r&&r(n)]:[!0]}var ro={hasAnimatedSinceResize:!0,hasEverUpdated:!1};function Up(e,t){return t.max===t.min?0:e/(t.max-t.min)*100}var oo={correct:(e,t)=>{if(!t.target)return e;if(typeof e=="string")if(E.test(e))e=parseFloat(e);else return e;let r=Up(e,t.target.x),o=Up(e,t.target.y);return `${r}% ${o}%`}};var Kp={correct:(e,{treeScale:t,projectionDelta:r})=>{let o=e,n=_e.parse(e);if(n.length>5)return o;let i=_e.createTransformer(e),a=typeof n[0]!="number"?1:0,s=r.x.scale*t.x,l=r.y.scale*t.y;n[0+a]/=s,n[1+a]/=l;let c=L(s,l,.5);return typeof n[2+a]=="number"&&(n[2+a]/=c),typeof n[3+a]=="number"&&(n[3+a]/=c),i(n)}};var ql=class extends ht__namespace.default.Component{componentDidMount(){let{visualElement:t,layoutGroup:r,switchLayoutGroup:o,layoutId:n}=this.props,{projection:i}=t;Wd(f_),i&&(r.group&&r.group.add(i),o&&o.register&&n&&o.register(i),i.root.didUpdate(),i.addEventListener("animationComplete",()=>{this.safeToRemove();}),i.setOptions(v(d({},i.options),{onExitComplete:()=>this.safeToRemove()}))),ro.hasEverUpdated=!0;}getSnapshotBeforeUpdate(t){let{layoutDependency:r,visualElement:o,drag:n,isPresent:i}=this.props,a=o.projection;return a&&(a.isPresent=i,n||t.layoutDependency!==r||r===void 0?a.willUpdate():this.safeToRemove(),t.isPresent!==i&&(i?a.promote():a.relegate()||V.postRender(()=>{let s=a.getStack();(!s||!s.members.length)&&this.safeToRemove();}))),null}componentDidUpdate(){let{projection:t}=this.props.visualElement;t&&(t.root.didUpdate(),queueMicrotask(()=>{!t.currentAnimation&&t.isLead()&&this.safeToRemove();}));}componentWillUnmount(){let{visualElement:t,layoutGroup:r,switchLayoutGroup:o}=this.props,{projection:n}=t;n&&(n.scheduleCheckAfterUnmount(),r&&r.group&&r.group.remove(n),o&&o.deregister&&o.deregister(n));}safeToRemove(){let{safeToRemove:t}=this.props;t&&t();}render(){return null}};function Oa(e){let[t,r]=Gp(),o=ht.useContext(Nr);return ht__namespace.default.createElement(ql,v(d({},e),{layoutGroup:o,switchLayoutGroup:ht.useContext(Di),isPresent:t,safeToRemove:r}))}var f_={borderRadius:v(d({},oo),{applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]}),borderTopLeftRadius:oo,borderTopRightRadius:oo,borderBottomLeftRadius:oo,borderBottomRightRadius:oo,boxShadow:Kp};var Qp=["TopLeft","TopRight","BottomLeft","BottomRight"],d_=Qp.length,Xp=e=>typeof e=="string"?parseFloat(e):e,Zp=e=>typeof e=="number"||E.test(e);function eh(e,t,r,o,n,i){n?(e.opacity=L(0,r.opacity!==void 0?r.opacity:1,m_(o)),e.opacityExit=L(t.opacity!==void 0?t.opacity:1,0,p_(o))):i&&(e.opacity=L(t.opacity!==void 0?t.opacity:1,r.opacity!==void 0?r.opacity:1,o));for(let a=0;a<d_;a++){let s=`border${Qp[a]}Radius`,l=Jp(t,s),c=Jp(r,s);if(l===void 0&&c===void 0)continue;l||(l=0),c||(c=0),l===0||c===0||Zp(l)===Zp(c)?(e[s]=Math.max(L(Xp(l),Xp(c),o),0),(we.test(c)||we.test(l))&&(e[s]+="%")):e[s]=c;}(t.rotate||r.rotate)&&(e.rotate=L(t.rotate||0,r.rotate||0,o));}function Jp(e,t){return e[t]!==void 0?e[t]:e.borderRadius}var m_=th(0,.5,ln),p_=th(.5,.95,$);function th(e,t,r){return o=>o<e?0:o>t?1:r(mt(e,t,o))}function rh(e,t){e.min=t.min,e.max=t.max;}function $e(e,t){rh(e.x,t.x),rh(e.y,t.y);}function oh(e,t,r,o,n){return e-=t,e=hn(e,1/r,o),n!==void 0&&(e=hn(e,1/n,o)),e}function h_(e,t=0,r=1,o=.5,n,i=e,a=e){if(we.test(t)&&(t=parseFloat(t),t=L(a.min,a.max,t/100)-a.min),typeof t!="number")return;let s=L(i.min,i.max,o);e===i&&(s-=t),e.min=oh(e.min,t,r,s,n),e.max=oh(e.max,t,r,s,n);}function nh(e,t,[r,o,n],i,a){h_(e,t[r],t[o],t[n],t.scale,i,a);}var g_=["x","scaleX","originX"],y_=["y","scaleY","originY"];function Yl(e,t,r,o){nh(e.x,t,g_,r?r.x:void 0,o?o.x:void 0),nh(e.y,t,y_,r?r.y:void 0,o?o.y:void 0);}function ih(e){return e.translate===0&&e.scale===1}function Xl(e){return ih(e.x)&&ih(e.y)}function ah(e,t){return e.x.min===t.x.min&&e.x.max===t.x.max&&e.y.min===t.y.min&&e.y.max===t.y.max}function Zl(e,t){return Math.round(e.x.min)===Math.round(t.x.min)&&Math.round(e.x.max)===Math.round(t.x.max)&&Math.round(e.y.min)===Math.round(t.y.min)&&Math.round(e.y.max)===Math.round(t.y.max)}function Jl(e){return pe(e.x)/pe(e.y)}var Na=class{constructor(){this.members=[];}add(t){Xr(this.members,t),t.scheduleRender();}remove(t){if(Zr(this.members,t),t===this.prevLead&&(this.prevLead=void 0),t===this.lead){let r=this.members[this.members.length-1];r&&this.promote(r);}}relegate(t){let r=this.members.findIndex(n=>t===n);if(r===0)return !1;let o;for(let n=r;n>=0;n--){let i=this.members[n];if(i.isPresent!==!1){o=i;break}}return o?(this.promote(o),!0):!1}promote(t,r){let o=this.lead;if(t!==o&&(this.prevLead=o,this.lead=t,t.show(),o)){o.instance&&o.scheduleRender(),t.scheduleRender(),t.resumeFrom=o,r&&(t.resumeFrom.preserveOpacity=!0),o.snapshot&&(t.snapshot=o.snapshot,t.snapshot.latestValues=o.animationValues||o.latestValues),t.root&&t.root.isUpdating&&(t.isLayoutDirty=!0);let{crossfade:n}=t.options;n===!1&&o.hide();}}exitAnimationComplete(){this.members.forEach(t=>{let{options:r,resumingFrom:o}=t;r.onExitComplete&&r.onExitComplete(),o&&o.options.onExitComplete&&o.options.onExitComplete();});}scheduleRender(){this.members.forEach(t=>{t.instance&&t.scheduleRender(!1);});}removeLeadSnapshot(){this.lead&&this.lead.snapshot&&(this.lead.snapshot=void 0);}};function Ql(e,t,r){let o="",n=e.x.translate/t.x,i=e.y.translate/t.y;if((n||i)&&(o=`translate3d(${n}px, ${i}px, 0) `),(t.x!==1||t.y!==1)&&(o+=`scale(${1/t.x}, ${1/t.y}) `),r){let{rotate:l,rotateX:c,rotateY:u}=r;l&&(o+=`rotate(${l}deg) `),c&&(o+=`rotateX(${c}deg) `),u&&(o+=`rotateY(${u}deg) `);}let a=e.x.scale*t.x,s=e.y.scale*t.y;return (a!==1||s!==1)&&(o+=`scale(${a}, ${s})`),o||"none"}var sh=(e,t)=>e.depth-t.depth;var $a=class{constructor(){this.children=[],this.isDirty=!1;}add(t){Xr(this.children,t),this.isDirty=!0;}remove(t){Zr(this.children,t),this.isDirty=!0;}forEach(t){this.isDirty&&this.children.sort(sh),this.isDirty=!1,this.children.forEach(t);}};function lh(e,t){let r=performance.now(),o=({timestamp:n})=>{let i=n-r;i>=t&&(ke(o),e(i-t));};return V.read(o,!0),()=>ke(o)}function ch(e){window.MotionDebug&&window.MotionDebug.record(e);}function uh(e){return e instanceof SVGElement&&e.tagName!=="svg"}function fh(e,t,r){let o=X(e)?e:et(e);return o.start(Yr("",o,t,r)),o.animation}var dh=["","X","Y","Z"],mh=1e3,v_=0,cr={type:"projectionFrame",totalNodes:0,resolvedTargetDeltas:0,recalculatedProjection:0};function La({attachResizeListener:e,defaultParent:t,measureScroll:r,checkIsScrollRoot:o,resetTransform:n}){return class{constructor(a={},s=t==null?void 0:t()){this.id=v_++,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.treeScale={x:1,y:1},this.eventHandlers=new Map,this.hasTreeAnimated=!1,this.updateScheduled=!1,this.checkUpdateFailed=()=>{this.isUpdating&&(this.isUpdating=!1,this.clearAllSnapshots());},this.updateProjection=()=>{cr.totalNodes=cr.resolvedTargetDeltas=cr.recalculatedProjection=0,this.nodes.forEach(S_),this.nodes.forEach(T_),this.nodes.forEach(P_),this.nodes.forEach(C_),ch(cr);},this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=a,this.root=s?s.root||s:this,this.path=s?[...s.path,s]:[],this.parent=s,this.depth=s?s.depth+1:0;for(let l=0;l<this.path.length;l++)this.path[l].shouldResetTransform=!0;this.root===this&&(this.nodes=new $a);}addEventListener(a,s){return this.eventHandlers.has(a)||this.eventHandlers.set(a,new Dt),this.eventHandlers.get(a).add(s)}notifyListeners(a,...s){let l=this.eventHandlers.get(a);l&&l.notify(...s);}hasListeners(a){return this.eventHandlers.has(a)}mount(a,s=this.root.hasTreeAnimated){if(this.instance)return;this.isSVG=uh(a),this.instance=a;let{layoutId:l,layout:c,visualElement:u}=this.options;if(u&&!u.current&&u.mount(a),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),s&&(c||l)&&(this.isLayoutDirty=!0),e){let f,m=()=>this.root.updateBlockedByResize=!1;e(a,()=>{this.root.updateBlockedByResize=!0,f&&f(),f=lh(m,250),ro.hasAnimatedSinceResize&&(ro.hasAnimatedSinceResize=!1,this.nodes.forEach(hh));});}l&&this.root.registerSharedNode(l,this),this.options.animate!==!1&&u&&(l||c)&&this.addEventListener("didUpdate",({delta:f,hasLayoutChanged:m,hasRelativeTargetChanged:p,layout:g})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}let y=this.options.transition||u.getDefaultTransition()||I_,{onLayoutAnimationStart:b,onLayoutAnimationComplete:x}=u.getProps(),S=!this.targetLayout||!Zl(this.targetLayout,g)||p,C=!m&&p;if(this.options.layoutRoot||this.resumeFrom&&this.resumeFrom.instance||C||m&&(S||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0),this.setAnimationOrigin(f,C);let w=v(d({},ba(y,"layout")),{onPlay:b,onComplete:x});(u.shouldReduceMotion||this.options.layoutRoot)&&(w.delay=0,w.type=!1),this.startAnimation(w);}else m||hh(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=g;});}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);let a=this.getStack();a&&a.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,ke(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(A_),this.animationId++);}getTransformTemplate(){let{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(!this.root.isUpdating&&this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let u=0;u<this.path.length;u++){let f=this.path[u];f.shouldResetTransform=!0,f.updateScroll("snapshot"),f.options.layoutRoot&&f.willUpdate(!1);}let{layoutId:s,layout:l}=this.options;if(s===void 0&&!l)return;let c=this.getTransformTemplate();this.prevTransformTemplateValue=c?c(this.latestValues,""):void 0,this.updateSnapshot(),a&&this.notifyListeners("willUpdate");}update(){if(this.updateScheduled=!1,this.isUpdateBlocked()){this.unblockUpdate(),this.clearAllSnapshots(),this.nodes.forEach(ph);return}this.isUpdating||this.nodes.forEach(k_),this.isUpdating=!1,this.nodes.forEach(__),this.nodes.forEach(b_),this.nodes.forEach(x_),this.clearAllSnapshots();let s=performance.now();Q.delta=Ce(0,1e3/60,s-Q.timestamp),Q.timestamp=s,Q.isProcessing=!0,Qi.update.process(Q),Qi.preRender.process(Q),Qi.render.process(Q),Q.isProcessing=!1;}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,queueMicrotask(()=>this.update()));}clearAllSnapshots(){this.nodes.forEach(w_),this.sharedNodes.forEach(E_);}scheduleUpdateProjection(){V.preRender(this.updateProjection,!1,!0);}scheduleCheckAfterUnmount(){V.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 l=0;l<this.path.length;l++)this.path[l].updateScroll();let a=this.layout;this.layout=this.measure(!1),this.layoutCorrected=Z(),this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners("measure",this.layout.layoutBox);let{visualElement:s}=this.options;s&&s.notify("LayoutMeasure",this.layout.layoutBox,a?a.layoutBox:void 0);}updateScroll(a="measure"){let s=!!(this.options.layoutScroll&&this.instance);this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===a&&(s=!1),s&&(this.scroll={animationId:this.root.animationId,phase:a,isRoot:o(this.instance),offset:r(this.instance)});}resetTransform(){if(!n)return;let a=this.isLayoutDirty||this.shouldResetTransform,s=this.projectionDelta&&!Xl(this.projectionDelta),l=this.getTransformTemplate(),c=l?l(this.latestValues,""):void 0,u=c!==this.prevTransformTemplateValue;a&&(s||pt(this.latestValues)||u)&&(n(this.instance,c),this.shouldResetTransform=!1,this.scheduleRender());}measure(a=!0){let s=this.measurePageBox(),l=this.removeElementScroll(s);return a&&(l=this.removeTransform(l)),V_(l),{animationId:this.root.animationId,measuredBox:s,layoutBox:l,latestValues:{},source:this.id}}measurePageBox(){let{visualElement:a}=this.options;if(!a)return Z();let s=a.measureViewportBox(),{scroll:l}=this.root;return l&&(tt(s.x,l.offset.x),tt(s.y,l.offset.y)),s}removeElementScroll(a){let s=Z();$e(s,a);for(let l=0;l<this.path.length;l++){let c=this.path[l],{scroll:u,options:f}=c;if(c!==this.root&&u&&f.layoutScroll){if(u.isRoot){$e(s,a);let{scroll:m}=this.root;m&&(tt(s.x,-m.offset.x),tt(s.y,-m.offset.y));}tt(s.x,u.offset.x),tt(s.y,u.offset.y);}}return s}applyTransform(a,s=!1){let l=Z();$e(l,a);for(let c=0;c<this.path.length;c++){let u=this.path[c];!s&&u.options.layoutScroll&&u.scroll&&u!==u.root&&lr(l,{x:-u.scroll.offset.x,y:-u.scroll.offset.y}),pt(u.latestValues)&&lr(l,u.latestValues);}return pt(this.latestValues)&&lr(l,this.latestValues),l}removeTransform(a){let s=Z();$e(s,a);for(let l=0;l<this.path.length;l++){let c=this.path[l];if(!c.instance||!pt(c.latestValues))continue;Ea(c.latestValues)&&c.updateSnapshot();let u=Z(),f=c.measurePageBox();$e(u,f),Yl(s,c.latestValues,c.snapshot?c.snapshot.layoutBox:void 0,u);}return pt(this.latestValues)&&Yl(s,this.latestValues),s}setTargetDelta(a){this.targetDelta=a,this.root.scheduleUpdateProjection(),this.isProjectionDirty=!0;}setOptions(a){this.options=v(d(d({},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!==Q.timestamp&&this.relativeParent.resolveTargetDelta(!0);}resolveTargetDelta(a=!1){var s;let l=this.getLead();this.isProjectionDirty||(this.isProjectionDirty=l.isProjectionDirty),this.isTransformDirty||(this.isTransformDirty=l.isTransformDirty),this.isSharedProjectionDirty||(this.isSharedProjectionDirty=l.isSharedProjectionDirty);let c=!!this.resumingFrom||this!==l;if(!(a||c&&this.isSharedProjectionDirty||this.isProjectionDirty||!((s=this.parent)===null||s===void 0)&&s.isProjectionDirty||this.attemptToResolveRelativeTarget))return;let{layout:f,layoutId:m}=this.options;if(!(!this.layout||!(f||m))){if(this.resolvedRelativeTargetAt=Q.timestamp,!this.targetDelta&&!this.relativeTarget){let p=this.getClosestProjectingParent();p&&p.layout&&this.animationProgress!==1?(this.relativeParent=p,this.forceRelativeParentToResolveTarget(),this.relativeTarget=Z(),this.relativeTargetOrigin=Z(),to(this.relativeTargetOrigin,this.layout.layoutBox,p.layout.layoutBox),$e(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0;}if(!(!this.relativeTarget&&!this.targetDelta)){if(this.target||(this.target=Z(),this.targetWithTransforms=Z()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target?(this.forceRelativeParentToResolveTarget(),wp(this.target,this.relativeTarget,this.relativeParent.target)):this.targetDelta?(this.resumingFrom?this.target=this.applyTransform(this.layout.layoutBox):$e(this.target,this.layout.layoutBox),Ul(this.target,this.targetDelta)):$e(this.target,this.layout.layoutBox),this.attemptToResolveRelativeTarget){this.attemptToResolveRelativeTarget=!1;let p=this.getClosestProjectingParent();p&&!!p.resumingFrom==!!this.resumingFrom&&!p.options.layoutScroll&&p.target&&this.animationProgress!==1?(this.relativeParent=p,this.forceRelativeParentToResolveTarget(),this.relativeTarget=Z(),this.relativeTargetOrigin=Z(),to(this.relativeTargetOrigin,this.target,p.target),$e(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0;}cr.resolvedTargetDeltas++;}}}getClosestProjectingParent(){if(!(!this.parent||Ea(this.parent.latestValues)||Hl(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;let s=this.getLead(),l=!!this.resumingFrom||this!==s,c=!0;if((this.isProjectionDirty||!((a=this.parent)===null||a===void 0)&&a.isProjectionDirty)&&(c=!1),l&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(c=!1),this.resolvedRelativeTargetAt===Q.timestamp&&(c=!1),c)return;let{layout:u,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||!(u||f))return;$e(this.layoutCorrected,this.layout.layoutBox);let m=this.treeScale.x,p=this.treeScale.y;Fp(this.layoutCorrected,this.treeScale,this.path,l),s.layout&&!s.target&&(this.treeScale.x!==1||this.treeScale.y!==1)&&(s.target=s.layout.layoutBox);let{target:g}=s;if(!g){this.projectionTransform&&(this.projectionDelta=sr(),this.projectionTransform="none",this.scheduleRender());return}this.projectionDelta||(this.projectionDelta=sr(),this.projectionDeltaWithTransform=sr());let y=this.projectionTransform;eo(this.projectionDelta,this.layoutCorrected,g,this.latestValues),this.projectionTransform=Ql(this.projectionDelta,this.treeScale),(this.projectionTransform!==y||this.treeScale.x!==m||this.treeScale.y!==p)&&(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",g)),cr.recalculatedProjection++;}hide(){this.isVisible=!1;}show(){this.isVisible=!0;}scheduleRender(a=!0){if(this.options.scheduleRender&&this.options.scheduleRender(),a){let s=this.getStack();s&&s.scheduleRender();}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0);}setAnimationOrigin(a,s=!1){let l=this.snapshot,c=l?l.latestValues:{},u=d({},this.latestValues),f=sr();(!this.relativeParent||!this.relativeParent.options.layoutRoot)&&(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!s;let m=Z(),p=l?l.source:void 0,g=this.layout?this.layout.source:void 0,y=p!==g,b=this.getStack(),x=!b||b.members.length<=1,S=!!(y&&!x&&this.options.crossfade===!0&&!this.path.some(M_));this.animationProgress=0;let C;this.mixTargetDelta=w=>{let P=w/1e3;gh(f.x,a.x,P),gh(f.y,a.y,P),this.setTargetDelta(f),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&(to(m,this.layout.layoutBox,this.relativeParent.layout.layoutBox),R_(this.relativeTarget,this.relativeTargetOrigin,m,P),C&&ah(this.relativeTarget,C)&&(this.isProjectionDirty=!1),C||(C=Z()),$e(C,this.relativeTarget)),y&&(this.animationValues=u,eh(u,c,this.latestValues,P,S,x)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=P;},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&&(ke(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=V.update(()=>{ro.hasAnimatedSinceResize=!0,this.currentAnimation=fh(0,mh,v(d({},a),{onUpdate:s=>{this.mixTargetDelta(s),a.onUpdate&&a.onUpdate(s);},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);let a=this.getStack();a&&a.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete");}finishAnimation(){this.currentAnimation&&(this.mixTargetDelta&&this.mixTargetDelta(mh),this.currentAnimation.stop()),this.completeAnimation();}applyTransformsToTarget(){let a=this.getLead(),{targetWithTransforms:s,target:l,layout:c,latestValues:u}=a;if(!(!s||!l||!c)){if(this!==a&&this.layout&&c&&Sh(this.options.animationType,this.layout.layoutBox,c.layoutBox)){l=this.target||Z();let f=pe(this.layout.layoutBox.x);l.x.min=a.target.x.min,l.x.max=l.x.min+f;let m=pe(this.layout.layoutBox.y);l.y.min=a.target.y.min,l.y.max=l.y.min+m;}$e(s,l),lr(s,u),eo(this.projectionDeltaWithTransform,this.layoutCorrected,s,u);}}registerSharedNode(a,s){this.sharedNodes.has(a)||this.sharedNodes.set(a,new Na),this.sharedNodes.get(a).add(s);let c=s.options.initialPromotionConfig;s.promote({transition:c?c.transition:void 0,preserveFollowOpacity:c&&c.shouldPreserveFollowOpacity?c.shouldPreserveFollowOpacity(s):void 0});}isLead(){let a=this.getStack();return a?a.lead===this:!0}getLead(){var a;let{layoutId:s}=this.options;return s?((a=this.getStack())===null||a===void 0?void 0:a.lead)||this:this}getPrevLead(){var a;let{layoutId:s}=this.options;return s?(a=this.getStack())===null||a===void 0?void 0:a.prevLead:void 0}getStack(){let{layoutId:a}=this.options;if(a)return this.root.sharedNodes.get(a)}promote({needsReset:a,transition:s,preserveFollowOpacity:l}={}){let c=this.getStack();c&&c.promote(this,l),a&&(this.projectionDelta=void 0,this.needsReset=!0),s&&this.setOptions({transition:s});}relegate(){let a=this.getStack();return a?a.relegate(this):!1}resetRotation(){let{visualElement:a}=this.options;if(!a)return;let s=!1,{latestValues:l}=a;if((l.rotate||l.rotateX||l.rotateY||l.rotateZ)&&(s=!0),!s)return;let c={};for(let u=0;u<dh.length;u++){let f="rotate"+dh[u];l[f]&&(c[f]=l[f],a.setStaticValue(f,0));}a.render();for(let u in c)a.setStaticValue(u,c[u]);a.scheduleRender();}getProjectionStyles(a={}){var s,l;let c={};if(!this.instance||this.isSVG)return c;if(this.isVisible)c.visibility="";else return {visibility:"hidden"};let u=this.getTransformTemplate();if(this.needsReset)return this.needsReset=!1,c.opacity="",c.pointerEvents=Gr(a.pointerEvents)||"",c.transform=u?u(this.latestValues,""):"none",c;let f=this.getLead();if(!this.projectionDelta||!this.layout||!f.target){let y={};return this.options.layoutId&&(y.opacity=this.latestValues.opacity!==void 0?this.latestValues.opacity:1,y.pointerEvents=Gr(a.pointerEvents)||""),this.hasProjected&&!pt(this.latestValues)&&(y.transform=u?u({},""):"none",this.hasProjected=!1),y}let m=f.animationValues||f.latestValues;this.applyTransformsToTarget(),c.transform=Ql(this.projectionDeltaWithTransform,this.treeScale,m),u&&(c.transform=u(m,c.transform));let{x:p,y:g}=this.projectionDelta;c.transformOrigin=`${p.origin*100}% ${g.origin*100}% 0`,f.animationValues?c.opacity=f===this?(l=(s=m.opacity)!==null&&s!==void 0?s:this.latestValues.opacity)!==null&&l!==void 0?l:1:this.preserveOpacity?this.latestValues.opacity:m.opacityExit:c.opacity=f===this?m.opacity!==void 0?m.opacity:"":m.opacityExit!==void 0?m.opacityExit:0;for(let y in Lr){if(m[y]===void 0)continue;let{correct:b,applyTo:x}=Lr[y],S=c.transform==="none"?m[y]:b(m[y],f);if(x){let C=x.length;for(let w=0;w<C;w++)c[x[w]]=S;}else c[y]=S;}return this.options.layoutId&&(c.pointerEvents=f===this?Gr(a.pointerEvents)||"":"none"),c}clearSnapshot(){this.resumeFrom=this.snapshot=void 0;}resetTree(){this.root.nodes.forEach(a=>{var s;return (s=a.currentAnimation)===null||s===void 0?void 0:s.stop()}),this.root.nodes.forEach(ph),this.root.sharedNodes.clear();}}}function b_(e){e.updateLayout();}function x_(e){var t;let r=((t=e.resumeFrom)===null||t===void 0?void 0:t.snapshot)||e.snapshot;if(e.isLead()&&e.layout&&r&&e.hasListeners("didUpdate")){let{layoutBox:o,measuredBox:n}=e.layout,{animationType:i}=e.options,a=r.source!==e.layout.source;i==="size"?We(f=>{let m=a?r.measuredBox[f]:r.layoutBox[f],p=pe(m);m.min=o[f].min,m.max=m.min+p;}):Sh(i,r.layoutBox,o)&&We(f=>{let m=a?r.measuredBox[f]:r.layoutBox[f],p=pe(o[f]);m.max=m.min+p,e.relativeTarget&&!e.currentAnimation&&(e.isProjectionDirty=!0,e.relativeTarget[f].max=e.relativeTarget[f].min+p);});let s=sr();eo(s,o,r.layoutBox);let l=sr();a?eo(l,e.applyTransform(n,!0),r.measuredBox):eo(l,o,r.layoutBox);let c=!Xl(s),u=!1;if(!e.resumeFrom){let f=e.getClosestProjectingParent();if(f&&!f.resumeFrom){let{snapshot:m,layout:p}=f;if(m&&p){let g=Z();to(g,r.layoutBox,m.layoutBox);let y=Z();to(y,o,p.layoutBox),Zl(g,y)||(u=!0),f.options.layoutRoot&&(e.relativeTarget=y,e.relativeTargetOrigin=g,e.relativeParent=f);}}}e.notifyListeners("didUpdate",{layout:o,snapshot:r,delta:l,layoutDelta:s,hasLayoutChanged:c,hasRelativeTargetChanged:u});}else if(e.isLead()){let{onExitComplete:o}=e.options;o&&o();}e.options.transition=void 0;}function S_(e){cr.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 C_(e){e.isProjectionDirty=e.isSharedProjectionDirty=e.isTransformDirty=!1;}function w_(e){e.clearSnapshot();}function ph(e){e.clearMeasurements();}function k_(e){e.isLayoutDirty=!1;}function __(e){let{visualElement:t}=e.options;t&&t.getProps().onBeforeLayoutMeasure&&t.notify("BeforeLayoutMeasure"),e.resetTransform();}function hh(e){e.finishAnimation(),e.targetDelta=e.relativeTarget=e.target=void 0,e.isProjectionDirty=!0;}function T_(e){e.resolveTargetDelta();}function P_(e){e.calcProjection();}function A_(e){e.resetRotation();}function E_(e){e.removeLeadSnapshot();}function gh(e,t,r){e.translate=L(t.translate,0,r),e.scale=L(t.scale,1,r),e.origin=t.origin,e.originPoint=t.originPoint;}function yh(e,t,r,o){e.min=L(t.min,r.min,o),e.max=L(t.max,r.max,o);}function R_(e,t,r,o){yh(e.x,t.x,r.x,o),yh(e.y,t.y,r.y,o);}function M_(e){return e.animationValues&&e.animationValues.opacityExit!==void 0}var I_={duration:.45,ease:[.4,0,.1,1]},vh=e=>typeof navigator!="undefined"&&navigator.userAgent.toLowerCase().includes(e),bh=vh("applewebkit/")&&!vh("chrome/")?Math.round:$;function xh(e){e.min=bh(e.min),e.max=bh(e.max);}function V_(e){xh(e.x),xh(e.y);}function Sh(e,t,r){return e==="position"||e==="preserve-aspect"&&!Ta(Jl(t),Jl(r),.2)}var Ch=La({attachResizeListener:(e,t)=>Pe(e,"resize",t),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}),checkIsScrollRoot:()=>!0});var ec={current:void 0},Da=La({measureScroll:e=>({x:e.scrollLeft,y:e.scrollTop}),defaultParent:()=>{if(!ec.current){let e=new Ch({});e.mount(window),e.setOptions({layoutScroll:!0}),ec.current=e;}return ec.current},resetTransform:(e,t)=>{e.style.transform=t!==void 0?t:"none";},checkIsScrollRoot:e=>window.getComputedStyle(e).position==="fixed"});var wh={pan:{Feature:Va},drag:{Feature:Ia,ProjectionNode:Da,MeasureLayout:Oa}};var O_=/var\((--[a-zA-Z0-9-_]+),? ?([a-zA-Z0-9 ()%#.,-]+)?\)/;function N_(e){let t=O_.exec(e);if(!t)return [,];let[,r,o]=t;return [r,o]}function tc(e,t,r=1){let[o,n]=N_(e);if(!o)return;let i=window.getComputedStyle(t).getPropertyValue(o);if(i){let a=i.trim();return xa(a)?parseFloat(a):a}else return Fi(n)?tc(n,t,r+1):n}function kh(e,o,r){var t=k(o,[]);let n=e.current;if(!(n instanceof Element))return {target:t,transitionEnd:r};r&&(r=d({},r)),e.values.forEach(i=>{let a=i.get();if(!Fi(a))return;let s=tc(a,n);s&&i.set(s);});for(let i in t){let a=t[i];if(!Fi(a))continue;let s=tc(a,n);s&&(t[i]=s,r||(r={}),r[i]===void 0&&(r[i]=a));}return {target:t,transitionEnd:r}}var L_=new Set(["width","height","top","left","right","bottom","x","y","translateX","translateY"]),Ph=e=>L_.has(e),D_=e=>Object.keys(e).some(Ph),ja=e=>e===Fe||e===E,_h=(e,t)=>parseFloat(e.split(", ")[t]),Th=(e,t)=>(r,{transform:o})=>{if(o==="none"||!o)return 0;let n=o.match(/^matrix3d\((.+)\)$/);if(n)return _h(n[1],t);{let i=o.match(/^matrix\((.+)\)$/);return i?_h(i[1],e):0}},j_=new Set(["x","y","z"]),B_=It.filter(e=>!j_.has(e));function z_(e){let t=[];return B_.forEach(r=>{let o=e.getValue(r);o!==void 0&&(t.push([r,o.get()]),o.set(r.startsWith("scale")?1:0));}),t.length&&e.render(),t}var no={width:({x:e},{paddingLeft:t="0",paddingRight:r="0"})=>e.max-e.min-parseFloat(t)-parseFloat(r),height:({y:e},{paddingTop:t="0",paddingBottom:r="0"})=>e.max-e.min-parseFloat(t)-parseFloat(r),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:Th(4,13),y:Th(5,14)};no.translateX=no.x;no.translateY=no.y;var F_=(e,t,r)=>{let o=t.measureViewportBox(),n=t.current,i=getComputedStyle(n),{display:a}=i,s={};a==="none"&&t.setStaticValue("display",e.display||"block"),r.forEach(c=>{s[c]=no[c](o,i);}),t.render();let l=t.measureViewportBox();return r.forEach(c=>{let u=t.getValue(c);u&&u.jump(s[c]),e[c]=no[c](l,i);}),e},W_=(e,t,r={},o={})=>{t=d({},t),o=d({},o);let n=Object.keys(t).filter(Ph),i=[],a=!1,s=[];if(n.forEach(l=>{let c=e.getValue(l);if(!e.hasValue(l))return;let u=r[l],f=Jr(u),m=t[l],p;if(rr(m)){let g=m.length,y=m[0]===null?1:0;u=m[y],f=Jr(u);for(let b=y;b<g&&m[b]!==null;b++)p?ge(Jr(m[b])===p):(p=Jr(m[b]),ge(p===f||ja(f)&&ja(p)));}else p=Jr(m);if(f!==p)if(ja(f)&&ja(p)){let g=c.get();typeof g=="string"&&c.set(parseFloat(g)),typeof m=="string"?t[l]=parseFloat(m):Array.isArray(m)&&p===E&&(t[l]=m.map(parseFloat));}else f!=null&&f.transform&&(p!=null&&p.transform)&&(u===0||m===0)?u===0?c.set(p.transform(u)):t[l]=f.transform(m):(a||(i=z_(e),a=!0),s.push(l),o[l]=o[l]!==void 0?o[l]:t[l],c.jump(m));}),s.length){let l=s.indexOf("height")>=0?window.pageYOffset:null,c=F_(t,e,s);return i.length&&i.forEach(([u,f])=>{e.getValue(u).set(f);}),e.render(),Rt&&l!==null&&window.scrollTo({top:l}),{target:c,transitionEnd:o}}else return {target:t,transitionEnd:o}};function Ah(e,t,r,o){return D_(t)?W_(e,t,r,o):{target:t,transitionEnd:o}}var Eh=(e,t,r,o)=>{let n=kh(e,t,o);return t=n.target,o=n.transitionEnd,Ah(e,t,r,o)};var gn={current:null},Ba={current:!1};function Rh(){if(Ba.current=!0,!!Rt)if(window.matchMedia){let e=window.matchMedia("(prefers-reduced-motion)"),t=()=>gn.current=e.matches;e.addListener(t),t();}else gn.current=!1;}function Mh(e,t,r){let{willChange:o}=t;for(let n in t){let i=t[n],a=r[n];if(X(i))e.addValue(n,i),ir(o)&&o.add(n);else if(X(a))e.addValue(n,et(i,{owner:e})),ir(o)&&o.remove(n);else if(a!==i)if(e.hasValue(n)){let s=e.getValue(n);!s.hasAnimated&&s.set(i);}else {let s=e.getStaticValue(n);e.addValue(n,et(s!==void 0?s:i,{owner:e}));}}for(let n in r)t[n]===void 0&&e.removeValue(n);return t}var rc=new WeakMap;var Vh=Object.keys(er),H_=Vh.length,Ih=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"],G_=rn.length,za=class{constructor({parent:t,props:r,presenceContext:o,reducedMotionConfig:n,visualState:i},a={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.values=new Map,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.scheduleRender=()=>V.render(this.render,!1,!0);let{latestValues:s,renderState:l}=i;this.latestValues=s,this.baseTarget=d({},s),this.initialValues=r.initial?d({},s):{},this.renderState=l,this.parent=t,this.props=r,this.presenceContext=o,this.depth=t?t.depth+1:0,this.reducedMotionConfig=n,this.options=a,this.isControllingVariants=Qt(r),this.isVariantNode=Li(r),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(t&&t.current);let f=this.scrapeMotionValuesFromProps(r,{}),{willChange:c}=f,u=k(f,["willChange"]);for(let m in u){let p=u[m];s[m]!==void 0&&X(p)&&(p.set(s[m],!1),ir(c)&&c.add(m));}}scrapeMotionValuesFromProps(t,r){return {}}mount(t){this.current=t,rc.set(t,this),this.projection&&!this.projection.instance&&this.projection.mount(t),this.parent&&this.isVariantNode&&!this.isControllingVariants&&(this.removeFromVariantTree=this.parent.addVariantChild(this)),this.values.forEach((r,o)=>this.bindToMotionValue(o,r)),Ba.current||Rh(),this.shouldReduceMotion=this.reducedMotionConfig==="never"?!1:this.reducedMotionConfig==="always"?!0:gn.current,this.parent&&this.parent.children.add(this),this.update(this.props,this.presenceContext);}unmount(){rc.delete(this.current),this.projection&&this.projection.unmount(),ke(this.notifyUpdate),ke(this.render),this.valueSubscriptions.forEach(t=>t()),this.removeFromVariantTree&&this.removeFromVariantTree(),this.parent&&this.parent.children.delete(this);for(let t in this.events)this.events[t].clear();for(let t in this.features)this.features[t].unmount();this.current=null;}bindToMotionValue(t,r){let o=Te.has(t),n=r.on("change",a=>{this.latestValues[t]=a,this.props.onUpdate&&V.update(this.notifyUpdate,!1,!0),o&&this.projection&&(this.projection.isTransformDirty=!0);}),i=r.on("renderRequest",this.scheduleRender);this.valueSubscriptions.set(t,()=>{n(),i();});}sortNodePosition(t){return !this.current||!this.sortInstanceNodePosition||this.type!==t.type?0:this.sortInstanceNodePosition(this.current,t.current)}loadFeatures(a,o,n,i){var s=a,r=k(s,["children"]);let l,c;for(let u=0;u<H_;u++){let f=Vh[u],{isEnabled:m,Feature:p,ProjectionNode:g,MeasureLayout:y}=er[f];g&&(l=g),m(r)&&(!this.features[f]&&p&&(this.features[f]=new p(this)),y&&(c=y));}if(!this.projection&&l){this.projection=new l(this.latestValues,this.parent&&this.parent.projection);let{layoutId:u,layout:f,drag:m,dragConstraints:p,layoutScroll:g,layoutRoot:y}=r;this.projection.setOptions({layoutId:u,layout:f,alwaysMeasureLayout:!!m||p&&ut(p),visualElement:this,scheduleRender:()=>this.scheduleRender(),animationType:typeof f=="string"?f:"both",initialPromotionConfig:i,layoutScroll:g,layoutRoot:y});}return c}updateFeatures(){for(let t in this.features){let r=this.features[t];r.isMounted?r.update():(r.mount(),r.isMounted=!0);}}triggerBuild(){this.build(this.renderState,this.latestValues,this.options,this.props);}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):Z()}getStaticValue(t){return this.latestValues[t]}setStaticValue(t,r){this.latestValues[t]=r;}makeTargetAnimatable(t,r=!0){return this.makeTargetAnimatableFromInstance(t,this.props,r)}update(t,r){(t.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=t,this.prevPresenceContext=this.presenceContext,this.presenceContext=r;for(let o=0;o<Ih.length;o++){let n=Ih[o];this.propEventSubscriptions[n]&&(this.propEventSubscriptions[n](),delete this.propEventSubscriptions[n]);let i=t["on"+n];i&&(this.propEventSubscriptions[n]=this.on(n,i));}this.prevMotionValues=Mh(this,this.scrapeMotionValuesFromProps(t,this.prevProps),this.prevMotionValues),this.handleChildMotionValue&&this.handleChildMotionValue();}getProps(){return this.props}getVariant(t){return this.props.variants?this.props.variants[t]:void 0}getDefaultTransition(){return this.props.transition}getTransformPagePoint(){return this.props.transformPagePoint}getClosestVariantNode(){return this.isVariantNode?this:this.parent?this.parent.getClosestVariantNode():void 0}getVariantContext(t=!1){if(t)return this.parent?this.parent.getVariantContext():void 0;if(!this.isControllingVariants){let o=this.parent?this.parent.getVariantContext()||{}:{};return this.props.initial!==void 0&&(o.initial=this.props.initial),o}let r={};for(let o=0;o<G_;o++){let n=rn[o],i=this.props[n];(ft(i)||i===!1)&&(r[n]=i);}return r}addVariantChild(t){let r=this.getClosestVariantNode();if(r)return r.variantChildren&&r.variantChildren.add(t),()=>r.variantChildren.delete(t)}addValue(t,r){r!==this.values.get(t)&&(this.removeValue(t),this.bindToMotionValue(t,r)),this.values.set(t,r),this.latestValues[t]=r.get();}removeValue(t){this.values.delete(t);let r=this.valueSubscriptions.get(t);r&&(r(),this.valueSubscriptions.delete(t)),delete this.latestValues[t],this.removeValueFromRenderState(t,this.renderState);}hasValue(t){return this.values.has(t)}getValue(t,r){if(this.props.values&&this.props.values[t])return this.props.values[t];let o=this.values.get(t);return o===void 0&&r!==void 0&&(o=et(r,{owner:this}),this.addValue(t,o)),o}readValue(t){var r;return 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)}setBaseTarget(t,r){this.baseTarget[t]=r;}getBaseTarget(t){var r;let{initial:o}=this.props,n=typeof o=="string"||typeof o=="object"?(r=Hr(this.props,o))===null||r===void 0?void 0:r[t]:void 0;if(o&&n!==void 0)return n;let i=this.getBaseTargetFromProps(this.props,t);return i!==void 0&&!X(i)?i:this.initialValues[t]!==void 0&&n===void 0?void 0:this.baseTarget[t]}on(t,r){return this.events[t]||(this.events[t]=new Dt),this.events[t].add(r)}notify(t,...r){this.events[t]&&this.events[t].notify(...r);}};var io=class extends za{sortInstanceNodePosition(t,r){return t.compareDocumentPosition(r)&2?1:-1}getBaseTargetFromProps(t,r){return t.style?t.style[r]:void 0}removeValueFromRenderState(t,{vars:r,style:o}){delete r[t],delete o[t];}makeTargetAnimatableFromInstance(a,{transformValues:n},i){var s=a,{transition:t,transitionEnd:r}=s,o=k(s,["transition","transitionEnd"]);let l=dp(o,t||{},this);if(n&&(r&&(r=n(r)),o&&(o=n(o)),l&&(l=n(l))),i){fp(this,o,l);let c=Eh(this,o,l,r);r=c.transitionEnd,o=c.target;}return d({transition:t,transitionEnd:r},o)}};function U_(e){return window.getComputedStyle(e)}var Fa=class extends io{readValueFromInstance(t,r){if(Te.has(r)){let o=qr(r);return o&&o.default||0}else {let o=U_(t),n=(zi(r)?o.getPropertyValue(r):o[r])||0;return typeof n=="string"?n.trim():n}}measureInstanceViewportBox(t,{transformPagePoint:r}){return Kl(t,r)}build(t,r,o,n){Dr(t,r,o,n.transformTemplate);}scrapeMotionValuesFromProps(t,r){return Wr(t,r)}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);let{children:t}=this.props;X(t)&&(this.childSubscription=t.on("change",r=>{this.current&&(this.current.textContent=`${r}`);}));}renderInstance(t,r,o,n){Gi(t,r,o,n);}};var Wa=class extends io{constructor(){super(...arguments),this.isSVGTag=!1;}getBaseTargetFromProps(t,r){return t[r]}readValueFromInstance(t,r){if(Te.has(r)){let o=qr(r);return o&&o.default||0}return r=Ui.has(r)?r:Fr(r),t.getAttribute(r)}measureInstanceViewportBox(){return Z()}scrapeMotionValuesFromProps(t,r){return qi(t,r)}build(t,r,o,n){Br(t,r,o,this.isSVGTag,n.transformTemplate);}renderInstance(t,r,o,n){Ki(t,r,o,n);}mount(t){this.isSVGTag=zr(t.tagName),super.mount(t);}};var Oh=(e,t)=>$r(e)?new Wa(t,{enableHardwareAcceleration:!1}):new Fa(t,{enableHardwareAcceleration:!0});var Nh={layout:{ProjectionNode:Da,MeasureLayout:Oa}};var K_=d(d(d(d({},hp),wm),wh),Nh),Le=zd((e,t)=>gm(e,t,K_,Oh));function Ha(){let e=ht.useRef(!1);return Or(()=>(e.current=!0,()=>{e.current=!1;}),[]),e}function Lh(){let e=Ha(),[t,r]=ht.useState(0),o=ht.useCallback(()=>{e.current&&r(t+1);},[t]);return [ht.useCallback(()=>V.postRender(o),[o]),t]}var oc=class extends ht__namespace.Component{getSnapshotBeforeUpdate(t){let r=this.props.childRef.current;if(r&&t.isPresent&&!this.props.isPresent){let o=this.props.sizeRef.current;o.height=r.offsetHeight||0,o.width=r.offsetWidth||0,o.top=r.offsetTop,o.left=r.offsetLeft;}return null}componentDidUpdate(){}render(){return this.props.children}};function jh({children:e,isPresent:t}){let r=ht.useId(),o=ht.useRef(null),n=ht.useRef({width:0,height:0,top:0,left:0});return ht.useInsertionEffect(()=>{let{width:i,height:a,top:s,left:l}=n.current;if(t||!o.current||!i||!a)return;o.current.dataset.motionPopId=r;let c=document.createElement("style");return document.head.appendChild(c),c.sheet&&c.sheet.insertRule(`
|
28
|
+
var Ty=Object.create;var _o=Object.defineProperty,Py=Object.defineProperties,Ay=Object.getOwnPropertyDescriptor,Ey=Object.getOwnPropertyDescriptors,Ry=Object.getOwnPropertyNames,On=Object.getOwnPropertySymbols,My=Object.getPrototypeOf,us=Object.prototype.hasOwnProperty,jc=Object.prototype.propertyIsEnumerable;var Nn=Math.pow,Dc=(e,t,r)=>t in e?_o(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,d=(e,t)=>{for(var r in t||(t={}))us.call(t,r)&&Dc(e,r,t[r]);if(On)for(var r of On(t))jc.call(t,r)&&Dc(e,r,t[r]);return e},v=(e,t)=>Py(e,Ey(t));var k=(e,t)=>{var r={};for(var o in e)us.call(e,o)&&t.indexOf(o)<0&&(r[o]=e[o]);if(e!=null&&On)for(var o of On(e))t.indexOf(o)<0&&jc.call(e,o)&&(r[o]=e[o]);return r};var Bc=(e,t)=>()=>(e&&(t=e(e=0)),t);var To=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),Iy=(e,t)=>{for(var r in t)_o(e,r,{get:t[r],enumerable:!0});},zc=(e,t,r,o)=>{if(t&&typeof t=="object"||typeof t=="function")for(let n of Ry(t))!us.call(e,n)&&n!==r&&_o(e,n,{get:()=>t[n],enumerable:!(o=Ay(t,n))||o.enumerable});return e};var zt=(e,t,r)=>(r=e!=null?Ty(My(e)):{},zc(t||!e||!e.__esModule?_o(r,"default",{value:e,enumerable:!0}):r,e)),Vy=e=>zc(_o({},"__esModule",{value:!0}),e);var pu=To(H=>{var ie=typeof Symbol=="function"&&Symbol.for,hs=ie?Symbol.for("react.element"):60103,gs=ie?Symbol.for("react.portal"):60106,Hn=ie?Symbol.for("react.fragment"):60107,Gn=ie?Symbol.for("react.strict_mode"):60108,Un=ie?Symbol.for("react.profiler"):60114,Kn=ie?Symbol.for("react.provider"):60109,qn=ie?Symbol.for("react.context"):60110,ys=ie?Symbol.for("react.async_mode"):60111,Yn=ie?Symbol.for("react.concurrent_mode"):60111,Xn=ie?Symbol.for("react.forward_ref"):60112,Zn=ie?Symbol.for("react.suspense"):60113,Yy=ie?Symbol.for("react.suspense_list"):60120,Jn=ie?Symbol.for("react.memo"):60115,Qn=ie?Symbol.for("react.lazy"):60116,Xy=ie?Symbol.for("react.block"):60121,Zy=ie?Symbol.for("react.fundamental"):60117,Jy=ie?Symbol.for("react.responder"):60118,Qy=ie?Symbol.for("react.scope"):60119;function Ve(e){if(typeof e=="object"&&e!==null){var t=e.$$typeof;switch(t){case hs:switch(e=e.type,e){case ys:case Yn:case Hn:case Un:case Gn:case Zn:return e;default:switch(e=e&&e.$$typeof,e){case qn:case Xn:case Qn:case Jn:case Kn:return e;default:return t}}case gs:return t}}}function mu(e){return Ve(e)===Yn}H.AsyncMode=ys;H.ConcurrentMode=Yn;H.ContextConsumer=qn;H.ContextProvider=Kn;H.Element=hs;H.ForwardRef=Xn;H.Fragment=Hn;H.Lazy=Qn;H.Memo=Jn;H.Portal=gs;H.Profiler=Un;H.StrictMode=Gn;H.Suspense=Zn;H.isAsyncMode=function(e){return mu(e)||Ve(e)===ys};H.isConcurrentMode=mu;H.isContextConsumer=function(e){return Ve(e)===qn};H.isContextProvider=function(e){return Ve(e)===Kn};H.isElement=function(e){return typeof e=="object"&&e!==null&&e.$$typeof===hs};H.isForwardRef=function(e){return Ve(e)===Xn};H.isFragment=function(e){return Ve(e)===Hn};H.isLazy=function(e){return Ve(e)===Qn};H.isMemo=function(e){return Ve(e)===Jn};H.isPortal=function(e){return Ve(e)===gs};H.isProfiler=function(e){return Ve(e)===Un};H.isStrictMode=function(e){return Ve(e)===Gn};H.isSuspense=function(e){return Ve(e)===Zn};H.isValidElementType=function(e){return typeof e=="string"||typeof e=="function"||e===Hn||e===Yn||e===Un||e===Gn||e===Zn||e===Yy||typeof e=="object"&&e!==null&&(e.$$typeof===Qn||e.$$typeof===Jn||e.$$typeof===Kn||e.$$typeof===qn||e.$$typeof===Xn||e.$$typeof===Zy||e.$$typeof===Jy||e.$$typeof===Qy||e.$$typeof===Xy)};H.typeOf=Ve;});var gu=To((T5,hu)=>{hu.exports=pu();});var wu=To((P5,Cu)=>{var vs=gu(),ev={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},tv={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},rv={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},xu={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},bs={};bs[vs.ForwardRef]=rv;bs[vs.Memo]=xu;function yu(e){return vs.isMemo(e)?xu:bs[e.$$typeof]||ev}var ov=Object.defineProperty,nv=Object.getOwnPropertyNames,vu=Object.getOwnPropertySymbols,iv=Object.getOwnPropertyDescriptor,av=Object.getPrototypeOf,bu=Object.prototype;function Su(e,t,r){if(typeof t!="string"){if(bu){var o=av(t);o&&o!==bu&&Su(e,o,r);}var n=nv(t);vu&&(n=n.concat(vu(t)));for(var i=yu(e),a=yu(t),s=0;s<n.length;++s){var l=n[s];if(!tv[l]&&!(r&&r[l])&&!(a&&a[l])&&!(i&&i[l])){var c=iv(t,l);try{ov(e,l,c);}catch(u){}}}}return e}Cu.exports=Su;});var Er=To((No,Tr)=>{var xv=200,Fu="__lodash_hash_undefined__",Sv=800,Cv=16,Wu=9007199254740991,Hu="[object Arguments]",wv="[object Array]",kv="[object AsyncFunction]",_v="[object Boolean]",Tv="[object Date]",Pv="[object Error]",Gu="[object Function]",Av="[object GeneratorFunction]",Ev="[object Map]",Rv="[object Number]",Mv="[object Null]",Uu="[object Object]",Iv="[object Proxy]",Vv="[object RegExp]",Ov="[object Set]",Nv="[object String]",$v="[object Undefined]",Lv="[object WeakMap]",Dv="[object ArrayBuffer]",jv="[object DataView]",Bv="[object Float32Array]",zv="[object Float64Array]",Fv="[object Int8Array]",Wv="[object Int16Array]",Hv="[object Int32Array]",Gv="[object Uint8Array]",Uv="[object Uint8ClampedArray]",Kv="[object Uint16Array]",qv="[object Uint32Array]",Yv=/[\\^$.*+?()[\]{}|]/g,Xv=/^\[object .+?Constructor\]$/,Zv=/^(?:0|[1-9]\d*)$/,K={};K[Bv]=K[zv]=K[Fv]=K[Wv]=K[Hv]=K[Gv]=K[Uv]=K[Kv]=K[qv]=!0;K[Hu]=K[wv]=K[Dv]=K[_v]=K[jv]=K[Tv]=K[Pv]=K[Gu]=K[Ev]=K[Rv]=K[Uu]=K[Vv]=K[Ov]=K[Nv]=K[Lv]=!1;var Ku=typeof global=="object"&&global&&global.Object===Object&&global,Jv=typeof self=="object"&&self&&self.Object===Object&&self,Do=Ku||Jv||Function("return this")(),qu=typeof No=="object"&&No&&!No.nodeType&&No,$o=qu&&typeof Tr=="object"&&Tr&&!Tr.nodeType&&Tr,Yu=$o&&$o.exports===qu,Cs=Yu&&Ku.process,Vu=function(){try{var e=$o&&$o.require&&$o.require("util").types;return e||Cs&&Cs.binding&&Cs.binding("util")}catch(t){}}(),Ou=Vu&&Vu.isTypedArray;function Qv(e,t,r){switch(r.length){case 0:return e.call(t);case 1:return e.call(t,r[0]);case 2:return e.call(t,r[0],r[1]);case 3:return e.call(t,r[0],r[1],r[2])}return e.apply(t,r)}function e0(e,t){for(var r=-1,o=Array(e);++r<e;)o[r]=t(r);return o}function t0(e){return function(t){return e(t)}}function r0(e,t){return e==null?void 0:e[t]}function o0(e,t){return function(r){return e(t(r))}}var n0=Array.prototype,i0=Function.prototype,ui=Object.prototype,ws=Do["__core-js_shared__"],fi=i0.toString,it=ui.hasOwnProperty,Nu=function(){var e=/[^.]+$/.exec(ws&&ws.keys&&ws.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}(),Xu=ui.toString,a0=fi.call(Object),s0=RegExp("^"+fi.call(it).replace(Yv,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),li=Yu?Do.Buffer:void 0,$u=Do.Symbol,Lu=Do.Uint8Array,Du=li?li.allocUnsafe:void 0,Zu=o0(Object.getPrototypeOf,Object),ju=Object.create,l0=ui.propertyIsEnumerable,c0=n0.splice,Ht=$u?$u.toStringTag:void 0,ci=function(){try{var e=Es(Object,"defineProperty");return e({},"",{}),e}catch(t){}}(),u0=li?li.isBuffer:void 0,Bu=Math.max,f0=Date.now,Ju=Es(Do,"Map"),Lo=Es(Object,"create"),d0=function(){function e(){}return function(t){if(!Ut(t))return {};if(ju)return ju(t);e.prototype=t;var r=new e;return e.prototype=void 0,r}}();function Gt(e){var t=-1,r=e==null?0:e.length;for(this.clear();++t<r;){var o=e[t];this.set(o[0],o[1]);}}function m0(){this.__data__=Lo?Lo(null):{},this.size=0;}function p0(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}function h0(e){var t=this.__data__;if(Lo){var r=t[e];return r===Fu?void 0:r}return it.call(t,e)?t[e]:void 0}function g0(e){var t=this.__data__;return Lo?t[e]!==void 0:it.call(t,e)}function y0(e,t){var r=this.__data__;return this.size+=this.has(e)?0:1,r[e]=Lo&&t===void 0?Fu:t,this}Gt.prototype.clear=m0;Gt.prototype.delete=p0;Gt.prototype.get=h0;Gt.prototype.has=g0;Gt.prototype.set=y0;function at(e){var t=-1,r=e==null?0:e.length;for(this.clear();++t<r;){var o=e[t];this.set(o[0],o[1]);}}function v0(){this.__data__=[],this.size=0;}function b0(e){var t=this.__data__,r=di(t,e);if(r<0)return !1;var o=t.length-1;return r==o?t.pop():c0.call(t,r,1),--this.size,!0}function x0(e){var t=this.__data__,r=di(t,e);return r<0?void 0:t[r][1]}function S0(e){return di(this.__data__,e)>-1}function C0(e,t){var r=this.__data__,o=di(r,e);return o<0?(++this.size,r.push([e,t])):r[o][1]=t,this}at.prototype.clear=v0;at.prototype.delete=b0;at.prototype.get=x0;at.prototype.has=S0;at.prototype.set=C0;function Pr(e){var t=-1,r=e==null?0:e.length;for(this.clear();++t<r;){var o=e[t];this.set(o[0],o[1]);}}function w0(){this.size=0,this.__data__={hash:new Gt,map:new(Ju||at),string:new Gt};}function k0(e){var t=pi(this,e).delete(e);return this.size-=t?1:0,t}function _0(e){return pi(this,e).get(e)}function T0(e){return pi(this,e).has(e)}function P0(e,t){var r=pi(this,e),o=r.size;return r.set(e,t),this.size+=r.size==o?0:1,this}Pr.prototype.clear=w0;Pr.prototype.delete=k0;Pr.prototype.get=_0;Pr.prototype.has=T0;Pr.prototype.set=P0;function Ar(e){var t=this.__data__=new at(e);this.size=t.size;}function A0(){this.__data__=new at,this.size=0;}function E0(e){var t=this.__data__,r=t.delete(e);return this.size=t.size,r}function R0(e){return this.__data__.get(e)}function M0(e){return this.__data__.has(e)}function I0(e,t){var r=this.__data__;if(r instanceof at){var o=r.__data__;if(!Ju||o.length<xv-1)return o.push([e,t]),this.size=++r.size,this;r=this.__data__=new Pr(o);}return r.set(e,t),this.size=r.size,this}Ar.prototype.clear=A0;Ar.prototype.delete=E0;Ar.prototype.get=R0;Ar.prototype.has=M0;Ar.prototype.set=I0;function V0(e,t){var r=Ps(e),o=!r&&Ts(e),n=!r&&!o&&rf(e),i=!r&&!o&&!n&&nf(e),a=r||o||n||i,s=a?e0(e.length,String):[],l=s.length;for(var c in e)(t||it.call(e,c))&&!(a&&(c=="length"||n&&(c=="offset"||c=="parent")||i&&(c=="buffer"||c=="byteLength"||c=="byteOffset")||ef(c,l)))&&s.push(c);return s}function ks(e,t,r){(r!==void 0&&!hi(e[t],r)||r===void 0&&!(t in e))&&As(e,t,r);}function O0(e,t,r){var o=e[t];(!(it.call(e,t)&&hi(o,r))||r===void 0&&!(t in e))&&As(e,t,r);}function di(e,t){for(var r=e.length;r--;)if(hi(e[r][0],t))return r;return -1}function As(e,t,r){t=="__proto__"&&ci?ci(e,t,{configurable:!0,enumerable:!0,value:r,writable:!0}):e[t]=r;}var N0=q0();function mi(e){return e==null?e===void 0?$v:Mv:Ht&&Ht in Object(e)?Y0(e):tb(e)}function zu(e){return jo(e)&&mi(e)==Hu}function $0(e){if(!Ut(e)||Q0(e))return !1;var t=Ms(e)?s0:Xv;return t.test(ib(e))}function L0(e){return jo(e)&&of(e.length)&&!!K[mi(e)]}function D0(e){if(!Ut(e))return eb(e);var t=tf(e),r=[];for(var o in e)o=="constructor"&&(t||!it.call(e,o))||r.push(o);return r}function Qu(e,t,r,o,n){e!==t&&N0(t,function(i,a){if(n||(n=new Ar),Ut(i))j0(e,t,a,r,Qu,o,n);else {var s=o?o(_s(e,a),i,a+"",e,t,n):void 0;s===void 0&&(s=i),ks(e,a,s);}},af);}function j0(e,t,r,o,n,i,a){var s=_s(e,r),l=_s(t,r),c=a.get(l);if(c){ks(e,r,c);return}var u=i?i(s,l,r+"",e,t,a):void 0,f=u===void 0;if(f){var m=Ps(l),p=!m&&rf(l),g=!m&&!p&&nf(l);u=l,m||p||g?Ps(s)?u=s:ab(s)?u=G0(s):p?(f=!1,u=F0(l,!0)):g?(f=!1,u=H0(l,!0)):u=[]:sb(l)||Ts(l)?(u=s,Ts(s)?u=lb(s):(!Ut(s)||Ms(s))&&(u=X0(l))):f=!1;}f&&(a.set(l,u),n(u,l,o,i,a),a.delete(l)),ks(e,r,u);}function B0(e,t){return ob(rb(e,t,sf),e+"")}var z0=ci?function(e,t){return ci(e,"toString",{configurable:!0,enumerable:!1,value:ub(t),writable:!0})}:sf;function F0(e,t){if(t)return e.slice();var r=e.length,o=Du?Du(r):new e.constructor(r);return e.copy(o),o}function W0(e){var t=new e.constructor(e.byteLength);return new Lu(t).set(new Lu(e)),t}function H0(e,t){var r=t?W0(e.buffer):e.buffer;return new e.constructor(r,e.byteOffset,e.length)}function G0(e,t){var r=-1,o=e.length;for(t||(t=Array(o));++r<o;)t[r]=e[r];return t}function U0(e,t,r,o){var n=!r;r||(r={});for(var i=-1,a=t.length;++i<a;){var s=t[i],l=o?o(r[s],e[s],s,r,e):void 0;l===void 0&&(l=e[s]),n?As(r,s,l):O0(r,s,l);}return r}function K0(e){return B0(function(t,r){var o=-1,n=r.length,i=n>1?r[n-1]:void 0,a=n>2?r[2]:void 0;for(i=e.length>3&&typeof i=="function"?(n--,i):void 0,a&&Z0(r[0],r[1],a)&&(i=n<3?void 0:i,n=1),t=Object(t);++o<n;){var s=r[o];s&&e(t,s,o,i);}return t})}function q0(e){return function(t,r,o){for(var n=-1,i=Object(t),a=o(t),s=a.length;s--;){var l=a[e?s:++n];if(r(i[l],l,i)===!1)break}return t}}function pi(e,t){var r=e.__data__;return J0(t)?r[typeof t=="string"?"string":"hash"]:r.map}function Es(e,t){var r=r0(e,t);return $0(r)?r:void 0}function Y0(e){var t=it.call(e,Ht),r=e[Ht];try{e[Ht]=void 0;var o=!0;}catch(i){}var n=Xu.call(e);return o&&(t?e[Ht]=r:delete e[Ht]),n}function X0(e){return typeof e.constructor=="function"&&!tf(e)?d0(Zu(e)):{}}function ef(e,t){var r=typeof e;return t=t==null?Wu:t,!!t&&(r=="number"||r!="symbol"&&Zv.test(e))&&e>-1&&e%1==0&&e<t}function Z0(e,t,r){if(!Ut(r))return !1;var o=typeof t;return (o=="number"?Rs(r)&&ef(t,r.length):o=="string"&&t in r)?hi(r[t],e):!1}function J0(e){var t=typeof e;return t=="string"||t=="number"||t=="symbol"||t=="boolean"?e!=="__proto__":e===null}function Q0(e){return !!Nu&&Nu in e}function tf(e){var t=e&&e.constructor,r=typeof t=="function"&&t.prototype||ui;return e===r}function eb(e){var t=[];if(e!=null)for(var r in Object(e))t.push(r);return t}function tb(e){return Xu.call(e)}function rb(e,t,r){return t=Bu(t===void 0?e.length-1:t,0),function(){for(var o=arguments,n=-1,i=Bu(o.length-t,0),a=Array(i);++n<i;)a[n]=o[t+n];n=-1;for(var s=Array(t+1);++n<t;)s[n]=o[n];return s[t]=r(a),Qv(e,this,s)}}function _s(e,t){if(!(t==="constructor"&&typeof e[t]=="function")&&t!="__proto__")return e[t]}var ob=nb(z0);function nb(e){var t=0,r=0;return function(){var o=f0(),n=Cv-(o-r);if(r=o,n>0){if(++t>=Sv)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}function ib(e){if(e!=null){try{return fi.call(e)}catch(t){}try{return e+""}catch(t){}}return ""}function hi(e,t){return e===t||e!==e&&t!==t}var Ts=zu(function(){return arguments}())?zu:function(e){return jo(e)&&it.call(e,"callee")&&!l0.call(e,"callee")},Ps=Array.isArray;function Rs(e){return e!=null&&of(e.length)&&!Ms(e)}function ab(e){return jo(e)&&Rs(e)}var rf=u0||fb;function Ms(e){if(!Ut(e))return !1;var t=mi(e);return t==Gu||t==Av||t==kv||t==Iv}function of(e){return typeof e=="number"&&e>-1&&e%1==0&&e<=Wu}function Ut(e){var t=typeof e;return e!=null&&(t=="object"||t=="function")}function jo(e){return e!=null&&typeof e=="object"}function sb(e){if(!jo(e)||mi(e)!=Uu)return !1;var t=Zu(e);if(t===null)return !0;var r=it.call(t,"constructor")&&t.constructor;return typeof r=="function"&&r instanceof r&&fi.call(r)==a0}var nf=Ou?t0(Ou):L0;function lb(e){return U0(e,af(e))}function af(e){return Rs(e)?V0(e,!0):D0(e)}var cb=K0(function(e,t,r,o){Qu(e,t,r,o);});function ub(e){return function(){return e}}function sf(e){return e}function fb(){return !1}Tr.exports=cb;});var $f=To((QV,Nf)=>{var zx=typeof Element!="undefined",Fx=typeof Map=="function",Wx=typeof Set=="function",Hx=typeof ArrayBuffer=="function"&&!!ArrayBuffer.isView;function ki(e,t){if(e===t)return !0;if(e&&t&&typeof e=="object"&&typeof t=="object"){if(e.constructor!==t.constructor)return !1;var r,o,n;if(Array.isArray(e)){if(r=e.length,r!=t.length)return !1;for(o=r;o--!==0;)if(!ki(e[o],t[o]))return !1;return !0}var i;if(Fx&&e instanceof Map&&t instanceof Map){if(e.size!==t.size)return !1;for(i=e.entries();!(o=i.next()).done;)if(!t.has(o.value[0]))return !1;for(i=e.entries();!(o=i.next()).done;)if(!ki(o.value[1],t.get(o.value[0])))return !1;return !0}if(Wx&&e instanceof Set&&t instanceof Set){if(e.size!==t.size)return !1;for(i=e.entries();!(o=i.next()).done;)if(!t.has(o.value[0]))return !1;return !0}if(Hx&&ArrayBuffer.isView(e)&&ArrayBuffer.isView(t)){if(r=e.length,r!=t.length)return !1;for(o=r;o--!==0;)if(e[o]!==t[o])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(n=Object.keys(e),r=n.length,r!==Object.keys(t).length)return !1;for(o=r;o--!==0;)if(!Object.prototype.hasOwnProperty.call(t,n[o]))return !1;if(zx&&e instanceof Element)return !1;for(o=r;o--!==0;)if(!((n[o]==="_owner"||n[o]==="__v"||n[o]==="__o")&&e.$$typeof)&&!ki(e[n[o]],t[n[o]]))return !1;return !0}return e!==e&&t!==t}Nf.exports=function(t,r){try{return ki(t,r)}catch(o){if((o.message||"").match(/stack|recursion/i))return console.warn("react-fast-compare cannot handle circular refs"),!1;throw o}};});function Fw(e){var t={};return function(r){return t[r]===void 0&&(t[r]=e(r)),t[r]}}var rm,om=Bc(()=>{rm=Fw;});var nm={};Iy(nm,{default:()=>Gw});var Ww,Hw,Gw,im=Bc(()=>{om();Ww=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|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|download|draggable|encType|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|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|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|inert|itemProp|itemScope|itemType|itemID|itemRef|on|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)-.*))$/,Hw=rm(function(e){return Ww.test(e)||e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)<91}),Gw=Hw;});var pr="@saas-ui/storybook-addon2",Fc=`${pr}/direction-tool`,nt={TOGGLE_COLOR_MODE:`${pr}/toggleColorMode`,TOGGLE_DIRECTION:`${pr}/toggleDirection`,SET_THEME:`${pr}/setTheme`};function Wc(){let{setColorMode:e}=react.useColorMode();return ht.useEffect(()=>{let t=previewApi.addons.getChannel(),r=o=>e(o);return t.on(nt.TOGGLE_COLOR_MODE,r),()=>{t.removeListener(nt.TOGGLE_COLOR_MODE,r);}},[e]),null}var Gc=(e="ltr")=>{let[t,r]=ht.useState(e.toLowerCase());return ht.useEffect(()=>{document.documentElement.dir=t;},[t]),ht.useEffect(()=>{let o=previewApi.addons.getChannel(),n=i=>r(i);return o.on(nt.TOGGLE_DIRECTION,n),()=>{o.removeListener(nt.TOGGLE_DIRECTION,n);}},[r]),t};function jy(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 By(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 Uc=function(){function e(r){var o=this;this._insertTag=function(n){var i;o.tags.length===0?o.insertionPoint?i=o.insertionPoint.nextSibling:o.prepend?i=o.container.firstChild:i=o.before:i=o.tags[o.tags.length-1].nextSibling,o.container.insertBefore(n,i),o.tags.push(n);},this.isSpeedy=r.speedy===void 0?!0:r.speedy,this.tags=[],this.ctr=0,this.nonce=r.nonce,this.key=r.key,this.container=r.container,this.prepend=r.prepend,this.insertionPoint=r.insertionPoint,this.before=null;}var t=e.prototype;return t.hydrate=function(o){o.forEach(this._insertTag);},t.insert=function(o){this.ctr%(this.isSpeedy?65e3:1)===0&&this._insertTag(By(this));var n=this.tags[this.tags.length-1];if(this.isSpeedy){var a=jy(n);try{a.insertRule(o,a.cssRules.length);}catch(s){}}else n.appendChild(document.createTextNode(o));this.ctr++;},t.flush=function(){this.tags.forEach(function(o){return o.parentNode&&o.parentNode.removeChild(o)}),this.tags=[],this.ctr=0;},e}();var de="-ms-",Po="-moz-",z="-webkit-",$n="comm",hr="rule",gr="decl";var Kc="@import";var Ln="@keyframes";var qc="@layer";var Yc=Math.abs,Ft=String.fromCharCode,Xc=Object.assign;function Zc(e,t){return re(e,0)^45?(((t<<2^re(e,0))<<2^re(e,1))<<2^re(e,2))<<2^re(e,3):0}function Dn(e){return e.trim()}function fs(e,t){return (e=t.exec(e))?e[0]:e}function j(e,t,r){return e.replace(t,r)}function Ao(e,t){return e.indexOf(t)}function re(e,t){return e.charCodeAt(t)|0}function vt(e,t,r){return e.slice(t,r)}function ye(e){return e.length}function yr(e){return e.length}function vr(e,t){return t.push(e),e}function ds(e,t){return e.map(t).join("")}var jn=1,br=1,Jc=0,ve=0,oe=0,Sr="";function Eo(e,t,r,o,n,i,a){return {value:e,root:t,parent:r,type:o,props:n,children:i,line:jn,column:br,length:a,return:""}}function Cr(e,t){return Xc(Eo("",null,null,"",null,null,0),e,{length:-e.length},t)}function Qc(){return oe}function eu(){return oe=ve>0?re(Sr,--ve):0,br--,oe===10&&(br=1,jn--),oe}function be(){return oe=ve<Jc?re(Sr,ve++):0,br++,oe===10&&(br=1,jn++),oe}function De(){return re(Sr,ve)}function Ro(){return ve}function wr(e,t){return vt(Sr,e,t)}function xr(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 Bn(e){return jn=br=1,Jc=ye(Sr=e),ve=0,[]}function zn(e){return Sr="",e}function kr(e){return Dn(wr(ve-1,ms(e===91?e+2:e===40?e+1:e)))}function tu(e){for(;(oe=De())&&oe<33;)be();return xr(e)>2||xr(oe)>3?"":" "}function ru(e,t){for(;--t&&be()&&!(oe<48||oe>102||oe>57&&oe<65||oe>70&&oe<97););return wr(e,Ro()+(t<6&&De()==32&&be()==32))}function ms(e){for(;be();)switch(oe){case e:return ve;case 34:case 39:e!==34&&e!==39&&ms(oe);break;case 40:e===41&&ms(e);break;case 92:be();break}return ve}function ou(e,t){for(;be()&&e+oe!==47+10;)if(e+oe===42+42&&De()===47)break;return "/*"+wr(t,ve-1)+"*"+Ft(e===47?e:be())}function nu(e){for(;!xr(De());)be();return wr(e,ve)}function su(e){return zn(Fn("",null,null,null,[""],e=Bn(e),0,[0],e))}function Fn(e,t,r,o,n,i,a,s,l){for(var c=0,u=0,f=a,m=0,p=0,g=0,y=1,b=1,x=1,S=0,C="",w=n,P=i,E=o,A=C;b;)switch(g=S,S=be()){case 40:if(g!=108&&re(A,f-1)==58){Ao(A+=j(kr(S),"&","&\f"),"&\f")!=-1&&(x=-1);break}case 34:case 39:case 91:A+=kr(S);break;case 9:case 10:case 13:case 32:A+=tu(g);break;case 92:A+=ru(Ro()-1,7);continue;case 47:switch(De()){case 42:case 47:vr(zy(ou(be(),Ro()),t,r),l);break;default:A+="/";}break;case 123*y:s[c++]=ye(A)*x;case 125*y:case 59:case 0:switch(S){case 0:case 125:b=0;case 59+u:x==-1&&(A=j(A,/\f/g,"")),p>0&&ye(A)-f&&vr(p>32?au(A+";",o,r,f-1):au(j(A," ","")+";",o,r,f-2),l);break;case 59:A+=";";default:if(vr(E=iu(A,t,r,c,u,n,s,C,w=[],P=[],f),i),S===123)if(u===0)Fn(A,t,E,E,w,i,f,s,P);else switch(m===99&&re(A,3)===110?100:m){case 100:case 108:case 109:case 115:Fn(e,E,E,o&&vr(iu(e,E,E,0,0,n,s,C,n,w=[],f),P),n,P,f,s,o?w:P);break;default:Fn(A,E,E,E,[""],P,0,s,P);}}c=u=p=0,y=x=1,C=A="",f=a;break;case 58:f=1+ye(A),p=g;default:if(y<1){if(S==123)--y;else if(S==125&&y++==0&&eu()==125)continue}switch(A+=Ft(S),S*y){case 38:x=u>0?1:(A+="\f",-1);break;case 44:s[c++]=(ye(A)-1)*x,x=1;break;case 64:De()===45&&(A+=kr(be())),m=De(),u=f=ye(C=A+=nu(Ro())),S++;break;case 45:g===45&&ye(A)==2&&(y=0);}}return i}function iu(e,t,r,o,n,i,a,s,l,c,u){for(var f=n-1,m=n===0?i:[""],p=yr(m),g=0,y=0,b=0;g<o;++g)for(var x=0,S=vt(e,f+1,f=Yc(y=a[g])),C=e;x<p;++x)(C=Dn(y>0?m[x]+" "+S:j(S,/&\f/g,m[x])))&&(l[b++]=C);return Eo(e,t,r,n===0?hr:s,l,c,u)}function zy(e,t,r){return Eo(e,t,r,$n,Ft(Qc()),vt(e,2,-2),0)}function au(e,t,r,o){return Eo(e,t,r,gr,vt(e,0,o),vt(e,o+1,-1),o)}function Wt(e,t){for(var r="",o=yr(e),n=0;n<o;n++)r+=t(e[n],n,e,t)||"";return r}function lu(e,t,r,o){switch(e.type){case qc:if(e.children.length)break;case Kc:case gr:return e.return=e.return||e.value;case $n:return "";case Ln:return e.return=e.value+"{"+Wt(e.children,o)+"}";case hr:e.value=e.props.join(",");}return ye(r=Wt(e.children,o))?e.return=e.value+"{"+r+"}":""}function cu(e){var t=yr(e);return function(r,o,n,i){for(var a="",s=0;s<t;s++)a+=e[s](r,o,n,i)||"";return a}}function uu(e){return function(t){t.root||(t=t.return)&&e(t);}}function Wn(e){var t=Object.create(null);return function(r){return t[r]===void 0&&(t[r]=e(r)),t[r]}}var Fy=function(t,r,o){for(var n=0,i=0;n=i,i=De(),n===38&&i===12&&(r[o]=1),!xr(i);)be();return wr(t,ve)},Wy=function(t,r){var o=-1,n=44;do switch(xr(n)){case 0:n===38&&De()===12&&(r[o]=1),t[o]+=Fy(ve-1,r,o);break;case 2:t[o]+=kr(n);break;case 4:if(n===44){t[++o]=De()===58?"&\f":"",r[o]=t[o].length;break}default:t[o]+=Ft(n);}while(n=be());return t},Hy=function(t,r){return zn(Wy(Bn(t),r))},fu=new WeakMap,Gy=function(t){if(!(t.type!=="rule"||!t.parent||t.length<1)){for(var r=t.value,o=t.parent,n=t.column===o.column&&t.line===o.line;o.type!=="rule";)if(o=o.parent,!o)return;if(!(t.props.length===1&&r.charCodeAt(0)!==58&&!fu.get(o))&&!n){fu.set(t,!0);for(var i=[],a=Hy(r,i),s=o.props,l=0,c=0;l<a.length;l++)for(var u=0;u<s.length;u++,c++)t.props[c]=i[l]?a[l].replace(/&\f/g,s[u]):s[u]+" "+a[l];}}},Uy=function(t){if(t.type==="decl"){var r=t.value;r.charCodeAt(0)===108&&r.charCodeAt(2)===98&&(t.return="",t.value="");}};function du(e,t){switch(Zc(e,t)){case 5103:return z+"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 z+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return z+e+Po+e+de+e+e;case 6828:case 4268:return z+e+de+e+e;case 6165:return z+e+de+"flex-"+e+e;case 5187:return z+e+j(e,/(\w+).+(:[^]+)/,z+"box-$1$2"+de+"flex-$1$2")+e;case 5443:return z+e+de+"flex-item-"+j(e,/flex-|-self/,"")+e;case 4675:return z+e+de+"flex-line-pack"+j(e,/align-content|flex-|-self/,"")+e;case 5548:return z+e+de+j(e,"shrink","negative")+e;case 5292:return z+e+de+j(e,"basis","preferred-size")+e;case 6060:return z+"box-"+j(e,"-grow","")+z+e+de+j(e,"grow","positive")+e;case 4554:return z+j(e,/([^-])(transform)/g,"$1"+z+"$2")+e;case 6187:return j(j(j(e,/(zoom-|grab)/,z+"$1"),/(image-set)/,z+"$1"),e,"")+e;case 5495:case 3959:return j(e,/(image-set\([^]*)/,z+"$1$`$1");case 4968:return j(j(e,/(.+:)(flex-)?(.*)/,z+"box-pack:$3"+de+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+z+e+e;case 4095:case 3583:case 4068:case 2532:return j(e,/(.+)-inline(.+)/,z+"$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(ye(e)-1-t>6)switch(re(e,t+1)){case 109:if(re(e,t+4)!==45)break;case 102:return j(e,/(.+:)(.+)-([^]+)/,"$1"+z+"$2-$3$1"+Po+(re(e,t+3)==108?"$3":"$2-$3"))+e;case 115:return ~Ao(e,"stretch")?du(j(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(re(e,t+1)!==115)break;case 6444:switch(re(e,ye(e)-3-(~Ao(e,"!important")&&10))){case 107:return j(e,":",":"+z)+e;case 101:return j(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+z+(re(e,14)===45?"inline-":"")+"box$3$1"+z+"$2$3$1"+de+"$2box$3")+e}break;case 5936:switch(re(e,t+11)){case 114:return z+e+de+j(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return z+e+de+j(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return z+e+de+j(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return z+e+de+e+e}return e}var Ky=function(t,r,o,n){if(t.length>-1&&!t.return)switch(t.type){case gr:t.return=du(t.value,t.length);break;case Ln:return Wt([Cr(t,{value:j(t.value,"@","@"+z)})],n);case hr:if(t.length)return ds(t.props,function(i){switch(fs(i,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return Wt([Cr(t,{props:[j(i,/:(read-\w+)/,":"+Po+"$1")]})],n);case"::placeholder":return Wt([Cr(t,{props:[j(i,/:(plac\w+)/,":"+z+"input-$1")]}),Cr(t,{props:[j(i,/:(plac\w+)/,":"+Po+"$1")]}),Cr(t,{props:[j(i,/:(plac\w+)/,de+"input-$1")]})],n)}return ""})}},qy=[Ky],ps=function(t){var r=t.key;if(r==="css"){var o=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(o,function(y){var b=y.getAttribute("data-emotion");b.indexOf(" ")!==-1&&(document.head.appendChild(y),y.setAttribute("data-s",""));});}var n=t.stylisPlugins||qy,i={},a,s=[];a=t.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+r+' "]'),function(y){for(var b=y.getAttribute("data-emotion").split(" "),x=1;x<b.length;x++)i[b[x]]=!0;s.push(y);});var l,c=[Gy,Uy];{var u,f=[lu,uu(function(y){u.insert(y);})],m=cu(c.concat(n,f)),p=function(b){return Wt(su(b),m)};l=function(b,x,S,C){u=S,p(b?b+"{"+x.styles+"}":x.styles),C&&(g.inserted[x.name]=!0);};}var g={key:r,sheet:new Uc({key:r,container:a,nonce:t.nonce,speedy:t.speedy,prepend:t.prepend,insertionPoint:t.insertionPoint}),nonce:t.nonce,inserted:i,registered:{},insert:l};return g.sheet.hydrate(s),g};function _r(){return _r=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var o in r)Object.prototype.hasOwnProperty.call(r,o)&&(e[o]=r[o]);}return e},_r.apply(this,arguments)}var sv=!0;function ei(e,t,r){var o="";return r.split(" ").forEach(function(n){e[n]!==void 0?t.push(e[n]+";"):o+=n+" ";}),o}var Mo=function(t,r,o){var n=t.key+"-"+r.name;(o===!1||sv===!1)&&t.registered[n]===void 0&&(t.registered[n]=r.styles);},ti=function(t,r,o){Mo(t,r,o);var n=t.key+"-"+r.name;if(t.inserted[r.name]===void 0){var i=r;do t.insert(r===i?"."+n:"",i,t.sheet,!0),i=i.next;while(i!==void 0)}};function ku(e){for(var t=0,r,o=0,n=e.length;n>=4;++o,n-=4)r=e.charCodeAt(o)&255|(e.charCodeAt(++o)&255)<<8|(e.charCodeAt(++o)&255)<<16|(e.charCodeAt(++o)&255)<<24,r=(r&65535)*1540483477+((r>>>16)*59797<<16),r^=r>>>24,t=(r&65535)*1540483477+((r>>>16)*59797<<16)^(t&65535)*1540483477+((t>>>16)*59797<<16);switch(n){case 3:t^=(e.charCodeAt(o+2)&255)<<16;case 2:t^=(e.charCodeAt(o+1)&255)<<8;case 1:t^=e.charCodeAt(o)&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 _u={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,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};var lv=/[A-Z]|^ms/g,cv=/_EMO_([^_]+?)_([^]*?)_EMO_/g,Eu=function(t){return t.charCodeAt(1)===45},Tu=function(t){return t!=null&&typeof t!="boolean"},xs=Wn(function(e){return Eu(e)?e:e.replace(lv,"-$&").toLowerCase()}),Pu=function(t,r){switch(t){case"animation":case"animationName":if(typeof r=="string")return r.replace(cv,function(o,n,i){return Ye={name:n,styles:i,next:Ye},n})}return _u[t]!==1&&!Eu(t)&&typeof r=="number"&&r!==0?r+"px":r};function Io(e,t,r){if(r==null)return "";if(r.__emotion_styles!==void 0)return r;switch(typeof r){case"boolean":return "";case"object":{if(r.anim===1)return Ye={name:r.name,styles:r.styles,next:Ye},r.name;if(r.styles!==void 0){var o=r.next;if(o!==void 0)for(;o!==void 0;)Ye={name:o.name,styles:o.styles,next:Ye},o=o.next;var n=r.styles+";";return n}return uv(e,t,r)}case"function":{if(e!==void 0){var i=Ye,a=r(e);return Ye=i,Io(e,t,a)}break}}if(t==null)return r;var c=t[r];return c!==void 0?c:r}function uv(e,t,r){var o="";if(Array.isArray(r))for(var n=0;n<r.length;n++)o+=Io(e,t,r[n])+";";else for(var i in r){var a=r[i];if(typeof a!="object")t!=null&&t[a]!==void 0?o+=i+"{"+t[a]+"}":Tu(a)&&(o+=xs(i)+":"+Pu(i,a)+";");else if(Array.isArray(a)&&typeof a[0]=="string"&&(t==null||t[a[0]]===void 0))for(var s=0;s<a.length;s++)Tu(a[s])&&(o+=xs(i)+":"+Pu(i,a[s])+";");else {var l=Io(e,t,a);switch(i){case"animation":case"animationName":{o+=xs(i)+":"+l+";";break}default:o+=i+"{"+l+"}";}}}return o}var Au=/label:\s*([^\s;\n{]+)\s*(;|$)/g;var Ye,ri=function(t,r,o){if(t.length===1&&typeof t[0]=="object"&&t[0]!==null&&t[0].styles!==void 0)return t[0];var n=!0,i="";Ye=void 0;var a=t[0];a==null||a.raw===void 0?(n=!1,i+=Io(o,r,a)):i+=a[0];for(var s=1;s<t.length;s++)i+=Io(o,r,t[s]),n&&(i+=a[s]);Au.lastIndex=0;for(var c="",u;(u=Au.exec(i))!==null;)c+="-"+u[1];var f=ku(i)+c;return {name:f,styles:i,next:Ye}};var fv=function(t){return t()},dv=ht__namespace.useInsertionEffect?ht__namespace.useInsertionEffect:!1,ni=dv||fv;var ii=ht__namespace.createContext(typeof HTMLElement!="undefined"?ps({key:"css"}):null);ii.Provider;var ai=function(t){return ht.forwardRef(function(r,o){var n=ht.useContext(ii);return t(r,n,o)})};var Vo=ht__namespace.createContext({});zt(wu());function Mu(){let e=ht.useContext(Vo);if(!e)throw Error("useTheme: `theme` is undefined. Seems you forgot to wrap your app in `<ChakraProvider />` or `<ThemeProvider />`");return e}var Ss=ht.createContext({});Ss.displayName="ColorModeContext";function Oo(){let e=ht.useContext(Ss);if(e===void 0)throw new Error("useColorMode must be used within a ColorModeProvider");return e}function Iu(){let e=Oo(),t=Mu();return v(d({},e),{theme:t})}function je(e){let t=typeof e;return e!=null&&(t==="object"||t==="function")&&!Array.isArray(e)}function Xe(e,...t){return bv(e)?e(...t):e}var bv=e=>typeof e=="function";zt(Er(),1);var zo=zt(Er(),1),vf=zt(Er(),1);var xi=zt(Er(),1);var db=e=>/!(important)?$/.test(e),lf=e=>typeof e=="string"?e.replace(/!(important)?$/,"").trim():e,mb=(e,t)=>r=>{let o=String(t),n=db(o),i=lf(o),a=e?`${e}.${i}`:i,s=je(r.__cssMap)&&a in r.__cssMap?r.__cssMap[a].varRef:t;return s=lf(s),n?`${s} !important`:s};function Ds(e){let{scale:t,transform:r,compose:o}=e;return (i,a)=>{var s;let l=mb(t,i)(a),c=(s=r==null?void 0:r(l,a))!=null?s:l;return o&&(c=o(c,a)),c}}var gi=(...e)=>t=>e.reduce((r,o)=>o(r),t);function Be(e,t){return r=>{let o={property:r,scale:e};return o.transform=Ds({scale:e,transform:t}),o}}var pb=({rtl:e,ltr:t})=>r=>r.direction==="rtl"?e:t;function hb(e){let{property:t,scale:r,transform:o}=e;return {scale:r,property:pb(t),transform:r?Ds({scale:r,compose:o}):o}}var pf=["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 gb(){return ["translateX(var(--chakra-translate-x, 0))","translateY(var(--chakra-translate-y, 0))",...pf].join(" ")}function yb(){return ["translate3d(var(--chakra-translate-x, 0), var(--chakra-translate-y, 0), 0)",...pf].join(" ")}var vb={"--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(" ")},bb={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 xb(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(", ")}}var Sb={"row-reverse":{space:"--chakra-space-x-reverse",divide:"--chakra-divide-x-reverse"},"column-reverse":{space:"--chakra-space-y-reverse",divide:"--chakra-divide-y-reverse"}},Vs={"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"},Cb=new Set(Object.values(Vs)),Os=new Set(["none","-moz-initial","inherit","initial","revert","unset"]),wb=e=>e.trim();function kb(e,t){if(e==null||Os.has(e))return e;if(!(Ns(e)||Os.has(e)))return `url('${e}')`;let n=/(^[a-z-A-Z]+)\((.*)\)/g.exec(e),i=n==null?void 0:n[1],a=n==null?void 0:n[2];if(!i||!a)return e;let s=i.includes("-gradient")?i:`${i}-gradient`,[l,...c]=a.split(",").map(wb).filter(Boolean);if((c==null?void 0:c.length)===0)return e;let u=l in Vs?Vs[l]:l;c.unshift(u);let f=c.map(m=>{if(Cb.has(m))return m;let p=m.indexOf(" "),[g,y]=p!==-1?[m.substr(0,p),m.substr(p+1)]:[m],b=Ns(y)?y:y&&y.split(" "),x=`colors.${g}`,S=x in t.__cssMap?t.__cssMap[x].varRef:g;return b?[S,...Array.isArray(b)?b:[b]].join(" "):S});return `${s}(${f.join(", ")})`}var Ns=e=>typeof e=="string"&&e.includes("(")&&e.includes(")"),_b=(e,t)=>kb(e,t!=null?t:{});function Tb(e){return /^var\(--.+\)$/.test(e)}var Pb=e=>{let t=parseFloat(e.toString()),r=e.toString().replace(String(t),"");return {unitless:!r,value:t,unit:r}},Ze=e=>t=>`${e}(${t})`,$={filter(e){return e!=="auto"?e:vb},backdropFilter(e){return e!=="auto"?e:bb},ring(e){return xb($.px(e))},bgClip(e){return e==="text"?{color:"transparent",backgroundClip:"text"}:{backgroundClip:e}},transform(e){return e==="auto"?gb():e==="auto-gpu"?yb():e},vh(e){return e==="$100vh"?"var(--chakra-vh)":e},px(e){if(e==null)return e;let{unitless:t}=Pb(e);return t||typeof e=="number"?`${e}px`:e},fraction(e){return typeof e!="number"||e>1?e:`${e*100}%`},float(e,t){let r={left:"right",right:"left"};return t.direction==="rtl"?r[e]:e},degree(e){if(Tb(e)||e==null)return e;let t=typeof e=="string"&&!e.endsWith("deg");return typeof e=="number"||t?`${e}deg`:e},gradient:_b,blur:Ze("blur"),opacity:Ze("opacity"),brightness:Ze("brightness"),contrast:Ze("contrast"),dropShadow:Ze("drop-shadow"),grayscale:Ze("grayscale"),hueRotate:e=>Ze("hue-rotate")($.degree(e)),invert:Ze("invert"),saturate:Ze("saturate"),sepia:Ze("sepia"),bgImage(e){return e==null||Ns(e)||Os.has(e)?e:`url(${e})`},outline(e){let t=String(e)==="0"||String(e)==="none";return e!==null&&t?{outline:"2px solid transparent",outlineOffset:"2px"}:{outline:e}},flexDirection(e){var t;let{space:r,divide:o}=(t=Sb[e])!=null?t:{},n={flexDirection:e};return r&&(n[r]=1),o&&(n[o]=1),n}},h={borderWidths:Be("borderWidths"),borderStyles:Be("borderStyles"),colors:Be("colors"),borders:Be("borders"),gradients:Be("gradients",$.gradient),radii:Be("radii",$.px),space:Be("space",gi($.vh,$.px)),spaceT:Be("space",gi($.vh,$.px)),degreeT(e){return {property:e,transform:$.degree}},prop(e,t,r){return d({property:e,scale:t},t&&{transform:Ds({scale:t,transform:r})})},propT(e,t){return {property:e,transform:t}},sizes:Be("sizes",gi($.vh,$.px)),sizesT:Be("sizes",gi($.vh,$.fraction)),shadows:Be("shadows"),logical:hb,blur:Be("blur",$.blur)},yi={background:h.colors("background"),backgroundColor:h.colors("backgroundColor"),backgroundImage:h.gradients("backgroundImage"),backgroundSize:!0,backgroundPosition:!0,backgroundRepeat:!0,backgroundAttachment:!0,backgroundClip:{transform:$.bgClip},bgSize:h.prop("backgroundSize"),bgPosition:h.prop("backgroundPosition"),bg:h.colors("background"),bgColor:h.colors("backgroundColor"),bgPos:h.prop("backgroundPosition"),bgRepeat:h.prop("backgroundRepeat"),bgAttachment:h.prop("backgroundAttachment"),bgGradient:h.gradients("backgroundImage"),bgClip:{transform:$.bgClip}};Object.assign(yi,{bgImage:yi.backgroundImage,bgImg:yi.backgroundImage});var F={border:h.borders("border"),borderWidth:h.borderWidths("borderWidth"),borderStyle:h.borderStyles("borderStyle"),borderColor:h.colors("borderColor"),borderRadius:h.radii("borderRadius"),borderTop:h.borders("borderTop"),borderBlockStart:h.borders("borderBlockStart"),borderTopLeftRadius:h.radii("borderTopLeftRadius"),borderStartStartRadius:h.logical({scale:"radii",property:{ltr:"borderTopLeftRadius",rtl:"borderTopRightRadius"}}),borderEndStartRadius:h.logical({scale:"radii",property:{ltr:"borderBottomLeftRadius",rtl:"borderBottomRightRadius"}}),borderTopRightRadius:h.radii("borderTopRightRadius"),borderStartEndRadius:h.logical({scale:"radii",property:{ltr:"borderTopRightRadius",rtl:"borderTopLeftRadius"}}),borderEndEndRadius:h.logical({scale:"radii",property:{ltr:"borderBottomRightRadius",rtl:"borderBottomLeftRadius"}}),borderRight:h.borders("borderRight"),borderInlineEnd:h.borders("borderInlineEnd"),borderBottom:h.borders("borderBottom"),borderBlockEnd:h.borders("borderBlockEnd"),borderBottomLeftRadius:h.radii("borderBottomLeftRadius"),borderBottomRightRadius:h.radii("borderBottomRightRadius"),borderLeft:h.borders("borderLeft"),borderInlineStart:{property:"borderInlineStart",scale:"borders"},borderInlineStartRadius:h.logical({scale:"radii",property:{ltr:["borderTopLeftRadius","borderBottomLeftRadius"],rtl:["borderTopRightRadius","borderBottomRightRadius"]}}),borderInlineEndRadius:h.logical({scale:"radii",property:{ltr:["borderTopRightRadius","borderBottomRightRadius"],rtl:["borderTopLeftRadius","borderBottomLeftRadius"]}}),borderX:h.borders(["borderLeft","borderRight"]),borderInline:h.borders("borderInline"),borderY:h.borders(["borderTop","borderBottom"]),borderBlock:h.borders("borderBlock"),borderTopWidth:h.borderWidths("borderTopWidth"),borderBlockStartWidth:h.borderWidths("borderBlockStartWidth"),borderTopColor:h.colors("borderTopColor"),borderBlockStartColor:h.colors("borderBlockStartColor"),borderTopStyle:h.borderStyles("borderTopStyle"),borderBlockStartStyle:h.borderStyles("borderBlockStartStyle"),borderBottomWidth:h.borderWidths("borderBottomWidth"),borderBlockEndWidth:h.borderWidths("borderBlockEndWidth"),borderBottomColor:h.colors("borderBottomColor"),borderBlockEndColor:h.colors("borderBlockEndColor"),borderBottomStyle:h.borderStyles("borderBottomStyle"),borderBlockEndStyle:h.borderStyles("borderBlockEndStyle"),borderLeftWidth:h.borderWidths("borderLeftWidth"),borderInlineStartWidth:h.borderWidths("borderInlineStartWidth"),borderLeftColor:h.colors("borderLeftColor"),borderInlineStartColor:h.colors("borderInlineStartColor"),borderLeftStyle:h.borderStyles("borderLeftStyle"),borderInlineStartStyle:h.borderStyles("borderInlineStartStyle"),borderRightWidth:h.borderWidths("borderRightWidth"),borderInlineEndWidth:h.borderWidths("borderInlineEndWidth"),borderRightColor:h.colors("borderRightColor"),borderInlineEndColor:h.colors("borderInlineEndColor"),borderRightStyle:h.borderStyles("borderRightStyle"),borderInlineEndStyle:h.borderStyles("borderInlineEndStyle"),borderTopRadius:h.radii(["borderTopLeftRadius","borderTopRightRadius"]),borderBottomRadius:h.radii(["borderBottomLeftRadius","borderBottomRightRadius"]),borderLeftRadius:h.radii(["borderTopLeftRadius","borderBottomLeftRadius"]),borderRightRadius:h.radii(["borderTopRightRadius","borderBottomRightRadius"])};Object.assign(F,{rounded:F.borderRadius,roundedTop:F.borderTopRadius,roundedTopLeft:F.borderTopLeftRadius,roundedTopRight:F.borderTopRightRadius,roundedTopStart:F.borderStartStartRadius,roundedTopEnd:F.borderStartEndRadius,roundedBottom:F.borderBottomRadius,roundedBottomLeft:F.borderBottomLeftRadius,roundedBottomRight:F.borderBottomRightRadius,roundedBottomStart:F.borderEndStartRadius,roundedBottomEnd:F.borderEndEndRadius,roundedLeft:F.borderLeftRadius,roundedRight:F.borderRightRadius,roundedStart:F.borderInlineStartRadius,roundedEnd:F.borderInlineEndRadius,borderStart:F.borderInlineStart,borderEnd:F.borderInlineEnd,borderTopStartRadius:F.borderStartStartRadius,borderTopEndRadius:F.borderStartEndRadius,borderBottomStartRadius:F.borderEndStartRadius,borderBottomEndRadius:F.borderEndEndRadius,borderStartRadius:F.borderInlineStartRadius,borderEndRadius:F.borderInlineEndRadius,borderStartWidth:F.borderInlineStartWidth,borderEndWidth:F.borderInlineEndWidth,borderStartColor:F.borderInlineStartColor,borderEndColor:F.borderInlineEndColor,borderStartStyle:F.borderInlineStartStyle,borderEndStyle:F.borderInlineEndStyle});var Ab={color:h.colors("color"),textColor:h.colors("color"),fill:h.colors("fill"),stroke:h.colors("stroke")},$s={boxShadow:h.shadows("boxShadow"),mixBlendMode:!0,blendMode:h.prop("mixBlendMode"),backgroundBlendMode:!0,bgBlendMode:h.prop("backgroundBlendMode"),opacity:!0};Object.assign($s,{shadow:$s.boxShadow});var Eb={filter:{transform:$.filter},blur:h.blur("--chakra-blur"),brightness:h.propT("--chakra-brightness",$.brightness),contrast:h.propT("--chakra-contrast",$.contrast),hueRotate:h.propT("--chakra-hue-rotate",$.hueRotate),invert:h.propT("--chakra-invert",$.invert),saturate:h.propT("--chakra-saturate",$.saturate),dropShadow:h.propT("--chakra-drop-shadow",$.dropShadow),backdropFilter:{transform:$.backdropFilter},backdropBlur:h.blur("--chakra-backdrop-blur"),backdropBrightness:h.propT("--chakra-backdrop-brightness",$.brightness),backdropContrast:h.propT("--chakra-backdrop-contrast",$.contrast),backdropHueRotate:h.propT("--chakra-backdrop-hue-rotate",$.hueRotate),backdropInvert:h.propT("--chakra-backdrop-invert",$.invert),backdropSaturate:h.propT("--chakra-backdrop-saturate",$.saturate)},bi={alignItems:!0,alignContent:!0,justifyItems:!0,justifyContent:!0,flexWrap:!0,flexDirection:{transform:$.flexDirection},flex:!0,flexFlow:!0,flexGrow:!0,flexShrink:!0,flexBasis:h.sizes("flexBasis"),justifySelf:!0,alignSelf:!0,order:!0,placeItems:!0,placeContent:!0,placeSelf:!0,gap:h.space("gap"),rowGap:h.space("rowGap"),columnGap:h.space("columnGap")};Object.assign(bi,{flexDir:bi.flexDirection});var hf={gridGap:h.space("gridGap"),gridColumnGap:h.space("gridColumnGap"),gridRowGap:h.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},Rb={appearance:!0,cursor:!0,resize:!0,userSelect:!0,pointerEvents:!0,outline:{transform:$.outline},outlineOffset:!0,outlineColor:h.colors("outlineColor")},ze={width:h.sizesT("width"),inlineSize:h.sizesT("inlineSize"),height:h.sizes("height"),blockSize:h.sizes("blockSize"),boxSize:h.sizes(["width","height"]),minWidth:h.sizes("minWidth"),minInlineSize:h.sizes("minInlineSize"),minHeight:h.sizes("minHeight"),minBlockSize:h.sizes("minBlockSize"),maxWidth:h.sizes("maxWidth"),maxInlineSize:h.sizes("maxInlineSize"),maxHeight:h.sizes("maxHeight"),maxBlockSize:h.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 r,o,n;return {[`@media screen and (min-width: ${(n=(o=(r=t.__breakpoints)==null?void 0:r.get(e))==null?void 0:o.minW)!=null?n:e})`]:{display:"none"}}}},hideBelow:{scale:"breakpoints",transform:(e,t)=>{var r,o,n;return {[`@media screen and (max-width: ${(n=(o=(r=t.__breakpoints)==null?void 0:r.get(e))==null?void 0:o._minW)!=null?n:e})`]:{display:"none"}}}},verticalAlign:!0,boxSizing:!0,boxDecorationBreak:!0,float:h.propT("float",$.float),objectFit:!0,objectPosition:!0,visibility:!0,isolation:!0};Object.assign(ze,{w:ze.width,h:ze.height,minW:ze.minWidth,maxW:ze.maxWidth,minH:ze.minHeight,maxH:ze.maxHeight,overscroll:ze.overscrollBehavior,overscrollX:ze.overscrollBehaviorX,overscrollY:ze.overscrollBehaviorY});var Mb={listStyleType:!0,listStylePosition:!0,listStylePos:h.prop("listStylePosition"),listStyleImage:!0,listStyleImg:h.prop("listStyleImage")};function Ib(e,t,r,o){let n=typeof t=="string"?t.split("."):[t];for(o=0;o<n.length&&e;o+=1)e=e[n[o]];return e===void 0?r:e}var Vb=e=>{let t=new WeakMap;return (o,n,i,a)=>{if(typeof o=="undefined")return e(o,n,i);t.has(o)||t.set(o,new Map);let s=t.get(o);if(s.has(n))return s.get(n);let l=e(o,n,i,a);return s.set(n,l),l}},Ob=Vb(Ib),Nb={border:"0px",clip:"rect(0, 0, 0, 0)",width:"1px",height:"1px",margin:"-1px",padding:"0px",overflow:"hidden",whiteSpace:"nowrap",position:"absolute"},$b={position:"static",width:"auto",height:"auto",clip:"auto",padding:"0",margin:"0",overflow:"visible",whiteSpace:"normal"},Is=(e,t,r)=>{let o={},n=Ob(e,t,{});for(let i in n)i in r&&r[i]!=null||(o[i]=n[i]);return o},Lb={srOnly:{transform(e){return e===!0?Nb:e==="focusable"?$b:{}}},layerStyle:{processResult:!0,transform:(e,t,r)=>Is(t,`layerStyles.${e}`,r)},textStyle:{processResult:!0,transform:(e,t,r)=>Is(t,`textStyles.${e}`,r)},apply:{processResult:!0,transform:(e,t,r)=>Is(t,e,r)}},Fo={position:!0,pos:h.prop("position"),zIndex:h.prop("zIndex","zIndices"),inset:h.spaceT("inset"),insetX:h.spaceT(["left","right"]),insetInline:h.spaceT("insetInline"),insetY:h.spaceT(["top","bottom"]),insetBlock:h.spaceT("insetBlock"),top:h.spaceT("top"),insetBlockStart:h.spaceT("insetBlockStart"),bottom:h.spaceT("bottom"),insetBlockEnd:h.spaceT("insetBlockEnd"),left:h.spaceT("left"),insetInlineStart:h.logical({scale:"space",property:{ltr:"left",rtl:"right"}}),right:h.spaceT("right"),insetInlineEnd:h.logical({scale:"space",property:{ltr:"right",rtl:"left"}})};Object.assign(Fo,{insetStart:Fo.insetInlineStart,insetEnd:Fo.insetInlineEnd});var Db={ring:{transform:$.ring},ringColor:h.colors("--chakra-ring-color"),ringOffset:h.prop("--chakra-ring-offset-width"),ringOffsetColor:h.colors("--chakra-ring-offset-color"),ringInset:h.prop("--chakra-ring-inset")},q={margin:h.spaceT("margin"),marginTop:h.spaceT("marginTop"),marginBlockStart:h.spaceT("marginBlockStart"),marginRight:h.spaceT("marginRight"),marginInlineEnd:h.spaceT("marginInlineEnd"),marginBottom:h.spaceT("marginBottom"),marginBlockEnd:h.spaceT("marginBlockEnd"),marginLeft:h.spaceT("marginLeft"),marginInlineStart:h.spaceT("marginInlineStart"),marginX:h.spaceT(["marginInlineStart","marginInlineEnd"]),marginInline:h.spaceT("marginInline"),marginY:h.spaceT(["marginTop","marginBottom"]),marginBlock:h.spaceT("marginBlock"),padding:h.space("padding"),paddingTop:h.space("paddingTop"),paddingBlockStart:h.space("paddingBlockStart"),paddingRight:h.space("paddingRight"),paddingBottom:h.space("paddingBottom"),paddingBlockEnd:h.space("paddingBlockEnd"),paddingLeft:h.space("paddingLeft"),paddingInlineStart:h.space("paddingInlineStart"),paddingInlineEnd:h.space("paddingInlineEnd"),paddingX:h.space(["paddingInlineStart","paddingInlineEnd"]),paddingInline:h.space("paddingInline"),paddingY:h.space(["paddingTop","paddingBottom"]),paddingBlock:h.space("paddingBlock")};Object.assign(q,{m:q.margin,mt:q.marginTop,mr:q.marginRight,me:q.marginInlineEnd,marginEnd:q.marginInlineEnd,mb:q.marginBottom,ml:q.marginLeft,ms:q.marginInlineStart,marginStart:q.marginInlineStart,mx:q.marginX,my:q.marginY,p:q.padding,pt:q.paddingTop,py:q.paddingY,px:q.paddingX,pb:q.paddingBottom,pl:q.paddingLeft,ps:q.paddingInlineStart,paddingStart:q.paddingInlineStart,pr:q.paddingRight,pe:q.paddingInlineEnd,paddingEnd:q.paddingInlineEnd});var jb={textDecorationColor:h.colors("textDecorationColor"),textDecoration:!0,textDecor:{property:"textDecoration"},textDecorationLine:!0,textDecorationStyle:!0,textDecorationThickness:!0,textUnderlineOffset:!0,textShadow:h.shadows("textShadow")},Bb={clipPath:!0,transform:h.propT("transform",$.transform),transformOrigin:!0,translateX:h.spaceT("--chakra-translate-x"),translateY:h.spaceT("--chakra-translate-y"),skewX:h.degreeT("--chakra-skew-x"),skewY:h.degreeT("--chakra-skew-y"),scaleX:h.prop("--chakra-scale-x"),scaleY:h.prop("--chakra-scale-y"),scale:h.prop(["--chakra-scale-x","--chakra-scale-y"]),rotate:h.degreeT("--chakra-rotate")},zb={transition:!0,transitionDelay:!0,animation:!0,willChange:!0,transitionDuration:h.prop("transitionDuration","transition.duration"),transitionProperty:h.prop("transitionProperty","transition.property"),transitionTimingFunction:h.prop("transitionTimingFunction","transition.easing")},Fb={fontFamily:h.prop("fontFamily","fonts"),fontSize:h.prop("fontSize","fontSizes",$.px),fontWeight:h.prop("fontWeight","fontWeights"),lineHeight:h.prop("lineHeight","lineHeights"),letterSpacing:h.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"}},Wb={scrollBehavior:!0,scrollSnapAlign:!0,scrollSnapStop:!0,scrollSnapType:!0,scrollMargin:h.spaceT("scrollMargin"),scrollMarginTop:h.spaceT("scrollMarginTop"),scrollMarginBottom:h.spaceT("scrollMarginBottom"),scrollMarginLeft:h.spaceT("scrollMarginLeft"),scrollMarginRight:h.spaceT("scrollMarginRight"),scrollMarginX:h.spaceT(["scrollMarginLeft","scrollMarginRight"]),scrollMarginY:h.spaceT(["scrollMarginTop","scrollMarginBottom"]),scrollPadding:h.spaceT("scrollPadding"),scrollPaddingTop:h.spaceT("scrollPaddingTop"),scrollPaddingBottom:h.spaceT("scrollPaddingBottom"),scrollPaddingLeft:h.spaceT("scrollPaddingLeft"),scrollPaddingRight:h.spaceT("scrollPaddingRight"),scrollPaddingX:h.spaceT(["scrollPaddingLeft","scrollPaddingRight"]),scrollPaddingY:h.spaceT(["scrollPaddingTop","scrollPaddingBottom"])};function gf(e){return je(e)&&e.reference?e.reference:String(e)}var Si=(e,...t)=>t.map(gf).join(` ${e} `).replace(/calc/g,""),cf=(...e)=>`calc(${Si("+",...e)})`,uf=(...e)=>`calc(${Si("-",...e)})`,Ls=(...e)=>`calc(${Si("*",...e)})`,ff=(...e)=>`calc(${Si("/",...e)})`,df=e=>{let t=gf(e);return t!=null&&!Number.isNaN(parseFloat(t))?String(t).startsWith("-")?String(t).slice(1):`-${t}`:Ls(t,-1)},Bo=Object.assign(e=>({add:(...t)=>Bo(cf(e,...t)),subtract:(...t)=>Bo(uf(e,...t)),multiply:(...t)=>Bo(Ls(e,...t)),divide:(...t)=>Bo(ff(e,...t)),negate:()=>Bo(df(e)),toString:()=>e.toString()}),{add:cf,subtract:uf,multiply:Ls,divide:ff,negate:df});function Hb(e,t="-"){return e.replace(/\s+/g,t)}function Gb(e){let t=Hb(e.toString());return Kb(Ub(t))}function Ub(e){return e.includes("\\.")?e:!Number.isInteger(parseFloat(e.toString()))?e.replace(".","\\."):e}function Kb(e){return e.replace(/[!-,/:-@[-^`{-~]/g,"\\$&")}function qb(e,t=""){return [t,e].filter(Boolean).join("-")}function Yb(e,t){return `var(${e}${t?`, ${t}`:""})`}function Xb(e,t=""){return Gb(`--${qb(e,t)}`)}function V(e,t,r){let o=Xb(e,r);return {variable:o,reference:Yb(o,t)}}function Zb(e){let t=parseFloat(e.toString()),r=e.toString().replace(String(t),"");return {unitless:!r,value:t,unit:r}}function mf(e){if(e==null)return e;let{unitless:t}=Zb(e);return t||typeof e=="number"?`${e}px`:e}function Jb(e,t){let r=["@media screen"];return e&&r.push("and",`(min-width: ${mf(e)})`),t&&r.push("and",`(max-width: ${mf(t)})`),r.join(" ")}var me={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}`,indeterminate:(e,t)=>`${e}:indeterminate ${t}, ${e}[aria-checked=mixed] ${t}, ${e}[data-indeterminate] ${t}`,readOnly:(e,t)=>`${e}:read-only ${t}, ${e}[readonly] ${t}, ${e}[data-read-only] ${t}`,expanded:(e,t)=>`${e}:read-only ${t}, ${e}[aria-expanded=true] ${t}, ${e}[data-expanded] ${t}`,placeholderShown:(e,t)=>`${e}:placeholder-shown ${t}`},xt=e=>yf(t=>e(t,"&"),"[role=group]","[data-group]",".group"),st=e=>yf(t=>e(t,"~ &"),"[data-peer]",".peer"),yf=(e,...t)=>t.map(e).join(", "),js={_hover:"&:hover, &[data-hover]",_active:"&:active, &[data-active]",_focus:"&:focus, &[data-focus]",_highlighted:"&[data-highlighted]",_focusWithin:"&: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",_expanded:"&[aria-expanded=true], &[data-expanded]",_checked:"&[aria-checked=true], &[data-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]",_groupHover:xt(me.hover),_peerHover:st(me.hover),_groupFocus:xt(me.focus),_peerFocus:st(me.focus),_groupFocusVisible:xt(me.focusVisible),_peerFocusVisible:st(me.focusVisible),_groupActive:xt(me.active),_peerActive:st(me.active),_groupDisabled:xt(me.disabled),_peerDisabled:st(me.disabled),_groupInvalid:xt(me.invalid),_peerInvalid:st(me.invalid),_groupChecked:xt(me.checked),_peerChecked:st(me.checked),_groupFocusWithin:xt(me.focusWithin),_peerFocusWithin:st(me.focusWithin),_peerPlaceholderShown:st(me.placeholderShown),_placeholder:"&::placeholder",_placeholderShown:"&:placeholder-shown",_fullScreen:"&: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]"},Qb=Object.keys(js);var Bs=(0, vf.default)({},yi,F,Ab,bi,ze,Eb,Db,Rb,hf,Lb,Fo,$s,q,Wb,Fb,jb,Bb,Mb,zb);Object.assign({},q,ze,bi,hf,Fo);var bf=[...Object.keys(Bs),...Qb],rx=d(d({},Bs),js),xf=e=>e in rx,ox=e=>t=>{if(!t.__breakpoints)return e;let{isResponsive:r,toArrayValue:o,media:n}=t.__breakpoints,i={};for(let a in e){let s=Xe(e[a],t);if(s==null)continue;if(s=je(s)&&r(s)?o(s):s,!Array.isArray(s)){i[a]=s;continue}let l=s.slice(0,n.length).length;for(let c=0;c<l;c+=1){let u=n==null?void 0:n[c];if(!u){i[a]=s[c];continue}i[u]=i[u]||{},s[c]!=null&&(i[u][a]=s[c]);}}return i};function nx(e){let t=[],r="",o=!1;for(let n=0;n<e.length;n++){let i=e[n];i==="("?(o=!0,r+=i):i===")"?(o=!1,r+=i):i===","&&!o?(t.push(r),r=""):r+=i;}return r=r.trim(),r&&t.push(r),t}function ix(e){return /^var\(--.+\)$/.test(e)}var ax=(e,t)=>e.startsWith("--")&&typeof t=="string"&&!ix(t),sx=(e,t)=>{var r,o;if(t==null)return t;let n=l=>{var c,u;return (u=(c=e.__cssMap)==null?void 0:c[l])==null?void 0:u.varRef},i=l=>{var c;return (c=n(l))!=null?c:l},[a,s]=nx(t);return t=(o=(r=n(a))!=null?r:i(s))!=null?o:i(t),t};function lx(e){let{configs:t={},pseudos:r={},theme:o}=e,n=(i,a=!1)=>{var s,l,c;let u=Xe(i,o),f=ox(u)(o),m={};for(let p in f){let g=f[p],y=Xe(g,o);p in r&&(p=r[p]),ax(p,y)&&(y=sx(o,y));let b=t[p];if(b===!0&&(b={property:p}),je(y)){m[p]=(s=m[p])!=null?s:{},m[p]=(0, zo.default)({},m[p],n(y,!0));continue}let x=(c=(l=b==null?void 0:b.transform)==null?void 0:l.call(b,y,o,u))!=null?c:y;x=b!=null&&b.processResult?n(x,!0):x;let S=Xe(b==null?void 0:b.property,o);if(!a&&(b!=null&&b.static)){let C=Xe(b.static,o);m=(0, zo.default)({},m,C);}if(S&&Array.isArray(S)){for(let C of S)m[C]=x;continue}if(S){S==="&"&&je(x)?m=(0, zo.default)({},m,x):m[S]=x;continue}if(je(x)){m=(0, zo.default)({},m,x);continue}m[p]=x;}return m};return n}var Sf=e=>t=>lx({theme:t,pseudos:js,configs:Bs})(e);function T(e){return {definePartsStyle(t){return t},defineMultiStyleConfig(t){return d({parts:e},t)}}}function cx(e,t){if(Array.isArray(e))return e;if(je(e))return t(e);if(e!=null)return [e]}function ux(e,t){for(let r=t+1;r<e.length;r++)if(e[r]!=null)return r;return -1}function fx(e){let t=e.__breakpoints;return function(o,n,i,a){var s,l;if(!t)return;let c={},u=cx(i,t.toArrayValue);if(!u)return c;let f=u.length,m=f===1,p=!!o.parts;for(let g=0;g<f;g++){let y=t.details[g],b=t.details[ux(u,g)],x=Jb(y.minW,b==null?void 0:b._minW),S=Xe((s=o[n])==null?void 0:s[u[g]],a);if(S){if(p){(l=o.parts)==null||l.forEach(C=>{(0, xi.default)(c,{[C]:m?S[C]:{[x]:S[C]}});});continue}if(!p){m?(0, xi.default)(c,S):c[x]=S;continue}c[x]=S;}}return c}}function Cf(e){return t=>{var r;let{variant:o,size:n,theme:i}=t,a=fx(i);return (0, xi.default)({},Xe((r=e.baseStyle)!=null?r:{},t),a(e,"sizes",n,t),a(e,"variants",o,t))}}function I(e,t={}){let r=!1;function o(){if(!r){r=!0;return}throw new Error("[anatomy] .part(...) should only be called once. Did you mean to use .extend(...) ?")}function n(...u){o();for(let f of u)t[f]=l(f);return I(e,t)}function i(...u){for(let f of u)f in t||(t[f]=l(f));return I(e,t)}function a(){return Object.fromEntries(Object.entries(t).map(([f,m])=>[f,m.selector]))}function s(){return Object.fromEntries(Object.entries(t).map(([f,m])=>[f,m.className]))}function l(u){let p=`chakra-${(["container","root"].includes(u!=null?u:"")?[e]:[e,u]).filter(Boolean).join("__")}`;return {className:p,selector:`.${p}`,toString:()=>u}}return {parts:n,toPart:l,extend:i,selectors:a,classnames:s,get keys(){return Object.keys(t)},__type:{}}}I("accordion").parts("root","container","button","panel").extend("icon");var Wo=I("alert").parts("title","description","container").extend("icon","spinner");I("avatar").parts("label","badge","container").extend("excessLabel","group");I("breadcrumb").parts("link","item","container").extend("separator");I("button").parts();var zs=I("checkbox").parts("control","icon","container").extend("label");I("progress").parts("track","filledTrack").extend("label");var Fs=I("drawer").parts("overlay","dialogContainer","dialog").extend("header","closeButton","body","footer");I("editable").parts("preview","input","textarea");var Ws=I("form").parts("container","requiredIndicator","helperText");I("formError").parts("text","icon");var Kt=I("input").parts("addon","field","element","group");I("list").parts("container","item","icon");var Ho=I("menu").parts("button","list","item").extend("groupTitle","icon","command","divider"),Go=I("modal").parts("overlay","dialogContainer","dialog").extend("header","closeButton","body","footer");I("numberinput").parts("root","field","stepperGroup","stepper");I("pininput").parts("field");var Hs=I("popover").parts("content","header","body","footer").extend("popper","arrow","closeButton"),Uo=I("progress").parts("label","filledTrack","track"),Gs=I("radio").parts("container","control","label");I("select").parts("field","icon");var Us=I("slider").parts("container","track","thumb","filledTrack","mark");I("stat").parts("container","label","helpText","number","icon");var Ko=I("switch").parts("container","track","thumb","label");I("table").parts("table","thead","tbody","tr","th","td","tfoot","caption");I("tabs").parts("root","tab","tablist","tabpanel","tabpanels","indicator");I("tag").parts("container","label","closeButton");var Ks=I("card").parts("container","header","body","footer");I("stepper").parts("stepper","step","title","description","indicator","separator","icon","number");function qt(e,t,r){return Math.min(Math.max(e,r),t)}var qs=class extends Error{constructor(t){super(`Failed to parse color: "${t}"`);}},qo=qs;function Ys(e){if(typeof e!="string")throw new qo(e);if(e.trim().toLowerCase()==="transparent")return [0,0,0,0];let t=e.trim();t=Nx.test(e)?Rx(e):e;let r=Mx.exec(t);if(r){let a=Array.from(r).slice(1);return [...a.slice(0,3).map(s=>parseInt(Yo(s,2),16)),parseInt(Yo(a[3]||"f",2),16)/255]}let o=Ix.exec(t);if(o){let a=Array.from(o).slice(1);return [...a.slice(0,3).map(s=>parseInt(s,16)),parseInt(a[3]||"ff",16)/255]}let n=Vx.exec(t);if(n){let a=Array.from(n).slice(1);return [...a.slice(0,3).map(s=>parseInt(s,10)),parseFloat(a[3]||"1")]}let i=Ox.exec(t);if(i){let[a,s,l,c]=Array.from(i).slice(1).map(parseFloat);if(qt(0,100,s)!==s)throw new qo(e);if(qt(0,100,l)!==l)throw new qo(e);return [...$x(a,s,l),Number.isNaN(c)?1:c]}throw new qo(e)}function Ax(e){let t=5381,r=e.length;for(;r;)t=t*33^e.charCodeAt(--r);return (t>>>0)%2341}var wf=e=>parseInt(e.replace(/_/g,""),36),Ex="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)=>{let r=wf(t.substring(0,3)),o=wf(t.substring(3)).toString(16),n="";for(let i=0;i<6-o.length;i++)n+="0";return e[r]=`${n}${o}`,e},{});function Rx(e){let t=e.toLowerCase().trim(),r=Ex[Ax(t)];if(!r)throw new qo(e);return `#${r}`}var Yo=(e,t)=>Array.from(Array(t)).map(()=>e).join(""),Mx=new RegExp(`^#${Yo("([a-f0-9])",3)}([a-f0-9])?$`,"i"),Ix=new RegExp(`^#${Yo("([a-f0-9]{2})",3)}([a-f0-9]{2})?$`,"i"),Vx=new RegExp(`^rgba?\\(\\s*(\\d+)\\s*${Yo(",\\s*(\\d+)\\s*",2)}(?:,\\s*([\\d.]+))?\\s*\\)$`,"i"),Ox=/^hsla?\(\s*([\d.]+)\s*,\s*([\d.]+)%\s*,\s*([\d.]+)%(?:\s*,\s*([\d.]+))?\s*\)$/i,Nx=/^[a-z]+$/i,kf=e=>Math.round(e*255),$x=(e,t,r)=>{let o=r/100;if(t===0)return [o,o,o].map(kf);let n=(e%360+360)%360/60,i=(1-Math.abs(2*o-1))*(t/100),a=i*(1-Math.abs(n%2-1)),s=0,l=0,c=0;n>=0&&n<1?(s=i,l=a):n>=1&&n<2?(s=a,l=i):n>=2&&n<3?(l=i,c=a):n>=3&&n<4?(l=a,c=i):n>=4&&n<5?(s=a,c=i):n>=5&&n<6&&(s=i,c=a);let u=o-i/2,f=s+u,m=l+u,p=c+u;return [f,m,p].map(kf)};function Lx(e,t,r,o){return `rgba(${qt(0,255,e).toFixed()}, ${qt(0,255,t).toFixed()}, ${qt(0,255,r).toFixed()}, ${parseFloat(qt(0,1,o).toFixed(3))})`}function _f(e,t){let[r,o,n,i]=Ys(e);return Lx(r,o,n,i-t)}function Tf(e){let[t,r,o,n]=Ys(e),i=a=>{let s=qt(0,255,a).toString(16);return s.length===1?`0${s}`:s};return `#${i(t)}${i(r)}${i(o)}${n<1?i(Math.round(n*255)):""}`}function Dx(e,t,r,o,n){for(t=t.split?t.split("."):t,o=0;o<t.length;o++)e=e?e[t[o]]:n;return e===n?r:e}var ae=(e,t,r)=>{let o=Dx(e,`colors.${t}`,t);try{return Tf(o),o}catch(n){return r!=null?r:"#000000"}};var te=(e,t)=>r=>{let o=ae(r,e);return _f(o,1-t)};function Y(e,t){return r=>r.colorMode==="dark"?t:e}function Pf(e){return !Number.isInteger(parseFloat(e.toString()))}function jx(e,t="-"){return e.replace(/\s+/g,t)}function Af(e){let t=jx(e.toString());return t.includes("\\.")?e:Pf(e)?t.replace(".","\\."):e}function Ef(e,t=""){return [t,Af(e)].filter(Boolean).join("-")}function Rf(e,t){return `var(${Af(e)}${t?`, ${t}`:""})`}function Mf(e,t=""){return `--${Ef(e,t)}`}function Ue(e,t){let r=Mf(e,t==null?void 0:t.prefix);return {variable:r,reference:Rf(r,Bx(t==null?void 0:t.fallback))}}function Bx(e){return typeof e=="string"?e:e==null?void 0:e.reference}var xe=e=>e?"":void 0;var _=(...e)=>e.filter(Boolean).join(" ");var Ci=zt(Er(),1);function Xs(e,t){let r={};return Object.keys(e).forEach(o=>{t.includes(o)||(r[o]=e[o]);}),r}function If(e,t,r,o){let n=typeof t=="string"?t.split("."):[t];for(o=0;o<n.length&&e;o+=1)e=e[n[o]];return e===void 0?r:e}var Vf=e=>{let t=new WeakMap;return (o,n,i,a)=>{if(typeof o=="undefined")return e(o,n,i);t.has(o)||t.set(o,new Map);let s=t.get(o);if(s.has(n))return s.get(n);let l=e(o,n,i,a);return s.set(n,l),l}},Zs=Vf(If);function wi(e,t){let r={};return Object.keys(e).forEach(o=>{let n=e[o];t(n,o,e)&&(r[o]=n);}),r}var Xo=e=>wi(e,t=>t!=null);function Of(e){return typeof e=="function"}function se(e,...t){return Of(e)?e(...t):e}function St(...e){return function(r){e.some(o=>(o==null||o(r),r==null?void 0:r.defaultPrevented));}}var Lf=zt($f(),1);function Ux(e,t={}){var r;let f=t,{styleConfig:o}=f,n=k(f,["styleConfig"]),{theme:i,colorMode:a}=Iu(),s=e?Zs(i,`components.${e}`):void 0,l=o||s,c=(0, Ci.default)({theme:i,colorMode:a},(r=l==null?void 0:l.defaultProps)!=null?r:{},Xo(Xs(n,["children"]))),u=ht.useRef({});if(l){let p=Cf(l)(c);(0, Lf.default)(u.current,p)||(u.current=p);}return u.current}function Js(e,t={}){return Ux(e,t)}var Kx=new Set([...bf,"textStyle","layerStyle","apply","noOfLines","focusBorderColor","errorBorderColor","as","__css","css","sx"]),qx=new Set(["htmlWidth","htmlHeight","htmlSize","htmlTranslate"]);function Df(e){return qx.has(e)||!Kx.has(e)}function Qs(e,...t){if(e==null)throw new TypeError("Cannot convert undefined or null to object");let r=d({},e);for(let o of t)if(o!=null)for(let n in o)Object.prototype.hasOwnProperty.call(o,n)&&(n in r&&delete r[n],r[n]=o[n]);return r}var Yx=/^((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|download|draggable|encType|enterKeyHint|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|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)-.*))$/,jf=Wn(function(e){return Yx.test(e)||e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)<91});var Xx=jf,Zx=function(t){return t!=="theme"},Bf=function(t){return typeof t=="string"&&t.charCodeAt(0)>96?Xx:Zx},zf=function(t,r,o){var n;if(r){var i=r.shouldForwardProp;n=t.__emotion_forwardProp&&i?function(a){return t.__emotion_forwardProp(a)&&i(a)}:i;}return typeof n!="function"&&o&&(n=t.__emotion_forwardProp),n};var Jx=function(t){var r=t.cache,o=t.serialized,n=t.isStringTag;return Mo(r,o,n),ni(function(){return ti(r,o,n)}),null},Ff=function e(t,r){var o=t.__emotion_real===t,n=o&&t.__emotion_base||t,i,a;r!==void 0&&(i=r.label,a=r.target);var s=zf(t,r,o),l=s||Bf(n),c=!l("as");return function(){var u=arguments,f=o&&t.__emotion_styles!==void 0?t.__emotion_styles.slice(0):[];if(i!==void 0&&f.push("label:"+i+";"),u[0]==null||u[0].raw===void 0)f.push.apply(f,u);else {f.push(u[0][0]);for(var m=u.length,p=1;p<m;p++)f.push(u[p],u[0][p]);}var g=ai(function(y,b,x){var S=c&&y.as||n,C="",w=[],P=y;if(y.theme==null){P={};for(var E in y)P[E]=y[E];P.theme=ht__namespace.useContext(Vo);}typeof y.className=="string"?C=ei(b.registered,w,y.className):y.className!=null&&(C=y.className+" ");var A=ri(f.concat(w),b.registered,P);C+=b.key+"-"+A.name,a!==void 0&&(C+=" "+a);var M=c&&s===void 0?Bf(S):l,O={};for(var B in y)c&&B==="as"||M(B)&&(O[B]=y[B]);return O.className=C,O.ref=x,ht__namespace.createElement(ht__namespace.Fragment,null,ht__namespace.createElement(Jx,{cache:b,serialized:A,isStringTag:typeof S=="string"}),ht__namespace.createElement(S,O))});return g.displayName=i!==void 0?i:"Styled("+(typeof n=="string"?n:n.displayName||n.name||"Component")+")",g.defaultProps=t.defaultProps,g.__emotion_real=g,g.__emotion_base=n,g.__emotion_styles=f,g.__emotion_forwardProp=s,Object.defineProperty(g,"toString",{value:function(){return "."+a}}),g.withComponent=function(y,b){return e(y,_r({},r,b,{shouldForwardProp:zf(g,b,!0)})).apply(void 0,f)},g}};var Qx=["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"],Zo=Ff.bind();Qx.forEach(function(e){Zo[e]=Zo(e);});var Hf,eS=(Hf=Zo.default)!=null?Hf:Zo,tS=({baseStyle:e})=>t=>{let f=t,{theme:r,css:o,__css:n,sx:i}=f,a=k(f,["theme","css","__css","sx"]),s=wi(a,(m,p)=>xf(p)),l=se(e,t),c=Qs({},n,l,Xo(s),i),u=Sf(c)(t.theme);return o?[u,o]:u};function _i(e,t){let s=t!=null?t:{},{baseStyle:r}=s,o=k(s,["baseStyle"]);o.shouldForwardProp||(o.shouldForwardProp=Df);let n=tS({baseStyle:r}),i=eS(e,o)(n);return ht__namespace.default.forwardRef(function(c,u){let{colorMode:f,forced:m}=Oo();return ht__namespace.default.createElement(i,d({ref:u,"data-theme":m?f:void 0},c))})}function rS(){let e=new Map;return new Proxy(_i,{apply(t,r,o){return _i(...o)},get(t,r){return e.has(r)||e.set(r,_i(r)),e.get(r)}})}var Rr=rS();function Jo(e){return ht.forwardRef(e)}function Oe(e={}){let{strict:t=!0,errorMessage:r="useContext: `context` is undefined. Seems you forgot to wrap component within the Provider",name:o}=e,n=ht.createContext(void 0);n.displayName=o;function i(){var a;let s=ht.useContext(n);if(!s&&t){let l=new Error(r);throw l.name="ContextError",(a=Error.captureStackTrace)==null||a.call(Error,l,i),l}return s}return [n.Provider,i,n]}var Ti=(...e)=>e.filter(Boolean).join(" "),Gf={path:jsxRuntime.jsxs("g",{stroke:"currentColor",strokeWidth:"1.5",children:[jsxRuntime.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"}),jsxRuntime.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"}),jsxRuntime.jsx("circle",{fill:"none",strokeMiterlimit:"10",cx:"12",cy:"12",r:"11.25"})]}),viewBox:"0 0 24 24"},Kf=Jo((e,t)=>{let b=e,{as:r,viewBox:o,color:n="currentColor",focusable:i=!1,children:a,className:s,__css:l}=b,c=k(b,["as","viewBox","color","focusable","children","className","__css"]),u=Ti("chakra-icon",s),f=Js("Icon",e),m=d(d({w:"1em",h:"1em",display:"inline-block",lineHeight:"1em",flexShrink:0,color:n},l),f),p={ref:t,focusable:i,className:u,__css:m},g=o!=null?o:Gf.viewBox;if(r&&typeof r!="string")return jsxRuntime.jsx(Rr.svg,d(d({as:r},p),c));let y=a!=null?a:Gf.path;return jsxRuntime.jsx(Rr.svg,v(d(d({verticalAlign:"middle",viewBox:g},p),c),{children:y}))});Kf.displayName="Icon";function lS(e){let{viewBox:t="0 0 24 24",d:r,displayName:o,defaultProps:n={}}=e,i=ht.Children.toArray(e.path),a=Jo((s,l)=>jsxRuntime.jsx(Kf,v(d(d({ref:l,viewBox:t},n),s),{children:i.length?i:jsxRuntime.jsx("path",{fill:"currentColor",d:r})})));return a.displayName=o,a}var Se=e=>lS(d({viewBox:"0 0 24 24",defaultProps:{fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}},e));Se({displayName:"ChevronUpIcon",path:jsxRuntime.jsx("polyline",{points:"18 15 12 9 6 15"})});Se({displayName:"ChevronDownIcon",path:jsxRuntime.jsx("polyline",{points:"6 9 12 15 18 9"})});Se({displayName:"ChevronLeftIcon",path:jsxRuntime.jsx("polyline",{points:"15 18 9 12 15 6"})});Se({displayName:"ChevronRightIcon",path:jsxRuntime.jsx("polyline",{points:"9 18 15 12 9 6"})});Se({displayName:"ChevronDownIcon",path:jsxRuntime.jsxs("g",{fill:"none",children:[jsxRuntime.jsx("line",{x1:"3",y1:"12",x2:"21",y2:"12"}),jsxRuntime.jsx("line",{x1:"3",y1:"6",x2:"21",y2:"6"}),jsxRuntime.jsx("line",{x1:"3",y1:"18",x2:"21",y2:"18"})]})});var Zf=Se({displayName:"CloseIcon",path:jsxRuntime.jsxs("g",{children:[jsxRuntime.jsx("line",{x1:"18",y1:"6",x2:"6",y2:"18"}),jsxRuntime.jsx("line",{x1:"6",y1:"6",x2:"18",y2:"18"})]})});Se({displayName:"FilterIcon",path:jsxRuntime.jsx("polygon",{points:"22 3 2 3 10 12.46 10 19 14 21 14 12.46 22 3"})});Se({displayName:"CalendarIcon",path:jsxRuntime.jsxs("g",{children:[jsxRuntime.jsx("rect",{x:"3",y:"4",width:"18",height:"18",rx:"2",ry:"2"}),jsxRuntime.jsx("line",{x1:"16",y1:"2",x2:"16",y2:"6"}),jsxRuntime.jsx("line",{x1:"8",y1:"2",x2:"8",y2:"6"}),jsxRuntime.jsx("line",{x1:"3",y1:"10",x2:"21",y2:"10"})]})});Se({displayName:"PlusIcon",path:jsxRuntime.jsxs("g",{children:[jsxRuntime.jsx("line",{x1:"12",y1:"5",x2:"12",y2:"19"}),jsxRuntime.jsx("line",{x1:"5",y1:"12",x2:"19",y2:"12"})]})});Se({displayName:"MinusIcon",path:jsxRuntime.jsx("g",{children:jsxRuntime.jsx("line",{x1:"5",y1:"12",x2:"19",y2:"12"})})});Se({displayName:"ViewOffIcon",path:jsxRuntime.jsxs("g",{children:[jsxRuntime.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"}),jsxRuntime.jsx("line",{x1:"1",y1:"1",x2:"23",y2:"23"})]})});Se({displayName:"ViewOffIcon",path:jsxRuntime.jsxs("g",{children:[jsxRuntime.jsx("path",{d:"M1 12s4-8 11-8 11 8 11 8-4 8-11 8-11-8-11-8z"}),jsxRuntime.jsx("circle",{cx:"12",cy:"12",r:"3"})]})});var Jf=Se({displayName:"SearchIcon",path:jsxRuntime.jsxs("g",{children:[jsxRuntime.jsx("circle",{cx:"11",cy:"11",r:"8"}),jsxRuntime.jsx("line",{x1:"21",y1:"21",x2:"16.65",y2:"16.65"})]})});Se({displayName:"CheckIcon",path:jsxRuntime.jsx("g",{children:jsxRuntime.jsx("polyline",{points:"20 6 9 17 4 12"})})});var Qf=I("app-shell").parts("container","inner","main"),el=I("emptystate").parts("container","body","icon","title","descripton","actions","footer"),ed=I("banner").parts("container","icon","content","title","description","actions","close"),td=I("hotkeys").parts("container","group","groupTitle","item","command","then"),rd=I("loading-overlay").parts("overlay","text"),od=I("nav-group").parts("container","title","icon","content"),nd=I("nav-item").parts("item","link","inner","icon","label"),id=I("nprogress").parts("container","bar"),ad=I("persona").parts("container","details","avatar","label","secondaryLabel","tertiaryLabel"),sd=I("search-input").parts("input","reset"),ld=I("sidebar").parts("container","overlay","section","toggleWrapper","toggle");I("stepper").parts("container","steps","icon","content","title","separator");var cd=I("structured-list").parts("list","item","button","header","cell","icon"),tl=I("property").parts("property","label","value"),ud=I("select").parts("addon","field","element"),fd=I("timeline").parts("container","item","separator","icon","dot","track","content");var{definePartsStyle:wS,defineMultiStyleConfig:kS}=T(Qf.keys),_S=wS({container:{},inner:{},main:{}}),TS=kS({defaultProps:{variant:"fullscreen"},variants:{static:{},fullscreen:{container:{position:"absolute",inset:0}}},baseStyle:_S}),{definePartsStyle:al,defineMultiStyleConfig:PS}=T(ed.keys),AS=al({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}}),ES=al(e=>{let{theme:t,colorScheme:r}=e;return {container:{bg:`${r}.100`,_dark:{bg:te(`${r}.200`,.16)(t)}},icon:{color:`${r}.500`,_dark:{color:`${r}.200`}}}}),RS=al(e=>{let{colorScheme:t}=e;return {container:{bg:`${t}.500`,color:"white"}}}),MS=PS({baseStyle:AS,variants:{subtle:ES,solid:RS},defaultProps:{variant:"subtle",colorScheme:"blue"}}),IS={baseStyle:{fontSize:"xs","[role=tooltip] > &":{ms:1,_before:{content:'"\u2022"',me:1,fontSize:"xs"}}}},{definePartsStyle:_d,defineMultiStyleConfig:VS}=T(el.keys),OS=_d(e=>{let{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}}}),NS=_d(e=>({body:{display:"flex",flexDirection:"column",textAlign:"center",alignItems:"center"}})),$S=VS({baseStyle:OS,variants:{centered:NS}}),{definePartsStyle:LS,defineMultiStyleConfig:DS}=T(Ws.keys),jS=LS({container:{display:"flex",alignItems:"center",flexDirection:"row-reverse",justifyContent:"flex-end"}}),BS=DS({variants:{horizontal:jS}}),zS={defaultProps:{spacing:4}},FS={baseStyle:{fontWeight:"semibold",mb:4}},{definePartsStyle:SN,defineMultiStyleConfig:WS}=T(td.keys),HS=WS({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:GS,definePartsStyle:Ri}=T(rd.keys),US=Ri({overlay:{p:4},text:{}}),KS=Ri(()=>({overlay:{flex:1,height:"100%",bg:"whiteAlpha.400",_dark:{bg:"blackAlpha.400"}}})),qS=Ri(()=>({overlay:{position:"fixed",inset:0,zIndex:"modal",bg:"white",_dark:{bg:"gray.800"}}})),YS=Ri(()=>({overlay:{position:"absolute",inset:0,bg:"whiteAlpha.300",_dark:{bg:"blackAlpha.300"}}})),XS=GS({defaultProps:{variant:"fill"},baseStyle:US,variants:{fill:KS,fullscreen:qS,overlay:YS}}),{definePartsStyle:ZS,defineMultiStyleConfig:JS}=T(od.keys),QS=ZS(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:{}})),e1=JS({baseStyle:QS}),{definePartsStyle:Mi,defineMultiStyleConfig:t1}=T(nd.keys),r1=Mi(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"}})),o1=Mi(e=>{let t={bg:"blackAlpha.200",_dark:{bg:"whiteAlpha.300"}};return {link:{_hover:{bg:"blackAlpha.100",_dark:{bg:"whiteAlpha.200"}},_active:t,["&[aria-current=page]"]:t},icon:{opacity:.8,"[data-active] &":{opacity:1}}}}),n1=Mi(e=>{let{colorScheme:t,theme:r}=e,o={bg:te(`${t}.500`,.3)(r),fontWeight:"semibold",color:`${t}.600`,_dark:{bg:te(`${t}.500`,.3)(r),color:`${t}.100`}};return {link:{_hover:{bg:"blackAlpha.100",_dark:{bg:"whiteAlpha.200"}},_active:o,["&[aria-current=page]"]:o}}}),i1=Mi(e=>{let{colorScheme:t}=e,r={bg:`${t}.500`};return {link:{_hover:{bg:"blackAlpha.100",_dark:{bg:"whiteAlpha.200"}},_active:r,["&[aria-current=page]"]:r,color:"white"},icon:{color:"white"},label:{}}}),dd,md,pd,hd,a1=t1({defaultProps:{size:"sm",colorScheme:"primary",variant:"neutral"},baseStyle:r1,sizes:{xs:{link:(dd=react.theme.components.Button.sizes)==null?void 0:dd.xs,icon:{me:1,fontSize:"xs"}},sm:{link:(md=react.theme.components.Button.sizes)==null?void 0:md.sm,icon:{me:2,fontSize:"sm"}},md:{link:(pd=react.theme.components.Button.sizes)==null?void 0:pd.md,icon:{me:2,fontSize:"md"}},lg:{link:(hd=react.theme.components.Button.sizes)==null?void 0:hd.lg,icon:{me:3,fontSize:"lg"}}},variants:{neutral:o1,subtle:n1,solid:i1}}),{definePartsStyle:Td,defineMultiStyleConfig:Pd}=T(id.keys),s1=Td(e=>{let{colorScheme:t}=e;return {bar:{bg:`${t}.500`,_dark:{bg:`${t}.300`}}}}),l1=Pd({defaultProps:{colorScheme:"teal"},baseStyle:s1}),{definePartsStyle:kt,defineMultiStyleConfig:c1}=T(ad.keys),gd=e=>({color:"gray.500",overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis",minW:0,_dark:{color:"whiteAlpha.600"}}),u1=kt(e=>({details:{minW:0},secondaryLabel:gd(),tertiaryLabel:gd()})),f1={"2xs":kt({details:{ms:2},label:{fontSize:"xs"},secondaryLabel:{display:"none"},tertiaryLabel:{display:"none"}}),xs:kt({details:{ms:2},label:{fontSize:"md"},secondaryLabel:{display:"none"},tertiaryLabel:{display:"none"}}),sm:kt({details:{ms:2},label:{fontSize:"md"},secondaryLabel:{fontSize:"sm"},tertiaryLabel:{display:"none"}}),md:kt({details:{ms:2},label:{fontSize:"md"},secondaryLabel:{fontSize:"sm"},tertiaryLabel:{display:"none"}}),lg:kt({details:{ms:3},label:{fontSize:"md"},secondaryLabel:{fontSize:"sm"},tertiaryLabel:{fontSize:"sm"}}),xl:kt({details:{ms:3},label:{fontSize:"xl"},secondaryLabel:{fontSize:"md"},tertiaryLabel:{fontSize:"md"}}),"2xl":kt({details:{ms:4},label:{fontSize:"2xl"},secondaryLabel:{fontSize:"lg"},tertiaryLabel:{fontSize:"lg"}})},d1=c1({defaultProps:{size:"md"},baseStyle:u1,sizes:f1}),{definePartsStyle:RN,defineMultiStyleConfig:m1}=T(tl.keys),p1=m1({baseStyle:{label:{display:"flex",flexDirection:"row",minWidth:"100px",width:"30%",marginEnd:2,py:2,color:"gray.500",_dark:{color:"gray.400"}}}}),{defineMultiStyleConfig:h1}=T(sd.keys),g1=h1({baseStyle:{input:{pr:8}},sizes:{sm:{reset:{fontSize:"0.7em"}},lg:{input:{pr:10}}}}),{definePartsStyle:sl,defineMultiStyleConfig:y1}=T(ld.keys),v1=sl(e=>{let{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"}}}),b1=sl(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"}}})),x1=sl(e=>({container:{width:"14",py:3},section:{px:3},toggleWrapper:{display:"none"}})),S1=y1({defaultProps:{variant:"default"},baseStyle:v1,variants:{default:b1,compact:x1}}),{definePartsStyle:lt,defineMultiStyleConfig:C1}=T(Kt.keys),Mr=V("input-height"),Ir=V("input-font-size"),Vr=V("input-padding"),Or=V("input-border-radius"),w1=lt({addon:{height:Mr.reference,fontSize:Ir.reference,px:Vr.reference,borderRadius:Or.reference},field:{width:"100%",height:Mr.reference,fontSize:Ir.reference,px:Vr.reference,borderRadius:Or.reference,minWidth:0,outline:0,position:"relative",appearance:"none",transitionProperty:"common",transitionDuration:"normal",_disabled:{opacity:.4,cursor:"not-allowed"}}}),wt={lg:{[Ir.variable]:"fontSizes.lg",[Vr.variable]:"space.4",[Or.variable]:"radii.md",[Mr.variable]:"sizes.12"},md:{[Ir.variable]:"fontSizes.md",[Vr.variable]:"space.4",[Or.variable]:"radii.md",[Mr.variable]:"sizes.10"},sm:{[Ir.variable]:"fontSizes.sm",[Vr.variable]:"space.3",[Or.variable]:"radii.sm",[Mr.variable]:"sizes.8"},xs:{[Ir.variable]:"fontSizes.xs",[Vr.variable]:"space.2",[Or.variable]:"radii.sm",[Mr.variable]:"sizes.6"}},k1={lg:lt({field:wt.lg,group:wt.lg}),md:lt({field:wt.md,group:wt.md}),sm:lt({field:wt.sm,group:wt.sm}),xs:lt({field:wt.xs,group:wt.xs})};function ll(e){let{focusBorderColor:t,errorBorderColor:r}=e;return {focusBorderColor:t||Y("blue.500","blue.300")(e),errorBorderColor:r||Y("red.500","red.300")(e)}}var _1=lt(e=>{let{theme:t}=e,{focusBorderColor:r,errorBorderColor:o}=ll(e);return {field:{border:"1px solid",borderColor:"inherit",bg:"inherit",_hover:{borderColor:Y("gray.300","whiteAlpha.400")(e)},_readOnly:{boxShadow:"none !important",userSelect:"all"},_invalid:{borderColor:ae(t,o),boxShadow:`0 0 0 1px ${ae(t,o)}`},_focusVisible:{zIndex:1,borderColor:ae(t,r),boxShadow:`0 0 0 1px ${ae(t,r)}`}},addon:{border:"1px solid",borderColor:Y("inherit","whiteAlpha.50")(e),bg:Y("gray.100","whiteAlpha.300")(e)}}}),T1=lt(e=>{let{theme:t}=e,{focusBorderColor:r,errorBorderColor:o}=ll(e);return {field:{border:"2px solid",borderColor:"transparent",bg:Y("gray.100","whiteAlpha.50")(e),_hover:{bg:Y("gray.200","whiteAlpha.100")(e)},_readOnly:{boxShadow:"none !important",userSelect:"all"},_invalid:{borderColor:ae(t,o)},_focusVisible:{bg:"transparent",borderColor:ae(t,r)}},addon:{border:"2px solid",borderColor:"transparent",bg:Y("gray.100","whiteAlpha.50")(e)}}}),P1=lt(e=>{let{theme:t}=e,{focusBorderColor:r,errorBorderColor:o}=ll(e);return {field:{borderBottom:"1px solid",borderColor:"inherit",borderRadius:"0",px:"0",bg:"transparent",_readOnly:{boxShadow:"none !important",userSelect:"all"},_invalid:{borderColor:ae(t,o),boxShadow:`0px 1px 0px 0px ${ae(t,o)}`},_focusVisible:{borderColor:ae(t,r),boxShadow:`0px 1px 0px 0px ${ae(t,r)}`}},addon:{borderBottom:"2px solid",borderColor:"inherit",borderRadius:"0",px:"0",bg:"transparent"}}}),A1=lt({field:{bg:"transparent",px:"0",height:"auto"},addon:{bg:"transparent",px:"0",height:"auto"}}),E1={outline:_1,filled:T1,flushed:P1,unstyled:A1},_t=C1({baseStyle:w1,sizes:k1,variants:E1,defaultProps:{size:"md",variant:"outline"}}),{defineMultiStyleConfig:R1}=T(ud.keys),M1=R1({defaultProps:_t.defaultProps,baseStyle:_t.baseStyle,sizes:_t.sizes,variants:_t.variants}),{definePartsStyle:I1,defineMultiStyleConfig:V1}=T(cd.keys),O1=I1(e=>({item:{py:2,px:4},button:{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"}}}})),N1=V1({defaultProps:{size:"md"},baseStyle:O1,sizes:{sm:{item:{py:1,px:1},button:{py:1,px:1},cell:{px:1},icon:{px:1}},md:{item:{py:2,px:2},button:{py:2,px:2},cell:{px:2},icon:{px:2}}}}),{definePartsStyle:cl,defineMultiStyleConfig:$1}=T(fd.keys),L1=cl(e=>({container:{},item:{minHeight:"32px",position:"relative"},separator:{width:"24px",flexShrink:0},icon:{color:"gray.300",py:"7px",_dark:{color:"gray.600"}},dot:{width:"9px",height:"9px",bg:"currentColor",borderRadius:"full"},track:{bg:"gray.300",width:"1px",flex:1,_dark:{bg:"gray.600"}},content:{pt:"1px",px:"2"}})),D1=cl(e=>({icon:{}})),j1=cl(e=>({dot:{bg:"transparent",borderColor:"currentColor",borderWidth:"2px"}})),B1=$1({defaultProps:{variant:"solid",size:"sm"},baseStyle:L1,variants:{solid:D1,outline:j1},sizes:{sm:{icon:{minH:"8px",minW:"8px"}}}}),z1={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}},defaultProps:{variant:"outline",size:"md"}},F1=I("navbar").parts("container","inner","brand","content","item","link"),{defineMultiStyleConfig:W1,definePartsStyle:H1}=T(F1.keys),yd=V("navbar-bg"),vd=V("navbar-text-color","currentColor"),rl=V("navbar-link-bg","transparent"),G1=["yellow","cyan"],U1=W1({baseStyle:H1(({colorScheme:e})=>{let t="currentColor";return e&&(t=G1.includes(e)?"colors.black":"colors.white"),{container:{display:"flex",[yd.variable]:e?`colors.${e}.500`:"chakra-body-bg",[vd.variable]:t,bg:yd.reference,color:vd.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: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:rl.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:{[rl.variable]:"colors.blackAlpha.100",textDecoration:"none",_dark:{[rl.variable]:"colors.whiteAlpha.200"}},_active:{fontWeight:"semibold"}}}})}),K1={SuiAppShell:TS,SuiBanner:MS,SuiCommand:IS,SuiEmptyState:$S,SuiFormLayout:zS,SuiForm:BS,SuiFormLegend:FS,SuiHotkeys:HS,SuiStructuredList:N1,SuiLoadingOverlay:XS,SuiNavGroup:e1,SuiNavItem:a1,SuiPersona:d1,SuiProperty:p1,SuiNProgress:l1,SuiSearchInput:g1,SuiSelect:M1,SuiSidebar:S1,SuiTimeline:B1,SuiIconBadge:z1,SuiNavbar:U1},ul=react.extendTheme({colors:{primary:react.theme.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:K1}),q1={global:e=>({body:{WebkitFontSmoothing:"antialiased",TextRendering:"optimizelegibility"}})},ol={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"}},nl=d({primary:ol.purple,secondary:ol.cyan},ol),Y1={heading:"InterVariable, Inter, sans-serif",body:"InterVariable, Inter, sans-serif"},X1={"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"},Z1={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"}},J1={container:{sm:"30em",md:"48em",lg:"62em",xl:"80em","2xl":"96em"}},Q1=J1,eC={outline:`0 0 0 2px ${te(nl.primary[500],.6)({colors:nl})}`},tC=eC,rC={colors:{"chakra-border-color":{_light:"gray.200",_dark:"whiteAlpha.200"},muted:{default:"gray.500",_dark:"gray.400"}}},oC={colors:nl,fonts:Y1,fontSizes:X1,textStyles:Z1,sizes:Q1,shadows:tC,semanticTokens:rC},{definePartsStyle:Ad,defineMultiStyleConfig:nC}=T(Wo.keys),iC=Ad(e=>{let{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"}}}}),aC=Ad({container:{borderRadius:"md"}}),sC=nC({defaultProps:{size:"sm"},baseStyle:aC,variants:{snackbar:iC}}),Ed=e=>{let{colorScheme:t}=e;return t==="gray"?{base:Y("gray.100","whiteAlpha.300")(e),hover:Y("gray.200","whiteAlpha.400")(e),active:Y("gray.300","whiteAlpha.500")(e)}:t==="white"?{base:"whiteAlpha.900",hover:"whiteAlpha.700",active:"whiteAlpha.500"}:{base:Y(`${t}.500`,`${t}.500`)(e),hover:Y(`${t}.600`,`${t}.600`)(e),active:Y(`${t}.700`,`${t}.700`)(e)}},lC={yellow:{bg:"yellow.400",hoverBg:"yellow.500",activeBg:"yellow.600",color:"black"},cyan:{bg:"cyan.400",color:"black",hoverBg:"cyan.500",activeBg:"cyan.600"}},Ii=e=>{var t;let{colorScheme:r}=e;if(r==="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"}};let{base:o,hover:n,active:i}=Ed(e),{color:a=r==="gray"?Y("black","white")(e):"white",bg:s=o,hoverBg:l=n,activeBg:c=i}=(t=lC[r])!=null?t:{};return {bg:s,color:a,_hover:{bg:l,_disabled:{bg:s}},_active:{bg:c}}},cC=e=>d({shadow:"md"},Ii(e)),Rd=e=>{let{colorScheme:t}=e,{base:r,hover:o,active:n}=Ed(e);return v(d({},Md(e)),{borderColor:t==="gray"?o:r,borderWidth:"1px",_hover:{borderColor:t==="gray"?n:o}})},Md=e=>{let{colorScheme:t,theme:r}=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"};let o=te(`${t}.200`,.12)(r),n=te(`${t}.200`,.24)(r);return {color:`${t}.600`,_dark:{color:`${t}.200`},bg:"transparent",_hover:{bg:`${t}.50`,_dark:{bg:o}},_active:{bg:`${t}.100`,_dark:{bg:n}}}},uC=e=>{let{colorScheme:t,theme:r}=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"}}};let o=t==="white"?"white":Y(`${t}.500`,`${t}.200`)(e),n=te(o,.1)(r),i=te(o,.16)(r),a=te(o,.24)(r);return {color:t==="white"?"white":Y(`${t}.600`,`${t}.200`)(e),bg:n,_hover:{bg:i},_active:{bg:a}}},fC=e=>{let{colorScheme:t}=e;return {padding:0,height:"auto",lineHeight:"normal",verticalAlign:"baseline",color:t==="white"?"white":Y(`${t}.500`,`${t}.200`)(e),_hover:{textDecoration:"underline",_disabled:{textDecoration:"none"}},_active:{color:t==="white"?"whiteAlpha.800":Y(`${t}.700`,`${t}.500`)(e)}}},dC=e=>{let{colorScheme:t}=e;return t==="gray"&&(t="primary"),Ii(v(d({},e),{variant:"solid",colorScheme:t}))},mC=e=>Ii(v(d({},e),{variant:"solid"})),pC=e=>Rd(v(d({},e),{variant:"outline"})),hC={defaultProps:{size:"sm"},variants:{solid:Ii,ghost:Md,outline:Rd,subtle:uC,elevated:cC,link:fC,primary:dC,secondary:mC,tertiary:pC}},{definePartsStyle:Vi,defineMultiStyleConfig:gC}=T(Ks.keys),Xt=V("card-bg");V("card-padding");var fl=V("card-shadow");V("card-radius");var dl=V("card-border-width","0"),Tt=V("card-border-color"),yC=Vi(()=>({container:{transitionProperty:"common",transitionDuration:"normal"},header:{p:4},body:{p:4},footer:{p:4}})),vC=Vi(e=>({container:{[Xt.variable]:"colors.white",[Tt.variable]:"colors.blackAlpha.200",[dl.variable]:"1px",[fl.variable]:"shadows.sm",_dark:{[Xt.variable]:"colors.whiteAlpha.200",[Tt.variable]:"colors.whiteAlpha.50"},"&.chakra-linkbox:hover":{[Tt.variable]:"colors.blackAlpha.300",_dark:{[Tt.variable]:"colors.whiteAlpha.300"}}}})),bC=Vi(e=>{let{colorScheme:t}=e,r=t?"white":"inherit";return {container:{[dl.variable]:"0",[fl.variable]:"none",[Xt.variable]:t?`${t}.500`:"colors.blackAlpha.100",color:r,"&.chakra-linkbox:hover":{[Xt.variable]:t?`${t}.600`:"colors.blackAlpha.200"},_dark:{[Xt.variable]:t?`${t}.500`:"colors.whiteAlpha.100","&.chakra-linkbox:hover":{[Xt.variable]:t?`${t}.600`:"colors.whiteAlpha.200"}}}}}),xC=Vi(e=>{let{colorScheme:t}=e;return {container:{[dl.variable]:"1px",[fl.variable]:"none",[Tt.variable]:t?`${t}.500`:"colors.blackAlpha.200",[Xt.variable]:"transparent","&.chakra-linkbox:hover":{[Tt.variable]:t?`${t}.600`:"colors.blackAlpha.300"},_dark:{[Tt.variable]:t?`${t}.500`:"colors.whiteAlpha.300","&.chakra-linkbox:hover":{[Tt.variable]:t?`${t}.600`:"colors.whiteAlpha.400"}}}}}),SC=gC({defaultProps:{variant:"elevated"},baseStyle:yC,variants:{elevated:vC,outline:xC,filled:bC}}),{definePartsStyle:CC,defineMultiStyleConfig:wC}=T(zs.keys),kC=CC(e=>{let{colorScheme:t}=e;return {control:{_checked:{borderColor:`${t}.500`,bg:`${t}.500`,color:"white"}}}}),_C=wC({baseStyle:kC}),TC={defaultProps:{size:"sm"}},{definePartsStyle:il,defineMultiStyleConfig:PC}=T(Kt.keys),bd=V("input-height"),xd=V("input-padding"),Sd=V("input-border-radius"),Id={sm:il({field:{[Sd.variable]:"radii.md"},group:{[Sd.variable]:"radii.md"}}),md:il({field:{[xd.variable]:"space.3",[bd.variable]:"sizes.9"},group:{[xd.variable]:"space.3",[bd.variable]:"sizes.9"}})},Vd=il(e=>({field:{borderColor:"blackAlpha.300",_dark:{borderColor:"whiteAlpha.300"},_hover:{borderColor:"blackAlpha.400",_dark:{borderColor:"whiteAlpha.400"}}}})),ml=PC({defaultProps:{focusBorderColor:"primary.500"},variants:{outline:Vd},sizes:Id}),AC={variants:{horizontal:{mb:0,marginStart:"0.5rem"}}},en=ml,EC=ml,RC={defaultProps:{focusBorderColor:"primary.500"},variants:{outline:Vd},sizes:Id},MC={defaultProps:{focusBorderColor:"primary.500"},variants:{outline:e=>{var t,r;return (r=(t=en.variants)==null?void 0:t.outline(e).field)!=null?r:{}}}},IC=ml,Cd,wd,VC=v(d({},_t),{defaultProps:en.defaultProps,variants:{outline:e=>{var t,r;return d({},(r=(t=en.variants)==null?void 0:t.outline(e))!=null?r:{})},flushed:e=>{var t,r;return (r=(t=_t.variants)==null?void 0:t.flushed(e))!=null?r:{}},filled:e=>{var t,r;return (r=(t=_t.variants)==null?void 0:t.filled(e))!=null?r:{}},unstyled:(wd=(Cd=_t.variants)==null?void 0:Cd.unstyled)!=null?wd:{}},sizes:en.sizes}),OC={defaultProps:{size:"lg"}},NC=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}}),$C={defaultProps:{variant:"solid"},variants:{basic:{opacity:.6},solid:NC}},{definePartsStyle:Od,defineMultiStyleConfig:LC}=T(Ho.keys),DC=Od(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}})),jC=Od(()=>({item:{px:6},groupTitle:{color:"muted",px:3}})),BC=LC({baseStyle:DC,variants:{dialog:jC}}),{definePartsStyle:zC,defineMultiStyleConfig:FC}=T(Go.keys),WC=zC(e=>({closeButton:{top:4,insetEnd:4}})),HC=FC({baseStyle:WC}),{definePartsStyle:GC,defineMultiStyleConfig:UC}=T(Uo.keys),KC=UC({defaultProps:{colorScheme:"primary"},baseStyle:GC(e=>{let{colorScheme:t}=e;return {track:{borderRadius:"md"},filledTrack:{bg:`${t}.500`}}})}),{definePartsStyle:qC,defineMultiStyleConfig:YC}=T(Gs.keys),XC=YC({baseStyle:qC(e=>{let{colorScheme:t}=e;return {control:{_checked:{borderColor:`${t}.500`,bg:`${t}.500`,color:"white"}}}})}),{definePartsStyle:ZC,defineMultiStyleConfig:JC}=T(Us.keys),QC=JC({defaultProps:{colorScheme:"primary"},baseStyle:ZC(e=>{let{colorScheme:t}=e;return {filledTrack:{bg:`${t}.500`}}})}),{definePartsStyle:ew,defineMultiStyleConfig:tw}=T(Ko.keys),rw=tw({baseStyle:ew(e=>{let{colorScheme:t}=e;return {track:{_checked:{bg:`${t}.500`}}}})}),Ai=Ue("tooltip-bg"),kd=Ue("tooltip-fg"),ow=Ue("popper-arrow-bg"),nw=e=>({display:"flex",[Ai.variable]:"colors.white",[kd.variable]:"colors.blackAlpha.900",_dark:{[Ai.variable]:"colors.gray.700",[kd.variable]:"colors.whiteAlpha.900"},px:"8px",py:"2px",bg:[Ai.reference],[ow.variable]:[Ai.reference],borderRadius:"sm",fontWeight:"medium",fontSize:"xs",boxShadow:"md",maxW:"320px",zIndex:"tooltip",borderWidth:"1px"}),iw={baseStyle:nw},Ei=V("stepper-indicator-size"),Jt=V("stepper-accent-color"),Zt=V("stepper-vertical-seperator-offset"),{defineMultiStyleConfig:aw,definePartsStyle:Pt}=T(["container","item","content","stepper","step","title","description","indicator","separator","icon","number"]),sw=Pt(({colorScheme:e})=>({container:{display:"flex",flexDirection:"column",gap:4},item:{w:"full"},content:{["&[data-orientation=vertical]"]:{mt:2,ms:Zt.reference,borderLeftWidth:"1px",ps:6}},stepper:{gap:"2",[Zt.variable]:"10px",[Jt.variable]:`colors.${e}.500`,_dark:{[Jt.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,ms:Zt.reference}},step:{["&[data-orientation=vertical]"]:{alignItems:"center"}}})),lw=Pt(e=>({})),cw=Pt(e=>({indicator:{"&[data-status=active]":{borderWidth:"0",bg:Jt.reference,color:"chakra-inverse-text"},"&[data-status=complete]":{bg:Jt.reference,color:"chakra-inverse-text"},"&[data-status=incomplete]":{borderWidth:"0",bg:"blackAlpha.200",_dark:{bg:"whiteAlpha.200"}}}})),uw=Pt(e=>{let{theme:t,colorScheme:r}=e;return {stepper:{[Jt.variable]:`colors.${r}.100`},indicator:{"&[data-status=active]":{borderWidth:"0",bg:Jt.reference,color:`${r}.500`,_dark:{bg:te(`${r}.200`,.16)(t)}},"&[data-status=complete]":{bg:Jt.reference,color:`${r}.500`,_dark:{bg:te(`${r}.200`,.24)(t),color:`${r}.200`}},"&[data-status=incomplete]":{borderWidth:"0",bg:"blackAlpha.200",color:"blackAlpha.700",_dark:{bg:"whiteAlpha.200",color:"whiteAlpha.600"}}}}}),fw=aw({defaultProps:{variant:"outline",colorScheme:"primary",size:"md"},baseStyle:sw,variants:{outline:lw,solid:cw,subtle:uw},sizes:{xs:Pt({stepper:{[Ei.variable]:"sizes.4",[Zt.variable]:"7px"}}),sm:Pt({stepper:{[Ei.variable]:"sizes.6",[Zt.variable]:"11px"}}),md:Pt({stepper:{[Ei.variable]:"sizes.7",[Zt.variable]:"14px"}}),lg:Pt({stepper:{[Ei.variable]:"sizes.8",[Zt.variable]:"16px"}})}}),{definePartsStyle:dw,defineMultiStyleConfig:mw}=T(el.keys),pw=dw(e=>{let{colorScheme:t}=e;return {icon:{boxSize:[10,null,12],color:`${t}.500`,_dark:{color:`${t}.500`}}}}),hw=mw({baseStyle:pw}),gw=Td(e=>{let{colorScheme:t}=e;return {bar:{bg:`${t}.500`,_dark:{bg:`${t}.500`}}}}),yw=Pd({defaultProps:{colorScheme:"primary"},baseStyle:gw}),{definePartsStyle:g$,defineMultiStyleConfig:vw}=T(tl.keys),bw=vw({baseStyle:{label:{color:"muted",_dark:{color:"muted"}}}}),xw={Alert:sC,Button:hC,Card:SC,Checkbox:_C,CloseButton:TC,Heading:OC,Kbd:$C,Menu:BC,Modal:HC,Progress:KC,Radio:XC,Slider:QC,Switch:rw,Stepper:fw,Tooltip:iw,Input:en,PinInput:RC,FormLabel:AC,NumberInput:EC,Select:IC,Textarea:MC,SuiEmptyState:hw,SuiNProgress:yw,SuiProperty:bw,SuiSelect:VC},tn=react.extendTheme(v(d({},oC),{styles:q1,components:xw}),react.withDefaultColorScheme({colorScheme:"primary",components:["Radio","Switch","Checkbox"]}),ul);var Oi=ht.createContext({transformPagePoint:e=>e,isStatic:!1,reducedMotion:"never"});var At=ht.createContext({});var Et=ht.createContext(null);var Rt=typeof document!="undefined";var Nr=Rt?ht.useLayoutEffect:ht.useEffect;var Ni=ht.createContext({strict:!1});function $d(e,t,r,o){let{visualElement:n}=ht.useContext(At),i=ht.useContext(Ni),a=ht.useContext(Et),s=ht.useContext(Oi).reducedMotion,l=ht.useRef();o=o||i.renderer,!l.current&&o&&(l.current=o(e,{visualState:t,parent:n,props:r,presenceContext:a,blockInitialAnimation:a?a.initial===!1:!1,reducedMotionConfig:s}));let c=l.current;ht.useInsertionEffect(()=>{c&&c.update(r,a);});let u=ht.useRef(!!window.HandoffAppearAnimations);return Nr(()=>{c&&(c.render(),u.current&&c.animationState&&c.animationState.animateChanges());}),ht.useEffect(()=>{c&&(c.updateFeatures(),!u.current&&c.animationState&&c.animationState.animateChanges(),window.HandoffAppearAnimations=void 0,u.current=!1);}),c}function ut(e){return typeof e=="object"&&Object.prototype.hasOwnProperty.call(e,"current")}function Ld(e,t,r){return ht.useCallback(o=>{o&&e.mount&&e.mount(o),t&&(o?t.mount(o):t.unmount()),r&&(typeof r=="function"?r(o):ut(r)&&(r.current=o));},[t])}function ft(e){return typeof e=="string"||Array.isArray(e)}function Mt(e){return typeof e=="object"&&typeof e.start=="function"}var Li=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],rn=["initial",...Li];function Qt(e){return Mt(e.animate)||rn.some(t=>ft(e[t]))}function Di(e){return !!(Qt(e)||e.variants)}function Dd(e,t){if(Qt(e)){let{initial:r,animate:o}=e;return {initial:r===!1||ft(r)?r:void 0,animate:ft(o)?o:void 0}}return e.inherit!==!1?t:{}}function Bd(e){let{initial:t,animate:r}=Dd(e,ht.useContext(At));return ht.useMemo(()=>({initial:t,animate:r}),[jd(t),jd(r)])}function jd(e){return Array.isArray(e)?e.join(" "):e}var zd={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"]},er={};for(let e in zd)er[e]={isEnabled:t=>zd[e].some(r=>!!t[r])};function Fd(e){for(let t in e)er[t]=d(d({},er[t]),e[t]);}var $r=ht.createContext({});var ji=ht.createContext({});var Wd=Symbol.for("motionComponentSymbol");function Hd({preloadedFeatures:e,createVisualElement:t,useRender:r,useVisualState:o,Component:n}){e&&Fd(e);function i(s,l){let c,u=v(d(d({},ht.useContext(Oi)),s),{layoutId:Nw(s)}),{isStatic:f}=u,m=Bd(s),p=o(s,f);if(!f&&Rt){m.visualElement=$d(n,p,u,t);let g=ht.useContext(ji),y=ht.useContext(Ni).strict;m.visualElement&&(c=m.visualElement.loadFeatures(u,y,e,g));}return ht__namespace.createElement(At.Provider,{value:m},c&&m.visualElement?ht__namespace.createElement(c,d({visualElement:m.visualElement},u)):null,r(n,s,Ld(p,m.visualElement,l),p,f,m.visualElement))}let a=ht.forwardRef(i);return a[Wd]=n,a}function Nw({layoutId:e}){let t=ht.useContext($r).id;return t&&e!==void 0?t+"-"+e:e}function Gd(e){function t(o,n={}){return Hd(e(o,n))}if(typeof Proxy=="undefined")return t;let r=new Map;return new Proxy(t,{get:(o,n)=>(r.has(n)||r.set(n,t(n)),r.get(n))})}var Ud=["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 Lr(e){return typeof e!="string"||e.includes("-")?!1:!!(Ud.indexOf(e)>-1||/[A-Z]/.test(e))}var Dr={};function Kd(e){Object.assign(Dr,e);}var It=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],Te=new Set(It);function zi(e,{layout:t,layoutId:r}){return Te.has(e)||e.startsWith("origin")||(t||r!==void 0)&&(!!Dr[e]||e==="opacity")}var X=e=>!!(e&&e.getVelocity);var $w={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},Lw=It.length;function qd(e,{enableHardwareAcceleration:t=!0,allowTransformNone:r=!0},o,n){let i="";for(let a=0;a<Lw;a++){let s=It[a];if(e[s]!==void 0){let l=$w[s]||s;i+=`${l}(${e[s]}) `;}}return t&&!e.z&&(i+="translateZ(0)"),i=i.trim(),n?i=n(e,o?"":i):r&&o&&(i="none"),i}var Yd=e=>t=>typeof t=="string"&&t.startsWith(e),Fi=Yd("--"),Wi=Yd("var(--"),Xd=/var\s*\(\s*--[\w-]+(\s*,\s*(?:(?:[^)(]|\((?:[^)(]+|\([^)(]*\))*\))*)+)?\s*\)/g;var Zd=(e,t)=>t&&typeof e=="number"?t.transform(e):e;var Ce=(e,t,r)=>Math.min(Math.max(r,e),t);var Fe={test:e=>typeof e=="number",parse:parseFloat,transform:e=>e},Vt=v(d({},Fe),{transform:e=>Ce(0,1,e)}),on=v(d({},Fe),{default:1});var Ot=e=>Math.round(e*1e5)/1e5,tr=/(-)?([\d]*\.?[\d])+/g,hl=/(#[0-9a-f]{3,8}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2}(-?[\d\.]+%?)\s*[\,\/]?\s*[\d\.]*%?\))/gi,Jd=/^(#[0-9a-f]{3,8}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2}(-?[\d\.]+%?)\s*[\,\/]?\s*[\d\.]*%?\))$/i;function dt(e){return typeof e=="string"}var nn=e=>({test:t=>dt(t)&&t.endsWith(e)&&t.split(" ").length===1,parse:parseFloat,transform:t=>`${t}${e}`}),Je=nn("deg"),we=nn("%"),R=nn("px"),Qd=nn("vh"),em=nn("vw"),gl=v(d({},we),{parse:e=>we.parse(e)/100,transform:e=>we.transform(e*100)});var yl=v(d({},Fe),{transform:Math.round});var Hi={borderWidth:R,borderTopWidth:R,borderRightWidth:R,borderBottomWidth:R,borderLeftWidth:R,borderRadius:R,radius:R,borderTopLeftRadius:R,borderTopRightRadius:R,borderBottomRightRadius:R,borderBottomLeftRadius:R,width:R,maxWidth:R,height:R,maxHeight:R,size:R,top:R,right:R,bottom:R,left:R,padding:R,paddingTop:R,paddingRight:R,paddingBottom:R,paddingLeft:R,margin:R,marginTop:R,marginRight:R,marginBottom:R,marginLeft:R,rotate:Je,rotateX:Je,rotateY:Je,rotateZ:Je,scale:on,scaleX:on,scaleY:on,scaleZ:on,skew:Je,skewX:Je,skewY:Je,distance:R,translateX:R,translateY:R,translateZ:R,x:R,y:R,z:R,perspective:R,transformPerspective:R,opacity:Vt,originX:gl,originY:gl,originZ:R,zIndex:yl,fillOpacity:Vt,strokeOpacity:Vt,numOctaves:yl};function jr(e,t,r,o){let{style:n,vars:i,transform:a,transformOrigin:s}=e,l=!1,c=!1,u=!0;for(let f in t){let m=t[f];if(Fi(f)){i[f]=m;continue}let p=Hi[f],g=Zd(m,p);if(Te.has(f)){if(l=!0,a[f]=g,!u)continue;m!==(p.default||0)&&(u=!1);}else f.startsWith("origin")?(c=!0,s[f]=g):n[f]=g;}if(t.transform||(l||o?n.transform=qd(e.transform,r,u,o):n.transform&&(n.transform="none")),c){let{originX:f="50%",originY:m="50%",originZ:p=0}=s;n.transformOrigin=`${f} ${m} ${p}`;}}var Br=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function vl(e,t,r){for(let o in t)!X(t[o])&&!zi(o,r)&&(e[o]=t[o]);}function jw({transformTemplate:e},t,r){return ht.useMemo(()=>{let o=Br();return jr(o,t,{enableHardwareAcceleration:!r},e),Object.assign({},o.vars,o.style)},[t])}function Bw(e,t,r){let o=e.style||{},n={};return vl(n,o,e),Object.assign(n,jw(e,t,r)),e.transformValues?e.transformValues(n):n}function tm(e,t,r){let o={},n=Bw(e,t,r);return e.drag&&e.dragListener!==!1&&(o.draggable=!1,n.userSelect=n.WebkitUserSelect=n.WebkitTouchCallout="none",n.touchAction=e.drag===!0?"none":`pan-${e.drag==="x"?"y":"x"}`),e.tabIndex===void 0&&(e.onTap||e.onTapStart||e.whileTap)&&(o.tabIndex=0),o.style=n,o}var zw=new Set(["animate","exit","variants","initial","style","values","variants","transition","transformTemplate","transformValues","custom","inherit","onLayoutAnimationStart","onLayoutAnimationComplete","onLayoutMeasure","onBeforeLayoutMeasure","onAnimationStart","onAnimationComplete","onUpdate","onDragStart","onDrag","onDragEnd","onMeasureDragConstraints","onDirectionLock","onDragTransitionEnd","_dragX","_dragY","onHoverStart","onHoverEnd","onViewportEnter","onViewportLeave","ignoreStrict","viewport"]);function an(e){return e.startsWith("while")||e.startsWith("drag")&&e!=="draggable"||e.startsWith("layout")||e.startsWith("onTap")||e.startsWith("onPan")||zw.has(e)}var am=e=>!an(e);function Uw(e){e&&(am=t=>t.startsWith("on")?!an(t):e(t));}try{Uw((im(),Vy(nm)).default);}catch(e){}function sm(e,t,r){let o={};for(let n in e)n==="values"&&typeof e.values=="object"||(am(n)||r===!0&&an(n)||!t&&!an(n)||e.draggable&&n.startsWith("onDrag"))&&(o[n]=e[n]);return o}function lm(e,t,r){return typeof e=="string"?e:R.transform(t+r*e)}function cm(e,t,r){let o=lm(t,e.x,e.width),n=lm(r,e.y,e.height);return `${o} ${n}`}var Kw={offset:"stroke-dashoffset",array:"stroke-dasharray"},qw={offset:"strokeDashoffset",array:"strokeDasharray"};function um(e,t,r=1,o=0,n=!0){e.pathLength=1;let i=n?Kw:qw;e[i.offset]=R.transform(-o);let a=R.transform(t),s=R.transform(r);e[i.array]=`${a} ${s}`;}function zr(e,p,u,f,m){var g=p,{attrX:t,attrY:r,attrScale:o,originX:n,originY:i,pathLength:a,pathSpacing:s=1,pathOffset:l=0}=g,c=k(g,["attrX","attrY","attrScale","originX","originY","pathLength","pathSpacing","pathOffset"]);if(jr(e,c,u,m),f){e.style.viewBox&&(e.attrs.viewBox=e.style.viewBox);return}e.attrs=e.style,e.style={};let{attrs:y,style:b,dimensions:x}=e;y.transform&&(x&&(b.transform=y.transform),delete y.transform),x&&(n!==void 0||i!==void 0||b.transform)&&(b.transformOrigin=cm(x,n!==void 0?n:.5,i!==void 0?i:.5)),t!==void 0&&(y.x=t),r!==void 0&&(y.y=r),o!==void 0&&(y.scale=o),a!==void 0&&um(y,a,s,l,!1);}var Gi=()=>v(d({},Br()),{attrs:{}});var Fr=e=>typeof e=="string"&&e.toLowerCase()==="svg";function fm(e,t,r,o){let n=ht.useMemo(()=>{let i=Gi();return zr(i,t,{enableHardwareAcceleration:!1},Fr(o),e.transformTemplate),v(d({},i.attrs),{style:d({},i.style)})},[t]);if(e.style){let i={};vl(i,e.style,e),n.style=d(d({},i),n.style);}return n}function dm(e=!1){return (r,o,n,{latestValues:i},a)=>{let l=(Lr(r)?fm:tm)(o,i,a,r),c=sm(o,typeof r=="string",e),u=v(d(d({},c),l),{ref:n}),{children:f}=o,m=ht.useMemo(()=>X(f)?f.get():f,[f]);return ht.createElement(r,v(d({},u),{children:m}))}}var Wr=e=>e.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase();function Ui(e,{style:t,vars:r},o,n){Object.assign(e.style,t,n&&n.getProjectionStyles(o));for(let i in r)e.style.setProperty(i,r[i]);}var Ki=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 qi(e,t,r,o){Ui(e,t,void 0,o);for(let n in t.attrs)e.setAttribute(Ki.has(n)?n:Wr(n),t.attrs[n]);}function Hr(e,t){let{style:r}=e,o={};for(let n in r)(X(r[n])||t.style&&X(t.style[n])||zi(n,e))&&(o[n]=r[n]);return o}function Yi(e,t){let r=Hr(e,t);for(let o in e)if(X(e[o])||X(t[o])){let n=It.indexOf(o)!==-1?"attr"+o.charAt(0).toUpperCase()+o.substring(1):o;r[n]=e[o];}return r}function Gr(e,t,r,o={},n={}){return typeof t=="function"&&(t=t(r!==void 0?r:e.custom,o,n)),typeof t=="string"&&(t=e.variants&&e.variants[t]),typeof t=="function"&&(t=t(r!==void 0?r:e.custom,o,n)),t}function Xi(e){let t=ht.useRef(null);return t.current===null&&(t.current=e()),t.current}var rr=e=>Array.isArray(e);var mm=e=>!!(e&&typeof e=="object"&&e.mix&&e.toValue),pm=e=>rr(e)?e[e.length-1]||0:e;function Ur(e){let t=X(e)?e.get():e;return mm(t)?t.toValue():t}function Qw({scrapeMotionValuesFromProps:e,createRenderState:t,onMount:r},o,n,i){let a={latestValues:ek(o,n,i,e),renderState:t()};return r&&(a.mount=s=>r(o,s,a)),a}var Zi=e=>(t,r)=>{let o=ht.useContext(At),n=ht.useContext(Et),i=()=>Qw(e,t,o,n);return r?i():Xi(i)};function ek(e,t,r,o){let n={},i=o(e,{});for(let m in i)n[m]=Ur(i[m]);let{initial:a,animate:s}=e,l=Qt(e),c=Di(e);t&&c&&!l&&e.inherit!==!1&&(a===void 0&&(a=t.initial),s===void 0&&(s=t.animate));let u=r?r.initial===!1:!1;u=u||a===!1;let f=u?s:a;return f&&typeof f!="boolean"&&!Mt(f)&&(Array.isArray(f)?f:[f]).forEach(p=>{let g=Gr(e,p);if(!g)return;let S=g,{transitionEnd:y,transition:b}=S,x=k(S,["transitionEnd","transition"]);for(let C in x){let w=x[C];if(Array.isArray(w)){let P=u?w.length-1:0;w=w[P];}w!==null&&(n[C]=w);}for(let C in y)n[C]=y[C];}),n}var L=e=>e;var Ji=class{constructor(){this.order=[],this.scheduled=new Set;}add(t){if(!this.scheduled.has(t))return this.scheduled.add(t),this.order.push(t),!0}remove(t){let r=this.order.indexOf(t);r!==-1&&(this.order.splice(r,1),this.scheduled.delete(t));}clear(){this.order.length=0,this.scheduled.clear();}};function gm(e){let t=new Ji,r=new Ji,o=0,n=!1,i=!1,a=new WeakSet,s={schedule:(l,c=!1,u=!1)=>{let f=u&&n,m=f?t:r;return c&&a.add(l),m.add(l)&&f&&n&&(o=t.order.length),l},cancel:l=>{r.remove(l),a.delete(l);},process:l=>{if(n){i=!0;return}if(n=!0,[t,r]=[r,t],r.clear(),o=t.order.length,o)for(let c=0;c<o;c++){let u=t.order[c];u(l),a.has(u)&&(s.schedule(u),e());}n=!1,i&&(i=!1,s.process(l));}};return s}var Qi=["prepare","read","update","preRender","render","postRender"],tk=40;function ym(e,t){let r=!1,o=!0,n={delta:0,timestamp:0,isProcessing:!1},i=Qi.reduce((f,m)=>(f[m]=gm(()=>r=!0),f),{}),a=f=>i[f].process(n),s=()=>{let f=performance.now();r=!1,n.delta=o?1e3/60:Math.max(Math.min(f-n.timestamp,tk),1),n.timestamp=f,n.isProcessing=!0,Qi.forEach(a),n.isProcessing=!1,r&&t&&(o=!1,e(s));},l=()=>{r=!0,o=!0,n.isProcessing||e(s);};return {schedule:Qi.reduce((f,m)=>{let p=i[m];return f[m]=(g,y=!1,b=!1)=>(r||l(),p.schedule(g,y,b)),f},{}),cancel:f=>Qi.forEach(m=>i[m].cancel(f)),state:n,steps:i}}var{schedule:N,cancel:ke,state:Q,steps:ea}=ym(typeof requestAnimationFrame!="undefined"?requestAnimationFrame:L,!0);var vm={useVisualState:Zi({scrapeMotionValuesFromProps:Yi,createRenderState:Gi,onMount:(e,t,{renderState:r,latestValues:o})=>{N.read(()=>{try{r.dimensions=typeof t.getBBox=="function"?t.getBBox():t.getBoundingClientRect();}catch(n){r.dimensions={x:0,y:0,width:0,height:0};}}),N.render(()=>{zr(r,o,{enableHardwareAcceleration:!1},Fr(t.tagName),e.transformTemplate),qi(t,r);});}})};var bm={useVisualState:Zi({scrapeMotionValuesFromProps:Hr,createRenderState:Br})};function xm(e,{forwardMotionProps:t=!1},r,o){let n=Lr(e)?vm:bm;return v(d({},n),{preloadedFeatures:r,useRender:dm(t),createVisualElement:o,Component:e})}function Pe(e,t,r,o={passive:!0}){return e.addEventListener(t,r,o),()=>e.removeEventListener(t,r)}var ta=e=>e.pointerType==="mouse"?typeof e.button!="number"||e.button<=0:e.isPrimary!==!1;function or(e,t="page"){return {point:{x:e[t+"X"],y:e[t+"Y"]}}}var Sm=e=>t=>ta(t)&&e(t,or(t));function Ae(e,t,r,o){return Pe(e,t,Sm(r),o)}var rk=(e,t)=>r=>t(e(r)),Ee=(...e)=>e.reduce(rk);function km(e){let t=null;return ()=>{let r=()=>{t=null;};return t===null?(t=e,r):!1}}var Cm=km("dragHorizontal"),wm=km("dragVertical");function bl(e){let t=!1;if(e==="y")t=wm();else if(e==="x")t=Cm();else {let r=Cm(),o=wm();r&&o?t=()=>{r(),o();}:(r&&r(),o&&o());}return t}function ra(){let e=bl(!0);return e?(e(),!1):!0}var le=class{constructor(t){this.isMounted=!1,this.node=t;}update(){}};function _m(e,t){let r="pointer"+(t?"enter":"leave"),o="onHover"+(t?"Start":"End"),n=(i,a)=>{if(i.type==="touch"||ra())return;let s=e.getProps();e.animationState&&s.whileHover&&e.animationState.setActive("whileHover",t),s[o]&&N.update(()=>s[o](i,a));};return Ae(e.current,r,n,{passive:!e.getProps()[o]})}var oa=class extends le{mount(){this.unmount=Ee(_m(this.node,!0),_m(this.node,!1));}unmount(){}};var na=class extends le{constructor(){super(...arguments),this.isActive=!1;}onFocus(){let t=!1;try{t=this.node.current.matches(":focus-visible");}catch(r){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=Ee(Pe(this.node.current,"focus",()=>this.onFocus()),Pe(this.node.current,"blur",()=>this.onBlur()));}unmount(){}};var xl=(e,t)=>t?e===t?!0:xl(e,t.parentElement):!1;function Sl(e,t){if(!t)return;let r=new PointerEvent("pointer"+e);t(r,or(r));}var ia=class extends le{constructor(){super(...arguments),this.removeStartListeners=L,this.removeEndListeners=L,this.removeAccessibleListeners=L,this.startPointerPress=(t,r)=>{if(this.removeEndListeners(),this.isPressing)return;let o=this.node.getProps(),i=Ae(window,"pointerup",(s,l)=>{if(!this.checkPressEnd())return;let{onTap:c,onTapCancel:u}=this.node.getProps();N.update(()=>{xl(this.node.current,s.target)?c&&c(s,l):u&&u(s,l);});},{passive:!(o.onTap||o.onPointerUp)}),a=Ae(window,"pointercancel",(s,l)=>this.cancelPress(s,l),{passive:!(o.onTapCancel||o.onPointerCancel)});this.removeEndListeners=Ee(i,a),this.startPress(t,r);},this.startAccessiblePress=()=>{let t=i=>{if(i.key!=="Enter"||this.isPressing)return;let a=s=>{s.key!=="Enter"||!this.checkPressEnd()||Sl("up",(l,c)=>{let{onTap:u}=this.node.getProps();u&&N.update(()=>u(l,c));});};this.removeEndListeners(),this.removeEndListeners=Pe(this.node.current,"keyup",a),Sl("down",(s,l)=>{this.startPress(s,l);});},r=Pe(this.node.current,"keydown",t),o=()=>{this.isPressing&&Sl("cancel",(i,a)=>this.cancelPress(i,a));},n=Pe(this.node.current,"blur",o);this.removeAccessibleListeners=Ee(r,n);};}startPress(t,r){this.isPressing=!0;let{onTapStart:o,whileTap:n}=this.node.getProps();n&&this.node.animationState&&this.node.animationState.setActive("whileTap",!0),o&&N.update(()=>o(t,r));}checkPressEnd(){return this.removeEndListeners(),this.isPressing=!1,this.node.getProps().whileTap&&this.node.animationState&&this.node.animationState.setActive("whileTap",!1),!ra()}cancelPress(t,r){if(!this.checkPressEnd())return;let{onTapCancel:o}=this.node.getProps();o&&N.update(()=>o(t,r));}mount(){let t=this.node.getProps(),r=Ae(this.node.current,"pointerdown",this.startPointerPress,{passive:!(t.onTapStart||t.onPointerStart)}),o=Pe(this.node.current,"focus",this.startAccessiblePress);this.removeStartListeners=Ee(r,o);}unmount(){this.removeStartListeners(),this.removeEndListeners(),this.removeAccessibleListeners();}};var wl=new WeakMap,Cl=new WeakMap,ok=e=>{let t=wl.get(e.target);t&&t(e);},nk=e=>{e.forEach(ok);};function ik(r){var o=r,{root:e}=o,t=k(o,["root"]);let n=e||document;Cl.has(n)||Cl.set(n,{});let i=Cl.get(n),a=JSON.stringify(t);return i[a]||(i[a]=new IntersectionObserver(nk,d({root:e},t))),i[a]}function Tm(e,t,r){let o=ik(t);return wl.set(e,r),o.observe(e),()=>{wl.delete(e),o.unobserve(e);}}var ak={some:0,all:1},aa=class extends le{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1;}startObserver(){this.unmount();let{viewport:t={}}=this.node.getProps(),{root:r,margin:o,amount:n="some",once:i}=t,a={root:r?r.current:void 0,rootMargin:o,threshold:typeof n=="number"?n:ak[n]},s=l=>{let{isIntersecting:c}=l;if(this.isInView===c||(this.isInView=c,i&&!c&&this.hasEnteredView))return;c&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",c);let{onViewportEnter:u,onViewportLeave:f}=this.node.getProps(),m=c?u:f;m&&m(l);};return Tm(this.node.current,a,s)}mount(){this.startObserver();}update(){if(typeof IntersectionObserver=="undefined")return;let{props:t,prevProps:r}=this.node;["amount","margin","root"].some(sk(t,r))&&this.startObserver();}unmount(){}};function sk({viewport:e={}},{viewport:t={}}={}){return r=>e[r]!==t[r]}var Pm={inView:{Feature:aa},tap:{Feature:ia},focus:{Feature:na},hover:{Feature:oa}};function kl(e,t){if(!Array.isArray(t))return !1;let r=t.length;if(r!==e.length)return !1;for(let o=0;o<r;o++)if(t[o]!==e[o])return !1;return !0}function lk(e){let t={};return e.values.forEach((r,o)=>t[o]=r.get()),t}function ck(e){let t={};return e.values.forEach((r,o)=>t[o]=r.getVelocity()),t}function Nt(e,t,r){let o=e.getProps();return Gr(o,t,r!==void 0?r:o.custom,lk(e),ck(e))}var uk="framerAppearId",Am="data-"+Wr(uk);var ge=L;var Ne=e=>e*1e3,Re=e=>e/1e3;var _l={current:!1};var Tl=e=>Array.isArray(e)&&typeof e[0]=="number";function Pl(e){return !!(!e||typeof e=="string"&&Em[e]||Tl(e)||Array.isArray(e)&&e.every(Pl))}var sn=([e,t,r,o])=>`cubic-bezier(${e}, ${t}, ${r}, ${o})`,Em={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:sn([0,.65,.55,1]),circOut:sn([.55,0,1,.45]),backIn:sn([.31,.01,.66,-.59]),backOut:sn([.33,1.53,.69,.99])};function Al(e){if(e)return Tl(e)?sn(e):Array.isArray(e)?e.map(Al):Em[e]}function Rm(e,t,r,{delay:o=0,duration:n,repeat:i=0,repeatType:a="loop",ease:s,times:l}={}){let c={[t]:r};l&&(c.offset=l);let u=Al(s);return Array.isArray(u)&&(c.easing=u),e.animate(c,{delay:o,duration:n,easing:Array.isArray(u)?"linear":u,fill:"both",iterations:i+1,direction:a==="reverse"?"alternate":"normal"})}function Mm(e,{repeat:t,repeatType:r="loop"}){let o=t&&r!=="loop"&&t%2===1?0:e.length-1;return e[o]}var Im=(e,t,r)=>(((1-3*r+3*t)*e+(3*r-6*t))*e+3*t)*e,fk=1e-7,dk=12;function mk(e,t,r,o,n){let i,a,s=0;do a=t+(r-t)/2,i=Im(a,o,n)-e,i>0?r=a:t=a;while(Math.abs(i)>fk&&++s<dk);return a}function $t(e,t,r,o){if(e===t&&r===o)return L;let n=i=>mk(i,0,1,e,r);return i=>i===0||i===1?i:Im(n(i),t,o)}var Vm=$t(.42,0,1,1),Om=$t(0,0,.58,1),sa=$t(.42,0,.58,1);var Nm=e=>Array.isArray(e)&&typeof e[0]!="number";var la=e=>t=>t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2;var ca=e=>t=>1-e(1-t);var El=e=>1-Math.sin(Math.acos(e)),ln=ca(El),$m=la(ln);var Rl=$t(.33,1.53,.69,.99),cn=ca(Rl),Lm=la(cn);var Dm=e=>(e*=2)<1?.5*cn(e):.5*(2-Math.pow(2,-10*(e-1)));var jm={linear:L,easeIn:Vm,easeInOut:sa,easeOut:Om,circIn:El,circInOut:$m,circOut:ln,backIn:cn,backInOut:Lm,backOut:Rl,anticipate:Dm},Ml=e=>{if(Array.isArray(e)){ge(e.length===4);let[t,r,o,n]=e;return $t(t,r,o,n)}else if(typeof e=="string")return jm[e];return e};var qr=(e,t)=>r=>!!(dt(r)&&Jd.test(r)&&r.startsWith(e)||t&&Object.prototype.hasOwnProperty.call(r,t)),ua=(e,t,r)=>o=>{if(!dt(o))return o;let[n,i,a,s]=o.match(tr);return {[e]:parseFloat(n),[t]:parseFloat(i),[r]:parseFloat(a),alpha:s!==void 0?parseFloat(s):1}};var pk=e=>Ce(0,255,e),Il=v(d({},Fe),{transform:e=>Math.round(pk(e))}),Qe={test:qr("rgb","red"),parse:ua("red","green","blue"),transform:({red:e,green:t,blue:r,alpha:o=1})=>"rgba("+Il.transform(e)+", "+Il.transform(t)+", "+Il.transform(r)+", "+Ot(Vt.transform(o))+")"};function hk(e){let t="",r="",o="",n="";return e.length>5?(t=e.substring(1,3),r=e.substring(3,5),o=e.substring(5,7),n=e.substring(7,9)):(t=e.substring(1,2),r=e.substring(2,3),o=e.substring(3,4),n=e.substring(4,5),t+=t,r+=r,o+=o,n+=n),{red:parseInt(t,16),green:parseInt(r,16),blue:parseInt(o,16),alpha:n?parseInt(n,16)/255:1}}var un={test:qr("#"),parse:hk,transform:Qe.transform};var Lt={test:qr("hsl","hue"),parse:ua("hue","saturation","lightness"),transform:({hue:e,saturation:t,lightness:r,alpha:o=1})=>"hsla("+Math.round(e)+", "+we.transform(Ot(t))+", "+we.transform(Ot(r))+", "+Ot(Vt.transform(o))+")"};var ne={test:e=>Qe.test(e)||un.test(e)||Lt.test(e),parse:e=>Qe.test(e)?Qe.parse(e):Lt.test(e)?Lt.parse(e):un.parse(e),transform:e=>dt(e)?e:e.hasOwnProperty("red")?Qe.transform(e):Lt.transform(e)};var D=(e,t,r)=>-r*e+r*t+e;function Vl(e,t,r){return r<0&&(r+=1),r>1&&(r-=1),r<1/6?e+(t-e)*6*r:r<1/2?t:r<2/3?e+(t-e)*(2/3-r)*6:e}function Bm({hue:e,saturation:t,lightness:r,alpha:o}){e/=360,t/=100,r/=100;let n=0,i=0,a=0;if(!t)n=i=a=r;else {let s=r<.5?r*(1+t):r+t-r*t,l=2*r-s;n=Vl(l,s,e+1/3),i=Vl(l,s,e),a=Vl(l,s,e-1/3);}return {red:Math.round(n*255),green:Math.round(i*255),blue:Math.round(a*255),alpha:o}}var Ol=(e,t,r)=>{let o=e*e;return Math.sqrt(Math.max(0,r*(t*t-o)+o))},gk=[un,Qe,Lt],yk=e=>gk.find(t=>t.test(e));function zm(e){let t=yk(e);let r=t.parse(e);return t===Lt&&(r=Bm(r)),r}var fa=(e,t)=>{let r=zm(e),o=zm(t),n=d({},r);return i=>(n.red=Ol(r.red,o.red,i),n.green=Ol(r.green,o.green,i),n.blue=Ol(r.blue,o.blue,i),n.alpha=D(r.alpha,o.alpha,i),Qe.transform(n))};function vk(e){var t,r;return isNaN(e)&&dt(e)&&(((t=e.match(tr))===null||t===void 0?void 0:t.length)||0)+(((r=e.match(hl))===null||r===void 0?void 0:r.length)||0)>0}var Fm={regex:Xd,countKey:"Vars",token:"${v}",parse:L},Wm={regex:hl,countKey:"Colors",token:"${c}",parse:ne.parse},Hm={regex:tr,countKey:"Numbers",token:"${n}",parse:Fe.parse};function Nl(e,{regex:t,countKey:r,token:o,parse:n}){let i=e.tokenised.match(t);i&&(e["num"+r]=i.length,e.tokenised=e.tokenised.replace(t,o),e.values.push(...i.map(n)));}function fn(e){let t=e.toString(),r={value:t,tokenised:t,values:[],numVars:0,numColors:0,numNumbers:0};return r.value.includes("var(--")&&Nl(r,Fm),Nl(r,Wm),Nl(r,Hm),r}function Gm(e){return fn(e).values}function Um(e){let{values:t,numColors:r,numVars:o,tokenised:n}=fn(e),i=t.length;return a=>{let s=n;for(let l=0;l<i;l++)l<o?s=s.replace(Fm.token,a[l]):l<o+r?s=s.replace(Wm.token,ne.transform(a[l])):s=s.replace(Hm.token,Ot(a[l]));return s}}var bk=e=>typeof e=="number"?0:e;function xk(e){let t=Gm(e);return Um(e)(t.map(bk))}var _e={test:vk,parse:Gm,createTransformer:Um,getAnimatableNone:xk};var Km=(e,t)=>r=>`${r>0?t:e}`;function qm(e,t){return typeof e=="number"?r=>D(e,t,r):ne.test(e)?fa(e,t):e.startsWith("var(")?Km(e,t):Ll(e,t)}var $l=(e,t)=>{let r=[...e],o=r.length,n=e.map((i,a)=>qm(i,t[a]));return i=>{for(let a=0;a<o;a++)r[a]=n[a](i);return r}},Ym=(e,t)=>{let r=d(d({},e),t),o={};for(let n in r)e[n]!==void 0&&t[n]!==void 0&&(o[n]=qm(e[n],t[n]));return n=>{for(let i in o)r[i]=o[i](n);return r}},Ll=(e,t)=>{let r=_e.createTransformer(t),o=fn(e),n=fn(t);return o.numVars===n.numVars&&o.numColors===n.numColors&&o.numNumbers>=n.numNumbers?Ee($l(o.values,n.values),r):(Km(e,t))};var mt=(e,t,r)=>{let o=t-e;return o===0?1:(r-e)/o};var Xm=(e,t)=>r=>D(e,t,r);function Sk(e){return typeof e=="number"?Xm:typeof e=="string"?ne.test(e)?fa:Ll:Array.isArray(e)?$l:typeof e=="object"?Ym:Xm}function Ck(e,t,r){let o=[],n=r||Sk(e[0]),i=e.length-1;for(let a=0;a<i;a++){let s=n(e[a],e[a+1]);if(t){let l=Array.isArray(t)?t[a]||L:t;s=Ee(l,s);}o.push(s);}return o}function da(e,t,{clamp:r=!0,ease:o,mixer:n}={}){let i=e.length;if(ge(i===t.length),i===1)return ()=>t[0];e[0]>e[i-1]&&(e=[...e].reverse(),t=[...t].reverse());let a=Ck(t,o,n),s=a.length,l=c=>{let u=0;if(s>1)for(;u<e.length-2&&!(c<e[u+1]);u++);let f=mt(e[u],e[u+1],c);return a[u](f)};return r?c=>l(Ce(e[0],e[i-1],c)):l}function Zm(e,t){let r=e[e.length-1];for(let o=1;o<=t;o++){let n=mt(0,t,o);e.push(D(r,1,n));}}function Jm(e){let t=[0];return Zm(t,e.length-1),t}function Qm(e,t){return e.map(r=>r*t)}function wk(e,t){return e.map(()=>t||sa).splice(0,e.length-1)}function dn({duration:e=300,keyframes:t,times:r,ease:o="easeInOut"}){let n=Nm(o)?o.map(Ml):Ml(o),i={done:!1,value:t[0]},a=Qm(r&&r.length===t.length?r:Jm(t),e),s=da(a,t,{ease:Array.isArray(n)?n:wk(t,n)});return {calculatedDuration:e,next:l=>(i.value=s(l),i.done=l>=e,i)}}function ma(e,t){return t?e*(1e3/t):0}var kk=5;function pa(e,t,r){let o=Math.max(t-kk,0);return ma(r-e(o),t-o)}var Dl=.001,_k=.01,ep=10,Tk=.05,Pk=1;function tp({duration:e=800,bounce:t=.25,velocity:r=0,mass:o=1}){let n,i;let a=1-t;a=Ce(Tk,Pk,a),e=Ce(_k,ep,Re(e)),a<1?(n=c=>{let u=c*a,f=u*e,m=u-r,p=ha(c,a),g=Math.exp(-f);return Dl-m/p*g},i=c=>{let f=c*a*e,m=f*r+r,p=Math.pow(a,2)*Math.pow(c,2)*e,g=Math.exp(-f),y=ha(Math.pow(c,2),a);return (-n(c)+Dl>0?-1:1)*((m-p)*g)/y}):(n=c=>{let u=Math.exp(-c*e),f=(c-r)*e+1;return -Dl+u*f},i=c=>{let u=Math.exp(-c*e),f=(r-c)*(e*e);return u*f});let s=5/e,l=Ek(n,i,s);if(e=Ne(e),isNaN(l))return {stiffness:100,damping:10,duration:e};{let c=Math.pow(l,2)*o;return {stiffness:c,damping:a*2*Math.sqrt(o*c),duration:e}}}var Ak=12;function Ek(e,t,r){let o=r;for(let n=1;n<Ak;n++)o=o-e(o)/t(o);return o}function ha(e,t){return e*Math.sqrt(1-t*t)}var Rk=["duration","bounce"],Mk=["stiffness","damping","mass"];function rp(e,t){return t.some(r=>e[r]!==void 0)}function Ik(e){let t=d({velocity:0,stiffness:100,damping:10,mass:1,isResolvedFromDuration:!1},e);if(!rp(e,Mk)&&rp(e,Rk)){let r=tp(e);t=v(d(d({},t),r),{velocity:0,mass:1}),t.isResolvedFromDuration=!0;}return t}function ga(n){var i=n,{keyframes:e,restDelta:t,restSpeed:r}=i,o=k(i,["keyframes","restDelta","restSpeed"]);let a=e[0],s=e[e.length-1],l={done:!1,value:a},{stiffness:c,damping:u,mass:f,velocity:m,duration:p,isResolvedFromDuration:g}=Ik(o),y=m?-Re(m):0,b=u/(2*Math.sqrt(c*f)),x=s-a,S=Re(Math.sqrt(c/f)),C=Math.abs(x)<5;r||(r=C?.01:2),t||(t=C?.005:.5);let w;if(b<1){let P=ha(S,b);w=E=>{let A=Math.exp(-b*S*E);return s-A*((y+b*S*x)/P*Math.sin(P*E)+x*Math.cos(P*E))};}else if(b===1)w=P=>s-Math.exp(-S*P)*(x+(y+S*x)*P);else {let P=S*Math.sqrt(b*b-1);w=E=>{let A=Math.exp(-b*S*E),M=Math.min(P*E,300);return s-A*((y+b*S*x)*Math.sinh(M)+P*x*Math.cosh(M))/P};}return {calculatedDuration:g&&p||null,next:P=>{let E=w(P);if(g)l.done=P>=p;else {let A=y;P!==0&&(b<1?A=pa(w,P,E):A=0);let M=Math.abs(A)<=r,O=Math.abs(s-E)<=t;l.done=M&&O;}return l.value=l.done?s:E,l}}}function jl({keyframes:e,velocity:t=0,power:r=.8,timeConstant:o=325,bounceDamping:n=10,bounceStiffness:i=500,modifyTarget:a,min:s,max:l,restDelta:c=.5,restSpeed:u}){let f=e[0],m={done:!1,value:f},p=M=>s!==void 0&&M<s||l!==void 0&&M>l,g=M=>s===void 0?l:l===void 0||Math.abs(s-M)<Math.abs(l-M)?s:l,y=r*t,b=f+y,x=a===void 0?b:a(b);x!==b&&(y=x-f);let S=M=>-y*Math.exp(-M/o),C=M=>x+S(M),w=M=>{let O=S(M),B=C(M);m.done=Math.abs(O)<=c,m.value=m.done?x:B;},P,E,A=M=>{p(m.value)&&(P=M,E=ga({keyframes:[m.value,g(m.value)],velocity:pa(C,M,m.value),damping:n,stiffness:i,restDelta:c,restSpeed:u}));};return A(0),{calculatedDuration:null,next:M=>{let O=!1;return !E&&P===void 0&&(O=!0,w(M),A(M)),P!==void 0&&M>P?E.next(M-P):(!O&&w(M),m)}}}var op=e=>{let t=({timestamp:r})=>e(r);return {start:()=>N.update(t,!0),stop:()=>ke(t),now:()=>Q.isProcessing?Q.timestamp:performance.now()}};function Bl(e){let t=0,r=50,o=e.next(t);for(;!o.done&&t<2e4;)t+=r,o=e.next(t);return t>=2e4?1/0:t}var Vk={decay:jl,inertia:jl,tween:dn,keyframes:dn,spring:ga};function nr(p){var g=p,{autoplay:e=!0,delay:t=0,driver:r=op,keyframes:o,type:n="keyframes",repeat:i=0,repeatDelay:a=0,repeatType:s="loop",onPlay:l,onStop:c,onComplete:u,onUpdate:f}=g,m=k(g,["autoplay","delay","driver","keyframes","type","repeat","repeatDelay","repeatType","onPlay","onStop","onComplete","onUpdate"]);let y=1,b=!1,x,S,C=()=>{S=new Promise(J=>{x=J;});};C();let w,P=Vk[n]||dn,E;P!==dn&&typeof o[0]!="number"&&(E=da([0,100],o,{clamp:!1}),o=[0,100]);let A=P(v(d({},m),{keyframes:o})),M;s==="mirror"&&(M=P(v(d({},m),{keyframes:[...o].reverse(),velocity:-(m.velocity||0)})));let O="idle",B=null,W=null,ue=null;A.calculatedDuration===null&&i&&(A.calculatedDuration=Bl(A));let{calculatedDuration:fe}=A,he=1/0,G=1/0;fe!==null&&(he=fe+a,G=he*(i+1)-a);let ee=0,ot=J=>{if(W===null)return;y>0&&(W=Math.min(W,J)),y<0&&(W=Math.min(J-G/y,W)),B!==null?ee=B:ee=Math.round(J-W)*y;let wo=ee-t*(y>=0?1:-1),Ic=y>=0?wo<0:wo>G;ee=Math.max(wo,0),O==="finished"&&B===null&&(ee=G);let Vc=ee,Oc=A;if(i){let cs=ee/he,Vn=Math.floor(cs),Bt=cs%1;!Bt&&cs>=1&&(Bt=1),Bt===1&&Vn--,Vn=Math.min(Vn,i+1);let $c=!!(Vn%2);$c&&(s==="reverse"?(Bt=1-Bt,a&&(Bt-=a/he)):s==="mirror"&&(Oc=M));let Lc=Ce(0,1,Bt);ee>G&&(Lc=s==="reverse"&&$c?1:0),Vc=Lc*he;}let ko=Ic?{done:!1,value:o[0]}:Oc.next(Vc);E&&(ko.value=E(ko.value));let{done:Nc}=ko;!Ic&&fe!==null&&(Nc=y>=0?ee>=G:ee<=0);let _y=B===null&&(O==="finished"||O==="running"&&Nc);return f&&f(ko.value),_y&&ky(),ko},Co=()=>{w&&w.stop(),w=void 0;},Ec=()=>{O="idle",Co(),x(),C(),W=ue=null;},ky=()=>{O="finished",u&&u(),Co(),x();},Rc=()=>{if(b)return;w||(w=r(ot));let J=w.now();l&&l(),B!==null?W=J-B:(!W||O==="finished")&&(W=J),O==="finished"&&C(),ue=W,B=null,O="running",w.start();};e&&Rc();let Mc={then(J,wo){return S.then(J,wo)},get time(){return Re(ee)},set time(J){J=Ne(J),ee=J,B!==null||!w||y===0?B=J:W=w.now()-J/y;},get duration(){let J=A.calculatedDuration===null?Bl(A):A.calculatedDuration;return Re(J)},get speed(){return y},set speed(J){J===y||!w||(y=J,Mc.time=Re(ee));},get state(){return O},play:Rc,pause:()=>{O="paused",B=ee;},stop:()=>{b=!0,O!=="idle"&&(O="idle",c&&c(),Ec());},cancel:()=>{ue!==null&&ot(ue),Ec();},complete:()=>{O="finished";},sample:J=>(W=0,ot(J))};return Mc}function np(e){let t;return ()=>(t===void 0&&(t=e()),t)}var Ok=np(()=>Object.hasOwnProperty.call(Element.prototype,"animate")),Nk=new Set(["opacity","clipPath","filter","transform","backgroundColor"]),ya=10,$k=2e4,Lk=(e,t)=>t.type==="spring"||e==="backgroundColor"||!Pl(t.ease);function ip(e,t,i){var a=i,{onUpdate:r,onComplete:o}=a,n=k(a,["onUpdate","onComplete"]);if(!(Ok()&&Nk.has(t)&&!n.repeatDelay&&n.repeatType!=="mirror"&&n.damping!==0&&n.type!=="inertia"))return !1;let l=!1,c,u,f=()=>{u=new Promise(w=>{c=w;});};f();let{keyframes:m,duration:p=300,ease:g,times:y}=n;if(Lk(t,n)){let w=nr(v(d({},n),{repeat:0,delay:0})),P={done:!1,value:m[0]},E=[],A=0;for(;!P.done&&A<$k;)P=w.sample(A),E.push(P.value),A+=ya;y=void 0,m=E,p=A-ya,g="linear";}let b=Rm(e.owner.current,t,m,v(d({},n),{duration:p,ease:g,times:y}));n.syncStart&&(b.startTime=Q.isProcessing?Q.timestamp:document.timeline?document.timeline.currentTime:performance.now());let x=()=>b.cancel(),S=()=>{N.update(x),c(),f();};return b.onfinish=()=>{e.set(Mm(m,n)),o&&o(),S();},{then(w,P){return u.then(w,P)},attachTimeline(w){return b.timeline=w,b.onfinish=null,L},get time(){return Re(b.currentTime||0)},set time(w){b.currentTime=Ne(w);},get speed(){return b.playbackRate},set speed(w){b.playbackRate=w;},get duration(){return Re(p)},play:()=>{l||(b.play(),ke(x));},pause:()=>b.pause(),stop:()=>{if(l=!0,b.playState==="idle")return;let{currentTime:w}=b;if(w){let P=nr(v(d({},n),{autoplay:!1}));e.setWithVelocity(P.sample(w-ya).value,P.sample(w).value,ya);}S();},complete:()=>b.finish(),cancel:S}}function ap({keyframes:e,delay:t,onUpdate:r,onComplete:o}){let n=()=>(r&&r(e[e.length-1]),o&&o(),{time:0,speed:1,duration:0,play:L,pause:L,stop:L,then:i=>(i(),Promise.resolve()),cancel:L,complete:L});return t?nr({keyframes:[0,1],duration:0,delay:t,onComplete:n}):n()}var Dk={type:"spring",stiffness:500,damping:25,restSpeed:10},jk=e=>({type:"spring",stiffness:550,damping:e===0?2*Math.sqrt(550):30,restSpeed:10}),Bk={type:"keyframes",duration:.8},zk={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},sp=(e,{keyframes:t})=>t.length>2?Bk:Te.has(e)?e.startsWith("scale")?jk(t[1]):Dk:zk;var mn=(e,t)=>e==="zIndex"?!1:!!(typeof t=="number"||Array.isArray(t)||typeof t=="string"&&(_e.test(t)||t==="0")&&!t.startsWith("url("));var Fk=new Set(["brightness","contrast","saturate","opacity"]);function Wk(e){let[t,r]=e.slice(0,-1).split("(");if(t==="drop-shadow")return e;let[o]=r.match(tr)||[];if(!o)return e;let n=r.replace(o,""),i=Fk.has(t)?1:0;return o!==r&&(i*=100),t+"("+i+n+")"}var Hk=/([a-z-]*)\(.*?\)/g,pn=v(d({},_e),{getAnimatableNone:e=>{let t=e.match(Hk);return t?t.map(Wk).join(" "):e}});var Gk=v(d({},Hi),{color:ne,backgroundColor:ne,outlineColor:ne,fill:ne,stroke:ne,borderColor:ne,borderTopColor:ne,borderRightColor:ne,borderBottomColor:ne,borderLeftColor:ne,filter:pn,WebkitFilter:pn}),Yr=e=>Gk[e];function va(e,t){let r=Yr(e);return r!==pn&&(r=_e),r.getAnimatableNone?r.getAnimatableNone(t):void 0}var ba=e=>/^0[^.\s]+$/.test(e);function lp(e){if(typeof e=="number")return e===0;if(e!==null)return e==="none"||e==="0"||ba(e)}function cp(e,t,r,o){let n=mn(t,r),i;Array.isArray(r)?i=[...r]:i=[null,r];let a=o.from!==void 0?o.from:e.get(),s,l=[];for(let c=0;c<i.length;c++)i[c]===null&&(i[c]=c===0?a:i[c-1]),lp(i[c])&&l.push(c),typeof i[c]=="string"&&i[c]!=="none"&&i[c]!=="0"&&(s=i[c]);if(n&&l.length&&s)for(let c=0;c<l.length;c++){let u=l[c];i[u]=va(t,s);}return i}function up(f){var m=f,u=k(m,["when","delay","delayChildren","staggerChildren","staggerDirection","repeat","repeatType","repeatDelay","from","elapsed"]);return !!Object.keys(u).length}function xa(e,t){return e[t]||e.default||e}var Xr=(e,t,r,o={})=>n=>{let i=xa(o,e)||{},a=i.delay||o.delay||0,{elapsed:s=0}=o;s=s-Ne(a);let l=cp(t,e,r,i),c=l[0],u=l[l.length-1],f=mn(e,c),m=mn(e,u);let p=v(d({keyframes:l,velocity:t.getVelocity(),ease:"easeOut"},i),{delay:-s,onUpdate:g=>{t.set(g),i.onUpdate&&i.onUpdate(g);},onComplete:()=>{n(),i.onComplete&&i.onComplete();}});if(up(i)||(p=d(d({},p),sp(e,p))),p.duration&&(p.duration=Ne(p.duration)),p.repeatDelay&&(p.repeatDelay=Ne(p.repeatDelay)),!f||!m||_l.current||i.type===!1)return ap(p);if(t.owner&&t.owner.current instanceof HTMLElement&&!t.owner.getProps().onUpdate){let g=ip(t,e,p);if(g)return g}return nr(p)};function ir(e){return !!(X(e)&&e.add)}var Sa=e=>/^\-?\d*\.?\d+$/.test(e);function Zr(e,t){e.indexOf(t)===-1&&e.push(t);}function Jr(e,t){let r=e.indexOf(t);r>-1&&e.splice(r,1);}var Dt=class{constructor(){this.subscriptions=[];}add(t){return Zr(this.subscriptions,t),()=>Jr(this.subscriptions,t)}notify(t,r,o){let n=this.subscriptions.length;if(n)if(n===1)this.subscriptions[0](t,r,o);else for(let i=0;i<n;i++){let a=this.subscriptions[i];a&&a(t,r,o);}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0;}};var Uk=e=>!isNaN(parseFloat(e)),zl=class{constructor(t,r={}){this.version="10.16.5",this.timeDelta=0,this.lastUpdated=0,this.canTrackVelocity=!1,this.events={},this.updateAndNotify=(o,n=!0)=>{this.prev=this.current,this.current=o;let{delta:i,timestamp:a}=Q;this.lastUpdated!==a&&(this.timeDelta=i,this.lastUpdated=a,N.postRender(this.scheduleVelocityCheck)),this.prev!==this.current&&this.events.change&&this.events.change.notify(this.current),this.events.velocityChange&&this.events.velocityChange.notify(this.getVelocity()),n&&this.events.renderRequest&&this.events.renderRequest.notify(this.current);},this.scheduleVelocityCheck=()=>N.postRender(this.velocityCheck),this.velocityCheck=({timestamp:o})=>{o!==this.lastUpdated&&(this.prev=this.current,this.events.velocityChange&&this.events.velocityChange.notify(this.getVelocity()));},this.hasAnimated=!1,this.prev=this.current=t,this.canTrackVelocity=Uk(this.current),this.owner=r.owner;}onChange(t){return this.on("change",t)}on(t,r){this.events[t]||(this.events[t]=new Dt);let o=this.events[t].add(r);return t==="change"?()=>{o(),N.read(()=>{this.events.change.getSize()||this.stop();});}:o}clearListeners(){for(let t in this.events)this.events[t].clear();}attach(t,r){this.passiveEffect=t,this.stopPassiveEffect=r;}set(t,r=!0){!r||!this.passiveEffect?this.updateAndNotify(t,r):this.passiveEffect(t,this.updateAndNotify);}setWithVelocity(t,r,o){this.set(r),this.prev=t,this.timeDelta=o;}jump(t){this.updateAndNotify(t),this.prev=t,this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect();}get(){return this.current}getPrevious(){return this.prev}getVelocity(){return this.canTrackVelocity?ma(parseFloat(this.current)-parseFloat(this.prev),this.timeDelta):0}start(t){return this.stop(),new Promise(r=>{this.hasAnimated=!0,this.animation=t(r),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 et(e,t){return new zl(e,t)}var Ca=e=>t=>t.test(e);var dp={test:e=>e==="auto",parse:e=>e};var Fl=[Fe,R,we,Je,em,Qd,dp],Qr=e=>Fl.find(Ca(e));var Kk=[...Fl,ne,_e],mp=e=>Kk.find(Ca(e));function qk(e,t,r){e.hasValue(t)?e.getValue(t).set(r):e.addValue(t,et(r));}function pp(e,t){let r=Nt(e,t),a=r?e.makeTargetAnimatable(r,!1):{},{transitionEnd:o={},transition:n={}}=a,i=k(a,["transitionEnd","transition"]);i=d(d({},i),o);for(let s in i){let l=pm(i[s]);qk(e,s,l);}}function hp(e,t,r){var o,n;let i=Object.keys(t).filter(s=>!e.hasValue(s)),a=i.length;if(a)for(let s=0;s<a;s++){let l=i[s],c=t[l],u=null;Array.isArray(c)&&(u=c[0]),u===null&&(u=(n=(o=r[l])!==null&&o!==void 0?o:e.readValue(l))!==null&&n!==void 0?n:t[l]),u!=null&&(typeof u=="string"&&(Sa(u)||ba(u))?u=parseFloat(u):!mp(u)&&_e.test(c)&&(u=va(l,c)),e.addValue(l,et(u,{owner:e})),r[l]===void 0&&(r[l]=u),u!==null&&e.setBaseTarget(l,u));}}function Yk(e,t){return t?(t[e]||t.default||t).from:void 0}function gp(e,t,r){let o={};for(let n in e){let i=Yk(n,t);if(i!==void 0)o[n]=i;else {let a=r.getValue(n);a&&(o[n]=a.get());}}return o}function Xk({protectedKeys:e,needsAnimating:t},r){let o=e.hasOwnProperty(r)&&t[r]!==!0;return t[r]=!1,o}function wa(e,t,{delay:r=0,transitionOverride:o,type:n}={}){let f=e.makeTargetAnimatable(t),{transition:i=e.getDefaultTransition(),transitionEnd:a}=f,s=k(f,["transition","transitionEnd"]),l=e.getValue("willChange");o&&(i=o);let c=[],u=n&&e.animationState&&e.animationState.getState()[n];for(let m in s){let p=e.getValue(m),g=s[m];if(!p||g===void 0||u&&Xk(u,m))continue;let y=d({delay:r,elapsed:0},i);if(window.HandoffAppearAnimations&&!p.hasAnimated){let x=e.getProps()[Am];x&&(y.elapsed=window.HandoffAppearAnimations(x,m,p,N),y.syncStart=!0);}p.start(Xr(m,p,g,e.shouldReduceMotion&&Te.has(m)?{type:!1}:y));let b=p.animation;ir(l)&&(l.add(m),b.then(()=>l.remove(m))),c.push(b);}return a&&Promise.all(c).then(()=>{a&&pp(e,a);}),c}function ka(e,t,r={}){let o=Nt(e,t,r.custom),{transition:n=e.getDefaultTransition()||{}}=o||{};r.transitionOverride&&(n=r.transitionOverride);let i=o?()=>Promise.all(wa(e,o,r)):()=>Promise.resolve(),a=e.variantChildren&&e.variantChildren.size?(l=0)=>{let{delayChildren:c=0,staggerChildren:u,staggerDirection:f}=n;return Zk(e,t,c+l,u,f,r)}:()=>Promise.resolve(),{when:s}=n;if(s){let[l,c]=s==="beforeChildren"?[i,a]:[a,i];return l().then(()=>c())}else return Promise.all([i(),a(r.delay)])}function Zk(e,t,r=0,o=0,n=1,i){let a=[],s=(e.variantChildren.size-1)*o,l=n===1?(c=0)=>c*o:(c=0)=>s-c*o;return Array.from(e.variantChildren).sort(Jk).forEach((c,u)=>{c.notify("AnimationStart",t),a.push(ka(c,t,v(d({},i),{delay:r+l(u)})).then(()=>c.notify("AnimationComplete",t)));}),Promise.all(a)}function Jk(e,t){return e.sortNodePosition(t)}function yp(e,t,r={}){e.notify("AnimationStart",t);let o;if(Array.isArray(t)){let n=t.map(i=>ka(e,i,r));o=Promise.all(n);}else if(typeof t=="string")o=ka(e,t,r);else {let n=typeof t=="function"?Nt(e,t,r.custom):t;o=Promise.all(wa(e,n,r));}return o.then(()=>e.notify("AnimationComplete",t))}var Qk=[...Li].reverse(),e_=Li.length;function t_(e){return t=>Promise.all(t.map(({animation:r,options:o})=>yp(e,r,o)))}function vp(e){let t=t_(e),r=o_(),o=!0,n=(l,c)=>{let u=Nt(e,c);if(u){let f=u,{transition:m,transitionEnd:p}=f,g=k(f,["transition","transitionEnd"]);l=d(d(d({},l),g),p);}return l};function i(l){t=l(e);}function a(l,c){let u=e.getProps(),f=e.getVariantContext(!0)||{},m=[],p=new Set,g={},y=1/0;for(let x=0;x<e_;x++){let S=Qk[x],C=r[S],w=u[S]!==void 0?u[S]:f[S],P=ft(w),E=S===c?C.isActive:null;E===!1&&(y=x);let A=w===f[S]&&w!==u[S]&&P;if(A&&o&&e.manuallyAnimateOnMount&&(A=!1),C.protectedKeys=d({},g),!C.isActive&&E===null||!w&&!C.prevProp||Mt(w)||typeof w=="boolean")continue;let M=r_(C.prevProp,w),O=M||S===c&&C.isActive&&!A&&P||x>y&&P,B=Array.isArray(w)?w:[w],W=B.reduce(n,{});E===!1&&(W={});let{prevResolvedValues:ue={}}=C,fe=d(d({},ue),W),he=G=>{O=!0,p.delete(G),C.needsAnimating[G]=!0;};for(let G in fe){let ee=W[G],ot=ue[G];g.hasOwnProperty(G)||(ee!==ot?rr(ee)&&rr(ot)?!kl(ee,ot)||M?he(G):C.protectedKeys[G]=!0:ee!==void 0?he(G):p.add(G):ee!==void 0&&p.has(G)?he(G):C.protectedKeys[G]=!0);}C.prevProp=w,C.prevResolvedValues=W,C.isActive&&(g=d(d({},g),W)),o&&e.blockInitialAnimation&&(O=!1),O&&!A&&m.push(...B.map(G=>({animation:G,options:d({type:S},l)})));}if(p.size){let x={};p.forEach(S=>{let C=e.getBaseTarget(S);C!==void 0&&(x[S]=C);}),m.push({animation:x});}let b=!!m.length;return o&&u.initial===!1&&!e.manuallyAnimateOnMount&&(b=!1),o=!1,b?t(m):Promise.resolve()}function s(l,c,u){var f;if(r[l].isActive===c)return Promise.resolve();(f=e.variantChildren)===null||f===void 0||f.forEach(p=>{var g;return (g=p.animationState)===null||g===void 0?void 0:g.setActive(l,c)}),r[l].isActive=c;let m=a(u,l);for(let p in r)r[p].protectedKeys={};return m}return {animateChanges:a,setActive:s,setAnimateFunction:i,getState:()=>r}}function r_(e,t){return typeof t=="string"?t!==e:Array.isArray(t)?!kl(t,e):!1}function ar(e=!1){return {isActive:e,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function o_(){return {animate:ar(!0),whileInView:ar(),whileHover:ar(),whileTap:ar(),whileDrag:ar(),whileFocus:ar(),exit:ar()}}var _a=class extends le{constructor(t){super(t),t.animationState||(t.animationState=vp(t));}updateAnimationControlsSubscription(){let{animate:t}=this.node.getProps();this.unmount(),Mt(t)&&(this.unmount=t.subscribe(this.node));}mount(){this.updateAnimationControlsSubscription();}update(){let{animate:t}=this.node.getProps(),{animate:r}=this.node.prevProps||{};t!==r&&this.updateAnimationControlsSubscription();}unmount(){}};var n_=0,Ta=class extends le{constructor(){super(...arguments),this.id=n_++;}update(){if(!this.node.presenceContext)return;let{isPresent:t,onExitComplete:r,custom:o}=this.node.presenceContext,{isPresent:n}=this.node.prevPresenceContext||{};if(!this.node.animationState||t===n)return;let i=this.node.animationState.setActive("exit",!t,{custom:o!=null?o:this.node.getProps().custom});r&&!t&&i.then(()=>r(this.id));}mount(){let{register:t}=this.node.presenceContext||{};t&&(this.unmount=t(this.id));}unmount(){}};var bp={animation:{Feature:_a},exit:{Feature:Ta}};var xp=(e,t)=>Math.abs(e-t);function Sp(e,t){let r=xp(e.x,t.x),o=xp(e.y,t.y);return Math.sqrt(Nn(r,2)+Nn(o,2))}var eo=class{constructor(t,r,{transformPagePoint:o}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.handlers={},this.updatePoint=()=>{if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;let c=Hl(this.lastMoveEventInfo,this.history),u=this.startEvent!==null,f=Sp(c.offset,{x:0,y:0})>=3;if(!u&&!f)return;let{point:m}=c,{timestamp:p}=Q;this.history.push(v(d({},m),{timestamp:p}));let{onStart:g,onMove:y}=this.handlers;u||(g&&g(this.lastMoveEvent,c),this.startEvent=this.lastMoveEvent),y&&y(this.lastMoveEvent,c);},this.handlePointerMove=(c,u)=>{this.lastMoveEvent=c,this.lastMoveEventInfo=Wl(u,this.transformPagePoint),N.update(this.updatePoint,!0);},this.handlePointerUp=(c,u)=>{if(this.end(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;let{onEnd:f,onSessionEnd:m}=this.handlers,p=Hl(c.type==="pointercancel"?this.lastMoveEventInfo:Wl(u,this.transformPagePoint),this.history);this.startEvent&&f&&f(c,p),m&&m(c,p);},!ta(t))return;this.handlers=r,this.transformPagePoint=o;let n=or(t),i=Wl(n,this.transformPagePoint),{point:a}=i,{timestamp:s}=Q;this.history=[v(d({},a),{timestamp:s})];let{onSessionStart:l}=r;l&&l(t,Hl(i,this.history)),this.removeListeners=Ee(Ae(window,"pointermove",this.handlePointerMove),Ae(window,"pointerup",this.handlePointerUp),Ae(window,"pointercancel",this.handlePointerUp));}updateHandlers(t){this.handlers=t;}end(){this.removeListeners&&this.removeListeners(),ke(this.updatePoint);}};function Wl(e,t){return t?{point:t(e.point)}:e}function Cp(e,t){return {x:e.x-t.x,y:e.y-t.y}}function Hl({point:e},t){return {point:e,delta:Cp(e,wp(t)),offset:Cp(e,i_(t)),velocity:a_(t,.1)}}function i_(e){return e[0]}function wp(e){return e[e.length-1]}function a_(e,t){if(e.length<2)return {x:0,y:0};let r=e.length-1,o=null,n=wp(e);for(;r>=0&&(o=e[r],!(n.timestamp-o.timestamp>Ne(t)));)r--;if(!o)return {x:0,y:0};let i=Re(n.timestamp-o.timestamp);if(i===0)return {x:0,y:0};let a={x:(n.x-o.x)/i,y:(n.y-o.y)/i};return a.x===1/0&&(a.x=0),a.y===1/0&&(a.y=0),a}function pe(e){return e.max-e.min}function Pa(e,t=0,r=.01){return Math.abs(e-t)<=r}function kp(e,t,r,o=.5){e.origin=o,e.originPoint=D(t.min,t.max,e.origin),e.scale=pe(r)/pe(t),(Pa(e.scale,1,1e-4)||isNaN(e.scale))&&(e.scale=1),e.translate=D(r.min,r.max,e.origin)-e.originPoint,(Pa(e.translate)||isNaN(e.translate))&&(e.translate=0);}function to(e,t,r,o){kp(e.x,t.x,r.x,o?o.originX:void 0),kp(e.y,t.y,r.y,o?o.originY:void 0);}function _p(e,t,r){e.min=r.min+t.min,e.max=e.min+pe(t);}function Pp(e,t,r){_p(e.x,t.x,r.x),_p(e.y,t.y,r.y);}function Tp(e,t,r){e.min=t.min-r.min,e.max=e.min+pe(t);}function ro(e,t,r){Tp(e.x,t.x,r.x),Tp(e.y,t.y,r.y);}function Ip(e,{min:t,max:r},o){return t!==void 0&&e<t?e=o?D(t,e,o.min):Math.max(e,t):r!==void 0&&e>r&&(e=o?D(r,e,o.max):Math.min(e,r)),e}function Ap(e,t,r){return {min:t!==void 0?e.min+t:void 0,max:r!==void 0?e.max+r-(e.max-e.min):void 0}}function Vp(e,{top:t,left:r,bottom:o,right:n}){return {x:Ap(e.x,r,n),y:Ap(e.y,t,o)}}function Ep(e,t){let r=t.min-e.min,o=t.max-e.max;return t.max-t.min<e.max-e.min&&([r,o]=[o,r]),{min:r,max:o}}function Op(e,t){return {x:Ep(e.x,t.x),y:Ep(e.y,t.y)}}function Np(e,t){let r=.5,o=pe(e),n=pe(t);return n>o?r=mt(t.min,t.max-o,e.min):o>n&&(r=mt(e.min,e.max-n,t.min)),Ce(0,1,r)}function $p(e,t){let r={};return t.min!==void 0&&(r.min=t.min-e.min),t.max!==void 0&&(r.max=t.max-e.min),r}var Aa=.35;function Lp(e=Aa){return e===!1?e=0:e===!0&&(e=Aa),{x:Rp(e,"left","right"),y:Rp(e,"top","bottom")}}function Rp(e,t,r){return {min:Mp(e,t),max:Mp(e,r)}}function Mp(e,t){return typeof e=="number"?e:e[t]||0}var Dp=()=>({translate:0,scale:1,origin:0,originPoint:0}),sr=()=>({x:Dp(),y:Dp()}),jp=()=>({min:0,max:0}),Z=()=>({x:jp(),y:jp()});function We(e){return [e("x"),e("y")]}function Ea({top:e,left:t,right:r,bottom:o}){return {x:{min:t,max:r},y:{min:e,max:o}}}function Bp({x:e,y:t}){return {top:t.min,right:e.max,bottom:t.max,left:e.min}}function zp(e,t){if(!t)return e;let r=t({x:e.left,y:e.top}),o=t({x:e.right,y:e.bottom});return {top:r.y,left:r.x,bottom:o.y,right:o.x}}function Gl(e){return e===void 0||e===1}function Ra({scale:e,scaleX:t,scaleY:r}){return !Gl(e)||!Gl(t)||!Gl(r)}function pt(e){return Ra(e)||Ul(e)||e.z||e.rotate||e.rotateX||e.rotateY}function Ul(e){return Fp(e.x)||Fp(e.y)}function Fp(e){return e&&e!=="0%"}function hn(e,t,r){let o=e-r,n=t*o;return r+n}function Wp(e,t,r,o,n){return n!==void 0&&(e=hn(e,n,o)),hn(e,r,o)+t}function Kl(e,t=0,r=1,o,n){e.min=Wp(e.min,t,r,o,n),e.max=Wp(e.max,t,r,o,n);}function ql(e,{x:t,y:r}){Kl(e.x,t.translate,t.scale,t.originPoint),Kl(e.y,r.translate,r.scale,r.originPoint);}function Up(e,t,r,o=!1){let n=r.length;if(!n)return;t.x=t.y=1;let i,a;for(let s=0;s<n;s++){i=r[s],a=i.projectionDelta;let l=i.instance;l&&l.style&&l.style.display==="contents"||(o&&i.options.layoutScroll&&i.scroll&&i!==i.root&&lr(e,{x:-i.scroll.offset.x,y:-i.scroll.offset.y}),a&&(t.x*=a.x.scale,t.y*=a.y.scale,ql(e,a)),o&&pt(i.latestValues)&&lr(e,i.latestValues));}t.x=Hp(t.x),t.y=Hp(t.y);}function Hp(e){return Number.isInteger(e)||e>1.0000000000001||e<.999999999999?e:1}function tt(e,t){e.min=e.min+t,e.max=e.max+t;}function Gp(e,t,[r,o,n]){let i=t[n]!==void 0?t[n]:.5,a=D(e.min,e.max,i);Kl(e,t[r],t[o],a,t.scale);}var s_=["x","scaleX","originX"],l_=["y","scaleY","originY"];function lr(e,t){Gp(e.x,t,s_),Gp(e.y,t,l_);}function Yl(e,t){return Ea(zp(e.getBoundingClientRect(),t))}function Kp(e,t,r){let o=Yl(e,r),{scroll:n}=t;return n&&(tt(o.x,n.offset.x),tt(o.y,n.offset.y)),o}var c_=new WeakMap,Ia=class{constructor(t){this.openGlobalLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic=Z(),this.visualElement=t;}start(t,{snapToCursor:r=!1}={}){let{presenceContext:o}=this.visualElement;if(o&&o.isPresent===!1)return;let n=l=>{this.stopAnimation(),r&&this.snapToCursor(or(l,"page").point);},i=(l,c)=>{let{drag:u,dragPropagation:f,onDragStart:m}=this.getProps();if(u&&!f&&(this.openGlobalLock&&this.openGlobalLock(),this.openGlobalLock=bl(u),!this.openGlobalLock))return;this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),We(g=>{let y=this.getAxisMotionValue(g).get()||0;if(we.test(y)){let{projection:b}=this.visualElement;if(b&&b.layout){let x=b.layout.layoutBox[g];x&&(y=pe(x)*(parseFloat(y)/100));}}this.originPoint[g]=y;}),m&&N.update(()=>m(l,c),!1,!0);let{animationState:p}=this.visualElement;p&&p.setActive("whileDrag",!0);},a=(l,c)=>{let{dragPropagation:u,dragDirectionLock:f,onDirectionLock:m,onDrag:p}=this.getProps();if(!u&&!this.openGlobalLock)return;let{offset:g}=c;if(f&&this.currentDirection===null){this.currentDirection=u_(g),this.currentDirection!==null&&m&&m(this.currentDirection);return}this.updateAxis("x",c.point,g),this.updateAxis("y",c.point,g),this.visualElement.render(),p&&p(l,c);},s=(l,c)=>this.stop(l,c);this.panSession=new eo(t,{onSessionStart:n,onStart:i,onMove:a,onSessionEnd:s},{transformPagePoint:this.visualElement.getTransformPagePoint()});}stop(t,r){let o=this.isDragging;if(this.cancel(),!o)return;let{velocity:n}=r;this.startAnimation(n);let{onDragEnd:i}=this.getProps();i&&N.update(()=>i(t,r));}cancel(){this.isDragging=!1;let{projection:t,animationState:r}=this.visualElement;t&&(t.isAnimationBlocked=!1),this.panSession&&this.panSession.end(),this.panSession=void 0;let{dragPropagation:o}=this.getProps();!o&&this.openGlobalLock&&(this.openGlobalLock(),this.openGlobalLock=null),r&&r.setActive("whileDrag",!1);}updateAxis(t,r,o){let{drag:n}=this.getProps();if(!o||!Ma(t,n,this.currentDirection))return;let i=this.getAxisMotionValue(t),a=this.originPoint[t]+o[t];this.constraints&&this.constraints[t]&&(a=Ip(a,this.constraints[t],this.elastic[t])),i.set(a);}resolveConstraints(){let{dragConstraints:t,dragElastic:r}=this.getProps(),{layout:o}=this.visualElement.projection||{},n=this.constraints;t&&ut(t)?this.constraints||(this.constraints=this.resolveRefConstraints()):t&&o?this.constraints=Vp(o.layoutBox,t):this.constraints=!1,this.elastic=Lp(r),n!==this.constraints&&o&&this.constraints&&!this.hasMutatedConstraints&&We(i=>{this.getAxisMotionValue(i)&&(this.constraints[i]=$p(o.layoutBox[i],this.constraints[i]));});}resolveRefConstraints(){let{dragConstraints:t,onMeasureDragConstraints:r}=this.getProps();if(!t||!ut(t))return !1;let o=t.current;let{projection:n}=this.visualElement;if(!n||!n.layout)return !1;let i=Kp(o,n.root,this.visualElement.getTransformPagePoint()),a=Op(n.layout.layoutBox,i);if(r){let s=r(Bp(a));this.hasMutatedConstraints=!!s,s&&(a=Ea(s));}return a}startAnimation(t){let{drag:r,dragMomentum:o,dragElastic:n,dragTransition:i,dragSnapToOrigin:a,onDragTransitionEnd:s}=this.getProps(),l=this.constraints||{},c=We(u=>{if(!Ma(u,r,this.currentDirection))return;let f=l&&l[u]||{};a&&(f={min:0,max:0});let m=n?200:1e6,p=n?40:1e7,g=d(d({type:"inertia",velocity:o?t[u]:0,bounceStiffness:m,bounceDamping:p,timeConstant:750,restDelta:1,restSpeed:10},i),f);return this.startAxisValueAnimation(u,g)});return Promise.all(c).then(s)}startAxisValueAnimation(t,r){let o=this.getAxisMotionValue(t);return o.start(Xr(t,o,0,r))}stopAnimation(){We(t=>this.getAxisMotionValue(t).stop());}getAxisMotionValue(t){let r="_drag"+t.toUpperCase(),o=this.visualElement.getProps(),n=o[r];return n||this.visualElement.getValue(t,(o.initial?o.initial[t]:void 0)||0)}snapToCursor(t){We(r=>{let{drag:o}=this.getProps();if(!Ma(r,o,this.currentDirection))return;let{projection:n}=this.visualElement,i=this.getAxisMotionValue(r);if(n&&n.layout){let{min:a,max:s}=n.layout.layoutBox[r];i.set(t[r]-D(a,s,.5));}});}scalePositionWithinConstraints(){if(!this.visualElement.current)return;let{drag:t,dragConstraints:r}=this.getProps(),{projection:o}=this.visualElement;if(!ut(r)||!o||!this.constraints)return;this.stopAnimation();let n={x:0,y:0};We(a=>{let s=this.getAxisMotionValue(a);if(s){let l=s.get();n[a]=Np({min:l,max:l},this.constraints[a]);}});let{transformTemplate:i}=this.visualElement.getProps();this.visualElement.current.style.transform=i?i({},""):"none",o.root&&o.root.updateScroll(),o.updateLayout(),this.resolveConstraints(),We(a=>{if(!Ma(a,t,null))return;let s=this.getAxisMotionValue(a),{min:l,max:c}=this.constraints[a];s.set(D(l,c,n[a]));});}addListeners(){if(!this.visualElement.current)return;c_.set(this.visualElement,this);let t=this.visualElement.current,r=Ae(t,"pointerdown",l=>{let{drag:c,dragListener:u=!0}=this.getProps();c&&u&&this.start(l);}),o=()=>{let{dragConstraints:l}=this.getProps();ut(l)&&(this.constraints=this.resolveRefConstraints());},{projection:n}=this.visualElement,i=n.addEventListener("measure",o);n&&!n.layout&&(n.root&&n.root.updateScroll(),n.updateLayout()),o();let a=Pe(window,"resize",()=>this.scalePositionWithinConstraints()),s=n.addEventListener("didUpdate",({delta:l,hasLayoutChanged:c})=>{this.isDragging&&c&&(We(u=>{let f=this.getAxisMotionValue(u);f&&(this.originPoint[u]+=l[u].translate,f.set(f.get()+l[u].translate));}),this.visualElement.render());});return ()=>{a(),r(),i(),s&&s();}}getProps(){let t=this.visualElement.getProps(),{drag:r=!1,dragDirectionLock:o=!1,dragPropagation:n=!1,dragConstraints:i=!1,dragElastic:a=Aa,dragMomentum:s=!0}=t;return v(d({},t),{drag:r,dragDirectionLock:o,dragPropagation:n,dragConstraints:i,dragElastic:a,dragMomentum:s})}};function Ma(e,t,r){return (t===!0||t===e)&&(r===null||r===e)}function u_(e,t=10){let r=null;return Math.abs(e.y)>t?r="y":Math.abs(e.x)>t&&(r="x"),r}var Va=class extends le{constructor(t){super(t),this.removeGroupControls=L,this.removeListeners=L,this.controls=new Ia(t);}mount(){let{dragControls:t}=this.node.getProps();t&&(this.removeGroupControls=t.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||L;}unmount(){this.removeGroupControls(),this.removeListeners();}};var qp=e=>(t,r)=>{e&&N.update(()=>e(t,r));},Oa=class extends le{constructor(){super(...arguments),this.removePointerDownListener=L;}onPointerDown(t){this.session=new eo(t,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint()});}createPanHandlers(){let{onPanSessionStart:t,onPanStart:r,onPan:o,onPanEnd:n}=this.node.getProps();return {onSessionStart:qp(t),onStart:qp(r),onMove:o,onEnd:(i,a)=>{delete this.session,n&&N.update(()=>n(i,a));}}}mount(){this.removePointerDownListener=Ae(this.node.current,"pointerdown",t=>this.onPointerDown(t));}update(){this.session&&this.session.updateHandlers(this.createPanHandlers());}unmount(){this.removePointerDownListener(),this.session&&this.session.end();}};function Yp(){let e=ht.useContext(Et);if(e===null)return [!0,null];let{isPresent:t,onExitComplete:r,register:o}=e,n=ht.useId();return ht.useEffect(()=>o(n),[]),!t&&r?[!1,()=>r&&r(n)]:[!0]}var oo={hasAnimatedSinceResize:!0,hasEverUpdated:!1};function Xp(e,t){return t.max===t.min?0:e/(t.max-t.min)*100}var no={correct:(e,t)=>{if(!t.target)return e;if(typeof e=="string")if(R.test(e))e=parseFloat(e);else return e;let r=Xp(e,t.target.x),o=Xp(e,t.target.y);return `${r}% ${o}%`}};var Zp={correct:(e,{treeScale:t,projectionDelta:r})=>{let o=e,n=_e.parse(e);if(n.length>5)return o;let i=_e.createTransformer(e),a=typeof n[0]!="number"?1:0,s=r.x.scale*t.x,l=r.y.scale*t.y;n[0+a]/=s,n[1+a]/=l;let c=D(s,l,.5);return typeof n[2+a]=="number"&&(n[2+a]/=c),typeof n[3+a]=="number"&&(n[3+a]/=c),i(n)}};var Xl=class extends ht__namespace.default.Component{componentDidMount(){let{visualElement:t,layoutGroup:r,switchLayoutGroup:o,layoutId:n}=this.props,{projection:i}=t;Kd(p_),i&&(r.group&&r.group.add(i),o&&o.register&&n&&o.register(i),i.root.didUpdate(),i.addEventListener("animationComplete",()=>{this.safeToRemove();}),i.setOptions(v(d({},i.options),{onExitComplete:()=>this.safeToRemove()}))),oo.hasEverUpdated=!0;}getSnapshotBeforeUpdate(t){let{layoutDependency:r,visualElement:o,drag:n,isPresent:i}=this.props,a=o.projection;return a&&(a.isPresent=i,n||t.layoutDependency!==r||r===void 0?a.willUpdate():this.safeToRemove(),t.isPresent!==i&&(i?a.promote():a.relegate()||N.postRender(()=>{let s=a.getStack();(!s||!s.members.length)&&this.safeToRemove();}))),null}componentDidUpdate(){let{projection:t}=this.props.visualElement;t&&(t.root.didUpdate(),queueMicrotask(()=>{!t.currentAnimation&&t.isLead()&&this.safeToRemove();}));}componentWillUnmount(){let{visualElement:t,layoutGroup:r,switchLayoutGroup:o}=this.props,{projection:n}=t;n&&(n.scheduleCheckAfterUnmount(),r&&r.group&&r.group.remove(n),o&&o.deregister&&o.deregister(n));}safeToRemove(){let{safeToRemove:t}=this.props;t&&t();}render(){return null}};function Na(e){let[t,r]=Yp(),o=ht.useContext($r);return ht__namespace.default.createElement(Xl,v(d({},e),{layoutGroup:o,switchLayoutGroup:ht.useContext(ji),isPresent:t,safeToRemove:r}))}var p_={borderRadius:v(d({},no),{applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]}),borderTopLeftRadius:no,borderTopRightRadius:no,borderBottomLeftRadius:no,borderBottomRightRadius:no,boxShadow:Zp};var oh=["TopLeft","TopRight","BottomLeft","BottomRight"],h_=oh.length,eh=e=>typeof e=="string"?parseFloat(e):e,th=e=>typeof e=="number"||R.test(e);function nh(e,t,r,o,n,i){n?(e.opacity=D(0,r.opacity!==void 0?r.opacity:1,g_(o)),e.opacityExit=D(t.opacity!==void 0?t.opacity:1,0,y_(o))):i&&(e.opacity=D(t.opacity!==void 0?t.opacity:1,r.opacity!==void 0?r.opacity:1,o));for(let a=0;a<h_;a++){let s=`border${oh[a]}Radius`,l=rh(t,s),c=rh(r,s);if(l===void 0&&c===void 0)continue;l||(l=0),c||(c=0),l===0||c===0||th(l)===th(c)?(e[s]=Math.max(D(eh(l),eh(c),o),0),(we.test(c)||we.test(l))&&(e[s]+="%")):e[s]=c;}(t.rotate||r.rotate)&&(e.rotate=D(t.rotate||0,r.rotate||0,o));}function rh(e,t){return e[t]!==void 0?e[t]:e.borderRadius}var g_=ih(0,.5,ln),y_=ih(.5,.95,L);function ih(e,t,r){return o=>o<e?0:o>t?1:r(mt(e,t,o))}function ah(e,t){e.min=t.min,e.max=t.max;}function $e(e,t){ah(e.x,t.x),ah(e.y,t.y);}function sh(e,t,r,o,n){return e-=t,e=hn(e,1/r,o),n!==void 0&&(e=hn(e,1/n,o)),e}function v_(e,t=0,r=1,o=.5,n,i=e,a=e){if(we.test(t)&&(t=parseFloat(t),t=D(a.min,a.max,t/100)-a.min),typeof t!="number")return;let s=D(i.min,i.max,o);e===i&&(s-=t),e.min=sh(e.min,t,r,s,n),e.max=sh(e.max,t,r,s,n);}function lh(e,t,[r,o,n],i,a){v_(e,t[r],t[o],t[n],t.scale,i,a);}var b_=["x","scaleX","originX"],x_=["y","scaleY","originY"];function Zl(e,t,r,o){lh(e.x,t,b_,r?r.x:void 0,o?o.x:void 0),lh(e.y,t,x_,r?r.y:void 0,o?o.y:void 0);}function ch(e){return e.translate===0&&e.scale===1}function Jl(e){return ch(e.x)&&ch(e.y)}function uh(e,t){return e.x.min===t.x.min&&e.x.max===t.x.max&&e.y.min===t.y.min&&e.y.max===t.y.max}function Ql(e,t){return Math.round(e.x.min)===Math.round(t.x.min)&&Math.round(e.x.max)===Math.round(t.x.max)&&Math.round(e.y.min)===Math.round(t.y.min)&&Math.round(e.y.max)===Math.round(t.y.max)}function ec(e){return pe(e.x)/pe(e.y)}var $a=class{constructor(){this.members=[];}add(t){Zr(this.members,t),t.scheduleRender();}remove(t){if(Jr(this.members,t),t===this.prevLead&&(this.prevLead=void 0),t===this.lead){let r=this.members[this.members.length-1];r&&this.promote(r);}}relegate(t){let r=this.members.findIndex(n=>t===n);if(r===0)return !1;let o;for(let n=r;n>=0;n--){let i=this.members[n];if(i.isPresent!==!1){o=i;break}}return o?(this.promote(o),!0):!1}promote(t,r){let o=this.lead;if(t!==o&&(this.prevLead=o,this.lead=t,t.show(),o)){o.instance&&o.scheduleRender(),t.scheduleRender(),t.resumeFrom=o,r&&(t.resumeFrom.preserveOpacity=!0),o.snapshot&&(t.snapshot=o.snapshot,t.snapshot.latestValues=o.animationValues||o.latestValues),t.root&&t.root.isUpdating&&(t.isLayoutDirty=!0);let{crossfade:n}=t.options;n===!1&&o.hide();}}exitAnimationComplete(){this.members.forEach(t=>{let{options:r,resumingFrom:o}=t;r.onExitComplete&&r.onExitComplete(),o&&o.options.onExitComplete&&o.options.onExitComplete();});}scheduleRender(){this.members.forEach(t=>{t.instance&&t.scheduleRender(!1);});}removeLeadSnapshot(){this.lead&&this.lead.snapshot&&(this.lead.snapshot=void 0);}};function tc(e,t,r){let o="",n=e.x.translate/t.x,i=e.y.translate/t.y;if((n||i)&&(o=`translate3d(${n}px, ${i}px, 0) `),(t.x!==1||t.y!==1)&&(o+=`scale(${1/t.x}, ${1/t.y}) `),r){let{rotate:l,rotateX:c,rotateY:u}=r;l&&(o+=`rotate(${l}deg) `),c&&(o+=`rotateX(${c}deg) `),u&&(o+=`rotateY(${u}deg) `);}let a=e.x.scale*t.x,s=e.y.scale*t.y;return (a!==1||s!==1)&&(o+=`scale(${a}, ${s})`),o||"none"}var fh=(e,t)=>e.depth-t.depth;var La=class{constructor(){this.children=[],this.isDirty=!1;}add(t){Zr(this.children,t),this.isDirty=!0;}remove(t){Jr(this.children,t),this.isDirty=!0;}forEach(t){this.isDirty&&this.children.sort(fh),this.isDirty=!1,this.children.forEach(t);}};function dh(e,t){let r=performance.now(),o=({timestamp:n})=>{let i=n-r;i>=t&&(ke(o),e(i-t));};return N.read(o,!0),()=>ke(o)}function mh(e){window.MotionDebug&&window.MotionDebug.record(e);}function ph(e){return e instanceof SVGElement&&e.tagName!=="svg"}function hh(e,t,r){let o=X(e)?e:et(e);return o.start(Xr("",o,t,r)),o.animation}var gh=["","X","Y","Z"],yh=1e3,S_=0,cr={type:"projectionFrame",totalNodes:0,resolvedTargetDeltas:0,recalculatedProjection:0};function Da({attachResizeListener:e,defaultParent:t,measureScroll:r,checkIsScrollRoot:o,resetTransform:n}){return class{constructor(a={},s=t==null?void 0:t()){this.id=S_++,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.treeScale={x:1,y:1},this.eventHandlers=new Map,this.hasTreeAnimated=!1,this.updateScheduled=!1,this.checkUpdateFailed=()=>{this.isUpdating&&(this.isUpdating=!1,this.clearAllSnapshots());},this.updateProjection=()=>{cr.totalNodes=cr.resolvedTargetDeltas=cr.recalculatedProjection=0,this.nodes.forEach(k_),this.nodes.forEach(E_),this.nodes.forEach(R_),this.nodes.forEach(__),mh(cr);},this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=a,this.root=s?s.root||s:this,this.path=s?[...s.path,s]:[],this.parent=s,this.depth=s?s.depth+1:0;for(let l=0;l<this.path.length;l++)this.path[l].shouldResetTransform=!0;this.root===this&&(this.nodes=new La);}addEventListener(a,s){return this.eventHandlers.has(a)||this.eventHandlers.set(a,new Dt),this.eventHandlers.get(a).add(s)}notifyListeners(a,...s){let l=this.eventHandlers.get(a);l&&l.notify(...s);}hasListeners(a){return this.eventHandlers.has(a)}mount(a,s=this.root.hasTreeAnimated){if(this.instance)return;this.isSVG=ph(a),this.instance=a;let{layoutId:l,layout:c,visualElement:u}=this.options;if(u&&!u.current&&u.mount(a),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),s&&(c||l)&&(this.isLayoutDirty=!0),e){let f,m=()=>this.root.updateBlockedByResize=!1;e(a,()=>{this.root.updateBlockedByResize=!0,f&&f(),f=dh(m,250),oo.hasAnimatedSinceResize&&(oo.hasAnimatedSinceResize=!1,this.nodes.forEach(bh));});}l&&this.root.registerSharedNode(l,this),this.options.animate!==!1&&u&&(l||c)&&this.addEventListener("didUpdate",({delta:f,hasLayoutChanged:m,hasRelativeTargetChanged:p,layout:g})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}let y=this.options.transition||u.getDefaultTransition()||N_,{onLayoutAnimationStart:b,onLayoutAnimationComplete:x}=u.getProps(),S=!this.targetLayout||!Ql(this.targetLayout,g)||p,C=!m&&p;if(this.options.layoutRoot||this.resumeFrom&&this.resumeFrom.instance||C||m&&(S||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0),this.setAnimationOrigin(f,C);let w=v(d({},xa(y,"layout")),{onPlay:b,onComplete:x});(u.shouldReduceMotion||this.options.layoutRoot)&&(w.delay=0,w.type=!1),this.startAnimation(w);}else m||bh(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=g;});}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);let a=this.getStack();a&&a.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,ke(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(M_),this.animationId++);}getTransformTemplate(){let{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(!this.root.isUpdating&&this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let u=0;u<this.path.length;u++){let f=this.path[u];f.shouldResetTransform=!0,f.updateScroll("snapshot"),f.options.layoutRoot&&f.willUpdate(!1);}let{layoutId:s,layout:l}=this.options;if(s===void 0&&!l)return;let c=this.getTransformTemplate();this.prevTransformTemplateValue=c?c(this.latestValues,""):void 0,this.updateSnapshot(),a&&this.notifyListeners("willUpdate");}update(){if(this.updateScheduled=!1,this.isUpdateBlocked()){this.unblockUpdate(),this.clearAllSnapshots(),this.nodes.forEach(vh);return}this.isUpdating||this.nodes.forEach(P_),this.isUpdating=!1,this.nodes.forEach(A_),this.nodes.forEach(C_),this.nodes.forEach(w_),this.clearAllSnapshots();let s=performance.now();Q.delta=Ce(0,1e3/60,s-Q.timestamp),Q.timestamp=s,Q.isProcessing=!0,ea.update.process(Q),ea.preRender.process(Q),ea.render.process(Q),Q.isProcessing=!1;}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,queueMicrotask(()=>this.update()));}clearAllSnapshots(){this.nodes.forEach(T_),this.sharedNodes.forEach(I_);}scheduleUpdateProjection(){N.preRender(this.updateProjection,!1,!0);}scheduleCheckAfterUnmount(){N.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 l=0;l<this.path.length;l++)this.path[l].updateScroll();let a=this.layout;this.layout=this.measure(!1),this.layoutCorrected=Z(),this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners("measure",this.layout.layoutBox);let{visualElement:s}=this.options;s&&s.notify("LayoutMeasure",this.layout.layoutBox,a?a.layoutBox:void 0);}updateScroll(a="measure"){let s=!!(this.options.layoutScroll&&this.instance);this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===a&&(s=!1),s&&(this.scroll={animationId:this.root.animationId,phase:a,isRoot:o(this.instance),offset:r(this.instance)});}resetTransform(){if(!n)return;let a=this.isLayoutDirty||this.shouldResetTransform,s=this.projectionDelta&&!Jl(this.projectionDelta),l=this.getTransformTemplate(),c=l?l(this.latestValues,""):void 0,u=c!==this.prevTransformTemplateValue;a&&(s||pt(this.latestValues)||u)&&(n(this.instance,c),this.shouldResetTransform=!1,this.scheduleRender());}measure(a=!0){let s=this.measurePageBox(),l=this.removeElementScroll(s);return a&&(l=this.removeTransform(l)),$_(l),{animationId:this.root.animationId,measuredBox:s,layoutBox:l,latestValues:{},source:this.id}}measurePageBox(){let{visualElement:a}=this.options;if(!a)return Z();let s=a.measureViewportBox(),{scroll:l}=this.root;return l&&(tt(s.x,l.offset.x),tt(s.y,l.offset.y)),s}removeElementScroll(a){let s=Z();$e(s,a);for(let l=0;l<this.path.length;l++){let c=this.path[l],{scroll:u,options:f}=c;if(c!==this.root&&u&&f.layoutScroll){if(u.isRoot){$e(s,a);let{scroll:m}=this.root;m&&(tt(s.x,-m.offset.x),tt(s.y,-m.offset.y));}tt(s.x,u.offset.x),tt(s.y,u.offset.y);}}return s}applyTransform(a,s=!1){let l=Z();$e(l,a);for(let c=0;c<this.path.length;c++){let u=this.path[c];!s&&u.options.layoutScroll&&u.scroll&&u!==u.root&&lr(l,{x:-u.scroll.offset.x,y:-u.scroll.offset.y}),pt(u.latestValues)&&lr(l,u.latestValues);}return pt(this.latestValues)&&lr(l,this.latestValues),l}removeTransform(a){let s=Z();$e(s,a);for(let l=0;l<this.path.length;l++){let c=this.path[l];if(!c.instance||!pt(c.latestValues))continue;Ra(c.latestValues)&&c.updateSnapshot();let u=Z(),f=c.measurePageBox();$e(u,f),Zl(s,c.latestValues,c.snapshot?c.snapshot.layoutBox:void 0,u);}return pt(this.latestValues)&&Zl(s,this.latestValues),s}setTargetDelta(a){this.targetDelta=a,this.root.scheduleUpdateProjection(),this.isProjectionDirty=!0;}setOptions(a){this.options=v(d(d({},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!==Q.timestamp&&this.relativeParent.resolveTargetDelta(!0);}resolveTargetDelta(a=!1){var s;let l=this.getLead();this.isProjectionDirty||(this.isProjectionDirty=l.isProjectionDirty),this.isTransformDirty||(this.isTransformDirty=l.isTransformDirty),this.isSharedProjectionDirty||(this.isSharedProjectionDirty=l.isSharedProjectionDirty);let c=!!this.resumingFrom||this!==l;if(!(a||c&&this.isSharedProjectionDirty||this.isProjectionDirty||!((s=this.parent)===null||s===void 0)&&s.isProjectionDirty||this.attemptToResolveRelativeTarget))return;let{layout:f,layoutId:m}=this.options;if(!(!this.layout||!(f||m))){if(this.resolvedRelativeTargetAt=Q.timestamp,!this.targetDelta&&!this.relativeTarget){let p=this.getClosestProjectingParent();p&&p.layout&&this.animationProgress!==1?(this.relativeParent=p,this.forceRelativeParentToResolveTarget(),this.relativeTarget=Z(),this.relativeTargetOrigin=Z(),ro(this.relativeTargetOrigin,this.layout.layoutBox,p.layout.layoutBox),$e(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0;}if(!(!this.relativeTarget&&!this.targetDelta)){if(this.target||(this.target=Z(),this.targetWithTransforms=Z()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target?(this.forceRelativeParentToResolveTarget(),Pp(this.target,this.relativeTarget,this.relativeParent.target)):this.targetDelta?(this.resumingFrom?this.target=this.applyTransform(this.layout.layoutBox):$e(this.target,this.layout.layoutBox),ql(this.target,this.targetDelta)):$e(this.target,this.layout.layoutBox),this.attemptToResolveRelativeTarget){this.attemptToResolveRelativeTarget=!1;let p=this.getClosestProjectingParent();p&&!!p.resumingFrom==!!this.resumingFrom&&!p.options.layoutScroll&&p.target&&this.animationProgress!==1?(this.relativeParent=p,this.forceRelativeParentToResolveTarget(),this.relativeTarget=Z(),this.relativeTargetOrigin=Z(),ro(this.relativeTargetOrigin,this.target,p.target),$e(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0;}cr.resolvedTargetDeltas++;}}}getClosestProjectingParent(){if(!(!this.parent||Ra(this.parent.latestValues)||Ul(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;let s=this.getLead(),l=!!this.resumingFrom||this!==s,c=!0;if((this.isProjectionDirty||!((a=this.parent)===null||a===void 0)&&a.isProjectionDirty)&&(c=!1),l&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(c=!1),this.resolvedRelativeTargetAt===Q.timestamp&&(c=!1),c)return;let{layout:u,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||!(u||f))return;$e(this.layoutCorrected,this.layout.layoutBox);let m=this.treeScale.x,p=this.treeScale.y;Up(this.layoutCorrected,this.treeScale,this.path,l),s.layout&&!s.target&&(this.treeScale.x!==1||this.treeScale.y!==1)&&(s.target=s.layout.layoutBox);let{target:g}=s;if(!g){this.projectionTransform&&(this.projectionDelta=sr(),this.projectionTransform="none",this.scheduleRender());return}this.projectionDelta||(this.projectionDelta=sr(),this.projectionDeltaWithTransform=sr());let y=this.projectionTransform;to(this.projectionDelta,this.layoutCorrected,g,this.latestValues),this.projectionTransform=tc(this.projectionDelta,this.treeScale),(this.projectionTransform!==y||this.treeScale.x!==m||this.treeScale.y!==p)&&(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",g)),cr.recalculatedProjection++;}hide(){this.isVisible=!1;}show(){this.isVisible=!0;}scheduleRender(a=!0){if(this.options.scheduleRender&&this.options.scheduleRender(),a){let s=this.getStack();s&&s.scheduleRender();}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0);}setAnimationOrigin(a,s=!1){let l=this.snapshot,c=l?l.latestValues:{},u=d({},this.latestValues),f=sr();(!this.relativeParent||!this.relativeParent.options.layoutRoot)&&(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!s;let m=Z(),p=l?l.source:void 0,g=this.layout?this.layout.source:void 0,y=p!==g,b=this.getStack(),x=!b||b.members.length<=1,S=!!(y&&!x&&this.options.crossfade===!0&&!this.path.some(O_));this.animationProgress=0;let C;this.mixTargetDelta=w=>{let P=w/1e3;xh(f.x,a.x,P),xh(f.y,a.y,P),this.setTargetDelta(f),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&(ro(m,this.layout.layoutBox,this.relativeParent.layout.layoutBox),V_(this.relativeTarget,this.relativeTargetOrigin,m,P),C&&uh(this.relativeTarget,C)&&(this.isProjectionDirty=!1),C||(C=Z()),$e(C,this.relativeTarget)),y&&(this.animationValues=u,nh(u,c,this.latestValues,P,S,x)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=P;},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&&(ke(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=N.update(()=>{oo.hasAnimatedSinceResize=!0,this.currentAnimation=hh(0,yh,v(d({},a),{onUpdate:s=>{this.mixTargetDelta(s),a.onUpdate&&a.onUpdate(s);},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);let a=this.getStack();a&&a.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete");}finishAnimation(){this.currentAnimation&&(this.mixTargetDelta&&this.mixTargetDelta(yh),this.currentAnimation.stop()),this.completeAnimation();}applyTransformsToTarget(){let a=this.getLead(),{targetWithTransforms:s,target:l,layout:c,latestValues:u}=a;if(!(!s||!l||!c)){if(this!==a&&this.layout&&c&&_h(this.options.animationType,this.layout.layoutBox,c.layoutBox)){l=this.target||Z();let f=pe(this.layout.layoutBox.x);l.x.min=a.target.x.min,l.x.max=l.x.min+f;let m=pe(this.layout.layoutBox.y);l.y.min=a.target.y.min,l.y.max=l.y.min+m;}$e(s,l),lr(s,u),to(this.projectionDeltaWithTransform,this.layoutCorrected,s,u);}}registerSharedNode(a,s){this.sharedNodes.has(a)||this.sharedNodes.set(a,new $a),this.sharedNodes.get(a).add(s);let c=s.options.initialPromotionConfig;s.promote({transition:c?c.transition:void 0,preserveFollowOpacity:c&&c.shouldPreserveFollowOpacity?c.shouldPreserveFollowOpacity(s):void 0});}isLead(){let a=this.getStack();return a?a.lead===this:!0}getLead(){var a;let{layoutId:s}=this.options;return s?((a=this.getStack())===null||a===void 0?void 0:a.lead)||this:this}getPrevLead(){var a;let{layoutId:s}=this.options;return s?(a=this.getStack())===null||a===void 0?void 0:a.prevLead:void 0}getStack(){let{layoutId:a}=this.options;if(a)return this.root.sharedNodes.get(a)}promote({needsReset:a,transition:s,preserveFollowOpacity:l}={}){let c=this.getStack();c&&c.promote(this,l),a&&(this.projectionDelta=void 0,this.needsReset=!0),s&&this.setOptions({transition:s});}relegate(){let a=this.getStack();return a?a.relegate(this):!1}resetRotation(){let{visualElement:a}=this.options;if(!a)return;let s=!1,{latestValues:l}=a;if((l.rotate||l.rotateX||l.rotateY||l.rotateZ)&&(s=!0),!s)return;let c={};for(let u=0;u<gh.length;u++){let f="rotate"+gh[u];l[f]&&(c[f]=l[f],a.setStaticValue(f,0));}a.render();for(let u in c)a.setStaticValue(u,c[u]);a.scheduleRender();}getProjectionStyles(a={}){var s,l;let c={};if(!this.instance||this.isSVG)return c;if(this.isVisible)c.visibility="";else return {visibility:"hidden"};let u=this.getTransformTemplate();if(this.needsReset)return this.needsReset=!1,c.opacity="",c.pointerEvents=Ur(a.pointerEvents)||"",c.transform=u?u(this.latestValues,""):"none",c;let f=this.getLead();if(!this.projectionDelta||!this.layout||!f.target){let y={};return this.options.layoutId&&(y.opacity=this.latestValues.opacity!==void 0?this.latestValues.opacity:1,y.pointerEvents=Ur(a.pointerEvents)||""),this.hasProjected&&!pt(this.latestValues)&&(y.transform=u?u({},""):"none",this.hasProjected=!1),y}let m=f.animationValues||f.latestValues;this.applyTransformsToTarget(),c.transform=tc(this.projectionDeltaWithTransform,this.treeScale,m),u&&(c.transform=u(m,c.transform));let{x:p,y:g}=this.projectionDelta;c.transformOrigin=`${p.origin*100}% ${g.origin*100}% 0`,f.animationValues?c.opacity=f===this?(l=(s=m.opacity)!==null&&s!==void 0?s:this.latestValues.opacity)!==null&&l!==void 0?l:1:this.preserveOpacity?this.latestValues.opacity:m.opacityExit:c.opacity=f===this?m.opacity!==void 0?m.opacity:"":m.opacityExit!==void 0?m.opacityExit:0;for(let y in Dr){if(m[y]===void 0)continue;let{correct:b,applyTo:x}=Dr[y],S=c.transform==="none"?m[y]:b(m[y],f);if(x){let C=x.length;for(let w=0;w<C;w++)c[x[w]]=S;}else c[y]=S;}return this.options.layoutId&&(c.pointerEvents=f===this?Ur(a.pointerEvents)||"":"none"),c}clearSnapshot(){this.resumeFrom=this.snapshot=void 0;}resetTree(){this.root.nodes.forEach(a=>{var s;return (s=a.currentAnimation)===null||s===void 0?void 0:s.stop()}),this.root.nodes.forEach(vh),this.root.sharedNodes.clear();}}}function C_(e){e.updateLayout();}function w_(e){var t;let r=((t=e.resumeFrom)===null||t===void 0?void 0:t.snapshot)||e.snapshot;if(e.isLead()&&e.layout&&r&&e.hasListeners("didUpdate")){let{layoutBox:o,measuredBox:n}=e.layout,{animationType:i}=e.options,a=r.source!==e.layout.source;i==="size"?We(f=>{let m=a?r.measuredBox[f]:r.layoutBox[f],p=pe(m);m.min=o[f].min,m.max=m.min+p;}):_h(i,r.layoutBox,o)&&We(f=>{let m=a?r.measuredBox[f]:r.layoutBox[f],p=pe(o[f]);m.max=m.min+p,e.relativeTarget&&!e.currentAnimation&&(e.isProjectionDirty=!0,e.relativeTarget[f].max=e.relativeTarget[f].min+p);});let s=sr();to(s,o,r.layoutBox);let l=sr();a?to(l,e.applyTransform(n,!0),r.measuredBox):to(l,o,r.layoutBox);let c=!Jl(s),u=!1;if(!e.resumeFrom){let f=e.getClosestProjectingParent();if(f&&!f.resumeFrom){let{snapshot:m,layout:p}=f;if(m&&p){let g=Z();ro(g,r.layoutBox,m.layoutBox);let y=Z();ro(y,o,p.layoutBox),Ql(g,y)||(u=!0),f.options.layoutRoot&&(e.relativeTarget=y,e.relativeTargetOrigin=g,e.relativeParent=f);}}}e.notifyListeners("didUpdate",{layout:o,snapshot:r,delta:l,layoutDelta:s,hasLayoutChanged:c,hasRelativeTargetChanged:u});}else if(e.isLead()){let{onExitComplete:o}=e.options;o&&o();}e.options.transition=void 0;}function k_(e){cr.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 __(e){e.isProjectionDirty=e.isSharedProjectionDirty=e.isTransformDirty=!1;}function T_(e){e.clearSnapshot();}function vh(e){e.clearMeasurements();}function P_(e){e.isLayoutDirty=!1;}function A_(e){let{visualElement:t}=e.options;t&&t.getProps().onBeforeLayoutMeasure&&t.notify("BeforeLayoutMeasure"),e.resetTransform();}function bh(e){e.finishAnimation(),e.targetDelta=e.relativeTarget=e.target=void 0,e.isProjectionDirty=!0;}function E_(e){e.resolveTargetDelta();}function R_(e){e.calcProjection();}function M_(e){e.resetRotation();}function I_(e){e.removeLeadSnapshot();}function xh(e,t,r){e.translate=D(t.translate,0,r),e.scale=D(t.scale,1,r),e.origin=t.origin,e.originPoint=t.originPoint;}function Sh(e,t,r,o){e.min=D(t.min,r.min,o),e.max=D(t.max,r.max,o);}function V_(e,t,r,o){Sh(e.x,t.x,r.x,o),Sh(e.y,t.y,r.y,o);}function O_(e){return e.animationValues&&e.animationValues.opacityExit!==void 0}var N_={duration:.45,ease:[.4,0,.1,1]},Ch=e=>typeof navigator!="undefined"&&navigator.userAgent.toLowerCase().includes(e),wh=Ch("applewebkit/")&&!Ch("chrome/")?Math.round:L;function kh(e){e.min=wh(e.min),e.max=wh(e.max);}function $_(e){kh(e.x),kh(e.y);}function _h(e,t,r){return e==="position"||e==="preserve-aspect"&&!Pa(ec(t),ec(r),.2)}var Th=Da({attachResizeListener:(e,t)=>Pe(e,"resize",t),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}),checkIsScrollRoot:()=>!0});var rc={current:void 0},ja=Da({measureScroll:e=>({x:e.scrollLeft,y:e.scrollTop}),defaultParent:()=>{if(!rc.current){let e=new Th({});e.mount(window),e.setOptions({layoutScroll:!0}),rc.current=e;}return rc.current},resetTransform:(e,t)=>{e.style.transform=t!==void 0?t:"none";},checkIsScrollRoot:e=>window.getComputedStyle(e).position==="fixed"});var Ph={pan:{Feature:Oa},drag:{Feature:Va,ProjectionNode:ja,MeasureLayout:Na}};var L_=/var\((--[a-zA-Z0-9-_]+),? ?([a-zA-Z0-9 ()%#.,-]+)?\)/;function D_(e){let t=L_.exec(e);if(!t)return [,];let[,r,o]=t;return [r,o]}function oc(e,t,r=1){let[o,n]=D_(e);if(!o)return;let i=window.getComputedStyle(t).getPropertyValue(o);if(i){let a=i.trim();return Sa(a)?parseFloat(a):a}else return Wi(n)?oc(n,t,r+1):n}function Ah(e,o,r){var t=k(o,[]);let n=e.current;if(!(n instanceof Element))return {target:t,transitionEnd:r};r&&(r=d({},r)),e.values.forEach(i=>{let a=i.get();if(!Wi(a))return;let s=oc(a,n);s&&i.set(s);});for(let i in t){let a=t[i];if(!Wi(a))continue;let s=oc(a,n);s&&(t[i]=s,r||(r={}),r[i]===void 0&&(r[i]=a));}return {target:t,transitionEnd:r}}var B_=new Set(["width","height","top","left","right","bottom","x","y","translateX","translateY"]),Mh=e=>B_.has(e),z_=e=>Object.keys(e).some(Mh),Ba=e=>e===Fe||e===R,Eh=(e,t)=>parseFloat(e.split(", ")[t]),Rh=(e,t)=>(r,{transform:o})=>{if(o==="none"||!o)return 0;let n=o.match(/^matrix3d\((.+)\)$/);if(n)return Eh(n[1],t);{let i=o.match(/^matrix\((.+)\)$/);return i?Eh(i[1],e):0}},F_=new Set(["x","y","z"]),W_=It.filter(e=>!F_.has(e));function H_(e){let t=[];return W_.forEach(r=>{let o=e.getValue(r);o!==void 0&&(t.push([r,o.get()]),o.set(r.startsWith("scale")?1:0));}),t.length&&e.render(),t}var io={width:({x:e},{paddingLeft:t="0",paddingRight:r="0"})=>e.max-e.min-parseFloat(t)-parseFloat(r),height:({y:e},{paddingTop:t="0",paddingBottom:r="0"})=>e.max-e.min-parseFloat(t)-parseFloat(r),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:Rh(4,13),y:Rh(5,14)};io.translateX=io.x;io.translateY=io.y;var G_=(e,t,r)=>{let o=t.measureViewportBox(),n=t.current,i=getComputedStyle(n),{display:a}=i,s={};a==="none"&&t.setStaticValue("display",e.display||"block"),r.forEach(c=>{s[c]=io[c](o,i);}),t.render();let l=t.measureViewportBox();return r.forEach(c=>{let u=t.getValue(c);u&&u.jump(s[c]),e[c]=io[c](l,i);}),e},U_=(e,t,r={},o={})=>{t=d({},t),o=d({},o);let n=Object.keys(t).filter(Mh),i=[],a=!1,s=[];if(n.forEach(l=>{let c=e.getValue(l);if(!e.hasValue(l))return;let u=r[l],f=Qr(u),m=t[l],p;if(rr(m)){let g=m.length,y=m[0]===null?1:0;u=m[y],f=Qr(u);for(let b=y;b<g&&m[b]!==null;b++)p?ge(Qr(m[b])===p):(p=Qr(m[b]),ge(p===f||Ba(f)&&Ba(p)));}else p=Qr(m);if(f!==p)if(Ba(f)&&Ba(p)){let g=c.get();typeof g=="string"&&c.set(parseFloat(g)),typeof m=="string"?t[l]=parseFloat(m):Array.isArray(m)&&p===R&&(t[l]=m.map(parseFloat));}else f!=null&&f.transform&&(p!=null&&p.transform)&&(u===0||m===0)?u===0?c.set(p.transform(u)):t[l]=f.transform(m):(a||(i=H_(e),a=!0),s.push(l),o[l]=o[l]!==void 0?o[l]:t[l],c.jump(m));}),s.length){let l=s.indexOf("height")>=0?window.pageYOffset:null,c=G_(t,e,s);return i.length&&i.forEach(([u,f])=>{e.getValue(u).set(f);}),e.render(),Rt&&l!==null&&window.scrollTo({top:l}),{target:c,transitionEnd:o}}else return {target:t,transitionEnd:o}};function Ih(e,t,r,o){return z_(t)?U_(e,t,r,o):{target:t,transitionEnd:o}}var Vh=(e,t,r,o)=>{let n=Ah(e,t,o);return t=n.target,o=n.transitionEnd,Ih(e,t,r,o)};var gn={current:null},za={current:!1};function Oh(){if(za.current=!0,!!Rt)if(window.matchMedia){let e=window.matchMedia("(prefers-reduced-motion)"),t=()=>gn.current=e.matches;e.addListener(t),t();}else gn.current=!1;}function Nh(e,t,r){let{willChange:o}=t;for(let n in t){let i=t[n],a=r[n];if(X(i))e.addValue(n,i),ir(o)&&o.add(n);else if(X(a))e.addValue(n,et(i,{owner:e})),ir(o)&&o.remove(n);else if(a!==i)if(e.hasValue(n)){let s=e.getValue(n);!s.hasAnimated&&s.set(i);}else {let s=e.getStaticValue(n);e.addValue(n,et(s!==void 0?s:i,{owner:e}));}}for(let n in r)t[n]===void 0&&e.removeValue(n);return t}var nc=new WeakMap;var Lh=Object.keys(er),K_=Lh.length,$h=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"],q_=rn.length,Fa=class{constructor({parent:t,props:r,presenceContext:o,reducedMotionConfig:n,visualState:i},a={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.values=new Map,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.scheduleRender=()=>N.render(this.render,!1,!0);let{latestValues:s,renderState:l}=i;this.latestValues=s,this.baseTarget=d({},s),this.initialValues=r.initial?d({},s):{},this.renderState=l,this.parent=t,this.props=r,this.presenceContext=o,this.depth=t?t.depth+1:0,this.reducedMotionConfig=n,this.options=a,this.isControllingVariants=Qt(r),this.isVariantNode=Di(r),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(t&&t.current);let f=this.scrapeMotionValuesFromProps(r,{}),{willChange:c}=f,u=k(f,["willChange"]);for(let m in u){let p=u[m];s[m]!==void 0&&X(p)&&(p.set(s[m],!1),ir(c)&&c.add(m));}}scrapeMotionValuesFromProps(t,r){return {}}mount(t){this.current=t,nc.set(t,this),this.projection&&!this.projection.instance&&this.projection.mount(t),this.parent&&this.isVariantNode&&!this.isControllingVariants&&(this.removeFromVariantTree=this.parent.addVariantChild(this)),this.values.forEach((r,o)=>this.bindToMotionValue(o,r)),za.current||Oh(),this.shouldReduceMotion=this.reducedMotionConfig==="never"?!1:this.reducedMotionConfig==="always"?!0:gn.current,this.parent&&this.parent.children.add(this),this.update(this.props,this.presenceContext);}unmount(){nc.delete(this.current),this.projection&&this.projection.unmount(),ke(this.notifyUpdate),ke(this.render),this.valueSubscriptions.forEach(t=>t()),this.removeFromVariantTree&&this.removeFromVariantTree(),this.parent&&this.parent.children.delete(this);for(let t in this.events)this.events[t].clear();for(let t in this.features)this.features[t].unmount();this.current=null;}bindToMotionValue(t,r){let o=Te.has(t),n=r.on("change",a=>{this.latestValues[t]=a,this.props.onUpdate&&N.update(this.notifyUpdate,!1,!0),o&&this.projection&&(this.projection.isTransformDirty=!0);}),i=r.on("renderRequest",this.scheduleRender);this.valueSubscriptions.set(t,()=>{n(),i();});}sortNodePosition(t){return !this.current||!this.sortInstanceNodePosition||this.type!==t.type?0:this.sortInstanceNodePosition(this.current,t.current)}loadFeatures(a,o,n,i){var s=a,r=k(s,["children"]);let l,c;for(let u=0;u<K_;u++){let f=Lh[u],{isEnabled:m,Feature:p,ProjectionNode:g,MeasureLayout:y}=er[f];g&&(l=g),m(r)&&(!this.features[f]&&p&&(this.features[f]=new p(this)),y&&(c=y));}if(!this.projection&&l){this.projection=new l(this.latestValues,this.parent&&this.parent.projection);let{layoutId:u,layout:f,drag:m,dragConstraints:p,layoutScroll:g,layoutRoot:y}=r;this.projection.setOptions({layoutId:u,layout:f,alwaysMeasureLayout:!!m||p&&ut(p),visualElement:this,scheduleRender:()=>this.scheduleRender(),animationType:typeof f=="string"?f:"both",initialPromotionConfig:i,layoutScroll:g,layoutRoot:y});}return c}updateFeatures(){for(let t in this.features){let r=this.features[t];r.isMounted?r.update():(r.mount(),r.isMounted=!0);}}triggerBuild(){this.build(this.renderState,this.latestValues,this.options,this.props);}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):Z()}getStaticValue(t){return this.latestValues[t]}setStaticValue(t,r){this.latestValues[t]=r;}makeTargetAnimatable(t,r=!0){return this.makeTargetAnimatableFromInstance(t,this.props,r)}update(t,r){(t.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=t,this.prevPresenceContext=this.presenceContext,this.presenceContext=r;for(let o=0;o<$h.length;o++){let n=$h[o];this.propEventSubscriptions[n]&&(this.propEventSubscriptions[n](),delete this.propEventSubscriptions[n]);let i=t["on"+n];i&&(this.propEventSubscriptions[n]=this.on(n,i));}this.prevMotionValues=Nh(this,this.scrapeMotionValuesFromProps(t,this.prevProps),this.prevMotionValues),this.handleChildMotionValue&&this.handleChildMotionValue();}getProps(){return this.props}getVariant(t){return this.props.variants?this.props.variants[t]:void 0}getDefaultTransition(){return this.props.transition}getTransformPagePoint(){return this.props.transformPagePoint}getClosestVariantNode(){return this.isVariantNode?this:this.parent?this.parent.getClosestVariantNode():void 0}getVariantContext(t=!1){if(t)return this.parent?this.parent.getVariantContext():void 0;if(!this.isControllingVariants){let o=this.parent?this.parent.getVariantContext()||{}:{};return this.props.initial!==void 0&&(o.initial=this.props.initial),o}let r={};for(let o=0;o<q_;o++){let n=rn[o],i=this.props[n];(ft(i)||i===!1)&&(r[n]=i);}return r}addVariantChild(t){let r=this.getClosestVariantNode();if(r)return r.variantChildren&&r.variantChildren.add(t),()=>r.variantChildren.delete(t)}addValue(t,r){r!==this.values.get(t)&&(this.removeValue(t),this.bindToMotionValue(t,r)),this.values.set(t,r),this.latestValues[t]=r.get();}removeValue(t){this.values.delete(t);let r=this.valueSubscriptions.get(t);r&&(r(),this.valueSubscriptions.delete(t)),delete this.latestValues[t],this.removeValueFromRenderState(t,this.renderState);}hasValue(t){return this.values.has(t)}getValue(t,r){if(this.props.values&&this.props.values[t])return this.props.values[t];let o=this.values.get(t);return o===void 0&&r!==void 0&&(o=et(r,{owner:this}),this.addValue(t,o)),o}readValue(t){var r;return 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)}setBaseTarget(t,r){this.baseTarget[t]=r;}getBaseTarget(t){var r;let{initial:o}=this.props,n=typeof o=="string"||typeof o=="object"?(r=Gr(this.props,o))===null||r===void 0?void 0:r[t]:void 0;if(o&&n!==void 0)return n;let i=this.getBaseTargetFromProps(this.props,t);return i!==void 0&&!X(i)?i:this.initialValues[t]!==void 0&&n===void 0?void 0:this.baseTarget[t]}on(t,r){return this.events[t]||(this.events[t]=new Dt),this.events[t].add(r)}notify(t,...r){this.events[t]&&this.events[t].notify(...r);}};var ao=class extends Fa{sortInstanceNodePosition(t,r){return t.compareDocumentPosition(r)&2?1:-1}getBaseTargetFromProps(t,r){return t.style?t.style[r]:void 0}removeValueFromRenderState(t,{vars:r,style:o}){delete r[t],delete o[t];}makeTargetAnimatableFromInstance(a,{transformValues:n},i){var s=a,{transition:t,transitionEnd:r}=s,o=k(s,["transition","transitionEnd"]);let l=gp(o,t||{},this);if(n&&(r&&(r=n(r)),o&&(o=n(o)),l&&(l=n(l))),i){hp(this,o,l);let c=Vh(this,o,l,r);r=c.transitionEnd,o=c.target;}return d({transition:t,transitionEnd:r},o)}};function Y_(e){return window.getComputedStyle(e)}var Wa=class extends ao{readValueFromInstance(t,r){if(Te.has(r)){let o=Yr(r);return o&&o.default||0}else {let o=Y_(t),n=(Fi(r)?o.getPropertyValue(r):o[r])||0;return typeof n=="string"?n.trim():n}}measureInstanceViewportBox(t,{transformPagePoint:r}){return Yl(t,r)}build(t,r,o,n){jr(t,r,o,n.transformTemplate);}scrapeMotionValuesFromProps(t,r){return Hr(t,r)}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);let{children:t}=this.props;X(t)&&(this.childSubscription=t.on("change",r=>{this.current&&(this.current.textContent=`${r}`);}));}renderInstance(t,r,o,n){Ui(t,r,o,n);}};var Ha=class extends ao{constructor(){super(...arguments),this.isSVGTag=!1;}getBaseTargetFromProps(t,r){return t[r]}readValueFromInstance(t,r){if(Te.has(r)){let o=Yr(r);return o&&o.default||0}return r=Ki.has(r)?r:Wr(r),t.getAttribute(r)}measureInstanceViewportBox(){return Z()}scrapeMotionValuesFromProps(t,r){return Yi(t,r)}build(t,r,o,n){zr(t,r,o,this.isSVGTag,n.transformTemplate);}renderInstance(t,r,o,n){qi(t,r,o,n);}mount(t){this.isSVGTag=Fr(t.tagName),super.mount(t);}};var Dh=(e,t)=>Lr(e)?new Ha(t,{enableHardwareAcceleration:!1}):new Wa(t,{enableHardwareAcceleration:!0});var jh={layout:{ProjectionNode:ja,MeasureLayout:Na}};var X_=d(d(d(d({},bp),Pm),Ph),jh),Le=Gd((e,t)=>xm(e,t,X_,Dh));function Ga(){let e=ht.useRef(!1);return Nr(()=>(e.current=!0,()=>{e.current=!1;}),[]),e}function zh(){let e=Ga(),[t,r]=ht.useState(0),o=ht.useCallback(()=>{e.current&&r(t+1);},[t]);return [ht.useCallback(()=>N.postRender(o),[o]),t]}var ic=class extends ht__namespace.Component{getSnapshotBeforeUpdate(t){let r=this.props.childRef.current;if(r&&t.isPresent&&!this.props.isPresent){let o=this.props.sizeRef.current;o.height=r.offsetHeight||0,o.width=r.offsetWidth||0,o.top=r.offsetTop,o.left=r.offsetLeft;}return null}componentDidUpdate(){}render(){return this.props.children}};function Wh({children:e,isPresent:t}){let r=ht.useId(),o=ht.useRef(null),n=ht.useRef({width:0,height:0,top:0,left:0});return ht.useInsertionEffect(()=>{let{width:i,height:a,top:s,left:l}=n.current;if(t||!o.current||!i||!a)return;o.current.dataset.motionPopId=r;let c=document.createElement("style");return document.head.appendChild(c),c.sheet&&c.sheet.insertRule(`
|
32
29
|
[data-motion-pop-id="${r}"] {
|
33
30
|
position: absolute !important;
|
34
31
|
width: ${i}px !important;
|
@@ -36,7 +33,7 @@ var _y=Object.create;var _o=Object.defineProperty,Ty=Object.defineProperties,Py=
|
|
36
33
|
top: ${s}px !important;
|
37
34
|
left: ${l}px !important;
|
38
35
|
}
|
39
|
-
`),()=>{document.head.removeChild(c);}},[t]),ht__namespace.createElement(oc,{isPresent:t,childRef:o,sizeRef:n},ht__namespace.cloneElement(e,{ref:o}))}var Ga=({children:e,initial:t,isPresent:r,onExitComplete:o,custom:n,presenceAffectsLayout:i,mode:a})=>{let s=Yi(Q_),l=ht.useId(),c=ht.useMemo(()=>({id:l,initial:t,isPresent:r,custom:n,onExitComplete:u=>{s.set(u,!0);for(let f of s.values())if(!f)return;o&&o();},register:u=>(s.set(u,!1),()=>s.delete(u))}),i?void 0:[r]);return ht.useMemo(()=>{s.forEach((u,f)=>s.set(f,!1));},[r]),ht__namespace.useEffect(()=>{!r&&!s.size&&o&&o();},[r]),a==="popLayout"&&(e=ht__namespace.createElement(jh,{isPresent:r},e)),ht__namespace.createElement(Et.Provider,{value:c},e)};function Q_(){return new Map}function zh(e){return ht.useEffect(()=>()=>e(),[])}var so=e=>e.key||"";function iT(e,t){e.forEach(r=>{let o=so(r);t.set(o,r);});}function aT(e){let t=[];return ht.Children.forEach(e,r=>{ht.isValidElement(r)&&t.push(r);}),t}var rt=({children:e,custom:t,initial:r=!0,onExitComplete:o,exitBeforeEnter:n,presenceAffectsLayout:i=!0,mode:a="sync"})=>{let s=ht.useContext(Nr).forceRender||Lh()[0],l=Ha(),c=aT(e),u=c,f=ht.useRef(new Map).current,m=ht.useRef(u),p=ht.useRef(new Map).current,g=ht.useRef(!0);if(Or(()=>{g.current=!1,iT(c,p),m.current=u;}),zh(()=>{g.current=!0,p.clear(),f.clear();}),g.current)return ht__namespace.createElement(ht__namespace.Fragment,null,u.map(S=>ht__namespace.createElement(Ga,{key:so(S),isPresent:!0,initial:r?void 0:!1,presenceAffectsLayout:i,mode:a},S)));u=[...u];let y=m.current.map(so),b=c.map(so),x=y.length;for(let S=0;S<x;S++){let C=y[S];b.indexOf(C)===-1&&!f.has(C)&&f.set(C,void 0);}return a==="wait"&&f.size&&(u=[]),f.forEach((S,C)=>{if(b.indexOf(C)!==-1)return;let w=p.get(C);if(!w)return;let P=y.indexOf(C),R=S;if(!R){let A=()=>{p.delete(C),f.delete(C);let I=m.current.findIndex(O=>O.key===C);if(m.current.splice(I,1),!f.size){if(m.current=c,l.current===!1)return;s(),o&&o();}};R=ht__namespace.createElement(Ga,{key:so(w),isPresent:!1,onExitComplete:A,custom:t,presenceAffectsLayout:i,mode:a},w),f.set(C,R);}u.splice(P,0,R);}),u=u.map(S=>{let C=S.key;return f.has(C)?S:ht__namespace.createElement(Ga,{key:so(S),isPresent:!0,presenceAffectsLayout:i,mode:a},S)}),ht__namespace.createElement(ht__namespace.Fragment,null,f.size?u:u.map(S=>ht.cloneElement(S)))};typeof document!="undefined"?ht__namespace.default.useLayoutEffect:()=>{};var vn=new Map,Fh=new Set;function Wh(){if(typeof window=="undefined")return;let e=r=>{let o=vn.get(r.target);o||(o=new Set,vn.set(r.target,o),r.target.addEventListener("transitioncancel",t)),o.add(r.propertyName);},t=r=>{let o=vn.get(r.target);if(o&&(o.delete(r.propertyName),o.size===0&&(r.target.removeEventListener("transitioncancel",t),vn.delete(r.target)),vn.size===0)){for(let n of Fh)n();Fh.clear();}};document.body.addEventListener("transitionrun",e),document.body.addEventListener("transitionend",t);}typeof document!="undefined"&&(document.readyState!=="loading"?Wh():document.addEventListener("DOMContentLoaded",Wh));function yT(){return typeof window.ResizeObserver!="undefined"}function Gh(e){let{ref:t,onResize:r}=e;ht.useEffect(()=>{let o=t==null?void 0:t.current;if(o)if(yT()){let n=new window.ResizeObserver(i=>{i.length&&r();});return n.observe(o),()=>{o&&n.unobserve(o);}}else return window.addEventListener("resize",r,!1),()=>{window.removeEventListener("resize",r,!1);}},[r,t]);}function Kh(e,t){return ht__namespace.Children.toArray(e).find(r=>r.type===t)}function Yh(e,t){return ht__namespace.Children.toArray(e).filter(r=>Array.isArray(t)?t.some(o=>o===r.type):r.type===t)}var xT=(e,t)=>Array.isArray(e)?e:typeof e=="object"?t==null?void 0:t(e):e!=null?[e]:[],sc=(e,t)=>{var r;let o=react.useTheme(),n=xT(e,(r=o.__breakpoints)==null?void 0:r.toArrayValue);return react.useBreakpointValue(n,t)};var[PT,mo]=react.createStylesContext("SuiEmptyState");var dg=react.forwardRef((e,t)=>{let r=mo(),o=d({boxSize:10},r.icon);return jsxRuntime.jsx(react.Icon,v(d({ref:t,role:"presentation",sx:o},e),{className:_("sui-empty-state__icon",e.className)}))});dg.displayName="EmptyStateIcon";var yc=ht__namespace.createContext({});function bg(e){let s=e,{theme:t,linkComponent:r,onError:o,children:n}=s,i=k(s,["theme","linkComponent","onError","children"]),a={linkComponent:r,onError:o};return jsxRuntime.jsx(yc.Provider,{value:a,children:jsxRuntime.jsx(react.ChakraProvider,v(d({},i),{theme:t||tn,children:n}))})}var RT=()=>ht__namespace.useContext(yc),VT=e=>jsxRuntime.jsx(react.chakra.a,d({},e));function vc(){let e=RT();return e!=null&&e.linkComponent?e.linkComponent:VT}var NT=class extends ht__namespace.Component{constructor(e){super(e),this.onError=(t,r)=>{var o,n,i,a;(n=(o=this.props).onError)==null||n.call(o,t,r),(a=(i=this.context).onError)==null||a.call(i,t,r);},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||jsxRuntime.jsx("h1",{children:"Something went wrong."}):this.props.children}};NT.contextType=yc;var Sg=(e="lg")=>e?{base:!0,[e]:!1}:{base:!1},[FT,Cg]=Oe({strict:!1,errorMessage:"AppShell context not available."}),WT=e=>{let t=react.useDisclosure(),r=Sg(e.toggleBreakpoint),o=react.useBreakpointValue(r,{fallback:e.toggleBreakpoint||"lg"});return {isSidebarOpen:t.isOpen,closeSidebar:t.onClose,openSidebar:t.onOpen,toggleSidebar:t.onToggle,isMobile:o}},[HT,mG]=react.createStylesContext("SuiAppShell"),GT=react.forwardRef((e,t)=>{let r=react.useMultiStyleConfig("SuiAppShell",e),y=react.omitThemingProps(e),{navbar:o,sidebar:n,aside:i,footer:a,children:s,mainRef:l}=y,c=k(y,["navbar","sidebar","aside","footer","children","mainRef"]),u=d({flexDirection:"column"},r.container),f=d({flex:1,minHeight:0,minWidth:0},r.inner),m=d({flex:1,flexDirection:"column",minWidth:0},r.main),p=ht__namespace.isValidElement(n)&&n.type.id==="Sidebar",g=WT({toggleBreakpoint:p?n==null?void 0:n.props.toggleBreakpoint:void 0});return jsxRuntime.jsx(FT,{value:g,children:jsxRuntime.jsx(HT,{value:r,children:jsxRuntime.jsxs(react.Flex,v(d({ref:t},c),{sx:u,className:_("sui-app-shell",e.className),children:[o,jsxRuntime.jsxs(react.Flex,{sx:f,className:"saas-app-shell__inner",children:[n,jsxRuntime.jsx(react.Flex,{ref:l,sx:m,className:"saas-app-shell__main",children:s}),i]}),a]}))})})});GT.displayName="AppShell";function QT(e){return jsxRuntime.jsx(react.Icon,v(d({viewBox:"0 0 24 24"},e),{children:jsxRuntime.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 eP(e){return jsxRuntime.jsx(react.Icon,v(d({viewBox:"0 0 24 24"},e),{children:jsxRuntime.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 Qh(e){return jsxRuntime.jsx(react.Icon,v(d({viewBox:"0 0 24 24"},e),{children:jsxRuntime.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 Za={ease:[.25,.1,.25,1],easeIn:[.4,0,1,1],easeOut:[0,0,.2,1],easeInOut:[.4,0,.2,1]},bn={enter:{duration:.2,ease:Za.easeOut},exit:{duration:.1,ease:Za.easeIn}},xn={enter:(e,t)=>v(d({},e),{delay:typeof t=="number"?t:t==null?void 0:t.enter}),exit:(e,t)=>v(d({},e),{delay:typeof t=="number"?t:t==null?void 0:t.exit})},rP={exit:({reverse:e,initialScale:t,transition:r,transitionEnd:o,delay:n})=>{var i;return v(d({opacity:0},e?{scale:t,transitionEnd:o==null?void 0:o.exit}:{transitionEnd:d({scale:t},o==null?void 0:o.exit)}),{transition:(i=r==null?void 0:r.exit)!=null?i:xn.exit(bn.exit,n)})},enter:({transitionEnd:e,transition:t,delay:r})=>{var o;return {opacity:1,scale:1,transition:(o=t==null?void 0:t.enter)!=null?o:xn.enter(bn.enter,r),transitionEnd:e==null?void 0:e.enter}}},kg={initial:"exit",animate:"enter",exit:"exit",variants:rP},oP=ht.forwardRef(function(t,r){let y=t,{unmountOnExit:o,in:n,reverse:i=!0,initialScale:a=.95,className:s,transition:l,transitionEnd:c,delay:u}=y,f=k(y,["unmountOnExit","in","reverse","initialScale","className","transition","transitionEnd","delay"]),m=o?n&&o:!0,p=n||o?"enter":"exit",g={initialScale:a,reverse:i,transition:l,transitionEnd:c,delay:u};return jsxRuntime.jsx(rt,{custom:g,children:m&&jsxRuntime.jsx(Le.div,d(v(d({ref:r,className:_i("chakra-offset-slide",s)},kg),{animate:p,custom:g}),f))})});oP.displayName="ScaleFade";var iP={initial:({offsetX:e,offsetY:t,transition:r,transitionEnd:o,delay:n})=>{var i;return {opacity:0,x:e,y:t,transition:(i=r==null?void 0:r.exit)!=null?i:xn.exit(bn.exit,n),transitionEnd:o==null?void 0:o.exit}},enter:({transition:e,transitionEnd:t,delay:r})=>{var o;return {opacity:1,x:0,y:0,transition:(o=e==null?void 0:e.enter)!=null?o:xn.enter(bn.enter,r),transitionEnd:t==null?void 0:t.enter}},exit:({offsetY:e,offsetX:t,transition:r,transitionEnd:o,reverse:n,delay:i})=>{var a;let s={x:t,y:e};return d({opacity:0,transition:(a=r==null?void 0:r.exit)!=null?a:xn.exit(bn.exit,i)},n?v(d({},s),{transitionEnd:o==null?void 0:o.exit}):{transitionEnd:d(d({},s),o==null?void 0:o.exit)})}},Xa={initial:"initial",animate:"enter",exit:"exit",variants:iP},aP=ht.forwardRef(function(t,r){let b=t,{unmountOnExit:o,in:n,reverse:i=!0,className:a,offsetX:s=0,offsetY:l=8,transition:c,transitionEnd:u,delay:f}=b,m=k(b,["unmountOnExit","in","reverse","className","offsetX","offsetY","transition","transitionEnd","delay"]),p=o?n&&o:!0,g=n||o?"enter":"exit",y={offsetX:s,offsetY:l,reverse:i,transition:c,transitionEnd:u,delay:f};return jsxRuntime.jsx(rt,{custom:y,children:p&&jsxRuntime.jsx(Le.div,d(v(d({ref:r,className:_i("chakra-offset-slide",a),custom:y},Xa),{animate:g}),m))})});aP.displayName="SlideFade";var qa={enter:{duration:.2,ease:Za.easeOut},exit:{duration:.2,ease:Za.easeIn}},lP={slideOutTop:v(d({},Xa),{custom:{offsetY:"-100%",reverse:!0,transition:qa},initial:"enter"}),slideOutBottom:v(d({},Xa),{custom:{offsetY:"100%",reverse:!0,transition:qa},initial:"enter"}),fade:v(d({},Xa),{custom:{transition:qa},initial:"enter"}),scale:v(d({},kg),{custom:{initialScale:.1,reverse:!0,transition:qa},initial:"enter"}),none:{custom:{}}},cP=Er(Le.div),uP=ht__namespace.forwardRef((e,t)=>{let a=e,{motionPreset:r}=a,o=k(a,["motionPreset"]),n=lP[r],i=d({},n);return jsxRuntime.jsx(cP,d(d({ref:t},i),o))}),[fP,ho]=react.createStylesContext("SuiBanner"),_g={info:{icon:eP,colorScheme:"blue"},warning:{icon:Qh,colorScheme:"orange"},success:{icon:QT,colorScheme:"green"},error:{icon:Qh,colorScheme:"red"}},[dP,Tg]=Oe({name:"BannerContext",errorMessage:"useBannerContext: `context` is undefined. Seems you forgot to wrap banner components in `<Banner />`"}),mP=react.forwardRef((e,t)=>{var r;let y=react.omitThemingProps(e),{id:o,status:n="info",isOpen:i=!0,onClose:a,motionPreset:s="slideOutTop"}=y,l=k(y,["id","status","isOpen","onClose","motionPreset"]),c=(r=e.colorScheme)!=null?r:_g[n].colorScheme,u=react.useMultiStyleConfig("SuiBanner",v(d({},e),{colorScheme:c})),f=d({width:"100%",display:"flex",alignItems:"center",position:"relative",overflow:"hidden"},u.container),m={id:o||`banner-${react.useId()}`,status:n,onClose:a,isOpen:i},p=["warning","error"].includes(n)?"alert":"status",g=i?"enter":"exit";return jsxRuntime.jsx(dP,{value:m,children:jsxRuntime.jsx(fP,{value:u,children:jsxRuntime.jsx(rt,{children:i&&jsxRuntime.jsx(uP,v(d({id:m.id,role:p,ref:t,motionPreset:s,animate:g},l),{className:_("sui-banner",e.className),__css:f}))})})})});mP.displayName="Banner";var pP=react.forwardRef((e,t)=>{let r=ho();return jsxRuntime.jsx(react.chakra.div,v(d({ref:t},e),{className:_("sui-banner__content",e.className),__css:r.content}))});pP.displayName="BannerContent";var hP=react.forwardRef((e,t)=>{let r=ho();return jsxRuntime.jsx(react.chakra.div,v(d({ref:t},e),{className:_("sui-banner__title",e.className),__css:r.title}))});hP.displayName="BannerTitle";var gP=react.forwardRef((e,t)=>{let r=ho(),o=d({display:"inline"},r.description);return jsxRuntime.jsx(react.chakra.div,v(d({ref:t},e),{className:_("sui-banner__desc",e.className),__css:o}))});gP.displayName="BannerDescription";var yP=react.forwardRef((e,t)=>{let{children:r,variant:o}=e,n=ho();return jsxRuntime.jsx(react.chakra.div,v(d({ref:t},e),{className:_("sui-banner__actions",e.className),__css:n.actions,children:jsxRuntime.jsx(react.ButtonGroup,{variant:o,children:r})}))});yP.displayName="BannerActions";var bP=react.forwardRef((e,t)=>{let u=e,{onClick:r,className:o}=u,n=k(u,["onClick","className"]),{onClose:i,isOpen:a,id:s}=Tg(),l=_("sui-banner__close-btn",o),c=ho();return jsxRuntime.jsx(react.CloseButton,d({ref:t,__css:c.closeButton,className:l,onClick:St(r,f=>{f.stopPropagation(),i==null||i();}),"aria-controls":s,"aria-expanded":a!=null&&a.toString()?"true":"false"},n))});bP.displayName="BannerCloseButton";Oe({name:"UseCollapseReturn"});var [MP,Tn]=react.createStylesContext("SuiStructuredList"),Pg=react.forwardRef((e,t)=>{let c=e,{items:r,children:o}=c,n=k(c,["items","children"]),i=react.useMultiStyleConfig("SuiStructuredList",n),a=react.omitThemingProps(n),s;r?s=r.map((u,f)=>ht.createElement(Ag,v(d({},u),{key:u.id||f}))):s=o;let l=d({py:2,position:"relative"},i.list);return jsxRuntime.jsx(MP,{value:i,children:jsxRuntime.jsx(react.chakra.ul,v(d({ref:t,__css:l},a),{className:_("sui-list",e.className),children:s}))})});Pg.defaultProps={variant:"structured-list"};Pg.displayName="StructuredList";var Ag=react.forwardRef((e,t)=>{let g=e,{onClick:r,href:o,as:n,children:i}=g,a=k(g,["onClick","href","as","children"]),s=Tn(),l=!!(r||o),c=l?Eg:ht__namespace.Fragment,u=!!l,f=d(d({display:"flex",flexDirection:"row",alignItems:"center",justifyContent:"space-between",fontSize:"md"},s.item),u?{py:0,px:0}:{}),p=l?jsxRuntime.jsx(c,v(d({},l?{onClick:r,href:o,as:n}:{}),{children:i})):i;return jsxRuntime.jsx(react.chakra.li,v(d({ref:t,__css:f},a),{className:_("sui-list__item",e.className),children:p}))});Ag.displayName="StructuredListItem";var Eg=react.forwardRef((e,t)=>{let a=e,{children:r}=a,o=k(a,["children"]),n=Tn(),i=d({display:"flex",flexDirection:"row",alignItems:"center",justifyContent:"space-between",flex:1,cursor:"pointer",userSelect:"none"},n.button);return jsxRuntime.jsx(react.chakra.div,v(d({ref:t,__css:i,role:"button",tabIndex:0},o),{className:_("sui-list__item-button",e.className),children:r}))});Eg.displayName="StructuredListButton";var DP=react.forwardRef((e,t)=>{let r=vc(),i=e,{href:o}=i,n=k(i,["href"]);return jsxRuntime.jsx(react.Link,d({as:r,ref:t,href:o},n))});DP.displayName="Link";react.createStylesContext("SuiLoadingOverlay");react.chakra(Le.div);Oe({name:"UseContextMenuContext",strict:!1});var [k2,ts]=react.createStylesContext("SuiPersona"),ag={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"}},_2={online:"green.500",offline:"gray.400",busy:"orange.500",dnd:"red.500",away:"gray.400"};var Ig=react.forwardRef((e,t)=>{let l=e,{children:r}=l,o=k(l,["children"]),n=react.useMultiStyleConfig("SuiPersona",e),i=react.omitThemingProps(o),s=d(d({},{display:"flex",flexDirection:"row",alignItems:"center"}),n.container);return jsxRuntime.jsx(k2,{value:n,children:jsxRuntime.jsx(react.chakra.div,v(d({ref:t,__css:s},i),{className:_("sui-persona",e.className),children:r}))})});Ig.displayName="PersonaContainer";var Vg=react.forwardRef((e,t)=>{var r,o,n,i,a;let ue=e,{name:s,presence:l,presenceLabel:c,presenceIcon:u,isOutOfOffice:f,badgeSize:m="1em",size:p,getInitials:g,icon:y,iconLabel:b,ignoreFallback:x,loading:S,onError:C,src:w,srcSet:P}=ue,R=k(ue,["name","presence","presenceLabel","presenceIcon","isOutOfOffice","badgeSize","size","getInitials","icon","iconLabel","ignoreFallback","loading","onError","src","srcSet"]),A={},I,O=react.useTheme(),F=((r=O.colors)==null?void 0:r.presence)||_2,W=!!((n=(o=O.semanticTokens)==null?void 0:o.colors)!=null&&n["presence.online"]);if(l){let fe=c||((i=ag[l])==null?void 0:i.label),he=W?((a=ag[l])==null?void 0:a.color)||`presence.${l}`:F[l];f?(A.sx={_before:{content:'""',width:"100%",height:"100%",position:"absolute",top:0,left:0,border:"0.2em solid",borderColor:he,borderRadius:"50%",boxSizing:"border-box"}},A.borderWidth="0.15em",A.bg=react.useColorModeValue("white","gray.800")):A.bg=he,I=jsxRuntime.jsx(react.AvatarBadge,v(d({boxSize:m},A),{children:u})),fe&&(I=jsxRuntime.jsx(react.Tooltip,{label:fe,children:I}));}return jsxRuntime.jsx(react.Avatar,v(d({ref:t,name:s,size:p,getInitials:g,icon:y,iconLabel:b,ignoreFallback:x,loading:S,onError:C,src:w,srcSet:P},R),{children:I}))});Vg.displayName="PersonaAvatar";var Og=react.forwardRef((e,t)=>{let l=e,{children:r,className:o}=l,n=k(l,["children","className"]),i=ts(),s=d(d({},{display:"flex",flexDirection:"column"}),i.details);return jsxRuntime.jsx(react.chakra.div,v(d({ref:t},n),{__css:s,className:_("sui-persona__details",o),children:r}))});Og.displayName="PersonaDetails";var Ng=react.forwardRef((e,t)=>{let r=ts();return jsxRuntime.jsx(react.chakra.span,v(d({ref:t},e),{__css:r.label,className:_("sui-persona__label",e.className)}))});Ng.displayName="PersonaLabel";var $g=react.forwardRef((e,t)=>{let r=ts();return jsxRuntime.jsx(react.chakra.span,v(d({ref:t},e),{__css:r.secondaryLabel,className:_("sui-persona__secondary-label",e.className)}))});$g.displayName="PersonaSecondaryLabel";var Lg=react.forwardRef((e,t)=>{let r=ts();return jsxRuntime.jsx(react.chakra.span,v(d({ref:t},e),{__css:r.tertiaryLabel,className:_("sui-persona__tertiary-label",e.className)}))});Lg.displayName="PersonaTertiaryLabel";var[I2,Dg]=react.createStylesContext("SuiProperty"),V2=react.forwardRef((e,t)=>{let r=react.useMultiStyleConfig("SuiProperty",e),u=react.omitThemingProps(e),{children:o,label:n,value:i,labelWidth:a,spacing:s}=u,l=k(u,["children","label","value","labelWidth","spacing"]),c=d({minW:0,display:"flex",flexDirection:"row",alignItems:"center"},r.property);return jsxRuntime.jsx(I2,{value:r,children:jsxRuntime.jsxs(react.chakra.dl,v(d({ref:t,__css:c},l),{className:_("sui-property",e.className),children:[n&&jsxRuntime.jsx(jg,{width:a,minWidth:a,marginEnd:s,children:n}),i&&jsxRuntime.jsx(Bg,{children:i}),o]}))})});V2.displayName="Property";var jg=react.forwardRef((e,t)=>{let r=Dg(),c=e,{children:o,noOfLines:n=1,width:i,minWidth:a}=c,s=k(c,["children","noOfLines","width","minWidth"]),l=d({display:"flex",flexDirection:"row"},r.label);return i&&(l.minWidth=a||"auto",l.width=i),jsxRuntime.jsx(react.chakra.dt,v(d({ref:t,__css:l},s),{className:_("sui-property__label",e.className),children:jsxRuntime.jsx(react.chakra.span,{flex:"1",noOfLines:n,children:o})}))});jg.displayName="PropertyLabel";var Bg=react.forwardRef((e,t)=>{let r=Dg(),a=e,{children:o}=a,n=k(a,["children"]),i=d({display:"flex",flexDirection:"row",alignItems:"center",flex:1},r.value);return jsxRuntime.jsx(react.chakra.dd,v(d({ref:t,__css:i},n),{className:_("sui-property__value",e.className),children:o}))});Bg.displayName="PropertyValue";var B2=typeof window!="undefined";function sg(e){return B2?e?{x:e.scrollLeft,y:e.scrollTop}:{x:window.scrollX,y:window.scrollY}:{x:0,y:0}}var z2=e=>{let{elementRef:t,delay:r=30,callback:o,isEnabled:n}=e,i=ht.useRef(n?sg(t==null?void 0:t.current):{x:0,y:0}),a=null,s=()=>{let l=sg(t==null?void 0:t.current);typeof o=="function"&&o({prevPos:i.current,currPos:l}),i.current=l,a=null;};return ht.useEffect(()=>{if(!n)return;let l=()=>{r?a===null&&(a=setTimeout(s,r)):s();},c=(t==null?void 0:t.current)||window;return c.addEventListener("scroll",l),()=>c.removeEventListener("scroll",l)},[t==null?void 0:t.current,r,n]),i.current};function F2(e){let b=e,{ref:t,parentRef:r,height:o="3.5rem",shouldHideOnScroll:n=!1,disableScrollHandler:i=!1,onScrollPositionChange:a,motionProps:s}=b,l=k(b,["ref","parentRef","height","shouldHideOnScroll","disableScrollHandler","onScrollPositionChange","motionProps"]),c=ht.useRef(null);ht.useImperativeHandle(t,()=>c.current);let u=ht.useRef(0),f=ht.useRef(0),[m,p]=ht.useState(!1),g=()=>{if(c.current){let x=c.current.offsetWidth;x!==u.current&&(u.current=x);}};return Gh({ref:c,onResize:()=>{var x;((x=c.current)==null?void 0:x.offsetWidth)!==u.current&&g();}}),ht.useEffect(()=>{var x;g(),f.current=((x=c.current)==null?void 0:x.offsetHeight)||0;},[]),z2({elementRef:r,isEnabled:n||!i,callback:({prevPos:x,currPos:S})=>{a==null||a(S.y),n&&p(C=>{let w=S.y>x.y&&S.y>f.current;return w!==C?w:C});}}),{containerRef:c,height:o,isHidden:m,shouldHideOnScroll:n,motionProps:s,getContainerProps:(x={})=>v(d(d({},l),s),{"data-hidden":xe(m),ref:c,style:d(d({"--navbar-height":o},l.style),x==null?void 0:x.style)})}}function G2(e,t){return `${e} returned \`undefined\`. Seems you forgot to wrap component within ${t}`}function An(e={}){let{name:t,strict:r=!0,hookName:o="useContext",providerName:n="Provider",errorMessage:i,defaultValue:a}=e,s=ht.createContext(a);s.displayName=t;function l(){var c;let u=ht.useContext(s);if(!u&&r){let f=new Error(i!=null?i:G2(o,n));throw f.name="ContextError",(c=Error.captureStackTrace)==null||c.call(Error,f,l),f}return u}return [s.Provider,l,s]}var[U2,wU]=An({name:"NavbarContext",strict:!0,errorMessage:"useNavbarContext: `context` is undefined. Seems you forgot to wrap component within <Navbar />"}),[K2,rs]=An({name:"NavBarStylesContext",hookName:"useNavItemStyles",providerName:"<NavBar />"}),X2=react.chakra(Le.nav),Z2=react.forwardRef((e,t)=>{let l=e,{children:r}=l,o=k(l,["children"]),n=F2(v(d({},o),{ref:t})),i=react.useMultiStyleConfig("SuiNavbar",e),a=jsxRuntime.jsx(react.chakra.header,{__css:i.inner,className:"sui-navbar__inner",children:r}),s=d({top:e.position==="sticky"?"0":void 0,insetX:e.position==="sticky"?"0":void 0},i.container);return jsxRuntime.jsx(K2,{value:i,children:jsxRuntime.jsx(U2,{value:n,children:jsxRuntime.jsx(X2,v(d({__css:s,animate:n.isHidden?"hidden":"visible",initial:!1,variants:{hidden:{y:"-100%"},visible:{y:0,transition:{ease:"easeInOut"}}},className:_("sui-navbar",e.className)},n.getContainerProps()),{children:a}))})})});Z2.displayName="Navbar";var tA=react.forwardRef((e,t)=>{let a=e,{className:r,children:o}=a,n=k(a,["className","children"]),i=rs();return jsxRuntime.jsx(react.chakra.div,v(d({ref:t,__css:i.brand,className:_("sui-navbar__brand")},n),{children:o}))});tA.displayName="NavbarBrand";var iA=react.forwardRef((e,t)=>{let l=e,{className:r,children:o,spacing:n=0}=l,i=k(l,["className","children","spacing"]),a=rs(),s=v(d({},a.content),{"& > *:not(style) ~ *:not(style)":{marginStart:n}});return jsxRuntime.jsx(react.chakra.ul,v(d({ref:t,__css:s,className:_("sui-navbar__content",r)},i),{children:o}))});iA.displayName="NavbarContent";var cA=react.forwardRef((e,t)=>{let s=e,{className:r,children:o,isActive:n}=s,i=k(s,["className","children","isActive"]),a=rs();return jsxRuntime.jsx(react.chakra.li,v(d({ref:t,__css:a.item,className:_("sui-navbar__item",r),"data-active":xe(n)},i),{children:o}))});cA.displayName="NavbarItem";var dA=react.forwardRef((e,t)=>{let l=e,{className:r,children:o,isActive:n}=l,i=k(l,["className","children","isActive"]),a=vc(),s=rs();return jsxRuntime.jsx(a,v(d({ref:t,__css:s.link,"data-active":xe(n),className:_("sui-navbar__link",r)},i),{children:o}))});dA.displayName="NavbarLink";var [xA,Hg]=Oe({name:"SidebarContext",strict:!1}),[CA,wA]=An({name:"SidebarStylesContext",hookName:"useSidebarStyles",providerName:"<Sidebar />"}),kA=react.chakra(Le.nav),_A={slideInOut:{enter:{left:0,transition:{type:"spring",duration:.6,bounce:.15}},exit:{left:"-100%"}},none:{}},Cc=react.forwardRef((e,t)=>{var r,o,n;let i=react.useMultiStyleConfig("SuiSidebar",e),s=(r=react.useTheme().components.SuiSidebar)==null?void 0:r.defaultProps,l=sc((o=e.variant)!=null?o:s==null?void 0:s.variant,{fallback:"base"}),c=sc((n=e.size)!=null?n:s==null?void 0:s.size,{fallback:"base"}),u=l==="compact",Co=react.omitThemingProps(e),{spacing:f=4,children:m,toggleBreakpoint:p,className:g,motionPreset:y="slideInOut",isOpen:b,onOpen:x,onClose:S}=Co,C=k(Co,["spacing","children","toggleBreakpoint","className","motionPreset","isOpen","onOpen","onClose"]),w=Cg(),P=Sg(p),R=react.useBreakpointValue(P,{fallback:void 0}),A=react.useBreakpointValue(P),I=typeof R=="undefined",O=typeof b!="undefined",F=(R||O)&&!u,W=react.useDisclosure({isOpen:b||(w==null?void 0:w.isSidebarOpen),onOpen:x||(w==null?void 0:w.openSidebar),onClose:S||(w==null?void 0:w.closeSidebar)}),{isOpen:ue,onClose:fe,onOpen:he}=W;ht__namespace.useEffect(()=>{I&&A||u||O||(A?fe():he());},[I,u,A]);let G=d({"& > *:not(style) ~ *:not(style, .sui-resize-handle, .sui-sidebar__toggle-button + *)":{marginTop:f},display:"flex",flexDirection:"column"},R&&F?{position:"absolute",zIndex:"modal",top:0,left:{base:"-100%",lg:"0"},bottom:0}:{position:"relative"}),ee=v(d({},W),{breakpoints:P,isMobile:R,variant:l,size:c}),ot=_A[u?"none":y||"none"];return jsxRuntime.jsx(xA,{value:ee,children:jsxRuntime.jsx(CA,{value:i,children:jsxRuntime.jsx(kA,v(d({ref:t,initial:!1,animate:!I&&(!F||ue?"enter":"exit"),variants:ot,__css:d(d({},G),i.container)},C),{id:W.getDisclosureProps().id,className:_("sui-sidebar",g),"data-compact":xe(u),"data-collapsible":xe(R&&F),children:m}))})})});Cc.defaultProps={variant:"default",toggleBreakpoint:"lg"};Cc.displayName="Sidebar";Cc.id="Sidebar";An({name:"NavGroupStylesContext",hookName:"useNavItemStyles",providerName:"<NavItem />"});var [OA,Kg]=An({name:"NavItemStylesContext",hookName:"useNavItemStyles",providerName:"<NavItem />"});var Jg=react.forwardRef((o,r)=>{var n=o,{children:e}=n,t=k(n,["children"]);let i=Kg();return jsxRuntime.jsx(react.chakra.span,v(d({ref:r,__css:i.label},t),{className:_("sui-nav-item__label",t.className),children:e}))});Jg.displayName="NavItemLabel";var Qg=e=>{let t=Kg(),s=e,{className:r,children:o}=s,n=k(s,["className","children"]),i=ht__namespace.Children.only(o),a=ht__namespace.isValidElement(i)?ht__namespace.cloneElement(i,{focusable:"false","aria-hidden":!0}):null;return jsxRuntime.jsx(react.chakra.span,v(d({},n),{className:_("sui-nav-item__icon",e.className),__css:d({flexShrink:0},t.icon),children:a}))};Qg.displayName="NavItemIcon";var BA=react.forwardRef((e,t)=>{let C=react.omitThemingProps(e),{href:r="#",icon:o,inset:n,className:i,tooltipProps:a,isActive:s,children:l}=C,c=k(C,["href","icon","inset","className","tooltipProps","isActive","children"]),u=vc(),{onClose:f,variant:m}=Hg()||{},p=m==="compact",g=react.useMultiStyleConfig("SuiNavItem",e),y=l,b=a==null?void 0:a.label;typeof y=="string"&&(!b&&p&&(b=y),y=jsxRuntime.jsx(Jg,{children:y}));let x;r&&r!=="#"&&(x=u);let S=jsxRuntime.jsx(react.chakra.a,v(d({as:x,"aria-current":s?"page":void 0},c),{ref:t,href:r,className:"sui-nav-item__link","data-active":xe(s),__css:g.link,children:jsxRuntime.jsxs(react.chakra.span,{__css:v(d({},g.inner),{pl:n}),className:"sui-nav-item__inner",children:[o&&jsxRuntime.jsx(Qg,{children:o}),y]})}));return jsxRuntime.jsx(OA,{value:g,children:jsxRuntime.jsx(react.Tooltip,v(d({label:b,placement:"right",openDelay:400},a),{children:jsxRuntime.jsx(react.chakra.div,{__css:g.item,onClick:f,"data-compact":xe(p),className:_("sui-nav-item",i),children:S})}))})});BA.displayName="NavItem";var ey=react.forwardRef((e,t)=>{let C=e,{value:r,defaultValue:o,size:n,variant:i,icon:a,resetIcon:s,rightElement:l,onChange:c,onReset:u,onKeyDown:f}=C,m=k(C,["value","defaultValue","size","variant","icon","resetIcon","rightElement","onChange","onReset","onKeyDown"]),p=react.useMultiStyleConfig("SuiSearchInput",e),[g,y]=react.useControllableState({value:r,defaultValue:o}),b=ht__namespace.useCallback(w=>{y(w.target.value);},[y]),x=ht__namespace.useCallback(w=>{w.key==="Escape"&&(y(""),u==null||u());},[u,y]),S=n==="lg"?"sm":"xs";return jsxRuntime.jsxs(react.InputGroup,{size:n,children:[jsxRuntime.jsx(react.InputLeftElement,{children:a||jsxRuntime.jsx(Qf,{})}),jsxRuntime.jsx(react.Input,d({type:"text",size:n,value:g,ref:t,sx:p.input,onChange:St(b,c),onKeyDown:St(x,f)},m)),jsxRuntime.jsx(react.InputRightElement,{children:g?jsxRuntime.jsx(react.IconButton,{onClick:u,size:S,variant:"ghost","aria-label":"Reset search",icon:s||jsxRuntime.jsx(Jf,{}),sx:p.reset}):l})]})});ey.defaultProps={placeholder:"Search"};ey.displayName="SearchInput";var[lE,cE]=Oe({name:"StepperContext",errorMessage:"useStepperContext: `context` is undefined. Seems you forgot to wrap stepper components in `<Stepper />`"});function uE(e){let{step:t,onChange:r}=e,[o,n]=ht__namespace.useState(0),i=ht__namespace.useRef([]),[,a]=ht__namespace.useState(Date.now()),s=ht__namespace.useCallback(p=>{let g=[...i.current];g.indexOf(p)===-1&&g.push(p),i.current=g,a(Date.now());},[i,a]),l=p=>{i.current=i.current.slice(i.current.indexOf(p),1);},c=p=>{let g=i.current.indexOf(p);g!==-1&&n(g);},u=()=>{n(o+1);},f=()=>{n(o-1);};return ht__namespace.useEffect(()=>{typeof t=="string"?c(t):typeof t=="number"?n(t):o===-1&&n(0);},[t]),ht__namespace.useEffect(()=>{r==null||r(o);},[o,r]),{stepsRef:i,activeStep:i.current[o],activeIndex:o,isFirstStep:o===0,isLastStep:o===i.current.length-1,isCompleted:o>=i.current.length,setIndex:n,setStep:c,nextStep:u,prevStep:f,registerStep:s,unregisterStep:l}}function fE(e){let{name:t,isActive:r,isCompleted:o}=e,{registerStep:n,unregisterStep:i,activeStep:a}=cE();return ht__namespace.useEffect(()=>{if(t)return n(t),()=>{i(t);}},[]),{isActive:t?a===t:r,isCompleted:o}}var[dE,mE]=react.createStylesContext("Stepper"),pE=react.forwardRef((e,t)=>{var r,o,n,i;let F=e,{children:a,orientation:s="horizontal",index:l,step:c,onChange:u,variant:f,colorScheme:m,size:p,stepperProps:g}=F,y=k(F,["children","orientation","index","step","onChange","variant","colorScheme","size","stepperProps"]),b=react.useMultiStyleConfig("Stepper",e),x=uE({step:c!=null?c:l,onChange:u}),{activeIndex:S}=x,C=s==="vertical",w=Yh(a,ny),P=d({position:"relative"},b.item),R=w.reduce((W,ue,fe,he)=>{let G=ht__namespace.cloneElement(ue,v(d({key:fe},ue.props),{isActive:S===fe,isCompleted:ue.props.isCompleted||S>fe}));return C?W.push(jsxRuntime.jsxs(react.chakra.div,{className:"sui-steps__item",__css:P,children:[G,jsxRuntime.jsx(gc,{isOpen:S===fe,orientation:s,children:ue.props.children}),fe<he.length-1?jsxRuntime.jsx(react.StepSeparator,{}):null]},`content-${fe}`)):W.push(G),W},[]),A=Kh(a,iy),I=(o=(r=w[S])==null?void 0:r.props)==null?void 0:o.children,O=S>=w.length?A:!C&&I?jsxRuntime.jsx(gc,{orientation:s,children:(i=(n=w[S])==null?void 0:n.props)==null?void 0:i.children}):null;return jsxRuntime.jsx(dE,{value:b,children:jsxRuntime.jsx(lE,{value:x,children:jsxRuntime.jsxs(react.chakra.div,v(d({ref:t,__css:b.container},y),{className:_("sui-steps",e.className),children:[jsxRuntime.jsx(react.Stepper,v(d({index:S,orientation:s,variant:f,colorScheme:m,size:p},g),{children:R})),O]}))})})});pE.displayName="Steps";var ny=e=>{let s=e,{render:t,icon:r,title:o,description:n}=s,i=k(s,["render","icon","title","description"]),a=fE(i);return t?t(d(d({},a),e)):jsxRuntime.jsxs(react.Step,{children:[jsxRuntime.jsx(react.StepIndicator,{children:jsxRuntime.jsx(react.StepStatus,{complete:jsxRuntime.jsx(react.StepIcon,{}),incomplete:jsxRuntime.jsx(react.StepNumber,{children:r}),active:jsxRuntime.jsx(react.StepNumber,{})})}),jsxRuntime.jsxs(react.Box,{flexShrink:"0",children:[jsxRuntime.jsx(react.StepTitle,{children:o}),n&&jsxRuntime.jsx(react.StepDescription,{children:n})]}),jsxRuntime.jsx(react.StepSeparator,{})]})};ny.displayName="StepsItem";var gc=e=>{let a=e,{children:t,isOpen:r=!0,orientation:o="horizontal"}=a,n=k(a,["children","isOpen","orientation"]),i=mE();return jsxRuntime.jsx(react.chakra.div,v(d({},n),{__css:i.content,className:_("sui-steps__content",e.className),"data-orientation":o,children:o==="vertical"?jsxRuntime.jsx(react.Collapse,{in:r,style:{overflow:r?"visible":"hidden"},children:jsxRuntime.jsx(react.chakra.div,{p:"2px",children:r?t:null})}):t}))};gc.displayName="StepsContent";var iy=e=>{let t={};return jsxRuntime.jsx(react.chakra.div,v(d({__css:t},e),{className:_("sui-steps__completed",e.className)}))};iy.displayName="StepsCompleted";var[SE,xo]=react.createStylesContext("SuiTimeline");var wE=react.forwardRef((e,t)=>{let a=e,{children:r}=a,o=k(a,["children"]),n=xo(),i=d({display:"flex"},n.item);return jsxRuntime.jsx(react.chakra.li,v(d({},o),{ref:t,__css:i,className:_("sui-timeline__item",e.className),children:r}))});wE.displayName="TimelineItem";react.forwardRef(e=>{let u=e,{icon:t,children:r,isRound:o,"aria-label":n}=u,i=k(u,["icon","children","isRound","aria-label"]),a=react.useStyleConfig("SuiIconBadge",e),s=t||r,l=ht.isValidElement(s)?ht.cloneElement(s,{"aria-hidden":!0,focusable:!1}):null,c=d({display:"inline-flex",alignItems:"center",justifyContent:"center"},a);return jsxRuntime.jsx(react.chakra.div,v(d({__css:c,borderRadius:o?"full":void 0,"aria-label":n},i),{className:_("sui-icon-badge",e.className),children:l}))});var En=typeof window!="undefined";function LE(e,t){if(En&&"localStorage"in window)return t===void 0?localStorage.removeItem(e):localStorage.setItem(e,t)}function ly(e){if(En&&"localStorage"in window)return localStorage.getItem(e)}var DE=e=>{try{return JSON.stringify(e)}catch(t){throw new Error("useLocalStorage: failed to serialize the value to JSON")}},jE=e=>{try{return e&&JSON.parse(e)}catch(t){return e}},BE=e=>{let t=new CustomEvent("use-local-storage",{detail:e});window.dispatchEvent(t);},cy=(e,t,r={})=>{let{serialize:o=DE,deserialize:n=jE}=r,i=ht__namespace.default.useRef(!1),[a,s]=ht.useState(()=>{var l;return En?n((l=ly(e))!=null?l:void 0):t});return ht.useEffect(()=>{let l=c=>{let u=c instanceof CustomEvent,f=u?c.detail.key:c.key,m=u?c.detail.newValue:c.newValue;(u||c.storageArea===window.localStorage)&&f===e&&s(n(m!=null?m:void 0));};return En&&(window.addEventListener("storage",l),window.addEventListener("use-local-storage",l)),()=>{En&&(window.removeEventListener("storage",l),window.removeEventListener("use-local-storage",l));}},[]),ht.useEffect(()=>{if(!i.current){i.current=!0;return}let l=o(a);ly(e)!==l&&(LE(e,l),BE({key:e,newValue:l}));},[a]),[a===void 0?t:a,s]};var WE={black:"#0e1012",primary:{50:"#f6f7fd",100:"#dcdff5",200:"#bec3ed",300:"#9aa1e2",400:"#858edd",500:"#6b75d0",600:"#5a63af",700:"#484f8d",800:"#3d4377",900:"#2c3056"},grayAlpha:{50:"rgba(249, 249, 250, 0.5)",100:"rgba(241, 241, 243, 0.5)",200:"rgba(231, 231, 234, 0.5)",300:"rgba(211, 212, 216, 0.5)",400:"rgba(171, 172, 181, 0.5)",500:"rgba(124, 126, 139, 0.5)",600:"rgba(81, 84, 101, 0.5)",700:"rgba(52, 54, 67, 0.5)",800:"rgba(30, 32, 39, 0.5)",900:"rgba(24, 25, 31, 0.5)"},gray:{50:"#f9f9fa",100:"#f1f1f3",200:"#e7e7ea",300:"#d3d4d8",400:"#abacb5",500:"#7c7e8b",600:"#515465",700:"#343643",800:"#1e2027",900:"#18191f"},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"}},Pc=WE,HE={heading:"InterVariable, sans-serif",body:"InterVariable, sans-serif"},GE={xs:"0.75rem",sm:"0.8125rem",md:"0.875rem",lg:"1rem",xl:"1.125rem","2xl":"1.5rem","3xl":"1.875rem","4xl":"2.25rem","5xl":"3rem","6xl":"3.75rem","7xl":"4.5rem","8xl":"6rem","9xl":"8rem"},UE={},KE={container:{sm:"30em",md:"48em",lg:"62em",xl:"80em","2xl":"96em"}},qE=KE,YE={xs:"rgb(0 0 0 / 7%) 0px 1px 1px","dark-xs":"rgb(0 0 0 / 7%) 0px 1px 1px",outline:`0 0 0 2px ${te(Pc.primary[500],.6)({colors:Pc})}`},XE=YE,ZE={colors:{muted:{default:"gray.500",_dark:"gray.400"}}},{definePartsStyle:gy,defineMultiStyleConfig:JE}=T(Wo.keys),uy=N("alert-fg"),fy=N("alert-bg"),Ac=N("alert-border");function QE(e){let{theme:t,colorScheme:r}=e,o=te(`${r}.600`,.16)(t);return {light:`colors.${r}.100`,dark:o}}function eR(e){let{theme:t,colorScheme:r}=e,o=te(`${r}.300`,.16)(t);return {light:`colors.${r}.200`,dark:o}}var tR=gy(e=>{let{colorScheme:t}=e,r=QE(e),o=eR(e);return {container:{borderWidth:"1px",[uy.variable]:`colors.${t}.500`,[fy.variable]:r.light,[Ac.variable]:o.light,_dark:{[uy.variable]:`colors.${t}.500`,[fy.variable]:r.dark,[Ac.variable]:o.dark}}}}),rR=gy(()=>({container:{borderColor:Ac.reference,borderRadius:"md",fontSize:"sm"},icon:{w:4,h:5},title:{fontSize:"sm",fontWeight:"medium"},description:{color:"muted"}})),oR=JE({defaultProps:{size:"sm",colorScheme:"primary"},baseStyle:rR,variants:{subtle:tR}}),yy=e=>{let{colorScheme:t}=e,r=`${t}.500`,o=`${t}.600`;return {borderWidth:"1px",borderColor:r,boxShadow:"xs",bg:r,color:"white",fontWeight:"medium",_hover:{borderColor:o,bg:o},_dark:{boxShadow:"dark-xs"}}},nR=e=>({fontWeight:"medium",_checked:{bg:"blackAlpha.100"},_dark:{_checked:{bg:"whiteAlpha.100"}}}),iR=e=>{let{colorScheme:t}=e;return t==="gray"?{fontWeight:"medium"}:{fontWeight:"medium",color:`${t}.500`,_hover:{color:`${t}.400`,bg:"blackAlpha.50"},_dark:{color:`${t}.500`,_hover:{color:`${t}.400`,bg:"whiteAlpha.50"}}}},aR=e=>yy(v(d({},e),{colorScheme:"primary"})),sR={borderWidth:"1px",borderColor:"gray.200",boxShadow:"xs",bg:"white",fontWeight:"medium",color:"inherit",_hover:{borderColor:"gray.300",bg:"gray.50"},_dark:{boxShadow:"dark-xs",borderColor:"gray.600",bg:"gray.700",_hover:{borderColor:"gray.500",bg:"gray.600"}}},lR={borderWidth:"1px",borderColor:"gray.200",bg:"gray.200",color:"black",fontWeight:"medium",_hover:{borderColor:"gray.300",bg:"gray.200"},_dark:{borderColor:"gray.700",bg:"gray.700",color:"white",_hover:{borderColor:"gray.600"}}},cR={lg:{h:"8",minW:"10",fontSize:"md",px:"4",rounded:"6"},md:{h:"7",minW:"8",fontSize:"sm",px:"3",rounded:"4"},sm:{h:"6",minW:"6",fontSize:"sm",px:"2",rounded:"3"},xs:{h:"5",minW:"4",fontSize:"xs",px:"1",rounded:"3"}},uR={defaultProps:{size:"md",variant:"secondary"},variants:{solid:yy,outline:iR,ghost:nR,primary:aR,secondary:sR,tertiary:lR},sizes:cR},vy=M("card").parts("container","header","title","subtitle","body","footer"),{definePartsStyle:ss}=T(vy.keys),fR=N("card-bg"),wc=N("card-padding"),dR=N("card-shadow"),kc=N("card-radius"),mR=N("card-border-width","0"),ns=N("card-border-color"),pR={sm:ss({container:{[kc.variable]:"radii.base",[wc.variable]:"space.3"}}),md:ss({container:{[kc.variable]:"radii.md",[wc.variable]:"space.4"}}),lg:ss({container:{[kc.variable]:"radii.xl",[wc.variable]:"space.6"}})},dy=ss(e=>{let{isHoverable:t}=e;return {container:{[ns.variable]:"colors.blackAlpha.200",[mR.variable]:"1px",[dR.variable]:"shadows.sm",_hover:t?{[ns.variable]:"colors.blackAlpha.300"}:{},_dark:{[fR.variable]:"colors.gray.700",[ns.variable]:"colors.whiteAlpha.50",_hover:t?{[ns.variable]:"colors.whiteAlpha.300"}:{}}}}}),hR={parts:vy.keys,defaultProps:{variant:"elevated"},variants:{elevated:dy,shadow:dy},sizes:pR},gR={baseStyle:e=>{let{colorScheme:t}=e;return {control:{_checked:{borderColor:`${t}.500`,bg:`${t}.500`,color:"white"}}}}},yR={size:"sm"},vR={defaultProps:yR},{defineMultiStyleConfig:bR,definePartsStyle:xR}=T(zs.keys),my=N("drawer-bg"),SR={bg:"blackAlpha.50"},CR=e=>({borderRadius:"md",margin:"8px",borderWidth:"1px",borderColor:"chakra-border-color",backdropFilter:"blur(10px) contrast(100%) saturate(100%) brightness(200%)",[my.variable]:"colors.whiteAlpha.800",fontSize:"md",_dark:{backdropFilter:"blur(10px) saturate(190%) contrast(70%) brightness(80%)",[my.variable]:"colors.grayAlpha.700"}}),wR={px:"4",py:"3",fontSize:"md",fontWeight:"semibold"},kR={position:"absolute",top:"2",insetEnd:"3"},_R=e=>({px:"4",py:"2"}),TR={px:"3",py:"3"},PR=xR(e=>({overlay:SR,dialog:se(CR,e),header:wR,closeButton:kR,body:se(_R,e),footer:TR})),AR=bR({baseStyle:PR}),ER=AR,{definePartsStyle:RR}=T(Kt.keys);function MR(e){let{focusBorderColor:t,errorBorderColor:r}=e;return {focusBorderColor:t||Y("blue.500","blue.300")(e),errorBorderColor:r||Y("red.500","red.300")(e)}}var by=RR(e=>{let{theme:t}=e,{focusBorderColor:r,errorBorderColor:o}=MR(e);return {field:{border:"1px solid var(--chakra-colors-chakra-border-color)",bg:"inherit",_hover:{borderColor:"gray.300"},_invalid:{borderColor:ae(t,o),boxShadow:"none"},_focusVisible:{zIndex:1,borderColor:ae(t,r),boxShadow:"none"},_dark:{bg:"gray.900",borderColor:"chakra-border-color",_hover:{borderColor:"whiteAlpha.400"},_invalid:{borderColor:ae(t,o)},_focusVisible:{borderColor:ae(t,r)}}},addon:{borderColor:"inherit",bg:"gray.100",_dark:{borderColor:"whiteAlpha.50",bg:"whiteAlpha.300"}}}}),IR={sm:{field:{borderRadius:"4px",h:7},addon:{borderRadius:"4px",h:7}},md:{field:{px:3,h:9},addon:{px:3,h:9}}},Rn={defaultProps:{variant:"outline",size:"sm",focusBorderColor:"primary.500"},variants:{outline:by},sizes:IR},VR={FormLabel:{baseStyle:{mb:1},variants:{horizontal:{mb:0,marginStart:"0.5rem"}}},Input:Rn,NumberInput:Rn,PinInput:Rn,Textarea:{defaultProps:Rn.defaultProps,variants:{outline:e=>by(e).field}},Select:Rn},OR={defaultProps:{size:"lg"}},_c=N("kbd-bg"),NR={[_c.variable]:"colors.blackAlpha.300",_dark:{[_c.variable]:"colors.whiteAlpha.300"},bg:_c.reference,borderRadius:"md",borderWidth:"0",borderBottomWidth:"0",padding:"1px",minW:"20px",textAlign:"center",":last-child":{mr:0}},$R={defaultProps:{variant:"solid"},baseStyle:NR},LR=$R,{defineMultiStyleConfig:DR,definePartsStyle:jR}=T(Ho.keys),qe=N("menu-bg"),Tc=N("menu-shadow"),BR={[qe.variable]:"colors.whiteAlpha.500",[Tc.variable]:"shadows.lg",backdropFilter:"blur(10px) contrast(100%) saturate(190%)",_dark:{[qe.variable]:"colors.grayAlpha.700",[Tc.variable]:"shadows.dark-lg",backdropFilter:"blur(10px) saturate(190%) contrast(70%) brightness(80%)"},py:"1",borderRadius:"md",borderWidth:"1px",bg:qe.reference,boxShadow:Tc.reference},zR={py:"1.5",px:"3",mx:"1",rounded:"md",fontSize:"sm",width:"calc(100% - 8px)",boxSizing:"border-box",bg:"transparent",_hover:{bg:qe.reference,[qe.variable]:"colors.grayAlpha.300"},_focus:{bg:qe.reference,[qe.variable]:"colors.grayAlpha.300"},_active:{bg:qe.reference,[qe.variable]:"colors.grayAlpha.300"},_expanded:{bg:qe.reference,[qe.variable]:"colors.grayAlpha.300"}},FR={mx:4,my:2,fontWeight:"semibold",fontSize:"sm"},WR={transitionProperty:"common",transitionDuration:"normal"},HR={my:"1"},GR=jR({button:WR,list:BR,item:zR,groupTitle:FR,divider:HR}),UR=DR({baseStyle:GR}),KR=UR,{defineMultiStyleConfig:qR,definePartsStyle:YR}=T(Go.keys),XR={bg:"blackAlpha.50"},ZR=e=>({bg:"whiteAlpha.800",backdropFilter:"blur(10px) contrast(100%) saturate(100%) brightness(200%)",fontSize:"md",_dark:{bg:"grayAlpha.700",boxShadow:"dark-lg",backdropFilter:"blur(10px) saturate(190%) contrast(70%) brightness(80%)"}}),JR={px:"4",py:"3",fontSize:"md",fontWeight:"semibold"},QR={position:"absolute",top:"2",insetEnd:"3"},eM=e=>({px:"4",py:"2"}),tM={px:"3",py:"3"},rM=YR(e=>({overlay:XR,dialog:se(ZR,e),header:JR,closeButton:QR,body:se(eM,e),footer:tM})),oM=qR({baseStyle:rM,defaultProps:{size:"md"}}),nM=oM,{defineMultiStyleConfig:iM}=T(Uo.keys),aM=iM({defaultProps:{colorScheme:"primary"},baseStyle:e=>{let{colorScheme:t}=e;return {track:{borderRadius:"md",bg:"gray.200",_dark:{bg:"gray.800"}},filledTrack:{bg:`${t}.500`}}}}),{defineMultiStyleConfig:sM,definePartsStyle:lM}=T(Ws.keys),is=N("popper-bg"),cM=N("popper-arrow-bg"),py=N("popper-arrow-shadow-color"),uM={[is.variable]:"colors.whiteAlpha.800",bg:is.reference,[cM.variable]:is.reference,[py.variable]:"colors.gray.200",backdropFilter:"blur(10px) contrast(100%) saturate(100%) brightness(200%)",_dark:{[is.variable]:"colors.grayAlpha.700",[py.variable]:"colors.whiteAlpha.300",backdropFilter:"blur(10px) saturate(190%) contrast(70%) brightness(80%)"}},fM=lM(e=>({content:se(uM,e)})),dM=sM({baseStyle:fM,defaultProps:{size:"md"}}),mM=dM,pM={baseStyle:e=>{let{colorScheme:t}=e;return {control:{_checked:{borderColor:`${t}.500`,bg:`${t}.500`,color:"white"}}}}},hM={defaultProps:{colorScheme:"primary"},baseStyle:e=>{let{colorScheme:t}=e;return {filledTrack:{bg:`${t}.500`}}}},{defineMultiStyleConfig:gM,definePartsStyle:yM}=T(Ko.keys),Mn=Ue("switch-bg"),vM=e=>{let{colorScheme:t}=e;return {[Mn.variable]:"colors.gray.300",_dark:{[Mn.variable]:"colors.whiteAlpha.300"},_checked:{[Mn.variable]:`colors.${t}.500`,_dark:{[Mn.variable]:`colors.${t}.500`}},bg:Mn.reference}},bM={bg:"white",_dark:{bg:"blackAlpha.800",_checked:{bg:"white"}}},xM=yM(e=>({track:vM(e),thumb:bM})),SM=gM({baseStyle:xM,defaultProps:{size:"md",colorScheme:"primary"}}),CM=SM,as=Ue("tooltip-bg"),hy=Ue("tooltip-fg"),wM=Ue("popper-arrow-bg"),kM=e=>({display:"flex",[as.variable]:"colors.white",[hy.variable]:"colors.blackAlpha.900",_dark:{[as.variable]:"colors.gray.700",[hy.variable]:"colors.whiteAlpha.900"},px:"8px",py:"2px",bg:[as.reference],[wM.variable]:[as.reference],borderRadius:"sm",fontWeight:"medium",fontSize:"xs",boxShadow:"md",maxW:"320px",zIndex:"tooltip",borderWidth:"1px"}),_M={baseStyle:kM},TM=d({Alert:oR,Button:uR,Card:hR,Checkbox:gR,CloseButton:vR,Drawer:ER,Heading:OR,Kbd:LR,Menu:KR,Modal:nM,Progress:aM,Popover:mM,Radio:pM,Slider:hM,Switch:CM,Tooltip:_M},VR),xy=react.extendTheme({colors:Pc,fonts:HE,fontSizes:GE,textStyles:UE,sizes:qE,components:TM,shadows:XE,semanticTokens:ZE},react.withDefaultColorScheme({colorScheme:"primary",components:["Radio","Switch","Checkbox"]}));var AM=react.extendTheme(xy,tn),EM=()=>{let[e,t]=cy("storybook.theme","1");return ht__namespace.useEffect(()=>{let r=managerApi.addons.getChannel(),o=n=>{console.log(n),t(n);};return r.on(nt.SET_THEME,o),()=>{r.removeListener(nt.SET_THEME,o);}},[t]),e},Cy=previewApi.makeDecorator({name:"ChakraProviderDecorator",parameterName:"chakra",skipIfNoParametersOrOptions:!1,wrapper:(e,t,{parameters:r})=>{let {parameters:{saasui:o},globals:{[Wc]:n}}=t,i=EM(),a=ht__namespace.useCallback(()=>{switch(i){case"1":return tn;case"2":return AM;default:return ll}},[i]),s=(o==null?void 0:o.theme)||a();!!(o!=null&&o.theme);let c=o!=null&&o.theme?typeof o.theme=="function"?o.theme(t):o.theme:s,u=Uc(n||(c==null?void 0:c.direction)),f=ht__namespace.useMemo(()=>react.extendTheme({direction:u,styles:{global:{body:{minHeight:"var(--chakra-vh)"}}}},c),[c,u]);return jsxRuntime.jsxs(bg,v(d({},o),{theme:f,children:[jsxRuntime.jsx(Hc,{}),e(t)]}))}});var IM={decorators:[Cy]},Wq=IM;/*! Bundled license information:
|
36
|
+
`),()=>{document.head.removeChild(c);}},[t]),ht__namespace.createElement(ic,{isPresent:t,childRef:o,sizeRef:n},ht__namespace.cloneElement(e,{ref:o}))}var Ua=({children:e,initial:t,isPresent:r,onExitComplete:o,custom:n,presenceAffectsLayout:i,mode:a})=>{let s=Xi(rT),l=ht.useId(),c=ht.useMemo(()=>({id:l,initial:t,isPresent:r,custom:n,onExitComplete:u=>{s.set(u,!0);for(let f of s.values())if(!f)return;o&&o();},register:u=>(s.set(u,!1),()=>s.delete(u))}),i?void 0:[r]);return ht.useMemo(()=>{s.forEach((u,f)=>s.set(f,!1));},[r]),ht__namespace.useEffect(()=>{!r&&!s.size&&o&&o();},[r]),a==="popLayout"&&(e=ht__namespace.createElement(Wh,{isPresent:r},e)),ht__namespace.createElement(Et.Provider,{value:c},e)};function rT(){return new Map}function Gh(e){return ht.useEffect(()=>()=>e(),[])}var ur=e=>e.key||"";function lT(e,t){e.forEach(r=>{let o=ur(r);t.set(o,r);});}function cT(e){let t=[];return ht.Children.forEach(e,r=>{ht.isValidElement(r)&&t.push(r);}),t}var rt=({children:e,custom:t,initial:r=!0,onExitComplete:o,exitBeforeEnter:n,presenceAffectsLayout:i=!0,mode:a="sync"})=>{let s=ht.useContext($r).forceRender||zh()[0],l=Ga(),c=cT(e),u=c,f=ht.useRef(new Map).current,m=ht.useRef(u),p=ht.useRef(new Map).current,g=ht.useRef(!0);if(Nr(()=>{g.current=!1,lT(c,p),m.current=u;}),Gh(()=>{g.current=!0,p.clear(),f.clear();}),g.current)return ht__namespace.createElement(ht__namespace.Fragment,null,u.map(S=>ht__namespace.createElement(Ua,{key:ur(S),isPresent:!0,initial:r?void 0:!1,presenceAffectsLayout:i,mode:a},S)));u=[...u];let y=m.current.map(ur),b=c.map(ur),x=y.length;for(let S=0;S<x;S++){let C=y[S];b.indexOf(C)===-1&&!f.has(C)&&f.set(C,void 0);}return a==="wait"&&f.size&&(u=[]),f.forEach((S,C)=>{if(b.indexOf(C)!==-1)return;let w=p.get(C);if(!w)return;let P=y.indexOf(C),E=S;if(!E){let A=()=>{f.delete(C);let M=Array.from(p.keys()).filter(O=>!b.includes(O));if(M.forEach(O=>p.delete(O)),m.current=c.filter(O=>{let B=ur(O);return B===C||M.includes(B)}),!f.size){if(l.current===!1)return;s(),o&&o();}};E=ht__namespace.createElement(Ua,{key:ur(w),isPresent:!1,onExitComplete:A,custom:t,presenceAffectsLayout:i,mode:a},w),f.set(C,E);}u.splice(P,0,E);}),u=u.map(S=>{let C=S.key;return f.has(C)?S:ht__namespace.createElement(Ua,{key:ur(S),isPresent:!0,presenceAffectsLayout:i,mode:a},S)}),ht__namespace.createElement(ht__namespace.Fragment,null,f.size?u:u.map(S=>ht.cloneElement(S)))};typeof document!="undefined"?ht__namespace.default.useLayoutEffect:()=>{};var vn=new Map,Uh=new Set;function Kh(){if(typeof window=="undefined")return;let e=r=>{let o=vn.get(r.target);o||(o=new Set,vn.set(r.target,o),r.target.addEventListener("transitioncancel",t)),o.add(r.propertyName);},t=r=>{let o=vn.get(r.target);if(o&&(o.delete(r.propertyName),o.size===0&&(r.target.removeEventListener("transitioncancel",t),vn.delete(r.target)),vn.size===0)){for(let n of Uh)n();Uh.clear();}};document.body.addEventListener("transitionrun",e),document.body.addEventListener("transitionend",t);}typeof document!="undefined"&&(document.readyState!=="loading"?Kh():document.addEventListener("DOMContentLoaded",Kh));function xT(){return typeof window.ResizeObserver!="undefined"}function Yh(e){let{ref:t,onResize:r}=e;ht.useEffect(()=>{let o=t==null?void 0:t.current;if(o)if(xT()){let n=new window.ResizeObserver(i=>{i.length&&r();});return n.observe(o),()=>{o&&n.unobserve(o);}}else return window.addEventListener("resize",r,!1),()=>{window.removeEventListener("resize",r,!1);}},[r,t]);}function Zh(e,t){return ht__namespace.Children.toArray(e).find(r=>r.type===t)}function Qh(e,t){return ht__namespace.Children.toArray(e).filter(r=>Array.isArray(t)?t.some(o=>o===r.type):r.type===t)}var wT=(e,t)=>Array.isArray(e)?e:typeof e=="object"?t==null?void 0:t(e):e!=null?[e]:[],cc=(e,t)=>{var r;let o=react.useTheme(),n=wT(e,(r=o.__breakpoints)==null?void 0:r.toArrayValue);return react.useBreakpointValue(n,t)};var[RT,mo]=react.createStylesContext("SuiEmptyState");var gg=react.forwardRef((e,t)=>{let r=mo(),o=d({boxSize:10},r.icon);return jsxRuntime.jsx(react.Icon,v(d({ref:t,role:"presentation",sx:o},e),{className:_("sui-empty-state__icon",e.className)}))});gg.displayName="EmptyStateIcon";var vc=ht__namespace.createContext({});function wg(e){let s=e,{theme:t,linkComponent:r,onError:o,children:n}=s,i=k(s,["theme","linkComponent","onError","children"]),a={linkComponent:r,onError:o};return jsxRuntime.jsx(vc.Provider,{value:a,children:jsxRuntime.jsx(react.ChakraProvider,v(d({},i),{theme:t||tn,children:n}))})}var VT=()=>ht__namespace.useContext(vc),$T=e=>jsxRuntime.jsx(react.chakra.a,d({},e));function bc(){let e=VT();return e!=null&&e.linkComponent?e.linkComponent:$T}var DT=class extends ht__namespace.Component{constructor(e){super(e),this.onError=(t,r)=>{var o,n,i,a;(n=(o=this.props).onError)==null||n.call(o,t,r),(a=(i=this.context).onError)==null||a.call(i,t,r);},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||jsxRuntime.jsx("h1",{children:"Something went wrong."}):this.props.children}};DT.contextType=vc;var _g=(e="lg")=>e?{base:!0,[e]:!1}:{base:!1},[GT,Tg]=Oe({strict:!1,errorMessage:"AppShell context not available."}),UT=e=>{let t=react.useDisclosure(),r=_g(e.toggleBreakpoint),o=react.useBreakpointValue(r,{fallback:e.toggleBreakpoint||"lg"});return {isSidebarOpen:t.isOpen,closeSidebar:t.onClose,openSidebar:t.onOpen,toggleSidebar:t.onToggle,isMobile:o}},[KT,oG]=react.createStylesContext("SuiAppShell"),qT=react.forwardRef((e,t)=>{let r=react.useMultiStyleConfig("SuiAppShell",e),y=react.omitThemingProps(e),{navbar:o,sidebar:n,aside:i,footer:a,children:s,mainRef:l}=y,c=k(y,["navbar","sidebar","aside","footer","children","mainRef"]),u=d({flexDirection:"column"},r.container),f=d({flex:1,minHeight:0,minWidth:0},r.inner),m=d({flex:1,flexDirection:"column",minWidth:0},r.main),p=ht__namespace.isValidElement(n)&&n.type.id==="Sidebar",g=UT({toggleBreakpoint:p?n==null?void 0:n.props.toggleBreakpoint:void 0});return jsxRuntime.jsx(GT,{value:g,children:jsxRuntime.jsx(KT,{value:r,children:jsxRuntime.jsxs(react.Flex,v(d({ref:t},c),{sx:u,className:_("sui-app-shell",e.className),children:[o,jsxRuntime.jsxs(react.Flex,{sx:f,className:"saas-app-shell__inner",children:[n,jsxRuntime.jsx(react.Flex,{ref:l,sx:m,className:"saas-app-shell__main",children:s}),i]}),a]}))})})});qT.displayName="AppShell";function rP(e){return jsxRuntime.jsx(react.Icon,v(d({viewBox:"0 0 24 24"},e),{children:jsxRuntime.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 oP(e){return jsxRuntime.jsx(react.Icon,v(d({viewBox:"0 0 24 24"},e),{children:jsxRuntime.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 og(e){return jsxRuntime.jsx(react.Icon,v(d({viewBox:"0 0 24 24"},e),{children:jsxRuntime.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 Ja={ease:[.25,.1,.25,1],easeIn:[.4,0,1,1],easeOut:[0,0,.2,1],easeInOut:[.4,0,.2,1]},bn={enter:{duration:.2,ease:Ja.easeOut},exit:{duration:.1,ease:Ja.easeIn}},xn={enter:(e,t)=>v(d({},e),{delay:typeof t=="number"?t:t==null?void 0:t.enter}),exit:(e,t)=>v(d({},e),{delay:typeof t=="number"?t:t==null?void 0:t.exit})},iP={exit:({reverse:e,initialScale:t,transition:r,transitionEnd:o,delay:n})=>{var i;return v(d({opacity:0},e?{scale:t,transitionEnd:o==null?void 0:o.exit}:{transitionEnd:d({scale:t},o==null?void 0:o.exit)}),{transition:(i=r==null?void 0:r.exit)!=null?i:xn.exit(bn.exit,n)})},enter:({transitionEnd:e,transition:t,delay:r})=>{var o;return {opacity:1,scale:1,transition:(o=t==null?void 0:t.enter)!=null?o:xn.enter(bn.enter,r),transitionEnd:e==null?void 0:e.enter}}},Ag={initial:"exit",animate:"enter",exit:"exit",variants:iP},aP=ht.forwardRef(function(t,r){let y=t,{unmountOnExit:o,in:n,reverse:i=!0,initialScale:a=.95,className:s,transition:l,transitionEnd:c,delay:u}=y,f=k(y,["unmountOnExit","in","reverse","initialScale","className","transition","transitionEnd","delay"]),m=o?n&&o:!0,p=n||o?"enter":"exit",g={initialScale:a,reverse:i,transition:l,transitionEnd:c,delay:u};return jsxRuntime.jsx(rt,{custom:g,children:m&&jsxRuntime.jsx(Le.div,d(v(d({ref:r,className:Ti("chakra-offset-slide",s)},Ag),{animate:p,custom:g}),f))})});aP.displayName="ScaleFade";var lP={initial:({offsetX:e,offsetY:t,transition:r,transitionEnd:o,delay:n})=>{var i;return {opacity:0,x:e,y:t,transition:(i=r==null?void 0:r.exit)!=null?i:xn.exit(bn.exit,n),transitionEnd:o==null?void 0:o.exit}},enter:({transition:e,transitionEnd:t,delay:r})=>{var o;return {opacity:1,x:0,y:0,transition:(o=e==null?void 0:e.enter)!=null?o:xn.enter(bn.enter,r),transitionEnd:t==null?void 0:t.enter}},exit:({offsetY:e,offsetX:t,transition:r,transitionEnd:o,reverse:n,delay:i})=>{var a;let s={x:t,y:e};return d({opacity:0,transition:(a=r==null?void 0:r.exit)!=null?a:xn.exit(bn.exit,i)},n?v(d({},s),{transitionEnd:o==null?void 0:o.exit}):{transitionEnd:d(d({},s),o==null?void 0:o.exit)})}},Za={initial:"initial",animate:"enter",exit:"exit",variants:lP},cP=ht.forwardRef(function(t,r){let b=t,{unmountOnExit:o,in:n,reverse:i=!0,className:a,offsetX:s=0,offsetY:l=8,transition:c,transitionEnd:u,delay:f}=b,m=k(b,["unmountOnExit","in","reverse","className","offsetX","offsetY","transition","transitionEnd","delay"]),p=o?n&&o:!0,g=n||o?"enter":"exit",y={offsetX:s,offsetY:l,reverse:i,transition:c,transitionEnd:u,delay:f};return jsxRuntime.jsx(rt,{custom:y,children:p&&jsxRuntime.jsx(Le.div,d(v(d({ref:r,className:Ti("chakra-offset-slide",a),custom:y},Za),{animate:g}),m))})});cP.displayName="SlideFade";var Ya={enter:{duration:.2,ease:Ja.easeOut},exit:{duration:.2,ease:Ja.easeIn}},fP={slideOutTop:v(d({},Za),{custom:{offsetY:"-100%",reverse:!0,transition:Ya},initial:"enter"}),slideOutBottom:v(d({},Za),{custom:{offsetY:"100%",reverse:!0,transition:Ya},initial:"enter"}),fade:v(d({},Za),{custom:{transition:Ya},initial:"enter"}),scale:v(d({},Ag),{custom:{initialScale:.1,reverse:!0,transition:Ya},initial:"enter"}),none:{custom:{}}},dP=Rr(Le.div),mP=ht__namespace.forwardRef((e,t)=>{let a=e,{motionPreset:r}=a,o=k(a,["motionPreset"]),n=fP[r],i=d({},n);return jsxRuntime.jsx(dP,d(d({ref:t},i),o))}),[pP,ho]=react.createStylesContext("SuiBanner"),Eg={info:{icon:oP,colorScheme:"blue"},warning:{icon:og,colorScheme:"orange"},success:{icon:rP,colorScheme:"green"},error:{icon:og,colorScheme:"red"}},[hP,Rg]=Oe({name:"BannerContext",errorMessage:"useBannerContext: `context` is undefined. Seems you forgot to wrap banner components in `<Banner />`"}),gP=react.forwardRef((e,t)=>{var r;let y=react.omitThemingProps(e),{id:o,status:n="info",isOpen:i=!0,onClose:a,motionPreset:s="slideOutTop"}=y,l=k(y,["id","status","isOpen","onClose","motionPreset"]),c=(r=e.colorScheme)!=null?r:Eg[n].colorScheme,u=react.useMultiStyleConfig("SuiBanner",v(d({},e),{colorScheme:c})),f=d({width:"100%",display:"flex",alignItems:"center",position:"relative",overflow:"hidden"},u.container),m={id:o||`banner-${react.useId()}`,status:n,onClose:a,isOpen:i},p=["warning","error"].includes(n)?"alert":"status",g=i?"enter":"exit";return jsxRuntime.jsx(hP,{value:m,children:jsxRuntime.jsx(pP,{value:u,children:jsxRuntime.jsx(rt,{children:i&&jsxRuntime.jsx(mP,v(d({id:m.id,role:p,ref:t,motionPreset:s,animate:g},l),{className:_("sui-banner",e.className),__css:f}))})})})});gP.displayName="Banner";var yP=react.forwardRef((e,t)=>{let r=ho();return jsxRuntime.jsx(react.chakra.div,v(d({ref:t},e),{className:_("sui-banner__content",e.className),__css:r.content}))});yP.displayName="BannerContent";var vP=react.forwardRef((e,t)=>{let r=ho();return jsxRuntime.jsx(react.chakra.div,v(d({ref:t},e),{className:_("sui-banner__title",e.className),__css:r.title}))});vP.displayName="BannerTitle";var bP=react.forwardRef((e,t)=>{let r=ho(),o=d({display:"inline"},r.description);return jsxRuntime.jsx(react.chakra.div,v(d({ref:t},e),{className:_("sui-banner__desc",e.className),__css:o}))});bP.displayName="BannerDescription";var xP=react.forwardRef((e,t)=>{let{children:r,variant:o}=e,n=ho();return jsxRuntime.jsx(react.chakra.div,v(d({ref:t},e),{className:_("sui-banner__actions",e.className),__css:n.actions,children:jsxRuntime.jsx(react.ButtonGroup,{variant:o,children:r})}))});xP.displayName="BannerActions";var CP=react.forwardRef((e,t)=>{let u=e,{onClick:r,className:o}=u,n=k(u,["onClick","className"]),{onClose:i,isOpen:a,id:s}=Rg(),l=_("sui-banner__close-btn",o),c=ho();return jsxRuntime.jsx(react.CloseButton,d({ref:t,__css:c.closeButton,className:l,onClick:St(r,f=>{f.stopPropagation(),i==null||i();}),"aria-controls":s,"aria-expanded":a!=null&&a.toString()?"true":"false"},n))});CP.displayName="BannerCloseButton";Oe({name:"UseCollapseReturn"});var [OP,Pn]=react.createStylesContext("SuiStructuredList"),NP=react.forwardRef((e,t)=>{let c=e,{items:r,children:o}=c,n=k(c,["items","children"]),i=react.useMultiStyleConfig("SuiStructuredList",n),a=react.omitThemingProps(n),s;r?s=r.map((u,f)=>ht.createElement(Mg,v(d({},u),{key:u.id||f}))):s=o;let l=d({py:2,position:"relative"},i.list);return jsxRuntime.jsx(OP,{value:i,children:jsxRuntime.jsx(react.chakra.ul,v(d({ref:t,__css:l},a),{className:_("sui-list",e.className),children:s}))})});NP.displayName="StructuredList";var Mg=react.forwardRef((e,t)=>{let g=e,{onClick:r,href:o,as:n,children:i}=g,a=k(g,["onClick","href","as","children"]),s=Pn(),l=!!(r||o),c=l?Ig:ht__namespace.Fragment,u=!!l,f=d(d({display:"flex",flexDirection:"row",alignItems:"center",justifyContent:"space-between",fontSize:"md"},s.item),u?{py:0,px:0}:{}),p=l?jsxRuntime.jsx(c,v(d({},l?{onClick:r,href:o,as:n}:{}),{children:i})):i;return jsxRuntime.jsx(react.chakra.li,v(d({ref:t,__css:f},a),{className:_("sui-list__item",e.className),children:p}))});Mg.displayName="StructuredListItem";var Ig=react.forwardRef((e,t)=>{let a=e,{children:r}=a,o=k(a,["children"]),n=Pn(),i=d({display:"flex",flexDirection:"row",alignItems:"center",justifyContent:"space-between",flex:1,cursor:"pointer",userSelect:"none"},n.button);return jsxRuntime.jsx(react.chakra.div,v(d({ref:t,__css:i,role:"button",tabIndex:0},o),{className:_("sui-list__item-button",e.className),children:r}))});Ig.displayName="StructuredListButton";var FP=react.forwardRef((e,t)=>{let r=bc(),i=e,{href:o}=i,n=k(i,["href"]);return jsxRuntime.jsx(react.Link,d({as:r,ref:t,href:o},n))});FP.displayName="Link";react.createStylesContext("SuiLoadingOverlay");react.chakra(Le.div);Oe({name:"UseContextMenuContext",strict:!1});var [A2,rs]=react.createStylesContext("SuiPersona"),ug={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"}},E2={online:"green.500",offline:"gray.400",busy:"orange.500",dnd:"red.500",away:"gray.400"};var Ng=react.forwardRef((e,t)=>{let l=e,{children:r}=l,o=k(l,["children"]),n=react.useMultiStyleConfig("SuiPersona",e),i=react.omitThemingProps(o),s=d(d({},{display:"flex",flexDirection:"row",alignItems:"center"}),n.container);return jsxRuntime.jsx(A2,{value:n,children:jsxRuntime.jsx(react.chakra.div,v(d({ref:t,__css:s},i),{className:_("sui-persona",e.className),children:r}))})});Ng.displayName="PersonaContainer";var $g=react.forwardRef((e,t)=>{var r,o,n,i,a;let ue=e,{name:s,presence:l,presenceLabel:c,presenceIcon:u,isOutOfOffice:f,badgeSize:m="1em",size:p,getInitials:g,icon:y,iconLabel:b,ignoreFallback:x,loading:S,onError:C,src:w,srcSet:P}=ue,E=k(ue,["name","presence","presenceLabel","presenceIcon","isOutOfOffice","badgeSize","size","getInitials","icon","iconLabel","ignoreFallback","loading","onError","src","srcSet"]),A={},M,O=react.useTheme(),B=((r=O.colors)==null?void 0:r.presence)||E2,W=!!((n=(o=O.semanticTokens)==null?void 0:o.colors)!=null&&n["presence.online"]);if(l){let fe=c||((i=ug[l])==null?void 0:i.label),he=W?((a=ug[l])==null?void 0:a.color)||`presence.${l}`:B[l];f?(A.sx={_before:{content:'""',width:"100%",height:"100%",position:"absolute",top:0,left:0,border:"0.2em solid",borderColor:he,borderRadius:"50%",boxSizing:"border-box"}},A.borderWidth="0.15em",A.bg=react.useColorModeValue("white","gray.800")):A.bg=he,M=jsxRuntime.jsx(react.AvatarBadge,v(d({boxSize:m},A),{children:u})),fe&&(M=jsxRuntime.jsx(react.Tooltip,{label:fe,children:M}));}return jsxRuntime.jsx(react.Avatar,v(d({ref:t,name:s,size:p,getInitials:g,icon:y,iconLabel:b,ignoreFallback:x,loading:S,onError:C,src:w,srcSet:P},E),{children:M}))});$g.displayName="PersonaAvatar";var Lg=react.forwardRef((e,t)=>{let l=e,{children:r,className:o}=l,n=k(l,["children","className"]),i=rs(),s=d(d({},{display:"flex",flexDirection:"column"}),i.details);return jsxRuntime.jsx(react.chakra.div,v(d({ref:t},n),{__css:s,className:_("sui-persona__details",o),children:r}))});Lg.displayName="PersonaDetails";var Dg=react.forwardRef((e,t)=>{let r=rs();return jsxRuntime.jsx(react.chakra.span,v(d({ref:t},e),{__css:r.label,className:_("sui-persona__label",e.className)}))});Dg.displayName="PersonaLabel";var jg=react.forwardRef((e,t)=>{let r=rs();return jsxRuntime.jsx(react.chakra.span,v(d({ref:t},e),{__css:r.secondaryLabel,className:_("sui-persona__secondary-label",e.className)}))});jg.displayName="PersonaSecondaryLabel";var Bg=react.forwardRef((e,t)=>{let r=rs();return jsxRuntime.jsx(react.chakra.span,v(d({ref:t},e),{__css:r.tertiaryLabel,className:_("sui-persona__tertiary-label",e.className)}))});Bg.displayName="PersonaTertiaryLabel";var[$2,zg]=react.createStylesContext("SuiProperty"),L2=react.forwardRef((e,t)=>{let r=react.useMultiStyleConfig("SuiProperty",e),u=react.omitThemingProps(e),{children:o,label:n,value:i,labelWidth:a,spacing:s}=u,l=k(u,["children","label","value","labelWidth","spacing"]),c=d({minW:0,display:"flex",flexDirection:"row",alignItems:"center"},r.property);return jsxRuntime.jsx($2,{value:r,children:jsxRuntime.jsxs(react.chakra.dl,v(d({ref:t,__css:c},l),{className:_("sui-property",e.className),children:[n&&jsxRuntime.jsx(Fg,{width:a,minWidth:a,marginEnd:s,children:n}),i&&jsxRuntime.jsx(Wg,{children:i}),o]}))})});L2.displayName="Property";var Fg=react.forwardRef((e,t)=>{let r=zg(),c=e,{children:o,noOfLines:n=1,width:i,minWidth:a}=c,s=k(c,["children","noOfLines","width","minWidth"]),l=d({display:"flex",flexDirection:"row"},r.label);return i&&(l.minWidth=a||"auto",l.width=i),jsxRuntime.jsx(react.chakra.dt,v(d({ref:t,__css:l},s),{className:_("sui-property__label",e.className),children:jsxRuntime.jsx(react.chakra.span,{flex:"1",noOfLines:n,children:o})}))});Fg.displayName="PropertyLabel";var Wg=react.forwardRef((e,t)=>{let r=zg(),a=e,{children:o}=a,n=k(a,["children"]),i=d({display:"flex",flexDirection:"row",alignItems:"center",flex:1},r.value);return jsxRuntime.jsx(react.chakra.dd,v(d({ref:t,__css:i},n),{className:_("sui-property__value",e.className),children:o}))});Wg.displayName="PropertyValue";var H2=typeof window!="undefined";function fg(e){return H2?e?{x:e.scrollLeft,y:e.scrollTop}:{x:window.scrollX,y:window.scrollY}:{x:0,y:0}}var G2=e=>{let{elementRef:t,delay:r=30,callback:o,isEnabled:n}=e,i=ht.useRef(n?fg(t==null?void 0:t.current):{x:0,y:0}),a=null,s=()=>{let l=fg(t==null?void 0:t.current);typeof o=="function"&&o({prevPos:i.current,currPos:l}),i.current=l,a=null;};return ht.useEffect(()=>{if(!n)return;let l=()=>{r?a===null&&(a=setTimeout(s,r)):s();},c=(t==null?void 0:t.current)||window;return c.addEventListener("scroll",l),()=>c.removeEventListener("scroll",l)},[t==null?void 0:t.current,r,n]),i.current};function U2(e){let b=e,{ref:t,parentRef:r,height:o="3.5rem",shouldHideOnScroll:n=!1,disableScrollHandler:i=!1,onScrollPositionChange:a,motionProps:s}=b,l=k(b,["ref","parentRef","height","shouldHideOnScroll","disableScrollHandler","onScrollPositionChange","motionProps"]),c=ht.useRef(null);ht.useImperativeHandle(t,()=>c.current);let u=ht.useRef(0),f=ht.useRef(0),[m,p]=ht.useState(!1),g=()=>{if(c.current){let x=c.current.offsetWidth;x!==u.current&&(u.current=x);}};return Yh({ref:c,onResize:()=>{var x;((x=c.current)==null?void 0:x.offsetWidth)!==u.current&&g();}}),ht.useEffect(()=>{var x;g(),f.current=((x=c.current)==null?void 0:x.offsetHeight)||0;},[]),G2({elementRef:r,isEnabled:n||!i,callback:({prevPos:x,currPos:S})=>{a==null||a(S.y),n&&p(C=>{let w=S.y>x.y&&S.y>f.current;return w!==C?w:C});}}),{containerRef:c,height:o,isHidden:m,shouldHideOnScroll:n,motionProps:s,getContainerProps:(x={})=>v(d(d({},l),s),{"data-hidden":xe(m),ref:c,style:d(d({"--navbar-height":o},l.style),x==null?void 0:x.style)})}}function Y2(e,t){return `${e} returned \`undefined\`. Seems you forgot to wrap component within ${t}`}function En(e={}){let{name:t,strict:r=!0,hookName:o="useContext",providerName:n="Provider",errorMessage:i,defaultValue:a}=e,s=ht.createContext(a);s.displayName=t;function l(){var c;let u=ht.useContext(s);if(!u&&r){let f=new Error(i!=null?i:Y2(o,n));throw f.name="ContextError",(c=Error.captureStackTrace)==null||c.call(Error,f,l),f}return u}return [s.Provider,l,s]}var[X2,mU]=En({name:"NavbarContext",strict:!0,errorMessage:"useNavbarContext: `context` is undefined. Seems you forgot to wrap component within <Navbar />"}),[Z2,os]=En({name:"NavBarStylesContext",hookName:"useNavItemStyles",providerName:"<NavBar />"}),eA=react.chakra(Le.nav),tA=react.forwardRef((e,t)=>{let l=e,{children:r}=l,o=k(l,["children"]),n=U2(v(d({},o),{ref:t})),i=react.useMultiStyleConfig("SuiNavbar",e),a=jsxRuntime.jsx(react.chakra.header,{__css:i.inner,className:"sui-navbar__inner",children:r}),s=d({top:e.position==="sticky"?"0":void 0,insetX:e.position==="sticky"?"0":void 0},i.container);return jsxRuntime.jsx(Z2,{value:i,children:jsxRuntime.jsx(X2,{value:n,children:jsxRuntime.jsx(eA,v(d({__css:s,animate:n.isHidden?"hidden":"visible",initial:!1,variants:{hidden:{y:"-100%"},visible:{y:0,transition:{ease:"easeInOut"}}},className:_("sui-navbar",e.className)},n.getContainerProps()),{children:a}))})})});tA.displayName="Navbar";var iA=react.forwardRef((e,t)=>{let a=e,{className:r,children:o}=a,n=k(a,["className","children"]),i=os();return jsxRuntime.jsx(react.chakra.div,v(d({ref:t,__css:i.brand,className:_("sui-navbar__brand")},n),{children:o}))});iA.displayName="NavbarBrand";var cA=react.forwardRef((e,t)=>{let l=e,{className:r,children:o,spacing:n=0}=l,i=k(l,["className","children","spacing"]),a=os(),s=v(d({},a.content),{"& > *:not(style) ~ *:not(style)":{marginStart:n}});return jsxRuntime.jsx(react.chakra.ul,v(d({ref:t,__css:s,className:_("sui-navbar__content",r)},i),{children:o}))});cA.displayName="NavbarContent";var mA=react.forwardRef((e,t)=>{let s=e,{className:r,children:o,isActive:n}=s,i=k(s,["className","children","isActive"]),a=os();return jsxRuntime.jsx(react.chakra.li,v(d({ref:t,__css:a.item,className:_("sui-navbar__item",r),"data-active":xe(n)},i),{children:o}))});mA.displayName="NavbarItem";var yA=react.forwardRef((e,t)=>{let l=e,{className:r,children:o,isActive:n}=l,i=k(l,["className","children","isActive"]),a=bc(),s=os();return jsxRuntime.jsx(react.chakra.a,v(d({as:a,ref:t,__css:s.link,"data-active":xe(n),className:_("sui-navbar__link",r)},i),{children:o}))});yA.displayName="NavbarLink";var [_A,Kg]=Oe({name:"SidebarContext",strict:!1}),[PA,AA]=En({name:"SidebarStylesContext",hookName:"useSidebarStyles",providerName:"<Sidebar />"}),EA=react.chakra(Le.nav),RA={slideInOut:{enter:{left:0,transition:{type:"spring",duration:.6,bounce:.15}},exit:{left:"-100%"}},none:{}},qg=react.forwardRef((e,t)=>{var r,o,n;let i=react.useMultiStyleConfig("SuiSidebar",e),s=(r=react.useTheme().components.SuiSidebar)==null?void 0:r.defaultProps,l=cc((o=e.variant)!=null?o:s==null?void 0:s.variant,{fallback:"base"}),c=cc((n=e.size)!=null?n:s==null?void 0:s.size,{fallback:"base"}),u=l==="compact",Co=react.omitThemingProps(e),{spacing:f=4,children:m,toggleBreakpoint:p="lg",className:g,motionPreset:y="slideInOut",isOpen:b,onOpen:x,onClose:S}=Co,C=k(Co,["spacing","children","toggleBreakpoint","className","motionPreset","isOpen","onOpen","onClose"]),w=Tg(),P=_g(p),E=react.useBreakpointValue(P,{fallback:void 0}),A=react.useBreakpointValue(P),M=typeof E=="undefined",O=typeof b!="undefined",B=(E||O)&&!u,W=react.useDisclosure({isOpen:b||(w==null?void 0:w.isSidebarOpen),onOpen:x||(w==null?void 0:w.openSidebar),onClose:S||(w==null?void 0:w.closeSidebar)}),{isOpen:ue,onClose:fe,onOpen:he}=W;ht__namespace.useEffect(()=>{M&&A||u||O||(A?fe():he());},[M,u,A]);let G=d({"& > *:not(style) ~ *:not(style, .sui-resize-handle, .sui-sidebar__toggle-button + *)":{marginTop:f},display:"flex",flexDirection:"column"},E&&B?{position:"absolute",zIndex:"modal",top:0,left:{base:"-100%",lg:"0"},bottom:0}:{position:"relative"}),ee=v(d({},W),{breakpoints:P,isMobile:E,variant:l,size:c}),ot=RA[u?"none":y||"none"];return jsxRuntime.jsx(_A,{value:ee,children:jsxRuntime.jsx(PA,{value:i,children:jsxRuntime.jsx(EA,v(d({ref:t,initial:!1,animate:!M&&(!B||ue?"enter":"exit"),variants:ot,__css:d(d({},G),i.container)},C),{id:W.getDisclosureProps().id,className:_("sui-sidebar",g),"data-compact":xe(u),"data-collapsible":xe(E&&B),children:m}))})})});qg.displayName="Sidebar";qg.id="Sidebar";En({name:"NavGroupStylesContext",hookName:"useNavItemStyles",providerName:"<NavItem />"});var [BA,Xg]=En({name:"NavItemStylesContext",hookName:"useNavItemStyles",providerName:"<NavItem />"});var ey=react.forwardRef((o,r)=>{var n=o,{children:e}=n,t=k(n,["children"]);let i=Xg();return jsxRuntime.jsx(react.chakra.span,v(d({ref:r,__css:i.label},t),{className:_("sui-nav-item__label",t.className),children:e}))});ey.displayName="NavItemLabel";var ty=e=>{let t=Xg(),s=e,{className:r,children:o}=s,n=k(s,["className","children"]),i=ht__namespace.Children.only(o),a=ht__namespace.isValidElement(i)?ht__namespace.cloneElement(i,{focusable:"false","aria-hidden":!0}):null;return jsxRuntime.jsx(react.chakra.span,v(d({},n),{className:_("sui-nav-item__icon",e.className),__css:d({flexShrink:0},t.icon),children:a}))};ty.displayName="NavItemIcon";var KA=react.forwardRef((e,t)=>{let C=react.omitThemingProps(e),{href:r="#",icon:o,inset:n,className:i,tooltipProps:a,isActive:s,children:l}=C,c=k(C,["href","icon","inset","className","tooltipProps","isActive","children"]),u=bc(),{onClose:f,variant:m}=Kg()||{},p=m==="compact",g=react.useMultiStyleConfig("SuiNavItem",e),y=l,b=a==null?void 0:a.label;typeof y=="string"&&(!b&&p&&(b=y),y=jsxRuntime.jsx(ey,{children:y}));let x;r&&r!=="#"&&(x=u);let S=jsxRuntime.jsx(react.chakra.a,v(d({as:x,"aria-current":s?"page":void 0},c),{ref:t,href:r,className:"sui-nav-item__link","data-active":xe(s),__css:g.link,children:jsxRuntime.jsxs(react.chakra.span,{__css:v(d({},g.inner),{pl:n}),className:"sui-nav-item__inner",children:[o&&jsxRuntime.jsx(ty,{children:o}),y]})}));return jsxRuntime.jsx(BA,{value:g,children:jsxRuntime.jsx(react.Tooltip,v(d({label:b,placement:"right",openDelay:400},a),{children:jsxRuntime.jsx(react.chakra.div,{__css:g.item,onClick:f,"data-compact":xe(p),className:_("sui-nav-item",i),children:S})}))})});KA.displayName="NavItem";var nE=react.forwardRef((e,t)=>{let A=e,{placeholder:r="Search",value:o,defaultValue:n,size:i,variant:a,width:s,icon:l,resetIcon:c,rightElement:u,onChange:f,onReset:m,onKeyDown:p}=A,g=k(A,["placeholder","value","defaultValue","size","variant","width","icon","resetIcon","rightElement","onChange","onReset","onKeyDown"]),y=react.useMultiStyleConfig("SuiSearchInput",e),b=ht__namespace.useRef(null),[x,S]=react.useControllableState({value:o,defaultValue:n}),C=ht__namespace.useCallback(M=>{S(M.target.value);},[S]),w=ht__namespace.useCallback(M=>{M.key==="Escape"&&(S(""),P());},[m,S]),P=()=>{var M;S(""),m==null||m(),(M=b.current)==null||M.focus();},E=i==="lg"?"sm":"xs";return jsxRuntime.jsxs(react.InputGroup,{size:i,width:s,children:[jsxRuntime.jsx(react.InputLeftElement,{children:l||jsxRuntime.jsx(Jf,{})}),jsxRuntime.jsx(react.Input,d({type:"text",placeholder:r,size:i,value:x,ref:react.useMergeRefs(t,b),sx:y.input,onChange:St(C,f),onKeyDown:St(w,p)},g)),jsxRuntime.jsx(react.InputRightElement,{children:x?jsxRuntime.jsx(react.IconButton,{onClick:P,size:E,variant:"ghost","aria-label":"Reset search",icon:c||jsxRuntime.jsx(Zf,{}),sx:y.reset}):u})]})});nE.displayName="SearchInput";var[yE,vE]=Oe({name:"StepperContext",errorMessage:"useStepperContext: `context` is undefined. Seems you forgot to wrap stepper components in `<Stepper />`"});function bE(e){let{step:t,onChange:r}=e,[o,n]=ht__namespace.useState(0),i=ht__namespace.useRef([]),[,a]=ht__namespace.useState(Date.now()),s=ht__namespace.useCallback(p=>{let g=[...i.current];g.indexOf(p)===-1&&g.push(p),i.current=g,a(Date.now());},[i,a]),l=p=>{i.current=i.current.slice(i.current.indexOf(p),1);},c=p=>{let g=i.current.indexOf(p);g!==-1&&n(g);},u=()=>{n(o+1);},f=()=>{n(o-1);};return ht__namespace.useEffect(()=>{typeof t=="string"?c(t):typeof t=="number"?n(t):o===-1&&n(0);},[t]),ht__namespace.useEffect(()=>{r==null||r(o);},[o,r]),{stepsRef:i,activeStep:i.current[o],activeIndex:o,isFirstStep:o===0,isLastStep:o===i.current.length-1,isCompleted:o>=i.current.length,setIndex:n,setStep:c,nextStep:u,prevStep:f,registerStep:s,unregisterStep:l}}function xE(e){let{name:t,isActive:r,isCompleted:o}=e,{registerStep:n,unregisterStep:i,activeStep:a}=vE();return ht__namespace.useEffect(()=>{if(t)return n(t),()=>{i(t);}},[]),{isActive:t?a===t:r,isCompleted:o}}var[SE,CE]=react.createStylesContext("Stepper"),wE=react.forwardRef((e,t)=>{var r,o,n,i;let B=e,{children:a,orientation:s="horizontal",index:l,step:c,onChange:u,variant:f,colorScheme:m,size:p,stepperProps:g}=B,y=k(B,["children","orientation","index","step","onChange","variant","colorScheme","size","stepperProps"]),b=react.useMultiStyleConfig("Stepper",e),x=bE({step:c!=null?c:l,onChange:u}),{activeIndex:S}=x,C=s==="vertical",w=Qh(a,iy),P=d({position:"relative"},b.item),E=w.reduce((W,ue,fe,he)=>{let G=ht__namespace.cloneElement(ue,v(d({key:fe},ue.props),{isActive:S===fe,isCompleted:ue.props.isCompleted||S>fe}));return C?W.push(jsxRuntime.jsxs(react.chakra.div,{className:"sui-steps__item",__css:P,children:[G,jsxRuntime.jsx(yc,{isOpen:S===fe,orientation:s,children:ue.props.children}),fe<he.length-1?jsxRuntime.jsx(react.StepSeparator,{}):null]},`content-${fe}`)):W.push(G),W},[]),A=Zh(a,ay),M=(o=(r=w[S])==null?void 0:r.props)==null?void 0:o.children,O=S>=w.length?A:!C&&M?jsxRuntime.jsx(yc,{orientation:s,children:(i=(n=w[S])==null?void 0:n.props)==null?void 0:i.children}):null;return jsxRuntime.jsx(SE,{value:b,children:jsxRuntime.jsx(yE,{value:x,children:jsxRuntime.jsxs(react.chakra.div,v(d({ref:t,__css:b.container},y),{className:_("sui-steps",e.className),children:[jsxRuntime.jsx(react.Stepper,v(d({index:S,orientation:s,variant:f,colorScheme:m,size:p},g),{children:E})),O]}))})})});wE.displayName="Steps";var iy=e=>{let s=e,{render:t,icon:r,title:o,description:n}=s,i=k(s,["render","icon","title","description"]),a=xE(i);return t?t(d(d({},a),e)):jsxRuntime.jsxs(react.Step,{children:[jsxRuntime.jsx(react.StepIndicator,{children:jsxRuntime.jsx(react.StepStatus,{complete:jsxRuntime.jsx(react.StepIcon,{}),incomplete:jsxRuntime.jsx(react.StepNumber,{children:r}),active:jsxRuntime.jsx(react.StepNumber,{})})}),jsxRuntime.jsxs(react.Box,{flexShrink:"0",children:[jsxRuntime.jsx(react.StepTitle,{children:o}),n&&jsxRuntime.jsx(react.StepDescription,{children:n})]}),jsxRuntime.jsx(react.StepSeparator,{})]})};iy.displayName="StepsItem";var yc=e=>{let a=e,{children:t,isOpen:r=!0,orientation:o="horizontal"}=a,n=k(a,["children","isOpen","orientation"]),i=CE();return jsxRuntime.jsx(react.chakra.div,v(d({},n),{__css:i.content,className:_("sui-steps__content",e.className),"data-orientation":o,children:o==="vertical"?jsxRuntime.jsx(react.Collapse,{in:r,style:{overflow:r?"visible":"hidden"},children:jsxRuntime.jsx(react.chakra.div,{p:"2px",children:r?t:null})}):t}))};yc.displayName="StepsContent";var ay=e=>{let t={};return jsxRuntime.jsx(react.chakra.div,v(d({__css:t},e),{className:_("sui-steps__completed",e.className)}))};ay.displayName="StepsCompleted";var[RE,xo]=react.createStylesContext("SuiTimeline");var IE=react.forwardRef((e,t)=>{let a=e,{children:r}=a,o=k(a,["children"]),n=xo(),i=d({display:"flex"},n.item);return jsxRuntime.jsx(react.chakra.li,v(d({},o),{ref:t,__css:i,className:_("sui-timeline__item",e.className),children:r}))});IE.displayName="TimelineItem";react.forwardRef((e,t)=>{let f=e,{icon:r,children:o,isRound:n,"aria-label":i}=f,a=k(f,["icon","children","isRound","aria-label"]),s=react.useStyleConfig("SuiIconBadge",e),l=r||o,c=ht.isValidElement(l)?ht.cloneElement(l,{"aria-hidden":!0,focusable:!1}):null,u=d({display:"inline-flex",alignItems:"center",justifyContent:"center"},s);return jsxRuntime.jsx(react.chakra.div,v(d({ref:t,__css:u,borderRadius:n?"full":void 0,"aria-label":i},a),{className:_("sui-icon-badge",e.className),children:c}))});var Rn=typeof window!="undefined";function UE(e,t){if(Rn&&"localStorage"in window)return t===void 0?localStorage.removeItem(e):localStorage.setItem(e,t)}function cy(e){if(Rn&&"localStorage"in window)return localStorage.getItem(e)}var KE=e=>{try{return JSON.stringify(e)}catch(t){throw new Error("useLocalStorage: failed to serialize the value to JSON")}},qE=e=>{try{return e&&JSON.parse(e)}catch(t){return e}},YE=e=>{let t=new CustomEvent("use-local-storage",{detail:e});window.dispatchEvent(t);},uy=(e,t,r={})=>{let{serialize:o=KE,deserialize:n=qE}=r,i=ht__namespace.default.useRef(!1),[a,s]=ht.useState(()=>{var l;return Rn?n((l=cy(e))!=null?l:void 0):t});return ht.useEffect(()=>{let l=c=>{let u=c instanceof CustomEvent,f=u?c.detail.key:c.key,m=u?c.detail.newValue:c.newValue;(u||c.storageArea===window.localStorage)&&f===e&&s(n(m!=null?m:void 0));};return Rn&&(window.addEventListener("storage",l),window.addEventListener("use-local-storage",l)),()=>{Rn&&(window.removeEventListener("storage",l),window.removeEventListener("use-local-storage",l));}},[]),ht.useEffect(()=>{if(!i.current){i.current=!0;return}let l=o(a);cy(e)!==l&&(UE(e,l),YE({key:e,newValue:l}));},[a]),[a===void 0?t:a,s]};var JE={black:"#0e1012",primary:{50:"#f6f7fd",100:"#dcdff5",200:"#bec3ed",300:"#9aa1e2",400:"#858edd",500:"#6b75d0",600:"#5a63af",700:"#484f8d",800:"#3d4377",900:"#2c3056"},grayAlpha:{50:"rgba(249, 249, 250, 0.5)",100:"rgba(241, 241, 243, 0.5)",200:"rgba(231, 231, 234, 0.5)",300:"rgba(211, 212, 216, 0.5)",400:"rgba(171, 172, 181, 0.5)",500:"rgba(124, 126, 139, 0.5)",600:"rgba(81, 84, 101, 0.5)",700:"rgba(52, 54, 67, 0.5)",800:"rgba(30, 32, 39, 0.5)",900:"rgba(24, 25, 31, 0.5)"},gray:{50:"#f9f9fa",100:"#f1f1f3",200:"#e7e7ea",300:"#d3d4d8",400:"#abacb5",500:"#7c7e8b",600:"#515465",700:"#343643",800:"#1e2027",900:"#18191f"},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"}},Pc=JE,QE={heading:"InterVariable, sans-serif",body:"InterVariable, sans-serif"},eR={xs:"0.75rem",sm:"0.8125rem",md:"0.875rem",lg:"1rem",xl:"1.125rem","2xl":"1.5rem","3xl":"1.875rem","4xl":"2.25rem","5xl":"3rem","6xl":"3.75rem","7xl":"4.5rem","8xl":"6rem","9xl":"8rem"},tR={},rR={container:{sm:"30em",md:"48em",lg:"62em",xl:"80em","2xl":"96em"}},oR=rR,nR={xs:"rgb(0 0 0 / 7%) 0px 1px 1px","dark-xs":"rgb(0 0 0 / 7%) 0px 1px 1px",outline:`0 0 0 2px ${te(Pc.primary[500],.6)({colors:Pc})}`},iR=nR,aR={colors:{muted:{default:"gray.500",_dark:"gray.400"}}},{definePartsStyle:yy,defineMultiStyleConfig:sR}=T(Wo.keys),fy=V("alert-fg"),dy=V("alert-bg"),Ac=V("alert-border");function lR(e){let{theme:t,colorScheme:r}=e,o=te(`${r}.600`,.16)(t);return {light:`colors.${r}.100`,dark:o}}function cR(e){let{theme:t,colorScheme:r}=e,o=te(`${r}.300`,.16)(t);return {light:`colors.${r}.200`,dark:o}}var uR=yy(e=>{let{colorScheme:t}=e,r=lR(e),o=cR(e);return {container:{borderWidth:"1px",[fy.variable]:`colors.${t}.500`,[dy.variable]:r.light,[Ac.variable]:o.light,_dark:{[fy.variable]:`colors.${t}.500`,[dy.variable]:r.dark,[Ac.variable]:o.dark}}}}),fR=yy(()=>({container:{borderColor:Ac.reference,borderRadius:"md",fontSize:"sm"},icon:{w:4,h:5},title:{fontSize:"sm",fontWeight:"medium"},description:{color:"muted"}})),dR=sR({defaultProps:{size:"sm",colorScheme:"primary"},baseStyle:fR,variants:{subtle:uR}}),vy=e=>{let{colorScheme:t}=e,r=`${t}.500`,o=`${t}.600`;return {borderWidth:"1px",borderColor:r,boxShadow:"xs",bg:r,color:"white",fontWeight:"medium",_hover:{borderColor:o,bg:o},_dark:{boxShadow:"dark-xs"}}},mR=e=>({fontWeight:"medium",_checked:{bg:"blackAlpha.100"},_dark:{_checked:{bg:"whiteAlpha.100"}}}),pR=e=>{let{colorScheme:t}=e;return t==="gray"?{fontWeight:"medium"}:{fontWeight:"medium",color:`${t}.500`,_hover:{color:`${t}.400`,bg:"blackAlpha.50"},_dark:{color:`${t}.500`,_hover:{color:`${t}.400`,bg:"whiteAlpha.50"}}}},hR=e=>vy(v(d({},e),{colorScheme:"primary"})),gR={borderWidth:"1px",borderColor:"gray.200",boxShadow:"xs",bg:"white",fontWeight:"medium",color:"inherit",_hover:{borderColor:"gray.300",bg:"gray.50"},_dark:{boxShadow:"dark-xs",borderColor:"gray.600",bg:"gray.700",_hover:{borderColor:"gray.500",bg:"gray.600"}}},yR={borderWidth:"1px",borderColor:"gray.200",bg:"gray.200",color:"black",fontWeight:"medium",_hover:{borderColor:"gray.300",bg:"gray.200"},_dark:{borderColor:"gray.700",bg:"gray.700",color:"white",_hover:{borderColor:"gray.600"}}},vR={lg:{h:"8",minW:"10",fontSize:"md",px:"4",rounded:"6"},md:{h:"7",minW:"8",fontSize:"sm",px:"3",rounded:"4"},sm:{h:"6",minW:"6",fontSize:"sm",px:"2",rounded:"3"},xs:{h:"5",minW:"4",fontSize:"xs",px:"1",rounded:"3"}},bR={defaultProps:{size:"md",variant:"secondary"},variants:{solid:vy,outline:pR,ghost:mR,primary:hR,secondary:gR,tertiary:yR},sizes:vR},by=I("card").parts("container","header","title","subtitle","body","footer"),{definePartsStyle:ls}=T(by.keys),xR=V("card-bg"),wc=V("card-padding"),SR=V("card-shadow"),kc=V("card-radius"),CR=V("card-border-width","0"),is=V("card-border-color"),wR={sm:ls({container:{[kc.variable]:"radii.base",[wc.variable]:"space.3"}}),md:ls({container:{[kc.variable]:"radii.md",[wc.variable]:"space.4"}}),lg:ls({container:{[kc.variable]:"radii.xl",[wc.variable]:"space.6"}})},my=ls(e=>{let{isHoverable:t}=e;return {container:{[is.variable]:"colors.blackAlpha.200",[CR.variable]:"1px",[SR.variable]:"shadows.sm",_hover:t?{[is.variable]:"colors.blackAlpha.300"}:{},_dark:{[xR.variable]:"colors.gray.700",[is.variable]:"colors.whiteAlpha.50",_hover:t?{[is.variable]:"colors.whiteAlpha.300"}:{}}}}}),kR={parts:by.keys,defaultProps:{variant:"elevated"},variants:{elevated:my,shadow:my},sizes:wR},_R={baseStyle:e=>{let{colorScheme:t}=e;return {control:{_checked:{borderColor:`${t}.500`,bg:`${t}.500`,color:"white"}}}}},TR={size:"sm"},PR={defaultProps:TR},{defineMultiStyleConfig:AR,definePartsStyle:ER}=T(Fs.keys),py=V("drawer-bg"),RR={bg:"blackAlpha.50"},MR=e=>({borderRadius:"md",margin:"8px",borderWidth:"1px",borderColor:"chakra-border-color",backdropFilter:"blur(10px) contrast(100%) saturate(100%) brightness(200%)",[py.variable]:"colors.whiteAlpha.800",fontSize:"md",_dark:{backdropFilter:"blur(10px) saturate(190%) contrast(70%) brightness(80%)",[py.variable]:"colors.grayAlpha.700"}}),IR={px:"4",py:"3",fontSize:"md",fontWeight:"semibold"},VR={position:"absolute",top:"2",insetEnd:"3"},OR=e=>({px:"4",py:"2"}),NR={px:"3",py:"3"},$R=ER(e=>({overlay:RR,dialog:se(MR,e),header:IR,closeButton:VR,body:se(OR,e),footer:NR})),LR=AR({baseStyle:$R}),DR=LR,{definePartsStyle:jR}=T(Kt.keys);function BR(e){let{focusBorderColor:t,errorBorderColor:r}=e;return {focusBorderColor:t||Y("blue.500","blue.300")(e),errorBorderColor:r||Y("red.500","red.300")(e)}}var xy=jR(e=>{let{theme:t}=e,{focusBorderColor:r,errorBorderColor:o}=BR(e);return {field:{border:"1px solid var(--chakra-colors-chakra-border-color)",bg:"inherit",_hover:{borderColor:"gray.300"},_invalid:{borderColor:ae(t,o),boxShadow:"none"},_focusVisible:{zIndex:1,borderColor:ae(t,r),boxShadow:"none"},_dark:{bg:"gray.900",borderColor:"chakra-border-color",_hover:{borderColor:"whiteAlpha.400"},_invalid:{borderColor:ae(t,o)},_focusVisible:{borderColor:ae(t,r)}}},addon:{borderColor:"inherit",bg:"gray.100",_dark:{borderColor:"whiteAlpha.50",bg:"whiteAlpha.300"}}}}),zR={sm:{field:{borderRadius:"4px",h:7},addon:{borderRadius:"4px",h:7}},md:{field:{px:3,h:9},addon:{px:3,h:9}}},Mn={defaultProps:{variant:"outline",size:"sm",focusBorderColor:"primary.500"},variants:{outline:xy},sizes:zR},FR={FormLabel:{baseStyle:{mb:1},variants:{horizontal:{mb:0,marginStart:"0.5rem"}}},Input:Mn,NumberInput:Mn,PinInput:Mn,Textarea:{defaultProps:Mn.defaultProps,variants:{outline:e=>xy(e).field}},Select:Mn},WR={defaultProps:{size:"lg"}},_c=V("kbd-bg"),HR={[_c.variable]:"colors.blackAlpha.300",_dark:{[_c.variable]:"colors.whiteAlpha.300"},bg:_c.reference,borderRadius:"md",borderWidth:"0",borderBottomWidth:"0",padding:"1px",minW:"20px",textAlign:"center",":last-child":{mr:0}},GR={defaultProps:{variant:"solid"},baseStyle:HR},UR=GR,{defineMultiStyleConfig:KR,definePartsStyle:qR}=T(Ho.keys),qe=V("menu-bg"),Tc=V("menu-shadow"),YR={[qe.variable]:"colors.whiteAlpha.500",[Tc.variable]:"shadows.lg",backdropFilter:"blur(10px) contrast(100%) saturate(190%)",_dark:{[qe.variable]:"colors.grayAlpha.700",[Tc.variable]:"shadows.dark-lg",backdropFilter:"blur(10px) saturate(190%) contrast(70%) brightness(80%)"},py:"1",borderRadius:"md",borderWidth:"1px",bg:qe.reference,boxShadow:Tc.reference},XR={py:"1.5",px:"3",mx:"1",rounded:"md",fontSize:"sm",width:"calc(100% - 8px)",boxSizing:"border-box",bg:"transparent",_hover:{bg:qe.reference,[qe.variable]:"colors.grayAlpha.300"},_focus:{bg:qe.reference,[qe.variable]:"colors.grayAlpha.300"},_active:{bg:qe.reference,[qe.variable]:"colors.grayAlpha.300"},_expanded:{bg:qe.reference,[qe.variable]:"colors.grayAlpha.300"}},ZR={mx:4,my:2,fontWeight:"semibold",fontSize:"sm"},JR={transitionProperty:"common",transitionDuration:"normal"},QR={my:"1"},eM=qR({button:JR,list:YR,item:XR,groupTitle:ZR,divider:QR}),tM=KR({baseStyle:eM}),rM=tM,{defineMultiStyleConfig:oM,definePartsStyle:nM}=T(Go.keys),iM={bg:"blackAlpha.50"},aM=e=>({bg:"whiteAlpha.800",backdropFilter:"blur(10px) contrast(100%) saturate(100%) brightness(200%)",fontSize:"md",_dark:{bg:"grayAlpha.700",boxShadow:"dark-lg",backdropFilter:"blur(10px) saturate(190%) contrast(70%) brightness(80%)"}}),sM={px:"4",py:"3",fontSize:"md",fontWeight:"semibold"},lM={position:"absolute",top:"2",insetEnd:"3"},cM=e=>({px:"4",py:"2"}),uM={px:"3",py:"3"},fM=nM(e=>({overlay:iM,dialog:se(aM,e),header:sM,closeButton:lM,body:se(cM,e),footer:uM})),dM=oM({baseStyle:fM,defaultProps:{size:"md"}}),mM=dM,{defineMultiStyleConfig:pM}=T(Uo.keys),hM=pM({defaultProps:{colorScheme:"primary"},baseStyle:e=>{let{colorScheme:t}=e;return {track:{borderRadius:"md",bg:"gray.200",_dark:{bg:"gray.800"}},filledTrack:{bg:`${t}.500`}}}}),{defineMultiStyleConfig:gM,definePartsStyle:yM}=T(Hs.keys),as=V("popper-bg"),vM=V("popper-arrow-bg"),hy=V("popper-arrow-shadow-color"),bM={[as.variable]:"colors.whiteAlpha.800",bg:as.reference,[vM.variable]:as.reference,[hy.variable]:"colors.gray.200",backdropFilter:"blur(10px) contrast(100%) saturate(100%) brightness(200%)",_dark:{[as.variable]:"colors.grayAlpha.700",[hy.variable]:"colors.whiteAlpha.300",backdropFilter:"blur(10px) saturate(190%) contrast(70%) brightness(80%)"}},xM=yM(e=>({content:se(bM,e)})),SM=gM({baseStyle:xM,defaultProps:{size:"md"}}),CM=SM,wM={baseStyle:e=>{let{colorScheme:t}=e;return {control:{_checked:{borderColor:`${t}.500`,bg:`${t}.500`,color:"white"}}}}},kM={defaultProps:{colorScheme:"primary"},baseStyle:e=>{let{colorScheme:t}=e;return {filledTrack:{bg:`${t}.500`}}}},{defineMultiStyleConfig:_M,definePartsStyle:TM}=T(Ko.keys),In=Ue("switch-bg"),PM=e=>{let{colorScheme:t}=e;return {[In.variable]:"colors.gray.300",_dark:{[In.variable]:"colors.whiteAlpha.300"},_checked:{[In.variable]:`colors.${t}.500`,_dark:{[In.variable]:`colors.${t}.500`}},bg:In.reference}},AM={bg:"white",_dark:{bg:"blackAlpha.800",_checked:{bg:"white"}}},EM=TM(e=>({track:PM(e),thumb:AM})),RM=_M({baseStyle:EM,defaultProps:{size:"md",colorScheme:"primary"}}),MM=RM,ss=Ue("tooltip-bg"),gy=Ue("tooltip-fg"),IM=Ue("popper-arrow-bg"),VM=e=>({display:"flex",[ss.variable]:"colors.white",[gy.variable]:"colors.blackAlpha.900",_dark:{[ss.variable]:"colors.gray.700",[gy.variable]:"colors.whiteAlpha.900"},px:"8px",py:"2px",bg:[ss.reference],[IM.variable]:[ss.reference],borderRadius:"sm",fontWeight:"medium",fontSize:"xs",boxShadow:"md",maxW:"320px",zIndex:"tooltip",borderWidth:"1px"}),OM={baseStyle:VM},NM=d({Alert:dR,Button:bR,Card:kR,Checkbox:_R,CloseButton:PR,Drawer:DR,Heading:WR,Kbd:UR,Menu:rM,Modal:mM,Progress:hM,Popover:CM,Radio:wM,Slider:kM,Switch:MM,Tooltip:OM},FR),Sy=react.extendTheme({colors:Pc,fonts:QE,fontSizes:eR,textStyles:tR,sizes:oR,components:NM,shadows:iR,semanticTokens:aR},react.withDefaultColorScheme({colorScheme:"primary",components:["Radio","Switch","Checkbox"]}));var DM=react.extendTheme(Sy,tn),jM=()=>{let[e,t]=uy("storybook.theme","1");return ht__namespace.useEffect(()=>{let r=previewApi.addons.getChannel(),o=n=>{t(n);};return r.on(nt.SET_THEME,o),()=>{r.removeListener(nt.SET_THEME,o);}},[t]),e},wy=previewApi.makeDecorator({name:"ChakraProviderDecorator",parameterName:"chakra",skipIfNoParametersOrOptions:!1,wrapper:(e,t,{parameters:r})=>{let {parameters:{saasui:o},globals:{[Fc]:n}}=t,i=jM(),a=ht__namespace.useCallback(()=>{switch(i){case"1":return tn;case"2":return DM;default:return ul}},[i]),s=(o==null?void 0:o.theme)||a();!!(o!=null&&o.theme);let c=o!=null&&o.theme?typeof o.theme=="function"?o.theme(t):o.theme:s,u=Gc(n||(c==null?void 0:c.direction)),f=ht__namespace.useMemo(()=>react.extendTheme({direction:u,styles:{global:{body:{minHeight:"var(--chakra-vh)"}}}},c),[c,u]);return jsxRuntime.jsxs(wg,v(d({},o),{theme:f,children:[jsxRuntime.jsx(Wc,{}),e(t)]}))}});var FM={decorators:[wy]},Iq=FM;/*! Bundled license information:
|
40
37
|
|
41
38
|
react-is/cjs/react-is.production.min.js:
|
42
39
|
(** @license React v16.13.1
|
@@ -49,6 +46,6 @@ react-is/cjs/react-is.production.min.js:
|
|
49
46
|
*)
|
50
47
|
*/
|
51
48
|
|
52
|
-
module.exports =
|
49
|
+
module.exports = Iq;
|
53
50
|
//# sourceMappingURL=out.js.map
|
54
51
|
//# sourceMappingURL=preview.js.map
|