File: /home/c0400220/public_html/2020/wp-content/plugins/everest-forms/dist/dashboardHeader.min.js
/*! For license information please see dashboardHeader.min.js.LICENSE.txt */
(()=>{var e,t,n={4146:(e,t,n)=>{"use strict";var r=n(3404),o={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},a={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},i={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},s={};function l(e){return r.isMemo(e)?i:s[e.$$typeof]||o}s[r.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},s[r.Memo]=i;var c=Object.defineProperty,u=Object.getOwnPropertyNames,d=Object.getOwnPropertySymbols,f=Object.getOwnPropertyDescriptor,p=Object.getPrototypeOf,h=Object.prototype;e.exports=function e(t,n,r){if("string"!=typeof n){if(h){var o=p(n);o&&o!==h&&e(t,o,r)}var i=u(n);d&&(i=i.concat(d(n)));for(var s=l(t),m=l(n),v=0;v<i.length;++v){var g=i[v];if(!(a[g]||r&&r[g]||m&&m[g]||s&&s[g])){var y=f(n,g);try{c(t,g,y)}catch(e){}}}}return t}},3072:(e,t)=>{"use strict";var n="function"==typeof Symbol&&Symbol.for,r=n?Symbol.for("react.element"):60103,o=n?Symbol.for("react.portal"):60106,a=n?Symbol.for("react.fragment"):60107,i=n?Symbol.for("react.strict_mode"):60108,s=n?Symbol.for("react.profiler"):60114,l=n?Symbol.for("react.provider"):60109,c=n?Symbol.for("react.context"):60110,u=n?Symbol.for("react.async_mode"):60111,d=n?Symbol.for("react.concurrent_mode"):60111,f=n?Symbol.for("react.forward_ref"):60112,p=n?Symbol.for("react.suspense"):60113,h=n?Symbol.for("react.suspense_list"):60120,m=n?Symbol.for("react.memo"):60115,v=n?Symbol.for("react.lazy"):60116,g=n?Symbol.for("react.block"):60121,y=n?Symbol.for("react.fundamental"):60117,b=n?Symbol.for("react.responder"):60118,w=n?Symbol.for("react.scope"):60119;function x(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case r:switch(e=e.type){case u:case d:case a:case s:case i:case p:return e;default:switch(e=e&&e.$$typeof){case c:case f:case v:case m:case l:return e;default:return t}}case o:return t}}}function S(e){return x(e)===d}t.AsyncMode=u,t.ConcurrentMode=d,t.ContextConsumer=c,t.ContextProvider=l,t.Element=r,t.ForwardRef=f,t.Fragment=a,t.Lazy=v,t.Memo=m,t.Portal=o,t.Profiler=s,t.StrictMode=i,t.Suspense=p,t.isAsyncMode=function(e){return S(e)||x(e)===u},t.isConcurrentMode=S,t.isContextConsumer=function(e){return x(e)===c},t.isContextProvider=function(e){return x(e)===l},t.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===r},t.isForwardRef=function(e){return x(e)===f},t.isFragment=function(e){return x(e)===a},t.isLazy=function(e){return x(e)===v},t.isMemo=function(e){return x(e)===m},t.isPortal=function(e){return x(e)===o},t.isProfiler=function(e){return x(e)===s},t.isStrictMode=function(e){return x(e)===i},t.isSuspense=function(e){return x(e)===p},t.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===a||e===d||e===s||e===i||e===p||e===h||"object"==typeof e&&null!==e&&(e.$$typeof===v||e.$$typeof===m||e.$$typeof===l||e.$$typeof===c||e.$$typeof===f||e.$$typeof===y||e.$$typeof===b||e.$$typeof===w||e.$$typeof===g)},t.typeOf=x},3404:(e,t,n)=>{"use strict";e.exports=n(3072)},8394:(e,t,n)=>{e=n.nmd(e);var r="__lodash_hash_undefined__",o=9007199254740991,a="[object Arguments]",i="[object Function]",s="[object Object]",l=/^\[object .+?Constructor\]$/,c=/^(?:0|[1-9]\d*)$/,u={};u["[object Float32Array]"]=u["[object Float64Array]"]=u["[object Int8Array]"]=u["[object Int16Array]"]=u["[object Int32Array]"]=u["[object Uint8Array]"]=u["[object Uint8ClampedArray]"]=u["[object Uint16Array]"]=u["[object Uint32Array]"]=!0,u[a]=u["[object Array]"]=u["[object ArrayBuffer]"]=u["[object Boolean]"]=u["[object DataView]"]=u["[object Date]"]=u["[object Error]"]=u[i]=u["[object Map]"]=u["[object Number]"]=u[s]=u["[object RegExp]"]=u["[object Set]"]=u["[object String]"]=u["[object WeakMap]"]=!1;var d,f,p,h="object"==typeof n.g&&n.g&&n.g.Object===Object&&n.g,m="object"==typeof self&&self&&self.Object===Object&&self,v=h||m||Function("return this")(),g=t&&!t.nodeType&&t,y=g&&e&&!e.nodeType&&e,b=y&&y.exports===g,w=b&&h.process,x=function(){try{return y&&y.require&&y.require("util").types||w&&w.binding&&w.binding("util")}catch(e){}}(),S=x&&x.isTypedArray,k=Array.prototype,E=Function.prototype,C=Object.prototype,_=v["__core-js_shared__"],P=E.toString,R=C.hasOwnProperty,T=(d=/[^.]+$/.exec(_&&_.keys&&_.keys.IE_PROTO||""))?"Symbol(src)_1."+d:"",A=C.toString,M=P.call(Object),O=RegExp("^"+P.call(R).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),z=b?v.Buffer:void 0,F=v.Symbol,j=v.Uint8Array,D=(z&&z.allocUnsafe,f=Object.getPrototypeOf,p=Object,function(e){return f(p(e))}),L=Object.create,B=C.propertyIsEnumerable,N=k.splice,I=F?F.toStringTag:void 0,$=function(){try{var e=se(Object,"defineProperty");return e({},"",{}),e}catch(e){}}(),V=z?z.isBuffer:void 0,W=Math.max,H=Date.now,U=se(v,"Map"),q=se(Object,"create"),Z=function(){function e(){}return function(t){if(!be(t))return{};if(L)return L(t);e.prototype=t;var n=new e;return e.prototype=void 0,n}}();function Q(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function K(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function Y(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function G(e){var t=this.__data__=new K(e);this.size=t.size}function X(e,t,n){(void 0!==n&&!fe(e[t],n)||void 0===n&&!(t in e))&&te(e,t,n)}function J(e,t,n){var r=e[t];R.call(e,t)&&fe(r,n)&&(void 0!==n||t in e)||te(e,t,n)}function ee(e,t){for(var n=e.length;n--;)if(fe(e[n][0],t))return n;return-1}function te(e,t,n){"__proto__"==t&&$?$(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n}Q.prototype.clear=function(){this.__data__=q?q(null):{},this.size=0},Q.prototype.delete=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t},Q.prototype.get=function(e){var t=this.__data__;if(q){var n=t[e];return n===r?void 0:n}return R.call(t,e)?t[e]:void 0},Q.prototype.has=function(e){var t=this.__data__;return q?void 0!==t[e]:R.call(t,e)},Q.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},K.prototype.clear=function(){this.__data__=[],this.size=0},K.prototype.delete=function(e){var t=this.__data__,n=ee(t,e);return!(n<0||(n==t.length-1?t.pop():N.call(t,n,1),--this.size,0))},K.prototype.get=function(e){var t=this.__data__,n=ee(t,e);return n<0?void 0:t[n][1]},K.prototype.has=function(e){return ee(this.__data__,e)>-1},K.prototype.set=function(e,t){var n=this.__data__,r=ee(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this},Y.prototype.clear=function(){this.size=0,this.__data__={hash:new Q,map:new(U||K),string:new Q}},Y.prototype.delete=function(e){var t=ie(this,e).delete(e);return this.size-=t?1:0,t},Y.prototype.get=function(e){return ie(this,e).get(e)},Y.prototype.has=function(e){return ie(this,e).has(e)},Y.prototype.set=function(e,t){var n=ie(this,e),r=n.size;return n.set(e,t),this.size+=n.size==r?0:1,this},G.prototype.clear=function(){this.__data__=new K,this.size=0},G.prototype.delete=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n},G.prototype.get=function(e){return this.__data__.get(e)},G.prototype.has=function(e){return this.__data__.has(e)},G.prototype.set=function(e,t){var n=this.__data__;if(n instanceof K){var r=n.__data__;if(!U||r.length<199)return r.push([e,t]),this.size=++n.size,this;n=this.__data__=new Y(r)}return n.set(e,t),this.size=n.size,this};function ne(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":I&&I in Object(e)?function(e){var t=R.call(e,I),n=e[I];try{e[I]=void 0;var r=!0}catch(e){}var o=A.call(e);return r&&(t?e[I]=n:delete e[I]),o}(e):function(e){return A.call(e)}(e)}function re(e){return we(e)&&ne(e)==a}function oe(e,t,n,r,o){e!==t&&function(e,t,n){for(var r=-1,o=Object(e),a=n(e),i=a.length;i--;){var s=a[++r];if(!1===t(o[s],s,o))break}}(t,function(a,i){if(o||(o=new G),be(a))!function(e,t,n,r,o,a,i){var l=ue(e,n),c=ue(t,n),u=i.get(c);if(u)X(e,n,u);else{var d,f,p,h,m,v=a?a(l,c,n+"",e,t,i):void 0,g=void 0===v;if(g){var y=he(c),b=!y&&ve(c),w=!y&&!b&&xe(c);v=c,y||b||w?he(l)?v=l:we(m=l)&&me(m)?v=function(e,t){var n=-1,r=e.length;for(t||(t=Array(r));++n<r;)t[n]=e[n];return t}(l):b?(g=!1,v=function(e){return e.slice()}(c)):w?(g=!1,h=new(p=(d=c).buffer).constructor(p.byteLength),new j(h).set(new j(p)),f=h,v=new d.constructor(f,d.byteOffset,d.length)):v=[]:function(e){if(!we(e)||ne(e)!=s)return!1;var t=D(e);if(null===t)return!0;var n=R.call(t,"constructor")&&t.constructor;return"function"==typeof n&&n instanceof n&&P.call(n)==M}(c)||pe(c)?(v=l,pe(l)?v=function(e){return function(e,t,n){var r=!n;n||(n={});for(var o=-1,a=t.length;++o<a;){var i=t[o],s=void 0;void 0===s&&(s=e[i]),r?te(n,i,s):J(n,i,s)}return n}(e,Se(e))}(l):be(l)&&!ge(l)||(v=function(e){return"function"!=typeof e.constructor||ce(e)?{}:Z(D(e))}(c))):g=!1}g&&(i.set(c,v),o(v,c,r,a,i),i.delete(c)),X(e,n,v)}}(e,t,i,n,oe,r,o);else{var l=r?r(ue(e,i),a,i+"",e,t,o):void 0;void 0===l&&(l=a),X(e,i,l)}},Se)}var ae=$?function(e,t){return $(e,"toString",{configurable:!0,enumerable:!1,value:(n=t,function(){return n}),writable:!0});var n}:Ce;function ie(e,t){var n,r,o=e.__data__;return("string"==(r=typeof(n=t))||"number"==r||"symbol"==r||"boolean"==r?"__proto__"!==n:null===n)?o["string"==typeof t?"string":"hash"]:o.map}function se(e,t){var n=function(e,t){return null==e?void 0:e[t]}(e,t);return function(e){return!(!be(e)||function(e){return!!T&&T in e}(e))&&(ge(e)?O:l).test(function(e){if(null!=e){try{return P.call(e)}catch(e){}try{return e+""}catch(e){}}return""}(e))}(n)?n:void 0}function le(e,t){var n=typeof e;return!!(t=null==t?o:t)&&("number"==n||"symbol"!=n&&c.test(e))&&e>-1&&e%1==0&&e<t}function ce(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||C)}function ue(e,t){if(("constructor"!==t||"function"!=typeof e[t])&&"__proto__"!=t)return e[t]}var de=function(e){var t=0,n=0;return function(){var r=H(),o=16-(r-n);if(n=r,o>0){if(++t>=800)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}(ae);function fe(e,t){return e===t||e!=e&&t!=t}var pe=re(function(){return arguments}())?re:function(e){return we(e)&&R.call(e,"callee")&&!B.call(e,"callee")},he=Array.isArray;function me(e){return null!=e&&ye(e.length)&&!ge(e)}var ve=V||function(){return!1};function ge(e){if(!be(e))return!1;var t=ne(e);return t==i||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t}function ye(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=o}function be(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}function we(e){return null!=e&&"object"==typeof e}var xe=S?function(e){return function(t){return e(t)}}(S):function(e){return we(e)&&ye(e.length)&&!!u[ne(e)]};function Se(e){return me(e)?function(e,t){var n=he(e),r=!n&&pe(e),o=!n&&!r&&ve(e),a=!n&&!r&&!o&&xe(e),i=n||r||o||a,s=i?function(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}(e.length,String):[],l=s.length;for(var c in e)!t&&!R.call(e,c)||i&&("length"==c||o&&("offset"==c||"parent"==c)||a&&("buffer"==c||"byteLength"==c||"byteOffset"==c)||le(c,l))||s.push(c);return s}(e,!0):function(e){if(!be(e))return function(e){var t=[];if(null!=e)for(var n in Object(e))t.push(n);return t}(e);var t=ce(e),n=[];for(var r in e)("constructor"!=r||!t&&R.call(e,r))&&n.push(r);return n}(e)}var ke,Ee=(ke=function(e,t,n,r){oe(e,t,n,r)},function(e,t){return de(function(e,t,n){return t=W(void 0===t?e.length-1:t,0),function(){for(var r=arguments,o=-1,a=W(r.length-t,0),i=Array(a);++o<a;)i[o]=r[t+o];o=-1;for(var s=Array(t+1);++o<t;)s[o]=r[o];return s[t]=n(i),function(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)}(e,this,s)}}(e,t,Ce),e+"")}(function(e,t){var n=-1,r=t.length,o=r>1?t[r-1]:void 0,a=r>2?t[2]:void 0;for(o=ke.length>3&&"function"==typeof o?(r--,o):void 0,a&&function(e,t,n){if(!be(n))return!1;var r=typeof t;return!!("number"==r?me(n)&&le(t,n.length):"string"==r&&t in n)&&fe(n[t],e)}(t[0],t[1],a)&&(o=r<3?void 0:o,r=1),e=Object(e);++n<r;){var i=t[n];i&&ke(e,i,n,o)}return e}));function Ce(e){return e}e.exports=Ee},2694:(e,t,n)=>{"use strict";var r=n(6925);function o(){}function a(){}a.resetWarningCache=o,e.exports=function(){function e(e,t,n,o,a,i){if(i!==r){var s=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw s.name="Invariant Violation",s}}function t(){return e}e.isRequired=e;var n={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:a,resetWarningCache:o};return n.PropTypes=n,n}},5556:(e,t,n)=>{e.exports=n(2694)()},6925:e=>{"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},2551:(e,t,n)=>{"use strict";var r=n(1993),o=n(9982);function a(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var i=new Set,s={};function l(e,t){c(e,t),c(e+"Capture",t)}function c(e,t){for(s[e]=t,e=0;e<t.length;e++)i.add(t[e])}var u=!("undefined"==typeof window||void 0===window.document||void 0===window.document.createElement),d=Object.prototype.hasOwnProperty,f=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,p={},h={};function m(e,t,n,r,o,a,i){this.acceptsBooleans=2===t||3===t||4===t,this.attributeName=r,this.attributeNamespace=o,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=a,this.removeEmptyString=i}var v={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){v[e]=new m(e,0,!1,e,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];v[t]=new m(t,1,!1,e[1],null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(e){v[e]=new m(e,2,!1,e.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){v[e]=new m(e,2,!1,e,null,!1,!1)}),"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(e){v[e]=new m(e,3,!1,e.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(e){v[e]=new m(e,3,!0,e,null,!1,!1)}),["capture","download"].forEach(function(e){v[e]=new m(e,4,!1,e,null,!1,!1)}),["cols","rows","size","span"].forEach(function(e){v[e]=new m(e,6,!1,e,null,!1,!1)}),["rowSpan","start"].forEach(function(e){v[e]=new m(e,5,!1,e.toLowerCase(),null,!1,!1)});var g=/[\-:]([a-z])/g;function y(e){return e[1].toUpperCase()}function b(e,t,n,r){var o=v.hasOwnProperty(t)?v[t]:null;(null!==o?0!==o.type:r||!(2<t.length)||"o"!==t[0]&&"O"!==t[0]||"n"!==t[1]&&"N"!==t[1])&&(function(e,t,n,r){if(null==t||function(e,t,n,r){if(null!==n&&0===n.type)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return!r&&(null!==n?!n.acceptsBooleans:"data-"!==(e=e.toLowerCase().slice(0,5))&&"aria-"!==e);default:return!1}}(e,t,n,r))return!0;if(r)return!1;if(null!==n)switch(n.type){case 3:return!t;case 4:return!1===t;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}(t,n,o,r)&&(n=null),r||null===o?function(e){return!!d.call(h,e)||!d.call(p,e)&&(f.test(e)?h[e]=!0:(p[e]=!0,!1))}(t)&&(null===n?e.removeAttribute(t):e.setAttribute(t,""+n)):o.mustUseProperty?e[o.propertyName]=null===n?3!==o.type&&"":n:(t=o.attributeName,r=o.attributeNamespace,null===n?e.removeAttribute(t):(n=3===(o=o.type)||4===o&&!0===n?"":""+n,r?e.setAttributeNS(r,t,n):e.setAttribute(t,n))))}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(e){var t=e.replace(g,y);v[t]=new m(t,1,!1,e,null,!1,!1)}),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(e){var t=e.replace(g,y);v[t]=new m(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(e){var t=e.replace(g,y);v[t]=new m(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(e){v[e]=new m(e,1,!1,e.toLowerCase(),null,!1,!1)}),v.xlinkHref=new m("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(e){v[e]=new m(e,1,!1,e.toLowerCase(),null,!0,!0)});var w=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,x=Symbol.for("react.element"),S=Symbol.for("react.portal"),k=Symbol.for("react.fragment"),E=Symbol.for("react.strict_mode"),C=Symbol.for("react.profiler"),_=Symbol.for("react.provider"),P=Symbol.for("react.context"),R=Symbol.for("react.forward_ref"),T=Symbol.for("react.suspense"),A=Symbol.for("react.suspense_list"),M=Symbol.for("react.memo"),O=Symbol.for("react.lazy");Symbol.for("react.scope"),Symbol.for("react.debug_trace_mode");var z=Symbol.for("react.offscreen");Symbol.for("react.legacy_hidden"),Symbol.for("react.cache"),Symbol.for("react.tracing_marker");var F=Symbol.iterator;function j(e){return null===e||"object"!=typeof e?null:"function"==typeof(e=F&&e[F]||e["@@iterator"])?e:null}var D,L=Object.assign;function B(e){if(void 0===D)try{throw Error()}catch(e){var t=e.stack.trim().match(/\n( *(at )?)/);D=t&&t[1]||""}return"\n"+D+e}var N=!1;function I(e,t){if(!e||N)return"";N=!0;var n=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(t)if(t=function(){throw Error()},Object.defineProperty(t.prototype,"props",{set:function(){throw Error()}}),"object"==typeof Reflect&&Reflect.construct){try{Reflect.construct(t,[])}catch(e){var r=e}Reflect.construct(e,[],t)}else{try{t.call()}catch(e){r=e}e.call(t.prototype)}else{try{throw Error()}catch(e){r=e}e()}}catch(t){if(t&&r&&"string"==typeof t.stack){for(var o=t.stack.split("\n"),a=r.stack.split("\n"),i=o.length-1,s=a.length-1;1<=i&&0<=s&&o[i]!==a[s];)s--;for(;1<=i&&0<=s;i--,s--)if(o[i]!==a[s]){if(1!==i||1!==s)do{if(i--,0>--s||o[i]!==a[s]){var l="\n"+o[i].replace(" at new "," at ");return e.displayName&&l.includes("<anonymous>")&&(l=l.replace("<anonymous>",e.displayName)),l}}while(1<=i&&0<=s);break}}}finally{N=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?B(e):""}function $(e){switch(e.tag){case 5:return B(e.type);case 16:return B("Lazy");case 13:return B("Suspense");case 19:return B("SuspenseList");case 0:case 2:case 15:return I(e.type,!1);case 11:return I(e.type.render,!1);case 1:return I(e.type,!0);default:return""}}function V(e){if(null==e)return null;if("function"==typeof e)return e.displayName||e.name||null;if("string"==typeof e)return e;switch(e){case k:return"Fragment";case S:return"Portal";case C:return"Profiler";case E:return"StrictMode";case T:return"Suspense";case A:return"SuspenseList"}if("object"==typeof e)switch(e.$$typeof){case P:return(e.displayName||"Context")+".Consumer";case _:return(e._context.displayName||"Context")+".Provider";case R:var t=e.render;return(e=e.displayName)||(e=""!==(e=t.displayName||t.name||"")?"ForwardRef("+e+")":"ForwardRef"),e;case M:return null!==(t=e.displayName||null)?t:V(e.type)||"Memo";case O:t=e._payload,e=e._init;try{return V(e(t))}catch(e){}}return null}function W(e){var t=e.type;switch(e.tag){case 24:return"Cache";case 9:return(t.displayName||"Context")+".Consumer";case 10:return(t._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return e=(e=t.render).displayName||e.name||"",t.displayName||(""!==e?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 5:return t;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return V(t);case 8:return t===E?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if("function"==typeof t)return t.displayName||t.name||null;if("string"==typeof t)return t}return null}function H(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":case"object":return e;default:return""}}function U(e){var t=e.type;return(e=e.nodeName)&&"input"===e.toLowerCase()&&("checkbox"===t||"radio"===t)}function q(e){e._valueTracker||(e._valueTracker=function(e){var t=U(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&void 0!==n&&"function"==typeof n.get&&"function"==typeof n.set){var o=n.get,a=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return o.call(this)},set:function(e){r=""+e,a.call(this,e)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(e){r=""+e},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}(e))}function Z(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=U(e)?e.checked?"true":"false":e.value),(e=r)!==n&&(t.setValue(e),!0)}function Q(e){if(void 0===(e=e||("undefined"!=typeof document?document:void 0)))return null;try{return e.activeElement||e.body}catch(t){return e.body}}function K(e,t){var n=t.checked;return L({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:null!=n?n:e._wrapperState.initialChecked})}function Y(e,t){var n=null==t.defaultValue?"":t.defaultValue,r=null!=t.checked?t.checked:t.defaultChecked;n=H(null!=t.value?t.value:n),e._wrapperState={initialChecked:r,initialValue:n,controlled:"checkbox"===t.type||"radio"===t.type?null!=t.checked:null!=t.value}}function G(e,t){null!=(t=t.checked)&&b(e,"checked",t,!1)}function X(e,t){G(e,t);var n=H(t.value),r=t.type;if(null!=n)"number"===r?(0===n&&""===e.value||e.value!=n)&&(e.value=""+n):e.value!==""+n&&(e.value=""+n);else if("submit"===r||"reset"===r)return void e.removeAttribute("value");t.hasOwnProperty("value")?ee(e,t.type,n):t.hasOwnProperty("defaultValue")&&ee(e,t.type,H(t.defaultValue)),null==t.checked&&null!=t.defaultChecked&&(e.defaultChecked=!!t.defaultChecked)}function J(e,t,n){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var r=t.type;if(!("submit"!==r&&"reset"!==r||void 0!==t.value&&null!==t.value))return;t=""+e._wrapperState.initialValue,n||t===e.value||(e.value=t),e.defaultValue=t}""!==(n=e.name)&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,""!==n&&(e.name=n)}function ee(e,t,n){"number"===t&&Q(e.ownerDocument)===e||(null==n?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var te=Array.isArray;function ne(e,t,n,r){if(e=e.options,t){t={};for(var o=0;o<n.length;o++)t["$"+n[o]]=!0;for(n=0;n<e.length;n++)o=t.hasOwnProperty("$"+e[n].value),e[n].selected!==o&&(e[n].selected=o),o&&r&&(e[n].defaultSelected=!0)}else{for(n=""+H(n),t=null,o=0;o<e.length;o++){if(e[o].value===n)return e[o].selected=!0,void(r&&(e[o].defaultSelected=!0));null!==t||e[o].disabled||(t=e[o])}null!==t&&(t.selected=!0)}}function re(e,t){if(null!=t.dangerouslySetInnerHTML)throw Error(a(91));return L({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function oe(e,t){var n=t.value;if(null==n){if(n=t.children,t=t.defaultValue,null!=n){if(null!=t)throw Error(a(92));if(te(n)){if(1<n.length)throw Error(a(93));n=n[0]}t=n}null==t&&(t=""),n=t}e._wrapperState={initialValue:H(n)}}function ae(e,t){var n=H(t.value),r=H(t.defaultValue);null!=n&&((n=""+n)!==e.value&&(e.value=n),null==t.defaultValue&&e.defaultValue!==n&&(e.defaultValue=n)),null!=r&&(e.defaultValue=""+r)}function ie(e){var t=e.textContent;t===e._wrapperState.initialValue&&""!==t&&null!==t&&(e.value=t)}function se(e){switch(e){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function le(e,t){return null==e||"http://www.w3.org/1999/xhtml"===e?se(t):"http://www.w3.org/2000/svg"===e&&"foreignObject"===t?"http://www.w3.org/1999/xhtml":e}var ce,ue,de=(ue=function(e,t){if("http://www.w3.org/2000/svg"!==e.namespaceURI||"innerHTML"in e)e.innerHTML=t;else{for((ce=ce||document.createElement("div")).innerHTML="<svg>"+t.valueOf().toString()+"</svg>",t=ce.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}},"undefined"!=typeof MSApp&&MSApp.execUnsafeLocalFunction?function(e,t,n,r){MSApp.execUnsafeLocalFunction(function(){return ue(e,t)})}:ue);function fe(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&3===n.nodeType)return void(n.nodeValue=t)}e.textContent=t}var pe={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},he=["Webkit","ms","Moz","O"];function me(e,t,n){return null==t||"boolean"==typeof t||""===t?"":n||"number"!=typeof t||0===t||pe.hasOwnProperty(e)&&pe[e]?(""+t).trim():t+"px"}function ve(e,t){for(var n in e=e.style,t)if(t.hasOwnProperty(n)){var r=0===n.indexOf("--"),o=me(n,t[n],r);"float"===n&&(n="cssFloat"),r?e.setProperty(n,o):e[n]=o}}Object.keys(pe).forEach(function(e){he.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),pe[t]=pe[e]})});var ge=L({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function ye(e,t){if(t){if(ge[e]&&(null!=t.children||null!=t.dangerouslySetInnerHTML))throw Error(a(137,e));if(null!=t.dangerouslySetInnerHTML){if(null!=t.children)throw Error(a(60));if("object"!=typeof t.dangerouslySetInnerHTML||!("__html"in t.dangerouslySetInnerHTML))throw Error(a(61))}if(null!=t.style&&"object"!=typeof t.style)throw Error(a(62))}}function be(e,t){if(-1===e.indexOf("-"))return"string"==typeof t.is;switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var we=null;function xe(e){return(e=e.target||e.srcElement||window).correspondingUseElement&&(e=e.correspondingUseElement),3===e.nodeType?e.parentNode:e}var Se=null,ke=null,Ee=null;function Ce(e){if(e=wo(e)){if("function"!=typeof Se)throw Error(a(280));var t=e.stateNode;t&&(t=So(t),Se(e.stateNode,e.type,t))}}function _e(e){ke?Ee?Ee.push(e):Ee=[e]:ke=e}function Pe(){if(ke){var e=ke,t=Ee;if(Ee=ke=null,Ce(e),t)for(e=0;e<t.length;e++)Ce(t[e])}}function Re(e,t){return e(t)}function Te(){}var Ae=!1;function Me(e,t,n){if(Ae)return e(t,n);Ae=!0;try{return Re(e,t,n)}finally{Ae=!1,(null!==ke||null!==Ee)&&(Te(),Pe())}}function Oe(e,t){var n=e.stateNode;if(null===n)return null;var r=So(n);if(null===r)return null;n=r[t];e:switch(t){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(r=!r.disabled)||(r=!("button"===(e=e.type)||"input"===e||"select"===e||"textarea"===e)),e=!r;break e;default:e=!1}if(e)return null;if(n&&"function"!=typeof n)throw Error(a(231,t,typeof n));return n}var ze=!1;if(u)try{var Fe={};Object.defineProperty(Fe,"passive",{get:function(){ze=!0}}),window.addEventListener("test",Fe,Fe),window.removeEventListener("test",Fe,Fe)}catch(ue){ze=!1}function je(e,t,n,r,o,a,i,s,l){var c=Array.prototype.slice.call(arguments,3);try{t.apply(n,c)}catch(e){this.onError(e)}}var De=!1,Le=null,Be=!1,Ne=null,Ie={onError:function(e){De=!0,Le=e}};function $e(e,t,n,r,o,a,i,s,l){De=!1,Le=null,je.apply(Ie,arguments)}function Ve(e){var t=e,n=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do{!!(4098&(t=e).flags)&&(n=t.return),e=t.return}while(e)}return 3===t.tag?n:null}function We(e){if(13===e.tag){var t=e.memoizedState;if(null===t&&null!==(e=e.alternate)&&(t=e.memoizedState),null!==t)return t.dehydrated}return null}function He(e){if(Ve(e)!==e)throw Error(a(188))}function Ue(e){return null!==(e=function(e){var t=e.alternate;if(!t){if(null===(t=Ve(e)))throw Error(a(188));return t!==e?null:e}for(var n=e,r=t;;){var o=n.return;if(null===o)break;var i=o.alternate;if(null===i){if(null!==(r=o.return)){n=r;continue}break}if(o.child===i.child){for(i=o.child;i;){if(i===n)return He(o),e;if(i===r)return He(o),t;i=i.sibling}throw Error(a(188))}if(n.return!==r.return)n=o,r=i;else{for(var s=!1,l=o.child;l;){if(l===n){s=!0,n=o,r=i;break}if(l===r){s=!0,r=o,n=i;break}l=l.sibling}if(!s){for(l=i.child;l;){if(l===n){s=!0,n=i,r=o;break}if(l===r){s=!0,r=i,n=o;break}l=l.sibling}if(!s)throw Error(a(189))}}if(n.alternate!==r)throw Error(a(190))}if(3!==n.tag)throw Error(a(188));return n.stateNode.current===n?e:t}(e))?qe(e):null}function qe(e){if(5===e.tag||6===e.tag)return e;for(e=e.child;null!==e;){var t=qe(e);if(null!==t)return t;e=e.sibling}return null}var Ze=o.unstable_scheduleCallback,Qe=o.unstable_cancelCallback,Ke=o.unstable_shouldYield,Ye=o.unstable_requestPaint,Ge=o.unstable_now,Xe=o.unstable_getCurrentPriorityLevel,Je=o.unstable_ImmediatePriority,et=o.unstable_UserBlockingPriority,tt=o.unstable_NormalPriority,nt=o.unstable_LowPriority,rt=o.unstable_IdlePriority,ot=null,at=null,it=Math.clz32?Math.clz32:function(e){return 0===(e>>>=0)?32:31-(st(e)/lt|0)|0},st=Math.log,lt=Math.LN2,ct=64,ut=4194304;function dt(e){switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return 4194240&e;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return 130023424&e;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return e}}function ft(e,t){var n=e.pendingLanes;if(0===n)return 0;var r=0,o=e.suspendedLanes,a=e.pingedLanes,i=268435455&n;if(0!==i){var s=i&~o;0!==s?r=dt(s):0!==(a&=i)&&(r=dt(a))}else 0!==(i=n&~o)?r=dt(i):0!==a&&(r=dt(a));if(0===r)return 0;if(0!==t&&t!==r&&0===(t&o)&&((o=r&-r)>=(a=t&-t)||16===o&&4194240&a))return t;if(4&r&&(r|=16&n),0!==(t=e.entangledLanes))for(e=e.entanglements,t&=r;0<t;)o=1<<(n=31-it(t)),r|=e[n],t&=~o;return r}function pt(e,t){switch(e){case 1:case 2:case 4:return t+250;case 8:case 16:case 32:case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return t+5e3;default:return-1}}function ht(e){return 0!=(e=-1073741825&e.pendingLanes)?e:1073741824&e?1073741824:0}function mt(){var e=ct;return!(4194240&(ct<<=1))&&(ct=64),e}function vt(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function gt(e,t,n){e.pendingLanes|=t,536870912!==t&&(e.suspendedLanes=0,e.pingedLanes=0),(e=e.eventTimes)[t=31-it(t)]=n}function yt(e,t){var n=e.entangledLanes|=t;for(e=e.entanglements;n;){var r=31-it(n),o=1<<r;o&t|e[r]&t&&(e[r]|=t),n&=~o}}var bt=0;function wt(e){return 1<(e&=-e)?4<e?268435455&e?16:536870912:4:1}var xt,St,kt,Et,Ct,_t=!1,Pt=[],Rt=null,Tt=null,At=null,Mt=new Map,Ot=new Map,zt=[],Ft="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset submit".split(" ");function jt(e,t){switch(e){case"focusin":case"focusout":Rt=null;break;case"dragenter":case"dragleave":Tt=null;break;case"mouseover":case"mouseout":At=null;break;case"pointerover":case"pointerout":Mt.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":Ot.delete(t.pointerId)}}function Dt(e,t,n,r,o,a){return null===e||e.nativeEvent!==a?(e={blockedOn:t,domEventName:n,eventSystemFlags:r,nativeEvent:a,targetContainers:[o]},null!==t&&null!==(t=wo(t))&&St(t),e):(e.eventSystemFlags|=r,t=e.targetContainers,null!==o&&-1===t.indexOf(o)&&t.push(o),e)}function Lt(e){var t=bo(e.target);if(null!==t){var n=Ve(t);if(null!==n)if(13===(t=n.tag)){if(null!==(t=We(n)))return e.blockedOn=t,void Ct(e.priority,function(){kt(n)})}else if(3===t&&n.stateNode.current.memoizedState.isDehydrated)return void(e.blockedOn=3===n.tag?n.stateNode.containerInfo:null)}e.blockedOn=null}function Bt(e){if(null!==e.blockedOn)return!1;for(var t=e.targetContainers;0<t.length;){var n=Kt(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(null!==n)return null!==(t=wo(n))&&St(t),e.blockedOn=n,!1;var r=new(n=e.nativeEvent).constructor(n.type,n);we=r,n.target.dispatchEvent(r),we=null,t.shift()}return!0}function Nt(e,t,n){Bt(e)&&n.delete(t)}function It(){_t=!1,null!==Rt&&Bt(Rt)&&(Rt=null),null!==Tt&&Bt(Tt)&&(Tt=null),null!==At&&Bt(At)&&(At=null),Mt.forEach(Nt),Ot.forEach(Nt)}function $t(e,t){e.blockedOn===t&&(e.blockedOn=null,_t||(_t=!0,o.unstable_scheduleCallback(o.unstable_NormalPriority,It)))}function Vt(e){function t(t){return $t(t,e)}if(0<Pt.length){$t(Pt[0],e);for(var n=1;n<Pt.length;n++){var r=Pt[n];r.blockedOn===e&&(r.blockedOn=null)}}for(null!==Rt&&$t(Rt,e),null!==Tt&&$t(Tt,e),null!==At&&$t(At,e),Mt.forEach(t),Ot.forEach(t),n=0;n<zt.length;n++)(r=zt[n]).blockedOn===e&&(r.blockedOn=null);for(;0<zt.length&&null===(n=zt[0]).blockedOn;)Lt(n),null===n.blockedOn&&zt.shift()}var Wt=w.ReactCurrentBatchConfig,Ht=!0;function Ut(e,t,n,r){var o=bt,a=Wt.transition;Wt.transition=null;try{bt=1,Zt(e,t,n,r)}finally{bt=o,Wt.transition=a}}function qt(e,t,n,r){var o=bt,a=Wt.transition;Wt.transition=null;try{bt=4,Zt(e,t,n,r)}finally{bt=o,Wt.transition=a}}function Zt(e,t,n,r){if(Ht){var o=Kt(e,t,n,r);if(null===o)Hr(e,t,r,Qt,n),jt(e,r);else if(function(e,t,n,r,o){switch(t){case"focusin":return Rt=Dt(Rt,e,t,n,r,o),!0;case"dragenter":return Tt=Dt(Tt,e,t,n,r,o),!0;case"mouseover":return At=Dt(At,e,t,n,r,o),!0;case"pointerover":var a=o.pointerId;return Mt.set(a,Dt(Mt.get(a)||null,e,t,n,r,o)),!0;case"gotpointercapture":return a=o.pointerId,Ot.set(a,Dt(Ot.get(a)||null,e,t,n,r,o)),!0}return!1}(o,e,t,n,r))r.stopPropagation();else if(jt(e,r),4&t&&-1<Ft.indexOf(e)){for(;null!==o;){var a=wo(o);if(null!==a&&xt(a),null===(a=Kt(e,t,n,r))&&Hr(e,t,r,Qt,n),a===o)break;o=a}null!==o&&r.stopPropagation()}else Hr(e,t,r,null,n)}}var Qt=null;function Kt(e,t,n,r){if(Qt=null,null!==(e=bo(e=xe(r))))if(null===(t=Ve(e)))e=null;else if(13===(n=t.tag)){if(null!==(e=We(t)))return e;e=null}else if(3===n){if(t.stateNode.current.memoizedState.isDehydrated)return 3===t.tag?t.stateNode.containerInfo:null;e=null}else t!==e&&(e=null);return Qt=e,null}function Yt(e){switch(e){case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return 1;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"toggle":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 4;case"message":switch(Xe()){case Je:return 1;case et:return 4;case tt:case nt:return 16;case rt:return 536870912;default:return 16}default:return 16}}var Gt=null,Xt=null,Jt=null;function en(){if(Jt)return Jt;var e,t,n=Xt,r=n.length,o="value"in Gt?Gt.value:Gt.textContent,a=o.length;for(e=0;e<r&&n[e]===o[e];e++);var i=r-e;for(t=1;t<=i&&n[r-t]===o[a-t];t++);return Jt=o.slice(e,1<t?1-t:void 0)}function tn(e){var t=e.keyCode;return"charCode"in e?0===(e=e.charCode)&&13===t&&(e=13):e=t,10===e&&(e=13),32<=e||13===e?e:0}function nn(){return!0}function rn(){return!1}function on(e){function t(t,n,r,o,a){for(var i in this._reactName=t,this._targetInst=r,this.type=n,this.nativeEvent=o,this.target=a,this.currentTarget=null,e)e.hasOwnProperty(i)&&(t=e[i],this[i]=t?t(o):o[i]);return this.isDefaultPrevented=(null!=o.defaultPrevented?o.defaultPrevented:!1===o.returnValue)?nn:rn,this.isPropagationStopped=rn,this}return L(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var e=this.nativeEvent;e&&(e.preventDefault?e.preventDefault():"unknown"!=typeof e.returnValue&&(e.returnValue=!1),this.isDefaultPrevented=nn)},stopPropagation:function(){var e=this.nativeEvent;e&&(e.stopPropagation?e.stopPropagation():"unknown"!=typeof e.cancelBubble&&(e.cancelBubble=!0),this.isPropagationStopped=nn)},persist:function(){},isPersistent:nn}),t}var an,sn,ln,cn={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},un=on(cn),dn=L({},cn,{view:0,detail:0}),fn=on(dn),pn=L({},dn,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Cn,button:0,buttons:0,relatedTarget:function(e){return void 0===e.relatedTarget?e.fromElement===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return"movementX"in e?e.movementX:(e!==ln&&(ln&&"mousemove"===e.type?(an=e.screenX-ln.screenX,sn=e.screenY-ln.screenY):sn=an=0,ln=e),an)},movementY:function(e){return"movementY"in e?e.movementY:sn}}),hn=on(pn),mn=on(L({},pn,{dataTransfer:0})),vn=on(L({},dn,{relatedTarget:0})),gn=on(L({},cn,{animationName:0,elapsedTime:0,pseudoElement:0})),yn=L({},cn,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),bn=on(yn),wn=on(L({},cn,{data:0})),xn={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},Sn={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},kn={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function En(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):!!(e=kn[e])&&!!t[e]}function Cn(){return En}var _n=L({},dn,{key:function(e){if(e.key){var t=xn[e.key]||e.key;if("Unidentified"!==t)return t}return"keypress"===e.type?13===(e=tn(e))?"Enter":String.fromCharCode(e):"keydown"===e.type||"keyup"===e.type?Sn[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Cn,charCode:function(e){return"keypress"===e.type?tn(e):0},keyCode:function(e){return"keydown"===e.type||"keyup"===e.type?e.keyCode:0},which:function(e){return"keypress"===e.type?tn(e):"keydown"===e.type||"keyup"===e.type?e.keyCode:0}}),Pn=on(_n),Rn=on(L({},pn,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0})),Tn=on(L({},dn,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Cn})),An=on(L({},cn,{propertyName:0,elapsedTime:0,pseudoElement:0})),Mn=L({},pn,{deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:0,deltaMode:0}),On=on(Mn),zn=[9,13,27,32],Fn=u&&"CompositionEvent"in window,jn=null;u&&"documentMode"in document&&(jn=document.documentMode);var Dn=u&&"TextEvent"in window&&!jn,Ln=u&&(!Fn||jn&&8<jn&&11>=jn),Bn=String.fromCharCode(32),Nn=!1;function In(e,t){switch(e){case"keyup":return-1!==zn.indexOf(t.keyCode);case"keydown":return 229!==t.keyCode;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function $n(e){return"object"==typeof(e=e.detail)&&"data"in e?e.data:null}var Vn=!1,Wn={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function Hn(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return"input"===t?!!Wn[e.type]:"textarea"===t}function Un(e,t,n,r){_e(r),0<(t=qr(t,"onChange")).length&&(n=new un("onChange","change",null,n,r),e.push({event:n,listeners:t}))}var qn=null,Zn=null;function Qn(e){Br(e,0)}function Kn(e){if(Z(xo(e)))return e}function Yn(e,t){if("change"===e)return t}var Gn=!1;if(u){var Xn;if(u){var Jn="oninput"in document;if(!Jn){var er=document.createElement("div");er.setAttribute("oninput","return;"),Jn="function"==typeof er.oninput}Xn=Jn}else Xn=!1;Gn=Xn&&(!document.documentMode||9<document.documentMode)}function tr(){qn&&(qn.detachEvent("onpropertychange",nr),Zn=qn=null)}function nr(e){if("value"===e.propertyName&&Kn(Zn)){var t=[];Un(t,Zn,e,xe(e)),Me(Qn,t)}}function rr(e,t,n){"focusin"===e?(tr(),Zn=n,(qn=t).attachEvent("onpropertychange",nr)):"focusout"===e&&tr()}function or(e){if("selectionchange"===e||"keyup"===e||"keydown"===e)return Kn(Zn)}function ar(e,t){if("click"===e)return Kn(t)}function ir(e,t){if("input"===e||"change"===e)return Kn(t)}var sr="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t};function lr(e,t){if(sr(e,t))return!0;if("object"!=typeof e||null===e||"object"!=typeof t||null===t)return!1;var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(r=0;r<n.length;r++){var o=n[r];if(!d.call(t,o)||!sr(e[o],t[o]))return!1}return!0}function cr(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function ur(e,t){var n,r=cr(e);for(e=0;r;){if(3===r.nodeType){if(n=e+r.textContent.length,e<=t&&n>=t)return{node:r,offset:t-e};e=n}e:{for(;r;){if(r.nextSibling){r=r.nextSibling;break e}r=r.parentNode}r=void 0}r=cr(r)}}function dr(e,t){return!(!e||!t)&&(e===t||(!e||3!==e.nodeType)&&(t&&3===t.nodeType?dr(e,t.parentNode):"contains"in e?e.contains(t):!!e.compareDocumentPosition&&!!(16&e.compareDocumentPosition(t))))}function fr(){for(var e=window,t=Q();t instanceof e.HTMLIFrameElement;){try{var n="string"==typeof t.contentWindow.location.href}catch(e){n=!1}if(!n)break;t=Q((e=t.contentWindow).document)}return t}function pr(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&("input"===t&&("text"===e.type||"search"===e.type||"tel"===e.type||"url"===e.type||"password"===e.type)||"textarea"===t||"true"===e.contentEditable)}function hr(e){var t=fr(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&dr(n.ownerDocument.documentElement,n)){if(null!==r&&pr(n))if(t=r.start,void 0===(e=r.end)&&(e=t),"selectionStart"in n)n.selectionStart=t,n.selectionEnd=Math.min(e,n.value.length);else if((e=(t=n.ownerDocument||document)&&t.defaultView||window).getSelection){e=e.getSelection();var o=n.textContent.length,a=Math.min(r.start,o);r=void 0===r.end?a:Math.min(r.end,o),!e.extend&&a>r&&(o=r,r=a,a=o),o=ur(n,a);var i=ur(n,r);o&&i&&(1!==e.rangeCount||e.anchorNode!==o.node||e.anchorOffset!==o.offset||e.focusNode!==i.node||e.focusOffset!==i.offset)&&((t=t.createRange()).setStart(o.node,o.offset),e.removeAllRanges(),a>r?(e.addRange(t),e.extend(i.node,i.offset)):(t.setEnd(i.node,i.offset),e.addRange(t)))}for(t=[],e=n;e=e.parentNode;)1===e.nodeType&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for("function"==typeof n.focus&&n.focus(),n=0;n<t.length;n++)(e=t[n]).element.scrollLeft=e.left,e.element.scrollTop=e.top}}var mr=u&&"documentMode"in document&&11>=document.documentMode,vr=null,gr=null,yr=null,br=!1;function wr(e,t,n){var r=n.window===n?n.document:9===n.nodeType?n:n.ownerDocument;br||null==vr||vr!==Q(r)||(r="selectionStart"in(r=vr)&&pr(r)?{start:r.selectionStart,end:r.selectionEnd}:{anchorNode:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection()).anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset},yr&&lr(yr,r)||(yr=r,0<(r=qr(gr,"onSelect")).length&&(t=new un("onSelect","select",null,t,n),e.push({event:t,listeners:r}),t.target=vr)))}function xr(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var Sr={animationend:xr("Animation","AnimationEnd"),animationiteration:xr("Animation","AnimationIteration"),animationstart:xr("Animation","AnimationStart"),transitionend:xr("Transition","TransitionEnd")},kr={},Er={};function Cr(e){if(kr[e])return kr[e];if(!Sr[e])return e;var t,n=Sr[e];for(t in n)if(n.hasOwnProperty(t)&&t in Er)return kr[e]=n[t];return e}u&&(Er=document.createElement("div").style,"AnimationEvent"in window||(delete Sr.animationend.animation,delete Sr.animationiteration.animation,delete Sr.animationstart.animation),"TransitionEvent"in window||delete Sr.transitionend.transition);var _r=Cr("animationend"),Pr=Cr("animationiteration"),Rr=Cr("animationstart"),Tr=Cr("transitionend"),Ar=new Map,Mr="abort auxClick cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");function Or(e,t){Ar.set(e,t),l(t,[e])}for(var zr=0;zr<Mr.length;zr++){var Fr=Mr[zr];Or(Fr.toLowerCase(),"on"+(Fr[0].toUpperCase()+Fr.slice(1)))}Or(_r,"onAnimationEnd"),Or(Pr,"onAnimationIteration"),Or(Rr,"onAnimationStart"),Or("dblclick","onDoubleClick"),Or("focusin","onFocus"),Or("focusout","onBlur"),Or(Tr,"onTransitionEnd"),c("onMouseEnter",["mouseout","mouseover"]),c("onMouseLeave",["mouseout","mouseover"]),c("onPointerEnter",["pointerout","pointerover"]),c("onPointerLeave",["pointerout","pointerover"]),l("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),l("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),l("onBeforeInput",["compositionend","keypress","textInput","paste"]),l("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),l("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),l("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var jr="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),Dr=new Set("cancel close invalid load scroll toggle".split(" ").concat(jr));function Lr(e,t,n){var r=e.type||"unknown-event";e.currentTarget=n,function(e,t,n,r,o,i,s,l,c){if($e.apply(this,arguments),De){if(!De)throw Error(a(198));var u=Le;De=!1,Le=null,Be||(Be=!0,Ne=u)}}(r,t,void 0,e),e.currentTarget=null}function Br(e,t){t=!!(4&t);for(var n=0;n<e.length;n++){var r=e[n],o=r.event;r=r.listeners;e:{var a=void 0;if(t)for(var i=r.length-1;0<=i;i--){var s=r[i],l=s.instance,c=s.currentTarget;if(s=s.listener,l!==a&&o.isPropagationStopped())break e;Lr(o,s,c),a=l}else for(i=0;i<r.length;i++){if(l=(s=r[i]).instance,c=s.currentTarget,s=s.listener,l!==a&&o.isPropagationStopped())break e;Lr(o,s,c),a=l}}}if(Be)throw e=Ne,Be=!1,Ne=null,e}function Nr(e,t){var n=t[vo];void 0===n&&(n=t[vo]=new Set);var r=e+"__bubble";n.has(r)||(Wr(t,e,2,!1),n.add(r))}function Ir(e,t,n){var r=0;t&&(r|=4),Wr(n,e,r,t)}var $r="_reactListening"+Math.random().toString(36).slice(2);function Vr(e){if(!e[$r]){e[$r]=!0,i.forEach(function(t){"selectionchange"!==t&&(Dr.has(t)||Ir(t,!1,e),Ir(t,!0,e))});var t=9===e.nodeType?e:e.ownerDocument;null===t||t[$r]||(t[$r]=!0,Ir("selectionchange",!1,t))}}function Wr(e,t,n,r){switch(Yt(t)){case 1:var o=Ut;break;case 4:o=qt;break;default:o=Zt}n=o.bind(null,t,n,e),o=void 0,!ze||"touchstart"!==t&&"touchmove"!==t&&"wheel"!==t||(o=!0),r?void 0!==o?e.addEventListener(t,n,{capture:!0,passive:o}):e.addEventListener(t,n,!0):void 0!==o?e.addEventListener(t,n,{passive:o}):e.addEventListener(t,n,!1)}function Hr(e,t,n,r,o){var a=r;if(!(1&t||2&t||null===r))e:for(;;){if(null===r)return;var i=r.tag;if(3===i||4===i){var s=r.stateNode.containerInfo;if(s===o||8===s.nodeType&&s.parentNode===o)break;if(4===i)for(i=r.return;null!==i;){var l=i.tag;if((3===l||4===l)&&((l=i.stateNode.containerInfo)===o||8===l.nodeType&&l.parentNode===o))return;i=i.return}for(;null!==s;){if(null===(i=bo(s)))return;if(5===(l=i.tag)||6===l){r=a=i;continue e}s=s.parentNode}}r=r.return}Me(function(){var r=a,o=xe(n),i=[];e:{var s=Ar.get(e);if(void 0!==s){var l=un,c=e;switch(e){case"keypress":if(0===tn(n))break e;case"keydown":case"keyup":l=Pn;break;case"focusin":c="focus",l=vn;break;case"focusout":c="blur",l=vn;break;case"beforeblur":case"afterblur":l=vn;break;case"click":if(2===n.button)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":l=hn;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":l=mn;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":l=Tn;break;case _r:case Pr:case Rr:l=gn;break;case Tr:l=An;break;case"scroll":l=fn;break;case"wheel":l=On;break;case"copy":case"cut":case"paste":l=bn;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":l=Rn}var u=!!(4&t),d=!u&&"scroll"===e,f=u?null!==s?s+"Capture":null:s;u=[];for(var p,h=r;null!==h;){var m=(p=h).stateNode;if(5===p.tag&&null!==m&&(p=m,null!==f&&null!=(m=Oe(h,f))&&u.push(Ur(h,m,p))),d)break;h=h.return}0<u.length&&(s=new l(s,c,null,n,o),i.push({event:s,listeners:u}))}}if(!(7&t)){if(l="mouseout"===e||"pointerout"===e,(!(s="mouseover"===e||"pointerover"===e)||n===we||!(c=n.relatedTarget||n.fromElement)||!bo(c)&&!c[mo])&&(l||s)&&(s=o.window===o?o:(s=o.ownerDocument)?s.defaultView||s.parentWindow:window,l?(l=r,null!==(c=(c=n.relatedTarget||n.toElement)?bo(c):null)&&(c!==(d=Ve(c))||5!==c.tag&&6!==c.tag)&&(c=null)):(l=null,c=r),l!==c)){if(u=hn,m="onMouseLeave",f="onMouseEnter",h="mouse","pointerout"!==e&&"pointerover"!==e||(u=Rn,m="onPointerLeave",f="onPointerEnter",h="pointer"),d=null==l?s:xo(l),p=null==c?s:xo(c),(s=new u(m,h+"leave",l,n,o)).target=d,s.relatedTarget=p,m=null,bo(o)===r&&((u=new u(f,h+"enter",c,n,o)).target=p,u.relatedTarget=d,m=u),d=m,l&&c)e:{for(f=c,h=0,p=u=l;p;p=Zr(p))h++;for(p=0,m=f;m;m=Zr(m))p++;for(;0<h-p;)u=Zr(u),h--;for(;0<p-h;)f=Zr(f),p--;for(;h--;){if(u===f||null!==f&&u===f.alternate)break e;u=Zr(u),f=Zr(f)}u=null}else u=null;null!==l&&Qr(i,s,l,u,!1),null!==c&&null!==d&&Qr(i,d,c,u,!0)}if("select"===(l=(s=r?xo(r):window).nodeName&&s.nodeName.toLowerCase())||"input"===l&&"file"===s.type)var v=Yn;else if(Hn(s))if(Gn)v=ir;else{v=or;var g=rr}else(l=s.nodeName)&&"input"===l.toLowerCase()&&("checkbox"===s.type||"radio"===s.type)&&(v=ar);switch(v&&(v=v(e,r))?Un(i,v,n,o):(g&&g(e,s,r),"focusout"===e&&(g=s._wrapperState)&&g.controlled&&"number"===s.type&&ee(s,"number",s.value)),g=r?xo(r):window,e){case"focusin":(Hn(g)||"true"===g.contentEditable)&&(vr=g,gr=r,yr=null);break;case"focusout":yr=gr=vr=null;break;case"mousedown":br=!0;break;case"contextmenu":case"mouseup":case"dragend":br=!1,wr(i,n,o);break;case"selectionchange":if(mr)break;case"keydown":case"keyup":wr(i,n,o)}var y;if(Fn)e:{switch(e){case"compositionstart":var b="onCompositionStart";break e;case"compositionend":b="onCompositionEnd";break e;case"compositionupdate":b="onCompositionUpdate";break e}b=void 0}else Vn?In(e,n)&&(b="onCompositionEnd"):"keydown"===e&&229===n.keyCode&&(b="onCompositionStart");b&&(Ln&&"ko"!==n.locale&&(Vn||"onCompositionStart"!==b?"onCompositionEnd"===b&&Vn&&(y=en()):(Xt="value"in(Gt=o)?Gt.value:Gt.textContent,Vn=!0)),0<(g=qr(r,b)).length&&(b=new wn(b,e,null,n,o),i.push({event:b,listeners:g}),(y||null!==(y=$n(n)))&&(b.data=y))),(y=Dn?function(e,t){switch(e){case"compositionend":return $n(t);case"keypress":return 32!==t.which?null:(Nn=!0,Bn);case"textInput":return(e=t.data)===Bn&&Nn?null:e;default:return null}}(e,n):function(e,t){if(Vn)return"compositionend"===e||!Fn&&In(e,t)?(e=en(),Jt=Xt=Gt=null,Vn=!1,e):null;switch(e){case"paste":default:return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1<t.char.length)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return Ln&&"ko"!==t.locale?null:t.data}}(e,n))&&0<(r=qr(r,"onBeforeInput")).length&&(o=new wn("onBeforeInput","beforeinput",null,n,o),i.push({event:o,listeners:r}),o.data=y)}Br(i,t)})}function Ur(e,t,n){return{instance:e,listener:t,currentTarget:n}}function qr(e,t){for(var n=t+"Capture",r=[];null!==e;){var o=e,a=o.stateNode;5===o.tag&&null!==a&&(o=a,null!=(a=Oe(e,n))&&r.unshift(Ur(e,a,o)),null!=(a=Oe(e,t))&&r.push(Ur(e,a,o))),e=e.return}return r}function Zr(e){if(null===e)return null;do{e=e.return}while(e&&5!==e.tag);return e||null}function Qr(e,t,n,r,o){for(var a=t._reactName,i=[];null!==n&&n!==r;){var s=n,l=s.alternate,c=s.stateNode;if(null!==l&&l===r)break;5===s.tag&&null!==c&&(s=c,o?null!=(l=Oe(n,a))&&i.unshift(Ur(n,l,s)):o||null!=(l=Oe(n,a))&&i.push(Ur(n,l,s))),n=n.return}0!==i.length&&e.push({event:t,listeners:i})}var Kr=/\r\n?/g,Yr=/\u0000|\uFFFD/g;function Gr(e){return("string"==typeof e?e:""+e).replace(Kr,"\n").replace(Yr,"")}function Xr(e,t,n){if(t=Gr(t),Gr(e)!==t&&n)throw Error(a(425))}function Jr(){}var eo=null,to=null;function no(e,t){return"textarea"===e||"noscript"===e||"string"==typeof t.children||"number"==typeof t.children||"object"==typeof t.dangerouslySetInnerHTML&&null!==t.dangerouslySetInnerHTML&&null!=t.dangerouslySetInnerHTML.__html}var ro="function"==typeof setTimeout?setTimeout:void 0,oo="function"==typeof clearTimeout?clearTimeout:void 0,ao="function"==typeof Promise?Promise:void 0,io="function"==typeof queueMicrotask?queueMicrotask:void 0!==ao?function(e){return ao.resolve(null).then(e).catch(so)}:ro;function so(e){setTimeout(function(){throw e})}function lo(e,t){var n=t,r=0;do{var o=n.nextSibling;if(e.removeChild(n),o&&8===o.nodeType)if("/$"===(n=o.data)){if(0===r)return e.removeChild(o),void Vt(t);r--}else"$"!==n&&"$?"!==n&&"$!"!==n||r++;n=o}while(n);Vt(t)}function co(e){for(;null!=e;e=e.nextSibling){var t=e.nodeType;if(1===t||3===t)break;if(8===t){if("$"===(t=e.data)||"$!"===t||"$?"===t)break;if("/$"===t)return null}}return e}function uo(e){e=e.previousSibling;for(var t=0;e;){if(8===e.nodeType){var n=e.data;if("$"===n||"$!"===n||"$?"===n){if(0===t)return e;t--}else"/$"===n&&t++}e=e.previousSibling}return null}var fo=Math.random().toString(36).slice(2),po="__reactFiber$"+fo,ho="__reactProps$"+fo,mo="__reactContainer$"+fo,vo="__reactEvents$"+fo,go="__reactListeners$"+fo,yo="__reactHandles$"+fo;function bo(e){var t=e[po];if(t)return t;for(var n=e.parentNode;n;){if(t=n[mo]||n[po]){if(n=t.alternate,null!==t.child||null!==n&&null!==n.child)for(e=uo(e);null!==e;){if(n=e[po])return n;e=uo(e)}return t}n=(e=n).parentNode}return null}function wo(e){return!(e=e[po]||e[mo])||5!==e.tag&&6!==e.tag&&13!==e.tag&&3!==e.tag?null:e}function xo(e){if(5===e.tag||6===e.tag)return e.stateNode;throw Error(a(33))}function So(e){return e[ho]||null}var ko=[],Eo=-1;function Co(e){return{current:e}}function _o(e){0>Eo||(e.current=ko[Eo],ko[Eo]=null,Eo--)}function Po(e,t){Eo++,ko[Eo]=e.current,e.current=t}var Ro={},To=Co(Ro),Ao=Co(!1),Mo=Ro;function Oo(e,t){var n=e.type.contextTypes;if(!n)return Ro;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var o,a={};for(o in n)a[o]=t[o];return r&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=a),a}function zo(e){return null!=e.childContextTypes}function Fo(){_o(Ao),_o(To)}function jo(e,t,n){if(To.current!==Ro)throw Error(a(168));Po(To,t),Po(Ao,n)}function Do(e,t,n){var r=e.stateNode;if(t=t.childContextTypes,"function"!=typeof r.getChildContext)return n;for(var o in r=r.getChildContext())if(!(o in t))throw Error(a(108,W(e)||"Unknown",o));return L({},n,r)}function Lo(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||Ro,Mo=To.current,Po(To,e),Po(Ao,Ao.current),!0}function Bo(e,t,n){var r=e.stateNode;if(!r)throw Error(a(169));n?(e=Do(e,t,Mo),r.__reactInternalMemoizedMergedChildContext=e,_o(Ao),_o(To),Po(To,e)):_o(Ao),Po(Ao,n)}var No=null,Io=!1,$o=!1;function Vo(e){null===No?No=[e]:No.push(e)}function Wo(){if(!$o&&null!==No){$o=!0;var e=0,t=bt;try{var n=No;for(bt=1;e<n.length;e++){var r=n[e];do{r=r(!0)}while(null!==r)}No=null,Io=!1}catch(t){throw null!==No&&(No=No.slice(e+1)),Ze(Je,Wo),t}finally{bt=t,$o=!1}}return null}var Ho=[],Uo=0,qo=null,Zo=0,Qo=[],Ko=0,Yo=null,Go=1,Xo="";function Jo(e,t){Ho[Uo++]=Zo,Ho[Uo++]=qo,qo=e,Zo=t}function ea(e,t,n){Qo[Ko++]=Go,Qo[Ko++]=Xo,Qo[Ko++]=Yo,Yo=e;var r=Go;e=Xo;var o=32-it(r)-1;r&=~(1<<o),n+=1;var a=32-it(t)+o;if(30<a){var i=o-o%5;a=(r&(1<<i)-1).toString(32),r>>=i,o-=i,Go=1<<32-it(t)+o|n<<o|r,Xo=a+e}else Go=1<<a|n<<o|r,Xo=e}function ta(e){null!==e.return&&(Jo(e,1),ea(e,1,0))}function na(e){for(;e===qo;)qo=Ho[--Uo],Ho[Uo]=null,Zo=Ho[--Uo],Ho[Uo]=null;for(;e===Yo;)Yo=Qo[--Ko],Qo[Ko]=null,Xo=Qo[--Ko],Qo[Ko]=null,Go=Qo[--Ko],Qo[Ko]=null}var ra=null,oa=null,aa=!1,ia=null;function sa(e,t){var n=Oc(5,null,null,0);n.elementType="DELETED",n.stateNode=t,n.return=e,null===(t=e.deletions)?(e.deletions=[n],e.flags|=16):t.push(n)}function la(e,t){switch(e.tag){case 5:var n=e.type;return null!==(t=1!==t.nodeType||n.toLowerCase()!==t.nodeName.toLowerCase()?null:t)&&(e.stateNode=t,ra=e,oa=co(t.firstChild),!0);case 6:return null!==(t=""===e.pendingProps||3!==t.nodeType?null:t)&&(e.stateNode=t,ra=e,oa=null,!0);case 13:return null!==(t=8!==t.nodeType?null:t)&&(n=null!==Yo?{id:Go,overflow:Xo}:null,e.memoizedState={dehydrated:t,treeContext:n,retryLane:1073741824},(n=Oc(18,null,null,0)).stateNode=t,n.return=e,e.child=n,ra=e,oa=null,!0);default:return!1}}function ca(e){return!(!(1&e.mode)||128&e.flags)}function ua(e){if(aa){var t=oa;if(t){var n=t;if(!la(e,t)){if(ca(e))throw Error(a(418));t=co(n.nextSibling);var r=ra;t&&la(e,t)?sa(r,n):(e.flags=-4097&e.flags|2,aa=!1,ra=e)}}else{if(ca(e))throw Error(a(418));e.flags=-4097&e.flags|2,aa=!1,ra=e}}}function da(e){for(e=e.return;null!==e&&5!==e.tag&&3!==e.tag&&13!==e.tag;)e=e.return;ra=e}function fa(e){if(e!==ra)return!1;if(!aa)return da(e),aa=!0,!1;var t;if((t=3!==e.tag)&&!(t=5!==e.tag)&&(t="head"!==(t=e.type)&&"body"!==t&&!no(e.type,e.memoizedProps)),t&&(t=oa)){if(ca(e))throw pa(),Error(a(418));for(;t;)sa(e,t),t=co(t.nextSibling)}if(da(e),13===e.tag){if(!(e=null!==(e=e.memoizedState)?e.dehydrated:null))throw Error(a(317));e:{for(e=e.nextSibling,t=0;e;){if(8===e.nodeType){var n=e.data;if("/$"===n){if(0===t){oa=co(e.nextSibling);break e}t--}else"$"!==n&&"$!"!==n&&"$?"!==n||t++}e=e.nextSibling}oa=null}}else oa=ra?co(e.stateNode.nextSibling):null;return!0}function pa(){for(var e=oa;e;)e=co(e.nextSibling)}function ha(){oa=ra=null,aa=!1}function ma(e){null===ia?ia=[e]:ia.push(e)}var va=w.ReactCurrentBatchConfig;function ga(e,t){if(e&&e.defaultProps){for(var n in t=L({},t),e=e.defaultProps)void 0===t[n]&&(t[n]=e[n]);return t}return t}var ya=Co(null),ba=null,wa=null,xa=null;function Sa(){xa=wa=ba=null}function ka(e){var t=ya.current;_o(ya),e._currentValue=t}function Ea(e,t,n){for(;null!==e;){var r=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,null!==r&&(r.childLanes|=t)):null!==r&&(r.childLanes&t)!==t&&(r.childLanes|=t),e===n)break;e=e.return}}function Ca(e,t){ba=e,xa=wa=null,null!==(e=e.dependencies)&&null!==e.firstContext&&(0!==(e.lanes&t)&&(ws=!0),e.firstContext=null)}function _a(e){var t=e._currentValue;if(xa!==e)if(e={context:e,memoizedValue:t,next:null},null===wa){if(null===ba)throw Error(a(308));wa=e,ba.dependencies={lanes:0,firstContext:e}}else wa=wa.next=e;return t}var Pa=null;function Ra(e){null===Pa?Pa=[e]:Pa.push(e)}function Ta(e,t,n,r){var o=t.interleaved;return null===o?(n.next=n,Ra(t)):(n.next=o.next,o.next=n),t.interleaved=n,Aa(e,r)}function Aa(e,t){e.lanes|=t;var n=e.alternate;for(null!==n&&(n.lanes|=t),n=e,e=e.return;null!==e;)e.childLanes|=t,null!==(n=e.alternate)&&(n.childLanes|=t),n=e,e=e.return;return 3===n.tag?n.stateNode:null}var Ma=!1;function Oa(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function za(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,effects:e.effects})}function Fa(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function ja(e,t,n){var r=e.updateQueue;if(null===r)return null;if(r=r.shared,2&Tl){var o=r.pending;return null===o?t.next=t:(t.next=o.next,o.next=t),r.pending=t,Aa(e,n)}return null===(o=r.interleaved)?(t.next=t,Ra(r)):(t.next=o.next,o.next=t),r.interleaved=t,Aa(e,n)}function Da(e,t,n){if(null!==(t=t.updateQueue)&&(t=t.shared,4194240&n)){var r=t.lanes;n|=r&=e.pendingLanes,t.lanes=n,yt(e,n)}}function La(e,t){var n=e.updateQueue,r=e.alternate;if(null!==r&&n===(r=r.updateQueue)){var o=null,a=null;if(null!==(n=n.firstBaseUpdate)){do{var i={eventTime:n.eventTime,lane:n.lane,tag:n.tag,payload:n.payload,callback:n.callback,next:null};null===a?o=a=i:a=a.next=i,n=n.next}while(null!==n);null===a?o=a=t:a=a.next=t}else o=a=t;return n={baseState:r.baseState,firstBaseUpdate:o,lastBaseUpdate:a,shared:r.shared,effects:r.effects},void(e.updateQueue=n)}null===(e=n.lastBaseUpdate)?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}function Ba(e,t,n,r){var o=e.updateQueue;Ma=!1;var a=o.firstBaseUpdate,i=o.lastBaseUpdate,s=o.shared.pending;if(null!==s){o.shared.pending=null;var l=s,c=l.next;l.next=null,null===i?a=c:i.next=c,i=l;var u=e.alternate;null!==u&&(s=(u=u.updateQueue).lastBaseUpdate)!==i&&(null===s?u.firstBaseUpdate=c:s.next=c,u.lastBaseUpdate=l)}if(null!==a){var d=o.baseState;for(i=0,u=c=l=null,s=a;;){var f=s.lane,p=s.eventTime;if((r&f)===f){null!==u&&(u=u.next={eventTime:p,lane:0,tag:s.tag,payload:s.payload,callback:s.callback,next:null});e:{var h=e,m=s;switch(f=t,p=n,m.tag){case 1:if("function"==typeof(h=m.payload)){d=h.call(p,d,f);break e}d=h;break e;case 3:h.flags=-65537&h.flags|128;case 0:if(null==(f="function"==typeof(h=m.payload)?h.call(p,d,f):h))break e;d=L({},d,f);break e;case 2:Ma=!0}}null!==s.callback&&0!==s.lane&&(e.flags|=64,null===(f=o.effects)?o.effects=[s]:f.push(s))}else p={eventTime:p,lane:f,tag:s.tag,payload:s.payload,callback:s.callback,next:null},null===u?(c=u=p,l=d):u=u.next=p,i|=f;if(null===(s=s.next)){if(null===(s=o.shared.pending))break;s=(f=s).next,f.next=null,o.lastBaseUpdate=f,o.shared.pending=null}}if(null===u&&(l=d),o.baseState=l,o.firstBaseUpdate=c,o.lastBaseUpdate=u,null!==(t=o.shared.interleaved)){o=t;do{i|=o.lane,o=o.next}while(o!==t)}else null===a&&(o.shared.lanes=0);Ll|=i,e.lanes=i,e.memoizedState=d}}function Na(e,t,n){if(e=t.effects,t.effects=null,null!==e)for(t=0;t<e.length;t++){var r=e[t],o=r.callback;if(null!==o){if(r.callback=null,r=n,"function"!=typeof o)throw Error(a(191,o));o.call(r)}}}var Ia=(new r.Component).refs;function $a(e,t,n,r){n=null==(n=n(r,t=e.memoizedState))?t:L({},t,n),e.memoizedState=n,0===e.lanes&&(e.updateQueue.baseState=n)}var Va={isMounted:function(e){return!!(e=e._reactInternals)&&Ve(e)===e},enqueueSetState:function(e,t,n){e=e._reactInternals;var r=tc(),o=nc(e),a=Fa(r,o);a.payload=t,null!=n&&(a.callback=n),null!==(t=ja(e,a,o))&&(rc(t,e,o,r),Da(t,e,o))},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var r=tc(),o=nc(e),a=Fa(r,o);a.tag=1,a.payload=t,null!=n&&(a.callback=n),null!==(t=ja(e,a,o))&&(rc(t,e,o,r),Da(t,e,o))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=tc(),r=nc(e),o=Fa(n,r);o.tag=2,null!=t&&(o.callback=t),null!==(t=ja(e,o,r))&&(rc(t,e,r,n),Da(t,e,r))}};function Wa(e,t,n,r,o,a,i){return"function"==typeof(e=e.stateNode).shouldComponentUpdate?e.shouldComponentUpdate(r,a,i):!(t.prototype&&t.prototype.isPureReactComponent&&lr(n,r)&&lr(o,a))}function Ha(e,t,n){var r=!1,o=Ro,a=t.contextType;return"object"==typeof a&&null!==a?a=_a(a):(o=zo(t)?Mo:To.current,a=(r=null!=(r=t.contextTypes))?Oo(e,o):Ro),t=new t(n,a),e.memoizedState=null!==t.state&&void 0!==t.state?t.state:null,t.updater=Va,e.stateNode=t,t._reactInternals=e,r&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=o,e.__reactInternalMemoizedMaskedChildContext=a),t}function Ua(e,t,n,r){e=t.state,"function"==typeof t.componentWillReceiveProps&&t.componentWillReceiveProps(n,r),"function"==typeof t.UNSAFE_componentWillReceiveProps&&t.UNSAFE_componentWillReceiveProps(n,r),t.state!==e&&Va.enqueueReplaceState(t,t.state,null)}function qa(e,t,n,r){var o=e.stateNode;o.props=n,o.state=e.memoizedState,o.refs=Ia,Oa(e);var a=t.contextType;"object"==typeof a&&null!==a?o.context=_a(a):(a=zo(t)?Mo:To.current,o.context=Oo(e,a)),o.state=e.memoizedState,"function"==typeof(a=t.getDerivedStateFromProps)&&($a(e,t,a,n),o.state=e.memoizedState),"function"==typeof t.getDerivedStateFromProps||"function"==typeof o.getSnapshotBeforeUpdate||"function"!=typeof o.UNSAFE_componentWillMount&&"function"!=typeof o.componentWillMount||(t=o.state,"function"==typeof o.componentWillMount&&o.componentWillMount(),"function"==typeof o.UNSAFE_componentWillMount&&o.UNSAFE_componentWillMount(),t!==o.state&&Va.enqueueReplaceState(o,o.state,null),Ba(e,n,o,r),o.state=e.memoizedState),"function"==typeof o.componentDidMount&&(e.flags|=4194308)}function Za(e,t,n){if(null!==(e=n.ref)&&"function"!=typeof e&&"object"!=typeof e){if(n._owner){if(n=n._owner){if(1!==n.tag)throw Error(a(309));var r=n.stateNode}if(!r)throw Error(a(147,e));var o=r,i=""+e;return null!==t&&null!==t.ref&&"function"==typeof t.ref&&t.ref._stringRef===i?t.ref:(t=function(e){var t=o.refs;t===Ia&&(t=o.refs={}),null===e?delete t[i]:t[i]=e},t._stringRef=i,t)}if("string"!=typeof e)throw Error(a(284));if(!n._owner)throw Error(a(290,e))}return e}function Qa(e,t){throw e=Object.prototype.toString.call(t),Error(a(31,"[object Object]"===e?"object with keys {"+Object.keys(t).join(", ")+"}":e))}function Ka(e){return(0,e._init)(e._payload)}function Ya(e){function t(t,n){if(e){var r=t.deletions;null===r?(t.deletions=[n],t.flags|=16):r.push(n)}}function n(n,r){if(!e)return null;for(;null!==r;)t(n,r),r=r.sibling;return null}function r(e,t){for(e=new Map;null!==t;)null!==t.key?e.set(t.key,t):e.set(t.index,t),t=t.sibling;return e}function o(e,t){return(e=Fc(e,t)).index=0,e.sibling=null,e}function i(t,n,r){return t.index=r,e?null!==(r=t.alternate)?(r=r.index)<n?(t.flags|=2,n):r:(t.flags|=2,n):(t.flags|=1048576,n)}function s(t){return e&&null===t.alternate&&(t.flags|=2),t}function l(e,t,n,r){return null===t||6!==t.tag?((t=Bc(n,e.mode,r)).return=e,t):((t=o(t,n)).return=e,t)}function c(e,t,n,r){var a=n.type;return a===k?d(e,t,n.props.children,r,n.key):null!==t&&(t.elementType===a||"object"==typeof a&&null!==a&&a.$$typeof===O&&Ka(a)===t.type)?((r=o(t,n.props)).ref=Za(e,t,n),r.return=e,r):((r=jc(n.type,n.key,n.props,null,e.mode,r)).ref=Za(e,t,n),r.return=e,r)}function u(e,t,n,r){return null===t||4!==t.tag||t.stateNode.containerInfo!==n.containerInfo||t.stateNode.implementation!==n.implementation?((t=Nc(n,e.mode,r)).return=e,t):((t=o(t,n.children||[])).return=e,t)}function d(e,t,n,r,a){return null===t||7!==t.tag?((t=Dc(n,e.mode,r,a)).return=e,t):((t=o(t,n)).return=e,t)}function f(e,t,n){if("string"==typeof t&&""!==t||"number"==typeof t)return(t=Bc(""+t,e.mode,n)).return=e,t;if("object"==typeof t&&null!==t){switch(t.$$typeof){case x:return(n=jc(t.type,t.key,t.props,null,e.mode,n)).ref=Za(e,null,t),n.return=e,n;case S:return(t=Nc(t,e.mode,n)).return=e,t;case O:return f(e,(0,t._init)(t._payload),n)}if(te(t)||j(t))return(t=Dc(t,e.mode,n,null)).return=e,t;Qa(e,t)}return null}function p(e,t,n,r){var o=null!==t?t.key:null;if("string"==typeof n&&""!==n||"number"==typeof n)return null!==o?null:l(e,t,""+n,r);if("object"==typeof n&&null!==n){switch(n.$$typeof){case x:return n.key===o?c(e,t,n,r):null;case S:return n.key===o?u(e,t,n,r):null;case O:return p(e,t,(o=n._init)(n._payload),r)}if(te(n)||j(n))return null!==o?null:d(e,t,n,r,null);Qa(e,n)}return null}function h(e,t,n,r,o){if("string"==typeof r&&""!==r||"number"==typeof r)return l(t,e=e.get(n)||null,""+r,o);if("object"==typeof r&&null!==r){switch(r.$$typeof){case x:return c(t,e=e.get(null===r.key?n:r.key)||null,r,o);case S:return u(t,e=e.get(null===r.key?n:r.key)||null,r,o);case O:return h(e,t,n,(0,r._init)(r._payload),o)}if(te(r)||j(r))return d(t,e=e.get(n)||null,r,o,null);Qa(t,r)}return null}function m(o,a,s,l){for(var c=null,u=null,d=a,m=a=0,v=null;null!==d&&m<s.length;m++){d.index>m?(v=d,d=null):v=d.sibling;var g=p(o,d,s[m],l);if(null===g){null===d&&(d=v);break}e&&d&&null===g.alternate&&t(o,d),a=i(g,a,m),null===u?c=g:u.sibling=g,u=g,d=v}if(m===s.length)return n(o,d),aa&&Jo(o,m),c;if(null===d){for(;m<s.length;m++)null!==(d=f(o,s[m],l))&&(a=i(d,a,m),null===u?c=d:u.sibling=d,u=d);return aa&&Jo(o,m),c}for(d=r(o,d);m<s.length;m++)null!==(v=h(d,o,m,s[m],l))&&(e&&null!==v.alternate&&d.delete(null===v.key?m:v.key),a=i(v,a,m),null===u?c=v:u.sibling=v,u=v);return e&&d.forEach(function(e){return t(o,e)}),aa&&Jo(o,m),c}function v(o,s,l,c){var u=j(l);if("function"!=typeof u)throw Error(a(150));if(null==(l=u.call(l)))throw Error(a(151));for(var d=u=null,m=s,v=s=0,g=null,y=l.next();null!==m&&!y.done;v++,y=l.next()){m.index>v?(g=m,m=null):g=m.sibling;var b=p(o,m,y.value,c);if(null===b){null===m&&(m=g);break}e&&m&&null===b.alternate&&t(o,m),s=i(b,s,v),null===d?u=b:d.sibling=b,d=b,m=g}if(y.done)return n(o,m),aa&&Jo(o,v),u;if(null===m){for(;!y.done;v++,y=l.next())null!==(y=f(o,y.value,c))&&(s=i(y,s,v),null===d?u=y:d.sibling=y,d=y);return aa&&Jo(o,v),u}for(m=r(o,m);!y.done;v++,y=l.next())null!==(y=h(m,o,v,y.value,c))&&(e&&null!==y.alternate&&m.delete(null===y.key?v:y.key),s=i(y,s,v),null===d?u=y:d.sibling=y,d=y);return e&&m.forEach(function(e){return t(o,e)}),aa&&Jo(o,v),u}return function e(r,a,i,l){if("object"==typeof i&&null!==i&&i.type===k&&null===i.key&&(i=i.props.children),"object"==typeof i&&null!==i){switch(i.$$typeof){case x:e:{for(var c=i.key,u=a;null!==u;){if(u.key===c){if((c=i.type)===k){if(7===u.tag){n(r,u.sibling),(a=o(u,i.props.children)).return=r,r=a;break e}}else if(u.elementType===c||"object"==typeof c&&null!==c&&c.$$typeof===O&&Ka(c)===u.type){n(r,u.sibling),(a=o(u,i.props)).ref=Za(r,u,i),a.return=r,r=a;break e}n(r,u);break}t(r,u),u=u.sibling}i.type===k?((a=Dc(i.props.children,r.mode,l,i.key)).return=r,r=a):((l=jc(i.type,i.key,i.props,null,r.mode,l)).ref=Za(r,a,i),l.return=r,r=l)}return s(r);case S:e:{for(u=i.key;null!==a;){if(a.key===u){if(4===a.tag&&a.stateNode.containerInfo===i.containerInfo&&a.stateNode.implementation===i.implementation){n(r,a.sibling),(a=o(a,i.children||[])).return=r,r=a;break e}n(r,a);break}t(r,a),a=a.sibling}(a=Nc(i,r.mode,l)).return=r,r=a}return s(r);case O:return e(r,a,(u=i._init)(i._payload),l)}if(te(i))return m(r,a,i,l);if(j(i))return v(r,a,i,l);Qa(r,i)}return"string"==typeof i&&""!==i||"number"==typeof i?(i=""+i,null!==a&&6===a.tag?(n(r,a.sibling),(a=o(a,i)).return=r,r=a):(n(r,a),(a=Bc(i,r.mode,l)).return=r,r=a),s(r)):n(r,a)}}var Ga=Ya(!0),Xa=Ya(!1),Ja={},ei=Co(Ja),ti=Co(Ja),ni=Co(Ja);function ri(e){if(e===Ja)throw Error(a(174));return e}function oi(e,t){switch(Po(ni,t),Po(ti,e),Po(ei,Ja),e=t.nodeType){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:le(null,"");break;default:t=le(t=(e=8===e?t.parentNode:t).namespaceURI||null,e=e.tagName)}_o(ei),Po(ei,t)}function ai(){_o(ei),_o(ti),_o(ni)}function ii(e){ri(ni.current);var t=ri(ei.current),n=le(t,e.type);t!==n&&(Po(ti,e),Po(ei,n))}function si(e){ti.current===e&&(_o(ei),_o(ti))}var li=Co(0);function ci(e){for(var t=e;null!==t;){if(13===t.tag){var n=t.memoizedState;if(null!==n&&(null===(n=n.dehydrated)||"$?"===n.data||"$!"===n.data))return t}else if(19===t.tag&&void 0!==t.memoizedProps.revealOrder){if(128&t.flags)return t}else if(null!==t.child){t.child.return=t,t=t.child;continue}if(t===e)break;for(;null===t.sibling;){if(null===t.return||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var ui=[];function di(){for(var e=0;e<ui.length;e++)ui[e]._workInProgressVersionPrimary=null;ui.length=0}var fi=w.ReactCurrentDispatcher,pi=w.ReactCurrentBatchConfig,hi=0,mi=null,vi=null,gi=null,yi=!1,bi=!1,wi=0,xi=0;function Si(){throw Error(a(321))}function ki(e,t){if(null===t)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!sr(e[n],t[n]))return!1;return!0}function Ei(e,t,n,r,o,i){if(hi=i,mi=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,fi.current=null===e||null===e.memoizedState?ss:ls,e=n(r,o),bi){i=0;do{if(bi=!1,wi=0,25<=i)throw Error(a(301));i+=1,gi=vi=null,t.updateQueue=null,fi.current=cs,e=n(r,o)}while(bi)}if(fi.current=is,t=null!==vi&&null!==vi.next,hi=0,gi=vi=mi=null,yi=!1,t)throw Error(a(300));return e}function Ci(){var e=0!==wi;return wi=0,e}function _i(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return null===gi?mi.memoizedState=gi=e:gi=gi.next=e,gi}function Pi(){if(null===vi){var e=mi.alternate;e=null!==e?e.memoizedState:null}else e=vi.next;var t=null===gi?mi.memoizedState:gi.next;if(null!==t)gi=t,vi=e;else{if(null===e)throw Error(a(310));e={memoizedState:(vi=e).memoizedState,baseState:vi.baseState,baseQueue:vi.baseQueue,queue:vi.queue,next:null},null===gi?mi.memoizedState=gi=e:gi=gi.next=e}return gi}function Ri(e,t){return"function"==typeof t?t(e):t}function Ti(e){var t=Pi(),n=t.queue;if(null===n)throw Error(a(311));n.lastRenderedReducer=e;var r=vi,o=r.baseQueue,i=n.pending;if(null!==i){if(null!==o){var s=o.next;o.next=i.next,i.next=s}r.baseQueue=o=i,n.pending=null}if(null!==o){i=o.next,r=r.baseState;var l=s=null,c=null,u=i;do{var d=u.lane;if((hi&d)===d)null!==c&&(c=c.next={lane:0,action:u.action,hasEagerState:u.hasEagerState,eagerState:u.eagerState,next:null}),r=u.hasEagerState?u.eagerState:e(r,u.action);else{var f={lane:d,action:u.action,hasEagerState:u.hasEagerState,eagerState:u.eagerState,next:null};null===c?(l=c=f,s=r):c=c.next=f,mi.lanes|=d,Ll|=d}u=u.next}while(null!==u&&u!==i);null===c?s=r:c.next=l,sr(r,t.memoizedState)||(ws=!0),t.memoizedState=r,t.baseState=s,t.baseQueue=c,n.lastRenderedState=r}if(null!==(e=n.interleaved)){o=e;do{i=o.lane,mi.lanes|=i,Ll|=i,o=o.next}while(o!==e)}else null===o&&(n.lanes=0);return[t.memoizedState,n.dispatch]}function Ai(e){var t=Pi(),n=t.queue;if(null===n)throw Error(a(311));n.lastRenderedReducer=e;var r=n.dispatch,o=n.pending,i=t.memoizedState;if(null!==o){n.pending=null;var s=o=o.next;do{i=e(i,s.action),s=s.next}while(s!==o);sr(i,t.memoizedState)||(ws=!0),t.memoizedState=i,null===t.baseQueue&&(t.baseState=i),n.lastRenderedState=i}return[i,r]}function Mi(){}function Oi(e,t){var n=mi,r=Pi(),o=t(),i=!sr(r.memoizedState,o);if(i&&(r.memoizedState=o,ws=!0),r=r.queue,Hi(ji.bind(null,n,r,e),[e]),r.getSnapshot!==t||i||null!==gi&&1&gi.memoizedState.tag){if(n.flags|=2048,Ni(9,Fi.bind(null,n,r,o,t),void 0,null),null===Al)throw Error(a(349));30&hi||zi(n,t,o)}return o}function zi(e,t,n){e.flags|=16384,e={getSnapshot:t,value:n},null===(t=mi.updateQueue)?(t={lastEffect:null,stores:null},mi.updateQueue=t,t.stores=[e]):null===(n=t.stores)?t.stores=[e]:n.push(e)}function Fi(e,t,n,r){t.value=n,t.getSnapshot=r,Di(t)&&Li(e)}function ji(e,t,n){return n(function(){Di(t)&&Li(e)})}function Di(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!sr(e,n)}catch(e){return!0}}function Li(e){var t=Aa(e,1);null!==t&&rc(t,e,1,-1)}function Bi(e){var t=_i();return"function"==typeof e&&(e=e()),t.memoizedState=t.baseState=e,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:Ri,lastRenderedState:e},t.queue=e,e=e.dispatch=ns.bind(null,mi,e),[t.memoizedState,e]}function Ni(e,t,n,r){return e={tag:e,create:t,destroy:n,deps:r,next:null},null===(t=mi.updateQueue)?(t={lastEffect:null,stores:null},mi.updateQueue=t,t.lastEffect=e.next=e):null===(n=t.lastEffect)?t.lastEffect=e.next=e:(r=n.next,n.next=e,e.next=r,t.lastEffect=e),e}function Ii(){return Pi().memoizedState}function $i(e,t,n,r){var o=_i();mi.flags|=e,o.memoizedState=Ni(1|t,n,void 0,void 0===r?null:r)}function Vi(e,t,n,r){var o=Pi();r=void 0===r?null:r;var a=void 0;if(null!==vi){var i=vi.memoizedState;if(a=i.destroy,null!==r&&ki(r,i.deps))return void(o.memoizedState=Ni(t,n,a,r))}mi.flags|=e,o.memoizedState=Ni(1|t,n,a,r)}function Wi(e,t){return $i(8390656,8,e,t)}function Hi(e,t){return Vi(2048,8,e,t)}function Ui(e,t){return Vi(4,2,e,t)}function qi(e,t){return Vi(4,4,e,t)}function Zi(e,t){return"function"==typeof t?(e=e(),t(e),function(){t(null)}):null!=t?(e=e(),t.current=e,function(){t.current=null}):void 0}function Qi(e,t,n){return n=null!=n?n.concat([e]):null,Vi(4,4,Zi.bind(null,t,e),n)}function Ki(){}function Yi(e,t){var n=Pi();t=void 0===t?null:t;var r=n.memoizedState;return null!==r&&null!==t&&ki(t,r[1])?r[0]:(n.memoizedState=[e,t],e)}function Gi(e,t){var n=Pi();t=void 0===t?null:t;var r=n.memoizedState;return null!==r&&null!==t&&ki(t,r[1])?r[0]:(e=e(),n.memoizedState=[e,t],e)}function Xi(e,t,n){return 21&hi?(sr(n,t)||(n=mt(),mi.lanes|=n,Ll|=n,e.baseState=!0),t):(e.baseState&&(e.baseState=!1,ws=!0),e.memoizedState=n)}function Ji(e,t){var n=bt;bt=0!==n&&4>n?n:4,e(!0);var r=pi.transition;pi.transition={};try{e(!1),t()}finally{bt=n,pi.transition=r}}function es(){return Pi().memoizedState}function ts(e,t,n){var r=nc(e);n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},rs(e)?os(t,n):null!==(n=Ta(e,t,n,r))&&(rc(n,e,r,tc()),as(n,t,r))}function ns(e,t,n){var r=nc(e),o={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(rs(e))os(t,o);else{var a=e.alternate;if(0===e.lanes&&(null===a||0===a.lanes)&&null!==(a=t.lastRenderedReducer))try{var i=t.lastRenderedState,s=a(i,n);if(o.hasEagerState=!0,o.eagerState=s,sr(s,i)){var l=t.interleaved;return null===l?(o.next=o,Ra(t)):(o.next=l.next,l.next=o),void(t.interleaved=o)}}catch(e){}null!==(n=Ta(e,t,o,r))&&(rc(n,e,r,o=tc()),as(n,t,r))}}function rs(e){var t=e.alternate;return e===mi||null!==t&&t===mi}function os(e,t){bi=yi=!0;var n=e.pending;null===n?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function as(e,t,n){if(4194240&n){var r=t.lanes;n|=r&=e.pendingLanes,t.lanes=n,yt(e,n)}}var is={readContext:_a,useCallback:Si,useContext:Si,useEffect:Si,useImperativeHandle:Si,useInsertionEffect:Si,useLayoutEffect:Si,useMemo:Si,useReducer:Si,useRef:Si,useState:Si,useDebugValue:Si,useDeferredValue:Si,useTransition:Si,useMutableSource:Si,useSyncExternalStore:Si,useId:Si,unstable_isNewReconciler:!1},ss={readContext:_a,useCallback:function(e,t){return _i().memoizedState=[e,void 0===t?null:t],e},useContext:_a,useEffect:Wi,useImperativeHandle:function(e,t,n){return n=null!=n?n.concat([e]):null,$i(4194308,4,Zi.bind(null,t,e),n)},useLayoutEffect:function(e,t){return $i(4194308,4,e,t)},useInsertionEffect:function(e,t){return $i(4,2,e,t)},useMemo:function(e,t){var n=_i();return t=void 0===t?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=_i();return t=void 0!==n?n(t):t,r.memoizedState=r.baseState=t,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},r.queue=e,e=e.dispatch=ts.bind(null,mi,e),[r.memoizedState,e]},useRef:function(e){return e={current:e},_i().memoizedState=e},useState:Bi,useDebugValue:Ki,useDeferredValue:function(e){return _i().memoizedState=e},useTransition:function(){var e=Bi(!1),t=e[0];return e=Ji.bind(null,e[1]),_i().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=mi,o=_i();if(aa){if(void 0===n)throw Error(a(407));n=n()}else{if(n=t(),null===Al)throw Error(a(349));30&hi||zi(r,t,n)}o.memoizedState=n;var i={value:n,getSnapshot:t};return o.queue=i,Wi(ji.bind(null,r,i,e),[e]),r.flags|=2048,Ni(9,Fi.bind(null,r,i,n,t),void 0,null),n},useId:function(){var e=_i(),t=Al.identifierPrefix;if(aa){var n=Xo;t=":"+t+"R"+(n=(Go&~(1<<32-it(Go)-1)).toString(32)+n),0<(n=wi++)&&(t+="H"+n.toString(32)),t+=":"}else t=":"+t+"r"+(n=xi++).toString(32)+":";return e.memoizedState=t},unstable_isNewReconciler:!1},ls={readContext:_a,useCallback:Yi,useContext:_a,useEffect:Hi,useImperativeHandle:Qi,useInsertionEffect:Ui,useLayoutEffect:qi,useMemo:Gi,useReducer:Ti,useRef:Ii,useState:function(){return Ti(Ri)},useDebugValue:Ki,useDeferredValue:function(e){return Xi(Pi(),vi.memoizedState,e)},useTransition:function(){return[Ti(Ri)[0],Pi().memoizedState]},useMutableSource:Mi,useSyncExternalStore:Oi,useId:es,unstable_isNewReconciler:!1},cs={readContext:_a,useCallback:Yi,useContext:_a,useEffect:Hi,useImperativeHandle:Qi,useInsertionEffect:Ui,useLayoutEffect:qi,useMemo:Gi,useReducer:Ai,useRef:Ii,useState:function(){return Ai(Ri)},useDebugValue:Ki,useDeferredValue:function(e){var t=Pi();return null===vi?t.memoizedState=e:Xi(t,vi.memoizedState,e)},useTransition:function(){return[Ai(Ri)[0],Pi().memoizedState]},useMutableSource:Mi,useSyncExternalStore:Oi,useId:es,unstable_isNewReconciler:!1};function us(e,t){try{var n="",r=t;do{n+=$(r),r=r.return}while(r);var o=n}catch(e){o="\nError generating stack: "+e.message+"\n"+e.stack}return{value:e,source:t,stack:o,digest:null}}function ds(e,t,n){return{value:e,source:null,stack:null!=n?n:null,digest:null!=t?t:null}}function fs(e,t){try{console.error(t.value)}catch(e){setTimeout(function(){throw e})}}var ps="function"==typeof WeakMap?WeakMap:Map;function hs(e,t,n){(n=Fa(-1,n)).tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){Ul||(Ul=!0,ql=r),fs(0,t)},n}function ms(e,t,n){(n=Fa(-1,n)).tag=3;var r=e.type.getDerivedStateFromError;if("function"==typeof r){var o=t.value;n.payload=function(){return r(o)},n.callback=function(){fs(0,t)}}var a=e.stateNode;return null!==a&&"function"==typeof a.componentDidCatch&&(n.callback=function(){fs(0,t),"function"!=typeof r&&(null===Zl?Zl=new Set([this]):Zl.add(this));var e=t.stack;this.componentDidCatch(t.value,{componentStack:null!==e?e:""})}),n}function vs(e,t,n){var r=e.pingCache;if(null===r){r=e.pingCache=new ps;var o=new Set;r.set(t,o)}else void 0===(o=r.get(t))&&(o=new Set,r.set(t,o));o.has(n)||(o.add(n),e=_c.bind(null,e,t,n),t.then(e,e))}function gs(e){do{var t;if((t=13===e.tag)&&(t=null===(t=e.memoizedState)||null!==t.dehydrated),t)return e;e=e.return}while(null!==e);return null}function ys(e,t,n,r,o){return 1&e.mode?(e.flags|=65536,e.lanes=o,e):(e===t?e.flags|=65536:(e.flags|=128,n.flags|=131072,n.flags&=-52805,1===n.tag&&(null===n.alternate?n.tag=17:((t=Fa(-1,1)).tag=2,ja(n,t,1))),n.lanes|=1),e)}var bs=w.ReactCurrentOwner,ws=!1;function xs(e,t,n,r){t.child=null===e?Xa(t,null,n,r):Ga(t,e.child,n,r)}function Ss(e,t,n,r,o){n=n.render;var a=t.ref;return Ca(t,o),r=Ei(e,t,n,r,a,o),n=Ci(),null===e||ws?(aa&&n&&ta(t),t.flags|=1,xs(e,t,r,o),t.child):(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~o,Us(e,t,o))}function ks(e,t,n,r,o){if(null===e){var a=n.type;return"function"!=typeof a||zc(a)||void 0!==a.defaultProps||null!==n.compare||void 0!==n.defaultProps?((e=jc(n.type,null,r,t,t.mode,o)).ref=t.ref,e.return=t,t.child=e):(t.tag=15,t.type=a,Es(e,t,a,r,o))}if(a=e.child,0===(e.lanes&o)){var i=a.memoizedProps;if((n=null!==(n=n.compare)?n:lr)(i,r)&&e.ref===t.ref)return Us(e,t,o)}return t.flags|=1,(e=Fc(a,r)).ref=t.ref,e.return=t,t.child=e}function Es(e,t,n,r,o){if(null!==e){var a=e.memoizedProps;if(lr(a,r)&&e.ref===t.ref){if(ws=!1,t.pendingProps=r=a,0===(e.lanes&o))return t.lanes=e.lanes,Us(e,t,o);131072&e.flags&&(ws=!0)}}return Ps(e,t,n,r,o)}function Cs(e,t,n){var r=t.pendingProps,o=r.children,a=null!==e?e.memoizedState:null;if("hidden"===r.mode)if(1&t.mode){if(!(1073741824&n))return e=null!==a?a.baseLanes|n:n,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e,cachePool:null,transitions:null},t.updateQueue=null,Po(Fl,zl),zl|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},r=null!==a?a.baseLanes:n,Po(Fl,zl),zl|=r}else t.memoizedState={baseLanes:0,cachePool:null,transitions:null},Po(Fl,zl),zl|=n;else null!==a?(r=a.baseLanes|n,t.memoizedState=null):r=n,Po(Fl,zl),zl|=r;return xs(e,t,o,n),t.child}function _s(e,t){var n=t.ref;(null===e&&null!==n||null!==e&&e.ref!==n)&&(t.flags|=512,t.flags|=2097152)}function Ps(e,t,n,r,o){var a=zo(n)?Mo:To.current;return a=Oo(t,a),Ca(t,o),n=Ei(e,t,n,r,a,o),r=Ci(),null===e||ws?(aa&&r&&ta(t),t.flags|=1,xs(e,t,n,o),t.child):(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~o,Us(e,t,o))}function Rs(e,t,n,r,o){if(zo(n)){var a=!0;Lo(t)}else a=!1;if(Ca(t,o),null===t.stateNode)Hs(e,t),Ha(t,n,r),qa(t,n,r,o),r=!0;else if(null===e){var i=t.stateNode,s=t.memoizedProps;i.props=s;var l=i.context,c=n.contextType;c="object"==typeof c&&null!==c?_a(c):Oo(t,c=zo(n)?Mo:To.current);var u=n.getDerivedStateFromProps,d="function"==typeof u||"function"==typeof i.getSnapshotBeforeUpdate;d||"function"!=typeof i.UNSAFE_componentWillReceiveProps&&"function"!=typeof i.componentWillReceiveProps||(s!==r||l!==c)&&Ua(t,i,r,c),Ma=!1;var f=t.memoizedState;i.state=f,Ba(t,r,i,o),l=t.memoizedState,s!==r||f!==l||Ao.current||Ma?("function"==typeof u&&($a(t,n,u,r),l=t.memoizedState),(s=Ma||Wa(t,n,s,r,f,l,c))?(d||"function"!=typeof i.UNSAFE_componentWillMount&&"function"!=typeof i.componentWillMount||("function"==typeof i.componentWillMount&&i.componentWillMount(),"function"==typeof i.UNSAFE_componentWillMount&&i.UNSAFE_componentWillMount()),"function"==typeof i.componentDidMount&&(t.flags|=4194308)):("function"==typeof i.componentDidMount&&(t.flags|=4194308),t.memoizedProps=r,t.memoizedState=l),i.props=r,i.state=l,i.context=c,r=s):("function"==typeof i.componentDidMount&&(t.flags|=4194308),r=!1)}else{i=t.stateNode,za(e,t),s=t.memoizedProps,c=t.type===t.elementType?s:ga(t.type,s),i.props=c,d=t.pendingProps,f=i.context,l="object"==typeof(l=n.contextType)&&null!==l?_a(l):Oo(t,l=zo(n)?Mo:To.current);var p=n.getDerivedStateFromProps;(u="function"==typeof p||"function"==typeof i.getSnapshotBeforeUpdate)||"function"!=typeof i.UNSAFE_componentWillReceiveProps&&"function"!=typeof i.componentWillReceiveProps||(s!==d||f!==l)&&Ua(t,i,r,l),Ma=!1,f=t.memoizedState,i.state=f,Ba(t,r,i,o);var h=t.memoizedState;s!==d||f!==h||Ao.current||Ma?("function"==typeof p&&($a(t,n,p,r),h=t.memoizedState),(c=Ma||Wa(t,n,c,r,f,h,l)||!1)?(u||"function"!=typeof i.UNSAFE_componentWillUpdate&&"function"!=typeof i.componentWillUpdate||("function"==typeof i.componentWillUpdate&&i.componentWillUpdate(r,h,l),"function"==typeof i.UNSAFE_componentWillUpdate&&i.UNSAFE_componentWillUpdate(r,h,l)),"function"==typeof i.componentDidUpdate&&(t.flags|=4),"function"==typeof i.getSnapshotBeforeUpdate&&(t.flags|=1024)):("function"!=typeof i.componentDidUpdate||s===e.memoizedProps&&f===e.memoizedState||(t.flags|=4),"function"!=typeof i.getSnapshotBeforeUpdate||s===e.memoizedProps&&f===e.memoizedState||(t.flags|=1024),t.memoizedProps=r,t.memoizedState=h),i.props=r,i.state=h,i.context=l,r=c):("function"!=typeof i.componentDidUpdate||s===e.memoizedProps&&f===e.memoizedState||(t.flags|=4),"function"!=typeof i.getSnapshotBeforeUpdate||s===e.memoizedProps&&f===e.memoizedState||(t.flags|=1024),r=!1)}return Ts(e,t,n,r,a,o)}function Ts(e,t,n,r,o,a){_s(e,t);var i=!!(128&t.flags);if(!r&&!i)return o&&Bo(t,n,!1),Us(e,t,a);r=t.stateNode,bs.current=t;var s=i&&"function"!=typeof n.getDerivedStateFromError?null:r.render();return t.flags|=1,null!==e&&i?(t.child=Ga(t,e.child,null,a),t.child=Ga(t,null,s,a)):xs(e,t,s,a),t.memoizedState=r.state,o&&Bo(t,n,!0),t.child}function As(e){var t=e.stateNode;t.pendingContext?jo(0,t.pendingContext,t.pendingContext!==t.context):t.context&&jo(0,t.context,!1),oi(e,t.containerInfo)}function Ms(e,t,n,r,o){return ha(),ma(o),t.flags|=256,xs(e,t,n,r),t.child}var Os,zs,Fs,js,Ds={dehydrated:null,treeContext:null,retryLane:0};function Ls(e){return{baseLanes:e,cachePool:null,transitions:null}}function Bs(e,t,n){var r,o=t.pendingProps,i=li.current,s=!1,l=!!(128&t.flags);if((r=l)||(r=(null===e||null!==e.memoizedState)&&!!(2&i)),r?(s=!0,t.flags&=-129):null!==e&&null===e.memoizedState||(i|=1),Po(li,1&i),null===e)return ua(t),null!==(e=t.memoizedState)&&null!==(e=e.dehydrated)?(1&t.mode?"$!"===e.data?t.lanes=8:t.lanes=1073741824:t.lanes=1,null):(l=o.children,e=o.fallback,s?(o=t.mode,s=t.child,l={mode:"hidden",children:l},1&o||null===s?s=Lc(l,o,0,null):(s.childLanes=0,s.pendingProps=l),e=Dc(e,o,n,null),s.return=t,e.return=t,s.sibling=e,t.child=s,t.child.memoizedState=Ls(n),t.memoizedState=Ds,e):Ns(t,l));if(null!==(i=e.memoizedState)&&null!==(r=i.dehydrated))return function(e,t,n,r,o,i,s){if(n)return 256&t.flags?(t.flags&=-257,Is(e,t,s,r=ds(Error(a(422))))):null!==t.memoizedState?(t.child=e.child,t.flags|=128,null):(i=r.fallback,o=t.mode,r=Lc({mode:"visible",children:r.children},o,0,null),(i=Dc(i,o,s,null)).flags|=2,r.return=t,i.return=t,r.sibling=i,t.child=r,1&t.mode&&Ga(t,e.child,null,s),t.child.memoizedState=Ls(s),t.memoizedState=Ds,i);if(!(1&t.mode))return Is(e,t,s,null);if("$!"===o.data){if(r=o.nextSibling&&o.nextSibling.dataset)var l=r.dgst;return r=l,Is(e,t,s,r=ds(i=Error(a(419)),r,void 0))}if(l=0!==(s&e.childLanes),ws||l){if(null!==(r=Al)){switch(s&-s){case 4:o=2;break;case 16:o=8;break;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:o=32;break;case 536870912:o=268435456;break;default:o=0}0!==(o=0!==(o&(r.suspendedLanes|s))?0:o)&&o!==i.retryLane&&(i.retryLane=o,Aa(e,o),rc(r,e,o,-1))}return vc(),Is(e,t,s,r=ds(Error(a(421))))}return"$?"===o.data?(t.flags|=128,t.child=e.child,t=Rc.bind(null,e),o._reactRetry=t,null):(e=i.treeContext,oa=co(o.nextSibling),ra=t,aa=!0,ia=null,null!==e&&(Qo[Ko++]=Go,Qo[Ko++]=Xo,Qo[Ko++]=Yo,Go=e.id,Xo=e.overflow,Yo=t),(t=Ns(t,r.children)).flags|=4096,t)}(e,t,l,o,r,i,n);if(s){s=o.fallback,l=t.mode,r=(i=e.child).sibling;var c={mode:"hidden",children:o.children};return 1&l||t.child===i?(o=Fc(i,c)).subtreeFlags=14680064&i.subtreeFlags:((o=t.child).childLanes=0,o.pendingProps=c,t.deletions=null),null!==r?s=Fc(r,s):(s=Dc(s,l,n,null)).flags|=2,s.return=t,o.return=t,o.sibling=s,t.child=o,o=s,s=t.child,l=null===(l=e.child.memoizedState)?Ls(n):{baseLanes:l.baseLanes|n,cachePool:null,transitions:l.transitions},s.memoizedState=l,s.childLanes=e.childLanes&~n,t.memoizedState=Ds,o}return e=(s=e.child).sibling,o=Fc(s,{mode:"visible",children:o.children}),!(1&t.mode)&&(o.lanes=n),o.return=t,o.sibling=null,null!==e&&(null===(n=t.deletions)?(t.deletions=[e],t.flags|=16):n.push(e)),t.child=o,t.memoizedState=null,o}function Ns(e,t){return(t=Lc({mode:"visible",children:t},e.mode,0,null)).return=e,e.child=t}function Is(e,t,n,r){return null!==r&&ma(r),Ga(t,e.child,null,n),(e=Ns(t,t.pendingProps.children)).flags|=2,t.memoizedState=null,e}function $s(e,t,n){e.lanes|=t;var r=e.alternate;null!==r&&(r.lanes|=t),Ea(e.return,t,n)}function Vs(e,t,n,r,o){var a=e.memoizedState;null===a?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailMode:o}:(a.isBackwards=t,a.rendering=null,a.renderingStartTime=0,a.last=r,a.tail=n,a.tailMode=o)}function Ws(e,t,n){var r=t.pendingProps,o=r.revealOrder,a=r.tail;if(xs(e,t,r.children,n),2&(r=li.current))r=1&r|2,t.flags|=128;else{if(null!==e&&128&e.flags)e:for(e=t.child;null!==e;){if(13===e.tag)null!==e.memoizedState&&$s(e,n,t);else if(19===e.tag)$s(e,n,t);else if(null!==e.child){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;null===e.sibling;){if(null===e.return||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}r&=1}if(Po(li,r),1&t.mode)switch(o){case"forwards":for(n=t.child,o=null;null!==n;)null!==(e=n.alternate)&&null===ci(e)&&(o=n),n=n.sibling;null===(n=o)?(o=t.child,t.child=null):(o=n.sibling,n.sibling=null),Vs(t,!1,o,n,a);break;case"backwards":for(n=null,o=t.child,t.child=null;null!==o;){if(null!==(e=o.alternate)&&null===ci(e)){t.child=o;break}e=o.sibling,o.sibling=n,n=o,o=e}Vs(t,!0,n,null,a);break;case"together":Vs(t,!1,null,null,void 0);break;default:t.memoizedState=null}else t.memoizedState=null;return t.child}function Hs(e,t){!(1&t.mode)&&null!==e&&(e.alternate=null,t.alternate=null,t.flags|=2)}function Us(e,t,n){if(null!==e&&(t.dependencies=e.dependencies),Ll|=t.lanes,0===(n&t.childLanes))return null;if(null!==e&&t.child!==e.child)throw Error(a(153));if(null!==t.child){for(n=Fc(e=t.child,e.pendingProps),t.child=n,n.return=t;null!==e.sibling;)e=e.sibling,(n=n.sibling=Fc(e,e.pendingProps)).return=t;n.sibling=null}return t.child}function qs(e,t){if(!aa)switch(e.tailMode){case"hidden":t=e.tail;for(var n=null;null!==t;)null!==t.alternate&&(n=t),t=t.sibling;null===n?e.tail=null:n.sibling=null;break;case"collapsed":n=e.tail;for(var r=null;null!==n;)null!==n.alternate&&(r=n),n=n.sibling;null===r?t||null===e.tail?e.tail=null:e.tail.sibling=null:r.sibling=null}}function Zs(e){var t=null!==e.alternate&&e.alternate.child===e.child,n=0,r=0;if(t)for(var o=e.child;null!==o;)n|=o.lanes|o.childLanes,r|=14680064&o.subtreeFlags,r|=14680064&o.flags,o.return=e,o=o.sibling;else for(o=e.child;null!==o;)n|=o.lanes|o.childLanes,r|=o.subtreeFlags,r|=o.flags,o.return=e,o=o.sibling;return e.subtreeFlags|=r,e.childLanes=n,t}function Qs(e,t,n){var r=t.pendingProps;switch(na(t),t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Zs(t),null;case 1:case 17:return zo(t.type)&&Fo(),Zs(t),null;case 3:return r=t.stateNode,ai(),_o(Ao),_o(To),di(),r.pendingContext&&(r.context=r.pendingContext,r.pendingContext=null),null!==e&&null!==e.child||(fa(t)?t.flags|=4:null===e||e.memoizedState.isDehydrated&&!(256&t.flags)||(t.flags|=1024,null!==ia&&(sc(ia),ia=null))),zs(e,t),Zs(t),null;case 5:si(t);var o=ri(ni.current);if(n=t.type,null!==e&&null!=t.stateNode)Fs(e,t,n,r,o),e.ref!==t.ref&&(t.flags|=512,t.flags|=2097152);else{if(!r){if(null===t.stateNode)throw Error(a(166));return Zs(t),null}if(e=ri(ei.current),fa(t)){r=t.stateNode,n=t.type;var i=t.memoizedProps;switch(r[po]=t,r[ho]=i,e=!!(1&t.mode),n){case"dialog":Nr("cancel",r),Nr("close",r);break;case"iframe":case"object":case"embed":Nr("load",r);break;case"video":case"audio":for(o=0;o<jr.length;o++)Nr(jr[o],r);break;case"source":Nr("error",r);break;case"img":case"image":case"link":Nr("error",r),Nr("load",r);break;case"details":Nr("toggle",r);break;case"input":Y(r,i),Nr("invalid",r);break;case"select":r._wrapperState={wasMultiple:!!i.multiple},Nr("invalid",r);break;case"textarea":oe(r,i),Nr("invalid",r)}for(var l in ye(n,i),o=null,i)if(i.hasOwnProperty(l)){var c=i[l];"children"===l?"string"==typeof c?r.textContent!==c&&(!0!==i.suppressHydrationWarning&&Xr(r.textContent,c,e),o=["children",c]):"number"==typeof c&&r.textContent!==""+c&&(!0!==i.suppressHydrationWarning&&Xr(r.textContent,c,e),o=["children",""+c]):s.hasOwnProperty(l)&&null!=c&&"onScroll"===l&&Nr("scroll",r)}switch(n){case"input":q(r),J(r,i,!0);break;case"textarea":q(r),ie(r);break;case"select":case"option":break;default:"function"==typeof i.onClick&&(r.onclick=Jr)}r=o,t.updateQueue=r,null!==r&&(t.flags|=4)}else{l=9===o.nodeType?o:o.ownerDocument,"http://www.w3.org/1999/xhtml"===e&&(e=se(n)),"http://www.w3.org/1999/xhtml"===e?"script"===n?((e=l.createElement("div")).innerHTML="<script><\/script>",e=e.removeChild(e.firstChild)):"string"==typeof r.is?e=l.createElement(n,{is:r.is}):(e=l.createElement(n),"select"===n&&(l=e,r.multiple?l.multiple=!0:r.size&&(l.size=r.size))):e=l.createElementNS(e,n),e[po]=t,e[ho]=r,Os(e,t,!1,!1),t.stateNode=e;e:{switch(l=be(n,r),n){case"dialog":Nr("cancel",e),Nr("close",e),o=r;break;case"iframe":case"object":case"embed":Nr("load",e),o=r;break;case"video":case"audio":for(o=0;o<jr.length;o++)Nr(jr[o],e);o=r;break;case"source":Nr("error",e),o=r;break;case"img":case"image":case"link":Nr("error",e),Nr("load",e),o=r;break;case"details":Nr("toggle",e),o=r;break;case"input":Y(e,r),o=K(e,r),Nr("invalid",e);break;case"option":default:o=r;break;case"select":e._wrapperState={wasMultiple:!!r.multiple},o=L({},r,{value:void 0}),Nr("invalid",e);break;case"textarea":oe(e,r),o=re(e,r),Nr("invalid",e)}for(i in ye(n,o),c=o)if(c.hasOwnProperty(i)){var u=c[i];"style"===i?ve(e,u):"dangerouslySetInnerHTML"===i?null!=(u=u?u.__html:void 0)&&de(e,u):"children"===i?"string"==typeof u?("textarea"!==n||""!==u)&&fe(e,u):"number"==typeof u&&fe(e,""+u):"suppressContentEditableWarning"!==i&&"suppressHydrationWarning"!==i&&"autoFocus"!==i&&(s.hasOwnProperty(i)?null!=u&&"onScroll"===i&&Nr("scroll",e):null!=u&&b(e,i,u,l))}switch(n){case"input":q(e),J(e,r,!1);break;case"textarea":q(e),ie(e);break;case"option":null!=r.value&&e.setAttribute("value",""+H(r.value));break;case"select":e.multiple=!!r.multiple,null!=(i=r.value)?ne(e,!!r.multiple,i,!1):null!=r.defaultValue&&ne(e,!!r.multiple,r.defaultValue,!0);break;default:"function"==typeof o.onClick&&(e.onclick=Jr)}switch(n){case"button":case"input":case"select":case"textarea":r=!!r.autoFocus;break e;case"img":r=!0;break e;default:r=!1}}r&&(t.flags|=4)}null!==t.ref&&(t.flags|=512,t.flags|=2097152)}return Zs(t),null;case 6:if(e&&null!=t.stateNode)js(e,t,e.memoizedProps,r);else{if("string"!=typeof r&&null===t.stateNode)throw Error(a(166));if(n=ri(ni.current),ri(ei.current),fa(t)){if(r=t.stateNode,n=t.memoizedProps,r[po]=t,(i=r.nodeValue!==n)&&null!==(e=ra))switch(e.tag){case 3:Xr(r.nodeValue,n,!!(1&e.mode));break;case 5:!0!==e.memoizedProps.suppressHydrationWarning&&Xr(r.nodeValue,n,!!(1&e.mode))}i&&(t.flags|=4)}else(r=(9===n.nodeType?n:n.ownerDocument).createTextNode(r))[po]=t,t.stateNode=r}return Zs(t),null;case 13:if(_o(li),r=t.memoizedState,null===e||null!==e.memoizedState&&null!==e.memoizedState.dehydrated){if(aa&&null!==oa&&1&t.mode&&!(128&t.flags))pa(),ha(),t.flags|=98560,i=!1;else if(i=fa(t),null!==r&&null!==r.dehydrated){if(null===e){if(!i)throw Error(a(318));if(!(i=null!==(i=t.memoizedState)?i.dehydrated:null))throw Error(a(317));i[po]=t}else ha(),!(128&t.flags)&&(t.memoizedState=null),t.flags|=4;Zs(t),i=!1}else null!==ia&&(sc(ia),ia=null),i=!0;if(!i)return 65536&t.flags?t:null}return 128&t.flags?(t.lanes=n,t):((r=null!==r)!=(null!==e&&null!==e.memoizedState)&&r&&(t.child.flags|=8192,1&t.mode&&(null===e||1&li.current?0===jl&&(jl=3):vc())),null!==t.updateQueue&&(t.flags|=4),Zs(t),null);case 4:return ai(),zs(e,t),null===e&&Vr(t.stateNode.containerInfo),Zs(t),null;case 10:return ka(t.type._context),Zs(t),null;case 19:if(_o(li),null===(i=t.memoizedState))return Zs(t),null;if(r=!!(128&t.flags),null===(l=i.rendering))if(r)qs(i,!1);else{if(0!==jl||null!==e&&128&e.flags)for(e=t.child;null!==e;){if(null!==(l=ci(e))){for(t.flags|=128,qs(i,!1),null!==(r=l.updateQueue)&&(t.updateQueue=r,t.flags|=4),t.subtreeFlags=0,r=n,n=t.child;null!==n;)e=r,(i=n).flags&=14680066,null===(l=i.alternate)?(i.childLanes=0,i.lanes=e,i.child=null,i.subtreeFlags=0,i.memoizedProps=null,i.memoizedState=null,i.updateQueue=null,i.dependencies=null,i.stateNode=null):(i.childLanes=l.childLanes,i.lanes=l.lanes,i.child=l.child,i.subtreeFlags=0,i.deletions=null,i.memoizedProps=l.memoizedProps,i.memoizedState=l.memoizedState,i.updateQueue=l.updateQueue,i.type=l.type,e=l.dependencies,i.dependencies=null===e?null:{lanes:e.lanes,firstContext:e.firstContext}),n=n.sibling;return Po(li,1&li.current|2),t.child}e=e.sibling}null!==i.tail&&Ge()>Wl&&(t.flags|=128,r=!0,qs(i,!1),t.lanes=4194304)}else{if(!r)if(null!==(e=ci(l))){if(t.flags|=128,r=!0,null!==(n=e.updateQueue)&&(t.updateQueue=n,t.flags|=4),qs(i,!0),null===i.tail&&"hidden"===i.tailMode&&!l.alternate&&!aa)return Zs(t),null}else 2*Ge()-i.renderingStartTime>Wl&&1073741824!==n&&(t.flags|=128,r=!0,qs(i,!1),t.lanes=4194304);i.isBackwards?(l.sibling=t.child,t.child=l):(null!==(n=i.last)?n.sibling=l:t.child=l,i.last=l)}return null!==i.tail?(t=i.tail,i.rendering=t,i.tail=t.sibling,i.renderingStartTime=Ge(),t.sibling=null,n=li.current,Po(li,r?1&n|2:1&n),t):(Zs(t),null);case 22:case 23:return fc(),r=null!==t.memoizedState,null!==e&&null!==e.memoizedState!==r&&(t.flags|=8192),r&&1&t.mode?!!(1073741824&zl)&&(Zs(t),6&t.subtreeFlags&&(t.flags|=8192)):Zs(t),null;case 24:case 25:return null}throw Error(a(156,t.tag))}function Ks(e,t){switch(na(t),t.tag){case 1:return zo(t.type)&&Fo(),65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 3:return ai(),_o(Ao),_o(To),di(),65536&(e=t.flags)&&!(128&e)?(t.flags=-65537&e|128,t):null;case 5:return si(t),null;case 13:if(_o(li),null!==(e=t.memoizedState)&&null!==e.dehydrated){if(null===t.alternate)throw Error(a(340));ha()}return 65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 19:return _o(li),null;case 4:return ai(),null;case 10:return ka(t.type._context),null;case 22:case 23:return fc(),null;default:return null}}Os=function(e,t){for(var n=t.child;null!==n;){if(5===n.tag||6===n.tag)e.appendChild(n.stateNode);else if(4!==n.tag&&null!==n.child){n.child.return=n,n=n.child;continue}if(n===t)break;for(;null===n.sibling;){if(null===n.return||n.return===t)return;n=n.return}n.sibling.return=n.return,n=n.sibling}},zs=function(){},Fs=function(e,t,n,r){var o=e.memoizedProps;if(o!==r){e=t.stateNode,ri(ei.current);var a,i=null;switch(n){case"input":o=K(e,o),r=K(e,r),i=[];break;case"select":o=L({},o,{value:void 0}),r=L({},r,{value:void 0}),i=[];break;case"textarea":o=re(e,o),r=re(e,r),i=[];break;default:"function"!=typeof o.onClick&&"function"==typeof r.onClick&&(e.onclick=Jr)}for(u in ye(n,r),n=null,o)if(!r.hasOwnProperty(u)&&o.hasOwnProperty(u)&&null!=o[u])if("style"===u){var l=o[u];for(a in l)l.hasOwnProperty(a)&&(n||(n={}),n[a]="")}else"dangerouslySetInnerHTML"!==u&&"children"!==u&&"suppressContentEditableWarning"!==u&&"suppressHydrationWarning"!==u&&"autoFocus"!==u&&(s.hasOwnProperty(u)?i||(i=[]):(i=i||[]).push(u,null));for(u in r){var c=r[u];if(l=null!=o?o[u]:void 0,r.hasOwnProperty(u)&&c!==l&&(null!=c||null!=l))if("style"===u)if(l){for(a in l)!l.hasOwnProperty(a)||c&&c.hasOwnProperty(a)||(n||(n={}),n[a]="");for(a in c)c.hasOwnProperty(a)&&l[a]!==c[a]&&(n||(n={}),n[a]=c[a])}else n||(i||(i=[]),i.push(u,n)),n=c;else"dangerouslySetInnerHTML"===u?(c=c?c.__html:void 0,l=l?l.__html:void 0,null!=c&&l!==c&&(i=i||[]).push(u,c)):"children"===u?"string"!=typeof c&&"number"!=typeof c||(i=i||[]).push(u,""+c):"suppressContentEditableWarning"!==u&&"suppressHydrationWarning"!==u&&(s.hasOwnProperty(u)?(null!=c&&"onScroll"===u&&Nr("scroll",e),i||l===c||(i=[])):(i=i||[]).push(u,c))}n&&(i=i||[]).push("style",n);var u=i;(t.updateQueue=u)&&(t.flags|=4)}},js=function(e,t,n,r){n!==r&&(t.flags|=4)};var Ys=!1,Gs=!1,Xs="function"==typeof WeakSet?WeakSet:Set,Js=null;function el(e,t){var n=e.ref;if(null!==n)if("function"==typeof n)try{n(null)}catch(n){Cc(e,t,n)}else n.current=null}function tl(e,t,n){try{n()}catch(n){Cc(e,t,n)}}var nl=!1;function rl(e,t,n){var r=t.updateQueue;if(null!==(r=null!==r?r.lastEffect:null)){var o=r=r.next;do{if((o.tag&e)===e){var a=o.destroy;o.destroy=void 0,void 0!==a&&tl(t,n,a)}o=o.next}while(o!==r)}}function ol(e,t){if(null!==(t=null!==(t=t.updateQueue)?t.lastEffect:null)){var n=t=t.next;do{if((n.tag&e)===e){var r=n.create;n.destroy=r()}n=n.next}while(n!==t)}}function al(e){var t=e.ref;if(null!==t){var n=e.stateNode;e.tag,e=n,"function"==typeof t?t(e):t.current=e}}function il(e){var t=e.alternate;null!==t&&(e.alternate=null,il(t)),e.child=null,e.deletions=null,e.sibling=null,5===e.tag&&null!==(t=e.stateNode)&&(delete t[po],delete t[ho],delete t[vo],delete t[go],delete t[yo]),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}function sl(e){return 5===e.tag||3===e.tag||4===e.tag}function ll(e){e:for(;;){for(;null===e.sibling;){if(null===e.return||sl(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;5!==e.tag&&6!==e.tag&&18!==e.tag;){if(2&e.flags)continue e;if(null===e.child||4===e.tag)continue e;e.child.return=e,e=e.child}if(!(2&e.flags))return e.stateNode}}function cl(e,t,n){var r=e.tag;if(5===r||6===r)e=e.stateNode,t?8===n.nodeType?n.parentNode.insertBefore(e,t):n.insertBefore(e,t):(8===n.nodeType?(t=n.parentNode).insertBefore(e,n):(t=n).appendChild(e),null!=(n=n._reactRootContainer)||null!==t.onclick||(t.onclick=Jr));else if(4!==r&&null!==(e=e.child))for(cl(e,t,n),e=e.sibling;null!==e;)cl(e,t,n),e=e.sibling}function ul(e,t,n){var r=e.tag;if(5===r||6===r)e=e.stateNode,t?n.insertBefore(e,t):n.appendChild(e);else if(4!==r&&null!==(e=e.child))for(ul(e,t,n),e=e.sibling;null!==e;)ul(e,t,n),e=e.sibling}var dl=null,fl=!1;function pl(e,t,n){for(n=n.child;null!==n;)hl(e,t,n),n=n.sibling}function hl(e,t,n){if(at&&"function"==typeof at.onCommitFiberUnmount)try{at.onCommitFiberUnmount(ot,n)}catch(e){}switch(n.tag){case 5:Gs||el(n,t);case 6:var r=dl,o=fl;dl=null,pl(e,t,n),fl=o,null!==(dl=r)&&(fl?(e=dl,n=n.stateNode,8===e.nodeType?e.parentNode.removeChild(n):e.removeChild(n)):dl.removeChild(n.stateNode));break;case 18:null!==dl&&(fl?(e=dl,n=n.stateNode,8===e.nodeType?lo(e.parentNode,n):1===e.nodeType&&lo(e,n),Vt(e)):lo(dl,n.stateNode));break;case 4:r=dl,o=fl,dl=n.stateNode.containerInfo,fl=!0,pl(e,t,n),dl=r,fl=o;break;case 0:case 11:case 14:case 15:if(!Gs&&null!==(r=n.updateQueue)&&null!==(r=r.lastEffect)){o=r=r.next;do{var a=o,i=a.destroy;a=a.tag,void 0!==i&&(2&a||4&a)&&tl(n,t,i),o=o.next}while(o!==r)}pl(e,t,n);break;case 1:if(!Gs&&(el(n,t),"function"==typeof(r=n.stateNode).componentWillUnmount))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(e){Cc(n,t,e)}pl(e,t,n);break;case 21:pl(e,t,n);break;case 22:1&n.mode?(Gs=(r=Gs)||null!==n.memoizedState,pl(e,t,n),Gs=r):pl(e,t,n);break;default:pl(e,t,n)}}function ml(e){var t=e.updateQueue;if(null!==t){e.updateQueue=null;var n=e.stateNode;null===n&&(n=e.stateNode=new Xs),t.forEach(function(t){var r=Tc.bind(null,e,t);n.has(t)||(n.add(t),t.then(r,r))})}}function vl(e,t){var n=t.deletions;if(null!==n)for(var r=0;r<n.length;r++){var o=n[r];try{var i=e,s=t,l=s;e:for(;null!==l;){switch(l.tag){case 5:dl=l.stateNode,fl=!1;break e;case 3:case 4:dl=l.stateNode.containerInfo,fl=!0;break e}l=l.return}if(null===dl)throw Error(a(160));hl(i,s,o),dl=null,fl=!1;var c=o.alternate;null!==c&&(c.return=null),o.return=null}catch(e){Cc(o,t,e)}}if(12854&t.subtreeFlags)for(t=t.child;null!==t;)gl(t,e),t=t.sibling}function gl(e,t){var n=e.alternate,r=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:if(vl(t,e),yl(e),4&r){try{rl(3,e,e.return),ol(3,e)}catch(t){Cc(e,e.return,t)}try{rl(5,e,e.return)}catch(t){Cc(e,e.return,t)}}break;case 1:vl(t,e),yl(e),512&r&&null!==n&&el(n,n.return);break;case 5:if(vl(t,e),yl(e),512&r&&null!==n&&el(n,n.return),32&e.flags){var o=e.stateNode;try{fe(o,"")}catch(t){Cc(e,e.return,t)}}if(4&r&&null!=(o=e.stateNode)){var i=e.memoizedProps,s=null!==n?n.memoizedProps:i,l=e.type,c=e.updateQueue;if(e.updateQueue=null,null!==c)try{"input"===l&&"radio"===i.type&&null!=i.name&&G(o,i),be(l,s);var u=be(l,i);for(s=0;s<c.length;s+=2){var d=c[s],f=c[s+1];"style"===d?ve(o,f):"dangerouslySetInnerHTML"===d?de(o,f):"children"===d?fe(o,f):b(o,d,f,u)}switch(l){case"input":X(o,i);break;case"textarea":ae(o,i);break;case"select":var p=o._wrapperState.wasMultiple;o._wrapperState.wasMultiple=!!i.multiple;var h=i.value;null!=h?ne(o,!!i.multiple,h,!1):p!==!!i.multiple&&(null!=i.defaultValue?ne(o,!!i.multiple,i.defaultValue,!0):ne(o,!!i.multiple,i.multiple?[]:"",!1))}o[ho]=i}catch(t){Cc(e,e.return,t)}}break;case 6:if(vl(t,e),yl(e),4&r){if(null===e.stateNode)throw Error(a(162));o=e.stateNode,i=e.memoizedProps;try{o.nodeValue=i}catch(t){Cc(e,e.return,t)}}break;case 3:if(vl(t,e),yl(e),4&r&&null!==n&&n.memoizedState.isDehydrated)try{Vt(t.containerInfo)}catch(t){Cc(e,e.return,t)}break;case 4:default:vl(t,e),yl(e);break;case 13:vl(t,e),yl(e),8192&(o=e.child).flags&&(i=null!==o.memoizedState,o.stateNode.isHidden=i,!i||null!==o.alternate&&null!==o.alternate.memoizedState||(Vl=Ge())),4&r&&ml(e);break;case 22:if(d=null!==n&&null!==n.memoizedState,1&e.mode?(Gs=(u=Gs)||d,vl(t,e),Gs=u):vl(t,e),yl(e),8192&r){if(u=null!==e.memoizedState,(e.stateNode.isHidden=u)&&!d&&1&e.mode)for(Js=e,d=e.child;null!==d;){for(f=Js=d;null!==Js;){switch(h=(p=Js).child,p.tag){case 0:case 11:case 14:case 15:rl(4,p,p.return);break;case 1:el(p,p.return);var m=p.stateNode;if("function"==typeof m.componentWillUnmount){r=p,n=p.return;try{t=r,m.props=t.memoizedProps,m.state=t.memoizedState,m.componentWillUnmount()}catch(e){Cc(r,n,e)}}break;case 5:el(p,p.return);break;case 22:if(null!==p.memoizedState){Sl(f);continue}}null!==h?(h.return=p,Js=h):Sl(f)}d=d.sibling}e:for(d=null,f=e;;){if(5===f.tag){if(null===d){d=f;try{o=f.stateNode,u?"function"==typeof(i=o.style).setProperty?i.setProperty("display","none","important"):i.display="none":(l=f.stateNode,s=null!=(c=f.memoizedProps.style)&&c.hasOwnProperty("display")?c.display:null,l.style.display=me("display",s))}catch(t){Cc(e,e.return,t)}}}else if(6===f.tag){if(null===d)try{f.stateNode.nodeValue=u?"":f.memoizedProps}catch(t){Cc(e,e.return,t)}}else if((22!==f.tag&&23!==f.tag||null===f.memoizedState||f===e)&&null!==f.child){f.child.return=f,f=f.child;continue}if(f===e)break e;for(;null===f.sibling;){if(null===f.return||f.return===e)break e;d===f&&(d=null),f=f.return}d===f&&(d=null),f.sibling.return=f.return,f=f.sibling}}break;case 19:vl(t,e),yl(e),4&r&&ml(e);case 21:}}function yl(e){var t=e.flags;if(2&t){try{e:{for(var n=e.return;null!==n;){if(sl(n)){var r=n;break e}n=n.return}throw Error(a(160))}switch(r.tag){case 5:var o=r.stateNode;32&r.flags&&(fe(o,""),r.flags&=-33),ul(e,ll(e),o);break;case 3:case 4:var i=r.stateNode.containerInfo;cl(e,ll(e),i);break;default:throw Error(a(161))}}catch(t){Cc(e,e.return,t)}e.flags&=-3}4096&t&&(e.flags&=-4097)}function bl(e,t,n){Js=e,wl(e,t,n)}function wl(e,t,n){for(var r=!!(1&e.mode);null!==Js;){var o=Js,a=o.child;if(22===o.tag&&r){var i=null!==o.memoizedState||Ys;if(!i){var s=o.alternate,l=null!==s&&null!==s.memoizedState||Gs;s=Ys;var c=Gs;if(Ys=i,(Gs=l)&&!c)for(Js=o;null!==Js;)l=(i=Js).child,22===i.tag&&null!==i.memoizedState?kl(o):null!==l?(l.return=i,Js=l):kl(o);for(;null!==a;)Js=a,wl(a,t,n),a=a.sibling;Js=o,Ys=s,Gs=c}xl(e)}else 8772&o.subtreeFlags&&null!==a?(a.return=o,Js=a):xl(e)}}function xl(e){for(;null!==Js;){var t=Js;if(8772&t.flags){var n=t.alternate;try{if(8772&t.flags)switch(t.tag){case 0:case 11:case 15:Gs||ol(5,t);break;case 1:var r=t.stateNode;if(4&t.flags&&!Gs)if(null===n)r.componentDidMount();else{var o=t.elementType===t.type?n.memoizedProps:ga(t.type,n.memoizedProps);r.componentDidUpdate(o,n.memoizedState,r.__reactInternalSnapshotBeforeUpdate)}var i=t.updateQueue;null!==i&&Na(t,i,r);break;case 3:var s=t.updateQueue;if(null!==s){if(n=null,null!==t.child)switch(t.child.tag){case 5:case 1:n=t.child.stateNode}Na(t,s,n)}break;case 5:var l=t.stateNode;if(null===n&&4&t.flags){n=l;var c=t.memoizedProps;switch(t.type){case"button":case"input":case"select":case"textarea":c.autoFocus&&n.focus();break;case"img":c.src&&(n.src=c.src)}}break;case 6:case 4:case 12:case 19:case 17:case 21:case 22:case 23:case 25:break;case 13:if(null===t.memoizedState){var u=t.alternate;if(null!==u){var d=u.memoizedState;if(null!==d){var f=d.dehydrated;null!==f&&Vt(f)}}}break;default:throw Error(a(163))}Gs||512&t.flags&&al(t)}catch(e){Cc(t,t.return,e)}}if(t===e){Js=null;break}if(null!==(n=t.sibling)){n.return=t.return,Js=n;break}Js=t.return}}function Sl(e){for(;null!==Js;){var t=Js;if(t===e){Js=null;break}var n=t.sibling;if(null!==n){n.return=t.return,Js=n;break}Js=t.return}}function kl(e){for(;null!==Js;){var t=Js;try{switch(t.tag){case 0:case 11:case 15:var n=t.return;try{ol(4,t)}catch(e){Cc(t,n,e)}break;case 1:var r=t.stateNode;if("function"==typeof r.componentDidMount){var o=t.return;try{r.componentDidMount()}catch(e){Cc(t,o,e)}}var a=t.return;try{al(t)}catch(e){Cc(t,a,e)}break;case 5:var i=t.return;try{al(t)}catch(e){Cc(t,i,e)}}}catch(e){Cc(t,t.return,e)}if(t===e){Js=null;break}var s=t.sibling;if(null!==s){s.return=t.return,Js=s;break}Js=t.return}}var El,Cl=Math.ceil,_l=w.ReactCurrentDispatcher,Pl=w.ReactCurrentOwner,Rl=w.ReactCurrentBatchConfig,Tl=0,Al=null,Ml=null,Ol=0,zl=0,Fl=Co(0),jl=0,Dl=null,Ll=0,Bl=0,Nl=0,Il=null,$l=null,Vl=0,Wl=1/0,Hl=null,Ul=!1,ql=null,Zl=null,Ql=!1,Kl=null,Yl=0,Gl=0,Xl=null,Jl=-1,ec=0;function tc(){return 6&Tl?Ge():-1!==Jl?Jl:Jl=Ge()}function nc(e){return 1&e.mode?2&Tl&&0!==Ol?Ol&-Ol:null!==va.transition?(0===ec&&(ec=mt()),ec):0!==(e=bt)?e:e=void 0===(e=window.event)?16:Yt(e.type):1}function rc(e,t,n,r){if(50<Gl)throw Gl=0,Xl=null,Error(a(185));gt(e,n,r),2&Tl&&e===Al||(e===Al&&(!(2&Tl)&&(Bl|=n),4===jl&&lc(e,Ol)),oc(e,r),1===n&&0===Tl&&!(1&t.mode)&&(Wl=Ge()+500,Io&&Wo()))}function oc(e,t){var n=e.callbackNode;!function(e,t){for(var n=e.suspendedLanes,r=e.pingedLanes,o=e.expirationTimes,a=e.pendingLanes;0<a;){var i=31-it(a),s=1<<i,l=o[i];-1===l?0!==(s&n)&&0===(s&r)||(o[i]=pt(s,t)):l<=t&&(e.expiredLanes|=s),a&=~s}}(e,t);var r=ft(e,e===Al?Ol:0);if(0===r)null!==n&&Qe(n),e.callbackNode=null,e.callbackPriority=0;else if(t=r&-r,e.callbackPriority!==t){if(null!=n&&Qe(n),1===t)0===e.tag?function(e){Io=!0,Vo(e)}(cc.bind(null,e)):Vo(cc.bind(null,e)),io(function(){!(6&Tl)&&Wo()}),n=null;else{switch(wt(r)){case 1:n=Je;break;case 4:n=et;break;case 16:default:n=tt;break;case 536870912:n=rt}n=Ac(n,ac.bind(null,e))}e.callbackPriority=t,e.callbackNode=n}}function ac(e,t){if(Jl=-1,ec=0,6&Tl)throw Error(a(327));var n=e.callbackNode;if(kc()&&e.callbackNode!==n)return null;var r=ft(e,e===Al?Ol:0);if(0===r)return null;if(30&r||0!==(r&e.expiredLanes)||t)t=gc(e,r);else{t=r;var o=Tl;Tl|=2;var i=mc();for(Al===e&&Ol===t||(Hl=null,Wl=Ge()+500,pc(e,t));;)try{bc();break}catch(t){hc(e,t)}Sa(),_l.current=i,Tl=o,null!==Ml?t=0:(Al=null,Ol=0,t=jl)}if(0!==t){if(2===t&&0!==(o=ht(e))&&(r=o,t=ic(e,o)),1===t)throw n=Dl,pc(e,0),lc(e,r),oc(e,Ge()),n;if(6===t)lc(e,r);else{if(o=e.current.alternate,!(30&r||function(e){for(var t=e;;){if(16384&t.flags){var n=t.updateQueue;if(null!==n&&null!==(n=n.stores))for(var r=0;r<n.length;r++){var o=n[r],a=o.getSnapshot;o=o.value;try{if(!sr(a(),o))return!1}catch(e){return!1}}}if(n=t.child,16384&t.subtreeFlags&&null!==n)n.return=t,t=n;else{if(t===e)break;for(;null===t.sibling;){if(null===t.return||t.return===e)return!0;t=t.return}t.sibling.return=t.return,t=t.sibling}}return!0}(o)||(t=gc(e,r),2===t&&(i=ht(e),0!==i&&(r=i,t=ic(e,i))),1!==t)))throw n=Dl,pc(e,0),lc(e,r),oc(e,Ge()),n;switch(e.finishedWork=o,e.finishedLanes=r,t){case 0:case 1:throw Error(a(345));case 2:case 5:Sc(e,$l,Hl);break;case 3:if(lc(e,r),(130023424&r)===r&&10<(t=Vl+500-Ge())){if(0!==ft(e,0))break;if(((o=e.suspendedLanes)&r)!==r){tc(),e.pingedLanes|=e.suspendedLanes&o;break}e.timeoutHandle=ro(Sc.bind(null,e,$l,Hl),t);break}Sc(e,$l,Hl);break;case 4:if(lc(e,r),(4194240&r)===r)break;for(t=e.eventTimes,o=-1;0<r;){var s=31-it(r);i=1<<s,(s=t[s])>o&&(o=s),r&=~i}if(r=o,10<(r=(120>(r=Ge()-r)?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*Cl(r/1960))-r)){e.timeoutHandle=ro(Sc.bind(null,e,$l,Hl),r);break}Sc(e,$l,Hl);break;default:throw Error(a(329))}}}return oc(e,Ge()),e.callbackNode===n?ac.bind(null,e):null}function ic(e,t){var n=Il;return e.current.memoizedState.isDehydrated&&(pc(e,t).flags|=256),2!==(e=gc(e,t))&&(t=$l,$l=n,null!==t&&sc(t)),e}function sc(e){null===$l?$l=e:$l.push.apply($l,e)}function lc(e,t){for(t&=~Nl,t&=~Bl,e.suspendedLanes|=t,e.pingedLanes&=~t,e=e.expirationTimes;0<t;){var n=31-it(t),r=1<<n;e[n]=-1,t&=~r}}function cc(e){if(6&Tl)throw Error(a(327));kc();var t=ft(e,0);if(!(1&t))return oc(e,Ge()),null;var n=gc(e,t);if(0!==e.tag&&2===n){var r=ht(e);0!==r&&(t=r,n=ic(e,r))}if(1===n)throw n=Dl,pc(e,0),lc(e,t),oc(e,Ge()),n;if(6===n)throw Error(a(345));return e.finishedWork=e.current.alternate,e.finishedLanes=t,Sc(e,$l,Hl),oc(e,Ge()),null}function uc(e,t){var n=Tl;Tl|=1;try{return e(t)}finally{0===(Tl=n)&&(Wl=Ge()+500,Io&&Wo())}}function dc(e){null!==Kl&&0===Kl.tag&&!(6&Tl)&&kc();var t=Tl;Tl|=1;var n=Rl.transition,r=bt;try{if(Rl.transition=null,bt=1,e)return e()}finally{bt=r,Rl.transition=n,!(6&(Tl=t))&&Wo()}}function fc(){zl=Fl.current,_o(Fl)}function pc(e,t){e.finishedWork=null,e.finishedLanes=0;var n=e.timeoutHandle;if(-1!==n&&(e.timeoutHandle=-1,oo(n)),null!==Ml)for(n=Ml.return;null!==n;){var r=n;switch(na(r),r.tag){case 1:null!=(r=r.type.childContextTypes)&&Fo();break;case 3:ai(),_o(Ao),_o(To),di();break;case 5:si(r);break;case 4:ai();break;case 13:case 19:_o(li);break;case 10:ka(r.type._context);break;case 22:case 23:fc()}n=n.return}if(Al=e,Ml=e=Fc(e.current,null),Ol=zl=t,jl=0,Dl=null,Nl=Bl=Ll=0,$l=Il=null,null!==Pa){for(t=0;t<Pa.length;t++)if(null!==(r=(n=Pa[t]).interleaved)){n.interleaved=null;var o=r.next,a=n.pending;if(null!==a){var i=a.next;a.next=o,r.next=i}n.pending=r}Pa=null}return e}function hc(e,t){for(;;){var n=Ml;try{if(Sa(),fi.current=is,yi){for(var r=mi.memoizedState;null!==r;){var o=r.queue;null!==o&&(o.pending=null),r=r.next}yi=!1}if(hi=0,gi=vi=mi=null,bi=!1,wi=0,Pl.current=null,null===n||null===n.return){jl=1,Dl=t,Ml=null;break}e:{var i=e,s=n.return,l=n,c=t;if(t=Ol,l.flags|=32768,null!==c&&"object"==typeof c&&"function"==typeof c.then){var u=c,d=l,f=d.tag;if(!(1&d.mode||0!==f&&11!==f&&15!==f)){var p=d.alternate;p?(d.updateQueue=p.updateQueue,d.memoizedState=p.memoizedState,d.lanes=p.lanes):(d.updateQueue=null,d.memoizedState=null)}var h=gs(s);if(null!==h){h.flags&=-257,ys(h,s,l,0,t),1&h.mode&&vs(i,u,t),c=u;var m=(t=h).updateQueue;if(null===m){var v=new Set;v.add(c),t.updateQueue=v}else m.add(c);break e}if(!(1&t)){vs(i,u,t),vc();break e}c=Error(a(426))}else if(aa&&1&l.mode){var g=gs(s);if(null!==g){!(65536&g.flags)&&(g.flags|=256),ys(g,s,l,0,t),ma(us(c,l));break e}}i=c=us(c,l),4!==jl&&(jl=2),null===Il?Il=[i]:Il.push(i),i=s;do{switch(i.tag){case 3:i.flags|=65536,t&=-t,i.lanes|=t,La(i,hs(0,c,t));break e;case 1:l=c;var y=i.type,b=i.stateNode;if(!(128&i.flags||"function"!=typeof y.getDerivedStateFromError&&(null===b||"function"!=typeof b.componentDidCatch||null!==Zl&&Zl.has(b)))){i.flags|=65536,t&=-t,i.lanes|=t,La(i,ms(i,l,t));break e}}i=i.return}while(null!==i)}xc(n)}catch(e){t=e,Ml===n&&null!==n&&(Ml=n=n.return);continue}break}}function mc(){var e=_l.current;return _l.current=is,null===e?is:e}function vc(){0!==jl&&3!==jl&&2!==jl||(jl=4),null===Al||!(268435455&Ll)&&!(268435455&Bl)||lc(Al,Ol)}function gc(e,t){var n=Tl;Tl|=2;var r=mc();for(Al===e&&Ol===t||(Hl=null,pc(e,t));;)try{yc();break}catch(t){hc(e,t)}if(Sa(),Tl=n,_l.current=r,null!==Ml)throw Error(a(261));return Al=null,Ol=0,jl}function yc(){for(;null!==Ml;)wc(Ml)}function bc(){for(;null!==Ml&&!Ke();)wc(Ml)}function wc(e){var t=El(e.alternate,e,zl);e.memoizedProps=e.pendingProps,null===t?xc(e):Ml=t,Pl.current=null}function xc(e){var t=e;do{var n=t.alternate;if(e=t.return,32768&t.flags){if(null!==(n=Ks(n,t)))return n.flags&=32767,void(Ml=n);if(null===e)return jl=6,void(Ml=null);e.flags|=32768,e.subtreeFlags=0,e.deletions=null}else if(null!==(n=Qs(n,t,zl)))return void(Ml=n);if(null!==(t=t.sibling))return void(Ml=t);Ml=t=e}while(null!==t);0===jl&&(jl=5)}function Sc(e,t,n){var r=bt,o=Rl.transition;try{Rl.transition=null,bt=1,function(e,t,n,r){do{kc()}while(null!==Kl);if(6&Tl)throw Error(a(327));n=e.finishedWork;var o=e.finishedLanes;if(null===n)return null;if(e.finishedWork=null,e.finishedLanes=0,n===e.current)throw Error(a(177));e.callbackNode=null,e.callbackPriority=0;var i=n.lanes|n.childLanes;if(function(e,t){var n=e.pendingLanes&~t;e.pendingLanes=t,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=t,e.mutableReadLanes&=t,e.entangledLanes&=t,t=e.entanglements;var r=e.eventTimes;for(e=e.expirationTimes;0<n;){var o=31-it(n),a=1<<o;t[o]=0,r[o]=-1,e[o]=-1,n&=~a}}(e,i),e===Al&&(Ml=Al=null,Ol=0),!(2064&n.subtreeFlags)&&!(2064&n.flags)||Ql||(Ql=!0,Ac(tt,function(){return kc(),null})),i=!!(15990&n.flags),15990&n.subtreeFlags||i){i=Rl.transition,Rl.transition=null;var s=bt;bt=1;var l=Tl;Tl|=4,Pl.current=null,function(e,t){if(eo=Ht,pr(e=fr())){if("selectionStart"in e)var n={start:e.selectionStart,end:e.selectionEnd};else e:{var r=(n=(n=e.ownerDocument)&&n.defaultView||window).getSelection&&n.getSelection();if(r&&0!==r.rangeCount){n=r.anchorNode;var o=r.anchorOffset,i=r.focusNode;r=r.focusOffset;try{n.nodeType,i.nodeType}catch(e){n=null;break e}var s=0,l=-1,c=-1,u=0,d=0,f=e,p=null;t:for(;;){for(var h;f!==n||0!==o&&3!==f.nodeType||(l=s+o),f!==i||0!==r&&3!==f.nodeType||(c=s+r),3===f.nodeType&&(s+=f.nodeValue.length),null!==(h=f.firstChild);)p=f,f=h;for(;;){if(f===e)break t;if(p===n&&++u===o&&(l=s),p===i&&++d===r&&(c=s),null!==(h=f.nextSibling))break;p=(f=p).parentNode}f=h}n=-1===l||-1===c?null:{start:l,end:c}}else n=null}n=n||{start:0,end:0}}else n=null;for(to={focusedElem:e,selectionRange:n},Ht=!1,Js=t;null!==Js;)if(e=(t=Js).child,1028&t.subtreeFlags&&null!==e)e.return=t,Js=e;else for(;null!==Js;){t=Js;try{var m=t.alternate;if(1024&t.flags)switch(t.tag){case 0:case 11:case 15:case 5:case 6:case 4:case 17:break;case 1:if(null!==m){var v=m.memoizedProps,g=m.memoizedState,y=t.stateNode,b=y.getSnapshotBeforeUpdate(t.elementType===t.type?v:ga(t.type,v),g);y.__reactInternalSnapshotBeforeUpdate=b}break;case 3:var w=t.stateNode.containerInfo;1===w.nodeType?w.textContent="":9===w.nodeType&&w.documentElement&&w.removeChild(w.documentElement);break;default:throw Error(a(163))}}catch(e){Cc(t,t.return,e)}if(null!==(e=t.sibling)){e.return=t.return,Js=e;break}Js=t.return}m=nl,nl=!1}(e,n),gl(n,e),hr(to),Ht=!!eo,to=eo=null,e.current=n,bl(n,e,o),Ye(),Tl=l,bt=s,Rl.transition=i}else e.current=n;if(Ql&&(Ql=!1,Kl=e,Yl=o),0===(i=e.pendingLanes)&&(Zl=null),function(e){if(at&&"function"==typeof at.onCommitFiberRoot)try{at.onCommitFiberRoot(ot,e,void 0,!(128&~e.current.flags))}catch(e){}}(n.stateNode),oc(e,Ge()),null!==t)for(r=e.onRecoverableError,n=0;n<t.length;n++)r((o=t[n]).value,{componentStack:o.stack,digest:o.digest});if(Ul)throw Ul=!1,e=ql,ql=null,e;!!(1&Yl)&&0!==e.tag&&kc(),1&(i=e.pendingLanes)?e===Xl?Gl++:(Gl=0,Xl=e):Gl=0,Wo()}(e,t,n,r)}finally{Rl.transition=o,bt=r}return null}function kc(){if(null!==Kl){var e=wt(Yl),t=Rl.transition,n=bt;try{if(Rl.transition=null,bt=16>e?16:e,null===Kl)var r=!1;else{if(e=Kl,Kl=null,Yl=0,6&Tl)throw Error(a(331));var o=Tl;for(Tl|=4,Js=e.current;null!==Js;){var i=Js,s=i.child;if(16&Js.flags){var l=i.deletions;if(null!==l){for(var c=0;c<l.length;c++){var u=l[c];for(Js=u;null!==Js;){var d=Js;switch(d.tag){case 0:case 11:case 15:rl(8,d,i)}var f=d.child;if(null!==f)f.return=d,Js=f;else for(;null!==Js;){var p=(d=Js).sibling,h=d.return;if(il(d),d===u){Js=null;break}if(null!==p){p.return=h,Js=p;break}Js=h}}}var m=i.alternate;if(null!==m){var v=m.child;if(null!==v){m.child=null;do{var g=v.sibling;v.sibling=null,v=g}while(null!==v)}}Js=i}}if(2064&i.subtreeFlags&&null!==s)s.return=i,Js=s;else e:for(;null!==Js;){if(2048&(i=Js).flags)switch(i.tag){case 0:case 11:case 15:rl(9,i,i.return)}var y=i.sibling;if(null!==y){y.return=i.return,Js=y;break e}Js=i.return}}var b=e.current;for(Js=b;null!==Js;){var w=(s=Js).child;if(2064&s.subtreeFlags&&null!==w)w.return=s,Js=w;else e:for(s=b;null!==Js;){if(2048&(l=Js).flags)try{switch(l.tag){case 0:case 11:case 15:ol(9,l)}}catch(e){Cc(l,l.return,e)}if(l===s){Js=null;break e}var x=l.sibling;if(null!==x){x.return=l.return,Js=x;break e}Js=l.return}}if(Tl=o,Wo(),at&&"function"==typeof at.onPostCommitFiberRoot)try{at.onPostCommitFiberRoot(ot,e)}catch(e){}r=!0}return r}finally{bt=n,Rl.transition=t}}return!1}function Ec(e,t,n){e=ja(e,t=hs(0,t=us(n,t),1),1),t=tc(),null!==e&&(gt(e,1,t),oc(e,t))}function Cc(e,t,n){if(3===e.tag)Ec(e,e,n);else for(;null!==t;){if(3===t.tag){Ec(t,e,n);break}if(1===t.tag){var r=t.stateNode;if("function"==typeof t.type.getDerivedStateFromError||"function"==typeof r.componentDidCatch&&(null===Zl||!Zl.has(r))){t=ja(t,e=ms(t,e=us(n,e),1),1),e=tc(),null!==t&&(gt(t,1,e),oc(t,e));break}}t=t.return}}function _c(e,t,n){var r=e.pingCache;null!==r&&r.delete(t),t=tc(),e.pingedLanes|=e.suspendedLanes&n,Al===e&&(Ol&n)===n&&(4===jl||3===jl&&(130023424&Ol)===Ol&&500>Ge()-Vl?pc(e,0):Nl|=n),oc(e,t)}function Pc(e,t){0===t&&(1&e.mode?(t=ut,!(130023424&(ut<<=1))&&(ut=4194304)):t=1);var n=tc();null!==(e=Aa(e,t))&&(gt(e,t,n),oc(e,n))}function Rc(e){var t=e.memoizedState,n=0;null!==t&&(n=t.retryLane),Pc(e,n)}function Tc(e,t){var n=0;switch(e.tag){case 13:var r=e.stateNode,o=e.memoizedState;null!==o&&(n=o.retryLane);break;case 19:r=e.stateNode;break;default:throw Error(a(314))}null!==r&&r.delete(t),Pc(e,n)}function Ac(e,t){return Ze(e,t)}function Mc(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function Oc(e,t,n,r){return new Mc(e,t,n,r)}function zc(e){return!(!(e=e.prototype)||!e.isReactComponent)}function Fc(e,t){var n=e.alternate;return null===n?((n=Oc(e.tag,t,e.key,e.mode)).elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.subtreeFlags=0,n.deletions=null),n.flags=14680064&e.flags,n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=null===t?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n}function jc(e,t,n,r,o,i){var s=2;if(r=e,"function"==typeof e)zc(e)&&(s=1);else if("string"==typeof e)s=5;else e:switch(e){case k:return Dc(n.children,o,i,t);case E:s=8,o|=8;break;case C:return(e=Oc(12,n,t,2|o)).elementType=C,e.lanes=i,e;case T:return(e=Oc(13,n,t,o)).elementType=T,e.lanes=i,e;case A:return(e=Oc(19,n,t,o)).elementType=A,e.lanes=i,e;case z:return Lc(n,o,i,t);default:if("object"==typeof e&&null!==e)switch(e.$$typeof){case _:s=10;break e;case P:s=9;break e;case R:s=11;break e;case M:s=14;break e;case O:s=16,r=null;break e}throw Error(a(130,null==e?e:typeof e,""))}return(t=Oc(s,n,t,o)).elementType=e,t.type=r,t.lanes=i,t}function Dc(e,t,n,r){return(e=Oc(7,e,r,t)).lanes=n,e}function Lc(e,t,n,r){return(e=Oc(22,e,r,t)).elementType=z,e.lanes=n,e.stateNode={isHidden:!1},e}function Bc(e,t,n){return(e=Oc(6,e,null,t)).lanes=n,e}function Nc(e,t,n){return(t=Oc(4,null!==e.children?e.children:[],e.key,t)).lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function Ic(e,t,n,r,o){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=vt(0),this.expirationTimes=vt(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=vt(0),this.identifierPrefix=r,this.onRecoverableError=o,this.mutableSourceEagerHydrationData=null}function $c(e,t,n,r,o,a,i,s,l){return e=new Ic(e,t,n,s,l),1===t?(t=1,!0===a&&(t|=8)):t=0,a=Oc(3,null,null,t),e.current=a,a.stateNode=e,a.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},Oa(a),e}function Vc(e){if(!e)return Ro;e:{if(Ve(e=e._reactInternals)!==e||1!==e.tag)throw Error(a(170));var t=e;do{switch(t.tag){case 3:t=t.stateNode.context;break e;case 1:if(zo(t.type)){t=t.stateNode.__reactInternalMemoizedMergedChildContext;break e}}t=t.return}while(null!==t);throw Error(a(171))}if(1===e.tag){var n=e.type;if(zo(n))return Do(e,n,t)}return t}function Wc(e,t,n,r,o,a,i,s,l){return(e=$c(n,r,!0,e,0,a,0,s,l)).context=Vc(null),n=e.current,(a=Fa(r=tc(),o=nc(n))).callback=null!=t?t:null,ja(n,a,o),e.current.lanes=o,gt(e,o,r),oc(e,r),e}function Hc(e,t,n,r){var o=t.current,a=tc(),i=nc(o);return n=Vc(n),null===t.context?t.context=n:t.pendingContext=n,(t=Fa(a,i)).payload={element:e},null!==(r=void 0===r?null:r)&&(t.callback=r),null!==(e=ja(o,t,i))&&(rc(e,o,i,a),Da(e,o,i)),i}function Uc(e){return(e=e.current).child?(e.child.tag,e.child.stateNode):null}function qc(e,t){if(null!==(e=e.memoizedState)&&null!==e.dehydrated){var n=e.retryLane;e.retryLane=0!==n&&n<t?n:t}}function Zc(e,t){qc(e,t),(e=e.alternate)&&qc(e,t)}El=function(e,t,n){if(null!==e)if(e.memoizedProps!==t.pendingProps||Ao.current)ws=!0;else{if(0===(e.lanes&n)&&!(128&t.flags))return ws=!1,function(e,t,n){switch(t.tag){case 3:As(t),ha();break;case 5:ii(t);break;case 1:zo(t.type)&&Lo(t);break;case 4:oi(t,t.stateNode.containerInfo);break;case 10:var r=t.type._context,o=t.memoizedProps.value;Po(ya,r._currentValue),r._currentValue=o;break;case 13:if(null!==(r=t.memoizedState))return null!==r.dehydrated?(Po(li,1&li.current),t.flags|=128,null):0!==(n&t.child.childLanes)?Bs(e,t,n):(Po(li,1&li.current),null!==(e=Us(e,t,n))?e.sibling:null);Po(li,1&li.current);break;case 19:if(r=0!==(n&t.childLanes),128&e.flags){if(r)return Ws(e,t,n);t.flags|=128}if(null!==(o=t.memoizedState)&&(o.rendering=null,o.tail=null,o.lastEffect=null),Po(li,li.current),r)break;return null;case 22:case 23:return t.lanes=0,Cs(e,t,n)}return Us(e,t,n)}(e,t,n);ws=!!(131072&e.flags)}else ws=!1,aa&&1048576&t.flags&&ea(t,Zo,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;Hs(e,t),e=t.pendingProps;var o=Oo(t,To.current);Ca(t,n),o=Ei(null,t,r,e,o,n);var i=Ci();return t.flags|=1,"object"==typeof o&&null!==o&&"function"==typeof o.render&&void 0===o.$$typeof?(t.tag=1,t.memoizedState=null,t.updateQueue=null,zo(r)?(i=!0,Lo(t)):i=!1,t.memoizedState=null!==o.state&&void 0!==o.state?o.state:null,Oa(t),o.updater=Va,t.stateNode=o,o._reactInternals=t,qa(t,r,e,n),t=Ts(null,t,r,!0,i,n)):(t.tag=0,aa&&i&&ta(t),xs(null,t,o,n),t=t.child),t;case 16:r=t.elementType;e:{switch(Hs(e,t),e=t.pendingProps,r=(o=r._init)(r._payload),t.type=r,o=t.tag=function(e){if("function"==typeof e)return zc(e)?1:0;if(null!=e){if((e=e.$$typeof)===R)return 11;if(e===M)return 14}return 2}(r),e=ga(r,e),o){case 0:t=Ps(null,t,r,e,n);break e;case 1:t=Rs(null,t,r,e,n);break e;case 11:t=Ss(null,t,r,e,n);break e;case 14:t=ks(null,t,r,ga(r.type,e),n);break e}throw Error(a(306,r,""))}return t;case 0:return r=t.type,o=t.pendingProps,Ps(e,t,r,o=t.elementType===r?o:ga(r,o),n);case 1:return r=t.type,o=t.pendingProps,Rs(e,t,r,o=t.elementType===r?o:ga(r,o),n);case 3:e:{if(As(t),null===e)throw Error(a(387));r=t.pendingProps,o=(i=t.memoizedState).element,za(e,t),Ba(t,r,null,n);var s=t.memoizedState;if(r=s.element,i.isDehydrated){if(i={element:r,isDehydrated:!1,cache:s.cache,pendingSuspenseBoundaries:s.pendingSuspenseBoundaries,transitions:s.transitions},t.updateQueue.baseState=i,t.memoizedState=i,256&t.flags){t=Ms(e,t,r,n,o=us(Error(a(423)),t));break e}if(r!==o){t=Ms(e,t,r,n,o=us(Error(a(424)),t));break e}for(oa=co(t.stateNode.containerInfo.firstChild),ra=t,aa=!0,ia=null,n=Xa(t,null,r,n),t.child=n;n;)n.flags=-3&n.flags|4096,n=n.sibling}else{if(ha(),r===o){t=Us(e,t,n);break e}xs(e,t,r,n)}t=t.child}return t;case 5:return ii(t),null===e&&ua(t),r=t.type,o=t.pendingProps,i=null!==e?e.memoizedProps:null,s=o.children,no(r,o)?s=null:null!==i&&no(r,i)&&(t.flags|=32),_s(e,t),xs(e,t,s,n),t.child;case 6:return null===e&&ua(t),null;case 13:return Bs(e,t,n);case 4:return oi(t,t.stateNode.containerInfo),r=t.pendingProps,null===e?t.child=Ga(t,null,r,n):xs(e,t,r,n),t.child;case 11:return r=t.type,o=t.pendingProps,Ss(e,t,r,o=t.elementType===r?o:ga(r,o),n);case 7:return xs(e,t,t.pendingProps,n),t.child;case 8:case 12:return xs(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(r=t.type._context,o=t.pendingProps,i=t.memoizedProps,s=o.value,Po(ya,r._currentValue),r._currentValue=s,null!==i)if(sr(i.value,s)){if(i.children===o.children&&!Ao.current){t=Us(e,t,n);break e}}else for(null!==(i=t.child)&&(i.return=t);null!==i;){var l=i.dependencies;if(null!==l){s=i.child;for(var c=l.firstContext;null!==c;){if(c.context===r){if(1===i.tag){(c=Fa(-1,n&-n)).tag=2;var u=i.updateQueue;if(null!==u){var d=(u=u.shared).pending;null===d?c.next=c:(c.next=d.next,d.next=c),u.pending=c}}i.lanes|=n,null!==(c=i.alternate)&&(c.lanes|=n),Ea(i.return,n,t),l.lanes|=n;break}c=c.next}}else if(10===i.tag)s=i.type===t.type?null:i.child;else if(18===i.tag){if(null===(s=i.return))throw Error(a(341));s.lanes|=n,null!==(l=s.alternate)&&(l.lanes|=n),Ea(s,n,t),s=i.sibling}else s=i.child;if(null!==s)s.return=i;else for(s=i;null!==s;){if(s===t){s=null;break}if(null!==(i=s.sibling)){i.return=s.return,s=i;break}s=s.return}i=s}xs(e,t,o.children,n),t=t.child}return t;case 9:return o=t.type,r=t.pendingProps.children,Ca(t,n),r=r(o=_a(o)),t.flags|=1,xs(e,t,r,n),t.child;case 14:return o=ga(r=t.type,t.pendingProps),ks(e,t,r,o=ga(r.type,o),n);case 15:return Es(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:ga(r,o),Hs(e,t),t.tag=1,zo(r)?(e=!0,Lo(t)):e=!1,Ca(t,n),Ha(t,r,o),qa(t,r,o,n),Ts(null,t,r,!0,e,n);case 19:return Ws(e,t,n);case 22:return Cs(e,t,n)}throw Error(a(156,t.tag))};var Qc="function"==typeof reportError?reportError:function(e){console.error(e)};function Kc(e){this._internalRoot=e}function Yc(e){this._internalRoot=e}function Gc(e){return!(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType)}function Xc(e){return!(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType&&(8!==e.nodeType||" react-mount-point-unstable "!==e.nodeValue))}function Jc(){}function eu(e,t,n,r,o){var a=n._reactRootContainer;if(a){var i=a;if("function"==typeof o){var s=o;o=function(){var e=Uc(i);s.call(e)}}Hc(t,i,e,o)}else i=function(e,t,n,r,o){if(o){if("function"==typeof r){var a=r;r=function(){var e=Uc(i);a.call(e)}}var i=Wc(t,r,e,0,null,!1,0,"",Jc);return e._reactRootContainer=i,e[mo]=i.current,Vr(8===e.nodeType?e.parentNode:e),dc(),i}for(;o=e.lastChild;)e.removeChild(o);if("function"==typeof r){var s=r;r=function(){var e=Uc(l);s.call(e)}}var l=$c(e,0,!1,null,0,!1,0,"",Jc);return e._reactRootContainer=l,e[mo]=l.current,Vr(8===e.nodeType?e.parentNode:e),dc(function(){Hc(t,l,n,r)}),l}(n,t,e,o,r);return Uc(i)}Yc.prototype.render=Kc.prototype.render=function(e){var t=this._internalRoot;if(null===t)throw Error(a(409));Hc(e,t,null,null)},Yc.prototype.unmount=Kc.prototype.unmount=function(){var e=this._internalRoot;if(null!==e){this._internalRoot=null;var t=e.containerInfo;dc(function(){Hc(null,e,null,null)}),t[mo]=null}},Yc.prototype.unstable_scheduleHydration=function(e){if(e){var t=Et();e={blockedOn:null,target:e,priority:t};for(var n=0;n<zt.length&&0!==t&&t<zt[n].priority;n++);zt.splice(n,0,e),0===n&&Lt(e)}},xt=function(e){switch(e.tag){case 3:var t=e.stateNode;if(t.current.memoizedState.isDehydrated){var n=dt(t.pendingLanes);0!==n&&(yt(t,1|n),oc(t,Ge()),!(6&Tl)&&(Wl=Ge()+500,Wo()))}break;case 13:dc(function(){var t=Aa(e,1);if(null!==t){var n=tc();rc(t,e,1,n)}}),Zc(e,1)}},St=function(e){if(13===e.tag){var t=Aa(e,134217728);null!==t&&rc(t,e,134217728,tc()),Zc(e,134217728)}},kt=function(e){if(13===e.tag){var t=nc(e),n=Aa(e,t);null!==n&&rc(n,e,t,tc()),Zc(e,t)}},Et=function(){return bt},Ct=function(e,t){var n=bt;try{return bt=e,t()}finally{bt=n}},Se=function(e,t,n){switch(t){case"input":if(X(e,n),t=n.name,"radio"===n.type&&null!=t){for(n=e;n.parentNode;)n=n.parentNode;for(n=n.querySelectorAll("input[name="+JSON.stringify(""+t)+'][type="radio"]'),t=0;t<n.length;t++){var r=n[t];if(r!==e&&r.form===e.form){var o=So(r);if(!o)throw Error(a(90));Z(r),X(r,o)}}}break;case"textarea":ae(e,n);break;case"select":null!=(t=n.value)&&ne(e,!!n.multiple,t,!1)}},Re=uc,Te=dc;var tu={usingClientEntryPoint:!1,Events:[wo,xo,So,_e,Pe,uc]},nu={findFiberByHostInstance:bo,bundleType:0,version:"18.2.0",rendererPackageName:"react-dom"},ru={bundleType:nu.bundleType,version:nu.version,rendererPackageName:nu.rendererPackageName,rendererConfig:nu.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:w.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return null===(e=Ue(e))?null:e.stateNode},findFiberByHostInstance:nu.findFiberByHostInstance||function(){return null},findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null,reconcilerVersion:"18.2.0-next-9e3b772b8-20220608"};if("undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__){var ou=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!ou.isDisabled&&ou.supportsFiber)try{ot=ou.inject(ru),at=ou}catch(ue){}}t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=tu,t.createPortal=function(e,t){var n=2<arguments.length&&void 0!==arguments[2]?arguments[2]:null;if(!Gc(t))throw Error(a(200));return function(e,t,n){var r=3<arguments.length&&void 0!==arguments[3]?arguments[3]:null;return{$$typeof:S,key:null==r?null:""+r,children:e,containerInfo:t,implementation:n}}(e,t,null,n)},t.createRoot=function(e,t){if(!Gc(e))throw Error(a(299));var n=!1,r="",o=Qc;return null!=t&&(!0===t.unstable_strictMode&&(n=!0),void 0!==t.identifierPrefix&&(r=t.identifierPrefix),void 0!==t.onRecoverableError&&(o=t.onRecoverableError)),t=$c(e,1,!1,null,0,n,0,r,o),e[mo]=t.current,Vr(8===e.nodeType?e.parentNode:e),new Kc(t)},t.findDOMNode=function(e){if(null==e)return null;if(1===e.nodeType)return e;var t=e._reactInternals;if(void 0===t){if("function"==typeof e.render)throw Error(a(188));throw e=Object.keys(e).join(","),Error(a(268,e))}return null===(e=Ue(t))?null:e.stateNode},t.flushSync=function(e){return dc(e)},t.hydrate=function(e,t,n){if(!Xc(t))throw Error(a(200));return eu(null,e,t,!0,n)},t.hydrateRoot=function(e,t,n){if(!Gc(e))throw Error(a(405));var r=null!=n&&n.hydratedSources||null,o=!1,i="",s=Qc;if(null!=n&&(!0===n.unstable_strictMode&&(o=!0),void 0!==n.identifierPrefix&&(i=n.identifierPrefix),void 0!==n.onRecoverableError&&(s=n.onRecoverableError)),t=Wc(t,null,e,1,null!=n?n:null,o,0,i,s),e[mo]=t.current,Vr(e),r)for(e=0;e<r.length;e++)o=(o=(n=r[e])._getVersion)(n._source),null==t.mutableSourceEagerHydrationData?t.mutableSourceEagerHydrationData=[n,o]:t.mutableSourceEagerHydrationData.push(n,o);return new Yc(t)},t.render=function(e,t,n){if(!Xc(t))throw Error(a(200));return eu(null,e,t,!1,n)},t.unmountComponentAtNode=function(e){if(!Xc(e))throw Error(a(40));return!!e._reactRootContainer&&(dc(function(){eu(null,null,e,!1,function(){e._reactRootContainer=null,e[mo]=null})}),!0)},t.unstable_batchedUpdates=uc,t.unstable_renderSubtreeIntoContainer=function(e,t,n,r){if(!Xc(n))throw Error(a(200));if(null==e||void 0===e._reactInternals)throw Error(a(38));return eu(e,t,n,!1,r)},t.version="18.2.0-next-9e3b772b8-20220608"},5338:(e,t,n)=>{"use strict";var r=n(961);t.createRoot=r.createRoot,t.hydrateRoot=r.hydrateRoot},961:(e,t,n)=>{"use strict";!function e(){if("undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE)try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(e){console.error(e)}}(),e.exports=n(2551)},115:e=>{var t="undefined"!=typeof Element,n="function"==typeof Map,r="function"==typeof Set,o="function"==typeof ArrayBuffer&&!!ArrayBuffer.isView;function a(e,i){if(e===i)return!0;if(e&&i&&"object"==typeof e&&"object"==typeof i){if(e.constructor!==i.constructor)return!1;var s,l,c,u;if(Array.isArray(e)){if((s=e.length)!=i.length)return!1;for(l=s;0!==l--;)if(!a(e[l],i[l]))return!1;return!0}if(n&&e instanceof Map&&i instanceof Map){if(e.size!==i.size)return!1;for(u=e.entries();!(l=u.next()).done;)if(!i.has(l.value[0]))return!1;for(u=e.entries();!(l=u.next()).done;)if(!a(l.value[1],i.get(l.value[0])))return!1;return!0}if(r&&e instanceof Set&&i instanceof Set){if(e.size!==i.size)return!1;for(u=e.entries();!(l=u.next()).done;)if(!i.has(l.value[0]))return!1;return!0}if(o&&ArrayBuffer.isView(e)&&ArrayBuffer.isView(i)){if((s=e.length)!=i.length)return!1;for(l=s;0!==l--;)if(e[l]!==i[l])return!1;return!0}if(e.constructor===RegExp)return e.source===i.source&&e.flags===i.flags;if(e.valueOf!==Object.prototype.valueOf&&"function"==typeof e.valueOf&&"function"==typeof i.valueOf)return e.valueOf()===i.valueOf();if(e.toString!==Object.prototype.toString&&"function"==typeof e.toString&&"function"==typeof i.toString)return e.toString()===i.toString();if((s=(c=Object.keys(e)).length)!==Object.keys(i).length)return!1;for(l=s;0!==l--;)if(!Object.prototype.hasOwnProperty.call(i,c[l]))return!1;if(t&&e instanceof Element)return!1;for(l=s;0!==l--;)if(("_owner"!==c[l]&&"__v"!==c[l]&&"__o"!==c[l]||!e.$$typeof)&&!a(e[c[l]],i[c[l]]))return!1;return!0}return e!=e&&i!=i}e.exports=function(e,t){try{return a(e,t)}catch(e){if((e.message||"").match(/stack|recursion/i))return console.warn("react-fast-compare cannot handle circular refs"),!1;throw e}}},1020:(e,t,n)=>{"use strict";var r=n(1993),o=Symbol.for("react.element"),a=Symbol.for("react.fragment"),i=Object.prototype.hasOwnProperty,s=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,l={key:!0,ref:!0,__self:!0,__source:!0};function c(e,t,n){var r,a={},c=null,u=null;for(r in void 0!==n&&(c=""+n),void 0!==t.key&&(c=""+t.key),void 0!==t.ref&&(u=t.ref),t)i.call(t,r)&&!l.hasOwnProperty(r)&&(a[r]=t[r]);if(e&&e.defaultProps)for(r in t=e.defaultProps)void 0===a[r]&&(a[r]=t[r]);return{$$typeof:o,type:e,key:c,ref:u,props:a,_owner:s.current}}t.Fragment=a,t.jsx=c,t.jsxs=c},4848:(e,t,n)=>{"use strict";e.exports=n(1020)},7463:(e,t)=>{"use strict";function n(e,t){var n=e.length;e.push(t);e:for(;0<n;){var r=n-1>>>1,o=e[r];if(!(0<a(o,t)))break e;e[r]=t,e[n]=o,n=r}}function r(e){return 0===e.length?null:e[0]}function o(e){if(0===e.length)return null;var t=e[0],n=e.pop();if(n!==t){e[0]=n;e:for(var r=0,o=e.length,i=o>>>1;r<i;){var s=2*(r+1)-1,l=e[s],c=s+1,u=e[c];if(0>a(l,n))c<o&&0>a(u,l)?(e[r]=u,e[c]=n,r=c):(e[r]=l,e[s]=n,r=s);else{if(!(c<o&&0>a(u,n)))break e;e[r]=u,e[c]=n,r=c}}}return t}function a(e,t){var n=e.sortIndex-t.sortIndex;return 0!==n?n:e.id-t.id}if("object"==typeof performance&&"function"==typeof performance.now){var i=performance;t.unstable_now=function(){return i.now()}}else{var s=Date,l=s.now();t.unstable_now=function(){return s.now()-l}}var c=[],u=[],d=1,f=null,p=3,h=!1,m=!1,v=!1,g="function"==typeof setTimeout?setTimeout:null,y="function"==typeof clearTimeout?clearTimeout:null,b="undefined"!=typeof setImmediate?setImmediate:null;function w(e){for(var t=r(u);null!==t;){if(null===t.callback)o(u);else{if(!(t.startTime<=e))break;o(u),t.sortIndex=t.expirationTime,n(c,t)}t=r(u)}}function x(e){if(v=!1,w(e),!m)if(null!==r(c))m=!0,z(S);else{var t=r(u);null!==t&&F(x,t.startTime-e)}}function S(e,n){m=!1,v&&(v=!1,y(_),_=-1),h=!0;var a=p;try{for(w(n),f=r(c);null!==f&&(!(f.expirationTime>n)||e&&!T());){var i=f.callback;if("function"==typeof i){f.callback=null,p=f.priorityLevel;var s=i(f.expirationTime<=n);n=t.unstable_now(),"function"==typeof s?f.callback=s:f===r(c)&&o(c),w(n)}else o(c);f=r(c)}if(null!==f)var l=!0;else{var d=r(u);null!==d&&F(x,d.startTime-n),l=!1}return l}finally{f=null,p=a,h=!1}}"undefined"!=typeof navigator&&void 0!==navigator.scheduling&&void 0!==navigator.scheduling.isInputPending&&navigator.scheduling.isInputPending.bind(navigator.scheduling);var k,E=!1,C=null,_=-1,P=5,R=-1;function T(){return!(t.unstable_now()-R<P)}function A(){if(null!==C){var e=t.unstable_now();R=e;var n=!0;try{n=C(!0,e)}finally{n?k():(E=!1,C=null)}}else E=!1}if("function"==typeof b)k=function(){b(A)};else if("undefined"!=typeof MessageChannel){var M=new MessageChannel,O=M.port2;M.port1.onmessage=A,k=function(){O.postMessage(null)}}else k=function(){g(A,0)};function z(e){C=e,E||(E=!0,k())}function F(e,n){_=g(function(){e(t.unstable_now())},n)}t.unstable_IdlePriority=5,t.unstable_ImmediatePriority=1,t.unstable_LowPriority=4,t.unstable_NormalPriority=3,t.unstable_Profiling=null,t.unstable_UserBlockingPriority=2,t.unstable_cancelCallback=function(e){e.callback=null},t.unstable_continueExecution=function(){m||h||(m=!0,z(S))},t.unstable_forceFrameRate=function(e){0>e||125<e?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):P=0<e?Math.floor(1e3/e):5},t.unstable_getCurrentPriorityLevel=function(){return p},t.unstable_getFirstCallbackNode=function(){return r(c)},t.unstable_next=function(e){switch(p){case 1:case 2:case 3:var t=3;break;default:t=p}var n=p;p=t;try{return e()}finally{p=n}},t.unstable_pauseExecution=function(){},t.unstable_requestPaint=function(){},t.unstable_runWithPriority=function(e,t){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var n=p;p=e;try{return t()}finally{p=n}},t.unstable_scheduleCallback=function(e,o,a){var i=t.unstable_now();switch(a="object"==typeof a&&null!==a&&"number"==typeof(a=a.delay)&&0<a?i+a:i,e){case 1:var s=-1;break;case 2:s=250;break;case 5:s=1073741823;break;case 4:s=1e4;break;default:s=5e3}return e={id:d++,callback:o,priorityLevel:e,startTime:a,expirationTime:s=a+s,sortIndex:-1},a>i?(e.sortIndex=a,n(u,e),null===r(c)&&e===r(u)&&(v?(y(_),_=-1):v=!0,F(x,a-i))):(e.sortIndex=s,n(c,e),m||h||(m=!0,z(S))),e},t.unstable_shouldYield=T,t.unstable_wrapCallback=function(e){var t=p;return function(){var n=p;p=t;try{return e.apply(this,arguments)}finally{p=n}}}},9982:(e,t,n)=>{"use strict";e.exports=n(7463)},7604:(e,t,n)=>{var r;!function(){"use strict";var o={not_string:/[^s]/,not_bool:/[^t]/,not_type:/[^T]/,not_primitive:/[^v]/,number:/[diefg]/,numeric_arg:/[bcdiefguxX]/,json:/[j]/,not_json:/[^j]/,text:/^[^\x25]+/,modulo:/^\x25{2}/,placeholder:/^\x25(?:([1-9]\d*)\$|\(([^)]+)\))?(\+)?(0|'[^$])?(-)?(\d+)?(?:\.(\d+))?([b-gijostTuvxX])/,key:/^([a-z_][a-z_\d]*)/i,key_access:/^\.([a-z_][a-z_\d]*)/i,index_access:/^\[(\d+)\]/,sign:/^[+-]/};function a(e){return function(e,t){var n,r,i,s,l,c,u,d,f,p=1,h=e.length,m="";for(r=0;r<h;r++)if("string"==typeof e[r])m+=e[r];else if("object"==typeof e[r]){if((s=e[r]).keys)for(n=t[p],i=0;i<s.keys.length;i++){if(null==n)throw new Error(a('[sprintf] Cannot access property "%s" of undefined value "%s"',s.keys[i],s.keys[i-1]));n=n[s.keys[i]]}else n=s.param_no?t[s.param_no]:t[p++];if(o.not_type.test(s.type)&&o.not_primitive.test(s.type)&&n instanceof Function&&(n=n()),o.numeric_arg.test(s.type)&&"number"!=typeof n&&isNaN(n))throw new TypeError(a("[sprintf] expecting number but found %T",n));switch(o.number.test(s.type)&&(d=n>=0),s.type){case"b":n=parseInt(n,10).toString(2);break;case"c":n=String.fromCharCode(parseInt(n,10));break;case"d":case"i":n=parseInt(n,10);break;case"j":n=JSON.stringify(n,null,s.width?parseInt(s.width):0);break;case"e":n=s.precision?parseFloat(n).toExponential(s.precision):parseFloat(n).toExponential();break;case"f":n=s.precision?parseFloat(n).toFixed(s.precision):parseFloat(n);break;case"g":n=s.precision?String(Number(n.toPrecision(s.precision))):parseFloat(n);break;case"o":n=(parseInt(n,10)>>>0).toString(8);break;case"s":n=String(n),n=s.precision?n.substring(0,s.precision):n;break;case"t":n=String(!!n),n=s.precision?n.substring(0,s.precision):n;break;case"T":n=Object.prototype.toString.call(n).slice(8,-1).toLowerCase(),n=s.precision?n.substring(0,s.precision):n;break;case"u":n=parseInt(n,10)>>>0;break;case"v":n=n.valueOf(),n=s.precision?n.substring(0,s.precision):n;break;case"x":n=(parseInt(n,10)>>>0).toString(16);break;case"X":n=(parseInt(n,10)>>>0).toString(16).toUpperCase()}o.json.test(s.type)?m+=n:(!o.number.test(s.type)||d&&!s.sign?f="":(f=d?"+":"-",n=n.toString().replace(o.sign,"")),c=s.pad_char?"0"===s.pad_char?"0":s.pad_char.charAt(1):" ",u=s.width-(f+n).length,l=s.width&&u>0?c.repeat(u):"",m+=s.align?f+n+l:"0"===c?f+l+n:l+f+n)}return m}(function(e){if(s[e])return s[e];for(var t,n=e,r=[],a=0;n;){if(null!==(t=o.text.exec(n)))r.push(t[0]);else if(null!==(t=o.modulo.exec(n)))r.push("%");else{if(null===(t=o.placeholder.exec(n)))throw new SyntaxError("[sprintf] unexpected placeholder");if(t[2]){a|=1;var i=[],l=t[2],c=[];if(null===(c=o.key.exec(l)))throw new SyntaxError("[sprintf] failed to parse named argument key");for(i.push(c[1]);""!==(l=l.substring(c[0].length));)if(null!==(c=o.key_access.exec(l)))i.push(c[1]);else{if(null===(c=o.index_access.exec(l)))throw new SyntaxError("[sprintf] failed to parse named argument key");i.push(c[1])}t[2]=i}else a|=2;if(3===a)throw new Error("[sprintf] mixing positional and named placeholders is not (yet) supported");r.push({placeholder:t[0],param_no:t[1],keys:t[2],sign:t[3],pad_char:t[4],align:t[5],width:t[6],precision:t[7],type:t[8]})}n=n.substring(t[0].length)}return s[e]=r}(e),arguments)}function i(e,t){return a.apply(null,[e].concat(t||[]))}var s=Object.create(null);t.sprintf=a,t.vsprintf=i,"undefined"!=typeof window&&(window.sprintf=a,window.vsprintf=i,void 0===(r=function(){return{sprintf:a,vsprintf:i}}.call(t,n,t,e))||(e.exports=r))}()},8493:(e,t,n)=>{"use strict";var r=n(1993),o="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},a=r.useState,i=r.useEffect,s=r.useLayoutEffect,l=r.useDebugValue;function c(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!o(e,n)}catch(e){return!0}}var u="undefined"==typeof window||void 0===window.document||void 0===window.document.createElement?function(e,t){return t()}:function(e,t){var n=t(),r=a({inst:{value:n,getSnapshot:t}}),o=r[0].inst,u=r[1];return s(function(){o.value=n,o.getSnapshot=t,c(o)&&u({inst:o})},[e,n,t]),i(function(){return c(o)&&u({inst:o}),e(function(){c(o)&&u({inst:o})})},[e]),l(n),n};t.useSyncExternalStore=void 0!==r.useSyncExternalStore?r.useSyncExternalStore:u},9888:(e,t,n)=>{"use strict";e.exports=n(8493)},1993:e=>{e.exports=function(){return this.React}()}},r={};function o(e){var t=r[e];if(void 0!==t)return t.exports;var a=r[e]={id:e,loaded:!1,exports:{}};return n[e](a,a.exports,o),a.loaded=!0,a.exports}o.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return o.d(t,{a:t}),t},t=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,o.t=function(n,r){if(1&r&&(n=this(n)),8&r)return n;if("object"==typeof n&&n){if(4&r&&n.__esModule)return n;if(16&r&&"function"==typeof n.then)return n}var a=Object.create(null);o.r(a);var i={};e=e||[null,t({}),t([]),t(t)];for(var s=2&r&&n;"object"==typeof s&&!~e.indexOf(s);s=t(s))Object.getOwnPropertyNames(s).forEach(e=>i[e]=()=>n[e]);return i.default=()=>n,o.d(a,i),a},o.d=(e,t)=>{for(var n in t)o.o(t,n)&&!o.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},o.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),o.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),o.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},o.nmd=e=>(e.paths=[],e.children||(e.children=[]),e),(()=>{var e;o.g.importScripts&&(e=o.g.location+"");var t=o.g.document;if(!e&&t&&(t.currentScript&&(e=t.currentScript.src),!e)){var n=t.getElementsByTagName("script");if(n.length)for(var r=n.length-1;r>-1&&(!e||!/^http(s?):/.test(e));)e=n[r--].src}if(!e)throw new Error("Automatic publicPath is not supported in this browser");e=e.replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),o.p=e})(),o.nc=void 0;var a={};for(var i in(()=>{"use strict";var e=(e,t)=>e.find(e=>e.id===t);function t(e,t){const r=n(e,t);return{position:r,index:r?e[r].findIndex(e=>e.id===t):-1}}function n(t,n){for(const[r,o]of Object.entries(t))if(e(o,n))return r}function r(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 a=o(1993),i=o.n(a);function s(e,t=[]){const n=(0,a.useRef)(e);return(0,a.useEffect)(()=>{n.current=e}),(0,a.useCallback)((...e)=>{var t;return null==(t=n.current)?void 0:t.call(n,...e)},t)}function l(e,t){const n=(0,a.useRef)(!1),r=(0,a.useRef)(!1);(0,a.useEffect)(()=>{if(n.current&&r.current)return e();r.current=!0},t),(0,a.useEffect)(()=>(n.current=!0,()=>{n.current=!1}),[])}var c=(...e)=>e.filter(Boolean).join(" ");function u(e){const t=typeof e;return null!=e&&("object"===t||"function"===t)&&!Array.isArray(e)}function d(e,...t){return f(e)?e(...t):e}var f=e=>"function"==typeof e,p=e=>e?"":void 0;function h(...e){return function(t){e.some(e=>(null==e||e(t),null==t?void 0:t.defaultPrevented))}}const m=(0,a.createContext)(null);function v(){const e=(0,a.useContext)(m);if(null===e)return[!0,null];const{isPresent:t,onExitComplete:n,register:r}=e,o=(0,a.useId)();return(0,a.useEffect)(()=>r(o),[]),!t&&n?[!1,()=>n&&n(o)]:[!0]}const g=(0,a.createContext)({transformPagePoint:e=>e,isStatic:!1,reducedMotion:"never"}),y=(0,a.createContext)({}),b="undefined"!=typeof document,w=b?a.useLayoutEffect:a.useEffect,x=(0,a.createContext)({strict:!1}),S=e=>e.replace(/([a-z])([A-Z])/gu,"$1-$2").toLowerCase(),k="data-"+S("framerAppearId");class E{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 C=["read","resolveKeyframes","update","preRender","render","postRender"];function _(e,t){let n=!1,r=!0;const o={delta:0,timestamp:0,isProcessing:!1},a=C.reduce((e,t)=>(e[t]=function(e){let t=new E,n=new E,r=0,o=!1,a=!1;const i=new WeakSet,s={schedule:(e,a=!1,s=!1)=>{const l=s&&o,c=l?t:n;return a&&i.add(e),c.add(e)&&l&&o&&(r=t.order.length),e},cancel:e=>{n.remove(e),i.delete(e)},process:l=>{if(o)a=!0;else{if(o=!0,[t,n]=[n,t],n.clear(),r=t.order.length,r)for(let n=0;n<r;n++){const r=t.order[n];i.has(r)&&(s.schedule(r),e()),r(l)}o=!1,a&&(a=!1,s.process(l))}}};return s}(()=>n=!0),e),{}),i=e=>{a[e].process(o)},s=()=>{const a=performance.now();n=!1,o.delta=r?1e3/60:Math.max(Math.min(a-o.timestamp,40),1),o.timestamp=a,o.isProcessing=!0,C.forEach(i),o.isProcessing=!1,n&&t&&(r=!1,e(s))};return{schedule:C.reduce((t,i)=>{const l=a[i];return t[i]=(t,a=!1,i=!1)=>(n||(n=!0,r=!0,o.isProcessing||e(s)),l.schedule(t,a,i)),t},{}),cancel:e=>C.forEach(t=>a[t].cancel(e)),state:o,steps:a}}const{schedule:P,cancel:R}=_(queueMicrotask,!1);function T(e){return e&&"object"==typeof e&&Object.prototype.hasOwnProperty.call(e,"current")}function A(e){return"string"==typeof e||Array.isArray(e)}function M(e){return null!==e&&"object"==typeof e&&"function"==typeof e.start}const O=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],z=["initial",...O];function F(e){return M(e.animate)||z.some(t=>A(e[t]))}function j(e){return Boolean(F(e)||e.variants)}function D(e){return Array.isArray(e)?e.join(" "):e}const L={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"]},B={};for(const e in L)B[e]={isEnabled:t=>L[e].some(e=>!!t[e])};const N=(0,a.createContext)({}),I=(0,a.createContext)({}),$=Symbol.for("motionComponentSymbol");function V({preloadedFeatures:e,createVisualElement:t,useRender:n,useVisualState:r,Component:o}){e&&function(e){for(const t in e)B[t]={...B[t],...e[t]}}(e);const i=(0,a.forwardRef)(function(i,s){let l;const c={...(0,a.useContext)(g),...i,layoutId:W(i)},{isStatic:u}=c,d=function(e){const{initial:t,animate:n}=function(e,t){if(F(e)){const{initial:t,animate:n}=e;return{initial:!1===t||A(t)?t:void 0,animate:A(n)?n:void 0}}return!1!==e.inherit?t:{}}(e,(0,a.useContext)(y));return(0,a.useMemo)(()=>({initial:t,animate:n}),[D(t),D(n)])}(i),f=r(i,u);if(!u&&b){d.visualElement=function(e,t,n,r){const{visualElement:o}=(0,a.useContext)(y),i=(0,a.useContext)(x),s=(0,a.useContext)(m),l=(0,a.useContext)(g).reducedMotion,c=(0,a.useRef)();r=r||i.renderer,!c.current&&r&&(c.current=r(e,{visualState:t,parent:o,props:n,presenceContext:s,blockInitialAnimation:!!s&&!1===s.initial,reducedMotionConfig:l}));const u=c.current;(0,a.useInsertionEffect)(()=>{u&&u.update(n,s)});const d=(0,a.useRef)(Boolean(n[k]&&!window.HandoffComplete));return w(()=>{u&&(P.postRender(u.render),d.current&&u.animationState&&u.animationState.animateChanges())}),(0,a.useEffect)(()=>{u&&(u.updateFeatures(),!d.current&&u.animationState&&u.animationState.animateChanges(),d.current&&(d.current=!1,window.HandoffComplete=!0))}),u}(o,f,c,t);const n=(0,a.useContext)(I),r=(0,a.useContext)(x).strict;d.visualElement&&(l=d.visualElement.loadFeatures(c,r,e,n))}return a.createElement(y.Provider,{value:d},l&&d.visualElement?a.createElement(l,{visualElement:d.visualElement,...c}):null,n(o,i,function(e,t,n){return(0,a.useCallback)(r=>{r&&e.mount&&e.mount(r),t&&(r?t.mount(r):t.unmount()),n&&("function"==typeof n?n(r):T(n)&&(n.current=r))},[t])}(f,d.visualElement,s),f,u,d.visualElement))});return i[$]=o,i}function W({layoutId:e}){const t=(0,a.useContext)(N).id;return t&&void 0!==e?t+"-"+e:e}function H(e){function t(t,n={}){return V(e(t,n))}if("undefined"==typeof Proxy)return t;const n=new Map;return new Proxy(t,{get:(e,r)=>(n.has(r)||n.set(r,t(r)),n.get(r))})}const U=["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 q(e){return"string"==typeof e&&!e.includes("-")&&!!(U.indexOf(e)>-1||/[A-Z]/u.test(e))}const Z={},Q=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],K=new Set(Q);function Y(e,{layout:t,layoutId:n}){return K.has(e)||e.startsWith("origin")||(t||void 0!==n)&&(!!Z[e]||"opacity"===e)}const G=e=>Boolean(e&&e.getVelocity),X={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},J=Q.length,ee=e=>t=>"string"==typeof t&&t.startsWith(e),te=ee("--"),ne=ee("var(--"),re=e=>!!ne(e)&&oe.test(e.split("/*")[0].trim()),oe=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu,ae=(e,t)=>t&&"number"==typeof e?t.transform(e):e,ie=(e,t,n)=>n>t?t:n<e?e:n,se={test:e=>"number"==typeof e,parse:parseFloat,transform:e=>e},le={...se,transform:e=>ie(0,1,e)},ce={...se,default:1},ue=e=>Math.round(1e5*e)/1e5,de=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu,fe=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu,pe=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu;function he(e){return"string"==typeof e}const me=e=>({test:t=>he(t)&&t.endsWith(e)&&1===t.split(" ").length,parse:parseFloat,transform:t=>`${t}${e}`}),ve=me("deg"),ge=me("%"),ye=me("px"),be=me("vh"),we=me("vw"),xe={...ge,parse:e=>ge.parse(e)/100,transform:e=>ge.transform(100*e)},Se={...se,transform:Math.round},ke={borderWidth:ye,borderTopWidth:ye,borderRightWidth:ye,borderBottomWidth:ye,borderLeftWidth:ye,borderRadius:ye,radius:ye,borderTopLeftRadius:ye,borderTopRightRadius:ye,borderBottomRightRadius:ye,borderBottomLeftRadius:ye,width:ye,maxWidth:ye,height:ye,maxHeight:ye,size:ye,top:ye,right:ye,bottom:ye,left:ye,padding:ye,paddingTop:ye,paddingRight:ye,paddingBottom:ye,paddingLeft:ye,margin:ye,marginTop:ye,marginRight:ye,marginBottom:ye,marginLeft:ye,rotate:ve,rotateX:ve,rotateY:ve,rotateZ:ve,scale:ce,scaleX:ce,scaleY:ce,scaleZ:ce,skew:ve,skewX:ve,skewY:ve,distance:ye,translateX:ye,translateY:ye,translateZ:ye,x:ye,y:ye,z:ye,perspective:ye,transformPerspective:ye,opacity:le,originX:xe,originY:xe,originZ:ye,zIndex:Se,backgroundPositionX:ye,backgroundPositionY:ye,fillOpacity:le,strokeOpacity:le,numOctaves:Se};function Ee(e,t,n,r){const{style:o,vars:a,transform:i,transformOrigin:s}=e;let l=!1,c=!1,u=!0;for(const e in t){const n=t[e];if(te(e)){a[e]=n;continue}const r=ke[e],d=ae(n,r);if(K.has(e)){if(l=!0,i[e]=d,!u)continue;n!==(r.default||0)&&(u=!1)}else e.startsWith("origin")?(c=!0,s[e]=d):o[e]=d}if(t.transform||(l||r?o.transform=function(e,{enableHardwareAcceleration:t=!0,allowTransformNone:n=!0},r,o){let a="";for(let t=0;t<J;t++){const n=Q[t];void 0!==e[n]&&(a+=`${X[n]||n}(${e[n]}) `)}return t&&!e.z&&(a+="translateZ(0)"),a=a.trim(),o?a=o(e,r?"":a):n&&r&&(a="none"),a}(e.transform,n,u,r):o.transform&&(o.transform="none")),c){const{originX:e="50%",originY:t="50%",originZ:n=0}=s;o.transformOrigin=`${e} ${t} ${n}`}}function Ce(e,t,n){for(const r in t)G(t[r])||Y(r,n)||(e[r]=t[r])}function _e(e,t,n){const r={},o=function(e,t,n){const r={};return Ce(r,e.style||{},e),Object.assign(r,function({transformTemplate:e},t,n){return(0,a.useMemo)(()=>{const r={style:{},transform:{},transformOrigin:{},vars:{}};return Ee(r,t,{enableHardwareAcceleration:!n},e),Object.assign({},r.vars,r.style)},[t])}(e,t,n)),r}(e,t,n);return e.drag&&!1!==e.dragListener&&(r.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)&&(r.tabIndex=0),r.style=o,r}const Pe=new Set(["animate","exit","variants","initial","style","values","variants","transition","transformTemplate","custom","inherit","onBeforeLayoutMeasure","onAnimationStart","onAnimationComplete","onUpdate","onDragStart","onDrag","onDragEnd","onMeasureDragConstraints","onDirectionLock","onDragTransitionEnd","_dragX","_dragY","onHoverStart","onHoverEnd","onViewportEnter","onViewportLeave","globalTapTarget","ignoreStrict","viewport"]);function Re(e){return e.startsWith("while")||e.startsWith("drag")&&"draggable"!==e||e.startsWith("layout")||e.startsWith("onTap")||e.startsWith("onPan")||e.startsWith("onLayout")||Pe.has(e)}let Te=e=>!Re(e);try{(Ae=require("@emotion/is-prop-valid").default)&&(Te=e=>e.startsWith("on")?!Re(e):Ae(e))}catch(xc){}var Ae;function Me(e,t,n){return"string"==typeof e?e:ye.transform(t+n*e)}const Oe={offset:"stroke-dashoffset",array:"stroke-dasharray"},ze={offset:"strokeDashoffset",array:"strokeDasharray"};function Fe(e,{attrX:t,attrY:n,attrScale:r,originX:o,originY:a,pathLength:i,pathSpacing:s=1,pathOffset:l=0,...c},u,d,f){if(Ee(e,c,u,f),d)return void(e.style.viewBox&&(e.attrs.viewBox=e.style.viewBox));e.attrs=e.style,e.style={};const{attrs:p,style:h,dimensions:m}=e;p.transform&&(m&&(h.transform=p.transform),delete p.transform),m&&(void 0!==o||void 0!==a||h.transform)&&(h.transformOrigin=function(e,t,n){return`${Me(t,e.x,e.width)} ${Me(n,e.y,e.height)}`}(m,void 0!==o?o:.5,void 0!==a?a:.5)),void 0!==t&&(p.x=t),void 0!==n&&(p.y=n),void 0!==r&&(p.scale=r),void 0!==i&&function(e,t,n=1,r=0,o=!0){e.pathLength=1;const a=o?Oe:ze;e[a.offset]=ye.transform(-r);const i=ye.transform(t),s=ye.transform(n);e[a.array]=`${i} ${s}`}(p,i,s,l,!1)}const je=e=>"string"==typeof e&&"svg"===e.toLowerCase();function De(e,t,n,r){const o=(0,a.useMemo)(()=>{const n={style:{},transform:{},transformOrigin:{},vars:{},attrs:{}};return Fe(n,t,{enableHardwareAcceleration:!1},je(r),e.transformTemplate),{...n.attrs,style:{...n.style}}},[t]);if(e.style){const t={};Ce(t,e.style,e),o.style={...t,...o.style}}return o}function Le(e=!1){return(t,n,r,{latestValues:o},i)=>{const s=(q(t)?De:_e)(n,o,i,t),l=function(e,t,n){const r={};for(const o in e)"values"===o&&"object"==typeof e.values||(Te(o)||!0===n&&Re(o)||!t&&!Re(o)||e.draggable&&o.startsWith("onDrag"))&&(r[o]=e[o]);return r}(n,"string"==typeof t,e),c=t!==a.Fragment?{...l,...s,ref:r}:{},{children:u}=n,d=(0,a.useMemo)(()=>G(u)?u.get():u,[u]);return(0,a.createElement)(t,{...c,children:d})}}function Be(e,{style:t,vars:n},r,o){Object.assign(e.style,t,o&&o.getProjectionStyles(r));for(const t in n)e.style.setProperty(t,n[t])}const Ne=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 Ie(e,t,n,r){Be(e,t,void 0,r);for(const n in t.attrs)e.setAttribute(Ne.has(n)?n:S(n),t.attrs[n])}function $e(e,t){const{style:n}=e,r={};for(const o in n)(G(n[o])||t.style&&G(t.style[o])||Y(o,e))&&(r[o]=n[o]);return r}function Ve(e,t){const n=$e(e,t);for(const r in e)(G(e[r])||G(t[r]))&&(n[-1!==Q.indexOf(r)?"attr"+r.charAt(0).toUpperCase()+r.substring(1):r]=e[r]);return n}function We(e,t,n,r={},o={}){return"function"==typeof t&&(t=t(void 0!==n?n:e.custom,r,o)),"string"==typeof t&&(t=e.variants&&e.variants[t]),"function"==typeof t&&(t=t(void 0!==n?n:e.custom,r,o)),t}function He(e){const t=(0,a.useRef)(null);return null===t.current&&(t.current=e()),t.current}const Ue=e=>Array.isArray(e),qe=e=>Ue(e)?e[e.length-1]||0:e;function Ze(e){const t=G(e)?e.get():e;return n=t,Boolean(n&&"object"==typeof n&&n.mix&&n.toValue)?t.toValue():t;var n}const Qe=e=>(t,n)=>{const r=(0,a.useContext)(y),o=(0,a.useContext)(m),i=()=>function({scrapeMotionValuesFromProps:e,createRenderState:t,onMount:n},r,o,a){const i={latestValues:Ke(r,o,a,e),renderState:t()};return n&&(i.mount=e=>n(r,e,i)),i}(e,t,r,o);return n?i():He(i)};function Ke(e,t,n,r){const o={},a=r(e,{});for(const e in a)o[e]=Ze(a[e]);let{initial:i,animate:s}=e;const l=F(e),c=j(e);t&&c&&!l&&!1!==e.inherit&&(void 0===i&&(i=t.initial),void 0===s&&(s=t.animate));let u=!!n&&!1===n.initial;u=u||!1===i;const d=u?s:i;return d&&"boolean"!=typeof d&&!M(d)&&(Array.isArray(d)?d:[d]).forEach(t=>{const n=We(e,t);if(!n)return;const{transitionEnd:r,transition:a,...i}=n;for(const e in i){let t=i[e];Array.isArray(t)&&(t=t[u?t.length-1:0]),null!==t&&(o[e]=t)}for(const e in r)o[e]=r[e]}),o}const Ye=e=>e,{schedule:Ge,cancel:Xe,state:Je,steps:et}=_("undefined"!=typeof requestAnimationFrame?requestAnimationFrame:Ye,!0),tt={useVisualState:Qe({scrapeMotionValuesFromProps:Ve,createRenderState:()=>({style:{},transform:{},transformOrigin:{},vars:{},attrs:{}}),onMount:(e,t,{renderState:n,latestValues:r})=>{Ge.read(()=>{try{n.dimensions="function"==typeof t.getBBox?t.getBBox():t.getBoundingClientRect()}catch(e){n.dimensions={x:0,y:0,width:0,height:0}}}),Ge.render(()=>{Fe(n,r,{enableHardwareAcceleration:!1},je(t.tagName),e.transformTemplate),Ie(t,n)})}})},nt={useVisualState:Qe({scrapeMotionValuesFromProps:$e,createRenderState:()=>({style:{},transform:{},transformOrigin:{},vars:{}})})};function rt(e,t,n,r={passive:!0}){return e.addEventListener(t,n,r),()=>e.removeEventListener(t,n)}const ot=e=>"mouse"===e.pointerType?"number"!=typeof e.button||e.button<=0:!1!==e.isPrimary;function at(e,t="page"){return{point:{x:e[t+"X"],y:e[t+"Y"]}}}function it(e,t,n,r){return rt(e,t,(e=>t=>ot(t)&&e(t,at(t)))(n),r)}const st=(e,t)=>n=>t(e(n)),lt=(...e)=>e.reduce(st);function ct(e){let t=null;return()=>null===t&&(t=e,()=>{t=null})}const ut=ct("dragHorizontal"),dt=ct("dragVertical");function ft(e){let t=!1;if("y"===e)t=dt();else if("x"===e)t=ut();else{const e=ut(),n=dt();e&&n?t=()=>{e(),n()}:(e&&e(),n&&n())}return t}function pt(){const e=ft(!0);return!e||(e(),!1)}class ht{constructor(e){this.isMounted=!1,this.node=e}update(){}}function mt(e,t){const n="pointer"+(t?"enter":"leave"),r="onHover"+(t?"Start":"End");return it(e.current,n,(n,o)=>{if("touch"===n.pointerType||pt())return;const a=e.getProps();e.animationState&&a.whileHover&&e.animationState.setActive("whileHover",t),a[r]&&a[r](n,o)},{passive:!e.getProps()[r]})}const vt=(e,t)=>!!t&&(e===t||vt(e,t.parentElement));function gt(e,t){if(!t)return;const n=new PointerEvent("pointer"+e);t(n,at(n))}const yt=new WeakMap,bt=new WeakMap,wt=e=>{const t=yt.get(e.target);t&&t(e)},xt=e=>{e.forEach(wt)};const St={some:0,all:1},kt={inView:{Feature:class extends ht{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){this.unmount();const{viewport:e={}}=this.node.getProps(),{root:t,margin:n,amount:r="some",once:o}=e,a={root:t?t.current:void 0,rootMargin:n,threshold:"number"==typeof r?r:St[r]};return function(e,t,n){const r=function({root:e,...t}){const n=e||document;bt.has(n)||bt.set(n,{});const r=bt.get(n),o=JSON.stringify(t);return r[o]||(r[o]=new IntersectionObserver(xt,{root:e,...t})),r[o]}(t);return yt.set(e,n),r.observe(e),()=>{yt.delete(e),r.unobserve(e)}}(this.node.current,a,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:n,onViewportLeave:r}=this.node.getProps(),a=t?n:r;a&&a(e)})}mount(){this.startObserver()}update(){if("undefined"==typeof IntersectionObserver)return;const{props:e,prevProps:t}=this.node,n=["amount","margin","root"].some(function({viewport:e={}},{viewport:t={}}={}){return n=>e[n]!==t[n]}(e,t));n&&this.startObserver()}unmount(){}}},tap:{Feature:class extends ht{constructor(){super(...arguments),this.removeStartListeners=Ye,this.removeEndListeners=Ye,this.removeAccessibleListeners=Ye,this.startPointerPress=(e,t)=>{if(this.isPressing)return;this.removeEndListeners();const n=this.node.getProps(),r=it(window,"pointerup",(e,t)=>{if(!this.checkPressEnd())return;const{onTap:n,onTapCancel:r,globalTapTarget:o}=this.node.getProps();o||vt(this.node.current,e.target)?n&&n(e,t):r&&r(e,t)},{passive:!(n.onTap||n.onPointerUp)}),o=it(window,"pointercancel",(e,t)=>this.cancelPress(e,t),{passive:!(n.onTapCancel||n.onPointerCancel)});this.removeEndListeners=lt(r,o),this.startPress(e,t)},this.startAccessiblePress=()=>{const e=rt(this.node.current,"keydown",e=>{"Enter"!==e.key||this.isPressing||(this.removeEndListeners(),this.removeEndListeners=rt(this.node.current,"keyup",e=>{"Enter"===e.key&&this.checkPressEnd()&>("up",(e,t)=>{const{onTap:n}=this.node.getProps();n&&n(e,t)})}),gt("down",(e,t)=>{this.startPress(e,t)}))}),t=rt(this.node.current,"blur",()=>{this.isPressing&>("cancel",(e,t)=>this.cancelPress(e,t))});this.removeAccessibleListeners=lt(e,t)}}startPress(e,t){this.isPressing=!0;const{onTapStart:n,whileTap:r}=this.node.getProps();r&&this.node.animationState&&this.node.animationState.setActive("whileTap",!0),n&&n(e,t)}checkPressEnd(){return this.removeEndListeners(),this.isPressing=!1,this.node.getProps().whileTap&&this.node.animationState&&this.node.animationState.setActive("whileTap",!1),!pt()}cancelPress(e,t){if(!this.checkPressEnd())return;const{onTapCancel:n}=this.node.getProps();n&&n(e,t)}mount(){const e=this.node.getProps(),t=it(e.globalTapTarget?window:this.node.current,"pointerdown",this.startPointerPress,{passive:!(e.onTapStart||e.onPointerStart)}),n=rt(this.node.current,"focus",this.startAccessiblePress);this.removeStartListeners=lt(t,n)}unmount(){this.removeStartListeners(),this.removeEndListeners(),this.removeAccessibleListeners()}}},focus:{Feature:class extends ht{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=lt(rt(this.node.current,"focus",()=>this.onFocus()),rt(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}},hover:{Feature:class extends ht{mount(){this.unmount=lt(mt(this.node,!0),mt(this.node,!1))}unmount(){}}}};function Et(e,t){if(!Array.isArray(t))return!1;const n=t.length;if(n!==e.length)return!1;for(let r=0;r<n;r++)if(t[r]!==e[r])return!1;return!0}function Ct(e,t,n){const r=e.getProps();return We(r,t,void 0!==n?n:r.custom,function(e){const t={};return e.values.forEach((e,n)=>t[n]=e.get()),t}(e),function(e){const t={};return e.values.forEach((e,n)=>t[n]=e.getVelocity()),t}(e))}const _t=e=>1e3*e,Pt=e=>e/1e3,Rt={type:"spring",stiffness:500,damping:25,restSpeed:10},Tt={type:"keyframes",duration:.8},At={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},Mt=(e,{keyframes:t})=>t.length>2?Tt:K.has(e)?e.startsWith("scale")?{type:"spring",stiffness:550,damping:0===t[1]?2*Math.sqrt(550):30,restSpeed:10}:Rt:At;function Ot(e,t){return e[t]||e.default||e}const zt=e=>null!==e;function Ft(e,{repeat:t,repeatType:n="loop"},r){const o=e.filter(zt),a=t&&"loop"!==n&&t%2==1?0:o.length-1;return a&&void 0!==r?r:o[a]}let jt;function Dt(){jt=void 0}const Lt={now:()=>(void 0===jt&&Lt.set(Je.isProcessing?Je.timestamp:performance.now()),jt),set:e=>{jt=e,queueMicrotask(Dt)}},Bt=e=>/^0[^.\s]+$/u.test(e);function Nt(e){return"number"==typeof e?0===e:null===e||"none"===e||"0"===e||Bt(e)}let It=Ye,$t=Ye;const Vt=e=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(e),Wt=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;function Ht(e,t,n=1){$t(n<=4,`Max CSS variable fallback depth detected in property "${e}". This may indicate a circular fallback dependency.`);const[r,o]=function(e){const t=Wt.exec(e);if(!t)return[,];const[,n,r,o]=t;return[`--${null!=n?n:r}`,o]}(e);if(!r)return;const a=window.getComputedStyle(t).getPropertyValue(r);if(a){const e=a.trim();return Vt(e)?parseFloat(e):e}return re(o)?Ht(o,t,n+1):o}const Ut=new Set(["width","height","top","left","right","bottom","x","y","translateX","translateY"]),qt=e=>e===se||e===ye,Zt=(e,t)=>parseFloat(e.split(", ")[t]),Qt=(e,t)=>(n,{transform:r})=>{if("none"===r||!r)return 0;const o=r.match(/^matrix3d\((.+)\)$/u);if(o)return Zt(o[1],t);{const t=r.match(/^matrix\((.+)\)$/u);return t?Zt(t[1],e):0}},Kt=new Set(["x","y","z"]),Yt=Q.filter(e=>!Kt.has(e));function Gt(e){const t=[];return Yt.forEach(n=>{const r=e.getValue(n);void 0!==r&&(t.push([n,r.get()]),r.set(n.startsWith("scale")?1:0))}),t}const Xt={width:({x:e},{paddingLeft:t="0",paddingRight:n="0"})=>e.max-e.min-parseFloat(t)-parseFloat(n),height:({y:e},{paddingTop:t="0",paddingBottom:n="0"})=>e.max-e.min-parseFloat(t)-parseFloat(n),top:(e,{top:t})=>parseFloat(t),left:(e,{left:t})=>parseFloat(t),bottom:({y:e},{top:t})=>parseFloat(t)+(e.max-e.min),right:({x:e},{left:t})=>parseFloat(t)+(e.max-e.min),x:Qt(4,13),y:Qt(5,14)};Xt.translateX=Xt.x,Xt.translateY=Xt.y;const Jt=e=>t=>t.test(e),en=[se,ye,ge,ve,we,be,{test:e=>"auto"===e,parse:e=>e}],tn=e=>en.find(Jt(e)),nn=new Set;let rn=!1,on=!1;function an(){if(on){const e=Array.from(nn).filter(e=>e.needsMeasurement),t=new Set(e.map(e=>e.element)),n=new Map;t.forEach(e=>{Gt(e).length&&(n.set(e,Gt(e)),e.render())}),e.forEach(e=>e.measureInitialState()),t.forEach(e=>{e.render()}),e.forEach(e=>e.measureEndState()),e.forEach(e=>{void 0!==e.suspendedScrollY&&window.scrollTo(0,e.suspendedScrollY)})}on=!1,rn=!1,nn.forEach(e=>e.complete()),nn.clear()}function sn(){nn.forEach(e=>{e.readKeyframes(),e.needsMeasurement&&(on=!0)})}class ln{constructor(e,t,n,r,o,a=!1){this.isComplete=!1,this.isAsync=!1,this.needsMeasurement=!1,this.isScheduled=!1,this.unresolvedKeyframes=[...e],this.onComplete=t,this.name=n,this.motionValue=r,this.element=o,this.isAsync=a}scheduleResolve(){this.isScheduled=!0,this.isAsync?(nn.add(this),rn||(rn=!0,Ge.read(sn),Ge.resolveKeyframes(an))):(this.readKeyframes(),this.complete())}readKeyframes(){const{unresolvedKeyframes:e,name:t,element:n,motionValue:r}=this;for(let o=0;o<e.length;o++)if(null===e[o])if(0===o){const o=null==r?void 0:r.get(),a=e[e.length-1];if(void 0!==o)e[0]=o;else if(n&&t){const r=n.readValue(t,a);null!=r&&(e[0]=r)}void 0===e[0]&&(e[0]=a),r&&void 0===o&&r.set(e[0])}else e[o]=e[o-1]}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(){this.isComplete=!0,this.onComplete(this.unresolvedKeyframes,this.finalKeyframe),nn.delete(this)}cancel(){this.isComplete||(this.isScheduled=!1,nn.delete(this))}resume(){this.isComplete||this.scheduleResolve()}}const cn=(e,t)=>n=>Boolean(he(n)&&pe.test(n)&&n.startsWith(e)||t&&Object.prototype.hasOwnProperty.call(n,t)),un=(e,t,n)=>r=>{if(!he(r))return r;const[o,a,i,s]=r.match(de);return{[e]:parseFloat(o),[t]:parseFloat(a),[n]:parseFloat(i),alpha:void 0!==s?parseFloat(s):1}},dn={...se,transform:e=>Math.round((e=>ie(0,255,e))(e))},fn={test:cn("rgb","red"),parse:un("red","green","blue"),transform:({red:e,green:t,blue:n,alpha:r=1})=>"rgba("+dn.transform(e)+", "+dn.transform(t)+", "+dn.transform(n)+", "+ue(le.transform(r))+")"},pn={test:cn("#"),parse:function(e){let t="",n="",r="",o="";return e.length>5?(t=e.substring(1,3),n=e.substring(3,5),r=e.substring(5,7),o=e.substring(7,9)):(t=e.substring(1,2),n=e.substring(2,3),r=e.substring(3,4),o=e.substring(4,5),t+=t,n+=n,r+=r,o+=o),{red:parseInt(t,16),green:parseInt(n,16),blue:parseInt(r,16),alpha:o?parseInt(o,16)/255:1}},transform:fn.transform},hn={test:cn("hsl","hue"),parse:un("hue","saturation","lightness"),transform:({hue:e,saturation:t,lightness:n,alpha:r=1})=>"hsla("+Math.round(e)+", "+ge.transform(ue(t))+", "+ge.transform(ue(n))+", "+ue(le.transform(r))+")"},mn={test:e=>fn.test(e)||pn.test(e)||hn.test(e),parse:e=>fn.test(e)?fn.parse(e):hn.test(e)?hn.parse(e):pn.parse(e),transform:e=>he(e)?e:e.hasOwnProperty("red")?fn.transform(e):hn.transform(e)},vn="number",gn="color",yn=/var\s*\(\s*--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)|#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\)|-?(?:\d+(?:\.\d+)?|\.\d+)/giu;function bn(e){const t=e.toString(),n=[],r={color:[],number:[],var:[]},o=[];let a=0;const i=t.replace(yn,e=>(mn.test(e)?(r.color.push(a),o.push(gn),n.push(mn.parse(e))):e.startsWith("var(")?(r.var.push(a),o.push("var"),n.push(e)):(r.number.push(a),o.push(vn),n.push(parseFloat(e))),++a,"${}")).split("${}");return{values:n,split:i,indexes:r,types:o}}function wn(e){return bn(e).values}function xn(e){const{split:t,types:n}=bn(e),r=t.length;return e=>{let o="";for(let a=0;a<r;a++)if(o+=t[a],void 0!==e[a]){const t=n[a];o+=t===vn?ue(e[a]):t===gn?mn.transform(e[a]):e[a]}return o}}const Sn=e=>"number"==typeof e?0:e,kn={test:function(e){var t,n;return isNaN(e)&&he(e)&&((null===(t=e.match(de))||void 0===t?void 0:t.length)||0)+((null===(n=e.match(fe))||void 0===n?void 0:n.length)||0)>0},parse:wn,createTransformer:xn,getAnimatableNone:function(e){const t=wn(e);return xn(e)(t.map(Sn))}},En=new Set(["brightness","contrast","saturate","opacity"]);function Cn(e){const[t,n]=e.slice(0,-1).split("(");if("drop-shadow"===t)return e;const[r]=n.match(de)||[];if(!r)return e;const o=n.replace(r,"");let a=En.has(t)?1:0;return r!==n&&(a*=100),t+"("+a+o+")"}const _n=/\b([a-z-]*)\(.*?\)/gu,Pn={...kn,getAnimatableNone:e=>{const t=e.match(_n);return t?t.map(Cn).join(" "):e}},Rn={...ke,color:mn,backgroundColor:mn,outlineColor:mn,fill:mn,stroke:mn,borderColor:mn,borderTopColor:mn,borderRightColor:mn,borderBottomColor:mn,borderLeftColor:mn,filter:Pn,WebkitFilter:Pn},Tn=e=>Rn[e];function An(e,t){let n=Tn(e);return n!==Pn&&(n=kn),n.getAnimatableNone?n.getAnimatableNone(t):void 0}class Mn extends ln{constructor(e,t,n,r){super(e,t,n,r,null==r?void 0:r.owner,!0)}readKeyframes(){const{unresolvedKeyframes:e,element:t,name:n}=this;if(!t.current)return;super.readKeyframes();for(let n=0;n<e.length;n++){const r=e[n];if("string"==typeof r&&re(r)){const o=Ht(r,t.current);void 0!==o&&(e[n]=o)}}if(!Ut.has(n)||2!==e.length)return this.resolveNoneKeyframes();const[r,o]=e,a=tn(r),i=tn(o);if(a!==i)if(qt(a)&&qt(i))for(let t=0;t<e.length;t++){const n=e[t];"string"==typeof n&&(e[t]=parseFloat(n))}else this.needsMeasurement=!0}resolveNoneKeyframes(){const{unresolvedKeyframes:e,name:t}=this,n=[];for(let t=0;t<e.length;t++)Nt(e[t])&&n.push(t);n.length&&function(e,t,n){let r,o=0;for(;o<e.length&&!r;)"string"==typeof e[o]&&"none"!==e[o]&&"0"!==e[o]&&(r=e[o]),o++;if(r&&n)for(const o of t)e[o]=An(n,r)}(e,n,t)}measureInitialState(){const{element:e,unresolvedKeyframes:t,name:n}=this;if(!e.current)return;"height"===n&&(this.suspendedScrollY=window.pageYOffset),this.measuredOrigin=Xt[n](e.measureViewportBox(),window.getComputedStyle(e.current)),t[0]=this.measuredOrigin;const r=t[t.length-1];void 0!==r&&e.getValue(n,r).jump(r,!1)}measureEndState(){var e;const{element:t,name:n,unresolvedKeyframes:r}=this;if(!t.current)return;const o=t.getValue(n);o&&o.jump(this.measuredOrigin,!1);const a=r.length-1,i=r[a];r[a]=Xt[n](t.measureViewportBox(),window.getComputedStyle(t.current)),null!==i&&(this.finalKeyframe=i),(null===(e=this.removedTransforms)||void 0===e?void 0:e.length)&&this.removedTransforms.forEach(([e,n])=>{t.getValue(e).set(n)}),this.resolveNoneKeyframes()}}const On=(e,t)=>!("zIndex"===t||"number"!=typeof e&&!Array.isArray(e)&&("string"!=typeof e||!kn.test(e)&&"0"!==e||e.startsWith("url(")));class zn{constructor({autoplay:e=!0,delay:t=0,type:n="keyframes",repeat:r=0,repeatDelay:o=0,repeatType:a="loop",...i}){this.isStopped=!1,this.options={autoplay:e,delay:t,type:n,repeat:r,repeatDelay:o,repeatType:a,...i},this.updateFinishedPromise()}get resolved(){return this._resolved||(sn(),an()),this._resolved}onKeyframesResolved(e,t){const{name:n,type:r,velocity:o,delay:a,onComplete:i,onUpdate:s}=this.options;if(!function(e,t,n,r){const o=e[0];if(null===o)return!1;const a=e[e.length-1],i=On(o,t),s=On(a,t);return It(i===s,`You are trying to animate ${t} from "${o}" to "${a}". ${o} is not an animatable value - to enable this animation set ${o} to a value animatable to ${a} via the \`style\` property.`),!(!i||!s)&&(function(e){const t=e[0];if(1===e.length)return!0;for(let n=0;n<e.length;n++)if(e[n]!==t)return!0}(e)||"spring"===n&&r)}(e,n,r,o)){if(!a)return null==s||s(Ft(e,this.options,t)),null==i||i(),void this.resolveFinishedPromise();this.options.duration=0}const l=this.initPlayback(e,t);!1!==l&&(this._resolved={keyframes:e,finalKeyframe:t,...l},this.onPostResolved())}onPostResolved(){}then(e,t){return this.currentFinishedPromise.then(e,t)}updateFinishedPromise(){this.currentFinishedPromise=new Promise(e=>{this.resolveFinishedPromise=e})}}function Fn(e,t){return t?e*(1e3/t):0}function jn(e,t,n){const r=Math.max(t-5,0);return Fn(n-e(r),t-r)}const Dn=12;function Ln(e,t){return e*Math.sqrt(1-t*t)}const Bn=["duration","bounce"],Nn=["stiffness","damping","mass"];function In(e,t){return t.some(t=>void 0!==e[t])}function $n({keyframes:e,restDelta:t,restSpeed:n,...r}){const o=e[0],a=e[e.length-1],i={done:!1,value:o},{stiffness:s,damping:l,mass:c,duration:u,velocity:d,isResolvedFromDuration:f}=function(e){let t={velocity:0,stiffness:100,damping:10,mass:1,isResolvedFromDuration:!1,...e};if(!In(e,Nn)&&In(e,Bn)){const n=function({duration:e=800,bounce:t=.25,velocity:n=0,mass:r=1}){let o,a;It(e<=_t(10),"Spring duration must be 10 seconds or less");let i=1-t;i=ie(.05,1,i),e=ie(.01,10,Pt(e)),i<1?(o=t=>{const r=t*i,o=r*e;return.001-(r-n)/Ln(t,i)*Math.exp(-o)},a=t=>{const r=t*i*e,a=r*n+n,s=Math.pow(i,2)*Math.pow(t,2)*e,l=Math.exp(-r),c=Ln(Math.pow(t,2),i);return(.001-o(t)>0?-1:1)*((a-s)*l)/c}):(o=t=>Math.exp(-t*e)*((t-n)*e+1)-.001,a=t=>Math.exp(-t*e)*(e*e*(n-t)));const s=function(e,t,n){let r=n;for(let n=1;n<Dn;n++)r-=e(r)/t(r);return r}(o,a,5/e);if(e=_t(e),isNaN(s))return{stiffness:100,damping:10,duration:e};{const t=Math.pow(s,2)*r;return{stiffness:t,damping:2*i*Math.sqrt(r*t),duration:e}}}(e);t={...t,...n,mass:1},t.isResolvedFromDuration=!0}return t}({...r,velocity:-Pt(r.velocity||0)}),p=d||0,h=l/(2*Math.sqrt(s*c)),m=a-o,v=Pt(Math.sqrt(s/c)),g=Math.abs(m)<5;let y;if(n||(n=g?.01:2),t||(t=g?.005:.5),h<1){const e=Ln(v,h);y=t=>{const n=Math.exp(-h*v*t);return a-n*((p+h*v*m)/e*Math.sin(e*t)+m*Math.cos(e*t))}}else if(1===h)y=e=>a-Math.exp(-v*e)*(m+(p+v*m)*e);else{const e=v*Math.sqrt(h*h-1);y=t=>{const n=Math.exp(-h*v*t),r=Math.min(e*t,300);return a-n*((p+h*v*m)*Math.sinh(r)+e*m*Math.cosh(r))/e}}return{calculatedDuration:f&&u||null,next:e=>{const r=y(e);if(f)i.done=e>=u;else{let o=p;0!==e&&(o=h<1?jn(y,e,r):0);const s=Math.abs(o)<=n,l=Math.abs(a-r)<=t;i.done=s&&l}return i.value=i.done?a:r,i}}}function Vn({keyframes:e,velocity:t=0,power:n=.8,timeConstant:r=325,bounceDamping:o=10,bounceStiffness:a=500,modifyTarget:i,min:s,max:l,restDelta:c=.5,restSpeed:u}){const d=e[0],f={done:!1,value:d},p=e=>void 0===s?l:void 0===l||Math.abs(s-e)<Math.abs(l-e)?s:l;let h=n*t;const m=d+h,v=void 0===i?m:i(m);v!==m&&(h=v-d);const g=e=>-h*Math.exp(-e/r),y=e=>v+g(e),b=e=>{const t=g(e),n=y(e);f.done=Math.abs(t)<=c,f.value=f.done?v:n};let w,x;const S=e=>{var t;t=f.value,(void 0!==s&&t<s||void 0!==l&&t>l)&&(w=e,x=$n({keyframes:[f.value,p(f.value)],velocity:jn(y,e,f.value),damping:o,stiffness:a,restDelta:c,restSpeed:u}))};return S(0),{calculatedDuration:null,next:e=>{let t=!1;return x||void 0!==w||(t=!0,b(e),S(e)),void 0!==w&&e>=w?x.next(e-w):(!t&&b(e),f)}}}const Wn=(e,t,n)=>(((1-3*n+3*t)*e+(3*n-6*t))*e+3*t)*e;function Hn(e,t,n,r){if(e===t&&n===r)return Ye;return o=>0===o||1===o?o:Wn(function(e,t,n,r,o){let a,i,s=0;do{i=t+(n-t)/2,a=Wn(i,r,o)-e,a>0?n=i:t=i}while(Math.abs(a)>1e-7&&++s<12);return i}(o,0,1,e,n),t,r)}const Un=Hn(.42,0,1,1),qn=Hn(0,0,.58,1),Zn=Hn(.42,0,.58,1),Qn=e=>t=>t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2,Kn=e=>t=>1-e(1-t),Yn=e=>1-Math.sin(Math.acos(e)),Gn=Kn(Yn),Xn=Qn(Yn),Jn=Hn(.33,1.53,.69,.99),er=Kn(Jn),tr=Qn(er),nr={linear:Ye,easeIn:Un,easeInOut:Zn,easeOut:qn,circIn:Yn,circInOut:Xn,circOut:Gn,backIn:er,backInOut:tr,backOut:Jn,anticipate:e=>(e*=2)<1?.5*er(e):.5*(2-Math.pow(2,-10*(e-1)))},rr=e=>{if(Array.isArray(e)){$t(4===e.length,"Cubic bezier arrays must contain four numerical values.");const[t,n,r,o]=e;return Hn(t,n,r,o)}return"string"==typeof e?($t(void 0!==nr[e],`Invalid easing type '${e}'`),nr[e]):e},or=(e,t,n)=>{const r=t-e;return 0===r?1:(n-e)/r},ar=(e,t,n)=>e+(t-e)*n;function ir(e,t,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?e+6*(t-e)*n:n<.5?t:n<2/3?e+(t-e)*(2/3-n)*6:e}const sr=(e,t,n)=>{const r=e*e,o=n*(t*t-r)+r;return o<0?0:Math.sqrt(o)},lr=[pn,fn,hn];function cr(e){const t=(n=e,lr.find(e=>e.test(n)));var n;$t(Boolean(t),`'${e}' is not an animatable color. Use the equivalent color code instead.`);let r=t.parse(e);return t===hn&&(r=function({hue:e,saturation:t,lightness:n,alpha:r}){e/=360,n/=100;let o=0,a=0,i=0;if(t/=100){const r=n<.5?n*(1+t):n+t-n*t,s=2*n-r;o=ir(s,r,e+1/3),a=ir(s,r,e),i=ir(s,r,e-1/3)}else o=a=i=n;return{red:Math.round(255*o),green:Math.round(255*a),blue:Math.round(255*i),alpha:r}}(r)),r}const ur=(e,t)=>{const n=cr(e),r=cr(t),o={...n};return e=>(o.red=sr(n.red,r.red,e),o.green=sr(n.green,r.green,e),o.blue=sr(n.blue,r.blue,e),o.alpha=ar(n.alpha,r.alpha,e),fn.transform(o))};function dr(e,t){return n=>n>0?t:e}function fr(e,t){return n=>ar(e,t,n)}function pr(e){return"number"==typeof e?fr:"string"==typeof e?re(e)?dr:mn.test(e)?ur:vr:Array.isArray(e)?hr:"object"==typeof e?mn.test(e)?ur:mr:dr}function hr(e,t){const n=[...e],r=n.length,o=e.map((e,n)=>pr(e)(e,t[n]));return e=>{for(let t=0;t<r;t++)n[t]=o[t](e);return n}}function mr(e,t){const n={...e,...t},r={};for(const o in n)void 0!==e[o]&&void 0!==t[o]&&(r[o]=pr(e[o])(e[o],t[o]));return e=>{for(const t in r)n[t]=r[t](e);return n}}const vr=(e,t)=>{const n=kn.createTransformer(t),r=bn(e),o=bn(t);return r.indexes.var.length===o.indexes.var.length&&r.indexes.color.length===o.indexes.color.length&&r.indexes.number.length>=o.indexes.number.length?lt(hr(function(e,t){var n;const r=[],o={color:0,var:0,number:0};for(let a=0;a<t.values.length;a++){const i=t.types[a],s=e.indexes[i][o[i]],l=null!==(n=e.values[s])&&void 0!==n?n:0;r[a]=l,o[i]++}return r}(r,o),o.values),n):(It(!0,`Complex values '${e}' and '${t}' too different to mix. Ensure all colors are of the same type, and that each contains the same quantity of number and color values. Falling back to instant transition.`),dr(e,t))};function gr(e,t,n){return"number"==typeof e&&"number"==typeof t&&"number"==typeof n?ar(e,t,n):pr(e)(e,t)}function yr({duration:e=300,keyframes:t,times:n,ease:r="easeInOut"}){const o=(e=>Array.isArray(e)&&"number"!=typeof e[0])(r)?r.map(rr):rr(r),a={done:!1,value:t[0]},i=function(e,t){return e.map(e=>e*t)}(n&&n.length===t.length?n:function(e){const t=[0];return function(e,t){const n=e[e.length-1];for(let r=1;r<=t;r++){const o=or(0,t,r);e.push(ar(n,1,o))}}(t,e.length-1),t}(t),e),s=function(e,t,{clamp:n=!0,ease:r,mixer:o}={}){const a=e.length;if($t(a===t.length,"Both input and output ranges must be the same length"),1===a)return()=>t[0];if(2===a&&e[0]===e[1])return()=>t[1];e[0]>e[a-1]&&(e=[...e].reverse(),t=[...t].reverse());const i=function(e,t,n){const r=[],o=n||gr,a=e.length-1;for(let n=0;n<a;n++){let a=o(e[n],e[n+1]);if(t){const e=Array.isArray(t)?t[n]||Ye:t;a=lt(e,a)}r.push(a)}return r}(t,r,o),s=i.length,l=t=>{let n=0;if(s>1)for(;n<e.length-2&&!(t<e[n+1]);n++);const r=or(e[n],e[n+1],t);return i[n](r)};return n?t=>l(ie(e[0],e[a-1],t)):l}(i,t,{ease:Array.isArray(o)?o:(l=t,c=o,l.map(()=>c||Zn).splice(0,l.length-1))});var l,c;return{calculatedDuration:e,next:t=>(a.value=s(t),a.done=t>=e,a)}}const br=e=>{const t=({timestamp:t})=>e(t);return{start:()=>Ge.update(t,!0),stop:()=>Xe(t),now:()=>Je.isProcessing?Je.timestamp:Lt.now()}},wr={decay:Vn,inertia:Vn,tween:yr,keyframes:yr,spring:$n},xr=e=>e/100;class Sr extends zn{constructor({KeyframeResolver:e=ln,...t}){super(t),this.holdTime=null,this.startTime=null,this.cancelTime=null,this.currentTime=0,this.playbackSpeed=1,this.pendingPlayState="running",this.state="idle";const{name:n,motionValue:r,keyframes:o}=this.options,a=(e,t)=>this.onKeyframesResolved(e,t);n&&r&&r.owner?this.resolver=r.owner.resolveKeyframes(o,a,n,r):this.resolver=new e(o,a,n,r),this.resolver.scheduleResolve()}initPlayback(e){const{type:t="keyframes",repeat:n=0,repeatDelay:r=0,repeatType:o,velocity:a=0}=this.options,i=wr[t]||yr;let s,l;i!==yr&&"number"!=typeof e[0]&&(s=lt(xr,gr(e[0],e[1])),e=[0,100]);const c=i({...this.options,keyframes:e});"mirror"===o&&(l=i({...this.options,keyframes:[...e].reverse(),velocity:-a})),null===c.calculatedDuration&&(c.calculatedDuration=function(e){let t=0,n=e.next(t);for(;!n.done&&t<2e4;)t+=50,n=e.next(t);return t>=2e4?1/0:t}(c));const{calculatedDuration:u}=c,d=u+r;return{generator:c,mirroredGenerator:l,mapPercentToKeyframes:s,calculatedDuration:u,resolvedDuration:d,totalDuration:d*(n+1)-r}}onPostResolved(){const{autoplay:e=!0}=this.options;this.play(),"paused"!==this.pendingPlayState&&e?this.state=this.pendingPlayState:this.pause()}tick(e,t=!1){const{resolved:n}=this;if(!n){const{keyframes:e}=this.options;return{done:!0,value:e[e.length-1]}}const{finalKeyframe:r,generator:o,mirroredGenerator:a,mapPercentToKeyframes:i,keyframes:s,calculatedDuration:l,totalDuration:c,resolvedDuration:u}=n;if(null===this.startTime)return o.next(0);const{delay:d,repeat:f,repeatType:p,repeatDelay:h,onUpdate:m}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,e):this.speed<0&&(this.startTime=Math.min(e-c/this.speed,this.startTime)),t?this.currentTime=e:null!==this.holdTime?this.currentTime=this.holdTime:this.currentTime=Math.round(e-this.startTime)*this.speed;const v=this.currentTime-d*(this.speed>=0?1:-1),g=this.speed>=0?v<0:v>c;this.currentTime=Math.max(v,0),"finished"===this.state&&null===this.holdTime&&(this.currentTime=c);let y=this.currentTime,b=o;if(f){const e=Math.min(this.currentTime,c)/u;let t=Math.floor(e),n=e%1;!n&&e>=1&&(n=1),1===n&&t--,t=Math.min(t,f+1),Boolean(t%2)&&("reverse"===p?(n=1-n,h&&(n-=h/u)):"mirror"===p&&(b=a)),y=ie(0,1,n)*u}const w=g?{done:!1,value:s[0]}:b.next(y);i&&(w.value=i(w.value));let{done:x}=w;g||null===l||(x=this.speed>=0?this.currentTime>=c:this.currentTime<=0);const S=null===this.holdTime&&("finished"===this.state||"running"===this.state&&x);return S&&void 0!==r&&(w.value=Ft(s,this.options,r)),m&&m(w.value),S&&this.finish(),w}get duration(){const{resolved:e}=this;return e?Pt(e.calculatedDuration):0}get time(){return Pt(this.currentTime)}set time(e){e=_t(e),this.currentTime=e,null!==this.holdTime||0===this.speed?this.holdTime=e:this.driver&&(this.startTime=this.driver.now()-e/this.speed)}get speed(){return this.playbackSpeed}set speed(e){const t=this.playbackSpeed!==e;this.playbackSpeed=e,t&&(this.time=Pt(this.currentTime))}play(){if(this.resolver.isScheduled||this.resolver.resume(),!this._resolved)return void(this.pendingPlayState="running");if(this.isStopped)return;const{driver:e=br,onPlay:t}=this.options;this.driver||(this.driver=e(e=>this.tick(e))),t&&t();const n=this.driver.now();null!==this.holdTime?this.startTime=n-this.holdTime:this.startTime&&"finished"!==this.state||(this.startTime=n),"finished"===this.state&&this.updateFinishedPromise(),this.cancelTime=this.startTime,this.holdTime=null,this.state="running",this.driver.start()}pause(){var e;this._resolved?(this.state="paused",this.holdTime=null!==(e=this.currentTime)&&void 0!==e?e:0):this.pendingPlayState="paused"}stop(){if(this.resolver.cancel(),this.isStopped=!0,"idle"===this.state)return;this.teardown();const{onStop:e}=this.options;e&&e()}complete(){"running"!==this.state&&this.play(),this.pendingPlayState=this.state="finished",this.holdTime=null}finish(){this.teardown(),this.state="finished";const{onComplete:e}=this.options;e&&e()}cancel(){null!==this.cancelTime&&this.tick(this.cancelTime),this.teardown(),this.updateFinishedPromise()}teardown(){this.state="idle",this.stopDriver(),this.resolveFinishedPromise(),this.updateFinishedPromise(),this.startTime=this.cancelTime=null,this.resolver.cancel()}stopDriver(){this.driver&&(this.driver.stop(),this.driver=void 0)}sample(e){return this.startTime=0,this.tick(e,!0)}}const kr=e=>Array.isArray(e)&&"number"==typeof e[0];function Er(e){return Boolean(!e||"string"==typeof e&&_r[e]||kr(e)||Array.isArray(e)&&e.every(Er))}const Cr=([e,t,n,r])=>`cubic-bezier(${e}, ${t}, ${n}, ${r})`,_r={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:Cr([0,.65,.55,1]),circOut:Cr([.55,0,1,.45]),backIn:Cr([.31,.01,.66,-.59]),backOut:Cr([.33,1.53,.69,.99])};function Pr(e){if(e)return kr(e)?Cr(e):Array.isArray(e)?e.map(Pr):_r[e]}const Rr=function(){let e;return()=>(void 0===e&&(e=Object.hasOwnProperty.call(Element.prototype,"animate")),e)}(),Tr=new Set(["opacity","clipPath","filter","transform"]);class Ar extends zn{constructor(e){super(e);const{name:t,motionValue:n,keyframes:r}=this.options;this.resolver=new Mn(r,(e,t)=>this.onKeyframesResolved(e,t),t,n),this.resolver.scheduleResolve()}initPlayback(e,t){var n;let{duration:r=300,motionValue:o,name:a}=this.options;if(!(null===(n=o.owner)||void 0===n?void 0:n.current))return!1;if(function(e){return"spring"===e.type||"backgroundColor"===e.name||!Er(e.ease)}(this.options)){const{onComplete:t,onUpdate:n,motionValue:o,...a}=this.options,i=function(e,t){const n=new Sr({...t,keyframes:e,repeat:0,delay:0});let r={done:!1,value:e[0]};const o=[];let a=0;for(;!r.done&&a<2e4;)r=n.sample(a),o.push(r.value),a+=10;return{times:void 0,keyframes:o,duration:a-10,ease:"linear"}}(e,a);e=i.keyframes,r=i.duration,this.options.times=i.times,this.options.ease=i.ease}const i=function(e,t,n,{delay:r=0,duration:o=300,repeat:a=0,repeatType:i="loop",ease:s,times:l}={}){const c={[t]:n};l&&(c.offset=l);const u=Pr(s);return Array.isArray(u)&&(c.easing=u),e.animate(c,{delay:r,duration:o,easing:Array.isArray(u)?"linear":u,fill:"both",iterations:a+1,direction:"reverse"===i?"alternate":"normal"})}(o.owner.current,a,e,{...this.options,duration:r});return i.startTime=Lt.now(),this.pendingTimeline?(i.timeline=this.pendingTimeline,this.pendingTimeline=void 0):i.onfinish=()=>{const{onComplete:n}=this.options;o.set(Ft(e,this.options,t)),n&&n(),this.cancel(),this.resolveFinishedPromise()},{animation:i,duration:r,keyframes:e}}get duration(){const{resolved:e}=this;if(!e)return 0;const{duration:t}=e;return Pt(t)}get time(){const{resolved:e}=this;if(!e)return 0;const{animation:t}=e;return Pt(t.currentTime||0)}set time(e){const{resolved:t}=this;if(!t)return;const{animation:n}=t;n.currentTime=_t(e)}get speed(){const{resolved:e}=this;if(!e)return 1;const{animation:t}=e;return t.playbackRate}set speed(e){const{resolved:t}=this;if(!t)return;const{animation:n}=t;n.playbackRate=e}get state(){const{resolved:e}=this;if(!e)return"idle";const{animation:t}=e;return t.playState}attachTimeline(e){if(this._resolved){const{resolved:t}=this;if(!t)return Ye;const{animation:n}=t;n.timeline=e,n.onfinish=null}else this.pendingTimeline=e;return Ye}play(){if(this.isStopped)return;const{resolved:e}=this;if(!e)return;const{animation:t}=e;"finished"===t.playState&&this.updateFinishedPromise(),t.play()}pause(){const{resolved:e}=this;if(!e)return;const{animation:t}=e;t.pause()}stop(){if(this.resolver.cancel(),this.isStopped=!0,"idle"===this.state)return;const{resolved:e}=this;if(!e)return;const{animation:t,keyframes:n}=e;if("idle"!==t.playState&&"finished"!==t.playState){if(this.time){const{motionValue:e,onUpdate:t,onComplete:r,...o}=this.options,a=new Sr({...o,keyframes:n}),i=_t(this.time);e.setWithVelocity(a.sample(i-10).value,a.sample(i).value,10)}this.cancel()}}complete(){const{resolved:e}=this;e&&e.animation.finish()}cancel(){const{resolved:e}=this;e&&e.animation.cancel()}static supports(e){const{motionValue:t,name:n,repeatDelay:r,repeatType:o,damping:a,type:i}=e;return Rr()&&n&&Tr.has(n)&&t&&t.owner&&t.owner.current instanceof HTMLElement&&!t.owner.getProps().onUpdate&&!r&&"mirror"!==o&&0!==a&&"inertia"!==i}}const Mr=(e,t,n,r={},o,a)=>i=>{const s=Ot(r,e)||{},l=s.delay||r.delay||0;let{elapsed:c=0}=r;c-=_t(l);let u={keyframes:Array.isArray(n)?n:[null,n],ease:"easeOut",velocity:t.getVelocity(),...s,delay:-c,onUpdate:e=>{t.set(e),s.onUpdate&&s.onUpdate(e)},onComplete:()=>{i(),s.onComplete&&s.onComplete()},name:e,motionValue:t,element:a?void 0:o};(function({when:e,delay:t,delayChildren:n,staggerChildren:r,staggerDirection:o,repeat:a,repeatType:i,repeatDelay:s,from:l,elapsed:c,...u}){return!!Object.keys(u).length})(s)||(u={...u,...Mt(e,u)}),u.duration&&(u.duration=_t(u.duration)),u.repeatDelay&&(u.repeatDelay=_t(u.repeatDelay)),void 0!==u.from&&(u.keyframes[0]=u.from);let d=!1;if(!1===u.type&&(u.duration=0,0===u.delay&&(d=!0)),d&&!a&&void 0!==t.get()){const e=Ft(u.keyframes,s);if(void 0!==e)return void Ge.update(()=>{u.onUpdate(e),u.onComplete()})}return!a&&Ar.supports(u)?new Ar(u):new Sr(u)};function Or(e){return Boolean(G(e)&&e.add)}function zr(e,t){-1===e.indexOf(t)&&e.push(t)}function Fr(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}class jr{constructor(){this.subscriptions=[]}add(e){return zr(this.subscriptions,e),()=>Fr(this.subscriptions,e)}notify(e,t,n){const r=this.subscriptions.length;if(r)if(1===r)this.subscriptions[0](e,t,n);else for(let o=0;o<r;o++){const r=this.subscriptions[o];r&&r(e,t,n)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}const Dr={current:void 0};class Lr{constructor(e,t={}){var n;this.version="11.0.20",this.canTrackVelocity=!1,this.events={},this.updateAndNotify=(e,t=!0)=>{const n=Lt.now();this.updatedAt!==n&&this.setPrevFrameValue(),this.prev=this.current,this.setCurrent(e),this.current!==this.prev&&this.events.change&&this.events.change.notify(this.current),t&&this.events.renderRequest&&this.events.renderRequest.notify(this.current)},this.hasAnimated=!1,this.setCurrent(e),this.canTrackVelocity=(n=this.current,!isNaN(parseFloat(n))),this.owner=t.owner}setCurrent(e){this.current=e,this.updatedAt=Lt.now()}setPrevFrameValue(e=this.current){this.prevFrameValue=e,this.prevUpdatedAt=this.updatedAt}onChange(e){return this.on("change",e)}on(e,t){this.events[e]||(this.events[e]=new jr);const n=this.events[e].add(t);return"change"===e?()=>{n(),Ge.read(()=>{this.events.change.getSize()||this.stop()})}:n}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,n){this.set(t),this.prev=void 0,this.prevFrameValue=e,this.prevUpdatedAt=this.updatedAt-n}jump(e,t=!0){this.updateAndNotify(e),this.prev=e,this.prevUpdatedAt=this.prevFrameValue=void 0,t&&this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}get(){return Dr.current&&Dr.current.push(this),this.current}getPrevious(){return this.prev}getVelocity(){const e=Lt.now();if(!this.canTrackVelocity||void 0===this.prevFrameValue||e-this.updatedAt>30)return 0;const t=Math.min(this.updatedAt-this.prevUpdatedAt,30);return Fn(parseFloat(this.current)-parseFloat(this.prevFrameValue),t)}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 Br(e,t){return new Lr(e,t)}function Nr(e,t,n){e.hasValue(t)?e.getValue(t).set(n):e.addValue(t,Br(n))}function Ir({protectedKeys:e,needsAnimating:t},n){const r=e.hasOwnProperty(n)&&!0!==t[n];return t[n]=!1,r}function $r(e,t,{delay:n=0,transitionOverride:r,type:o}={}){var a;let{transition:i=e.getDefaultTransition(),transitionEnd:s,...l}=t;const c=e.getValue("willChange");r&&(i=r);const u=[],d=o&&e.animationState&&e.animationState.getState()[o];for(const t in l){const r=e.getValue(t,null!==(a=e.latestValues[t])&&void 0!==a?a:null),o=l[t];if(void 0===o||d&&Ir(d,t))continue;const s={delay:n,elapsed:0,...Ot(i||{},t)};let f=!1;if(window.HandoffAppearAnimations){const n=e.getProps()[k];if(n){const e=window.HandoffAppearAnimations(n,t);null!==e&&(s.elapsed=e,f=!0)}}r.start(Mr(t,r,o,e.shouldReduceMotion&&K.has(t)?{type:!1}:s,e,f));const p=r.animation;p&&(Or(c)&&(c.add(t),p.then(()=>c.remove(t))),u.push(p))}return s&&Promise.all(u).then(()=>{Ge.update(()=>{s&&function(e,t){const n=Ct(e,t);let{transitionEnd:r={},transition:o={},...a}=n||{};a={...a,...r};for(const t in a)Nr(e,t,qe(a[t]))}(e,s)})}),u}function Vr(e,t,n={}){var r;const o=Ct(e,t,"exit"===n.type?null===(r=e.presenceContext)||void 0===r?void 0:r.custom:void 0);let{transition:a=e.getDefaultTransition()||{}}=o||{};n.transitionOverride&&(a=n.transitionOverride);const i=o?()=>Promise.all($r(e,o,n)):()=>Promise.resolve(),s=e.variantChildren&&e.variantChildren.size?(r=0)=>{const{delayChildren:o=0,staggerChildren:i,staggerDirection:s}=a;return function(e,t,n=0,r=0,o=1,a){const i=[],s=(e.variantChildren.size-1)*r,l=1===o?(e=0)=>e*r:(e=0)=>s-e*r;return Array.from(e.variantChildren).sort(Wr).forEach((e,r)=>{e.notify("AnimationStart",t),i.push(Vr(e,t,{...a,delay:n+l(r)}).then(()=>e.notify("AnimationComplete",t)))}),Promise.all(i)}(e,t,o+r,i,s,n)}:()=>Promise.resolve(),{when:l}=a;if(l){const[e,t]="beforeChildren"===l?[i,s]:[s,i];return e().then(()=>t())}return Promise.all([i(),s(n.delay)])}function Wr(e,t){return e.sortNodePosition(t)}const Hr=[...O].reverse(),Ur=O.length;function qr(e){let t=function(e){return t=>Promise.all(t.map(({animation:t,options:n})=>function(e,t,n={}){let r;if(e.notify("AnimationStart",t),Array.isArray(t)){const o=t.map(t=>Vr(e,t,n));r=Promise.all(o)}else if("string"==typeof t)r=Vr(e,t,n);else{const o="function"==typeof t?Ct(e,t,n.custom):t;r=Promise.all($r(e,o,n))}return r.then(()=>{Ge.postRender(()=>{e.notify("AnimationComplete",t)})})}(e,t,n)))}(e);const n={animate:Qr(!0),whileInView:Qr(),whileHover:Qr(),whileTap:Qr(),whileDrag:Qr(),whileFocus:Qr(),exit:Qr()};let r=!0;const o=t=>(n,r)=>{var o;const a=Ct(e,r,"exit"===t?null===(o=e.presenceContext)||void 0===o?void 0:o.custom:void 0);if(a){const{transition:e,transitionEnd:t,...r}=a;n={...n,...r,...t}}return n};function a(a){const i=e.getProps(),s=e.getVariantContext(!0)||{},l=[],c=new Set;let u={},d=1/0;for(let t=0;t<Ur;t++){const f=Hr[t],p=n[f],h=void 0!==i[f]?i[f]:s[f],m=A(h),v=f===a?p.isActive:null;!1===v&&(d=t);let g=h===s[f]&&h!==i[f]&&m;if(g&&r&&e.manuallyAnimateOnMount&&(g=!1),p.protectedKeys={...u},!p.isActive&&null===v||!h&&!p.prevProp||M(h)||"boolean"==typeof h)continue;let y=Zr(p.prevProp,h)||f===a&&p.isActive&&!g&&m||t>d&&m,b=!1;const w=Array.isArray(h)?h:[h];let x=w.reduce(o(f),{});!1===v&&(x={});const{prevResolvedValues:S={}}=p,k={...S,...x},E=e=>{y=!0,c.has(e)&&(b=!0,c.delete(e)),p.needsAnimating[e]=!0};for(const e in k){const t=x[e],n=S[e];if(u.hasOwnProperty(e))continue;let r=!1;r=Ue(t)&&Ue(n)?!Et(t,n):t!==n,r?null!=t?E(e):c.add(e):void 0!==t&&c.has(e)?E(e):p.protectedKeys[e]=!0}p.prevProp=h,p.prevResolvedValues=x,p.isActive&&(u={...u,...x}),r&&e.blockInitialAnimation&&(y=!1),!y||g&&!b||l.push(...w.map(e=>({animation:e,options:{type:f}})))}if(c.size){const t={};c.forEach(n=>{const r=e.getBaseTarget(n);t[n]=void 0===r?null:r}),l.push({animation:t})}let f=Boolean(l.length);return!r||!1!==i.initial&&i.initial!==i.animate||e.manuallyAnimateOnMount||(f=!1),r=!1,f?t(l):Promise.resolve()}return{animateChanges:a,setActive:function(t,r){var o;if(n[t].isActive===r)return Promise.resolve();null===(o=e.variantChildren)||void 0===o||o.forEach(e=>{var n;return null===(n=e.animationState)||void 0===n?void 0:n.setActive(t,r)}),n[t].isActive=r;const i=a(t);for(const e in n)n[e].protectedKeys={};return i},setAnimateFunction:function(n){t=n(e)},getState:()=>n}}function Zr(e,t){return"string"==typeof t?t!==e:!!Array.isArray(t)&&!Et(t,e)}function Qr(e=!1){return{isActive:e,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}let Kr=0;const Yr={animation:{Feature:class extends ht{constructor(e){super(e),e.animationState||(e.animationState=qr(e))}updateAnimationControlsSubscription(){const{animate:e}=this.node.getProps();this.unmount(),M(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 ht{constructor(){super(...arguments),this.id=Kr++}update(){if(!this.node.presenceContext)return;const{isPresent:e,onExitComplete:t}=this.node.presenceContext,{isPresent:n}=this.node.prevPresenceContext||{};if(!this.node.animationState||e===n)return;const r=this.node.animationState.setActive("exit",!e);t&&!e&&r.then(()=>t(this.id))}mount(){const{register:e}=this.node.presenceContext||{};e&&(this.unmount=e(this.id))}unmount(){}}}},Gr=(e,t)=>Math.abs(e-t);class Xr{constructor(e,t,{transformPagePoint:n,contextWindow:r,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=to(this.lastMoveEventInfo,this.history),t=null!==this.startEvent,n=function(e,t){const n=Gr(e.x,t.x),r=Gr(e.y,t.y);return Math.sqrt(n**2+r**2)}(e.offset,{x:0,y:0})>=3;if(!t&&!n)return;const{point:r}=e,{timestamp:o}=Je;this.history.push({...r,timestamp:o});const{onStart:a,onMove:i}=this.handlers;t||(a&&a(this.lastMoveEvent,e),this.startEvent=this.lastMoveEvent),i&&i(this.lastMoveEvent,e)},this.handlePointerMove=(e,t)=>{this.lastMoveEvent=e,this.lastMoveEventInfo=Jr(t,this.transformPagePoint),Ge.update(this.updatePoint,!0)},this.handlePointerUp=(e,t)=>{this.end();const{onEnd:n,onSessionEnd:r,resumeAnimation:o}=this.handlers;if(this.dragSnapToOrigin&&o&&o(),!this.lastMoveEvent||!this.lastMoveEventInfo)return;const a=to("pointercancel"===e.type?this.lastMoveEventInfo:Jr(t,this.transformPagePoint),this.history);this.startEvent&&n&&n(e,a),r&&r(e,a)},!ot(e))return;this.dragSnapToOrigin=o,this.handlers=t,this.transformPagePoint=n,this.contextWindow=r||window;const a=Jr(at(e),this.transformPagePoint),{point:i}=a,{timestamp:s}=Je;this.history=[{...i,timestamp:s}];const{onSessionStart:l}=t;l&&l(e,to(a,this.history)),this.removeListeners=lt(it(this.contextWindow,"pointermove",this.handlePointerMove),it(this.contextWindow,"pointerup",this.handlePointerUp),it(this.contextWindow,"pointercancel",this.handlePointerUp))}updateHandlers(e){this.handlers=e}end(){this.removeListeners&&this.removeListeners(),Xe(this.updatePoint)}}function Jr(e,t){return t?{point:t(e.point)}:e}function eo(e,t){return{x:e.x-t.x,y:e.y-t.y}}function to({point:e},t){return{point:e,delta:eo(e,ro(t)),offset:eo(e,no(t)),velocity:oo(t,.1)}}function no(e){return e[0]}function ro(e){return e[e.length-1]}function oo(e,t){if(e.length<2)return{x:0,y:0};let n=e.length-1,r=null;const o=ro(e);for(;n>=0&&(r=e[n],!(o.timestamp-r.timestamp>_t(t)));)n--;if(!r)return{x:0,y:0};const a=Pt(o.timestamp-r.timestamp);if(0===a)return{x:0,y:0};const i={x:(o.x-r.x)/a,y:(o.y-r.y)/a};return i.x===1/0&&(i.x=0),i.y===1/0&&(i.y=0),i}function ao(e){return e.max-e.min}function io(e,t=0,n=.01){return Math.abs(e-t)<=n}function so(e,t,n,r=.5){e.origin=r,e.originPoint=ar(t.min,t.max,e.origin),e.scale=ao(n)/ao(t),(io(e.scale,1,1e-4)||isNaN(e.scale))&&(e.scale=1),e.translate=ar(n.min,n.max,e.origin)-e.originPoint,(io(e.translate)||isNaN(e.translate))&&(e.translate=0)}function lo(e,t,n,r){so(e.x,t.x,n.x,r?r.originX:void 0),so(e.y,t.y,n.y,r?r.originY:void 0)}function co(e,t,n){e.min=n.min+t.min,e.max=e.min+ao(t)}function uo(e,t,n){e.min=t.min-n.min,e.max=e.min+ao(t)}function fo(e,t,n){uo(e.x,t.x,n.x),uo(e.y,t.y,n.y)}function po(e,t,n){return{min:void 0!==t?e.min+t:void 0,max:void 0!==n?e.max+n-(e.max-e.min):void 0}}function ho(e,t){let n=t.min-e.min,r=t.max-e.max;return t.max-t.min<e.max-e.min&&([n,r]=[r,n]),{min:n,max:r}}const mo=.35;function vo(e,t,n){return{min:go(e,t),max:go(e,n)}}function go(e,t){return"number"==typeof e?e:e[t]||0}const yo=()=>({x:{min:0,max:0},y:{min:0,max:0}});function bo(e){return[e("x"),e("y")]}function wo({top:e,left:t,right:n,bottom:r}){return{x:{min:t,max:n},y:{min:e,max:r}}}function xo(e){return void 0===e||1===e}function So({scale:e,scaleX:t,scaleY:n}){return!xo(e)||!xo(t)||!xo(n)}function ko(e){return So(e)||Eo(e)||e.z||e.rotate||e.rotateX||e.rotateY||e.skewX||e.skewY}function Eo(e){return Co(e.x)||Co(e.y)}function Co(e){return e&&"0%"!==e}function _o(e,t,n){return n+t*(e-n)}function Po(e,t,n,r,o){return void 0!==o&&(e=_o(e,o,r)),_o(e,n,r)+t}function Ro(e,t=0,n=1,r,o){e.min=Po(e.min,t,n,r,o),e.max=Po(e.max,t,n,r,o)}function To(e,{x:t,y:n}){Ro(e.x,t.translate,t.scale,t.originPoint),Ro(e.y,n.translate,n.scale,n.originPoint)}function Ao(e){return Number.isInteger(e)||e>1.0000000000001||e<.999999999999?e:1}function Mo(e,t){e.min=e.min+t,e.max=e.max+t}function Oo(e,t,[n,r,o]){const a=void 0!==t[o]?t[o]:.5,i=ar(e.min,e.max,a);Ro(e,t[n],t[r],i,t.scale)}const zo=["x","scaleX","originX"],Fo=["y","scaleY","originY"];function jo(e,t){Oo(e.x,t,zo),Oo(e.y,t,Fo)}function Do(e,t){return wo(function(e,t){if(!t)return e;const n=t({x:e.left,y:e.top}),r=t({x:e.right,y:e.bottom});return{top:n.y,left:n.x,bottom:r.y,right:r.x}}(e.getBoundingClientRect(),t))}const Lo=({current:e})=>e?e.ownerDocument.defaultView:null,Bo=new WeakMap;class No{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:n}=this.visualElement;if(n&&!1===n.isPresent)return;const{dragSnapToOrigin:r}=this.getProps();this.panSession=new Xr(e,{onSessionStart:e=>{const{dragSnapToOrigin:n}=this.getProps();n?this.pauseAnimation():this.stopAnimation(),t&&this.snapToCursor(at(e,"page").point)},onStart:(e,t)=>{const{drag:n,dragPropagation:r,onDragStart:o}=this.getProps();if(n&&!r&&(this.openGlobalLock&&this.openGlobalLock(),this.openGlobalLock=ft(n),!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),bo(e=>{let t=this.getAxisMotionValue(e).get()||0;if(ge.test(t)){const{projection:n}=this.visualElement;if(n&&n.layout){const r=n.layout.layoutBox[e];r&&(t=ao(r)*(parseFloat(t)/100))}}this.originPoint[e]=t}),o&&o(e,t);const{animationState:a}=this.visualElement;a&&a.setActive("whileDrag",!0)},onMove:(e,t)=>{const{dragPropagation:n,dragDirectionLock:r,onDirectionLock:o,onDrag:a}=this.getProps();if(!n&&!this.openGlobalLock)return;const{offset:i}=t;if(r&&null===this.currentDirection)return this.currentDirection=function(e,t=10){let n=null;return Math.abs(e.y)>t?n="y":Math.abs(e.x)>t&&(n="x"),n}(i),void(null!==this.currentDirection&&o&&o(this.currentDirection));this.updateAxis("x",t.point,i),this.updateAxis("y",t.point,i),this.visualElement.render(),a&&a(e,t)},onSessionEnd:(e,t)=>this.stop(e,t),resumeAnimation:()=>bo(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:r,contextWindow:Lo(this.visualElement)})}stop(e,t){const n=this.isDragging;if(this.cancel(),!n)return;const{velocity:r}=t;this.startAnimation(r);const{onDragEnd:o}=this.getProps();o&&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:n}=this.getProps();!n&&this.openGlobalLock&&(this.openGlobalLock(),this.openGlobalLock=null),t&&t.setActive("whileDrag",!1)}updateAxis(e,t,n){const{drag:r}=this.getProps();if(!n||!Io(e,r,this.currentDirection))return;const o=this.getAxisMotionValue(e);let a=this.originPoint[e]+n[e];this.constraints&&this.constraints[e]&&(a=function(e,{min:t,max:n},r){return void 0!==t&&e<t?e=r?ar(t,e,r.min):Math.max(e,t):void 0!==n&&e>n&&(e=r?ar(n,e,r.max):Math.min(e,n)),e}(a,this.constraints[e],this.elastic[e])),o.set(a)}resolveConstraints(){var e;const{dragConstraints:t,dragElastic:n}=this.getProps(),r=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&&T(t)?this.constraints||(this.constraints=this.resolveRefConstraints()):this.constraints=!(!t||!r)&&function(e,{top:t,left:n,bottom:r,right:o}){return{x:po(e.x,n,o),y:po(e.y,t,r)}}(r.layoutBox,t),this.elastic=function(e=mo){return!1===e?e=0:!0===e&&(e=mo),{x:vo(e,"left","right"),y:vo(e,"top","bottom")}}(n),o!==this.constraints&&r&&this.constraints&&!this.hasMutatedConstraints&&bo(e=>{this.getAxisMotionValue(e)&&(this.constraints[e]=function(e,t){const n={};return void 0!==t.min&&(n.min=t.min-e.min),void 0!==t.max&&(n.max=t.max-e.min),n}(r.layoutBox[e],this.constraints[e]))})}resolveRefConstraints(){const{dragConstraints:e,onMeasureDragConstraints:t}=this.getProps();if(!e||!T(e))return!1;const n=e.current;$t(null!==n,"If `dragConstraints` is set as a React ref, that ref must be passed to another component's `ref` prop.");const{projection:r}=this.visualElement;if(!r||!r.layout)return!1;const o=function(e,t,n){const r=Do(e,n),{scroll:o}=t;return o&&(Mo(r.x,o.offset.x),Mo(r.y,o.offset.y)),r}(n,r.root,this.visualElement.getTransformPagePoint());let a=function(e,t){return{x:ho(e.x,t.x),y:ho(e.y,t.y)}}(r.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}}(a));this.hasMutatedConstraints=!!e,e&&(a=wo(e))}return a}startAnimation(e){const{drag:t,dragMomentum:n,dragElastic:r,dragTransition:o,dragSnapToOrigin:a,onDragTransitionEnd:i}=this.getProps(),s=this.constraints||{},l=bo(i=>{if(!Io(i,t,this.currentDirection))return;let l=s&&s[i]||{};a&&(l={min:0,max:0});const c=r?200:1e6,u=r?40:1e7,d={type:"inertia",velocity:n?e[i]:0,bounceStiffness:c,bounceDamping:u,timeConstant:750,restDelta:1,restSpeed:10,...o,...l};return this.startAxisValueAnimation(i,d)});return Promise.all(l).then(i)}startAxisValueAnimation(e,t){const n=this.getAxisMotionValue(e);return n.start(Mr(e,n,0,t,this.visualElement))}stopAnimation(){bo(e=>this.getAxisMotionValue(e).stop())}pauseAnimation(){bo(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(),n=this.visualElement.getProps();return n[t]||this.visualElement.getValue(e,(n.initial?n.initial[e]:void 0)||0)}snapToCursor(e){bo(t=>{const{drag:n}=this.getProps();if(!Io(t,n,this.currentDirection))return;const{projection:r}=this.visualElement,o=this.getAxisMotionValue(t);if(r&&r.layout){const{min:n,max:a}=r.layout.layoutBox[t];o.set(e[t]-ar(n,a,.5))}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;const{drag:e,dragConstraints:t}=this.getProps(),{projection:n}=this.visualElement;if(!T(t)||!n||!this.constraints)return;this.stopAnimation();const r={x:0,y:0};bo(e=>{const t=this.getAxisMotionValue(e);if(t){const n=t.get();r[e]=function(e,t){let n=.5;const r=ao(e),o=ao(t);return o>r?n=or(t.min,t.max-r,e.min):r>o&&(n=or(e.min,e.max-o,t.min)),ie(0,1,n)}({min:n,max:n},this.constraints[e])}});const{transformTemplate:o}=this.visualElement.getProps();this.visualElement.current.style.transform=o?o({},""):"none",n.root&&n.root.updateScroll(),n.updateLayout(),this.resolveConstraints(),bo(t=>{if(!Io(t,e,null))return;const n=this.getAxisMotionValue(t),{min:o,max:a}=this.constraints[t];n.set(ar(o,a,r[t]))})}addListeners(){if(!this.visualElement.current)return;Bo.set(this.visualElement,this);const e=it(this.visualElement.current,"pointerdown",e=>{const{drag:t,dragListener:n=!0}=this.getProps();t&&n&&this.start(e)}),t=()=>{const{dragConstraints:e}=this.getProps();T(e)&&(this.constraints=this.resolveRefConstraints())},{projection:n}=this.visualElement,r=n.addEventListener("measure",t);n&&!n.layout&&(n.root&&n.root.updateScroll(),n.updateLayout()),t();const o=rt(window,"resize",()=>this.scalePositionWithinConstraints()),a=n.addEventListener("didUpdate",({delta:e,hasLayoutChanged:t})=>{this.isDragging&&t&&(bo(t=>{const n=this.getAxisMotionValue(t);n&&(this.originPoint[t]+=e[t].translate,n.set(n.get()+e[t].translate))}),this.visualElement.render())});return()=>{o(),e(),r(),a&&a()}}getProps(){const e=this.visualElement.getProps(),{drag:t=!1,dragDirectionLock:n=!1,dragPropagation:r=!1,dragConstraints:o=!1,dragElastic:a=mo,dragMomentum:i=!0}=e;return{...e,drag:t,dragDirectionLock:n,dragPropagation:r,dragConstraints:o,dragElastic:a,dragMomentum:i}}}function Io(e,t,n){return!(!0!==t&&t!==e||null!==n&&n!==e)}const $o=e=>(t,n)=>{e&&e(t,n)},Vo={hasAnimatedSinceResize:!0,hasEverUpdated:!1};function Wo(e,t){return t.max===t.min?0:e/(t.max-t.min)*100}const Ho={correct:(e,t)=>{if(!t.target)return e;if("string"==typeof e){if(!ye.test(e))return e;e=parseFloat(e)}return`${Wo(e,t.target.x)}% ${Wo(e,t.target.y)}%`}},Uo={correct:(e,{treeScale:t,projectionDelta:n})=>{const r=e,o=kn.parse(e);if(o.length>5)return r;const a=kn.createTransformer(e),i="number"!=typeof o[0]?1:0,s=n.x.scale*t.x,l=n.y.scale*t.y;o[0+i]/=s,o[1+i]/=l;const c=ar(s,l,.5);return"number"==typeof o[2+i]&&(o[2+i]/=c),"number"==typeof o[3+i]&&(o[3+i]/=c),a(o)}};class qo extends a.Component{componentDidMount(){const{visualElement:e,layoutGroup:t,switchLayoutGroup:n,layoutId:r}=this.props,{projection:o}=e;var a;a=Qo,Object.assign(Z,a),o&&(t.group&&t.group.add(o),n&&n.register&&r&&n.register(o),o.root.didUpdate(),o.addEventListener("animationComplete",()=>{this.safeToRemove()}),o.setOptions({...o.options,onExitComplete:()=>this.safeToRemove()})),Vo.hasEverUpdated=!0}getSnapshotBeforeUpdate(e){const{layoutDependency:t,visualElement:n,drag:r,isPresent:o}=this.props,a=n.projection;return a?(a.isPresent=o,r||e.layoutDependency!==t||void 0===t?a.willUpdate():this.safeToRemove(),e.isPresent!==o&&(o?a.promote():a.relegate()||Ge.postRender(()=>{const e=a.getStack();e&&e.members.length||this.safeToRemove()})),null):null}componentDidUpdate(){const{projection:e}=this.props.visualElement;e&&(e.root.didUpdate(),P.postRender(()=>{!e.currentAnimation&&e.isLead()&&this.safeToRemove()}))}componentWillUnmount(){const{visualElement:e,layoutGroup:t,switchLayoutGroup:n}=this.props,{projection:r}=e;r&&(r.scheduleCheckAfterUnmount(),t&&t.group&&t.group.remove(r),n&&n.deregister&&n.deregister(r))}safeToRemove(){const{safeToRemove:e}=this.props;e&&e()}render(){return null}}function Zo(e){const[t,n]=v(),r=(0,a.useContext)(N);return a.createElement(qo,{...e,layoutGroup:r,switchLayoutGroup:(0,a.useContext)(I),isPresent:t,safeToRemove:n})}const Qo={borderRadius:{...Ho,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:Ho,borderTopRightRadius:Ho,borderBottomLeftRadius:Ho,borderBottomRightRadius:Ho,boxShadow:Uo},Ko=["TopLeft","TopRight","BottomLeft","BottomRight"],Yo=Ko.length,Go=e=>"string"==typeof e?parseFloat(e):e,Xo=e=>"number"==typeof e||ye.test(e);function Jo(e,t){return void 0!==e[t]?e[t]:e.borderRadius}const ea=na(0,.5,Gn),ta=na(.5,.95,Ye);function na(e,t,n){return r=>r<e?0:r>t?1:n(or(e,t,r))}function ra(e,t){e.min=t.min,e.max=t.max}function oa(e,t){ra(e.x,t.x),ra(e.y,t.y)}function aa(e,t,n,r,o){return e=_o(e-=t,1/n,r),void 0!==o&&(e=_o(e,1/o,r)),e}function ia(e,t,[n,r,o],a,i){!function(e,t=0,n=1,r=.5,o,a=e,i=e){if(ge.test(t)&&(t=parseFloat(t),t=ar(i.min,i.max,t/100)-i.min),"number"!=typeof t)return;let s=ar(a.min,a.max,r);e===a&&(s-=t),e.min=aa(e.min,t,n,s,o),e.max=aa(e.max,t,n,s,o)}(e,t[n],t[r],t[o],t.scale,a,i)}const sa=["x","scaleX","originX"],la=["y","scaleY","originY"];function ca(e,t,n,r){ia(e.x,t,sa,n?n.x:void 0,r?r.x:void 0),ia(e.y,t,la,n?n.y:void 0,r?r.y:void 0)}function ua(e){return 0===e.translate&&1===e.scale}function da(e){return ua(e.x)&&ua(e.y)}function fa(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 pa(e){return ao(e.x)/ao(e.y)}class ha{constructor(){this.members=[]}add(e){zr(this.members,e),e.scheduleRender()}remove(e){if(Fr(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 n;for(let e=t;e>=0;e--){const t=this.members[e];if(!1!==t.isPresent){n=t;break}}return!!n&&(this.promote(n),!0)}promote(e,t){const n=this.lead;if(e!==n&&(this.prevLead=n,this.lead=e,e.show(),n)){n.instance&&n.scheduleRender(),e.scheduleRender(),e.resumeFrom=n,t&&(e.resumeFrom.preserveOpacity=!0),n.snapshot&&(e.snapshot=n.snapshot,e.snapshot.latestValues=n.animationValues||n.latestValues),e.root&&e.root.isUpdating&&(e.isLayoutDirty=!0);const{crossfade:r}=e.options;!1===r&&n.hide()}}exitAnimationComplete(){this.members.forEach(e=>{const{options:t,resumingFrom:n}=e;t.onExitComplete&&t.onExitComplete(),n&&n.options.onExitComplete&&n.options.onExitComplete()})}scheduleRender(){this.members.forEach(e=>{e.instance&&e.scheduleRender(!1)})}removeLeadSnapshot(){this.lead&&this.lead.snapshot&&(this.lead.snapshot=void 0)}}function ma(e,t,n){let r="";const o=e.x.translate/t.x,a=e.y.translate/t.y;if((o||a)&&(r=`translate3d(${o}px, ${a}px, 0) `),1===t.x&&1===t.y||(r+=`scale(${1/t.x}, ${1/t.y}) `),n){const{rotate:e,rotateX:t,rotateY:o,skewX:a,skewY:i}=n;e&&(r+=`rotate(${e}deg) `),t&&(r+=`rotateX(${t}deg) `),o&&(r+=`rotateY(${o}deg) `),a&&(r+=`skewX(${a}deg) `),i&&(r+=`skewY(${i}deg) `)}const i=e.x.scale*t.x,s=e.y.scale*t.y;return 1===i&&1===s||(r+=`scale(${i}, ${s})`),r||"none"}const va=(e,t)=>e.depth-t.depth;class ga{constructor(){this.children=[],this.isDirty=!1}add(e){zr(this.children,e),this.isDirty=!0}remove(e){Fr(this.children,e),this.isDirty=!0}forEach(e){this.isDirty&&this.children.sort(va),this.isDirty=!1,this.children.forEach(e)}}const ya=["","X","Y","Z"],ba={visibility:"hidden"};let wa=0;const xa={type:"projectionFrame",totalNodes:0,resolvedTargetDeltas:0,recalculatedProjection:0};function Sa(e,t,n,r){const{latestValues:o}=t;o[e]&&(n[e]=o[e],t.setStaticValue(e,0),r&&(r[e]=0))}function ka({attachResizeListener:e,defaultParent:t,measureScroll:n,checkIsScrollRoot:r,resetTransform:o}){return class{constructor(e={},n=(null==t?void 0:t())){this.id=wa++,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,xa.totalNodes=xa.resolvedTargetDeltas=xa.recalculatedProjection=0,this.nodes.forEach(_a),this.nodes.forEach(za),this.nodes.forEach(Fa),this.nodes.forEach(Pa),e=xa,window.MotionDebug&&window.MotionDebug.record(e)},this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=e,this.root=n?n.root||n:this,this.path=n?[...n.path,n]:[],this.parent=n,this.depth=n?n.depth+1:0;for(let e=0;e<this.path.length;e++)this.path[e].shouldResetTransform=!0;this.root===this&&(this.nodes=new ga)}addEventListener(e,t){return this.eventHandlers.has(e)||this.eventHandlers.set(e,new jr),this.eventHandlers.get(e).add(t)}notifyListeners(e,...t){const n=this.eventHandlers.get(e);n&&n.notify(...t)}hasListeners(e){return this.eventHandlers.has(e)}mount(t,n=this.root.hasTreeAnimated){if(this.instance)return;var r;this.isSVG=(r=t)instanceof SVGElement&&"svg"!==r.tagName,this.instance=t;const{layoutId:o,layout:a,visualElement:i}=this.options;if(i&&!i.current&&i.mount(t),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),n&&(a||o)&&(this.isLayoutDirty=!0),e){let n;const r=()=>this.root.updateBlockedByResize=!1;e(t,()=>{this.root.updateBlockedByResize=!0,n&&n(),n=function(e){const t=Lt.now(),n=({timestamp:r})=>{const o=r-t;o>=250&&(Xe(n),e(o-250))};return Ge.read(n,!0),()=>Xe(n)}(r),Vo.hasAnimatedSinceResize&&(Vo.hasAnimatedSinceResize=!1,this.nodes.forEach(Oa))})}o&&this.root.registerSharedNode(o,this),!1!==this.options.animate&&i&&(o||a)&&this.addEventListener("didUpdate",({delta:e,hasLayoutChanged:t,hasRelativeTargetChanged:n,layout:r})=>{if(this.isTreeAnimationBlocked())return this.target=void 0,void(this.relativeTarget=void 0);const o=this.options.transition||i.getDefaultTransition()||Ia,{onLayoutAnimationStart:a,onLayoutAnimationComplete:s}=i.getProps(),l=!this.targetLayout||!fa(this.targetLayout,r)||n,c=!t&&n;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={...Ot(o,"layout"),onPlay:a,onComplete:s};(i.shouldReduceMotion||this.options.layoutRoot)&&(t.delay=0,t.type=!1),this.startAnimation(t)}else t||Oa(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=r})}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,Xe(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(ja),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 e=0;e<this.path.length;e++){const t=this.path[e];t.shouldResetTransform=!0,t.updateScroll("snapshot"),t.options.layoutRoot&&t.willUpdate(!1)}const{layoutId:t,layout:n}=this.options;if(void 0===t&&!n)return;const r=this.getTransformTemplate();this.prevTransformTemplateValue=r?r(this.latestValues,""):void 0,this.updateSnapshot(),e&&this.notifyListeners("willUpdate")}update(){if(this.updateScheduled=!1,this.isUpdateBlocked())return this.unblockUpdate(),this.clearAllSnapshots(),void this.nodes.forEach(Ta);this.isUpdating||this.nodes.forEach(Aa),this.isUpdating=!1,window.HandoffCancelAllAnimations&&window.HandoffCancelAllAnimations(),this.nodes.forEach(Ma),this.nodes.forEach(Ea),this.nodes.forEach(Ca),this.clearAllSnapshots();const e=Lt.now();Je.delta=ie(0,1e3/60,e-Je.timestamp),Je.timestamp=e,Je.isProcessing=!0,et.update.process(Je),et.preRender.process(Je),et.render.process(Je),Je.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,P.read(()=>this.update()))}clearAllSnapshots(){this.nodes.forEach(Ra),this.sharedNodes.forEach(Da)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,Ge.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){Ge.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 e=0;e<this.path.length;e++)this.path[e].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:r(this.instance),offset:n(this.instance)})}resetTransform(){if(!o)return;const e=this.isLayoutDirty||this.shouldResetTransform,t=this.projectionDelta&&!da(this.projectionDelta),n=this.getTransformTemplate(),r=n?n(this.latestValues,""):void 0,a=r!==this.prevTransformTemplateValue;e&&(t||ko(this.latestValues)||a)&&(o(this.instance,r),this.shouldResetTransform=!1,this.scheduleRender())}measure(e=!0){const t=this.measurePageBox();let n=this.removeElementScroll(t);var r;return e&&(n=this.removeTransform(n)),Wa((r=n).x),Wa(r.y),{animationId:this.root.animationId,measuredBox:t,layoutBox:n,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:n}=this.root;return n&&(Mo(t.x,n.offset.x),Mo(t.y,n.offset.y)),t}removeElementScroll(e){const t={x:{min:0,max:0},y:{min:0,max:0}};oa(t,e);for(let n=0;n<this.path.length;n++){const r=this.path[n],{scroll:o,options:a}=r;if(r!==this.root&&o&&a.layoutScroll){if(o.isRoot){oa(t,e);const{scroll:n}=this.root;n&&(Mo(t.x,-n.offset.x),Mo(t.y,-n.offset.y))}Mo(t.x,o.offset.x),Mo(t.y,o.offset.y)}}return t}applyTransform(e,t=!1){const n={x:{min:0,max:0},y:{min:0,max:0}};oa(n,e);for(let e=0;e<this.path.length;e++){const r=this.path[e];!t&&r.options.layoutScroll&&r.scroll&&r!==r.root&&jo(n,{x:-r.scroll.offset.x,y:-r.scroll.offset.y}),ko(r.latestValues)&&jo(n,r.latestValues)}return ko(this.latestValues)&&jo(n,this.latestValues),n}removeTransform(e){const t={x:{min:0,max:0},y:{min:0,max:0}};oa(t,e);for(let e=0;e<this.path.length;e++){const n=this.path[e];if(!n.instance)continue;if(!ko(n.latestValues))continue;So(n.latestValues)&&n.updateSnapshot();const r=yo();oa(r,n.measurePageBox()),ca(t,n.latestValues,n.snapshot?n.snapshot.layoutBox:void 0,r)}return ko(this.latestValues)&&ca(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!==Je.timestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(e=!1){var t;const n=this.getLead();this.isProjectionDirty||(this.isProjectionDirty=n.isProjectionDirty),this.isTransformDirty||(this.isTransformDirty=n.isTransformDirty),this.isSharedProjectionDirty||(this.isSharedProjectionDirty=n.isSharedProjectionDirty);const r=Boolean(this.resumingFrom)||this!==n;if(!(e||r&&this.isSharedProjectionDirty||this.isProjectionDirty||(null===(t=this.parent)||void 0===t?void 0:t.isProjectionDirty)||this.attemptToResolveRelativeTarget))return;const{layout:o,layoutId:a}=this.options;if(this.layout&&(o||a)){if(this.resolvedRelativeTargetAt=Je.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}},fo(this.relativeTargetOrigin,this.layout.layoutBox,e.layout.layoutBox),oa(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}if(this.relativeTarget||this.targetDelta){var i,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(),i=this.target,s=this.relativeTarget,l=this.relativeParent.target,co(i.x,s.x,l.x),co(i.y,s.y,l.y)):this.targetDelta?(Boolean(this.resumingFrom)?this.target=this.applyTransform(this.layout.layoutBox):oa(this.target,this.layout.layoutBox),To(this.target,this.targetDelta)):oa(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}},fo(this.relativeTargetOrigin,this.target,e.target),oa(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}xa.resolvedTargetDeltas++}}}getClosestProjectingParent(){if(this.parent&&!So(this.parent.latestValues)&&!Eo(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(),n=Boolean(this.resumingFrom)||this!==t;let r=!0;if((this.isProjectionDirty||(null===(e=this.parent)||void 0===e?void 0:e.isProjectionDirty))&&(r=!1),n&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(r=!1),this.resolvedRelativeTargetAt===Je.timestamp&&(r=!1),r)return;const{layout:o,layoutId:a}=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&&!a)return;oa(this.layoutCorrected,this.layout.layoutBox);const i=this.treeScale.x,s=this.treeScale.y;!function(e,t,n,r=!1){const o=n.length;if(!o)return;let a,i;t.x=t.y=1;for(let s=0;s<o;s++){a=n[s],i=a.projectionDelta;const o=a.instance;o&&o.style&&"contents"===o.style.display||(r&&a.options.layoutScroll&&a.scroll&&a!==a.root&&jo(e,{x:-a.scroll.offset.x,y:-a.scroll.offset.y}),i&&(t.x*=i.x.scale,t.y*=i.y.scale,To(e,i)),r&&ko(a.latestValues)&&jo(e,a.latestValues))}t.x=Ao(t.x),t.y=Ao(t.y)}(this.layoutCorrected,this.treeScale,this.path,n),!t.layout||t.target||1===this.treeScale.x&&1===this.treeScale.y||(t.target=t.layout.layoutBox,t.targetWithTransforms={x:{min:0,max:0},y:{min:0,max:0}});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;lo(this.projectionDelta,this.layoutCorrected,l,this.latestValues),this.projectionTransform=ma(this.projectionDelta,this.treeScale),this.projectionTransform===c&&this.treeScale.x===i&&this.treeScale.y===s||(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",l)),xa.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 n=this.snapshot,r=n?n.latestValues:{},o={...this.latestValues},a={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 i={x:{min:0,max:0},y:{min:0,max:0}},s=(n?n.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(Na));let d;this.animationProgress=0,this.mixTargetDelta=t=>{const n=t/1e3;var l,f,p,h,m,v;La(a.x,e.x,n),La(a.y,e.y,n),this.setTargetDelta(a),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&(fo(i,this.layout.layoutBox,this.relativeParent.layout.layoutBox),p=this.relativeTarget,h=this.relativeTargetOrigin,m=i,v=n,Ba(p.x,h.x,m.x,v),Ba(p.y,h.y,m.y,v),d&&(l=this.relativeTarget,f=d,l.x.min===f.x.min&&l.x.max===f.x.max&&l.y.min===f.y.min&&l.y.max===f.y.max)&&(this.isProjectionDirty=!1),d||(d={x:{min:0,max:0},y:{min:0,max:0}}),oa(d,this.relativeTarget)),s&&(this.animationValues=o,function(e,t,n,r,o,a){o?(e.opacity=ar(0,void 0!==n.opacity?n.opacity:1,ea(r)),e.opacityExit=ar(void 0!==t.opacity?t.opacity:1,0,ta(r))):a&&(e.opacity=ar(void 0!==t.opacity?t.opacity:1,void 0!==n.opacity?n.opacity:1,r));for(let o=0;o<Yo;o++){const a=`border${Ko[o]}Radius`;let i=Jo(t,a),s=Jo(n,a);void 0===i&&void 0===s||(i||(i=0),s||(s=0),0===i||0===s||Xo(i)===Xo(s)?(e[a]=Math.max(ar(Go(i),Go(s),r),0),(ge.test(s)||ge.test(i))&&(e[a]+="%")):e[a]=s)}(t.rotate||n.rotate)&&(e.rotate=ar(t.rotate||0,n.rotate||0,r))}(o,r,this.latestValues,n,u,c)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=n},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&&(Xe(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=Ge.update(()=>{Vo.hasAnimatedSinceResize=!0,this.currentAnimation=function(e,t,n){const r=G(0)?0:Br(0);return r.start(Mr("",r,1e3,n)),r.animation}(0,0,{...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:n,layout:r,latestValues:o}=e;if(t&&n&&r){if(this!==e&&this.layout&&r&&Ha(this.options.animationType,this.layout.layoutBox,r.layoutBox)){n=this.target||{x:{min:0,max:0},y:{min:0,max:0}};const t=ao(this.layout.layoutBox.x);n.x.min=e.target.x.min,n.x.max=n.x.min+t;const r=ao(this.layout.layoutBox.y);n.y.min=e.target.y.min,n.y.max=n.y.min+r}oa(t,n),jo(t,o),lo(this.projectionDeltaWithTransform,this.layoutCorrected,t,o)}}registerSharedNode(e,t){this.sharedNodes.has(e)||this.sharedNodes.set(e,new ha),this.sharedNodes.get(e).add(t);const n=t.options.initialPromotionConfig;t.promote({transition:n?n.transition:void 0,preserveFollowOpacity:n&&n.shouldPreserveFollowOpacity?n.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:n}={}){const r=this.getStack();r&&r.promote(this,n),e&&(this.projectionDelta=void 0,this.needsReset=!0),t&&this.setOptions({transition:t})}relegate(){const e=this.getStack();return!!e&&e.relegate(this)}resetSkewAndRotation(){const{visualElement:e}=this.options;if(!e)return;let t=!1;const{latestValues:n}=e;if((n.rotate||n.rotateX||n.rotateY||n.rotateZ||n.skewX||n.skewY)&&(t=!0),!t)return;const r={};for(let t=0;t<ya.length;t++)Sa(`rotate${ya[t]}`,e,r,this.animationValues),Sa(`skew${ya[t]}`,e,r,this.animationValues);e.render();for(const t in r)e.setStaticValue(t,r[t]),this.animationValues&&(this.animationValues[t]=r[t]);e.scheduleRender()}getProjectionStyles(e){var t,n;if(!this.instance||this.isSVG)return;if(!this.isVisible)return ba;const r={visibility:""},o=this.getTransformTemplate();if(this.needsReset)return this.needsReset=!1,r.opacity="",r.pointerEvents=Ze(null==e?void 0:e.pointerEvents)||"",r.transform=o?o(this.latestValues,""):"none",r;const a=this.getLead();if(!this.projectionDelta||!this.layout||!a.target){const t={};return this.options.layoutId&&(t.opacity=void 0!==this.latestValues.opacity?this.latestValues.opacity:1,t.pointerEvents=Ze(null==e?void 0:e.pointerEvents)||""),this.hasProjected&&!ko(this.latestValues)&&(t.transform=o?o({},""):"none",this.hasProjected=!1),t}const i=a.animationValues||a.latestValues;this.applyTransformsToTarget(),r.transform=ma(this.projectionDeltaWithTransform,this.treeScale,i),o&&(r.transform=o(i,r.transform));const{x:s,y:l}=this.projectionDelta;r.transformOrigin=`${100*s.origin}% ${100*l.origin}% 0`,a.animationValues?r.opacity=a===this?null!==(n=null!==(t=i.opacity)&&void 0!==t?t:this.latestValues.opacity)&&void 0!==n?n:1:this.preserveOpacity?this.latestValues.opacity:i.opacityExit:r.opacity=a===this?void 0!==i.opacity?i.opacity:"":void 0!==i.opacityExit?i.opacityExit:0;for(const e in Z){if(void 0===i[e])continue;const{correct:t,applyTo:n}=Z[e],o="none"===r.transform?i[e]:t(i[e],a);if(n){const e=n.length;for(let t=0;t<e;t++)r[n[t]]=o}else r[e]=o}return this.options.layoutId&&(r.pointerEvents=a===this?Ze(null==e?void 0:e.pointerEvents)||"":"none"),r}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(e=>{var t;return null===(t=e.currentAnimation)||void 0===t?void 0:t.stop()}),this.root.nodes.forEach(Ta),this.root.sharedNodes.clear()}}}function Ea(e){e.updateLayout()}function Ca(e){var t;const n=(null===(t=e.resumeFrom)||void 0===t?void 0:t.snapshot)||e.snapshot;if(e.isLead()&&e.layout&&n&&e.hasListeners("didUpdate")){const{layoutBox:t,measuredBox:r}=e.layout,{animationType:o}=e.options,a=n.source!==e.layout.source;"size"===o?bo(e=>{const r=a?n.measuredBox[e]:n.layoutBox[e],o=ao(r);r.min=t[e].min,r.max=r.min+o}):Ha(o,n.layoutBox,t)&&bo(r=>{const o=a?n.measuredBox[r]:n.layoutBox[r],i=ao(t[r]);o.max=o.min+i,e.relativeTarget&&!e.currentAnimation&&(e.isProjectionDirty=!0,e.relativeTarget[r].max=e.relativeTarget[r].min+i)});const i={x:{translate:0,scale:1,origin:0,originPoint:0},y:{translate:0,scale:1,origin:0,originPoint:0}};lo(i,t,n.layoutBox);const s={x:{translate:0,scale:1,origin:0,originPoint:0},y:{translate:0,scale:1,origin:0,originPoint:0}};a?lo(s,e.applyTransform(r,!0),n.measuredBox):lo(s,t,n.layoutBox);const l=!da(i);let c=!1;if(!e.resumeFrom){const r=e.getClosestProjectingParent();if(r&&!r.resumeFrom){const{snapshot:o,layout:a}=r;if(o&&a){const i={x:{min:0,max:0},y:{min:0,max:0}};fo(i,n.layoutBox,o.layoutBox);const s={x:{min:0,max:0},y:{min:0,max:0}};fo(s,t,a.layoutBox),fa(i,s)||(c=!0),r.options.layoutRoot&&(e.relativeTarget=s,e.relativeTargetOrigin=i,e.relativeParent=r)}}}e.notifyListeners("didUpdate",{layout:t,snapshot:n,delta:s,layoutDelta:i,hasLayoutChanged:l,hasRelativeTargetChanged:c})}else if(e.isLead()){const{onExitComplete:t}=e.options;t&&t()}e.options.transition=void 0}function _a(e){xa.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 Pa(e){e.isProjectionDirty=e.isSharedProjectionDirty=e.isTransformDirty=!1}function Ra(e){e.clearSnapshot()}function Ta(e){e.clearMeasurements()}function Aa(e){e.isLayoutDirty=!1}function Ma(e){const{visualElement:t}=e.options;t&&t.getProps().onBeforeLayoutMeasure&&t.notify("BeforeLayoutMeasure"),e.resetTransform()}function Oa(e){e.finishAnimation(),e.targetDelta=e.relativeTarget=e.target=void 0,e.isProjectionDirty=!0}function za(e){e.resolveTargetDelta()}function Fa(e){e.calcProjection()}function ja(e){e.resetSkewAndRotation()}function Da(e){e.removeLeadSnapshot()}function La(e,t,n){e.translate=ar(t.translate,0,n),e.scale=ar(t.scale,1,n),e.origin=t.origin,e.originPoint=t.originPoint}function Ba(e,t,n,r){e.min=ar(t.min,n.min,r),e.max=ar(t.max,n.max,r)}function Na(e){return e.animationValues&&void 0!==e.animationValues.opacityExit}const Ia={duration:.45,ease:[.4,0,.1,1]},$a=e=>"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(e),Va=$a("applewebkit/")&&!$a("chrome/")?Math.round:Ye;function Wa(e){e.min=Va(e.min),e.max=Va(e.max)}function Ha(e,t,n){return"position"===e||"preserve-aspect"===e&&!io(pa(t),pa(n),.2)}const Ua=ka({attachResizeListener:(e,t)=>rt(e,"resize",t),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}),checkIsScrollRoot:()=>!0}),qa={current:void 0},Za=ka({measureScroll:e=>({x:e.scrollLeft,y:e.scrollTop}),defaultParent:()=>{if(!qa.current){const e=new Ua({});e.mount(window),e.setOptions({layoutScroll:!0}),qa.current=e}return qa.current},resetTransform:(e,t)=>{e.style.transform=void 0!==t?t:"none"},checkIsScrollRoot:e=>Boolean("fixed"===window.getComputedStyle(e).position)}),Qa={pan:{Feature:class extends ht{constructor(){super(...arguments),this.removePointerDownListener=Ye}onPointerDown(e){this.session=new Xr(e,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:Lo(this.node)})}createPanHandlers(){const{onPanSessionStart:e,onPanStart:t,onPan:n,onPanEnd:r}=this.node.getProps();return{onSessionStart:$o(e),onStart:$o(t),onMove:n,onEnd:(e,t)=>{delete this.session,r&&r(e,t)}}}mount(){this.removePointerDownListener=it(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 ht{constructor(e){super(e),this.removeGroupControls=Ye,this.removeListeners=Ye,this.controls=new No(e)}mount(){const{dragControls:e}=this.node.getProps();e&&(this.removeGroupControls=e.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||Ye}unmount(){this.removeGroupControls(),this.removeListeners()}},ProjectionNode:Za,MeasureLayout:Zo}},Ka={current:null},Ya={current:!1},Ga=new WeakMap,Xa=[...en,mn,kn],Ja=Object.keys(B),ei=Ja.length,ti=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"],ni=z.length;class ri{constructor({parent:e,props:t,presenceContext:n,reducedMotionConfig:r,blockInitialAnimation:o,visualState:a},i={}){this.resolveKeyframes=(e,t,n,r)=>new this.KeyframeResolver(e,t,n,r,this),this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.values=new Map,this.KeyframeResolver=ln,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=()=>Ge.render(this.render,!1,!0);const{latestValues:s,renderState:l}=a;this.latestValues=s,this.baseTarget={...s},this.initialValues=t.initial?{...s}:{},this.renderState=l,this.parent=e,this.props=t,this.presenceContext=n,this.depth=e?e.depth+1:0,this.reducedMotionConfig=r,this.options=i,this.blockInitialAnimation=Boolean(o),this.isControllingVariants=F(t),this.isVariantNode=j(t),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=Boolean(e&&e.current);const{willChange:c,...u}=this.scrapeMotionValuesFromProps(t,{});for(const e in u){const t=u[e];void 0!==s[e]&&G(t)&&(t.set(s[e],!1),Or(c)&&c.add(e))}}scrapeMotionValuesFromProps(e,t){return{}}mount(e){this.current=e,Ga.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)),Ya.current||function(){if(Ya.current=!0,b)if(window.matchMedia){const e=window.matchMedia("(prefers-reduced-motion)"),t=()=>Ka.current=e.matches;e.addListener(t),t()}else Ka.current=!1}(),this.shouldReduceMotion="never"!==this.reducedMotionConfig&&("always"===this.reducedMotionConfig||Ka.current),this.parent&&this.parent.children.add(this),this.update(this.props,this.presenceContext)}unmount(){Ga.delete(this.current),this.projection&&this.projection.unmount(),Xe(this.notifyUpdate),Xe(this.render),this.valueSubscriptions.forEach(e=>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 n=K.has(e),r=t.on("change",t=>{this.latestValues[e]=t,this.props.onUpdate&&Ge.preRender(this.notifyUpdate),n&&this.projection&&(this.projection.isTransformDirty=!0)}),o=t.on("renderRequest",this.scheduleRender);this.valueSubscriptions.set(e,()=>{r(),o(),t.owner&&t.stop()})}sortNodePosition(e){return this.current&&this.sortInstanceNodePosition&&this.type===e.type?this.sortInstanceNodePosition(this.current,e.current):0}loadFeatures({children:e,...t},n,r,o){let a,i;for(let e=0;e<ei;e++){const n=Ja[e],{isEnabled:r,Feature:o,ProjectionNode:s,MeasureLayout:l}=B[n];s&&(a=s),r(t)&&(!this.features[n]&&o&&(this.features[n]=new o(this)),l&&(i=l))}if(("html"===this.type||"svg"===this.type)&&!this.projection&&a){this.projection=new a(this.latestValues,this.parent&&this.parent.projection);const{layoutId:e,layout:n,drag:r,dragConstraints:i,layoutScroll:s,layoutRoot:l}=t;this.projection.setOptions({layoutId:e,layout:n,alwaysMeasureLayout:Boolean(r)||i&&T(i),visualElement:this,scheduleRender:()=>this.scheduleRender(),animationType:"string"==typeof n?n:"both",initialPromotionConfig:o,layoutScroll:s,layoutRoot:l})}return i}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}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 t=0;t<ti.length;t++){const n=ti[t];this.propEventSubscriptions[n]&&(this.propEventSubscriptions[n](),delete this.propEventSubscriptions[n]);const r=e["on"+n];r&&(this.propEventSubscriptions[n]=this.on(n,r))}this.prevMotionValues=function(e,t,n){const{willChange:r}=t;for(const o in t){const a=t[o],i=n[o];if(G(a))e.addValue(o,a),Or(r)&&r.add(o);else if(G(i))e.addValue(o,Br(a,{owner:e})),Or(r)&&r.remove(o);else if(i!==a)if(e.hasValue(o)){const t=e.getValue(o);!t.hasAnimated&&t.set(a)}else{const t=e.getStaticValue(o);e.addValue(o,Br(void 0!==t?t:a,{owner:e}))}}for(const r in n)void 0===t[r]&&e.removeValue(r);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 e=0;e<ni;e++){const n=z[e],r=this.props[n];(A(r)||!1===r)&&(t[n]=r)}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 n=this.values.get(e);return void 0===n&&void 0!==t&&(n=Br(null===t?void 0:t,{owner:this}),this.addValue(e,n)),n}readValue(e,t){var n;let r=void 0===this.latestValues[e]&&this.current?null!==(n=this.getBaseTargetFromProps(this.props,e))&&void 0!==n?n:this.readValueFromInstance(this.current,e,this.options):this.latestValues[e];var o;return null!=r&&("string"==typeof r&&(Vt(r)||Bt(r))?r=parseFloat(r):(o=r,!Xa.find(Jt(o))&&kn.test(t)&&(r=An(e,t))),this.setBaseTarget(e,G(r)?r.get():r)),G(r)?r.get():r}setBaseTarget(e,t){this.baseTarget[e]=t}getBaseTarget(e){var t,n;const{initial:r}=this.props,o="string"==typeof r||"object"==typeof r?null===(n=We(this.props,r,null===(t=this.presenceContext)||void 0===t?void 0:t.custom))||void 0===n?void 0:n[e]:void 0;if(r&&void 0!==o)return o;const a=this.getBaseTargetFromProps(this.props,e);return void 0===a||G(a)?void 0!==this.initialValues[e]&&void 0===o?void 0:this.baseTarget[e]:a}on(e,t){return this.events[e]||(this.events[e]=new jr),this.events[e].add(t)}notify(e,...t){this.events[e]&&this.events[e].notify(...t)}}class oi extends ri{constructor(){super(...arguments),this.KeyframeResolver=Mn}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:n}){delete t[e],delete n[e]}}class ai extends oi{constructor(){super(...arguments),this.type="html"}readValueFromInstance(e,t){if(K.has(t)){const e=Tn(t);return e&&e.default||0}{const r=(n=e,window.getComputedStyle(n)),o=(te(t)?r.getPropertyValue(t):r[t])||0;return"string"==typeof o?o.trim():o}var n}measureInstanceViewportBox(e,{transformPagePoint:t}){return Do(e,t)}build(e,t,n,r){Ee(e,t,n,r.transformTemplate)}scrapeMotionValuesFromProps(e,t){return $e(e,t)}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);const{children:e}=this.props;G(e)&&(this.childSubscription=e.on("change",e=>{this.current&&(this.current.textContent=`${e}`)}))}renderInstance(e,t,n,r){Be(e,t,n,r)}}class ii extends oi{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1}getBaseTargetFromProps(e,t){return e[t]}readValueFromInstance(e,t){if(K.has(t)){const e=Tn(t);return e&&e.default||0}return t=Ne.has(t)?t:S(t),e.getAttribute(t)}measureInstanceViewportBox(){return{x:{min:0,max:0},y:{min:0,max:0}}}scrapeMotionValuesFromProps(e,t){return Ve(e,t)}build(e,t,n,r){Fe(e,t,n,this.isSVGTag,r.transformTemplate)}renderInstance(e,t,n,r){Ie(e,t,0,r)}mount(e){this.isSVGTag=je(e.tagName),super.mount(e)}}const si=(e,t)=>q(e)?new ii(t,{enableHardwareAcceleration:!1}):new ai(t,{enableHardwareAcceleration:!0}),li={...Yr,...kt,...Qa,layout:{ProjectionNode:Za,MeasureLayout:Zo}},ci=H((e,t)=>function(e,{forwardMotionProps:t=!1},n,r){return{...q(e)?tt:nt,preloadedFeatures:n,useRender:Le(t),createVisualElement:r,Component:e}}(e,t,li,si));var ui=o(8394),di=e=>"string"==typeof e?e.replace(/!(important)?$/,"").trim():e;function fi(e){const{scale:t,transform:n,compose:r}=e;return(e,o)=>{var a;const i=((e,t)=>n=>{const r=String(t),o=(e=>/!(important)?$/.test(e))(r),a=di(r),i=e?`${e}.${a}`:a;let s=u(n.__cssMap)&&i in n.__cssMap?n.__cssMap[i].varRef:t;return s=di(s),o?`${s} !important`:s})(t,e)(o);let s=null!=(a=null==n?void 0:n(i,o))?a:i;return r&&(s=r(s,o)),s}}var pi=(...e)=>t=>e.reduce((e,t)=>t(e),t);function hi(e,t){return n=>{const r={property:n,scale:e};return r.transform=fi({scale:e,transform:t}),r}}var mi=({rtl:e,ltr:t})=>n=>"rtl"===n.direction?e:t,vi=["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))"],gi={"--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(" ")},yi={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,/*!*/ /*!*/)"},bi={"row-reverse":{space:"--chakra-space-x-reverse",divide:"--chakra-divide-x-reverse"},"column-reverse":{space:"--chakra-space-y-reverse",divide:"--chakra-divide-y-reverse"}},wi={"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"},xi=new Set(Object.values(wi)),Si=new Set(["none","-moz-initial","inherit","initial","revert","unset"]),ki=e=>e.trim(),Ei=e=>"string"==typeof e&&e.includes("(")&&e.includes(")"),Ci=e=>t=>`${e}(${t})`,_i={filter:e=>"auto"!==e?e:gi,backdropFilter:e=>"auto"!==e?e:yi,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(", ")}}(_i.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))",...vi].join(" "):"auto-gpu"===e?["translate3d(var(--chakra-translate-x, 0), var(--chakra-translate-y, 0), 0)",...vi].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()),n=e.toString().replace(String(t),"");return{unitless:!n,value:t,unit:n}})(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||Si.has(e))return e;if(!Ei(e)&&!Si.has(e))return`url('${e}')`;const n=/(^[a-z-A-Z]+)\((.*)\)/g.exec(e),r=null==n?void 0:n[1],o=null==n?void 0:n[2];if(!r||!o)return e;const a=r.includes("-gradient")?r:`${r}-gradient`,[i,...s]=o.split(",").map(ki).filter(Boolean);if(0===(null==s?void 0:s.length))return e;const l=i in wi?wi[i]:i;return s.unshift(l),`${a}(${s.map(e=>{if(xi.has(e))return e;const n=e.indexOf(" "),[r,o]=-1!==n?[e.substr(0,n),e.substr(n+1)]:[e],a=Ei(o)?o:o&&o.split(" "),i=`colors.${r}`,s=i in t.__cssMap?t.__cssMap[i].varRef:r;return a?[s,...Array.isArray(a)?a:[a]].join(" "):s}).join(", ")})`}(e,null!=t?t:{}),blur:Ci("blur"),opacity:Ci("opacity"),brightness:Ci("brightness"),contrast:Ci("contrast"),dropShadow:Ci("drop-shadow"),grayscale:Ci("grayscale"),hueRotate:e=>Ci("hue-rotate")(_i.degree(e)),invert:Ci("invert"),saturate:Ci("saturate"),sepia:Ci("sepia"),bgImage:e=>null==e||Ei(e)||Si.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){var t;const{space:n,divide:r}=null!=(t=bi[e])?t:{},o={flexDirection:e};return n&&(o[n]=1),r&&(o[r]=1),o}},Pi={borderWidths:hi("borderWidths"),borderStyles:hi("borderStyles"),colors:hi("colors"),borders:hi("borders"),gradients:hi("gradients",_i.gradient),radii:hi("radii",_i.px),space:hi("space",pi(_i.vh,_i.px)),spaceT:hi("space",pi(_i.vh,_i.px)),degreeT:e=>({property:e,transform:_i.degree}),prop:(e,t,n)=>({property:e,scale:t,...t&&{transform:fi({scale:t,transform:n})}}),propT:(e,t)=>({property:e,transform:t}),sizes:hi("sizes",pi(_i.vh,_i.px)),sizesT:hi("sizes",pi(_i.vh,_i.fraction)),shadows:hi("shadows"),logical:function(e){const{property:t,scale:n,transform:r}=e;return{scale:n,property:mi(t),transform:n?fi({scale:n,compose:r}):r}},blur:hi("blur",_i.blur)},Ri={background:Pi.colors("background"),backgroundColor:Pi.colors("backgroundColor"),backgroundImage:Pi.gradients("backgroundImage"),backgroundSize:!0,backgroundPosition:!0,backgroundRepeat:!0,backgroundAttachment:!0,backgroundClip:{transform:_i.bgClip},bgSize:Pi.prop("backgroundSize"),bgPosition:Pi.prop("backgroundPosition"),bg:Pi.colors("background"),bgColor:Pi.colors("backgroundColor"),bgPos:Pi.prop("backgroundPosition"),bgRepeat:Pi.prop("backgroundRepeat"),bgAttachment:Pi.prop("backgroundAttachment"),bgGradient:Pi.gradients("backgroundImage"),bgClip:{transform:_i.bgClip}};Object.assign(Ri,{bgImage:Ri.backgroundImage,bgImg:Ri.backgroundImage});var Ti={border:Pi.borders("border"),borderWidth:Pi.borderWidths("borderWidth"),borderStyle:Pi.borderStyles("borderStyle"),borderColor:Pi.colors("borderColor"),borderRadius:Pi.radii("borderRadius"),borderTop:Pi.borders("borderTop"),borderBlockStart:Pi.borders("borderBlockStart"),borderTopLeftRadius:Pi.radii("borderTopLeftRadius"),borderStartStartRadius:Pi.logical({scale:"radii",property:{ltr:"borderTopLeftRadius",rtl:"borderTopRightRadius"}}),borderEndStartRadius:Pi.logical({scale:"radii",property:{ltr:"borderBottomLeftRadius",rtl:"borderBottomRightRadius"}}),borderTopRightRadius:Pi.radii("borderTopRightRadius"),borderStartEndRadius:Pi.logical({scale:"radii",property:{ltr:"borderTopRightRadius",rtl:"borderTopLeftRadius"}}),borderEndEndRadius:Pi.logical({scale:"radii",property:{ltr:"borderBottomRightRadius",rtl:"borderBottomLeftRadius"}}),borderRight:Pi.borders("borderRight"),borderInlineEnd:Pi.borders("borderInlineEnd"),borderBottom:Pi.borders("borderBottom"),borderBlockEnd:Pi.borders("borderBlockEnd"),borderBottomLeftRadius:Pi.radii("borderBottomLeftRadius"),borderBottomRightRadius:Pi.radii("borderBottomRightRadius"),borderLeft:Pi.borders("borderLeft"),borderInlineStart:{property:"borderInlineStart",scale:"borders"},borderInlineStartRadius:Pi.logical({scale:"radii",property:{ltr:["borderTopLeftRadius","borderBottomLeftRadius"],rtl:["borderTopRightRadius","borderBottomRightRadius"]}}),borderInlineEndRadius:Pi.logical({scale:"radii",property:{ltr:["borderTopRightRadius","borderBottomRightRadius"],rtl:["borderTopLeftRadius","borderBottomLeftRadius"]}}),borderX:Pi.borders(["borderLeft","borderRight"]),borderInline:Pi.borders("borderInline"),borderY:Pi.borders(["borderTop","borderBottom"]),borderBlock:Pi.borders("borderBlock"),borderTopWidth:Pi.borderWidths("borderTopWidth"),borderBlockStartWidth:Pi.borderWidths("borderBlockStartWidth"),borderTopColor:Pi.colors("borderTopColor"),borderBlockStartColor:Pi.colors("borderBlockStartColor"),borderTopStyle:Pi.borderStyles("borderTopStyle"),borderBlockStartStyle:Pi.borderStyles("borderBlockStartStyle"),borderBottomWidth:Pi.borderWidths("borderBottomWidth"),borderBlockEndWidth:Pi.borderWidths("borderBlockEndWidth"),borderBottomColor:Pi.colors("borderBottomColor"),borderBlockEndColor:Pi.colors("borderBlockEndColor"),borderBottomStyle:Pi.borderStyles("borderBottomStyle"),borderBlockEndStyle:Pi.borderStyles("borderBlockEndStyle"),borderLeftWidth:Pi.borderWidths("borderLeftWidth"),borderInlineStartWidth:Pi.borderWidths("borderInlineStartWidth"),borderLeftColor:Pi.colors("borderLeftColor"),borderInlineStartColor:Pi.colors("borderInlineStartColor"),borderLeftStyle:Pi.borderStyles("borderLeftStyle"),borderInlineStartStyle:Pi.borderStyles("borderInlineStartStyle"),borderRightWidth:Pi.borderWidths("borderRightWidth"),borderInlineEndWidth:Pi.borderWidths("borderInlineEndWidth"),borderRightColor:Pi.colors("borderRightColor"),borderInlineEndColor:Pi.colors("borderInlineEndColor"),borderRightStyle:Pi.borderStyles("borderRightStyle"),borderInlineEndStyle:Pi.borderStyles("borderInlineEndStyle"),borderTopRadius:Pi.radii(["borderTopLeftRadius","borderTopRightRadius"]),borderBottomRadius:Pi.radii(["borderBottomLeftRadius","borderBottomRightRadius"]),borderLeftRadius:Pi.radii(["borderTopLeftRadius","borderBottomLeftRadius"]),borderRightRadius:Pi.radii(["borderTopRightRadius","borderBottomRightRadius"])};Object.assign(Ti,{rounded:Ti.borderRadius,roundedTop:Ti.borderTopRadius,roundedTopLeft:Ti.borderTopLeftRadius,roundedTopRight:Ti.borderTopRightRadius,roundedTopStart:Ti.borderStartStartRadius,roundedTopEnd:Ti.borderStartEndRadius,roundedBottom:Ti.borderBottomRadius,roundedBottomLeft:Ti.borderBottomLeftRadius,roundedBottomRight:Ti.borderBottomRightRadius,roundedBottomStart:Ti.borderEndStartRadius,roundedBottomEnd:Ti.borderEndEndRadius,roundedLeft:Ti.borderLeftRadius,roundedRight:Ti.borderRightRadius,roundedStart:Ti.borderInlineStartRadius,roundedEnd:Ti.borderInlineEndRadius,borderStart:Ti.borderInlineStart,borderEnd:Ti.borderInlineEnd,borderTopStartRadius:Ti.borderStartStartRadius,borderTopEndRadius:Ti.borderStartEndRadius,borderBottomStartRadius:Ti.borderEndStartRadius,borderBottomEndRadius:Ti.borderEndEndRadius,borderStartRadius:Ti.borderInlineStartRadius,borderEndRadius:Ti.borderInlineEndRadius,borderStartWidth:Ti.borderInlineStartWidth,borderEndWidth:Ti.borderInlineEndWidth,borderStartColor:Ti.borderInlineStartColor,borderEndColor:Ti.borderInlineEndColor,borderStartStyle:Ti.borderInlineStartStyle,borderEndStyle:Ti.borderInlineEndStyle});var Ai={color:Pi.colors("color"),textColor:Pi.colors("color"),fill:Pi.colors("fill"),stroke:Pi.colors("stroke")},Mi={boxShadow:Pi.shadows("boxShadow"),mixBlendMode:!0,blendMode:Pi.prop("mixBlendMode"),backgroundBlendMode:!0,bgBlendMode:Pi.prop("backgroundBlendMode"),opacity:!0};Object.assign(Mi,{shadow:Mi.boxShadow});var Oi={filter:{transform:_i.filter},blur:Pi.blur("--chakra-blur"),brightness:Pi.propT("--chakra-brightness",_i.brightness),contrast:Pi.propT("--chakra-contrast",_i.contrast),hueRotate:Pi.propT("--chakra-hue-rotate",_i.hueRotate),invert:Pi.propT("--chakra-invert",_i.invert),saturate:Pi.propT("--chakra-saturate",_i.saturate),dropShadow:Pi.propT("--chakra-drop-shadow",_i.dropShadow),backdropFilter:{transform:_i.backdropFilter},backdropBlur:Pi.blur("--chakra-backdrop-blur"),backdropBrightness:Pi.propT("--chakra-backdrop-brightness",_i.brightness),backdropContrast:Pi.propT("--chakra-backdrop-contrast",_i.contrast),backdropHueRotate:Pi.propT("--chakra-backdrop-hue-rotate",_i.hueRotate),backdropInvert:Pi.propT("--chakra-backdrop-invert",_i.invert),backdropSaturate:Pi.propT("--chakra-backdrop-saturate",_i.saturate)},zi={alignItems:!0,alignContent:!0,justifyItems:!0,justifyContent:!0,flexWrap:!0,flexDirection:{transform:_i.flexDirection},flex:!0,flexFlow:!0,flexGrow:!0,flexShrink:!0,flexBasis:Pi.sizes("flexBasis"),justifySelf:!0,alignSelf:!0,order:!0,placeItems:!0,placeContent:!0,placeSelf:!0,gap:Pi.space("gap"),rowGap:Pi.space("rowGap"),columnGap:Pi.space("columnGap")};Object.assign(zi,{flexDir:zi.flexDirection});var Fi={gridGap:Pi.space("gridGap"),gridColumnGap:Pi.space("gridColumnGap"),gridRowGap:Pi.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},ji={appearance:!0,cursor:!0,resize:!0,userSelect:!0,pointerEvents:!0,outline:{transform:_i.outline},outlineOffset:!0,outlineColor:Pi.colors("outlineColor")},Di={width:Pi.sizesT("width"),inlineSize:Pi.sizesT("inlineSize"),height:Pi.sizes("height"),blockSize:Pi.sizes("blockSize"),boxSize:Pi.sizes(["width","height"]),minWidth:Pi.sizes("minWidth"),minInlineSize:Pi.sizes("minInlineSize"),minHeight:Pi.sizes("minHeight"),minBlockSize:Pi.sizes("minBlockSize"),maxWidth:Pi.sizes("maxWidth"),maxInlineSize:Pi.sizes("maxInlineSize"),maxHeight:Pi.sizes("maxHeight"),maxBlockSize:Pi.sizes("maxBlockSize"),overflow:!0,overflowX:!0,overflowY:!0,overscrollBehavior:!0,overscrollBehaviorX:!0,overscrollBehaviorY:!0,display:!0,aspectRatio:!0,hideFrom:{scale:"breakpoints",transform:(e,t)=>{var n,r,o;const a=`@media screen and (min-width: ${null!=(o=null==(r=null==(n=t.__breakpoints)?void 0:n.get(e))?void 0:r.minW)?o:e})`;return{[a]:{display:"none"}}}},hideBelow:{scale:"breakpoints",transform:(e,t)=>{var n,r,o;const a=`@media screen and (max-width: ${null!=(o=null==(r=null==(n=t.__breakpoints)?void 0:n.get(e))?void 0:r._minW)?o:e})`;return{[a]:{display:"none"}}}},verticalAlign:!0,boxSizing:!0,boxDecorationBreak:!0,float:Pi.propT("float",_i.float),objectFit:!0,objectPosition:!0,visibility:!0,isolation:!0};Object.assign(Di,{w:Di.width,h:Di.height,minW:Di.minWidth,maxW:Di.maxWidth,minH:Di.minHeight,maxH:Di.maxHeight,overscroll:Di.overscrollBehavior,overscrollX:Di.overscrollBehaviorX,overscrollY:Di.overscrollBehaviorY});var Li={listStyleType:!0,listStylePosition:!0,listStylePos:Pi.prop("listStylePosition"),listStyleImage:!0,listStyleImg:Pi.prop("listStyleImage")},Bi=(e=>{const t=new WeakMap;return(n,r,o,a)=>{if(void 0===n)return e(n,r,o);t.has(n)||t.set(n,new Map);const i=t.get(n);if(i.has(r))return i.get(r);const s=e(n,r,o,a);return i.set(r,s),s}})(function(e,t,n,r){const o="string"==typeof t?t.split("."):[t];for(r=0;r<o.length&&e;r+=1)e=e[o[r]];return void 0===e?n:e}),Ni={border:"0px",clip:"rect(0, 0, 0, 0)",width:"1px",height:"1px",margin:"-1px",padding:"0px",overflow:"hidden",whiteSpace:"nowrap",position:"absolute"},Ii={position:"static",width:"auto",height:"auto",clip:"auto",padding:"0",margin:"0",overflow:"visible",whiteSpace:"normal"},$i=(e,t,n)=>{const r={},o=Bi(e,t,{});for(const e in o)e in n&&null!=n[e]||(r[e]=o[e]);return r},Vi={srOnly:{transform:e=>!0===e?Ni:"focusable"===e?Ii:{}},layerStyle:{processResult:!0,transform:(e,t,n)=>$i(t,`layerStyles.${e}`,n)},textStyle:{processResult:!0,transform:(e,t,n)=>$i(t,`textStyles.${e}`,n)},apply:{processResult:!0,transform:(e,t,n)=>$i(t,e,n)}},Wi={position:!0,pos:Pi.prop("position"),zIndex:Pi.prop("zIndex","zIndices"),inset:Pi.spaceT("inset"),insetX:Pi.spaceT(["left","right"]),insetInline:Pi.spaceT("insetInline"),insetY:Pi.spaceT(["top","bottom"]),insetBlock:Pi.spaceT("insetBlock"),top:Pi.spaceT("top"),insetBlockStart:Pi.spaceT("insetBlockStart"),bottom:Pi.spaceT("bottom"),insetBlockEnd:Pi.spaceT("insetBlockEnd"),left:Pi.spaceT("left"),insetInlineStart:Pi.logical({scale:"space",property:{ltr:"left",rtl:"right"}}),right:Pi.spaceT("right"),insetInlineEnd:Pi.logical({scale:"space",property:{ltr:"right",rtl:"left"}})};Object.assign(Wi,{insetStart:Wi.insetInlineStart,insetEnd:Wi.insetInlineEnd});var Hi={ring:{transform:_i.ring},ringColor:Pi.colors("--chakra-ring-color"),ringOffset:Pi.prop("--chakra-ring-offset-width"),ringOffsetColor:Pi.colors("--chakra-ring-offset-color"),ringInset:Pi.prop("--chakra-ring-inset")},Ui={margin:Pi.spaceT("margin"),marginTop:Pi.spaceT("marginTop"),marginBlockStart:Pi.spaceT("marginBlockStart"),marginRight:Pi.spaceT("marginRight"),marginInlineEnd:Pi.spaceT("marginInlineEnd"),marginBottom:Pi.spaceT("marginBottom"),marginBlockEnd:Pi.spaceT("marginBlockEnd"),marginLeft:Pi.spaceT("marginLeft"),marginInlineStart:Pi.spaceT("marginInlineStart"),marginX:Pi.spaceT(["marginInlineStart","marginInlineEnd"]),marginInline:Pi.spaceT("marginInline"),marginY:Pi.spaceT(["marginTop","marginBottom"]),marginBlock:Pi.spaceT("marginBlock"),padding:Pi.space("padding"),paddingTop:Pi.space("paddingTop"),paddingBlockStart:Pi.space("paddingBlockStart"),paddingRight:Pi.space("paddingRight"),paddingBottom:Pi.space("paddingBottom"),paddingBlockEnd:Pi.space("paddingBlockEnd"),paddingLeft:Pi.space("paddingLeft"),paddingInlineStart:Pi.space("paddingInlineStart"),paddingInlineEnd:Pi.space("paddingInlineEnd"),paddingX:Pi.space(["paddingInlineStart","paddingInlineEnd"]),paddingInline:Pi.space("paddingInline"),paddingY:Pi.space(["paddingTop","paddingBottom"]),paddingBlock:Pi.space("paddingBlock")};Object.assign(Ui,{m:Ui.margin,mt:Ui.marginTop,mr:Ui.marginRight,me:Ui.marginInlineEnd,marginEnd:Ui.marginInlineEnd,mb:Ui.marginBottom,ml:Ui.marginLeft,ms:Ui.marginInlineStart,marginStart:Ui.marginInlineStart,mx:Ui.marginX,my:Ui.marginY,p:Ui.padding,pt:Ui.paddingTop,py:Ui.paddingY,px:Ui.paddingX,pb:Ui.paddingBottom,pl:Ui.paddingLeft,ps:Ui.paddingInlineStart,paddingStart:Ui.paddingInlineStart,pr:Ui.paddingRight,pe:Ui.paddingInlineEnd,paddingEnd:Ui.paddingInlineEnd});var qi={textDecorationColor:Pi.colors("textDecorationColor"),textDecoration:!0,textDecor:{property:"textDecoration"},textDecorationLine:!0,textDecorationStyle:!0,textDecorationThickness:!0,textUnderlineOffset:!0,textShadow:Pi.shadows("textShadow")},Zi={clipPath:!0,transform:Pi.propT("transform",_i.transform),transformOrigin:!0,translateX:Pi.spaceT("--chakra-translate-x"),translateY:Pi.spaceT("--chakra-translate-y"),skewX:Pi.degreeT("--chakra-skew-x"),skewY:Pi.degreeT("--chakra-skew-y"),scaleX:Pi.prop("--chakra-scale-x"),scaleY:Pi.prop("--chakra-scale-y"),scale:Pi.prop(["--chakra-scale-x","--chakra-scale-y"]),rotate:Pi.degreeT("--chakra-rotate")},Qi={transition:!0,transitionDelay:!0,animation:!0,willChange:!0,transitionDuration:Pi.prop("transitionDuration","transition.duration"),transitionProperty:Pi.prop("transitionProperty","transition.property"),transitionTimingFunction:Pi.prop("transitionTimingFunction","transition.easing")},Ki={fontFamily:Pi.prop("fontFamily","fonts"),fontSize:Pi.prop("fontSize","fontSizes",_i.px),fontWeight:Pi.prop("fontWeight","fontWeights"),lineHeight:Pi.prop("lineHeight","lineHeights"),letterSpacing:Pi.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)"},property:"--chakra-line-clamp"}},Yi={scrollBehavior:!0,scrollSnapAlign:!0,scrollSnapStop:!0,scrollSnapType:!0,scrollMargin:Pi.spaceT("scrollMargin"),scrollMarginTop:Pi.spaceT("scrollMarginTop"),scrollMarginBottom:Pi.spaceT("scrollMarginBottom"),scrollMarginLeft:Pi.spaceT("scrollMarginLeft"),scrollMarginRight:Pi.spaceT("scrollMarginRight"),scrollMarginX:Pi.spaceT(["scrollMarginLeft","scrollMarginRight"]),scrollMarginY:Pi.spaceT(["scrollMarginTop","scrollMarginBottom"]),scrollPadding:Pi.spaceT("scrollPadding"),scrollPaddingTop:Pi.spaceT("scrollPaddingTop"),scrollPaddingBottom:Pi.spaceT("scrollPaddingBottom"),scrollPaddingLeft:Pi.spaceT("scrollPaddingLeft"),scrollPaddingRight:Pi.spaceT("scrollPaddingRight"),scrollPaddingX:Pi.spaceT(["scrollPaddingLeft","scrollPaddingRight"]),scrollPaddingY:Pi.spaceT(["scrollPaddingTop","scrollPaddingBottom"])};function Gi(e){return u(e)&&e.reference?e.reference:String(e)}var Xi=(e,...t)=>t.map(Gi).join(` ${e} `).replace(/calc/g,""),Ji=(...e)=>`calc(${Xi("+",...e)})`,es=(...e)=>`calc(${Xi("-",...e)})`,ts=(...e)=>`calc(${Xi("*",...e)})`,ns=(...e)=>`calc(${Xi("/",...e)})`,rs=e=>{const t=Gi(e);return null==t||Number.isNaN(parseFloat(t))?ts(t,-1):String(t).startsWith("-")?String(t).slice(1):`-${t}`},os=Object.assign(e=>({add:(...t)=>os(Ji(e,...t)),subtract:(...t)=>os(es(e,...t)),multiply:(...t)=>os(ts(e,...t)),divide:(...t)=>os(ns(e,...t)),negate:()=>os(rs(e)),toString:()=>e.toString()}),{add:Ji,subtract:es,multiply:ts,divide:ns,negate:rs});function as(e,t){return`var(${e}${t?`, ${t}`:""})`}function is(e,t=""){return function(e){return function(e){return e.replace(/[!-,/:-@[-^`{-~]/g,"\\$&")}(function(e){return e.includes("\\.")||Number.isInteger(parseFloat(e.toString()))?e:e.replace(".","\\.")}(function(e,t="-"){return e.replace(/\s+/g,t)}(e.toString())))}(`--${function(e,t=""){return[t,e].filter(Boolean).join("-")}(e,t)}`)}function ss(e,t,n){const r=is(e,n);return{variable:r,reference:as(r,t)}}function ls(e){const t=null==e?0:e.length;return t?e[t-1]:void 0}function cs(e){if(null==e)return e;const{unitless:t}=function(e){const t=parseFloat(e.toString()),n=e.toString().replace(String(t),"");return{unitless:!n,value:t,unit:n}}(e);return t||"number"==typeof e?`${e}px`:e}var us=(e,t)=>parseInt(e[1],10)>parseInt(t[1],10)?1:-1,ds=e=>Object.fromEntries(Object.entries(e).sort(us));function fs(e){const t=ds(e);return Object.assign(Object.values(t),t)}function ps(e){var t;return e?"number"==typeof(e=null!=(t=cs(e))?t:e)?`${e+-.02}`:e.replace(/(\d+\.?\d*)/u,e=>`${parseFloat(e)+-.02}`):e}function hs(e,t){const n=["@media screen"];return e&&n.push("and",`(min-width: ${cs(e)})`),t&&n.push("and",`(max-width: ${cs(t)})`),n.join(" ")}function ms(e){var t;if(!e)return null;e.base=null!=(t=e.base)?t:"0px";const n=fs(e),r=Object.entries(e).sort(us).map(([e,t],n,r)=>{var o;let[,a]=null!=(o=r[n+1])?o:[];return a=parseFloat(a)>0?ps(a):void 0,{_minW:ps(t),breakpoint:e,minW:t,maxW:a,maxWQuery:hs(null,a),minWQuery:hs(t),minMaxQuery:hs(t,a)}}),o=function(e){const t=Object.keys(ds(e));return new Set(t)}(e),a=Array.from(o.values());return{keys:o,normalized:n,isResponsive(e){const t=Object.keys(e);return t.length>0&&t.every(e=>o.has(e))},asObject:ds(e),asArray:fs(e),details:r,get:e=>r.find(t=>t.breakpoint===e),media:[null,...n.map(e=>hs(e)).slice(1)],toArrayValue(e){if(!u(e))throw new Error("toArrayValue: value must be an object");const t=a.map(t=>{var n;return null!=(n=e[t])?n:null});for(;null===ls(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,n)=>{const r=a[n];return null!=r&&null!=t&&(e[r]=t),e},{})}}}var vs=(e,t)=>`${e}:hover ${t}, ${e}[data-hover] ${t}`,gs=(e,t)=>`${e}:focus ${t}, ${e}[data-focus] ${t}`,ys=(e,t)=>`${e}:focus-visible ${t}`,bs=(e,t)=>`${e}:focus-within ${t}`,ws=(e,t)=>`${e}:active ${t}, ${e}[data-active] ${t}`,xs=(e,t)=>`${e}:disabled ${t}, ${e}[data-disabled] ${t}`,Ss=(e,t)=>`${e}:invalid ${t}, ${e}[data-invalid] ${t}`,ks=(e,t)=>`${e}:checked ${t}, ${e}[data-checked] ${t}`,Es=e=>_s(t=>e(t,"&"),"[role=group]","[data-group]",".group"),Cs=e=>_s(t=>e(t,"~ &"),"[data-peer]",".peer"),_s=(e,...t)=>t.map(e).join(", "),Ps={_hover:"&:hover, &[data-hover]",_active:"&:active, &[data-active]",_focus:"&:focus, &[data-focus]",_highlighted:"&[data-highlighted]",_focusWithin:"&:focus-within",_focusVisible:"&:focus-visible, &[data-focus-visible]",_disabled:"&:disabled, &[disabled], &[aria-disabled=true], &[data-disabled]",_readOnly:"&[aria-readonly=true], &[readonly], &[data-readonly]",_before:"&::before",_after:"&::after",_empty:"&:empty",_expanded:"&[aria-expanded=true], &[data-expanded]",_checked:"&[aria-checked=true], &[data-checked]",_grabbed:"&[aria-grabbed=true], &[data-grabbed]",_pressed:"&[aria-pressed=true], &[data-pressed]",_invalid:"&[aria-invalid=true], &[data-invalid]",_valid:"&[data-valid], &[data-state=valid]",_loading:"&[data-loading], &[aria-busy=true]",_selected:"&[aria-selected=true], &[data-selected]",_hidden:"&[hidden], &[data-hidden]",_autofill:"&:-webkit-autofill",_even:"&:nth-of-type(even)",_odd:"&:nth-of-type(odd)",_first:"&:first-of-type",_firstLetter:"&::first-letter",_last:"&:last-of-type",_notFirst:"&:not(:first-of-type)",_notLast:"&:not(:last-of-type)",_visited:"&:visited",_activeLink:"&[aria-current=page]",_activeStep:"&[aria-current=step]",_indeterminate:"&:indeterminate, &[aria-checked=mixed], &[data-indeterminate]",_groupHover:Es(vs),_peerHover:Cs(vs),_groupFocus:Es(gs),_peerFocus:Cs(gs),_groupFocusVisible:Es(ys),_peerFocusVisible:Cs(ys),_groupActive:Es(ws),_peerActive:Cs(ws),_groupDisabled:Es(xs),_peerDisabled:Cs(xs),_groupInvalid:Es(Ss),_peerInvalid:Cs(Ss),_groupChecked:Es(ks),_peerChecked:Cs(ks),_groupFocusWithin:Es(bs),_peerFocusWithin:Cs(bs),_peerPlaceholderShown:Cs((e,t)=>`${e}:placeholder-shown ${t}`),_placeholder:"&::placeholder",_placeholderShown:"&:placeholder-shown",_fullScreen:"&:fullscreen",_selection:"&::selection",_rtl:"[dir=rtl] &, &[dir=rtl]",_ltr:"[dir=ltr] &, &[dir=ltr]",_mediaDark:"@media (prefers-color-scheme: dark)",_mediaReduceMotion:"@media (prefers-reduced-motion: reduce)",_dark:".chakra-ui-dark &:not([data-theme]),[data-theme=dark] &:not([data-theme]),&[data-theme=dark]",_light:".chakra-ui-light &:not([data-theme]),[data-theme=light] &:not([data-theme]),&[data-theme=light]",_horizontal:"&[data-orientation=horizontal]",_vertical:"&[data-orientation=vertical]"},Rs=Object.keys(Ps);function Ts(e,t){return ss(String(e).replace(/\./g,"-"),void 0,t)}function As(e,t,n={}){const{stop:r,getKey:o}=n;return function e(n,a=[]){var i;if(function(e){return"object"==typeof e&&null!=e&&!Array.isArray(e)}(n)||Array.isArray(n)){const s={};for(const[l,c]of Object.entries(n)){const u=null!=(i=null==o?void 0:o(l))?i:l,d=[...a,u];if(null==r?void 0:r(n,d))return t(n,a);s[u]=e(c,d)}return s}return t(n,a)}(e)}var Ms=["colors","borders","borderWidths","borderStyles","fonts","fontSizes","fontWeights","gradients","letterSpacings","lineHeights","radii","space","shadows","sizes","zIndices","transition","blur","breakpoints"],Os=e=>Rs.includes(e)||"default"===e;var zs=ui({},Ri,Ti,Ai,zi,Di,Oi,Hi,ji,Fi,Vi,Wi,Mi,Ui,Yi,Ki,qi,Zi,Li,Qi),Fs=Object.assign({},Ui,Di,zi,Fi,Wi),js=(Object.keys(Fs),[...Object.keys(zs),...Rs]),Ds={...zs,...Ps},Ls=e=>e in Ds,Bs=(e,t)=>e.startsWith("--")&&"string"==typeof t&&!function(e){return/^var\(--.+\)$/.test(e)}(t),Ns=(e,t)=>{var n,r;if(null==t)return t;const o=t=>{var n,r;return null==(r=null==(n=e.__cssMap)?void 0:n[t])?void 0:r.varRef},a=e=>{var t;return null!=(t=o(e))?t:e},[i,s]=function(e){const t=[];let n="",r=!1;for(let o=0;o<e.length;o++){const a=e[o];"("===a?(r=!0,n+=a):")"===a?(r=!1,n+=a):","!==a||r?n+=a:(t.push(n),n="")}return n=n.trim(),n&&t.push(n),t}(t);return null!=(r=null!=(n=o(i))?n:a(s))?r:a(t)};var Is=e=>t=>function(e){const{configs:t={},pseudos:n={},theme:r}=e,o=(e,a=!1)=>{var i,s,l;const c=d(e,r),f=(e=>t=>{if(!t.__breakpoints)return e;const{isResponsive:n,toArrayValue:r,media:o}=t.__breakpoints,a={};for(const i in e){let s=d(e[i],t);if(null==s)continue;if(s=u(s)&&n(s)?r(s):s,!Array.isArray(s)){a[i]=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?(a[t]=a[t]||{},null!=s[e]&&(a[t][i]=s[e])):a[i]=s[e]}}return a})(c)(r);let p={};for(let e in f){let h=d(f[e],r);e in n&&(e=n[e]),Bs(e,h)&&(h=Ns(r,h));let m=t[e];if(!0===m&&(m={property:e}),u(h)){p[e]=null!=(i=p[e])?i:{},p[e]=ui({},p[e],o(h,!0));continue}let v=null!=(l=null==(s=null==m?void 0:m.transform)?void 0:s.call(m,h,r,c))?l:h;v=(null==m?void 0:m.processResult)?o(v,!0):v;const g=d(null==m?void 0:m.property,r);if(!a&&(null==m?void 0:m.static)){const e=d(m.static,r);p=ui({},p,e)}if(g&&Array.isArray(g))for(const e of g)p[e]=v;else g?"&"===g&&u(v)?p=ui({},p,v):p[g]=v:u(v)?p=ui({},p,v):p[e]=v}return p};return o}({theme:t,pseudos:Ps,configs:zs})(e);function $s(e){return{definePartsStyle:e=>e,defineMultiStyleConfig:t=>({parts:e,...t})}}function Vs(e,t){for(let n=t+1;n<e.length;n++)if(null!=e[n])return n;return-1}function Ws(e){return function(e,t=[]){const n=Object.assign({},e);for(const e of t)e in n&&delete n[e];return n}(e,["styleConfig","size","variant","colorScheme"])}var Hs=new Set([...js,"textStyle","layerStyle","apply","noOfLines","focusBorderColor","errorBorderColor","as","__css","css","sx"]),Us=new Set(["htmlWidth","htmlHeight","htmlSize","htmlTranslate"]);function qs(e){return Us.has(e)||!Hs.has(e)}var Zs=(0,a.createContext)({});function Qs(){const e=(0,a.useContext)(Zs);if(void 0===e)throw new Error("useColorMode must be used within a ColorModeProvider");return e}Zs.displayName="ColorModeContext";var Ks=(e=>{const t=new WeakMap;return(n,r,o,a)=>{if(void 0===n)return e(n,r,o);t.has(n)||t.set(n,new Map);const i=t.get(n);if(i.has(r))return i.get(r);const s=e(n,r,o,a);return i.set(r,s),s}})(function(e,t,n,r){const o="string"==typeof t?t.split("."):[t];for(r=0;r<o.length&&e;r+=1)e=e[o[r]];return void 0===e?n:e});function Ys(e,t){const n={};return Object.keys(e).forEach(r=>{const o=e[r];t(o,r,e)&&(n[r]=o)}),n}var Gs=e=>Ys(e,e=>null!=e);function Xs(e,...t){return"function"==typeof e?e(...t):e}function Js(...e){return function(t){e.some(e=>(null==e||e(t),null==t?void 0:t.defaultPrevented))}}function el(){return el=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},el.apply(null,arguments)}function tl(e){var t=Object.create(null);return function(n){return void 0===t[n]&&(t[n]=e(n)),t[n]}}var nl=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|disableRemotePlayback|download|draggable|encType|enterKeyHint|fetchpriority|fetchPriority|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|popover|popoverTarget|popoverTargetAction|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,rl=tl(function(e){return nl.test(e)||111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&e.charCodeAt(2)<91}),ol=function(){function e(e){var t=this;this._insertTag=function(e){var n;n=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,n),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 n=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{n.insertRule(e,n.cssRules.length)}catch(e){}}else t.appendChild(document.createTextNode(e));this.ctr++},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}(),al=Math.abs,il=String.fromCharCode,sl=Object.assign;function ll(e){return e.trim()}function cl(e,t,n){return e.replace(t,n)}function ul(e,t){return e.indexOf(t)}function dl(e,t){return 0|e.charCodeAt(t)}function fl(e,t,n){return e.slice(t,n)}function pl(e){return e.length}function hl(e){return e.length}function ml(e,t){return t.push(e),e}var vl=1,gl=1,yl=0,bl=0,wl=0,xl="";function Sl(e,t,n,r,o,a,i){return{value:e,root:t,parent:n,type:r,props:o,children:a,line:vl,column:gl,length:i,return:""}}function kl(e,t){return sl(Sl("",null,null,"",null,null,0),e,{length:-e.length},t)}function El(){return wl=bl>0?dl(xl,--bl):0,gl--,10===wl&&(gl=1,vl--),wl}function Cl(){return wl=bl<yl?dl(xl,bl++):0,gl++,10===wl&&(gl=1,vl++),wl}function _l(){return dl(xl,bl)}function Pl(){return bl}function Rl(e,t){return fl(xl,e,t)}function Tl(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 Al(e){return vl=gl=1,yl=pl(xl=e),bl=0,[]}function Ml(e){return xl="",e}function Ol(e){return ll(Rl(bl-1,jl(91===e?e+2:40===e?e+1:e)))}function zl(e){for(;(wl=_l())&&wl<33;)Cl();return Tl(e)>2||Tl(wl)>3?"":" "}function Fl(e,t){for(;--t&&Cl()&&!(wl<48||wl>102||wl>57&&wl<65||wl>70&&wl<97););return Rl(e,Pl()+(t<6&&32==_l()&&32==Cl()))}function jl(e){for(;Cl();)switch(wl){case e:return bl;case 34:case 39:34!==e&&39!==e&&jl(wl);break;case 40:41===e&&jl(e);break;case 92:Cl()}return bl}function Dl(e,t){for(;Cl()&&e+wl!==57&&(e+wl!==84||47!==_l()););return"/*"+Rl(t,bl-1)+"*"+il(47===e?e:Cl())}function Ll(e){for(;!Tl(_l());)Cl();return Rl(e,bl)}var Bl="-ms-",Nl="-moz-",Il="-webkit-",$l="comm",Vl="rule",Wl="decl",Hl="@keyframes";function Ul(e,t){for(var n="",r=hl(e),o=0;o<r;o++)n+=t(e[o],o,e,t)||"";return n}function ql(e,t,n,r){switch(e.type){case"@layer":if(e.children.length)break;case"@import":case Wl:return e.return=e.return||e.value;case $l:return"";case Hl:return e.return=e.value+"{"+Ul(e.children,r)+"}";case Vl:e.value=e.props.join(",")}return pl(n=Ul(e.children,r))?e.return=e.value+"{"+n+"}":""}function Zl(e){return Ml(Ql("",null,null,null,[""],e=Al(e),0,[0],e))}function Ql(e,t,n,r,o,a,i,s,l){for(var c=0,u=0,d=i,f=0,p=0,h=0,m=1,v=1,g=1,y=0,b="",w=o,x=a,S=r,k=b;v;)switch(h=y,y=Cl()){case 40:if(108!=h&&58==dl(k,d-1)){-1!=ul(k+=cl(Ol(y),"&","&\f"),"&\f")&&(g=-1);break}case 34:case 39:case 91:k+=Ol(y);break;case 9:case 10:case 13:case 32:k+=zl(h);break;case 92:k+=Fl(Pl()-1,7);continue;case 47:switch(_l()){case 42:case 47:ml(Yl(Dl(Cl(),Pl()),t,n),l);break;default:k+="/"}break;case 123*m:s[c++]=pl(k)*g;case 125*m:case 59:case 0:switch(y){case 0:case 125:v=0;case 59+u:-1==g&&(k=cl(k,/\f/g,"")),p>0&&pl(k)-d&&ml(p>32?Gl(k+";",r,n,d-1):Gl(cl(k," ","")+";",r,n,d-2),l);break;case 59:k+=";";default:if(ml(S=Kl(k,t,n,c,u,o,s,b,w=[],x=[],d),a),123===y)if(0===u)Ql(k,t,S,S,w,a,d,s,x);else switch(99===f&&110===dl(k,3)?100:f){case 100:case 108:case 109:case 115:Ql(e,S,S,r&&ml(Kl(e,S,S,0,0,o,s,b,o,w=[],d),x),o,x,d,s,r?w:x);break;default:Ql(k,S,S,S,[""],x,0,s,x)}}c=u=p=0,m=g=1,b=k="",d=i;break;case 58:d=1+pl(k),p=h;default:if(m<1)if(123==y)--m;else if(125==y&&0==m++&&125==El())continue;switch(k+=il(y),y*m){case 38:g=u>0?1:(k+="\f",-1);break;case 44:s[c++]=(pl(k)-1)*g,g=1;break;case 64:45===_l()&&(k+=Ol(Cl())),f=_l(),u=d=pl(b=k+=Ll(Pl())),y++;break;case 45:45===h&&2==pl(k)&&(m=0)}}return a}function Kl(e,t,n,r,o,a,i,s,l,c,u){for(var d=o-1,f=0===o?a:[""],p=hl(f),h=0,m=0,v=0;h<r;++h)for(var g=0,y=fl(e,d+1,d=al(m=i[h])),b=e;g<p;++g)(b=ll(m>0?f[g]+" "+y:cl(y,/&\f/g,f[g])))&&(l[v++]=b);return Sl(e,t,n,0===o?Vl:s,l,c,u)}function Yl(e,t,n){return Sl(e,t,n,$l,il(wl),fl(e,2,-2),0)}function Gl(e,t,n,r){return Sl(e,t,n,Wl,fl(e,0,r),fl(e,r+1,-1),r)}var Xl=function(e,t,n){for(var r=0,o=0;r=o,o=_l(),38===r&&12===o&&(t[n]=1),!Tl(o);)Cl();return Rl(e,bl)},Jl=new WeakMap,ec=function(e){if("rule"===e.type&&e.parent&&!(e.length<1)){for(var t=e.value,n=e.parent,r=e.column===n.column&&e.line===n.line;"rule"!==n.type;)if(!(n=n.parent))return;if((1!==e.props.length||58===t.charCodeAt(0)||Jl.get(n))&&!r){Jl.set(e,!0);for(var o=[],a=function(e,t){return Ml(function(e,t){var n=-1,r=44;do{switch(Tl(r)){case 0:38===r&&12===_l()&&(t[n]=1),e[n]+=Xl(bl-1,t,n);break;case 2:e[n]+=Ol(r);break;case 4:if(44===r){e[++n]=58===_l()?"&\f":"",t[n]=e[n].length;break}default:e[n]+=il(r)}}while(r=Cl());return e}(Al(e),t))}(t,o),i=n.props,s=0,l=0;s<a.length;s++)for(var c=0;c<i.length;c++,l++)e.props[l]=o[s]?a[s].replace(/&\f/g,i[c]):i[c]+" "+a[s]}}},tc=function(e){if("decl"===e.type){var t=e.value;108===t.charCodeAt(0)&&98===t.charCodeAt(2)&&(e.return="",e.value="")}};function nc(e,t){switch(function(e,t){return 45^dl(e,0)?(((t<<2^dl(e,0))<<2^dl(e,1))<<2^dl(e,2))<<2^dl(e,3):0}(e,t)){case 5103:return Il+"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 Il+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return Il+e+Nl+e+Bl+e+e;case 6828:case 4268:return Il+e+Bl+e+e;case 6165:return Il+e+Bl+"flex-"+e+e;case 5187:return Il+e+cl(e,/(\w+).+(:[^]+)/,Il+"box-$1$2"+Bl+"flex-$1$2")+e;case 5443:return Il+e+Bl+"flex-item-"+cl(e,/flex-|-self/,"")+e;case 4675:return Il+e+Bl+"flex-line-pack"+cl(e,/align-content|flex-|-self/,"")+e;case 5548:return Il+e+Bl+cl(e,"shrink","negative")+e;case 5292:return Il+e+Bl+cl(e,"basis","preferred-size")+e;case 6060:return Il+"box-"+cl(e,"-grow","")+Il+e+Bl+cl(e,"grow","positive")+e;case 4554:return Il+cl(e,/([^-])(transform)/g,"$1"+Il+"$2")+e;case 6187:return cl(cl(cl(e,/(zoom-|grab)/,Il+"$1"),/(image-set)/,Il+"$1"),e,"")+e;case 5495:case 3959:return cl(e,/(image-set\([^]*)/,Il+"$1$`$1");case 4968:return cl(cl(e,/(.+:)(flex-)?(.*)/,Il+"box-pack:$3"+Bl+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+Il+e+e;case 4095:case 3583:case 4068:case 2532:return cl(e,/(.+)-inline(.+)/,Il+"$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(pl(e)-1-t>6)switch(dl(e,t+1)){case 109:if(45!==dl(e,t+4))break;case 102:return cl(e,/(.+:)(.+)-([^]+)/,"$1"+Il+"$2-$3$1"+Nl+(108==dl(e,t+3)?"$3":"$2-$3"))+e;case 115:return~ul(e,"stretch")?nc(cl(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(115!==dl(e,t+1))break;case 6444:switch(dl(e,pl(e)-3-(~ul(e,"!important")&&10))){case 107:return cl(e,":",":"+Il)+e;case 101:return cl(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+Il+(45===dl(e,14)?"inline-":"")+"box$3$1"+Il+"$2$3$1"+Bl+"$2box$3")+e}break;case 5936:switch(dl(e,t+11)){case 114:return Il+e+Bl+cl(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return Il+e+Bl+cl(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return Il+e+Bl+cl(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return Il+e+Bl+e+e}return e}var rc=[function(e,t,n,r){if(e.length>-1&&!e.return)switch(e.type){case Wl:e.return=nc(e.value,e.length);break;case Hl:return Ul([kl(e,{value:cl(e.value,"@","@"+Il)})],r);case Vl:if(e.length)return function(e,t){return e.map(t).join("")}(e.props,function(t){switch(function(e){return(e=/(::plac\w+|:read-\w+)/.exec(e))?e[0]:e}(t)){case":read-only":case":read-write":return Ul([kl(e,{props:[cl(t,/:(read-\w+)/,":-moz-$1")]})],r);case"::placeholder":return Ul([kl(e,{props:[cl(t,/:(plac\w+)/,":"+Il+"input-$1")]}),kl(e,{props:[cl(t,/:(plac\w+)/,":-moz-$1")]}),kl(e,{props:[cl(t,/:(plac\w+)/,Bl+"input-$1")]})],r)}return""})}}],oc=function(e){var t=e.key;if("css"===t){var n=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(n,function(e){-1!==e.getAttribute("data-emotion").indexOf(" ")&&(document.head.appendChild(e),e.setAttribute("data-s",""))})}var r,o,a=e.stylisPlugins||rc,i={},s=[];r=e.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+t+' "]'),function(e){for(var t=e.getAttribute("data-emotion").split(" "),n=1;n<t.length;n++)i[t[n]]=!0;s.push(e)});var l,c,u,d,f=[ql,(d=function(e){l.insert(e)},function(e){e.root||(e=e.return)&&d(e)})],p=(c=[ec,tc].concat(a,f),u=hl(c),function(e,t,n,r){for(var o="",a=0;a<u;a++)o+=c[a](e,t,n,r)||"";return o});o=function(e,t,n,r){l=n,function(e){Ul(Zl(e),p)}(e?e+"{"+t.styles+"}":t.styles),r&&(h.inserted[t.name]=!0)};var h={key:t,sheet:new ol({key:t,container:r,nonce:e.nonce,speedy:e.speedy,prepend:e.prepend,insertionPoint:e.insertionPoint}),nonce:e.nonce,inserted:i,registered:{},insert:o};return h.sheet.hydrate(s),h},ac=function(e){var t=new WeakMap;return function(n){if(t.has(n))return t.get(n);var r=e(n);return t.set(n,r),r}},ic={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},sc=/[A-Z]|^ms/g,lc=/_EMO_([^_]+?)_([^]*?)_EMO_/g,cc=function(e){return 45===e.charCodeAt(1)},uc=function(e){return null!=e&&"boolean"!=typeof e},dc=tl(function(e){return cc(e)?e:e.replace(sc,"-$&").toLowerCase()}),fc=function(e,t){switch(e){case"animation":case"animationName":if("string"==typeof t)return t.replace(lc,function(e,t,n){return hc={name:t,styles:n,next:hc},t})}return 1===ic[e]||cc(e)||"number"!=typeof t||0===t?t:t+"px"};function pc(e,t,n){if(null==n)return"";var r=n;if(void 0!==r.__emotion_styles)return r;switch(typeof n){case"boolean":return"";case"object":var o=n;if(1===o.anim)return hc={name:o.name,styles:o.styles,next:hc},o.name;var a=n;if(void 0!==a.styles){var i=a.next;if(void 0!==i)for(;void 0!==i;)hc={name:i.name,styles:i.styles,next:hc},i=i.next;return a.styles+";"}return function(e,t,n){var r="";if(Array.isArray(n))for(var o=0;o<n.length;o++)r+=pc(e,t,n[o])+";";else for(var a in n){var i=n[a];if("object"!=typeof i){var s=i;null!=t&&void 0!==t[s]?r+=a+"{"+t[s]+"}":uc(s)&&(r+=dc(a)+":"+fc(a,s)+";")}else if(!Array.isArray(i)||"string"!=typeof i[0]||null!=t&&void 0!==t[i[0]]){var l=pc(e,t,i);switch(a){case"animation":case"animationName":r+=dc(a)+":"+l+";";break;default:r+=a+"{"+l+"}"}}else for(var c=0;c<i.length;c++)uc(i[c])&&(r+=dc(a)+":"+fc(a,i[c])+";")}return r}(e,t,n);case"function":if(void 0!==e){var s=hc,l=n(e);return hc=s,pc(e,t,l)}}var c=n;if(null==t)return c;var u=t[c];return void 0!==u?u:c}var hc,mc=/label:\s*([^\s;{]+)\s*(;|$)/g;function vc(e,t,n){if(1===e.length&&"object"==typeof e[0]&&null!==e[0]&&void 0!==e[0].styles)return e[0];var r=!0,o="";hc=void 0;var a=e[0];null==a||void 0===a.raw?(r=!1,o+=pc(n,t,a)):o+=a[0];for(var i=1;i<e.length;i++)o+=pc(n,t,e[i]),r&&(o+=a[i]);mc.lastIndex=0;for(var s,l="";null!==(s=mc.exec(o));)l+="-"+s[1];var c=function(e){for(var t,n=0,r=0,o=e.length;o>=4;++r,o-=4)t=1540483477*(65535&(t=255&e.charCodeAt(r)|(255&e.charCodeAt(++r))<<8|(255&e.charCodeAt(++r))<<16|(255&e.charCodeAt(++r))<<24))+(59797*(t>>>16)<<16),n=1540483477*(65535&(t^=t>>>24))+(59797*(t>>>16)<<16)^1540483477*(65535&n)+(59797*(n>>>16)<<16);switch(o){case 3:n^=(255&e.charCodeAt(r+2))<<16;case 2:n^=(255&e.charCodeAt(r+1))<<8;case 1:n=1540483477*(65535&(n^=255&e.charCodeAt(r)))+(59797*(n>>>16)<<16)}return(((n=1540483477*(65535&(n^=n>>>13))+(59797*(n>>>16)<<16))^n>>>15)>>>0).toString(36)}(o)+l;return{name:c,styles:o,next:hc}}var gc=!!a.useInsertionEffect&&a.useInsertionEffect,yc=gc||function(e){return e()},bc=gc||a.useLayoutEffect,wc=a.createContext("undefined"!=typeof HTMLElement?oc({key:"css"}):null);wc.Provider;var xc,Sc=function(e){return(0,a.forwardRef)(function(t,n){var r=(0,a.useContext)(wc);return e(t,r,n)})},kc=a.createContext({}),Ec=ac(function(e){return ac(function(t){return function(e,t){return"function"==typeof t?t(e):el({},e,t)}(e,t)})}),Cc=function(e){var t=a.useContext(kc);return e.theme!==t&&(t=Ec(t)(e.theme)),a.createElement(kc.Provider,{value:t},e.children)},_c=function(e,t,n){var r=e.key+"-"+t.name;!1===n&&void 0===e.registered[r]&&(e.registered[r]=t.styles)},Pc=function(e,t,n){_c(e,t,n);var r=e.key+"-"+t.name;if(void 0===e.inserted[t.name]){var o=t;do{e.insert(t===o?"."+r:"",o,e.sheet,!0),o=o.next}while(void 0!==o)}},Rc=rl,Tc=function(e){return"theme"!==e},Ac=function(e){return"string"==typeof e&&e.charCodeAt(0)>96?Rc:Tc},Mc=function(e,t,n){var r;if(t){var o=t.shouldForwardProp;r=e.__emotion_forwardProp&&o?function(t){return e.__emotion_forwardProp(t)&&o(t)}:o}return"function"!=typeof r&&n&&(r=e.__emotion_forwardProp),r},Oc=function(e){var t=e.cache,n=e.serialized,r=e.isStringTag;return _c(t,n,r),yc(function(){return Pc(t,n,r)}),null},zc=function e(t,n){var r,o,i=t.__emotion_real===t,s=i&&t.__emotion_base||t;void 0!==n&&(r=n.label,o=n.target);var l=Mc(t,n,i),c=l||Ac(s),u=!c("as");return function(){var d=arguments,f=i&&void 0!==t.__emotion_styles?t.__emotion_styles.slice(0):[];if(void 0!==r&&f.push("label:"+r+";"),null==d[0]||void 0===d[0].raw)f.push.apply(f,d);else{f.push(d[0][0]);for(var p=d.length,h=1;h<p;h++)f.push(d[h],d[0][h])}var m=Sc(function(e,t,n){var r,i,d,p,h=u&&e.as||s,m="",v=[],g=e;if(null==e.theme){for(var y in g={},e)g[y]=e[y];g.theme=a.useContext(kc)}"string"==typeof e.className?(r=t.registered,i=v,d=e.className,p="",d.split(" ").forEach(function(e){void 0!==r[e]?i.push(r[e]+";"):e&&(p+=e+" ")}),m=p):null!=e.className&&(m=e.className+" ");var b=vc(f.concat(v),t.registered,g);m+=t.key+"-"+b.name,void 0!==o&&(m+=" "+o);var w=u&&void 0===l?Ac(h):c,x={};for(var S in e)u&&"as"===S||w(S)&&(x[S]=e[S]);return x.className=m,x.ref=n,a.createElement(a.Fragment,null,a.createElement(Oc,{cache:t,serialized:b,isStringTag:"string"==typeof h}),a.createElement(h,x))});return m.displayName=void 0!==r?r:"Styled("+("string"==typeof s?s:s.displayName||s.name||"Component")+")",m.defaultProps=t.defaultProps,m.__emotion_real=m,m.__emotion_base=s,m.__emotion_styles=f,m.__emotion_forwardProp=l,Object.defineProperty(m,"toString",{value:function(){return"."+o}}),m.withComponent=function(t,r){return e(t,el({},n,r,{shouldForwardProp:Mc(m,r,!0)})).apply(void 0,f)},m}}.bind();["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){zc[e]=zc(e)});var Fc=null!=(xc=zc.default)?xc:zc;function jc(e,t){const{baseStyle:n,...r}=null!=t?t:{};r.shouldForwardProp||(r.shouldForwardProp=qs);const o=(({baseStyle:e})=>t=>{const{theme:n,css:r,__css:o,sx:a,...i}=t,s=Ys(i,(e,t)=>Ls(t)),l=function(e,...t){if(null==e)throw new TypeError("Cannot convert undefined or null to object");const n={...e};for(const e of t)if(null!=e)for(const t in e)Object.prototype.hasOwnProperty.call(e,t)&&(t in n&&delete n[t],n[t]=e[t]);return n}({},o,Xs(e,t),Gs(s),a),c=Is(l)(t.theme);return r?[c,r]:c})({baseStyle:n}),i=Fc(e,r)(o);return a.forwardRef(function(e,t){const{colorMode:n,forced:r}=Qs();return a.createElement(i,{ref:t,"data-theme":r?n:void 0,...e})})}var Dc=function(){const e=new Map;return new Proxy(jc,{apply:(e,t,n)=>jc(...n),get:(t,n)=>(e.has(n)||e.set(n,jc(n)),e.get(n))})}(),Lc=o(4848),Bc={initial:e=>{const{position:t}=e,n=["top","bottom"].includes(t)?"y":"x";let r=["top-right","bottom-right"].includes(t)?1:-1;return"bottom"===t&&(r=1),{opacity:0,[n]:24*r}},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]}}},Nc=(0,a.memo)(e=>{const{id:t,message:n,onCloseComplete:r,onRequestRemove:o,requestClose:i=!1,position:c="bottom",duration:u=5e3,containerStyle:f,motionVariants:p=Bc,toastSpacing:h="0.5rem"}=e,[v,g]=(0,a.useState)(u),y=null===(b=(0,a.useContext)(m))||b.isPresent;var b;l(()=>{y||null==r||r()},[y]),l(()=>{g(u)},[u]);const w=()=>{y&&o()};(0,a.useEffect)(()=>{y&&i&&o()},[y,i,o]),function(e,t){const n=s(e);(0,a.useEffect)(()=>{if(null==t)return;let e=null;return e=window.setTimeout(()=>{n()},t),()=>{e&&window.clearTimeout(e)}},[t,n])}(w,v);const x=(0,a.useMemo)(()=>({pointerEvents:"auto",maxWidth:560,minWidth:300,margin:h,...f}),[f,h]),S=(0,a.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}}(c),[c]);return(0,Lc.jsx)(ci.div,{layout:!0,className:"chakra-toast",variants:p,initial:"initial",animate:"animate",exit:"exit",onHoverStart:()=>g(null),onHoverEnd:()=>g(u),custom:{position:c},style:S,children:(0,Lc.jsx)(Dc.div,{role:"status","aria-atomic":"true",className:"chakra-toast__inner",__css:x,children:d(n,{id:t,onClose:w})})})});function Ic(e,t){var n;const r=null!=e?e:"bottom",o={"top-start":{ltr:"top-left",rtl:"top-right"},"top-end":{ltr:"top-right",rtl:"top-left"},"bottom-start":{ltr:"bottom-left",rtl:"bottom-right"},"bottom-end":{ltr:"bottom-right",rtl:"bottom-left"}}[r];return null!=(n=null==o?void 0:o[t])?n:r}function $c(e){return(0,a.forwardRef)(e)}function Vc(){const e=(0,a.useContext)(kc);if(!e)throw Error("useTheme: `theme` is undefined. Seems you forgot to wrap your app in `<ChakraProvider />` or `<ThemeProvider />`");return e}function Wc(){return{...Qs(),theme:Vc()}}Nc.displayName="ToastComponent";var Hc=o(115);function Uc(e,t={}){var n;const{styleConfig:r,...o}=t,{theme:i,colorMode:s}=Wc(),l=e?Ks(i,`components.${e}`):void 0,c=r||l,f=ui({theme:i,colorMode:s},null!=(n=null==c?void 0:c.defaultProps)?n:{},Gs(function(e,t){const n={};return Object.keys(e).forEach(r=>{t.includes(r)||(n[r]=e[r])}),n}(o,["children"]))),p=(0,a.useRef)({});if(c){const e=function(e){return t=>{var n;const{variant:r,size:o,theme:a}=t,i=function(e){const t=e.__breakpoints;return function(e,n,r,o){var a,i;if(!t)return;const s={},l=function(e,t){return Array.isArray(e)?e:u(e)?t(e):null!=e?[e]:void 0}(r,t.toArrayValue);if(!l)return s;const c=l.length,f=1===c,p=!!e.parts;for(let r=0;r<c;r++){const c=t.details[r],u=t.details[Vs(l,r)],h=hs(c.minW,null==u?void 0:u._minW),m=d(null==(a=e[n])?void 0:a[l[r]],o);m&&(p?null==(i=e.parts)||i.forEach(e=>{ui(s,{[e]:f?m[e]:{[h]:m[e]}})}):p?s[h]=m:f?ui(s,m):s[h]=m)}return s}}(a);return ui({},d(null!=(n=e.baseStyle)?n:{},t),i(e,"sizes",o,t),i(e,"variants",r,t))}}(c),t=e(f);Hc(p.current,t)||(p.current=t)}return p.current}function qc(e,t={}){return Uc(e,t)}function Zc(e,t={}){return Uc(e,t)}var Qc={path:(0,Lc.jsxs)("g",{stroke:"currentColor",strokeWidth:"1.5",children:[(0,Lc.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"}),(0,Lc.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"}),(0,Lc.jsx)("circle",{fill:"none",strokeMiterlimit:"10",cx:"12",cy:"12",r:"11.25"})]}),viewBox:"0 0 24 24"},Kc=$c((e,t)=>{const{as:n,viewBox:r,color:o="currentColor",focusable:a=!1,children:i,className:s,__css:l,...u}=e,d={ref:t,focusable:a,className:c("chakra-icon",s),__css:{w:"1em",h:"1em",display:"inline-block",lineHeight:"1em",flexShrink:0,color:o,...l,...qc("Icon",e)}},f=null!=r?r:Qc.viewBox;if(n&&"string"!=typeof n)return(0,Lc.jsx)(Dc.svg,{as:n,...d,...u});const p=null!=i?i:Qc.path;return(0,Lc.jsx)(Dc.svg,{verticalAlign:"middle",viewBox:f,...d,...u,children:p})});function Yc(e){return(0,Lc.jsx)(Kc,{viewBox:"0 0 24 24",...e,children:(0,Lc.jsx)("path",{fill:"currentColor",d:"M11.983,0a12.206,12.206,0,0,0-8.51,3.653A11.8,11.8,0,0,0,0,12.207,11.779,11.779,0,0,0,11.8,24h.214A12.111,12.111,0,0,0,24,11.791h0A11.766,11.766,0,0,0,11.983,0ZM10.5,16.542a1.476,1.476,0,0,1,1.449-1.53h.027a1.527,1.527,0,0,1,1.523,1.47,1.475,1.475,0,0,1-1.449,1.53h-.027A1.529,1.529,0,0,1,10.5,16.542ZM11,12.5v-6a1,1,0,0,1,2,0v6a1,1,0,1,1-2,0Z"})})}function Gc(e={}){const{name:t,strict:n=!0,hookName:r="useContext",providerName:o="Provider",errorMessage:i,defaultValue:s}=e,l=(0,a.createContext)(s);return l.displayName=t,[l.Provider,function e(){var t;const s=(0,a.useContext)(l);if(!s&&n){const n=new Error(null!=i?i:`${r} returned \`undefined\`. Seems you forgot to wrap component within ${o}`);throw n.name="ContextError",null==(t=Error.captureStackTrace)||t.call(Error,n,e),n}return s},l]}Kc.displayName="Icon",o(4146);var Xc=Sc(function(e,t){var n=vc([e.styles],void 0,a.useContext(kc)),r=a.useRef();return bc(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}),a=!1,i=document.querySelector('style[data-emotion="'+e+" "+n.name+'"]');return t.sheet.tags.length&&(o.before=t.sheet.tags[0]),null!==i&&(a=!0,i.setAttribute("data-emotion",e),o.hydrate([i])),r.current=[o,a],function(){o.flush()}},[t]),bc(function(){var e=r.current,o=e[0];if(e[1])e[1]=!1;else{if(void 0!==n.next&&Pc(t,n.next,!0),o.tags.length){var a=o.tags[o.tags.length-1].nextElementSibling;o.before=a,o.flush()}t.insert("",n,o,!1)}},[t,n.name]),null});function Jc(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return vc(t)}var eu=function(){var e=Jc.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_"}}},tu=eu({"0%":{transform:"rotate(0deg)"},"100%":{transform:"rotate(360deg)"}}),nu=$c((e,t)=>{const n=qc("Spinner",e),{label:r="Loading...",thickness:o="2px",speed:a="0.45s",emptyColor:i="transparent",className:s,...l}=Ws(e),u=c("chakra-spinner",s),d={display:"inline-block",borderColor:"currentColor",borderStyle:"solid",borderRadius:"99999px",borderWidth:o,borderBottomColor:i,borderLeftColor:i,animation:`${tu} ${a} linear infinite`,...n};return(0,Lc.jsx)(Dc.div,{ref:t,__css:d,className:u,...l,children:r&&(0,Lc.jsx)(Dc.span,{srOnly:!0,children:r})})});nu.displayName="Spinner";var[ru,ou]=Gc({name:"AlertContext",hookName:"useAlertContext",providerName:"<Alert />"}),[au,iu]=Gc({name:"AlertStylesContext",hookName:"useAlertStyles",providerName:"<Alert />"}),su={info:{icon:function(e){return(0,Lc.jsx)(Kc,{viewBox:"0 0 24 24",...e,children:(0,Lc.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:Yc,colorScheme:"orange"},success:{icon:function(e){return(0,Lc.jsx)(Kc,{viewBox:"0 0 24 24",...e,children:(0,Lc.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:Yc,colorScheme:"red"},loading:{icon:nu,colorScheme:"blue"}},lu=$c(function(e,t){var n;const{status:r="info",addRole:o=!0,...a}=Ws(e),i=null!=(n=e.colorScheme)?n:function(e){return su[e].colorScheme}(r),s=Zc("Alert",{...e,colorScheme:i}),l={width:"100%",display:"flex",alignItems:"center",position:"relative",overflow:"hidden",...s.container};return(0,Lc.jsx)(ru,{value:{status:r},children:(0,Lc.jsx)(au,{value:s,children:(0,Lc.jsx)(Dc.div,{"data-status":r,role:o?"alert":void 0,ref:t,...a,className:c("chakra-alert",e.className),__css:l})})})});function cu(e){const{status:t}=ou(),n=function(e){return su[e].icon}(t),r=iu(),o="loading"===t?r.spinner:r.icon;return(0,Lc.jsx)(Dc.span,{display:"inherit","data-status":t,...e,className:c("chakra-alert__icon",e.className),__css:o,children:e.children||(0,Lc.jsx)(n,{h:"100%",w:"100%"})})}lu.displayName="Alert",cu.displayName="AlertIcon";var uu=$c(function(e,t){const n=iu(),{status:r}=ou();return(0,Lc.jsx)(Dc.div,{ref:t,"data-status":r,...e,className:c("chakra-alert__title",e.className),__css:n.title})});uu.displayName="AlertTitle";var du=$c(function(e,t){const n=iu(),{status:r}=ou(),o={display:"inline",...n.description};return(0,Lc.jsx)(Dc.div,{ref:t,"data-status":r,...e,className:c("chakra-alert__desc",e.className),__css:o})});function fu(e){return(0,Lc.jsx)(Kc,{focusable:"false","aria-hidden":!0,...e,children:(0,Lc.jsx)("path",{fill:"currentColor",d:"M.439,21.44a1.5,1.5,0,0,0,2.122,2.121L11.823,14.3a.25.25,0,0,1,.354,0l9.262,9.263a1.5,1.5,0,1,0,2.122-2.121L14.3,12.177a.25.25,0,0,1,0-.354l9.263-9.262A1.5,1.5,0,0,0,21.439.44L12.177,9.7a.25.25,0,0,1-.354,0L2.561.44A1.5,1.5,0,0,0,.439,2.561L9.7,11.823a.25.25,0,0,1,0,.354Z"})})}du.displayName="AlertDescription";var pu=$c(function(e,t){const n=qc("CloseButton",e),{children:r,isDisabled:o,__css:a,...i}=Ws(e);return(0,Lc.jsx)(Dc.button,{type:"button","aria-label":"Close",ref:t,disabled:o,__css:{outline:0,display:"flex",alignItems:"center",justifyContent:"center",flexShrink:0,...n,...a},...i,children:r||(0,Lc.jsx)(fu,{width:"1em",height:"1em"})})});pu.displayName="CloseButton";var hu=function(e){let r=e;const o=new Set,a=e=>{r=e(r),o.forEach(e=>e())};return{getState:()=>r,subscribe:t=>(o.add(t),()=>{a(()=>e),o.delete(t)}),removeToast:(e,t)=>{a(n=>({...n,[t]:n[t].filter(t=>t.id!=e)}))},notify:(e,t)=>{const n=function(e,t={}){var n,r;mu+=1;const o=null!=(n=t.id)?n:mu,a=null!=(r=t.position)?r:"bottom";return{id:o,message:e,position:a,duration:t.duration,onCloseComplete:t.onCloseComplete,onRequestRemove:()=>hu.removeToast(String(o),a),status:t.status,requestClose:!1,containerStyle:t.containerStyle}}(e,t),{position:r,id:o}=n;return a(e=>{var t,o;const a=r.includes("top")?[n,...null!=(t=e[r])?t:[]]:[...null!=(o=e[r])?o:[],n];return{...e,[r]:a}}),o},update:(e,n)=>{e&&a(r=>{const o={...r},{position:a,index:i}=t(o,e);return a&&-1!==i&&(o[a][i]={...o[a][i],...n,message:gu(n)}),o})},closeAll:({positions:e}={})=>{a(t=>(null!=e?e:["bottom","bottom-right","bottom-left","top","top-left","top-right"]).reduce((e,n)=>(e[n]=t[n].map(e=>({...e,requestClose:!0})),e),{...t}))},close:e=>{a(t=>{const r=n(t,e);return r?{...t,[r]:t[r].map(t=>t.id==e?{...t,requestClose:!0}:t)}:t})},isActive:e=>Boolean(t(hu.getState(),e).position)}}({top:[],"top-left":[],"top-right":[],"bottom-left":[],bottom:[],"bottom-right":[]}),mu=0,vu=e=>{const{status:t,variant:n="solid",id:r,title:o,isClosable:a,onClose:i,description:s,colorScheme:l,icon:c}=e,u=r?{root:`toast-${r}`,title:`toast-${r}-title`,description:`toast-${r}-description`}:void 0;return(0,Lc.jsxs)(lu,{addRole:!1,status:t,variant:n,id:null==u?void 0:u.root,alignItems:"start",borderRadius:"md",boxShadow:"lg",paddingEnd:8,textAlign:"start",width:"auto",colorScheme:l,children:[(0,Lc.jsx)(cu,{children:c}),(0,Lc.jsxs)(Dc.div,{flex:"1",maxWidth:"100%",children:[o&&(0,Lc.jsx)(uu,{id:null==u?void 0:u.title,children:o}),s&&(0,Lc.jsx)(du,{id:null==u?void 0:u.description,display:"block",children:s})]}),a&&(0,Lc.jsx)(pu,{size:"sm",onClick:i,position:"absolute",insetEnd:1,top:1})]})};function gu(e={}){const{render:t,toastComponent:n=vu}=e;return r=>"function"==typeof t?t({...r,...e}):(0,Lc.jsx)(n,{...r,...e})}function yu(){const e=(0,a.useRef)(!1);return w(()=>(e.current=!0,()=>{e.current=!1}),[]),e}class bu extends a.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 wu({children:e,isPresent:t}){const n=(0,a.useId)(),r=(0,a.useRef)(null),o=(0,a.useRef)({width:0,height:0,top:0,left:0}),{nonce:i}=(0,a.useContext)(g);return(0,a.useInsertionEffect)(()=>{const{width:e,height:a,top:s,left:l}=o.current;if(t||!r.current||!e||!a)return;r.current.dataset.motionPopId=n;const c=document.createElement("style");return i&&(c.nonce=i),document.head.appendChild(c),c.sheet&&c.sheet.insertRule(`\n [data-motion-pop-id="${n}"] {\n position: absolute !important;\n width: ${e}px !important;\n height: ${a}px !important;\n top: ${s}px !important;\n left: ${l}px !important;\n }\n `),()=>{document.head.removeChild(c)}},[t]),a.createElement(bu,{isPresent:t,childRef:r,sizeRef:o},a.cloneElement(e,{ref:r}))}const xu=({children:e,initial:t,isPresent:n,onExitComplete:r,custom:o,presenceAffectsLayout:i,mode:s})=>{const l=He(Su),c=(0,a.useId)(),u=(0,a.useMemo)(()=>({id:c,initial:t,isPresent:n,custom:o,onExitComplete:e=>{l.set(e,!0);for(const e of l.values())if(!e)return;r&&r()},register:e=>(l.set(e,!1),()=>l.delete(e))}),i?void 0:[n]);return(0,a.useMemo)(()=>{l.forEach((e,t)=>l.set(t,!1))},[n]),a.useEffect(()=>{!n&&!l.size&&r&&r()},[n]),"popLayout"===s&&(e=a.createElement(wu,{isPresent:n},e)),a.createElement(m.Provider,{value:u},e)};function Su(){return new Map}const ku=e=>e.key||"",Eu=({children:e,custom:t,initial:n=!0,onExitComplete:r,exitBeforeEnter:o,presenceAffectsLayout:i=!0,mode:s="sync"})=>{$t(!o,"Replace exitBeforeEnter with mode='wait'");const l=(0,a.useContext)(N).forceRender||function(){const e=yu(),[t,n]=(0,a.useState)(0),r=(0,a.useCallback)(()=>{e.current&&n(t+1)},[t]);return[(0,a.useCallback)(()=>Ge.postRender(r),[r]),t]}()[0],c=yu(),u=function(e){const t=[];return a.Children.forEach(e,e=>{(0,a.isValidElement)(e)&&t.push(e)}),t}(e);let d=u;const f=(0,a.useRef)(new Map).current,p=(0,a.useRef)(d),h=(0,a.useRef)(new Map).current,m=(0,a.useRef)(!0);var v;if(w(()=>{m.current=!1,function(e,t){e.forEach(e=>{const n=ku(e);t.set(n,e)})}(u,h),p.current=d}),v=()=>{m.current=!0,h.clear(),f.clear()},(0,a.useEffect)(()=>()=>v(),[]),m.current)return a.createElement(a.Fragment,null,d.map(e=>a.createElement(xu,{key:ku(e),isPresent:!0,initial:!!n&&void 0,presenceAffectsLayout:i,mode:s},e)));d=[...d];const g=p.current.map(ku),y=u.map(ku),b=g.length;for(let e=0;e<b;e++){const t=g[e];-1!==y.indexOf(t)||f.has(t)||f.set(t,void 0)}return"wait"===s&&f.size&&(d=[]),f.forEach((e,n)=>{if(-1!==y.indexOf(n))return;const o=h.get(n);if(!o)return;const m=g.indexOf(n);let v=e;if(!v){const e=()=>{f.delete(n);const e=Array.from(h.keys()).filter(e=>!y.includes(e));if(e.forEach(e=>h.delete(e)),p.current=u.filter(t=>{const r=ku(t);return r===n||e.includes(r)}),!f.size){if(!1===c.current)return;l(),r&&r()}};v=a.createElement(xu,{key:ku(o),isPresent:!1,onExitComplete:e,custom:t,presenceAffectsLayout:i,mode:s},o),f.set(n,v)}d.splice(m,0,v)}),d=d.map(e=>{const t=e.key;return f.has(t)?e:a.createElement(xu,{key:ku(e),isPresent:!0,presenceAffectsLayout:i,mode:s},e)}),a.createElement(a.Fragment,null,f.size?d:d.map(e=>(0,a.cloneElement)(e)))};var[Cu,_u]=Gc({strict:!1,name:"PortalManagerContext"});function Pu(e){const{children:t,zIndex:n}=e;return(0,Lc.jsx)(Cu,{value:{zIndex:n},children:t})}Pu.displayName="PortalManager";var Ru=Boolean(null==globalThis?void 0:globalThis.document)?a.useLayoutEffect:a.useEffect,Tu=o(961),Au=o.t(Tu,2),[Mu,Ou]=Gc({strict:!1,name:"PortalContext"}),zu="chakra-portal",Fu=e=>(0,Lc.jsx)("div",{className:"chakra-portal-zIndex",style:{position:"absolute",zIndex:e.zIndex,top:0,left:0,right:0},children:e.children}),ju=e=>{const{appendToParentPortal:t,children:n}=e,[r,o]=(0,a.useState)(null),i=(0,a.useRef)(null),[,s]=(0,a.useState)({});(0,a.useEffect)(()=>s({}),[]);const l=Ou(),c=_u();Ru(()=>{if(!r)return;const e=r.ownerDocument,n=t&&null!=l?l:e.body;if(!n)return;i.current=e.createElement("div"),i.current.className=zu,n.appendChild(i.current),s({});const o=i.current;return()=>{n.contains(o)&&n.removeChild(o)}},[r]);const u=(null==c?void 0:c.zIndex)?(0,Lc.jsx)(Fu,{zIndex:null==c?void 0:c.zIndex,children:n}):n;return i.current?(0,Tu.createPortal)((0,Lc.jsx)(Mu,{value:i.current,children:u}),i.current):(0,Lc.jsx)("span",{ref:e=>{e&&o(e)}})},Du=e=>{const{children:t,containerRef:n,appendToParentPortal:r}=e,o=n.current,i=null!=o?o:"undefined"!=typeof window?document.body:void 0,s=(0,a.useMemo)(()=>{const e=null==o?void 0:o.ownerDocument.createElement("div");return e&&(e.className=zu),e},[o]),[,l]=(0,a.useState)({});return Ru(()=>l({}),[]),Ru(()=>{if(s&&i)return i.appendChild(s),()=>{i.removeChild(s)}},[s,i]),i&&s?(0,Tu.createPortal)((0,Lc.jsx)(Mu,{value:r?s:null,children:t}),s):null};function Lu(e){const t={appendToParentPortal:!0,...e},{containerRef:n,...r}=t;return n?(0,Lc.jsx)(Du,{containerRef:n,...r}):(0,Lc.jsx)(ju,{...r})}Lu.className=zu,Lu.selector=".chakra-portal",Lu.displayName="Portal";var[Bu,Nu]=Gc({name:"ToastOptionsContext",strict:!1}),Iu=e=>{const t=(0,a.useSyncExternalStore)(hu.subscribe,hu.getState,hu.getState),{motionVariants:n,component:o=Nc,portalProps:i}=e,s=Object.keys(t).map(e=>{const a=t[e];return(0,Lc.jsx)("div",{role:"region","aria-live":"polite","aria-label":`Notifications-${e}`,id:`chakra-toast-manager-${e}`,style:r(e),children:(0,Lc.jsx)(Eu,{initial:!1,children:a.map(e=>(0,Lc.jsx)(o,{motionVariants:n,...e},e.id))})},e)});return(0,Lc.jsx)(Lu,{...i,children:s})};var $u=Dc("div");$u.displayName="Box";var Vu=$c(function(e,t){const{size:n,centerContent:r=!0,...o}=e,a=r?{display:"flex",alignItems:"center",justifyContent:"center"}:{};return(0,Lc.jsx)($u,{ref:t,boxSize:n,__css:{...a,flexShrink:0,flexGrow:0},...o})});Vu.displayName="Square";var Wu=$c(function(e,t){const{size:n,...r}=e;return(0,Lc.jsx)(Vu,{size:n,ref:t,borderRadius:"9999px",...r})});Wu.displayName="Circle";var Hu=$c(function(e,t){const{className:n,centerContent:r,...o}=Ws(e),a=qc("Container",e);return(0,Lc.jsx)(Dc.div,{ref:t,className:c("chakra-container",n),...o,__css:{...a,...r&&{display:"flex",flexDirection:"column",alignItems:"center"}}})});Hu.displayName="Container";var Uu=e=>(0,Lc.jsx)(Dc.div,{className:"chakra-stack__item",...e,__css:{display:"inline-block",flex:"0 0 auto",minWidth:0,...e.__css}});Uu.displayName="StackItem";var qu=Object.freeze(["base","sm","md","lg","xl","2xl"]),Zu=$c((e,t)=>{const{isInline:n,direction:r,align:o,justify:i,spacing:s="0.5rem",wrap:l,children:d,divider:f,className:p,shouldWrapChildren:h,...m}=e,v=n?"row":null!=r?r:"column",g=(0,a.useMemo)(()=>function(e){const{spacing:t,direction:n}=e,r={column:{my:t,mx:0,borderLeftWidth:0,borderBottomWidth:"1px"},"column-reverse":{my:t,mx:0,borderLeftWidth:0,borderBottomWidth:"1px"},row:{mx:t,my:0,borderLeftWidth:"1px",borderBottomWidth:0},"row-reverse":{mx:t,my:0,borderLeftWidth:"1px",borderBottomWidth:0}};return{"&":(o=n,a=e=>r[e],Array.isArray(o)?o.map(e=>null===e?null:a(e)):u(o)?Object.keys(o).reduce((e,t)=>(e[t]=a(o[t]),e),{}):null!=o?a(o):null)};var o,a}({spacing:s,direction:v}),[s,v]),y=!!f,b=!h&&!y,w=(0,a.useMemo)(()=>{const e=function(e){return a.Children.toArray(e).filter(e=>(0,a.isValidElement)(e))}(d);return b?e:e.map((t,n)=>{const r=void 0!==t.key?t.key:n,o=n+1===e.length,i=h?(0,Lc.jsx)(Uu,{children:t},r):t;if(!y)return i;const s=(0,a.cloneElement)(f,{__css:g}),l=o?null:s;return(0,Lc.jsxs)(a.Fragment,{children:[i,l]},r)})},[f,g,y,b,h,d]),x=c("chakra-stack",p);return(0,Lc.jsx)(Dc.div,{ref:t,display:"flex",alignItems:o,justifyContent:i,flexDirection:v,flexWrap:l,gap:y?void 0:s,className:x,...m,children:w})});Zu.displayName="Stack";var Qu=Dc("div",{baseStyle:{boxShadow:"none",backgroundClip:"padding-box",cursor:"default",color:"transparent",pointerEvents:"none",userSelect:"none","&::before, &::after, *":{visibility:"hidden"}}}),Ku=ss("skeleton-start-color"),Yu=ss("skeleton-end-color"),Gu=eu({from:{opacity:0},to:{opacity:1}}),Xu=eu({from:{borderColor:Ku.reference,background:Ku.reference},to:{borderColor:Yu.reference,background:Yu.reference}}),Ju=$c((e,t)=>{const n={...e,fadeDuration:"number"==typeof e.fadeDuration?e.fadeDuration:.4,speed:"number"==typeof e.speed?e.speed:.8},r=qc("Skeleton",n),o=function(){const e=(0,a.useRef)(!0);return(0,a.useEffect)(()=>{e.current=!1},[]),e.current}(),{startColor:i="",endColor:s="",isLoaded:l,fadeDuration:u,speed:d,className:f,fitContent:p,...h}=Ws(n),[m,v]=function(e,t,n){const r=Vc();return function(e,t,n){const r=Array.isArray(t)?t:[t],o=Array.isArray(n)?n:[n];return n=>{const a=o.filter(Boolean),i=r.map((t,r)=>{var o,i;return"breakpoints"===e?function(e,t,n){var r,o;if(null==t)return t;const a=t=>{var n,r;return null==(r=null==(n=e.__breakpoints)?void 0:n.asArray)?void 0:r[t]};return null!=(o=null!=(r=a(t))?r:a(n))?o:n}(n,t,null!=(o=a[r])?o:t):function(e,t,n){var r,o;if(null==t)return t;const a=t=>{var n,r;return null==(r=null==(n=e.__cssMap)?void 0:n[t])?void 0:r.value};return null!=(o=null!=(r=a(t))?r:a(n))?o:n}(n,`${e}.${t}`,null!=(i=a[r])?i:t)});return Array.isArray(t)?i:i[0]}}(e,t,n)(r)}("colors",[i,s]),g=function(e){const t=(0,a.useRef)();return(0,a.useEffect)(()=>{t.current=e},[e]),t.current}(l),y=c("chakra-skeleton",f),b={...m&&{[Ku.variable]:m},...v&&{[Yu.variable]:v}};if(l){const e=o||g?"none":`${Gu} ${u}s`;return(0,Lc.jsx)(Dc.div,{ref:t,className:y,__css:{animation:e},...h})}return(0,Lc.jsx)(Qu,{ref:t,className:y,...h,__css:{width:p?"fit-content":void 0,...r,...b,_dark:{...r._dark,...b},animation:`${d}s linear infinite alternate ${Xu}`}})});Ju.displayName="Skeleton";var ed=({size:e="2rem",...t})=>(0,Lc.jsx)(Ju,{borderRadius:"full",boxSize:e,...t});ed.displayName="SkeletonCircle";var td=$c((e,t)=>(0,Lc.jsx)(Zu,{align:"center",...e,direction:"row",ref:t}));td.displayName="HStack";var nd=String.raw,rd=nd`
:root,
:host {
--chakra-vh: 100vh;
}
@supports (height: -webkit-fill-available) {
:root,
:host {
--chakra-vh: -webkit-fill-available;
}
}
@supports (height: -moz-fill-available) {
:root,
:host {
--chakra-vh: -moz-fill-available;
}
}
@supports (height: 100dvh) {
:root,
:host {
--chakra-vh: 100dvh;
}
}
`,od=()=>(0,Lc.jsx)(Xc,{styles:rd}),ad=({scope:e=""})=>(0,Lc.jsx)(Xc,{styles:nd`
html {
line-height: 1.5;
-webkit-text-size-adjust: 100%;
font-family: system-ui, sans-serif;
-webkit-font-smoothing: antialiased;
text-rendering: optimizeLegibility;
-moz-osx-font-smoothing: grayscale;
touch-action: manipulation;
}
body {
position: relative;
min-height: 100%;
margin: 0;
font-feature-settings: "kern";
}
${e} :where(*, *::before, *::after) {
border-width: 0;
border-style: solid;
box-sizing: border-box;
word-wrap: break-word;
}
main {
display: block;
}
${e} hr {
border-top-width: 1px;
box-sizing: content-box;
height: 0;
overflow: visible;
}
${e} :where(pre, code, kbd,samp) {
font-family: SFMono-Regular, Menlo, Monaco, Consolas, monospace;
font-size: 1em;
}
${e} a {
background-color: transparent;
color: inherit;
text-decoration: inherit;
}
${e} abbr[title] {
border-bottom: none;
text-decoration: underline;
-webkit-text-decoration: underline dotted;
text-decoration: underline dotted;
}
${e} :where(b, strong) {
font-weight: bold;
}
${e} small {
font-size: 80%;
}
${e} :where(sub,sup) {
font-size: 75%;
line-height: 0;
position: relative;
vertical-align: baseline;
}
${e} sub {
bottom: -0.25em;
}
${e} sup {
top: -0.5em;
}
${e} img {
border-style: none;
}
${e} :where(button, input, optgroup, select, textarea) {
font-family: inherit;
font-size: 100%;
line-height: 1.15;
margin: 0;
}
${e} :where(button, input) {
overflow: visible;
}
${e} :where(button, select) {
text-transform: none;
}
${e} :where(
button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner
) {
border-style: none;
padding: 0;
}
${e} fieldset {
padding: 0.35em 0.75em 0.625em;
}
${e} legend {
box-sizing: border-box;
color: inherit;
display: table;
max-width: 100%;
padding: 0;
white-space: normal;
}
${e} progress {
vertical-align: baseline;
}
${e} textarea {
overflow: auto;
}
${e} :where([type="checkbox"], [type="radio"]) {
box-sizing: border-box;
padding: 0;
}
${e} input[type="number"]::-webkit-inner-spin-button,
${e} input[type="number"]::-webkit-outer-spin-button {
-webkit-appearance: none !important;
}
${e} input[type="number"] {
-moz-appearance: textfield;
}
${e} input[type="search"] {
-webkit-appearance: textfield;
outline-offset: -2px;
}
${e} input[type="search"]::-webkit-search-decoration {
-webkit-appearance: none !important;
}
${e} ::-webkit-file-upload-button {
-webkit-appearance: button;
font: inherit;
}
${e} details {
display: block;
}
${e} summary {
display: list-item;
}
template {
display: none;
}
[hidden] {
display: none !important;
}
${e} :where(
blockquote,
dl,
dd,
h1,
h2,
h3,
h4,
h5,
h6,
hr,
figure,
p,
pre
) {
margin: 0;
}
${e} button {
background: transparent;
padding: 0;
}
${e} fieldset {
margin: 0;
padding: 0;
}
${e} :where(ol, ul) {
margin: 0;
padding: 0;
}
${e} textarea {
resize: vertical;
}
${e} :where(button, [role="button"]) {
cursor: pointer;
}
${e} button::-moz-focus-inner {
border: 0 !important;
}
${e} table {
border-collapse: collapse;
}
${e} :where(h1, h2, h3, h4, h5, h6) {
font-size: inherit;
font-weight: inherit;
}
${e} :where(button, input, optgroup, select, textarea) {
padding: 0;
line-height: inherit;
color: inherit;
}
${e} :where(img, svg, video, canvas, audio, iframe, embed, object) {
display: block;
}
${e} :where(img, video) {
max-width: 100%;
height: auto;
}
[data-js-focus-visible]
:focus:not([data-focus-visible-added]):not(
[data-focus-visible-disabled]
) {
outline: none;
box-shadow: none;
}
${e} select::-ms-expand {
display: none;
}
${rd}
`});function id(e){const{cssVarsRoot:t,theme:n,children:r}=e,o=(0,a.useMemo)(()=>function(e){var t;const n=function(e){const{__cssMap:t,__cssVars:n,__breakpoints:r,...o}=e;return o}(e),r=function(e){return function(e,t){const n={};for(const r of t)r in e&&(n[r]=e[r]);return n}(e,Ms)}(n),o=function(e){return e.semanticTokens}(n),a=function({tokens:e,semanticTokens:t}){const n={};return As(e,(e,t)=>{null!=e&&(n[t.join(".")]={isSemantic:!1,value:e})}),As(t,(e,t)=>{null!=e&&(n[t.join(".")]={isSemantic:!0,value:e})},{stop:e=>Object.keys(e).every(Os)}),n}({tokens:r,semanticTokens:o}),i=null==(t=n.config)?void 0:t.cssVarPrefix,{cssMap:s,cssVars:l}=function(e,t){let n={};const r={};for(const[o,a]of Object.entries(e)){const{isSemantic:i,value:s}=a,{variable:l,reference:c}=Ts(o,null==t?void 0:t.cssVarPrefix);if(!i){if(o.startsWith("space")){const e=o.split("."),[t,...n]=e,a=`${t}.-${n.join(".")}`,i=os.negate(s),u=os.negate(c);r[a]={value:i,var:l,varRef:u}}n[l]=s,r[o]={value:s,var:l,varRef:c};continue}const d=n=>{const r=[String(o).split(".")[0],n].join(".");if(!e[r])return n;const{reference:a}=Ts(r,null==t?void 0:t.cssVarPrefix);return a},f=u(s)?s:{default:s};n=ui(n,Object.entries(f).reduce((e,[t,n])=>{var r,o;if(!n)return e;const a=d(`${n}`);return"default"===t?(e[l]=a,e):(e[null!=(o=null==(r=Ps)?void 0:r[t])?o:t]={[l]:a},e)},{})),r[o]={value:c,var:l,varRef:c}}return{cssVars:n,cssMap:r}}(a,{cssVarPrefix:i});return Object.assign(n,{__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",...l},__cssMap:s,__breakpoints:ms(n.breakpoints)}),n}(n),[n]);return(0,Lc.jsxs)(Cc,{theme:o,children:[(0,Lc.jsx)(sd,{root:t}),r]})}function sd({root:e=":host, :root"}){const t=[e,"[data-theme]"].join(",");return(0,Lc.jsx)(Xc,{styles:e=>({[t]:e.__cssVars})})}var[ld,cd]=function(e={}){const{strict:t=!0,errorMessage:n="useContext: `context` is undefined. Seems you forgot to wrap component within the Provider",name:r}=e,o=(0,a.createContext)(void 0);return o.displayName=r,[o.Provider,function e(){var r;const i=(0,a.useContext)(o);if(!i&&t){const t=new Error(n);throw t.name="ContextError",null==(r=Error.captureStackTrace)||r.call(Error,t,e),t}return i},o]}({name:"StylesContext",errorMessage:"useStyles: `styles` is undefined. Seems you forgot to wrap the components in `<StylesProvider />` "});function ud(){const{colorMode:e}=Qs();return(0,Lc.jsx)(Xc,{styles:t=>{const n=Xs(Ks(t,"styles.global"),{theme:t,colorMode:e});if(n)return Is(n)(t)}})}var dd,fd="chakra-ui-light",pd="chakra-ui-dark",hd="chakra-ui-color-mode",md=(dd=hd,{ssr:!1,type:"localStorage",get(e){if(!(null==globalThis?void 0:globalThis.document))return e;let t;try{t=localStorage.getItem(dd)||e}catch(e){}return t||e},set(e){try{localStorage.setItem(dd,e)}catch(e){}}});var vd=()=>{};function gd(e,t){return"cookie"===e.type&&e.ssr?e.get(t):t}function yd(e){const{value:t,children:n,options:{useSystemColorMode:r,initialColorMode:o,disableTransitionOnChange:i}={},colorModeManager:s=md}=e,l="dark"===o?"dark":"light",[c,u]=(0,a.useState)(()=>gd(s,l)),[d,f]=(0,a.useState)(()=>gd(s)),{getSystemTheme:p,setClassName:h,setDataset:m,addListener:v}=(0,a.useMemo)(()=>function(e={}){const{preventTransition:t=!0}=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?pd:fd),document.body.classList.remove(e?fd:pd)},query:()=>window.matchMedia("(prefers-color-scheme: dark)"),getSystemTheme(e){var t;return(null!=(t=n.query().matches)?t:"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}")),document.head.appendChild(e),()=>{window.getComputedStyle(document.body),requestAnimationFrame(()=>{requestAnimationFrame(()=>{document.head.removeChild(e)})})}}};return n}({preventTransition:i}),[i]),g="system"!==o||c?c:d,y=(0,a.useCallback)(e=>{const t="system"===e?p():e;u(t),h("dark"===t),m(t),s.set(t)},[s,p,h,m]);Ru(()=>{"system"===o&&f(p())},[]),(0,a.useEffect)(()=>{const e=s.get();y(e||("system"!==o?l:"system"))},[s,l,o,y]);const b=(0,a.useCallback)(()=>{y("dark"===g?"light":"dark")},[g,y]);(0,a.useEffect)(()=>{if(r)return v(y)},[r,v,y]);const w=(0,a.useMemo)(()=>({colorMode:null!=t?t:g,toggleColorMode:t?vd:b,setColorMode:t?vd:y,forced:void 0!==t}),[g,b,y,t]);return(0,Lc.jsx)(Zs.Provider,{value:w,children:n})}yd.displayName="ColorModeProvider";var bd=(0,a.createContext)({getDocument:()=>document,getWindow:()=>window});function wd(e){const{children:t,environment:n,disabled:r}=e,o=(0,a.useRef)(null),i=(0,a.useMemo)(()=>n||{getDocument:()=>{var e,t;return null!=(t=null==(e=o.current)?void 0:e.ownerDocument)?t:document},getWindow:()=>{var e,t;return null!=(t=null==(e=o.current)?void 0:e.ownerDocument.defaultView)?t:window}},[n]),s=!r||!n;return(0,Lc.jsxs)(bd.Provider,{value:i,children:[t,s&&(0,Lc.jsx)("span",{id:"__chakra_env",hidden:!0,ref:o})]})}bd.displayName="EnvironmentContext",wd.displayName="EnvironmentProvider";var xd=e=>{const{children:t,colorModeManager:n,portalZIndex:r,resetScope:o,resetCSS:a=!0,theme:i={},environment:s,cssVarsRoot:l,disableEnvironment:c,disableGlobalStyle:u}=e,d=(0,Lc.jsx)(wd,{environment:s,disabled:c,children:t});return(0,Lc.jsx)(id,{theme:i,cssVarsRoot:l,children:(0,Lc.jsxs)(yd,{colorModeManager:n,options:i.config,children:[a?(0,Lc.jsx)(ad,{scope:o}):(0,Lc.jsx)(od,{}),!u&&(0,Lc.jsx)(ud,{}),r?(0,Lc.jsx)(Pu,{zIndex:r,children:d}):d]})})},Sd={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"}},kd={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"},Ed={...kd,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"}},Cd={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"},linkedin:{50:"#E8F4F9",100:"#CFEDFB",200:"#9BDAF3",300:"#68C7EC",400:"#34B3E4",500:"#00A0DC",600:"#008CC9",700:"#0077B5",800:"#005E93",900:"#004471"},facebook:{50:"#E8F4F9",100:"#D9DEE9",200:"#B7C2DA",300:"#6482C0",400:"#4267B2",500:"#385898",600:"#314E89",700:"#29487D",800:"#223B67",900:"#1E355B"},messenger:{50:"#D0E6FF",100:"#B9DAFF",200:"#A2CDFF",300:"#7AB8FF",400:"#2E90FF",500:"#0078FF",600:"#0063D1",700:"#0052AC",800:"#003C7E",900:"#002C5C"},whatsapp:{50:"#dffeec",100:"#b9f5d0",200:"#90edb3",300:"#65e495",400:"#3cdd78",500:"#22c35e",600:"#179848",700:"#0c6c33",800:"#01421c",900:"#001803"},twitter:{50:"#E5F4FD",100:"#C8E9FB",200:"#A8DCFA",300:"#83CDF7",400:"#57BBF5",500:"#1DA1F2",600:"#1A94DA",700:"#1681BF",800:"#136B9E",900:"#0D4D71"},telegram:{50:"#E3F2F9",100:"#C5E4F3",200:"#A2D4EC",300:"#7AC1E4",400:"#47A9DA",500:"#0088CC",600:"#007AB8",700:"#006BA1",800:"#005885",900:"#003F5E"}},...Sd,sizes:Ed,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","dark-lg":"rgba(0, 0, 0, 0.1) 0px 0px 0px 1px, rgba(0, 0, 0, 0.2) 0px 5px 10px, rgba(0, 0, 0, 0.4) 0px 15px 40px"},space:kd,borders:{none:0,"1px":"1px solid","2px":"2px solid","4px":"4px solid","8px":"8px solid"},transition:{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"}}},{defineMultiStyleConfig:_d,definePartsStyle:Pd}=$s(["stepper","step","title","description","indicator","separator","icon","number"]),Rd=ss("stepper-indicator-size"),Td=ss("stepper-icon-size"),Ad=ss("stepper-title-font-size"),Md=ss("stepper-description-font-size"),Od=ss("stepper-accent-color"),zd=_d({baseStyle:Pd(({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"},[Od.variable]:`colors.${e}.500`,_dark:{[Od.variable]:`colors.${e}.200`}},title:{fontSize:Ad.reference,fontWeight:"medium"},description:{fontSize:Md.reference,color:"chakra-subtle-text"},number:{fontSize:Ad.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:Td.reference,height:Td.reference},indicator:{flexShrink:0,borderRadius:"full",width:Rd.reference,height:Rd.reference,display:"flex",justifyContent:"center",alignItems:"center","&[data-status=active]":{borderWidth:"2px",borderColor:Od.reference},"&[data-status=complete]":{bg:Od.reference,color:"chakra-inverse-text"},"&[data-status=incomplete]":{borderWidth:"2px"}},separator:{bg:"chakra-border-color",flex:"1","&[data-status=complete]":{bg:Od.reference},"&[data-orientation=horizontal]":{width:"100%",height:"2px",marginStart:"2"},"&[data-orientation=vertical]":{width:"2px",position:"absolute",height:"100%",maxHeight:`calc(100% - ${Rd.reference} - 8px)`,top:`calc(${Rd.reference} + 4px)`,insetStart:`calc(${Rd.reference} / 2 - 1px)`}}})),sizes:{xs:Pd({stepper:{[Rd.variable]:"sizes.4",[Td.variable]:"sizes.3",[Ad.variable]:"fontSizes.xs",[Md.variable]:"fontSizes.xs"}}),sm:Pd({stepper:{[Rd.variable]:"sizes.6",[Td.variable]:"sizes.4",[Ad.variable]:"fontSizes.sm",[Md.variable]:"fontSizes.xs"}}),md:Pd({stepper:{[Rd.variable]:"sizes.8",[Td.variable]:"sizes.5",[Ad.variable]:"fontSizes.md",[Md.variable]:"fontSizes.sm"}}),lg:Pd({stepper:{[Rd.variable]:"sizes.10",[Td.variable]:"sizes.6",[Ad.variable]:"fontSizes.lg",[Md.variable]:"fontSizes.md"}})},defaultProps:{size:"md",colorScheme:"blue"}});function Fd(e,t={}){let n=!1;function r(t){const n=`chakra-${(["container","root"].includes(null!=t?t:"")?[e]:[e,t]).filter(Boolean).join("__")}`;return{className:n,selector:`.${n}`,toString:()=>t}}return{parts:function(...o){!function(){if(n)throw new Error("[anatomy] .part(...) should only be called once. Did you mean to use .extend(...) ?");n=!0}();for(const e of o)t[e]=r(e);return Fd(e,t)},toPart:r,extend:function(...n){for(const e of n)e in t||(t[e]=r(e));return Fd(e,t)},selectors:function(){const e=Object.fromEntries(Object.entries(t).map(([e,t])=>[e,t.selector]));return e},classnames:function(){const e=Object.fromEntries(Object.entries(t).map(([e,t])=>[e,t.className]));return e},get keys(){return Object.keys(t)},__type:{}}}var jd=Fd("accordion").parts("root","container","button","panel").extend("icon"),Dd=Fd("alert").parts("title","description","container").extend("icon","spinner"),Ld=Fd("avatar").parts("label","badge","container").extend("excessLabel","group"),Bd=Fd("breadcrumb").parts("link","item","container").extend("separator"),Nd=(Fd("button").parts(),Fd("checkbox").parts("control","icon","container").extend("label")),Id=(Fd("progress").parts("track","filledTrack").extend("label"),Fd("drawer").parts("overlay","dialogContainer","dialog").extend("header","closeButton","body","footer")),$d=Fd("editable").parts("preview","input","textarea"),Vd=Fd("form").parts("container","requiredIndicator","helperText"),Wd=Fd("formError").parts("text","icon"),Hd=Fd("input").parts("addon","field","element","group"),Ud=Fd("list").parts("container","item","icon"),qd=Fd("menu").parts("button","list","item").extend("groupTitle","icon","command","divider"),Zd=Fd("modal").parts("overlay","dialogContainer","dialog").extend("header","closeButton","body","footer"),Qd=Fd("numberinput").parts("root","field","stepperGroup","stepper"),Kd=(Fd("pininput").parts("field"),Fd("popover").parts("content","header","body","footer").extend("popper","arrow","closeButton")),Yd=Fd("progress").parts("label","filledTrack","track"),Gd=Fd("radio").parts("container","control","label"),Xd=Fd("select").parts("field","icon"),Jd=Fd("slider").parts("container","track","thumb","filledTrack","mark"),ef=Fd("stat").parts("container","label","helpText","number","icon"),tf=Fd("switch").parts("container","track","thumb","label"),nf=Fd("table").parts("table","thead","tbody","tr","th","td","tfoot","caption"),rf=Fd("tabs").parts("root","tab","tablist","tabpanel","tabpanels","indicator"),of=Fd("tag").parts("container","label","closeButton"),af=Fd("card").parts("container","header","body","footer");function sf(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 lf(e,t){return`var(${sf(e)}${t?`, ${t}`:""})`}function cf(e,t){const n=function(e,t=""){return`--${function(e,t=""){return[t,sf(e)].filter(Boolean).join("-")}(e,t)}`}(e,null==t?void 0:t.prefix);return{variable:n,reference:lf(n,(r=null==t?void 0:t.fallback,"string"==typeof r?r:null==r?void 0:r.reference))};var r}function uf(e){return u(e)&&e.reference?e.reference:String(e)}Fd("stepper").parts("stepper","step","title","description","indicator","separator","icon","number");var df=(e,...t)=>t.map(uf).join(` ${e} `).replace(/calc/g,""),ff=(...e)=>`calc(${df("+",...e)})`,pf=(...e)=>`calc(${df("-",...e)})`,hf=(...e)=>`calc(${df("*",...e)})`,mf=(...e)=>`calc(${df("/",...e)})`,vf=e=>{const t=uf(e);return null==t||Number.isNaN(parseFloat(t))?hf(t,-1):String(t).startsWith("-")?String(t).slice(1):`-${t}`},gf=Object.assign(e=>({add:(...t)=>gf(ff(e,...t)),subtract:(...t)=>gf(pf(e,...t)),multiply:(...t)=>gf(hf(e,...t)),divide:(...t)=>gf(mf(e,...t)),negate:()=>gf(vf(e)),toString:()=>e.toString()}),{add:ff,subtract:pf,multiply:hf,divide:mf,negate:vf}),{defineMultiStyleConfig:yf,definePartsStyle:bf}=$s(tf.keys),wf=cf("switch-track-width"),xf=cf("switch-track-height"),Sf=cf("switch-track-diff"),kf=gf.subtract(wf,xf),Ef=cf("switch-thumb-x"),Cf=cf("switch-bg"),_f=e=>{const{colorScheme:t}=e;return{borderRadius:"full",p:"0.5",width:[wf.reference],height:[xf.reference],transitionProperty:"common",transitionDuration:"fast",[Cf.variable]:"colors.gray.300",_dark:{[Cf.variable]:"colors.whiteAlpha.400"},_focusVisible:{boxShadow:"outline"},_disabled:{opacity:.4,cursor:"not-allowed"},_checked:{[Cf.variable]:`colors.${t}.500`,_dark:{[Cf.variable]:`colors.${t}.200`}},bg:Cf.reference}},Pf={bg:"white",transitionProperty:"transform",transitionDuration:"normal",borderRadius:"inherit",width:[xf.reference],height:[xf.reference],_checked:{transform:`translateX(${Ef.reference})`}},Rf=yf({baseStyle:bf(e=>({container:{[Sf.variable]:kf,[Ef.variable]:Sf.reference,_rtl:{[Ef.variable]:gf(Sf).negate().toString()}},track:_f(e),thumb:Pf})),sizes:{sm:bf({container:{[wf.variable]:"1.375rem",[xf.variable]:"sizes.3"}}),md:bf({container:{[wf.variable]:"1.875rem",[xf.variable]:"sizes.4"}}),lg:bf({container:{[wf.variable]:"2.875rem",[xf.variable]:"sizes.6"}})},defaultProps:{size:"md",colorScheme:"blue"}});function Tf(e,t){return n=>"dark"===n.colorMode?t:e}function Af(e){const{orientation:t,vertical:n,horizontal:r}=e;return t?"vertical"===t?n:r:{}}var{defineMultiStyleConfig:Mf,definePartsStyle:Of}=$s(nf.keys),zf=Of({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"}}),Ff={"&[data-is-numeric=true]":{textAlign:"end"}},jf=Mf({baseStyle:zf,variants:{simple:Of(e=>{const{colorScheme:t}=e;return{th:{color:Tf("gray.600","gray.400")(e),borderBottom:"1px",borderColor:Tf(`${t}.100`,`${t}.700`)(e),...Ff},td:{borderBottom:"1px",borderColor:Tf(`${t}.100`,`${t}.700`)(e),...Ff},caption:{color:Tf("gray.600","gray.100")(e)},tfoot:{tr:{"&:last-of-type":{th:{borderBottomWidth:0}}}}}}),striped:Of(e=>{const{colorScheme:t}=e;return{th:{color:Tf("gray.600","gray.400")(e),borderBottom:"1px",borderColor:Tf(`${t}.100`,`${t}.700`)(e),...Ff},td:{borderBottom:"1px",borderColor:Tf(`${t}.100`,`${t}.700`)(e),...Ff},caption:{color:Tf("gray.600","gray.100")(e)},tbody:{tr:{"&:nth-of-type(odd)":{"th, td":{borderBottomWidth:"1px",borderColor:Tf(`${t}.100`,`${t}.700`)(e)},td:{background:Tf(`${t}.100`,`${t}.700`)(e)}}}},tfoot:{tr:{"&:last-of-type":{th:{borderBottomWidth:0}}}}}}),unstyled:{}},sizes:{sm:Of({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:Of({th:{px:"6",py:"3",lineHeight:"4",fontSize:"xs"},td:{px:"6",py:"4",lineHeight:"5"},caption:{px:"6",py:"2",fontSize:"sm"}}),lg:Of({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"}});function Df(e,t,n){return Math.min(Math.max(e,n),t)}class Lf extends Error{constructor(e){super(`Failed to parse color: "${e}"`)}}var Bf=Lf;function Nf(e){if("string"!=typeof e)throw new Bf(e);if("transparent"===e.trim().toLowerCase())return[0,0,0,0];let t=e.trim();t=Zf.test(e)?function(e){const t=e.toLowerCase().trim(),n=$f[function(e){let t=5381,n=e.length;for(;n;)t=33*t^e.charCodeAt(--n);return(t>>>0)%2341}(t)];if(!n)throw new Bf(e);return`#${n}`}(e):e;const n=Wf.exec(t);if(n){const e=Array.from(n).slice(1);return[...e.slice(0,3).map(e=>parseInt(Vf(e,2),16)),parseInt(Vf(e[3]||"f",2),16)/255]}const r=Hf.exec(t);if(r){const e=Array.from(r).slice(1);return[...e.slice(0,3).map(e=>parseInt(e,16)),parseInt(e[3]||"ff",16)/255]}const o=Uf.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 a=qf.exec(t);if(a){const[t,n,r,o]=Array.from(a).slice(1).map(parseFloat);if(Df(0,100,n)!==n)throw new Bf(e);if(Df(0,100,r)!==r)throw new Bf(e);return[...Kf(t,n,r),Number.isNaN(o)?1:o]}throw new Bf(e)}const If=e=>parseInt(e.replace(/_/g,""),36),$f="1q29ehhb 1n09sgk7 1kl1ekf_ _yl4zsno 16z9eiv3 1p29lhp8 _bd9zg04 17u0____ _iw9zhe5 _to73___ _r45e31e _7l6g016 _jh8ouiv _zn3qba8 1jy4zshs 11u87k0u 1ro9yvyo 1aj3xael 1gz9zjz0 _3w8l4xo 1bf1ekf_ _ke3v___ _4rrkb__ 13j776yz _646mbhl _nrjr4__ _le6mbhl 1n37ehkb _m75f91n _qj3bzfz 1939yygw 11i5z6x8 _1k5f8xs 1509441m 15t5lwgf _ae2th1n _tg1ugcv 1lp1ugcv 16e14up_ _h55rw7n _ny9yavn _7a11xb_ 1ih442g9 _pv442g9 1mv16xof 14e6y7tu 1oo9zkds 17d1cisi _4v9y70f _y98m8kc 1019pq0v 12o9zda8 _348j4f4 1et50i2o _8epa8__ _ts6senj 1o350i2o 1mi9eiuo 1259yrp0 1ln80gnw _632xcoy 1cn9zldc _f29edu4 1n490c8q _9f9ziet 1b94vk74 _m49zkct 1kz6s73a 1eu9dtog _q58s1rz 1dy9sjiq __u89jo3 _aj5nkwg _ld89jo3 13h9z6wx _qa9z2ii _l119xgq _bs5arju 1hj4nwk9 1qt4nwk9 1ge6wau6 14j9zlcw 11p1edc_ _ms1zcxe _439shk6 _jt9y70f _754zsow 1la40eju _oq5p___ _x279qkz 1fa5r3rv _yd2d9ip _424tcku _8y1di2_ _zi2uabw _yy7rn9h 12yz980_ __39ljp6 1b59zg0x _n39zfzp 1fy9zest _b33k___ _hp9wq92 1il50hz4 _io472ub _lj9z3eo 19z9ykg0 _8t8iu3a 12b9bl4a 1ak5yw0o _896v4ku _tb8k8lv _s59zi6t _c09ze0p 1lg80oqn 1id9z8wb _238nba5 1kq6wgdi _154zssg _tn3zk49 _da9y6tc 1sg7cv4f _r12jvtt 1gq5fmkz 1cs9rvci _lp9jn1c _xw1tdnb 13f9zje6 16f6973h _vo7ir40 _bt5arjf _rc45e4t _hr4e100 10v4e100 _hc9zke2 _w91egv_ _sj2r1kk 13c87yx8 _vqpds__ _ni8ggk8 _tj9yqfb 1ia2j4r4 _7x9b10u 1fc9ld4j 1eq9zldr _5j9lhpx _ez9zl6o _md61fzm".split(" ").reduce((e,t)=>{const n=If(t.substring(0,3)),r=If(t.substring(3)).toString(16);let o="";for(let e=0;e<6-r.length;e++)o+="0";return e[n]=`${o}${r}`,e},{}),Vf=(e,t)=>Array.from(Array(t)).map(()=>e).join(""),Wf=new RegExp(`^#${Vf("([a-f0-9])",3)}([a-f0-9])?$`,"i"),Hf=new RegExp(`^#${Vf("([a-f0-9]{2})",3)}([a-f0-9]{2})?$`,"i"),Uf=new RegExp(`^rgba?\\(\\s*(\\d+)\\s*${Vf(",\\s*(\\d+)\\s*",2)}(?:,\\s*([\\d.]+))?\\s*\\)$`,"i"),qf=/^hsla?\(\s*([\d.]+)\s*,\s*([\d.]+)%\s*,\s*([\d.]+)%(?:\s*,\s*([\d.]+))?\s*\)$/i,Zf=/^[a-z]+$/i,Qf=e=>Math.round(255*e),Kf=(e,t,n)=>{let r=n/100;if(0===t)return[r,r,r].map(Qf);const o=(e%360+360)%360/60,a=(1-Math.abs(2*r-1))*(t/100),i=a*(1-Math.abs(o%2-1));let s=0,l=0,c=0;o>=0&&o<1?(s=a,l=i):o>=1&&o<2?(s=i,l=a):o>=2&&o<3?(l=a,c=i):o>=3&&o<4?(l=i,c=a):o>=4&&o<5?(s=i,c=a):o>=5&&o<6&&(s=a,c=i);const u=r-a/2;return[s+u,l+u,c+u].map(Qf)};function Yf(e,t){const[n,r,o,a]=Nf(e);return function(e,t,n,r){return`rgba(${Df(0,255,e).toFixed()}, ${Df(0,255,t).toFixed()}, ${Df(0,255,n).toFixed()}, ${parseFloat(Df(0,1,r).toFixed(3))})`}(n,r,o,a-t)}var Gf=(e,t,n)=>{const r=function(e,t,n,r,o){for(t=t.split?t.split("."):t,r=0;r<t.length;r++)e=e?e[t[r]]:o;return e===o?n:e}(e,`colors.${t}`,t);try{return function(e){const[t,n,r,o]=Nf(e);let a=e=>{const t=Df(0,255,e).toString(16);return 1===t.length?`0${t}`:t};a(t),a(n),a(r),o<1&&a(Math.round(255*o))}(r),r}catch{return null!=n?n:"#000000"}},Xf=(e,t)=>n=>Yf(Gf(n,e),1-t);function Jf(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}`}}var ep=ss("tabs-color"),tp=ss("tabs-bg"),np=ss("tabs-border-color"),{defineMultiStyleConfig:rp,definePartsStyle:op}=$s(rf.keys),ap=e=>{const{orientation:t}=e;return{display:"vertical"===t?"flex":"block"}},ip=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}}},sp=e=>{const{align:t="start",orientation:n}=e;return{justifyContent:{end:"flex-end",center:"center",start:"flex-start"}[t],flexDirection:"vertical"===n?"column":"row"}},lp={p:4},cp=op(e=>({root:ap(e),tab:ip(e),tablist:sp(e),tabpanel:lp})),up={sm:op({tab:{py:1,px:4,fontSize:"sm"}}),md:op({tab:{fontSize:"md",py:2,px:4}}),lg:op({tab:{fontSize:"lg",py:3,px:4}})},dp=op(e=>{const{colorScheme:t,orientation:n}=e,r="vertical"===n,o=r?"borderStart":"borderBottom",a=r?"marginStart":"marginBottom";return{tablist:{[o]:"2px solid",borderColor:"inherit"},tab:{[o]:"2px solid",borderColor:"transparent",[a]:"-2px",_selected:{[ep.variable]:`colors.${t}.600`,_dark:{[ep.variable]:`colors.${t}.300`},borderColor:"currentColor"},_active:{[tp.variable]:"colors.gray.200",_dark:{[tp.variable]:"colors.whiteAlpha.300"}},_disabled:{_active:{bg:"none"}},color:ep.reference,bg:tp.reference}}}),fp=op(e=>{const{colorScheme:t}=e;return{tab:{borderTopRadius:"md",border:"1px solid",borderColor:"transparent",mb:"-1px",[np.variable]:"transparent",_selected:{[ep.variable]:`colors.${t}.600`,[np.variable]:"colors.white",_dark:{[ep.variable]:`colors.${t}.300`,[np.variable]:"colors.gray.800"},borderColor:"inherit",borderBottomColor:np.reference},color:ep.reference},tablist:{mb:"-1px",borderBottom:"1px solid",borderColor:"inherit"}}}),pp=op(e=>{const{colorScheme:t}=e;return{tab:{border:"1px solid",borderColor:"inherit",[tp.variable]:"colors.gray.50",_dark:{[tp.variable]:"colors.whiteAlpha.50"},mb:"-1px",_notLast:{marginEnd:"-1px"},_selected:{[tp.variable]:"colors.white",[ep.variable]:`colors.${t}.600`,_dark:{[tp.variable]:"colors.gray.800",[ep.variable]:`colors.${t}.300`},borderColor:"inherit",borderTopColor:"currentColor",borderBottomColor:"transparent"},color:ep.reference,bg:tp.reference},tablist:{mb:"-1px",borderBottom:"1px solid",borderColor:"inherit"}}}),hp=op(e=>{const{colorScheme:t,theme:n}=e;return{tab:{borderRadius:"full",fontWeight:"semibold",color:"gray.600",_selected:{color:Gf(n,`${t}.700`),bg:Gf(n,`${t}.100`)}}}}),mp=rp({baseStyle:cp,sizes:up,variants:{line:dp,enclosed:fp,"enclosed-colored":pp,"soft-rounded":hp,"solid-rounded":op(e=>{const{colorScheme:t}=e;return{tab:{borderRadius:"full",fontWeight:"semibold",[ep.variable]:"colors.gray.600",_dark:{[ep.variable]:"inherit"},_selected:{[ep.variable]:"colors.white",[tp.variable]:`colors.${t}.600`,_dark:{[ep.variable]:"colors.gray.800",[tp.variable]:`colors.${t}.300`}},color:ep.reference,bg:tp.reference}}}),unstyled:op({})},defaultProps:{size:"md",variant:"line",colorScheme:"blue"}}),vp=function(e){const t={};for(const n of["bg","color","shadow"]){if(Array.isArray(n)){const[r,o]=n;t[r]=ss(`${e}-${r}`,o);continue}t[n]=ss(`${e}-${n}`)}return t}("badge"),gp={baseStyle:{px:1,textTransform:"uppercase",fontSize:"xs",borderRadius:"sm",fontWeight:"bold",bg:vp.bg.reference,color:vp.color.reference,boxShadow:vp.shadow.reference},variants:{solid:e=>{const{colorScheme:t,theme:n}=e,r=Xf(`${t}.500`,.6)(n);return{[vp.bg.variable]:`colors.${t}.500`,[vp.color.variable]:"colors.white",_dark:{[vp.bg.variable]:r,[vp.color.variable]:"colors.whiteAlpha.800"}}},subtle:e=>{const{colorScheme:t,theme:n}=e,r=Xf(`${t}.200`,.16)(n);return{[vp.bg.variable]:`colors.${t}.100`,[vp.color.variable]:`colors.${t}.800`,_dark:{[vp.bg.variable]:r,[vp.color.variable]:`colors.${t}.200`}}},outline:e=>{const{colorScheme:t,theme:n}=e,r=Xf(`${t}.200`,.8)(n);return{[vp.color.variable]:`colors.${t}.500`,_dark:{[vp.color.variable]:r},[vp.shadow.variable]:`inset 0 0 0px 1px ${vp.color.reference}`}}},defaultProps:{variant:"subtle",colorScheme:"gray"}},{defineMultiStyleConfig:yp,definePartsStyle:bp}=$s(of.keys),wp=ss("tag-bg"),xp=ss("tag-color"),Sp=ss("tag-shadow"),kp=ss("tag-min-height"),Ep=ss("tag-min-width"),Cp=ss("tag-font-size"),_p=ss("tag-padding-inline"),Pp=bp({container:{fontWeight:"medium",lineHeight:1.2,outline:0,[xp.variable]:vp.color.reference,[wp.variable]:vp.bg.reference,[Sp.variable]:vp.shadow.reference,color:xp.reference,bg:wp.reference,boxShadow:Sp.reference,borderRadius:"md",minH:kp.reference,minW:Ep.reference,fontSize:Cp.reference,px:_p.reference,_focusVisible:{[Sp.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}}}),Rp={sm:bp({container:{[kp.variable]:"sizes.5",[Ep.variable]:"sizes.5",[Cp.variable]:"fontSizes.xs",[_p.variable]:"space.2"},closeButton:{marginEnd:"-2px",marginStart:"0.35rem"}}),md:bp({container:{[kp.variable]:"sizes.6",[Ep.variable]:"sizes.6",[Cp.variable]:"fontSizes.sm",[_p.variable]:"space.2"}}),lg:bp({container:{[kp.variable]:"sizes.8",[Ep.variable]:"sizes.8",[Cp.variable]:"fontSizes.md",[_p.variable]:"space.3"}})},Tp={subtle:bp(e=>{var t;return{container:null==(t=gp.variants)?void 0:t.subtle(e)}}),solid:bp(e=>{var t;return{container:null==(t=gp.variants)?void 0:t.solid(e)}}),outline:bp(e=>{var t;return{container:null==(t=gp.variants)?void 0:t.outline(e)}})},Ap=yp({variants:Tp,baseStyle:Pp,sizes:Rp,defaultProps:{size:"md",variant:"subtle",colorScheme:"gray"}}),{definePartsStyle:Mp,defineMultiStyleConfig:Op}=$s(Hd.keys),zp=ss("input-height"),Fp=ss("input-font-size"),jp=ss("input-padding"),Dp=ss("input-border-radius"),Lp=Mp({addon:{height:zp.reference,fontSize:Fp.reference,px:jp.reference,borderRadius:Dp.reference},field:{width:"100%",height:zp.reference,fontSize:Fp.reference,px:jp.reference,borderRadius:Dp.reference,minWidth:0,outline:0,position:"relative",appearance:"none",transitionProperty:"common",transitionDuration:"normal",_disabled:{opacity:.4,cursor:"not-allowed"}}}),Bp={lg:{[Fp.variable]:"fontSizes.lg",[jp.variable]:"space.4",[Dp.variable]:"radii.md",[zp.variable]:"sizes.12"},md:{[Fp.variable]:"fontSizes.md",[jp.variable]:"space.4",[Dp.variable]:"radii.md",[zp.variable]:"sizes.10"},sm:{[Fp.variable]:"fontSizes.sm",[jp.variable]:"space.3",[Dp.variable]:"radii.sm",[zp.variable]:"sizes.8"},xs:{[Fp.variable]:"fontSizes.xs",[jp.variable]:"space.2",[Dp.variable]:"radii.sm",[zp.variable]:"sizes.6"}},Np={lg:Mp({field:Bp.lg,group:Bp.lg}),md:Mp({field:Bp.md,group:Bp.md}),sm:Mp({field:Bp.sm,group:Bp.sm}),xs:Mp({field:Bp.xs,group:Bp.xs})};function Ip(e){const{focusBorderColor:t,errorBorderColor:n}=e;return{focusBorderColor:t||Tf("blue.500","blue.300")(e),errorBorderColor:n||Tf("red.500","red.300")(e)}}var $p,Vp,Wp,Hp,Up,qp,Zp,Qp,Kp,Yp,Gp,Xp=Mp(e=>{const{theme:t}=e,{focusBorderColor:n,errorBorderColor:r}=Ip(e);return{field:{border:"1px solid",borderColor:"inherit",bg:"inherit",_hover:{borderColor:Tf("gray.300","whiteAlpha.400")(e)},_readOnly:{boxShadow:"none !important",userSelect:"all"},_invalid:{borderColor:Gf(t,r),boxShadow:`0 0 0 1px ${Gf(t,r)}`},_focusVisible:{zIndex:1,borderColor:Gf(t,n),boxShadow:`0 0 0 1px ${Gf(t,n)}`}},addon:{border:"1px solid",borderColor:Tf("inherit","whiteAlpha.50")(e),bg:Tf("gray.100","whiteAlpha.300")(e)}}}),Jp=Mp(e=>{const{theme:t}=e,{focusBorderColor:n,errorBorderColor:r}=Ip(e);return{field:{border:"2px solid",borderColor:"transparent",bg:Tf("gray.100","whiteAlpha.50")(e),_hover:{bg:Tf("gray.200","whiteAlpha.100")(e)},_readOnly:{boxShadow:"none !important",userSelect:"all"},_invalid:{borderColor:Gf(t,r)},_focusVisible:{bg:"transparent",borderColor:Gf(t,n)}},addon:{border:"2px solid",borderColor:"transparent",bg:Tf("gray.100","whiteAlpha.50")(e)}}}),eh=Mp(e=>{const{theme:t}=e,{focusBorderColor:n,errorBorderColor:r}=Ip(e);return{field:{borderBottom:"1px solid",borderColor:"inherit",borderRadius:"0",px:"0",bg:"transparent",_readOnly:{boxShadow:"none !important",userSelect:"all"},_invalid:{borderColor:Gf(t,r),boxShadow:`0px 1px 0px 0px ${Gf(t,r)}`},_focusVisible:{borderColor:Gf(t,n),boxShadow:`0px 1px 0px 0px ${Gf(t,n)}`}},addon:{borderBottom:"2px solid",borderColor:"inherit",borderRadius:"0",px:"0",bg:"transparent"}}}),th=Op({baseStyle:Lp,sizes:Np,variants:{outline:Xp,filled:Jp,flushed:eh,unstyled:Mp({field:{bg:"transparent",px:"0",height:"auto"},addon:{bg:"transparent",px:"0",height:"auto"}})},defaultProps:{size:"md",variant:"outline"}}),nh={...null==($p=th.baseStyle)?void 0:$p.field,paddingY:"2",minHeight:"20",lineHeight:"short",verticalAlign:"top"},rh={outline:e=>{var t,n;return null!=(n=null==(t=th.variants)?void 0:t.outline(e).field)?n:{}},flushed:e=>{var t,n;return null!=(n=null==(t=th.variants)?void 0:t.flushed(e).field)?n:{}},filled:e=>{var t,n;return null!=(n=null==(t=th.variants)?void 0:t.filled(e).field)?n:{}},unstyled:null!=(Wp=null==(Vp=th.variants)?void 0:Vp.unstyled.field)?Wp:{}},oh={baseStyle:nh,sizes:{xs:null!=(Up=null==(Hp=th.sizes)?void 0:Hp.xs.field)?Up:{},sm:null!=(Zp=null==(qp=th.sizes)?void 0:qp.sm.field)?Zp:{},md:null!=(Kp=null==(Qp=th.sizes)?void 0:Qp.md.field)?Kp:{},lg:null!=(Gp=null==(Yp=th.sizes)?void 0:Yp.lg.field)?Gp:{}},variants:rh,defaultProps:{size:"md",variant:"outline"}},ah=cf("tooltip-bg"),ih=cf("tooltip-fg"),sh=cf("popper-arrow-bg"),lh={baseStyle:{bg:ah.reference,color:ih.reference,[ah.variable]:"colors.gray.700",[ih.variable]:"colors.whiteAlpha.900",_dark:{[ah.variable]:"colors.gray.300",[ih.variable]:"colors.gray.900"},[sh.variable]:ah.reference,px:"2",py:"0.5",borderRadius:"sm",fontWeight:"medium",fontSize:"sm",boxShadow:"md",maxW:"xs",zIndex:"tooltip"}},{defineMultiStyleConfig:ch,definePartsStyle:uh}=$s(Yd.keys),dh=e=>{const{colorScheme:t,theme:n,isIndeterminate:r,hasStripe:o}=e,a=Tf(Jf(),Jf("1rem","rgba(0,0,0,0.1)"))(e),i=Tf(`${t}.500`,`${t}.200`)(e),s=`linear-gradient(\n to right,\n transparent 0%,\n ${Gf(n,i)} 50%,\n transparent 100%\n )`;return{...!r&&o&&a,...r?{bgImage:s}:{bgColor:i}}},fh={lineHeight:"1",fontSize:"0.25em",fontWeight:"bold",color:"white"},ph=e=>({bg:Tf("gray.100","whiteAlpha.300")(e)}),hh=e=>({transitionProperty:"common",transitionDuration:"slow",...dh(e)}),mh=uh(e=>({label:fh,filledTrack:hh(e),track:ph(e)})),vh=ch({sizes:{xs:uh({track:{h:"1"}}),sm:uh({track:{h:"2"}}),md:uh({track:{h:"3"}}),lg:uh({track:{h:"4"}})},baseStyle:mh,defaultProps:{size:"md",colorScheme:"blue"}});function gh(e,...t){return"function"==typeof e?e(...t):e}var yh,bh,wh,xh,Sh,kh,Eh,Ch,_h,{definePartsStyle:Ph,defineMultiStyleConfig:Rh}=$s(Nd.keys),Th=ss("checkbox-size"),Ah=e=>{const{colorScheme:t}=e;return{w:Th.reference,h:Th.reference,transitionProperty:"box-shadow",transitionDuration:"normal",border:"2px solid",borderRadius:"sm",borderColor:"inherit",color:"white",_checked:{bg:Tf(`${t}.500`,`${t}.200`)(e),borderColor:Tf(`${t}.500`,`${t}.200`)(e),color:Tf("white","gray.900")(e),_hover:{bg:Tf(`${t}.600`,`${t}.300`)(e),borderColor:Tf(`${t}.600`,`${t}.300`)(e)},_disabled:{borderColor:Tf("gray.200","transparent")(e),bg:Tf("gray.200","whiteAlpha.300")(e),color:Tf("gray.500","whiteAlpha.500")(e)}},_indeterminate:{bg:Tf(`${t}.500`,`${t}.200`)(e),borderColor:Tf(`${t}.500`,`${t}.200`)(e),color:Tf("white","gray.900")(e)},_disabled:{bg:Tf("gray.100","whiteAlpha.100")(e),borderColor:Tf("gray.100","transparent")(e)},_focusVisible:{boxShadow:"outline"},_invalid:{borderColor:Tf("red.500","red.300")(e)}}},Mh={_disabled:{cursor:"not-allowed"}},Oh={userSelect:"none",_disabled:{opacity:.4}},zh={transitionProperty:"transform",transitionDuration:"normal"},Fh=Rh({baseStyle:Ph(e=>({icon:zh,container:Mh,control:gh(Ah,e),label:Oh})),sizes:{sm:Ph({control:{[Th.variable]:"sizes.3"},label:{fontSize:"sm"},icon:{fontSize:"3xs"}}),md:Ph({control:{[Th.variable]:"sizes.4"},label:{fontSize:"md"},icon:{fontSize:"2xs"}}),lg:Ph({control:{[Th.variable]:"sizes.5"},label:{fontSize:"lg"},icon:{fontSize:"2xs"}})},defaultProps:{size:"md",colorScheme:"blue"}}),{defineMultiStyleConfig:jh,definePartsStyle:Dh}=$s(Gd.keys),Lh=e=>{var t;const n=null==(t=gh(Fh.baseStyle,e))?void 0:t.control;return{...n,borderRadius:"full",_checked:{...null==n?void 0:n._checked,_before:{content:'""',display:"inline-block",pos:"relative",w:"50%",h:"50%",borderRadius:"50%",bg:"currentColor"}}}},Bh=Dh(e=>{var t,n,r,o;return{label:null==(n=(t=Fh).baseStyle)?void 0:n.call(t,e).label,container:null==(o=(r=Fh).baseStyle)?void 0:o.call(r,e).container,control:Lh(e)}}),Nh=jh({baseStyle:Bh,sizes:{md:Dh({control:{w:"4",h:"4"},label:{fontSize:"md"}}),lg:Dh({control:{w:"5",h:"5"},label:{fontSize:"lg"}}),sm:Dh({control:{width:"3",height:"3"},label:{fontSize:"sm"}})},defaultProps:{size:"md",colorScheme:"blue"}}),{defineMultiStyleConfig:Ih,definePartsStyle:$h}=$s(Xd.keys),Vh=ss("select-bg"),Wh={paddingInlineEnd:"8"},Hh=Ih({baseStyle:$h({field:{...null==(yh=th.baseStyle)?void 0:yh.field,appearance:"none",paddingBottom:"1px",lineHeight:"normal",bg:Vh.reference,[Vh.variable]:"colors.white",_dark:{[Vh.variable]:"colors.gray.700"},"> option, > optgroup":{bg:Vh.reference}},icon:{width:"6",height:"100%",insetEnd:"2",position:"relative",color:"currentColor",fontSize:"xl",_disabled:{opacity:.5}}}),sizes:{lg:{...null==(bh=th.sizes)?void 0:bh.lg,field:{...null==(wh=th.sizes)?void 0:wh.lg.field,...Wh}},md:{...null==(xh=th.sizes)?void 0:xh.md,field:{...null==(Sh=th.sizes)?void 0:Sh.md.field,...Wh}},sm:{...null==(kh=th.sizes)?void 0:kh.sm,field:{...null==(Eh=th.sizes)?void 0:Eh.sm.field,...Wh}},xs:{...null==(Ch=th.sizes)?void 0:Ch.xs,field:{...null==(_h=th.sizes)?void 0:_h.xs.field,...Wh},icon:{insetEnd:"1"}}},variants:th.variants,defaultProps:th.defaultProps}),Uh=ss("skeleton-start-color"),qh=ss("skeleton-end-color"),Zh={baseStyle:{[Uh.variable]:"colors.gray.100",[qh.variable]:"colors.gray.400",_dark:{[Uh.variable]:"colors.gray.800",[qh.variable]:"colors.gray.600"},background:Uh.reference,borderColor:qh.reference,opacity:.7,borderRadius:"sm"}},Qh=ss("skip-link-bg"),Kh={baseStyle:{borderRadius:"md",fontWeight:"semibold",_focusVisible:{boxShadow:"outline",padding:"4",position:"fixed",top:"6",insetStart:"6",[Qh.variable]:"colors.white",_dark:{[Qh.variable]:"colors.gray.700"},bg:Qh.reference}}},{defineMultiStyleConfig:Yh,definePartsStyle:Gh}=$s(Jd.keys),Xh=ss("slider-thumb-size"),Jh=ss("slider-track-size"),em=ss("slider-bg"),tm=e=>{const{orientation:t}=e;return{display:"inline-block",position:"relative",cursor:"pointer",_disabled:{opacity:.6,cursor:"default",pointerEvents:"none"},...Af({orientation:t,vertical:{h:"100%"},horizontal:{w:"100%"}})}},nm=e=>({...Af({orientation:e.orientation,horizontal:{h:Jh.reference},vertical:{w:Jh.reference}}),overflow:"hidden",borderRadius:"sm",[em.variable]:"colors.gray.200",_dark:{[em.variable]:"colors.whiteAlpha.200"},_disabled:{[em.variable]:"colors.gray.300",_dark:{[em.variable]:"colors.whiteAlpha.300"}},bg:em.reference}),rm=e=>{const{orientation:t}=e;return{...Af({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:Xh.reference,h:Xh.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"}}},om=e=>{const{colorScheme:t}=e;return{width:"inherit",height:"inherit",[em.variable]:`colors.${t}.500`,_dark:{[em.variable]:`colors.${t}.200`},bg:em.reference}},am=Yh({baseStyle:Gh(e=>({container:tm(e),track:nm(e),thumb:rm(e),filledTrack:om(e)})),sizes:{lg:Gh({container:{[Xh.variable]:"sizes.4",[Jh.variable]:"sizes.1"}}),md:Gh({container:{[Xh.variable]:"sizes.3.5",[Jh.variable]:"sizes.1"}}),sm:Gh({container:{[Xh.variable]:"sizes.2.5",[Jh.variable]:"sizes.0.5"}})},defaultProps:{size:"md",colorScheme:"blue"}}),im=cf("spinner-size"),sm={baseStyle:{width:[im.reference],height:[im.reference]},sizes:{xs:{[im.variable]:"sizes.3"},sm:{[im.variable]:"sizes.4"},md:{[im.variable]:"sizes.6"},lg:{[im.variable]:"sizes.8"},xl:{[im.variable]:"sizes.12"}},defaultProps:{size:"md"}},{defineMultiStyleConfig:lm,definePartsStyle:cm}=$s(ef.keys),um=lm({baseStyle:cm({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:cm({label:{fontSize:"sm"},helpText:{fontSize:"sm"},number:{fontSize:"2xl"}})},defaultProps:{size:"md"}}),dm=ss("kbd-bg"),fm={baseStyle:{[dm.variable]:"colors.gray.100",_dark:{[dm.variable]:"colors.whiteAlpha.100"},bg:dm.reference,borderRadius:"md",borderWidth:"1px",borderBottomWidth:"3px",fontSize:"0.8em",fontWeight:"bold",lineHeight:"normal",px:"0.4em",whiteSpace:"nowrap"}},{defineMultiStyleConfig:pm,definePartsStyle:hm}=$s(Ud.keys),mm=pm({baseStyle:hm({icon:{marginEnd:"2",display:"inline",verticalAlign:"text-bottom"}})}),{defineMultiStyleConfig:vm,definePartsStyle:gm}=$s(qd.keys),ym=ss("menu-bg"),bm=ss("menu-shadow"),wm=vm({baseStyle:gm({button:{transitionProperty:"common",transitionDuration:"normal"},list:{[ym.variable]:"#fff",[bm.variable]:"shadows.sm",_dark:{[ym.variable]:"colors.gray.700",[bm.variable]:"shadows.dark-lg"},color:"inherit",minW:"3xs",py:"2",zIndex:1,borderRadius:"md",borderWidth:"1px",bg:ym.reference,boxShadow:bm.reference},item:{py:"1.5",px:"3",transitionProperty:"background",transitionDuration:"ultra-fast",transitionTimingFunction:"ease-in",_focus:{[ym.variable]:"colors.gray.100",_dark:{[ym.variable]:"colors.whiteAlpha.100"}},_active:{[ym.variable]:"colors.gray.200",_dark:{[ym.variable]:"colors.whiteAlpha.200"}},_expanded:{[ym.variable]:"colors.gray.100",_dark:{[ym.variable]:"colors.whiteAlpha.100"}},_disabled:{opacity:.4,cursor:"not-allowed"},bg:ym.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:xm,definePartsStyle:Sm}=$s(Zd.keys),km=ss("modal-bg"),Em=ss("modal-shadow"),Cm={bg:"blackAlpha.600",zIndex:"modal"},_m=e=>{const{isCentered:t,scrollBehavior:n}=e;return{display:"flex",zIndex:"modal",justifyContent:"center",alignItems:t?"center":"flex-start",overflow:"inside"===n?"hidden":"auto",overscrollBehaviorY:"none"}},Pm=e=>{const{isCentered:t,scrollBehavior:n}=e;return{borderRadius:"md",color:"inherit",my:t?"auto":"16",mx:t?"auto":void 0,zIndex:"modal",maxH:"inside"===n?"calc(100% - 7.5rem)":void 0,[km.variable]:"colors.white",[Em.variable]:"shadows.lg",_dark:{[km.variable]:"colors.gray.700",[Em.variable]:"shadows.dark-lg"},bg:km.reference,boxShadow:Em.reference}},Rm={px:"6",py:"4",fontSize:"xl",fontWeight:"semibold"},Tm={position:"absolute",top:"2",insetEnd:"3"},Am=e=>{const{scrollBehavior:t}=e;return{px:"6",py:"2",flex:"1",overflow:"inside"===t?"auto":void 0}},Mm={px:"6",py:"4"};function Om(e){return Sm("full"===e?{dialog:{maxW:"100vw",minH:"$100vh",my:"0",borderRadius:"0"}}:{dialog:{maxW:e}})}var zm=xm({baseStyle:Sm(e=>({overlay:Cm,dialogContainer:gh(_m,e),dialog:gh(Pm,e),header:Rm,closeButton:Tm,body:gh(Am,e),footer:Mm})),sizes:{xs:Om("xs"),sm:Om("sm"),md:Om("md"),lg:Om("lg"),xl:Om("xl"),"2xl":Om("2xl"),"3xl":Om("3xl"),"4xl":Om("4xl"),"5xl":Om("5xl"),"6xl":Om("6xl"),full:Om("full")},defaultProps:{size:"md"}}),{defineMultiStyleConfig:Fm,definePartsStyle:jm}=$s(Qd.keys),Dm=cf("number-input-stepper-width"),Lm=cf("number-input-input-padding"),Bm=gf(Dm).add("0.5rem").toString(),Nm=cf("number-input-bg"),Im=cf("number-input-color"),$m=cf("number-input-border-color"),Vm={[Dm.variable]:"sizes.6",[Lm.variable]:Bm},Wm=e=>{var t,n;return null!=(n=null==(t=gh(th.baseStyle,e))?void 0:t.field)?n:{}},Hm={width:Dm.reference},Um={borderStart:"1px solid",borderStartColor:$m.reference,color:Im.reference,bg:Nm.reference,[Im.variable]:"colors.chakra-body-text",[$m.variable]:"colors.chakra-border-color",_dark:{[Im.variable]:"colors.whiteAlpha.800",[$m.variable]:"colors.whiteAlpha.300"},_active:{[Nm.variable]:"colors.gray.200",_dark:{[Nm.variable]:"colors.whiteAlpha.300"}},_disabled:{opacity:.4,cursor:"not-allowed"}},qm=jm(e=>{var t;return{root:Vm,field:null!=(t=gh(Wm,e))?t:{},stepperGroup:Hm,stepper:Um}});function Zm(e){var t,n,r;const o=null==(t=th.sizes)?void 0:t[e],a={lg:"md",md:"md",sm:"sm",xs:"sm"},i=null!=(r=null==(n=o.field)?void 0:n.fontSize)?r:"md",s=Sd.fontSizes[i];return jm({field:{...o.field,paddingInlineEnd:Lm.reference,verticalAlign:"top"},stepper:{fontSize:gf(s).multiply(.75).toString(),_first:{borderTopEndRadius:a[e]},_last:{borderBottomEndRadius:a[e],mt:"-1px",borderTopWidth:1}}})}var Qm,Km,Ym,Gm=Fm({baseStyle:qm,sizes:{xs:Zm("xs"),sm:Zm("sm"),md:Zm("md"),lg:Zm("lg")},variants:th.variants,defaultProps:th.defaultProps}),Xm={...null==(Qm=th.baseStyle)?void 0:Qm.field,textAlign:"center"},Jm={outline:e=>{var t,n,r;return null!=(r=null==(n=gh(null==(t=th.variants)?void 0:t.outline,e))?void 0:n.field)?r:{}},flushed:e=>{var t,n,r;return null!=(r=null==(n=gh(null==(t=th.variants)?void 0:t.flushed,e))?void 0:n.field)?r:{}},filled:e=>{var t,n,r;return null!=(r=null==(n=gh(null==(t=th.variants)?void 0:t.filled,e))?void 0:n.field)?r:{}},unstyled:null!=(Ym=null==(Km=th.variants)?void 0:Km.unstyled.field)?Ym:{}},ev={baseStyle:Xm,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:Jm,defaultProps:th.defaultProps},{defineMultiStyleConfig:tv,definePartsStyle:nv}=$s(Kd.keys),rv=cf("popper-bg"),ov=cf("popper-arrow-bg"),av=cf("popper-arrow-shadow-color"),iv=tv({baseStyle:nv({popper:{zIndex:10},content:{[rv.variable]:"colors.white",bg:rv.reference,[ov.variable]:rv.reference,[av.variable]:"colors.gray.200",_dark:{[rv.variable]:"colors.gray.700",[av.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}})}),{definePartsStyle:sv,defineMultiStyleConfig:lv}=$s(Id.keys),cv=ss("drawer-bg"),uv=ss("drawer-box-shadow");function dv(e){return sv("full"===e?{dialog:{maxW:"100vw",h:"100vh"}}:{dialog:{maxW:e}})}var fv={bg:"blackAlpha.600",zIndex:"modal"},pv={display:"flex",zIndex:"modal",justifyContent:"center"},hv=e=>{const{isFullHeight:t}=e;return{...t&&{height:"100vh"},zIndex:"modal",maxH:"100vh",color:"inherit",[cv.variable]:"colors.white",[uv.variable]:"shadows.lg",_dark:{[cv.variable]:"colors.gray.700",[uv.variable]:"shadows.dark-lg"},bg:cv.reference,boxShadow:uv.reference}},mv={px:"6",py:"4",fontSize:"xl",fontWeight:"semibold"},vv={position:"absolute",top:"2",insetEnd:"3"},gv={px:"6",py:"2",flex:"1",overflow:"auto"},yv={px:"6",py:"4"},bv=lv({baseStyle:sv(e=>({overlay:fv,dialogContainer:pv,dialog:gh(hv,e),header:mv,closeButton:vv,body:gv,footer:yv})),sizes:{xs:dv("xs"),sm:dv("md"),md:dv("lg"),lg:dv("2xl"),xl:dv("4xl"),full:dv("full")},defaultProps:{size:"xs"}}),{definePartsStyle:wv,defineMultiStyleConfig:xv}=$s($d.keys),Sv=xv({baseStyle:wv({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:kv,defineMultiStyleConfig:Ev}=$s(Vd.keys),Cv=ss("form-control-color"),_v=Ev({baseStyle:kv({container:{width:"100%",position:"relative"},requiredIndicator:{marginStart:"1",[Cv.variable]:"colors.red.500",_dark:{[Cv.variable]:"colors.red.300"},color:Cv.reference},helperText:{mt:"2",[Cv.variable]:"colors.gray.600",_dark:{[Cv.variable]:"colors.whiteAlpha.600"},color:Cv.reference,lineHeight:"normal",fontSize:"sm"}})}),{definePartsStyle:Pv,defineMultiStyleConfig:Rv}=$s(Wd.keys),Tv=ss("form-error-color"),Av=Rv({baseStyle:Pv({text:{[Tv.variable]:"colors.red.500",_dark:{[Tv.variable]:"colors.red.300"},color:Tv.reference,mt:"2",fontSize:"sm",lineHeight:"normal"},icon:{marginEnd:"0.5em",[Tv.variable]:"colors.red.500",_dark:{[Tv.variable]:"colors.red.300"},color:Tv.reference}})}),{defineMultiStyleConfig:Mv,definePartsStyle:Ov}=$s(Bd.keys),zv=ss("breadcrumb-link-decor"),Fv=Mv({baseStyle:Ov({link:{transitionProperty:"common",transitionDuration:"fast",transitionTimingFunction:"ease-out",outline:"none",color:"inherit",textDecoration:zv.reference,[zv.variable]:"none","&:not([aria-current=page])":{cursor:"pointer",_hover:{[zv.variable]:"underline"},_focusVisible:{boxShadow:"outline"}}}})}),jv=e=>{const{colorScheme:t,theme:n}=e;if("gray"===t)return{color:Tf("gray.800","whiteAlpha.900")(e),_hover:{bg:Tf("gray.100","whiteAlpha.200")(e)},_active:{bg:Tf("gray.200","whiteAlpha.300")(e)}};const r=Xf(`${t}.200`,.12)(n),o=Xf(`${t}.200`,.24)(n);return{color:Tf(`${t}.600`,`${t}.200`)(e),bg:"transparent",_hover:{bg:Tf(`${t}.50`,r)(e)},_active:{bg:Tf(`${t}.100`,o)(e)}}},Dv={yellow:{bg:"yellow.400",color:"black",hoverBg:"yellow.500",activeBg:"yellow.600"},cyan:{bg:"cyan.400",color:"black",hoverBg:"cyan.500",activeBg:"cyan.600"}},Lv={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:jv,outline:e=>{const{colorScheme:t}=e,n=Tf("gray.200","whiteAlpha.300")(e);return{border:"1px solid",borderColor:"gray"===t?n:"currentColor",".chakra-button__group[data-attached][data-orientation=horizontal] > &:not(:last-of-type)":{marginEnd:"-1px"},".chakra-button__group[data-attached][data-orientation=vertical] > &:not(:last-of-type)":{marginBottom:"-1px"},...gh(jv,e)}},solid:e=>{var t;const{colorScheme:n}=e;if("gray"===n){const t=Tf("gray.100","whiteAlpha.200")(e);return{bg:t,color:Tf("gray.800","whiteAlpha.900")(e),_hover:{bg:Tf("gray.200","whiteAlpha.300")(e),_disabled:{bg:t}},_active:{bg:Tf("gray.300","whiteAlpha.400")(e)}}}const{bg:r=`${n}.500`,color:o="white",hoverBg:a=`${n}.600`,activeBg:i=`${n}.700`}=null!=(t=Dv[n])?t:{},s=Tf(r,`${n}.200`)(e);return{bg:s,color:Tf(o,"gray.800")(e),_hover:{bg:Tf(a,`${n}.300`)(e),_disabled:{bg:s}},_active:{bg:Tf(i,`${n}.400`)(e)}}},link:e=>{const{colorScheme:t}=e;return{padding:0,height:"auto",lineHeight:"normal",verticalAlign:"baseline",color:Tf(`${t}.500`,`${t}.200`)(e),_hover:{textDecoration:"underline",_disabled:{textDecoration:"none"}},_active:{color:Tf(`${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:Bv,defineMultiStyleConfig:Nv}=$s(af.keys),Iv=ss("card-bg"),$v=ss("card-padding"),Vv=ss("card-shadow"),Wv=ss("card-radius"),Hv=ss("card-border-width","0"),Uv=ss("card-border-color"),qv=Bv({container:{[Iv.variable]:"colors.chakra-body-bg",backgroundColor:Iv.reference,boxShadow:Vv.reference,borderRadius:Wv.reference,color:"chakra-body-text",borderWidth:Hv.reference,borderColor:Uv.reference},body:{padding:$v.reference,flex:"1 1 0%"},header:{padding:$v.reference},footer:{padding:$v.reference}}),Zv={sm:Bv({container:{[Wv.variable]:"radii.base",[$v.variable]:"space.3"}}),md:Bv({container:{[Wv.variable]:"radii.md",[$v.variable]:"space.5"}}),lg:Bv({container:{[Wv.variable]:"radii.xl",[$v.variable]:"space.7"}})},Qv=Nv({baseStyle:qv,variants:{elevated:Bv({container:{[Vv.variable]:"shadows.base",_dark:{[Iv.variable]:"colors.gray.700"}}}),outline:Bv({container:{[Hv.variable]:"1px",[Uv.variable]:"colors.chakra-border-color"}}),filled:Bv({container:{[Iv.variable]:"colors.chakra-subtle-bg"}}),unstyled:{body:{[$v.variable]:0},header:{[$v.variable]:0},footer:{[$v.variable]:0}}},sizes:Zv,defaultProps:{variant:"elevated",size:"md"}}),Kv=cf("close-button-size"),Yv=cf("close-button-bg"),Gv={baseStyle:{w:[Kv.reference],h:[Kv.reference],borderRadius:"md",transitionProperty:"common",transitionDuration:"normal",_disabled:{opacity:.4,cursor:"not-allowed",boxShadow:"none"},_hover:{[Yv.variable]:"colors.blackAlpha.100",_dark:{[Yv.variable]:"colors.whiteAlpha.100"}},_active:{[Yv.variable]:"colors.blackAlpha.200",_dark:{[Yv.variable]:"colors.whiteAlpha.200"}},_focusVisible:{boxShadow:"outline"},bg:Yv.reference},sizes:{lg:{[Kv.variable]:"sizes.10",fontSize:"md"},md:{[Kv.variable]:"sizes.8",fontSize:"xs"},sm:{[Kv.variable]:"sizes.6",fontSize:"2xs"}},defaultProps:{size:"md"}},{variants:Xv,defaultProps:Jv}=gp,eg={baseStyle:{fontFamily:"mono",fontSize:"sm",px:"0.2em",borderRadius:"sm",bg:vp.bg.reference,color:vp.color.reference,boxShadow:vp.shadow.reference},variants:Xv,defaultProps:Jv},{definePartsStyle:tg,defineMultiStyleConfig:ng}=$s(jd.keys),rg=ng({baseStyle:tg({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"}})}),{definePartsStyle:og,defineMultiStyleConfig:ag}=$s(Dd.keys),ig=ss("alert-fg"),sg=ss("alert-bg");function lg(e){const{theme:t,colorScheme:n}=e;return{light:`colors.${n}.100`,dark:Xf(`${n}.200`,.16)(t)}}var cg=ag({baseStyle:og({container:{bg:sg.reference,px:"4",py:"3"},title:{fontWeight:"bold",lineHeight:"6",marginEnd:"2"},description:{lineHeight:"6"},icon:{color:ig.reference,flexShrink:0,marginEnd:"3",w:"5",h:"6"},spinner:{color:ig.reference,flexShrink:0,marginEnd:"3",w:"5",h:"5"}}),variants:{subtle:og(e=>{const{colorScheme:t}=e,n=lg(e);return{container:{[ig.variable]:`colors.${t}.600`,[sg.variable]:n.light,_dark:{[ig.variable]:`colors.${t}.200`,[sg.variable]:n.dark}}}}),"left-accent":og(e=>{const{colorScheme:t}=e,n=lg(e);return{container:{[ig.variable]:`colors.${t}.600`,[sg.variable]:n.light,_dark:{[ig.variable]:`colors.${t}.200`,[sg.variable]:n.dark},paddingStart:"3",borderStartWidth:"4px",borderStartColor:ig.reference}}}),"top-accent":og(e=>{const{colorScheme:t}=e,n=lg(e);return{container:{[ig.variable]:`colors.${t}.600`,[sg.variable]:n.light,_dark:{[ig.variable]:`colors.${t}.200`,[sg.variable]:n.dark},pt:"2",borderTopWidth:"4px",borderTopColor:ig.reference}}}),solid:og(e=>{const{colorScheme:t}=e;return{container:{[ig.variable]:"colors.white",[sg.variable]:`colors.${t}.600`,_dark:{[ig.variable]:"colors.gray.900",[sg.variable]:`colors.${t}.200`},color:ig.reference}}})},defaultProps:{variant:"subtle",colorScheme:"blue"}}),{definePartsStyle:ug,defineMultiStyleConfig:dg}=$s(Ld.keys),fg=ss("avatar-border-color"),pg=ss("avatar-bg"),hg=ss("avatar-font-size"),mg=ss("avatar-size"),vg={borderRadius:"full",border:"0.2em solid",borderColor:fg.reference,[fg.variable]:"white",_dark:{[fg.variable]:"colors.gray.800"}},gg={bg:pg.reference,fontSize:hg.reference,width:mg.reference,height:mg.reference,lineHeight:"1",[pg.variable]:"colors.gray.200",_dark:{[pg.variable]:"colors.whiteAlpha.400"}},yg=e=>{const{name:t,theme:n}=e,r=t?function(e){const t=`#${Math.floor(16777215*Math.random()).toString(16).padEnd(6,"0")}`;return e&&(n=e,0!==Object.keys(n).length)?e.string&&e.colors?function(e,t){let n=0;if(0===e.length)return t[0];for(let t=0;t<e.length;t+=1)n=e.charCodeAt(t)+((n<<5)-n),n&=n;return n=(n%t.length+t.length)%t.length,t[n]}(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 n="#";for(let e=0;e<3;e+=1)n+=`00${(t>>8*e&255).toString(16)}`.substr(-2);return n}(e.string):e.colors&&!e.string?function(e){return e[Math.floor(Math.random()*e.length)]}(e.colors):t:t;var n}({string:t}):"colors.gray.400",o=(e=>t=>"dark"===(e=>t=>{const n=(e=>{const[t,n,r]=Nf(e);return(299*t+587*n+114*r)/1e3})(Gf(t,e));return n<128?"dark":"light"})(e)(t))(r)(n);let a="white";return o||(a="gray.800"),{bg:pg.reference,fontSize:hg.reference,color:a,borderColor:fg.reference,verticalAlign:"top",width:mg.reference,height:mg.reference,"&:not([data-loaded])":{[pg.variable]:r},[fg.variable]:"colors.white",_dark:{[fg.variable]:"colors.gray.800"}}},bg={fontSize:hg.reference,lineHeight:"1"};function wg(e){const t="100%"!==e?Ed[e]:void 0;return ug({container:{[mg.variable]:null!=t?t:e,[hg.variable]:`calc(${null!=t?t:e} / 2.5)`},excessLabel:{[mg.variable]:null!=t?t:e,[hg.variable]:`calc(${null!=t?t:e} / 2.5)`}})}var xg={Accordion:rg,Alert:cg,Avatar:dg({baseStyle:ug(e=>({badge:gh(vg,e),excessLabel:gh(gg,e),container:gh(yg,e),label:bg})),sizes:{"2xs":wg(4),xs:wg(6),sm:wg(8),md:wg(12),lg:wg(16),xl:wg(24),"2xl":wg(32),full:wg("100%")},defaultProps:{size:"md"}}),Badge:gp,Breadcrumb:Fv,Button:Lv,Checkbox:Fh,CloseButton:Gv,Code:eg,Container:{baseStyle:{w:"100%",mx:"auto",maxW:"prose",px:"4"}},Divider:{baseStyle:{opacity:.6,borderColor:"inherit"},variants:{solid:{borderStyle:"solid"},dashed:{borderStyle:"dashed"}},defaultProps:{variant:"solid"}},Drawer:bv,Editable:Sv,Form:_v,FormError:Av,FormLabel:{baseStyle:{fontSize:"md",marginEnd:"3",mb:"2",fontWeight:"medium",transitionProperty:"common",transitionDuration:"normal",opacity:1,_disabled:{opacity:.4}}},Heading:{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"}},Input:th,Kbd:fm,Link:{baseStyle:{transitionProperty:"common",transitionDuration:"fast",transitionTimingFunction:"ease-out",cursor:"pointer",textDecoration:"none",outline:"none",color:"inherit",_hover:{textDecoration:"underline"},_focusVisible:{boxShadow:"outline"}}},List:mm,Menu:wm,Modal:zm,NumberInput:Gm,PinInput:ev,Popover:iv,Progress:vh,Radio:Nh,Select:Hh,Skeleton:Zh,SkipLink:Kh,Slider:am,Spinner:sm,Stat:um,Switch:Rf,Table:jf,Tabs:mp,Tag:Ap,Textarea:oh,Tooltip:lh,Card:Qv,Stepper:zd},Sg={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"}}},kg={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"}}},Eg={useSystemColorMode:!1,initialColorMode:"light",cssVarPrefix:"chakra"},Cg={semanticTokens:Sg,direction:"ltr",...Cd,components:xg,styles:kg,config:Eg},_g={semanticTokens:Sg,direction:"ltr",components:{},...Cd,styles:kg,config:Eg},Pg=e=>function({children:t,theme:n=e,toastOptions:r,...o}){return(0,Lc.jsxs)(xd,{theme:n,...o,children:[(0,Lc.jsx)(Bu,{value:null==r?void 0:r.defaultOptions,children:t}),(0,Lc.jsx)(Iu,{...r})]})},Rg=Pg(Cg);Pg(_g);const Tg="undefined"==typeof window||"Deno"in window;function Ag(){}function Mg(e){return"number"==typeof e&&e>=0&&e!==1/0}function Og(e,t){return Math.max(e+(t||0)-Date.now(),0)}function zg(e,t,n){return qg(e)?"function"==typeof t?{...n,queryKey:e,queryFn:t}:{...t,queryKey:e}:e}function Fg(e,t,n){return qg(e)?[{...t,queryKey:e},n]:[e||{},t]}function jg(e,t){const{type:n="all",exact:r,fetchStatus:o,predicate:a,queryKey:i,stale:s}=e;if(qg(i))if(r){if(t.queryHash!==Lg(i,t.options))return!1}else if(!Ng(t.queryKey,i))return!1;if("all"!==n){const e=t.isActive();if("active"===n&&!e)return!1;if("inactive"===n&&e)return!1}return!("boolean"==typeof s&&t.isStale()!==s||void 0!==o&&o!==t.state.fetchStatus||a&&!a(t))}function Dg(e,t){const{exact:n,fetching:r,predicate:o,mutationKey:a}=e;if(qg(a)){if(!t.options.mutationKey)return!1;if(n){if(Bg(t.options.mutationKey)!==Bg(a))return!1}else if(!Ng(t.options.mutationKey,a))return!1}return!("boolean"==typeof r&&"loading"===t.state.status!==r||o&&!o(t))}function Lg(e,t){return((null==t?void 0:t.queryKeyHashFn)||Bg)(e)}function Bg(e){return JSON.stringify(e,(e,t)=>Hg(t)?Object.keys(t).sort().reduce((e,n)=>(e[n]=t[n],e),{}):t)}function Ng(e,t){return Ig(e,t)}function Ig(e,t){return e===t||typeof e==typeof t&&!(!e||!t||"object"!=typeof e||"object"!=typeof t)&&!Object.keys(t).some(n=>!Ig(e[n],t[n]))}function $g(e,t){if(e===t)return e;const n=Wg(e)&&Wg(t);if(n||Hg(e)&&Hg(t)){const r=n?e.length:Object.keys(e).length,o=n?t:Object.keys(t),a=o.length,i=n?[]:{};let s=0;for(let r=0;r<a;r++){const a=n?r:o[r];i[a]=$g(e[a],t[a]),i[a]===e[a]&&s++}return r===a&&s===r?e:i}return t}function Vg(e,t){if(e&&!t||t&&!e)return!1;for(const n in e)if(e[n]!==t[n])return!1;return!0}function Wg(e){return Array.isArray(e)&&e.length===Object.keys(e).length}function Hg(e){if(!Ug(e))return!1;const t=e.constructor;if(void 0===t)return!0;const n=t.prototype;return!!Ug(n)&&!!n.hasOwnProperty("isPrototypeOf")}function Ug(e){return"[object Object]"===Object.prototype.toString.call(e)}function qg(e){return Array.isArray(e)}function Zg(e){return new Promise(t=>{setTimeout(t,e)})}function Qg(e){Zg(0).then(e)}function Kg(e,t,n){return null!=n.isDataEqual&&n.isDataEqual(e,t)?e:"function"==typeof n.structuralSharing?n.structuralSharing(e,t):!1!==n.structuralSharing?$g(e,t):t}const Yg=console,Gg=function(){let e=[],t=0,n=e=>{e()},r=e=>{e()};const o=r=>{t?e.push(r):Qg(()=>{n(r)})};return{batch:o=>{let a;t++;try{a=o()}finally{t--,t||(()=>{const t=e;e=[],t.length&&Qg(()=>{r(()=>{t.forEach(e=>{n(e)})})})})()}return a},batchCalls:e=>(...t)=>{o(()=>{e(...t)})},schedule:o,setNotifyFunction:e=>{n=e},setBatchNotifyFunction:e=>{r=e}}}();class Xg{constructor(){this.listeners=new Set,this.subscribe=this.subscribe.bind(this)}subscribe(e){const t={listener:e};return this.listeners.add(t),this.onSubscribe(),()=>{this.listeners.delete(t),this.onUnsubscribe()}}hasListeners(){return this.listeners.size>0}onSubscribe(){}onUnsubscribe(){}}const Jg=new class extends Xg{constructor(){super(),this.setup=e=>{if(!Tg&&window.addEventListener){const t=()=>e();return window.addEventListener("visibilitychange",t,!1),window.addEventListener("focus",t,!1),()=>{window.removeEventListener("visibilitychange",t),window.removeEventListener("focus",t)}}}}onSubscribe(){this.cleanup||this.setEventListener(this.setup)}onUnsubscribe(){var e;this.hasListeners()||(null==(e=this.cleanup)||e.call(this),this.cleanup=void 0)}setEventListener(e){var t;this.setup=e,null==(t=this.cleanup)||t.call(this),this.cleanup=e(e=>{"boolean"==typeof e?this.setFocused(e):this.onFocus()})}setFocused(e){this.focused!==e&&(this.focused=e,this.onFocus())}onFocus(){this.listeners.forEach(({listener:e})=>{e()})}isFocused(){return"boolean"==typeof this.focused?this.focused:"undefined"==typeof document||[void 0,"visible","prerender"].includes(document.visibilityState)}},ey=["online","offline"],ty=new class extends Xg{constructor(){super(),this.setup=e=>{if(!Tg&&window.addEventListener){const t=()=>e();return ey.forEach(e=>{window.addEventListener(e,t,!1)}),()=>{ey.forEach(e=>{window.removeEventListener(e,t)})}}}}onSubscribe(){this.cleanup||this.setEventListener(this.setup)}onUnsubscribe(){var e;this.hasListeners()||(null==(e=this.cleanup)||e.call(this),this.cleanup=void 0)}setEventListener(e){var t;this.setup=e,null==(t=this.cleanup)||t.call(this),this.cleanup=e(e=>{"boolean"==typeof e?this.setOnline(e):this.onOnline()})}setOnline(e){this.online!==e&&(this.online=e,this.onOnline())}onOnline(){this.listeners.forEach(({listener:e})=>{e()})}isOnline(){return"boolean"==typeof this.online?this.online:"undefined"==typeof navigator||void 0===navigator.onLine||navigator.onLine}};function ny(e){return Math.min(1e3*2**e,3e4)}function ry(e){return"online"!==(null!=e?e:"online")||ty.isOnline()}class oy{constructor(e){this.revert=null==e?void 0:e.revert,this.silent=null==e?void 0:e.silent}}function ay(e){return e instanceof oy}function iy(e){let t,n,r,o=!1,a=0,i=!1;const s=new Promise((e,t)=>{n=e,r=t}),l=()=>!Jg.isFocused()||"always"!==e.networkMode&&!ty.isOnline(),c=r=>{i||(i=!0,null==e.onSuccess||e.onSuccess(r),null==t||t(),n(r))},u=n=>{i||(i=!0,null==e.onError||e.onError(n),null==t||t(),r(n))},d=()=>new Promise(n=>{t=e=>{const t=i||!l();return t&&n(e),t},null==e.onPause||e.onPause()}).then(()=>{t=void 0,i||null==e.onContinue||e.onContinue()}),f=()=>{if(i)return;let t;try{t=e.fn()}catch(e){t=Promise.reject(e)}Promise.resolve(t).then(c).catch(t=>{var n,r;if(i)return;const s=null!=(n=e.retry)?n:3,c=null!=(r=e.retryDelay)?r:ny,p="function"==typeof c?c(a,t):c,h=!0===s||"number"==typeof s&&a<s||"function"==typeof s&&s(a,t);!o&&h?(a++,null==e.onFail||e.onFail(a,t),Zg(p).then(()=>{if(l())return d()}).then(()=>{o?u(t):f()})):u(t)})};return ry(e.networkMode)?f():d().then(f),{promise:s,cancel:t=>{i||(u(new oy(t)),null==e.abort||e.abort())},continue:()=>(null==t?void 0:t())?s:Promise.resolve(),cancelRetry:()=>{o=!0},continueRetry:()=>{o=!1}}}class sy{destroy(){this.clearGcTimeout()}scheduleGc(){this.clearGcTimeout(),Mg(this.cacheTime)&&(this.gcTimeout=setTimeout(()=>{this.optionalRemove()},this.cacheTime))}updateCacheTime(e){this.cacheTime=Math.max(this.cacheTime||0,null!=e?e:Tg?1/0:3e5)}clearGcTimeout(){this.gcTimeout&&(clearTimeout(this.gcTimeout),this.gcTimeout=void 0)}}class ly extends sy{constructor(e){super(),this.abortSignalConsumed=!1,this.defaultOptions=e.defaultOptions,this.setOptions(e.options),this.observers=[],this.cache=e.cache,this.logger=e.logger||Yg,this.queryKey=e.queryKey,this.queryHash=e.queryHash,this.initialState=e.state||function(e){const t="function"==typeof e.initialData?e.initialData():e.initialData,n=void 0!==t,r=n?"function"==typeof e.initialDataUpdatedAt?e.initialDataUpdatedAt():e.initialDataUpdatedAt:0;return{data:t,dataUpdateCount:0,dataUpdatedAt:n?null!=r?r:Date.now():0,error:null,errorUpdateCount:0,errorUpdatedAt:0,fetchFailureCount:0,fetchFailureReason:null,fetchMeta:null,isInvalidated:!1,status:n?"success":"loading",fetchStatus:"idle"}}(this.options),this.state=this.initialState,this.scheduleGc()}get meta(){return this.options.meta}setOptions(e){this.options={...this.defaultOptions,...e},this.updateCacheTime(this.options.cacheTime)}optionalRemove(){this.observers.length||"idle"!==this.state.fetchStatus||this.cache.remove(this)}setData(e,t){const n=Kg(this.state.data,e,this.options);return this.dispatch({data:n,type:"success",dataUpdatedAt:null==t?void 0:t.updatedAt,manual:null==t?void 0:t.manual}),n}setState(e,t){this.dispatch({type:"setState",state:e,setStateOptions:t})}cancel(e){var t;const n=this.promise;return null==(t=this.retryer)||t.cancel(e),n?n.then(Ag).catch(Ag):Promise.resolve()}destroy(){super.destroy(),this.cancel({silent:!0})}reset(){this.destroy(),this.setState(this.initialState)}isActive(){return this.observers.some(e=>!1!==e.options.enabled)}isDisabled(){return this.getObserversCount()>0&&!this.isActive()}isStale(){return this.state.isInvalidated||!this.state.dataUpdatedAt||this.observers.some(e=>e.getCurrentResult().isStale)}isStaleByTime(e=0){return this.state.isInvalidated||!this.state.dataUpdatedAt||!Og(this.state.dataUpdatedAt,e)}onFocus(){var e;const t=this.observers.find(e=>e.shouldFetchOnWindowFocus());t&&t.refetch({cancelRefetch:!1}),null==(e=this.retryer)||e.continue()}onOnline(){var e;const t=this.observers.find(e=>e.shouldFetchOnReconnect());t&&t.refetch({cancelRefetch:!1}),null==(e=this.retryer)||e.continue()}addObserver(e){this.observers.includes(e)||(this.observers.push(e),this.clearGcTimeout(),this.cache.notify({type:"observerAdded",query:this,observer:e}))}removeObserver(e){this.observers.includes(e)&&(this.observers=this.observers.filter(t=>t!==e),this.observers.length||(this.retryer&&(this.abortSignalConsumed?this.retryer.cancel({revert:!0}):this.retryer.cancelRetry()),this.scheduleGc()),this.cache.notify({type:"observerRemoved",query:this,observer:e}))}getObserversCount(){return this.observers.length}invalidate(){this.state.isInvalidated||this.dispatch({type:"invalidate"})}fetch(e,t){var n,r;if("idle"!==this.state.fetchStatus)if(this.state.dataUpdatedAt&&null!=t&&t.cancelRefetch)this.cancel({silent:!0});else if(this.promise){var o;return null==(o=this.retryer)||o.continueRetry(),this.promise}if(e&&this.setOptions(e),!this.options.queryFn){const e=this.observers.find(e=>e.options.queryFn);e&&this.setOptions(e.options)}const a=function(){if("function"==typeof AbortController)return new AbortController}(),i={queryKey:this.queryKey,pageParam:void 0,meta:this.meta},s=e=>{Object.defineProperty(e,"signal",{enumerable:!0,get:()=>{if(a)return this.abortSignalConsumed=!0,a.signal}})};s(i);const l={fetchOptions:t,options:this.options,queryKey:this.queryKey,state:this.state,fetchFn:()=>this.options.queryFn?(this.abortSignalConsumed=!1,this.options.queryFn(i)):Promise.reject("Missing queryFn for queryKey '"+this.options.queryHash+"'")};var c;s(l),null==(n=this.options.behavior)||n.onFetch(l),this.revertState=this.state,("idle"===this.state.fetchStatus||this.state.fetchMeta!==(null==(r=l.fetchOptions)?void 0:r.meta))&&this.dispatch({type:"fetch",meta:null==(c=l.fetchOptions)?void 0:c.meta});const u=e=>{var t,n,r,o;ay(e)&&e.silent||this.dispatch({type:"error",error:e}),ay(e)||(null==(t=(n=this.cache.config).onError)||t.call(n,e,this),null==(r=(o=this.cache.config).onSettled)||r.call(o,this.state.data,e,this)),this.isFetchingOptimistic||this.scheduleGc(),this.isFetchingOptimistic=!1};return this.retryer=iy({fn:l.fetchFn,abort:null==a?void 0:a.abort.bind(a),onSuccess:e=>{var t,n,r,o;void 0!==e?(this.setData(e),null==(t=(n=this.cache.config).onSuccess)||t.call(n,e,this),null==(r=(o=this.cache.config).onSettled)||r.call(o,e,this.state.error,this),this.isFetchingOptimistic||this.scheduleGc(),this.isFetchingOptimistic=!1):u(new Error(this.queryHash+" data is undefined"))},onError:u,onFail:(e,t)=>{this.dispatch({type:"failed",failureCount:e,error:t})},onPause:()=>{this.dispatch({type:"pause"})},onContinue:()=>{this.dispatch({type:"continue"})},retry:l.options.retry,retryDelay:l.options.retryDelay,networkMode:l.options.networkMode}),this.promise=this.retryer.promise,this.promise}dispatch(e){this.state=(t=>{var n,r;switch(e.type){case"failed":return{...t,fetchFailureCount:e.failureCount,fetchFailureReason:e.error};case"pause":return{...t,fetchStatus:"paused"};case"continue":return{...t,fetchStatus:"fetching"};case"fetch":return{...t,fetchFailureCount:0,fetchFailureReason:null,fetchMeta:null!=(n=e.meta)?n:null,fetchStatus:ry(this.options.networkMode)?"fetching":"paused",...!t.dataUpdatedAt&&{error:null,status:"loading"}};case"success":return{...t,data:e.data,dataUpdateCount:t.dataUpdateCount+1,dataUpdatedAt:null!=(r=e.dataUpdatedAt)?r:Date.now(),error:null,isInvalidated:!1,status:"success",...!e.manual&&{fetchStatus:"idle",fetchFailureCount:0,fetchFailureReason:null}};case"error":const o=e.error;return ay(o)&&o.revert&&this.revertState?{...this.revertState,fetchStatus:"idle"}:{...t,error:o,errorUpdateCount:t.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:t.fetchFailureCount+1,fetchFailureReason:o,fetchStatus:"idle",status:"error"};case"invalidate":return{...t,isInvalidated:!0};case"setState":return{...t,...e.state}}})(this.state),Gg.batch(()=>{this.observers.forEach(t=>{t.onQueryUpdate(e)}),this.cache.notify({query:this,type:"updated",action:e})})}}class cy extends Xg{constructor(e){super(),this.config=e||{},this.queries=[],this.queriesMap={}}build(e,t,n){var r;const o=t.queryKey,a=null!=(r=t.queryHash)?r:Lg(o,t);let i=this.get(a);return i||(i=new ly({cache:this,logger:e.getLogger(),queryKey:o,queryHash:a,options:e.defaultQueryOptions(t),state:n,defaultOptions:e.getQueryDefaults(o)}),this.add(i)),i}add(e){this.queriesMap[e.queryHash]||(this.queriesMap[e.queryHash]=e,this.queries.push(e),this.notify({type:"added",query:e}))}remove(e){const t=this.queriesMap[e.queryHash];t&&(e.destroy(),this.queries=this.queries.filter(t=>t!==e),t===e&&delete this.queriesMap[e.queryHash],this.notify({type:"removed",query:e}))}clear(){Gg.batch(()=>{this.queries.forEach(e=>{this.remove(e)})})}get(e){return this.queriesMap[e]}getAll(){return this.queries}find(e,t){const[n]=Fg(e,t);return void 0===n.exact&&(n.exact=!0),this.queries.find(e=>jg(n,e))}findAll(e,t){const[n]=Fg(e,t);return Object.keys(n).length>0?this.queries.filter(e=>jg(n,e)):this.queries}notify(e){Gg.batch(()=>{this.listeners.forEach(({listener:t})=>{t(e)})})}onFocus(){Gg.batch(()=>{this.queries.forEach(e=>{e.onFocus()})})}onOnline(){Gg.batch(()=>{this.queries.forEach(e=>{e.onOnline()})})}}class uy extends sy{constructor(e){super(),this.defaultOptions=e.defaultOptions,this.mutationId=e.mutationId,this.mutationCache=e.mutationCache,this.logger=e.logger||Yg,this.observers=[],this.state=e.state||{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:"idle",variables:void 0},this.setOptions(e.options),this.scheduleGc()}setOptions(e){this.options={...this.defaultOptions,...e},this.updateCacheTime(this.options.cacheTime)}get meta(){return this.options.meta}setState(e){this.dispatch({type:"setState",state:e})}addObserver(e){this.observers.includes(e)||(this.observers.push(e),this.clearGcTimeout(),this.mutationCache.notify({type:"observerAdded",mutation:this,observer:e}))}removeObserver(e){this.observers=this.observers.filter(t=>t!==e),this.scheduleGc(),this.mutationCache.notify({type:"observerRemoved",mutation:this,observer:e})}optionalRemove(){this.observers.length||("loading"===this.state.status?this.scheduleGc():this.mutationCache.remove(this))}continue(){var e,t;return null!=(e=null==(t=this.retryer)?void 0:t.continue())?e:this.execute()}async execute(){const e=()=>{var e;return this.retryer=iy({fn:()=>this.options.mutationFn?this.options.mutationFn(this.state.variables):Promise.reject("No mutationFn found"),onFail:(e,t)=>{this.dispatch({type:"failed",failureCount:e,error:t})},onPause:()=>{this.dispatch({type:"pause"})},onContinue:()=>{this.dispatch({type:"continue"})},retry:null!=(e=this.options.retry)?e:0,retryDelay:this.options.retryDelay,networkMode:this.options.networkMode}),this.retryer.promise},t="loading"===this.state.status;try{var n,r,o,a,i,s,l,c;if(!t){var u,d,f,p;this.dispatch({type:"loading",variables:this.options.variables}),await(null==(u=(d=this.mutationCache.config).onMutate)?void 0:u.call(d,this.state.variables,this));const e=await(null==(f=(p=this.options).onMutate)?void 0:f.call(p,this.state.variables));e!==this.state.context&&this.dispatch({type:"loading",context:e,variables:this.state.variables})}const h=await e();return await(null==(n=(r=this.mutationCache.config).onSuccess)?void 0:n.call(r,h,this.state.variables,this.state.context,this)),await(null==(o=(a=this.options).onSuccess)?void 0:o.call(a,h,this.state.variables,this.state.context)),await(null==(i=(s=this.mutationCache.config).onSettled)?void 0:i.call(s,h,null,this.state.variables,this.state.context,this)),await(null==(l=(c=this.options).onSettled)?void 0:l.call(c,h,null,this.state.variables,this.state.context)),this.dispatch({type:"success",data:h}),h}catch(e){try{var h,m,v,g,y,b,w,x;throw await(null==(h=(m=this.mutationCache.config).onError)?void 0:h.call(m,e,this.state.variables,this.state.context,this)),await(null==(v=(g=this.options).onError)?void 0:v.call(g,e,this.state.variables,this.state.context)),await(null==(y=(b=this.mutationCache.config).onSettled)?void 0:y.call(b,void 0,e,this.state.variables,this.state.context,this)),await(null==(w=(x=this.options).onSettled)?void 0:w.call(x,void 0,e,this.state.variables,this.state.context)),e}finally{this.dispatch({type:"error",error:e})}}}dispatch(e){this.state=(t=>{switch(e.type){case"failed":return{...t,failureCount:e.failureCount,failureReason:e.error};case"pause":return{...t,isPaused:!0};case"continue":return{...t,isPaused:!1};case"loading":return{...t,context:e.context,data:void 0,failureCount:0,failureReason:null,error:null,isPaused:!ry(this.options.networkMode),status:"loading",variables:e.variables};case"success":return{...t,data:e.data,failureCount:0,failureReason:null,error:null,status:"success",isPaused:!1};case"error":return{...t,data:void 0,error:e.error,failureCount:t.failureCount+1,failureReason:e.error,isPaused:!1,status:"error"};case"setState":return{...t,...e.state}}})(this.state),Gg.batch(()=>{this.observers.forEach(t=>{t.onMutationUpdate(e)}),this.mutationCache.notify({mutation:this,type:"updated",action:e})})}}class dy extends Xg{constructor(e){super(),this.config=e||{},this.mutations=[],this.mutationId=0}build(e,t,n){const r=new uy({mutationCache:this,logger:e.getLogger(),mutationId:++this.mutationId,options:e.defaultMutationOptions(t),state:n,defaultOptions:t.mutationKey?e.getMutationDefaults(t.mutationKey):void 0});return this.add(r),r}add(e){this.mutations.push(e),this.notify({type:"added",mutation:e})}remove(e){this.mutations=this.mutations.filter(t=>t!==e),this.notify({type:"removed",mutation:e})}clear(){Gg.batch(()=>{this.mutations.forEach(e=>{this.remove(e)})})}getAll(){return this.mutations}find(e){return void 0===e.exact&&(e.exact=!0),this.mutations.find(t=>Dg(e,t))}findAll(e){return this.mutations.filter(t=>Dg(e,t))}notify(e){Gg.batch(()=>{this.listeners.forEach(({listener:t})=>{t(e)})})}resumePausedMutations(){var e;return this.resuming=(null!=(e=this.resuming)?e:Promise.resolve()).then(()=>{const e=this.mutations.filter(e=>e.state.isPaused);return Gg.batch(()=>e.reduce((e,t)=>e.then(()=>t.continue().catch(Ag)),Promise.resolve()))}).then(()=>{this.resuming=void 0}),this.resuming}}function fy(e,t){return null==e.getNextPageParam?void 0:e.getNextPageParam(t[t.length-1],t)}class py extends Xg{constructor(e,t){super(),this.client=e,this.options=t,this.trackedProps=new Set,this.selectError=null,this.bindMethods(),this.setOptions(t)}bindMethods(){this.remove=this.remove.bind(this),this.refetch=this.refetch.bind(this)}onSubscribe(){1===this.listeners.size&&(this.currentQuery.addObserver(this),hy(this.currentQuery,this.options)&&this.executeFetch(),this.updateTimers())}onUnsubscribe(){this.hasListeners()||this.destroy()}shouldFetchOnReconnect(){return my(this.currentQuery,this.options,this.options.refetchOnReconnect)}shouldFetchOnWindowFocus(){return my(this.currentQuery,this.options,this.options.refetchOnWindowFocus)}destroy(){this.listeners=new Set,this.clearStaleTimeout(),this.clearRefetchInterval(),this.currentQuery.removeObserver(this)}setOptions(e,t){const n=this.options,r=this.currentQuery;if(this.options=this.client.defaultQueryOptions(e),Vg(n,this.options)||this.client.getQueryCache().notify({type:"observerOptionsUpdated",query:this.currentQuery,observer:this}),void 0!==this.options.enabled&&"boolean"!=typeof this.options.enabled)throw new Error("Expected enabled to be a boolean");this.options.queryKey||(this.options.queryKey=n.queryKey),this.updateQuery();const o=this.hasListeners();o&&vy(this.currentQuery,r,this.options,n)&&this.executeFetch(),this.updateResult(t),!o||this.currentQuery===r&&this.options.enabled===n.enabled&&this.options.staleTime===n.staleTime||this.updateStaleTimeout();const a=this.computeRefetchInterval();!o||this.currentQuery===r&&this.options.enabled===n.enabled&&a===this.currentRefetchInterval||this.updateRefetchInterval(a)}getOptimisticResult(e){const t=this.client.getQueryCache().build(this.client,e),n=this.createResult(t,e);return function(e,t,n){return!n.keepPreviousData&&(void 0!==n.placeholderData?t.isPlaceholderData:!Vg(e.getCurrentResult(),t))}(this,n,e)&&(this.currentResult=n,this.currentResultOptions=this.options,this.currentResultState=this.currentQuery.state),n}getCurrentResult(){return this.currentResult}trackResult(e){const t={};return Object.keys(e).forEach(n=>{Object.defineProperty(t,n,{configurable:!1,enumerable:!0,get:()=>(this.trackedProps.add(n),e[n])})}),t}getCurrentQuery(){return this.currentQuery}remove(){this.client.getQueryCache().remove(this.currentQuery)}refetch({refetchPage:e,...t}={}){return this.fetch({...t,meta:{refetchPage:e}})}fetchOptimistic(e){const t=this.client.defaultQueryOptions(e),n=this.client.getQueryCache().build(this.client,t);return n.isFetchingOptimistic=!0,n.fetch().then(()=>this.createResult(n,t))}fetch(e){var t;return this.executeFetch({...e,cancelRefetch:null==(t=e.cancelRefetch)||t}).then(()=>(this.updateResult(),this.currentResult))}executeFetch(e){this.updateQuery();let t=this.currentQuery.fetch(this.options,e);return null!=e&&e.throwOnError||(t=t.catch(Ag)),t}updateStaleTimeout(){if(this.clearStaleTimeout(),Tg||this.currentResult.isStale||!Mg(this.options.staleTime))return;const e=Og(this.currentResult.dataUpdatedAt,this.options.staleTime)+1;this.staleTimeoutId=setTimeout(()=>{this.currentResult.isStale||this.updateResult()},e)}computeRefetchInterval(){var e;return"function"==typeof this.options.refetchInterval?this.options.refetchInterval(this.currentResult.data,this.currentQuery):null!=(e=this.options.refetchInterval)&&e}updateRefetchInterval(e){this.clearRefetchInterval(),this.currentRefetchInterval=e,!Tg&&!1!==this.options.enabled&&Mg(this.currentRefetchInterval)&&0!==this.currentRefetchInterval&&(this.refetchIntervalId=setInterval(()=>{(this.options.refetchIntervalInBackground||Jg.isFocused())&&this.executeFetch()},this.currentRefetchInterval))}updateTimers(){this.updateStaleTimeout(),this.updateRefetchInterval(this.computeRefetchInterval())}clearStaleTimeout(){this.staleTimeoutId&&(clearTimeout(this.staleTimeoutId),this.staleTimeoutId=void 0)}clearRefetchInterval(){this.refetchIntervalId&&(clearInterval(this.refetchIntervalId),this.refetchIntervalId=void 0)}createResult(e,t){const n=this.currentQuery,r=this.options,o=this.currentResult,a=this.currentResultState,i=this.currentResultOptions,s=e!==n,l=s?e.state:this.currentQueryInitialState,c=s?this.currentResult:this.previousQueryResult,{state:u}=e;let d,{dataUpdatedAt:f,error:p,errorUpdatedAt:h,fetchStatus:m,status:v}=u,g=!1,y=!1;if(t._optimisticResults){const o=this.hasListeners(),a=!o&&hy(e,t),i=o&&vy(e,n,t,r);(a||i)&&(m=ry(e.options.networkMode)?"fetching":"paused",f||(v="loading")),"isRestoring"===t._optimisticResults&&(m="idle")}if(t.keepPreviousData&&!u.dataUpdatedAt&&null!=c&&c.isSuccess&&"error"!==v)d=c.data,f=c.dataUpdatedAt,v=c.status,g=!0;else if(t.select&&void 0!==u.data)if(o&&u.data===(null==a?void 0:a.data)&&t.select===this.selectFn)d=this.selectResult;else try{this.selectFn=t.select,d=t.select(u.data),d=Kg(null==o?void 0:o.data,d,t),this.selectResult=d,this.selectError=null}catch(e){this.selectError=e}else d=u.data;if(void 0!==t.placeholderData&&void 0===d&&"loading"===v){let e;if(null!=o&&o.isPlaceholderData&&t.placeholderData===(null==i?void 0:i.placeholderData))e=o.data;else if(e="function"==typeof t.placeholderData?t.placeholderData():t.placeholderData,t.select&&void 0!==e)try{e=t.select(e),this.selectError=null}catch(e){this.selectError=e}void 0!==e&&(v="success",d=Kg(null==o?void 0:o.data,e,t),y=!0)}this.selectError&&(p=this.selectError,d=this.selectResult,h=Date.now(),v="error");const b="fetching"===m,w="loading"===v,x="error"===v;return{status:v,fetchStatus:m,isLoading:w,isSuccess:"success"===v,isError:x,isInitialLoading:w&&b,data:d,dataUpdatedAt:f,error:p,errorUpdatedAt:h,failureCount:u.fetchFailureCount,failureReason:u.fetchFailureReason,errorUpdateCount:u.errorUpdateCount,isFetched:u.dataUpdateCount>0||u.errorUpdateCount>0,isFetchedAfterMount:u.dataUpdateCount>l.dataUpdateCount||u.errorUpdateCount>l.errorUpdateCount,isFetching:b,isRefetching:b&&!w,isLoadingError:x&&0===u.dataUpdatedAt,isPaused:"paused"===m,isPlaceholderData:y,isPreviousData:g,isRefetchError:x&&0!==u.dataUpdatedAt,isStale:gy(e,t),refetch:this.refetch,remove:this.remove}}updateResult(e){const t=this.currentResult,n=this.createResult(this.currentQuery,this.options);if(this.currentResultState=this.currentQuery.state,this.currentResultOptions=this.options,Vg(n,t))return;this.currentResult=n;const r={cache:!0};!1!==(null==e?void 0:e.listeners)&&(()=>{if(!t)return!0;const{notifyOnChangeProps:e}=this.options,n="function"==typeof e?e():e;if("all"===n||!n&&!this.trackedProps.size)return!0;const r=new Set(null!=n?n:this.trackedProps);return this.options.useErrorBoundary&&r.add("error"),Object.keys(this.currentResult).some(e=>{const n=e;return this.currentResult[n]!==t[n]&&r.has(n)})})()&&(r.listeners=!0),this.notify({...r,...e})}updateQuery(){const e=this.client.getQueryCache().build(this.client,this.options);if(e===this.currentQuery)return;const t=this.currentQuery;this.currentQuery=e,this.currentQueryInitialState=e.state,this.previousQueryResult=this.currentResult,this.hasListeners()&&(null==t||t.removeObserver(this),e.addObserver(this))}onQueryUpdate(e){const t={};"success"===e.type?t.onSuccess=!e.manual:"error"!==e.type||ay(e.error)||(t.onError=!0),this.updateResult(t),this.hasListeners()&&this.updateTimers()}notify(e){Gg.batch(()=>{var t,n,r,o;if(e.onSuccess)null==(t=(n=this.options).onSuccess)||t.call(n,this.currentResult.data),null==(r=(o=this.options).onSettled)||r.call(o,this.currentResult.data,null);else if(e.onError){var a,i,s,l;null==(a=(i=this.options).onError)||a.call(i,this.currentResult.error),null==(s=(l=this.options).onSettled)||s.call(l,void 0,this.currentResult.error)}e.listeners&&this.listeners.forEach(({listener:e})=>{e(this.currentResult)}),e.cache&&this.client.getQueryCache().notify({query:this.currentQuery,type:"observerResultsUpdated"})})}}function hy(e,t){return function(e,t){return!(!1===t.enabled||e.state.dataUpdatedAt||"error"===e.state.status&&!1===t.retryOnMount)}(e,t)||e.state.dataUpdatedAt>0&&my(e,t,t.refetchOnMount)}function my(e,t,n){if(!1!==t.enabled){const r="function"==typeof n?n(e):n;return"always"===r||!1!==r&&gy(e,t)}return!1}function vy(e,t,n,r){return!1!==n.enabled&&(e!==t||!1===r.enabled)&&(!n.suspense||"error"!==e.state.status)&&gy(e,n)}function gy(e,t){return e.isStaleByTime(t.staleTime)}const yy=o(9888).useSyncExternalStore;const by=a.createContext(function(){let e=!1;return{clearReset:()=>{e=!1},reset:()=>{e=!0},isReset:()=>e}}()),wy=a.createContext(void 0),xy=a.createContext(!1);function Sy(e,t){return e||(t&&"undefined"!=typeof window?(window.ReactQueryClientContext||(window.ReactQueryClientContext=wy),window.ReactQueryClientContext):wy)}const ky=({client:e,children:t,context:n,contextSharing:r=!1})=>{a.useEffect(()=>(e.mount(),()=>{e.unmount()}),[e]);const o=Sy(n,r);return a.createElement(xy.Provider,{value:!n&&r},a.createElement(o.Provider,{value:e},t))},Ey=a.createContext(!1);Ey.Provider;var Cy=o(7604),_y=o.n(Cy);const Py=function(e,t){var n,r,o=0;function a(){var a,i,s=n,l=arguments.length;e:for(;s;){if(s.args.length===arguments.length){for(i=0;i<l;i++)if(s.args[i]!==arguments[i]){s=s.next;continue e}return s!==n&&(s===r&&(r=s.prev),s.prev.next=s.next,s.next&&(s.next.prev=s.prev),s.next=n,s.prev=null,n.prev=s,n=s),s.val}s=s.next}for(a=new Array(l),i=0;i<l;i++)a[i]=arguments[i];return s={args:a,val:e.apply(null,a)},n?(n.prev=s,s.next=n):r=s,o===t.maxSize?(r=r.prev).next=null:o++,n=s,s.val}return t=t||{},a.clear=function(){n=null,r=null,o=0},a}(console.error);var Ry,Ty,Ay,My;Ry={"(":9,"!":8,"*":7,"/":7,"%":7,"+":6,"-":6,"<":5,"<=":5,">":5,">=":5,"==":4,"!=":4,"&&":3,"||":2,"?":1,"?:":1},Ty=["(","?"],Ay={")":["("],":":["?","?:"]},My=/<=|>=|==|!=|&&|\|\||\?:|\(|!|\*|\/|%|\+|-|<|>|\?|\)|:/;var Oy={"!":function(e){return!e},"*":function(e,t){return e*t},"/":function(e,t){return e/t},"%":function(e,t){return e%t},"+":function(e,t){return e+t},"-":function(e,t){return e-t},"<":function(e,t){return e<t},"<=":function(e,t){return e<=t},">":function(e,t){return e>t},">=":function(e,t){return e>=t},"==":function(e,t){return e===t},"!=":function(e,t){return e!==t},"&&":function(e,t){return e&&t},"||":function(e,t){return e||t},"?:":function(e,t,n){if(e)throw t;return n}};var zy={contextDelimiter:"",onMissingKey:null};function Fy(e,t){var n;for(n in this.data=e,this.pluralForms={},this.options={},zy)this.options[n]=void 0!==t&&n in t?t[n]:zy[n]}Fy.prototype.getPluralForm=function(e,t){var n,r,o,a,i=this.pluralForms[e];return i||("function"!=typeof(o=(n=this.data[e][""])["Plural-Forms"]||n["plural-forms"]||n.plural_forms)&&(r=function(e){var t,n,r;for(t=e.split(";"),n=0;n<t.length;n++)if(0===(r=t[n].trim()).indexOf("plural="))return r.substr(7)}(n["Plural-Forms"]||n["plural-forms"]||n.plural_forms),a=function(e){var t=function(e){for(var t,n,r,o,a=[],i=[];t=e.match(My);){for(n=t[0],(r=e.substr(0,t.index).trim())&&a.push(r);o=i.pop();){if(Ay[n]){if(Ay[n][0]===o){n=Ay[n][1]||n;break}}else if(Ty.indexOf(o)>=0||Ry[o]<Ry[n]){i.push(o);break}a.push(o)}Ay[n]||i.push(n),e=e.substr(t.index+n.length)}return(e=e.trim())&&a.push(e),a.concat(i.reverse())}(e);return function(e){return function(e,t){var n,r,o,a,i,s,l=[];for(n=0;n<e.length;n++){if(i=e[n],a=Oy[i]){for(r=a.length,o=Array(r);r--;)o[r]=l.pop();try{s=a.apply(null,o)}catch(e){return e}}else s=t.hasOwnProperty(i)?t[i]:+i;l.push(s)}return l[0]}(t,e)}}(r),o=function(e){return+a({n:e})}),i=this.pluralForms[e]=o),i(t)},Fy.prototype.dcnpgettext=function(e,t,n,r,o){var a,i,s;return a=void 0===o?0:this.getPluralForm(e,o),i=n,t&&(i=t+this.options.contextDelimiter+n),(s=this.data[e][i])&&s[a]?s[a]:(this.options.onMissingKey&&this.options.onMissingKey(n,e),0===a?n:r)};const jy={plural_forms:e=>1===e?0:1},Dy=/^i18n\.(n?gettext|has_translation)(_|$)/,Ly=function(e){return"string"!=typeof e||""===e?(console.error("The namespace must be a non-empty string."),!1):!!/^[a-zA-Z][a-zA-Z0-9_.\-\/]*$/.test(e)||(console.error("The namespace can only contain numbers, letters, dashes, periods, underscores and slashes."),!1)},By=function(e){return"string"!=typeof e||""===e?(console.error("The hook name must be a non-empty string."),!1):/^__/.test(e)?(console.error("The hook name cannot begin with `__`."),!1):!!/^[a-zA-Z][a-zA-Z0-9_.-]*$/.test(e)||(console.error("The hook name can only contain numbers, letters, dashes, periods and underscores."),!1)},Ny=function(e,t){return function(n,r,o,a=10){const i=e[t];if(!By(n))return;if(!Ly(r))return;if("function"!=typeof o)return void console.error("The hook callback must be a function.");if("number"!=typeof a)return void console.error("If specified, the hook priority must be a number.");const s={callback:o,priority:a,namespace:r};if(i[n]){const e=i[n].handlers;let t;for(t=e.length;t>0&&!(a>=e[t-1].priority);t--);t===e.length?e[t]=s:e.splice(t,0,s),i.__current.forEach(e=>{e.name===n&&e.currentIndex>=t&&e.currentIndex++})}else i[n]={handlers:[s],runs:0};"hookAdded"!==n&&e.doAction("hookAdded",n,r,o,a)}},Iy=function(e,t,n=!1){return function(r,o){const a=e[t];if(!By(r))return;if(!n&&!Ly(o))return;if(!a[r])return 0;let i=0;if(n)i=a[r].handlers.length,a[r]={runs:a[r].runs,handlers:[]};else{const e=a[r].handlers;for(let t=e.length-1;t>=0;t--)e[t].namespace===o&&(e.splice(t,1),i++,a.__current.forEach(e=>{e.name===r&&e.currentIndex>=t&&e.currentIndex--}))}return"hookRemoved"!==r&&e.doAction("hookRemoved",r,o),i}},$y=function(e,t){return function(n,r){const o=e[t];return void 0!==r?n in o&&o[n].handlers.some(e=>e.namespace===r):n in o}},Vy=function(e,t,n=!1){return function(r,...o){const a=e[t];a[r]||(a[r]={handlers:[],runs:0}),a[r].runs++;const i=a[r].handlers;if(!i||!i.length)return n?o[0]:void 0;const s={name:r,currentIndex:0};for(a.__current.push(s);s.currentIndex<i.length;){const e=i[s.currentIndex].callback.apply(null,o);n&&(o[0]=e),s.currentIndex++}return a.__current.pop(),n?o[0]:void 0}},Wy=function(e,t){return function(){var n;const r=e[t];return null!==(n=r.__current[r.__current.length-1]?.name)&&void 0!==n?n:null}},Hy=function(e,t){return function(n){const r=e[t];return void 0===n?void 0!==r.__current[0]:!!r.__current[0]&&n===r.__current[0].name}},Uy=function(e,t){return function(n){const r=e[t];if(By(n))return r[n]&&r[n].runs?r[n].runs:0}};class qy{constructor(){this.actions=Object.create(null),this.actions.__current=[],this.filters=Object.create(null),this.filters.__current=[],this.addAction=Ny(this,"actions"),this.addFilter=Ny(this,"filters"),this.removeAction=Iy(this,"actions"),this.removeFilter=Iy(this,"filters"),this.hasAction=$y(this,"actions"),this.hasFilter=$y(this,"filters"),this.removeAllActions=Iy(this,"actions",!0),this.removeAllFilters=Iy(this,"filters",!0),this.doAction=Vy(this,"actions"),this.applyFilters=Vy(this,"filters",!0),this.currentAction=Wy(this,"actions"),this.currentFilter=Wy(this,"filters"),this.doingAction=Hy(this,"actions"),this.doingFilter=Hy(this,"filters"),this.didAction=Uy(this,"actions"),this.didFilter=Uy(this,"filters")}}const Zy=new qy,{addAction:Qy,addFilter:Ky,removeAction:Yy,removeFilter:Gy,hasAction:Xy,hasFilter:Jy,removeAllActions:eb,removeAllFilters:tb,doAction:nb,applyFilters:rb,currentAction:ob,currentFilter:ab,doingAction:ib,doingFilter:sb,didAction:lb,didFilter:cb,actions:ub,filters:db}=Zy,fb=((e,t,n)=>{const r=new Fy({}),o=new Set,a=()=>{o.forEach(e=>e())},i=(e,t="default")=>{r.data[t]={...r.data[t],...e},r.data[t][""]={...jy,...r.data[t]?.[""]},delete r.pluralForms[t]},s=(e,t)=>{i(e,t),a()},l=(e="default",t,n,o,a)=>(r.data[e]||i(void 0,e),r.dcnpgettext(e,t,n,o,a)),c=(e="default")=>e,u=(e,t,r)=>{let o=l(r,t,e);return n?(o=n.applyFilters("i18n.gettext_with_context",o,e,t,r),n.applyFilters("i18n.gettext_with_context_"+c(r),o,e,t,r)):o};if(n){const e=e=>{Dy.test(e)&&a()};n.addAction("hookAdded","core/i18n",e),n.addAction("hookRemoved","core/i18n",e)}return{getLocaleData:(e="default")=>r.data[e],setLocaleData:s,addLocaleData:(e,t="default")=>{r.data[t]={...r.data[t],...e,"":{...jy,...r.data[t]?.[""],...e?.[""]}},delete r.pluralForms[t],a()},resetLocaleData:(e,t)=>{r.data={},r.pluralForms={},s(e,t)},subscribe:e=>(o.add(e),()=>o.delete(e)),__:(e,t)=>{let r=l(t,void 0,e);return n?(r=n.applyFilters("i18n.gettext",r,e,t),n.applyFilters("i18n.gettext_"+c(t),r,e,t)):r},_x:u,_n:(e,t,r,o)=>{let a=l(o,void 0,e,t,r);return n?(a=n.applyFilters("i18n.ngettext",a,e,t,r,o),n.applyFilters("i18n.ngettext_"+c(o),a,e,t,r,o)):a},_nx:(e,t,r,o,a)=>{let i=l(a,o,e,t,r);return n?(i=n.applyFilters("i18n.ngettext_with_context",i,e,t,r,o,a),n.applyFilters("i18n.ngettext_with_context_"+c(a),i,e,t,r,o,a)):i},isRTL:()=>"rtl"===u("ltr","text direction"),hasTranslation:(e,t,o)=>{const a=t?t+""+e:e;let i=!!r.data?.[null!=o?o:"default"]?.[a];return n&&(i=n.applyFilters("i18n.has_translation",i,e,t,o),i=n.applyFilters("i18n.has_translation_"+c(o),i,e,t,o)),i}}})(0,0,Zy),pb=(fb.getLocaleData.bind(fb),fb.setLocaleData.bind(fb),fb.resetLocaleData.bind(fb),fb.subscribe.bind(fb),fb.__.bind(fb));fb._x.bind(fb),fb._n.bind(fb),fb._nx.bind(fb),fb.isRTL.bind(fb),fb.hasTranslation.bind(fb);const hb=(e,t)=>{let n,r,o=e.path;return"string"==typeof e.namespace&&"string"==typeof e.endpoint&&(n=e.namespace.replace(/^\/|\/$/g,""),r=e.endpoint.replace(/^\//,""),o=r?n+"/"+r:n),delete e.namespace,delete e.endpoint,t({...e,path:o})};function mb(e){const t=e.split("?"),n=t[1],r=t[0];return n?r+"?"+n.split("&").map(e=>e.split("=")).map(e=>e.map(decodeURIComponent)).sort((e,t)=>e[0].localeCompare(t[0])).map(e=>e.map(encodeURIComponent)).map(e=>e.join("=")).join("&"):r}function vb(e){try{return decodeURIComponent(e)}catch(t){return e}}function gb(e){return(function(e){let t;try{t=new URL(e,"http://example.com").search.substring(1)}catch(e){}if(t)return t}(e)||"").replace(/\+/g,"%20").split("&").reduce((e,t)=>{const[n,r=""]=t.split("=").filter(Boolean).map(vb);return n&&function(e,t,n){const r=t.length,o=r-1;for(let a=0;a<r;a++){let r=t[a];!r&&Array.isArray(e)&&(r=e.length.toString()),r=["__proto__","constructor","prototype"].includes(r)?r.toUpperCase():r;const i=!isNaN(Number(t[a+1]));e[r]=a===o?n:e[r]||(i?[]:{}),Array.isArray(e[r])&&!i&&(e[r]={...e[r]}),e=e[r]}}(e,n.replace(/\]/g,"").split("["),r),e},Object.create(null))}function yb(e){let t="";const n=Object.entries(e);let r;for(;r=n.shift();){let[e,o]=r;if(Array.isArray(o)||o&&o.constructor===Object){const t=Object.entries(o).reverse();for(const[r,o]of t)n.unshift([`${e}[${r}]`,o])}else void 0!==o&&(null===o&&(o=""),t+="&"+[e,o].map(encodeURIComponent).join("="))}return t.substr(1)}function bb(e="",t){if(!t||!Object.keys(t).length)return e;let n=e;const r=e.indexOf("?");return-1!==r&&(t=Object.assign(gb(e),t),n=n.substr(0,r)),n+"?"+yb(t)}function wb(e,t){return Promise.resolve(t?e.body:new window.Response(JSON.stringify(e.body),{status:200,statusText:"OK",headers:e.headers}))}const xb=({path:e,url:t,...n},r)=>({...n,url:t&&bb(t,r),path:e&&bb(e,r)}),Sb=e=>e.json?e.json():Promise.reject(e),kb=e=>{const{next:t}=(e=>{if(!e)return{};const t=e.match(/<([^>]+)>; rel="next"/);return t?{next:t[1]}:{}})(e.headers.get("link"));return t},Eb=async(e,t)=>{if(!1===e.parse)return t(e);if(!(e=>{const t=!!e.path&&-1!==e.path.indexOf("per_page=-1"),n=!!e.url&&-1!==e.url.indexOf("per_page=-1");return t||n})(e))return t(e);const n=await Bb({...xb(e,{per_page:100}),parse:!1}),r=await Sb(n);if(!Array.isArray(r))return r;let o=kb(n);if(!o)return r;let a=[].concat(r);for(;o;){const t=await Bb({...e,path:void 0,url:o,parse:!1}),n=await Sb(t);a=a.concat(n),o=kb(t)}return a},Cb=new Set(["PATCH","PUT","DELETE"]),_b="GET";function Pb(e,t){return gb(e)[t]}function Rb(e,t){return void 0!==Pb(e,t)}const Tb=(e,t=!0)=>Promise.resolve(((e,t=!0)=>t?204===e.status?null:e.json?e.json():Promise.reject(e):e)(e,t)).catch(e=>Ab(e,t));function Ab(e,t=!0){if(!t)throw e;return(e=>{const t={code:"invalid_json",message:pb("The response is not a valid JSON response.")};if(!e||!e.json)throw t;return e.json().catch(()=>{throw t})})(e).then(e=>{const t={code:"unknown_error",message:pb("An unknown error occurred.")};throw e||t})}function Mb(e,...t){const n=e.indexOf("?");if(-1===n)return e;const r=gb(e),o=e.substr(0,n);t.forEach(e=>delete r[e]);const a=yb(r);return a?o+"?"+a:o}const Ob={Accept:"application/json, */*;q=0.1"},zb={credentials:"include"},Fb=[(e,t)=>("string"!=typeof e.url||Rb(e.url,"_locale")||(e.url=bb(e.url,{_locale:"user"})),"string"!=typeof e.path||Rb(e.path,"_locale")||(e.path=bb(e.path,{_locale:"user"})),t(e)),hb,(e,t)=>{const{method:n=_b}=e;return Cb.has(n.toUpperCase())&&(e={...e,headers:{...e.headers,"X-HTTP-Method-Override":n,"Content-Type":"application/json"},method:"POST"}),t(e)},Eb],jb=e=>{if(e.status>=200&&e.status<300)return e;throw e};let Db=e=>{const{url:t,path:n,data:r,parse:o=!0,...a}=e;let{body:i,headers:s}=e;return s={...Ob,...s},r&&(i=JSON.stringify(r),s["Content-Type"]="application/json"),window.fetch(t||n||window.location.href,{...zb,...a,body:i,headers:s}).then(e=>Promise.resolve(e).then(jb).catch(e=>Ab(e,o)).then(e=>Tb(e,o)),e=>{if(e&&"AbortError"===e.name)throw e;throw{code:"fetch_error",message:pb("You are probably offline.")}})};function Lb(e){const t=Fb.reduceRight((e,t)=>n=>t(n,e),Db);return t(e).catch(t=>"rest_cookie_invalid_nonce"!==t.code?Promise.reject(t):window.fetch(Lb.nonceEndpoint).then(jb).then(e=>e.text()).then(t=>(Lb.nonceMiddleware.nonce=t,Lb(e))))}Lb.use=function(e){Fb.unshift(e)},Lb.setFetchHandler=function(e){Db=e},Lb.createNonceMiddleware=function(e){const t=(e,n)=>{const{headers:r={}}=e;for(const o in r)if("x-wp-nonce"===o.toLowerCase()&&r[o]===t.nonce)return n(e);return n({...e,headers:{...r,"X-WP-Nonce":t.nonce}})};return t.nonce=e,t},Lb.createPreloadingMiddleware=function(e){const t=Object.fromEntries(Object.entries(e).map(([e,t])=>[mb(e),t]));return(e,n)=>{const{parse:r=!0}=e;let o=e.path;if(!o&&e.url){const{rest_route:t,...n}=gb(e.url);"string"==typeof t&&(o=bb(t,n))}if("string"!=typeof o)return n(e);const a=e.method||"GET",i=mb(o);if("GET"===a&&t[i]){const e=t[i];return delete t[i],wb(e,!!r)}if("OPTIONS"===a&&t[a]&&t[a][i]){const e=t[a][i];return delete t[a][i],wb(e,!!r)}return n(e)}},Lb.createRootURLMiddleware=e=>(t,n)=>hb(t,t=>{let r,o=t.url,a=t.path;return"string"==typeof a&&(r=e,-1!==e.indexOf("?")&&(a=a.replace("?","&")),a=a.replace(/^\//,""),"string"==typeof r&&-1!==r.indexOf("?")&&(a=a.replace("?","&")),o=r+a),n({...t,url:o})}),Lb.fetchAllMiddleware=Eb,Lb.mediaUploadMiddleware=(e,t)=>{if(!function(e){const t=!!e.method&&"POST"===e.method;return(!!e.path&&-1!==e.path.indexOf("/wp/v2/media")||!!e.url&&-1!==e.url.indexOf("/wp/v2/media"))&&t}(e))return t(e);let n=0;const r=e=>(n++,t({path:`/wp/v2/media/${e}/post-process`,method:"POST",data:{action:"create-image-subsizes"},parse:!1}).catch(()=>n<5?r(e):(t({path:`/wp/v2/media/${e}?force=true`,method:"DELETE"}),Promise.reject())));return t({...e,parse:!1}).catch(t=>{const n=t.headers.get("x-wp-upload-attachment-id");return t.status>=500&&t.status<600&&n?r(n).catch(()=>!1!==e.parse?Promise.reject({code:"post_process",message:pb("Media upload failed. If this is a photo or a large image, please scale it down and try again.")}):Promise.reject(t)):Ab(t,e.parse)}).then(t=>Tb(t,e.parse))},Lb.createThemePreviewMiddleware=e=>(t,n)=>{if("string"==typeof t.url){const n=Pb(t.url,"wp_theme_preview");void 0===n?t.url=bb(t.url,{wp_theme_preview:e}):""===n&&(t.url=Mb(t.url,"wp_theme_preview"))}if("string"==typeof t.path){const n=Pb(t.path,"wp_theme_preview");void 0===n?t.path=bb(t.path,{wp_theme_preview:e}):""===n&&(t.path=Mb(t.path,"wp_theme_preview"))}return n(t)};const Bb=Lb;var Nb,Ib,$b=o(5338);function Vb(){return Vb=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Vb.apply(this,arguments)}(Ib=Nb||(Nb={})).Pop="POP",Ib.Push="PUSH",Ib.Replace="REPLACE";const Wb="popstate";function Hb(e,t){if(!1===e||null==e)throw new Error(t)}function Ub(e,t){return{usr:e.state,key:e.key,idx:t}}function qb(e,t,n,r){return void 0===n&&(n=null),Vb({pathname:"string"==typeof e?e:e.pathname,search:"",hash:""},"string"==typeof t?Qb(t):t,{state:n,key:t&&t.key||r||Math.random().toString(36).substr(2,8)})}function Zb(e){let{pathname:t="/",search:n="",hash:r=""}=e;return n&&"?"!==n&&(t+="?"===n.charAt(0)?n:"?"+n),r&&"#"!==r&&(t+="#"===r.charAt(0)?r:"#"+r),t}function Qb(e){let t={};if(e){let n=e.indexOf("#");n>=0&&(t.hash=e.substr(n),e=e.substr(0,n));let r=e.indexOf("?");r>=0&&(t.search=e.substr(r),e=e.substr(0,r)),e&&(t.pathname=e)}return t}var Kb;function Yb(e,t){"string"==typeof e&&(e={path:e,caseSensitive:!1,end:!0});let[n,r]=function(e,t,n){void 0===t&&(t=!1),void 0===n&&(n=!0),function(e,t){if(!e){"undefined"!=typeof console&&console.warn(t);try{throw new Error(t)}catch(e){}}}("*"===e||!e.endsWith("*")||e.endsWith("/*"),'Route path "'+e+'" will be treated as if it were "'+e.replace(/\*$/,"/*")+'" because the `*` character must always follow a `/` in the pattern. To get rid of this warning, please change the route path to "'+e.replace(/\*$/,"/*")+'".');let r=[],o="^"+e.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(e,t,n)=>(r.push({paramName:t,isOptional:null!=n}),n?"/?([^\\/]+)?":"/([^\\/]+)"));return e.endsWith("*")?(r.push({paramName:"*"}),o+="*"===e||"/*"===e?"(.*)$":"(?:\\/(.+)|\\/*)$"):n?o+="\\/*$":""!==e&&"/"!==e&&(o+="(?:(?=\\/|$))"),[new RegExp(o,t?void 0:"i"),r]}(e.path,e.caseSensitive,e.end),o=t.match(n);if(!o)return null;let a=o[0],i=a.replace(/(.)\/+$/,"$1"),s=o.slice(1),l=r.reduce((e,t,n)=>{let{paramName:r,isOptional:o}=t;if("*"===r){let e=s[n]||"";i=a.slice(0,a.length-e.length).replace(/(.)\/+$/,"$1")}const l=s[n];return e[r]=o&&!l?void 0:(l||"").replace(/%2F/g,"/"),e},{});return{params:l,pathname:a,pathnameBase:i,pattern:e}}function Gb(e,t){if("/"===t)return e;if(!e.toLowerCase().startsWith(t.toLowerCase()))return null;let n=t.endsWith("/")?t.length-1:t.length,r=e.charAt(n);return r&&"/"!==r?null:e.slice(n)||"/"}function Xb(e,t,n,r){return"Cannot include a '"+e+"' character in a manually specified `to."+t+"` field ["+JSON.stringify(r)+"]. Please separate it out to the `to."+n+'` field. Alternatively you may provide the full path as a string in <Link to="..."> and the router will parse it for you.'}function Jb(e,t){let n=function(e){return e.filter((e,t)=>0===t||e.route.path&&e.route.path.length>0)}(e);return t?n.map((t,n)=>n===e.length-1?t.pathname:t.pathnameBase):n.map(e=>e.pathnameBase)}function ew(e,t,n,r){let o;void 0===r&&(r=!1),"string"==typeof e?o=Qb(e):(o=Vb({},e),Hb(!o.pathname||!o.pathname.includes("?"),Xb("?","pathname","search",o)),Hb(!o.pathname||!o.pathname.includes("#"),Xb("#","pathname","hash",o)),Hb(!o.search||!o.search.includes("#"),Xb("#","search","hash",o)));let a,i=""===e||""===o.pathname,s=i?"/":o.pathname;if(null==s)a=n;else{let e=t.length-1;if(!r&&s.startsWith("..")){let t=s.split("/");for(;".."===t[0];)t.shift(),e-=1;o.pathname=t.join("/")}a=e>=0?t[e]:"/"}let l=function(e,t){void 0===t&&(t="/");let{pathname:n,search:r="",hash:o=""}="string"==typeof e?Qb(e):e,a=n?n.startsWith("/")?n:function(e,t){let n=t.replace(/\/+$/,"").split("/");return e.split("/").forEach(e=>{".."===e?n.length>1&&n.pop():"."!==e&&n.push(e)}),n.length>1?n.join("/"):"/"}(n,t):t;return{pathname:a,search:nw(r),hash:rw(o)}}(o,a),c=s&&"/"!==s&&s.endsWith("/"),u=(i||"."===s)&&n.endsWith("/");return l.pathname.endsWith("/")||!c&&!u||(l.pathname+="/"),l}!function(e){e.data="data",e.deferred="deferred",e.redirect="redirect",e.error="error"}(Kb||(Kb={})),new Set(["lazy","caseSensitive","path","id","index","children"]);const tw=e=>e.join("/").replace(/\/\/+/g,"/"),nw=e=>e&&"?"!==e?e.startsWith("?")?e:"?"+e:"",rw=e=>e&&"#"!==e?e.startsWith("#")?e:"#"+e:"";Error;const ow=["post","put","patch","delete"],aw=(new Set(ow),["get",...ow]);function iw(){return iw=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},iw.apply(this,arguments)}new Set(aw),new Set([301,302,303,307,308]),new Set([307,308]),Symbol("deferred");const sw=a.createContext(null),lw=a.createContext(null),cw=a.createContext(null),uw=a.createContext(null),dw=a.createContext({outlet:null,matches:[],isDataRoute:!1});function fw(){return null!=a.useContext(uw)}function pw(){return fw()||Hb(!1),a.useContext(uw).location}function hw(e){a.useContext(cw).static||a.useLayoutEffect(e)}function mw(){let{isDataRoute:e}=a.useContext(dw);return e?function(){let{router:e}=function(){let e=a.useContext(sw);return e||Hb(!1),e}(gw.UseNavigateStable),t=function(){let e=function(){let e=a.useContext(dw);return e||Hb(!1),e}(),t=e.matches[e.matches.length-1];return t.route.id||Hb(!1),t.route.id}(yw.UseNavigateStable),n=a.useRef(!1);hw(()=>{n.current=!0});let r=a.useCallback(function(r,o){void 0===o&&(o={}),n.current&&("number"==typeof r?e.navigate(r):e.navigate(r,iw({fromRouteId:t},o)))},[e,t]);return r}():function(){fw()||Hb(!1);let e=a.useContext(sw),{basename:t,future:n,navigator:r}=a.useContext(cw),{matches:o}=a.useContext(dw),{pathname:i}=pw(),s=JSON.stringify(Jb(o,n.v7_relativeSplatPath)),l=a.useRef(!1);hw(()=>{l.current=!0});let c=a.useCallback(function(n,o){if(void 0===o&&(o={}),!l.current)return;if("number"==typeof n)return void r.go(n);let a=ew(n,JSON.parse(s),i,"path"===o.relative);null==e&&"/"!==t&&(a.pathname="/"===a.pathname?t:tw([t,a.pathname])),(o.replace?r.replace:r.push)(a,o.state,o)},[t,r,s,i,e]);return c}()}function vw(e,t){let{relative:n}=void 0===t?{}:t,{future:r}=a.useContext(cw),{matches:o}=a.useContext(dw),{pathname:i}=pw(),s=JSON.stringify(Jb(o,r.v7_relativeSplatPath));return a.useMemo(()=>ew(e,JSON.parse(s),i,"path"===n),[e,s,i,n])}a.Component;var gw=function(e){return e.UseBlocker="useBlocker",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e}(gw||{}),yw=function(e){return e.UseBlocker="useBlocker",e.UseLoaderData="useLoaderData",e.UseActionData="useActionData",e.UseRouteError="useRouteError",e.UseNavigation="useNavigation",e.UseRouteLoaderData="useRouteLoaderData",e.UseMatches="useMatches",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e.UseRouteId="useRouteId",e}(yw||{});function bw(e){let{basename:t="/",children:n=null,location:r,navigationType:o=Nb.Pop,navigator:i,static:s=!1,future:l}=e;fw()&&Hb(!1);let c=t.replace(/^\/*/,"/"),u=a.useMemo(()=>({basename:c,navigator:i,static:s,future:iw({v7_relativeSplatPath:!1},l)}),[c,l,i,s]);"string"==typeof r&&(r=Qb(r));let{pathname:d="/",search:f="",hash:p="",state:h=null,key:m="default"}=r,v=a.useMemo(()=>{let e=Gb(d,c);return null==e?null:{location:{pathname:e,search:f,hash:p,state:h,key:m},navigationType:o}},[c,d,f,p,h,m,o]);return null==v?null:a.createElement(cw.Provider,{value:u},a.createElement(uw.Provider,{children:n,value:v}))}function ww(){return ww=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},ww.apply(this,arguments)}function xw(e,t){if(null==e)return{};var n,r,o={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}a.startTransition,new Promise(()=>{}),a.Component,new Set(["application/x-www-form-urlencoded","multipart/form-data","text/plain"]);const Sw=["onClick","relative","reloadDocument","replace","state","target","to","preventScrollReset","unstable_viewTransition"],kw=["aria-current","caseSensitive","className","end","style","to","unstable_viewTransition","children"];try{window.__reactRouterVersion="6"}catch(e){}const Ew=a.createContext({isTransitioning:!1});new Map;const Cw=a.startTransition;function _w(e){let{basename:t,children:n,future:r,window:o}=e,i=a.useRef();null==i.current&&(i.current=function(e){return void 0===e&&(e={}),function(e,t,n,r){void 0===r&&(r={});let{window:o=document.defaultView,v5Compat:a=!1}=r,i=o.history,s=Nb.Pop,l=null,c=u();function u(){return(i.state||{idx:null}).idx}function d(){s=Nb.Pop;let e=u(),t=null==e?null:e-c;c=e,l&&l({action:s,location:p.location,delta:t})}function f(e){let t="null"!==o.location.origin?o.location.origin:o.location.href,n="string"==typeof e?e:Zb(e);return n=n.replace(/ $/,"%20"),Hb(t,"No window.location.(origin|href) available to create URL for href: "+n),new URL(n,t)}null==c&&(c=0,i.replaceState(Vb({},i.state,{idx:c}),""));let p={get action(){return s},get location(){return e(o,i)},listen(e){if(l)throw new Error("A history only accepts one active listener");return o.addEventListener(Wb,d),l=e,()=>{o.removeEventListener(Wb,d),l=null}},createHref:e=>t(o,e),createURL:f,encodeLocation(e){let t=f(e);return{pathname:t.pathname,search:t.search,hash:t.hash}},push:function(e,t){s=Nb.Push;let r=qb(p.location,e,t);n&&n(r,e),c=u()+1;let d=Ub(r,c),f=p.createHref(r);try{i.pushState(d,"",f)}catch(e){if(e instanceof DOMException&&"DataCloneError"===e.name)throw e;o.location.assign(f)}a&&l&&l({action:s,location:p.location,delta:1})},replace:function(e,t){s=Nb.Replace;let r=qb(p.location,e,t);n&&n(r,e),c=u();let o=Ub(r,c),d=p.createHref(r);i.replaceState(o,"",d),a&&l&&l({action:s,location:p.location,delta:0})},go:e=>i.go(e)};return p}(function(e,t){let{pathname:n,search:r,hash:o}=e.location;return qb("",{pathname:n,search:r,hash:o},t.state&&t.state.usr||null,t.state&&t.state.key||"default")},function(e,t){return"string"==typeof t?t:Zb(t)},null,e)}({window:o,v5Compat:!0}));let s=i.current,[l,c]=a.useState({action:s.action,location:s.location}),{v7_startTransition:u}=r||{},d=a.useCallback(e=>{u&&Cw?Cw(()=>c(e)):c(e)},[c,u]);return a.useLayoutEffect(()=>s.listen(d),[s,d]),a.createElement(bw,{basename:t,children:n,location:l.location,navigationType:l.action,navigator:s,future:r})}Au.flushSync,a.useId;const Pw="undefined"!=typeof window&&void 0!==window.document&&void 0!==window.document.createElement,Rw=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,Tw=a.forwardRef(function(e,t){let n,{onClick:r,relative:o,reloadDocument:i,replace:s,state:l,target:c,to:u,preventScrollReset:d,unstable_viewTransition:f}=e,p=xw(e,Sw),{basename:h}=a.useContext(cw),m=!1;if("string"==typeof u&&Rw.test(u)&&(n=u,Pw))try{let e=new URL(window.location.href),t=u.startsWith("//")?new URL(e.protocol+u):new URL(u),n=Gb(t.pathname,h);t.origin===e.origin&&null!=n?u=n+t.search+t.hash:m=!0}catch(e){}let v=function(e,t){let{relative:n}=void 0===t?{}:t;fw()||Hb(!1);let{basename:r,navigator:o}=a.useContext(cw),{hash:i,pathname:s,search:l}=vw(e,{relative:n}),c=s;return"/"!==r&&(c="/"===s?r:tw([r,s])),o.createHref({pathname:c,search:l,hash:i})}(u,{relative:o}),g=function(e,t){let{target:n,replace:r,state:o,preventScrollReset:i,relative:s,unstable_viewTransition:l}=void 0===t?{}:t,c=mw(),u=pw(),d=vw(e,{relative:s});return a.useCallback(t=>{if(function(e,t){return!(0!==e.button||t&&"_self"!==t||function(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}(e))}(t,n)){t.preventDefault();let n=void 0!==r?r:Zb(u)===Zb(d);c(e,{replace:n,state:o,preventScrollReset:i,relative:s,unstable_viewTransition:l})}},[u,c,d,r,o,n,e,i,s,l])}(u,{replace:s,state:l,target:c,preventScrollReset:d,relative:o,unstable_viewTransition:f});return a.createElement("a",ww({},p,{href:n||v,onClick:m||i?r:function(e){r&&r(e),e.defaultPrevented||g(e)},ref:t,target:c}))}),Aw=a.forwardRef(function(e,t){let{"aria-current":n="page",caseSensitive:r=!1,className:o="",end:i=!1,style:s,to:l,unstable_viewTransition:c,children:u}=e,d=xw(e,kw),f=vw(l,{relative:d.relative}),p=pw(),h=a.useContext(lw),{navigator:m,basename:v}=a.useContext(cw),g=null!=h&&function(e,t){void 0===t&&(t={});let n=a.useContext(Ew);null==n&&Hb(!1);let{basename:r}=function(){let e=a.useContext(sw);return e||Hb(!1),e}(Mw.useViewTransitionState),o=vw(e,{relative:t.relative});if(!n.isTransitioning)return!1;let i=Gb(n.currentLocation.pathname,r)||n.currentLocation.pathname,s=Gb(n.nextLocation.pathname,r)||n.nextLocation.pathname;return null!=Yb(o.pathname,s)||null!=Yb(o.pathname,i)}(f)&&!0===c,y=m.encodeLocation?m.encodeLocation(f).pathname:f.pathname,b=p.pathname,w=h&&h.navigation&&h.navigation.location?h.navigation.location.pathname:null;r||(b=b.toLowerCase(),w=w?w.toLowerCase():null,y=y.toLowerCase()),w&&v&&(w=Gb(w,v)||w);const x="/"!==y&&y.endsWith("/")?y.length-1:y.length;let S,k=b===y||!i&&b.startsWith(y)&&"/"===b.charAt(x),E=null!=w&&(w===y||!i&&w.startsWith(y)&&"/"===w.charAt(y.length)),C={isActive:k,isPending:E,isTransitioning:g},_=k?n:void 0;S="function"==typeof o?o(C):[o,k?"active":null,E?"pending":null,g?"transitioning":null].filter(Boolean).join(" ");let P="function"==typeof s?s(C):s;return a.createElement(Tw,ww({},d,{"aria-current":_,className:S,ref:t,style:P,to:l,unstable_viewTransition:c}),"function"==typeof u?u(C):u)});var Mw,Ow;function zw(){return!("undefined"==typeof window||!window.document||!window.document.createElement)}(function(e){e.UseScrollRestoration="useScrollRestoration",e.UseSubmit="useSubmit",e.UseSubmitFetcher="useSubmitFetcher",e.UseFetcher="useFetcher",e.useViewTransitionState="useViewTransitionState"})(Mw||(Mw={})),function(e){e.UseFetcher="useFetcher",e.UseFetchers="useFetchers",e.UseScrollRestoration="useScrollRestoration"}(Ow||(Ow={}));var Fw=zw()?a.useLayoutEffect:a.useEffect;function jw(e,t=[]){const n=(0,a.useRef)(e);return Fw(()=>{n.current=e}),(0,a.useCallback)((...e)=>{var t;return null==(t=n.current)?void 0:t.call(n,...e)},t)}var Dw=$c(function(e,t){const n=qc("Link",e),{className:r,isExternal:o,...a}=Ws(e);return(0,Lc.jsx)(Dc.a,{target:o?"_blank":void 0,rel:o?"noopener":void 0,ref:t,className:c("chakra-link",r),...a,__css:n})});Dw.displayName="Link";var Lw=Dc("div",{baseStyle:{display:"flex",alignItems:"center",justifyContent:"center"}});Lw.displayName="Center";var Bw={horizontal:{insetStart:"50%",transform:"translateX(-50%)"},vertical:{top:"50%",transform:"translateY(-50%)"},both:{insetStart:"50%",top:"50%",transform:"translate(-50%, -50%)"}},Nw=($c(function(e,t){const{axis:n="both",...r}=e;return(0,Lc.jsx)(Dc.div,{ref:t,__css:Bw[n],...r,position:"absolute"})}),$c(function(e,t){const{borderLeftWidth:n,borderBottomWidth:r,borderTopWidth:o,borderRightWidth:a,borderWidth:i,borderStyle:s,borderColor:l,...u}=qc("Divider",e),{className:d,orientation:f="horizontal",__css:p,...h}=Ws(e),m={vertical:{borderLeftWidth:n||a||i||"1px",height:"100%"},horizontal:{borderBottomWidth:r||o||i||"1px",width:"100%"}};return(0,Lc.jsx)(Dc.hr,{ref:t,"aria-orientation":f,...h,__css:{...u,border:"0",borderColor:l,borderStyle:s,...m[f],...p},className:c("chakra-divider",d)})}));Nw.displayName="Divider";var Iw={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]}}}};function $w(e){var t;return!!function(e){return null!=e&&"object"==typeof e&&"nodeType"in e&&e.nodeType===Node.ELEMENT_NODE}(e)&&e instanceof(null!=(t=e.ownerDocument.defaultView)?t:window).HTMLElement}function Vw(e){return["html","body","#document"].includes(e.localName)?e.ownerDocument.body:$w(e)&&function(e){const t=e.ownerDocument.defaultView||window,{overflow:n,overflowX:r,overflowY:o}=t.getComputedStyle(e);return/auto|scroll|overlay|hidden/.test(n+o+r)}(e)?e:Vw(function(e){return"html"===e.localName?e:e.assignedSlot||e.parentElement||e.ownerDocument.documentElement}(e))}var Ww=(e,t)=>({var:e,varRef:t?`var(${e}, ${t})`:`var(${e})`}),Hw={arrowShadowColor:Ww("--popper-arrow-shadow-color"),arrowSize:Ww("--popper-arrow-size","8px"),arrowSizeHalf:Ww("--popper-arrow-size-half"),arrowBg:Ww("--popper-arrow-bg"),transformOrigin:Ww("--popper-transform-origin"),arrowOffset:Ww("--popper-arrow-offset")},Uw={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"},qw={scroll:!0,resize:!0};function Zw(e){let t;return t="object"==typeof e?{enabled:!0,options:{...qw,...e}}:{enabled:e,options:qw},t}var Qw={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`}},Kw={name:"transformOrigin",enabled:!0,phase:"write",fn:({state:e})=>{Yw(e)},effect:({state:e})=>()=>{Yw(e)}},Yw=e=>{var t;e.elements.popper.style.setProperty(Hw.transformOrigin.var,(t=e.placement,Uw[t]))},Gw={name:"positionArrow",enabled:!0,phase:"afterWrite",fn:({state:e})=>{Xw(e)}},Xw=e=>{var t;if(!e.placement)return;const n=Jw(e.placement);if((null==(t=e.elements)?void 0:t.arrow)&&n){Object.assign(e.elements.arrow.style,{[n.property]:n.value,width:Hw.arrowSize.varRef,height:Hw.arrowSize.varRef,zIndex:-1});const t={[Hw.arrowSizeHalf.var]:`calc(${Hw.arrowSize.varRef} / 2 - 1px)`,[Hw.arrowOffset.var]:`calc(${Hw.arrowSizeHalf.varRef} * -1)`};for(const n in t)e.elements.arrow.style.setProperty(n,t[n])}},Jw=e=>e.startsWith("top")?{property:"bottom",value:Hw.arrowOffset.varRef}:e.startsWith("bottom")?{property:"top",value:Hw.arrowOffset.varRef}:e.startsWith("left")?{property:"right",value:Hw.arrowOffset.varRef}:e.startsWith("right")?{property:"left",value:Hw.arrowOffset.varRef}:void 0,ex={name:"innerArrow",enabled:!0,phase:"main",requires:["arrow"],fn:({state:e})=>{tx(e)},effect:({state:e})=>()=>{tx(e)}},tx=e=>{if(!e.elements.arrow)return;const t=e.elements.arrow.querySelector("[data-popper-arrow-inner]");if(!t)return;const n=(r=e.placement).includes("top")?"1px 1px 0px 0 var(--popper-arrow-shadow-color)":r.includes("bottom")?"-1px -1px 0px 0 var(--popper-arrow-shadow-color)":r.includes("right")?"-1px 1px 0px 0 var(--popper-arrow-shadow-color)":r.includes("left")?"1px -1px 0px 0 var(--popper-arrow-shadow-color)":void 0;var r;n&&t.style.setProperty("--popper-arrow-default-shadow",n),Object.assign(t.style,{transform:"rotate(45deg)",background:Hw.arrowBg.varRef,top:0,left:0,width:"100%",height:"100%",position:"absolute",zIndex:"inherit",boxShadow:"var(--popper-arrow-shadow, var(--popper-arrow-default-shadow))"})},nx={"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"}},rx={"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 ox(...e){return t=>{e.forEach(e=>{!function(e,t){if(null!=e)if("function"!=typeof e)try{e.current=t}catch(n){throw new Error(`Cannot assign value '${t}' to ref '${e}'`)}else e(t)}(e,t)})}}function ax(...e){return(0,a.useMemo)(()=>ox(...e),e)}function ix(e){if(null==e)return window;if("[object Window]"!==e.toString()){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function sx(e){return e instanceof ix(e).Element||e instanceof Element}function lx(e){return e instanceof ix(e).HTMLElement||e instanceof HTMLElement}function cx(e){return"undefined"!=typeof ShadowRoot&&(e instanceof ix(e).ShadowRoot||e instanceof ShadowRoot)}var ux=Math.max,dx=Math.min,fx=Math.round;function px(){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 hx(){return!/^((?!chrome|android).)*safari/i.test(px())}function mx(e,t,n){void 0===t&&(t=!1),void 0===n&&(n=!1);var r=e.getBoundingClientRect(),o=1,a=1;t&&lx(e)&&(o=e.offsetWidth>0&&fx(r.width)/e.offsetWidth||1,a=e.offsetHeight>0&&fx(r.height)/e.offsetHeight||1);var i=(sx(e)?ix(e):window).visualViewport,s=!hx()&&n,l=(r.left+(s&&i?i.offsetLeft:0))/o,c=(r.top+(s&&i?i.offsetTop:0))/a,u=r.width/o,d=r.height/a;return{width:u,height:d,top:c,right:l+u,bottom:c+d,left:l,x:l,y:c}}function vx(e){var t=ix(e);return{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function gx(e){return e?(e.nodeName||"").toLowerCase():null}function yx(e){return((sx(e)?e.ownerDocument:e.document)||window.document).documentElement}function bx(e){return mx(yx(e)).left+vx(e).scrollLeft}function wx(e){return ix(e).getComputedStyle(e)}function xx(e){var t=wx(e),n=t.overflow,r=t.overflowX,o=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+o+r)}function Sx(e,t,n){void 0===n&&(n=!1);var r=lx(t),o=lx(t)&&function(e){var t=e.getBoundingClientRect(),n=fx(t.width)/e.offsetWidth||1,r=fx(t.height)/e.offsetHeight||1;return 1!==n||1!==r}(t),a=yx(t),i=mx(e,o,n),s={scrollLeft:0,scrollTop:0},l={x:0,y:0};return(r||!r&&!n)&&(("body"!==gx(t)||xx(a))&&(s=function(e){return e!==ix(e)&&lx(e)?{scrollLeft:(t=e).scrollLeft,scrollTop:t.scrollTop}:vx(e);var t}(t)),lx(t)?((l=mx(t,!0)).x+=t.clientLeft,l.y+=t.clientTop):a&&(l.x=bx(a))),{x:i.left+s.scrollLeft-l.x,y:i.top+s.scrollTop-l.y,width:i.width,height:i.height}}function kx(e){var t=mx(e),n=e.offsetWidth,r=e.offsetHeight;return Math.abs(t.width-n)<=1&&(n=t.width),Math.abs(t.height-r)<=1&&(r=t.height),{x:e.offsetLeft,y:e.offsetTop,width:n,height:r}}function Ex(e){return"html"===gx(e)?e:e.assignedSlot||e.parentNode||(cx(e)?e.host:null)||yx(e)}function Cx(e){return["html","body","#document"].indexOf(gx(e))>=0?e.ownerDocument.body:lx(e)&&xx(e)?e:Cx(Ex(e))}function _x(e,t){var n;void 0===t&&(t=[]);var r=Cx(e),o=r===(null==(n=e.ownerDocument)?void 0:n.body),a=ix(r),i=o?[a].concat(a.visualViewport||[],xx(r)?r:[]):r,s=t.concat(i);return o?s:s.concat(_x(Ex(i)))}function Px(e){return["table","td","th"].indexOf(gx(e))>=0}function Rx(e){return lx(e)&&"fixed"!==wx(e).position?e.offsetParent:null}function Tx(e){for(var t=ix(e),n=Rx(e);n&&Px(n)&&"static"===wx(n).position;)n=Rx(n);return n&&("html"===gx(n)||"body"===gx(n)&&"static"===wx(n).position)?t:n||function(e){var t=/firefox/i.test(px());if(/Trident/i.test(px())&&lx(e)&&"fixed"===wx(e).position)return null;var n=Ex(e);for(cx(n)&&(n=n.host);lx(n)&&["html","body"].indexOf(gx(n))<0;){var r=wx(n);if("none"!==r.transform||"none"!==r.perspective||"paint"===r.contain||-1!==["transform","perspective"].indexOf(r.willChange)||t&&"filter"===r.willChange||t&&r.filter&&"none"!==r.filter)return n;n=n.parentNode}return null}(e)||t}var Ax="top",Mx="bottom",Ox="right",zx="left",Fx="auto",jx=[Ax,Mx,Ox,zx],Dx="start",Lx="end",Bx="viewport",Nx="popper",Ix=jx.reduce(function(e,t){return e.concat([t+"-"+Dx,t+"-"+Lx])},[]),$x=[].concat(jx,[Fx]).reduce(function(e,t){return e.concat([t,t+"-"+Dx,t+"-"+Lx])},[]),Vx=["beforeRead","read","afterRead","beforeMain","main","afterMain","beforeWrite","write","afterWrite"];function Wx(e){var t=new Map,n=new Set,r=[];function o(e){n.add(e.name),[].concat(e.requires||[],e.requiresIfExists||[]).forEach(function(e){if(!n.has(e)){var r=t.get(e);r&&o(r)}}),r.push(e)}return e.forEach(function(e){t.set(e.name,e)}),e.forEach(function(e){n.has(e.name)||o(e)}),r}var Hx={placement:"bottom",modifiers:[],strategy:"absolute"};function Ux(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return!t.some(function(e){return!(e&&"function"==typeof e.getBoundingClientRect)})}function qx(e){void 0===e&&(e={});var t=e,n=t.defaultModifiers,r=void 0===n?[]:n,o=t.defaultOptions,a=void 0===o?Hx:o;return function(e,t,n){void 0===n&&(n=a);var o,i,s={placement:"bottom",orderedModifiers:[],options:Object.assign({},Hx,a),modifiersData:{},elements:{reference:e,popper:t},attributes:{},styles:{}},l=[],c=!1,u={state:s,setOptions:function(n){var o="function"==typeof n?n(s.options):n;d(),s.options=Object.assign({},a,s.options,o),s.scrollParents={reference:sx(e)?_x(e):e.contextElement?_x(e.contextElement):[],popper:_x(t)};var i,c,f=function(e){var t=Wx(e);return Vx.reduce(function(e,n){return e.concat(t.filter(function(e){return e.phase===n}))},[])}((i=[].concat(r,s.options.modifiers),c=i.reduce(function(e,t){var n=e[t.name];return e[t.name]=n?Object.assign({},n,t,{options:Object.assign({},n.options,t.options),data:Object.assign({},n.data,t.data)}):t,e},{}),Object.keys(c).map(function(e){return c[e]})));return s.orderedModifiers=f.filter(function(e){return e.enabled}),s.orderedModifiers.forEach(function(e){var t=e.name,n=e.options,r=void 0===n?{}:n,o=e.effect;if("function"==typeof o){var a=o({state:s,name:t,instance:u,options:r});l.push(a||function(){})}}),u.update()},forceUpdate:function(){if(!c){var e=s.elements,t=e.reference,n=e.popper;if(Ux(t,n)){s.rects={reference:Sx(t,Tx(n),"fixed"===s.options.strategy),popper:kx(n)},s.reset=!1,s.placement=s.options.placement,s.orderedModifiers.forEach(function(e){return s.modifiersData[e.name]=Object.assign({},e.data)});for(var r=0;r<s.orderedModifiers.length;r++)if(!0!==s.reset){var o=s.orderedModifiers[r],a=o.fn,i=o.options,l=void 0===i?{}:i,d=o.name;"function"==typeof a&&(s=a({state:s,options:l,name:d,instance:u})||s)}else s.reset=!1,r=-1}}},update:(o=function(){return new Promise(function(e){u.forceUpdate(),e(s)})},function(){return i||(i=new Promise(function(e){Promise.resolve().then(function(){i=void 0,e(o())})})),i}),destroy:function(){d(),c=!0}};if(!Ux(e,t))return u;function d(){l.forEach(function(e){return e()}),l=[]}return u.setOptions(n).then(function(e){!c&&n.onFirstUpdate&&n.onFirstUpdate(e)}),u}}var Zx={passive:!0};const Qx={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(e){var t=e.state,n=e.instance,r=e.options,o=r.scroll,a=void 0===o||o,i=r.resize,s=void 0===i||i,l=ix(t.elements.popper),c=[].concat(t.scrollParents.reference,t.scrollParents.popper);return a&&c.forEach(function(e){e.addEventListener("scroll",n.update,Zx)}),s&&l.addEventListener("resize",n.update,Zx),function(){a&&c.forEach(function(e){e.removeEventListener("scroll",n.update,Zx)}),s&&l.removeEventListener("resize",n.update,Zx)}},data:{}};function Kx(e){return e.split("-")[0]}function Yx(e){return e.split("-")[1]}function Gx(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function Xx(e){var t,n=e.reference,r=e.element,o=e.placement,a=o?Kx(o):null,i=o?Yx(o):null,s=n.x+n.width/2-r.width/2,l=n.y+n.height/2-r.height/2;switch(a){case Ax:t={x:s,y:n.y-r.height};break;case Mx:t={x:s,y:n.y+n.height};break;case Ox:t={x:n.x+n.width,y:l};break;case zx:t={x:n.x-r.width,y:l};break;default:t={x:n.x,y:n.y}}var c=a?Gx(a):null;if(null!=c){var u="y"===c?"height":"width";switch(i){case Dx:t[c]=t[c]-(n[u]/2-r[u]/2);break;case Lx:t[c]=t[c]+(n[u]/2-r[u]/2)}}return t}const Jx={name:"popperOffsets",enabled:!0,phase:"read",fn:function(e){var t=e.state,n=e.name;t.modifiersData[n]=Xx({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})},data:{}};var eS={top:"auto",right:"auto",bottom:"auto",left:"auto"};function tS(e){var t,n=e.popper,r=e.popperRect,o=e.placement,a=e.variation,i=e.offsets,s=e.position,l=e.gpuAcceleration,c=e.adaptive,u=e.roundOffsets,d=e.isFixed,f=i.x,p=void 0===f?0:f,h=i.y,m=void 0===h?0:h,v="function"==typeof u?u({x:p,y:m}):{x:p,y:m};p=v.x,m=v.y;var g=i.hasOwnProperty("x"),y=i.hasOwnProperty("y"),b=zx,w=Ax,x=window;if(c){var S=Tx(n),k="clientHeight",E="clientWidth";S===ix(n)&&"static"!==wx(S=yx(n)).position&&"absolute"===s&&(k="scrollHeight",E="scrollWidth"),(o===Ax||(o===zx||o===Ox)&&a===Lx)&&(w=Mx,m-=(d&&S===x&&x.visualViewport?x.visualViewport.height:S[k])-r.height,m*=l?1:-1),o!==zx&&(o!==Ax&&o!==Mx||a!==Lx)||(b=Ox,p-=(d&&S===x&&x.visualViewport?x.visualViewport.width:S[E])-r.width,p*=l?1:-1)}var C,_=Object.assign({position:s},c&&eS),P=!0===u?function(e,t){var n=e.x,r=e.y,o=t.devicePixelRatio||1;return{x:fx(n*o)/o||0,y:fx(r*o)/o||0}}({x:p,y:m},ix(n)):{x:p,y:m};return p=P.x,m=P.y,l?Object.assign({},_,((C={})[w]=y?"0":"",C[b]=g?"0":"",C.transform=(x.devicePixelRatio||1)<=1?"translate("+p+"px, "+m+"px)":"translate3d("+p+"px, "+m+"px, 0)",C)):Object.assign({},_,((t={})[w]=y?m+"px":"",t[b]=g?p+"px":"",t.transform="",t))}const nS={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function(e){var t=e.state,n=e.options,r=n.gpuAcceleration,o=void 0===r||r,a=n.adaptive,i=void 0===a||a,s=n.roundOffsets,l=void 0===s||s,c={placement:Kx(t.placement),variation:Yx(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,tS(Object.assign({},c,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:i,roundOffsets:l})))),null!=t.modifiersData.arrow&&(t.styles.arrow=Object.assign({},t.styles.arrow,tS(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:{}},rS={name:"applyStyles",enabled:!0,phase:"write",fn:function(e){var t=e.state;Object.keys(t.elements).forEach(function(e){var n=t.styles[e]||{},r=t.attributes[e]||{},o=t.elements[e];lx(o)&&gx(o)&&(Object.assign(o.style,n),Object.keys(r).forEach(function(e){var t=r[e];!1===t?o.removeAttribute(e):o.setAttribute(e,!0===t?"":t)}))})},effect:function(e){var t=e.state,n={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,n.popper),t.styles=n,t.elements.arrow&&Object.assign(t.elements.arrow.style,n.arrow),function(){Object.keys(t.elements).forEach(function(e){var r=t.elements[e],o=t.attributes[e]||{},a=Object.keys(t.styles.hasOwnProperty(e)?t.styles[e]:n[e]).reduce(function(e,t){return e[t]="",e},{});lx(r)&&gx(r)&&(Object.assign(r.style,a),Object.keys(o).forEach(function(e){r.removeAttribute(e)}))})}},requires:["computeStyles"]},oS={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(e){var t=e.state,n=e.options,r=e.name,o=n.offset,a=void 0===o?[0,0]:o,i=$x.reduce(function(e,n){return e[n]=function(e,t,n){var r=Kx(e),o=[zx,Ax].indexOf(r)>=0?-1:1,a="function"==typeof n?n(Object.assign({},t,{placement:e})):n,i=a[0],s=a[1];return i=i||0,s=(s||0)*o,[zx,Ox].indexOf(r)>=0?{x:s,y:i}:{x:i,y:s}}(n,t.rects,a),e},{}),s=i[t.placement],l=s.x,c=s.y;null!=t.modifiersData.popperOffsets&&(t.modifiersData.popperOffsets.x+=l,t.modifiersData.popperOffsets.y+=c),t.modifiersData[r]=i}};var aS={left:"right",right:"left",bottom:"top",top:"bottom"};function iS(e){return e.replace(/left|right|bottom|top/g,function(e){return aS[e]})}var sS={start:"end",end:"start"};function lS(e){return e.replace(/start|end/g,function(e){return sS[e]})}function cS(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&cx(n)){var r=t;do{if(r&&e.isSameNode(r))return!0;r=r.parentNode||r.host}while(r)}return!1}function uS(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function dS(e,t,n){return t===Bx?uS(function(e,t){var n=ix(e),r=yx(e),o=n.visualViewport,a=r.clientWidth,i=r.clientHeight,s=0,l=0;if(o){a=o.width,i=o.height;var c=hx();(c||!c&&"fixed"===t)&&(s=o.offsetLeft,l=o.offsetTop)}return{width:a,height:i,x:s+bx(e),y:l}}(e,n)):sx(t)?function(e,t){var n=mx(e,!1,"fixed"===t);return n.top=n.top+e.clientTop,n.left=n.left+e.clientLeft,n.bottom=n.top+e.clientHeight,n.right=n.left+e.clientWidth,n.width=e.clientWidth,n.height=e.clientHeight,n.x=n.left,n.y=n.top,n}(t,n):uS(function(e){var t,n=yx(e),r=vx(e),o=null==(t=e.ownerDocument)?void 0:t.body,a=ux(n.scrollWidth,n.clientWidth,o?o.scrollWidth:0,o?o.clientWidth:0),i=ux(n.scrollHeight,n.clientHeight,o?o.scrollHeight:0,o?o.clientHeight:0),s=-r.scrollLeft+bx(e),l=-r.scrollTop;return"rtl"===wx(o||n).direction&&(s+=ux(n.clientWidth,o?o.clientWidth:0)-a),{width:a,height:i,x:s,y:l}}(yx(e)))}function fS(e){return Object.assign({},{top:0,right:0,bottom:0,left:0},e)}function pS(e,t){return t.reduce(function(t,n){return t[n]=e,t},{})}function hS(e,t){void 0===t&&(t={});var n=t,r=n.placement,o=void 0===r?e.placement:r,a=n.strategy,i=void 0===a?e.strategy:a,s=n.boundary,l=void 0===s?"clippingParents":s,c=n.rootBoundary,u=void 0===c?Bx:c,d=n.elementContext,f=void 0===d?Nx:d,p=n.altBoundary,h=void 0!==p&&p,m=n.padding,v=void 0===m?0:m,g=fS("number"!=typeof v?v:pS(v,jx)),y=f===Nx?"reference":Nx,b=e.rects.popper,w=e.elements[h?y:f],x=function(e,t,n,r){var o="clippingParents"===t?function(e){var t=_x(Ex(e)),n=["absolute","fixed"].indexOf(wx(e).position)>=0&&lx(e)?Tx(e):e;return sx(n)?t.filter(function(e){return sx(e)&&cS(e,n)&&"body"!==gx(e)}):[]}(e):[].concat(t),a=[].concat(o,[n]),i=a[0],s=a.reduce(function(t,n){var o=dS(e,n,r);return t.top=ux(o.top,t.top),t.right=dx(o.right,t.right),t.bottom=dx(o.bottom,t.bottom),t.left=ux(o.left,t.left),t},dS(e,i,r));return s.width=s.right-s.left,s.height=s.bottom-s.top,s.x=s.left,s.y=s.top,s}(sx(w)?w:w.contextElement||yx(e.elements.popper),l,u,i),S=mx(e.elements.reference),k=Xx({reference:S,element:b,strategy:"absolute",placement:o}),E=uS(Object.assign({},b,k)),C=f===Nx?E:S,_={top:x.top-C.top+g.top,bottom:C.bottom-x.bottom+g.bottom,left:x.left-C.left+g.left,right:C.right-x.right+g.right},P=e.modifiersData.offset;if(f===Nx&&P){var R=P[o];Object.keys(_).forEach(function(e){var t=[Ox,Mx].indexOf(e)>=0?1:-1,n=[Ax,Mx].indexOf(e)>=0?"y":"x";_[e]+=R[n]*t})}return _}const mS={name:"flip",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options,r=e.name;if(!t.modifiersData[r]._skip){for(var o=n.mainAxis,a=void 0===o||o,i=n.altAxis,s=void 0===i||i,l=n.fallbackPlacements,c=n.padding,u=n.boundary,d=n.rootBoundary,f=n.altBoundary,p=n.flipVariations,h=void 0===p||p,m=n.allowedAutoPlacements,v=t.options.placement,g=Kx(v),y=l||(g!==v&&h?function(e){if(Kx(e)===Fx)return[];var t=iS(e);return[lS(e),t,lS(t)]}(v):[iS(v)]),b=[v].concat(y).reduce(function(e,n){return e.concat(Kx(n)===Fx?function(e,t){void 0===t&&(t={});var n=t,r=n.placement,o=n.boundary,a=n.rootBoundary,i=n.padding,s=n.flipVariations,l=n.allowedAutoPlacements,c=void 0===l?$x:l,u=Yx(r),d=u?s?Ix:Ix.filter(function(e){return Yx(e)===u}):jx,f=d.filter(function(e){return c.indexOf(e)>=0});0===f.length&&(f=d);var p=f.reduce(function(t,n){return t[n]=hS(e,{placement:n,boundary:o,rootBoundary:a,padding:i})[Kx(n)],t},{});return Object.keys(p).sort(function(e,t){return p[e]-p[t]})}(t,{placement:n,boundary:u,rootBoundary:d,padding:c,flipVariations:h,allowedAutoPlacements:m}):n)},[]),w=t.rects.reference,x=t.rects.popper,S=new Map,k=!0,E=b[0],C=0;C<b.length;C++){var _=b[C],P=Kx(_),R=Yx(_)===Dx,T=[Ax,Mx].indexOf(P)>=0,A=T?"width":"height",M=hS(t,{placement:_,boundary:u,rootBoundary:d,altBoundary:f,padding:c}),O=T?R?Ox:zx:R?Mx:Ax;w[A]>x[A]&&(O=iS(O));var z=iS(O),F=[];if(a&&F.push(M[P]<=0),s&&F.push(M[O]<=0,M[z]<=0),F.every(function(e){return e})){E=_,k=!1;break}S.set(_,F)}if(k)for(var j=function(e){var t=b.find(function(t){var n=S.get(t);if(n)return n.slice(0,e).every(function(e){return e})});if(t)return E=t,"break"},D=h?3:1;D>0&&"break"!==j(D);D--);t.placement!==E&&(t.modifiersData[r]._skip=!0,t.placement=E,t.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}};function vS(e,t,n){return ux(e,dx(t,n))}const gS={name:"preventOverflow",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options,r=e.name,o=n.mainAxis,a=void 0===o||o,i=n.altAxis,s=void 0!==i&&i,l=n.boundary,c=n.rootBoundary,u=n.altBoundary,d=n.padding,f=n.tether,p=void 0===f||f,h=n.tetherOffset,m=void 0===h?0:h,v=hS(t,{boundary:l,rootBoundary:c,padding:d,altBoundary:u}),g=Kx(t.placement),y=Yx(t.placement),b=!y,w=Gx(g),x="x"===w?"y":"x",S=t.modifiersData.popperOffsets,k=t.rects.reference,E=t.rects.popper,C="function"==typeof m?m(Object.assign({},t.rects,{placement:t.placement})):m,_="number"==typeof C?{mainAxis:C,altAxis:C}:Object.assign({mainAxis:0,altAxis:0},C),P=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,R={x:0,y:0};if(S){if(a){var T,A="y"===w?Ax:zx,M="y"===w?Mx:Ox,O="y"===w?"height":"width",z=S[w],F=z+v[A],j=z-v[M],D=p?-E[O]/2:0,L=y===Dx?k[O]:E[O],B=y===Dx?-E[O]:-k[O],N=t.elements.arrow,I=p&&N?kx(N):{width:0,height:0},$=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0},V=$[A],W=$[M],H=vS(0,k[O],I[O]),U=b?k[O]/2-D-H-V-_.mainAxis:L-H-V-_.mainAxis,q=b?-k[O]/2+D+H+W+_.mainAxis:B+H+W+_.mainAxis,Z=t.elements.arrow&&Tx(t.elements.arrow),Q=Z?"y"===w?Z.clientTop||0:Z.clientLeft||0:0,K=null!=(T=null==P?void 0:P[w])?T:0,Y=z+q-K,G=vS(p?dx(F,z+U-K-Q):F,z,p?ux(j,Y):j);S[w]=G,R[w]=G-z}if(s){var X,J="x"===w?Ax:zx,ee="x"===w?Mx:Ox,te=S[x],ne="y"===x?"height":"width",re=te+v[J],oe=te-v[ee],ae=-1!==[Ax,zx].indexOf(g),ie=null!=(X=null==P?void 0:P[x])?X:0,se=ae?re:te-k[ne]-E[ne]-ie+_.altAxis,le=ae?te+k[ne]+E[ne]-ie-_.altAxis:oe,ce=p&&ae?function(e,t,n){var r=vS(e,t,n);return r>n?n:r}(se,te,le):vS(p?se:re,te,p?le:oe);S[x]=ce,R[x]=ce-te}t.modifiersData[r]=R}},requiresIfExists:["offset"]},yS={name:"arrow",enabled:!0,phase:"main",fn:function(e){var t,n=e.state,r=e.name,o=e.options,a=n.elements.arrow,i=n.modifiersData.popperOffsets,s=Kx(n.placement),l=Gx(s),c=[zx,Ox].indexOf(s)>=0?"height":"width";if(a&&i){var u=function(e,t){return fS("number"!=typeof(e="function"==typeof e?e(Object.assign({},t.rects,{placement:t.placement})):e)?e:pS(e,jx))}(o.padding,n),d=kx(a),f="y"===l?Ax:zx,p="y"===l?Mx:Ox,h=n.rects.reference[c]+n.rects.reference[l]-i[l]-n.rects.popper[c],m=i[l]-n.rects.reference[l],v=Tx(a),g=v?"y"===l?v.clientHeight||0:v.clientWidth||0:0,y=h/2-m/2,b=u[f],w=g-d[c]-u[p],x=g/2-d[c]/2+y,S=vS(b,x,w),k=l;n.modifiersData[r]=((t={})[k]=S,t.centerOffset=S-x,t)}},effect:function(e){var t=e.state,n=e.options.element,r=void 0===n?"[data-popper-arrow]":n;null!=r&&("string"!=typeof r||(r=t.elements.popper.querySelector(r)))&&cS(t.elements.popper,r)&&(t.elements.arrow=r)},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function bS(e,t,n){return void 0===n&&(n={x:0,y:0}),{top:e.top-t.height-n.y,right:e.right-t.width+n.x,bottom:e.bottom-t.height+n.y,left:e.left-t.width-n.x}}function wS(e){return[Ax,Ox,Mx,zx].some(function(t){return e[t]>=0})}const xS={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function(e){var t=e.state,n=e.name,r=t.rects.reference,o=t.rects.popper,a=t.modifiersData.preventOverflow,i=hS(t,{elementContext:"reference"}),s=hS(t,{altBoundary:!0}),l=bS(i,r),c=bS(s,o,a),u=wS(l),d=wS(c);t.modifiersData[n]={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})}};var SS=qx({defaultModifiers:[Qx,Jx,nS,rS,oS,mS,gS,yS,xS]});function kS(e){const{size:t,shadowColor:n,bg:r,style:o}=e,a={...o,position:"absolute"};return t&&(a["--popper-arrow-size"]=t),n&&(a["--popper-arrow-shadow-color"]=n),r&&(a["--popper-arrow-bg"]=r),a}function ES(e,t,n,r){const o=s(n);return(0,a.useEffect)(()=>{const a="function"==typeof e?e():null!=e?e:document;if(n&&a)return a.addEventListener(t,o,r),()=>{a.removeEventListener(t,o,r)}},[t,e,r,o,n]),()=>{const n="function"==typeof e?e():null!=e?e:document;null==n||n.removeEventListener(t,o,r)}}var CS=e=>{var t;return(null==(t=e.current)?void 0:t.ownerDocument)||document},_S=e=>{var t,n;return(null==(n=null==(t=e.current)?void 0:t.ownerDocument)?void 0:n.defaultView)||window};function PS(e={}){const{openDelay:t=0,closeDelay:n=0,closeOnClick:r=!0,closeOnMouseDown:o,closeOnScroll:i,closeOnPointerDown:l=o,closeOnEsc:c=!0,onOpen:u,onClose:d,placement:f,id:p,isOpen:m,defaultIsOpen:v,arrowSize:g=10,arrowShadowColor:y,arrowPadding:b,modifiers:w,isDisabled:x,gutter:S,offset:k,direction:E,...C}=e,{isOpen:_,onOpen:P,onClose:R}=function(e={}){const{onClose:t,onOpen:n,isOpen:r,id:o}=e,i=s(n),l=s(t),[c,u]=(0,a.useState)(e.defaultIsOpen||!1),d=void 0!==r?r:c,f=void 0!==r,p=(0,a.useId)(),h=null!=o?o:`disclosure-${p}`,m=(0,a.useCallback)(()=>{f||u(!1),null==l||l()},[f,l]),v=(0,a.useCallback)(()=>{f||u(!0),null==i||i()},[f,i]),g=(0,a.useCallback)(()=>{d?m():v()},[d,v,m]);return{isOpen:d,onOpen:v,onClose:m,onToggle:g,isControlled:f,getButtonProps:function(e={}){return{...e,"aria-expanded":d,"aria-controls":h,onClick(t){var n;null==(n=e.onClick)||n.call(e,t),g()}}},getDisclosureProps:function(e={}){return{...e,hidden:!d,id:h}}}}({isOpen:m,defaultIsOpen:v,onOpen:u,onClose:d}),{referenceRef:T,getPopperProps:A,getArrowInnerProps:M,getArrowProps:O}=function(e={}){const{enabled:t=!0,modifiers:n,placement:r="bottom",strategy:o="absolute",arrowPadding:i=8,eventListeners:s=!0,offset:l,gutter:c=8,flip:u=!0,boundary:d="clippingParents",preventOverflow:f=!0,matchWidth:p,direction:h="ltr"}=e,m=(0,a.useRef)(null),v=(0,a.useRef)(null),g=(0,a.useRef)(null),y=function(e,t="ltr"){var n,r;const o=(null==(n=nx[e])?void 0:n[t])||e;return"ltr"===t?o:null!=(r=rx[e])?r:o}(r,h),b=(0,a.useRef)(()=>{}),w=(0,a.useCallback)(()=>{var e;t&&m.current&&v.current&&(null==(e=b.current)||e.call(b),g.current=SS(m.current,v.current,{placement:y,modifiers:[ex,Gw,Kw,{...Qw,enabled:!!p},{name:"eventListeners",...Zw(s)},{name:"arrow",options:{padding:i}},{name:"offset",options:{offset:null!=l?l:[0,c]}},{name:"flip",enabled:!!u,options:{padding:8}},{name:"preventOverflow",enabled:!!f,options:{boundary:d}},...null!=n?n:[]],strategy:o}),g.current.forceUpdate(),b.current=g.current.destroy)},[y,t,n,p,s,i,l,c,u,f,d,o]);(0,a.useEffect)(()=>()=>{var e;m.current||v.current||(null==(e=g.current)||e.destroy(),g.current=null)},[]);const x=(0,a.useCallback)(e=>{m.current=e,w()},[w]),S=(0,a.useCallback)((e={},t=null)=>({...e,ref:ox(x,t)}),[x]),k=(0,a.useCallback)(e=>{v.current=e,w()},[w]),E=(0,a.useCallback)((e={},t=null)=>({...e,ref:ox(k,t),style:{...e.style,position:o,minWidth:p?void 0:"max-content",inset:"0 auto auto 0"}}),[o,k,p]),C=(0,a.useCallback)((e={},t=null)=>{const{size:n,shadowColor:r,bg:o,style:a,...i}=e;return{...i,ref:t,"data-popper-arrow":"",style:kS(e)}},[]),_=(0,a.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:Hw.transformOrigin.varRef,referenceRef:x,popperRef:k,getPopperProps:E,getArrowProps:C,getArrowInnerProps:_,getReferenceProps:S}}({enabled:_,placement:f,arrowPadding:b,modifiers:w,gutter:S,offset:k,direction:E}),z=(0,a.useId)(),F=`tooltip-${null!=p?p:z}`,j=(0,a.useRef)(null),D=(0,a.useRef)(),L=(0,a.useCallback)(()=>{D.current&&(clearTimeout(D.current),D.current=void 0)},[]),B=(0,a.useRef)(),N=(0,a.useCallback)(()=>{B.current&&(clearTimeout(B.current),B.current=void 0)},[]),I=(0,a.useCallback)(()=>{N(),R()},[R,N]),$=function(e,t){return(0,a.useEffect)(()=>{const n=CS(e);return n.addEventListener(RS,t),()=>n.removeEventListener(RS,t)},[t,e]),()=>{const t=CS(e),n=_S(e);t.dispatchEvent(new n.CustomEvent(RS))}}(j,I),V=(0,a.useCallback)(()=>{if(!x&&!D.current){_&&$();const e=_S(j);D.current=e.setTimeout(P,t)}},[$,x,_,P,t]),W=(0,a.useCallback)(()=>{L();const e=_S(j);B.current=e.setTimeout(I,n)},[n,I,L]),H=(0,a.useCallback)(()=>{_&&r&&W()},[r,W,_]),U=(0,a.useCallback)(()=>{_&&l&&W()},[l,W,_]),q=(0,a.useCallback)(e=>{_&&"Escape"===e.key&&W()},[_,W]);ES(()=>CS(j),"keydown",c?q:void 0),ES(()=>{if(!i)return null;const e=j.current;if(!e)return null;const t=Vw(e);return"body"===t.localName?_S(j):t},"scroll",()=>{_&&i&&I()},{passive:!0,capture:!0}),(0,a.useEffect)(()=>{x&&(L(),_&&R())},[x,_,R,L]),(0,a.useEffect)(()=>()=>{L(),N()},[L,N]),ES(()=>j.current,"pointerleave",W);const Z=(0,a.useCallback)((e={},t=null)=>({...e,ref:ox(j,t,T),onPointerEnter:h(e.onPointerEnter,e=>{"touch"!==e.pointerType&&V()}),onClick:h(e.onClick,H),onPointerDown:h(e.onPointerDown,U),onFocus:h(e.onFocus,V),onBlur:h(e.onBlur,W),"aria-describedby":_?F:void 0}),[V,W,U,_,F,H,T]),Q=(0,a.useCallback)((e={},t=null)=>A({...e,style:{...e.style,[Hw.arrowSize.var]:g?`${g}px`:void 0,[Hw.arrowShadowColor.var]:y}},t),[A,g,y]),K=(0,a.useCallback)((e={},t=null)=>{const n={...e.style,position:"relative",transformOrigin:Hw.transformOrigin.varRef};return{ref:t,...C,...e,id:F,role:"tooltip",style:n}},[C,F]);return{isOpen:_,show:V,hide:W,getTriggerProps:Z,getTooltipProps:K,getTooltipPositionerProps:Q,getArrowProps:O,getArrowInnerProps:M}}var RS="chakra-ui:close-tooltip",TS=Dc(ci.div),AS=$c((e,t)=>{var n,r;const o=qc("Tooltip",e),i=Ws(e),s=Vc(),{children:l,label:c,shouldWrapChildren:u,"aria-label":d,hasArrow:f,bg:p,portalProps:h,background:m,backgroundColor:v,bgColor:g,motionProps:y,...b}=i,w=null!=(r=null!=(n=null!=m?m:v)?n:p)?r:g;if(w){o.bg=w;const e=function(e,t,n){var r,o,a;return null!=(a=null==(o=null==(r=e.__cssMap)?void 0:r[`colors.${n}`])?void 0:o.varRef)?a:n}(s,0,w);o[Hw.arrowBg.var]=e}const x=PS({...b,direction:s.direction});let S;if("string"==typeof l||u)S=(0,Lc.jsx)(Dc.span,{display:"inline-block",tabIndex:0,...x.getTriggerProps(),children:l});else{const e=a.Children.only(l);S=(0,a.cloneElement)(e,x.getTriggerProps(e.props,e.ref))}const k=!!d,E=x.getTooltipProps({},t),C=k?function(e,t=[]){const n=Object.assign({},e);for(const e of t)e in n&&delete n[e];return n}(E,["role","id"]):E,_=function(e){const t={};for(const n of["role","id"])n in e&&(t[n]=e[n]);return t}(E);return c?(0,Lc.jsxs)(Lc.Fragment,{children:[S,(0,Lc.jsx)(Eu,{children:x.isOpen&&(0,Lc.jsx)(Lu,{...h,children:(0,Lc.jsx)(Dc.div,{...x.getTooltipPositionerProps(),__css:{zIndex:o.zIndex,pointerEvents:"none"},children:(0,Lc.jsxs)(TS,{variants:Iw,initial:"exit",animate:"enter",exit:"exit",...y,...C,__css:o,children:[c,k&&(0,Lc.jsx)(Dc.span,{srOnly:!0,..._,children:d}),f&&(0,Lc.jsx)(Dc.div,{"data-popper-arrow":!0,className:"chakra-tooltip__arrow-wrapper",children:(0,Lc.jsx)(Dc.div,{"data-popper-arrow-inner":!0,className:"chakra-tooltip__arrow",__css:{bg:o.bg}})})]})})})})]}):(0,Lc.jsx)(Lc.Fragment,{children:l})});AS.displayName="Tooltip";var[MS,OS]=Gc({name:"TagStylesContext",errorMessage:"useTagStyles returned is 'undefined'. Seems you forgot to wrap the components in \"<Tag />\" "}),zS=$c((e,t)=>{const n=Zc("Tag",e),r=Ws(e),o={display:"inline-flex",verticalAlign:"top",alignItems:"center",maxWidth:"100%",...n.container};return(0,Lc.jsx)(MS,{value:n,children:(0,Lc.jsx)(Dc.span,{ref:t,...r,__css:o})})});zS.displayName="Tag";var FS=$c((e,t)=>{const n=OS();return(0,Lc.jsx)(Dc.span,{ref:t,noOfLines:1,...e,__css:n.label})});FS.displayName="TagLabel",$c((e,t)=>(0,Lc.jsx)(Kc,{ref:t,verticalAlign:"top",marginEnd:"0.5rem",...e})).displayName="TagLeftIcon",$c((e,t)=>(0,Lc.jsx)(Kc,{ref:t,verticalAlign:"top",marginStart:"0.5rem",...e})).displayName="TagRightIcon";var jS=e=>(0,Lc.jsx)(Kc,{verticalAlign:"inherit",viewBox:"0 0 512 512",...e,children:(0,Lc.jsx)("path",{fill:"currentColor",d:"M289.94 256l95-95A24 24 0 00351 127l-95 95-95-95a24 24 0 00-34 34l95 95-95 95a24 24 0 1034 34l95-95 95 95a24 24 0 0034-34z"})});jS.displayName="TagCloseIcon",$c((e,t)=>{const{isDisabled:n,children:r,...o}=e,a={display:"flex",alignItems:"center",justifyContent:"center",outline:"0",...OS().closeButton};return(0,Lc.jsx)(Dc.button,{ref:t,"aria-label":"close",...o,type:"button",disabled:n,__css:a,children:r||(0,Lc.jsx)(jS,{})})}).displayName="TagCloseButton";var[DS,LS]=Gc({strict:!1,name:"ButtonGroupContext"});function BS(e){const{children:t,className:n,...r}=e,o=(0,a.isValidElement)(t)?(0,a.cloneElement)(t,{"aria-hidden":!0,focusable:!1}):t,i=c("chakra-button__icon",n);return(0,Lc.jsx)(Dc.span,{display:"inline-flex",alignSelf:"center",flexShrink:0,...r,className:i,children:o})}function NS(e){const{label:t,placement:n,spacing:r="0.5rem",children:o=(0,Lc.jsx)(nu,{color:"currentColor",width:"1em",height:"1em"}),className:i,__css:s,...l}=e,u=c("chakra-button__spinner",i),d="start"===n?"marginEnd":"marginStart",f=(0,a.useMemo)(()=>({display:"flex",alignItems:"center",position:t?"relative":"absolute",[d]:t?r:0,fontSize:"1em",lineHeight:"normal",...s}),[s,t,d,r]);return(0,Lc.jsx)(Dc.div,{className:u,...l,__css:f,children:o})}BS.displayName="ButtonIcon",NS.displayName="ButtonSpinner";var IS=$c((e,t)=>{const n=LS(),r=qc("Button",{...n,...e}),{isDisabled:o=(null==n?void 0:n.isDisabled),isLoading:i,isActive:s,children:l,leftIcon:u,rightIcon:d,loadingText:f,iconSpacing:h="0.5rem",type:m,spinner:v,spinnerPlacement:g="start",className:y,as:b,...w}=Ws(e),x=(0,a.useMemo)(()=>{const e={...null==r?void 0:r._focus,zIndex:1};return{display:"inline-flex",appearance:"none",alignItems:"center",justifyContent:"center",userSelect:"none",position:"relative",whiteSpace:"nowrap",verticalAlign:"middle",outline:"none",...r,...!!n&&{_focus:e}}},[r,n]),{ref:S,type:k}=function(e){const[t,n]=(0,a.useState)(!e),r=(0,a.useCallback)(e=>{e&&n("BUTTON"===e.tagName)},[]);return{ref:r,type:t?"button":void 0}}(b),E={rightIcon:d,leftIcon:u,iconSpacing:h,children:l};return(0,Lc.jsxs)(Dc.button,{ref:ax(t,S),as:b,type:null!=m?m:k,"data-active":p(s),"data-loading":p(i),__css:x,className:c("chakra-button",y),...w,disabled:o||i,children:[i&&"start"===g&&(0,Lc.jsx)(NS,{className:"chakra-button__spinner--start",label:f,placement:"start",spacing:h,children:v}),i?f||(0,Lc.jsx)(Dc.span,{opacity:0,children:(0,Lc.jsx)($S,{...E})}):(0,Lc.jsx)($S,{...E}),i&&"end"===g&&(0,Lc.jsx)(NS,{className:"chakra-button__spinner--end",label:f,placement:"end",spacing:h,children:v})]})});function $S(e){const{leftIcon:t,rightIcon:n,children:r,iconSpacing:o}=e;return(0,Lc.jsxs)(Lc.Fragment,{children:[t&&(0,Lc.jsx)(BS,{marginEnd:o,children:t}),r,n&&(0,Lc.jsx)(BS,{marginStart:o,children:n})]})}IS.displayName="Button";var VS=$c(function(e,t){const{htmlWidth:n,htmlHeight:r,alt:o,...a}=e;return(0,Lc.jsx)("img",{width:n,height:r,ref:t,alt:o,...a})});function WS(e,t=[]){const n=Object.assign({},e);for(const e of t)e in n&&delete n[e];return n}VS.displayName="NativeImage";var HS=$c(function(e,t){const{fallbackSrc:n,fallback:r,src:o,srcSet:i,align:s,fit:l,loading:c,ignoreFallback:u,crossOrigin:d,fallbackStrategy:f="beforeLoadOrError",referrerPolicy:p,...h}=e,m=null!=c||u||!(void 0!==n||void 0!==r),v=function(e){const{loading:t,src:n,srcSet:r,onLoad:o,onError:i,crossOrigin:s,sizes:l,ignoreFallback:c}=e,[u,d]=(0,a.useState)("pending");(0,a.useEffect)(()=>{d(n?"loading":"pending")},[n]);const f=(0,a.useRef)(),p=(0,a.useCallback)(()=>{if(!n)return;h();const e=new Image;e.src=n,s&&(e.crossOrigin=s),r&&(e.srcset=r),l&&(e.sizes=l),t&&(e.loading=t),e.onload=e=>{h(),d("loaded"),null==o||o(e)},e.onerror=e=>{h(),d("failed"),null==i||i(e)},f.current=e},[n,s,r,l,o,i,t]),h=()=>{f.current&&(f.current.onload=null,f.current.onerror=null,f.current=null)};return Ru(()=>{if(!c)return"loading"===u&&p(),()=>{h()}},[u,p,c]),c?"loaded":u}({...e,crossOrigin:d,ignoreFallback:m}),g=((e,t)=>"loaded"!==e&&"beforeLoadOrError"===t||"failed"===e&&"onError"===t)(v,f),y={ref:t,objectFit:l,objectPosition:s,...m?h:WS(h,["onError","onLoad"])};return g?r||(0,Lc.jsx)(Dc.img,{as:VS,className:"chakra-image__placeholder",src:n,...y}):(0,Lc.jsx)(Dc.img,{as:VS,src:o,srcSet:i,crossOrigin:d,loading:c,referrerPolicy:p,className:"chakra-image",...y})});HS.displayName="Image";var US=Object.defineProperty,qS=new class{constructor(){((e,t,n)=>{((e,t,n)=>{t in e?US(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n})(e,"symbol"!=typeof t?t+"":t,n)})(this,"modals"),this.modals=new Map}add(e){return this.modals.set(e,this.modals.size+1),this.modals.size}remove(e){this.modals.delete(e)}isTopModal(e){return!!e&&this.modals.get(e)===this.modals.size}};function ZS(e,t){const[n,r]=(0,a.useState)(0);return(0,a.useEffect)(()=>{const n=e.current;if(n){if(t){const e=qS.add(n);r(e)}return()=>{qS.remove(n),r(0)}}},[t,e]),n}var QS=new WeakMap,KS=new WeakMap,YS={},GS=0,XS=function(e){return e&&(e.host||XS(e.parentNode))},JS=function(e,t,n){void 0===n&&(n="data-aria-hidden");var r=Array.from(Array.isArray(e)?e:[e]),o=t||function(e){return"undefined"==typeof document?null:(Array.isArray(e)?e[0]:e).ownerDocument.body}(e);return o?(r.push.apply(r,Array.from(o.querySelectorAll("[aria-live], script"))),function(e,t,n,r){var o=function(e,t){return t.map(function(t){if(e.contains(t))return t;var n=XS(t);return n&&e.contains(n)?n:(console.error("aria-hidden",t,"in not contained inside",e,". Doing nothing"),null)}).filter(function(e){return Boolean(e)})}(t,Array.isArray(e)?e:[e]);YS[n]||(YS[n]=new WeakMap);var a=YS[n],i=[],s=new Set,l=new Set(o),c=function(e){e&&!s.has(e)&&(s.add(e),c(e.parentNode))};o.forEach(c);var u=function(e){e&&!l.has(e)&&Array.prototype.forEach.call(e.children,function(e){if(s.has(e))u(e);else try{var t=e.getAttribute(r),o=null!==t&&"false"!==t,l=(QS.get(e)||0)+1,c=(a.get(e)||0)+1;QS.set(e,l),a.set(e,c),i.push(e),1===l&&o&&KS.set(e,!0),1===c&&e.setAttribute(n,"true"),o||e.setAttribute(r,"true")}catch(t){console.error("aria-hidden: cannot operate on ",e,t)}})};return u(t),s.clear(),GS++,function(){i.forEach(function(e){var t=QS.get(e)-1,o=a.get(e)-1;QS.set(e,t),a.set(e,o),t||(KS.has(e)||e.removeAttribute(r),KS.delete(e)),o||e.removeAttribute(n)}),--GS||(QS=new WeakMap,QS=new WeakMap,KS=new WeakMap,YS={})}}(r,o,n,"aria-hidden")):function(){return null}};function ek(e){const{isOpen:t,onClose:n,id:r,closeOnOverlayClick:o=!0,closeOnEsc:i=!0,useInert:s=!0,onOverlayClick:l,onEsc:c}=e,u=(0,a.useRef)(null),d=(0,a.useRef)(null),[f,p,m]=function(e,...t){const n=(0,a.useId)(),r=e||n;return(0,a.useMemo)(()=>t.map(e=>`${e}-${r}`),[r,t])}(r,"chakra-modal","chakra-modal--header","chakra-modal--body");!function(e,t){const n=e.current;(0,a.useEffect)(()=>{if(e.current&&t)return JS(e.current)},[t,e,n])}(u,t&&s);const v=ZS(u,t),g=(0,a.useRef)(null),y=(0,a.useCallback)(e=>{g.current=e.target},[]),b=(0,a.useCallback)(e=>{"Escape"===e.key&&(e.stopPropagation(),i&&(null==n||n()),null==c||c())},[i,n,c]),[w,x]=(0,a.useState)(!1),[S,k]=(0,a.useState)(!1),E=(0,a.useCallback)((e={},t=null)=>({role:"dialog",...e,ref:ox(t,u),id:f,tabIndex:-1,"aria-modal":!0,"aria-labelledby":w?p:void 0,"aria-describedby":S?m:void 0,onClick:h(e.onClick,e=>e.stopPropagation())}),[m,S,f,p,w]),C=(0,a.useCallback)(e=>{e.stopPropagation(),g.current===e.target&&qS.isTopModal(u.current)&&(o&&(null==n||n()),null==l||l())},[n,o,l]),_=(0,a.useCallback)((e={},t=null)=>({...e,ref:ox(t,d),onClick:h(e.onClick,C),onKeyDown:h(e.onKeyDown,b),onMouseDown:h(e.onMouseDown,y)}),[b,y,C]);return{isOpen:t,onClose:n,headerId:p,bodyId:m,setBodyMounted:k,setHeaderMounted:x,dialogRef:u,overlayRef:d,getDialogProps:E,getDialogContainerProps:_,index:v}}var[tk,nk]=Gc({name:"ModalStylesContext",errorMessage:"useModalStyles returned is 'undefined'. Seems you forgot to wrap the components in \"<Modal />\" "}),[rk,ok]=Gc({strict:!0,name:"ModalContext",errorMessage:"useModalContext: `context` is undefined. Seems you forgot to wrap modal components in `<Modal />`"}),ak=e=>{const t={scrollBehavior:"outside",autoFocus:!0,trapFocus:!0,returnFocusOnClose:!0,blockScrollOnMount:!0,allowPinchZoom:!1,motionPreset:"scale",lockFocusAcrossFrames:!0,...e},{portalProps:n,children:r,autoFocus:o,trapFocus:a,initialFocusRef:i,finalFocusRef:s,returnFocusOnClose:l,blockScrollOnMount:c,allowPinchZoom:u,preserveScrollBarGap:d,motionPreset:f,lockFocusAcrossFrames:p,onCloseComplete:h}=t,m=Zc("Modal",t),v={...ek(t),autoFocus:o,trapFocus:a,initialFocusRef:i,finalFocusRef:s,returnFocusOnClose:l,blockScrollOnMount:c,allowPinchZoom:u,preserveScrollBarGap:d,motionPreset:f,lockFocusAcrossFrames:p};return(0,Lc.jsx)(rk,{value:v,children:(0,Lc.jsx)(tk,{value:m,children:(0,Lc.jsx)(Eu,{onExitComplete:h,children:v.isOpen&&(0,Lc.jsx)(Lu,{...n,children:r})})})})};ak.displayName="Modal";var[ik,sk]=Gc(),lk={start:{ltr:"left",rtl:"right"},end:{ltr:"right",rtl:"left"}};function ck(e){var t;const{isOpen:n,onClose:r,placement:o="right",children:a,...i}=e,s=Vc(),l=null==(t=s.components)?void 0:t.Drawer,c=function(e,t){var n,r;if(e)return null!=(r=null==(n=lk[e])?void 0:n[t])?r:e}(o,s.direction);return(0,Lc.jsx)(ik,{value:{placement:c},children:(0,Lc.jsx)(ak,{isOpen:n,onClose:r,styleConfig:l,...i,children:a})})}var uk={ease:[.25,.1,.25,1],easeIn:[.4,0,1,1],easeOut:[0,0,.2,1],easeInOut:[.4,0,.2,1]},dk={position:{left:0,top:0,bottom:0,width:"100%"},enter:{x:0,y:0},exit:{x:"-100%",y:0}},fk={position:{right:0,top:0,bottom:0,width:"100%"},enter:{x:0,y:0},exit:{x:"100%",y:0}},pk={position:{top:0,left:0,right:0,maxWidth:"100vw"},enter:{x:0,y:0},exit:{x:0,y:"-100%"}},hk={position:{bottom:0,left:0,right:0,maxWidth:"100vw"},enter:{x:0,y:0},exit:{x:0,y:"100%"}};function mk(e){var t;switch(null!=(t=null==e?void 0:e.direction)?t:"right"){case"right":default:return fk;case"left":return dk;case"bottom":return hk;case"top":return pk}}var vk={enter:{duration:.2,ease:uk.easeOut},exit:{duration:.1,ease:uk.easeIn}},gk=(e,t)=>({...e,delay:"number"==typeof t?t:null==t?void 0:t.enter}),yk=(e,t)=>({...e,delay:"number"==typeof t?t:null==t?void 0:t.exit}),bk={enter:({transition:e,transitionEnd:t,delay:n}={})=>{var r;return{opacity:1,transition:null!=(r=null==e?void 0:e.enter)?r:gk(vk.enter,n),transitionEnd:null==t?void 0:t.enter}},exit:({transition:e,transitionEnd:t,delay:n}={})=>{var r;return{opacity:0,transition:null!=(r=null==e?void 0:e.exit)?r:yk(vk.exit,n),transitionEnd:null==t?void 0:t.exit}}},wk={initial:"exit",animate:"enter",exit:"exit",variants:bk},xk=(0,a.forwardRef)(function(e,t){const{unmountOnExit:n,in:r,className:o,transition:a,transitionEnd:i,delay:s,...l}=e,u=r||n?"enter":"exit",d=!n||r&&n,f={transition:a,transitionEnd:i,delay:s};return(0,Lc.jsx)(Eu,{custom:f,children:d&&(0,Lc.jsx)(ci.div,{ref:t,className:c("chakra-fade",o),custom:f,...wk,animate:u,...l})})});xk.displayName="Fade";var Sk=Dc(ci.div),kk=$c((e,t)=>{const{className:n,transition:r,motionProps:o,...a}=e,i=c("chakra-modal__overlay",n),s={pos:"fixed",left:"0",top:"0",w:"100vw",h:"100vh",...nk().overlay},{motionPreset:l}=ok(),u=o||("none"===l?{}:wk);return(0,Lc.jsx)(Sk,{...u,__css:s,ref:t,className:i,...a})});kk.displayName="ModalOverlay";var Ek="data-focus-lock",Ck="data-focus-lock-disabled";function _k(e,t){return"function"==typeof e?e(t):e&&(e.current=t),e}var Pk="undefined"!=typeof window?a.useLayoutEffect:a.useEffect,Rk=new WeakMap;function Tk(e,t){var n,r,o,i=(n=t||null,r=function(t){return e.forEach(function(e){return _k(e,t)})},(o=(0,a.useState)(function(){return{value:n,callback:r,facade:{get current(){return o.value},set current(e){var t=o.value;t!==e&&(o.value=e,o.callback(e,t))}}}})[0]).callback=r,o.facade);return Pk(function(){var t=Rk.get(i);if(t){var n=new Set(t),r=new Set(e),o=i.current;n.forEach(function(e){r.has(e)||_k(e,null)}),r.forEach(function(e){n.has(e)||_k(e,o)})}Rk.set(i,e)},[e]),i}var Ak={width:"1px",height:"0px",padding:0,overflow:"hidden",position:"fixed",top:"1px",left:"1px"},Mk=function(){return Mk=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},Mk.apply(this,arguments)};function Ok(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n}function zk(e){return e}function Fk(e,t){void 0===t&&(t=zk);var n=[],r=!1,o={read:function(){if(r)throw new Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return n.length?n[n.length-1]:e},useMedium:function(e){var o=t(e,r);return n.push(o),function(){n=n.filter(function(e){return e!==o})}},assignSyncMedium:function(e){for(r=!0;n.length;){var t=n;n=[],t.forEach(e)}n={push:function(t){return e(t)},filter:function(){return n}}},assignMedium:function(e){r=!0;var t=[];if(n.length){var o=n;n=[],o.forEach(e),t=n}var a=function(){var n=t;t=[],n.forEach(e)},i=function(){return Promise.resolve().then(a)};i(),n={push:function(e){t.push(e),i()},filter:function(e){return t=t.filter(e),n}}}};return o}function jk(e,t){return void 0===t&&(t=zk),Fk(e,t)}function Dk(e){void 0===e&&(e={});var t=Fk(null);return t.options=Mk({async:!0,ssr:!1},e),t}Object.create,Object.create,"function"==typeof SuppressedError&&SuppressedError;var Lk=jk({},function(e){return{target:e.target,currentTarget:e.currentTarget}}),Bk=jk(),Nk=jk(),Ik=Dk({async:!0,ssr:"undefined"!=typeof document}),$k=(0,a.createContext)(void 0),Vk=[],Wk=(0,a.forwardRef)(function(e,t){var n,r=(0,a.useState)(),o=r[0],s=r[1],l=(0,a.useRef)(),c=(0,a.useRef)(!1),u=(0,a.useRef)(null),d=(0,a.useState)({})[1],f=e.children,p=e.disabled,h=void 0!==p&&p,m=e.noFocusGuards,v=void 0!==m&&m,g=e.persistentFocus,y=void 0!==g&&g,b=e.crossFrame,w=void 0===b||b,x=e.autoFocus,S=void 0===x||x,k=(e.allowTextSelection,e.group),E=e.className,C=e.whiteList,_=e.hasPositiveIndices,P=e.shards,R=void 0===P?Vk:P,T=e.as,A=void 0===T?"div":T,M=e.lockProps,O=void 0===M?{}:M,z=e.sideCar,F=e.returnFocus,j=void 0!==F&&F,D=e.focusOptions,L=e.onActivation,B=e.onDeactivation,N=(0,a.useState)({})[0],I=(0,a.useCallback)(function(e){var t=e.captureFocusRestore;if(!u.current){var n,r=null==(n=document)?void 0:n.activeElement;u.current=r,r!==document.body&&(u.current=t(r))}l.current&&L&&L(l.current),c.current=!0,d()},[L]),$=(0,a.useCallback)(function(){c.current=!1,B&&B(l.current),d()},[B]),V=(0,a.useCallback)(function(e){var t=u.current;if(t){var n=("function"==typeof t?t():t)||document.body,r="function"==typeof j?j(n):j;if(r){var o="object"==typeof r?r:void 0;u.current=null,e?Promise.resolve().then(function(){return n.focus(o)}):n.focus(o)}}},[j]),W=(0,a.useCallback)(function(e){c.current&&Lk.useMedium(e)},[]),H=Bk.useMedium,U=(0,a.useCallback)(function(e){l.current!==e&&(l.current=e,s(e))},[]),q=el(((n={})[Ck]=h&&"disabled",n[Ek]=k,n),O),Z=!0!==v,Q=Z&&"tail"!==v,K=Tk([t,U]),Y=(0,a.useMemo)(function(){return{observed:l,shards:R,enabled:!h,get active(){return c.current}}},[h,c,R,l]);return i().createElement(a.Fragment,null,Z&&[i().createElement("div",{key:"guard-first","data-focus-guard":!0,tabIndex:h?-1:0,style:Ak}),_?i().createElement("div",{key:"guard-nearest","data-focus-guard":!0,tabIndex:h?-1:1,style:Ak}):null],!h&&i().createElement(z,{id:N,sideCar:Ik,observed:o,disabled:h,persistentFocus:y,crossFrame:w,autoFocus:S,whiteList:C,shards:R,onActivation:I,onDeactivation:$,returnFocus:V,focusOptions:D,noFocusGuards:v}),i().createElement(A,el({ref:K},q,{className:E,onBlur:H,onFocus:W}),i().createElement($k.Provider,{value:Y},f)),Q&&i().createElement("div",{"data-focus-guard":!0,tabIndex:h?-1:0,style:Ak}))});Wk.propTypes={};const Hk=Wk;function Uk(e,t){return Uk=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},Uk(e,t)}function qk(e){return qk="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},qk(e)}var Zk=function(e){for(var t=Array(e.length),n=0;n<e.length;++n)t[n]=e[n];return t},Qk=function(e){return Array.isArray(e)?e:[e]},Kk=function(e){return Array.isArray(e)?e[0]:e},Yk=function(e){return e.parentNode&&e.parentNode.nodeType===Node.DOCUMENT_FRAGMENT_NODE?e.parentNode.host:e.parentNode},Gk=function(e){return e===document||e&&e.nodeType===Node.DOCUMENT_NODE},Xk=function(e,t){var n=e.get(t);if(void 0!==n)return n;var r=function(e,t){return!e||Gk(e)||!function(e){if(e.nodeType!==Node.ELEMENT_NODE)return!1;var t=window.getComputedStyle(e,null);return!(!t||!t.getPropertyValue||"none"!==t.getPropertyValue("display")&&"hidden"!==t.getPropertyValue("visibility"))}(e)&&!function(e){return e.hasAttribute("inert")}(e)&&t(Yk(e))}(t,Xk.bind(void 0,e));return e.set(t,r),r},Jk=function(e,t){var n=e.get(t);if(void 0!==n)return n;var r=function(e,t){return!(e&&!Gk(e))||!!rE(e)&&t(Yk(e))}(t,Jk.bind(void 0,e));return e.set(t,r),r},eE=function(e){return e.dataset},tE=function(e){return"INPUT"===e.tagName},nE=function(e){return tE(e)&&"radio"===e.type},rE=function(e){var t=e.getAttribute("data-no-autofocus");return![!0,"true",""].includes(t)},oE=function(e){var t;return Boolean(e&&(null===(t=eE(e))||void 0===t?void 0:t.focusGuard))},aE=function(e){return!oE(e)},iE=function(e){return Boolean(e)},sE=function(e,t){var n=Math.max(0,e.tabIndex),r=Math.max(0,t.tabIndex),o=n-r,a=e.index-t.index;if(o){if(!n)return 1;if(!r)return-1}return o||a},lE=function(e,t,n){return Zk(e).map(function(e,t){var r=function(e){return e.tabIndex<0&&!e.hasAttribute("tabindex")?0:e.tabIndex}(e);return{node:e,index:t,tabIndex:n&&-1===r?(e.dataset||{}).focusGuard?0:-1:r}}).filter(function(e){return!t||e.tabIndex>=0}).sort(sE)},cE=["button:enabled","select:enabled","textarea:enabled","input:enabled","a[href]","area[href]","summary","iframe","object","embed","audio[controls]","video[controls]","[tabindex]","[contenteditable]","[autofocus]"].join(","),uE="".concat(cE,", [data-focus-guard]"),dE=function(e,t){return Zk((e.shadowRoot||e).children).reduce(function(e,n){return e.concat(n.matches(t?uE:cE)?[n]:[],dE(n))},[])},fE=function(e,t){return e.reduce(function(e,n){var r,o=dE(n,t),a=(r=[]).concat.apply(r,o.map(function(e){return function(e,t){var n;return e instanceof HTMLIFrameElement&&(null===(n=e.contentDocument)||void 0===n?void 0:n.body)?fE([e.contentDocument.body],t):[e]}(e,t)}));return e.concat(a,n.parentNode?Zk(n.parentNode.querySelectorAll(cE)).filter(function(e){return e===n}):[])},[])},pE=function(e,t){return Zk(e).filter(function(e){return Xk(t,e)}).filter(function(e){return function(e){return!((tE(e)||function(e){return"BUTTON"===e.tagName}(e))&&("hidden"===e.type||e.disabled))}(e)})},hE=function(e,t){return void 0===t&&(t=new Map),Zk(e).filter(function(e){return Jk(t,e)})},mE=function(e,t,n){return lE(pE(fE(e,n),t),!0,n)},vE=function(e,t){return lE(pE(fE(e),t),!1)},gE=function(e,t){return e.shadowRoot?gE(e.shadowRoot,t):!(void 0===Object.getPrototypeOf(e).contains||!Object.getPrototypeOf(e).contains.call(e,t))||Zk(e.children).some(function(e){var n;if(e instanceof HTMLIFrameElement){var r=null===(n=e.contentDocument)||void 0===n?void 0:n.body;return!!r&&gE(r,t)}return gE(e,t)})},yE=function(e){if(void 0===e&&(e=document),e&&e.activeElement){var t=e.activeElement;return t.shadowRoot?yE(t.shadowRoot):t instanceof HTMLIFrameElement&&function(){try{return t.contentWindow.document}catch(e){return}}()?yE(t.contentWindow.document):t}},bE=function(e){return e.parentNode?bE(e.parentNode):e},wE=function(e){return Qk(e).filter(Boolean).reduce(function(e,t){var n=t.getAttribute(Ek);return e.push.apply(e,n?function(e){for(var t=new Set,n=e.length,r=0;r<n;r+=1)for(var o=r+1;o<n;o+=1){var a=e[r].compareDocumentPosition(e[o]);(a&Node.DOCUMENT_POSITION_CONTAINED_BY)>0&&t.add(o),(a&Node.DOCUMENT_POSITION_CONTAINS)>0&&t.add(r)}return e.filter(function(e,n){return!t.has(n)})}(Zk(bE(t).querySelectorAll("[".concat(Ek,'="').concat(n,'"]:not([').concat(Ck,'="disabled"])')))):[t]),e},[])},xE=function(e,t){return void 0===t&&(t=yE(Kk(e).ownerDocument)),!(!t||t.dataset&&t.dataset.focusGuard)&&wE(e).some(function(e){return gE(e,t)||function(e,t){return Boolean(Zk(e.querySelectorAll("iframe")).some(function(e){return function(e,t){return e===t}(e,t)}))}(e,t)})},SE=function(e,t){e&&("focus"in e&&e.focus(t),"contentWindow"in e&&e.contentWindow&&e.contentWindow.focus())},kE=function(e,t){return nE(e)&&e.name?function(e,t){return t.filter(nE).filter(function(t){return t.name===e.name}).filter(function(e){return e.checked})[0]||e}(e,t):e},EE=function(e){return e[0]&&e.length>1?kE(e[0],e):e[0]},CE=function(e,t){return e.indexOf(kE(t,e))},_E="NEW_FOCUS",PE=function(e,t,n){var r,o=e.map(function(e){return e.node}),a=hE(o.filter((r=n,function(e){var t,n=null===(t=eE(e))||void 0===t?void 0:t.autofocus;return e.autofocus||void 0!==n&&"false"!==n||r.indexOf(e)>=0})));return a&&a.length?EE(a):EE(hE(t))},RE=function(e,t){return void 0===t&&(t=[]),t.push(e),e.parentNode&&RE(e.parentNode.host||e.parentNode,t),t},TE=function(e,t){for(var n=RE(e),r=RE(t),o=0;o<n.length;o+=1){var a=n[o];if(r.indexOf(a)>=0)return a}return!1},AE=function(e,t,n){var r=Qk(e),o=Qk(t),a=r[0],i=!1;return o.filter(Boolean).forEach(function(e){i=TE(i||e,e)||i,n.filter(Boolean).forEach(function(e){var t=TE(a,e);t&&(i=!i||gE(t,i)?t:TE(t,i))})}),i},ME=function(e,t){return e.reduce(function(e,n){return e.concat(function(e,t){return pE((n=e.querySelectorAll("[".concat("data-autofocus-inside","]")),Zk(n).map(function(e){return fE([e])}).reduce(function(e,t){return e.concat(t)},[])),t);var n}(n,t))},[])},OE=function(e,t){var n=yE(Qk(e).length>0?document:Kk(e).ownerDocument),r=wE(e).filter(aE),o=AE(n||e,e,r),a=new Map,i=vE(r,a),s=i.filter(function(e){var t=e.node;return aE(t)});if(s[0]){var l,c,u,d=vE([o],a).map(function(e){return e.node}),f=(l=d,c=s,u=new Map,c.forEach(function(e){return u.set(e.node,e)}),l.map(function(e){return u.get(e)}).filter(iE)),p=f.map(function(e){return e.node}),h=f.filter(function(e){return e.tabIndex>=0}).map(function(e){return e.node}),m=function(e,t,n,r,o){var a=e.length,i=e[0],s=e[a-1],l=oE(r);if(!(r&&e.indexOf(r)>=0)){var c=void 0!==r?n.indexOf(r):-1,u=o?n.indexOf(o):c,d=o?e.indexOf(o):-1;if(-1===c)return-1!==d?d:_E;if(-1===d)return _E;var f,p,h=c-u,m=n.indexOf(i),v=n.indexOf(s),g=(f=n,p=new Set,f.forEach(function(e){return p.add(kE(e,f))}),f.filter(function(e){return p.has(e)})),y=void 0!==r?g.indexOf(r):-1,b=o?g.indexOf(o):y,w=g.filter(function(e){return e.tabIndex>=0}),x=void 0!==r?w.indexOf(r):-1,S=o?w.indexOf(o):x,k=x>=0&&S>=0?S-x:b-y;if(!h&&d>=0)return d;if(0===t.length)return d;var E=CE(e,t[0]),C=CE(e,t[t.length-1]);return c<=m&&l&&Math.abs(h)>1?C:c>=v&&l&&Math.abs(h)>1?E:h&&Math.abs(k)>1?d:c<=m?C:c>v?E:h?Math.abs(h)>1?d:(a+d+h)%a:void 0}}(p,h,d,n,t);if(m===_E){var v=PE(i,h,ME(r,a))||PE(i,p,ME(r,a));return v?{node:v}:void console.warn("focus-lock: cannot find any node to move focus into")}return void 0===m?m:f[m]}},zE=0,FE=!1,jE=function(e,t,n){void 0===n&&(n={});var r=OE(e,t);if(!FE&&r){if(zE>2)return console.error("FocusLock: focus-fighting detected. Only one focus management system could be active. See https://github.com/theKashey/focus-lock/#focus-fighting"),FE=!0,void setTimeout(function(){FE=!1},1);zE++,SE(r.node,n.focusOptions),zE--}};function DE(e){if(!e)return null;if("undefined"==typeof WeakRef)return function(){return e||null};var t=e?new WeakRef(e):null;return function(){return(null==t?void 0:t.deref())||null}}var LE=function(e){var t=function(e){if(!e)return null;for(var t=[],n=e;n&&n!==document.body;)t.push({current:DE(n),parent:DE(n.parentElement),left:DE(n.previousElementSibling),right:DE(n.nextElementSibling)}),n=n.parentElement;return{element:DE(e),stack:t,ownerDocument:e.ownerDocument}}(e);return function(){return function(e){var t,n,r,o,a;if(e)for(var i=e.stack,s=e.ownerDocument,l=new Map,c=0,u=i;c<u.length;c++){var d=u[c],f=null===(t=d.parent)||void 0===t?void 0:t.call(d);if(f&&s.contains(f)){for(var p=null===(n=d.left)||void 0===n?void 0:n.call(d),h=d.current(),m=f.contains(h)?h:void 0,v=null===(r=d.right)||void 0===r?void 0:r.call(d),g=mE([f],l),y=null!==(a=null!==(o=null!=m?m:null==p?void 0:p.nextElementSibling)&&void 0!==o?o:v)&&void 0!==a?a:p;y;){for(var b=0,w=g;b<w.length;b++){var x=w[b];if(null==y?void 0:y.contains(x.node))return x.node}y=y.nextElementSibling}if(g.length)return g[0].node}}}(t)}},BE=function(e,t,n){void 0===t&&(t={});var r=function(e){return Object.assign({scope:document.body,cycle:!0,onlyTabbable:!0},e)}(t),o=function(e,t,n){if(!e||!t)return console.error("no element or scope given"),{};var r=Qk(t);if(r.every(function(t){return!gE(t,e)}))return console.error("Active element is not contained in the scope"),{};var o=n?mE(r,new Map):vE(r,new Map),a=o.findIndex(function(t){return t.node===e});return-1!==a?{prev:o[a-1],next:o[a+1],first:o[0],last:o[o.length-1]}:void 0}(e,r.scope,r.onlyTabbable);if(o){var a=n(o,r.cycle);a&&SE(a.node,r.focusOptions)}},NE=function(e,t,n){var r,o,a,i,s=(o=e,a=null===(r=t.onlyTabbable)||void 0===r||r,{first:(i=a?mE(Qk(o),new Map):vE(Qk(o),new Map))[0],last:i[i.length-1]})[n];s&&SE(s.node,t.focusOptions)};function IE(e){setTimeout(e,1)}var $E=function(e){return e&&"current"in e?e.current:e},VE=function(){return document&&document.activeElement===document.body},WE=null,HE=null,UE=function(){return null},qE=null,ZE=!1,QE=!1,KE=function(){return!0};function YE(e,t,n,r){var o=null,a=e;do{var i=r[a];if(i.guard)i.node.dataset.focusAutoGuard&&(o=i);else{if(!i.lockItem)break;if(a!==e)return;o=null}}while((a+=n)!==t);o&&(o.node.tabIndex=0)}var GE=function e(t,n,r){return n&&(n.host===t&&(!n.activeElement||r.contains(n.activeElement))||n.parentNode&&e(t,n.parentNode,r))},XE=function(e){return vE(e,new Map)},JE=function(){var e,t,n,r,o,a,i=!1;if(WE){var s=WE,l=s.observed,c=s.persistentFocus,u=s.autoFocus,d=s.shards,f=s.crossFrame,p=s.focusOptions,h=s.noFocusGuards,m=l||qE&&qE.portaledElement;if(VE()&&HE&&HE!==document.body&&(!document.body.contains(HE)||function(e){return!XE([e.parentNode]).some(function(t){return t.node===e})}(HE))){var v=UE();v&&v.focus()}var g=document&&document.activeElement;if(m){var y=[m].concat(d.map($E).filter(Boolean));if(g&&!function(e){return(WE.whiteList||KE)(e)}(g)||(c||function(){if(!(f?Boolean(ZE):"meanwhile"===ZE)||!h||!HE||QE)return!1;var e=XE(y),t=e.findIndex(function(e){return e.node===HE});return 0===t||t===e.length-1}()||!(VE()||function(e){void 0===e&&(e=document);var t=yE(e);return!!t&&Zk(e.querySelectorAll("[".concat("data-no-focus-lock","]"))).some(function(e){return gE(e,t)})}())||!HE&&u)&&(m&&!(xE(y)||g&&function(e,t){return t.some(function(t){return GE(e,t,t)})}(g,y)||(a=g,qE&&qE.portaledElement===a))&&(document&&!HE&&g&&!u?(g.blur&&g.blur(),document.body.focus()):(i=jE(y,HE,{focusOptions:p}),qE={})),(HE=document&&document.activeElement)!==document.body&&(UE=LE(HE)),ZE=!1),document&&g!==document.activeElement&&document.querySelector("[data-focus-auto-guard]")){var b=document&&document.activeElement,w=(t=wE(e=y).filter(aE),n=AE(e,e,t),r=lE(fE([n],!0),!0,!0),o=fE(t,!1),r.map(function(e){var t=e.node;return{node:t,index:e.index,lockItem:o.indexOf(t)>=0,guard:oE(t)}})),x=w.map(function(e){return e.node}).indexOf(b);x>-1&&(w.filter(function(e){var t=e.guard,n=e.node;return t&&n.dataset.focusAutoGuard}).forEach(function(e){return e.node.removeAttribute("tabIndex")}),YE(x,w.length,1,w),YE(x,-1,-1,w))}}}return i},eC=function(e){JE()&&e&&(e.stopPropagation(),e.preventDefault())},tC=function(){return IE(JE)},nC=function(){QE=!0},rC=function(){QE=!1,ZE="just",IE(function(){ZE="meanwhile"})},oC={moveFocusInside:jE,focusInside:xE,focusNextElement:function(e,t){void 0===t&&(t={}),BE(e,t,function(e,t){var n=e.next,r=e.first;return n||t&&r})},focusPrevElement:function(e,t){void 0===t&&(t={}),BE(e,t,function(e,t){var n=e.prev,r=e.last;return n||t&&r})},focusFirstElement:function(e,t){void 0===t&&(t={}),NE(e,t,"first")},focusLastElement:function(e,t){void 0===t&&(t={}),NE(e,t,"last")},captureFocusRestore:LE};Lk.assignSyncMedium(function(e){var t=e.target,n=e.currentTarget;n.contains(t)||(qE={observerNode:n,portaledElement:t})}),Bk.assignMedium(tC),Nk.assignMedium(function(e){return e(oC)});const aC=(iC=function(e){return e.filter(function(e){return!e.disabled})},sC=function(e){var t=e.slice(-1)[0];t&&!WE&&(document.addEventListener("focusin",eC),document.addEventListener("focusout",tC),window.addEventListener("focus",nC),window.addEventListener("blur",rC));var n=WE,r=n&&t&&t.id===n.id;WE=t,n&&!r&&(n.onDeactivation(),e.filter(function(e){return e.id===n.id}).length||n.returnFocus(!t)),t?(HE=null,r&&n.observed===t.observed||t.onActivation(oC),JE(),IE(JE)):(document.removeEventListener("focusin",eC),document.removeEventListener("focusout",tC),window.removeEventListener("focus",nC),window.removeEventListener("blur",rC),HE=null)},function(e){var t,n=[];function r(){t=iC(n.map(function(e){return e.props})),sC(t)}var o=function(o){function a(){return o.apply(this,arguments)||this}!function(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,Uk(e,t)}(a,o),a.peek=function(){return t};var s=a.prototype;return s.componentDidMount=function(){n.push(this),r()},s.componentDidUpdate=function(){r()},s.componentWillUnmount=function(){var e=n.indexOf(this);n.splice(e,1),r()},s.render=function(){return i().createElement(e,this.props)},a}(a.PureComponent);return function(e,t,n){(t=function(e){var t=function(e){if("object"!=qk(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=qk(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==qk(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n}(o,"displayName","SideEffect("+function(e){return e.displayName||e.name||"Component"}(e)+")"),o})(function(){return null});var iC,sC,lC=(0,a.forwardRef)(function(e,t){return i().createElement(Hk,el({sideCar:aC,ref:t},e))}),cC=Hk.propTypes||{};cC.sideCar,function(e,t){if(null==e)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(-1!==t.indexOf(r))continue;n[r]=e[r]}}(cC,["sideCar"]),lC.propTypes={};const uC=lC;function dC(e){return!(!e.parentElement||!dC(e.parentElement))||e.hidden}function fC(e){if(!$w(e)||dC(e)||function(e){return!0===Boolean(e.getAttribute("disabled"))||!0===Boolean(e.getAttribute("aria-disabled"))}(e))return!1;const{localName:t}=e;if(["input","select","textarea","button"].indexOf(t)>=0)return!0;const n={a:()=>e.hasAttribute("href"),audio:()=>e.hasAttribute("controls"),video:()=>e.hasAttribute("controls")};return t in n?n[t]():!!function(e){const t=e.getAttribute("contenteditable");return"false"!==t&&null!=t}(e)||(e=>e.hasAttribute("tabindex"))(e)}var pC,hC=["input:not(:disabled):not([disabled])","select:not(:disabled):not([disabled])","textarea:not(:disabled):not([disabled])","embed","iframe","object","a[href]","area[href]","button:not(:disabled):not([disabled])","[tabindex]","audio[controls]","video[controls]","*[tabindex]:not([aria-disabled])","*[contenteditable]"].join();var mC=null!=(pC=uC.default)?pC:uC,vC=e=>{const{initialFocusRef:t,finalFocusRef:n,contentRef:r,restoreFocus:o,children:i,isDisabled:s,autoFocus:l,persistentFocus:c,lockFocusAcrossFrames:u}=e,d=(0,a.useCallback)(()=>{(null==t?void 0:t.current)?t.current.focus():(null==r?void 0:r.current)&&0===function(e){const t=Array.from(e.querySelectorAll(hC));return t.unshift(e),t.filter(e=>fC(e)&&(e=>e.offsetWidth>0&&e.offsetHeight>0)(e))}(r.current).length&&requestAnimationFrame(()=>{var e;null==(e=r.current)||e.focus()})},[t,r]),f=(0,a.useCallback)(()=>{var e;null==(e=null==n?void 0:n.current)||e.focus()},[n]),p=o&&!n;return(0,Lc.jsx)(mC,{crossFrame:u,persistentFocus:c,autoFocus:l,disabled:s,onActivation:d,onDeactivation:f,returnFocus:p,children:i})};vC.displayName="FocusLock";var gC="right-scroll-bar-position",yC="width-before-scroll-bar",bC=Dk(),wC=function(){},xC=a.forwardRef(function(e,t){var n=a.useRef(null),r=a.useState({onScrollCapture:wC,onWheelCapture:wC,onTouchMoveCapture:wC}),o=r[0],i=r[1],s=e.forwardProps,l=e.children,c=e.className,u=e.removeScrollBar,d=e.enabled,f=e.shards,p=e.sideCar,h=e.noRelative,m=e.noIsolation,v=e.inert,g=e.allowPinchZoom,y=e.as,b=void 0===y?"div":y,w=e.gapMode,x=Ok(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noRelative","noIsolation","inert","allowPinchZoom","as","gapMode"]),S=p,k=Tk([n,t]),E=Mk(Mk({},x),o);return a.createElement(a.Fragment,null,d&&a.createElement(S,{sideCar:bC,removeScrollBar:u,shards:f,noRelative:h,noIsolation:m,inert:v,setCallbacks:i,allowPinchZoom:!!g,lockRef:n,gapMode:w}),s?a.cloneElement(a.Children.only(l),Mk(Mk({},E),{ref:k})):a.createElement(b,Mk({},E,{className:c,ref:k}),l))});xC.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1},xC.classNames={fullWidth:yC,zeroRight:gC};var SC=function(e){var t=e.sideCar,n=Ok(e,["sideCar"]);if(!t)throw new Error("Sidecar: please provide `sideCar` property to import the right car");var r=t.read();if(!r)throw new Error("Sidecar medium not found");return a.createElement(r,Mk({},n))};SC.isSideCarExport=!0;var kC=function(){var e=0,t=null;return{add:function(n){var r;0==e&&(t=function(){if(!document)return null;var e=document.createElement("style");e.type="text/css";var t=o.nc;return t&&e.setAttribute("nonce",t),e}())&&(function(e,t){e.styleSheet?e.styleSheet.cssText=t:e.appendChild(document.createTextNode(t))}(t,n),r=t,(document.head||document.getElementsByTagName("head")[0]).appendChild(r)),e++},remove:function(){! --e&&t&&(t.parentNode&&t.parentNode.removeChild(t),t=null)}}},EC=function(){var e,t=(e=kC(),function(t,n){a.useEffect(function(){return e.add(t),function(){e.remove()}},[t&&n])});return function(e){var n=e.styles,r=e.dynamic;return t(n,r),null}},CC={left:0,top:0,right:0,gap:0},_C=function(e){return parseInt(e||"",10)||0},PC=EC(),RC="data-scroll-locked",TC=function(e,t,n,r){var o=e.left,a=e.top,i=e.right,s=e.gap;return void 0===n&&(n="margin"),"\n .".concat("with-scroll-bars-hidden"," {\n overflow: hidden ").concat(r,";\n padding-right: ").concat(s,"px ").concat(r,";\n }\n body[").concat(RC,"] {\n overflow: hidden ").concat(r,";\n overscroll-behavior: contain;\n ").concat([t&&"position: relative ".concat(r,";"),"margin"===n&&"\n padding-left: ".concat(o,"px;\n padding-top: ").concat(a,"px;\n padding-right: ").concat(i,"px;\n margin-left:0;\n margin-top:0;\n margin-right: ").concat(s,"px ").concat(r,";\n "),"padding"===n&&"padding-right: ".concat(s,"px ").concat(r,";")].filter(Boolean).join(""),"\n }\n \n .").concat(gC," {\n right: ").concat(s,"px ").concat(r,";\n }\n \n .").concat(yC," {\n margin-right: ").concat(s,"px ").concat(r,";\n }\n \n .").concat(gC," .").concat(gC," {\n right: 0 ").concat(r,";\n }\n \n .").concat(yC," .").concat(yC," {\n margin-right: 0 ").concat(r,";\n }\n \n body[").concat(RC,"] {\n ").concat("--removed-body-scroll-bar-size",": ").concat(s,"px;\n }\n")},AC=function(){var e=parseInt(document.body.getAttribute(RC)||"0",10);return isFinite(e)?e:0},MC=function(e){var t=e.noRelative,n=e.noImportant,r=e.gapMode,o=void 0===r?"margin":r;a.useEffect(function(){return document.body.setAttribute(RC,(AC()+1).toString()),function(){var e=AC()-1;e<=0?document.body.removeAttribute(RC):document.body.setAttribute(RC,e.toString())}},[]);var i=a.useMemo(function(){return function(e){if(void 0===e&&(e="margin"),"undefined"==typeof window)return CC;var t=function(e){var t=window.getComputedStyle(document.body),n=t["padding"===e?"paddingLeft":"marginLeft"],r=t["padding"===e?"paddingTop":"marginTop"],o=t["padding"===e?"paddingRight":"marginRight"];return[_C(n),_C(r),_C(o)]}(e),n=document.documentElement.clientWidth,r=window.innerWidth;return{left:t[0],top:t[1],right:t[2],gap:Math.max(0,r-n+t[2]-t[0])}}(o)},[o]);return a.createElement(PC,{styles:TC(i,!t,o,n?"":"!important")})},OC=!1;if("undefined"!=typeof window)try{var zC=Object.defineProperty({},"passive",{get:function(){return OC=!0,!0}});window.addEventListener("test",zC,zC),window.removeEventListener("test",zC,zC)}catch(e){OC=!1}var FC=!!OC&&{passive:!1},jC=function(e,t){if(!(e instanceof Element))return!1;var n=window.getComputedStyle(e);return"hidden"!==n[t]&&!(n.overflowY===n.overflowX&&!function(e){return"TEXTAREA"===e.tagName}(e)&&"visible"===n[t])},DC=function(e,t){var n=t.ownerDocument,r=t;do{if("undefined"!=typeof ShadowRoot&&r instanceof ShadowRoot&&(r=r.host),LC(e,r)){var o=BC(e,r);if(o[1]>o[2])return!0}r=r.parentNode}while(r&&r!==n.body);return!1},LC=function(e,t){return"v"===e?function(e){return jC(e,"overflowY")}(t):function(e){return jC(e,"overflowX")}(t)},BC=function(e,t){return"v"===e?function(e){return[e.scrollTop,e.scrollHeight,e.clientHeight]}(t):function(e){return[e.scrollLeft,e.scrollWidth,e.clientWidth]}(t)},NC=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},IC=function(e){return[e.deltaX,e.deltaY]},$C=function(e){return e&&"current"in e?e.current:e},VC=function(e){return"\n .block-interactivity-".concat(e," {pointer-events: none;}\n .allow-interactivity-").concat(e," {pointer-events: all;}\n")},WC=0,HC=[];function UC(e){for(var t=null;null!==e;)e instanceof ShadowRoot&&(t=e.host,e=e.host),e=e.parentNode;return t}const qC=(ZC=function(e){var t=a.useRef([]),n=a.useRef([0,0]),r=a.useRef(),o=a.useState(WC++)[0],i=a.useState(EC)[0],s=a.useRef(e);a.useEffect(function(){s.current=e},[e]),a.useEffect(function(){if(e.inert){document.body.classList.add("block-interactivity-".concat(o));var t=function(e,t,n){if(n||2===arguments.length)for(var r,o=0,a=t.length;o<a;o++)!r&&o in t||(r||(r=Array.prototype.slice.call(t,0,o)),r[o]=t[o]);return e.concat(r||Array.prototype.slice.call(t))}([e.lockRef.current],(e.shards||[]).map($C),!0).filter(Boolean);return t.forEach(function(e){return e.classList.add("allow-interactivity-".concat(o))}),function(){document.body.classList.remove("block-interactivity-".concat(o)),t.forEach(function(e){return e.classList.remove("allow-interactivity-".concat(o))})}}},[e.inert,e.lockRef.current,e.shards]);var l=a.useCallback(function(e,t){if("touches"in e&&2===e.touches.length||"wheel"===e.type&&e.ctrlKey)return!s.current.allowPinchZoom;var o,a=NC(e),i=n.current,l="deltaX"in e?e.deltaX:i[0]-a[0],c="deltaY"in e?e.deltaY:i[1]-a[1],u=e.target,d=Math.abs(l)>Math.abs(c)?"h":"v";if("touches"in e&&"h"===d&&"range"===u.type)return!1;var f=window.getSelection(),p=f&&f.anchorNode;if(p&&(p===u||p.contains(u)))return!1;var h=DC(d,u);if(!h)return!0;if(h?o=d:(o="v"===d?"h":"v",h=DC(d,u)),!h)return!1;if(!r.current&&"changedTouches"in e&&(l||c)&&(r.current=o),!o)return!0;var m=r.current||o;return function(e,t,n,r){var o=function(e,t){return"h"===e&&"rtl"===t?-1:1}(e,window.getComputedStyle(t).direction),a=o*r,i=n.target,s=t.contains(i),l=!1,c=a>0,u=0,d=0;do{if(!i)break;var f=BC(e,i),p=f[0],h=f[1]-f[2]-o*p;(p||h)&&LC(e,i)&&(u+=h,d+=p);var m=i.parentNode;i=m&&m.nodeType===Node.DOCUMENT_FRAGMENT_NODE?m.host:m}while(!s&&i!==document.body||s&&(t.contains(i)||t===i));return(c&&(Math.abs(u)<1||!1)||!c&&(Math.abs(d)<1||!1))&&(l=!0),l}(m,t,e,"h"===m?l:c)},[]),c=a.useCallback(function(e){var n=e;if(HC.length&&HC[HC.length-1]===i){var r="deltaY"in n?IC(n):NC(n),o=t.current.filter(function(e){return e.name===n.type&&(e.target===n.target||n.target===e.shadowParent)&&(t=e.delta,o=r,t[0]===o[0]&&t[1]===o[1]);var t,o})[0];if(o&&o.should)n.cancelable&&n.preventDefault();else if(!o){var a=(s.current.shards||[]).map($C).filter(Boolean).filter(function(e){return e.contains(n.target)});(a.length>0?l(n,a[0]):!s.current.noIsolation)&&n.cancelable&&n.preventDefault()}}},[]),u=a.useCallback(function(e,n,r,o){var a={name:e,delta:n,target:r,should:o,shadowParent:UC(r)};t.current.push(a),setTimeout(function(){t.current=t.current.filter(function(e){return e!==a})},1)},[]),d=a.useCallback(function(e){n.current=NC(e),r.current=void 0},[]),f=a.useCallback(function(t){u(t.type,IC(t),t.target,l(t,e.lockRef.current))},[]),p=a.useCallback(function(t){u(t.type,NC(t),t.target,l(t,e.lockRef.current))},[]);a.useEffect(function(){return HC.push(i),e.setCallbacks({onScrollCapture:f,onWheelCapture:f,onTouchMoveCapture:p}),document.addEventListener("wheel",c,FC),document.addEventListener("touchmove",c,FC),document.addEventListener("touchstart",d,FC),function(){HC=HC.filter(function(e){return e!==i}),document.removeEventListener("wheel",c,FC),document.removeEventListener("touchmove",c,FC),document.removeEventListener("touchstart",d,FC)}},[]);var h=e.removeScrollBar,m=e.inert;return a.createElement(a.Fragment,null,m?a.createElement(i,{styles:VC(o)}):null,h?a.createElement(MC,{noRelative:e.noRelative,gapMode:e.gapMode}):null)},bC.useMedium(ZC),SC);var ZC,QC=a.forwardRef(function(e,t){return a.createElement(xC,Mk({},e,{ref:t,sideCar:qC}))});QC.classNames=xC.classNames;const KC=QC;function YC(e){const{autoFocus:t,trapFocus:n,dialogRef:r,initialFocusRef:o,blockScrollOnMount:i,allowPinchZoom:s,finalFocusRef:l,returnFocusOnClose:c,preserveScrollBarGap:u,lockFocusAcrossFrames:d,isOpen:f}=ok(),[p,h]=v();(0,a.useEffect)(()=>{!p&&h&&setTimeout(h)},[p,h]);const m=ZS(r,f);return(0,Lc.jsx)(vC,{autoFocus:t,isDisabled:!n,initialFocusRef:o,finalFocusRef:l,restoreFocus:c,contentRef:r,lockFocusAcrossFrames:d,children:(0,Lc.jsx)(KC,{removeScrollBar:!u,allowPinchZoom:s,enabled:1===m&&i,forwardProps:!0,children:e.children})})}var GC={exit:{duration:.15,ease:uk.easeInOut},enter:{type:"spring",damping:25,stiffness:180}},XC={exit:({direction:e,transition:t,transitionEnd:n,delay:r})=>{var o;const{exit:a}=mk({direction:e});return{...a,transition:null!=(o=null==t?void 0:t.exit)?o:yk(GC.exit,r),transitionEnd:null==n?void 0:n.exit}},enter:({direction:e,transitionEnd:t,transition:n,delay:r})=>{var o;const{enter:a}=mk({direction:e});return{...a,transition:null!=(o=null==n?void 0:n.enter)?o:gk(GC.enter,r),transitionEnd:null==t?void 0:t.enter}}},JC=(0,a.forwardRef)(function(e,t){const{direction:n="right",style:r,unmountOnExit:o,in:a,className:i,transition:s,transitionEnd:l,delay:u,motionProps:d,...f}=e,p=mk({direction:n}),h=Object.assign({position:"fixed"},p.position,r),m=!o||a&&o,v=a||o?"enter":"exit",g={transitionEnd:l,transition:s,direction:n,delay:u};return(0,Lc.jsx)(Eu,{custom:g,children:m&&(0,Lc.jsx)(ci.div,{...f,ref:t,initial:"exit",className:c("chakra-slide",i),animate:v,exit:"exit",custom:g,variants:XC,style:h,...d})})});JC.displayName="Slide";var e_=Dc(JC),t_=$c((e,t)=>{const{className:n,children:r,motionProps:o,containerProps:a,...i}=e,{getDialogProps:s,getDialogContainerProps:l,isOpen:u}=ok(),d=s(i,t),f=l(a),p=c("chakra-modal__content",n),h=nk(),m={display:"flex",flexDirection:"column",position:"relative",width:"100%",outline:0,...h.dialog},v={display:"flex",width:"100vw",height:"$100vh",position:"fixed",left:0,top:0,...h.dialogContainer},{placement:g}=sk();return(0,Lc.jsx)(YC,{children:(0,Lc.jsx)(Dc.div,{...f,className:"chakra-modal__content-container",__css:v,children:(0,Lc.jsx)(e_,{motionProps:o,direction:g,in:u,className:p,...d,__css:m,children:r})})})});t_.displayName="DrawerContent";var n_=$c((e,t)=>{const{onClick:n,className:r,...o}=e,{onClose:a}=ok(),i=c("chakra-modal__close-btn",r),s=nk();return(0,Lc.jsx)(pu,{ref:t,__css:s.closeButton,className:i,onClick:h(n,e=>{e.stopPropagation(),a()}),...o})});n_.displayName="ModalCloseButton";var r_=$c((e,t)=>{const{className:n,...r}=e,{headerId:o,setHeaderMounted:i}=ok();(0,a.useEffect)(()=>(i(!0),()=>i(!1)),[i]);const s=c("chakra-modal__header",n),l={flex:0,...nk().header};return(0,Lc.jsx)(Dc.header,{ref:t,className:s,id:o,...r,__css:l})});r_.displayName="ModalHeader";var o_=$c((e,t)=>{const{className:n,...r}=e,{bodyId:o,setBodyMounted:i}=ok();(0,a.useEffect)(()=>(i(!0),()=>i(!1)),[i]);const s=c("chakra-modal__body",n),l=nk();return(0,Lc.jsx)(Dc.div,{ref:t,className:s,id:o,...r,__css:l.body})});o_.displayName="ModalBody";const{isPro:a_,adminURL:i_,showAnalyticsTab:s_}="undefined"!=typeof _EVF_DASHBOARD_&&_EVF_DASHBOARD_,l_=(e=>{if(!e)return"";let t=e.endsWith("/")?e.slice(0,-1):e;return t.endsWith("/admin.php")&&(t=t.slice(0,-10)),t})(i_);let c_=[{route:"/",label:pb("Site Assistant","everest-forms"),external:!1,key:"siteAssistant"},{route:`${l_}/admin.php?page=evf-builder`,label:pb("All Forms","everest-forms"),external:!0,key:"forms"},{route:`${l_}/admin.php?page=evf-entries`,label:pb("Entries","everest-forms"),external:!0,key:"entries"},{route:`${l_}/admin.php?page=evf-settings`,label:pb("Settings","everest-forms"),external:!0,key:"settings"},{route:"/features",label:pb("Addons","everest-forms"),external:!1,key:"features"},{route:"/help",label:pb("Help","everest-forms"),external:!1,key:"help"}];a_&&s_&&(c_=[c_[0],{route:`${l_}/admin.php?page=everest-forms-analytics`,label:pb("Analytics","everest-forms"),external:!0},...c_.slice(1)]),a_||(c_=[...c_.slice(0,4),{route:"https://everestforms.net/free-vs-pro/",label:pb("Free vs Pro","everest-forms"),external:!0},...c_.slice(4)]);const u_=c_,d_={fix:{color:"primary.500",bgColor:"primary.100",scheme:"primary"},feature:{color:"green.500",bgColor:"green.50",scheme:"green"},enhance:{color:"teal.500",bgColor:"teal.50",scheme:"teal"},refactor:{color:"pink.500",bgColor:"pink.50",scheme:"pink"},dev:{color:"orange.500",bgColor:"orange.50",scheme:"orange"},tweak:{color:"purple.500",bgColor:"purple.50",scheme:"purple"}},f_=o.p+"11c0449e654add53839dd2868ddf30dd.gif";var p_=$c(function(e,t){const n=qc("Heading",e),{className:r,...o}=Ws(e);return(0,Lc.jsx)(Dc.h2,{ref:t,className:c("chakra-heading",e.className),...o,__css:n})});p_.displayName="Heading";var h_=$c(function(e,t){const n=qc("Text",e),{className:r,align:o,decoration:a,casing:i,...s}=Ws(e),l=function(e){const t=Object.assign({},e);for(let e in t)void 0===t[e]&&delete t[e];return t}({textAlign:e.align,textDecoration:e.decoration,textTransform:e.casing});return(0,Lc.jsx)(Dc.p,{ref:t,className:c("chakra-text",e.className),...l,...s,__css:n})});function m_(e,t){var n;const r=function(e){var t,n;const r=u(e)?e:{fallback:null!=e?e:"base"},o=Vc().__breakpoints.details.map(({minMaxQuery:e,breakpoint:t})=>({breakpoint:t,query:e.replace("@media screen and ","")})),i=o.map(e=>e.breakpoint===r.fallback),s=function(e,t={}){const{ssr:n=!0,fallback:r}=t,{getWindow:o}=function({defer:e}={}){const[,t]=(0,a.useReducer)(e=>e+1,0);return Ru(()=>{e&&t()},[e]),(0,a.useContext)(bd)}(),i=Array.isArray(e)?e:[e];let s=Array.isArray(r)?r:[r];s=s.filter(e=>null!=e);const[l,c]=(0,a.useState)(()=>i.map((e,t)=>({media:e,matches:n?!!s[t]:o().matchMedia(e).matches})));return(0,a.useEffect)(()=>{const e=o();c(i.map(t=>({media:t,matches:e.matchMedia(t).matches})));const t=i.map(t=>e.matchMedia(t)),n=e=>{c(t=>t.slice().map(t=>t.media===e.media?{...t,matches:e.matches}:t))};return t.forEach(e=>{"function"==typeof e.addListener?e.addListener(n):e.addEventListener("change",n)}),()=>{t.forEach(e=>{"function"==typeof e.removeListener?e.removeListener(n):e.removeEventListener("change",n)})}},[o]),l.map(e=>e.matches)}(o.map(e=>e.query),{fallback:i,ssr:r.ssr});return null!=(n=null==(t=o[s.findIndex(e=>1==e)])?void 0:t.breakpoint)?n:r.fallback}(u(t)?t:{fallback:null!=t?t:"base"}),o=Vc();if(!r)return;const i=Array.from((null==(n=o.__breakpoints)?void 0:n.keys)||[]),s=Array.isArray(e)?Object.fromEntries(Object.entries(function(e,t=qu){const n={};return e.forEach((e,r)=>{const o=t[r];null!=e&&(n[o]=e)}),n}(e,i)).map(([e,t])=>[e,t])):e;return function(e,t,n=qu){let r=Object.keys(e).indexOf(t);if(-1!==r)return e[t];let o=n.indexOf(t);for(;o>=0;){const t=n[o];if(e.hasOwnProperty(t)){r=o;break}o-=1}return-1!==r?e[n[r]]:void 0}(s,r,i)}h_.displayName="Text";var v_=3,g_=e=>{const{noOfLines:t=v_,spacing:n="0.5rem",skeletonHeight:r="0.5rem",className:o,startColor:a,endColor:i,isLoaded:s,fadeDuration:l,speed:u,variant:d,size:f,colorScheme:p,children:h,...m}=e,v=m_("number"==typeof t?[t]:t)||v_,g=Array(v).fill(1).map((e,t)=>t+1),y=e=>v>1&&e===g.length?"80%":"100%",b=c("chakra-skeleton__group",o);return(0,Lc.jsx)(Dc.div,{className:b,...m,children:g.map((e,t)=>{if(s&&t>0)return null;const o=s?null:{mb:e===g.length?"0":n,width:y(e),height:r};return(0,Lc.jsx)(Ju,{startColor:a,endColor:i,isLoaded:s,fadeDuration:l,speed:u,variant:d,size:f,colorScheme:p,...o,children:0===t?h:void 0},g.length.toString()+e)})})};g_.displayName="SkeletonText";const y_=()=>i().createElement(i().Fragment,null,Array.from({length:5}).map((e,t)=>i().createElement($u,{key:t,mt:t>0?"20px":void 0},i().createElement(Zu,{direction:"row",align:"center",justify:"space-between"},i().createElement(Ju,{height:"17px",width:"80px"}),i().createElement(Ju,{height:"10px",width:"57px"})),i().createElement(Ju,{height:"26px",width:"60px",mt:"20px"}),i().createElement(g_,{mt:"20px",noOfLines:5,spacing:"1"})))),b_=()=>{const{evfRestApiNonce:e,restURL:t}="undefined"!=typeof _EVF_DASHBOARD_&&_EVF_DASHBOARD_,[n,r]=(0,a.useState)(!1),[o,s]=(0,a.useState)({});return(0,a.useEffect)(()=>{n||Bb({path:t+"everest-forms/v1/changelog",method:"GET",headers:{"X-WP-Nonce":e}}).then(e=>{e.success&&(s(e.changelog),r(!0))})},[]),n?i().createElement(i().Fragment,null,o?.map(e=>i().createElement($u,{key:e.version,mb:"7"},i().createElement(td,{justify:"space-between"},i().createElement(p_,{as:"h4",fontSize:"sm",fontWeight:"semibold"},function(e,...t){try{return _y().sprintf(e,...t)}catch(t){return t instanceof Error&&Py("sprintf error: \n\n"+t.toString()),e}}(pb("Version %s"),e.version)),i().createElement(h_,null,e.date)),i().createElement($u,null,Object.entries(e.changes).map(([t,n],r)=>i().createElement($u,{key:`${e.version}${t}${r}`,position:"relative",_after:{bgColor:d_?.[t.trim().toLowerCase()]?.bgColor??"gray",bottom:0,content:'""',height:"full",left:"12px",position:"absolute",top:0,width:"2px"},mb:"10",mt:"8"},i().createElement(zS,{colorScheme:d_?.[t.trim().toLowerCase()]?.scheme,position:"sticky",zIndex:2,top:"0",fontWeight:"normal"},t),i().createElement($u,{pt:"10px"},n.map((n,o)=>i().createElement(h_,{key:`${e.version}${t}${r}${o}`,pl:"10",position:"relative",mb:"4",_after:{bgColor:d_?.[t.trim().toLowerCase()]?.bgColor,bgPosition:"50%",borderRadius:"50%",content:'""',height:"20px",width:"20px",position:"absolute",top:"50%",transform:"translateY(-50%)",left:"2px"},_before:{color:d_?.[t.trim().toLowerCase()]?.color,content:'"\\2713"',position:"absolute",left:"9px",top:"50%",transform:"translateY(-50%)",fontSize:"10px",fontWeight:"bold",zIndex:1}},n))))))))):i().createElement(y_,null)};function w_(){return w_=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},w_.apply(null,arguments)}const x_=i().forwardRef((e,t)=>i().createElement(Dc.svg,w_({viewBox:"0 0 36 36",xmlns:"https://www.w3.org/2000/svg",ref:t},e),i().createElement("path",{fill:"#475BB2",fillRule:"evenodd",d:"M32.8951 2.53619C30.4998 3.94519 28.2454 5.77691 26.2728 7.74951C24.3002 9.72212 22.4685 11.9765 21.0595 14.2309C22.0458 16.2035 22.8912 18.1761 23.5957 20.2896C24.8638 17.6125 26.4137 15.2172 28.3863 13.1037V20.7123C28.3863 25.362 25.2865 29.4481 20.7777 30.7162H20.4959C20.2141 27.0528 19.3687 23.5303 18.1006 20.1487C16.2689 15.499 13.4508 11.272 9.78744 7.74951C7.81484 5.77691 5.56046 4.08609 3.16515 2.53619L2.60156 2.25437V20.5714C2.60156 28.0391 7.95574 34.5205 15.4234 35.7887H15.5644C17.2552 36.0704 18.946 36.0704 20.4959 35.7887H20.6368C28.1045 34.5205 33.4587 28.0391 33.4587 20.5714V2.25437L32.8951 2.53619ZM7.67394 20.5714V13.1037C12.0418 18.0352 14.719 24.0939 15.2826 30.5753C10.7738 29.3072 7.67394 25.2211 7.67394 20.5714ZM17.9597 0C15.8462 0 14.1554 1.69078 14.1554 3.80428C14.1554 5.91778 15.8462 7.6086 17.9597 7.6086C20.0732 7.6086 21.764 5.91778 21.764 3.80428C21.764 1.69078 20.0732 0 17.9597 0Z",clipRule:"evenodd"}))),S_=i().forwardRef((e,t)=>i().createElement(Dc.svg,w_({viewBox:"0 0 36 36",xmlns:"https://www.w3.org/2000/svg",ref:t},e),i().createElement("path",{fill:"#7545bb",fillRule:"evenodd",d:"M20.287 5.632a1 1 0 0 0-1.909-.597l-6.667 21.333a1 1 0 0 0 1.91.597l6.666-21.333ZM8.707 9.96a1 1 0 0 1 0 1.414L4.08 16.001l4.626 4.626a1 1 0 1 1-1.414 1.414L1.96 16.708a1 1 0 0 1 0-1.414L7.292 9.96a1 1 0 0 1 1.414 0Zm14.586 0a1 1 0 0 1 1.414 0l5.333 5.333a1 1 0 0 1 0 1.415l-5.333 5.333a1 1 0 1 1-1.414-1.414L27.919 16l-4.626-4.627a1 1 0 0 1 0-1.414Z",clipRule:"evenodd"}))),k_=i().forwardRef((e,t)=>i().createElement(Dc.svg,w_({viewBox:"0 0 36 36",xmlns:"https://www.w3.org/2000/svg",ref:t},e),i().createElement("path",{fill:"#7545bb",fillRule:"evenodd",d:"M8 1.667a3.667 3.667 0 0 0-3.666 3.667v5.333a1 1 0 1 0 2 0V5.334a1.667 1.667 0 0 1 1.667-1.667h9.665V8a3.667 3.667 0 0 0 3.667 3.667h4.334v15a1.667 1.667 0 0 1-1.666 1.667H5.334a1 1 0 1 0 0 2h18.667a3.667 3.667 0 0 0 3.666-3.667V9.334a1 1 0 0 0-.293-.707L20.708 1.96A1 1 0 0 0 20 1.667H8Zm11.666 2.08V8a1.667 1.667 0 0 0 1.667 1.667h4.253l-5.92-5.92ZM3.683 15.683A2.333 2.333 0 0 1 5.333 15a1 1 0 1 1 0 2 .333.333 0 0 0-.334.333v1.334c0 .48-.148.944-.418 1.333.27.389.418.853.418 1.333v1.334a.333.333 0 0 0 .334.333 1 1 0 1 1 0 2 2.333 2.333 0 0 1-2.334-2.333v-1.334A.333.333 0 0 0 2.666 21a1 1 0 1 1 0-2 .333.333 0 0 0 .333-.333v-1.334c0-.618.246-1.212.684-1.65ZM10.666 15a1 1 0 1 0 0 2 .333.333 0 0 1 .333.333v1.334c0 .48.148.944.419 1.333-.27.389-.419.853-.419 1.333v1.334a.333.333 0 0 1-.333.333 1 1 0 1 0 0 2 2.333 2.333 0 0 0 2.333-2.333v-1.334a.333.333 0 0 1 .334-.333 1 1 0 1 0 0-2 .333.333 0 0 1-.334-.333v-1.334A2.333 2.333 0 0 0 10.666 15Z",clipRule:"evenodd"}))),E_=i().forwardRef((e,t)=>i().createElement(Dc.svg,w_({viewBox:"0 0 18 18",xmlns:"https://www.w3.org/2000/svg",ref:t},e),i().createElement("path",{fill:"white",fillRule:"evenodd",d:"M7.33333 12.6667C10.2789 12.6667 12.6667 10.2789 12.6667 7.33333C12.6667 4.38781 10.2789 2 7.33333 2C4.38781 2 2 4.38781 2 7.33333C2 10.2789 4.38781 12.6667 7.33333 12.6667Z",stroke:"#909090",strokeWidth:"1.33333",strokeLinecap:"round",strokeLinejoin:"round",clipRule:"evenodd"}),i().createElement("path",{fillRule:"evenodd",d:"M13.9995 14.0005L11.1328 11.1338",stroke:"#909090",strokeWidth:"1.33333",strokeLinecap:"round",strokeLinejoin:"round",clipRule:"evenodd"}))),C_=i().forwardRef((e,t)=>i().createElement(Dc.svg,w_({viewBox:"0 0 24 24",xmlns:"https://www.w3.org/2000/svg",ref:t},e),i().createElement("path",{fillRule:"evenodd",d:"M12 9.738a2.262 2.262 0 1 0 0 4.524 2.262 2.262 0 0 0 0-4.524ZM8.833 12a3.167 3.167 0 1 1 6.334 0 3.167 3.167 0 0 1-6.334 0Z",clipRule:"evenodd"}),i().createElement("path",{fillRule:"evenodd",d:"M12 3.405a1.192 1.192 0 0 0-1.193 1.192v.143a1.81 1.81 0 0 1-1.096 1.656.452.452 0 0 1-.154.036 1.81 1.81 0 0 1-1.904-.4l-.003-.003-.05-.05a1.194 1.194 0 1 0-1.688 1.688l.053.053a1.81 1.81 0 0 1 .368 1.983 1.81 1.81 0 0 1-1.651 1.171h-.085a1.192 1.192 0 1 0 0 2.385h.142a1.81 1.81 0 0 1 1.655 1.095 1.81 1.81 0 0 1-.363 1.994l-.003.003-.05.05a1.194 1.194 0 1 0 1.688 1.688l.053-.053a1.81 1.81 0 0 1 1.983-.368 1.81 1.81 0 0 1 1.171 1.651v.084a1.192 1.192 0 1 0 2.385 0v-.143a1.81 1.81 0 0 1 1.095-1.655 1.809 1.809 0 0 1 1.994.363l.003.003.05.05a1.194 1.194 0 1 0 1.688-1.688l-.053-.053a1.81 1.81 0 0 1-.363-1.994 1.81 1.81 0 0 1 1.655-1.094h.076a1.192 1.192 0 1 0 0-2.386h-.143a1.81 1.81 0 0 1-1.656-1.096.453.453 0 0 1-.036-.154 1.81 1.81 0 0 1 .4-1.904l.003-.003.05-.05a1.193 1.193 0 1 0-1.688-1.688l-.053.053a1.81 1.81 0 0 1-1.994.363 1.81 1.81 0 0 1-1.094-1.655v-.076A1.192 1.192 0 0 0 12 3.405Zm-1.483-.29a2.097 2.097 0 0 1 3.58 1.482v.073a.905.905 0 0 0 .549.828l.004.002a.905.905 0 0 0 .997-.18l.047-.047A2.098 2.098 0 1 1 18.66 8.24l-.047.048a.905.905 0 0 0-.18.996c.02.045.033.093.037.142a.904.904 0 0 0 .793.477h.139a2.098 2.098 0 0 1 0 4.194h-.073a.905.905 0 0 0-.828.549l-.002.004a.905.905 0 0 0 .18.997l.047.047a2.097 2.097 0 0 1-1.483 3.582 2.097 2.097 0 0 1-1.484-.615l-.048-.047a.906.906 0 0 0-.996-.18l-.004.003a.905.905 0 0 0-.549.827v.139a2.098 2.098 0 0 1-4.195 0v-.069a.905.905 0 0 0-.618-.834.906.906 0 0 0-.997.18l-.001.001-.046.046a2.097 2.097 0 0 1-3.423-.68 2.098 2.098 0 0 1 .456-2.287l.047-.048a.905.905 0 0 0 .18-.996l-.003-.004a.905.905 0 0 0-.827-.549h-.139a2.098 2.098 0 0 1 0-4.195h.069A.905.905 0 0 0 5.5 9.35a.905.905 0 0 0-.18-.997l-.047-.047A2.098 2.098 0 1 1 8.24 5.34l.048.047a.905.905 0 0 0 .996.18.453.453 0 0 1 .142-.037.905.905 0 0 0 .477-.793v-.139c0-.556.22-1.09.614-1.483Z",clipRule:"evenodd"}))),__=i().forwardRef((e,t)=>i().createElement(Dc.svg,w_({viewBox:"0 0 24 24",xmlns:"https://www.w3.org/2000/svg"},e,{ref:t}),i().createElement("path",{fillRule:"evenodd",d:"M16.425 9.576a.6.6 0 0 1 0 .848l-4 4a.6.6 0 0 1-.849-.848l4-4a.6.6 0 0 1 .849 0Z",clipRule:"evenodd"}),i().createElement("path",{fillRule:"evenodd",d:"M12 4.6a9.4 9.4 0 0 0-8.14 14.1.6.6 0 0 1-1.04.6 10.6 10.6 0 1 1 18.36 0 .6.6 0 0 1-1.04-.6A9.4 9.4 0 0 0 12 4.6Z",clipRule:"evenodd"}))),P_=i().forwardRef((e,t)=>i().createElement(Dc.svg,w_({viewBox:"0 0 24 24",xmlns:"https://www.w3.org/2000/svg"},e,{ref:t}),i().createElement("path",{fillRule:"evenodd",d:"M11.998 2.4H12a9.6 9.6 0 0 1 9.6 9.6.6.6 0 1 1-1.2 0 8.4 8.4 0 0 0-8.398-8.4A9.15 9.15 0 0 0 5.68 6.168L3.425 8.425a.6.6 0 0 1-.849-.849L4.843 5.31a10.35 10.35 0 0 1 7.155-2.91Z",clipRule:"evenodd"}),i().createElement("path",{fillRule:"evenodd",d:"M3 2.4a.6.6 0 0 1 .6.6v4.4H8a.6.6 0 0 1 0 1.2H3a.6.6 0 0 1-.6-.6V3a.6.6 0 0 1 .6-.6Zm0 9a.6.6 0 0 1 .6.6 8.4 8.4 0 0 0 8.4 8.4 9.15 9.15 0 0 0 6.32-2.567l2.256-2.257a.6.6 0 0 1 .849.849l-2.268 2.267a10.35 10.35 0 0 1-7.154 2.908H12A9.6 9.6 0 0 1 2.4 12a.6.6 0 0 1 .6-.6Z",clipRule:"evenodd"}),i().createElement("path",{fillRule:"evenodd",d:"M15.4 16a.6.6 0 0 1 .6-.6h5a.6.6 0 0 1 .6.6v5a.6.6 0 1 1-1.2 0v-4.4H16a.6.6 0 0 1-.6-.6Z",clipRule:"evenodd"}))),R_=i().forwardRef((e,t)=>i().createElement(Dc.svg,w_({viewBox:"0 0 30 28",fill:"none",xmlns:"https://www.w3.org/2000/svg"},e,{ref:t}),i().createElement("path",{d:"M17.295 19.794a.498.498 0 0 1-.354-.146l-4.706-4.706a.5.5 0 1 1 .707-.707l3.854 3.854V4a.5.5 0 1 1 1 0v14.085l3.85-3.85a.5.5 0 0 1 .708.707l-4.68 4.678a.5.5 0 0 1-.379.174ZM6.325 3.675a.499.499 0 0 1 .734-.028l4.706 4.706a.5.5 0 1 1-.707.707L7.204 5.206v14.09a.5.5 0 1 1-1 0V5.21l-3.85 3.85a.5.5 0 0 1-.708-.707l4.68-4.678Z"}))),T_=i().forwardRef((e,t)=>i().createElement(Dc.svg,w_({viewBox:"0 0 24 24",xmlns:"https://www.w3.org/2000/svg"},e,{ref:t}),i().createElement("path",{d:"M7.5 22c-.3 0-.5-.1-.7-.3-.4-.4-.4-1 0-1.4l8.3-8.3-8.3-8.3c-.4-.4-.4-1 0-1.4s1-.4 1.4 0l9 9c.4.4.4 1 0 1.4l-9 9c-.2.2-.4.3-.7.3z"}))),A_=i().forwardRef((e,t)=>i().createElement(Dc.svg,w_({viewBox:"0 0 18 18",fill:"none",xmlns:"https://www.w3.org/2000/svg"},e,{ref:t}),i().createElement("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",d:"m6.75 13.5 4.5-4.5-4.5-4.5"}))),M_=i().forwardRef((e,t)=>i().createElement(Dc.svg,w_({viewBox:"0 0 24 24",xmlns:"https://www.w3.org/2000/svg",strokeWidth:"0"},e,{ref:t}),i().createElement("path",{d:"M12 10c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm6 0c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zM6 10c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2z"}))),O_=i().forwardRef((e,t)=>i().createElement(Dc.svg,w_({viewBox:"0 0 24 24",xmlns:"https://www.w3.org/2000/svg",fill:"none"},e,{ref:t}),i().createElement("path",{fillRule:"evenodd",d:"M12 24c6.627 0 12-5.373 12-12S18.627 0 12 0 0 5.373 0 12s5.373 12 12 12Zm1.646-7.646a.5.5 0 1 0 .707-.707L10.707 12l3.646-3.646a.5.5 0 1 0-.707-.708l-4 4a.503.503 0 0 0-.146.392c.01.115.059.228.146.316l4 4Z",clipRule:"evenodd"}))),z_=i().forwardRef((e,t)=>i().createElement(Dc.svg,w_({viewBox:"0 0 35 35",xmlns:"https://www.w3.org/2000/svg",fill:"none"},e,{ref:t}),i().createElement("rect",{fillRule:"evenodd",width:"30",height:"30",rx:"15",fill:"#F4F4F4",clipRule:"evenodd"}),i().createElement("path",{fillRule:"evenodd",d:"M20.2493 14.4164H11.1552L15.4135 10.1639C15.4679 10.1096 15.511 10.045 15.5405 9.97393C15.5699 9.90287 15.5851 9.8267 15.5851 9.74978C15.5851 9.67286 15.5699 9.5967 15.5405 9.52564C15.511 9.45457 15.4679 9.39001 15.4135 9.33562C15.3591 9.28123 15.2946 9.23808 15.2235 9.20865C15.1524 9.17921 15.0763 9.16406 14.9993 9.16406C14.844 9.16406 14.695 9.22577 14.5852 9.33562L9.33518 14.5856C9.28116 14.6404 9.23941 14.706 9.21268 14.7781C9.18279 14.8482 9.16694 14.9236 9.16602 14.9998C9.16747 15.0778 9.18329 15.155 9.21268 15.2273C9.24246 15.2944 9.28394 15.3556 9.33518 15.4081L14.5852 20.6581C14.6394 20.7128 14.7039 20.7562 14.775 20.7858C14.8461 20.8154 14.9223 20.8307 14.9993 20.8307C15.0764 20.8307 15.1526 20.8154 15.2237 20.7858C15.2948 20.7562 15.3593 20.7128 15.4135 20.6581C15.4682 20.6039 15.5116 20.5394 15.5412 20.4683C15.5708 20.3972 15.5861 20.321 15.5861 20.2439C15.5861 20.1669 15.5708 20.0907 15.5412 20.0196C15.5116 19.9485 15.4682 19.884 15.4135 19.8298L11.1552 15.5831H20.2493C20.4041 15.5831 20.5524 15.5217 20.6618 15.4123C20.7712 15.3029 20.8327 15.1545 20.8327 14.9998C20.8327 14.8451 20.7712 14.6967 20.6618 14.5873C20.5524 14.4779 20.4041 14.4164 20.2493 14.4164Z",fill:"#6B6B6B",clipRule:"evenodd"}))),F_=i().forwardRef((e,t)=>i().createElement(Dc.svg,w_({viewBox:"0 0 16 16",xmlns:"https://www.w3.org/2000/svg",strokeWidth:"0"},e,{ref:t}),i().createElement("path",{d:"M8 1.332a6.667 6.667 0 1 0 0 13.333A6.667 6.667 0 0 0 8 1.332Zm0 10.333a.667.667 0 1 1 0-1.333.667.667 0 0 1 0 1.333Zm.16-2.433a.793.793 0 0 1-.214.033.675.675 0 1 1-.206-1.333c.433-.147 1.333-.627 1.333-1.167a1.133 1.133 0 0 0-2.2-.38A.667.667 0 0 1 5.62 6a2.467 2.467 0 0 1 4.793.82c0 1.613-2.02 2.333-2.253 2.413Z"}))),j_=i().forwardRef((e,t)=>i().createElement(Dc.svg,w_({viewBox:"0 0 24 24",xmlns:"https://www.w3.org/2000/svg"},e,{ref:t}),i().createElement("path",{d:"M19.27 12.91H4.73a1.83 1.83 0 0 0-1.82 1.82v5.45A1.83 1.83 0 0 0 4.73 22h14.54a1.83 1.83 0 0 0 1.82-1.82v-5.45a1.83 1.83 0 0 0-1.82-1.82Zm0 7.27H4.73v-5.45h14.54Z"}),i().createElement("path",{d:"M7.45 18.36h9.1a.91.91 0 0 0 0-1.81h-9.1a.91.91 0 0 0 0 1.81ZM19.27 2H4.73a1.83 1.83 0 0 0-1.82 1.82v5.45a1.83 1.83 0 0 0 1.82 1.82h14.54a1.83 1.83 0 0 0 1.82-1.82V3.82A1.83 1.83 0 0 0 19.27 2Zm0 7.27H4.73V3.82h14.54Z"}),i().createElement("path",{d:"M7.45 7.45h9.1a.85.85 0 0 0 .9-.9.85.85 0 0 0-.9-.91h-9.1a.85.85 0 0 0-.9.91.85.85 0 0 0 .9.9Z"}))),D_=i().forwardRef((e,t)=>i().createElement(Dc.svg,w_({viewBox:"0 0 24 24",xmlns:"https://www.w3.org/2000/svg"},e,{ref:t}),i().createElement("path",{fillRule:"evenodd",d:"M12 15.6a2.4 2.4 0 1 0 0 4.8 2.4 2.4 0 0 0 0-4.8ZM8.4 18a3.6 3.6 0 1 1 7.2 0 3.6 3.6 0 0 1-7.2 0ZM6 3.6a2.4 2.4 0 1 0 0 4.8 2.4 2.4 0 0 0 0-4.8ZM2.4 6a3.6 3.6 0 1 1 7.2 0 3.6 3.6 0 0 1-7.2 0ZM18 3.6a2.4 2.4 0 1 0 0 4.8 2.4 2.4 0 0 0 0-4.8ZM14.4 6a3.6 3.6 0 1 1 7.2 0 3.6 3.6 0 0 1-7.2 0Z",clipRule:"evenodd"}),i().createElement("path",{fillRule:"evenodd",d:"M6 8.4a.6.6 0 0 1 .6.6v1A1.4 1.4 0 0 0 8 11.4h8a1.4 1.4 0 0 0 1.4-1.4V9a.6.6 0 1 1 1.2 0v1a2.6 2.6 0 0 1-2.6 2.6H8A2.6 2.6 0 0 1 5.4 10V9a.6.6 0 0 1 .6-.6Z",clipRule:"evenodd"}),i().createElement("path",{fillRule:"evenodd",d:"M12 11.4a.6.6 0 0 1 .6.6v3a.6.6 0 1 1-1.2 0v-3a.6.6 0 0 1 .6-.6Z",clipRule:"evenodd"}))),L_=i().forwardRef((e,t)=>i().createElement(Dc.svg,w_({viewBox:"0 0 24 24",xmlns:"https://www.w3.org/2000/svg",xmlSpace:"preserve"},e,{ref:t}),i().createElement("path",{d:"m20.1 8.8.9-.9c.4-.4.4-1 0-1.4-.4-.4-1-.4-1.4 0l-1 1c-1-.6-2.3-1-3.6-1-3.9 0-7 3.1-7 7.1 0 3.7 3.2 6.9 6.9 6.9 3.9 0 7.1-3.1 7.1-7 0-1.8-.7-3.4-1.9-4.7zM15 18.5c-2.8 0-5-2.2-5-5s2.2-5 5-5 5 2.2 5 5-2.2 5-5 5zm0-8c.6 0 1 .4 1 1v2c0 .5-.4 1-1 1-.5 0-1-.4-1-1v-2c0-.6.4-1 1-1zm-1-7h2c.5 0 1 .4 1 1 0 .5-.4 1-1 1h-2c-.5 0-1-.4-1-1s.4-1 1-1zm-10 5h2c.5 0 1 .4 1 1 0 .5-.4 1-1 1H4c-.5 0-1-.4-1-1s.4-1 1-1zm0 8h2c.5 0 1 .4 1 1 0 .5-.4 1-1 1H4c-.5 0-1-.4-1-1s.4-1 1-1zm-1-4h2c.5 0 1 .4 1 1 0 .5-.4 1-1 1H3c-.5 0-1-.4-1-1s.4-1 1-1z"}))),B_=i().forwardRef((e,t)=>i().createElement(Dc.svg,w_({viewBox:"0 0 24 24",xmlns:"https://www.w3.org/2000/svg",xmlSpace:"preserve"},e,{ref:t}),i().createElement("path",{d:"M19.664 17.739V7.646l1.316 1.316a.575.575 0 0 0 .812-.811l-2.296-2.295a.573.573 0 0 0-.403-.169h-.005a.572.572 0 0 0-.406.169l-2.294 2.295a.573.573 0 1 0 .812.811l1.315-1.316v10.092a.574.574 0 0 0 1.149.001zm-15.64-.866a.58.58 0 0 1-.42-.16.527.527 0 0 1-.165-.396v-4.603l.128.201-.667.493a.502.502 0 0 1-.32.101.526.526 0 0 1-.383-.164.537.537 0 0 1-.165-.393c0-.195.094-.353.283-.475L3.63 10.6a.6.6 0 0 1 .206-.091.929.929 0 0 1 .214-.027.56.56 0 0 1 .42.16.548.548 0 0 1 .155.397v5.279c0 .158-.057.29-.169.396a.604.604 0 0 1-.432.159zm6.018-1.005a.496.496 0 0 1 .511.511.472.472 0 0 1-.146.352.502.502 0 0 1-.365.142H6.937a.493.493 0 0 1-.375-.146c-.091-.097-.137-.222-.137-.374s.055-.286.164-.401l1.991-2.129c.225-.242.403-.492.534-.748s.197-.478.197-.667c0-.304-.088-.549-.265-.735s-.411-.278-.703-.278a.86.86 0 0 0-.356.082 1.467 1.467 0 0 0-.352.228c-.113.098-.218.21-.315.338a.482.482 0 0 1-.219.183.547.547 0 0 1-.571-.113.459.459 0 0 1-.169-.352c0-.104.035-.204.105-.302a2.763 2.763 0 0 1 1.355-.972c.2-.064.396-.096.584-.096.408 0 .763.081 1.064.242s.534.39.699.685c.164.295.247.644.247 1.045 0 .335-.099.708-.297 1.119a4.647 4.647 0 0 1-.799 1.155l-1.233 1.315-.1-.083h2.056zm2.493-.283a.662.662 0 0 1 .393.137c.104.079.227.149.369.21.144.061.311.091.498.091.189 0 .367-.047.535-.142a1.138 1.138 0 0 0 .58-1.027c0-.23-.049-.423-.143-.575s-.219-.268-.375-.347a1.073 1.073 0 0 0-.496-.118c-.135 0-.246.012-.334.035-.088.025-.174.051-.256.078s-.178.041-.287.041a.389.389 0 0 1-.325-.146.546.546 0 0 1-.114-.346.51.51 0 0 1 .05-.229c.033-.067.083-.141.151-.22l1.607-1.708.246.21h-2.246a.496.496 0 0 1-.511-.511c0-.14.049-.257.146-.352a.502.502 0 0 1 .365-.142h2.795c.188 0 .33.052.424.155a.555.555 0 0 1 .143.393c0 .079-.021.157-.064.233s-.094.145-.154.206l-1.617 1.735-.246-.311c.066-.03.16-.058.277-.082a1.596 1.596 0 0 1 1.235.242c.264.186.469.426.611.721s.215.613.215.954c0 .451-.102.841-.303 1.169a1.966 1.966 0 0 1-.848.758c-.365.177-.793.266-1.279.266-.226 0-.447-.028-.667-.083a2.213 2.213 0 0 1-.566-.219.626.626 0 0 1-.27-.242.555.555 0 0 1-.068-.251c0-.14.05-.272.151-.397a.465.465 0 0 1 .378-.186z"}))),N_=i().forwardRef((e,t)=>i().createElement(Dc.svg,w_({viewBox:"0 0 24 24",xmlns:"https://www.w3.org/2000/svg",xmlSpace:"preserve"},e,{ref:t}),i().createElement("rect",{width:"32",height:"32",rx:"16",fill:"#F8F8FE"}),i().createElement("path",{d:"M21.9337 16.6663H10.0671C9.66706 16.6663 9.40039 16.3997 9.40039 15.9997C9.40039 15.5997 9.66706 15.333 10.0671 15.333H21.9337C22.3337 15.333 22.6004 15.5997 22.6004 15.9997C22.6004 16.3997 22.3337 16.6663 21.9337 16.6663Z",fill:"#383838",fillRule:"evenodd",clipRule:"evenodd"}))),I_=i().forwardRef((e,t)=>i().createElement(Dc.svg,w_({viewBox:"0 0 24 24",xmlns:"https://www.w3.org/2000/svg",xmlSpace:"preserve"},e,{ref:t}),i().createElement("path",{d:"M16.0004 23.6329C15.6004 23.6329 15.3337 23.3662 15.3337 22.9662V17.6329H10.0671C9.66706 17.6329 9.40039 17.3662 9.40039 16.9662C9.40039 16.5662 9.66706 16.2995 10.0671 16.2995H15.3337V11.0329C15.3337 10.6329 15.6004 10.3662 16.0004 10.3662C16.4004 10.3662 16.6671 10.6329 16.6671 11.0329V16.2995H21.9337C22.3337 16.2995 22.6004 16.5662 22.6004 16.9662C22.6004 17.3662 22.3337 17.6329 21.9337 17.6329H16.6671V22.9662C16.6671 23.3662 16.4004 23.6329 16.0004 23.6329Z",fill:"#383838",fillRule:"evenodd",clipRule:"evenodd"}))),$_=i().forwardRef((e,t)=>i().createElement(Dc.svg,w_({viewBox:"0 0 24 24",xmlns:"https://www.w3.org/2000/svg"},e,{ref:t}),i().createElement("path",{d:"M17 19V5a1 1 0 0 0-1-1 1 1 0 0 0-1 1v6H9V5a1 1 0 0 0-1-1 .94.94 0 0 0-1 1v14a1 1 0 0 0 1 1 1 1 0 0 0 1-1v-6h6v6a1 1 0 0 0 1 1 .94.94 0 0 0 1-1z"}))),V_=i().forwardRef((e,t)=>i().createElement(Dc.svg,w_({viewBox:"0 0 24 24",xmlns:"https://www.w3.org/2000/svg"},e,{ref:t}),i().createElement("path",{d:"M9.15 17h2.3v4.1a.9.9 0 0 0 .9.9.9.9 0 0 0 .9-.9v-17h2.8v17a.9.9 0 0 0 .9.9h.1a.9.9 0 0 0 .9-.9v-17h3.1a.9.9 0 0 0 .9-.9V3a.9.9 0 0 0-.9-.9h-12a7.2 7.2 0 0 0-7 7.5 7.2 7.2 0 0 0 7.1 7.4zm-.1-12.9h2.3V15h-2.2a5.79 5.79 0 0 1-5.1-5.5 5.69 5.69 0 0 1 5-5.45z"}))),W_=i().forwardRef((e,t)=>i().createElement(Dc.svg,w_({viewBox:"0 0 24 24",xmlns:"https://www.w3.org/2000/svg"},e,{ref:t}),i().createElement("path",{d:"M4 2a2 2 0 0 0-2 2v3a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2V4a2 2 0 0 0-2-2zm16 5H4V4h16zM2 12v8a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2v-8a2 2 0 0 0-2-2H4a2 2 0 0 0-2 2zm18 0v8H4v-8zm-9 5H9v-2h2v-2h2v2h2v2h-2v2h-2z"}))),H_=i().forwardRef((e,t)=>i().createElement(Dc.svg,w_({viewBox:"0 0 24 24",xmlns:"https://www.w3.org/2000/svg"},e,{ref:t}),i().createElement("path",{d:"M21 2H3a1 1 0 0 0-1 1 .94.94 0 0 0 1 1h18a.94.94 0 0 0 1-1 .94.94 0 0 0-1-1ZM2 21a.94.94 0 0 0 1 1h18a.94.94 0 0 0 1-1 .94.94 0 0 0-1-1H3a.94.94 0 0 0-1 1Zm7-6V9a.94.94 0 0 0-1-1 1 1 0 0 0-1 1v6a.94.94 0 0 0 1 1 1 1 0 0 0 1-1Zm8 0V9a.94.94 0 0 0-1-1 .94.94 0 0 0-1 1v6a.94.94 0 0 0 1 1 1.08 1.08 0 0 0 1-1Zm-4 2V7a.94.94 0 0 0-1-1 .94.94 0 0 0-1 1v10a.94.94 0 0 0 1 1 .94.94 0 0 0 1-1Z"}))),U_=i().forwardRef((e,t)=>i().createElement(Dc.svg,w_({viewBox:"0 0 24 24",xmlns:"https://www.w3.org/2000/svg"},e,{ref:t}),i().createElement("path",{fillRule:"evenodd",d:"M6 10V4H4v16h16V10H6Zm16-2v14H2V2h6v6h14Z",clipRule:"evenodd"}),i().createElement("path",{fillRule:"evenodd",d:"M13.5 3.5h-3v2h3v-2ZM9 2v5h6V2H9Zm11.5 1.5h-3v2h3v-2ZM16 2v5h6V2h-6Z",clipRule:"evenodd"}))),q_=i().forwardRef((e,t)=>i().createElement(Dc.svg,w_({viewBox:"0 0 24 24",xmlns:"https://www.w3.org/2000/svg"},e,{ref:t}),i().createElement("path",{d:"M20 4v16H4V4h16m0-2H4a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2V4a2 2 0 0 0-2-2zM7 18a1 1 0 0 1 0-2c1.66 0 2.856-2.177 4.124-4.482C12.616 8.805 14.159 6 17 6a1 1 0 0 1 0 2c-1.66 0-2.856 2.177-4.124 4.482C11.384 15.195 9.841 18 7 18z"}))),Z_=i().forwardRef((e,t)=>i().createElement(Dc.svg,w_({viewBox:"0 0 24 24",xmlns:"https://www.w3.org/2000/svg"},e,{ref:t}),i().createElement("path",{d:"M22 4V3c0-.6-.4-1-1-1H3c-.6 0-1 .4-1 1v18c0 .6.4 1 1 1h18c.6 0 1-.4 1-1V4zM4 4h16v16H4V4zm8 5.5a2 2 0 1 0 .001-3.999A2 2 0 0 0 12 9.5zm3 1H9c-.6 0-1 .4-1 1s.4 1 1 1h6c.6 0 1-.4 1-1s-.5-1-1-1zm-4 8h2c.6 0 1-.4 1-1s-.4-1-1-1h-2c-.6 0-1 .4-1 1 0 .5.4 1 1 1zm-5-4c0 .6.4 1 1 1h10c.6 0 1-.4 1-1s-.4-1-1-1H7c-.6 0-1 .5-1 1z"}))),Q_=i().forwardRef((e,t)=>i().createElement(Dc.svg,w_({viewBox:"0 0 24 24",xmlns:"https://www.w3.org/2000/svg"},e,{ref:t}),i().createElement("path",{d:"M19.9 2.2H4.3c-1.2 0-2 .8-2 2v15.6c0 1.2.7 2.1 2 2.1h15.6c1.2 0 2-.8 2-2V4.3c-.1-1.3-.8-2.1-2-2.1zM4.3 19.8V4.2h15.6v15.6H4.3z"}),i().createElement("path",{d:"m10.1 14-1-1-3 4h12l-5-7-3 4z"}))),K_=i().forwardRef((e,t)=>i().createElement(Dc.svg,w_({viewBox:"0 0 24 24",xmlns:"https://www.w3.org/2000/svg"},e,{ref:t}),i().createElement("path",{d:"M16.8 9h-6.5c-.2 0-.3-.1-.3-.2V7.3c0-.2.1-.3.3-.3h6.5c.1 0 .2.1.2.3v1.5c0 .1-.1.2-.2.2zm-.8 3.8v-1.5c0-.1-.1-.3-.3-.3h-5.5c-.1 0-.3.1-.3.3v1.5c0 .1.1.3.3.3h5.5c.2-.1.3-.2.3-.3zm-2 4v-1.5c0-.1-.1-.3-.3-.3h-3.5c-.1 0-.3.1-.3.3v1.5c0 .1.1.3.3.3h3.5c.2-.1.3-.2.3-.3zm-5-8V7.3c0-.2-.1-.3-.2-.3H7.3c-.2 0-.3.1-.3.3v1.5c0 .1.1.2.3.2h1.5c.1 0 .2-.1.2-.2zm0 4v-1.5c0-.2-.1-.3-.2-.3H7.3c-.2 0-.3.1-.3.3v1.5c0 .1.1.2.3.2h1.5c.1 0 .2-.1.2-.2zm0 4v-1.5c0-.2-.1-.3-.2-.3H7.3c-.2 0-.3.1-.3.3v1.5c0 .1.1.2.3.2h1.5c.1 0 .2-.1.2-.2zm9 5.2H6c-1.7 0-3-1.3-3-3V5c0-1.7 1.3-3 3-3h12c1.7 0 3 1.3 3 3v14c0 1.7-1.3 3-3 3zM6 4c-.6 0-1 .4-1 1v14c0 .6.4 1 1 1h12c.6 0 1-.4 1-1V5c0-.6-.4-1-1-1H6z"}))),Y_=i().forwardRef((e,t)=>i().createElement(Dc.svg,w_({viewBox:"0 0 24 24",xmlns:"https://www.w3.org/2000/svg"},e,{ref:t}),i().createElement("path",{d:"M6 15c.9 0 1.7-.3 2.4-.9l6.3 3.6c-.1.3-.1.6-.1.9 0 1.9 1.6 3.5 3.5 3.6 1.9 0 3.5-1.6 3.6-3.5 0-1.9-1.6-3.5-3.5-3.6-.9 0-1.8.3-2.4.9l-6.3-3.6c.1-.2.1-.5.1-.8l6.1-3.5c1.4 1.3 3.6 1.2 4.9-.2 1.3-1.4 1.2-3.6-.2-4.9-1.4-1.3-3.6-1.2-4.9.2-.6.6-.9 1.5-.9 2.4 0 .3 0 .6.1.8L8.9 9.6c-1-1.6-3.2-2.1-4.8-1C2.5 9.7 2 11.8 3 13.4c.7 1 1.8 1.6 3 1.6Zm12 2c.8 0 1.5.7 1.5 1.5S18.8 20 18 20s-1.5-.7-1.5-1.5.6-1.5 1.5-1.5Zm0-13c.8 0 1.5.7 1.5 1.5S18.8 7 18 7s-1.5-.7-1.5-1.5S17.1 4 18 4ZM6 10c.8 0 1.5.7 1.5 1.5S6.8 13 6 13s-1.5-.7-1.5-1.5S5.1 10 6 10Z"}))),G_=i().forwardRef((e,t)=>i().createElement(Dc.svg,w_({viewBox:"0 0 24 24",xmlns:"https://www.w3.org/2000/svg"},e,{ref:t}),i().createElement("path",{fillRule:"evenodd",d:"M6.81 14.425a4.077 4.077 0 0 1 2.882-1.194h4.616a4.077 4.077 0 0 1 4.076 4.077v1.538a1 1 0 0 1-2 0v-1.538a2.077 2.077 0 0 0-2.076-2.077H9.692a2.077 2.077 0 0 0-2.077 2.077v1.538a1 1 0 0 1-2 0v-1.538c0-1.082.43-2.119 1.194-2.883ZM12 6a2.077 2.077 0 1 0 0 4.154A2.077 2.077 0 0 0 12 6ZM7.923 8.077a4.077 4.077 0 1 1 8.154 0 4.077 4.077 0 0 1-8.154 0Zm10.801 5.903a1 1 0 0 1 1.218-.718A4.077 4.077 0 0 1 23 17.207v1.54a1 1 0 0 1-2 0v-1.539a2.077 2.077 0 0 0-1.558-2.009 1 1 0 0 1-.718-1.218Zm-2.308-9.228a1 1 0 0 1 1.217-.72 4.077 4.077 0 0 1 0 7.898 1 1 0 1 1-.496-1.937 2.077 2.077 0 0 0 0-4.024 1 1 0 0 1-.721-1.217ZM5.276 13.98a1 1 0 0 0-1.218-.718A4.078 4.078 0 0 0 1 17.207v1.54a1 1 0 0 0 2 0v-1.539A2.077 2.077 0 0 1 4.558 15.2a1 1 0 0 0 .718-1.218Zm2.308-9.228a1 1 0 0 0-1.217-.72 4.077 4.077 0 0 0 0 7.898 1 1 0 1 0 .496-1.937 2.077 2.077 0 0 1 0-4.024 1 1 0 0 0 .721-1.217Z",clipRule:"evenodd"}))),X_=i().forwardRef((e,t)=>i().createElement(Dc.svg,w_({viewBox:"0 0 24 24",xmlns:"https://www.w3.org/2000/svg"},e,{ref:t}),i().createElement("path",{d:"M11.402 2h1.196c.084.03.17.052.259.067a9.92 9.92 0 0 1 8.745 7.282c.181.67.266 1.368.398 2.053v1.196c-.03.084-.052.17-.067.259a9.923 9.923 0 0 1-7.282 8.745c-.672.18-1.368.266-2.053.398h-1.196a1.511 1.511 0 0 0-.259-.067 9.934 9.934 0 0 1-8.824-7.589c-.14-.574-.215-1.164-.319-1.746v-1.196c.03-.084.052-.17.067-.259A9.931 9.931 0 0 1 9.656 2.32c.575-.14 1.164-.215 1.746-.319Zm-8.545 9.986c-.01 4.965 4.045 9.071 8.88 9.17 5.1.104 9.271-3.97 9.41-8.883.145-5.13-3.99-9.295-8.905-9.422-5.103-.134-9.418 4.028-9.385 9.136Z"}),i().createElement("path",{d:"M7.258 10.008c1.115.015 1.963.892 1.952 2.024-.011 1.124-.883 1.97-2.013 1.96a1.971 1.971 0 0 1-1.978-2.042c.021-1.11.91-1.957 2.039-1.942Zm1.154 2.005c.006-.697-.498-1.206-1.196-1.207-.68 0-1.182.486-1.195 1.163-.015.697.478 1.216 1.172 1.226.694.01 1.213-.488 1.219-1.182Zm5.58-.011a1.992 1.992 0 1 1-1.98-1.992 1.955 1.955 0 0 1 1.98 1.992Zm-.797 0c0-.696-.508-1.2-1.204-1.195a1.155 1.155 0 0 0-1.185 1.174c-.01.697.491 1.21 1.184 1.215.694.005 1.204-.5 1.204-1.195l.001.001Zm3.585-1.994a1.957 1.957 0 0 1 1.993 1.983c0 1.144-.868 2.01-2.014 2.002a1.992 1.992 0 0 1 .021-3.984Zm-.006 3.187c.697 0 1.203-.5 1.201-1.195a1.155 1.155 0 0 0-1.168-1.191c-.697-.012-1.213.486-1.22 1.178-.008.693.493 1.205 1.187 1.208Z"}))),J_=i().forwardRef((e,t)=>i().createElement(Dc.svg,w_({viewBox:"0 0 12 12",xmlns:"https://www.w3.org/2000/svg"},e,{ref:t}),i().createElement("path",{fillRule:"evenodd",d:"M2.5 4a.5.5 0 0 0-.5.5V10a.5.5 0 0 0 .5.5H8a.5.5 0 0 0 .5-.5V7a.5.5 0 0 1 1 0v3A1.5 1.5 0 0 1 8 11.5H2.5A1.5 1.5 0 0 1 1 10V4.5A1.5 1.5 0 0 1 2.5 3h3a.5.5 0 0 1 0 1h-3ZM7 2a.5.5 0 0 1 .5-.5h3a.5.5 0 0 1 .5.5v3a.5.5 0 0 1-1 0V2.5H7.5A.5.5 0 0 1 7 2Z",clipRule:"evenodd"}),i().createElement("path",{fillRule:"evenodd",d:"M10.854 1.646a.5.5 0 0 1 0 .708l-5.5 5.5a.5.5 0 1 1-.708-.708l5.5-5.5a.5.5 0 0 1 .708 0Z",clipRule:"evenodd"}))),eP=i().forwardRef((e,t)=>i().createElement(Dc.svg,w_({viewBox:"0 0 12 12",xmlns:"https://www.w3.org/2000/svg"},e,{ref:t}),i().createElement("path",{fillRule:"evenodd",d:"M1.94 1.44A1.5 1.5 0 0 1 3 1h4.25a.5.5 0 0 1 .354.146l2.75 2.75a.5.5 0 0 1 .146.354v6.25A1.5 1.5 0 0 1 9 12H3a1.5 1.5 0 0 1-1.5-1.5v-8c0-.398.158-.78.44-1.06ZM3 2a.5.5 0 0 0-.5.5v8a.5.5 0 0 0 .5.5h6a.5.5 0 0 0 .5-.5V4.457L7.043 2H3Z",clipRule:"evenodd"}),i().createElement("path",{fillRule:"evenodd",d:"M7 1a.5.5 0 0 1 .5.5V4H10a.5.5 0 0 1 0 1H7a.5.5 0 0 1-.5-.5v-3A.5.5 0 0 1 7 1Z",clipRule:"evenodd"}))),tP=i().forwardRef((e,t)=>i().createElement(Dc.svg,w_({viewBox:"0 0 20 20",xmlns:"https://www.w3.org/2000/svg"},e,{ref:t}),i().createElement("path",{fillRule:"evenodd",d:"M3.292 1.624A2.417 2.417 0 0 1 5 .916h7.083a.75.75 0 0 1 .53.22l4.584 4.583c.14.14.22.331.22.53v10.417A2.417 2.417 0 0 1 15 19.083H5a2.417 2.417 0 0 1-2.417-2.417V3.333c0-.641.255-1.256.708-1.71ZM5 2.416a.917.917 0 0 0-.917.917v13.333a.917.917 0 0 0 .917.917h10a.917.917 0 0 0 .916-.917V6.56l-4.144-4.144H5.001Z",clipRule:"evenodd"}),i().createElement("path",{fillRule:"evenodd",d:"M11.666.916a.75.75 0 0 1 .75.75v4.25h4.25a.75.75 0 0 1 0 1.5h-5a.75.75 0 0 1-.75-.75v-5a.75.75 0 0 1 .75-.75Zm-5.75 9.917a.75.75 0 0 1 .75-.75h6.667a.75.75 0 0 1 0 1.5H6.666a.75.75 0 0 1-.75-.75Zm0 3.333a.75.75 0 0 1 .75-.75h6.667a.75.75 0 0 1 0 1.5H6.666a.75.75 0 0 1-.75-.75Zm0-6.666a.75.75 0 0 1 .75-.75h1.667a.75.75 0 1 1 0 1.5H6.666a.75.75 0 0 1-.75-.75Z",clipRule:"evenodd"}))),nP=i().forwardRef((e,t)=>i().createElement(Dc.svg,w_({viewBox:"0 0 20 20",xmlns:"https://www.w3.org/2000/svg"},e,{ref:t}),i().createElement("path",{fillRule:"evenodd",d:"M4.167 3.25a.917.917 0 0 0-.917.917v11.666c0 .507.41.917.917.917h11.666c.507 0 .917-.41.917-.917V4.167a.917.917 0 0 0-.917-.917H4.167Zm-2.417.917A2.417 2.417 0 0 1 4.167 1.75h11.666a2.417 2.417 0 0 1 2.417 2.417v11.666a2.417 2.417 0 0 1-2.417 2.417H4.167a2.417 2.417 0 0 1-2.417-2.417V4.167Z",clipRule:"evenodd"}),i().createElement("path",{fillRule:"evenodd",d:"M7.146 6.005a.75.75 0 0 1 .77.037l5 3.333a.75.75 0 0 1 0 1.248l-5 3.334a.75.75 0 0 1-1.166-.624V6.666a.75.75 0 0 1 .396-.661ZM8.25 8.067v3.864L11.148 10 8.25 8.067Z",clipRule:"evenodd"}))),rP=i().forwardRef((e,t)=>i().createElement(Dc.svg,w_({viewBox:"0 0 20 20",xmlns:"https://www.w3.org/2000/svg"},e,{ref:t}),i().createElement("path",{fillRule:"evenodd",d:"M10 .917a.75.75 0 0 1 .672.418l2.4 4.864 5.37.784a.75.75 0 0 1 .414 1.28l-3.884 3.783.917 5.344a.75.75 0 0 1-1.089.79L10 15.657l-4.802 2.525a.75.75 0 0 1-1.088-.79l.917-5.345-3.884-3.783a.75.75 0 0 1 .415-1.28L6.926 6.2l2.4-4.864A.75.75 0 0 1 10 .917Zm0 2.444L8.096 7.216a.75.75 0 0 1-.564.41l-4.256.622 3.079 2.998a.75.75 0 0 1 .216.664l-.726 4.236 3.804-2.001a.75.75 0 0 1 .698 0l3.805 2-.726-4.235a.75.75 0 0 1 .216-.664l3.078-2.998-4.255-.622a.75.75 0 0 1-.564-.41L9.999 3.36Z",clipRule:"evenodd"}))),oP=i().forwardRef((e,t)=>i().createElement(Dc.svg,w_({viewBox:"0 0 20 20",xmlns:"https://www.w3.org/2000/svg"},e,{ref:t}),i().createElement("path",{fillRule:"evenodd",d:"M5.934 2.601a5.75 5.75 0 0 1 9.816 4.066c0 1.262-.483 2.551-1.483 3.46-.608.61-.907 1.064-1.032 1.687a.75.75 0 1 1-1.47-.294c.207-1.04.738-1.75 1.455-2.467a.726.726 0 0 1 .028-.027c.656-.59 1.002-1.461 1.002-2.359a4.25 4.25 0 0 0-8.5 0c0 .687.12 1.477 1.03 2.386.626.626 1.246 1.42 1.455 2.467a.75.75 0 1 1-1.47.294c-.125-.62-.504-1.159-1.045-1.7-1.257-1.257-1.47-2.467-1.47-3.447a5.75 5.75 0 0 1 1.684-4.066ZM6.75 15a.75.75 0 0 1 .75-.75h5a.75.75 0 0 1 0 1.5h-5a.75.75 0 0 1-.75-.75Zm.833 3.333a.75.75 0 0 1 .75-.75h3.334a.75.75 0 0 1 0 1.5H8.333a.75.75 0 0 1-.75-.75Z",clipRule:"evenodd"}))),aP=i().forwardRef((e,t)=>i().createElement(Dc.svg,w_({viewBox:"0 0 32 32",xmlns:"https://www.w3.org/2000/svg"},e,{ref:t}),i().createElement("path",{fillRule:"evenodd",d:"M5.333 3.666c-.914 0-1.667.753-1.667 1.667v12.252l3.627-3.626A1 1 0 0 1 8 13.666h8A1.666 1.666 0 0 0 17.666 12V5.333A1.667 1.667 0 0 0 16 3.666H5.333ZM1.666 5.333a3.675 3.675 0 0 1 3.667-3.667H16a3.667 3.667 0 0 1 3.666 3.667V12A3.667 3.667 0 0 1 16 15.666H8.414l-5.04 5.04A1 1 0 0 1 1.666 20V5.333Z",clipRule:"evenodd"}),i().createElement("path",{fillRule:"evenodd",d:"M23 12a1 1 0 0 1 1-1h2.667a3.667 3.667 0 0 1 3.666 3.667v14.666a1 1 0 0 1-1.707.708L23.586 25H16a3.667 3.667 0 0 1-3.667-3.668V20a1 1 0 1 1 2 0v1.333A1.667 1.667 0 0 0 16 23h8a1 1 0 0 1 .707.293l3.626 3.626V14.667A1.667 1.667 0 0 0 26.667 13H24a1 1 0 0 1-1-1Z",clipRule:"evenodd"}))),iP=i().forwardRef((e,t)=>i().createElement(Dc.svg,w_({viewBox:"0 0 40 40",xmlns:"https://www.w3.org/2000/svg"},e,{ref:t}),i().createElement("path",{fill:"#475BB2",d:"M0 3.636A3.636 3.636 0 0 1 3.636 0h32.728A3.636 3.636 0 0 1 40 3.636v32.728A3.636 3.636 0 0 1 36.364 40H3.636A3.636 3.636 0 0 1 0 36.364V3.636Z"}),i().createElement("path",{fill:"#fff",d:"M28.99 10.623c-1.45.852-2.813 1.96-4.006 3.154-1.194 1.193-2.301 2.556-3.154 3.92a27.715 27.715 0 0 1 1.534 3.665c.767-1.62 1.705-3.068 2.898-4.347v4.602a6.29 6.29 0 0 1-4.602 6.052h-.17c-.171-2.216-.682-4.347-1.45-6.393a21.151 21.151 0 0 0-5.028-7.5c-1.193-1.193-2.557-2.215-4.006-3.153l-.34-.17v11.08c0 4.516 3.238 8.437 7.755 9.204h.085c1.023.17 2.046.17 2.983 0h.086c4.517-.767 7.755-4.688 7.755-9.205v-11.08l-.34.171Zm-15.256 10.91v-4.518c2.642 2.983 4.261 6.648 4.602 10.568a6.29 6.29 0 0 1-4.602-6.05Zm6.221-12.444a2.292 2.292 0 0 0-2.3 2.301 2.292 2.292 0 0 0 2.3 2.301 2.292 2.292 0 0 0 2.301-2.3 2.292 2.292 0 0 0-2.3-2.302Z"}))),sP=i().forwardRef((e,t)=>i().createElement(Dc.svg,w_({viewBox:"0 0 40 40",xmlns:"https://www.w3.org/2000/svg",fill:"none"},e,{ref:t}),i().createElement("path",{fill:"#7545bb",fillRule:"evenodd",d:"M0 36h38V0H0v36Zm35.946-2.057H2.054V2.057h33.892v31.886Zm-16.611-28.8 2.548 8.561-5.108.023 2.56-8.584Zm-4.232 14.242h8.475l1.508 7.662.14 2.782H13.222l.105-2.816 1.777-7.628Z",clipRule:"evenodd"}))),lP=i().forwardRef((e,t)=>i().createElement(Dc.svg,w_({viewBox:"0 0 40 40",xmlns:"https://www.w3.org/2000/svg"},e,{ref:t}),i().createElement("rect",{width:"40",height:"40",fill:"#8D42CE",rx:"3.636"}),i().createElement("path",{fill:"#fff",d:"M19.781 26.7h-7.025V13.797l7.025 4.387V26.7Zm7.01 0h-7.01v-8.517l7.01-4.387V26.7Z"}),i().createElement("path",{fill:"#fff",d:"M30.077 30.576h-21V9.5h21v21.076Zm-20.05-.95h19.115V10.45H10.027v19.176Z"}))),cP=i().forwardRef((e,t)=>i().createElement(Dc.svg,w_({viewBox:"0 0 40 40",xmlns:"http://www.w3.org/2000/svg",fill:"none",ref:t},e),i().createElement("path",{fill:"#5317aa",d:"M30.517 6.188h-6.69l2.05 3.453h6.69zm4.209 6.906h-6.69l2.157 3.453h6.69zm-.108 17.266H9.15l10.683-17.482L24.258 20h-4.424l-2.05 3.453h12.625L19.834 6.403 3 33.813h33.776z"}))),uP=i().forwardRef((e,t)=>i().createElement(Dc.svg,w_({viewBox:"0 0 20 20",xmlns:"https://www.w3.org/2000/svg"},e,{ref:t}),i().createElement("path",{fillRule:"evenodd",d:"M10 3.25A6.75 6.75 0 0 0 3.25 10v.917H5a2.417 2.417 0 0 1 2.417 2.416v2.5A2.417 2.417 0 0 1 5 18.25h-.833a2.417 2.417 0 0 1-2.417-2.417V10a8.25 8.25 0 1 1 16.5 0v5.833a2.417 2.417 0 0 1-2.417 2.417H15a2.417 2.417 0 0 1-2.417-2.417v-2.5A2.416 2.416 0 0 1 15 10.917h1.75V10A6.75 6.75 0 0 0 10 3.25Zm6.75 9.167H15a.916.916 0 0 0-.917.916v2.5a.917.917 0 0 0 .917.917h.833a.917.917 0 0 0 .917-.917v-3.416Zm-13.5 0v3.416a.917.917 0 0 0 .917.917H5a.917.917 0 0 0 .917-.917v-2.5A.916.916 0 0 0 5 12.417H3.25Z",clipRule:"evenodd"}))),dP=i().forwardRef((e,t)=>i().createElement(Dc.svg,w_({viewBox:"0 0 40 40",xmlns:"https://www.w3.org/2000/svg"},e,{ref:t}),i().createElement("rect",{width:"40",height:"40",fill:"#E9E3FD",rx:"3.636"}),i().createElement("path",{fill:"#787DFF",d:"m14.163 11.898 3.851 4.281c.607.64.946 1.489.946 2.37v10.009l-4.8-3.353.003-13.307Z",opacity:".3"}),i().createElement("path",{fill:"#787DFF",d:"m11.173 11.3 6.346 4.519a3.373 3.373 0 0 1 1.438 2.559V28.55l-7.785-4.102.001-13.148Z",opacity:".5"}),i().createElement("path",{fill:"#787DFF",d:"m18.96 28.656-7.014-2.245A3.48 3.48 0 0 1 9.5 23.305V12.953l7.62 2.943a2.831 2.831 0 0 1 1.835 2.452v.16l.005 10.148Z"}),i().createElement("path",{fill:"#FD739C",d:"m25.837 11.898-3.851 4.281a3.444 3.444 0 0 0-.946 2.364v10.008l4.8-3.353-.003-13.3Z",opacity:".3"}),i().createElement("path",{fill:"#FD739C",d:"m28.828 11.3-6.346 4.519a3.374 3.374 0 0 0-1.438 2.559V28.55l7.785-4.102-.001-13.148Z",opacity:".5"}),i().createElement("path",{fill:"#FD739C",d:"m21.04 28.656 7.013-2.245c1.373-.44 2.377-1.667 2.447-3.106V12.953l-7.617 2.943a2.832 2.832 0 0 0-1.836 2.452v.16l-.007 10.148Z"}))),fP=i().forwardRef((e,t)=>i().createElement(Dc.svg,w_({viewBox:"0 0 24 24",xmlns:"https://www.w3.org/2000/svg"},e,{ref:t}),i().createElement("path",{xmlns:"http://www.w3.org/2000/svg",fillRule:"evenodd",d:"M2 6a1 1 0 0 1 1-1h14a1 1 0 1 1 0 2H3a1 1 0 0 1-1-1Zm5 6a1 1 0 0 1 1-1h13a1 1 0 1 1 0 2H8a1 1 0 0 1-1-1Zm0 6a1 1 0 0 1 1-1h13a1 1 0 1 1 0 2H8a1 1 0 0 1-1-1Zm-4-7a1 1 0 0 1 1 1v6a1 1 0 1 1-2 0v-6a1 1 0 0 1 1-1Z",clipRule:"evenodd"}))),pP=i().forwardRef((e,t)=>i().createElement(Dc.svg,w_({viewBox:"0 0 24 24",xmlns:"https://www.w3.org/2000/svg"},e,{ref:t}),i().createElement("path",{d:"M11 3a1 1 0 1 1 2 0v18a1 1 0 1 1-2 0V3Z"}),i().createElement("path",{fillRule:"evenodd",d:"M16.037 7.397 15 6.517l.953-.789c.262-.436.74-.728 1.286-.728H20.5a1.5 1.5 0 0 1 0 3h-3.261c-.492 0-.929-.237-1.202-.603Zm0 11L15 17.517l1.025-.898A1.498 1.498 0 0 1 17.239 16H20.5a1.5 1.5 0 0 1 0 3h-3.261c-.492 0-.929-.237-1.202-.603ZM8 12.847l1-.83-.966-.811A1.499 1.499 0 0 0 6.76 10.5H3.5a1.5 1.5 0 0 0 0 3h3.261c.514 0 .968-.259 1.238-.653Z",clipRule:"evenodd"}))),hP=i().forwardRef((e,t)=>i().createElement(Dc.svg,w_({viewBox:"0 0 24 24",xmlns:"https://www.w3.org/2000/svg"},e,{ref:t}),i().createElement("path",{fillRule:"evenodd",d:"M20 9.7H4a.3.3 0 0 0-.3.3v4a.3.3 0 0 0 .3.3h16a.3.3 0 0 0 .3-.3v-4a.3.3 0 0 0-.3-.3ZM4 8a2 2 0 0 0-2 2v4a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2v-4a2 2 0 0 0-2-2H4Z",clipRule:"evenodd"}),i().createElement("path",{d:"M3 9h7v6H3V9Z"}))),mP=i().forwardRef((e,t)=>i().createElement(Dc.svg,w_({viewBox:"0 0 24 24",xmlns:"https://www.w3.org/2000/svg"},e,{ref:t}),i().createElement("path",{fillRule:"evenodd",d:"M3 5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2v7a2 2 0 0 1-2 2h-4v-2h4V5H5v7h7.5v2H5a2 2 0 0 1-2-2V5Z",clipRule:"evenodd"}),i().createElement("path",{fillRule:"evenodd",d:"M12.046 9.848a.699.699 0 0 1 .786.124l7.25 6.897a.703.703 0 0 1 .158.793.696.696 0 0 1-.692.413l-3.638-.292-2.085 3.045a.696.696 0 0 1-.753.28.703.703 0 0 1-.52-.617l-.897-9.95a.699.699 0 0 1 .392-.693Zm1.168 2.417.556 6.164 1.215-1.774a.696.696 0 0 1 .63-.301l2.072.166-4.473-4.255Z",clipRule:"evenodd"}),i().createElement("path",{d:"M7 8.25c0 .45.333.75.833.75h8.334c.5 0 .833-.3.833-.75s-.333-.75-.833-.75H7.833c-.5 0-.833.375-.833.75Z"}))),vP=i().forwardRef((e,t)=>i().createElement(Dc.svg,w_({viewBox:"0 0 24 24",xmlns:"https://www.w3.org/2000/svg"},e,{ref:t}),i().createElement("path",{d:"M16.2 22H7.8c-1 0-1.8-.9-1.8-2V4c0-1.1.8-2 1.8-2h8.3c1 0 1.8.9 1.8 2v16c.1 1.1-.7 2-1.7 2zM8 20h8V4H8v16zm-3-3H4V7h1V5H3.7C2.7 5 2 5.7 2 6.7v10.7c0 .9.7 1.6 1.7 1.6H5v-2zm14 2h1.3c.9 0 1.7-.7 1.7-1.7V6.7c0-1-.7-1.7-1.7-1.7H19v2h1v10h-1v2z"}))),gP=i().forwardRef((e,t)=>i().createElement(Dc.svg,w_({viewBox:"0 0 24 24",xmlns:"https://www.w3.org/2000/svg"},e,{ref:t}),i().createElement("path",{d:"M12 14c2.206 0 4-1.794 4-4s-1.794-4-4-4-4 1.794-4 4 1.794 4 4 4Zm0-6c1.103 0 2 .897 2 2s-.897 2-2 2-2-.897-2-2 .897-2 2-2Z"}),i().createElement("path",{d:"M11.42 21.814a.998.998 0 0 0 1.16 0C12.884 21.599 20.029 16.44 20 10c0-4.411-3.589-8-8-8S4 5.589 4 9.995c-.029 6.445 7.116 11.604 7.42 11.819ZM12 4c3.309 0 6 2.691 6 6.005.021 4.438-4.388 8.423-6 9.73-1.611-1.308-6.021-5.294-6-9.735 0-3.309 2.691-6 6-6Z"}))),yP=i().forwardRef((e,t)=>i().createElement(Dc.svg,w_({viewBox:"0 0 24 24",xmlns:"https://www.w3.org/2000/svg"},e,{ref:t}),i().createElement("path",{d:"M20.2 1.5H4.8c-1.2 0-2.2 1-2.2 2.2v12.9c0 1.2 1 2.2 2.2 2.2h3.9l3.8 3.7 3.8-3.7h3.9c1.2 0 2.2-1 2.2-2.2V3.7c0-1.2-1-2.2-2.2-2.2Zm0 15.1h-4.9l-2.8 2.8-2.8-2.8H4.8V3.7h15.4v12.9Z"}),i().createElement("path",{d:"M8 11.6a1.5 1.5 0 1 0 0-3 1.5 1.5 0 0 0 0 3Zm4.5 0a1.5 1.5 0 1 0 0-3 1.5 1.5 0 0 0 0 3Zm4.5 0a1.5 1.5 0 1 0 0-3 1.5 1.5 0 0 0 0 3Z"}))),bP=i().forwardRef((e,t)=>i().createElement(Dc.svg,w_({viewBox:"0 0 24 24",xmlns:"https://www.w3.org/2000/svg"},e,{ref:t}),i().createElement("path",{fillRule:"evenodd",d:"M12 3a9 9 0 1 0 0 18 9 9 0 0 0 0-18ZM1 12C1 5.925 5.925 1 12 1s11 4.925 11 11-4.925 11-11 11S1 18.075 1 12Z",clipRule:"evenodd"}),i().createElement("path",{fillRule:"evenodd",d:"M12 7a1 1 0 0 1 1 1v4a1 1 0 0 1-2 0V8a1 1 0 0 1 1-1Zm-1 9a1 1 0 0 1 1-1h.01a1 1 0 0 1 0 2H12a1 1 0 0 1-1-1Z",clipRule:"evenodd"}))),wP=i().forwardRef((e,t)=>i().createElement(Dc.svg,w_({viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},e,{ref:t}),i().createElement("path",{d:"M7.1 9H21c.5 0 1-.5 1-1s-.5-1-1-1H7.1C6.5 7 6 7.4 6 8s.5 1 1.1 1zM21 11H7.1c-.6 0-1.1.4-1.1 1s.5 1 1.1 1H21c.6 0 1.1-.4 1.1-1s-.6-1-1.1-1zM21 15H7.1c-.6 0-1.1.5-1.1 1 0 .6.5 1 1.1 1H21c.6 0 1.1-.4 1.1-1-.1-.5-.6-1-1.1-1zM3.3 7.6L3.1 7H3l-.1.1-.2.5h-.6c-.1 0-.1.1-.1.1v.1l.4.4-.1.7c0 .1 0 .1.1.1h.1l.5-.4.5.4h.1v-.1l-.1-.7.5-.4v-.1s0-.1-.1-.1h-.6zM3.3 11.6l-.2-.5c0-.1-.1-.1-.1-.1l-.1.1-.2.5h-.6c-.1 0-.1.1-.1.2v.1l.4.4-.1.6c0 .1 0 .1.1.1h.1l.5-.4.5.4h.1v-.1l-.2-.6.6-.5v-.1s0-.1-.1-.1h-.6zM3.3 15.6l-.2-.5c0-.1-.1-.1-.1-.1l-.1.1-.2.5h-.6c-.1.1-.1.1-.1.2v.1l.4.4-.1.6c0 .1 0 .1.1.1h.1l.5-.4.5.4h.1v-.1l-.2-.6.6-.5v-.1s0-.1-.1-.1h-.6z"}),i().createElement("path",{fillRule:"evenodd",d:"M12 7a1 1 0 0 1 1 1v4a1 1 0 0 1-2 0V8a1 1 0 0 1 1-1Zm-1 9a1 1 0 0 1 1-1h.01a1 1 0 0 1 0 2H12a1 1 0 0 1-1-1Z",clipRule:"evenodd"}))),xP=i().forwardRef((e,t)=>i().createElement(Dc.svg,w_({viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},e,{ref:t}),i().createElement("path",{d:"m6.516 14.323-1.49 6.452a.998.998 0 0 0 1.529 1.057L12 18.202l5.445 3.63a1.001 1.001 0 0 0 1.517-1.106l-1.829-6.4 4.536-4.082a1 1 0 0 0-.59-1.74l-5.701-.454-2.467-5.461a.998.998 0 0 0-1.822 0L8.622 8.05l-5.701.453a1 1 0 0 0-.619 1.713l4.214 4.107zm2.853-4.326a.998.998 0 0 0 .832-.586L12 5.43l1.799 3.981a.998.998 0 0 0 .832.586l3.972.315-3.271 2.944c-.284.256-.397.65-.293 1.018l1.253 4.385-3.736-2.491a.995.995 0 0 0-1.109 0l-3.904 2.603 1.05-4.546a1 1 0 0 0-.276-.94l-3.038-2.962 4.09-.326z"}))),SP=i().forwardRef((e,t)=>i().createElement(Dc.svg,w_({viewBox:"0 0 150 131",xmlns:"http://www.w3.org/2000/svg"},e,{ref:t}),i().createElement("path",{fill:"#4584FF",d:"M115.352 14.993 74.652 0l-40.31 14.795c-5.146 2.49-9.66 3.986-9.66 8.9v24.503A94.35 94.35 0 0 0 37.965 96.93c7.517 12.515 19.152 25.401 37.108 33.594 16.477-5.488 28.776-20.122 36.294-32.643a94.32 94.32 0 0 0 13.281-48.725V27.12c-.03-7.015-3.651-10.438-9.295-12.126Z"}),i().createElement("path",{fill:"#fff",d:"M115.352 14.993 74.652 0l-40.31 14.795c-5.146 2.49-9.66 3.986-9.66 8.9v24.503A94.35 94.35 0 0 0 37.965 96.93c7.517 12.515 19.152 25.401 37.108 33.594 16.477-5.488 28.776-20.122 36.294-32.643a94.32 94.32 0 0 0 13.281-48.725V27.12c-.03-7.015-3.651-10.438-9.295-12.126Z",opacity:".8"}),i().createElement("path",{fill:"#4584FF",d:"M99.503 76.975h-7.481V36.276a17.378 17.378 0 1 0-34.756 0v40.7h-7.482v-40.7a24.864 24.864 0 0 1 34.463-23.318 24.863 24.863 0 0 1 15.256 23.318v40.7Z"}),i().createElement("path",{fill:"#000",d:"M99.503 76.975h-7.481V36.276a17.378 17.378 0 1 0-34.756 0v40.7h-7.482v-40.7a24.864 24.864 0 0 1 34.463-23.318 24.863 24.863 0 0 1 15.256 23.318v40.7Z",opacity:".4"}),i().createElement("path",{fill:"#4584FF",d:"M104.669 58.864H44.62a3.477 3.477 0 0 0-3.477 3.478v36.03a3.478 3.478 0 0 0 3.477 3.478h60.049a3.477 3.477 0 0 0 3.477-3.478v-36.03a3.477 3.477 0 0 0-3.477-3.478Z"}),i().createElement("path",{fill:"#000",d:"M80.243 74.76a5.603 5.603 0 1 0-7.128 5.388v8.379h3.058v-8.38a5.584 5.584 0 0 0 4.07-5.386Z",opacity:".5"}),i().createElement("path",{fill:"#FAFAFA",d:"M44.715 97.773c-.156 0-.276-7.182-.276-16.01 0-8.828.12-16.01.276-16.01.155 0 .281 7.182.281 16.01 0 8.828-.126 16.01-.281 16.01ZM70.26 81.936s-.264-.084-.659-.37a6.722 6.722 0 0 1-1.442-1.473 7.847 7.847 0 0 1 2.789-11.779 6.884 6.884 0 0 1 1.975-.664c.246-.068.503-.082.754-.042 0 .108-1.06.21-2.514 1.053a7.781 7.781 0 0 0-2.65 11.21 16.391 16.391 0 0 0 1.747 2.065Z"}),i().createElement("path",{fill:"#4584FF",d:"M2.58 107.847a2.58 2.58 0 1 0 0-5.16 2.58 2.58 0 0 0 0 5.16ZM150 23.48a2.576 2.576 0 0 1-3.086 2.523 2.581 2.581 0 0 1-1.876-3.517 2.577 2.577 0 0 1 3.371-1.395 2.588 2.588 0 0 1 1.396 1.4c.13.314.196.65.195.99ZM20.697 111.928a.657.657 0 1 1-1.315 0 .657.657 0 0 1 1.315 0Zm14-72.313a.659.659 0 1 1-1.318 0 .659.659 0 0 1 1.318 0Zm102.339 35.152a.655.655 0 0 1-.407.609.66.66 0 0 1-.897-.485.654.654 0 0 1 .285-.675.657.657 0 0 1 .618-.057.653.653 0 0 1 .401.608Zm9.116-25.579a.659.659 0 1 1-1.318.01.659.659 0 0 1 1.318-.01Z"}))),kP=i().forwardRef((e,t)=>i().createElement(Dc.svg,w_({viewBox:"0 0 42 42",xmlns:"https://www.w3.org/2000/svg"},e,{fill:"none",ref:t}),i().createElement("rect",{width:"41",height:"41",x:".5",y:".5",fill:"#fff",rx:"19.5"}),i().createElement("rect",{width:"41",height:"41",x:".5",y:".5",stroke:"#DDD",rx:"19.5"}),i().createElement("g",{clipPath:"url(#a)"},i().createElement("path",{fill:"#fff",d:"M22.394 19.247c-1.098-4.806-.549-9.232 1.176-11.163a1.054 1.054 0 0 0-.502.242l-6.584 5.768-2.23 1.959a6.76 6.76 0 0 0-.497.816c-.66 1.276-1.39 2.887-1.157 4.451.336 2.276 2.13 4.059 3.91 5.049.275.153.56.285.855.395l2.372.359 8.4 1.645.126-.024c-2.38-.995-4.777-4.713-5.87-9.497Z"}),i().createElement("path",{stroke:"#E2E2E2",strokeMiterlimit:"10",strokeWidth:".068",d:"m30.987 28.236-2.726.509c-2.38-.991-4.775-4.713-5.868-9.497-1.098-4.806-.549-9.23 1.176-11.162l2.069-.38 5.349 20.53Z"}),i().createElement("path",{fill:"#E2E2E2",d:"m13.812 23.726 9.819-.648 4.63 5.644-11.227-2.053s-3.132-.806-3.222-2.943Z"}),i().createElement("path",{fill:"#2E5DAD",d:"M30.078 28.938a2.933 2.933 0 0 1-1.817-.193c-2.38-.991-4.775-4.713-5.868-9.497-1.098-4.806-.549-9.23 1.176-11.162.398-.47.932-.802 1.526-.952 2.868-.668 6.308 3.674 7.685 9.69 1.377 6.017.168 11.444-2.702 12.114Z"}),i().createElement("path",{stroke:"#fff",strokeMiterlimit:"10",strokeWidth:".068",d:"M22.394 19.247c-1.098-4.806-.549-9.232 1.176-11.163l-.284.052-6.802 5.958-2.23 1.959a6.76 6.76 0 0 0-.497.816c-.66 1.276-1.39 2.887-1.157 4.451.336 2.276 2.13 4.059 3.91 5.049.275.153.56.285.855.395l.631.013 1.744.341 8.4 1.646.127-.024c-2.385-.99-4.78-4.709-5.873-9.493Z"}),i().createElement("path",{fill:"#CBDEFA",d:"M30.415 27.887c-.979.228-2.078-.456-3.101-1.776-.728-.935-1.419-2.19-2.003-3.663a23.67 23.67 0 0 1-1.069-3.465 24.559 24.559 0 0 1-.485-2.906 18.492 18.492 0 0 1-.056-3.417c.206-2.421.983-4.122 2.225-4.413 2.17-.505 4.932 3.48 6.171 8.904 1.24 5.423.486 10.23-1.683 10.736Z"}),i().createElement("path",{fill:"#B8C9E4",d:"M28.982 25.042c-.492.741-1.243.984-1.668 1.066-1.249-1.606-2.388-4.15-3.068-7.132-.535-2.315-.694-4.519-.541-6.323.419-.416 1.069-.686 1.136-.686 1.71 0 3.448 2.567 4.31 6.341.657 2.889.549 5.507-.169 6.734Z"}),i().createElement("path",{fill:"#fff",d:"m27.94 20.402-2.63 2.045a23.67 23.67 0 0 1-1.07-3.464 24.559 24.559 0 0 1-.485-2.907l3.116-.104v.018l1.056 4.376.013.036Z"}),i().createElement("path",{fill:"#2E5DAD",d:"m14.253 16.08-4.918 2.161s-3.207 1.513-1.71 6.915c0 0 1.817 4.539 5.132 3.134l4.32-1.641S9.87 23.21 14.252 16.08Z"}),i().createElement("path",{fill:"#CEDAF7",d:"M27.71 20.494c.522-.122.716-1.23.432-2.473-.284-1.244-.939-2.153-1.462-2.031-.523.122-.716 1.23-.432 2.473.284 1.244.938 2.153 1.461 2.031Z"}),i().createElement("path",{stroke:"#2E5DAD",strokeMiterlimit:"10",strokeWidth:".137",d:"M22.914 19.214c-1.098-4.806.856-11.237.856-11.237-.253.07-.49.19-.7.35l-6.584 5.767-2.232 1.96c-.185.26-.35.532-.497.815-.66 1.276-1.39 2.887-1.157 4.452.336 2.275 2.13 4.058 3.91 5.048.275.154.56.286.855.396l2.372.358 8.272 1.621c.19.003.382-.005.572-.022-2.379-.99-4.574-4.725-5.667-9.508Z"}),i().createElement("path",{fill:"#3C5385",d:"m8.053 26.008 5.757-2.281s1.727 2.51 3.224 2.942l-4.672 1.762s-2.599 1.021-4.31-2.424Z"}),i().createElement("path",{fill:"#C9DDFB",d:"m12.361 28.432 2 6.109c.125.381.206.821.778.784a1.36 1.36 0 0 1 .278.011l.107.017a.86.86 0 0 1 .673.53c.148.371.252.864-.126 1.051l.346-.027c.227-.017.441-.11.61-.265l.513-.466a.799.799 0 0 0 .25-.735 2.522 2.522 0 0 0-.067-.282.698.698 0 0 0-.582-.494 9.618 9.618 0 0 0-.573-.046.637.637 0 0 1-.578-.448l-.997-3.115-1.969-2.928-.663.304Z"}),i().createElement("path",{fill:"#2E5DAD",d:"m15.638 30.794-.033.1-.014.044-1.604.432-.934-3.188 2.002-.756v.007l.577 1.713a2.62 2.62 0 0 1 .006 1.648Z"}),i().createElement("path",{fill:"#3E5589",d:"m15.644 30.792-.034.108-1.57.416c.21-.634.228-1.317.054-1.961l-.374-1.389 1.337-.54.576 1.712c.183.535.186 1.116.011 1.654Z"})),i().createElement("defs",null,i().createElement("clipPath",{id:"a"},i().createElement("path",{fill:"#fff",d:"M7 7h27v30H7z"})))));x_.displayName="Logo",S_.displayName="Shortcode",k_.displayName="SmartTag",A_.displayName="ArrowRight",SP.displayName="Lock",kP.displayName="Megaphone",bP.displayName="Notice",yP.displayName="Testimonial",gP.displayName="Map",vP.displayName="Slider",mP.displayName="CTA",hP.displayName="Progress",pP.displayName="Timeline",fP.displayName="Blockquote",uP.displayName="Headphones",cP.displayName="EVF",lP.displayName="MagazineBlocks",sP.displayName="Blockart",dP.displayName="Masteriyo",iP.displayName="UR",aP.displayName="Chat",oP.displayName="Bulb",rP.displayName="Star",nP.displayName="Video",tP.displayName="DocsLines",eP.displayName="Docs",J_.displayName="ExternalLink",X_.displayName="CirclesInsideCircle",M_.displayName="DotsHorizontal",E_.displayName="Search",C_.displayName="Cog",__.displayName="Meter",P_.displayName="ArrowsRepeat",R_.displayName="ArrowsUpDown",T_.displayName="Links",O_.displayName="ArrowRightFill",z_.displayName="ArrowLeftFill",F_.displayName="QuestionCircleFill",j_.displayName="Buttons",L_.displayName="Countdown",B_.displayName="Counter",N_.displayName="Minus",I_.displayName="Add",$_.displayName="Heading",V_.displayName="Paragraph",W_.displayName="Section",H_.displayName="Spacing",U_.displayName="Tabs",q_.displayName="Lottie",Z_.displayName="InfoBox",Q_.displayName="Image",K_.displayName="TableOfContents",Y_.displayName="SocialShare",G_.displayName="Team",D_.displayName="ThreeCircleNodes",wP.displayName="IconList",xP.displayName="Icon";var EP=o(5556),CP=o.n(EP);const _P={visible:{order:0,visibility:"visible",opacity:1},inVisible:{order:100,visibility:"hidden",pointerEvents:"none"},toolbarWrapper:{overflow:"hidden",display:"flex",border:"1px solid black",alignItem:"center"},overflowStyle:{order:99,position:"sticky",right:"0",backgroundColor:"white"}},PP=({children:e,routes:t})=>{const n=(0,a.useRef)(null),[r,o]=(0,a.useState)({}),s=pw(),{pageType:l,adminURL:c}=(t.filter(e=>!r[e.route]).find(e=>e.route===s.pathname),"undefined"!=typeof _EVF_DASHBOARD_&&_EVF_DASHBOARD_);return(0,a.useEffect)(()=>{if(!n.current)return;const e=new IntersectionObserver(e=>{const t={};e.forEach(e=>{const n=e.target.dataset?.target;e.isIntersecting&&n&&(t[n]=!0),!e.isIntersecting&&n&&(t[n]=!1)}),o(e=>({...e,...t}))},{root:n.current,threshold:.98});return Array.from(n.current.children).forEach(t=>{t.getAttribute("data-target")&&e.observe(t)}),()=>e.disconnect()},[]),Object.values(r).some(e=>!1===e),i().createElement(td,{ref:n,width:{base:"50px",sm:"240px",md:"520px",lg:"570px",xl:"680px"},overflow:"hidden",h:"full"},i().Children.map(e,t=>{const n=r[t.props["data-target"]]?_P.visible:_P.inVisible;return i().cloneElement(t,{sx:{...e?.props?.sx,...n}})}))};PP.propTypes={children:CP().any,routes:CP().arrayOf(CP().shape({label:CP().string.isRequired,route:CP().string.isRequired})).isRequired};const RP=PP,TP=({hideSiteAssistant:e=!1})=>{const{isOpen:t,onOpen:n,onClose:r}=function(e={}){const{onClose:t,onOpen:n,isOpen:r,id:o}=e,i=jw(n),s=jw(t),[l,c]=(0,a.useState)(e.defaultIsOpen||!1),[u,d]=function(e,t){const n=void 0!==e;return[n,n&&void 0!==e?e:t]}(r,l),f=function(e,t){const n=(0,a.useId)();return(0,a.useMemo)(()=>e||[t,n].filter(Boolean).join("-"),[e,t,n])}(o,"disclosure"),p=(0,a.useCallback)(()=>{u||c(!1),null==s||s()},[u,s]),h=(0,a.useCallback)(()=>{u||c(!0),null==i||i()},[u,i]),m=(0,a.useCallback)(()=>{(d?p:h)()},[d,h,p]);return{isOpen:!!d,onOpen:h,onClose:p,onToggle:m,isControlled:u,getButtonProps:(e={})=>({...e,"aria-expanded":d,"aria-controls":f,onClick:Js(e.onClick,m)}),getDisclosureProps:(e={})=>({...e,hidden:!d,id:f})}}(),o=(0,a.useRef)(),i=pw(),{version:s,isPro:l,upgradeURL:c,pageType:u,adminURL:d,currentPage:f}="undefined"!=typeof _EVF_DASHBOARD_&&_EVF_DASHBOARD_,p="settings"===u||"entries"===u||"analytics"===u||f&&"evf-dashboard"!==f;(0,a.useEffect)(()=>(t?document.body.classList.add("ur-modal-open"):document.body.classList.remove("ur-modal-open"),()=>{document.body.classList.remove("ur-modal-open")}),[t]);const{leftRoutes:h,rightRoutes:m}=(0,a.useMemo)(()=>{const t=e?u_.filter(e=>"siteAssistant"!==e.key):u_,n=["/help","https://everestforms.net/free-vs-pro/"];return{leftRoutes:t.filter(e=>!n.includes(e.route)),rightRoutes:t.filter(e=>n.includes(e.route)).sort((e,t)=>n.indexOf(e.route)-n.indexOf(t.route))}},[e]),v=(e,t,n,r=!1)=>{const o=((e,t,n)=>{if(e.includes("admin.php")||e.includes("?page="))return e;if(t){const t=(e=>{if(!e)return"";let t=e.endsWith("/")?e.slice(0,-1):e;return t.endsWith("/admin.php")&&(t=t.slice(0,-10)),t})(n);return"/"===e?`${t}/admin.php?page=evf-dashboard`:`${t}/admin.php?page=evf-dashboard#${e}`}return e})(e,p,d),a=n||(e=>e.includes("admin.php")||e.includes("?page="))(o),s=((e,t)=>{const n=new URLSearchParams(window.location.search).get("page");if("everest-forms-analytics"===n&&e.includes("everest-forms-analytics"))return!0;if("evf-entries"===n&&e.includes("evf-entries"))return!0;if("evf-builder"===n&&e.includes("evf-builder"))return!0;if("evf-settings"===n&&e.includes("evf-settings"))return!0;if("evf-dashboard"===n||!n){const n=window.location.hash.replace("#","");if(!e.includes("admin.php")&&!e.includes("?page=")){if(""===n&&"/"===e)return!0;if(n&&e===`/${n}`)return!0;if(n&&e===n)return!0;if(t===e)return!0}}return e.includes("everestforms.net/free-vs-pro"),!1})(e,i.pathname),l=r;return p||a?React.createElement(Dw,{"data-target":e,key:e,href:o,isExternal:"https://everestforms.net/free-vs-pro/"===e,fontSize:"15px",fontWeight:"semibold",lineHeight:"150%",color:s?"primary.500":"#383838",borderBottom:s?"3px solid":"none",borderColor:s?"primary.500":"transparent",marginBottom:s?"-2px":"0",_hover:{color:"primary.500"},_focus:{boxShadow:"none"},display:"inline-flex",alignItems:"center",gap:"1",px:"2",h:"full"},t,l&&React.createElement(J_,{w:"16px",h:"16px",fill:"currentColor"})):React.createElement(Dw,{"data-target":e,key:e,as:Aw,to:e,fontSize:"15px",fontWeight:"semibold",lineHeight:"150%",color:"#383838",_hover:{color:"primary.500"},_focus:{boxShadow:"none"},_activeLink:{color:"primary.500",borderBottom:"3px solid",borderColor:"primary.500",marginBottom:"-2px"},display:"inline-flex",alignItems:"center",gap:"1",px:"2",h:"full"},t,l&&React.createElement(J_,{w:"16px",h:"16px",fill:"currentColor"}))};return React.createElement(React.Fragment,null,React.createElement($u,{bg:"white",borderBottom:"1px solid #E9E9E9",width:"100%",position:"relative",zIndex:"10"},React.createElement(Hu,{maxW:"full"},React.createElement(Zu,{direction:"row",minH:"70px",justify:"space-between"},React.createElement(Zu,{direction:"row",align:"center",gap:"7"},React.createElement($u,null,React.createElement(cP,{h:"10",w:"10"})),React.createElement(RP,{routes:h},h.map(({route:e,label:t,external:n})=>v(e,t,n)))),React.createElement(Zu,{direction:"row",align:"center",spacing:"12px"},React.createElement(Zu,{direction:"row",align:"center",gap:"1",h:"full"},m.map(({route:e,label:t,external:n})=>v(e,t,n,"https://everestforms.net/free-vs-pro/"===e))),m.length>0&&React.createElement(React.Fragment,null,React.createElement(Lw,{height:"18px"},React.createElement(Nw,{orientation:"vertical"}))),!l&&React.createElement(React.Fragment,null,React.createElement(Dw,{color:"orange",fontSize:"15px",height:"18px",href:c+"utm_medium=evf-dashboard&utm_source=evf-free&utm_campaign=header-upgrade-btn&utm_content=Upgrade%20to%20Pro",isExternal:!0,display:"inline-flex",alignItems:"center",gap:"1"},pb("Upgrade To Pro","everest-forms"),React.createElement(J_,{w:"16px",h:"16px",fill:"currentColor"}))),React.createElement(AS,{label:sprintf(pb("You are currently using Everest Forms %s","everest-forms"),(l&&"Pro ")+"v"+s)},React.createElement(zS,{display:"inline-flex !important",variant:"outline",colorScheme:"primary",borderRadius:"xl",bgColor:"#F8FAFF",fontSize:"xs"},"v"+s)),React.createElement(IS,{onClick:n,variant:"unstyled",borderRadius:"full",border:"2px",borderColor:"gray.200",w:"40px",h:"40px",position:"relative"},React.createElement(AS,{label:pb("Latest Updates","everest-forms")},React.createElement(HS,{src:f_,alt:"announcement",h:"35px",w:"35px",position:"absolute",top:"50%",left:"50%",transform:"translate(-40%, -50%)"}))))))),React.createElement(ck,{isOpen:t,placement:"right",onClose:r,finalFocusRef:o,size:"md"},React.createElement(kk,{bgColor:"rgb(0,0,0,0.05)",sx:{backdropFilter:"blur(1px)"}}),React.createElement(t_,{className:"everest-forms-announcement",top:"var(--wp-admin--admin-bar--height, 0) !important"},React.createElement(n_,null),React.createElement(r_,null,pb("Latest Updates","everest-forms")),React.createElement(o_,null,React.createElement(b_,null)))))};var AP=["borders","breakpoints","colors","components","config","direction","fonts","fontSizes","fontWeights","letterSpacings","lineHeights","radii","shadows","sizes","space","styles","transition","zIndices"];function MP(e){return"function"==typeof e}var OP=e=>function(...t){let n=[...t],r=t[t.length-1];var o;return u(o=r)&&AP.every(e=>Object.prototype.hasOwnProperty.call(o,e))&&n.length>1?n=n.slice(0,n.length-1):r=e,function(...e){return t=>e.reduce((e,t)=>t(e),t)}(...n.map(e=>t=>MP(e)?e(t):function(...e){return ui({},...e,FP)}(t,e)))(r)},zP=OP(Cg);function FP(e,t,n,r){if((MP(e)||MP(t))&&Object.prototype.hasOwnProperty.call(r,n))return(...n)=>{const r=MP(e)?e(...n):e,o=MP(t)?t(...n):t;return ui({},r,o,FP)}}OP(_g);const jP=zP({colors:{primary:{15:"#FAF8FC",25:"#f6f3fa",50:"#eee8f7",100:"#cab7e5",200:"#b094d8",300:"#8c64c6",400:"#7545bb",500:"#5317aa",600:"#4c159b",700:"#3b1079",800:"#2e0d5e",900:"#230a47"},grey:{0:"#FFFFFF",15:"#FDFDFD",25:"#F4F4F4",50:"#E9E9E9",60:"#E1E1E1",75:"#BDBDBD",100:"#BABABA",150:"#8A8A8A",175:"#7A7A7A",200:"#999999",300:"#6B6B6B",350:"#5C5C5C",400:"#383838",500:"#222222",600:"#1F1F1F",700:"#181818",800:"#131313",900:"#0E0E0E"},orange:"#ff8c39"},styles:{global:{".wp-admin #everest-forms":{ms:"-20px"},".toplevel_page_everest-forms #wpwrap":{bgColor:"primary.50"},".ba-modal-open":{"#adminmenuwrap":{zIndex:999}}}},components:{Button:{baseStyle:{borderRadius:"base",fontWeight:"medium",_focus:{boxShadow:"none"}},variants:{solid:e=>{const{colorScheme:t}=e;if("primary"===t)return{bg:"primary.400",color:"white",_hover:{bg:"primary.500",_disabled:{bg:"primary.400"}},_active:{bg:"primary.600"}}},outline:e=>{const{colorScheme:t}=e;if("primary"===t)return{borderColor:"primary.400",color:"primary.400",_hover:{bg:"primary.15"},_active:{bg:"primary.25"}}},ghost:e=>{const{colorScheme:t}=e;if("primary"===t)return{color:"primary.400",_hover:{bg:"primary.15"},_active:{bg:"primary.25"}}}},sizes:{sm:{fontSize:"sm",px:3,py:2},md:{fontSize:"md",px:4,py:2},lg:{fontSize:"lg",px:6,py:3}},defaultProps:{colorScheme:"primary"}},Heading:{baseStyle:{margin:0}},Text:{baseStyle:{margin:0}}}}),DP=new class{constructor(e={}){this.queryCache=e.queryCache||new cy,this.mutationCache=e.mutationCache||new dy,this.logger=e.logger||Yg,this.defaultOptions=e.defaultOptions||{},this.queryDefaults=[],this.mutationDefaults=[],this.mountCount=0}mount(){this.mountCount++,1===this.mountCount&&(this.unsubscribeFocus=Jg.subscribe(()=>{Jg.isFocused()&&(this.resumePausedMutations(),this.queryCache.onFocus())}),this.unsubscribeOnline=ty.subscribe(()=>{ty.isOnline()&&(this.resumePausedMutations(),this.queryCache.onOnline())}))}unmount(){var e,t;this.mountCount--,0===this.mountCount&&(null==(e=this.unsubscribeFocus)||e.call(this),this.unsubscribeFocus=void 0,null==(t=this.unsubscribeOnline)||t.call(this),this.unsubscribeOnline=void 0)}isFetching(e,t){const[n]=Fg(e,t);return n.fetchStatus="fetching",this.queryCache.findAll(n).length}isMutating(e){return this.mutationCache.findAll({...e,fetching:!0}).length}getQueryData(e,t){var n;return null==(n=this.queryCache.find(e,t))?void 0:n.state.data}ensureQueryData(e,t,n){const r=zg(e,t,n),o=this.getQueryData(r.queryKey);return o?Promise.resolve(o):this.fetchQuery(r)}getQueriesData(e){return this.getQueryCache().findAll(e).map(({queryKey:e,state:t})=>[e,t.data])}setQueryData(e,t,n){const r=this.queryCache.find(e),o=function(e,t){return"function"==typeof e?e(t):e}(t,null==r?void 0:r.state.data);if(void 0===o)return;const a=zg(e),i=this.defaultQueryOptions(a);return this.queryCache.build(this,i).setData(o,{...n,manual:!0})}setQueriesData(e,t,n){return Gg.batch(()=>this.getQueryCache().findAll(e).map(({queryKey:e})=>[e,this.setQueryData(e,t,n)]))}getQueryState(e,t){var n;return null==(n=this.queryCache.find(e,t))?void 0:n.state}removeQueries(e,t){const[n]=Fg(e,t),r=this.queryCache;Gg.batch(()=>{r.findAll(n).forEach(e=>{r.remove(e)})})}resetQueries(e,t,n){const[r,o]=Fg(e,t,n),a=this.queryCache,i={type:"active",...r};return Gg.batch(()=>(a.findAll(r).forEach(e=>{e.reset()}),this.refetchQueries(i,o)))}cancelQueries(e,t,n){const[r,o={}]=Fg(e,t,n);void 0===o.revert&&(o.revert=!0);const a=Gg.batch(()=>this.queryCache.findAll(r).map(e=>e.cancel(o)));return Promise.all(a).then(Ag).catch(Ag)}invalidateQueries(e,t,n){const[r,o]=Fg(e,t,n);return Gg.batch(()=>{var e,t;if(this.queryCache.findAll(r).forEach(e=>{e.invalidate()}),"none"===r.refetchType)return Promise.resolve();const n={...r,type:null!=(e=null!=(t=r.refetchType)?t:r.type)?e:"active"};return this.refetchQueries(n,o)})}refetchQueries(e,t,n){const[r,o]=Fg(e,t,n),a=Gg.batch(()=>this.queryCache.findAll(r).filter(e=>!e.isDisabled()).map(e=>{var t;return e.fetch(void 0,{...o,cancelRefetch:null==(t=null==o?void 0:o.cancelRefetch)||t,meta:{refetchPage:r.refetchPage}})}));let i=Promise.all(a).then(Ag);return null!=o&&o.throwOnError||(i=i.catch(Ag)),i}fetchQuery(e,t,n){const r=zg(e,t,n),o=this.defaultQueryOptions(r);void 0===o.retry&&(o.retry=!1);const a=this.queryCache.build(this,o);return a.isStaleByTime(o.staleTime)?a.fetch(o):Promise.resolve(a.state.data)}prefetchQuery(e,t,n){return this.fetchQuery(e,t,n).then(Ag).catch(Ag)}fetchInfiniteQuery(e,t,n){const r=zg(e,t,n);return r.behavior={onFetch:e=>{e.fetchFn=()=>{var t,n,r,o,a,i;const s=null==(t=e.fetchOptions)||null==(n=t.meta)?void 0:n.refetchPage,l=null==(r=e.fetchOptions)||null==(o=r.meta)?void 0:o.fetchMore,c=null==l?void 0:l.pageParam,u="forward"===(null==l?void 0:l.direction),d="backward"===(null==l?void 0:l.direction),f=(null==(a=e.state.data)?void 0:a.pages)||[],p=(null==(i=e.state.data)?void 0:i.pageParams)||[];let h=p,m=!1;const v=e.options.queryFn||(()=>Promise.reject("Missing queryFn for queryKey '"+e.options.queryHash+"'")),g=(e,t,n,r)=>(h=r?[t,...h]:[...h,t],r?[n,...e]:[...e,n]),y=(t,n,r,o)=>{if(m)return Promise.reject("Cancelled");if(void 0===r&&!n&&t.length)return Promise.resolve(t);const a={queryKey:e.queryKey,pageParam:r,meta:e.options.meta};var i;i=a,Object.defineProperty(i,"signal",{enumerable:!0,get:()=>{var t,n;return null!=(t=e.signal)&&t.aborted?m=!0:null==(n=e.signal)||n.addEventListener("abort",()=>{m=!0}),e.signal}});const s=v(a);return Promise.resolve(s).then(e=>g(t,r,e,o))};let b;if(f.length)if(u){const t=void 0!==c,n=t?c:fy(e.options,f);b=y(f,t,n)}else if(d){const t=void 0!==c,n=t?c:function(e,t){return null==e.getPreviousPageParam?void 0:e.getPreviousPageParam(t[0],t)}(e.options,f);b=y(f,t,n,!0)}else{h=[];const t=void 0===e.options.getNextPageParam;b=s&&f[0]&&!s(f[0],0,f)?Promise.resolve(g([],p[0],f[0])):y([],t,p[0]);for(let n=1;n<f.length;n++)b=b.then(r=>{if(!s||!f[n]||s(f[n],n,f)){const o=t?p[n]:fy(e.options,r);return y(r,t,o)}return Promise.resolve(g(r,p[n],f[n]))})}else b=y([]);return b.then(e=>({pages:e,pageParams:h}))}}},this.fetchQuery(r)}prefetchInfiniteQuery(e,t,n){return this.fetchInfiniteQuery(e,t,n).then(Ag).catch(Ag)}resumePausedMutations(){return this.mutationCache.resumePausedMutations()}getQueryCache(){return this.queryCache}getMutationCache(){return this.mutationCache}getLogger(){return this.logger}getDefaultOptions(){return this.defaultOptions}setDefaultOptions(e){this.defaultOptions=e}setQueryDefaults(e,t){const n=this.queryDefaults.find(t=>Bg(e)===Bg(t.queryKey));n?n.defaultOptions=t:this.queryDefaults.push({queryKey:e,defaultOptions:t})}getQueryDefaults(e){if(!e)return;const t=this.queryDefaults.find(t=>Ng(e,t.queryKey));return null==t?void 0:t.defaultOptions}setMutationDefaults(e,t){const n=this.mutationDefaults.find(t=>Bg(e)===Bg(t.mutationKey));n?n.defaultOptions=t:this.mutationDefaults.push({mutationKey:e,defaultOptions:t})}getMutationDefaults(e){if(!e)return;const t=this.mutationDefaults.find(t=>Ng(e,t.mutationKey));return null==t?void 0:t.defaultOptions}defaultQueryOptions(e){if(null!=e&&e._defaulted)return e;const t={...this.defaultOptions.queries,...this.getQueryDefaults(null==e?void 0:e.queryKey),...e,_defaulted:!0};return!t.queryHash&&t.queryKey&&(t.queryHash=Lg(t.queryKey,t)),void 0===t.refetchOnReconnect&&(t.refetchOnReconnect="always"!==t.networkMode),void 0===t.useErrorBoundary&&(t.useErrorBoundary=!!t.suspense),t}defaultMutationOptions(e){return null!=e&&e._defaulted?e:{...this.defaultOptions.mutations,...this.getMutationDefaults(null==e?void 0:e.mutationKey),...e,_defaulted:!0}}clear(){this.queryCache.clear(),this.mutationCache.clear()}};function LP(){const e=function(e){const{theme:t}=Wc(),n=Nu();return(0,a.useMemo)(()=>function(e,t){const n=n=>{var r;return{...t,...n,position:Ic(null!=(r=null==n?void 0:n.position)?r:null==t?void 0:t.position,e)}},r=e=>{const t=n(e),r=gu(t);return hu.notify(r,t)};return r.update=(e,t)=>{hu.update(e,n(t))},r.promise=(e,t)=>{const n=r({...t.loading,status:"loading",duration:null});e.then(e=>r.update(n,{status:"success",duration:5e3,...d(t.success,e)})).catch(e=>r.update(n,{status:"error",duration:5e3,...d(t.error,e)}))},r.closeAll=hu.closeAll,r.close=hu.close,r.isActive=hu.isActive,r}(t.direction,{...n,...e}),[e,t.direction,n])}(),{evfRestApiNonce:t,restURL:n,allStepsCompleted:r}="undefined"!=typeof _EVF_DASHBOARD_&&_EVF_DASHBOARD_,o=function(e,t){const n=(({context:e}={})=>{const t=a.useContext(Sy(e,a.useContext(xy)));if(!t)throw new Error("No QueryClient set, use QueryClientProvider to set one");return t})({context:e.context}),r=a.useContext(Ey),o=a.useContext(by),i=n.defaultQueryOptions(e);i._optimisticResults=r?"isRestoring":"optimistic",i.onError&&(i.onError=Gg.batchCalls(i.onError)),i.onSuccess&&(i.onSuccess=Gg.batchCalls(i.onSuccess)),i.onSettled&&(i.onSettled=Gg.batchCalls(i.onSettled)),(e=>{e.suspense&&"number"!=typeof e.staleTime&&(e.staleTime=1e3)})(i),((e,t)=>{(e.suspense||e.useErrorBoundary)&&(t.isReset()||(e.retryOnMount=!1))})(i,o),(e=>{a.useEffect(()=>{e.clearReset()},[e])})(o);const[s]=a.useState(()=>new t(n,i)),l=s.getOptimisticResult(i);if(yy(a.useCallback(e=>{const t=r?()=>{}:s.subscribe(Gg.batchCalls(e));return s.updateResult(),t},[s,r]),()=>s.getCurrentResult(),()=>s.getCurrentResult()),a.useEffect(()=>{s.setOptions(i,{listeners:!1})},[i,s]),((e,t,n)=>(null==e?void 0:e.suspense)&&((e,t)=>e.isLoading&&e.isFetching&&!t)(t,n))(i,l,r))throw((e,t,n)=>t.fetchOptimistic(e).then(({data:t})=>{null==e.onSuccess||e.onSuccess(t),null==e.onSettled||e.onSettled(t,null)}).catch(t=>{n.clearReset(),null==e.onError||e.onError(t),null==e.onSettled||e.onSettled(void 0,t)}))(i,s,o);if((({result:e,errorResetBoundary:t,useErrorBoundary:n,query:r})=>{return e.isError&&!t.isReset()&&!e.isFetching&&(o=n,a=[e.error,r],"function"==typeof o?o(...a):!!o);var o,a})({result:l,errorResetBoundary:o,useErrorBoundary:i.useErrorBoundary,query:s.getCurrentQuery()}))throw l.error;return i.notifyOnChangeProps?l:s.trackResult(l)}(zg({queryKey:["siteAssistant"],queryFn:async()=>await Bb({path:`${n}everest-forms/v1/site-assistant`,method:"GET",headers:{"X-WP-Nonce":t}}),cacheTime:1/0,staleTime:1/0,retry:1,onError:t=>{console.error("Error fetching site assistant data:",t),e({title:pb("Error","everest-forms"),description:pb("Failed to load setup status.","everest-forms"),status:"error",duration:3e3,isClosable:!0})}},void 0,void 0),py);const s=o?.isLoading?Boolean("1"===r):o?.data?.data?.all_steps_completed;return o.isLoading?i().createElement($u,{bg:"white",borderBottom:"1px solid #E9E9E9",width:"100%",position:"relative",zIndex:"10"},i().createElement(Hu,{maxW:"full"},i().createElement(Zu,{direction:"row",minH:"70px",justify:"space-between"},i().createElement(Zu,{direction:"row",align:"center",gap:"7"},i().createElement(ed,{size:"10"}),i().createElement(td,{spacing:"1",h:"full"},i().createElement(Ju,{height:"20px",width:"100px"}),i().createElement(Ju,{height:"20px",width:"80px"}),i().createElement(Ju,{height:"20px",width:"90px"}),i().createElement(Ju,{height:"20px",width:"95px"}))),i().createElement(Zu,{direction:"row",align:"center",spacing:"12px"},i().createElement(td,{spacing:"1"},i().createElement(Ju,{height:"20px",width:"60px"}),i().createElement(Ju,{height:"20px",width:"90px"})),i().createElement(Ju,{height:"20px",width:"100px"}),i().createElement(Ju,{height:"24px",width:"50px",borderRadius:"xl"}),i().createElement(ed,{size:"10"}))))):i().createElement(TP,{hideSiteAssistant:s})}!function(){const e=document.getElementById("evf-react-header-root");if(!e)return;const t=$b.createRoot(e);t&&t.render(i().createElement(i().StrictMode,null,i().createElement(ky,{client:DP},i().createElement(Rg,{theme:jP},i().createElement(_w,null,i().createElement(LP,null))))))}()})(),a)this[i]=a[i];a.__esModule&&Object.defineProperty(this,"__esModule",{value:!0})})();