OwlCyberSecurity - MANAGER
Edit File: blocks.min.js
/*! For license information please see blocks.min.js.LICENSE.txt */ (()=>{var e={4146:(e,t,r)=>{"use strict";var n=r(4363),o={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},i={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},a={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},s={};function l(e){return n.isMemo(e)?a:s[e.$$typeof]||o}s[n.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},s[n.Memo]=a;var u=Object.defineProperty,c=Object.getOwnPropertyNames,d=Object.getOwnPropertySymbols,f=Object.getOwnPropertyDescriptor,p=Object.getPrototypeOf,h=Object.prototype;e.exports=function e(t,r,n){if("string"!=typeof r){if(h){var o=p(r);o&&o!==h&&e(t,o,n)}var a=c(r);d&&(a=a.concat(d(r)));for(var s=l(t),m=l(r),g=0;g<a.length;++g){var v=a[g];if(!(i[v]||n&&n[v]||m&&m[v]||s&&s[v])){var y=f(r,v);try{u(t,v,y)}catch(e){}}}}return t}},8394:(e,t,r)=>{e=r.nmd(e);var n="__lodash_hash_undefined__",o=9007199254740991,i="[object Arguments]",a="[object Function]",s="[object Object]",l=/^\[object .+?Constructor\]$/,u=/^(?:0|[1-9]\d*)$/,c={};c["[object Float32Array]"]=c["[object Float64Array]"]=c["[object Int8Array]"]=c["[object Int16Array]"]=c["[object Int32Array]"]=c["[object Uint8Array]"]=c["[object Uint8ClampedArray]"]=c["[object Uint16Array]"]=c["[object Uint32Array]"]=!0,c[i]=c["[object Array]"]=c["[object ArrayBuffer]"]=c["[object Boolean]"]=c["[object DataView]"]=c["[object Date]"]=c["[object Error]"]=c[a]=c["[object Map]"]=c["[object Number]"]=c[s]=c["[object RegExp]"]=c["[object Set]"]=c["[object String]"]=c["[object WeakMap]"]=!1;var d,f,p,h="object"==typeof r.g&&r.g&&r.g.Object===Object&&r.g,m="object"==typeof self&&self&&self.Object===Object&&self,g=h||m||Function("return this")(),v=t&&!t.nodeType&&t,y=v&&e&&!e.nodeType&&e,b=y&&y.exports===v,x=b&&h.process,w=function(){try{return y&&y.require&&y.require("util").types||x&&x.binding&&x.binding("util")}catch(e){}}(),k=w&&w.isTypedArray,S=Array.prototype,_=Function.prototype,C=Object.prototype,E=g["__core-js_shared__"],P=_.toString,T=C.hasOwnProperty,z=(d=/[^.]+$/.exec(E&&E.keys&&E.keys.IE_PROTO||""))?"Symbol(src)_1."+d:"",A=C.toString,R=P.call(Object),M=RegExp("^"+P.call(T).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),F=b?g.Buffer:void 0,j=g.Symbol,B=g.Uint8Array,L=(F&&F.allocUnsafe,f=Object.getPrototypeOf,p=Object,function(e){return f(p(e))}),D=Object.create,$=C.propertyIsEnumerable,O=S.splice,I=j?j.toStringTag:void 0,N=function(){try{var e=se(Object,"defineProperty");return e({},"",{}),e}catch(e){}}(),V=F?F.isBuffer:void 0,W=Math.max,U=Date.now,H=se(g,"Map"),q=se(Object,"create"),Y=function(){function e(){}return function(t){if(!be(t))return{};if(D)return D(t);e.prototype=t;var r=new e;return e.prototype=void 0,r}}();function X(e){var t=-1,r=null==e?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}function K(e){var t=-1,r=null==e?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}function G(e){var t=-1,r=null==e?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}function Q(e){var t=this.__data__=new K(e);this.size=t.size}function Z(e,t,r){(void 0!==r&&!fe(e[t],r)||void 0===r&&!(t in e))&&te(e,t,r)}function J(e,t,r){var n=e[t];T.call(e,t)&&fe(n,r)&&(void 0!==r||t in e)||te(e,t,r)}function ee(e,t){for(var r=e.length;r--;)if(fe(e[r][0],t))return r;return-1}function te(e,t,r){"__proto__"==t&&N?N(e,t,{configurable:!0,enumerable:!0,value:r,writable:!0}):e[t]=r}X.prototype.clear=function(){this.__data__=q?q(null):{},this.size=0},X.prototype.delete=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t},X.prototype.get=function(e){var t=this.__data__;if(q){var r=t[e];return r===n?void 0:r}return T.call(t,e)?t[e]:void 0},X.prototype.has=function(e){var t=this.__data__;return q?void 0!==t[e]:T.call(t,e)},X.prototype.set=function(e,t){var r=this.__data__;return this.size+=this.has(e)?0:1,r[e]=q&&void 0===t?n:t,this},K.prototype.clear=function(){this.__data__=[],this.size=0},K.prototype.delete=function(e){var t=this.__data__,r=ee(t,e);return!(r<0||(r==t.length-1?t.pop():O.call(t,r,1),--this.size,0))},K.prototype.get=function(e){var t=this.__data__,r=ee(t,e);return r<0?void 0:t[r][1]},K.prototype.has=function(e){return ee(this.__data__,e)>-1},K.prototype.set=function(e,t){var r=this.__data__,n=ee(r,e);return n<0?(++this.size,r.push([e,t])):r[n][1]=t,this},G.prototype.clear=function(){this.size=0,this.__data__={hash:new X,map:new(H||K),string:new X}},G.prototype.delete=function(e){var t=ae(this,e).delete(e);return this.size-=t?1:0,t},G.prototype.get=function(e){return ae(this,e).get(e)},G.prototype.has=function(e){return ae(this,e).has(e)},G.prototype.set=function(e,t){var r=ae(this,e),n=r.size;return r.set(e,t),this.size+=r.size==n?0:1,this},Q.prototype.clear=function(){this.__data__=new K,this.size=0},Q.prototype.delete=function(e){var t=this.__data__,r=t.delete(e);return this.size=t.size,r},Q.prototype.get=function(e){return this.__data__.get(e)},Q.prototype.has=function(e){return this.__data__.has(e)},Q.prototype.set=function(e,t){var r=this.__data__;if(r instanceof K){var n=r.__data__;if(!H||n.length<199)return n.push([e,t]),this.size=++r.size,this;r=this.__data__=new G(n)}return r.set(e,t),this.size=r.size,this};function re(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":I&&I in Object(e)?function(e){var t=T.call(e,I),r=e[I];try{e[I]=void 0;var n=!0}catch(e){}var o=A.call(e);return n&&(t?e[I]=r:delete e[I]),o}(e):function(e){return A.call(e)}(e)}function ne(e){return xe(e)&&re(e)==i}function oe(e,t,r,n,o){e!==t&&function(e,t,r){for(var n=-1,o=Object(e),i=r(e),a=i.length;a--;){var s=i[++n];if(!1===t(o[s],s,o))break}}(t,(function(i,a){if(o||(o=new Q),be(i))!function(e,t,r,n,o,i,a){var l=ce(e,r),u=ce(t,r),c=a.get(u);if(c)Z(e,r,c);else{var d,f,p,h,m,g=i?i(l,u,r+"",e,t,a):void 0,v=void 0===g;if(v){var y=he(u),b=!y&&ge(u),x=!y&&!b&&we(u);g=u,y||b||x?he(l)?g=l:xe(m=l)&&me(m)?g=function(e,t){var r=-1,n=e.length;for(t||(t=Array(n));++r<n;)t[r]=e[r];return t}(l):b?(v=!1,g=function(e){return e.slice()}(u)):x?(v=!1,h=new(p=(d=u).buffer).constructor(p.byteLength),new B(h).set(new B(p)),f=h,g=new d.constructor(f,d.byteOffset,d.length)):g=[]:function(e){if(!xe(e)||re(e)!=s)return!1;var t=L(e);if(null===t)return!0;var r=T.call(t,"constructor")&&t.constructor;return"function"==typeof r&&r instanceof r&&P.call(r)==R}(u)||pe(u)?(g=l,pe(l)?g=function(e){return function(e,t,r){var n=!r;r||(r={});for(var o=-1,i=t.length;++o<i;){var a=t[o],s=void 0;void 0===s&&(s=e[a]),n?te(r,a,s):J(r,a,s)}return r}(e,ke(e))}(l):be(l)&&!ve(l)||(g=function(e){return"function"!=typeof e.constructor||ue(e)?{}:Y(L(e))}(u))):v=!1}v&&(a.set(u,g),o(g,u,n,i,a),a.delete(u)),Z(e,r,g)}}(e,t,a,r,oe,n,o);else{var l=n?n(ce(e,a),i,a+"",e,t,o):void 0;void 0===l&&(l=i),Z(e,a,l)}}),ke)}var ie=N?function(e,t){return N(e,"toString",{configurable:!0,enumerable:!1,value:(r=t,function(){return r}),writable:!0});var r}:Ce;function ae(e,t){var r,n,o=e.__data__;return("string"==(n=typeof(r=t))||"number"==n||"symbol"==n||"boolean"==n?"__proto__"!==r:null===r)?o["string"==typeof t?"string":"hash"]:o.map}function se(e,t){var r=function(e,t){return null==e?void 0:e[t]}(e,t);return function(e){return!(!be(e)||function(e){return!!z&&z in e}(e))&&(ve(e)?M:l).test(function(e){if(null!=e){try{return P.call(e)}catch(e){}try{return e+""}catch(e){}}return""}(e))}(r)?r:void 0}function le(e,t){var r=typeof e;return!!(t=null==t?o:t)&&("number"==r||"symbol"!=r&&u.test(e))&&e>-1&&e%1==0&&e<t}function ue(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||C)}function ce(e,t){if(("constructor"!==t||"function"!=typeof e[t])&&"__proto__"!=t)return e[t]}var de=function(e){var t=0,r=0;return function(){var n=U(),o=16-(n-r);if(r=n,o>0){if(++t>=800)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}(ie);function fe(e,t){return e===t||e!=e&&t!=t}var pe=ne(function(){return arguments}())?ne:function(e){return xe(e)&&T.call(e,"callee")&&!$.call(e,"callee")},he=Array.isArray;function me(e){return null!=e&&ye(e.length)&&!ve(e)}var ge=V||function(){return!1};function ve(e){if(!be(e))return!1;var t=re(e);return t==a||"[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 xe(e){return null!=e&&"object"==typeof e}var we=k?function(e){return function(t){return e(t)}}(k):function(e){return xe(e)&&ye(e.length)&&!!c[re(e)]};function ke(e){return me(e)?function(e,t){var r=he(e),n=!r&&pe(e),o=!r&&!n&&ge(e),i=!r&&!n&&!o&&we(e),a=r||n||o||i,s=a?function(e,t){for(var r=-1,n=Array(e);++r<e;)n[r]=t(r);return n}(e.length,String):[],l=s.length;for(var u in e)!t&&!T.call(e,u)||a&&("length"==u||o&&("offset"==u||"parent"==u)||i&&("buffer"==u||"byteLength"==u||"byteOffset"==u)||le(u,l))||s.push(u);return s}(e,!0):function(e){if(!be(e))return function(e){var t=[];if(null!=e)for(var r in Object(e))t.push(r);return t}(e);var t=ue(e),r=[];for(var n in e)("constructor"!=n||!t&&T.call(e,n))&&r.push(n);return r}(e)}var Se,_e=(Se=function(e,t,r,n){oe(e,t,r,n)},function(e,t){return de(function(e,t,r){return t=W(void 0===t?e.length-1:t,0),function(){for(var n=arguments,o=-1,i=W(n.length-t,0),a=Array(i);++o<i;)a[o]=n[t+o];o=-1;for(var s=Array(t+1);++o<t;)s[o]=n[o];return s[t]=r(a),function(e,t,r){switch(r.length){case 0:return e.call(t);case 1:return e.call(t,r[0]);case 2:return e.call(t,r[0],r[1]);case 3:return e.call(t,r[0],r[1],r[2])}return e.apply(t,r)}(e,this,s)}}(e,t,Ce),e+"")}((function(e,t){var r=-1,n=t.length,o=n>1?t[n-1]:void 0,i=n>2?t[2]:void 0;for(o=Se.length>3&&"function"==typeof o?(n--,o):void 0,i&&function(e,t,r){if(!be(r))return!1;var n=typeof t;return!!("number"==n?me(r)&&le(t,r.length):"string"==n&&t in r)&&fe(r[t],e)}(t[0],t[1],i)&&(o=n<3?void 0:o,n=1),e=Object(e);++r<n;){var a=t[r];a&&Se(e,a,r,o)}return e})));function Ce(e){return e}e.exports=_e},2551:(e,t,r)=>{"use strict";var n=r(1993),o=r(9982);function i(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,r=1;r<arguments.length;r++)t+="&args[]="+encodeURIComponent(arguments[r]);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 a=new Set,s={};function l(e,t){u(e,t),u(e+"Capture",t)}function u(e,t){for(s[e]=t,e=0;e<t.length;e++)a.add(t[e])}var c=!("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,r,n,o,i,a){this.acceptsBooleans=2===t||3===t||4===t,this.attributeName=n,this.attributeNamespace=o,this.mustUseProperty=r,this.propertyName=e,this.type=t,this.sanitizeURL=i,this.removeEmptyString=a}var g={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach((function(e){g[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];g[t]=new m(t,1,!1,e[1],null,!1,!1)})),["contentEditable","draggable","spellCheck","value"].forEach((function(e){g[e]=new m(e,2,!1,e.toLowerCase(),null,!1,!1)})),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach((function(e){g[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){g[e]=new m(e,3,!1,e.toLowerCase(),null,!1,!1)})),["checked","multiple","muted","selected"].forEach((function(e){g[e]=new m(e,3,!0,e,null,!1,!1)})),["capture","download"].forEach((function(e){g[e]=new m(e,4,!1,e,null,!1,!1)})),["cols","rows","size","span"].forEach((function(e){g[e]=new m(e,6,!1,e,null,!1,!1)})),["rowSpan","start"].forEach((function(e){g[e]=new m(e,5,!1,e.toLowerCase(),null,!1,!1)}));var v=/[\-:]([a-z])/g;function y(e){return e[1].toUpperCase()}function b(e,t,r,n){var o=g.hasOwnProperty(t)?g[t]:null;(null!==o?0!==o.type:n||!(2<t.length)||"o"!==t[0]&&"O"!==t[0]||"n"!==t[1]&&"N"!==t[1])&&(function(e,t,r,n){if(null==t||function(e,t,r,n){if(null!==r&&0===r.type)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return!n&&(null!==r?!r.acceptsBooleans:"data-"!==(e=e.toLowerCase().slice(0,5))&&"aria-"!==e);default:return!1}}(e,t,r,n))return!0;if(n)return!1;if(null!==r)switch(r.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,r,o,n)&&(r=null),n||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===r?e.removeAttribute(t):e.setAttribute(t,""+r)):o.mustUseProperty?e[o.propertyName]=null===r?3!==o.type&&"":r:(t=o.attributeName,n=o.attributeNamespace,null===r?e.removeAttribute(t):(r=3===(o=o.type)||4===o&&!0===r?"":""+r,n?e.setAttributeNS(n,t,r):e.setAttribute(t,r))))}"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(v,y);g[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(v,y);g[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(v,y);g[t]=new m(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)})),["tabIndex","crossOrigin"].forEach((function(e){g[e]=new m(e,1,!1,e.toLowerCase(),null,!1,!1)})),g.xlinkHref=new m("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach((function(e){g[e]=new m(e,1,!1,e.toLowerCase(),null,!0,!0)}));var x=n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,w=Symbol.for("react.element"),k=Symbol.for("react.portal"),S=Symbol.for("react.fragment"),_=Symbol.for("react.strict_mode"),C=Symbol.for("react.profiler"),E=Symbol.for("react.provider"),P=Symbol.for("react.context"),T=Symbol.for("react.forward_ref"),z=Symbol.for("react.suspense"),A=Symbol.for("react.suspense_list"),R=Symbol.for("react.memo"),M=Symbol.for("react.lazy");Symbol.for("react.scope"),Symbol.for("react.debug_trace_mode");var F=Symbol.for("react.offscreen");Symbol.for("react.legacy_hidden"),Symbol.for("react.cache"),Symbol.for("react.tracing_marker");var j=Symbol.iterator;function B(e){return null===e||"object"!=typeof e?null:"function"==typeof(e=j&&e[j]||e["@@iterator"])?e:null}var L,D=Object.assign;function $(e){if(void 0===L)try{throw Error()}catch(e){var t=e.stack.trim().match(/\n( *(at )?)/);L=t&&t[1]||""}return"\n"+L+e}var O=!1;function I(e,t){if(!e||O)return"";O=!0;var r=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 n=e}Reflect.construct(e,[],t)}else{try{t.call()}catch(e){n=e}e.call(t.prototype)}else{try{throw Error()}catch(e){n=e}e()}}catch(t){if(t&&n&&"string"==typeof t.stack){for(var o=t.stack.split("\n"),i=n.stack.split("\n"),a=o.length-1,s=i.length-1;1<=a&&0<=s&&o[a]!==i[s];)s--;for(;1<=a&&0<=s;a--,s--)if(o[a]!==i[s]){if(1!==a||1!==s)do{if(a--,0>--s||o[a]!==i[s]){var l="\n"+o[a].replace(" at new "," at ");return e.displayName&&l.includes("<anonymous>")&&(l=l.replace("<anonymous>",e.displayName)),l}}while(1<=a&&0<=s);break}}}finally{O=!1,Error.prepareStackTrace=r}return(e=e?e.displayName||e.name:"")?$(e):""}function N(e){switch(e.tag){case 5:return $(e.type);case 16:return $("Lazy");case 13:return $("Suspense");case 19:return $("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 S:return"Fragment";case k:return"Portal";case C:return"Profiler";case _:return"StrictMode";case z:return"Suspense";case A:return"SuspenseList"}if("object"==typeof e)switch(e.$$typeof){case P:return(e.displayName||"Context")+".Consumer";case E:return(e._context.displayName||"Context")+".Provider";case T:var t=e.render;return(e=e.displayName)||(e=""!==(e=t.displayName||t.name||"")?"ForwardRef("+e+")":"ForwardRef"),e;case R:return null!==(t=e.displayName||null)?t:V(e.type)||"Memo";case M: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===_?"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 U(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":case"object":return e;default:return""}}function H(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=H(e)?"checked":"value",r=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),n=""+e[t];if(!e.hasOwnProperty(t)&&void 0!==r&&"function"==typeof r.get&&"function"==typeof r.set){var o=r.get,i=r.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return o.call(this)},set:function(e){n=""+e,i.call(this,e)}}),Object.defineProperty(e,t,{enumerable:r.enumerable}),{getValue:function(){return n},setValue:function(e){n=""+e},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}(e))}function Y(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var r=t.getValue(),n="";return e&&(n=H(e)?e.checked?"true":"false":e.value),(e=n)!==r&&(t.setValue(e),!0)}function X(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 r=t.checked;return D({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:null!=r?r:e._wrapperState.initialChecked})}function G(e,t){var r=null==t.defaultValue?"":t.defaultValue,n=null!=t.checked?t.checked:t.defaultChecked;r=U(null!=t.value?t.value:r),e._wrapperState={initialChecked:n,initialValue:r,controlled:"checkbox"===t.type||"radio"===t.type?null!=t.checked:null!=t.value}}function Q(e,t){null!=(t=t.checked)&&b(e,"checked",t,!1)}function Z(e,t){Q(e,t);var r=U(t.value),n=t.type;if(null!=r)"number"===n?(0===r&&""===e.value||e.value!=r)&&(e.value=""+r):e.value!==""+r&&(e.value=""+r);else if("submit"===n||"reset"===n)return void e.removeAttribute("value");t.hasOwnProperty("value")?ee(e,t.type,r):t.hasOwnProperty("defaultValue")&&ee(e,t.type,U(t.defaultValue)),null==t.checked&&null!=t.defaultChecked&&(e.defaultChecked=!!t.defaultChecked)}function J(e,t,r){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var n=t.type;if(!("submit"!==n&&"reset"!==n||void 0!==t.value&&null!==t.value))return;t=""+e._wrapperState.initialValue,r||t===e.value||(e.value=t),e.defaultValue=t}""!==(r=e.name)&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,""!==r&&(e.name=r)}function ee(e,t,r){"number"===t&&X(e.ownerDocument)===e||(null==r?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+r&&(e.defaultValue=""+r))}var te=Array.isArray;function re(e,t,r,n){if(e=e.options,t){t={};for(var o=0;o<r.length;o++)t["$"+r[o]]=!0;for(r=0;r<e.length;r++)o=t.hasOwnProperty("$"+e[r].value),e[r].selected!==o&&(e[r].selected=o),o&&n&&(e[r].defaultSelected=!0)}else{for(r=""+U(r),t=null,o=0;o<e.length;o++){if(e[o].value===r)return e[o].selected=!0,void(n&&(e[o].defaultSelected=!0));null!==t||e[o].disabled||(t=e[o])}null!==t&&(t.selected=!0)}}function ne(e,t){if(null!=t.dangerouslySetInnerHTML)throw Error(i(91));return D({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function oe(e,t){var r=t.value;if(null==r){if(r=t.children,t=t.defaultValue,null!=r){if(null!=t)throw Error(i(92));if(te(r)){if(1<r.length)throw Error(i(93));r=r[0]}t=r}null==t&&(t=""),r=t}e._wrapperState={initialValue:U(r)}}function ie(e,t){var r=U(t.value),n=U(t.defaultValue);null!=r&&((r=""+r)!==e.value&&(e.value=r),null==t.defaultValue&&e.defaultValue!==r&&(e.defaultValue=r)),null!=n&&(e.defaultValue=""+n)}function ae(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 ue,ce,de=(ce=function(e,t){if("http://www.w3.org/2000/svg"!==e.namespaceURI||"innerHTML"in e)e.innerHTML=t;else{for((ue=ue||document.createElement("div")).innerHTML="<svg>"+t.valueOf().toString()+"</svg>",t=ue.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}},"undefined"!=typeof MSApp&&MSApp.execUnsafeLocalFunction?function(e,t,r,n){MSApp.execUnsafeLocalFunction((function(){return ce(e,t)}))}:ce);function fe(e,t){if(t){var r=e.firstChild;if(r&&r===e.lastChild&&3===r.nodeType)return void(r.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,r){return null==t||"boolean"==typeof t||""===t?"":r||"number"!=typeof t||0===t||pe.hasOwnProperty(e)&&pe[e]?(""+t).trim():t+"px"}function ge(e,t){for(var r in e=e.style,t)if(t.hasOwnProperty(r)){var n=0===r.indexOf("--"),o=me(r,t[r],n);"float"===r&&(r="cssFloat"),n?e.setProperty(r,o):e[r]=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 ve=D({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(ve[e]&&(null!=t.children||null!=t.dangerouslySetInnerHTML))throw Error(i(137,e));if(null!=t.dangerouslySetInnerHTML){if(null!=t.children)throw Error(i(60));if("object"!=typeof t.dangerouslySetInnerHTML||!("__html"in t.dangerouslySetInnerHTML))throw Error(i(61))}if(null!=t.style&&"object"!=typeof t.style)throw Error(i(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 xe=null;function we(e){return(e=e.target||e.srcElement||window).correspondingUseElement&&(e=e.correspondingUseElement),3===e.nodeType?e.parentNode:e}var ke=null,Se=null,_e=null;function Ce(e){if(e=bo(e)){if("function"!=typeof ke)throw Error(i(280));var t=e.stateNode;t&&(t=wo(t),ke(e.stateNode,e.type,t))}}function Ee(e){Se?_e?_e.push(e):_e=[e]:Se=e}function Pe(){if(Se){var e=Se,t=_e;if(_e=Se=null,Ce(e),t)for(e=0;e<t.length;e++)Ce(t[e])}}function Te(e,t){return e(t)}function ze(){}var Ae=!1;function Re(e,t,r){if(Ae)return e(t,r);Ae=!0;try{return Te(e,t,r)}finally{Ae=!1,(null!==Se||null!==_e)&&(ze(),Pe())}}function Me(e,t){var r=e.stateNode;if(null===r)return null;var n=wo(r);if(null===n)return null;r=n[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":(n=!n.disabled)||(n=!("button"===(e=e.type)||"input"===e||"select"===e||"textarea"===e)),e=!n;break e;default:e=!1}if(e)return null;if(r&&"function"!=typeof r)throw Error(i(231,t,typeof r));return r}var Fe=!1;if(c)try{var je={};Object.defineProperty(je,"passive",{get:function(){Fe=!0}}),window.addEventListener("test",je,je),window.removeEventListener("test",je,je)}catch(ce){Fe=!1}function Be(e,t,r,n,o,i,a,s,l){var u=Array.prototype.slice.call(arguments,3);try{t.apply(r,u)}catch(e){this.onError(e)}}var Le=!1,De=null,$e=!1,Oe=null,Ie={onError:function(e){Le=!0,De=e}};function Ne(e,t,r,n,o,i,a,s,l){Le=!1,De=null,Be.apply(Ie,arguments)}function Ve(e){var t=e,r=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do{!!(4098&(t=e).flags)&&(r=t.return),e=t.return}while(e)}return 3===t.tag?r: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 Ue(e){if(Ve(e)!==e)throw Error(i(188))}function He(e){return null!==(e=function(e){var t=e.alternate;if(!t){if(null===(t=Ve(e)))throw Error(i(188));return t!==e?null:e}for(var r=e,n=t;;){var o=r.return;if(null===o)break;var a=o.alternate;if(null===a){if(null!==(n=o.return)){r=n;continue}break}if(o.child===a.child){for(a=o.child;a;){if(a===r)return Ue(o),e;if(a===n)return Ue(o),t;a=a.sibling}throw Error(i(188))}if(r.return!==n.return)r=o,n=a;else{for(var s=!1,l=o.child;l;){if(l===r){s=!0,r=o,n=a;break}if(l===n){s=!0,n=o,r=a;break}l=l.sibling}if(!s){for(l=a.child;l;){if(l===r){s=!0,r=a,n=o;break}if(l===n){s=!0,n=a,r=o;break}l=l.sibling}if(!s)throw Error(i(189))}}if(r.alternate!==n)throw Error(i(190))}if(3!==r.tag)throw Error(i(188));return r.stateNode.current===r?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 Ye=o.unstable_scheduleCallback,Xe=o.unstable_cancelCallback,Ke=o.unstable_shouldYield,Ge=o.unstable_requestPaint,Qe=o.unstable_now,Ze=o.unstable_getCurrentPriorityLevel,Je=o.unstable_ImmediatePriority,et=o.unstable_UserBlockingPriority,tt=o.unstable_NormalPriority,rt=o.unstable_LowPriority,nt=o.unstable_IdlePriority,ot=null,it=null,at=Math.clz32?Math.clz32:function(e){return 0===(e>>>=0)?32:31-(st(e)/lt|0)|0},st=Math.log,lt=Math.LN2,ut=64,ct=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 r=e.pendingLanes;if(0===r)return 0;var n=0,o=e.suspendedLanes,i=e.pingedLanes,a=268435455&r;if(0!==a){var s=a&~o;0!==s?n=dt(s):0!=(i&=a)&&(n=dt(i))}else 0!=(a=r&~o)?n=dt(a):0!==i&&(n=dt(i));if(0===n)return 0;if(0!==t&&t!==n&&!(t&o)&&((o=n&-n)>=(i=t&-t)||16===o&&4194240&i))return t;if(4&n&&(n|=16&r),0!==(t=e.entangledLanes))for(e=e.entanglements,t&=n;0<t;)o=1<<(r=31-at(t)),n|=e[r],t&=~o;return n}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=ut;return!(4194240&(ut<<=1))&&(ut=64),e}function gt(e,t,r){e.pendingLanes|=t,536870912!==t&&(e.suspendedLanes=0,e.pingedLanes=0),(e=e.eventTimes)[t=31-at(t)]=r}function vt(e,t){var r=e.entangledLanes|=t;for(e=e.entanglements;r;){var n=31-at(r),o=1<<n;o&t|e[n]&t&&(e[n]|=t),r&=~o}}var yt=0;function bt(e){return 1<(e&=-e)?4<e?268435455&e?16:536870912:4:1}var xt,wt,kt,St,_t,Ct=!1,Et=[],Pt=null,Tt=null,zt=null,At=new Map,Rt=new Map,Mt=[],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":Pt=null;break;case"dragenter":case"dragleave":Tt=null;break;case"mouseover":case"mouseout":zt=null;break;case"pointerover":case"pointerout":At.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":Rt.delete(t.pointerId)}}function Bt(e,t,r,n,o,i){return null===e||e.nativeEvent!==i?(e={blockedOn:t,domEventName:r,eventSystemFlags:n,nativeEvent:i,targetContainers:[o]},null!==t&&null!==(t=bo(t))&&wt(t),e):(e.eventSystemFlags|=n,t=e.targetContainers,null!==o&&-1===t.indexOf(o)&&t.push(o),e)}function Lt(e){var t=yo(e.target);if(null!==t){var r=Ve(t);if(null!==r)if(13===(t=r.tag)){if(null!==(t=We(r)))return e.blockedOn=t,void _t(e.priority,(function(){kt(r)}))}else if(3===t&&r.stateNode.current.memoizedState.isDehydrated)return void(e.blockedOn=3===r.tag?r.stateNode.containerInfo:null)}e.blockedOn=null}function Dt(e){if(null!==e.blockedOn)return!1;for(var t=e.targetContainers;0<t.length;){var r=Xt(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(null!==r)return null!==(t=bo(r))&&wt(t),e.blockedOn=r,!1;var n=new(r=e.nativeEvent).constructor(r.type,r);xe=n,r.target.dispatchEvent(n),xe=null,t.shift()}return!0}function $t(e,t,r){Dt(e)&&r.delete(t)}function Ot(){Ct=!1,null!==Pt&&Dt(Pt)&&(Pt=null),null!==Tt&&Dt(Tt)&&(Tt=null),null!==zt&&Dt(zt)&&(zt=null),At.forEach($t),Rt.forEach($t)}function It(e,t){e.blockedOn===t&&(e.blockedOn=null,Ct||(Ct=!0,o.unstable_scheduleCallback(o.unstable_NormalPriority,Ot)))}function Nt(e){function t(t){return It(t,e)}if(0<Et.length){It(Et[0],e);for(var r=1;r<Et.length;r++){var n=Et[r];n.blockedOn===e&&(n.blockedOn=null)}}for(null!==Pt&&It(Pt,e),null!==Tt&&It(Tt,e),null!==zt&&It(zt,e),At.forEach(t),Rt.forEach(t),r=0;r<Mt.length;r++)(n=Mt[r]).blockedOn===e&&(n.blockedOn=null);for(;0<Mt.length&&null===(r=Mt[0]).blockedOn;)Lt(r),null===r.blockedOn&&Mt.shift()}var Vt=x.ReactCurrentBatchConfig,Wt=!0;function Ut(e,t,r,n){var o=yt,i=Vt.transition;Vt.transition=null;try{yt=1,qt(e,t,r,n)}finally{yt=o,Vt.transition=i}}function Ht(e,t,r,n){var o=yt,i=Vt.transition;Vt.transition=null;try{yt=4,qt(e,t,r,n)}finally{yt=o,Vt.transition=i}}function qt(e,t,r,n){if(Wt){var o=Xt(e,t,r,n);if(null===o)Wn(e,t,n,Yt,r),jt(e,n);else if(function(e,t,r,n,o){switch(t){case"focusin":return Pt=Bt(Pt,e,t,r,n,o),!0;case"dragenter":return Tt=Bt(Tt,e,t,r,n,o),!0;case"mouseover":return zt=Bt(zt,e,t,r,n,o),!0;case"pointerover":var i=o.pointerId;return At.set(i,Bt(At.get(i)||null,e,t,r,n,o)),!0;case"gotpointercapture":return i=o.pointerId,Rt.set(i,Bt(Rt.get(i)||null,e,t,r,n,o)),!0}return!1}(o,e,t,r,n))n.stopPropagation();else if(jt(e,n),4&t&&-1<Ft.indexOf(e)){for(;null!==o;){var i=bo(o);if(null!==i&&xt(i),null===(i=Xt(e,t,r,n))&&Wn(e,t,n,Yt,r),i===o)break;o=i}null!==o&&n.stopPropagation()}else Wn(e,t,n,null,r)}}var Yt=null;function Xt(e,t,r,n){if(Yt=null,null!==(e=yo(e=we(n))))if(null===(t=Ve(e)))e=null;else if(13===(r=t.tag)){if(null!==(e=We(t)))return e;e=null}else if(3===r){if(t.stateNode.current.memoizedState.isDehydrated)return 3===t.tag?t.stateNode.containerInfo:null;e=null}else t!==e&&(e=null);return Yt=e,null}function Kt(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(Ze()){case Je:return 1;case et:return 4;case tt:case rt:return 16;case nt:return 536870912;default:return 16}default:return 16}}var Gt=null,Qt=null,Zt=null;function Jt(){if(Zt)return Zt;var e,t,r=Qt,n=r.length,o="value"in Gt?Gt.value:Gt.textContent,i=o.length;for(e=0;e<n&&r[e]===o[e];e++);var a=n-e;for(t=1;t<=a&&r[n-t]===o[i-t];t++);return Zt=o.slice(e,1<t?1-t:void 0)}function er(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 tr(){return!0}function rr(){return!1}function nr(e){function t(t,r,n,o,i){for(var a in this._reactName=t,this._targetInst=n,this.type=r,this.nativeEvent=o,this.target=i,this.currentTarget=null,e)e.hasOwnProperty(a)&&(t=e[a],this[a]=t?t(o):o[a]);return this.isDefaultPrevented=(null!=o.defaultPrevented?o.defaultPrevented:!1===o.returnValue)?tr:rr,this.isPropagationStopped=rr,this}return D(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=tr)},stopPropagation:function(){var e=this.nativeEvent;e&&(e.stopPropagation?e.stopPropagation():"unknown"!=typeof e.cancelBubble&&(e.cancelBubble=!0),this.isPropagationStopped=tr)},persist:function(){},isPersistent:tr}),t}var or,ir,ar,sr={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},lr=nr(sr),ur=D({},sr,{view:0,detail:0}),cr=nr(ur),dr=D({},ur,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Sr,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!==ar&&(ar&&"mousemove"===e.type?(or=e.screenX-ar.screenX,ir=e.screenY-ar.screenY):ir=or=0,ar=e),or)},movementY:function(e){return"movementY"in e?e.movementY:ir}}),fr=nr(dr),pr=nr(D({},dr,{dataTransfer:0})),hr=nr(D({},ur,{relatedTarget:0})),mr=nr(D({},sr,{animationName:0,elapsedTime:0,pseudoElement:0})),gr=D({},sr,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),vr=nr(gr),yr=nr(D({},sr,{data:0})),br={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},xr={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"},wr={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function kr(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):!!(e=wr[e])&&!!t[e]}function Sr(){return kr}var _r=D({},ur,{key:function(e){if(e.key){var t=br[e.key]||e.key;if("Unidentified"!==t)return t}return"keypress"===e.type?13===(e=er(e))?"Enter":String.fromCharCode(e):"keydown"===e.type||"keyup"===e.type?xr[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Sr,charCode:function(e){return"keypress"===e.type?er(e):0},keyCode:function(e){return"keydown"===e.type||"keyup"===e.type?e.keyCode:0},which:function(e){return"keypress"===e.type?er(e):"keydown"===e.type||"keyup"===e.type?e.keyCode:0}}),Cr=nr(_r),Er=nr(D({},dr,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0})),Pr=nr(D({},ur,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Sr})),Tr=nr(D({},sr,{propertyName:0,elapsedTime:0,pseudoElement:0})),zr=D({},dr,{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}),Ar=nr(zr),Rr=[9,13,27,32],Mr=c&&"CompositionEvent"in window,Fr=null;c&&"documentMode"in document&&(Fr=document.documentMode);var jr=c&&"TextEvent"in window&&!Fr,Br=c&&(!Mr||Fr&&8<Fr&&11>=Fr),Lr=String.fromCharCode(32),Dr=!1;function $r(e,t){switch(e){case"keyup":return-1!==Rr.indexOf(t.keyCode);case"keydown":return 229!==t.keyCode;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Or(e){return"object"==typeof(e=e.detail)&&"data"in e?e.data:null}var Ir=!1,Nr={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 Vr(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return"input"===t?!!Nr[e.type]:"textarea"===t}function Wr(e,t,r,n){Ee(n),0<(t=Hn(t,"onChange")).length&&(r=new lr("onChange","change",null,r,n),e.push({event:r,listeners:t}))}var Ur=null,Hr=null;function qr(e){Dn(e,0)}function Yr(e){if(Y(xo(e)))return e}function Xr(e,t){if("change"===e)return t}var Kr=!1;if(c){var Gr;if(c){var Qr="oninput"in document;if(!Qr){var Zr=document.createElement("div");Zr.setAttribute("oninput","return;"),Qr="function"==typeof Zr.oninput}Gr=Qr}else Gr=!1;Kr=Gr&&(!document.documentMode||9<document.documentMode)}function Jr(){Ur&&(Ur.detachEvent("onpropertychange",en),Hr=Ur=null)}function en(e){if("value"===e.propertyName&&Yr(Hr)){var t=[];Wr(t,Hr,e,we(e)),Re(qr,t)}}function tn(e,t,r){"focusin"===e?(Jr(),Hr=r,(Ur=t).attachEvent("onpropertychange",en)):"focusout"===e&&Jr()}function rn(e){if("selectionchange"===e||"keyup"===e||"keydown"===e)return Yr(Hr)}function nn(e,t){if("click"===e)return Yr(t)}function on(e,t){if("input"===e||"change"===e)return Yr(t)}var an="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t};function sn(e,t){if(an(e,t))return!0;if("object"!=typeof e||null===e||"object"!=typeof t||null===t)return!1;var r=Object.keys(e),n=Object.keys(t);if(r.length!==n.length)return!1;for(n=0;n<r.length;n++){var o=r[n];if(!d.call(t,o)||!an(e[o],t[o]))return!1}return!0}function ln(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function un(e,t){var r,n=ln(e);for(e=0;n;){if(3===n.nodeType){if(r=e+n.textContent.length,e<=t&&r>=t)return{node:n,offset:t-e};e=r}e:{for(;n;){if(n.nextSibling){n=n.nextSibling;break e}n=n.parentNode}n=void 0}n=ln(n)}}function cn(e,t){return!(!e||!t)&&(e===t||(!e||3!==e.nodeType)&&(t&&3===t.nodeType?cn(e,t.parentNode):"contains"in e?e.contains(t):!!e.compareDocumentPosition&&!!(16&e.compareDocumentPosition(t))))}function dn(){for(var e=window,t=X();t instanceof e.HTMLIFrameElement;){try{var r="string"==typeof t.contentWindow.location.href}catch(e){r=!1}if(!r)break;t=X((e=t.contentWindow).document)}return t}function fn(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 pn(e){var t=dn(),r=e.focusedElem,n=e.selectionRange;if(t!==r&&r&&r.ownerDocument&&cn(r.ownerDocument.documentElement,r)){if(null!==n&&fn(r))if(t=n.start,void 0===(e=n.end)&&(e=t),"selectionStart"in r)r.selectionStart=t,r.selectionEnd=Math.min(e,r.value.length);else if((e=(t=r.ownerDocument||document)&&t.defaultView||window).getSelection){e=e.getSelection();var o=r.textContent.length,i=Math.min(n.start,o);n=void 0===n.end?i:Math.min(n.end,o),!e.extend&&i>n&&(o=n,n=i,i=o),o=un(r,i);var a=un(r,n);o&&a&&(1!==e.rangeCount||e.anchorNode!==o.node||e.anchorOffset!==o.offset||e.focusNode!==a.node||e.focusOffset!==a.offset)&&((t=t.createRange()).setStart(o.node,o.offset),e.removeAllRanges(),i>n?(e.addRange(t),e.extend(a.node,a.offset)):(t.setEnd(a.node,a.offset),e.addRange(t)))}for(t=[],e=r;e=e.parentNode;)1===e.nodeType&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for("function"==typeof r.focus&&r.focus(),r=0;r<t.length;r++)(e=t[r]).element.scrollLeft=e.left,e.element.scrollTop=e.top}}var hn=c&&"documentMode"in document&&11>=document.documentMode,mn=null,gn=null,vn=null,yn=!1;function bn(e,t,r){var n=r.window===r?r.document:9===r.nodeType?r:r.ownerDocument;yn||null==mn||mn!==X(n)||(n="selectionStart"in(n=mn)&&fn(n)?{start:n.selectionStart,end:n.selectionEnd}:{anchorNode:(n=(n.ownerDocument&&n.ownerDocument.defaultView||window).getSelection()).anchorNode,anchorOffset:n.anchorOffset,focusNode:n.focusNode,focusOffset:n.focusOffset},vn&&sn(vn,n)||(vn=n,0<(n=Hn(gn,"onSelect")).length&&(t=new lr("onSelect","select",null,t,r),e.push({event:t,listeners:n}),t.target=mn)))}function xn(e,t){var r={};return r[e.toLowerCase()]=t.toLowerCase(),r["Webkit"+e]="webkit"+t,r["Moz"+e]="moz"+t,r}var wn={animationend:xn("Animation","AnimationEnd"),animationiteration:xn("Animation","AnimationIteration"),animationstart:xn("Animation","AnimationStart"),transitionend:xn("Transition","TransitionEnd")},kn={},Sn={};function _n(e){if(kn[e])return kn[e];if(!wn[e])return e;var t,r=wn[e];for(t in r)if(r.hasOwnProperty(t)&&t in Sn)return kn[e]=r[t];return e}c&&(Sn=document.createElement("div").style,"AnimationEvent"in window||(delete wn.animationend.animation,delete wn.animationiteration.animation,delete wn.animationstart.animation),"TransitionEvent"in window||delete wn.transitionend.transition);var Cn=_n("animationend"),En=_n("animationiteration"),Pn=_n("animationstart"),Tn=_n("transitionend"),zn=new Map,An="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 Rn(e,t){zn.set(e,t),l(t,[e])}for(var Mn=0;Mn<An.length;Mn++){var Fn=An[Mn];Rn(Fn.toLowerCase(),"on"+(Fn[0].toUpperCase()+Fn.slice(1)))}Rn(Cn,"onAnimationEnd"),Rn(En,"onAnimationIteration"),Rn(Pn,"onAnimationStart"),Rn("dblclick","onDoubleClick"),Rn("focusin","onFocus"),Rn("focusout","onBlur"),Rn(Tn,"onTransitionEnd"),u("onMouseEnter",["mouseout","mouseover"]),u("onMouseLeave",["mouseout","mouseover"]),u("onPointerEnter",["pointerout","pointerover"]),u("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 jn="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(" "),Bn=new Set("cancel close invalid load scroll toggle".split(" ").concat(jn));function Ln(e,t,r){var n=e.type||"unknown-event";e.currentTarget=r,function(e,t,r,n,o,a,s,l,u){if(Ne.apply(this,arguments),Le){if(!Le)throw Error(i(198));var c=De;Le=!1,De=null,$e||($e=!0,Oe=c)}}(n,t,void 0,e),e.currentTarget=null}function Dn(e,t){t=!!(4&t);for(var r=0;r<e.length;r++){var n=e[r],o=n.event;n=n.listeners;e:{var i=void 0;if(t)for(var a=n.length-1;0<=a;a--){var s=n[a],l=s.instance,u=s.currentTarget;if(s=s.listener,l!==i&&o.isPropagationStopped())break e;Ln(o,s,u),i=l}else for(a=0;a<n.length;a++){if(l=(s=n[a]).instance,u=s.currentTarget,s=s.listener,l!==i&&o.isPropagationStopped())break e;Ln(o,s,u),i=l}}}if($e)throw e=Oe,$e=!1,Oe=null,e}function $n(e,t){var r=t[mo];void 0===r&&(r=t[mo]=new Set);var n=e+"__bubble";r.has(n)||(Vn(t,e,2,!1),r.add(n))}function On(e,t,r){var n=0;t&&(n|=4),Vn(r,e,n,t)}var In="_reactListening"+Math.random().toString(36).slice(2);function Nn(e){if(!e[In]){e[In]=!0,a.forEach((function(t){"selectionchange"!==t&&(Bn.has(t)||On(t,!1,e),On(t,!0,e))}));var t=9===e.nodeType?e:e.ownerDocument;null===t||t[In]||(t[In]=!0,On("selectionchange",!1,t))}}function Vn(e,t,r,n){switch(Kt(t)){case 1:var o=Ut;break;case 4:o=Ht;break;default:o=qt}r=o.bind(null,t,r,e),o=void 0,!Fe||"touchstart"!==t&&"touchmove"!==t&&"wheel"!==t||(o=!0),n?void 0!==o?e.addEventListener(t,r,{capture:!0,passive:o}):e.addEventListener(t,r,!0):void 0!==o?e.addEventListener(t,r,{passive:o}):e.addEventListener(t,r,!1)}function Wn(e,t,r,n,o){var i=n;if(!(1&t||2&t||null===n))e:for(;;){if(null===n)return;var a=n.tag;if(3===a||4===a){var s=n.stateNode.containerInfo;if(s===o||8===s.nodeType&&s.parentNode===o)break;if(4===a)for(a=n.return;null!==a;){var l=a.tag;if((3===l||4===l)&&((l=a.stateNode.containerInfo)===o||8===l.nodeType&&l.parentNode===o))return;a=a.return}for(;null!==s;){if(null===(a=yo(s)))return;if(5===(l=a.tag)||6===l){n=i=a;continue e}s=s.parentNode}}n=n.return}Re((function(){var n=i,o=we(r),a=[];e:{var s=zn.get(e);if(void 0!==s){var l=lr,u=e;switch(e){case"keypress":if(0===er(r))break e;case"keydown":case"keyup":l=Cr;break;case"focusin":u="focus",l=hr;break;case"focusout":u="blur",l=hr;break;case"beforeblur":case"afterblur":l=hr;break;case"click":if(2===r.button)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":l=fr;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":l=pr;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":l=Pr;break;case Cn:case En:case Pn:l=mr;break;case Tn:l=Tr;break;case"scroll":l=cr;break;case"wheel":l=Ar;break;case"copy":case"cut":case"paste":l=vr;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":l=Er}var c=!!(4&t),d=!c&&"scroll"===e,f=c?null!==s?s+"Capture":null:s;c=[];for(var p,h=n;null!==h;){var m=(p=h).stateNode;if(5===p.tag&&null!==m&&(p=m,null!==f&&null!=(m=Me(h,f))&&c.push(Un(h,m,p))),d)break;h=h.return}0<c.length&&(s=new l(s,u,null,r,o),a.push({event:s,listeners:c}))}}if(!(7&t)){if(l="mouseout"===e||"pointerout"===e,(!(s="mouseover"===e||"pointerover"===e)||r===xe||!(u=r.relatedTarget||r.fromElement)||!yo(u)&&!u[ho])&&(l||s)&&(s=o.window===o?o:(s=o.ownerDocument)?s.defaultView||s.parentWindow:window,l?(l=n,null!==(u=(u=r.relatedTarget||r.toElement)?yo(u):null)&&(u!==(d=Ve(u))||5!==u.tag&&6!==u.tag)&&(u=null)):(l=null,u=n),l!==u)){if(c=fr,m="onMouseLeave",f="onMouseEnter",h="mouse","pointerout"!==e&&"pointerover"!==e||(c=Er,m="onPointerLeave",f="onPointerEnter",h="pointer"),d=null==l?s:xo(l),p=null==u?s:xo(u),(s=new c(m,h+"leave",l,r,o)).target=d,s.relatedTarget=p,m=null,yo(o)===n&&((c=new c(f,h+"enter",u,r,o)).target=p,c.relatedTarget=d,m=c),d=m,l&&u)e:{for(f=u,h=0,p=c=l;p;p=qn(p))h++;for(p=0,m=f;m;m=qn(m))p++;for(;0<h-p;)c=qn(c),h--;for(;0<p-h;)f=qn(f),p--;for(;h--;){if(c===f||null!==f&&c===f.alternate)break e;c=qn(c),f=qn(f)}c=null}else c=null;null!==l&&Yn(a,s,l,c,!1),null!==u&&null!==d&&Yn(a,d,u,c,!0)}if("select"===(l=(s=n?xo(n):window).nodeName&&s.nodeName.toLowerCase())||"input"===l&&"file"===s.type)var g=Xr;else if(Vr(s))if(Kr)g=on;else{g=rn;var v=tn}else(l=s.nodeName)&&"input"===l.toLowerCase()&&("checkbox"===s.type||"radio"===s.type)&&(g=nn);switch(g&&(g=g(e,n))?Wr(a,g,r,o):(v&&v(e,s,n),"focusout"===e&&(v=s._wrapperState)&&v.controlled&&"number"===s.type&&ee(s,"number",s.value)),v=n?xo(n):window,e){case"focusin":(Vr(v)||"true"===v.contentEditable)&&(mn=v,gn=n,vn=null);break;case"focusout":vn=gn=mn=null;break;case"mousedown":yn=!0;break;case"contextmenu":case"mouseup":case"dragend":yn=!1,bn(a,r,o);break;case"selectionchange":if(hn)break;case"keydown":case"keyup":bn(a,r,o)}var y;if(Mr)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 Ir?$r(e,r)&&(b="onCompositionEnd"):"keydown"===e&&229===r.keyCode&&(b="onCompositionStart");b&&(Br&&"ko"!==r.locale&&(Ir||"onCompositionStart"!==b?"onCompositionEnd"===b&&Ir&&(y=Jt()):(Qt="value"in(Gt=o)?Gt.value:Gt.textContent,Ir=!0)),0<(v=Hn(n,b)).length&&(b=new yr(b,e,null,r,o),a.push({event:b,listeners:v}),(y||null!==(y=Or(r)))&&(b.data=y))),(y=jr?function(e,t){switch(e){case"compositionend":return Or(t);case"keypress":return 32!==t.which?null:(Dr=!0,Lr);case"textInput":return(e=t.data)===Lr&&Dr?null:e;default:return null}}(e,r):function(e,t){if(Ir)return"compositionend"===e||!Mr&&$r(e,t)?(e=Jt(),Zt=Qt=Gt=null,Ir=!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 Br&&"ko"!==t.locale?null:t.data}}(e,r))&&0<(n=Hn(n,"onBeforeInput")).length&&(o=new yr("onBeforeInput","beforeinput",null,r,o),a.push({event:o,listeners:n}),o.data=y)}Dn(a,t)}))}function Un(e,t,r){return{instance:e,listener:t,currentTarget:r}}function Hn(e,t){for(var r=t+"Capture",n=[];null!==e;){var o=e,i=o.stateNode;5===o.tag&&null!==i&&(o=i,null!=(i=Me(e,r))&&n.unshift(Un(e,i,o)),null!=(i=Me(e,t))&&n.push(Un(e,i,o))),e=e.return}return n}function qn(e){if(null===e)return null;do{e=e.return}while(e&&5!==e.tag);return e||null}function Yn(e,t,r,n,o){for(var i=t._reactName,a=[];null!==r&&r!==n;){var s=r,l=s.alternate,u=s.stateNode;if(null!==l&&l===n)break;5===s.tag&&null!==u&&(s=u,o?null!=(l=Me(r,i))&&a.unshift(Un(r,l,s)):o||null!=(l=Me(r,i))&&a.push(Un(r,l,s))),r=r.return}0!==a.length&&e.push({event:t,listeners:a})}var Xn=/\r\n?/g,Kn=/\u0000|\uFFFD/g;function Gn(e){return("string"==typeof e?e:""+e).replace(Xn,"\n").replace(Kn,"")}function Qn(e,t,r){if(t=Gn(t),Gn(e)!==t&&r)throw Error(i(425))}function Zn(){}var Jn=null,eo=null;function to(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,no="function"==typeof clearTimeout?clearTimeout:void 0,oo="function"==typeof Promise?Promise:void 0,io="function"==typeof queueMicrotask?queueMicrotask:void 0!==oo?function(e){return oo.resolve(null).then(e).catch(ao)}:ro;function ao(e){setTimeout((function(){throw e}))}function so(e,t){var r=t,n=0;do{var o=r.nextSibling;if(e.removeChild(r),o&&8===o.nodeType)if("/$"===(r=o.data)){if(0===n)return e.removeChild(o),void Nt(t);n--}else"$"!==r&&"$?"!==r&&"$!"!==r||n++;r=o}while(r);Nt(t)}function lo(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 r=e.data;if("$"===r||"$!"===r||"$?"===r){if(0===t)return e;t--}else"/$"===r&&t++}e=e.previousSibling}return null}var co=Math.random().toString(36).slice(2),fo="__reactFiber$"+co,po="__reactProps$"+co,ho="__reactContainer$"+co,mo="__reactEvents$"+co,go="__reactListeners$"+co,vo="__reactHandles$"+co;function yo(e){var t=e[fo];if(t)return t;for(var r=e.parentNode;r;){if(t=r[ho]||r[fo]){if(r=t.alternate,null!==t.child||null!==r&&null!==r.child)for(e=uo(e);null!==e;){if(r=e[fo])return r;e=uo(e)}return t}r=(e=r).parentNode}return null}function bo(e){return!(e=e[fo]||e[ho])||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(i(33))}function wo(e){return e[po]||null}var ko=[],So=-1;function _o(e){return{current:e}}function Co(e){0>So||(e.current=ko[So],ko[So]=null,So--)}function Eo(e,t){So++,ko[So]=e.current,e.current=t}var Po={},To=_o(Po),zo=_o(!1),Ao=Po;function Ro(e,t){var r=e.type.contextTypes;if(!r)return Po;var n=e.stateNode;if(n&&n.__reactInternalMemoizedUnmaskedChildContext===t)return n.__reactInternalMemoizedMaskedChildContext;var o,i={};for(o in r)i[o]=t[o];return n&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=i),i}function Mo(e){return null!=e.childContextTypes}function Fo(){Co(zo),Co(To)}function jo(e,t,r){if(To.current!==Po)throw Error(i(168));Eo(To,t),Eo(zo,r)}function Bo(e,t,r){var n=e.stateNode;if(t=t.childContextTypes,"function"!=typeof n.getChildContext)return r;for(var o in n=n.getChildContext())if(!(o in t))throw Error(i(108,W(e)||"Unknown",o));return D({},r,n)}function Lo(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||Po,Ao=To.current,Eo(To,e),Eo(zo,zo.current),!0}function Do(e,t,r){var n=e.stateNode;if(!n)throw Error(i(169));r?(e=Bo(e,t,Ao),n.__reactInternalMemoizedMergedChildContext=e,Co(zo),Co(To),Eo(To,e)):Co(zo),Eo(zo,r)}var $o=null,Oo=!1,Io=!1;function No(e){null===$o?$o=[e]:$o.push(e)}function Vo(){if(!Io&&null!==$o){Io=!0;var e=0,t=yt;try{var r=$o;for(yt=1;e<r.length;e++){var n=r[e];do{n=n(!0)}while(null!==n)}$o=null,Oo=!1}catch(t){throw null!==$o&&($o=$o.slice(e+1)),Ye(Je,Vo),t}finally{yt=t,Io=!1}}return null}var Wo=[],Uo=0,Ho=null,qo=0,Yo=[],Xo=0,Ko=null,Go=1,Qo="";function Zo(e,t){Wo[Uo++]=qo,Wo[Uo++]=Ho,Ho=e,qo=t}function Jo(e,t,r){Yo[Xo++]=Go,Yo[Xo++]=Qo,Yo[Xo++]=Ko,Ko=e;var n=Go;e=Qo;var o=32-at(n)-1;n&=~(1<<o),r+=1;var i=32-at(t)+o;if(30<i){var a=o-o%5;i=(n&(1<<a)-1).toString(32),n>>=a,o-=a,Go=1<<32-at(t)+o|r<<o|n,Qo=i+e}else Go=1<<i|r<<o|n,Qo=e}function ei(e){null!==e.return&&(Zo(e,1),Jo(e,1,0))}function ti(e){for(;e===Ho;)Ho=Wo[--Uo],Wo[Uo]=null,qo=Wo[--Uo],Wo[Uo]=null;for(;e===Ko;)Ko=Yo[--Xo],Yo[Xo]=null,Qo=Yo[--Xo],Yo[Xo]=null,Go=Yo[--Xo],Yo[Xo]=null}var ri=null,ni=null,oi=!1,ii=null;function ai(e,t){var r=Ru(5,null,null,0);r.elementType="DELETED",r.stateNode=t,r.return=e,null===(t=e.deletions)?(e.deletions=[r],e.flags|=16):t.push(r)}function si(e,t){switch(e.tag){case 5:var r=e.type;return null!==(t=1!==t.nodeType||r.toLowerCase()!==t.nodeName.toLowerCase()?null:t)&&(e.stateNode=t,ri=e,ni=lo(t.firstChild),!0);case 6:return null!==(t=""===e.pendingProps||3!==t.nodeType?null:t)&&(e.stateNode=t,ri=e,ni=null,!0);case 13:return null!==(t=8!==t.nodeType?null:t)&&(r=null!==Ko?{id:Go,overflow:Qo}:null,e.memoizedState={dehydrated:t,treeContext:r,retryLane:1073741824},(r=Ru(18,null,null,0)).stateNode=t,r.return=e,e.child=r,ri=e,ni=null,!0);default:return!1}}function li(e){return!(!(1&e.mode)||128&e.flags)}function ui(e){if(oi){var t=ni;if(t){var r=t;if(!si(e,t)){if(li(e))throw Error(i(418));t=lo(r.nextSibling);var n=ri;t&&si(e,t)?ai(n,r):(e.flags=-4097&e.flags|2,oi=!1,ri=e)}}else{if(li(e))throw Error(i(418));e.flags=-4097&e.flags|2,oi=!1,ri=e}}}function ci(e){for(e=e.return;null!==e&&5!==e.tag&&3!==e.tag&&13!==e.tag;)e=e.return;ri=e}function di(e){if(e!==ri)return!1;if(!oi)return ci(e),oi=!0,!1;var t;if((t=3!==e.tag)&&!(t=5!==e.tag)&&(t="head"!==(t=e.type)&&"body"!==t&&!to(e.type,e.memoizedProps)),t&&(t=ni)){if(li(e))throw fi(),Error(i(418));for(;t;)ai(e,t),t=lo(t.nextSibling)}if(ci(e),13===e.tag){if(!(e=null!==(e=e.memoizedState)?e.dehydrated:null))throw Error(i(317));e:{for(e=e.nextSibling,t=0;e;){if(8===e.nodeType){var r=e.data;if("/$"===r){if(0===t){ni=lo(e.nextSibling);break e}t--}else"$"!==r&&"$!"!==r&&"$?"!==r||t++}e=e.nextSibling}ni=null}}else ni=ri?lo(e.stateNode.nextSibling):null;return!0}function fi(){for(var e=ni;e;)e=lo(e.nextSibling)}function pi(){ni=ri=null,oi=!1}function hi(e){null===ii?ii=[e]:ii.push(e)}var mi=x.ReactCurrentBatchConfig;function gi(e,t){if(e&&e.defaultProps){for(var r in t=D({},t),e=e.defaultProps)void 0===t[r]&&(t[r]=e[r]);return t}return t}var vi=_o(null),yi=null,bi=null,xi=null;function wi(){xi=bi=yi=null}function ki(e){var t=vi.current;Co(vi),e._currentValue=t}function Si(e,t,r){for(;null!==e;){var n=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,null!==n&&(n.childLanes|=t)):null!==n&&(n.childLanes&t)!==t&&(n.childLanes|=t),e===r)break;e=e.return}}function _i(e,t){yi=e,xi=bi=null,null!==(e=e.dependencies)&&null!==e.firstContext&&(!!(e.lanes&t)&&(bs=!0),e.firstContext=null)}function Ci(e){var t=e._currentValue;if(xi!==e)if(e={context:e,memoizedValue:t,next:null},null===bi){if(null===yi)throw Error(i(308));bi=e,yi.dependencies={lanes:0,firstContext:e}}else bi=bi.next=e;return t}var Ei=null;function Pi(e){null===Ei?Ei=[e]:Ei.push(e)}function Ti(e,t,r,n){var o=t.interleaved;return null===o?(r.next=r,Pi(t)):(r.next=o.next,o.next=r),t.interleaved=r,zi(e,n)}function zi(e,t){e.lanes|=t;var r=e.alternate;for(null!==r&&(r.lanes|=t),r=e,e=e.return;null!==e;)e.childLanes|=t,null!==(r=e.alternate)&&(r.childLanes|=t),r=e,e=e.return;return 3===r.tag?r.stateNode:null}var Ai=!1;function Ri(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function Mi(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 Fi(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function ji(e,t,r){var n=e.updateQueue;if(null===n)return null;if(n=n.shared,2&Tl){var o=n.pending;return null===o?t.next=t:(t.next=o.next,o.next=t),n.pending=t,zi(e,r)}return null===(o=n.interleaved)?(t.next=t,Pi(n)):(t.next=o.next,o.next=t),n.interleaved=t,zi(e,r)}function Bi(e,t,r){if(null!==(t=t.updateQueue)&&(t=t.shared,4194240&r)){var n=t.lanes;r|=n&=e.pendingLanes,t.lanes=r,vt(e,r)}}function Li(e,t){var r=e.updateQueue,n=e.alternate;if(null!==n&&r===(n=n.updateQueue)){var o=null,i=null;if(null!==(r=r.firstBaseUpdate)){do{var a={eventTime:r.eventTime,lane:r.lane,tag:r.tag,payload:r.payload,callback:r.callback,next:null};null===i?o=i=a:i=i.next=a,r=r.next}while(null!==r);null===i?o=i=t:i=i.next=t}else o=i=t;return r={baseState:n.baseState,firstBaseUpdate:o,lastBaseUpdate:i,shared:n.shared,effects:n.effects},void(e.updateQueue=r)}null===(e=r.lastBaseUpdate)?r.firstBaseUpdate=t:e.next=t,r.lastBaseUpdate=t}function Di(e,t,r,n){var o=e.updateQueue;Ai=!1;var i=o.firstBaseUpdate,a=o.lastBaseUpdate,s=o.shared.pending;if(null!==s){o.shared.pending=null;var l=s,u=l.next;l.next=null,null===a?i=u:a.next=u,a=l;var c=e.alternate;null!==c&&(s=(c=c.updateQueue).lastBaseUpdate)!==a&&(null===s?c.firstBaseUpdate=u:s.next=u,c.lastBaseUpdate=l)}if(null!==i){var d=o.baseState;for(a=0,c=u=l=null,s=i;;){var f=s.lane,p=s.eventTime;if((n&f)===f){null!==c&&(c=c.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=r,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=D({},d,f);break e;case 2:Ai=!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===c?(u=c=p,l=d):c=c.next=p,a|=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===c&&(l=d),o.baseState=l,o.firstBaseUpdate=u,o.lastBaseUpdate=c,null!==(t=o.shared.interleaved)){o=t;do{a|=o.lane,o=o.next}while(o!==t)}else null===i&&(o.shared.lanes=0);Ll|=a,e.lanes=a,e.memoizedState=d}}function $i(e,t,r){if(e=t.effects,t.effects=null,null!==e)for(t=0;t<e.length;t++){var n=e[t],o=n.callback;if(null!==o){if(n.callback=null,n=r,"function"!=typeof o)throw Error(i(191,o));o.call(n)}}}var Oi=(new n.Component).refs;function Ii(e,t,r,n){r=null==(r=r(n,t=e.memoizedState))?t:D({},t,r),e.memoizedState=r,0===e.lanes&&(e.updateQueue.baseState=r)}var Ni={isMounted:function(e){return!!(e=e._reactInternals)&&Ve(e)===e},enqueueSetState:function(e,t,r){e=e._reactInternals;var n=eu(),o=tu(e),i=Fi(n,o);i.payload=t,null!=r&&(i.callback=r),null!==(t=ji(e,i,o))&&(ru(t,e,o,n),Bi(t,e,o))},enqueueReplaceState:function(e,t,r){e=e._reactInternals;var n=eu(),o=tu(e),i=Fi(n,o);i.tag=1,i.payload=t,null!=r&&(i.callback=r),null!==(t=ji(e,i,o))&&(ru(t,e,o,n),Bi(t,e,o))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var r=eu(),n=tu(e),o=Fi(r,n);o.tag=2,null!=t&&(o.callback=t),null!==(t=ji(e,o,n))&&(ru(t,e,n,r),Bi(t,e,n))}};function Vi(e,t,r,n,o,i,a){return"function"==typeof(e=e.stateNode).shouldComponentUpdate?e.shouldComponentUpdate(n,i,a):!(t.prototype&&t.prototype.isPureReactComponent&&sn(r,n)&&sn(o,i))}function Wi(e,t,r){var n=!1,o=Po,i=t.contextType;return"object"==typeof i&&null!==i?i=Ci(i):(o=Mo(t)?Ao:To.current,i=(n=null!=(n=t.contextTypes))?Ro(e,o):Po),t=new t(r,i),e.memoizedState=null!==t.state&&void 0!==t.state?t.state:null,t.updater=Ni,e.stateNode=t,t._reactInternals=e,n&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=o,e.__reactInternalMemoizedMaskedChildContext=i),t}function Ui(e,t,r,n){e=t.state,"function"==typeof t.componentWillReceiveProps&&t.componentWillReceiveProps(r,n),"function"==typeof t.UNSAFE_componentWillReceiveProps&&t.UNSAFE_componentWillReceiveProps(r,n),t.state!==e&&Ni.enqueueReplaceState(t,t.state,null)}function Hi(e,t,r,n){var o=e.stateNode;o.props=r,o.state=e.memoizedState,o.refs=Oi,Ri(e);var i=t.contextType;"object"==typeof i&&null!==i?o.context=Ci(i):(i=Mo(t)?Ao:To.current,o.context=Ro(e,i)),o.state=e.memoizedState,"function"==typeof(i=t.getDerivedStateFromProps)&&(Ii(e,t,i,r),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&&Ni.enqueueReplaceState(o,o.state,null),Di(e,r,o,n),o.state=e.memoizedState),"function"==typeof o.componentDidMount&&(e.flags|=4194308)}function qi(e,t,r){if(null!==(e=r.ref)&&"function"!=typeof e&&"object"!=typeof e){if(r._owner){if(r=r._owner){if(1!==r.tag)throw Error(i(309));var n=r.stateNode}if(!n)throw Error(i(147,e));var o=n,a=""+e;return null!==t&&null!==t.ref&&"function"==typeof t.ref&&t.ref._stringRef===a?t.ref:(t=function(e){var t=o.refs;t===Oi&&(t=o.refs={}),null===e?delete t[a]:t[a]=e},t._stringRef=a,t)}if("string"!=typeof e)throw Error(i(284));if(!r._owner)throw Error(i(290,e))}return e}function Yi(e,t){throw e=Object.prototype.toString.call(t),Error(i(31,"[object Object]"===e?"object with keys {"+Object.keys(t).join(", ")+"}":e))}function Xi(e){return(0,e._init)(e._payload)}function Ki(e){function t(t,r){if(e){var n=t.deletions;null===n?(t.deletions=[r],t.flags|=16):n.push(r)}}function r(r,n){if(!e)return null;for(;null!==n;)t(r,n),n=n.sibling;return null}function n(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=Fu(e,t)).index=0,e.sibling=null,e}function a(t,r,n){return t.index=n,e?null!==(n=t.alternate)?(n=n.index)<r?(t.flags|=2,r):n:(t.flags|=2,r):(t.flags|=1048576,r)}function s(t){return e&&null===t.alternate&&(t.flags|=2),t}function l(e,t,r,n){return null===t||6!==t.tag?((t=Du(r,e.mode,n)).return=e,t):((t=o(t,r)).return=e,t)}function u(e,t,r,n){var i=r.type;return i===S?d(e,t,r.props.children,n,r.key):null!==t&&(t.elementType===i||"object"==typeof i&&null!==i&&i.$$typeof===M&&Xi(i)===t.type)?((n=o(t,r.props)).ref=qi(e,t,r),n.return=e,n):((n=ju(r.type,r.key,r.props,null,e.mode,n)).ref=qi(e,t,r),n.return=e,n)}function c(e,t,r,n){return null===t||4!==t.tag||t.stateNode.containerInfo!==r.containerInfo||t.stateNode.implementation!==r.implementation?((t=$u(r,e.mode,n)).return=e,t):((t=o(t,r.children||[])).return=e,t)}function d(e,t,r,n,i){return null===t||7!==t.tag?((t=Bu(r,e.mode,n,i)).return=e,t):((t=o(t,r)).return=e,t)}function f(e,t,r){if("string"==typeof t&&""!==t||"number"==typeof t)return(t=Du(""+t,e.mode,r)).return=e,t;if("object"==typeof t&&null!==t){switch(t.$$typeof){case w:return(r=ju(t.type,t.key,t.props,null,e.mode,r)).ref=qi(e,null,t),r.return=e,r;case k:return(t=$u(t,e.mode,r)).return=e,t;case M:return f(e,(0,t._init)(t._payload),r)}if(te(t)||B(t))return(t=Bu(t,e.mode,r,null)).return=e,t;Yi(e,t)}return null}function p(e,t,r,n){var o=null!==t?t.key:null;if("string"==typeof r&&""!==r||"number"==typeof r)return null!==o?null:l(e,t,""+r,n);if("object"==typeof r&&null!==r){switch(r.$$typeof){case w:return r.key===o?u(e,t,r,n):null;case k:return r.key===o?c(e,t,r,n):null;case M:return p(e,t,(o=r._init)(r._payload),n)}if(te(r)||B(r))return null!==o?null:d(e,t,r,n,null);Yi(e,r)}return null}function h(e,t,r,n,o){if("string"==typeof n&&""!==n||"number"==typeof n)return l(t,e=e.get(r)||null,""+n,o);if("object"==typeof n&&null!==n){switch(n.$$typeof){case w:return u(t,e=e.get(null===n.key?r:n.key)||null,n,o);case k:return c(t,e=e.get(null===n.key?r:n.key)||null,n,o);case M:return h(e,t,r,(0,n._init)(n._payload),o)}if(te(n)||B(n))return d(t,e=e.get(r)||null,n,o,null);Yi(t,n)}return null}function m(o,i,s,l){for(var u=null,c=null,d=i,m=i=0,g=null;null!==d&&m<s.length;m++){d.index>m?(g=d,d=null):g=d.sibling;var v=p(o,d,s[m],l);if(null===v){null===d&&(d=g);break}e&&d&&null===v.alternate&&t(o,d),i=a(v,i,m),null===c?u=v:c.sibling=v,c=v,d=g}if(m===s.length)return r(o,d),oi&&Zo(o,m),u;if(null===d){for(;m<s.length;m++)null!==(d=f(o,s[m],l))&&(i=a(d,i,m),null===c?u=d:c.sibling=d,c=d);return oi&&Zo(o,m),u}for(d=n(o,d);m<s.length;m++)null!==(g=h(d,o,m,s[m],l))&&(e&&null!==g.alternate&&d.delete(null===g.key?m:g.key),i=a(g,i,m),null===c?u=g:c.sibling=g,c=g);return e&&d.forEach((function(e){return t(o,e)})),oi&&Zo(o,m),u}function g(o,s,l,u){var c=B(l);if("function"!=typeof c)throw Error(i(150));if(null==(l=c.call(l)))throw Error(i(151));for(var d=c=null,m=s,g=s=0,v=null,y=l.next();null!==m&&!y.done;g++,y=l.next()){m.index>g?(v=m,m=null):v=m.sibling;var b=p(o,m,y.value,u);if(null===b){null===m&&(m=v);break}e&&m&&null===b.alternate&&t(o,m),s=a(b,s,g),null===d?c=b:d.sibling=b,d=b,m=v}if(y.done)return r(o,m),oi&&Zo(o,g),c;if(null===m){for(;!y.done;g++,y=l.next())null!==(y=f(o,y.value,u))&&(s=a(y,s,g),null===d?c=y:d.sibling=y,d=y);return oi&&Zo(o,g),c}for(m=n(o,m);!y.done;g++,y=l.next())null!==(y=h(m,o,g,y.value,u))&&(e&&null!==y.alternate&&m.delete(null===y.key?g:y.key),s=a(y,s,g),null===d?c=y:d.sibling=y,d=y);return e&&m.forEach((function(e){return t(o,e)})),oi&&Zo(o,g),c}return function e(n,i,a,l){if("object"==typeof a&&null!==a&&a.type===S&&null===a.key&&(a=a.props.children),"object"==typeof a&&null!==a){switch(a.$$typeof){case w:e:{for(var u=a.key,c=i;null!==c;){if(c.key===u){if((u=a.type)===S){if(7===c.tag){r(n,c.sibling),(i=o(c,a.props.children)).return=n,n=i;break e}}else if(c.elementType===u||"object"==typeof u&&null!==u&&u.$$typeof===M&&Xi(u)===c.type){r(n,c.sibling),(i=o(c,a.props)).ref=qi(n,c,a),i.return=n,n=i;break e}r(n,c);break}t(n,c),c=c.sibling}a.type===S?((i=Bu(a.props.children,n.mode,l,a.key)).return=n,n=i):((l=ju(a.type,a.key,a.props,null,n.mode,l)).ref=qi(n,i,a),l.return=n,n=l)}return s(n);case k:e:{for(c=a.key;null!==i;){if(i.key===c){if(4===i.tag&&i.stateNode.containerInfo===a.containerInfo&&i.stateNode.implementation===a.implementation){r(n,i.sibling),(i=o(i,a.children||[])).return=n,n=i;break e}r(n,i);break}t(n,i),i=i.sibling}(i=$u(a,n.mode,l)).return=n,n=i}return s(n);case M:return e(n,i,(c=a._init)(a._payload),l)}if(te(a))return m(n,i,a,l);if(B(a))return g(n,i,a,l);Yi(n,a)}return"string"==typeof a&&""!==a||"number"==typeof a?(a=""+a,null!==i&&6===i.tag?(r(n,i.sibling),(i=o(i,a)).return=n,n=i):(r(n,i),(i=Du(a,n.mode,l)).return=n,n=i),s(n)):r(n,i)}}var Gi=Ki(!0),Qi=Ki(!1),Zi={},Ji=_o(Zi),ea=_o(Zi),ta=_o(Zi);function ra(e){if(e===Zi)throw Error(i(174));return e}function na(e,t){switch(Eo(ta,t),Eo(ea,e),Eo(Ji,Zi),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)}Co(Ji),Eo(Ji,t)}function oa(){Co(Ji),Co(ea),Co(ta)}function ia(e){ra(ta.current);var t=ra(Ji.current),r=le(t,e.type);t!==r&&(Eo(ea,e),Eo(Ji,r))}function aa(e){ea.current===e&&(Co(Ji),Co(ea))}var sa=_o(0);function la(e){for(var t=e;null!==t;){if(13===t.tag){var r=t.memoizedState;if(null!==r&&(null===(r=r.dehydrated)||"$?"===r.data||"$!"===r.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 ua=[];function ca(){for(var e=0;e<ua.length;e++)ua[e]._workInProgressVersionPrimary=null;ua.length=0}var da=x.ReactCurrentDispatcher,fa=x.ReactCurrentBatchConfig,pa=0,ha=null,ma=null,ga=null,va=!1,ya=!1,ba=0,xa=0;function wa(){throw Error(i(321))}function ka(e,t){if(null===t)return!1;for(var r=0;r<t.length&&r<e.length;r++)if(!an(e[r],t[r]))return!1;return!0}function Sa(e,t,r,n,o,a){if(pa=a,ha=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,da.current=null===e||null===e.memoizedState?as:ss,e=r(n,o),ya){a=0;do{if(ya=!1,ba=0,25<=a)throw Error(i(301));a+=1,ga=ma=null,t.updateQueue=null,da.current=ls,e=r(n,o)}while(ya)}if(da.current=is,t=null!==ma&&null!==ma.next,pa=0,ga=ma=ha=null,va=!1,t)throw Error(i(300));return e}function _a(){var e=0!==ba;return ba=0,e}function Ca(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return null===ga?ha.memoizedState=ga=e:ga=ga.next=e,ga}function Ea(){if(null===ma){var e=ha.alternate;e=null!==e?e.memoizedState:null}else e=ma.next;var t=null===ga?ha.memoizedState:ga.next;if(null!==t)ga=t,ma=e;else{if(null===e)throw Error(i(310));e={memoizedState:(ma=e).memoizedState,baseState:ma.baseState,baseQueue:ma.baseQueue,queue:ma.queue,next:null},null===ga?ha.memoizedState=ga=e:ga=ga.next=e}return ga}function Pa(e,t){return"function"==typeof t?t(e):t}function Ta(e){var t=Ea(),r=t.queue;if(null===r)throw Error(i(311));r.lastRenderedReducer=e;var n=ma,o=n.baseQueue,a=r.pending;if(null!==a){if(null!==o){var s=o.next;o.next=a.next,a.next=s}n.baseQueue=o=a,r.pending=null}if(null!==o){a=o.next,n=n.baseState;var l=s=null,u=null,c=a;do{var d=c.lane;if((pa&d)===d)null!==u&&(u=u.next={lane:0,action:c.action,hasEagerState:c.hasEagerState,eagerState:c.eagerState,next:null}),n=c.hasEagerState?c.eagerState:e(n,c.action);else{var f={lane:d,action:c.action,hasEagerState:c.hasEagerState,eagerState:c.eagerState,next:null};null===u?(l=u=f,s=n):u=u.next=f,ha.lanes|=d,Ll|=d}c=c.next}while(null!==c&&c!==a);null===u?s=n:u.next=l,an(n,t.memoizedState)||(bs=!0),t.memoizedState=n,t.baseState=s,t.baseQueue=u,r.lastRenderedState=n}if(null!==(e=r.interleaved)){o=e;do{a=o.lane,ha.lanes|=a,Ll|=a,o=o.next}while(o!==e)}else null===o&&(r.lanes=0);return[t.memoizedState,r.dispatch]}function za(e){var t=Ea(),r=t.queue;if(null===r)throw Error(i(311));r.lastRenderedReducer=e;var n=r.dispatch,o=r.pending,a=t.memoizedState;if(null!==o){r.pending=null;var s=o=o.next;do{a=e(a,s.action),s=s.next}while(s!==o);an(a,t.memoizedState)||(bs=!0),t.memoizedState=a,null===t.baseQueue&&(t.baseState=a),r.lastRenderedState=a}return[a,n]}function Aa(){}function Ra(e,t){var r=ha,n=Ea(),o=t(),a=!an(n.memoizedState,o);if(a&&(n.memoizedState=o,bs=!0),n=n.queue,Wa(ja.bind(null,r,n,e),[e]),n.getSnapshot!==t||a||null!==ga&&1&ga.memoizedState.tag){if(r.flags|=2048,$a(9,Fa.bind(null,r,n,o,t),void 0,null),null===zl)throw Error(i(349));30&pa||Ma(r,t,o)}return o}function Ma(e,t,r){e.flags|=16384,e={getSnapshot:t,value:r},null===(t=ha.updateQueue)?(t={lastEffect:null,stores:null},ha.updateQueue=t,t.stores=[e]):null===(r=t.stores)?t.stores=[e]:r.push(e)}function Fa(e,t,r,n){t.value=r,t.getSnapshot=n,Ba(t)&&La(e)}function ja(e,t,r){return r((function(){Ba(t)&&La(e)}))}function Ba(e){var t=e.getSnapshot;e=e.value;try{var r=t();return!an(e,r)}catch(e){return!0}}function La(e){var t=zi(e,1);null!==t&&ru(t,e,1,-1)}function Da(e){var t=Ca();return"function"==typeof e&&(e=e()),t.memoizedState=t.baseState=e,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:Pa,lastRenderedState:e},t.queue=e,e=e.dispatch=ts.bind(null,ha,e),[t.memoizedState,e]}function $a(e,t,r,n){return e={tag:e,create:t,destroy:r,deps:n,next:null},null===(t=ha.updateQueue)?(t={lastEffect:null,stores:null},ha.updateQueue=t,t.lastEffect=e.next=e):null===(r=t.lastEffect)?t.lastEffect=e.next=e:(n=r.next,r.next=e,e.next=n,t.lastEffect=e),e}function Oa(){return Ea().memoizedState}function Ia(e,t,r,n){var o=Ca();ha.flags|=e,o.memoizedState=$a(1|t,r,void 0,void 0===n?null:n)}function Na(e,t,r,n){var o=Ea();n=void 0===n?null:n;var i=void 0;if(null!==ma){var a=ma.memoizedState;if(i=a.destroy,null!==n&&ka(n,a.deps))return void(o.memoizedState=$a(t,r,i,n))}ha.flags|=e,o.memoizedState=$a(1|t,r,i,n)}function Va(e,t){return Ia(8390656,8,e,t)}function Wa(e,t){return Na(2048,8,e,t)}function Ua(e,t){return Na(4,2,e,t)}function Ha(e,t){return Na(4,4,e,t)}function qa(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 Ya(e,t,r){return r=null!=r?r.concat([e]):null,Na(4,4,qa.bind(null,t,e),r)}function Xa(){}function Ka(e,t){var r=Ea();t=void 0===t?null:t;var n=r.memoizedState;return null!==n&&null!==t&&ka(t,n[1])?n[0]:(r.memoizedState=[e,t],e)}function Ga(e,t){var r=Ea();t=void 0===t?null:t;var n=r.memoizedState;return null!==n&&null!==t&&ka(t,n[1])?n[0]:(e=e(),r.memoizedState=[e,t],e)}function Qa(e,t,r){return 21&pa?(an(r,t)||(r=mt(),ha.lanes|=r,Ll|=r,e.baseState=!0),t):(e.baseState&&(e.baseState=!1,bs=!0),e.memoizedState=r)}function Za(e,t){var r=yt;yt=0!==r&&4>r?r:4,e(!0);var n=fa.transition;fa.transition={};try{e(!1),t()}finally{yt=r,fa.transition=n}}function Ja(){return Ea().memoizedState}function es(e,t,r){var n=tu(e);r={lane:n,action:r,hasEagerState:!1,eagerState:null,next:null},rs(e)?ns(t,r):null!==(r=Ti(e,t,r,n))&&(ru(r,e,n,eu()),os(r,t,n))}function ts(e,t,r){var n=tu(e),o={lane:n,action:r,hasEagerState:!1,eagerState:null,next:null};if(rs(e))ns(t,o);else{var i=e.alternate;if(0===e.lanes&&(null===i||0===i.lanes)&&null!==(i=t.lastRenderedReducer))try{var a=t.lastRenderedState,s=i(a,r);if(o.hasEagerState=!0,o.eagerState=s,an(s,a)){var l=t.interleaved;return null===l?(o.next=o,Pi(t)):(o.next=l.next,l.next=o),void(t.interleaved=o)}}catch(e){}null!==(r=Ti(e,t,o,n))&&(ru(r,e,n,o=eu()),os(r,t,n))}}function rs(e){var t=e.alternate;return e===ha||null!==t&&t===ha}function ns(e,t){ya=va=!0;var r=e.pending;null===r?t.next=t:(t.next=r.next,r.next=t),e.pending=t}function os(e,t,r){if(4194240&r){var n=t.lanes;r|=n&=e.pendingLanes,t.lanes=r,vt(e,r)}}var is={readContext:Ci,useCallback:wa,useContext:wa,useEffect:wa,useImperativeHandle:wa,useInsertionEffect:wa,useLayoutEffect:wa,useMemo:wa,useReducer:wa,useRef:wa,useState:wa,useDebugValue:wa,useDeferredValue:wa,useTransition:wa,useMutableSource:wa,useSyncExternalStore:wa,useId:wa,unstable_isNewReconciler:!1},as={readContext:Ci,useCallback:function(e,t){return Ca().memoizedState=[e,void 0===t?null:t],e},useContext:Ci,useEffect:Va,useImperativeHandle:function(e,t,r){return r=null!=r?r.concat([e]):null,Ia(4194308,4,qa.bind(null,t,e),r)},useLayoutEffect:function(e,t){return Ia(4194308,4,e,t)},useInsertionEffect:function(e,t){return Ia(4,2,e,t)},useMemo:function(e,t){var r=Ca();return t=void 0===t?null:t,e=e(),r.memoizedState=[e,t],e},useReducer:function(e,t,r){var n=Ca();return t=void 0!==r?r(t):t,n.memoizedState=n.baseState=t,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},n.queue=e,e=e.dispatch=es.bind(null,ha,e),[n.memoizedState,e]},useRef:function(e){return e={current:e},Ca().memoizedState=e},useState:Da,useDebugValue:Xa,useDeferredValue:function(e){return Ca().memoizedState=e},useTransition:function(){var e=Da(!1),t=e[0];return e=Za.bind(null,e[1]),Ca().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,r){var n=ha,o=Ca();if(oi){if(void 0===r)throw Error(i(407));r=r()}else{if(r=t(),null===zl)throw Error(i(349));30&pa||Ma(n,t,r)}o.memoizedState=r;var a={value:r,getSnapshot:t};return o.queue=a,Va(ja.bind(null,n,a,e),[e]),n.flags|=2048,$a(9,Fa.bind(null,n,a,r,t),void 0,null),r},useId:function(){var e=Ca(),t=zl.identifierPrefix;if(oi){var r=Qo;t=":"+t+"R"+(r=(Go&~(1<<32-at(Go)-1)).toString(32)+r),0<(r=ba++)&&(t+="H"+r.toString(32)),t+=":"}else t=":"+t+"r"+(r=xa++).toString(32)+":";return e.memoizedState=t},unstable_isNewReconciler:!1},ss={readContext:Ci,useCallback:Ka,useContext:Ci,useEffect:Wa,useImperativeHandle:Ya,useInsertionEffect:Ua,useLayoutEffect:Ha,useMemo:Ga,useReducer:Ta,useRef:Oa,useState:function(){return Ta(Pa)},useDebugValue:Xa,useDeferredValue:function(e){return Qa(Ea(),ma.memoizedState,e)},useTransition:function(){return[Ta(Pa)[0],Ea().memoizedState]},useMutableSource:Aa,useSyncExternalStore:Ra,useId:Ja,unstable_isNewReconciler:!1},ls={readContext:Ci,useCallback:Ka,useContext:Ci,useEffect:Wa,useImperativeHandle:Ya,useInsertionEffect:Ua,useLayoutEffect:Ha,useMemo:Ga,useReducer:za,useRef:Oa,useState:function(){return za(Pa)},useDebugValue:Xa,useDeferredValue:function(e){var t=Ea();return null===ma?t.memoizedState=e:Qa(t,ma.memoizedState,e)},useTransition:function(){return[za(Pa)[0],Ea().memoizedState]},useMutableSource:Aa,useSyncExternalStore:Ra,useId:Ja,unstable_isNewReconciler:!1};function us(e,t){try{var r="",n=t;do{r+=N(n),n=n.return}while(n);var o=r}catch(e){o="\nError generating stack: "+e.message+"\n"+e.stack}return{value:e,source:t,stack:o,digest:null}}function cs(e,t,r){return{value:e,source:null,stack:null!=r?r:null,digest:null!=t?t:null}}function ds(e,t){try{console.error(t.value)}catch(e){setTimeout((function(){throw e}))}}var fs="function"==typeof WeakMap?WeakMap:Map;function ps(e,t,r){(r=Fi(-1,r)).tag=3,r.payload={element:null};var n=t.value;return r.callback=function(){Ul||(Ul=!0,Hl=n),ds(0,t)},r}function hs(e,t,r){(r=Fi(-1,r)).tag=3;var n=e.type.getDerivedStateFromError;if("function"==typeof n){var o=t.value;r.payload=function(){return n(o)},r.callback=function(){ds(0,t)}}var i=e.stateNode;return null!==i&&"function"==typeof i.componentDidCatch&&(r.callback=function(){ds(0,t),"function"!=typeof n&&(null===ql?ql=new Set([this]):ql.add(this));var e=t.stack;this.componentDidCatch(t.value,{componentStack:null!==e?e:""})}),r}function ms(e,t,r){var n=e.pingCache;if(null===n){n=e.pingCache=new fs;var o=new Set;n.set(t,o)}else void 0===(o=n.get(t))&&(o=new Set,n.set(t,o));o.has(r)||(o.add(r),e=Cu.bind(null,e,t,r),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 vs(e,t,r,n,o){return 1&e.mode?(e.flags|=65536,e.lanes=o,e):(e===t?e.flags|=65536:(e.flags|=128,r.flags|=131072,r.flags&=-52805,1===r.tag&&(null===r.alternate?r.tag=17:((t=Fi(-1,1)).tag=2,ji(r,t,1))),r.lanes|=1),e)}var ys=x.ReactCurrentOwner,bs=!1;function xs(e,t,r,n){t.child=null===e?Qi(t,null,r,n):Gi(t,e.child,r,n)}function ws(e,t,r,n,o){r=r.render;var i=t.ref;return _i(t,o),n=Sa(e,t,r,n,i,o),r=_a(),null===e||bs?(oi&&r&&ei(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 ks(e,t,r,n,o){if(null===e){var i=r.type;return"function"!=typeof i||Mu(i)||void 0!==i.defaultProps||null!==r.compare||void 0!==r.defaultProps?((e=ju(r.type,null,n,t,t.mode,o)).ref=t.ref,e.return=t,t.child=e):(t.tag=15,t.type=i,Ss(e,t,i,n,o))}if(i=e.child,!(e.lanes&o)){var a=i.memoizedProps;if((r=null!==(r=r.compare)?r:sn)(a,n)&&e.ref===t.ref)return Us(e,t,o)}return t.flags|=1,(e=Fu(i,n)).ref=t.ref,e.return=t,t.child=e}function Ss(e,t,r,n,o){if(null!==e){var i=e.memoizedProps;if(sn(i,n)&&e.ref===t.ref){if(bs=!1,t.pendingProps=n=i,!(e.lanes&o))return t.lanes=e.lanes,Us(e,t,o);131072&e.flags&&(bs=!0)}}return Es(e,t,r,n,o)}function _s(e,t,r){var n=t.pendingProps,o=n.children,i=null!==e?e.memoizedState:null;if("hidden"===n.mode)if(1&t.mode){if(!(1073741824&r))return e=null!==i?i.baseLanes|r:r,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e,cachePool:null,transitions:null},t.updateQueue=null,Eo(Fl,Ml),Ml|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},n=null!==i?i.baseLanes:r,Eo(Fl,Ml),Ml|=n}else t.memoizedState={baseLanes:0,cachePool:null,transitions:null},Eo(Fl,Ml),Ml|=r;else null!==i?(n=i.baseLanes|r,t.memoizedState=null):n=r,Eo(Fl,Ml),Ml|=n;return xs(e,t,o,r),t.child}function Cs(e,t){var r=t.ref;(null===e&&null!==r||null!==e&&e.ref!==r)&&(t.flags|=512,t.flags|=2097152)}function Es(e,t,r,n,o){var i=Mo(r)?Ao:To.current;return i=Ro(t,i),_i(t,o),r=Sa(e,t,r,n,i,o),n=_a(),null===e||bs?(oi&&n&&ei(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 Ps(e,t,r,n,o){if(Mo(r)){var i=!0;Lo(t)}else i=!1;if(_i(t,o),null===t.stateNode)Ws(e,t),Wi(t,r,n),Hi(t,r,n,o),n=!0;else if(null===e){var a=t.stateNode,s=t.memoizedProps;a.props=s;var l=a.context,u=r.contextType;u="object"==typeof u&&null!==u?Ci(u):Ro(t,u=Mo(r)?Ao:To.current);var c=r.getDerivedStateFromProps,d="function"==typeof c||"function"==typeof a.getSnapshotBeforeUpdate;d||"function"!=typeof a.UNSAFE_componentWillReceiveProps&&"function"!=typeof a.componentWillReceiveProps||(s!==n||l!==u)&&Ui(t,a,n,u),Ai=!1;var f=t.memoizedState;a.state=f,Di(t,n,a,o),l=t.memoizedState,s!==n||f!==l||zo.current||Ai?("function"==typeof c&&(Ii(t,r,c,n),l=t.memoizedState),(s=Ai||Vi(t,r,s,n,f,l,u))?(d||"function"!=typeof a.UNSAFE_componentWillMount&&"function"!=typeof a.componentWillMount||("function"==typeof a.componentWillMount&&a.componentWillMount(),"function"==typeof a.UNSAFE_componentWillMount&&a.UNSAFE_componentWillMount()),"function"==typeof a.componentDidMount&&(t.flags|=4194308)):("function"==typeof a.componentDidMount&&(t.flags|=4194308),t.memoizedProps=n,t.memoizedState=l),a.props=n,a.state=l,a.context=u,n=s):("function"==typeof a.componentDidMount&&(t.flags|=4194308),n=!1)}else{a=t.stateNode,Mi(e,t),s=t.memoizedProps,u=t.type===t.elementType?s:gi(t.type,s),a.props=u,d=t.pendingProps,f=a.context,l="object"==typeof(l=r.contextType)&&null!==l?Ci(l):Ro(t,l=Mo(r)?Ao:To.current);var p=r.getDerivedStateFromProps;(c="function"==typeof p||"function"==typeof a.getSnapshotBeforeUpdate)||"function"!=typeof a.UNSAFE_componentWillReceiveProps&&"function"!=typeof a.componentWillReceiveProps||(s!==d||f!==l)&&Ui(t,a,n,l),Ai=!1,f=t.memoizedState,a.state=f,Di(t,n,a,o);var h=t.memoizedState;s!==d||f!==h||zo.current||Ai?("function"==typeof p&&(Ii(t,r,p,n),h=t.memoizedState),(u=Ai||Vi(t,r,u,n,f,h,l)||!1)?(c||"function"!=typeof a.UNSAFE_componentWillUpdate&&"function"!=typeof a.componentWillUpdate||("function"==typeof a.componentWillUpdate&&a.componentWillUpdate(n,h,l),"function"==typeof a.UNSAFE_componentWillUpdate&&a.UNSAFE_componentWillUpdate(n,h,l)),"function"==typeof a.componentDidUpdate&&(t.flags|=4),"function"==typeof a.getSnapshotBeforeUpdate&&(t.flags|=1024)):("function"!=typeof a.componentDidUpdate||s===e.memoizedProps&&f===e.memoizedState||(t.flags|=4),"function"!=typeof a.getSnapshotBeforeUpdate||s===e.memoizedProps&&f===e.memoizedState||(t.flags|=1024),t.memoizedProps=n,t.memoizedState=h),a.props=n,a.state=h,a.context=l,n=u):("function"!=typeof a.componentDidUpdate||s===e.memoizedProps&&f===e.memoizedState||(t.flags|=4),"function"!=typeof a.getSnapshotBeforeUpdate||s===e.memoizedProps&&f===e.memoizedState||(t.flags|=1024),n=!1)}return Ts(e,t,r,n,i,o)}function Ts(e,t,r,n,o,i){Cs(e,t);var a=!!(128&t.flags);if(!n&&!a)return o&&Do(t,r,!1),Us(e,t,i);n=t.stateNode,ys.current=t;var s=a&&"function"!=typeof r.getDerivedStateFromError?null:n.render();return t.flags|=1,null!==e&&a?(t.child=Gi(t,e.child,null,i),t.child=Gi(t,null,s,i)):xs(e,t,s,i),t.memoizedState=n.state,o&&Do(t,r,!0),t.child}function zs(e){var t=e.stateNode;t.pendingContext?jo(0,t.pendingContext,t.pendingContext!==t.context):t.context&&jo(0,t.context,!1),na(e,t.containerInfo)}function As(e,t,r,n,o){return pi(),hi(o),t.flags|=256,xs(e,t,r,n),t.child}var Rs,Ms,Fs,js,Bs={dehydrated:null,treeContext:null,retryLane:0};function Ls(e){return{baseLanes:e,cachePool:null,transitions:null}}function Ds(e,t,r){var n,o=t.pendingProps,a=sa.current,s=!1,l=!!(128&t.flags);if((n=l)||(n=(null===e||null!==e.memoizedState)&&!!(2&a)),n?(s=!0,t.flags&=-129):null!==e&&null===e.memoizedState||(a|=1),Eo(sa,1&a),null===e)return ui(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=Lu(l,o,0,null):(s.childLanes=0,s.pendingProps=l),e=Bu(e,o,r,null),s.return=t,e.return=t,s.sibling=e,t.child=s,t.child.memoizedState=Ls(r),t.memoizedState=Bs,e):$s(t,l));if(null!==(a=e.memoizedState)&&null!==(n=a.dehydrated))return function(e,t,r,n,o,a,s){if(r)return 256&t.flags?(t.flags&=-257,Os(e,t,s,n=cs(Error(i(422))))):null!==t.memoizedState?(t.child=e.child,t.flags|=128,null):(a=n.fallback,o=t.mode,n=Lu({mode:"visible",children:n.children},o,0,null),(a=Bu(a,o,s,null)).flags|=2,n.return=t,a.return=t,n.sibling=a,t.child=n,1&t.mode&&Gi(t,e.child,null,s),t.child.memoizedState=Ls(s),t.memoizedState=Bs,a);if(!(1&t.mode))return Os(e,t,s,null);if("$!"===o.data){if(n=o.nextSibling&&o.nextSibling.dataset)var l=n.dgst;return n=l,Os(e,t,s,n=cs(a=Error(i(419)),n,void 0))}if(l=!!(s&e.childLanes),bs||l){if(null!==(n=zl)){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=o&(n.suspendedLanes|s)?0:o)&&o!==a.retryLane&&(a.retryLane=o,zi(e,o),ru(n,e,o,-1))}return mu(),Os(e,t,s,n=cs(Error(i(421))))}return"$?"===o.data?(t.flags|=128,t.child=e.child,t=Pu.bind(null,e),o._reactRetry=t,null):(e=a.treeContext,ni=lo(o.nextSibling),ri=t,oi=!0,ii=null,null!==e&&(Yo[Xo++]=Go,Yo[Xo++]=Qo,Yo[Xo++]=Ko,Go=e.id,Qo=e.overflow,Ko=t),(t=$s(t,n.children)).flags|=4096,t)}(e,t,l,o,n,a,r);if(s){s=o.fallback,l=t.mode,n=(a=e.child).sibling;var u={mode:"hidden",children:o.children};return 1&l||t.child===a?(o=Fu(a,u)).subtreeFlags=14680064&a.subtreeFlags:((o=t.child).childLanes=0,o.pendingProps=u,t.deletions=null),null!==n?s=Fu(n,s):(s=Bu(s,l,r,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(r):{baseLanes:l.baseLanes|r,cachePool:null,transitions:l.transitions},s.memoizedState=l,s.childLanes=e.childLanes&~r,t.memoizedState=Bs,o}return e=(s=e.child).sibling,o=Fu(s,{mode:"visible",children:o.children}),!(1&t.mode)&&(o.lanes=r),o.return=t,o.sibling=null,null!==e&&(null===(r=t.deletions)?(t.deletions=[e],t.flags|=16):r.push(e)),t.child=o,t.memoizedState=null,o}function $s(e,t){return(t=Lu({mode:"visible",children:t},e.mode,0,null)).return=e,e.child=t}function Os(e,t,r,n){return null!==n&&hi(n),Gi(t,e.child,null,r),(e=$s(t,t.pendingProps.children)).flags|=2,t.memoizedState=null,e}function Is(e,t,r){e.lanes|=t;var n=e.alternate;null!==n&&(n.lanes|=t),Si(e.return,t,r)}function Ns(e,t,r,n,o){var i=e.memoizedState;null===i?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:n,tail:r,tailMode:o}:(i.isBackwards=t,i.rendering=null,i.renderingStartTime=0,i.last=n,i.tail=r,i.tailMode=o)}function Vs(e,t,r){var n=t.pendingProps,o=n.revealOrder,i=n.tail;if(xs(e,t,n.children,r),2&(n=sa.current))n=1&n|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&&Is(e,r,t);else if(19===e.tag)Is(e,r,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}n&=1}if(Eo(sa,n),1&t.mode)switch(o){case"forwards":for(r=t.child,o=null;null!==r;)null!==(e=r.alternate)&&null===la(e)&&(o=r),r=r.sibling;null===(r=o)?(o=t.child,t.child=null):(o=r.sibling,r.sibling=null),Ns(t,!1,o,r,i);break;case"backwards":for(r=null,o=t.child,t.child=null;null!==o;){if(null!==(e=o.alternate)&&null===la(e)){t.child=o;break}e=o.sibling,o.sibling=r,r=o,o=e}Ns(t,!0,r,null,i);break;case"together":Ns(t,!1,null,null,void 0);break;default:t.memoizedState=null}else t.memoizedState=null;return t.child}function Ws(e,t){!(1&t.mode)&&null!==e&&(e.alternate=null,t.alternate=null,t.flags|=2)}function Us(e,t,r){if(null!==e&&(t.dependencies=e.dependencies),Ll|=t.lanes,!(r&t.childLanes))return null;if(null!==e&&t.child!==e.child)throw Error(i(153));if(null!==t.child){for(r=Fu(e=t.child,e.pendingProps),t.child=r,r.return=t;null!==e.sibling;)e=e.sibling,(r=r.sibling=Fu(e,e.pendingProps)).return=t;r.sibling=null}return t.child}function Hs(e,t){if(!oi)switch(e.tailMode){case"hidden":t=e.tail;for(var r=null;null!==t;)null!==t.alternate&&(r=t),t=t.sibling;null===r?e.tail=null:r.sibling=null;break;case"collapsed":r=e.tail;for(var n=null;null!==r;)null!==r.alternate&&(n=r),r=r.sibling;null===n?t||null===e.tail?e.tail=null:e.tail.sibling=null:n.sibling=null}}function qs(e){var t=null!==e.alternate&&e.alternate.child===e.child,r=0,n=0;if(t)for(var o=e.child;null!==o;)r|=o.lanes|o.childLanes,n|=14680064&o.subtreeFlags,n|=14680064&o.flags,o.return=e,o=o.sibling;else for(o=e.child;null!==o;)r|=o.lanes|o.childLanes,n|=o.subtreeFlags,n|=o.flags,o.return=e,o=o.sibling;return e.subtreeFlags|=n,e.childLanes=r,t}function Ys(e,t,r){var n=t.pendingProps;switch(ti(t),t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return qs(t),null;case 1:case 17:return Mo(t.type)&&Fo(),qs(t),null;case 3:return n=t.stateNode,oa(),Co(zo),Co(To),ca(),n.pendingContext&&(n.context=n.pendingContext,n.pendingContext=null),null!==e&&null!==e.child||(di(t)?t.flags|=4:null===e||e.memoizedState.isDehydrated&&!(256&t.flags)||(t.flags|=1024,null!==ii&&(au(ii),ii=null))),Ms(e,t),qs(t),null;case 5:aa(t);var o=ra(ta.current);if(r=t.type,null!==e&&null!=t.stateNode)Fs(e,t,r,n,o),e.ref!==t.ref&&(t.flags|=512,t.flags|=2097152);else{if(!n){if(null===t.stateNode)throw Error(i(166));return qs(t),null}if(e=ra(Ji.current),di(t)){n=t.stateNode,r=t.type;var a=t.memoizedProps;switch(n[fo]=t,n[po]=a,e=!!(1&t.mode),r){case"dialog":$n("cancel",n),$n("close",n);break;case"iframe":case"object":case"embed":$n("load",n);break;case"video":case"audio":for(o=0;o<jn.length;o++)$n(jn[o],n);break;case"source":$n("error",n);break;case"img":case"image":case"link":$n("error",n),$n("load",n);break;case"details":$n("toggle",n);break;case"input":G(n,a),$n("invalid",n);break;case"select":n._wrapperState={wasMultiple:!!a.multiple},$n("invalid",n);break;case"textarea":oe(n,a),$n("invalid",n)}for(var l in ye(r,a),o=null,a)if(a.hasOwnProperty(l)){var u=a[l];"children"===l?"string"==typeof u?n.textContent!==u&&(!0!==a.suppressHydrationWarning&&Qn(n.textContent,u,e),o=["children",u]):"number"==typeof u&&n.textContent!==""+u&&(!0!==a.suppressHydrationWarning&&Qn(n.textContent,u,e),o=["children",""+u]):s.hasOwnProperty(l)&&null!=u&&"onScroll"===l&&$n("scroll",n)}switch(r){case"input":q(n),J(n,a,!0);break;case"textarea":q(n),ae(n);break;case"select":case"option":break;default:"function"==typeof a.onClick&&(n.onclick=Zn)}n=o,t.updateQueue=n,null!==n&&(t.flags|=4)}else{l=9===o.nodeType?o:o.ownerDocument,"http://www.w3.org/1999/xhtml"===e&&(e=se(r)),"http://www.w3.org/1999/xhtml"===e?"script"===r?((e=l.createElement("div")).innerHTML="<script><\/script>",e=e.removeChild(e.firstChild)):"string"==typeof n.is?e=l.createElement(r,{is:n.is}):(e=l.createElement(r),"select"===r&&(l=e,n.multiple?l.multiple=!0:n.size&&(l.size=n.size))):e=l.createElementNS(e,r),e[fo]=t,e[po]=n,Rs(e,t,!1,!1),t.stateNode=e;e:{switch(l=be(r,n),r){case"dialog":$n("cancel",e),$n("close",e),o=n;break;case"iframe":case"object":case"embed":$n("load",e),o=n;break;case"video":case"audio":for(o=0;o<jn.length;o++)$n(jn[o],e);o=n;break;case"source":$n("error",e),o=n;break;case"img":case"image":case"link":$n("error",e),$n("load",e),o=n;break;case"details":$n("toggle",e),o=n;break;case"input":G(e,n),o=K(e,n),$n("invalid",e);break;case"option":default:o=n;break;case"select":e._wrapperState={wasMultiple:!!n.multiple},o=D({},n,{value:void 0}),$n("invalid",e);break;case"textarea":oe(e,n),o=ne(e,n),$n("invalid",e)}for(a in ye(r,o),u=o)if(u.hasOwnProperty(a)){var c=u[a];"style"===a?ge(e,c):"dangerouslySetInnerHTML"===a?null!=(c=c?c.__html:void 0)&&de(e,c):"children"===a?"string"==typeof c?("textarea"!==r||""!==c)&&fe(e,c):"number"==typeof c&&fe(e,""+c):"suppressContentEditableWarning"!==a&&"suppressHydrationWarning"!==a&&"autoFocus"!==a&&(s.hasOwnProperty(a)?null!=c&&"onScroll"===a&&$n("scroll",e):null!=c&&b(e,a,c,l))}switch(r){case"input":q(e),J(e,n,!1);break;case"textarea":q(e),ae(e);break;case"option":null!=n.value&&e.setAttribute("value",""+U(n.value));break;case"select":e.multiple=!!n.multiple,null!=(a=n.value)?re(e,!!n.multiple,a,!1):null!=n.defaultValue&&re(e,!!n.multiple,n.defaultValue,!0);break;default:"function"==typeof o.onClick&&(e.onclick=Zn)}switch(r){case"button":case"input":case"select":case"textarea":n=!!n.autoFocus;break e;case"img":n=!0;break e;default:n=!1}}n&&(t.flags|=4)}null!==t.ref&&(t.flags|=512,t.flags|=2097152)}return qs(t),null;case 6:if(e&&null!=t.stateNode)js(e,t,e.memoizedProps,n);else{if("string"!=typeof n&&null===t.stateNode)throw Error(i(166));if(r=ra(ta.current),ra(Ji.current),di(t)){if(n=t.stateNode,r=t.memoizedProps,n[fo]=t,(a=n.nodeValue!==r)&&null!==(e=ri))switch(e.tag){case 3:Qn(n.nodeValue,r,!!(1&e.mode));break;case 5:!0!==e.memoizedProps.suppressHydrationWarning&&Qn(n.nodeValue,r,!!(1&e.mode))}a&&(t.flags|=4)}else(n=(9===r.nodeType?r:r.ownerDocument).createTextNode(n))[fo]=t,t.stateNode=n}return qs(t),null;case 13:if(Co(sa),n=t.memoizedState,null===e||null!==e.memoizedState&&null!==e.memoizedState.dehydrated){if(oi&&null!==ni&&1&t.mode&&!(128&t.flags))fi(),pi(),t.flags|=98560,a=!1;else if(a=di(t),null!==n&&null!==n.dehydrated){if(null===e){if(!a)throw Error(i(318));if(!(a=null!==(a=t.memoizedState)?a.dehydrated:null))throw Error(i(317));a[fo]=t}else pi(),!(128&t.flags)&&(t.memoizedState=null),t.flags|=4;qs(t),a=!1}else null!==ii&&(au(ii),ii=null),a=!0;if(!a)return 65536&t.flags?t:null}return 128&t.flags?(t.lanes=r,t):((n=null!==n)!=(null!==e&&null!==e.memoizedState)&&n&&(t.child.flags|=8192,1&t.mode&&(null===e||1&sa.current?0===jl&&(jl=3):mu())),null!==t.updateQueue&&(t.flags|=4),qs(t),null);case 4:return oa(),Ms(e,t),null===e&&Nn(t.stateNode.containerInfo),qs(t),null;case 10:return ki(t.type._context),qs(t),null;case 19:if(Co(sa),null===(a=t.memoizedState))return qs(t),null;if(n=!!(128&t.flags),null===(l=a.rendering))if(n)Hs(a,!1);else{if(0!==jl||null!==e&&128&e.flags)for(e=t.child;null!==e;){if(null!==(l=la(e))){for(t.flags|=128,Hs(a,!1),null!==(n=l.updateQueue)&&(t.updateQueue=n,t.flags|=4),t.subtreeFlags=0,n=r,r=t.child;null!==r;)e=n,(a=r).flags&=14680066,null===(l=a.alternate)?(a.childLanes=0,a.lanes=e,a.child=null,a.subtreeFlags=0,a.memoizedProps=null,a.memoizedState=null,a.updateQueue=null,a.dependencies=null,a.stateNode=null):(a.childLanes=l.childLanes,a.lanes=l.lanes,a.child=l.child,a.subtreeFlags=0,a.deletions=null,a.memoizedProps=l.memoizedProps,a.memoizedState=l.memoizedState,a.updateQueue=l.updateQueue,a.type=l.type,e=l.dependencies,a.dependencies=null===e?null:{lanes:e.lanes,firstContext:e.firstContext}),r=r.sibling;return Eo(sa,1&sa.current|2),t.child}e=e.sibling}null!==a.tail&&Qe()>Vl&&(t.flags|=128,n=!0,Hs(a,!1),t.lanes=4194304)}else{if(!n)if(null!==(e=la(l))){if(t.flags|=128,n=!0,null!==(r=e.updateQueue)&&(t.updateQueue=r,t.flags|=4),Hs(a,!0),null===a.tail&&"hidden"===a.tailMode&&!l.alternate&&!oi)return qs(t),null}else 2*Qe()-a.renderingStartTime>Vl&&1073741824!==r&&(t.flags|=128,n=!0,Hs(a,!1),t.lanes=4194304);a.isBackwards?(l.sibling=t.child,t.child=l):(null!==(r=a.last)?r.sibling=l:t.child=l,a.last=l)}return null!==a.tail?(t=a.tail,a.rendering=t,a.tail=t.sibling,a.renderingStartTime=Qe(),t.sibling=null,r=sa.current,Eo(sa,n?1&r|2:1&r),t):(qs(t),null);case 22:case 23:return du(),n=null!==t.memoizedState,null!==e&&null!==e.memoizedState!==n&&(t.flags|=8192),n&&1&t.mode?!!(1073741824&Ml)&&(qs(t),6&t.subtreeFlags&&(t.flags|=8192)):qs(t),null;case 24:case 25:return null}throw Error(i(156,t.tag))}function Xs(e,t){switch(ti(t),t.tag){case 1:return Mo(t.type)&&Fo(),65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 3:return oa(),Co(zo),Co(To),ca(),65536&(e=t.flags)&&!(128&e)?(t.flags=-65537&e|128,t):null;case 5:return aa(t),null;case 13:if(Co(sa),null!==(e=t.memoizedState)&&null!==e.dehydrated){if(null===t.alternate)throw Error(i(340));pi()}return 65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 19:return Co(sa),null;case 4:return oa(),null;case 10:return ki(t.type._context),null;case 22:case 23:return du(),null;default:return null}}Rs=function(e,t){for(var r=t.child;null!==r;){if(5===r.tag||6===r.tag)e.appendChild(r.stateNode);else if(4!==r.tag&&null!==r.child){r.child.return=r,r=r.child;continue}if(r===t)break;for(;null===r.sibling;){if(null===r.return||r.return===t)return;r=r.return}r.sibling.return=r.return,r=r.sibling}},Ms=function(){},Fs=function(e,t,r,n){var o=e.memoizedProps;if(o!==n){e=t.stateNode,ra(Ji.current);var i,a=null;switch(r){case"input":o=K(e,o),n=K(e,n),a=[];break;case"select":o=D({},o,{value:void 0}),n=D({},n,{value:void 0}),a=[];break;case"textarea":o=ne(e,o),n=ne(e,n),a=[];break;default:"function"!=typeof o.onClick&&"function"==typeof n.onClick&&(e.onclick=Zn)}for(c in ye(r,n),r=null,o)if(!n.hasOwnProperty(c)&&o.hasOwnProperty(c)&&null!=o[c])if("style"===c){var l=o[c];for(i in l)l.hasOwnProperty(i)&&(r||(r={}),r[i]="")}else"dangerouslySetInnerHTML"!==c&&"children"!==c&&"suppressContentEditableWarning"!==c&&"suppressHydrationWarning"!==c&&"autoFocus"!==c&&(s.hasOwnProperty(c)?a||(a=[]):(a=a||[]).push(c,null));for(c in n){var u=n[c];if(l=null!=o?o[c]:void 0,n.hasOwnProperty(c)&&u!==l&&(null!=u||null!=l))if("style"===c)if(l){for(i in l)!l.hasOwnProperty(i)||u&&u.hasOwnProperty(i)||(r||(r={}),r[i]="");for(i in u)u.hasOwnProperty(i)&&l[i]!==u[i]&&(r||(r={}),r[i]=u[i])}else r||(a||(a=[]),a.push(c,r)),r=u;else"dangerouslySetInnerHTML"===c?(u=u?u.__html:void 0,l=l?l.__html:void 0,null!=u&&l!==u&&(a=a||[]).push(c,u)):"children"===c?"string"!=typeof u&&"number"!=typeof u||(a=a||[]).push(c,""+u):"suppressContentEditableWarning"!==c&&"suppressHydrationWarning"!==c&&(s.hasOwnProperty(c)?(null!=u&&"onScroll"===c&&$n("scroll",e),a||l===u||(a=[])):(a=a||[]).push(c,u))}r&&(a=a||[]).push("style",r);var c=a;(t.updateQueue=c)&&(t.flags|=4)}},js=function(e,t,r,n){r!==n&&(t.flags|=4)};var Ks=!1,Gs=!1,Qs="function"==typeof WeakSet?WeakSet:Set,Zs=null;function Js(e,t){var r=e.ref;if(null!==r)if("function"==typeof r)try{r(null)}catch(r){_u(e,t,r)}else r.current=null}function el(e,t,r){try{r()}catch(r){_u(e,t,r)}}var tl=!1;function rl(e,t,r){var n=t.updateQueue;if(null!==(n=null!==n?n.lastEffect:null)){var o=n=n.next;do{if((o.tag&e)===e){var i=o.destroy;o.destroy=void 0,void 0!==i&&el(t,r,i)}o=o.next}while(o!==n)}}function nl(e,t){if(null!==(t=null!==(t=t.updateQueue)?t.lastEffect:null)){var r=t=t.next;do{if((r.tag&e)===e){var n=r.create;r.destroy=n()}r=r.next}while(r!==t)}}function ol(e){var t=e.ref;if(null!==t){var r=e.stateNode;e.tag,e=r,"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[fo],delete t[po],delete t[mo],delete t[go],delete t[vo]),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 al(e){return 5===e.tag||3===e.tag||4===e.tag}function sl(e){e:for(;;){for(;null===e.sibling;){if(null===e.return||al(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 ll(e,t,r){var n=e.tag;if(5===n||6===n)e=e.stateNode,t?8===r.nodeType?r.parentNode.insertBefore(e,t):r.insertBefore(e,t):(8===r.nodeType?(t=r.parentNode).insertBefore(e,r):(t=r).appendChild(e),null!=(r=r._reactRootContainer)||null!==t.onclick||(t.onclick=Zn));else if(4!==n&&null!==(e=e.child))for(ll(e,t,r),e=e.sibling;null!==e;)ll(e,t,r),e=e.sibling}function ul(e,t,r){var n=e.tag;if(5===n||6===n)e=e.stateNode,t?r.insertBefore(e,t):r.appendChild(e);else if(4!==n&&null!==(e=e.child))for(ul(e,t,r),e=e.sibling;null!==e;)ul(e,t,r),e=e.sibling}var cl=null,dl=!1;function fl(e,t,r){for(r=r.child;null!==r;)pl(e,t,r),r=r.sibling}function pl(e,t,r){if(it&&"function"==typeof it.onCommitFiberUnmount)try{it.onCommitFiberUnmount(ot,r)}catch(e){}switch(r.tag){case 5:Gs||Js(r,t);case 6:var n=cl,o=dl;cl=null,fl(e,t,r),dl=o,null!==(cl=n)&&(dl?(e=cl,r=r.stateNode,8===e.nodeType?e.parentNode.removeChild(r):e.removeChild(r)):cl.removeChild(r.stateNode));break;case 18:null!==cl&&(dl?(e=cl,r=r.stateNode,8===e.nodeType?so(e.parentNode,r):1===e.nodeType&&so(e,r),Nt(e)):so(cl,r.stateNode));break;case 4:n=cl,o=dl,cl=r.stateNode.containerInfo,dl=!0,fl(e,t,r),cl=n,dl=o;break;case 0:case 11:case 14:case 15:if(!Gs&&null!==(n=r.updateQueue)&&null!==(n=n.lastEffect)){o=n=n.next;do{var i=o,a=i.destroy;i=i.tag,void 0!==a&&(2&i||4&i)&&el(r,t,a),o=o.next}while(o!==n)}fl(e,t,r);break;case 1:if(!Gs&&(Js(r,t),"function"==typeof(n=r.stateNode).componentWillUnmount))try{n.props=r.memoizedProps,n.state=r.memoizedState,n.componentWillUnmount()}catch(e){_u(r,t,e)}fl(e,t,r);break;case 21:fl(e,t,r);break;case 22:1&r.mode?(Gs=(n=Gs)||null!==r.memoizedState,fl(e,t,r),Gs=n):fl(e,t,r);break;default:fl(e,t,r)}}function hl(e){var t=e.updateQueue;if(null!==t){e.updateQueue=null;var r=e.stateNode;null===r&&(r=e.stateNode=new Qs),t.forEach((function(t){var n=Tu.bind(null,e,t);r.has(t)||(r.add(t),t.then(n,n))}))}}function ml(e,t){var r=t.deletions;if(null!==r)for(var n=0;n<r.length;n++){var o=r[n];try{var a=e,s=t,l=s;e:for(;null!==l;){switch(l.tag){case 5:cl=l.stateNode,dl=!1;break e;case 3:case 4:cl=l.stateNode.containerInfo,dl=!0;break e}l=l.return}if(null===cl)throw Error(i(160));pl(a,s,o),cl=null,dl=!1;var u=o.alternate;null!==u&&(u.return=null),o.return=null}catch(e){_u(o,t,e)}}if(12854&t.subtreeFlags)for(t=t.child;null!==t;)gl(t,e),t=t.sibling}function gl(e,t){var r=e.alternate,n=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:if(ml(t,e),vl(e),4&n){try{rl(3,e,e.return),nl(3,e)}catch(t){_u(e,e.return,t)}try{rl(5,e,e.return)}catch(t){_u(e,e.return,t)}}break;case 1:ml(t,e),vl(e),512&n&&null!==r&&Js(r,r.return);break;case 5:if(ml(t,e),vl(e),512&n&&null!==r&&Js(r,r.return),32&e.flags){var o=e.stateNode;try{fe(o,"")}catch(t){_u(e,e.return,t)}}if(4&n&&null!=(o=e.stateNode)){var a=e.memoizedProps,s=null!==r?r.memoizedProps:a,l=e.type,u=e.updateQueue;if(e.updateQueue=null,null!==u)try{"input"===l&&"radio"===a.type&&null!=a.name&&Q(o,a),be(l,s);var c=be(l,a);for(s=0;s<u.length;s+=2){var d=u[s],f=u[s+1];"style"===d?ge(o,f):"dangerouslySetInnerHTML"===d?de(o,f):"children"===d?fe(o,f):b(o,d,f,c)}switch(l){case"input":Z(o,a);break;case"textarea":ie(o,a);break;case"select":var p=o._wrapperState.wasMultiple;o._wrapperState.wasMultiple=!!a.multiple;var h=a.value;null!=h?re(o,!!a.multiple,h,!1):p!==!!a.multiple&&(null!=a.defaultValue?re(o,!!a.multiple,a.defaultValue,!0):re(o,!!a.multiple,a.multiple?[]:"",!1))}o[po]=a}catch(t){_u(e,e.return,t)}}break;case 6:if(ml(t,e),vl(e),4&n){if(null===e.stateNode)throw Error(i(162));o=e.stateNode,a=e.memoizedProps;try{o.nodeValue=a}catch(t){_u(e,e.return,t)}}break;case 3:if(ml(t,e),vl(e),4&n&&null!==r&&r.memoizedState.isDehydrated)try{Nt(t.containerInfo)}catch(t){_u(e,e.return,t)}break;case 4:default:ml(t,e),vl(e);break;case 13:ml(t,e),vl(e),8192&(o=e.child).flags&&(a=null!==o.memoizedState,o.stateNode.isHidden=a,!a||null!==o.alternate&&null!==o.alternate.memoizedState||(Nl=Qe())),4&n&&hl(e);break;case 22:if(d=null!==r&&null!==r.memoizedState,1&e.mode?(Gs=(c=Gs)||d,ml(t,e),Gs=c):ml(t,e),vl(e),8192&n){if(c=null!==e.memoizedState,(e.stateNode.isHidden=c)&&!d&&1&e.mode)for(Zs=e,d=e.child;null!==d;){for(f=Zs=d;null!==Zs;){switch(h=(p=Zs).child,p.tag){case 0:case 11:case 14:case 15:rl(4,p,p.return);break;case 1:Js(p,p.return);var m=p.stateNode;if("function"==typeof m.componentWillUnmount){n=p,r=p.return;try{t=n,m.props=t.memoizedProps,m.state=t.memoizedState,m.componentWillUnmount()}catch(e){_u(n,r,e)}}break;case 5:Js(p,p.return);break;case 22:if(null!==p.memoizedState){wl(f);continue}}null!==h?(h.return=p,Zs=h):wl(f)}d=d.sibling}e:for(d=null,f=e;;){if(5===f.tag){if(null===d){d=f;try{o=f.stateNode,c?"function"==typeof(a=o.style).setProperty?a.setProperty("display","none","important"):a.display="none":(l=f.stateNode,s=null!=(u=f.memoizedProps.style)&&u.hasOwnProperty("display")?u.display:null,l.style.display=me("display",s))}catch(t){_u(e,e.return,t)}}}else if(6===f.tag){if(null===d)try{f.stateNode.nodeValue=c?"":f.memoizedProps}catch(t){_u(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:ml(t,e),vl(e),4&n&&hl(e);case 21:}}function vl(e){var t=e.flags;if(2&t){try{e:{for(var r=e.return;null!==r;){if(al(r)){var n=r;break e}r=r.return}throw Error(i(160))}switch(n.tag){case 5:var o=n.stateNode;32&n.flags&&(fe(o,""),n.flags&=-33),ul(e,sl(e),o);break;case 3:case 4:var a=n.stateNode.containerInfo;ll(e,sl(e),a);break;default:throw Error(i(161))}}catch(t){_u(e,e.return,t)}e.flags&=-3}4096&t&&(e.flags&=-4097)}function yl(e,t,r){Zs=e,bl(e,t,r)}function bl(e,t,r){for(var n=!!(1&e.mode);null!==Zs;){var o=Zs,i=o.child;if(22===o.tag&&n){var a=null!==o.memoizedState||Ks;if(!a){var s=o.alternate,l=null!==s&&null!==s.memoizedState||Gs;s=Ks;var u=Gs;if(Ks=a,(Gs=l)&&!u)for(Zs=o;null!==Zs;)l=(a=Zs).child,22===a.tag&&null!==a.memoizedState?kl(o):null!==l?(l.return=a,Zs=l):kl(o);for(;null!==i;)Zs=i,bl(i,t,r),i=i.sibling;Zs=o,Ks=s,Gs=u}xl(e)}else 8772&o.subtreeFlags&&null!==i?(i.return=o,Zs=i):xl(e)}}function xl(e){for(;null!==Zs;){var t=Zs;if(8772&t.flags){var r=t.alternate;try{if(8772&t.flags)switch(t.tag){case 0:case 11:case 15:Gs||nl(5,t);break;case 1:var n=t.stateNode;if(4&t.flags&&!Gs)if(null===r)n.componentDidMount();else{var o=t.elementType===t.type?r.memoizedProps:gi(t.type,r.memoizedProps);n.componentDidUpdate(o,r.memoizedState,n.__reactInternalSnapshotBeforeUpdate)}var a=t.updateQueue;null!==a&&$i(t,a,n);break;case 3:var s=t.updateQueue;if(null!==s){if(r=null,null!==t.child)switch(t.child.tag){case 5:case 1:r=t.child.stateNode}$i(t,s,r)}break;case 5:var l=t.stateNode;if(null===r&&4&t.flags){r=l;var u=t.memoizedProps;switch(t.type){case"button":case"input":case"select":case"textarea":u.autoFocus&&r.focus();break;case"img":u.src&&(r.src=u.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 c=t.alternate;if(null!==c){var d=c.memoizedState;if(null!==d){var f=d.dehydrated;null!==f&&Nt(f)}}}break;default:throw Error(i(163))}Gs||512&t.flags&&ol(t)}catch(e){_u(t,t.return,e)}}if(t===e){Zs=null;break}if(null!==(r=t.sibling)){r.return=t.return,Zs=r;break}Zs=t.return}}function wl(e){for(;null!==Zs;){var t=Zs;if(t===e){Zs=null;break}var r=t.sibling;if(null!==r){r.return=t.return,Zs=r;break}Zs=t.return}}function kl(e){for(;null!==Zs;){var t=Zs;try{switch(t.tag){case 0:case 11:case 15:var r=t.return;try{nl(4,t)}catch(e){_u(t,r,e)}break;case 1:var n=t.stateNode;if("function"==typeof n.componentDidMount){var o=t.return;try{n.componentDidMount()}catch(e){_u(t,o,e)}}var i=t.return;try{ol(t)}catch(e){_u(t,i,e)}break;case 5:var a=t.return;try{ol(t)}catch(e){_u(t,a,e)}}}catch(e){_u(t,t.return,e)}if(t===e){Zs=null;break}var s=t.sibling;if(null!==s){s.return=t.return,Zs=s;break}Zs=t.return}}var Sl,_l=Math.ceil,Cl=x.ReactCurrentDispatcher,El=x.ReactCurrentOwner,Pl=x.ReactCurrentBatchConfig,Tl=0,zl=null,Al=null,Rl=0,Ml=0,Fl=_o(0),jl=0,Bl=null,Ll=0,Dl=0,$l=0,Ol=null,Il=null,Nl=0,Vl=1/0,Wl=null,Ul=!1,Hl=null,ql=null,Yl=!1,Xl=null,Kl=0,Gl=0,Ql=null,Zl=-1,Jl=0;function eu(){return 6&Tl?Qe():-1!==Zl?Zl:Zl=Qe()}function tu(e){return 1&e.mode?2&Tl&&0!==Rl?Rl&-Rl:null!==mi.transition?(0===Jl&&(Jl=mt()),Jl):0!==(e=yt)?e:e=void 0===(e=window.event)?16:Kt(e.type):1}function ru(e,t,r,n){if(50<Gl)throw Gl=0,Ql=null,Error(i(185));gt(e,r,n),2&Tl&&e===zl||(e===zl&&(!(2&Tl)&&(Dl|=r),4===jl&&su(e,Rl)),nu(e,n),1===r&&0===Tl&&!(1&t.mode)&&(Vl=Qe()+500,Oo&&Vo()))}function nu(e,t){var r=e.callbackNode;!function(e,t){for(var r=e.suspendedLanes,n=e.pingedLanes,o=e.expirationTimes,i=e.pendingLanes;0<i;){var a=31-at(i),s=1<<a,l=o[a];-1===l?s&r&&!(s&n)||(o[a]=pt(s,t)):l<=t&&(e.expiredLanes|=s),i&=~s}}(e,t);var n=ft(e,e===zl?Rl:0);if(0===n)null!==r&&Xe(r),e.callbackNode=null,e.callbackPriority=0;else if(t=n&-n,e.callbackPriority!==t){if(null!=r&&Xe(r),1===t)0===e.tag?function(e){Oo=!0,No(e)}(lu.bind(null,e)):No(lu.bind(null,e)),io((function(){!(6&Tl)&&Vo()})),r=null;else{switch(bt(n)){case 1:r=Je;break;case 4:r=et;break;case 16:default:r=tt;break;case 536870912:r=nt}r=zu(r,ou.bind(null,e))}e.callbackPriority=t,e.callbackNode=r}}function ou(e,t){if(Zl=-1,Jl=0,6&Tl)throw Error(i(327));var r=e.callbackNode;if(ku()&&e.callbackNode!==r)return null;var n=ft(e,e===zl?Rl:0);if(0===n)return null;if(30&n||n&e.expiredLanes||t)t=gu(e,n);else{t=n;var o=Tl;Tl|=2;var a=hu();for(zl===e&&Rl===t||(Wl=null,Vl=Qe()+500,fu(e,t));;)try{yu();break}catch(t){pu(e,t)}wi(),Cl.current=a,Tl=o,null!==Al?t=0:(zl=null,Rl=0,t=jl)}if(0!==t){if(2===t&&0!==(o=ht(e))&&(n=o,t=iu(e,o)),1===t)throw r=Bl,fu(e,0),su(e,n),nu(e,Qe()),r;if(6===t)su(e,n);else{if(o=e.current.alternate,!(30&n||function(e){for(var t=e;;){if(16384&t.flags){var r=t.updateQueue;if(null!==r&&null!==(r=r.stores))for(var n=0;n<r.length;n++){var o=r[n],i=o.getSnapshot;o=o.value;try{if(!an(i(),o))return!1}catch(e){return!1}}}if(r=t.child,16384&t.subtreeFlags&&null!==r)r.return=t,t=r;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=gu(e,n),2===t&&(a=ht(e),0!==a&&(n=a,t=iu(e,a))),1!==t)))throw r=Bl,fu(e,0),su(e,n),nu(e,Qe()),r;switch(e.finishedWork=o,e.finishedLanes=n,t){case 0:case 1:throw Error(i(345));case 2:case 5:wu(e,Il,Wl);break;case 3:if(su(e,n),(130023424&n)===n&&10<(t=Nl+500-Qe())){if(0!==ft(e,0))break;if(((o=e.suspendedLanes)&n)!==n){eu(),e.pingedLanes|=e.suspendedLanes&o;break}e.timeoutHandle=ro(wu.bind(null,e,Il,Wl),t);break}wu(e,Il,Wl);break;case 4:if(su(e,n),(4194240&n)===n)break;for(t=e.eventTimes,o=-1;0<n;){var s=31-at(n);a=1<<s,(s=t[s])>o&&(o=s),n&=~a}if(n=o,10<(n=(120>(n=Qe()-n)?120:480>n?480:1080>n?1080:1920>n?1920:3e3>n?3e3:4320>n?4320:1960*_l(n/1960))-n)){e.timeoutHandle=ro(wu.bind(null,e,Il,Wl),n);break}wu(e,Il,Wl);break;default:throw Error(i(329))}}}return nu(e,Qe()),e.callbackNode===r?ou.bind(null,e):null}function iu(e,t){var r=Ol;return e.current.memoizedState.isDehydrated&&(fu(e,t).flags|=256),2!==(e=gu(e,t))&&(t=Il,Il=r,null!==t&&au(t)),e}function au(e){null===Il?Il=e:Il.push.apply(Il,e)}function su(e,t){for(t&=~$l,t&=~Dl,e.suspendedLanes|=t,e.pingedLanes&=~t,e=e.expirationTimes;0<t;){var r=31-at(t),n=1<<r;e[r]=-1,t&=~n}}function lu(e){if(6&Tl)throw Error(i(327));ku();var t=ft(e,0);if(!(1&t))return nu(e,Qe()),null;var r=gu(e,t);if(0!==e.tag&&2===r){var n=ht(e);0!==n&&(t=n,r=iu(e,n))}if(1===r)throw r=Bl,fu(e,0),su(e,t),nu(e,Qe()),r;if(6===r)throw Error(i(345));return e.finishedWork=e.current.alternate,e.finishedLanes=t,wu(e,Il,Wl),nu(e,Qe()),null}function uu(e,t){var r=Tl;Tl|=1;try{return e(t)}finally{0===(Tl=r)&&(Vl=Qe()+500,Oo&&Vo())}}function cu(e){null!==Xl&&0===Xl.tag&&!(6&Tl)&&ku();var t=Tl;Tl|=1;var r=Pl.transition,n=yt;try{if(Pl.transition=null,yt=1,e)return e()}finally{yt=n,Pl.transition=r,!(6&(Tl=t))&&Vo()}}function du(){Ml=Fl.current,Co(Fl)}function fu(e,t){e.finishedWork=null,e.finishedLanes=0;var r=e.timeoutHandle;if(-1!==r&&(e.timeoutHandle=-1,no(r)),null!==Al)for(r=Al.return;null!==r;){var n=r;switch(ti(n),n.tag){case 1:null!=(n=n.type.childContextTypes)&&Fo();break;case 3:oa(),Co(zo),Co(To),ca();break;case 5:aa(n);break;case 4:oa();break;case 13:case 19:Co(sa);break;case 10:ki(n.type._context);break;case 22:case 23:du()}r=r.return}if(zl=e,Al=e=Fu(e.current,null),Rl=Ml=t,jl=0,Bl=null,$l=Dl=Ll=0,Il=Ol=null,null!==Ei){for(t=0;t<Ei.length;t++)if(null!==(n=(r=Ei[t]).interleaved)){r.interleaved=null;var o=n.next,i=r.pending;if(null!==i){var a=i.next;i.next=o,n.next=a}r.pending=n}Ei=null}return e}function pu(e,t){for(;;){var r=Al;try{if(wi(),da.current=is,va){for(var n=ha.memoizedState;null!==n;){var o=n.queue;null!==o&&(o.pending=null),n=n.next}va=!1}if(pa=0,ga=ma=ha=null,ya=!1,ba=0,El.current=null,null===r||null===r.return){jl=1,Bl=t,Al=null;break}e:{var a=e,s=r.return,l=r,u=t;if(t=Rl,l.flags|=32768,null!==u&&"object"==typeof u&&"function"==typeof u.then){var c=u,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,vs(h,s,l,0,t),1&h.mode&&ms(a,c,t),u=c;var m=(t=h).updateQueue;if(null===m){var g=new Set;g.add(u),t.updateQueue=g}else m.add(u);break e}if(!(1&t)){ms(a,c,t),mu();break e}u=Error(i(426))}else if(oi&&1&l.mode){var v=gs(s);if(null!==v){!(65536&v.flags)&&(v.flags|=256),vs(v,s,l,0,t),hi(us(u,l));break e}}a=u=us(u,l),4!==jl&&(jl=2),null===Ol?Ol=[a]:Ol.push(a),a=s;do{switch(a.tag){case 3:a.flags|=65536,t&=-t,a.lanes|=t,Li(a,ps(0,u,t));break e;case 1:l=u;var y=a.type,b=a.stateNode;if(!(128&a.flags||"function"!=typeof y.getDerivedStateFromError&&(null===b||"function"!=typeof b.componentDidCatch||null!==ql&&ql.has(b)))){a.flags|=65536,t&=-t,a.lanes|=t,Li(a,hs(a,l,t));break e}}a=a.return}while(null!==a)}xu(r)}catch(e){t=e,Al===r&&null!==r&&(Al=r=r.return);continue}break}}function hu(){var e=Cl.current;return Cl.current=is,null===e?is:e}function mu(){0!==jl&&3!==jl&&2!==jl||(jl=4),null===zl||!(268435455&Ll)&&!(268435455&Dl)||su(zl,Rl)}function gu(e,t){var r=Tl;Tl|=2;var n=hu();for(zl===e&&Rl===t||(Wl=null,fu(e,t));;)try{vu();break}catch(t){pu(e,t)}if(wi(),Tl=r,Cl.current=n,null!==Al)throw Error(i(261));return zl=null,Rl=0,jl}function vu(){for(;null!==Al;)bu(Al)}function yu(){for(;null!==Al&&!Ke();)bu(Al)}function bu(e){var t=Sl(e.alternate,e,Ml);e.memoizedProps=e.pendingProps,null===t?xu(e):Al=t,El.current=null}function xu(e){var t=e;do{var r=t.alternate;if(e=t.return,32768&t.flags){if(null!==(r=Xs(r,t)))return r.flags&=32767,void(Al=r);if(null===e)return jl=6,void(Al=null);e.flags|=32768,e.subtreeFlags=0,e.deletions=null}else if(null!==(r=Ys(r,t,Ml)))return void(Al=r);if(null!==(t=t.sibling))return void(Al=t);Al=t=e}while(null!==t);0===jl&&(jl=5)}function wu(e,t,r){var n=yt,o=Pl.transition;try{Pl.transition=null,yt=1,function(e,t,r,n){do{ku()}while(null!==Xl);if(6&Tl)throw Error(i(327));r=e.finishedWork;var o=e.finishedLanes;if(null===r)return null;if(e.finishedWork=null,e.finishedLanes=0,r===e.current)throw Error(i(177));e.callbackNode=null,e.callbackPriority=0;var a=r.lanes|r.childLanes;if(function(e,t){var r=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 n=e.eventTimes;for(e=e.expirationTimes;0<r;){var o=31-at(r),i=1<<o;t[o]=0,n[o]=-1,e[o]=-1,r&=~i}}(e,a),e===zl&&(Al=zl=null,Rl=0),!(2064&r.subtreeFlags)&&!(2064&r.flags)||Yl||(Yl=!0,zu(tt,(function(){return ku(),null}))),a=!!(15990&r.flags),15990&r.subtreeFlags||a){a=Pl.transition,Pl.transition=null;var s=yt;yt=1;var l=Tl;Tl|=4,El.current=null,function(e,t){if(Jn=Wt,fn(e=dn())){if("selectionStart"in e)var r={start:e.selectionStart,end:e.selectionEnd};else e:{var n=(r=(r=e.ownerDocument)&&r.defaultView||window).getSelection&&r.getSelection();if(n&&0!==n.rangeCount){r=n.anchorNode;var o=n.anchorOffset,a=n.focusNode;n=n.focusOffset;try{r.nodeType,a.nodeType}catch(e){r=null;break e}var s=0,l=-1,u=-1,c=0,d=0,f=e,p=null;t:for(;;){for(var h;f!==r||0!==o&&3!==f.nodeType||(l=s+o),f!==a||0!==n&&3!==f.nodeType||(u=s+n),3===f.nodeType&&(s+=f.nodeValue.length),null!==(h=f.firstChild);)p=f,f=h;for(;;){if(f===e)break t;if(p===r&&++c===o&&(l=s),p===a&&++d===n&&(u=s),null!==(h=f.nextSibling))break;p=(f=p).parentNode}f=h}r=-1===l||-1===u?null:{start:l,end:u}}else r=null}r=r||{start:0,end:0}}else r=null;for(eo={focusedElem:e,selectionRange:r},Wt=!1,Zs=t;null!==Zs;)if(e=(t=Zs).child,1028&t.subtreeFlags&&null!==e)e.return=t,Zs=e;else for(;null!==Zs;){t=Zs;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 g=m.memoizedProps,v=m.memoizedState,y=t.stateNode,b=y.getSnapshotBeforeUpdate(t.elementType===t.type?g:gi(t.type,g),v);y.__reactInternalSnapshotBeforeUpdate=b}break;case 3:var x=t.stateNode.containerInfo;1===x.nodeType?x.textContent="":9===x.nodeType&&x.documentElement&&x.removeChild(x.documentElement);break;default:throw Error(i(163))}}catch(e){_u(t,t.return,e)}if(null!==(e=t.sibling)){e.return=t.return,Zs=e;break}Zs=t.return}m=tl,tl=!1}(e,r),gl(r,e),pn(eo),Wt=!!Jn,eo=Jn=null,e.current=r,yl(r,e,o),Ge(),Tl=l,yt=s,Pl.transition=a}else e.current=r;if(Yl&&(Yl=!1,Xl=e,Kl=o),0===(a=e.pendingLanes)&&(ql=null),function(e){if(it&&"function"==typeof it.onCommitFiberRoot)try{it.onCommitFiberRoot(ot,e,void 0,!(128&~e.current.flags))}catch(e){}}(r.stateNode),nu(e,Qe()),null!==t)for(n=e.onRecoverableError,r=0;r<t.length;r++)n((o=t[r]).value,{componentStack:o.stack,digest:o.digest});if(Ul)throw Ul=!1,e=Hl,Hl=null,e;!!(1&Kl)&&0!==e.tag&&ku(),1&(a=e.pendingLanes)?e===Ql?Gl++:(Gl=0,Ql=e):Gl=0,Vo()}(e,t,r,n)}finally{Pl.transition=o,yt=n}return null}function ku(){if(null!==Xl){var e=bt(Kl),t=Pl.transition,r=yt;try{if(Pl.transition=null,yt=16>e?16:e,null===Xl)var n=!1;else{if(e=Xl,Xl=null,Kl=0,6&Tl)throw Error(i(331));var o=Tl;for(Tl|=4,Zs=e.current;null!==Zs;){var a=Zs,s=a.child;if(16&Zs.flags){var l=a.deletions;if(null!==l){for(var u=0;u<l.length;u++){var c=l[u];for(Zs=c;null!==Zs;){var d=Zs;switch(d.tag){case 0:case 11:case 15:rl(8,d,a)}var f=d.child;if(null!==f)f.return=d,Zs=f;else for(;null!==Zs;){var p=(d=Zs).sibling,h=d.return;if(il(d),d===c){Zs=null;break}if(null!==p){p.return=h,Zs=p;break}Zs=h}}}var m=a.alternate;if(null!==m){var g=m.child;if(null!==g){m.child=null;do{var v=g.sibling;g.sibling=null,g=v}while(null!==g)}}Zs=a}}if(2064&a.subtreeFlags&&null!==s)s.return=a,Zs=s;else e:for(;null!==Zs;){if(2048&(a=Zs).flags)switch(a.tag){case 0:case 11:case 15:rl(9,a,a.return)}var y=a.sibling;if(null!==y){y.return=a.return,Zs=y;break e}Zs=a.return}}var b=e.current;for(Zs=b;null!==Zs;){var x=(s=Zs).child;if(2064&s.subtreeFlags&&null!==x)x.return=s,Zs=x;else e:for(s=b;null!==Zs;){if(2048&(l=Zs).flags)try{switch(l.tag){case 0:case 11:case 15:nl(9,l)}}catch(e){_u(l,l.return,e)}if(l===s){Zs=null;break e}var w=l.sibling;if(null!==w){w.return=l.return,Zs=w;break e}Zs=l.return}}if(Tl=o,Vo(),it&&"function"==typeof it.onPostCommitFiberRoot)try{it.onPostCommitFiberRoot(ot,e)}catch(e){}n=!0}return n}finally{yt=r,Pl.transition=t}}return!1}function Su(e,t,r){e=ji(e,t=ps(0,t=us(r,t),1),1),t=eu(),null!==e&&(gt(e,1,t),nu(e,t))}function _u(e,t,r){if(3===e.tag)Su(e,e,r);else for(;null!==t;){if(3===t.tag){Su(t,e,r);break}if(1===t.tag){var n=t.stateNode;if("function"==typeof t.type.getDerivedStateFromError||"function"==typeof n.componentDidCatch&&(null===ql||!ql.has(n))){t=ji(t,e=hs(t,e=us(r,e),1),1),e=eu(),null!==t&&(gt(t,1,e),nu(t,e));break}}t=t.return}}function Cu(e,t,r){var n=e.pingCache;null!==n&&n.delete(t),t=eu(),e.pingedLanes|=e.suspendedLanes&r,zl===e&&(Rl&r)===r&&(4===jl||3===jl&&(130023424&Rl)===Rl&&500>Qe()-Nl?fu(e,0):$l|=r),nu(e,t)}function Eu(e,t){0===t&&(1&e.mode?(t=ct,!(130023424&(ct<<=1))&&(ct=4194304)):t=1);var r=eu();null!==(e=zi(e,t))&&(gt(e,t,r),nu(e,r))}function Pu(e){var t=e.memoizedState,r=0;null!==t&&(r=t.retryLane),Eu(e,r)}function Tu(e,t){var r=0;switch(e.tag){case 13:var n=e.stateNode,o=e.memoizedState;null!==o&&(r=o.retryLane);break;case 19:n=e.stateNode;break;default:throw Error(i(314))}null!==n&&n.delete(t),Eu(e,r)}function zu(e,t){return Ye(e,t)}function Au(e,t,r,n){this.tag=e,this.key=r,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=n,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function Ru(e,t,r,n){return new Au(e,t,r,n)}function Mu(e){return!(!(e=e.prototype)||!e.isReactComponent)}function Fu(e,t){var r=e.alternate;return null===r?((r=Ru(e.tag,t,e.key,e.mode)).elementType=e.elementType,r.type=e.type,r.stateNode=e.stateNode,r.alternate=e,e.alternate=r):(r.pendingProps=t,r.type=e.type,r.flags=0,r.subtreeFlags=0,r.deletions=null),r.flags=14680064&e.flags,r.childLanes=e.childLanes,r.lanes=e.lanes,r.child=e.child,r.memoizedProps=e.memoizedProps,r.memoizedState=e.memoizedState,r.updateQueue=e.updateQueue,t=e.dependencies,r.dependencies=null===t?null:{lanes:t.lanes,firstContext:t.firstContext},r.sibling=e.sibling,r.index=e.index,r.ref=e.ref,r}function ju(e,t,r,n,o,a){var s=2;if(n=e,"function"==typeof e)Mu(e)&&(s=1);else if("string"==typeof e)s=5;else e:switch(e){case S:return Bu(r.children,o,a,t);case _:s=8,o|=8;break;case C:return(e=Ru(12,r,t,2|o)).elementType=C,e.lanes=a,e;case z:return(e=Ru(13,r,t,o)).elementType=z,e.lanes=a,e;case A:return(e=Ru(19,r,t,o)).elementType=A,e.lanes=a,e;case F:return Lu(r,o,a,t);default:if("object"==typeof e&&null!==e)switch(e.$$typeof){case E:s=10;break e;case P:s=9;break e;case T:s=11;break e;case R:s=14;break e;case M:s=16,n=null;break e}throw Error(i(130,null==e?e:typeof e,""))}return(t=Ru(s,r,t,o)).elementType=e,t.type=n,t.lanes=a,t}function Bu(e,t,r,n){return(e=Ru(7,e,n,t)).lanes=r,e}function Lu(e,t,r,n){return(e=Ru(22,e,n,t)).elementType=F,e.lanes=r,e.stateNode={isHidden:!1},e}function Du(e,t,r){return(e=Ru(6,e,null,t)).lanes=r,e}function $u(e,t,r){return(t=Ru(4,null!==e.children?e.children:[],e.key,t)).lanes=r,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function Ou(e){if(!e)return Po;e:{if(Ve(e=e._reactInternals)!==e||1!==e.tag)throw Error(i(170));var t=e;do{switch(t.tag){case 3:t=t.stateNode.context;break e;case 1:if(Mo(t.type)){t=t.stateNode.__reactInternalMemoizedMergedChildContext;break e}}t=t.return}while(null!==t);throw Error(i(171))}if(1===e.tag){var r=e.type;if(Mo(r))return Bo(e,r,t)}return t}function Iu(e,t,r,n){var o=t.current,i=eu(),a=tu(o);return r=Ou(r),null===t.context?t.context=r:t.pendingContext=r,(t=Fi(i,a)).payload={element:e},null!==(n=void 0===n?null:n)&&(t.callback=n),null!==(e=ji(o,t,a))&&(ru(e,o,a,i),Bi(e,o,a)),a}function Nu(e,t){if(null!==(e=e.memoizedState)&&null!==e.dehydrated){var r=e.retryLane;e.retryLane=0!==r&&r<t?r:t}}function Vu(e,t){Nu(e,t),(e=e.alternate)&&Nu(e,t)}Sl=function(e,t,r){if(null!==e)if(e.memoizedProps!==t.pendingProps||zo.current)bs=!0;else{if(!(e.lanes&r||128&t.flags))return bs=!1,function(e,t,r){switch(t.tag){case 3:zs(t),pi();break;case 5:ia(t);break;case 1:Mo(t.type)&&Lo(t);break;case 4:na(t,t.stateNode.containerInfo);break;case 10:var n=t.type._context,o=t.memoizedProps.value;Eo(vi,n._currentValue),n._currentValue=o;break;case 13:if(null!==(n=t.memoizedState))return null!==n.dehydrated?(Eo(sa,1&sa.current),t.flags|=128,null):r&t.child.childLanes?Ds(e,t,r):(Eo(sa,1&sa.current),null!==(e=Us(e,t,r))?e.sibling:null);Eo(sa,1&sa.current);break;case 19:if(n=!!(r&t.childLanes),128&e.flags){if(n)return Vs(e,t,r);t.flags|=128}if(null!==(o=t.memoizedState)&&(o.rendering=null,o.tail=null,o.lastEffect=null),Eo(sa,sa.current),n)break;return null;case 22:case 23:return t.lanes=0,_s(e,t,r)}return Us(e,t,r)}(e,t,r);bs=!!(131072&e.flags)}else bs=!1,oi&&1048576&t.flags&&Jo(t,qo,t.index);switch(t.lanes=0,t.tag){case 2:var n=t.type;Ws(e,t),e=t.pendingProps;var o=Ro(t,To.current);_i(t,r),o=Sa(null,t,n,e,o,r);var a=_a();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,Mo(n)?(a=!0,Lo(t)):a=!1,t.memoizedState=null!==o.state&&void 0!==o.state?o.state:null,Ri(t),o.updater=Ni,t.stateNode=o,o._reactInternals=t,Hi(t,n,e,r),t=Ts(null,t,n,!0,a,r)):(t.tag=0,oi&&a&&ei(t),xs(null,t,o,r),t=t.child),t;case 16:n=t.elementType;e:{switch(Ws(e,t),e=t.pendingProps,n=(o=n._init)(n._payload),t.type=n,o=t.tag=function(e){if("function"==typeof e)return Mu(e)?1:0;if(null!=e){if((e=e.$$typeof)===T)return 11;if(e===R)return 14}return 2}(n),e=gi(n,e),o){case 0:t=Es(null,t,n,e,r);break e;case 1:t=Ps(null,t,n,e,r);break e;case 11:t=ws(null,t,n,e,r);break e;case 14:t=ks(null,t,n,gi(n.type,e),r);break e}throw Error(i(306,n,""))}return t;case 0:return n=t.type,o=t.pendingProps,Es(e,t,n,o=t.elementType===n?o:gi(n,o),r);case 1:return n=t.type,o=t.pendingProps,Ps(e,t,n,o=t.elementType===n?o:gi(n,o),r);case 3:e:{if(zs(t),null===e)throw Error(i(387));n=t.pendingProps,o=(a=t.memoizedState).element,Mi(e,t),Di(t,n,null,r);var s=t.memoizedState;if(n=s.element,a.isDehydrated){if(a={element:n,isDehydrated:!1,cache:s.cache,pendingSuspenseBoundaries:s.pendingSuspenseBoundaries,transitions:s.transitions},t.updateQueue.baseState=a,t.memoizedState=a,256&t.flags){t=As(e,t,n,r,o=us(Error(i(423)),t));break e}if(n!==o){t=As(e,t,n,r,o=us(Error(i(424)),t));break e}for(ni=lo(t.stateNode.containerInfo.firstChild),ri=t,oi=!0,ii=null,r=Qi(t,null,n,r),t.child=r;r;)r.flags=-3&r.flags|4096,r=r.sibling}else{if(pi(),n===o){t=Us(e,t,r);break e}xs(e,t,n,r)}t=t.child}return t;case 5:return ia(t),null===e&&ui(t),n=t.type,o=t.pendingProps,a=null!==e?e.memoizedProps:null,s=o.children,to(n,o)?s=null:null!==a&&to(n,a)&&(t.flags|=32),Cs(e,t),xs(e,t,s,r),t.child;case 6:return null===e&&ui(t),null;case 13:return Ds(e,t,r);case 4:return na(t,t.stateNode.containerInfo),n=t.pendingProps,null===e?t.child=Gi(t,null,n,r):xs(e,t,n,r),t.child;case 11:return n=t.type,o=t.pendingProps,ws(e,t,n,o=t.elementType===n?o:gi(n,o),r);case 7:return xs(e,t,t.pendingProps,r),t.child;case 8:case 12:return xs(e,t,t.pendingProps.children,r),t.child;case 10:e:{if(n=t.type._context,o=t.pendingProps,a=t.memoizedProps,s=o.value,Eo(vi,n._currentValue),n._currentValue=s,null!==a)if(an(a.value,s)){if(a.children===o.children&&!zo.current){t=Us(e,t,r);break e}}else for(null!==(a=t.child)&&(a.return=t);null!==a;){var l=a.dependencies;if(null!==l){s=a.child;for(var u=l.firstContext;null!==u;){if(u.context===n){if(1===a.tag){(u=Fi(-1,r&-r)).tag=2;var c=a.updateQueue;if(null!==c){var d=(c=c.shared).pending;null===d?u.next=u:(u.next=d.next,d.next=u),c.pending=u}}a.lanes|=r,null!==(u=a.alternate)&&(u.lanes|=r),Si(a.return,r,t),l.lanes|=r;break}u=u.next}}else if(10===a.tag)s=a.type===t.type?null:a.child;else if(18===a.tag){if(null===(s=a.return))throw Error(i(341));s.lanes|=r,null!==(l=s.alternate)&&(l.lanes|=r),Si(s,r,t),s=a.sibling}else s=a.child;if(null!==s)s.return=a;else for(s=a;null!==s;){if(s===t){s=null;break}if(null!==(a=s.sibling)){a.return=s.return,s=a;break}s=s.return}a=s}xs(e,t,o.children,r),t=t.child}return t;case 9:return o=t.type,n=t.pendingProps.children,_i(t,r),n=n(o=Ci(o)),t.flags|=1,xs(e,t,n,r),t.child;case 14:return o=gi(n=t.type,t.pendingProps),ks(e,t,n,o=gi(n.type,o),r);case 15:return Ss(e,t,t.type,t.pendingProps,r);case 17:return n=t.type,o=t.pendingProps,o=t.elementType===n?o:gi(n,o),Ws(e,t),t.tag=1,Mo(n)?(e=!0,Lo(t)):e=!1,_i(t,r),Wi(t,n,o),Hi(t,n,o,r),Ts(null,t,n,!0,e,r);case 19:return Vs(e,t,r);case 22:return _s(e,t,r)}throw Error(i(156,t.tag))};"function"==typeof reportError&&reportError;function Wu(e){this._internalRoot=e}function Uu(e){this._internalRoot=e}Uu.prototype.render=Wu.prototype.render=function(e){var t=this._internalRoot;if(null===t)throw Error(i(409));Iu(e,t,null,null)},Uu.prototype.unmount=Wu.prototype.unmount=function(){var e=this._internalRoot;if(null!==e){this._internalRoot=null;var t=e.containerInfo;cu((function(){Iu(null,e,null,null)})),t[ho]=null}},Uu.prototype.unstable_scheduleHydration=function(e){if(e){var t=St();e={blockedOn:null,target:e,priority:t};for(var r=0;r<Mt.length&&0!==t&&t<Mt[r].priority;r++);Mt.splice(r,0,e),0===r&&Lt(e)}},xt=function(e){switch(e.tag){case 3:var t=e.stateNode;if(t.current.memoizedState.isDehydrated){var r=dt(t.pendingLanes);0!==r&&(vt(t,1|r),nu(t,Qe()),!(6&Tl)&&(Vl=Qe()+500,Vo()))}break;case 13:cu((function(){var t=zi(e,1);if(null!==t){var r=eu();ru(t,e,1,r)}})),Vu(e,1)}},wt=function(e){if(13===e.tag){var t=zi(e,134217728);null!==t&&ru(t,e,134217728,eu()),Vu(e,134217728)}},kt=function(e){if(13===e.tag){var t=tu(e),r=zi(e,t);null!==r&&ru(r,e,t,eu()),Vu(e,t)}},St=function(){return yt},_t=function(e,t){var r=yt;try{return yt=e,t()}finally{yt=r}},ke=function(e,t,r){switch(t){case"input":if(Z(e,r),t=r.name,"radio"===r.type&&null!=t){for(r=e;r.parentNode;)r=r.parentNode;for(r=r.querySelectorAll("input[name="+JSON.stringify(""+t)+'][type="radio"]'),t=0;t<r.length;t++){var n=r[t];if(n!==e&&n.form===e.form){var o=wo(n);if(!o)throw Error(i(90));Y(n),Z(n,o)}}}break;case"textarea":ie(e,r);break;case"select":null!=(t=r.value)&&re(e,!!r.multiple,t,!1)}},Te=uu,ze=cu;var Hu={findFiberByHostInstance:yo,bundleType:0,version:"18.2.0",rendererPackageName:"react-dom"},qu={bundleType:Hu.bundleType,version:Hu.version,rendererPackageName:Hu.rendererPackageName,rendererConfig:Hu.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:x.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return null===(e=He(e))?null:e.stateNode},findFiberByHostInstance:Hu.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 Yu=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!Yu.isDisabled&&Yu.supportsFiber)try{ot=Yu.inject(qu),it=Yu}catch(ce){}}t.createPortal=function(e,t){var r=2<arguments.length&&void 0!==arguments[2]?arguments[2]:null;if(!function(e){return!(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType)}(t))throw Error(i(200));return function(e,t,r){var n=3<arguments.length&&void 0!==arguments[3]?arguments[3]:null;return{$$typeof:k,key:null==n?null:""+n,children:e,containerInfo:t,implementation:r}}(e,t,null,r)}},961:(e,t,r)=>{"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=r(2551)},115:e=>{var t="undefined"!=typeof Element,r="function"==typeof Map,n="function"==typeof Set,o="function"==typeof ArrayBuffer&&!!ArrayBuffer.isView;function i(e,a){if(e===a)return!0;if(e&&a&&"object"==typeof e&&"object"==typeof a){if(e.constructor!==a.constructor)return!1;var s,l,u,c;if(Array.isArray(e)){if((s=e.length)!=a.length)return!1;for(l=s;0!=l--;)if(!i(e[l],a[l]))return!1;return!0}if(r&&e instanceof Map&&a instanceof Map){if(e.size!==a.size)return!1;for(c=e.entries();!(l=c.next()).done;)if(!a.has(l.value[0]))return!1;for(c=e.entries();!(l=c.next()).done;)if(!i(l.value[1],a.get(l.value[0])))return!1;return!0}if(n&&e instanceof Set&&a instanceof Set){if(e.size!==a.size)return!1;for(c=e.entries();!(l=c.next()).done;)if(!a.has(l.value[0]))return!1;return!0}if(o&&ArrayBuffer.isView(e)&&ArrayBuffer.isView(a)){if((s=e.length)!=a.length)return!1;for(l=s;0!=l--;)if(e[l]!==a[l])return!1;return!0}if(e.constructor===RegExp)return e.source===a.source&&e.flags===a.flags;if(e.valueOf!==Object.prototype.valueOf&&"function"==typeof e.valueOf&&"function"==typeof a.valueOf)return e.valueOf()===a.valueOf();if(e.toString!==Object.prototype.toString&&"function"==typeof e.toString&&"function"==typeof a.toString)return e.toString()===a.toString();if((s=(u=Object.keys(e)).length)!==Object.keys(a).length)return!1;for(l=s;0!=l--;)if(!Object.prototype.hasOwnProperty.call(a,u[l]))return!1;if(t&&e instanceof Element)return!1;for(l=s;0!=l--;)if(("_owner"!==u[l]&&"__v"!==u[l]&&"__o"!==u[l]||!e.$$typeof)&&!i(e[u[l]],a[u[l]]))return!1;return!0}return e!=e&&a!=a}e.exports=function(e,t){try{return i(e,t)}catch(e){if((e.message||"").match(/stack|recursion/i))return console.warn("react-fast-compare cannot handle circular refs"),!1;throw e}}},2799:(e,t)=>{"use strict";var r="function"==typeof Symbol&&Symbol.for,n=r?Symbol.for("react.element"):60103,o=r?Symbol.for("react.portal"):60106,i=r?Symbol.for("react.fragment"):60107,a=r?Symbol.for("react.strict_mode"):60108,s=r?Symbol.for("react.profiler"):60114,l=r?Symbol.for("react.provider"):60109,u=r?Symbol.for("react.context"):60110,c=r?Symbol.for("react.async_mode"):60111,d=r?Symbol.for("react.concurrent_mode"):60111,f=r?Symbol.for("react.forward_ref"):60112,p=r?Symbol.for("react.suspense"):60113,h=r?Symbol.for("react.suspense_list"):60120,m=r?Symbol.for("react.memo"):60115,g=r?Symbol.for("react.lazy"):60116,v=r?Symbol.for("react.block"):60121,y=r?Symbol.for("react.fundamental"):60117,b=r?Symbol.for("react.responder"):60118,x=r?Symbol.for("react.scope"):60119;function w(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case n:switch(e=e.type){case c:case d:case i:case s:case a:case p:return e;default:switch(e=e&&e.$$typeof){case u:case f:case g:case m:case l:return e;default:return t}}case o:return t}}}function k(e){return w(e)===d}t.AsyncMode=c,t.ConcurrentMode=d,t.ContextConsumer=u,t.ContextProvider=l,t.Element=n,t.ForwardRef=f,t.Fragment=i,t.Lazy=g,t.Memo=m,t.Portal=o,t.Profiler=s,t.StrictMode=a,t.Suspense=p,t.isAsyncMode=function(e){return k(e)||w(e)===c},t.isConcurrentMode=k,t.isContextConsumer=function(e){return w(e)===u},t.isContextProvider=function(e){return w(e)===l},t.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===n},t.isForwardRef=function(e){return w(e)===f},t.isFragment=function(e){return w(e)===i},t.isLazy=function(e){return w(e)===g},t.isMemo=function(e){return w(e)===m},t.isPortal=function(e){return w(e)===o},t.isProfiler=function(e){return w(e)===s},t.isStrictMode=function(e){return w(e)===a},t.isSuspense=function(e){return w(e)===p},t.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===i||e===d||e===s||e===a||e===p||e===h||"object"==typeof e&&null!==e&&(e.$$typeof===g||e.$$typeof===m||e.$$typeof===l||e.$$typeof===u||e.$$typeof===f||e.$$typeof===y||e.$$typeof===b||e.$$typeof===x||e.$$typeof===v)},t.typeOf=w},4363:(e,t,r)=>{"use strict";e.exports=r(2799)},1020:(e,t,r)=>{"use strict";var n=r(1993),o=Symbol.for("react.element"),i=(Symbol.for("react.fragment"),Object.prototype.hasOwnProperty),a=n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,s={key:!0,ref:!0,__self:!0,__source:!0};function l(e,t,r){var n,l={},u=null,c=null;for(n in void 0!==r&&(u=""+r),void 0!==t.key&&(u=""+t.key),void 0!==t.ref&&(c=t.ref),t)i.call(t,n)&&!s.hasOwnProperty(n)&&(l[n]=t[n]);if(e&&e.defaultProps)for(n in t=e.defaultProps)void 0===l[n]&&(l[n]=t[n]);return{$$typeof:o,type:e,key:u,ref:c,props:l,_owner:a.current}}t.jsx=l,t.jsxs=l},4848:(e,t,r)=>{"use strict";e.exports=r(1020)},7463:(e,t)=>{"use strict";function r(e,t){var r=e.length;e.push(t);e:for(;0<r;){var n=r-1>>>1,o=e[n];if(!(0<i(o,t)))break e;e[n]=t,e[r]=o,r=n}}function n(e){return 0===e.length?null:e[0]}function o(e){if(0===e.length)return null;var t=e[0],r=e.pop();if(r!==t){e[0]=r;e:for(var n=0,o=e.length,a=o>>>1;n<a;){var s=2*(n+1)-1,l=e[s],u=s+1,c=e[u];if(0>i(l,r))u<o&&0>i(c,l)?(e[n]=c,e[u]=r,n=u):(e[n]=l,e[s]=r,n=s);else{if(!(u<o&&0>i(c,r)))break e;e[n]=c,e[u]=r,n=u}}}return t}function i(e,t){var r=e.sortIndex-t.sortIndex;return 0!==r?r:e.id-t.id}if("object"==typeof performance&&"function"==typeof performance.now){var a=performance;t.unstable_now=function(){return a.now()}}else{var s=Date,l=s.now();t.unstable_now=function(){return s.now()-l}}var u=[],c=[],d=1,f=null,p=3,h=!1,m=!1,g=!1,v="function"==typeof setTimeout?setTimeout:null,y="function"==typeof clearTimeout?clearTimeout:null,b="undefined"!=typeof setImmediate?setImmediate:null;function x(e){for(var t=n(c);null!==t;){if(null===t.callback)o(c);else{if(!(t.startTime<=e))break;o(c),t.sortIndex=t.expirationTime,r(u,t)}t=n(c)}}function w(e){if(g=!1,x(e),!m)if(null!==n(u))m=!0,F(k);else{var t=n(c);null!==t&&j(w,t.startTime-e)}}function k(e,r){m=!1,g&&(g=!1,y(E),E=-1),h=!0;var i=p;try{for(x(r),f=n(u);null!==f&&(!(f.expirationTime>r)||e&&!z());){var a=f.callback;if("function"==typeof a){f.callback=null,p=f.priorityLevel;var s=a(f.expirationTime<=r);r=t.unstable_now(),"function"==typeof s?f.callback=s:f===n(u)&&o(u),x(r)}else o(u);f=n(u)}if(null!==f)var l=!0;else{var d=n(c);null!==d&&j(w,d.startTime-r),l=!1}return l}finally{f=null,p=i,h=!1}}"undefined"!=typeof navigator&&void 0!==navigator.scheduling&&void 0!==navigator.scheduling.isInputPending&&navigator.scheduling.isInputPending.bind(navigator.scheduling);var S,_=!1,C=null,E=-1,P=5,T=-1;function z(){return!(t.unstable_now()-T<P)}function A(){if(null!==C){var e=t.unstable_now();T=e;var r=!0;try{r=C(!0,e)}finally{r?S():(_=!1,C=null)}}else _=!1}if("function"==typeof b)S=function(){b(A)};else if("undefined"!=typeof MessageChannel){var R=new MessageChannel,M=R.port2;R.port1.onmessage=A,S=function(){M.postMessage(null)}}else S=function(){v(A,0)};function F(e){C=e,_||(_=!0,S())}function j(e,r){E=v((function(){e(t.unstable_now())}),r)}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,F(k))},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 n(u)},t.unstable_next=function(e){switch(p){case 1:case 2:case 3:var t=3;break;default:t=p}var r=p;p=t;try{return e()}finally{p=r}},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 r=p;p=e;try{return t()}finally{p=r}},t.unstable_scheduleCallback=function(e,o,i){var a=t.unstable_now();switch(i="object"==typeof i&&null!==i&&"number"==typeof(i=i.delay)&&0<i?a+i:a,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:i,expirationTime:s=i+s,sortIndex:-1},i>a?(e.sortIndex=i,r(c,e),null===n(u)&&e===n(c)&&(g?(y(E),E=-1):g=!0,j(w,i-a))):(e.sortIndex=s,r(u,e),m||h||(m=!0,F(k))),e},t.unstable_shouldYield=z,t.unstable_wrapCallback=function(e){var t=p;return function(){var r=p;p=t;try{return e.apply(this,arguments)}finally{p=r}}}},9982:(e,t,r)=>{"use strict";e.exports=r(7463)},7604:(e,t,r)=>{var n;!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 i(e){return function(e,t){var r,n,a,s,l,u,c,d,f,p=1,h=e.length,m="";for(n=0;n<h;n++)if("string"==typeof e[n])m+=e[n];else if("object"==typeof e[n]){if((s=e[n]).keys)for(r=t[p],a=0;a<s.keys.length;a++){if(null==r)throw new Error(i('[sprintf] Cannot access property "%s" of undefined value "%s"',s.keys[a],s.keys[a-1]));r=r[s.keys[a]]}else r=s.param_no?t[s.param_no]:t[p++];if(o.not_type.test(s.type)&&o.not_primitive.test(s.type)&&r instanceof Function&&(r=r()),o.numeric_arg.test(s.type)&&"number"!=typeof r&&isNaN(r))throw new TypeError(i("[sprintf] expecting number but found %T",r));switch(o.number.test(s.type)&&(d=r>=0),s.type){case"b":r=parseInt(r,10).toString(2);break;case"c":r=String.fromCharCode(parseInt(r,10));break;case"d":case"i":r=parseInt(r,10);break;case"j":r=JSON.stringify(r,null,s.width?parseInt(s.width):0);break;case"e":r=s.precision?parseFloat(r).toExponential(s.precision):parseFloat(r).toExponential();break;case"f":r=s.precision?parseFloat(r).toFixed(s.precision):parseFloat(r);break;case"g":r=s.precision?String(Number(r.toPrecision(s.precision))):parseFloat(r);break;case"o":r=(parseInt(r,10)>>>0).toString(8);break;case"s":r=String(r),r=s.precision?r.substring(0,s.precision):r;break;case"t":r=String(!!r),r=s.precision?r.substring(0,s.precision):r;break;case"T":r=Object.prototype.toString.call(r).slice(8,-1).toLowerCase(),r=s.precision?r.substring(0,s.precision):r;break;case"u":r=parseInt(r,10)>>>0;break;case"v":r=r.valueOf(),r=s.precision?r.substring(0,s.precision):r;break;case"x":r=(parseInt(r,10)>>>0).toString(16);break;case"X":r=(parseInt(r,10)>>>0).toString(16).toUpperCase()}o.json.test(s.type)?m+=r:(!o.number.test(s.type)||d&&!s.sign?f="":(f=d?"+":"-",r=r.toString().replace(o.sign,"")),u=s.pad_char?"0"===s.pad_char?"0":s.pad_char.charAt(1):" ",c=s.width-(f+r).length,l=s.width&&c>0?u.repeat(c):"",m+=s.align?f+r+l:"0"===u?f+l+r:l+f+r)}return m}(function(e){if(s[e])return s[e];for(var t,r=e,n=[],i=0;r;){if(null!==(t=o.text.exec(r)))n.push(t[0]);else if(null!==(t=o.modulo.exec(r)))n.push("%");else{if(null===(t=o.placeholder.exec(r)))throw new SyntaxError("[sprintf] unexpected placeholder");if(t[2]){i|=1;var a=[],l=t[2],u=[];if(null===(u=o.key.exec(l)))throw new SyntaxError("[sprintf] failed to parse named argument key");for(a.push(u[1]);""!==(l=l.substring(u[0].length));)if(null!==(u=o.key_access.exec(l)))a.push(u[1]);else{if(null===(u=o.index_access.exec(l)))throw new SyntaxError("[sprintf] failed to parse named argument key");a.push(u[1])}t[2]=a}else i|=2;if(3===i)throw new Error("[sprintf] mixing positional and named placeholders is not (yet) supported");n.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]})}r=r.substring(t[0].length)}return s[e]=n}(e),arguments)}function a(e,t){return i.apply(null,[e].concat(t||[]))}var s=Object.create(null);"undefined"!=typeof window&&(window.sprintf=i,window.vsprintf=a,void 0===(n=function(){return{sprintf:i,vsprintf:a}}.call(t,r,t,e))||(e.exports=n))}()},1993:e=>{e.exports=function(){return this.React}()},8279:e=>{e.exports=function(){return this.wp.blockEditor}()},9113:e=>{e.exports=function(){return this.wp.blocks}()},3815:e=>{e.exports=function(){return this.wp.components}()}},t={};function r(n){var o=t[n];if(void 0!==o)return o.exports;var i=t[n]={id:n,loaded:!1,exports:{}};return e[n](i,i.exports,r),i.loaded=!0,i.exports}r.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return r.d(t,{a:t}),t},r.d=(e,t)=>{for(var n in t)r.o(t,n)&&!r.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},r.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),r.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.nmd=e=>(e.paths=[],e.children||(e.children=[]),e);var n={};for(var o in(()=>{"use strict";var e={};r.r(e),r.d(e,{name:()=>ry,settings:()=>ny});var t={};r.r(t),r.d(t,{name:()=>Ry,settings:()=>My});var n={};r.r(n),r.d(n,{name:()=>Ly,settings:()=>Dy});var o=r(9113);const i=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)},a=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)},s=function(e,t){return function(r,n,o,s=10){const l=e[t];if(!a(r))return;if(!i(n))return;if("function"!=typeof o)return void console.error("The hook callback must be a function.");if("number"!=typeof s)return void console.error("If specified, the hook priority must be a number.");const u={callback:o,priority:s,namespace:n};if(l[r]){const e=l[r].handlers;let t;for(t=e.length;t>0&&!(s>=e[t-1].priority);t--);t===e.length?e[t]=u:e.splice(t,0,u),l.__current.forEach((e=>{e.name===r&&e.currentIndex>=t&&e.currentIndex++}))}else l[r]={handlers:[u],runs:0};"hookAdded"!==r&&e.doAction("hookAdded",r,n,o,s)}},l=function(e,t,r=!1){return function(n,o){const s=e[t];if(!a(n))return;if(!r&&!i(o))return;if(!s[n])return 0;let l=0;if(r)l=s[n].handlers.length,s[n]={runs:s[n].runs,handlers:[]};else{const e=s[n].handlers;for(let t=e.length-1;t>=0;t--)e[t].namespace===o&&(e.splice(t,1),l++,s.__current.forEach((e=>{e.name===n&&e.currentIndex>=t&&e.currentIndex--})))}return"hookRemoved"!==n&&e.doAction("hookRemoved",n,o),l}},u=function(e,t){return function(r,n){const o=e[t];return void 0!==n?r in o&&o[r].handlers.some((e=>e.namespace===n)):r in o}},c=function(e,t,r=!1){return function(n,...o){const i=e[t];i[n]||(i[n]={handlers:[],runs:0}),i[n].runs++;const a=i[n].handlers;if(!a||!a.length)return r?o[0]:void 0;const s={name:n,currentIndex:0};for(i.__current.push(s);s.currentIndex<a.length;){const e=a[s.currentIndex].callback.apply(null,o);r&&(o[0]=e),s.currentIndex++}return i.__current.pop(),r?o[0]:void 0}},d=function(e,t){return function(){var r;const n=e[t];return null!==(r=n.__current[n.__current.length-1]?.name)&&void 0!==r?r:null}},f=function(e,t){return function(r){const n=e[t];return void 0===r?void 0!==n.__current[0]:!!n.__current[0]&&r===n.__current[0].name}},p=function(e,t){return function(r){const n=e[t];if(a(r))return n[r]&&n[r].runs?n[r].runs:0}};class h{constructor(){this.actions=Object.create(null),this.actions.__current=[],this.filters=Object.create(null),this.filters.__current=[],this.addAction=s(this,"actions"),this.addFilter=s(this,"filters"),this.removeAction=l(this,"actions"),this.removeFilter=l(this,"filters"),this.hasAction=u(this,"actions"),this.hasFilter=u(this,"filters"),this.removeAllActions=l(this,"actions",!0),this.removeAllFilters=l(this,"filters",!0),this.doAction=c(this,"actions"),this.applyFilters=c(this,"filters",!0),this.currentAction=d(this,"actions"),this.currentFilter=d(this,"filters"),this.doingAction=f(this,"actions"),this.doingFilter=f(this,"filters"),this.didAction=p(this,"actions"),this.didFilter=p(this,"filters")}}const m=new h,{addAction:g,addFilter:v,removeAction:y,removeFilter:b,hasAction:x,hasFilter:w,removeAllActions:k,removeAllFilters:S,doAction:_,applyFilters:C,currentAction:E,currentFilter:P,doingAction:T,doingFilter:z,didAction:A,didFilter:R,actions:M,filters:F}=m,j=JSON.parse('{"$schema":"https://schemas.wp.org/block-json/1.1","apiVersion":3,"name":"everest-forms/form-selector","version":"1.0.0","title":"Everest Form","category":"everest-forms","description":"Select and display one of your forms.","keywords":["everest forms"],"textdomain":"everest-forms","example":{"attributes":{}},"supports":{},"attributes":{"formId":{"type":"string","default":""},"displayTitle":{"type":"boolean","default":false},"displayDescription":{"type":"boolean","default":false}},"editorScript":"everest-forms-block-editor","editorStyle":"everest-forms-block-editor"}');var B=r(1993),L=r.n(B),D=(...e)=>e.filter(Boolean).join(" ");function $(e){const t=typeof e;return null!=e&&("object"===t||"function"===t)&&!Array.isArray(e)}function O(e,...t){return I(e)?e(...t):e}var I=e=>"function"==typeof e,N=r(8394),V=e=>"string"==typeof e?e.replace(/!(important)?$/,"").trim():e;function W(e){const{scale:t,transform:r,compose:n}=e;return(e,o)=>{var i;const a=((e,t)=>r=>{const n=String(t),o=(e=>/!(important)?$/.test(e))(n),i=V(n),a=e?`${e}.${i}`:i;let s=$(r.__cssMap)&&a in r.__cssMap?r.__cssMap[a].varRef:t;return s=V(s),o?`${s} !important`:s})(t,e)(o);let s=null!=(i=null==r?void 0:r(a,o))?i:a;return n&&(s=n(s,o)),s}}var U=(...e)=>t=>e.reduce(((e,t)=>t(e)),t);function H(e,t){return r=>{const n={property:r,scale:e};return n.transform=W({scale:e,transform:t}),n}}var q=({rtl:e,ltr:t})=>r=>"rtl"===r.direction?e:t,Y=["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))"],X={"--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(" ")},K={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,/*!*/ /*!*/)"},G={"row-reverse":{space:"--chakra-space-x-reverse",divide:"--chakra-divide-x-reverse"},"column-reverse":{space:"--chakra-space-y-reverse",divide:"--chakra-divide-y-reverse"}},Q={"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"},Z=new Set(Object.values(Q)),J=new Set(["none","-moz-initial","inherit","initial","revert","unset"]),ee=e=>e.trim(),te=e=>"string"==typeof e&&e.includes("(")&&e.includes(")"),re=e=>t=>`${e}(${t})`,ne={filter:e=>"auto"!==e?e:X,backdropFilter:e=>"auto"!==e?e:K,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(", ")}}(ne.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))",...Y].join(" "):"auto-gpu"===e?["translate3d(var(--chakra-translate-x, 0), var(--chakra-translate-y, 0), 0)",...Y].join(" "):e,vh:e=>"$100vh"===e?"var(--chakra-vh)":e,px(e){if(null==e)return e;const{unitless:t}=(e=>{const t=parseFloat(e.toString()),r=e.toString().replace(String(t),"");return{unitless:!r,value:t,unit:r}})(e);return t||"number"==typeof e?`${e}px`:e},fraction:e=>"number"!=typeof e||e>1?e:100*e+"%",float:(e,t)=>"rtl"===t.direction?{left:"right",right:"left"}[e]:e,degree(e){if(function(e){return/^var\(--.+\)$/.test(e)}(e)||null==e)return e;const t="string"==typeof e&&!e.endsWith("deg");return"number"==typeof e||t?`${e}deg`:e},gradient:(e,t)=>function(e,t){if(null==e||J.has(e))return e;if(!te(e)&&!J.has(e))return`url('${e}')`;const r=/(^[a-z-A-Z]+)\((.*)\)/g.exec(e),n=null==r?void 0:r[1],o=null==r?void 0:r[2];if(!n||!o)return e;const i=n.includes("-gradient")?n:`${n}-gradient`,[a,...s]=o.split(",").map(ee).filter(Boolean);if(0===(null==s?void 0:s.length))return e;const l=a in Q?Q[a]:a;return s.unshift(l),`${i}(${s.map((e=>{if(Z.has(e))return e;const r=e.indexOf(" "),[n,o]=-1!==r?[e.substr(0,r),e.substr(r+1)]:[e],i=te(o)?o:o&&o.split(" "),a=`colors.${n}`,s=a in t.__cssMap?t.__cssMap[a].varRef:n;return i?[s,...Array.isArray(i)?i:[i]].join(" "):s})).join(", ")})`}(e,null!=t?t:{}),blur:re("blur"),opacity:re("opacity"),brightness:re("brightness"),contrast:re("contrast"),dropShadow:re("drop-shadow"),grayscale:re("grayscale"),hueRotate:e=>re("hue-rotate")(ne.degree(e)),invert:re("invert"),saturate:re("saturate"),sepia:re("sepia"),bgImage:e=>null==e||te(e)||J.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:r,divide:n}=null!=(t=G[e])?t:{},o={flexDirection:e};return r&&(o[r]=1),n&&(o[n]=1),o}},oe={borderWidths:H("borderWidths"),borderStyles:H("borderStyles"),colors:H("colors"),borders:H("borders"),gradients:H("gradients",ne.gradient),radii:H("radii",ne.px),space:H("space",U(ne.vh,ne.px)),spaceT:H("space",U(ne.vh,ne.px)),degreeT:e=>({property:e,transform:ne.degree}),prop:(e,t,r)=>({property:e,scale:t,...t&&{transform:W({scale:t,transform:r})}}),propT:(e,t)=>({property:e,transform:t}),sizes:H("sizes",U(ne.vh,ne.px)),sizesT:H("sizes",U(ne.vh,ne.fraction)),shadows:H("shadows"),logical:function(e){const{property:t,scale:r,transform:n}=e;return{scale:r,property:q(t),transform:r?W({scale:r,compose:n}):n}},blur:H("blur",ne.blur)},ie={background:oe.colors("background"),backgroundColor:oe.colors("backgroundColor"),backgroundImage:oe.gradients("backgroundImage"),backgroundSize:!0,backgroundPosition:!0,backgroundRepeat:!0,backgroundAttachment:!0,backgroundClip:{transform:ne.bgClip},bgSize:oe.prop("backgroundSize"),bgPosition:oe.prop("backgroundPosition"),bg:oe.colors("background"),bgColor:oe.colors("backgroundColor"),bgPos:oe.prop("backgroundPosition"),bgRepeat:oe.prop("backgroundRepeat"),bgAttachment:oe.prop("backgroundAttachment"),bgGradient:oe.gradients("backgroundImage"),bgClip:{transform:ne.bgClip}};Object.assign(ie,{bgImage:ie.backgroundImage,bgImg:ie.backgroundImage});var ae={border:oe.borders("border"),borderWidth:oe.borderWidths("borderWidth"),borderStyle:oe.borderStyles("borderStyle"),borderColor:oe.colors("borderColor"),borderRadius:oe.radii("borderRadius"),borderTop:oe.borders("borderTop"),borderBlockStart:oe.borders("borderBlockStart"),borderTopLeftRadius:oe.radii("borderTopLeftRadius"),borderStartStartRadius:oe.logical({scale:"radii",property:{ltr:"borderTopLeftRadius",rtl:"borderTopRightRadius"}}),borderEndStartRadius:oe.logical({scale:"radii",property:{ltr:"borderBottomLeftRadius",rtl:"borderBottomRightRadius"}}),borderTopRightRadius:oe.radii("borderTopRightRadius"),borderStartEndRadius:oe.logical({scale:"radii",property:{ltr:"borderTopRightRadius",rtl:"borderTopLeftRadius"}}),borderEndEndRadius:oe.logical({scale:"radii",property:{ltr:"borderBottomRightRadius",rtl:"borderBottomLeftRadius"}}),borderRight:oe.borders("borderRight"),borderInlineEnd:oe.borders("borderInlineEnd"),borderBottom:oe.borders("borderBottom"),borderBlockEnd:oe.borders("borderBlockEnd"),borderBottomLeftRadius:oe.radii("borderBottomLeftRadius"),borderBottomRightRadius:oe.radii("borderBottomRightRadius"),borderLeft:oe.borders("borderLeft"),borderInlineStart:{property:"borderInlineStart",scale:"borders"},borderInlineStartRadius:oe.logical({scale:"radii",property:{ltr:["borderTopLeftRadius","borderBottomLeftRadius"],rtl:["borderTopRightRadius","borderBottomRightRadius"]}}),borderInlineEndRadius:oe.logical({scale:"radii",property:{ltr:["borderTopRightRadius","borderBottomRightRadius"],rtl:["borderTopLeftRadius","borderBottomLeftRadius"]}}),borderX:oe.borders(["borderLeft","borderRight"]),borderInline:oe.borders("borderInline"),borderY:oe.borders(["borderTop","borderBottom"]),borderBlock:oe.borders("borderBlock"),borderTopWidth:oe.borderWidths("borderTopWidth"),borderBlockStartWidth:oe.borderWidths("borderBlockStartWidth"),borderTopColor:oe.colors("borderTopColor"),borderBlockStartColor:oe.colors("borderBlockStartColor"),borderTopStyle:oe.borderStyles("borderTopStyle"),borderBlockStartStyle:oe.borderStyles("borderBlockStartStyle"),borderBottomWidth:oe.borderWidths("borderBottomWidth"),borderBlockEndWidth:oe.borderWidths("borderBlockEndWidth"),borderBottomColor:oe.colors("borderBottomColor"),borderBlockEndColor:oe.colors("borderBlockEndColor"),borderBottomStyle:oe.borderStyles("borderBottomStyle"),borderBlockEndStyle:oe.borderStyles("borderBlockEndStyle"),borderLeftWidth:oe.borderWidths("borderLeftWidth"),borderInlineStartWidth:oe.borderWidths("borderInlineStartWidth"),borderLeftColor:oe.colors("borderLeftColor"),borderInlineStartColor:oe.colors("borderInlineStartColor"),borderLeftStyle:oe.borderStyles("borderLeftStyle"),borderInlineStartStyle:oe.borderStyles("borderInlineStartStyle"),borderRightWidth:oe.borderWidths("borderRightWidth"),borderInlineEndWidth:oe.borderWidths("borderInlineEndWidth"),borderRightColor:oe.colors("borderRightColor"),borderInlineEndColor:oe.colors("borderInlineEndColor"),borderRightStyle:oe.borderStyles("borderRightStyle"),borderInlineEndStyle:oe.borderStyles("borderInlineEndStyle"),borderTopRadius:oe.radii(["borderTopLeftRadius","borderTopRightRadius"]),borderBottomRadius:oe.radii(["borderBottomLeftRadius","borderBottomRightRadius"]),borderLeftRadius:oe.radii(["borderTopLeftRadius","borderBottomLeftRadius"]),borderRightRadius:oe.radii(["borderTopRightRadius","borderBottomRightRadius"])};Object.assign(ae,{rounded:ae.borderRadius,roundedTop:ae.borderTopRadius,roundedTopLeft:ae.borderTopLeftRadius,roundedTopRight:ae.borderTopRightRadius,roundedTopStart:ae.borderStartStartRadius,roundedTopEnd:ae.borderStartEndRadius,roundedBottom:ae.borderBottomRadius,roundedBottomLeft:ae.borderBottomLeftRadius,roundedBottomRight:ae.borderBottomRightRadius,roundedBottomStart:ae.borderEndStartRadius,roundedBottomEnd:ae.borderEndEndRadius,roundedLeft:ae.borderLeftRadius,roundedRight:ae.borderRightRadius,roundedStart:ae.borderInlineStartRadius,roundedEnd:ae.borderInlineEndRadius,borderStart:ae.borderInlineStart,borderEnd:ae.borderInlineEnd,borderTopStartRadius:ae.borderStartStartRadius,borderTopEndRadius:ae.borderStartEndRadius,borderBottomStartRadius:ae.borderEndStartRadius,borderBottomEndRadius:ae.borderEndEndRadius,borderStartRadius:ae.borderInlineStartRadius,borderEndRadius:ae.borderInlineEndRadius,borderStartWidth:ae.borderInlineStartWidth,borderEndWidth:ae.borderInlineEndWidth,borderStartColor:ae.borderInlineStartColor,borderEndColor:ae.borderInlineEndColor,borderStartStyle:ae.borderInlineStartStyle,borderEndStyle:ae.borderInlineEndStyle});var se={color:oe.colors("color"),textColor:oe.colors("color"),fill:oe.colors("fill"),stroke:oe.colors("stroke")},le={boxShadow:oe.shadows("boxShadow"),mixBlendMode:!0,blendMode:oe.prop("mixBlendMode"),backgroundBlendMode:!0,bgBlendMode:oe.prop("backgroundBlendMode"),opacity:!0};Object.assign(le,{shadow:le.boxShadow});var ue={filter:{transform:ne.filter},blur:oe.blur("--chakra-blur"),brightness:oe.propT("--chakra-brightness",ne.brightness),contrast:oe.propT("--chakra-contrast",ne.contrast),hueRotate:oe.propT("--chakra-hue-rotate",ne.hueRotate),invert:oe.propT("--chakra-invert",ne.invert),saturate:oe.propT("--chakra-saturate",ne.saturate),dropShadow:oe.propT("--chakra-drop-shadow",ne.dropShadow),backdropFilter:{transform:ne.backdropFilter},backdropBlur:oe.blur("--chakra-backdrop-blur"),backdropBrightness:oe.propT("--chakra-backdrop-brightness",ne.brightness),backdropContrast:oe.propT("--chakra-backdrop-contrast",ne.contrast),backdropHueRotate:oe.propT("--chakra-backdrop-hue-rotate",ne.hueRotate),backdropInvert:oe.propT("--chakra-backdrop-invert",ne.invert),backdropSaturate:oe.propT("--chakra-backdrop-saturate",ne.saturate)},ce={alignItems:!0,alignContent:!0,justifyItems:!0,justifyContent:!0,flexWrap:!0,flexDirection:{transform:ne.flexDirection},flex:!0,flexFlow:!0,flexGrow:!0,flexShrink:!0,flexBasis:oe.sizes("flexBasis"),justifySelf:!0,alignSelf:!0,order:!0,placeItems:!0,placeContent:!0,placeSelf:!0,gap:oe.space("gap"),rowGap:oe.space("rowGap"),columnGap:oe.space("columnGap")};Object.assign(ce,{flexDir:ce.flexDirection});var de={gridGap:oe.space("gridGap"),gridColumnGap:oe.space("gridColumnGap"),gridRowGap:oe.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},fe={appearance:!0,cursor:!0,resize:!0,userSelect:!0,pointerEvents:!0,outline:{transform:ne.outline},outlineOffset:!0,outlineColor:oe.colors("outlineColor")},pe={width:oe.sizesT("width"),inlineSize:oe.sizesT("inlineSize"),height:oe.sizes("height"),blockSize:oe.sizes("blockSize"),boxSize:oe.sizes(["width","height"]),minWidth:oe.sizes("minWidth"),minInlineSize:oe.sizes("minInlineSize"),minHeight:oe.sizes("minHeight"),minBlockSize:oe.sizes("minBlockSize"),maxWidth:oe.sizes("maxWidth"),maxInlineSize:oe.sizes("maxInlineSize"),maxHeight:oe.sizes("maxHeight"),maxBlockSize:oe.sizes("maxBlockSize"),overflow:!0,overflowX:!0,overflowY:!0,overscrollBehavior:!0,overscrollBehaviorX:!0,overscrollBehaviorY:!0,display:!0,aspectRatio:!0,hideFrom:{scale:"breakpoints",transform:(e,t)=>{var r,n,o;const i=`@media screen and (min-width: ${null!=(o=null==(n=null==(r=t.__breakpoints)?void 0:r.get(e))?void 0:n.minW)?o:e})`;return{[i]:{display:"none"}}}},hideBelow:{scale:"breakpoints",transform:(e,t)=>{var r,n,o;const i=`@media screen and (max-width: ${null!=(o=null==(n=null==(r=t.__breakpoints)?void 0:r.get(e))?void 0:n._minW)?o:e})`;return{[i]:{display:"none"}}}},verticalAlign:!0,boxSizing:!0,boxDecorationBreak:!0,float:oe.propT("float",ne.float),objectFit:!0,objectPosition:!0,visibility:!0,isolation:!0};Object.assign(pe,{w:pe.width,h:pe.height,minW:pe.minWidth,maxW:pe.maxWidth,minH:pe.minHeight,maxH:pe.maxHeight,overscroll:pe.overscrollBehavior,overscrollX:pe.overscrollBehaviorX,overscrollY:pe.overscrollBehaviorY});var he={listStyleType:!0,listStylePosition:!0,listStylePos:oe.prop("listStylePosition"),listStyleImage:!0,listStyleImg:oe.prop("listStyleImage")},me=(e=>{const t=new WeakMap;return(r,n,o,i)=>{if(void 0===r)return e(r,n,o);t.has(r)||t.set(r,new Map);const a=t.get(r);if(a.has(n))return a.get(n);const s=e(r,n,o,i);return a.set(n,s),s}})((function(e,t,r,n){const o="string"==typeof t?t.split("."):[t];for(n=0;n<o.length&&e;n+=1)e=e[o[n]];return void 0===e?r:e})),ge={border:"0px",clip:"rect(0, 0, 0, 0)",width:"1px",height:"1px",margin:"-1px",padding:"0px",overflow:"hidden",whiteSpace:"nowrap",position:"absolute"},ve={position:"static",width:"auto",height:"auto",clip:"auto",padding:"0",margin:"0",overflow:"visible",whiteSpace:"normal"},ye=(e,t,r)=>{const n={},o=me(e,t,{});for(const e in o)e in r&&null!=r[e]||(n[e]=o[e]);return n},be={srOnly:{transform:e=>!0===e?ge:"focusable"===e?ve:{}},layerStyle:{processResult:!0,transform:(e,t,r)=>ye(t,`layerStyles.${e}`,r)},textStyle:{processResult:!0,transform:(e,t,r)=>ye(t,`textStyles.${e}`,r)},apply:{processResult:!0,transform:(e,t,r)=>ye(t,e,r)}},xe={position:!0,pos:oe.prop("position"),zIndex:oe.prop("zIndex","zIndices"),inset:oe.spaceT("inset"),insetX:oe.spaceT(["left","right"]),insetInline:oe.spaceT("insetInline"),insetY:oe.spaceT(["top","bottom"]),insetBlock:oe.spaceT("insetBlock"),top:oe.spaceT("top"),insetBlockStart:oe.spaceT("insetBlockStart"),bottom:oe.spaceT("bottom"),insetBlockEnd:oe.spaceT("insetBlockEnd"),left:oe.spaceT("left"),insetInlineStart:oe.logical({scale:"space",property:{ltr:"left",rtl:"right"}}),right:oe.spaceT("right"),insetInlineEnd:oe.logical({scale:"space",property:{ltr:"right",rtl:"left"}})};Object.assign(xe,{insetStart:xe.insetInlineStart,insetEnd:xe.insetInlineEnd});var we={ring:{transform:ne.ring},ringColor:oe.colors("--chakra-ring-color"),ringOffset:oe.prop("--chakra-ring-offset-width"),ringOffsetColor:oe.colors("--chakra-ring-offset-color"),ringInset:oe.prop("--chakra-ring-inset")},ke={margin:oe.spaceT("margin"),marginTop:oe.spaceT("marginTop"),marginBlockStart:oe.spaceT("marginBlockStart"),marginRight:oe.spaceT("marginRight"),marginInlineEnd:oe.spaceT("marginInlineEnd"),marginBottom:oe.spaceT("marginBottom"),marginBlockEnd:oe.spaceT("marginBlockEnd"),marginLeft:oe.spaceT("marginLeft"),marginInlineStart:oe.spaceT("marginInlineStart"),marginX:oe.spaceT(["marginInlineStart","marginInlineEnd"]),marginInline:oe.spaceT("marginInline"),marginY:oe.spaceT(["marginTop","marginBottom"]),marginBlock:oe.spaceT("marginBlock"),padding:oe.space("padding"),paddingTop:oe.space("paddingTop"),paddingBlockStart:oe.space("paddingBlockStart"),paddingRight:oe.space("paddingRight"),paddingBottom:oe.space("paddingBottom"),paddingBlockEnd:oe.space("paddingBlockEnd"),paddingLeft:oe.space("paddingLeft"),paddingInlineStart:oe.space("paddingInlineStart"),paddingInlineEnd:oe.space("paddingInlineEnd"),paddingX:oe.space(["paddingInlineStart","paddingInlineEnd"]),paddingInline:oe.space("paddingInline"),paddingY:oe.space(["paddingTop","paddingBottom"]),paddingBlock:oe.space("paddingBlock")};Object.assign(ke,{m:ke.margin,mt:ke.marginTop,mr:ke.marginRight,me:ke.marginInlineEnd,marginEnd:ke.marginInlineEnd,mb:ke.marginBottom,ml:ke.marginLeft,ms:ke.marginInlineStart,marginStart:ke.marginInlineStart,mx:ke.marginX,my:ke.marginY,p:ke.padding,pt:ke.paddingTop,py:ke.paddingY,px:ke.paddingX,pb:ke.paddingBottom,pl:ke.paddingLeft,ps:ke.paddingInlineStart,paddingStart:ke.paddingInlineStart,pr:ke.paddingRight,pe:ke.paddingInlineEnd,paddingEnd:ke.paddingInlineEnd});var Se={textDecorationColor:oe.colors("textDecorationColor"),textDecoration:!0,textDecor:{property:"textDecoration"},textDecorationLine:!0,textDecorationStyle:!0,textDecorationThickness:!0,textUnderlineOffset:!0,textShadow:oe.shadows("textShadow")},_e={clipPath:!0,transform:oe.propT("transform",ne.transform),transformOrigin:!0,translateX:oe.spaceT("--chakra-translate-x"),translateY:oe.spaceT("--chakra-translate-y"),skewX:oe.degreeT("--chakra-skew-x"),skewY:oe.degreeT("--chakra-skew-y"),scaleX:oe.prop("--chakra-scale-x"),scaleY:oe.prop("--chakra-scale-y"),scale:oe.prop(["--chakra-scale-x","--chakra-scale-y"]),rotate:oe.degreeT("--chakra-rotate")},Ce={transition:!0,transitionDelay:!0,animation:!0,willChange:!0,transitionDuration:oe.prop("transitionDuration","transition.duration"),transitionProperty:oe.prop("transitionProperty","transition.property"),transitionTimingFunction:oe.prop("transitionTimingFunction","transition.easing")},Ee={fontFamily:oe.prop("fontFamily","fonts"),fontSize:oe.prop("fontSize","fontSizes",ne.px),fontWeight:oe.prop("fontWeight","fontWeights"),lineHeight:oe.prop("lineHeight","lineHeights"),letterSpacing:oe.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"}},Pe={scrollBehavior:!0,scrollSnapAlign:!0,scrollSnapStop:!0,scrollSnapType:!0,scrollMargin:oe.spaceT("scrollMargin"),scrollMarginTop:oe.spaceT("scrollMarginTop"),scrollMarginBottom:oe.spaceT("scrollMarginBottom"),scrollMarginLeft:oe.spaceT("scrollMarginLeft"),scrollMarginRight:oe.spaceT("scrollMarginRight"),scrollMarginX:oe.spaceT(["scrollMarginLeft","scrollMarginRight"]),scrollMarginY:oe.spaceT(["scrollMarginTop","scrollMarginBottom"]),scrollPadding:oe.spaceT("scrollPadding"),scrollPaddingTop:oe.spaceT("scrollPaddingTop"),scrollPaddingBottom:oe.spaceT("scrollPaddingBottom"),scrollPaddingLeft:oe.spaceT("scrollPaddingLeft"),scrollPaddingRight:oe.spaceT("scrollPaddingRight"),scrollPaddingX:oe.spaceT(["scrollPaddingLeft","scrollPaddingRight"]),scrollPaddingY:oe.spaceT(["scrollPaddingTop","scrollPaddingBottom"])};function Te(e){return $(e)&&e.reference?e.reference:String(e)}var ze=(e,...t)=>t.map(Te).join(` ${e} `).replace(/calc/g,""),Ae=(...e)=>`calc(${ze("+",...e)})`,Re=(...e)=>`calc(${ze("-",...e)})`,Me=(...e)=>`calc(${ze("*",...e)})`,Fe=(...e)=>`calc(${ze("/",...e)})`,je=e=>{const t=Te(e);return null==t||Number.isNaN(parseFloat(t))?Me(t,-1):String(t).startsWith("-")?String(t).slice(1):`-${t}`},Be=Object.assign((e=>({add:(...t)=>Be(Ae(e,...t)),subtract:(...t)=>Be(Re(e,...t)),multiply:(...t)=>Be(Me(e,...t)),divide:(...t)=>Be(Fe(e,...t)),negate:()=>Be(je(e)),toString:()=>e.toString()})),{add:Ae,subtract:Re,multiply:Me,divide:Fe,negate:je});function Le(e,t){return`var(${e}${t?`, ${t}`:""})`}function De(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 $e(e,t,r){const n=De(e,r);return{variable:n,reference:Le(n,t)}}function Oe(e){const t=null==e?0:e.length;return t?e[t-1]:void 0}function Ie(e){if(null==e)return e;const{unitless:t}=function(e){const t=parseFloat(e.toString()),r=e.toString().replace(String(t),"");return{unitless:!r,value:t,unit:r}}(e);return t||"number"==typeof e?`${e}px`:e}var Ne=(e,t)=>parseInt(e[1],10)>parseInt(t[1],10)?1:-1,Ve=e=>Object.fromEntries(Object.entries(e).sort(Ne));function We(e){const t=Ve(e);return Object.assign(Object.values(t),t)}function Ue(e){var t;return e?"number"==typeof(e=null!=(t=Ie(e))?t:e)?`${e+-.02}`:e.replace(/(\d+\.?\d*)/u,(e=>`${parseFloat(e)+-.02}`)):e}function He(e,t){const r=["@media screen"];return e&&r.push("and",`(min-width: ${Ie(e)})`),t&&r.push("and",`(max-width: ${Ie(t)})`),r.join(" ")}function qe(e){var t;if(!e)return null;e.base=null!=(t=e.base)?t:"0px";const r=We(e),n=Object.entries(e).sort(Ne).map((([e,t],r,n)=>{var o;let[,i]=null!=(o=n[r+1])?o:[];return i=parseFloat(i)>0?Ue(i):void 0,{_minW:Ue(t),breakpoint:e,minW:t,maxW:i,maxWQuery:He(null,i),minWQuery:He(t),minMaxQuery:He(t,i)}})),o=function(e){const t=Object.keys(Ve(e));return new Set(t)}(e),i=Array.from(o.values());return{keys:o,normalized:r,isResponsive(e){const t=Object.keys(e);return t.length>0&&t.every((e=>o.has(e)))},asObject:Ve(e),asArray:We(e),details:n,get:e=>n.find((t=>t.breakpoint===e)),media:[null,...r.map((e=>He(e))).slice(1)],toArrayValue(e){if(!$(e))throw new Error("toArrayValue: value must be an object");const t=i.map((t=>{var r;return null!=(r=e[t])?r:null}));for(;null===Oe(t);)t.pop();return t},toObjectValue(e){if(!Array.isArray(e))throw new Error("toObjectValue: value must be an array");return e.reduce(((e,t,r)=>{const n=i[r];return null!=n&&null!=t&&(e[n]=t),e}),{})}}}var Ye=(e,t)=>`${e}:hover ${t}, ${e}[data-hover] ${t}`,Xe=(e,t)=>`${e}:focus ${t}, ${e}[data-focus] ${t}`,Ke=(e,t)=>`${e}:focus-visible ${t}`,Ge=(e,t)=>`${e}:focus-within ${t}`,Qe=(e,t)=>`${e}:active ${t}, ${e}[data-active] ${t}`,Ze=(e,t)=>`${e}:disabled ${t}, ${e}[data-disabled] ${t}`,Je=(e,t)=>`${e}:invalid ${t}, ${e}[data-invalid] ${t}`,et=(e,t)=>`${e}:checked ${t}, ${e}[data-checked] ${t}`,tt=e=>nt((t=>e(t,"&")),"[role=group]","[data-group]",".group"),rt=e=>nt((t=>e(t,"~ &")),"[data-peer]",".peer"),nt=(e,...t)=>t.map(e).join(", "),ot={_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:tt(Ye),_peerHover:rt(Ye),_groupFocus:tt(Xe),_peerFocus:rt(Xe),_groupFocusVisible:tt(Ke),_peerFocusVisible:rt(Ke),_groupActive:tt(Qe),_peerActive:rt(Qe),_groupDisabled:tt(Ze),_peerDisabled:rt(Ze),_groupInvalid:tt(Je),_peerInvalid:rt(Je),_groupChecked:tt(et),_peerChecked:rt(et),_groupFocusWithin:tt(Ge),_peerFocusWithin:rt(Ge),_peerPlaceholderShown:rt(((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]"},it=Object.keys(ot);function at(e,t){return $e(String(e).replace(/\./g,"-"),void 0,t)}function st(e,t,r={}){const{stop:n,getKey:o}=r;return function e(r,i=[]){var a;if(function(e){return"object"==typeof e&&null!=e&&!Array.isArray(e)}(r)||Array.isArray(r)){const s={};for(const[l,u]of Object.entries(r)){const c=null!=(a=null==o?void 0:o(l))?a:l,d=[...i,c];if(null==n?void 0:n(r,d))return t(r,i);s[c]=e(u,d)}return s}return t(r,i)}(e)}var lt=["colors","borders","borderWidths","borderStyles","fonts","fontSizes","fontWeights","gradients","letterSpacings","lineHeights","radii","space","shadows","sizes","zIndices","transition","blur","breakpoints"],ut=e=>it.includes(e)||"default"===e;var ct=N({},ie,ae,se,ce,pe,ue,we,fe,de,be,xe,le,ke,Pe,Ee,Se,_e,he,Ce),dt=Object.assign({},ke,pe,ce,de,xe),ft=(Object.keys(dt),[...Object.keys(ct),...it]),pt={...ct,...ot},ht=e=>e in pt,mt=(e,t)=>e.startsWith("--")&&"string"==typeof t&&!function(e){return/^var\(--.+\)$/.test(e)}(t),gt=(e,t)=>{var r,n;if(null==t)return t;const o=t=>{var r,n;return null==(n=null==(r=e.__cssMap)?void 0:r[t])?void 0:n.varRef},i=e=>{var t;return null!=(t=o(e))?t:e},[a,s]=function(e){const t=[];let r="",n=!1;for(let o=0;o<e.length;o++){const i=e[o];"("===i?(n=!0,r+=i):")"===i?(n=!1,r+=i):","!==i||n?r+=i:(t.push(r),r="")}return r=r.trim(),r&&t.push(r),t}(t);return null!=(n=null!=(r=o(a))?r:i(s))?n:i(t)};var vt=e=>t=>function(e){const{configs:t={},pseudos:r={},theme:n}=e,o=(e,i=!1)=>{var a,s,l;const u=O(e,n),c=(e=>t=>{if(!t.__breakpoints)return e;const{isResponsive:r,toArrayValue:n,media:o}=t.__breakpoints,i={};for(const a in e){let s=O(e[a],t);if(null==s)continue;if(s=$(s)&&r(s)?n(s):s,!Array.isArray(s)){i[a]=s;continue}const l=s.slice(0,o.length).length;for(let e=0;e<l;e+=1){const t=null==o?void 0:o[e];t?(i[t]=i[t]||{},null!=s[e]&&(i[t][a]=s[e])):i[a]=s[e]}}return i})(u)(n);let d={};for(let e in c){let f=O(c[e],n);e in r&&(e=r[e]),mt(e,f)&&(f=gt(n,f));let p=t[e];if(!0===p&&(p={property:e}),$(f)){d[e]=null!=(a=d[e])?a:{},d[e]=N({},d[e],o(f,!0));continue}let h=null!=(l=null==(s=null==p?void 0:p.transform)?void 0:s.call(p,f,n,u))?l:f;h=(null==p?void 0:p.processResult)?o(h,!0):h;const m=O(null==p?void 0:p.property,n);if(!i&&(null==p?void 0:p.static)){const e=O(p.static,n);d=N({},d,e)}if(m&&Array.isArray(m))for(const e of m)d[e]=h;else m?"&"===m&&$(h)?d=N({},d,h):d[m]=h:$(h)?d=N({},d,h):d[e]=h}return d};return o}({theme:t,pseudos:ot,configs:ct})(e);function yt(e){return{definePartsStyle:e=>e,defineMultiStyleConfig:t=>({parts:e,...t})}}function bt(e,t){for(let r=t+1;r<e.length;r++)if(null!=e[r])return r;return-1}function xt(e){return function(e,t=[]){const r=Object.assign({},e);for(const e of t)e in r&&delete r[e];return r}(e,["styleConfig","size","variant","colorScheme"])}var wt=new Set([...ft,"textStyle","layerStyle","apply","noOfLines","focusBorderColor","errorBorderColor","as","__css","css","sx"]),kt=new Set(["htmlWidth","htmlHeight","htmlSize","htmlTranslate"]);function St(e){return kt.has(e)||!wt.has(e)}var _t=(0,B.createContext)({});function Ct(){const e=(0,B.useContext)(_t);if(void 0===e)throw new Error("useColorMode must be used within a ColorModeProvider");return e}_t.displayName="ColorModeContext";var Et=(e=>{const t=new WeakMap;return(r,n,o,i)=>{if(void 0===r)return e(r,n,o);t.has(r)||t.set(r,new Map);const a=t.get(r);if(a.has(n))return a.get(n);const s=e(r,n,o,i);return a.set(n,s),s}})((function(e,t,r,n){const o="string"==typeof t?t.split("."):[t];for(n=0;n<o.length&&e;n+=1)e=e[o[n]];return void 0===e?r:e}));function Pt(e,t){const r={};return Object.keys(e).forEach((n=>{const o=e[n];t(o,n,e)&&(r[n]=o)})),r}var Tt=e=>Pt(e,(e=>null!=e));function zt(e,...t){return"function"==typeof e?e(...t):e}function At(){return At=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},At.apply(null,arguments)}function Rt(e){var t=Object.create(null);return function(r){return void 0===t[r]&&(t[r]=e(r)),t[r]}}var Mt=/^((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|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)-.*))$/,Ft=Rt((function(e){return Mt.test(e)||111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&e.charCodeAt(2)<91})),jt=function(){function e(e){var t=this;this._insertTag=function(e){var r;r=0===t.tags.length?t.insertionPoint?t.insertionPoint.nextSibling:t.prepend?t.container.firstChild:t.before:t.tags[t.tags.length-1].nextSibling,t.container.insertBefore(e,r),t.tags.push(e)},this.isSpeedy=void 0===e.speedy||e.speedy,this.tags=[],this.ctr=0,this.nonce=e.nonce,this.key=e.key,this.container=e.container,this.prepend=e.prepend,this.insertionPoint=e.insertionPoint,this.before=null}var t=e.prototype;return t.hydrate=function(e){e.forEach(this._insertTag)},t.insert=function(e){this.ctr%(this.isSpeedy?65e3:1)==0&&this._insertTag(function(e){var t=document.createElement("style");return t.setAttribute("data-emotion",e.key),void 0!==e.nonce&&t.setAttribute("nonce",e.nonce),t.appendChild(document.createTextNode("")),t.setAttribute("data-s",""),t}(this));var t=this.tags[this.tags.length-1];if(this.isSpeedy){var r=function(e){if(e.sheet)return e.sheet;for(var t=0;t<document.styleSheets.length;t++)if(document.styleSheets[t].ownerNode===e)return document.styleSheets[t]}(t);try{r.insertRule(e,r.cssRules.length)}catch(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}(),Bt=Math.abs,Lt=String.fromCharCode,Dt=Object.assign;function $t(e){return e.trim()}function Ot(e,t,r){return e.replace(t,r)}function It(e,t){return e.indexOf(t)}function Nt(e,t){return 0|e.charCodeAt(t)}function Vt(e,t,r){return e.slice(t,r)}function Wt(e){return e.length}function Ut(e){return e.length}function Ht(e,t){return t.push(e),e}var qt=1,Yt=1,Xt=0,Kt=0,Gt=0,Qt="";function Zt(e,t,r,n,o,i,a){return{value:e,root:t,parent:r,type:n,props:o,children:i,line:qt,column:Yt,length:a,return:""}}function Jt(e,t){return Dt(Zt("",null,null,"",null,null,0),e,{length:-e.length},t)}function er(){return Gt=Kt>0?Nt(Qt,--Kt):0,Yt--,10===Gt&&(Yt=1,qt--),Gt}function tr(){return Gt=Kt<Xt?Nt(Qt,Kt++):0,Yt++,10===Gt&&(Yt=1,qt++),Gt}function rr(){return Nt(Qt,Kt)}function nr(){return Kt}function or(e,t){return Vt(Qt,e,t)}function ir(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 ar(e){return qt=Yt=1,Xt=Wt(Qt=e),Kt=0,[]}function sr(e){return Qt="",e}function lr(e){return $t(or(Kt-1,dr(91===e?e+2:40===e?e+1:e)))}function ur(e){for(;(Gt=rr())&&Gt<33;)tr();return ir(e)>2||ir(Gt)>3?"":" "}function cr(e,t){for(;--t&&tr()&&!(Gt<48||Gt>102||Gt>57&&Gt<65||Gt>70&&Gt<97););return or(e,nr()+(t<6&&32==rr()&&32==tr()))}function dr(e){for(;tr();)switch(Gt){case e:return Kt;case 34:case 39:34!==e&&39!==e&&dr(Gt);break;case 40:41===e&&dr(e);break;case 92:tr()}return Kt}function fr(e,t){for(;tr()&&e+Gt!==57&&(e+Gt!==84||47!==rr()););return"/*"+or(t,Kt-1)+"*"+Lt(47===e?e:tr())}function pr(e){for(;!ir(rr());)tr();return or(e,Kt)}var hr="-ms-",mr="-moz-",gr="-webkit-",vr="comm",yr="rule",br="decl",xr="@keyframes";function wr(e,t){for(var r="",n=Ut(e),o=0;o<n;o++)r+=t(e[o],o,e,t)||"";return r}function kr(e,t,r,n){switch(e.type){case"@layer":if(e.children.length)break;case"@import":case br:return e.return=e.return||e.value;case vr:return"";case xr:return e.return=e.value+"{"+wr(e.children,n)+"}";case yr:e.value=e.props.join(",")}return Wt(r=wr(e.children,n))?e.return=e.value+"{"+r+"}":""}function Sr(e){return sr(_r("",null,null,null,[""],e=ar(e),0,[0],e))}function _r(e,t,r,n,o,i,a,s,l){for(var u=0,c=0,d=a,f=0,p=0,h=0,m=1,g=1,v=1,y=0,b="",x=o,w=i,k=n,S=b;g;)switch(h=y,y=tr()){case 40:if(108!=h&&58==Nt(S,d-1)){-1!=It(S+=Ot(lr(y),"&","&\f"),"&\f")&&(v=-1);break}case 34:case 39:case 91:S+=lr(y);break;case 9:case 10:case 13:case 32:S+=ur(h);break;case 92:S+=cr(nr()-1,7);continue;case 47:switch(rr()){case 42:case 47:Ht(Er(fr(tr(),nr()),t,r),l);break;default:S+="/"}break;case 123*m:s[u++]=Wt(S)*v;case 125*m:case 59:case 0:switch(y){case 0:case 125:g=0;case 59+c:-1==v&&(S=Ot(S,/\f/g,"")),p>0&&Wt(S)-d&&Ht(p>32?Pr(S+";",n,r,d-1):Pr(Ot(S," ","")+";",n,r,d-2),l);break;case 59:S+=";";default:if(Ht(k=Cr(S,t,r,u,c,o,s,b,x=[],w=[],d),i),123===y)if(0===c)_r(S,t,k,k,x,i,d,s,w);else switch(99===f&&110===Nt(S,3)?100:f){case 100:case 108:case 109:case 115:_r(e,k,k,n&&Ht(Cr(e,k,k,0,0,o,s,b,o,x=[],d),w),o,w,d,s,n?x:w);break;default:_r(S,k,k,k,[""],w,0,s,w)}}u=c=p=0,m=v=1,b=S="",d=a;break;case 58:d=1+Wt(S),p=h;default:if(m<1)if(123==y)--m;else if(125==y&&0==m++&&125==er())continue;switch(S+=Lt(y),y*m){case 38:v=c>0?1:(S+="\f",-1);break;case 44:s[u++]=(Wt(S)-1)*v,v=1;break;case 64:45===rr()&&(S+=lr(tr())),f=rr(),c=d=Wt(b=S+=pr(nr())),y++;break;case 45:45===h&&2==Wt(S)&&(m=0)}}return i}function Cr(e,t,r,n,o,i,a,s,l,u,c){for(var d=o-1,f=0===o?i:[""],p=Ut(f),h=0,m=0,g=0;h<n;++h)for(var v=0,y=Vt(e,d+1,d=Bt(m=a[h])),b=e;v<p;++v)(b=$t(m>0?f[v]+" "+y:Ot(y,/&\f/g,f[v])))&&(l[g++]=b);return Zt(e,t,r,0===o?yr:s,l,u,c)}function Er(e,t,r){return Zt(e,t,r,vr,Lt(Gt),Vt(e,2,-2),0)}function Pr(e,t,r,n){return Zt(e,t,r,br,Vt(e,0,n),Vt(e,n+1,-1),n)}var Tr=function(e,t,r){for(var n=0,o=0;n=o,o=rr(),38===n&&12===o&&(t[r]=1),!ir(o);)tr();return or(e,Kt)},zr=new WeakMap,Ar=function(e){if("rule"===e.type&&e.parent&&!(e.length<1)){for(var t=e.value,r=e.parent,n=e.column===r.column&&e.line===r.line;"rule"!==r.type;)if(!(r=r.parent))return;if((1!==e.props.length||58===t.charCodeAt(0)||zr.get(r))&&!n){zr.set(e,!0);for(var o=[],i=function(e,t){return sr(function(e,t){var r=-1,n=44;do{switch(ir(n)){case 0:38===n&&12===rr()&&(t[r]=1),e[r]+=Tr(Kt-1,t,r);break;case 2:e[r]+=lr(n);break;case 4:if(44===n){e[++r]=58===rr()?"&\f":"",t[r]=e[r].length;break}default:e[r]+=Lt(n)}}while(n=tr());return e}(ar(e),t))}(t,o),a=r.props,s=0,l=0;s<i.length;s++)for(var u=0;u<a.length;u++,l++)e.props[l]=o[s]?i[s].replace(/&\f/g,a[u]):a[u]+" "+i[s]}}},Rr=function(e){if("decl"===e.type){var t=e.value;108===t.charCodeAt(0)&&98===t.charCodeAt(2)&&(e.return="",e.value="")}};function Mr(e,t){switch(function(e,t){return 45^Nt(e,0)?(((t<<2^Nt(e,0))<<2^Nt(e,1))<<2^Nt(e,2))<<2^Nt(e,3):0}(e,t)){case 5103:return gr+"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 gr+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return gr+e+mr+e+hr+e+e;case 6828:case 4268:return gr+e+hr+e+e;case 6165:return gr+e+hr+"flex-"+e+e;case 5187:return gr+e+Ot(e,/(\w+).+(:[^]+)/,gr+"box-$1$2"+hr+"flex-$1$2")+e;case 5443:return gr+e+hr+"flex-item-"+Ot(e,/flex-|-self/,"")+e;case 4675:return gr+e+hr+"flex-line-pack"+Ot(e,/align-content|flex-|-self/,"")+e;case 5548:return gr+e+hr+Ot(e,"shrink","negative")+e;case 5292:return gr+e+hr+Ot(e,"basis","preferred-size")+e;case 6060:return gr+"box-"+Ot(e,"-grow","")+gr+e+hr+Ot(e,"grow","positive")+e;case 4554:return gr+Ot(e,/([^-])(transform)/g,"$1"+gr+"$2")+e;case 6187:return Ot(Ot(Ot(e,/(zoom-|grab)/,gr+"$1"),/(image-set)/,gr+"$1"),e,"")+e;case 5495:case 3959:return Ot(e,/(image-set\([^]*)/,gr+"$1$`$1");case 4968:return Ot(Ot(e,/(.+:)(flex-)?(.*)/,gr+"box-pack:$3"+hr+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+gr+e+e;case 4095:case 3583:case 4068:case 2532:return Ot(e,/(.+)-inline(.+)/,gr+"$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(Wt(e)-1-t>6)switch(Nt(e,t+1)){case 109:if(45!==Nt(e,t+4))break;case 102:return Ot(e,/(.+:)(.+)-([^]+)/,"$1"+gr+"$2-$3$1"+mr+(108==Nt(e,t+3)?"$3":"$2-$3"))+e;case 115:return~It(e,"stretch")?Mr(Ot(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(115!==Nt(e,t+1))break;case 6444:switch(Nt(e,Wt(e)-3-(~It(e,"!important")&&10))){case 107:return Ot(e,":",":"+gr)+e;case 101:return Ot(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+gr+(45===Nt(e,14)?"inline-":"")+"box$3$1"+gr+"$2$3$1"+hr+"$2box$3")+e}break;case 5936:switch(Nt(e,t+11)){case 114:return gr+e+hr+Ot(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return gr+e+hr+Ot(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return gr+e+hr+Ot(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return gr+e+hr+e+e}return e}var Fr=[function(e,t,r,n){if(e.length>-1&&!e.return)switch(e.type){case br:e.return=Mr(e.value,e.length);break;case xr:return wr([Jt(e,{value:Ot(e.value,"@","@"+gr)})],n);case yr: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 wr([Jt(e,{props:[Ot(t,/:(read-\w+)/,":-moz-$1")]})],n);case"::placeholder":return wr([Jt(e,{props:[Ot(t,/:(plac\w+)/,":"+gr+"input-$1")]}),Jt(e,{props:[Ot(t,/:(plac\w+)/,":-moz-$1")]}),Jt(e,{props:[Ot(t,/:(plac\w+)/,hr+"input-$1")]})],n)}return""}))}}],jr=function(e){var t=e.key;if("css"===t){var r=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(r,(function(e){-1!==e.getAttribute("data-emotion").indexOf(" ")&&(document.head.appendChild(e),e.setAttribute("data-s",""))}))}var n,o,i=e.stylisPlugins||Fr,a={},s=[];n=e.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+t+' "]'),(function(e){for(var t=e.getAttribute("data-emotion").split(" "),r=1;r<t.length;r++)a[t[r]]=!0;s.push(e)}));var l,u,c,d,f=[kr,(d=function(e){l.insert(e)},function(e){e.root||(e=e.return)&&d(e)})],p=(u=[Ar,Rr].concat(i,f),c=Ut(u),function(e,t,r,n){for(var o="",i=0;i<c;i++)o+=u[i](e,t,r,n)||"";return o});o=function(e,t,r,n){l=r,function(e){wr(Sr(e),p)}(e?e+"{"+t.styles+"}":t.styles),n&&(h.inserted[t.name]=!0)};var h={key:t,sheet:new jt({key:t,container:n,nonce:e.nonce,speedy:e.speedy,prepend:e.prepend,insertionPoint:e.insertionPoint}),nonce:e.nonce,inserted:a,registered:{},insert:o};return h.sheet.hydrate(s),h},Br=function(e){var t=new WeakMap;return function(r){if(t.has(r))return t.get(r);var n=e(r);return t.set(r,n),n}},Lr={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},Dr=/[A-Z]|^ms/g,$r=/_EMO_([^_]+?)_([^]*?)_EMO_/g,Or=function(e){return 45===e.charCodeAt(1)},Ir=function(e){return null!=e&&"boolean"!=typeof e},Nr=Rt((function(e){return Or(e)?e:e.replace(Dr,"-$&").toLowerCase()})),Vr=function(e,t){switch(e){case"animation":case"animationName":if("string"==typeof t)return t.replace($r,(function(e,t,r){return Ur={name:t,styles:r,next:Ur},t}))}return 1===Lr[e]||Or(e)||"number"!=typeof t||0===t?t:t+"px"};function Wr(e,t,r){if(null==r)return"";var n=r;if(void 0!==n.__emotion_styles)return n;switch(typeof r){case"boolean":return"";case"object":var o=r;if(1===o.anim)return Ur={name:o.name,styles:o.styles,next:Ur},o.name;var i=r;if(void 0!==i.styles){var a=i.next;if(void 0!==a)for(;void 0!==a;)Ur={name:a.name,styles:a.styles,next:Ur},a=a.next;return i.styles+";"}return function(e,t,r){var n="";if(Array.isArray(r))for(var o=0;o<r.length;o++)n+=Wr(e,t,r[o])+";";else for(var i in r){var a=r[i];if("object"!=typeof a){var s=a;null!=t&&void 0!==t[s]?n+=i+"{"+t[s]+"}":Ir(s)&&(n+=Nr(i)+":"+Vr(i,s)+";")}else if(!Array.isArray(a)||"string"!=typeof a[0]||null!=t&&void 0!==t[a[0]]){var l=Wr(e,t,a);switch(i){case"animation":case"animationName":n+=Nr(i)+":"+l+";";break;default:n+=i+"{"+l+"}"}}else for(var u=0;u<a.length;u++)Ir(a[u])&&(n+=Nr(i)+":"+Vr(i,a[u])+";")}return n}(e,t,r);case"function":if(void 0!==e){var s=Ur,l=r(e);return Ur=s,Wr(e,t,l)}}var u=r;if(null==t)return u;var c=t[u];return void 0!==c?c:u}var Ur,Hr=/label:\s*([^\s;{]+)\s*(;|$)/g;function qr(e,t,r){if(1===e.length&&"object"==typeof e[0]&&null!==e[0]&&void 0!==e[0].styles)return e[0];var n=!0,o="";Ur=void 0;var i=e[0];null==i||void 0===i.raw?(n=!1,o+=Wr(r,t,i)):o+=i[0];for(var a=1;a<e.length;a++)o+=Wr(r,t,e[a]),n&&(o+=i[a]);Hr.lastIndex=0;for(var s,l="";null!==(s=Hr.exec(o));)l+="-"+s[1];var u=function(e){for(var t,r=0,n=0,o=e.length;o>=4;++n,o-=4)t=1540483477*(65535&(t=255&e.charCodeAt(n)|(255&e.charCodeAt(++n))<<8|(255&e.charCodeAt(++n))<<16|(255&e.charCodeAt(++n))<<24))+(59797*(t>>>16)<<16),r=1540483477*(65535&(t^=t>>>24))+(59797*(t>>>16)<<16)^1540483477*(65535&r)+(59797*(r>>>16)<<16);switch(o){case 3:r^=(255&e.charCodeAt(n+2))<<16;case 2:r^=(255&e.charCodeAt(n+1))<<8;case 1:r=1540483477*(65535&(r^=255&e.charCodeAt(n)))+(59797*(r>>>16)<<16)}return(((r=1540483477*(65535&(r^=r>>>13))+(59797*(r>>>16)<<16))^r>>>15)>>>0).toString(36)}(o)+l;return{name:u,styles:o,next:Ur}}var Yr=!!B.useInsertionEffect&&B.useInsertionEffect,Xr=Yr||function(e){return e()},Kr=Yr||B.useLayoutEffect,Gr=B.createContext("undefined"!=typeof HTMLElement?jr({key:"css"}):null);Gr.Provider;var Qr,Zr=function(e){return(0,B.forwardRef)((function(t,r){var n=(0,B.useContext)(Gr);return e(t,n,r)}))},Jr=B.createContext({}),en=Br((function(e){return Br((function(t){return function(e,t){return"function"==typeof t?t(e):At({},e,t)}(e,t)}))})),tn=function(e){var t=B.useContext(Jr);return e.theme!==t&&(t=en(t)(e.theme)),B.createElement(Jr.Provider,{value:t},e.children)},rn=function(e,t,r){var n=e.key+"-"+t.name;!1===r&&void 0===e.registered[n]&&(e.registered[n]=t.styles)},nn=function(e,t,r){rn(e,t,r);var n=e.key+"-"+t.name;if(void 0===e.inserted[t.name]){var o=t;do{e.insert(t===o?"."+n:"",o,e.sheet,!0),o=o.next}while(void 0!==o)}},on=Ft,an=function(e){return"theme"!==e},sn=function(e){return"string"==typeof e&&e.charCodeAt(0)>96?on:an},ln=function(e,t,r){var n;if(t){var o=t.shouldForwardProp;n=e.__emotion_forwardProp&&o?function(t){return e.__emotion_forwardProp(t)&&o(t)}:o}return"function"!=typeof n&&r&&(n=e.__emotion_forwardProp),n},un=function(e){var t=e.cache,r=e.serialized,n=e.isStringTag;return rn(t,r,n),Xr((function(){return nn(t,r,n)})),null},cn=function e(t,r){var n,o,i=t.__emotion_real===t,a=i&&t.__emotion_base||t;void 0!==r&&(n=r.label,o=r.target);var s=ln(t,r,i),l=s||sn(a),u=!l("as");return function(){var c=arguments,d=i&&void 0!==t.__emotion_styles?t.__emotion_styles.slice(0):[];if(void 0!==n&&d.push("label:"+n+";"),null==c[0]||void 0===c[0].raw)d.push.apply(d,c);else{d.push(c[0][0]);for(var f=c.length,p=1;p<f;p++)d.push(c[p],c[0][p])}var h=Zr((function(e,t,r){var n,i,c,f,p=u&&e.as||a,h="",m=[],g=e;if(null==e.theme){for(var v in g={},e)g[v]=e[v];g.theme=B.useContext(Jr)}"string"==typeof e.className?(n=t.registered,i=m,c=e.className,f="",c.split(" ").forEach((function(e){void 0!==n[e]?i.push(n[e]+";"):e&&(f+=e+" ")})),h=f):null!=e.className&&(h=e.className+" ");var y=qr(d.concat(m),t.registered,g);h+=t.key+"-"+y.name,void 0!==o&&(h+=" "+o);var b=u&&void 0===s?sn(p):l,x={};for(var w in e)u&&"as"===w||b(w)&&(x[w]=e[w]);return x.className=h,x.ref=r,B.createElement(B.Fragment,null,B.createElement(un,{cache:t,serialized:y,isStringTag:"string"==typeof p}),B.createElement(p,x))}));return h.displayName=void 0!==n?n:"Styled("+("string"==typeof a?a:a.displayName||a.name||"Component")+")",h.defaultProps=t.defaultProps,h.__emotion_real=h,h.__emotion_base=a,h.__emotion_styles=d,h.__emotion_forwardProp=s,Object.defineProperty(h,"toString",{value:function(){return"."+o}}),h.withComponent=function(t,n){return e(t,At({},r,n,{shouldForwardProp:ln(h,n,!0)})).apply(void 0,d)},h}}.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){cn[e]=cn(e)}));var dn=null!=(Qr=cn.default)?Qr:cn;function fn(e,t){const{baseStyle:r,...n}=null!=t?t:{};n.shouldForwardProp||(n.shouldForwardProp=St);const o=(({baseStyle:e})=>t=>{const{theme:r,css:n,__css:o,sx:i,...a}=t,s=Pt(a,((e,t)=>ht(t))),l=function(e,...t){if(null==e)throw new TypeError("Cannot convert undefined or null to object");const r={...e};for(const e of t)if(null!=e)for(const t in e)Object.prototype.hasOwnProperty.call(e,t)&&(t in r&&delete r[t],r[t]=e[t]);return r}({},o,zt(e,t),Tt(s),i),u=vt(l)(t.theme);return n?[u,n]:u})({baseStyle:r}),i=dn(e,n)(o);return B.forwardRef((function(e,t){const{colorMode:r,forced:n}=Ct();return B.createElement(i,{ref:t,"data-theme":n?r:void 0,...e})}))}var pn=function(){const e=new Map;return new Proxy(fn,{apply:(e,t,r)=>fn(...r),get:(t,r)=>(e.has(r)||e.set(r,fn(r)),e.get(r))})}();function hn(){return hn=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},hn.apply(null,arguments)}const mn=(0,B.createElement)("svg",{width:24,height:24,viewBox:"0 0 24 24"},(0,B.createElement)("path",{fill:"#7e3bd0",d:"M18.1 4h-3.8l1.2 2h3.9zM20.6 8h-3.9l1.2 2h3.9zM20.6 18H5.8L12 7.9l2.5 4.1H12l-1.2 2h7.3L12 4.1 2.2 20h19.6z"}));r(4146);var gn=Zr((function(e,t){var r=qr([e.styles],void 0,B.useContext(Jr)),n=B.useRef();return Kr((function(){var e=t.key+"-global",o=new t.sheet.constructor({key:e,nonce:t.sheet.nonce,container:t.sheet.container,speedy:t.sheet.isSpeedy}),i=!1,a=document.querySelector('style[data-emotion="'+e+" "+r.name+'"]');return t.sheet.tags.length&&(o.before=t.sheet.tags[0]),null!==a&&(i=!0,a.setAttribute("data-emotion",e),o.hydrate([a])),n.current=[o,i],function(){o.flush()}}),[t]),Kr((function(){var e=n.current,o=e[0];if(e[1])e[1]=!1;else{if(void 0!==r.next&&nn(t,r.next,!0),o.tags.length){var i=o.tags[o.tags.length-1].nextElementSibling;o.before=i,o.flush()}t.insert("",r,o,!1)}}),[t,r.name]),null}));function vn(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return qr(t)}var yn=r(4848),bn=String.raw,xn=bn` :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; } } `,wn=()=>(0,yn.jsx)(gn,{styles:xn}),kn=({scope:e=""})=>(0,yn.jsx)(gn,{styles:bn` 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; } ${xn} `});function Sn(e={}){const{name:t,strict:r=!0,hookName:n="useContext",providerName:o="Provider",errorMessage:i,defaultValue:a}=e,s=(0,B.createContext)(a);return s.displayName=t,[s.Provider,function e(){var t;const a=(0,B.useContext)(s);if(!a&&r){const r=new Error(null!=i?i:`${n} returned \`undefined\`. Seems you forgot to wrap component within ${o}`);throw r.name="ContextError",null==(t=Error.captureStackTrace)||t.call(Error,r,e),r}return a},s]}var[_n,Cn]=Sn({strict:!1,name:"PortalManagerContext"});function En(e){const{children:t,zIndex:r}=e;return(0,yn.jsx)(_n,{value:{zIndex:r},children:t})}function Pn(e){const{cssVarsRoot:t,theme:r,children:n}=e,o=(0,B.useMemo)((()=>function(e){var t;const r=function(e){const{__cssMap:t,__cssVars:r,__breakpoints:n,...o}=e;return o}(e),n=function(e){return function(e,t){const r={};for(const n of t)n in e&&(r[n]=e[n]);return r}(e,lt)}(r),o=function(e){return e.semanticTokens}(r),i=function({tokens:e,semanticTokens:t}){const r={};return st(e,((e,t)=>{null!=e&&(r[t.join(".")]={isSemantic:!1,value:e})})),st(t,((e,t)=>{null!=e&&(r[t.join(".")]={isSemantic:!0,value:e})}),{stop:e=>Object.keys(e).every(ut)}),r}({tokens:n,semanticTokens:o}),a=null==(t=r.config)?void 0:t.cssVarPrefix,{cssMap:s,cssVars:l}=function(e,t){let r={};const n={};for(const[o,i]of Object.entries(e)){const{isSemantic:a,value:s}=i,{variable:l,reference:u}=at(o,null==t?void 0:t.cssVarPrefix);if(!a){if(o.startsWith("space")){const e=o.split("."),[t,...r]=e,i=`${t}.-${r.join(".")}`,a=Be.negate(s),c=Be.negate(u);n[i]={value:a,var:l,varRef:c}}r[l]=s,n[o]={value:s,var:l,varRef:u};continue}const c=r=>{const n=[String(o).split(".")[0],r].join(".");if(!e[n])return r;const{reference:i}=at(n,null==t?void 0:t.cssVarPrefix);return i},d=$(s)?s:{default:s};r=N(r,Object.entries(d).reduce(((e,[t,r])=>{var n,o;if(!r)return e;const i=c(`${r}`);return"default"===t?(e[l]=i,e):(e[null!=(o=null==(n=ot)?void 0:n[t])?o:t]={[l]:i},e)}),{})),n[o]={value:u,var:l,varRef:u}}return{cssVars:r,cssMap:n}}(i,{cssVarPrefix:a});return Object.assign(r,{__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:qe(r.breakpoints)}),r}(r)),[r]);return(0,yn.jsxs)(tn,{theme:o,children:[(0,yn.jsx)(Tn,{root:t}),n]})}function Tn({root:e=":host, :root"}){const t=[e,"[data-theme]"].join(",");return(0,yn.jsx)(gn,{styles:e=>({[t]:e.__cssVars})})}En.displayName="PortalManager";var[zn,An]=function(e={}){const{strict:t=!0,errorMessage:r="useContext: `context` is undefined. Seems you forgot to wrap component within the Provider",name:n}=e,o=(0,B.createContext)(void 0);return o.displayName=n,[o.Provider,function e(){var n;const i=(0,B.useContext)(o);if(!i&&t){const t=new Error(r);throw t.name="ContextError",null==(n=Error.captureStackTrace)||n.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 Rn(){const{colorMode:e}=Ct();return(0,yn.jsx)(gn,{styles:t=>{const r=zt(Et(t,"styles.global"),{theme:t,colorMode:e});if(r)return vt(r)(t)}})}var Mn,Fn="chakra-ui-light",jn="chakra-ui-dark",Bn="chakra-ui-color-mode",Ln=(Mn=Bn,{ssr:!1,type:"localStorage",get(e){if(!(null==globalThis?void 0:globalThis.document))return e;let t;try{t=localStorage.getItem(Mn)||e}catch(e){}return t||e},set(e){try{localStorage.setItem(Mn,e)}catch(e){}}});var Dn=Boolean(null==globalThis?void 0:globalThis.document)?B.useLayoutEffect:B.useEffect,$n=()=>{};function On(e,t){return"cookie"===e.type&&e.ssr?e.get(t):t}function In(e){const{value:t,children:r,options:{useSystemColorMode:n,initialColorMode:o,disableTransitionOnChange:i}={},colorModeManager:a=Ln}=e,s="dark"===o?"dark":"light",[l,u]=(0,B.useState)((()=>On(a,s))),[c,d]=(0,B.useState)((()=>On(a))),{getSystemTheme:f,setClassName:p,setDataset:h,addListener:m}=(0,B.useMemo)((()=>function(e={}){const{preventTransition:t=!0}=e,r={setDataset:e=>{const n=t?r.preventTransition():void 0;document.documentElement.dataset.theme=e,document.documentElement.style.colorScheme=e,null==n||n()},setClassName(e){document.body.classList.add(e?jn:Fn),document.body.classList.remove(e?Fn:jn)},query:()=>window.matchMedia("(prefers-color-scheme: dark)"),getSystemTheme(e){var t;return(null!=(t=r.query().matches)?t:"dark"===e)?"dark":"light"},addListener(e){const t=r.query(),n=t=>{e(t.matches?"dark":"light")};return"function"==typeof t.addListener?t.addListener(n):t.addEventListener("change",n),()=>{"function"==typeof t.removeListener?t.removeListener(n):t.removeEventListener("change",n)}},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 r}({preventTransition:i})),[i]),g="system"!==o||l?l:c,v=(0,B.useCallback)((e=>{const t="system"===e?f():e;u(t),p("dark"===t),h(t),a.set(t)}),[a,f,p,h]);Dn((()=>{"system"===o&&d(f())}),[]),(0,B.useEffect)((()=>{const e=a.get();v(e||("system"!==o?s:"system"))}),[a,s,o,v]);const y=(0,B.useCallback)((()=>{v("dark"===g?"light":"dark")}),[g,v]);(0,B.useEffect)((()=>{if(n)return m(v)}),[n,m,v]);const b=(0,B.useMemo)((()=>({colorMode:null!=t?t:g,toggleColorMode:t?$n:y,setColorMode:t?$n:v,forced:void 0!==t})),[g,y,v,t]);return(0,yn.jsx)(_t.Provider,{value:b,children:r})}In.displayName="ColorModeProvider";var Nn=(0,B.createContext)({getDocument:()=>document,getWindow:()=>window});function Vn(e){const{children:t,environment:r,disabled:n}=e,o=(0,B.useRef)(null),i=(0,B.useMemo)((()=>r||{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}}),[r]),a=!n||!r;return(0,yn.jsxs)(Nn.Provider,{value:i,children:[t,a&&(0,yn.jsx)("span",{id:"__chakra_env",hidden:!0,ref:o})]})}Nn.displayName="EnvironmentContext",Vn.displayName="EnvironmentProvider";var Wn=e=>{const{children:t,colorModeManager:r,portalZIndex:n,resetScope:o,resetCSS:i=!0,theme:a={},environment:s,cssVarsRoot:l,disableEnvironment:u,disableGlobalStyle:c}=e,d=(0,yn.jsx)(Vn,{environment:s,disabled:u,children:t});return(0,yn.jsx)(Pn,{theme:a,cssVarsRoot:l,children:(0,yn.jsxs)(In,{colorModeManager:r,options:a.config,children:[i?(0,yn.jsx)(kn,{scope:o}):(0,yn.jsx)(wn,{}),!c&&(0,yn.jsx)(Rn,{}),n?(0,yn.jsx)(En,{zIndex:n,children:d}):d]})})},Un={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"}},Hn={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"},qn={...Hn,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"}},Yn={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"}},...Un,sizes:qn,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:Hn,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:Xn,definePartsStyle:Kn}=yt(["stepper","step","title","description","indicator","separator","icon","number"]),Gn=$e("stepper-indicator-size"),Qn=$e("stepper-icon-size"),Zn=$e("stepper-title-font-size"),Jn=$e("stepper-description-font-size"),eo=$e("stepper-accent-color"),to=Xn({baseStyle:Kn((({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"},[eo.variable]:`colors.${e}.500`,_dark:{[eo.variable]:`colors.${e}.200`}},title:{fontSize:Zn.reference,fontWeight:"medium"},description:{fontSize:Jn.reference,color:"chakra-subtle-text"},number:{fontSize:Zn.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:Qn.reference,height:Qn.reference},indicator:{flexShrink:0,borderRadius:"full",width:Gn.reference,height:Gn.reference,display:"flex",justifyContent:"center",alignItems:"center","&[data-status=active]":{borderWidth:"2px",borderColor:eo.reference},"&[data-status=complete]":{bg:eo.reference,color:"chakra-inverse-text"},"&[data-status=incomplete]":{borderWidth:"2px"}},separator:{bg:"chakra-border-color",flex:"1","&[data-status=complete]":{bg:eo.reference},"&[data-orientation=horizontal]":{width:"100%",height:"2px",marginStart:"2"},"&[data-orientation=vertical]":{width:"2px",position:"absolute",height:"100%",maxHeight:`calc(100% - ${Gn.reference} - 8px)`,top:`calc(${Gn.reference} + 4px)`,insetStart:`calc(${Gn.reference} / 2 - 1px)`}}}))),sizes:{xs:Kn({stepper:{[Gn.variable]:"sizes.4",[Qn.variable]:"sizes.3",[Zn.variable]:"fontSizes.xs",[Jn.variable]:"fontSizes.xs"}}),sm:Kn({stepper:{[Gn.variable]:"sizes.6",[Qn.variable]:"sizes.4",[Zn.variable]:"fontSizes.sm",[Jn.variable]:"fontSizes.xs"}}),md:Kn({stepper:{[Gn.variable]:"sizes.8",[Qn.variable]:"sizes.5",[Zn.variable]:"fontSizes.md",[Jn.variable]:"fontSizes.sm"}}),lg:Kn({stepper:{[Gn.variable]:"sizes.10",[Qn.variable]:"sizes.6",[Zn.variable]:"fontSizes.lg",[Jn.variable]:"fontSizes.md"}})},defaultProps:{size:"md",colorScheme:"blue"}});function ro(e,t={}){let r=!1;function n(t){const r=`chakra-${(["container","root"].includes(null!=t?t:"")?[e]:[e,t]).filter(Boolean).join("__")}`;return{className:r,selector:`.${r}`,toString:()=>t}}return{parts:function(...o){!function(){if(r)throw new Error("[anatomy] .part(...) should only be called once. Did you mean to use .extend(...) ?");r=!0}();for(const e of o)t[e]=n(e);return ro(e,t)},toPart:n,extend:function(...r){for(const e of r)e in t||(t[e]=n(e));return ro(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 no=ro("accordion").parts("root","container","button","panel").extend("icon"),oo=ro("alert").parts("title","description","container").extend("icon","spinner"),io=ro("avatar").parts("label","badge","container").extend("excessLabel","group"),ao=ro("breadcrumb").parts("link","item","container").extend("separator"),so=(ro("button").parts(),ro("checkbox").parts("control","icon","container").extend("label")),lo=(ro("progress").parts("track","filledTrack").extend("label"),ro("drawer").parts("overlay","dialogContainer","dialog").extend("header","closeButton","body","footer")),uo=ro("editable").parts("preview","input","textarea"),co=ro("form").parts("container","requiredIndicator","helperText"),fo=ro("formError").parts("text","icon"),po=ro("input").parts("addon","field","element","group"),ho=ro("list").parts("container","item","icon"),mo=ro("menu").parts("button","list","item").extend("groupTitle","icon","command","divider"),go=ro("modal").parts("overlay","dialogContainer","dialog").extend("header","closeButton","body","footer"),vo=ro("numberinput").parts("root","field","stepperGroup","stepper"),yo=(ro("pininput").parts("field"),ro("popover").parts("content","header","body","footer").extend("popper","arrow","closeButton")),bo=ro("progress").parts("label","filledTrack","track"),xo=ro("radio").parts("container","control","label"),wo=ro("select").parts("field","icon"),ko=ro("slider").parts("container","track","thumb","filledTrack","mark"),So=ro("stat").parts("container","label","helpText","number","icon"),_o=ro("switch").parts("container","track","thumb","label"),Co=ro("table").parts("table","thead","tbody","tr","th","td","tfoot","caption"),Eo=ro("tabs").parts("root","tab","tablist","tabpanel","tabpanels","indicator"),Po=ro("tag").parts("container","label","closeButton"),To=ro("card").parts("container","header","body","footer");function zo(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 Ao(e,t){return`var(${zo(e)}${t?`, ${t}`:""})`}function Ro(e,t){const r=function(e,t=""){return`--${function(e,t=""){return[t,zo(e)].filter(Boolean).join("-")}(e,t)}`}(e,null==t?void 0:t.prefix);return{variable:r,reference:Ao(r,(n=null==t?void 0:t.fallback,"string"==typeof n?n:null==n?void 0:n.reference))};var n}function Mo(e){return $(e)&&e.reference?e.reference:String(e)}ro("stepper").parts("stepper","step","title","description","indicator","separator","icon","number");var Fo=(e,...t)=>t.map(Mo).join(` ${e} `).replace(/calc/g,""),jo=(...e)=>`calc(${Fo("+",...e)})`,Bo=(...e)=>`calc(${Fo("-",...e)})`,Lo=(...e)=>`calc(${Fo("*",...e)})`,Do=(...e)=>`calc(${Fo("/",...e)})`,$o=e=>{const t=Mo(e);return null==t||Number.isNaN(parseFloat(t))?Lo(t,-1):String(t).startsWith("-")?String(t).slice(1):`-${t}`},Oo=Object.assign((e=>({add:(...t)=>Oo(jo(e,...t)),subtract:(...t)=>Oo(Bo(e,...t)),multiply:(...t)=>Oo(Lo(e,...t)),divide:(...t)=>Oo(Do(e,...t)),negate:()=>Oo($o(e)),toString:()=>e.toString()})),{add:jo,subtract:Bo,multiply:Lo,divide:Do,negate:$o}),{defineMultiStyleConfig:Io,definePartsStyle:No}=yt(_o.keys),Vo=Ro("switch-track-width"),Wo=Ro("switch-track-height"),Uo=Ro("switch-track-diff"),Ho=Oo.subtract(Vo,Wo),qo=Ro("switch-thumb-x"),Yo=Ro("switch-bg"),Xo=e=>{const{colorScheme:t}=e;return{borderRadius:"full",p:"0.5",width:[Vo.reference],height:[Wo.reference],transitionProperty:"common",transitionDuration:"fast",[Yo.variable]:"colors.gray.300",_dark:{[Yo.variable]:"colors.whiteAlpha.400"},_focusVisible:{boxShadow:"outline"},_disabled:{opacity:.4,cursor:"not-allowed"},_checked:{[Yo.variable]:`colors.${t}.500`,_dark:{[Yo.variable]:`colors.${t}.200`}},bg:Yo.reference}},Ko={bg:"white",transitionProperty:"transform",transitionDuration:"normal",borderRadius:"inherit",width:[Wo.reference],height:[Wo.reference],_checked:{transform:`translateX(${qo.reference})`}},Go=Io({baseStyle:No((e=>({container:{[Uo.variable]:Ho,[qo.variable]:Uo.reference,_rtl:{[qo.variable]:Oo(Uo).negate().toString()}},track:Xo(e),thumb:Ko}))),sizes:{sm:No({container:{[Vo.variable]:"1.375rem",[Wo.variable]:"sizes.3"}}),md:No({container:{[Vo.variable]:"1.875rem",[Wo.variable]:"sizes.4"}}),lg:No({container:{[Vo.variable]:"2.875rem",[Wo.variable]:"sizes.6"}})},defaultProps:{size:"md",colorScheme:"blue"}});function Qo(e,t){return r=>"dark"===r.colorMode?t:e}function Zo(e){const{orientation:t,vertical:r,horizontal:n}=e;return t?"vertical"===t?r:n:{}}var{defineMultiStyleConfig:Jo,definePartsStyle:ei}=yt(Co.keys),ti=ei({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"}}),ri={"&[data-is-numeric=true]":{textAlign:"end"}},ni=Jo({baseStyle:ti,variants:{simple:ei((e=>{const{colorScheme:t}=e;return{th:{color:Qo("gray.600","gray.400")(e),borderBottom:"1px",borderColor:Qo(`${t}.100`,`${t}.700`)(e),...ri},td:{borderBottom:"1px",borderColor:Qo(`${t}.100`,`${t}.700`)(e),...ri},caption:{color:Qo("gray.600","gray.100")(e)},tfoot:{tr:{"&:last-of-type":{th:{borderBottomWidth:0}}}}}})),striped:ei((e=>{const{colorScheme:t}=e;return{th:{color:Qo("gray.600","gray.400")(e),borderBottom:"1px",borderColor:Qo(`${t}.100`,`${t}.700`)(e),...ri},td:{borderBottom:"1px",borderColor:Qo(`${t}.100`,`${t}.700`)(e),...ri},caption:{color:Qo("gray.600","gray.100")(e)},tbody:{tr:{"&:nth-of-type(odd)":{"th, td":{borderBottomWidth:"1px",borderColor:Qo(`${t}.100`,`${t}.700`)(e)},td:{background:Qo(`${t}.100`,`${t}.700`)(e)}}}},tfoot:{tr:{"&:last-of-type":{th:{borderBottomWidth:0}}}}}})),unstyled:{}},sizes:{sm:ei({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:ei({th:{px:"6",py:"3",lineHeight:"4",fontSize:"xs"},td:{px:"6",py:"4",lineHeight:"5"},caption:{px:"6",py:"2",fontSize:"sm"}}),lg:ei({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 oi(e,t,r){return Math.min(Math.max(e,r),t)}class ii extends Error{constructor(e){super(`Failed to parse color: "${e}"`)}}var ai=ii;function si(e){if("string"!=typeof e)throw new ai(e);if("transparent"===e.trim().toLowerCase())return[0,0,0,0];let t=e.trim();t=mi.test(e)?function(e){const t=e.toLowerCase().trim(),r=ui[function(e){let t=5381,r=e.length;for(;r;)t=33*t^e.charCodeAt(--r);return(t>>>0)%2341}(t)];if(!r)throw new ai(e);return`#${r}`}(e):e;const r=di.exec(t);if(r){const e=Array.from(r).slice(1);return[...e.slice(0,3).map((e=>parseInt(ci(e,2),16))),parseInt(ci(e[3]||"f",2),16)/255]}const n=fi.exec(t);if(n){const e=Array.from(n).slice(1);return[...e.slice(0,3).map((e=>parseInt(e,16))),parseInt(e[3]||"ff",16)/255]}const o=pi.exec(t);if(o){const e=Array.from(o).slice(1);return[...e.slice(0,3).map((e=>parseInt(e,10))),parseFloat(e[3]||"1")]}const i=hi.exec(t);if(i){const[t,r,n,o]=Array.from(i).slice(1).map(parseFloat);if(oi(0,100,r)!==r)throw new ai(e);if(oi(0,100,n)!==n)throw new ai(e);return[...vi(t,r,n),Number.isNaN(o)?1:o]}throw new ai(e)}const li=e=>parseInt(e.replace(/_/g,""),36),ui="1q29ehhb 1n09sgk7 1kl1ekf_ _yl4zsno 16z9eiv3 1p29lhp8 _bd9zg04 17u0____ _iw9zhe5 _to73___ _r45e31e _7l6g016 _jh8ouiv _zn3qba8 1jy4zshs 11u87k0u 1ro9yvyo 1aj3xael 1gz9zjz0 _3w8l4xo 1bf1ekf_ _ke3v___ _4rrkb__ 13j776yz _646mbhl _nrjr4__ _le6mbhl 1n37ehkb _m75f91n _qj3bzfz 1939yygw 11i5z6x8 _1k5f8xs 1509441m 15t5lwgf _ae2th1n _tg1ugcv 1lp1ugcv 16e14up_ _h55rw7n _ny9yavn _7a11xb_ 1ih442g9 _pv442g9 1mv16xof 14e6y7tu 1oo9zkds 17d1cisi _4v9y70f _y98m8kc 1019pq0v 12o9zda8 _348j4f4 1et50i2o _8epa8__ _ts6senj 1o350i2o 1mi9eiuo 1259yrp0 1ln80gnw _632xcoy 1cn9zldc _f29edu4 1n490c8q _9f9ziet 1b94vk74 _m49zkct 1kz6s73a 1eu9dtog _q58s1rz 1dy9sjiq __u89jo3 _aj5nkwg _ld89jo3 13h9z6wx _qa9z2ii _l119xgq _bs5arju 1hj4nwk9 1qt4nwk9 1ge6wau6 14j9zlcw 11p1edc_ _ms1zcxe _439shk6 _jt9y70f _754zsow 1la40eju _oq5p___ _x279qkz 1fa5r3rv _yd2d9ip _424tcku _8y1di2_ _zi2uabw _yy7rn9h 12yz980_ __39ljp6 1b59zg0x _n39zfzp 1fy9zest _b33k___ _hp9wq92 1il50hz4 _io472ub _lj9z3eo 19z9ykg0 _8t8iu3a 12b9bl4a 1ak5yw0o _896v4ku _tb8k8lv _s59zi6t _c09ze0p 1lg80oqn 1id9z8wb _238nba5 1kq6wgdi _154zssg _tn3zk49 _da9y6tc 1sg7cv4f _r12jvtt 1gq5fmkz 1cs9rvci _lp9jn1c _xw1tdnb 13f9zje6 16f6973h _vo7ir40 _bt5arjf _rc45e4t _hr4e100 10v4e100 _hc9zke2 _w91egv_ _sj2r1kk 13c87yx8 _vqpds__ _ni8ggk8 _tj9yqfb 1ia2j4r4 _7x9b10u 1fc9ld4j 1eq9zldr _5j9lhpx _ez9zl6o _md61fzm".split(" ").reduce(((e,t)=>{const r=li(t.substring(0,3)),n=li(t.substring(3)).toString(16);let o="";for(let e=0;e<6-n.length;e++)o+="0";return e[r]=`${o}${n}`,e}),{}),ci=(e,t)=>Array.from(Array(t)).map((()=>e)).join(""),di=new RegExp(`^#${ci("([a-f0-9])",3)}([a-f0-9])?$`,"i"),fi=new RegExp(`^#${ci("([a-f0-9]{2})",3)}([a-f0-9]{2})?$`,"i"),pi=new RegExp(`^rgba?\\(\\s*(\\d+)\\s*${ci(",\\s*(\\d+)\\s*",2)}(?:,\\s*([\\d.]+))?\\s*\\)$`,"i"),hi=/^hsla?\(\s*([\d.]+)\s*,\s*([\d.]+)%\s*,\s*([\d.]+)%(?:\s*,\s*([\d.]+))?\s*\)$/i,mi=/^[a-z]+$/i,gi=e=>Math.round(255*e),vi=(e,t,r)=>{let n=r/100;if(0===t)return[n,n,n].map(gi);const o=(e%360+360)%360/60,i=(1-Math.abs(2*n-1))*(t/100),a=i*(1-Math.abs(o%2-1));let s=0,l=0,u=0;o>=0&&o<1?(s=i,l=a):o>=1&&o<2?(s=a,l=i):o>=2&&o<3?(l=i,u=a):o>=3&&o<4?(l=a,u=i):o>=4&&o<5?(s=a,u=i):o>=5&&o<6&&(s=i,u=a);const c=n-i/2;return[s+c,l+c,u+c].map(gi)};function yi(e,t){const[r,n,o,i]=si(e);return function(e,t,r,n){return`rgba(${oi(0,255,e).toFixed()}, ${oi(0,255,t).toFixed()}, ${oi(0,255,r).toFixed()}, ${parseFloat(oi(0,1,n).toFixed(3))})`}(r,n,o,i-t)}var bi=(e,t,r)=>{const n=function(e,t,r,n,o){for(t=t.split?t.split("."):t,n=0;n<t.length;n++)e=e?e[t[n]]:o;return e===o?r:e}(e,`colors.${t}`,t);try{return function(e){const[t,r,n,o]=si(e);let i=e=>{const t=oi(0,255,e).toString(16);return 1===t.length?`0${t}`:t};i(t),i(r),i(n),o<1&&i(Math.round(255*o))}(n),n}catch{return null!=r?r:"#000000"}},xi=(e,t)=>r=>yi(bi(r,e),1-t);function wi(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 ki=$e("tabs-color"),Si=$e("tabs-bg"),_i=$e("tabs-border-color"),{defineMultiStyleConfig:Ci,definePartsStyle:Ei}=yt(Eo.keys),Pi=e=>{const{orientation:t}=e;return{display:"vertical"===t?"flex":"block"}},Ti=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}}},zi=e=>{const{align:t="start",orientation:r}=e;return{justifyContent:{end:"flex-end",center:"center",start:"flex-start"}[t],flexDirection:"vertical"===r?"column":"row"}},Ai={p:4},Ri=Ei((e=>({root:Pi(e),tab:Ti(e),tablist:zi(e),tabpanel:Ai}))),Mi={sm:Ei({tab:{py:1,px:4,fontSize:"sm"}}),md:Ei({tab:{fontSize:"md",py:2,px:4}}),lg:Ei({tab:{fontSize:"lg",py:3,px:4}})},Fi=Ei((e=>{const{colorScheme:t,orientation:r}=e,n="vertical"===r,o=n?"borderStart":"borderBottom",i=n?"marginStart":"marginBottom";return{tablist:{[o]:"2px solid",borderColor:"inherit"},tab:{[o]:"2px solid",borderColor:"transparent",[i]:"-2px",_selected:{[ki.variable]:`colors.${t}.600`,_dark:{[ki.variable]:`colors.${t}.300`},borderColor:"currentColor"},_active:{[Si.variable]:"colors.gray.200",_dark:{[Si.variable]:"colors.whiteAlpha.300"}},_disabled:{_active:{bg:"none"}},color:ki.reference,bg:Si.reference}}})),ji=Ei((e=>{const{colorScheme:t}=e;return{tab:{borderTopRadius:"md",border:"1px solid",borderColor:"transparent",mb:"-1px",[_i.variable]:"transparent",_selected:{[ki.variable]:`colors.${t}.600`,[_i.variable]:"colors.white",_dark:{[ki.variable]:`colors.${t}.300`,[_i.variable]:"colors.gray.800"},borderColor:"inherit",borderBottomColor:_i.reference},color:ki.reference},tablist:{mb:"-1px",borderBottom:"1px solid",borderColor:"inherit"}}})),Bi=Ei((e=>{const{colorScheme:t}=e;return{tab:{border:"1px solid",borderColor:"inherit",[Si.variable]:"colors.gray.50",_dark:{[Si.variable]:"colors.whiteAlpha.50"},mb:"-1px",_notLast:{marginEnd:"-1px"},_selected:{[Si.variable]:"colors.white",[ki.variable]:`colors.${t}.600`,_dark:{[Si.variable]:"colors.gray.800",[ki.variable]:`colors.${t}.300`},borderColor:"inherit",borderTopColor:"currentColor",borderBottomColor:"transparent"},color:ki.reference,bg:Si.reference},tablist:{mb:"-1px",borderBottom:"1px solid",borderColor:"inherit"}}})),Li=Ei((e=>{const{colorScheme:t,theme:r}=e;return{tab:{borderRadius:"full",fontWeight:"semibold",color:"gray.600",_selected:{color:bi(r,`${t}.700`),bg:bi(r,`${t}.100`)}}}})),Di=Ci({baseStyle:Ri,sizes:Mi,variants:{line:Fi,enclosed:ji,"enclosed-colored":Bi,"soft-rounded":Li,"solid-rounded":Ei((e=>{const{colorScheme:t}=e;return{tab:{borderRadius:"full",fontWeight:"semibold",[ki.variable]:"colors.gray.600",_dark:{[ki.variable]:"inherit"},_selected:{[ki.variable]:"colors.white",[Si.variable]:`colors.${t}.600`,_dark:{[ki.variable]:"colors.gray.800",[Si.variable]:`colors.${t}.300`}},color:ki.reference,bg:Si.reference}}})),unstyled:Ei({})},defaultProps:{size:"md",variant:"line",colorScheme:"blue"}}),$i=function(e){const t={};for(const r of["bg","color","shadow"])if(Array.isArray(r)){const[n,o]=r;t[n]=$e(`${e}-${n}`,o)}else t[r]=$e(`${e}-${r}`);return t}("badge"),Oi={baseStyle:{px:1,textTransform:"uppercase",fontSize:"xs",borderRadius:"sm",fontWeight:"bold",bg:$i.bg.reference,color:$i.color.reference,boxShadow:$i.shadow.reference},variants:{solid:e=>{const{colorScheme:t,theme:r}=e,n=xi(`${t}.500`,.6)(r);return{[$i.bg.variable]:`colors.${t}.500`,[$i.color.variable]:"colors.white",_dark:{[$i.bg.variable]:n,[$i.color.variable]:"colors.whiteAlpha.800"}}},subtle:e=>{const{colorScheme:t,theme:r}=e,n=xi(`${t}.200`,.16)(r);return{[$i.bg.variable]:`colors.${t}.100`,[$i.color.variable]:`colors.${t}.800`,_dark:{[$i.bg.variable]:n,[$i.color.variable]:`colors.${t}.200`}}},outline:e=>{const{colorScheme:t,theme:r}=e,n=xi(`${t}.200`,.8)(r);return{[$i.color.variable]:`colors.${t}.500`,_dark:{[$i.color.variable]:n},[$i.shadow.variable]:`inset 0 0 0px 1px ${$i.color.reference}`}}},defaultProps:{variant:"subtle",colorScheme:"gray"}},{defineMultiStyleConfig:Ii,definePartsStyle:Ni}=yt(Po.keys),Vi=$e("tag-bg"),Wi=$e("tag-color"),Ui=$e("tag-shadow"),Hi=$e("tag-min-height"),qi=$e("tag-min-width"),Yi=$e("tag-font-size"),Xi=$e("tag-padding-inline"),Ki=Ni({container:{fontWeight:"medium",lineHeight:1.2,outline:0,[Wi.variable]:$i.color.reference,[Vi.variable]:$i.bg.reference,[Ui.variable]:$i.shadow.reference,color:Wi.reference,bg:Vi.reference,boxShadow:Ui.reference,borderRadius:"md",minH:Hi.reference,minW:qi.reference,fontSize:Yi.reference,px:Xi.reference,_focusVisible:{[Ui.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}}}),Gi={sm:Ni({container:{[Hi.variable]:"sizes.5",[qi.variable]:"sizes.5",[Yi.variable]:"fontSizes.xs",[Xi.variable]:"space.2"},closeButton:{marginEnd:"-2px",marginStart:"0.35rem"}}),md:Ni({container:{[Hi.variable]:"sizes.6",[qi.variable]:"sizes.6",[Yi.variable]:"fontSizes.sm",[Xi.variable]:"space.2"}}),lg:Ni({container:{[Hi.variable]:"sizes.8",[qi.variable]:"sizes.8",[Yi.variable]:"fontSizes.md",[Xi.variable]:"space.3"}})},Qi={subtle:Ni((e=>{var t;return{container:null==(t=Oi.variants)?void 0:t.subtle(e)}})),solid:Ni((e=>{var t;return{container:null==(t=Oi.variants)?void 0:t.solid(e)}})),outline:Ni((e=>{var t;return{container:null==(t=Oi.variants)?void 0:t.outline(e)}}))},Zi=Ii({variants:Qi,baseStyle:Ki,sizes:Gi,defaultProps:{size:"md",variant:"subtle",colorScheme:"gray"}}),{definePartsStyle:Ji,defineMultiStyleConfig:ea}=yt(po.keys),ta=$e("input-height"),ra=$e("input-font-size"),na=$e("input-padding"),oa=$e("input-border-radius"),ia=Ji({addon:{height:ta.reference,fontSize:ra.reference,px:na.reference,borderRadius:oa.reference},field:{width:"100%",height:ta.reference,fontSize:ra.reference,px:na.reference,borderRadius:oa.reference,minWidth:0,outline:0,position:"relative",appearance:"none",transitionProperty:"common",transitionDuration:"normal",_disabled:{opacity:.4,cursor:"not-allowed"}}}),aa={lg:{[ra.variable]:"fontSizes.lg",[na.variable]:"space.4",[oa.variable]:"radii.md",[ta.variable]:"sizes.12"},md:{[ra.variable]:"fontSizes.md",[na.variable]:"space.4",[oa.variable]:"radii.md",[ta.variable]:"sizes.10"},sm:{[ra.variable]:"fontSizes.sm",[na.variable]:"space.3",[oa.variable]:"radii.sm",[ta.variable]:"sizes.8"},xs:{[ra.variable]:"fontSizes.xs",[na.variable]:"space.2",[oa.variable]:"radii.sm",[ta.variable]:"sizes.6"}},sa={lg:Ji({field:aa.lg,group:aa.lg}),md:Ji({field:aa.md,group:aa.md}),sm:Ji({field:aa.sm,group:aa.sm}),xs:Ji({field:aa.xs,group:aa.xs})};function la(e){const{focusBorderColor:t,errorBorderColor:r}=e;return{focusBorderColor:t||Qo("blue.500","blue.300")(e),errorBorderColor:r||Qo("red.500","red.300")(e)}}var ua,ca,da,fa,pa,ha,ma,ga,va,ya,ba,xa=Ji((e=>{const{theme:t}=e,{focusBorderColor:r,errorBorderColor:n}=la(e);return{field:{border:"1px solid",borderColor:"inherit",bg:"inherit",_hover:{borderColor:Qo("gray.300","whiteAlpha.400")(e)},_readOnly:{boxShadow:"none !important",userSelect:"all"},_invalid:{borderColor:bi(t,n),boxShadow:`0 0 0 1px ${bi(t,n)}`},_focusVisible:{zIndex:1,borderColor:bi(t,r),boxShadow:`0 0 0 1px ${bi(t,r)}`}},addon:{border:"1px solid",borderColor:Qo("inherit","whiteAlpha.50")(e),bg:Qo("gray.100","whiteAlpha.300")(e)}}})),wa=Ji((e=>{const{theme:t}=e,{focusBorderColor:r,errorBorderColor:n}=la(e);return{field:{border:"2px solid",borderColor:"transparent",bg:Qo("gray.100","whiteAlpha.50")(e),_hover:{bg:Qo("gray.200","whiteAlpha.100")(e)},_readOnly:{boxShadow:"none !important",userSelect:"all"},_invalid:{borderColor:bi(t,n)},_focusVisible:{bg:"transparent",borderColor:bi(t,r)}},addon:{border:"2px solid",borderColor:"transparent",bg:Qo("gray.100","whiteAlpha.50")(e)}}})),ka=Ji((e=>{const{theme:t}=e,{focusBorderColor:r,errorBorderColor:n}=la(e);return{field:{borderBottom:"1px solid",borderColor:"inherit",borderRadius:"0",px:"0",bg:"transparent",_readOnly:{boxShadow:"none !important",userSelect:"all"},_invalid:{borderColor:bi(t,n),boxShadow:`0px 1px 0px 0px ${bi(t,n)}`},_focusVisible:{borderColor:bi(t,r),boxShadow:`0px 1px 0px 0px ${bi(t,r)}`}},addon:{borderBottom:"2px solid",borderColor:"inherit",borderRadius:"0",px:"0",bg:"transparent"}}})),Sa=ea({baseStyle:ia,sizes:sa,variants:{outline:xa,filled:wa,flushed:ka,unstyled:Ji({field:{bg:"transparent",px:"0",height:"auto"},addon:{bg:"transparent",px:"0",height:"auto"}})},defaultProps:{size:"md",variant:"outline"}}),_a={...null==(ua=Sa.baseStyle)?void 0:ua.field,paddingY:"2",minHeight:"20",lineHeight:"short",verticalAlign:"top"},Ca={outline:e=>{var t,r;return null!=(r=null==(t=Sa.variants)?void 0:t.outline(e).field)?r:{}},flushed:e=>{var t,r;return null!=(r=null==(t=Sa.variants)?void 0:t.flushed(e).field)?r:{}},filled:e=>{var t,r;return null!=(r=null==(t=Sa.variants)?void 0:t.filled(e).field)?r:{}},unstyled:null!=(da=null==(ca=Sa.variants)?void 0:ca.unstyled.field)?da:{}},Ea={baseStyle:_a,sizes:{xs:null!=(pa=null==(fa=Sa.sizes)?void 0:fa.xs.field)?pa:{},sm:null!=(ma=null==(ha=Sa.sizes)?void 0:ha.sm.field)?ma:{},md:null!=(va=null==(ga=Sa.sizes)?void 0:ga.md.field)?va:{},lg:null!=(ba=null==(ya=Sa.sizes)?void 0:ya.lg.field)?ba:{}},variants:Ca,defaultProps:{size:"md",variant:"outline"}},Pa=Ro("tooltip-bg"),Ta=Ro("tooltip-fg"),za=Ro("popper-arrow-bg"),Aa={baseStyle:{bg:Pa.reference,color:Ta.reference,[Pa.variable]:"colors.gray.700",[Ta.variable]:"colors.whiteAlpha.900",_dark:{[Pa.variable]:"colors.gray.300",[Ta.variable]:"colors.gray.900"},[za.variable]:Pa.reference,px:"2",py:"0.5",borderRadius:"sm",fontWeight:"medium",fontSize:"sm",boxShadow:"md",maxW:"xs",zIndex:"tooltip"}},{defineMultiStyleConfig:Ra,definePartsStyle:Ma}=yt(bo.keys),Fa=e=>{const{colorScheme:t,theme:r,isIndeterminate:n,hasStripe:o}=e,i=Qo(wi(),wi("1rem","rgba(0,0,0,0.1)"))(e),a=Qo(`${t}.500`,`${t}.200`)(e),s=`linear-gradient(\n to right,\n transparent 0%,\n ${bi(r,a)} 50%,\n transparent 100%\n )`;return{...!n&&o&&i,...n?{bgImage:s}:{bgColor:a}}},ja={lineHeight:"1",fontSize:"0.25em",fontWeight:"bold",color:"white"},Ba=e=>({bg:Qo("gray.100","whiteAlpha.300")(e)}),La=e=>({transitionProperty:"common",transitionDuration:"slow",...Fa(e)}),Da=Ma((e=>({label:ja,filledTrack:La(e),track:Ba(e)}))),$a=Ra({sizes:{xs:Ma({track:{h:"1"}}),sm:Ma({track:{h:"2"}}),md:Ma({track:{h:"3"}}),lg:Ma({track:{h:"4"}})},baseStyle:Da,defaultProps:{size:"md",colorScheme:"blue"}});function Oa(e,...t){return"function"==typeof e?e(...t):e}var Ia,Na,Va,Wa,Ua,Ha,qa,Ya,Xa,{definePartsStyle:Ka,defineMultiStyleConfig:Ga}=yt(so.keys),Qa=$e("checkbox-size"),Za=e=>{const{colorScheme:t}=e;return{w:Qa.reference,h:Qa.reference,transitionProperty:"box-shadow",transitionDuration:"normal",border:"2px solid",borderRadius:"sm",borderColor:"inherit",color:"white",_checked:{bg:Qo(`${t}.500`,`${t}.200`)(e),borderColor:Qo(`${t}.500`,`${t}.200`)(e),color:Qo("white","gray.900")(e),_hover:{bg:Qo(`${t}.600`,`${t}.300`)(e),borderColor:Qo(`${t}.600`,`${t}.300`)(e)},_disabled:{borderColor:Qo("gray.200","transparent")(e),bg:Qo("gray.200","whiteAlpha.300")(e),color:Qo("gray.500","whiteAlpha.500")(e)}},_indeterminate:{bg:Qo(`${t}.500`,`${t}.200`)(e),borderColor:Qo(`${t}.500`,`${t}.200`)(e),color:Qo("white","gray.900")(e)},_disabled:{bg:Qo("gray.100","whiteAlpha.100")(e),borderColor:Qo("gray.100","transparent")(e)},_focusVisible:{boxShadow:"outline"},_invalid:{borderColor:Qo("red.500","red.300")(e)}}},Ja={_disabled:{cursor:"not-allowed"}},es={userSelect:"none",_disabled:{opacity:.4}},ts={transitionProperty:"transform",transitionDuration:"normal"},rs=Ga({baseStyle:Ka((e=>({icon:ts,container:Ja,control:Oa(Za,e),label:es}))),sizes:{sm:Ka({control:{[Qa.variable]:"sizes.3"},label:{fontSize:"sm"},icon:{fontSize:"3xs"}}),md:Ka({control:{[Qa.variable]:"sizes.4"},label:{fontSize:"md"},icon:{fontSize:"2xs"}}),lg:Ka({control:{[Qa.variable]:"sizes.5"},label:{fontSize:"lg"},icon:{fontSize:"2xs"}})},defaultProps:{size:"md",colorScheme:"blue"}}),{defineMultiStyleConfig:ns,definePartsStyle:os}=yt(xo.keys),is=e=>{var t;const r=null==(t=Oa(rs.baseStyle,e))?void 0:t.control;return{...r,borderRadius:"full",_checked:{...null==r?void 0:r._checked,_before:{content:'""',display:"inline-block",pos:"relative",w:"50%",h:"50%",borderRadius:"50%",bg:"currentColor"}}}},as=os((e=>{var t,r,n,o;return{label:null==(r=(t=rs).baseStyle)?void 0:r.call(t,e).label,container:null==(o=(n=rs).baseStyle)?void 0:o.call(n,e).container,control:is(e)}})),ss=ns({baseStyle:as,sizes:{md:os({control:{w:"4",h:"4"},label:{fontSize:"md"}}),lg:os({control:{w:"5",h:"5"},label:{fontSize:"lg"}}),sm:os({control:{width:"3",height:"3"},label:{fontSize:"sm"}})},defaultProps:{size:"md",colorScheme:"blue"}}),{defineMultiStyleConfig:ls,definePartsStyle:us}=yt(wo.keys),cs=$e("select-bg"),ds={paddingInlineEnd:"8"},fs=ls({baseStyle:us({field:{...null==(Ia=Sa.baseStyle)?void 0:Ia.field,appearance:"none",paddingBottom:"1px",lineHeight:"normal",bg:cs.reference,[cs.variable]:"colors.white",_dark:{[cs.variable]:"colors.gray.700"},"> option, > optgroup":{bg:cs.reference}},icon:{width:"6",height:"100%",insetEnd:"2",position:"relative",color:"currentColor",fontSize:"xl",_disabled:{opacity:.5}}}),sizes:{lg:{...null==(Na=Sa.sizes)?void 0:Na.lg,field:{...null==(Va=Sa.sizes)?void 0:Va.lg.field,...ds}},md:{...null==(Wa=Sa.sizes)?void 0:Wa.md,field:{...null==(Ua=Sa.sizes)?void 0:Ua.md.field,...ds}},sm:{...null==(Ha=Sa.sizes)?void 0:Ha.sm,field:{...null==(qa=Sa.sizes)?void 0:qa.sm.field,...ds}},xs:{...null==(Ya=Sa.sizes)?void 0:Ya.xs,field:{...null==(Xa=Sa.sizes)?void 0:Xa.xs.field,...ds},icon:{insetEnd:"1"}}},variants:Sa.variants,defaultProps:Sa.defaultProps}),ps=$e("skeleton-start-color"),hs=$e("skeleton-end-color"),ms={baseStyle:{[ps.variable]:"colors.gray.100",[hs.variable]:"colors.gray.400",_dark:{[ps.variable]:"colors.gray.800",[hs.variable]:"colors.gray.600"},background:ps.reference,borderColor:hs.reference,opacity:.7,borderRadius:"sm"}},gs=$e("skip-link-bg"),vs={baseStyle:{borderRadius:"md",fontWeight:"semibold",_focusVisible:{boxShadow:"outline",padding:"4",position:"fixed",top:"6",insetStart:"6",[gs.variable]:"colors.white",_dark:{[gs.variable]:"colors.gray.700"},bg:gs.reference}}},{defineMultiStyleConfig:ys,definePartsStyle:bs}=yt(ko.keys),xs=$e("slider-thumb-size"),ws=$e("slider-track-size"),ks=$e("slider-bg"),Ss=e=>{const{orientation:t}=e;return{display:"inline-block",position:"relative",cursor:"pointer",_disabled:{opacity:.6,cursor:"default",pointerEvents:"none"},...Zo({orientation:t,vertical:{h:"100%"},horizontal:{w:"100%"}})}},_s=e=>({...Zo({orientation:e.orientation,horizontal:{h:ws.reference},vertical:{w:ws.reference}}),overflow:"hidden",borderRadius:"sm",[ks.variable]:"colors.gray.200",_dark:{[ks.variable]:"colors.whiteAlpha.200"},_disabled:{[ks.variable]:"colors.gray.300",_dark:{[ks.variable]:"colors.whiteAlpha.300"}},bg:ks.reference}),Cs=e=>{const{orientation:t}=e;return{...Zo({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:xs.reference,h:xs.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"}}},Es=e=>{const{colorScheme:t}=e;return{width:"inherit",height:"inherit",[ks.variable]:`colors.${t}.500`,_dark:{[ks.variable]:`colors.${t}.200`},bg:ks.reference}},Ps=ys({baseStyle:bs((e=>({container:Ss(e),track:_s(e),thumb:Cs(e),filledTrack:Es(e)}))),sizes:{lg:bs({container:{[xs.variable]:"sizes.4",[ws.variable]:"sizes.1"}}),md:bs({container:{[xs.variable]:"sizes.3.5",[ws.variable]:"sizes.1"}}),sm:bs({container:{[xs.variable]:"sizes.2.5",[ws.variable]:"sizes.0.5"}})},defaultProps:{size:"md",colorScheme:"blue"}}),Ts=Ro("spinner-size"),zs={baseStyle:{width:[Ts.reference],height:[Ts.reference]},sizes:{xs:{[Ts.variable]:"sizes.3"},sm:{[Ts.variable]:"sizes.4"},md:{[Ts.variable]:"sizes.6"},lg:{[Ts.variable]:"sizes.8"},xl:{[Ts.variable]:"sizes.12"}},defaultProps:{size:"md"}},{defineMultiStyleConfig:As,definePartsStyle:Rs}=yt(So.keys),Ms=As({baseStyle:Rs({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:Rs({label:{fontSize:"sm"},helpText:{fontSize:"sm"},number:{fontSize:"2xl"}})},defaultProps:{size:"md"}}),Fs=$e("kbd-bg"),js={baseStyle:{[Fs.variable]:"colors.gray.100",_dark:{[Fs.variable]:"colors.whiteAlpha.100"},bg:Fs.reference,borderRadius:"md",borderWidth:"1px",borderBottomWidth:"3px",fontSize:"0.8em",fontWeight:"bold",lineHeight:"normal",px:"0.4em",whiteSpace:"nowrap"}},{defineMultiStyleConfig:Bs,definePartsStyle:Ls}=yt(ho.keys),Ds=Bs({baseStyle:Ls({icon:{marginEnd:"2",display:"inline",verticalAlign:"text-bottom"}})}),{defineMultiStyleConfig:$s,definePartsStyle:Os}=yt(mo.keys),Is=$e("menu-bg"),Ns=$e("menu-shadow"),Vs=$s({baseStyle:Os({button:{transitionProperty:"common",transitionDuration:"normal"},list:{[Is.variable]:"#fff",[Ns.variable]:"shadows.sm",_dark:{[Is.variable]:"colors.gray.700",[Ns.variable]:"shadows.dark-lg"},color:"inherit",minW:"3xs",py:"2",zIndex:1,borderRadius:"md",borderWidth:"1px",bg:Is.reference,boxShadow:Ns.reference},item:{py:"1.5",px:"3",transitionProperty:"background",transitionDuration:"ultra-fast",transitionTimingFunction:"ease-in",_focus:{[Is.variable]:"colors.gray.100",_dark:{[Is.variable]:"colors.whiteAlpha.100"}},_active:{[Is.variable]:"colors.gray.200",_dark:{[Is.variable]:"colors.whiteAlpha.200"}},_expanded:{[Is.variable]:"colors.gray.100",_dark:{[Is.variable]:"colors.whiteAlpha.100"}},_disabled:{opacity:.4,cursor:"not-allowed"},bg:Is.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:Ws,definePartsStyle:Us}=yt(go.keys),Hs=$e("modal-bg"),qs=$e("modal-shadow"),Ys={bg:"blackAlpha.600",zIndex:"modal"},Xs=e=>{const{isCentered:t,scrollBehavior:r}=e;return{display:"flex",zIndex:"modal",justifyContent:"center",alignItems:t?"center":"flex-start",overflow:"inside"===r?"hidden":"auto",overscrollBehaviorY:"none"}},Ks=e=>{const{isCentered:t,scrollBehavior:r}=e;return{borderRadius:"md",color:"inherit",my:t?"auto":"16",mx:t?"auto":void 0,zIndex:"modal",maxH:"inside"===r?"calc(100% - 7.5rem)":void 0,[Hs.variable]:"colors.white",[qs.variable]:"shadows.lg",_dark:{[Hs.variable]:"colors.gray.700",[qs.variable]:"shadows.dark-lg"},bg:Hs.reference,boxShadow:qs.reference}},Gs={px:"6",py:"4",fontSize:"xl",fontWeight:"semibold"},Qs={position:"absolute",top:"2",insetEnd:"3"},Zs=e=>{const{scrollBehavior:t}=e;return{px:"6",py:"2",flex:"1",overflow:"inside"===t?"auto":void 0}},Js={px:"6",py:"4"};function el(e){return Us("full"===e?{dialog:{maxW:"100vw",minH:"$100vh",my:"0",borderRadius:"0"}}:{dialog:{maxW:e}})}var tl=Ws({baseStyle:Us((e=>({overlay:Ys,dialogContainer:Oa(Xs,e),dialog:Oa(Ks,e),header:Gs,closeButton:Qs,body:Oa(Zs,e),footer:Js}))),sizes:{xs:el("xs"),sm:el("sm"),md:el("md"),lg:el("lg"),xl:el("xl"),"2xl":el("2xl"),"3xl":el("3xl"),"4xl":el("4xl"),"5xl":el("5xl"),"6xl":el("6xl"),full:el("full")},defaultProps:{size:"md"}}),{defineMultiStyleConfig:rl,definePartsStyle:nl}=yt(vo.keys),ol=Ro("number-input-stepper-width"),il=Ro("number-input-input-padding"),al=Oo(ol).add("0.5rem").toString(),sl=Ro("number-input-bg"),ll=Ro("number-input-color"),ul=Ro("number-input-border-color"),cl={[ol.variable]:"sizes.6",[il.variable]:al},dl=e=>{var t,r;return null!=(r=null==(t=Oa(Sa.baseStyle,e))?void 0:t.field)?r:{}},fl={width:ol.reference},pl={borderStart:"1px solid",borderStartColor:ul.reference,color:ll.reference,bg:sl.reference,[ll.variable]:"colors.chakra-body-text",[ul.variable]:"colors.chakra-border-color",_dark:{[ll.variable]:"colors.whiteAlpha.800",[ul.variable]:"colors.whiteAlpha.300"},_active:{[sl.variable]:"colors.gray.200",_dark:{[sl.variable]:"colors.whiteAlpha.300"}},_disabled:{opacity:.4,cursor:"not-allowed"}},hl=nl((e=>{var t;return{root:cl,field:null!=(t=Oa(dl,e))?t:{},stepperGroup:fl,stepper:pl}}));function ml(e){var t,r,n;const o=null==(t=Sa.sizes)?void 0:t[e],i={lg:"md",md:"md",sm:"sm",xs:"sm"},a=null!=(n=null==(r=o.field)?void 0:r.fontSize)?n:"md",s=Un.fontSizes[a];return nl({field:{...o.field,paddingInlineEnd:il.reference,verticalAlign:"top"},stepper:{fontSize:Oo(s).multiply(.75).toString(),_first:{borderTopEndRadius:i[e]},_last:{borderBottomEndRadius:i[e],mt:"-1px",borderTopWidth:1}}})}var gl,vl,yl,bl=rl({baseStyle:hl,sizes:{xs:ml("xs"),sm:ml("sm"),md:ml("md"),lg:ml("lg")},variants:Sa.variants,defaultProps:Sa.defaultProps}),xl={...null==(gl=Sa.baseStyle)?void 0:gl.field,textAlign:"center"},wl={outline:e=>{var t,r,n;return null!=(n=null==(r=Oa(null==(t=Sa.variants)?void 0:t.outline,e))?void 0:r.field)?n:{}},flushed:e=>{var t,r,n;return null!=(n=null==(r=Oa(null==(t=Sa.variants)?void 0:t.flushed,e))?void 0:r.field)?n:{}},filled:e=>{var t,r,n;return null!=(n=null==(r=Oa(null==(t=Sa.variants)?void 0:t.filled,e))?void 0:r.field)?n:{}},unstyled:null!=(yl=null==(vl=Sa.variants)?void 0:vl.unstyled.field)?yl:{}},kl={baseStyle:xl,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:wl,defaultProps:Sa.defaultProps},{defineMultiStyleConfig:Sl,definePartsStyle:_l}=yt(yo.keys),Cl=Ro("popper-bg"),El=Ro("popper-arrow-bg"),Pl=Ro("popper-arrow-shadow-color"),Tl=Sl({baseStyle:_l({popper:{zIndex:10},content:{[Cl.variable]:"colors.white",bg:Cl.reference,[El.variable]:Cl.reference,[Pl.variable]:"colors.gray.200",_dark:{[Cl.variable]:"colors.gray.700",[Pl.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:zl,defineMultiStyleConfig:Al}=yt(lo.keys),Rl=$e("drawer-bg"),Ml=$e("drawer-box-shadow");function Fl(e){return zl("full"===e?{dialog:{maxW:"100vw",h:"100vh"}}:{dialog:{maxW:e}})}var jl={bg:"blackAlpha.600",zIndex:"modal"},Bl={display:"flex",zIndex:"modal",justifyContent:"center"},Ll=e=>{const{isFullHeight:t}=e;return{...t&&{height:"100vh"},zIndex:"modal",maxH:"100vh",color:"inherit",[Rl.variable]:"colors.white",[Ml.variable]:"shadows.lg",_dark:{[Rl.variable]:"colors.gray.700",[Ml.variable]:"shadows.dark-lg"},bg:Rl.reference,boxShadow:Ml.reference}},Dl={px:"6",py:"4",fontSize:"xl",fontWeight:"semibold"},$l={position:"absolute",top:"2",insetEnd:"3"},Ol={px:"6",py:"2",flex:"1",overflow:"auto"},Il={px:"6",py:"4"},Nl=Al({baseStyle:zl((e=>({overlay:jl,dialogContainer:Bl,dialog:Oa(Ll,e),header:Dl,closeButton:$l,body:Ol,footer:Il}))),sizes:{xs:Fl("xs"),sm:Fl("md"),md:Fl("lg"),lg:Fl("2xl"),xl:Fl("4xl"),full:Fl("full")},defaultProps:{size:"xs"}}),{definePartsStyle:Vl,defineMultiStyleConfig:Wl}=yt(uo.keys),Ul=Wl({baseStyle:Vl({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:Hl,defineMultiStyleConfig:ql}=yt(co.keys),Yl=$e("form-control-color"),Xl=ql({baseStyle:Hl({container:{width:"100%",position:"relative"},requiredIndicator:{marginStart:"1",[Yl.variable]:"colors.red.500",_dark:{[Yl.variable]:"colors.red.300"},color:Yl.reference},helperText:{mt:"2",[Yl.variable]:"colors.gray.600",_dark:{[Yl.variable]:"colors.whiteAlpha.600"},color:Yl.reference,lineHeight:"normal",fontSize:"sm"}})}),{definePartsStyle:Kl,defineMultiStyleConfig:Gl}=yt(fo.keys),Ql=$e("form-error-color"),Zl=Gl({baseStyle:Kl({text:{[Ql.variable]:"colors.red.500",_dark:{[Ql.variable]:"colors.red.300"},color:Ql.reference,mt:"2",fontSize:"sm",lineHeight:"normal"},icon:{marginEnd:"0.5em",[Ql.variable]:"colors.red.500",_dark:{[Ql.variable]:"colors.red.300"},color:Ql.reference}})}),{defineMultiStyleConfig:Jl,definePartsStyle:eu}=yt(ao.keys),tu=$e("breadcrumb-link-decor"),ru=Jl({baseStyle:eu({link:{transitionProperty:"common",transitionDuration:"fast",transitionTimingFunction:"ease-out",outline:"none",color:"inherit",textDecoration:tu.reference,[tu.variable]:"none","&:not([aria-current=page])":{cursor:"pointer",_hover:{[tu.variable]:"underline"},_focusVisible:{boxShadow:"outline"}}}})}),nu=e=>{const{colorScheme:t,theme:r}=e;if("gray"===t)return{color:Qo("gray.800","whiteAlpha.900")(e),_hover:{bg:Qo("gray.100","whiteAlpha.200")(e)},_active:{bg:Qo("gray.200","whiteAlpha.300")(e)}};const n=xi(`${t}.200`,.12)(r),o=xi(`${t}.200`,.24)(r);return{color:Qo(`${t}.600`,`${t}.200`)(e),bg:"transparent",_hover:{bg:Qo(`${t}.50`,n)(e)},_active:{bg:Qo(`${t}.100`,o)(e)}}},ou={yellow:{bg:"yellow.400",color:"black",hoverBg:"yellow.500",activeBg:"yellow.600"},cyan:{bg:"cyan.400",color:"black",hoverBg:"cyan.500",activeBg:"cyan.600"}},iu={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:nu,outline:e=>{const{colorScheme:t}=e,r=Qo("gray.200","whiteAlpha.300")(e);return{border:"1px solid",borderColor:"gray"===t?r:"currentColor",".chakra-button__group[data-attached][data-orientation=horizontal] > &:not(:last-of-type)":{marginEnd:"-1px"},".chakra-button__group[data-attached][data-orientation=vertical] > &:not(:last-of-type)":{marginBottom:"-1px"},...Oa(nu,e)}},solid:e=>{var t;const{colorScheme:r}=e;if("gray"===r){const t=Qo("gray.100","whiteAlpha.200")(e);return{bg:t,color:Qo("gray.800","whiteAlpha.900")(e),_hover:{bg:Qo("gray.200","whiteAlpha.300")(e),_disabled:{bg:t}},_active:{bg:Qo("gray.300","whiteAlpha.400")(e)}}}const{bg:n=`${r}.500`,color:o="white",hoverBg:i=`${r}.600`,activeBg:a=`${r}.700`}=null!=(t=ou[r])?t:{},s=Qo(n,`${r}.200`)(e);return{bg:s,color:Qo(o,"gray.800")(e),_hover:{bg:Qo(i,`${r}.300`)(e),_disabled:{bg:s}},_active:{bg:Qo(a,`${r}.400`)(e)}}},link:e=>{const{colorScheme:t}=e;return{padding:0,height:"auto",lineHeight:"normal",verticalAlign:"baseline",color:Qo(`${t}.500`,`${t}.200`)(e),_hover:{textDecoration:"underline",_disabled:{textDecoration:"none"}},_active:{color:Qo(`${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:au,defineMultiStyleConfig:su}=yt(To.keys),lu=$e("card-bg"),uu=$e("card-padding"),cu=$e("card-shadow"),du=$e("card-radius"),fu=$e("card-border-width","0"),pu=$e("card-border-color"),hu=au({container:{[lu.variable]:"colors.chakra-body-bg",backgroundColor:lu.reference,boxShadow:cu.reference,borderRadius:du.reference,color:"chakra-body-text",borderWidth:fu.reference,borderColor:pu.reference},body:{padding:uu.reference,flex:"1 1 0%"},header:{padding:uu.reference},footer:{padding:uu.reference}}),mu={sm:au({container:{[du.variable]:"radii.base",[uu.variable]:"space.3"}}),md:au({container:{[du.variable]:"radii.md",[uu.variable]:"space.5"}}),lg:au({container:{[du.variable]:"radii.xl",[uu.variable]:"space.7"}})},gu=su({baseStyle:hu,variants:{elevated:au({container:{[cu.variable]:"shadows.base",_dark:{[lu.variable]:"colors.gray.700"}}}),outline:au({container:{[fu.variable]:"1px",[pu.variable]:"colors.chakra-border-color"}}),filled:au({container:{[lu.variable]:"colors.chakra-subtle-bg"}}),unstyled:{body:{[uu.variable]:0},header:{[uu.variable]:0},footer:{[uu.variable]:0}}},sizes:mu,defaultProps:{variant:"elevated",size:"md"}}),vu=Ro("close-button-size"),yu=Ro("close-button-bg"),bu={baseStyle:{w:[vu.reference],h:[vu.reference],borderRadius:"md",transitionProperty:"common",transitionDuration:"normal",_disabled:{opacity:.4,cursor:"not-allowed",boxShadow:"none"},_hover:{[yu.variable]:"colors.blackAlpha.100",_dark:{[yu.variable]:"colors.whiteAlpha.100"}},_active:{[yu.variable]:"colors.blackAlpha.200",_dark:{[yu.variable]:"colors.whiteAlpha.200"}},_focusVisible:{boxShadow:"outline"},bg:yu.reference},sizes:{lg:{[vu.variable]:"sizes.10",fontSize:"md"},md:{[vu.variable]:"sizes.8",fontSize:"xs"},sm:{[vu.variable]:"sizes.6",fontSize:"2xs"}},defaultProps:{size:"md"}},{variants:xu,defaultProps:wu}=Oi,ku={baseStyle:{fontFamily:"mono",fontSize:"sm",px:"0.2em",borderRadius:"sm",bg:$i.bg.reference,color:$i.color.reference,boxShadow:$i.shadow.reference},variants:xu,defaultProps:wu},{definePartsStyle:Su,defineMultiStyleConfig:_u}=yt(no.keys),Cu=_u({baseStyle:Su({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:Eu,defineMultiStyleConfig:Pu}=yt(oo.keys),Tu=$e("alert-fg"),zu=$e("alert-bg");function Au(e){const{theme:t,colorScheme:r}=e;return{light:`colors.${r}.100`,dark:xi(`${r}.200`,.16)(t)}}var Ru=Pu({baseStyle:Eu({container:{bg:zu.reference,px:"4",py:"3"},title:{fontWeight:"bold",lineHeight:"6",marginEnd:"2"},description:{lineHeight:"6"},icon:{color:Tu.reference,flexShrink:0,marginEnd:"3",w:"5",h:"6"},spinner:{color:Tu.reference,flexShrink:0,marginEnd:"3",w:"5",h:"5"}}),variants:{subtle:Eu((e=>{const{colorScheme:t}=e,r=Au(e);return{container:{[Tu.variable]:`colors.${t}.600`,[zu.variable]:r.light,_dark:{[Tu.variable]:`colors.${t}.200`,[zu.variable]:r.dark}}}})),"left-accent":Eu((e=>{const{colorScheme:t}=e,r=Au(e);return{container:{[Tu.variable]:`colors.${t}.600`,[zu.variable]:r.light,_dark:{[Tu.variable]:`colors.${t}.200`,[zu.variable]:r.dark},paddingStart:"3",borderStartWidth:"4px",borderStartColor:Tu.reference}}})),"top-accent":Eu((e=>{const{colorScheme:t}=e,r=Au(e);return{container:{[Tu.variable]:`colors.${t}.600`,[zu.variable]:r.light,_dark:{[Tu.variable]:`colors.${t}.200`,[zu.variable]:r.dark},pt:"2",borderTopWidth:"4px",borderTopColor:Tu.reference}}})),solid:Eu((e=>{const{colorScheme:t}=e;return{container:{[Tu.variable]:"colors.white",[zu.variable]:`colors.${t}.600`,_dark:{[Tu.variable]:"colors.gray.900",[zu.variable]:`colors.${t}.200`},color:Tu.reference}}}))},defaultProps:{variant:"subtle",colorScheme:"blue"}}),{definePartsStyle:Mu,defineMultiStyleConfig:Fu}=yt(io.keys),ju=$e("avatar-border-color"),Bu=$e("avatar-bg"),Lu=$e("avatar-font-size"),Du=$e("avatar-size"),$u={borderRadius:"full",border:"0.2em solid",borderColor:ju.reference,[ju.variable]:"white",_dark:{[ju.variable]:"colors.gray.800"}},Ou={bg:Bu.reference,fontSize:Lu.reference,width:Du.reference,height:Du.reference,lineHeight:"1",[Bu.variable]:"colors.gray.200",_dark:{[Bu.variable]:"colors.whiteAlpha.400"}},Iu=e=>{const{name:t,theme:r}=e,n=t?function(e){const t=`#${Math.floor(16777215*Math.random()).toString(16).padEnd(6,"0")}`;return e&&(r=e,0!==Object.keys(r).length)?e.string&&e.colors?function(e,t){let r=0;if(0===e.length)return t[0];for(let t=0;t<e.length;t+=1)r=e.charCodeAt(t)+((r<<5)-r),r|=0;return r=(r%t.length+t.length)%t.length,t[r]}(e.string,e.colors):e.string&&!e.colors?function(e){let t=0;if(0===e.length)return t.toString();for(let r=0;r<e.length;r+=1)t=e.charCodeAt(r)+((t<<5)-t),t|=0;let r="#";for(let e=0;e<3;e+=1)r+=`00${(t>>8*e&255).toString(16)}`.substr(-2);return r}(e.string):e.colors&&!e.string?function(e){return e[Math.floor(Math.random()*e.length)]}(e.colors):t:t;var r}({string:t}):"colors.gray.400",o=(e=>t=>"dark"===(e=>t=>{const r=(e=>{const[t,r,n]=si(e);return(299*t+587*r+114*n)/1e3})(bi(t,e));return r<128?"dark":"light"})(e)(t))(n)(r);let i="white";return o||(i="gray.800"),{bg:Bu.reference,fontSize:Lu.reference,color:i,borderColor:ju.reference,verticalAlign:"top",width:Du.reference,height:Du.reference,"&:not([data-loaded])":{[Bu.variable]:n},[ju.variable]:"colors.white",_dark:{[ju.variable]:"colors.gray.800"}}},Nu={fontSize:Lu.reference,lineHeight:"1"};function Vu(e){const t="100%"!==e?qn[e]:void 0;return Mu({container:{[Du.variable]:null!=t?t:e,[Lu.variable]:`calc(${null!=t?t:e} / 2.5)`},excessLabel:{[Du.variable]:null!=t?t:e,[Lu.variable]:`calc(${null!=t?t:e} / 2.5)`}})}var Wu={Accordion:Cu,Alert:Ru,Avatar:Fu({baseStyle:Mu((e=>({badge:Oa($u,e),excessLabel:Oa(Ou,e),container:Oa(Iu,e),label:Nu}))),sizes:{"2xs":Vu(4),xs:Vu(6),sm:Vu(8),md:Vu(12),lg:Vu(16),xl:Vu(24),"2xl":Vu(32),full:Vu("100%")},defaultProps:{size:"md"}}),Badge:Oi,Breadcrumb:ru,Button:iu,Checkbox:rs,CloseButton:bu,Code:ku,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:Nl,Editable:Ul,Form:Xl,FormError:Zl,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:Sa,Kbd:js,Link:{baseStyle:{transitionProperty:"common",transitionDuration:"fast",transitionTimingFunction:"ease-out",cursor:"pointer",textDecoration:"none",outline:"none",color:"inherit",_hover:{textDecoration:"underline"},_focusVisible:{boxShadow:"outline"}}},List:Ds,Menu:Vs,Modal:tl,NumberInput:bl,PinInput:kl,Popover:Tl,Progress:$a,Radio:ss,Select:fs,Skeleton:ms,SkipLink:vs,Slider:Ps,Spinner:zs,Stat:Ms,Switch:Go,Table:ni,Tabs:Di,Tag:Zi,Textarea:Ea,Tooltip:Aa,Card:gu,Stepper:to},Uu={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"}}},Hu={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"}}},qu={useSystemColorMode:!1,initialColorMode:"light",cssVarPrefix:"chakra"},Yu={semanticTokens:Uu,direction:"ltr",...Yn,components:Wu,styles:Hu,config:qu},Xu={semanticTokens:Uu,direction:"ltr",components:{},...Yn,styles:Hu,config:qu},Ku=(e,t)=>e.find((e=>e.id===t));function Gu(e,t){const r=Qu(e,t);return{position:r,index:r?e[r].findIndex((e=>e.id===t)):-1}}function Qu(e,t){for(const[r,n]of Object.entries(e))if(Ku(n,t))return r}function Zu(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)"}}function Ju(e,t){const r=(0,B.useRef)(!1),n=(0,B.useRef)(!1);(0,B.useEffect)((()=>{if(r.current&&n.current)return e();n.current=!0}),t),(0,B.useEffect)((()=>(r.current=!0,()=>{r.current=!1})),[])}const ec=(0,B.createContext)(null);const tc=(0,B.createContext)({transformPagePoint:e=>e,isStatic:!1,reducedMotion:"never"}),rc=(0,B.createContext)({}),nc="undefined"!=typeof document,oc=nc?B.useLayoutEffect:B.useEffect,ic=(0,B.createContext)({strict:!1}),ac=e=>e.replace(/([a-z])([A-Z])/gu,"$1-$2").toLowerCase(),sc="data-"+ac("framerAppearId");class lc{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 uc=["read","resolveKeyframes","update","preRender","render","postRender"];function cc(e,t){let r=!1,n=!0;const o={delta:0,timestamp:0,isProcessing:!1},i=uc.reduce(((e,t)=>(e[t]=function(e){let t=new lc,r=new lc,n=0,o=!1,i=!1;const a=new WeakSet,s={schedule:(e,i=!1,s=!1)=>{const l=s&&o,u=l?t:r;return i&&a.add(e),u.add(e)&&l&&o&&(n=t.order.length),e},cancel:e=>{r.remove(e),a.delete(e)},process:l=>{if(o)i=!0;else{if(o=!0,[t,r]=[r,t],r.clear(),n=t.order.length,n)for(let r=0;r<n;r++){const n=t.order[r];a.has(n)&&(s.schedule(n),e()),n(l)}o=!1,i&&(i=!1,s.process(l))}}};return s}((()=>r=!0)),e)),{}),a=e=>{i[e].process(o)},s=()=>{const i=performance.now();r=!1,o.delta=n?1e3/60:Math.max(Math.min(i-o.timestamp,40),1),o.timestamp=i,o.isProcessing=!0,uc.forEach(a),o.isProcessing=!1,r&&t&&(n=!1,e(s))},l=uc.reduce(((t,a)=>{const l=i[a];return t[a]=(t,i=!1,a=!1)=>(r||(r=!0,n=!0,o.isProcessing||e(s)),l.schedule(t,i,a)),t}),{});return{schedule:l,cancel:e=>uc.forEach((t=>i[t].cancel(e))),state:o,steps:i}}const{schedule:dc,cancel:fc}=cc(queueMicrotask,!1);function pc(e){return e&&"object"==typeof e&&Object.prototype.hasOwnProperty.call(e,"current")}function hc(e){return"string"==typeof e||Array.isArray(e)}function mc(e){return null!==e&&"object"==typeof e&&"function"==typeof e.start}const gc=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],vc=["initial",...gc];function yc(e){return mc(e.animate)||vc.some((t=>hc(e[t])))}function bc(e){return Boolean(yc(e)||e.variants)}function xc(e){return Array.isArray(e)?e.join(" "):e}const wc={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"]},kc={};for(const e in wc)kc[e]={isEnabled:t=>wc[e].some((e=>!!t[e]))};const Sc=(0,B.createContext)({}),_c=(0,B.createContext)({}),Cc=Symbol.for("motionComponentSymbol");function Ec({preloadedFeatures:e,createVisualElement:t,useRender:r,useVisualState:n,Component:o}){e&&function(e){for(const t in e)kc[t]={...kc[t],...e[t]}}(e);const i=(0,B.forwardRef)((function(i,a){let s;const l={...(0,B.useContext)(tc),...i,layoutId:Pc(i)},{isStatic:u}=l,c=function(e){const{initial:t,animate:r}=function(e,t){if(yc(e)){const{initial:t,animate:r}=e;return{initial:!1===t||hc(t)?t:void 0,animate:hc(r)?r:void 0}}return!1!==e.inherit?t:{}}(e,(0,B.useContext)(rc));return(0,B.useMemo)((()=>({initial:t,animate:r})),[xc(t),xc(r)])}(i),d=n(i,u);if(!u&&nc){c.visualElement=function(e,t,r,n){const{visualElement:o}=(0,B.useContext)(rc),i=(0,B.useContext)(ic),a=(0,B.useContext)(ec),s=(0,B.useContext)(tc).reducedMotion,l=(0,B.useRef)();n=n||i.renderer,!l.current&&n&&(l.current=n(e,{visualState:t,parent:o,props:r,presenceContext:a,blockInitialAnimation:!!a&&!1===a.initial,reducedMotionConfig:s}));const u=l.current;(0,B.useInsertionEffect)((()=>{u&&u.update(r,a)}));const c=(0,B.useRef)(Boolean(r[sc]&&!window.HandoffComplete));return oc((()=>{u&&(dc.postRender(u.render),c.current&&u.animationState&&u.animationState.animateChanges())})),(0,B.useEffect)((()=>{u&&(u.updateFeatures(),!c.current&&u.animationState&&u.animationState.animateChanges(),c.current&&(c.current=!1,window.HandoffComplete=!0))})),u}(o,d,l,t);const r=(0,B.useContext)(_c),n=(0,B.useContext)(ic).strict;c.visualElement&&(s=c.visualElement.loadFeatures(l,n,e,r))}return B.createElement(rc.Provider,{value:c},s&&c.visualElement?B.createElement(s,{visualElement:c.visualElement,...l}):null,r(o,i,function(e,t,r){return(0,B.useCallback)((n=>{n&&e.mount&&e.mount(n),t&&(n?t.mount(n):t.unmount()),r&&("function"==typeof r?r(n):pc(r)&&(r.current=n))}),[t])}(d,c.visualElement,a),d,u,c.visualElement))}));return i[Cc]=o,i}function Pc({layoutId:e}){const t=(0,B.useContext)(Sc).id;return t&&void 0!==e?t+"-"+e:e}function Tc(e){function t(t,r={}){return Ec(e(t,r))}if("undefined"==typeof Proxy)return t;const r=new Map;return new Proxy(t,{get:(e,n)=>(r.has(n)||r.set(n,t(n)),r.get(n))})}const zc=["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 Ac(e){return"string"==typeof e&&!e.includes("-")&&!!(zc.indexOf(e)>-1||/[A-Z]/u.test(e))}const Rc={},Mc=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],Fc=new Set(Mc);function jc(e,{layout:t,layoutId:r}){return Fc.has(e)||e.startsWith("origin")||(t||void 0!==r)&&(!!Rc[e]||"opacity"===e)}const Bc=e=>Boolean(e&&e.getVelocity),Lc={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},Dc=Mc.length,$c=e=>t=>"string"==typeof t&&t.startsWith(e),Oc=$c("--"),Ic=$c("var(--"),Nc=e=>!!Ic(e)&&Vc.test(e.split("/*")[0].trim()),Vc=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu,Wc=(e,t)=>t&&"number"==typeof e?t.transform(e):e,Uc=(e,t,r)=>r>t?t:r<e?e:r,Hc={test:e=>"number"==typeof e,parse:parseFloat,transform:e=>e},qc={...Hc,transform:e=>Uc(0,1,e)},Yc={...Hc,default:1},Xc=e=>Math.round(1e5*e)/1e5,Kc=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu,Gc=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu,Qc=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu;function Zc(e){return"string"==typeof e}const Jc=e=>({test:t=>Zc(t)&&t.endsWith(e)&&1===t.split(" ").length,parse:parseFloat,transform:t=>`${t}${e}`}),ed=Jc("deg"),td=Jc("%"),rd=Jc("px"),nd=Jc("vh"),od=Jc("vw"),id={...td,parse:e=>td.parse(e)/100,transform:e=>td.transform(100*e)},ad={...Hc,transform:Math.round},sd={borderWidth:rd,borderTopWidth:rd,borderRightWidth:rd,borderBottomWidth:rd,borderLeftWidth:rd,borderRadius:rd,radius:rd,borderTopLeftRadius:rd,borderTopRightRadius:rd,borderBottomRightRadius:rd,borderBottomLeftRadius:rd,width:rd,maxWidth:rd,height:rd,maxHeight:rd,size:rd,top:rd,right:rd,bottom:rd,left:rd,padding:rd,paddingTop:rd,paddingRight:rd,paddingBottom:rd,paddingLeft:rd,margin:rd,marginTop:rd,marginRight:rd,marginBottom:rd,marginLeft:rd,rotate:ed,rotateX:ed,rotateY:ed,rotateZ:ed,scale:Yc,scaleX:Yc,scaleY:Yc,scaleZ:Yc,skew:ed,skewX:ed,skewY:ed,distance:rd,translateX:rd,translateY:rd,translateZ:rd,x:rd,y:rd,z:rd,perspective:rd,transformPerspective:rd,opacity:qc,originX:id,originY:id,originZ:rd,zIndex:ad,backgroundPositionX:rd,backgroundPositionY:rd,fillOpacity:qc,strokeOpacity:qc,numOctaves:ad};function ld(e,t,r,n){const{style:o,vars:i,transform:a,transformOrigin:s}=e;let l=!1,u=!1,c=!0;for(const e in t){const r=t[e];if(Oc(e)){i[e]=r;continue}const n=sd[e],d=Wc(r,n);if(Fc.has(e)){if(l=!0,a[e]=d,!c)continue;r!==(n.default||0)&&(c=!1)}else e.startsWith("origin")?(u=!0,s[e]=d):o[e]=d}if(t.transform||(l||n?o.transform=function(e,{enableHardwareAcceleration:t=!0,allowTransformNone:r=!0},n,o){let i="";for(let t=0;t<Dc;t++){const r=Mc[t];void 0!==e[r]&&(i+=`${Lc[r]||r}(${e[r]}) `)}return t&&!e.z&&(i+="translateZ(0)"),i=i.trim(),o?i=o(e,n?"":i):r&&n&&(i="none"),i}(e.transform,r,c,n):o.transform&&(o.transform="none")),u){const{originX:e="50%",originY:t="50%",originZ:r=0}=s;o.transformOrigin=`${e} ${t} ${r}`}}function ud(e,t,r){for(const n in t)Bc(t[n])||jc(n,r)||(e[n]=t[n])}function cd(e,t,r){const n={},o=function(e,t,r){const n={};return ud(n,e.style||{},e),Object.assign(n,function({transformTemplate:e},t,r){return(0,B.useMemo)((()=>{const n={style:{},transform:{},transformOrigin:{},vars:{}};return ld(n,t,{enableHardwareAcceleration:!r},e),Object.assign({},n.vars,n.style)}),[t])}(e,t,r)),n}(e,t,r);return e.drag&&!1!==e.dragListener&&(n.draggable=!1,o.userSelect=o.WebkitUserSelect=o.WebkitTouchCallout="none",o.touchAction=!0===e.drag?"none":"pan-"+("x"===e.drag?"y":"x")),void 0===e.tabIndex&&(e.onTap||e.onTapStart||e.whileTap)&&(n.tabIndex=0),n.style=o,n}const dd=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 fd(e){return e.startsWith("while")||e.startsWith("drag")&&"draggable"!==e||e.startsWith("layout")||e.startsWith("onTap")||e.startsWith("onPan")||e.startsWith("onLayout")||dd.has(e)}let pd=e=>!fd(e);try{(hd=require("@emotion/is-prop-valid").default)&&(pd=e=>e.startsWith("on")?!fd(e):hd(e))}catch(Qr){}var hd;function md(e,t,r){return"string"==typeof e?e:rd.transform(t+r*e)}const gd={offset:"stroke-dashoffset",array:"stroke-dasharray"},vd={offset:"strokeDashoffset",array:"strokeDasharray"};function yd(e,{attrX:t,attrY:r,attrScale:n,originX:o,originY:i,pathLength:a,pathSpacing:s=1,pathOffset:l=0,...u},c,d,f){if(ld(e,u,c,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!==i||h.transform)&&(h.transformOrigin=function(e,t,r){return`${md(t,e.x,e.width)} ${md(r,e.y,e.height)}`}(m,void 0!==o?o:.5,void 0!==i?i:.5)),void 0!==t&&(p.x=t),void 0!==r&&(p.y=r),void 0!==n&&(p.scale=n),void 0!==a&&function(e,t,r=1,n=0,o=!0){e.pathLength=1;const i=o?gd:vd;e[i.offset]=rd.transform(-n);const a=rd.transform(t),s=rd.transform(r);e[i.array]=`${a} ${s}`}(p,a,s,l,!1)}const bd=e=>"string"==typeof e&&"svg"===e.toLowerCase();function xd(e,t,r,n){const o=(0,B.useMemo)((()=>{const r={style:{},transform:{},transformOrigin:{},vars:{},attrs:{}};return yd(r,t,{enableHardwareAcceleration:!1},bd(n),e.transformTemplate),{...r.attrs,style:{...r.style}}}),[t]);if(e.style){const t={};ud(t,e.style,e),o.style={...t,...o.style}}return o}function wd(e=!1){return(t,r,n,{latestValues:o},i)=>{const a=(Ac(t)?xd:cd)(r,o,i,t),s=function(e,t,r){const n={};for(const o in e)"values"===o&&"object"==typeof e.values||(pd(o)||!0===r&&fd(o)||!t&&!fd(o)||e.draggable&&o.startsWith("onDrag"))&&(n[o]=e[o]);return n}(r,"string"==typeof t,e),l=t!==B.Fragment?{...s,...a,ref:n}:{},{children:u}=r,c=(0,B.useMemo)((()=>Bc(u)?u.get():u),[u]);return(0,B.createElement)(t,{...l,children:c})}}function kd(e,{style:t,vars:r},n,o){Object.assign(e.style,t,o&&o.getProjectionStyles(n));for(const t in r)e.style.setProperty(t,r[t])}const Sd=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 _d(e,t,r,n){kd(e,t,void 0,n);for(const r in t.attrs)e.setAttribute(Sd.has(r)?r:ac(r),t.attrs[r])}function Cd(e,t){const{style:r}=e,n={};for(const o in r)(Bc(r[o])||t.style&&Bc(t.style[o])||jc(o,e))&&(n[o]=r[o]);return n}function Ed(e,t){const r=Cd(e,t);for(const n in e)(Bc(e[n])||Bc(t[n]))&&(r[-1!==Mc.indexOf(n)?"attr"+n.charAt(0).toUpperCase()+n.substring(1):n]=e[n]);return r}function Pd(e,t,r,n={},o={}){return"function"==typeof t&&(t=t(void 0!==r?r:e.custom,n,o)),"string"==typeof t&&(t=e.variants&&e.variants[t]),"function"==typeof t&&(t=t(void 0!==r?r:e.custom,n,o)),t}function Td(e){const t=(0,B.useRef)(null);return null===t.current&&(t.current=e()),t.current}const zd=e=>Array.isArray(e);function Ad(e){const t=Bc(e)?e.get():e;return r=t,Boolean(r&&"object"==typeof r&&r.mix&&r.toValue)?t.toValue():t;var r}const Rd=e=>(t,r)=>{const n=(0,B.useContext)(rc),o=(0,B.useContext)(ec),i=()=>function({scrapeMotionValuesFromProps:e,createRenderState:t,onMount:r},n,o,i){const a={latestValues:Md(n,o,i,e),renderState:t()};return r&&(a.mount=e=>r(n,e,a)),a}(e,t,n,o);return r?i():Td(i)};function Md(e,t,r,n){const o={},i=n(e,{});for(const e in i)o[e]=Ad(i[e]);let{initial:a,animate:s}=e;const l=yc(e),u=bc(e);t&&u&&!l&&!1!==e.inherit&&(void 0===a&&(a=t.initial),void 0===s&&(s=t.animate));let c=!!r&&!1===r.initial;c=c||!1===a;const d=c?s:a;return d&&"boolean"!=typeof d&&!mc(d)&&(Array.isArray(d)?d:[d]).forEach((t=>{const r=Pd(e,t);if(!r)return;const{transitionEnd:n,transition:i,...a}=r;for(const e in a){let t=a[e];Array.isArray(t)&&(t=t[c?t.length-1:0]),null!==t&&(o[e]=t)}for(const e in n)o[e]=n[e]})),o}const Fd=e=>e,{schedule:jd,cancel:Bd,state:Ld,steps:Dd}=cc("undefined"!=typeof requestAnimationFrame?requestAnimationFrame:Fd,!0),$d={useVisualState:Rd({scrapeMotionValuesFromProps:Ed,createRenderState:()=>({style:{},transform:{},transformOrigin:{},vars:{},attrs:{}}),onMount:(e,t,{renderState:r,latestValues:n})=>{jd.read((()=>{try{r.dimensions="function"==typeof t.getBBox?t.getBBox():t.getBoundingClientRect()}catch(e){r.dimensions={x:0,y:0,width:0,height:0}}})),jd.render((()=>{yd(r,n,{enableHardwareAcceleration:!1},bd(t.tagName),e.transformTemplate),_d(t,r)}))}})},Od={useVisualState:Rd({scrapeMotionValuesFromProps:Cd,createRenderState:()=>({style:{},transform:{},transformOrigin:{},vars:{}})})};function Id(e,t,r,n={passive:!0}){return e.addEventListener(t,r,n),()=>e.removeEventListener(t,r)}const Nd=e=>"mouse"===e.pointerType?"number"!=typeof e.button||e.button<=0:!1!==e.isPrimary;function Vd(e,t="page"){return{point:{x:e[t+"X"],y:e[t+"Y"]}}}function Wd(e,t,r,n){return Id(e,t,(e=>t=>Nd(t)&&e(t,Vd(t)))(r),n)}const Ud=(e,t)=>r=>t(e(r)),Hd=(...e)=>e.reduce(Ud);function qd(e){let t=null;return()=>null===t&&(t=e,()=>{t=null})}const Yd=qd("dragHorizontal"),Xd=qd("dragVertical");function Kd(e){let t=!1;if("y"===e)t=Xd();else if("x"===e)t=Yd();else{const e=Yd(),r=Xd();e&&r?t=()=>{e(),r()}:(e&&e(),r&&r())}return t}function Gd(){const e=Kd(!0);return!e||(e(),!1)}class Qd{constructor(e){this.isMounted=!1,this.node=e}update(){}}function Zd(e,t){const r="pointer"+(t?"enter":"leave"),n="onHover"+(t?"Start":"End");return Wd(e.current,r,((r,o)=>{if("touch"===r.pointerType||Gd())return;const i=e.getProps();e.animationState&&i.whileHover&&e.animationState.setActive("whileHover",t),i[n]&&i[n](r,o)}),{passive:!e.getProps()[n]})}const Jd=(e,t)=>!!t&&(e===t||Jd(e,t.parentElement));function ef(e,t){if(!t)return;const r=new PointerEvent("pointer"+e);t(r,Vd(r))}const tf=new WeakMap,rf=new WeakMap,nf=e=>{const t=tf.get(e.target);t&&t(e)},of=e=>{e.forEach(nf)};const af={some:0,all:1},sf={inView:{Feature:class extends Qd{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){this.unmount();const{viewport:e={}}=this.node.getProps(),{root:t,margin:r,amount:n="some",once:o}=e,i={root:t?t.current:void 0,rootMargin:r,threshold:"number"==typeof n?n:af[n]};return function(e,t,r){const n=function({root:e,...t}){const r=e||document;rf.has(r)||rf.set(r,{});const n=rf.get(r),o=JSON.stringify(t);return n[o]||(n[o]=new IntersectionObserver(of,{root:e,...t})),n[o]}(t);return tf.set(e,r),n.observe(e),()=>{tf.delete(e),n.unobserve(e)}}(this.node.current,i,(e=>{const{isIntersecting:t}=e;if(this.isInView===t)return;if(this.isInView=t,o&&!t&&this.hasEnteredView)return;t&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",t);const{onViewportEnter:r,onViewportLeave:n}=this.node.getProps(),i=t?r:n;i&&i(e)}))}mount(){this.startObserver()}update(){if("undefined"==typeof IntersectionObserver)return;const{props:e,prevProps:t}=this.node;["amount","margin","root"].some(function({viewport:e={}},{viewport:t={}}={}){return r=>e[r]!==t[r]}(e,t))&&this.startObserver()}unmount(){}}},tap:{Feature:class extends Qd{constructor(){super(...arguments),this.removeStartListeners=Fd,this.removeEndListeners=Fd,this.removeAccessibleListeners=Fd,this.startPointerPress=(e,t)=>{if(this.isPressing)return;this.removeEndListeners();const r=this.node.getProps(),n=Wd(window,"pointerup",((e,t)=>{if(!this.checkPressEnd())return;const{onTap:r,onTapCancel:n,globalTapTarget:o}=this.node.getProps();o||Jd(this.node.current,e.target)?r&&r(e,t):n&&n(e,t)}),{passive:!(r.onTap||r.onPointerUp)}),o=Wd(window,"pointercancel",((e,t)=>this.cancelPress(e,t)),{passive:!(r.onTapCancel||r.onPointerCancel)});this.removeEndListeners=Hd(n,o),this.startPress(e,t)},this.startAccessiblePress=()=>{const e=Id(this.node.current,"keydown",(e=>{"Enter"!==e.key||this.isPressing||(this.removeEndListeners(),this.removeEndListeners=Id(this.node.current,"keyup",(e=>{"Enter"===e.key&&this.checkPressEnd()&&ef("up",((e,t)=>{const{onTap:r}=this.node.getProps();r&&r(e,t)}))})),ef("down",((e,t)=>{this.startPress(e,t)})))})),t=Id(this.node.current,"blur",(()=>{this.isPressing&&ef("cancel",((e,t)=>this.cancelPress(e,t)))}));this.removeAccessibleListeners=Hd(e,t)}}startPress(e,t){this.isPressing=!0;const{onTapStart:r,whileTap:n}=this.node.getProps();n&&this.node.animationState&&this.node.animationState.setActive("whileTap",!0),r&&r(e,t)}checkPressEnd(){return this.removeEndListeners(),this.isPressing=!1,this.node.getProps().whileTap&&this.node.animationState&&this.node.animationState.setActive("whileTap",!1),!Gd()}cancelPress(e,t){if(!this.checkPressEnd())return;const{onTapCancel:r}=this.node.getProps();r&&r(e,t)}mount(){const e=this.node.getProps(),t=Wd(e.globalTapTarget?window:this.node.current,"pointerdown",this.startPointerPress,{passive:!(e.onTapStart||e.onPointerStart)}),r=Id(this.node.current,"focus",this.startAccessiblePress);this.removeStartListeners=Hd(t,r)}unmount(){this.removeStartListeners(),this.removeEndListeners(),this.removeAccessibleListeners()}}},focus:{Feature:class extends Qd{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=Hd(Id(this.node.current,"focus",(()=>this.onFocus())),Id(this.node.current,"blur",(()=>this.onBlur())))}unmount(){}}},hover:{Feature:class extends Qd{mount(){this.unmount=Hd(Zd(this.node,!0),Zd(this.node,!1))}unmount(){}}}};function lf(e,t){if(!Array.isArray(t))return!1;const r=t.length;if(r!==e.length)return!1;for(let n=0;n<r;n++)if(t[n]!==e[n])return!1;return!0}function uf(e,t,r){const n=e.getProps();return Pd(n,t,void 0!==r?r:n.custom,function(e){const t={};return e.values.forEach(((e,r)=>t[r]=e.get())),t}(e),function(e){const t={};return e.values.forEach(((e,r)=>t[r]=e.getVelocity())),t}(e))}const cf=e=>1e3*e,df=e=>e/1e3,ff={type:"spring",stiffness:500,damping:25,restSpeed:10},pf={type:"keyframes",duration:.8},hf={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},mf=(e,{keyframes:t})=>t.length>2?pf:Fc.has(e)?e.startsWith("scale")?{type:"spring",stiffness:550,damping:0===t[1]?2*Math.sqrt(550):30,restSpeed:10}:ff:hf;function gf(e,t){return e[t]||e.default||e}const vf=e=>null!==e;function yf(e,{repeat:t,repeatType:r="loop"},n){const o=e.filter(vf),i=t&&"loop"!==r&&t%2==1?0:o.length-1;return i&&void 0!==n?n:o[i]}let bf;function xf(){bf=void 0}const wf={now:()=>(void 0===bf&&wf.set(Ld.isProcessing?Ld.timestamp:performance.now()),bf),set:e=>{bf=e,queueMicrotask(xf)}},kf=e=>/^0[^.\s]+$/u.test(e);let Sf=Fd,_f=Fd;const Cf=e=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(e),Ef=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;function Pf(e,t,r=1){_f(r<=4,`Max CSS variable fallback depth detected in property "${e}". This may indicate a circular fallback dependency.`);const[n,o]=function(e){const t=Ef.exec(e);if(!t)return[,];const[,r,n,o]=t;return[`--${null!=r?r:n}`,o]}(e);if(!n)return;const i=window.getComputedStyle(t).getPropertyValue(n);if(i){const e=i.trim();return Cf(e)?parseFloat(e):e}return Nc(o)?Pf(o,t,r+1):o}const Tf=new Set(["width","height","top","left","right","bottom","x","y","translateX","translateY"]),zf=e=>e===Hc||e===rd,Af=(e,t)=>parseFloat(e.split(", ")[t]),Rf=(e,t)=>(r,{transform:n})=>{if("none"===n||!n)return 0;const o=n.match(/^matrix3d\((.+)\)$/u);if(o)return Af(o[1],t);{const t=n.match(/^matrix\((.+)\)$/u);return t?Af(t[1],e):0}},Mf=new Set(["x","y","z"]),Ff=Mc.filter((e=>!Mf.has(e)));function jf(e){const t=[];return Ff.forEach((r=>{const n=e.getValue(r);void 0!==n&&(t.push([r,n.get()]),n.set(r.startsWith("scale")?1:0))})),t}const Bf={width:({x:e},{paddingLeft:t="0",paddingRight:r="0"})=>e.max-e.min-parseFloat(t)-parseFloat(r),height:({y:e},{paddingTop:t="0",paddingBottom:r="0"})=>e.max-e.min-parseFloat(t)-parseFloat(r),top:(e,{top:t})=>parseFloat(t),left:(e,{left:t})=>parseFloat(t),bottom:({y:e},{top:t})=>parseFloat(t)+(e.max-e.min),right:({x:e},{left:t})=>parseFloat(t)+(e.max-e.min),x:Rf(4,13),y:Rf(5,14)};Bf.translateX=Bf.x,Bf.translateY=Bf.y;const Lf=e=>t=>t.test(e),Df=[Hc,rd,td,ed,od,nd,{test:e=>"auto"===e,parse:e=>e}],$f=e=>Df.find(Lf(e)),Of=new Set;let If=!1,Nf=!1;function Vf(){if(Nf){const e=Array.from(Of).filter((e=>e.needsMeasurement)),t=new Set(e.map((e=>e.element))),r=new Map;t.forEach((e=>{jf(e).length&&(r.set(e,jf(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)}))}Nf=!1,If=!1,Of.forEach((e=>e.complete())),Of.clear()}function Wf(){Of.forEach((e=>{e.readKeyframes(),e.needsMeasurement&&(Nf=!0)}))}class Uf{constructor(e,t,r,n,o,i=!1){this.isComplete=!1,this.isAsync=!1,this.needsMeasurement=!1,this.isScheduled=!1,this.unresolvedKeyframes=[...e],this.onComplete=t,this.name=r,this.motionValue=n,this.element=o,this.isAsync=i}scheduleResolve(){this.isScheduled=!0,this.isAsync?(Of.add(this),If||(If=!0,jd.read(Wf),jd.resolveKeyframes(Vf))):(this.readKeyframes(),this.complete())}readKeyframes(){const{unresolvedKeyframes:e,name:t,element:r,motionValue:n}=this;for(let o=0;o<e.length;o++)if(null===e[o])if(0===o){const o=null==n?void 0:n.get(),i=e[e.length-1];if(void 0!==o)e[0]=o;else if(r&&t){const n=r.readValue(t,i);null!=n&&(e[0]=n)}void 0===e[0]&&(e[0]=i),n&&void 0===o&&n.set(e[0])}else e[o]=e[o-1]}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(){this.isComplete=!0,this.onComplete(this.unresolvedKeyframes,this.finalKeyframe),Of.delete(this)}cancel(){this.isComplete||(this.isScheduled=!1,Of.delete(this))}resume(){this.isComplete||this.scheduleResolve()}}const Hf=(e,t)=>r=>Boolean(Zc(r)&&Qc.test(r)&&r.startsWith(e)||t&&Object.prototype.hasOwnProperty.call(r,t)),qf=(e,t,r)=>n=>{if(!Zc(n))return n;const[o,i,a,s]=n.match(Kc);return{[e]:parseFloat(o),[t]:parseFloat(i),[r]:parseFloat(a),alpha:void 0!==s?parseFloat(s):1}},Yf={...Hc,transform:e=>Math.round((e=>Uc(0,255,e))(e))},Xf={test:Hf("rgb","red"),parse:qf("red","green","blue"),transform:({red:e,green:t,blue:r,alpha:n=1})=>"rgba("+Yf.transform(e)+", "+Yf.transform(t)+", "+Yf.transform(r)+", "+Xc(qc.transform(n))+")"},Kf={test:Hf("#"),parse:function(e){let t="",r="",n="",o="";return e.length>5?(t=e.substring(1,3),r=e.substring(3,5),n=e.substring(5,7),o=e.substring(7,9)):(t=e.substring(1,2),r=e.substring(2,3),n=e.substring(3,4),o=e.substring(4,5),t+=t,r+=r,n+=n,o+=o),{red:parseInt(t,16),green:parseInt(r,16),blue:parseInt(n,16),alpha:o?parseInt(o,16)/255:1}},transform:Xf.transform},Gf={test:Hf("hsl","hue"),parse:qf("hue","saturation","lightness"),transform:({hue:e,saturation:t,lightness:r,alpha:n=1})=>"hsla("+Math.round(e)+", "+td.transform(Xc(t))+", "+td.transform(Xc(r))+", "+Xc(qc.transform(n))+")"},Qf={test:e=>Xf.test(e)||Kf.test(e)||Gf.test(e),parse:e=>Xf.test(e)?Xf.parse(e):Gf.test(e)?Gf.parse(e):Kf.parse(e),transform:e=>Zc(e)?e:e.hasOwnProperty("red")?Xf.transform(e):Gf.transform(e)},Zf="number",Jf="color",ep=/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 tp(e){const t=e.toString(),r=[],n={color:[],number:[],var:[]},o=[];let i=0;const a=t.replace(ep,(e=>(Qf.test(e)?(n.color.push(i),o.push(Jf),r.push(Qf.parse(e))):e.startsWith("var(")?(n.var.push(i),o.push("var"),r.push(e)):(n.number.push(i),o.push(Zf),r.push(parseFloat(e))),++i,"${}"))).split("${}");return{values:r,split:a,indexes:n,types:o}}function rp(e){return tp(e).values}function np(e){const{split:t,types:r}=tp(e),n=t.length;return e=>{let o="";for(let i=0;i<n;i++)if(o+=t[i],void 0!==e[i]){const t=r[i];o+=t===Zf?Xc(e[i]):t===Jf?Qf.transform(e[i]):e[i]}return o}}const op=e=>"number"==typeof e?0:e,ip={test:function(e){var t,r;return isNaN(e)&&Zc(e)&&((null===(t=e.match(Kc))||void 0===t?void 0:t.length)||0)+((null===(r=e.match(Gc))||void 0===r?void 0:r.length)||0)>0},parse:rp,createTransformer:np,getAnimatableNone:function(e){const t=rp(e);return np(e)(t.map(op))}},ap=new Set(["brightness","contrast","saturate","opacity"]);function sp(e){const[t,r]=e.slice(0,-1).split("(");if("drop-shadow"===t)return e;const[n]=r.match(Kc)||[];if(!n)return e;const o=r.replace(n,"");let i=ap.has(t)?1:0;return n!==r&&(i*=100),t+"("+i+o+")"}const lp=/\b([a-z-]*)\(.*?\)/gu,up={...ip,getAnimatableNone:e=>{const t=e.match(lp);return t?t.map(sp).join(" "):e}},cp={...sd,color:Qf,backgroundColor:Qf,outlineColor:Qf,fill:Qf,stroke:Qf,borderColor:Qf,borderTopColor:Qf,borderRightColor:Qf,borderBottomColor:Qf,borderLeftColor:Qf,filter:up,WebkitFilter:up},dp=e=>cp[e];function fp(e,t){let r=dp(e);return r!==up&&(r=ip),r.getAnimatableNone?r.getAnimatableNone(t):void 0}class pp extends Uf{constructor(e,t,r,n){super(e,t,r,n,null==n?void 0:n.owner,!0)}readKeyframes(){const{unresolvedKeyframes:e,element:t,name:r}=this;if(!t.current)return;super.readKeyframes();for(let r=0;r<e.length;r++){const n=e[r];if("string"==typeof n&&Nc(n)){const o=Pf(n,t.current);void 0!==o&&(e[r]=o)}}if(!Tf.has(r)||2!==e.length)return this.resolveNoneKeyframes();const[n,o]=e,i=$f(n),a=$f(o);if(i!==a)if(zf(i)&&zf(a))for(let t=0;t<e.length;t++){const r=e[t];"string"==typeof r&&(e[t]=parseFloat(r))}else this.needsMeasurement=!0}resolveNoneKeyframes(){const{unresolvedKeyframes:e,name:t}=this,r=[];for(let t=0;t<e.length;t++)("number"==typeof(n=e[t])?0===n:null===n||"none"===n||"0"===n||kf(n))&&r.push(t);var n;r.length&&function(e,t,r){let n,o=0;for(;o<e.length&&!n;)"string"==typeof e[o]&&"none"!==e[o]&&"0"!==e[o]&&(n=e[o]),o++;if(n&&r)for(const o of t)e[o]=fp(r,n)}(e,r,t)}measureInitialState(){const{element:e,unresolvedKeyframes:t,name:r}=this;if(!e.current)return;"height"===r&&(this.suspendedScrollY=window.pageYOffset),this.measuredOrigin=Bf[r](e.measureViewportBox(),window.getComputedStyle(e.current)),t[0]=this.measuredOrigin;const n=t[t.length-1];void 0!==n&&e.getValue(r,n).jump(n,!1)}measureEndState(){var e;const{element:t,name:r,unresolvedKeyframes:n}=this;if(!t.current)return;const o=t.getValue(r);o&&o.jump(this.measuredOrigin,!1);const i=n.length-1,a=n[i];n[i]=Bf[r](t.measureViewportBox(),window.getComputedStyle(t.current)),null!==a&&(this.finalKeyframe=a),(null===(e=this.removedTransforms)||void 0===e?void 0:e.length)&&this.removedTransforms.forEach((([e,r])=>{t.getValue(e).set(r)})),this.resolveNoneKeyframes()}}const hp=(e,t)=>!("zIndex"===t||"number"!=typeof e&&!Array.isArray(e)&&("string"!=typeof e||!ip.test(e)&&"0"!==e||e.startsWith("url(")));class mp{constructor({autoplay:e=!0,delay:t=0,type:r="keyframes",repeat:n=0,repeatDelay:o=0,repeatType:i="loop",...a}){this.isStopped=!1,this.options={autoplay:e,delay:t,type:r,repeat:n,repeatDelay:o,repeatType:i,...a},this.updateFinishedPromise()}get resolved(){return this._resolved||(Wf(),Vf()),this._resolved}onKeyframesResolved(e,t){const{name:r,type:n,velocity:o,delay:i,onComplete:a,onUpdate:s}=this.options;if(!function(e,t,r,n){const o=e[0];if(null===o)return!1;const i=e[e.length-1],a=hp(o,t),s=hp(i,t);return Sf(a===s,`You are trying to animate ${t} from "${o}" to "${i}". ${o} is not an animatable value - to enable this animation set ${o} to a value animatable to ${i} via the \`style\` property.`),!(!a||!s)&&(function(e){const t=e[0];if(1===e.length)return!0;for(let r=0;r<e.length;r++)if(e[r]!==t)return!0}(e)||"spring"===r&&n)}(e,r,n,o)){if(!i)return null==s||s(yf(e,this.options,t)),null==a||a(),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 gp(e,t){return t?e*(1e3/t):0}function vp(e,t,r){const n=Math.max(t-5,0);return gp(r-e(n),t-n)}const yp=12;function bp(e,t){return e*Math.sqrt(1-t*t)}const xp=["duration","bounce"],kp=["stiffness","damping","mass"];function Sp(e,t){return t.some((t=>void 0!==e[t]))}function _p({keyframes:e,restDelta:t,restSpeed:r,...n}){const o=e[0],i=e[e.length-1],a={done:!1,value:o},{stiffness:s,damping:l,mass:u,duration:c,velocity:d,isResolvedFromDuration:f}=function(e){let t={velocity:0,stiffness:100,damping:10,mass:1,isResolvedFromDuration:!1,...e};if(!Sp(e,kp)&&Sp(e,xp)){const r=function({duration:e=800,bounce:t=.25,velocity:r=0,mass:n=1}){let o,i;Sf(e<=cf(10),"Spring duration must be 10 seconds or less");let a=1-t;a=Uc(.05,1,a),e=Uc(.01,10,df(e)),a<1?(o=t=>{const n=t*a,o=n*e;return.001-(n-r)/bp(t,a)*Math.exp(-o)},i=t=>{const n=t*a*e,i=n*r+r,s=Math.pow(a,2)*Math.pow(t,2)*e,l=Math.exp(-n),u=bp(Math.pow(t,2),a);return(.001-o(t)>0?-1:1)*((i-s)*l)/u}):(o=t=>Math.exp(-t*e)*((t-r)*e+1)-.001,i=t=>Math.exp(-t*e)*(e*e*(r-t)));const s=function(e,t,r){let n=r;for(let r=1;r<yp;r++)n-=e(n)/t(n);return n}(o,i,5/e);if(e=cf(e),isNaN(s))return{stiffness:100,damping:10,duration:e};{const t=Math.pow(s,2)*n;return{stiffness:t,damping:2*a*Math.sqrt(n*t),duration:e}}}(e);t={...t,...r,mass:1},t.isResolvedFromDuration=!0}return t}({...n,velocity:-df(n.velocity||0)}),p=d||0,h=l/(2*Math.sqrt(s*u)),m=i-o,g=df(Math.sqrt(s/u)),v=Math.abs(m)<5;let y;if(r||(r=v?.01:2),t||(t=v?.005:.5),h<1){const e=bp(g,h);y=t=>{const r=Math.exp(-h*g*t);return i-r*((p+h*g*m)/e*Math.sin(e*t)+m*Math.cos(e*t))}}else if(1===h)y=e=>i-Math.exp(-g*e)*(m+(p+g*m)*e);else{const e=g*Math.sqrt(h*h-1);y=t=>{const r=Math.exp(-h*g*t),n=Math.min(e*t,300);return i-r*((p+h*g*m)*Math.sinh(n)+e*m*Math.cosh(n))/e}}return{calculatedDuration:f&&c||null,next:e=>{const n=y(e);if(f)a.done=e>=c;else{let o=p;0!==e&&(o=h<1?vp(y,e,n):0);const s=Math.abs(o)<=r,l=Math.abs(i-n)<=t;a.done=s&&l}return a.value=a.done?i:n,a}}}function Cp({keyframes:e,velocity:t=0,power:r=.8,timeConstant:n=325,bounceDamping:o=10,bounceStiffness:i=500,modifyTarget:a,min:s,max:l,restDelta:u=.5,restSpeed:c}){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=r*t;const m=d+h,g=void 0===a?m:a(m);g!==m&&(h=g-d);const v=e=>-h*Math.exp(-e/n),y=e=>g+v(e),b=e=>{const t=v(e),r=y(e);f.done=Math.abs(t)<=u,f.value=f.done?g:r};let x,w;const k=e=>{var t;t=f.value,(void 0!==s&&t<s||void 0!==l&&t>l)&&(x=e,w=_p({keyframes:[f.value,p(f.value)],velocity:vp(y,e,f.value),damping:o,stiffness:i,restDelta:u,restSpeed:c}))};return k(0),{calculatedDuration:null,next:e=>{let t=!1;return w||void 0!==x||(t=!0,b(e),k(e)),void 0!==x&&e>=x?w.next(e-x):(!t&&b(e),f)}}}const Ep=(e,t,r)=>(((1-3*r+3*t)*e+(3*r-6*t))*e+3*t)*e;function Pp(e,t,r,n){if(e===t&&r===n)return Fd;return o=>0===o||1===o?o:Ep(function(e,t,r,n,o){let i,a,s=0;do{a=t+(r-t)/2,i=Ep(a,n,o)-e,i>0?r=a:t=a}while(Math.abs(i)>1e-7&&++s<12);return a}(o,0,1,e,r),t,n)}const Tp=Pp(.42,0,1,1),zp=Pp(0,0,.58,1),Ap=Pp(.42,0,.58,1),Rp=e=>t=>t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2,Mp=e=>t=>1-e(1-t),Fp=e=>1-Math.sin(Math.acos(e)),jp=Mp(Fp),Bp=Rp(Fp),Lp=Pp(.33,1.53,.69,.99),Dp=Mp(Lp),$p=Rp(Dp),Op={linear:Fd,easeIn:Tp,easeInOut:Ap,easeOut:zp,circIn:Fp,circInOut:Bp,circOut:jp,backIn:Dp,backInOut:$p,backOut:Lp,anticipate:e=>(e*=2)<1?.5*Dp(e):.5*(2-Math.pow(2,-10*(e-1)))},Ip=e=>{if(Array.isArray(e)){_f(4===e.length,"Cubic bezier arrays must contain four numerical values.");const[t,r,n,o]=e;return Pp(t,r,n,o)}return"string"==typeof e?(_f(void 0!==Op[e],`Invalid easing type '${e}'`),Op[e]):e},Np=(e,t,r)=>{const n=t-e;return 0===n?1:(r-e)/n},Vp=(e,t,r)=>e+(t-e)*r;function Wp(e,t,r){return r<0&&(r+=1),r>1&&(r-=1),r<1/6?e+6*(t-e)*r:r<.5?t:r<2/3?e+(t-e)*(2/3-r)*6:e}const Up=(e,t,r)=>{const n=e*e,o=r*(t*t-n)+n;return o<0?0:Math.sqrt(o)},Hp=[Kf,Xf,Gf];function qp(e){const t=(r=e,Hp.find((e=>e.test(r))));var r;_f(Boolean(t),`'${e}' is not an animatable color. Use the equivalent color code instead.`);let n=t.parse(e);return t===Gf&&(n=function({hue:e,saturation:t,lightness:r,alpha:n}){e/=360,r/=100;let o=0,i=0,a=0;if(t/=100){const n=r<.5?r*(1+t):r+t-r*t,s=2*r-n;o=Wp(s,n,e+1/3),i=Wp(s,n,e),a=Wp(s,n,e-1/3)}else o=i=a=r;return{red:Math.round(255*o),green:Math.round(255*i),blue:Math.round(255*a),alpha:n}}(n)),n}const Yp=(e,t)=>{const r=qp(e),n=qp(t),o={...r};return e=>(o.red=Up(r.red,n.red,e),o.green=Up(r.green,n.green,e),o.blue=Up(r.blue,n.blue,e),o.alpha=Vp(r.alpha,n.alpha,e),Xf.transform(o))};function Xp(e,t){return r=>r>0?t:e}function Kp(e,t){return r=>Vp(e,t,r)}function Gp(e){return"number"==typeof e?Kp:"string"==typeof e?Nc(e)?Xp:Qf.test(e)?Yp:Jp:Array.isArray(e)?Qp:"object"==typeof e?Qf.test(e)?Yp:Zp:Xp}function Qp(e,t){const r=[...e],n=r.length,o=e.map(((e,r)=>Gp(e)(e,t[r])));return e=>{for(let t=0;t<n;t++)r[t]=o[t](e);return r}}function Zp(e,t){const r={...e,...t},n={};for(const o in r)void 0!==e[o]&&void 0!==t[o]&&(n[o]=Gp(e[o])(e[o],t[o]));return e=>{for(const t in n)r[t]=n[t](e);return r}}const Jp=(e,t)=>{const r=ip.createTransformer(t),n=tp(e),o=tp(t);return n.indexes.var.length===o.indexes.var.length&&n.indexes.color.length===o.indexes.color.length&&n.indexes.number.length>=o.indexes.number.length?Hd(Qp(function(e,t){var r;const n=[],o={color:0,var:0,number:0};for(let i=0;i<t.values.length;i++){const a=t.types[i],s=e.indexes[a][o[a]],l=null!==(r=e.values[s])&&void 0!==r?r:0;n[i]=l,o[a]++}return n}(n,o),o.values),r):(Sf(!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.`),Xp(e,t))};function eh(e,t,r){return"number"==typeof e&&"number"==typeof t&&"number"==typeof r?Vp(e,t,r):Gp(e)(e,t)}function th({duration:e=300,keyframes:t,times:r,ease:n="easeInOut"}){const o=(e=>Array.isArray(e)&&"number"!=typeof e[0])(n)?n.map(Ip):Ip(n),i={done:!1,value:t[0]},a=function(e,t){return e.map((e=>e*t))}(r&&r.length===t.length?r:function(e){const t=[0];return function(e,t){const r=e[e.length-1];for(let n=1;n<=t;n++){const o=Np(0,t,n);e.push(Vp(r,1,o))}}(t,e.length-1),t}(t),e),s=function(e,t,{clamp:r=!0,ease:n,mixer:o}={}){const i=e.length;if(_f(i===t.length,"Both input and output ranges must be the same length"),1===i)return()=>t[0];if(2===i&&e[0]===e[1])return()=>t[1];e[0]>e[i-1]&&(e=[...e].reverse(),t=[...t].reverse());const a=function(e,t,r){const n=[],o=r||eh,i=e.length-1;for(let r=0;r<i;r++){let i=o(e[r],e[r+1]);if(t){const e=Array.isArray(t)?t[r]||Fd:t;i=Hd(e,i)}n.push(i)}return n}(t,n,o),s=a.length,l=t=>{let r=0;if(s>1)for(;r<e.length-2&&!(t<e[r+1]);r++);const n=Np(e[r],e[r+1],t);return a[r](n)};return r?t=>l(Uc(e[0],e[i-1],t)):l}(a,t,{ease:Array.isArray(o)?o:(l=t,u=o,l.map((()=>u||Ap)).splice(0,l.length-1))});var l,u;return{calculatedDuration:e,next:t=>(i.value=s(t),i.done=t>=e,i)}}const rh=e=>{const t=({timestamp:t})=>e(t);return{start:()=>jd.update(t,!0),stop:()=>Bd(t),now:()=>Ld.isProcessing?Ld.timestamp:wf.now()}},nh={decay:Cp,inertia:Cp,tween:th,keyframes:th,spring:_p},oh=e=>e/100;class ih extends mp{constructor({KeyframeResolver:e=Uf,...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:r,motionValue:n,keyframes:o}=this.options,i=(e,t)=>this.onKeyframesResolved(e,t);r&&n&&n.owner?this.resolver=n.owner.resolveKeyframes(o,i,r,n):this.resolver=new e(o,i,r,n),this.resolver.scheduleResolve()}initPlayback(e){const{type:t="keyframes",repeat:r=0,repeatDelay:n=0,repeatType:o,velocity:i=0}=this.options,a=nh[t]||th;let s,l;a!==th&&"number"!=typeof e[0]&&(s=Hd(oh,eh(e[0],e[1])),e=[0,100]);const u=a({...this.options,keyframes:e});"mirror"===o&&(l=a({...this.options,keyframes:[...e].reverse(),velocity:-i})),null===u.calculatedDuration&&(u.calculatedDuration=function(e){let t=0,r=e.next(t);for(;!r.done&&t<2e4;)t+=50,r=e.next(t);return t>=2e4?1/0:t}(u));const{calculatedDuration:c}=u,d=c+n;return{generator:u,mirroredGenerator:l,mapPercentToKeyframes:s,calculatedDuration:c,resolvedDuration:d,totalDuration:d*(r+1)-n}}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:r}=this;if(!r){const{keyframes:e}=this.options;return{done:!0,value:e[e.length-1]}}const{finalKeyframe:n,generator:o,mirroredGenerator:i,mapPercentToKeyframes:a,keyframes:s,calculatedDuration:l,totalDuration:u,resolvedDuration:c}=r;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-u/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 g=this.currentTime-d*(this.speed>=0?1:-1),v=this.speed>=0?g<0:g>u;this.currentTime=Math.max(g,0),"finished"===this.state&&null===this.holdTime&&(this.currentTime=u);let y=this.currentTime,b=o;if(f){const e=Math.min(this.currentTime,u)/c;let t=Math.floor(e),r=e%1;!r&&e>=1&&(r=1),1===r&&t--,t=Math.min(t,f+1),Boolean(t%2)&&("reverse"===p?(r=1-r,h&&(r-=h/c)):"mirror"===p&&(b=i)),y=Uc(0,1,r)*c}const x=v?{done:!1,value:s[0]}:b.next(y);a&&(x.value=a(x.value));let{done:w}=x;v||null===l||(w=this.speed>=0?this.currentTime>=u:this.currentTime<=0);const k=null===this.holdTime&&("finished"===this.state||"running"===this.state&&w);return k&&void 0!==n&&(x.value=yf(s,this.options,n)),m&&m(x.value),k&&this.finish(),x}get duration(){const{resolved:e}=this;return e?df(e.calculatedDuration):0}get time(){return df(this.currentTime)}set time(e){e=cf(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=df(this.currentTime))}play(){if(this.resolver.isScheduled||this.resolver.resume(),!this._resolved)return void(this.pendingPlayState="running");if(this.isStopped)return;const{driver:e=rh,onPlay:t}=this.options;this.driver||(this.driver=e((e=>this.tick(e)))),t&&t();const r=this.driver.now();null!==this.holdTime?this.startTime=r-this.holdTime:this.startTime&&"finished"!==this.state||(this.startTime=r),"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 ah=e=>Array.isArray(e)&&"number"==typeof e[0];function sh(e){return Boolean(!e||"string"==typeof e&&uh[e]||ah(e)||Array.isArray(e)&&e.every(sh))}const lh=([e,t,r,n])=>`cubic-bezier(${e}, ${t}, ${r}, ${n})`,uh={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:lh([0,.65,.55,1]),circOut:lh([.55,0,1,.45]),backIn:lh([.31,.01,.66,-.59]),backOut:lh([.33,1.53,.69,.99])};function ch(e){if(e)return ah(e)?lh(e):Array.isArray(e)?e.map(ch):uh[e]}const dh=function(){let e;return()=>(void 0===e&&(e=Object.hasOwnProperty.call(Element.prototype,"animate")),e)}(),fh=new Set(["opacity","clipPath","filter","transform"]);class ph extends mp{constructor(e){super(e);const{name:t,motionValue:r,keyframes:n}=this.options;this.resolver=new pp(n,((e,t)=>this.onKeyframesResolved(e,t)),t,r),this.resolver.scheduleResolve()}initPlayback(e,t){var r;let{duration:n=300,motionValue:o,name:i}=this.options;if(!(null===(r=o.owner)||void 0===r?void 0:r.current))return!1;if("spring"===(a=this.options).type||"backgroundColor"===a.name||!sh(a.ease)){const{onComplete:t,onUpdate:r,motionValue:o,...i}=this.options,a=function(e,t){const r=new ih({...t,keyframes:e,repeat:0,delay:0});let n={done:!1,value:e[0]};const o=[];let i=0;for(;!n.done&&i<2e4;)n=r.sample(i),o.push(n.value),i+=10;return{times:void 0,keyframes:o,duration:i-10,ease:"linear"}}(e,i);e=a.keyframes,n=a.duration,this.options.times=a.times,this.options.ease=a.ease}var a;const s=function(e,t,r,{delay:n=0,duration:o=300,repeat:i=0,repeatType:a="loop",ease:s,times:l}={}){const u={[t]:r};l&&(u.offset=l);const c=ch(s);return Array.isArray(c)&&(u.easing=c),e.animate(u,{delay:n,duration:o,easing:Array.isArray(c)?"linear":c,fill:"both",iterations:i+1,direction:"reverse"===a?"alternate":"normal"})}(o.owner.current,i,e,{...this.options,duration:n});return s.startTime=wf.now(),this.pendingTimeline?(s.timeline=this.pendingTimeline,this.pendingTimeline=void 0):s.onfinish=()=>{const{onComplete:r}=this.options;o.set(yf(e,this.options,t)),r&&r(),this.cancel(),this.resolveFinishedPromise()},{animation:s,duration:n,keyframes:e}}get duration(){const{resolved:e}=this;if(!e)return 0;const{duration:t}=e;return df(t)}get time(){const{resolved:e}=this;if(!e)return 0;const{animation:t}=e;return df(t.currentTime||0)}set time(e){const{resolved:t}=this;if(!t)return;const{animation:r}=t;r.currentTime=cf(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:r}=t;r.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 Fd;const{animation:r}=t;r.timeline=e,r.onfinish=null}else this.pendingTimeline=e;return Fd}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:r}=e;if("idle"!==t.playState&&"finished"!==t.playState){if(this.time){const{motionValue:e,onUpdate:t,onComplete:n,...o}=this.options,i=new ih({...o,keyframes:r}),a=cf(this.time);e.setWithVelocity(i.sample(a-10).value,i.sample(a).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:r,repeatDelay:n,repeatType:o,damping:i,type:a}=e;return dh()&&r&&fh.has(r)&&t&&t.owner&&t.owner.current instanceof HTMLElement&&!t.owner.getProps().onUpdate&&!n&&"mirror"!==o&&0!==i&&"inertia"!==a}}const hh=(e,t,r,n={},o,i)=>a=>{const s=gf(n,e)||{},l=s.delay||n.delay||0;let{elapsed:u=0}=n;u-=cf(l);let c={keyframes:Array.isArray(r)?r:[null,r],ease:"easeOut",velocity:t.getVelocity(),...s,delay:-u,onUpdate:e=>{t.set(e),s.onUpdate&&s.onUpdate(e)},onComplete:()=>{a(),s.onComplete&&s.onComplete()},name:e,motionValue:t,element:i?void 0:o};(function({when:e,delay:t,delayChildren:r,staggerChildren:n,staggerDirection:o,repeat:i,repeatType:a,repeatDelay:s,from:l,elapsed:u,...c}){return!!Object.keys(c).length})(s)||(c={...c,...mf(e,c)}),c.duration&&(c.duration=cf(c.duration)),c.repeatDelay&&(c.repeatDelay=cf(c.repeatDelay)),void 0!==c.from&&(c.keyframes[0]=c.from);let d=!1;if(!1===c.type&&(c.duration=0,0===c.delay&&(d=!0)),d&&!i&&void 0!==t.get()){const e=yf(c.keyframes,s);if(void 0!==e)return void jd.update((()=>{c.onUpdate(e),c.onComplete()}))}return!i&&ph.supports(c)?new ph(c):new ih(c)};function mh(e){return Boolean(Bc(e)&&e.add)}function gh(e,t){-1===e.indexOf(t)&&e.push(t)}function vh(e,t){const r=e.indexOf(t);r>-1&&e.splice(r,1)}class yh{constructor(){this.subscriptions=[]}add(e){return gh(this.subscriptions,e),()=>vh(this.subscriptions,e)}notify(e,t,r){const n=this.subscriptions.length;if(n)if(1===n)this.subscriptions[0](e,t,r);else for(let o=0;o<n;o++){const n=this.subscriptions[o];n&&n(e,t,r)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}const bh={current:void 0};class xh{constructor(e,t={}){var r;this.version="11.0.20",this.canTrackVelocity=!1,this.events={},this.updateAndNotify=(e,t=!0)=>{const r=wf.now();this.updatedAt!==r&&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=(r=this.current,!isNaN(parseFloat(r))),this.owner=t.owner}setCurrent(e){this.current=e,this.updatedAt=wf.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 yh);const r=this.events[e].add(t);return"change"===e?()=>{r(),jd.read((()=>{this.events.change.getSize()||this.stop()}))}:r}clearListeners(){for(const e in this.events)this.events[e].clear()}attach(e,t){this.passiveEffect=e,this.stopPassiveEffect=t}set(e,t=!0){t&&this.passiveEffect?this.passiveEffect(e,this.updateAndNotify):this.updateAndNotify(e,t)}setWithVelocity(e,t,r){this.set(t),this.prev=void 0,this.prevFrameValue=e,this.prevUpdatedAt=this.updatedAt-r}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 bh.current&&bh.current.push(this),this.current}getPrevious(){return this.prev}getVelocity(){const e=wf.now();if(!this.canTrackVelocity||void 0===this.prevFrameValue||e-this.updatedAt>30)return 0;const t=Math.min(this.updatedAt-this.prevUpdatedAt,30);return gp(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 wh(e,t){return new xh(e,t)}function kh(e,t,r){e.hasValue(t)?e.getValue(t).set(r):e.addValue(t,wh(r))}function Sh({protectedKeys:e,needsAnimating:t},r){const n=e.hasOwnProperty(r)&&!0!==t[r];return t[r]=!1,n}function _h(e,t,{delay:r=0,transitionOverride:n,type:o}={}){var i;let{transition:a=e.getDefaultTransition(),transitionEnd:s,...l}=t;const u=e.getValue("willChange");n&&(a=n);const c=[],d=o&&e.animationState&&e.animationState.getState()[o];for(const t in l){const n=e.getValue(t,null!==(i=e.latestValues[t])&&void 0!==i?i:null),o=l[t];if(void 0===o||d&&Sh(d,t))continue;const s={delay:r,elapsed:0,...gf(a||{},t)};let f=!1;if(window.HandoffAppearAnimations){const r=e.getProps()[sc];if(r){const e=window.HandoffAppearAnimations(r,t);null!==e&&(s.elapsed=e,f=!0)}}n.start(hh(t,n,o,e.shouldReduceMotion&&Fc.has(t)?{type:!1}:s,e,f));const p=n.animation;p&&(mh(u)&&(u.add(t),p.then((()=>u.remove(t)))),c.push(p))}return s&&Promise.all(c).then((()=>{jd.update((()=>{s&&function(e,t){const r=uf(e,t);let{transitionEnd:n={},transition:o={},...i}=r||{};i={...i,...n};for(const t in i)kh(e,t,(a=i[t],zd(a)?a[a.length-1]||0:a));var a}(e,s)}))})),c}function Ch(e,t,r={}){var n;const o=uf(e,t,"exit"===r.type?null===(n=e.presenceContext)||void 0===n?void 0:n.custom:void 0);let{transition:i=e.getDefaultTransition()||{}}=o||{};r.transitionOverride&&(i=r.transitionOverride);const a=o?()=>Promise.all(_h(e,o,r)):()=>Promise.resolve(),s=e.variantChildren&&e.variantChildren.size?(n=0)=>{const{delayChildren:o=0,staggerChildren:a,staggerDirection:s}=i;return function(e,t,r=0,n=0,o=1,i){const a=[],s=(e.variantChildren.size-1)*n,l=1===o?(e=0)=>e*n:(e=0)=>s-e*n;return Array.from(e.variantChildren).sort(Eh).forEach(((e,n)=>{e.notify("AnimationStart",t),a.push(Ch(e,t,{...i,delay:r+l(n)}).then((()=>e.notify("AnimationComplete",t))))})),Promise.all(a)}(e,t,o+n,a,s,r)}:()=>Promise.resolve(),{when:l}=i;if(l){const[e,t]="beforeChildren"===l?[a,s]:[s,a];return e().then((()=>t()))}return Promise.all([a(),s(r.delay)])}function Eh(e,t){return e.sortNodePosition(t)}const Ph=[...gc].reverse(),Th=gc.length;function zh(e){let t=function(e){return t=>Promise.all(t.map((({animation:t,options:r})=>function(e,t,r={}){let n;if(e.notify("AnimationStart",t),Array.isArray(t)){const o=t.map((t=>Ch(e,t,r)));n=Promise.all(o)}else if("string"==typeof t)n=Ch(e,t,r);else{const o="function"==typeof t?uf(e,t,r.custom):t;n=Promise.all(_h(e,o,r))}return n.then((()=>{jd.postRender((()=>{e.notify("AnimationComplete",t)}))}))}(e,t,r))))}(e);const r={animate:Rh(!0),whileInView:Rh(),whileHover:Rh(),whileTap:Rh(),whileDrag:Rh(),whileFocus:Rh(),exit:Rh()};let n=!0;const o=t=>(r,n)=>{var o;const i=uf(e,n,"exit"===t?null===(o=e.presenceContext)||void 0===o?void 0:o.custom:void 0);if(i){const{transition:e,transitionEnd:t,...n}=i;r={...r,...n,...t}}return r};function i(i){const a=e.getProps(),s=e.getVariantContext(!0)||{},l=[],u=new Set;let c={},d=1/0;for(let t=0;t<Th;t++){const f=Ph[t],p=r[f],h=void 0!==a[f]?a[f]:s[f],m=hc(h),g=f===i?p.isActive:null;!1===g&&(d=t);let v=h===s[f]&&h!==a[f]&&m;if(v&&n&&e.manuallyAnimateOnMount&&(v=!1),p.protectedKeys={...c},!p.isActive&&null===g||!h&&!p.prevProp||mc(h)||"boolean"==typeof h)continue;let y=Ah(p.prevProp,h)||f===i&&p.isActive&&!v&&m||t>d&&m,b=!1;const x=Array.isArray(h)?h:[h];let w=x.reduce(o(f),{});!1===g&&(w={});const{prevResolvedValues:k={}}=p,S={...k,...w},_=e=>{y=!0,u.has(e)&&(b=!0,u.delete(e)),p.needsAnimating[e]=!0};for(const e in S){const t=w[e],r=k[e];if(c.hasOwnProperty(e))continue;let n=!1;n=zd(t)&&zd(r)?!lf(t,r):t!==r,n?null!=t?_(e):u.add(e):void 0!==t&&u.has(e)?_(e):p.protectedKeys[e]=!0}p.prevProp=h,p.prevResolvedValues=w,p.isActive&&(c={...c,...w}),n&&e.blockInitialAnimation&&(y=!1),!y||v&&!b||l.push(...x.map((e=>({animation:e,options:{type:f}}))))}if(u.size){const t={};u.forEach((r=>{const n=e.getBaseTarget(r);t[r]=void 0===n?null:n})),l.push({animation:t})}let f=Boolean(l.length);return!n||!1!==a.initial&&a.initial!==a.animate||e.manuallyAnimateOnMount||(f=!1),n=!1,f?t(l):Promise.resolve()}return{animateChanges:i,setActive:function(t,n){var o;if(r[t].isActive===n)return Promise.resolve();null===(o=e.variantChildren)||void 0===o||o.forEach((e=>{var r;return null===(r=e.animationState)||void 0===r?void 0:r.setActive(t,n)})),r[t].isActive=n;const a=i(t);for(const e in r)r[e].protectedKeys={};return a},setAnimateFunction:function(r){t=r(e)},getState:()=>r}}function Ah(e,t){return"string"==typeof t?t!==e:!!Array.isArray(t)&&!lf(t,e)}function Rh(e=!1){return{isActive:e,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}let Mh=0;const Fh={animation:{Feature:class extends Qd{constructor(e){super(e),e.animationState||(e.animationState=zh(e))}updateAnimationControlsSubscription(){const{animate:e}=this.node.getProps();this.unmount(),mc(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 Qd{constructor(){super(...arguments),this.id=Mh++}update(){if(!this.node.presenceContext)return;const{isPresent:e,onExitComplete:t}=this.node.presenceContext,{isPresent:r}=this.node.prevPresenceContext||{};if(!this.node.animationState||e===r)return;const n=this.node.animationState.setActive("exit",!e);t&&!e&&n.then((()=>t(this.id)))}mount(){const{register:e}=this.node.presenceContext||{};e&&(this.unmount=e(this.id))}unmount(){}}}},jh=(e,t)=>Math.abs(e-t);class Bh{constructor(e,t,{transformPagePoint:r,contextWindow:n,dragSnapToOrigin:o=!1}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.handlers={},this.contextWindow=window,this.updatePoint=()=>{if(!this.lastMoveEvent||!this.lastMoveEventInfo)return;const e=$h(this.lastMoveEventInfo,this.history),t=null!==this.startEvent,r=function(e,t){const r=jh(e.x,t.x),n=jh(e.y,t.y);return Math.sqrt(r**2+n**2)}(e.offset,{x:0,y:0})>=3;if(!t&&!r)return;const{point:n}=e,{timestamp:o}=Ld;this.history.push({...n,timestamp:o});const{onStart:i,onMove:a}=this.handlers;t||(i&&i(this.lastMoveEvent,e),this.startEvent=this.lastMoveEvent),a&&a(this.lastMoveEvent,e)},this.handlePointerMove=(e,t)=>{this.lastMoveEvent=e,this.lastMoveEventInfo=Lh(t,this.transformPagePoint),jd.update(this.updatePoint,!0)},this.handlePointerUp=(e,t)=>{this.end();const{onEnd:r,onSessionEnd:n,resumeAnimation:o}=this.handlers;if(this.dragSnapToOrigin&&o&&o(),!this.lastMoveEvent||!this.lastMoveEventInfo)return;const i=$h("pointercancel"===e.type?this.lastMoveEventInfo:Lh(t,this.transformPagePoint),this.history);this.startEvent&&r&&r(e,i),n&&n(e,i)},!Nd(e))return;this.dragSnapToOrigin=o,this.handlers=t,this.transformPagePoint=r,this.contextWindow=n||window;const i=Lh(Vd(e),this.transformPagePoint),{point:a}=i,{timestamp:s}=Ld;this.history=[{...a,timestamp:s}];const{onSessionStart:l}=t;l&&l(e,$h(i,this.history)),this.removeListeners=Hd(Wd(this.contextWindow,"pointermove",this.handlePointerMove),Wd(this.contextWindow,"pointerup",this.handlePointerUp),Wd(this.contextWindow,"pointercancel",this.handlePointerUp))}updateHandlers(e){this.handlers=e}end(){this.removeListeners&&this.removeListeners(),Bd(this.updatePoint)}}function Lh(e,t){return t?{point:t(e.point)}:e}function Dh(e,t){return{x:e.x-t.x,y:e.y-t.y}}function $h({point:e},t){return{point:e,delta:Dh(e,Ih(t)),offset:Dh(e,Oh(t)),velocity:Nh(t,.1)}}function Oh(e){return e[0]}function Ih(e){return e[e.length-1]}function Nh(e,t){if(e.length<2)return{x:0,y:0};let r=e.length-1,n=null;const o=Ih(e);for(;r>=0&&(n=e[r],!(o.timestamp-n.timestamp>cf(t)));)r--;if(!n)return{x:0,y:0};const i=df(o.timestamp-n.timestamp);if(0===i)return{x:0,y:0};const a={x:(o.x-n.x)/i,y:(o.y-n.y)/i};return a.x===1/0&&(a.x=0),a.y===1/0&&(a.y=0),a}function Vh(e){return e.max-e.min}function Wh(e,t=0,r=.01){return Math.abs(e-t)<=r}function Uh(e,t,r,n=.5){e.origin=n,e.originPoint=Vp(t.min,t.max,e.origin),e.scale=Vh(r)/Vh(t),(Wh(e.scale,1,1e-4)||isNaN(e.scale))&&(e.scale=1),e.translate=Vp(r.min,r.max,e.origin)-e.originPoint,(Wh(e.translate)||isNaN(e.translate))&&(e.translate=0)}function Hh(e,t,r,n){Uh(e.x,t.x,r.x,n?n.originX:void 0),Uh(e.y,t.y,r.y,n?n.originY:void 0)}function qh(e,t,r){e.min=r.min+t.min,e.max=e.min+Vh(t)}function Yh(e,t,r){e.min=t.min-r.min,e.max=e.min+Vh(t)}function Xh(e,t,r){Yh(e.x,t.x,r.x),Yh(e.y,t.y,r.y)}function Kh(e,t,r){return{min:void 0!==t?e.min+t:void 0,max:void 0!==r?e.max+r-(e.max-e.min):void 0}}function Gh(e,t){let r=t.min-e.min,n=t.max-e.max;return t.max-t.min<e.max-e.min&&([r,n]=[n,r]),{min:r,max:n}}const Qh=.35;function Zh(e,t,r){return{min:Jh(e,t),max:Jh(e,r)}}function Jh(e,t){return"number"==typeof e?e:e[t]||0}function em(e){return[e("x"),e("y")]}function tm({top:e,left:t,right:r,bottom:n}){return{x:{min:t,max:r},y:{min:e,max:n}}}function rm(e){return void 0===e||1===e}function nm({scale:e,scaleX:t,scaleY:r}){return!rm(e)||!rm(t)||!rm(r)}function om(e){return nm(e)||im(e)||e.z||e.rotate||e.rotateX||e.rotateY||e.skewX||e.skewY}function im(e){return am(e.x)||am(e.y)}function am(e){return e&&"0%"!==e}function sm(e,t,r){return r+t*(e-r)}function lm(e,t,r,n,o){return void 0!==o&&(e=sm(e,o,n)),sm(e,r,n)+t}function um(e,t=0,r=1,n,o){e.min=lm(e.min,t,r,n,o),e.max=lm(e.max,t,r,n,o)}function cm(e,{x:t,y:r}){um(e.x,t.translate,t.scale,t.originPoint),um(e.y,r.translate,r.scale,r.originPoint)}function dm(e){return Number.isInteger(e)||e>1.0000000000001||e<.999999999999?e:1}function fm(e,t){e.min=e.min+t,e.max=e.max+t}function pm(e,t,[r,n,o]){const i=void 0!==t[o]?t[o]:.5,a=Vp(e.min,e.max,i);um(e,t[r],t[n],a,t.scale)}const hm=["x","scaleX","originX"],mm=["y","scaleY","originY"];function gm(e,t){pm(e.x,t,hm),pm(e.y,t,mm)}function vm(e,t){return tm(function(e,t){if(!t)return e;const r=t({x:e.left,y:e.top}),n=t({x:e.right,y:e.bottom});return{top:r.y,left:r.x,bottom:n.y,right:n.x}}(e.getBoundingClientRect(),t))}const ym=({current:e})=>e?e.ownerDocument.defaultView:null,bm=new WeakMap;class xm{constructor(e){this.openGlobalLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic={x:{min:0,max:0},y:{min:0,max:0}},this.visualElement=e}start(e,{snapToCursor:t=!1}={}){const{presenceContext:r}=this.visualElement;if(r&&!1===r.isPresent)return;const{dragSnapToOrigin:n}=this.getProps();this.panSession=new Bh(e,{onSessionStart:e=>{const{dragSnapToOrigin:r}=this.getProps();r?this.pauseAnimation():this.stopAnimation(),t&&this.snapToCursor(Vd(e,"page").point)},onStart:(e,t)=>{const{drag:r,dragPropagation:n,onDragStart:o}=this.getProps();if(r&&!n&&(this.openGlobalLock&&this.openGlobalLock(),this.openGlobalLock=Kd(r),!this.openGlobalLock))return;this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),em((e=>{let t=this.getAxisMotionValue(e).get()||0;if(td.test(t)){const{projection:r}=this.visualElement;if(r&&r.layout){const n=r.layout.layoutBox[e];n&&(t=Vh(n)*(parseFloat(t)/100))}}this.originPoint[e]=t})),o&&o(e,t);const{animationState:i}=this.visualElement;i&&i.setActive("whileDrag",!0)},onMove:(e,t)=>{const{dragPropagation:r,dragDirectionLock:n,onDirectionLock:o,onDrag:i}=this.getProps();if(!r&&!this.openGlobalLock)return;const{offset:a}=t;if(n&&null===this.currentDirection)return this.currentDirection=function(e,t=10){let r=null;return Math.abs(e.y)>t?r="y":Math.abs(e.x)>t&&(r="x"),r}(a),void(null!==this.currentDirection&&o&&o(this.currentDirection));this.updateAxis("x",t.point,a),this.updateAxis("y",t.point,a),this.visualElement.render(),i&&i(e,t)},onSessionEnd:(e,t)=>this.stop(e,t),resumeAnimation:()=>em((e=>{var t;return"paused"===this.getAnimationState(e)&&(null===(t=this.getAxisMotionValue(e).animation)||void 0===t?void 0:t.play())}))},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:n,contextWindow:ym(this.visualElement)})}stop(e,t){const r=this.isDragging;if(this.cancel(),!r)return;const{velocity:n}=t;this.startAnimation(n);const{onDragEnd:o}=this.getProps();o&&o(e,t)}cancel(){this.isDragging=!1;const{projection:e,animationState:t}=this.visualElement;e&&(e.isAnimationBlocked=!1),this.panSession&&this.panSession.end(),this.panSession=void 0;const{dragPropagation:r}=this.getProps();!r&&this.openGlobalLock&&(this.openGlobalLock(),this.openGlobalLock=null),t&&t.setActive("whileDrag",!1)}updateAxis(e,t,r){const{drag:n}=this.getProps();if(!r||!wm(e,n,this.currentDirection))return;const o=this.getAxisMotionValue(e);let i=this.originPoint[e]+r[e];this.constraints&&this.constraints[e]&&(i=function(e,{min:t,max:r},n){return void 0!==t&&e<t?e=n?Vp(t,e,n.min):Math.max(e,t):void 0!==r&&e>r&&(e=n?Vp(r,e,n.max):Math.min(e,r)),e}(i,this.constraints[e],this.elastic[e])),o.set(i)}resolveConstraints(){var e;const{dragConstraints:t,dragElastic:r}=this.getProps(),n=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):null===(e=this.visualElement.projection)||void 0===e?void 0:e.layout,o=this.constraints;t&&pc(t)?this.constraints||(this.constraints=this.resolveRefConstraints()):this.constraints=!(!t||!n)&&function(e,{top:t,left:r,bottom:n,right:o}){return{x:Kh(e.x,r,o),y:Kh(e.y,t,n)}}(n.layoutBox,t),this.elastic=function(e=Qh){return!1===e?e=0:!0===e&&(e=Qh),{x:Zh(e,"left","right"),y:Zh(e,"top","bottom")}}(r),o!==this.constraints&&n&&this.constraints&&!this.hasMutatedConstraints&&em((e=>{this.getAxisMotionValue(e)&&(this.constraints[e]=function(e,t){const r={};return void 0!==t.min&&(r.min=t.min-e.min),void 0!==t.max&&(r.max=t.max-e.min),r}(n.layoutBox[e],this.constraints[e]))}))}resolveRefConstraints(){const{dragConstraints:e,onMeasureDragConstraints:t}=this.getProps();if(!e||!pc(e))return!1;const r=e.current;_f(null!==r,"If `dragConstraints` is set as a React ref, that ref must be passed to another component's `ref` prop.");const{projection:n}=this.visualElement;if(!n||!n.layout)return!1;const o=function(e,t,r){const n=vm(e,r),{scroll:o}=t;return o&&(fm(n.x,o.offset.x),fm(n.y,o.offset.y)),n}(r,n.root,this.visualElement.getTransformPagePoint());let i=function(e,t){return{x:Gh(e.x,t.x),y:Gh(e.y,t.y)}}(n.layout.layoutBox,o);if(t){const e=t(function({x:e,y:t}){return{top:t.min,right:e.max,bottom:t.max,left:e.min}}(i));this.hasMutatedConstraints=!!e,e&&(i=tm(e))}return i}startAnimation(e){const{drag:t,dragMomentum:r,dragElastic:n,dragTransition:o,dragSnapToOrigin:i,onDragTransitionEnd:a}=this.getProps(),s=this.constraints||{},l=em((a=>{if(!wm(a,t,this.currentDirection))return;let l=s&&s[a]||{};i&&(l={min:0,max:0});const u=n?200:1e6,c=n?40:1e7,d={type:"inertia",velocity:r?e[a]:0,bounceStiffness:u,bounceDamping:c,timeConstant:750,restDelta:1,restSpeed:10,...o,...l};return this.startAxisValueAnimation(a,d)}));return Promise.all(l).then(a)}startAxisValueAnimation(e,t){const r=this.getAxisMotionValue(e);return r.start(hh(e,r,0,t,this.visualElement))}stopAnimation(){em((e=>this.getAxisMotionValue(e).stop()))}pauseAnimation(){em((e=>{var t;return null===(t=this.getAxisMotionValue(e).animation)||void 0===t?void 0:t.pause()}))}getAnimationState(e){var t;return null===(t=this.getAxisMotionValue(e).animation)||void 0===t?void 0:t.state}getAxisMotionValue(e){const t="_drag"+e.toUpperCase(),r=this.visualElement.getProps();return r[t]||this.visualElement.getValue(e,(r.initial?r.initial[e]:void 0)||0)}snapToCursor(e){em((t=>{const{drag:r}=this.getProps();if(!wm(t,r,this.currentDirection))return;const{projection:n}=this.visualElement,o=this.getAxisMotionValue(t);if(n&&n.layout){const{min:r,max:i}=n.layout.layoutBox[t];o.set(e[t]-Vp(r,i,.5))}}))}scalePositionWithinConstraints(){if(!this.visualElement.current)return;const{drag:e,dragConstraints:t}=this.getProps(),{projection:r}=this.visualElement;if(!pc(t)||!r||!this.constraints)return;this.stopAnimation();const n={x:0,y:0};em((e=>{const t=this.getAxisMotionValue(e);if(t){const r=t.get();n[e]=function(e,t){let r=.5;const n=Vh(e),o=Vh(t);return o>n?r=Np(t.min,t.max-n,e.min):n>o&&(r=Np(e.min,e.max-o,t.min)),Uc(0,1,r)}({min:r,max:r},this.constraints[e])}}));const{transformTemplate:o}=this.visualElement.getProps();this.visualElement.current.style.transform=o?o({},""):"none",r.root&&r.root.updateScroll(),r.updateLayout(),this.resolveConstraints(),em((t=>{if(!wm(t,e,null))return;const r=this.getAxisMotionValue(t),{min:o,max:i}=this.constraints[t];r.set(Vp(o,i,n[t]))}))}addListeners(){if(!this.visualElement.current)return;bm.set(this.visualElement,this);const e=Wd(this.visualElement.current,"pointerdown",(e=>{const{drag:t,dragListener:r=!0}=this.getProps();t&&r&&this.start(e)})),t=()=>{const{dragConstraints:e}=this.getProps();pc(e)&&(this.constraints=this.resolveRefConstraints())},{projection:r}=this.visualElement,n=r.addEventListener("measure",t);r&&!r.layout&&(r.root&&r.root.updateScroll(),r.updateLayout()),t();const o=Id(window,"resize",(()=>this.scalePositionWithinConstraints())),i=r.addEventListener("didUpdate",(({delta:e,hasLayoutChanged:t})=>{this.isDragging&&t&&(em((t=>{const r=this.getAxisMotionValue(t);r&&(this.originPoint[t]+=e[t].translate,r.set(r.get()+e[t].translate))})),this.visualElement.render())}));return()=>{o(),e(),n(),i&&i()}}getProps(){const e=this.visualElement.getProps(),{drag:t=!1,dragDirectionLock:r=!1,dragPropagation:n=!1,dragConstraints:o=!1,dragElastic:i=Qh,dragMomentum:a=!0}=e;return{...e,drag:t,dragDirectionLock:r,dragPropagation:n,dragConstraints:o,dragElastic:i,dragMomentum:a}}}function wm(e,t,r){return!(!0!==t&&t!==e||null!==r&&r!==e)}const km=e=>(t,r)=>{e&&e(t,r)},Sm={hasAnimatedSinceResize:!0,hasEverUpdated:!1};function _m(e,t){return t.max===t.min?0:e/(t.max-t.min)*100}const Cm={correct:(e,t)=>{if(!t.target)return e;if("string"==typeof e){if(!rd.test(e))return e;e=parseFloat(e)}return`${_m(e,t.target.x)}% ${_m(e,t.target.y)}%`}},Em={correct:(e,{treeScale:t,projectionDelta:r})=>{const n=e,o=ip.parse(e);if(o.length>5)return n;const i=ip.createTransformer(e),a="number"!=typeof o[0]?1:0,s=r.x.scale*t.x,l=r.y.scale*t.y;o[0+a]/=s,o[1+a]/=l;const u=Vp(s,l,.5);return"number"==typeof o[2+a]&&(o[2+a]/=u),"number"==typeof o[3+a]&&(o[3+a]/=u),i(o)}};class Pm extends B.Component{componentDidMount(){const{visualElement:e,layoutGroup:t,switchLayoutGroup:r,layoutId:n}=this.props,{projection:o}=e;var i;i=zm,Object.assign(Rc,i),o&&(t.group&&t.group.add(o),r&&r.register&&n&&r.register(o),o.root.didUpdate(),o.addEventListener("animationComplete",(()=>{this.safeToRemove()})),o.setOptions({...o.options,onExitComplete:()=>this.safeToRemove()})),Sm.hasEverUpdated=!0}getSnapshotBeforeUpdate(e){const{layoutDependency:t,visualElement:r,drag:n,isPresent:o}=this.props,i=r.projection;return i?(i.isPresent=o,n||e.layoutDependency!==t||void 0===t?i.willUpdate():this.safeToRemove(),e.isPresent!==o&&(o?i.promote():i.relegate()||jd.postRender((()=>{const e=i.getStack();e&&e.members.length||this.safeToRemove()}))),null):null}componentDidUpdate(){const{projection:e}=this.props.visualElement;e&&(e.root.didUpdate(),dc.postRender((()=>{!e.currentAnimation&&e.isLead()&&this.safeToRemove()})))}componentWillUnmount(){const{visualElement:e,layoutGroup:t,switchLayoutGroup:r}=this.props,{projection:n}=e;n&&(n.scheduleCheckAfterUnmount(),t&&t.group&&t.group.remove(n),r&&r.deregister&&r.deregister(n))}safeToRemove(){const{safeToRemove:e}=this.props;e&&e()}render(){return null}}function Tm(e){const[t,r]=function(){const e=(0,B.useContext)(ec);if(null===e)return[!0,null];const{isPresent:t,onExitComplete:r,register:n}=e,o=(0,B.useId)();return(0,B.useEffect)((()=>n(o)),[]),!t&&r?[!1,()=>r&&r(o)]:[!0]}(),n=(0,B.useContext)(Sc);return B.createElement(Pm,{...e,layoutGroup:n,switchLayoutGroup:(0,B.useContext)(_c),isPresent:t,safeToRemove:r})}const zm={borderRadius:{...Cm,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:Cm,borderTopRightRadius:Cm,borderBottomLeftRadius:Cm,borderBottomRightRadius:Cm,boxShadow:Em},Am=["TopLeft","TopRight","BottomLeft","BottomRight"],Rm=Am.length,Mm=e=>"string"==typeof e?parseFloat(e):e,Fm=e=>"number"==typeof e||rd.test(e);function jm(e,t){return void 0!==e[t]?e[t]:e.borderRadius}const Bm=Dm(0,.5,jp),Lm=Dm(.5,.95,Fd);function Dm(e,t,r){return n=>n<e?0:n>t?1:r(Np(e,t,n))}function $m(e,t){e.min=t.min,e.max=t.max}function Om(e,t){$m(e.x,t.x),$m(e.y,t.y)}function Im(e,t,r,n,o){return e=sm(e-=t,1/r,n),void 0!==o&&(e=sm(e,1/o,n)),e}function Nm(e,t,[r,n,o],i,a){!function(e,t=0,r=1,n=.5,o,i=e,a=e){if(td.test(t)&&(t=parseFloat(t),t=Vp(a.min,a.max,t/100)-a.min),"number"!=typeof t)return;let s=Vp(i.min,i.max,n);e===i&&(s-=t),e.min=Im(e.min,t,r,s,o),e.max=Im(e.max,t,r,s,o)}(e,t[r],t[n],t[o],t.scale,i,a)}const Vm=["x","scaleX","originX"],Wm=["y","scaleY","originY"];function Um(e,t,r,n){Nm(e.x,t,Vm,r?r.x:void 0,n?n.x:void 0),Nm(e.y,t,Wm,r?r.y:void 0,n?n.y:void 0)}function Hm(e){return 0===e.translate&&1===e.scale}function qm(e){return Hm(e.x)&&Hm(e.y)}function Ym(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 Xm(e){return Vh(e.x)/Vh(e.y)}class Km{constructor(){this.members=[]}add(e){gh(this.members,e),e.scheduleRender()}remove(e){if(vh(this.members,e),e===this.prevLead&&(this.prevLead=void 0),e===this.lead){const e=this.members[this.members.length-1];e&&this.promote(e)}}relegate(e){const t=this.members.findIndex((t=>e===t));if(0===t)return!1;let r;for(let e=t;e>=0;e--){const t=this.members[e];if(!1!==t.isPresent){r=t;break}}return!!r&&(this.promote(r),!0)}promote(e,t){const r=this.lead;if(e!==r&&(this.prevLead=r,this.lead=e,e.show(),r)){r.instance&&r.scheduleRender(),e.scheduleRender(),e.resumeFrom=r,t&&(e.resumeFrom.preserveOpacity=!0),r.snapshot&&(e.snapshot=r.snapshot,e.snapshot.latestValues=r.animationValues||r.latestValues),e.root&&e.root.isUpdating&&(e.isLayoutDirty=!0);const{crossfade:n}=e.options;!1===n&&r.hide()}}exitAnimationComplete(){this.members.forEach((e=>{const{options:t,resumingFrom:r}=e;t.onExitComplete&&t.onExitComplete(),r&&r.options.onExitComplete&&r.options.onExitComplete()}))}scheduleRender(){this.members.forEach((e=>{e.instance&&e.scheduleRender(!1)}))}removeLeadSnapshot(){this.lead&&this.lead.snapshot&&(this.lead.snapshot=void 0)}}function Gm(e,t,r){let n="";const o=e.x.translate/t.x,i=e.y.translate/t.y;if((o||i)&&(n=`translate3d(${o}px, ${i}px, 0) `),1===t.x&&1===t.y||(n+=`scale(${1/t.x}, ${1/t.y}) `),r){const{rotate:e,rotateX:t,rotateY:o,skewX:i,skewY:a}=r;e&&(n+=`rotate(${e}deg) `),t&&(n+=`rotateX(${t}deg) `),o&&(n+=`rotateY(${o}deg) `),i&&(n+=`skewX(${i}deg) `),a&&(n+=`skewY(${a}deg) `)}const a=e.x.scale*t.x,s=e.y.scale*t.y;return 1===a&&1===s||(n+=`scale(${a}, ${s})`),n||"none"}const Qm=(e,t)=>e.depth-t.depth;class Zm{constructor(){this.children=[],this.isDirty=!1}add(e){gh(this.children,e),this.isDirty=!0}remove(e){vh(this.children,e),this.isDirty=!0}forEach(e){this.isDirty&&this.children.sort(Qm),this.isDirty=!1,this.children.forEach(e)}}const Jm=["","X","Y","Z"],eg={visibility:"hidden"};let tg=0;const rg={type:"projectionFrame",totalNodes:0,resolvedTargetDeltas:0,recalculatedProjection:0};function ng(e,t,r,n){const{latestValues:o}=t;o[e]&&(r[e]=o[e],t.setStaticValue(e,0),n&&(n[e]=0))}function og({attachResizeListener:e,defaultParent:t,measureScroll:r,checkIsScrollRoot:n,resetTransform:o}){return class{constructor(e={},r=(null==t?void 0:t())){this.id=tg++,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,rg.totalNodes=rg.resolvedTargetDeltas=rg.recalculatedProjection=0,this.nodes.forEach(sg),this.nodes.forEach(hg),this.nodes.forEach(mg),this.nodes.forEach(lg),e=rg,window.MotionDebug&&window.MotionDebug.record(e)},this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=e,this.root=r?r.root||r:this,this.path=r?[...r.path,r]:[],this.parent=r,this.depth=r?r.depth+1:0;for(let e=0;e<this.path.length;e++)this.path[e].shouldResetTransform=!0;this.root===this&&(this.nodes=new Zm)}addEventListener(e,t){return this.eventHandlers.has(e)||this.eventHandlers.set(e,new yh),this.eventHandlers.get(e).add(t)}notifyListeners(e,...t){const r=this.eventHandlers.get(e);r&&r.notify(...t)}hasListeners(e){return this.eventHandlers.has(e)}mount(t,r=this.root.hasTreeAnimated){if(this.instance)return;var n;this.isSVG=(n=t)instanceof SVGElement&&"svg"!==n.tagName,this.instance=t;const{layoutId:o,layout:i,visualElement:a}=this.options;if(a&&!a.current&&a.mount(t),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),r&&(i||o)&&(this.isLayoutDirty=!0),e){let r;const n=()=>this.root.updateBlockedByResize=!1;e(t,(()=>{this.root.updateBlockedByResize=!0,r&&r(),r=function(e){const t=wf.now(),r=({timestamp:n})=>{const o=n-t;o>=250&&(Bd(r),e(o-250))};return jd.read(r,!0),()=>Bd(r)}(n),Sm.hasAnimatedSinceResize&&(Sm.hasAnimatedSinceResize=!1,this.nodes.forEach(pg))}))}o&&this.root.registerSharedNode(o,this),!1!==this.options.animate&&a&&(o||i)&&this.addEventListener("didUpdate",(({delta:e,hasLayoutChanged:t,hasRelativeTargetChanged:r,layout:n})=>{if(this.isTreeAnimationBlocked())return this.target=void 0,void(this.relativeTarget=void 0);const o=this.options.transition||a.getDefaultTransition()||wg,{onLayoutAnimationStart:i,onLayoutAnimationComplete:s}=a.getProps(),l=!this.targetLayout||!Ym(this.targetLayout,n)||r,u=!t&&r;if(this.options.layoutRoot||this.resumeFrom&&this.resumeFrom.instance||u||t&&(l||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0),this.setAnimationOrigin(e,u);const t={...gf(o,"layout"),onPlay:i,onComplete:s};(a.shouldReduceMotion||this.options.layoutRoot)&&(t.delay=0,t.type=!1),this.startAnimation(t)}else t||pg(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=n}))}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);const e=this.getStack();e&&e.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,Bd(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(gg),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:r}=this.options;if(void 0===t&&!r)return;const n=this.getTransformTemplate();this.prevTransformTemplateValue=n?n(this.latestValues,""):void 0,this.updateSnapshot(),e&&this.notifyListeners("willUpdate")}update(){if(this.updateScheduled=!1,this.isUpdateBlocked())return this.unblockUpdate(),this.clearAllSnapshots(),void this.nodes.forEach(cg);this.isUpdating||this.nodes.forEach(dg),this.isUpdating=!1,window.HandoffCancelAllAnimations&&window.HandoffCancelAllAnimations(),this.nodes.forEach(fg),this.nodes.forEach(ig),this.nodes.forEach(ag),this.clearAllSnapshots();const e=wf.now();Ld.delta=Uc(0,1e3/60,e-Ld.timestamp),Ld.timestamp=e,Ld.isProcessing=!0,Dd.update.process(Ld),Dd.preRender.process(Ld),Dd.render.process(Ld),Ld.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,dc.read((()=>this.update())))}clearAllSnapshots(){this.nodes.forEach(ug),this.sharedNodes.forEach(vg)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,jd.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){jd.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:n(this.instance),offset:r(this.instance)})}resetTransform(){if(!o)return;const e=this.isLayoutDirty||this.shouldResetTransform,t=this.projectionDelta&&!qm(this.projectionDelta),r=this.getTransformTemplate(),n=r?r(this.latestValues,""):void 0,i=n!==this.prevTransformTemplateValue;e&&(t||om(this.latestValues)||i)&&(o(this.instance,n),this.shouldResetTransform=!1,this.scheduleRender())}measure(e=!0){const t=this.measurePageBox();let r=this.removeElementScroll(t);var n;return e&&(r=this.removeTransform(r)),_g((n=r).x),_g(n.y),{animationId:this.root.animationId,measuredBox:t,layoutBox:r,latestValues:{},source:this.id}}measurePageBox(){const{visualElement:e}=this.options;if(!e)return{x:{min:0,max:0},y:{min:0,max:0}};const t=e.measureViewportBox(),{scroll:r}=this.root;return r&&(fm(t.x,r.offset.x),fm(t.y,r.offset.y)),t}removeElementScroll(e){const t={x:{min:0,max:0},y:{min:0,max:0}};Om(t,e);for(let r=0;r<this.path.length;r++){const n=this.path[r],{scroll:o,options:i}=n;if(n!==this.root&&o&&i.layoutScroll){if(o.isRoot){Om(t,e);const{scroll:r}=this.root;r&&(fm(t.x,-r.offset.x),fm(t.y,-r.offset.y))}fm(t.x,o.offset.x),fm(t.y,o.offset.y)}}return t}applyTransform(e,t=!1){const r={x:{min:0,max:0},y:{min:0,max:0}};Om(r,e);for(let e=0;e<this.path.length;e++){const n=this.path[e];!t&&n.options.layoutScroll&&n.scroll&&n!==n.root&&gm(r,{x:-n.scroll.offset.x,y:-n.scroll.offset.y}),om(n.latestValues)&&gm(r,n.latestValues)}return om(this.latestValues)&&gm(r,this.latestValues),r}removeTransform(e){const t={x:{min:0,max:0},y:{min:0,max:0}};Om(t,e);for(let e=0;e<this.path.length;e++){const r=this.path[e];if(!r.instance)continue;if(!om(r.latestValues))continue;nm(r.latestValues)&&r.updateSnapshot();const n={x:{min:0,max:0},y:{min:0,max:0}};Om(n,r.measurePageBox()),Um(t,r.latestValues,r.snapshot?r.snapshot.layoutBox:void 0,n)}return om(this.latestValues)&&Um(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!==Ld.timestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(e=!1){var t;const r=this.getLead();this.isProjectionDirty||(this.isProjectionDirty=r.isProjectionDirty),this.isTransformDirty||(this.isTransformDirty=r.isTransformDirty),this.isSharedProjectionDirty||(this.isSharedProjectionDirty=r.isSharedProjectionDirty);const n=Boolean(this.resumingFrom)||this!==r;if(!(e||n&&this.isSharedProjectionDirty||this.isProjectionDirty||(null===(t=this.parent)||void 0===t?void 0:t.isProjectionDirty)||this.attemptToResolveRelativeTarget))return;const{layout:o,layoutId:i}=this.options;if(this.layout&&(o||i)){if(this.resolvedRelativeTargetAt=Ld.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}},Xh(this.relativeTargetOrigin,this.layout.layoutBox,e.layout.layoutBox),Om(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}if(this.relativeTarget||this.targetDelta){var a,s,l;if(this.target||(this.target={x:{min:0,max:0},y:{min:0,max:0}},this.targetWithTransforms={x:{min:0,max:0},y:{min:0,max:0}}),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target?(this.forceRelativeParentToResolveTarget(),a=this.target,s=this.relativeTarget,l=this.relativeParent.target,qh(a.x,s.x,l.x),qh(a.y,s.y,l.y)):this.targetDelta?(Boolean(this.resumingFrom)?this.target=this.applyTransform(this.layout.layoutBox):Om(this.target,this.layout.layoutBox),cm(this.target,this.targetDelta)):Om(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}},Xh(this.relativeTargetOrigin,this.target,e.target),Om(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}rg.resolvedTargetDeltas++}}}getClosestProjectingParent(){if(this.parent&&!nm(this.parent.latestValues)&&!im(this.parent.latestValues))return this.parent.isProjecting()?this.parent:this.parent.getClosestProjectingParent()}isProjecting(){return Boolean((this.relativeTarget||this.targetDelta||this.options.layoutRoot)&&this.layout)}calcProjection(){var e;const t=this.getLead(),r=Boolean(this.resumingFrom)||this!==t;let n=!0;if((this.isProjectionDirty||(null===(e=this.parent)||void 0===e?void 0:e.isProjectionDirty))&&(n=!1),r&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(n=!1),this.resolvedRelativeTargetAt===Ld.timestamp&&(n=!1),n)return;const{layout:o,layoutId:i}=this.options;if(this.isTreeAnimating=Boolean(this.parent&&this.parent.isTreeAnimating||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),!this.layout||!o&&!i)return;Om(this.layoutCorrected,this.layout.layoutBox);const a=this.treeScale.x,s=this.treeScale.y;!function(e,t,r,n=!1){const o=r.length;if(!o)return;let i,a;t.x=t.y=1;for(let s=0;s<o;s++){i=r[s],a=i.projectionDelta;const o=i.instance;o&&o.style&&"contents"===o.style.display||(n&&i.options.layoutScroll&&i.scroll&&i!==i.root&&gm(e,{x:-i.scroll.offset.x,y:-i.scroll.offset.y}),a&&(t.x*=a.x.scale,t.y*=a.y.scale,cm(e,a)),n&&om(i.latestValues)&&gm(e,i.latestValues))}t.x=dm(t.x),t.y=dm(t.y)}(this.layoutCorrected,this.treeScale,this.path,r),!t.layout||t.target||1===this.treeScale.x&&1===this.treeScale.y||(t.target=t.layout.layoutBox,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 u=this.projectionTransform;Hh(this.projectionDelta,this.layoutCorrected,l,this.latestValues),this.projectionTransform=Gm(this.projectionDelta,this.treeScale),this.projectionTransform===u&&this.treeScale.x===a&&this.treeScale.y===s||(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",l)),rg.recalculatedProjection++}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(e=!0){if(this.options.scheduleRender&&this.options.scheduleRender(),e){const e=this.getStack();e&&e.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}setAnimationOrigin(e,t=!1){const r=this.snapshot,n=r?r.latestValues:{},o={...this.latestValues},i={x:{translate:0,scale:1,origin:0,originPoint:0},y:{translate:0,scale:1,origin:0,originPoint:0}};this.relativeParent&&this.relativeParent.options.layoutRoot||(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!t;const a={x:{min:0,max:0},y:{min:0,max:0}},s=(r?r.source:void 0)!==(this.layout?this.layout.source:void 0),l=this.getStack(),u=!l||l.members.length<=1,c=Boolean(s&&!u&&!0===this.options.crossfade&&!this.path.some(xg));let d;this.animationProgress=0,this.mixTargetDelta=t=>{const r=t/1e3;var l,f,p,h,m,g;yg(i.x,e.x,r),yg(i.y,e.y,r),this.setTargetDelta(i),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&(Xh(a,this.layout.layoutBox,this.relativeParent.layout.layoutBox),p=this.relativeTarget,h=this.relativeTargetOrigin,m=a,g=r,bg(p.x,h.x,m.x,g),bg(p.y,h.y,m.y,g),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}}),Om(d,this.relativeTarget)),s&&(this.animationValues=o,function(e,t,r,n,o,i){o?(e.opacity=Vp(0,void 0!==r.opacity?r.opacity:1,Bm(n)),e.opacityExit=Vp(void 0!==t.opacity?t.opacity:1,0,Lm(n))):i&&(e.opacity=Vp(void 0!==t.opacity?t.opacity:1,void 0!==r.opacity?r.opacity:1,n));for(let o=0;o<Rm;o++){const i=`border${Am[o]}Radius`;let a=jm(t,i),s=jm(r,i);void 0===a&&void 0===s||(a||(a=0),s||(s=0),0===a||0===s||Fm(a)===Fm(s)?(e[i]=Math.max(Vp(Mm(a),Mm(s),n),0),(td.test(s)||td.test(a))&&(e[i]+="%")):e[i]=s)}(t.rotate||r.rotate)&&(e.rotate=Vp(t.rotate||0,r.rotate||0,n))}(o,n,this.latestValues,r,c,u)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=r},this.mixTargetDelta(this.options.layoutRoot?1e3:0)}startAnimation(e){this.notifyListeners("animationStart"),this.currentAnimation&&this.currentAnimation.stop(),this.resumingFrom&&this.resumingFrom.currentAnimation&&this.resumingFrom.currentAnimation.stop(),this.pendingAnimation&&(Bd(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=jd.update((()=>{Sm.hasAnimatedSinceResize=!0,this.currentAnimation=function(e,t,r){const n=Bc(0)?0:wh(0);return n.start(hh("",n,1e3,r)),n.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:r,layout:n,latestValues:o}=e;if(t&&r&&n){if(this!==e&&this.layout&&n&&Cg(this.options.animationType,this.layout.layoutBox,n.layoutBox)){r=this.target||{x:{min:0,max:0},y:{min:0,max:0}};const t=Vh(this.layout.layoutBox.x);r.x.min=e.target.x.min,r.x.max=r.x.min+t;const n=Vh(this.layout.layoutBox.y);r.y.min=e.target.y.min,r.y.max=r.y.min+n}Om(t,r),gm(t,o),Hh(this.projectionDeltaWithTransform,this.layoutCorrected,t,o)}}registerSharedNode(e,t){this.sharedNodes.has(e)||this.sharedNodes.set(e,new Km),this.sharedNodes.get(e).add(t);const r=t.options.initialPromotionConfig;t.promote({transition:r?r.transition:void 0,preserveFollowOpacity:r&&r.shouldPreserveFollowOpacity?r.shouldPreserveFollowOpacity(t):void 0})}isLead(){const e=this.getStack();return!e||e.lead===this}getLead(){var e;const{layoutId:t}=this.options;return t&&(null===(e=this.getStack())||void 0===e?void 0:e.lead)||this}getPrevLead(){var e;const{layoutId:t}=this.options;return t?null===(e=this.getStack())||void 0===e?void 0:e.prevLead:void 0}getStack(){const{layoutId:e}=this.options;if(e)return this.root.sharedNodes.get(e)}promote({needsReset:e,transition:t,preserveFollowOpacity:r}={}){const n=this.getStack();n&&n.promote(this,r),e&&(this.projectionDelta=void 0,this.needsReset=!0),t&&this.setOptions({transition:t})}relegate(){const e=this.getStack();return!!e&&e.relegate(this)}resetSkewAndRotation(){const{visualElement:e}=this.options;if(!e)return;let t=!1;const{latestValues:r}=e;if((r.rotate||r.rotateX||r.rotateY||r.rotateZ||r.skewX||r.skewY)&&(t=!0),!t)return;const n={};for(let t=0;t<Jm.length;t++)ng(`rotate${Jm[t]}`,e,n,this.animationValues),ng(`skew${Jm[t]}`,e,n,this.animationValues);e.render();for(const t in n)e.setStaticValue(t,n[t]),this.animationValues&&(this.animationValues[t]=n[t]);e.scheduleRender()}getProjectionStyles(e){var t,r;if(!this.instance||this.isSVG)return;if(!this.isVisible)return eg;const n={visibility:""},o=this.getTransformTemplate();if(this.needsReset)return this.needsReset=!1,n.opacity="",n.pointerEvents=Ad(null==e?void 0:e.pointerEvents)||"",n.transform=o?o(this.latestValues,""):"none",n;const i=this.getLead();if(!this.projectionDelta||!this.layout||!i.target){const t={};return this.options.layoutId&&(t.opacity=void 0!==this.latestValues.opacity?this.latestValues.opacity:1,t.pointerEvents=Ad(null==e?void 0:e.pointerEvents)||""),this.hasProjected&&!om(this.latestValues)&&(t.transform=o?o({},""):"none",this.hasProjected=!1),t}const a=i.animationValues||i.latestValues;this.applyTransformsToTarget(),n.transform=Gm(this.projectionDeltaWithTransform,this.treeScale,a),o&&(n.transform=o(a,n.transform));const{x:s,y:l}=this.projectionDelta;n.transformOrigin=`${100*s.origin}% ${100*l.origin}% 0`,i.animationValues?n.opacity=i===this?null!==(r=null!==(t=a.opacity)&&void 0!==t?t:this.latestValues.opacity)&&void 0!==r?r:1:this.preserveOpacity?this.latestValues.opacity:a.opacityExit:n.opacity=i===this?void 0!==a.opacity?a.opacity:"":void 0!==a.opacityExit?a.opacityExit:0;for(const e in Rc){if(void 0===a[e])continue;const{correct:t,applyTo:r}=Rc[e],o="none"===n.transform?a[e]:t(a[e],i);if(r){const e=r.length;for(let t=0;t<e;t++)n[r[t]]=o}else n[e]=o}return this.options.layoutId&&(n.pointerEvents=i===this?Ad(null==e?void 0:e.pointerEvents)||"":"none"),n}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(cg),this.root.sharedNodes.clear()}}}function ig(e){e.updateLayout()}function ag(e){var t;const r=(null===(t=e.resumeFrom)||void 0===t?void 0:t.snapshot)||e.snapshot;if(e.isLead()&&e.layout&&r&&e.hasListeners("didUpdate")){const{layoutBox:t,measuredBox:n}=e.layout,{animationType:o}=e.options,i=r.source!==e.layout.source;"size"===o?em((e=>{const n=i?r.measuredBox[e]:r.layoutBox[e],o=Vh(n);n.min=t[e].min,n.max=n.min+o})):Cg(o,r.layoutBox,t)&&em((n=>{const o=i?r.measuredBox[n]:r.layoutBox[n],a=Vh(t[n]);o.max=o.min+a,e.relativeTarget&&!e.currentAnimation&&(e.isProjectionDirty=!0,e.relativeTarget[n].max=e.relativeTarget[n].min+a)}));const a={x:{translate:0,scale:1,origin:0,originPoint:0},y:{translate:0,scale:1,origin:0,originPoint:0}};Hh(a,t,r.layoutBox);const s={x:{translate:0,scale:1,origin:0,originPoint:0},y:{translate:0,scale:1,origin:0,originPoint:0}};i?Hh(s,e.applyTransform(n,!0),r.measuredBox):Hh(s,t,r.layoutBox);const l=!qm(a);let u=!1;if(!e.resumeFrom){const n=e.getClosestProjectingParent();if(n&&!n.resumeFrom){const{snapshot:o,layout:i}=n;if(o&&i){const a={x:{min:0,max:0},y:{min:0,max:0}};Xh(a,r.layoutBox,o.layoutBox);const s={x:{min:0,max:0},y:{min:0,max:0}};Xh(s,t,i.layoutBox),Ym(a,s)||(u=!0),n.options.layoutRoot&&(e.relativeTarget=s,e.relativeTargetOrigin=a,e.relativeParent=n)}}}e.notifyListeners("didUpdate",{layout:t,snapshot:r,delta:s,layoutDelta:a,hasLayoutChanged:l,hasRelativeTargetChanged:u})}else if(e.isLead()){const{onExitComplete:t}=e.options;t&&t()}e.options.transition=void 0}function sg(e){rg.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 lg(e){e.isProjectionDirty=e.isSharedProjectionDirty=e.isTransformDirty=!1}function ug(e){e.clearSnapshot()}function cg(e){e.clearMeasurements()}function dg(e){e.isLayoutDirty=!1}function fg(e){const{visualElement:t}=e.options;t&&t.getProps().onBeforeLayoutMeasure&&t.notify("BeforeLayoutMeasure"),e.resetTransform()}function pg(e){e.finishAnimation(),e.targetDelta=e.relativeTarget=e.target=void 0,e.isProjectionDirty=!0}function hg(e){e.resolveTargetDelta()}function mg(e){e.calcProjection()}function gg(e){e.resetSkewAndRotation()}function vg(e){e.removeLeadSnapshot()}function yg(e,t,r){e.translate=Vp(t.translate,0,r),e.scale=Vp(t.scale,1,r),e.origin=t.origin,e.originPoint=t.originPoint}function bg(e,t,r,n){e.min=Vp(t.min,r.min,n),e.max=Vp(t.max,r.max,n)}function xg(e){return e.animationValues&&void 0!==e.animationValues.opacityExit}const wg={duration:.45,ease:[.4,0,.1,1]},kg=e=>"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(e),Sg=kg("applewebkit/")&&!kg("chrome/")?Math.round:Fd;function _g(e){e.min=Sg(e.min),e.max=Sg(e.max)}function Cg(e,t,r){return"position"===e||"preserve-aspect"===e&&!Wh(Xm(t),Xm(r),.2)}const Eg=og({attachResizeListener:(e,t)=>Id(e,"resize",t),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}),checkIsScrollRoot:()=>!0}),Pg={current:void 0},Tg=og({measureScroll:e=>({x:e.scrollLeft,y:e.scrollTop}),defaultParent:()=>{if(!Pg.current){const e=new Eg({});e.mount(window),e.setOptions({layoutScroll:!0}),Pg.current=e}return Pg.current},resetTransform:(e,t)=>{e.style.transform=void 0!==t?t:"none"},checkIsScrollRoot:e=>Boolean("fixed"===window.getComputedStyle(e).position)}),zg={pan:{Feature:class extends Qd{constructor(){super(...arguments),this.removePointerDownListener=Fd}onPointerDown(e){this.session=new Bh(e,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:ym(this.node)})}createPanHandlers(){const{onPanSessionStart:e,onPanStart:t,onPan:r,onPanEnd:n}=this.node.getProps();return{onSessionStart:km(e),onStart:km(t),onMove:r,onEnd:(e,t)=>{delete this.session,n&&n(e,t)}}}mount(){this.removePointerDownListener=Wd(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 Qd{constructor(e){super(e),this.removeGroupControls=Fd,this.removeListeners=Fd,this.controls=new xm(e)}mount(){const{dragControls:e}=this.node.getProps();e&&(this.removeGroupControls=e.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||Fd}unmount(){this.removeGroupControls(),this.removeListeners()}},ProjectionNode:Tg,MeasureLayout:Tm}},Ag={current:null},Rg={current:!1},Mg=new WeakMap,Fg=[...Df,Qf,ip],jg=Object.keys(kc),Bg=jg.length,Lg=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"],Dg=vc.length;class $g{constructor({parent:e,props:t,presenceContext:r,reducedMotionConfig:n,blockInitialAnimation:o,visualState:i},a={}){this.resolveKeyframes=(e,t,r,n)=>new this.KeyframeResolver(e,t,r,n,this),this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.values=new Map,this.KeyframeResolver=Uf,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=()=>jd.render(this.render,!1,!0);const{latestValues:s,renderState:l}=i;this.latestValues=s,this.baseTarget={...s},this.initialValues=t.initial?{...s}:{},this.renderState=l,this.parent=e,this.props=t,this.presenceContext=r,this.depth=e?e.depth+1:0,this.reducedMotionConfig=n,this.options=a,this.blockInitialAnimation=Boolean(o),this.isControllingVariants=yc(t),this.isVariantNode=bc(t),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=Boolean(e&&e.current);const{willChange:u,...c}=this.scrapeMotionValuesFromProps(t,{});for(const e in c){const t=c[e];void 0!==s[e]&&Bc(t)&&(t.set(s[e],!1),mh(u)&&u.add(e))}}scrapeMotionValuesFromProps(e,t){return{}}mount(e){this.current=e,Mg.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))),Rg.current||function(){if(Rg.current=!0,nc)if(window.matchMedia){const e=window.matchMedia("(prefers-reduced-motion)"),t=()=>Ag.current=e.matches;e.addListener(t),t()}else Ag.current=!1}(),this.shouldReduceMotion="never"!==this.reducedMotionConfig&&("always"===this.reducedMotionConfig||Ag.current),this.parent&&this.parent.children.add(this),this.update(this.props,this.presenceContext)}unmount(){Mg.delete(this.current),this.projection&&this.projection.unmount(),Bd(this.notifyUpdate),Bd(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 r=Fc.has(e),n=t.on("change",(t=>{this.latestValues[e]=t,this.props.onUpdate&&jd.preRender(this.notifyUpdate),r&&this.projection&&(this.projection.isTransformDirty=!0)})),o=t.on("renderRequest",this.scheduleRender);this.valueSubscriptions.set(e,(()=>{n(),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},r,n,o){let i,a;for(let e=0;e<Bg;e++){const r=jg[e],{isEnabled:n,Feature:o,ProjectionNode:s,MeasureLayout:l}=kc[r];s&&(i=s),n(t)&&(!this.features[r]&&o&&(this.features[r]=new o(this)),l&&(a=l))}if(("html"===this.type||"svg"===this.type)&&!this.projection&&i){this.projection=new i(this.latestValues,this.parent&&this.parent.projection);const{layoutId:e,layout:r,drag:n,dragConstraints:a,layoutScroll:s,layoutRoot:l}=t;this.projection.setOptions({layoutId:e,layout:r,alwaysMeasureLayout:Boolean(n)||a&&pc(a),visualElement:this,scheduleRender:()=>this.scheduleRender(),animationType:"string"==typeof r?r:"both",initialPromotionConfig:o,layoutScroll:s,layoutRoot:l})}return a}updateFeatures(){for(const e in this.features){const t=this.features[e];t.isMounted?t.update():(t.mount(),t.isMounted=!0)}}triggerBuild(){this.build(this.renderState,this.latestValues,this.options,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):{x:{min:0,max:0},y:{min:0,max:0}}}getStaticValue(e){return this.latestValues[e]}setStaticValue(e,t){this.latestValues[e]=t}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<Lg.length;t++){const r=Lg[t];this.propEventSubscriptions[r]&&(this.propEventSubscriptions[r](),delete this.propEventSubscriptions[r]);const n=e["on"+r];n&&(this.propEventSubscriptions[r]=this.on(r,n))}this.prevMotionValues=function(e,t,r){const{willChange:n}=t;for(const o in t){const i=t[o],a=r[o];if(Bc(i))e.addValue(o,i),mh(n)&&n.add(o);else if(Bc(a))e.addValue(o,wh(i,{owner:e})),mh(n)&&n.remove(o);else if(a!==i)if(e.hasValue(o)){const t=e.getValue(o);!t.hasAnimated&&t.set(i)}else{const t=e.getStaticValue(o);e.addValue(o,wh(void 0!==t?t:i,{owner:e}))}}for(const n in r)void 0===t[n]&&e.removeValue(n);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<Dg;e++){const r=vc[e],n=this.props[r];(hc(n)||!1===n)&&(t[r]=n)}return t}addVariantChild(e){const t=this.getClosestVariantNode();if(t)return t.variantChildren&&t.variantChildren.add(e),()=>t.variantChildren.delete(e)}addValue(e,t){t!==this.values.get(e)&&(this.removeValue(e),this.bindToMotionValue(e,t)),this.values.set(e,t),this.latestValues[e]=t.get()}removeValue(e){this.values.delete(e);const t=this.valueSubscriptions.get(e);t&&(t(),this.valueSubscriptions.delete(e)),delete this.latestValues[e],this.removeValueFromRenderState(e,this.renderState)}hasValue(e){return this.values.has(e)}getValue(e,t){if(this.props.values&&this.props.values[e])return this.props.values[e];let r=this.values.get(e);return void 0===r&&void 0!==t&&(r=wh(null===t?void 0:t,{owner:this}),this.addValue(e,r)),r}readValue(e,t){var r;let n=void 0===this.latestValues[e]&&this.current?null!==(r=this.getBaseTargetFromProps(this.props,e))&&void 0!==r?r:this.readValueFromInstance(this.current,e,this.options):this.latestValues[e];var o;return null!=n&&("string"==typeof n&&(Cf(n)||kf(n))?n=parseFloat(n):(o=n,!Fg.find(Lf(o))&&ip.test(t)&&(n=fp(e,t))),this.setBaseTarget(e,Bc(n)?n.get():n)),Bc(n)?n.get():n}setBaseTarget(e,t){this.baseTarget[e]=t}getBaseTarget(e){var t,r;const{initial:n}=this.props,o="string"==typeof n||"object"==typeof n?null===(r=Pd(this.props,n,null===(t=this.presenceContext)||void 0===t?void 0:t.custom))||void 0===r?void 0:r[e]:void 0;if(n&&void 0!==o)return o;const i=this.getBaseTargetFromProps(this.props,e);return void 0===i||Bc(i)?void 0!==this.initialValues[e]&&void 0===o?void 0:this.baseTarget[e]:i}on(e,t){return this.events[e]||(this.events[e]=new yh),this.events[e].add(t)}notify(e,...t){this.events[e]&&this.events[e].notify(...t)}}class Og extends $g{constructor(){super(...arguments),this.KeyframeResolver=pp}sortInstanceNodePosition(e,t){return 2&e.compareDocumentPosition(t)?1:-1}getBaseTargetFromProps(e,t){return e.style?e.style[t]:void 0}removeValueFromRenderState(e,{vars:t,style:r}){delete t[e],delete r[e]}}class Ig extends Og{constructor(){super(...arguments),this.type="html"}readValueFromInstance(e,t){if(Fc.has(t)){const e=dp(t);return e&&e.default||0}{const n=(r=e,window.getComputedStyle(r)),o=(Oc(t)?n.getPropertyValue(t):n[t])||0;return"string"==typeof o?o.trim():o}var r}measureInstanceViewportBox(e,{transformPagePoint:t}){return vm(e,t)}build(e,t,r,n){ld(e,t,r,n.transformTemplate)}scrapeMotionValuesFromProps(e,t){return Cd(e,t)}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);const{children:e}=this.props;Bc(e)&&(this.childSubscription=e.on("change",(e=>{this.current&&(this.current.textContent=`${e}`)})))}renderInstance(e,t,r,n){kd(e,t,r,n)}}class Ng extends Og{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1}getBaseTargetFromProps(e,t){return e[t]}readValueFromInstance(e,t){if(Fc.has(t)){const e=dp(t);return e&&e.default||0}return t=Sd.has(t)?t:ac(t),e.getAttribute(t)}measureInstanceViewportBox(){return{x:{min:0,max:0},y:{min:0,max:0}}}scrapeMotionValuesFromProps(e,t){return Ed(e,t)}build(e,t,r,n){yd(e,t,r,this.isSVGTag,n.transformTemplate)}renderInstance(e,t,r,n){_d(e,t,0,n)}mount(e){this.isSVGTag=bd(e.tagName),super.mount(e)}}const Vg=(e,t)=>Ac(e)?new Ng(t,{enableHardwareAcceleration:!1}):new Ig(t,{enableHardwareAcceleration:!0}),Wg={...Fh,...sf,...zg,layout:{ProjectionNode:Tg,MeasureLayout:Tm}},Ug=Tc(((e,t)=>function(e,{forwardMotionProps:t=!1},r,n){return{...Ac(e)?$d:Od,preloadedFeatures:r,useRender:wd(t),createVisualElement:n,Component:e}}(e,t,Wg,Vg)));var Hg={initial:e=>{const{position:t}=e,r=["top","bottom"].includes(t)?"y":"x";let n=["top-right","bottom-right"].includes(t)?1:-1;return"bottom"===t&&(n=1),{opacity:0,[r]:24*n}},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]}}},qg=(0,B.memo)((e=>{const{id:t,message:r,onCloseComplete:n,onRequestRemove:o,requestClose:i=!1,position:a="bottom",duration:s=5e3,containerStyle:l,motionVariants:u=Hg,toastSpacing:c="0.5rem"}=e,[d,f]=(0,B.useState)(s),p=null===(h=(0,B.useContext)(ec))||h.isPresent;var h;Ju((()=>{p||null==n||n()}),[p]),Ju((()=>{f(s)}),[s]);const m=()=>{p&&o()};(0,B.useEffect)((()=>{p&&i&&o()}),[p,i,o]),function(e,t){const r=function(e,t=[]){const r=(0,B.useRef)(e);return(0,B.useEffect)((()=>{r.current=e})),(0,B.useCallback)(((...e)=>{var t;return null==(t=r.current)?void 0:t.call(r,...e)}),t)}(e);(0,B.useEffect)((()=>{if(null==t)return;let e=null;return e=window.setTimeout((()=>{r()}),t),()=>{e&&window.clearTimeout(e)}}),[t,r])}(m,d);const g=(0,B.useMemo)((()=>({pointerEvents:"auto",maxWidth:560,minWidth:300,margin:c,...l})),[l,c]),v=(0,B.useMemo)((()=>function(e){let t="center";return e.includes("right")&&(t="flex-end"),e.includes("left")&&(t="flex-start"),{display:"flex",flexDirection:"column",alignItems:t}}(a)),[a]);return(0,yn.jsx)(Ug.div,{layout:!0,className:"chakra-toast",variants:u,initial:"initial",animate:"animate",exit:"exit",onHoverStart:()=>f(null),onHoverEnd:()=>f(s),custom:{position:a},style:v,children:(0,yn.jsx)(pn.div,{role:"status","aria-atomic":"true",className:"chakra-toast__inner",__css:g,children:O(r,{id:t,onClose:m})})})}));function Yg(e){return(0,B.forwardRef)(e)}qg.displayName="ToastComponent";var Xg=r(115);function Kg(e,t={}){var r;const{styleConfig:n,...o}=t,{theme:i,colorMode:a}={...Ct(),theme:function(){const e=(0,B.useContext)(Jr);if(!e)throw Error("useTheme: `theme` is undefined. Seems you forgot to wrap your app in `<ChakraProvider />` or `<ThemeProvider />`");return e}()},s=e?Et(i,`components.${e}`):void 0,l=n||s,u=N({theme:i,colorMode:a},null!=(r=null==l?void 0:l.defaultProps)?r:{},Tt(function(e,t){const r={};return Object.keys(e).forEach((n=>{t.includes(n)||(r[n]=e[n])})),r}(o,["children"]))),c=(0,B.useRef)({});if(l){const e=function(e){return t=>{var r;const{variant:n,size:o,theme:i}=t,a=function(e){const t=e.__breakpoints;return function(e,r,n,o){var i,a;if(!t)return;const s={},l=function(e,t){return Array.isArray(e)?e:$(e)?t(e):null!=e?[e]:void 0}(n,t.toArrayValue);if(!l)return s;const u=l.length,c=1===u,d=!!e.parts;for(let n=0;n<u;n++){const u=t.details[n],f=t.details[bt(l,n)],p=He(u.minW,null==f?void 0:f._minW),h=O(null==(i=e[r])?void 0:i[l[n]],o);h&&(d?null==(a=e.parts)||a.forEach((e=>{N(s,{[e]:c?h[e]:{[p]:h[e]}})})):d?s[p]=h:c?N(s,h):s[p]=h)}return s}}(i);return N({},O(null!=(r=e.baseStyle)?r:{},t),a(e,"sizes",o,t),a(e,"variants",n,t))}}(l),t=e(u);Xg(c.current,t)||(c.current=t)}return c.current}function Gg(e,t={}){return Kg(e,t)}var Qg={path:(0,yn.jsxs)("g",{stroke:"currentColor",strokeWidth:"1.5",children:[(0,yn.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,yn.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,yn.jsx)("circle",{fill:"none",strokeMiterlimit:"10",cx:"12",cy:"12",r:"11.25"})]}),viewBox:"0 0 24 24"},Zg=Yg(((e,t)=>{const{as:r,viewBox:n,color:o="currentColor",focusable:i=!1,children:a,className:s,__css:l,...u}=e,c={ref:t,focusable:i,className:D("chakra-icon",s),__css:{w:"1em",h:"1em",display:"inline-block",lineHeight:"1em",flexShrink:0,color:o,...l,...Gg("Icon",e)}},d=null!=n?n:Qg.viewBox;if(r&&"string"!=typeof r)return(0,yn.jsx)(pn.svg,{as:r,...c,...u});const f=null!=a?a:Qg.path;return(0,yn.jsx)(pn.svg,{verticalAlign:"middle",viewBox:d,...c,...u,children:f})}));function Jg(e){return(0,yn.jsx)(Zg,{viewBox:"0 0 24 24",...e,children:(0,yn.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"})})}Zg.displayName="Icon";var ev=function(){var e=vn.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_"}}}({"0%":{transform:"rotate(0deg)"},"100%":{transform:"rotate(360deg)"}}),tv=Yg(((e,t)=>{const r=Gg("Spinner",e),{label:n="Loading...",thickness:o="2px",speed:i="0.45s",emptyColor:a="transparent",className:s,...l}=xt(e),u=D("chakra-spinner",s),c={display:"inline-block",borderColor:"currentColor",borderStyle:"solid",borderRadius:"99999px",borderWidth:o,borderBottomColor:a,borderLeftColor:a,animation:`${ev} ${i} linear infinite`,...r};return(0,yn.jsx)(pn.div,{ref:t,__css:c,className:u,...l,children:n&&(0,yn.jsx)(pn.span,{srOnly:!0,children:n})})}));tv.displayName="Spinner";var[rv,nv]=Sn({name:"AlertContext",hookName:"useAlertContext",providerName:"<Alert />"}),[ov,iv]=Sn({name:"AlertStylesContext",hookName:"useAlertStyles",providerName:"<Alert />"}),av={info:{icon:function(e){return(0,yn.jsx)(Zg,{viewBox:"0 0 24 24",...e,children:(0,yn.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:Jg,colorScheme:"orange"},success:{icon:function(e){return(0,yn.jsx)(Zg,{viewBox:"0 0 24 24",...e,children:(0,yn.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:Jg,colorScheme:"red"},loading:{icon:tv,colorScheme:"blue"}},sv=Yg((function(e,t){var r;const{status:n="info",addRole:o=!0,...i}=xt(e),a=null!=(r=e.colorScheme)?r:function(e){return av[e].colorScheme}(n),s=function(e,t={}){return Kg(e,t)}("Alert",{...e,colorScheme:a}),l={width:"100%",display:"flex",alignItems:"center",position:"relative",overflow:"hidden",...s.container};return(0,yn.jsx)(rv,{value:{status:n},children:(0,yn.jsx)(ov,{value:s,children:(0,yn.jsx)(pn.div,{"data-status":n,role:o?"alert":void 0,ref:t,...i,className:D("chakra-alert",e.className),__css:l})})})}));function lv(e){const{status:t}=nv(),r=function(e){return av[e].icon}(t),n=iv(),o="loading"===t?n.spinner:n.icon;return(0,yn.jsx)(pn.span,{display:"inherit","data-status":t,...e,className:D("chakra-alert__icon",e.className),__css:o,children:e.children||(0,yn.jsx)(r,{h:"100%",w:"100%"})})}sv.displayName="Alert",lv.displayName="AlertIcon";var uv=Yg((function(e,t){const r=iv(),{status:n}=nv();return(0,yn.jsx)(pn.div,{ref:t,"data-status":n,...e,className:D("chakra-alert__title",e.className),__css:r.title})}));uv.displayName="AlertTitle";var cv=Yg((function(e,t){const r=iv(),{status:n}=nv(),o={display:"inline",...r.description};return(0,yn.jsx)(pn.div,{ref:t,"data-status":n,...e,className:D("chakra-alert__desc",e.className),__css:o})}));function dv(e){return(0,yn.jsx)(Zg,{focusable:"false","aria-hidden":!0,...e,children:(0,yn.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"})})}cv.displayName="AlertDescription";var fv=Yg((function(e,t){const r=Gg("CloseButton",e),{children:n,isDisabled:o,__css:i,...a}=xt(e);return(0,yn.jsx)(pn.button,{type:"button","aria-label":"Close",ref:t,disabled:o,__css:{outline:0,display:"flex",alignItems:"center",justifyContent:"center",flexShrink:0,...r,...i},...a,children:n||(0,yn.jsx)(dv,{width:"1em",height:"1em"})})}));fv.displayName="CloseButton";var pv=function(e){let t=e;const r=new Set,n=e=>{t=e(t),r.forEach((e=>e()))};return{getState:()=>t,subscribe:t=>(r.add(t),()=>{n((()=>e)),r.delete(t)}),removeToast:(e,t)=>{n((r=>({...r,[t]:r[t].filter((t=>t.id!=e))})))},notify:(e,t)=>{const r=function(e,t={}){var r,n;hv+=1;const o=null!=(r=t.id)?r:hv,i=null!=(n=t.position)?n:"bottom";return{id:o,message:e,position:i,duration:t.duration,onCloseComplete:t.onCloseComplete,onRequestRemove:()=>pv.removeToast(String(o),i),status:t.status,requestClose:!1,containerStyle:t.containerStyle}}(e,t),{position:o,id:i}=r;return n((e=>{var t,n;const i=o.includes("top")?[r,...null!=(t=e[o])?t:[]]:[...null!=(n=e[o])?n:[],r];return{...e,[o]:i}})),i},update:(e,t)=>{e&&n((r=>{const n={...r},{position:o,index:i}=Gu(n,e);return o&&-1!==i&&(n[o][i]={...n[o][i],...t,message:gv(t)}),n}))},closeAll:({positions:e}={})=>{n((t=>(null!=e?e:["bottom","bottom-right","bottom-left","top","top-left","top-right"]).reduce(((e,r)=>(e[r]=t[r].map((e=>({...e,requestClose:!0}))),e)),{...t})))},close:e=>{n((t=>{const r=Qu(t,e);return r?{...t,[r]:t[r].map((t=>t.id==e?{...t,requestClose:!0}:t))}:t}))},isActive:e=>Boolean(Gu(pv.getState(),e).position)}}({top:[],"top-left":[],"top-right":[],"bottom-left":[],bottom:[],"bottom-right":[]}),hv=0,mv=e=>{const{status:t,variant:r="solid",id:n,title:o,isClosable:i,onClose:a,description:s,colorScheme:l,icon:u}=e,c=n?{root:`toast-${n}`,title:`toast-${n}-title`,description:`toast-${n}-description`}:void 0;return(0,yn.jsxs)(sv,{addRole:!1,status:t,variant:r,id:null==c?void 0:c.root,alignItems:"start",borderRadius:"md",boxShadow:"lg",paddingEnd:8,textAlign:"start",width:"auto",colorScheme:l,children:[(0,yn.jsx)(lv,{children:u}),(0,yn.jsxs)(pn.div,{flex:"1",maxWidth:"100%",children:[o&&(0,yn.jsx)(uv,{id:null==c?void 0:c.title,children:o}),s&&(0,yn.jsx)(cv,{id:null==c?void 0:c.description,display:"block",children:s})]}),i&&(0,yn.jsx)(fv,{size:"sm",onClick:a,position:"absolute",insetEnd:1,top:1})]})};function gv(e={}){const{render:t,toastComponent:r=mv}=e;return n=>"function"==typeof t?t({...n,...e}):(0,yn.jsx)(r,{...n,...e})}function vv(){const e=(0,B.useRef)(!1);return oc((()=>(e.current=!0,()=>{e.current=!1})),[]),e}class yv extends B.Component{getSnapshotBeforeUpdate(e){const t=this.props.childRef.current;if(t&&e.isPresent&&!this.props.isPresent){const e=this.props.sizeRef.current;e.height=t.offsetHeight||0,e.width=t.offsetWidth||0,e.top=t.offsetTop,e.left=t.offsetLeft}return null}componentDidUpdate(){}render(){return this.props.children}}function bv({children:e,isPresent:t}){const r=(0,B.useId)(),n=(0,B.useRef)(null),o=(0,B.useRef)({width:0,height:0,top:0,left:0}),{nonce:i}=(0,B.useContext)(tc);return(0,B.useInsertionEffect)((()=>{const{width:e,height:a,top:s,left:l}=o.current;if(t||!n.current||!e||!a)return;n.current.dataset.motionPopId=r;const u=document.createElement("style");return i&&(u.nonce=i),document.head.appendChild(u),u.sheet&&u.sheet.insertRule(`\n [data-motion-pop-id="${r}"] {\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(u)}}),[t]),B.createElement(yv,{isPresent:t,childRef:n,sizeRef:o},B.cloneElement(e,{ref:n}))}const xv=({children:e,initial:t,isPresent:r,onExitComplete:n,custom:o,presenceAffectsLayout:i,mode:a})=>{const s=Td(wv),l=(0,B.useId)(),u=(0,B.useMemo)((()=>({id:l,initial:t,isPresent:r,custom:o,onExitComplete:e=>{s.set(e,!0);for(const e of s.values())if(!e)return;n&&n()},register:e=>(s.set(e,!1),()=>s.delete(e))})),i?void 0:[r]);return(0,B.useMemo)((()=>{s.forEach(((e,t)=>s.set(t,!1)))}),[r]),B.useEffect((()=>{!r&&!s.size&&n&&n()}),[r]),"popLayout"===a&&(e=B.createElement(bv,{isPresent:r},e)),B.createElement(ec.Provider,{value:u},e)};function wv(){return new Map}const kv=e=>e.key||"",Sv=({children:e,custom:t,initial:r=!0,onExitComplete:n,exitBeforeEnter:o,presenceAffectsLayout:i=!0,mode:a="sync"})=>{_f(!o,"Replace exitBeforeEnter with mode='wait'");const s=(0,B.useContext)(Sc).forceRender||function(){const e=vv(),[t,r]=(0,B.useState)(0),n=(0,B.useCallback)((()=>{e.current&&r(t+1)}),[t]);return[(0,B.useCallback)((()=>jd.postRender(n)),[n]),t]}()[0],l=vv(),u=function(e){const t=[];return B.Children.forEach(e,(e=>{(0,B.isValidElement)(e)&&t.push(e)})),t}(e);let c=u;const d=(0,B.useRef)(new Map).current,f=(0,B.useRef)(c),p=(0,B.useRef)(new Map).current,h=(0,B.useRef)(!0);var m;if(oc((()=>{h.current=!1,function(e,t){e.forEach((e=>{const r=kv(e);t.set(r,e)}))}(u,p),f.current=c})),m=()=>{h.current=!0,p.clear(),d.clear()},(0,B.useEffect)((()=>()=>m()),[]),h.current)return B.createElement(B.Fragment,null,c.map((e=>B.createElement(xv,{key:kv(e),isPresent:!0,initial:!!r&&void 0,presenceAffectsLayout:i,mode:a},e))));c=[...c];const g=f.current.map(kv),v=u.map(kv),y=g.length;for(let e=0;e<y;e++){const t=g[e];-1!==v.indexOf(t)||d.has(t)||d.set(t,void 0)}return"wait"===a&&d.size&&(c=[]),d.forEach(((e,r)=>{if(-1!==v.indexOf(r))return;const o=p.get(r);if(!o)return;const h=g.indexOf(r);let m=e;if(!m){const e=()=>{d.delete(r);const e=Array.from(p.keys()).filter((e=>!v.includes(e)));if(e.forEach((e=>p.delete(e))),f.current=u.filter((t=>{const n=kv(t);return n===r||e.includes(n)})),!d.size){if(!1===l.current)return;s(),n&&n()}};m=B.createElement(xv,{key:kv(o),isPresent:!1,onExitComplete:e,custom:t,presenceAffectsLayout:i,mode:a},o),d.set(r,m)}c.splice(h,0,m)})),c=c.map((e=>{const t=e.key;return d.has(t)?e:B.createElement(xv,{key:kv(e),isPresent:!0,presenceAffectsLayout:i,mode:a},e)})),B.createElement(B.Fragment,null,d.size?c:c.map((e=>(0,B.cloneElement)(e))))};var _v=r(961),[Cv,Ev]=Sn({strict:!1,name:"PortalContext"}),Pv="chakra-portal",Tv=e=>(0,yn.jsx)("div",{className:"chakra-portal-zIndex",style:{position:"absolute",zIndex:e.zIndex,top:0,left:0,right:0},children:e.children}),zv=e=>{const{appendToParentPortal:t,children:r}=e,[n,o]=(0,B.useState)(null),i=(0,B.useRef)(null),[,a]=(0,B.useState)({});(0,B.useEffect)((()=>a({})),[]);const s=Ev(),l=Cn();Dn((()=>{if(!n)return;const e=n.ownerDocument,r=t&&null!=s?s:e.body;if(!r)return;i.current=e.createElement("div"),i.current.className=Pv,r.appendChild(i.current),a({});const o=i.current;return()=>{r.contains(o)&&r.removeChild(o)}}),[n]);const u=(null==l?void 0:l.zIndex)?(0,yn.jsx)(Tv,{zIndex:null==l?void 0:l.zIndex,children:r}):r;return i.current?(0,_v.createPortal)((0,yn.jsx)(Cv,{value:i.current,children:u}),i.current):(0,yn.jsx)("span",{ref:e=>{e&&o(e)}})},Av=e=>{const{children:t,containerRef:r,appendToParentPortal:n}=e,o=r.current,i=null!=o?o:"undefined"!=typeof window?document.body:void 0,a=(0,B.useMemo)((()=>{const e=null==o?void 0:o.ownerDocument.createElement("div");return e&&(e.className=Pv),e}),[o]),[,s]=(0,B.useState)({});return Dn((()=>s({})),[]),Dn((()=>{if(a&&i)return i.appendChild(a),()=>{i.removeChild(a)}}),[a,i]),i&&a?(0,_v.createPortal)((0,yn.jsx)(Cv,{value:n?a:null,children:t}),a):null};function Rv(e){const t={appendToParentPortal:!0,...e},{containerRef:r,...n}=t;return r?(0,yn.jsx)(Av,{containerRef:r,...n}):(0,yn.jsx)(zv,{...n})}Rv.className=Pv,Rv.selector=".chakra-portal",Rv.displayName="Portal";var[Mv,Fv]=Sn({name:"ToastOptionsContext",strict:!1}),jv=e=>{const t=(0,B.useSyncExternalStore)(pv.subscribe,pv.getState,pv.getState),{motionVariants:r,component:n=qg,portalProps:o}=e,i=Object.keys(t).map((e=>{const o=t[e];return(0,yn.jsx)("div",{role:"region","aria-live":"polite","aria-label":`Notifications-${e}`,id:`chakra-toast-manager-${e}`,style:Zu(e),children:(0,yn.jsx)(Sv,{initial:!1,children:o.map((e=>(0,yn.jsx)(n,{motionVariants:r,...e},e.id)))})},e)}));return(0,yn.jsx)(Rv,{...o,children:i})},Bv=e=>function({children:t,theme:r=e,toastOptions:n,...o}){return(0,yn.jsxs)(Wn,{theme:r,...o,children:[(0,yn.jsx)(Mv,{value:null==n?void 0:n.defaultOptions,children:t}),(0,yn.jsx)(jv,{...n})]})},Lv=Bv(Yu),Dv=(Bv(Xu),pn("div"));Dv.displayName="Box";var $v=Yg((function(e,t){const{size:r,centerContent:n=!0,...o}=e,i=n?{display:"flex",alignItems:"center",justifyContent:"center"}:{};return(0,yn.jsx)(Dv,{ref:t,boxSize:r,__css:{...i,flexShrink:0,flexGrow:0},...o})}));$v.displayName="Square";var Ov=Yg((function(e,t){const{size:r,...n}=e;return(0,yn.jsx)($v,{size:r,ref:t,borderRadius:"9999px",...n})}));Ov.displayName="Circle";var Iv,Nv,Vv,Wv,Uv,Hv=r(3815),qv=r(8279);r(7604),console.error,Iv=Iv||{},Nv={"(":9,"!":8,"*":7,"/":7,"%":7,"+":6,"-":6,"<":5,"<=":5,">":5,">=":5,"==":4,"!=":4,"&&":3,"||":2,"?":1,"?:":1},Vv=["(","?"],Wv={")":["("],":":["?","?:"]},Uv=/<=|>=|==|!=|&&|\|\||\?:|\(|!|\*|\/|%|\+|-|<|>|\?|\)|:/;var Yv={"!":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,r){if(e)throw t;return r}};var Xv={contextDelimiter:"",onMissingKey:null};function Kv(e,t){var r;for(r in this.data=e,this.pluralForms={},this.options={},Xv)this.options[r]=void 0!==t&&r in t?t[r]:Xv[r]}Kv.prototype.getPluralForm=function(e,t){var r,n,o,i,a=this.pluralForms[e];return a||("function"!=typeof(o=(r=this.data[e][""])["Plural-Forms"]||r["plural-forms"]||r.plural_forms)&&(n=function(e){var t,r,n;for(t=e.split(";"),r=0;r<t.length;r++)if(0===(n=t[r].trim()).indexOf("plural="))return n.substr(7)}(r["Plural-Forms"]||r["plural-forms"]||r.plural_forms),i=function(e){var t=function(e){for(var t,r,n,o,i=[],a=[];t=e.match(Uv);){for(r=t[0],(n=e.substr(0,t.index).trim())&&i.push(n);o=a.pop();){if(Wv[r]){if(Wv[r][0]===o){r=Wv[r][1]||r;break}}else if(Vv.indexOf(o)>=0||Nv[o]<Nv[r]){a.push(o);break}i.push(o)}Wv[r]||a.push(r),e=e.substr(t.index+r.length)}return(e=e.trim())&&i.push(e),i.concat(a.reverse())}(e);return function(e){return function(e,t){var r,n,o,i,a,s,l=[];for(r=0;r<e.length;r++){if(a=e[r],i=Yv[a]){for(n=i.length,o=Array(n);n--;)o[n]=l.pop();try{s=i.apply(null,o)}catch(e){return e}}else s=t.hasOwnProperty(a)?t[a]:+a;l.push(s)}return l[0]}(t,e)}}(n),o=function(e){return+i({n:e})}),a=this.pluralForms[e]=o),a(t)},Kv.prototype.dcnpgettext=function(e,t,r,n,o){var i,a,s;return i=void 0===o?0:this.getPluralForm(e,o),a=r,t&&(a=t+this.options.contextDelimiter+r),(s=this.data[e][a])&&s[i]?s[i]:(this.options.onMissingKey&&this.options.onMissingKey(r,e),0===i?r:n)};const Gv={plural_forms:e=>1===e?0:1},Qv=/^i18n\.(n?gettext|has_translation)(_|$)/,Zv=((e,t,r)=>{const n=new Kv({}),o=new Set,i=()=>{o.forEach((e=>e()))},a=(e,t="default")=>{n.data[t]={...n.data[t],...e},n.data[t][""]={...Gv,...n.data[t]?.[""]},delete n.pluralForms[t]},s=(e,t)=>{a(e,t),i()},l=(e="default",t,r,o,i)=>(n.data[e]||a(void 0,e),n.dcnpgettext(e,t,r,o,i)),u=(e="default")=>e,c=(e,t,n)=>{let o=l(n,t,e);return r?(o=r.applyFilters("i18n.gettext_with_context",o,e,t,n),r.applyFilters("i18n.gettext_with_context_"+u(n),o,e,t,n)):o};if(r){const e=e=>{Qv.test(e)&&i()};r.addAction("hookAdded","core/i18n",e),r.addAction("hookRemoved","core/i18n",e)}return{getLocaleData:(e="default")=>n.data[e],setLocaleData:s,addLocaleData:(e,t="default")=>{n.data[t]={...n.data[t],...e,"":{...Gv,...n.data[t]?.[""],...e?.[""]}},delete n.pluralForms[t],i()},resetLocaleData:(e,t)=>{n.data={},n.pluralForms={},s(e,t)},subscribe:e=>(o.add(e),()=>o.delete(e)),__:(e,t)=>{let n=l(t,void 0,e);return r?(n=r.applyFilters("i18n.gettext",n,e,t),r.applyFilters("i18n.gettext_"+u(t),n,e,t)):n},_x:c,_n:(e,t,n,o)=>{let i=l(o,void 0,e,t,n);return r?(i=r.applyFilters("i18n.ngettext",i,e,t,n,o),r.applyFilters("i18n.ngettext_"+u(o),i,e,t,n,o)):i},_nx:(e,t,n,o,i)=>{let a=l(i,o,e,t,n);return r?(a=r.applyFilters("i18n.ngettext_with_context",a,e,t,n,o,i),r.applyFilters("i18n.ngettext_with_context_"+u(i),a,e,t,n,o,i)):a},isRTL:()=>"rtl"===c("ltr","text direction"),hasTranslation:(e,t,o)=>{const i=t?t+""+e:e;let a=!!n.data?.[null!=o?o:"default"]?.[i];return r&&(a=r.applyFilters("i18n.has_translation",a,e,t,o),a=r.applyFilters("i18n.has_translation_"+u(o),a,e,t,o)),a}}})(0,0,m),Jv=(Zv.getLocaleData.bind(Zv),Zv.setLocaleData.bind(Zv),Zv.resetLocaleData.bind(Zv),Zv.subscribe.bind(Zv),Zv.__.bind(Zv));function ey(){return ey=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},ey.apply(null,arguments)}Zv._x.bind(Zv),Zv._n.bind(Zv),Zv._nx.bind(Zv),Zv.isRTL.bind(Zv),Zv.hasTranslation.bind(Zv);const ty=wp.serverSideRender?wp.serverSideRender:wp.components.ServerSideRender,ry=j.name,ny={...j,icon:e=>L().createElement(pn.svg,hn({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"#475BB2",h:"6",w:"6"},e),L().createElement("path",{fillRule:"evenodd",d:"M9.455 2a1.818 1.818 0 0 0-1.819 1.818h-.909A2.727 2.727 0 0 0 4 6.545v12.728A2.727 2.727 0 0 0 6.727 22h10.91a2.727 2.727 0 0 0 2.727-2.727V6.545a2.727 2.727 0 0 0-2.728-2.727h-.909A1.818 1.818 0 0 0 14.91 2H9.455Zm7.272 3.636a1.818 1.818 0 0 1-1.818 1.819H9.455a1.818 1.818 0 0 1-1.819-1.819h-.909a.91.91 0 0 0-.909.91v12.727a.91.91 0 0 0 .91.909h10.908a.91.91 0 0 0 .91-.91V6.546a.91.91 0 0 0-.91-.909h-.909Zm-7.272-.909v.91h5.454v-1.82H9.455v.91Zm-1.819 6.364a.91.91 0 0 1 .91-.91h7.272a.91.91 0 1 1 0 1.819H8.545a.91.91 0 0 1-.909-.91Zm.91 3.636a.91.91 0 1 0 0 1.819h7.272a.91.91 0 0 0 0-1.819H8.545Z",clipRule:"evenodd"})),edit:e=>{const t=(0,qv.useBlockProps)(),{attributes:{formId:r,displayTitle:n,displayDescription:o},setAttributes:i}=e,{evfRestApiNonce:a,restURL:s,logoUrl:l}="undefined"!=typeof _EVF_BLOCKS_&&_EVF_BLOCKS_,u=_EVF_BLOCKS_.forms.map((e=>({value:e.ID,label:e.post_title}))),c=e=>{i({formId:e})};return L().createElement(L().Fragment,null,L().createElement(Lv,null,L().createElement(Dv,ey({},t,{maxW:"sm",borderWidth:"1px",borderRadius:"lg",p:2}),L().createElement(qv.InspectorControls,{key:"evf-gutenberg-form-selector-inspector-controls"},L().createElement(Hv.PanelBody,{title:Jv("Everest Forms","everest-forms")},L().createElement(Hv.SelectControl,{label:Jv("Select a Form","everest-forms"),value:r,options:[{label:Jv("Select a Form","everest-forms"),value:""},...u],onChange:c}),L().createElement(Hv.ToggleControl,{label:Jv("Show Title","everest-forms"),checked:n,onChange:e=>{i({displayTitle:e})}}),L().createElement(Hv.ToggleControl,{label:Jv("Show Description","everest-forms"),checked:o,onChange:e=>{i({displayDescription:e})}}))),r?L().createElement(ty,{key:"evf-gutenberg-form-selector-server-side-renderer",block:"everest-forms/form-selector",attributes:e.attributes}):L().createElement(Hv.Placeholder,{key:"evf-gutenberg-form-selector-wrap",icon:mn,instructions:Jv("Everest Forms","everest-forms"),className:"everest-form-gutenberg-form-selector-wrap evf-test"},L().createElement(Hv.SelectControl,{key:"evf-gutenberg-form-selector-select-control",value:r,options:[{label:Jv("Select a form","everest-forms"),value:""},...u],onChange:c})))))},save:()=>null},oy=JSON.parse('{"$schema":"https://schemas.wp.org/block-json/1.1","apiVersion":3,"name":"everest-forms/frontend-listing","version":"1.0.0","title":"Frontend Listing","category":"everest-forms","description":"Select and display one of your frontend listing.","keywords":["everest forms frontend listing","frontend listing"],"textdomain":"everest-forms","example":{"attributes":{}},"supports":{},"attributes":{"id":{"type":"string","default":""}},"editorScript":"everest-forms-block-editor","editorStyle":"everest-forms-block-editor"}'),iy=(e,t)=>{let r,n,o=e.path;return"string"==typeof e.namespace&&"string"==typeof e.endpoint&&(r=e.namespace.replace(/^\/|\/$/g,""),n=e.endpoint.replace(/^\//,""),o=n?r+"/"+n:r),delete e.namespace,delete e.endpoint,t({...e,path:o})};function ay(e){const t=e.split("?"),r=t[1],n=t[0];return r?n+"?"+r.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("&"):n}function sy(e){try{return decodeURIComponent(e)}catch(t){return e}}function ly(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[r,n=""]=t.split("=").filter(Boolean).map(sy);return r&&function(e,t,r){const n=t.length,o=n-1;for(let i=0;i<n;i++){let n=t[i];!n&&Array.isArray(e)&&(n=e.length.toString()),n=["__proto__","constructor","prototype"].includes(n)?n.toUpperCase():n;const a=!isNaN(Number(t[i+1]));e[n]=i===o?r:e[n]||(a?[]:{}),Array.isArray(e[n])&&!a&&(e[n]={...e[n]}),e=e[n]}}(e,r.replace(/\]/g,"").split("["),n),e}),Object.create(null))}function uy(e){let t="";const r=Object.entries(e);let n;for(;n=r.shift();){let[e,o]=n;if(Array.isArray(o)||o&&o.constructor===Object){const t=Object.entries(o).reverse();for(const[n,o]of t)r.unshift([`${e}[${n}]`,o])}else void 0!==o&&(null===o&&(o=""),t+="&"+[e,o].map(encodeURIComponent).join("="))}return t.substr(1)}function cy(e="",t){if(!t||!Object.keys(t).length)return e;let r=e;const n=e.indexOf("?");return-1!==n&&(t=Object.assign(ly(e),t),r=r.substr(0,n)),r+"?"+uy(t)}function dy(e,t){return Promise.resolve(t?e.body:new window.Response(JSON.stringify(e.body),{status:200,statusText:"OK",headers:e.headers}))}const fy=({path:e,url:t,...r},n)=>({...r,url:t&&cy(t,n),path:e&&cy(e,n)}),py=e=>e.json?e.json():Promise.reject(e),hy=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},my=async(e,t)=>{if(!1===e.parse)return t(e);if(!(e=>{const t=!!e.path&&-1!==e.path.indexOf("per_page=-1"),r=!!e.url&&-1!==e.url.indexOf("per_page=-1");return t||r})(e))return t(e);const r=await zy({...fy(e,{per_page:100}),parse:!1}),n=await py(r);if(!Array.isArray(n))return n;let o=hy(r);if(!o)return n;let i=[].concat(n);for(;o;){const t=await zy({...e,path:void 0,url:o,parse:!1}),r=await py(t);i=i.concat(r),o=hy(t)}return i},gy=new Set(["PATCH","PUT","DELETE"]),vy="GET";function yy(e,t){return ly(e)[t]}function by(e,t){return void 0!==yy(e,t)}const xy=(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=>wy(e,t)));function wy(e,t=!0){if(!t)throw e;return(e=>{const t={code:"invalid_json",message:Jv("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:Jv("An unknown error occurred.")};throw e||t}))}function ky(e,...t){const r=e.indexOf("?");if(-1===r)return e;const n=ly(e),o=e.substr(0,r);t.forEach((e=>delete n[e]));const i=uy(n);return i?o+"?"+i:o}const Sy={Accept:"application/json, */*;q=0.1"},_y={credentials:"include"},Cy=[(e,t)=>("string"!=typeof e.url||by(e.url,"_locale")||(e.url=cy(e.url,{_locale:"user"})),"string"!=typeof e.path||by(e.path,"_locale")||(e.path=cy(e.path,{_locale:"user"})),t(e)),iy,(e,t)=>{const{method:r=vy}=e;return gy.has(r.toUpperCase())&&(e={...e,headers:{...e.headers,"X-HTTP-Method-Override":r,"Content-Type":"application/json"},method:"POST"}),t(e)},my],Ey=e=>{if(e.status>=200&&e.status<300)return e;throw e};let Py=e=>{const{url:t,path:r,data:n,parse:o=!0,...i}=e;let{body:a,headers:s}=e;return s={...Sy,...s},n&&(a=JSON.stringify(n),s["Content-Type"]="application/json"),window.fetch(t||r||window.location.href,{..._y,...i,body:a,headers:s}).then((e=>Promise.resolve(e).then(Ey).catch((e=>wy(e,o))).then((e=>xy(e,o)))),(e=>{if(e&&"AbortError"===e.name)throw e;throw{code:"fetch_error",message:Jv("You are probably offline.")}}))};function Ty(e){const t=Cy.reduceRight(((e,t)=>r=>t(r,e)),Py);return t(e).catch((t=>"rest_cookie_invalid_nonce"!==t.code?Promise.reject(t):window.fetch(Ty.nonceEndpoint).then(Ey).then((e=>e.text())).then((t=>(Ty.nonceMiddleware.nonce=t,Ty(e))))))}Ty.use=function(e){Cy.unshift(e)},Ty.setFetchHandler=function(e){Py=e},Ty.createNonceMiddleware=function(e){const t=(e,r)=>{const{headers:n={}}=e;for(const o in n)if("x-wp-nonce"===o.toLowerCase()&&n[o]===t.nonce)return r(e);return r({...e,headers:{...n,"X-WP-Nonce":t.nonce}})};return t.nonce=e,t},Ty.createPreloadingMiddleware=function(e){const t=Object.fromEntries(Object.entries(e).map((([e,t])=>[ay(e),t])));return(e,r)=>{const{parse:n=!0}=e;let o=e.path;if(!o&&e.url){const{rest_route:t,...r}=ly(e.url);"string"==typeof t&&(o=cy(t,r))}if("string"!=typeof o)return r(e);const i=e.method||"GET",a=ay(o);if("GET"===i&&t[a]){const e=t[a];return delete t[a],dy(e,!!n)}if("OPTIONS"===i&&t[i]&&t[i][a]){const e=t[i][a];return delete t[i][a],dy(e,!!n)}return r(e)}},Ty.createRootURLMiddleware=e=>(t,r)=>iy(t,(t=>{let n,o=t.url,i=t.path;return"string"==typeof i&&(n=e,-1!==e.indexOf("?")&&(i=i.replace("?","&")),i=i.replace(/^\//,""),"string"==typeof n&&-1!==n.indexOf("?")&&(i=i.replace("?","&")),o=n+i),r({...t,url:o})})),Ty.fetchAllMiddleware=my,Ty.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 r=0;const n=e=>(r++,t({path:`/wp/v2/media/${e}/post-process`,method:"POST",data:{action:"create-image-subsizes"},parse:!1}).catch((()=>r<5?n(e):(t({path:`/wp/v2/media/${e}?force=true`,method:"DELETE"}),Promise.reject()))));return t({...e,parse:!1}).catch((t=>{const r=t.headers.get("x-wp-upload-attachment-id");return t.status>=500&&t.status<600&&r?n(r).catch((()=>!1!==e.parse?Promise.reject({code:"post_process",message:Jv("Media upload failed. If this is a photo or a large image, please scale it down and try again.")}):Promise.reject(t))):wy(t,e.parse)})).then((t=>xy(t,e.parse)))},Ty.createThemePreviewMiddleware=e=>(t,r)=>{if("string"==typeof t.url){const r=yy(t.url,"wp_theme_preview");void 0===r?t.url=cy(t.url,{wp_theme_preview:e}):""===r&&(t.url=ky(t.url,"wp_theme_preview"))}if("string"==typeof t.path){const r=yy(t.path,"wp_theme_preview");void 0===r?t.path=cy(t.path,{wp_theme_preview:e}):""===r&&(t.path=ky(t.path,"wp_theme_preview"))}return r(t)};const zy=Ty;function Ay(){return Ay=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Ay.apply(null,arguments)}wp.serverSideRender?wp.serverSideRender:wp.components.ServerSideRender;const Ry=oy.name,My={...oy,icon:e=>L().createElement(pn.svg,hn({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"#475BB2",h:"6",w:"6"},e),L().createElement("path",{fillRule:"evenodd",d:"M4 2a2 2 0 0 0-2 2v5a2 2 0 0 0 2 2h5a2 2 0 0 0 2-2V4a2 2 0 0 0-2-2H4Zm0 2h5v5H4V4Zm0 9a2 2 0 0 0-2 2v5a2 2 0 0 0 2 2h5a2 2 0 0 0 2-2v-5a2 2 0 0 0-2-2H4Zm0 2h5v5H4v-5Z",clipRule:"evenodd"}),L().createElement("path",{fillRule:"evenodd",d:"M13 4a1 1 0 0 1 1-1h7a1 1 0 1 1 0 2h-7a1 1 0 0 1-1-1Zm1 4a1 1 0 1 0 0 2h7a1 1 0 1 0 0-2h-7Zm-1 7a1 1 0 0 1 1-1h7a1 1 0 1 1 0 2h-7a1 1 0 0 1-1-1Zm1 4a1 1 0 1 0 0 2h7a1 1 0 1 0 0-2h-7Z",clipRule:"evenodd"})),edit:e=>{const t=(0,qv.useBlockProps)(),{attributes:{id:r},setAttributes:n}=e,{evfRestApiNonce:o,restURL:i}="undefined"!=typeof _EVF_BLOCKS_&&_EVF_BLOCKS_,[a,s]=(0,B.useState)("");(0,B.useEffect)((()=>{(async()=>{if(!a)try{const e=await zy({path:i+"everest-forms/v1/gutenberg-blocks/frontend-listing-list",method:"GET",headers:{"X-WP-Nonce":o}});e.success&&s(e.frontend_lists)}catch(e){console.error("Error fetching data:",e)}})()}),[]);const l=Object.keys(a).map((e=>({value:Number(e),label:a[e]}))),u=e=>{n({id:e})};return L().createElement(L().Fragment,null,L().createElement(Lv,null,L().createElement(Dv,Ay({},t,{maxW:"sm",borderWidth:"1px",borderRadius:"lg",p:2}),L().createElement(qv.InspectorControls,{key:"evf-gutenberg-form-selector-inspector-controls"},L().createElement(Hv.PanelBody,{title:Jv("Everest Forms","everest-forms")},L().createElement(Hv.SelectControl,{label:Jv("Select list","everest-forms"),value:r,options:[{label:Jv("Select list","everest-forms"),value:""},...l],onChange:u}))),L().createElement(Hv.Placeholder,{key:"evf-gutenberg-form-selector-wrap",icon:mn,instructions:Jv("Everest Form Frontend Listing","everest-forms"),className:"everest-form-gutenberg-form-selector-wrap evf-test"},L().createElement(Hv.SelectControl,{key:"evf-gutenberg-form-selector-select-control",value:r,options:[{label:Jv("Select list","everest-forms"),value:""},...l],onChange:u})))))},save:()=>null},Fy=JSON.parse('{"$schema":"https://schemas.wp.org/block-json/1.1","apiVersion":3,"name":"everest-forms/user-login","version":"1.0.0","title":"User Login","category":"everest-forms","description":"Display login form.","keywords":["everest forms login form","loging form"],"textdomain":"everest-forms","example":{"attributes":{}},"supports":{},"attributes":{"redirect_url":{"type":"string","default":""},"recaptcha":{"type":"boolean","default":false}},"editorScript":"everest-forms-block-editor","editorStyle":"everest-forms-block-editor"}');function jy(){return jy=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},jy.apply(null,arguments)}const By=wp.serverSideRender?wp.serverSideRender:wp.components.ServerSideRender,Ly=Fy.name,Dy={...Fy,icon:e=>L().createElement(pn.svg,hn({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"#475BB2",h:"6",w:"6"},e),L().createElement("path",{fillRule:"evenodd",d:"M8.545 9.273a.91.91 0 1 0 0 1.818h7.273a.91.91 0 1 0 0-1.818H8.545Zm-.909 4.545a.91.91 0 0 1 .91-.909h7.272a.91.91 0 1 1 0 1.818H8.545a.91.91 0 0 1-.909-.909Zm.909 2.728a.91.91 0 1 0 0 1.818h1.819a.91.91 0 1 0 0-1.819H8.545Z",clipRule:"evenodd"}),L().createElement("path",{fillRule:"evenodd",d:"M7.636 3.818C7.636 2.814 8.45 2 9.455 2h5.454c1.004 0 1.818.814 1.818 1.818h.91a2.727 2.727 0 0 1 2.727 2.727v12.728A2.727 2.727 0 0 1 17.636 22H6.727A2.727 2.727 0 0 1 4 19.273V6.545a2.727 2.727 0 0 1 2.727-2.727h.91Zm7.273 3.637a1.818 1.818 0 0 0 1.818-1.819h.91a.91.91 0 0 1 .909.91v12.727a.91.91 0 0 1-.91.909H6.727a.91.91 0 0 1-.909-.91V6.546a.91.91 0 0 1 .91-.909h.908c0 1.005.814 1.819 1.819 1.819h5.454ZM9.455 5.636V3.818h5.454v1.818H9.455Z",clipRule:"evenodd"})),edit:e=>{const t=(0,qv.useBlockProps)(),{attributes:{redirect_url:r,recaptcha:n},setAttributes:o}=e,i=Fy.name;return L().createElement(L().Fragment,null,L().createElement(Lv,null,L().createElement(Dv,jy({},t,{maxW:"sm",borderWidth:"1px",borderRadius:"lg",p:2}),L().createElement(qv.InspectorControls,{key:"evf-gutenberg-form-selector-inspector-controls"},L().createElement(Hv.PanelBody,{title:Jv("Everest Forms User Login","everest-forms")},L().createElement(Hv.TextControl,{key:"evf-gutenberg-user-login-redirect-url",label:Jv("Redirect URL","user-registration"),value:r,onChange:e=>{o({redirect_url:e})}}),L().createElement(Hv.ToggleControl,{key:"evf-gutenberg-user-login-recaptcha",label:Jv("Enable Recaptcha","user-registration"),checked:n,onChange:e=>{o({recaptcha:e})}}))),L().createElement(By,{key:"evf-gutenberg-user-login-server-side-renderer",block:i,attributes:e.attributes}))))},save:()=>"user login"},{isFrontendListingActive:$y,isUserRegistrationActive:Oy,isPro:Iy}="undefined"!=typeof _EVF_BLOCKS_&&_EVF_BLOCKS_;let Ny=[e];Iy&&$y&&Ny.push(t),Iy&&Oy&&Ny.push(n),Ny=C("everest-forms.blocks",Ny);(()=>{for(const e of Ny){const t=C("everest-forms.blocks.metadata",e.settings);t.edit=C("everest-forms.blocks.edit",t.edit,t),(0,o.registerBlockType)(e.name,t)}})()})(),n)this[o]=n[o];n.__esModule&&Object.defineProperty(this,"__esModule",{value:!0})})();