/
home
/
techb158
/
primomovers.ca
/
wp-content
/
plugins
/
everest-forms
/
dist
/
/home/techb158/primomovers.ca/wp-content/plugins/everest-forms/dist
mkdir
upload
Name
Size
Mode
Actions
form-selector/
-
0755
rm
frontend-listing/
-
0755
rm
user-login/
-
0755
rm
2ce9495ac6ba037bca102f85611adbe0.webp
1208
0644
edit
dl
rm
6dc4c37ae3ecc6a2af85c90a60b83d25.png
878
0644
edit
dl
rm
6ec9d263fb46252dd146d64ffbc28d69.webp
7804
0644
edit
dl
rm
6f863fcb56d8b6cb186730f36584df65.webp
7840
0644
edit
dl
rm
11c0449e654add53839dd2868ddf30dd.gif
210552
0644
edit
dl
rm
49f9520e9ca04b8812e26bf548c09eae.webp
30244
0644
edit
dl
rm
73e84ecf138c39fb2c97167a5f9e82a2.webp
35766
0644
edit
dl
rm
77c78a0a2598023e06e9ad7bd0d04eeb.png
771
0644
edit
dl
rm
90ca815da37eeb572e36210096d10984.png
30364
0644
edit
dl
rm
953555118c8f835b30db43e927efe1b3.webp
71508
0644
edit
dl
rm
ab773814f97af145567d7d2d837d630b.png
835
0644
edit
dl
rm
bbb7a97e3687f39667a2392a3180eb08.png
156353
0644
edit
dl
rm
bf7d11b17f85f0181710e4c28be8174b.webp
39436
0644
edit
dl
rm
blocks.min.js
453167
0644
edit
dl
rm
blocks.min.js.LICENSE.txt
980
0644
edit
dl
rm
builderAI.min.js
413626
0644
edit
dl
rm
builderAI.min.js.LICENSE.txt
980
0644
edit
dl
rm
d5ec8de8538ebf3505031129c5118503.png
952
0644
edit
dl
rm
d5891ac27db9ba7a9643b32dc5b4496b.png
726
0644
edit
dl
rm
dashboard.min.js
953323
0644
edit
dl
rm
dashboard.min.js.LICENSE.txt
2257
0644
edit
dl
rm
dashboardHeader.min.js
607198
0644
edit
dl
rm
dashboardHeader.min.js.LICENSE.txt
1920
0644
edit
dl
rm
divibuilder.min.js
866
0644
edit
dl
rm
e5f4b6169fef5a1a72ef1474733b7622.png
768
0644
edit
dl
rm
ec5d28fd237e9b8cfd396596af54d878.webp
10904
0644
edit
dl
rm
edefcb9e8e52ef39ce7fdef6eab4b904.webp
8324
0644
edit
dl
rm
effef74a8f460d198524101f2f069589.png
887
0644
edit
dl
rm
f946ef3592423796427e2d1b57d80cee.webp
4254
0644
edit
dl
rm
fe5509bcbadc27f16471f08850716c5a.webp
1056
0644
edit
dl
rm
main.min.js
407713
0644
edit
dl
rm
main.min.js.LICENSE.txt
980
0644
edit
dl
rm
reactPlayerDailyMotion.min.js
2589
0644
edit
dl
rm
reactPlayerFacebook.min.js
2848
0644
edit
dl
rm
reactPlayerFilePlayer.min.js
8681
0644
edit
dl
rm
reactPlayerKaltura.min.js
2423
0644
edit
dl
rm
reactPlayerMixcloud.min.js
2277
0644
edit
dl
rm
reactPlayerMux.min.js
4996
0644
edit
dl
rm
reactPlayerPreview.min.js
2657
0644
edit
dl
rm
reactPlayerSoundCloud.min.js
2566
0644
edit
dl
rm
reactPlayerStreamable.min.js
2574
0644
edit
dl
rm
reactPlayerTwitch.min.js
2695
0644
edit
dl
rm
reactPlayerVidyard.min.js
2496
0644
edit
dl
rm
reactPlayerVimeo.min.js
3276
0644
edit
dl
rm
reactPlayerWistia.min.js
3149
0644
edit
dl
rm
reactPlayerYouTube.min.js
4085
0644
edit
dl
rm
rolesandpermission.min.js
1324632
0644
edit
dl
rm
rolesandpermission.min.js.LICENSE.txt
2385
0644
edit
dl
rm
styleCustomizerV2.min.js
328711
0644
edit
dl
rm
styleCustomizerV2.min.js.LICENSE.txt
483
0644
edit
dl
rm
templates.min.js
627985
0644
edit
dl
rm
templates.min.js.LICENSE.txt
1239
0644
edit
dl
rm
Edit:
/home/techb158/primomovers.ca/wp-content/plugins/everest-forms/dist/blocks.min.js
(453167B)
/*! For license information please see blocks.min.js.LICENSE.txt */ (()=>{var e={4146:(e,t,r)=>{"use strict";var n=r(3404),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}},3072:(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},3404:(e,t,r)=>{"use strict";e.exports=r(3072)},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,C=Function.prototype,_=Object.prototype,E=g["__core-js_shared__"],P=C.toString,T=_.hasOwnProperty,z=(d=/[^.]+$/.exec(E&&E.keys&&E.keys.IE_PROTO||""))?"Symbol(src)_1."+d:"",A=_.toString,R=P.call(Object),M=RegExp("^"+P.call(T).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),j=b?g.Buffer:void 0,F=g.Symbol,O=g.Uint8Array,D=(j&&j.allocUnsafe,f=Object.getPrototypeOf,p=Object,function(e){return f(p(e))}),L=Object.create,B=_.propertyIsEnumerable,$=S.splice,I=F?F.toStringTag:void 0,N=function(){try{var e=se(Object,"defineProperty");return e({},"",{}),e}catch(e){}}(),V=j?j.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(L)return L(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():$.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 O(h).set(new O(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=D(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(D(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}:_e;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||_)}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")&&!B.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,Ce=(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,_e),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 _e(e){return e}e.exports=Ce},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"),C=Symbol.for("react.strict_mode"),_=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 j=Symbol.for("react.offscreen");Symbol.for("react.legacy_hidden"),Symbol.for("react.cache"),Symbol.for("react.tracing_marker");var F=Symbol.iterator;function O(e){return null===e||"object"!=typeof e?null:"function"==typeof(e=F&&e[F]||e["@@iterator"])?e:null}var D,L=Object.assign;function B(e){if(void 0===D)try{throw Error()}catch(e){var t=e.stack.trim().match(/\n( *(at )?)/);D=t&&t[1]||""}return"\n"+D+e}var $=!1;function I(e,t){if(!e||$)return"";$=!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{$=!1,Error.prepareStackTrace=r}return(e=e?e.displayName||e.name:"")?B(e):""}function N(e){switch(e.tag){case 5:return B(e.type);case 16:return B("Lazy");case 13:return B("Suspense");case 19:return B("SuspenseList");case 0:case 2:case 15:return I(e.type,!1);case 11:return I(e.type.render,!1);case 1:return I(e.type,!0);default:return""}}function V(e){if(null==e)return null;if("function"==typeof e)return e.displayName||e.name||null;if("string"==typeof e)return e;switch(e){case S:return"Fragment";case k:return"Portal";case _:return"Profiler";case C: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===C?"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 L({},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 L({},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=L({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function ye(e,t){if(t){if(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,Ce=null;function _e(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?Ce?Ce.push(e):Ce=[e]:Se=e}function Pe(){if(Se){var e=Se,t=Ce;if(Ce=Se=null,_e(e),t)for(e=0;e<t.length;e++)_e(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!==Ce)&&(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 je=!1;if(c)try{var Fe={};Object.defineProperty(Fe,"passive",{get:function(){je=!0}}),window.addEventListener("test",Fe,Fe),window.removeEventListener("test",Fe,Fe)}catch(ce){je=!1}function Oe(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 De=!1,Le=null,Be=!1,$e=null,Ie={onError:function(e){De=!0,Le=e}};function Ne(e,t,r,n,o,i,a,s,l){De=!1,Le=null,Oe.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&&0===(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,Ct,_t=!1,Et=[],Pt=null,Tt=null,zt=null,At=new Map,Rt=new Map,Mt=[],jt="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 Ft(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 Ot(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 Dt(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 Ct(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 Lt(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 Bt(e,t,r){Lt(e)&&r.delete(t)}function $t(){_t=!1,null!==Pt&&Lt(Pt)&&(Pt=null),null!==Tt&&Lt(Tt)&&(Tt=null),null!==zt&&Lt(zt)&&(zt=null),At.forEach(Bt),Rt.forEach(Bt)}function It(e,t){e.blockedOn===t&&(e.blockedOn=null,_t||(_t=!0,o.unstable_scheduleCallback(o.unstable_NormalPriority,$t)))}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;)Dt(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),Ft(e,n);else if(function(e,t,r,n,o){switch(t){case"focusin":return Pt=Ot(Pt,e,t,r,n,o),!0;case"dragenter":return Tt=Ot(Tt,e,t,r,n,o),!0;case"mouseover":return zt=Ot(zt,e,t,r,n,o),!0;case"pointerover":var i=o.pointerId;return At.set(i,Ot(At.get(i)||null,e,t,r,n,o)),!0;case"gotpointercapture":return i=o.pointerId,Rt.set(i,Ot(Rt.get(i)||null,e,t,r,n,o)),!0}return!1}(o,e,t,r,n))n.stopPropagation();else if(Ft(e,n),4&t&&-1<jt.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 L(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var e=this.nativeEvent;e&&(e.preventDefault?e.preventDefault():"unknown"!=typeof e.returnValue&&(e.returnValue=!1),this.isDefaultPrevented=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=L({},sr,{view:0,detail:0}),cr=nr(ur),dr=L({},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(L({},dr,{dataTransfer:0})),hr=nr(L({},ur,{relatedTarget:0})),mr=nr(L({},sr,{animationName:0,elapsedTime:0,pseudoElement:0})),gr=L({},sr,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),vr=nr(gr),yr=nr(L({},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 Cr=L({},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}}),_r=nr(Cr),Er=nr(L({},dr,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0})),Pr=nr(L({},ur,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Sr})),Tr=nr(L({},sr,{propertyName:0,elapsedTime:0,pseudoElement:0})),zr=L({},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,jr=null;c&&"documentMode"in document&&(jr=document.documentMode);var Fr=c&&"TextEvent"in window&&!jr,Or=c&&(!Mr||jr&&8<jr&&11>=jr),Dr=String.fromCharCode(32),Lr=!1;function Br(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 $r(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){Ln(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 Cn(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 _n=Cn("animationend"),En=Cn("animationiteration"),Pn=Cn("animationstart"),Tn=Cn("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 jn=An[Mn];Rn(jn.toLowerCase(),"on"+(jn[0].toUpperCase()+jn.slice(1)))}Rn(_n,"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 Fn="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(" "),On=new Set("cancel close invalid load scroll toggle".split(" ").concat(Fn));function Dn(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),De){if(!De)throw Error(i(198));var c=Le;De=!1,Le=null,Be||(Be=!0,$e=c)}}(n,t,void 0,e),e.currentTarget=null}function Ln(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;Dn(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;Dn(o,s,u),i=l}}}if(Be)throw e=$e,Be=!1,$e=null,e}function Bn(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 $n(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&&(On.has(t)||$n(t,!1,e),$n(t,!0,e))});var t=9===e.nodeType?e:e.ownerDocument;null===t||t[In]||(t[In]=!0,$n("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,!je||"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=_r;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 _n: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?Br(e,r)&&(b="onCompositionEnd"):"keydown"===e&&229===r.keyCode&&(b="onCompositionStart");b&&(Or&&"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=$r(r)))&&(b.data=y))),(y=Fr?function(e,t){switch(e){case"compositionend":return $r(t);case"keypress":return 32!==t.which?null:(Lr=!0,Dr);case"textInput":return(e=t.data)===Dr&&Lr?null:e;default:return null}}(e,r):function(e,t){if(Ir)return"compositionend"===e||!Mr&&Br(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 Or&&"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)}Ln(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 Co(e){return{current:e}}function _o(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=Co(Po),zo=Co(!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 jo(){_o(zo),_o(To)}function Fo(e,t,r){if(To.current!==Po)throw Error(i(168));Eo(To,t),Eo(zo,r)}function Oo(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 L({},r,n)}function Do(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||Po,Ao=To.current,Eo(To,e),Eo(zo,zo.current),!0}function Lo(e,t,r){var n=e.stateNode;if(!n)throw Error(i(169));r?(e=Oo(e,t,Ao),n.__reactInternalMemoizedMergedChildContext=e,_o(zo),_o(To),Eo(To,e)):_o(zo),Eo(zo,r)}var Bo=null,$o=!1,Io=!1;function No(e){null===Bo?Bo=[e]:Bo.push(e)}function Vo(){if(!Io&&null!==Bo){Io=!0;var e=0,t=yt;try{var r=Bo;for(yt=1;e<r.length;e++){var n=r[e];do{n=n(!0)}while(null!==n)}Bo=null,$o=!1}catch(t){throw null!==Bo&&(Bo=Bo.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=L({},t),e=e.defaultProps)void 0===t[r]&&(t[r]=e[r]);return t}return t}var vi=Co(null),yi=null,bi=null,xi=null;function wi(){xi=bi=yi=null}function ki(e){var t=vi.current;_o(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 Ci(e,t){yi=e,xi=bi=null,null!==(e=e.dependencies)&&null!==e.firstContext&&(0!==(e.lanes&t)&&(bs=!0),e.firstContext=null)}function _i(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 ji(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function Fi(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 Oi(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 Di(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 Li(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=L({},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);Dl|=a,e.lanes=a,e.memoizedState=d}}function Bi(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 $i=(new n.Component).refs;function Ii(e,t,r,n){r=null==(r=r(n,t=e.memoizedState))?t:L({},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=ji(n,o);i.payload=t,null!=r&&(i.callback=r),null!==(t=Fi(e,i,o))&&(ru(t,e,o,n),Oi(t,e,o))},enqueueReplaceState:function(e,t,r){e=e._reactInternals;var n=eu(),o=tu(e),i=ji(n,o);i.tag=1,i.payload=t,null!=r&&(i.callback=r),null!==(t=Fi(e,i,o))&&(ru(t,e,o,n),Oi(t,e,o))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var r=eu(),n=tu(e),o=ji(r,n);o.tag=2,null!=t&&(o.callback=t),null!==(t=Fi(e,o,n))&&(ru(t,e,n,r),Oi(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=_i(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=$i,Ri(e);var i=t.contextType;"object"==typeof i&&null!==i?o.context=_i(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),Li(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===$i&&(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=ju(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=Lu(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=Fu(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=Bu(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=Ou(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=Lu(""+t,e.mode,r)).return=e,t;if("object"==typeof t&&null!==t){switch(t.$$typeof){case w:return(r=Fu(t.type,t.key,t.props,null,e.mode,r)).ref=qi(e,null,t),r.return=e,r;case k:return(t=Bu(t,e.mode,r)).return=e,t;case M:return f(e,(0,t._init)(t._payload),r)}if(te(t)||O(t))return(t=Ou(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)||O(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)||O(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=O(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=Ou(a.props.children,n.mode,l,a.key)).return=n,n=i):((l=Fu(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=Bu(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(O(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=Lu(a,n.mode,l)).return=n,n=i),s(n)):r(n,i)}}var Gi=Ki(!0),Qi=Ki(!1),Zi={},Ji=Co(Zi),ea=Co(Zi),ta=Co(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)}_o(Ji),Eo(Ji,t)}function oa(){_o(Ji),_o(ea),_o(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&&(_o(Ji),_o(ea))}var sa=Co(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 Ca(){var e=0!==ba;return ba=0,e}function _a(){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,Dl|=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,Dl|=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(Fa.bind(null,r,n,e),[e]),n.getSnapshot!==t||a||null!==ga&&1&ga.memoizedState.tag){if(r.flags|=2048,Ba(9,ja.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 ja(e,t,r,n){t.value=r,t.getSnapshot=n,Oa(t)&&Da(e)}function Fa(e,t,r){return r(function(){Oa(t)&&Da(e)})}function Oa(e){var t=e.getSnapshot;e=e.value;try{var r=t();return!an(e,r)}catch(e){return!0}}function Da(e){var t=zi(e,1);null!==t&&ru(t,e,1,-1)}function La(e){var t=_a();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 Ba(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 $a(){return Ea().memoizedState}function Ia(e,t,r,n){var o=_a();ha.flags|=e,o.memoizedState=Ba(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=Ba(t,r,i,n))}ha.flags|=e,o.memoizedState=Ba(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,Dl|=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:_i,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:_i,useCallback:function(e,t){return _a().memoizedState=[e,void 0===t?null:t],e},useContext:_i,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=_a();return t=void 0===t?null:t,e=e(),r.memoizedState=[e,t],e},useReducer:function(e,t,r){var n=_a();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},_a().memoizedState=e},useState:La,useDebugValue:Xa,useDeferredValue:function(e){return _a().memoizedState=e},useTransition:function(){var e=La(!1),t=e[0];return e=Za.bind(null,e[1]),_a().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,r){var n=ha,o=_a();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(Fa.bind(null,n,a,e),[e]),n.flags|=2048,Ba(9,ja.bind(null,n,a,r,t),void 0,null),r},useId:function(){var e=_a(),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:_i,useCallback:Ka,useContext:_i,useEffect:Wa,useImperativeHandle:Ya,useInsertionEffect:Ua,useLayoutEffect:Ha,useMemo:Ga,useReducer:Ta,useRef:$a,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:_i,useCallback:Ka,useContext:_i,useEffect:Wa,useImperativeHandle:Ya,useInsertionEffect:Ua,useLayoutEffect:Ha,useMemo:Ga,useReducer:za,useRef:$a,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=ji(-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=ji(-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=_u.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=ji(-1,1)).tag=2,Fi(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 Ci(t,o),n=Sa(e,t,r,n,i,o),r=Ca(),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=Fu(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,0===(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=ju(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,0===(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 Cs(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(jl,Ml),Ml|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},n=null!==i?i.baseLanes:r,Eo(jl,Ml),Ml|=n}else t.memoizedState={baseLanes:0,cachePool:null,transitions:null},Eo(jl,Ml),Ml|=r;else null!==i?(n=i.baseLanes|r,t.memoizedState=null):n=r,Eo(jl,Ml),Ml|=n;return xs(e,t,o,r),t.child}function _s(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),Ci(t,o),r=Sa(e,t,r,n,i,o),n=Ca(),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;Do(t)}else i=!1;if(Ci(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?_i(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,Li(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?_i(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,Li(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){_s(e,t);var a=!!(128&t.flags);if(!n&&!a)return o&&Lo(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&&Lo(t,r,!0),t.child}function zs(e){var t=e.stateNode;t.pendingContext?Fo(0,t.pendingContext,t.pendingContext!==t.context):t.context&&Fo(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,js,Fs,Os={dehydrated:null,treeContext:null,retryLane:0};function Ds(e){return{baseLanes:e,cachePool:null,transitions:null}}function Ls(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=Du(l,o,0,null):(s.childLanes=0,s.pendingProps=l),e=Ou(e,o,r,null),s.return=t,e.return=t,s.sibling=e,t.child=s,t.child.memoizedState=Ds(r),t.memoizedState=Os,e):Bs(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,$s(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=Du({mode:"visible",children:n.children},o,0,null),(a=Ou(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=Ds(s),t.memoizedState=Os,a);if(!(1&t.mode))return $s(e,t,s,null);if("$!"===o.data){if(n=o.nextSibling&&o.nextSibling.dataset)var l=n.dgst;return n=l,$s(e,t,s,n=cs(a=Error(i(419)),n,void 0))}if(l=0!==(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=0!==(o&(n.suspendedLanes|s))?0:o)&&o!==a.retryLane&&(a.retryLane=o,zi(e,o),ru(n,e,o,-1))}return mu(),$s(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=Bs(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=ju(a,u)).subtreeFlags=14680064&a.subtreeFlags:((o=t.child).childLanes=0,o.pendingProps=u,t.deletions=null),null!==n?s=ju(n,s):(s=Ou(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)?Ds(r):{baseLanes:l.baseLanes|r,cachePool:null,transitions:l.transitions},s.memoizedState=l,s.childLanes=e.childLanes&~r,t.memoizedState=Os,o}return e=(s=e.child).sibling,o=ju(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 Bs(e,t){return(t=Du({mode:"visible",children:t},e.mode,0,null)).return=e,e.child=t}function $s(e,t,r,n){return null!==n&&hi(n),Gi(t,e.child,null,r),(e=Bs(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),Dl|=t.lanes,0===(r&t.childLanes))return null;if(null!==e&&t.child!==e.child)throw Error(i(153));if(null!==t.child){for(r=ju(e=t.child,e.pendingProps),t.child=r,r.return=t;null!==e.sibling;)e=e.sibling,(r=r.sibling=ju(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)&&jo(),qs(t),null;case 3:return n=t.stateNode,oa(),_o(zo),_o(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)js(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":Bn("cancel",n),Bn("close",n);break;case"iframe":case"object":case"embed":Bn("load",n);break;case"video":case"audio":for(o=0;o<Fn.length;o++)Bn(Fn[o],n);break;case"source":Bn("error",n);break;case"img":case"image":case"link":Bn("error",n),Bn("load",n);break;case"details":Bn("toggle",n);break;case"input":G(n,a),Bn("invalid",n);break;case"select":n._wrapperState={wasMultiple:!!a.multiple},Bn("invalid",n);break;case"textarea":oe(n,a),Bn("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&&Bn("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":Bn("cancel",e),Bn("close",e),o=n;break;case"iframe":case"object":case"embed":Bn("load",e),o=n;break;case"video":case"audio":for(o=0;o<Fn.length;o++)Bn(Fn[o],e);o=n;break;case"source":Bn("error",e),o=n;break;case"img":case"image":case"link":Bn("error",e),Bn("load",e),o=n;break;case"details":Bn("toggle",e),o=n;break;case"input":G(e,n),o=K(e,n),Bn("invalid",e);break;case"option":default:o=n;break;case"select":e._wrapperState={wasMultiple:!!n.multiple},o=L({},n,{value:void 0}),Bn("invalid",e);break;case"textarea":oe(e,n),o=ne(e,n),Bn("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&&Bn("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)Fs(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(_o(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===Fl&&(Fl=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(_o(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!==Fl||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)&&jo(),65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 3:return oa(),_o(zo),_o(To),ca(),65536&(e=t.flags)&&!(128&e)?(t.flags=-65537&e|128,t):null;case 5:return aa(t),null;case 13:if(_o(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 _o(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(){},js=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=L({},o,{value:void 0}),n=L({},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&&Bn("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)}},Fs=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){Cu(e,t,r)}else r.current=null}function el(e,t,r){try{r()}catch(r){Cu(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){Cu(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){Cu(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){Cu(e,e.return,t)}try{rl(5,e,e.return)}catch(t){Cu(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){Cu(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){Cu(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){Cu(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){Cu(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){Cu(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){Cu(e,e.return,t)}}}else if(6===f.tag){if(null===d)try{f.stateNode.nodeValue=c?"":f.memoizedProps}catch(t){Cu(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){Cu(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&&Bi(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}Bi(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){Cu(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){Cu(t,r,e)}break;case 1:var n=t.stateNode;if("function"==typeof n.componentDidMount){var o=t.return;try{n.componentDidMount()}catch(e){Cu(t,o,e)}}var i=t.return;try{ol(t)}catch(e){Cu(t,i,e)}break;case 5:var a=t.return;try{ol(t)}catch(e){Cu(t,a,e)}}}catch(e){Cu(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,Cl=Math.ceil,_l=x.ReactCurrentDispatcher,El=x.ReactCurrentOwner,Pl=x.ReactCurrentBatchConfig,Tl=0,zl=null,Al=null,Rl=0,Ml=0,jl=Co(0),Fl=0,Ol=null,Dl=0,Ll=0,Bl=0,$l=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)&&(Ll|=r),4===Fl&&su(e,Rl)),nu(e,n),1===r&&0===Tl&&!(1&t.mode)&&(Vl=Qe()+500,$o&&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?0!==(s&r)&&0===(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){$o=!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||0!==(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(),_l.current=a,Tl=o,null!==Al?t=0:(zl=null,Rl=0,t=Fl)}if(0!==t){if(2===t&&0!==(o=ht(e))&&(n=o,t=iu(e,o)),1===t)throw r=Ol,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=Ol,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*Cl(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=$l;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&=~Bl,t&=~Ll,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=Ol,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,$o&&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=jl.current,_o(jl)}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)&&jo();break;case 3:oa(),_o(zo),_o(To),ca();break;case 5:aa(n);break;case 4:oa();break;case 13:case 19:_o(sa);break;case 10:ki(n.type._context);break;case 22:case 23:du()}r=r.return}if(zl=e,Al=e=ju(e.current,null),Rl=Ml=t,Fl=0,Ol=null,Bl=Ll=Dl=0,Il=$l=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){Fl=1,Ol=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!==Fl&&(Fl=2),null===$l?$l=[a]:$l.push(a),a=s;do{switch(a.tag){case 3:a.flags|=65536,t&=-t,a.lanes|=t,Di(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,Di(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=_l.current;return _l.current=is,null===e?is:e}function mu(){0!==Fl&&3!==Fl&&2!==Fl||(Fl=4),null===zl||!(268435455&Dl)&&!(268435455&Ll)||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,_l.current=n,null!==Al)throw Error(i(261));return zl=null,Rl=0,Fl}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 Fl=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===Fl&&(Fl=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){Cu(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){Cu(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=Fi(e,t=ps(0,t=us(r,t),1),1),t=eu(),null!==e&&(gt(e,1,t),nu(e,t))}function Cu(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=Fi(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 _u(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===Fl||3===Fl&&(130023424&Rl)===Rl&&500>Qe()-Nl?fu(e,0):Bl|=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 ju(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 Fu(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 Ou(r.children,o,a,t);case C:s=8,o|=8;break;case _:return(e=Ru(12,r,t,2|o)).elementType=_,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 j:return Du(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 Ou(e,t,r,n){return(e=Ru(7,e,n,t)).lanes=r,e}function Du(e,t,r,n){return(e=Ru(22,e,n,t)).elementType=j,e.lanes=r,e.stateNode={isHidden:!1},e}function Lu(e,t,r){return(e=Ru(6,e,null,t)).lanes=r,e}function Bu(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 $u(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 Oo(e,r,t)}return t}function Iu(e,t,r,n){var o=t.current,i=eu(),a=tu(o);return r=$u(r),null===t.context?t.context=r:t.pendingContext=r,(t=ji(i,a)).payload={element:e},null!==(n=void 0===n?null:n)&&(t.callback=n),null!==(e=Fi(o,t,a))&&(ru(e,o,a,i),Oi(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(0===(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)&&Do(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):0!==(r&t.child.childLanes)?Ls(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=0!==(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,Cs(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);Ci(t,r),o=Sa(null,t,n,e,o,r);var a=Ca();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,Do(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),Li(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),_s(e,t),xs(e,t,s,r),t.child;case 6:return null===e&&ui(t),null;case 13:return Ls(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=ji(-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,Ci(t,r),n=n(o=_i(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,Do(t)):e=!1,Ci(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 Cs(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&&Dt(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},Ct=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}}},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,j(k);else{var t=n(c);null!==t&&F(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&&F(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,C=!1,_=null,E=-1,P=5,T=-1;function z(){return!(t.unstable_now()-T<P)}function A(){if(null!==_){var e=t.unstable_now();T=e;var r=!0;try{r=_(!0,e)}finally{r?S():(C=!1,_=null)}}else C=!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 j(e){_=e,C||(C=!0,S())}function F(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,j(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,F(w,i-a))):(e.sortIndex=s,r(u,e),m||h||(m=!0,j(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}()},1975:e=>{e.exports=function(){return this.wp.hooks}()}},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:()=>Ub,settings:()=>Hb});var t={};r.r(t),r.d(t,{name:()=>bx,settings:()=>xx});var n={};r.r(n),r.d(n,{name:()=>Cx,settings:()=>_x});var o=r(9113),i=r(1975);const a=JSON.parse('{"$schema":"https://schemas.wp.org/block-json/1.1","apiVersion":3,"name":"everest-forms/form-selector","version":"1.0.0","title":"Everest Forms","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},"popupType":{"type":"string","default":"none"},"popupHeaderDesc":{"type":"string","default":""},"popupHeaderTitle":{"type":"string","default":""},"popupFooterDesc":{"type":"string","default":""},"popupFooterTitle":{"type":"string","default":""},"popupButtonText":{"type":"string","default":"View Form"},"popupSize":{"type":"string","default":""}},"editorScript":"everest-forms-block-editor","editorStyle":"everest-forms-block-editor"}');var s=r(1993),l=r.n(s),u=(...e)=>e.filter(Boolean).join(" ");function c(e){const t=typeof e;return null!=e&&("object"===t||"function"===t)&&!Array.isArray(e)}function d(e,...t){return f(e)?e(...t):e}var f=e=>"function"==typeof e;function p(...e){return function(t){e.some(e=>(null==e||e(t),null==t?void 0:t.defaultPrevented))}}function h(...e){return function(t){e.forEach(e=>{null==e||e(t)})}}var m=r(8394),g=e=>"string"==typeof e?e.replace(/!(important)?$/,"").trim():e;function v(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=g(n),a=e?`${e}.${i}`:i;let s=c(r.__cssMap)&&a in r.__cssMap?r.__cssMap[a].varRef:t;return s=g(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 y=(...e)=>t=>e.reduce((e,t)=>t(e),t);function b(e,t){return r=>{const n={property:r,scale:e};return n.transform=v({scale:e,transform:t}),n}}var x=({rtl:e,ltr:t})=>r=>"rtl"===r.direction?e:t,w=["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))"],k={"--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(" ")},S={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,/*!*/ /*!*/)"},C={"row-reverse":{space:"--chakra-space-x-reverse",divide:"--chakra-divide-x-reverse"},"column-reverse":{space:"--chakra-space-y-reverse",divide:"--chakra-divide-y-reverse"}},_={"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"},E=new Set(Object.values(_)),P=new Set(["none","-moz-initial","inherit","initial","revert","unset"]),T=e=>e.trim(),z=e=>"string"==typeof e&&e.includes("(")&&e.includes(")"),A=e=>t=>`${e}(${t})`,R={filter:e=>"auto"!==e?e:k,backdropFilter:e=>"auto"!==e?e:S,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(", ")}}(R.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))",...w].join(" "):"auto-gpu"===e?["translate3d(var(--chakra-translate-x, 0), var(--chakra-translate-y, 0), 0)",...w].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||P.has(e))return e;if(!z(e)&&!P.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(T).filter(Boolean);if(0===(null==s?void 0:s.length))return e;const l=a in _?_[a]:a;return s.unshift(l),`${i}(${s.map(e=>{if(E.has(e))return e;const r=e.indexOf(" "),[n,o]=-1!==r?[e.substr(0,r),e.substr(r+1)]:[e],i=z(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:A("blur"),opacity:A("opacity"),brightness:A("brightness"),contrast:A("contrast"),dropShadow:A("drop-shadow"),grayscale:A("grayscale"),hueRotate:e=>A("hue-rotate")(R.degree(e)),invert:A("invert"),saturate:A("saturate"),sepia:A("sepia"),bgImage:e=>null==e||z(e)||P.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=C[e])?t:{},o={flexDirection:e};return r&&(o[r]=1),n&&(o[n]=1),o}},M={borderWidths:b("borderWidths"),borderStyles:b("borderStyles"),colors:b("colors"),borders:b("borders"),gradients:b("gradients",R.gradient),radii:b("radii",R.px),space:b("space",y(R.vh,R.px)),spaceT:b("space",y(R.vh,R.px)),degreeT:e=>({property:e,transform:R.degree}),prop:(e,t,r)=>({property:e,scale:t,...t&&{transform:v({scale:t,transform:r})}}),propT:(e,t)=>({property:e,transform:t}),sizes:b("sizes",y(R.vh,R.px)),sizesT:b("sizes",y(R.vh,R.fraction)),shadows:b("shadows"),logical:function(e){const{property:t,scale:r,transform:n}=e;return{scale:r,property:x(t),transform:r?v({scale:r,compose:n}):n}},blur:b("blur",R.blur)},j={background:M.colors("background"),backgroundColor:M.colors("backgroundColor"),backgroundImage:M.gradients("backgroundImage"),backgroundSize:!0,backgroundPosition:!0,backgroundRepeat:!0,backgroundAttachment:!0,backgroundClip:{transform:R.bgClip},bgSize:M.prop("backgroundSize"),bgPosition:M.prop("backgroundPosition"),bg:M.colors("background"),bgColor:M.colors("backgroundColor"),bgPos:M.prop("backgroundPosition"),bgRepeat:M.prop("backgroundRepeat"),bgAttachment:M.prop("backgroundAttachment"),bgGradient:M.gradients("backgroundImage"),bgClip:{transform:R.bgClip}};Object.assign(j,{bgImage:j.backgroundImage,bgImg:j.backgroundImage});var F={border:M.borders("border"),borderWidth:M.borderWidths("borderWidth"),borderStyle:M.borderStyles("borderStyle"),borderColor:M.colors("borderColor"),borderRadius:M.radii("borderRadius"),borderTop:M.borders("borderTop"),borderBlockStart:M.borders("borderBlockStart"),borderTopLeftRadius:M.radii("borderTopLeftRadius"),borderStartStartRadius:M.logical({scale:"radii",property:{ltr:"borderTopLeftRadius",rtl:"borderTopRightRadius"}}),borderEndStartRadius:M.logical({scale:"radii",property:{ltr:"borderBottomLeftRadius",rtl:"borderBottomRightRadius"}}),borderTopRightRadius:M.radii("borderTopRightRadius"),borderStartEndRadius:M.logical({scale:"radii",property:{ltr:"borderTopRightRadius",rtl:"borderTopLeftRadius"}}),borderEndEndRadius:M.logical({scale:"radii",property:{ltr:"borderBottomRightRadius",rtl:"borderBottomLeftRadius"}}),borderRight:M.borders("borderRight"),borderInlineEnd:M.borders("borderInlineEnd"),borderBottom:M.borders("borderBottom"),borderBlockEnd:M.borders("borderBlockEnd"),borderBottomLeftRadius:M.radii("borderBottomLeftRadius"),borderBottomRightRadius:M.radii("borderBottomRightRadius"),borderLeft:M.borders("borderLeft"),borderInlineStart:{property:"borderInlineStart",scale:"borders"},borderInlineStartRadius:M.logical({scale:"radii",property:{ltr:["borderTopLeftRadius","borderBottomLeftRadius"],rtl:["borderTopRightRadius","borderBottomRightRadius"]}}),borderInlineEndRadius:M.logical({scale:"radii",property:{ltr:["borderTopRightRadius","borderBottomRightRadius"],rtl:["borderTopLeftRadius","borderBottomLeftRadius"]}}),borderX:M.borders(["borderLeft","borderRight"]),borderInline:M.borders("borderInline"),borderY:M.borders(["borderTop","borderBottom"]),borderBlock:M.borders("borderBlock"),borderTopWidth:M.borderWidths("borderTopWidth"),borderBlockStartWidth:M.borderWidths("borderBlockStartWidth"),borderTopColor:M.colors("borderTopColor"),borderBlockStartColor:M.colors("borderBlockStartColor"),borderTopStyle:M.borderStyles("borderTopStyle"),borderBlockStartStyle:M.borderStyles("borderBlockStartStyle"),borderBottomWidth:M.borderWidths("borderBottomWidth"),borderBlockEndWidth:M.borderWidths("borderBlockEndWidth"),borderBottomColor:M.colors("borderBottomColor"),borderBlockEndColor:M.colors("borderBlockEndColor"),borderBottomStyle:M.borderStyles("borderBottomStyle"),borderBlockEndStyle:M.borderStyles("borderBlockEndStyle"),borderLeftWidth:M.borderWidths("borderLeftWidth"),borderInlineStartWidth:M.borderWidths("borderInlineStartWidth"),borderLeftColor:M.colors("borderLeftColor"),borderInlineStartColor:M.colors("borderInlineStartColor"),borderLeftStyle:M.borderStyles("borderLeftStyle"),borderInlineStartStyle:M.borderStyles("borderInlineStartStyle"),borderRightWidth:M.borderWidths("borderRightWidth"),borderInlineEndWidth:M.borderWidths("borderInlineEndWidth"),borderRightColor:M.colors("borderRightColor"),borderInlineEndColor:M.colors("borderInlineEndColor"),borderRightStyle:M.borderStyles("borderRightStyle"),borderInlineEndStyle:M.borderStyles("borderInlineEndStyle"),borderTopRadius:M.radii(["borderTopLeftRadius","borderTopRightRadius"]),borderBottomRadius:M.radii(["borderBottomLeftRadius","borderBottomRightRadius"]),borderLeftRadius:M.radii(["borderTopLeftRadius","borderBottomLeftRadius"]),borderRightRadius:M.radii(["borderTopRightRadius","borderBottomRightRadius"])};Object.assign(F,{rounded:F.borderRadius,roundedTop:F.borderTopRadius,roundedTopLeft:F.borderTopLeftRadius,roundedTopRight:F.borderTopRightRadius,roundedTopStart:F.borderStartStartRadius,roundedTopEnd:F.borderStartEndRadius,roundedBottom:F.borderBottomRadius,roundedBottomLeft:F.borderBottomLeftRadius,roundedBottomRight:F.borderBottomRightRadius,roundedBottomStart:F.borderEndStartRadius,roundedBottomEnd:F.borderEndEndRadius,roundedLeft:F.borderLeftRadius,roundedRight:F.borderRightRadius,roundedStart:F.borderInlineStartRadius,roundedEnd:F.borderInlineEndRadius,borderStart:F.borderInlineStart,borderEnd:F.borderInlineEnd,borderTopStartRadius:F.borderStartStartRadius,borderTopEndRadius:F.borderStartEndRadius,borderBottomStartRadius:F.borderEndStartRadius,borderBottomEndRadius:F.borderEndEndRadius,borderStartRadius:F.borderInlineStartRadius,borderEndRadius:F.borderInlineEndRadius,borderStartWidth:F.borderInlineStartWidth,borderEndWidth:F.borderInlineEndWidth,borderStartColor:F.borderInlineStartColor,borderEndColor:F.borderInlineEndColor,borderStartStyle:F.borderInlineStartStyle,borderEndStyle:F.borderInlineEndStyle});var O={color:M.colors("color"),textColor:M.colors("color"),fill:M.colors("fill"),stroke:M.colors("stroke")},D={boxShadow:M.shadows("boxShadow"),mixBlendMode:!0,blendMode:M.prop("mixBlendMode"),backgroundBlendMode:!0,bgBlendMode:M.prop("backgroundBlendMode"),opacity:!0};Object.assign(D,{shadow:D.boxShadow});var L={filter:{transform:R.filter},blur:M.blur("--chakra-blur"),brightness:M.propT("--chakra-brightness",R.brightness),contrast:M.propT("--chakra-contrast",R.contrast),hueRotate:M.propT("--chakra-hue-rotate",R.hueRotate),invert:M.propT("--chakra-invert",R.invert),saturate:M.propT("--chakra-saturate",R.saturate),dropShadow:M.propT("--chakra-drop-shadow",R.dropShadow),backdropFilter:{transform:R.backdropFilter},backdropBlur:M.blur("--chakra-backdrop-blur"),backdropBrightness:M.propT("--chakra-backdrop-brightness",R.brightness),backdropContrast:M.propT("--chakra-backdrop-contrast",R.contrast),backdropHueRotate:M.propT("--chakra-backdrop-hue-rotate",R.hueRotate),backdropInvert:M.propT("--chakra-backdrop-invert",R.invert),backdropSaturate:M.propT("--chakra-backdrop-saturate",R.saturate)},B={alignItems:!0,alignContent:!0,justifyItems:!0,justifyContent:!0,flexWrap:!0,flexDirection:{transform:R.flexDirection},flex:!0,flexFlow:!0,flexGrow:!0,flexShrink:!0,flexBasis:M.sizes("flexBasis"),justifySelf:!0,alignSelf:!0,order:!0,placeItems:!0,placeContent:!0,placeSelf:!0,gap:M.space("gap"),rowGap:M.space("rowGap"),columnGap:M.space("columnGap")};Object.assign(B,{flexDir:B.flexDirection});var $={gridGap:M.space("gridGap"),gridColumnGap:M.space("gridColumnGap"),gridRowGap:M.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},I={appearance:!0,cursor:!0,resize:!0,userSelect:!0,pointerEvents:!0,outline:{transform:R.outline},outlineOffset:!0,outlineColor:M.colors("outlineColor")},N={width:M.sizesT("width"),inlineSize:M.sizesT("inlineSize"),height:M.sizes("height"),blockSize:M.sizes("blockSize"),boxSize:M.sizes(["width","height"]),minWidth:M.sizes("minWidth"),minInlineSize:M.sizes("minInlineSize"),minHeight:M.sizes("minHeight"),minBlockSize:M.sizes("minBlockSize"),maxWidth:M.sizes("maxWidth"),maxInlineSize:M.sizes("maxInlineSize"),maxHeight:M.sizes("maxHeight"),maxBlockSize:M.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:M.propT("float",R.float),objectFit:!0,objectPosition:!0,visibility:!0,isolation:!0};Object.assign(N,{w:N.width,h:N.height,minW:N.minWidth,maxW:N.maxWidth,minH:N.minHeight,maxH:N.maxHeight,overscroll:N.overscrollBehavior,overscrollX:N.overscrollBehaviorX,overscrollY:N.overscrollBehaviorY});var V={listStyleType:!0,listStylePosition:!0,listStylePos:M.prop("listStylePosition"),listStyleImage:!0,listStyleImg:M.prop("listStyleImage")},W=(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}),U={border:"0px",clip:"rect(0, 0, 0, 0)",width:"1px",height:"1px",margin:"-1px",padding:"0px",overflow:"hidden",whiteSpace:"nowrap",position:"absolute"},H={position:"static",width:"auto",height:"auto",clip:"auto",padding:"0",margin:"0",overflow:"visible",whiteSpace:"normal"},q=(e,t,r)=>{const n={},o=W(e,t,{});for(const e in o)e in r&&null!=r[e]||(n[e]=o[e]);return n},Y={srOnly:{transform:e=>!0===e?U:"focusable"===e?H:{}},layerStyle:{processResult:!0,transform:(e,t,r)=>q(t,`layerStyles.${e}`,r)},textStyle:{processResult:!0,transform:(e,t,r)=>q(t,`textStyles.${e}`,r)},apply:{processResult:!0,transform:(e,t,r)=>q(t,e,r)}},X={position:!0,pos:M.prop("position"),zIndex:M.prop("zIndex","zIndices"),inset:M.spaceT("inset"),insetX:M.spaceT(["left","right"]),insetInline:M.spaceT("insetInline"),insetY:M.spaceT(["top","bottom"]),insetBlock:M.spaceT("insetBlock"),top:M.spaceT("top"),insetBlockStart:M.spaceT("insetBlockStart"),bottom:M.spaceT("bottom"),insetBlockEnd:M.spaceT("insetBlockEnd"),left:M.spaceT("left"),insetInlineStart:M.logical({scale:"space",property:{ltr:"left",rtl:"right"}}),right:M.spaceT("right"),insetInlineEnd:M.logical({scale:"space",property:{ltr:"right",rtl:"left"}})};Object.assign(X,{insetStart:X.insetInlineStart,insetEnd:X.insetInlineEnd});var K={ring:{transform:R.ring},ringColor:M.colors("--chakra-ring-color"),ringOffset:M.prop("--chakra-ring-offset-width"),ringOffsetColor:M.colors("--chakra-ring-offset-color"),ringInset:M.prop("--chakra-ring-inset")},G={margin:M.spaceT("margin"),marginTop:M.spaceT("marginTop"),marginBlockStart:M.spaceT("marginBlockStart"),marginRight:M.spaceT("marginRight"),marginInlineEnd:M.spaceT("marginInlineEnd"),marginBottom:M.spaceT("marginBottom"),marginBlockEnd:M.spaceT("marginBlockEnd"),marginLeft:M.spaceT("marginLeft"),marginInlineStart:M.spaceT("marginInlineStart"),marginX:M.spaceT(["marginInlineStart","marginInlineEnd"]),marginInline:M.spaceT("marginInline"),marginY:M.spaceT(["marginTop","marginBottom"]),marginBlock:M.spaceT("marginBlock"),padding:M.space("padding"),paddingTop:M.space("paddingTop"),paddingBlockStart:M.space("paddingBlockStart"),paddingRight:M.space("paddingRight"),paddingBottom:M.space("paddingBottom"),paddingBlockEnd:M.space("paddingBlockEnd"),paddingLeft:M.space("paddingLeft"),paddingInlineStart:M.space("paddingInlineStart"),paddingInlineEnd:M.space("paddingInlineEnd"),paddingX:M.space(["paddingInlineStart","paddingInlineEnd"]),paddingInline:M.space("paddingInline"),paddingY:M.space(["paddingTop","paddingBottom"]),paddingBlock:M.space("paddingBlock")};Object.assign(G,{m:G.margin,mt:G.marginTop,mr:G.marginRight,me:G.marginInlineEnd,marginEnd:G.marginInlineEnd,mb:G.marginBottom,ml:G.marginLeft,ms:G.marginInlineStart,marginStart:G.marginInlineStart,mx:G.marginX,my:G.marginY,p:G.padding,pt:G.paddingTop,py:G.paddingY,px:G.paddingX,pb:G.paddingBottom,pl:G.paddingLeft,ps:G.paddingInlineStart,paddingStart:G.paddingInlineStart,pr:G.paddingRight,pe:G.paddingInlineEnd,paddingEnd:G.paddingInlineEnd});var Q={textDecorationColor:M.colors("textDecorationColor"),textDecoration:!0,textDecor:{property:"textDecoration"},textDecorationLine:!0,textDecorationStyle:!0,textDecorationThickness:!0,textUnderlineOffset:!0,textShadow:M.shadows("textShadow")},Z={clipPath:!0,transform:M.propT("transform",R.transform),transformOrigin:!0,translateX:M.spaceT("--chakra-translate-x"),translateY:M.spaceT("--chakra-translate-y"),skewX:M.degreeT("--chakra-skew-x"),skewY:M.degreeT("--chakra-skew-y"),scaleX:M.prop("--chakra-scale-x"),scaleY:M.prop("--chakra-scale-y"),scale:M.prop(["--chakra-scale-x","--chakra-scale-y"]),rotate:M.degreeT("--chakra-rotate")},J={transition:!0,transitionDelay:!0,animation:!0,willChange:!0,transitionDuration:M.prop("transitionDuration","transition.duration"),transitionProperty:M.prop("transitionProperty","transition.property"),transitionTimingFunction:M.prop("transitionTimingFunction","transition.easing")},ee={fontFamily:M.prop("fontFamily","fonts"),fontSize:M.prop("fontSize","fontSizes",R.px),fontWeight:M.prop("fontWeight","fontWeights"),lineHeight:M.prop("lineHeight","lineHeights"),letterSpacing:M.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"}},te={scrollBehavior:!0,scrollSnapAlign:!0,scrollSnapStop:!0,scrollSnapType:!0,scrollMargin:M.spaceT("scrollMargin"),scrollMarginTop:M.spaceT("scrollMarginTop"),scrollMarginBottom:M.spaceT("scrollMarginBottom"),scrollMarginLeft:M.spaceT("scrollMarginLeft"),scrollMarginRight:M.spaceT("scrollMarginRight"),scrollMarginX:M.spaceT(["scrollMarginLeft","scrollMarginRight"]),scrollMarginY:M.spaceT(["scrollMarginTop","scrollMarginBottom"]),scrollPadding:M.spaceT("scrollPadding"),scrollPaddingTop:M.spaceT("scrollPaddingTop"),scrollPaddingBottom:M.spaceT("scrollPaddingBottom"),scrollPaddingLeft:M.spaceT("scrollPaddingLeft"),scrollPaddingRight:M.spaceT("scrollPaddingRight"),scrollPaddingX:M.spaceT(["scrollPaddingLeft","scrollPaddingRight"]),scrollPaddingY:M.spaceT(["scrollPaddingTop","scrollPaddingBottom"])};function re(e){return c(e)&&e.reference?e.reference:String(e)}var ne=(e,...t)=>t.map(re).join(` ${e} `).replace(/calc/g,""),oe=(...e)=>`calc(${ne("+",...e)})`,ie=(...e)=>`calc(${ne("-",...e)})`,ae=(...e)=>`calc(${ne("*",...e)})`,se=(...e)=>`calc(${ne("/",...e)})`,le=e=>{const t=re(e);return null==t||Number.isNaN(parseFloat(t))?ae(t,-1):String(t).startsWith("-")?String(t).slice(1):`-${t}`},ue=Object.assign(e=>({add:(...t)=>ue(oe(e,...t)),subtract:(...t)=>ue(ie(e,...t)),multiply:(...t)=>ue(ae(e,...t)),divide:(...t)=>ue(se(e,...t)),negate:()=>ue(le(e)),toString:()=>e.toString()}),{add:oe,subtract:ie,multiply:ae,divide:se,negate:le});function ce(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 fe(e,t,r){const n=de(e,r);return{variable:n,reference:ce(n,t)}}function pe(e){const t=null==e?0:e.length;return t?e[t-1]:void 0}function he(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 me=(e,t)=>parseInt(e[1],10)>parseInt(t[1],10)?1:-1,ge=e=>Object.fromEntries(Object.entries(e).sort(me));function ve(e){const t=ge(e);return Object.assign(Object.values(t),t)}function ye(e){var t;return e?"number"==typeof(e=null!=(t=he(e))?t:e)?`${e+-.02}`:e.replace(/(\d+\.?\d*)/u,e=>`${parseFloat(e)+-.02}`):e}function be(e,t){const r=["@media screen"];return e&&r.push("and",`(min-width: ${he(e)})`),t&&r.push("and",`(max-width: ${he(t)})`),r.join(" ")}function xe(e){var t;if(!e)return null;e.base=null!=(t=e.base)?t:"0px";const r=ve(e),n=Object.entries(e).sort(me).map(([e,t],r,n)=>{var o;let[,i]=null!=(o=n[r+1])?o:[];return i=parseFloat(i)>0?ye(i):void 0,{_minW:ye(t),breakpoint:e,minW:t,maxW:i,maxWQuery:be(null,i),minWQuery:be(t),minMaxQuery:be(t,i)}}),o=function(e){const t=Object.keys(ge(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:ge(e),asArray:ve(e),details:n,get:e=>n.find(t=>t.breakpoint===e),media:[null,...r.map(e=>be(e)).slice(1)],toArrayValue(e){if(!c(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===pe(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 we=(e,t)=>`${e}:hover ${t}, ${e}[data-hover] ${t}`,ke=(e,t)=>`${e}:focus ${t}, ${e}[data-focus] ${t}`,Se=(e,t)=>`${e}:focus-visible ${t}`,Ce=(e,t)=>`${e}:focus-within ${t}`,_e=(e,t)=>`${e}:active ${t}, ${e}[data-active] ${t}`,Ee=(e,t)=>`${e}:disabled ${t}, ${e}[data-disabled] ${t}`,Pe=(e,t)=>`${e}:invalid ${t}, ${e}[data-invalid] ${t}`,Te=(e,t)=>`${e}:checked ${t}, ${e}[data-checked] ${t}`,ze=e=>Re(t=>e(t,"&"),"[role=group]","[data-group]",".group"),Ae=e=>Re(t=>e(t,"~ &"),"[data-peer]",".peer"),Re=(e,...t)=>t.map(e).join(", "),Me={_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:ze(we),_peerHover:Ae(we),_groupFocus:ze(ke),_peerFocus:Ae(ke),_groupFocusVisible:ze(Se),_peerFocusVisible:Ae(Se),_groupActive:ze(_e),_peerActive:Ae(_e),_groupDisabled:ze(Ee),_peerDisabled:Ae(Ee),_groupInvalid:ze(Pe),_peerInvalid:Ae(Pe),_groupChecked:ze(Te),_peerChecked:Ae(Te),_groupFocusWithin:ze(Ce),_peerFocusWithin:Ae(Ce),_peerPlaceholderShown:Ae((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]"},je=Object.keys(Me);function Fe(e,t){return fe(String(e).replace(/\./g,"-"),void 0,t)}function Oe(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 De=["colors","borders","borderWidths","borderStyles","fonts","fontSizes","fontWeights","gradients","letterSpacings","lineHeights","radii","space","shadows","sizes","zIndices","transition","blur","breakpoints"],Le=e=>je.includes(e)||"default"===e;var Be=m({},j,F,O,B,N,L,K,I,$,Y,X,D,G,te,ee,Q,Z,V,J),$e=Object.assign({},G,N,B,$,X),Ie=(Object.keys($e),[...Object.keys(Be),...je]),Ne={...Be,...Me},Ve=e=>e in Ne,We=(e,t)=>e.startsWith("--")&&"string"==typeof t&&!function(e){return/^var\(--.+\)$/.test(e)}(t),Ue=(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 He=e=>t=>function(e){const{configs:t={},pseudos:r={},theme:n}=e,o=(e,i=!1)=>{var a,s,l;const u=d(e,n),f=(e=>t=>{if(!t.__breakpoints)return e;const{isResponsive:r,toArrayValue:n,media:o}=t.__breakpoints,i={};for(const a in e){let s=d(e[a],t);if(null==s)continue;if(s=c(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 p={};for(let e in f){let h=d(f[e],n);e in r&&(e=r[e]),We(e,h)&&(h=Ue(n,h));let g=t[e];if(!0===g&&(g={property:e}),c(h)){p[e]=null!=(a=p[e])?a:{},p[e]=m({},p[e],o(h,!0));continue}let v=null!=(l=null==(s=null==g?void 0:g.transform)?void 0:s.call(g,h,n,u))?l:h;v=(null==g?void 0:g.processResult)?o(v,!0):v;const y=d(null==g?void 0:g.property,n);if(!i&&(null==g?void 0:g.static)){const e=d(g.static,n);p=m({},p,e)}if(y&&Array.isArray(y))for(const e of y)p[e]=v;else y?"&"===y&&c(v)?p=m({},p,v):p[y]=v:c(v)?p=m({},p,v):p[e]=v}return p};return o}({theme:t,pseudos:Me,configs:Be})(e);function qe(e){return{definePartsStyle:e=>e,defineMultiStyleConfig:t=>({parts:e,...t})}}function Ye(e,t){for(let r=t+1;r<e.length;r++)if(null!=e[r])return r;return-1}function Xe(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 Ke=new Set([...Ie,"textStyle","layerStyle","apply","noOfLines","focusBorderColor","errorBorderColor","as","__css","css","sx"]),Ge=new Set(["htmlWidth","htmlHeight","htmlSize","htmlTranslate"]);function Qe(e){return Ge.has(e)||!Ke.has(e)}var Ze=(0,s.createContext)({});function Je(){const e=(0,s.useContext)(Ze);if(void 0===e)throw new Error("useColorMode must be used within a ColorModeProvider");return e}Ze.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 tt(e,t){const r={};return Object.keys(e).forEach(n=>{const o=e[n];t(o,n,e)&&(r[n]=o)}),r}var rt=e=>tt(e,e=>null!=e);function nt(e,...t){return"function"==typeof e?e(...t):e}function ot(){return ot=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},ot.apply(null,arguments)}function it(e){var t=Object.create(null);return function(r){return void 0===t[r]&&(t[r]=e(r)),t[r]}}var at=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|disableRemotePlayback|download|draggable|encType|enterKeyHint|fetchpriority|fetchPriority|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|popover|popoverTarget|popoverTargetAction|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,st=it(function(e){return at.test(e)||111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&e.charCodeAt(2)<91}),lt=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}(),ut=Math.abs,ct=String.fromCharCode,dt=Object.assign;function ft(e){return e.trim()}function pt(e,t,r){return e.replace(t,r)}function ht(e,t){return e.indexOf(t)}function mt(e,t){return 0|e.charCodeAt(t)}function gt(e,t,r){return e.slice(t,r)}function vt(e){return e.length}function yt(e){return e.length}function bt(e,t){return t.push(e),e}var xt=1,wt=1,kt=0,St=0,Ct=0,_t="";function Et(e,t,r,n,o,i,a){return{value:e,root:t,parent:r,type:n,props:o,children:i,line:xt,column:wt,length:a,return:""}}function Pt(e,t){return dt(Et("",null,null,"",null,null,0),e,{length:-e.length},t)}function Tt(){return Ct=St>0?mt(_t,--St):0,wt--,10===Ct&&(wt=1,xt--),Ct}function zt(){return Ct=St<kt?mt(_t,St++):0,wt++,10===Ct&&(wt=1,xt++),Ct}function At(){return mt(_t,St)}function Rt(){return St}function Mt(e,t){return gt(_t,e,t)}function jt(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 Ft(e){return xt=wt=1,kt=vt(_t=e),St=0,[]}function Ot(e){return _t="",e}function Dt(e){return ft(Mt(St-1,$t(91===e?e+2:40===e?e+1:e)))}function Lt(e){for(;(Ct=At())&&Ct<33;)zt();return jt(e)>2||jt(Ct)>3?"":" "}function Bt(e,t){for(;--t&&zt()&&!(Ct<48||Ct>102||Ct>57&&Ct<65||Ct>70&&Ct<97););return Mt(e,Rt()+(t<6&&32==At()&&32==zt()))}function $t(e){for(;zt();)switch(Ct){case e:return St;case 34:case 39:34!==e&&39!==e&&$t(Ct);break;case 40:41===e&&$t(e);break;case 92:zt()}return St}function It(e,t){for(;zt()&&e+Ct!==57&&(e+Ct!==84||47!==At()););return"/*"+Mt(t,St-1)+"*"+ct(47===e?e:zt())}function Nt(e){for(;!jt(At());)zt();return Mt(e,St)}var Vt="-ms-",Wt="-moz-",Ut="-webkit-",Ht="comm",qt="rule",Yt="decl",Xt="@keyframes";function Kt(e,t){for(var r="",n=yt(e),o=0;o<n;o++)r+=t(e[o],o,e,t)||"";return r}function Gt(e,t,r,n){switch(e.type){case"@layer":if(e.children.length)break;case"@import":case Yt:return e.return=e.return||e.value;case Ht:return"";case Xt:return e.return=e.value+"{"+Kt(e.children,n)+"}";case qt:e.value=e.props.join(",")}return vt(r=Kt(e.children,n))?e.return=e.value+"{"+r+"}":""}function Qt(e){return Ot(Zt("",null,null,null,[""],e=Ft(e),0,[0],e))}function Zt(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=zt()){case 40:if(108!=h&&58==mt(S,d-1)){-1!=ht(S+=pt(Dt(y),"&","&\f"),"&\f")&&(v=-1);break}case 34:case 39:case 91:S+=Dt(y);break;case 9:case 10:case 13:case 32:S+=Lt(h);break;case 92:S+=Bt(Rt()-1,7);continue;case 47:switch(At()){case 42:case 47:bt(er(It(zt(),Rt()),t,r),l);break;default:S+="/"}break;case 123*m:s[u++]=vt(S)*v;case 125*m:case 59:case 0:switch(y){case 0:case 125:g=0;case 59+c:-1==v&&(S=pt(S,/\f/g,"")),p>0&&vt(S)-d&&bt(p>32?tr(S+";",n,r,d-1):tr(pt(S," ","")+";",n,r,d-2),l);break;case 59:S+=";";default:if(bt(k=Jt(S,t,r,u,c,o,s,b,x=[],w=[],d),i),123===y)if(0===c)Zt(S,t,k,k,x,i,d,s,w);else switch(99===f&&110===mt(S,3)?100:f){case 100:case 108:case 109:case 115:Zt(e,k,k,n&&bt(Jt(e,k,k,0,0,o,s,b,o,x=[],d),w),o,w,d,s,n?x:w);break;default:Zt(S,k,k,k,[""],w,0,s,w)}}u=c=p=0,m=v=1,b=S="",d=a;break;case 58:d=1+vt(S),p=h;default:if(m<1)if(123==y)--m;else if(125==y&&0==m++&&125==Tt())continue;switch(S+=ct(y),y*m){case 38:v=c>0?1:(S+="\f",-1);break;case 44:s[u++]=(vt(S)-1)*v,v=1;break;case 64:45===At()&&(S+=Dt(zt())),f=At(),c=d=vt(b=S+=Nt(Rt())),y++;break;case 45:45===h&&2==vt(S)&&(m=0)}}return i}function Jt(e,t,r,n,o,i,a,s,l,u,c){for(var d=o-1,f=0===o?i:[""],p=yt(f),h=0,m=0,g=0;h<n;++h)for(var v=0,y=gt(e,d+1,d=ut(m=a[h])),b=e;v<p;++v)(b=ft(m>0?f[v]+" "+y:pt(y,/&\f/g,f[v])))&&(l[g++]=b);return Et(e,t,r,0===o?qt:s,l,u,c)}function er(e,t,r){return Et(e,t,r,Ht,ct(Ct),gt(e,2,-2),0)}function tr(e,t,r,n){return Et(e,t,r,Yt,gt(e,0,n),gt(e,n+1,-1),n)}var rr=function(e,t,r){for(var n=0,o=0;n=o,o=At(),38===n&&12===o&&(t[r]=1),!jt(o);)zt();return Mt(e,St)},nr=new WeakMap,or=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)||nr.get(r))&&!n){nr.set(e,!0);for(var o=[],i=function(e,t){return Ot(function(e,t){var r=-1,n=44;do{switch(jt(n)){case 0:38===n&&12===At()&&(t[r]=1),e[r]+=rr(St-1,t,r);break;case 2:e[r]+=Dt(n);break;case 4:if(44===n){e[++r]=58===At()?"&\f":"",t[r]=e[r].length;break}default:e[r]+=ct(n)}}while(n=zt());return e}(Ft(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]}}},ir=function(e){if("decl"===e.type){var t=e.value;108===t.charCodeAt(0)&&98===t.charCodeAt(2)&&(e.return="",e.value="")}};function ar(e,t){switch(function(e,t){return 45^mt(e,0)?(((t<<2^mt(e,0))<<2^mt(e,1))<<2^mt(e,2))<<2^mt(e,3):0}(e,t)){case 5103:return Ut+"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 Ut+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return Ut+e+Wt+e+Vt+e+e;case 6828:case 4268:return Ut+e+Vt+e+e;case 6165:return Ut+e+Vt+"flex-"+e+e;case 5187:return Ut+e+pt(e,/(\w+).+(:[^]+)/,Ut+"box-$1$2"+Vt+"flex-$1$2")+e;case 5443:return Ut+e+Vt+"flex-item-"+pt(e,/flex-|-self/,"")+e;case 4675:return Ut+e+Vt+"flex-line-pack"+pt(e,/align-content|flex-|-self/,"")+e;case 5548:return Ut+e+Vt+pt(e,"shrink","negative")+e;case 5292:return Ut+e+Vt+pt(e,"basis","preferred-size")+e;case 6060:return Ut+"box-"+pt(e,"-grow","")+Ut+e+Vt+pt(e,"grow","positive")+e;case 4554:return Ut+pt(e,/([^-])(transform)/g,"$1"+Ut+"$2")+e;case 6187:return pt(pt(pt(e,/(zoom-|grab)/,Ut+"$1"),/(image-set)/,Ut+"$1"),e,"")+e;case 5495:case 3959:return pt(e,/(image-set\([^]*)/,Ut+"$1$`$1");case 4968:return pt(pt(e,/(.+:)(flex-)?(.*)/,Ut+"box-pack:$3"+Vt+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+Ut+e+e;case 4095:case 3583:case 4068:case 2532:return pt(e,/(.+)-inline(.+)/,Ut+"$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(vt(e)-1-t>6)switch(mt(e,t+1)){case 109:if(45!==mt(e,t+4))break;case 102:return pt(e,/(.+:)(.+)-([^]+)/,"$1"+Ut+"$2-$3$1"+Wt+(108==mt(e,t+3)?"$3":"$2-$3"))+e;case 115:return~ht(e,"stretch")?ar(pt(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(115!==mt(e,t+1))break;case 6444:switch(mt(e,vt(e)-3-(~ht(e,"!important")&&10))){case 107:return pt(e,":",":"+Ut)+e;case 101:return pt(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+Ut+(45===mt(e,14)?"inline-":"")+"box$3$1"+Ut+"$2$3$1"+Vt+"$2box$3")+e}break;case 5936:switch(mt(e,t+11)){case 114:return Ut+e+Vt+pt(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return Ut+e+Vt+pt(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return Ut+e+Vt+pt(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return Ut+e+Vt+e+e}return e}var sr=[function(e,t,r,n){if(e.length>-1&&!e.return)switch(e.type){case Yt:e.return=ar(e.value,e.length);break;case Xt:return Kt([Pt(e,{value:pt(e.value,"@","@"+Ut)})],n);case qt: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 Kt([Pt(e,{props:[pt(t,/:(read-\w+)/,":-moz-$1")]})],n);case"::placeholder":return Kt([Pt(e,{props:[pt(t,/:(plac\w+)/,":"+Ut+"input-$1")]}),Pt(e,{props:[pt(t,/:(plac\w+)/,":-moz-$1")]}),Pt(e,{props:[pt(t,/:(plac\w+)/,Vt+"input-$1")]})],n)}return""})}}],lr=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||sr,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=[Gt,(d=function(e){l.insert(e)},function(e){e.root||(e=e.return)&&d(e)})],p=(u=[or,ir].concat(i,f),c=yt(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){Kt(Qt(e),p)}(e?e+"{"+t.styles+"}":t.styles),n&&(h.inserted[t.name]=!0)};var h={key:t,sheet:new lt({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},ur=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}},cr={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,fr=/_EMO_([^_]+?)_([^]*?)_EMO_/g,pr=function(e){return 45===e.charCodeAt(1)},hr=function(e){return null!=e&&"boolean"!=typeof e},mr=it(function(e){return pr(e)?e:e.replace(dr,"-$&").toLowerCase()}),gr=function(e,t){switch(e){case"animation":case"animationName":if("string"==typeof t)return t.replace(fr,function(e,t,r){return yr={name:t,styles:r,next:yr},t})}return 1===cr[e]||pr(e)||"number"!=typeof t||0===t?t:t+"px"};function vr(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 yr={name:o.name,styles:o.styles,next:yr},o.name;var i=r;if(void 0!==i.styles){var a=i.next;if(void 0!==a)for(;void 0!==a;)yr={name:a.name,styles:a.styles,next:yr},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+=vr(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]+"}":hr(s)&&(n+=mr(i)+":"+gr(i,s)+";")}else if(!Array.isArray(a)||"string"!=typeof a[0]||null!=t&&void 0!==t[a[0]]){var l=vr(e,t,a);switch(i){case"animation":case"animationName":n+=mr(i)+":"+l+";";break;default:n+=i+"{"+l+"}"}}else for(var u=0;u<a.length;u++)hr(a[u])&&(n+=mr(i)+":"+gr(i,a[u])+";")}return n}(e,t,r);case"function":if(void 0!==e){var s=yr,l=r(e);return yr=s,vr(e,t,l)}}var u=r;if(null==t)return u;var c=t[u];return void 0!==c?c:u}var yr,br=/label:\s*([^\s;{]+)\s*(;|$)/g;function xr(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="";yr=void 0;var i=e[0];null==i||void 0===i.raw?(n=!1,o+=vr(r,t,i)):o+=i[0];for(var a=1;a<e.length;a++)o+=vr(r,t,e[a]),n&&(o+=i[a]);br.lastIndex=0;for(var s,l="";null!==(s=br.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:yr}}var wr=!!s.useInsertionEffect&&s.useInsertionEffect,kr=wr||function(e){return e()},Sr=wr||s.useLayoutEffect,Cr=s.createContext("undefined"!=typeof HTMLElement?lr({key:"css"}):null);Cr.Provider;var _r,Er=function(e){return(0,s.forwardRef)(function(t,r){var n=(0,s.useContext)(Cr);return e(t,n,r)})},Pr=s.createContext({}),Tr=ur(function(e){return ur(function(t){return function(e,t){return"function"==typeof t?t(e):ot({},e,t)}(e,t)})}),zr=function(e){var t=s.useContext(Pr);return e.theme!==t&&(t=Tr(t)(e.theme)),s.createElement(Pr.Provider,{value:t},e.children)},Ar=function(e,t,r){var n=e.key+"-"+t.name;!1===r&&void 0===e.registered[n]&&(e.registered[n]=t.styles)},Rr=function(e,t,r){Ar(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)}},Mr=st,jr=function(e){return"theme"!==e},Fr=function(e){return"string"==typeof e&&e.charCodeAt(0)>96?Mr:jr},Or=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},Dr=function(e){var t=e.cache,r=e.serialized,n=e.isStringTag;return Ar(t,r,n),kr(function(){return Rr(t,r,n)}),null},Lr=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 l=Or(t,r,i),u=l||Fr(a),c=!u("as");return function(){var d=arguments,f=i&&void 0!==t.__emotion_styles?t.__emotion_styles.slice(0):[];if(void 0!==n&&f.push("label:"+n+";"),null==d[0]||void 0===d[0].raw)f.push.apply(f,d);else{f.push(d[0][0]);for(var p=d.length,h=1;h<p;h++)f.push(d[h],d[0][h])}var m=Er(function(e,t,r){var n,i,d,p,h=c&&e.as||a,m="",g=[],v=e;if(null==e.theme){for(var y in v={},e)v[y]=e[y];v.theme=s.useContext(Pr)}"string"==typeof e.className?(n=t.registered,i=g,d=e.className,p="",d.split(" ").forEach(function(e){void 0!==n[e]?i.push(n[e]+";"):e&&(p+=e+" ")}),m=p):null!=e.className&&(m=e.className+" ");var b=xr(f.concat(g),t.registered,v);m+=t.key+"-"+b.name,void 0!==o&&(m+=" "+o);var x=c&&void 0===l?Fr(h):u,w={};for(var k in e)c&&"as"===k||x(k)&&(w[k]=e[k]);return w.className=m,w.ref=r,s.createElement(s.Fragment,null,s.createElement(Dr,{cache:t,serialized:b,isStringTag:"string"==typeof h}),s.createElement(h,w))});return m.displayName=void 0!==n?n:"Styled("+("string"==typeof a?a:a.displayName||a.name||"Component")+")",m.defaultProps=t.defaultProps,m.__emotion_real=m,m.__emotion_base=a,m.__emotion_styles=f,m.__emotion_forwardProp=l,Object.defineProperty(m,"toString",{value:function(){return"."+o}}),m.withComponent=function(t,n){return e(t,ot({},r,n,{shouldForwardProp:Or(m,n,!0)})).apply(void 0,f)},m}}.bind();["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","marquee","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"].forEach(function(e){Lr[e]=Lr(e)});var Br=null!=(_r=Lr.default)?_r:Lr;function $r(e,t){const{baseStyle:r,...n}=null!=t?t:{};n.shouldForwardProp||(n.shouldForwardProp=Qe);const o=(({baseStyle:e})=>t=>{const{theme:r,css:n,__css:o,sx:i,...a}=t,s=tt(a,(e,t)=>Ve(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,nt(e,t),rt(s),i),u=He(l)(t.theme);return n?[u,n]:u})({baseStyle:r}),i=Br(e,n)(o);return s.forwardRef(function(e,t){const{colorMode:r,forced:n}=Je();return s.createElement(i,{ref:t,"data-theme":n?r:void 0,...e})})}var Ir=function(){const e=new Map;return new Proxy($r,{apply:(e,t,r)=>$r(...r),get:(t,r)=>(e.has(r)||e.set(r,$r(r)),e.get(r))})}();function Nr(){return Nr=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},Nr.apply(null,arguments)}const Vr=(0,s.createElement)("svg",{width:24,height:24,viewBox:"0 0 24 24"},(0,s.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 Wr=Er(function(e,t){var r=xr([e.styles],void 0,s.useContext(Pr)),n=s.useRef();return Sr(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]),Sr(function(){var e=n.current,o=e[0];if(e[1])e[1]=!1;else{if(void 0!==r.next&&Rr(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 Ur(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return xr(t)}var Hr=r(4848),qr=String.raw,Yr=qr` :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; } } `,Xr=()=>(0,Hr.jsx)(Wr,{styles:Yr}),Kr=({scope:e=""})=>(0,Hr.jsx)(Wr,{styles:qr` 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; } ${Yr} `});function Gr(e={}){const{name:t,strict:r=!0,hookName:n="useContext",providerName:o="Provider",errorMessage:i,defaultValue:a}=e,l=(0,s.createContext)(a);return l.displayName=t,[l.Provider,function e(){var t;const a=(0,s.useContext)(l);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},l]}var[Qr,Zr]=Gr({strict:!1,name:"PortalManagerContext"});function Jr(e){const{children:t,zIndex:r}=e;return(0,Hr.jsx)(Qr,{value:{zIndex:r},children:t})}function en(e){const{cssVarsRoot:t,theme:r,children:n}=e,o=(0,s.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,De)}(r),o=function(e){return e.semanticTokens}(r),i=function({tokens:e,semanticTokens:t}){const r={};return Oe(e,(e,t)=>{null!=e&&(r[t.join(".")]={isSemantic:!1,value:e})}),Oe(t,(e,t)=>{null!=e&&(r[t.join(".")]={isSemantic:!0,value:e})},{stop:e=>Object.keys(e).every(Le)}),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}=Fe(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=ue.negate(s),c=ue.negate(u);n[i]={value:a,var:l,varRef:c}}r[l]=s,n[o]={value:s,var:l,varRef:u};continue}const d=r=>{const n=[String(o).split(".")[0],r].join(".");if(!e[n])return r;const{reference:i}=Fe(n,null==t?void 0:t.cssVarPrefix);return i},f=c(s)?s:{default:s};r=m(r,Object.entries(f).reduce((e,[t,r])=>{var n,o;if(!r)return e;const i=d(`${r}`);return"default"===t?(e[l]=i,e):(e[null!=(o=null==(n=Me)?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:xe(r.breakpoints)}),r}(r),[r]);return(0,Hr.jsxs)(zr,{theme:o,children:[(0,Hr.jsx)(tn,{root:t}),n]})}function tn({root:e=":host, :root"}){const t=[e,"[data-theme]"].join(",");return(0,Hr.jsx)(Wr,{styles:e=>({[t]:e.__cssVars})})}Jr.displayName="PortalManager";var[rn,nn]=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,s.createContext)(void 0);return o.displayName=n,[o.Provider,function e(){var n;const i=(0,s.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 on(){const{colorMode:e}=Je();return(0,Hr.jsx)(Wr,{styles:t=>{const r=nt(et(t,"styles.global"),{theme:t,colorMode:e});if(r)return He(r)(t)}})}var an,sn="chakra-ui-light",ln="chakra-ui-dark",un="chakra-ui-color-mode",cn=(an=un,{ssr:!1,type:"localStorage",get(e){if(!(null==globalThis?void 0:globalThis.document))return e;let t;try{t=localStorage.getItem(an)||e}catch(e){}return t||e},set(e){try{localStorage.setItem(an,e)}catch(e){}}});var dn=Boolean(null==globalThis?void 0:globalThis.document)?s.useLayoutEffect:s.useEffect,fn=()=>{};function pn(e,t){return"cookie"===e.type&&e.ssr?e.get(t):t}function hn(e){const{value:t,children:r,options:{useSystemColorMode:n,initialColorMode:o,disableTransitionOnChange:i}={},colorModeManager:a=cn}=e,l="dark"===o?"dark":"light",[u,c]=(0,s.useState)(()=>pn(a,l)),[d,f]=(0,s.useState)(()=>pn(a)),{getSystemTheme:p,setClassName:h,setDataset:m,addListener:g}=(0,s.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?ln:sn),document.body.classList.remove(e?sn:ln)},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]),v="system"!==o||u?u:d,y=(0,s.useCallback)(e=>{const t="system"===e?p():e;c(t),h("dark"===t),m(t),a.set(t)},[a,p,h,m]);dn(()=>{"system"===o&&f(p())},[]),(0,s.useEffect)(()=>{const e=a.get();y(e||("system"!==o?l:"system"))},[a,l,o,y]);const b=(0,s.useCallback)(()=>{y("dark"===v?"light":"dark")},[v,y]);(0,s.useEffect)(()=>{if(n)return g(y)},[n,g,y]);const x=(0,s.useMemo)(()=>({colorMode:null!=t?t:v,toggleColorMode:t?fn:b,setColorMode:t?fn:y,forced:void 0!==t}),[v,b,y,t]);return(0,Hr.jsx)(Ze.Provider,{value:x,children:r})}hn.displayName="ColorModeProvider";var mn=(0,s.createContext)({getDocument:()=>document,getWindow:()=>window});function gn(e){const{children:t,environment:r,disabled:n}=e,o=(0,s.useRef)(null),i=(0,s.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,Hr.jsxs)(mn.Provider,{value:i,children:[t,a&&(0,Hr.jsx)("span",{id:"__chakra_env",hidden:!0,ref:o})]})}mn.displayName="EnvironmentContext",gn.displayName="EnvironmentProvider";var vn=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,Hr.jsx)(gn,{environment:s,disabled:u,children:t});return(0,Hr.jsx)(en,{theme:a,cssVarsRoot:l,children:(0,Hr.jsxs)(hn,{colorModeManager:r,options:a.config,children:[i?(0,Hr.jsx)(Kr,{scope:o}):(0,Hr.jsx)(Xr,{}),!c&&(0,Hr.jsx)(on,{}),n?(0,Hr.jsx)(Jr,{zIndex:n,children:d}):d]})})},yn={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"}},bn={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"},xn={...bn,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"}},wn={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"}},...yn,sizes:xn,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:bn,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:kn,definePartsStyle:Sn}=qe(["stepper","step","title","description","indicator","separator","icon","number"]),Cn=fe("stepper-indicator-size"),_n=fe("stepper-icon-size"),En=fe("stepper-title-font-size"),Pn=fe("stepper-description-font-size"),Tn=fe("stepper-accent-color"),zn=kn({baseStyle:Sn(({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"},[Tn.variable]:`colors.${e}.500`,_dark:{[Tn.variable]:`colors.${e}.200`}},title:{fontSize:En.reference,fontWeight:"medium"},description:{fontSize:Pn.reference,color:"chakra-subtle-text"},number:{fontSize:En.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:_n.reference,height:_n.reference},indicator:{flexShrink:0,borderRadius:"full",width:Cn.reference,height:Cn.reference,display:"flex",justifyContent:"center",alignItems:"center","&[data-status=active]":{borderWidth:"2px",borderColor:Tn.reference},"&[data-status=complete]":{bg:Tn.reference,color:"chakra-inverse-text"},"&[data-status=incomplete]":{borderWidth:"2px"}},separator:{bg:"chakra-border-color",flex:"1","&[data-status=complete]":{bg:Tn.reference},"&[data-orientation=horizontal]":{width:"100%",height:"2px",marginStart:"2"},"&[data-orientation=vertical]":{width:"2px",position:"absolute",height:"100%",maxHeight:`calc(100% - ${Cn.reference} - 8px)`,top:`calc(${Cn.reference} + 4px)`,insetStart:`calc(${Cn.reference} / 2 - 1px)`}}})),sizes:{xs:Sn({stepper:{[Cn.variable]:"sizes.4",[_n.variable]:"sizes.3",[En.variable]:"fontSizes.xs",[Pn.variable]:"fontSizes.xs"}}),sm:Sn({stepper:{[Cn.variable]:"sizes.6",[_n.variable]:"sizes.4",[En.variable]:"fontSizes.sm",[Pn.variable]:"fontSizes.xs"}}),md:Sn({stepper:{[Cn.variable]:"sizes.8",[_n.variable]:"sizes.5",[En.variable]:"fontSizes.md",[Pn.variable]:"fontSizes.sm"}}),lg:Sn({stepper:{[Cn.variable]:"sizes.10",[_n.variable]:"sizes.6",[En.variable]:"fontSizes.lg",[Pn.variable]:"fontSizes.md"}})},defaultProps:{size:"md",colorScheme:"blue"}});function An(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 An(e,t)},toPart:n,extend:function(...r){for(const e of r)e in t||(t[e]=n(e));return An(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 Rn=An("accordion").parts("root","container","button","panel").extend("icon"),Mn=An("alert").parts("title","description","container").extend("icon","spinner"),jn=An("avatar").parts("label","badge","container").extend("excessLabel","group"),Fn=An("breadcrumb").parts("link","item","container").extend("separator"),On=(An("button").parts(),An("checkbox").parts("control","icon","container").extend("label")),Dn=(An("progress").parts("track","filledTrack").extend("label"),An("drawer").parts("overlay","dialogContainer","dialog").extend("header","closeButton","body","footer")),Ln=An("editable").parts("preview","input","textarea"),Bn=An("form").parts("container","requiredIndicator","helperText"),$n=An("formError").parts("text","icon"),In=An("input").parts("addon","field","element","group"),Nn=An("list").parts("container","item","icon"),Vn=An("menu").parts("button","list","item").extend("groupTitle","icon","command","divider"),Wn=An("modal").parts("overlay","dialogContainer","dialog").extend("header","closeButton","body","footer"),Un=An("numberinput").parts("root","field","stepperGroup","stepper"),Hn=(An("pininput").parts("field"),An("popover").parts("content","header","body","footer").extend("popper","arrow","closeButton")),qn=An("progress").parts("label","filledTrack","track"),Yn=An("radio").parts("container","control","label"),Xn=An("select").parts("field","icon"),Kn=An("slider").parts("container","track","thumb","filledTrack","mark"),Gn=An("stat").parts("container","label","helpText","number","icon"),Qn=An("switch").parts("container","track","thumb","label"),Zn=An("table").parts("table","thead","tbody","tr","th","td","tfoot","caption"),Jn=An("tabs").parts("root","tab","tablist","tabpanel","tabpanels","indicator"),eo=An("tag").parts("container","label","closeButton"),to=An("card").parts("container","header","body","footer");function ro(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 no(e,t){return`var(${ro(e)}${t?`, ${t}`:""})`}function oo(e,t){const r=function(e,t=""){return`--${function(e,t=""){return[t,ro(e)].filter(Boolean).join("-")}(e,t)}`}(e,null==t?void 0:t.prefix);return{variable:r,reference:no(r,(n=null==t?void 0:t.fallback,"string"==typeof n?n:null==n?void 0:n.reference))};var n}function io(e){return c(e)&&e.reference?e.reference:String(e)}An("stepper").parts("stepper","step","title","description","indicator","separator","icon","number");var ao=(e,...t)=>t.map(io).join(` ${e} `).replace(/calc/g,""),so=(...e)=>`calc(${ao("+",...e)})`,lo=(...e)=>`calc(${ao("-",...e)})`,uo=(...e)=>`calc(${ao("*",...e)})`,co=(...e)=>`calc(${ao("/",...e)})`,fo=e=>{const t=io(e);return null==t||Number.isNaN(parseFloat(t))?uo(t,-1):String(t).startsWith("-")?String(t).slice(1):`-${t}`},po=Object.assign(e=>({add:(...t)=>po(so(e,...t)),subtract:(...t)=>po(lo(e,...t)),multiply:(...t)=>po(uo(e,...t)),divide:(...t)=>po(co(e,...t)),negate:()=>po(fo(e)),toString:()=>e.toString()}),{add:so,subtract:lo,multiply:uo,divide:co,negate:fo}),{defineMultiStyleConfig:ho,definePartsStyle:mo}=qe(Qn.keys),go=oo("switch-track-width"),vo=oo("switch-track-height"),yo=oo("switch-track-diff"),bo=po.subtract(go,vo),xo=oo("switch-thumb-x"),wo=oo("switch-bg"),ko=e=>{const{colorScheme:t}=e;return{borderRadius:"full",p:"0.5",width:[go.reference],height:[vo.reference],transitionProperty:"common",transitionDuration:"fast",[wo.variable]:"colors.gray.300",_dark:{[wo.variable]:"colors.whiteAlpha.400"},_focusVisible:{boxShadow:"outline"},_disabled:{opacity:.4,cursor:"not-allowed"},_checked:{[wo.variable]:`colors.${t}.500`,_dark:{[wo.variable]:`colors.${t}.200`}},bg:wo.reference}},So={bg:"white",transitionProperty:"transform",transitionDuration:"normal",borderRadius:"inherit",width:[vo.reference],height:[vo.reference],_checked:{transform:`translateX(${xo.reference})`}},Co=ho({baseStyle:mo(e=>({container:{[yo.variable]:bo,[xo.variable]:yo.reference,_rtl:{[xo.variable]:po(yo).negate().toString()}},track:ko(e),thumb:So})),sizes:{sm:mo({container:{[go.variable]:"1.375rem",[vo.variable]:"sizes.3"}}),md:mo({container:{[go.variable]:"1.875rem",[vo.variable]:"sizes.4"}}),lg:mo({container:{[go.variable]:"2.875rem",[vo.variable]:"sizes.6"}})},defaultProps:{size:"md",colorScheme:"blue"}});function _o(e,t){return r=>"dark"===r.colorMode?t:e}function Eo(e){const{orientation:t,vertical:r,horizontal:n}=e;return t?"vertical"===t?r:n:{}}var{defineMultiStyleConfig:Po,definePartsStyle:To}=qe(Zn.keys),zo=To({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"}}),Ao={"&[data-is-numeric=true]":{textAlign:"end"}},Ro=Po({baseStyle:zo,variants:{simple:To(e=>{const{colorScheme:t}=e;return{th:{color:_o("gray.600","gray.400")(e),borderBottom:"1px",borderColor:_o(`${t}.100`,`${t}.700`)(e),...Ao},td:{borderBottom:"1px",borderColor:_o(`${t}.100`,`${t}.700`)(e),...Ao},caption:{color:_o("gray.600","gray.100")(e)},tfoot:{tr:{"&:last-of-type":{th:{borderBottomWidth:0}}}}}}),striped:To(e=>{const{colorScheme:t}=e;return{th:{color:_o("gray.600","gray.400")(e),borderBottom:"1px",borderColor:_o(`${t}.100`,`${t}.700`)(e),...Ao},td:{borderBottom:"1px",borderColor:_o(`${t}.100`,`${t}.700`)(e),...Ao},caption:{color:_o("gray.600","gray.100")(e)},tbody:{tr:{"&:nth-of-type(odd)":{"th, td":{borderBottomWidth:"1px",borderColor:_o(`${t}.100`,`${t}.700`)(e)},td:{background:_o(`${t}.100`,`${t}.700`)(e)}}}},tfoot:{tr:{"&:last-of-type":{th:{borderBottomWidth:0}}}}}}),unstyled:{}},sizes:{sm:To({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:To({th:{px:"6",py:"3",lineHeight:"4",fontSize:"xs"},td:{px:"6",py:"4",lineHeight:"5"},caption:{px:"6",py:"2",fontSize:"sm"}}),lg:To({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 Mo(e,t,r){return Math.min(Math.max(e,r),t)}class jo extends Error{constructor(e){super(`Failed to parse color: "${e}"`)}}var Fo=jo;function Oo(e){if("string"!=typeof e)throw new Fo(e);if("transparent"===e.trim().toLowerCase())return[0,0,0,0];let t=e.trim();t=Wo.test(e)?function(e){const t=e.toLowerCase().trim(),r=Lo[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 Fo(e);return`#${r}`}(e):e;const r=$o.exec(t);if(r){const e=Array.from(r).slice(1);return[...e.slice(0,3).map(e=>parseInt(Bo(e,2),16)),parseInt(Bo(e[3]||"f",2),16)/255]}const n=Io.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=No.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=Vo.exec(t);if(i){const[t,r,n,o]=Array.from(i).slice(1).map(parseFloat);if(Mo(0,100,r)!==r)throw new Fo(e);if(Mo(0,100,n)!==n)throw new Fo(e);return[...Ho(t,r,n),Number.isNaN(o)?1:o]}throw new Fo(e)}const Do=e=>parseInt(e.replace(/_/g,""),36),Lo="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=Do(t.substring(0,3)),n=Do(t.substring(3)).toString(16);let o="";for(let e=0;e<6-n.length;e++)o+="0";return e[r]=`${o}${n}`,e},{}),Bo=(e,t)=>Array.from(Array(t)).map(()=>e).join(""),$o=new RegExp(`^#${Bo("([a-f0-9])",3)}([a-f0-9])?$`,"i"),Io=new RegExp(`^#${Bo("([a-f0-9]{2})",3)}([a-f0-9]{2})?$`,"i"),No=new RegExp(`^rgba?\\(\\s*(\\d+)\\s*${Bo(",\\s*(\\d+)\\s*",2)}(?:,\\s*([\\d.]+))?\\s*\\)$`,"i"),Vo=/^hsla?\(\s*([\d.]+)\s*,\s*([\d.]+)%\s*,\s*([\d.]+)%(?:\s*,\s*([\d.]+))?\s*\)$/i,Wo=/^[a-z]+$/i,Uo=e=>Math.round(255*e),Ho=(e,t,r)=>{let n=r/100;if(0===t)return[n,n,n].map(Uo);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(Uo)};function qo(e,t){const[r,n,o,i]=Oo(e);return function(e,t,r,n){return`rgba(${Mo(0,255,e).toFixed()}, ${Mo(0,255,t).toFixed()}, ${Mo(0,255,r).toFixed()}, ${parseFloat(Mo(0,1,n).toFixed(3))})`}(r,n,o,i-t)}var Yo=(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]=Oo(e);let i=e=>{const t=Mo(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"}},Xo=(e,t)=>r=>qo(Yo(r,e),1-t);function Ko(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 Go=fe("tabs-color"),Qo=fe("tabs-bg"),Zo=fe("tabs-border-color"),{defineMultiStyleConfig:Jo,definePartsStyle:ei}=qe(Jn.keys),ti=e=>{const{orientation:t}=e;return{display:"vertical"===t?"flex":"block"}},ri=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}}},ni=e=>{const{align:t="start",orientation:r}=e;return{justifyContent:{end:"flex-end",center:"center",start:"flex-start"}[t],flexDirection:"vertical"===r?"column":"row"}},oi={p:4},ii=ei(e=>({root:ti(e),tab:ri(e),tablist:ni(e),tabpanel:oi})),ai={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}})},si=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:{[Go.variable]:`colors.${t}.600`,_dark:{[Go.variable]:`colors.${t}.300`},borderColor:"currentColor"},_active:{[Qo.variable]:"colors.gray.200",_dark:{[Qo.variable]:"colors.whiteAlpha.300"}},_disabled:{_active:{bg:"none"}},color:Go.reference,bg:Qo.reference}}}),li=ei(e=>{const{colorScheme:t}=e;return{tab:{borderTopRadius:"md",border:"1px solid",borderColor:"transparent",mb:"-1px",[Zo.variable]:"transparent",_selected:{[Go.variable]:`colors.${t}.600`,[Zo.variable]:"colors.white",_dark:{[Go.variable]:`colors.${t}.300`,[Zo.variable]:"colors.gray.800"},borderColor:"inherit",borderBottomColor:Zo.reference},color:Go.reference},tablist:{mb:"-1px",borderBottom:"1px solid",borderColor:"inherit"}}}),ui=ei(e=>{const{colorScheme:t}=e;return{tab:{border:"1px solid",borderColor:"inherit",[Qo.variable]:"colors.gray.50",_dark:{[Qo.variable]:"colors.whiteAlpha.50"},mb:"-1px",_notLast:{marginEnd:"-1px"},_selected:{[Qo.variable]:"colors.white",[Go.variable]:`colors.${t}.600`,_dark:{[Qo.variable]:"colors.gray.800",[Go.variable]:`colors.${t}.300`},borderColor:"inherit",borderTopColor:"currentColor",borderBottomColor:"transparent"},color:Go.reference,bg:Qo.reference},tablist:{mb:"-1px",borderBottom:"1px solid",borderColor:"inherit"}}}),ci=ei(e=>{const{colorScheme:t,theme:r}=e;return{tab:{borderRadius:"full",fontWeight:"semibold",color:"gray.600",_selected:{color:Yo(r,`${t}.700`),bg:Yo(r,`${t}.100`)}}}}),di=Jo({baseStyle:ii,sizes:ai,variants:{line:si,enclosed:li,"enclosed-colored":ui,"soft-rounded":ci,"solid-rounded":ei(e=>{const{colorScheme:t}=e;return{tab:{borderRadius:"full",fontWeight:"semibold",[Go.variable]:"colors.gray.600",_dark:{[Go.variable]:"inherit"},_selected:{[Go.variable]:"colors.white",[Qo.variable]:`colors.${t}.600`,_dark:{[Go.variable]:"colors.gray.800",[Qo.variable]:`colors.${t}.300`}},color:Go.reference,bg:Qo.reference}}}),unstyled:ei({})},defaultProps:{size:"md",variant:"line",colorScheme:"blue"}}),fi=function(e){const t={};for(const r of["bg","color","shadow"]){if(Array.isArray(r)){const[n,o]=r;t[n]=fe(`${e}-${n}`,o);continue}t[r]=fe(`${e}-${r}`)}return t}("badge"),pi={baseStyle:{px:1,textTransform:"uppercase",fontSize:"xs",borderRadius:"sm",fontWeight:"bold",bg:fi.bg.reference,color:fi.color.reference,boxShadow:fi.shadow.reference},variants:{solid:e=>{const{colorScheme:t,theme:r}=e,n=Xo(`${t}.500`,.6)(r);return{[fi.bg.variable]:`colors.${t}.500`,[fi.color.variable]:"colors.white",_dark:{[fi.bg.variable]:n,[fi.color.variable]:"colors.whiteAlpha.800"}}},subtle:e=>{const{colorScheme:t,theme:r}=e,n=Xo(`${t}.200`,.16)(r);return{[fi.bg.variable]:`colors.${t}.100`,[fi.color.variable]:`colors.${t}.800`,_dark:{[fi.bg.variable]:n,[fi.color.variable]:`colors.${t}.200`}}},outline:e=>{const{colorScheme:t,theme:r}=e,n=Xo(`${t}.200`,.8)(r);return{[fi.color.variable]:`colors.${t}.500`,_dark:{[fi.color.variable]:n},[fi.shadow.variable]:`inset 0 0 0px 1px ${fi.color.reference}`}}},defaultProps:{variant:"subtle",colorScheme:"gray"}},{defineMultiStyleConfig:hi,definePartsStyle:mi}=qe(eo.keys),gi=fe("tag-bg"),vi=fe("tag-color"),yi=fe("tag-shadow"),bi=fe("tag-min-height"),xi=fe("tag-min-width"),wi=fe("tag-font-size"),ki=fe("tag-padding-inline"),Si=mi({container:{fontWeight:"medium",lineHeight:1.2,outline:0,[vi.variable]:fi.color.reference,[gi.variable]:fi.bg.reference,[yi.variable]:fi.shadow.reference,color:vi.reference,bg:gi.reference,boxShadow:yi.reference,borderRadius:"md",minH:bi.reference,minW:xi.reference,fontSize:wi.reference,px:ki.reference,_focusVisible:{[yi.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}}}),Ci={sm:mi({container:{[bi.variable]:"sizes.5",[xi.variable]:"sizes.5",[wi.variable]:"fontSizes.xs",[ki.variable]:"space.2"},closeButton:{marginEnd:"-2px",marginStart:"0.35rem"}}),md:mi({container:{[bi.variable]:"sizes.6",[xi.variable]:"sizes.6",[wi.variable]:"fontSizes.sm",[ki.variable]:"space.2"}}),lg:mi({container:{[bi.variable]:"sizes.8",[xi.variable]:"sizes.8",[wi.variable]:"fontSizes.md",[ki.variable]:"space.3"}})},_i={subtle:mi(e=>{var t;return{container:null==(t=pi.variants)?void 0:t.subtle(e)}}),solid:mi(e=>{var t;return{container:null==(t=pi.variants)?void 0:t.solid(e)}}),outline:mi(e=>{var t;return{container:null==(t=pi.variants)?void 0:t.outline(e)}})},Ei=hi({variants:_i,baseStyle:Si,sizes:Ci,defaultProps:{size:"md",variant:"subtle",colorScheme:"gray"}}),{definePartsStyle:Pi,defineMultiStyleConfig:Ti}=qe(In.keys),zi=fe("input-height"),Ai=fe("input-font-size"),Ri=fe("input-padding"),Mi=fe("input-border-radius"),ji=Pi({addon:{height:zi.reference,fontSize:Ai.reference,px:Ri.reference,borderRadius:Mi.reference},field:{width:"100%",height:zi.reference,fontSize:Ai.reference,px:Ri.reference,borderRadius:Mi.reference,minWidth:0,outline:0,position:"relative",appearance:"none",transitionProperty:"common",transitionDuration:"normal",_disabled:{opacity:.4,cursor:"not-allowed"}}}),Fi={lg:{[Ai.variable]:"fontSizes.lg",[Ri.variable]:"space.4",[Mi.variable]:"radii.md",[zi.variable]:"sizes.12"},md:{[Ai.variable]:"fontSizes.md",[Ri.variable]:"space.4",[Mi.variable]:"radii.md",[zi.variable]:"sizes.10"},sm:{[Ai.variable]:"fontSizes.sm",[Ri.variable]:"space.3",[Mi.variable]:"radii.sm",[zi.variable]:"sizes.8"},xs:{[Ai.variable]:"fontSizes.xs",[Ri.variable]:"space.2",[Mi.variable]:"radii.sm",[zi.variable]:"sizes.6"}},Oi={lg:Pi({field:Fi.lg,group:Fi.lg}),md:Pi({field:Fi.md,group:Fi.md}),sm:Pi({field:Fi.sm,group:Fi.sm}),xs:Pi({field:Fi.xs,group:Fi.xs})};function Di(e){const{focusBorderColor:t,errorBorderColor:r}=e;return{focusBorderColor:t||_o("blue.500","blue.300")(e),errorBorderColor:r||_o("red.500","red.300")(e)}}var Li,Bi,$i,Ii,Ni,Vi,Wi,Ui,Hi,qi,Yi,Xi=Pi(e=>{const{theme:t}=e,{focusBorderColor:r,errorBorderColor:n}=Di(e);return{field:{border:"1px solid",borderColor:"inherit",bg:"inherit",_hover:{borderColor:_o("gray.300","whiteAlpha.400")(e)},_readOnly:{boxShadow:"none !important",userSelect:"all"},_invalid:{borderColor:Yo(t,n),boxShadow:`0 0 0 1px ${Yo(t,n)}`},_focusVisible:{zIndex:1,borderColor:Yo(t,r),boxShadow:`0 0 0 1px ${Yo(t,r)}`}},addon:{border:"1px solid",borderColor:_o("inherit","whiteAlpha.50")(e),bg:_o("gray.100","whiteAlpha.300")(e)}}}),Ki=Pi(e=>{const{theme:t}=e,{focusBorderColor:r,errorBorderColor:n}=Di(e);return{field:{border:"2px solid",borderColor:"transparent",bg:_o("gray.100","whiteAlpha.50")(e),_hover:{bg:_o("gray.200","whiteAlpha.100")(e)},_readOnly:{boxShadow:"none !important",userSelect:"all"},_invalid:{borderColor:Yo(t,n)},_focusVisible:{bg:"transparent",borderColor:Yo(t,r)}},addon:{border:"2px solid",borderColor:"transparent",bg:_o("gray.100","whiteAlpha.50")(e)}}}),Gi=Pi(e=>{const{theme:t}=e,{focusBorderColor:r,errorBorderColor:n}=Di(e);return{field:{borderBottom:"1px solid",borderColor:"inherit",borderRadius:"0",px:"0",bg:"transparent",_readOnly:{boxShadow:"none !important",userSelect:"all"},_invalid:{borderColor:Yo(t,n),boxShadow:`0px 1px 0px 0px ${Yo(t,n)}`},_focusVisible:{borderColor:Yo(t,r),boxShadow:`0px 1px 0px 0px ${Yo(t,r)}`}},addon:{borderBottom:"2px solid",borderColor:"inherit",borderRadius:"0",px:"0",bg:"transparent"}}}),Qi=Ti({baseStyle:ji,sizes:Oi,variants:{outline:Xi,filled:Ki,flushed:Gi,unstyled:Pi({field:{bg:"transparent",px:"0",height:"auto"},addon:{bg:"transparent",px:"0",height:"auto"}})},defaultProps:{size:"md",variant:"outline"}}),Zi={...null==(Li=Qi.baseStyle)?void 0:Li.field,paddingY:"2",minHeight:"20",lineHeight:"short",verticalAlign:"top"},Ji={outline:e=>{var t,r;return null!=(r=null==(t=Qi.variants)?void 0:t.outline(e).field)?r:{}},flushed:e=>{var t,r;return null!=(r=null==(t=Qi.variants)?void 0:t.flushed(e).field)?r:{}},filled:e=>{var t,r;return null!=(r=null==(t=Qi.variants)?void 0:t.filled(e).field)?r:{}},unstyled:null!=($i=null==(Bi=Qi.variants)?void 0:Bi.unstyled.field)?$i:{}},ea={baseStyle:Zi,sizes:{xs:null!=(Ni=null==(Ii=Qi.sizes)?void 0:Ii.xs.field)?Ni:{},sm:null!=(Wi=null==(Vi=Qi.sizes)?void 0:Vi.sm.field)?Wi:{},md:null!=(Hi=null==(Ui=Qi.sizes)?void 0:Ui.md.field)?Hi:{},lg:null!=(Yi=null==(qi=Qi.sizes)?void 0:qi.lg.field)?Yi:{}},variants:Ji,defaultProps:{size:"md",variant:"outline"}},ta=oo("tooltip-bg"),ra=oo("tooltip-fg"),na=oo("popper-arrow-bg"),oa={baseStyle:{bg:ta.reference,color:ra.reference,[ta.variable]:"colors.gray.700",[ra.variable]:"colors.whiteAlpha.900",_dark:{[ta.variable]:"colors.gray.300",[ra.variable]:"colors.gray.900"},[na.variable]:ta.reference,px:"2",py:"0.5",borderRadius:"sm",fontWeight:"medium",fontSize:"sm",boxShadow:"md",maxW:"xs",zIndex:"tooltip"}},{defineMultiStyleConfig:ia,definePartsStyle:aa}=qe(qn.keys),sa=e=>{const{colorScheme:t,theme:r,isIndeterminate:n,hasStripe:o}=e,i=_o(Ko(),Ko("1rem","rgba(0,0,0,0.1)"))(e),a=_o(`${t}.500`,`${t}.200`)(e),s=`linear-gradient(\n to right,\n transparent 0%,\n ${Yo(r,a)} 50%,\n transparent 100%\n )`;return{...!n&&o&&i,...n?{bgImage:s}:{bgColor:a}}},la={lineHeight:"1",fontSize:"0.25em",fontWeight:"bold",color:"white"},ua=e=>({bg:_o("gray.100","whiteAlpha.300")(e)}),ca=e=>({transitionProperty:"common",transitionDuration:"slow",...sa(e)}),da=aa(e=>({label:la,filledTrack:ca(e),track:ua(e)})),fa=ia({sizes:{xs:aa({track:{h:"1"}}),sm:aa({track:{h:"2"}}),md:aa({track:{h:"3"}}),lg:aa({track:{h:"4"}})},baseStyle:da,defaultProps:{size:"md",colorScheme:"blue"}});function pa(e,...t){return"function"==typeof e?e(...t):e}var ha,ma,ga,va,ya,ba,xa,wa,ka,{definePartsStyle:Sa,defineMultiStyleConfig:Ca}=qe(On.keys),_a=fe("checkbox-size"),Ea=e=>{const{colorScheme:t}=e;return{w:_a.reference,h:_a.reference,transitionProperty:"box-shadow",transitionDuration:"normal",border:"2px solid",borderRadius:"sm",borderColor:"inherit",color:"white",_checked:{bg:_o(`${t}.500`,`${t}.200`)(e),borderColor:_o(`${t}.500`,`${t}.200`)(e),color:_o("white","gray.900")(e),_hover:{bg:_o(`${t}.600`,`${t}.300`)(e),borderColor:_o(`${t}.600`,`${t}.300`)(e)},_disabled:{borderColor:_o("gray.200","transparent")(e),bg:_o("gray.200","whiteAlpha.300")(e),color:_o("gray.500","whiteAlpha.500")(e)}},_indeterminate:{bg:_o(`${t}.500`,`${t}.200`)(e),borderColor:_o(`${t}.500`,`${t}.200`)(e),color:_o("white","gray.900")(e)},_disabled:{bg:_o("gray.100","whiteAlpha.100")(e),borderColor:_o("gray.100","transparent")(e)},_focusVisible:{boxShadow:"outline"},_invalid:{borderColor:_o("red.500","red.300")(e)}}},Pa={_disabled:{cursor:"not-allowed"}},Ta={userSelect:"none",_disabled:{opacity:.4}},za={transitionProperty:"transform",transitionDuration:"normal"},Aa=Ca({baseStyle:Sa(e=>({icon:za,container:Pa,control:pa(Ea,e),label:Ta})),sizes:{sm:Sa({control:{[_a.variable]:"sizes.3"},label:{fontSize:"sm"},icon:{fontSize:"3xs"}}),md:Sa({control:{[_a.variable]:"sizes.4"},label:{fontSize:"md"},icon:{fontSize:"2xs"}}),lg:Sa({control:{[_a.variable]:"sizes.5"},label:{fontSize:"lg"},icon:{fontSize:"2xs"}})},defaultProps:{size:"md",colorScheme:"blue"}}),{defineMultiStyleConfig:Ra,definePartsStyle:Ma}=qe(Yn.keys),ja=e=>{var t;const r=null==(t=pa(Aa.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"}}}},Fa=Ma(e=>{var t,r,n,o;return{label:null==(r=(t=Aa).baseStyle)?void 0:r.call(t,e).label,container:null==(o=(n=Aa).baseStyle)?void 0:o.call(n,e).container,control:ja(e)}}),Oa=Ra({baseStyle:Fa,sizes:{md:Ma({control:{w:"4",h:"4"},label:{fontSize:"md"}}),lg:Ma({control:{w:"5",h:"5"},label:{fontSize:"lg"}}),sm:Ma({control:{width:"3",height:"3"},label:{fontSize:"sm"}})},defaultProps:{size:"md",colorScheme:"blue"}}),{defineMultiStyleConfig:Da,definePartsStyle:La}=qe(Xn.keys),Ba=fe("select-bg"),$a={paddingInlineEnd:"8"},Ia=Da({baseStyle:La({field:{...null==(ha=Qi.baseStyle)?void 0:ha.field,appearance:"none",paddingBottom:"1px",lineHeight:"normal",bg:Ba.reference,[Ba.variable]:"colors.white",_dark:{[Ba.variable]:"colors.gray.700"},"> option, > optgroup":{bg:Ba.reference}},icon:{width:"6",height:"100%",insetEnd:"2",position:"relative",color:"currentColor",fontSize:"xl",_disabled:{opacity:.5}}}),sizes:{lg:{...null==(ma=Qi.sizes)?void 0:ma.lg,field:{...null==(ga=Qi.sizes)?void 0:ga.lg.field,...$a}},md:{...null==(va=Qi.sizes)?void 0:va.md,field:{...null==(ya=Qi.sizes)?void 0:ya.md.field,...$a}},sm:{...null==(ba=Qi.sizes)?void 0:ba.sm,field:{...null==(xa=Qi.sizes)?void 0:xa.sm.field,...$a}},xs:{...null==(wa=Qi.sizes)?void 0:wa.xs,field:{...null==(ka=Qi.sizes)?void 0:ka.xs.field,...$a},icon:{insetEnd:"1"}}},variants:Qi.variants,defaultProps:Qi.defaultProps}),Na=fe("skeleton-start-color"),Va=fe("skeleton-end-color"),Wa={baseStyle:{[Na.variable]:"colors.gray.100",[Va.variable]:"colors.gray.400",_dark:{[Na.variable]:"colors.gray.800",[Va.variable]:"colors.gray.600"},background:Na.reference,borderColor:Va.reference,opacity:.7,borderRadius:"sm"}},Ua=fe("skip-link-bg"),Ha={baseStyle:{borderRadius:"md",fontWeight:"semibold",_focusVisible:{boxShadow:"outline",padding:"4",position:"fixed",top:"6",insetStart:"6",[Ua.variable]:"colors.white",_dark:{[Ua.variable]:"colors.gray.700"},bg:Ua.reference}}},{defineMultiStyleConfig:qa,definePartsStyle:Ya}=qe(Kn.keys),Xa=fe("slider-thumb-size"),Ka=fe("slider-track-size"),Ga=fe("slider-bg"),Qa=e=>{const{orientation:t}=e;return{display:"inline-block",position:"relative",cursor:"pointer",_disabled:{opacity:.6,cursor:"default",pointerEvents:"none"},...Eo({orientation:t,vertical:{h:"100%"},horizontal:{w:"100%"}})}},Za=e=>({...Eo({orientation:e.orientation,horizontal:{h:Ka.reference},vertical:{w:Ka.reference}}),overflow:"hidden",borderRadius:"sm",[Ga.variable]:"colors.gray.200",_dark:{[Ga.variable]:"colors.whiteAlpha.200"},_disabled:{[Ga.variable]:"colors.gray.300",_dark:{[Ga.variable]:"colors.whiteAlpha.300"}},bg:Ga.reference}),Ja=e=>{const{orientation:t}=e;return{...Eo({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:Xa.reference,h:Xa.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",[Ga.variable]:`colors.${t}.500`,_dark:{[Ga.variable]:`colors.${t}.200`},bg:Ga.reference}},ts=qa({baseStyle:Ya(e=>({container:Qa(e),track:Za(e),thumb:Ja(e),filledTrack:es(e)})),sizes:{lg:Ya({container:{[Xa.variable]:"sizes.4",[Ka.variable]:"sizes.1"}}),md:Ya({container:{[Xa.variable]:"sizes.3.5",[Ka.variable]:"sizes.1"}}),sm:Ya({container:{[Xa.variable]:"sizes.2.5",[Ka.variable]:"sizes.0.5"}})},defaultProps:{size:"md",colorScheme:"blue"}}),rs=oo("spinner-size"),ns={baseStyle:{width:[rs.reference],height:[rs.reference]},sizes:{xs:{[rs.variable]:"sizes.3"},sm:{[rs.variable]:"sizes.4"},md:{[rs.variable]:"sizes.6"},lg:{[rs.variable]:"sizes.8"},xl:{[rs.variable]:"sizes.12"}},defaultProps:{size:"md"}},{defineMultiStyleConfig:os,definePartsStyle:is}=qe(Gn.keys),as=os({baseStyle:is({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:is({label:{fontSize:"sm"},helpText:{fontSize:"sm"},number:{fontSize:"2xl"}})},defaultProps:{size:"md"}}),ss=fe("kbd-bg"),ls={baseStyle:{[ss.variable]:"colors.gray.100",_dark:{[ss.variable]:"colors.whiteAlpha.100"},bg:ss.reference,borderRadius:"md",borderWidth:"1px",borderBottomWidth:"3px",fontSize:"0.8em",fontWeight:"bold",lineHeight:"normal",px:"0.4em",whiteSpace:"nowrap"}},{defineMultiStyleConfig:us,definePartsStyle:cs}=qe(Nn.keys),ds=us({baseStyle:cs({icon:{marginEnd:"2",display:"inline",verticalAlign:"text-bottom"}})}),{defineMultiStyleConfig:fs,definePartsStyle:ps}=qe(Vn.keys),hs=fe("menu-bg"),ms=fe("menu-shadow"),gs=fs({baseStyle:ps({button:{transitionProperty:"common",transitionDuration:"normal"},list:{[hs.variable]:"#fff",[ms.variable]:"shadows.sm",_dark:{[hs.variable]:"colors.gray.700",[ms.variable]:"shadows.dark-lg"},color:"inherit",minW:"3xs",py:"2",zIndex:1,borderRadius:"md",borderWidth:"1px",bg:hs.reference,boxShadow:ms.reference},item:{py:"1.5",px:"3",transitionProperty:"background",transitionDuration:"ultra-fast",transitionTimingFunction:"ease-in",_focus:{[hs.variable]:"colors.gray.100",_dark:{[hs.variable]:"colors.whiteAlpha.100"}},_active:{[hs.variable]:"colors.gray.200",_dark:{[hs.variable]:"colors.whiteAlpha.200"}},_expanded:{[hs.variable]:"colors.gray.100",_dark:{[hs.variable]:"colors.whiteAlpha.100"}},_disabled:{opacity:.4,cursor:"not-allowed"},bg:hs.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:vs,definePartsStyle:ys}=qe(Wn.keys),bs=fe("modal-bg"),xs=fe("modal-shadow"),ws={bg:"blackAlpha.600",zIndex:"modal"},ks=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"}},Ss=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,[bs.variable]:"colors.white",[xs.variable]:"shadows.lg",_dark:{[bs.variable]:"colors.gray.700",[xs.variable]:"shadows.dark-lg"},bg:bs.reference,boxShadow:xs.reference}},Cs={px:"6",py:"4",fontSize:"xl",fontWeight:"semibold"},_s={position:"absolute",top:"2",insetEnd:"3"},Es=e=>{const{scrollBehavior:t}=e;return{px:"6",py:"2",flex:"1",overflow:"inside"===t?"auto":void 0}},Ps={px:"6",py:"4"};function Ts(e){return ys("full"===e?{dialog:{maxW:"100vw",minH:"$100vh",my:"0",borderRadius:"0"}}:{dialog:{maxW:e}})}var zs=vs({baseStyle:ys(e=>({overlay:ws,dialogContainer:pa(ks,e),dialog:pa(Ss,e),header:Cs,closeButton:_s,body:pa(Es,e),footer:Ps})),sizes:{xs:Ts("xs"),sm:Ts("sm"),md:Ts("md"),lg:Ts("lg"),xl:Ts("xl"),"2xl":Ts("2xl"),"3xl":Ts("3xl"),"4xl":Ts("4xl"),"5xl":Ts("5xl"),"6xl":Ts("6xl"),full:Ts("full")},defaultProps:{size:"md"}}),{defineMultiStyleConfig:As,definePartsStyle:Rs}=qe(Un.keys),Ms=oo("number-input-stepper-width"),js=oo("number-input-input-padding"),Fs=po(Ms).add("0.5rem").toString(),Os=oo("number-input-bg"),Ds=oo("number-input-color"),Ls=oo("number-input-border-color"),Bs={[Ms.variable]:"sizes.6",[js.variable]:Fs},$s=e=>{var t,r;return null!=(r=null==(t=pa(Qi.baseStyle,e))?void 0:t.field)?r:{}},Is={width:Ms.reference},Ns={borderStart:"1px solid",borderStartColor:Ls.reference,color:Ds.reference,bg:Os.reference,[Ds.variable]:"colors.chakra-body-text",[Ls.variable]:"colors.chakra-border-color",_dark:{[Ds.variable]:"colors.whiteAlpha.800",[Ls.variable]:"colors.whiteAlpha.300"},_active:{[Os.variable]:"colors.gray.200",_dark:{[Os.variable]:"colors.whiteAlpha.300"}},_disabled:{opacity:.4,cursor:"not-allowed"}},Vs=Rs(e=>{var t;return{root:Bs,field:null!=(t=pa($s,e))?t:{},stepperGroup:Is,stepper:Ns}});function Ws(e){var t,r,n;const o=null==(t=Qi.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=yn.fontSizes[a];return Rs({field:{...o.field,paddingInlineEnd:js.reference,verticalAlign:"top"},stepper:{fontSize:po(s).multiply(.75).toString(),_first:{borderTopEndRadius:i[e]},_last:{borderBottomEndRadius:i[e],mt:"-1px",borderTopWidth:1}}})}var Us,Hs,qs,Ys=As({baseStyle:Vs,sizes:{xs:Ws("xs"),sm:Ws("sm"),md:Ws("md"),lg:Ws("lg")},variants:Qi.variants,defaultProps:Qi.defaultProps}),Xs={...null==(Us=Qi.baseStyle)?void 0:Us.field,textAlign:"center"},Ks={outline:e=>{var t,r,n;return null!=(n=null==(r=pa(null==(t=Qi.variants)?void 0:t.outline,e))?void 0:r.field)?n:{}},flushed:e=>{var t,r,n;return null!=(n=null==(r=pa(null==(t=Qi.variants)?void 0:t.flushed,e))?void 0:r.field)?n:{}},filled:e=>{var t,r,n;return null!=(n=null==(r=pa(null==(t=Qi.variants)?void 0:t.filled,e))?void 0:r.field)?n:{}},unstyled:null!=(qs=null==(Hs=Qi.variants)?void 0:Hs.unstyled.field)?qs:{}},Gs={baseStyle:Xs,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:Ks,defaultProps:Qi.defaultProps},{defineMultiStyleConfig:Qs,definePartsStyle:Zs}=qe(Hn.keys),Js=oo("popper-bg"),el=oo("popper-arrow-bg"),tl=oo("popper-arrow-shadow-color"),rl=Qs({baseStyle:Zs({popper:{zIndex:10},content:{[Js.variable]:"colors.white",bg:Js.reference,[el.variable]:Js.reference,[tl.variable]:"colors.gray.200",_dark:{[Js.variable]:"colors.gray.700",[tl.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:nl,defineMultiStyleConfig:ol}=qe(Dn.keys),il=fe("drawer-bg"),al=fe("drawer-box-shadow");function sl(e){return nl("full"===e?{dialog:{maxW:"100vw",h:"100vh"}}:{dialog:{maxW:e}})}var ll={bg:"blackAlpha.600",zIndex:"modal"},ul={display:"flex",zIndex:"modal",justifyContent:"center"},cl=e=>{const{isFullHeight:t}=e;return{...t&&{height:"100vh"},zIndex:"modal",maxH:"100vh",color:"inherit",[il.variable]:"colors.white",[al.variable]:"shadows.lg",_dark:{[il.variable]:"colors.gray.700",[al.variable]:"shadows.dark-lg"},bg:il.reference,boxShadow:al.reference}},dl={px:"6",py:"4",fontSize:"xl",fontWeight:"semibold"},fl={position:"absolute",top:"2",insetEnd:"3"},pl={px:"6",py:"2",flex:"1",overflow:"auto"},hl={px:"6",py:"4"},ml=ol({baseStyle:nl(e=>({overlay:ll,dialogContainer:ul,dialog:pa(cl,e),header:dl,closeButton:fl,body:pl,footer:hl})),sizes:{xs:sl("xs"),sm:sl("md"),md:sl("lg"),lg:sl("2xl"),xl:sl("4xl"),full:sl("full")},defaultProps:{size:"xs"}}),{definePartsStyle:gl,defineMultiStyleConfig:vl}=qe(Ln.keys),yl=vl({baseStyle:gl({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:bl,defineMultiStyleConfig:xl}=qe(Bn.keys),wl=fe("form-control-color"),kl=xl({baseStyle:bl({container:{width:"100%",position:"relative"},requiredIndicator:{marginStart:"1",[wl.variable]:"colors.red.500",_dark:{[wl.variable]:"colors.red.300"},color:wl.reference},helperText:{mt:"2",[wl.variable]:"colors.gray.600",_dark:{[wl.variable]:"colors.whiteAlpha.600"},color:wl.reference,lineHeight:"normal",fontSize:"sm"}})}),{definePartsStyle:Sl,defineMultiStyleConfig:Cl}=qe($n.keys),_l=fe("form-error-color"),El=Cl({baseStyle:Sl({text:{[_l.variable]:"colors.red.500",_dark:{[_l.variable]:"colors.red.300"},color:_l.reference,mt:"2",fontSize:"sm",lineHeight:"normal"},icon:{marginEnd:"0.5em",[_l.variable]:"colors.red.500",_dark:{[_l.variable]:"colors.red.300"},color:_l.reference}})}),{defineMultiStyleConfig:Pl,definePartsStyle:Tl}=qe(Fn.keys),zl=fe("breadcrumb-link-decor"),Al=Pl({baseStyle:Tl({link:{transitionProperty:"common",transitionDuration:"fast",transitionTimingFunction:"ease-out",outline:"none",color:"inherit",textDecoration:zl.reference,[zl.variable]:"none","&:not([aria-current=page])":{cursor:"pointer",_hover:{[zl.variable]:"underline"},_focusVisible:{boxShadow:"outline"}}}})}),Rl=e=>{const{colorScheme:t,theme:r}=e;if("gray"===t)return{color:_o("gray.800","whiteAlpha.900")(e),_hover:{bg:_o("gray.100","whiteAlpha.200")(e)},_active:{bg:_o("gray.200","whiteAlpha.300")(e)}};const n=Xo(`${t}.200`,.12)(r),o=Xo(`${t}.200`,.24)(r);return{color:_o(`${t}.600`,`${t}.200`)(e),bg:"transparent",_hover:{bg:_o(`${t}.50`,n)(e)},_active:{bg:_o(`${t}.100`,o)(e)}}},Ml={yellow:{bg:"yellow.400",color:"black",hoverBg:"yellow.500",activeBg:"yellow.600"},cyan:{bg:"cyan.400",color:"black",hoverBg:"cyan.500",activeBg:"cyan.600"}},jl={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:Rl,outline:e=>{const{colorScheme:t}=e,r=_o("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"},...pa(Rl,e)}},solid:e=>{var t;const{colorScheme:r}=e;if("gray"===r){const t=_o("gray.100","whiteAlpha.200")(e);return{bg:t,color:_o("gray.800","whiteAlpha.900")(e),_hover:{bg:_o("gray.200","whiteAlpha.300")(e),_disabled:{bg:t}},_active:{bg:_o("gray.300","whiteAlpha.400")(e)}}}const{bg:n=`${r}.500`,color:o="white",hoverBg:i=`${r}.600`,activeBg:a=`${r}.700`}=null!=(t=Ml[r])?t:{},s=_o(n,`${r}.200`)(e);return{bg:s,color:_o(o,"gray.800")(e),_hover:{bg:_o(i,`${r}.300`)(e),_disabled:{bg:s}},_active:{bg:_o(a,`${r}.400`)(e)}}},link:e=>{const{colorScheme:t}=e;return{padding:0,height:"auto",lineHeight:"normal",verticalAlign:"baseline",color:_o(`${t}.500`,`${t}.200`)(e),_hover:{textDecoration:"underline",_disabled:{textDecoration:"none"}},_active:{color:_o(`${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:Fl,defineMultiStyleConfig:Ol}=qe(to.keys),Dl=fe("card-bg"),Ll=fe("card-padding"),Bl=fe("card-shadow"),$l=fe("card-radius"),Il=fe("card-border-width","0"),Nl=fe("card-border-color"),Vl=Fl({container:{[Dl.variable]:"colors.chakra-body-bg",backgroundColor:Dl.reference,boxShadow:Bl.reference,borderRadius:$l.reference,color:"chakra-body-text",borderWidth:Il.reference,borderColor:Nl.reference},body:{padding:Ll.reference,flex:"1 1 0%"},header:{padding:Ll.reference},footer:{padding:Ll.reference}}),Wl={sm:Fl({container:{[$l.variable]:"radii.base",[Ll.variable]:"space.3"}}),md:Fl({container:{[$l.variable]:"radii.md",[Ll.variable]:"space.5"}}),lg:Fl({container:{[$l.variable]:"radii.xl",[Ll.variable]:"space.7"}})},Ul=Ol({baseStyle:Vl,variants:{elevated:Fl({container:{[Bl.variable]:"shadows.base",_dark:{[Dl.variable]:"colors.gray.700"}}}),outline:Fl({container:{[Il.variable]:"1px",[Nl.variable]:"colors.chakra-border-color"}}),filled:Fl({container:{[Dl.variable]:"colors.chakra-subtle-bg"}}),unstyled:{body:{[Ll.variable]:0},header:{[Ll.variable]:0},footer:{[Ll.variable]:0}}},sizes:Wl,defaultProps:{variant:"elevated",size:"md"}}),Hl=oo("close-button-size"),ql=oo("close-button-bg"),Yl={baseStyle:{w:[Hl.reference],h:[Hl.reference],borderRadius:"md",transitionProperty:"common",transitionDuration:"normal",_disabled:{opacity:.4,cursor:"not-allowed",boxShadow:"none"},_hover:{[ql.variable]:"colors.blackAlpha.100",_dark:{[ql.variable]:"colors.whiteAlpha.100"}},_active:{[ql.variable]:"colors.blackAlpha.200",_dark:{[ql.variable]:"colors.whiteAlpha.200"}},_focusVisible:{boxShadow:"outline"},bg:ql.reference},sizes:{lg:{[Hl.variable]:"sizes.10",fontSize:"md"},md:{[Hl.variable]:"sizes.8",fontSize:"xs"},sm:{[Hl.variable]:"sizes.6",fontSize:"2xs"}},defaultProps:{size:"md"}},{variants:Xl,defaultProps:Kl}=pi,Gl={baseStyle:{fontFamily:"mono",fontSize:"sm",px:"0.2em",borderRadius:"sm",bg:fi.bg.reference,color:fi.color.reference,boxShadow:fi.shadow.reference},variants:Xl,defaultProps:Kl},{definePartsStyle:Ql,defineMultiStyleConfig:Zl}=qe(Rn.keys),Jl=Zl({baseStyle:Ql({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:tu}=qe(Mn.keys),ru=fe("alert-fg"),nu=fe("alert-bg");function ou(e){const{theme:t,colorScheme:r}=e;return{light:`colors.${r}.100`,dark:Xo(`${r}.200`,.16)(t)}}var iu=tu({baseStyle:eu({container:{bg:nu.reference,px:"4",py:"3"},title:{fontWeight:"bold",lineHeight:"6",marginEnd:"2"},description:{lineHeight:"6"},icon:{color:ru.reference,flexShrink:0,marginEnd:"3",w:"5",h:"6"},spinner:{color:ru.reference,flexShrink:0,marginEnd:"3",w:"5",h:"5"}}),variants:{subtle:eu(e=>{const{colorScheme:t}=e,r=ou(e);return{container:{[ru.variable]:`colors.${t}.600`,[nu.variable]:r.light,_dark:{[ru.variable]:`colors.${t}.200`,[nu.variable]:r.dark}}}}),"left-accent":eu(e=>{const{colorScheme:t}=e,r=ou(e);return{container:{[ru.variable]:`colors.${t}.600`,[nu.variable]:r.light,_dark:{[ru.variable]:`colors.${t}.200`,[nu.variable]:r.dark},paddingStart:"3",borderStartWidth:"4px",borderStartColor:ru.reference}}}),"top-accent":eu(e=>{const{colorScheme:t}=e,r=ou(e);return{container:{[ru.variable]:`colors.${t}.600`,[nu.variable]:r.light,_dark:{[ru.variable]:`colors.${t}.200`,[nu.variable]:r.dark},pt:"2",borderTopWidth:"4px",borderTopColor:ru.reference}}}),solid:eu(e=>{const{colorScheme:t}=e;return{container:{[ru.variable]:"colors.white",[nu.variable]:`colors.${t}.600`,_dark:{[ru.variable]:"colors.gray.900",[nu.variable]:`colors.${t}.200`},color:ru.reference}}})},defaultProps:{variant:"subtle",colorScheme:"blue"}}),{definePartsStyle:au,defineMultiStyleConfig:su}=qe(jn.keys),lu=fe("avatar-border-color"),uu=fe("avatar-bg"),cu=fe("avatar-font-size"),du=fe("avatar-size"),fu={borderRadius:"full",border:"0.2em solid",borderColor:lu.reference,[lu.variable]:"white",_dark:{[lu.variable]:"colors.gray.800"}},pu={bg:uu.reference,fontSize:cu.reference,width:du.reference,height:du.reference,lineHeight:"1",[uu.variable]:"colors.gray.200",_dark:{[uu.variable]:"colors.whiteAlpha.400"}},hu=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&=r;return r=(r%t.length+t.length)%t.length,t[r]}(e.string,e.colors):e.string&&!e.colors?function(e){let t=0;if(0===e.length)return t.toString();for(let r=0;r<e.length;r+=1)t=e.charCodeAt(r)+((t<<5)-t),t&=t;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]=Oo(e);return(299*t+587*r+114*n)/1e3})(Yo(t,e));return r<128?"dark":"light"})(e)(t))(n)(r);let i="white";return o||(i="gray.800"),{bg:uu.reference,fontSize:cu.reference,color:i,borderColor:lu.reference,verticalAlign:"top",width:du.reference,height:du.reference,"&:not([data-loaded])":{[uu.variable]:n},[lu.variable]:"colors.white",_dark:{[lu.variable]:"colors.gray.800"}}},mu={fontSize:cu.reference,lineHeight:"1"};function gu(e){const t="100%"!==e?xn[e]:void 0;return au({container:{[du.variable]:null!=t?t:e,[cu.variable]:`calc(${null!=t?t:e} / 2.5)`},excessLabel:{[du.variable]:null!=t?t:e,[cu.variable]:`calc(${null!=t?t:e} / 2.5)`}})}var vu={Accordion:Jl,Alert:iu,Avatar:su({baseStyle:au(e=>({badge:pa(fu,e),excessLabel:pa(pu,e),container:pa(hu,e),label:mu})),sizes:{"2xs":gu(4),xs:gu(6),sm:gu(8),md:gu(12),lg:gu(16),xl:gu(24),"2xl":gu(32),full:gu("100%")},defaultProps:{size:"md"}}),Badge:pi,Breadcrumb:Al,Button:jl,Checkbox:Aa,CloseButton:Yl,Code:Gl,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:ml,Editable:yl,Form:kl,FormError:El,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:Qi,Kbd:ls,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:gs,Modal:zs,NumberInput:Ys,PinInput:Gs,Popover:rl,Progress:fa,Radio:Oa,Select:Ia,Skeleton:Wa,SkipLink:Ha,Slider:ts,Spinner:ns,Stat:as,Switch:Co,Table:Ro,Tabs:di,Tag:Ei,Textarea:ea,Tooltip:oa,Card:Ul,Stepper:zn},yu={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"}}},bu={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"}}},xu={useSystemColorMode:!1,initialColorMode:"light",cssVarPrefix:"chakra"},wu={semanticTokens:yu,direction:"ltr",...wn,components:vu,styles:bu,config:xu},ku={semanticTokens:yu,direction:"ltr",components:{},...wn,styles:bu,config:xu},Su=(e,t)=>e.find(e=>e.id===t);function Cu(e,t){const r=_u(e,t);return{position:r,index:r?e[r].findIndex(e=>e.id===t):-1}}function _u(e,t){for(const[r,n]of Object.entries(e))if(Su(n,t))return r}function Eu(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 Pu(e,t=[]){const r=(0,s.useRef)(e);return(0,s.useEffect)(()=>{r.current=e}),(0,s.useCallback)((...e)=>{var t;return null==(t=r.current)?void 0:t.call(r,...e)},t)}function Tu(e,t){const r=(0,s.useRef)(!1),n=(0,s.useRef)(!1);(0,s.useEffect)(()=>{if(r.current&&n.current)return e();n.current=!0},t),(0,s.useEffect)(()=>(r.current=!0,()=>{r.current=!1}),[])}const zu=(0,s.createContext)(null);const Au=(0,s.createContext)({transformPagePoint:e=>e,isStatic:!1,reducedMotion:"never"}),Ru=(0,s.createContext)({}),Mu="undefined"!=typeof document,ju=Mu?s.useLayoutEffect:s.useEffect,Fu=(0,s.createContext)({strict:!1}),Ou=e=>e.replace(/([a-z])([A-Z])/gu,"$1-$2").toLowerCase(),Du="data-"+Ou("framerAppearId");class Lu{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 Bu=["read","resolveKeyframes","update","preRender","render","postRender"];function $u(e,t){let r=!1,n=!0;const o={delta:0,timestamp:0,isProcessing:!1},i=Bu.reduce((e,t)=>(e[t]=function(e){let t=new Lu,r=new Lu,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,Bu.forEach(a),o.isProcessing=!1,r&&t&&(n=!1,e(s))},l=Bu.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=>Bu.forEach(t=>i[t].cancel(e)),state:o,steps:i}}const{schedule:Iu,cancel:Nu}=$u(queueMicrotask,!1);function Vu(e){return e&&"object"==typeof e&&Object.prototype.hasOwnProperty.call(e,"current")}function Wu(e){return"string"==typeof e||Array.isArray(e)}function Uu(e){return null!==e&&"object"==typeof e&&"function"==typeof e.start}const Hu=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],qu=["initial",...Hu];function Yu(e){return Uu(e.animate)||qu.some(t=>Wu(e[t]))}function Xu(e){return Boolean(Yu(e)||e.variants)}function Ku(e){return Array.isArray(e)?e.join(" "):e}const Gu={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"]},Qu={};for(const e in Gu)Qu[e]={isEnabled:t=>Gu[e].some(e=>!!t[e])};const Zu=(0,s.createContext)({}),Ju=(0,s.createContext)({}),ec=Symbol.for("motionComponentSymbol");function tc({preloadedFeatures:e,createVisualElement:t,useRender:r,useVisualState:n,Component:o}){e&&function(e){for(const t in e)Qu[t]={...Qu[t],...e[t]}}(e);const i=(0,s.forwardRef)(function(i,a){let l;const u={...(0,s.useContext)(Au),...i,layoutId:rc(i)},{isStatic:c}=u,d=function(e){const{initial:t,animate:r}=function(e,t){if(Yu(e)){const{initial:t,animate:r}=e;return{initial:!1===t||Wu(t)?t:void 0,animate:Wu(r)?r:void 0}}return!1!==e.inherit?t:{}}(e,(0,s.useContext)(Ru));return(0,s.useMemo)(()=>({initial:t,animate:r}),[Ku(t),Ku(r)])}(i),f=n(i,c);if(!c&&Mu){d.visualElement=function(e,t,r,n){const{visualElement:o}=(0,s.useContext)(Ru),i=(0,s.useContext)(Fu),a=(0,s.useContext)(zu),l=(0,s.useContext)(Au).reducedMotion,u=(0,s.useRef)();n=n||i.renderer,!u.current&&n&&(u.current=n(e,{visualState:t,parent:o,props:r,presenceContext:a,blockInitialAnimation:!!a&&!1===a.initial,reducedMotionConfig:l}));const c=u.current;(0,s.useInsertionEffect)(()=>{c&&c.update(r,a)});const d=(0,s.useRef)(Boolean(r[Du]&&!window.HandoffComplete));return ju(()=>{c&&(Iu.postRender(c.render),d.current&&c.animationState&&c.animationState.animateChanges())}),(0,s.useEffect)(()=>{c&&(c.updateFeatures(),!d.current&&c.animationState&&c.animationState.animateChanges(),d.current&&(d.current=!1,window.HandoffComplete=!0))}),c}(o,f,u,t);const r=(0,s.useContext)(Ju),n=(0,s.useContext)(Fu).strict;d.visualElement&&(l=d.visualElement.loadFeatures(u,n,e,r))}return s.createElement(Ru.Provider,{value:d},l&&d.visualElement?s.createElement(l,{visualElement:d.visualElement,...u}):null,r(o,i,function(e,t,r){return(0,s.useCallback)(n=>{n&&e.mount&&e.mount(n),t&&(n?t.mount(n):t.unmount()),r&&("function"==typeof r?r(n):Vu(r)&&(r.current=n))},[t])}(f,d.visualElement,a),f,c,d.visualElement))});return i[ec]=o,i}function rc({layoutId:e}){const t=(0,s.useContext)(Zu).id;return t&&void 0!==e?t+"-"+e:e}function nc(e){function t(t,r={}){return tc(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 oc=["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 ic(e){return"string"==typeof e&&!e.includes("-")&&!!(oc.indexOf(e)>-1||/[A-Z]/u.test(e))}const ac={},sc=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],lc=new Set(sc);function uc(e,{layout:t,layoutId:r}){return lc.has(e)||e.startsWith("origin")||(t||void 0!==r)&&(!!ac[e]||"opacity"===e)}const cc=e=>Boolean(e&&e.getVelocity),dc={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},fc=sc.length,pc=e=>t=>"string"==typeof t&&t.startsWith(e),hc=pc("--"),mc=pc("var(--"),gc=e=>!!mc(e)&&vc.test(e.split("/*")[0].trim()),vc=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu,yc=(e,t)=>t&&"number"==typeof e?t.transform(e):e,bc=(e,t,r)=>r>t?t:r<e?e:r,xc={test:e=>"number"==typeof e,parse:parseFloat,transform:e=>e},wc={...xc,transform:e=>bc(0,1,e)},kc={...xc,default:1},Sc=e=>Math.round(1e5*e)/1e5,Cc=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu,_c=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu,Ec=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu;function Pc(e){return"string"==typeof e}const Tc=e=>({test:t=>Pc(t)&&t.endsWith(e)&&1===t.split(" ").length,parse:parseFloat,transform:t=>`${t}${e}`}),zc=Tc("deg"),Ac=Tc("%"),Rc=Tc("px"),Mc=Tc("vh"),jc=Tc("vw"),Fc={...Ac,parse:e=>Ac.parse(e)/100,transform:e=>Ac.transform(100*e)},Oc={...xc,transform:Math.round},Dc={borderWidth:Rc,borderTopWidth:Rc,borderRightWidth:Rc,borderBottomWidth:Rc,borderLeftWidth:Rc,borderRadius:Rc,radius:Rc,borderTopLeftRadius:Rc,borderTopRightRadius:Rc,borderBottomRightRadius:Rc,borderBottomLeftRadius:Rc,width:Rc,maxWidth:Rc,height:Rc,maxHeight:Rc,size:Rc,top:Rc,right:Rc,bottom:Rc,left:Rc,padding:Rc,paddingTop:Rc,paddingRight:Rc,paddingBottom:Rc,paddingLeft:Rc,margin:Rc,marginTop:Rc,marginRight:Rc,marginBottom:Rc,marginLeft:Rc,rotate:zc,rotateX:zc,rotateY:zc,rotateZ:zc,scale:kc,scaleX:kc,scaleY:kc,scaleZ:kc,skew:zc,skewX:zc,skewY:zc,distance:Rc,translateX:Rc,translateY:Rc,translateZ:Rc,x:Rc,y:Rc,z:Rc,perspective:Rc,transformPerspective:Rc,opacity:wc,originX:Fc,originY:Fc,originZ:Rc,zIndex:Oc,backgroundPositionX:Rc,backgroundPositionY:Rc,fillOpacity:wc,strokeOpacity:wc,numOctaves:Oc};function Lc(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(hc(e)){i[e]=r;continue}const n=Dc[e],d=yc(r,n);if(lc.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<fc;t++){const r=sc[t];void 0!==e[r]&&(i+=`${dc[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 Bc(e,t,r){for(const n in t)cc(t[n])||uc(n,r)||(e[n]=t[n])}function $c(e,t,r){const n={},o=function(e,t,r){const n={};return Bc(n,e.style||{},e),Object.assign(n,function({transformTemplate:e},t,r){return(0,s.useMemo)(()=>{const n={style:{},transform:{},transformOrigin:{},vars:{}};return Lc(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 Ic=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 Nc(e){return e.startsWith("while")||e.startsWith("drag")&&"draggable"!==e||e.startsWith("layout")||e.startsWith("onTap")||e.startsWith("onPan")||e.startsWith("onLayout")||Ic.has(e)}let Vc=e=>!Nc(e);try{(Wc=require("@emotion/is-prop-valid").default)&&(Vc=e=>e.startsWith("on")?!Nc(e):Wc(e))}catch(_r){}var Wc;function Uc(e,t,r){return"string"==typeof e?e:Rc.transform(t+r*e)}const Hc={offset:"stroke-dashoffset",array:"stroke-dasharray"},qc={offset:"strokeDashoffset",array:"strokeDasharray"};function Yc(e,{attrX:t,attrY:r,attrScale:n,originX:o,originY:i,pathLength:a,pathSpacing:s=1,pathOffset:l=0,...u},c,d,f){if(Lc(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`${Uc(t,e.x,e.width)} ${Uc(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?Hc:qc;e[i.offset]=Rc.transform(-n);const a=Rc.transform(t),s=Rc.transform(r);e[i.array]=`${a} ${s}`}(p,a,s,l,!1)}const Xc=e=>"string"==typeof e&&"svg"===e.toLowerCase();function Kc(e,t,r,n){const o=(0,s.useMemo)(()=>{const r={style:{},transform:{},transformOrigin:{},vars:{},attrs:{}};return Yc(r,t,{enableHardwareAcceleration:!1},Xc(n),e.transformTemplate),{...r.attrs,style:{...r.style}}},[t]);if(e.style){const t={};Bc(t,e.style,e),o.style={...t,...o.style}}return o}function Gc(e=!1){return(t,r,n,{latestValues:o},i)=>{const a=(ic(t)?Kc:$c)(r,o,i,t),l=function(e,t,r){const n={};for(const o in e)"values"===o&&"object"==typeof e.values||(Vc(o)||!0===r&&Nc(o)||!t&&!Nc(o)||e.draggable&&o.startsWith("onDrag"))&&(n[o]=e[o]);return n}(r,"string"==typeof t,e),u=t!==s.Fragment?{...l,...a,ref:n}:{},{children:c}=r,d=(0,s.useMemo)(()=>cc(c)?c.get():c,[c]);return(0,s.createElement)(t,{...u,children:d})}}function Qc(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 Zc=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 Jc(e,t,r,n){Qc(e,t,void 0,n);for(const r in t.attrs)e.setAttribute(Zc.has(r)?r:Ou(r),t.attrs[r])}function ed(e,t){const{style:r}=e,n={};for(const o in r)(cc(r[o])||t.style&&cc(t.style[o])||uc(o,e))&&(n[o]=r[o]);return n}function td(e,t){const r=ed(e,t);for(const n in e)(cc(e[n])||cc(t[n]))&&(r[-1!==sc.indexOf(n)?"attr"+n.charAt(0).toUpperCase()+n.substring(1):n]=e[n]);return r}function rd(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 nd(e){const t=(0,s.useRef)(null);return null===t.current&&(t.current=e()),t.current}const od=e=>Array.isArray(e),id=e=>od(e)?e[e.length-1]||0:e;function ad(e){const t=cc(e)?e.get():e;return r=t,Boolean(r&&"object"==typeof r&&r.mix&&r.toValue)?t.toValue():t;var r}const sd=e=>(t,r)=>{const n=(0,s.useContext)(Ru),o=(0,s.useContext)(zu),i=()=>function({scrapeMotionValuesFromProps:e,createRenderState:t,onMount:r},n,o,i){const a={latestValues:ld(n,o,i,e),renderState:t()};return r&&(a.mount=e=>r(n,e,a)),a}(e,t,n,o);return r?i():nd(i)};function ld(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=Yu(e),u=Xu(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&&!Uu(d)&&(Array.isArray(d)?d:[d]).forEach(t=>{const r=rd(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 ud=e=>e,{schedule:cd,cancel:dd,state:fd,steps:pd}=$u("undefined"!=typeof requestAnimationFrame?requestAnimationFrame:ud,!0),hd={useVisualState:sd({scrapeMotionValuesFromProps:td,createRenderState:()=>({style:{},transform:{},transformOrigin:{},vars:{},attrs:{}}),onMount:(e,t,{renderState:r,latestValues:n})=>{cd.read(()=>{try{r.dimensions="function"==typeof t.getBBox?t.getBBox():t.getBoundingClientRect()}catch(e){r.dimensions={x:0,y:0,width:0,height:0}}}),cd.render(()=>{Yc(r,n,{enableHardwareAcceleration:!1},Xc(t.tagName),e.transformTemplate),Jc(t,r)})}})},md={useVisualState:sd({scrapeMotionValuesFromProps:ed,createRenderState:()=>({style:{},transform:{},transformOrigin:{},vars:{}})})};function gd(e,t,r,n={passive:!0}){return e.addEventListener(t,r,n),()=>e.removeEventListener(t,r)}const vd=e=>"mouse"===e.pointerType?"number"!=typeof e.button||e.button<=0:!1!==e.isPrimary;function yd(e,t="page"){return{point:{x:e[t+"X"],y:e[t+"Y"]}}}function bd(e,t,r,n){return gd(e,t,(e=>t=>vd(t)&&e(t,yd(t)))(r),n)}const xd=(e,t)=>r=>t(e(r)),wd=(...e)=>e.reduce(xd);function kd(e){let t=null;return()=>null===t&&(t=e,()=>{t=null})}const Sd=kd("dragHorizontal"),Cd=kd("dragVertical");function _d(e){let t=!1;if("y"===e)t=Cd();else if("x"===e)t=Sd();else{const e=Sd(),r=Cd();e&&r?t=()=>{e(),r()}:(e&&e(),r&&r())}return t}function Ed(){const e=_d(!0);return!e||(e(),!1)}class Pd{constructor(e){this.isMounted=!1,this.node=e}update(){}}function Td(e,t){const r="pointer"+(t?"enter":"leave"),n="onHover"+(t?"Start":"End");return bd(e.current,r,(r,o)=>{if("touch"===r.pointerType||Ed())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 zd=(e,t)=>!!t&&(e===t||zd(e,t.parentElement));function Ad(e,t){if(!t)return;const r=new PointerEvent("pointer"+e);t(r,yd(r))}const Rd=new WeakMap,Md=new WeakMap,jd=e=>{const t=Rd.get(e.target);t&&t(e)},Fd=e=>{e.forEach(jd)};const Od={some:0,all:1},Dd={inView:{Feature:class extends Pd{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:Od[n]};return function(e,t,r){const n=function({root:e,...t}){const r=e||document;Md.has(r)||Md.set(r,{});const n=Md.get(r),o=JSON.stringify(t);return n[o]||(n[o]=new IntersectionObserver(Fd,{root:e,...t})),n[o]}(t);return Rd.set(e,r),n.observe(e),()=>{Rd.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,r=["amount","margin","root"].some(function({viewport:e={}},{viewport:t={}}={}){return r=>e[r]!==t[r]}(e,t));r&&this.startObserver()}unmount(){}}},tap:{Feature:class extends Pd{constructor(){super(...arguments),this.removeStartListeners=ud,this.removeEndListeners=ud,this.removeAccessibleListeners=ud,this.startPointerPress=(e,t)=>{if(this.isPressing)return;this.removeEndListeners();const r=this.node.getProps(),n=bd(window,"pointerup",(e,t)=>{if(!this.checkPressEnd())return;const{onTap:r,onTapCancel:n,globalTapTarget:o}=this.node.getProps();o||zd(this.node.current,e.target)?r&&r(e,t):n&&n(e,t)},{passive:!(r.onTap||r.onPointerUp)}),o=bd(window,"pointercancel",(e,t)=>this.cancelPress(e,t),{passive:!(r.onTapCancel||r.onPointerCancel)});this.removeEndListeners=wd(n,o),this.startPress(e,t)},this.startAccessiblePress=()=>{const e=gd(this.node.current,"keydown",e=>{"Enter"!==e.key||this.isPressing||(this.removeEndListeners(),this.removeEndListeners=gd(this.node.current,"keyup",e=>{"Enter"===e.key&&this.checkPressEnd()&&Ad("up",(e,t)=>{const{onTap:r}=this.node.getProps();r&&r(e,t)})}),Ad("down",(e,t)=>{this.startPress(e,t)}))}),t=gd(this.node.current,"blur",()=>{this.isPressing&&Ad("cancel",(e,t)=>this.cancelPress(e,t))});this.removeAccessibleListeners=wd(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),!Ed()}cancelPress(e,t){if(!this.checkPressEnd())return;const{onTapCancel:r}=this.node.getProps();r&&r(e,t)}mount(){const e=this.node.getProps(),t=bd(e.globalTapTarget?window:this.node.current,"pointerdown",this.startPointerPress,{passive:!(e.onTapStart||e.onPointerStart)}),r=gd(this.node.current,"focus",this.startAccessiblePress);this.removeStartListeners=wd(t,r)}unmount(){this.removeStartListeners(),this.removeEndListeners(),this.removeAccessibleListeners()}}},focus:{Feature:class extends Pd{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=wd(gd(this.node.current,"focus",()=>this.onFocus()),gd(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}},hover:{Feature:class extends Pd{mount(){this.unmount=wd(Td(this.node,!0),Td(this.node,!1))}unmount(){}}}};function Ld(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 Bd(e,t,r){const n=e.getProps();return rd(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 $d=e=>1e3*e,Id=e=>e/1e3,Nd={type:"spring",stiffness:500,damping:25,restSpeed:10},Vd={type:"keyframes",duration:.8},Wd={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},Ud=(e,{keyframes:t})=>t.length>2?Vd:lc.has(e)?e.startsWith("scale")?{type:"spring",stiffness:550,damping:0===t[1]?2*Math.sqrt(550):30,restSpeed:10}:Nd:Wd;function Hd(e,t){return e[t]||e.default||e}const qd=e=>null!==e;function Yd(e,{repeat:t,repeatType:r="loop"},n){const o=e.filter(qd),i=t&&"loop"!==r&&t%2==1?0:o.length-1;return i&&void 0!==n?n:o[i]}let Xd;function Kd(){Xd=void 0}const Gd={now:()=>(void 0===Xd&&Gd.set(fd.isProcessing?fd.timestamp:performance.now()),Xd),set:e=>{Xd=e,queueMicrotask(Kd)}},Qd=e=>/^0[^.\s]+$/u.test(e);function Zd(e){return"number"==typeof e?0===e:null===e||"none"===e||"0"===e||Qd(e)}let Jd=ud,ef=ud;const tf=e=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(e),rf=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;function nf(e,t,r=1){ef(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=rf.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 tf(e)?parseFloat(e):e}return gc(o)?nf(o,t,r+1):o}const of=new Set(["width","height","top","left","right","bottom","x","y","translateX","translateY"]),af=e=>e===xc||e===Rc,sf=(e,t)=>parseFloat(e.split(", ")[t]),lf=(e,t)=>(r,{transform:n})=>{if("none"===n||!n)return 0;const o=n.match(/^matrix3d\((.+)\)$/u);if(o)return sf(o[1],t);{const t=n.match(/^matrix\((.+)\)$/u);return t?sf(t[1],e):0}},uf=new Set(["x","y","z"]),cf=sc.filter(e=>!uf.has(e));function df(e){const t=[];return cf.forEach(r=>{const n=e.getValue(r);void 0!==n&&(t.push([r,n.get()]),n.set(r.startsWith("scale")?1:0))}),t}const ff={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:lf(4,13),y:lf(5,14)};ff.translateX=ff.x,ff.translateY=ff.y;const pf=e=>t=>t.test(e),hf=[xc,Rc,Ac,zc,jc,Mc,{test:e=>"auto"===e,parse:e=>e}],mf=e=>hf.find(pf(e)),gf=new Set;let vf=!1,yf=!1;function bf(){if(yf){const e=Array.from(gf).filter(e=>e.needsMeasurement),t=new Set(e.map(e=>e.element)),r=new Map;t.forEach(e=>{df(e).length&&(r.set(e,df(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)})}yf=!1,vf=!1,gf.forEach(e=>e.complete()),gf.clear()}function xf(){gf.forEach(e=>{e.readKeyframes(),e.needsMeasurement&&(yf=!0)})}class wf{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?(gf.add(this),vf||(vf=!0,cd.read(xf),cd.resolveKeyframes(bf))):(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),gf.delete(this)}cancel(){this.isComplete||(this.isScheduled=!1,gf.delete(this))}resume(){this.isComplete||this.scheduleResolve()}}const kf=(e,t)=>r=>Boolean(Pc(r)&&Ec.test(r)&&r.startsWith(e)||t&&Object.prototype.hasOwnProperty.call(r,t)),Sf=(e,t,r)=>n=>{if(!Pc(n))return n;const[o,i,a,s]=n.match(Cc);return{[e]:parseFloat(o),[t]:parseFloat(i),[r]:parseFloat(a),alpha:void 0!==s?parseFloat(s):1}},Cf={...xc,transform:e=>Math.round((e=>bc(0,255,e))(e))},_f={test:kf("rgb","red"),parse:Sf("red","green","blue"),transform:({red:e,green:t,blue:r,alpha:n=1})=>"rgba("+Cf.transform(e)+", "+Cf.transform(t)+", "+Cf.transform(r)+", "+Sc(wc.transform(n))+")"},Ef={test:kf("#"),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:_f.transform},Pf={test:kf("hsl","hue"),parse:Sf("hue","saturation","lightness"),transform:({hue:e,saturation:t,lightness:r,alpha:n=1})=>"hsla("+Math.round(e)+", "+Ac.transform(Sc(t))+", "+Ac.transform(Sc(r))+", "+Sc(wc.transform(n))+")"},Tf={test:e=>_f.test(e)||Ef.test(e)||Pf.test(e),parse:e=>_f.test(e)?_f.parse(e):Pf.test(e)?Pf.parse(e):Ef.parse(e),transform:e=>Pc(e)?e:e.hasOwnProperty("red")?_f.transform(e):Pf.transform(e)},zf="number",Af="color",Rf=/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 Mf(e){const t=e.toString(),r=[],n={color:[],number:[],var:[]},o=[];let i=0;const a=t.replace(Rf,e=>(Tf.test(e)?(n.color.push(i),o.push(Af),r.push(Tf.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 jf(e){return Mf(e).values}function Ff(e){const{split:t,types:r}=Mf(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?Sc(e[i]):t===Af?Tf.transform(e[i]):e[i]}return o}}const Of=e=>"number"==typeof e?0:e,Df={test:function(e){var t,r;return isNaN(e)&&Pc(e)&&((null===(t=e.match(Cc))||void 0===t?void 0:t.length)||0)+((null===(r=e.match(_c))||void 0===r?void 0:r.length)||0)>0},parse:jf,createTransformer:Ff,getAnimatableNone:function(e){const t=jf(e);return Ff(e)(t.map(Of))}},Lf=new Set(["brightness","contrast","saturate","opacity"]);function Bf(e){const[t,r]=e.slice(0,-1).split("(");if("drop-shadow"===t)return e;const[n]=r.match(Cc)||[];if(!n)return e;const o=r.replace(n,"");let i=Lf.has(t)?1:0;return n!==r&&(i*=100),t+"("+i+o+")"}const $f=/\b([a-z-]*)\(.*?\)/gu,If={...Df,getAnimatableNone:e=>{const t=e.match($f);return t?t.map(Bf).join(" "):e}},Nf={...Dc,color:Tf,backgroundColor:Tf,outlineColor:Tf,fill:Tf,stroke:Tf,borderColor:Tf,borderTopColor:Tf,borderRightColor:Tf,borderBottomColor:Tf,borderLeftColor:Tf,filter:If,WebkitFilter:If},Vf=e=>Nf[e];function Wf(e,t){let r=Vf(e);return r!==If&&(r=Df),r.getAnimatableNone?r.getAnimatableNone(t):void 0}class Uf extends wf{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&&gc(n)){const o=nf(n,t.current);void 0!==o&&(e[r]=o)}}if(!of.has(r)||2!==e.length)return this.resolveNoneKeyframes();const[n,o]=e,i=mf(n),a=mf(o);if(i!==a)if(af(i)&&af(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++)Zd(e[t])&&r.push(t);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]=Wf(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=ff[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]=ff[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 Hf=(e,t)=>!("zIndex"===t||"number"!=typeof e&&!Array.isArray(e)&&("string"!=typeof e||!Df.test(e)&&"0"!==e||e.startsWith("url(")));class qf{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||(xf(),bf()),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=Hf(o,t),s=Hf(i,t);return Jd(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(Yd(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 Yf(e,t){return t?e*(1e3/t):0}function Xf(e,t,r){const n=Math.max(t-5,0);return Yf(r-e(n),t-n)}const Kf=12;function Gf(e,t){return e*Math.sqrt(1-t*t)}const Qf=["duration","bounce"],Zf=["stiffness","damping","mass"];function Jf(e,t){return t.some(t=>void 0!==e[t])}function ep({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(!Jf(e,Zf)&&Jf(e,Qf)){const r=function({duration:e=800,bounce:t=.25,velocity:r=0,mass:n=1}){let o,i;Jd(e<=$d(10),"Spring duration must be 10 seconds or less");let a=1-t;a=bc(.05,1,a),e=bc(.01,10,Id(e)),a<1?(o=t=>{const n=t*a,o=n*e;return.001-(n-r)/Gf(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=Gf(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<Kf;r++)n-=e(n)/t(n);return n}(o,i,5/e);if(e=$d(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:-Id(n.velocity||0)}),p=d||0,h=l/(2*Math.sqrt(s*u)),m=i-o,g=Id(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=Gf(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?Xf(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 tp({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=ep({keyframes:[f.value,p(f.value)],velocity:Xf(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 rp=(e,t,r)=>(((1-3*r+3*t)*e+(3*r-6*t))*e+3*t)*e;function np(e,t,r,n){if(e===t&&r===n)return ud;return o=>0===o||1===o?o:rp(function(e,t,r,n,o){let i,a,s=0;do{a=t+(r-t)/2,i=rp(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 op=np(.42,0,1,1),ip=np(0,0,.58,1),ap=np(.42,0,.58,1),sp=e=>t=>t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2,lp=e=>t=>1-e(1-t),up=e=>1-Math.sin(Math.acos(e)),cp=lp(up),dp=sp(up),fp=np(.33,1.53,.69,.99),pp=lp(fp),hp=sp(pp),mp={linear:ud,easeIn:op,easeInOut:ap,easeOut:ip,circIn:up,circInOut:dp,circOut:cp,backIn:pp,backInOut:hp,backOut:fp,anticipate:e=>(e*=2)<1?.5*pp(e):.5*(2-Math.pow(2,-10*(e-1)))},gp=e=>{if(Array.isArray(e)){ef(4===e.length,"Cubic bezier arrays must contain four numerical values.");const[t,r,n,o]=e;return np(t,r,n,o)}return"string"==typeof e?(ef(void 0!==mp[e],`Invalid easing type '${e}'`),mp[e]):e},vp=(e,t,r)=>{const n=t-e;return 0===n?1:(r-e)/n},yp=(e,t,r)=>e+(t-e)*r;function bp(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 xp=(e,t,r)=>{const n=e*e,o=r*(t*t-n)+n;return o<0?0:Math.sqrt(o)},kp=[Ef,_f,Pf];function Sp(e){const t=(r=e,kp.find(e=>e.test(r)));var r;ef(Boolean(t),`'${e}' is not an animatable color. Use the equivalent color code instead.`);let n=t.parse(e);return t===Pf&&(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=bp(s,n,e+1/3),i=bp(s,n,e),a=bp(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 Cp=(e,t)=>{const r=Sp(e),n=Sp(t),o={...r};return e=>(o.red=xp(r.red,n.red,e),o.green=xp(r.green,n.green,e),o.blue=xp(r.blue,n.blue,e),o.alpha=yp(r.alpha,n.alpha,e),_f.transform(o))};function _p(e,t){return r=>r>0?t:e}function Ep(e,t){return r=>yp(e,t,r)}function Pp(e){return"number"==typeof e?Ep:"string"==typeof e?gc(e)?_p:Tf.test(e)?Cp:Ap:Array.isArray(e)?Tp:"object"==typeof e?Tf.test(e)?Cp:zp:_p}function Tp(e,t){const r=[...e],n=r.length,o=e.map((e,r)=>Pp(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]=Pp(e[o])(e[o],t[o]));return e=>{for(const t in n)r[t]=n[t](e);return r}}const Ap=(e,t)=>{const r=Df.createTransformer(t),n=Mf(e),o=Mf(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?wd(Tp(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):(Jd(!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.`),_p(e,t))};function Rp(e,t,r){return"number"==typeof e&&"number"==typeof t&&"number"==typeof r?yp(e,t,r):Pp(e)(e,t)}function Mp({duration:e=300,keyframes:t,times:r,ease:n="easeInOut"}){const o=(e=>Array.isArray(e)&&"number"!=typeof e[0])(n)?n.map(gp):gp(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=vp(0,t,n);e.push(yp(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(ef(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||Rp,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]||ud:t;i=wd(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=vp(e[r],e[r+1],t);return a[r](n)};return r?t=>l(bc(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 jp=e=>{const t=({timestamp:t})=>e(t);return{start:()=>cd.update(t,!0),stop:()=>dd(t),now:()=>fd.isProcessing?fd.timestamp:Gd.now()}},Fp={decay:tp,inertia:tp,tween:Mp,keyframes:Mp,spring:ep},Op=e=>e/100;class Dp extends qf{constructor({KeyframeResolver:e=wf,...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=Fp[t]||Mp;let s,l;a!==Mp&&"number"!=typeof e[0]&&(s=wd(Op,Rp(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=bc(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=Yd(s,this.options,n)),m&&m(x.value),k&&this.finish(),x}get duration(){const{resolved:e}=this;return e?Id(e.calculatedDuration):0}get time(){return Id(this.currentTime)}set time(e){e=$d(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=Id(this.currentTime))}play(){if(this.resolver.isScheduled||this.resolver.resume(),!this._resolved)return void(this.pendingPlayState="running");if(this.isStopped)return;const{driver:e=jp,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 Lp=e=>Array.isArray(e)&&"number"==typeof e[0];function Bp(e){return Boolean(!e||"string"==typeof e&&Ip[e]||Lp(e)||Array.isArray(e)&&e.every(Bp))}const $p=([e,t,r,n])=>`cubic-bezier(${e}, ${t}, ${r}, ${n})`,Ip={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:$p([0,.65,.55,1]),circOut:$p([.55,0,1,.45]),backIn:$p([.31,.01,.66,-.59]),backOut:$p([.33,1.53,.69,.99])};function Np(e){if(e)return Lp(e)?$p(e):Array.isArray(e)?e.map(Np):Ip[e]}const Vp=function(){let e;return()=>(void 0===e&&(e=Object.hasOwnProperty.call(Element.prototype,"animate")),e)}(),Wp=new Set(["opacity","clipPath","filter","transform"]);class Up extends qf{constructor(e){super(e);const{name:t,motionValue:r,keyframes:n}=this.options;this.resolver=new Uf(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||!Bp(a.ease)){const{onComplete:t,onUpdate:r,motionValue:o,...i}=this.options,a=function(e,t){const r=new Dp({...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=Np(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=Gd.now(),this.pendingTimeline?(s.timeline=this.pendingTimeline,this.pendingTimeline=void 0):s.onfinish=()=>{const{onComplete:r}=this.options;o.set(Yd(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 Id(t)}get time(){const{resolved:e}=this;if(!e)return 0;const{animation:t}=e;return Id(t.currentTime||0)}set time(e){const{resolved:t}=this;if(!t)return;const{animation:r}=t;r.currentTime=$d(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 ud;const{animation:r}=t;r.timeline=e,r.onfinish=null}else this.pendingTimeline=e;return ud}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 Dp({...o,keyframes:r}),a=$d(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 Vp()&&r&&Wp.has(r)&&t&&t.owner&&t.owner.current instanceof HTMLElement&&!t.owner.getProps().onUpdate&&!n&&"mirror"!==o&&0!==i&&"inertia"!==a}}const Hp=(e,t,r,n={},o,i)=>a=>{const s=Hd(n,e)||{},l=s.delay||n.delay||0;let{elapsed:u=0}=n;u-=$d(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,...Ud(e,c)}),c.duration&&(c.duration=$d(c.duration)),c.repeatDelay&&(c.repeatDelay=$d(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=Yd(c.keyframes,s);if(void 0!==e)return void cd.update(()=>{c.onUpdate(e),c.onComplete()})}return!i&&Up.supports(c)?new Up(c):new Dp(c)};function qp(e){return Boolean(cc(e)&&e.add)}function Yp(e,t){-1===e.indexOf(t)&&e.push(t)}function Xp(e,t){const r=e.indexOf(t);r>-1&&e.splice(r,1)}class Kp{constructor(){this.subscriptions=[]}add(e){return Yp(this.subscriptions,e),()=>Xp(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 Gp={current:void 0};class Qp{constructor(e,t={}){var r;this.version="11.0.20",this.canTrackVelocity=!1,this.events={},this.updateAndNotify=(e,t=!0)=>{const r=Gd.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=Gd.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 Kp);const r=this.events[e].add(t);return"change"===e?()=>{r(),cd.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 Gp.current&&Gp.current.push(this),this.current}getPrevious(){return this.prev}getVelocity(){const e=Gd.now();if(!this.canTrackVelocity||void 0===this.prevFrameValue||e-this.updatedAt>30)return 0;const t=Math.min(this.updatedAt-this.prevUpdatedAt,30);return Yf(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 Zp(e,t){return new Qp(e,t)}function Jp(e,t,r){e.hasValue(t)?e.getValue(t).set(r):e.addValue(t,Zp(r))}function eh({protectedKeys:e,needsAnimating:t},r){const n=e.hasOwnProperty(r)&&!0!==t[r];return t[r]=!1,n}function th(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&&eh(d,t))continue;const s={delay:r,elapsed:0,...Hd(a||{},t)};let f=!1;if(window.HandoffAppearAnimations){const r=e.getProps()[Du];if(r){const e=window.HandoffAppearAnimations(r,t);null!==e&&(s.elapsed=e,f=!0)}}n.start(Hp(t,n,o,e.shouldReduceMotion&&lc.has(t)?{type:!1}:s,e,f));const p=n.animation;p&&(qp(u)&&(u.add(t),p.then(()=>u.remove(t))),c.push(p))}return s&&Promise.all(c).then(()=>{cd.update(()=>{s&&function(e,t){const r=Bd(e,t);let{transitionEnd:n={},transition:o={},...i}=r||{};i={...i,...n};for(const t in i)Jp(e,t,id(i[t]))}(e,s)})}),c}function rh(e,t,r={}){var n;const o=Bd(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(th(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(nh).forEach((e,n)=>{e.notify("AnimationStart",t),a.push(rh(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 nh(e,t){return e.sortNodePosition(t)}const oh=[...Hu].reverse(),ih=Hu.length;function ah(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=>rh(e,t,r));n=Promise.all(o)}else if("string"==typeof t)n=rh(e,t,r);else{const o="function"==typeof t?Bd(e,t,r.custom):t;n=Promise.all(th(e,o,r))}return n.then(()=>{cd.postRender(()=>{e.notify("AnimationComplete",t)})})}(e,t,r)))}(e);const r={animate:lh(!0),whileInView:lh(),whileHover:lh(),whileTap:lh(),whileDrag:lh(),whileFocus:lh(),exit:lh()};let n=!0;const o=t=>(r,n)=>{var o;const i=Bd(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<ih;t++){const f=oh[t],p=r[f],h=void 0!==a[f]?a[f]:s[f],m=Wu(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||Uu(h)||"boolean"==typeof h)continue;let y=sh(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},C=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=od(t)&&od(r)?!Ld(t,r):t!==r,n?null!=t?C(e):u.add(e):void 0!==t&&u.has(e)?C(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 sh(e,t){return"string"==typeof t?t!==e:!!Array.isArray(t)&&!Ld(t,e)}function lh(e=!1){return{isActive:e,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}let uh=0;const ch={animation:{Feature:class extends Pd{constructor(e){super(e),e.animationState||(e.animationState=ah(e))}updateAnimationControlsSubscription(){const{animate:e}=this.node.getProps();this.unmount(),Uu(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 Pd{constructor(){super(...arguments),this.id=uh++}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(){}}}},dh=(e,t)=>Math.abs(e-t);class fh{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=mh(this.lastMoveEventInfo,this.history),t=null!==this.startEvent,r=function(e,t){const r=dh(e.x,t.x),n=dh(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}=fd;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=ph(t,this.transformPagePoint),cd.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=mh("pointercancel"===e.type?this.lastMoveEventInfo:ph(t,this.transformPagePoint),this.history);this.startEvent&&r&&r(e,i),n&&n(e,i)},!vd(e))return;this.dragSnapToOrigin=o,this.handlers=t,this.transformPagePoint=r,this.contextWindow=n||window;const i=ph(yd(e),this.transformPagePoint),{point:a}=i,{timestamp:s}=fd;this.history=[{...a,timestamp:s}];const{onSessionStart:l}=t;l&&l(e,mh(i,this.history)),this.removeListeners=wd(bd(this.contextWindow,"pointermove",this.handlePointerMove),bd(this.contextWindow,"pointerup",this.handlePointerUp),bd(this.contextWindow,"pointercancel",this.handlePointerUp))}updateHandlers(e){this.handlers=e}end(){this.removeListeners&&this.removeListeners(),dd(this.updatePoint)}}function ph(e,t){return t?{point:t(e.point)}:e}function hh(e,t){return{x:e.x-t.x,y:e.y-t.y}}function mh({point:e},t){return{point:e,delta:hh(e,vh(t)),offset:hh(e,gh(t)),velocity:yh(t,.1)}}function gh(e){return e[0]}function vh(e){return e[e.length-1]}function yh(e,t){if(e.length<2)return{x:0,y:0};let r=e.length-1,n=null;const o=vh(e);for(;r>=0&&(n=e[r],!(o.timestamp-n.timestamp>$d(t)));)r--;if(!n)return{x:0,y:0};const i=Id(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 bh(e){return e.max-e.min}function xh(e,t=0,r=.01){return Math.abs(e-t)<=r}function wh(e,t,r,n=.5){e.origin=n,e.originPoint=yp(t.min,t.max,e.origin),e.scale=bh(r)/bh(t),(xh(e.scale,1,1e-4)||isNaN(e.scale))&&(e.scale=1),e.translate=yp(r.min,r.max,e.origin)-e.originPoint,(xh(e.translate)||isNaN(e.translate))&&(e.translate=0)}function kh(e,t,r,n){wh(e.x,t.x,r.x,n?n.originX:void 0),wh(e.y,t.y,r.y,n?n.originY:void 0)}function Sh(e,t,r){e.min=r.min+t.min,e.max=e.min+bh(t)}function Ch(e,t,r){e.min=t.min-r.min,e.max=e.min+bh(t)}function _h(e,t,r){Ch(e.x,t.x,r.x),Ch(e.y,t.y,r.y)}function Eh(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 Ph(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 Th=.35;function zh(e,t,r){return{min:Ah(e,t),max:Ah(e,r)}}function Ah(e,t){return"number"==typeof e?e:e[t]||0}const Rh=()=>({x:{min:0,max:0},y:{min:0,max:0}});function Mh(e){return[e("x"),e("y")]}function jh({top:e,left:t,right:r,bottom:n}){return{x:{min:t,max:r},y:{min:e,max:n}}}function Fh(e){return void 0===e||1===e}function Oh({scale:e,scaleX:t,scaleY:r}){return!Fh(e)||!Fh(t)||!Fh(r)}function Dh(e){return Oh(e)||Lh(e)||e.z||e.rotate||e.rotateX||e.rotateY||e.skewX||e.skewY}function Lh(e){return Bh(e.x)||Bh(e.y)}function Bh(e){return e&&"0%"!==e}function $h(e,t,r){return r+t*(e-r)}function Ih(e,t,r,n,o){return void 0!==o&&(e=$h(e,o,n)),$h(e,r,n)+t}function Nh(e,t=0,r=1,n,o){e.min=Ih(e.min,t,r,n,o),e.max=Ih(e.max,t,r,n,o)}function Vh(e,{x:t,y:r}){Nh(e.x,t.translate,t.scale,t.originPoint),Nh(e.y,r.translate,r.scale,r.originPoint)}function Wh(e){return Number.isInteger(e)||e>1.0000000000001||e<.999999999999?e:1}function Uh(e,t){e.min=e.min+t,e.max=e.max+t}function Hh(e,t,[r,n,o]){const i=void 0!==t[o]?t[o]:.5,a=yp(e.min,e.max,i);Nh(e,t[r],t[n],a,t.scale)}const qh=["x","scaleX","originX"],Yh=["y","scaleY","originY"];function Xh(e,t){Hh(e.x,t,qh),Hh(e.y,t,Yh)}function Kh(e,t){return jh(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 Gh=({current:e})=>e?e.ownerDocument.defaultView:null,Qh=new WeakMap;class Zh{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 fh(e,{onSessionStart:e=>{const{dragSnapToOrigin:r}=this.getProps();r?this.pauseAnimation():this.stopAnimation(),t&&this.snapToCursor(yd(e,"page").point)},onStart:(e,t)=>{const{drag:r,dragPropagation:n,onDragStart:o}=this.getProps();if(r&&!n&&(this.openGlobalLock&&this.openGlobalLock(),this.openGlobalLock=_d(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),Mh(e=>{let t=this.getAxisMotionValue(e).get()||0;if(Ac.test(t)){const{projection:r}=this.visualElement;if(r&&r.layout){const n=r.layout.layoutBox[e];n&&(t=bh(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:()=>Mh(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:Gh(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||!Jh(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?yp(t,e,n.min):Math.max(e,t):void 0!==r&&e>r&&(e=n?yp(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&&Vu(t)?this.constraints||(this.constraints=this.resolveRefConstraints()):this.constraints=!(!t||!n)&&function(e,{top:t,left:r,bottom:n,right:o}){return{x:Eh(e.x,r,o),y:Eh(e.y,t,n)}}(n.layoutBox,t),this.elastic=function(e=Th){return!1===e?e=0:!0===e&&(e=Th),{x:zh(e,"left","right"),y:zh(e,"top","bottom")}}(r),o!==this.constraints&&n&&this.constraints&&!this.hasMutatedConstraints&&Mh(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||!Vu(e))return!1;const r=e.current;ef(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=Kh(e,r),{scroll:o}=t;return o&&(Uh(n.x,o.offset.x),Uh(n.y,o.offset.y)),n}(r,n.root,this.visualElement.getTransformPagePoint());let i=function(e,t){return{x:Ph(e.x,t.x),y:Ph(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=jh(e))}return i}startAnimation(e){const{drag:t,dragMomentum:r,dragElastic:n,dragTransition:o,dragSnapToOrigin:i,onDragTransitionEnd:a}=this.getProps(),s=this.constraints||{},l=Mh(a=>{if(!Jh(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(Hp(e,r,0,t,this.visualElement))}stopAnimation(){Mh(e=>this.getAxisMotionValue(e).stop())}pauseAnimation(){Mh(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){Mh(t=>{const{drag:r}=this.getProps();if(!Jh(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]-yp(r,i,.5))}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;const{drag:e,dragConstraints:t}=this.getProps(),{projection:r}=this.visualElement;if(!Vu(t)||!r||!this.constraints)return;this.stopAnimation();const n={x:0,y:0};Mh(e=>{const t=this.getAxisMotionValue(e);if(t){const r=t.get();n[e]=function(e,t){let r=.5;const n=bh(e),o=bh(t);return o>n?r=vp(t.min,t.max-n,e.min):n>o&&(r=vp(e.min,e.max-o,t.min)),bc(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(),Mh(t=>{if(!Jh(t,e,null))return;const r=this.getAxisMotionValue(t),{min:o,max:i}=this.constraints[t];r.set(yp(o,i,n[t]))})}addListeners(){if(!this.visualElement.current)return;Qh.set(this.visualElement,this);const e=bd(this.visualElement.current,"pointerdown",e=>{const{drag:t,dragListener:r=!0}=this.getProps();t&&r&&this.start(e)}),t=()=>{const{dragConstraints:e}=this.getProps();Vu(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=gd(window,"resize",()=>this.scalePositionWithinConstraints()),i=r.addEventListener("didUpdate",({delta:e,hasLayoutChanged:t})=>{this.isDragging&&t&&(Mh(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=Th,dragMomentum:a=!0}=e;return{...e,drag:t,dragDirectionLock:r,dragPropagation:n,dragConstraints:o,dragElastic:i,dragMomentum:a}}}function Jh(e,t,r){return!(!0!==t&&t!==e||null!==r&&r!==e)}const em=e=>(t,r)=>{e&&e(t,r)},tm={hasAnimatedSinceResize:!0,hasEverUpdated:!1};function rm(e,t){return t.max===t.min?0:e/(t.max-t.min)*100}const nm={correct:(e,t)=>{if(!t.target)return e;if("string"==typeof e){if(!Rc.test(e))return e;e=parseFloat(e)}return`${rm(e,t.target.x)}% ${rm(e,t.target.y)}%`}},om={correct:(e,{treeScale:t,projectionDelta:r})=>{const n=e,o=Df.parse(e);if(o.length>5)return n;const i=Df.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=yp(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 im extends s.Component{componentDidMount(){const{visualElement:e,layoutGroup:t,switchLayoutGroup:r,layoutId:n}=this.props,{projection:o}=e;var i;i=sm,Object.assign(ac,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()})),tm.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()||cd.postRender(()=>{const e=i.getStack();e&&e.members.length||this.safeToRemove()})),null):null}componentDidUpdate(){const{projection:e}=this.props.visualElement;e&&(e.root.didUpdate(),Iu.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 am(e){const[t,r]=function(){const e=(0,s.useContext)(zu);if(null===e)return[!0,null];const{isPresent:t,onExitComplete:r,register:n}=e,o=(0,s.useId)();return(0,s.useEffect)(()=>n(o),[]),!t&&r?[!1,()=>r&&r(o)]:[!0]}(),n=(0,s.useContext)(Zu);return s.createElement(im,{...e,layoutGroup:n,switchLayoutGroup:(0,s.useContext)(Ju),isPresent:t,safeToRemove:r})}const sm={borderRadius:{...nm,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:nm,borderTopRightRadius:nm,borderBottomLeftRadius:nm,borderBottomRightRadius:nm,boxShadow:om},lm=["TopLeft","TopRight","BottomLeft","BottomRight"],um=lm.length,cm=e=>"string"==typeof e?parseFloat(e):e,dm=e=>"number"==typeof e||Rc.test(e);function fm(e,t){return void 0!==e[t]?e[t]:e.borderRadius}const pm=mm(0,.5,cp),hm=mm(.5,.95,ud);function mm(e,t,r){return n=>n<e?0:n>t?1:r(vp(e,t,n))}function gm(e,t){e.min=t.min,e.max=t.max}function vm(e,t){gm(e.x,t.x),gm(e.y,t.y)}function ym(e,t,r,n,o){return e=$h(e-=t,1/r,n),void 0!==o&&(e=$h(e,1/o,n)),e}function bm(e,t,[r,n,o],i,a){!function(e,t=0,r=1,n=.5,o,i=e,a=e){if(Ac.test(t)&&(t=parseFloat(t),t=yp(a.min,a.max,t/100)-a.min),"number"!=typeof t)return;let s=yp(i.min,i.max,n);e===i&&(s-=t),e.min=ym(e.min,t,r,s,o),e.max=ym(e.max,t,r,s,o)}(e,t[r],t[n],t[o],t.scale,i,a)}const xm=["x","scaleX","originX"],wm=["y","scaleY","originY"];function km(e,t,r,n){bm(e.x,t,xm,r?r.x:void 0,n?n.x:void 0),bm(e.y,t,wm,r?r.y:void 0,n?n.y:void 0)}function Sm(e){return 0===e.translate&&1===e.scale}function Cm(e){return Sm(e.x)&&Sm(e.y)}function _m(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 Em(e){return bh(e.x)/bh(e.y)}class Pm{constructor(){this.members=[]}add(e){Yp(this.members,e),e.scheduleRender()}remove(e){if(Xp(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 Tm(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 zm=(e,t)=>e.depth-t.depth;class Am{constructor(){this.children=[],this.isDirty=!1}add(e){Yp(this.children,e),this.isDirty=!0}remove(e){Xp(this.children,e),this.isDirty=!0}forEach(e){this.isDirty&&this.children.sort(zm),this.isDirty=!1,this.children.forEach(e)}}const Rm=["","X","Y","Z"],Mm={visibility:"hidden"};let jm=0;const Fm={type:"projectionFrame",totalNodes:0,resolvedTargetDeltas:0,recalculatedProjection:0};function Om(e,t,r,n){const{latestValues:o}=t;o[e]&&(r[e]=o[e],t.setStaticValue(e,0),n&&(n[e]=0))}function Dm({attachResizeListener:e,defaultParent:t,measureScroll:r,checkIsScrollRoot:n,resetTransform:o}){return class{constructor(e={},r=(null==t?void 0:t())){this.id=jm++,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,Fm.totalNodes=Fm.resolvedTargetDeltas=Fm.recalculatedProjection=0,this.nodes.forEach($m),this.nodes.forEach(qm),this.nodes.forEach(Ym),this.nodes.forEach(Im),e=Fm,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 Am)}addEventListener(e,t){return this.eventHandlers.has(e)||this.eventHandlers.set(e,new Kp),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=Gd.now(),r=({timestamp:n})=>{const o=n-t;o>=250&&(dd(r),e(o-250))};return cd.read(r,!0),()=>dd(r)}(n),tm.hasAnimatedSinceResize&&(tm.hasAnimatedSinceResize=!1,this.nodes.forEach(Hm))})}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()||Jm,{onLayoutAnimationStart:i,onLayoutAnimationComplete:s}=a.getProps(),l=!this.targetLayout||!_m(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={...Hd(o,"layout"),onPlay:i,onComplete:s};(a.shouldReduceMotion||this.options.layoutRoot)&&(t.delay=0,t.type=!1),this.startAnimation(t)}else t||Hm(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,dd(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(Xm),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(Vm);this.isUpdating||this.nodes.forEach(Wm),this.isUpdating=!1,window.HandoffCancelAllAnimations&&window.HandoffCancelAllAnimations(),this.nodes.forEach(Um),this.nodes.forEach(Lm),this.nodes.forEach(Bm),this.clearAllSnapshots();const e=Gd.now();fd.delta=bc(0,1e3/60,e-fd.timestamp),fd.timestamp=e,fd.isProcessing=!0,pd.update.process(fd),pd.preRender.process(fd),pd.render.process(fd),fd.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,Iu.read(()=>this.update()))}clearAllSnapshots(){this.nodes.forEach(Nm),this.sharedNodes.forEach(Km)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,cd.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){cd.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&&!Cm(this.projectionDelta),r=this.getTransformTemplate(),n=r?r(this.latestValues,""):void 0,i=n!==this.prevTransformTemplateValue;e&&(t||Dh(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)),rg((n=r).x),rg(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&&(Uh(t.x,r.offset.x),Uh(t.y,r.offset.y)),t}removeElementScroll(e){const t={x:{min:0,max:0},y:{min:0,max:0}};vm(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){vm(t,e);const{scroll:r}=this.root;r&&(Uh(t.x,-r.offset.x),Uh(t.y,-r.offset.y))}Uh(t.x,o.offset.x),Uh(t.y,o.offset.y)}}return t}applyTransform(e,t=!1){const r={x:{min:0,max:0},y:{min:0,max:0}};vm(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&&Xh(r,{x:-n.scroll.offset.x,y:-n.scroll.offset.y}),Dh(n.latestValues)&&Xh(r,n.latestValues)}return Dh(this.latestValues)&&Xh(r,this.latestValues),r}removeTransform(e){const t={x:{min:0,max:0},y:{min:0,max:0}};vm(t,e);for(let e=0;e<this.path.length;e++){const r=this.path[e];if(!r.instance)continue;if(!Dh(r.latestValues))continue;Oh(r.latestValues)&&r.updateSnapshot();const n=Rh();vm(n,r.measurePageBox()),km(t,r.latestValues,r.snapshot?r.snapshot.layoutBox:void 0,n)}return Dh(this.latestValues)&&km(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!==fd.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=fd.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}},_h(this.relativeTargetOrigin,this.layout.layoutBox,e.layout.layoutBox),vm(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,Sh(a.x,s.x,l.x),Sh(a.y,s.y,l.y)):this.targetDelta?(Boolean(this.resumingFrom)?this.target=this.applyTransform(this.layout.layoutBox):vm(this.target,this.layout.layoutBox),Vh(this.target,this.targetDelta)):vm(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}},_h(this.relativeTargetOrigin,this.target,e.target),vm(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}Fm.resolvedTargetDeltas++}}}getClosestProjectingParent(){if(this.parent&&!Oh(this.parent.latestValues)&&!Lh(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===fd.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;vm(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&&Xh(e,{x:-i.scroll.offset.x,y:-i.scroll.offset.y}),a&&(t.x*=a.x.scale,t.y*=a.y.scale,Vh(e,a)),n&&Dh(i.latestValues)&&Xh(e,i.latestValues))}t.x=Wh(t.x),t.y=Wh(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;kh(this.projectionDelta,this.layoutCorrected,l,this.latestValues),this.projectionTransform=Tm(this.projectionDelta,this.treeScale),this.projectionTransform===u&&this.treeScale.x===a&&this.treeScale.y===s||(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",l)),Fm.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(Zm));let d;this.animationProgress=0,this.mixTargetDelta=t=>{const r=t/1e3;var l,f,p,h,m,g;Gm(i.x,e.x,r),Gm(i.y,e.y,r),this.setTargetDelta(i),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&(_h(a,this.layout.layoutBox,this.relativeParent.layout.layoutBox),p=this.relativeTarget,h=this.relativeTargetOrigin,m=a,g=r,Qm(p.x,h.x,m.x,g),Qm(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}}),vm(d,this.relativeTarget)),s&&(this.animationValues=o,function(e,t,r,n,o,i){o?(e.opacity=yp(0,void 0!==r.opacity?r.opacity:1,pm(n)),e.opacityExit=yp(void 0!==t.opacity?t.opacity:1,0,hm(n))):i&&(e.opacity=yp(void 0!==t.opacity?t.opacity:1,void 0!==r.opacity?r.opacity:1,n));for(let o=0;o<um;o++){const i=`border${lm[o]}Radius`;let a=fm(t,i),s=fm(r,i);void 0===a&&void 0===s||(a||(a=0),s||(s=0),0===a||0===s||dm(a)===dm(s)?(e[i]=Math.max(yp(cm(a),cm(s),n),0),(Ac.test(s)||Ac.test(a))&&(e[i]+="%")):e[i]=s)}(t.rotate||r.rotate)&&(e.rotate=yp(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&&(dd(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=cd.update(()=>{tm.hasAnimatedSinceResize=!0,this.currentAnimation=function(e,t,r){const n=cc(0)?0:Zp(0);return n.start(Hp("",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&&ng(this.options.animationType,this.layout.layoutBox,n.layoutBox)){r=this.target||{x:{min:0,max:0},y:{min:0,max:0}};const t=bh(this.layout.layoutBox.x);r.x.min=e.target.x.min,r.x.max=r.x.min+t;const n=bh(this.layout.layoutBox.y);r.y.min=e.target.y.min,r.y.max=r.y.min+n}vm(t,r),Xh(t,o),kh(this.projectionDeltaWithTransform,this.layoutCorrected,t,o)}}registerSharedNode(e,t){this.sharedNodes.has(e)||this.sharedNodes.set(e,new Pm),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<Rm.length;t++)Om(`rotate${Rm[t]}`,e,n,this.animationValues),Om(`skew${Rm[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 Mm;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&&!Dh(this.latestValues)&&(t.transform=o?o({},""):"none",this.hasProjected=!1),t}const a=i.animationValues||i.latestValues;this.applyTransformsToTarget(),n.transform=Tm(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 ac){if(void 0===a[e])continue;const{correct:t,applyTo:r}=ac[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(Vm),this.root.sharedNodes.clear()}}}function Lm(e){e.updateLayout()}function Bm(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?Mh(e=>{const n=i?r.measuredBox[e]:r.layoutBox[e],o=bh(n);n.min=t[e].min,n.max=n.min+o}):ng(o,r.layoutBox,t)&&Mh(n=>{const o=i?r.measuredBox[n]:r.layoutBox[n],a=bh(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}};kh(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?kh(s,e.applyTransform(n,!0),r.measuredBox):kh(s,t,r.layoutBox);const l=!Cm(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}};_h(a,r.layoutBox,o.layoutBox);const s={x:{min:0,max:0},y:{min:0,max:0}};_h(s,t,i.layoutBox),_m(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 $m(e){Fm.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 Im(e){e.isProjectionDirty=e.isSharedProjectionDirty=e.isTransformDirty=!1}function Nm(e){e.clearSnapshot()}function Vm(e){e.clearMeasurements()}function Wm(e){e.isLayoutDirty=!1}function Um(e){const{visualElement:t}=e.options;t&&t.getProps().onBeforeLayoutMeasure&&t.notify("BeforeLayoutMeasure"),e.resetTransform()}function Hm(e){e.finishAnimation(),e.targetDelta=e.relativeTarget=e.target=void 0,e.isProjectionDirty=!0}function qm(e){e.resolveTargetDelta()}function Ym(e){e.calcProjection()}function Xm(e){e.resetSkewAndRotation()}function Km(e){e.removeLeadSnapshot()}function Gm(e,t,r){e.translate=yp(t.translate,0,r),e.scale=yp(t.scale,1,r),e.origin=t.origin,e.originPoint=t.originPoint}function Qm(e,t,r,n){e.min=yp(t.min,r.min,n),e.max=yp(t.max,r.max,n)}function Zm(e){return e.animationValues&&void 0!==e.animationValues.opacityExit}const Jm={duration:.45,ease:[.4,0,.1,1]},eg=e=>"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(e),tg=eg("applewebkit/")&&!eg("chrome/")?Math.round:ud;function rg(e){e.min=tg(e.min),e.max=tg(e.max)}function ng(e,t,r){return"position"===e||"preserve-aspect"===e&&!xh(Em(t),Em(r),.2)}const og=Dm({attachResizeListener:(e,t)=>gd(e,"resize",t),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}),checkIsScrollRoot:()=>!0}),ig={current:void 0},ag=Dm({measureScroll:e=>({x:e.scrollLeft,y:e.scrollTop}),defaultParent:()=>{if(!ig.current){const e=new og({});e.mount(window),e.setOptions({layoutScroll:!0}),ig.current=e}return ig.current},resetTransform:(e,t)=>{e.style.transform=void 0!==t?t:"none"},checkIsScrollRoot:e=>Boolean("fixed"===window.getComputedStyle(e).position)}),sg={pan:{Feature:class extends Pd{constructor(){super(...arguments),this.removePointerDownListener=ud}onPointerDown(e){this.session=new fh(e,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:Gh(this.node)})}createPanHandlers(){const{onPanSessionStart:e,onPanStart:t,onPan:r,onPanEnd:n}=this.node.getProps();return{onSessionStart:em(e),onStart:em(t),onMove:r,onEnd:(e,t)=>{delete this.session,n&&n(e,t)}}}mount(){this.removePointerDownListener=bd(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 Pd{constructor(e){super(e),this.removeGroupControls=ud,this.removeListeners=ud,this.controls=new Zh(e)}mount(){const{dragControls:e}=this.node.getProps();e&&(this.removeGroupControls=e.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||ud}unmount(){this.removeGroupControls(),this.removeListeners()}},ProjectionNode:ag,MeasureLayout:am}},lg={current:null},ug={current:!1},cg=new WeakMap,dg=[...hf,Tf,Df],fg=Object.keys(Qu),pg=fg.length,hg=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"],mg=qu.length;class gg{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=wf,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=()=>cd.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=Yu(t),this.isVariantNode=Xu(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]&&cc(t)&&(t.set(s[e],!1),qp(u)&&u.add(e))}}scrapeMotionValuesFromProps(e,t){return{}}mount(e){this.current=e,cg.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)),ug.current||function(){if(ug.current=!0,Mu)if(window.matchMedia){const e=window.matchMedia("(prefers-reduced-motion)"),t=()=>lg.current=e.matches;e.addListener(t),t()}else lg.current=!1}(),this.shouldReduceMotion="never"!==this.reducedMotionConfig&&("always"===this.reducedMotionConfig||lg.current),this.parent&&this.parent.children.add(this),this.update(this.props,this.presenceContext)}unmount(){cg.delete(this.current),this.projection&&this.projection.unmount(),dd(this.notifyUpdate),dd(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=lc.has(e),n=t.on("change",t=>{this.latestValues[e]=t,this.props.onUpdate&&cd.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<pg;e++){const r=fg[e],{isEnabled:n,Feature:o,ProjectionNode:s,MeasureLayout:l}=Qu[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&&Vu(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<hg.length;t++){const r=hg[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(cc(i))e.addValue(o,i),qp(n)&&n.add(o);else if(cc(a))e.addValue(o,Zp(i,{owner:e})),qp(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,Zp(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<mg;e++){const r=qu[e],n=this.props[r];(Wu(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=Zp(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&&(tf(n)||Qd(n))?n=parseFloat(n):(o=n,!dg.find(pf(o))&&Df.test(t)&&(n=Wf(e,t))),this.setBaseTarget(e,cc(n)?n.get():n)),cc(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=rd(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||cc(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 Kp),this.events[e].add(t)}notify(e,...t){this.events[e]&&this.events[e].notify(...t)}}class vg extends gg{constructor(){super(...arguments),this.KeyframeResolver=Uf}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 yg extends vg{constructor(){super(...arguments),this.type="html"}readValueFromInstance(e,t){if(lc.has(t)){const e=Vf(t);return e&&e.default||0}{const n=(r=e,window.getComputedStyle(r)),o=(hc(t)?n.getPropertyValue(t):n[t])||0;return"string"==typeof o?o.trim():o}var r}measureInstanceViewportBox(e,{transformPagePoint:t}){return Kh(e,t)}build(e,t,r,n){Lc(e,t,r,n.transformTemplate)}scrapeMotionValuesFromProps(e,t){return ed(e,t)}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);const{children:e}=this.props;cc(e)&&(this.childSubscription=e.on("change",e=>{this.current&&(this.current.textContent=`${e}`)}))}renderInstance(e,t,r,n){Qc(e,t,r,n)}}class bg extends vg{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1}getBaseTargetFromProps(e,t){return e[t]}readValueFromInstance(e,t){if(lc.has(t)){const e=Vf(t);return e&&e.default||0}return t=Zc.has(t)?t:Ou(t),e.getAttribute(t)}measureInstanceViewportBox(){return{x:{min:0,max:0},y:{min:0,max:0}}}scrapeMotionValuesFromProps(e,t){return td(e,t)}build(e,t,r,n){Yc(e,t,r,this.isSVGTag,n.transformTemplate)}renderInstance(e,t,r,n){Jc(e,t,0,n)}mount(e){this.isSVGTag=Xc(e.tagName),super.mount(e)}}const xg=(e,t)=>ic(e)?new bg(t,{enableHardwareAcceleration:!1}):new yg(t,{enableHardwareAcceleration:!0}),wg={...ch,...Dd,...sg,layout:{ProjectionNode:ag,MeasureLayout:am}},kg=nc((e,t)=>function(e,{forwardMotionProps:t=!1},r,n){return{...ic(e)?hd:md,preloadedFeatures:r,useRender:Gc(t),createVisualElement:n,Component:e}}(e,t,wg,xg));var Sg={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]}}},Cg=(0,s.memo)(e=>{const{id:t,message:r,onCloseComplete:n,onRequestRemove:o,requestClose:i=!1,position:a="bottom",duration:l=5e3,containerStyle:u,motionVariants:c=Sg,toastSpacing:f="0.5rem"}=e,[p,h]=(0,s.useState)(l),m=null===(g=(0,s.useContext)(zu))||g.isPresent;var g;Tu(()=>{m||null==n||n()},[m]),Tu(()=>{h(l)},[l]);const v=()=>{m&&o()};(0,s.useEffect)(()=>{m&&i&&o()},[m,i,o]),function(e,t){const r=Pu(e);(0,s.useEffect)(()=>{if(null==t)return;let e=null;return e=window.setTimeout(()=>{r()},t),()=>{e&&window.clearTimeout(e)}},[t,r])}(v,p);const y=(0,s.useMemo)(()=>({pointerEvents:"auto",maxWidth:560,minWidth:300,margin:f,...u}),[u,f]),b=(0,s.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,Hr.jsx)(kg.div,{layout:!0,className:"chakra-toast",variants:c,initial:"initial",animate:"animate",exit:"exit",onHoverStart:()=>h(null),onHoverEnd:()=>h(l),custom:{position:a},style:b,children:(0,Hr.jsx)(Ir.div,{role:"status","aria-atomic":"true",className:"chakra-toast__inner",__css:y,children:d(r,{id:t,onClose:v})})})});function _g(e){return(0,s.forwardRef)(e)}function Eg(){const e=(0,s.useContext)(Pr);if(!e)throw Error("useTheme: `theme` is undefined. Seems you forgot to wrap your app in `<ChakraProvider />` or `<ThemeProvider />`");return e}Cg.displayName="ToastComponent";var Pg=r(115);function Tg(e,t={}){var r;const{styleConfig:n,...o}=t,{theme:i,colorMode:a}={...Je(),theme:Eg()},l=e?et(i,`components.${e}`):void 0,u=n||l,f=m({theme:i,colorMode:a},null!=(r=null==u?void 0:u.defaultProps)?r:{},rt(function(e,t){const r={};return Object.keys(e).forEach(n=>{t.includes(n)||(r[n]=e[n])}),r}(o,["children"]))),p=(0,s.useRef)({});if(u){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:c(e)?t(e):null!=e?[e]:void 0}(n,t.toArrayValue);if(!l)return s;const u=l.length,f=1===u,p=!!e.parts;for(let n=0;n<u;n++){const u=t.details[n],c=t.details[Ye(l,n)],h=be(u.minW,null==c?void 0:c._minW),g=d(null==(i=e[r])?void 0:i[l[n]],o);g&&(p?null==(a=e.parts)||a.forEach(e=>{m(s,{[e]:f?g[e]:{[h]:g[e]}})}):p?s[h]=g:f?m(s,g):s[h]=g)}return s}}(i);return m({},d(null!=(r=e.baseStyle)?r:{},t),a(e,"sizes",o,t),a(e,"variants",n,t))}}(u),t=e(f);Pg(p.current,t)||(p.current=t)}return p.current}function zg(e,t={}){return Tg(e,t)}function Ag(e,t={}){return Tg(e,t)}var Rg={path:(0,Hr.jsxs)("g",{stroke:"currentColor",strokeWidth:"1.5",children:[(0,Hr.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,Hr.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,Hr.jsx)("circle",{fill:"none",strokeMiterlimit:"10",cx:"12",cy:"12",r:"11.25"})]}),viewBox:"0 0 24 24"},Mg=_g((e,t)=>{const{as:r,viewBox:n,color:o="currentColor",focusable:i=!1,children:a,className:s,__css:l,...c}=e,d={ref:t,focusable:i,className:u("chakra-icon",s),__css:{w:"1em",h:"1em",display:"inline-block",lineHeight:"1em",flexShrink:0,color:o,...l,...zg("Icon",e)}},f=null!=n?n:Rg.viewBox;if(r&&"string"!=typeof r)return(0,Hr.jsx)(Ir.svg,{as:r,...d,...c});const p=null!=a?a:Rg.path;return(0,Hr.jsx)(Ir.svg,{verticalAlign:"middle",viewBox:f,...d,...c,children:p})});function jg(e){return(0,Hr.jsx)(Mg,{viewBox:"0 0 24 24",...e,children:(0,Hr.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"})})}Mg.displayName="Icon";var Fg=function(){var e=Ur.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)"}}),Og=_g((e,t)=>{const r=zg("Spinner",e),{label:n="Loading...",thickness:o="2px",speed:i="0.45s",emptyColor:a="transparent",className:s,...l}=Xe(e),c=u("chakra-spinner",s),d={display:"inline-block",borderColor:"currentColor",borderStyle:"solid",borderRadius:"99999px",borderWidth:o,borderBottomColor:a,borderLeftColor:a,animation:`${Fg} ${i} linear infinite`,...r};return(0,Hr.jsx)(Ir.div,{ref:t,__css:d,className:c,...l,children:n&&(0,Hr.jsx)(Ir.span,{srOnly:!0,children:n})})});Og.displayName="Spinner";var[Dg,Lg]=Gr({name:"AlertContext",hookName:"useAlertContext",providerName:"<Alert />"}),[Bg,$g]=Gr({name:"AlertStylesContext",hookName:"useAlertStyles",providerName:"<Alert />"}),Ig={info:{icon:function(e){return(0,Hr.jsx)(Mg,{viewBox:"0 0 24 24",...e,children:(0,Hr.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,Hr.jsx)(Mg,{viewBox:"0 0 24 24",...e,children:(0,Hr.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:Og,colorScheme:"blue"}},Ng=_g(function(e,t){var r;const{status:n="info",addRole:o=!0,...i}=Xe(e),a=null!=(r=e.colorScheme)?r:function(e){return Ig[e].colorScheme}(n),s=Ag("Alert",{...e,colorScheme:a}),l={width:"100%",display:"flex",alignItems:"center",position:"relative",overflow:"hidden",...s.container};return(0,Hr.jsx)(Dg,{value:{status:n},children:(0,Hr.jsx)(Bg,{value:s,children:(0,Hr.jsx)(Ir.div,{"data-status":n,role:o?"alert":void 0,ref:t,...i,className:u("chakra-alert",e.className),__css:l})})})});function Vg(e){const{status:t}=Lg(),r=function(e){return Ig[e].icon}(t),n=$g(),o="loading"===t?n.spinner:n.icon;return(0,Hr.jsx)(Ir.span,{display:"inherit","data-status":t,...e,className:u("chakra-alert__icon",e.className),__css:o,children:e.children||(0,Hr.jsx)(r,{h:"100%",w:"100%"})})}Ng.displayName="Alert",Vg.displayName="AlertIcon";var Wg=_g(function(e,t){const r=$g(),{status:n}=Lg();return(0,Hr.jsx)(Ir.div,{ref:t,"data-status":n,...e,className:u("chakra-alert__title",e.className),__css:r.title})});Wg.displayName="AlertTitle";var Ug=_g(function(e,t){const r=$g(),{status:n}=Lg(),o={display:"inline",...r.description};return(0,Hr.jsx)(Ir.div,{ref:t,"data-status":n,...e,className:u("chakra-alert__desc",e.className),__css:o})});function Hg(e){return(0,Hr.jsx)(Mg,{focusable:"false","aria-hidden":!0,...e,children:(0,Hr.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"})})}Ug.displayName="AlertDescription";var qg=_g(function(e,t){const r=zg("CloseButton",e),{children:n,isDisabled:o,__css:i,...a}=Xe(e);return(0,Hr.jsx)(Ir.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,Hr.jsx)(Hg,{width:"1em",height:"1em"})})});qg.displayName="CloseButton";var Yg=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;Xg+=1;const o=null!=(r=t.id)?r:Xg,i=null!=(n=t.position)?n:"bottom";return{id:o,message:e,position:i,duration:t.duration,onCloseComplete:t.onCloseComplete,onRequestRemove:()=>Yg.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}=Cu(n,e);return o&&-1!==i&&(n[o][i]={...n[o][i],...t,message:Gg(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=_u(t,e);return r?{...t,[r]:t[r].map(t=>t.id==e?{...t,requestClose:!0}:t)}:t})},isActive:e=>Boolean(Cu(Yg.getState(),e).position)}}({top:[],"top-left":[],"top-right":[],"bottom-left":[],bottom:[],"bottom-right":[]}),Xg=0,Kg=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,Hr.jsxs)(Ng,{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,Hr.jsx)(Vg,{children:u}),(0,Hr.jsxs)(Ir.div,{flex:"1",maxWidth:"100%",children:[o&&(0,Hr.jsx)(Wg,{id:null==c?void 0:c.title,children:o}),s&&(0,Hr.jsx)(Ug,{id:null==c?void 0:c.description,display:"block",children:s})]}),i&&(0,Hr.jsx)(qg,{size:"sm",onClick:a,position:"absolute",insetEnd:1,top:1})]})};function Gg(e={}){const{render:t,toastComponent:r=Kg}=e;return n=>"function"==typeof t?t({...n,...e}):(0,Hr.jsx)(r,{...n,...e})}function Qg(){const e=(0,s.useRef)(!1);return ju(()=>(e.current=!0,()=>{e.current=!1}),[]),e}class Zg extends s.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 Jg({children:e,isPresent:t}){const r=(0,s.useId)(),n=(0,s.useRef)(null),o=(0,s.useRef)({width:0,height:0,top:0,left:0}),{nonce:i}=(0,s.useContext)(Au);return(0,s.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]),s.createElement(Zg,{isPresent:t,childRef:n,sizeRef:o},s.cloneElement(e,{ref:n}))}const ev=({children:e,initial:t,isPresent:r,onExitComplete:n,custom:o,presenceAffectsLayout:i,mode:a})=>{const l=nd(tv),u=(0,s.useId)(),c=(0,s.useMemo)(()=>({id:u,initial:t,isPresent:r,custom:o,onExitComplete:e=>{l.set(e,!0);for(const e of l.values())if(!e)return;n&&n()},register:e=>(l.set(e,!1),()=>l.delete(e))}),i?void 0:[r]);return(0,s.useMemo)(()=>{l.forEach((e,t)=>l.set(t,!1))},[r]),s.useEffect(()=>{!r&&!l.size&&n&&n()},[r]),"popLayout"===a&&(e=s.createElement(Jg,{isPresent:r},e)),s.createElement(zu.Provider,{value:c},e)};function tv(){return new Map}const rv=e=>e.key||"",nv=({children:e,custom:t,initial:r=!0,onExitComplete:n,exitBeforeEnter:o,presenceAffectsLayout:i=!0,mode:a="sync"})=>{ef(!o,"Replace exitBeforeEnter with mode='wait'");const l=(0,s.useContext)(Zu).forceRender||function(){const e=Qg(),[t,r]=(0,s.useState)(0),n=(0,s.useCallback)(()=>{e.current&&r(t+1)},[t]);return[(0,s.useCallback)(()=>cd.postRender(n),[n]),t]}()[0],u=Qg(),c=function(e){const t=[];return s.Children.forEach(e,e=>{(0,s.isValidElement)(e)&&t.push(e)}),t}(e);let d=c;const f=(0,s.useRef)(new Map).current,p=(0,s.useRef)(d),h=(0,s.useRef)(new Map).current,m=(0,s.useRef)(!0);var g;if(ju(()=>{m.current=!1,function(e,t){e.forEach(e=>{const r=rv(e);t.set(r,e)})}(c,h),p.current=d}),g=()=>{m.current=!0,h.clear(),f.clear()},(0,s.useEffect)(()=>()=>g(),[]),m.current)return s.createElement(s.Fragment,null,d.map(e=>s.createElement(ev,{key:rv(e),isPresent:!0,initial:!!r&&void 0,presenceAffectsLayout:i,mode:a},e)));d=[...d];const v=p.current.map(rv),y=c.map(rv),b=v.length;for(let e=0;e<b;e++){const t=v[e];-1!==y.indexOf(t)||f.has(t)||f.set(t,void 0)}return"wait"===a&&f.size&&(d=[]),f.forEach((e,r)=>{if(-1!==y.indexOf(r))return;const o=h.get(r);if(!o)return;const m=v.indexOf(r);let g=e;if(!g){const e=()=>{f.delete(r);const e=Array.from(h.keys()).filter(e=>!y.includes(e));if(e.forEach(e=>h.delete(e)),p.current=c.filter(t=>{const n=rv(t);return n===r||e.includes(n)}),!f.size){if(!1===u.current)return;l(),n&&n()}};g=s.createElement(ev,{key:rv(o),isPresent:!1,onExitComplete:e,custom:t,presenceAffectsLayout:i,mode:a},o),f.set(r,g)}d.splice(m,0,g)}),d=d.map(e=>{const t=e.key;return f.has(t)?e:s.createElement(ev,{key:rv(e),isPresent:!0,presenceAffectsLayout:i,mode:a},e)}),s.createElement(s.Fragment,null,f.size?d:d.map(e=>(0,s.cloneElement)(e)))};var ov=r(961),[iv,av]=Gr({strict:!1,name:"PortalContext"}),sv="chakra-portal",lv=e=>(0,Hr.jsx)("div",{className:"chakra-portal-zIndex",style:{position:"absolute",zIndex:e.zIndex,top:0,left:0,right:0},children:e.children}),uv=e=>{const{appendToParentPortal:t,children:r}=e,[n,o]=(0,s.useState)(null),i=(0,s.useRef)(null),[,a]=(0,s.useState)({});(0,s.useEffect)(()=>a({}),[]);const l=av(),u=Zr();dn(()=>{if(!n)return;const e=n.ownerDocument,r=t&&null!=l?l:e.body;if(!r)return;i.current=e.createElement("div"),i.current.className=sv,r.appendChild(i.current),a({});const o=i.current;return()=>{r.contains(o)&&r.removeChild(o)}},[n]);const c=(null==u?void 0:u.zIndex)?(0,Hr.jsx)(lv,{zIndex:null==u?void 0:u.zIndex,children:r}):r;return i.current?(0,ov.createPortal)((0,Hr.jsx)(iv,{value:i.current,children:c}),i.current):(0,Hr.jsx)("span",{ref:e=>{e&&o(e)}})},cv=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,s.useMemo)(()=>{const e=null==o?void 0:o.ownerDocument.createElement("div");return e&&(e.className=sv),e},[o]),[,l]=(0,s.useState)({});return dn(()=>l({}),[]),dn(()=>{if(a&&i)return i.appendChild(a),()=>{i.removeChild(a)}},[a,i]),i&&a?(0,ov.createPortal)((0,Hr.jsx)(iv,{value:n?a:null,children:t}),a):null};function dv(e){const t={appendToParentPortal:!0,...e},{containerRef:r,...n}=t;return r?(0,Hr.jsx)(cv,{containerRef:r,...n}):(0,Hr.jsx)(uv,{...n})}dv.className=sv,dv.selector=".chakra-portal",dv.displayName="Portal";var[fv,pv]=Gr({name:"ToastOptionsContext",strict:!1}),hv=e=>{const t=(0,s.useSyncExternalStore)(Yg.subscribe,Yg.getState,Yg.getState),{motionVariants:r,component:n=Cg,portalProps:o}=e,i=Object.keys(t).map(e=>{const o=t[e];return(0,Hr.jsx)("div",{role:"region","aria-live":"polite","aria-label":`Notifications-${e}`,id:`chakra-toast-manager-${e}`,style:Eu(e),children:(0,Hr.jsx)(nv,{initial:!1,children:o.map(e=>(0,Hr.jsx)(n,{motionVariants:r,...e},e.id))})},e)});return(0,Hr.jsx)(dv,{...o,children:i})},mv=e=>function({children:t,theme:r=e,toastOptions:n,...o}){return(0,Hr.jsxs)(vn,{theme:r,...o,children:[(0,Hr.jsx)(fv,{value:null==n?void 0:n.defaultOptions,children:t}),(0,Hr.jsx)(hv,{...n})]})},gv=mv(wu),vv=(mv(ku),Ir("div"));vv.displayName="Box";var yv=_g(function(e,t){const{size:r,centerContent:n=!0,...o}=e,i=n?{display:"flex",alignItems:"center",justifyContent:"center"}:{};return(0,Hr.jsx)(vv,{ref:t,boxSize:r,__css:{...i,flexShrink:0,flexGrow:0},...o})});yv.displayName="Square";var bv=_g(function(e,t){const{size:r,...n}=e;return(0,Hr.jsx)(yv,{size:r,ref:t,borderRadius:"9999px",...n})});function xv(e,t,r,n){const o=Pu(r);return(0,s.useEffect)(()=>{const i="function"==typeof e?e():null!=e?e:document;if(r&&i)return i.addEventListener(t,o,n),()=>{i.removeEventListener(t,o,n)}},[t,e,n,o,r]),()=>{const r="function"==typeof e?e():null!=e?e:document;null==r||r.removeEventListener(t,o,n)}}function wv(e){return null!=e&&"object"==typeof e&&"nodeType"in e&&e.nodeType===Node.ELEMENT_NODE}function kv(e){var t;return!!wv(e)&&e instanceof(null!=(t=e.ownerDocument.defaultView)?t:window).HTMLElement}function Sv(e){return wv(e)?e.ownerDocument:document}bv.displayName="Circle";var Cv=()=>"undefined"!=typeof window,_v=()=>{return(e=>Cv()&&e.test(function(){var e;const t=navigator.userAgentData;return null!=(e=null==t?void 0:t.platform)?e:navigator.platform}()))(/mac|iphone|ipad|ipod/i)&&(e=/apple/i,Cv()&&e.test(navigator.vendor));var e},Ev=e=>e.hasAttribute("tabindex");function Pv(e){return!(!e.parentElement||!Pv(e.parentElement))||e.hidden}function Tv(e){if(!kv(e)||Pv(e)||function(e){return!0===Boolean(e.getAttribute("disabled"))||!0===Boolean(e.getAttribute("aria-disabled"))}(e))return!1;const{localName:t}=e;if(["input","select","textarea","button"].indexOf(t)>=0)return!0;const r={a:()=>e.hasAttribute("href"),audio:()=>e.hasAttribute("controls"),video:()=>e.hasAttribute("controls")};return t in r?r[t]():!!function(e){const t=e.getAttribute("contenteditable");return"false"!==t&&null!=t}(e)||Ev(e)}var zv=["input:not(:disabled):not([disabled])","select:not(:disabled):not([disabled])","textarea:not(:disabled):not([disabled])","embed","iframe","object","a[href]","area[href]","button:not(:disabled):not([disabled])","[tabindex]","audio[controls]","video[controls]","*[tabindex]:not([aria-disabled])","*[contenteditable]"].join();function Av(e){const t=e.current;if(!t)return!1;const r=function(e){return Sv(e).activeElement}(t);return!(!r||t.contains(r)||(n=r,!(n&&kv(n)&&Tv(n))||(e=>Ev(e)&&-1===e.tabIndex)(n)));var n}var Rv={preventScroll:!0,shouldFocus:!1},Mv=(e,t)=>({var:e,varRef:t?`var(${e}, ${t})`:`var(${e})`}),jv={arrowShadowColor:Mv("--popper-arrow-shadow-color"),arrowSize:Mv("--popper-arrow-size","8px"),arrowSizeHalf:Mv("--popper-arrow-size-half"),arrowBg:Mv("--popper-arrow-bg"),transformOrigin:Mv("--popper-transform-origin"),arrowOffset:Mv("--popper-arrow-offset")},Fv={top:"bottom center","top-start":"bottom left","top-end":"bottom right",bottom:"top center","bottom-start":"top left","bottom-end":"top right",left:"right center","left-start":"right top","left-end":"right bottom",right:"left center","right-start":"left top","right-end":"left bottom"},Ov={scroll:!0,resize:!0};function Dv(e){let t;return t="object"==typeof e?{enabled:!0,options:{...Ov,...e}}:{enabled:e,options:Ov},t}var Lv={name:"matchWidth",enabled:!0,phase:"beforeWrite",requires:["computeStyles"],fn:({state:e})=>{e.styles.popper.width=`${e.rects.reference.width}px`},effect:({state:e})=>()=>{const t=e.elements.reference;e.elements.popper.style.width=`${t.offsetWidth}px`}},Bv={name:"transformOrigin",enabled:!0,phase:"write",fn:({state:e})=>{$v(e)},effect:({state:e})=>()=>{$v(e)}},$v=e=>{var t;e.elements.popper.style.setProperty(jv.transformOrigin.var,(t=e.placement,Fv[t]))},Iv={name:"positionArrow",enabled:!0,phase:"afterWrite",fn:({state:e})=>{Nv(e)}},Nv=e=>{var t;if(!e.placement)return;const r=Vv(e.placement);if((null==(t=e.elements)?void 0:t.arrow)&&r){Object.assign(e.elements.arrow.style,{[r.property]:r.value,width:jv.arrowSize.varRef,height:jv.arrowSize.varRef,zIndex:-1});const t={[jv.arrowSizeHalf.var]:`calc(${jv.arrowSize.varRef} / 2 - 1px)`,[jv.arrowOffset.var]:`calc(${jv.arrowSizeHalf.varRef} * -1)`};for(const r in t)e.elements.arrow.style.setProperty(r,t[r])}},Vv=e=>e.startsWith("top")?{property:"bottom",value:jv.arrowOffset.varRef}:e.startsWith("bottom")?{property:"top",value:jv.arrowOffset.varRef}:e.startsWith("left")?{property:"right",value:jv.arrowOffset.varRef}:e.startsWith("right")?{property:"left",value:jv.arrowOffset.varRef}:void 0,Wv={name:"innerArrow",enabled:!0,phase:"main",requires:["arrow"],fn:({state:e})=>{Uv(e)},effect:({state:e})=>()=>{Uv(e)}},Uv=e=>{if(!e.elements.arrow)return;const t=e.elements.arrow.querySelector("[data-popper-arrow-inner]");if(!t)return;const r=(n=e.placement).includes("top")?"1px 1px 0px 0 var(--popper-arrow-shadow-color)":n.includes("bottom")?"-1px -1px 0px 0 var(--popper-arrow-shadow-color)":n.includes("right")?"-1px 1px 0px 0 var(--popper-arrow-shadow-color)":n.includes("left")?"1px -1px 0px 0 var(--popper-arrow-shadow-color)":void 0;var n;r&&t.style.setProperty("--popper-arrow-default-shadow",r),Object.assign(t.style,{transform:"rotate(45deg)",background:jv.arrowBg.varRef,top:0,left:0,width:"100%",height:"100%",position:"absolute",zIndex:"inherit",boxShadow:"var(--popper-arrow-shadow, var(--popper-arrow-default-shadow))"})},Hv={"start-start":{ltr:"left-start",rtl:"right-start"},"start-end":{ltr:"left-end",rtl:"right-end"},"end-start":{ltr:"right-start",rtl:"left-start"},"end-end":{ltr:"right-end",rtl:"left-end"},start:{ltr:"left",rtl:"right"},end:{ltr:"right",rtl:"left"}},qv={"auto-start":"auto-end","auto-end":"auto-start","top-start":"top-end","top-end":"top-start","bottom-start":"bottom-end","bottom-end":"bottom-start"};function Yv(...e){return t=>{e.forEach(e=>{!function(e,t){if(null!=e)if("function"!=typeof e)try{e.current=t}catch(r){throw new Error(`Cannot assign value '${t}' to ref '${e}'`)}else e(t)}(e,t)})}}function Xv(e){if(null==e)return window;if("[object Window]"!==e.toString()){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function Kv(e){return e instanceof Xv(e).Element||e instanceof Element}function Gv(e){return e instanceof Xv(e).HTMLElement||e instanceof HTMLElement}function Qv(e){return"undefined"!=typeof ShadowRoot&&(e instanceof Xv(e).ShadowRoot||e instanceof ShadowRoot)}var Zv=Math.max,Jv=Math.min,ey=Math.round;function ty(){var e=navigator.userAgentData;return null!=e&&e.brands&&Array.isArray(e.brands)?e.brands.map(function(e){return e.brand+"/"+e.version}).join(" "):navigator.userAgent}function ry(){return!/^((?!chrome|android).)*safari/i.test(ty())}function ny(e,t,r){void 0===t&&(t=!1),void 0===r&&(r=!1);var n=e.getBoundingClientRect(),o=1,i=1;t&&Gv(e)&&(o=e.offsetWidth>0&&ey(n.width)/e.offsetWidth||1,i=e.offsetHeight>0&&ey(n.height)/e.offsetHeight||1);var a=(Kv(e)?Xv(e):window).visualViewport,s=!ry()&&r,l=(n.left+(s&&a?a.offsetLeft:0))/o,u=(n.top+(s&&a?a.offsetTop:0))/i,c=n.width/o,d=n.height/i;return{width:c,height:d,top:u,right:l+c,bottom:u+d,left:l,x:l,y:u}}function oy(e){var t=Xv(e);return{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function iy(e){return e?(e.nodeName||"").toLowerCase():null}function ay(e){return((Kv(e)?e.ownerDocument:e.document)||window.document).documentElement}function sy(e){return ny(ay(e)).left+oy(e).scrollLeft}function ly(e){return Xv(e).getComputedStyle(e)}function uy(e){var t=ly(e),r=t.overflow,n=t.overflowX,o=t.overflowY;return/auto|scroll|overlay|hidden/.test(r+o+n)}function cy(e,t,r){void 0===r&&(r=!1);var n=Gv(t),o=Gv(t)&&function(e){var t=e.getBoundingClientRect(),r=ey(t.width)/e.offsetWidth||1,n=ey(t.height)/e.offsetHeight||1;return 1!==r||1!==n}(t),i=ay(t),a=ny(e,o,r),s={scrollLeft:0,scrollTop:0},l={x:0,y:0};return(n||!n&&!r)&&(("body"!==iy(t)||uy(i))&&(s=function(e){return e!==Xv(e)&&Gv(e)?{scrollLeft:(t=e).scrollLeft,scrollTop:t.scrollTop}:oy(e);var t}(t)),Gv(t)?((l=ny(t,!0)).x+=t.clientLeft,l.y+=t.clientTop):i&&(l.x=sy(i))),{x:a.left+s.scrollLeft-l.x,y:a.top+s.scrollTop-l.y,width:a.width,height:a.height}}function dy(e){var t=ny(e),r=e.offsetWidth,n=e.offsetHeight;return Math.abs(t.width-r)<=1&&(r=t.width),Math.abs(t.height-n)<=1&&(n=t.height),{x:e.offsetLeft,y:e.offsetTop,width:r,height:n}}function fy(e){return"html"===iy(e)?e:e.assignedSlot||e.parentNode||(Qv(e)?e.host:null)||ay(e)}function py(e){return["html","body","#document"].indexOf(iy(e))>=0?e.ownerDocument.body:Gv(e)&&uy(e)?e:py(fy(e))}function hy(e,t){var r;void 0===t&&(t=[]);var n=py(e),o=n===(null==(r=e.ownerDocument)?void 0:r.body),i=Xv(n),a=o?[i].concat(i.visualViewport||[],uy(n)?n:[]):n,s=t.concat(a);return o?s:s.concat(hy(fy(a)))}function my(e){return["table","td","th"].indexOf(iy(e))>=0}function gy(e){return Gv(e)&&"fixed"!==ly(e).position?e.offsetParent:null}function vy(e){for(var t=Xv(e),r=gy(e);r&&my(r)&&"static"===ly(r).position;)r=gy(r);return r&&("html"===iy(r)||"body"===iy(r)&&"static"===ly(r).position)?t:r||function(e){var t=/firefox/i.test(ty());if(/Trident/i.test(ty())&&Gv(e)&&"fixed"===ly(e).position)return null;var r=fy(e);for(Qv(r)&&(r=r.host);Gv(r)&&["html","body"].indexOf(iy(r))<0;){var n=ly(r);if("none"!==n.transform||"none"!==n.perspective||"paint"===n.contain||-1!==["transform","perspective"].indexOf(n.willChange)||t&&"filter"===n.willChange||t&&n.filter&&"none"!==n.filter)return r;r=r.parentNode}return null}(e)||t}var yy="top",by="bottom",xy="right",wy="left",ky="auto",Sy=[yy,by,xy,wy],Cy="start",_y="end",Ey="viewport",Py="popper",Ty=Sy.reduce(function(e,t){return e.concat([t+"-"+Cy,t+"-"+_y])},[]),zy=[].concat(Sy,[ky]).reduce(function(e,t){return e.concat([t,t+"-"+Cy,t+"-"+_y])},[]),Ay=["beforeRead","read","afterRead","beforeMain","main","afterMain","beforeWrite","write","afterWrite"];function Ry(e){var t=new Map,r=new Set,n=[];function o(e){r.add(e.name),[].concat(e.requires||[],e.requiresIfExists||[]).forEach(function(e){if(!r.has(e)){var n=t.get(e);n&&o(n)}}),n.push(e)}return e.forEach(function(e){t.set(e.name,e)}),e.forEach(function(e){r.has(e.name)||o(e)}),n}var My={placement:"bottom",modifiers:[],strategy:"absolute"};function jy(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return!t.some(function(e){return!(e&&"function"==typeof e.getBoundingClientRect)})}function Fy(e){void 0===e&&(e={});var t=e,r=t.defaultModifiers,n=void 0===r?[]:r,o=t.defaultOptions,i=void 0===o?My:o;return function(e,t,r){void 0===r&&(r=i);var o,a,s={placement:"bottom",orderedModifiers:[],options:Object.assign({},My,i),modifiersData:{},elements:{reference:e,popper:t},attributes:{},styles:{}},l=[],u=!1,c={state:s,setOptions:function(r){var o="function"==typeof r?r(s.options):r;d(),s.options=Object.assign({},i,s.options,o),s.scrollParents={reference:Kv(e)?hy(e):e.contextElement?hy(e.contextElement):[],popper:hy(t)};var a,u,f=function(e){var t=Ry(e);return Ay.reduce(function(e,r){return e.concat(t.filter(function(e){return e.phase===r}))},[])}((a=[].concat(n,s.options.modifiers),u=a.reduce(function(e,t){var r=e[t.name];return e[t.name]=r?Object.assign({},r,t,{options:Object.assign({},r.options,t.options),data:Object.assign({},r.data,t.data)}):t,e},{}),Object.keys(u).map(function(e){return u[e]})));return s.orderedModifiers=f.filter(function(e){return e.enabled}),s.orderedModifiers.forEach(function(e){var t=e.name,r=e.options,n=void 0===r?{}:r,o=e.effect;if("function"==typeof o){var i=o({state:s,name:t,instance:c,options:n});l.push(i||function(){})}}),c.update()},forceUpdate:function(){if(!u){var e=s.elements,t=e.reference,r=e.popper;if(jy(t,r)){s.rects={reference:cy(t,vy(r),"fixed"===s.options.strategy),popper:dy(r)},s.reset=!1,s.placement=s.options.placement,s.orderedModifiers.forEach(function(e){return s.modifiersData[e.name]=Object.assign({},e.data)});for(var n=0;n<s.orderedModifiers.length;n++)if(!0!==s.reset){var o=s.orderedModifiers[n],i=o.fn,a=o.options,l=void 0===a?{}:a,d=o.name;"function"==typeof i&&(s=i({state:s,options:l,name:d,instance:c})||s)}else s.reset=!1,n=-1}}},update:(o=function(){return new Promise(function(e){c.forceUpdate(),e(s)})},function(){return a||(a=new Promise(function(e){Promise.resolve().then(function(){a=void 0,e(o())})})),a}),destroy:function(){d(),u=!0}};if(!jy(e,t))return c;function d(){l.forEach(function(e){return e()}),l=[]}return c.setOptions(r).then(function(e){!u&&r.onFirstUpdate&&r.onFirstUpdate(e)}),c}}var Oy={passive:!0};const Dy={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(e){var t=e.state,r=e.instance,n=e.options,o=n.scroll,i=void 0===o||o,a=n.resize,s=void 0===a||a,l=Xv(t.elements.popper),u=[].concat(t.scrollParents.reference,t.scrollParents.popper);return i&&u.forEach(function(e){e.addEventListener("scroll",r.update,Oy)}),s&&l.addEventListener("resize",r.update,Oy),function(){i&&u.forEach(function(e){e.removeEventListener("scroll",r.update,Oy)}),s&&l.removeEventListener("resize",r.update,Oy)}},data:{}};function Ly(e){return e.split("-")[0]}function By(e){return e.split("-")[1]}function $y(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function Iy(e){var t,r=e.reference,n=e.element,o=e.placement,i=o?Ly(o):null,a=o?By(o):null,s=r.x+r.width/2-n.width/2,l=r.y+r.height/2-n.height/2;switch(i){case yy:t={x:s,y:r.y-n.height};break;case by:t={x:s,y:r.y+r.height};break;case xy:t={x:r.x+r.width,y:l};break;case wy:t={x:r.x-n.width,y:l};break;default:t={x:r.x,y:r.y}}var u=i?$y(i):null;if(null!=u){var c="y"===u?"height":"width";switch(a){case Cy:t[u]=t[u]-(r[c]/2-n[c]/2);break;case _y:t[u]=t[u]+(r[c]/2-n[c]/2)}}return t}var Ny={top:"auto",right:"auto",bottom:"auto",left:"auto"};function Vy(e){var t,r=e.popper,n=e.popperRect,o=e.placement,i=e.variation,a=e.offsets,s=e.position,l=e.gpuAcceleration,u=e.adaptive,c=e.roundOffsets,d=e.isFixed,f=a.x,p=void 0===f?0:f,h=a.y,m=void 0===h?0:h,g="function"==typeof c?c({x:p,y:m}):{x:p,y:m};p=g.x,m=g.y;var v=a.hasOwnProperty("x"),y=a.hasOwnProperty("y"),b=wy,x=yy,w=window;if(u){var k=vy(r),S="clientHeight",C="clientWidth";k===Xv(r)&&"static"!==ly(k=ay(r)).position&&"absolute"===s&&(S="scrollHeight",C="scrollWidth"),(o===yy||(o===wy||o===xy)&&i===_y)&&(x=by,m-=(d&&k===w&&w.visualViewport?w.visualViewport.height:k[S])-n.height,m*=l?1:-1),o!==wy&&(o!==yy&&o!==by||i!==_y)||(b=xy,p-=(d&&k===w&&w.visualViewport?w.visualViewport.width:k[C])-n.width,p*=l?1:-1)}var _,E=Object.assign({position:s},u&&Ny),P=!0===c?function(e,t){var r=e.x,n=e.y,o=t.devicePixelRatio||1;return{x:ey(r*o)/o||0,y:ey(n*o)/o||0}}({x:p,y:m},Xv(r)):{x:p,y:m};return p=P.x,m=P.y,l?Object.assign({},E,((_={})[x]=y?"0":"",_[b]=v?"0":"",_.transform=(w.devicePixelRatio||1)<=1?"translate("+p+"px, "+m+"px)":"translate3d("+p+"px, "+m+"px, 0)",_)):Object.assign({},E,((t={})[x]=y?m+"px":"",t[b]=v?p+"px":"",t.transform="",t))}const Wy={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function(e){var t=e.state,r=e.options,n=r.gpuAcceleration,o=void 0===n||n,i=r.adaptive,a=void 0===i||i,s=r.roundOffsets,l=void 0===s||s,u={placement:Ly(t.placement),variation:By(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:o,isFixed:"fixed"===t.options.strategy};null!=t.modifiersData.popperOffsets&&(t.styles.popper=Object.assign({},t.styles.popper,Vy(Object.assign({},u,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:a,roundOffsets:l})))),null!=t.modifiersData.arrow&&(t.styles.arrow=Object.assign({},t.styles.arrow,Vy(Object.assign({},u,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:l})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})},data:{}},Uy={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(e){var t=e.state,r=e.options,n=e.name,o=r.offset,i=void 0===o?[0,0]:o,a=zy.reduce(function(e,r){return e[r]=function(e,t,r){var n=Ly(e),o=[wy,yy].indexOf(n)>=0?-1:1,i="function"==typeof r?r(Object.assign({},t,{placement:e})):r,a=i[0],s=i[1];return a=a||0,s=(s||0)*o,[wy,xy].indexOf(n)>=0?{x:s,y:a}:{x:a,y:s}}(r,t.rects,i),e},{}),s=a[t.placement],l=s.x,u=s.y;null!=t.modifiersData.popperOffsets&&(t.modifiersData.popperOffsets.x+=l,t.modifiersData.popperOffsets.y+=u),t.modifiersData[n]=a}};var Hy={left:"right",right:"left",bottom:"top",top:"bottom"};function qy(e){return e.replace(/left|right|bottom|top/g,function(e){return Hy[e]})}var Yy={start:"end",end:"start"};function Xy(e){return e.replace(/start|end/g,function(e){return Yy[e]})}function Ky(e,t){var r=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(r&&Qv(r)){var n=t;do{if(n&&e.isSameNode(n))return!0;n=n.parentNode||n.host}while(n)}return!1}function Gy(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function Qy(e,t,r){return t===Ey?Gy(function(e,t){var r=Xv(e),n=ay(e),o=r.visualViewport,i=n.clientWidth,a=n.clientHeight,s=0,l=0;if(o){i=o.width,a=o.height;var u=ry();(u||!u&&"fixed"===t)&&(s=o.offsetLeft,l=o.offsetTop)}return{width:i,height:a,x:s+sy(e),y:l}}(e,r)):Kv(t)?function(e,t){var r=ny(e,!1,"fixed"===t);return r.top=r.top+e.clientTop,r.left=r.left+e.clientLeft,r.bottom=r.top+e.clientHeight,r.right=r.left+e.clientWidth,r.width=e.clientWidth,r.height=e.clientHeight,r.x=r.left,r.y=r.top,r}(t,r):Gy(function(e){var t,r=ay(e),n=oy(e),o=null==(t=e.ownerDocument)?void 0:t.body,i=Zv(r.scrollWidth,r.clientWidth,o?o.scrollWidth:0,o?o.clientWidth:0),a=Zv(r.scrollHeight,r.clientHeight,o?o.scrollHeight:0,o?o.clientHeight:0),s=-n.scrollLeft+sy(e),l=-n.scrollTop;return"rtl"===ly(o||r).direction&&(s+=Zv(r.clientWidth,o?o.clientWidth:0)-i),{width:i,height:a,x:s,y:l}}(ay(e)))}function Zy(e){return Object.assign({},{top:0,right:0,bottom:0,left:0},e)}function Jy(e,t){return t.reduce(function(t,r){return t[r]=e,t},{})}function eb(e,t){void 0===t&&(t={});var r=t,n=r.placement,o=void 0===n?e.placement:n,i=r.strategy,a=void 0===i?e.strategy:i,s=r.boundary,l=void 0===s?"clippingParents":s,u=r.rootBoundary,c=void 0===u?Ey:u,d=r.elementContext,f=void 0===d?Py:d,p=r.altBoundary,h=void 0!==p&&p,m=r.padding,g=void 0===m?0:m,v=Zy("number"!=typeof g?g:Jy(g,Sy)),y=f===Py?"reference":Py,b=e.rects.popper,x=e.elements[h?y:f],w=function(e,t,r,n){var o="clippingParents"===t?function(e){var t=hy(fy(e)),r=["absolute","fixed"].indexOf(ly(e).position)>=0&&Gv(e)?vy(e):e;return Kv(r)?t.filter(function(e){return Kv(e)&&Ky(e,r)&&"body"!==iy(e)}):[]}(e):[].concat(t),i=[].concat(o,[r]),a=i[0],s=i.reduce(function(t,r){var o=Qy(e,r,n);return t.top=Zv(o.top,t.top),t.right=Jv(o.right,t.right),t.bottom=Jv(o.bottom,t.bottom),t.left=Zv(o.left,t.left),t},Qy(e,a,n));return s.width=s.right-s.left,s.height=s.bottom-s.top,s.x=s.left,s.y=s.top,s}(Kv(x)?x:x.contextElement||ay(e.elements.popper),l,c,a),k=ny(e.elements.reference),S=Iy({reference:k,element:b,strategy:"absolute",placement:o}),C=Gy(Object.assign({},b,S)),_=f===Py?C:k,E={top:w.top-_.top+v.top,bottom:_.bottom-w.bottom+v.bottom,left:w.left-_.left+v.left,right:_.right-w.right+v.right},P=e.modifiersData.offset;if(f===Py&&P){var T=P[o];Object.keys(E).forEach(function(e){var t=[xy,by].indexOf(e)>=0?1:-1,r=[yy,by].indexOf(e)>=0?"y":"x";E[e]+=T[r]*t})}return E}const tb={name:"flip",enabled:!0,phase:"main",fn:function(e){var t=e.state,r=e.options,n=e.name;if(!t.modifiersData[n]._skip){for(var o=r.mainAxis,i=void 0===o||o,a=r.altAxis,s=void 0===a||a,l=r.fallbackPlacements,u=r.padding,c=r.boundary,d=r.rootBoundary,f=r.altBoundary,p=r.flipVariations,h=void 0===p||p,m=r.allowedAutoPlacements,g=t.options.placement,v=Ly(g),y=l||(v!==g&&h?function(e){if(Ly(e)===ky)return[];var t=qy(e);return[Xy(e),t,Xy(t)]}(g):[qy(g)]),b=[g].concat(y).reduce(function(e,r){return e.concat(Ly(r)===ky?function(e,t){void 0===t&&(t={});var r=t,n=r.placement,o=r.boundary,i=r.rootBoundary,a=r.padding,s=r.flipVariations,l=r.allowedAutoPlacements,u=void 0===l?zy:l,c=By(n),d=c?s?Ty:Ty.filter(function(e){return By(e)===c}):Sy,f=d.filter(function(e){return u.indexOf(e)>=0});0===f.length&&(f=d);var p=f.reduce(function(t,r){return t[r]=eb(e,{placement:r,boundary:o,rootBoundary:i,padding:a})[Ly(r)],t},{});return Object.keys(p).sort(function(e,t){return p[e]-p[t]})}(t,{placement:r,boundary:c,rootBoundary:d,padding:u,flipVariations:h,allowedAutoPlacements:m}):r)},[]),x=t.rects.reference,w=t.rects.popper,k=new Map,S=!0,C=b[0],_=0;_<b.length;_++){var E=b[_],P=Ly(E),T=By(E)===Cy,z=[yy,by].indexOf(P)>=0,A=z?"width":"height",R=eb(t,{placement:E,boundary:c,rootBoundary:d,altBoundary:f,padding:u}),M=z?T?xy:wy:T?by:yy;x[A]>w[A]&&(M=qy(M));var j=qy(M),F=[];if(i&&F.push(R[P]<=0),s&&F.push(R[M]<=0,R[j]<=0),F.every(function(e){return e})){C=E,S=!1;break}k.set(E,F)}if(S)for(var O=function(e){var t=b.find(function(t){var r=k.get(t);if(r)return r.slice(0,e).every(function(e){return e})});if(t)return C=t,"break"},D=h?3:1;D>0&&"break"!==O(D);D--);t.placement!==C&&(t.modifiersData[n]._skip=!0,t.placement=C,t.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}};function rb(e,t,r){return Zv(e,Jv(t,r))}const nb={name:"preventOverflow",enabled:!0,phase:"main",fn:function(e){var t=e.state,r=e.options,n=e.name,o=r.mainAxis,i=void 0===o||o,a=r.altAxis,s=void 0!==a&&a,l=r.boundary,u=r.rootBoundary,c=r.altBoundary,d=r.padding,f=r.tether,p=void 0===f||f,h=r.tetherOffset,m=void 0===h?0:h,g=eb(t,{boundary:l,rootBoundary:u,padding:d,altBoundary:c}),v=Ly(t.placement),y=By(t.placement),b=!y,x=$y(v),w="x"===x?"y":"x",k=t.modifiersData.popperOffsets,S=t.rects.reference,C=t.rects.popper,_="function"==typeof m?m(Object.assign({},t.rects,{placement:t.placement})):m,E="number"==typeof _?{mainAxis:_,altAxis:_}:Object.assign({mainAxis:0,altAxis:0},_),P=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,T={x:0,y:0};if(k){if(i){var z,A="y"===x?yy:wy,R="y"===x?by:xy,M="y"===x?"height":"width",j=k[x],F=j+g[A],O=j-g[R],D=p?-C[M]/2:0,L=y===Cy?S[M]:C[M],B=y===Cy?-C[M]:-S[M],$=t.elements.arrow,I=p&&$?dy($):{width:0,height:0},N=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0},V=N[A],W=N[R],U=rb(0,S[M],I[M]),H=b?S[M]/2-D-U-V-E.mainAxis:L-U-V-E.mainAxis,q=b?-S[M]/2+D+U+W+E.mainAxis:B+U+W+E.mainAxis,Y=t.elements.arrow&&vy(t.elements.arrow),X=Y?"y"===x?Y.clientTop||0:Y.clientLeft||0:0,K=null!=(z=null==P?void 0:P[x])?z:0,G=j+q-K,Q=rb(p?Jv(F,j+H-K-X):F,j,p?Zv(O,G):O);k[x]=Q,T[x]=Q-j}if(s){var Z,J="x"===x?yy:wy,ee="x"===x?by:xy,te=k[w],re="y"===w?"height":"width",ne=te+g[J],oe=te-g[ee],ie=-1!==[yy,wy].indexOf(v),ae=null!=(Z=null==P?void 0:P[w])?Z:0,se=ie?ne:te-S[re]-C[re]-ae+E.altAxis,le=ie?te+S[re]+C[re]-ae-E.altAxis:oe,ue=p&&ie?function(e,t,r){var n=rb(e,t,r);return n>r?r:n}(se,te,le):rb(p?se:ne,te,p?le:oe);k[w]=ue,T[w]=ue-te}t.modifiersData[n]=T}},requiresIfExists:["offset"]},ob={name:"arrow",enabled:!0,phase:"main",fn:function(e){var t,r=e.state,n=e.name,o=e.options,i=r.elements.arrow,a=r.modifiersData.popperOffsets,s=Ly(r.placement),l=$y(s),u=[wy,xy].indexOf(s)>=0?"height":"width";if(i&&a){var c=function(e,t){return Zy("number"!=typeof(e="function"==typeof e?e(Object.assign({},t.rects,{placement:t.placement})):e)?e:Jy(e,Sy))}(o.padding,r),d=dy(i),f="y"===l?yy:wy,p="y"===l?by:xy,h=r.rects.reference[u]+r.rects.reference[l]-a[l]-r.rects.popper[u],m=a[l]-r.rects.reference[l],g=vy(i),v=g?"y"===l?g.clientHeight||0:g.clientWidth||0:0,y=h/2-m/2,b=c[f],x=v-d[u]-c[p],w=v/2-d[u]/2+y,k=rb(b,w,x),S=l;r.modifiersData[n]=((t={})[S]=k,t.centerOffset=k-w,t)}},effect:function(e){var t=e.state,r=e.options.element,n=void 0===r?"[data-popper-arrow]":r;null!=n&&("string"!=typeof n||(n=t.elements.popper.querySelector(n)))&&Ky(t.elements.popper,n)&&(t.elements.arrow=n)},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function ib(e,t,r){return void 0===r&&(r={x:0,y:0}),{top:e.top-t.height-r.y,right:e.right-t.width+r.x,bottom:e.bottom-t.height+r.y,left:e.left-t.width-r.x}}function ab(e){return[yy,xy,by,wy].some(function(t){return e[t]>=0})}var sb=Fy({defaultModifiers:[Dy,{name:"popperOffsets",enabled:!0,phase:"read",fn:function(e){var t=e.state,r=e.name;t.modifiersData[r]=Iy({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})},data:{}},Wy,{name:"applyStyles",enabled:!0,phase:"write",fn:function(e){var t=e.state;Object.keys(t.elements).forEach(function(e){var r=t.styles[e]||{},n=t.attributes[e]||{},o=t.elements[e];Gv(o)&&iy(o)&&(Object.assign(o.style,r),Object.keys(n).forEach(function(e){var t=n[e];!1===t?o.removeAttribute(e):o.setAttribute(e,!0===t?"":t)}))})},effect:function(e){var t=e.state,r={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,r.popper),t.styles=r,t.elements.arrow&&Object.assign(t.elements.arrow.style,r.arrow),function(){Object.keys(t.elements).forEach(function(e){var n=t.elements[e],o=t.attributes[e]||{},i=Object.keys(t.styles.hasOwnProperty(e)?t.styles[e]:r[e]).reduce(function(e,t){return e[t]="",e},{});Gv(n)&&iy(n)&&(Object.assign(n.style,i),Object.keys(o).forEach(function(e){n.removeAttribute(e)}))})}},requires:["computeStyles"]},Uy,tb,nb,ob,{name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function(e){var t=e.state,r=e.name,n=t.rects.reference,o=t.rects.popper,i=t.modifiersData.preventOverflow,a=eb(t,{elementContext:"reference"}),s=eb(t,{altBoundary:!0}),l=ib(a,n),u=ib(s,o,i),c=ab(l),d=ab(u);t.modifiersData[r]={referenceClippingOffsets:l,popperEscapeOffsets:u,isReferenceHidden:c,hasPopperEscaped:d},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":c,"data-popper-escaped":d})}}]});function lb(e){const{size:t,shadowColor:r,bg:n,style:o}=e,i={...o,position:"absolute"};return t&&(i["--popper-arrow-size"]=t),r&&(i["--popper-arrow-shadow-color"]=r),n&&(i["--popper-arrow-bg"]=n),i}var ub={click:"click",hover:"hover"};function cb(e={}){const{closeOnBlur:t=!0,closeOnEsc:r=!0,initialFocusRef:n,id:o,returnFocusOnClose:i=!0,autoFocus:a=!0,arrowSize:l,arrowShadowColor:u,trigger:c=ub.click,openDelay:d=200,closeDelay:f=200,isLazy:h,lazyBehavior:m="unmount",computePositionOnMount:g,...v}=e,{isOpen:y,onClose:b,onOpen:x,onToggle:w}=function(e={}){const{onClose:t,onOpen:r,isOpen:n,id:o}=e,i=Pu(r),a=Pu(t),[l,u]=(0,s.useState)(e.defaultIsOpen||!1),c=void 0!==n?n:l,d=void 0!==n,f=(0,s.useId)(),p=null!=o?o:`disclosure-${f}`,h=(0,s.useCallback)(()=>{d||u(!1),null==a||a()},[d,a]),m=(0,s.useCallback)(()=>{d||u(!0),null==i||i()},[d,i]),g=(0,s.useCallback)(()=>{c?h():m()},[c,m,h]);return{isOpen:c,onOpen:m,onClose:h,onToggle:g,isControlled:d,getButtonProps:function(e={}){return{...e,"aria-expanded":c,"aria-controls":p,onClick(t){var r;null==(r=e.onClick)||r.call(e,t),g()}}},getDisclosureProps:function(e={}){return{...e,hidden:!c,id:p}}}}(e),k=(0,s.useRef)(null),S=(0,s.useRef)(null),C=(0,s.useRef)(null),_=(0,s.useRef)(!1),E=(0,s.useRef)(!1);y&&(E.current=!0);const[P,T]=(0,s.useState)(!1),[z,A]=(0,s.useState)(!1),R=(0,s.useId)(),M=null!=o?o:R,[j,F,O,D]=["popover-trigger","popover-content","popover-header","popover-body"].map(e=>`${e}-${M}`),{referenceRef:L,getArrowProps:B,getPopperProps:$,getArrowInnerProps:I,forceUpdate:N}=function(e={}){const{enabled:t=!0,modifiers:r,placement:n="bottom",strategy:o="absolute",arrowPadding:i=8,eventListeners:a=!0,offset:l,gutter:u=8,flip:c=!0,boundary:d="clippingParents",preventOverflow:f=!0,matchWidth:p,direction:h="ltr"}=e,m=(0,s.useRef)(null),g=(0,s.useRef)(null),v=(0,s.useRef)(null),y=function(e,t="ltr"){var r,n;const o=(null==(r=Hv[e])?void 0:r[t])||e;return"ltr"===t?o:null!=(n=qv[e])?n:o}(n,h),b=(0,s.useRef)(()=>{}),x=(0,s.useCallback)(()=>{var e;t&&m.current&&g.current&&(null==(e=b.current)||e.call(b),v.current=sb(m.current,g.current,{placement:y,modifiers:[Wv,Iv,Bv,{...Lv,enabled:!!p},{name:"eventListeners",...Dv(a)},{name:"arrow",options:{padding:i}},{name:"offset",options:{offset:null!=l?l:[0,u]}},{name:"flip",enabled:!!c,options:{padding:8}},{name:"preventOverflow",enabled:!!f,options:{boundary:d}},...null!=r?r:[]],strategy:o}),v.current.forceUpdate(),b.current=v.current.destroy)},[y,t,r,p,a,i,l,u,c,f,d,o]);(0,s.useEffect)(()=>()=>{var e;m.current||g.current||(null==(e=v.current)||e.destroy(),v.current=null)},[]);const w=(0,s.useCallback)(e=>{m.current=e,x()},[x]),k=(0,s.useCallback)((e={},t=null)=>({...e,ref:Yv(w,t)}),[w]),S=(0,s.useCallback)(e=>{g.current=e,x()},[x]),C=(0,s.useCallback)((e={},t=null)=>({...e,ref:Yv(S,t),style:{...e.style,position:o,minWidth:p?void 0:"max-content",inset:"0 auto auto 0"}}),[o,S,p]),_=(0,s.useCallback)((e={},t=null)=>{const{size:r,shadowColor:n,bg:o,style:i,...a}=e;return{...a,ref:t,"data-popper-arrow":"",style:lb(e)}},[]),E=(0,s.useCallback)((e={},t=null)=>({...e,ref:t,"data-popper-arrow-inner":""}),[]);return{update(){var e;null==(e=v.current)||e.update()},forceUpdate(){var e;null==(e=v.current)||e.forceUpdate()},transformOrigin:jv.transformOrigin.varRef,referenceRef:w,popperRef:S,getPopperProps:C,getArrowProps:_,getArrowInnerProps:E,getReferenceProps:k}}({...v,enabled:y||!!g}),V=function(e){const{isOpen:t,ref:r}=e,[n,o]=(0,s.useState)(t),[i,a]=(0,s.useState)(!1);return(0,s.useEffect)(()=>{i||(o(t),a(!0))},[t,i,n]),xv(()=>r.current,"animationend",()=>{o(t)}),{present:!(!t&&!n),onComplete(){var e;const t=function(e){var t,r;return null!=(r=null==(t=Sv(e))?void 0:t.defaultView)?r:window}(r.current),n=new t.CustomEvent("animationend",{bubbles:!0});null==(e=r.current)||e.dispatchEvent(n)}}}({isOpen:y,ref:C});!function(e){const{ref:t,elements:r,enabled:n}=e,o=()=>{var e,r;return null!=(r=null==(e=t.current)?void 0:e.ownerDocument)?r:document};xv(o,"pointerdown",e=>{if(!_v()||!n)return;const i=e.target,a=(null!=r?r:[t]).some(e=>{const t="current"in e?e.current:e;return(null==t?void 0:t.contains(i))||t===i});o().activeElement!==i&&a&&(e.preventDefault(),i.focus())})}({enabled:y,ref:S}),function(e,t){const{shouldFocus:r,visible:n,focusRef:o}=t,i=r&&!n;Tu(()=>{if(!i)return;if(Av(e))return;const t=(null==o?void 0:o.current)||e.current;let r;return t?(r=requestAnimationFrame(()=>{t.focus({preventScroll:!0})}),()=>{cancelAnimationFrame(r)}):void 0},[i,e,o])}(C,{focusRef:S,visible:y,shouldFocus:i&&c===ub.click}),function(e,t=Rv){const{focusRef:r,preventScroll:n,shouldFocus:o,visible:i}=t,a="current"in e?e.current:e,l=o&&i,u=(0,s.useRef)(l),c=(0,s.useRef)(i);dn(()=>{!c.current&&i&&(u.current=l),c.current=i},[i,l]);const d=(0,s.useCallback)(()=>{if(i&&a&&u.current&&(u.current=!1,!a.contains(document.activeElement)))if(null==r?void 0:r.current)requestAnimationFrame(()=>{var e;null==(e=r.current)||e.focus({preventScroll:n})});else{const e=function(e){const t=Array.from(e.querySelectorAll(zv));return t.unshift(e),t.filter(e=>Tv(e)&&(e=>e.offsetWidth>0&&e.offsetHeight>0)(e))}(a);e.length>0&&requestAnimationFrame(()=>{e[0].focus({preventScroll:n})})}},[i,n,a,r]);Tu(()=>{d()},[d]),xv(a,"transitionend",d)}(C,{focusRef:n,visible:y,shouldFocus:a&&c===ub.click});const W=function(e){const{wasSelected:t,enabled:r,isSelected:n,mode:o="unmount"}=e;return!r||!!n||!("keepMounted"!==o||!t)}({wasSelected:E.current,enabled:h,mode:m,isSelected:V.present}),U=(0,s.useCallback)((e={},n=null)=>{const o={...e,style:{...e.style,transformOrigin:jv.transformOrigin.varRef,[jv.arrowSize.var]:l?`${l}px`:void 0,[jv.arrowShadowColor.var]:u},ref:Yv(C,n),children:W?e.children:null,id:F,tabIndex:-1,role:"dialog",onKeyDown:p(e.onKeyDown,e=>{r&&"Escape"===e.key&&b()}),onBlur:p(e.onBlur,e=>{const r=fb(e),n=db(C.current,r),o=db(S.current,r);y&&t&&!n&&!o&&b()}),"aria-labelledby":P?O:void 0,"aria-describedby":z?D:void 0};return c===ub.hover&&(o.role="tooltip",o.onMouseEnter=p(e.onMouseEnter,()=>{_.current=!0}),o.onMouseLeave=p(e.onMouseLeave,e=>{null!==e.nativeEvent.relatedTarget&&(_.current=!1,setTimeout(()=>b(),f))})),o},[W,F,P,O,z,D,c,r,b,y,t,f,u,l]),H=(0,s.useCallback)((e={},t=null)=>$({...e,style:{visibility:y?"visible":"hidden",...e.style}},t),[y,$]),q=(0,s.useCallback)((e,t=null)=>({...e,ref:Yv(t,k,L)}),[k,L]),Y=(0,s.useRef)(),X=(0,s.useRef)(),K=(0,s.useCallback)(e=>{null==k.current&&L(e)},[L]),G=(0,s.useCallback)((e={},r=null)=>{const n={...e,ref:Yv(S,r,K),id:j,"aria-haspopup":"dialog","aria-expanded":y,"aria-controls":F};return c===ub.click&&(n.onClick=p(e.onClick,w)),c===ub.hover&&(n.onFocus=p(e.onFocus,()=>{void 0===Y.current&&x()}),n.onBlur=p(e.onBlur,e=>{const r=fb(e),n=!db(C.current,r);y&&t&&n&&b()}),n.onKeyDown=p(e.onKeyDown,e=>{"Escape"===e.key&&b()}),n.onMouseEnter=p(e.onMouseEnter,()=>{_.current=!0,Y.current=window.setTimeout(()=>x(),d)}),n.onMouseLeave=p(e.onMouseLeave,()=>{_.current=!1,Y.current&&(clearTimeout(Y.current),Y.current=void 0),X.current=window.setTimeout(()=>{!1===_.current&&b()},f)})),n},[j,y,F,c,K,w,x,t,b,d,f]);(0,s.useEffect)(()=>()=>{Y.current&&clearTimeout(Y.current),X.current&&clearTimeout(X.current)},[]);const Q=(0,s.useCallback)((e={},t=null)=>({...e,id:O,ref:Yv(t,e=>{T(!!e)})}),[O]),Z=(0,s.useCallback)((e={},t=null)=>({...e,id:D,ref:Yv(t,e=>{A(!!e)})}),[D]);return{forceUpdate:N,isOpen:y,onAnimationComplete:V.onComplete,onClose:b,getAnchorProps:q,getArrowProps:B,getArrowInnerProps:I,getPopoverPositionerProps:H,getPopoverProps:U,getTriggerProps:G,getHeaderProps:Q,getBodyProps:Z}}function db(e,t){return e===t||(null==e?void 0:e.contains(t))}function fb(e){var t;const r=e.currentTarget.ownerDocument.activeElement;return null!=(t=e.relatedTarget)?t:r}var[pb,hb]=Gr({name:"PopoverContext",errorMessage:"usePopoverContext: `context` is undefined. Seems you forgot to wrap all popover components within `<Popover />`"}),[mb,gb]=Gr({name:"PopoverStylesContext",errorMessage:"usePopoverStyles returned is 'undefined'. Seems you forgot to wrap the components in \"<Popover />\" "});function vb(e){const t=Ag("Popover",e),{children:r,...n}=Xe(e),o=cb({...n,direction:Eg().direction});return(0,Hr.jsx)(pb,{value:o,children:(0,Hr.jsx)(mb,{value:t,children:d(r,{isOpen:o.isOpen,onClose:o.onClose,forceUpdate:o.forceUpdate})})})}function yb(e){const t=s.Children.only(e.children),{getTriggerProps:r}=hb();return(0,s.cloneElement)(t,r(t.props,t.ref))}function bb(e){if(e)return{enter:{...e.enter,visibility:"visible"},exit:{...e.exit,transitionEnd:{visibility:"hidden"}}}}vb.displayName="Popover",yb.displayName="PopoverTrigger";var xb={exit:{opacity:0,scale:.95,transition:{duration:.1,ease:[.4,0,1,1]}},enter:{scale:1,opacity:1,transition:{duration:.15,ease:[0,0,.2,1]}}},wb=Ir(kg.section),kb=_g(function(e,t){const{variants:r=xb,...n}=e,{isOpen:o}=hb();return(0,Hr.jsx)(wb,{ref:t,variants:bb(r),initial:!1,animate:o?"enter":"exit",...n})});kb.displayName="PopoverTransition";var Sb=_g(function(e,t){const{rootProps:r,motionProps:n,...o}=e,{getPopoverProps:i,getPopoverPositionerProps:a,onAnimationComplete:s}=hb(),l=gb(),c={position:"relative",display:"flex",flexDirection:"column",...l.content};return(0,Hr.jsx)(Ir.div,{...a(r),__css:l.popper,className:"chakra-popover__popper",children:(0,Hr.jsx)(kb,{...n,...i(o,t),onAnimationComplete:h(s,o.onAnimationComplete),className:u("chakra-popover__content",e.className),__css:c})})});Sb.displayName="PopoverContent";var Cb=(e,t)=>t?`${e}.${t}, ${t}`:void 0;function _b(e){var t;const{bg:r,bgColor:n,backgroundColor:o,shadow:i,boxShadow:a,shadowColor:s}=e,{getArrowProps:l,getArrowInnerProps:c}=hb(),d=gb(),f=null!=(t=null!=r?r:n)?t:o,p=null!=i?i:a;return(0,Hr.jsx)(Ir.div,{...l(),className:"chakra-popover__arrow-positioner",children:(0,Hr.jsx)(Ir.div,{className:u("chakra-popover__arrow",e.className),...c(e),__css:{"--popper-arrow-shadow-color":Cb("colors",s),"--popper-arrow-bg":Cb("colors",f),"--popper-arrow-shadow":Cb("shadows",p),...d.arrow}})})}_b.displayName="PopoverArrow";var Eb=_g(function(e,t){const{getBodyProps:r}=hb(),n=gb();return(0,Hr.jsx)(Ir.div,{...r(e,t),className:u("chakra-popover__body",e.className),__css:n.body})});Eb.displayName="PopoverBody";var Pb=_g(function(e,t){const r=zg("Link",e),{className:n,isExternal:o,...i}=Xe(e);return(0,Hr.jsx)(Ir.a,{target:o?"_blank":void 0,rel:o?"noopener":void 0,ref:t,className:u("chakra-link",n),...i,__css:r})});Pb.displayName="Link";var Tb,zb,Ab,Rb,Mb,jb=r(3815),Fb=r(8279);r(7604),console.error,Tb=Tb||{},zb={"(":9,"!":8,"*":7,"/":7,"%":7,"+":6,"-":6,"<":5,"<=":5,">":5,">=":5,"==":4,"!=":4,"&&":3,"||":2,"?":1,"?:":1},Ab=["(","?"],Rb={")":["("],":":["?","?:"]},Mb=/<=|>=|==|!=|&&|\|\||\?:|\(|!|\*|\/|%|\+|-|<|>|\?|\)|:/;var Ob={"!":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 Db={contextDelimiter:"",onMissingKey:null};function Lb(e,t){var r;for(r in this.data=e,this.pluralForms={},this.options={},Db)this.options[r]=void 0!==t&&r in t?t[r]:Db[r]}Lb.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(Mb);){for(r=t[0],(n=e.substr(0,t.index).trim())&&i.push(n);o=a.pop();){if(Rb[r]){if(Rb[r][0]===o){r=Rb[r][1]||r;break}}else if(Ab.indexOf(o)>=0||zb[o]<zb[r]){a.push(o);break}i.push(o)}Rb[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=Ob[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)},Lb.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 Bb={plural_forms:e=>1===e?0:1},$b=/^i18n\.(n?gettext|has_translation)(_|$)/,Ib=((e,t,r)=>{const n=new Lb({}),o=new Set,i=()=>{o.forEach(e=>e())},a=(e,t="default")=>{n.data[t]={...n.data[t],...e},n.data[t][""]={...Bb,...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=>{$b.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,"":{...Bb,...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,i.defaultHooks),Nb=(Ib.getLocaleData.bind(Ib),Ib.setLocaleData.bind(Ib),Ib.resetLocaleData.bind(Ib),Ib.subscribe.bind(Ib),Ib.__.bind(Ib));function Vb(){return Vb=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},Vb.apply(null,arguments)}Ib._x.bind(Ib),Ib._n.bind(Ib),Ib._nx.bind(Ib),Ib.isRTL.bind(Ib),Ib.hasTranslation.bind(Ib);const Wb=wp.serverSideRender?wp.serverSideRender:wp.components.ServerSideRender,Ub=a.name,Hb={...a,icon:e=>l().createElement(Ir.svg,Nr({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,Fb.useBlockProps)(),{attributes:{formId:r,displayTitle:n,displayDescription:o,popupType:i,popupButtonText:a,popupSize:s,popupHeaderTitle:u,popupFooterTitle:c,popupHeaderDesc:d,popupFooterDesc:f},setAttributes:p}=e,{evfRestApiNonce:h,restURL:m,logoUrl:g,isPro:v}="undefined"!=typeof _EVF_BLOCKS_&&_EVF_BLOCKS_,y=_EVF_BLOCKS_.forms.map(e=>({value:e.ID,label:e.post_title})),b=e=>{p({formId:e})},x={"popup-link":Nb("Popup Link Text","everest-forms"),"popup-button":Nb("Popup Button Text","everest-forms")};return l().createElement(l().Fragment,null,l().createElement(gv,null,l().createElement(vv,Vb({},t,{maxW:"sm",borderWidth:"1px",borderRadius:"lg",p:2}),l().createElement(Fb.InspectorControls,{key:"evf-gutenberg-form-selector-inspector-controls"},l().createElement(jb.PanelBody,{title:Nb("Everest Forms","everest-forms")},l().createElement(jb.SelectControl,{label:Nb("Select a Form","everest-forms"),value:r,options:[{label:Nb("Select a Form","everest-forms"),value:""},...y],onChange:b}),l().createElement(vv,{opacity:v&&"none"!==i?.5:1,cursor:v&&"none"!==i?"not-allowed":"pointer"},l().createElement(jb.ToggleControl,{label:Nb("Show Title","everest-forms"),checked:n,onChange:e=>{p({displayTitle:e})},disabled:!(!v||"none"===i)}),l().createElement(jb.ToggleControl,{label:Nb("Show Description","everest-forms"),checked:o,onChange:e=>{p({displayDescription:e})},disabled:!(!v||"none"===i)})),v?l().createElement(jb.SelectControl,{label:Nb("Popup Type","everest-forms"),value:i,options:[{label:Nb("None","everest-forms"),value:"none"},{label:Nb("Link","everest-forms"),value:"popup-link"},{label:Nb("Button","everest-forms"),value:"popup-button"},{label:Nb("Popup","everest-forms"),value:"popup"}],onChange:e=>p({popupType:e}),disabled:!v}):l().createElement(vb,{trigger:"hover",openDelay:300,closeDelay:300,placement:"bottom"},l().createElement(yb,null,l().createElement(vv,{marginTop:"16px"},l().createElement(jb.SelectControl,{opacity:"0.5",cursor:"not-allowed",label:l().createElement("span",{className:"evf-popup-type-premium-label"},Nb("Popup Type","everest-forms")),value:i,options:[{label:Nb("None","everest-forms"),value:"none"},{label:Nb("Link","everest-forms"),value:"popup-link"},{label:Nb("Button","everest-forms"),value:"popup-button"},{label:Nb("Popup","everest-forms"),value:"popup"}],onChange:e=>p({popupType:e}),disabled:!v}))),l().createElement(Sb,{_focus:{boxShadow:"0px 4px 50px 0px rgba(0, 0, 0, 0.16)"},maxWidth:"248px",boxShadow:"0px 4px 50px 0px rgba(0, 0, 0, 0.16)"},l().createElement(_b,{bg:"#ffff"}),l().createElement(Eb,{fontSize:"14px",fontWeight:"400",color:"#444",fontStyle:"normal",lineHeight:"150%"},"This feature requires the Premium version.",l().createElement(Pb,{href:"https://everestforms.net/upgrade/?utm_medium=editor-evf-block&utm_source=evf-free&utm_campaign=inside-editor&utm_content=Upgrade%20Now",target:"_blank",rel:"noopener noreferrer",color:"#754bb2",textDecoration:"underline",fontWeight:"600",marginLeft:"8px",opacity:"0.9",lineHeight:"150%",textDecorationLine:"underline",textDecorationStyle:"solid"},"Upgrade Now")))),"none"!==i&&v&&l().createElement(l().Fragment,null,"popup"!==i&&l().createElement(jb.TextControl,{label:Nb(x[i],"everest-forms"),value:a,onChange:e=>{p({popupButtonText:e})}}),l().createElement(jb.SelectControl,{label:Nb("Popup Size","everest-forms"),value:s,options:[{label:Nb("Default","everest-forms"),value:"default"},{label:Nb("Medium","everest-forms"),value:"medium"},{label:Nb("Large","everest-forms"),value:"large"}],onChange:e=>p({popupSize:e})}),l().createElement(jb.TextControl,{label:Nb("Popup Header title","everest-forms"),value:u,onChange:e=>{p({popupHeaderTitle:e})}}),l().createElement(jb.TextareaControl,{label:Nb("Popup Header Description","everest-forms"),value:d,onChange:e=>{p({popupHeaderDesc:e})}}),l().createElement(jb.TextControl,{label:Nb("Popup Footer title","everest-forms"),value:c,onChange:e=>{p({popupFooterTitle:e})}}),l().createElement(jb.TextareaControl,{label:Nb("Popup Footer Description","everest-forms"),value:f,onChange:e=>{p({popupFooterDesc:e})}}),l().createElement("p",null,Nb("For the custom design of the Form, Popup Button or Link. ","everest-forms"),l().createElement("a",{href:"https://docs.everestforms.net/docs/style-customizer/",target:"_blank",rel:"noopener noreferrer",style:{color:"blue",textDecoration:"none",transition:"none"},onMouseEnter:e=>e.currentTarget.style.textDecoration="underline",onMouseLeave:e=>e.currentTarget.style.textDecoration="none"},Nb("Here","everest-forms")))))),r?l().createElement(Wb,{key:"evf-gutenberg-form-selector-server-side-renderer",block:"everest-forms/form-selector",attributes:e.attributes}):l().createElement(jb.Placeholder,{key:"evf-gutenberg-form-selector-wrap",icon:Vr,instructions:Nb("Everest Forms","everest-forms"),className:"everest-form-gutenberg-form-selector-wrap evf-test"},l().createElement(jb.SelectControl,{key:"evf-gutenberg-form-selector-select-control",value:r,options:[{label:Nb("Select a form","everest-forms"),value:""},...y],onChange:b})))))},save:()=>null},qb=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"}'),Yb=(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 Xb(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 Kb(e){try{return decodeURIComponent(e)}catch(t){return e}}function Gb(e){return(function(e){let t;try{t=new URL(e,"http://example.com").search.substring(1)}catch(e){}if(t)return t}(e)||"").replace(/\+/g,"%20").split("&").reduce((e,t)=>{const[r,n=""]=t.split("=").filter(Boolean).map(Kb);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 Qb(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 Zb(e="",t){if(!t||!Object.keys(t).length)return e;let r=e;const n=e.indexOf("?");return-1!==n&&(t=Object.assign(Gb(e),t),r=r.substr(0,n)),r+"?"+Qb(t)}function Jb(e,t){return Promise.resolve(t?e.body:new window.Response(JSON.stringify(e.body),{status:200,statusText:"OK",headers:e.headers}))}const ex=({path:e,url:t,...r},n)=>({...r,url:t&&Zb(t,n),path:e&&Zb(e,n)}),tx=e=>e.json?e.json():Promise.reject(e),rx=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},nx=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 vx({...ex(e,{per_page:100}),parse:!1}),n=await tx(r);if(!Array.isArray(n))return n;let o=rx(r);if(!o)return n;let i=[].concat(n);for(;o;){const t=await vx({...e,path:void 0,url:o,parse:!1}),r=await tx(t);i=i.concat(r),o=rx(t)}return i},ox=new Set(["PATCH","PUT","DELETE"]),ix="GET";function ax(e,t){return Gb(e)[t]}function sx(e,t){return void 0!==ax(e,t)}const lx=(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=>ux(e,t));function ux(e,t=!0){if(!t)throw e;return(e=>{const t={code:"invalid_json",message:Nb("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:Nb("An unknown error occurred.")};throw e||t})}function cx(e,...t){const r=e.indexOf("?");if(-1===r)return e;const n=Gb(e),o=e.substr(0,r);t.forEach(e=>delete n[e]);const i=Qb(n);return i?o+"?"+i:o}const dx={Accept:"application/json, */*;q=0.1"},fx={credentials:"include"},px=[(e,t)=>("string"!=typeof e.url||sx(e.url,"_locale")||(e.url=Zb(e.url,{_locale:"user"})),"string"!=typeof e.path||sx(e.path,"_locale")||(e.path=Zb(e.path,{_locale:"user"})),t(e)),Yb,(e,t)=>{const{method:r=ix}=e;return ox.has(r.toUpperCase())&&(e={...e,headers:{...e.headers,"X-HTTP-Method-Override":r,"Content-Type":"application/json"},method:"POST"}),t(e)},nx],hx=e=>{if(e.status>=200&&e.status<300)return e;throw e};let mx=e=>{const{url:t,path:r,data:n,parse:o=!0,...i}=e;let{body:a,headers:s}=e;return s={...dx,...s},n&&(a=JSON.stringify(n),s["Content-Type"]="application/json"),window.fetch(t||r||window.location.href,{...fx,...i,body:a,headers:s}).then(e=>Promise.resolve(e).then(hx).catch(e=>ux(e,o)).then(e=>lx(e,o)),e=>{if(e&&"AbortError"===e.name)throw e;throw{code:"fetch_error",message:Nb("You are probably offline.")}})};function gx(e){const t=px.reduceRight((e,t)=>r=>t(r,e),mx);return t(e).catch(t=>"rest_cookie_invalid_nonce"!==t.code?Promise.reject(t):window.fetch(gx.nonceEndpoint).then(hx).then(e=>e.text()).then(t=>(gx.nonceMiddleware.nonce=t,gx(e))))}gx.use=function(e){px.unshift(e)},gx.setFetchHandler=function(e){mx=e},gx.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},gx.createPreloadingMiddleware=function(e){const t=Object.fromEntries(Object.entries(e).map(([e,t])=>[Xb(e),t]));return(e,r)=>{const{parse:n=!0}=e;let o=e.path;if(!o&&e.url){const{rest_route:t,...r}=Gb(e.url);"string"==typeof t&&(o=Zb(t,r))}if("string"!=typeof o)return r(e);const i=e.method||"GET",a=Xb(o);if("GET"===i&&t[a]){const e=t[a];return delete t[a],Jb(e,!!n)}if("OPTIONS"===i&&t[i]&&t[i][a]){const e=t[i][a];return delete t[i][a],Jb(e,!!n)}return r(e)}},gx.createRootURLMiddleware=e=>(t,r)=>Yb(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})}),gx.fetchAllMiddleware=nx,gx.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:Nb("Media upload failed. If this is a photo or a large image, please scale it down and try again.")}):Promise.reject(t)):ux(t,e.parse)}).then(t=>lx(t,e.parse))},gx.createThemePreviewMiddleware=e=>(t,r)=>{if("string"==typeof t.url){const r=ax(t.url,"wp_theme_preview");void 0===r?t.url=Zb(t.url,{wp_theme_preview:e}):""===r&&(t.url=cx(t.url,"wp_theme_preview"))}if("string"==typeof t.path){const r=ax(t.path,"wp_theme_preview");void 0===r?t.path=Zb(t.path,{wp_theme_preview:e}):""===r&&(t.path=cx(t.path,"wp_theme_preview"))}return r(t)};const vx=gx;function yx(){return yx=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},yx.apply(null,arguments)}wp.serverSideRender?wp.serverSideRender:wp.components.ServerSideRender;const bx=qb.name,xx={...qb,icon:e=>l().createElement(Ir.svg,Nr({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,Fb.useBlockProps)(),{attributes:{id:r},setAttributes:n}=e,{evfRestApiNonce:o,restURL:i}="undefined"!=typeof _EVF_BLOCKS_&&_EVF_BLOCKS_,[a,u]=(0,s.useState)("");(0,s.useEffect)(()=>{(async()=>{if(!a)try{const e=await vx({path:i+"everest-forms/v1/gutenberg-blocks/frontend-listing-list",method:"GET",headers:{"X-WP-Nonce":o}});e.success&&u(e.frontend_lists)}catch(e){console.error("Error fetching data:",e)}})()},[]);const c=Object.keys(a).map(e=>({value:Number(e),label:a[e]})),d=e=>{n({id:e})};return l().createElement(l().Fragment,null,l().createElement(gv,null,l().createElement(vv,yx({},t,{maxW:"sm",borderWidth:"1px",borderRadius:"lg",p:2}),l().createElement(Fb.InspectorControls,{key:"evf-gutenberg-form-selector-inspector-controls"},l().createElement(jb.PanelBody,{title:Nb("Everest Forms","everest-forms")},l().createElement(jb.SelectControl,{label:Nb("Select list","everest-forms"),value:r,options:[{label:Nb("Select list","everest-forms"),value:""},...c],onChange:d}))),l().createElement(jb.Placeholder,{key:"evf-gutenberg-form-selector-wrap",icon:Vr,instructions:Nb("Everest Form Frontend Listing","everest-forms"),className:"everest-form-gutenberg-form-selector-wrap evf-test"},l().createElement(jb.SelectControl,{key:"evf-gutenberg-form-selector-select-control",value:r,options:[{label:Nb("Select list","everest-forms"),value:""},...c],onChange:d})))))},save:()=>null},wx=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 kx(){return kx=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},kx.apply(null,arguments)}const Sx=wp.serverSideRender?wp.serverSideRender:wp.components.ServerSideRender,Cx=wx.name,_x={...wx,icon:e=>l().createElement(Ir.svg,Nr({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,Fb.useBlockProps)(),{attributes:{redirect_url:r,recaptcha:n},setAttributes:o}=e,i=wx.name;return l().createElement(l().Fragment,null,l().createElement(gv,null,l().createElement(vv,kx({},t,{maxW:"sm",borderWidth:"1px",borderRadius:"lg",p:2}),l().createElement(Fb.InspectorControls,{key:"evf-gutenberg-form-selector-inspector-controls"},l().createElement(jb.PanelBody,{title:Nb("Everest Forms User Login","everest-forms")},l().createElement(jb.TextControl,{key:"evf-gutenberg-user-login-redirect-url",label:Nb("Redirect URL","user-registration"),value:r,onChange:e=>{o({redirect_url:e})}}),l().createElement(jb.ToggleControl,{key:"evf-gutenberg-user-login-recaptcha",label:Nb("Enable Recaptcha","user-registration"),checked:n,onChange:e=>{o({recaptcha:e})}}))),l().createElement(Sx,{key:"evf-gutenberg-user-login-server-side-renderer",block:i,attributes:e.attributes}))))},save:()=>"user login"},{isFrontendListingActive:Ex,isUserRegistrationActive:Px,isPro:Tx}="undefined"!=typeof _EVF_BLOCKS_&&_EVF_BLOCKS_;let zx=[e];Tx&&Ex&&zx.push(t),Tx&&Px&&zx.push(n),zx=(0,i.applyFilters)("everest-forms.blocks",zx);(()=>{for(const e of zx){const t=(0,i.applyFilters)("everest-forms.blocks.metadata",e.settings);t.edit=(0,i.applyFilters)("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})})();
Save
cmd:
run