PageSourceSearch

https://steppo.ru/assets/toastOptions-C9sKTk_P.js

js steppo.ru collected 2026-10-08 22:33:00 UTC 294,279 bytes, 280 lines download raw bytes

1var e,t,r,n,o,i,a,s,l,c,u,d,p,h,f,m,g;import{r as b,l as v,j as y,e as x,g as w}from"./react-vendor-DJDEZQgo.js";import{h as S,g as k}from"./lodash-LFlzvllK.js";function C(e){return null!=e&&"object"==typeof e&&"nodeType"in e&&e.nodeType===Node.ELEMENT_NODE}function _(e){return!(!e.parentElement||!_(e.parentElement))||e.hidden}function P(e){const t=e.getAttribute("contenteditable");return"false"!==t&&null!=t}function E(e){return!0===Boolean(e.getAttribute("disabled"))||!0===Boolean(e.getAttribute("aria-disabled"))}const A=e=>e?"":void 0,T=e=>!!e||void 0;function j(e){return Array.isArray(e)}function z(e){const t=typeof e;return null!=e&&("object"===t||"function"===t)&&!j(e)}function R(e){const t=null==e?0:e.length;return t?e[t-1]:void 0}function B(e){if(null==e)return e;const{unitless:t}=function(e){const t=parseFloat(e.toString()),r=e.toString().replace(String(t),"");return{unitless:!r,value:t,unit:r}}(e);return t||"number"==typeof e?`${e}px`:e}const M=(e,t)=>parseInt(e[1],10)>parseInt(t[1],10)?1:-1,$=e=>Object.fromEntries(Object.entries(e).sort(M));function O(e){const t=$(e);return Object.assign(Object.values(t),t)}function D(e){if(!e)return e;e=B(e)??e;return"number"==typeof e?`${e+-.02}`:e.replace(/(\d+\.?\d*)/u,e=>`${parseFloat(e)+-.02}`)}function I(e,t){const r=["@media screen"];return e&&r.push("and",`(min-width: ${B(e)})`),t&&r.push("and",`(max-width: ${B(t)})`),r.join(" ")}function L(e){if(!e)return null;e.base=e.base??"0px";const t=O(e),r=Object.entries(e).sort(M).map(([e,t],r,n)=>{let[,o]=n[r+1]??[];return o=parseFloat(o)>0?D(o):void 0,{_minW:D(t),breakpoint:e,minW:t,maxW:o,maxWQuery:I(null,o),minWQuery:I(t),minMaxQuery:I(t,o)}}),n=function(e){const t=Object.keys($(e));return new Set(t)}(e),o=Array.from(n.values());return{keys:n,normalized:t,isResponsive(e){const t=Object.keys(e);return t.length>0&&t.every(e=>n.has(e))},asObject:$(e),asArray:O(e),details:r,get:e=>r.find(t=>t.breakpoint===e),media:[null,...t.map(e=>I(e)).slice(1)],toArrayValue(e){if(!z(e))throw new Error("toArrayValue: value must be an object");const t=o.map(t=>e[t]??null);for(;null===R(t);)t.pop();return t},toObjectValue(e){if(!Array.isArray(e))throw new Error("toObjectValue: value must be an array");return e.reduce((e,t,r)=>{const n=o[r];return null!=n&&null!=t&&(e[n]=t),e},{})}}}function V(...e){return function(...t){e.forEach(e=>null==e?void 0:e(...t))}}function F(...e){return function(t){e.some(e=>(null==e||e(t),null==t?void 0:t.defaultPrevented))}}function W(e){const t=Object.assign({},e);for(let r in t)void 0===t[r]&&delete t[r];return t}function N(e={}){const{name:t,strict:r=!0,hookName:n="useContext",providerName:o="Provider",errorMessage:i,defaultValue:a}=e,s=b.createContext(a);return s.displayName=t,[s.Provider,function e(){var t;const a=b.useContext(s);if(!a&&r){const r=new Error(i??`${n} returned \`undefined\`. Seems you forgot to wrap component within ${o}`);throw r.name="ContextError",null==(t=Error.captureStackTrace)||t.call(Error,r,e),r}return a},s]}const H=(...e)=>e.filter(Boolean).join(" ");const U=(e=>{const t=new WeakMap;return(r,n,o,i)=>{if(void 0===r)return e(r,n,o);t.has(r)||t.set(r,new Map);const a=t.get(r);if(a.has(n))return a.get(n);const s=e(r,n,o,i);return a.set(n,s),s}})(function(e,t,r,n){const o="string"==typeof t?t.split("."):[t];for(n=0;n<o.length&&e;n+=1)e=e[o[n]];return void 0===e?r:e});function q(e,t=[]){const r=Object.assign({},e);for(const n of t)n in r&&delete r[n];return r}function X(e,t){const r={};for(const n of t)n in e&&(r[n]=e[n]);return r}function Y(e,...t){return"function"==typeof e?e(...t):e}function G(e){return["html","body","#document"].includes(e.localName)?e.ownerDocument.body:C(e)&&function(e){const t=e.ownerDocument.defaultView||window,{overflow:r,overflowX:n,overflowY:o}=t.getComputedStyle(e);return/auto|scroll|overlay|hidden/.test(r+o+n)}(e)?e:G(function(e){return"html"===e.localName?e:e.assignedSlot||e.parentElement||e.ownerDocument.documentElement}(e))}function Z(e,t,r={}){const{stop:n,getKey:o}=r;return function e(r,i=[]){if(z(r)||Array.isArray(r)){const a={};for(const[s,l]of Object.entries(r)){const c=(null==o?void 0:o(s))??s,u=[...i,c];if(null==n?void 0:n(r,u))return t(r,i);a[c]=e(l,u)}return a}return t(r,i)}(e)}var K,J={exports:{}};var Q=(K||(K=1,function(e,t){var r="__lodash_hash_undefined__",n=9007199254740991,o="[object Arguments]",i="[object Function]",a="[object Object]",s=/^\[object .+?Constructor\]$/,l=/^(?:0|[1-9]\d*)$/,c={};
vendor: 4,715 bytes, line 1
1c["[object Float32Array]"]=c["[object Float64Array]"]=c["[object Int8Array]"]=c["[object Int16Array]"]=c["[object Int32Array]"]=c["[object Uint8Array]"]=c["[object Uint8ClampedArray]"]=c["[object Uint16Array]"]=c["[object Uint32Array]"]=!0,c[o]=c["[object Array]"]=c["[object ArrayBuffer]"]=c["[object Boolean]"]=c["[object DataView]"]=c["[object Date]"]=c["[object Error]"]=c[i]=c["[object Map]"]=c["[object Number]"]=c[a]=c["[object RegExp]"]=c["[object Set]"]=c["[object String]"]=c["[object WeakMap]"]=!1;var u,d="object"==typeof S&&S&&S.Object===Object&&S,p="object"==typeof self&&self&&self.Object===Object&&self,h=d||p||Function("return this")(),f=t&&!t.nodeType&&t,m=f&&e&&!e.nodeType&&e,g=m&&m.exports===f,b=g&&d.process,v=function(){try{var e=m&&m.require&&m.require("util").types;return e||b&&b.binding&&b.binding("util")}catch(t){}}(),y=v&&v.isTypedArray,x=Array.prototype,w=Function.prototype,k=Object.prototype,C=h["__core-js_shared__"],_=w.toString,P=k.hasOwnProperty,E=(u=/[^.]+$/.exec(C&&C.keys&&C.keys.IE_PROTO||""))?"Symbol(src)_1."+u:"",A=k.toString,T=_.call(Object),j=RegExp("^"+_.call(P).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),z=g?h.Buffer:void 0,R=h.Symbol,B=h.Uint8Array;z&&z.allocUnsafe;var M,$,O=(M=Object.getPrototypeOf,$=Object,function(e){return M($(e))}),D=Object.create,I=k.propertyIsEnumerable,L=x.splice,V=R?R.toStringTag:void 0,F=function(){try{var e=pe(Object,"defineProperty");return e({},"",{}),e}catch(t){}}(),W=z?z.isBuffer:void 0,N=Math.max,H=Date.now,U=pe(h,"Map"),q=pe(Object,"create"),X=function(){function e(){}return function(t){if(!Ce(t))return{};if(D)return D(t);e.prototype=t;var r=new e;return e.prototype=void 0,r}}();function Y(e){var t=-1,r=null==e?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}function G(e){var t=-1,r=null==e?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}function Z(e){var t=-1,r=null==e?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}function K(e){var t=this.__data__=new G(e);this.size=t.size}function J(e,t){var r=ye(e),n=!r&&ve(e),o=!r&&!n&&we(e),i=!r&&!n&&!o&&Pe(e),a=r||n||o||i,s=a?function(e,t){for(var r=-1,n=Array(e);++r<e;)n[r]=t(r);return n}(e.length,String):[],l=s.length;for(var c in e)a&&("length"==c||o&&("offset"==c||"parent"==c)||i&&("buffer"==c||"byteLength"==c||"byteOffset"==c)||he(c,l))||s.push(c);return s}function Q(e,t,r){(void 0!==r&&!be(e[t],r)||void 0===r&&!(t in e))&&re(e,t,r)}function ee(e,t,r){var n=e[t];P.call(e,t)&&be(n,r)&&(void 0!==r||t in e)||re(e,t,r)}function te(e,t){for(var r=e.length;r--;)if(be(e[r][0],t))return r;return-1}function re(e,t,r){"__proto__"==t&&F?F(e,t,{configurable:!0,enumerable:!0,value:r,writable:!0}):e[t]=r}Y.prototype.clear=function(){this.__data__=q?q(null):{},this.size=0},Y.prototype.delete=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t},Y.prototype.get=function(e){var t=this.__data__;if(q){var n=t[e];return n===r?void 0:n}return P.call(t,e)?t[e]:void 0},Y.prototype.has=function(e){var t=this.__data__;return q?void 0!==t[e]:P.call(t,e)},Y.prototype.set=function(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=q&&void 0===t?r:t,this},G.prototype.clear=function(){this.__data__=[],this.size=0},G.prototype.delete=function(e){var t=this.__data__,r=te(t,e);return!(r<0||(r==t.length-1?t.pop():L.call(t,r,1),--this.size,0))},G.prototype.get=function(e){var t=this.__data__,r=te(t,e);return r<0?void 0:t[r][1]},G.prototype.has=function(e){return te(this.__data__,e)>-1},G.prototype.set=function(e,t){var r=this.__data__,n=te(r,e);return n<0?(++this.size,r.push([e,t])):r[n][1]=t,this},Z.prototype.clear=function(){this.size=0,this.__data__={hash:new Y,map:new(U||G),string:new Y}},Z.prototype.delete=function(e){var t=de(this,e).delete(e);return this.size-=t?1:0,t},Z.prototype.get=function(e){return de(this,e).get(e)},Z.prototype.has=function(e){return de(this,e).has(e)},Z.prototype.set=function(e,t){var r=de(this,e),n=r.size;return r.set(e,t),this.size+=r.size==n?0:1,this},K.prototype.clear=function(){this.__data__=new G,this.size=0},K.prototype.delete=function(e){var t=this.__data__,r=t.delete(e);return this.size=t.size,r},K.prototype.get=function(e){return this.__data__.get(e)},K.prototype.has=function(e){return this.__data__.has(e)},K.prototype.set=function(e,t){var r=this.__data__;if(r instanceof G){var n=r.__data__;if(!U||n.length<199)return n.push([e,t]),this.size=++r.size,this;r=this.__data__=new Z(n)}return r.set(e,t),this.size=r.size,this};var ne=function(e,t,r){for(var n=-1,o=Object(e),i=r(e),a=i.length;a--;){var s=i[++n];if(!1===t(o[s],s,o))break}return e};
1function oe(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":V&&V in Object(e)?function(e){var t=P.call(e,V),r=e[V];try{e[V]=void 0;var n=!0}catch(i){}var o=A.call(e);return n&&(t?e[V]=r:delete e[V]),o}(e):function(e){return A.call(e)}(e)}function ie(e){return _e(e)&&oe(e)==o}function ae(e){return!(!Ce(e)||function(e){return!!E&&E in e}(e))&&(Se(e)?j:s).test(function(e){if(null!=e){try{return _.call(e)}catch(t){}try{return e+""}catch(t){}}return""}(e))}function se(e){if(!Ce(e))return function(e){var t=[];if(null!=e)for(var r in Object(e))t.push(r);return t}(e);var t=fe(e),r=[];for(var n in e)("constructor"!=n||!t&&P.call(e,n))&&r.push(n);return r}function le(e,t,r,n,o){e!==t&&ne(t,function(i,s){if(o||(o=new K),Ce(i))!function(e,t,r,n,o,i,s){var l=me(e,r),c=me(t,r),u=s.get(c);if(u)Q(e,r,u);else{var d,p=i?i(l,c,r+"",e,t,s):void 0,h=void 0===p;if(h){var f=ye(c),m=!f&&we(c),g=!f&&!m&&Pe(c);p=c,f||m||g?ye(l)?p=l:_e(d=l)&&xe(d)?p=function(e,t){var r=-1,n=e.length;for(t||(t=Array(n));++r<n;)t[r]=e[r];return t}(l):m?(h=!1,p=c.slice()):g?(h=!1,p=function(e){var t,r,n=(t=e.buffer,r=new t.constructor(t.byteLength),new B(r).set(new B(t)),r);return new e.constructor(n,e.byteOffset,e.length)}(c)):p=[]:function(e){if(!_e(e)||oe(e)!=a)return!1;var t=O(e);if(null===t)return!0;var r=P.call(t,"constructor")&&t.constructor;return"function"==typeof r&&r instanceof r&&_.call(r)==T}(c)||ve(c)?(p=l,ve(l)?p=function(e){return function(e,t,r){var n=!r;r||(r={});for(var o=-1,i=t.length;++o<i;){var a=t[o],s=void 0;void 0===s&&(s=e[a]),n?re(r,a,s):ee(r,a,s)}return r}(e,Ee(e))}(l):Ce(l)&&!Se(l)||(p=function(e){return"function"!=typeof e.constructor||fe(e)?{}:X(O(e))}(c))):h=!1}h&&(s.set(c,p),o(p,c,n,i,s),s.delete(c)),Q(e,r,p)}}(e,t,s,r,le,n,o);else{var l=n?n(me(e,s),i,s+"",e,t,o):void 0;void 0===l&&(l=i),Q(e,s,l)}},Ee)}function ce(e,t){return ge(function(e,t,r){return t=N(void 0===t?e.length-1:t,0),function(){for(var n=arguments,o=-1,i=N(n.length-t,0),a=Array(i);++o<i;)a[o]=n[t+o];o=-1;for(var s=Array(t+1);++o<t;)s[o]=n[o];return s[t]=r(a),function(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)}(e,this,s)}}(e,t,je),e+"")}var ue=F?function(e,t){return F(e,"toString",{configurable:!0,enumerable:!1,value:(r=t,function(){return r}),writable:!0});var r}:je;function de(e,t){var r,n,o=e.__data__;return("string"==(n=typeof(r=t))||"number"==n||"symbol"==n||"boolean"==n?"__proto__"!==r:null===r)?o["string"==typeof t?"string":"hash"]:o.map}function pe(e,t){var r=function(e,t){return null==e?void 0:e[t]}(e,t);return ae(r)?r:void 0}function he(e,t){var r=typeof e;return!!(t=null==t?n:t)&&("number"==r||"symbol"!=r&&l.test(e))&&e>-1&&e%1==0&&e<t}function fe(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||k)}function me(e,t){if(("constructor"!==t||"function"!=typeof e[t])&&"__proto__"!=t)return e[t]}var ge=function(e){var t=0,r=0;return function(){var n=H(),o=16-(n-r);if(r=n,o>0){if(++t>=800)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}(ue);function be(e,t){return e===t||e!=e&&t!=t}var ve=ie(function(){return arguments}())?ie:function(e){return _e(e)&&P.call(e,"callee")&&!I.call(e,"callee")},ye=Array.isArray;function xe(e){return null!=e&&ke(e.length)&&!Se(e)}var we=W||function(){return!1};function Se(e){if(!Ce(e))return!1;var t=oe(e);return t==i||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t}function ke(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=n}function Ce(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}function _e(e){return null!=e&&"object"==typeof e}var Pe=y?function(e){return function(t){return e(t)}}(y):function(e){return _e(e)&&ke(e.length)&&!!c[oe(e)]};function Ee(e){return xe(e)?J(e):se(e)}var Ae,Te=(Ae=function(e,t,r,n){le(e,t,r,n)},ce(function(e,t){var r=-1,n=t.length,o=n>1?t[n-1]:void 0,i=n>2?t[2]:void 0;for(o=Ae.length>3&&"function"==typeof o?(n--,o):void 0,i&&function(e,t,r){if(!Ce(r))return!1;var n=typeof t;return!!("number"==n?xe(r)&&he(t,r.length):"string"==n&&t in r)&&be(r[t],e)}(t[0],t[1],i)&&(o=n<3?void 0:o,n=1),e=Object(e);++r<n;){var a=t[r];a&&Ae(e,a,r,o)}return e}));function je(e){return e}e.exports=Te}(J,J.exports)),J.exports);const ee=k(Q);function te(e,t=[]){const r=b.useRef(e);return b.useEffect(()=>{r.current=e}),b.useCallback((...e)=>{var t;return null==(t=r.current)?void 0:t.call(r,...e)},t)}function re(e,t,r,n){const o=te(r);return b.useEffect(()=>{const i="function"==typeof e?e():e??document;if(r&&i)return i.addEventListener(t,o,n),()=>{i.removeEventListener(t,o,n)}},[t,e,n,o,r]),()=>{const r="function"==typeof e?e():e??document;null==r||r.removeEventListener(t,o,n)}}function ne(e={}){const{onClose:t,onOpen:r,isOpen:n,id:o}=e,i=te(r),a=te(t),[s,l]=b.useState(e.defaultIsOpen||!1),c=void 0!==n?n:s,u=void 0!==n,d=b.useId(),p=o??`disclosure-${d}
1`,h=b.useCallback(()=>{u||l(!1),null==a||a()},[u,a]),f=b.useCallback(()=>{u||l(!0),null==i||i()},[u,i]),m=b.useCallback(()=>{c?h():f()},[c,f,h]);return{isOpen:c,onOpen:f,onClose:h,onToggle:m,isControlled:u,getButtonProps:function(e={}){return{...e,"aria-expanded":c,"aria-controls":p,onClick(t){var r;null==(r=e.onClick)||r.call(e,t),m()}}},getDisclosureProps:function(e={}){return{...e,hidden:!c,id:p}}}}const oe=Boolean(null==globalThis?void 0:globalThis.document)?b.useLayoutEffect:b.useEffect,ie=(e,t)=>{const r=b.useRef(!1),n=b.useRef(!1);b.useEffect(()=>{if(r.current&&n.current)return e();n.current=!0},t),b.useEffect(()=>(r.current=!0,()=>{r.current=!1}),[])};function ae(...e){return t=>{e.forEach(e=>{!function(e,t){if(null!=e)if("function"!=typeof e)try{e.current=t}catch(r){throw new Error(`Cannot assign value '${t}' to ref '${e}'`)}else e(t)}(e,t)})}}function se(...e){return b.useMemo(()=>ae(...e),e)}function le(e,t){const r=te(e);b.useEffect(()=>{if(null==t)return;let e=null;return e=window.setTimeout(()=>{r()},t),()=>{e&&window.clearTimeout(e)}},[t,r])}const ce=(e,t)=>`${e}[data-closed], ${e}[data-state=closed] ${t}`,ue=(e,t)=>`${e}:hover ${t}, ${e}[data-hover] ${t}`,de=(e,t)=>`${e}:focus ${t}, ${e}[data-focus] ${t}`,pe=(e,t)=>`${e}:focus-visible ${t}`,he=(e,t)=>`${e}:focus-within ${t}`,fe=(e,t)=>`${e}:active ${t}, ${e}[data-active] ${t}`,me=(e,t)=>`${e}:disabled ${t}, ${e}[data-disabled] ${t}`,ge=(e,t)=>`${e}:invalid ${t}, ${e}[data-invalid] ${t}`,be=(e,t)=>`${e}:checked ${t}, ${e}[data-checked] ${t}`,ve=(e,t)=>`${e}:placeholder-shown ${t}`,ye=e=>we(t=>e(t,"&"),"[role=group]","[data-group]",".group"),xe=e=>we(t=>e(t,"~ &"),"[data-peer]",".peer"),we=(e,...t)=>t.map(e).join(", "),Se={_hover:"&:hover, &[data-hover]",_active:"&:active, &[data-active]",_focus:"&:focus, &[data-focus]",_highlighted:"&[data-highlighted]",_focusWithin:"&:focus-within, &[data-focus-within]",_focusVisible:"&:focus-visible, &[data-focus-visible]",_disabled:"&:disabled, &[disabled], &[aria-disabled=true], &[data-disabled]",_readOnly:"&[aria-readonly=true], &[readonly], &[data-readonly]",_before:"&::before",_after:"&::after",_empty:"&:empty, &[data-empty]",_expanded:"&[aria-expanded=true], &[data-expanded], &[data-state=expanded]",_checked:"&[aria-checked=true], &[data-checked], &[data-state=checked]",_grabbed:"&[aria-grabbed=true], &[data-grabbed]",_pressed:"&[aria-pressed=true], &[data-pressed]",_invalid:"&[aria-invalid=true], &[data-invalid]",_valid:"&[data-valid], &[data-state=valid]",_loading:"&[data-loading], &[aria-busy=true]",_selected:"&[aria-selected=true], &[data-selected]",_hidden:"&[hidden], &[data-hidden]",_autofill:"&:-webkit-autofill",_even:"&:nth-of-type(even)",_odd:"&:nth-of-type(odd)",_first:"&:first-of-type",_firstLetter:"&::first-letter",_last:"&:last-of-type",_notFirst:"&:not(:first-of-type)",_notLast:"&:not(:last-of-type)",_visited:"&:visited",_activeLink:"&[aria-current=page]",_activeStep:"&[aria-current=step]",_indeterminate:"&:indeterminate, &[aria-checked=mixed], &[data-indeterminate], &[data-state=indeterminate]",_groupOpen:ye((e,t)=>`${e}[data-open], ${e}[open], ${e}[data-state=open] ${t}`),_groupClosed:ye(ce),_groupHover:ye(ue),_peerHover:xe(ue),_groupFocus:ye(de),_peerFocus:xe(de),_groupFocusVisible:ye(pe),_peerFocusVisible:xe(pe),_groupActive:ye(fe),_peerActive:xe(fe),_groupDisabled:ye(me),_peerDisabled:xe(me),_groupInvalid:ye(ge),_peerInvalid:xe(ge),_groupChecked:ye(be),_peerChecked:xe(be),_groupFocusWithin:ye(he),_peerFocusWithin:xe(he),_peerPlaceholderShown:xe(ve),_placeholder:"&::placeholder, &[data-placeholder]",_placeholderShown:"&:placeholder-shown, &[data-placeholder-shown]",_fullScreen:"&:fullscreen, &[data-fullscreen]",_selection:"&::selection",_rtl:"[dir=rtl] &, &[dir=rtl]",_ltr:"[dir=ltr] &, &[dir=ltr]",_mediaDark:"@media (prefers-color-scheme: dark)",_mediaReduceMotion:"@media (prefers-reduced-motion: reduce)",_dark:".chakra-ui-dark &:not([data-theme]),[data-theme=dark] &:not([data-theme]),&[data-theme=dark]",_light:".chakra-ui-light &:not([data-theme]),[data-theme=light] &:not([data-theme]),&[data-theme=light]",_horizontal:"&[data-orientation=horizontal]",_vertical:"&[data-orientation=vertical]",_open:"&[data-open], &[open], &[data-state=open]",_closed:"&[data-closed], &[data-state=closed]",_complete:"&[data-complete]",_incomplete:"&[data-incomplete]",_current:"&[data-current]"},ke=Object.keys(Se),Ce=e=>"string"==typeof e?e.replace(/!(important)?$/,"").trim():e;function _e(e){const{scale:t,transform:r,compose:n}=e;return(e,o)=>{const i=((e,t)=>r=>{const n=String(t),o=(e=>/!(important)?$/.test(e))(n),i=Ce(n),a=e?`${e}.${i}`:i;let s=z(r.__cssMap)&&a in r.__cssMap?r.__cssMap[a].varRef:t;return s=Ce(s),o?`${s} !important`:s})(t,e)(o);let a=(null==r?void 0:r(i,o))??i;return n&&(a=n(a,o)),a}}const Pe=(...e)=>t=>e.reduce((e,t)=>
1t(e),t);function Ee(e,t){return r=>{const n={property:r,scale:e};return n.transform=_e({scale:e,transform:t}),n}}const Ae=({rtl:e,ltr:t})=>r=>"rtl"===r.direction?e:t;const Te=["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))"];const je={"--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(" ")},ze={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,/*!*/ /*!*/)"};const Re={"row-reverse":{space:"--chakra-space-x-reverse",divide:"--chakra-divide-x-reverse"},"column-reverse":{space:"--chakra-space-y-reverse",divide:"--chakra-divide-y-reverse"}},Be={"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"},Me=new Set(Object.values(Be)),$e=new Set(["none","-moz-initial","inherit","initial","revert","unset"]),Oe=e=>e.trim();const De=e=>"string"==typeof e&&e.includes("(")&&e.includes(")");const Ie=e=>t=>`${e}(${t})`,Le={filter:e=>"auto"!==e?e:je,backdropFilter:e=>"auto"!==e?e:ze,ring:e=>function(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(", ")}}(Le.px(e)),bgClip:e=>"text"===e?{color:"transparent",backgroundClip:"text"}:{backgroundClip:e},transform:e=>"auto"===e?["translateX(var(--chakra-translate-x, 0))","translateY(var(--chakra-translate-y, 0))",...Te].join(" "):"auto-gpu"===e?["translate3d(var(--chakra-translate-x, 0), var(--chakra-translate-y, 0), 0)",...Te].join(" "):e,vh:e=>"$100vh"===e?"var(--chakra-vh)":e,px(e){if(null==e)return e;const{unitless:t}=(e=>{const t=parseFloat(e.toString()),r=e.toString().replace(String(t),"");return{unitless:!r,value:t,unit:r}})(e);return t||"number"==typeof e?`${e}px`:e},fraction:e=>"number"!=typeof e||e>1?e:100*e+"%",float:(e,t)=>"rtl"===t.direction?{left:"right",right:"left"}[e]:e,degree(e){if(function(e){return/^var\(--.+\)$/.test(e)}(e)||null==e)return e;const t="string"==typeof e&&!e.endsWith("deg");return"number"==typeof e||t?`${e}deg`:e},gradient:(e,t)=>function(e,t){if(null==e||$e.has(e))return e;if(!De(e)&&!$e.has(e))return`url('${e}')`;const r=/(^[a-z-A-Z]+)\((.*)\)/g.exec(e),n=null==r?void 0:r[1],o=null==r?void 0:r[2];if(!n||!o)return e;const i=n.includes("-gradient")?n:`${n}
1-gradient`,[a,...s]=o.split(",").map(Oe).filter(Boolean);if(0===(null==s?void 0:s.length))return e;const l=a in Be?Be[a]:a;return s.unshift(l),`${i}(${s.map(e=>{if(Me.has(e))return e;const r=e.indexOf(" "),[n,o]=-1!==r?[e.substr(0,r),e.substr(r+1)]:[e],i=De(o)?o:o&&o.split(" "),a=`colors.${n}`,s=a in t.__cssMap?t.__cssMap[a].varRef:n;return i?[s,...Array.isArray(i)?i:[i]].join(" "):s}).join(", ")})`}(e,t??{}),blur:Ie("blur"),opacity:Ie("opacity"),brightness:Ie("brightness"),contrast:Ie("contrast"),dropShadow:Ie("drop-shadow"),grayscale:Ie("grayscale"),hueRotate:e=>Ie("hue-rotate")(Le.degree(e)),invert:Ie("invert"),saturate:Ie("saturate"),sepia:Ie("sepia"),bgImage(e){if(null==e)return e;return De(e)||$e.has(e)?e:`url(${e})`},outline(e){const t="0"===String(e)||"none"===String(e);return null!==e&&t?{outline:"2px solid transparent",outlineOffset:"2px"}:{outline:e}},flexDirection(e){const{space:t,divide:r}=Re[e]??{},n={flexDirection:e};return t&&(n[t]=1),r&&(n[r]=1),n}},Ve={borderWidths:Ee("borderWidths"),borderStyles:Ee("borderStyles"),colors:Ee("colors"),borders:Ee("borders"),gradients:Ee("gradients",Le.gradient),radii:Ee("radii",Le.px),space:Ee("space",Pe(Le.vh,Le.px)),spaceT:Ee("space",Pe(Le.vh,Le.px)),degreeT:e=>({property:e,transform:Le.degree}),prop:(e,t,r)=>({property:e,scale:t,...t&&{transform:_e({scale:t,transform:r})}}),propT:(e,t)=>({property:e,transform:t}),sizes:Ee("sizes",Pe(Le.vh,Le.px)),sizesT:Ee("sizes",Pe(Le.vh,Le.fraction)),shadows:Ee("shadows"),logical:function(e){const{property:t,scale:r,transform:n}=e;return{scale:r,property:Ae(t),transform:r?_e({scale:r,compose:n}):n}},blur:Ee("blur",Le.blur)},Fe={background:Ve.colors("background"),backgroundColor:Ve.colors("backgroundColor"),backgroundImage:Ve.gradients("backgroundImage"),backgroundSize:!0,backgroundPosition:!0,backgroundRepeat:!0,backgroundAttachment:!0,backgroundClip:{transform:Le.bgClip},bgSize:Ve.prop("backgroundSize"),bgPosition:Ve.prop("backgroundPosition"),bg:Ve.colors("background"),bgColor:Ve.colors("backgroundColor"),bgPos:Ve.prop("backgroundPosition"),bgRepeat:Ve.prop("backgroundRepeat"),bgAttachment:Ve.prop("backgroundAttachment"),bgGradient:Ve.gradients("backgroundImage"),bgClip:{transform:Le.bgClip}};Object.assign(Fe,{bgImage:Fe.backgroundImage,bgImg:Fe.backgroundImage});const We={border:Ve.borders("border"),borderWidth:Ve.borderWidths("borderWidth"),borderStyle:Ve.borderStyles("borderStyle"),borderColor:Ve.colors("borderColor"),borderRadius:Ve.radii("borderRadius"),borderTop:Ve.borders("borderTop"),borderBlockStart:Ve.borders("borderBlockStart"),borderTopLeftRadius:Ve.radii("borderTopLeftRadius"),borderStartStartRadius:Ve.logical({scale:"radii",property:{ltr:"borderTopLeftRadius",rtl:"borderTopRightRadius"}}),borderEndStartRadius:Ve.logical({scale:"radii",property:{ltr:"borderBottomLeftRadius",rtl:"borderBottomRightRadius"}}),borderTopRightRadius:Ve.radii("borderTopRightRadius"),borderStartEndRadius:Ve.logical({scale:"radii",property:{ltr:"borderTopRightRadius",rtl:"borderTopLeftRadius"}}),borderEndEndRadius:Ve.logical({scale:"radii",property:{ltr:"borderBottomRightRadius",rtl:"borderBottomLeftRadius"}}),borderRight:Ve.borders("borderRight"),borderInlineEnd:Ve.borders("borderInlineEnd"),borderBottom:Ve.borders("borderBottom"),borderBlockEnd:Ve.borders("borderBlockEnd"),borderBottomLeftRadius:Ve.radii("borderBottomLeftRadius"),borderBottomRightRadius:Ve.radii("borderBottomRightRadius"),borderLeft:Ve.borders("borderLeft"),borderInlineStart:{property:"borderInlineStart",scale:"borders"},borderInlineStartRadius:Ve.logical({scale:"radii",property:{ltr:["borderTopLeftRadius","borderBottomLeftRadius"],rtl:["borderTopRightRadius","borderBottomRightRadius"]}}),borderInlineEndRadius:Ve.logical({scale:"radii",property:{ltr:["borderTopRightRadius","borderBottomRightRadius"],rtl:["borderTopLeftRadius","borderBottomLeftRadius"]}}),borderX:Ve.borders(["borderLeft","borderRight"]),borderInline:Ve.borders("borderInline"),borderY:Ve.borders(["borderTop","borderBottom"]),borderBlock:Ve.borders("borderBlock"),borderTopWidth:Ve.borderWidths("borderTopWidth"),borderBlockStartWidth:Ve.borderWidths("borderBlockStartWidth"),borderTopColor:Ve.colors("borderTopColor"),borderBlockStartColor:Ve.colors("borderBlockStartColor"),borderTopStyle:Ve.borderStyles("borderTopStyle"),borderBlockStartStyle:Ve.borderStyles("borderBlockStartStyle"),borderBottomWidth:Ve.borderWidths("borderBottomWidth"),borderBlockEndWidth:Ve.borderWidths("borderBlockEndWidth"),borderBottomColor:Ve.colors("borderBottomColor"),borderBlockEndColor:Ve.colors("borderBlockEndColor"),borderBottomStyle:Ve.borderStyles("borderBottomStyle"),borderBlockEndStyle:Ve.borderStyles("borderBlockEndStyle"),borderLeftWidth:Ve.borderWidths("borderLeftWidth"),borderInlineStartWidth:Ve.borderWidths("borderInlineStartWidth"),borderLeftColor:Ve.colors("borderLeftColor"),borderInlineStartColor:Ve.colors("borderInlineStartColor"),borderLeftStyle:Ve.borderStyles("borderLeftStyle"),borderInlineStartStyle:Ve.borderStyles("borderInlineStartStyle"),borderRightWidth:Ve.borderWidths("borderRightWidth"),borderInlineEndWidth:Ve.borderWidths("borderInlineEndWidth"),borderRightColor:Ve.colors("borderRightColor"),borderInlineEndColor:Ve.colors("borderInlineEndColor"),borderRightStyle:Ve.borderStyles("borderRightStyle"),borderInlineEndStyle:Ve.borderStyles("borderInlineEndStyle"),borderTopRadius:Ve.radii(["borderTopLeftRadius","borderTopRightRadius"]),borderBottomRadius:Ve.radii(["borderBottomLeftRadius","borderBottomRightRadius"]),borderLeftRadius:Ve.radii(["borderTopLeftRadius","borderBottomLeftRadius"]),borderRightRadius:Ve.radii(["borderTopRightRadius","borderBottomRightRadius"])};Object.assign(We,{rounded:We.borderRadius,roundedTop:We.borderTopRadius,roundedTopLeft:We.borderTopLeftRadius,roundedTopRight:We.borderTopRightRadius,roundedTopStart:We.borderStartStartRadius,roundedTopEnd:We.borderStartEndRadius,roundedBottom:We.borderBottomRadius,roundedBottomLeft:We.borderBottomLeftRadius,roundedBottomRight:We.borderBottomRightRadius,roundedBottomStart:We.borderEndStartRadius,roundedBottomEnd:We.borderEndEndRadius,roundedLeft:We.borderLeftRadius,roundedRight:We.borderRightRadius,roundedStart:We.borderInlineStartRadius,roundedEnd:We.borderInlineEndRadius,borderStart:We.borderInlineStart,borderEnd:We.borderInlineEnd,borderTopStartRadius:We.borderStartStartRadius,borderTopEndRadius:We.borderStartEndRadius,borderBottomStartRadius:We.borderEndStartRadius,borderBottomEndRadius:We.borderEndEndRadius,borderStartRadius:We.borderInlineStartRadius,borderEndRadius:We.borderInlineEndRadius,borderStartWidth:We.borderInlineStartWidth,borderEndWidth:We.borderInlineEndWidth,borderStartColor:We.borderInlineStartColor,borderEndColor:We.borderInlineEndColor,borderStartStyle:We.borderInlineStartStyle,borderEndStyle:We.borderInlineEndStyle});const Ne={color:Ve.colors("color"),textColor:Ve.colors("color"),fill:Ve.colors("fill"),stroke:Ve.colors("stroke"),accentColor:Ve.colors("accentColor"),textFillColor:Ve.colors("textFillColor")},He={alignItems:!0,alignContent:!0,justifyItems:!0,justifyContent:!0,flexWrap:!0,flexDirection:{transform:Le.flexDirection},flex:!0,flexFlow:!0,flexGrow:!0,flexShrink:!0,flexBasis:Ve.sizes("flexBasis"),justifySelf:!0,alignSelf:!0,order:!0,placeItems:!0,placeContent:!0,placeSelf:!0,gap:Ve.space("gap"),rowGap:Ve.space("rowGap"),columnGap:Ve.space("columnGap")};Object.assign(He,{flexDir:He.flexDirection});const Ue={width:Ve.sizesT("width"),inlineSize:Ve.sizesT("inlineSize"),height:Ve.sizes("height"),blockSize:Ve.sizes("blockSize"),boxSize:Ve.sizes(["width","height"]),minWidth:Ve.sizes("minWidth"),minInlineSize:Ve.sizes("minInlineSize"),minHeight:Ve.sizes("minHeight"),minBlockSize:Ve.sizes("minBlockSize"),maxWidth:Ve.sizes("maxWidth"),maxInlineSize:Ve.sizes("maxInlineSize"),maxHeight:Ve.sizes("maxHeight"),maxBlockSize:Ve.sizes("maxBlockSize"),overflow:!0,overflowX:!0,overflowY:!0,overscrollBehavior:!0,overscrollBehaviorX:!0,overscrollBehaviorY:!0,display:!0,aspectRatio:!0,hideFrom:{scale:"breakpoints",transform:(e,t)=>
1{var r,n;const o=`@media screen and (min-width: ${(null==(n=null==(r=t.__breakpoints)?void 0:r.get(e))?void 0:n.minW)??e})`;return{[o]:{display:"none"}}}},hideBelow:{scale:"breakpoints",transform:(e,t)=>{var r,n;const o=`@media screen and (max-width: ${(null==(n=null==(r=t.__breakpoints)?void 0:r.get(e))?void 0:n._minW)??e})`;return{[o]:{display:"none"}}}},verticalAlign:!0,boxSizing:!0,boxDecorationBreak:!0,float:Ve.propT("float",Le.float),objectFit:!0,objectPosition:!0,visibility:!0,isolation:!0};Object.assign(Ue,{w:Ue.width,h:Ue.height,minW:Ue.minWidth,maxW:Ue.maxWidth,minH:Ue.minHeight,maxH:Ue.maxHeight,overscroll:Ue.overscrollBehavior,overscrollX:Ue.overscrollBehaviorX,overscrollY:Ue.overscrollBehaviorY});const qe={filter:{transform:Le.filter},blur:Ve.blur("--chakra-blur"),brightness:Ve.propT("--chakra-brightness",Le.brightness),contrast:Ve.propT("--chakra-contrast",Le.contrast),hueRotate:Ve.propT("--chakra-hue-rotate",Le.hueRotate),invert:Ve.propT("--chakra-invert",Le.invert),saturate:Ve.propT("--chakra-saturate",Le.saturate),dropShadow:Ve.propT("--chakra-drop-shadow",Le.dropShadow),backdropFilter:{transform:Le.backdropFilter},backdropBlur:Ve.blur("--chakra-backdrop-blur"),backdropBrightness:Ve.propT("--chakra-backdrop-brightness",Le.brightness),backdropContrast:Ve.propT("--chakra-backdrop-contrast",Le.contrast),backdropHueRotate:Ve.propT("--chakra-backdrop-hue-rotate",Le.hueRotate),backdropInvert:Ve.propT("--chakra-backdrop-invert",Le.invert),backdropSaturate:Ve.propT("--chakra-backdrop-saturate",Le.saturate)},Xe={ring:{transform:Le.ring},ringColor:Ve.colors("--chakra-ring-color"),ringOffset:Ve.prop("--chakra-ring-offset-width"),ringOffsetColor:Ve.colors("--chakra-ring-offset-color"),ringInset:Ve.prop("--chakra-ring-inset")},Ye={appearance:!0,cursor:!0,resize:!0,userSelect:!0,pointerEvents:!0,outline:{transform:Le.outline},outlineOffset:!0,outlineColor:Ve.colors("outlineColor")},Ge={gridGap:Ve.space("gridGap"),gridColumnGap:Ve.space("gridColumnGap"),gridRowGap:Ve.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};const Ze=(e=>{const t=new WeakMap;return(r,n,o,i)=>{if(void 0===r)return e(r,n,o);t.has(r)||t.set(r,new Map);const a=t.get(r);if(a.has(n))return a.get(n);const s=e(r,n,o,i);return a.set(n,s),s}})(function(e,t,r,n){const o="string"==typeof t?t.split("."):[t];for(n=0;n<o.length&&e;n+=1)e=e[o[n]];return void 0===e?r:e}),Ke={border:"0px",clip:"rect(0, 0, 0, 0)",width:"1px",height:"1px",margin:"-1px",padding:"0px",overflow:"hidden",whiteSpace:"nowrap",position:"absolute"},Je={position:"static",width:"auto",height:"auto",clip:"auto",padding:"0",margin:"0",overflow:"visible",whiteSpace:"normal"},Qe=(e,t,r)=>{const n={},o=Ze(e,t,{});for(const i in o){i in r&&null!=r[i]||(n[i]=o[i])}return n},et={srOnly:{transform:e=>!0===e?Ke:"focusable"===e?Je:{}},layerStyle:{processResult:!0,transform:(e,t,r)=>Qe(t,`layerStyles.${e}`,r)},textStyle:{processResult:!0,transform:(e,t,r)=>Qe(t,`textStyles.${e}`,r)},apply:{processResult:!0,transform:(e,t,r)=>Qe(t,e,r)}},tt={position:!0,pos:Ve.prop("position"),zIndex:Ve.prop("zIndex","zIndices"),inset:Ve.spaceT("inset"),insetX:Ve.spaceT(["left","right"]),insetInline:Ve.spaceT("insetInline"),insetY:Ve.spaceT(["top","bottom"]),insetBlock:Ve.spaceT("insetBlock"),top:Ve.spaceT("top"),insetBlockStart:Ve.spaceT("insetBlockStart"),bottom:Ve.spaceT("bottom"),insetBlockEnd:Ve.spaceT("insetBlockEnd"),left:Ve.spaceT("left"),insetInlineStart:Ve.logical({scale:"space",property:{ltr:"left",rtl:"right"}}),right:Ve.spaceT("right"),insetInlineEnd:Ve.logical({scale:"space",property:{ltr:"right",rtl:"left"}})};Object.assign(tt,{insetStart:tt.insetInlineStart,insetEnd:tt.insetInlineEnd});const rt={boxShadow:Ve.shadows("boxShadow"),mixBlendMode:!0,blendMode:Ve.prop("mixBlendMode"),backgroundBlendMode:!0,bgBlendMode:Ve.prop("backgroundBlendMode"),opacity:!0};Object.assign(rt,{shadow:rt.boxShadow});const nt={margin:Ve.spaceT("margin"),marginTop:Ve.spaceT("marginTop"),marginBlockStart:Ve.spaceT("marginBlockStart"),marginRight:Ve.spaceT("marginRight"),marginInlineEnd:Ve.spaceT("marginInlineEnd"),marginBottom:Ve.spaceT("marginBottom"),marginBlockEnd:Ve.spaceT("marginBlockEnd"),marginLeft:Ve.spaceT("marginLeft"),marginInlineStart:Ve.spaceT("marginInlineStart"),marginX:Ve.spaceT(["marginInlineStart","marginInlineEnd"]),marginInline:Ve.spaceT("marginInline"),marginY:Ve.spaceT(["marginTop","marginBottom"]),marginBlock:Ve.spaceT("marginBlock"),padding:Ve.space("padding"),paddingTop:Ve.space("paddingTop"),paddingBlockStart:Ve.space("paddingBlockStart"),paddingRight:Ve.space("paddingRight"),paddingBottom:Ve.space("paddingBottom"),paddingBlockEnd:Ve.space("paddingBlockEnd"),paddingLeft:Ve.space("paddingLeft"),paddingInlineStart:Ve.space("paddingInlineStart"),paddingInlineEnd:Ve.space("paddingInlineEnd"),paddingX:Ve.space(["paddingInlineStart","paddingInlineEnd"]),paddingInline:Ve.space("paddingInline"),paddingY:Ve.space(["paddingTop","paddingBottom"]),paddingBlock:Ve.space("paddingBlock")};Object.assign(nt,{m:nt.margin,mt:nt.marginTop,mr:nt.marginRight,me:nt.marginInlineEnd,marginEnd:nt.marginInlineEnd,mb:nt.marginBottom,ml:nt.marginLeft,ms:nt.marginInlineStart,marginStart:nt.marginInlineStart,mx:nt.marginX,my:nt.marginY,p:nt.padding,pt:nt.paddingTop,py:nt.paddingY,px:nt.paddingX,pb:nt.paddingBottom,pl:nt.paddingLeft,ps:nt.paddingInlineStart,paddingStart:nt.paddingInlineStart,pr:nt.paddingRight,pe:nt.paddingInlineEnd,paddingEnd:nt.paddingInlineEnd});const ot={scrollBehavior:!0,scrollSnapAlign:!0,scrollSnapStop:!0,scrollSnapType:!0,scrollMargin:Ve.spaceT("scrollMargin"),scrollMarginTop:Ve.spaceT("scrollMarginTop"),scrollMarginBottom:Ve.spaceT("scrollMarginBottom"),scrollMarginLeft:Ve.spaceT("scrollMarginLeft"),scrollMarginRight:Ve.spaceT("scrollMarginRight"),scrollMarginX:Ve.spaceT(["scrollMarginLeft","scrollMarginRight"]),scrollMarginY:Ve.spaceT(["scrollMarginTop","scrollMarginBottom"]),scrollPadding:Ve.spaceT("scrollPadding"),scrollPaddingTop:Ve.spaceT("scrollPaddingTop"),scrollPaddingBottom:Ve.spaceT("scrollPaddingBottom"),scrollPaddingLeft:Ve.spaceT("scrollPaddingLeft"),scrollPaddingRight:Ve.spaceT("scrollPaddingRight"),scrollPaddingX:Ve.spaceT(["scrollPaddingLeft","scrollPaddingRight"]),scrollPaddingY:Ve.spaceT(["scrollPaddingTop","scrollPaddingBottom"])},it={fontFamily:Ve.prop("fontFamily","fonts"),fontSize:Ve.prop("fontSize","fontSizes",Le.px),fontWeight:Ve.prop("fontWeight","fontWeights"),lineHeight:Ve.prop("lineHeight","lineHeights"),letterSpacing:Ve.prop("letterSpacing","letterSpacings"),textAlign:!0,fontStyle:!0,textIndent:!0,wordBreak:!0,overflowWrap:!0,textOverflow:!0,textTransform:!0,whiteSpace:!0,isTruncated:{transform(e){if(!0===e)return{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"}}},noOfLines:{static:{overflow:"hidden",textOverflow:"ellipsis",display:"-webkit-box",WebkitBoxOrient:"vertical",WebkitLineClamp:"var(--chakra-line-clamp)"}
1,property:"--chakra-line-clamp"}},at={textDecorationColor:Ve.colors("textDecorationColor"),textDecoration:!0,textDecor:{property:"textDecoration"},textDecorationLine:!0,textDecorationStyle:!0,textDecorationThickness:!0,textUnderlineOffset:!0,textShadow:Ve.shadows("textShadow")},st={clipPath:!0,transform:Ve.propT("transform",Le.transform),transformOrigin:!0,translateX:Ve.spaceT("--chakra-translate-x"),translateY:Ve.spaceT("--chakra-translate-y"),skewX:Ve.degreeT("--chakra-skew-x"),skewY:Ve.degreeT("--chakra-skew-y"),scaleX:Ve.prop("--chakra-scale-x"),scaleY:Ve.prop("--chakra-scale-y"),scale:Ve.prop(["--chakra-scale-x","--chakra-scale-y"]),rotate:Ve.degreeT("--chakra-rotate")},lt={listStyleType:!0,listStylePosition:!0,listStylePos:Ve.prop("listStylePosition"),listStyleImage:!0,listStyleImg:Ve.prop("listStyleImage")},ct={transition:!0,transitionDelay:!0,animation:!0,willChange:!0,transitionDuration:Ve.prop("transitionDuration","transition.duration"),transitionProperty:Ve.prop("transitionProperty","transition.property"),transitionTimingFunction:Ve.prop("transitionTimingFunction","transition.easing")},ut=ee({},Fe,We,Ne,He,Ue,qe,Xe,Ye,Ge,et,tt,rt,nt,ot,it,at,st,lt,ct),dt=Object.assign({},nt,Ue,He,Ge,tt),pt=Object.keys(dt),ht=[...Object.keys(ut),...ke],ft={...ut,...Se},mt=e=>e in ft;const gt=(e,t)=>e.startsWith("--")&&"string"==typeof t&&!function(e){return/^var\(--.+\)$/.test(e)}(t),bt=(e,t)=>{if(null==t)return t;const r=t=>{var r,n;return null==(n=null==(r=e.__cssMap)?void 0:r[t])?void 0:n.varRef},n=e=>r(e)??e,[o,i]=function(e){const t=[];let r="",n=!1;for(let o=0;o<e.length;o++){const i=e[o];"("===i?(n=!0,r+=i):")"===i?(n=!1,r+=i):","!==i||n?r+=i:(t.push(r),r="")}return r=r.trim(),r&&t.push(r),t}(t);return t=r(o)??n(i)??n(t)};function vt(e){const{configs:t={},pseudos:r={},theme:n}=e,o=(e,i=!1)=>{var a;const s=Y(e,n),l=(e=>t=>{if(!t.__breakpoints)return e;const{isResponsive:r,toArrayValue:n,media:o}=t.__breakpoints,i={};for(const a in e){let s=Y(e[a],t);if(null==s)continue;if(s=z(s)&&r(s)?n(s):s,!Array.isArray(s)){i[a]=s;continue}const l=s.slice(0,o.length).length;for(let e=0;e<l;e+=1){const t=null==o?void 0:o[e];t?(i[t]=i[t]||{},null!=s[e]&&(i[t][a]=s[e])):i[a]=s[e]}}return i})(s)(n);let c={};for(let u in l){let e=Y(l[u],n);u in r&&(u=r[u]),gt(u,e)&&(e=bt(n,e));let d=t[u];if(!0===d&&(d={property:u}),z(e)){c[u]=c[u]??{},c[u]=ee({},c[u],o(e,!0));continue}let p=(null==(a=null==d?void 0:d.transform)?void 0:a.call(d,e,n,s))??e;p=(null==d?void 0:d.processResult)?o(p,!0):p;const h=Y(null==d?void 0:d.property,n);if(!i&&(null==d?void 0:d.static)){const e=Y(d.static,n);c=ee({},c,e)}if(h&&Array.isArray(h))for(const t of h)c[t]=p;else h?"&"===h&&z(p)?c=ee({},c,p):c[h]=p:z(p)?c=ee({},c,p):c[u]=p}return c};return o}const yt=e=>t=>vt({theme:t,pseudos:Se,configs:ut})(e);function xt(e){return e}function wt(e){return{definePartsStyle:e=>e,defineMultiStyleConfig:t=>({parts:e,...t})}}function St(e,t){for(let r=t+1;r<e.length;r++)if(null!=e[r])return r;return-1}function kt(e){const t=e.__breakpoints;return function(e,r,n,o){var i,a;if(!t)return;const s={},l=function(e,t){return Array.isArray(e)?e:z(e)?t(e):null!=e?[e]:void 0}(n,t.toArrayValue);if(!l)return s;const c=l.length,u=1===c,d=!!e.parts;for(let p=0;p<c;p++){const n=t.details[p],c=t.details[St(l,p)],h=I(n.minW,null==c?void 0:c._minW),f=Y(null==(i=e[r])?void 0:i[l[p]],o);f&&(d?null==(a=e.parts)||a.forEach(e=>{ee(s,{[e]:u?f[e]:{[h]:f[e]}})}):d?s[h]=f:u?ee(s,f):s[h]=f)}return s}}function Ct(e){return q(e,["styleConfig","size","variant","colorScheme"])}function _t(e){return z(e)&&e.reference?e.reference:String(e)}const Pt=(e,...t)=>t.map(_t).join(` ${e} `).replace(/calc/g,""),Et=(...e)=>`calc(${Pt("+",...e)})`,At=(...e)=>`calc(${Pt("-",...e)})`,Tt=(...e)=>`calc(${Pt("*",...e)})`,jt=(...e)=>`calc(${Pt("/",...e)})`,zt=e=>{const t=_t(e);return null==t||Number.isNaN(parseFloat(t))?Tt(t,-1):String(t).startsWith("-")?String(t).slice(1):`-${t}`},Rt=Object.assign(e=>({add:(...t)=>Rt(Et(e,...t)),subtract:(...t)=>Rt(At(e,...t)),multiply:(...t)=>Rt(Tt(e,...t)),divide:(...t)=>Rt(jt(e,...t)),negate:()=>Rt(zt(e)),toString:()=>e.toString()}),{add:Et,subtract:At,multiply:Tt,divide:jt,negate:zt});function Bt(e){return function(e){return e.replace(/[!-,/:-@[-^`{-~]/g,"\\$&")}(function(e){if(e.includes("\\."))return e;const t=!Number.isInteger(parseFloat(e.toString()));return t?e.replace(".","\\."):e}(function(e,t="-"){return e.replace(/\s+/g,t)}(e.toString())))}function Mt(e,t){return`var(${e}${t?`, ${t}`:""})`}function $t(e,t=""){return Bt(`--${function(e,t=""){return[t,e].filter(
1Boolean).join("-")}(e,t)}`)}function Ot(e,t,r){const n=$t(e,r);return{variable:n,reference:Mt(n,t)}}const Dt=["colors","borders","borderWidths","borderStyles","fonts","fontSizes","fontWeights","gradients","letterSpacings","lineHeights","radii","space","shadows","sizes","zIndices","transition","blur","breakpoints"];function It(e){const t=function(e){return X(e,Dt)}(e),r=function(e){return e.semanticTokens}(e),n=e=>ke.includes(e)||"default"===e,o={};return Z(t,(e,t)=>{null!=e&&(o[t.join(".")]={isSemantic:!1,value:e})}),Z(r,(e,t)=>{null!=e&&(o[t.join(".")]={isSemantic:!0,value:e})},{stop:e=>Object.keys(e).every(n)}),o}function Lt(e,t){return Ot(String(e).replace(/\./g,"-"),void 0,t)}function Vt(e){const t=function(e){const{__cssMap:t,__cssVars:r,__breakpoints:n,...o}=e;return o}(e),{cssMap:r,cssVars:n}=function(e){var t;const r=It(e),n=null==(t=e.config)?void 0:t.cssVarPrefix;let o={};const i={};function a(e,t){const o=[String(e).split(".")[0],t].join(".");if(!r[o])return t;const{reference:i}=Lt(o,n);return i}for(const[s,l]of Object.entries(r)){const{isSemantic:e,value:t}=l,{variable:r,reference:c}=Lt(s,n);if(!e){if(s.startsWith("space")){const e=s.split("."),[n,...o]=e,a=`${n}.-${o.join(".")}`,l=Rt.negate(t),u=Rt.negate(c);i[a]={value:l,var:r,varRef:u}}o[r]=t,i[s]={value:t,var:r,varRef:c};continue}const u=z(t)?t:{default:t};o=ee(o,Object.entries(u).reduce((e,[t,n])=>{if(!n)return e;const o=a(s,`${n}`);return"default"===t?(e[r]=o,e):(e[(null==Se?void 0:Se[t])??t]={[r]:o},e)},{})),i[s]={value:c,var:r,varRef:c}}return{cssVars:o,cssMap:i}}(t);return Object.assign(t,{__cssVars:{"--chakra-ring-inset":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-ring-offset-width":"0px","--chakra-ring-offset-color":"#fff","--chakra-ring-color":"rgba(66, 153, 225, 0.6)","--chakra-ring-offset-shadow":"0 0 #0000","--chakra-ring-shadow":"0 0 #0000","--chakra-space-x-reverse":"0","--chakra-space-y-reverse":"0",...n},__cssMap:r,__breakpoints:L(t.breakpoints)}),t}function Ft(e,t={}){let r=!1;function n(t){const r=`chakra-${(["container","root"].includes(t??"")?[e]:[e,t]).filter(Boolean).join("__")}`;return{className:r,selector:`.${r}`,toString:()=>t}}return{parts:function(...o){!function(){if(r)throw new Error("[anatomy] .part(...) should only be called once. Did you mean to use .extend(...) ?");r=!0}();for(const e of o)t[e]=n(e);return Ft(e,t)},toPart:n,extend:function(...r){for(const e of r)e in t||(t[e]=n(e));return Ft(e,t)},selectors:function(){return Object.fromEntries(Object.entries(t).map(([e,t])=>[e,t.selector]))},classnames:function(){return Object.fromEntries(Object.entries(t).map(([e,t])=>[e,t.className]))},get keys(){return Object.keys(t)},__type:{}}}const Wt=Ft("accordion").parts("root","container","button","panel","icon"),Nt=Ft("alert").parts("title","description","container","icon","spinner"),Ht=Ft("avatar").parts("label","badge","container","excessLabel","group"),Ut=Ft("breadcrumb").parts("link","item","container","separator");Ft("button").parts();const qt=Ft("checkbox").parts("control","icon","container","label");Ft("progress").parts("track","filledTrack","label");const Xt=Ft("drawer").parts("overlay","dialogContainer","dialog","header","closeButton","body","footer"),Yt=Ft("editable").parts("preview","input","textarea"),Gt=Ft("form").parts("container","requiredIndicator","helperText"),Zt=Ft("formError").parts("text","icon"),Kt=Ft("input").parts("addon","field","element","group"),Jt=Ft("list").parts("container","item","icon"),Qt=Ft("menu").parts("button","list","item","groupTitle","icon","command","divider"),er=Ft("modal").parts("overlay","dialogContainer","dialog","header","closeButton","body","footer"),tr=Ft("numberinput").parts("root","field","stepperGroup","stepper");Ft("pininput").parts("field");const rr=Ft("popover").parts("content","header","body","footer","popper","arrow","closeButton"),nr=Ft("progress").parts("label","filledTrack","track"),or=Ft("radio").parts("container","control","label"),ir=Ft("select").parts("field","icon"),ar=Ft("slider").parts("container","track","thumb","filledTrack","mark"),sr=Ft("stat").parts("container","label","helpText","number","icon"),lr=Ft("switch").parts("container","track","thumb","label"),cr=Ft("table").parts("table","thead","tbody","tr","th","td","tfoot","caption"),ur=Ft("tabs").parts("root","tab","tablist","tabpanel","tabpanels","indicator"),dr=Ft("tag").parts("container","label","closeButton"),pr=Ft("card").parts("container","header","body","footer");Ft("stepper").parts("stepper","step","title","description","indicator","separator","icon","number");const{definePartsStyle:hr,defineMultiStyleConfig:fr}=wt(Wt.keys),mr=fr({baseStyle:hr({container:{borderTopWidth:"1px",borderColor:"inherit",_last:{borderBottomWidth:"1px"}},button:{transitionProperty:"common",transitionDuration:"normal",fontSize:"md",_focusVisible:{boxShadow:"outline"},_hover:{bg:"blackAlpha.50"},_disabled:{opacity:.4,cursor:"not-allowed"},px:"4",py:"2"},panel:{pt:"2",px:"4",pb:"5"},icon:{fontSize:"1.25em"}})});function gr(e,t,r){return Math.min(Math.max(e,r),t)}
1class br extends Error{constructor(e){super(`Failed to parse color: "${e}"`)}}var vr=br;function yr(e){if("string"!=typeof e)throw new vr(e);if("transparent"===e.trim().toLowerCase())return[0,0,0,0];let t=e.trim();t=Er.test(e)?function(e){const t=e.toLowerCase().trim(),r=wr[function(e){let t=5381,r=e.length;for(;r;)t=33*t^e.charCodeAt(--r);return(t>>>0)%2341}(t)];if(!r)throw new vr(e);return`#${r}`}(e):e;const r=kr.exec(t);if(r){const e=Array.from(r).slice(1);return[...e.slice(0,3).map(e=>parseInt(Sr(e,2),16)),parseInt(Sr(e[3]||"f",2),16)/255]}const n=Cr.exec(t);if(n){const e=Array.from(n).slice(1);return[...e.slice(0,3).map(e=>parseInt(e,16)),parseInt(e[3]||"ff",16)/255]}const o=_r.exec(t);if(o){const e=Array.from(o).slice(1);return[...e.slice(0,3).map(e=>parseInt(e,10)),parseFloat(e[3]||"1")]}const i=Pr.exec(t);if(i){const[t,r,n,o]=Array.from(i).slice(1).map(parseFloat);if(gr(0,100,r)!==r)throw new vr(e);if(gr(0,100,n)!==n)throw new vr(e);return[...Tr(t,r,n),Number.isNaN(o)?1:o]}throw new vr(e)}const xr=e=>parseInt(e.replace(/_/g,""),36),wr="1q29ehhb 1n09sgk7 1kl1ekf_ _yl4zsno 16z9eiv3 1p29lhp8 _bd9zg04 17u0____ _iw9zhe5 _to73___ _r45e31e _7l6g016 _jh8ouiv _zn3qba8 1jy4zshs 11u87k0u 1ro9yvyo 1aj3xael 1gz9zjz0 _3w8l4xo 1bf1ekf_ _ke3v___ _4rrkb__ 13j776yz _646mbhl _nrjr4__ _le6mbhl 1n37ehkb _m75f91n _qj3bzfz 1939yygw 11i5z6x8 _1k5f8xs 1509441m 15t5lwgf _ae2th1n _tg1ugcv 1lp1ugcv 16e14up_ _h55rw7n _ny9yavn _7a11xb_ 1ih442g9 _pv442g9 1mv16xof 14e6y7tu 1oo9zkds 17d1cisi _4v9y70f _y98m8kc 1019pq0v 12o9zda8 _348j4f4 1et50i2o _8epa8__ _ts6senj 1o350i2o 1mi9eiuo 1259yrp0 1ln80gnw _632xcoy 1cn9zldc _f29edu4 1n490c8q _9f9ziet 1b94vk74 _m49zkct 1kz6s73a 1eu9dtog _q58s1rz 1dy9sjiq __u89jo3 _aj5nkwg _ld89jo3 13h9z6wx _qa9z2ii _l119xgq _bs5arju 1hj4nwk9 1qt4nwk9 1ge6wau6 14j9zlcw 11p1edc_ _ms1zcxe _439shk6 _jt9y70f _754zsow 1la40eju _oq5p___ _x279qkz 1fa5r3rv _yd2d9ip _424tcku _8y1di2_ _zi2uabw _yy7rn9h 12yz980_ __39ljp6 1b59zg0x _n39zfzp 1fy9zest _b33k___ _hp9wq92 1il50hz4 _io472ub _lj9z3eo 19z9ykg0 _8t8iu3a 12b9bl4a 1ak5yw0o _896v4ku _tb8k8lv _s59zi6t _c09ze0p 1lg80oqn 1id9z8wb _238nba5 1kq6wgdi _154zssg _tn3zk49 _da9y6tc 1sg7cv4f _r12jvtt 1gq5fmkz 1cs9rvci _lp9jn1c _xw1tdnb 13f9zje6 16f6973h _vo7ir40 _bt5arjf _rc45e4t _hr4e100 10v4e100 _hc9zke2 _w91egv_ _sj2r1kk 13c87yx8 _vqpds__ _ni8ggk8 _tj9yqfb 1ia2j4r4 _7x9b10u 1fc9ld4j 1eq9zldr _5j9lhpx _ez9zl6o _md61fzm".split(" ").reduce((e,t)=>{const r=xr(t.substring(0,3)),n=xr(t.substring(3)).toString(16);let o="";for(let i=0;i<6-n.length;i++)o+="0";return e[r]=`${o}${n}`,e},{});const Sr=(e,t)=>Array.from(Array(t)).map(()=>e).join(""),kr=new RegExp(`^#${Sr("([a-f0-9])",3)}([a-f0-9])?$`,"i"),Cr=new RegExp(`^#${Sr("([a-f0-9]{2})",3)}([a-f0-9]{2})?$`,"i"),_r=new RegExp(`^rgba?\\(\\s*(\\d+)\\s*${Sr(",\\s*(\\d+)\\s*",2)}(?:,\\s*([\\d.]+))?\\s*\\)$`,"i"),Pr=/^hsla?\(\s*([\d.]+)\s*,\s*([\d.]+)%\s*,\s*([\d.]+)%(?:\s*,\s*([\d.]+))?\s*\)$/i,Er=/^[a-z]+$/i,Ar=e=>Math.round(255*e),Tr=(e,t,r)=>{let n=r/100;if(0===t)return[n,n,n].map(Ar);const o=(e%360+360)%360/60,i=(1-Math.abs(2*n-1))*(t/100),a=i*(1-Math.abs(o%2-1));let s=0,l=0,c=0;o>=0&&o<1?(s=i,l=a):o>=1&&o<2?(s=a,l=i):o>=2&&o<3?(l=i,c=a):o>=3&&o<4?(l=a,c=i):o>=4&&o<5?(s=a,c=i):o>=5&&o<6&&(s=i,c=a);const u=n-i/2;return[s+u,l+u,c+u].map(Ar)};function jr(e,t){const[r,n,o,i]=yr(e);return a=n,s=o,l=i-t,`rgba(${gr(0,255,r).toFixed()}, ${gr(0,255,a).toFixed()}, ${gr(0,255,s).toFixed()}, ${parseFloat(gr(0,1,l).toFixed(3))})`;var a,s,l}const zr=(e,t,r)=>{const n=function(e,t,r,n,o){for(t=t.split?t.split("."):t,n=0;n<t.length;n++)e=e?e[t[n]]:o;return e===o?r:e}(e,`colors.${t}`,t);try{return function(e){const[t,r,n,o]=yr(e);let i=e=>{const t=gr(0,255,e).toString(16);return 1===t.length?`0${t}`:t};i(t),i(r),i(n),o<1&&i(Math.round(255*o))}(n),n}catch{return r??"#000000"}},Rr=e=>t=>{const r=(e=>{const[t,r,n]=yr(e);return(299*t+587*r+114*n)/1e3})(zr(t,e));return r<128?"dark":"light"},Br=(e,t)=>r=>jr(zr(r,e),1-t);function Mr(e="1rem",t="rgba(255, 255, 255, 0.15)"){return{backgroundImage:`linear-gradient(\n    45deg,\n    ${t} 25%,\n    transparent 25%,\n    transparent 50%,\n    ${t} 50%,\n    ${t} 75%,\n    transparent 75%,\n    transparent\n  )`,backgroundSize:`${e} ${e}`}}function $r(e){const t=`#${Math.floor(16777215*Math.random()).toString(16).padEnd(6,"0")}`;return e&&(r=e,0!==Object.keys(r).length)?e.string&&e.colors?function(e,t){let r=0;if(0===e.length)return t[0];for(let n=0;n<e.length;
1n+=1)r=e.charCodeAt(n)+((r<<5)-r),r&=r;return r=(r%t.length+t.length)%t.length,t[r]}(e.string,e.colors):e.string&&!e.colors?function(e){let t=0;if(0===e.length)return t.toString();for(let n=0;n<e.length;n+=1)t=e.charCodeAt(n)+((t<<5)-t),t&=t;let r="#";for(let n=0;n<3;n+=1){r+=`00${(t>>8*n&255).toString(16)}`.substr(-2)}return r}(e.string):e.colors&&!e.string?(n=e.colors)[Math.floor(Math.random()*n.length)]:t:t;var r,n}function Or(e,t){return r=>"dark"===r.colorMode?t:e}function Dr(e){const{orientation:t,vertical:r,horizontal:n}=e;return t?"vertical"===t?r:n:{}}function Ir(e){return z(e)&&e.reference?e.reference:String(e)}const Lr=(e,...t)=>t.map(Ir).join(` ${e} `).replace(/calc/g,""),Vr=(...e)=>`calc(${Lr("+",...e)})`,Fr=(...e)=>`calc(${Lr("-",...e)})`,Wr=(...e)=>`calc(${Lr("*",...e)})`,Nr=(...e)=>`calc(${Lr("/",...e)})`,Hr=e=>{const t=Ir(e);return null==t||Number.isNaN(parseFloat(t))?Wr(t,-1):String(t).startsWith("-")?String(t).slice(1):`-${t}`},Ur=Object.assign(e=>({add:(...t)=>Ur(Vr(e,...t)),subtract:(...t)=>Ur(Fr(e,...t)),multiply:(...t)=>Ur(Wr(e,...t)),divide:(...t)=>Ur(Nr(e,...t)),negate:()=>Ur(Hr(e)),toString:()=>e.toString()}),{add:Vr,subtract:Fr,multiply:Wr,divide:Nr,negate:Hr});function qr(e){const t=function(e,t="-"){return e.replace(/\s+/g,t)}(e.toString());return t.includes("\\.")?e:function(e){return!Number.isInteger(parseFloat(e.toString()))}(e)?t.replace(".","\\."):e}function Xr(e,t){return`var(${qr(e)}${t?`, ${t}`:""})`}function Yr(e,t=""){return`--${function(e,t=""){return[t,qr(e)].filter(Boolean).join("-")}(e,t)}`}function Gr(e,t){const r=Yr(e,null==t?void 0:t.prefix);return{variable:r,reference:Xr(r,(n=null==t?void 0:t.fallback,null==n?void 0:n.reference))};var n}const{definePartsStyle:Zr,defineMultiStyleConfig:Kr}=wt(Nt.keys),Jr=Ot("alert-fg"),Qr=Ot("alert-bg");function en(e){const{theme:t,colorScheme:r}=e;return{light:`colors.${r}.100`,dark:Br(`${r}.200`,.16)(t)}}const tn=Kr({baseStyle:Zr({container:{bg:Qr.reference,px:"4",py:"3"},title:{fontWeight:"bold",lineHeight:"6",marginEnd:"2"},description:{lineHeight:"6"},icon:{color:Jr.reference,flexShrink:0,marginEnd:"3",w:"5",h:"6"},spinner:{color:Jr.reference,flexShrink:0,marginEnd:"3",w:"5",h:"5"}}),variants:{subtle:Zr(e=>{const{colorScheme:t}=e,r=en(e);return{container:{[Jr.variable]:`colors.${t}.600`,[Qr.variable]:r.light,_dark:{[Jr.variable]:`colors.${t}.200`,[Qr.variable]:r.dark}}}}),"left-accent":Zr(e=>{const{colorScheme:t}=e,r=en(e);return{container:{[Jr.variable]:`colors.${t}.600`,[Qr.variable]:r.light,_dark:{[Jr.variable]:`colors.${t}.200`,[Qr.variable]:r.dark},paddingStart:"3",borderStartWidth:"4px",borderStartColor:Jr.reference}}}),"top-accent":Zr(e=>{const{colorScheme:t}=e,r=en(e);return{container:{[Jr.variable]:`colors.${t}.600`,[Qr.variable]:r.light,_dark:{[Jr.variable]:`colors.${t}.200`,[Qr.variable]:r.dark},pt:"2",borderTopWidth:"4px",borderTopColor:Jr.reference}}}),solid:Zr(e=>{const{colorScheme:t}=e;return{container:{[Jr.variable]:"colors.white",[Qr.variable]:`colors.${t}
1.600`,_dark:{[Jr.variable]:"colors.gray.900",[Qr.variable]:`colors.${t}.200`},color:Jr.reference}}})},defaultProps:{variant:"subtle",colorScheme:"blue"}}),rn={px:"1px",.5:"0.125rem",1:"0.25rem",1.5:"0.375rem",2:"0.5rem",2.5:"0.625rem",3:"0.75rem",3.5:"0.875rem",4:"1rem",5:"1.25rem",6:"1.5rem",7:"1.75rem",8:"2rem",9:"2.25rem",10:"2.5rem",12:"3rem",14:"3.5rem",16:"4rem",20:"5rem",24:"6rem",28:"7rem",32:"8rem",36:"9rem",40:"10rem",44:"11rem",48:"12rem",52:"13rem",56:"14rem",60:"15rem",64:"16rem",72:"18rem",80:"20rem",96:"24rem"},nn={...rn,max:"max-content",min:"min-content",full:"100%","3xs":"14rem","2xs":"16rem",xs:"20rem",sm:"24rem",md:"28rem",lg:"32rem",xl:"36rem","2xl":"42rem","3xl":"48rem","4xl":"56rem","5xl":"64rem","6xl":"72rem","7xl":"80rem","8xl":"90rem",prose:"60ch",container:{sm:"640px",md:"768px",lg:"1024px",xl:"1280px"}};function on(e,...t){return"function"==typeof e?e(...t):e}const{definePartsStyle:an,defineMultiStyleConfig:sn}=wt(Ht.keys),ln=Ot("avatar-border-color"),cn=Ot("avatar-bg"),un=Ot("avatar-font-size"),dn=Ot("avatar-size"),pn={borderRadius:"full",border:"0.2em solid",borderColor:ln.reference,[ln.variable]:"white",_dark:{[ln.variable]:"colors.gray.800"}},hn={bg:cn.reference,fontSize:un.reference,width:dn.reference,height:dn.reference,lineHeight:"1",[cn.variable]:"colors.gray.200",_dark:{[cn.variable]:"colors.whiteAlpha.400"}},fn=e=>{const{name:t,theme:r}=e,n=t?$r({string:t}):"colors.gray.400",o=(e=>t=>"dark"===Rr(e)(t))(n)(r);let i="white";return o||(i="gray.800"),{bg:cn.reference,fontSize:un.reference,color:i,borderColor:ln.reference,verticalAlign:"top",width:dn.reference,height:dn.reference,"&:not([data-loaded])":{[cn.variable]:n},[ln.variable]:"colors.white",_dark:{[ln.variable]:"colors.gray.800"}}},mn={fontSize:un.reference,lineHeight:"1"};function gn(e){const t="100%"!==e?nn[e]:void 0;return an({container:{[dn.variable]:t??e,[un.variable]:`calc(${t??e} / 2.5)`},excessLabel:{[dn.variable]:t??e,[un.variable]:`calc(${t??e} / 2.5)`}})}const bn=sn({baseStyle:an(e=>({badge:on(pn,e),excessLabel:on(hn,e),container:on(fn,e),label:mn})),sizes:{"2xs":gn(4),xs:gn(6),sm:gn(8),md:gn(12),lg:gn(16),xl:gn(24),"2xl":gn(32),full:gn("100%")},defaultProps:{size:"md"}}),vn=function(e,t){const r={};for(const n of t){if(Array.isArray(n)){const[t,o]=n;r[t]=Ot(`${e}-${t}`,o);continue}r[n]=Ot(`${e}-${n}`)}return r}("badge",["bg","color","shadow"]),yn=e=>{const{colorScheme:t,theme:r}=e,n=Br(`${t}.500`,.6)(r);return{[vn.bg.variable]:`colors.${t}.500`,[vn.color.variable]:"colors.white",_dark:{[vn.bg.variable]:n,[vn.color.variable]:"colors.whiteAlpha.800"}}},xn=e=>{const{colorScheme:t,theme:r}=e,n=Br(`${t}.200`,.16)(r);return{[vn.bg.variable]:`colors.${t}.100`,[vn.color.variable]:`colors.${t}.800`,_dark:{[vn.bg.variable]:n,[vn.color.variable]:`colors.${t}.200`}}},wn=e=>{const{colorScheme:t,theme:r}=e,n=Br(`${t}.200`,.8)(r);return{[vn.color.variable]:`colors.${t}.500`,_dark:{[vn.color.variable]:n},[vn.shadow.variable]:`inset 0 0 0px 1px ${vn.color.reference}`}},Sn={baseStyle:{px:1,textTransform:"uppercase",fontSize:"xs",borderRadius:"sm",fontWeight:"bold",bg:vn.bg.reference,color:vn.color.reference,boxShadow:vn.shadow.reference},variants:{solid:yn,subtle:xn,outline:wn},defaultProps:{variant:"subtle",colorScheme:"gray"}},{defineMultiStyleConfig:kn,definePartsStyle:Cn}=wt(Ut.keys),_n=Ot("breadcrumb-link-decor"),Pn=kn({baseStyle:Cn({link:{transitionProperty:"common",transitionDuration:"fast",transitionTimingFunction:"ease-out",outline:"none",color:"inherit",textDecoration:_n.reference,[_n.variable]:"none","&:not([aria-current=page])":{cursor:"pointer",_hover:{[_n.variable]:"underline"},_focusVisible:{boxShadow:"outline"}}}})}),En=e=>{const{colorScheme:t,theme:r}=e;if("gray"===t)return{color:Or("gray.800","whiteAlpha.900")(e),_hover:{bg:Or("gray.100","whiteAlpha.200")(e)},_active:{bg:Or("gray.200","whiteAlpha.300")(e)}};const n=Br(`${t}.200`,.12)(r),o=Br(`${t}.200`,.24)(r);return{color:Or(`${t}.600`,`${t}.200`)(e),bg:"transparent",_hover:{bg:Or(`${t}.50`,n)(e)},_active:{bg:Or(`${t}.100`,o)(e)}}},An={yellow:{bg:"yellow.400",color:"black",hoverBg:"yellow.500",activeBg:"yellow.600"},cyan:{bg:"cyan.400",color:"black",hoverBg:"cyan.500",activeBg:"cyan.600"}},Tn={baseStyle:{lineHeight:"1.2",borderRadius:"md",fontWeight:"semibold",transitionProperty:"common",transitionDuration:"normal",_focusVisible:{boxShadow:"outline"},_disabled:{opacity:.4,cursor:"not-allowed",boxShadow:"none"},_hover:{_disabled:{bg:"initial"}}},variants:{ghost:En,outline:e=>{const{colorScheme:t}=e,r=Or("gray.200","whiteAlpha.300")(e);return{border:"1px solid",borderColor:"gray"===t?r:"currentColor",".chakra-button__group[data-attached][data-orientation=horizontal] > &:not(:last-of-type)":{marginEnd:"-1px"},".chakra-button__group[data-attached][data-orientation=vertical] > &:not(:last-of-type)":{marginBottom:"-1px"},...on(En,e)}},solid:e=>{const{colorScheme:t}=e;if("gray"===t){const t=Or("gray.100","whiteAlpha.200")(e);return{bg:t,color:Or("gray.800","whiteAlpha.900")(e),_hover:{bg:Or("gray.200","whiteAlpha.300")(e),_disabled:{bg:t}},_active:{bg:Or("gray.300","whiteAlpha.400")(e)}}}const{bg:r=`${t}.500`,color:n="white",hoverBg:o=`${t}.600`,activeBg:i=`${t}.700`}=An[t]??{},a=Or(r,`${t}.200`)(e);return{bg:a,color:Or(n,"gray.800")(e),_hover:{bg:Or(o,`${t}.300`)(e),_disabled:{bg:a}},_active:{bg:Or(i,`${t}.400`)(e)}}},link:e=>{const{colorScheme:t}=e;return{padding:0,height:"auto",lineHeight:"normal",verticalAlign:"baseline",color:Or(`${t}.500`,`${t}.200`)(e),_hover:{textDecoration:"underline",_disabled:{textDecoration:"none"}},_active:{color:Or(`${t}.700`,`${t}.500`)(e)}}},unstyled:{bg:"none",color:"inherit",display:"inline",lineHeight:"inherit",m:"0",p:"0"}},sizes:{lg:{h:"12",minW:"12",fontSize:"lg",px:"6"},md:{h:"10",minW:"10",fontSize:"md",px:"4"},sm:{h:"8",minW:"8",fontSize:"sm",px:"3"},xs:{h:"6",minW:"6",fontSize:"xs",px:"2"}},defaultProps:{variant:"solid",size:"md",colorScheme:"gray"}},{definePartsStyle:jn,defineMultiStyleConfig:zn}=wt(pr.keys),Rn=Ot("card-bg"),Bn=Ot("card-padding"),Mn=Ot("card-s
1hadow"),$n=Ot("card-radius"),On=Ot("card-border-width","0"),Dn=Ot("card-border-color"),In=jn({container:{[Rn.variable]:"colors.chakra-body-bg",backgroundColor:Rn.reference,boxShadow:Mn.reference,borderRadius:$n.reference,color:"chakra-body-text",borderWidth:On.reference,borderColor:Dn.reference},body:{padding:Bn.reference,flex:"1 1 0%"},header:{padding:Bn.reference},footer:{padding:Bn.reference}}),Ln={sm:jn({container:{[$n.variable]:"radii.base",[Bn.variable]:"space.3"}}),md:jn({container:{[$n.variable]:"radii.md",[Bn.variable]:"space.5"}}),lg:jn({container:{[$n.variable]:"radii.xl",[Bn.variable]:"space.7"}})},Vn=zn({baseStyle:In,variants:{elevated:jn({container:{[Mn.variable]:"shadows.base",_dark:{[Rn.variable]:"colors.gray.700"}}}),outline:jn({container:{[On.variable]:"1px",[Dn.variable]:"colors.chakra-border-color"}}),filled:jn({container:{[Rn.variable]:"colors.chakra-subtle-bg"}}),unstyled:{body:{[Bn.variable]:0},header:{[Bn.variable]:0},footer:{[Bn.variable]:0}}},sizes:Ln,defaultProps:{variant:"elevated",size:"md"}}),{definePartsStyle:Fn,defineMultiStyleConfig:Wn}=wt(qt.keys),Nn=Ot("checkbox-size"),Hn=e=>{const{colorScheme:t}=e;return{w:Nn.reference,h:Nn.reference,transitionProperty:"box-shadow",transitionDuration:"normal",border:"2px solid",borderRadius:"sm",borderColor:"inherit",color:"white",_checked:{bg:Or(`${t}.500`,`${t}.200`)(e),borderColor:Or(`${t}.500`,`${t}.200`)(e),color:Or("white","gray.900")(e),_hover:{bg:Or(`${t}.600`,`${t}.300`)(e),borderColor:Or(`${t}.600`,`${t}.300`)(e)},_disabled:{borderColor:Or("gray.200","transparent")(e),bg:Or("gray.200","whiteAlpha.300")(e),color:Or("gray.500","whiteAlpha.500")(e)}},_indeterminate:{bg:Or(`${t}.500`,`${t}.200`)(e),borderColor:Or(`${t}.500`,`${t}.200`)(e),color:Or("white","gray.900")(e)},_disabled:{bg:Or("gray.100","whiteAlpha.100")(e),borderColor:Or("gray.100","transparent")(e)},_focusVisible:{boxShadow:"outline"},_invalid:{borderColor:Or("red.500","red.300")(e)}}},Un={_disabled:{cursor:"not-allowed"}},qn={userSelect:"none",_disabled:{opacity:.4}},Xn={transitionProperty:"transform",transitionDuration:"normal"},Yn=Wn({baseStyle:Fn(e=>({icon:Xn,container:Un,control:on(Hn,e),label:qn})),sizes:{sm:Fn({control:{[Nn.variable]:"sizes.3"},label:{fontSize:"sm"},icon:{fontSize:"3xs"}}),md:Fn({control:{[Nn.variable]:"sizes.4"},label:{fontSize:"md"},icon:{fontSize:"2xs"}}),lg:Fn({control:{[Nn.variable]:"sizes.5"},label:{fontSize:"lg"},icon:{fontSize:"2xs"}})},defaultProps:{size:"md",colorScheme:"blue"}}),Gn=Gr("close-button-size"),Zn=Gr("close-button-bg"),Kn={baseStyle:{w:[Gn.reference],h:[Gn.reference],borderRadius:"md",transitionProperty:"common",transitionDuration:"normal",_disabled:{opacity:.4,cursor:"not-allowed",boxShadow:"none"},_hover:{[Zn.variable]:"colors.blackAlpha.100",_dark:{[Zn.variable]:"colors.whiteAlpha.100"}},_active:{[Zn.variable]:"colors.blackAlpha.200",_dark:{[Zn.variable]:"colors.whiteAlpha.200"}},_focusVisible:{boxShadow:"outline"},bg:Zn.reference},sizes:{lg:{[Gn.variable]:"sizes.10",fontSize:"md"},md:{[Gn.variable]:"sizes.8",fontSize:"xs"},sm:{[Gn.variable]:"sizes.6",fontSize:"2xs"}},defaultProps:{size:"md"}},{variants:Jn,defaultProps:Qn}=Sn,eo={baseStyle:{fontFamily:"mono",fontSize:"sm",px:"0.2em",borderRadius:"sm",bg:vn.bg.reference,color:vn.color.reference,boxShadow:vn.shadow.reference},variants:Jn,defaultProps:Qn},to={baseStyle:{w:"100%",mx:"auto",maxW:"prose",px:"4"}},ro={baseStyle:{opacity:.6,borderColor:"inherit"},variants:{solid:{borderStyle:"solid"},dashed:{borderStyle:"dashed"}},defaultProps:{variant:"solid"}},{definePartsStyle:no,defineMultiStyleConfig:oo}=wt(Xt.keys),io=Ot("drawer-bg"),ao=Ot("drawer-box-shadow");function so(e){return no("full"===e?{dialog:{maxW:"100vw",h:"100vh"}}:{dialog:{maxW:e}})}const lo={bg:"blackAlpha.600",zIndex:"modal"},co={display:"flex",zIndex:"modal",justifyContent:"center"},uo=e=>{const{isFullHeight:t}=e;return{...t&&{height:"100vh"},zIndex:"modal",maxH:"100vh",color:"inherit",[io.variable]:"colors.white",[ao.variable]:"shadows.lg",_dark:{[io.variable]:"colors.gray.700",[ao.variable]:"shadows.dark-lg"},bg:io.reference,boxShadow:ao.reference}},po={px:"6",py:"4",fontSize:"xl",fontWeight:"semibold"},ho={position:"absolute",top:"2",insetEnd:"3"},fo={px:"6",py:"2",flex:"1",overflow:"auto"},mo={px:"6",py:"4"},go=oo({baseStyle:no(e=>({overlay:lo,dialogContainer:co,dialog:on(uo,e),header:po,closeButton:ho,body:fo,footer:mo})),sizes:{xs:so("xs"),sm:so("md"),md:so("lg"),lg:so("2xl"),xl:so("4xl"),full:so("full")},defaultProps:{size:"xs"}}
1),{definePartsStyle:bo,defineMultiStyleConfig:vo}=wt(Yt.keys),yo=vo({baseStyle:bo({preview:{borderRadius:"md",py:"1",transitionProperty:"common",transitionDuration:"normal"},input:{borderRadius:"md",py:"1",transitionProperty:"common",transitionDuration:"normal",width:"full",_focusVisible:{boxShadow:"outline"},_placeholder:{opacity:.6}},textarea:{borderRadius:"md",py:"1",transitionProperty:"common",transitionDuration:"normal",width:"full",_focusVisible:{boxShadow:"outline"},_placeholder:{opacity:.6}}})}),{definePartsStyle:xo,defineMultiStyleConfig:wo}=wt(Gt.keys),So=Ot("form-control-color"),ko=wo({baseStyle:xo({container:{width:"100%",position:"relative"},requiredIndicator:{marginStart:"1",[So.variable]:"colors.red.500",_dark:{[So.variable]:"colors.red.300"},color:So.reference},helperText:{mt:"2",[So.variable]:"colors.gray.600",_dark:{[So.variable]:"colors.whiteAlpha.600"},color:So.reference,lineHeight:"normal",fontSize:"sm"}})}),{definePartsStyle:Co,defineMultiStyleConfig:_o}=wt(Zt.keys),Po=Ot("form-error-color"),Eo=_o({baseStyle:Co({text:{[Po.variable]:"colors.red.500",_dark:{[Po.variable]:"colors.red.300"},color:Po.reference,mt:"2",fontSize:"sm",lineHeight:"normal"},icon:{marginEnd:"0.5em",[Po.variable]:"colors.red.500",_dark:{[Po.variable]:"colors.red.300"},color:Po.reference}})}),Ao={baseStyle:{fontSize:"md",marginEnd:"3",mb:"2",fontWeight:"medium",transitionProperty:"common",transitionDuration:"normal",opacity:1,_disabled:{opacity:.4}}},To={baseStyle:{fontFamily:"heading",fontWeight:"bold"},sizes:{"4xl":{fontSize:["6xl",null,"7xl"],lineHeight:1},"3xl":{fontSize:["5xl",null,"6xl"],lineHeight:1},"2xl":{fontSize:["4xl",null,"5xl"],lineHeight:[1.2,null,1]},xl:{fontSize:["3xl",null,"4xl"],lineHeight:[1.33,null,1.2]},lg:{fontSize:["2xl",null,"3xl"],lineHeight:[1.33,null,1.2]},md:{fontSize:"xl",lineHeight:1.2},sm:{fontSize:"md",lineHeight:1.2},xs:{fontSize:"sm",lineHeight:1.2}},defaultProps:{size:"xl"}},{definePartsStyle:jo,defineMultiStyleConfig:zo}=wt(Kt.keys),Ro=Ot("input-height"),Bo=Ot("input-font-size"),Mo=Ot("input-padding"),$o=Ot("input-border-radius"),Oo=jo({addon:{height:Ro.reference,fontSize:Bo.reference,px:Mo.reference,borderRadius:$o.reference},field:{width:"100%",height:Ro.reference,fontSize:Bo.reference,px:Mo.reference,borderRadius:$o.reference,minWidth:0,outline:0,position:"relative",appearance:"none",transitionProperty:"common",transitionDuration:"normal",_disabled:{opacity:.4,cursor:"not-allowed"}}}),Do={lg:{[Bo.variable]:"fontSizes.lg",[Mo.variable]:"space.4",[$o.variable]:"radii.md",[Ro.variable]:"sizes.12"},md:{[Bo.variable]:"fontSizes.md",[Mo.variable]:"space.4",[$o.variable]:"radii.md",[Ro.variable]:"sizes.10"},sm:{[Bo.variable]:"fontSizes.sm",[Mo.variable]:"space.3",[$o.variable]:"radii.sm",[Ro.variable]:"sizes.8"},xs:{[Bo.variable]:"fontSizes.xs",[Mo.variable]:"space.2",[$o.variable]:"radii.sm",[Ro.variable]:"sizes.6"}},Io={lg:jo({field:Do.lg,group:Do.lg}),md:jo({field:Do.md,group:Do.md}),sm:jo({field:Do.sm,group:Do.sm}),xs:jo({field:Do.xs,group:Do.xs})};function Lo(e){const{focusBorderColor:t,errorBorderColor:r}=e;return{focusBorderColor:t||Or("blue.500","blue.300")(e),errorBorderColor:r||Or("red.500","red.300")(e)}}const Vo=jo(e=>{const{theme:t}=e,{focusBorderColor:r,errorBorderColor:n}=Lo(e);return{field:{border:"1px solid",borderColor:"inherit",bg:"inherit",_hover:{borderColor:Or("gray.300","whiteAlpha.400")(e)},_readOnly:{boxShadow:"none !important",userSelect:"all"},_invalid:{borderColor:zr(t,n),boxShadow:`0 0 0 1px ${zr(t,n)}`},_focusVisible:{zIndex:1,borderColor:zr(t,r),boxShadow:`0 0 0 1px ${zr(t,r)}`}},addon:{border:"1px solid",borderColor:Or("inherit","whiteAlpha.50")(e),bg:Or("gray.100","whiteAlpha.300")(e)}}}),Fo=jo(e=>{const{theme:t}=e,{focusBorderColor:r,errorBorderColor:n}=Lo(e);return{field:{border:"2px solid",borderColor:"transparent",bg:Or("gray.100","whiteAlpha.50")(e),_hover:{bg:Or("gray.200","whiteAlpha.100")(e)},_readOnly:{boxShadow:"none !important",userSelect:"all"},_invalid:{borderColor:zr(t,n)},_focusVisible:{bg:"transparent",borderColor:zr(t,r)}},addon:{border:"2px solid",borderColor:"transparent",bg:Or("gray.100","whiteAlpha.50")(e)}}}),Wo=jo(e=>{const{theme:t}=e,{focusBorderColor:r,errorBorderColor:n}=Lo(e);return{field:{borderBottom:"1px solid",borderColor:"inherit",borderRadius:"0",px:"0",bg:"transparent",_readOnly:{boxShadow:"none !important",userSelect:"all"}
1,_invalid:{borderColor:zr(t,n),boxShadow:`0px 1px 0px 0px ${zr(t,n)}`},_focusVisible:{borderColor:zr(t,r),boxShadow:`0px 1px 0px 0px ${zr(t,r)}`}},addon:{borderBottom:"2px solid",borderColor:"inherit",borderRadius:"0",px:"0",bg:"transparent"}}}),No=zo({baseStyle:Oo,sizes:Io,variants:{outline:Vo,filled:Fo,flushed:Wo,unstyled:jo({field:{bg:"transparent",px:"0",height:"auto"},addon:{bg:"transparent",px:"0",height:"auto"}})},defaultProps:{size:"md",variant:"outline"}}),Ho=Ot("kbd-bg"),Uo={baseStyle:{[Ho.variable]:"colors.gray.100",_dark:{[Ho.variable]:"colors.whiteAlpha.100"},bg:Ho.reference,borderRadius:"md",borderWidth:"1px",borderBottomWidth:"3px",fontSize:"0.8em",fontWeight:"bold",lineHeight:"normal",px:"0.4em",whiteSpace:"nowrap"}},qo={baseStyle:{transitionProperty:"common",transitionDuration:"fast",transitionTimingFunction:"ease-out",cursor:"pointer",textDecoration:"none",outline:"none",color:"inherit",_hover:{textDecoration:"underline"},_focusVisible:{boxShadow:"outline"}}},{defineMultiStyleConfig:Xo,definePartsStyle:Yo}=wt(Jt.keys),Go=Xo({baseStyle:Yo({icon:{marginEnd:"2",display:"inline",verticalAlign:"text-bottom"}})}),{defineMultiStyleConfig:Zo,definePartsStyle:Ko}=wt(Qt.keys),Jo=Ot("menu-bg"),Qo=Ot("menu-shadow"),ei=Zo({baseStyle:Ko({button:{transitionProperty:"common",transitionDuration:"normal"},list:{[Jo.variable]:"#fff",[Qo.variable]:"shadows.sm",_dark:{[Jo.variable]:"colors.gray.700",[Qo.variable]:"shadows.dark-lg"},color:"inherit",minW:"3xs",py:"2",zIndex:"dropdown",borderRadius:"md",borderWidth:"1px",bg:Jo.reference,boxShadow:Qo.reference},item:{py:"1.5",px:"3",transitionProperty:"background",transitionDuration:"ultra-fast",transitionTimingFunction:"ease-in",_focus:{[Jo.variable]:"colors.gray.100",_dark:{[Jo.variable]:"colors.whiteAlpha.100"}},_active:{[Jo.variable]:"colors.gray.200",_dark:{[Jo.variable]:"colors.whiteAlpha.200"}},_expanded:{[Jo.variable]:"colors.gray.100",_dark:{[Jo.variable]:"colors.whiteAlpha.100"}},_disabled:{opacity:.4,cursor:"not-allowed"},bg:Jo.reference},groupTitle:{mx:4,my:2,fontWeight:"semibold",fontSize:"sm"},icon:{display:"inline-flex",alignItems:"center",justifyContent:"center",flexShrink:0},command:{opacity:.6},divider:{border:0,borderBottom:"1px solid",borderColor:"inherit",my:"2",opacity:.6}})}),{defineMultiStyleConfig:ti,definePartsStyle:ri}=wt(er.keys),ni=Ot("modal-bg"),oi=Ot("modal-shadow"),ii={bg:"blackAlpha.600",zIndex:"modal"},ai=e=>{const{isCentered:t,scrollBehavior:r}=e;return{display:"flex",zIndex:"modal",justifyContent:"center",alignItems:t?"center":"flex-start",overflow:"inside"===r?"hidden":"auto",overscrollBehaviorY:"none"}},si=e=>{const{isCentered:t,scrollBehavior:r}=e;return{borderRadius:"md",color:"inherit",my:t?"auto":"16",mx:t?"auto":void 0,zIndex:"modal",maxH:"inside"===r?"calc(100% - 7.5rem)":void 0,[ni.variable]:"colors.white",[oi.variable]:"shadows.lg",_dark:{[ni.variable]:"colors.gray.700",[oi.variable]:"shadows.dark-lg"},bg:ni.reference,boxShadow:oi.reference}},li={px:"6",py:"4",fontSize:"xl",fontWeight:"semibold"},ci={position:"absolute",top:"2",insetEnd:"3"},ui=e=>{const{scrollBehavior:t}=e;return{px:"6",py:"2",flex:"1",overflow:"inside"===t?"auto":void 0}},di={px:"6",py:"4"};function pi(e){return ri("full"===e?{dialog:{maxW:"100vw",minH:"$100vh",my:"0",borderRadius:"0"}}:{dialog:{maxW:e}})}const hi=ti({baseStyle:ri(e=>({overlay:ii,dialogContainer:on(ai,e),dialog:on(si,e),header:li,closeButton:ci,body:on(ui,e),footer:di})),sizes:{xs:pi("xs"),sm:pi("sm"),md:pi("md"),lg:pi("lg"),xl:pi("xl"),"2xl":pi("2xl"),"3xl":pi("3xl"),"4xl":pi("4xl"),"5xl":pi("5xl"),"6xl":pi("6xl"),full:pi("full")},defaultProps:{size:"md"}}),fi={letterSpacings:{tighter:"-0.05em",tight:"-0.025em",normal:"0",wide:"0.025em",wider:"0.05em",widest:"0.1em"},lineHeights:{normal:"normal",none:1,shorter:1.25,short:1.375,base:1.5,tall:1.625,taller:"2",3:".75rem",4:"1rem",5:"1.25rem",6:"1.5rem",7:"1.75rem",8:"2rem",9:"2.25rem",10:"2.5rem"},fontWeights:{hairline:100,thin:200,light:300,normal:400,medium:500,semibold:600,bold:700,extrabold:800,black:900},fonts:{heading:'-apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"',body:'-apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"',mono:'SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace'},fontSizes:{"3xs":"0.45rem","2xs":"0.625rem",xs:"0.75rem",sm:"0.875rem",md:"1rem",lg:"1.125rem",xl:"1.25rem","2xl":"1.5rem","3xl":"1.875rem","4xl":"2.25rem","5xl":"3rem","6xl":"3.75rem","7xl":"4.5rem","8xl":"6rem","9xl":"8rem"}},{defineMultiStyleConfig:mi,definePartsStyle:gi}=wt(tr.keys),bi=Gr("number-input-stepper-width"),vi=Gr("number-input-input-padding"),yi=Ur(bi).add("0.5rem").toString(),xi=Gr("number-input-bg"),wi=Gr("number-input-color"),Si=Gr("number-input-border-color"),ki={[bi.variable]:"sizes.6",[vi.variable]:yi},Ci=e=>{var t;return(null==(t=on(No.baseStyle,e))?void 0:t.field)??{}},_i={width:bi.reference},Pi={borderStart:"1px solid",borderStartColor:Si.reference,color:wi.reference,bg:xi.reference,[wi.variable]:"colors.chakra-body-text",[Si.variable]:"colors.chakra-border-color",_dark:{[wi.variable]:"colors.whiteAlpha.800",[Si.variable]:"colors.whiteAlpha.300"},_active:{[xi.variable]:"colors.gray.200",_dark:{[xi.variable]:"colors.whiteAlpha.300"}},_disabled:{opacity:.4,cursor:"not-allowed"}};function Ei(e){var t,r;const n=null==(t=No.sizes)?void 0:t[e],o={lg:"md",md:"md",sm:"sm",xs:"sm"},i=(null==(r=n.field)?void 0:r.fontSize)??"md",a=fi.fontSizes[i];return gi({field:{...n.field,paddingInlineEnd:vi.reference,verticalAlign:"top"},stepper:{fontSize:Ur(a).multiply(.75).toString(),_first:{borderTopEndRadius:o[e]},_last:{borderBottomEndRadius:o[e],mt:"-1px",borderTopWidth:1}}})}const Ai=mi({baseStyle:gi(e=>({root:ki,field:on(Ci,e)??{},stepperGroup:_i,stepper:Pi})),sizes:{xs:Ei("xs"),sm:Ei("sm"),md:Ei("md"),lg:Ei("lg")},variants:No.variants,defaultProps:No.defaultProps}),Ti={baseStyle:{...null==(e=No.baseStyle)?void 0:e.field,textAlign:"center"},sizes:{lg:{fontSize:"lg",w:12,h:12,borderRadius:"md"},md:{fontSize:"md",w:10,h:10,borderRadius:"md"},sm:{fontSize:"sm",w:8,h:8,borderRadius:"sm"},xs:{fontSize:"xs",w:6,h:6,borderRadius:"sm"}},variants:{outline:e=>{var t,r;return(null==(r=on(null==(t=No.variants)?void 0:t.outline,e))?void 0:r.field)??{}},flushed:e=>{var t,r;return(null==(r=on(null==(t=No.variants)?void 0:t.flushed,e))?void 0:r.field)??{}},filled:e=>{var t,r;return(null==(r=on(null==(t=No.variants)?void 0:t.filled,e))?void 0:r.field)??{}},unstyled:(null==(t=No.variants)?void 0:t.unstyled.field)??{}},defaultProps:No.defaultProps},{defineMultiStyleConfig:ji,definePartsStyle:zi}
1=wt(rr.keys),Ri=Gr("popper-bg"),Bi=Gr("popper-arrow-bg"),Mi=Gr("popper-arrow-shadow-color"),$i=ji({baseStyle:zi({popper:{zIndex:"popover"},content:{[Ri.variable]:"colors.white",bg:Ri.reference,[Bi.variable]:Ri.reference,[Mi.variable]:"colors.gray.200",_dark:{[Ri.variable]:"colors.gray.700",[Mi.variable]:"colors.whiteAlpha.300"},width:"xs",border:"1px solid",borderColor:"inherit",borderRadius:"md",boxShadow:"sm",zIndex:"inherit",_focusVisible:{outline:0,boxShadow:"outline"}},header:{px:3,py:2,borderBottomWidth:"1px"},body:{px:3,py:2},footer:{px:3,py:2,borderTopWidth:"1px"},closeButton:{position:"absolute",borderRadius:"md",top:1,insetEnd:2,padding:2}})}),{defineMultiStyleConfig:Oi,definePartsStyle:Di}=wt(nr.keys),Ii=e=>{const{colorScheme:t,theme:r,isIndeterminate:n,hasStripe:o}=e,i=Or(Mr(),Mr("1rem","rgba(0,0,0,0.1)"))(e),a=Or(`${t}.500`,`${t}.200`)(e),s=`linear-gradient(\n    to right,\n    transparent 0%,\n    ${zr(r,a)} 50%,\n    transparent 100%\n  )`;return{...!n&&o&&i,...n?{bgImage:s}:{bgColor:a}}},Li={lineHeight:"1",fontSize:"0.25em",fontWeight:"bold",color:"white"},Vi=e=>({bg:Or("gray.100","whiteAlpha.300")(e)}),Fi=e=>({transitionProperty:"common",transitionDuration:"slow",...Ii(e)}),Wi=Di(e=>({label:Li,filledTrack:Fi(e),track:Vi(e)})),Ni=Oi({sizes:{xs:Di({track:{h:"1"}}),sm:Di({track:{h:"2"}}),md:Di({track:{h:"3"}}),lg:Di({track:{h:"4"}})},baseStyle:Wi,defaultProps:{size:"md",colorScheme:"blue"}}),{defineMultiStyleConfig:Hi,definePartsStyle:Ui}=wt(or.keys),qi=e=>{var t;const r=null==(t=on(Yn.baseStyle,e))?void 0:t.control;return{...r,borderRadius:"full",_checked:{...null==r?void 0:r._checked,_before:{content:'""',display:"inline-block",pos:"relative",w:"50%",h:"50%",borderRadius:"50%",bg:"currentColor"}}}},Xi=Hi({baseStyle:Ui(e=>{var t,r;return{label:null==(t=Yn.baseStyle)?void 0:t.call(Yn,e).label,container:null==(r=Yn.baseStyle)?void 0:r.call(Yn,e).container,control:qi(e)}}),sizes:{md:Ui({control:{w:"4",h:"4"},label:{fontSize:"md"}}),lg:Ui({control:{w:"5",h:"5"},label:{fontSize:"lg"}}),sm:Ui({control:{width:"3",height:"3"},label:{fontSize:"sm"}})},defaultProps:{size:"md",colorScheme:"blue"}}),{defineMultiStyleConfig:Yi,definePartsStyle:Gi}=wt(ir.keys),Zi=Ot("select-bg"),Ki={paddingInlineEnd:"8"},Ji=Yi({baseStyle:Gi({field:{...null==(r=No.baseStyle)?void 0:r.field,appearance:"none",paddingBottom:"1px",lineHeight:"normal",bg:Zi.reference,[Zi.variable]:"colors.white",_dark:{[Zi.variable]:"colors.gray.700"},"> option, > optgroup":{bg:Zi.reference}},icon:{width:"6",height:"100%",insetEnd:"2",position:"relative",color:"currentColor",fontSize:"xl",_disabled:{opacity:.5}}}),sizes:{lg:{...null==(n=No.sizes)?void 0:n.lg,field:{...null==(o=No.sizes)?void 0:o.lg.field,...Ki}},md:{...null==(i=No.sizes)?void 0:i.md,field:{...null==(a=No.sizes)?void 0:a.md.field,...Ki}},sm:{...null==(s=No.sizes)?void 0:s.sm,field:{...null==(l=No.sizes)?void 0:l.sm.field,...Ki}},xs:{...null==(c=No.sizes)?void 0:c.xs,field:{...null==(u=No.sizes)?void 0:u.xs.field,...Ki},icon:{insetEnd:"1"}}},variants:No.variants,defaultProps:No.defaultProps}),Qi=Ot("skeleton-start-color"),ea=Ot("skeleton-end-color"),ta={baseStyle:{[Qi.variable]:"colors.gray.100",[ea.variable]:"colors.gray.400",_dark:{[Qi.variable]:"colors.gray.800",[ea.variable]:"colors.gray.600"},background:Qi.reference,borderColor:ea.reference,opacity:.7,borderRadius:"sm"}},ra=Ot("skip-link-bg"),na={baseStyle:{borderRadius:"md",fontWeight:"semibold",_focusVisible:{boxShadow:"outline",padding:"4",position:"fixed",top:"6",insetStart:"6",[ra.variable]:"colors.white",_dark:{[ra.variable]:"colors.gray.700"},bg:ra.reference}}},{defineMultiStyleConfig:oa,definePartsStyle:ia}=wt(ar.keys),aa=Ot("slider-thumb-size"),sa=Ot("slider-track-size"),la=Ot("slider-bg"),ca=e=>{const{orientation:t}=e;return{display:"inline-block",position:"relative",cursor:"pointer",_disabled:{opacity:.6,cursor:"default",pointerEvents:"none"},...Dr({orientation:t,vertical:{h:"100%",px:Rt(aa.reference).divide(2).toString()},horizontal:{w:"100%",py:Rt(aa.reference).divide(2).toString()}})}},ua=e=>({...Dr({orientation:e.orientation,horizontal:{h:sa.reference},vertical:{w:sa.reference}}),overflow:"hidden",borderRadius:"sm",[la.variable]:"colors.gray.200",_dark:{[la.variable]:"colors.whiteAlpha.200"},_disabled:{[la.variable]:"colors.gray.300",_dark:{[la.variable]:"colors.whiteAlpha.300"}},bg:la.reference}),da=e=>{const{orientation:t}=e;return{...Dr({orientation:t,vertical:{left:"50%",transform:"translateX(-50%)",_active:{transform:"translateX(-50%) scale(1.15)"}},horizontal:{top:"50%",transform:"translateY(-50%)",_active:{transform:"translateY(-50%) scale(1.15)"}}}),w:aa.reference,h:aa.reference,display:"flex",alignItems:"center",justifyContent:"center",position:"absolute",outline:0,zIndex:1,borderRadius:"full",bg:"white",boxShadow:"base",border:"1px solid",borderColor:"transparent",transitionProperty:"transform",transitionDuration:"normal",_focusVisible:{boxShadow:"outline"},_disabled:{bg:"gray.300"}}},pa=e=>{const{colorScheme:t}=e;return{width:"inherit",height:"inherit",[la.variable]:`colors.${t}.500`,_dark:{[la.variable]:`colors.${t}.200`},bg:la.reference}},ha=oa({baseStyle:ia(e=>({container:ca(e),track:ua(e),thumb:da(e),filledTrack:pa(e)})),sizes:{lg:ia({container:{[aa.variable]:"sizes.4",[sa.variable]:"sizes.1"}}),md:ia({container:{[aa.variable]:"sizes.3.5",[sa.variable]:"sizes.1"}}),sm:ia({container:{[aa.variable]:"sizes.2.5",[sa.variable]:"sizes.0.5"}})},defaultProps:{size:"md",colorScheme:"blue"}}),fa=Gr("spinner-size"),ma={baseStyle:{width:[fa.reference],height:[fa.reference]},sizes:{xs:{[fa.variable]:"sizes.3"},sm:{[fa.variable]:"sizes.4"},md:{[fa.variable]:"sizes.6"},lg:{[fa.variable]:"sizes.8"},xl:{[fa.variable]:"sizes.12"}},defaultProps:{size:"md"}},{defineMultiStyleConfig:ga,definePartsStyle:ba}=wt(sr.keys),va=ga({baseStyle:ba({container:{},label:{fontWeight:"medium"},helpText:{opacity:.8,marginBottom:"2"},number:{verticalAlign:"baseline",fontWeight:"semibold"},icon:{marginEnd:1,w:"3.5",h:"3.5",verticalAlign:"middle"}}),sizes:{md:ba({label:{fontSize:"sm"},helpText:{fontSize:"sm"},number:{fontSize:"2xl"}})},defaultProps:{size:"md"}}),{defineMultiStyleConfig:ya,definePartsStyle:xa}=wt(["stepper","step","title","description","indicator","separator","icon","number"]),wa=Ot("stepper-indicator-size"),Sa=Ot("stepper-icon-size"),ka=Ot("stepper-title-font-size"),Ca=Ot("stepper-description-font-size"),_a=Ot("stepper-accent-color"),Pa=ya({baseStyle:xa(({colorScheme:e})=>({stepper:{display:"flex",justifyContent:"space-between",gap:"4","&[data-orientation=vertical]":{flexDirection:"column",alignItems:"flex-start"},"&[data-orientation=horizontal]":{flexDirection:"row",alignItems:"center"},[_a.variable]:`colors.${e}.500`,_dark:{[_a.variable]:`colors.${e}.200`}},title:{fontSize:ka.reference,fontWeight:"medium"},description:{fontSize:Ca.reference,color:"chakra-subtle-text"},number:{fontSize:ka.reference},step:{flexShrink:0,position:"relative",display:"flex",gap:"2","&[data-orientation=horizontal]":{alignItems:"center"},flex:"1","&:last-of-type:not([data-stretch])":{flex:"initial"}},icon:{flexShrink:0,width:Sa.reference,height:Sa.reference},indicator:{flexShrink:0,borderRadius:"full",width:wa.reference,height:wa.reference,display:"flex",justifyContent:"center",alignItems:"center","&[data-status=active]":{borderWidth:"2px",borderColor:_a.reference},"&[data-status=complete]":{bg:_a.reference,color:"chakra-inverse-text"},"&[data-status=incomplete]":{borderWidth:"2px"}},separator:{bg:"chakra-border-color",flex:"1","&[data-status=complete]":{bg:_a.reference},"&[data-orientation=horizontal]":{width:"100%",height:"2px",marginStart:"2"},"&[data-orientation=vertical]":{width:"2px",position:"absolute",height:"100%",maxHeight:`calc(100% - ${wa.reference} - 8px)`,top:`calc(${wa.reference} + 4px)`,insetStart:`calc(${wa.reference} / 2 - 1px)`}}})),sizes:{xs:xa({stepper:{[wa.variable]:"sizes.4",[Sa.variable]:"sizes.3",[ka.variable]:"fontSizes.xs",[Ca.variable]:"fontSizes.xs"}}),sm:xa({stepper:{[wa.variable]:"sizes.6",[Sa.variable]:"sizes.4",[ka.variable]:"fontSizes.sm",[Ca.variable]:"fontSizes.xs"}}),md:xa({stepper:{[wa.variable]:"sizes.8",[Sa.variable]:"sizes.5",[ka.variable]:"fontSizes.md",[Ca.variable]:"fontSizes.sm"}}),lg:xa({stepper:{[wa.variable]:"sizes.10",[Sa.variable]:"sizes.6",[ka.variable]:"fontSizes.lg",[Ca.variable]:"fontSizes.md"}})},defaultProps:{size:"md",colorScheme:"blue"}}),{defineMultiStyleConfig:Ea,definePartsStyle:Aa}=wt(lr.keys),Ta=Gr("switch-track-width"),ja=Gr("switch-track-height"),za=Gr("switch-track-diff"),Ra=Ur.subtract(Ta,ja),Ba=Gr("switch-thumb-x"),Ma=Gr("switch-bg"),$a=e=>{const{colorScheme:t}=e;return{borderRadius:"full",p:"0.5",width:[Ta.reference],height:[ja.reference],transitionProperty:"common",transitionDuration:"fast",[Ma.variable]:"colors.gray.300",_dark:{[Ma.variable]:"colors.whiteAlpha.400"},_focusVisible:{boxShadow:"outline"},_disabled:{opacity:.4,cursor:"not-allowed"},_checked:{[Ma.variable]:`colors.${t}.500`,_dark:{[Ma.variable]:`colors.${t}.200`}},bg:Ma.reference}},Oa={bg:"white",transitionProperty:"transform",transitionDuration:"normal",borderRadius:"inherit",width:[ja.reference],height:[ja.reference],_checked:{transform:`translateX(${Ba.reference})`}},Da=Ea({baseStyle:Aa(e=>({container:{[za.variable]:Ra,[Ba.variable]:za.reference,_rtl:{[Ba.variable]:Ur(za).negate().toString()}},track:$a(e),thumb:Oa})),sizes:{sm:Aa({container:{[Ta.variable]:"1.375rem",[ja.variable]:"sizes.3"}}),md:Aa({container:{[Ta.variable]:"1.875rem",[ja.variable]:"sizes.4"}}),lg:Aa({container:{[Ta.variable]:"2.875rem",[ja.variable]:"sizes.6"}})},defaultProps:{size:"md",colorScheme:"blue"}}),{defineMultiStyleConfig:Ia,definePartsStyle:La}=wt(cr.keys),Va=La({table:{fontVariantNumeric:"lining-nums tabular-nums",borderCollapse:"collapse",width:"full"},th:{fontFamily:"heading",fontWeight:"bold",textTransform:"uppercase",letterSpacing:"wider",textAlign:"start"},td:{textAlign:"start"},caption:{mt:4,fontFamily:"heading",textAlign:"center",fontWeight:"medium"}}),Fa={"&[data-is-numeric=true]":{textAlign:"end"}},Wa=Ia({baseStyle:Va,variants:{simple:La(e=>{const{colorScheme:t}=e;return{th:{color:Or("gray.600","gray.400")(e),borderBottom:"1px",borderColor:Or(`${t}.100`,`${t}.700`)(e),...Fa},td:{borderBottom:"1px",borderColor:Or(`${t}.100`,`${t}.700`)(e),...Fa}
1,caption:{color:Or("gray.600","gray.100")(e)},tfoot:{tr:{"&:last-of-type":{th:{borderBottomWidth:0}}}}}}),striped:La(e=>{const{colorScheme:t}=e;return{th:{color:Or("gray.600","gray.400")(e),borderBottom:"1px",borderColor:Or(`${t}.100`,`${t}.700`)(e),...Fa},td:{borderBottom:"1px",borderColor:Or(`${t}.100`,`${t}.700`)(e),...Fa},caption:{color:Or("gray.600","gray.100")(e)},tbody:{tr:{"&:nth-of-type(odd)":{"th, td":{borderBottomWidth:"1px",borderColor:Or(`${t}.100`,`${t}.700`)(e)},td:{background:Or(`${t}.100`,`${t}.700`)(e)}}}},tfoot:{tr:{"&:last-of-type":{th:{borderBottomWidth:0}}}}}}),unstyled:{}},sizes:{sm:La({th:{px:"4",py:"1",lineHeight:"4",fontSize:"xs"},td:{px:"4",py:"2",fontSize:"sm",lineHeight:"4"},caption:{px:"4",py:"2",fontSize:"xs"}}),md:La({th:{px:"6",py:"3",lineHeight:"4",fontSize:"xs"},td:{px:"6",py:"4",lineHeight:"5"},caption:{px:"6",py:"2",fontSize:"sm"}}),lg:La({th:{px:"8",py:"4",lineHeight:"5",fontSize:"sm"},td:{px:"8",py:"5",lineHeight:"6"},caption:{px:"6",py:"2",fontSize:"md"}})},defaultProps:{variant:"simple",size:"md",colorScheme:"gray"}}),Na=Ot("tabs-color"),Ha=Ot("tabs-bg"),Ua=Ot("tabs-border-color"),{defineMultiStyleConfig:qa,definePartsStyle:Xa}=wt(ur.keys),Ya=e=>{const{orientation:t}=e;return{display:"vertical"===t?"flex":"block"}},Ga=e=>{const{isFitted:t}=e;return{flex:t?1:void 0,transitionProperty:"common",transitionDuration:"normal",_focusVisible:{zIndex:1,boxShadow:"outline"},_disabled:{cursor:"not-allowed",opacity:.4}}},Za=e=>{const{align:t="start",orientation:r}=e;return{justifyContent:{end:"flex-end",center:"center",start:"flex-start"}[t],flexDirection:"vertical"===r?"column":"row"}},Ka={p:4},Ja=Xa(e=>({root:Ya(e),tab:Ga(e),tablist:Za(e),tabpanel:Ka})),Qa={sm:Xa({tab:{py:1,px:4,fontSize:"sm"}}),md:Xa({tab:{fontSize:"md",py:2,px:4}}),lg:Xa({tab:{fontSize:"lg",py:3,px:4}})},es=Xa(e=>{const{colorScheme:t,orientation:r}=e,n="vertical"===r,o=n?"borderStart":"borderBottom",i=n?"marginStart":"marginBottom";return{tablist:{[o]:"2px solid",borderColor:"inherit"},tab:{[o]:"2px solid",borderColor:"transparent",[i]:"-2px",_selected:{[Na.variable]:`colors.${t}.600`,_dark:{[Na.variable]:`colors.${t}.300`},borderColor:"currentColor"},_active:{[Ha.variable]:"colors.gray.200",_dark:{[Ha.variable]:"colors.whiteAlpha.300"}},_disabled:{_active:{bg:"none"}},color:Na.reference,bg:Ha.reference}}}),ts=Xa(e=>{const{colorScheme:t}=e;return{tab:{borderTopRadius:"md",border:"1px solid",borderColor:"transparent",mb:"-1px",[Ua.variable]:"transparent",_selected:{[Na.variable]:`colors.${t}.600`,[Ua.variable]:"colors.white",_dark:{[Na.variable]:`colors.${t}.300`,[Ua.variable]:"colors.gray.800"},borderColor:"inherit",borderBottomColor:Ua.reference},color:Na.reference},tablist:{mb:"-1px",borderBottom:"1px solid",borderColor:"inherit"}}}),rs=Xa(e=>{const{colorScheme:t}=e;return{tab:{border:"1px solid",borderColor:"inherit",[Ha.variable]:"colors.gray.50",_dark:{[Ha.variable]:"colors.whiteAlpha.50"},mb:"-1px",_notLast:{marginEnd:"-1px"},_selected:{[Ha.variable]:"colors.white",[Na.variable]:`colors.${t}.600`,_dark:{[Ha.variable]:"colors.gray.800",[Na.variable]:`colors.${t}.300`},borderColor:"inherit",borderTopColor:"currentColor",borderBottomColor:"transparent"},color:Na.reference,bg:Ha.reference},tablist:{mb:"-1px",borderBottom:"1px solid",borderColor:"inherit"}}}),ns=Xa(e=>{const{colorScheme:t,theme:r}=e;return{tab:{borderRadius:"full",fontWeight:"semibold",color:"gray.600",_selected:{color:zr(r,`${t}.700`),bg:zr(r,`${t}.100`)}}}}),os=qa({baseStyle:Ja,sizes:Qa,variants:{line:es,enclosed:ts,"enclosed-colored":rs,"soft-rounded":ns,"solid-rounded":Xa(e=>{const{colorScheme:t}=e;return{tab:{borderRadius:"full",fontWeight:"semibold",[Na.variable]:"colors.gray.600",_dark:{[Na.variable]:"inherit"},_selected:{[Na.variable]:"colors.white",[Ha.variable]:`colors.${t}.600`,_dark:{[Na.variable]:"colors.gray.800",[Ha.variable]:`colors.${t}.300`}},color:Na.reference,bg:Ha.reference}}}),unstyled:Xa({})},defaultProps:{size:"md",variant:"line",colorScheme:"blue"}}),{defineMultiStyleConfig:is,definePartsStyle:as}=wt(dr.keys),ss=Ot("tag-bg"),ls=Ot("tag-color"),cs=Ot("tag-shadow"),us=Ot("tag-min-height"),ds=Ot("tag-min-width"),ps=Ot("tag-font-size"),hs=Ot("tag-padding-inline"),fs=as({container:{fontWeight:"medium",lineHeight:1.2,outline:0,[ls.variable]:vn.color.reference,[ss.variable]:vn.bg.reference,[cs.variable]:vn.shadow.reference,color:ls.reference,bg:ss.reference,boxShadow:cs.reference,borderRadius:"md",minH:us.reference,minW:ds.reference,fontSize:ps.reference,px:hs.reference,_focusVisible:{[cs.variable]:"shadows.outline"}},label:{lineHeight:1.2,overflow:"visible"},closeButton:{fontSize:"lg",w:"5",h:"5",transitionProperty:"common",transitionDuration:"normal",borderRadius:"full",marginStart:"1.5",marginEnd:"-1",opacity:.5,_disabled:{opacity:.4},_focusVisible:{boxShadow:"outline",bg:"rgba(0, 0, 0, 0.14)"},_hover:{opacity:.8},_active:{opacity:1}}}),ms={sm:as({container:{[us.variable]:"sizes.5",[ds.variable]:"sizes.5",[ps.variable]:"fontSizes.xs",[hs.variable]:"space.2"},closeButton:{marginEnd:"-2px",marginStart:"0.35rem"}}),md:as({container:{[us.variable]:"sizes.6",[ds.variable]:"sizes.6",[ps.variable]:"fontSizes.sm",[hs.variable]:"space.2"}}),lg:as({container:{[us.variable]:"sizes.8",[ds.variable]:"sizes.8",[ps.variable]:"fontSizes.md",[hs.variable]:"space.3"}})},gs=is({variants:{subtle:as(e=>{var t;return{container:null==(t=Sn.variants)?void 0:t.subtle(e)}}),solid:as(e=>{var t;return{container:null==(t=Sn.variants)?void 0:t.solid(e)}}),outline:as(e=>{var t;return{container:null==(t=Sn.variants)?void 0:t.outline(e)}})},baseStyle:fs,sizes:ms,defaultProps:{size:"md",variant:"subtle",colorScheme:"gray"}}),bs={...null==(d=No.baseStyle)?void 0:d.field,paddingY:"2",minHeight:"20",lineHeight:"short",verticalAlign:"top"},vs={outline:e=>{var t;return(null==(t=No.variants)?void 0:t.outline(e).field)??{}},flushed:e=>{var t;return(null==(t=No.variants)?void 0:t.flushed(e).field)??{}},filled:e=>{var t;return(null==(t=No.variants)?void 0:t.filled(e).field)??{}},unstyled:(null==(p=No.variants)?void 0:p.unstyled.field)??{}},ys={baseStyle:bs,sizes:{xs:(null==(h=No.sizes)?void 0:h.xs.field)??{},sm:(null==(f=No.sizes)?void 0:f.sm.field)??{},md:(null==(m=No.sizes)?void 0:m.md.field)??{},lg:(null==(g=No.sizes)?void 0:g.lg.field)??{}},variants:vs,defaultProps:{size:"md",variant:"outline"}},xs=Gr("tooltip-bg"),ws=Gr("tooltip-fg"),Ss=Gr("popper-arrow-bg"),ks={bg:xs.reference,color:ws.reference,[xs.variable]:"colors.gray.700",[ws.variable]:"colors.whiteAlpha.900",_dark:{[xs.variable]:"colors.gray.300",[ws.variable]:"colors.gray.9
100"},[Ss.variable]:xs.reference,px:"2",py:"0.5",borderRadius:"sm",fontWeight:"medium",fontSize:"sm",boxShadow:"md",maxW:"xs",zIndex:"tooltip"},Cs={Accordion:mr,Alert:tn,Avatar:bn,Badge:Sn,Breadcrumb:Pn,Button:Tn,Checkbox:Yn,CloseButton:Kn,Code:eo,Container:to,Divider:ro,Drawer:go,Editable:yo,Form:ko,FormError:Eo,FormLabel:Ao,Heading:To,Input:No,Kbd:Uo,Link:qo,List:Go,Menu:ei,Modal:hi,NumberInput:Ai,PinInput:Ti,Popover:$i,Progress:Ni,Radio:Xi,Select:Ji,Skeleton:ta,SkipLink:na,Slider:ha,Spinner:ma,Stat:va,Switch:Da,Table:Wa,Tabs:os,Tag:gs,Textarea:ys,Tooltip:{baseStyle:ks},Card:Vn,Stepper:Pa},_s={property:{common:"background-color, border-color, color, fill, stroke, opacity, box-shadow, transform",colors:"background-color, border-color, color, fill, stroke",dimensions:"width, height",position:"left, right, top, bottom",background:"background-color, background-image, background-position"},easing:{"ease-in":"cubic-bezier(0.4, 0, 1, 1)","ease-out":"cubic-bezier(0, 0, 0.2, 1)","ease-in-out":"cubic-bezier(0.4, 0, 0.2, 1)"},duration:{"ultra-fast":"50ms",faster:"100ms",fast:"150ms",normal:"200ms",slow:"300ms",slower:"400ms","ultra-slow":"500ms"}},Ps={breakpoints:{base:"0em",sm:"30em",md:"48em",lg:"62em",xl:"80em","2xl":"96em"},zIndices:{hide:-1,auto:"auto",base:0,docked:10,dropdown:1e3,sticky:1100,banner:1200,overlay:1300,modal:1400,popover:1500,skipLink:1600,toast:1700,tooltip:1800},radii:{none:"0",sm:"0.125rem",base:"0.25rem",md:"0.375rem",lg:"0.5rem",xl:"0.75rem","2xl":"1rem","3xl":"1.5rem",full:"9999px"},blur:{none:0,sm:"4px",base:"8px",md:"12px",lg:"16px",xl:"24px","2xl":"40px","3xl":"64px"},colors:{transparent:"transparent",current:"currentColor",black:"#000000",white:"#FFFFFF",whiteAlpha:{50:"rgba(255, 255, 255, 0.04)",100:"rgba(255, 255, 255, 0.06)",200:"rgba(255, 255, 255, 0.08)",300:"rgba(255, 255, 255, 0.16)",400:"rgba(255, 255, 255, 0.24)",500:"rgba(255, 255, 255, 0.36)",600:"rgba(255, 255, 255, 0.48)",700:"rgba(255, 255, 255, 0.64)",800:"rgba(255, 255, 255, 0.80)",900:"rgba(255, 255, 255, 0.92)"},blackAlpha:{50:"rgba(0, 0, 0, 0.04)",100:"rgba(0, 0, 0, 0.06)",200:"rgba(0, 0, 0, 0.08)",300:"rgba(0, 0, 0, 0.16)",400:"rgba(0, 0, 0, 0.24)",500:"rgba(0, 0, 0, 0.36)",600:"rgba(0, 0, 0, 0.48)",700:"rgba(0, 0, 0, 0.64)",800:"rgba(0, 0, 0, 0.80)",900:"rgba(0, 0, 0, 0.92)"},gray:{50:"#F7FAFC",100:"#EDF2F7",200:"#E2E8F0",300:"#CBD5E0",400:"#A0AEC0",500:"#718096",600:"#4A5568",700:"#2D3748",800:"#1A202C",900:"#171923"},red:{50:"#FFF5F5",100:"#FED7D7",200:"#FEB2B2",300:"#FC8181",400:"#F56565",500:"#E53E3E",600:"#C53030",700:"#9B2C2C",800:"#822727",900:"#63171B"},orange:{50:"#FFFAF0",100:"#FEEBC8",200:"#FBD38D",300:"#F6AD55",400:"#ED8936",500:"#DD6B20",600:"#C05621",700:"#9C4221",800:"#7B341E",900:"#652B19"},yellow:{50:"#FFFFF0",100:"#FEFCBF",200:"#FAF089",300:"#F6E05E",400:"#ECC94B",500:"#D69E2E",600:"#B7791F",700:"#975A16",800:"#744210",900:"#5F370E"},green:{50:"#F0FFF4",100:"#C6F6D5",200:"#9AE6B4",300:"#68D391",400:"#48BB78",500:"#38A169",600:"#2F855A",700:"#276749",800:"#22543D",900:"#1C4532"},teal:{50:"#E6FFFA",100:"#B2F5EA",200:"#81E6D9",300:"#4FD1C5",400:"#38B2AC",500:"#319795",600:"#2C7A7B",700:"#285E61",800:"#234E52",900:"#1D4044"},blue:{50:"#ebf8ff",100:"#bee3f8",200:"#90cdf4",300:"#63b3ed",400:"#4299e1",500:"#3182ce",600:"#2b6cb0",700:"#2c5282",800:"#2a4365",900:"#1A365D"},cyan:{50:"#EDFDFD",100:"#C4F1F9",200:"#9DECF9",300:"#76E4F7",400:"#0BC5EA",500:"#00B5D8",600:"#00A3C4",700:"#0987A0",800:"#086F83",900:"#065666"},purple:{50:"#FAF5FF",100:"#E9D8FD",200:"#D6BCFA",300:"#B794F4",400:"#9F7AEA",500:"#805AD5",600:"#6B46C1",700:"#553C9A",800:"#44337A",900:"#322659"},pink:{50:"#FFF5F7",100:"#FED7E2",200:"#FBB6CE",300:"#F687B3",400:"#ED64A6",500:"#D53F8C",600:"#B83280",700:"#97266D",800:"#702459",900:"#521B41"}},...fi,sizes:nn,shadows:{xs:"0 0 0 1px rgba(0, 0, 0, 0.05)",sm:"0 1px 2px 0 rgba(0, 0, 0, 0.05)",base:"0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06)",md:"0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06)",lg:"0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05)",xl:"0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04)","2xl":"0 25px 50px -12px rgba(0, 0, 0, 0.25)",outline:"0 0 0 3px rgba(66, 153, 225, 0.6)",inner:"inset 0 2px 4px 0 rgba(0,0,0,0.06)",none:"none","dar
1k-lg":"rgba(0, 0, 0, 0.1) 0px 0px 0px 1px, rgba(0, 0, 0, 0.2) 0px 5px 10px, rgba(0, 0, 0, 0.4) 0px 15px 40px"},space:rn,borders:{none:0,"1px":"1px solid","2px":"2px solid","4px":"4px solid","8px":"8px solid"},transition:_s},Es=["borders","breakpoints","colors","components","config","direction","fonts","fontSizes","fontWeights","letterSpacings","lineHeights","radii","shadows","sizes","space","styles","transition","zIndices"];const As={semanticTokens:{colors:{"chakra-body-text":{_light:"gray.800",_dark:"whiteAlpha.900"},"chakra-body-bg":{_light:"white",_dark:"gray.800"},"chakra-border-color":{_light:"gray.200",_dark:"whiteAlpha.300"},"chakra-inverse-text":{_light:"white",_dark:"gray.800"},"chakra-subtle-bg":{_light:"gray.100",_dark:"gray.700"},"chakra-subtle-text":{_light:"gray.600",_dark:"gray.400"},"chakra-placeholder-color":{_light:"gray.500",_dark:"whiteAlpha.400"}}},direction:"ltr",...Ps,components:Cs,styles:{global:{body:{fontFamily:"body",color:"chakra-body-text",bg:"chakra-body-bg",transitionProperty:"background-color",transitionDuration:"normal",lineHeight:"base"},"*::placeholder":{color:"chakra-placeholder-color"},"*, *::before, &::after":{borderColor:"chakra-border-color"}}},config:{useSystemColorMode:!1,initialColorMode:"light",cssVarPrefix:"chakra"}};var Ts=function(){function e(e){var t=this;this._insertTag=function(e){var r;r=0===t.tags.length?t.insertionPoint?t.insertionPoint.nextSibling:t.prepend?t.container.firstChild:t.before:t.tags[t.tags.length-1].nextSibling,t.container.insertBefore(e,r),t.tags.push(e)},this.isSpeedy=void 0===e.speedy||e.speedy,this.tags=[],this.ctr=0,this.nonce=e.nonce,this.key=e.key,this.container=e.container,this.prepend=e.prepend,this.insertionPoint=e.insertionPoint,this.before=null}var t=e.prototype;return t.hydrate=function(e){e.forEach(this._insertTag)},t.insert=function(e){this.ctr%(this.isSpeedy?65e3:1)==0&&this._insertTag(function(e){var t=document.createElement("style");return t.setAttribute("data-emotion",e.key),void 0!==e.nonce&&t.setAttribute("nonce",e.nonce),t.appendChild(document.createTextNode("")),t.setAttribute("data-s",""),t}(this));var t=this.tags[this.tags.length-1];if(this.isSpeedy){var r=function(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]}(t);try{r.insertRule(e,r.cssRules.length)}catch(n){}}else t.appendChild(document.createTextNode(e));this.ctr++}
vendor: 5,519 bytes, line 1
1,t.flush=function(){this.tags.forEach(function(e){var t;return null==(t=e.parentNode)?void 0:t.removeChild(e)}),this.tags=[],this.ctr=0},e}(),js="-ms-",zs="-moz-",Rs="-webkit-",Bs="comm",Ms="rule",$s="decl",Os="@keyframes",Ds=Math.abs,Is=String.fromCharCode,Ls=Object.assign;function Vs(e){return e.trim()}function Fs(e,t,r){return e.replace(t,r)}function Ws(e,t){return e.indexOf(t)}function Ns(e,t){return 0|e.charCodeAt(t)}function Hs(e,t,r){return e.slice(t,r)}function Us(e){return e.length}function qs(e){return e.length}function Xs(e,t){return t.push(e),e}var Ys=1,Gs=1,Zs=0,Ks=0,Js=0,Qs="";function el(e,t,r,n,o,i,a){return{value:e,root:t,parent:r,type:n,props:o,children:i,line:Ys,column:Gs,length:a,return:""}}function tl(e,t){return Ls(el("",null,null,"",null,null,0),e,{length:-e.length},t)}function rl(){return Js=Ks>0?Ns(Qs,--Ks):0,Gs--,10===Js&&(Gs=1,Ys--),Js}function nl(){return Js=Ks<Zs?Ns(Qs,Ks++):0,Gs++,10===Js&&(Gs=1,Ys++),Js}function ol(){return Ns(Qs,Ks)}function il(){return Ks}function al(e,t){return Hs(Qs,e,t)}function sl(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 ll(e){return Ys=Gs=1,Zs=Us(Qs=e),Ks=0,[]}function cl(e){return Qs="",e}function ul(e){return Vs(al(Ks-1,hl(91===e?e+2:40===e?e+1:e)))}function dl(e){for(;(Js=ol())&&Js<33;)nl();return sl(e)>2||sl(Js)>3?"":" "}function pl(e,t){for(;--t&&nl()&&!(Js<48||Js>102||Js>57&&Js<65||Js>70&&Js<97););return al(e,il()+(t<6&&32==ol()&&32==nl()))}function hl(e){for(;nl();)switch(Js){case e:return Ks;case 34:case 39:34!==e&&39!==e&&hl(Js);break;case 40:41===e&&hl(e);break;case 92:nl()}return Ks}function fl(e,t){for(;nl()&&e+Js!==57&&(e+Js!==84||47!==ol()););return"/*"+al(t,Ks-1)+"*"+Is(47===e?e:nl())}function ml(e){for(;!sl(ol());)nl();return al(e,Ks)}function gl(e){return cl(bl("",null,null,null,[""],e=ll(e),0,[0],e))}function bl(e,t,r,n,o,i,a,s,l){for(var c=0,u=0,d=a,p=0,h=0,f=0,m=1,g=1,b=1,v=0,y="",x=o,w=i,S=n,k=y;g;)switch(f=v,v=nl()){case 40:if(108!=f&&58==Ns(k,d-1)){-1!=Ws(k+=Fs(ul(v),"&","&\f"),"&\f")&&(b=-1);break}case 34:case 39:case 91:k+=ul(v);break;case 9:case 10:case 13:case 32:k+=dl(f);break;case 92:k+=pl(il()-1,7);continue;case 47:switch(ol()){case 42:case 47:Xs(yl(fl(nl(),il()),t,r),l);break;default:k+="/"}break;case 123*m:s[c++]=Us(k)*b;case 125*m:case 59:case 0:switch(v){case 0:case 125:g=0;case 59+u:-1==b&&(k=Fs(k,/\f/g,"")),h>0&&Us(k)-d&&Xs(h>32?xl(k+";",n,r,d-1):xl(Fs(k," ","")+";",n,r,d-2),l);break;case 59:k+=";";default:if(Xs(S=vl(k,t,r,c,u,o,s,y,x=[],w=[],d),i),123===v)if(0===u)bl(k,t,S,S,x,i,d,s,w);else switch(99===p&&110===Ns(k,3)?100:p){case 100:case 108:case 109:case 115:bl(e,S,S,n&&Xs(vl(e,S,S,0,0,o,s,y,o,x=[],d),w),o,w,d,s,n?x:w);break;default:bl(k,S,S,S,[""],w,0,s,w)}}c=u=h=0,m=b=1,y=k="",d=a;break;case 58:d=1+Us(k),h=f;default:if(m<1)if(123==v)--m;else if(125==v&&0==m++&&125==rl())continue;switch(k+=Is(v),v*m){case 38:b=u>0?1:(k+="\f",-1);break;case 44:s[c++]=(Us(k)-1)*b,b=1;break;case 64:45===ol()&&(k+=ul(nl())),p=ol(),u=d=Us(y=k+=ml(il())),v++;break;case 45:45===f&&2==Us(k)&&(m=0)}}return i}function vl(e,t,r,n,o,i,a,s,l,c,u){for(var d=o-1,p=0===o?i:[""],h=qs(p),f=0,m=0,g=0;f<n;++f)for(var b=0,v=Hs(e,d+1,d=Ds(m=a[f])),y=e;b<h;++b)(y=Vs(m>0?p[b]+" "+v:Fs(v,/&\f/g,p[b])))&&(l[g++]=y);return el(e,t,r,0===o?Ms:s,l,c,u)}function yl(e,t,r){return el(e,t,r,Bs,Is(Js),Hs(e,2,-2),0)}function xl(e,t,r,n){return el(e,t,r,$s,Hs(e,0,n),Hs(e,n+1,-1),n)}function wl(e,t){for(var r="",n=qs(e),o=0;o<n;o++)r+=t(e[o],o,e,t)||"";return r}function Sl(e,t,r,n){switch(e.type){case"@layer":if(e.children.length)break;case"@import":case $s:return e.return=e.return||e.value;case Bs:return"";case Os:return e.return=e.value+"{"+wl(e.children,n)+"}";case Ms:e.value=e.props.join(",")}return Us(r=wl(e.children,n))?e.return=e.value+"{"+r+"}":""}var kl=function(e){var t=new WeakMap;return function(r){if(t.has(r))return t.get(r);var n=e(r);return t.set(r,n),n}};function Cl(e){var t=Object.create(null);return function(r){return void 0===t[r]&&(t[r]=e(r)),t[r]}}var _l=function(e,t,r){for(var n=0,o=0;n=o,o=ol(),38===n&&12===o&&(t[r]=1),!sl(o);)nl();return al(e,Ks)},Pl=function(e,t){return cl(function(e,t){var r=-1,n=44;do{switch(sl(n)){case 0:38===n&&12===ol()&&(t[r]=1),e[r]+=_l(Ks-1,t,r);break;case 2:e[r]+=ul(n);break;case 4:if(44===n){e[++r]=58===ol()?"&\f":"",t[r]=e[r].length;break}default:e[r]+=Is(n)}}while(n=nl());return e}(ll(e),t))},El=new WeakMap,Al=function(e){if("rule"===e.type&&e.parent&&!(e.length<1)){for(var t=e.value,r=e.parent,n=e.column===r.column&&e.line===r.line;"rule"!==r.type;)if(!(r=r.parent))return;if((1!==e.props.length||58===t.charCodeAt(0)||El.get(r))&&!n){El.set(e,!0);for(var o=[],i=Pl(t,o),a=r.props,s=0,l=0;s<i.length;s++)for(var c=0;c<a.length;c++,l++)e.props[l]=o[s]?i[s].replace(/&\f/g,a[c]):a[c]+" "+i[s]}}},Tl=function(e){if("decl"===e.type){var t=e.value;108===t.charCodeAt(0)&&98===t.charCodeAt(2)&&(e.return="",e.value="")}};function jl(e,t){switch(function(e,t){return 45^Ns(e,0)?(((t<<2^Ns(e,0))<<2^Ns(e,1))<<2^Ns(e,2))<<2^Ns(e,3):0}(e,t)){case 5103:return Rs+"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 Rs+e+e;
vendor: 11,677 bytes, line 1
1case 5349:case 4246:case 4810:case 6968:case 2756:return Rs+e+zs+e+js+e+e;case 6828:case 4268:return Rs+e+js+e+e;case 6165:return Rs+e+js+"flex-"+e+e;case 5187:return Rs+e+Fs(e,/(\w+).+(:[^]+)/,Rs+"box-$1$2"+js+"flex-$1$2")+e;case 5443:return Rs+e+js+"flex-item-"+Fs(e,/flex-|-self/,"")+e;case 4675:return Rs+e+js+"flex-line-pack"+Fs(e,/align-content|flex-|-self/,"")+e;case 5548:return Rs+e+js+Fs(e,"shrink","negative")+e;case 5292:return Rs+e+js+Fs(e,"basis","preferred-size")+e;case 6060:return Rs+"box-"+Fs(e,"-grow","")+Rs+e+js+Fs(e,"grow","positive")+e;case 4554:return Rs+Fs(e,/([^-])(transform)/g,"$1"+Rs+"$2")+e;case 6187:return Fs(Fs(Fs(e,/(zoom-|grab)/,Rs+"$1"),/(image-set)/,Rs+"$1"),e,"")+e;case 5495:case 3959:return Fs(e,/(image-set\([^]*)/,Rs+"$1$`$1");case 4968:return Fs(Fs(e,/(.+:)(flex-)?(.*)/,Rs+"box-pack:$3"+js+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+Rs+e+e;case 4095:case 3583:case 4068:case 2532:return Fs(e,/(.+)-inline(.+)/,Rs+"$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(Us(e)-1-t>6)switch(Ns(e,t+1)){case 109:if(45!==Ns(e,t+4))break;case 102:return Fs(e,/(.+:)(.+)-([^]+)/,"$1"+Rs+"$2-$3$1"+zs+(108==Ns(e,t+3)?"$3":"$2-$3"))+e;case 115:return~Ws(e,"stretch")?jl(Fs(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(115!==Ns(e,t+1))break;case 6444:switch(Ns(e,Us(e)-3-(~Ws(e,"!important")&&10))){case 107:return Fs(e,":",":"+Rs)+e;case 101:return Fs(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+Rs+(45===Ns(e,14)?"inline-":"")+"box$3$1"+Rs+"$2$3$1"+js+"$2box$3")+e}break;case 5936:switch(Ns(e,t+11)){case 114:return Rs+e+js+Fs(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return Rs+e+js+Fs(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return Rs+e+js+Fs(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return Rs+e+js+e+e}return e}var zl=[function(e,t,r,n){if(e.length>-1&&!e.return)switch(e.type){case $s:e.return=jl(e.value,e.length);break;case Os:return wl([tl(e,{value:Fs(e.value,"@","@"+Rs)})],n);case Ms:if(e.length)return function(e,t){return e.map(t).join("")}(e.props,function(t){switch(function(e,t){return(e=t.exec(e))?e[0]:e}(t,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return wl([tl(e,{props:[Fs(t,/:(read-\w+)/,":-moz-$1")]})],n);case"::placeholder":return wl([tl(e,{props:[Fs(t,/:(plac\w+)/,":"+Rs+"input-$1")]}),tl(e,{props:[Fs(t,/:(plac\w+)/,":-moz-$1")]}),tl(e,{props:[Fs(t,/:(plac\w+)/,js+"input-$1")]})],n)}return""})}}],Rl=function(e){var t=e.key;if("css"===t){var r=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(r,function(e){-1!==e.getAttribute("data-emotion").indexOf(" ")&&(document.head.appendChild(e),e.setAttribute("data-s",""))})}var n,o,i=e.stylisPlugins||zl,a={},s=[];n=e.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+t+' "]'),function(e){for(var t=e.getAttribute("data-emotion").split(" "),r=1;r<t.length;r++)a[t[r]]=!0;s.push(e)});var l,c,u,d,p=[Sl,(d=function(e){l.insert(e)},function(e){e.root||(e=e.return)&&d(e)})],h=(c=[Al,Tl].concat(i,p),u=qs(c),function(e,t,r,n){for(var o="",i=0;i<u;i++)o+=c[i](e,t,r,n)||"";return o});o=function(e,t,r,n){l=r,wl(gl(e?e+"{"+t.styles+"}":t.styles),h),n&&(f.inserted[t.name]=!0)};var f={key:t,sheet:new Ts({key:t,container:n,nonce:e.nonce,speedy:e.speedy,prepend:e.prepend,insertionPoint:e.insertionPoint}),nonce:e.nonce,inserted:a,registered:{},insert:o};return f.sheet.hydrate(s),f};function Bl(){return Bl=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Bl.apply(null,arguments)}var Ml,$l,Ol,Dl,Il={exports:{}},Ll={};function Vl(){return $l||($l=1,Il.exports=function(){if(Ml)return Ll;Ml=1;var e="function"==typeof Symbol&&Symbol.for,t=e?Symbol.for("react.element"):60103,r=e?Symbol.for("react.portal"):60106,n=e?Symbol.for("react.fragment"):60107,o=e?Symbol.for("react.strict_mode"):60108,i=e?Symbol.for("react.profiler"):60114,a=e?Symbol.for("react.provider"):60109,s=e?Symbol.for("react.context"):60110,l=e?Symbol.for("react.async_mode"):60111,c=e?Symbol.for("react.concurrent_mode"):60111,u=e?Symbol.for("react.forward_ref"):60112,d=e?Symbol.for("react.suspense"):60113,p=e?Symbol.for("react.suspense_list"):60120,h=e?Symbol.for("react.memo"):60115,f=e?Symbol.for("react.lazy"):60116,m=e?Symbol.for("react.block"):60121,g=e?Symbol.for("react.fundamental"):60117,b=e?Symbol.for("react.responder"):60118,v=e?Symbol.for("react.scope"):60119;function y(e){if("object"==typeof e&&null!==e){var p=e.$$typeof;switch(p){case t:switch(e=e.type){case l:case c:case n:case i:case o:case d:return e;default:switch(e=e&&e.$$typeof){case s:case u:case f:case h:case a:return e;default:return p}}case r:return p}}}function x(e){return y(e)===c}return Ll.AsyncMode=l,Ll.ConcurrentMode=c,Ll.ContextConsumer=s,Ll.ContextProvider=a,Ll.Element=t,Ll.ForwardRef=u,Ll.Fragment=n,Ll.Lazy=f,Ll.Memo=h,Ll.Portal=r,Ll.Profiler=i,Ll.StrictMode=o,Ll.Suspense=d,Ll.isAsyncMode=function(e){return x(e)||y(e)===l},Ll.isConcurrentMode=x,Ll.isContextConsumer=function(e){return y(e)===s},Ll.isContextProvider=function(e){return y(e)===a},Ll.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===t},Ll.isForwardRef=function(e){return y(e)===u},Ll.isFragment=function(e){return y(e)===n},Ll.isLazy=function(e){return y(e)===f},Ll.isMemo=function(e){return y(e)===h},Ll.isPortal=function(e){return y(e)===r},Ll.isProfiler=function(e){return y(e)===i},Ll.isStrictMode=function(e){return y(e)===o},Ll.isSuspense=function(e){return y(e)===d},Ll.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===n||e===c||e===i||e===o||e===d||e===p||"object"==typeof e&&null!==e&&(e.$$typeof===f||e.$$typeof===h||e.$$typeof===a||e.$$typeof===s||e.$$typeof===u||e.$$typeof===g||e.$$typeof===b||e.$$typeof===v||e.$$typeof===m)},Ll.typeOf=y,Ll}()),Il.exports}var Fl=function(){if(Dl)return Ol;Dl=1;var e=Vl(),t={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},r={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},n={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},o={};function i(r){return e.isMemo(r)?n:o[r.$$typeof]||t}o[e.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},o[e.Memo]=n;var a=Object.defineProperty,s=Object.getOwnPropertyNames,l=Object.getOwnPropertySymbols,c=Object.getOwnPropertyDescriptor,u=Object.getPrototypeOf,d=Object.prototype;return Ol=function e(t,n,o){if("string"!=typeof n){if(d){var p=u(n);p&&p!==d&&e(t,p,o)}var h=s(n);l&&(h=h.concat(l(n)));for(var f=i(t),m=i(n),g=0;g<h.length;++g){var b=h[g];if(!(r[b]||o&&o[b]||m&&m[b]||f&&f[b])){var v=c(n,b);try{a(t,b,v)}catch(y){}}}}return t}}();const Wl=k(Fl);function Nl(e,t,r){var n="";return r.split(" ").forEach(function(r){void 0!==e[r]?t.push(e[r]+";"):r&&(n+=r+" ")}),n}var Hl=function(e,t,r){var n=e.key+"-"+t.name;!1===r&&void 0===e.registered[n]&&(e.registered[n]=t.styles)},Ul=function(e,t,r){Hl(e,t,r);var n=e.key+"-"+t.name;if(void 0===e.inserted[t.name]){var o=t;do{e.insert(t===o?"."+n:"",o,e.sheet,!0),o=o.next}while(void 0!==o)}};var ql={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,scale:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},Xl=/[A-Z]|^ms/g,Yl=/_EMO_([^_]+?)_([^]*?)_EMO_/g,Gl=function(e){return 45===e.charCodeAt(1)},Zl=function(e){return null!=e&&"boolean"!=typeof e},Kl=Cl(function(e){return Gl(e)?e:e.replace(Xl,"-$&").toLowerCase()}),Jl=function(e,t){switch(e){case"animation":case"animationName":if("string"==typeof t)return t.replace(Yl,function(e,t,r){return ec={name:t,styles:r,next:ec},t})}return 1===ql[e]||Gl(e)||"number"!=typeof t||0===t?t:t+"px"};function Ql(e,t,r){if(null==r)return"";var n=r;if(void 0!==n.__emotion_styles)return n;switch(typeof r){case"boolean":return"";case"object":var o=r;if(1===o.anim)return ec={name:o.name,styles:o.styles,next:ec},o.name;var i=r;if(void 0!==i.styles){var a=i.next;if(void 0!==a)for(;void 0!==a;)ec={name:a.name,styles:a.styles,next:ec},a=a.next;return i.styles+";"}return function(e,t,r){var n="";if(Array.isArray(r))for(var o=0;o<r.length;o++)n+=Ql(e,t,r[o])+";";else for(var i in r){var a=r[i];if("object"!=typeof a){var s=a;null!=t&&void 0!==t[s]?n+=i+"{"+t[s]+"}":Zl(s)&&(n+=Kl(i)+":"+Jl(i,s)+";")}else if(!Array.isArray(a)||"string"!=typeof a[0]||null!=t&&void 0!==t[a[0]]){var l=Ql(e,t,a);switch(i){case"animation":case"animationName":n+=Kl(i)+":"+l+";";break;default:n+=i+"{"+l+"}"}}else for(var c=0;c<a.length;c++)Zl(a[c])&&(n+=Kl(i)+":"+Jl(i,a[c])+";")}return n}(e,t,r);case"function":if(void 0!==e){var s=ec,l=r(e);return ec=s,Ql(e,t,l)}}var c=r;if(null==t)return c;var u=t[c];return void 0!==u?u:c}var ec,tc=/label:\s*([^\s;{]+)\s*(;|$)/g;function rc(e,t,r){if(1===e.length&&"object"==typeof e[0]&&null!==e[0]&&void 0!==e[0].styles)return e[0];var n=!0,o="";ec=void 0;var i=e[0];null==i||void 0===i.raw?(n=!1,o+=Ql(r,t,i)):o+=i[0];for(var a=1;a<e.length;a++){if(o+=Ql(r,t,e[a]),n)o+=i[a]}tc.lastIndex=0;for(var s,l="";null!==(s=tc.exec(o));)l+="-"+s[1];var c=function(e){for(var t,r=0,n=0,o=e.length;o>=4;++n,o-=4)t=1540483477*(65535&(t=255&e.charCodeAt(n)|(255&e.charCodeAt(++n))<<8|(255&e.charCodeAt(++n))<<16|(255&e.charCodeAt(++n))<<24))+(59797*(t>>>16)<<16),r=1540483477*(65535&(t^=t>>>24))+(59797*(t>>>16)<<16)^1540483477*(65535&r)+(59797*(r>>>16)<<16);switch(o){case 3:r^=(255&e.charCodeAt(n+2))<<16;case 2:r^=(255&e.charCodeAt(n+1))<<8;case 1:r=1540483477*(65535&(r^=255&e.charCodeAt(n)))+(59797*(r>>>16)<<16)}return(((r=1540483477*(65535&(r^=r>>>13))+(59797*(r>>>16)<<16))^r>>>15)>>>0).toString(36)}(o)+l;return{name:c,styles:o,next:ec}}var nc,oc,ic=!!v.useInsertionEffect&&v.useInsertionEffect,ac=ic||function(e){return e()},sc=ic||b.useLayoutEffect,lc=b.createContext("undefined"!=typeof HTMLElement?Rl({key:"css"}):null),cc=lc.Provider,uc=function(e){return b.forwardRef(function(t,r){var n=b.useContext(lc);return e(t,n,r)})},dc=b.createContext({}),pc=kl(function(e){return kl(function(t){return function(e,t){return"function"==typeof t?t(e):Bl({},e,t)}(e,t)})}),hc=function(e){var t=b.useContext(dc);return e.theme!==t&&(t=pc(t)(e.theme)),b.createElement(dc.Provider,{value:t},e.children)},fc={}.hasOwnProperty,mc="__EMOTION_TYPE_PLEASE_DO_NOT_USE__",gc=function(e){var t=e.cache,r=e.serialized,n=e.isStringTag;return Hl(t,r,n),ac(function(){return Ul(t,r,n)}),null},bc=uc(function(e,t,r){var n=e.css;"string"==typeof n&&void 0!==t.registered[n]&&(n=t.registered[n]);var o=e[mc],i=[n],a="";"string"==typeof e.className?a=Nl(t.registered,i,e.className):null!=e.className&&(a=e.className+" ");var s=rc(i,void 0,b.useContext(dc));a+=t.key+"-"+s.name;var l={};for(var c in e)fc.call(e,c)&&"css"!==c&&c!==mc&&(l[c]=e[c]);return l.className=a,r&&(l.ref=r),b.createElement(b.Fragment,null,b.createElement(gc,{cache:t,serialized:s,isStringTag:"string"==typeof o}),b.createElement(o,l))}),vc=function(e,t){var r=arguments;
1if(null==t||!fc.call(t,"css"))return b.createElement.apply(void 0,r);var n=r.length,o=new Array(n);o[0]=bc,o[1]=function(e,t){var r={};for(var n in t)fc.call(t,n)&&(r[n]=t[n]);return r[mc]=e,r}(e,t);for(var i=2;i<n;i++)o[i]=r[i];return b.createElement.apply(null,o)};nc=vc||(vc={}),oc||(oc=nc.JSX||(nc.JSX={}));var yc=uc(function(e,t){var r=rc([e.styles],void 0,b.useContext(dc)),n=b.useRef();return sc(function(){var e=t.key+"-global",o=new t.sheet.constructor({key:e,nonce:t.sheet.nonce,container:t.sheet.container,speedy:t.sheet.isSpeedy}),i=!1,a=document.querySelector('style[data-emotion="'+e+" "+r.name+'"]');return t.sheet.tags.length&&(o.before=t.sheet.tags[0]),null!==a&&(i=!0,a.setAttribute("data-emotion",e),o.hydrate([a])),n.current=[o,i],function(){o.flush()}},[t]),sc(function(){var e=n.current,o=e[0];if(e[1])e[1]=!1;else{if(void 0!==r.next&&Ul(t,r.next,!0),o.tags.length){var i=o.tags[o.tags.length-1].nextElementSibling;o.before=i,o.flush()}t.insert("",r,o,!1)}},[t,r.name]),null});function xc(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return rc(t)}function wc(){var e=xc.apply(void 0,arguments),t="animation-"+e.name;return{name:t,styles:"@keyframes "+t+"{"+e.styles+"}",anim:1,toString:function(){return"_EMO_"+this.name+"_"+this.styles+"_EMO_"}}}const Sc=b.createContext({});function kc(){const e=b.useContext(Sc);if(void 0===e)throw new Error("useColorMode must be used within a ColorModeProvider");return e}function Cc(e,t){const{colorMode:r}=kc();return"dark"===r?t:e}Sc.displayName="ColorModeContext";const _c="chakra-ui-light",Pc="chakra-ui-dark";const Ec=(Ac="chakra-ui-color-mode",{ssr:!1,type:"localStorage",get(e){if(!(null==globalThis?void 0:globalThis.document))return e;let t;try{t=localStorage.getItem(Ac)||e}catch(r){}return t||e},set(e){try{localStorage.setItem(Ac,e)}catch(t){}}});var Ac;const Tc=()=>{},jc=Boolean(null==globalThis?void 0:globalThis.document)?b.useLayoutEffect:b.useEffect;function zc(e,t){return"cookie"===e.type&&e.ssr?e.get(t):t}const Rc=function(e){const{value:t,children:r,options:{useSystemColorMode:n,initialColorMode:o,disableTransitionOnChange:i}={},colorModeManager:a=Ec}=e,s=b.useContext(lc),l="dark"===o?"dark":"light",[c,u]=b.useState(()=>zc(a,l)),[d,p]=b.useState(()=>zc(a)),{getSystemTheme:h,setClassName:f,setDataset:m,addListener:g}=b.useMemo(()=>function(e={}){const{preventTransition:t=!0,nonce:r}=e,n={setDataset:e=>{const r=t?n.preventTransition():void 0;document.documentElement.dataset.theme=e,document.documentElement.style.colorScheme=e,null==r||r()},setClassName(e){document.body.classList.add(e?Pc:_c),document.body.classList.remove(e?_c:Pc)},query:()=>window.matchMedia("(prefers-color-scheme: dark)"),getSystemTheme:e=>n.query().matches??"dark"===e?"dark":"light",addListener(e){const t=n.query(),r=t=>{e(t.matches?"dark":"light")};return"function"==typeof t.addListener?t.addListener(r):t.addEventListener("change",r),()=>{"function"==typeof t.removeListener?t.removeListener(r):t.removeEventListener("change",r)}},preventTransition(){const e=document.createElement("style");return e.appendChild(document.createTextNode("*{-webkit-transition:none!important;-moz-transition:none!important;-o-transition:none!important;-ms-transition:none!important;transition:none!important}")),void 0!==r&&(e.nonce=r),document.head.appendChild(e),()=>{window.getComputedStyle(document.body),requestAnimationFrame(()=>{requestAnimationFrame(()=>{document.head.removeChild(e)})})}}};return n}({preventTransition:i,nonce:null==s?void 0:s.nonce}),[i,null==s?void 0:s.nonce]),v="system"!==o||c?c:d,x=b.useCallback(e=>{const t="system"===e?h():e;u(t),f("dark"===t),m(t),a.set(t)},[a,h,f,m]);jc(()=>{"system"===o&&p(h())},[]),b.useEffect(()=>{const e=a.get();x(e||("system"!==o?l:"system"))},[a,l,o,x]);const w=b.useCallback(()=>{x("dark"===v?"light":"dark")},[v,x]);b.useEffect(()=>{if(n)return g(x)},[n,g,x]);const S=b.useMemo(()=>({colorMode:t??v,toggleColorMode:t?Tc:w,setColorMode:t?Tc:x,forced:void 0!==t}),[v,w,x,t]);return y.jsx(Sc.Provider,{value:S,children:r})};Rc.displayName="ColorModeProvider";const Bc=String.raw,Mc=Bc`
2  :root,
3  :host {
4    --chakra-vh: 100vh;
5  }
6
7  @supports (height: -webkit-fill-available) {
8    :root,
9    :host {
10      --chakra-vh: -webkit-fill-available;
11    }
12  }
13
14  @supports (height: -moz-fill-available) {
15    :root,
16    :host {
17      --chakra-vh: -moz-fill-available;
18    }
19  }
20
21  @supports (height: 100dvh) {
22    :root,
23    :host {
24      --chakra-vh: 100dvh;
25    }
26  }
27`,$c=()=>y.jsx(yc,{styles:Mc}),Oc=({scope:e=""})=>y.jsx(yc,{styles:Bc`
28      html {
29        line-height: 1.5;
30        -webkit-text-size-adjust: 100%;
31        font-family: system-ui, sans-serif;
32        -webkit-font-smoothing: antialiased;
33        text-rendering: optimizeLegibility;
34        -moz-osx-font-smoothing: grayscale;
35        touch-action: manipulation;
36      }
37
38      body {
39        position: relative;
40        min-height: 100%;
41        margin: 0;
42        font-feature-settings: "kern";
43      }
44
45      ${e} :where(*, *::before, *::after) {
46        border-width: 0;
47        border-style: solid;
48        box-sizing: border-box;
49        word-wrap: break-word;
50      }
51
52      main {
53        display: block;
54      }
55
56      ${e} hr {
57        border-top-width: 1px;
58        box-sizing: content-box;
59        height: 0;
60        overflow: visible;
61      }
62
63      ${e} :where(pre, code, kbd,samp) {
64        font-family: SFMono-Regular, Menlo, Monaco, Consolas, monospace;
65        font-size: 1em;
66      }
67
68      ${e} a {
69        background-color: transparent;
70        color: inherit;
71        text-decoration: inherit;
72      }
73
74      ${e} abbr[title] {
75        border-bottom: none;
76        text-decoration: underline;
77        -webkit-text-decoration: underline dotted;
78        text-decoration: underline dotted;
79      }
80
81      ${e} :where(b, strong) {
82        font-weight: bold;
83      }
84
85      ${e} small {
86        font-size: 80%;
87      }
88
89      ${e} :where(sub,sup) {
90        font-size: 75%;
91        line-height: 0;
92        position: relative;
93        vertical-align: baseline;
94      }
95
96      ${e} sub {
97        bottom: -0.25em;
98      }
99
100      ${e} sup {
101        top: -0.5em;
102      }
103
104      ${e} img {
105        border-style: none;
106      }
107
108      ${e} :where(button, input, optgroup, select, textarea) {
109        font-family: inherit;
110        font-size: 100%;
111        line-height: 1.15;
112        margin: 0;
113      }
114
115      ${e} :where(button, input) {
116        overflow: visible;
117      }
118
119      ${e} :where(button, select) {
120        text-transform: none;
121      }
122
123      ${e} :where(
124          button::-moz-focus-inner,
125          [type="button"]::-moz-focus-inner,
126          [type="reset"]::-moz-focus-inner,
127          [type="submit"]::-moz-focus-inner
128        ) {
129        border-style: none;
130        padding: 0;
131      }
132
133      ${e} fieldset {
134        padding: 0.35em 0.75em 0.625em;
135      }
136
137      ${e} legend {
138        box-sizing: border-box;
139        color: inherit;
140        display: table;
141        max-width: 100%;
142        padding: 0;
143        white-space: normal;
144      }
145
146      ${e} progress {
147        vertical-align: baseline;
148      }
149
150      ${e} textarea {
151        overflow: auto;
152      }
153
154      ${e}
154 :where([type="checkbox"], [type="radio"]) {
155        box-sizing: border-box;
156        padding: 0;
157      }
158
159      ${e} input[type="number"]::-webkit-inner-spin-button,
160      ${e} input[type="number"]::-webkit-outer-spin-button {
161        -webkit-appearance: none !important;
162      }
163
164      ${e} input[type="number"] {
165        -moz-appearance: textfield;
166      }
167
168      ${e} input[type="search"] {
169        -webkit-appearance: textfield;
170        outline-offset: -2px;
171      }
172
173      ${e} input[type="search"]::-webkit-search-decoration {
174        -webkit-appearance: none !important;
175      }
176
177      ${e} ::-webkit-file-upload-button {
178        -webkit-appearance: button;
179        font: inherit;
180      }
181
182      ${e} details {
183        display: block;
184      }
185
186      ${e} summary {
187        display: list-item;
188      }
189
190      template {
191        display: none;
192      }
193
194      [hidden] {
195        display: none !important;
196      }
197
198      ${e} :where(
199          blockquote,
200          dl,
201          dd,
202          h1,
203          h2,
204          h3,
205          h4,
206          h5,
207          h6,
208          hr,
209          figure,
210          p,
211          pre
212        ) {
213        margin: 0;
214      }
215
216      ${e} button {
217        background: transparent;
218        padding: 0;
219      }
220
221      ${e} fieldset {
222        margin: 0;
223        padding: 0;
224      }
225
226      ${e} :where(ol, ul) {
227        margin: 0;
228        padding: 0;
229      }
230
231      ${e} textarea {
232        resize: vertical;
233      }
234
235      ${e} :where(button, [role="button"]) {
236        cursor: pointer;
237      }
238
239      ${e} button::-moz-focus-inner {
240        border: 0 !important;
241      }
242
243      ${e} table {
244        border-collapse: collapse;
245      }
246
247      ${e} :where(h1, h2, h3, h4, h5, h6) {
248        font-size: inherit;
249        font-weight: inherit;
250      }
251
252      ${e} :where(button, input, optgroup, select, textarea) {
253        padding: 0;
254        line-height: inherit;
255        color: inherit;
256      }
257
258      ${e} :where(img, svg, video, canvas, audio, iframe, embed, object) {
259        display: block;
260      }
261
262      ${e} :where(img, video) {
263        max-width: 100%;
264        height: auto;
265      }
266
267      [data-js-focus-visible]
268        :focus:not([data-focus-visible-added]):not(
269          [data-focus-visible-disabled]
270        ) {
271        outline: none;
272        box-shadow: none;
273      }
274
275      ${e} select::-ms-expand {
276        display: none;
277      }
278
279      ${Mc}
280    `});function Dc(e){const{cssVarsRoot:t,theme:r,children:n}=e,o=b.useMemo(()=>Vt(r),[r]);return y.jsxs(hc,{theme:o,children:[y.jsx(Ic,{root:t}),n]})}function Ic({root:e=":host, :root"}){const t=[e,"[data-theme]"].join(",");return y.jsx(yc,{styles:e=>({[t]:e.__cssVars})})}function Lc(e){return N({name:`${e}StylesContext`,errorMessage:`useStyles: "styles" is undefined. Seems you forgot to wrap the components in "<${e} />" `})}function Vc(){const{colorMode:e}=kc();return y.jsx(yc,{styles:t=>{const r=Y(U(t,"styles.global"),{theme:t,colorMode:e});if(!r)return;return yt(r)(t)}})}N({name:"StylesContext",errorMessage:"useStyles: `styles` is undefined. Seems you forgot to wrap the components in `<StylesProvider />` "});const[Fc,Wc]=N({strict:!1,name:"PortalManagerContext"});function Nc(e){const{children:t,zIndex:r}=e;return y.jsx(Fc,{value:{zIndex:r},children:t})}Nc.displayName="PortalManager";const Hc=b.createContext({getDocument:()=>document,getWindow:()=>window});function Uc({defer:e}={}){const[,t]=b.useReducer(e=>e+1,0);return oe(()=>{e&&t()},[e]),b.useContext(Hc)}function qc(e){const{children:t,environment:r,disabled:n}=e,o=b.useRef(null),i=b.useMemo(()=>r||{getDocument:()=>{var e;return(null==(e=o.current)?void 0:e.ownerDocument)??document},getWindow:()=>{var e;return(null==(e=o.current)?void 0:e.ownerDocument.defaultView)??window}},[r]),a=!n||!r;return y.jsxs(Hc.Provider,{value:i,children:[t,a&&y.jsx("span",{id:"__chakra_env",hidden:!0,ref:o})]})}Hc.displayName="EnvironmentContext",qc.displayName="EnvironmentProvider";const Xc=e=>{const{children:t,colorModeManager:r,portalZIndex:n,resetScope:o,resetCSS:i=!0,theme:a={},environment:s,cssVarsRoot:l,disableEnvironment:c,disableGlobalStyle:u}
280=e,d=y.jsx(qc,{environment:s,disabled:c,children:t});return y.jsx(Dc,{theme:a,cssVarsRoot:l,children:y.jsxs(Rc,{colorModeManager:r,options:a.config,children:[i?y.jsx(Oc,{scope:o}):y.jsx($c,{}),!u&&y.jsx(Vc,{}),n?y.jsx(Nc,{zIndex:n,children:d}):d]})})},Yc=b.createContext({transformPagePoint:e=>e,isStatic:!1,reducedMotion:"never"}),Gc=b.createContext({}),Zc=b.createContext(null),Kc="undefined"!=typeof document,Jc=Kc?b.useLayoutEffect:b.useEffect,Qc=b.createContext({strict:!1}),eu=e=>e.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase(),tu="data-"+eu("framerAppearId");function ru(e){return e&&"object"==typeof e&&Object.prototype.hasOwnProperty.call(e,"current")}function nu(e){return"string"==typeof e||Array.isArray(e)}function ou(e){return null!==e&&"object"==typeof e&&"function"==typeof e.start}const iu=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],au=["initial",...iu];function su(e){return ou(e.animate)||au.some(t=>nu(e[t]))}function lu(e){return Boolean(su(e)||e.variants)}function cu(e){const{initial:t,animate:r}=function(e,t){if(su(e)){const{initial:t,animate:r}=e;return{initial:!1===t||nu(t)?t:void 0,animate:nu(r)?r:void 0}}return!1!==e.inherit?t:{}}(e,b.useContext(Gc));return b.useMemo(()=>({initial:t,animate:r}),[uu(t),uu(r)])}function uu(e){return Array.isArray(e)?e.join(" "):e}const du={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"]},pu={};for(const xx in du)pu[xx]={isEnabled:e=>du[xx].some(t=>!!e[t])};const hu=b.createContext({}),fu=b.createContext({}),mu=Symbol.for("motionComponentSymbol");function gu({preloadedFeatures:e,createVisualElement:t,useRender:r,useVisualState:n,Component:o}){e&&function(e){for(const t in e)pu[t]={...pu[t],...e[t]}}(e);const i=b.forwardRef(function(i,a){let s;const l={...b.useContext(Yc),...i,layoutId:bu(i)},{isStatic:c}=l,u=cu(i),d=n(i,c);if(!c&&Kc){u.visualElement=function(e,t,r,n){const{visualElement:o}=b.useContext(Gc),i=b.useContext(Qc),a=b.useContext(Zc),s=b.useContext(Yc).reducedMotion,l=b.useRef();n=n||i.renderer,!l.current&&n&&(l.current=n(e,{visualState:t,parent:o,props:r,presenceContext:a,blockInitialAnimation:!!a&&!1===a.initial,reducedMotionConfig:s}));const c=l.current;b.useInsertionEffect(()=>{c&&c.update(r,a)});const u=b.useRef(Boolean(r[tu]&&!window.HandoffComplete));return Jc(()=>{c&&(c.render(),u.current&&c.animationState&&c.animationState.animateChanges())}),b.useEffect(()=>{c&&(c.updateFeatures(),!u.current&&c.animationState&&c.animationState.animateChanges(),u.current&&(u.current=!1,window.HandoffComplete=!0))}),c}(o,d,l,t);const r=b.useContext(fu),n=b.useContext(Qc).strict;u.visualElement&&(s=u.visualElement.loadFeatures(l,n,e,r))}return b.createElement(Gc.Provider,{value:u},s&&u.visualElement?b.createElement(s,{visualElement:u.visualElement,...l}):null,r(o,i,function(e,t,r){return b.useCallback(n=>{n&&e.mount&&e.mount(n),t&&(n?t.mount(n):t.unmount()),r&&("function"==typeof r?r(n):ru(r)&&(r.current=n))},[t])}(d,u.visualElement,a),d,c,u.visualElement))});return i[mu]=o,i}function bu({layoutId:e}){const t=b.useContext(hu).id;return t&&void 0!==e?t+"-"+e:e}function vu(e){function t(t,r={}){return gu(e(t,r))}if("undefined"==typeof Proxy)return t;const r=new Map;return new Proxy(t,{get:(e,n)=>(r.has(n)||r.set(n,t(n)),r.get(n))})}const yu=["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 xu(e){return"string"==typeof e&&!e.includes("-")&&!!(yu.indexOf(e)>-1||/[A-Z]/.test(e))}const wu={};const Su=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],ku=new Set(Su);function Cu(e,{layout:t,layoutId:r}){return ku.has(e)||e.startsWith("origin")||(t||void 0!==r)&&(!!wu[e]||"opacity"===e)}const _u=e=>Boolean(e&&e.getVelocity),Pu={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},Eu=Su.length;const Au=e=>t=>"string"==typeof t&&t.startsWith(e),Tu=Au("--"),ju=Au("var(--"),zu=(e,t)=>
vendor: 4,148 bytes, line 280
280t&&"number"==typeof e?t.transform(e):e,Ru=(e,t,r)=>Math.min(Math.max(r,e),t),Bu={test:e=>"number"==typeof e,parse:parseFloat,transform:e=>e},Mu={...Bu,transform:e=>Ru(0,1,e)},$u={...Bu,default:1},Ou=e=>Math.round(1e5*e)/1e5,Du=/(-)?([\d]*\.?[\d])+/g,Iu=/(#[0-9a-f]{3,8}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2}(-?[\d\.]+%?)\s*[\,\/]?\s*[\d\.]*%?\))/gi,Lu=/^(#[0-9a-f]{3,8}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2}(-?[\d\.]+%?)\s*[\,\/]?\s*[\d\.]*%?\))$/i;function Vu(e){return"string"==typeof e}const Fu=e=>({test:t=>Vu(t)&&t.endsWith(e)&&1===t.split(" ").length,parse:parseFloat,transform:t=>`${t}${e}`}),Wu=Fu("deg"),Nu=Fu("%"),Hu=Fu("px"),Uu=Fu("vh"),qu=Fu("vw"),Xu={...Nu,parse:e=>Nu.parse(e)/100,transform:e=>Nu.transform(100*e)},Yu={...Bu,transform:Math.round},Gu={borderWidth:Hu,borderTopWidth:Hu,borderRightWidth:Hu,borderBottomWidth:Hu,borderLeftWidth:Hu,borderRadius:Hu,radius:Hu,borderTopLeftRadius:Hu,borderTopRightRadius:Hu,borderBottomRightRadius:Hu,borderBottomLeftRadius:Hu,width:Hu,maxWidth:Hu,height:Hu,maxHeight:Hu,size:Hu,top:Hu,right:Hu,bottom:Hu,left:Hu,padding:Hu,paddingTop:Hu,paddingRight:Hu,paddingBottom:Hu,paddingLeft:Hu,margin:Hu,marginTop:Hu,marginRight:Hu,marginBottom:Hu,marginLeft:Hu,rotate:Wu,rotateX:Wu,rotateY:Wu,rotateZ:Wu,scale:$u,scaleX:$u,scaleY:$u,scaleZ:$u,skew:Wu,skewX:Wu,skewY:Wu,distance:Hu,translateX:Hu,translateY:Hu,translateZ:Hu,x:Hu,y:Hu,z:Hu,perspective:Hu,transformPerspective:Hu,opacity:Mu,originX:Xu,originY:Xu,originZ:Hu,zIndex:Yu,fillOpacity:Mu,strokeOpacity:Mu,numOctaves:Yu};function Zu(e,t,r,n){const{style:o,vars:i,transform:a,transformOrigin:s}=e;let l=!1,c=!1,u=!0;for(const d in t){const e=t[d];if(Tu(d)){i[d]=e;continue}const r=Gu[d],n=zu(e,r);if(ku.has(d)){if(l=!0,a[d]=n,!u)continue;e!==(r.default||0)&&(u=!1)}else d.startsWith("origin")?(c=!0,s[d]=n):o[d]=n}if(t.transform||(l||n?o.transform=function(e,{enableHardwareAcceleration:t=!0,allowTransformNone:r=!0},n,o){let i="";for(let a=0;a<Eu;a++){const t=Su[a];void 0!==e[t]&&(i+=`${Pu[t]||t}(${e[t]}) `)}return t&&!e.z&&(i+="translateZ(0)"),i=i.trim(),o?i=o(e,n?"":i):r&&n&&(i="none"),i}(e.transform,r,u,n):o.transform&&(o.transform="none")),c){const{originX:e="50%",originY:t="50%",originZ:r=0}=s;o.transformOrigin=`${e} ${t} ${r}`}}const Ku=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function Ju(e,t,r){for(const n in t)_u(t[n])||Cu(n,r)||(e[n]=t[n])}function Qu(e,t,r){const n={};return Ju(n,e.style||{},e),Object.assign(n,function({transformTemplate:e},t,r){return b.useMemo(()=>{const n={style:{},transform:{},transformOrigin:{},vars:{}};return Zu(n,t,{enableHardwareAcceleration:!r},e),Object.assign({},n.vars,n.style)},[t])}(e,t,r)),e.transformValues?e.transformValues(n):n}function ed(e,t,r){const n={},o=Qu(e,t,r);return e.drag&&!1!==e.dragListener&&(n.draggable=!1,o.userSelect=o.WebkitUserSelect=o.WebkitTouchCallout="none",o.touchAction=!0===e.drag?"none":"pan-"+("x"===e.drag?"y":"x")),void 0===e.tabIndex&&(e.onTap||e.onTapStart||e.whileTap)&&(n.tabIndex=0),n.style=o,n}const td=new Set(["animate","exit","variants","initial","style","values","variants","transition","transformTemplate","transformValues","custom","inherit","onBeforeLayoutMeasure","onAnimationStart","onAnimationComplete","onUpdate","onDragStart","onDrag","onDragEnd","onMeasureDragConstraints","onDirectionLock","onDragTransitionEnd","_dragX","_dragY","onHoverStart","onHoverEnd","onViewportEnter","onViewportLeave","globalTapTarget","ignoreStrict","viewport"]);function rd(e){return e.startsWith("while")||e.startsWith("drag")&&"draggable"!==e||e.startsWith("layout")||e.startsWith("onTap")||e.startsWith("onPan")||e.startsWith("onLayout")||td.has(e)}let nd=e=>!rd(e);try{(od=require("@emotion/is-prop-valid").default)&&(nd=e=>e.startsWith("on")?!rd(e):od(e))}catch(yx){}var od;function id(e,t,r){return"string"==typeof e?e:Hu.transform(t+r*e)}const ad={offset:"stroke-dashoffset",array:"stroke-dasharray"},sd={offset:"strokeDashoffset",array:"strokeDasharray"};function ld(e,{attrX:t,attrY:r,attrScale:n,originX:o,originY:i,pathLength:a,pathSpacing:s=1,pathOffset:l=0,...c},u,d,p){if(Zu(e,c,u,p),d)return void(e.style.viewBox&&(e.attrs.viewB
280ox=e.style.viewBox));e.attrs=e.style,e.style={};const{attrs:h,style:f,dimensions:m}=e;h.transform&&(m&&(f.transform=h.transform),delete h.transform),m&&(void 0!==o||void 0!==i||f.transform)&&(f.transformOrigin=function(e,t,r){return`${id(t,e.x,e.width)} ${id(r,e.y,e.height)}`}(m,void 0!==o?o:.5,void 0!==i?i:.5)),void 0!==t&&(h.x=t),void 0!==r&&(h.y=r),void 0!==n&&(h.scale=n),void 0!==a&&function(e,t,r=1,n=0,o=!0){e.pathLength=1;const i=o?ad:sd;e[i.offset]=Hu.transform(-n);const a=Hu.transform(t),s=Hu.transform(r);e[i.array]=`${a} ${s}`}(h,a,s,l,!1)}const cd=()=>({style:{},transform:{},transformOrigin:{},vars:{},attrs:{}}),ud=e=>"string"==typeof e&&"svg"===e.toLowerCase();function dd(e,t,r,n){const o=b.useMemo(()=>{const r={style:{},transform:{},transformOrigin:{},vars:{},attrs:{}};return ld(r,t,{enableHardwareAcceleration:!1},ud(n),e.transformTemplate),{...r.attrs,style:{...r.style}}},[t]);if(e.style){const t={};Ju(t,e.style,e),o.style={...t,...o.style}}return o}function pd(e=!1){return(t,r,n,{latestValues:o},i)=>{const a=(xu(t)?dd:ed)(r,o,i,t),s=function(e,t,r){const n={};for(const o in e)"values"===o&&"object"==typeof e.values||(nd(o)||!0===r&&rd(o)||!t&&!rd(o)||e.draggable&&o.startsWith("onDrag"))&&(n[o]=e[o]);return n}(r,"string"==typeof t,e),l={...s,...a,ref:n},{children:c}=r,u=b.useMemo(()=>_u(c)?c.get():c,[c]);return b.createElement(t,{...l,children:u})}}function hd(e,{style:t,vars:r},n,o){Object.assign(e.style,t,o&&o.getProjectionStyles(n));for(const i in r)e.style.setProperty(i,r[i])}const fd=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 md(e,t,r,n){hd(e,t,void 0,n);for(const o in t.attrs)e.setAttribute(fd.has(o)?o:eu(o),t.attrs[o])}function gd(e,t){const{style:r}=e,n={};for(const o in r)(_u(r[o])||t.style&&_u(t.style[o])||Cu(o,e))&&(n[o]=r[o]);return n}function bd(e,t){const r=gd(e,t);for(const n in e)if(_u(e[n])||_u(t[n])){r[-1!==Su.indexOf(n)?"attr"+n.charAt(0).toUpperCase()+n.substring(1):n]=e[n]}return r}function vd(e,t,r,n={},o={}){return"function"==typeof t&&(t=t(void 0!==r?r:e.custom,n,o)),"string"==typeof t&&(t=e.variants&&e.variants[t]),"function"==typeof t&&(t=t(void 0!==r?r:e.custom,n,o)),t}function yd(e){const t=b.useRef(null);return null===t.current&&(t.current=e()),t.current}const xd=e=>Array.isArray(e),wd=e=>xd(e)?e[e.length-1]||0:e;function Sd(e){const t=_u(e)?e.get():e;return r=t,Boolean(r&&"object"==typeof r&&r.mix&&r.toValue)?t.toValue():t;var r}const kd=e=>(t,r)=>{const n=b.useContext(Gc),o=b.useContext(Zc),i=()=>function({scrapeMotionValuesFromProps:e,createRenderState:t,onMount:r},n,o,i){const a={latestValues:Cd(n,o,i,e),renderState:t()};return r&&(a.mount=e=>r(n,e,a)),a}(e,t,n,o);return r?i():yd(i)};function Cd(e,t,r,n){const o={},i=n(e,{});for(const p in i)o[p]=Sd(i[p]);let{initial:a,animate:s}=e;const l=su(e),c=lu(e);t&&c&&!l&&!1!==e.inherit&&(void 0===a&&(a=t.initial),void 0===s&&(s=t.animate));let u=!!r&&!1===r.initial;u=u||!1===a;const d=u?s:a;if(d&&"boolean"!=typeof d&&!ou(d)){(Array.isArray(d)?d:[d]).forEach(t=>{const r=vd(e,t);if(!r)return;const{transitionEnd:n,transition:i,...a}=r;for(const e in a){let t=a[e];if(Array.isArray(t)){t=t[u?t.length-1:0]}null!==t&&(o[e]=t)}for(const e in n)o[e]=n[e]})}return o}const _d=e=>e;class Pd{constructor(){this.order=[],this.scheduled=new Set}add(e){if(!this.scheduled.has(e))return this.scheduled.add(e),this.order.push(e),!0}remove(e){const t=this.order.indexOf(e);-1!==t&&(this.order.splice(t,1),this.scheduled.delete(e))}clear(){this.order.length=0,this.scheduled.clear()}}const Ed=["prepare","read","update","preRender","render","postRender"];const{schedule:Ad,cancel:Td,state:jd,steps:zd}=function(e,t){let r=!1,n=!0;const o={delta:0,timestamp:0,isProcessing:!1},i=Ed.reduce((e,t)=>(e[t]=function(e){let t=new Pd,r=new Pd,n=0,o=!1,i=!1;const a=new WeakSet,s={schedule:(e,i=!1,s=!1)=>{const l=s&&o,c=l?t:r;return i&&a.add(e),c.add(e)&&l&&o&&(n=t.order.length),e},cancel:e=>{r.remove(e),a.delete(e)},process:l=>{if(o)i=!0;else{if(o=!0,[t,r]=[r,t],r.clear(),n=t.order.length,n)for(let r=0;r<n;r++){const n=t.order[r];n(l),a.has(n)&&(s.schedule(n),e())}o=!1,i&&(i=!1,s.process(l))}}};return s}(()=>r=!0),e),{}),a=e=>i[e].process(o),s=()=>{const i=performance.now();r=!1,o.delta=n?1e3/60:Math.max(Math.min(i-o.timestamp,40),1),o.timestamp=i,o.isProcessing=!0,Ed.forEac
280h(a),o.isProcessing=!1,r&&t&&(n=!1,e(s))},l=Ed.reduce((t,a)=>{const l=i[a];return t[a]=(t,i=!1,a=!1)=>(r||(r=!0,n=!0,o.isProcessing||e(s)),l.schedule(t,i,a)),t},{});return{schedule:l,cancel:e=>Ed.forEach(t=>i[t].cancel(e)),state:o,steps:i}}("undefined"!=typeof requestAnimationFrame?requestAnimationFrame:_d,!0),Rd={useVisualState:kd({scrapeMotionValuesFromProps:bd,createRenderState:cd,onMount:(e,t,{renderState:r,latestValues:n})=>{Ad.read(()=>{try{r.dimensions="function"==typeof t.getBBox?t.getBBox():t.getBoundingClientRect()}catch(e){r.dimensions={x:0,y:0,width:0,height:0}}}),Ad.render(()=>{ld(r,n,{enableHardwareAcceleration:!1},ud(t.tagName),e.transformTemplate),md(t,r)})}})},Bd={useVisualState:kd({scrapeMotionValuesFromProps:gd,createRenderState:Ku})};function Md(e,t,r,n={passive:!0}){return e.addEventListener(t,r,n),()=>e.removeEventListener(t,r)}const $d=e=>"mouse"===e.pointerType?"number"!=typeof e.button||e.button<=0:!1!==e.isPrimary;function Od(e,t="page"){return{point:{x:e[t+"X"],y:e[t+"Y"]}}}function Dd(e,t,r,n){return Md(e,t,(e=>t=>$d(t)&&e(t,Od(t)))(r),n)}const Id=(e,t)=>r=>t(e(r)),Ld=(...e)=>e.reduce(Id);function Vd(e){let t=null;return()=>{const r=()=>{t=null};return null===t&&(t=e,r)}}const Fd=Vd("dragHorizontal"),Wd=Vd("dragVertical");function Nd(e){let t=!1;if("y"===e)t=Wd();else if("x"===e)t=Fd();else{const e=Fd(),r=Wd();e&&r?t=()=>{e(),r()}
280:(e&&e(),r&&r())}return t}function Hd(){const e=Nd(!0);return!e||(e(),!1)}class Ud{constructor(e){this.isMounted=!1,this.node=e}update(){}}function qd(e,t){const r="pointer"+(t?"enter":"leave"),n="onHover"+(t?"Start":"End");return Dd(e.current,r,(r,o)=>{if("touch"===r.pointerType||Hd())return;const i=e.getProps();e.animationState&&i.whileHover&&e.animationState.setActive("whileHover",t),i[n]&&Ad.update(()=>i[n](r,o))},{passive:!e.getProps()[n]})}const Xd=(e,t)=>!!t&&(e===t||Xd(e,t.parentElement));function Yd(e,t){if(!t)return;const r=new PointerEvent("pointer"+e);t(r,Od(r))}const Gd=new WeakMap,Zd=new WeakMap,Kd=e=>{const t=Gd.get(e.target);t&&t(e)},Jd=e=>{e.forEach(Kd)};function Qd(e,t,r){const n=function({root:e,...t}){const r=e||document;Zd.has(r)||Zd.set(r,{});const n=Zd.get(r),o=JSON.stringify(t);return n[o]||(n[o]=new IntersectionObserver(Jd,{root:e,...t})),n[o]}(t);return Gd.set(e,r),n.observe(e),()=>{Gd.delete(e),n.unobserve(e)}}const ep={some:0,all:1};const tp={inView:{Feature:class extends Ud{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){this.unmount();const{viewport:e={}}=this.node.getProps(),{root:t,margin:r,amount:n="some",once:o}=e,i={root:t?t.current:void 0,rootMargin:r,threshold:"number"==typeof n?n:ep[n]};return Qd(this.node.current,i,e=>{const{isIntersecting:t}=e;if(this.isInView===t)return;if(this.isInView=t,o&&!t&&this.hasEnteredView)return;t&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",t);const{onViewportEnter:r,onViewportLeave:n}=this.node.getProps(),i=t?r:n;i&&i(e)})}mount(){this.startObserver()}update(){if("undefined"==typeof IntersectionObserver)return;const{props:e,prevProps:t}=this.node;["amount","margin","root"].some(function({viewport:e={}},{viewport:t={}}={}){return r=>e[r]!==t[r]}(e,t))&&this.startObserver()}unmount(){}}},tap:{Feature:class extends Ud{constructor(){super(...arguments),this.removeStartListeners=_d,this.removeEndListeners=_d,this.removeAccessibleListeners=_d,this.startPointerPress=(e,t)=>{if(this.isPressing)return;this.removeEndListeners();const r=this.node.getProps(),n=Dd(window,"pointerup",(e,t)=>{if(!this.checkPressEnd())return;const{onTap:r,onTapCancel:n,globalTapTarget:o}=this.node.getProps();Ad.update(()=>{o||Xd(this.node.current,e.target)?r&&r(e,t):n&&n(e,t)})},{passive:!(r.onTap||r.onPointerUp)}),o=Dd(window,"pointercancel",(e,t)=>this.cancelPress(e,t),{passive:!(r.onTapCancel||r.onPointerCancel)});this.removeEndListeners=Ld(n,o),this.startPress(e,t)},this.startAccessiblePress=()=>{const e=Md(this.node.current,"keydown",e=>{if("Enter"!==e.key||this.isPressing)return;this.removeEndListeners(),this.removeEndListeners=Md(this.node.current,"keyup",e=>{"Enter"===e.key&&this.checkPressEnd()&&Yd("up",(e,t)=>{const{onTap:r}=this.node.getProps();r&&Ad.update(()=>r(e,t))})}),Yd("down",(e,t)=>{this.startPress(e,t)})}),t=Md(this.node.current,"blur",()=>{this.isPressing&&Yd("cancel",(e,t)=>this.cancelPress(e,t))});this.removeAccessibleListeners=Ld(e,t)}}startPress(e,t){this.isPressing=!0;const{onTapStart:r,whileTap:n}=this.node.getProps();n&&this.node.animationState&&this.node.animationState.setActive("whileTap",!0),r&&Ad.update(()=>r(e,t))}checkPressEnd(){this.removeEndListeners(),this.isPressing=!1;return this.node.getProps().whileTap&&this.node.animationState&&this.node.animationState.setActive("whileTap",!1),!Hd()}cancelPress(e,t){if(!this.checkPressEnd())return;const{onTapCancel:r}=this.node.getProps();r&&Ad.update(()=>r(e,t))}mount(){const e=this.node.getProps(),t=Dd(e.globalTapTarget?window:this.node.current,"pointerdown",this.startPointerPress,{passive:!(e.onTapStart||e.onPointerStart)}),r=Md(this.node.current,"focus",this.startAccessiblePress);this.removeStartListeners=Ld(t,r)}unmount(){this.removeStartListeners(),this.removeEndListeners(),this.removeAccessibleListeners()}}},focus:{Feature:class extends Ud{constructor(){super(...arguments),this.isActive=!1}onFocus(){let e=!1;try{e=this.node.current.matches(":focus-visible")}catch(t){e=!0}e&&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=Ld(Md(this.node.current,"focus",()=>this.onFocus()),Md(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}},hover:{Feature:class extends Ud{mount(){this.unmount=Ld(qd(this.node,!0),qd(this.node,!1))}unmount(){}}}};function rp(e,t){if(!Array.isArray(t))return!1;const r=t.length;if(r!==e.length)return!1;for(let n=0;n<r;n++)if(t[n]!==e[n])return!1;return!0}function np(e,t,r){const n=e.getProps();return vd(n,t,void 0!==r?r:n.custom,function(e){const t={};
vendor: 3,567 bytes, line 280
280return e.values.forEach((e,r)=>t[r]=e.get()),t}(e),function(e){const t={};return e.values.forEach((e,r)=>t[r]=e.getVelocity()),t}(e))}let op=_d;const ip=e=>1e3*e,ap=e=>e/1e3,sp=!1,lp=e=>Array.isArray(e)&&"number"==typeof e[0];function cp(e){return Boolean(!e||"string"==typeof e&&dp[e]||lp(e)||Array.isArray(e)&&e.every(cp))}const up=([e,t,r,n])=>`cubic-bezier(${e}, ${t}, ${r}, ${n})`,dp={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:up([0,.65,.55,1]),circOut:up([.55,0,1,.45]),backIn:up([.31,.01,.66,-.59]),backOut:up([.33,1.53,.69,.99])};function pp(e){if(e)return lp(e)?up(e):Array.isArray(e)?e.map(pp):dp[e]}const hp=(e,t,r)=>(((1-3*r+3*t)*e+(3*r-6*t))*e+3*t)*e;function fp(e,t,r,n){if(e===t&&r===n)return _d;const o=t=>function(e,t,r,n,o){let i,a,s=0;do{a=t+(r-t)/2,i=hp(a,n,o)-e,i>0?r=a:t=a}while(Math.abs(i)>1e-7&&++s<12);return a}(t,0,1,e,r);return e=>0===e||1===e?e:hp(o(e),t,n)}const mp=fp(.42,0,1,1),gp=fp(0,0,.58,1),bp=fp(.42,0,.58,1),vp=e=>Array.isArray(e)&&"number"!=typeof e[0],yp=e=>t=>t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2,xp=e=>t=>1-e(1-t),wp=e=>1-Math.sin(Math.acos(e)),Sp=xp(wp),kp=yp(wp),Cp=fp(.33,1.53,.69,.99),_p=xp(Cp),Pp=yp(_p),Ep={linear:_d,easeIn:mp,easeInOut:bp,easeOut:gp,circIn:wp,circInOut:kp,circOut:Sp,backIn:_p,backInOut:Pp,backOut:Cp,anticipate:e=>(e*=2)<1?.5*_p(e):.5*(2-Math.pow(2,-10*(e-1)))},Ap=e=>{if(Array.isArray(e)){op(4===e.length);const[t,r,n,o]=e;return fp(t,r,n,o)}return"string"==typeof e?Ep[e]:e},Tp=(e,t)=>r=>Boolean(Vu(r)&&Lu.test(r)&&r.startsWith(e)||t&&Object.prototype.hasOwnProperty.call(r,t)),jp=(e,t,r)=>n=>{if(!Vu(n))return n;const[o,i,a,s]=n.match(Du);return{[e]:parseFloat(o),[t]:parseFloat(i),[r]:parseFloat(a),alpha:void 0!==s?parseFloat(s):1}},zp={...Bu,transform:e=>Math.round((e=>Ru(0,255,e))(e))},Rp={test:Tp("rgb","red"),parse:jp("red","green","blue"),transform:({red:e,green:t,blue:r,alpha:n=1})=>"rgba("+zp.transform(e)+", "+zp.transform(t)+", "+zp.transform(r)+", "+Ou(Mu.transform(n))+")"};const Bp={test:Tp("#"),parse:function(e){let t="",r="",n="",o="";return e.length>5?(t=e.substring(1,3),r=e.substring(3,5),n=e.substring(5,7),o=e.substring(7,9)):(t=e.substring(1,2),r=e.substring(2,3),n=e.substring(3,4),o=e.substring(4,5),t+=t,r+=r,n+=n,o+=o),{red:parseInt(t,16),green:parseInt(r,16),blue:parseInt(n,16),alpha:o?parseInt(o,16)/255:1}},transform:Rp.transform},Mp={test:Tp("hsl","hue"),parse:jp("hue","saturation","lightness"),transform:({hue:e,saturation:t,lightness:r,alpha:n=1})=>"hsla("+Math.round(e)+", "+Nu.transform(Ou(t))+", "+Nu.transform(Ou(r))+", "+Ou(Mu.transform(n))+")"},$p={test:e=>Rp.test(e)||Bp.test(e)||Mp.test(e),parse:e=>Rp.test(e)?Rp.parse(e):Mp.test(e)?Mp.parse(e):Bp.parse(e),transform:e=>Vu(e)?e:e.hasOwnProperty("red")?Rp.transform(e):Mp.transform(e)},Op=(e,t,r)=>-r*e+r*t+e;function Dp(e,t,r){return r<0&&(r+=1),r>1&&(r-=1),r<1/6?e+6*(t-e)*r:r<.5?t:r<2/3?e+(t-e)*(2/3-r)*6:e}const Ip=(e,t,r)=>{const n=e*e;return Math.sqrt(Math.max(0,r*(t*t-n)+n))},Lp=[Bp,Rp,Mp];function Vp(e){const t=(r=e,Lp.find(e=>e.test(r)));var r;let n=t.parse(e);return t===Mp&&(n=function({hue:e,saturation:t,lightness:r,alpha:n}){e/=360,r/=100;let o=0,i=0,a=0;if(t/=100){const n=r<.5?r*(1+t):r+t-r*t,s=2*r-n;o=Dp(s,n,e+1/3),i=Dp(s,n,e),a=Dp(s,n,e-1/3)}else o=i=a=r;return{red:Math.round(255*o),green:Math.round(255*i),blue:Math.round(255*a),alpha:n}}(n)),n}const Fp=(e,t)=>{const r=Vp(e),n=Vp(t),o={...r};return e=>(o.red=Ip(r.red,n.red,e),o.green=Ip(r.green,n.green,e),o.blue=Ip(r.blue,n.blue,e),o.alpha=Op(r.alpha,n.alpha,e),Rp.transform(o))};
280const Wp={regex:/var\s*\(\s*--[\w-]+(\s*,\s*(?:(?:[^)(]|\((?:[^)(]+|\([^)(]*\))*\))*)+)?\s*\)/g,countKey:"Vars",token:"${v}",parse:_d},Np={regex:Iu,countKey:"Colors",token:"${c}",parse:$p.parse},Hp={regex:Du,countKey:"Numbers",token:"${n}",parse:Bu.parse};function Up(e,{regex:t,countKey:r,token:n,parse:o}){const i=e.tokenised.match(t);i&&(e["num"+r]=i.length,e.tokenised=e.tokenised.replace(t,n),e.values.push(...i.map(o)))}function qp(e){const t=e.toString(),r={value:t,tokenised:t,values:[],numVars:0,numColors:0,numNumbers:0};return r.value.includes("var(--")&&Up(r,Wp),Up(r,Np),Up(r,Hp),r}function Xp(e){return qp(e).values}function Yp(e){const{values:t,numColors:r,numVars:n,tokenised:o}=qp(e),i=t.length;return e=>{let t=o;for(let o=0;o<i;o++)t=o<n?t.replace(Wp.token,e[o]):o<n+r?t.replace(Np.token,$p.transform(e[o])):t.replace(Hp.token,Ou(e[o]));return t}}const Gp=e=>"number"==typeof e?0:e;const Zp={test:function(e){var t,r;return isNaN(e)&&Vu(e)&&((null===(t=e.match(Du))||void 0===t?void 0:t.length)||0)+((null===(r=e.match(Iu))||void 0===r?void 0:r.length)||0)>0},parse:Xp,createTransformer:Yp,getAnimatableNone:function(e){const t=Xp(e);return Yp(e)(t.map(Gp))}},Kp=(e,t)=>r=>`${r>0?t:e}`;function Jp(e,t){return"number"==typeof e?r=>Op(e,t,r):$p.test(e)?Fp(e,t):e.startsWith("var(")?Kp(e,t):th(e,t)}const Qp=(e,t)=>{const r=[...e],n=r.length,o=e.map((e,r)=>Jp(e,t[r]));return e=>{for(let t=0;t<n;t++)r[t]=o[t](e);return r}},eh=(e,t)=>{const r={...e,...t},n={};for(const o in r)void 0!==e[o]&&void 0!==t[o]&&(n[o]=Jp(e[o],t[o]));return e=>{for(const t in n)r[t]=n[t](e);return r}},th=(e,t)=>{const r=Zp.createTransformer(t),n=qp(e),o=qp(t);return n.numVars===o.numVars&&n.numColors===o.numColors&&n.numNumbers>=o.numNumbers?Ld(Qp(n.values,o.values),r):Kp(e,t)},rh=(e,t,r)=>{const n=t-e;return 0===n?1:(r-e)/n},nh=(e,t)=>r=>Op(e,t,r);function oh(e,t,r){const n=[],o=r||("number"==typeof(i=e[0])?nh:"string"==typeof i?$p.test(i)?Fp:th:Array.isArray(i)?Qp:"object"==typeof i?eh:nh);var i;const a=e.length-1;for(let s=0;s<a;s++){let r=o(e[s],e[s+1]);if(t){const e=Array.isArray(t)?t[s]||_d:t;r=Ld(e,r)}n.push(r)}return n}function ih(e,t,{clamp:r=!0,ease:n,mixer:o}={}){const i=e.length;if(op(i===t.length),1===i)return()=>t[0];e[0]>e[i-1]&&(e=[...e].reverse(),t=[...t].reverse());const a=oh(t,n,o),s=a.length,l=t=>{let r=0;if(s>1)for(;r<e.length-2&&!(t<e[r+1]);r++);const n=rh(e[r],e[r+1],t);return a[r](n)};return r?t=>l(Ru(e[0],e[i-1],t)):l}function ah(e,t){const r=e[e.length-1];for(let n=1;n<=t;n++){const o=rh(0,t,n);e.push(Op(r,1,o))}}function sh(e){const t=[0];return ah(t,e.length-1),t}function lh({duration:e=300,keyframes:t,times:r,ease:n="easeInOut"}){const o=vp(n)?n.map(Ap):Ap(n),i={done:!1,value:t[0]},a=function(e,t){return e.map(e=>e*t)}(r&&r.length===t.length?r:sh(t),e),s=ih(a,t,{ease:Array.isArray(o)?o:(l=t,c=o,l.map(()=>c||bp).splice(0,l.length-1))});var l,c;return{calculatedDuration:e,next:t=>(i.value=s(t),i.done=t>=e,i)}}function ch(e,t){return t?e*(1e3/t):0}function uh(e,t,r){const n=Math.max(t-5,0);return ch(r-e(n),t-n)}function dh({duration:e=800,bounce:t=.25,velocity:r=0,mass:n=1}){let o,i,a=1-t;a=Ru(.05,1,a),e=Ru(.01,10,ap(e)),a<1?(o=t=>{const n=t*a,o=n*e;return.001-(n-r)/hh(t,a)*Math.exp(-o)},i=t=>{const n=t*a*e,i=n*r+r,s=Math.pow(a,2)*Math.pow(t,2)*e,l=Math.exp(-n),c=hh(Math.pow(t,2),a);return(.001-o(t)>0?-1:1)*((i-s)*l)/c}):(o=t=>Math.exp(-t*e)*((t-r)*e+1)-.001,i=t=>Math.exp(-t*e)*(e*e*(r-t)));const s=function(e,t,r){let n=r;for(let o=1;o<ph;o++)n-=e(n)/t(n);return n}(o,i,5/e);if(e=ip(e),isNaN(s))return{stiffness:100,damping:10,duration:e};{const t=Math.pow(s,2)*n;return{stiffness:t,damping:2*a*Math.sqrt(n*t),duration:e}}}const ph=12;function hh(e,t){return e*Math.sqrt(1-t*t)}const fh=["duration","bounce"],mh=["stiffness","damping","mass"];function gh(e,t){return t.some(t=>void 0!==e[t])}function bh({keyframes:e,restDelta:t,restSpeed:r,...n}){const o=e[0],i=e[e.length-1],a={done:!1,value:o},{stiffness:s,damping:l,mass:c,duration:u,velocity:d,isResolvedFromDuration:p}=function(e){let t={velocity:0,stiffness:100,damping:10,mass:1,isResolvedFromDuration:!1,...e};if(!gh(e,mh)&&gh(e,fh)){const r=dh(e);t={...t,...r,mass:1},t.isResolvedFromDuration=!0}return t}({...n,velocity:-ap(n.velocity||0)}),h=d||0,f=l/(2*Math.sqrt(s*c)),m=i-o,g=ap(Math.sqrt(s/c)),b=Math.abs(m)<5;let v;if(r||(r=b?.01:2),t||(t=b?.005:.5),f<1){const e=hh(g,f);v=t=>{const r=Math.exp(-f*g*t);return i-r*((h+f*g*m)/e*Math.sin(e*t)+m*Math.cos(e*t))}}else if(1===f)v=e=>i-Math.exp(-g*e)*(m+(h+g*m)*e);else{const e=g*Math.sqrt(f*f-1);v=t=>{const r=Math.exp(-f*g*t),n=Math.min(e*t,300);return i-r*((h+f*g*m)*Math.sinh(n)+e*m*Math.cosh(n))/e}}return{calculatedDuration:p&&u||null,next:e=>{const n=v(e);if(p)a.done=e>=u;else{let o=h;0!==e&&(o=f<1?uh(v,e,n):0);const s=Math.abs(o)<=r,l=Math.abs(i-n)<=t;a.done=s&&l}return a.value=a.done?i:n,a}}}function vh({keyframes:e,velocity:t=0,power:r=.8,timeConstant:n=325,bounceDamping:o=10,bounceStiffness:i=500,modifyTarget:a,min:s,max:l,restDelta:c=.5,restSpeed:u}){const d=e[0],p={done:!1,value:d},h=e=>void 0===s?l:void 0===l||Math.abs(s-e)<Math.abs(l-e)?s:l;let f=r*t;const m=d+f,g=void 0===a?m:a(m);g!==m&&(f=g-d);const b=e=>-f*Math.exp(-e/n),v=e=>g+b(e),y=e=>{const t=b(e),r=v(e);p.done=Math.abs(t)<=c,p.value=p.done?g:r};let x,w;const S=e=>{var t;(t=p.value,void 0!==s&&t<s||void 0!==l&&t>l)&&(x=e,w=bh({keyframes:[p.value,h(p.value)],velocity:uh(v,e,p.value),damping:o,stiffness:i,restDelta:c,restSpeed:u}))};return S(0),{calculatedDuration:null,next:e=>{let t=!1;return w||void 0!==x||(t=!0,y(e),S(e)),void 0!==x&&e>x?w.next(e-x):(!t&&y(e),p)}}}const yh=e=>{const t=({timestamp:t})=>e(t);return{start:()=>Ad.update(t,!0),stop:()=>Td(t),now:()=>jd.isProcessing?jd.timestamp:performance.now()}},xh=2e4;function wh(e){let t=0;let r=e.next(t);for(;!r.done&&t<xh;)t+=50,r=e.next(t);return t>=xh?1/0:t}const Sh={decay:vh,inertia:vh,tween:lh,keyframes:lh,spring:bh};function kh({autoplay:e=!0,delay:t=0,driver:r=yh,keyframes:n,type:o="keyframes",repeat:i=0,repeatDelay:a=0,repeatType:s="loop",onPlay:l,onStop:c,onComplete:u,onUpdate:d,...p}){let h,f,m=1,g=!1;const b=()=>{f=new Promise(e=>{h=e})};let v;b();const y=Sh[o]||lh;let x;y!==lh&&"number"!=typeof n[0]&&(x=ih([0,100],n,{clamp:!1}),n=[0,100]);const w=y({...p,keyframes:n});let S;"mirror"===s&&(S=y({...p,keyframes:[...n].reverse(),velocity:-(p.velocity||0)}
280));let k="idle",C=null,_=null,P=null;null===w.calculatedDuration&&i&&(w.calculatedDuration=wh(w));const{calculatedDuration:E}=w;let A=1/0,T=1/0;null!==E&&(A=E+a,T=A*(i+1)-a);let j=0;const z=e=>{if(null===_)return;m>0&&(_=Math.min(_,e)),m<0&&(_=Math.min(e-T/m,_)),j=null!==C?C:Math.round(e-_)*m;const r=j-t*(m>=0?1:-1),o=m>=0?r<0:r>T;j=Math.max(r,0),"finished"===k&&null===C&&(j=T);let l=j,c=w;if(i){const e=Math.min(j,T)/A;let t=Math.floor(e),r=e%1;!r&&e>=1&&(r=1),1===r&&t--,t=Math.min(t,i+1);Boolean(t%2)&&("reverse"===s?(r=1-r,a&&(r-=a/A)):"mirror"===s&&(c=S)),l=Ru(0,1,r)*A}const u=o?{done:!1,value:n[0]}:c.next(l);x&&(u.value=x(u.value));let{done:p}=u;o||null===E||(p=m>=0?j>=T:j<=0);const h=null===C&&("finished"===k||"running"===k&&p);return d&&d(u.value),h&&M(),u},R=()=>{v&&v.stop(),v=void 0},B=()=>{k="idle",R(),h(),b(),_=P=null},M=()=>{k="finished",u&&u(),R(),h()},$=()=>{if(g)return;v||(v=r(z));const e=v.now();l&&l(),null!==C?_=e-C:_&&"finished"!==k||(_=e),"finished"===k&&b(),P=_,C=null,k="running",v.start()};e&&$();const O={then:(e,t)=>f.then(e,t),get time(){return ap(j)},set time(e){e=ip(e),j=e,null===C&&v&&0!==m?_=v.now()-e/m:C=e},get duration(){const e=null===w.calculatedDuration?wh(w):w.calculatedDuration;return ap(e)},get speed(){return m},set speed(e){e!==m&&v&&(m=e,O.time=ap(j))},get state(){return k},play:$,pause:()=>{k="paused",C=j},stop:()=>{g=!0,"idle"!==k&&(k="idle",c&&c(),B())},cancel:()=>{null!==P&&z(P),B()},complete:()=>{k="finished"},sample:e=>(_=0,z(e))};return O}function Ch(e){let t;return()=>(void 0===t&&(t=e()),t)}const _h=Ch(()=>Object.hasOwnProperty.call(Element.prototype,"animate")),Ph=new Set(["opacity","clipPath","filter","transform","backgroundColor"]);function Eh(e,t,{onUpdate:r,onComplete:n,...o}){if(!(_h()&&Ph.has(t)&&!o.repeatDelay&&"mirror"!==o.repeatType&&0!==o.damping&&"inertia"!==o.type))return!1;let i,a,s=!1,l=!1;const c=()=>{a=new Promise(e=>{i=e})};c();let{keyframes:u,duration:d=300,ease:p,times:h}=o;if(((e,t)=>"spring"===t.type||"backgroundColor"===e||!cp(t.ease))(t,o)){const e=kh({...o,repeat:0,delay:0});let t={done:!1,value:u[0]};const r=[];let n=0;for(;!t.done&&n<2e4;)t=e.sample(n),r.push(t.value),n+=10;h=void 0,u=r,d=n-10,p="linear"}const f=function(e,t,r,{delay:n=0,duration:o,repeat:i=0,repeatType:a="loop",ease:s,times:l}={}){const c={[t]:r};l&&(c.offset=l);const u=pp(s);return Array.isArray(u)&&(c.easing=u),e.animate(c,{delay:n,duration:o,easing:Array.isArray(u)?"linear":u,fill:"both",iterations:i+1,direction:"reverse"===a?"alternate":"normal"})}(e.owner.current,t,u,{...o,duration:d,ease:p,times:h}),m=()=>{l=!1,f.cancel()},g=()=>{l=!0,Ad.update(m),i(),c()};f.onfinish=()=>{l||(e.set(function(e,{repeat:t,repeatType:r="loop"}){return e[t&&"loop"!==r&&t%2==1?0:e.length-1]}(u,o)),n&&n(),g())};return{then:(e,t)=>a.then(e,t),attachTimeline:e=>(f.timeline=e,f.onfinish=null,_d),get time(){return ap(f.currentTime||0)},set time(e){f.currentTime=ip(e)},get speed(){return f.playbackRate},set speed(e){f.playbackRate=e},get duration(){return ap(d)},play:()=>{s||(f.play(),Td(m))},pause:()=>f.pause(),stop:()=>{if(s=!0,"idle"===f.playState)return;const{currentTime:t}=f;if(t){const r=kh({...o,autoplay:!1});e.setWithVelocity(r.sample(t-10).value,r.sample(t).value,10)}g()},complete:()=>{l||f.finish()},cancel:g}}const Ah={type:"spring",stiffness:500,damping:25,restSpeed:10},Th={type:"keyframes",duration:.8},jh={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},zh=(e,{keyframes:t})=>t.length>2?Th:ku.has(e)?e.startsWith("scale")?{type:"spring",stiffness:550,damping:0===t[1]?2*Math.sqrt(550):30,restSpeed:10}:Ah:jh,Rh=(e,t)=>"zIndex"!==e&&(!("number"!=typeof t&&!Array.isArray(t))||!("string"!=typeof t||!Zp.test(t)&&"0"!==t||t.startsWith("url("))),Bh=new Set(["brightness","contrast","saturate","opacity"]);function Mh(e){const[t,r]=e.slice(0,-1).split("(");if("drop-shadow"===t)return e;const[n]=r.match(Du)||[];if(!n)return e;const o=r.replace(n,"");let i=Bh.has(t)?1:0;return n!==r&&(i*=100),t+"("+i+o+")"}const $h=/([a-z-]*)\(.*?\)/g,Oh={...Zp,getAnimatableNone:e=>{const t=e.match($h);return t?t.map(Mh).join(" "):e}},Dh={...Gu,color:$p,backgroundColor:$p,outlineColor:$p,fill:$p,stroke:$p,borderColor:$p,borderTopColor:$p,borderRightColor:$p,borderBottomColor:$p,borderLeftColor:$p,filter:Oh,WebkitFilter:Oh},Ih=e=>Dh[e];function Lh(e,t){let r=Ih(e);return r!==Oh&&(r=Zp),r.getAnimatableNone?r.getAnimatableNone(t):void 0}const Vh=e=>/^0[^.\s]+$/.test(e);function Fh(e){return"number"==typeof e?0===e:null!==e?"none"===e||"0"===e||Vh(e):void 0}function Wh(e,t){return e[t]||e.default||e}const Nh=!1,Hh=(e,t,r,n={})=>o=>{const i=Wh(n,e)||{},a=i.delay||n.delay||0;let{elapsed:s=0}=n;s-=ip(a);const l=function(e,t,r,n){const o=Rh(t,r);let i;i=Array.isArray(r)?[...r]:[null,r];const a=void 0!==n.from?n.from:e.get();let s;const l=[];for(let c=0;c<i.length;c++)null===i[c]&&(i[c]=0===c?a:i[c-1]),Fh(i[c])&&l.push(c),"string"==typeof i[c]&&"none"!==i[c]&&"0"!==i[c]&&(s=i[c]);if(o&&l.length&&s)for(let c=0;c<l.length;c++)i[l[c]]=Lh(t,s);return i}(t,e,r,i),c=l[0],u=l[l.length-1],d=Rh(e,c),p=Rh(e,u);let h={keyframes:l,velocity:t.getVelocity(),ease:"easeOut",...i,delay:-s,onUpdate:e=>
280{t.set(e),i.onUpdate&&i.onUpdate(e)},onComplete:()=>{o(),i.onComplete&&i.onComplete()}};if(function({when:e,delay:t,delayChildren:r,staggerChildren:n,staggerDirection:o,repeat:i,repeatType:a,repeatDelay:s,from:l,elapsed:c,...u}){return!!Object.keys(u).length}(i)||(h={...h,...zh(e,h)}),h.duration&&(h.duration=ip(h.duration)),h.repeatDelay&&(h.repeatDelay=ip(h.repeatDelay)),!d||!p||sp||!1===i.type||Nh)return function({keyframes:e,delay:t,onUpdate:r,onComplete:n}){const o=()=>(r&&r(e[e.length-1]),n&&n(),{time:0,speed:1,duration:0,play:_d,pause:_d,stop:_d,then:e=>(e(),Promise.resolve()),cancel:_d,complete:_d});return t?kh({keyframes:[0,1],duration:0,delay:t,onComplete:o}):o()}(h);if(!n.isHandoff&&t.owner&&t.owner.current instanceof HTMLElement&&!t.owner.getProps().onUpdate){const r=Eh(t,e,h);if(r)return r}return kh(h)};function Uh(e){return Boolean(_u(e)&&e.add)}const qh=e=>/^\-?\d*\.?\d+$/.test(e);function Xh(e,t){-1===e.indexOf(t)&&e.push(t)}function Yh(e,t){const r=e.indexOf(t);r>-1&&e.splice(r,1)}class Gh{constructor(){this.subscriptions=[]}add(e){return Xh(this.subscriptions,e),()=>Yh(this.subscriptions,e)}notify(e,t,r){const n=this.subscriptions.length;if(n)if(1===n)this.subscriptions[0](e,t,r);else for(let o=0;o<n;o++){const n=this.subscriptions[o];n&&n(e,t,r)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}const Zh={current:void 0};class Kh{constructor(e,t={}){var r;this.version="10.18.0",this.timeDelta=0,this.lastUpdated=0,this.canTrackVelocity=!1,this.events={},this.updateAndNotify=(e,t=!0)=>{this.prev=this.current,this.current=e;const{delta:r,timestamp:n}=jd;this.lastUpdated!==n&&(this.timeDelta=r,this.lastUpdated=n,Ad.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()),t&&this.events.renderRequest&&this.events.renderRequest.notify(this.current)},this.scheduleVelocityCheck=()=>Ad.postRender(this.velocityCheck),this.velocityCheck=({timestamp:e})=>{e!==this.lastUpdated&&(this.prev=this.current,this.events.velocityChange&&this.events.velocityChange.notify(this.getVelocity()))},this.hasAnimated=!1,this.prev=this.current=e,this.canTrackVelocity=(r=this.current,!isNaN(parseFloat(r))),this.owner=t.owner}onChange(e){return this.on("change",e)}on(e,t){this.events[e]||(this.events[e]=new Gh);const r=this.events[e].add(t);return"change"===e?()=>{r(),Ad.read(()=>{this.events.change.getSize()||this.stop()})}:r}clearListeners(){for(const e in this.events)this.events[e].clear()}attach(e,t){this.passiveEffect=e,this.stopPassiveEffect=t}set(e,t=!0){t&&this.passiveEffect?this.passiveEffect(e,this.updateAndNotify):this.updateAndNotify(e,t)}setWithVelocity(e,t,r){this.set(t),this.prev=e,this.timeDelta=r}jump(e){this.updateAndNotify(e),this.prev=e,this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}get(){return Zh.current&&Zh.current.push(this),this.current}getPrevious(){return this.prev}getVelocity(){return this.canTrackVelocity?ch(parseFloat(this.current)-parseFloat(this.prev),this.timeDelta):0}start(e){return this.stop(),new Promise(t=>{this.hasAnimated=!0,this.animation=e(t),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 Jh(e,t){return new Kh(e,t)}const Qh=e=>t=>t.test(e),ef=[Bu,Hu,Nu,Wu,qu,Uu,{test:e=>"auto"===e,parse:e=>e}],tf=e=>ef.find(Qh(e)),rf=[...ef,$p,Zp],nf=e=>rf.find(Qh(e));function of(e,t,r){e.hasValue(t)?e.getValue(t).set(r):e.addValue(t,Jh(r))}function af(e,t){if(!t)return;return(t[e]||t.default||t).from}function sf({protectedKeys:e,needsAnimating:t},r){const n=e.hasOwnProperty(r)&&!0!==t[r];return t[r]=!1,n}function lf(e,t){const r=e.get();if(!Array.isArray(t))return r!==t;for(let n=0;n<t.length;n++)if(t[n]!==r)return!0}function cf(e,t,{delay:r=0,transitionOverride:n,type:o}={}){let{transition:i=e.getDefaultTransition(),transitionEnd:a,...s}=e.makeTargetAnimatable(t);const l=e.getValue("willChange");n&&(i=n);const c=[],u=o&&e.animationState&&e.animationState.getState()[o];for(const d in s){const t=e.getValue(d),n=s[d];if(!t||void 0===n||u&&sf(u,d))continue;const o={delay:r,elapsed:0,...Wh(i||{},d)};if(window.HandoffAppearAnimations){const r=e.getProps()[tu];if(r){const e=window.HandoffAppearAnimations(r,d,t,Ad);null!==e&&(o.elapsed=e,o.isHandoff=!0)}}let a=!o.isHandoff&&!lf(t,n);if("spring"===o.type&&(t.getVelocity()||o.velocity)&&(a=!1),t.animation&&(a=!1),a)continue;t.start(Hh(d,t,n,e.shouldReduceMotion&&ku.has(d)?{type:!1}:o));const p=t.animation;Uh(l)&&(l.add(d),p.then(()=>l.remove(d))),c.push(p)}return a&&Promise.all(c).then(()=>{a&&function(e,t){const r=np(e,t);let{transitionEnd:n={},transition:o={},...i}=r?e.makeTargetAnimatable(r,!1):{};i={...i,...n};for(const a in i)of(e,a,wd(i[a]))}(e,a)}),c}function uf(e,t,r={}){const n=np(e,t,r.custom);let{transition:o=e.getDefaultTransition()||{}}=n||{};r.transitionOverride&&(o=r.transitionOverride);const i=n?()=>Promise.all(cf(e,n,r)):()=>Promise.resolve(),a=e.variantChildren&&e.variantChildren.size?(n=0)=>{const{delayChildren:i=0,staggerChildren:a,staggerDirection:s}=o;return function(e,t,r=0,n=0,o=1,i){const a=[],s=(e.variantChildren.size-1)*n,l=1===o?(e=0)=>e*n:(e=0)=>s-e*n;return Array.from(e.variantChildren).sort(df).forEach((e,n)=>{e.notify("AnimationStart",t),a.push(uf(e,t,{...i,delay:r+l(n)}).then(()=>e.notify("AnimationComplete",t)))}),Promise.all(a)}(e,t,i+n,a,s,r)}:()=>Promise.resolve(),{when:s}=o;if(s){const[e,t]="beforeChildren"===s?[i,a]:[a,i];return e().then(()=>t())}return Promise.all([i(),a(r.delay)])}function df(e,t){return e.sortNodePosition(t)}const pf=[...iu].reverse(),hf=iu.length;function ff(e){return t=>Promise.all(t.map(({animation:t,options:r})=>function(e,t,r={}){let n;if(e.notify("AnimationStart",t),Array.isArray(t)){const o=t.map(t=>uf(e,t,r));n=Promise.all(o)}else if("string"==typeof t)n=uf(e,t,r);else{const o="function"==typeof t?np(e,t,r.custom):t;n=Promise.all(cf(e,o,r))}return n.then(()=>e.notify("AnimationComplete",t))}(e,t,r)))}function mf(e){let t=ff(e);const r={animate:bf(!0),whileInView:bf(),whileHover:bf(),whileTap:bf(),whileDrag:bf(),whileFocus:bf(),exit:bf()};let n=!0;const o=(t,r)=>{const n=np(e,r);if(n){const{transition:e,transitionEnd:r,...o}=n;t={...t,...o,...r}}return t};function i(i,a){const s=e.getProps(),l=e.getVariantContext(!0)||{},c=[],u=new Set;let d={},p=1/0;for(let t=0;t<hf;t++){const h=pf[t],f=r[h],m=void 0!==s[h]?s[h]:l[h],g=nu(m),b=h===a?f.isActive:null;!1===b&&(p=t);let v=m===l[h]&&m!==s[h]&&g;if(v&&n&&e.manuallyAnimateOnMount&&(v=!1),f.protectedKeys={...d},!f.isActive&&null===b||!m&&!f.prevProp||ou(m)||"boolean"==typeof m)continue;let y=gf(f.prevProp,m)||h===a&&f.isActive&&!v&&g||t>p&&g,x=!1;const w=Array.isArray(m)?m:[m];let S=w.reduce(o,{});!1===b&&(S={});const{prevResolvedValues:k={}}=f,C={...k,...S},_=e=>{y=!0,u.has(e)&&(x=!0,u.delete(e)),f.needsAnimating[e]=!0};for(const e in C){const t=S[e],r=k[e];if(d.hasOwnProperty(e))continue;let n=!1;n=xd(t)&&xd(r)?!rp(t,r):t!==r,n?void 0!==t?_(e):u.add(e):void 0!==t&&u.has(e)?_
280(e):f.protectedKeys[e]=!0}f.prevProp=m,f.prevResolvedValues=S,f.isActive&&(d={...d,...S}),n&&e.blockInitialAnimation&&(y=!1),!y||v&&!x||c.push(...w.map(e=>({animation:e,options:{type:h,...i}})))}if(u.size){const t={};u.forEach(r=>{const n=e.getBaseTarget(r);void 0!==n&&(t[r]=n)}),c.push({animation:t})}let h=Boolean(c.length);return!n||!1!==s.initial&&s.initial!==s.animate||e.manuallyAnimateOnMount||(h=!1),n=!1,h?t(c):Promise.resolve()}return{animateChanges:i,setActive:function(t,n,o){var a;if(r[t].isActive===n)return Promise.resolve();null===(a=e.variantChildren)||void 0===a||a.forEach(e=>{var r;return null===(r=e.animationState)||void 0===r?void 0:r.setActive(t,n)}),r[t].isActive=n;const s=i(o,t);for(const e in r)r[e].protectedKeys={};return s},setAnimateFunction:function(r){t=r(e)},getState:()=>r}}function gf(e,t){return"string"==typeof t?t!==e:!!Array.isArray(t)&&!rp(t,e)}function bf(e=!1){return{isActive:e,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}let vf=0;const yf={animation:{Feature:class extends Ud{constructor(e){super(e),e.animationState||(e.animationState=mf(e))}updateAnimationControlsSubscription(){const{animate:e}=this.node.getProps();this.unmount(),ou(e)&&(this.unmount=e.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){const{animate:e}=this.node.getProps(),{animate:t}=this.node.prevProps||{};e!==t&&this.updateAnimationControlsSubscription()}unmount(){}}},exit:{Feature:class extends Ud{constructor(){super(...arguments),this.id=vf++}update(){if(!this.node.presenceContext)return;const{isPresent:e,onExitComplete:t,custom:r}=this.node.presenceContext,{isPresent:n}=this.node.prevPresenceContext||{};if(!this.node.animationState||e===n)return;const o=this.node.animationState.setActive("exit",!e,{custom:null!=r?r:this.node.getProps().custom});t&&!e&&o.then(()=>t(this.id))}mount(){const{register:e}=this.node.presenceContext||{};e&&(this.unmount=e(this.id))}unmount(){}}}},xf=(e,t)=>Math.abs(e-t);class wf{constructor(e,t,{transformPagePoint:r,contextWindow:n,dragSnapToOrigin:o=!1}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.handlers={},this.contextWindow=window,this.updatePoint=()=>{if(!this.lastMoveEvent||!this.lastMoveEventInfo)return;const e=Cf(this.lastMoveEventInfo,this.history),t=null!==this.startEvent,r=function(e,t){const r=xf(e.x,t.x),n=xf(e.y,t.y);return Math.sqrt(r**2+n**2)}(e.offset,{x:0,y:0})>=3;if(!t&&!r)return;const{point:n}=e,{timestamp:o}=jd;this.history.push({...n,timestamp:o});const{onStart:i,onMove:a}=this.handlers;t||(i&&i(this.lastMoveEvent,e),this.startEvent=this.lastMoveEvent),a&&a(this.lastMoveEvent,e)},this.handlePointerMove=(e,t)=>{this.lastMoveEvent=e,this.lastMoveEventInfo=Sf(t,this.transformPagePoint),Ad.update(this.updatePoint,!0)},this.handlePointerUp=(e,t)=>{this.end();const{onEnd:r,onSessionEnd:n,resumeAnimation:o}=this.handlers;if(this.dragSnapToOrigin&&o&&o(),!this.lastMoveEvent||!this.lastMoveEventInfo)return;const i=Cf("pointercancel"===e.type?this.lastMoveEventInfo:Sf(t,this.transformPagePoint),this.history);this.startEvent&&r&&r(e,i),n&&n(e,i)},!$d(e))return;this.dragSnapToOrigin=o,this.handlers=t,this.transformPagePoint=r,this.contextWindow=n||window;const i=Sf(Od(e),this.transformPagePoint),{point:a}=i,{timestamp:s}=jd;this.history=[{...a,timestamp:s}];const{onSessionStart:l}=t;l&&l(e,Cf(i,this.history)),this.removeListeners=Ld(Dd(this.contextWindow,"pointermove",this.handlePointerMove),Dd(this.contextWindow,"pointerup",this.handlePointerUp),Dd(this.contextWindow,"pointercancel",this.handlePointerUp))}updateHandlers(e){this.handlers=e}end(){this.removeListeners&&this.removeListeners(),Td(this.updatePoint)}}function Sf(e,t){return t?{point:t(e.point)}:e}function kf(e,t){return{x:e.x-t.x,y:e.y-t.y}}function Cf({point:e},t){return{point:e,delta:kf(e,Pf(t)),offset:kf(e,_f(t)),velocity:Ef(t,.1)}}function _f(e){return e[0]}function Pf(e){return e[e.length-1]}function Ef(e,t){if(e.length<2)return{x:0,y:0};let r=e.length-1,n=null;const o=Pf(e);for(;r>=0&&(n=e[r],!(o.timestamp-n.timestamp>ip(t)));)r--;if(!n)return{x:0,y:0};const i=ap(o.timestamp-n.timestamp);if(0===i)return{x:0,y:0};const a={x:(o.x-n.x)/i,y:(o.y-n.y)/i};return a.x===1/0&&(a.x=0),a.y===1/0&&(a.y=0),a}function Af(e){return e.max-e.min}function Tf(e,t=0,r=.01){return Math.abs(e-t)<=r}function jf(e,t,r,n=.5){e.origin=n,e.originPoint=Op(t.min,t.max,e.origin),e.scale=Af(r)/Af(t),(Tf(e.scale,1,1e-4)||isNaN(e.scale))&&(e.scale=1),e.translate=Op(r.min,r.max,e.origin)-e.originPoint,(Tf(e.translate)||isNaN(e.translate))&&(e.translate=0)}function zf(e,t,r,n){jf(e.x,t.x,r.x,n?n.originX:void 0),jf(e.y,t.y,r.y,n?n.originY:void 0)}function Rf(e,t,r){e.min=r.min+t.min,e.max=e.min+Af(t)}function Bf(e,t,r){e.min=t.min-r.min,e.max=e.min+Af(t)}function Mf(e,t,r){Bf(e.x,t.x,r.x),Bf(e.y,t.y,r.y)}function $f(e,t,r){return{min:void 0!==t?e.min+t:void 0,max:void 0!==r?e.max+r-(e.max-e.min):void 0}}function Of(e,t){let r=t.min-e.min,n=t.max-e.max;return t.max-t.min<e.max-e.min&&([r,n]=[n,r]),{min:r,max:n}}const Df=.35;function If(e,t,r){return{min:Lf(e,t),max:Lf(e,r)}}function Lf(e,t){return"number"==typeof e?e:e[t]||0}const Vf=()=>({x:{min:0,max:0},y:{min:0,max:0}});function Ff(e){return[e("x"),e("y")]}function Wf({top:e,left:t,right:r,bottom:n}){return{x:{min:t,max:r},y:{min:e,max:n}}}function Nf(e){return void 0===e||1===e}function Hf({scale:e,scaleX:t,scaleY:r}){return!Nf(e)||!Nf(t)||!Nf(r)}function Uf(e){return Hf(e)||qf(e)||e.z||e.rotate||e.rotateX||e.rotateY}function qf(e){return Xf(e.x)||Xf(e.y)}function Xf(e){return e&&"0%"!==e}function Yf(e,t,r){return r+t*(e-r)}function Gf(e,t,r,n,o){return void 0!==o&&(e=Yf(e,o,n)),Yf(e,r,n)+t}function Zf(e,t=0,r=1,n,o){e.min=Gf(e.min,t,r,n,o),e.max=Gf(e.max,t,r,n,o)}function Kf(e,{x:t,y:r}){Zf(e.x,t.translate,t.scale,t.originPoint),Zf(e.y,r.translate,r.scale,r.originPoint)}function Jf(e){return Number.isInteger(e)||e>1.0000000000001||e<.999999999999?e:1}function Qf(e,t){e.min=e.min+t,e.max=e.max+t}function em(e,t,[r,n,o]){const i=void 0!==t[o]?t[o]:.5,a=Op(e.min,e.max,i);Zf(e,t[r],t[n],a,t.scale)}const tm=["x","scaleX","originX"],rm=["y","scaleY","originY"];function nm(e,t){em(e.x,t,tm),em(e.y,t,rm)}function om(e,t){return Wf(function(e,t){if(!t)return e;const r=t({x:e.left,y:e.top}),n=t({x:e.right,y:e.bottom});return{top:r.y,left:r.x,bottom:n.y,right:n.x}}(e.getBoundingClientRect(),t))}const im=({current:e})=>e?e.ownerDocument.defaultView:null,am=new WeakMap;class sm{constructor(e){this.openGlobalLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic={x:{min:0,max:0},y:{min:0,max:0}},this.visualElement=e}start(e,{snapToCursor:t=!1}={}){const{presenceContext:r}=this.visualElement;if(r&&!1===r.isPresent)return;const{dragSnapToOrigin:n}=this.getProps();this.panSession=new wf(e,{onSessionStart:e=>{const{dragSnapToOrigin:r}=this.getProps();r?this.pauseAnimation():this.stopAnimation(),t&&this.snapToCursor(Od(e,"page").point)},onStart:(e,t)=>{const{drag:r,dragPropagation:n,onDragStart:o}=this.getProps();if(r&&!n&&(this.openGlobalLock&&this.openGlobalLock(),this.openGlobalLock=Nd(r),!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),Ff(e=>{let t=this.getAxisMotionValue(e).get()||0;if(Nu.test(t)){const{projection:r}=this.visualElement;if(r&&r.layout){const n=r.layout.layoutBox[e];if(n){t=Af(n)*(parseFloat(t)/100)}}}this.originPoint[e]=t}),o&&Ad.update(()=>o(e,t),!1,!0);const{animationState:i}=this.visualElement;i&&i.setActive("whileDrag",!0)},onMove:(e,t)=>
280{const{dragPropagation:r,dragDirectionLock:n,onDirectionLock:o,onDrag:i}=this.getProps();if(!r&&!this.openGlobalLock)return;const{offset:a}=t;if(n&&null===this.currentDirection)return this.currentDirection=function(e,t=10){let r=null;Math.abs(e.y)>t?r="y":Math.abs(e.x)>t&&(r="x");return r}(a),void(null!==this.currentDirection&&o&&o(this.currentDirection));this.updateAxis("x",t.point,a),this.updateAxis("y",t.point,a),this.visualElement.render(),i&&i(e,t)},onSessionEnd:(e,t)=>this.stop(e,t),resumeAnimation:()=>Ff(e=>{var t;return"paused"===this.getAnimationState(e)&&(null===(t=this.getAxisMotionValue(e).animation)||void 0===t?void 0:t.play())})},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:n,contextWindow:im(this.visualElement)})}stop(e,t){const r=this.isDragging;if(this.cancel(),!r)return;const{velocity:n}=t;this.startAnimation(n);const{onDragEnd:o}=this.getProps();o&&Ad.update(()=>o(e,t))}cancel(){this.isDragging=!1;const{projection:e,animationState:t}=this.visualElement;e&&(e.isAnimationBlocked=!1),this.panSession&&this.panSession.end(),this.panSession=void 0;const{dragPropagation:r}=this.getProps();!r&&this.openGlobalLock&&(this.openGlobalLock(),this.openGlobalLock=null),t&&t.setActive("whileDrag",!1)}updateAxis(e,t,r){const{drag:n}=this.getProps();if(!r||!lm(e,n,this.currentDirection))return;const o=this.getAxisMotionValue(e);let i=this.originPoint[e]+r[e];this.constraints&&this.constraints[e]&&(i=function(e,{min:t,max:r},n){return void 0!==t&&e<t?e=n?Op(t,e,n.min):Math.max(e,t):void 0!==r&&e>r&&(e=n?Op(r,e,n.max):Math.min(e,r)),e}(i,this.constraints[e],this.elastic[e])),o.set(i)}resolveConstraints(){var e;const{dragConstraints:t,dragElastic:r}=this.getProps(),n=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):null===(e=this.visualElement.projection)||void 0===e?void 0:e.layout,o=this.constraints;t&&ru(t)?this.constraints||(this.constraints=this.resolveRefConstraints()):this.constraints=!(!t||!n)&&function(e,{top:t,left:r,bottom:n,right:o}){return{x:$f(e.x,r,o),y:$f(e.y,t,n)}}(n.layoutBox,t),this.elastic=function(e=Df){return!1===e?e=0:!0===e&&(e=Df),{x:If(e,"left","right"),y:If(e,"top","bottom")}}(r),o!==this.constraints&&n&&this.constraints&&!this.hasMutatedConstraints&&Ff(e=>{this.getAxisMotionValue(e)&&(this.constraints[e]=function(e,t){const r={};return void 0!==t.min&&(r.min=t.min-e.min),void 0!==t.max&&(r.max=t.max-e.min),r}(n.layoutBox[e],this.constraints[e]))})}resolveRefConstraints(){const{dragConstraints:e,onMeasureDragConstraints:t}=this.getProps();if(!e||!ru(e))return!1;const r=e.current,{projection:n}=this.visualElement;if(!n||!n.layout)return!1;const o=function(e,t,r){const n=om(e,r),{scroll:o}=t;return o&&(Qf(n.x,o.offset.x),Qf(n.y,o.offset.y)),n}(r,n.root,this.visualElement.getTransformPagePoint());let i=function(e,t){return{x:Of(e.x,t.x),y:Of(e.y,t.y)}}(n.layout.layoutBox,o);if(t){const e=t(function({x:e,y:t}){return{top:t.min,right:e.max,bottom:t.max,left:e.min}}(i));this.hasMutatedConstraints=!!e,e&&(i=Wf(e))}return i}startAnimation(e){const{drag:t,dragMomentum:r,dragElastic:n,dragTransition:o,dragSnapToOrigin:i,onDragTransitionEnd:a}=this.getProps(),s=this.constraints||{},l=Ff(a=>{if(!lm(a,t,this.currentDirection))return;let l=s&&s[a]||{};i&&(l={min:0,max:0});const c=n?200:1e6,u=n?40:1e7,d={type:"inertia",velocity:r?e[a]:0,bounceStiffness:c,bounceDamping:u,timeConstant:750,restDelta:1,restSpeed:10,...o,...l};return this.startAxisValueAnimation(a,d)});return Promise.all(l).then(a)}startAxisValueAnimation(e,t){const r=this.getAxisMotionValue(e);return r.start(Hh(e,r,0,t))}stopAnimation(){Ff(e=>this.getAxisMotionValue(e).stop())}pauseAnimation(){Ff(e=>{var t;return null===(t=this.getAxisMotionValue(e).animation)||void 0===t?void 0:t.pause()})}getAnimationState(e){var t;return null===(t=this.getAxisMotionValue(e).animation)||void 0===t?void 0:t.state}getAxisMotionValue(e){const t="_drag"+e.toUpperCase(),r=this.visualElement.getProps(),n=r[t];return n||this.visualElement.getValue(e,(r.initial?r.initial[e]:void 0)||0)}snapToCursor(e){Ff(t=>{const{drag:r}=this.getProps();if(!lm(t,r,this.currentDirection))return;const{projection:n}=this.visualElement,o=this.getAxisMotionValue(t);if(n&&n.layout){const{min:r,max:i}=n.layout.layoutBox[t];o.set(e[t]-Op(r,i,.5))}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;const{drag:e,dragConstraints:t}=this.getProps(),{projection:r}=this.visualElement;if(!ru(t)||!r||!this.constraints)return;this.stopAnimation();const n={x:0,y:0};Ff(e=>{const t=this.getAxisMotionValue(e);if(t){const r=t.get();n[e]=function(e,t){let r=.5;const n=Af(e),o=Af(t);return o>n?r=rh(t.min,t.max-n,e.min):n>o&&(r=rh(e.min,e.max-o,t.min)),Ru(0,1,r)}({min:r,max:r},this.constraints[e])}});const{transformTemplate:o}=this.visualElement.getProps();this.visualElement.current.style.transform=o?o({},""):"none",r.root&&r.root.updateScroll(),r.updateLayout(),this.resolveConstraints(),Ff(t=>{if(!lm(t,e,null))return;const r=this.getAxisMotionValue(t),{min:o,max:i}=this.constraints[t];r.set(Op(o,i,n[t]))})}addListeners(){if(!this.visualElement.current)return;am.set(this.visualElement,this);
280const e=Dd(this.visualElement.current,"pointerdown",e=>{const{drag:t,dragListener:r=!0}=this.getProps();t&&r&&this.start(e)}),t=()=>{const{dragConstraints:e}=this.getProps();ru(e)&&(this.constraints=this.resolveRefConstraints())},{projection:r}=this.visualElement,n=r.addEventListener("measure",t);r&&!r.layout&&(r.root&&r.root.updateScroll(),r.updateLayout()),t();const o=Md(window,"resize",()=>this.scalePositionWithinConstraints()),i=r.addEventListener("didUpdate",({delta:e,hasLayoutChanged:t})=>{this.isDragging&&t&&(Ff(t=>{const r=this.getAxisMotionValue(t);r&&(this.originPoint[t]+=e[t].translate,r.set(r.get()+e[t].translate))}),this.visualElement.render())});return()=>{o(),e(),n(),i&&i()}}getProps(){const e=this.visualElement.getProps(),{drag:t=!1,dragDirectionLock:r=!1,dragPropagation:n=!1,dragConstraints:o=!1,dragElastic:i=Df,dragMomentum:a=!0}=e;return{...e,drag:t,dragDirectionLock:r,dragPropagation:n,dragConstraints:o,dragElastic:i,dragMomentum:a}}}function lm(e,t,r){return!(!0!==t&&t!==e||null!==r&&r!==e)}const cm=e=>(t,r)=>{e&&Ad.update(()=>e(t,r))};function um(){const e=b.useContext(Zc);if(null===e)return[!0,null];const{isPresent:t,onExitComplete:r,register:n}=e,o=b.useId();b.useEffect(()=>n(o),[]);return!t&&r?[!1,()=>r&&r(o)]:[!0]}function dm(){return null===(e=b.useContext(Zc))||e.isPresent;var e}const pm={hasAnimatedSinceResize:!0,hasEverUpdated:!1};function hm(e,t){return t.max===t.min?0:e/(t.max-t.min)*100}const fm={correct:(e,t)=>{if(!t.target)return e;if("string"==typeof e){if(!Hu.test(e))return e;e=parseFloat(e)}return`${hm(e,t.target.x)}% ${hm(e,t.target.y)}%`}},mm={correct:(e,{treeScale:t,projectionDelta:r})=>{const n=e,o=Zp.parse(e);if(o.length>5)return n;const i=Zp.createTransformer(e),a="number"!=typeof o[0]?1:0,s=r.x.scale*t.x,l=r.y.scale*t.y;o[0+a]/=s,o[1+a]/=l;const c=Op(s,l,.5);return"number"==typeof o[2+a]&&(o[2+a]/=c),"number"==typeof o[3+a]&&(o[3+a]/=c),i(o)}};class gm extends x.Component{componentDidMount(){const{visualElement:e,layoutGroup:t,switchLayoutGroup:r,layoutId:n}=this.props,{projection:o}=e;var i;i=vm,Object.assign(wu,i),o&&(t.group&&t.group.add(o),r&&r.register&&n&&r.register(o),o.root.didUpdate(),o.addEventListener("animationComplete",()=>{this.safeToRemove()}),o.setOptions({...o.options,onExitComplete:()=>this.safeToRemove()})),pm.hasEverUpdated=!0}getSnapshotBeforeUpdate(e){const{layoutDependency:t,visualElement:r,drag:n,isPresent:o}=this.props,i=r.projection;return i?(i.isPresent=o,n||e.layoutDependency!==t||void 0===t?i.willUpdate():this.safeToRemove(),e.isPresent!==o&&(o?i.promote():i.relegate()||Ad.postRender(()=>{const e=i.getStack();e&&e.members.length||this.safeToRemove()})),null):null}componentDidUpdate(){const{projection:e}=this.props.visualElement;e&&(e.root.didUpdate(),queueMicrotask(()=>{!e.currentAnimation&&e.isLead()&&this.safeToRemove()}))}componentWillUnmount(){const{visualElement:e,layoutGroup:t,switchLayoutGroup:r}=this.props,{projection:n}=e;n&&(n.scheduleCheckAfterUnmount(),t&&t.group&&t.group.remove(n),r&&r.deregister&&r.deregister(n))}safeToRemove(){const{safeToRemove:e}=this.props;e&&e()}render(){return null}}function bm(e){const[t,r]=um(),n=b.useContext(hu);return x.createElement(gm,{...e,layoutGroup:n,switchLayoutGroup:b.useContext(fu),isPresent:t,safeToRemove:r})}const vm={borderRadius:{...fm,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:fm,borderTopRightRadius:fm,borderBottomLeftRadius:fm,borderBottomRightRadius:fm,boxShadow:mm},ym=["TopLeft","TopRight","BottomLeft","BottomRight"],xm=ym.length,wm=e=>"string"==typeof e?parseFloat(e):e,Sm=e=>"number"==typeof e||Hu.test(e);function km(e,t){return void 0!==e[t]?e[t]:e.borderRadius}const Cm=Pm(0,.5,Sp),_m=Pm(.5,.95,_d);function Pm(e,t,r){return n=>n<e?0:n>t?1:r(rh(e,t,n))}function Em(e,t){e.min=t.min,e.max=t.max}function Am(e,t){Em(e.x,t.x),Em(e.y,t.y)}function Tm(e,t,r,n,o){return e=Yf(e-=t,1/r,n),void 0!==o&&(e=Yf(e,1/o,n)),e}function jm(e,t,[r,n,o],i,a){!function(e,t=0,r=1,n=.5,o,i=e,a=e){Nu.test(t)&&(t=parseFloat(t),t=Op(a.min,a.max,t/100)-a.min);if("number"!=typeof t)return;let s=Op(i.min,i.max,n);e===i&&(s-=t),e.min=Tm(e.min,t,r,s,o),e.max=Tm(e.max,t,r,s,o)}(e,t[r],t[n],t[o],t.scale,i,a)}const zm=["x","scaleX","originX"],Rm=["y","scaleY","originY"];function Bm(e,t,r,n){jm(e.x,t,zm,r?r.x:void 0,n?n.x:void 0),jm(e.y,t,Rm,r?r.y:void 0,n?n.y:void 0)}function Mm(e){return 0===e.translate&&1===e.scale}function $m(e){return Mm(e.x)&&Mm(e.y)}
280function Om(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 Dm(e){return Af(e.x)/Af(e.y)}class Im{constructor(){this.members=[]}add(e){Xh(this.members,e),e.scheduleRender()}remove(e){if(Yh(this.members,e),e===this.prevLead&&(this.prevLead=void 0),e===this.lead){const e=this.members[this.members.length-1];e&&this.promote(e)}}relegate(e){const t=this.members.findIndex(t=>e===t);if(0===t)return!1;let r;for(let n=t;n>=0;n--){const e=this.members[n];if(!1!==e.isPresent){r=e;break}}return!!r&&(this.promote(r),!0)}promote(e,t){const r=this.lead;if(e!==r&&(this.prevLead=r,this.lead=e,e.show(),r)){r.instance&&r.scheduleRender(),e.scheduleRender(),e.resumeFrom=r,t&&(e.resumeFrom.preserveOpacity=!0),r.snapshot&&(e.snapshot=r.snapshot,e.snapshot.latestValues=r.animationValues||r.latestValues),e.root&&e.root.isUpdating&&(e.isLayoutDirty=!0);const{crossfade:n}=e.options;!1===n&&r.hide()}}exitAnimationComplete(){this.members.forEach(e=>{const{options:t,resumingFrom:r}=e;t.onExitComplete&&t.onExitComplete(),r&&r.options.onExitComplete&&r.options.onExitComplete()})}scheduleRender(){this.members.forEach(e=>{e.instance&&e.scheduleRender(!1)})}removeLeadSnapshot(){this.lead&&this.lead.snapshot&&(this.lead.snapshot=void 0)}}function Lm(e,t,r){let n="";const o=e.x.translate/t.x,i=e.y.translate/t.y;if((o||i)&&(n=`translate3d(${o}px, ${i}px, 0) `),1===t.x&&1===t.y||(n+=`scale(${1/t.x}, ${1/t.y}) `),r){const{rotate:e,rotateX:t,rotateY:o}=r;e&&(n+=`rotate(${e}deg) `),t&&(n+=`rotateX(${t}deg) `),o&&(n+=`rotateY(${o}deg) `)}const a=e.x.scale*t.x,s=e.y.scale*t.y;return 1===a&&1===s||(n+=`scale(${a}, ${s})`),n||"none"}const Vm=(e,t)=>e.depth-t.depth;class Fm{constructor(){this.children=[],this.isDirty=!1}add(e){Xh(this.children,e),this.isDirty=!0}remove(e){Yh(this.children,e),this.isDirty=!0}forEach(e){this.isDirty&&this.children.sort(Vm),this.isDirty=!1,this.children.forEach(e)}}function Wm(e){return e instanceof SVGElement&&"svg"!==e.tagName}function Nm(e,t,r){const n=_u(e)?e:Jh(e);return n.start(Hh("",n,t,r)),n.animation}const Hm=["","X","Y","Z"],Um={visibility:"hidden"};let qm=0;const Xm={type:"projectionFrame",totalNodes:0,resolvedTargetDeltas:0,recalculatedProjection:0};function Ym({attachResizeListener:e,defaultParent:t,measureScroll:r,checkIsScrollRoot:n,resetTransform:o}){return class{constructor(e={},r=(null==t?void 0:t())){this.id=qm++,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.projectionUpdateScheduled=!1,this.checkUpdateFailed=()=>{this.isUpdating&&(this.isUpdating=!1,this.clearAllSnapshots())},this.updateProjection=()=>{var e;this.projectionUpdateScheduled=!1,Xm.totalNodes=Xm.resolvedTargetDeltas=Xm.recalculatedProjection=0,this.nodes.forEach(Km),this.nodes.forEach(og),this.nodes.forEach(ig),this.nodes.forEach(Jm),e=Xm,window.MotionDebug&&window.MotionDebug.record(e)},this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=e,this.root=r?r.root||r:this,this.path=r?[...r.path,r]:[],this.parent=r,this.depth=r?r.depth+1:0;for(let t=0;t<this.path.length;t++)this.path[t].shouldResetTransform=!0;this.root===this&&(this.nodes=new Fm)}addEventListener(e,t){return this.eventHandlers.has(e)||this.eventHandlers.set(e,new Gh),this.eventHandlers.get(e).add(t)}notifyListeners(e,...t){const r=this.eventHandlers.get(e);r&&r.notify(...t)}hasListeners(e){return this.eventHandlers.has(e)}mount(t,r=this.root.hasTreeAnimated){if(this.instance)return;this.isSVG=Wm(t),this.instance=t;const{layoutId:n,layout:o,visualElement:i}=this.options;if(i&&!i.current&&i.mount(t),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),r&&(o||n)&&(this.isLayoutDirty=!0),e){let r;const n=()=>this.root.updateBlockedByResize=!1;e(t,()=>{this.root.updateBlockedByResize=!0,r&&r(),r=function(e,t){const r=performance.now(),n=({timestamp:o})=>{const i=o-r;i>=t&&(Td(n),e(i-t))};return Ad.read(n,!0),()=>Td(n)}(n,250),pm.hasAnimatedSinceResize&&(pm.hasAnimatedSinceResize=!1,this.nodes.forEac
280h(ng))})}n&&this.root.registerSharedNode(n,this),!1!==this.options.animate&&i&&(n||o)&&this.addEventListener("didUpdate",({delta:e,hasLayoutChanged:t,hasRelativeTargetChanged:r,layout:n})=>{if(this.isTreeAnimationBlocked())return this.target=void 0,void(this.relativeTarget=void 0);const o=this.options.transition||i.getDefaultTransition()||dg,{onLayoutAnimationStart:a,onLayoutAnimationComplete:s}=i.getProps(),l=!this.targetLayout||!Om(this.targetLayout,n)||r,c=!t&&r;if(this.options.layoutRoot||this.resumeFrom&&this.resumeFrom.instance||c||t&&(l||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0),this.setAnimationOrigin(e,c);const t={...Wh(o,"layout"),onPlay:a,onComplete:s};(i.shouldReduceMotion||this.options.layoutRoot)&&(t.delay=0,t.type=!1),this.startAnimation(t)}else t||ng(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=n})}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);const e=this.getStack();e&&e.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,Td(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(ag),this.animationId++)}getTransformTemplate(){const{visualElement:e}=this.options;return e&&e.getProps().transformTemplate}willUpdate(e=!0){if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked())return void(this.options.onExitComplete&&this.options.onExitComplete());if(!this.root.isUpdating&&this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let o=0;o<this.path.length;o++){const e=this.path[o];e.shouldResetTransform=!0,e.updateScroll("snapshot"),e.options.layoutRoot&&e.willUpdate(!1)}const{layoutId:t,layout:r}=this.options;if(void 0===t&&!r)return;const n=this.getTransformTemplate();this.prevTransformTemplateValue=n?n(this.latestValues,""):void 0,this.updateSnapshot(),e&&this.notifyListeners("willUpdate")}update(){this.updateScheduled=!1;if(this.isUpdateBlocked())return this.unblockUpdate(),this.clearAllSnapshots(),void this.nodes.forEach(eg);this.isUpdating||this.nodes.forEach(tg),this.isUpdating=!1,this.nodes.forEach(rg),this.nodes.forEach(Gm),this.nodes.forEach(Zm),this.clearAllSnapshots();const e=performance.now();jd.delta=Ru(0,1e3/60,e-jd.timestamp),jd.timestamp=e,jd.isProcessing=!0,zd.update.process(jd),zd.preRender.process(jd),zd.render.process(jd),jd.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,queueMicrotask(()=>this.update()))}clearAllSnapshots(){this.nodes.forEach(Qm),this.sharedNodes.forEach(sg)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,Ad.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){Ad.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){!this.snapshot&&this.instance&&(this.snapshot=this.measure())}updateLayout(){if(!this.instance)return;if(this.updateScroll(),!(this.options.alwaysMeasureLayout&&this.isLead()||this.isLayoutDirty))return;if(this.resumeFrom&&!this.resumeFrom.instance)for(let r=0;r<this.path.length;r++){this.path[r].updateScroll()}const e=this.layout;this.layout=this.measure(!1),this.layoutCorrected={x:{min:0,max:0},y:{min:0,max:0}},this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners("measure",this.layout.layoutBox);const{visualElement:t}=this.options;t&&t.notify("LayoutMeasure",this.layout.layoutBox,e?e.layoutBox:void 0)}updateScroll(e="measure"){let t=Boolean(this.options.layoutScroll&&this.instance);this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===e&&(t=!1),t&&(this.scroll={animationId:this.root.animationId,phase:e,isRoot:n(this.instance),offset:r(this.instance)})}resetTransform(){if(!o)return;const e=this.isLayoutDirty||this.shouldResetTransform,t=this.projectionDelta&&!$m(this.projectionDelta),r=this.getTransformTemplate(),n=r?r(this.latestValues,""):void 0,i=n!==this.prevTransformTemplateValue;e&&(t||Uf(this.latestValues)||i)&&(o(this.instance,n),this.shouldResetTransform=!1,this.scheduleRender())}measure(e=!0){const t=this.measurePageBox();let r=this.removeElementScroll(t);var n;return e&&(r=this.removeTransform(r)),fg((n=r).x),fg(n.y),{animationId:this.root.animationId,measuredBox:t,layoutBox:r,latestValues:{},source:this.id}}measurePageBox(){const{visualElement:e}=this.options;if(!e)return{x:{min:0,max:0},y:{min:0,max:0}};const t=e.measureViewportBox(),{scroll:r}=this.root;return r&&(Qf(t.x,r.offset.x),Qf(t.y,r.offset.y)),t}removeElementScroll(e){const t={x:{min:0,max:0},y:{min:0,max:0}};Am(t,e);for(let r=0;r<this.path.length;r++){const n=this.path[r],{scroll:o,options:i}=n;if(n!==this.root&&o&&i.layoutScroll){if(o.isRoot){Am(t,e);const{scroll:r}=this.root;r&&(Qf(t.x,-r.offset.x),Qf(t.y,-r.offset.y))}Qf(t.x,o.offset.x),Qf(t.y,o.offset.y)}}return t}applyTransform(e,t=!1){const r={x:{min:0,max:0},y:{min:0,max:0}};Am(r,e);for(let n=0;n<this.path.length;n++){const e=this.path[n];!t&&e.options.layoutScroll&&e.scroll&&e!==e.root&&nm(r,{x:-e.scroll.offset.x,y:-e.scroll.offset.y}),Uf(e.latestValues)&&nm(r,e.latestValues)}return Uf(this.latestValues)&&nm(r,this.latestValues),r}removeTransform(e){const t={x:{min:0,max:0},y:{min:0,max:0}};Am(t,e);for(let r=0;r<this.path.length;r++){const e=this.path[r];if(!e.instance)continue;if(!Uf(e.latestValues))continue;Hf(e.latestValues)&&e.updateSnapshot();const n=Vf();Am(n,e.measurePageBox()),Bm(t,e.latestValues,e.snapshot?e.snapshot.layoutBox:void 0,n)}return Uf(this.latestValues)&&Bm(t,this.latestValues),t}setTargetDelta(e){this.targetDelta=e,this.root.scheduleUpdateProjection(),this.isProjectionDirty=!0}setOptions(e){this.options={...this.options,...e,crossfade:void 0===e.crossfade||e.crossfade}}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!==jd.timestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(e=!1){var t;const r=this.getLead();this.isProjectionDirty||(this.isProjectionDirty=r.isProjectionDirty),this.isTransformDirty||(this.isTransformDirty=r.isTransformDirty),this.isSharedProjectionDirty||(this.isSharedProjectionDirty=r.isSharedProjectionDirty);const n=Boolean(this.resumingFrom)||this!==r;if(!(e||n&&this.isSharedProjectionDirty||this.isProjectionDirty||(null===(t=this.parent)||void 0===t?void 0:t.isProjectionDirty)||this.attemptToResolveRelativeTarget))return;const{layout:o,layoutId:i}=this.options;if(this.layout&&(o||i)){if(this.resolvedRelativeTargetAt=jd.timestamp,!this.targetDelta&&!this.relativeTarget){const e=this.getClosestProjectingParent();e&&e.layout&&1!==this.animationProgress?(this.relativeParent=e,this.forceRelativeParentToResolveTarget(),this.relativeTarget={x:{min:0,max:0},y:{min:0,max:0}},this.relativeTargetOrigin={x:{min:0,max:0},y:{min:0,max:0}},Mf(this.relativeTargetOrigin,this.layout.layoutBox,e.layout.layoutBox),Am(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}if(this.relativeTarget||this.targetDelta){var a,s,l;if(this.target||(this.target={x:{min:0,max:0},y:{min:0,max:0}},this.targetWithTransforms={x:{min:0,max:0},y:{min:0,max:0}}),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target?(this.forceRelativeParentToResolveTarget(),a=this.target,s=this.relativeTarget,l=this.relativeParent.target,Rf(a.x,s.x,l.x),Rf(
280a.y,s.y,l.y)):this.targetDelta?(Boolean(this.resumingFrom)?this.target=this.applyTransform(this.layout.layoutBox):Am(this.target,this.layout.layoutBox),Kf(this.target,this.targetDelta)):Am(this.target,this.layout.layoutBox),this.attemptToResolveRelativeTarget){this.attemptToResolveRelativeTarget=!1;const e=this.getClosestProjectingParent();e&&Boolean(e.resumingFrom)===Boolean(this.resumingFrom)&&!e.options.layoutScroll&&e.target&&1!==this.animationProgress?(this.relativeParent=e,this.forceRelativeParentToResolveTarget(),this.relativeTarget={x:{min:0,max:0},y:{min:0,max:0}},this.relativeTargetOrigin={x:{min:0,max:0},y:{min:0,max:0}},Mf(this.relativeTargetOrigin,this.target,e.target),Am(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}Xm.resolvedTargetDeltas++}}}getClosestProjectingParent(){if(this.parent&&!Hf(this.parent.latestValues)&&!qf(this.parent.latestValues))return this.parent.isProjecting()?this.parent:this.parent.getClosestProjectingParent()}isProjecting(){return Boolean((this.relativeTarget||this.targetDelta||this.options.layoutRoot)&&this.layout)}calcProjection(){var e;const t=this.getLead(),r=Boolean(this.resumingFrom)||this!==t;let n=!0;if((this.isProjectionDirty||(null===(e=this.parent)||void 0===e?void 0:e.isProjectionDirty))&&(n=!1),r&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(n=!1),this.resolvedRelativeTargetAt===jd.timestamp&&(n=!1),n)return;const{layout:o,layoutId:i}=this.options;if(this.isTreeAnimating=Boolean(this.parent&&this.parent.isTreeAnimating||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),!this.layout||!o&&!i)return;Am(this.layoutCorrected,this.layout.layoutBox);const a=this.treeScale.x,s=this.treeScale.y;!function(e,t,r,n=!1){const o=r.length;if(!o)return;let i,a;t.x=t.y=1;for(let s=0;s<o;s++){i=r[s],a=i.projectionDelta;const o=i.instance;o&&o.style&&"contents"===o.style.display||(n&&i.options.layoutScroll&&i.scroll&&i!==i.root&&nm(e,{x:-i.scroll.offset.x,y:-i.scroll.offset.y}),a&&(t.x*=a.x.scale,t.y*=a.y.scale,Kf(e,a)),n&&Uf(i.latestValues)&&nm(e,i.latestValues))}t.x=Jf(t.x),t.y=Jf(t.y)}(this.layoutCorrected,this.treeScale,this.path,r),!t.layout||t.target||1===this.treeScale.x&&1===this.treeScale.y||(t.target=t.layout.layoutBox);const{target:l}=t;if(!l)return void(this.projectionTransform&&(this.projectionDelta={x:{translate:0,scale:1,origin:0,originPoint:0},y:{translate:0,scale:1,origin:0,originPoint:0}},this.projectionTransform="none",this.scheduleRender()));this.projectionDelta||(this.projectionDelta={x:{translate:0,scale:1,origin:0,originPoint:0},y:{translate:0,scale:1,origin:0,originPoint:0}},this.projectionDeltaWithTransform={x:{translate:0,scale:1,origin:0,originPoint:0},y:{translate:0,scale:1,origin:0,originPoint:0}});const c=this.projectionTransform;zf(this.projectionDelta,this.layoutCorrected,l,this.latestValues),this.projectionTransform=Lm(this.projectionDelta,this.treeScale),this.projectionTransform===c&&this.treeScale.x===a&&this.treeScale.y===s||(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",l)),Xm.recalculatedProjection++}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(e=!0){if(this.options.scheduleRender&&this.options.scheduleRender(),e){const e=this.getStack();e&&e.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}setAnimationOrigin(e,t=!1){const r=this.snapshot,n=r?r.latestValues:{},o={...this.latestValues},i={x:{translate:0,scale:1,origin:0,originPoint:0},y:{translate:0,scale:1,origin:0,originPoint:0}};this.relativeParent&&this.relativeParent.options.layoutRoot||(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!t;const a={x:{min:0,max:0},y:{min:0,max:0}},s=(r?r.source:void 0)!==(this.layout?this.layout.source:void 0),l=this.getStack(),c=!l||l.members.length<=1,u=Boolean(s&&!c&&!0===this.options.crossfade&&!this.path.some(ug));let d;this.animationProgress=0,this.mixTargetDelta=t=>{const r=t/1e3;var l,p,h,f,m,g;lg(i.x,e.x,r),lg(i.y,e.y,r),this.setTargetDelta(i),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&(Mf(a,this.layout.layoutBox,this.relativeParent.layout.layoutBox),h=this.relativeTarget,f=this.relativeTargetOrigin,m=a,g=r,cg(h.x,f.x,m.x,g),cg(h.y,f.y,m.y,g),d&&(l=this.relativeTarget,p=d,l.x.min===p.x.min&&l.x.max===p.x.max&&l.y.min===p.y.min&&l.y.max===p.y.max)&&(this.isProjectionDirty=!1),d||(d={x:{min:0,max:0},y:{min:0,max:0}}),Am(d,this.relativeTarget)),s&&(this.animationValues=o,function(e,t,r,n,o,i){o?(e.opacity=Op(0,void 0!==r.opacity?r.opacity:1,Cm(n)),e.opacityExit=Op(void 0!==t.opacity?t.opacity:1,0,_m(n))):i&&(e.opacity=Op(void 0!==t.opacity?t.opacity:1,void 0!==r.opacity?r.opacity:1,n));for(let a=0;a<xm;a++){const o=`border${ym[a]}Radius`;let i=km(t,o),s=km(r,o);void 0===i&&void 0===s||(i||(i=0),s||(s=0),0===i||0===s||Sm(i)===Sm(s)?(e[o]=Math.max(Op(wm(i),wm(s),n),0),(Nu.test(s)||Nu.test(i))&&(e[o]+="%")):e[o]=s)}(t.rotate||r.rotate)&&(e.rotate=Op(t.rotate||0,r.rotate||0,n))}
280(o,n,this.latestValues,r,u,c)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=r},this.mixTargetDelta(this.options.layoutRoot?1e3:0)}startAnimation(e){this.notifyListeners("animationStart"),this.currentAnimation&&this.currentAnimation.stop(),this.resumingFrom&&this.resumingFrom.currentAnimation&&this.resumingFrom.currentAnimation.stop(),this.pendingAnimation&&(Td(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=Ad.update(()=>{pm.hasAnimatedSinceResize=!0,this.currentAnimation=Nm(0,1e3,{...e,onUpdate:t=>{this.mixTargetDelta(t),e.onUpdate&&e.onUpdate(t)},onComplete:()=>{e.onComplete&&e.onComplete(),this.completeAnimation()}}),this.resumingFrom&&(this.resumingFrom.currentAnimation=this.currentAnimation),this.pendingAnimation=void 0})}completeAnimation(){this.resumingFrom&&(this.resumingFrom.currentAnimation=void 0,this.resumingFrom.preserveOpacity=void 0);const e=this.getStack();e&&e.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")}finishAnimation(){this.currentAnimation&&(this.mixTargetDelta&&this.mixTargetDelta(1e3),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){const e=this.getLead();let{targetWithTransforms:t,target:r,layout:n,latestValues:o}=e;if(t&&r&&n){if(this!==e&&this.layout&&n&&mg(this.options.animationType,this.layout.layoutBox,n.layoutBox)){r=this.target||{x:{min:0,max:0},y:{min:0,max:0}};const t=Af(this.layout.layoutBox.x);r.x.min=e.target.x.min,r.x.max=r.x.min+t;const n=Af(this.layout.layoutBox.y);r.y.min=e.target.y.min,r.y.max=r.y.min+n}Am(t,r),nm(t,o),zf(this.projectionDeltaWithTransform,this.layoutCorrected,t,o)}}registerSharedNode(e,t){this.sharedNodes.has(e)||this.sharedNodes.set(e,new Im);this.sharedNodes.get(e).add(t);const r=t.options.initialPromotionConfig;t.promote({transition:r?r.transition:void 0,preserveFollowOpacity:r&&r.shouldPreserveFollowOpacity?r.shouldPreserveFollowOpacity(t):void 0})}isLead(){const e=this.getStack();return!e||e.lead===this}getLead(){var e;const{layoutId:t}=this.options;return t&&(null===(e=this.getStack())||void 0===e?void 0:e.lead)||this}getPrevLead(){var e;const{layoutId:t}=this.options;return t?null===(e=this.getStack())||void 0===e?void 0:e.prevLead:void 0}getStack(){const{layoutId:e}=this.options;if(e)return this.root.sharedNodes.get(e)}promote({needsReset:e,transition:t,preserveFollowOpacity:r}={}){const n=this.getStack();n&&n.promote(this,r),e&&(this.projectionDelta=void 0,this.needsReset=!0),t&&this.setOptions({transition:t})}relegate(){const e=this.getStack();return!!e&&e.relegate(this)}resetRotation(){const{visualElement:e}=this.options;if(!e)return;let t=!1;const{latestValues:r}=e;if((r.rotate||r.rotateX||r.rotateY||r.rotateZ)&&(t=!0),!t)return;const n={};for(let o=0;o<Hm.length;o++){const t="rotate"+Hm[o];r[t]&&(n[t]=r[t],e.setStaticValue(t,0))}e.render();for(const o in n)e.setStaticValue(o,n[o]);e.scheduleRender()}getProjectionStyles(e){var t,r;if(!this.instance||this.isSVG)return;if(!this.isVisible)return Um;const n={visibility:""},o=this.getTransformTemplate();if(this.needsReset)return this.needsReset=!1,n.opacity="",n.pointerEvents=Sd(null==e?void 0:e.pointerEvents)||"",n.transform=o?o(this.latestValues,""):"none",n;const i=this.getLead();if(!this.projectionDelta||!this.layout||!i.target){const t={};return this.options.layoutId&&(t.opacity=void 0!==this.latestValues.opacity?this.latestValues.opacity:1,t.pointerEvents=Sd(null==e?void 0:e.pointerEvents)||""),this.hasProjected&&!Uf(this.latestValues)&&(t.transform=o?o({},""):"none",this.hasProjected=!1),t}const a=i.animationValues||i.latestValues;this.applyTransformsToTarget(),n.transform=Lm(this.projectionDeltaWithTransform,this.treeScale,a),o&&(n.transform=o(a,n.transform));const{x:s,y:l}=this.projectionDelta;n.transformOrigin=`${100*s.origin}% ${100*l.origin}% 0`,i.animationValues?n.opacity=i===this?null!==(r=null!==(t=a.opacity)&&void 0!==t?t:this.latestValues.opacity)&&void 0!==r?r:1:this.preserveOpacity?this.latestValues.opacity:a.opacityExit:n.opacity=i===this?void 0!==a.opacity?a.opacity:"":void 0!==a.opacityExit?a.opacityExit:0;for(const c in wu){if(void 0===a[c])continue;const{correct:e,applyTo:t}=wu[c],r="none"===n.transform?a[c]:e(a[c],i);if(t){const e=t.length;for(let o=0;o<e;o++)n[t[o]]=r}else n[c]=r}return this.options.layoutId&&(n.pointerEvents=i===this?Sd(null==e?void 0:e.pointerEvents)||"":"none"),n}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}
280resetTree(){this.root.nodes.forEach(e=>{var t;return null===(t=e.currentAnimation)||void 0===t?void 0:t.stop()}),this.root.nodes.forEach(eg),this.root.sharedNodes.clear()}}}function Gm(e){e.updateLayout()}function Zm(e){var t;const r=(null===(t=e.resumeFrom)||void 0===t?void 0:t.snapshot)||e.snapshot;if(e.isLead()&&e.layout&&r&&e.hasListeners("didUpdate")){const{layoutBox:t,measuredBox:n}=e.layout,{animationType:o}=e.options,i=r.source!==e.layout.source;"size"===o?Ff(e=>{const n=i?r.measuredBox[e]:r.layoutBox[e],o=Af(n);n.min=t[e].min,n.max=n.min+o}):mg(o,r.layoutBox,t)&&Ff(n=>{const o=i?r.measuredBox[n]:r.layoutBox[n],a=Af(t[n]);o.max=o.min+a,e.relativeTarget&&!e.currentAnimation&&(e.isProjectionDirty=!0,e.relativeTarget[n].max=e.relativeTarget[n].min+a)});const a={x:{translate:0,scale:1,origin:0,originPoint:0},y:{translate:0,scale:1,origin:0,originPoint:0}};zf(a,t,r.layoutBox);const s={x:{translate:0,scale:1,origin:0,originPoint:0},y:{translate:0,scale:1,origin:0,originPoint:0}};i?zf(s,e.applyTransform(n,!0),r.measuredBox):zf(s,t,r.layoutBox);const l=!$m(a);let c=!1;if(!e.resumeFrom){const n=e.getClosestProjectingParent();if(n&&!n.resumeFrom){const{snapshot:o,layout:i}=n;if(o&&i){const a={x:{min:0,max:0},y:{min:0,max:0}};Mf(a,r.layoutBox,o.layoutBox);const s={x:{min:0,max:0},y:{min:0,max:0}};Mf(s,t,i.layoutBox),Om(a,s)||(c=!0),n.options.layoutRoot&&(e.relativeTarget=s,e.relativeTargetOrigin=a,e.relativeParent=n)}}}e.notifyListeners("didUpdate",{layout:t,snapshot:r,delta:s,layoutDelta:a,hasLayoutChanged:l,hasRelativeTargetChanged:c})}else if(e.isLead()){const{onExitComplete:t}=e.options;t&&t()}e.options.transition=void 0}function Km(e){Xm.totalNodes++,e.parent&&(e.isProjecting()||(e.isProjectionDirty=e.parent.isProjectionDirty),e.isSharedProjectionDirty||(e.isSharedProjectionDirty=Boolean(e.isProjectionDirty||e.parent.isProjectionDirty||e.parent.isSharedProjectionDirty)),e.isTransformDirty||(e.isTransformDirty=e.parent.isTransformDirty))}function Jm(e){e.isProjectionDirty=e.isSharedProjectionDirty=e.isTransformDirty=!1}function Qm(e){e.clearSnapshot()}function eg(e){e.clearMeasurements()}function tg(e){e.isLayoutDirty=!1}function rg(e){const{visualElement:t}=e.options;t&&t.getProps().onBeforeLayoutMeasure&&t.notify("BeforeLayoutMeasure"),e.resetTransform()}function ng(e){e.finishAnimation(),e.targetDelta=e.relativeTarget=e.target=void 0,e.isProjectionDirty=!0}function og(e){e.resolveTargetDelta()}function ig(e){e.calcProjection()}function ag(e){e.resetRotation()}function sg(e){e.removeLeadSnapshot()}function lg(e,t,r){e.translate=Op(t.translate,0,r),e.scale=Op(t.scale,1,r),e.origin=t.origin,e.originPoint=t.originPoint}function cg(e,t,r,n){e.min=Op(t.min,r.min,n),e.max=Op(t.max,r.max,n)}function ug(e){return e.animationValues&&void 0!==e.animationValues.opacityExit}const dg={duration:.45,ease:[.4,0,.1,1]},pg=e=>"undefined"!=typeof navigator&&navigator.userAgent.toLowerCase().includes(e),hg=pg("applewebkit/")&&!pg("chrome/")?Math.round:_d;function fg(e){e.min=hg(e.min),e.max=hg(e.max)}function mg(e,t,r){return"position"===e||"preserve-aspect"===e&&!Tf(Dm(t),Dm(r),.2)}const gg=Ym({attachResizeListener:(e,t)=>Md(e,"resize",t),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}),checkIsScrollRoot:()=>!0}),bg={current:void 0},vg=Ym({measureScroll:e=>({x:e.scrollLeft,y:e.scrollTop}),defaultParent:()=>{if(!bg.current){const e=new gg({});e.mount(window),e.setOptions({layoutScroll:!0}),bg.current=e}return bg.current},resetTransform:(e,t)=>{e.style.transform=void 0!==t?t:"none"},checkIsScrollRoot:e=>Boolean("fixed"===window.getComputedStyle(e).position)}),yg={pan:{Feature:class extends Ud{constructor(){super(...arguments),this.removePointerDownListener=_d}onPointerDown(e){this.session=new wf(e,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:im(this.node)})}createPanHandlers(){const{onPanSessionStart:e,onPanStart:t,onPan:r,onPanEnd:n}=this.node.getProps();return{onSessionStart:cm(e),onStart:cm(t),onMove:r,onEnd:(e,t)=>{delete this.session,n&&Ad.update(()=>n(e,t))}}}mount(){this.removePointerDownListener=Dd(this.node.current,"pointerdown",e=>this.onPointerDown(e))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}}},drag:{Feature:class extends Ud{constructor(e){super(e),this.removeGroupControls=_d,this.removeListeners=_d,this.controls=new sm(e)}mount(){const{dragControls:e}=this.node.getProps();e&&(this.removeGroupControls=e.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||_d}unmount(){this.removeGroupControls(),this.removeListeners()}},ProjectionNode:vg,MeasureLayout:bm}},xg=/var\((--[a-zA-Z0-9-_]+),? ?([a-zA-Z0-9 ()%#.,-]+)?\)/;function wg(e,t,r=1){const[n,o]=function(e){const t=xg.exec(e);if(!t)return[,];const[,r,n]=t;return[r,n]}(e);if(!n)return;const i=window.getComputedStyle(t).getPropertyValue(n);if(i){const e=i.trim();return qh(e)?parseFloat(e):e}return ju(o)?wg(o,t,r+1):o}const Sg=new Set(["width","height","top","left","right","bottom","x","y","translateX","translateY"]),kg=e=>Sg.has(e),Cg=e=>e===Bu||e===Hu,_g=(e,t)=>parseFloat(e.split(", ")[t]),Pg=(e,t)=>(r,{transform:n})=>{if("none"===n||!n)return 0;const o=n.match(/^matrix3d\((.+)\)$/);if(o)return _g(o[1],t);{const t=n.match(/^matrix\((.+)\)$/);return t?_g(t[1],e):0}},Eg=new Set(["x","y","z"]),Ag=Su.filter(e=>!Eg.has(e));const Tg={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:Pg(4,13),y:Pg(5,14)};Tg.translateX=Tg.x,Tg.translateY=Tg.y;const jg=(e,t,r={},n={})=>{t={...t},n={...n};const o=Object.keys(t).filter(kg);let i=[],a=!1;const s=[];
280if(o.forEach(o=>{const l=e.getValue(o);if(!e.hasValue(o))return;let c=r[o],u=tf(c);const d=t[o];let p;if(xd(d)){const e=d.length,t=null===d[0]?1:0;c=d[t],u=tf(c);for(let r=t;r<e&&null!==d[r];r++)p?op(tf(d[r])===p):p=tf(d[r])}else p=tf(d);if(u!==p)if(Cg(u)&&Cg(p)){const e=l.get();"string"==typeof e&&l.set(parseFloat(e)),"string"==typeof d?t[o]=parseFloat(d):Array.isArray(d)&&p===Hu&&(t[o]=d.map(parseFloat))}else(null==u?void 0:u.transform)&&(null==p?void 0:p.transform)&&(0===c||0===d)?0===c?l.set(p.transform(c)):t[o]=u.transform(d):(a||(i=function(e){const t=[];return Ag.forEach(r=>{const n=e.getValue(r);void 0!==n&&(t.push([r,n.get()]),n.set(r.startsWith("scale")?1:0))}),t.length&&e.render(),t}(e),a=!0),s.push(o),n[o]=void 0!==n[o]?n[o]:t[o],l.jump(d))}),s.length){const r=s.indexOf("height")>=0?window.pageYOffset:null,o=((e,t,r)=>{const n=t.measureViewportBox(),o=t.current,i=getComputedStyle(o),{display:a}=i,s={};"none"===a&&t.setStaticValue("display",e.display||"block"),r.forEach(e=>{s[e]=Tg[e](n,i)}),t.render();const l=t.measureViewportBox();return r.forEach(r=>{const n=t.getValue(r);n&&n.jump(s[r]),e[r]=Tg[r](l,i)}),e})(t,e,s);return i.length&&i.forEach(([t,r])=>{e.getValue(t).set(r)}),e.render(),Kc&&null!==r&&window.scrollTo({top:r}),{target:o,transitionEnd:n}}return{target:t,transitionEnd:n}};function zg(e,t,r,n){return(e=>Object.keys(e).some(kg))(t)?jg(e,t,r,n):{target:t,transitionEnd:n}}const Rg=(e,t,r,n)=>{const o=function(e,{...t},r){const n=e.current;if(!(n instanceof Element))return{target:t,transitionEnd:r};r&&(r={...r}),e.values.forEach(e=>{const t=e.get();if(!ju(t))return;const r=wg(t,n);r&&e.set(r)});for(const o in t){const e=t[o];if(!ju(e))continue;const i=wg(e,n);i&&(t[o]=i,r||(r={}),void 0===r[o]&&(r[o]=e))}return{target:t,transitionEnd:r}}(e,t,n);return zg(e,t=o.target,r,n=o.transitionEnd)},Bg={current:null},Mg={current:!1};function $g(){if(Mg.current=!0,Kc)if(window.matchMedia){const e=window.matchMedia("(prefers-reduced-motion)"),t=()=>Bg.current=e.matches;e.addListener(t),t()}else Bg.current=!1}const Og=new WeakMap,Dg=Object.keys(pu),Ig=Dg.length,Lg=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"],Vg=au.length;class Fg{constructor({parent:e,props:t,presenceContext:r,reducedMotionConfig:n,visualState:o},i={}){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=()=>Ad.render(this.render,!1,!0);const{latestValues:a,renderState:s}=o;this.latestValues=a,this.baseTarget={...a},this.initialValues=t.initial?{...a}:{},this.renderState=s,this.parent=e,this.props=t,this.presenceContext=r,this.depth=e?e.depth+1:0,this.reducedMotionConfig=n,this.options=i,this.isControllingVariants=su(t),this.isVariantNode=lu(t),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=Boolean(e&&e.current);const{willChange:l,...c}=this.scrapeMotionValuesFromProps(t,{});for(const u in c){const e=c[u];void 0!==a[u]&&_u(e)&&(e.set(a[u],!1),Uh(l)&&l.add(u))}}scrapeMotionValuesFromProps(e,t){return{}}mount(e){this.current=e,Og.set(e,this),this.projection&&!this.projection.instance&&this.projection.mount(e),this.parent&&this.isVariantNode&&!this.isControllingVariants&&(this.removeFromVariantTree=this.parent.addVariantChild(this)),this.values.forEach((e,t)=>this.bindToMotionValue(t,e)),Mg.current||$g(),this.shouldReduceMotion="never"!==this.reducedMotionConfig&&("always"===this.reducedMotionConfig||Bg.current),this.parent&&this.parent.children.add(this),this.update(this.props,this.presenceContext)}unmount(){Og.delete(this.current),this.projection&&this.projection.unmount(),Td(this.notifyUpdate),Td(this.render),this.valueSubscriptions.forEach(e
vendor: 5,720 bytes, line 280
280=>e()),this.removeFromVariantTree&&this.removeFromVariantTree(),this.parent&&this.parent.children.delete(this);for(const e in this.events)this.events[e].clear();for(const e in this.features)this.features[e].unmount();this.current=null}bindToMotionValue(e,t){const r=ku.has(e),n=t.on("change",t=>{this.latestValues[e]=t,this.props.onUpdate&&Ad.update(this.notifyUpdate,!1,!0),r&&this.projection&&(this.projection.isTransformDirty=!0)}),o=t.on("renderRequest",this.scheduleRender);this.valueSubscriptions.set(e,()=>{n(),o()})}sortNodePosition(e){return this.current&&this.sortInstanceNodePosition&&this.type===e.type?this.sortInstanceNodePosition(this.current,e.current):0}loadFeatures({children:e,...t},r,n,o){let i,a;for(let s=0;s<Ig;s++){const e=Dg[s],{isEnabled:r,Feature:n,ProjectionNode:o,MeasureLayout:l}=pu[e];o&&(i=o),r(t)&&(!this.features[e]&&n&&(this.features[e]=new n(this)),l&&(a=l))}if(("html"===this.type||"svg"===this.type)&&!this.projection&&i){this.projection=new i(this.latestValues,this.parent&&this.parent.projection);const{layoutId:e,layout:r,drag:n,dragConstraints:a,layoutScroll:s,layoutRoot:l}=t;this.projection.setOptions({layoutId:e,layout:r,alwaysMeasureLayout:Boolean(n)||a&&ru(a),visualElement:this,scheduleRender:()=>this.scheduleRender(),animationType:"string"==typeof r?r:"both",initialPromotionConfig:o,layoutScroll:s,layoutRoot:l})}return a}updateFeatures(){for(const e in this.features){const t=this.features[e];t.isMounted?t.update():(t.mount(),t.isMounted=!0)}}triggerBuild(){this.build(this.renderState,this.latestValues,this.options,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):{x:{min:0,max:0},y:{min:0,max:0}}}getStaticValue(e){return this.latestValues[e]}setStaticValue(e,t){this.latestValues[e]=t}makeTargetAnimatable(e,t=!0){return this.makeTargetAnimatableFromInstance(e,this.props,t)}update(e,t){(e.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=e,this.prevPresenceContext=this.presenceContext,this.presenceContext=t;for(let r=0;r<Lg.length;r++){const t=Lg[r];this.propEventSubscriptions[t]&&(this.propEventSubscriptions[t](),delete this.propEventSubscriptions[t]);const n=e["on"+t];n&&(this.propEventSubscriptions[t]=this.on(t,n))}this.prevMotionValues=function(e,t,r){const{willChange:n}=t;for(const o in t){const i=t[o],a=r[o];if(_u(i))e.addValue(o,i),Uh(n)&&n.add(o);else if(_u(a))e.addValue(o,Jh(i,{owner:e})),Uh(n)&&n.remove(o);else if(a!==i)if(e.hasValue(o)){const t=e.getValue(o);!t.hasAnimated&&t.set(i)}else{const t=e.getStaticValue(o);e.addValue(o,Jh(void 0!==t?t:i,{owner:e}))}}for(const o in r)void 0===t[o]&&e.removeValue(o);return t}(this,this.scrapeMotionValuesFromProps(e,this.prevProps),this.prevMotionValues),this.handleChildMotionValue&&this.handleChildMotionValue()}getProps(){return this.props}getVariant(e){return this.props.variants?this.props.variants[e]: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(e=!1){if(e)return this.parent?this.parent.getVariantContext():void 0;if(!this.isControllingVariants){const e=this.parent&&this.parent.getVariantContext()||{};return void 0!==this.props.initial&&(e.initial=this.props.initial),e}const t={};for(let r=0;r<Vg;r++){const e=au[r],n=this.props[e];(nu(n)||!1===n)&&(t[e]=n)}return t}addVariantChild(e){const t=this.getClosestVariantNode();if(t)return t.variantChildren&&t.variantChildren.add(e),()=>t.variantChildren.delete(e)}addValue(e,t){t!==this.values.get(e)&&(this.removeValue(e),this.bindToMotionValue(e,t)),this.values.set(e,t),this.latestValues[e]=t.get()}removeValue(e){this.values.delete(e);const t=this.valueSubscriptions.get(e);t&&(t(),this.valueSubscriptions.delete(e)),delete this.latestValues[e],this.removeValueFromRenderState(e,this.renderState)}hasValue(e){return this.values.has(e)}getValue(e,t){if(this.props.values&&this.props.values[e])return this.props.values[e];let r=this.values.get(e);return void 0===r&&void 0!==t&&(r=Jh(t,{owner:this}),this.addValue(e,r)),r}readValue(e){var t;return void 0===this.latestValues[e]&&this.current?null!==(t=this.getBaseTargetFromProps(this.props,e))&&void 0!==t?t:this.readValueFromInstance(this.current,e,this.options):this.latestValues[e]}setBaseTarget(e,t){this.baseTarget[e]=t}getBaseTarget(e){var t;const{initial:r}=this.props,n="string"==typeof r||"object"==typeof r?null===(t=vd(this.props,r))||void 0===t?void 0:t[e]:void 0;if(r&&void 0!==n)return n;const o=this.getBaseTargetFromProps(this.props,e);return void 0===o||_u(o)?void 0!==this.initialValues[e]&&void 0===n?void 0:this.baseTarget[e]:o}on(e,t){return this.events[e]||(this.events[e]=new Gh),this.events[e].add(t)}notify(e,...t){this.events[e]&&this.events[e].notify(...t)}}class Wg extends Fg{sortInstanceNodePosition(e,t){return 2&e.compareDocumentPosition(t)?1:-1}getBaseTargetFromProps(e,t){return e.style?e.style[t]:void 0}removeValueFromRenderState(e,{vars:t,style:r}){delete t[e],delete r[e]}makeTargetAnimatableFromInstance({transition:e,transitionEnd:t,...r},{transformValues:n},o){let i=function(e,t,r){const n={};for(const o in e){const e=af(o,t);if(void 0!==e)n[o]=e;else{const e=r.getValue(o);e&&(n[o]=e.get())}}return n}(r,e||{},this);if(n&&(t&&(t=n(t)),r&&(r=n(r)),i&&(i=n(i))),o){!function(e,t,r){var n,o;const i=Object.keys(t).filter(t=>!e.hasValue(t)),a=i.length;if(a)for(let s=0;s<a;s++){const a=i[s],l=t[a];let c=null;Array.isArray(l)&&(c=l[0]),null===c&&(c=null!==(o=null!==(n=r[a])&&void 0!==n?n:e.readValue(a))&&void 0!==o?o:t[a
280]),null!=c&&("string"==typeof c&&(qh(c)||Vh(c))?c=parseFloat(c):!nf(c)&&Zp.test(l)&&(c=Lh(a,l)),e.addValue(a,Jh(c,{owner:e})),void 0===r[a]&&(r[a]=c),null!==c&&e.setBaseTarget(a,c))}}(this,r,i);const e=Rg(this,r,i,t);t=e.transitionEnd,r=e.target}return{transition:e,transitionEnd:t,...r}}}class Ng extends Wg{constructor(){super(...arguments),this.type="html"}readValueFromInstance(e,t){if(ku.has(t)){const e=Ih(t);return e&&e.default||0}{const n=(r=e,window.getComputedStyle(r)),o=(Tu(t)?n.getPropertyValue(t):n[t])||0;return"string"==typeof o?o.trim():o}var r}measureInstanceViewportBox(e,{transformPagePoint:t}){return om(e,t)}build(e,t,r,n){Zu(e,t,r,n.transformTemplate)}scrapeMotionValuesFromProps(e,t){return gd(e,t)}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);const{children:e}=this.props;_u(e)&&(this.childSubscription=e.on("change",e=>{this.current&&(this.current.textContent=`${e}`)}))}renderInstance(e,t,r,n){hd(e,t,r,n)}}class Hg extends Wg{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1}getBaseTargetFromProps(e,t){return e[t]}readValueFromInstance(e,t){if(ku.has(t)){const e=Ih(t);return e&&e.default||0}return t=fd.has(t)?t:eu(t),e.getAttribute(t)}measureInstanceViewportBox(){return{x:{min:0,max:0},y:{min:0,max:0}}}scrapeMotionValuesFromProps(e,t){return bd(e,t)}
280build(e,t,r,n){ld(e,t,r,this.isSVGTag,n.transformTemplate)}renderInstance(e,t,r,n){md(e,t,0,n)}mount(e){this.isSVGTag=ud(e.tagName),super.mount(e)}}const Ug=(e,t)=>xu(e)?new Hg(t,{enableHardwareAcceleration:!1}):new Ng(t,{enableHardwareAcceleration:!0}),qg={...yf,...tp,...yg,...{layout:{ProjectionNode:vg,MeasureLayout:bm}}},Xg=vu((e,t)=>function(e,{forwardMotionProps:t=!1},r,n){return{...xu(e)?Rd:Bd,preloadedFeatures:r,useRender:pd(t),createVisualElement:n,Component:e}}(e,t,qg,Ug));function Yg(){const e=b.useRef(!1);return Jc(()=>(e.current=!0,()=>{e.current=!1}),[]),e}function Gg(){const e=Yg(),[t,r]=b.useState(0),n=b.useCallback(()=>{e.current&&r(t+1)},[t]);return[b.useCallback(()=>Ad.postRender(n),[n]),t]}class Zg extends b.Component{getSnapshotBeforeUpdate(e){const t=this.props.childRef.current;if(t&&e.isPresent&&!this.props.isPresent){const e=this.props.sizeRef.current;e.height=t.offsetHeight||0,e.width=t.offsetWidth||0,e.top=t.offsetTop,e.left=t.offsetLeft}return null}componentDidUpdate(){}render(){return this.props.children}}function Kg({children:e,isPresent:t}){const r=b.useId(),n=b.useRef(null),o=b.useRef({width:0,height:0,top:0,left:0});return b.useInsertionEffect(()=>{const{width:e,height:i,top:a,left:s}=o.current;if(t||!n.current||!e||!i)return;n.current.dataset.motionPopId=r;const l=document.createElement("style");return document.head.appendChild(l),l.sheet&&l.sheet.insertRule(`\n          [data-motion-pop-id="${r}"] {\n            position: absolute !important;\n            width: ${e}px !important;\n            height: ${i}px !important;\n            top: ${a}px !important;\n            left: ${s}px !important;\n          }\n        `),()=>{document.head.removeChild(l)}},[t]),b.createElement(Zg,{isPresent:t,childRef:n,sizeRef:o},b.cloneElement(e,{ref:n}))}const Jg=({children:e,initial:t,isPresent:r,onExitComplete:n,custom:o,presenceAffectsLayout:i,mode:a})=>{const s=yd(Qg),l=b.useId(),c=b.useMemo(()=>({id:l,initial:t,isPresent:r,custom:o,onExitComplete:e=>{s.set(e,!0);for(const t of s.values())if(!t)return;n&&n()},register:e=>(s.set(e,!1),()=>s.delete(e))}),i?void 0:[r]);return b.useMemo(()=>{s.forEach((e,t)=>s.set(t,!1))},[r]),b.useEffect(()=>{!r&&!s.size&&n&&n()},[r]),"popLayout"===a&&(e=b.createElement(Kg,{isPresent:r},e)),b.createElement(Zc.Provider,{value:c},e)};function Qg(){return new Map}const eb=e=>e.key||"";const tb=({children:e,custom:t,initial:r=!0,onExitComplete:n,exitBeforeEnter:o,presenceAffectsLayout:i=!0,mode:a="sync"})=>{const s=b.useContext(hu).forceRender||Gg()[0],l=Yg(),c=function(e){const t=[];return b.Children.forEach(e,e=>{b.isValidElement(e)&&t.push(e)}),t}(e);let u=c;const d=b.useRef(new Map).current,p=b.useRef(u),h=b.useRef(new Map).current,f=b.useRef(!0);var m;if(Jc(()=>{f.current=!1,function(e,t){e.forEach(e=>{const r=eb(e);t.set(r,e)})}(c,h),p.current=u}),m=()=>{f.current=!0,h.clear(),d.clear()},b.useEffect(()=>()=>m(),[]),f.current)return b.createElement(b.Fragment,null,u.map(e=>b.createElement(Jg,{key:eb(e),isPresent:!0,initial:!!r&&void 0,presenceAffectsLayout:i,mode:a},e)));u=[...u];const g=p.current.map(eb),v=c.map(eb),y=g.length;for(let b=0;b<y;b++){const e=g[b];-1!==v.indexOf(e)||d.has(e)||d.set(e,void 0)}return"wait"===a&&d.size&&(u=[]),d.forEach((e,r)=>{if(-1!==v.indexOf(r))return;const o=h.get(r);if(!o)return;const f=g.indexOf(r);let m=e;if(!m){const e=()=>{d.delete(r);const e=Array.from(h.keys()).filter(e=>!v.includes(e));if(e.forEach(e=>h.delete(e)),p.current=c.filter(t=>{const n=eb(t);return n===r||e.includes(n)}),!d.size){if(!1===l.current)return;s(),n&&n()}};m=b.createElement(Jg,{key:eb(o),isPresent:!1,onExitComplete:e,custom:t,presenceAffectsLayout:i,mode:a},o),d.set(r,m)}u.splice(f,0,m)}),u=u.map(e=>{const t=e.key;return d.has(t)?e:b.createElement(Jg,{key:eb(e),isPresent:!0,presenceAffectsLayout:i,mode:a},e)}),b.createElement(b.Fragment,null,d.size?u:u.map(e=>b.cloneElement(e)))},rb=(e,t)=>e.find(e=>e.id===t);function nb(e,t){const r=ob(e,t);return{position:r,index:r?e[r].findIndex(e=>e.id===t):-1}}function ob(e,t){for(const[r,n]of Object.entries(e))if(rb(n,t))return r}function ib(e){return{position:"fixed",zIndex:"var(--toast-z-index, 5500)",pointerEvents:"none",display:"flex",flexDirection:"column",margin:"top"===e||"bottom"===e?"0 auto":void 0,top:e.includes("top")?"env(safe-area-inset-top, 0px)":void 0,bottom:e.includes("bottom")?"env(safe-area-inset-bottom, 0px)":void 0,right:e.includes("left")?void 0:"env(safe-area-inset-right, 0px)",left:e.includes("right")?void 0:"env(safe-area-inset-left, 0px)"}}var ab=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|disableRemotePlayback|download|draggable|encType|enterKeyHint|fetchpriority|fetchPriority|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInl
280ine|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)-.*))$/,sb=Cl(function(e){return ab.test(e)||111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&e.charCodeAt(2)<91}),lb=function(e){return"theme"!==e},cb=function(e){return"string"==typeof e&&e.charCodeAt(0)>96?sb:lb},ub=function(e,t,r){var n;if(t){var o=t.shouldForwardProp;n=e.__emotion_forwardProp&&o?function(t){return e.__emotion_forwardProp(t)&&o(t)}:o}return"function"!=typeof n&&r&&(n=e.__emotion_forwardProp),n},db=function(e){var t=e.cache,r=e.serialized,n=e.isStringTag;return Hl(t,r,n),ac(function(){return Ul(t,r,n)}),null},pb=function e(t,r){var n,o,i=t.__emotion_real===t,a=i&&t.__emotion_base||t;void 0!==r&&(n=r.label,o=r.target);var s=ub(t,r,i),l=s||cb(a),c=!l("as");return function(){var u=arguments,d=i&&void 0!==t.__emotion_styles?t.__emotion_styles.slice(0):[];if(void 0!==n&&d.push("label:"+n+";"),null==u[0]||void 0===u[0].raw)d.push.apply(d,u);else{var p=u[0];d.push(p[0]);for(var h=u.length,f=1;f<h;f++)d.push(u[f],p[f])}var m=uc(function(e,t,r){var n=c&&e.as||a,i="",u=[],p=e;if(null==e.theme){for(var h in p={},e)p[h]=e[h];p.theme=b.useContext(dc)}"string"==typeof e.className?i=Nl(t.registered,u,e.className):null!=e.className&&(i=e.className+" ");var f=rc(d.concat(u),t.registered,p);i+=t.key+"-"+f.name,void 0!==o&&(i+=" "+o);var m=c&&void 0===s?cb(n):l,g={};for(var v in e)c&&"as"===v||m(v)&&(g[v]=e[v]);return g.className=i,r&&(g.ref=r),b.createElement(b.Fragment,null,b.createElement(db,{cache:t,serialized:f,isStringTag:"string"==typeof n}),b.createElement(n,g))});return m.displayName=void 0!==n?n:"Styled("+("string"==typeof a?a:a.displayName||a.name||"Component")+")",m.defaultProps=t.defaultProps,m.__emotion_real=m,m.__emotion_base=a,m.__emotion_styles=d,m.__emotion_forwardProp=s,Object.defineProperty(m,"toString",{value:function(){return"."+o}}),m.withComponent=function(t,n){return e(t,Bl({},r,n,{shouldForwardProp:ub(m,n,!0)})).apply(void 0,d)},m}}.bind(null);["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"].forEach(function(e){pb[e]=pb(e)});const hb=new Set([...ht,"textStyle","layerStyle","apply","noOfLines","focusBorderColor","errorBorderColor","as","__css","css","sx"]),fb=new Set(["htmlWidth","htmlHeight","htmlSize","htmlTranslate"]);function mb(e){return(fb.has(e)||!hb.has(e))&&"_"!==e[0]}const gb=(bb=pb).default||bb;var bb;const vb=({baseStyle:e})=>t=>{const{theme:r,css:n,__css:o,sx:i,...a}=t,[s]=function(e,...t){const r=Object.getOwnPropertyDescriptors(e),n=Object.keys(r),o=e=>{const t={};for(let n=0;n<e.length;n++){const o=e[n];r[o]&&(Object.defineProperty(t,o,r[o]),delete r[o])}return t};return t.map(e=>o(Array.isArray(e)?e:n.filter(e))).concat(o(n))}(a,mt),l=function(e,...t){if(null==e)throw new TypeError("Cannot convert undefined or null to object");const r={...e};for(const n of t)if(null!=n)for(const e in n)Object.prototype.hasOwnProperty.call(n,e)&&(e in r&&delete r[e],r[e]=n[e]);return r}({},o,Y(e,t),W(s),i),c=yt(l)(t.theme);return n?[c,n]:c};function yb(e,t){const{baseStyle:r,...n}=t??{};n.shouldForwardProp||(n.shouldForwardProp=mb);const o=vb({baseStyle:r}),i=gb(e,n)(o);return b.forwardRef(function(e,t){const{children:r,...n}=e,{colorMode:o,forced:a}=kc(),s=a?o:void 0;return b.createElement(i,{ref:t,"data-theme":s,...n},r)})}const xb=function(){const e=new Map;return new Proxy(yb,{apply:(e,t,r)=>yb(...r),get:(t,r)=>(e.has(r)||e.set(r,yb(r)),e.get(r))})}(),wb={initial:e=>{const{position:t}=e,r=["top","bottom"].includes(t)?"y":"x";let n=["top-right","bottom-right"].includes(t)?1:-1;return"bottom"===t&&(n=1),{opacity:0,[r]:24*n}}
280,animate:{opacity:1,y:0,x:0,scale:1,transition:{duration:.4,ease:[.4,0,.2,1]}},exit:{opacity:0,scale:.85,transition:{duration:.2,ease:[.4,0,1,1]}}},Sb=b.memo(e=>{const{id:t,message:r,onCloseComplete:n,onRequestRemove:o,requestClose:i=!1,position:a="bottom",duration:s=5e3,containerStyle:l,motionVariants:c=wb,toastSpacing:u="0.5rem"}=e,[d,p]=b.useState(s),h=dm();ie(()=>{h||null==n||n()},[h]),ie(()=>{p(s)},[s]);const f=()=>{h&&o()};b.useEffect(()=>{h&&i&&o()},[h,i,o]),le(f,d);const m=b.useMemo(()=>({pointerEvents:"auto",maxWidth:560,minWidth:300,margin:u,...l}),[l,u]),g=b.useMemo(()=>function(e){let t="center";return e.includes("right")&&(t="flex-end"),e.includes("left")&&(t="flex-start"),{display:"flex",flexDirection:"column",alignItems:t}}(a),[a]);return y.jsx(Xg.div,{layout:!0,className:"chakra-toast",variants:c,initial:"initial",animate:"animate",exit:"exit",onHoverStart:()=>p(null),onHoverEnd:()=>p(s),custom:{position:a},style:g,children:y.jsx(xb.div,{role:"status","aria-atomic":"true",className:"chakra-toast__inner",__css:m,children:Y(r,{id:t,onClose:f})})})});function kb(e){return b.forwardRef(e)}var Cb,_b;Sb.displayName="ToastComponent";const Pb=k(function(){if(_b)return Cb;_b=1;var e="undefined"!=typeof Element,t="function"==typeof Map,r="function"==typeof Set,n="function"==typeof ArrayBuffer&&!!ArrayBuffer.isView;function o(i,a){if(i===a)return!0;if(i&&a&&"object"==typeof i&&"object"==typeof a){if(i.constructor!==a.constructor)return!1;var s,l,c,u;if(Array.isArray(i)){if((s=i.length)!=a.length)return!1;for(l=s;0!==l--;)if(!o(i[l],a[l]))return!1;return!0}if(t&&i instanceof Map&&a instanceof Map){if(i.size!==a.size)return!1;for(u=i.entries();!(l=u.next()).done;)if(!a.has(l.value[0]))return!1;for(u=i.entries();!(l=u.next()).done;)if(!o(l.value[1],a.get(l.value[0])))return!1;return!0}if(r&&i instanceof Set&&a instanceof Set){if(i.size!==a.size)return!1;for(u=i.entries();!(l=u.next()).done;)if(!a.has(l.value[0]))return!1;return!0}if(n&&ArrayBuffer.isView(i)&&ArrayBuffer.isView(a)){if((s=i.length)!=a.length)return!1;for(l=s;0!==l--;)if(i[l]!==a[l])return!1;return!0}if(i.constructor===RegExp)return i.source===a.source&&i.flags===a.flags;if(i.valueOf!==Object.prototype.valueOf&&"function"==typeof i.valueOf&&"function"==typeof a.valueOf)return i.valueOf()===a.valueOf();if(i.toString!==Object.prototype.toString&&"function"==typeof i.toString&&"function"==typeof a.toString)return i.toString()===a.toString();if((s=(c=Object.keys(i)).length)!==Object.keys(a).length)return!1;for(l=s;0!==l--;)if(!Object.prototype.hasOwnProperty.call(a,c[l]))return!1;if(e&&i instanceof Element)return!1;for(l=s;0!==l--;)if(("_owner"!==c[l]&&"__v"!==c[l]&&"__o"!==c[l]||!i.$$typeof)&&!o(i[c[l]],a[c[l]]))return!1;return!0}return i!=i&&a!=a}return Cb=function(e,t){try{return o(e,t)}catch(r){if((r.message||"").match(/stack|recursion/i))return!1;throw r}}}());function Eb(){const e=b.useContext(dc);if(!e)throw Error("useTheme: `theme` is undefined. Seems you forgot to wrap your app in `<ChakraProvider />` or `<ThemeProvider />`");return e}function Ab(){return{...kc(),theme:Eb()}}function Tb(e,t,r){const n=Eb();return jb(e,t,r)(n)}function jb(e,t,r){const n=Array.isArray(t)?t:[t],o=Array.isArray(r)?r:[r];return r=>{const i=o.filter(Boolean),a=n.map((t,n)=>{if("breakpoints"===e)return function(e,t,r){if(null==t)return t;const n=t=>{var r,n;return null==(n=null==(r=e.__breakpoints)?void 0:r.asArray)?void 0:n[t]};return n(t)??n(r)??r}(r,t,i[n]??t);return function(e,t,r){if(null==t)return t;const n=t=>{var r,n;return null==(n=null==(r=e.__cssMap)?void 0:r[t])?void 0:n.value};return n(t)??n(r)??r}(r,`${e}.${t}`,i[n]??t)});return Array.isArray(t)?a:a[0]}}function zb(e,t={}){const{styleConfig:r,...n}=t,{theme:o,colorMode:i}=Ab(),a=e?U(o,`components.${e}`):void 0,s=r||a,l=ee({theme:o,colorMode:i},(null==s?void 0:s.defaultProps)??{},W(q(n,["children"])),(e,t)=>e?void 0:t),c=b.useRef({});if(s){const e=(u=s,e=>{const{variant:t,size:r,theme:n}=e,o=kt(n);return ee({},Y(u.baseStyle??{},e),o(u,"sizes",r,e),o(u,"variants",t,e))}),t=e(l);Pb(c.current,t)||(c.current=t)}var u;return c.current}function Rb(e,t={}){return zb(e,t)}function Bb(e,t={}){return zb(e,t)}const Mb={path:y.jsxs("g",{stroke:"currentColor",strokeWidth:"1.5",children:[y.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"}),y.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"}),y.jsx("circle",{fill:"none",strokeMiterlimit:"10",cx:"12",cy:"12",r:"11.25"})]}),viewBox:"0 0 24 24"},$b=kb((e,t)=>{const{as:r,viewBox:n,color:o="currentColor",focusable:i=!1,children:a,className:s,__css:l,...c}=e,u={ref:t,focusable:i,className:H("chakra-icon",s),__css:{w:"1em",h:"1em",display:"inline-block",lineHeight:"1em",flexShrink:0,color:o,...l,...Rb("Icon",e)}},d=n??Mb.viewBox;if(r&&"string"!=typeof r)return y.jsx(xb.svg,{as:r,...u,...c});const p=a??Mb.path;return y.jsx(xb.svg,{verticalAlign:"middle",viewBox:d,...u,...c,children:p})});function Ob(e){return y.jsx($b,{viewBox:"0 0 24 24",...e,children:y.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-.
280027A1.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"})})}$b.displayName="Icon";const Db=wc({"0%":{transform:"rotate(0deg)"},"100%":{transform:"rotate(360deg)"}}),Ib=kb((e,t)=>{const r=Rb("Spinner",e),{label:n="Loading...",thickness:o="2px",speed:i="0.45s",emptyColor:a="transparent",className:s,...l}=Ct(e),c=H("chakra-spinner",s),u={display:"inline-block",borderColor:"currentColor",borderStyle:"solid",borderRadius:"99999px",borderWidth:o,borderBottomColor:a,borderLeftColor:a,animation:`${Db} ${i} linear infinite`,...r};return y.jsx(xb.div,{ref:t,__css:u,className:c,...l,children:n&&y.jsx(xb.span,{srOnly:!0,children:n})})});Ib.displayName="Spinner";const[Lb,Vb]=N({name:"AlertContext",hookName:"useAlertContext",providerName:"<Alert />"}),[Fb,Wb]=N({name:"AlertStylesContext",hookName:"useAlertStyles",providerName:"<Alert />"}),Nb={info:{icon:function(e){return y.jsx($b,{viewBox:"0 0 24 24",...e,children:y.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"})})},colorScheme:"blue"},warning:{icon:Ob,colorScheme:"orange"},success:{icon:function(e){return y.jsx($b,{viewBox:"0 0 24 24",...e,children:y.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"})})},colorScheme:"green"},error:{icon:Ob,colorScheme:"red"},loading:{icon:Ib,colorScheme:"blue"}};const Hb=kb(function(e,t){const{status:r="info",addRole:n=!0,...o}=Ct(e),i=e.colorScheme??function(e){return Nb[e].colorScheme}(r),a=Bb("Alert",{...e,colorScheme:i}),s={width:"100%",display:"flex",alignItems:"center",position:"relative",overflow:"hidden",...a.container};return y.jsx(Lb,{value:{status:r},children:y.jsx(Fb,{value:a,children:y.jsx(xb.div,{"data-status":r,role:n?"alert":void 0,ref:t,...o,className:H("chakra-alert",e.className),__css:s})})})});function Ub(e){const{status:t}=Vb(),r=function(e){return Nb[e].icon}(t),n=Wb(),o="loading"===t?n.spinner:n.icon;return y.jsx(xb.span,{display:"inherit","data-status":t,...e,className:H("chakra-alert__icon",e.className),__css:o,children:e.children||y.jsx(r,{h:"100%",w:"100%"})})}Hb.displayName="Alert",Ub.displayName="AlertIcon";const qb=kb(function(e,t){const r=Wb(),{status:n}=Vb();return y.jsx(xb.div,{ref:t,"data-status":n,...e,className:H("chakra-alert__title",e.className),__css:r.title})});qb.displayName="AlertTitle";const Xb=kb(function(e,t){const{status:r}=Vb(),n={display:"inline",...Wb().description};return y.jsx(xb.div,{ref:t,"data-status":r,...e,className:H("chakra-alert__desc",e.className),__css:n})});function Yb(e){return y.jsx($b,{focusable:"false","aria-hidden":!0,...e,children:y.jsx("path",{fill:"currentColor",d:"M.439,21.44a1.5,1.5,0,0,0,2.122,2.121L11.823,14.3a.25.25,0,0,1,.354,0l9.262,9.263a1.5,1.5,0,1,0,2.122-2.121L14.3,12.177a.25.25,0,0,1,0-.354l9.263-9.262A1.5,1.5,0,0,0,21.439.44L12.177,9.7a.25.25,0,0,1-.354,0L2.561.44A1.5,1.5,0,0,0,.439,2.561L9.7,
28011.823a.25.25,0,0,1,0,.354Z"})})}Xb.displayName="AlertDescription";const Gb=kb(function(e,t){const r=Rb("CloseButton",e),{children:n,isDisabled:o,__css:i,...a}=Ct(e);return y.jsx(xb.button,{type:"button","aria-label":"Close",ref:t,disabled:o,__css:{outline:0,display:"flex",alignItems:"center",justifyContent:"center",flexShrink:0,...r,...i},...a,children:n||y.jsx(Yb,{width:"1em",height:"1em"})})});Gb.displayName="CloseButton";const Zb=e=>{const{status:t,variant:r="solid",id:n,title:o,isClosable:i,onClose:a,description:s,colorScheme:l,icon:c}=e,u=n?{root:`toast-${n}`,title:`toast-${n}-title`,description:`toast-${n}-description`}:void 0;return y.jsxs(Hb,{addRole:!1,status:t,variant:r,id:null==u?void 0:u.root,alignItems:"start",borderRadius:"md",boxShadow:"lg",paddingEnd:8,textAlign:"start",width:"auto",colorScheme:l,children:[y.jsx(Ub,{children:c}),y.jsxs(xb.div,{flex:"1",maxWidth:"100%",children:[o&&y.jsx(qb,{id:null==u?void 0:u.title,children:o}),s&&y.jsx(Xb,{id:null==u?void 0:u.description,display:"block",children:s})]}),i&&y.jsx(Gb,{size:"sm",onClick:a,position:"absolute",insetEnd:1,top:1})]})};function Kb(e={}){const{render:t,toastComponent:r=Zb}=e;return n=>"function"==typeof t?t({...n,...e}):y.jsx(r,{...n,...e})}const Jb=function(e){let t=e;const r=new Set,n=e=>{t=e(t),r.forEach(e=>e())};return{getState:()=>t,subscribe:t=>(r.add(t),()=>{n(()=>e),r.delete(t)}),removeToast:(e,t)=>{n(r=>({...r,[t]:r[t].filter(t=>t.id!=e)}))},notify:(e,t)=>{const r=function(e,t={}){Qb+=1;const r=t.id??Qb,n=t.position??"bottom";return{id:r,message:e,position:n,duration:t.duration,onCloseComplete:t.onCloseComplete,onRequestRemove:()=>Jb.removeToast(String(r),n),status:t.status,requestClose:!1,containerStyle:t.containerStyle}}(e,t),{position:o,id:i}=r;return n(e=>{const t=o.includes("top")?[r,...e[o]??[]]:[...e[o]??[],r];return{...e,[o]:t}}),i},update:(e,t)=>{e&&n(r=>{const n={...r},{position:o,index:i}=nb(n,e);return o&&-1!==i&&(n[o][i]={...n[o][i],...t,message:Kb(t)}),n})},closeAll:({positions:e}={})=>{n(t=>(e??["bottom","bottom-right","bottom-left","top","top-left","top-right"]).reduce((e,r)=>(e[r]=t[r].map(e=>({...e,requestClose:!0})),e),{...t}))},close:e=>{n(t=>{const r=ob(t,e);return r?{...t,[r]:t[r].map(t=>t.id==e?{...t,requestClose:!0}:t)}:t})},isActive:e=>Boolean(nb(Jb.getState(),e).position)}}({top:[],"top-left":[],"top-right":[],"bottom-left":[],bottom:[],"bottom-right":[]});let Qb=0;const[ev,tv]=N({strict:!1,name:"PortalContext"}),rv="chakra-portal",nv=e=>y.jsx("div",{className:"chakra-portal-zIndex",style:{position:"absolute",zIndex:e.zIndex,top:0,left:0,right:0},children:e.children}),ov=e=>{const{appendToParentPortal:t,children:r}=e,[n,o]=b.useState(null),i=b.useRef(null),[,a]=b.useState({});b.useEffect(()=>a({}),[]);const s=tv(),l=Wc();oe(()=>{if(!n)return;const e=n.ownerDocument,r=t?s??e.body:e.body;if(!r)return;i.current=e.createElement("div"),i.current.className=rv,r.appendChild(i.current),a({});const o=i.current;return()=>{r.contains(o)&&r.removeChild(o)}},[n]);const c=(null==l?void 0:l.zIndex)?y.jsx(nv,{zIndex:null==l?void 0:l.zIndex,children:r}):r;return i.current?w.createPortal(y.jsx(ev,{value:i.current,children:c}),i.current):y.jsx("span",{ref:e=>{e&&o(e)}})},iv=e=>{const{children:t,containerRef:r,appendToParentPortal:n}=e,o=r.current,i=o??("undefined"!=typeof window?document.body:void 0),a=b.useMemo(()=>{const e=null==o?void 0:o.ownerDocument.createElement("div");return e&&(e.className=rv),e},[o]),[,s]=b.useState({});return oe(()=>s({}),[]),oe(()=>{if(a&&i)return i.appendChild(a),()=>{i.removeChild(a)}},[a,i]),i&&a?w.createPortal(y.jsx(ev,{value:n?a:null,children:t}),a):null};function av(e){const t={appendToParentPortal:!0,...e},{containerRef:r,...n}=t;return r?y.jsx(iv,{containerRef:r,...n}):y.jsx(ov,{...n})}av.className=rv,av.selector=".chakra-portal",av.displayName="Portal";const[sv,lv]=N({name:"ToastOptionsContext",strict:!1}),cv=e=>{const t=b.useSyncExternalStore(Jb.subscribe,Jb.getState,Jb.getState),{motionVariants:r,component:n=Sb,portalProps:o,animatePresenceProps:i}=e,a=Object.keys(t).map(e=>{const o=t[e];return y.jsx("div",{role:"region","aria-live":"polite","aria-label":`Notifications-${e}`,id:`chakra-toast-manager-${e}`,style:ib(e),children:y.jsx(tb,{...i,initial:!1,children:o.map(e=>y.jsx(n,{motionVariants:r,...e},e.id))})},e)});return y.jsx(av,{...o,children:a})},uv=(dv=As,function({children:e,theme:t=dv,toastOptions:r,...n}){return y.jsxs(Xc,{theme:t,...n,children:[y.jsx(sv,{value:null==r?void 0:r.defaultOptions,children:e}),y.jsx(cv,{...r})]})});var dv;const pv=xb("div");pv.displayName="Box";const[hv,fv]=N({strict:!1,name:"ButtonGroupContext"});function mv(e){const{children:t,className:r,...n}=e,o=b.isValidElement(t)?b.cloneElement(t,{"aria-hidden":!0,focusable:!1}):t,i=H("chakra-button__icon",r);return y.jsx(xb.span,{display:"inline-flex",alignSelf:"center",flexShrink:0,...n,className:i,children:o})}
280function gv(e){const{label:t,placement:r,spacing:n="0.5rem",children:o=y.jsx(Ib,{color:"currentColor",width:"1em",height:"1em"}),className:i,__css:a,...s}=e,l=H("chakra-button__spinner",i),c="start"===r?"marginEnd":"marginStart",u=b.useMemo(()=>({display:"flex",alignItems:"center",position:t?"relative":"absolute",[c]:t?n:0,fontSize:"1em",lineHeight:"normal",...a}),[a,t,c,n]);return y.jsx(xb.div,{className:l,...s,__css:u,children:o})}mv.displayName="ButtonIcon",gv.displayName="ButtonSpinner";const bv=kb((e,t)=>{const r=fv(),n=Rb("Button",{...r,...e}),{isDisabled:o=(null==r?void 0:r.isDisabled),isLoading:i,isActive:a,children:s,leftIcon:l,rightIcon:c,loadingText:u,iconSpacing:d="0.5rem",type:p,spinner:h,spinnerPlacement:f="start",className:m,as:g,shouldWrapChildren:v,...x}=Ct(e),w=b.useMemo(()=>{const e={...null==n?void 0:n._focus,zIndex:1};return{display:"inline-flex",appearance:"none",alignItems:"center",justifyContent:"center",userSelect:"none",position:"relative",whiteSpace:"nowrap",verticalAlign:"middle",outline:"none",...n,...!!r&&{_focus:e}}},[n,r]),{ref:S,type:k}=function(e){const[t,r]=b.useState(!e);return{ref:b.useCallback(e=>{e&&r("BUTTON"===e.tagName)},[]),type:t?"button":void 0}}(g),C={rightIcon:c,leftIcon:l,iconSpacing:d,children:s,shouldWrapChildren:v};return y.jsxs(xb.button,{disabled:o||i,ref:se(t,S),as:g,type:p??k,"data-active":A(a),"data-loading":A(i),__css:w,className:H("chakra-button",m),...x,children:[i&&"start"===f&&y.jsx(gv,{className:"chakra-button__spinner--start",label:u,placement:"start",spacing:d,children:h}),i?u||y.jsx(xb.span,{opacity:0,children:y.jsx(vv,{...C})}):y.jsx(vv,{...C}),i&&"end"===f&&y.jsx(gv,{className:"chakra-button__spinner--end",label:u,placement:"end",spacing:d,children:h})]})});function vv(e){const{leftIcon:t,rightIcon:r,children:n,iconSpacing:o,shouldWrapChildren:i}=e;return i?y.jsxs("span",{style:{display:"contents"},children:[t&&y.jsx(mv,{marginEnd:o,children:t}),n,r&&y.jsx(mv,{marginStart:o,children:r})]}):y.jsxs(y.Fragment,{children:[t&&y.jsx(mv,{marginEnd:o,children:t}),n,r&&y.jsx(mv,{marginStart:o,children:r})]})}bv.displayName="Button";const yv=kb((e,t)=>{const{icon:r,children:n,isRound:o,"aria-label":i,...a}=e,s=r||n,l=b.isValidElement(s)?b.cloneElement(s,{"aria-hidden":!0,focusable:!1}):null;return y.jsx(bv,{px:"0",py:"0",borderRadius:o?"full":void 0,ref:t,"aria-label":i,...a,children:l})});function xv(e){return"function"==typeof e}yv.displayName="IconButton";const wv=(Sv=As,function(...e){let t=[...e],r=e[e.length-1];var n;return z(n=r)&&Es.every(e=>Object.prototype.hasOwnProperty.call(n,e))&&t.length>1?t=t.slice(0,t.length-1):r=Sv,function(...e){return t=>e.reduce((e,t)=>t(e),t)}(...t.map(e=>t=>xv(e)?e(t):function(...e){return ee({},...e,kv)}(t,e)))(r)});var Sv;function kv(e,t,r,n){return(xv(e)||xv(t))&&Object.prototype.hasOwnProperty.call(n,r)?(...r)=>{const n=xv(e)?e(...r):e,o=xv(t)?t(...r):t;return ee({},n,o,kv)}:z(e)&&j(t)||j(e)&&z(t)?t:void 0}function Cv(e){const{viewBox:t="0 0 24 24",d:r,displayName:n,defaultProps:o={}}=e,i=b.Children.toArray(e.path),a=kb((e,n)=>y.jsx($b,{ref:n,viewBox:t,...o,...e,children:i.length?i:y.jsx("path",{fill:"currentColor",d:r})}));return a.displayName=n,a}var _v="top",Pv="bottom",Ev="right",Av="left",Tv="auto",jv=[_v,Pv,Ev,Av],zv="start",Rv="end",Bv="viewport",Mv="popper",$v=jv.reduce(function(e,t){return e.concat([t+"-"+zv,t+"-"+Rv])},[]),Ov=[].concat(jv,[Tv]).reduce(function(e,t){return e.concat([t,t+"-"+zv,t+"-"+Rv])},[]),Dv=["beforeRead","read","afterRead","beforeMain","main","afterMain","beforeWrite","write","afterWrite"];function Iv(e){return e?(e.nodeName||"").toLowerCase():null}function Lv(e){if(null==e)return window;if("[object Window]"!==e.toString()){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function Vv(e){return e instanceof Lv(e).Element||e instanceof Element}function Fv(e){return e instanceof Lv(e).HTMLElement||e instanceof HTMLElement}function Wv(e){return"undefined"!=typeof ShadowRoot&&(e instanceof Lv(e).ShadowRoot||e instanceof ShadowRoot)}const Nv={name:"applyStyles",enabled:!0,phase:"write",fn:function(e){var t=e.state;
vendor: 4,433 bytes, line 280
280Object.keys(t.elements).forEach(function(e){var r=t.styles[e]||{},n=t.attributes[e]||{},o=t.elements[e];Fv(o)&&Iv(o)&&(Object.assign(o.style,r),Object.keys(n).forEach(function(e){var t=n[e];!1===t?o.removeAttribute(e):o.setAttribute(e,!0===t?"":t)}))})},effect:function(e){var t=e.state,r={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,r.popper),t.styles=r,t.elements.arrow&&Object.assign(t.elements.arrow.style,r.arrow),function(){Object.keys(t.elements).forEach(function(e){var n=t.elements[e],o=t.attributes[e]||{},i=Object.keys(t.styles.hasOwnProperty(e)?t.styles[e]:r[e]).reduce(function(e,t){return e[t]="",e},{});Fv(n)&&Iv(n)&&(Object.assign(n.style,i),Object.keys(o).forEach(function(e){n.removeAttribute(e)}))})}},requires:["computeStyles"]};function Hv(e){return e.split("-")[0]}var Uv=Math.max,qv=Math.min,Xv=Math.round;function Yv(){var e=navigator.userAgentData;return null!=e&&e.brands&&Array.isArray(e.brands)?e.brands.map(function(e){return e.brand+"/"+e.version}).join(" "):navigator.userAgent}function Gv(){return!/^((?!chrome|android).)*safari/i.test(Yv())}function Zv(e,t,r){void 0===t&&(t=!1),void 0===r&&(r=!1);var n=e.getBoundingClientRect(),o=1,i=1;t&&Fv(e)&&(o=e.offsetWidth>0&&Xv(n.width)/e.offsetWidth||1,i=e.offsetHeight>0&&Xv(n.height)/e.offsetHeight||1);var a=(Vv(e)?Lv(e):window).visualViewport,s=!Gv()&&r,l=(n.left+(s&&a?a.offsetLeft:0))/o,c=(n.top+(s&&a?a.offsetTop:0))/i,u=n.width/o,d=n.height/i;return{width:u,height:d,top:c,right:l+u,bottom:c+d,left:l,x:l,y:c}}function Kv(e){var t=Zv(e),r=e.offsetWidth,n=e.offsetHeight;return Math.abs(t.width-r)<=1&&(r=t.width),Math.abs(t.height-n)<=1&&(n=t.height),{x:e.offsetLeft,y:e.offsetTop,width:r,height:n}}function Jv(e,t){var r=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(r&&Wv(r)){var n=t;do{if(n&&e.isSameNode(n))return!0;n=n.parentNode||n.host}while(n)}return!1}function Qv(e){return Lv(e).getComputedStyle(e)}function ey(e){return["table","td","th"].indexOf(Iv(e))>=0}function ty(e){return((Vv(e)?e.ownerDocument:e.document)||window.document).documentElement}function ry(e){return"html"===Iv(e)?e:e.assignedSlot||e.parentNode||(Wv(e)?e.host:null)||ty(e)}function ny(e){return Fv(e)&&"fixed"!==Qv(e).position?e.offsetParent:null}function oy(e){for(var t=Lv(e),r=ny(e);r&&ey(r)&&"static"===Qv(r).position;)r=ny(r);return r&&("html"===Iv(r)||"body"===Iv(r)&&"static"===Qv(r).position)?t:r||function(e){var t=/firefox/i.test(Yv());if(/Trident/i.test(Yv())&&Fv(e)&&"fixed"===Qv(e).position)return null;var r=ry(e);for(Wv(r)&&(r=r.host);Fv(r)&&["html","body"].indexOf(Iv(r))<0;){var n=Qv(r);if("none"!==n.transform||"none"!==n.perspective||"paint"===n.contain||-1!==["transform","perspective"].indexOf(n.willChange)||t&&"filter"===n.willChange||t&&n.filter&&"none"!==n.filter)return r;r=r.parentNode}return null}(e)||t}function iy(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function ay(e,t,r){return Uv(e,qv(t,r))}function sy(e){return Object.assign({},{top:0,right:0,bottom:0,left:0},e)}function ly(e,t){return t.reduce(function(t,r){return t[r]=e,t},{})}function cy(e){return e.split("-")[1]}var uy={top:"auto",right:"auto",bottom:"auto",left:"auto"};function dy(e){var t,r=e.popper,n=e.popperRect,o=e.placement,i=e.variation,a=e.offsets,s=e.position,l=e.gpuAcceleration,c=e.adaptive,u=e.roundOffsets,d=e.isFixed,p=a.x,h=void 0===p?0:p,f=a.y,m=void 0===f?0:f,g="function"==typeof u?u({x:h,y:m}):{x:h,y:m};h=g.x,m=g.y;var b=a.hasOwnProperty("x"),v=a.hasOwnProperty("y"),y=Av,x=_v,w=window;if(c){var S=oy(r),k="clientHeight",C="clientWidth";if(S===Lv(r)&&"static"!==Qv(S=ty(r)).position&&"absolute"===s&&(k="scrollHeight",C="scrollWidth"),o===_v||(o===Av||o===Ev)&&i===Rv)x=Pv,m-=(d&&S===w&&w.visualViewport?w.visualViewport.height:S[k])-n.height,m*=l?1:-1;if(o===Av||(o===_v||o===Pv)&&i===Rv)y=Ev,h-=(d&&S===w&&w.visualViewport?w.visualViewport.width:S[C])-n.width,h*=l?1:-1}var _,P=Object.assign({position:s},c&&uy),E=!0===u?function(e,t){var r=e.x,n=e.y,o=t.devicePixelRatio||1;return{x:Xv(r*o)/o||0,y:Xv(n*o)/o||0}}({x:h,y:m},Lv(r)):{x:h,y:m};return h=E.x,m=E.y,l?Object.assign({},P,((_={})[x]=v?"0":"",_[y]=b?"0":"",_.transform=(w.devicePixelRatio||1)<=1?"translate("+h+"px, "+m+"px)":"translate3d("+h+"px, "+m+"px, 0)",_)):Object.assign({},P,((t={})[x]=v?m+"px":"",t[y]=b?h+"px":"",t.transform="",t))}var py={passive:!0};
vendor: 7,315 bytes, line 280
280var hy={left:"right",right:"left",bottom:"top",top:"bottom"};function fy(e){return e.replace(/left|right|bottom|top/g,function(e){return hy[e]})}var my={start:"end",end:"start"};function gy(e){return e.replace(/start|end/g,function(e){return my[e]})}function by(e){var t=Lv(e);return{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function vy(e){return Zv(ty(e)).left+by(e).scrollLeft}function yy(e){var t=Qv(e),r=t.overflow,n=t.overflowX,o=t.overflowY;return/auto|scroll|overlay|hidden/.test(r+o+n)}function xy(e){return["html","body","#document"].indexOf(Iv(e))>=0?e.ownerDocument.body:Fv(e)&&yy(e)?e:xy(ry(e))}function wy(e,t){var r;void 0===t&&(t=[]);var n=xy(e),o=n===(null==(r=e.ownerDocument)?void 0:r.body),i=Lv(n),a=o?[i].concat(i.visualViewport||[],yy(n)?n:[]):n,s=t.concat(a);return o?s:s.concat(wy(ry(a)))}function Sy(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function ky(e,t,r){return t===Bv?Sy(function(e,t){var r=Lv(e),n=ty(e),o=r.visualViewport,i=n.clientWidth,a=n.clientHeight,s=0,l=0;if(o){i=o.width,a=o.height;var c=Gv();(c||!c&&"fixed"===t)&&(s=o.offsetLeft,l=o.offsetTop)}return{width:i,height:a,x:s+vy(e),y:l}}(e,r)):Vv(t)?function(e,t){var r=Zv(e,!1,"fixed"===t);return r.top=r.top+e.clientTop,r.left=r.left+e.clientLeft,r.bottom=r.top+e.clientHeight,r.right=r.left+e.clientWidth,r.width=e.clientWidth,r.height=e.clientHeight,r.x=r.left,r.y=r.top,r}(t,r):Sy(function(e){var t,r=ty(e),n=by(e),o=null==(t=e.ownerDocument)?void 0:t.body,i=Uv(r.scrollWidth,r.clientWidth,o?o.scrollWidth:0,o?o.clientWidth:0),a=Uv(r.scrollHeight,r.clientHeight,o?o.scrollHeight:0,o?o.clientHeight:0),s=-n.scrollLeft+vy(e),l=-n.scrollTop;return"rtl"===Qv(o||r).direction&&(s+=Uv(r.clientWidth,o?o.clientWidth:0)-i),{width:i,height:a,x:s,y:l}}(ty(e)))}function Cy(e,t,r,n){var o="clippingParents"===t?function(e){var t=wy(ry(e)),r=["absolute","fixed"].indexOf(Qv(e).position)>=0&&Fv(e)?oy(e):e;return Vv(r)?t.filter(function(e){return Vv(e)&&Jv(e,r)&&"body"!==Iv(e)}):[]}(e):[].concat(t),i=[].concat(o,[r]),a=i[0],s=i.reduce(function(t,r){var o=ky(e,r,n);return t.top=Uv(o.top,t.top),t.right=qv(o.right,t.right),t.bottom=qv(o.bottom,t.bottom),t.left=Uv(o.left,t.left),t},ky(e,a,n));return s.width=s.right-s.left,s.height=s.bottom-s.top,s.x=s.left,s.y=s.top,s}function _y(e){var t,r=e.reference,n=e.element,o=e.placement,i=o?Hv(o):null,a=o?cy(o):null,s=r.x+r.width/2-n.width/2,l=r.y+r.height/2-n.height/2;switch(i){case _v:t={x:s,y:r.y-n.height};break;case Pv:t={x:s,y:r.y+r.height};break;case Ev:t={x:r.x+r.width,y:l};break;case Av:t={x:r.x-n.width,y:l};break;default:t={x:r.x,y:r.y}}var c=i?iy(i):null;if(null!=c){var u="y"===c?"height":"width";switch(a){case zv:t[c]=t[c]-(r[u]/2-n[u]/2);break;case Rv:t[c]=t[c]+(r[u]/2-n[u]/2)}}return t}function Py(e,t){void 0===t&&(t={});var r=t,n=r.placement,o=void 0===n?e.placement:n,i=r.strategy,a=void 0===i?e.strategy:i,s=r.boundary,l=void 0===s?"clippingParents":s,c=r.rootBoundary,u=void 0===c?Bv:c,d=r.elementContext,p=void 0===d?Mv:d,h=r.altBoundary,f=void 0!==h&&h,m=r.padding,g=void 0===m?0:m,b=sy("number"!=typeof g?g:ly(g,jv)),v=p===Mv?"reference":Mv,y=e.rects.popper,x=e.elements[f?v:p],w=Cy(Vv(x)?x:x.contextElement||ty(e.elements.popper),l,u,a),S=Zv(e.elements.reference),k=_y({reference:S,element:y,placement:o}),C=Sy(Object.assign({},y,k)),_=p===Mv?C:S,P={top:w.top-_.top+b.top,bottom:_.bottom-w.bottom+b.bottom,left:w.left-_.left+b.left,right:_.right-w.right+b.right},E=e.modifiersData.offset;if(p===Mv&&E){var A=E[o];Object.keys(P).forEach(function(e){var t=[Ev,Pv].indexOf(e)>=0?1:-1,r=[_v,Pv].indexOf(e)>=0?"y":"x";P[e]+=A[r]*t})}return P}function Ey(e,t,r){return void 0===r&&(r={x:0,y:0}),{top:e.top-t.height-r.y,right:e.right-t.width+r.x,bottom:e.bottom-t.height+r.y,left:e.left-t.width-r.x}}function Ay(e){return[_v,Ev,Pv,Av].some(function(t){return e[t]>=0})}function Ty(e,t,r){void 0===r&&(r=!1);var n,o,i=Fv(t),a=Fv(t)&&function(e){var t=e.getBoundingClientRect(),r=Xv(t.width)/e.offsetWidth||1,n=Xv(t.height)/e.offsetHeight||1;return 1!==r||1!==n}(t),s=ty(t),l=Zv(e,a,r),c={scrollLeft:0,scrollTop:0},u={x:0,y:0};return(i||!i&&!r)&&(("body"!==Iv(t)||yy(s))&&(c=(n=t)!==Lv(n)&&Fv(n)?{scrollLeft:(o=n).scrollLeft,scrollTop:o.scrollTop}:by(n)),Fv(t)?((u=Zv(t,!0)).x+=t.clientLeft,u.y+=t.clientTop):s&&(u.x=vy(s))),{x:l.left+c.scrollLeft-u.x,y:l.top+c.scrollTop-u.y,width:l.width,height:l.height}}function jy(e){var t=new Map,r=new Set,n=[];function o(e){r.add(e.name),[].concat(e.requires||[],e.requiresIfExists||[]).forEach(function(e){if(!r.has(e)){var n=t.get(e);n&&o(n)}}),n.push(e)}return e.forEach(function(e){t.set(e.name,e)}),e.forEach(function(e){r.has(e.name)||o(e)}),n}var zy={placement:"bottom",modifiers:[],strategy:"absolute"};function Ry(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return!t.some(function(e){return!(e&&"function"==typeof e.getBoundingClientRect)})}function By(e){void 0===e&&(e={});var t=e,r=t.defaultModifiers,n=void 0===r?[]:r,o=t.defaultOptions,i=void 0===o?zy:o;return function(e,t,r){void 0===r&&(r=i);var o,a,s={placement:"bottom",orderedModifiers:[],options:Object.assign({},zy,i),modifiersData:{},elements:{reference:e,popper:t},attributes:{},styles:{}},l=[],c=!1,u={state:s,setOptions:function(r){var o="function"==typeof r?r(s.options):r;d(),s.options=Object.assign({},i,s.options,o),s.scrollParents={reference:Vv(e)?wy(e):e.contextElement?wy(e.contextElement):[],popper:wy(t)};var a,c,p=function(e){var t=jy(e);return Dv.reduce(function(e,r){return e.concat(t.filter(function(e){return e.phase===r}))},[])}((a=[].concat(n,s.options.modifiers),c=a.reduce(function(e,t){var r=e[t.name];return e[t.name]=r?Object.assign({},r,t,{options:Object.assign({},r.options,t.options),data:Object.assign({},r.data,t.data)}):t,e},{}),Object.keys(c).map(function(e){return c[e]})));return s.orderedModifiers=p.filter(function(e){return e.enabled}),s.orderedModifiers.forEach(function(e){var t=e.name,r=e.options,n=void 0===r?{}:r,o=e.effect;if("function"==typeof o){var i=o({state:s,name:t,instance:u,options:n}),a=function(){};l.push(i||a)}}),u.update()},forceUpdate:function(){if(!c){var e=s.elements,t=e.reference,r=e.popper;if(Ry(t,r)){s.rects={reference:Ty(t,oy(r),"fixed"===s.options.strategy),popper:Kv(r)},s.reset=!1,s.placement=s.options.placement,s.orderedModifiers.forEach(function(e){return s.modifiersData[e.name]=Object.assign({},e.data)});for(var n=0;n<s.orderedModifiers.length;n++)if(!0!==s.reset){var o=s.orderedModifiers[n],i=o.fn,a=o.options,l=void 0===a?{}:a,d=o.name;"function"==typeof i&&(s=i({state:s,options:l,name:d,instance:u})||s)}else s.reset=!1,n=-1}}},update:(o=function(){return new Promise(function(e){u.forceUpdate(),e(s)})},function(){return a||(a=new Promise(function(e){Promise.resolve().then(function(){a=void 0,e(o())})})),a}),destroy:function(){d(),c=!0}};if(!Ry(e,t))return u;function d(){l.forEach(function(e){return e()}),l=[]}return u.setOptions(r).then(function(e){!c&&r.onFirstUpdate&&r.onFirstUpdate(e)}),u}}var My=By({defaultModifiers:[{name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(e){var t=e.state,r=e.instance,n=e.options,o=n.scroll,i=void 0===o||o,a=n.resize,s=void 0===a||a,l=Lv(t.elements.popper),c=[].concat(t.scrollParents.reference,t.scrollParents.popper);
vendor: 6,126 bytes, line 280
280return i&&c.forEach(function(e){e.addEventListener("scroll",r.update,py)}),s&&l.addEventListener("resize",r.update,py),function(){i&&c.forEach(function(e){e.removeEventListener("scroll",r.update,py)}),s&&l.removeEventListener("resize",r.update,py)}},data:{}},{name:"popperOffsets",enabled:!0,phase:"read",fn:function(e){var t=e.state,r=e.name;t.modifiersData[r]=_y({reference:t.rects.reference,element:t.rects.popper,placement:t.placement})},data:{}},{name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function(e){var t=e.state,r=e.options,n=r.gpuAcceleration,o=void 0===n||n,i=r.adaptive,a=void 0===i||i,s=r.roundOffsets,l=void 0===s||s,c={placement:Hv(t.placement),variation:cy(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:o,isFixed:"fixed"===t.options.strategy};null!=t.modifiersData.popperOffsets&&(t.styles.popper=Object.assign({},t.styles.popper,dy(Object.assign({},c,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:a,roundOffsets:l})))),null!=t.modifiersData.arrow&&(t.styles.arrow=Object.assign({},t.styles.arrow,dy(Object.assign({},c,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:l})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})},data:{}},Nv,{name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(e){var t=e.state,r=e.options,n=e.name,o=r.offset,i=void 0===o?[0,0]:o,a=Ov.reduce(function(e,r){return e[r]=function(e,t,r){var n=Hv(e),o=[Av,_v].indexOf(n)>=0?-1:1,i="function"==typeof r?r(Object.assign({},t,{placement:e})):r,a=i[0],s=i[1];return a=a||0,s=(s||0)*o,[Av,Ev].indexOf(n)>=0?{x:s,y:a}:{x:a,y:s}}(r,t.rects,i),e},{}),s=a[t.placement],l=s.x,c=s.y;null!=t.modifiersData.popperOffsets&&(t.modifiersData.popperOffsets.x+=l,t.modifiersData.popperOffsets.y+=c),t.modifiersData[n]=a}},{name:"flip",enabled:!0,phase:"main",fn:function(e){var t=e.state,r=e.options,n=e.name;if(!t.modifiersData[n]._skip){for(var o=r.mainAxis,i=void 0===o||o,a=r.altAxis,s=void 0===a||a,l=r.fallbackPlacements,c=r.padding,u=r.boundary,d=r.rootBoundary,p=r.altBoundary,h=r.flipVariations,f=void 0===h||h,m=r.allowedAutoPlacements,g=t.options.placement,b=Hv(g),v=l||(b===g||!f?[fy(g)]:function(e){if(Hv(e)===Tv)return[];var t=fy(e);return[gy(e),t,gy(t)]}(g)),y=[g].concat(v).reduce(function(e,r){return e.concat(Hv(r)===Tv?function(e,t){void 0===t&&(t={});var r=t,n=r.placement,o=r.boundary,i=r.rootBoundary,a=r.padding,s=r.flipVariations,l=r.allowedAutoPlacements,c=void 0===l?Ov:l,u=cy(n),d=u?s?$v:$v.filter(function(e){return cy(e)===u}):jv,p=d.filter(function(e){return c.indexOf(e)>=0});0===p.length&&(p=d);var h=p.reduce(function(t,r){return t[r]=Py(e,{placement:r,boundary:o,rootBoundary:i,padding:a})[Hv(r)],t},{});return Object.keys(h).sort(function(e,t){return h[e]-h[t]})}(t,{placement:r,boundary:u,rootBoundary:d,padding:c,flipVariations:f,allowedAutoPlacements:m}):r)},[]),x=t.rects.reference,w=t.rects.popper,S=new Map,k=!0,C=y[0],_=0;_<y.length;_++){var P=y[_],E=Hv(P),A=cy(P)===zv,T=[_v,Pv].indexOf(E)>=0,j=T?"width":"height",z=Py(t,{placement:P,boundary:u,rootBoundary:d,altBoundary:p,padding:c}),R=T?A?Ev:Av:A?Pv:_v;x[j]>w[j]&&(R=fy(R));var B=fy(R),M=[];if(i&&M.push(z[E]<=0),s&&M.push(z[R]<=0,z[B]<=0),M.every(function(e){return e})){C=P,k=!1;break}S.set(P,M)}if(k)for(var $=function(e){var t=y.find(function(t){var r=S.get(t);if(r)return r.slice(0,e).every(function(e){return e})});if(t)return C=t,"break"},O=f?3:1;O>0;O--){if("break"===$(O))break}t.placement!==C&&(t.modifiersData[n]._skip=!0,t.placement=C,t.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}},{name:"preventOverflow",enabled:!0,phase:"main",fn:function(e){var t=e.state,r=e.options,n=e.name,o=r.mainAxis,i=void 0===o||o,a=r.altAxis,s=void 0!==a&&a,l=r.boundary,c=r.rootBoundary,u=r.altBoundary,d=r.padding,p=r.tether,h=void 0===p||p,f=r.tetherOffset,m=void 0===f?0:f,g=Py(t,{boundary:l,rootBoundary:c,padding:d,altBoundary:u}),b=Hv(t.placement),v=cy(t.placement),y=!v,x=iy(b),w="x"===x?"y":"x",S=t.modifiersData.popperOffsets,k=t.rects.reference,C=t.rects.popper,_="function"==typeof m?m(Object.assign({},t.rects,{placement:t.placement})):m,P="number"==typeof _?{mainAxis:_,altAxis:_}:Object.assign({mainAxis:0,altAxis:0},_),E=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,A={x:0,y:0};if(S){if(i){var T,j="y"===x?_v:Av,z="y"===x?Pv:Ev,R="y"===x?"height":"width",B=S[x],M=B+g[j],$=B-g[z],O=h?-C[R]/2:0,D=v===zv?k[R]:C[R],I=v===zv?-C[R]:-k[R],L=t.elements.arrow,V=h&&L?Kv(L):{width:0,height:0},F=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0},W=F[j],N=F[z],H=ay(0,k[R],V[R]),U=y?k[R]/2-O-H-W-P.mainAxis:D-H-W-P.mainAxis,q=y?-k[R]/2+O+H+N+P.mainAxis:I+H+N+P.mainAxis,X=t.elements.arrow&&oy(t.elements.arrow),Y=X?"y"===x?X.clientTop||0:X.clientLeft||0:0,G=null!=(T=null==E?void 0:E[x])?T:0,Z=B+q-G,K=ay(h?qv(M,B+U-G-Y):M,B,h?Uv($,Z):$);S[x]=K,A[x]=K-B}if(s){var J,Q="x"===x?_v:Av,ee="x"===x?Pv:Ev,te=S[w],re="y"===w?"height":"width",ne=te+g[Q],oe=te-g[ee],ie=-1!==[_v,Av].indexOf(b),ae=null!=(J=null==E?void 0:E[w])?J:0,se=ie?ne:te-k[re]-C[re]-ae+P.altAxis,le=ie?te+k[re]+C[re]-ae-P.altAxis:oe,ce=h&&ie?(de=ay(se,te,ue=le))>ue?ue:de:ay(h?se:ne,te,h?le:oe);S[w]=ce,A[w]=ce-te}var ue,de;t.modifiersData[n]=A}},requiresIfExists:["offset"]},{name:"arrow",enabled:!0,phase:"main",fn:function(e){var t,r=e.state,n=e.name,o=e.options,i=r.elements.arrow,a=r.modifiersData.popperOffsets,s=Hv(r.placement),l=iy(s),c=[Av,Ev].indexOf(s)>=0?"height":"width";if(i&&a){var u=function(e,t){return sy("number"!=typeof(e="function"==typeof e?e(Object.assign({},t.rects,{placement:t.placement})):e)?e:ly(e,jv))}(o.padding,r),d=Kv(i),p="y"===l?_v:Av,h="y"===l?Pv:Ev,f=r.rects.reference[c]+r.rects.reference[l]-a[l]-r.rects.popper[c],m=a[l]-r.rects.reference[l],g=oy(i),b=g?"y"===l?g.clientHeight||0:g.clientWidth||0:0,v=f/2-m/2,y=u[p],x=b-d[c]-u[h],w=b/2-d[c]/2+v,S=ay(y,w,x),k=l;r.modifiersData[n]=((t={})[k]=S,t.centerOffset=S-w,t)}},effect:function(e){var t=e.state,r=e.options.element,n=void 0===r?"[data-
280popper-arrow]":r;null!=n&&("string"!=typeof n||(n=t.elements.popper.querySelector(n)))&&Jv(t.elements.popper,n)&&(t.elements.arrow=n)},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]},{name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function(e){var t=e.state,r=e.name,n=t.rects.reference,o=t.rects.popper,i=t.modifiersData.preventOverflow,a=Py(t,{elementContext:"reference"}),s=Py(t,{altBoundary:!0}),l=Ey(a,n),c=Ey(s,o,i),u=Ay(l),d=Ay(c);t.modifiersData[r]={referenceClippingOffsets:l,popperEscapeOffsets:c,isReferenceHidden:u,hasPopperEscaped:d},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":u,"data-popper-escaped":d})}}]});const $y=(e,t)=>({var:e,varRef:t?`var(${e}, ${t})`:`var(${e})`}),Oy={arrowShadowColor:$y("--popper-arrow-shadow-color"),arrowSize:$y("--popper-arrow-size","8px"),arrowSizeHalf:$y("--popper-arrow-size-half"),arrowBg:$y("--popper-arrow-bg"),transformOrigin:$y("--popper-transform-origin"),arrowOffset:$y("--popper-arrow-offset")};const Dy={top:"bottom center","top-start":"bottom left","top-end":"bottom right",bottom:"top center","bottom-start":"top left","bottom-end":"top right",left:"right center","left-start":"right top","left-end":"right bottom",right:"left center","right-start":"left top","right-end":"left bottom"},Iy={scroll:!0,resize:!0};function Ly(e){let t;return t="object"==typeof e?{enabled:!0,options:{...Iy,...e}}:{enabled:e,options:Iy},t}const Vy={name:"matchWidth",enabled:!0,phase:"beforeWrite",requires:["computeStyles"],fn:({state:e})=>{e.styles.popper.width=`${e.rects.reference.width}px`},effect:({state:e})=>()=>{const t=e.elements.reference;e.elements.popper.style.width=`${t.offsetWidth}px`}},Fy={name:"transformOrigin",enabled:!0,phase:"write",fn:({state:e})=>{Wy(e)},effect:({state:e})=>()=>{Wy(e)}},Wy=e=>{var t;e.elements.popper.style.setProperty(Oy.transformOrigin.var,(t=e.placement,Dy[t]))},Ny={name:"positionArrow",enabled:!0,phase:"afterWrite",fn:({state:e})=>{Hy(e)}},Hy=e=>{var t;if(!e.placement)return;const r=Uy(e.placement);if((null==(t=e.elements)?void 0:t.arrow)&&r){Object.assign(e.elements.arrow.style,{[r.property]:r.value,width:Oy.arrowSize.varRef,height:Oy.arrowSize.varRef,zIndex:-1});const t={[Oy.arrowSizeHalf.var]:`calc(${Oy.arrowSize.varRef} / 2 - 1px)`,[Oy.arrowOffset.var]:`calc(${Oy.arrowSizeHalf.varRef} * -1)`};for(const r in t)e.elements.arrow.style.setProperty(r,t[r])}},Uy=e=>e.startsWith("top")?{property:"bottom",value:Oy.arrowOffset.varRef}:e.startsWith("bottom")?{property:"top",value:Oy.arrowOffset.varRef}:e.startsWith("left")?{property:"right",value:Oy.arrowOffset.varRef}:e.startsWith("right")?{property:"left",value:Oy.arrowOffset.varRef}:void 0,qy={name:"innerArrow",enabled:!0,phase:"main",requires:["arrow"],fn:({state:e})=>{Xy(e)},effect:({state:e})=>()=>{Xy(e)}},Xy=e=>{if(!e.elements.arrow)return;const t=e.elements.arrow.querySelector("[data-popper-arrow-inner]");if(!t)return;const r=(n=e.placement).includes("top")?"1px 1px 0px 0 var(--popper-arrow-shadow-color)":n.includes("bottom")?"-1px -1px 0px 0 var(--popper-arrow-shadow-color)":n.includes("right")?"-1px 1px 0px 0 var(--popper-arrow-shadow-color)":n.includes("left")?"1px -1px 0px 0 var(--popper-arrow-shadow-color)":void 0;var n;r&&t.style.setProperty("--popper-arrow-default-shadow",r),Object.assign(t.style,{transform:"rotate(45deg)",background:Oy.arrowBg.varRef,top:0,left:0,width:"100%",height:"100%",position:"absolute",zIndex:"inherit",boxShadow:"var(--popper-arrow-shadow, var(--popper-arrow-default-shadow))"})},Yy={"start-start":{ltr:"left-start",rtl:"right-start"},"start-end":{ltr:"left-end",rtl:"right-end"},"end-start":{ltr:"right-start",rtl:"left-start"},"end-end":{ltr:"right-end",rtl:"left-end"},start:{ltr:"left",rtl:"right"},end:{ltr:"right",rtl:"left"}},Gy={"auto-start":"auto-end","auto-end":"auto-start","top-start":"top-end","top-end":"top-start","bottom-start":"bottom-end","bottom-end":"bottom-start"};function Zy(e={}){const{enabled:t=!0,modifiers:r,placement:n="bottom",strategy:o="absolute",arrowPadding:i=8,eventListeners:a=!0,offset:s,gutter:l=8,flip:c=!0,boundary:u="clippingParents",preventOverflow:d=!0,matchWidth:p,direction:h="ltr"}=e,f=b.useRef(null),m=b.useRef(null),g=b.useRef(null),v=function(e,t="ltr"){var r;const n=(null==(r=Yy[e])?void 0:r[t])||e;return"ltr"===t?n:Gy[e]??n}(n,h),y=b.useRef(()=>{}),x=b.useCallback(()=>{var e;t&&f.current&&m.current&&(null==(e=y.current)||e.call(y),g.current=My(f.current,m.current,{placement:v,modifiers:[qy,Ny,Fy,{...Vy,enabled:!!p},{name:"eventListeners",...Ly(a)},{name:"arrow",options:{padding:i}},{name:"offset",options:{offset:s??[0,l]}},{name:"flip",enabled:!!c,options:{padding:8}},{name:"preventOverflow",enabled:!!d,options:{boundary:u}},...r??[]],strategy:o}),g.current.forceUpdate(),y.current=g.current.destroy)},[v,t,r,p,a,i,s,l,c,d,u,o]);b.useEffect(()=>()=>{var e;f.current||m.current||(null==(e=g.current)||e.destroy(),g.current=null)},[]);const w=b.useCallback(e=>{f.current=e,x()},[x]),S=b.useCallback((e={},t=null)=>({...e,ref:ae(w,t)}),[w]),k=b.useCallback(e=>{m.current=e,x()}
280,[x]),C=b.useCallback((e={},t=null)=>({...e,ref:ae(k,t),style:{...e.style,position:o,minWidth:p?void 0:"max-content",inset:"0 auto auto 0"}}),[o,k,p]),_=b.useCallback((e={},t=null)=>{const{size:r,shadowColor:n,bg:o,style:i,...a}=e;return{...a,ref:t,"data-popper-arrow":"",style:Ky(e)}},[]),P=b.useCallback((e={},t=null)=>({...e,ref:t,"data-popper-arrow-inner":""}),[]);return{update(){var e;null==(e=g.current)||e.update()},forceUpdate(){var e;null==(e=g.current)||e.forceUpdate()},transformOrigin:Oy.transformOrigin.varRef,referenceRef:w,popperRef:k,getPopperProps:C,getArrowProps:_,getArrowInnerProps:P,getReferenceProps:S}}function Ky(e){const{size:t,shadowColor:r,bg:n,style:o}=e,i={...o,position:"absolute"};return t&&(i["--popper-arrow-size"]=t),r&&(i["--popper-arrow-shadow-color"]=r),n&&(i["--popper-arrow-bg"]=n),i}function Jy(e){var t;const r=b.version;return"string"!=typeof r||r.startsWith("18.")?null==e?void 0:e.ref:null==(t=null==e?void 0:e.props)?void 0:t.ref}const Qy={exit:{scale:.85,opacity:0,transition:{opacity:{duration:.15,easings:"easeInOut"},scale:{duration:.2,easings:"easeInOut"}}},enter:{scale:1,opacity:1,transition:{opacity:{easings:"easeOut",duration:.2},scale:{duration:.2,ease:[.175,.885,.4,1.1]}}}},ex=e=>{var t;return(null==(t=e.current)?void 0:t.ownerDocument)||document},tx=e=>{var t,r;return(null==(r=null==(t=e.current)?void 0:t.ownerDocument)?void 0:r.defaultView)||window};function rx(e={}){const{openDelay:t=0,closeDelay:r=0,closeOnClick:n=!0,closeOnMouseDown:o,closeOnScroll:i,closeOnPointerDown:a=o,closeOnEsc:s=!0,onOpen:l,onClose:c,placement:u,id:d,isOpen:p,defaultIsOpen:h,arrowSize:f=10,arrowShadowColor:m,arrowPadding:g,modifiers:v,isDisabled:y,gutter:x,offset:w,direction:S,...k}=e,{isOpen:C,onOpen:_,onClose:P}=ne({isOpen:p,defaultIsOpen:h,onOpen:l,onClose:c}),{referenceRef:E,getPopperProps:A,getArrowInnerProps:T,getArrowProps:j}=Zy({enabled:C,placement:u,arrowPadding:g,modifiers:v,gutter:x,offset:w,direction:S}),z=b.useId(),R=`tooltip-${d??z}`,B=b.useRef(null),M=b.useRef(void 0),$=b.useCallback(()=>{M.current&&(clearTimeout(M.current),M.current=void 0)},[]),O=b.useRef(void 0),D=b.useCallback(()=>{O.current&&(clearTimeout(O.current),O.current=void 0)},[]),I=b.useCallback(()=>{D(),P()},[P,D]),L=function(e,t){return b.useEffect(()=>{const r=ex(e);return r.addEventListener(nx,t),()=>r.removeEventListener(nx,t)},[t,e]),()=>{const t=ex(e),r=tx(e);t.dispatchEvent(new r.CustomEvent(nx))}}(B,I),V=b.useCallback(()=>{if(!y&&!M.current){C&&L();const e=tx(B);M.current=e.setTimeout(_,t)}},[L,y,C,_,t]),W=b.useCallback(()=>{$();const e=tx(B);O.current=e.setTimeout(I,r)},[r,I,$]),N=b.useCallback(()=>{C&&n&&W()},[n,W,C]),H=b.useCallback(()=>{C&&a&&W()},[a,W,C]),U=b.useCallback(e=>{C&&"Escape"===e.key&&W()},[C,W]);re(()=>ex(B),"keydown",s?U:void 0),re(()=>{if(!i)return null;const e=B.current;if(!e)return null;const t=G(e);return"body"===t.localName?tx(B):t},"scroll",()=>{C&&i&&I()},{passive:!0,capture:!0}),b.useEffect(()=>{y&&($(),C&&P())},[y,C,P,$]),b.useEffect(()=>()=>{$(),D()},[$,D]),re(()=>B.current,"pointerleave",W);const q=b.useCallback((e={},t=null)=>({...e,ref:ae(B,t,E),onPointerEnter:F(e.onPointerEnter,e=>{"touch"!==e.pointerType&&V()}),onClick:F(e.onClick,N),onPointerDown:F(e.onPointerDown,H),onFocus:F(e.onFocus,V),onBlur:F(e.onBlur,W),"aria-describedby":C?R:void 0}),[V,W,H,C,R,N,E]),X=b.useCallback((e={},t=null)=>A({...e,style:{...e.style,[Oy.arrowSize.var]:f?`${f}px`:void 0,[Oy.arrowShadowColor.var]:m}},t),[A,f,m]),Y=b.useCallback((e={},t=null)=>{const r={...e.style,position:"relative",transformOrigin:Oy.transformOrigin.varRef};return{ref:t,...k,...e,id:R,role:"tooltip",style:r}},[k,R]);return{isOpen:C,show:V,hide:W,getTriggerProps:q,getTooltipProps:Y,getTooltipPositionerProps:X,getArrowProps:j,getArrowInnerProps:T}}const nx="chakra-ui:close-tooltip";const ox=xb(Xg.div),ix=kb((e,t)=>{const r=Rb("Tooltip",e),n=Ct(e),o=Eb(),{children:i,label:a,shouldWrapChildren:s,"aria-label":l,hasArrow:c,bg:u,portalProps:d,background:p,backgroundColor:h,bgColor:f,motionProps:m,animatePresenceProps:g,...v}=n,x=p??h??u??f;if(x){r.bg=x;const e=function(e,t,r){var n,o;return(null==(o=null==(n=e.__cssMap)?void 0:n[`${t}.${r}`])?void 0:o.varRef)??r}(o,"colors",x);r[Oy.arrowBg.var]=e}const w=rx({...v,direction:o.direction});let S;if(!b.isValidElement(i)||s)S=y.jsx(xb.span,{display:"inline-block",tabIndex:0,...w.getTriggerProps(),children:i});else{const e=b.Children.only(i);S=b.cloneElement(e,w.getTriggerProps(e.props,Jy(e)))}const k=!!l,C=w.getTooltipProps({},t),_=k?q(C,["role","id"]):C,P=X(C,["role","id"]);return a?y.jsxs(y.Fragment,{children:[S,y.jsx(tb,{...g,children:w.isOpen&&y.jsx(av,{...d,children:y.jsx(xb.div,{...w.getTooltipPositionerProps(),__css:{zIndex:r.zIndex,pointerEvents:"none"},children:y.jsxs(ox,{variants:Qy,initial:"exit",animate:"enter",exit:"exit",...m,..._,__css:r,children:[a,k&&y.jsx(xb.span,{srOnly:!0,...P,children:l}),c&&y.jsx(xb.div,{"data-popper-arrow":!0,className:"chakra-tooltip__arrow-wrapper",children:y.jsx(xb.div,{"data-popper-arrow-inner":!0,className:"chakra-tooltip__arrow",__css:{bg:r.bg}})})]})})})})]}):y.jsx(y.Fragment,{children:i})});ix.displayName="Tooltip";const ax=kb(function(e,t){const r=Rb("Text",e),{className:n,align:o,decoration:i,casing:a,...s}=Ct(e),l=W({textAlign:e.align,textDecoration:e.decoration,textTransform:e.casing});return y.jsx(xb.p,{ref:t,className:H("chakra-text",e.className),...l,...s,__css:r})});ax.displayName="Text";const sx=Gr("tooltip-bg"),lx=Gr("tooltip-fg"),cx=Gr("popper-arrow-bg");ix.defaultProps={...ix.defaultProps,hasArrow:!0,openDelay:250,closeDelay:100};const ux=wv({config:{disableTransitionOnChange:!1},fonts:{body:"'Public Sans', ui-sans-serif, system-ui, sans-serif, Apple Color Emoji, Segoe UI Emoji, Segoe UI Symbol, Noto Color Emoji",heading:"'Public Sans', ui-sans-serif, system-ui, sans-serif, Apple Color Emoji, Segoe UI Emoji, Segoe UI Symbol, Noto Color Emoji",mono:"'Public Sans', ui-sans-serif, system-ui, sans-serif, Apple Color Emoji, Segoe UI Emoji, Segoe UI Symbol, Noto Color Emoji"},components:{Tooltip:{baseStyle:{[sx.variable]:"colors.gray.700",[lx.variable]:"colors.white",[cx.variable]:sx.reference,bg:sx.reference,color:lx.reference,px:"12px",py:"8px",borderRadius:"12px",fontSize:"sm",fontWeight:"500",boxShadow:"md",_dark:{[sx.variable]:"colors.gray.700",[lx.variable]:"colors.white"}},defaultProps:{hasArrow:!0,openDelay:250,closeDelay:100},variants:{agentInvite:{zIndex:"banner"}}}}}),dx=Cv({displayName:"CloseIcon",d:"M.439,21.44a1.5,1.5,0,0,0,2.122,2.121L11.823,14.3a.25.25,0,0,1,.354,0l9.262,9.263a1.5,1.5,0,1,0,2.122-2.121L14.3,12.177a.25.25,0,0,1,0-.354l9.263-9.262A1.5,1.5,0,0,0,21.439.44L12.177,9.7a.25.25,0,0,1-.354,0L2.561.44A1.5,1.5,0,0,0,.439,2.561L9.7,
28011.823a.25.25,0,0,1,0,.354Z"}),px={success:{bg:"rgba(240, 253, 244, 0.72)",border:"rgba(22, 163, 74, 0.22)",title:"#14532d",description:"#166534"},error:{bg:"rgba(254, 242, 242, 0.72)",border:"rgba(220, 38, 38, 0.22)",title:"#7f1d1d",description:"#991b1b"},warning:{bg:"rgba(255, 251, 235, 0.72)",border:"rgba(217, 119, 6, 0.22)",title:"#78350f",description:"#92400e"},info:{bg:"rgba(239, 246, 255, 0.72)",border:"rgba(37, 99, 235, 0.22)",title:"#1e3a8a",description:"#1d4ed8"},loading:{bg:"rgba(239, 246, 255, 0.72)",border:"rgba(37, 99, 235, 0.22)",title:"#1e3a8a",description:"#1d4ed8"}},hx={position:"relative",borderRadius:"12px",px:3.5,py:2.5,pr:9,w:"300px",backdropFilter:"blur(16px) saturate(160%)",boxShadow:"0 4px 24px rgba(15, 23, 42, 0.08)"},fx={WebkitBackdropFilter:"blur(16px) saturate(160%)"},mx={initial:e=>{const{position:t}=e;return{opacity:0,y:t.includes("top")?-20:20,scale:.96}},animate:{opacity:1,y:0,scale:1,transition:{duration:.32,ease:[.22,1,.36,1]}},exit:{opacity:0,scale:.92,transition:{duration:.2,ease:[.4,0,1,1]}}},gx=new Map;const bx=b.memo(e=>{const{id:t,message:r,onCloseComplete:n,onRequestRemove:o,requestClose:i=!1,position:a="bottom",duration:s=5e3,containerStyle:l,motionVariants:c=mx,toastSpacing:u=0}=e,[d,p]=b.useState(s),[h,f]=b.useState({depth:0,count:1,frontHeight:0}),[m,g]=b.useState(!1),v=dm(),x=b.useRef(null),w=b.useRef(null);ie(()=>{v||null==n||n()},[v]),ie(()=>{p(s)},[s]),b.useEffect(()=>{v&&i&&o()},[v,i,o]),le(()=>{v&&o()},d),b.useLayoutEffect(()=>{const e=x.current,t=w.current;if(!e)return;const r=e.parentElement,n=r?function(e){let t=gx.get(e);return t||(t={hovered:!1,refCount:0,hoverSubs:new Set,changeSubs:new Set},t.enter=()=>{t.hovered||(t.hovered=!0,t.hoverSubs.forEach(e=>e(!0)))},t.leave=()=>{t.hovered&&(t.hovered=!1,t.hoverSubs.forEach(e=>e(!1)))},t.notify=()=>t.changeSubs.forEach(e=>e()),e.addEventListener("pointerenter",t.enter),e.addEventListener("pointerleave",t.leave),gx.set(e,t)),t.refCount+=1,t}(r):null,o=()=>{if(!e.parentElement)return;const t=Array.from(e.parentElement.children).filter(e=>e.classList.contains("chakra-toast")),r=t.indexOf(e);if(r<0)return;const n=a.includes("top"),o=n?t[r-1]:t[r+1];f({depth:n?r:t.length-1-r,count:t.length,frontHeight:o?o.offsetHeight:0})};o(),n&&(n.changeSubs.add(o),n.hoverSubs.add(g),g(n.hovered));const i=r?new MutationObserver(()=>null==n?void 0:n.notify()):null;let s;return r&&i&&i.observe(r,{childList:!0}),t&&"undefined"!=typeof ResizeObserver&&(s=new ResizeObserver(()=>null==n?void 0:n.notify()),s.observe(t)),()=>{i&&i.disconnect(),s&&s.disconnect(),n&&(n.changeSubs.delete(o),n.hoverSubs.delete(g),function(e,t){t.refCount-=1,t.refCount<=0&&(e.removeEventListener("pointerenter",t.enter),e.removeEventListener("pointerleave",t.leave),gx.delete(e))}(r,n))}},[a]);const S=b.useMemo(()=>({pointerEvents:"auto",maxWidth:560,minWidth:300,margin:u,...l}),[l,u]),k=b.useMemo(()=>(e=>{let t="center";return e.includes("right")&&(t="flex-end"),e.includes("left")&&(t="flex-start"),{display:"flex",flexDirection:"column",alignItems:t}})(a),[a]),{depth:C,count:_,frontHeight:P}=h,E=0===C,A=!m,T=Math.min(C,6),j=E?16:A?12-P:12,z=A&&!E?1-.05*T:1,R=A&&!E?Math.max(1-.16*T,0):1,B=Math.max(_-C,1);return y.jsx(Xg.div,{ref:x,className:"chakra-toast",layout:"position",variants:c,initial:"initial",animate:"animate",exit:"exit",transition:{layout:{duration:.3,ease:[.22,1,.36,1]}},onHoverStart:()=>p(null),onHoverEnd:()=>p(s),custom:{position:a},style:{...k,marginBottom:j,zIndex:B},children:y.jsx(pv,{ref:w,role:"status","aria-atomic":"true",className:"chakra-toast__inner",sx:S,style:{transform:`scale(${z})`,opacity:R},children:Y(r,{id:t,onClose:()=>v&&o()})})})});bx.displayName="StackedToastComponent";const vx={component:bx,toastSpacing:0,defaultOptions:{position:"bottom-right",isClosable:!1,containerStyle:{margin:"0 16px 0 0"},render:({title:e,description:t,status:r="info",onClose:n})=>{const o=px[r]||px.info;return y.jsxs(pv,{...hx,style:fx,bg:o.bg,border:"1px solid",borderColor:o.border,children:[e?y.jsx(ax,{fontSize:"13px",fontWeight:"500",lineHeight:"1.35",color:o.title,children:e}):null,t?y.jsx(ax,{fontSize:"13px",fontWeight:"400",lineHeight:"1.35",color:o.description,opacity:.85,mt:e?.5:0,children:t}):null,y.jsx(yv,{"aria-label":"Закрыть",icon:y.jsx(dx,{boxSize:2.5}),size:"xs",variant:"ghost",position:"absolute",top:1.5,right:1.5,minW:6,h:6,color:o.description,opacity:.55,borderRadius:"full",_hover:{opacity:1,bg:"blackAlpha.50"},onClick:n})]})}}};export{Pb as $,tb as A,pv as B,uv as C,Jh as D,_u as E,kh as F,jd as G,ap as H,yv as I,Jc as J,Tb as K,Ot as L,Yc as M,F as N,T as O,av as P,ae as Q,Wl as R,Ib as S,ax as T,My as U,Nv as V,Cc as W,z as X,A as Y,V as Z,pt as _,ux as a,W as a0,oe as a1,Bl as a2,xc as a3,te as a4,dx as a5,Lc as a6,Uc as a7,Jb as a8,Y as a9,Og as aA,bh as aB,wh as aC,xh as aD,vp as aE,Op as aF,Yh as aG,sh as aH,ah as aI,ip as aJ,rh as aK,Nm as aL,cf as aM,qb as aN,Xb as aO,yc as aP,pb as aQ,rc as aR,dc as aS,cc as aT,Kb as aa,Ab as ab,lv as ac,ih as ad,Ad as ae,Td as af,Zh as ag,dm as ah,hu as ai,Gg as aj,Nc as ak,C as al,re as am,ie as an,Zy as ao,Oy as ap,Jy as aq,_ as ar,E as as,P as at,um as au,Gb as av,Ch as aw,Wm as ax,Hg as ay,Ng as az,bv as b,ix as c,Cv as d,Bb as e,kb as f,N as g,xb as h,$b as i,Hb as j,wc as k,Ub as l,Xg as m,H as n,Ct as o,Eb as p,jb as q,Mg as r,$g as s,vx as t,ne as u,Bg as v,Rb as w,q as x,xt as y,yd as z};

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