@eclass/ui-kit 1.31.0 → 1.32.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (61) hide show
  1. package/dist/atoms/Icons/AcademicRecord.d.ts +2 -1
  2. package/dist/atoms/Icons/AlertInfo.d.ts +2 -1
  3. package/dist/atoms/Icons/Alerts/ErrorWhite.d.ts +2 -1
  4. package/dist/atoms/Icons/Alerts/InfoWhite.d.ts +2 -1
  5. package/dist/atoms/Icons/Alerts/SuccessWhite.d.ts +2 -1
  6. package/dist/atoms/Icons/Alerts/WarningWhite.d.ts +2 -1
  7. package/dist/atoms/Icons/ArrowRight.d.ts +2 -1
  8. package/dist/atoms/Icons/Base.d.ts +2 -2
  9. package/dist/atoms/Icons/Certificate.d.ts +2 -1
  10. package/dist/atoms/Icons/CircularCheck.d.ts +2 -1
  11. package/dist/atoms/Icons/CircularInformation.d.ts +2 -1
  12. package/dist/atoms/Icons/Close.d.ts +2 -1
  13. package/dist/atoms/Icons/Download.d.ts +2 -1
  14. package/dist/atoms/Icons/GoAhead.d.ts +2 -1
  15. package/dist/atoms/Icons/GoBack.d.ts +2 -1
  16. package/dist/atoms/Icons/Loader.d.ts +1 -0
  17. package/dist/atoms/Icons/Multimedia.d.ts +2 -1
  18. package/dist/atoms/Icons/Password.d.ts +2 -1
  19. package/dist/atoms/Icons/Pen.d.ts +2 -1
  20. package/dist/atoms/Icons/PlusSign.d.ts +2 -1
  21. package/dist/atoms/Icons/Profile.d.ts +2 -1
  22. package/dist/atoms/Icons/Schedule.d.ts +2 -1
  23. package/dist/atoms/Icons/TextBubble.d.ts +2 -1
  24. package/dist/atoms/Icons/TinyAlertError.d.ts +2 -1
  25. package/dist/atoms/Icons/TinyAlertInfo.d.ts +2 -1
  26. package/dist/atoms/Icons/TinyAlertSuccess.d.ts +2 -1
  27. package/dist/atoms/Icons/TinyAlertWarning.d.ts +2 -1
  28. package/dist/atoms/Icons/TrashCan.d.ts +2 -1
  29. package/dist/atoms/Progress/Progress.d.ts +1 -0
  30. package/dist/atoms/Ripples/Ripples.d.ts +1 -0
  31. package/dist/atoms/TinyAlert/TinyAlert.d.ts +1 -0
  32. package/dist/eclass-ui-kit.es.js +36480 -28573
  33. package/dist/eclass-ui-kit.es.js.map +1 -1
  34. package/dist/eclass-ui-kit.umd.js +276 -371
  35. package/dist/eclass-ui-kit.umd.js.map +1 -1
  36. package/dist/index.d.ts +4 -4
  37. package/dist/molecules/Buttons/BtnPrimary.d.ts +2 -1
  38. package/dist/molecules/Buttons/BtnSecondary.d.ts +2 -1
  39. package/dist/molecules/Tooltip/NewTooltip.d.ts +3 -2
  40. package/dist/organisms/Alerts/Alert.d.ts +2 -1
  41. package/dist/organisms/Alerts/FlashNotification.d.ts +2 -1
  42. package/dist/organisms/Alerts/utils/alertStates.d.ts +4 -4
  43. package/dist/organisms/Alerts/utils/useFlashNotification.d.ts +1 -1
  44. package/dist/organisms/CourseList/Boxes/BoxImage.d.ts +2 -1
  45. package/dist/organisms/CourseList/Boxes/BoxTraditional.d.ts +1 -1
  46. package/dist/organisms/CourseList/Boxes/Boxes.d.ts +2 -1
  47. package/dist/organisms/CourseList/CourseList.d.ts +2 -1
  48. package/dist/organisms/CourseList/components/CourseStatus.d.ts +2 -1
  49. package/dist/organisms/CourseList/components/DateStatus.d.ts +1 -0
  50. package/dist/organisms/CourseList/components/Footer.d.ts +2 -1
  51. package/dist/organisms/CourseList/components/Header.d.ts +1 -0
  52. package/dist/organisms/CourseList/components/IconSelection.d.ts +1 -0
  53. package/dist/organisms/CourseList/components/Modal/PaymentModal.d.ts +2 -1
  54. package/dist/organisms/CourseList/components/Section.d.ts +1 -0
  55. package/dist/organisms/CourseList/utils/dataFake.d.ts +1 -1
  56. package/dist/theme/index.d.ts +1 -1
  57. package/dist/tsconfig.types.tsbuildinfo +1 -1
  58. package/package.json +61 -64
  59. package/dist/organisms/Alerts/types.d.ts +0 -66
  60. package/dist/organisms/CourseList/types.d.ts +0 -37
  61. package/dist/vite-env.d.ts +0 -2
@@ -1,389 +1,294 @@
1
- (function(ve,F){typeof exports=="object"&&typeof module!="undefined"?F(exports,require("react")):typeof define=="function"&&define.amd?define(["exports","react"],F):(ve=typeof globalThis!="undefined"?globalThis:ve||self,F(ve["@eclass/ui-kit"]={},ve.React))})(this,function(ve,F){"use strict";function i5(e){return e&&typeof e=="object"&&"default"in e?e:{default:e}}function a5(e){if(e&&e.__esModule)return e;var t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});return e&&Object.keys(e).forEach(function(r){if(r!=="default"){var n=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(t,r,n.get?n:{enumerable:!0,get:function(){return e[r]}})}}),t.default=e,Object.freeze(t)}var S=a5(F),$r=i5(F);function o5(e){if(e.sheet)return e.sheet;for(var t=0;t<document.styleSheets.length;t++)if(document.styleSheets[t].ownerNode===e)return document.styleSheets[t]}function l5(e){var t=document.createElement("style");return t.setAttribute("data-emotion",e.key),e.nonce!==void 0&&t.setAttribute("nonce",e.nonce),t.appendChild(document.createTextNode("")),t.setAttribute("data-s",""),t}var s5=function(){function e(r){var n=this;this._insertTag=function(i){var a;n.tags.length===0?n.insertionPoint?a=n.insertionPoint.nextSibling:n.prepend?a=n.container.firstChild:a=n.before:a=n.tags[n.tags.length-1].nextSibling,n.container.insertBefore(i,a),n.tags.push(i)},this.isSpeedy=r.speedy===void 0?!0:r.speedy,this.tags=[],this.ctr=0,this.nonce=r.nonce,this.key=r.key,this.container=r.container,this.prepend=r.prepend,this.insertionPoint=r.insertionPoint,this.before=null}var t=e.prototype;return t.hydrate=function(n){n.forEach(this._insertTag)},t.insert=function(n){this.ctr%(this.isSpeedy?65e3:1)===0&&this._insertTag(l5(this));var i=this.tags[this.tags.length-1];if(this.isSpeedy){var a=o5(i);try{a.insertRule(n,a.cssRules.length)}catch{}}else i.appendChild(document.createTextNode(n));this.ctr++},t.flush=function(){this.tags.forEach(function(n){return n.parentNode&&n.parentNode.removeChild(n)}),this.tags=[],this.ctr=0},e}(),et="-ms-",El="-moz-",oe="-webkit-",mm="comm",Rc="rule",Ic="decl",u5="@import",gm="@keyframes",c5="@layer",f5=Math.abs,kl=String.fromCharCode,d5=Object.assign;function p5(e,t){return Ye(e,0)^45?(((t<<2^Ye(e,0))<<2^Ye(e,1))<<2^Ye(e,2))<<2^Ye(e,3):0}function ym(e){return e.trim()}function v5(e,t){return(e=t.exec(e))?e[0]:e}function le(e,t,r){return e.replace(t,r)}function Lc(e,t){return e.indexOf(t)}function Ye(e,t){return e.charCodeAt(t)|0}function xa(e,t,r){return e.slice(t,r)}function rr(e){return e.length}function Bc(e){return e.length}function Tl(e,t){return t.push(e),e}function h5(e,t){return e.map(t).join("")}var Pl=1,fi=1,bm=0,ft=0,ze=0,di="";function _l(e,t,r,n,i,a,o){return{value:e,root:t,parent:r,type:n,props:i,children:a,line:Pl,column:fi,length:o,return:""}}function Sa(e,t){return d5(_l("",null,null,"",null,null,0),e,{length:-e.length},t)}function m5(){return ze}function g5(){return ze=ft>0?Ye(di,--ft):0,fi--,ze===10&&(fi=1,Pl--),ze}function xt(){return ze=ft<bm?Ye(di,ft++):0,fi++,ze===10&&(fi=1,Pl++),ze}function nr(){return Ye(di,ft)}function Ol(){return ft}function wa(e,t){return xa(di,e,t)}function Ca(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 xm(e){return Pl=fi=1,bm=rr(di=e),ft=0,[]}function Sm(e){return di="",e}function Al(e){return ym(wa(ft-1,$c(e===91?e+2:e===40?e+1:e)))}function y5(e){for(;(ze=nr())&&ze<33;)xt();return Ca(e)>2||Ca(ze)>3?"":" "}function b5(e,t){for(;--t&&xt()&&!(ze<48||ze>102||ze>57&&ze<65||ze>70&&ze<97););return wa(e,Ol()+(t<6&&nr()==32&&xt()==32))}function $c(e){for(;xt();)switch(ze){case e:return ft;case 34:case 39:e!==34&&e!==39&&$c(ze);break;case 40:e===41&&$c(e);break;case 92:xt();break}return ft}function x5(e,t){for(;xt()&&e+ze!==47+10;)if(e+ze===42+42&&nr()===47)break;return"/*"+wa(t,ft-1)+"*"+kl(e===47?e:xt())}function S5(e){for(;!Ca(nr());)xt();return wa(e,ft)}function w5(e){return Sm(Ml("",null,null,null,[""],e=xm(e),0,[0],e))}function Ml(e,t,r,n,i,a,o,l,s){for(var u=0,c=0,d=o,f=0,p=0,h=0,g=1,v=1,m=1,y=0,b="",x=i,E=a,k=n,T=b;v;)switch(h=y,y=xt()){case 40:if(h!=108&&Ye(T,d-1)==58){Lc(T+=le(Al(y),"&","&\f"),"&\f")!=-1&&(m=-1);break}case 34:case 39:case 91:T+=Al(y);break;case 9:case 10:case 13:case 32:T+=y5(h);break;case 92:T+=b5(Ol()-1,7);continue;case 47:switch(nr()){case 42:case 47:Tl(C5(x5(xt(),Ol()),t,r),s);break;default:T+="/"}break;case 123*g:l[u++]=rr(T)*m;case 125*g:case 59:case 0:switch(y){case 0:case 125:v=0;case 59+c:m==-1&&(T=le(T,/\f/g,"")),p>0&&rr(T)-d&&Tl(p>32?Cm(T+";",n,r,d-1):Cm(le(T," ","")+";",n,r,d-2),s);break;case 59:T+=";";default:if(Tl(k=wm(T,t,r,u,c,i,l,b,x=[],E=[],d),a),y===123)if(c===0)Ml(T,t,k,k,x,a,d,l,E);else switch(f===99&&Ye(T,3)===110?100:f){case 100:case 108:case 109:case 115:Ml(e,k,k,n&&Tl(wm(e,k,k,0,0,i,l,b,i,x=[],d),E),i,E,d,l,n?x:E);break;default:Ml(T,k,k,k,[""],E,0,l,E)}}u=c=p=0,g=m=1,b=T="",d=o;break;case 58:d=1+rr(T),p=h;default:if(g<1){if(y==123)--g;else if(y==125&&g++==0&&g5()==125)continue}switch(T+=kl(y),y*g){case 38:m=c>0?1:(T+="\f",-1);break;case 44:l[u++]=(rr(T)-1)*m,m=1;break;case 64:nr()===45&&(T+=Al(xt())),f=nr(),c=d=rr(b=T+=S5(Ol())),y++;break;case 45:h===45&&rr(T)==2&&(g=0)}}return a}function wm(e,t,r,n,i,a,o,l,s,u,c){for(var d=i-1,f=i===0?a:[""],p=Bc(f),h=0,g=0,v=0;h<n;++h)for(var m=0,y=xa(e,d+1,d=f5(g=o[h])),b=e;m<p;++m)(b=ym(g>0?f[m]+" "+y:le(y,/&\f/g,f[m])))&&(s[v++]=b);return _l(e,t,r,i===0?Rc:l,s,u,c)}function C5(e,t,r){return _l(e,t,r,mm,kl(m5()),xa(e,2,-2),0)}function Cm(e,t,r,n){return _l(e,t,r,Ic,xa(e,0,n),xa(e,n+1,-1),n)}function pi(e,t){for(var r="",n=Bc(e),i=0;i<n;i++)r+=t(e[i],i,e,t)||"";return r}function E5(e,t,r,n){switch(e.type){case c5:if(e.children.length)break;case u5:case Ic:return e.return=e.return||e.value;case mm:return"";case gm:return e.return=e.value+"{"+pi(e.children,n)+"}";case Rc:e.value=e.props.join(",")}return rr(r=pi(e.children,n))?e.return=e.value+"{"+r+"}":""}function k5(e){var t=Bc(e);return function(r,n,i,a){for(var o="",l=0;l<t;l++)o+=e[l](r,n,i,a)||"";return o}}function T5(e){return function(t){t.root||(t=t.return)&&e(t)}}function Em(e){var t=Object.create(null);return function(r){return t[r]===void 0&&(t[r]=e(r)),t[r]}}var P5=function(t,r,n){for(var i=0,a=0;i=a,a=nr(),i===38&&a===12&&(r[n]=1),!Ca(a);)xt();return wa(t,ft)},_5=function(t,r){var n=-1,i=44;do switch(Ca(i)){case 0:i===38&&nr()===12&&(r[n]=1),t[n]+=P5(ft-1,r,n);break;case 2:t[n]+=Al(i);break;case 4:if(i===44){t[++n]=nr()===58?"&\f":"",r[n]=t[n].length;break}default:t[n]+=kl(i)}while(i=xt());return t},O5=function(t,r){return Sm(_5(xm(t),r))},km=new WeakMap,A5=function(t){if(!(t.type!=="rule"||!t.parent||t.length<1)){for(var r=t.value,n=t.parent,i=t.column===n.column&&t.line===n.line;n.type!=="rule";)if(n=n.parent,!n)return;if(!(t.props.length===1&&r.charCodeAt(0)!==58&&!km.get(n))&&!i){km.set(t,!0);for(var a=[],o=O5(r,a),l=n.props,s=0,u=0;s<o.length;s++)for(var c=0;c<l.length;c++,u++)t.props[u]=a[s]?o[s].replace(/&\f/g,l[c]):l[c]+" "+o[s]}}},M5=function(t){if(t.type==="decl"){var r=t.value;r.charCodeAt(0)===108&&r.charCodeAt(2)===98&&(t.return="",t.value="")}};function Tm(e,t){switch(p5(e,t)){case 5103:return oe+"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 oe+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return oe+e+El+e+et+e+e;case 6828:case 4268:return oe+e+et+e+e;case 6165:return oe+e+et+"flex-"+e+e;case 5187:return oe+e+le(e,/(\w+).+(:[^]+)/,oe+"box-$1$2"+et+"flex-$1$2")+e;case 5443:return oe+e+et+"flex-item-"+le(e,/flex-|-self/,"")+e;case 4675:return oe+e+et+"flex-line-pack"+le(e,/align-content|flex-|-self/,"")+e;case 5548:return oe+e+et+le(e,"shrink","negative")+e;case 5292:return oe+e+et+le(e,"basis","preferred-size")+e;case 6060:return oe+"box-"+le(e,"-grow","")+oe+e+et+le(e,"grow","positive")+e;case 4554:return oe+le(e,/([^-])(transform)/g,"$1"+oe+"$2")+e;case 6187:return le(le(le(e,/(zoom-|grab)/,oe+"$1"),/(image-set)/,oe+"$1"),e,"")+e;case 5495:case 3959:return le(e,/(image-set\([^]*)/,oe+"$1$`$1");case 4968:return le(le(e,/(.+:)(flex-)?(.*)/,oe+"box-pack:$3"+et+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+oe+e+e;case 4095:case 3583:case 4068:case 2532:return le(e,/(.+)-inline(.+)/,oe+"$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(rr(e)-1-t>6)switch(Ye(e,t+1)){case 109:if(Ye(e,t+4)!==45)break;case 102:return le(e,/(.+:)(.+)-([^]+)/,"$1"+oe+"$2-$3$1"+El+(Ye(e,t+3)==108?"$3":"$2-$3"))+e;case 115:return~Lc(e,"stretch")?Tm(le(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(Ye(e,t+1)!==115)break;case 6444:switch(Ye(e,rr(e)-3-(~Lc(e,"!important")&&10))){case 107:return le(e,":",":"+oe)+e;case 101:return le(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+oe+(Ye(e,14)===45?"inline-":"")+"box$3$1"+oe+"$2$3$1"+et+"$2box$3")+e}break;case 5936:switch(Ye(e,t+11)){case 114:return oe+e+et+le(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return oe+e+et+le(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return oe+e+et+le(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return oe+e+et+e+e}return e}var F5=function(t,r,n,i){if(t.length>-1&&!t.return)switch(t.type){case Ic:t.return=Tm(t.value,t.length);break;case gm:return pi([Sa(t,{value:le(t.value,"@","@"+oe)})],i);case Rc:if(t.length)return h5(t.props,function(a){switch(v5(a,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return pi([Sa(t,{props:[le(a,/:(read-\w+)/,":"+El+"$1")]})],i);case"::placeholder":return pi([Sa(t,{props:[le(a,/:(plac\w+)/,":"+oe+"input-$1")]}),Sa(t,{props:[le(a,/:(plac\w+)/,":"+El+"$1")]}),Sa(t,{props:[le(a,/:(plac\w+)/,et+"input-$1")]})],i)}return""})}},R5=[F5],I5=function(t){var r=t.key;if(r==="css"){var n=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(n,function(g){var v=g.getAttribute("data-emotion");v.indexOf(" ")!==-1&&(document.head.appendChild(g),g.setAttribute("data-s",""))})}var i=t.stylisPlugins||R5,a={},o,l=[];o=t.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+r+' "]'),function(g){for(var v=g.getAttribute("data-emotion").split(" "),m=1;m<v.length;m++)a[v[m]]=!0;l.push(g)});var s,u=[A5,M5];{var c,d=[E5,T5(function(g){c.insert(g)})],f=k5(u.concat(i,d)),p=function(v){return pi(w5(v),f)};s=function(v,m,y,b){c=y,p(v?v+"{"+m.styles+"}":m.styles),b&&(h.inserted[m.name]=!0)}}var h={key:r,sheet:new s5({key:r,container:o,nonce:t.nonce,speedy:t.speedy,prepend:t.prepend,insertionPoint:t.insertionPoint}),nonce:t.nonce,inserted:a,registered:{},insert:s};return h.sheet.hydrate(l),h};function Pn(){return Pn=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Pn.apply(this,arguments)}var Pm=function(t){var r=new WeakMap;return function(n){if(r.has(n))return r.get(n);var i=t(n);return r.set(n,i),i}},Fl=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{},_m={exports:{}},ue={};/** @license React v16.13.1
1
+ (function(jn,U){typeof exports=="object"&&typeof module<"u"?U(exports,require("react")):typeof define=="function"&&define.amd?define(["exports","react"],U):(jn=typeof globalThis<"u"?globalThis:jn||self,U(jn["@eclass/ui-kit"]={},jn.React))})(this,function(jn,U){"use strict";function aP(t){const r=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(t){for(const i in t)if(i!=="default"){const l=Object.getOwnPropertyDescriptor(t,i);Object.defineProperty(r,i,l.get?l:{enumerable:!0,get:()=>t[i]})}}return r.default=t,Object.freeze(r)}const pe=aP(U);var Zg=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function kS(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}var _S={exports:{}},Nh={};/**
2
+ * @license React
3
+ * react-jsx-runtime.production.min.js
4
+ *
5
+ * Copyright (c) Facebook, Inc. and its affiliates.
6
+ *
7
+ * This source code is licensed under the MIT license found in the
8
+ * LICENSE file in the root directory of this source tree.
9
+ */var Ek;function iP(){if(Ek)return Nh;Ek=1;var t=U,r=Symbol.for("react.element"),i=Symbol.for("react.fragment"),l=Object.prototype.hasOwnProperty,f=t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,h={key:!0,ref:!0,__self:!0,__source:!0};function p(g,y,S){var C,E={},k=null,R=null;S!==void 0&&(k=""+S),y.key!==void 0&&(k=""+y.key),y.ref!==void 0&&(R=y.ref);for(C in y)l.call(y,C)&&!h.hasOwnProperty(C)&&(E[C]=y[C]);if(g&&g.defaultProps)for(C in y=g.defaultProps,y)E[C]===void 0&&(E[C]=y[C]);return{$$typeof:r,type:g,key:k,ref:R,props:E,_owner:f.current}}return Nh.Fragment=i,Nh.jsx=p,Nh.jsxs=p,Nh}var jh={};/**
10
+ * @license React
11
+ * react-jsx-runtime.development.js
12
+ *
13
+ * Copyright (c) Facebook, Inc. and its affiliates.
14
+ *
15
+ * This source code is licensed under the MIT license found in the
16
+ * LICENSE file in the root directory of this source tree.
17
+ */var Tk;function oP(){return Tk||(Tk=1,process.env.NODE_ENV!=="production"&&function(){var t=U,r=Symbol.for("react.element"),i=Symbol.for("react.portal"),l=Symbol.for("react.fragment"),f=Symbol.for("react.strict_mode"),h=Symbol.for("react.profiler"),p=Symbol.for("react.provider"),g=Symbol.for("react.context"),y=Symbol.for("react.forward_ref"),S=Symbol.for("react.suspense"),C=Symbol.for("react.suspense_list"),E=Symbol.for("react.memo"),k=Symbol.for("react.lazy"),R=Symbol.for("react.offscreen"),A=Symbol.iterator,P="@@iterator";function j(B){if(B===null||typeof B!="object")return null;var Se=A&&B[A]||B[P];return typeof Se=="function"?Se:null}var q=t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function F(B){{for(var Se=arguments.length,ze=new Array(Se>1?Se-1:0),lt=1;lt<Se;lt++)ze[lt-1]=arguments[lt];$("error",B,ze)}}function $(B,Se,ze){{var lt=q.ReactDebugCurrentFrame,_t=lt.getStackAddendum();_t!==""&&(Se+="%s",ze=ze.concat([_t]));var Lt=ze.map(function(Rt){return String(Rt)});Lt.unshift("Warning: "+Se),Function.prototype.apply.call(console[B],console,Lt)}}var Q=!1,V=!1,le=!1,J=!1,me=!1,ve;ve=Symbol.for("react.module.reference");function ye(B){return!!(typeof B=="string"||typeof B=="function"||B===l||B===h||me||B===f||B===S||B===C||J||B===R||Q||V||le||typeof B=="object"&&B!==null&&(B.$$typeof===k||B.$$typeof===E||B.$$typeof===p||B.$$typeof===g||B.$$typeof===y||B.$$typeof===ve||B.getModuleId!==void 0))}function De(B,Se,ze){var lt=B.displayName;if(lt)return lt;var _t=Se.displayName||Se.name||"";return _t!==""?ze+"("+_t+")":ze}function pt(B){return B.displayName||"Context"}function Oe(B){if(B==null)return null;if(typeof B.tag=="number"&&F("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),typeof B=="function")return B.displayName||B.name||null;if(typeof B=="string")return B;switch(B){case l:return"Fragment";case i:return"Portal";case h:return"Profiler";case f:return"StrictMode";case S:return"Suspense";case C:return"SuspenseList"}if(typeof B=="object")switch(B.$$typeof){case g:var Se=B;return pt(Se)+".Consumer";case p:var ze=B;return pt(ze._context)+".Provider";case y:return De(B,B.render,"ForwardRef");case E:var lt=B.displayName||null;return lt!==null?lt:Oe(B.type)||"Memo";case k:{var _t=B,Lt=_t._payload,Rt=_t._init;try{return Oe(Rt(Lt))}catch{return null}}}return null}var Pe=Object.assign,at=0,Ue,st,be,Le,K,se,_e;function Ee(){}Ee.__reactDisabledLog=!0;function Fe(){{if(at===0){Ue=console.log,st=console.info,be=console.warn,Le=console.error,K=console.group,se=console.groupCollapsed,_e=console.groupEnd;var B={configurable:!0,enumerable:!0,value:Ee,writable:!0};Object.defineProperties(console,{info:B,log:B,warn:B,error:B,group:B,groupCollapsed:B,groupEnd:B})}at++}}function Ie(){{if(at--,at===0){var B={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:Pe({},B,{value:Ue}),info:Pe({},B,{value:st}),warn:Pe({},B,{value:be}),error:Pe({},B,{value:Le}),group:Pe({},B,{value:K}),groupCollapsed:Pe({},B,{value:se}),groupEnd:Pe({},B,{value:_e})})}at<0&&F("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var Ae=q.ReactCurrentDispatcher,Xe;function $e(B,Se,ze){{if(Xe===void 0)try{throw Error()}catch(_t){var lt=_t.stack.trim().match(/\n( *(at )?)/);Xe=lt&&lt[1]||""}return`
18
+ `+Xe+B}}var Je=!1,tt;{var yt=typeof WeakMap=="function"?WeakMap:Map;tt=new yt}function he(B,Se){if(!B||Je)return"";{var ze=tt.get(B);if(ze!==void 0)return ze}var lt;Je=!0;var _t=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var Lt;Lt=Ae.current,Ae.current=null,Fe();try{if(Se){var Rt=function(){throw Error()};if(Object.defineProperty(Rt.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(Rt,[])}catch(Ft){lt=Ft}Reflect.construct(B,[],Rt)}else{try{Rt.call()}catch(Ft){lt=Ft}B.call(Rt.prototype)}}else{try{throw Error()}catch(Ft){lt=Ft}B()}}catch(Ft){if(Ft&&lt&&typeof Ft.stack=="string"){for(var ct=Ft.stack.split(`
19
+ `),lr=lt.stack.split(`
20
+ `),kn=ct.length-1,_n=lr.length-1;kn>=1&&_n>=0&&ct[kn]!==lr[_n];)_n--;for(;kn>=1&&_n>=0;kn--,_n--)if(ct[kn]!==lr[_n]){if(kn!==1||_n!==1)do if(kn--,_n--,_n<0||ct[kn]!==lr[_n]){var Fr=`
21
+ `+ct[kn].replace(" at new "," at ");return B.displayName&&Fr.includes("<anonymous>")&&(Fr=Fr.replace("<anonymous>",B.displayName)),typeof B=="function"&&tt.set(B,Fr),Fr}while(kn>=1&&_n>=0);break}}}finally{Je=!1,Ae.current=Lt,Ie(),Error.prepareStackTrace=_t}var xi=B?B.displayName||B.name:"",_u=xi?$e(xi):"";return typeof B=="function"&&tt.set(B,_u),_u}function wt(B,Se,ze){return he(B,!1)}function mn(B){var Se=B.prototype;return!!(Se&&Se.isReactComponent)}function Cn(B,Se,ze){if(B==null)return"";if(typeof B=="function")return he(B,mn(B));if(typeof B=="string")return $e(B);switch(B){case S:return $e("Suspense");case C:return $e("SuspenseList")}if(typeof B=="object")switch(B.$$typeof){case y:return wt(B.render);case E:return Cn(B.type,Se,ze);case k:{var lt=B,_t=lt._payload,Lt=lt._init;try{return Cn(Lt(_t),Se,ze)}catch{}}}return""}var er=Object.prototype.hasOwnProperty,tr={},Zr=q.ReactDebugCurrentFrame;function ha(B){if(B){var Se=B._owner,ze=Cn(B.type,B._source,Se?Se.type:null);Zr.setExtraStackFrame(ze)}else Zr.setExtraStackFrame(null)}function Xn(B,Se,ze,lt,_t){{var Lt=Function.call.bind(er);for(var Rt in B)if(Lt(B,Rt)){var ct=void 0;try{if(typeof B[Rt]!="function"){var lr=Error((lt||"React class")+": "+ze+" type `"+Rt+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof B[Rt]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw lr.name="Invariant Violation",lr}ct=B[Rt](Se,Rt,lt,ze,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(kn){ct=kn}ct&&!(ct instanceof Error)&&(ha(_t),F("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).",lt||"React class",ze,Rt,typeof ct),ha(null)),ct instanceof Error&&!(ct.message in tr)&&(tr[ct.message]=!0,ha(_t),F("Failed %s type: %s",ze,ct.message),ha(null))}}}var vr=Array.isArray;function mr(B){return vr(B)}function wn(B){{var Se=typeof Symbol=="function"&&Symbol.toStringTag,ze=Se&&B[Symbol.toStringTag]||B.constructor.name||"Object";return ze}}function Nr(B){try{return gr(B),!1}catch{return!0}}function gr(B){return""+B}function Jr(B){if(Nr(B))return F("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",wn(B)),gr(B)}var Dn=q.ReactCurrentOwner,nr={key:!0,ref:!0,__self:!0,__source:!0},Ui,Oa,Me;Me={};function it(B){if(er.call(B,"ref")){var Se=Object.getOwnPropertyDescriptor(B,"ref").get;if(Se&&Se.isReactWarning)return!1}return B.ref!==void 0}function At(B){if(er.call(B,"key")){var Se=Object.getOwnPropertyDescriptor(B,"key").get;if(Se&&Se.isReactWarning)return!1}return B.key!==void 0}function Xt(B,Se){if(typeof B.ref=="string"&&Dn.current&&Se&&Dn.current.stateNode!==Se){var ze=Oe(Dn.current.type);Me[ze]||(F('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref',Oe(Dn.current.type),B.ref),Me[ze]=!0)}}function On(B,Se){{var ze=function(){Ui||(Ui=!0,F("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",Se))};ze.isReactWarning=!0,Object.defineProperty(B,"key",{get:ze,configurable:!0})}}function En(B,Se){{var ze=function(){Oa||(Oa=!0,F("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",Se))};ze.isReactWarning=!0,Object.defineProperty(B,"ref",{get:ze,configurable:!0})}}var Tn=function(B,Se,ze,lt,_t,Lt,Rt){var ct={$$typeof:r,type:B,key:Se,ref:ze,props:Rt,_owner:Lt};return ct._store={},Object.defineProperty(ct._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(ct,"_self",{configurable:!1,enumerable:!1,writable:!1,value:lt}),Object.defineProperty(ct,"_source",{configurable:!1,enumerable:!1,writable:!1,value:_t}),Object.freeze&&(Object.freeze(ct.props),Object.freeze(ct)),ct};function ea(B,Se,ze,lt,_t){{var Lt,Rt={},ct=null,lr=null;ze!==void 0&&(Jr(ze),ct=""+ze),At(Se)&&(Jr(Se.key),ct=""+Se.key),it(Se)&&(lr=Se.ref,Xt(Se,_t));for(Lt in Se)er.call(Se,Lt)&&!nr.hasOwnProperty(Lt)&&(Rt[Lt]=Se[Lt]);if(B&&B.defaultProps){var kn=B.defaultProps;for(Lt in kn)Rt[Lt]===void 0&&(Rt[Lt]=kn[Lt])}if(ct||lr){var _n=typeof B=="function"?B.displayName||B.name||"Unknown":B;ct&&On(Rt,_n),lr&&En(Rt,_n)}return Tn(B,ct,lr,_t,lt,Dn.current,Rt)}}var cn=q.ReactCurrentOwner,va=q.ReactDebugCurrentFrame;function tn(B){if(B){var Se=B._owner,ze=Cn(B.type,B._source,Se?Se.type:null);va.setExtraStackFrame(ze)}else va.setExtraStackFrame(null)}var Yt;Yt=!1;function Cs(B){return typeof B=="object"&&B!==null&&B.$$typeof===r}function ma(){{if(cn.current){var B=Oe(cn.current.type);if(B)return`
22
+
23
+ Check the render method of \``+B+"`."}return""}}function ws(B){{if(B!==void 0){var Se=B.fileName.replace(/^.*[\\\/]/,""),ze=B.lineNumber;return`
24
+
25
+ Check your code at `+Se+":"+ze+"."}return""}}var gl={};function ku(B){{var Se=ma();if(!Se){var ze=typeof B=="string"?B:B.displayName||B.name;ze&&(Se=`
26
+
27
+ Check the top-level render call using <`+ze+">.")}return Se}}function Oo(B,Se){{if(!B._store||B._store.validated||B.key!=null)return;B._store.validated=!0;var ze=ku(Se);if(gl[ze])return;gl[ze]=!0;var lt="";B&&B._owner&&B._owner!==cn.current&&(lt=" It was passed a child from "+Oe(B._owner.type)+"."),tn(B),F('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',ze,lt),tn(null)}}function Es(B,Se){{if(typeof B!="object")return;if(mr(B))for(var ze=0;ze<B.length;ze++){var lt=B[ze];Cs(lt)&&Oo(lt,Se)}else if(Cs(B))B._store&&(B._store.validated=!0);else if(B){var _t=j(B);if(typeof _t=="function"&&_t!==B.entries)for(var Lt=_t.call(B),Rt;!(Rt=Lt.next()).done;)Cs(Rt.value)&&Oo(Rt.value,Se)}}}function jr(B){{var Se=B.type;if(Se==null||typeof Se=="string")return;var ze;if(typeof Se=="function")ze=Se.propTypes;else if(typeof Se=="object"&&(Se.$$typeof===y||Se.$$typeof===E))ze=Se.propTypes;else return;if(ze){var lt=Oe(Se);Xn(ze,B.props,"prop",lt,B)}else if(Se.PropTypes!==void 0&&!Yt){Yt=!0;var _t=Oe(Se);F("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",_t||"Unknown")}typeof Se.getDefaultProps=="function"&&!Se.getDefaultProps.isReactClassApproved&&F("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function Ts(B){{for(var Se=Object.keys(B.props),ze=0;ze<Se.length;ze++){var lt=Se[ze];if(lt!=="children"&&lt!=="key"){tn(B),F("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",lt),tn(null);break}}B.ref!==null&&(tn(B),F("Invalid attribute `ref` supplied to `React.Fragment`."),tn(null))}}function Si(B,Se,ze,lt,_t,Lt){{var Rt=ye(B);if(!Rt){var ct="";(B===void 0||typeof B=="object"&&B!==null&&Object.keys(B).length===0)&&(ct+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");var lr=ws(_t);lr?ct+=lr:ct+=ma();var kn;B===null?kn="null":mr(B)?kn="array":B!==void 0&&B.$$typeof===r?(kn="<"+(Oe(B.type)||"Unknown")+" />",ct=" Did you accidentally export a JSX literal instead of a component?"):kn=typeof B,F("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",kn,ct)}var _n=ea(B,Se,ze,_t,Lt);if(_n==null)return _n;if(Rt){var Fr=Se.children;if(Fr!==void 0)if(lt)if(mr(Fr)){for(var xi=0;xi<Fr.length;xi++)Es(Fr[xi],B);Object.freeze&&Object.freeze(Fr)}else F("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");else Es(Fr,B)}return B===l?Ts(_n):jr(_n),_n}}function lo(B,Se,ze){return Si(B,Se,ze,!0)}function ga(B,Se,ze){return Si(B,Se,ze,!1)}var Za=ga,ya=lo;jh.Fragment=l,jh.jsx=Za,jh.jsxs=ya}()),jh}process.env.NODE_ENV==="production"?_S.exports=iP():_S.exports=oP();var O=_S.exports;function sP(t){if(t.sheet)return t.sheet;for(var r=0;r<document.styleSheets.length;r++)if(document.styleSheets[r].ownerNode===t)return document.styleSheets[r]}function lP(t){var r=document.createElement("style");return r.setAttribute("data-emotion",t.key),t.nonce!==void 0&&r.setAttribute("nonce",t.nonce),r.appendChild(document.createTextNode("")),r.setAttribute("data-s",""),r}var uP=function(){function t(i){var l=this;this._insertTag=function(f){var h;l.tags.length===0?l.insertionPoint?h=l.insertionPoint.nextSibling:l.prepend?h=l.container.firstChild:h=l.before:h=l.tags[l.tags.length-1].nextSibling,l.container.insertBefore(f,h),l.tags.push(f)},this.isSpeedy=i.speedy===void 0?process.env.NODE_ENV==="production":i.speedy,this.tags=[],this.ctr=0,this.nonce=i.nonce,this.key=i.key,this.container=i.container,this.prepend=i.prepend,this.insertionPoint=i.insertionPoint,this.before=null}var r=t.prototype;return r.hydrate=function(l){l.forEach(this._insertTag)},r.insert=function(l){this.ctr%(this.isSpeedy?65e3:1)===0&&this._insertTag(lP(this));var f=this.tags[this.tags.length-1];if(process.env.NODE_ENV!=="production"){var h=l.charCodeAt(0)===64&&l.charCodeAt(1)===105;h&&this._alreadyInsertedOrderInsensitiveRule&&console.error(`You're attempting to insert the following rule:
28
+ `+l+"\n\n`@import` rules must be before all other types of rules in a stylesheet but other rules have already been inserted. Please ensure that `@import` rules are before all other rules."),this._alreadyInsertedOrderInsensitiveRule=this._alreadyInsertedOrderInsensitiveRule||!h}if(this.isSpeedy){var p=sP(f);try{p.insertRule(l,p.cssRules.length)}catch(g){process.env.NODE_ENV!=="production"&&!/:(-moz-placeholder|-moz-focus-inner|-moz-focusring|-ms-input-placeholder|-moz-read-write|-moz-read-only|-ms-clear|-ms-expand|-ms-reveal){/.test(l)&&console.error('There was a problem inserting the following rule: "'+l+'"',g)}}else f.appendChild(document.createTextNode(l));this.ctr++},r.flush=function(){this.tags.forEach(function(l){return l.parentNode&&l.parentNode.removeChild(l)}),this.tags=[],this.ctr=0,process.env.NODE_ENV!=="production"&&(this._alreadyInsertedOrderInsensitiveRule=!1)},t}(),Da="-ms-",Jg="-moz-",on="-webkit-",RS="comm",DS="rule",OS="decl",cP="@import",kk="@keyframes",fP="@layer",dP=Math.abs,ey=String.fromCharCode,pP=Object.assign;function hP(t,r){return fa(t,0)^45?(((r<<2^fa(t,0))<<2^fa(t,1))<<2^fa(t,2))<<2^fa(t,3):0}function _k(t){return t.trim()}function vP(t,r){return(t=r.exec(t))?t[0]:t}function sn(t,r,i){return t.replace(r,i)}function AS(t,r){return t.indexOf(r)}function fa(t,r){return t.charCodeAt(r)|0}function Fh(t,r,i){return t.slice(r,i)}function us(t){return t.length}function MS(t){return t.length}function ty(t,r){return r.push(t),t}function mP(t,r){return t.map(r).join("")}var ny=1,td=1,Rk=0,fi=0,Er=0,nd="";function ry(t,r,i,l,f,h,p){return{value:t,root:r,parent:i,type:l,props:f,children:h,line:ny,column:td,length:p,return:""}}function $h(t,r){return pP(ry("",null,null,"",null,null,0),t,{length:-t.length},r)}function gP(){return Er}function yP(){return Er=fi>0?fa(nd,--fi):0,td--,Er===10&&(td=1,ny--),Er}function $i(){return Er=fi<Rk?fa(nd,fi++):0,td++,Er===10&&(td=1,ny++),Er}function cs(){return fa(nd,fi)}function ay(){return fi}function Bh(t,r){return Fh(nd,t,r)}function Vh(t){switch(t){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 Dk(t){return ny=td=1,Rk=us(nd=t),fi=0,[]}function Ok(t){return nd="",t}function iy(t){return _k(Bh(fi-1,PS(t===91?t+2:t===40?t+1:t)))}function bP(t){for(;(Er=cs())&&Er<33;)$i();return Vh(t)>2||Vh(Er)>3?"":" "}function SP(t,r){for(;--r&&$i()&&!(Er<48||Er>102||Er>57&&Er<65||Er>70&&Er<97););return Bh(t,ay()+(r<6&&cs()==32&&$i()==32))}function PS(t){for(;$i();)switch(Er){case t:return fi;case 34:case 39:t!==34&&t!==39&&PS(Er);break;case 40:t===41&&PS(t);break;case 92:$i();break}return fi}function xP(t,r){for(;$i()&&t+Er!==47+10;)if(t+Er===42+42&&cs()===47)break;return"/*"+Bh(r,fi-1)+"*"+ey(t===47?t:$i())}function CP(t){for(;!Vh(cs());)$i();return Bh(t,fi)}function wP(t){return Ok(oy("",null,null,null,[""],t=Dk(t),0,[0],t))}function oy(t,r,i,l,f,h,p,g,y){for(var S=0,C=0,E=p,k=0,R=0,A=0,P=1,j=1,q=1,F=0,$="",Q=f,V=h,le=l,J=$;j;)switch(A=F,F=$i()){case 40:if(A!=108&&fa(J,E-1)==58){AS(J+=sn(iy(F),"&","&\f"),"&\f")!=-1&&(q=-1);break}case 34:case 39:case 91:J+=iy(F);break;case 9:case 10:case 13:case 32:J+=bP(A);break;case 92:J+=SP(ay()-1,7);continue;case 47:switch(cs()){case 42:case 47:ty(EP(xP($i(),ay()),r,i),y);break;default:J+="/"}break;case 123*P:g[S++]=us(J)*q;case 125*P:case 59:case 0:switch(F){case 0:case 125:j=0;case 59+C:q==-1&&(J=sn(J,/\f/g,"")),R>0&&us(J)-E&&ty(R>32?Mk(J+";",l,i,E-1):Mk(sn(J," ","")+";",l,i,E-2),y);break;case 59:J+=";";default:if(ty(le=Ak(J,r,i,S,C,f,g,$,Q=[],V=[],E),h),F===123)if(C===0)oy(J,r,le,le,Q,h,E,g,V);else switch(k===99&&fa(J,3)===110?100:k){case 100:case 108:case 109:case 115:oy(t,le,le,l&&ty(Ak(t,le,le,0,0,f,g,$,f,Q=[],E),V),f,V,E,g,l?Q:V);break;default:oy(J,le,le,le,[""],V,0,g,V)}}S=C=R=0,P=q=1,$=J="",E=p;break;case 58:E=1+us(J),R=A;default:if(P<1){if(F==123)--P;else if(F==125&&P++==0&&yP()==125)continue}switch(J+=ey(F),F*P){case 38:q=C>0?1:(J+="\f",-1);break;case 44:g[S++]=(us(J)-1)*q,q=1;break;case 64:cs()===45&&(J+=iy($i())),k=cs(),C=E=us($=J+=CP(ay())),F++;break;case 45:A===45&&us(J)==2&&(P=0)}}return h}function Ak(t,r,i,l,f,h,p,g,y,S,C){for(var E=f-1,k=f===0?h:[""],R=MS(k),A=0,P=0,j=0;A<l;++A)for(var q=0,F=Fh(t,E+1,E=dP(P=p[A])),$=t;q<R;++q)($=_k(P>0?k[q]+" "+F:sn(F,/&\f/g,k[q])))&&(y[j++]=$);return ry(t,r,i,f===0?DS:g,y,S,C)}function EP(t,r,i){return ry(t,r,i,RS,ey(gP()),Fh(t,2,-2),0)}function Mk(t,r,i,l){return ry(t,r,i,OS,Fh(t,0,l),Fh(t,l+1,-1),l)}function rd(t,r){for(var i="",l=MS(t),f=0;f<l;f++)i+=r(t[f],f,t,r)||"";return i}function TP(t,r,i,l){switch(t.type){case fP:if(t.children.length)break;case cP:case OS:return t.return=t.return||t.value;case RS:return"";case kk:return t.return=t.value+"{"+rd(t.children,l)+"}";case DS:t.value=t.props.join(",")}return us(i=rd(t.children,l))?t.return=t.value+"{"+i+"}":""}function kP(t){var r=MS(t);return function(i,l,f,h){for(var p="",g=0;g<r;g++)p+=t[g](i,l,f,h)||"";return p}}function _P(t){return function(r){r.root||(r=r.return)&&t(r)}}function Pk(t){var r=Object.create(null);return function(i){return r[i]===void 0&&(r[i]=t(i)),r[i]}}var RP=function(r,i,l){for(var f=0,h=0;f=h,h=cs(),f===38&&h===12&&(i[l]=1),!Vh(h);)$i();return Bh(r,fi)},DP=function(r,i){var l=-1,f=44;do switch(Vh(f)){case 0:f===38&&cs()===12&&(i[l]=1),r[l]+=RP(fi-1,i,l);break;case 2:r[l]+=iy(f);break;case 4:if(f===44){r[++l]=cs()===58?"&\f":"",i[l]=r[l].length;break}default:r[l]+=ey(f)}while(f=$i());return r},OP=function(r,i){return Ok(DP(Dk(r),i))},Lk=new WeakMap,AP=function(r){if(!(r.type!=="rule"||!r.parent||r.length<1)){for(var i=r.value,l=r.parent,f=r.column===l.column&&r.line===l.line;l.type!=="rule";)if(l=l.parent,!l)return;if(!(r.props.length===1&&i.charCodeAt(0)!==58&&!Lk.get(l))&&!f){Lk.set(r,!0);for(var h=[],p=OP(i,h),g=l.props,y=0,S=0;y<p.length;y++)for(var C=0;C<g.length;C++,S++)r.props[S]=h[y]?p[y].replace(/&\f/g,g[C]):g[C]+" "+p[y]}}},MP=function(r){if(r.type==="decl"){var i=r.value;i.charCodeAt(0)===108&&i.charCodeAt(2)===98&&(r.return="",r.value="")}},PP="emotion-disable-server-rendering-unsafe-selector-warning-please-do-not-use-this-the-warning-exists-for-a-reason",LP=function(r){return r.type==="comm"&&r.children.indexOf(PP)>-1},zP=function(r){return function(i,l,f){if(!(i.type!=="rule"||r.compat)){var h=i.value.match(/(:first|:nth|:nth-last)-child/g);if(h){for(var p=!!i.parent,g=p?i.parent.children:f,y=g.length-1;y>=0;y--){var S=g[y];if(S.line<i.line)break;if(S.column<i.column){if(LP(S))return;break}}h.forEach(function(C){console.error('The pseudo class "'+C+'" is potentially unsafe when doing server-side rendering. Try changing it to "'+C.split("-child")[0]+'-of-type".')})}}}},zk=function(r){return r.type.charCodeAt(1)===105&&r.type.charCodeAt(0)===64},NP=function(r,i){for(var l=r-1;l>=0;l--)if(!zk(i[l]))return!0;return!1},Nk=function(r){r.type="",r.value="",r.return="",r.children="",r.props=""},jP=function(r,i,l){zk(r)&&(r.parent?(console.error("`@import` rules can't be nested inside other rules. Please move it to the top level and put it before regular rules. Keep in mind that they can only be used within global styles."),Nk(r)):NP(i,l)&&(console.error("`@import` rules can't be after other rules. Please put your `@import` rules before your other rules."),Nk(r)))};function jk(t,r){switch(hP(t,r)){case 5103:return on+"print-"+t+t;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 on+t+t;case 5349:case 4246:case 4810:case 6968:case 2756:return on+t+Jg+t+Da+t+t;case 6828:case 4268:return on+t+Da+t+t;case 6165:return on+t+Da+"flex-"+t+t;case 5187:return on+t+sn(t,/(\w+).+(:[^]+)/,on+"box-$1$2"+Da+"flex-$1$2")+t;case 5443:return on+t+Da+"flex-item-"+sn(t,/flex-|-self/,"")+t;case 4675:return on+t+Da+"flex-line-pack"+sn(t,/align-content|flex-|-self/,"")+t;case 5548:return on+t+Da+sn(t,"shrink","negative")+t;case 5292:return on+t+Da+sn(t,"basis","preferred-size")+t;case 6060:return on+"box-"+sn(t,"-grow","")+on+t+Da+sn(t,"grow","positive")+t;case 4554:return on+sn(t,/([^-])(transform)/g,"$1"+on+"$2")+t;case 6187:return sn(sn(sn(t,/(zoom-|grab)/,on+"$1"),/(image-set)/,on+"$1"),t,"")+t;case 5495:case 3959:return sn(t,/(image-set\([^]*)/,on+"$1$`$1");case 4968:return sn(sn(t,/(.+:)(flex-)?(.*)/,on+"box-pack:$3"+Da+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+on+t+t;case 4095:case 3583:case 4068:case 2532:return sn(t,/(.+)-inline(.+)/,on+"$1$2")+t;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(us(t)-1-r>6)switch(fa(t,r+1)){case 109:if(fa(t,r+4)!==45)break;case 102:return sn(t,/(.+:)(.+)-([^]+)/,"$1"+on+"$2-$3$1"+Jg+(fa(t,r+3)==108?"$3":"$2-$3"))+t;case 115:return~AS(t,"stretch")?jk(sn(t,"stretch","fill-available"),r)+t:t}break;case 4949:if(fa(t,r+1)!==115)break;case 6444:switch(fa(t,us(t)-3-(~AS(t,"!important")&&10))){case 107:return sn(t,":",":"+on)+t;case 101:return sn(t,/(.+:)([^;!]+)(;|!.+)?/,"$1"+on+(fa(t,14)===45?"inline-":"")+"box$3$1"+on+"$2$3$1"+Da+"$2box$3")+t}break;case 5936:switch(fa(t,r+11)){case 114:return on+t+Da+sn(t,/[svh]\w+-[tblr]{2}/,"tb")+t;case 108:return on+t+Da+sn(t,/[svh]\w+-[tblr]{2}/,"tb-rl")+t;case 45:return on+t+Da+sn(t,/[svh]\w+-[tblr]{2}/,"lr")+t}return on+t+Da+t+t}return t}var FP=function(r,i,l,f){if(r.length>-1&&!r.return)switch(r.type){case OS:r.return=jk(r.value,r.length);break;case kk:return rd([$h(r,{value:sn(r.value,"@","@"+on)})],f);case DS:if(r.length)return mP(r.props,function(h){switch(vP(h,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return rd([$h(r,{props:[sn(h,/:(read-\w+)/,":"+Jg+"$1")]})],f);case"::placeholder":return rd([$h(r,{props:[sn(h,/:(plac\w+)/,":"+on+"input-$1")]}),$h(r,{props:[sn(h,/:(plac\w+)/,":"+Jg+"$1")]}),$h(r,{props:[sn(h,/:(plac\w+)/,Da+"input-$1")]})],f)}return""})}},$P=[FP],BP=function(r){var i=r.key;if(process.env.NODE_ENV!=="production"&&!i)throw new Error(`You have to configure \`key\` for your cache. Please make sure it's unique (and not equal to 'css') as it's used for linking styles to your cache.
29
+ If multiple caches share the same key they might "fight" for each other's style elements.`);if(i==="css"){var l=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(l,function(P){var j=P.getAttribute("data-emotion");j.indexOf(" ")!==-1&&(document.head.appendChild(P),P.setAttribute("data-s",""))})}var f=r.stylisPlugins||$P;if(process.env.NODE_ENV!=="production"&&/[^a-z-]/.test(i))throw new Error('Emotion key must only contain lower case alphabetical characters and - but "'+i+'" was passed');var h={},p,g=[];p=r.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+i+' "]'),function(P){for(var j=P.getAttribute("data-emotion").split(" "),q=1;q<j.length;q++)h[j[q]]=!0;g.push(P)});var y,S=[AP,MP];process.env.NODE_ENV!=="production"&&S.push(zP({get compat(){return A.compat}}),jP);{var C,E=[TP,process.env.NODE_ENV!=="production"?function(P){P.root||(P.return?C.insert(P.return):P.value&&P.type!==RS&&C.insert(P.value+"{}"))}:_P(function(P){C.insert(P)})],k=kP(S.concat(f,E)),R=function(j){return rd(wP(j),k)};y=function(j,q,F,$){C=F,process.env.NODE_ENV!=="production"&&q.map!==void 0&&(C={insert:function(V){F.insert(V+q.map)}}),R(j?j+"{"+q.styles+"}":q.styles),$&&(A.inserted[q.name]=!0)}}var A={key:i,sheet:new uP({key:i,container:p,nonce:r.nonce,speedy:r.speedy,prepend:r.prepend,insertionPoint:r.insertionPoint}),nonce:r.nonce,inserted:h,registered:{},insert:y};return A.sheet.hydrate(g),A};function ad(){return ad=Object.assign?Object.assign.bind():function(t){for(var r=1;r<arguments.length;r++){var i=arguments[r];for(var l in i)Object.prototype.hasOwnProperty.call(i,l)&&(t[l]=i[l])}return t},ad.apply(this,arguments)}var LS={exports:{}},dn={};/** @license React v16.13.1
2
30
  * react-is.production.min.js
3
31
  *
4
32
  * Copyright (c) Facebook, Inc. and its affiliates.
5
33
  *
6
34
  * This source code is licensed under the MIT license found in the
7
35
  * LICENSE file in the root directory of this source tree.
8
- */var He=typeof Symbol=="function"&&Symbol.for,Dc=He?Symbol.for("react.element"):60103,zc=He?Symbol.for("react.portal"):60106,Rl=He?Symbol.for("react.fragment"):60107,Il=He?Symbol.for("react.strict_mode"):60108,Ll=He?Symbol.for("react.profiler"):60114,Bl=He?Symbol.for("react.provider"):60109,$l=He?Symbol.for("react.context"):60110,Nc=He?Symbol.for("react.async_mode"):60111,Dl=He?Symbol.for("react.concurrent_mode"):60111,zl=He?Symbol.for("react.forward_ref"):60112,Nl=He?Symbol.for("react.suspense"):60113,L5=He?Symbol.for("react.suspense_list"):60120,Vl=He?Symbol.for("react.memo"):60115,jl=He?Symbol.for("react.lazy"):60116,B5=He?Symbol.for("react.block"):60121,$5=He?Symbol.for("react.fundamental"):60117,D5=He?Symbol.for("react.responder"):60118,z5=He?Symbol.for("react.scope"):60119;function St(e){if(typeof e=="object"&&e!==null){var t=e.$$typeof;switch(t){case Dc:switch(e=e.type,e){case Nc:case Dl:case Rl:case Ll:case Il:case Nl:return e;default:switch(e=e&&e.$$typeof,e){case $l:case zl:case jl:case Vl:case Bl:return e;default:return t}}case zc:return t}}}function Om(e){return St(e)===Dl}ue.AsyncMode=Nc,ue.ConcurrentMode=Dl,ue.ContextConsumer=$l,ue.ContextProvider=Bl,ue.Element=Dc,ue.ForwardRef=zl,ue.Fragment=Rl,ue.Lazy=jl,ue.Memo=Vl,ue.Portal=zc,ue.Profiler=Ll,ue.StrictMode=Il,ue.Suspense=Nl,ue.isAsyncMode=function(e){return Om(e)||St(e)===Nc},ue.isConcurrentMode=Om,ue.isContextConsumer=function(e){return St(e)===$l},ue.isContextProvider=function(e){return St(e)===Bl},ue.isElement=function(e){return typeof e=="object"&&e!==null&&e.$$typeof===Dc},ue.isForwardRef=function(e){return St(e)===zl},ue.isFragment=function(e){return St(e)===Rl},ue.isLazy=function(e){return St(e)===jl},ue.isMemo=function(e){return St(e)===Vl},ue.isPortal=function(e){return St(e)===zc},ue.isProfiler=function(e){return St(e)===Ll},ue.isStrictMode=function(e){return St(e)===Il},ue.isSuspense=function(e){return St(e)===Nl},ue.isValidElementType=function(e){return typeof e=="string"||typeof e=="function"||e===Rl||e===Dl||e===Ll||e===Il||e===Nl||e===L5||typeof e=="object"&&e!==null&&(e.$$typeof===jl||e.$$typeof===Vl||e.$$typeof===Bl||e.$$typeof===$l||e.$$typeof===zl||e.$$typeof===$5||e.$$typeof===D5||e.$$typeof===z5||e.$$typeof===B5)},ue.typeOf=St,_m.exports=ue;var Am=_m.exports,N5={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},V5={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},Mm={};Mm[Am.ForwardRef]=N5,Mm[Am.Memo]=V5;var j5=!0;function W5(e,t,r){var n="";return r.split(" ").forEach(function(i){e[i]!==void 0?t.push(e[i]+";"):n+=i+" "}),n}var Fm=function(t,r,n){var i=t.key+"-"+r.name;(n===!1||j5===!1)&&t.registered[i]===void 0&&(t.registered[i]=r.styles)},Rm=function(t,r,n){Fm(t,r,n);var i=t.key+"-"+r.name;if(t.inserted[r.name]===void 0){var a=r;do t.insert(r===a?"."+i:"",a,t.sheet,!0),a=a.next;while(a!==void 0)}};function H5(e){for(var t=0,r,n=0,i=e.length;i>=4;++n,i-=4)r=e.charCodeAt(n)&255|(e.charCodeAt(++n)&255)<<8|(e.charCodeAt(++n)&255)<<16|(e.charCodeAt(++n)&255)<<24,r=(r&65535)*1540483477+((r>>>16)*59797<<16),r^=r>>>24,t=(r&65535)*1540483477+((r>>>16)*59797<<16)^(t&65535)*1540483477+((t>>>16)*59797<<16);switch(i){case 3:t^=(e.charCodeAt(n+2)&255)<<16;case 2:t^=(e.charCodeAt(n+1)&255)<<8;case 1:t^=e.charCodeAt(n)&255,t=(t&65535)*1540483477+((t>>>16)*59797<<16)}return t^=t>>>13,t=(t&65535)*1540483477+((t>>>16)*59797<<16),((t^t>>>15)>>>0).toString(36)}var U5={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},G5=/[A-Z]|^ms/g,Y5=/_EMO_([^_]+?)_([^]*?)_EMO_/g,Im=function(t){return t.charCodeAt(1)===45},Lm=function(t){return t!=null&&typeof t!="boolean"},Vc=Em(function(e){return Im(e)?e:e.replace(G5,"-$&").toLowerCase()}),Bm=function(t,r){switch(t){case"animation":case"animationName":if(typeof r=="string")return r.replace(Y5,function(n,i,a){return ir={name:i,styles:a,next:ir},i})}return U5[t]!==1&&!Im(t)&&typeof r=="number"&&r!==0?r+"px":r},xz="Component selectors can only be used in conjunction with @emotion/babel-plugin, the swc Emotion plugin, or another Emotion-aware compiler transform.";function Ea(e,t,r){if(r==null)return"";if(r.__emotion_styles!==void 0)return r;switch(typeof r){case"boolean":return"";case"object":{if(r.anim===1)return ir={name:r.name,styles:r.styles,next:ir},r.name;if(r.styles!==void 0){var n=r.next;if(n!==void 0)for(;n!==void 0;)ir={name:n.name,styles:n.styles,next:ir},n=n.next;var i=r.styles+";";return i}return X5(e,t,r)}case"function":{if(e!==void 0){var a=ir,o=r(e);return ir=a,Ea(e,t,o)}break}}if(t==null)return r;var l=t[r];return l!==void 0?l:r}function X5(e,t,r){var n="";if(Array.isArray(r))for(var i=0;i<r.length;i++)n+=Ea(e,t,r[i])+";";else for(var a in r){var o=r[a];if(typeof o!="object")t!=null&&t[o]!==void 0?n+=a+"{"+t[o]+"}":Lm(o)&&(n+=Vc(a)+":"+Bm(a,o)+";");else if(Array.isArray(o)&&typeof o[0]=="string"&&(t==null||t[o[0]]===void 0))for(var l=0;l<o.length;l++)Lm(o[l])&&(n+=Vc(a)+":"+Bm(a,o[l])+";");else{var s=Ea(e,t,o);switch(a){case"animation":case"animationName":{n+=Vc(a)+":"+s+";";break}default:n+=a+"{"+s+"}"}}}return n}var $m=/label:\s*([^\s;\n{]+)\s*(;|$)/g,ir,jc=function(t,r,n){if(t.length===1&&typeof t[0]=="object"&&t[0]!==null&&t[0].styles!==void 0)return t[0];var i=!0,a="";ir=void 0;var o=t[0];o==null||o.raw===void 0?(i=!1,a+=Ea(n,r,o)):a+=o[0];for(var l=1;l<t.length;l++)a+=Ea(n,r,t[l]),i&&(a+=o[l]);$m.lastIndex=0;for(var s="",u;(u=$m.exec(a))!==null;)s+="-"+u[1];var c=H5(a)+s;return{name:c,styles:a,next:ir}},Dm=F.createContext(typeof HTMLElement!="undefined"?I5({key:"css"}):null);Dm.Provider;var zm=function(t){return F.forwardRef(function(r,n){var i=F.useContext(Dm);return t(r,i,n)})},ka=F.createContext({}),Z5=function(t,r){if(typeof r=="function"){var n=r(t);return n}return Pn({},t,r)},K5=Pm(function(e){return Pm(function(t){return Z5(e,t)})}),q5=function(t){var r=F.useContext(ka);return t.theme!==r&&(r=K5(r)(t.theme)),F.createElement(ka.Provider,{value:r},t.children)},Nm=S["useInsertionEffect"]?S["useInsertionEffect"]:F.useLayoutEffect,Wc=zm(function(e,t){var r=e.styles,n=jc([r],void 0,F.useContext(ka)),i=F.useRef();return Nm(function(){var a=t.key+"-global",o=new t.sheet.constructor({key:a,nonce:t.sheet.nonce,container:t.sheet.container,speedy:t.sheet.isSpeedy}),l=!1,s=document.querySelector('style[data-emotion="'+a+" "+n.name+'"]');return t.sheet.tags.length&&(o.before=t.sheet.tags[0]),s!==null&&(l=!0,s.setAttribute("data-emotion",a),o.hydrate([s])),i.current=[o,l],function(){o.flush()}},[t]),Nm(function(){var a=i.current,o=a[0],l=a[1];if(l){a[1]=!1;return}if(n.next!==void 0&&Rm(t,n.next,!0),o.tags.length){var s=o.tags[o.tags.length-1].nextElementSibling;o.before=s,o.flush()}t.insert("",n,o,!1)},[t,n.name]),null});function Q5(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return jc(t)}var vi=function(){var t=Q5.apply(void 0,arguments),r="animation-"+t.name;return{name:r,styles:"@keyframes "+r+"{"+t.styles+"}",anim:1,toString:function(){return"_EMO_"+this.name+"_"+this.styles+"_EMO_"}}},J5=function(){return S.createElement(Wc,{styles:`
9
- html {
10
- line-height: 1.5;
11
- -webkit-text-size-adjust: 100%;
12
- font-family: system-ui, sans-serif;
13
- -webkit-font-smoothing: antialiased;
14
- text-rendering: optimizeLegibility;
15
- -moz-osx-font-smoothing: grayscale;
16
- touch-action: manipulation;
17
- }
18
-
19
- body {
20
- position: relative;
21
- min-height: 100%;
22
- font-feature-settings: 'kern';
23
- }
24
-
25
- *,
26
- *::before,
27
- *::after {
28
- border-width: 0;
29
- border-style: solid;
30
- box-sizing: border-box;
31
- }
32
-
33
- main {
34
- display: block;
35
- }
36
-
37
- hr {
38
- border-top-width: 1px;
39
- box-sizing: content-box;
40
- height: 0;
41
- overflow: visible;
42
- }
43
-
44
- pre,
45
- code,
46
- kbd,
47
- samp {
48
- font-family: SFMono-Regular, Menlo, Monaco, Consolas, monospace;
49
- font-size: 1em;
50
- }
51
-
52
- a {
53
- background-color: transparent;
54
- color: inherit;
55
- text-decoration: inherit;
56
- }
57
-
58
- abbr[title] {
59
- border-bottom: none;
60
- text-decoration: underline;
61
- -webkit-text-decoration: underline dotted;
62
- text-decoration: underline dotted;
63
- }
64
-
65
- b,
66
- strong {
67
- font-weight: bold;
68
- }
69
-
70
- small {
71
- font-size: 80%;
72
- }
73
-
74
- sub,
75
- sup {
76
- font-size: 75%;
77
- line-height: 0;
78
- position: relative;
79
- vertical-align: baseline;
80
- }
81
-
82
- sub {
83
- bottom: -0.25em;
84
- }
85
-
86
- sup {
87
- top: -0.5em;
88
- }
89
-
90
- img {
91
- border-style: none;
92
- }
93
-
94
- button,
95
- input,
96
- optgroup,
97
- select,
98
- textarea {
99
- font-family: inherit;
100
- font-size: 100%;
101
- line-height: 1.15;
102
- margin: 0;
103
- }
104
-
105
- button,
106
- input {
107
- overflow: visible;
108
- }
109
-
110
- button,
111
- select {
112
- text-transform: none;
113
- }
114
-
115
- button::-moz-focus-inner,
116
- [type="button"]::-moz-focus-inner,
117
- [type="reset"]::-moz-focus-inner,
118
- [type="submit"]::-moz-focus-inner {
119
- border-style: none;
120
- padding: 0;
121
- }
122
-
123
- fieldset {
124
- padding: 0.35em 0.75em 0.625em;
125
- }
126
-
127
- legend {
128
- box-sizing: border-box;
129
- color: inherit;
130
- display: table;
131
- max-width: 100%;
132
- padding: 0;
133
- white-space: normal;
134
- }
135
-
136
- progress {
137
- vertical-align: baseline;
138
- }
139
-
140
- textarea {
141
- overflow: auto;
142
- }
143
-
144
- [type="checkbox"],
145
- [type="radio"] {
146
- box-sizing: border-box;
147
- padding: 0;
148
- }
149
-
150
- [type="number"]::-webkit-inner-spin-button,
151
- [type="number"]::-webkit-outer-spin-button {
152
- -webkit-appearance: none !important;
153
- }
154
-
155
- input[type="number"] {
156
- -moz-appearance: textfield;
157
- }
158
-
159
- [type="search"] {
160
- -webkit-appearance: textfield;
161
- outline-offset: -2px;
162
- }
163
-
164
- [type="search"]::-webkit-search-decoration {
165
- -webkit-appearance: none !important;
166
- }
167
-
168
- ::-webkit-file-upload-button {
169
- -webkit-appearance: button;
170
- font: inherit;
171
- }
172
-
173
- details {
174
- display: block;
175
- }
176
-
177
- summary {
178
- display: list-item;
179
- }
180
-
181
- template {
182
- display: none;
183
- }
184
-
185
- [hidden] {
186
- display: none !important;
187
- }
188
-
189
- body,
190
- blockquote,
191
- dl,
192
- dd,
193
- h1,
194
- h2,
195
- h3,
196
- h4,
197
- h5,
198
- h6,
199
- hr,
200
- figure,
201
- p,
202
- pre {
203
- margin: 0;
204
- }
205
-
206
- button {
207
- background: transparent;
208
- padding: 0;
209
- }
210
-
211
- fieldset {
212
- margin: 0;
213
- padding: 0;
214
- }
215
-
216
- ol,
217
- ul {
218
- margin: 0;
219
- padding: 0;
220
- }
221
-
222
- textarea {
223
- resize: vertical;
224
- }
225
-
226
- button,
227
- [role="button"] {
228
- cursor: pointer;
229
- }
230
-
231
- button::-moz-focus-inner {
232
- border: 0 !important;
233
- }
234
-
235
- table {
236
- border-collapse: collapse;
237
- }
238
-
239
- h1,
240
- h2,
241
- h3,
242
- h4,
243
- h5,
244
- h6 {
245
- font-size: inherit;
246
- font-weight: inherit;
247
- }
248
-
249
- button,
250
- input,
251
- optgroup,
252
- select,
253
- textarea {
254
- padding: 0;
255
- line-height: inherit;
256
- color: inherit;
257
- }
258
-
259
- img,
260
- svg,
261
- video,
262
- canvas,
263
- audio,
264
- iframe,
265
- embed,
266
- object {
267
- display: block;
268
- }
269
-
270
- img,
271
- video {
272
- max-width: 100%;
273
- height: auto;
274
- }
275
-
276
- [data-js-focus-visible] :focus:not([data-focus-visible-added]) {
277
- outline: none;
278
- box-shadow: none;
279
- }
280
-
281
- select::-ms-expand {
282
- display: none;
283
- }
284
- `})},eC=J5,Hc={exports:{}};(function(e,t){var r=200,n="__lodash_hash_undefined__",i=800,a=16,o=9007199254740991,l="[object Arguments]",s="[object Array]",u="[object AsyncFunction]",c="[object Boolean]",d="[object Date]",f="[object Error]",p="[object Function]",h="[object GeneratorFunction]",g="[object Map]",v="[object Number]",m="[object Null]",y="[object Object]",b="[object Proxy]",x="[object RegExp]",E="[object Set]",k="[object String]",T="[object Undefined]",A="[object WeakMap]",O="[object ArrayBuffer]",B="[object DataView]",H="[object Float32Array]",G="[object Float64Array]",U="[object Int8Array]",Z="[object Int16Array]",K="[object Int32Array]",re="[object Uint8Array]",ne="[object Uint8ClampedArray]",Le="[object Uint16Array]",be="[object Uint32Array]",Be=/[\\^$.*+?()[\]{}|]/g,R=/^\[object .+?Constructor\]$/,D=/^(?:0|[1-9]\d*)$/,L={};L[H]=L[G]=L[U]=L[Z]=L[K]=L[re]=L[ne]=L[Le]=L[be]=!0,L[l]=L[s]=L[O]=L[c]=L[B]=L[d]=L[f]=L[p]=L[g]=L[v]=L[y]=L[x]=L[E]=L[k]=L[A]=!1;var $=typeof Fl=="object"&&Fl&&Fl.Object===Object&&Fl,z=typeof self=="object"&&self&&self.Object===Object&&self,ee=$||z||Function("return this")(),de=t&&!t.nodeType&&t,xe=de&&!0&&e&&!e.nodeType&&e,We=xe&&xe.exports===de,ai=We&&$.process,kn=function(){try{var w=xe&&xe.require&&xe.require("util").types;return w||ai&&ai.binding&&ai.binding("util")}catch{}}(),ke=kn&&kn.isTypedArray;function ot(w,_,M){switch(M.length){case 0:return w.call(_);case 1:return w.call(_,M[0]);case 2:return w.call(_,M[0],M[1]);case 3:return w.call(_,M[0],M[1],M[2])}return w.apply(_,M)}function jt(w,_){for(var M=-1,Y=Array(w);++M<w;)Y[M]=_(M);return Y}function nm(w){return function(_){return w(_)}}function Ec(w,_){return w==null?void 0:w[_]}function kc(w,_){return function(M){return w(_(M))}}var im=Array.prototype,am=Function.prototype,Wt=Object.prototype,Tn=ee["__core-js_shared__"],oi=am.toString,Ht=Wt.hasOwnProperty,ga=function(){var w=/[^.]+$/.exec(Tn&&Tn.keys&&Tn.keys.IE_PROTO||"");return w?"Symbol(src)_1."+w:""}(),xl=Wt.toString,Tc=oi.call(Object),Pc=RegExp("^"+oi.call(Ht).replace(Be,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),li=We?ee.Buffer:void 0,Vw=ee.Symbol,jw=ee.Uint8Array,Ww=li?li.allocUnsafe:void 0,Hw=kc(Object.getPrototypeOf,Object),Uw=Object.create,mD=Wt.propertyIsEnumerable,gD=im.splice,si=Vw?Vw.toStringTag:void 0,_c=function(){try{var w=sm(Object,"defineProperty");return w({},"",{}),w}catch{}}(),yD=li?li.isBuffer:void 0,Gw=Math.max,bD=Date.now,Yw=sm(ee,"Map"),Sl=sm(Object,"create"),xD=function(){function w(){}return function(_){if(!ci(_))return{};if(Uw)return Uw(_);w.prototype=_;var M=new w;return w.prototype=void 0,M}}();function ui(w){var _=-1,M=w==null?0:w.length;for(this.clear();++_<M;){var Y=w[_];this.set(Y[0],Y[1])}}function SD(){this.__data__=Sl?Sl(null):{},this.size=0}function wD(w){var _=this.has(w)&&delete this.__data__[w];return this.size-=_?1:0,_}function CD(w){var _=this.__data__;if(Sl){var M=_[w];return M===n?void 0:M}return Ht.call(_,w)?_[w]:void 0}function ED(w){var _=this.__data__;return Sl?_[w]!==void 0:Ht.call(_,w)}function kD(w,_){var M=this.__data__;return this.size+=this.has(w)?0:1,M[w]=Sl&&_===void 0?n:_,this}ui.prototype.clear=SD,ui.prototype.delete=wD,ui.prototype.get=CD,ui.prototype.has=ED,ui.prototype.set=kD;function Br(w){var _=-1,M=w==null?0:w.length;for(this.clear();++_<M;){var Y=w[_];this.set(Y[0],Y[1])}}function TD(){this.__data__=[],this.size=0}function PD(w){var _=this.__data__,M=Oc(_,w);if(M<0)return!1;var Y=_.length-1;return M==Y?_.pop():gD.call(_,M,1),--this.size,!0}function _D(w){var _=this.__data__,M=Oc(_,w);return M<0?void 0:_[M][1]}function OD(w){return Oc(this.__data__,w)>-1}function AD(w,_){var M=this.__data__,Y=Oc(M,w);return Y<0?(++this.size,M.push([w,_])):M[Y][1]=_,this}Br.prototype.clear=TD,Br.prototype.delete=PD,Br.prototype.get=_D,Br.prototype.has=OD,Br.prototype.set=AD;function ya(w){var _=-1,M=w==null?0:w.length;for(this.clear();++_<M;){var Y=w[_];this.set(Y[0],Y[1])}}function MD(){this.size=0,this.__data__={hash:new ui,map:new(Yw||Br),string:new ui}}function FD(w){var _=Mc(this,w).delete(w);return this.size-=_?1:0,_}function RD(w){return Mc(this,w).get(w)}function ID(w){return Mc(this,w).has(w)}function LD(w,_){var M=Mc(this,w),Y=M.size;return M.set(w,_),this.size+=M.size==Y?0:1,this}ya.prototype.clear=MD,ya.prototype.delete=FD,ya.prototype.get=RD,ya.prototype.has=ID,ya.prototype.set=LD;function ba(w){var _=this.__data__=new Br(w);this.size=_.size}function BD(){this.__data__=new Br,this.size=0}function $D(w){var _=this.__data__,M=_.delete(w);return this.size=_.size,M}function DD(w){return this.__data__.get(w)}function zD(w){return this.__data__.has(w)}function ND(w,_){var M=this.__data__;if(M instanceof Br){var Y=M.__data__;if(!Yw||Y.length<r-1)return Y.push([w,_]),this.size=++M.size,this;M=this.__data__=new ya(Y)}return M.set(w,_),this.size=M.size,this}ba.prototype.clear=BD,ba.prototype.delete=$D,ba.prototype.get=DD,ba.prototype.has=zD,ba.prototype.set=ND;function VD(w,_){var M=fm(w),Y=!M&&cm(w),ae=!M&&!Y&&Qw(w),pe=!M&&!Y&&!ae&&e5(w),_e=M||Y||ae||pe,ie=_e?jt(w.length,String):[],Oe=ie.length;for(var Ut in w)(_||Ht.call(w,Ut))&&!(_e&&(Ut=="length"||ae&&(Ut=="offset"||Ut=="parent")||pe&&(Ut=="buffer"||Ut=="byteLength"||Ut=="byteOffset")||Kw(Ut,Oe)))&&ie.push(Ut);return ie}function om(w,_,M){(M!==void 0&&!Fc(w[_],M)||M===void 0&&!(_ in w))&&lm(w,_,M)}function jD(w,_,M){var Y=w[_];(!(Ht.call(w,_)&&Fc(Y,M))||M===void 0&&!(_ in w))&&lm(w,_,M)}function Oc(w,_){for(var M=w.length;M--;)if(Fc(w[M][0],_))return M;return-1}function lm(w,_,M){_=="__proto__"&&_c?_c(w,_,{configurable:!0,enumerable:!0,value:M,writable:!0}):w[_]=M}var WD=rz();function Ac(w){return w==null?w===void 0?T:m:si&&si in Object(w)?nz(w):uz(w)}function Xw(w){return wl(w)&&Ac(w)==l}function HD(w){if(!ci(w)||lz(w))return!1;var _=pm(w)?Pc:R;return _.test(pz(w))}function UD(w){return wl(w)&&Jw(w.length)&&!!L[Ac(w)]}function GD(w){if(!ci(w))return sz(w);var _=qw(w),M=[];for(var Y in w)Y=="constructor"&&(_||!Ht.call(w,Y))||M.push(Y);return M}function Zw(w,_,M,Y,ae){w!==_&&WD(_,function(pe,_e){if(ae||(ae=new ba),ci(pe))YD(w,_,_e,M,Zw,Y,ae);else{var ie=Y?Y(um(w,_e),pe,_e+"",w,_,ae):void 0;ie===void 0&&(ie=pe),om(w,_e,ie)}},t5)}function YD(w,_,M,Y,ae,pe,_e){var ie=um(w,M),Oe=um(_,M),Ut=_e.get(Oe);if(Ut){om(w,M,Ut);return}var _t=pe?pe(ie,Oe,M+"",w,_,_e):void 0,Cl=_t===void 0;if(Cl){var vm=fm(Oe),hm=!vm&&Qw(Oe),n5=!vm&&!hm&&e5(Oe);_t=Oe,vm||hm||n5?fm(ie)?_t=ie:vz(ie)?_t=JD(ie):hm?(Cl=!1,_t=KD(Oe,!0)):n5?(Cl=!1,_t=QD(Oe,!0)):_t=[]:hz(Oe)||cm(Oe)?(_t=ie,cm(ie)?_t=mz(ie):(!ci(ie)||pm(ie))&&(_t=iz(Oe))):Cl=!1}Cl&&(_e.set(Oe,_t),ae(_t,Oe,Y,pe,_e),_e.delete(Oe)),om(w,M,_t)}function XD(w,_){return fz(cz(w,_,r5),w+"")}var ZD=_c?function(w,_){return _c(w,"toString",{configurable:!0,enumerable:!1,value:yz(_),writable:!0})}:r5;function KD(w,_){if(_)return w.slice();var M=w.length,Y=Ww?Ww(M):new w.constructor(M);return w.copy(Y),Y}function qD(w){var _=new w.constructor(w.byteLength);return new jw(_).set(new jw(w)),_}function QD(w,_){var M=_?qD(w.buffer):w.buffer;return new w.constructor(M,w.byteOffset,w.length)}function JD(w,_){var M=-1,Y=w.length;for(_||(_=Array(Y));++M<Y;)_[M]=w[M];return _}function ez(w,_,M,Y){var ae=!M;M||(M={});for(var pe=-1,_e=_.length;++pe<_e;){var ie=_[pe],Oe=Y?Y(M[ie],w[ie],ie,M,w):void 0;Oe===void 0&&(Oe=w[ie]),ae?lm(M,ie,Oe):jD(M,ie,Oe)}return M}function tz(w){return XD(function(_,M){var Y=-1,ae=M.length,pe=ae>1?M[ae-1]:void 0,_e=ae>2?M[2]:void 0;for(pe=w.length>3&&typeof pe=="function"?(ae--,pe):void 0,_e&&az(M[0],M[1],_e)&&(pe=ae<3?void 0:pe,ae=1),_=Object(_);++Y<ae;){var ie=M[Y];ie&&w(_,ie,Y,pe)}return _})}function rz(w){return function(_,M,Y){for(var ae=-1,pe=Object(_),_e=Y(_),ie=_e.length;ie--;){var Oe=_e[w?ie:++ae];if(M(pe[Oe],Oe,pe)===!1)break}return _}}function Mc(w,_){var M=w.__data__;return oz(_)?M[typeof _=="string"?"string":"hash"]:M.map}function sm(w,_){var M=Ec(w,_);return HD(M)?M:void 0}function nz(w){var _=Ht.call(w,si),M=w[si];try{w[si]=void 0;var Y=!0}catch{}var ae=xl.call(w);return Y&&(_?w[si]=M:delete w[si]),ae}function iz(w){return typeof w.constructor=="function"&&!qw(w)?xD(Hw(w)):{}}function Kw(w,_){var M=typeof w;return _=_==null?o:_,!!_&&(M=="number"||M!="symbol"&&D.test(w))&&w>-1&&w%1==0&&w<_}function az(w,_,M){if(!ci(M))return!1;var Y=typeof _;return(Y=="number"?dm(M)&&Kw(_,M.length):Y=="string"&&_ in M)?Fc(M[_],w):!1}function oz(w){var _=typeof w;return _=="string"||_=="number"||_=="symbol"||_=="boolean"?w!=="__proto__":w===null}function lz(w){return!!ga&&ga in w}function qw(w){var _=w&&w.constructor,M=typeof _=="function"&&_.prototype||Wt;return w===M}function sz(w){var _=[];if(w!=null)for(var M in Object(w))_.push(M);return _}function uz(w){return xl.call(w)}function cz(w,_,M){return _=Gw(_===void 0?w.length-1:_,0),function(){for(var Y=arguments,ae=-1,pe=Gw(Y.length-_,0),_e=Array(pe);++ae<pe;)_e[ae]=Y[_+ae];ae=-1;for(var ie=Array(_+1);++ae<_;)ie[ae]=Y[ae];return ie[_]=M(_e),ot(w,this,ie)}}function um(w,_){if(!(_==="constructor"&&typeof w[_]=="function")&&_!="__proto__")return w[_]}var fz=dz(ZD);function dz(w){var _=0,M=0;return function(){var Y=bD(),ae=a-(Y-M);if(M=Y,ae>0){if(++_>=i)return arguments[0]}else _=0;return w.apply(void 0,arguments)}}function pz(w){if(w!=null){try{return oi.call(w)}catch{}try{return w+""}catch{}}return""}function Fc(w,_){return w===_||w!==w&&_!==_}var cm=Xw(function(){return arguments}())?Xw:function(w){return wl(w)&&Ht.call(w,"callee")&&!mD.call(w,"callee")},fm=Array.isArray;function dm(w){return w!=null&&Jw(w.length)&&!pm(w)}function vz(w){return wl(w)&&dm(w)}var Qw=yD||bz;function pm(w){if(!ci(w))return!1;var _=Ac(w);return _==p||_==h||_==u||_==b}function Jw(w){return typeof w=="number"&&w>-1&&w%1==0&&w<=o}function ci(w){var _=typeof w;return w!=null&&(_=="object"||_=="function")}function wl(w){return w!=null&&typeof w=="object"}function hz(w){if(!wl(w)||Ac(w)!=y)return!1;var _=Hw(w);if(_===null)return!0;var M=Ht.call(_,"constructor")&&_.constructor;return typeof M=="function"&&M instanceof M&&oi.call(M)==Tc}var e5=ke?nm(ke):UD;function mz(w){return ez(w,t5(w))}function t5(w){return dm(w)?VD(w,!0):GD(w)}var gz=tz(function(w,_,M,Y){Zw(w,_,M,Y)});function yz(w){return function(){return w}}function r5(w){return w}function bz(){return!1}e.exports=gz})(Hc,Hc.exports);var Ot=Hc.exports;function tC(e){var t=e==null?0:e.length;return t?e[t-1]:void 0}function _n(e){return typeof e=="number"}function Uc(e){return Array.isArray(e)}function Dr(e){return typeof e=="function"}function rC(e){return typeof e=="undefined"||e===void 0}function dt(e){var t=typeof e;return e!=null&&(t==="object"||t==="function")&&!Uc(e)}function nC(e){return dt(e)&&Object.keys(e).length===0}function Wl(e){return Object.prototype.toString.call(e)==="[object String]"}function Vm(e){return/^var\(--.+\)$/.test(e)}var yr=!1;function Hl(e,t){var r={};return Object.keys(e).forEach(function(n){t.includes(n)||(r[n]=e[n])}),r}function jm(e,t){var r={};return t.forEach(function(n){n in e&&(r[n]=e[n])}),r}function iC(e,t,r,n){var i=typeof t=="string"?t.split("."):[t];for(n=0;n<i.length&&e;n+=1)e=e[i[n]];return e===void 0?r:e}var aC=function(t){var r=new WeakMap,n=function(a,o,l,s){if(typeof a=="undefined")return t(a,o,l);r.has(a)||r.set(a,new Map);var u=r.get(a);if(u.has(o))return u.get(o);var c=t(a,o,l,s);return u.set(o,c),c};return n},Ul=aC(iC);function Wm(e,t){var r={};return Object.keys(e).forEach(function(n){var i=e[n],a=t(i,n,e);a&&(r[n]=i)}),r}var Gc=function(t){return Wm(t,function(r){return r!=null})},Yc=function(t){return Object.keys(t)},Gl=function(t){return t.reduce(function(r,n){var i=n[0],a=n[1];return r[i]=a,r},{})},oC=function(t,r,n){var i,a;return(i=(a=t.__cssMap[r+"."+n])==null?void 0:a.varRef)!=null?i:n};function lC(e){var t=parseFloat(e.toString()),r=e.toString().replace(String(t),"");return{unitless:!r,value:t,unit:r}}function Yl(e){if(e==null)return e;var t=lC(e),r=t.unitless;return r||_n(e)?e+"px":e}var Hm=function(t,r){return parseInt(t[1],10)>parseInt(r[1],10)?1:-1},Xc=function(t){return Gl(Object.entries(t).sort(Hm))};function Um(e){var t=Xc(e);return Object.assign(Object.values(t),t)}function sC(e){var t=Object.keys(Xc(e));return new Set(t)}function uC(e){var t;if(!e)return e;e=(t=Yl(e))!=null?t:e;var r=e.endsWith("px")?-1:-.0635;return _n(e)?""+(e+r):e.replace(/([0-9]+\.?[0-9]*)/,function(n){return""+(parseFloat(n)+r)})}function Xl(e,t){var r=["@media screen"];return e&&r.push("and","(min-width: "+Yl(e)+")"),t&&r.push("and","(max-width: "+Yl(t)+")"),r.join(" ")}function cC(e){var t;if(!e)return null;e.base=(t=e.base)!=null?t:"0px";var r=Um(e),n=Object.entries(e).sort(Hm).map(function(o,l,s){var u,c=o[0],d=o[1],f=(u=s[l+1])!=null?u:[],p=f[1];return p=parseFloat(p)>0?uC(p):void 0,{breakpoint:c,minW:d,maxW:p,maxWQuery:Xl(null,p),minWQuery:Xl(d),minMaxQuery:Xl(d,p)}}),i=sC(e),a=Array.from(i.values());return{keys:i,normalized:r,isResponsive:function(l){var s=Object.keys(l);return s.length>0&&s.every(function(u){return i.has(u)})},asObject:Xc(e),asArray:Um(e),details:n,media:[null].concat(r.map(function(o){return Xl(o)}).slice(1)),toArrayValue:function(l){if(!dt(l))throw new Error("toArrayValue: value must be an object");for(var s=a.map(function(u){var c;return(c=l[u])!=null?c:null});tC(s)===null;)s.pop();return s},toObjectValue:function(l){if(!Array.isArray(l))throw new Error("toObjectValue: value must be an array");return l.reduce(function(s,u,c){var d=a[c];return d!=null&&u!=null&&(s[d]=u),s},{})}}}function Gm(e){return e!=null&&typeof e=="object"&&"nodeType"in e&&e.nodeType===Node.ELEMENT_NODE}function Zc(e){var t;if(!Gm(e))return!1;var r=(t=e.ownerDocument.defaultView)!=null?t:window;return e instanceof r.HTMLElement}function Ym(e){var t;return Gm(e)&&(t=e.ownerDocument)!=null?t:document}function fC(){return!!(typeof window!="undefined"&&window.document&&window.document.createElement)}var zr=fC(),Xm=function(t){return t?"":void 0},Ne=function(){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return r.filter(Boolean).join(" ")},dC=function(t){return t.hasAttribute("tabindex")};function pC(e){return Boolean(e.getAttribute("disabled"))===!0||Boolean(e.getAttribute("aria-disabled"))===!0}function vC(e){return Zc(e)&&e.tagName.toLowerCase()==="input"&&"select"in e}function hC(e){var t=Zc(e)?Ym(e):document;return t.activeElement===e}function Zm(e){return e.parentElement&&Zm(e.parentElement)?!0:e.hidden}function mC(e){var t=e.getAttribute("contenteditable");return t!=="false"&&t!=null}function gC(e){if(!Zc(e)||Zm(e)||pC(e))return!1;var t=e.localName,r=["input","select","textarea","button"];if(r.indexOf(t)>=0)return!0;var n={a:function(){return e.hasAttribute("href")},audio:function(){return e.hasAttribute("controls")},video:function(){return e.hasAttribute("controls")}};return t in n?n[t]():mC(e)?!0:dC(e)}var yC=["input:not([disabled])","select:not([disabled])","textarea:not([disabled])","embed","iframe","object","a[href]","area[href]","button:not([disabled])","[tabindex]","audio[controls]","video[controls]","*[tabindex]:not([aria-disabled])","*[contenteditable]"],bC=yC.join();function xC(e){var t=Array.from(e.querySelectorAll(bC));return t.unshift(e),t.filter(gC).filter(function(r){return window.getComputedStyle(r).display!=="none"})}function Km(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function SC(e,t){if(!!e){if(typeof e=="string")return Km(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if(r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set")return Array.from(e);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return Km(e,t)}}function wC(e,t){var r=typeof Symbol!="undefined"&&e[Symbol.iterator]||e["@@iterator"];if(r)return(r=r.call(e)).next.bind(r);if(Array.isArray(e)||(r=SC(e))||t&&e&&typeof e.length=="number"){r&&(e=r);var n=0;return function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
285
- In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function At(e){for(var t=arguments.length,r=new Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];return Dr(e)?e.apply(void 0,r):e}function Gt(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return function(i){t.some(function(a){return a==null||a(i),i==null?void 0:i.defaultPrevented})}}function CC(e){var t;return function(){if(e){for(var n=arguments.length,i=new Array(n),a=0;a<n;a++)i[a]=arguments[a];t=e.apply(this,i),e=null}return t}}var Ta=function(){},qm=CC(function(e){return function(){var t=e.condition,r=e.message;t&&yr&&console.warn(r)}}),EC=function(){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return function(i){return r.reduce(function(a,o){return o(a)},i)}};function kC(e,t){t===void 0&&(t={});var r=t,n=r.isActive,i=n===void 0?hC:n,a=r.nextTick,o=r.preventScroll,l=o===void 0?!0:o,s=r.selectTextIfInput,u=s===void 0?!0:s;if(!e||i(e))return-1;function c(){if(!e){qm({condition:!0,message:"[chakra-ui]: can't call focus() on `null` or `undefined` element"});return}if(TC())e.focus({preventScroll:l});else if(e.focus(),l){var d=PC(e);_C(d)}vC(e)&&u&&e.select()}return a?requestAnimationFrame(c):(c(),-1)}var Zl=null;function TC(){if(Zl==null){Zl=!1;try{var e=document.createElement("div");e.focus({get preventScroll(){return Zl=!0,!0}})}catch{}}return Zl}function PC(e){for(var t,r=Ym(e),n=(t=r.defaultView)!=null?t:window,i=e.parentNode,a=[],o=r.scrollingElement||r.documentElement;i instanceof n.HTMLElement&&i!==o;)(i.offsetHeight<i.scrollHeight||i.offsetWidth<i.scrollWidth)&&a.push({element:i,scrollTop:i.scrollTop,scrollLeft:i.scrollLeft}),i=i.parentNode;return o instanceof n.HTMLElement&&a.push({element:o,scrollTop:o.scrollTop,scrollLeft:o.scrollLeft}),a}function _C(e){for(var t=wC(e),r;!(r=t()).done;){var n=r.value,i=n.element,a=n.scrollTop,o=n.scrollLeft;i.scrollTop=a,i.scrollLeft=o}}function Kc(e,t){return t===void 0&&(t=1/0),!dt(e)&&!Array.isArray(e)||!t?e:Object.entries(e).reduce(function(r,n){var i=n[0],a=n[1];return dt(a)||Uc(a)?Object.entries(Kc(a,t-1)).forEach(function(o){var l=o[0],s=o[1];r[i+"."+l]=s}):r[i]=a,r},{})}function OC(e,t,r){return(e-t)*100/(r-t)}Object.freeze(["base","sm","md","lg","xl","2xl"]);function Qm(e,t){return Uc(e)?e.map(function(r){return r===null?null:t(r)}):dt(e)?Yc(e).reduce(function(r,n){return r[n]=t(e[n]),r},{}):e!=null?t(e):null}function AC(e,t){if(e!=null){if(Dr(e)){e(t);return}try{e.current=t}catch{throw new Error("Cannot assign value '"+t+"' to ref '"+e+"'")}}}function Pa(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return function(n){t.forEach(function(i){return AC(i,n)})}}function On(e){e===void 0&&(e={});var t=e,r=t.strict,n=r===void 0?!0:r,i=t.errorMessage,a=i===void 0?"useContext: `context` is undefined. Seems you forgot to wrap component within the Provider":i,o=t.name,l=S.createContext(void 0);l.displayName=o;function s(){var u=S.useContext(l);if(!u&&n){var c=new Error(a);throw c.name="ContextError",Error.captureStackTrace==null||Error.captureStackTrace(c,s),c}return u}return[l.Provider,s,l]}function Jm(e){return S.Children.toArray(e).filter(function(t){return S.isValidElement(t)})}var _a=zr?S.useLayoutEffect:S.useEffect;function qc(e,t){t===void 0&&(t=[]);var r=S.useRef(e);return _a(function(){r.current=e}),S.useCallback(function(){for(var n=arguments.length,i=new Array(n),a=0;a<n;a++)i[a]=arguments[a];return r.current==null?void 0:r.current.apply(r,i)},t)}function e0(e,t,r,n){var i=qc(t);return S.useEffect(function(){var a,o=(a=At(r))!=null?a:document;if(!!t)return o.addEventListener(e,i,n),function(){o.removeEventListener(e,i,n)}},[e,r,n,i,t]),function(){var a,o=(a=At(r))!=null?a:document;o.removeEventListener(e,i,n)}}function MC(e,t){var r=e!==void 0,n=r&&typeof e!="undefined"?e:t;return[r,n]}function Kl(){return Kl=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Kl.apply(this,arguments)}var FC={current:1},t0=S.createContext(FC),RC=S.memo(function(e){var t=e.children;return S.createElement(t0.Provider,{value:{current:1}},t)}),IC=function(t){return t.current++};function Qc(e,t){var r=S.useContext(t0),n=S.useState(r.current),i=n[0],a=n[1];return S.useEffect(function(){a(IC(r))},[r]),S.useMemo(function(){return e||[t,i].filter(Boolean).join("-")},[e,t,i])}function LC(e){for(var t=arguments.length,r=new Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];var i=Qc(e);return S.useMemo(function(){return r.map(function(a){return a+"-"+i})},[i,r])}function r0(e){e===void 0&&(e={});var t=e,r=t.onClose,n=t.onOpen,i=t.isOpen,a=t.id,o=qc(n),l=qc(r),s=S.useState(e.defaultIsOpen||!1),u=s[0],c=s[1],d=MC(i,u),f=d[0],p=d[1],h=Qc(a,"disclosure"),g=S.useCallback(function(){f||c(!1),l==null||l()},[f,l]),v=S.useCallback(function(){f||c(!0),o==null||o()},[f,o]),m=S.useCallback(function(){var y=p?g:v;y()},[p,v,g]);return{isOpen:!!p,onOpen:v,onClose:g,onToggle:m,isControlled:f,getButtonProps:function(b){return b===void 0&&(b={}),Kl({},b,{"aria-expanded":"true","aria-controls":h,onClick:Gt(b.onClick,m)})},getDisclosureProps:function(b){return b===void 0&&(b={}),Kl({},b,{hidden:!p,id:h})}}}function BC(e,t){return t===void 0&&(t=[]),S.useEffect(function(){return function(){return e()}},t)}function n0(){var e=S.useRef(!1),t=S.useState(0),r=t[0],n=t[1];return BC(function(){e.current=!0}),S.useCallback(function(){e.current||n(r+1)},[r])}function $C(e,t){if(e!=null){if(typeof e=="function"){e(t);return}try{e.current=t}catch{throw new Error("Cannot assign value '"+t+"' to ref '"+e+"'")}}}function DC(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return S.useMemo(function(){return t.every(function(n){return n==null})?null:function(n){t.forEach(function(i){i&&$C(i,n)})}},t)}var Jc={exports:{}},Mt={};/*
286
- object-assign
287
- (c) Sindre Sorhus
288
- @license MIT
289
- */var i0=Object.getOwnPropertySymbols,zC=Object.prototype.hasOwnProperty,NC=Object.prototype.propertyIsEnumerable;function VC(e){if(e==null)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}function jC(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de",Object.getOwnPropertyNames(e)[0]==="5")return!1;for(var t={},r=0;r<10;r++)t["_"+String.fromCharCode(r)]=r;var n=Object.getOwnPropertyNames(t).map(function(a){return t[a]});if(n.join("")!=="0123456789")return!1;var i={};return"abcdefghijklmnopqrst".split("").forEach(function(a){i[a]=a}),Object.keys(Object.assign({},i)).join("")==="abcdefghijklmnopqrst"}catch{return!1}}var WC=jC()?Object.assign:function(e,t){for(var r,n=VC(e),i,a=1;a<arguments.length;a++){r=Object(arguments[a]);for(var o in r)zC.call(r,o)&&(n[o]=r[o]);if(i0){i=i0(r);for(var l=0;l<i.length;l++)NC.call(r,i[l])&&(n[i[l]]=r[i[l]])}}return n},a0={exports:{}},o0={};/** @license React v0.20.2
36
+ */var Fk;function VP(){if(Fk)return dn;Fk=1;var t=typeof Symbol=="function"&&Symbol.for,r=t?Symbol.for("react.element"):60103,i=t?Symbol.for("react.portal"):60106,l=t?Symbol.for("react.fragment"):60107,f=t?Symbol.for("react.strict_mode"):60108,h=t?Symbol.for("react.profiler"):60114,p=t?Symbol.for("react.provider"):60109,g=t?Symbol.for("react.context"):60110,y=t?Symbol.for("react.async_mode"):60111,S=t?Symbol.for("react.concurrent_mode"):60111,C=t?Symbol.for("react.forward_ref"):60112,E=t?Symbol.for("react.suspense"):60113,k=t?Symbol.for("react.suspense_list"):60120,R=t?Symbol.for("react.memo"):60115,A=t?Symbol.for("react.lazy"):60116,P=t?Symbol.for("react.block"):60121,j=t?Symbol.for("react.fundamental"):60117,q=t?Symbol.for("react.responder"):60118,F=t?Symbol.for("react.scope"):60119;function $(V){if(typeof V=="object"&&V!==null){var le=V.$$typeof;switch(le){case r:switch(V=V.type,V){case y:case S:case l:case h:case f:case E:return V;default:switch(V=V&&V.$$typeof,V){case g:case C:case A:case R:case p:return V;default:return le}}case i:return le}}}function Q(V){return $(V)===S}return dn.AsyncMode=y,dn.ConcurrentMode=S,dn.ContextConsumer=g,dn.ContextProvider=p,dn.Element=r,dn.ForwardRef=C,dn.Fragment=l,dn.Lazy=A,dn.Memo=R,dn.Portal=i,dn.Profiler=h,dn.StrictMode=f,dn.Suspense=E,dn.isAsyncMode=function(V){return Q(V)||$(V)===y},dn.isConcurrentMode=Q,dn.isContextConsumer=function(V){return $(V)===g},dn.isContextProvider=function(V){return $(V)===p},dn.isElement=function(V){return typeof V=="object"&&V!==null&&V.$$typeof===r},dn.isForwardRef=function(V){return $(V)===C},dn.isFragment=function(V){return $(V)===l},dn.isLazy=function(V){return $(V)===A},dn.isMemo=function(V){return $(V)===R},dn.isPortal=function(V){return $(V)===i},dn.isProfiler=function(V){return $(V)===h},dn.isStrictMode=function(V){return $(V)===f},dn.isSuspense=function(V){return $(V)===E},dn.isValidElementType=function(V){return typeof V=="string"||typeof V=="function"||V===l||V===S||V===h||V===f||V===E||V===k||typeof V=="object"&&V!==null&&(V.$$typeof===A||V.$$typeof===R||V.$$typeof===p||V.$$typeof===g||V.$$typeof===C||V.$$typeof===j||V.$$typeof===q||V.$$typeof===F||V.$$typeof===P)},dn.typeOf=$,dn}var pn={};/** @license React v16.13.1
37
+ * react-is.development.js
38
+ *
39
+ * Copyright (c) Facebook, Inc. and its affiliates.
40
+ *
41
+ * This source code is licensed under the MIT license found in the
42
+ * LICENSE file in the root directory of this source tree.
43
+ */var $k;function IP(){return $k||($k=1,process.env.NODE_ENV!=="production"&&function(){var t=typeof Symbol=="function"&&Symbol.for,r=t?Symbol.for("react.element"):60103,i=t?Symbol.for("react.portal"):60106,l=t?Symbol.for("react.fragment"):60107,f=t?Symbol.for("react.strict_mode"):60108,h=t?Symbol.for("react.profiler"):60114,p=t?Symbol.for("react.provider"):60109,g=t?Symbol.for("react.context"):60110,y=t?Symbol.for("react.async_mode"):60111,S=t?Symbol.for("react.concurrent_mode"):60111,C=t?Symbol.for("react.forward_ref"):60112,E=t?Symbol.for("react.suspense"):60113,k=t?Symbol.for("react.suspense_list"):60120,R=t?Symbol.for("react.memo"):60115,A=t?Symbol.for("react.lazy"):60116,P=t?Symbol.for("react.block"):60121,j=t?Symbol.for("react.fundamental"):60117,q=t?Symbol.for("react.responder"):60118,F=t?Symbol.for("react.scope"):60119;function $(he){return typeof he=="string"||typeof he=="function"||he===l||he===S||he===h||he===f||he===E||he===k||typeof he=="object"&&he!==null&&(he.$$typeof===A||he.$$typeof===R||he.$$typeof===p||he.$$typeof===g||he.$$typeof===C||he.$$typeof===j||he.$$typeof===q||he.$$typeof===F||he.$$typeof===P)}function Q(he){if(typeof he=="object"&&he!==null){var wt=he.$$typeof;switch(wt){case r:var mn=he.type;switch(mn){case y:case S:case l:case h:case f:case E:return mn;default:var Cn=mn&&mn.$$typeof;switch(Cn){case g:case C:case A:case R:case p:return Cn;default:return wt}}case i:return wt}}}var V=y,le=S,J=g,me=p,ve=r,ye=C,De=l,pt=A,Oe=R,Pe=i,at=h,Ue=f,st=E,be=!1;function Le(he){return be||(be=!0,console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")),K(he)||Q(he)===y}function K(he){return Q(he)===S}function se(he){return Q(he)===g}function _e(he){return Q(he)===p}function Ee(he){return typeof he=="object"&&he!==null&&he.$$typeof===r}function Fe(he){return Q(he)===C}function Ie(he){return Q(he)===l}function Ae(he){return Q(he)===A}function Xe(he){return Q(he)===R}function $e(he){return Q(he)===i}function Je(he){return Q(he)===h}function tt(he){return Q(he)===f}function yt(he){return Q(he)===E}pn.AsyncMode=V,pn.ConcurrentMode=le,pn.ContextConsumer=J,pn.ContextProvider=me,pn.Element=ve,pn.ForwardRef=ye,pn.Fragment=De,pn.Lazy=pt,pn.Memo=Oe,pn.Portal=Pe,pn.Profiler=at,pn.StrictMode=Ue,pn.Suspense=st,pn.isAsyncMode=Le,pn.isConcurrentMode=K,pn.isContextConsumer=se,pn.isContextProvider=_e,pn.isElement=Ee,pn.isForwardRef=Fe,pn.isFragment=Ie,pn.isLazy=Ae,pn.isMemo=Xe,pn.isPortal=$e,pn.isProfiler=Je,pn.isStrictMode=tt,pn.isSuspense=yt,pn.isValidElementType=$,pn.typeOf=Q}()),pn}process.env.NODE_ENV==="production"?LS.exports=VP():LS.exports=IP();var zS=LS.exports,Bk=zS,UP={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},HP={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},Vk={};Vk[Bk.ForwardRef]=UP,Vk[Bk.Memo]=HP;var WP=!0;function NS(t,r,i){var l="";return i.split(" ").forEach(function(f){t[f]!==void 0?r.push(t[f]+";"):l+=f+" "}),l}var sy=function(r,i,l){var f=r.key+"-"+i.name;(l===!1||WP===!1)&&r.registered[f]===void 0&&(r.registered[f]=i.styles)},ly=function(r,i,l){sy(r,i,l);var f=r.key+"-"+i.name;if(r.inserted[i.name]===void 0){var h=i;do r.insert(i===h?"."+f:"",h,r.sheet,!0),h=h.next;while(h!==void 0)}};function YP(t){for(var r=0,i,l=0,f=t.length;f>=4;++l,f-=4)i=t.charCodeAt(l)&255|(t.charCodeAt(++l)&255)<<8|(t.charCodeAt(++l)&255)<<16|(t.charCodeAt(++l)&255)<<24,i=(i&65535)*1540483477+((i>>>16)*59797<<16),i^=i>>>24,r=(i&65535)*1540483477+((i>>>16)*59797<<16)^(r&65535)*1540483477+((r>>>16)*59797<<16);switch(f){case 3:r^=(t.charCodeAt(l+2)&255)<<16;case 2:r^=(t.charCodeAt(l+1)&255)<<8;case 1:r^=t.charCodeAt(l)&255,r=(r&65535)*1540483477+((r>>>16)*59797<<16)}return r^=r>>>13,r=(r&65535)*1540483477+((r>>>16)*59797<<16),((r^r>>>15)>>>0).toString(36)}var GP={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},Ik=`You have illegal escape sequence in your template literal, most likely inside content's property value.
44
+ Because you write your CSS inside a JavaScript string you actually have to do double escaping, so for example "content: '\\00d7';" should become "content: '\\\\00d7';".
45
+ You can read more about this here:
46
+ https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_literals#ES2018_revision_of_illegal_escape_sequences`,qP="You have passed in falsy value as style object's key (can happen when in example you pass unexported component as computed key).",XP=/[A-Z]|^ms/g,Uk=/_EMO_([^_]+?)_([^]*?)_EMO_/g,jS=function(r){return r.charCodeAt(1)===45},Hk=function(r){return r!=null&&typeof r!="boolean"},FS=Pk(function(t){return jS(t)?t:t.replace(XP,"-$&").toLowerCase()}),uy=function(r,i){switch(r){case"animation":case"animationName":if(typeof i=="string")return i.replace(Uk,function(l,f,h){return To={name:f,styles:h,next:To},f})}return GP[r]!==1&&!jS(r)&&typeof i=="number"&&i!==0?i+"px":i};if(process.env.NODE_ENV!=="production"){var QP=/(var|attr|counters?|url|element|(((repeating-)?(linear|radial))|conic)-gradient)\(|(no-)?(open|close)-quote/,KP=["normal","none","initial","inherit","unset"],ZP=uy,JP=/^-ms-/,e8=/-(.)/g,Wk={};uy=function(r,i){if(r==="content"&&(typeof i!="string"||KP.indexOf(i)===-1&&!QP.test(i)&&(i.charAt(0)!==i.charAt(i.length-1)||i.charAt(0)!=='"'&&i.charAt(0)!=="'")))throw new Error("You seem to be using a value for 'content' without quotes, try replacing it with `content: '\""+i+"\"'`");var l=ZP(r,i);return l!==""&&!jS(r)&&r.indexOf("-")!==-1&&Wk[r]===void 0&&(Wk[r]=!0,console.error("Using kebab-case for css properties in objects is not supported. Did you mean "+r.replace(JP,"ms-").replace(e8,function(f,h){return h.toUpperCase()})+"?")),l}}var Yk="Component selectors can only be used in conjunction with @emotion/babel-plugin, the swc Emotion plugin, or another Emotion-aware compiler transform.";function Ih(t,r,i){if(i==null)return"";if(i.__emotion_styles!==void 0){if(process.env.NODE_ENV!=="production"&&i.toString()==="NO_COMPONENT_SELECTOR")throw new Error(Yk);return i}switch(typeof i){case"boolean":return"";case"object":{if(i.anim===1)return To={name:i.name,styles:i.styles,next:To},i.name;if(i.styles!==void 0){var l=i.next;if(l!==void 0)for(;l!==void 0;)To={name:l.name,styles:l.styles,next:To},l=l.next;var f=i.styles+";";return process.env.NODE_ENV!=="production"&&i.map!==void 0&&(f+=i.map),f}return t8(t,r,i)}case"function":{if(t!==void 0){var h=To,p=i(t);return To=h,Ih(t,r,p)}else process.env.NODE_ENV!=="production"&&console.error("Functions that are interpolated in css calls will be stringified.\nIf you want to have a css call based on props, create a function that returns a css call like this\nlet dynamicStyle = (props) => css`color: ${props.color}`\nIt can be called directly with props or interpolated in a styled call like this\nlet SomeComponent = styled('div')`${dynamicStyle}`");break}case"string":if(process.env.NODE_ENV!=="production"){var g=[],y=i.replace(Uk,function(C,E,k){var R="animation"+g.length;return g.push("const "+R+" = keyframes`"+k.replace(/^@keyframes animation-\w+/,"")+"`"),"${"+R+"}"});g.length&&console.error("`keyframes` output got interpolated into plain string, please wrap it with `css`.\n\nInstead of doing this:\n\n"+[].concat(g,["`"+y+"`"]).join(`
47
+ `)+`
48
+
49
+ You should wrap it with \`css\` like this:
50
+
51
+ `+("css`"+y+"`"))}break}if(r==null)return i;var S=r[i];return S!==void 0?S:i}function t8(t,r,i){var l="";if(Array.isArray(i))for(var f=0;f<i.length;f++)l+=Ih(t,r,i[f])+";";else for(var h in i){var p=i[h];if(typeof p!="object")r!=null&&r[p]!==void 0?l+=h+"{"+r[p]+"}":Hk(p)&&(l+=FS(h)+":"+uy(h,p)+";");else{if(h==="NO_COMPONENT_SELECTOR"&&process.env.NODE_ENV!=="production")throw new Error(Yk);if(Array.isArray(p)&&typeof p[0]=="string"&&(r==null||r[p[0]]===void 0))for(var g=0;g<p.length;g++)Hk(p[g])&&(l+=FS(h)+":"+uy(h,p[g])+";");else{var y=Ih(t,r,p);switch(h){case"animation":case"animationName":{l+=FS(h)+":"+y+";";break}default:process.env.NODE_ENV!=="production"&&h==="undefined"&&console.error(qP),l+=h+"{"+y+"}"}}}}return l}var Gk=/label:\s*([^\s;\n{]+)\s*(;|$)/g,qk;process.env.NODE_ENV!=="production"&&(qk=/\/\*#\ssourceMappingURL=data:application\/json;\S+\s+\*\//g);var To,id=function(r,i,l){if(r.length===1&&typeof r[0]=="object"&&r[0]!==null&&r[0].styles!==void 0)return r[0];var f=!0,h="";To=void 0;var p=r[0];p==null||p.raw===void 0?(f=!1,h+=Ih(l,i,p)):(process.env.NODE_ENV!=="production"&&p[0]===void 0&&console.error(Ik),h+=p[0]);for(var g=1;g<r.length;g++)h+=Ih(l,i,r[g]),f&&(process.env.NODE_ENV!=="production"&&p[g]===void 0&&console.error(Ik),h+=p[g]);var y;process.env.NODE_ENV!=="production"&&(h=h.replace(qk,function(k){return y=k,""})),Gk.lastIndex=0;for(var S="",C;(C=Gk.exec(h))!==null;)S+="-"+C[1];var E=YP(h)+S;return process.env.NODE_ENV!=="production"?{name:E,styles:h,map:y,next:To,toString:function(){return"You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."}}:{name:E,styles:h,next:To}},n8=function(r){return r()},Xk=pe["useInsertionEffect"]?pe["useInsertionEffect"]:!1,$S=Xk||n8,Qk=Xk||pe.useLayoutEffect,r8={}.hasOwnProperty,BS=pe.createContext(typeof HTMLElement<"u"?BP({key:"css"}):null);process.env.NODE_ENV!=="production"&&(BS.displayName="EmotionCacheContext"),BS.Provider;var cy=function(r){return U.forwardRef(function(i,l){var f=U.useContext(BS);return r(i,f,l)})},od=pe.createContext({});process.env.NODE_ENV!=="production"&&(od.displayName="EmotionThemeContext");var Kk="__EMOTION_TYPE_PLEASE_DO_NOT_USE__",Zk="__EMOTION_LABEL_PLEASE_DO_NOT_USE__",a8=function(r){var i=r.cache,l=r.serialized,f=r.isStringTag;return sy(i,l,f),$S(function(){return ly(i,l,f)}),null},i8=cy(function(t,r,i){var l=t.css;typeof l=="string"&&r.registered[l]!==void 0&&(l=r.registered[l]);var f=t[Kk],h=[l],p="";typeof t.className=="string"?p=NS(r.registered,h,t.className):t.className!=null&&(p=t.className+" ");var g=id(h,void 0,pe.useContext(od));if(process.env.NODE_ENV!=="production"&&g.name.indexOf("-")===-1){var y=t[Zk];y&&(g=id([g,"label:"+y+";"]))}p+=r.key+"-"+g.name;var S={};for(var C in t)r8.call(t,C)&&C!=="css"&&C!==Kk&&(process.env.NODE_ENV==="production"||C!==Zk)&&(S[C]=t[C]);return S.ref=i,S.className=p,pe.createElement(pe.Fragment,null,pe.createElement(a8,{cache:r,serialized:g,isStringTag:typeof f=="string"}),pe.createElement(f,S))});process.env.NODE_ENV!=="production"&&(i8.displayName="EmotionCssPropInternal");var o8={name:"@emotion/react",version:"11.11.1",main:"dist/emotion-react.cjs.js",module:"dist/emotion-react.esm.js",browser:{"./dist/emotion-react.esm.js":"./dist/emotion-react.browser.esm.js"},exports:{".":{module:{worker:"./dist/emotion-react.worker.esm.js",browser:"./dist/emotion-react.browser.esm.js",default:"./dist/emotion-react.esm.js"},import:"./dist/emotion-react.cjs.mjs",default:"./dist/emotion-react.cjs.js"},"./jsx-runtime":{module:{worker:"./jsx-runtime/dist/emotion-react-jsx-runtime.worker.esm.js",browser:"./jsx-runtime/dist/emotion-react-jsx-runtime.browser.esm.js",default:"./jsx-runtime/dist/emotion-react-jsx-runtime.esm.js"},import:"./jsx-runtime/dist/emotion-react-jsx-runtime.cjs.mjs",default:"./jsx-runtime/dist/emotion-react-jsx-runtime.cjs.js"},"./_isolated-hnrs":{module:{worker:"./_isolated-hnrs/dist/emotion-react-_isolated-hnrs.worker.esm.js",browser:"./_isolated-hnrs/dist/emotion-react-_isolated-hnrs.browser.esm.js",default:"./_isolated-hnrs/dist/emotion-react-_isolated-hnrs.esm.js"},import:"./_isolated-hnrs/dist/emotion-react-_isolated-hnrs.cjs.mjs",default:"./_isolated-hnrs/dist/emotion-react-_isolated-hnrs.cjs.js"},"./jsx-dev-runtime":{module:{worker:"./jsx-dev-runtime/dist/emotion-react-jsx-dev-runtime.worker.esm.js",browser:"./jsx-dev-runtime/dist/emotion-react-jsx-dev-runtime.browser.esm.js",default:"./jsx-dev-runtime/dist/emotion-react-jsx-dev-runtime.esm.js"},import:"./jsx-dev-runtime/dist/emotion-react-jsx-dev-runtime.cjs.mjs",default:"./jsx-dev-runtime/dist/emotion-react-jsx-dev-runtime.cjs.js"},"./package.json":"./package.json","./types/css-prop":"./types/css-prop.d.ts","./macro":{types:{import:"./macro.d.mts",default:"./macro.d.ts"},default:"./macro.js"}},types:"types/index.d.ts",files:["src","dist","jsx-runtime","jsx-dev-runtime","_isolated-hnrs","types/*.d.ts","macro.*"],sideEffects:!1,author:"Emotion Contributors",license:"MIT",scripts:{"test:typescript":"dtslint types"},dependencies:{"@babel/runtime":"^7.18.3","@emotion/babel-plugin":"^11.11.0","@emotion/cache":"^11.11.0","@emotion/serialize":"^1.1.2","@emotion/use-insertion-effect-with-fallbacks":"^1.0.1","@emotion/utils":"^1.2.1","@emotion/weak-memoize":"^0.3.1","hoist-non-react-statics":"^3.3.1"},peerDependencies:{react:">=16.8.0"},peerDependenciesMeta:{"@types/react":{optional:!0}},devDependencies:{"@definitelytyped/dtslint":"0.0.112","@emotion/css":"11.11.0","@emotion/css-prettifier":"1.1.3","@emotion/server":"11.11.0","@emotion/styled":"11.11.0","html-tag-names":"^1.1.2",react:"16.14.0","svg-tag-names":"^1.1.1",typescript:"^4.5.5"},repository:"https://github.com/emotion-js/emotion/tree/main/packages/react",publishConfig:{access:"public"},"umd:main":"dist/emotion-react.umd.min.js",preconstruct:{entrypoints:["./index.js","./jsx-runtime.js","./jsx-dev-runtime.js","./_isolated-hnrs.js"],umdName:"emotionReact",exports:{envConditions:["browser","worker"],extra:{"./types/css-prop":"./types/css-prop.d.ts","./macro":{types:{import:"./macro.d.mts",default:"./macro.d.ts"},default:"./macro.js"}}}}},Jk=!1,s8=cy(function(t,r){process.env.NODE_ENV!=="production"&&!Jk&&(t.className||t.css)&&(console.error("It looks like you're using the css prop on Global, did you mean to use the styles prop instead?"),Jk=!0);var i=t.styles,l=id([i],void 0,pe.useContext(od)),f=pe.useRef();return Qk(function(){var h=r.key+"-global",p=new r.sheet.constructor({key:h,nonce:r.sheet.nonce,container:r.sheet.container,speedy:r.sheet.isSpeedy}),g=!1,y=document.querySelector('style[data-emotion="'+h+" "+l.name+'"]');return r.sheet.tags.length&&(p.before=r.sheet.tags[0]),y!==null&&(g=!0,y.setAttribute("data-emotion",h),p.hydrate([y])),f.current=[p,g],function(){p.flush()}},[r]),Qk(function(){var h=f.current,p=h[0],g=h[1];if(g){h[1]=!1;return}if(l.next!==void 0&&ly(r,l.next,!0),p.tags.length){var y=p.tags[p.tags.length-1].nextElementSibling;p.before=y,p.flush()}r.insert("",l,p,!1)},[r,l.name]),null});process.env.NODE_ENV!=="production"&&(s8.displayName="EmotionGlobal");function l8(){for(var t=arguments.length,r=new Array(t),i=0;i<t;i++)r[i]=arguments[i];return id(r)}var Uh=function(){var r=l8.apply(void 0,arguments),i="animation-"+r.name;return{name:i,styles:"@keyframes "+i+"{"+r.styles+"}",anim:1,toString:function(){return"_EMO_"+this.name+"_"+this.styles+"_EMO_"}}},u8=function t(r){for(var i=r.length,l=0,f="";l<i;l++){var h=r[l];if(h!=null){var p=void 0;switch(typeof h){case"boolean":break;case"object":{if(Array.isArray(h))p=t(h);else{process.env.NODE_ENV!=="production"&&h.styles!==void 0&&h.name!==void 0&&console.error("You have passed styles created with `css` from `@emotion/react` package to the `cx`.\n`cx` is meant to compose class names (strings) so you should convert those styles to a class name by passing them to the `css` received from <ClassNames/> component."),p="";for(var g in h)h[g]&&g&&(p&&(p+=" "),p+=g)}break}default:p=h}p&&(f&&(f+=" "),f+=p)}}return f};function c8(t,r,i){var l=[],f=NS(t,l,i);return l.length<2?i:f+r(l)}var f8=function(r){var i=r.cache,l=r.serializedArr;return $S(function(){for(var f=0;f<l.length;f++)ly(i,l[f],!1)}),null},d8=cy(function(t,r){var i=!1,l=[],f=function(){if(i&&process.env.NODE_ENV!=="production")throw new Error("css can only be used during render");for(var S=arguments.length,C=new Array(S),E=0;E<S;E++)C[E]=arguments[E];var k=id(C,r.registered);return l.push(k),sy(r,k,!1),r.key+"-"+k.name},h=function(){if(i&&process.env.NODE_ENV!=="production")throw new Error("cx can only be used during render");for(var S=arguments.length,C=new Array(S),E=0;E<S;E++)C[E]=arguments[E];return c8(r.registered,f,u8(C))},p={css:f,cx:h,theme:pe.useContext(od)},g=t.children(p);return i=!0,pe.createElement(pe.Fragment,null,pe.createElement(f8,{cache:r,serializedArr:l}),g)});if(process.env.NODE_ENV!=="production"&&(d8.displayName="EmotionClassNames"),process.env.NODE_ENV!=="production"){var e_=!0,p8=typeof jest<"u"||typeof vi<"u";if(e_&&!p8){var t_=typeof globalThis<"u"?globalThis:e_?window:global,n_="__EMOTION_REACT_"+o8.version.split(".")[0]+"__";t_[n_]&&console.warn("You are loading @emotion/react when it is already loaded. Running multiple instances may cause problems. This can happen if multiple versions are used, or if multiple builds of the same version are used."),t_[n_]=!0}}function h8(t,r){return`${t} returned \`undefined\`. Seems you forgot to wrap component within ${r}`}function sd(t={}){const{name:r,strict:i=!0,hookName:l="useContext",providerName:f="Provider",errorMessage:h,defaultValue:p}=t,g=U.createContext(p);g.displayName=r;function y(){var S;const C=U.useContext(g);if(!C&&i){const E=new Error(h??h8(l,f));throw E.name="ContextError",(S=Error.captureStackTrace)==null||S.call(Error,E,y),E}return C}return[g.Provider,y,g]}var[fte,v8]=sd({strict:!1,name:"PortalManagerContext"}),Hh=globalThis!=null&&globalThis.document?U.useLayoutEffect:U.useEffect,VS={exports:{}},di={},fy={exports:{}},IS={};/**
52
+ * @license React
290
53
  * scheduler.production.min.js
291
54
  *
292
55
  * Copyright (c) Facebook, Inc. and its affiliates.
293
56
  *
294
57
  * This source code is licensed under the MIT license found in the
295
58
  * LICENSE file in the root directory of this source tree.
296
- */(function(e){var t,r,n,i;if(typeof performance=="object"&&typeof performance.now=="function"){var a=performance;e.unstable_now=function(){return a.now()}}else{var o=Date,l=o.now();e.unstable_now=function(){return o.now()-l}}if(typeof window=="undefined"||typeof MessageChannel!="function"){var s=null,u=null,c=function(){if(s!==null)try{var R=e.unstable_now();s(!0,R),s=null}catch(D){throw setTimeout(c,0),D}};t=function(R){s!==null?setTimeout(t,0,R):(s=R,setTimeout(c,0))},r=function(R,D){u=setTimeout(R,D)},n=function(){clearTimeout(u)},e.unstable_shouldYield=function(){return!1},i=e.unstable_forceFrameRate=function(){}}else{var d=window.setTimeout,f=window.clearTimeout;if(typeof console!="undefined"){var p=window.cancelAnimationFrame;typeof window.requestAnimationFrame!="function"&&console.error("This browser doesn't support requestAnimationFrame. Make sure that you load a polyfill in older browsers. https://reactjs.org/link/react-polyfills"),typeof p!="function"&&console.error("This browser doesn't support cancelAnimationFrame. Make sure that you load a polyfill in older browsers. https://reactjs.org/link/react-polyfills")}var h=!1,g=null,v=-1,m=5,y=0;e.unstable_shouldYield=function(){return e.unstable_now()>=y},i=function(){},e.unstable_forceFrameRate=function(R){0>R||125<R?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):m=0<R?Math.floor(1e3/R):5};var b=new MessageChannel,x=b.port2;b.port1.onmessage=function(){if(g!==null){var R=e.unstable_now();y=R+m;try{g(!0,R)?x.postMessage(null):(h=!1,g=null)}catch(D){throw x.postMessage(null),D}}else h=!1},t=function(R){g=R,h||(h=!0,x.postMessage(null))},r=function(R,D){v=d(function(){R(e.unstable_now())},D)},n=function(){f(v),v=-1}}function E(R,D){var L=R.length;R.push(D);e:for(;;){var $=L-1>>>1,z=R[$];if(z!==void 0&&0<A(z,D))R[$]=D,R[L]=z,L=$;else break e}}function k(R){return R=R[0],R===void 0?null:R}function T(R){var D=R[0];if(D!==void 0){var L=R.pop();if(L!==D){R[0]=L;e:for(var $=0,z=R.length;$<z;){var ee=2*($+1)-1,de=R[ee],xe=ee+1,We=R[xe];if(de!==void 0&&0>A(de,L))We!==void 0&&0>A(We,de)?(R[$]=We,R[xe]=L,$=xe):(R[$]=de,R[ee]=L,$=ee);else if(We!==void 0&&0>A(We,L))R[$]=We,R[xe]=L,$=xe;else break e}}return D}return null}function A(R,D){var L=R.sortIndex-D.sortIndex;return L!==0?L:R.id-D.id}var O=[],B=[],H=1,G=null,U=3,Z=!1,K=!1,re=!1;function ne(R){for(var D=k(B);D!==null;){if(D.callback===null)T(B);else if(D.startTime<=R)T(B),D.sortIndex=D.expirationTime,E(O,D);else break;D=k(B)}}function Le(R){if(re=!1,ne(R),!K)if(k(O)!==null)K=!0,t(be);else{var D=k(B);D!==null&&r(Le,D.startTime-R)}}function be(R,D){K=!1,re&&(re=!1,n()),Z=!0;var L=U;try{for(ne(D),G=k(O);G!==null&&(!(G.expirationTime>D)||R&&!e.unstable_shouldYield());){var $=G.callback;if(typeof $=="function"){G.callback=null,U=G.priorityLevel;var z=$(G.expirationTime<=D);D=e.unstable_now(),typeof z=="function"?G.callback=z:G===k(O)&&T(O),ne(D)}else T(O);G=k(O)}if(G!==null)var ee=!0;else{var de=k(B);de!==null&&r(Le,de.startTime-D),ee=!1}return ee}finally{G=null,U=L,Z=!1}}var Be=i;e.unstable_IdlePriority=5,e.unstable_ImmediatePriority=1,e.unstable_LowPriority=4,e.unstable_NormalPriority=3,e.unstable_Profiling=null,e.unstable_UserBlockingPriority=2,e.unstable_cancelCallback=function(R){R.callback=null},e.unstable_continueExecution=function(){K||Z||(K=!0,t(be))},e.unstable_getCurrentPriorityLevel=function(){return U},e.unstable_getFirstCallbackNode=function(){return k(O)},e.unstable_next=function(R){switch(U){case 1:case 2:case 3:var D=3;break;default:D=U}var L=U;U=D;try{return R()}finally{U=L}},e.unstable_pauseExecution=function(){},e.unstable_requestPaint=Be,e.unstable_runWithPriority=function(R,D){switch(R){case 1:case 2:case 3:case 4:case 5:break;default:R=3}var L=U;U=R;try{return D()}finally{U=L}},e.unstable_scheduleCallback=function(R,D,L){var $=e.unstable_now();switch(typeof L=="object"&&L!==null?(L=L.delay,L=typeof L=="number"&&0<L?$+L:$):L=$,R){case 1:var z=-1;break;case 2:z=250;break;case 5:z=1073741823;break;case 4:z=1e4;break;default:z=5e3}return z=L+z,R={id:H++,callback:D,priorityLevel:R,startTime:L,expirationTime:z,sortIndex:-1},L>$?(R.sortIndex=L,E(B,R),k(O)===null&&R===k(B)&&(re?n():re=!0,r(Le,L-$))):(R.sortIndex=z,E(O,R),K||Z||(K=!0,t(be))),R},e.unstable_wrapCallback=function(R){var D=U;return function(){var L=U;U=D;try{return R.apply(this,arguments)}finally{U=L}}}})(o0),a0.exports=o0;/** @license React v17.0.2
59
+ */var r_;function m8(){return r_||(r_=1,function(t){function r(be,Le){var K=be.length;be.push(Le);e:for(;0<K;){var se=K-1>>>1,_e=be[se];if(0<f(_e,Le))be[se]=Le,be[K]=_e,K=se;else break e}}function i(be){return be.length===0?null:be[0]}function l(be){if(be.length===0)return null;var Le=be[0],K=be.pop();if(K!==Le){be[0]=K;e:for(var se=0,_e=be.length,Ee=_e>>>1;se<Ee;){var Fe=2*(se+1)-1,Ie=be[Fe],Ae=Fe+1,Xe=be[Ae];if(0>f(Ie,K))Ae<_e&&0>f(Xe,Ie)?(be[se]=Xe,be[Ae]=K,se=Ae):(be[se]=Ie,be[Fe]=K,se=Fe);else if(Ae<_e&&0>f(Xe,K))be[se]=Xe,be[Ae]=K,se=Ae;else break e}}return Le}function f(be,Le){var K=be.sortIndex-Le.sortIndex;return K!==0?K:be.id-Le.id}if(typeof performance=="object"&&typeof performance.now=="function"){var h=performance;t.unstable_now=function(){return h.now()}}else{var p=Date,g=p.now();t.unstable_now=function(){return p.now()-g}}var y=[],S=[],C=1,E=null,k=3,R=!1,A=!1,P=!1,j=typeof setTimeout=="function"?setTimeout:null,q=typeof clearTimeout=="function"?clearTimeout:null,F=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function $(be){for(var Le=i(S);Le!==null;){if(Le.callback===null)l(S);else if(Le.startTime<=be)l(S),Le.sortIndex=Le.expirationTime,r(y,Le);else break;Le=i(S)}}function Q(be){if(P=!1,$(be),!A)if(i(y)!==null)A=!0,Ue(V);else{var Le=i(S);Le!==null&&st(Q,Le.startTime-be)}}function V(be,Le){A=!1,P&&(P=!1,q(me),me=-1),R=!0;var K=k;try{for($(Le),E=i(y);E!==null&&(!(E.expirationTime>Le)||be&&!De());){var se=E.callback;if(typeof se=="function"){E.callback=null,k=E.priorityLevel;var _e=se(E.expirationTime<=Le);Le=t.unstable_now(),typeof _e=="function"?E.callback=_e:E===i(y)&&l(y),$(Le)}else l(y);E=i(y)}if(E!==null)var Ee=!0;else{var Fe=i(S);Fe!==null&&st(Q,Fe.startTime-Le),Ee=!1}return Ee}finally{E=null,k=K,R=!1}}var le=!1,J=null,me=-1,ve=5,ye=-1;function De(){return!(t.unstable_now()-ye<ve)}function pt(){if(J!==null){var be=t.unstable_now();ye=be;var Le=!0;try{Le=J(!0,be)}finally{Le?Oe():(le=!1,J=null)}}else le=!1}var Oe;if(typeof F=="function")Oe=function(){F(pt)};else if(typeof MessageChannel<"u"){var Pe=new MessageChannel,at=Pe.port2;Pe.port1.onmessage=pt,Oe=function(){at.postMessage(null)}}else Oe=function(){j(pt,0)};function Ue(be){J=be,le||(le=!0,Oe())}function st(be,Le){me=j(function(){be(t.unstable_now())},Le)}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(be){be.callback=null},t.unstable_continueExecution=function(){A||R||(A=!0,Ue(V))},t.unstable_forceFrameRate=function(be){0>be||125<be?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):ve=0<be?Math.floor(1e3/be):5},t.unstable_getCurrentPriorityLevel=function(){return k},t.unstable_getFirstCallbackNode=function(){return i(y)},t.unstable_next=function(be){switch(k){case 1:case 2:case 3:var Le=3;break;default:Le=k}var K=k;k=Le;try{return be()}finally{k=K}},t.unstable_pauseExecution=function(){},t.unstable_requestPaint=function(){},t.unstable_runWithPriority=function(be,Le){switch(be){case 1:case 2:case 3:case 4:case 5:break;default:be=3}var K=k;k=be;try{return Le()}finally{k=K}},t.unstable_scheduleCallback=function(be,Le,K){var se=t.unstable_now();switch(typeof K=="object"&&K!==null?(K=K.delay,K=typeof K=="number"&&0<K?se+K:se):K=se,be){case 1:var _e=-1;break;case 2:_e=250;break;case 5:_e=1073741823;break;case 4:_e=1e4;break;default:_e=5e3}return _e=K+_e,be={id:C++,callback:Le,priorityLevel:be,startTime:K,expirationTime:_e,sortIndex:-1},K>se?(be.sortIndex=K,r(S,be),i(y)===null&&be===i(S)&&(P?(q(me),me=-1):P=!0,st(Q,K-se))):(be.sortIndex=_e,r(y,be),A||R||(A=!0,Ue(V))),be},t.unstable_shouldYield=De,t.unstable_wrapCallback=function(be){var Le=k;return function(){var K=k;k=Le;try{return be.apply(this,arguments)}finally{k=K}}}}(IS)),IS}var US={};/**
60
+ * @license React
61
+ * scheduler.development.js
62
+ *
63
+ * Copyright (c) Facebook, Inc. and its affiliates.
64
+ *
65
+ * This source code is licensed under the MIT license found in the
66
+ * LICENSE file in the root directory of this source tree.
67
+ */var a_;function g8(){return a_||(a_=1,function(t){process.env.NODE_ENV!=="production"&&function(){typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(new Error);var r=!1,i=!1,l=5;function f(Me,it){var At=Me.length;Me.push(it),g(Me,it,At)}function h(Me){return Me.length===0?null:Me[0]}function p(Me){if(Me.length===0)return null;var it=Me[0],At=Me.pop();return At!==it&&(Me[0]=At,y(Me,At,0)),it}function g(Me,it,At){for(var Xt=At;Xt>0;){var On=Xt-1>>>1,En=Me[On];if(S(En,it)>0)Me[On]=it,Me[Xt]=En,Xt=On;else return}}function y(Me,it,At){for(var Xt=At,On=Me.length,En=On>>>1;Xt<En;){var Tn=(Xt+1)*2-1,ea=Me[Tn],cn=Tn+1,va=Me[cn];if(S(ea,it)<0)cn<On&&S(va,ea)<0?(Me[Xt]=va,Me[cn]=it,Xt=cn):(Me[Xt]=ea,Me[Tn]=it,Xt=Tn);else if(cn<On&&S(va,it)<0)Me[Xt]=va,Me[cn]=it,Xt=cn;else return}}function S(Me,it){var At=Me.sortIndex-it.sortIndex;return At!==0?At:Me.id-it.id}var C=1,E=2,k=3,R=4,A=5;function P(Me,it){}var j=typeof performance=="object"&&typeof performance.now=="function";if(j){var q=performance;t.unstable_now=function(){return q.now()}}else{var F=Date,$=F.now();t.unstable_now=function(){return F.now()-$}}var Q=1073741823,V=-1,le=250,J=5e3,me=1e4,ve=Q,ye=[],De=[],pt=1,Oe=null,Pe=k,at=!1,Ue=!1,st=!1,be=typeof setTimeout=="function"?setTimeout:null,Le=typeof clearTimeout=="function"?clearTimeout:null,K=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function se(Me){for(var it=h(De);it!==null;){if(it.callback===null)p(De);else if(it.startTime<=Me)p(De),it.sortIndex=it.expirationTime,f(ye,it);else return;it=h(De)}}function _e(Me){if(st=!1,se(Me),!Ue)if(h(ye)!==null)Ue=!0,Jr(Ee);else{var it=h(De);it!==null&&Dn(_e,it.startTime-Me)}}function Ee(Me,it){Ue=!1,st&&(st=!1,nr()),at=!0;var At=Pe;try{var Xt;if(!i)return Fe(Me,it)}finally{Oe=null,Pe=At,at=!1}}function Fe(Me,it){var At=it;for(se(At),Oe=h(ye);Oe!==null&&!r&&!(Oe.expirationTime>At&&(!Me||ha()));){var Xt=Oe.callback;if(typeof Xt=="function"){Oe.callback=null,Pe=Oe.priorityLevel;var On=Oe.expirationTime<=At,En=Xt(On);At=t.unstable_now(),typeof En=="function"?Oe.callback=En:Oe===h(ye)&&p(ye),se(At)}else p(ye);Oe=h(ye)}if(Oe!==null)return!0;var Tn=h(De);return Tn!==null&&Dn(_e,Tn.startTime-At),!1}function Ie(Me,it){switch(Me){case C:case E:case k:case R:case A:break;default:Me=k}var At=Pe;Pe=Me;try{return it()}finally{Pe=At}}function Ae(Me){var it;switch(Pe){case C:case E:case k:it=k;break;default:it=Pe;break}var At=Pe;Pe=it;try{return Me()}finally{Pe=At}}function Xe(Me){var it=Pe;return function(){var At=Pe;Pe=it;try{return Me.apply(this,arguments)}finally{Pe=At}}}function $e(Me,it,At){var Xt=t.unstable_now(),On;if(typeof At=="object"&&At!==null){var En=At.delay;typeof En=="number"&&En>0?On=Xt+En:On=Xt}else On=Xt;var Tn;switch(Me){case C:Tn=V;break;case E:Tn=le;break;case A:Tn=ve;break;case R:Tn=me;break;case k:default:Tn=J;break}var ea=On+Tn,cn={id:pt++,callback:it,priorityLevel:Me,startTime:On,expirationTime:ea,sortIndex:-1};return On>Xt?(cn.sortIndex=On,f(De,cn),h(ye)===null&&cn===h(De)&&(st?nr():st=!0,Dn(_e,On-Xt))):(cn.sortIndex=ea,f(ye,cn),!Ue&&!at&&(Ue=!0,Jr(Ee))),cn}function Je(){}function tt(){!Ue&&!at&&(Ue=!0,Jr(Ee))}function yt(){return h(ye)}function he(Me){Me.callback=null}function wt(){return Pe}var mn=!1,Cn=null,er=-1,tr=l,Zr=-1;function ha(){var Me=t.unstable_now()-Zr;return!(Me<tr)}function Xn(){}function vr(Me){if(Me<0||Me>125){console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported");return}Me>0?tr=Math.floor(1e3/Me):tr=l}var mr=function(){if(Cn!==null){var Me=t.unstable_now();Zr=Me;var it=!0,At=!0;try{At=Cn(it,Me)}finally{At?wn():(mn=!1,Cn=null)}}else mn=!1},wn;if(typeof K=="function")wn=function(){K(mr)};else if(typeof MessageChannel<"u"){var Nr=new MessageChannel,gr=Nr.port2;Nr.port1.onmessage=mr,wn=function(){gr.postMessage(null)}}else wn=function(){be(mr,0)};function Jr(Me){Cn=Me,mn||(mn=!0,wn())}function Dn(Me,it){er=be(function(){Me(t.unstable_now())},it)}function nr(){Le(er),er=-1}var Ui=Xn,Oa=null;t.unstable_IdlePriority=A,t.unstable_ImmediatePriority=C,t.unstable_LowPriority=R,t.unstable_NormalPriority=k,t.unstable_Profiling=Oa,t.unstable_UserBlockingPriority=E,t.unstable_cancelCallback=he,t.unstable_continueExecution=tt,t.unstable_forceFrameRate=vr,t.unstable_getCurrentPriorityLevel=wt,t.unstable_getFirstCallbackNode=yt,t.unstable_next=Ae,t.unstable_pauseExecution=Je,t.unstable_requestPaint=Ui,t.unstable_runWithPriority=Ie,t.unstable_scheduleCallback=$e,t.unstable_shouldYield=ha,t.unstable_wrapCallback=Xe,typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(new Error)}()}(US)),US}var i_;function o_(){return i_||(i_=1,process.env.NODE_ENV==="production"?fy.exports=m8():fy.exports=g8()),fy.exports}/**
68
+ * @license React
297
69
  * react-dom.production.min.js
298
70
  *
299
71
  * Copyright (c) Facebook, Inc. and its affiliates.
300
72
  *
301
73
  * This source code is licensed under the MIT license found in the
302
74
  * LICENSE file in the root directory of this source tree.
303
- */var ql=$r.default,Te=WC,Ue=a0.exports;function j(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."}if(!ql)throw Error(j(227));var l0=new Set,Oa={};function An(e,t){hi(e,t),hi(e+"Capture",t)}function hi(e,t){for(Oa[e]=t,e=0;e<t.length;e++)l0.add(t[e])}var br=!(typeof window=="undefined"||typeof window.document=="undefined"||typeof window.document.createElement=="undefined"),HC=/^[: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]*$/,s0=Object.prototype.hasOwnProperty,u0={},c0={};function UC(e){return s0.call(c0,e)?!0:s0.call(u0,e)?!1:HC.test(e)?c0[e]=!0:(u0[e]=!0,!1)}function GC(e,t,r,n){if(r!==null&&r.type===0)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return n?!1:r!==null?!r.acceptsBooleans:(e=e.toLowerCase().slice(0,5),e!=="data-"&&e!=="aria-");default:return!1}}function YC(e,t,r,n){if(t===null||typeof t=="undefined"||GC(e,t,r,n))return!0;if(n)return!1;if(r!==null)switch(r.type){case 3:return!t;case 4:return t===!1;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}function lt(e,t,r,n,i,a,o){this.acceptsBooleans=t===2||t===3||t===4,this.attributeName=n,this.attributeNamespace=i,this.mustUseProperty=r,this.propertyName=e,this.type=t,this.sanitizeURL=a,this.removeEmptyString=o}var Xe={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){Xe[e]=new lt(e,0,!1,e,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];Xe[t]=new lt(t,1,!1,e[1],null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(e){Xe[e]=new lt(e,2,!1,e.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){Xe[e]=new lt(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){Xe[e]=new lt(e,3,!1,e.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(e){Xe[e]=new lt(e,3,!0,e,null,!1,!1)}),["capture","download"].forEach(function(e){Xe[e]=new lt(e,4,!1,e,null,!1,!1)}),["cols","rows","size","span"].forEach(function(e){Xe[e]=new lt(e,6,!1,e,null,!1,!1)}),["rowSpan","start"].forEach(function(e){Xe[e]=new lt(e,5,!1,e.toLowerCase(),null,!1,!1)});var ef=/[\-:]([a-z])/g;function tf(e){return e[1].toUpperCase()}"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(ef,tf);Xe[t]=new lt(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(ef,tf);Xe[t]=new lt(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(ef,tf);Xe[t]=new lt(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(e){Xe[e]=new lt(e,1,!1,e.toLowerCase(),null,!1,!1)}),Xe.xlinkHref=new lt("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(e){Xe[e]=new lt(e,1,!1,e.toLowerCase(),null,!0,!0)});function rf(e,t,r,n){var i=Xe.hasOwnProperty(t)?Xe[t]:null,a=i!==null?i.type===0:n?!1:!(!(2<t.length)||t[0]!=="o"&&t[0]!=="O"||t[1]!=="n"&&t[1]!=="N");a||(YC(t,r,i,n)&&(r=null),n||i===null?UC(t)&&(r===null?e.removeAttribute(t):e.setAttribute(t,""+r)):i.mustUseProperty?e[i.propertyName]=r===null?i.type===3?!1:"":r:(t=i.attributeName,n=i.attributeNamespace,r===null?e.removeAttribute(t):(i=i.type,r=i===3||i===4&&r===!0?"":""+r,n?e.setAttributeNS(n,t,r):e.setAttribute(t,r))))}var Mn=ql.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,Aa=60103,Fn=60106,Nr=60107,nf=60108,Ma=60114,af=60109,of=60110,Ql=60112,Fa=60113,Jl=60120,es=60115,lf=60116,sf=60121,uf=60128,f0=60129,cf=60130,ff=60131;if(typeof Symbol=="function"&&Symbol.for){var Ge=Symbol.for;Aa=Ge("react.element"),Fn=Ge("react.portal"),Nr=Ge("react.fragment"),nf=Ge("react.strict_mode"),Ma=Ge("react.profiler"),af=Ge("react.provider"),of=Ge("react.context"),Ql=Ge("react.forward_ref"),Fa=Ge("react.suspense"),Jl=Ge("react.suspense_list"),es=Ge("react.memo"),lf=Ge("react.lazy"),sf=Ge("react.block"),Ge("react.scope"),uf=Ge("react.opaque.id"),f0=Ge("react.debug_trace_mode"),cf=Ge("react.offscreen"),ff=Ge("react.legacy_hidden")}var d0=typeof Symbol=="function"&&Symbol.iterator;function Ra(e){return e===null||typeof e!="object"?null:(e=d0&&e[d0]||e["@@iterator"],typeof e=="function"?e:null)}var df;function Ia(e){if(df===void 0)try{throw Error()}catch(r){var t=r.stack.trim().match(/\n( *(at )?)/);df=t&&t[1]||""}return`
304
- `+df+e}var pf=!1;function ts(e,t){if(!e||pf)return"";pf=!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()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(t,[])}catch(s){var n=s}Reflect.construct(e,[],t)}else{try{t.call()}catch(s){n=s}e.call(t.prototype)}else{try{throw Error()}catch(s){n=s}e()}}catch(s){if(s&&n&&typeof s.stack=="string"){for(var i=s.stack.split(`
305
- `),a=n.stack.split(`
306
- `),o=i.length-1,l=a.length-1;1<=o&&0<=l&&i[o]!==a[l];)l--;for(;1<=o&&0<=l;o--,l--)if(i[o]!==a[l]){if(o!==1||l!==1)do if(o--,l--,0>l||i[o]!==a[l])return`
307
- `+i[o].replace(" at new "," at ");while(1<=o&&0<=l);break}}}finally{pf=!1,Error.prepareStackTrace=r}return(e=e?e.displayName||e.name:"")?Ia(e):""}function XC(e){switch(e.tag){case 5:return Ia(e.type);case 16:return Ia("Lazy");case 13:return Ia("Suspense");case 19:return Ia("SuspenseList");case 0:case 2:case 15:return e=ts(e.type,!1),e;case 11:return e=ts(e.type.render,!1),e;case 22:return e=ts(e.type._render,!1),e;case 1:return e=ts(e.type,!0),e;default:return""}}function mi(e){if(e==null)return null;if(typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case Nr:return"Fragment";case Fn:return"Portal";case Ma:return"Profiler";case nf:return"StrictMode";case Fa:return"Suspense";case Jl:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case of:return(e.displayName||"Context")+".Consumer";case af:return(e._context.displayName||"Context")+".Provider";case Ql:var t=e.render;return t=t.displayName||t.name||"",e.displayName||(t!==""?"ForwardRef("+t+")":"ForwardRef");case es:return mi(e.type);case sf:return mi(e._render);case lf:t=e._payload,e=e._init;try{return mi(e(t))}catch{}}return null}function Vr(e){switch(typeof e){case"boolean":case"number":case"object":case"string":case"undefined":return e;default:return""}}function p0(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function ZC(e){var t=p0(e)?"checked":"value",r=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),n=""+e[t];if(!e.hasOwnProperty(t)&&typeof r!="undefined"&&typeof r.get=="function"&&typeof r.set=="function"){var i=r.get,a=r.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return i.call(this)},set:function(o){n=""+o,a.call(this,o)}}),Object.defineProperty(e,t,{enumerable:r.enumerable}),{getValue:function(){return n},setValue:function(o){n=""+o},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function rs(e){e._valueTracker||(e._valueTracker=ZC(e))}function v0(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var r=t.getValue(),n="";return e&&(n=p0(e)?e.checked?"true":"false":e.value),e=n,e!==r?(t.setValue(e),!0):!1}function ns(e){if(e=e||(typeof document!="undefined"?document:void 0),typeof e=="undefined")return null;try{return e.activeElement||e.body}catch{return e.body}}function vf(e,t){var r=t.checked;return Te({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:r!=null?r:e._wrapperState.initialChecked})}function h0(e,t){var r=t.defaultValue==null?"":t.defaultValue,n=t.checked!=null?t.checked:t.defaultChecked;r=Vr(t.value!=null?t.value:r),e._wrapperState={initialChecked:n,initialValue:r,controlled:t.type==="checkbox"||t.type==="radio"?t.checked!=null:t.value!=null}}function m0(e,t){t=t.checked,t!=null&&rf(e,"checked",t,!1)}function hf(e,t){m0(e,t);var r=Vr(t.value),n=t.type;if(r!=null)n==="number"?(r===0&&e.value===""||e.value!=r)&&(e.value=""+r):e.value!==""+r&&(e.value=""+r);else if(n==="submit"||n==="reset"){e.removeAttribute("value");return}t.hasOwnProperty("value")?mf(e,t.type,r):t.hasOwnProperty("defaultValue")&&mf(e,t.type,Vr(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function g0(e,t,r){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var n=t.type;if(!(n!=="submit"&&n!=="reset"||t.value!==void 0&&t.value!==null))return;t=""+e._wrapperState.initialValue,r||t===e.value||(e.value=t),e.defaultValue=t}r=e.name,r!==""&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,r!==""&&(e.name=r)}function mf(e,t,r){(t!=="number"||ns(e.ownerDocument)!==e)&&(r==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+r&&(e.defaultValue=""+r))}function KC(e){var t="";return ql.Children.forEach(e,function(r){r!=null&&(t+=r)}),t}function gf(e,t){return e=Te({children:void 0},t),(t=KC(t.children))&&(e.children=t),e}function gi(e,t,r,n){if(e=e.options,t){t={};for(var i=0;i<r.length;i++)t["$"+r[i]]=!0;for(r=0;r<e.length;r++)i=t.hasOwnProperty("$"+e[r].value),e[r].selected!==i&&(e[r].selected=i),i&&n&&(e[r].defaultSelected=!0)}else{for(r=""+Vr(r),t=null,i=0;i<e.length;i++){if(e[i].value===r){e[i].selected=!0,n&&(e[i].defaultSelected=!0);return}t!==null||e[i].disabled||(t=e[i])}t!==null&&(t.selected=!0)}}function yf(e,t){if(t.dangerouslySetInnerHTML!=null)throw Error(j(91));return Te({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function y0(e,t){var r=t.value;if(r==null){if(r=t.children,t=t.defaultValue,r!=null){if(t!=null)throw Error(j(92));if(Array.isArray(r)){if(!(1>=r.length))throw Error(j(93));r=r[0]}t=r}t==null&&(t=""),r=t}e._wrapperState={initialValue:Vr(r)}}function b0(e,t){var r=Vr(t.value),n=Vr(t.defaultValue);r!=null&&(r=""+r,r!==e.value&&(e.value=r),t.defaultValue==null&&e.defaultValue!==r&&(e.defaultValue=r)),n!=null&&(e.defaultValue=""+n)}function x0(e){var t=e.textContent;t===e._wrapperState.initialValue&&t!==""&&t!==null&&(e.value=t)}var bf={html:"http://www.w3.org/1999/xhtml",mathml:"http://www.w3.org/1998/Math/MathML",svg:"http://www.w3.org/2000/svg"};function S0(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 xf(e,t){return e==null||e==="http://www.w3.org/1999/xhtml"?S0(t):e==="http://www.w3.org/2000/svg"&&t==="foreignObject"?"http://www.w3.org/1999/xhtml":e}var is,w0=function(e){return typeof MSApp!="undefined"&&MSApp.execUnsafeLocalFunction?function(t,r,n,i){MSApp.execUnsafeLocalFunction(function(){return e(t,r,n,i)})}:e}(function(e,t){if(e.namespaceURI!==bf.svg||"innerHTML"in e)e.innerHTML=t;else{for(is=is||document.createElement("div"),is.innerHTML="<svg>"+t.valueOf().toString()+"</svg>",t=is.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function La(e,t){if(t){var r=e.firstChild;if(r&&r===e.lastChild&&r.nodeType===3){r.nodeValue=t;return}}e.textContent=t}var Ba={animationIterationCount:!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},qC=["Webkit","ms","Moz","O"];Object.keys(Ba).forEach(function(e){qC.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),Ba[t]=Ba[e]})});function C0(e,t,r){return t==null||typeof t=="boolean"||t===""?"":r||typeof t!="number"||t===0||Ba.hasOwnProperty(e)&&Ba[e]?(""+t).trim():t+"px"}function E0(e,t){e=e.style;for(var r in t)if(t.hasOwnProperty(r)){var n=r.indexOf("--")===0,i=C0(r,t[r],n);r==="float"&&(r="cssFloat"),n?e.setProperty(r,i):e[r]=i}}var QC=Te({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 Sf(e,t){if(t){if(QC[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(j(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(j(60));if(!(typeof t.dangerouslySetInnerHTML=="object"&&"__html"in t.dangerouslySetInnerHTML))throw Error(j(61))}if(t.style!=null&&typeof t.style!="object")throw Error(j(62))}}function wf(e,t){if(e.indexOf("-")===-1)return typeof t.is=="string";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}}function Cf(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var Ef=null,yi=null,bi=null;function k0(e){if(e=to(e)){if(typeof Ef!="function")throw Error(j(280));var t=e.stateNode;t&&(t=ws(t),Ef(e.stateNode,e.type,t))}}function T0(e){yi?bi?bi.push(e):bi=[e]:yi=e}function P0(){if(yi){var e=yi,t=bi;if(bi=yi=null,k0(e),t)for(e=0;e<t.length;e++)k0(t[e])}}function kf(e,t){return e(t)}function _0(e,t,r,n,i){return e(t,r,n,i)}function Tf(){}var O0=kf,Rn=!1,Pf=!1;function _f(){(yi!==null||bi!==null)&&(Tf(),P0())}function JC(e,t,r){if(Pf)return e(t,r);Pf=!0;try{return O0(e,t,r)}finally{Pf=!1,_f()}}function $a(e,t){var r=e.stateNode;if(r===null)return null;var n=ws(r);if(n===null)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)||(e=e.type,n=!(e==="button"||e==="input"||e==="select"||e==="textarea")),e=!n;break e;default:e=!1}if(e)return null;if(r&&typeof r!="function")throw Error(j(231,t,typeof r));return r}var Of=!1;if(br)try{var Da={};Object.defineProperty(Da,"passive",{get:function(){Of=!0}}),window.addEventListener("test",Da,Da),window.removeEventListener("test",Da,Da)}catch{Of=!1}function e4(e,t,r,n,i,a,o,l,s){var u=Array.prototype.slice.call(arguments,3);try{t.apply(r,u)}catch(c){this.onError(c)}}var za=!1,as=null,os=!1,Af=null,t4={onError:function(e){za=!0,as=e}};function r4(e,t,r,n,i,a,o,l,s){za=!1,as=null,e4.apply(t4,arguments)}function n4(e,t,r,n,i,a,o,l,s){if(r4.apply(this,arguments),za){if(za){var u=as;za=!1,as=null}else throw Error(j(198));os||(os=!0,Af=u)}}function In(e){var t=e,r=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do t=e,(t.flags&1026)!==0&&(r=t.return),e=t.return;while(e)}return t.tag===3?r:null}function A0(e){if(e.tag===13){var t=e.memoizedState;if(t===null&&(e=e.alternate,e!==null&&(t=e.memoizedState)),t!==null)return t.dehydrated}return null}function M0(e){if(In(e)!==e)throw Error(j(188))}function i4(e){var t=e.alternate;if(!t){if(t=In(e),t===null)throw Error(j(188));return t!==e?null:e}for(var r=e,n=t;;){var i=r.return;if(i===null)break;var a=i.alternate;if(a===null){if(n=i.return,n!==null){r=n;continue}break}if(i.child===a.child){for(a=i.child;a;){if(a===r)return M0(i),e;if(a===n)return M0(i),t;a=a.sibling}throw Error(j(188))}if(r.return!==n.return)r=i,n=a;else{for(var o=!1,l=i.child;l;){if(l===r){o=!0,r=i,n=a;break}if(l===n){o=!0,n=i,r=a;break}l=l.sibling}if(!o){for(l=a.child;l;){if(l===r){o=!0,r=a,n=i;break}if(l===n){o=!0,n=a,r=i;break}l=l.sibling}if(!o)throw Error(j(189))}}if(r.alternate!==n)throw Error(j(190))}if(r.tag!==3)throw Error(j(188));return r.stateNode.current===r?e:t}function F0(e){if(e=i4(e),!e)return null;for(var t=e;;){if(t.tag===5||t.tag===6)return t;if(t.child)t.child.return=t,t=t.child;else{if(t===e)break;for(;!t.sibling;){if(!t.return||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}}return null}function R0(e,t){for(var r=e.alternate;t!==null;){if(t===e||t===r)return!0;t=t.return}return!1}var I0,Mf,L0,B0,Ff=!1,ar=[],jr=null,Wr=null,Hr=null,Na=new Map,Va=new Map,ja=[],$0="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 Rf(e,t,r,n,i){return{blockedOn:e,domEventName:t,eventSystemFlags:r|16,nativeEvent:i,targetContainers:[n]}}function D0(e,t){switch(e){case"focusin":case"focusout":jr=null;break;case"dragenter":case"dragleave":Wr=null;break;case"mouseover":case"mouseout":Hr=null;break;case"pointerover":case"pointerout":Na.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":Va.delete(t.pointerId)}}function Wa(e,t,r,n,i,a){return e===null||e.nativeEvent!==a?(e=Rf(t,r,n,i,a),t!==null&&(t=to(t),t!==null&&Mf(t)),e):(e.eventSystemFlags|=n,t=e.targetContainers,i!==null&&t.indexOf(i)===-1&&t.push(i),e)}function a4(e,t,r,n,i){switch(t){case"focusin":return jr=Wa(jr,e,t,r,n,i),!0;case"dragenter":return Wr=Wa(Wr,e,t,r,n,i),!0;case"mouseover":return Hr=Wa(Hr,e,t,r,n,i),!0;case"pointerover":var a=i.pointerId;return Na.set(a,Wa(Na.get(a)||null,e,t,r,n,i)),!0;case"gotpointercapture":return a=i.pointerId,Va.set(a,Wa(Va.get(a)||null,e,t,r,n,i)),!0}return!1}function o4(e){var t=Ln(e.target);if(t!==null){var r=In(t);if(r!==null){if(t=r.tag,t===13){if(t=A0(r),t!==null){e.blockedOn=t,B0(e.lanePriority,function(){Ue.unstable_runWithPriority(e.priority,function(){L0(r)})});return}}else if(t===3&&r.stateNode.hydrate){e.blockedOn=r.tag===3?r.stateNode.containerInfo:null;return}}}e.blockedOn=null}function ls(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;0<t.length;){var r=zf(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(r!==null)return t=to(r),t!==null&&Mf(t),e.blockedOn=r,!1;t.shift()}return!0}function z0(e,t,r){ls(e)&&r.delete(t)}function l4(){for(Ff=!1;0<ar.length;){var e=ar[0];if(e.blockedOn!==null){e=to(e.blockedOn),e!==null&&I0(e);break}for(var t=e.targetContainers;0<t.length;){var r=zf(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(r!==null){e.blockedOn=r;break}t.shift()}e.blockedOn===null&&ar.shift()}jr!==null&&ls(jr)&&(jr=null),Wr!==null&&ls(Wr)&&(Wr=null),Hr!==null&&ls(Hr)&&(Hr=null),Na.forEach(z0),Va.forEach(z0)}function Ha(e,t){e.blockedOn===t&&(e.blockedOn=null,Ff||(Ff=!0,Ue.unstable_scheduleCallback(Ue.unstable_NormalPriority,l4)))}function N0(e){function t(i){return Ha(i,e)}if(0<ar.length){Ha(ar[0],e);for(var r=1;r<ar.length;r++){var n=ar[r];n.blockedOn===e&&(n.blockedOn=null)}}for(jr!==null&&Ha(jr,e),Wr!==null&&Ha(Wr,e),Hr!==null&&Ha(Hr,e),Na.forEach(t),Va.forEach(t),r=0;r<ja.length;r++)n=ja[r],n.blockedOn===e&&(n.blockedOn=null);for(;0<ja.length&&(r=ja[0],r.blockedOn===null);)o4(r),r.blockedOn===null&&ja.shift()}function ss(e,t){var r={};return r[e.toLowerCase()]=t.toLowerCase(),r["Webkit"+e]="webkit"+t,r["Moz"+e]="moz"+t,r}var xi={animationend:ss("Animation","AnimationEnd"),animationiteration:ss("Animation","AnimationIteration"),animationstart:ss("Animation","AnimationStart"),transitionend:ss("Transition","TransitionEnd")},If={},V0={};br&&(V0=document.createElement("div").style,"AnimationEvent"in window||(delete xi.animationend.animation,delete xi.animationiteration.animation,delete xi.animationstart.animation),"TransitionEvent"in window||delete xi.transitionend.transition);function us(e){if(If[e])return If[e];if(!xi[e])return e;var t=xi[e],r;for(r in t)if(t.hasOwnProperty(r)&&r in V0)return If[e]=t[r];return e}var j0=us("animationend"),W0=us("animationiteration"),H0=us("animationstart"),U0=us("transitionend"),G0=new Map,Lf=new Map,s4=["abort","abort",j0,"animationEnd",W0,"animationIteration",H0,"animationStart","canplay","canPlay","canplaythrough","canPlayThrough","durationchange","durationChange","emptied","emptied","encrypted","encrypted","ended","ended","error","error","gotpointercapture","gotPointerCapture","load","load","loadeddata","loadedData","loadedmetadata","loadedMetadata","loadstart","loadStart","lostpointercapture","lostPointerCapture","playing","playing","progress","progress","seeking","seeking","stalled","stalled","suspend","suspend","timeupdate","timeUpdate",U0,"transitionEnd","waiting","waiting"];function Bf(e,t){for(var r=0;r<e.length;r+=2){var n=e[r],i=e[r+1];i="on"+(i[0].toUpperCase()+i.slice(1)),Lf.set(n,t),G0.set(n,i),An(i,[n])}}var u4=Ue.unstable_now;u4();var he=8;function Si(e){if((1&e)!==0)return he=15,1;if((2&e)!==0)return he=14,2;if((4&e)!==0)return he=13,4;var t=24&e;return t!==0?(he=12,t):(e&32)!==0?(he=11,32):(t=192&e,t!==0?(he=10,t):(e&256)!==0?(he=9,256):(t=3584&e,t!==0?(he=8,t):(e&4096)!==0?(he=7,4096):(t=4186112&e,t!==0?(he=6,t):(t=62914560&e,t!==0?(he=5,t):e&67108864?(he=4,67108864):(e&134217728)!==0?(he=3,134217728):(t=805306368&e,t!==0?(he=2,t):(1073741824&e)!==0?(he=1,1073741824):(he=8,e))))))}function c4(e){switch(e){case 99:return 15;case 98:return 10;case 97:case 96:return 8;case 95:return 2;default:return 0}}function f4(e){switch(e){case 15:case 14:return 99;case 13:case 12:case 11:case 10:return 98;case 9:case 8:case 7:case 6:case 4:case 5:return 97;case 3:case 2:case 1:return 95;case 0:return 90;default:throw Error(j(358,e))}}function Ua(e,t){var r=e.pendingLanes;if(r===0)return he=0;var n=0,i=0,a=e.expiredLanes,o=e.suspendedLanes,l=e.pingedLanes;if(a!==0)n=a,i=he=15;else if(a=r&134217727,a!==0){var s=a&~o;s!==0?(n=Si(s),i=he):(l&=a,l!==0&&(n=Si(l),i=he))}else a=r&~o,a!==0?(n=Si(a),i=he):l!==0&&(n=Si(l),i=he);if(n===0)return 0;if(n=31-Ur(n),n=r&((0>n?0:1<<n)<<1)-1,t!==0&&t!==n&&(t&o)===0){if(Si(t),i<=he)return t;he=i}if(t=e.entangledLanes,t!==0)for(e=e.entanglements,t&=n;0<t;)r=31-Ur(t),i=1<<r,n|=e[r],t&=~i;return n}function Y0(e){return e=e.pendingLanes&-1073741825,e!==0?e:e&1073741824?1073741824:0}function cs(e,t){switch(e){case 15:return 1;case 14:return 2;case 12:return e=wi(24&~t),e===0?cs(10,t):e;case 10:return e=wi(192&~t),e===0?cs(8,t):e;case 8:return e=wi(3584&~t),e===0&&(e=wi(4186112&~t),e===0&&(e=512)),e;case 2:return t=wi(805306368&~t),t===0&&(t=268435456),t}throw Error(j(358,e))}function wi(e){return e&-e}function $f(e){for(var t=[],r=0;31>r;r++)t.push(e);return t}function fs(e,t,r){e.pendingLanes|=t;var n=t-1;e.suspendedLanes&=n,e.pingedLanes&=n,e=e.eventTimes,t=31-Ur(t),e[t]=r}var Ur=Math.clz32?Math.clz32:v4,d4=Math.log,p4=Math.LN2;function v4(e){return e===0?32:31-(d4(e)/p4|0)|0}var h4=Ue.unstable_UserBlockingPriority,m4=Ue.unstable_runWithPriority,ds=!0;function g4(e,t,r,n){Rn||Tf();var i=Df,a=Rn;Rn=!0;try{_0(i,e,t,r,n)}finally{(Rn=a)||_f()}}function y4(e,t,r,n){m4(h4,Df.bind(null,e,t,r,n))}function Df(e,t,r,n){if(ds){var i;if((i=(t&4)===0)&&0<ar.length&&-1<$0.indexOf(e))e=Rf(null,e,t,r,n),ar.push(e);else{var a=zf(e,t,r,n);if(a===null)i&&D0(e,n);else{if(i){if(-1<$0.indexOf(e)){e=Rf(a,e,t,r,n),ar.push(e);return}if(a4(a,e,t,r,n))return;D0(e,n)}Cg(e,t,n,null,r)}}}}function zf(e,t,r,n){var i=Cf(n);if(i=Ln(i),i!==null){var a=In(i);if(a===null)i=null;else{var o=a.tag;if(o===13){if(i=A0(a),i!==null)return i;i=null}else if(o===3){if(a.stateNode.hydrate)return a.tag===3?a.stateNode.containerInfo:null;i=null}else a!==i&&(i=null)}}return Cg(e,t,n,i,r),null}var Gr=null,Nf=null,ps=null;function X0(){if(ps)return ps;var e,t=Nf,r=t.length,n,i="value"in Gr?Gr.value:Gr.textContent,a=i.length;for(e=0;e<r&&t[e]===i[e];e++);var o=r-e;for(n=1;n<=o&&t[r-n]===i[a-n];n++);return ps=i.slice(e,1<n?1-n:void 0)}function vs(e){var t=e.keyCode;return"charCode"in e?(e=e.charCode,e===0&&t===13&&(e=13)):e=t,e===10&&(e=13),32<=e||e===13?e:0}function hs(){return!0}function Z0(){return!1}function wt(e){function t(r,n,i,a,o){this._reactName=r,this._targetInst=i,this.type=n,this.nativeEvent=a,this.target=o,this.currentTarget=null;for(var l in e)e.hasOwnProperty(l)&&(r=e[l],this[l]=r?r(a):a[l]);return this.isDefaultPrevented=(a.defaultPrevented!=null?a.defaultPrevented:a.returnValue===!1)?hs:Z0,this.isPropagationStopped=Z0,this}return Te(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var r=this.nativeEvent;r&&(r.preventDefault?r.preventDefault():typeof r.returnValue!="unknown"&&(r.returnValue=!1),this.isDefaultPrevented=hs)},stopPropagation:function(){var r=this.nativeEvent;r&&(r.stopPropagation?r.stopPropagation():typeof r.cancelBubble!="unknown"&&(r.cancelBubble=!0),this.isPropagationStopped=hs)},persist:function(){},isPersistent:hs}),t}var Ci={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},Vf=wt(Ci),Ga=Te({},Ci,{view:0,detail:0}),b4=wt(Ga),jf,Wf,Ya,ms=Te({},Ga,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Uf,button:0,buttons:0,relatedTarget:function(e){return e.relatedTarget===void 0?e.fromElement===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return"movementX"in e?e.movementX:(e!==Ya&&(Ya&&e.type==="mousemove"?(jf=e.screenX-Ya.screenX,Wf=e.screenY-Ya.screenY):Wf=jf=0,Ya=e),jf)},movementY:function(e){return"movementY"in e?e.movementY:Wf}}),K0=wt(ms),x4=Te({},ms,{dataTransfer:0}),S4=wt(x4),w4=Te({},Ga,{relatedTarget:0}),Hf=wt(w4),C4=Te({},Ci,{animationName:0,elapsedTime:0,pseudoElement:0}),E4=wt(C4),k4=Te({},Ci,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),T4=wt(k4),P4=Te({},Ci,{data:0}),q0=wt(P4),_4={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},O4={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"},A4={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function M4(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):(e=A4[e])?!!t[e]:!1}function Uf(){return M4}var F4=Te({},Ga,{key:function(e){if(e.key){var t=_4[e.key]||e.key;if(t!=="Unidentified")return t}return e.type==="keypress"?(e=vs(e),e===13?"Enter":String.fromCharCode(e)):e.type==="keydown"||e.type==="keyup"?O4[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Uf,charCode:function(e){return e.type==="keypress"?vs(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?vs(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),R4=wt(F4),I4=Te({},ms,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),Q0=wt(I4),L4=Te({},Ga,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Uf}),B4=wt(L4),$4=Te({},Ci,{propertyName:0,elapsedTime:0,pseudoElement:0}),D4=wt($4),z4=Te({},ms,{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}),N4=wt(z4),V4=[9,13,27,32],Gf=br&&"CompositionEvent"in window,Xa=null;br&&"documentMode"in document&&(Xa=document.documentMode);var j4=br&&"TextEvent"in window&&!Xa,J0=br&&(!Gf||Xa&&8<Xa&&11>=Xa),eg=String.fromCharCode(32),tg=!1;function rg(e,t){switch(e){case"keyup":return V4.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function ng(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var Ei=!1;function W4(e,t){switch(e){case"compositionend":return ng(t);case"keypress":return t.which!==32?null:(tg=!0,eg);case"textInput":return e=t.data,e===eg&&tg?null:e;default:return null}}function H4(e,t){if(Ei)return e==="compositionend"||!Gf&&rg(e,t)?(e=X0(),ps=Nf=Gr=null,Ei=!1,e):null;switch(e){case"paste":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 J0&&t.locale!=="ko"?null:t.data;default:return null}}var U4={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 ig(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t==="input"?!!U4[e.type]:t==="textarea"}function ag(e,t,r,n){T0(n),t=ys(t,"onChange"),0<t.length&&(r=new Vf("onChange","change",null,r,n),e.push({event:r,listeners:t}))}var Za=null,Ka=null;function G4(e){yg(e,0)}function gs(e){var t=Oi(e);if(v0(t))return e}function Y4(e,t){if(e==="change")return t}var og=!1;if(br){var Yf;if(br){var Xf="oninput"in document;if(!Xf){var lg=document.createElement("div");lg.setAttribute("oninput","return;"),Xf=typeof lg.oninput=="function"}Yf=Xf}else Yf=!1;og=Yf&&(!document.documentMode||9<document.documentMode)}function sg(){Za&&(Za.detachEvent("onpropertychange",ug),Ka=Za=null)}function ug(e){if(e.propertyName==="value"&&gs(Ka)){var t=[];if(ag(t,Ka,e,Cf(e)),e=G4,Rn)e(t);else{Rn=!0;try{kf(e,t)}finally{Rn=!1,_f()}}}}function X4(e,t,r){e==="focusin"?(sg(),Za=t,Ka=r,Za.attachEvent("onpropertychange",ug)):e==="focusout"&&sg()}function Z4(e){if(e==="selectionchange"||e==="keyup"||e==="keydown")return gs(Ka)}function K4(e,t){if(e==="click")return gs(t)}function q4(e,t){if(e==="input"||e==="change")return gs(t)}function Q4(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var Ft=typeof Object.is=="function"?Object.is:Q4,J4=Object.prototype.hasOwnProperty;function qa(e,t){if(Ft(e,t))return!0;if(typeof e!="object"||e===null||typeof t!="object"||t===null)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++)if(!J4.call(t,r[n])||!Ft(e[r[n]],t[r[n]]))return!1;return!0}function cg(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function fg(e,t){var r=cg(e);e=0;for(var n;r;){if(r.nodeType===3){if(n=e+r.textContent.length,e<=t&&n>=t)return{node:r,offset:t-e};e=n}e:{for(;r;){if(r.nextSibling){r=r.nextSibling;break e}r=r.parentNode}r=void 0}r=cg(r)}}function dg(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?dg(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function pg(){for(var e=window,t=ns();t instanceof e.HTMLIFrameElement;){try{var r=typeof t.contentWindow.location.href=="string"}catch{r=!1}if(r)e=t.contentWindow;else break;t=ns(e.document)}return t}function Zf(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&(t==="input"&&(e.type==="text"||e.type==="search"||e.type==="tel"||e.type==="url"||e.type==="password")||t==="textarea"||e.contentEditable==="true")}var e3=br&&"documentMode"in document&&11>=document.documentMode,ki=null,Kf=null,Qa=null,qf=!1;function vg(e,t,r){var n=r.window===r?r.document:r.nodeType===9?r:r.ownerDocument;qf||ki==null||ki!==ns(n)||(n=ki,"selectionStart"in n&&Zf(n)?n={start:n.selectionStart,end:n.selectionEnd}:(n=(n.ownerDocument&&n.ownerDocument.defaultView||window).getSelection(),n={anchorNode:n.anchorNode,anchorOffset:n.anchorOffset,focusNode:n.focusNode,focusOffset:n.focusOffset}),Qa&&qa(Qa,n)||(Qa=n,n=ys(Kf,"onSelect"),0<n.length&&(t=new Vf("onSelect","select",null,t,r),e.push({event:t,listeners:n}),t.target=ki)))}Bf("cancel cancel click click close close contextmenu contextMenu copy copy cut cut auxclick auxClick dblclick doubleClick dragend dragEnd dragstart dragStart drop drop focusin focus focusout blur input input invalid invalid keydown keyDown keypress keyPress keyup keyUp mousedown mouseDown mouseup mouseUp paste paste pause pause play play pointercancel pointerCancel pointerdown pointerDown pointerup pointerUp ratechange rateChange reset reset seeked seeked submit submit touchcancel touchCancel touchend touchEnd touchstart touchStart volumechange volumeChange".split(" "),0),Bf("drag drag dragenter dragEnter dragexit dragExit dragleave dragLeave dragover dragOver mousemove mouseMove mouseout mouseOut mouseover mouseOver pointermove pointerMove pointerout pointerOut pointerover pointerOver scroll scroll toggle toggle touchmove touchMove wheel wheel".split(" "),1),Bf(s4,2);for(var hg="change selectionchange textInput compositionstart compositionend compositionupdate".split(" "),Qf=0;Qf<hg.length;Qf++)Lf.set(hg[Qf],0);hi("onMouseEnter",["mouseout","mouseover"]),hi("onMouseLeave",["mouseout","mouseover"]),hi("onPointerEnter",["pointerout","pointerover"]),hi("onPointerLeave",["pointerout","pointerover"]),An("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),An("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),An("onBeforeInput",["compositionend","keypress","textInput","paste"]),An("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),An("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),An("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Ja="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),mg=new Set("cancel close invalid load scroll toggle".split(" ").concat(Ja));function gg(e,t,r){var n=e.type||"unknown-event";e.currentTarget=r,n4(n,t,void 0,e),e.currentTarget=null}function yg(e,t){t=(t&4)!==0;for(var r=0;r<e.length;r++){var n=e[r],i=n.event;n=n.listeners;e:{var a=void 0;if(t)for(var o=n.length-1;0<=o;o--){var l=n[o],s=l.instance,u=l.currentTarget;if(l=l.listener,s!==a&&i.isPropagationStopped())break e;gg(i,l,u),a=s}else for(o=0;o<n.length;o++){if(l=n[o],s=l.instance,u=l.currentTarget,l=l.listener,s!==a&&i.isPropagationStopped())break e;gg(i,l,u),a=s}}}if(os)throw e=Af,os=!1,Af=null,e}function Se(e,t){var r=Og(t),n=e+"__bubble";r.has(n)||(wg(t,e,2,!1),r.add(n))}var bg="_reactListening"+Math.random().toString(36).slice(2);function xg(e){e[bg]||(e[bg]=!0,l0.forEach(function(t){mg.has(t)||Sg(t,!1,e,null),Sg(t,!0,e,null)}))}function Sg(e,t,r,n){var i=4<arguments.length&&arguments[4]!==void 0?arguments[4]:0,a=r;if(e==="selectionchange"&&r.nodeType!==9&&(a=r.ownerDocument),n!==null&&!t&&mg.has(e)){if(e!=="scroll")return;i|=2,a=n}var o=Og(a),l=e+"__"+(t?"capture":"bubble");o.has(l)||(t&&(i|=4),wg(a,e,i,t),o.add(l))}function wg(e,t,r,n){var i=Lf.get(t);switch(i===void 0?2:i){case 0:i=g4;break;case 1:i=y4;break;default:i=Df}r=i.bind(null,t,r,e),i=void 0,!Of||t!=="touchstart"&&t!=="touchmove"&&t!=="wheel"||(i=!0),n?i!==void 0?e.addEventListener(t,r,{capture:!0,passive:i}):e.addEventListener(t,r,!0):i!==void 0?e.addEventListener(t,r,{passive:i}):e.addEventListener(t,r,!1)}function Cg(e,t,r,n,i){var a=n;if((t&1)===0&&(t&2)===0&&n!==null)e:for(;;){if(n===null)return;var o=n.tag;if(o===3||o===4){var l=n.stateNode.containerInfo;if(l===i||l.nodeType===8&&l.parentNode===i)break;if(o===4)for(o=n.return;o!==null;){var s=o.tag;if((s===3||s===4)&&(s=o.stateNode.containerInfo,s===i||s.nodeType===8&&s.parentNode===i))return;o=o.return}for(;l!==null;){if(o=Ln(l),o===null)return;if(s=o.tag,s===5||s===6){n=a=o;continue e}l=l.parentNode}}n=n.return}JC(function(){var u=a,c=Cf(r),d=[];e:{var f=G0.get(e);if(f!==void 0){var p=Vf,h=e;switch(e){case"keypress":if(vs(r)===0)break e;case"keydown":case"keyup":p=R4;break;case"focusin":h="focus",p=Hf;break;case"focusout":h="blur",p=Hf;break;case"beforeblur":case"afterblur":p=Hf;break;case"click":if(r.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":p=K0;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":p=S4;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":p=B4;break;case j0:case W0:case H0:p=E4;break;case U0:p=D4;break;case"scroll":p=b4;break;case"wheel":p=N4;break;case"copy":case"cut":case"paste":p=T4;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":p=Q0}var g=(t&4)!==0,v=!g&&e==="scroll",m=g?f!==null?f+"Capture":null:f;g=[];for(var y=u,b;y!==null;){b=y;var x=b.stateNode;if(b.tag===5&&x!==null&&(b=x,m!==null&&(x=$a(y,m),x!=null&&g.push(eo(y,x,b)))),v)break;y=y.return}0<g.length&&(f=new p(f,h,null,r,c),d.push({event:f,listeners:g}))}}if((t&7)===0){e:{if(f=e==="mouseover"||e==="pointerover",p=e==="mouseout"||e==="pointerout",f&&(t&16)===0&&(h=r.relatedTarget||r.fromElement)&&(Ln(h)||h[_i]))break e;if((p||f)&&(f=c.window===c?c:(f=c.ownerDocument)?f.defaultView||f.parentWindow:window,p?(h=r.relatedTarget||r.toElement,p=u,h=h?Ln(h):null,h!==null&&(v=In(h),h!==v||h.tag!==5&&h.tag!==6)&&(h=null)):(p=null,h=u),p!==h)){if(g=K0,x="onMouseLeave",m="onMouseEnter",y="mouse",(e==="pointerout"||e==="pointerover")&&(g=Q0,x="onPointerLeave",m="onPointerEnter",y="pointer"),v=p==null?f:Oi(p),b=h==null?f:Oi(h),f=new g(x,y+"leave",p,r,c),f.target=v,f.relatedTarget=b,x=null,Ln(c)===u&&(g=new g(m,y+"enter",h,r,c),g.target=b,g.relatedTarget=v,x=g),v=x,p&&h)t:{for(g=p,m=h,y=0,b=g;b;b=Ti(b))y++;for(b=0,x=m;x;x=Ti(x))b++;for(;0<y-b;)g=Ti(g),y--;for(;0<b-y;)m=Ti(m),b--;for(;y--;){if(g===m||m!==null&&g===m.alternate)break t;g=Ti(g),m=Ti(m)}g=null}else g=null;p!==null&&Eg(d,f,p,g,!1),h!==null&&v!==null&&Eg(d,v,h,g,!0)}}e:{if(f=u?Oi(u):window,p=f.nodeName&&f.nodeName.toLowerCase(),p==="select"||p==="input"&&f.type==="file")var E=Y4;else if(ig(f))if(og)E=q4;else{E=Z4;var k=X4}else(p=f.nodeName)&&p.toLowerCase()==="input"&&(f.type==="checkbox"||f.type==="radio")&&(E=K4);if(E&&(E=E(e,u))){ag(d,E,r,c);break e}k&&k(e,f,u),e==="focusout"&&(k=f._wrapperState)&&k.controlled&&f.type==="number"&&mf(f,"number",f.value)}switch(k=u?Oi(u):window,e){case"focusin":(ig(k)||k.contentEditable==="true")&&(ki=k,Kf=u,Qa=null);break;case"focusout":Qa=Kf=ki=null;break;case"mousedown":qf=!0;break;case"contextmenu":case"mouseup":case"dragend":qf=!1,vg(d,r,c);break;case"selectionchange":if(e3)break;case"keydown":case"keyup":vg(d,r,c)}var T;if(Gf)e:{switch(e){case"compositionstart":var A="onCompositionStart";break e;case"compositionend":A="onCompositionEnd";break e;case"compositionupdate":A="onCompositionUpdate";break e}A=void 0}else Ei?rg(e,r)&&(A="onCompositionEnd"):e==="keydown"&&r.keyCode===229&&(A="onCompositionStart");A&&(J0&&r.locale!=="ko"&&(Ei||A!=="onCompositionStart"?A==="onCompositionEnd"&&Ei&&(T=X0()):(Gr=c,Nf="value"in Gr?Gr.value:Gr.textContent,Ei=!0)),k=ys(u,A),0<k.length&&(A=new q0(A,e,null,r,c),d.push({event:A,listeners:k}),T?A.data=T:(T=ng(r),T!==null&&(A.data=T)))),(T=j4?W4(e,r):H4(e,r))&&(u=ys(u,"onBeforeInput"),0<u.length&&(c=new q0("onBeforeInput","beforeinput",null,r,c),d.push({event:c,listeners:u}),c.data=T))}yg(d,t)})}function eo(e,t,r){return{instance:e,listener:t,currentTarget:r}}function ys(e,t){for(var r=t+"Capture",n=[];e!==null;){var i=e,a=i.stateNode;i.tag===5&&a!==null&&(i=a,a=$a(e,r),a!=null&&n.unshift(eo(e,a,i)),a=$a(e,t),a!=null&&n.push(eo(e,a,i))),e=e.return}return n}function Ti(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5);return e||null}function Eg(e,t,r,n,i){for(var a=t._reactName,o=[];r!==null&&r!==n;){var l=r,s=l.alternate,u=l.stateNode;if(s!==null&&s===n)break;l.tag===5&&u!==null&&(l=u,i?(s=$a(r,a),s!=null&&o.unshift(eo(r,s,l))):i||(s=$a(r,a),s!=null&&o.push(eo(r,s,l)))),r=r.return}o.length!==0&&e.push({event:t,listeners:o})}function bs(){}var Jf=null,ed=null;function kg(e,t){switch(e){case"button":case"input":case"select":case"textarea":return!!t.autoFocus}return!1}function td(e,t){return e==="textarea"||e==="option"||e==="noscript"||typeof t.children=="string"||typeof t.children=="number"||typeof t.dangerouslySetInnerHTML=="object"&&t.dangerouslySetInnerHTML!==null&&t.dangerouslySetInnerHTML.__html!=null}var Tg=typeof setTimeout=="function"?setTimeout:void 0,t3=typeof clearTimeout=="function"?clearTimeout:void 0;function rd(e){e.nodeType===1?e.textContent="":e.nodeType===9&&(e=e.body,e!=null&&(e.textContent=""))}function Pi(e){for(;e!=null;e=e.nextSibling){var t=e.nodeType;if(t===1||t===3)break}return e}function Pg(e){e=e.previousSibling;for(var t=0;e;){if(e.nodeType===8){var r=e.data;if(r==="$"||r==="$!"||r==="$?"){if(t===0)return e;t--}else r==="/$"&&t++}e=e.previousSibling}return null}var nd=0;function r3(e){return{$$typeof:uf,toString:e,valueOf:e}}var xs=Math.random().toString(36).slice(2),Yr="__reactFiber$"+xs,Ss="__reactProps$"+xs,_i="__reactContainer$"+xs,_g="__reactEvents$"+xs;function Ln(e){var t=e[Yr];if(t)return t;for(var r=e.parentNode;r;){if(t=r[_i]||r[Yr]){if(r=t.alternate,t.child!==null||r!==null&&r.child!==null)for(e=Pg(e);e!==null;){if(r=e[Yr])return r;e=Pg(e)}return t}e=r,r=e.parentNode}return null}function to(e){return e=e[Yr]||e[_i],!e||e.tag!==5&&e.tag!==6&&e.tag!==13&&e.tag!==3?null:e}function Oi(e){if(e.tag===5||e.tag===6)return e.stateNode;throw Error(j(33))}function ws(e){return e[Ss]||null}function Og(e){var t=e[_g];return t===void 0&&(t=e[_g]=new Set),t}var id=[],Ai=-1;function Xr(e){return{current:e}}function we(e){0>Ai||(e.current=id[Ai],id[Ai]=null,Ai--)}function Me(e,t){Ai++,id[Ai]=e.current,e.current=t}var Zr={},tt=Xr(Zr),pt=Xr(!1),Bn=Zr;function Mi(e,t){var r=e.type.contextTypes;if(!r)return Zr;var n=e.stateNode;if(n&&n.__reactInternalMemoizedUnmaskedChildContext===t)return n.__reactInternalMemoizedMaskedChildContext;var i={},a;for(a in r)i[a]=t[a];return n&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=i),i}function vt(e){return e=e.childContextTypes,e!=null}function Cs(){we(pt),we(tt)}function Ag(e,t,r){if(tt.current!==Zr)throw Error(j(168));Me(tt,t),Me(pt,r)}function Mg(e,t,r){var n=e.stateNode;if(e=t.childContextTypes,typeof n.getChildContext!="function")return r;n=n.getChildContext();for(var i in n)if(!(i in e))throw Error(j(108,mi(t)||"Unknown",i));return Te({},r,n)}function Es(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||Zr,Bn=tt.current,Me(tt,e),Me(pt,pt.current),!0}function Fg(e,t,r){var n=e.stateNode;if(!n)throw Error(j(169));r?(e=Mg(e,t,Bn),n.__reactInternalMemoizedMergedChildContext=e,we(pt),we(tt),Me(tt,e)):we(pt),Me(pt,r)}var ad=null,$n=null,n3=Ue.unstable_runWithPriority,od=Ue.unstable_scheduleCallback,ld=Ue.unstable_cancelCallback,i3=Ue.unstable_shouldYield,Rg=Ue.unstable_requestPaint,sd=Ue.unstable_now,a3=Ue.unstable_getCurrentPriorityLevel,ks=Ue.unstable_ImmediatePriority,Ig=Ue.unstable_UserBlockingPriority,Lg=Ue.unstable_NormalPriority,Bg=Ue.unstable_LowPriority,$g=Ue.unstable_IdlePriority,ud={},o3=Rg!==void 0?Rg:function(){},xr=null,Ts=null,cd=!1,Dg=sd(),rt=1e4>Dg?sd:function(){return sd()-Dg};function Fi(){switch(a3()){case ks:return 99;case Ig:return 98;case Lg:return 97;case Bg:return 96;case $g:return 95;default:throw Error(j(332))}}function zg(e){switch(e){case 99:return ks;case 98:return Ig;case 97:return Lg;case 96:return Bg;case 95:return $g;default:throw Error(j(332))}}function Dn(e,t){return e=zg(e),n3(e,t)}function ro(e,t,r){return e=zg(e),od(e,t,r)}function or(){if(Ts!==null){var e=Ts;Ts=null,ld(e)}Ng()}function Ng(){if(!cd&&xr!==null){cd=!0;var e=0;try{var t=xr;Dn(99,function(){for(;e<t.length;e++){var r=t[e];do r=r(!0);while(r!==null)}}),xr=null}catch(r){throw xr!==null&&(xr=xr.slice(e+1)),od(ks,or),r}finally{cd=!1}}}var l3=Mn.ReactCurrentBatchConfig;function Yt(e,t){if(e&&e.defaultProps){t=Te({},t),e=e.defaultProps;for(var r in e)t[r]===void 0&&(t[r]=e[r]);return t}return t}var Ps=Xr(null),_s=null,Ri=null,Os=null;function fd(){Os=Ri=_s=null}function dd(e){var t=Ps.current;we(Ps),e.type._context._currentValue=t}function Vg(e,t){for(;e!==null;){var r=e.alternate;if((e.childLanes&t)===t){if(r===null||(r.childLanes&t)===t)break;r.childLanes|=t}else e.childLanes|=t,r!==null&&(r.childLanes|=t);e=e.return}}function Ii(e,t){_s=e,Os=Ri=null,e=e.dependencies,e!==null&&e.firstContext!==null&&((e.lanes&t)!==0&&(Xt=!0),e.firstContext=null)}function Rt(e,t){if(Os!==e&&t!==!1&&t!==0)if((typeof t!="number"||t===1073741823)&&(Os=e,t=1073741823),t={context:e,observedBits:t,next:null},Ri===null){if(_s===null)throw Error(j(308));Ri=t,_s.dependencies={lanes:0,firstContext:t,responders:null}}else Ri=Ri.next=t;return e._currentValue}var Kr=!1;function pd(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null},effects:null}}function jg(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 qr(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function Qr(e,t){if(e=e.updateQueue,e!==null){e=e.shared;var r=e.pending;r===null?t.next=t:(t.next=r.next,r.next=t),e.pending=t}}function Wg(e,t){var r=e.updateQueue,n=e.alternate;if(n!==null&&(n=n.updateQueue,r===n)){var i=null,a=null;if(r=r.firstBaseUpdate,r!==null){do{var o={eventTime:r.eventTime,lane:r.lane,tag:r.tag,payload:r.payload,callback:r.callback,next:null};a===null?i=a=o:a=a.next=o,r=r.next}while(r!==null);a===null?i=a=t:a=a.next=t}else i=a=t;r={baseState:n.baseState,firstBaseUpdate:i,lastBaseUpdate:a,shared:n.shared,effects:n.effects},e.updateQueue=r;return}e=r.lastBaseUpdate,e===null?r.firstBaseUpdate=t:e.next=t,r.lastBaseUpdate=t}function no(e,t,r,n){var i=e.updateQueue;Kr=!1;var a=i.firstBaseUpdate,o=i.lastBaseUpdate,l=i.shared.pending;if(l!==null){i.shared.pending=null;var s=l,u=s.next;s.next=null,o===null?a=u:o.next=u,o=s;var c=e.alternate;if(c!==null){c=c.updateQueue;var d=c.lastBaseUpdate;d!==o&&(d===null?c.firstBaseUpdate=u:d.next=u,c.lastBaseUpdate=s)}}if(a!==null){d=i.baseState,o=0,c=u=s=null;do{l=a.lane;var f=a.eventTime;if((n&l)===l){c!==null&&(c=c.next={eventTime:f,lane:0,tag:a.tag,payload:a.payload,callback:a.callback,next:null});e:{var p=e,h=a;switch(l=t,f=r,h.tag){case 1:if(p=h.payload,typeof p=="function"){d=p.call(f,d,l);break e}d=p;break e;case 3:p.flags=p.flags&-4097|64;case 0:if(p=h.payload,l=typeof p=="function"?p.call(f,d,l):p,l==null)break e;d=Te({},d,l);break e;case 2:Kr=!0}}a.callback!==null&&(e.flags|=32,l=i.effects,l===null?i.effects=[a]:l.push(a))}else f={eventTime:f,lane:l,tag:a.tag,payload:a.payload,callback:a.callback,next:null},c===null?(u=c=f,s=d):c=c.next=f,o|=l;if(a=a.next,a===null){if(l=i.shared.pending,l===null)break;a=l.next,l.next=null,i.lastBaseUpdate=l,i.shared.pending=null}}while(1);c===null&&(s=d),i.baseState=s,i.firstBaseUpdate=u,i.lastBaseUpdate=c,mo|=o,e.lanes=o,e.memoizedState=d}}function Hg(e,t,r){if(e=t.effects,t.effects=null,e!==null)for(t=0;t<e.length;t++){var n=e[t],i=n.callback;if(i!==null){if(n.callback=null,n=r,typeof i!="function")throw Error(j(191,i));i.call(n)}}}var Ug=new ql.Component().refs;function As(e,t,r,n){t=e.memoizedState,r=r(n,t),r=r==null?t:Te({},t,r),e.memoizedState=r,e.lanes===0&&(e.updateQueue.baseState=r)}var Ms={isMounted:function(e){return(e=e._reactInternals)?In(e)===e:!1},enqueueSetState:function(e,t,r){e=e._reactInternals;var n=Ct(),i=tn(e),a=qr(n,i);a.payload=t,r!=null&&(a.callback=r),Qr(e,a),rn(e,i,n)},enqueueReplaceState:function(e,t,r){e=e._reactInternals;var n=Ct(),i=tn(e),a=qr(n,i);a.tag=1,a.payload=t,r!=null&&(a.callback=r),Qr(e,a),rn(e,i,n)},enqueueForceUpdate:function(e,t){e=e._reactInternals;var r=Ct(),n=tn(e),i=qr(r,n);i.tag=2,t!=null&&(i.callback=t),Qr(e,i),rn(e,n,r)}};function Gg(e,t,r,n,i,a,o){return e=e.stateNode,typeof e.shouldComponentUpdate=="function"?e.shouldComponentUpdate(n,a,o):t.prototype&&t.prototype.isPureReactComponent?!qa(r,n)||!qa(i,a):!0}function Yg(e,t,r){var n=!1,i=Zr,a=t.contextType;return typeof a=="object"&&a!==null?a=Rt(a):(i=vt(t)?Bn:tt.current,n=t.contextTypes,a=(n=n!=null)?Mi(e,i):Zr),t=new t(r,a),e.memoizedState=t.state!==null&&t.state!==void 0?t.state:null,t.updater=Ms,e.stateNode=t,t._reactInternals=e,n&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=i,e.__reactInternalMemoizedMaskedChildContext=a),t}function Xg(e,t,r,n){e=t.state,typeof t.componentWillReceiveProps=="function"&&t.componentWillReceiveProps(r,n),typeof t.UNSAFE_componentWillReceiveProps=="function"&&t.UNSAFE_componentWillReceiveProps(r,n),t.state!==e&&Ms.enqueueReplaceState(t,t.state,null)}function vd(e,t,r,n){var i=e.stateNode;i.props=r,i.state=e.memoizedState,i.refs=Ug,pd(e);var a=t.contextType;typeof a=="object"&&a!==null?i.context=Rt(a):(a=vt(t)?Bn:tt.current,i.context=Mi(e,a)),no(e,r,i,n),i.state=e.memoizedState,a=t.getDerivedStateFromProps,typeof a=="function"&&(As(e,t,a,r),i.state=e.memoizedState),typeof t.getDerivedStateFromProps=="function"||typeof i.getSnapshotBeforeUpdate=="function"||typeof i.UNSAFE_componentWillMount!="function"&&typeof i.componentWillMount!="function"||(t=i.state,typeof i.componentWillMount=="function"&&i.componentWillMount(),typeof i.UNSAFE_componentWillMount=="function"&&i.UNSAFE_componentWillMount(),t!==i.state&&Ms.enqueueReplaceState(i,i.state,null),no(e,r,i,n),i.state=e.memoizedState),typeof i.componentDidMount=="function"&&(e.flags|=4)}var Fs=Array.isArray;function io(e,t,r){if(e=r.ref,e!==null&&typeof e!="function"&&typeof e!="object"){if(r._owner){if(r=r._owner,r){if(r.tag!==1)throw Error(j(309));var n=r.stateNode}if(!n)throw Error(j(147,e));var i=""+e;return t!==null&&t.ref!==null&&typeof t.ref=="function"&&t.ref._stringRef===i?t.ref:(t=function(a){var o=n.refs;o===Ug&&(o=n.refs={}),a===null?delete o[i]:o[i]=a},t._stringRef=i,t)}if(typeof e!="string")throw Error(j(284));if(!r._owner)throw Error(j(290,e))}return e}function Rs(e,t){if(e.type!=="textarea")throw Error(j(31,Object.prototype.toString.call(t)==="[object Object]"?"object with keys {"+Object.keys(t).join(", ")+"}":t))}function Zg(e){function t(v,m){if(e){var y=v.lastEffect;y!==null?(y.nextEffect=m,v.lastEffect=m):v.firstEffect=v.lastEffect=m,m.nextEffect=null,m.flags=8}}function r(v,m){if(!e)return null;for(;m!==null;)t(v,m),m=m.sibling;return null}function n(v,m){for(v=new Map;m!==null;)m.key!==null?v.set(m.key,m):v.set(m.index,m),m=m.sibling;return v}function i(v,m){return v=on(v,m),v.index=0,v.sibling=null,v}function a(v,m,y){return v.index=y,e?(y=v.alternate,y!==null?(y=y.index,y<m?(v.flags=2,m):y):(v.flags=2,m)):m}function o(v){return e&&v.alternate===null&&(v.flags=2),v}function l(v,m,y,b){return m===null||m.tag!==6?(m=Kd(y,v.mode,b),m.return=v,m):(m=i(m,y),m.return=v,m)}function s(v,m,y,b){return m!==null&&m.elementType===y.type?(b=i(m,y.props),b.ref=io(v,m,y),b.return=v,b):(b=qs(y.type,y.key,y.props,null,v.mode,b),b.ref=io(v,m,y),b.return=v,b)}function u(v,m,y,b){return m===null||m.tag!==4||m.stateNode.containerInfo!==y.containerInfo||m.stateNode.implementation!==y.implementation?(m=qd(y,v.mode,b),m.return=v,m):(m=i(m,y.children||[]),m.return=v,m)}function c(v,m,y,b,x){return m===null||m.tag!==7?(m=ji(y,v.mode,b,x),m.return=v,m):(m=i(m,y),m.return=v,m)}function d(v,m,y){if(typeof m=="string"||typeof m=="number")return m=Kd(""+m,v.mode,y),m.return=v,m;if(typeof m=="object"&&m!==null){switch(m.$$typeof){case Aa:return y=qs(m.type,m.key,m.props,null,v.mode,y),y.ref=io(v,null,m),y.return=v,y;case Fn:return m=qd(m,v.mode,y),m.return=v,m}if(Fs(m)||Ra(m))return m=ji(m,v.mode,y,null),m.return=v,m;Rs(v,m)}return null}function f(v,m,y,b){var x=m!==null?m.key:null;if(typeof y=="string"||typeof y=="number")return x!==null?null:l(v,m,""+y,b);if(typeof y=="object"&&y!==null){switch(y.$$typeof){case Aa:return y.key===x?y.type===Nr?c(v,m,y.props.children,b,x):s(v,m,y,b):null;case Fn:return y.key===x?u(v,m,y,b):null}if(Fs(y)||Ra(y))return x!==null?null:c(v,m,y,b,null);Rs(v,y)}return null}function p(v,m,y,b,x){if(typeof b=="string"||typeof b=="number")return v=v.get(y)||null,l(m,v,""+b,x);if(typeof b=="object"&&b!==null){switch(b.$$typeof){case Aa:return v=v.get(b.key===null?y:b.key)||null,b.type===Nr?c(m,v,b.props.children,x,b.key):s(m,v,b,x);case Fn:return v=v.get(b.key===null?y:b.key)||null,u(m,v,b,x)}if(Fs(b)||Ra(b))return v=v.get(y)||null,c(m,v,b,x,null);Rs(m,b)}return null}function h(v,m,y,b){for(var x=null,E=null,k=m,T=m=0,A=null;k!==null&&T<y.length;T++){k.index>T?(A=k,k=null):A=k.sibling;var O=f(v,k,y[T],b);if(O===null){k===null&&(k=A);break}e&&k&&O.alternate===null&&t(v,k),m=a(O,m,T),E===null?x=O:E.sibling=O,E=O,k=A}if(T===y.length)return r(v,k),x;if(k===null){for(;T<y.length;T++)k=d(v,y[T],b),k!==null&&(m=a(k,m,T),E===null?x=k:E.sibling=k,E=k);return x}for(k=n(v,k);T<y.length;T++)A=p(k,v,T,y[T],b),A!==null&&(e&&A.alternate!==null&&k.delete(A.key===null?T:A.key),m=a(A,m,T),E===null?x=A:E.sibling=A,E=A);return e&&k.forEach(function(B){return t(v,B)}),x}function g(v,m,y,b){var x=Ra(y);if(typeof x!="function")throw Error(j(150));if(y=x.call(y),y==null)throw Error(j(151));for(var E=x=null,k=m,T=m=0,A=null,O=y.next();k!==null&&!O.done;T++,O=y.next()){k.index>T?(A=k,k=null):A=k.sibling;var B=f(v,k,O.value,b);if(B===null){k===null&&(k=A);break}e&&k&&B.alternate===null&&t(v,k),m=a(B,m,T),E===null?x=B:E.sibling=B,E=B,k=A}if(O.done)return r(v,k),x;if(k===null){for(;!O.done;T++,O=y.next())O=d(v,O.value,b),O!==null&&(m=a(O,m,T),E===null?x=O:E.sibling=O,E=O);return x}for(k=n(v,k);!O.done;T++,O=y.next())O=p(k,v,T,O.value,b),O!==null&&(e&&O.alternate!==null&&k.delete(O.key===null?T:O.key),m=a(O,m,T),E===null?x=O:E.sibling=O,E=O);return e&&k.forEach(function(H){return t(v,H)}),x}return function(v,m,y,b){var x=typeof y=="object"&&y!==null&&y.type===Nr&&y.key===null;x&&(y=y.props.children);var E=typeof y=="object"&&y!==null;if(E)switch(y.$$typeof){case Aa:e:{for(E=y.key,x=m;x!==null;){if(x.key===E){switch(x.tag){case 7:if(y.type===Nr){r(v,x.sibling),m=i(x,y.props.children),m.return=v,v=m;break e}break;default:if(x.elementType===y.type){r(v,x.sibling),m=i(x,y.props),m.ref=io(v,x,y),m.return=v,v=m;break e}}r(v,x);break}else t(v,x);x=x.sibling}y.type===Nr?(m=ji(y.props.children,v.mode,b,y.key),m.return=v,v=m):(b=qs(y.type,y.key,y.props,null,v.mode,b),b.ref=io(v,m,y),b.return=v,v=b)}return o(v);case Fn:e:{for(x=y.key;m!==null;){if(m.key===x)if(m.tag===4&&m.stateNode.containerInfo===y.containerInfo&&m.stateNode.implementation===y.implementation){r(v,m.sibling),m=i(m,y.children||[]),m.return=v,v=m;break e}else{r(v,m);break}else t(v,m);m=m.sibling}m=qd(y,v.mode,b),m.return=v,v=m}return o(v)}if(typeof y=="string"||typeof y=="number")return y=""+y,m!==null&&m.tag===6?(r(v,m.sibling),m=i(m,y),m.return=v,v=m):(r(v,m),m=Kd(y,v.mode,b),m.return=v,v=m),o(v);if(Fs(y))return h(v,m,y,b);if(Ra(y))return g(v,m,y,b);if(E&&Rs(v,y),typeof y=="undefined"&&!x)switch(v.tag){case 1:case 22:case 0:case 11:case 15:throw Error(j(152,mi(v.type)||"Component"))}return r(v,m)}}var Is=Zg(!0),Kg=Zg(!1),ao={},lr=Xr(ao),oo=Xr(ao),lo=Xr(ao);function zn(e){if(e===ao)throw Error(j(174));return e}function hd(e,t){switch(Me(lo,t),Me(oo,e),Me(lr,ao),e=t.nodeType,e){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:xf(null,"");break;default:e=e===8?t.parentNode:t,t=e.namespaceURI||null,e=e.tagName,t=xf(t,e)}we(lr),Me(lr,t)}function Li(){we(lr),we(oo),we(lo)}function qg(e){zn(lo.current);var t=zn(lr.current),r=xf(t,e.type);t!==r&&(Me(oo,e),Me(lr,r))}function md(e){oo.current===e&&(we(lr),we(oo))}var Fe=Xr(0);function Ls(e){for(var t=e;t!==null;){if(t.tag===13){var r=t.memoizedState;if(r!==null&&(r=r.dehydrated,r===null||r.data==="$?"||r.data==="$!"))return t}else if(t.tag===19&&t.memoizedProps.revealOrder!==void 0){if((t.flags&64)!==0)return t}else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var Sr=null,Jr=null,sr=!1;function Qg(e,t){var r=Bt(5,null,null,0);r.elementType="DELETED",r.type="DELETED",r.stateNode=t,r.return=e,r.flags=8,e.lastEffect!==null?(e.lastEffect.nextEffect=r,e.lastEffect=r):e.firstEffect=e.lastEffect=r}function Jg(e,t){switch(e.tag){case 5:var r=e.type;return t=t.nodeType!==1||r.toLowerCase()!==t.nodeName.toLowerCase()?null:t,t!==null?(e.stateNode=t,!0):!1;case 6:return t=e.pendingProps===""||t.nodeType!==3?null:t,t!==null?(e.stateNode=t,!0):!1;case 13:return!1;default:return!1}}function gd(e){if(sr){var t=Jr;if(t){var r=t;if(!Jg(e,t)){if(t=Pi(r.nextSibling),!t||!Jg(e,t)){e.flags=e.flags&-1025|2,sr=!1,Sr=e;return}Qg(Sr,r)}Sr=e,Jr=Pi(t.firstChild)}else e.flags=e.flags&-1025|2,sr=!1,Sr=e}}function ey(e){for(e=e.return;e!==null&&e.tag!==5&&e.tag!==3&&e.tag!==13;)e=e.return;Sr=e}function Bs(e){if(e!==Sr)return!1;if(!sr)return ey(e),sr=!0,!1;var t=e.type;if(e.tag!==5||t!=="head"&&t!=="body"&&!td(t,e.memoizedProps))for(t=Jr;t;)Qg(e,t),t=Pi(t.nextSibling);if(ey(e),e.tag===13){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(j(317));e:{for(e=e.nextSibling,t=0;e;){if(e.nodeType===8){var r=e.data;if(r==="/$"){if(t===0){Jr=Pi(e.nextSibling);break e}t--}else r!=="$"&&r!=="$!"&&r!=="$?"||t++}e=e.nextSibling}Jr=null}}else Jr=Sr?Pi(e.stateNode.nextSibling):null;return!0}function yd(){Jr=Sr=null,sr=!1}var Bi=[];function bd(){for(var e=0;e<Bi.length;e++)Bi[e]._workInProgressVersionPrimary=null;Bi.length=0}var so=Mn.ReactCurrentDispatcher,It=Mn.ReactCurrentBatchConfig,uo=0,$e=null,nt=null,Ze=null,$s=!1,co=!1;function ht(){throw Error(j(321))}function xd(e,t){if(t===null)return!1;for(var r=0;r<t.length&&r<e.length;r++)if(!Ft(e[r],t[r]))return!1;return!0}function Sd(e,t,r,n,i,a){if(uo=a,$e=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,so.current=e===null||e.memoizedState===null?u3:c3,e=r(n,i),co){a=0;do{if(co=!1,!(25>a))throw Error(j(301));a+=1,Ze=nt=null,t.updateQueue=null,so.current=f3,e=r(n,i)}while(co)}if(so.current=Vs,t=nt!==null&&nt.next!==null,uo=0,Ze=nt=$e=null,$s=!1,t)throw Error(j(300));return e}function Nn(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return Ze===null?$e.memoizedState=Ze=e:Ze=Ze.next=e,Ze}function Vn(){if(nt===null){var e=$e.alternate;e=e!==null?e.memoizedState:null}else e=nt.next;var t=Ze===null?$e.memoizedState:Ze.next;if(t!==null)Ze=t,nt=e;else{if(e===null)throw Error(j(310));nt=e,e={memoizedState:nt.memoizedState,baseState:nt.baseState,baseQueue:nt.baseQueue,queue:nt.queue,next:null},Ze===null?$e.memoizedState=Ze=e:Ze=Ze.next=e}return Ze}function ur(e,t){return typeof t=="function"?t(e):t}function fo(e){var t=Vn(),r=t.queue;if(r===null)throw Error(j(311));r.lastRenderedReducer=e;var n=nt,i=n.baseQueue,a=r.pending;if(a!==null){if(i!==null){var o=i.next;i.next=a.next,a.next=o}n.baseQueue=i=a,r.pending=null}if(i!==null){i=i.next,n=n.baseState;var l=o=a=null,s=i;do{var u=s.lane;if((uo&u)===u)l!==null&&(l=l.next={lane:0,action:s.action,eagerReducer:s.eagerReducer,eagerState:s.eagerState,next:null}),n=s.eagerReducer===e?s.eagerState:e(n,s.action);else{var c={lane:u,action:s.action,eagerReducer:s.eagerReducer,eagerState:s.eagerState,next:null};l===null?(o=l=c,a=n):l=l.next=c,$e.lanes|=u,mo|=u}s=s.next}while(s!==null&&s!==i);l===null?a=n:l.next=o,Ft(n,t.memoizedState)||(Xt=!0),t.memoizedState=n,t.baseState=a,t.baseQueue=l,r.lastRenderedState=n}return[t.memoizedState,r.dispatch]}function po(e){var t=Vn(),r=t.queue;if(r===null)throw Error(j(311));r.lastRenderedReducer=e;var n=r.dispatch,i=r.pending,a=t.memoizedState;if(i!==null){r.pending=null;var o=i=i.next;do a=e(a,o.action),o=o.next;while(o!==i);Ft(a,t.memoizedState)||(Xt=!0),t.memoizedState=a,t.baseQueue===null&&(t.baseState=a),r.lastRenderedState=a}return[a,n]}function ty(e,t,r){var n=t._getVersion;n=n(t._source);var i=t._workInProgressVersionPrimary;if(i!==null?e=i===n:(e=e.mutableReadLanes,(e=(uo&e)===e)&&(t._workInProgressVersionPrimary=n,Bi.push(t))),e)return r(t._source);throw Bi.push(t),Error(j(350))}function ry(e,t,r,n){var i=st;if(i===null)throw Error(j(349));var a=t._getVersion,o=a(t._source),l=so.current,s=l.useState(function(){return ty(i,t,r)}),u=s[1],c=s[0];s=Ze;var d=e.memoizedState,f=d.refs,p=f.getSnapshot,h=d.source;d=d.subscribe;var g=$e;return e.memoizedState={refs:f,source:t,subscribe:n},l.useEffect(function(){f.getSnapshot=r,f.setSnapshot=u;var v=a(t._source);if(!Ft(o,v)){v=r(t._source),Ft(c,v)||(u(v),v=tn(g),i.mutableReadLanes|=v&i.pendingLanes),v=i.mutableReadLanes,i.entangledLanes|=v;for(var m=i.entanglements,y=v;0<y;){var b=31-Ur(y),x=1<<b;m[b]|=v,y&=~x}}},[r,t,n]),l.useEffect(function(){return n(t._source,function(){var v=f.getSnapshot,m=f.setSnapshot;try{m(v(t._source));var y=tn(g);i.mutableReadLanes|=y&i.pendingLanes}catch(b){m(function(){throw b})}})},[t,n]),Ft(p,r)&&Ft(h,t)&&Ft(d,n)||(e={pending:null,dispatch:null,lastRenderedReducer:ur,lastRenderedState:c},e.dispatch=u=kd.bind(null,$e,e),s.queue=e,s.baseQueue=null,c=ty(i,t,r),s.memoizedState=s.baseState=c),c}function ny(e,t,r){var n=Vn();return ry(n,e,t,r)}function vo(e){var t=Nn();return typeof e=="function"&&(e=e()),t.memoizedState=t.baseState=e,e=t.queue={pending:null,dispatch:null,lastRenderedReducer:ur,lastRenderedState:e},e=e.dispatch=kd.bind(null,$e,e),[t.memoizedState,e]}function Ds(e,t,r,n){return e={tag:e,create:t,destroy:r,deps:n,next:null},t=$e.updateQueue,t===null?(t={lastEffect:null},$e.updateQueue=t,t.lastEffect=e.next=e):(r=t.lastEffect,r===null?t.lastEffect=e.next=e:(n=r.next,r.next=e,e.next=n,t.lastEffect=e)),e}function iy(e){var t=Nn();return e={current:e},t.memoizedState=e}function zs(){return Vn().memoizedState}function wd(e,t,r,n){var i=Nn();$e.flags|=e,i.memoizedState=Ds(1|t,r,void 0,n===void 0?null:n)}function Cd(e,t,r,n){var i=Vn();n=n===void 0?null:n;var a=void 0;if(nt!==null){var o=nt.memoizedState;if(a=o.destroy,n!==null&&xd(n,o.deps)){Ds(t,r,a,n);return}}$e.flags|=e,i.memoizedState=Ds(1|t,r,a,n)}function ay(e,t){return wd(516,4,e,t)}function Ns(e,t){return Cd(516,4,e,t)}function oy(e,t){return Cd(4,2,e,t)}function ly(e,t){if(typeof t=="function")return e=e(),t(e),function(){t(null)};if(t!=null)return e=e(),t.current=e,function(){t.current=null}}function sy(e,t,r){return r=r!=null?r.concat([e]):null,Cd(4,2,ly.bind(null,t,e),r)}function Ed(){}function uy(e,t){var r=Vn();t=t===void 0?null:t;var n=r.memoizedState;return n!==null&&t!==null&&xd(t,n[1])?n[0]:(r.memoizedState=[e,t],e)}function cy(e,t){var r=Vn();t=t===void 0?null:t;var n=r.memoizedState;return n!==null&&t!==null&&xd(t,n[1])?n[0]:(e=e(),r.memoizedState=[e,t],e)}function s3(e,t){var r=Fi();Dn(98>r?98:r,function(){e(!0)}),Dn(97<r?97:r,function(){var n=It.transition;It.transition=1;try{e(!1),t()}finally{It.transition=n}})}function kd(e,t,r){var n=Ct(),i=tn(e),a={lane:i,action:r,eagerReducer:null,eagerState:null,next:null},o=t.pending;if(o===null?a.next=a:(a.next=o.next,o.next=a),t.pending=a,o=e.alternate,e===$e||o!==null&&o===$e)co=$s=!0;else{if(e.lanes===0&&(o===null||o.lanes===0)&&(o=t.lastRenderedReducer,o!==null))try{var l=t.lastRenderedState,s=o(l,r);if(a.eagerReducer=o,a.eagerState=s,Ft(s,l))return}catch{}finally{}rn(e,i,n)}}var Vs={readContext:Rt,useCallback:ht,useContext:ht,useEffect:ht,useImperativeHandle:ht,useLayoutEffect:ht,useMemo:ht,useReducer:ht,useRef:ht,useState:ht,useDebugValue:ht,useDeferredValue:ht,useTransition:ht,useMutableSource:ht,useOpaqueIdentifier:ht,unstable_isNewReconciler:!1},u3={readContext:Rt,useCallback:function(e,t){return Nn().memoizedState=[e,t===void 0?null:t],e},useContext:Rt,useEffect:ay,useImperativeHandle:function(e,t,r){return r=r!=null?r.concat([e]):null,wd(4,2,ly.bind(null,t,e),r)},useLayoutEffect:function(e,t){return wd(4,2,e,t)},useMemo:function(e,t){var r=Nn();return t=t===void 0?null:t,e=e(),r.memoizedState=[e,t],e},useReducer:function(e,t,r){var n=Nn();return t=r!==void 0?r(t):t,n.memoizedState=n.baseState=t,e=n.queue={pending:null,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},e=e.dispatch=kd.bind(null,$e,e),[n.memoizedState,e]},useRef:iy,useState:vo,useDebugValue:Ed,useDeferredValue:function(e){var t=vo(e),r=t[0],n=t[1];return ay(function(){var i=It.transition;It.transition=1;try{n(e)}finally{It.transition=i}},[e]),r},useTransition:function(){var e=vo(!1),t=e[0];return e=s3.bind(null,e[1]),iy(e),[e,t]},useMutableSource:function(e,t,r){var n=Nn();return n.memoizedState={refs:{getSnapshot:t,setSnapshot:null},source:e,subscribe:r},ry(n,e,t,r)},useOpaqueIdentifier:function(){if(sr){var e=!1,t=r3(function(){throw e||(e=!0,r("r:"+(nd++).toString(36))),Error(j(355))}),r=vo(t)[1];return($e.mode&2)===0&&($e.flags|=516,Ds(5,function(){r("r:"+(nd++).toString(36))},void 0,null)),t}return t="r:"+(nd++).toString(36),vo(t),t},unstable_isNewReconciler:!1},c3={readContext:Rt,useCallback:uy,useContext:Rt,useEffect:Ns,useImperativeHandle:sy,useLayoutEffect:oy,useMemo:cy,useReducer:fo,useRef:zs,useState:function(){return fo(ur)},useDebugValue:Ed,useDeferredValue:function(e){var t=fo(ur),r=t[0],n=t[1];return Ns(function(){var i=It.transition;It.transition=1;try{n(e)}finally{It.transition=i}},[e]),r},useTransition:function(){var e=fo(ur)[0];return[zs().current,e]},useMutableSource:ny,useOpaqueIdentifier:function(){return fo(ur)[0]},unstable_isNewReconciler:!1},f3={readContext:Rt,useCallback:uy,useContext:Rt,useEffect:Ns,useImperativeHandle:sy,useLayoutEffect:oy,useMemo:cy,useReducer:po,useRef:zs,useState:function(){return po(ur)},useDebugValue:Ed,useDeferredValue:function(e){var t=po(ur),r=t[0],n=t[1];return Ns(function(){var i=It.transition;It.transition=1;try{n(e)}finally{It.transition=i}},[e]),r},useTransition:function(){var e=po(ur)[0];return[zs().current,e]},useMutableSource:ny,useOpaqueIdentifier:function(){return po(ur)[0]},unstable_isNewReconciler:!1},d3=Mn.ReactCurrentOwner,Xt=!1;function mt(e,t,r,n){t.child=e===null?Kg(t,null,r,n):Is(t,e.child,r,n)}function fy(e,t,r,n,i){r=r.render;var a=t.ref;return Ii(t,i),n=Sd(e,t,r,n,a,i),e!==null&&!Xt?(t.updateQueue=e.updateQueue,t.flags&=-517,e.lanes&=~i,wr(e,t,i)):(t.flags|=1,mt(e,t,n,i),t.child)}function dy(e,t,r,n,i,a){if(e===null){var o=r.type;return typeof o=="function"&&!Xd(o)&&o.defaultProps===void 0&&r.compare===null&&r.defaultProps===void 0?(t.tag=15,t.type=o,py(e,t,o,n,i,a)):(e=qs(r.type,null,n,t,t.mode,a),e.ref=t.ref,e.return=t,t.child=e)}return o=e.child,(i&a)===0&&(i=o.memoizedProps,r=r.compare,r=r!==null?r:qa,r(i,n)&&e.ref===t.ref)?wr(e,t,a):(t.flags|=1,e=on(o,n),e.ref=t.ref,e.return=t,t.child=e)}function py(e,t,r,n,i,a){if(e!==null&&qa(e.memoizedProps,n)&&e.ref===t.ref)if(Xt=!1,(a&i)!==0)(e.flags&16384)!==0&&(Xt=!0);else return t.lanes=e.lanes,wr(e,t,a);return Pd(e,t,r,n,a)}function Td(e,t,r){var n=t.pendingProps,i=n.children,a=e!==null?e.memoizedState:null;if(n.mode==="hidden"||n.mode==="unstable-defer-without-hiding")if((t.mode&4)===0)t.memoizedState={baseLanes:0},Ks(t,r);else if((r&1073741824)!==0)t.memoizedState={baseLanes:0},Ks(t,a!==null?a.baseLanes:r);else return e=a!==null?a.baseLanes|r:r,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e},Ks(t,e),null;else a!==null?(n=a.baseLanes|r,t.memoizedState=null):n=r,Ks(t,n);return mt(e,t,i,r),t.child}function vy(e,t){var r=t.ref;(e===null&&r!==null||e!==null&&e.ref!==r)&&(t.flags|=128)}function Pd(e,t,r,n,i){var a=vt(r)?Bn:tt.current;return a=Mi(t,a),Ii(t,i),r=Sd(e,t,r,n,a,i),e!==null&&!Xt?(t.updateQueue=e.updateQueue,t.flags&=-517,e.lanes&=~i,wr(e,t,i)):(t.flags|=1,mt(e,t,r,i),t.child)}function hy(e,t,r,n,i){if(vt(r)){var a=!0;Es(t)}else a=!1;if(Ii(t,i),t.stateNode===null)e!==null&&(e.alternate=null,t.alternate=null,t.flags|=2),Yg(t,r,n),vd(t,r,n,i),n=!0;else if(e===null){var o=t.stateNode,l=t.memoizedProps;o.props=l;var s=o.context,u=r.contextType;typeof u=="object"&&u!==null?u=Rt(u):(u=vt(r)?Bn:tt.current,u=Mi(t,u));var c=r.getDerivedStateFromProps,d=typeof c=="function"||typeof o.getSnapshotBeforeUpdate=="function";d||typeof o.UNSAFE_componentWillReceiveProps!="function"&&typeof o.componentWillReceiveProps!="function"||(l!==n||s!==u)&&Xg(t,o,n,u),Kr=!1;var f=t.memoizedState;o.state=f,no(t,n,o,i),s=t.memoizedState,l!==n||f!==s||pt.current||Kr?(typeof c=="function"&&(As(t,r,c,n),s=t.memoizedState),(l=Kr||Gg(t,r,l,n,f,s,u))?(d||typeof o.UNSAFE_componentWillMount!="function"&&typeof o.componentWillMount!="function"||(typeof o.componentWillMount=="function"&&o.componentWillMount(),typeof o.UNSAFE_componentWillMount=="function"&&o.UNSAFE_componentWillMount()),typeof o.componentDidMount=="function"&&(t.flags|=4)):(typeof o.componentDidMount=="function"&&(t.flags|=4),t.memoizedProps=n,t.memoizedState=s),o.props=n,o.state=s,o.context=u,n=l):(typeof o.componentDidMount=="function"&&(t.flags|=4),n=!1)}else{o=t.stateNode,jg(e,t),l=t.memoizedProps,u=t.type===t.elementType?l:Yt(t.type,l),o.props=u,d=t.pendingProps,f=o.context,s=r.contextType,typeof s=="object"&&s!==null?s=Rt(s):(s=vt(r)?Bn:tt.current,s=Mi(t,s));var p=r.getDerivedStateFromProps;(c=typeof p=="function"||typeof o.getSnapshotBeforeUpdate=="function")||typeof o.UNSAFE_componentWillReceiveProps!="function"&&typeof o.componentWillReceiveProps!="function"||(l!==d||f!==s)&&Xg(t,o,n,s),Kr=!1,f=t.memoizedState,o.state=f,no(t,n,o,i);var h=t.memoizedState;l!==d||f!==h||pt.current||Kr?(typeof p=="function"&&(As(t,r,p,n),h=t.memoizedState),(u=Kr||Gg(t,r,u,n,f,h,s))?(c||typeof o.UNSAFE_componentWillUpdate!="function"&&typeof o.componentWillUpdate!="function"||(typeof o.componentWillUpdate=="function"&&o.componentWillUpdate(n,h,s),typeof o.UNSAFE_componentWillUpdate=="function"&&o.UNSAFE_componentWillUpdate(n,h,s)),typeof o.componentDidUpdate=="function"&&(t.flags|=4),typeof o.getSnapshotBeforeUpdate=="function"&&(t.flags|=256)):(typeof o.componentDidUpdate!="function"||l===e.memoizedProps&&f===e.memoizedState||(t.flags|=4),typeof o.getSnapshotBeforeUpdate!="function"||l===e.memoizedProps&&f===e.memoizedState||(t.flags|=256),t.memoizedProps=n,t.memoizedState=h),o.props=n,o.state=h,o.context=s,n=u):(typeof o.componentDidUpdate!="function"||l===e.memoizedProps&&f===e.memoizedState||(t.flags|=4),typeof o.getSnapshotBeforeUpdate!="function"||l===e.memoizedProps&&f===e.memoizedState||(t.flags|=256),n=!1)}return _d(e,t,r,n,a,i)}function _d(e,t,r,n,i,a){vy(e,t);var o=(t.flags&64)!==0;if(!n&&!o)return i&&Fg(t,r,!1),wr(e,t,a);n=t.stateNode,d3.current=t;var l=o&&typeof r.getDerivedStateFromError!="function"?null:n.render();return t.flags|=1,e!==null&&o?(t.child=Is(t,e.child,null,a),t.child=Is(t,null,l,a)):mt(e,t,l,a),t.memoizedState=n.state,i&&Fg(t,r,!0),t.child}function my(e){var t=e.stateNode;t.pendingContext?Ag(e,t.pendingContext,t.pendingContext!==t.context):t.context&&Ag(e,t.context,!1),hd(e,t.containerInfo)}var js={dehydrated:null,retryLane:0};function gy(e,t,r){var n=t.pendingProps,i=Fe.current,a=!1,o;return(o=(t.flags&64)!==0)||(o=e!==null&&e.memoizedState===null?!1:(i&2)!==0),o?(a=!0,t.flags&=-65):e!==null&&e.memoizedState===null||n.fallback===void 0||n.unstable_avoidThisFallback===!0||(i|=1),Me(Fe,i&1),e===null?(n.fallback!==void 0&&gd(t),e=n.children,i=n.fallback,a?(e=yy(t,e,i,r),t.child.memoizedState={baseLanes:r},t.memoizedState=js,e):typeof n.unstable_expectedLoadTime=="number"?(e=yy(t,e,i,r),t.child.memoizedState={baseLanes:r},t.memoizedState=js,t.lanes=33554432,e):(r=Zd({mode:"visible",children:e},t.mode,r,null),r.return=t,t.child=r)):e.memoizedState!==null?a?(n=xy(e,t,n.children,n.fallback,r),a=t.child,i=e.child.memoizedState,a.memoizedState=i===null?{baseLanes:r}:{baseLanes:i.baseLanes|r},a.childLanes=e.childLanes&~r,t.memoizedState=js,n):(r=by(e,t,n.children,r),t.memoizedState=null,r):a?(n=xy(e,t,n.children,n.fallback,r),a=t.child,i=e.child.memoizedState,a.memoizedState=i===null?{baseLanes:r}:{baseLanes:i.baseLanes|r},a.childLanes=e.childLanes&~r,t.memoizedState=js,n):(r=by(e,t,n.children,r),t.memoizedState=null,r)}function yy(e,t,r,n){var i=e.mode,a=e.child;return t={mode:"hidden",children:t},(i&2)===0&&a!==null?(a.childLanes=0,a.pendingProps=t):a=Zd(t,i,0,null),r=ji(r,i,n,null),a.return=e,r.return=e,a.sibling=r,e.child=a,r}function by(e,t,r,n){var i=e.child;return e=i.sibling,r=on(i,{mode:"visible",children:r}),(t.mode&2)===0&&(r.lanes=n),r.return=t,r.sibling=null,e!==null&&(e.nextEffect=null,e.flags=8,t.firstEffect=t.lastEffect=e),t.child=r}function xy(e,t,r,n,i){var a=t.mode,o=e.child;e=o.sibling;var l={mode:"hidden",children:r};return(a&2)===0&&t.child!==o?(r=t.child,r.childLanes=0,r.pendingProps=l,o=r.lastEffect,o!==null?(t.firstEffect=r.firstEffect,t.lastEffect=o,o.nextEffect=null):t.firstEffect=t.lastEffect=null):r=on(o,l),e!==null?n=on(e,n):(n=ji(n,a,i,null),n.flags|=2),n.return=t,r.return=t,r.sibling=n,t.child=r,n}function Sy(e,t){e.lanes|=t;var r=e.alternate;r!==null&&(r.lanes|=t),Vg(e.return,t)}function Od(e,t,r,n,i,a){var o=e.memoizedState;o===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:n,tail:r,tailMode:i,lastEffect:a}:(o.isBackwards=t,o.rendering=null,o.renderingStartTime=0,o.last=n,o.tail=r,o.tailMode=i,o.lastEffect=a)}function wy(e,t,r){var n=t.pendingProps,i=n.revealOrder,a=n.tail;if(mt(e,t,n.children,r),n=Fe.current,(n&2)!==0)n=n&1|2,t.flags|=64;else{if(e!==null&&(e.flags&64)!==0)e:for(e=t.child;e!==null;){if(e.tag===13)e.memoizedState!==null&&Sy(e,r);else if(e.tag===19)Sy(e,r);else if(e.child!==null){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;e.sibling===null;){if(e.return===null||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}n&=1}if(Me(Fe,n),(t.mode&2)===0)t.memoizedState=null;else switch(i){case"forwards":for(r=t.child,i=null;r!==null;)e=r.alternate,e!==null&&Ls(e)===null&&(i=r),r=r.sibling;r=i,r===null?(i=t.child,t.child=null):(i=r.sibling,r.sibling=null),Od(t,!1,i,r,a,t.lastEffect);break;case"backwards":for(r=null,i=t.child,t.child=null;i!==null;){if(e=i.alternate,e!==null&&Ls(e)===null){t.child=i;break}e=i.sibling,i.sibling=r,r=i,i=e}Od(t,!0,r,null,a,t.lastEffect);break;case"together":Od(t,!1,null,null,void 0,t.lastEffect);break;default:t.memoizedState=null}return t.child}function wr(e,t,r){if(e!==null&&(t.dependencies=e.dependencies),mo|=t.lanes,(r&t.childLanes)!==0){if(e!==null&&t.child!==e.child)throw Error(j(153));if(t.child!==null){for(e=t.child,r=on(e,e.pendingProps),t.child=r,r.return=t;e.sibling!==null;)e=e.sibling,r=r.sibling=on(e,e.pendingProps),r.return=t;r.sibling=null}return t.child}return null}var Cy,Ad,Ey,ky;Cy=function(e,t){for(var r=t.child;r!==null;){if(r.tag===5||r.tag===6)e.appendChild(r.stateNode);else if(r.tag!==4&&r.child!==null){r.child.return=r,r=r.child;continue}if(r===t)break;for(;r.sibling===null;){if(r.return===null||r.return===t)return;r=r.return}r.sibling.return=r.return,r=r.sibling}},Ad=function(){},Ey=function(e,t,r,n){var i=e.memoizedProps;if(i!==n){e=t.stateNode,zn(lr.current);var a=null;switch(r){case"input":i=vf(e,i),n=vf(e,n),a=[];break;case"option":i=gf(e,i),n=gf(e,n),a=[];break;case"select":i=Te({},i,{value:void 0}),n=Te({},n,{value:void 0}),a=[];break;case"textarea":i=yf(e,i),n=yf(e,n),a=[];break;default:typeof i.onClick!="function"&&typeof n.onClick=="function"&&(e.onclick=bs)}Sf(r,n);var o;r=null;for(u in i)if(!n.hasOwnProperty(u)&&i.hasOwnProperty(u)&&i[u]!=null)if(u==="style"){var l=i[u];for(o in l)l.hasOwnProperty(o)&&(r||(r={}),r[o]="")}else u!=="dangerouslySetInnerHTML"&&u!=="children"&&u!=="suppressContentEditableWarning"&&u!=="suppressHydrationWarning"&&u!=="autoFocus"&&(Oa.hasOwnProperty(u)?a||(a=[]):(a=a||[]).push(u,null));for(u in n){var s=n[u];if(l=i!=null?i[u]:void 0,n.hasOwnProperty(u)&&s!==l&&(s!=null||l!=null))if(u==="style")if(l){for(o in l)!l.hasOwnProperty(o)||s&&s.hasOwnProperty(o)||(r||(r={}),r[o]="");for(o in s)s.hasOwnProperty(o)&&l[o]!==s[o]&&(r||(r={}),r[o]=s[o])}else r||(a||(a=[]),a.push(u,r)),r=s;else u==="dangerouslySetInnerHTML"?(s=s?s.__html:void 0,l=l?l.__html:void 0,s!=null&&l!==s&&(a=a||[]).push(u,s)):u==="children"?typeof s!="string"&&typeof s!="number"||(a=a||[]).push(u,""+s):u!=="suppressContentEditableWarning"&&u!=="suppressHydrationWarning"&&(Oa.hasOwnProperty(u)?(s!=null&&u==="onScroll"&&Se("scroll",e),a||l===s||(a=[])):typeof s=="object"&&s!==null&&s.$$typeof===uf?s.toString():(a=a||[]).push(u,s))}r&&(a=a||[]).push("style",r);var u=a;(t.updateQueue=u)&&(t.flags|=4)}},ky=function(e,t,r,n){r!==n&&(t.flags|=4)};function ho(e,t){if(!sr)switch(e.tailMode){case"hidden":t=e.tail;for(var r=null;t!==null;)t.alternate!==null&&(r=t),t=t.sibling;r===null?e.tail=null:r.sibling=null;break;case"collapsed":r=e.tail;for(var n=null;r!==null;)r.alternate!==null&&(n=r),r=r.sibling;n===null?t||e.tail===null?e.tail=null:e.tail.sibling=null:n.sibling=null}}function p3(e,t,r){var n=t.pendingProps;switch(t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return null;case 1:return vt(t.type)&&Cs(),null;case 3:return Li(),we(pt),we(tt),bd(),n=t.stateNode,n.pendingContext&&(n.context=n.pendingContext,n.pendingContext=null),(e===null||e.child===null)&&(Bs(t)?t.flags|=4:n.hydrate||(t.flags|=256)),Ad(t),null;case 5:md(t);var i=zn(lo.current);if(r=t.type,e!==null&&t.stateNode!=null)Ey(e,t,r,n,i),e.ref!==t.ref&&(t.flags|=128);else{if(!n){if(t.stateNode===null)throw Error(j(166));return null}if(e=zn(lr.current),Bs(t)){n=t.stateNode,r=t.type;var a=t.memoizedProps;switch(n[Yr]=t,n[Ss]=a,r){case"dialog":Se("cancel",n),Se("close",n);break;case"iframe":case"object":case"embed":Se("load",n);break;case"video":case"audio":for(e=0;e<Ja.length;e++)Se(Ja[e],n);break;case"source":Se("error",n);break;case"img":case"image":case"link":Se("error",n),Se("load",n);break;case"details":Se("toggle",n);break;case"input":h0(n,a),Se("invalid",n);break;case"select":n._wrapperState={wasMultiple:!!a.multiple},Se("invalid",n);break;case"textarea":y0(n,a),Se("invalid",n)}Sf(r,a),e=null;for(var o in a)a.hasOwnProperty(o)&&(i=a[o],o==="children"?typeof i=="string"?n.textContent!==i&&(e=["children",i]):typeof i=="number"&&n.textContent!==""+i&&(e=["children",""+i]):Oa.hasOwnProperty(o)&&i!=null&&o==="onScroll"&&Se("scroll",n));switch(r){case"input":rs(n),g0(n,a,!0);break;case"textarea":rs(n),x0(n);break;case"select":case"option":break;default:typeof a.onClick=="function"&&(n.onclick=bs)}n=e,t.updateQueue=n,n!==null&&(t.flags|=4)}else{switch(o=i.nodeType===9?i:i.ownerDocument,e===bf.html&&(e=S0(r)),e===bf.html?r==="script"?(e=o.createElement("div"),e.innerHTML="<script><\/script>",e=e.removeChild(e.firstChild)):typeof n.is=="string"?e=o.createElement(r,{is:n.is}):(e=o.createElement(r),r==="select"&&(o=e,n.multiple?o.multiple=!0:n.size&&(o.size=n.size))):e=o.createElementNS(e,r),e[Yr]=t,e[Ss]=n,Cy(e,t,!1,!1),t.stateNode=e,o=wf(r,n),r){case"dialog":Se("cancel",e),Se("close",e),i=n;break;case"iframe":case"object":case"embed":Se("load",e),i=n;break;case"video":case"audio":for(i=0;i<Ja.length;i++)Se(Ja[i],e);i=n;break;case"source":Se("error",e),i=n;break;case"img":case"image":case"link":Se("error",e),Se("load",e),i=n;break;case"details":Se("toggle",e),i=n;break;case"input":h0(e,n),i=vf(e,n),Se("invalid",e);break;case"option":i=gf(e,n);break;case"select":e._wrapperState={wasMultiple:!!n.multiple},i=Te({},n,{value:void 0}),Se("invalid",e);break;case"textarea":y0(e,n),i=yf(e,n),Se("invalid",e);break;default:i=n}Sf(r,i);var l=i;for(a in l)if(l.hasOwnProperty(a)){var s=l[a];a==="style"?E0(e,s):a==="dangerouslySetInnerHTML"?(s=s?s.__html:void 0,s!=null&&w0(e,s)):a==="children"?typeof s=="string"?(r!=="textarea"||s!=="")&&La(e,s):typeof s=="number"&&La(e,""+s):a!=="suppressContentEditableWarning"&&a!=="suppressHydrationWarning"&&a!=="autoFocus"&&(Oa.hasOwnProperty(a)?s!=null&&a==="onScroll"&&Se("scroll",e):s!=null&&rf(e,a,s,o))}switch(r){case"input":rs(e),g0(e,n,!1);break;case"textarea":rs(e),x0(e);break;case"option":n.value!=null&&e.setAttribute("value",""+Vr(n.value));break;case"select":e.multiple=!!n.multiple,a=n.value,a!=null?gi(e,!!n.multiple,a,!1):n.defaultValue!=null&&gi(e,!!n.multiple,n.defaultValue,!0);break;default:typeof i.onClick=="function"&&(e.onclick=bs)}kg(r,n)&&(t.flags|=4)}t.ref!==null&&(t.flags|=128)}return null;case 6:if(e&&t.stateNode!=null)ky(e,t,e.memoizedProps,n);else{if(typeof n!="string"&&t.stateNode===null)throw Error(j(166));r=zn(lo.current),zn(lr.current),Bs(t)?(n=t.stateNode,r=t.memoizedProps,n[Yr]=t,n.nodeValue!==r&&(t.flags|=4)):(n=(r.nodeType===9?r:r.ownerDocument).createTextNode(n),n[Yr]=t,t.stateNode=n)}return null;case 13:return we(Fe),n=t.memoizedState,(t.flags&64)!==0?(t.lanes=r,t):(n=n!==null,r=!1,e===null?t.memoizedProps.fallback!==void 0&&Bs(t):r=e.memoizedState!==null,n&&!r&&(t.mode&2)!==0&&(e===null&&t.memoizedProps.unstable_avoidThisFallback!==!0||(Fe.current&1)!==0?Ke===0&&(Ke=3):((Ke===0||Ke===3)&&(Ke=4),st===null||(mo&134217727)===0&&(Di&134217727)===0||Ni(st,it))),(n||r)&&(t.flags|=4),null);case 4:return Li(),Ad(t),e===null&&xg(t.stateNode.containerInfo),null;case 10:return dd(t),null;case 17:return vt(t.type)&&Cs(),null;case 19:if(we(Fe),n=t.memoizedState,n===null)return null;if(a=(t.flags&64)!==0,o=n.rendering,o===null)if(a)ho(n,!1);else{if(Ke!==0||e!==null&&(e.flags&64)!==0)for(e=t.child;e!==null;){if(o=Ls(e),o!==null){for(t.flags|=64,ho(n,!1),a=o.updateQueue,a!==null&&(t.updateQueue=a,t.flags|=4),n.lastEffect===null&&(t.firstEffect=null),t.lastEffect=n.lastEffect,n=r,r=t.child;r!==null;)a=r,e=n,a.flags&=2,a.nextEffect=null,a.firstEffect=null,a.lastEffect=null,o=a.alternate,o===null?(a.childLanes=0,a.lanes=e,a.child=null,a.memoizedProps=null,a.memoizedState=null,a.updateQueue=null,a.dependencies=null,a.stateNode=null):(a.childLanes=o.childLanes,a.lanes=o.lanes,a.child=o.child,a.memoizedProps=o.memoizedProps,a.memoizedState=o.memoizedState,a.updateQueue=o.updateQueue,a.type=o.type,e=o.dependencies,a.dependencies=e===null?null:{lanes:e.lanes,firstContext:e.firstContext}),r=r.sibling;return Me(Fe,Fe.current&1|2),t.child}e=e.sibling}n.tail!==null&&rt()>Vd&&(t.flags|=64,a=!0,ho(n,!1),t.lanes=33554432)}else{if(!a)if(e=Ls(o),e!==null){if(t.flags|=64,a=!0,r=e.updateQueue,r!==null&&(t.updateQueue=r,t.flags|=4),ho(n,!0),n.tail===null&&n.tailMode==="hidden"&&!o.alternate&&!sr)return t=t.lastEffect=n.lastEffect,t!==null&&(t.nextEffect=null),null}else 2*rt()-n.renderingStartTime>Vd&&r!==1073741824&&(t.flags|=64,a=!0,ho(n,!1),t.lanes=33554432);n.isBackwards?(o.sibling=t.child,t.child=o):(r=n.last,r!==null?r.sibling=o:t.child=o,n.last=o)}return n.tail!==null?(r=n.tail,n.rendering=r,n.tail=r.sibling,n.lastEffect=t.lastEffect,n.renderingStartTime=rt(),r.sibling=null,t=Fe.current,Me(Fe,a?t&1|2:t&1),r):null;case 23:case 24:return Yd(),e!==null&&e.memoizedState!==null!=(t.memoizedState!==null)&&n.mode!=="unstable-defer-without-hiding"&&(t.flags|=4),null}throw Error(j(156,t.tag))}function v3(e){switch(e.tag){case 1:vt(e.type)&&Cs();var t=e.flags;return t&4096?(e.flags=t&-4097|64,e):null;case 3:if(Li(),we(pt),we(tt),bd(),t=e.flags,(t&64)!==0)throw Error(j(285));return e.flags=t&-4097|64,e;case 5:return md(e),null;case 13:return we(Fe),t=e.flags,t&4096?(e.flags=t&-4097|64,e):null;case 19:return we(Fe),null;case 4:return Li(),null;case 10:return dd(e),null;case 23:case 24:return Yd(),null;default:return null}}function Md(e,t){try{var r="",n=t;do r+=XC(n),n=n.return;while(n);var i=r}catch(a){i=`
308
- Error generating stack: `+a.message+`
309
- `+a.stack}return{value:e,source:t,stack:i}}function Fd(e,t){try{console.error(t.value)}catch(r){setTimeout(function(){throw r})}}var h3=typeof WeakMap=="function"?WeakMap:Map;function Ty(e,t,r){r=qr(-1,r),r.tag=3,r.payload={element:null};var n=t.value;return r.callback=function(){Us||(Us=!0,jd=n),Fd(e,t)},r}function Py(e,t,r){r=qr(-1,r),r.tag=3;var n=e.type.getDerivedStateFromError;if(typeof n=="function"){var i=t.value;r.payload=function(){return Fd(e,t),n(i)}}var a=e.stateNode;return a!==null&&typeof a.componentDidCatch=="function"&&(r.callback=function(){typeof n!="function"&&(cr===null?cr=new Set([this]):cr.add(this),Fd(e,t));var o=t.stack;this.componentDidCatch(t.value,{componentStack:o!==null?o:""})}),r}var m3=typeof WeakSet=="function"?WeakSet:Set;function _y(e){var t=e.ref;if(t!==null)if(typeof t=="function")try{t(null)}catch(r){an(e,r)}else t.current=null}function g3(e,t){switch(t.tag){case 0:case 11:case 15:case 22:return;case 1:if(t.flags&256&&e!==null){var r=e.memoizedProps,n=e.memoizedState;e=t.stateNode,t=e.getSnapshotBeforeUpdate(t.elementType===t.type?r:Yt(t.type,r),n),e.__reactInternalSnapshotBeforeUpdate=t}return;case 3:t.flags&256&&rd(t.stateNode.containerInfo);return;case 5:case 6:case 4:case 17:return}throw Error(j(163))}function y3(e,t,r){switch(r.tag){case 0:case 11:case 15:case 22:if(t=r.updateQueue,t=t!==null?t.lastEffect:null,t!==null){e=t=t.next;do{if((e.tag&3)===3){var n=e.create;e.destroy=n()}e=e.next}while(e!==t)}if(t=r.updateQueue,t=t!==null?t.lastEffect:null,t!==null){e=t=t.next;do{var i=e;n=i.next,i=i.tag,(i&4)!==0&&(i&1)!==0&&(Wy(r,e),T3(r,e)),e=n}while(e!==t)}return;case 1:e=r.stateNode,r.flags&4&&(t===null?e.componentDidMount():(n=r.elementType===r.type?t.memoizedProps:Yt(r.type,t.memoizedProps),e.componentDidUpdate(n,t.memoizedState,e.__reactInternalSnapshotBeforeUpdate))),t=r.updateQueue,t!==null&&Hg(r,t,e);return;case 3:if(t=r.updateQueue,t!==null){if(e=null,r.child!==null)switch(r.child.tag){case 5:e=r.child.stateNode;break;case 1:e=r.child.stateNode}Hg(r,t,e)}return;case 5:e=r.stateNode,t===null&&r.flags&4&&kg(r.type,r.memoizedProps)&&e.focus();return;case 6:return;case 4:return;case 12:return;case 13:r.memoizedState===null&&(r=r.alternate,r!==null&&(r=r.memoizedState,r!==null&&(r=r.dehydrated,r!==null&&N0(r))));return;case 19:case 17:case 20:case 21:case 23:case 24:return}throw Error(j(163))}function Oy(e,t){for(var r=e;;){if(r.tag===5){var n=r.stateNode;if(t)n=n.style,typeof n.setProperty=="function"?n.setProperty("display","none","important"):n.display="none";else{n=r.stateNode;var i=r.memoizedProps.style;i=i!=null&&i.hasOwnProperty("display")?i.display:null,n.style.display=C0("display",i)}}else if(r.tag===6)r.stateNode.nodeValue=t?"":r.memoizedProps;else if((r.tag!==23&&r.tag!==24||r.memoizedState===null||r===e)&&r.child!==null){r.child.return=r,r=r.child;continue}if(r===e)break;for(;r.sibling===null;){if(r.return===null||r.return===e)return;r=r.return}r.sibling.return=r.return,r=r.sibling}}function Ay(e,t){if($n&&typeof $n.onCommitFiberUnmount=="function")try{$n.onCommitFiberUnmount(ad,t)}catch{}switch(t.tag){case 0:case 11:case 14:case 15:case 22:if(e=t.updateQueue,e!==null&&(e=e.lastEffect,e!==null)){var r=e=e.next;do{var n=r,i=n.destroy;if(n=n.tag,i!==void 0)if((n&4)!==0)Wy(t,r);else{n=t;try{i()}catch(a){an(n,a)}}r=r.next}while(r!==e)}break;case 1:if(_y(t),e=t.stateNode,typeof e.componentWillUnmount=="function")try{e.props=t.memoizedProps,e.state=t.memoizedState,e.componentWillUnmount()}catch(a){an(t,a)}break;case 5:_y(t);break;case 4:Iy(e,t)}}function My(e){e.alternate=null,e.child=null,e.dependencies=null,e.firstEffect=null,e.lastEffect=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.return=null,e.updateQueue=null}function Fy(e){return e.tag===5||e.tag===3||e.tag===4}function Ry(e){e:{for(var t=e.return;t!==null;){if(Fy(t))break e;t=t.return}throw Error(j(160))}var r=t;switch(t=r.stateNode,r.tag){case 5:var n=!1;break;case 3:t=t.containerInfo,n=!0;break;case 4:t=t.containerInfo,n=!0;break;default:throw Error(j(161))}r.flags&16&&(La(t,""),r.flags&=-17);e:t:for(r=e;;){for(;r.sibling===null;){if(r.return===null||Fy(r.return)){r=null;break e}r=r.return}for(r.sibling.return=r.return,r=r.sibling;r.tag!==5&&r.tag!==6&&r.tag!==18;){if(r.flags&2||r.child===null||r.tag===4)continue t;r.child.return=r,r=r.child}if(!(r.flags&2)){r=r.stateNode;break e}}n?Rd(e,r,t):Id(e,r,t)}function Rd(e,t,r){var n=e.tag,i=n===5||n===6;if(i)e=i?e.stateNode:e.stateNode.instance,t?r.nodeType===8?r.parentNode.insertBefore(e,t):r.insertBefore(e,t):(r.nodeType===8?(t=r.parentNode,t.insertBefore(e,r)):(t=r,t.appendChild(e)),r=r._reactRootContainer,r!=null||t.onclick!==null||(t.onclick=bs));else if(n!==4&&(e=e.child,e!==null))for(Rd(e,t,r),e=e.sibling;e!==null;)Rd(e,t,r),e=e.sibling}function Id(e,t,r){var n=e.tag,i=n===5||n===6;if(i)e=i?e.stateNode:e.stateNode.instance,t?r.insertBefore(e,t):r.appendChild(e);else if(n!==4&&(e=e.child,e!==null))for(Id(e,t,r),e=e.sibling;e!==null;)Id(e,t,r),e=e.sibling}function Iy(e,t){for(var r=t,n=!1,i,a;;){if(!n){n=r.return;e:for(;;){if(n===null)throw Error(j(160));switch(i=n.stateNode,n.tag){case 5:a=!1;break e;case 3:i=i.containerInfo,a=!0;break e;case 4:i=i.containerInfo,a=!0;break e}n=n.return}n=!0}if(r.tag===5||r.tag===6){e:for(var o=e,l=r,s=l;;)if(Ay(o,s),s.child!==null&&s.tag!==4)s.child.return=s,s=s.child;else{if(s===l)break e;for(;s.sibling===null;){if(s.return===null||s.return===l)break e;s=s.return}s.sibling.return=s.return,s=s.sibling}a?(o=i,l=r.stateNode,o.nodeType===8?o.parentNode.removeChild(l):o.removeChild(l)):i.removeChild(r.stateNode)}else if(r.tag===4){if(r.child!==null){i=r.stateNode.containerInfo,a=!0,r.child.return=r,r=r.child;continue}}else if(Ay(e,r),r.child!==null){r.child.return=r,r=r.child;continue}if(r===t)break;for(;r.sibling===null;){if(r.return===null||r.return===t)return;r=r.return,r.tag===4&&(n=!1)}r.sibling.return=r.return,r=r.sibling}}function Ld(e,t){switch(t.tag){case 0:case 11:case 14:case 15:case 22:var r=t.updateQueue;if(r=r!==null?r.lastEffect:null,r!==null){var n=r=r.next;do(n.tag&3)===3&&(e=n.destroy,n.destroy=void 0,e!==void 0&&e()),n=n.next;while(n!==r)}return;case 1:return;case 5:if(r=t.stateNode,r!=null){n=t.memoizedProps;var i=e!==null?e.memoizedProps:n;e=t.type;var a=t.updateQueue;if(t.updateQueue=null,a!==null){for(r[Ss]=n,e==="input"&&n.type==="radio"&&n.name!=null&&m0(r,n),wf(e,i),t=wf(e,n),i=0;i<a.length;i+=2){var o=a[i],l=a[i+1];o==="style"?E0(r,l):o==="dangerouslySetInnerHTML"?w0(r,l):o==="children"?La(r,l):rf(r,o,l,t)}switch(e){case"input":hf(r,n);break;case"textarea":b0(r,n);break;case"select":e=r._wrapperState.wasMultiple,r._wrapperState.wasMultiple=!!n.multiple,a=n.value,a!=null?gi(r,!!n.multiple,a,!1):e!==!!n.multiple&&(n.defaultValue!=null?gi(r,!!n.multiple,n.defaultValue,!0):gi(r,!!n.multiple,n.multiple?[]:"",!1))}}}return;case 6:if(t.stateNode===null)throw Error(j(162));t.stateNode.nodeValue=t.memoizedProps;return;case 3:r=t.stateNode,r.hydrate&&(r.hydrate=!1,N0(r.containerInfo));return;case 12:return;case 13:t.memoizedState!==null&&(Nd=rt(),Oy(t.child,!0)),Ly(t);return;case 19:Ly(t);return;case 17:return;case 23:case 24:Oy(t,t.memoizedState!==null);return}throw Error(j(163))}function Ly(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var r=e.stateNode;r===null&&(r=e.stateNode=new m3),t.forEach(function(n){var i=O3.bind(null,e,n);r.has(n)||(r.add(n),n.then(i,i))})}}function b3(e,t){return e!==null&&(e=e.memoizedState,e===null||e.dehydrated!==null)?(t=t.memoizedState,t!==null&&t.dehydrated===null):!1}var x3=Math.ceil,Ws=Mn.ReactCurrentDispatcher,Bd=Mn.ReactCurrentOwner,Q=0,st=null,Ve=null,it=0,jn=0,$d=Xr(0),Ke=0,Hs=null,$i=0,mo=0,Di=0,Dd=0,zd=null,Nd=0,Vd=1/0;function zi(){Vd=rt()+500}var X=null,Us=!1,jd=null,cr=null,en=!1,go=null,yo=90,Wd=[],Hd=[],Cr=null,bo=0,Ud=null,Gs=-1,Er=0,Ys=0,xo=null,Xs=!1;function Ct(){return(Q&48)!==0?rt():Gs!==-1?Gs:Gs=rt()}function tn(e){if(e=e.mode,(e&2)===0)return 1;if((e&4)===0)return Fi()===99?1:2;if(Er===0&&(Er=$i),l3.transition!==0){Ys!==0&&(Ys=zd!==null?zd.pendingLanes:0),e=Er;var t=4186112&~Ys;return t&=-t,t===0&&(e=4186112&~e,t=e&-e,t===0&&(t=8192)),t}return e=Fi(),(Q&4)!==0&&e===98?e=cs(12,Er):(e=c4(e),e=cs(e,Er)),e}function rn(e,t,r){if(50<bo)throw bo=0,Ud=null,Error(j(185));if(e=Zs(e,t),e===null)return null;fs(e,t,r),e===st&&(Di|=t,Ke===4&&Ni(e,it));var n=Fi();t===1?(Q&8)!==0&&(Q&48)===0?Gd(e):(Lt(e,r),Q===0&&(zi(),or())):((Q&4)===0||n!==98&&n!==99||(Cr===null?Cr=new Set([e]):Cr.add(e)),Lt(e,r)),zd=e}function Zs(e,t){e.lanes|=t;var r=e.alternate;for(r!==null&&(r.lanes|=t),r=e,e=e.return;e!==null;)e.childLanes|=t,r=e.alternate,r!==null&&(r.childLanes|=t),r=e,e=e.return;return r.tag===3?r.stateNode:null}function Lt(e,t){for(var r=e.callbackNode,n=e.suspendedLanes,i=e.pingedLanes,a=e.expirationTimes,o=e.pendingLanes;0<o;){var l=31-Ur(o),s=1<<l,u=a[l];if(u===-1){if((s&n)===0||(s&i)!==0){u=t,Si(s);var c=he;a[l]=10<=c?u+250:6<=c?u+5e3:-1}}else u<=t&&(e.expiredLanes|=s);o&=~s}if(n=Ua(e,e===st?it:0),t=he,n===0)r!==null&&(r!==ud&&ld(r),e.callbackNode=null,e.callbackPriority=0);else{if(r!==null){if(e.callbackPriority===t)return;r!==ud&&ld(r)}t===15?(r=Gd.bind(null,e),xr===null?(xr=[r],Ts=od(ks,Ng)):xr.push(r),r=ud):t===14?r=ro(99,Gd.bind(null,e)):(r=f4(t),r=ro(r,By.bind(null,e))),e.callbackPriority=t,e.callbackNode=r}}function By(e){if(Gs=-1,Ys=Er=0,(Q&48)!==0)throw Error(j(327));var t=e.callbackNode;if(nn()&&e.callbackNode!==t)return null;var r=Ua(e,e===st?it:0);if(r===0)return null;var n=r,i=Q;Q|=16;var a=Ny();(st!==e||it!==n)&&(zi(),Vi(e,n));do try{C3();break}catch(l){zy(e,l)}while(1);if(fd(),Ws.current=a,Q=i,Ve!==null?n=0:(st=null,it=0,n=Ke),($i&Di)!==0)Vi(e,0);else if(n!==0){if(n===2&&(Q|=64,e.hydrate&&(e.hydrate=!1,rd(e.containerInfo)),r=Y0(e),r!==0&&(n=So(e,r))),n===1)throw t=Hs,Vi(e,0),Ni(e,r),Lt(e,rt()),t;switch(e.finishedWork=e.current.alternate,e.finishedLanes=r,n){case 0:case 1:throw Error(j(345));case 2:Wn(e);break;case 3:if(Ni(e,r),(r&62914560)===r&&(n=Nd+500-rt(),10<n)){if(Ua(e,0)!==0)break;if(i=e.suspendedLanes,(i&r)!==r){Ct(),e.pingedLanes|=e.suspendedLanes&i;break}e.timeoutHandle=Tg(Wn.bind(null,e),n);break}Wn(e);break;case 4:if(Ni(e,r),(r&4186112)===r)break;for(n=e.eventTimes,i=-1;0<r;){var o=31-Ur(r);a=1<<o,o=n[o],o>i&&(i=o),r&=~a}if(r=i,r=rt()-r,r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*x3(r/1960))-r,10<r){e.timeoutHandle=Tg(Wn.bind(null,e),r);break}Wn(e);break;case 5:Wn(e);break;default:throw Error(j(329))}}return Lt(e,rt()),e.callbackNode===t?By.bind(null,e):null}function Ni(e,t){for(t&=~Dd,t&=~Di,e.suspendedLanes|=t,e.pingedLanes&=~t,e=e.expirationTimes;0<t;){var r=31-Ur(t),n=1<<r;e[r]=-1,t&=~n}}function Gd(e){if((Q&48)!==0)throw Error(j(327));if(nn(),e===st&&(e.expiredLanes&it)!==0){var t=it,r=So(e,t);($i&Di)!==0&&(t=Ua(e,t),r=So(e,t))}else t=Ua(e,0),r=So(e,t);if(e.tag!==0&&r===2&&(Q|=64,e.hydrate&&(e.hydrate=!1,rd(e.containerInfo)),t=Y0(e),t!==0&&(r=So(e,t))),r===1)throw r=Hs,Vi(e,0),Ni(e,t),Lt(e,rt()),r;return e.finishedWork=e.current.alternate,e.finishedLanes=t,Wn(e),Lt(e,rt()),null}function S3(){if(Cr!==null){var e=Cr;Cr=null,e.forEach(function(t){t.expiredLanes|=24&t.pendingLanes,Lt(t,rt())})}or()}function $y(e,t){var r=Q;Q|=1;try{return e(t)}finally{Q=r,Q===0&&(zi(),or())}}function Dy(e,t){var r=Q;Q&=-2,Q|=8;try{return e(t)}finally{Q=r,Q===0&&(zi(),or())}}function Ks(e,t){Me($d,jn),jn|=t,$i|=t}function Yd(){jn=$d.current,we($d)}function Vi(e,t){e.finishedWork=null,e.finishedLanes=0;var r=e.timeoutHandle;if(r!==-1&&(e.timeoutHandle=-1,t3(r)),Ve!==null)for(r=Ve.return;r!==null;){var n=r;switch(n.tag){case 1:n=n.type.childContextTypes,n!=null&&Cs();break;case 3:Li(),we(pt),we(tt),bd();break;case 5:md(n);break;case 4:Li();break;case 13:we(Fe);break;case 19:we(Fe);break;case 10:dd(n);break;case 23:case 24:Yd()}r=r.return}st=e,Ve=on(e.current,null),it=jn=$i=t,Ke=0,Hs=null,Dd=Di=mo=0}function zy(e,t){do{var r=Ve;try{if(fd(),so.current=Vs,$s){for(var n=$e.memoizedState;n!==null;){var i=n.queue;i!==null&&(i.pending=null),n=n.next}$s=!1}if(uo=0,Ze=nt=$e=null,co=!1,Bd.current=null,r===null||r.return===null){Ke=1,Hs=t,Ve=null;break}e:{var a=e,o=r.return,l=r,s=t;if(t=it,l.flags|=2048,l.firstEffect=l.lastEffect=null,s!==null&&typeof s=="object"&&typeof s.then=="function"){var u=s;if((l.mode&2)===0){var c=l.alternate;c?(l.updateQueue=c.updateQueue,l.memoizedState=c.memoizedState,l.lanes=c.lanes):(l.updateQueue=null,l.memoizedState=null)}var d=(Fe.current&1)!==0,f=o;do{var p;if(p=f.tag===13){var h=f.memoizedState;if(h!==null)p=h.dehydrated!==null;else{var g=f.memoizedProps;p=g.fallback===void 0?!1:g.unstable_avoidThisFallback!==!0?!0:!d}}if(p){var v=f.updateQueue;if(v===null){var m=new Set;m.add(u),f.updateQueue=m}else v.add(u);if((f.mode&2)===0){if(f.flags|=64,l.flags|=16384,l.flags&=-2981,l.tag===1)if(l.alternate===null)l.tag=17;else{var y=qr(-1,1);y.tag=2,Qr(l,y)}l.lanes|=1;break e}s=void 0,l=t;var b=a.pingCache;if(b===null?(b=a.pingCache=new h3,s=new Set,b.set(u,s)):(s=b.get(u),s===void 0&&(s=new Set,b.set(u,s))),!s.has(l)){s.add(l);var x=_3.bind(null,a,u,l);u.then(x,x)}f.flags|=4096,f.lanes=t;break e}f=f.return}while(f!==null);s=Error((mi(l.type)||"A React component")+` suspended while rendering, but no fallback UI was specified.
310
-
311
- Add a <Suspense fallback=...> component higher in the tree to provide a loading indicator or placeholder to display.`)}Ke!==5&&(Ke=2),s=Md(s,l),f=o;do{switch(f.tag){case 3:a=s,f.flags|=4096,t&=-t,f.lanes|=t;var E=Ty(f,a,t);Wg(f,E);break e;case 1:a=s;var k=f.type,T=f.stateNode;if((f.flags&64)===0&&(typeof k.getDerivedStateFromError=="function"||T!==null&&typeof T.componentDidCatch=="function"&&(cr===null||!cr.has(T)))){f.flags|=4096,t&=-t,f.lanes|=t;var A=Py(f,a,t);Wg(f,A);break e}}f=f.return}while(f!==null)}jy(r)}catch(O){t=O,Ve===r&&r!==null&&(Ve=r=r.return);continue}break}while(1)}function Ny(){var e=Ws.current;return Ws.current=Vs,e===null?Vs:e}function So(e,t){var r=Q;Q|=16;var n=Ny();st===e&&it===t||Vi(e,t);do try{w3();break}catch(i){zy(e,i)}while(1);if(fd(),Q=r,Ws.current=n,Ve!==null)throw Error(j(261));return st=null,it=0,Ke}function w3(){for(;Ve!==null;)Vy(Ve)}function C3(){for(;Ve!==null&&!i3();)Vy(Ve)}function Vy(e){var t=Uy(e.alternate,e,jn);e.memoizedProps=e.pendingProps,t===null?jy(e):Ve=t,Bd.current=null}function jy(e){var t=e;do{var r=t.alternate;if(e=t.return,(t.flags&2048)===0){if(r=p3(r,t,jn),r!==null){Ve=r;return}if(r=t,r.tag!==24&&r.tag!==23||r.memoizedState===null||(jn&1073741824)!==0||(r.mode&4)===0){for(var n=0,i=r.child;i!==null;)n|=i.lanes|i.childLanes,i=i.sibling;r.childLanes=n}e!==null&&(e.flags&2048)===0&&(e.firstEffect===null&&(e.firstEffect=t.firstEffect),t.lastEffect!==null&&(e.lastEffect!==null&&(e.lastEffect.nextEffect=t.firstEffect),e.lastEffect=t.lastEffect),1<t.flags&&(e.lastEffect!==null?e.lastEffect.nextEffect=t:e.firstEffect=t,e.lastEffect=t))}else{if(r=v3(t),r!==null){r.flags&=2047,Ve=r;return}e!==null&&(e.firstEffect=e.lastEffect=null,e.flags|=2048)}if(t=t.sibling,t!==null){Ve=t;return}Ve=t=e}while(t!==null);Ke===0&&(Ke=5)}function Wn(e){var t=Fi();return Dn(99,E3.bind(null,e,t)),null}function E3(e,t){do nn();while(go!==null);if((Q&48)!==0)throw Error(j(327));var r=e.finishedWork;if(r===null)return null;if(e.finishedWork=null,e.finishedLanes=0,r===e.current)throw Error(j(177));e.callbackNode=null;var n=r.lanes|r.childLanes,i=n,a=e.pendingLanes&~i;e.pendingLanes=i,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=i,e.mutableReadLanes&=i,e.entangledLanes&=i,i=e.entanglements;for(var o=e.eventTimes,l=e.expirationTimes;0<a;){var s=31-Ur(a),u=1<<s;i[s]=0,o[s]=-1,l[s]=-1,a&=~u}if(Cr!==null&&(n&24)===0&&Cr.has(e)&&Cr.delete(e),e===st&&(Ve=st=null,it=0),1<r.flags?r.lastEffect!==null?(r.lastEffect.nextEffect=r,n=r.firstEffect):n=r:n=r.firstEffect,n!==null){if(i=Q,Q|=32,Bd.current=null,Jf=ds,o=pg(),Zf(o)){if("selectionStart"in o)l={start:o.selectionStart,end:o.selectionEnd};else e:if(l=(l=o.ownerDocument)&&l.defaultView||window,(u=l.getSelection&&l.getSelection())&&u.rangeCount!==0){l=u.anchorNode,a=u.anchorOffset,s=u.focusNode,u=u.focusOffset;try{l.nodeType,s.nodeType}catch{l=null;break e}var c=0,d=-1,f=-1,p=0,h=0,g=o,v=null;t:for(;;){for(var m;g!==l||a!==0&&g.nodeType!==3||(d=c+a),g!==s||u!==0&&g.nodeType!==3||(f=c+u),g.nodeType===3&&(c+=g.nodeValue.length),(m=g.firstChild)!==null;)v=g,g=m;for(;;){if(g===o)break t;if(v===l&&++p===a&&(d=c),v===s&&++h===u&&(f=c),(m=g.nextSibling)!==null)break;g=v,v=g.parentNode}g=m}l=d===-1||f===-1?null:{start:d,end:f}}else l=null;l=l||{start:0,end:0}}else l=null;ed={focusedElem:o,selectionRange:l},ds=!1,xo=null,Xs=!1,X=n;do try{k3()}catch(O){if(X===null)throw Error(j(330));an(X,O),X=X.nextEffect}while(X!==null);xo=null,X=n;do try{for(o=e;X!==null;){var y=X.flags;if(y&16&&La(X.stateNode,""),y&128){var b=X.alternate;if(b!==null){var x=b.ref;x!==null&&(typeof x=="function"?x(null):x.current=null)}}switch(y&1038){case 2:Ry(X),X.flags&=-3;break;case 6:Ry(X),X.flags&=-3,Ld(X.alternate,X);break;case 1024:X.flags&=-1025;break;case 1028:X.flags&=-1025,Ld(X.alternate,X);break;case 4:Ld(X.alternate,X);break;case 8:l=X,Iy(o,l);var E=l.alternate;My(l),E!==null&&My(E)}X=X.nextEffect}}catch(O){if(X===null)throw Error(j(330));an(X,O),X=X.nextEffect}while(X!==null);if(x=ed,b=pg(),y=x.focusedElem,o=x.selectionRange,b!==y&&y&&y.ownerDocument&&dg(y.ownerDocument.documentElement,y)){for(o!==null&&Zf(y)&&(b=o.start,x=o.end,x===void 0&&(x=b),"selectionStart"in y?(y.selectionStart=b,y.selectionEnd=Math.min(x,y.value.length)):(x=(b=y.ownerDocument||document)&&b.defaultView||window,x.getSelection&&(x=x.getSelection(),l=y.textContent.length,E=Math.min(o.start,l),o=o.end===void 0?E:Math.min(o.end,l),!x.extend&&E>o&&(l=o,o=E,E=l),l=fg(y,E),a=fg(y,o),l&&a&&(x.rangeCount!==1||x.anchorNode!==l.node||x.anchorOffset!==l.offset||x.focusNode!==a.node||x.focusOffset!==a.offset)&&(b=b.createRange(),b.setStart(l.node,l.offset),x.removeAllRanges(),E>o?(x.addRange(b),x.extend(a.node,a.offset)):(b.setEnd(a.node,a.offset),x.addRange(b)))))),b=[],x=y;x=x.parentNode;)x.nodeType===1&&b.push({element:x,left:x.scrollLeft,top:x.scrollTop});for(typeof y.focus=="function"&&y.focus(),y=0;y<b.length;y++)x=b[y],x.element.scrollLeft=x.left,x.element.scrollTop=x.top}ds=!!Jf,ed=Jf=null,e.current=r,X=n;do try{for(y=e;X!==null;){var k=X.flags;if(k&36&&y3(y,X.alternate,X),k&128){b=void 0;var T=X.ref;if(T!==null){var A=X.stateNode;switch(X.tag){case 5:b=A;break;default:b=A}typeof T=="function"?T(b):T.current=b}}X=X.nextEffect}}catch(O){if(X===null)throw Error(j(330));an(X,O),X=X.nextEffect}while(X!==null);X=null,o3(),Q=i}else e.current=r;if(en)en=!1,go=e,yo=t;else for(X=n;X!==null;)t=X.nextEffect,X.nextEffect=null,X.flags&8&&(k=X,k.sibling=null,k.stateNode=null),X=t;if(n=e.pendingLanes,n===0&&(cr=null),n===1?e===Ud?bo++:(bo=0,Ud=e):bo=0,r=r.stateNode,$n&&typeof $n.onCommitFiberRoot=="function")try{$n.onCommitFiberRoot(ad,r,void 0,(r.current.flags&64)===64)}catch{}if(Lt(e,rt()),Us)throw Us=!1,e=jd,jd=null,e;return(Q&8)!==0||or(),null}function k3(){for(;X!==null;){var e=X.alternate;Xs||xo===null||((X.flags&8)!==0?R0(X,xo)&&(Xs=!0):X.tag===13&&b3(e,X)&&R0(X,xo)&&(Xs=!0));var t=X.flags;(t&256)!==0&&g3(e,X),(t&512)===0||en||(en=!0,ro(97,function(){return nn(),null})),X=X.nextEffect}}function nn(){if(yo!==90){var e=97<yo?97:yo;return yo=90,Dn(e,P3)}return!1}function T3(e,t){Wd.push(t,e),en||(en=!0,ro(97,function(){return nn(),null}))}function Wy(e,t){Hd.push(t,e),en||(en=!0,ro(97,function(){return nn(),null}))}function P3(){if(go===null)return!1;var e=go;if(go=null,(Q&48)!==0)throw Error(j(331));var t=Q;Q|=32;var r=Hd;Hd=[];for(var n=0;n<r.length;n+=2){var i=r[n],a=r[n+1],o=i.destroy;if(i.destroy=void 0,typeof o=="function")try{o()}catch(s){if(a===null)throw Error(j(330));an(a,s)}}for(r=Wd,Wd=[],n=0;n<r.length;n+=2){i=r[n],a=r[n+1];try{var l=i.create;i.destroy=l()}catch(s){if(a===null)throw Error(j(330));an(a,s)}}for(l=e.current.firstEffect;l!==null;)e=l.nextEffect,l.nextEffect=null,l.flags&8&&(l.sibling=null,l.stateNode=null),l=e;return Q=t,or(),!0}function Hy(e,t,r){t=Md(r,t),t=Ty(e,t,1),Qr(e,t),t=Ct(),e=Zs(e,1),e!==null&&(fs(e,1,t),Lt(e,t))}function an(e,t){if(e.tag===3)Hy(e,e,t);else for(var r=e.return;r!==null;){if(r.tag===3){Hy(r,e,t);break}else if(r.tag===1){var n=r.stateNode;if(typeof r.type.getDerivedStateFromError=="function"||typeof n.componentDidCatch=="function"&&(cr===null||!cr.has(n))){e=Md(t,e);var i=Py(r,e,1);if(Qr(r,i),i=Ct(),r=Zs(r,1),r!==null)fs(r,1,i),Lt(r,i);else if(typeof n.componentDidCatch=="function"&&(cr===null||!cr.has(n)))try{n.componentDidCatch(t,e)}catch{}break}}r=r.return}}function _3(e,t,r){var n=e.pingCache;n!==null&&n.delete(t),t=Ct(),e.pingedLanes|=e.suspendedLanes&r,st===e&&(it&r)===r&&(Ke===4||Ke===3&&(it&62914560)===it&&500>rt()-Nd?Vi(e,0):Dd|=r),Lt(e,t)}function O3(e,t){var r=e.stateNode;r!==null&&r.delete(t),t=0,t===0&&(t=e.mode,(t&2)===0?t=1:(t&4)===0?t=Fi()===99?1:2:(Er===0&&(Er=$i),t=wi(62914560&~Er),t===0&&(t=4194304))),r=Ct(),e=Zs(e,t),e!==null&&(fs(e,t,r),Lt(e,r))}var Uy;Uy=function(e,t,r){var n=t.lanes;if(e!==null)if(e.memoizedProps!==t.pendingProps||pt.current)Xt=!0;else if((r&n)!==0)Xt=(e.flags&16384)!==0;else{switch(Xt=!1,t.tag){case 3:my(t),yd();break;case 5:qg(t);break;case 1:vt(t.type)&&Es(t);break;case 4:hd(t,t.stateNode.containerInfo);break;case 10:n=t.memoizedProps.value;var i=t.type._context;Me(Ps,i._currentValue),i._currentValue=n;break;case 13:if(t.memoizedState!==null)return(r&t.child.childLanes)!==0?gy(e,t,r):(Me(Fe,Fe.current&1),t=wr(e,t,r),t!==null?t.sibling:null);Me(Fe,Fe.current&1);break;case 19:if(n=(r&t.childLanes)!==0,(e.flags&64)!==0){if(n)return wy(e,t,r);t.flags|=64}if(i=t.memoizedState,i!==null&&(i.rendering=null,i.tail=null,i.lastEffect=null),Me(Fe,Fe.current),n)break;return null;case 23:case 24:return t.lanes=0,Td(e,t,r)}return wr(e,t,r)}else Xt=!1;switch(t.lanes=0,t.tag){case 2:if(n=t.type,e!==null&&(e.alternate=null,t.alternate=null,t.flags|=2),e=t.pendingProps,i=Mi(t,tt.current),Ii(t,r),i=Sd(null,t,n,e,i,r),t.flags|=1,typeof i=="object"&&i!==null&&typeof i.render=="function"&&i.$$typeof===void 0){if(t.tag=1,t.memoizedState=null,t.updateQueue=null,vt(n)){var a=!0;Es(t)}else a=!1;t.memoizedState=i.state!==null&&i.state!==void 0?i.state:null,pd(t);var o=n.getDerivedStateFromProps;typeof o=="function"&&As(t,n,o,e),i.updater=Ms,t.stateNode=i,i._reactInternals=t,vd(t,n,e,r),t=_d(null,t,n,!0,a,r)}else t.tag=0,mt(null,t,i,r),t=t.child;return t;case 16:i=t.elementType;e:{switch(e!==null&&(e.alternate=null,t.alternate=null,t.flags|=2),e=t.pendingProps,a=i._init,i=a(i._payload),t.type=i,a=t.tag=M3(i),e=Yt(i,e),a){case 0:t=Pd(null,t,i,e,r);break e;case 1:t=hy(null,t,i,e,r);break e;case 11:t=fy(null,t,i,e,r);break e;case 14:t=dy(null,t,i,Yt(i.type,e),n,r);break e}throw Error(j(306,i,""))}return t;case 0:return n=t.type,i=t.pendingProps,i=t.elementType===n?i:Yt(n,i),Pd(e,t,n,i,r);case 1:return n=t.type,i=t.pendingProps,i=t.elementType===n?i:Yt(n,i),hy(e,t,n,i,r);case 3:if(my(t),n=t.updateQueue,e===null||n===null)throw Error(j(282));if(n=t.pendingProps,i=t.memoizedState,i=i!==null?i.element:null,jg(e,t),no(t,n,null,r),n=t.memoizedState.element,n===i)yd(),t=wr(e,t,r);else{if(i=t.stateNode,(a=i.hydrate)&&(Jr=Pi(t.stateNode.containerInfo.firstChild),Sr=t,a=sr=!0),a){if(e=i.mutableSourceEagerHydrationData,e!=null)for(i=0;i<e.length;i+=2)a=e[i],a._workInProgressVersionPrimary=e[i+1],Bi.push(a);for(r=Kg(t,null,n,r),t.child=r;r;)r.flags=r.flags&-3|1024,r=r.sibling}else mt(e,t,n,r),yd();t=t.child}return t;case 5:return qg(t),e===null&&gd(t),n=t.type,i=t.pendingProps,a=e!==null?e.memoizedProps:null,o=i.children,td(n,i)?o=null:a!==null&&td(n,a)&&(t.flags|=16),vy(e,t),mt(e,t,o,r),t.child;case 6:return e===null&&gd(t),null;case 13:return gy(e,t,r);case 4:return hd(t,t.stateNode.containerInfo),n=t.pendingProps,e===null?t.child=Is(t,null,n,r):mt(e,t,n,r),t.child;case 11:return n=t.type,i=t.pendingProps,i=t.elementType===n?i:Yt(n,i),fy(e,t,n,i,r);case 7:return mt(e,t,t.pendingProps,r),t.child;case 8:return mt(e,t,t.pendingProps.children,r),t.child;case 12:return mt(e,t,t.pendingProps.children,r),t.child;case 10:e:{n=t.type._context,i=t.pendingProps,o=t.memoizedProps,a=i.value;var l=t.type._context;if(Me(Ps,l._currentValue),l._currentValue=a,o!==null)if(l=o.value,a=Ft(l,a)?0:(typeof n._calculateChangedBits=="function"?n._calculateChangedBits(l,a):1073741823)|0,a===0){if(o.children===i.children&&!pt.current){t=wr(e,t,r);break e}}else for(l=t.child,l!==null&&(l.return=t);l!==null;){var s=l.dependencies;if(s!==null){o=l.child;for(var u=s.firstContext;u!==null;){if(u.context===n&&(u.observedBits&a)!==0){l.tag===1&&(u=qr(-1,r&-r),u.tag=2,Qr(l,u)),l.lanes|=r,u=l.alternate,u!==null&&(u.lanes|=r),Vg(l.return,r),s.lanes|=r;break}u=u.next}}else o=l.tag===10&&l.type===t.type?null:l.child;if(o!==null)o.return=l;else for(o=l;o!==null;){if(o===t){o=null;break}if(l=o.sibling,l!==null){l.return=o.return,o=l;break}o=o.return}l=o}mt(e,t,i.children,r),t=t.child}return t;case 9:return i=t.type,a=t.pendingProps,n=a.children,Ii(t,r),i=Rt(i,a.unstable_observedBits),n=n(i),t.flags|=1,mt(e,t,n,r),t.child;case 14:return i=t.type,a=Yt(i,t.pendingProps),a=Yt(i.type,a),dy(e,t,i,a,n,r);case 15:return py(e,t,t.type,t.pendingProps,n,r);case 17:return n=t.type,i=t.pendingProps,i=t.elementType===n?i:Yt(n,i),e!==null&&(e.alternate=null,t.alternate=null,t.flags|=2),t.tag=1,vt(n)?(e=!0,Es(t)):e=!1,Ii(t,r),Yg(t,n,i),vd(t,n,i,r),_d(null,t,n,!0,e,r);case 19:return wy(e,t,r);case 23:return Td(e,t,r);case 24:return Td(e,t,r)}throw Error(j(156,t.tag))};function A3(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.flags=0,this.lastEffect=this.firstEffect=this.nextEffect=null,this.childLanes=this.lanes=0,this.alternate=null}function Bt(e,t,r,n){return new A3(e,t,r,n)}function Xd(e){return e=e.prototype,!(!e||!e.isReactComponent)}function M3(e){if(typeof e=="function")return Xd(e)?1:0;if(e!=null){if(e=e.$$typeof,e===Ql)return 11;if(e===es)return 14}return 2}function on(e,t){var r=e.alternate;return r===null?(r=Bt(e.tag,t,e.key,e.mode),r.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.nextEffect=null,r.firstEffect=null,r.lastEffect=null),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=t===null?null:{lanes:t.lanes,firstContext:t.firstContext},r.sibling=e.sibling,r.index=e.index,r.ref=e.ref,r}function qs(e,t,r,n,i,a){var o=2;if(n=e,typeof e=="function")Xd(e)&&(o=1);else if(typeof e=="string")o=5;else e:switch(e){case Nr:return ji(r.children,i,a,t);case f0:o=8,i|=16;break;case nf:o=8,i|=1;break;case Ma:return e=Bt(12,r,t,i|8),e.elementType=Ma,e.type=Ma,e.lanes=a,e;case Fa:return e=Bt(13,r,t,i),e.type=Fa,e.elementType=Fa,e.lanes=a,e;case Jl:return e=Bt(19,r,t,i),e.elementType=Jl,e.lanes=a,e;case cf:return Zd(r,i,a,t);case ff:return e=Bt(24,r,t,i),e.elementType=ff,e.lanes=a,e;default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case af:o=10;break e;case of:o=9;break e;case Ql:o=11;break e;case es:o=14;break e;case lf:o=16,n=null;break e;case sf:o=22;break e}throw Error(j(130,e==null?e:typeof e,""))}return t=Bt(o,r,t,i),t.elementType=e,t.type=n,t.lanes=a,t}function ji(e,t,r,n){return e=Bt(7,e,n,t),e.lanes=r,e}function Zd(e,t,r,n){return e=Bt(23,e,n,t),e.elementType=cf,e.lanes=r,e}function Kd(e,t,r){return e=Bt(6,e,null,t),e.lanes=r,e}function qd(e,t,r){return t=Bt(4,e.children!==null?e.children:[],e.key,t),t.lanes=r,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function F3(e,t,r){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.pendingContext=this.context=null,this.hydrate=r,this.callbackNode=null,this.callbackPriority=0,this.eventTimes=$f(0),this.expirationTimes=$f(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=$f(0),this.mutableSourceEagerHydrationData=null}function R3(e,t,r){var n=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:Fn,key:n==null?null:""+n,children:e,containerInfo:t,implementation:r}}function Qs(e,t,r,n){var i=t.current,a=Ct(),o=tn(i);e:if(r){r=r._reactInternals;t:{if(In(r)!==r||r.tag!==1)throw Error(j(170));var l=r;do{switch(l.tag){case 3:l=l.stateNode.context;break t;case 1:if(vt(l.type)){l=l.stateNode.__reactInternalMemoizedMergedChildContext;break t}}l=l.return}while(l!==null);throw Error(j(171))}if(r.tag===1){var s=r.type;if(vt(s)){r=Mg(r,s,l);break e}}r=l}else r=Zr;return t.context===null?t.context=r:t.pendingContext=r,t=qr(a,o),t.payload={element:e},n=n===void 0?null:n,n!==null&&(t.callback=n),Qr(i,t),rn(i,o,a),o}function Qd(e){if(e=e.current,!e.child)return null;switch(e.child.tag){case 5:return e.child.stateNode;default:return e.child.stateNode}}function Gy(e,t){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var r=e.retryLane;e.retryLane=r!==0&&r<t?r:t}}function Jd(e,t){Gy(e,t),(e=e.alternate)&&Gy(e,t)}function I3(){return null}function ep(e,t,r){var n=r!=null&&r.hydrationOptions!=null&&r.hydrationOptions.mutableSources||null;if(r=new F3(e,t,r!=null&&r.hydrate===!0),t=Bt(3,null,null,t===2?7:t===1?3:0),r.current=t,t.stateNode=r,pd(t),e[_i]=r.current,xg(e.nodeType===8?e.parentNode:e),n)for(e=0;e<n.length;e++){t=n[e];var i=t._getVersion;i=i(t._source),r.mutableSourceEagerHydrationData==null?r.mutableSourceEagerHydrationData=[t,i]:r.mutableSourceEagerHydrationData.push(t,i)}this._internalRoot=r}ep.prototype.render=function(e){Qs(e,this._internalRoot,null,null)},ep.prototype.unmount=function(){var e=this._internalRoot,t=e.containerInfo;Qs(null,e,null,function(){t[_i]=null})};function wo(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11&&(e.nodeType!==8||e.nodeValue!==" react-mount-point-unstable "))}function L3(e,t){if(t||(t=e?e.nodeType===9?e.documentElement:e.firstChild:null,t=!(!t||t.nodeType!==1||!t.hasAttribute("data-reactroot"))),!t)for(var r;r=e.lastChild;)e.removeChild(r);return new ep(e,0,t?{hydrate:!0}:void 0)}function Js(e,t,r,n,i){var a=r._reactRootContainer;if(a){var o=a._internalRoot;if(typeof i=="function"){var l=i;i=function(){var u=Qd(o);l.call(u)}}Qs(t,o,e,i)}else{if(a=r._reactRootContainer=L3(r,n),o=a._internalRoot,typeof i=="function"){var s=i;i=function(){var u=Qd(o);s.call(u)}}Dy(function(){Qs(t,o,e,i)})}return Qd(o)}I0=function(e){if(e.tag===13){var t=Ct();rn(e,4,t),Jd(e,4)}},Mf=function(e){if(e.tag===13){var t=Ct();rn(e,67108864,t),Jd(e,67108864)}},L0=function(e){if(e.tag===13){var t=Ct(),r=tn(e);rn(e,r,t),Jd(e,r)}},B0=function(e,t){return t()},Ef=function(e,t,r){switch(t){case"input":if(hf(e,r),t=r.name,r.type==="radio"&&t!=null){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 i=ws(n);if(!i)throw Error(j(90));v0(n),hf(n,i)}}}break;case"textarea":b0(e,r);break;case"select":t=r.value,t!=null&&gi(e,!!r.multiple,t,!1)}},kf=$y,_0=function(e,t,r,n,i){var a=Q;Q|=4;try{return Dn(98,e.bind(null,t,r,n,i))}finally{Q=a,Q===0&&(zi(),or())}},Tf=function(){(Q&49)===0&&(S3(),nn())},O0=function(e,t){var r=Q;Q|=2;try{return e(t)}finally{Q=r,Q===0&&(zi(),or())}};function Yy(e,t){var r=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!wo(t))throw Error(j(200));return R3(e,t,null,r)}var B3={Events:[to,Oi,ws,T0,P0,nn,{current:!1}]},Co={findFiberByHostInstance:Ln,bundleType:0,version:"17.0.2",rendererPackageName:"react-dom"},$3={bundleType:Co.bundleType,version:Co.version,rendererPackageName:Co.rendererPackageName,rendererConfig:Co.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:Mn.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return e=F0(e),e===null?null:e.stateNode},findFiberByHostInstance:Co.findFiberByHostInstance||I3,findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__!="undefined"){var eu=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!eu.isDisabled&&eu.supportsFiber)try{ad=eu.inject($3),$n=eu}catch{}}Mt.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=B3,Mt.createPortal=Yy,Mt.findDOMNode=function(e){if(e==null)return null;if(e.nodeType===1)return e;var t=e._reactInternals;if(t===void 0)throw typeof e.render=="function"?Error(j(188)):Error(j(268,Object.keys(e)));return e=F0(t),e=e===null?null:e.stateNode,e},Mt.flushSync=function(e,t){var r=Q;if((r&48)!==0)return e(t);Q|=1;try{if(e)return Dn(99,e.bind(null,t))}finally{Q=r,or()}},Mt.hydrate=function(e,t,r){if(!wo(t))throw Error(j(200));return Js(null,e,t,!0,r)},Mt.render=function(e,t,r){if(!wo(t))throw Error(j(200));return Js(null,e,t,!1,r)},Mt.unmountComponentAtNode=function(e){if(!wo(e))throw Error(j(40));return e._reactRootContainer?(Dy(function(){Js(null,null,e,!1,function(){e._reactRootContainer=null,e[_i]=null})}),!0):!1},Mt.unstable_batchedUpdates=$y,Mt.unstable_createPortal=function(e,t){return Yy(e,t,2<arguments.length&&arguments[2]!==void 0?arguments[2]:null)},Mt.unstable_renderSubtreeIntoContainer=function(e,t,r,n){if(!wo(r))throw Error(j(200));if(e==null||e._reactInternals===void 0)throw Error(j(38));return Js(e,t,r,!1,n)},Mt.version="17.0.2";function Xy(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__=="undefined"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(Xy)}catch(e){console.error(e)}}Xy(),Jc.exports=Mt;var Zy=On({strict:!1,name:"PortalManagerContext"}),D3=Zy[0],z3=Zy[1];function N3(e){var t=e.children,r=e.zIndex;return S.createElement(D3,{value:{zIndex:r}},t)}function tp(){return tp=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},tp.apply(this,arguments)}function V3(e,t){if(e==null)return{};var r={},n=Object.keys(e),i,a;for(a=0;a<n.length;a++)i=n[a],!(t.indexOf(i)>=0)&&(r[i]=e[i]);return r}var j3=["containerRef"],Ky=On({strict:!1,name:"PortalContext"}),qy=Ky[0],W3=Ky[1],rp="chakra-portal",H3=".chakra-portal",U3=function(t){return S.createElement("div",{className:"chakra-portal-zIndex",style:{position:"absolute",zIndex:t.zIndex,top:0,left:0,right:0}},t.children)},G3=function(t){var r=t.appendToParentPortal,n=t.children,i=S.useRef(null),a=S.useRef(null),o=n0(),l=W3(),s=z3();_a(function(){if(!!i.current){var c=i.current.ownerDocument,d=r&&l!=null?l:c.body;if(!!d){a.current=c.createElement("div"),a.current.className=rp,d.appendChild(a.current),o();var f=a.current;return function(){d.contains(f)&&d.removeChild(f)}}}},[]);var u=s!=null&&s.zIndex?S.createElement(U3,{zIndex:s==null?void 0:s.zIndex},n):n;return a.current?Jc.exports.createPortal(S.createElement(qy,{value:a.current},u),a.current):S.createElement("span",{ref:i})},Y3=function(t){var r=t.children,n=t.containerRef,i=t.appendToParentPortal,a=n.current,o=a!=null?a:zr?document.body:void 0,l=S.useMemo(function(){var u=a==null?void 0:a.ownerDocument.createElement("div");return u&&(u.className=rp),u},[a]),s=n0();return _a(function(){s()},[]),_a(function(){if(!(!l||!o))return o.appendChild(l),function(){o.removeChild(l)}},[l,o]),o&&l?Jc.exports.createPortal(S.createElement(qy,{value:i?l:null},r),l):null};function Eo(e){var t=e.containerRef,r=V3(e,j3);return t?S.createElement(Y3,tp({containerRef:t},r)):S.createElement(G3,r)}Eo.defaultProps={appendToParentPortal:!0},Eo.className=rp,Eo.selector=H3;var tu={exports:{}},ko={};/** @license React v17.0.2
312
- * react-jsx-runtime.production.min.js
75
+ */var s_;function y8(){if(s_)return di;s_=1;var t=U,r=o_();function i(a){for(var o="https://reactjs.org/docs/error-decoder.html?invariant="+a,c=1;c<arguments.length;c++)o+="&args[]="+encodeURIComponent(arguments[c]);return"Minified React error #"+a+"; visit "+o+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var l=new Set,f={};function h(a,o){p(a,o),p(a+"Capture",o)}function p(a,o){for(f[a]=o,a=0;a<o.length;a++)l.add(o[a])}var g=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),y=Object.prototype.hasOwnProperty,S=/^[: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]*$/,C={},E={};function k(a){return y.call(E,a)?!0:y.call(C,a)?!1:S.test(a)?E[a]=!0:(C[a]=!0,!1)}function R(a,o,c,v){if(c!==null&&c.type===0)return!1;switch(typeof o){case"function":case"symbol":return!0;case"boolean":return v?!1:c!==null?!c.acceptsBooleans:(a=a.toLowerCase().slice(0,5),a!=="data-"&&a!=="aria-");default:return!1}}function A(a,o,c,v){if(o===null||typeof o>"u"||R(a,o,c,v))return!0;if(v)return!1;if(c!==null)switch(c.type){case 3:return!o;case 4:return o===!1;case 5:return isNaN(o);case 6:return isNaN(o)||1>o}return!1}function P(a,o,c,v,b,w,D){this.acceptsBooleans=o===2||o===3||o===4,this.attributeName=v,this.attributeNamespace=b,this.mustUseProperty=c,this.propertyName=a,this.type=o,this.sanitizeURL=w,this.removeEmptyString=D}var j={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(a){j[a]=new P(a,0,!1,a,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(a){var o=a[0];j[o]=new P(o,1,!1,a[1],null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(a){j[a]=new P(a,2,!1,a.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(a){j[a]=new P(a,2,!1,a,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(a){j[a]=new P(a,3,!1,a.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(a){j[a]=new P(a,3,!0,a,null,!1,!1)}),["capture","download"].forEach(function(a){j[a]=new P(a,4,!1,a,null,!1,!1)}),["cols","rows","size","span"].forEach(function(a){j[a]=new P(a,6,!1,a,null,!1,!1)}),["rowSpan","start"].forEach(function(a){j[a]=new P(a,5,!1,a.toLowerCase(),null,!1,!1)});var q=/[\-:]([a-z])/g;function F(a){return a[1].toUpperCase()}"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(a){var o=a.replace(q,F);j[o]=new P(o,1,!1,a,null,!1,!1)}),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(a){var o=a.replace(q,F);j[o]=new P(o,1,!1,a,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(a){var o=a.replace(q,F);j[o]=new P(o,1,!1,a,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(a){j[a]=new P(a,1,!1,a.toLowerCase(),null,!1,!1)}),j.xlinkHref=new P("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(a){j[a]=new P(a,1,!1,a.toLowerCase(),null,!0,!0)});function $(a,o,c,v){var b=j.hasOwnProperty(o)?j[o]:null;(b!==null?b.type!==0:v||!(2<o.length)||o[0]!=="o"&&o[0]!=="O"||o[1]!=="n"&&o[1]!=="N")&&(A(o,c,b,v)&&(c=null),v||b===null?k(o)&&(c===null?a.removeAttribute(o):a.setAttribute(o,""+c)):b.mustUseProperty?a[b.propertyName]=c===null?b.type===3?!1:"":c:(o=b.attributeName,v=b.attributeNamespace,c===null?a.removeAttribute(o):(b=b.type,c=b===3||b===4&&c===!0?"":""+c,v?a.setAttributeNS(v,o,c):a.setAttribute(o,c))))}var Q=t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,V=Symbol.for("react.element"),le=Symbol.for("react.portal"),J=Symbol.for("react.fragment"),me=Symbol.for("react.strict_mode"),ve=Symbol.for("react.profiler"),ye=Symbol.for("react.provider"),De=Symbol.for("react.context"),pt=Symbol.for("react.forward_ref"),Oe=Symbol.for("react.suspense"),Pe=Symbol.for("react.suspense_list"),at=Symbol.for("react.memo"),Ue=Symbol.for("react.lazy"),st=Symbol.for("react.offscreen"),be=Symbol.iterator;function Le(a){return a===null||typeof a!="object"?null:(a=be&&a[be]||a["@@iterator"],typeof a=="function"?a:null)}var K=Object.assign,se;function _e(a){if(se===void 0)try{throw Error()}catch(c){var o=c.stack.trim().match(/\n( *(at )?)/);se=o&&o[1]||""}return`
76
+ `+se+a}var Ee=!1;function Fe(a,o){if(!a||Ee)return"";Ee=!0;var c=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(o)if(o=function(){throw Error()},Object.defineProperty(o.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(o,[])}catch(oe){var v=oe}Reflect.construct(a,[],o)}else{try{o.call()}catch(oe){v=oe}a.call(o.prototype)}else{try{throw Error()}catch(oe){v=oe}a()}}catch(oe){if(oe&&v&&typeof oe.stack=="string"){for(var b=oe.stack.split(`
77
+ `),w=v.stack.split(`
78
+ `),D=b.length-1,N=w.length-1;1<=D&&0<=N&&b[D]!==w[N];)N--;for(;1<=D&&0<=N;D--,N--)if(b[D]!==w[N]){if(D!==1||N!==1)do if(D--,N--,0>N||b[D]!==w[N]){var I=`
79
+ `+b[D].replace(" at new "," at ");return a.displayName&&I.includes("<anonymous>")&&(I=I.replace("<anonymous>",a.displayName)),I}while(1<=D&&0<=N);break}}}finally{Ee=!1,Error.prepareStackTrace=c}return(a=a?a.displayName||a.name:"")?_e(a):""}function Ie(a){switch(a.tag){case 5:return _e(a.type);case 16:return _e("Lazy");case 13:return _e("Suspense");case 19:return _e("SuspenseList");case 0:case 2:case 15:return a=Fe(a.type,!1),a;case 11:return a=Fe(a.type.render,!1),a;case 1:return a=Fe(a.type,!0),a;default:return""}}function Ae(a){if(a==null)return null;if(typeof a=="function")return a.displayName||a.name||null;if(typeof a=="string")return a;switch(a){case J:return"Fragment";case le:return"Portal";case ve:return"Profiler";case me:return"StrictMode";case Oe:return"Suspense";case Pe:return"SuspenseList"}if(typeof a=="object")switch(a.$$typeof){case De:return(a.displayName||"Context")+".Consumer";case ye:return(a._context.displayName||"Context")+".Provider";case pt:var o=a.render;return a=a.displayName,a||(a=o.displayName||o.name||"",a=a!==""?"ForwardRef("+a+")":"ForwardRef"),a;case at:return o=a.displayName||null,o!==null?o:Ae(a.type)||"Memo";case Ue:o=a._payload,a=a._init;try{return Ae(a(o))}catch{}}return null}function Xe(a){var o=a.type;switch(a.tag){case 24:return"Cache";case 9:return(o.displayName||"Context")+".Consumer";case 10:return(o._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return a=o.render,a=a.displayName||a.name||"",o.displayName||(a!==""?"ForwardRef("+a+")":"ForwardRef");case 7:return"Fragment";case 5:return o;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return Ae(o);case 8:return o===me?"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(typeof o=="function")return o.displayName||o.name||null;if(typeof o=="string")return o}return null}function $e(a){switch(typeof a){case"boolean":case"number":case"string":case"undefined":return a;case"object":return a;default:return""}}function Je(a){var o=a.type;return(a=a.nodeName)&&a.toLowerCase()==="input"&&(o==="checkbox"||o==="radio")}function tt(a){var o=Je(a)?"checked":"value",c=Object.getOwnPropertyDescriptor(a.constructor.prototype,o),v=""+a[o];if(!a.hasOwnProperty(o)&&typeof c<"u"&&typeof c.get=="function"&&typeof c.set=="function"){var b=c.get,w=c.set;return Object.defineProperty(a,o,{configurable:!0,get:function(){return b.call(this)},set:function(D){v=""+D,w.call(this,D)}}),Object.defineProperty(a,o,{enumerable:c.enumerable}),{getValue:function(){return v},setValue:function(D){v=""+D},stopTracking:function(){a._valueTracker=null,delete a[o]}}}}function yt(a){a._valueTracker||(a._valueTracker=tt(a))}function he(a){if(!a)return!1;var o=a._valueTracker;if(!o)return!0;var c=o.getValue(),v="";return a&&(v=Je(a)?a.checked?"true":"false":a.value),a=v,a!==c?(o.setValue(a),!0):!1}function wt(a){if(a=a||(typeof document<"u"?document:void 0),typeof a>"u")return null;try{return a.activeElement||a.body}catch{return a.body}}function mn(a,o){var c=o.checked;return K({},o,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:c??a._wrapperState.initialChecked})}function Cn(a,o){var c=o.defaultValue==null?"":o.defaultValue,v=o.checked!=null?o.checked:o.defaultChecked;c=$e(o.value!=null?o.value:c),a._wrapperState={initialChecked:v,initialValue:c,controlled:o.type==="checkbox"||o.type==="radio"?o.checked!=null:o.value!=null}}function er(a,o){o=o.checked,o!=null&&$(a,"checked",o,!1)}function tr(a,o){er(a,o);var c=$e(o.value),v=o.type;if(c!=null)v==="number"?(c===0&&a.value===""||a.value!=c)&&(a.value=""+c):a.value!==""+c&&(a.value=""+c);else if(v==="submit"||v==="reset"){a.removeAttribute("value");return}o.hasOwnProperty("value")?ha(a,o.type,c):o.hasOwnProperty("defaultValue")&&ha(a,o.type,$e(o.defaultValue)),o.checked==null&&o.defaultChecked!=null&&(a.defaultChecked=!!o.defaultChecked)}function Zr(a,o,c){if(o.hasOwnProperty("value")||o.hasOwnProperty("defaultValue")){var v=o.type;if(!(v!=="submit"&&v!=="reset"||o.value!==void 0&&o.value!==null))return;o=""+a._wrapperState.initialValue,c||o===a.value||(a.value=o),a.defaultValue=o}c=a.name,c!==""&&(a.name=""),a.defaultChecked=!!a._wrapperState.initialChecked,c!==""&&(a.name=c)}function ha(a,o,c){(o!=="number"||wt(a.ownerDocument)!==a)&&(c==null?a.defaultValue=""+a._wrapperState.initialValue:a.defaultValue!==""+c&&(a.defaultValue=""+c))}var Xn=Array.isArray;function vr(a,o,c,v){if(a=a.options,o){o={};for(var b=0;b<c.length;b++)o["$"+c[b]]=!0;for(c=0;c<a.length;c++)b=o.hasOwnProperty("$"+a[c].value),a[c].selected!==b&&(a[c].selected=b),b&&v&&(a[c].defaultSelected=!0)}else{for(c=""+$e(c),o=null,b=0;b<a.length;b++){if(a[b].value===c){a[b].selected=!0,v&&(a[b].defaultSelected=!0);return}o!==null||a[b].disabled||(o=a[b])}o!==null&&(o.selected=!0)}}function mr(a,o){if(o.dangerouslySetInnerHTML!=null)throw Error(i(91));return K({},o,{value:void 0,defaultValue:void 0,children:""+a._wrapperState.initialValue})}function wn(a,o){var c=o.value;if(c==null){if(c=o.children,o=o.defaultValue,c!=null){if(o!=null)throw Error(i(92));if(Xn(c)){if(1<c.length)throw Error(i(93));c=c[0]}o=c}o==null&&(o=""),c=o}a._wrapperState={initialValue:$e(c)}}function Nr(a,o){var c=$e(o.value),v=$e(o.defaultValue);c!=null&&(c=""+c,c!==a.value&&(a.value=c),o.defaultValue==null&&a.defaultValue!==c&&(a.defaultValue=c)),v!=null&&(a.defaultValue=""+v)}function gr(a){var o=a.textContent;o===a._wrapperState.initialValue&&o!==""&&o!==null&&(a.value=o)}function Jr(a){switch(a){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 Dn(a,o){return a==null||a==="http://www.w3.org/1999/xhtml"?Jr(o):a==="http://www.w3.org/2000/svg"&&o==="foreignObject"?"http://www.w3.org/1999/xhtml":a}var nr,Ui=function(a){return typeof MSApp<"u"&&MSApp.execUnsafeLocalFunction?function(o,c,v,b){MSApp.execUnsafeLocalFunction(function(){return a(o,c,v,b)})}:a}(function(a,o){if(a.namespaceURI!=="http://www.w3.org/2000/svg"||"innerHTML"in a)a.innerHTML=o;else{for(nr=nr||document.createElement("div"),nr.innerHTML="<svg>"+o.valueOf().toString()+"</svg>",o=nr.firstChild;a.firstChild;)a.removeChild(a.firstChild);for(;o.firstChild;)a.appendChild(o.firstChild)}});function Oa(a,o){if(o){var c=a.firstChild;if(c&&c===a.lastChild&&c.nodeType===3){c.nodeValue=o;return}}a.textContent=o}var Me={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},it=["Webkit","ms","Moz","O"];Object.keys(Me).forEach(function(a){it.forEach(function(o){o=o+a.charAt(0).toUpperCase()+a.substring(1),Me[o]=Me[a]})});function At(a,o,c){return o==null||typeof o=="boolean"||o===""?"":c||typeof o!="number"||o===0||Me.hasOwnProperty(a)&&Me[a]?(""+o).trim():o+"px"}function Xt(a,o){a=a.style;for(var c in o)if(o.hasOwnProperty(c)){var v=c.indexOf("--")===0,b=At(c,o[c],v);c==="float"&&(c="cssFloat"),v?a.setProperty(c,b):a[c]=b}}var On=K({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 En(a,o){if(o){if(On[a]&&(o.children!=null||o.dangerouslySetInnerHTML!=null))throw Error(i(137,a));if(o.dangerouslySetInnerHTML!=null){if(o.children!=null)throw Error(i(60));if(typeof o.dangerouslySetInnerHTML!="object"||!("__html"in o.dangerouslySetInnerHTML))throw Error(i(61))}if(o.style!=null&&typeof o.style!="object")throw Error(i(62))}}function Tn(a,o){if(a.indexOf("-")===-1)return typeof o.is=="string";switch(a){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 ea=null;function cn(a){return a=a.target||a.srcElement||window,a.correspondingUseElement&&(a=a.correspondingUseElement),a.nodeType===3?a.parentNode:a}var va=null,tn=null,Yt=null;function Cs(a){if(a=hf(a)){if(typeof va!="function")throw Error(i(280));var o=a.stateNode;o&&(o=ut(o),va(a.stateNode,a.type,o))}}function ma(a){tn?Yt?Yt.push(a):Yt=[a]:tn=a}function ws(){if(tn){var a=tn,o=Yt;if(Yt=tn=null,Cs(a),o)for(a=0;a<o.length;a++)Cs(o[a])}}function gl(a,o){return a(o)}function ku(){}var Oo=!1;function Es(a,o,c){if(Oo)return a(o,c);Oo=!0;try{return gl(a,o,c)}finally{Oo=!1,(tn!==null||Yt!==null)&&(ku(),ws())}}function jr(a,o){var c=a.stateNode;if(c===null)return null;var v=ut(c);if(v===null)return null;c=v[o];e:switch(o){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(v=!v.disabled)||(a=a.type,v=!(a==="button"||a==="input"||a==="select"||a==="textarea")),a=!v;break e;default:a=!1}if(a)return null;if(c&&typeof c!="function")throw Error(i(231,o,typeof c));return c}var Ts=!1;if(g)try{var Si={};Object.defineProperty(Si,"passive",{get:function(){Ts=!0}}),window.addEventListener("test",Si,Si),window.removeEventListener("test",Si,Si)}catch{Ts=!1}function lo(a,o,c,v,b,w,D,N,I){var oe=Array.prototype.slice.call(arguments,3);try{o.apply(c,oe)}catch(xe){this.onError(xe)}}var ga=!1,Za=null,ya=!1,B=null,Se={onError:function(a){ga=!0,Za=a}};function ze(a,o,c,v,b,w,D,N,I){ga=!1,Za=null,lo.apply(Se,arguments)}function lt(a,o,c,v,b,w,D,N,I){if(ze.apply(this,arguments),ga){if(ga){var oe=Za;ga=!1,Za=null}else throw Error(i(198));ya||(ya=!0,B=oe)}}function _t(a){var o=a,c=a;if(a.alternate)for(;o.return;)o=o.return;else{a=o;do o=a,o.flags&4098&&(c=o.return),a=o.return;while(a)}return o.tag===3?c:null}function Lt(a){if(a.tag===13){var o=a.memoizedState;if(o===null&&(a=a.alternate,a!==null&&(o=a.memoizedState)),o!==null)return o.dehydrated}return null}function Rt(a){if(_t(a)!==a)throw Error(i(188))}function ct(a){var o=a.alternate;if(!o){if(o=_t(a),o===null)throw Error(i(188));return o!==a?null:a}for(var c=a,v=o;;){var b=c.return;if(b===null)break;var w=b.alternate;if(w===null){if(v=b.return,v!==null){c=v;continue}break}if(b.child===w.child){for(w=b.child;w;){if(w===c)return Rt(b),a;if(w===v)return Rt(b),o;w=w.sibling}throw Error(i(188))}if(c.return!==v.return)c=b,v=w;else{for(var D=!1,N=b.child;N;){if(N===c){D=!0,c=b,v=w;break}if(N===v){D=!0,v=b,c=w;break}N=N.sibling}if(!D){for(N=w.child;N;){if(N===c){D=!0,c=w,v=b;break}if(N===v){D=!0,v=w,c=b;break}N=N.sibling}if(!D)throw Error(i(189))}}if(c.alternate!==v)throw Error(i(190))}if(c.tag!==3)throw Error(i(188));return c.stateNode.current===c?a:o}function lr(a){return a=ct(a),a!==null?kn(a):null}function kn(a){if(a.tag===5||a.tag===6)return a;for(a=a.child;a!==null;){var o=kn(a);if(o!==null)return o;a=a.sibling}return null}var _n=r.unstable_scheduleCallback,Fr=r.unstable_cancelCallback,xi=r.unstable_shouldYield,_u=r.unstable_requestPaint,Ft=r.unstable_now,qc=r.unstable_getCurrentPriorityLevel,Hi=r.unstable_ImmediatePriority,Mt=r.unstable_UserBlockingPriority,Wi=r.unstable_NormalPriority,Wd=r.unstable_LowPriority,Xc=r.unstable_IdlePriority,yl=null,Aa=null;function Yd(a){if(Aa&&typeof Aa.onCommitFiberRoot=="function")try{Aa.onCommitFiberRoot(yl,a,void 0,(a.current.flags&128)===128)}catch{}}var Ma=Math.clz32?Math.clz32:Uv,Gd=Math.log,qd=Math.LN2;function Uv(a){return a>>>=0,a===0?32:31-(Gd(a)/qd|0)|0}var Ru=64,ks=4194304;function Ao(a){switch(a&-a){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 a&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return a&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return a}}function Ja(a,o){var c=a.pendingLanes;if(c===0)return 0;var v=0,b=a.suspendedLanes,w=a.pingedLanes,D=c&268435455;if(D!==0){var N=D&~b;N!==0?v=Ao(N):(w&=D,w!==0&&(v=Ao(w)))}else D=c&~b,D!==0?v=Ao(D):w!==0&&(v=Ao(w));if(v===0)return 0;if(o!==0&&o!==v&&!(o&b)&&(b=v&-v,w=o&-o,b>=w||b===16&&(w&4194240)!==0))return o;if(v&4&&(v|=c&16),o=a.entangledLanes,o!==0)for(a=a.entanglements,o&=v;0<o;)c=31-Ma(o),b=1<<c,v|=a[c],o&=~b;return v}function Qc(a,o){switch(a){case 1:case 2:case 4:return o+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 o+5e3;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return-1;case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function Mo(a,o){for(var c=a.suspendedLanes,v=a.pingedLanes,b=a.expirationTimes,w=a.pendingLanes;0<w;){var D=31-Ma(w),N=1<<D,I=b[D];I===-1?(!(N&c)||N&v)&&(b[D]=Qc(N,o)):I<=o&&(a.expiredLanes|=N),w&=~N}}function bl(a){return a=a.pendingLanes&-1073741825,a!==0?a:a&1073741824?1073741824:0}function Du(){var a=Ru;return Ru<<=1,!(Ru&4194240)&&(Ru=64),a}function Kc(a){for(var o=[],c=0;31>c;c++)o.push(a);return o}function uo(a,o,c){a.pendingLanes|=o,o!==536870912&&(a.suspendedLanes=0,a.pingedLanes=0),a=a.eventTimes,o=31-Ma(o),a[o]=c}function Hv(a,o){var c=a.pendingLanes&~o;a.pendingLanes=o,a.suspendedLanes=0,a.pingedLanes=0,a.expiredLanes&=o,a.mutableReadLanes&=o,a.entangledLanes&=o,o=a.entanglements;var v=a.eventTimes;for(a=a.expirationTimes;0<c;){var b=31-Ma(c),w=1<<b;o[b]=0,v[b]=-1,a[b]=-1,c&=~w}}function Sl(a,o){var c=a.entangledLanes|=o;for(a=a.entanglements;c;){var v=31-Ma(c),b=1<<v;b&o|a[v]&o&&(a[v]|=o),c&=~b}}var Qt=0;function Ou(a){return a&=-a,1<a?4<a?a&268435455?16:536870912:4:1}var Xd,Au,fn,Mu,Zc,Et=!1,xl=[],An=null,ta=null,na=null,Po=new Map,rr=new Map,Kt=[],Jc="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 Pa(a,o){switch(a){case"focusin":case"focusout":An=null;break;case"dragenter":case"dragleave":ta=null;break;case"mouseover":case"mouseout":na=null;break;case"pointerover":case"pointerout":Po.delete(o.pointerId);break;case"gotpointercapture":case"lostpointercapture":rr.delete(o.pointerId)}}function Vn(a,o,c,v,b,w){return a===null||a.nativeEvent!==w?(a={blockedOn:o,domEventName:c,eventSystemFlags:v,nativeEvent:w,targetContainers:[b]},o!==null&&(o=hf(o),o!==null&&Au(o)),a):(a.eventSystemFlags|=v,o=a.targetContainers,b!==null&&o.indexOf(b)===-1&&o.push(b),a)}function La(a,o,c,v,b){switch(o){case"focusin":return An=Vn(An,a,o,c,v,b),!0;case"dragenter":return ta=Vn(ta,a,o,c,v,b),!0;case"mouseover":return na=Vn(na,a,o,c,v,b),!0;case"pointerover":var w=b.pointerId;return Po.set(w,Vn(Po.get(w)||null,a,o,c,v,b)),!0;case"gotpointercapture":return w=b.pointerId,rr.set(w,Vn(rr.get(w)||null,a,o,c,v,b)),!0}return!1}function Qd(a){var o=wi(a.target);if(o!==null){var c=_t(o);if(c!==null){if(o=c.tag,o===13){if(o=Lt(c),o!==null){a.blockedOn=o,Zc(a.priority,function(){fn(c)});return}}else if(o===3&&c.stateNode.current.memoizedState.isDehydrated){a.blockedOn=c.tag===3?c.stateNode.containerInfo:null;return}}}a.blockedOn=null}function Lo(a){if(a.blockedOn!==null)return!1;for(var o=a.targetContainers;0<o.length;){var c=zt(a.domEventName,a.eventSystemFlags,o[0],a.nativeEvent);if(c===null){c=a.nativeEvent;var v=new c.constructor(c.type,c);ea=v,c.target.dispatchEvent(v),ea=null}else return o=hf(c),o!==null&&Au(o),a.blockedOn=c,!1;o.shift()}return!0}function ef(a,o,c){Lo(a)&&c.delete(o)}function tf(){Et=!1,An!==null&&Lo(An)&&(An=null),ta!==null&&Lo(ta)&&(ta=null),na!==null&&Lo(na)&&(na=null),Po.forEach(ef),rr.forEach(ef)}function Cl(a,o){a.blockedOn===o&&(a.blockedOn=null,Et||(Et=!0,r.unstable_scheduleCallback(r.unstable_NormalPriority,tf)))}function wl(a){function o(b){return Cl(b,a)}if(0<xl.length){Cl(xl[0],a);for(var c=1;c<xl.length;c++){var v=xl[c];v.blockedOn===a&&(v.blockedOn=null)}}for(An!==null&&Cl(An,a),ta!==null&&Cl(ta,a),na!==null&&Cl(na,a),Po.forEach(o),rr.forEach(o),c=0;c<Kt.length;c++)v=Kt[c],v.blockedOn===a&&(v.blockedOn=null);for(;0<Kt.length&&(c=Kt[0],c.blockedOn===null);)Qd(c),c.blockedOn===null&&Kt.shift()}var zo=Q.ReactCurrentBatchConfig,No=!0;function z(a,o,c,v){var b=Qt,w=zo.transition;zo.transition=null;try{Qt=1,ie(a,o,c,v)}finally{Qt=b,zo.transition=w}}function W(a,o,c,v){var b=Qt,w=zo.transition;zo.transition=null;try{Qt=4,ie(a,o,c,v)}finally{Qt=b,zo.transition=w}}function ie(a,o,c,v){if(No){var b=zt(a,o,c,v);if(b===null)lp(a,o,v,Be,c),Pa(a,v);else if(La(b,a,o,c,v))v.stopPropagation();else if(Pa(a,v),o&4&&-1<Jc.indexOf(a)){for(;b!==null;){var w=hf(b);if(w!==null&&Xd(w),w=zt(a,o,c,v),w===null&&lp(a,o,v,Be,c),w===b)break;b=w}b!==null&&v.stopPropagation()}else lp(a,o,v,null,c)}}var Be=null;function zt(a,o,c,v){if(Be=null,a=cn(v),a=wi(a),a!==null)if(o=_t(a),o===null)a=null;else if(c=o.tag,c===13){if(a=Lt(o),a!==null)return a;a=null}else if(c===3){if(o.stateNode.current.memoizedState.isDehydrated)return o.tag===3?o.stateNode.containerInfo:null;a=null}else o!==a&&(a=null);return Be=a,null}function Zt(a){switch(a){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(qc()){case Hi:return 1;case Mt:return 4;case Wi:case Wd:return 16;case Xc:return 536870912;default:return 16}default:return 16}}var Ht=null,Pt=null,nn=null;function ra(){if(nn)return nn;var a,o=Pt,c=o.length,v,b="value"in Ht?Ht.value:Ht.textContent,w=b.length;for(a=0;a<c&&o[a]===b[a];a++);var D=c-a;for(v=1;v<=D&&o[c-v]===b[w-v];v++);return nn=b.slice(a,1<v?1-v:void 0)}function ur(a){var o=a.keyCode;return"charCode"in a?(a=a.charCode,a===0&&o===13&&(a=13)):a=o,a===10&&(a=13),32<=a||a===13?a:0}function Yi(){return!0}function Pu(){return!1}function $r(a){function o(c,v,b,w,D){this._reactName=c,this._targetInst=b,this.type=v,this.nativeEvent=w,this.target=D,this.currentTarget=null;for(var N in a)a.hasOwnProperty(N)&&(c=a[N],this[N]=c?c(w):w[N]);return this.isDefaultPrevented=(w.defaultPrevented!=null?w.defaultPrevented:w.returnValue===!1)?Yi:Pu,this.isPropagationStopped=Pu,this}return K(o.prototype,{preventDefault:function(){this.defaultPrevented=!0;var c=this.nativeEvent;c&&(c.preventDefault?c.preventDefault():typeof c.returnValue!="unknown"&&(c.returnValue=!1),this.isDefaultPrevented=Yi)},stopPropagation:function(){var c=this.nativeEvent;c&&(c.stopPropagation?c.stopPropagation():typeof c.cancelBubble!="unknown"&&(c.cancelBubble=!0),this.isPropagationStopped=Yi)},persist:function(){},isPersistent:Yi}),o}var Gi={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(a){return a.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},Kd=$r(Gi),Lu=K({},Gi,{view:0,detail:0}),j0=$r(Lu),Zd,Wv,nf,_r=K({},Lu,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Xv,button:0,buttons:0,relatedTarget:function(a){return a.relatedTarget===void 0?a.fromElement===a.srcElement?a.toElement:a.fromElement:a.relatedTarget},movementX:function(a){return"movementX"in a?a.movementX:(a!==nf&&(nf&&a.type==="mousemove"?(Zd=a.screenX-nf.screenX,Wv=a.screenY-nf.screenY):Wv=Zd=0,nf=a),Zd)},movementY:function(a){return"movementY"in a?a.movementY:Wv}}),Jd=$r(_r),F0=K({},_r,{dataTransfer:0}),$0=$r(F0),K2=K({},Lu,{relatedTarget:0}),_s=$r(K2),Yv=K({},Gi,{animationName:0,elapsedTime:0,pseudoElement:0}),B0=$r(Yv),Z2=K({},Gi,{clipboardData:function(a){return"clipboardData"in a?a.clipboardData:window.clipboardData}}),J2=$r(Z2),ew=K({},Gi,{data:0}),Gv=$r(ew),qv={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},V0={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"},I0={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function U0(a){var o=this.nativeEvent;return o.getModifierState?o.getModifierState(a):(a=I0[a])?!!o[a]:!1}function Xv(){return U0}var jo=K({},Lu,{key:function(a){if(a.key){var o=qv[a.key]||a.key;if(o!=="Unidentified")return o}return a.type==="keypress"?(a=ur(a),a===13?"Enter":String.fromCharCode(a)):a.type==="keydown"||a.type==="keyup"?V0[a.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Xv,charCode:function(a){return a.type==="keypress"?ur(a):0},keyCode:function(a){return a.type==="keydown"||a.type==="keyup"?a.keyCode:0},which:function(a){return a.type==="keypress"?ur(a):a.type==="keydown"||a.type==="keyup"?a.keyCode:0}}),tw=$r(jo),Qv=K({},_r,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),ep=$r(Qv),Kv=K({},Lu,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Xv}),nw=$r(Kv),tp=K({},Gi,{propertyName:0,elapsedTime:0,pseudoElement:0}),H0=$r(tp),za=K({},_r,{deltaX:function(a){return"deltaX"in a?a.deltaX:"wheelDeltaX"in a?-a.wheelDeltaX:0},deltaY:function(a){return"deltaY"in a?a.deltaY:"wheelDeltaY"in a?-a.wheelDeltaY:"wheelDelta"in a?-a.wheelDelta:0},deltaZ:0,deltaMode:0}),Fo=$r(za),cr=[9,13,27,32],qi=g&&"CompositionEvent"in window,El=null;g&&"documentMode"in document&&(El=document.documentMode);var np=g&&"TextEvent"in window&&!El,W0=g&&(!qi||El&&8<El&&11>=El),zu=String.fromCharCode(32),Y0=!1;function G0(a,o){switch(a){case"keyup":return cr.indexOf(o.keyCode)!==-1;case"keydown":return o.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function rp(a){return a=a.detail,typeof a=="object"&&"data"in a?a.data:null}var Nu=!1;function rw(a,o){switch(a){case"compositionend":return rp(o);case"keypress":return o.which!==32?null:(Y0=!0,zu);case"textInput":return a=o.data,a===zu&&Y0?null:a;default:return null}}function aw(a,o){if(Nu)return a==="compositionend"||!qi&&G0(a,o)?(a=ra(),nn=Pt=Ht=null,Nu=!1,a):null;switch(a){case"paste":return null;case"keypress":if(!(o.ctrlKey||o.altKey||o.metaKey)||o.ctrlKey&&o.altKey){if(o.char&&1<o.char.length)return o.char;if(o.which)return String.fromCharCode(o.which)}return null;case"compositionend":return W0&&o.locale!=="ko"?null:o.data;default:return null}}var q0={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 X0(a){var o=a&&a.nodeName&&a.nodeName.toLowerCase();return o==="input"?!!q0[a.type]:o==="textarea"}function Q0(a,o,c,v){ma(v),o=ff(o,"onChange"),0<o.length&&(c=new Kd("onChange","change",null,c,v),a.push({event:c,listeners:o}))}var rf=null,ju=null;function Fu(a){sp(a,0)}function $u(a){var o=Vu(a);if(he(o))return a}function K0(a,o){if(a==="change")return o}var Zv=!1;if(g){var Jv;if(g){var em="oninput"in document;if(!em){var Z0=document.createElement("div");Z0.setAttribute("oninput","return;"),em=typeof Z0.oninput=="function"}Jv=em}else Jv=!1;Zv=Jv&&(!document.documentMode||9<document.documentMode)}function J0(){rf&&(rf.detachEvent("onpropertychange",e1),ju=rf=null)}function e1(a){if(a.propertyName==="value"&&$u(ju)){var o=[];Q0(o,ju,a,cn(a)),Es(Fu,o)}}function iw(a,o,c){a==="focusin"?(J0(),rf=o,ju=c,rf.attachEvent("onpropertychange",e1)):a==="focusout"&&J0()}function ow(a){if(a==="selectionchange"||a==="keyup"||a==="keydown")return $u(ju)}function sw(a,o){if(a==="click")return $u(o)}function t1(a,o){if(a==="input"||a==="change")return $u(o)}function lw(a,o){return a===o&&(a!==0||1/a===1/o)||a!==a&&o!==o}var Ci=typeof Object.is=="function"?Object.is:lw;function af(a,o){if(Ci(a,o))return!0;if(typeof a!="object"||a===null||typeof o!="object"||o===null)return!1;var c=Object.keys(a),v=Object.keys(o);if(c.length!==v.length)return!1;for(v=0;v<c.length;v++){var b=c[v];if(!y.call(o,b)||!Ci(a[b],o[b]))return!1}return!0}function n1(a){for(;a&&a.firstChild;)a=a.firstChild;return a}function r1(a,o){var c=n1(a);a=0;for(var v;c;){if(c.nodeType===3){if(v=a+c.textContent.length,a<=o&&v>=o)return{node:c,offset:o-a};a=v}e:{for(;c;){if(c.nextSibling){c=c.nextSibling;break e}c=c.parentNode}c=void 0}c=n1(c)}}function a1(a,o){return a&&o?a===o?!0:a&&a.nodeType===3?!1:o&&o.nodeType===3?a1(a,o.parentNode):"contains"in a?a.contains(o):a.compareDocumentPosition?!!(a.compareDocumentPosition(o)&16):!1:!1}function ap(){for(var a=window,o=wt();o instanceof a.HTMLIFrameElement;){try{var c=typeof o.contentWindow.location.href=="string"}catch{c=!1}if(c)a=o.contentWindow;else break;o=wt(a.document)}return o}function $o(a){var o=a&&a.nodeName&&a.nodeName.toLowerCase();return o&&(o==="input"&&(a.type==="text"||a.type==="search"||a.type==="tel"||a.type==="url"||a.type==="password")||o==="textarea"||a.contentEditable==="true")}function ip(a){var o=ap(),c=a.focusedElem,v=a.selectionRange;if(o!==c&&c&&c.ownerDocument&&a1(c.ownerDocument.documentElement,c)){if(v!==null&&$o(c)){if(o=v.start,a=v.end,a===void 0&&(a=o),"selectionStart"in c)c.selectionStart=o,c.selectionEnd=Math.min(a,c.value.length);else if(a=(o=c.ownerDocument||document)&&o.defaultView||window,a.getSelection){a=a.getSelection();var b=c.textContent.length,w=Math.min(v.start,b);v=v.end===void 0?w:Math.min(v.end,b),!a.extend&&w>v&&(b=v,v=w,w=b),b=r1(c,w);var D=r1(c,v);b&&D&&(a.rangeCount!==1||a.anchorNode!==b.node||a.anchorOffset!==b.offset||a.focusNode!==D.node||a.focusOffset!==D.offset)&&(o=o.createRange(),o.setStart(b.node,b.offset),a.removeAllRanges(),w>v?(a.addRange(o),a.extend(D.node,D.offset)):(o.setEnd(D.node,D.offset),a.addRange(o)))}}for(o=[],a=c;a=a.parentNode;)a.nodeType===1&&o.push({element:a,left:a.scrollLeft,top:a.scrollTop});for(typeof c.focus=="function"&&c.focus(),c=0;c<o.length;c++)a=o[c],a.element.scrollLeft=a.left,a.element.scrollTop=a.top}}var i1=g&&"documentMode"in document&&11>=document.documentMode,Xi=null,tm=null,of=null,nm=!1;function o1(a,o,c){var v=c.window===c?c.document:c.nodeType===9?c:c.ownerDocument;nm||Xi==null||Xi!==wt(v)||(v=Xi,"selectionStart"in v&&$o(v)?v={start:v.selectionStart,end:v.selectionEnd}:(v=(v.ownerDocument&&v.ownerDocument.defaultView||window).getSelection(),v={anchorNode:v.anchorNode,anchorOffset:v.anchorOffset,focusNode:v.focusNode,focusOffset:v.focusOffset}),of&&af(of,v)||(of=v,v=ff(tm,"onSelect"),0<v.length&&(o=new Kd("onSelect","select",null,o,c),a.push({event:o,listeners:v}),o.target=Xi)))}function op(a,o){var c={};return c[a.toLowerCase()]=o.toLowerCase(),c["Webkit"+a]="webkit"+o,c["Moz"+a]="moz"+o,c}var Tl={animationend:op("Animation","AnimationEnd"),animationiteration:op("Animation","AnimationIteration"),animationstart:op("Animation","AnimationStart"),transitionend:op("Transition","TransitionEnd")},rm={},am={};g&&(am=document.createElement("div").style,"AnimationEvent"in window||(delete Tl.animationend.animation,delete Tl.animationiteration.animation,delete Tl.animationstart.animation),"TransitionEvent"in window||delete Tl.transitionend.transition);function Rr(a){if(rm[a])return rm[a];if(!Tl[a])return a;var o=Tl[a],c;for(c in o)if(o.hasOwnProperty(c)&&c in am)return rm[a]=o[c];return a}var im=Rr("animationend"),s1=Rr("animationiteration"),l1=Rr("animationstart"),u1=Rr("transitionend"),c1=new Map,f1="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 Bo(a,o){c1.set(a,o),h(o,[a])}for(var sf=0;sf<f1.length;sf++){var kl=f1[sf],uw=kl.toLowerCase(),lf=kl[0].toUpperCase()+kl.slice(1);Bo(uw,"on"+lf)}Bo(im,"onAnimationEnd"),Bo(s1,"onAnimationIteration"),Bo(l1,"onAnimationStart"),Bo("dblclick","onDoubleClick"),Bo("focusin","onFocus"),Bo("focusout","onBlur"),Bo(u1,"onTransitionEnd"),p("onMouseEnter",["mouseout","mouseover"]),p("onMouseLeave",["mouseout","mouseover"]),p("onPointerEnter",["pointerout","pointerover"]),p("onPointerLeave",["pointerout","pointerover"]),h("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),h("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),h("onBeforeInput",["compositionend","keypress","textInput","paste"]),h("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),h("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),h("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var uf="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(" "),cw=new Set("cancel close invalid load scroll toggle".split(" ").concat(uf));function d1(a,o,c){var v=a.type||"unknown-event";a.currentTarget=c,lt(v,o,void 0,a),a.currentTarget=null}function sp(a,o){o=(o&4)!==0;for(var c=0;c<a.length;c++){var v=a[c],b=v.event;v=v.listeners;e:{var w=void 0;if(o)for(var D=v.length-1;0<=D;D--){var N=v[D],I=N.instance,oe=N.currentTarget;if(N=N.listener,I!==w&&b.isPropagationStopped())break e;d1(b,N,oe),w=I}else for(D=0;D<v.length;D++){if(N=v[D],I=N.instance,oe=N.currentTarget,N=N.listener,I!==w&&b.isPropagationStopped())break e;d1(b,N,oe),w=I}}}if(ya)throw a=B,ya=!1,B=null,a}function bn(a,o){var c=o[dm];c===void 0&&(c=o[dm]=new Set);var v=a+"__bubble";c.has(v)||(p1(o,a,2,!1),c.add(v))}function Rs(a,o,c){var v=0;o&&(v|=4),p1(c,a,v,o)}var Vo="_reactListening"+Math.random().toString(36).slice(2);function Bu(a){if(!a[Vo]){a[Vo]=!0,l.forEach(function(c){c!=="selectionchange"&&(cw.has(c)||Rs(c,!1,a),Rs(c,!0,a))});var o=a.nodeType===9?a:a.ownerDocument;o===null||o[Vo]||(o[Vo]=!0,Rs("selectionchange",!1,o))}}function p1(a,o,c,v){switch(Zt(o)){case 1:var b=z;break;case 4:b=W;break;default:b=ie}c=b.bind(null,o,c,a),b=void 0,!Ts||o!=="touchstart"&&o!=="touchmove"&&o!=="wheel"||(b=!0),v?b!==void 0?a.addEventListener(o,c,{capture:!0,passive:b}):a.addEventListener(o,c,!0):b!==void 0?a.addEventListener(o,c,{passive:b}):a.addEventListener(o,c,!1)}function lp(a,o,c,v,b){var w=v;if(!(o&1)&&!(o&2)&&v!==null)e:for(;;){if(v===null)return;var D=v.tag;if(D===3||D===4){var N=v.stateNode.containerInfo;if(N===b||N.nodeType===8&&N.parentNode===b)break;if(D===4)for(D=v.return;D!==null;){var I=D.tag;if((I===3||I===4)&&(I=D.stateNode.containerInfo,I===b||I.nodeType===8&&I.parentNode===b))return;D=D.return}for(;N!==null;){if(D=wi(N),D===null)return;if(I=D.tag,I===5||I===6){v=w=D;continue e}N=N.parentNode}}v=v.return}Es(function(){var oe=w,xe=cn(c),Ce=[];e:{var ge=c1.get(a);if(ge!==void 0){var He=Kd,Qe=a;switch(a){case"keypress":if(ur(c)===0)break e;case"keydown":case"keyup":He=tw;break;case"focusin":Qe="focus",He=_s;break;case"focusout":Qe="blur",He=_s;break;case"beforeblur":case"afterblur":He=_s;break;case"click":if(c.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":He=Jd;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":He=$0;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":He=nw;break;case im:case s1:case l1:He=B0;break;case u1:He=H0;break;case"scroll":He=j0;break;case"wheel":He=Fo;break;case"copy":case"cut":case"paste":He=J2;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":He=ep}var et=(o&4)!==0,ir=!et&&a==="scroll",Z=et?ge!==null?ge+"Capture":null:ge;et=[];for(var Y=oe,ne;Y!==null;){ne=Y;var ke=ne.stateNode;if(ne.tag===5&&ke!==null&&(ne=ke,Z!==null&&(ke=jr(Y,Z),ke!=null&&et.push(cf(Y,ke,ne)))),ir)break;Y=Y.return}0<et.length&&(ge=new He(ge,Qe,null,c,xe),Ce.push({event:ge,listeners:et}))}}if(!(o&7)){e:{if(ge=a==="mouseover"||a==="pointerover",He=a==="mouseout"||a==="pointerout",ge&&c!==ea&&(Qe=c.relatedTarget||c.fromElement)&&(wi(Qe)||Qe[Io]))break e;if((He||ge)&&(ge=xe.window===xe?xe:(ge=xe.ownerDocument)?ge.defaultView||ge.parentWindow:window,He?(Qe=c.relatedTarget||c.toElement,He=oe,Qe=Qe?wi(Qe):null,Qe!==null&&(ir=_t(Qe),Qe!==ir||Qe.tag!==5&&Qe.tag!==6)&&(Qe=null)):(He=null,Qe=oe),He!==Qe)){if(et=Jd,ke="onMouseLeave",Z="onMouseEnter",Y="mouse",(a==="pointerout"||a==="pointerover")&&(et=ep,ke="onPointerLeave",Z="onPointerEnter",Y="pointer"),ir=He==null?ge:Vu(He),ne=Qe==null?ge:Vu(Qe),ge=new et(ke,Y+"leave",He,c,xe),ge.target=ir,ge.relatedTarget=ne,ke=null,wi(xe)===oe&&(et=new et(Z,Y+"enter",Qe,c,xe),et.target=ne,et.relatedTarget=ir,ke=et),ir=ke,He&&Qe)t:{for(et=He,Z=Qe,Y=0,ne=et;ne;ne=_l(ne))Y++;for(ne=0,ke=Z;ke;ke=_l(ke))ne++;for(;0<Y-ne;)et=_l(et),Y--;for(;0<ne-Y;)Z=_l(Z),ne--;for(;Y--;){if(et===Z||Z!==null&&et===Z.alternate)break t;et=_l(et),Z=_l(Z)}et=null}else et=null;He!==null&&om(Ce,ge,He,et,!1),Qe!==null&&ir!==null&&om(Ce,ir,Qe,et,!0)}}e:{if(ge=oe?Vu(oe):window,He=ge.nodeName&&ge.nodeName.toLowerCase(),He==="select"||He==="input"&&ge.type==="file")var nt=K0;else if(X0(ge))if(Zv)nt=t1;else{nt=ow;var Ke=iw}else(He=ge.nodeName)&&He.toLowerCase()==="input"&&(ge.type==="checkbox"||ge.type==="radio")&&(nt=sw);if(nt&&(nt=nt(a,oe))){Q0(Ce,nt,c,xe);break e}Ke&&Ke(a,ge,oe),a==="focusout"&&(Ke=ge._wrapperState)&&Ke.controlled&&ge.type==="number"&&ha(ge,"number",ge.value)}switch(Ke=oe?Vu(oe):window,a){case"focusin":(X0(Ke)||Ke.contentEditable==="true")&&(Xi=Ke,tm=oe,of=null);break;case"focusout":of=tm=Xi=null;break;case"mousedown":nm=!0;break;case"contextmenu":case"mouseup":case"dragend":nm=!1,o1(Ce,c,xe);break;case"selectionchange":if(i1)break;case"keydown":case"keyup":o1(Ce,c,xe)}var ot;if(qi)e:{switch(a){case"compositionstart":var xt="onCompositionStart";break e;case"compositionend":xt="onCompositionEnd";break e;case"compositionupdate":xt="onCompositionUpdate";break e}xt=void 0}else Nu?G0(a,c)&&(xt="onCompositionEnd"):a==="keydown"&&c.keyCode===229&&(xt="onCompositionStart");xt&&(W0&&c.locale!=="ko"&&(Nu||xt!=="onCompositionStart"?xt==="onCompositionEnd"&&Nu&&(ot=ra()):(Ht=xe,Pt="value"in Ht?Ht.value:Ht.textContent,Nu=!0)),Ke=ff(oe,xt),0<Ke.length&&(xt=new Gv(xt,a,null,c,xe),Ce.push({event:xt,listeners:Ke}),ot?xt.data=ot:(ot=rp(c),ot!==null&&(xt.data=ot)))),(ot=np?rw(a,c):aw(a,c))&&(oe=ff(oe,"onBeforeInput"),0<oe.length&&(xe=new Gv("onBeforeInput","beforeinput",null,c,xe),Ce.push({event:xe,listeners:oe}),xe.data=ot))}sp(Ce,o)})}function cf(a,o,c){return{instance:a,listener:o,currentTarget:c}}function ff(a,o){for(var c=o+"Capture",v=[];a!==null;){var b=a,w=b.stateNode;b.tag===5&&w!==null&&(b=w,w=jr(a,c),w!=null&&v.unshift(cf(a,w,b)),w=jr(a,o),w!=null&&v.push(cf(a,w,b))),a=a.return}return v}function _l(a){if(a===null)return null;do a=a.return;while(a&&a.tag!==5);return a||null}function om(a,o,c,v,b){for(var w=o._reactName,D=[];c!==null&&c!==v;){var N=c,I=N.alternate,oe=N.stateNode;if(I!==null&&I===v)break;N.tag===5&&oe!==null&&(N=oe,b?(I=jr(c,w),I!=null&&D.unshift(cf(c,I,N))):b||(I=jr(c,w),I!=null&&D.push(cf(c,I,N)))),c=c.return}D.length!==0&&a.push({event:o,listeners:D})}var sm=/\r\n?/g,fw=/\u0000|\uFFFD/g;function lm(a){return(typeof a=="string"?a:""+a).replace(sm,`
80
+ `).replace(fw,"")}function up(a,o,c){if(o=lm(o),lm(a)!==o&&c)throw Error(i(425))}function cp(){}var um=null,Rl=null;function df(a,o){return a==="textarea"||a==="noscript"||typeof o.children=="string"||typeof o.children=="number"||typeof o.dangerouslySetInnerHTML=="object"&&o.dangerouslySetInnerHTML!==null&&o.dangerouslySetInnerHTML.__html!=null}var Dl=typeof setTimeout=="function"?setTimeout:void 0,h1=typeof clearTimeout=="function"?clearTimeout:void 0,cm=typeof Promise=="function"?Promise:void 0,fm=typeof queueMicrotask=="function"?queueMicrotask:typeof cm<"u"?function(a){return cm.resolve(null).then(a).catch(dw)}:Dl;function dw(a){setTimeout(function(){throw a})}function Ds(a,o){var c=o,v=0;do{var b=c.nextSibling;if(a.removeChild(c),b&&b.nodeType===8)if(c=b.data,c==="/$"){if(v===0){a.removeChild(b),wl(o);return}v--}else c!=="$"&&c!=="$?"&&c!=="$!"||v++;c=b}while(c);wl(o)}function Qi(a){for(;a!=null;a=a.nextSibling){var o=a.nodeType;if(o===1||o===3)break;if(o===8){if(o=a.data,o==="$"||o==="$!"||o==="$?")break;if(o==="/$")return null}}return a}function pf(a){a=a.previousSibling;for(var o=0;a;){if(a.nodeType===8){var c=a.data;if(c==="$"||c==="$!"||c==="$?"){if(o===0)return a;o--}else c==="/$"&&o++}a=a.previousSibling}return null}var Os=Math.random().toString(36).slice(2),co="__reactFiber$"+Os,Ol="__reactProps$"+Os,Io="__reactContainer$"+Os,dm="__reactEvents$"+Os,pw="__reactListeners$"+Os,pm="__reactHandles$"+Os;function wi(a){var o=a[co];if(o)return o;for(var c=a.parentNode;c;){if(o=c[Io]||c[co]){if(c=o.alternate,o.child!==null||c!==null&&c.child!==null)for(a=pf(a);a!==null;){if(c=a[co])return c;a=pf(a)}return o}a=c,c=a.parentNode}return null}function hf(a){return a=a[co]||a[Io],!a||a.tag!==5&&a.tag!==6&&a.tag!==13&&a.tag!==3?null:a}function Vu(a){if(a.tag===5||a.tag===6)return a.stateNode;throw Error(i(33))}function ut(a){return a[Ol]||null}var As=[],Mn=-1;function Dt(a){return{current:a}}function Jt(a){0>Mn||(a.current=As[Mn],As[Mn]=null,Mn--)}function rn(a,o){Mn++,As[Mn]=a.current,a.current=o}var fo={},St=Dt(fo),Qn=Dt(!1),Na=fo;function Ei(a,o){var c=a.type.contextTypes;if(!c)return fo;var v=a.stateNode;if(v&&v.__reactInternalMemoizedUnmaskedChildContext===o)return v.__reactInternalMemoizedMaskedChildContext;var b={},w;for(w in c)b[w]=o[w];return v&&(a=a.stateNode,a.__reactInternalMemoizedUnmaskedChildContext=o,a.__reactInternalMemoizedMaskedChildContext=b),b}function In(a){return a=a.childContextTypes,a!=null}function Ti(){Jt(Qn),Jt(St)}function Ms(a,o,c){if(St.current!==fo)throw Error(i(168));rn(St,o),rn(Qn,c)}function vf(a,o,c){var v=a.stateNode;if(o=o.childContextTypes,typeof v.getChildContext!="function")return c;v=v.getChildContext();for(var b in v)if(!(b in o))throw Error(i(108,Xe(a)||"Unknown",b));return K({},c,v)}function fp(a){return a=(a=a.stateNode)&&a.__reactInternalMemoizedMergedChildContext||fo,Na=St.current,rn(St,a),rn(Qn,Qn.current),!0}function v1(a,o,c){var v=a.stateNode;if(!v)throw Error(i(169));c?(a=vf(a,o,Na),v.__reactInternalMemoizedMergedChildContext=a,Jt(Qn),Jt(St),rn(St,a)):Jt(Qn),rn(Qn,c)}var ei=null,Dr=!1,mf=!1;function hm(a){ei===null?ei=[a]:ei.push(a)}function vm(a){Dr=!0,hm(a)}function ja(){if(!mf&&ei!==null){mf=!0;var a=0,o=Qt;try{var c=ei;for(Qt=1;a<c.length;a++){var v=c[a];do v=v(!0);while(v!==null)}ei=null,Dr=!1}catch(b){throw ei!==null&&(ei=ei.slice(a+1)),_n(Hi,ja),b}finally{Qt=o,mf=!1}}return null}var Ps=[],Fa=0,Al=null,Iu=0,$a=[],aa=0,ki=null,Br=1,Uo="";function ti(a,o){Ps[Fa++]=Iu,Ps[Fa++]=Al,Al=a,Iu=o}function mm(a,o,c){$a[aa++]=Br,$a[aa++]=Uo,$a[aa++]=ki,ki=a;var v=Br;a=Uo;var b=32-Ma(v)-1;v&=~(1<<b),c+=1;var w=32-Ma(o)+b;if(30<w){var D=b-b%5;w=(v&(1<<D)-1).toString(32),v>>=D,b-=D,Br=1<<32-Ma(o)+b|c<<b|v,Uo=w+a}else Br=1<<w|c<<b|v,Uo=a}function dp(a){a.return!==null&&(ti(a,1),mm(a,1,0))}function gm(a){for(;a===Al;)Al=Ps[--Fa],Ps[Fa]=null,Iu=Ps[--Fa],Ps[Fa]=null;for(;a===ki;)ki=$a[--aa],$a[aa]=null,Uo=$a[--aa],$a[aa]=null,Br=$a[--aa],$a[aa]=null}var ni=null,Ba=null,Pn=!1,_i=null;function ym(a,o){var c=Pi(5,null,null,0);c.elementType="DELETED",c.stateNode=o,c.return=a,o=a.deletions,o===null?(a.deletions=[c],a.flags|=16):o.push(c)}function m1(a,o){switch(a.tag){case 5:var c=a.type;return o=o.nodeType!==1||c.toLowerCase()!==o.nodeName.toLowerCase()?null:o,o!==null?(a.stateNode=o,ni=a,Ba=Qi(o.firstChild),!0):!1;case 6:return o=a.pendingProps===""||o.nodeType!==3?null:o,o!==null?(a.stateNode=o,ni=a,Ba=null,!0):!1;case 13:return o=o.nodeType!==8?null:o,o!==null?(c=ki!==null?{id:Br,overflow:Uo}:null,a.memoizedState={dehydrated:o,treeContext:c,retryLane:1073741824},c=Pi(18,null,null,0),c.stateNode=o,c.return=a,a.child=c,ni=a,Ba=null,!0):!1;default:return!1}}function pp(a){return(a.mode&1)!==0&&(a.flags&128)===0}function hp(a){if(Pn){var o=Ba;if(o){var c=o;if(!m1(a,o)){if(pp(a))throw Error(i(418));o=Qi(c.nextSibling);var v=ni;o&&m1(a,o)?ym(v,c):(a.flags=a.flags&-4097|2,Pn=!1,ni=a)}}else{if(pp(a))throw Error(i(418));a.flags=a.flags&-4097|2,Pn=!1,ni=a}}}function g1(a){for(a=a.return;a!==null&&a.tag!==5&&a.tag!==3&&a.tag!==13;)a=a.return;ni=a}function vp(a){if(a!==ni)return!1;if(!Pn)return g1(a),Pn=!0,!1;var o;if((o=a.tag!==3)&&!(o=a.tag!==5)&&(o=a.type,o=o!=="head"&&o!=="body"&&!df(a.type,a.memoizedProps)),o&&(o=Ba)){if(pp(a))throw y1(),Error(i(418));for(;o;)ym(a,o),o=Qi(o.nextSibling)}if(g1(a),a.tag===13){if(a=a.memoizedState,a=a!==null?a.dehydrated:null,!a)throw Error(i(317));e:{for(a=a.nextSibling,o=0;a;){if(a.nodeType===8){var c=a.data;if(c==="/$"){if(o===0){Ba=Qi(a.nextSibling);break e}o--}else c!=="$"&&c!=="$!"&&c!=="$?"||o++}a=a.nextSibling}Ba=null}}else Ba=ni?Qi(a.stateNode.nextSibling):null;return!0}function y1(){for(var a=Ba;a;)a=Qi(a.nextSibling)}function Wn(){Ba=ni=null,Pn=!1}function bm(a){_i===null?_i=[a]:_i.push(a)}var mp=Q.ReactCurrentBatchConfig;function ri(a,o){if(a&&a.defaultProps){o=K({},o),a=a.defaultProps;for(var c in a)o[c]===void 0&&(o[c]=a[c]);return o}return o}var po=Dt(null),gp=null,Ls=null,Sm=null;function xm(){Sm=Ls=gp=null}function zs(a){var o=po.current;Jt(po),a._currentValue=o}function Or(a,o,c){for(;a!==null;){var v=a.alternate;if((a.childLanes&o)!==o?(a.childLanes|=o,v!==null&&(v.childLanes|=o)):v!==null&&(v.childLanes&o)!==o&&(v.childLanes|=o),a===c)break;a=a.return}}function Ne(a,o){gp=a,Sm=Ls=null,a=a.dependencies,a!==null&&a.firstContext!==null&&(a.lanes&o&&(fr=!0),a.firstContext=null)}function ar(a){var o=a._currentValue;if(Sm!==a)if(a={context:a,memoizedValue:o,next:null},Ls===null){if(gp===null)throw Error(i(308));Ls=a,gp.dependencies={lanes:0,firstContext:a}}else Ls=Ls.next=a;return o}var Vr=null;function Cm(a){Vr===null?Vr=[a]:Vr.push(a)}function b1(a,o,c,v){var b=o.interleaved;return b===null?(c.next=c,Cm(o)):(c.next=b.next,b.next=c),o.interleaved=c,Ho(a,v)}function Ho(a,o){a.lanes|=o;var c=a.alternate;for(c!==null&&(c.lanes|=o),c=a,a=a.return;a!==null;)a.childLanes|=o,c=a.alternate,c!==null&&(c.childLanes|=o),c=a,a=a.return;return c.tag===3?c.stateNode:null}var Ns=!1;function wm(a){a.updateQueue={baseState:a.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function yr(a,o){a=a.updateQueue,o.updateQueue===a&&(o.updateQueue={baseState:a.baseState,firstBaseUpdate:a.firstBaseUpdate,lastBaseUpdate:a.lastBaseUpdate,shared:a.shared,effects:a.effects})}function Wo(a,o){return{eventTime:a,lane:o,tag:0,payload:null,callback:null,next:null}}function js(a,o,c){var v=a.updateQueue;if(v===null)return null;if(v=v.shared,$t&2){var b=v.pending;return b===null?o.next=o:(o.next=b.next,b.next=o),v.pending=o,Ho(a,c)}return b=v.interleaved,b===null?(o.next=o,Cm(v)):(o.next=b.next,b.next=o),v.interleaved=o,Ho(a,c)}function yp(a,o,c){if(o=o.updateQueue,o!==null&&(o=o.shared,(c&4194240)!==0)){var v=o.lanes;v&=a.pendingLanes,c|=v,o.lanes=c,Sl(a,c)}}function Em(a,o){var c=a.updateQueue,v=a.alternate;if(v!==null&&(v=v.updateQueue,c===v)){var b=null,w=null;if(c=c.firstBaseUpdate,c!==null){do{var D={eventTime:c.eventTime,lane:c.lane,tag:c.tag,payload:c.payload,callback:c.callback,next:null};w===null?b=w=D:w=w.next=D,c=c.next}while(c!==null);w===null?b=w=o:w=w.next=o}else b=w=o;c={baseState:v.baseState,firstBaseUpdate:b,lastBaseUpdate:w,shared:v.shared,effects:v.effects},a.updateQueue=c;return}a=c.lastBaseUpdate,a===null?c.firstBaseUpdate=o:a.next=o,c.lastBaseUpdate=o}function Fs(a,o,c,v){var b=a.updateQueue;Ns=!1;var w=b.firstBaseUpdate,D=b.lastBaseUpdate,N=b.shared.pending;if(N!==null){b.shared.pending=null;var I=N,oe=I.next;I.next=null,D===null?w=oe:D.next=oe,D=I;var xe=a.alternate;xe!==null&&(xe=xe.updateQueue,N=xe.lastBaseUpdate,N!==D&&(N===null?xe.firstBaseUpdate=oe:N.next=oe,xe.lastBaseUpdate=I))}if(w!==null){var Ce=b.baseState;D=0,xe=oe=I=null,N=w;do{var ge=N.lane,He=N.eventTime;if((v&ge)===ge){xe!==null&&(xe=xe.next={eventTime:He,lane:0,tag:N.tag,payload:N.payload,callback:N.callback,next:null});e:{var Qe=a,et=N;switch(ge=o,He=c,et.tag){case 1:if(Qe=et.payload,typeof Qe=="function"){Ce=Qe.call(He,Ce,ge);break e}Ce=Qe;break e;case 3:Qe.flags=Qe.flags&-65537|128;case 0:if(Qe=et.payload,ge=typeof Qe=="function"?Qe.call(He,Ce,ge):Qe,ge==null)break e;Ce=K({},Ce,ge);break e;case 2:Ns=!0}}N.callback!==null&&N.lane!==0&&(a.flags|=64,ge=b.effects,ge===null?b.effects=[N]:ge.push(N))}else He={eventTime:He,lane:ge,tag:N.tag,payload:N.payload,callback:N.callback,next:null},xe===null?(oe=xe=He,I=Ce):xe=xe.next=He,D|=ge;if(N=N.next,N===null){if(N=b.shared.pending,N===null)break;ge=N,N=ge.next,ge.next=null,b.lastBaseUpdate=ge,b.shared.pending=null}}while(1);if(xe===null&&(I=Ce),b.baseState=I,b.firstBaseUpdate=oe,b.lastBaseUpdate=xe,o=b.shared.interleaved,o!==null){b=o;do D|=b.lane,b=b.next;while(b!==o)}else w===null&&(b.shared.lanes=0);Xo|=D,a.lanes=D,a.memoizedState=Ce}}function Ml(a,o,c){if(a=o.effects,o.effects=null,a!==null)for(o=0;o<a.length;o++){var v=a[o],b=v.callback;if(b!==null){if(v.callback=null,v=c,typeof b!="function")throw Error(i(191,b));b.call(v)}}}var S1=new t.Component().refs;function Tm(a,o,c,v){o=a.memoizedState,c=c(v,o),c=c==null?o:K({},o,c),a.memoizedState=c,a.lanes===0&&(a.updateQueue.baseState=c)}var bp={isMounted:function(a){return(a=a._reactInternals)?_t(a)===a:!1},enqueueSetState:function(a,o,c){a=a._reactInternals;var v=la(),b=dr(a),w=Wo(v,b);w.payload=o,c!=null&&(w.callback=c),o=js(a,w,b),o!==null&&(ua(o,a,b,v),yp(o,a,b))},enqueueReplaceState:function(a,o,c){a=a._reactInternals;var v=la(),b=dr(a),w=Wo(v,b);w.tag=1,w.payload=o,c!=null&&(w.callback=c),o=js(a,w,b),o!==null&&(ua(o,a,b,v),yp(o,a,b))},enqueueForceUpdate:function(a,o){a=a._reactInternals;var c=la(),v=dr(a),b=Wo(c,v);b.tag=2,o!=null&&(b.callback=o),o=js(a,b,v),o!==null&&(ua(o,a,v,c),yp(o,a,v))}};function x1(a,o,c,v,b,w,D){return a=a.stateNode,typeof a.shouldComponentUpdate=="function"?a.shouldComponentUpdate(v,w,D):o.prototype&&o.prototype.isPureReactComponent?!af(c,v)||!af(b,w):!0}function C1(a,o,c){var v=!1,b=fo,w=o.contextType;return typeof w=="object"&&w!==null?w=ar(w):(b=In(o)?Na:St.current,v=o.contextTypes,w=(v=v!=null)?Ei(a,b):fo),o=new o(c,w),a.memoizedState=o.state!==null&&o.state!==void 0?o.state:null,o.updater=bp,a.stateNode=o,o._reactInternals=a,v&&(a=a.stateNode,a.__reactInternalMemoizedUnmaskedChildContext=b,a.__reactInternalMemoizedMaskedChildContext=w),o}function w1(a,o,c,v){a=o.state,typeof o.componentWillReceiveProps=="function"&&o.componentWillReceiveProps(c,v),typeof o.UNSAFE_componentWillReceiveProps=="function"&&o.UNSAFE_componentWillReceiveProps(c,v),o.state!==a&&bp.enqueueReplaceState(o,o.state,null)}function Sp(a,o,c,v){var b=a.stateNode;b.props=c,b.state=a.memoizedState,b.refs=S1,wm(a);var w=o.contextType;typeof w=="object"&&w!==null?b.context=ar(w):(w=In(o)?Na:St.current,b.context=Ei(a,w)),b.state=a.memoizedState,w=o.getDerivedStateFromProps,typeof w=="function"&&(Tm(a,o,w,c),b.state=a.memoizedState),typeof o.getDerivedStateFromProps=="function"||typeof b.getSnapshotBeforeUpdate=="function"||typeof b.UNSAFE_componentWillMount!="function"&&typeof b.componentWillMount!="function"||(o=b.state,typeof b.componentWillMount=="function"&&b.componentWillMount(),typeof b.UNSAFE_componentWillMount=="function"&&b.UNSAFE_componentWillMount(),o!==b.state&&bp.enqueueReplaceState(b,b.state,null),Fs(a,c,b,v),b.state=a.memoizedState),typeof b.componentDidMount=="function"&&(a.flags|=4194308)}function Uu(a,o,c){if(a=c.ref,a!==null&&typeof a!="function"&&typeof a!="object"){if(c._owner){if(c=c._owner,c){if(c.tag!==1)throw Error(i(309));var v=c.stateNode}if(!v)throw Error(i(147,a));var b=v,w=""+a;return o!==null&&o.ref!==null&&typeof o.ref=="function"&&o.ref._stringRef===w?o.ref:(o=function(D){var N=b.refs;N===S1&&(N=b.refs={}),D===null?delete N[w]:N[w]=D},o._stringRef=w,o)}if(typeof a!="string")throw Error(i(284));if(!c._owner)throw Error(i(290,a))}return a}function xp(a,o){throw a=Object.prototype.toString.call(o),Error(i(31,a==="[object Object]"?"object with keys {"+Object.keys(o).join(", ")+"}":a))}function E1(a){var o=a._init;return o(a._payload)}function T1(a){function o(Z,Y){if(a){var ne=Z.deletions;ne===null?(Z.deletions=[Y],Z.flags|=16):ne.push(Y)}}function c(Z,Y){if(!a)return null;for(;Y!==null;)o(Z,Y),Y=Y.sibling;return null}function v(Z,Y){for(Z=new Map;Y!==null;)Y.key!==null?Z.set(Y.key,Y):Z.set(Y.index,Y),Y=Y.sibling;return Z}function b(Z,Y){return Z=Ys(Z,Y),Z.index=0,Z.sibling=null,Z}function w(Z,Y,ne){return Z.index=ne,a?(ne=Z.alternate,ne!==null?(ne=ne.index,ne<Y?(Z.flags|=2,Y):ne):(Z.flags|=2,Y)):(Z.flags|=1048576,Y)}function D(Z){return a&&Z.alternate===null&&(Z.flags|=2),Z}function N(Z,Y,ne,ke){return Y===null||Y.tag!==6?(Y=zf(ne,Z.mode,ke),Y.return=Z,Y):(Y=b(Y,ne),Y.return=Z,Y)}function I(Z,Y,ne,ke){var nt=ne.type;return nt===J?xe(Z,Y,ne.props.children,ke,ne.key):Y!==null&&(Y.elementType===nt||typeof nt=="object"&&nt!==null&&nt.$$typeof===Ue&&E1(nt)===Y.type)?(ke=b(Y,ne.props),ke.ref=Uu(Z,Y,ne),ke.return=Z,ke):(ke=Jp(ne.type,ne.key,ne.props,null,Z.mode,ke),ke.ref=Uu(Z,Y,ne),ke.return=Z,ke)}function oe(Z,Y,ne,ke){return Y===null||Y.tag!==4||Y.stateNode.containerInfo!==ne.containerInfo||Y.stateNode.implementation!==ne.implementation?(Y=Kl(ne,Z.mode,ke),Y.return=Z,Y):(Y=b(Y,ne.children||[]),Y.return=Z,Y)}function xe(Z,Y,ne,ke,nt){return Y===null||Y.tag!==7?(Y=Ql(ne,Z.mode,ke,nt),Y.return=Z,Y):(Y=b(Y,ne),Y.return=Z,Y)}function Ce(Z,Y,ne){if(typeof Y=="string"&&Y!==""||typeof Y=="number")return Y=zf(""+Y,Z.mode,ne),Y.return=Z,Y;if(typeof Y=="object"&&Y!==null){switch(Y.$$typeof){case V:return ne=Jp(Y.type,Y.key,Y.props,null,Z.mode,ne),ne.ref=Uu(Z,null,Y),ne.return=Z,ne;case le:return Y=Kl(Y,Z.mode,ne),Y.return=Z,Y;case Ue:var ke=Y._init;return Ce(Z,ke(Y._payload),ne)}if(Xn(Y)||Le(Y))return Y=Ql(Y,Z.mode,ne,null),Y.return=Z,Y;xp(Z,Y)}return null}function ge(Z,Y,ne,ke){var nt=Y!==null?Y.key:null;if(typeof ne=="string"&&ne!==""||typeof ne=="number")return nt!==null?null:N(Z,Y,""+ne,ke);if(typeof ne=="object"&&ne!==null){switch(ne.$$typeof){case V:return ne.key===nt?I(Z,Y,ne,ke):null;case le:return ne.key===nt?oe(Z,Y,ne,ke):null;case Ue:return nt=ne._init,ge(Z,Y,nt(ne._payload),ke)}if(Xn(ne)||Le(ne))return nt!==null?null:xe(Z,Y,ne,ke,null);xp(Z,ne)}return null}function He(Z,Y,ne,ke,nt){if(typeof ke=="string"&&ke!==""||typeof ke=="number")return Z=Z.get(ne)||null,N(Y,Z,""+ke,nt);if(typeof ke=="object"&&ke!==null){switch(ke.$$typeof){case V:return Z=Z.get(ke.key===null?ne:ke.key)||null,I(Y,Z,ke,nt);case le:return Z=Z.get(ke.key===null?ne:ke.key)||null,oe(Y,Z,ke,nt);case Ue:var Ke=ke._init;return He(Z,Y,ne,Ke(ke._payload),nt)}if(Xn(ke)||Le(ke))return Z=Z.get(ne)||null,xe(Y,Z,ke,nt,null);xp(Y,ke)}return null}function Qe(Z,Y,ne,ke){for(var nt=null,Ke=null,ot=Y,xt=Y=0,Pr=null;ot!==null&&xt<ne.length;xt++){ot.index>xt?(Pr=ot,ot=null):Pr=ot.sibling;var Wt=ge(Z,ot,ne[xt],ke);if(Wt===null){ot===null&&(ot=Pr);break}a&&ot&&Wt.alternate===null&&o(Z,ot),Y=w(Wt,Y,xt),Ke===null?nt=Wt:Ke.sibling=Wt,Ke=Wt,ot=Pr}if(xt===ne.length)return c(Z,ot),Pn&&ti(Z,xt),nt;if(ot===null){for(;xt<ne.length;xt++)ot=Ce(Z,ne[xt],ke),ot!==null&&(Y=w(ot,Y,xt),Ke===null?nt=ot:Ke.sibling=ot,Ke=ot);return Pn&&ti(Z,xt),nt}for(ot=v(Z,ot);xt<ne.length;xt++)Pr=He(ot,Z,xt,ne[xt],ke),Pr!==null&&(a&&Pr.alternate!==null&&ot.delete(Pr.key===null?xt:Pr.key),Y=w(Pr,Y,xt),Ke===null?nt=Pr:Ke.sibling=Pr,Ke=Pr);return a&&ot.forEach(function(Gs){return o(Z,Gs)}),Pn&&ti(Z,xt),nt}function et(Z,Y,ne,ke){var nt=Le(ne);if(typeof nt!="function")throw Error(i(150));if(ne=nt.call(ne),ne==null)throw Error(i(151));for(var Ke=nt=null,ot=Y,xt=Y=0,Pr=null,Wt=ne.next();ot!==null&&!Wt.done;xt++,Wt=ne.next()){ot.index>xt?(Pr=ot,ot=null):Pr=ot.sibling;var Gs=ge(Z,ot,Wt.value,ke);if(Gs===null){ot===null&&(ot=Pr);break}a&&ot&&Gs.alternate===null&&o(Z,ot),Y=w(Gs,Y,xt),Ke===null?nt=Gs:Ke.sibling=Gs,Ke=Gs,ot=Pr}if(Wt.done)return c(Z,ot),Pn&&ti(Z,xt),nt;if(ot===null){for(;!Wt.done;xt++,Wt=ne.next())Wt=Ce(Z,Wt.value,ke),Wt!==null&&(Y=w(Wt,Y,xt),Ke===null?nt=Wt:Ke.sibling=Wt,Ke=Wt);return Pn&&ti(Z,xt),nt}for(ot=v(Z,ot);!Wt.done;xt++,Wt=ne.next())Wt=He(ot,Z,xt,Wt.value,ke),Wt!==null&&(a&&Wt.alternate!==null&&ot.delete(Wt.key===null?xt:Wt.key),Y=w(Wt,Y,xt),Ke===null?nt=Wt:Ke.sibling=Wt,Ke=Wt);return a&&ot.forEach(function(Pw){return o(Z,Pw)}),Pn&&ti(Z,xt),nt}function ir(Z,Y,ne,ke){if(typeof ne=="object"&&ne!==null&&ne.type===J&&ne.key===null&&(ne=ne.props.children),typeof ne=="object"&&ne!==null){switch(ne.$$typeof){case V:e:{for(var nt=ne.key,Ke=Y;Ke!==null;){if(Ke.key===nt){if(nt=ne.type,nt===J){if(Ke.tag===7){c(Z,Ke.sibling),Y=b(Ke,ne.props.children),Y.return=Z,Z=Y;break e}}else if(Ke.elementType===nt||typeof nt=="object"&&nt!==null&&nt.$$typeof===Ue&&E1(nt)===Ke.type){c(Z,Ke.sibling),Y=b(Ke,ne.props),Y.ref=Uu(Z,Ke,ne),Y.return=Z,Z=Y;break e}c(Z,Ke);break}else o(Z,Ke);Ke=Ke.sibling}ne.type===J?(Y=Ql(ne.props.children,Z.mode,ke,ne.key),Y.return=Z,Z=Y):(ke=Jp(ne.type,ne.key,ne.props,null,Z.mode,ke),ke.ref=Uu(Z,Y,ne),ke.return=Z,Z=ke)}return D(Z);case le:e:{for(Ke=ne.key;Y!==null;){if(Y.key===Ke)if(Y.tag===4&&Y.stateNode.containerInfo===ne.containerInfo&&Y.stateNode.implementation===ne.implementation){c(Z,Y.sibling),Y=b(Y,ne.children||[]),Y.return=Z,Z=Y;break e}else{c(Z,Y);break}else o(Z,Y);Y=Y.sibling}Y=Kl(ne,Z.mode,ke),Y.return=Z,Z=Y}return D(Z);case Ue:return Ke=ne._init,ir(Z,Y,Ke(ne._payload),ke)}if(Xn(ne))return Qe(Z,Y,ne,ke);if(Le(ne))return et(Z,Y,ne,ke);xp(Z,ne)}return typeof ne=="string"&&ne!==""||typeof ne=="number"?(ne=""+ne,Y!==null&&Y.tag===6?(c(Z,Y.sibling),Y=b(Y,ne),Y.return=Z,Z=Y):(c(Z,Y),Y=zf(ne,Z.mode,ke),Y.return=Z,Z=Y),D(Z)):c(Z,Y)}return ir}var Hu=T1(!0),k1=T1(!1),gf={},Ki=Dt(gf),yf=Dt(gf),Wu=Dt(gf);function Pl(a){if(a===gf)throw Error(i(174));return a}function km(a,o){switch(rn(Wu,o),rn(yf,a),rn(Ki,gf),a=o.nodeType,a){case 9:case 11:o=(o=o.documentElement)?o.namespaceURI:Dn(null,"");break;default:a=a===8?o.parentNode:o,o=a.namespaceURI||null,a=a.tagName,o=Dn(o,a)}Jt(Ki),rn(Ki,o)}function $s(){Jt(Ki),Jt(yf),Jt(Wu)}function dt(a){Pl(Wu.current);var o=Pl(Ki.current),c=Dn(o,a.type);o!==c&&(rn(yf,a),rn(Ki,c))}function Nt(a){yf.current===a&&(Jt(Ki),Jt(yf))}var ht=Dt(0);function Yn(a){for(var o=a;o!==null;){if(o.tag===13){var c=o.memoizedState;if(c!==null&&(c=c.dehydrated,c===null||c.data==="$?"||c.data==="$!"))return o}else if(o.tag===19&&o.memoizedProps.revealOrder!==void 0){if(o.flags&128)return o}else if(o.child!==null){o.child.return=o,o=o.child;continue}if(o===a)break;for(;o.sibling===null;){if(o.return===null||o.return===a)return null;o=o.return}o.sibling.return=o.return,o=o.sibling}return null}var Ri=[];function Cp(){for(var a=0;a<Ri.length;a++)Ri[a]._workInProgressVersionPrimary=null;Ri.length=0}var wp=Q.ReactCurrentDispatcher,_m=Q.ReactCurrentBatchConfig,Ll=0,Ln=null,fe=null,Vt=null,vt=!1,ho=!1,ai=0,zl=0;function zn(){throw Error(i(321))}function Nl(a,o){if(o===null)return!1;for(var c=0;c<o.length&&c<a.length;c++)if(!Ci(a[c],o[c]))return!1;return!0}function Bs(a,o,c,v,b,w){if(Ll=w,Ln=o,o.memoizedState=null,o.updateQueue=null,o.lanes=0,wp.current=a===null||a.memoizedState===null?vw:mw,a=c(v,b),ho){w=0;do{if(ho=!1,ai=0,25<=w)throw Error(i(301));w+=1,Vt=fe=null,o.updateQueue=null,wp.current=Dm,a=c(v,b)}while(ho)}if(wp.current=$p,o=fe!==null&&fe.next!==null,Ll=0,Vt=fe=Ln=null,vt=!1,o)throw Error(i(300));return a}function jl(){var a=ai!==0;return ai=0,a}function Di(){var a={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return Vt===null?Ln.memoizedState=Vt=a:Vt=Vt.next=a,Vt}function Va(){if(fe===null){var a=Ln.alternate;a=a!==null?a.memoizedState:null}else a=fe.next;var o=Vt===null?Ln.memoizedState:Vt.next;if(o!==null)Vt=o,fe=a;else{if(a===null)throw Error(i(310));fe=a,a={memoizedState:fe.memoizedState,baseState:fe.baseState,baseQueue:fe.baseQueue,queue:fe.queue,next:null},Vt===null?Ln.memoizedState=Vt=a:Vt=Vt.next=a}return Vt}function Fl(a,o){return typeof o=="function"?o(a):o}function bf(a){var o=Va(),c=o.queue;if(c===null)throw Error(i(311));c.lastRenderedReducer=a;var v=fe,b=v.baseQueue,w=c.pending;if(w!==null){if(b!==null){var D=b.next;b.next=w.next,w.next=D}v.baseQueue=b=w,c.pending=null}if(b!==null){w=b.next,v=v.baseState;var N=D=null,I=null,oe=w;do{var xe=oe.lane;if((Ll&xe)===xe)I!==null&&(I=I.next={lane:0,action:oe.action,hasEagerState:oe.hasEagerState,eagerState:oe.eagerState,next:null}),v=oe.hasEagerState?oe.eagerState:a(v,oe.action);else{var Ce={lane:xe,action:oe.action,hasEagerState:oe.hasEagerState,eagerState:oe.eagerState,next:null};I===null?(N=I=Ce,D=v):I=I.next=Ce,Ln.lanes|=xe,Xo|=xe}oe=oe.next}while(oe!==null&&oe!==w);I===null?D=v:I.next=N,Ci(v,o.memoizedState)||(fr=!0),o.memoizedState=v,o.baseState=D,o.baseQueue=I,c.lastRenderedState=v}if(a=c.interleaved,a!==null){b=a;do w=b.lane,Ln.lanes|=w,Xo|=w,b=b.next;while(b!==a)}else b===null&&(c.lanes=0);return[o.memoizedState,c.dispatch]}function Sf(a){var o=Va(),c=o.queue;if(c===null)throw Error(i(311));c.lastRenderedReducer=a;var v=c.dispatch,b=c.pending,w=o.memoizedState;if(b!==null){c.pending=null;var D=b=b.next;do w=a(w,D.action),D=D.next;while(D!==b);Ci(w,o.memoizedState)||(fr=!0),o.memoizedState=w,o.baseQueue===null&&(o.baseState=w),c.lastRenderedState=w}return[w,v]}function Ep(){}function Tp(a,o){var c=Ln,v=Va(),b=o(),w=!Ci(v.memoizedState,b);if(w&&(v.memoizedState=b,fr=!0),v=v.queue,xf(Rp.bind(null,c,v,a),[a]),v.getSnapshot!==o||w||Vt!==null&&Vt.memoizedState.tag&1){if(c.flags|=2048,$l(9,_p.bind(null,c,v,b,o),void 0,null),Gn===null)throw Error(i(349));Ll&30||kp(c,o,b)}return b}function kp(a,o,c){a.flags|=16384,a={getSnapshot:o,value:c},o=Ln.updateQueue,o===null?(o={lastEffect:null,stores:null},Ln.updateQueue=o,o.stores=[a]):(c=o.stores,c===null?o.stores=[a]:c.push(a))}function _p(a,o,c,v){o.value=c,o.getSnapshot=v,Dp(o)&&Op(a)}function Rp(a,o,c){return c(function(){Dp(o)&&Op(a)})}function Dp(a){var o=a.getSnapshot;a=a.value;try{var c=o();return!Ci(a,c)}catch{return!0}}function Op(a){var o=Ho(a,1);o!==null&&ua(o,a,1,-1)}function Ap(a){var o=Di();return typeof a=="function"&&(a=a()),o.memoizedState=o.baseState=a,a={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:Fl,lastRenderedState:a},o.queue=a,a=a.dispatch=Fp.bind(null,Ln,a),[o.memoizedState,a]}function $l(a,o,c,v){return a={tag:a,create:o,destroy:c,deps:v,next:null},o=Ln.updateQueue,o===null?(o={lastEffect:null,stores:null},Ln.updateQueue=o,o.lastEffect=a.next=a):(c=o.lastEffect,c===null?o.lastEffect=a.next=a:(v=c.next,c.next=a,a.next=v,o.lastEffect=a)),a}function Mp(){return Va().memoizedState}function Bl(a,o,c,v){var b=Di();Ln.flags|=a,b.memoizedState=$l(1|o,c,void 0,v===void 0?null:v)}function Yo(a,o,c,v){var b=Va();v=v===void 0?null:v;var w=void 0;if(fe!==null){var D=fe.memoizedState;if(w=D.destroy,v!==null&&Nl(v,D.deps)){b.memoizedState=$l(o,c,w,v);return}}Ln.flags|=a,b.memoizedState=$l(1|o,c,w,v)}function Pp(a,o){return Bl(8390656,8,a,o)}function xf(a,o){return Yo(2048,8,a,o)}function Lp(a,o){return Yo(4,2,a,o)}function zp(a,o){return Yo(4,4,a,o)}function Rm(a,o){if(typeof o=="function")return a=a(),o(a),function(){o(null)};if(o!=null)return a=a(),o.current=a,function(){o.current=null}}function Yu(a,o,c){return c=c!=null?c.concat([a]):null,Yo(4,4,Rm.bind(null,o,a),c)}function Np(){}function Gu(a,o){var c=Va();o=o===void 0?null:o;var v=c.memoizedState;return v!==null&&o!==null&&Nl(o,v[1])?v[0]:(c.memoizedState=[a,o],a)}function Vs(a,o){var c=Va();o=o===void 0?null:o;var v=c.memoizedState;return v!==null&&o!==null&&Nl(o,v[1])?v[0]:(a=a(),c.memoizedState=[a,o],a)}function Ia(a,o,c){return Ll&21?(Ci(c,o)||(c=Du(),Ln.lanes|=c,Xo|=c,a.baseState=!0),o):(a.baseState&&(a.baseState=!1,fr=!0),a.memoizedState=c)}function hw(a,o){var c=Qt;Qt=c!==0&&4>c?c:4,a(!0);var v=_m.transition;_m.transition={};try{a(!1),o()}finally{Qt=c,_m.transition=v}}function Sn(){return Va().memoizedState}function jp(a,o,c){var v=dr(a);if(c={lane:v,action:c,hasEagerState:!1,eagerState:null,next:null},qu(a))Cf(o,c);else if(c=b1(a,o,c,v),c!==null){var b=la();ua(c,a,v,b),_1(c,o,v)}}function Fp(a,o,c){var v=dr(a),b={lane:v,action:c,hasEagerState:!1,eagerState:null,next:null};if(qu(a))Cf(o,b);else{var w=a.alternate;if(a.lanes===0&&(w===null||w.lanes===0)&&(w=o.lastRenderedReducer,w!==null))try{var D=o.lastRenderedState,N=w(D,c);if(b.hasEagerState=!0,b.eagerState=N,Ci(N,D)){var I=o.interleaved;I===null?(b.next=b,Cm(o)):(b.next=I.next,I.next=b),o.interleaved=b;return}}catch{}finally{}c=b1(a,o,b,v),c!==null&&(b=la(),ua(c,a,v,b),_1(c,o,v))}}function qu(a){var o=a.alternate;return a===Ln||o!==null&&o===Ln}function Cf(a,o){ho=vt=!0;var c=a.pending;c===null?o.next=o:(o.next=c.next,c.next=o),a.pending=o}function _1(a,o,c){if(c&4194240){var v=o.lanes;v&=a.pendingLanes,c|=v,o.lanes=c,Sl(a,c)}}var $p={readContext:ar,useCallback:zn,useContext:zn,useEffect:zn,useImperativeHandle:zn,useInsertionEffect:zn,useLayoutEffect:zn,useMemo:zn,useReducer:zn,useRef:zn,useState:zn,useDebugValue:zn,useDeferredValue:zn,useTransition:zn,useMutableSource:zn,useSyncExternalStore:zn,useId:zn,unstable_isNewReconciler:!1},vw={readContext:ar,useCallback:function(a,o){return Di().memoizedState=[a,o===void 0?null:o],a},useContext:ar,useEffect:Pp,useImperativeHandle:function(a,o,c){return c=c!=null?c.concat([a]):null,Bl(4194308,4,Rm.bind(null,o,a),c)},useLayoutEffect:function(a,o){return Bl(4194308,4,a,o)},useInsertionEffect:function(a,o){return Bl(4,2,a,o)},useMemo:function(a,o){var c=Di();return o=o===void 0?null:o,a=a(),c.memoizedState=[a,o],a},useReducer:function(a,o,c){var v=Di();return o=c!==void 0?c(o):o,v.memoizedState=v.baseState=o,a={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:a,lastRenderedState:o},v.queue=a,a=a.dispatch=jp.bind(null,Ln,a),[v.memoizedState,a]},useRef:function(a){var o=Di();return a={current:a},o.memoizedState=a},useState:Ap,useDebugValue:Np,useDeferredValue:function(a){return Di().memoizedState=a},useTransition:function(){var a=Ap(!1),o=a[0];return a=hw.bind(null,a[1]),Di().memoizedState=a,[o,a]},useMutableSource:function(){},useSyncExternalStore:function(a,o,c){var v=Ln,b=Di();if(Pn){if(c===void 0)throw Error(i(407));c=c()}else{if(c=o(),Gn===null)throw Error(i(349));Ll&30||kp(v,o,c)}b.memoizedState=c;var w={value:c,getSnapshot:o};return b.queue=w,Pp(Rp.bind(null,v,w,a),[a]),v.flags|=2048,$l(9,_p.bind(null,v,w,c,o),void 0,null),c},useId:function(){var a=Di(),o=Gn.identifierPrefix;if(Pn){var c=Uo,v=Br;c=(v&~(1<<32-Ma(v)-1)).toString(32)+c,o=":"+o+"R"+c,c=ai++,0<c&&(o+="H"+c.toString(32)),o+=":"}else c=zl++,o=":"+o+"r"+c.toString(32)+":";return a.memoizedState=o},unstable_isNewReconciler:!1},mw={readContext:ar,useCallback:Gu,useContext:ar,useEffect:xf,useImperativeHandle:Yu,useInsertionEffect:Lp,useLayoutEffect:zp,useMemo:Vs,useReducer:bf,useRef:Mp,useState:function(){return bf(Fl)},useDebugValue:Np,useDeferredValue:function(a){var o=Va();return Ia(o,fe.memoizedState,a)},useTransition:function(){var a=bf(Fl)[0],o=Va().memoizedState;return[a,o]},useMutableSource:Ep,useSyncExternalStore:Tp,useId:Sn,unstable_isNewReconciler:!1},Dm={readContext:ar,useCallback:Gu,useContext:ar,useEffect:xf,useImperativeHandle:Yu,useInsertionEffect:Lp,useLayoutEffect:zp,useMemo:Vs,useReducer:Sf,useRef:Mp,useState:function(){return Sf(Fl)},useDebugValue:Np,useDeferredValue:function(a){var o=Va();return fe===null?o.memoizedState=a:Ia(o,fe.memoizedState,a)},useTransition:function(){var a=Sf(Fl)[0],o=Va().memoizedState;return[a,o]},useMutableSource:Ep,useSyncExternalStore:Tp,useId:Sn,unstable_isNewReconciler:!1};function Xu(a,o){try{var c="",v=o;do c+=Ie(v),v=v.return;while(v);var b=c}catch(w){b=`
81
+ Error generating stack: `+w.message+`
82
+ `+w.stack}return{value:a,source:o,stack:b,digest:null}}function wf(a,o,c){return{value:a,source:null,stack:c??null,digest:o??null}}function Bp(a,o){try{console.error(o.value)}catch(c){setTimeout(function(){throw c})}}var gw=typeof WeakMap=="function"?WeakMap:Map;function R1(a,o,c){c=Wo(-1,c),c.tag=3,c.payload={element:null};var v=o.value;return c.callback=function(){Gp||(Gp=!0,Wl=v),Bp(a,o)},c}function Ef(a,o,c){c=Wo(-1,c),c.tag=3;var v=a.type.getDerivedStateFromError;if(typeof v=="function"){var b=o.value;c.payload=function(){return v(b)},c.callback=function(){Bp(a,o)}}var w=a.stateNode;return w!==null&&typeof w.componentDidCatch=="function"&&(c.callback=function(){Bp(a,o),typeof v!="function"&&(go===null?go=new Set([this]):go.add(this));var D=o.stack;this.componentDidCatch(o.value,{componentStack:D!==null?D:""})}),c}function D1(a,o,c){var v=a.pingCache;if(v===null){v=a.pingCache=new gw;var b=new Set;v.set(o,b)}else b=v.get(o),b===void 0&&(b=new Set,v.set(o,b));b.has(c)||(b.add(c),a=Ew.bind(null,a,o,c),o.then(a,a))}function Om(a){do{var o;if((o=a.tag===13)&&(o=a.memoizedState,o=o!==null?o.dehydrated!==null:!0),o)return a;a=a.return}while(a!==null);return null}function Am(a,o,c,v,b){return a.mode&1?(a.flags|=65536,a.lanes=b,a):(a===o?a.flags|=65536:(a.flags|=128,c.flags|=131072,c.flags&=-52805,c.tag===1&&(c.alternate===null?c.tag=17:(o=Wo(-1,1),o.tag=2,js(c,o,1))),c.lanes|=1),a)}var yw=Q.ReactCurrentOwner,fr=!1;function br(a,o,c,v){o.child=a===null?k1(o,null,c,v):Hu(o,a.child,c,v)}function Is(a,o,c,v,b){c=c.render;var w=o.ref;return Ne(o,b),v=Bs(a,o,c,v,w,b),c=jl(),a!==null&&!fr?(o.updateQueue=a.updateQueue,o.flags&=-2053,a.lanes&=~b,Ir(a,o,b)):(Pn&&c&&dp(o),o.flags|=1,br(a,o,v,b),o.child)}function Vp(a,o,c,v,b){if(a===null){var w=c.type;return typeof w=="function"&&!Qm(w)&&w.defaultProps===void 0&&c.compare===null&&c.defaultProps===void 0?(o.tag=15,o.type=w,Ua(a,o,w,v,b)):(a=Jp(c.type,null,v,o,o.mode,b),a.ref=o.ref,a.return=o,o.child=a)}if(w=a.child,!(a.lanes&b)){var D=w.memoizedProps;if(c=c.compare,c=c!==null?c:af,c(D,v)&&a.ref===o.ref)return Ir(a,o,b)}return o.flags|=1,a=Ys(w,v),a.ref=o.ref,a.return=o,o.child=a}function Ua(a,o,c,v,b){if(a!==null){var w=a.memoizedProps;if(af(w,v)&&a.ref===o.ref)if(fr=!1,o.pendingProps=v=w,(a.lanes&b)!==0)a.flags&131072&&(fr=!0);else return o.lanes=a.lanes,Ir(a,o,b)}return Qu(a,o,c,v,b)}function Vl(a,o,c){var v=o.pendingProps,b=v.children,w=a!==null?a.memoizedState:null;if(v.mode==="hidden")if(!(o.mode&1))o.memoizedState={baseLanes:0,cachePool:null,transitions:null},rn(nc,ii),ii|=c;else{if(!(c&1073741824))return a=w!==null?w.baseLanes|c:c,o.lanes=o.childLanes=1073741824,o.memoizedState={baseLanes:a,cachePool:null,transitions:null},o.updateQueue=null,rn(nc,ii),ii|=a,null;o.memoizedState={baseLanes:0,cachePool:null,transitions:null},v=w!==null?w.baseLanes:c,rn(nc,ii),ii|=v}else w!==null?(v=w.baseLanes|c,o.memoizedState=null):v=c,rn(nc,ii),ii|=v;return br(a,o,b,c),o.child}function Ot(a,o){var c=o.ref;(a===null&&c!==null||a!==null&&a.ref!==c)&&(o.flags|=512,o.flags|=2097152)}function Qu(a,o,c,v,b){var w=In(c)?Na:St.current;return w=Ei(o,w),Ne(o,b),c=Bs(a,o,c,v,w,b),v=jl(),a!==null&&!fr?(o.updateQueue=a.updateQueue,o.flags&=-2053,a.lanes&=~b,Ir(a,o,b)):(Pn&&v&&dp(o),o.flags|=1,br(a,o,c,b),o.child)}function Mm(a,o,c,v,b){if(In(c)){var w=!0;fp(o)}else w=!1;if(Ne(o,b),o.stateNode===null)ia(a,o),C1(o,c,v),Sp(o,c,v,b),v=!0;else if(a===null){var D=o.stateNode,N=o.memoizedProps;D.props=N;var I=D.context,oe=c.contextType;typeof oe=="object"&&oe!==null?oe=ar(oe):(oe=In(c)?Na:St.current,oe=Ei(o,oe));var xe=c.getDerivedStateFromProps,Ce=typeof xe=="function"||typeof D.getSnapshotBeforeUpdate=="function";Ce||typeof D.UNSAFE_componentWillReceiveProps!="function"&&typeof D.componentWillReceiveProps!="function"||(N!==v||I!==oe)&&w1(o,D,v,oe),Ns=!1;var ge=o.memoizedState;D.state=ge,Fs(o,v,D,b),I=o.memoizedState,N!==v||ge!==I||Qn.current||Ns?(typeof xe=="function"&&(Tm(o,c,xe,v),I=o.memoizedState),(N=Ns||x1(o,c,N,v,ge,I,oe))?(Ce||typeof D.UNSAFE_componentWillMount!="function"&&typeof D.componentWillMount!="function"||(typeof D.componentWillMount=="function"&&D.componentWillMount(),typeof D.UNSAFE_componentWillMount=="function"&&D.UNSAFE_componentWillMount()),typeof D.componentDidMount=="function"&&(o.flags|=4194308)):(typeof D.componentDidMount=="function"&&(o.flags|=4194308),o.memoizedProps=v,o.memoizedState=I),D.props=v,D.state=I,D.context=oe,v=N):(typeof D.componentDidMount=="function"&&(o.flags|=4194308),v=!1)}else{D=o.stateNode,yr(a,o),N=o.memoizedProps,oe=o.type===o.elementType?N:ri(o.type,N),D.props=oe,Ce=o.pendingProps,ge=D.context,I=c.contextType,typeof I=="object"&&I!==null?I=ar(I):(I=In(c)?Na:St.current,I=Ei(o,I));var He=c.getDerivedStateFromProps;(xe=typeof He=="function"||typeof D.getSnapshotBeforeUpdate=="function")||typeof D.UNSAFE_componentWillReceiveProps!="function"&&typeof D.componentWillReceiveProps!="function"||(N!==Ce||ge!==I)&&w1(o,D,v,I),Ns=!1,ge=o.memoizedState,D.state=ge,Fs(o,v,D,b);var Qe=o.memoizedState;N!==Ce||ge!==Qe||Qn.current||Ns?(typeof He=="function"&&(Tm(o,c,He,v),Qe=o.memoizedState),(oe=Ns||x1(o,c,oe,v,ge,Qe,I)||!1)?(xe||typeof D.UNSAFE_componentWillUpdate!="function"&&typeof D.componentWillUpdate!="function"||(typeof D.componentWillUpdate=="function"&&D.componentWillUpdate(v,Qe,I),typeof D.UNSAFE_componentWillUpdate=="function"&&D.UNSAFE_componentWillUpdate(v,Qe,I)),typeof D.componentDidUpdate=="function"&&(o.flags|=4),typeof D.getSnapshotBeforeUpdate=="function"&&(o.flags|=1024)):(typeof D.componentDidUpdate!="function"||N===a.memoizedProps&&ge===a.memoizedState||(o.flags|=4),typeof D.getSnapshotBeforeUpdate!="function"||N===a.memoizedProps&&ge===a.memoizedState||(o.flags|=1024),o.memoizedProps=v,o.memoizedState=Qe),D.props=v,D.state=Qe,D.context=I,v=oe):(typeof D.componentDidUpdate!="function"||N===a.memoizedProps&&ge===a.memoizedState||(o.flags|=4),typeof D.getSnapshotBeforeUpdate!="function"||N===a.memoizedProps&&ge===a.memoizedState||(o.flags|=1024),v=!1)}return O1(a,o,c,v,w,b)}function O1(a,o,c,v,b,w){Ot(a,o);var D=(o.flags&128)!==0;if(!v&&!D)return b&&v1(o,c,!1),Ir(a,o,w);v=o.stateNode,yw.current=o;var N=D&&typeof c.getDerivedStateFromError!="function"?null:v.render();return o.flags|=1,a!==null&&D?(o.child=Hu(o,a.child,null,w),o.child=Hu(o,null,N,w)):br(a,o,N,w),o.memoizedState=v.state,b&&v1(o,c,!0),o.child}function A1(a){var o=a.stateNode;o.pendingContext?Ms(a,o.pendingContext,o.pendingContext!==o.context):o.context&&Ms(a,o.context,!1),km(a,o.containerInfo)}function Ip(a,o,c,v,b){return Wn(),bm(b),o.flags|=256,br(a,o,c,v),o.child}var Il={dehydrated:null,treeContext:null,retryLane:0};function Pm(a){return{baseLanes:a,cachePool:null,transitions:null}}function Lm(a,o,c){var v=o.pendingProps,b=ht.current,w=!1,D=(o.flags&128)!==0,N;if((N=D)||(N=a!==null&&a.memoizedState===null?!1:(b&2)!==0),N?(w=!0,o.flags&=-129):(a===null||a.memoizedState!==null)&&(b|=1),rn(ht,b&1),a===null)return hp(o),a=o.memoizedState,a!==null&&(a=a.dehydrated,a!==null)?(o.mode&1?a.data==="$!"?o.lanes=8:o.lanes=1073741824:o.lanes=1,null):(D=v.children,a=v.fallback,w?(v=o.mode,w=o.child,D={mode:"hidden",children:D},!(v&1)&&w!==null?(w.childLanes=0,w.pendingProps=D):w=Lf(D,v,0,null),a=Ql(a,v,c,null),w.return=o,a.return=o,w.sibling=a,o.child=w,o.child.memoizedState=Pm(c),o.memoizedState=Il,a):zm(o,D));if(b=a.memoizedState,b!==null&&(N=b.dehydrated,N!==null))return bw(a,o,D,v,N,b,c);if(w){w=v.fallback,D=o.mode,b=a.child,N=b.sibling;var I={mode:"hidden",children:v.children};return!(D&1)&&o.child!==b?(v=o.child,v.childLanes=0,v.pendingProps=I,o.deletions=null):(v=Ys(b,I),v.subtreeFlags=b.subtreeFlags&14680064),N!==null?w=Ys(N,w):(w=Ql(w,D,c,null),w.flags|=2),w.return=o,v.return=o,v.sibling=w,o.child=v,v=w,w=o.child,D=a.child.memoizedState,D=D===null?Pm(c):{baseLanes:D.baseLanes|c,cachePool:null,transitions:D.transitions},w.memoizedState=D,w.childLanes=a.childLanes&~c,o.memoizedState=Il,v}return w=a.child,a=w.sibling,v=Ys(w,{mode:"visible",children:v.children}),!(o.mode&1)&&(v.lanes=c),v.return=o,v.sibling=null,a!==null&&(c=o.deletions,c===null?(o.deletions=[a],o.flags|=16):c.push(a)),o.child=v,o.memoizedState=null,v}function zm(a,o){return o=Lf({mode:"visible",children:o},a.mode,0,null),o.return=a,a.child=o}function Ku(a,o,c,v){return v!==null&&bm(v),Hu(o,a.child,null,c),a=zm(o,o.pendingProps.children),a.flags|=2,o.memoizedState=null,a}function bw(a,o,c,v,b,w,D){if(c)return o.flags&256?(o.flags&=-257,v=wf(Error(i(422))),Ku(a,o,D,v)):o.memoizedState!==null?(o.child=a.child,o.flags|=128,null):(w=v.fallback,b=o.mode,v=Lf({mode:"visible",children:v.children},b,0,null),w=Ql(w,b,D,null),w.flags|=2,v.return=o,w.return=o,v.sibling=w,o.child=v,o.mode&1&&Hu(o,a.child,null,D),o.child.memoizedState=Pm(D),o.memoizedState=Il,w);if(!(o.mode&1))return Ku(a,o,D,null);if(b.data==="$!"){if(v=b.nextSibling&&b.nextSibling.dataset,v)var N=v.dgst;return v=N,w=Error(i(419)),v=wf(w,v,void 0),Ku(a,o,D,v)}if(N=(D&a.childLanes)!==0,fr||N){if(v=Gn,v!==null){switch(D&-D){case 4:b=2;break;case 16:b=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:b=32;break;case 536870912:b=268435456;break;default:b=0}b=b&(v.suspendedLanes|D)?0:b,b!==0&&b!==w.retryLane&&(w.retryLane=b,Ho(a,b),ua(v,a,b,-1))}return Gm(),v=wf(Error(i(421))),Ku(a,o,D,v)}return b.data==="$?"?(o.flags|=128,o.child=a.child,o=Tw.bind(null,a),b._reactRetry=o,null):(a=w.treeContext,Ba=Qi(b.nextSibling),ni=o,Pn=!0,_i=null,a!==null&&($a[aa++]=Br,$a[aa++]=Uo,$a[aa++]=ki,Br=a.id,Uo=a.overflow,ki=o),o=zm(o,v.children),o.flags|=4096,o)}function Nm(a,o,c){a.lanes|=o;var v=a.alternate;v!==null&&(v.lanes|=o),Or(a.return,o,c)}function Up(a,o,c,v,b){var w=a.memoizedState;w===null?a.memoizedState={isBackwards:o,rendering:null,renderingStartTime:0,last:v,tail:c,tailMode:b}:(w.isBackwards=o,w.rendering=null,w.renderingStartTime=0,w.last=v,w.tail=c,w.tailMode=b)}function jm(a,o,c){var v=o.pendingProps,b=v.revealOrder,w=v.tail;if(br(a,o,v.children,c),v=ht.current,v&2)v=v&1|2,o.flags|=128;else{if(a!==null&&a.flags&128)e:for(a=o.child;a!==null;){if(a.tag===13)a.memoizedState!==null&&Nm(a,c,o);else if(a.tag===19)Nm(a,c,o);else if(a.child!==null){a.child.return=a,a=a.child;continue}if(a===o)break e;for(;a.sibling===null;){if(a.return===null||a.return===o)break e;a=a.return}a.sibling.return=a.return,a=a.sibling}v&=1}if(rn(ht,v),!(o.mode&1))o.memoizedState=null;else switch(b){case"forwards":for(c=o.child,b=null;c!==null;)a=c.alternate,a!==null&&Yn(a)===null&&(b=c),c=c.sibling;c=b,c===null?(b=o.child,o.child=null):(b=c.sibling,c.sibling=null),Up(o,!1,b,c,w);break;case"backwards":for(c=null,b=o.child,o.child=null;b!==null;){if(a=b.alternate,a!==null&&Yn(a)===null){o.child=b;break}a=b.sibling,b.sibling=c,c=b,b=a}Up(o,!0,c,null,w);break;case"together":Up(o,!1,null,null,void 0);break;default:o.memoizedState=null}return o.child}function ia(a,o){!(o.mode&1)&&a!==null&&(a.alternate=null,o.alternate=null,o.flags|=2)}function Ir(a,o,c){if(a!==null&&(o.dependencies=a.dependencies),Xo|=o.lanes,!(c&o.childLanes))return null;if(a!==null&&o.child!==a.child)throw Error(i(153));if(o.child!==null){for(a=o.child,c=Ys(a,a.pendingProps),o.child=c,c.return=o;a.sibling!==null;)a=a.sibling,c=c.sibling=Ys(a,a.pendingProps),c.return=o;c.sibling=null}return o.child}function Go(a,o,c){switch(o.tag){case 3:A1(o),Wn();break;case 5:dt(o);break;case 1:In(o.type)&&fp(o);break;case 4:km(o,o.stateNode.containerInfo);break;case 10:var v=o.type._context,b=o.memoizedProps.value;rn(po,v._currentValue),v._currentValue=b;break;case 13:if(v=o.memoizedState,v!==null)return v.dehydrated!==null?(rn(ht,ht.current&1),o.flags|=128,null):c&o.child.childLanes?Lm(a,o,c):(rn(ht,ht.current&1),a=Ir(a,o,c),a!==null?a.sibling:null);rn(ht,ht.current&1);break;case 19:if(v=(c&o.childLanes)!==0,a.flags&128){if(v)return jm(a,o,c);o.flags|=128}if(b=o.memoizedState,b!==null&&(b.rendering=null,b.tail=null,b.lastEffect=null),rn(ht,ht.current),v)break;return null;case 22:case 23:return o.lanes=0,Vl(a,o,c)}return Ir(a,o,c)}var Tf,Ul,Oi,Sr;Tf=function(a,o){for(var c=o.child;c!==null;){if(c.tag===5||c.tag===6)a.appendChild(c.stateNode);else if(c.tag!==4&&c.child!==null){c.child.return=c,c=c.child;continue}if(c===o)break;for(;c.sibling===null;){if(c.return===null||c.return===o)return;c=c.return}c.sibling.return=c.return,c=c.sibling}},Ul=function(){},Oi=function(a,o,c,v){var b=a.memoizedProps;if(b!==v){a=o.stateNode,Pl(Ki.current);var w=null;switch(c){case"input":b=mn(a,b),v=mn(a,v),w=[];break;case"select":b=K({},b,{value:void 0}),v=K({},v,{value:void 0}),w=[];break;case"textarea":b=mr(a,b),v=mr(a,v),w=[];break;default:typeof b.onClick!="function"&&typeof v.onClick=="function"&&(a.onclick=cp)}En(c,v);var D;c=null;for(oe in b)if(!v.hasOwnProperty(oe)&&b.hasOwnProperty(oe)&&b[oe]!=null)if(oe==="style"){var N=b[oe];for(D in N)N.hasOwnProperty(D)&&(c||(c={}),c[D]="")}else oe!=="dangerouslySetInnerHTML"&&oe!=="children"&&oe!=="suppressContentEditableWarning"&&oe!=="suppressHydrationWarning"&&oe!=="autoFocus"&&(f.hasOwnProperty(oe)?w||(w=[]):(w=w||[]).push(oe,null));for(oe in v){var I=v[oe];if(N=b!=null?b[oe]:void 0,v.hasOwnProperty(oe)&&I!==N&&(I!=null||N!=null))if(oe==="style")if(N){for(D in N)!N.hasOwnProperty(D)||I&&I.hasOwnProperty(D)||(c||(c={}),c[D]="");for(D in I)I.hasOwnProperty(D)&&N[D]!==I[D]&&(c||(c={}),c[D]=I[D])}else c||(w||(w=[]),w.push(oe,c)),c=I;else oe==="dangerouslySetInnerHTML"?(I=I?I.__html:void 0,N=N?N.__html:void 0,I!=null&&N!==I&&(w=w||[]).push(oe,I)):oe==="children"?typeof I!="string"&&typeof I!="number"||(w=w||[]).push(oe,""+I):oe!=="suppressContentEditableWarning"&&oe!=="suppressHydrationWarning"&&(f.hasOwnProperty(oe)?(I!=null&&oe==="onScroll"&&bn("scroll",a),w||N===I||(w=[])):(w=w||[]).push(oe,I))}c&&(w=w||[]).push("style",c);var oe=w;(o.updateQueue=oe)&&(o.flags|=4)}},Sr=function(a,o,c,v){c!==v&&(o.flags|=4)};function kf(a,o){if(!Pn)switch(a.tailMode){case"hidden":o=a.tail;for(var c=null;o!==null;)o.alternate!==null&&(c=o),o=o.sibling;c===null?a.tail=null:c.sibling=null;break;case"collapsed":c=a.tail;for(var v=null;c!==null;)c.alternate!==null&&(v=c),c=c.sibling;v===null?o||a.tail===null?a.tail=null:a.tail.sibling=null:v.sibling=null}}function oa(a){var o=a.alternate!==null&&a.alternate.child===a.child,c=0,v=0;if(o)for(var b=a.child;b!==null;)c|=b.lanes|b.childLanes,v|=b.subtreeFlags&14680064,v|=b.flags&14680064,b.return=a,b=b.sibling;else for(b=a.child;b!==null;)c|=b.lanes|b.childLanes,v|=b.subtreeFlags,v|=b.flags,b.return=a,b=b.sibling;return a.subtreeFlags|=v,a.childLanes=c,o}function Sw(a,o,c){var v=o.pendingProps;switch(gm(o),o.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return oa(o),null;case 1:return In(o.type)&&Ti(),oa(o),null;case 3:return v=o.stateNode,$s(),Jt(Qn),Jt(St),Cp(),v.pendingContext&&(v.context=v.pendingContext,v.pendingContext=null),(a===null||a.child===null)&&(vp(o)?o.flags|=4:a===null||a.memoizedState.isDehydrated&&!(o.flags&256)||(o.flags|=1024,_i!==null&&(Pf(_i),_i=null))),Ul(a,o),oa(o),null;case 5:Nt(o);var b=Pl(Wu.current);if(c=o.type,a!==null&&o.stateNode!=null)Oi(a,o,c,v,b),a.ref!==o.ref&&(o.flags|=512,o.flags|=2097152);else{if(!v){if(o.stateNode===null)throw Error(i(166));return oa(o),null}if(a=Pl(Ki.current),vp(o)){v=o.stateNode,c=o.type;var w=o.memoizedProps;switch(v[co]=o,v[Ol]=w,a=(o.mode&1)!==0,c){case"dialog":bn("cancel",v),bn("close",v);break;case"iframe":case"object":case"embed":bn("load",v);break;case"video":case"audio":for(b=0;b<uf.length;b++)bn(uf[b],v);break;case"source":bn("error",v);break;case"img":case"image":case"link":bn("error",v),bn("load",v);break;case"details":bn("toggle",v);break;case"input":Cn(v,w),bn("invalid",v);break;case"select":v._wrapperState={wasMultiple:!!w.multiple},bn("invalid",v);break;case"textarea":wn(v,w),bn("invalid",v)}En(c,w),b=null;for(var D in w)if(w.hasOwnProperty(D)){var N=w[D];D==="children"?typeof N=="string"?v.textContent!==N&&(w.suppressHydrationWarning!==!0&&up(v.textContent,N,a),b=["children",N]):typeof N=="number"&&v.textContent!==""+N&&(w.suppressHydrationWarning!==!0&&up(v.textContent,N,a),b=["children",""+N]):f.hasOwnProperty(D)&&N!=null&&D==="onScroll"&&bn("scroll",v)}switch(c){case"input":yt(v),Zr(v,w,!0);break;case"textarea":yt(v),gr(v);break;case"select":case"option":break;default:typeof w.onClick=="function"&&(v.onclick=cp)}v=b,o.updateQueue=v,v!==null&&(o.flags|=4)}else{D=b.nodeType===9?b:b.ownerDocument,a==="http://www.w3.org/1999/xhtml"&&(a=Jr(c)),a==="http://www.w3.org/1999/xhtml"?c==="script"?(a=D.createElement("div"),a.innerHTML="<script><\/script>",a=a.removeChild(a.firstChild)):typeof v.is=="string"?a=D.createElement(c,{is:v.is}):(a=D.createElement(c),c==="select"&&(D=a,v.multiple?D.multiple=!0:v.size&&(D.size=v.size))):a=D.createElementNS(a,c),a[co]=o,a[Ol]=v,Tf(a,o,!1,!1),o.stateNode=a;e:{switch(D=Tn(c,v),c){case"dialog":bn("cancel",a),bn("close",a),b=v;break;case"iframe":case"object":case"embed":bn("load",a),b=v;break;case"video":case"audio":for(b=0;b<uf.length;b++)bn(uf[b],a);b=v;break;case"source":bn("error",a),b=v;break;case"img":case"image":case"link":bn("error",a),bn("load",a),b=v;break;case"details":bn("toggle",a),b=v;break;case"input":Cn(a,v),b=mn(a,v),bn("invalid",a);break;case"option":b=v;break;case"select":a._wrapperState={wasMultiple:!!v.multiple},b=K({},v,{value:void 0}),bn("invalid",a);break;case"textarea":wn(a,v),b=mr(a,v),bn("invalid",a);break;default:b=v}En(c,b),N=b;for(w in N)if(N.hasOwnProperty(w)){var I=N[w];w==="style"?Xt(a,I):w==="dangerouslySetInnerHTML"?(I=I?I.__html:void 0,I!=null&&Ui(a,I)):w==="children"?typeof I=="string"?(c!=="textarea"||I!=="")&&Oa(a,I):typeof I=="number"&&Oa(a,""+I):w!=="suppressContentEditableWarning"&&w!=="suppressHydrationWarning"&&w!=="autoFocus"&&(f.hasOwnProperty(w)?I!=null&&w==="onScroll"&&bn("scroll",a):I!=null&&$(a,w,I,D))}switch(c){case"input":yt(a),Zr(a,v,!1);break;case"textarea":yt(a),gr(a);break;case"option":v.value!=null&&a.setAttribute("value",""+$e(v.value));break;case"select":a.multiple=!!v.multiple,w=v.value,w!=null?vr(a,!!v.multiple,w,!1):v.defaultValue!=null&&vr(a,!!v.multiple,v.defaultValue,!0);break;default:typeof b.onClick=="function"&&(a.onclick=cp)}switch(c){case"button":case"input":case"select":case"textarea":v=!!v.autoFocus;break e;case"img":v=!0;break e;default:v=!1}}v&&(o.flags|=4)}o.ref!==null&&(o.flags|=512,o.flags|=2097152)}return oa(o),null;case 6:if(a&&o.stateNode!=null)Sr(a,o,a.memoizedProps,v);else{if(typeof v!="string"&&o.stateNode===null)throw Error(i(166));if(c=Pl(Wu.current),Pl(Ki.current),vp(o)){if(v=o.stateNode,c=o.memoizedProps,v[co]=o,(w=v.nodeValue!==c)&&(a=ni,a!==null))switch(a.tag){case 3:up(v.nodeValue,c,(a.mode&1)!==0);break;case 5:a.memoizedProps.suppressHydrationWarning!==!0&&up(v.nodeValue,c,(a.mode&1)!==0)}w&&(o.flags|=4)}else v=(c.nodeType===9?c:c.ownerDocument).createTextNode(v),v[co]=o,o.stateNode=v}return oa(o),null;case 13:if(Jt(ht),v=o.memoizedState,a===null||a.memoizedState!==null&&a.memoizedState.dehydrated!==null){if(Pn&&Ba!==null&&o.mode&1&&!(o.flags&128))y1(),Wn(),o.flags|=98560,w=!1;else if(w=vp(o),v!==null&&v.dehydrated!==null){if(a===null){if(!w)throw Error(i(318));if(w=o.memoizedState,w=w!==null?w.dehydrated:null,!w)throw Error(i(317));w[co]=o}else Wn(),!(o.flags&128)&&(o.memoizedState=null),o.flags|=4;oa(o),w=!1}else _i!==null&&(Pf(_i),_i=null),w=!0;if(!w)return o.flags&65536?o:null}return o.flags&128?(o.lanes=c,o):(v=v!==null,v!==(a!==null&&a.memoizedState!==null)&&v&&(o.child.flags|=8192,o.mode&1&&(a===null||ht.current&1?Cr===0&&(Cr=3):Gm())),o.updateQueue!==null&&(o.flags|=4),oa(o),null);case 4:return $s(),Ul(a,o),a===null&&Bu(o.stateNode.containerInfo),oa(o),null;case 10:return zs(o.type._context),oa(o),null;case 17:return In(o.type)&&Ti(),oa(o),null;case 19:if(Jt(ht),w=o.memoizedState,w===null)return oa(o),null;if(v=(o.flags&128)!==0,D=w.rendering,D===null)if(v)kf(w,!1);else{if(Cr!==0||a!==null&&a.flags&128)for(a=o.child;a!==null;){if(D=Yn(a),D!==null){for(o.flags|=128,kf(w,!1),v=D.updateQueue,v!==null&&(o.updateQueue=v,o.flags|=4),o.subtreeFlags=0,v=c,c=o.child;c!==null;)w=c,a=v,w.flags&=14680066,D=w.alternate,D===null?(w.childLanes=0,w.lanes=a,w.child=null,w.subtreeFlags=0,w.memoizedProps=null,w.memoizedState=null,w.updateQueue=null,w.dependencies=null,w.stateNode=null):(w.childLanes=D.childLanes,w.lanes=D.lanes,w.child=D.child,w.subtreeFlags=0,w.deletions=null,w.memoizedProps=D.memoizedProps,w.memoizedState=D.memoizedState,w.updateQueue=D.updateQueue,w.type=D.type,a=D.dependencies,w.dependencies=a===null?null:{lanes:a.lanes,firstContext:a.firstContext}),c=c.sibling;return rn(ht,ht.current&1|2),o.child}a=a.sibling}w.tail!==null&&Ft()>ac&&(o.flags|=128,v=!0,kf(w,!1),o.lanes=4194304)}else{if(!v)if(a=Yn(D),a!==null){if(o.flags|=128,v=!0,c=a.updateQueue,c!==null&&(o.updateQueue=c,o.flags|=4),kf(w,!0),w.tail===null&&w.tailMode==="hidden"&&!D.alternate&&!Pn)return oa(o),null}else 2*Ft()-w.renderingStartTime>ac&&c!==1073741824&&(o.flags|=128,v=!0,kf(w,!1),o.lanes=4194304);w.isBackwards?(D.sibling=o.child,o.child=D):(c=w.last,c!==null?c.sibling=D:o.child=D,w.last=D)}return w.tail!==null?(o=w.tail,w.rendering=o,w.tail=o.sibling,w.renderingStartTime=Ft(),o.sibling=null,c=ht.current,rn(ht,v?c&1|2:c&1),o):(oa(o),null);case 22:case 23:return Ym(),v=o.memoizedState!==null,a!==null&&a.memoizedState!==null!==v&&(o.flags|=8192),v&&o.mode&1?ii&1073741824&&(oa(o),o.subtreeFlags&6&&(o.flags|=8192)):oa(o),null;case 24:return null;case 25:return null}throw Error(i(156,o.tag))}function Fm(a,o){switch(gm(o),o.tag){case 1:return In(o.type)&&Ti(),a=o.flags,a&65536?(o.flags=a&-65537|128,o):null;case 3:return $s(),Jt(Qn),Jt(St),Cp(),a=o.flags,a&65536&&!(a&128)?(o.flags=a&-65537|128,o):null;case 5:return Nt(o),null;case 13:if(Jt(ht),a=o.memoizedState,a!==null&&a.dehydrated!==null){if(o.alternate===null)throw Error(i(340));Wn()}return a=o.flags,a&65536?(o.flags=a&-65537|128,o):null;case 19:return Jt(ht),null;case 4:return $s(),null;case 10:return zs(o.type._context),null;case 22:case 23:return Ym(),null;case 24:return null;default:return null}}var _f=!1,xr=!1,M1=typeof WeakSet=="function"?WeakSet:Set,qe=null;function Zu(a,o){var c=a.ref;if(c!==null)if(typeof c=="function")try{c(null)}catch(v){Zn(a,o,v)}else c.current=null}function Rf(a,o,c){try{c()}catch(v){Zn(a,o,v)}}var P1=!1;function L1(a,o){if(um=No,a=ap(),$o(a)){if("selectionStart"in a)var c={start:a.selectionStart,end:a.selectionEnd};else e:{c=(c=a.ownerDocument)&&c.defaultView||window;var v=c.getSelection&&c.getSelection();if(v&&v.rangeCount!==0){c=v.anchorNode;var b=v.anchorOffset,w=v.focusNode;v=v.focusOffset;try{c.nodeType,w.nodeType}catch{c=null;break e}var D=0,N=-1,I=-1,oe=0,xe=0,Ce=a,ge=null;t:for(;;){for(var He;Ce!==c||b!==0&&Ce.nodeType!==3||(N=D+b),Ce!==w||v!==0&&Ce.nodeType!==3||(I=D+v),Ce.nodeType===3&&(D+=Ce.nodeValue.length),(He=Ce.firstChild)!==null;)ge=Ce,Ce=He;for(;;){if(Ce===a)break t;if(ge===c&&++oe===b&&(N=D),ge===w&&++xe===v&&(I=D),(He=Ce.nextSibling)!==null)break;Ce=ge,ge=Ce.parentNode}Ce=He}c=N===-1||I===-1?null:{start:N,end:I}}else c=null}c=c||{start:0,end:0}}else c=null;for(Rl={focusedElem:a,selectionRange:c},No=!1,qe=o;qe!==null;)if(o=qe,a=o.child,(o.subtreeFlags&1028)!==0&&a!==null)a.return=o,qe=a;else for(;qe!==null;){o=qe;try{var Qe=o.alternate;if(o.flags&1024)switch(o.tag){case 0:case 11:case 15:break;case 1:if(Qe!==null){var et=Qe.memoizedProps,ir=Qe.memoizedState,Z=o.stateNode,Y=Z.getSnapshotBeforeUpdate(o.elementType===o.type?et:ri(o.type,et),ir);Z.__reactInternalSnapshotBeforeUpdate=Y}break;case 3:var ne=o.stateNode.containerInfo;ne.nodeType===1?ne.textContent="":ne.nodeType===9&&ne.documentElement&&ne.removeChild(ne.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(i(163))}}catch(ke){Zn(o,o.return,ke)}if(a=o.sibling,a!==null){a.return=o.return,qe=a;break}qe=o.return}return Qe=P1,P1=!1,Qe}function Df(a,o,c){var v=o.updateQueue;if(v=v!==null?v.lastEffect:null,v!==null){var b=v=v.next;do{if((b.tag&a)===a){var w=b.destroy;b.destroy=void 0,w!==void 0&&Rf(o,c,w)}b=b.next}while(b!==v)}}function Of(a,o){if(o=o.updateQueue,o=o!==null?o.lastEffect:null,o!==null){var c=o=o.next;do{if((c.tag&a)===a){var v=c.create;c.destroy=v()}c=c.next}while(c!==o)}}function $m(a){var o=a.ref;if(o!==null){var c=a.stateNode;switch(a.tag){case 5:a=c;break;default:a=c}typeof o=="function"?o(a):o.current=a}}function Bm(a){var o=a.alternate;o!==null&&(a.alternate=null,Bm(o)),a.child=null,a.deletions=null,a.sibling=null,a.tag===5&&(o=a.stateNode,o!==null&&(delete o[co],delete o[Ol],delete o[dm],delete o[pw],delete o[pm])),a.stateNode=null,a.return=null,a.dependencies=null,a.memoizedProps=null,a.memoizedState=null,a.pendingProps=null,a.stateNode=null,a.updateQueue=null}function z1(a){return a.tag===5||a.tag===3||a.tag===4}function Hp(a){e:for(;;){for(;a.sibling===null;){if(a.return===null||z1(a.return))return null;a=a.return}for(a.sibling.return=a.return,a=a.sibling;a.tag!==5&&a.tag!==6&&a.tag!==18;){if(a.flags&2||a.child===null||a.tag===4)continue e;a.child.return=a,a=a.child}if(!(a.flags&2))return a.stateNode}}function Ju(a,o,c){var v=a.tag;if(v===5||v===6)a=a.stateNode,o?c.nodeType===8?c.parentNode.insertBefore(a,o):c.insertBefore(a,o):(c.nodeType===8?(o=c.parentNode,o.insertBefore(a,c)):(o=c,o.appendChild(a)),c=c._reactRootContainer,c!=null||o.onclick!==null||(o.onclick=cp));else if(v!==4&&(a=a.child,a!==null))for(Ju(a,o,c),a=a.sibling;a!==null;)Ju(a,o,c),a=a.sibling}function vo(a,o,c){var v=a.tag;if(v===5||v===6)a=a.stateNode,o?c.insertBefore(a,o):c.appendChild(a);else if(v!==4&&(a=a.child,a!==null))for(vo(a,o,c),a=a.sibling;a!==null;)vo(a,o,c),a=a.sibling}var Un=null,Ar=!1;function Ai(a,o,c){for(c=c.child;c!==null;)ec(a,o,c),c=c.sibling}function ec(a,o,c){if(Aa&&typeof Aa.onCommitFiberUnmount=="function")try{Aa.onCommitFiberUnmount(yl,c)}catch{}switch(c.tag){case 5:xr||Zu(c,o);case 6:var v=Un,b=Ar;Un=null,Ai(a,o,c),Un=v,Ar=b,Un!==null&&(Ar?(a=Un,c=c.stateNode,a.nodeType===8?a.parentNode.removeChild(c):a.removeChild(c)):Un.removeChild(c.stateNode));break;case 18:Un!==null&&(Ar?(a=Un,c=c.stateNode,a.nodeType===8?Ds(a.parentNode,c):a.nodeType===1&&Ds(a,c),wl(a)):Ds(Un,c.stateNode));break;case 4:v=Un,b=Ar,Un=c.stateNode.containerInfo,Ar=!0,Ai(a,o,c),Un=v,Ar=b;break;case 0:case 11:case 14:case 15:if(!xr&&(v=c.updateQueue,v!==null&&(v=v.lastEffect,v!==null))){b=v=v.next;do{var w=b,D=w.destroy;w=w.tag,D!==void 0&&(w&2||w&4)&&Rf(c,o,D),b=b.next}while(b!==v)}Ai(a,o,c);break;case 1:if(!xr&&(Zu(c,o),v=c.stateNode,typeof v.componentWillUnmount=="function"))try{v.props=c.memoizedProps,v.state=c.memoizedState,v.componentWillUnmount()}catch(N){Zn(c,o,N)}Ai(a,o,c);break;case 21:Ai(a,o,c);break;case 22:c.mode&1?(xr=(v=xr)||c.memoizedState!==null,Ai(a,o,c),xr=v):Ai(a,o,c);break;default:Ai(a,o,c)}}function qo(a){var o=a.updateQueue;if(o!==null){a.updateQueue=null;var c=a.stateNode;c===null&&(c=a.stateNode=new M1),o.forEach(function(v){var b=kw.bind(null,a,v);c.has(v)||(c.add(v),v.then(b,b))})}}function Zi(a,o){var c=o.deletions;if(c!==null)for(var v=0;v<c.length;v++){var b=c[v];try{var w=a,D=o,N=D;e:for(;N!==null;){switch(N.tag){case 5:Un=N.stateNode,Ar=!1;break e;case 3:Un=N.stateNode.containerInfo,Ar=!0;break e;case 4:Un=N.stateNode.containerInfo,Ar=!0;break e}N=N.return}if(Un===null)throw Error(i(160));ec(w,D,b),Un=null,Ar=!1;var I=b.alternate;I!==null&&(I.return=null),b.return=null}catch(oe){Zn(b,o,oe)}}if(o.subtreeFlags&12854)for(o=o.child;o!==null;)N1(o,a),o=o.sibling}function N1(a,o){var c=a.alternate,v=a.flags;switch(a.tag){case 0:case 11:case 14:case 15:if(Zi(o,a),mo(a),v&4){try{Df(3,a,a.return),Of(3,a)}catch(et){Zn(a,a.return,et)}try{Df(5,a,a.return)}catch(et){Zn(a,a.return,et)}}break;case 1:Zi(o,a),mo(a),v&512&&c!==null&&Zu(c,c.return);break;case 5:if(Zi(o,a),mo(a),v&512&&c!==null&&Zu(c,c.return),a.flags&32){var b=a.stateNode;try{Oa(b,"")}catch(et){Zn(a,a.return,et)}}if(v&4&&(b=a.stateNode,b!=null)){var w=a.memoizedProps,D=c!==null?c.memoizedProps:w,N=a.type,I=a.updateQueue;if(a.updateQueue=null,I!==null)try{N==="input"&&w.type==="radio"&&w.name!=null&&er(b,w),Tn(N,D);var oe=Tn(N,w);for(D=0;D<I.length;D+=2){var xe=I[D],Ce=I[D+1];xe==="style"?Xt(b,Ce):xe==="dangerouslySetInnerHTML"?Ui(b,Ce):xe==="children"?Oa(b,Ce):$(b,xe,Ce,oe)}switch(N){case"input":tr(b,w);break;case"textarea":Nr(b,w);break;case"select":var ge=b._wrapperState.wasMultiple;b._wrapperState.wasMultiple=!!w.multiple;var He=w.value;He!=null?vr(b,!!w.multiple,He,!1):ge!==!!w.multiple&&(w.defaultValue!=null?vr(b,!!w.multiple,w.defaultValue,!0):vr(b,!!w.multiple,w.multiple?[]:"",!1))}b[Ol]=w}catch(et){Zn(a,a.return,et)}}break;case 6:if(Zi(o,a),mo(a),v&4){if(a.stateNode===null)throw Error(i(162));b=a.stateNode,w=a.memoizedProps;try{b.nodeValue=w}catch(et){Zn(a,a.return,et)}}break;case 3:if(Zi(o,a),mo(a),v&4&&c!==null&&c.memoizedState.isDehydrated)try{wl(o.containerInfo)}catch(et){Zn(a,a.return,et)}break;case 4:Zi(o,a),mo(a);break;case 13:Zi(o,a),mo(a),b=a.child,b.flags&8192&&(w=b.memoizedState!==null,b.stateNode.isHidden=w,!w||b.alternate!==null&&b.alternate.memoizedState!==null||(Um=Ft())),v&4&&qo(a);break;case 22:if(xe=c!==null&&c.memoizedState!==null,a.mode&1?(xr=(oe=xr)||xe,Zi(o,a),xr=oe):Zi(o,a),mo(a),v&8192){if(oe=a.memoizedState!==null,(a.stateNode.isHidden=oe)&&!xe&&a.mode&1)for(qe=a,xe=a.child;xe!==null;){for(Ce=qe=xe;qe!==null;){switch(ge=qe,He=ge.child,ge.tag){case 0:case 11:case 14:case 15:Df(4,ge,ge.return);break;case 1:Zu(ge,ge.return);var Qe=ge.stateNode;if(typeof Qe.componentWillUnmount=="function"){v=ge,c=ge.return;try{o=v,Qe.props=o.memoizedProps,Qe.state=o.memoizedState,Qe.componentWillUnmount()}catch(et){Zn(v,c,et)}}break;case 5:Zu(ge,ge.return);break;case 22:if(ge.memoizedState!==null){Vm(Ce);continue}}He!==null?(He.return=ge,qe=He):Vm(Ce)}xe=xe.sibling}e:for(xe=null,Ce=a;;){if(Ce.tag===5){if(xe===null){xe=Ce;try{b=Ce.stateNode,oe?(w=b.style,typeof w.setProperty=="function"?w.setProperty("display","none","important"):w.display="none"):(N=Ce.stateNode,I=Ce.memoizedProps.style,D=I!=null&&I.hasOwnProperty("display")?I.display:null,N.style.display=At("display",D))}catch(et){Zn(a,a.return,et)}}}else if(Ce.tag===6){if(xe===null)try{Ce.stateNode.nodeValue=oe?"":Ce.memoizedProps}catch(et){Zn(a,a.return,et)}}else if((Ce.tag!==22&&Ce.tag!==23||Ce.memoizedState===null||Ce===a)&&Ce.child!==null){Ce.child.return=Ce,Ce=Ce.child;continue}if(Ce===a)break e;for(;Ce.sibling===null;){if(Ce.return===null||Ce.return===a)break e;xe===Ce&&(xe=null),Ce=Ce.return}xe===Ce&&(xe=null),Ce.sibling.return=Ce.return,Ce=Ce.sibling}}break;case 19:Zi(o,a),mo(a),v&4&&qo(a);break;case 21:break;default:Zi(o,a),mo(a)}}function mo(a){var o=a.flags;if(o&2){try{e:{for(var c=a.return;c!==null;){if(z1(c)){var v=c;break e}c=c.return}throw Error(i(160))}switch(v.tag){case 5:var b=v.stateNode;v.flags&32&&(Oa(b,""),v.flags&=-33);var w=Hp(a);vo(a,w,b);break;case 3:case 4:var D=v.stateNode.containerInfo,N=Hp(a);Ju(a,N,D);break;default:throw Error(i(161))}}catch(I){Zn(a,a.return,I)}a.flags&=-3}o&4096&&(a.flags&=-4097)}function j1(a,o,c){qe=a,tc(a)}function tc(a,o,c){for(var v=(a.mode&1)!==0;qe!==null;){var b=qe,w=b.child;if(b.tag===22&&v){var D=b.memoizedState!==null||_f;if(!D){var N=b.alternate,I=N!==null&&N.memoizedState!==null||xr;N=_f;var oe=xr;if(_f=D,(xr=I)&&!oe)for(qe=b;qe!==null;)D=qe,I=D.child,D.tag===22&&D.memoizedState!==null?$1(b):I!==null?(I.return=D,qe=I):$1(b);for(;w!==null;)qe=w,tc(w),w=w.sibling;qe=b,_f=N,xr=oe}F1(a)}else b.subtreeFlags&8772&&w!==null?(w.return=b,qe=w):F1(a)}}function F1(a){for(;qe!==null;){var o=qe;if(o.flags&8772){var c=o.alternate;try{if(o.flags&8772)switch(o.tag){case 0:case 11:case 15:xr||Of(5,o);break;case 1:var v=o.stateNode;if(o.flags&4&&!xr)if(c===null)v.componentDidMount();else{var b=o.elementType===o.type?c.memoizedProps:ri(o.type,c.memoizedProps);v.componentDidUpdate(b,c.memoizedState,v.__reactInternalSnapshotBeforeUpdate)}var w=o.updateQueue;w!==null&&Ml(o,w,v);break;case 3:var D=o.updateQueue;if(D!==null){if(c=null,o.child!==null)switch(o.child.tag){case 5:c=o.child.stateNode;break;case 1:c=o.child.stateNode}Ml(o,D,c)}break;case 5:var N=o.stateNode;if(c===null&&o.flags&4){c=N;var I=o.memoizedProps;switch(o.type){case"button":case"input":case"select":case"textarea":I.autoFocus&&c.focus();break;case"img":I.src&&(c.src=I.src)}}break;case 6:break;case 4:break;case 12:break;case 13:if(o.memoizedState===null){var oe=o.alternate;if(oe!==null){var xe=oe.memoizedState;if(xe!==null){var Ce=xe.dehydrated;Ce!==null&&wl(Ce)}}}break;case 19:case 17:case 21:case 22:case 23:case 25:break;default:throw Error(i(163))}xr||o.flags&512&&$m(o)}catch(ge){Zn(o,o.return,ge)}}if(o===a){qe=null;break}if(c=o.sibling,c!==null){c.return=o.return,qe=c;break}qe=o.return}}function Vm(a){for(;qe!==null;){var o=qe;if(o===a){qe=null;break}var c=o.sibling;if(c!==null){c.return=o.return,qe=c;break}qe=o.return}}function $1(a){for(;qe!==null;){var o=qe;try{switch(o.tag){case 0:case 11:case 15:var c=o.return;try{Of(4,o)}catch(I){Zn(o,c,I)}break;case 1:var v=o.stateNode;if(typeof v.componentDidMount=="function"){var b=o.return;try{v.componentDidMount()}catch(I){Zn(o,b,I)}}var w=o.return;try{$m(o)}catch(I){Zn(o,w,I)}break;case 5:var D=o.return;try{$m(o)}catch(I){Zn(o,D,I)}}}catch(I){Zn(o,o.return,I)}if(o===a){qe=null;break}var N=o.sibling;if(N!==null){N.return=o.return,qe=N;break}qe=o.return}}var Wp=Math.ceil,Af=Q.ReactCurrentDispatcher,Im=Q.ReactCurrentOwner,sa=Q.ReactCurrentBatchConfig,$t=0,Gn=null,Kn=null,Mr=0,ii=0,nc=Dt(0),Cr=0,Mf=null,Xo=0,Yp=0,rc=0,Hl=null,ba=null,Um=0,ac=1/0,Qo=null,Gp=!1,Wl=null,go=null,Us=!1,Hs=null,qp=0,ic=0,Xp=null,Yl=-1,Gl=0;function la(){return $t&6?Ft():Yl!==-1?Yl:Yl=Ft()}function dr(a){return a.mode&1?$t&2&&Mr!==0?Mr&-Mr:mp.transition!==null?(Gl===0&&(Gl=Du()),Gl):(a=Qt,a!==0||(a=window.event,a=a===void 0?16:Zt(a.type)),a):1}function ua(a,o,c,v){if(50<ic)throw ic=0,Xp=null,Error(i(185));uo(a,c,v),(!($t&2)||a!==Gn)&&(a===Gn&&(!($t&2)&&(Yp|=c),Cr===4&&Mi(a,Mr)),ca(a,v),c===1&&$t===0&&!(o.mode&1)&&(ac=Ft()+500,Dr&&ja()))}function ca(a,o){var c=a.callbackNode;Mo(a,o);var v=Ja(a,a===Gn?Mr:0);if(v===0)c!==null&&Fr(c),a.callbackNode=null,a.callbackPriority=0;else if(o=v&-v,a.callbackPriority!==o){if(c!=null&&Fr(c),o===1)a.tag===0?vm(B1.bind(null,a)):hm(B1.bind(null,a)),fm(function(){!($t&6)&&ja()}),c=null;else{switch(Ou(v)){case 1:c=Hi;break;case 4:c=Mt;break;case 16:c=Wi;break;case 536870912:c=Xc;break;default:c=Wi}c=Xm(c,oc.bind(null,a))}a.callbackPriority=o,a.callbackNode=c}}function oc(a,o){if(Yl=-1,Gl=0,$t&6)throw Error(i(327));var c=a.callbackNode;if(lc()&&a.callbackNode!==c)return null;var v=Ja(a,a===Gn?Mr:0);if(v===0)return null;if(v&30||v&a.expiredLanes||o)o=Kp(a,v);else{o=v;var b=$t;$t|=2;var w=Qp();(Gn!==a||Mr!==o)&&(Qo=null,ac=Ft()+500,ql(a,o));do try{Cw();break}catch(N){V1(a,N)}while(1);xm(),Af.current=w,$t=b,Kn!==null?o=0:(Gn=null,Mr=0,o=Cr)}if(o!==0){if(o===2&&(b=bl(a),b!==0&&(v=b,o=Hm(a,b))),o===1)throw c=Mf,ql(a,0),Mi(a,v),ca(a,Ft()),c;if(o===6)Mi(a,v);else{if(b=a.current.alternate,!(v&30)&&!Wm(b)&&(o=Kp(a,v),o===2&&(w=bl(a),w!==0&&(v=w,o=Hm(a,w))),o===1))throw c=Mf,ql(a,0),Mi(a,v),ca(a,Ft()),c;switch(a.finishedWork=b,a.finishedLanes=v,o){case 0:case 1:throw Error(i(345));case 2:Xl(a,ba,Qo);break;case 3:if(Mi(a,v),(v&130023424)===v&&(o=Um+500-Ft(),10<o)){if(Ja(a,0)!==0)break;if(b=a.suspendedLanes,(b&v)!==v){la(),a.pingedLanes|=a.suspendedLanes&b;break}a.timeoutHandle=Dl(Xl.bind(null,a,ba,Qo),o);break}Xl(a,ba,Qo);break;case 4:if(Mi(a,v),(v&4194240)===v)break;for(o=a.eventTimes,b=-1;0<v;){var D=31-Ma(v);w=1<<D,D=o[D],D>b&&(b=D),v&=~w}if(v=b,v=Ft()-v,v=(120>v?120:480>v?480:1080>v?1080:1920>v?1920:3e3>v?3e3:4320>v?4320:1960*Wp(v/1960))-v,10<v){a.timeoutHandle=Dl(Xl.bind(null,a,ba,Qo),v);break}Xl(a,ba,Qo);break;case 5:Xl(a,ba,Qo);break;default:throw Error(i(329))}}}return ca(a,Ft()),a.callbackNode===c?oc.bind(null,a):null}function Hm(a,o){var c=Hl;return a.current.memoizedState.isDehydrated&&(ql(a,o).flags|=256),a=Kp(a,o),a!==2&&(o=ba,ba=c,o!==null&&Pf(o)),a}function Pf(a){ba===null?ba=a:ba.push.apply(ba,a)}function Wm(a){for(var o=a;;){if(o.flags&16384){var c=o.updateQueue;if(c!==null&&(c=c.stores,c!==null))for(var v=0;v<c.length;v++){var b=c[v],w=b.getSnapshot;b=b.value;try{if(!Ci(w(),b))return!1}catch{return!1}}}if(c=o.child,o.subtreeFlags&16384&&c!==null)c.return=o,o=c;else{if(o===a)break;for(;o.sibling===null;){if(o.return===null||o.return===a)return!0;o=o.return}o.sibling.return=o.return,o=o.sibling}}return!0}function Mi(a,o){for(o&=~rc,o&=~Yp,a.suspendedLanes|=o,a.pingedLanes&=~o,a=a.expirationTimes;0<o;){var c=31-Ma(o),v=1<<c;a[c]=-1,o&=~v}}function B1(a){if($t&6)throw Error(i(327));lc();var o=Ja(a,0);if(!(o&1))return ca(a,Ft()),null;var c=Kp(a,o);if(a.tag!==0&&c===2){var v=bl(a);v!==0&&(o=v,c=Hm(a,v))}if(c===1)throw c=Mf,ql(a,0),Mi(a,o),ca(a,Ft()),c;if(c===6)throw Error(i(345));return a.finishedWork=a.current.alternate,a.finishedLanes=o,Xl(a,ba,Qo),ca(a,Ft()),null}function sc(a,o){var c=$t;$t|=1;try{return a(o)}finally{$t=c,$t===0&&(ac=Ft()+500,Dr&&ja())}}function Ws(a){Hs!==null&&Hs.tag===0&&!($t&6)&&lc();var o=$t;$t|=1;var c=sa.transition,v=Qt;try{if(sa.transition=null,Qt=1,a)return a()}finally{Qt=v,sa.transition=c,$t=o,!($t&6)&&ja()}}function Ym(){ii=nc.current,Jt(nc)}function ql(a,o){a.finishedWork=null,a.finishedLanes=0;var c=a.timeoutHandle;if(c!==-1&&(a.timeoutHandle=-1,h1(c)),Kn!==null)for(c=Kn.return;c!==null;){var v=c;switch(gm(v),v.tag){case 1:v=v.type.childContextTypes,v!=null&&Ti();break;case 3:$s(),Jt(Qn),Jt(St),Cp();break;case 5:Nt(v);break;case 4:$s();break;case 13:Jt(ht);break;case 19:Jt(ht);break;case 10:zs(v.type._context);break;case 22:case 23:Ym()}c=c.return}if(Gn=a,Kn=a=Ys(a.current,null),Mr=ii=o,Cr=0,Mf=null,rc=Yp=Xo=0,ba=Hl=null,Vr!==null){for(o=0;o<Vr.length;o++)if(c=Vr[o],v=c.interleaved,v!==null){c.interleaved=null;var b=v.next,w=c.pending;if(w!==null){var D=w.next;w.next=b,v.next=D}c.pending=v}Vr=null}return a}function V1(a,o){do{var c=Kn;try{if(xm(),wp.current=$p,vt){for(var v=Ln.memoizedState;v!==null;){var b=v.queue;b!==null&&(b.pending=null),v=v.next}vt=!1}if(Ll=0,Vt=fe=Ln=null,ho=!1,ai=0,Im.current=null,c===null||c.return===null){Cr=1,Mf=o,Kn=null;break}e:{var w=a,D=c.return,N=c,I=o;if(o=Mr,N.flags|=32768,I!==null&&typeof I=="object"&&typeof I.then=="function"){var oe=I,xe=N,Ce=xe.tag;if(!(xe.mode&1)&&(Ce===0||Ce===11||Ce===15)){var ge=xe.alternate;ge?(xe.updateQueue=ge.updateQueue,xe.memoizedState=ge.memoizedState,xe.lanes=ge.lanes):(xe.updateQueue=null,xe.memoizedState=null)}var He=Om(D);if(He!==null){He.flags&=-257,Am(He,D,N,w,o),He.mode&1&&D1(w,oe,o),o=He,I=oe;var Qe=o.updateQueue;if(Qe===null){var et=new Set;et.add(I),o.updateQueue=et}else Qe.add(I);break e}else{if(!(o&1)){D1(w,oe,o),Gm();break e}I=Error(i(426))}}else if(Pn&&N.mode&1){var ir=Om(D);if(ir!==null){!(ir.flags&65536)&&(ir.flags|=256),Am(ir,D,N,w,o),bm(Xu(I,N));break e}}w=I=Xu(I,N),Cr!==4&&(Cr=2),Hl===null?Hl=[w]:Hl.push(w),w=D;do{switch(w.tag){case 3:w.flags|=65536,o&=-o,w.lanes|=o;var Z=R1(w,I,o);Em(w,Z);break e;case 1:N=I;var Y=w.type,ne=w.stateNode;if(!(w.flags&128)&&(typeof Y.getDerivedStateFromError=="function"||ne!==null&&typeof ne.componentDidCatch=="function"&&(go===null||!go.has(ne)))){w.flags|=65536,o&=-o,w.lanes|=o;var ke=Ef(w,N,o);Em(w,ke);break e}}w=w.return}while(w!==null)}qm(c)}catch(nt){o=nt,Kn===c&&c!==null&&(Kn=c=c.return);continue}break}while(1)}function Qp(){var a=Af.current;return Af.current=$p,a===null?$p:a}function Gm(){(Cr===0||Cr===3||Cr===2)&&(Cr=4),Gn===null||!(Xo&268435455)&&!(Yp&268435455)||Mi(Gn,Mr)}function Kp(a,o){var c=$t;$t|=2;var v=Qp();(Gn!==a||Mr!==o)&&(Qo=null,ql(a,o));do try{xw();break}catch(b){V1(a,b)}while(1);if(xm(),$t=c,Af.current=v,Kn!==null)throw Error(i(261));return Gn=null,Mr=0,Cr}function xw(){for(;Kn!==null;)I1(Kn)}function Cw(){for(;Kn!==null&&!xi();)I1(Kn)}function I1(a){var o=H1(a.alternate,a,ii);a.memoizedProps=a.pendingProps,o===null?qm(a):Kn=o,Im.current=null}function qm(a){var o=a;do{var c=o.alternate;if(a=o.return,o.flags&32768){if(c=Fm(c,o),c!==null){c.flags&=32767,Kn=c;return}if(a!==null)a.flags|=32768,a.subtreeFlags=0,a.deletions=null;else{Cr=6,Kn=null;return}}else if(c=Sw(c,o,ii),c!==null){Kn=c;return}if(o=o.sibling,o!==null){Kn=o;return}Kn=o=a}while(o!==null);Cr===0&&(Cr=5)}function Xl(a,o,c){var v=Qt,b=sa.transition;try{sa.transition=null,Qt=1,ww(a,o,c,v)}finally{sa.transition=b,Qt=v}return null}function ww(a,o,c,v){do lc();while(Hs!==null);if($t&6)throw Error(i(327));c=a.finishedWork;var b=a.finishedLanes;if(c===null)return null;if(a.finishedWork=null,a.finishedLanes=0,c===a.current)throw Error(i(177));a.callbackNode=null,a.callbackPriority=0;var w=c.lanes|c.childLanes;if(Hv(a,w),a===Gn&&(Kn=Gn=null,Mr=0),!(c.subtreeFlags&2064)&&!(c.flags&2064)||Us||(Us=!0,Xm(Wi,function(){return lc(),null})),w=(c.flags&15990)!==0,c.subtreeFlags&15990||w){w=sa.transition,sa.transition=null;var D=Qt;Qt=1;var N=$t;$t|=4,Im.current=null,L1(a,c),N1(c,a),ip(Rl),No=!!um,Rl=um=null,a.current=c,j1(c),_u(),$t=N,Qt=D,sa.transition=w}else a.current=c;if(Us&&(Us=!1,Hs=a,qp=b),w=a.pendingLanes,w===0&&(go=null),Yd(c.stateNode),ca(a,Ft()),o!==null)for(v=a.onRecoverableError,c=0;c<o.length;c++)b=o[c],v(b.value,{componentStack:b.stack,digest:b.digest});if(Gp)throw Gp=!1,a=Wl,Wl=null,a;return qp&1&&a.tag!==0&&lc(),w=a.pendingLanes,w&1?a===Xp?ic++:(ic=0,Xp=a):ic=0,ja(),null}function lc(){if(Hs!==null){var a=Ou(qp),o=sa.transition,c=Qt;try{if(sa.transition=null,Qt=16>a?16:a,Hs===null)var v=!1;else{if(a=Hs,Hs=null,qp=0,$t&6)throw Error(i(331));var b=$t;for($t|=4,qe=a.current;qe!==null;){var w=qe,D=w.child;if(qe.flags&16){var N=w.deletions;if(N!==null){for(var I=0;I<N.length;I++){var oe=N[I];for(qe=oe;qe!==null;){var xe=qe;switch(xe.tag){case 0:case 11:case 15:Df(8,xe,w)}var Ce=xe.child;if(Ce!==null)Ce.return=xe,qe=Ce;else for(;qe!==null;){xe=qe;var ge=xe.sibling,He=xe.return;if(Bm(xe),xe===oe){qe=null;break}if(ge!==null){ge.return=He,qe=ge;break}qe=He}}}var Qe=w.alternate;if(Qe!==null){var et=Qe.child;if(et!==null){Qe.child=null;do{var ir=et.sibling;et.sibling=null,et=ir}while(et!==null)}}qe=w}}if(w.subtreeFlags&2064&&D!==null)D.return=w,qe=D;else e:for(;qe!==null;){if(w=qe,w.flags&2048)switch(w.tag){case 0:case 11:case 15:Df(9,w,w.return)}var Z=w.sibling;if(Z!==null){Z.return=w.return,qe=Z;break e}qe=w.return}}var Y=a.current;for(qe=Y;qe!==null;){D=qe;var ne=D.child;if(D.subtreeFlags&2064&&ne!==null)ne.return=D,qe=ne;else e:for(D=Y;qe!==null;){if(N=qe,N.flags&2048)try{switch(N.tag){case 0:case 11:case 15:Of(9,N)}}catch(nt){Zn(N,N.return,nt)}if(N===D){qe=null;break e}var ke=N.sibling;if(ke!==null){ke.return=N.return,qe=ke;break e}qe=N.return}}if($t=b,ja(),Aa&&typeof Aa.onPostCommitFiberRoot=="function")try{Aa.onPostCommitFiberRoot(yl,a)}catch{}v=!0}return v}finally{Qt=c,sa.transition=o}}return!1}function U1(a,o,c){o=Xu(c,o),o=R1(a,o,1),a=js(a,o,1),o=la(),a!==null&&(uo(a,1,o),ca(a,o))}function Zn(a,o,c){if(a.tag===3)U1(a,a,c);else for(;o!==null;){if(o.tag===3){U1(o,a,c);break}else if(o.tag===1){var v=o.stateNode;if(typeof o.type.getDerivedStateFromError=="function"||typeof v.componentDidCatch=="function"&&(go===null||!go.has(v))){a=Xu(c,a),a=Ef(o,a,1),o=js(o,a,1),a=la(),o!==null&&(uo(o,1,a),ca(o,a));break}}o=o.return}}function Ew(a,o,c){var v=a.pingCache;v!==null&&v.delete(o),o=la(),a.pingedLanes|=a.suspendedLanes&c,Gn===a&&(Mr&c)===c&&(Cr===4||Cr===3&&(Mr&130023424)===Mr&&500>Ft()-Um?ql(a,0):rc|=c),ca(a,o)}function Zp(a,o){o===0&&(a.mode&1?(o=ks,ks<<=1,!(ks&130023424)&&(ks=4194304)):o=1);var c=la();a=Ho(a,o),a!==null&&(uo(a,o,c),ca(a,c))}function Tw(a){var o=a.memoizedState,c=0;o!==null&&(c=o.retryLane),Zp(a,c)}function kw(a,o){var c=0;switch(a.tag){case 13:var v=a.stateNode,b=a.memoizedState;b!==null&&(c=b.retryLane);break;case 19:v=a.stateNode;break;default:throw Error(i(314))}v!==null&&v.delete(o),Zp(a,c)}var H1;H1=function(a,o,c){if(a!==null)if(a.memoizedProps!==o.pendingProps||Qn.current)fr=!0;else{if(!(a.lanes&c)&&!(o.flags&128))return fr=!1,Go(a,o,c);fr=!!(a.flags&131072)}else fr=!1,Pn&&o.flags&1048576&&mm(o,Iu,o.index);switch(o.lanes=0,o.tag){case 2:var v=o.type;ia(a,o),a=o.pendingProps;var b=Ei(o,St.current);Ne(o,c),b=Bs(null,o,v,a,b,c);var w=jl();return o.flags|=1,typeof b=="object"&&b!==null&&typeof b.render=="function"&&b.$$typeof===void 0?(o.tag=1,o.memoizedState=null,o.updateQueue=null,In(v)?(w=!0,fp(o)):w=!1,o.memoizedState=b.state!==null&&b.state!==void 0?b.state:null,wm(o),b.updater=bp,o.stateNode=b,b._reactInternals=o,Sp(o,v,a,c),o=O1(null,o,v,!0,w,c)):(o.tag=0,Pn&&w&&dp(o),br(null,o,b,c),o=o.child),o;case 16:v=o.elementType;e:{switch(ia(a,o),a=o.pendingProps,b=v._init,v=b(v._payload),o.type=v,b=o.tag=Rw(v),a=ri(v,a),b){case 0:o=Qu(null,o,v,a,c);break e;case 1:o=Mm(null,o,v,a,c);break e;case 11:o=Is(null,o,v,a,c);break e;case 14:o=Vp(null,o,v,ri(v.type,a),c);break e}throw Error(i(306,v,""))}return o;case 0:return v=o.type,b=o.pendingProps,b=o.elementType===v?b:ri(v,b),Qu(a,o,v,b,c);case 1:return v=o.type,b=o.pendingProps,b=o.elementType===v?b:ri(v,b),Mm(a,o,v,b,c);case 3:e:{if(A1(o),a===null)throw Error(i(387));v=o.pendingProps,w=o.memoizedState,b=w.element,yr(a,o),Fs(o,v,null,c);var D=o.memoizedState;if(v=D.element,w.isDehydrated)if(w={element:v,isDehydrated:!1,cache:D.cache,pendingSuspenseBoundaries:D.pendingSuspenseBoundaries,transitions:D.transitions},o.updateQueue.baseState=w,o.memoizedState=w,o.flags&256){b=Xu(Error(i(423)),o),o=Ip(a,o,v,c,b);break e}else if(v!==b){b=Xu(Error(i(424)),o),o=Ip(a,o,v,c,b);break e}else for(Ba=Qi(o.stateNode.containerInfo.firstChild),ni=o,Pn=!0,_i=null,c=k1(o,null,v,c),o.child=c;c;)c.flags=c.flags&-3|4096,c=c.sibling;else{if(Wn(),v===b){o=Ir(a,o,c);break e}br(a,o,v,c)}o=o.child}return o;case 5:return dt(o),a===null&&hp(o),v=o.type,b=o.pendingProps,w=a!==null?a.memoizedProps:null,D=b.children,df(v,b)?D=null:w!==null&&df(v,w)&&(o.flags|=32),Ot(a,o),br(a,o,D,c),o.child;case 6:return a===null&&hp(o),null;case 13:return Lm(a,o,c);case 4:return km(o,o.stateNode.containerInfo),v=o.pendingProps,a===null?o.child=Hu(o,null,v,c):br(a,o,v,c),o.child;case 11:return v=o.type,b=o.pendingProps,b=o.elementType===v?b:ri(v,b),Is(a,o,v,b,c);case 7:return br(a,o,o.pendingProps,c),o.child;case 8:return br(a,o,o.pendingProps.children,c),o.child;case 12:return br(a,o,o.pendingProps.children,c),o.child;case 10:e:{if(v=o.type._context,b=o.pendingProps,w=o.memoizedProps,D=b.value,rn(po,v._currentValue),v._currentValue=D,w!==null)if(Ci(w.value,D)){if(w.children===b.children&&!Qn.current){o=Ir(a,o,c);break e}}else for(w=o.child,w!==null&&(w.return=o);w!==null;){var N=w.dependencies;if(N!==null){D=w.child;for(var I=N.firstContext;I!==null;){if(I.context===v){if(w.tag===1){I=Wo(-1,c&-c),I.tag=2;var oe=w.updateQueue;if(oe!==null){oe=oe.shared;var xe=oe.pending;xe===null?I.next=I:(I.next=xe.next,xe.next=I),oe.pending=I}}w.lanes|=c,I=w.alternate,I!==null&&(I.lanes|=c),Or(w.return,c,o),N.lanes|=c;break}I=I.next}}else if(w.tag===10)D=w.type===o.type?null:w.child;else if(w.tag===18){if(D=w.return,D===null)throw Error(i(341));D.lanes|=c,N=D.alternate,N!==null&&(N.lanes|=c),Or(D,c,o),D=w.sibling}else D=w.child;if(D!==null)D.return=w;else for(D=w;D!==null;){if(D===o){D=null;break}if(w=D.sibling,w!==null){w.return=D.return,D=w;break}D=D.return}w=D}br(a,o,b.children,c),o=o.child}return o;case 9:return b=o.type,v=o.pendingProps.children,Ne(o,c),b=ar(b),v=v(b),o.flags|=1,br(a,o,v,c),o.child;case 14:return v=o.type,b=ri(v,o.pendingProps),b=ri(v.type,b),Vp(a,o,v,b,c);case 15:return Ua(a,o,o.type,o.pendingProps,c);case 17:return v=o.type,b=o.pendingProps,b=o.elementType===v?b:ri(v,b),ia(a,o),o.tag=1,In(v)?(a=!0,fp(o)):a=!1,Ne(o,c),C1(o,v,b),Sp(o,v,b,c),O1(null,o,v,!0,a,c);case 19:return jm(a,o,c);case 22:return Vl(a,o,c)}throw Error(i(156,o.tag))};function Xm(a,o){return _n(a,o)}function _w(a,o,c,v){this.tag=a,this.key=c,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=o,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=v,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function Pi(a,o,c,v){return new _w(a,o,c,v)}function Qm(a){return a=a.prototype,!(!a||!a.isReactComponent)}function Rw(a){if(typeof a=="function")return Qm(a)?1:0;if(a!=null){if(a=a.$$typeof,a===pt)return 11;if(a===at)return 14}return 2}function Ys(a,o){var c=a.alternate;return c===null?(c=Pi(a.tag,o,a.key,a.mode),c.elementType=a.elementType,c.type=a.type,c.stateNode=a.stateNode,c.alternate=a,a.alternate=c):(c.pendingProps=o,c.type=a.type,c.flags=0,c.subtreeFlags=0,c.deletions=null),c.flags=a.flags&14680064,c.childLanes=a.childLanes,c.lanes=a.lanes,c.child=a.child,c.memoizedProps=a.memoizedProps,c.memoizedState=a.memoizedState,c.updateQueue=a.updateQueue,o=a.dependencies,c.dependencies=o===null?null:{lanes:o.lanes,firstContext:o.firstContext},c.sibling=a.sibling,c.index=a.index,c.ref=a.ref,c}function Jp(a,o,c,v,b,w){var D=2;if(v=a,typeof a=="function")Qm(a)&&(D=1);else if(typeof a=="string")D=5;else e:switch(a){case J:return Ql(c.children,b,w,o);case me:D=8,b|=8;break;case ve:return a=Pi(12,c,o,b|2),a.elementType=ve,a.lanes=w,a;case Oe:return a=Pi(13,c,o,b),a.elementType=Oe,a.lanes=w,a;case Pe:return a=Pi(19,c,o,b),a.elementType=Pe,a.lanes=w,a;case st:return Lf(c,b,w,o);default:if(typeof a=="object"&&a!==null)switch(a.$$typeof){case ye:D=10;break e;case De:D=9;break e;case pt:D=11;break e;case at:D=14;break e;case Ue:D=16,v=null;break e}throw Error(i(130,a==null?a:typeof a,""))}return o=Pi(D,c,o,b),o.elementType=a,o.type=v,o.lanes=w,o}function Ql(a,o,c,v){return a=Pi(7,a,v,o),a.lanes=c,a}function Lf(a,o,c,v){return a=Pi(22,a,v,o),a.elementType=st,a.lanes=c,a.stateNode={isHidden:!1},a}function zf(a,o,c){return a=Pi(6,a,null,o),a.lanes=c,a}function Kl(a,o,c){return o=Pi(4,a.children!==null?a.children:[],a.key,o),o.lanes=c,o.stateNode={containerInfo:a.containerInfo,pendingChildren:null,implementation:a.implementation},o}function Dw(a,o,c,v,b){this.tag=o,this.containerInfo=a,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=Kc(0),this.expirationTimes=Kc(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Kc(0),this.identifierPrefix=v,this.onRecoverableError=b,this.mutableSourceEagerHydrationData=null}function eh(a,o,c,v,b,w,D,N,I){return a=new Dw(a,o,c,N,I),o===1?(o=1,w===!0&&(o|=8)):o=0,w=Pi(3,null,null,o),a.current=w,w.stateNode=a,w.memoizedState={element:v,isDehydrated:c,cache:null,transitions:null,pendingSuspenseBoundaries:null},wm(w),a}function W1(a,o,c){var v=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:le,key:v==null?null:""+v,children:a,containerInfo:o,implementation:c}}function Km(a){if(!a)return fo;a=a._reactInternals;e:{if(_t(a)!==a||a.tag!==1)throw Error(i(170));var o=a;do{switch(o.tag){case 3:o=o.stateNode.context;break e;case 1:if(In(o.type)){o=o.stateNode.__reactInternalMemoizedMergedChildContext;break e}}o=o.return}while(o!==null);throw Error(i(171))}if(a.tag===1){var c=a.type;if(In(c))return vf(a,c,o)}return o}function Y1(a,o,c,v,b,w,D,N,I){return a=eh(c,v,!0,a,b,w,D,N,I),a.context=Km(null),c=a.current,v=la(),b=dr(c),w=Wo(v,b),w.callback=o??null,js(c,w,b),a.current.lanes=b,uo(a,b,v),ca(a,v),a}function Nf(a,o,c,v){var b=o.current,w=la(),D=dr(b);return c=Km(c),o.context===null?o.context=c:o.pendingContext=c,o=Wo(w,D),o.payload={element:a},v=v===void 0?null:v,v!==null&&(o.callback=v),a=js(b,o,D),a!==null&&(ua(a,b,D,w),yp(a,b,D)),D}function th(a){if(a=a.current,!a.child)return null;switch(a.child.tag){case 5:return a.child.stateNode;default:return a.child.stateNode}}function G1(a,o){if(a=a.memoizedState,a!==null&&a.dehydrated!==null){var c=a.retryLane;a.retryLane=c!==0&&c<o?c:o}}function Zm(a,o){G1(a,o),(a=a.alternate)&&G1(a,o)}function q1(){return null}var Jm=typeof reportError=="function"?reportError:function(a){console.error(a)};function nh(a){this._internalRoot=a}Ko.prototype.render=nh.prototype.render=function(a){var o=this._internalRoot;if(o===null)throw Error(i(409));Nf(a,o,null,null)},Ko.prototype.unmount=nh.prototype.unmount=function(){var a=this._internalRoot;if(a!==null){this._internalRoot=null;var o=a.containerInfo;Ws(function(){Nf(null,a,null,null)}),o[Io]=null}};function Ko(a){this._internalRoot=a}Ko.prototype.unstable_scheduleHydration=function(a){if(a){var o=Mu();a={blockedOn:null,target:a,priority:o};for(var c=0;c<Kt.length&&o!==0&&o<Kt[c].priority;c++);Kt.splice(c,0,a),c===0&&Qd(a)}};function eg(a){return!(!a||a.nodeType!==1&&a.nodeType!==9&&a.nodeType!==11)}function rh(a){return!(!a||a.nodeType!==1&&a.nodeType!==9&&a.nodeType!==11&&(a.nodeType!==8||a.nodeValue!==" react-mount-point-unstable "))}function X1(){}function Ow(a,o,c,v,b){if(b){if(typeof v=="function"){var w=v;v=function(){var oe=th(D);w.call(oe)}}var D=Y1(o,v,a,0,null,!1,!1,"",X1);return a._reactRootContainer=D,a[Io]=D.current,Bu(a.nodeType===8?a.parentNode:a),Ws(),D}for(;b=a.lastChild;)a.removeChild(b);if(typeof v=="function"){var N=v;v=function(){var oe=th(I);N.call(oe)}}var I=eh(a,0,!1,null,null,!1,!1,"",X1);return a._reactRootContainer=I,a[Io]=I.current,Bu(a.nodeType===8?a.parentNode:a),Ws(function(){Nf(o,I,c,v)}),I}function ah(a,o,c,v,b){var w=c._reactRootContainer;if(w){var D=w;if(typeof b=="function"){var N=b;b=function(){var I=th(D);N.call(I)}}Nf(o,D,a,b)}else D=Ow(c,o,a,b,v);return th(D)}Xd=function(a){switch(a.tag){case 3:var o=a.stateNode;if(o.current.memoizedState.isDehydrated){var c=Ao(o.pendingLanes);c!==0&&(Sl(o,c|1),ca(o,Ft()),!($t&6)&&(ac=Ft()+500,ja()))}break;case 13:Ws(function(){var v=Ho(a,1);if(v!==null){var b=la();ua(v,a,1,b)}}),Zm(a,1)}},Au=function(a){if(a.tag===13){var o=Ho(a,134217728);if(o!==null){var c=la();ua(o,a,134217728,c)}Zm(a,134217728)}},fn=function(a){if(a.tag===13){var o=dr(a),c=Ho(a,o);if(c!==null){var v=la();ua(c,a,o,v)}Zm(a,o)}},Mu=function(){return Qt},Zc=function(a,o){var c=Qt;try{return Qt=a,o()}finally{Qt=c}},va=function(a,o,c){switch(o){case"input":if(tr(a,c),o=c.name,c.type==="radio"&&o!=null){for(c=a;c.parentNode;)c=c.parentNode;for(c=c.querySelectorAll("input[name="+JSON.stringify(""+o)+'][type="radio"]'),o=0;o<c.length;o++){var v=c[o];if(v!==a&&v.form===a.form){var b=ut(v);if(!b)throw Error(i(90));he(v),tr(v,b)}}}break;case"textarea":Nr(a,c);break;case"select":o=c.value,o!=null&&vr(a,!!c.multiple,o,!1)}},gl=sc,ku=Ws;var Aw={usingClientEntryPoint:!1,Events:[hf,Vu,ut,ma,ws,sc]},uc={findFiberByHostInstance:wi,bundleType:0,version:"18.2.0",rendererPackageName:"react-dom"},Mw={bundleType:uc.bundleType,version:uc.version,rendererPackageName:uc.rendererPackageName,rendererConfig:uc.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:Q.ReactCurrentDispatcher,findHostInstanceByFiber:function(a){return a=lr(a),a===null?null:a.stateNode},findFiberByHostInstance:uc.findFiberByHostInstance||q1,findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null,reconcilerVersion:"18.2.0-next-9e3b772b8-20220608"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var ih=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!ih.isDisabled&&ih.supportsFiber)try{yl=ih.inject(Mw),Aa=ih}catch{}}return di.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=Aw,di.createPortal=function(a,o){var c=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!eg(o))throw Error(i(200));return W1(a,o,null,c)},di.createRoot=function(a,o){if(!eg(a))throw Error(i(299));var c=!1,v="",b=Jm;return o!=null&&(o.unstable_strictMode===!0&&(c=!0),o.identifierPrefix!==void 0&&(v=o.identifierPrefix),o.onRecoverableError!==void 0&&(b=o.onRecoverableError)),o=eh(a,1,!1,null,null,c,!1,v,b),a[Io]=o.current,Bu(a.nodeType===8?a.parentNode:a),new nh(o)},di.findDOMNode=function(a){if(a==null)return null;if(a.nodeType===1)return a;var o=a._reactInternals;if(o===void 0)throw typeof a.render=="function"?Error(i(188)):(a=Object.keys(a).join(","),Error(i(268,a)));return a=lr(o),a=a===null?null:a.stateNode,a},di.flushSync=function(a){return Ws(a)},di.hydrate=function(a,o,c){if(!rh(o))throw Error(i(200));return ah(null,a,o,!0,c)},di.hydrateRoot=function(a,o,c){if(!eg(a))throw Error(i(405));var v=c!=null&&c.hydratedSources||null,b=!1,w="",D=Jm;if(c!=null&&(c.unstable_strictMode===!0&&(b=!0),c.identifierPrefix!==void 0&&(w=c.identifierPrefix),c.onRecoverableError!==void 0&&(D=c.onRecoverableError)),o=Y1(o,null,a,1,c??null,b,!1,w,D),a[Io]=o.current,Bu(a),v)for(a=0;a<v.length;a++)c=v[a],b=c._getVersion,b=b(c._source),o.mutableSourceEagerHydrationData==null?o.mutableSourceEagerHydrationData=[c,b]:o.mutableSourceEagerHydrationData.push(c,b);return new Ko(o)},di.render=function(a,o,c){if(!rh(o))throw Error(i(200));return ah(null,a,o,!1,c)},di.unmountComponentAtNode=function(a){if(!rh(a))throw Error(i(40));return a._reactRootContainer?(Ws(function(){ah(null,null,a,!1,function(){a._reactRootContainer=null,a[Io]=null})}),!0):!1},di.unstable_batchedUpdates=sc,di.unstable_renderSubtreeIntoContainer=function(a,o,c,v){if(!rh(c))throw Error(i(200));if(a==null||a._reactInternals===void 0)throw Error(i(38));return ah(a,o,c,!1,v)},di.version="18.2.0-next-9e3b772b8-20220608",di}var pi={};/**
83
+ * @license React
84
+ * react-dom.development.js
313
85
  *
314
86
  * Copyright (c) Facebook, Inc. and its affiliates.
315
87
  *
316
88
  * This source code is licensed under the MIT license found in the
317
89
  * LICENSE file in the root directory of this source tree.
318
- */var X3=$r.default,Qy=60103;if(ko.Fragment=60107,typeof Symbol=="function"&&Symbol.for){var Jy=Symbol.for;Qy=Jy("react.element"),ko.Fragment=Jy("react.fragment")}var Z3=X3.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,K3=Object.prototype.hasOwnProperty,q3={key:!0,ref:!0,__self:!0,__source:!0};function e1(e,t,r){var n,i={},a=null,o=null;r!==void 0&&(a=""+r),t.key!==void 0&&(a=""+t.key),t.ref!==void 0&&(o=t.ref);for(n in t)K3.call(t,n)&&!q3.hasOwnProperty(n)&&(i[n]=t[n]);if(e&&e.defaultProps)for(n in t=e.defaultProps,t)i[n]===void 0&&(i[n]=t[n]);return{$$typeof:Qy,type:e,key:a,ref:o,props:i,_owner:Z3.current}}ko.jsx=e1,ko.jsxs=e1,tu.exports=ko;const C=tu.exports.jsx,J=tu.exports.jsxs,Wi=tu.exports.Fragment;var Q3={body:{classList:{add:function(){},remove:function(){}}},addEventListener:function(){},removeEventListener:function(){},activeElement:{blur:function(){},nodeName:""},querySelector:function(){return null},querySelectorAll:function(){return[]},getElementById:function(){return null},createEvent:function(){return{initEvent:function(){}}},createElement:function(){return{children:[],childNodes:[],style:{},setAttribute:function(){},getElementsByTagName:function(){return[]}}}},t1=Q3,Hi=function(){},J3={document:t1,navigator:{userAgent:""},CustomEvent:function(){return this},addEventListener:Hi,removeEventListener:Hi,getComputedStyle:function(){return{getPropertyValue:function(){return""}}},matchMedia:function(){return{matches:!1,addListener:Hi,removeListener:Hi}},requestAnimationFrame:function(t){return typeof setTimeout=="undefined"?(t(),null):setTimeout(t,0)},cancelAnimationFrame:function(t){typeof setTimeout!="undefined"&&clearTimeout(t)},setTimeout:function(){return 0},clearTimeout:Hi,setInterval:function(){return 0},clearInterval:Hi},eE=J3,tE={window:eE,document:t1},r1=zr?{window,document}:tE,n1=F.createContext(r1);function i1(){return F.useContext(n1)}function rE(e){var t=e.children,r=e.environment,n=F.useState(null),i=n[0],a=n[1],o=F.useMemo(function(){var s,u=i==null?void 0:i.ownerDocument,c=i==null?void 0:i.ownerDocument.defaultView,d=u?{document:u,window:c}:void 0,f=(s=r!=null?r:d)!=null?s:r1;return f},[i,r]),l=!i&&!r;return J(n1.Provider,{value:o,children:[t,l&&C("span",{ref:function(u){u&&a(u)}})]})}var ru={light:"chakra-ui-light",dark:"chakra-ui-dark"},nE={classList:{add:Ta,remove:Ta}},iE=function(t){return zr?t.body:nE};function aE(e,t){var r=iE(t);r.classList.add(e?ru.dark:ru.light),r.classList.remove(e?ru.light:ru.dark)}function oE(e){var t=window.matchMedia==null?void 0:window.matchMedia(e);if(!!t)return!!t.media===t.matches}var a1={light:"(prefers-color-scheme: light)",dark:"(prefers-color-scheme: dark)"};function lE(e){var t,r=(t=oE(a1.dark))!=null?t:e==="dark";return r?"dark":"light"}function sE(e){if(!("matchMedia"in window))return Ta;var t=window.matchMedia(a1.dark),r=function(){e(t.matches?"dark":"light",!0)};return t.addEventListener("change",r),function(){t.removeEventListener("change",r)}}var o1={get:function(){return document.documentElement.style.getPropertyValue("--chakra-ui-color-mode")||document.documentElement.dataset.theme},set:function(t){zr&&(document.documentElement.style.setProperty("--chakra-ui-color-mode",t),document.documentElement.setAttribute("data-theme",t))}},l1=function(){return typeof Storage!="undefined"},s1="chakra-ui-color-mode",uE={get:function(t){if(!l1())return t;try{var r=localStorage.getItem(s1);return r!=null?r:t}catch{return t}},set:function(t){if(!!l1())try{localStorage.setItem(s1,t)}catch{}},type:"localStorage"},u1=S.createContext({}),c1=function(){var t=S.useContext(u1);if(t===void 0)throw new Error("useColorMode must be used within a ColorModeProvider");return t};function cE(e){var t=e.value,r=e.children,n=e.options,i=n.useSystemColorMode,a=n.initialColorMode,o=e.colorModeManager,l=o===void 0?uE:o,s=a==="dark"?"dark":"light",u=S.useState(l.type==="cookie"?l.get(s):s),c=u[0],d=u[1],f=i1(),p=f.document;S.useEffect(function(){if(zr&&l.type==="localStorage"){var m=lE(s);if(i)return d(m);var y=o1.get(),b=l.get();return d(y||b||(a==="system"?m:s))}},[l,i,s,a]),S.useEffect(function(){var m=c==="dark";aE(m,p),o1.set(m?"dark":"light")},[c,p]);var h=S.useCallback(function(m,y){if(y===void 0&&(y=!1),!y)l.set(m);else if(l.get()&&!i)return;d(m)},[l,i]),g=S.useCallback(function(){h(c==="light"?"dark":"light")},[c,h]);S.useEffect(function(){var m=i||a==="system",y;return m&&(y=sE(h)),function(){y&&m&&y()}},[h,i,a]);var v=S.useMemo(function(){return{colorMode:t!=null?t:c,toggleColorMode:t?Ta:g,setColorMode:t?Ta:h}},[c,h,g,t]);return S.createElement(u1.Provider,{value:v},r)}function To(){return To=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},To.apply(this,arguments)}var fE=function(t,r){return function(n){var i=String(r),a=t?t+"."+i:i;return dt(n.__cssMap)&&a in n.__cssMap?n.__cssMap[a].varRef:r}};function Po(e){var t=e.scale,r=e.transform,n=e.compose,i=function(o,l){var s,u=fE(t,o)(l),c=(s=r==null?void 0:r(u,l))!=null?s:u;return n&&(c=n(c,l)),c};return i}function Zt(e,t){return function(r){var n={property:r,scale:e};return n.transform=Po({scale:e,transform:t}),n}}var dE=function(t){var r=t.rtl,n=t.ltr;return function(i){return i.direction==="rtl"?r:n}};function pE(e){var t=e.property,r=e.scale,n=e.transform;return{scale:r,property:dE(t),transform:r?Po({scale:r,compose:n}):n}}var np,ip,f1=["rotate(var(--chakra-rotate, 0))","scaleX(var(--chakra-scale-x, 1))","scaleY(var(--chakra-scale-y, 1))","skewX(var(--chakra-skew-x, 0))","skewY(var(--chakra-skew-y, 0))"];function vE(){return["translateX(var(--chakra-translate-x, 0))","translateY(var(--chakra-translate-y, 0))"].concat(f1).join(" ")}function hE(){return["translate3d(var(--chakra-translate-x, 0), var(--chakra-translate-y, 0), 0)"].concat(f1).join(" ")}var mE={"--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(" ")},gE={backdropFilter:["var(--chakra-backdrop-blur)","var(--chakra-backdrop-brightness)","var(--chakra-backdrop-contrast)","var(--chakra-backdrop-grayscale)","var(--chakra-backdrop-hue-rotate)","var(--chakra-backdrop-invert)","var(--chakra-backdrop-opacity)","var(--chakra-backdrop-saturate)","var(--chakra-backdrop-sepia)"].join(" "),"--chakra-backdrop-blur":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-backdrop-brightness":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-backdrop-contrast":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-backdrop-grayscale":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-backdrop-hue-rotate":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-backdrop-invert":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-backdrop-opacity":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-backdrop-saturate":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-backdrop-sepia":"var(--chakra-empty,/*!*/ /*!*/)"};function yE(e){return{"--chakra-ring-offset-shadow":"var(--chakra-ring-inset) 0 0 0 var(--chakra-ring-offset-width) var(--chakra-ring-offset-color)","--chakra-ring-shadow":"var(--chakra-ring-inset) 0 0 0 calc(var(--chakra-ring-width) + var(--chakra-ring-offset-width)) var(--chakra-ring-color)","--chakra-ring-width":e,boxShadow:["var(--chakra-ring-offset-shadow)","var(--chakra-ring-shadow)","var(--chakra-shadow, 0 0 #0000)"].join(", ")}}var bE={"row-reverse":{space:"--chakra-space-x-reverse",divide:"--chakra-divide-x-reverse"},"column-reverse":{space:"--chakra-space-y-reverse",divide:"--chakra-divide-y-reverse"}},d1="& > :not(style) ~ :not(style)",xE=(np={},np[d1]={marginInlineStart:"calc(var(--chakra-space-x) * calc(1 - var(--chakra-space-x-reverse)))",marginInlineEnd:"calc(var(--chakra-space-x) * var(--chakra-space-x-reverse))"},np),SE=(ip={},ip[d1]={marginTop:"calc(var(--chakra-space-y) * calc(1 - var(--chakra-space-y-reverse)))",marginBottom:"calc(var(--chakra-space-y) * var(--chakra-space-y-reverse))"},ip);function nu(e,t){return nu=Object.setPrototypeOf||function(n,i){return n.__proto__=i,n},nu(e,t)}function wE(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&nu(e,t)}function ap(){ap=function(i,a){return new r(i,void 0,a)};var e=RegExp.prototype,t=new WeakMap;function r(i,a,o){var l=new RegExp(i,a);return t.set(l,o||t.get(i)),nu(l,r.prototype)}wE(r,RegExp),r.prototype.exec=function(i){var a=e.exec.call(this,i);return a&&(a.groups=n(a,this)),a},r.prototype[Symbol.replace]=function(i,a){if(typeof a=="string"){var o=t.get(this);return e[Symbol.replace].call(this,i,a.replace(/\$<([^>]+)>/g,function(s,u){return"$"+o[u]}))}else if(typeof a=="function"){var l=this;return e[Symbol.replace].call(this,i,function(){var s=arguments;return typeof s[s.length-1]!="object"&&(s=[].slice.call(s),s.push(n(s,l))),a.apply(this,s)})}else return e[Symbol.replace].call(this,i,a)};function n(i,a){var o=t.get(a);return Object.keys(o).reduce(function(l,s){return l[s]=i[o[s]],l},Object.create(null))}return ap.apply(this,arguments)}var op={"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"},CE=new Set(Object.values(op)),p1=new Set(["none","-moz-initial","inherit","initial","revert","unset"]),EE=function(t){return t.trim()};function kE(e,t){var r,n;if(e==null||p1.has(e))return e;var i=ap(/(^[\x2DA-Za-z]+)\(((.*))\)/g,{type:1,values:2}),a=(r=(n=i.exec(e))==null?void 0:n.groups)!=null?r:{},o=a.type,l=a.values;if(!o||!l)return e;var s=o.includes("-gradient")?o:o+"-gradient",u=l.split(",").map(EE).filter(Boolean),c=u[0],d=u.slice(1);if((d==null?void 0:d.length)===0)return e;var f=c in op?op[c]:c;d.unshift(f);var p=d.map(function(h){if(CE.has(h))return h;var g=h.indexOf(" "),v=g!==-1?[h.substr(0,g),h.substr(g+1)]:[h],m=v[0],y=v[1],b=v1(y)?y:y&&y.split(" "),x="colors."+m,E=x in t.__cssMap?t.__cssMap[x].varRef:m;return b?[E].concat(Array.isArray(b)?b:[b]).join(" "):E});return s+"("+p.join(", ")+")"}var v1=function(t){return Wl(t)&&t.includes("(")&&t.includes(")")},TE=function(t,r){return kE(t,r!=null?r:{})},PE=function(t){var r=parseFloat(t.toString()),n=t.toString().replace(String(r),"");return{unitless:!n,value:r,unit:n}},fr=function(t){return function(r){return t+"("+r+")"}},ce={filter:function(t){return t!=="auto"?t:mE},backdropFilter:function(t){return t!=="auto"?t:gE},ring:function(t){return yE(ce.px(t))},bgClip:function(t){return t==="text"?{color:"transparent",backgroundClip:"text"}:{backgroundClip:t}},transform:function(t){return t==="auto"?vE():t==="auto-gpu"?hE():t},px:function(t){if(t==null)return t;var r=PE(t),n=r.unitless;return n||_n(t)?t+"px":t},fraction:function(t){return!_n(t)||t>1?t:t*100+"%"},float:function(t,r){var n={left:"right",right:"left"};return r.direction==="rtl"?n[t]:t},degree:function(t){if(Vm(t)||t==null)return t;var r=Wl(t)&&!t.endsWith("deg");return _n(t)||r?t+"deg":t},gradient:TE,blur:fr("blur"),opacity:fr("opacity"),brightness:fr("brightness"),contrast:fr("contrast"),dropShadow:fr("drop-shadow"),grayscale:fr("grayscale"),hueRotate:fr("hue-rotate"),invert:fr("invert"),saturate:fr("saturate"),sepia:fr("sepia"),bgImage:function(t){if(t==null)return t;var r=v1(t)||p1.has(t);return r?t:"url("+t+")"},outline:function(t){var r=String(t)==="0"||String(t)==="none";return t!==null&&r?{outline:"2px solid transparent",outlineOffset:"2px"}:{outline:t}},flexDirection:function(t){var r,n=(r=bE[t])!=null?r:{},i=n.space,a=n.divide,o={flexDirection:t};return i&&(o[i]=1),a&&(o[a]=1),o}},P={borderWidths:Zt("borderWidths"),borderStyles:Zt("borderStyles"),colors:Zt("colors"),borders:Zt("borders"),radii:Zt("radii",ce.px),space:Zt("space",ce.px),spaceT:Zt("space",ce.px),degreeT:function(t){return{property:t,transform:ce.degree}},prop:function(t,r,n){return To({property:t,scale:r},r&&{transform:Po({scale:r,transform:n})})},propT:function(t,r){return{property:t,transform:r}},sizes:Zt("sizes",ce.px),sizesT:Zt("sizes",ce.fraction),shadows:Zt("shadows"),logical:pE,blur:Zt("blur",ce.blur)},iu={background:P.colors("background"),backgroundColor:P.colors("backgroundColor"),backgroundImage:P.propT("backgroundImage",ce.bgImage),backgroundSize:!0,backgroundPosition:!0,backgroundRepeat:!0,backgroundAttachment:!0,backgroundClip:{transform:ce.bgClip},bgSize:P.prop("backgroundSize"),bgPosition:P.prop("backgroundPosition"),bg:P.colors("background"),bgColor:P.colors("backgroundColor"),bgPos:P.prop("backgroundPosition"),bgRepeat:P.prop("backgroundRepeat"),bgAttachment:P.prop("backgroundAttachment"),bgGradient:P.propT("backgroundImage",ce.gradient),bgClip:{transform:ce.bgClip}};Object.assign(iu,{bgImage:iu.backgroundImage,bgImg:iu.backgroundImage});var se={border:P.borders("border"),borderWidth:P.borderWidths("borderWidth"),borderStyle:P.borderStyles("borderStyle"),borderColor:P.colors("borderColor"),borderRadius:P.radii("borderRadius"),borderTop:P.borders("borderTop"),borderBlockStart:P.borders("borderBlockStart"),borderTopLeftRadius:P.radii("borderTopLeftRadius"),borderStartStartRadius:P.logical({scale:"radii",property:{ltr:"borderTopLeftRadius",rtl:"borderTopRightRadius"}}),borderEndStartRadius:P.logical({scale:"radii",property:{ltr:"borderBottomLeftRadius",rtl:"borderBottomRightRadius"}}),borderTopRightRadius:P.radii("borderTopRightRadius"),borderStartEndRadius:P.logical({scale:"radii",property:{ltr:"borderTopRightRadius",rtl:"borderTopLeftRadius"}}),borderEndEndRadius:P.logical({scale:"radii",property:{ltr:"borderBottomRightRadius",rtl:"borderBottomLeftRadius"}}),borderRight:P.borders("borderRight"),borderInlineEnd:P.borders("borderInlineEnd"),borderBottom:P.borders("borderBottom"),borderBlockEnd:P.borders("borderBlockEnd"),borderBottomLeftRadius:P.radii("borderBottomLeftRadius"),borderBottomRightRadius:P.radii("borderBottomRightRadius"),borderLeft:P.borders("borderLeft"),borderInlineStart:{property:"borderInlineStart",scale:"borders"},borderInlineStartRadius:P.logical({scale:"radii",property:{ltr:["borderTopLeftRadius","borderBottomLeftRadius"],rtl:["borderTopRightRadius","borderBottomRightRadius"]}}),borderInlineEndRadius:P.logical({scale:"radii",property:{ltr:["borderTopRightRadius","borderBottomRightRadius"],rtl:["borderTopLeftRadius","borderBottomLeftRadius"]}}),borderX:P.borders(["borderLeft","borderRight"]),borderInline:P.borders("borderInline"),borderY:P.borders(["borderTop","borderBottom"]),borderBlock:P.borders("borderBlock"),borderTopWidth:P.borderWidths("borderTopWidth"),borderBlockStartWidth:P.borderWidths("borderBlockStartWidth"),borderTopColor:P.colors("borderTopColor"),borderBlockStartColor:P.colors("borderBlockStartColor"),borderTopStyle:P.borderStyles("borderTopStyle"),borderBlockStartStyle:P.borderStyles("borderBlockStartStyle"),borderBottomWidth:P.borderWidths("borderBottomWidth"),borderBlockEndWidth:P.borderWidths("borderBlockEndWidth"),borderBottomColor:P.colors("borderBottomColor"),borderBlockEndColor:P.colors("borderBlockEndColor"),borderBottomStyle:P.borderStyles("borderBottomStyle"),borderBlockEndStyle:P.borderStyles("borderBlockEndStyle"),borderLeftWidth:P.borderWidths("borderLeftWidth"),borderInlineStartWidth:P.borderWidths("borderInlineStartWidth"),borderLeftColor:P.colors("borderLeftColor"),borderInlineStartColor:P.colors("borderInlineStartColor"),borderLeftStyle:P.borderStyles("borderLeftStyle"),borderInlineStartStyle:P.borderStyles("borderInlineStartStyle"),borderRightWidth:P.borderWidths("borderRightWidth"),borderInlineEndWidth:P.borderWidths("borderInlineEndWidth"),borderRightColor:P.colors("borderRightColor"),borderInlineEndColor:P.colors("borderInlineEndColor"),borderRightStyle:P.borderStyles("borderRightStyle"),borderInlineEndStyle:P.borderStyles("borderInlineEndStyle"),borderTopRadius:P.radii(["borderTopLeftRadius","borderTopRightRadius"]),borderBottomRadius:P.radii(["borderBottomLeftRadius","borderBottomRightRadius"]),borderLeftRadius:P.radii(["borderTopLeftRadius","borderBottomLeftRadius"]),borderRightRadius:P.radii(["borderTopRightRadius","borderBottomRightRadius"])};Object.assign(se,{rounded:se.borderRadius,roundedTop:se.borderTopRadius,roundedTopLeft:se.borderTopLeftRadius,roundedTopRight:se.borderTopRightRadius,roundedTopStart:se.borderStartStartRadius,roundedTopEnd:se.borderStartEndRadius,roundedBottom:se.borderBottomRadius,roundedBottomLeft:se.borderBottomLeftRadius,roundedBottomRight:se.borderBottomRightRadius,roundedBottomStart:se.borderEndStartRadius,roundedBottomEnd:se.borderEndEndRadius,roundedLeft:se.borderLeftRadius,roundedRight:se.borderRightRadius,roundedStart:se.borderInlineStartRadius,roundedEnd:se.borderInlineEndRadius,borderStart:se.borderInlineStart,borderEnd:se.borderInlineEnd,borderTopStartRadius:se.borderStartStartRadius,borderTopEndRadius:se.borderStartEndRadius,borderBottomStartRadius:se.borderEndStartRadius,borderBottomEndRadius:se.borderEndEndRadius,borderStartRadius:se.borderInlineStartRadius,borderEndRadius:se.borderInlineEndRadius,borderStartWidth:se.borderInlineStartWidth,borderEndWidth:se.borderInlineEndWidth,borderStartColor:se.borderInlineStartColor,borderEndColor:se.borderInlineEndColor,borderStartStyle:se.borderInlineStartStyle,borderEndStyle:se.borderInlineEndStyle});var _E={color:P.colors("color"),textColor:P.colors("color"),fill:P.colors("fill"),stroke:P.colors("stroke")},lp={boxShadow:P.shadows("boxShadow"),mixBlendMode:!0,blendMode:P.prop("mixBlendMode"),backgroundBlendMode:!0,bgBlendMode:P.prop("backgroundBlendMode"),opacity:!0};Object.assign(lp,{shadow:lp.boxShadow});var OE={filter:{transform:ce.filter},blur:P.blur("--chakra-blur"),brightness:P.propT("--chakra-brightness",ce.brightness),contrast:P.propT("--chakra-contrast",ce.contrast),hueRotate:P.degreeT("--chakra-hue-rotate"),invert:P.propT("--chakra-invert",ce.invert),saturate:P.propT("--chakra-saturate",ce.saturate),dropShadow:P.propT("--chakra-drop-shadow",ce.dropShadow),backdropFilter:{transform:ce.backdropFilter},backdropBlur:P.blur("--chakra-backdrop-blur"),backdropBrightness:P.propT("--chakra-backdrop-brightness",ce.brightness),backdropContrast:P.propT("--chakra-backdrop-contrast",ce.contrast),backdropHueRotate:P.degreeT("--chakra-backdrop-hue-rotate"),backdropInvert:P.propT("--chakra-backdrop-invert",ce.invert),backdropSaturate:P.propT("--chakra-backdrop-saturate",ce.saturate)},au={alignItems:!0,alignContent:!0,justifyItems:!0,justifyContent:!0,flexWrap:!0,flexDirection:{transform:ce.flexDirection},experimental_spaceX:{static:xE,transform:Po({scale:"space",transform:function(t){return t!==null?{"--chakra-space-x":t}:null}})},experimental_spaceY:{static:SE,transform:Po({scale:"space",transform:function(t){return t!=null?{"--chakra-space-y":t}:null}})},flex:!0,flexFlow:!0,flexGrow:!0,flexShrink:!0,flexBasis:P.sizes("flexBasis"),justifySelf:!0,alignSelf:!0,order:!0,placeItems:!0,placeContent:!0,placeSelf:!0,gap:P.space("gap"),rowGap:P.space("rowGap"),columnGap:P.space("columnGap")};Object.assign(au,{flexDir:au.flexDirection});var h1={gridGap:P.space("gridGap"),gridColumnGap:P.space("gridColumnGap"),gridRowGap:P.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},AE={appearance:!0,cursor:!0,resize:!0,userSelect:!0,pointerEvents:!0,outline:{transform:ce.outline},outlineOffset:!0,outlineColor:P.colors("outlineColor")},$t={width:P.sizesT("width"),inlineSize:P.sizesT("inlineSize"),height:P.sizes("height"),blockSize:P.sizes("blockSize"),boxSize:P.sizes(["width","height"]),minWidth:P.sizes("minWidth"),minInlineSize:P.sizes("minInlineSize"),minHeight:P.sizes("minHeight"),minBlockSize:P.sizes("minBlockSize"),maxWidth:P.sizes("maxWidth"),maxInlineSize:P.sizes("maxInlineSize"),maxHeight:P.sizes("maxHeight"),maxBlockSize:P.sizes("maxBlockSize"),d:P.prop("display"),overflow:!0,overflowX:!0,overflowY:!0,overscrollBehavior:!0,overscrollBehaviorX:!0,overscrollBehaviorY:!0,display:!0,verticalAlign:!0,boxSizing:!0,boxDecorationBreak:!0,float:P.propT("float",ce.float),objectFit:!0,objectPosition:!0,visibility:!0,isolation:!0};Object.assign($t,{w:$t.width,h:$t.height,minW:$t.minWidth,maxW:$t.maxWidth,minH:$t.minHeight,maxH:$t.maxHeight,overscroll:$t.overscrollBehavior,overscrollX:$t.overscrollBehaviorX,overscrollY:$t.overscrollBehaviorY});var ME={listStyleType:!0,listStylePosition:!0,listStylePos:P.prop("listStylePosition"),listStyleImage:!0,listStyleImg:P.prop("listStyleImage")},FE={border:"0px",clip:"rect(0, 0, 0, 0)",width:"1px",height:"1px",margin:"-1px",padding:"0px",overflow:"hidden",whiteSpace:"nowrap",position:"absolute"},RE={position:"static",width:"auto",height:"auto",clip:"auto",padding:"0",margin:"0",overflow:"visible",whiteSpace:"normal"},sp=function(t,r,n){var i={},a=Ul(t,r,{});for(var o in a){var l=o in n&&n[o]!=null;l||(i[o]=a[o])}return i},IE={srOnly:{transform:function(t){return t===!0?FE:t==="focusable"?RE:{}}},layerStyle:{processResult:!0,transform:function(t,r,n){return sp(r,"layerStyles."+t,n)}},textStyle:{processResult:!0,transform:function(t,r,n){return sp(r,"textStyles."+t,n)}},apply:{processResult:!0,transform:function(t,r,n){return sp(r,t,n)}}},_o={position:!0,pos:P.prop("position"),zIndex:P.prop("zIndex","zIndices"),inset:P.spaceT("inset"),insetX:P.spaceT(["left","right"]),insetInline:P.spaceT("insetInline"),insetY:P.spaceT(["top","bottom"]),insetBlock:P.spaceT("insetBlock"),top:P.spaceT("top"),insetBlockStart:P.spaceT("insetBlockStart"),bottom:P.spaceT("bottom"),insetBlockEnd:P.spaceT("insetBlockEnd"),left:P.spaceT("left"),insetInlineStart:P.logical({scale:"space",property:{ltr:"left",rtl:"right"}}),right:P.spaceT("right"),insetInlineEnd:P.logical({scale:"space",property:{ltr:"right",rtl:"left"}})};Object.assign(_o,{insetStart:_o.insetInlineStart,insetEnd:_o.insetInlineEnd});var LE={ring:{transform:ce.ring},ringColor:P.colors("--chakra-ring-color"),ringOffset:P.prop("--chakra-ring-offset-width"),ringOffsetColor:P.colors("--chakra-ring-offset-color"),ringInset:P.prop("--chakra-ring-inset")},Ce={margin:P.spaceT("margin"),marginTop:P.spaceT("marginTop"),marginBlockStart:P.spaceT("marginBlockStart"),marginRight:P.spaceT("marginRight"),marginInlineEnd:P.spaceT("marginInlineEnd"),marginBottom:P.spaceT("marginBottom"),marginBlockEnd:P.spaceT("marginBlockEnd"),marginLeft:P.spaceT("marginLeft"),marginInlineStart:P.spaceT("marginInlineStart"),marginX:P.spaceT(["marginInlineStart","marginInlineEnd"]),marginInline:P.spaceT("marginInline"),marginY:P.spaceT(["marginTop","marginBottom"]),marginBlock:P.spaceT("marginBlock"),padding:P.space("padding"),paddingTop:P.space("paddingTop"),paddingBlockStart:P.space("paddingBlockStart"),paddingRight:P.space("paddingRight"),paddingBottom:P.space("paddingBottom"),paddingBlockEnd:P.space("paddingBlockEnd"),paddingLeft:P.space("paddingLeft"),paddingInlineStart:P.space("paddingInlineStart"),paddingInlineEnd:P.space("paddingInlineEnd"),paddingX:P.space(["paddingInlineStart","paddingInlineEnd"]),paddingInline:P.space("paddingInline"),paddingY:P.space(["paddingTop","paddingBottom"]),paddingBlock:P.space("paddingBlock")};Object.assign(Ce,{m:Ce.margin,mt:Ce.marginTop,mr:Ce.marginRight,me:Ce.marginInlineEnd,marginEnd:Ce.marginInlineEnd,mb:Ce.marginBottom,ml:Ce.marginLeft,ms:Ce.marginInlineStart,marginStart:Ce.marginInlineStart,mx:Ce.marginX,my:Ce.marginY,p:Ce.padding,pt:Ce.paddingTop,py:Ce.paddingY,px:Ce.paddingX,pb:Ce.paddingBottom,pl:Ce.paddingLeft,ps:Ce.paddingInlineStart,paddingStart:Ce.paddingInlineStart,pr:Ce.paddingRight,pe:Ce.paddingInlineEnd,paddingEnd:Ce.paddingInlineEnd});var BE={textDecorationColor:P.colors("textDecorationColor"),textDecoration:!0,textDecor:{property:"textDecoration"},textDecorationLine:!0,textDecorationStyle:!0,textDecorationThickness:!0,textUnderlineOffset:!0,textShadow:P.shadows("textShadow")},$E={clipPath:!0,transform:P.propT("transform",ce.transform),transformOrigin:!0,translateX:P.spaceT("--chakra-translate-x"),translateY:P.spaceT("--chakra-translate-y"),skewX:P.degreeT("--chakra-skew-x"),skewY:P.degreeT("--chakra-skew-y"),scaleX:P.prop("--chakra-scale-x"),scaleY:P.prop("--chakra-scale-y"),scale:P.prop(["--chakra-scale-x","--chakra-scale-y"]),rotate:P.degreeT("--chakra-rotate")},DE={transition:!0,transitionDelay:!0,animation:!0,willChange:!0,transitionDuration:P.prop("transitionDuration","transition.duration"),transitionProperty:P.prop("transitionProperty","transition.property"),transitionTimingFunction:P.prop("transitionTimingFunction","transition.easing")},zE={fontFamily:P.prop("fontFamily","fonts"),fontSize:P.prop("fontSize","fontSizes",ce.px),fontWeight:P.prop("fontWeight","fontWeights"),lineHeight:P.prop("lineHeight","lineHeights"),letterSpacing:P.prop("letterSpacing","letterSpacings"),textAlign:!0,fontStyle:!0,wordBreak:!0,overflowWrap:!0,textOverflow:!0,textTransform:!0,whiteSpace:!0,noOfLines:{static:{overflow:"hidden",textOverflow:"ellipsis",display:"-webkit-box",WebkitBoxOrient:"vertical",WebkitLineClamp:"var(--chakra-line-clamp)"},property:"--chakra-line-clamp"},isTruncated:{transform:function(t){if(t===!0)return{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"}}}},NE={scrollBehavior:!0,scrollSnapAlign:!0,scrollSnapStop:!0,scrollSnapType:!0,scrollMargin:P.spaceT("scrollMargin"),scrollMarginTop:P.spaceT("scrollMarginTop"),scrollMarginBottom:P.spaceT("scrollMarginBottom"),scrollMarginLeft:P.spaceT("scrollMarginLeft"),scrollMarginRight:P.spaceT("scrollMarginRight"),scrollMarginX:P.spaceT(["scrollMarginLeft","scrollMarginRight"]),scrollMarginY:P.spaceT(["scrollMarginTop","scrollMarginBottom"]),scrollPadding:P.spaceT("scrollPadding"),scrollPaddingTop:P.spaceT("scrollPaddingTop"),scrollPaddingBottom:P.spaceT("scrollPaddingBottom"),scrollPaddingLeft:P.spaceT("scrollPaddingLeft"),scrollPaddingRight:P.spaceT("scrollPaddingRight"),scrollPaddingX:P.spaceT(["scrollPaddingLeft","scrollPaddingRight"]),scrollPaddingY:P.spaceT(["scrollPaddingTop","scrollPaddingBottom"])};function m1(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function VE(e,t){if(!!e){if(typeof e=="string")return m1(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if(r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set")return Array.from(e);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return m1(e,t)}}function jE(e,t){var r=typeof Symbol!="undefined"&&e[Symbol.iterator]||e["@@iterator"];if(r)return(r=r.call(e)).next.bind(r);if(Array.isArray(e)||(r=VE(e))||t&&e&&typeof e.length=="number"){r&&(e=r);var n=0;return function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
319
- In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var qe={hover:function(t,r){return t+":hover "+r+", "+t+"[data-hover] "+r},focus:function(t,r){return t+":focus "+r+", "+t+"[data-focus] "+r},focusVisible:function(t,r){return t+":focus-visible "+r},focusWithin:function(t,r){return t+":focus-within "+r},active:function(t,r){return t+":active "+r+", "+t+"[data-active] "+r},disabled:function(t,r){return t+":disabled "+r+", "+t+"[data-disabled] "+r},invalid:function(t,r){return t+":invalid "+r+", "+t+"[data-invalid] "+r},checked:function(t,r){return t+":checked "+r+", "+t+"[data-checked] "+r},indeterminate:function(t,r){return t+":indeterminate "+r+", "+t+"[aria-checked=mixed] "+r+", "+t+"[data-indeterminate] "+r},readOnly:function(t,r){return t+":read-only "+r+", "+t+"[readonly] "+r+", "+t+"[data-read-only] "+r},expanded:function(t,r){return t+":read-only "+r+", "+t+"[aria-expanded=true] "+r+", "+t+"[data-expanded] "+r},placeholderShown:function(t,r){return t+":placeholder-shown "+r}},ln=function(t){return g1(function(r){return t(r,"&")},"[role=group]","[data-group]",".group")},kr=function(t){return g1(function(r){return t(r,"~ &")},"[data-peer]",".peer")},g1=function(t){for(var r=arguments.length,n=new Array(r>1?r-1:0),i=1;i<r;i++)n[i-1]=arguments[i];return n.map(t).join(", ")},Oo={_hover:"&:hover, &[data-hover]",_active:"&:active, &[data-active]",_focus:"&:focus, &[data-focus]",_highlighted:"&[data-highlighted]",_focusWithin:"&:focus-within",_focusVisible:"&:focus-visible",_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",_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:ln(qe.hover),_peerHover:kr(qe.hover),_groupFocus:ln(qe.focus),_peerFocus:kr(qe.focus),_groupFocusVisible:ln(qe.focusVisible),_peerFocusVisible:kr(qe.focusVisible),_groupActive:ln(qe.active),_peerActive:kr(qe.active),_groupDisabled:ln(qe.disabled),_peerDisabled:kr(qe.disabled),_groupInvalid:ln(qe.invalid),_peerInvalid:kr(qe.invalid),_groupChecked:ln(qe.checked),_peerChecked:kr(qe.checked),_groupFocusWithin:ln(qe.focusWithin),_peerFocusWithin:kr(qe.focusWithin),_peerPlaceholderShown:kr(qe.placeholderShown),_placeholder:"&::placeholder",_placeholderShown:"&:placeholder-shown",_fullScreen:"&:fullscreen",_selection:"&::selection",_rtl:"[dir=rtl] &, &[dir=rtl]",_ltr:"[dir=ltr] &, &[dir=ltr]",_mediaDark:"@media (prefers-color-scheme: dark)",_mediaReduceMotion:"@media (prefers-reduced-motion: reduce)",_dark:".chakra-ui-dark &:not([data-theme]),[data-theme=dark] &:not([data-theme]),&[data-theme=dark]",_light:".chakra-ui-light &:not([data-theme]),[data-theme=light] &:not([data-theme]),&[data-theme=light]"},WE=Yc(Oo),up=Ot({},iu,se,_E,au,$t,OE,LE,AE,h1,IE,_o,lp,Ce,NE,zE,BE,$E,ME,DE);Object.assign({},Ce,$t,au,h1,_o);var HE=[].concat(Yc(up),WE),UE=To({},up,Oo),GE=function(t){return t in UE},YE=function(t){return function(r){if(!r.__breakpoints)return t;var n=r.__breakpoints,i=n.isResponsive,a=n.toArrayValue,o=n.media,l={};for(var s in t){var u=At(t[s],r);if(u!=null){if(u=dt(u)&&i(u)?a(u):u,!Array.isArray(u)){l[s]=u;continue}for(var c=u.slice(0,o.length).length,d=0;d<c;d+=1){var f=o==null?void 0:o[d];if(!f){l[s]=u[d];continue}l[f]=l[f]||{},u[d]!=null&&(l[f][s]=u[d])}}}return l}},XE=function(t,r){return t.startsWith("--")&&Wl(r)&&!Vm(r)},ZE=function(t,r){var n,i;if(r==null)return r;var a=function(d){var f,p;return(f=t.__cssMap)==null||(p=f[d])==null?void 0:p.varRef},o=function(d){var f;return(f=a(d))!=null?f:d},l=r.split(",").map(function(c){return c.trim()}),s=l[0],u=l[1];return r=(n=(i=a(s))!=null?i:o(u))!=null?n:o(r),r};function KE(e){var t=e.configs,r=t===void 0?{}:t,n=e.pseudos,i=n===void 0?{}:n,a=e.theme,o=function l(s,u){u===void 0&&(u=!1);var c=At(s,a),d=YE(c)(a),f={};for(var p in d){var h,g,v,m,y,b=d[p],x=At(b,a);p in i&&(p=i[p]),XE(p,x)&&(x=ZE(a,x));var E=r[p];if(E===!0&&(E={property:p}),dt(x)){var k;f[p]=(k=f[p])!=null?k:{},f[p]=Ot({},f[p],l(x,!0));continue}var T=(h=(g=E)==null||g.transform==null?void 0:g.transform(x,a,c))!=null?h:x;T=(v=E)!=null&&v.processResult?l(T,!0):T;var A=At((m=E)==null?void 0:m.property,a);if(!u&&(y=E)!=null&&y.static){var O=At(E.static,a);f=Ot({},f,O)}if(A&&Array.isArray(A)){for(var B=jE(A),H;!(H=B()).done;){var G=H.value;f[G]=T}continue}if(A){A==="&"&&dt(T)?f=Ot({},f,T):f[A]=T;continue}if(dt(T)){f=Ot({},f,T);continue}f[p]=T}return f};return o}var y1=function(t){return function(r){var n=KE({theme:r,pseudos:Oo,configs:up});return n(t)}};function b1(e){return dt(e)&&e.reference?e.reference:String(e)}var ou=function(t){for(var r=arguments.length,n=new Array(r>1?r-1:0),i=1;i<r;i++)n[i-1]=arguments[i];return n.map(b1).join(" "+t+" ").replace(/calc/g,"")},x1=function(){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return"calc("+ou.apply(void 0,["+"].concat(r))+")"},S1=function(){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return"calc("+ou.apply(void 0,["-"].concat(r))+")"},cp=function(){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return"calc("+ou.apply(void 0,["*"].concat(r))+")"},w1=function(){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return"calc("+ou.apply(void 0,["/"].concat(r))+")"},C1=function(t){var r=b1(t);return r!=null&&!Number.isNaN(parseFloat(r))?String(r).startsWith("-")?String(r).slice(1):"-"+r:cp(r,-1)},Hn=Object.assign(function(e){return{add:function(){for(var r=arguments.length,n=new Array(r),i=0;i<r;i++)n[i]=arguments[i];return Hn(x1.apply(void 0,[e].concat(n)))},subtract:function(){for(var r=arguments.length,n=new Array(r),i=0;i<r;i++)n[i]=arguments[i];return Hn(S1.apply(void 0,[e].concat(n)))},multiply:function(){for(var r=arguments.length,n=new Array(r),i=0;i<r;i++)n[i]=arguments[i];return Hn(cp.apply(void 0,[e].concat(n)))},divide:function(){for(var r=arguments.length,n=new Array(r),i=0;i<r;i++)n[i]=arguments[i];return Hn(w1.apply(void 0,[e].concat(n)))},negate:function(){return Hn(C1(e))},toString:function(){return e.toString()}}},{add:x1,subtract:S1,multiply:cp,divide:w1,negate:C1});function qE(e,t){return t===void 0&&(t="-"),e.replace(/\s+/g,t)}function E1(e){var t=qE(e.toString());if(t.includes("\\."))return e;var r=!Number.isInteger(parseFloat(e.toString()));return r?t.replace(".","\\."):e}function QE(e,t){return t===void 0&&(t=""),[t,E1(e)].filter(Boolean).join("-")}function JE(e,t){return"var("+E1(e)+(t?", "+t:"")+")"}function ek(e,t){return t===void 0&&(t=""),"--"+QE(e,t)}function tk(e,t,r){var n=ek(e,r);return{variable:n,reference:JE(n,t)}}function k1(e,t){return tk(String(e).replace(/\./g,"-"),void 0,t)}function rk(e,t){for(var r={},n={},i=function(){var u=o[a],c=u[0],d=u[1],f=d.isSemantic,p=d.value,h=k1(c,t==null?void 0:t.cssVarPrefix),g=h.variable,v=h.reference;if(!f){if(c.startsWith("space")){var m=c.split("."),y=m[0],b=m.slice(1),x=y+".-"+b.join("."),E=Hn.negate(p),k=Hn.negate(v);n[x]={value:E,var:g,varRef:k}}return r[g]=p,n[c]={value:p,var:g,varRef:v},"continue"}var T=function(B){var H=String(c).split(".")[0],G=[H,B].join("."),U=e[G];if(!U)return B;var Z=k1(G,t==null?void 0:t.cssVarPrefix),K=Z.reference;return K},A=dt(p)?p:{default:p};r=Ot(r,Object.entries(A).reduce(function(O,B){var H,G,U=B[0],Z=B[1],K=T(Z);if(U==="default")return O[g]=K,O;var re=(H=Oo==null?void 0:Oo[U])!=null?H:U;return O[re]=(G={},G[g]=K,G),O},{})),n[c]={value:v,var:g,varRef:v}},a=0,o=Object.entries(e);a<o.length;a++)var l=i();return{cssVars:r,cssMap:n}}function nk(e,t){if(e==null)return{};var r={},n=Object.keys(e),i,a;for(a=0;a<n.length;a++)i=n[a],!(t.indexOf(i)>=0)&&(r[i]=e[i]);return r}var ik=["__cssMap","__cssVars","__breakpoints"],ak=["colors","borders","borderWidths","borderStyles","fonts","fontSizes","fontWeights","letterSpacings","lineHeights","radii","space","shadows","sizes","zIndices","transition","blur"];function ok(e){var t=ak;return jm(e,t)}function lk(e){return e.semanticTokens}function sk(e){e.__cssMap,e.__cssVars,e.__breakpoints;var t=nk(e,ik);return t}function uk(e){var t,r,n=e.tokens,i=e.semanticTokens,a=Object.entries((t=Kc(n))!=null?t:{}).map(function(l){var s=l[0],u=l[1],c={isSemantic:!1,value:u};return[s,c]}),o=Object.entries((r=Kc(i,1))!=null?r:{}).map(function(l){var s=l[0],u=l[1],c={isSemantic:!0,value:u};return[s,c]});return Gl([].concat(a,o))}function ck(e){var t,r=sk(e),n=ok(r),i=lk(r),a=uk({tokens:n,semanticTokens:i}),o=(t=r.config)==null?void 0:t.cssVarPrefix,l=rk(a,{cssVarPrefix:o}),s=l.cssMap,u=l.cssVars,c={"--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"};return Object.assign(r,{__cssVars:To({},c,u),__cssMap:s,__breakpoints:cC(r.breakpoints)}),r}var fk=typeof Element!="undefined",dk=typeof Map=="function",pk=typeof Set=="function",vk=typeof ArrayBuffer=="function"&&!!ArrayBuffer.isView;function lu(e,t){if(e===t)return!0;if(e&&t&&typeof e=="object"&&typeof t=="object"){if(e.constructor!==t.constructor)return!1;var r,n,i;if(Array.isArray(e)){if(r=e.length,r!=t.length)return!1;for(n=r;n--!==0;)if(!lu(e[n],t[n]))return!1;return!0}var a;if(dk&&e instanceof Map&&t instanceof Map){if(e.size!==t.size)return!1;for(a=e.entries();!(n=a.next()).done;)if(!t.has(n.value[0]))return!1;for(a=e.entries();!(n=a.next()).done;)if(!lu(n.value[1],t.get(n.value[0])))return!1;return!0}if(pk&&e instanceof Set&&t instanceof Set){if(e.size!==t.size)return!1;for(a=e.entries();!(n=a.next()).done;)if(!t.has(n.value[0]))return!1;return!0}if(vk&&ArrayBuffer.isView(e)&&ArrayBuffer.isView(t)){if(r=e.length,r!=t.length)return!1;for(n=r;n--!==0;)if(e[n]!==t[n])return!1;return!0}if(e.constructor===RegExp)return e.source===t.source&&e.flags===t.flags;if(e.valueOf!==Object.prototype.valueOf)return e.valueOf()===t.valueOf();if(e.toString!==Object.prototype.toString)return e.toString()===t.toString();if(i=Object.keys(e),r=i.length,r!==Object.keys(t).length)return!1;for(n=r;n--!==0;)if(!Object.prototype.hasOwnProperty.call(t,i[n]))return!1;if(fk&&e instanceof Element)return!1;for(n=r;n--!==0;)if(!((i[n]==="_owner"||i[n]==="__v"||i[n]==="__o")&&e.$$typeof)&&!lu(e[i[n]],t[i[n]]))return!1;return!0}return e!==e&&t!==t}var hk=function(t,r){try{return lu(t,r)}catch(n){if((n.message||"").match(/stack|recursion/i))return console.warn("react-fast-compare cannot handle circular refs"),!1;throw n}},mk=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|download|draggable|encType|enterKeyHint|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,gk=Em(function(e){return mk.test(e)||e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)<91}),yk=gk,bk=function(t){return t!=="theme"},T1=function(t){return typeof t=="string"&&t.charCodeAt(0)>96?yk:bk},P1=function(t,r,n){var i;if(r){var a=r.shouldForwardProp;i=t.__emotion_forwardProp&&a?function(o){return t.__emotion_forwardProp(o)&&a(o)}:a}return typeof i!="function"&&n&&(i=t.__emotion_forwardProp),i},xk=S["useInsertionEffect"]?S["useInsertionEffect"]:function(t){t()};function Sk(e){xk(e)}var wk=function(t){var r=t.cache,n=t.serialized,i=t.isStringTag;return Fm(r,n,i),Sk(function(){return Rm(r,n,i)}),null},Ck=function e(t,r){var n=t.__emotion_real===t,i=n&&t.__emotion_base||t,a,o;r!==void 0&&(a=r.label,o=r.target);var l=P1(t,r,n),s=l||T1(i),u=!s("as");return function(){var c=arguments,d=n&&t.__emotion_styles!==void 0?t.__emotion_styles.slice(0):[];if(a!==void 0&&d.push("label:"+a+";"),c[0]==null||c[0].raw===void 0)d.push.apply(d,c);else{d.push(c[0][0]);for(var f=c.length,p=1;p<f;p++)d.push(c[p],c[0][p])}var h=zm(function(g,v,m){var y=u&&g.as||i,b="",x=[],E=g;if(g.theme==null){E={};for(var k in g)E[k]=g[k];E.theme=F.useContext(ka)}typeof g.className=="string"?b=W5(v.registered,x,g.className):g.className!=null&&(b=g.className+" ");var T=jc(d.concat(x),v.registered,E);b+=v.key+"-"+T.name,o!==void 0&&(b+=" "+o);var A=u&&l===void 0?T1(y):s,O={};for(var B in g)u&&B==="as"||A(B)&&(O[B]=g[B]);return O.className=b,O.ref=m,F.createElement(F.Fragment,null,F.createElement(wk,{cache:v,serialized:T,isStringTag:typeof y=="string"}),F.createElement(y,O))});return h.displayName=a!==void 0?a:"Styled("+(typeof i=="string"?i:i.displayName||i.name||"Component")+")",h.defaultProps=t.defaultProps,h.__emotion_real=h,h.__emotion_base=i,h.__emotion_styles=d,h.__emotion_forwardProp=l,Object.defineProperty(h,"toString",{value:function(){return"."+o}}),h.withComponent=function(g,v){return e(g,Pn({},r,v,{shouldForwardProp:P1(h,v,!0)})).apply(void 0,d)},h}},Ek=["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"],fp=Ck.bind();Ek.forEach(function(e){fp[e]=fp(e)});function dp(){return dp=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},dp.apply(this,arguments)}var kk=function(t){var r=t.cssVarsRoot,n=t.theme,i=t.children,a=S.useMemo(function(){return ck(n)},[n]);return S.createElement(q5,{theme:a},S.createElement(Tk,{root:r}),i)},Tk=function(t){var r=t.root,n=r===void 0?":host, :root":r,i=[n,"[data-theme]"].join(",");return S.createElement(Wc,{styles:function(o){var l;return l={},l[i]=o.__cssVars,l}})};function _1(){var e=S.useContext(ka);if(!e)throw Error("useTheme: `theme` is undefined. Seems you forgot to wrap your app in `<ChakraProvider />` or `<ThemeProvider />`");return e}var O1=On({name:"StylesContext",errorMessage:"useStyles: `styles` is undefined. Seems you forgot to wrap the components in `<StylesProvider />` "}),Pk=O1[0],Un=O1[1],_k=function(){var t=c1(),r=t.colorMode;return S.createElement(Wc,{styles:function(i){var a=Ul(i,"styles.global"),o=At(a,{theme:i,colorMode:r});if(!!o){var l=y1(o)(i);return l}}})};function sn(e){return Hl(e,["styleConfig","size","variant","colorScheme"])}function Ok(){var e=c1(),t=_1();return dp({},e,{theme:t})}function pp(e,t){if(e==null)return{};var r={},n=Object.keys(e),i,a;for(a=0;a<n.length;a++)i=n[a],!(t.indexOf(i)>=0)&&(r[i]=e[i]);return r}var Ak=new Set([].concat(HE,["textStyle","layerStyle","apply","isTruncated","noOfLines","focusBorderColor","errorBorderColor","as","__css","css","sx"])),Mk=new Set(["htmlWidth","htmlHeight","htmlSize"]),Fk=function(t){return Mk.has(t)||!Ak.has(t)},Rk=["theme","css","__css","sx"],Ik=["baseStyle"],Lk=function(t){var r=t.baseStyle;return function(n){n.theme;var i=n.css,a=n.__css,o=n.sx,l=pp(n,Rk),s=Wm(l,function(f,p){return GE(p)}),u=At(r,n),c=Object.assign({},a,u,Gc(s),o),d=y1(c)(n.theme);return i?[d,i]:d}};function vp(e,t){var r=t!=null?t:{},n=r.baseStyle,i=pp(r,Ik);i.shouldForwardProp||(i.shouldForwardProp=Fk);var a=Lk({baseStyle:n});return fp(e,i)(a)}function Ae(e){return S.forwardRef(e)}var Bk=["styleConfig"];function un(e,t,r){var n;t===void 0&&(t={}),r===void 0&&(r={});var i=t,a=i.styleConfig,o=pp(i,Bk),l=Ok(),s=l.theme,u=l.colorMode,c=Ul(s,"components."+e),d=a||c,f=Ot({theme:s,colorMode:u},(n=d==null?void 0:d.defaultProps)!=null?n:{},Gc(Hl(o,["children"]))),p=F.useRef({});if(d){var h,g,v,m,y,b,x=At((h=d.baseStyle)!=null?h:{},f),E=At((g=(v=d.variants)==null?void 0:v[f.variant])!=null?g:{},f),k=At((m=(y=d.sizes)==null?void 0:y[f.size])!=null?m:{},f),T=Ot({},x,k,E);(b=r)!=null&&b.isMultiPart&&d.parts&&d.parts.forEach(function(O){var B;T[O]=(B=T[O])!=null?B:{}});var A=hk(p.current,T);A||(p.current=T)}return p.current}function A1(e,t){return un(e,t,{isMultiPart:!0})}function $k(){var e=new Map;return new Proxy(vp,{apply:function(r,n,i){return vp.apply(void 0,i)},get:function(r,n){return e.has(n)||e.set(n,vp(n)),e.get(n)}})}var te=$k(),Dk=function(t){var r=t.children,n=t.colorModeManager,i=t.portalZIndex,a=t.resetCSS,o=a===void 0?!0:a,l=t.theme,s=l===void 0?{}:l,u=t.environment,c=t.cssVarsRoot,d=S.createElement(rE,{environment:u},r);return S.createElement(RC,null,S.createElement(kk,{theme:s,cssVarsRoot:c},S.createElement(cE,{colorModeManager:n,options:s.config},o&&S.createElement(eC,null),S.createElement(_k,null),i?S.createElement(N3,{zIndex:i},d):d)))},M1={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"};function De(){return De=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},De.apply(this,arguments)}var zk={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"},Nk={sm:"640px",md:"768px",lg:"1024px",xl:"1280px"},F1=De({},M1,zk,{container:Nk});function Qe(e,t){Vk(e)&&(e="100%");var r=jk(e);return e=t===360?e:Math.min(t,Math.max(0,parseFloat(e))),r&&(e=parseInt(String(e*t),10)/100),Math.abs(e-t)<1e-6?1:(t===360?e=(e<0?e%t+t:e%t)/parseFloat(String(t)):e=e%t/parseFloat(String(t)),e)}function su(e){return Math.min(1,Math.max(0,e))}function Vk(e){return typeof e=="string"&&e.indexOf(".")!==-1&&parseFloat(e)===1}function jk(e){return typeof e=="string"&&e.indexOf("%")!==-1}function R1(e){return e=parseFloat(e),(isNaN(e)||e<0||e>1)&&(e=1),e}function uu(e){return e<=1?"".concat(Number(e)*100,"%"):e}function Gn(e){return e.length===1?"0"+e:String(e)}function Wk(e,t,r){return{r:Qe(e,255)*255,g:Qe(t,255)*255,b:Qe(r,255)*255}}function I1(e,t,r){e=Qe(e,255),t=Qe(t,255),r=Qe(r,255);var n=Math.max(e,t,r),i=Math.min(e,t,r),a=0,o=0,l=(n+i)/2;if(n===i)o=0,a=0;else{var s=n-i;switch(o=l>.5?s/(2-n-i):s/(n+i),n){case e:a=(t-r)/s+(t<r?6:0);break;case t:a=(r-e)/s+2;break;case r:a=(e-t)/s+4;break}a/=6}return{h:a,s:o,l}}function hp(e,t,r){return r<0&&(r+=1),r>1&&(r-=1),r<1/6?e+(t-e)*(6*r):r<1/2?t:r<2/3?e+(t-e)*(2/3-r)*6:e}function Hk(e,t,r){var n,i,a;if(e=Qe(e,360),t=Qe(t,100),r=Qe(r,100),t===0)i=r,a=r,n=r;else{var o=r<.5?r*(1+t):r+t-r*t,l=2*r-o;n=hp(l,o,e+1/3),i=hp(l,o,e),a=hp(l,o,e-1/3)}return{r:n*255,g:i*255,b:a*255}}function L1(e,t,r){e=Qe(e,255),t=Qe(t,255),r=Qe(r,255);var n=Math.max(e,t,r),i=Math.min(e,t,r),a=0,o=n,l=n-i,s=n===0?0:l/n;if(n===i)a=0;else{switch(n){case e:a=(t-r)/l+(t<r?6:0);break;case t:a=(r-e)/l+2;break;case r:a=(e-t)/l+4;break}a/=6}return{h:a,s,v:o}}function Uk(e,t,r){e=Qe(e,360)*6,t=Qe(t,100),r=Qe(r,100);var n=Math.floor(e),i=e-n,a=r*(1-t),o=r*(1-i*t),l=r*(1-(1-i)*t),s=n%6,u=[r,o,a,a,l,r][s],c=[l,r,r,o,a,a][s],d=[a,a,l,r,r,o][s];return{r:u*255,g:c*255,b:d*255}}function B1(e,t,r,n){var i=[Gn(Math.round(e).toString(16)),Gn(Math.round(t).toString(16)),Gn(Math.round(r).toString(16))];return n&&i[0].startsWith(i[0].charAt(1))&&i[1].startsWith(i[1].charAt(1))&&i[2].startsWith(i[2].charAt(1))?i[0].charAt(0)+i[1].charAt(0)+i[2].charAt(0):i.join("")}function Gk(e,t,r,n,i){var a=[Gn(Math.round(e).toString(16)),Gn(Math.round(t).toString(16)),Gn(Math.round(r).toString(16)),Gn(Yk(n))];return i&&a[0].startsWith(a[0].charAt(1))&&a[1].startsWith(a[1].charAt(1))&&a[2].startsWith(a[2].charAt(1))&&a[3].startsWith(a[3].charAt(1))?a[0].charAt(0)+a[1].charAt(0)+a[2].charAt(0)+a[3].charAt(0):a.join("")}function Yk(e){return Math.round(parseFloat(e)*255).toString(16)}function $1(e){return Et(e)/255}function Et(e){return parseInt(e,16)}function Xk(e){return{r:e>>16,g:(e&65280)>>8,b:e&255}}var mp={aliceblue:"#f0f8ff",antiquewhite:"#faebd7",aqua:"#00ffff",aquamarine:"#7fffd4",azure:"#f0ffff",beige:"#f5f5dc",bisque:"#ffe4c4",black:"#000000",blanchedalmond:"#ffebcd",blue:"#0000ff",blueviolet:"#8a2be2",brown:"#a52a2a",burlywood:"#deb887",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",cornflowerblue:"#6495ed",cornsilk:"#fff8dc",crimson:"#dc143c",cyan:"#00ffff",darkblue:"#00008b",darkcyan:"#008b8b",darkgoldenrod:"#b8860b",darkgray:"#a9a9a9",darkgreen:"#006400",darkgrey:"#a9a9a9",darkkhaki:"#bdb76b",darkmagenta:"#8b008b",darkolivegreen:"#556b2f",darkorange:"#ff8c00",darkorchid:"#9932cc",darkred:"#8b0000",darksalmon:"#e9967a",darkseagreen:"#8fbc8f",darkslateblue:"#483d8b",darkslategray:"#2f4f4f",darkslategrey:"#2f4f4f",darkturquoise:"#00ced1",darkviolet:"#9400d3",deeppink:"#ff1493",deepskyblue:"#00bfff",dimgray:"#696969",dimgrey:"#696969",dodgerblue:"#1e90ff",firebrick:"#b22222",floralwhite:"#fffaf0",forestgreen:"#228b22",fuchsia:"#ff00ff",gainsboro:"#dcdcdc",ghostwhite:"#f8f8ff",goldenrod:"#daa520",gold:"#ffd700",gray:"#808080",green:"#008000",greenyellow:"#adff2f",grey:"#808080",honeydew:"#f0fff0",hotpink:"#ff69b4",indianred:"#cd5c5c",indigo:"#4b0082",ivory:"#fffff0",khaki:"#f0e68c",lavenderblush:"#fff0f5",lavender:"#e6e6fa",lawngreen:"#7cfc00",lemonchiffon:"#fffacd",lightblue:"#add8e6",lightcoral:"#f08080",lightcyan:"#e0ffff",lightgoldenrodyellow:"#fafad2",lightgray:"#d3d3d3",lightgreen:"#90ee90",lightgrey:"#d3d3d3",lightpink:"#ffb6c1",lightsalmon:"#ffa07a",lightseagreen:"#20b2aa",lightskyblue:"#87cefa",lightslategray:"#778899",lightslategrey:"#778899",lightsteelblue:"#b0c4de",lightyellow:"#ffffe0",lime:"#00ff00",limegreen:"#32cd32",linen:"#faf0e6",magenta:"#ff00ff",maroon:"#800000",mediumaquamarine:"#66cdaa",mediumblue:"#0000cd",mediumorchid:"#ba55d3",mediumpurple:"#9370db",mediumseagreen:"#3cb371",mediumslateblue:"#7b68ee",mediumspringgreen:"#00fa9a",mediumturquoise:"#48d1cc",mediumvioletred:"#c71585",midnightblue:"#191970",mintcream:"#f5fffa",mistyrose:"#ffe4e1",moccasin:"#ffe4b5",navajowhite:"#ffdead",navy:"#000080",oldlace:"#fdf5e6",olive:"#808000",olivedrab:"#6b8e23",orange:"#ffa500",orangered:"#ff4500",orchid:"#da70d6",palegoldenrod:"#eee8aa",palegreen:"#98fb98",paleturquoise:"#afeeee",palevioletred:"#db7093",papayawhip:"#ffefd5",peachpuff:"#ffdab9",peru:"#cd853f",pink:"#ffc0cb",plum:"#dda0dd",powderblue:"#b0e0e6",purple:"#800080",rebeccapurple:"#663399",red:"#ff0000",rosybrown:"#bc8f8f",royalblue:"#4169e1",saddlebrown:"#8b4513",salmon:"#fa8072",sandybrown:"#f4a460",seagreen:"#2e8b57",seashell:"#fff5ee",sienna:"#a0522d",silver:"#c0c0c0",skyblue:"#87ceeb",slateblue:"#6a5acd",slategray:"#708090",slategrey:"#708090",snow:"#fffafa",springgreen:"#00ff7f",steelblue:"#4682b4",tan:"#d2b48c",teal:"#008080",thistle:"#d8bfd8",tomato:"#ff6347",turquoise:"#40e0d0",violet:"#ee82ee",wheat:"#f5deb3",white:"#ffffff",whitesmoke:"#f5f5f5",yellow:"#ffff00",yellowgreen:"#9acd32"};function Zk(e){var t={r:0,g:0,b:0},r=1,n=null,i=null,a=null,o=!1,l=!1;return typeof e=="string"&&(e=Qk(e)),typeof e=="object"&&(Tr(e.r)&&Tr(e.g)&&Tr(e.b)?(t=Wk(e.r,e.g,e.b),o=!0,l=String(e.r).substr(-1)==="%"?"prgb":"rgb"):Tr(e.h)&&Tr(e.s)&&Tr(e.v)?(n=uu(e.s),i=uu(e.v),t=Uk(e.h,n,i),o=!0,l="hsv"):Tr(e.h)&&Tr(e.s)&&Tr(e.l)&&(n=uu(e.s),a=uu(e.l),t=Hk(e.h,n,a),o=!0,l="hsl"),Object.prototype.hasOwnProperty.call(e,"a")&&(r=e.a)),r=R1(r),{ok:o,format:e.format||l,r:Math.min(255,Math.max(t.r,0)),g:Math.min(255,Math.max(t.g,0)),b:Math.min(255,Math.max(t.b,0)),a:r}}var Kk="[-\\+]?\\d+%?",qk="[-\\+]?\\d*\\.\\d+%?",cn="(?:".concat(qk,")|(?:").concat(Kk,")"),gp="[\\s|\\(]+(".concat(cn,")[,|\\s]+(").concat(cn,")[,|\\s]+(").concat(cn,")\\s*\\)?"),yp="[\\s|\\(]+(".concat(cn,")[,|\\s]+(").concat(cn,")[,|\\s]+(").concat(cn,")[,|\\s]+(").concat(cn,")\\s*\\)?"),Kt={CSS_UNIT:new RegExp(cn),rgb:new RegExp("rgb"+gp),rgba:new RegExp("rgba"+yp),hsl:new RegExp("hsl"+gp),hsla:new RegExp("hsla"+yp),hsv:new RegExp("hsv"+gp),hsva:new RegExp("hsva"+yp),hex3:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,hex4:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex8:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/};function Qk(e){if(e=e.trim().toLowerCase(),e.length===0)return!1;var t=!1;if(mp[e])e=mp[e],t=!0;else if(e==="transparent")return{r:0,g:0,b:0,a:0,format:"name"};var r=Kt.rgb.exec(e);return r?{r:r[1],g:r[2],b:r[3]}:(r=Kt.rgba.exec(e),r?{r:r[1],g:r[2],b:r[3],a:r[4]}:(r=Kt.hsl.exec(e),r?{h:r[1],s:r[2],l:r[3]}:(r=Kt.hsla.exec(e),r?{h:r[1],s:r[2],l:r[3],a:r[4]}:(r=Kt.hsv.exec(e),r?{h:r[1],s:r[2],v:r[3]}:(r=Kt.hsva.exec(e),r?{h:r[1],s:r[2],v:r[3],a:r[4]}:(r=Kt.hex8.exec(e),r?{r:Et(r[1]),g:Et(r[2]),b:Et(r[3]),a:$1(r[4]),format:t?"name":"hex8"}:(r=Kt.hex6.exec(e),r?{r:Et(r[1]),g:Et(r[2]),b:Et(r[3]),format:t?"name":"hex"}:(r=Kt.hex4.exec(e),r?{r:Et(r[1]+r[1]),g:Et(r[2]+r[2]),b:Et(r[3]+r[3]),a:$1(r[4]+r[4]),format:t?"name":"hex8"}:(r=Kt.hex3.exec(e),r?{r:Et(r[1]+r[1]),g:Et(r[2]+r[2]),b:Et(r[3]+r[3]),format:t?"name":"hex"}:!1)))))))))}function Tr(e){return Boolean(Kt.CSS_UNIT.exec(String(e)))}var Ao=function(){function e(t,r){t===void 0&&(t=""),r===void 0&&(r={});var n;if(t instanceof e)return t;typeof t=="number"&&(t=Xk(t)),this.originalInput=t;var i=Zk(t);this.originalInput=t,this.r=i.r,this.g=i.g,this.b=i.b,this.a=i.a,this.roundA=Math.round(100*this.a)/100,this.format=(n=r.format)!==null&&n!==void 0?n:i.format,this.gradientType=r.gradientType,this.r<1&&(this.r=Math.round(this.r)),this.g<1&&(this.g=Math.round(this.g)),this.b<1&&(this.b=Math.round(this.b)),this.isValid=i.ok}return e.prototype.isDark=function(){return this.getBrightness()<128},e.prototype.isLight=function(){return!this.isDark()},e.prototype.getBrightness=function(){var t=this.toRgb();return(t.r*299+t.g*587+t.b*114)/1e3},e.prototype.getLuminance=function(){var t=this.toRgb(),r,n,i,a=t.r/255,o=t.g/255,l=t.b/255;return a<=.03928?r=a/12.92:r=Math.pow((a+.055)/1.055,2.4),o<=.03928?n=o/12.92:n=Math.pow((o+.055)/1.055,2.4),l<=.03928?i=l/12.92:i=Math.pow((l+.055)/1.055,2.4),.2126*r+.7152*n+.0722*i},e.prototype.getAlpha=function(){return this.a},e.prototype.setAlpha=function(t){return this.a=R1(t),this.roundA=Math.round(100*this.a)/100,this},e.prototype.isMonochrome=function(){var t=this.toHsl().s;return t===0},e.prototype.toHsv=function(){var t=L1(this.r,this.g,this.b);return{h:t.h*360,s:t.s,v:t.v,a:this.a}},e.prototype.toHsvString=function(){var t=L1(this.r,this.g,this.b),r=Math.round(t.h*360),n=Math.round(t.s*100),i=Math.round(t.v*100);return this.a===1?"hsv(".concat(r,", ").concat(n,"%, ").concat(i,"%)"):"hsva(".concat(r,", ").concat(n,"%, ").concat(i,"%, ").concat(this.roundA,")")},e.prototype.toHsl=function(){var t=I1(this.r,this.g,this.b);return{h:t.h*360,s:t.s,l:t.l,a:this.a}},e.prototype.toHslString=function(){var t=I1(this.r,this.g,this.b),r=Math.round(t.h*360),n=Math.round(t.s*100),i=Math.round(t.l*100);return this.a===1?"hsl(".concat(r,", ").concat(n,"%, ").concat(i,"%)"):"hsla(".concat(r,", ").concat(n,"%, ").concat(i,"%, ").concat(this.roundA,")")},e.prototype.toHex=function(t){return t===void 0&&(t=!1),B1(this.r,this.g,this.b,t)},e.prototype.toHexString=function(t){return t===void 0&&(t=!1),"#"+this.toHex(t)},e.prototype.toHex8=function(t){return t===void 0&&(t=!1),Gk(this.r,this.g,this.b,this.a,t)},e.prototype.toHex8String=function(t){return t===void 0&&(t=!1),"#"+this.toHex8(t)},e.prototype.toHexShortString=function(t){return t===void 0&&(t=!1),this.a===1?this.toHexString(t):this.toHex8String(t)},e.prototype.toRgb=function(){return{r:Math.round(this.r),g:Math.round(this.g),b:Math.round(this.b),a:this.a}},e.prototype.toRgbString=function(){var t=Math.round(this.r),r=Math.round(this.g),n=Math.round(this.b);return this.a===1?"rgb(".concat(t,", ").concat(r,", ").concat(n,")"):"rgba(".concat(t,", ").concat(r,", ").concat(n,", ").concat(this.roundA,")")},e.prototype.toPercentageRgb=function(){var t=function(r){return"".concat(Math.round(Qe(r,255)*100),"%")};return{r:t(this.r),g:t(this.g),b:t(this.b),a:this.a}},e.prototype.toPercentageRgbString=function(){var t=function(r){return Math.round(Qe(r,255)*100)};return this.a===1?"rgb(".concat(t(this.r),"%, ").concat(t(this.g),"%, ").concat(t(this.b),"%)"):"rgba(".concat(t(this.r),"%, ").concat(t(this.g),"%, ").concat(t(this.b),"%, ").concat(this.roundA,")")},e.prototype.toName=function(){if(this.a===0)return"transparent";if(this.a<1)return!1;for(var t="#"+B1(this.r,this.g,this.b,!1),r=0,n=Object.entries(mp);r<n.length;r++){var i=n[r],a=i[0],o=i[1];if(t===o)return a}return!1},e.prototype.toString=function(t){var r=Boolean(t);t=t!=null?t:this.format;var n=!1,i=this.a<1&&this.a>=0,a=!r&&i&&(t.startsWith("hex")||t==="name");return a?t==="name"&&this.a===0?this.toName():this.toRgbString():(t==="rgb"&&(n=this.toRgbString()),t==="prgb"&&(n=this.toPercentageRgbString()),(t==="hex"||t==="hex6")&&(n=this.toHexString()),t==="hex3"&&(n=this.toHexString(!0)),t==="hex4"&&(n=this.toHex8String(!0)),t==="hex8"&&(n=this.toHex8String()),t==="name"&&(n=this.toName()),t==="hsl"&&(n=this.toHslString()),t==="hsv"&&(n=this.toHsvString()),n||this.toHexString())},e.prototype.toNumber=function(){return(Math.round(this.r)<<16)+(Math.round(this.g)<<8)+Math.round(this.b)},e.prototype.clone=function(){return new e(this.toString())},e.prototype.lighten=function(t){t===void 0&&(t=10);var r=this.toHsl();return r.l+=t/100,r.l=su(r.l),new e(r)},e.prototype.brighten=function(t){t===void 0&&(t=10);var r=this.toRgb();return r.r=Math.max(0,Math.min(255,r.r-Math.round(255*-(t/100)))),r.g=Math.max(0,Math.min(255,r.g-Math.round(255*-(t/100)))),r.b=Math.max(0,Math.min(255,r.b-Math.round(255*-(t/100)))),new e(r)},e.prototype.darken=function(t){t===void 0&&(t=10);var r=this.toHsl();return r.l-=t/100,r.l=su(r.l),new e(r)},e.prototype.tint=function(t){return t===void 0&&(t=10),this.mix("white",t)},e.prototype.shade=function(t){return t===void 0&&(t=10),this.mix("black",t)},e.prototype.desaturate=function(t){t===void 0&&(t=10);var r=this.toHsl();return r.s-=t/100,r.s=su(r.s),new e(r)},e.prototype.saturate=function(t){t===void 0&&(t=10);var r=this.toHsl();return r.s+=t/100,r.s=su(r.s),new e(r)},e.prototype.greyscale=function(){return this.desaturate(100)},e.prototype.spin=function(t){var r=this.toHsl(),n=(r.h+t)%360;return r.h=n<0?360+n:n,new e(r)},e.prototype.mix=function(t,r){r===void 0&&(r=50);var n=this.toRgb(),i=new e(t).toRgb(),a=r/100,o={r:(i.r-n.r)*a+n.r,g:(i.g-n.g)*a+n.g,b:(i.b-n.b)*a+n.b,a:(i.a-n.a)*a+n.a};return new e(o)},e.prototype.analogous=function(t,r){t===void 0&&(t=6),r===void 0&&(r=30);var n=this.toHsl(),i=360/r,a=[this];for(n.h=(n.h-(i*t>>1)+720)%360;--t;)n.h=(n.h+i)%360,a.push(new e(n));return a},e.prototype.complement=function(){var t=this.toHsl();return t.h=(t.h+180)%360,new e(t)},e.prototype.monochromatic=function(t){t===void 0&&(t=6);for(var r=this.toHsv(),n=r.h,i=r.s,a=r.v,o=[],l=1/t;t--;)o.push(new e({h:n,s:i,v:a})),a=(a+l)%1;return o},e.prototype.splitcomplement=function(){var t=this.toHsl(),r=t.h;return[this,new e({h:(r+72)%360,s:t.s,l:t.l}),new e({h:(r+216)%360,s:t.s,l:t.l})]},e.prototype.onBackground=function(t){var r=this.toRgb(),n=new e(t).toRgb(),i=r.a+n.a*(1-r.a);return new e({r:(r.r*r.a+n.r*n.a*(1-r.a))/i,g:(r.g*r.a+n.g*n.a*(1-r.a))/i,b:(r.b*r.a+n.b*n.a*(1-r.a))/i,a:i})},e.prototype.triad=function(){return this.polyad(3)},e.prototype.tetrad=function(){return this.polyad(4)},e.prototype.polyad=function(t){for(var r=this.toHsl(),n=r.h,i=[this],a=360/t,o=1;o<t;o++)i.push(new e({h:(n+o*a)%360,s:r.s,l:r.l}));return i},e.prototype.equals=function(t){return this.toRgbString()===new e(t).toRgbString()},e}();function D1(e){if(e===void 0&&(e={}),e.count!==void 0&&e.count!==null){var t=e.count,r=[];for(e.count=void 0;t>r.length;)e.count=null,e.seed&&(e.seed+=1),r.push(D1(e));return e.count=t,r}var n=Jk(e.hue,e.seed),i=e6(n,e),a=t6(n,i,e),o={h:n,s:i,v:a};return e.alpha!==void 0&&(o.a=e.alpha),new Ao(o)}function Jk(e,t){var r=n6(e),n=cu(r,t);return n<0&&(n=360+n),n}function e6(e,t){if(t.hue==="monochrome")return 0;if(t.luminosity==="random")return cu([0,100],t.seed);var r=z1(e).saturationRange,n=r[0],i=r[1];switch(t.luminosity){case"bright":n=55;break;case"dark":n=i-10;break;case"light":i=55;break}return cu([n,i],t.seed)}function t6(e,t,r){var n=r6(e,t),i=100;switch(r.luminosity){case"dark":i=n+20;break;case"light":n=(i+n)/2;break;case"random":n=0,i=100;break}return cu([n,i],r.seed)}function r6(e,t){for(var r=z1(e).lowerBounds,n=0;n<r.length-1;n++){var i=r[n][0],a=r[n][1],o=r[n+1][0],l=r[n+1][1];if(t>=i&&t<=o){var s=(l-a)/(o-i),u=a-s*i;return s*t+u}}return 0}function n6(e){var t=parseInt(e,10);if(!Number.isNaN(t)&&t<360&&t>0)return[t,t];if(typeof e=="string"){var r=V1.find(function(o){return o.name===e});if(r){var n=N1(r);if(n.hueRange)return n.hueRange}var i=new Ao(e);if(i.isValid){var a=i.toHsv().h;return[a,a]}}return[0,360]}function z1(e){e>=334&&e<=360&&(e-=360);for(var t=0,r=V1;t<r.length;t++){var n=r[t],i=N1(n);if(i.hueRange&&e>=i.hueRange[0]&&e<=i.hueRange[1])return i}throw Error("Color not found")}function cu(e,t){if(t===void 0)return Math.floor(e[0]+Math.random()*(e[1]+1-e[0]));var r=e[1]||1,n=e[0]||0;t=(t*9301+49297)%233280;var i=t/233280;return Math.floor(n+i*(r-n))}function N1(e){var t=e.lowerBounds[0][0],r=e.lowerBounds[e.lowerBounds.length-1][0],n=e.lowerBounds[e.lowerBounds.length-1][1],i=e.lowerBounds[0][1];return{name:e.name,hueRange:e.hueRange,lowerBounds:e.lowerBounds,saturationRange:[t,r],brightnessRange:[n,i]}}var V1=[{name:"monochrome",hueRange:null,lowerBounds:[[0,0],[100,0]]},{name:"red",hueRange:[-26,18],lowerBounds:[[20,100],[30,92],[40,89],[50,85],[60,78],[70,70],[80,60],[90,55],[100,50]]},{name:"orange",hueRange:[19,46],lowerBounds:[[20,100],[30,93],[40,88],[50,86],[60,85],[70,70],[100,70]]},{name:"yellow",hueRange:[47,62],lowerBounds:[[25,100],[40,94],[50,89],[60,86],[70,84],[80,82],[90,80],[100,75]]},{name:"green",hueRange:[63,178],lowerBounds:[[30,100],[40,90],[50,85],[60,81],[70,74],[80,64],[90,50],[100,40]]},{name:"blue",hueRange:[179,257],lowerBounds:[[20,100],[30,86],[40,80],[50,74],[60,60],[70,52],[80,44],[90,39],[100,35]]},{name:"purple",hueRange:[258,282],lowerBounds:[[20,100],[30,87],[40,79],[50,70],[60,65],[70,59],[80,52],[90,45],[100,42]]},{name:"pink",hueRange:[283,334],lowerBounds:[[20,100],[30,90],[40,86],[60,84],[80,80],[90,75],[100,73]]}],je=function(t,r,n){var i=Ul(t,"colors."+r,r),a=new Ao(i),o=a.isValid;return o?i:n},i6=function(t){return function(r){var n=je(r,t),i=new Ao(n).isDark();return i?"dark":"light"}},a6=function(t){return function(r){return i6(t)(r)==="dark"}},Ui=function(t,r){return function(n){var i=je(n,t);return new Ao(i).setAlpha(r).toRgbString()}};function j1(e,t){return e===void 0&&(e="1rem"),t===void 0&&(t="rgba(255, 255, 255, 0.15)"),{backgroundImage:`linear-gradient(
90
+ */var l_;function b8(){return l_||(l_=1,process.env.NODE_ENV!=="production"&&function(){typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(new Error);var t=U,r=o_(),i=t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,l=!1;function f(e){l=e}function h(e){if(!l){for(var n=arguments.length,s=new Array(n>1?n-1:0),u=1;u<n;u++)s[u-1]=arguments[u];g("warn",e,s)}}function p(e){if(!l){for(var n=arguments.length,s=new Array(n>1?n-1:0),u=1;u<n;u++)s[u-1]=arguments[u];g("error",e,s)}}function g(e,n,s){{var u=i.ReactDebugCurrentFrame,d=u.getStackAddendum();d!==""&&(n+="%s",s=s.concat([d]));var m=s.map(function(x){return String(x)});m.unshift("Warning: "+n),Function.prototype.apply.call(console[e],console,m)}}var y=0,S=1,C=2,E=3,k=4,R=5,A=6,P=7,j=8,q=9,F=10,$=11,Q=12,V=13,le=14,J=15,me=16,ve=17,ye=18,De=19,pt=21,Oe=22,Pe=23,at=24,Ue=25,st=!0,be=!1,Le=!1,K=!1,se=!1,_e=!0,Ee=!1,Fe=!1,Ie=!0,Ae=!0,Xe=!0,$e=new Set,Je={},tt={};function yt(e,n){he(e,n),he(e+"Capture",n)}function he(e,n){Je[e]&&p("EventRegistry: More than one plugin attempted to publish the same registration name, `%s`.",e),Je[e]=n;{var s=e.toLowerCase();tt[s]=e,e==="onDoubleClick"&&(tt.ondblclick=e)}for(var u=0;u<n.length;u++)$e.add(n[u])}var wt=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",mn=Object.prototype.hasOwnProperty;function Cn(e){{var n=typeof Symbol=="function"&&Symbol.toStringTag,s=n&&e[Symbol.toStringTag]||e.constructor.name||"Object";return s}}function er(e){try{return tr(e),!1}catch{return!0}}function tr(e){return""+e}function Zr(e,n){if(er(e))return p("The provided `%s` attribute is an unsupported type %s. This value must be coerced to a string before before using it here.",n,Cn(e)),tr(e)}function ha(e){if(er(e))return p("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",Cn(e)),tr(e)}function Xn(e,n){if(er(e))return p("The provided `%s` prop is an unsupported type %s. This value must be coerced to a string before before using it here.",n,Cn(e)),tr(e)}function vr(e,n){if(er(e))return p("The provided `%s` CSS property is an unsupported type %s. This value must be coerced to a string before before using it here.",n,Cn(e)),tr(e)}function mr(e){if(er(e))return p("The provided HTML markup uses a value of unsupported type %s. This value must be coerced to a string before before using it here.",Cn(e)),tr(e)}function wn(e){if(er(e))return p("Form field values (value, checked, defaultValue, or defaultChecked props) must be strings, not %s. This value must be coerced to a string before before using it here.",Cn(e)),tr(e)}var Nr=0,gr=1,Jr=2,Dn=3,nr=4,Ui=5,Oa=6,Me=":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",it=Me+"\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040",At=new RegExp("^["+Me+"]["+it+"]*$"),Xt={},On={};function En(e){return mn.call(On,e)?!0:mn.call(Xt,e)?!1:At.test(e)?(On[e]=!0,!0):(Xt[e]=!0,p("Invalid attribute name: `%s`",e),!1)}function Tn(e,n,s){return n!==null?n.type===Nr:s?!1:e.length>2&&(e[0]==="o"||e[0]==="O")&&(e[1]==="n"||e[1]==="N")}function ea(e,n,s,u){if(s!==null&&s.type===Nr)return!1;switch(typeof n){case"function":case"symbol":return!0;case"boolean":{if(u)return!1;if(s!==null)return!s.acceptsBooleans;var d=e.toLowerCase().slice(0,5);return d!=="data-"&&d!=="aria-"}default:return!1}}function cn(e,n,s,u){if(n===null||typeof n>"u"||ea(e,n,s,u))return!0;if(u)return!1;if(s!==null)switch(s.type){case Dn:return!n;case nr:return n===!1;case Ui:return isNaN(n);case Oa:return isNaN(n)||n<1}return!1}function va(e){return Yt.hasOwnProperty(e)?Yt[e]:null}function tn(e,n,s,u,d,m,x){this.acceptsBooleans=n===Jr||n===Dn||n===nr,this.attributeName=u,this.attributeNamespace=d,this.mustUseProperty=s,this.propertyName=e,this.type=n,this.sanitizeURL=m,this.removeEmptyString=x}var Yt={},Cs=["children","dangerouslySetInnerHTML","defaultValue","defaultChecked","innerHTML","suppressContentEditableWarning","suppressHydrationWarning","style"];Cs.forEach(function(e){Yt[e]=new tn(e,Nr,!1,e,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var n=e[0],s=e[1];Yt[n]=new tn(n,gr,!1,s,null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(e){Yt[e]=new tn(e,Jr,!1,e.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){Yt[e]=new tn(e,Jr,!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"].forEach(function(e){Yt[e]=new tn(e,Dn,!1,e.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(e){Yt[e]=new tn(e,Dn,!0,e,null,!1,!1)}),["capture","download"].forEach(function(e){Yt[e]=new tn(e,nr,!1,e,null,!1,!1)}),["cols","rows","size","span"].forEach(function(e){Yt[e]=new tn(e,Oa,!1,e,null,!1,!1)}),["rowSpan","start"].forEach(function(e){Yt[e]=new tn(e,Ui,!1,e.toLowerCase(),null,!1,!1)});var ma=/[\-\:]([a-z])/g,ws=function(e){return e[1].toUpperCase()};["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"].forEach(function(e){var n=e.replace(ma,ws);Yt[n]=new tn(n,gr,!1,e,null,!1,!1)}),["xlink:actuate","xlink:arcrole","xlink:role","xlink:show","xlink:title","xlink:type"].forEach(function(e){var n=e.replace(ma,ws);Yt[n]=new tn(n,gr,!1,e,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(e){var n=e.replace(ma,ws);Yt[n]=new tn(n,gr,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(e){Yt[e]=new tn(e,gr,!1,e.toLowerCase(),null,!1,!1)});var gl="xlinkHref";Yt[gl]=new tn("xlinkHref",gr,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(e){Yt[e]=new tn(e,gr,!1,e.toLowerCase(),null,!0,!0)});var ku=/^[\u0000-\u001F ]*j[\r\n\t]*a[\r\n\t]*v[\r\n\t]*a[\r\n\t]*s[\r\n\t]*c[\r\n\t]*r[\r\n\t]*i[\r\n\t]*p[\r\n\t]*t[\r\n\t]*\:/i,Oo=!1;function Es(e){!Oo&&ku.test(e)&&(Oo=!0,p("A future version of React will block javascript: URLs as a security precaution. Use event handlers instead if you can. If you need to generate unsafe HTML try using dangerouslySetInnerHTML instead. React was passed %s.",JSON.stringify(e)))}function jr(e,n,s,u){if(u.mustUseProperty){var d=u.propertyName;return e[d]}else{Zr(s,n),u.sanitizeURL&&Es(""+s);var m=u.attributeName,x=null;if(u.type===nr){if(e.hasAttribute(m)){var T=e.getAttribute(m);return T===""?!0:cn(n,s,u,!1)?T:T===""+s?s:T}}else if(e.hasAttribute(m)){if(cn(n,s,u,!1))return e.getAttribute(m);if(u.type===Dn)return s;x=e.getAttribute(m)}return cn(n,s,u,!1)?x===null?s:x:x===""+s?s:x}}function Ts(e,n,s,u){{if(!En(n))return;if(!e.hasAttribute(n))return s===void 0?void 0:null;var d=e.getAttribute(n);return Zr(s,n),d===""+s?s:d}}function Si(e,n,s,u){var d=va(n);if(!Tn(n,d,u)){if(cn(n,s,d,u)&&(s=null),u||d===null){if(En(n)){var m=n;s===null?e.removeAttribute(m):(Zr(s,n),e.setAttribute(m,""+s))}return}var x=d.mustUseProperty;if(x){var T=d.propertyName;if(s===null){var _=d.type;e[T]=_===Dn?!1:""}else e[T]=s;return}var M=d.attributeName,L=d.attributeNamespace;if(s===null)e.removeAttribute(M);else{var G=d.type,H;G===Dn||G===nr&&s===!0?H="":(Zr(s,M),H=""+s,d.sanitizeURL&&Es(H.toString())),L?e.setAttributeNS(L,M,H):e.setAttribute(M,H)}}}var lo=Symbol.for("react.element"),ga=Symbol.for("react.portal"),Za=Symbol.for("react.fragment"),ya=Symbol.for("react.strict_mode"),B=Symbol.for("react.profiler"),Se=Symbol.for("react.provider"),ze=Symbol.for("react.context"),lt=Symbol.for("react.forward_ref"),_t=Symbol.for("react.suspense"),Lt=Symbol.for("react.suspense_list"),Rt=Symbol.for("react.memo"),ct=Symbol.for("react.lazy"),lr=Symbol.for("react.scope"),kn=Symbol.for("react.debug_trace_mode"),_n=Symbol.for("react.offscreen"),Fr=Symbol.for("react.legacy_hidden"),xi=Symbol.for("react.cache"),_u=Symbol.for("react.tracing_marker"),Ft=Symbol.iterator,qc="@@iterator";function Hi(e){if(e===null||typeof e!="object")return null;var n=Ft&&e[Ft]||e[qc];return typeof n=="function"?n:null}var Mt=Object.assign,Wi=0,Wd,Xc,yl,Aa,Yd,Ma,Gd;function qd(){}qd.__reactDisabledLog=!0;function Uv(){{if(Wi===0){Wd=console.log,Xc=console.info,yl=console.warn,Aa=console.error,Yd=console.group,Ma=console.groupCollapsed,Gd=console.groupEnd;var e={configurable:!0,enumerable:!0,value:qd,writable:!0};Object.defineProperties(console,{info:e,log:e,warn:e,error:e,group:e,groupCollapsed:e,groupEnd:e})}Wi++}}function Ru(){{if(Wi--,Wi===0){var e={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:Mt({},e,{value:Wd}),info:Mt({},e,{value:Xc}),warn:Mt({},e,{value:yl}),error:Mt({},e,{value:Aa}),group:Mt({},e,{value:Yd}),groupCollapsed:Mt({},e,{value:Ma}),groupEnd:Mt({},e,{value:Gd})})}Wi<0&&p("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var ks=i.ReactCurrentDispatcher,Ao;function Ja(e,n,s){{if(Ao===void 0)try{throw Error()}catch(d){var u=d.stack.trim().match(/\n( *(at )?)/);Ao=u&&u[1]||""}return`
91
+ `+Ao+e}}var Qc=!1,Mo;{var bl=typeof WeakMap=="function"?WeakMap:Map;Mo=new bl}function Du(e,n){if(!e||Qc)return"";{var s=Mo.get(e);if(s!==void 0)return s}var u;Qc=!0;var d=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var m;m=ks.current,ks.current=null,Uv();try{if(n){var x=function(){throw Error()};if(Object.defineProperty(x.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(x,[])}catch(ae){u=ae}Reflect.construct(e,[],x)}else{try{x.call()}catch(ae){u=ae}e.call(x.prototype)}}else{try{throw Error()}catch(ae){u=ae}e()}}catch(ae){if(ae&&u&&typeof ae.stack=="string"){for(var T=ae.stack.split(`
92
+ `),_=u.stack.split(`
93
+ `),M=T.length-1,L=_.length-1;M>=1&&L>=0&&T[M]!==_[L];)L--;for(;M>=1&&L>=0;M--,L--)if(T[M]!==_[L]){if(M!==1||L!==1)do if(M--,L--,L<0||T[M]!==_[L]){var G=`
94
+ `+T[M].replace(" at new "," at ");return e.displayName&&G.includes("<anonymous>")&&(G=G.replace("<anonymous>",e.displayName)),typeof e=="function"&&Mo.set(e,G),G}while(M>=1&&L>=0);break}}}finally{Qc=!1,ks.current=m,Ru(),Error.prepareStackTrace=d}var H=e?e.displayName||e.name:"",re=H?Ja(H):"";return typeof e=="function"&&Mo.set(e,re),re}function Kc(e,n,s){return Du(e,!0)}function uo(e,n,s){return Du(e,!1)}function Hv(e){var n=e.prototype;return!!(n&&n.isReactComponent)}function Sl(e,n,s){if(e==null)return"";if(typeof e=="function")return Du(e,Hv(e));if(typeof e=="string")return Ja(e);switch(e){case _t:return Ja("Suspense");case Lt:return Ja("SuspenseList")}if(typeof e=="object")switch(e.$$typeof){case lt:return uo(e.render);case Rt:return Sl(e.type,n,s);case ct:{var u=e,d=u._payload,m=u._init;try{return Sl(m(d),n,s)}catch{}}}return""}function Qt(e){switch(e._debugOwner&&e._debugOwner.type,e._debugSource,e.tag){case R:return Ja(e.type);case me:return Ja("Lazy");case V:return Ja("Suspense");case De:return Ja("SuspenseList");case y:case C:case J:return uo(e.type);case $:return uo(e.type.render);case S:return Kc(e.type);default:return""}}function Ou(e){try{var n="",s=e;do n+=Qt(s),s=s.return;while(s);return n}catch(u){return`
95
+ Error generating stack: `+u.message+`
96
+ `+u.stack}}function Xd(e,n,s){var u=e.displayName;if(u)return u;var d=n.displayName||n.name||"";return d!==""?s+"("+d+")":s}function Au(e){return e.displayName||"Context"}function fn(e){if(e==null)return null;if(typeof e.tag=="number"&&p("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case Za:return"Fragment";case ga:return"Portal";case B:return"Profiler";case ya:return"StrictMode";case _t:return"Suspense";case Lt:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case ze:var n=e;return Au(n)+".Consumer";case Se:var s=e;return Au(s._context)+".Provider";case lt:return Xd(e,e.render,"ForwardRef");case Rt:var u=e.displayName||null;return u!==null?u:fn(e.type)||"Memo";case ct:{var d=e,m=d._payload,x=d._init;try{return fn(x(m))}catch{return null}}}return null}function Mu(e,n,s){var u=n.displayName||n.name||"";return e.displayName||(u!==""?s+"("+u+")":s)}function Zc(e){return e.displayName||"Context"}function Et(e){var n=e.tag,s=e.type;switch(n){case at:return"Cache";case q:var u=s;return Zc(u)+".Consumer";case F:var d=s;return Zc(d._context)+".Provider";case ye:return"DehydratedFragment";case $:return Mu(s,s.render,"ForwardRef");case P:return"Fragment";case R:return s;case k:return"Portal";case E:return"Root";case A:return"Text";case me:return fn(s);case j:return s===ya?"StrictMode":"Mode";case Oe:return"Offscreen";case Q:return"Profiler";case pt:return"Scope";case V:return"Suspense";case De:return"SuspenseList";case Ue:return"TracingMarker";case S:case y:case ve:case C:case le:case J:if(typeof s=="function")return s.displayName||s.name||null;if(typeof s=="string")return s;break}return null}var xl=i.ReactDebugCurrentFrame,An=null,ta=!1;function na(){{if(An===null)return null;var e=An._debugOwner;if(e!==null&&typeof e<"u")return Et(e)}return null}function Po(){return An===null?"":Ou(An)}function rr(){xl.getCurrentStack=null,An=null,ta=!1}function Kt(e){xl.getCurrentStack=e===null?null:Po,An=e,ta=!1}function Jc(){return An}function Pa(e){ta=e}function Vn(e){return""+e}function La(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return wn(e),e;default:return""}}var Qd={button:!0,checkbox:!0,image:!0,hidden:!0,radio:!0,reset:!0,submit:!0};function Lo(e,n){Qd[n.type]||n.onChange||n.onInput||n.readOnly||n.disabled||n.value==null||p("You provided a `value` prop to a form field without an `onChange` handler. This will render a read-only field. If the field should be mutable use `defaultValue`. Otherwise, set either `onChange` or `readOnly`."),n.onChange||n.readOnly||n.disabled||n.checked==null||p("You provided a `checked` prop to a form field without an `onChange` handler. This will render a read-only field. If the field should be mutable use `defaultChecked`. Otherwise, set either `onChange` or `readOnly`.")}function ef(e){var n=e.type,s=e.nodeName;return s&&s.toLowerCase()==="input"&&(n==="checkbox"||n==="radio")}function tf(e){return e._valueTracker}function Cl(e){e._valueTracker=null}function wl(e){var n="";return e&&(ef(e)?n=e.checked?"true":"false":n=e.value),n}function zo(e){var n=ef(e)?"checked":"value",s=Object.getOwnPropertyDescriptor(e.constructor.prototype,n);wn(e[n]);var u=""+e[n];if(!(e.hasOwnProperty(n)||typeof s>"u"||typeof s.get!="function"||typeof s.set!="function")){var d=s.get,m=s.set;Object.defineProperty(e,n,{configurable:!0,get:function(){return d.call(this)},set:function(T){wn(T),u=""+T,m.call(this,T)}}),Object.defineProperty(e,n,{enumerable:s.enumerable});var x={getValue:function(){return u},setValue:function(T){wn(T),u=""+T},stopTracking:function(){Cl(e),delete e[n]}};return x}}function No(e){tf(e)||(e._valueTracker=zo(e))}function z(e){if(!e)return!1;var n=tf(e);if(!n)return!0;var s=n.getValue(),u=wl(e);return u!==s?(n.setValue(u),!0):!1}function W(e){if(e=e||(typeof document<"u"?document:void 0),typeof e>"u")return null;try{return e.activeElement||e.body}catch{return e.body}}var ie=!1,Be=!1,zt=!1,Zt=!1;function Ht(e){var n=e.type==="checkbox"||e.type==="radio";return n?e.checked!=null:e.value!=null}function Pt(e,n){var s=e,u=n.checked,d=Mt({},n,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:u??s._wrapperState.initialChecked});return d}function nn(e,n){Lo("input",n),n.checked!==void 0&&n.defaultChecked!==void 0&&!Be&&(p("%s contains an input of type %s with both checked and defaultChecked props. Input elements must be either controlled or uncontrolled (specify either the checked prop, or the defaultChecked prop, but not both). Decide between using a controlled or uncontrolled input element and remove one of these props. More info: https://reactjs.org/link/controlled-components",na()||"A component",n.type),Be=!0),n.value!==void 0&&n.defaultValue!==void 0&&!ie&&(p("%s contains an input of type %s with both value and defaultValue props. Input elements must be either controlled or uncontrolled (specify either the value prop, or the defaultValue prop, but not both). Decide between using a controlled or uncontrolled input element and remove one of these props. More info: https://reactjs.org/link/controlled-components",na()||"A component",n.type),ie=!0);var s=e,u=n.defaultValue==null?"":n.defaultValue;s._wrapperState={initialChecked:n.checked!=null?n.checked:n.defaultChecked,initialValue:La(n.value!=null?n.value:u),controlled:Ht(n)}}function ra(e,n){var s=e,u=n.checked;u!=null&&Si(s,"checked",u,!1)}function ur(e,n){var s=e;{var u=Ht(n);!s._wrapperState.controlled&&u&&!Zt&&(p("A component is changing an uncontrolled input to be controlled. This is likely caused by the value changing from undefined to a defined value, which should not happen. Decide between using a controlled or uncontrolled input element for the lifetime of the component. More info: https://reactjs.org/link/controlled-components"),Zt=!0),s._wrapperState.controlled&&!u&&!zt&&(p("A component is changing a controlled input to be uncontrolled. This is likely caused by the value changing from a defined to undefined, which should not happen. Decide between using a controlled or uncontrolled input element for the lifetime of the component. More info: https://reactjs.org/link/controlled-components"),zt=!0)}ra(e,n);var d=La(n.value),m=n.type;if(d!=null)m==="number"?(d===0&&s.value===""||s.value!=d)&&(s.value=Vn(d)):s.value!==Vn(d)&&(s.value=Vn(d));else if(m==="submit"||m==="reset"){s.removeAttribute("value");return}n.hasOwnProperty("value")?Gi(s,n.type,d):n.hasOwnProperty("defaultValue")&&Gi(s,n.type,La(n.defaultValue)),n.checked==null&&n.defaultChecked!=null&&(s.defaultChecked=!!n.defaultChecked)}function Yi(e,n,s){var u=e;if(n.hasOwnProperty("value")||n.hasOwnProperty("defaultValue")){var d=n.type,m=d==="submit"||d==="reset";if(m&&(n.value===void 0||n.value===null))return;var x=Vn(u._wrapperState.initialValue);s||x!==u.value&&(u.value=x),u.defaultValue=x}var T=u.name;T!==""&&(u.name=""),u.defaultChecked=!u.defaultChecked,u.defaultChecked=!!u._wrapperState.initialChecked,T!==""&&(u.name=T)}function Pu(e,n){var s=e;ur(s,n),$r(s,n)}function $r(e,n){var s=n.name;if(n.type==="radio"&&s!=null){for(var u=e;u.parentNode;)u=u.parentNode;Zr(s,"name");for(var d=u.querySelectorAll("input[name="+JSON.stringify(""+s)+'][type="radio"]'),m=0;m<d.length;m++){var x=d[m];if(!(x===e||x.form!==e.form)){var T=db(x);if(!T)throw new Error("ReactDOMInput: Mixing React and non-React radio inputs with the same `name` is not supported.");z(x),ur(x,T)}}}}function Gi(e,n,s){(n!=="number"||W(e.ownerDocument)!==e)&&(s==null?e.defaultValue=Vn(e._wrapperState.initialValue):e.defaultValue!==Vn(s)&&(e.defaultValue=Vn(s)))}var Kd=!1,Lu=!1,j0=!1;function Zd(e,n){n.value==null&&(typeof n.children=="object"&&n.children!==null?t.Children.forEach(n.children,function(s){s!=null&&(typeof s=="string"||typeof s=="number"||Lu||(Lu=!0,p("Cannot infer the option value of complex children. Pass a `value` prop or use a plain string as children to <option>.")))}):n.dangerouslySetInnerHTML!=null&&(j0||(j0=!0,p("Pass a `value` prop if you set dangerouslyInnerHTML so React knows which value should be selected.")))),n.selected!=null&&!Kd&&(p("Use the `defaultValue` or `value` props on <select> instead of setting `selected` on <option>."),Kd=!0)}function Wv(e,n){n.value!=null&&e.setAttribute("value",Vn(La(n.value)))}var nf=Array.isArray;function _r(e){return nf(e)}var Jd;Jd=!1;function F0(){var e=na();return e?`
97
+
98
+ Check the render method of \``+e+"`.":""}var $0=["value","defaultValue"];function K2(e){{Lo("select",e);for(var n=0;n<$0.length;n++){var s=$0[n];if(e[s]!=null){var u=_r(e[s]);e.multiple&&!u?p("The `%s` prop supplied to <select> must be an array if `multiple` is true.%s",s,F0()):!e.multiple&&u&&p("The `%s` prop supplied to <select> must be a scalar value if `multiple` is false.%s",s,F0())}}}}function _s(e,n,s,u){var d=e.options;if(n){for(var m=s,x={},T=0;T<m.length;T++)x["$"+m[T]]=!0;for(var _=0;_<d.length;_++){var M=x.hasOwnProperty("$"+d[_].value);d[_].selected!==M&&(d[_].selected=M),M&&u&&(d[_].defaultSelected=!0)}}else{for(var L=Vn(La(s)),G=null,H=0;H<d.length;H++){if(d[H].value===L){d[H].selected=!0,u&&(d[H].defaultSelected=!0);return}G===null&&!d[H].disabled&&(G=d[H])}G!==null&&(G.selected=!0)}}function Yv(e,n){return Mt({},n,{value:void 0})}function B0(e,n){var s=e;K2(n),s._wrapperState={wasMultiple:!!n.multiple},n.value!==void 0&&n.defaultValue!==void 0&&!Jd&&(p("Select elements must be either controlled or uncontrolled (specify either the value prop, or the defaultValue prop, but not both). Decide between using a controlled or uncontrolled select element and remove one of these props. More info: https://reactjs.org/link/controlled-components"),Jd=!0)}function Z2(e,n){var s=e;s.multiple=!!n.multiple;var u=n.value;u!=null?_s(s,!!n.multiple,u,!1):n.defaultValue!=null&&_s(s,!!n.multiple,n.defaultValue,!0)}function J2(e,n){var s=e,u=s._wrapperState.wasMultiple;s._wrapperState.wasMultiple=!!n.multiple;var d=n.value;d!=null?_s(s,!!n.multiple,d,!1):u!==!!n.multiple&&(n.defaultValue!=null?_s(s,!!n.multiple,n.defaultValue,!0):_s(s,!!n.multiple,n.multiple?[]:"",!1))}function ew(e,n){var s=e,u=n.value;u!=null&&_s(s,!!n.multiple,u,!1)}var Gv=!1;function qv(e,n){var s=e;if(n.dangerouslySetInnerHTML!=null)throw new Error("`dangerouslySetInnerHTML` does not make sense on <textarea>.");var u=Mt({},n,{value:void 0,defaultValue:void 0,children:Vn(s._wrapperState.initialValue)});return u}function V0(e,n){var s=e;Lo("textarea",n),n.value!==void 0&&n.defaultValue!==void 0&&!Gv&&(p("%s contains a textarea with both value and defaultValue props. Textarea elements must be either controlled or uncontrolled (specify either the value prop, or the defaultValue prop, but not both). Decide between using a controlled or uncontrolled textarea and remove one of these props. More info: https://reactjs.org/link/controlled-components",na()||"A component"),Gv=!0);var u=n.value;if(u==null){var d=n.children,m=n.defaultValue;if(d!=null){p("Use the `defaultValue` or `value` props instead of setting children on <textarea>.");{if(m!=null)throw new Error("If you supply `defaultValue` on a <textarea>, do not pass children.");if(_r(d)){if(d.length>1)throw new Error("<textarea> can only have at most one child.");d=d[0]}m=d}}m==null&&(m=""),u=m}s._wrapperState={initialValue:La(u)}}function I0(e,n){var s=e,u=La(n.value),d=La(n.defaultValue);if(u!=null){var m=Vn(u);m!==s.value&&(s.value=m),n.defaultValue==null&&s.defaultValue!==m&&(s.defaultValue=m)}d!=null&&(s.defaultValue=Vn(d))}function U0(e,n){var s=e,u=s.textContent;u===s._wrapperState.initialValue&&u!==""&&u!==null&&(s.value=u)}function Xv(e,n){I0(e,n)}var jo="http://www.w3.org/1999/xhtml",tw="http://www.w3.org/1998/Math/MathML",Qv="http://www.w3.org/2000/svg";function ep(e){switch(e){case"svg":return Qv;case"math":return tw;default:return jo}}function Kv(e,n){return e==null||e===jo?ep(n):e===Qv&&n==="foreignObject"?jo:e}var nw=function(e){return typeof MSApp<"u"&&MSApp.execUnsafeLocalFunction?function(n,s,u,d){MSApp.execUnsafeLocalFunction(function(){return e(n,s,u,d)})}:e},tp,H0=nw(function(e,n){if(e.namespaceURI===Qv&&!("innerHTML"in e)){tp=tp||document.createElement("div"),tp.innerHTML="<svg>"+n.valueOf().toString()+"</svg>";for(var s=tp.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;s.firstChild;)e.appendChild(s.firstChild);return}e.innerHTML=n}),za=1,Fo=3,cr=8,qi=9,El=11,np=function(e,n){if(n){var s=e.firstChild;if(s&&s===e.lastChild&&s.nodeType===Fo){s.nodeValue=n;return}}e.textContent=n},W0={animation:["animationDelay","animationDirection","animationDuration","animationFillMode","animationIterationCount","animationName","animationPlayState","animationTimingFunction"],background:["backgroundAttachment","backgroundClip","backgroundColor","backgroundImage","backgroundOrigin","backgroundPositionX","backgroundPositionY","backgroundRepeat","backgroundSize"],backgroundPosition:["backgroundPositionX","backgroundPositionY"],border:["borderBottomColor","borderBottomStyle","borderBottomWidth","borderImageOutset","borderImageRepeat","borderImageSlice","borderImageSource","borderImageWidth","borderLeftColor","borderLeftStyle","borderLeftWidth","borderRightColor","borderRightStyle","borderRightWidth","borderTopColor","borderTopStyle","borderTopWidth"],borderBlockEnd:["borderBlockEndColor","borderBlockEndStyle","borderBlockEndWidth"],borderBlockStart:["borderBlockStartColor","borderBlockStartStyle","borderBlockStartWidth"],borderBottom:["borderBottomColor","borderBottomStyle","borderBottomWidth"],borderColor:["borderBottomColor","borderLeftColor","borderRightColor","borderTopColor"],borderImage:["borderImageOutset","borderImageRepeat","borderImageSlice","borderImageSource","borderImageWidth"],borderInlineEnd:["borderInlineEndColor","borderInlineEndStyle","borderInlineEndWidth"],borderInlineStart:["borderInlineStartColor","borderInlineStartStyle","borderInlineStartWidth"],borderLeft:["borderLeftColor","borderLeftStyle","borderLeftWidth"],borderRadius:["borderBottomLeftRadius","borderBottomRightRadius","borderTopLeftRadius","borderTopRightRadius"],borderRight:["borderRightColor","borderRightStyle","borderRightWidth"],borderStyle:["borderBottomStyle","borderLeftStyle","borderRightStyle","borderTopStyle"],borderTop:["borderTopColor","borderTopStyle","borderTopWidth"],borderWidth:["borderBottomWidth","borderLeftWidth","borderRightWidth","borderTopWidth"],columnRule:["columnRuleColor","columnRuleStyle","columnRuleWidth"],columns:["columnCount","columnWidth"],flex:["flexBasis","flexGrow","flexShrink"],flexFlow:["flexDirection","flexWrap"],font:["fontFamily","fontFeatureSettings","fontKerning","fontLanguageOverride","fontSize","fontSizeAdjust","fontStretch","fontStyle","fontVariant","fontVariantAlternates","fontVariantCaps","fontVariantEastAsian","fontVariantLigatures","fontVariantNumeric","fontVariantPosition","fontWeight","lineHeight"],fontVariant:["fontVariantAlternates","fontVariantCaps","fontVariantEastAsian","fontVariantLigatures","fontVariantNumeric","fontVariantPosition"],gap:["columnGap","rowGap"],grid:["gridAutoColumns","gridAutoFlow","gridAutoRows","gridTemplateAreas","gridTemplateColumns","gridTemplateRows"],gridArea:["gridColumnEnd","gridColumnStart","gridRowEnd","gridRowStart"],gridColumn:["gridColumnEnd","gridColumnStart"],gridColumnGap:["columnGap"],gridGap:["columnGap","rowGap"],gridRow:["gridRowEnd","gridRowStart"],gridRowGap:["rowGap"],gridTemplate:["gridTemplateAreas","gridTemplateColumns","gridTemplateRows"],listStyle:["listStyleImage","listStylePosition","listStyleType"],margin:["marginBottom","marginLeft","marginRight","marginTop"],marker:["markerEnd","markerMid","markerStart"],mask:["maskClip","maskComposite","maskImage","maskMode","maskOrigin","maskPositionX","maskPositionY","maskRepeat","maskSize"],maskPosition:["maskPositionX","maskPositionY"],outline:["outlineColor","outlineStyle","outlineWidth"],overflow:["overflowX","overflowY"],padding:["paddingBottom","paddingLeft","paddingRight","paddingTop"],placeContent:["alignContent","justifyContent"],placeItems:["alignItems","justifyItems"],placeSelf:["alignSelf","justifySelf"],textDecoration:["textDecorationColor","textDecorationLine","textDecorationStyle"],textEmphasis:["textEmphasisColor","textEmphasisStyle"],transition:["transitionDelay","transitionDuration","transitionProperty","transitionTimingFunction"],wordWrap:["overflowWrap"]},zu={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};function Y0(e,n){return e+n.charAt(0).toUpperCase()+n.substring(1)}var G0=["Webkit","ms","Moz","O"];Object.keys(zu).forEach(function(e){G0.forEach(function(n){zu[Y0(n,e)]=zu[e]})});function rp(e,n,s){var u=n==null||typeof n=="boolean"||n==="";return u?"":!s&&typeof n=="number"&&n!==0&&!(zu.hasOwnProperty(e)&&zu[e])?n+"px":(vr(n,e),(""+n).trim())}var Nu=/([A-Z])/g,rw=/^ms-/;function aw(e){return e.replace(Nu,"-$1").toLowerCase().replace(rw,"-ms-")}var q0=function(){};{var X0=/^(?:webkit|moz|o)[A-Z]/,Q0=/^-ms-/,rf=/-(.)/g,ju=/;\s*$/,Fu={},$u={},K0=!1,Zv=!1,Jv=function(e){return e.replace(rf,function(n,s){return s.toUpperCase()})},em=function(e){Fu.hasOwnProperty(e)&&Fu[e]||(Fu[e]=!0,p("Unsupported style property %s. Did you mean %s?",e,Jv(e.replace(Q0,"ms-"))))},Z0=function(e){Fu.hasOwnProperty(e)&&Fu[e]||(Fu[e]=!0,p("Unsupported vendor-prefixed style property %s. Did you mean %s?",e,e.charAt(0).toUpperCase()+e.slice(1)))},J0=function(e,n){$u.hasOwnProperty(n)&&$u[n]||($u[n]=!0,p(`Style property values shouldn't contain a semicolon. Try "%s: %s" instead.`,e,n.replace(ju,"")))},e1=function(e,n){K0||(K0=!0,p("`NaN` is an invalid value for the `%s` css style property.",e))},iw=function(e,n){Zv||(Zv=!0,p("`Infinity` is an invalid value for the `%s` css style property.",e))};q0=function(e,n){e.indexOf("-")>-1?em(e):X0.test(e)?Z0(e):ju.test(n)&&J0(e,n),typeof n=="number"&&(isNaN(n)?e1(e,n):isFinite(n)||iw(e,n))}}var ow=q0;function sw(e){{var n="",s="";for(var u in e)if(e.hasOwnProperty(u)){var d=e[u];if(d!=null){var m=u.indexOf("--")===0;n+=s+(m?u:aw(u))+":",n+=rp(u,d,m),s=";"}}return n||null}}function t1(e,n){var s=e.style;for(var u in n)if(n.hasOwnProperty(u)){var d=u.indexOf("--")===0;d||ow(u,n[u]);var m=rp(u,n[u],d);u==="float"&&(u="cssFloat"),d?s.setProperty(u,m):s[u]=m}}function lw(e){return e==null||typeof e=="boolean"||e===""}function Ci(e){var n={};for(var s in e)for(var u=W0[s]||[s],d=0;d<u.length;d++)n[u[d]]=s;return n}function af(e,n){{if(!n)return;var s=Ci(e),u=Ci(n),d={};for(var m in s){var x=s[m],T=u[m];if(T&&x!==T){var _=x+","+T;if(d[_])continue;d[_]=!0,p("%s a style property during rerender (%s) when a conflicting property is set (%s) can lead to styling bugs. To avoid this, don't mix shorthand and non-shorthand properties for the same value; instead, replace the shorthand with separate values.",lw(e[x])?"Removing":"Updating",x,T)}}}}var n1={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},r1=Mt({menuitem:!0},n1),a1="__html";function ap(e,n){if(n){if(r1[e]&&(n.children!=null||n.dangerouslySetInnerHTML!=null))throw new Error(e+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");if(n.dangerouslySetInnerHTML!=null){if(n.children!=null)throw new Error("Can only set one of `children` or `props.dangerouslySetInnerHTML`.");if(typeof n.dangerouslySetInnerHTML!="object"||!(a1 in n.dangerouslySetInnerHTML))throw new Error("`props.dangerouslySetInnerHTML` must be in the form `{__html: ...}`. Please visit https://reactjs.org/link/dangerously-set-inner-html for more information.")}if(!n.suppressContentEditableWarning&&n.contentEditable&&n.children!=null&&p("A component is `contentEditable` and contains `children` managed by React. It is now your responsibility to guarantee that none of those nodes are unexpectedly modified or duplicated. This is probably not intentional."),n.style!=null&&typeof n.style!="object")throw new Error("The `style` prop expects a mapping from style properties to values, not a string. For example, style={{marginRight: spacing + 'em'}} when using JSX.")}}function $o(e,n){if(e.indexOf("-")===-1)return typeof n.is=="string";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 ip={accept:"accept",acceptcharset:"acceptCharset","accept-charset":"acceptCharset",accesskey:"accessKey",action:"action",allowfullscreen:"allowFullScreen",alt:"alt",as:"as",async:"async",autocapitalize:"autoCapitalize",autocomplete:"autoComplete",autocorrect:"autoCorrect",autofocus:"autoFocus",autoplay:"autoPlay",autosave:"autoSave",capture:"capture",cellpadding:"cellPadding",cellspacing:"cellSpacing",challenge:"challenge",charset:"charSet",checked:"checked",children:"children",cite:"cite",class:"className",classid:"classID",classname:"className",cols:"cols",colspan:"colSpan",content:"content",contenteditable:"contentEditable",contextmenu:"contextMenu",controls:"controls",controlslist:"controlsList",coords:"coords",crossorigin:"crossOrigin",dangerouslysetinnerhtml:"dangerouslySetInnerHTML",data:"data",datetime:"dateTime",default:"default",defaultchecked:"defaultChecked",defaultvalue:"defaultValue",defer:"defer",dir:"dir",disabled:"disabled",disablepictureinpicture:"disablePictureInPicture",disableremoteplayback:"disableRemotePlayback",download:"download",draggable:"draggable",enctype:"encType",enterkeyhint:"enterKeyHint",for:"htmlFor",form:"form",formmethod:"formMethod",formaction:"formAction",formenctype:"formEncType",formnovalidate:"formNoValidate",formtarget:"formTarget",frameborder:"frameBorder",headers:"headers",height:"height",hidden:"hidden",high:"high",href:"href",hreflang:"hrefLang",htmlfor:"htmlFor",httpequiv:"httpEquiv","http-equiv":"httpEquiv",icon:"icon",id:"id",imagesizes:"imageSizes",imagesrcset:"imageSrcSet",innerhtml:"innerHTML",inputmode:"inputMode",integrity:"integrity",is:"is",itemid:"itemID",itemprop:"itemProp",itemref:"itemRef",itemscope:"itemScope",itemtype:"itemType",keyparams:"keyParams",keytype:"keyType",kind:"kind",label:"label",lang:"lang",list:"list",loop:"loop",low:"low",manifest:"manifest",marginwidth:"marginWidth",marginheight:"marginHeight",max:"max",maxlength:"maxLength",media:"media",mediagroup:"mediaGroup",method:"method",min:"min",minlength:"minLength",multiple:"multiple",muted:"muted",name:"name",nomodule:"noModule",nonce:"nonce",novalidate:"noValidate",open:"open",optimum:"optimum",pattern:"pattern",placeholder:"placeholder",playsinline:"playsInline",poster:"poster",preload:"preload",profile:"profile",radiogroup:"radioGroup",readonly:"readOnly",referrerpolicy:"referrerPolicy",rel:"rel",required:"required",reversed:"reversed",role:"role",rows:"rows",rowspan:"rowSpan",sandbox:"sandbox",scope:"scope",scoped:"scoped",scrolling:"scrolling",seamless:"seamless",selected:"selected",shape:"shape",size:"size",sizes:"sizes",span:"span",spellcheck:"spellCheck",src:"src",srcdoc:"srcDoc",srclang:"srcLang",srcset:"srcSet",start:"start",step:"step",style:"style",summary:"summary",tabindex:"tabIndex",target:"target",title:"title",type:"type",usemap:"useMap",value:"value",width:"width",wmode:"wmode",wrap:"wrap",about:"about",accentheight:"accentHeight","accent-height":"accentHeight",accumulate:"accumulate",additive:"additive",alignmentbaseline:"alignmentBaseline","alignment-baseline":"alignmentBaseline",allowreorder:"allowReorder",alphabetic:"alphabetic",amplitude:"amplitude",arabicform:"arabicForm","arabic-form":"arabicForm",ascent:"ascent",attributename:"attributeName",attributetype:"attributeType",autoreverse:"autoReverse",azimuth:"azimuth",basefrequency:"baseFrequency",baselineshift:"baselineShift","baseline-shift":"baselineShift",baseprofile:"baseProfile",bbox:"bbox",begin:"begin",bias:"bias",by:"by",calcmode:"calcMode",capheight:"capHeight","cap-height":"capHeight",clip:"clip",clippath:"clipPath","clip-path":"clipPath",clippathunits:"clipPathUnits",cliprule:"clipRule","clip-rule":"clipRule",color:"color",colorinterpolation:"colorInterpolation","color-interpolation":"colorInterpolation",colorinterpolationfilters:"colorInterpolationFilters","color-interpolation-filters":"colorInterpolationFilters",colorprofile:"colorProfile","color-profile":"colorProfile",colorrendering:"colorRendering","color-rendering":"colorRendering",contentscripttype:"contentScriptType",contentstyletype:"contentStyleType",cursor:"cursor",cx:"cx",cy:"cy",d:"d",datatype:"datatype",decelerate:"decelerate",descent:"descent",diffuseconstant:"diffuseConstant",direction:"direction",display:"display",divisor:"divisor",dominantbaseline:"dominantBaseline","dominant-baseline":"dominantBaseline",dur:"dur",dx:"dx",dy:"dy",edgemode:"edgeMode",elevation:"elevation",enablebackground:"enableBackground","enable-background":"enableBackground",end:"end",exponent:"exponent",externalresourcesrequired:"externalResourcesRequired",fill:"fill",fillopacity:"fillOpacity","fill-opacity":"fillOpacity",fillrule:"fillRule","fill-rule":"fillRule",filter:"filter",filterres:"filterRes",filterunits:"filterUnits",floodopacity:"floodOpacity","flood-opacity":"floodOpacity",floodcolor:"floodColor","flood-color":"floodColor",focusable:"focusable",fontfamily:"fontFamily","font-family":"fontFamily",fontsize:"fontSize","font-size":"fontSize",fontsizeadjust:"fontSizeAdjust","font-size-adjust":"fontSizeAdjust",fontstretch:"fontStretch","font-stretch":"fontStretch",fontstyle:"fontStyle","font-style":"fontStyle",fontvariant:"fontVariant","font-variant":"fontVariant",fontweight:"fontWeight","font-weight":"fontWeight",format:"format",from:"from",fx:"fx",fy:"fy",g1:"g1",g2:"g2",glyphname:"glyphName","glyph-name":"glyphName",glyphorientationhorizontal:"glyphOrientationHorizontal","glyph-orientation-horizontal":"glyphOrientationHorizontal",glyphorientationvertical:"glyphOrientationVertical","glyph-orientation-vertical":"glyphOrientationVertical",glyphref:"glyphRef",gradienttransform:"gradientTransform",gradientunits:"gradientUnits",hanging:"hanging",horizadvx:"horizAdvX","horiz-adv-x":"horizAdvX",horizoriginx:"horizOriginX","horiz-origin-x":"horizOriginX",ideographic:"ideographic",imagerendering:"imageRendering","image-rendering":"imageRendering",in2:"in2",in:"in",inlist:"inlist",intercept:"intercept",k1:"k1",k2:"k2",k3:"k3",k4:"k4",k:"k",kernelmatrix:"kernelMatrix",kernelunitlength:"kernelUnitLength",kerning:"kerning",keypoints:"keyPoints",keysplines:"keySplines",keytimes:"keyTimes",lengthadjust:"lengthAdjust",letterspacing:"letterSpacing","letter-spacing":"letterSpacing",lightingcolor:"lightingColor","lighting-color":"lightingColor",limitingconeangle:"limitingConeAngle",local:"local",markerend:"markerEnd","marker-end":"markerEnd",markerheight:"markerHeight",markermid:"markerMid","marker-mid":"markerMid",markerstart:"markerStart","marker-start":"markerStart",markerunits:"markerUnits",markerwidth:"markerWidth",mask:"mask",maskcontentunits:"maskContentUnits",maskunits:"maskUnits",mathematical:"mathematical",mode:"mode",numoctaves:"numOctaves",offset:"offset",opacity:"opacity",operator:"operator",order:"order",orient:"orient",orientation:"orientation",origin:"origin",overflow:"overflow",overlineposition:"overlinePosition","overline-position":"overlinePosition",overlinethickness:"overlineThickness","overline-thickness":"overlineThickness",paintorder:"paintOrder","paint-order":"paintOrder",panose1:"panose1","panose-1":"panose1",pathlength:"pathLength",patterncontentunits:"patternContentUnits",patterntransform:"patternTransform",patternunits:"patternUnits",pointerevents:"pointerEvents","pointer-events":"pointerEvents",points:"points",pointsatx:"pointsAtX",pointsaty:"pointsAtY",pointsatz:"pointsAtZ",prefix:"prefix",preservealpha:"preserveAlpha",preserveaspectratio:"preserveAspectRatio",primitiveunits:"primitiveUnits",property:"property",r:"r",radius:"radius",refx:"refX",refy:"refY",renderingintent:"renderingIntent","rendering-intent":"renderingIntent",repeatcount:"repeatCount",repeatdur:"repeatDur",requiredextensions:"requiredExtensions",requiredfeatures:"requiredFeatures",resource:"resource",restart:"restart",result:"result",results:"results",rotate:"rotate",rx:"rx",ry:"ry",scale:"scale",security:"security",seed:"seed",shaperendering:"shapeRendering","shape-rendering":"shapeRendering",slope:"slope",spacing:"spacing",specularconstant:"specularConstant",specularexponent:"specularExponent",speed:"speed",spreadmethod:"spreadMethod",startoffset:"startOffset",stddeviation:"stdDeviation",stemh:"stemh",stemv:"stemv",stitchtiles:"stitchTiles",stopcolor:"stopColor","stop-color":"stopColor",stopopacity:"stopOpacity","stop-opacity":"stopOpacity",strikethroughposition:"strikethroughPosition","strikethrough-position":"strikethroughPosition",strikethroughthickness:"strikethroughThickness","strikethrough-thickness":"strikethroughThickness",string:"string",stroke:"stroke",strokedasharray:"strokeDasharray","stroke-dasharray":"strokeDasharray",strokedashoffset:"strokeDashoffset","stroke-dashoffset":"strokeDashoffset",strokelinecap:"strokeLinecap","stroke-linecap":"strokeLinecap",strokelinejoin:"strokeLinejoin","stroke-linejoin":"strokeLinejoin",strokemiterlimit:"strokeMiterlimit","stroke-miterlimit":"strokeMiterlimit",strokewidth:"strokeWidth","stroke-width":"strokeWidth",strokeopacity:"strokeOpacity","stroke-opacity":"strokeOpacity",suppresscontenteditablewarning:"suppressContentEditableWarning",suppresshydrationwarning:"suppressHydrationWarning",surfacescale:"surfaceScale",systemlanguage:"systemLanguage",tablevalues:"tableValues",targetx:"targetX",targety:"targetY",textanchor:"textAnchor","text-anchor":"textAnchor",textdecoration:"textDecoration","text-decoration":"textDecoration",textlength:"textLength",textrendering:"textRendering","text-rendering":"textRendering",to:"to",transform:"transform",typeof:"typeof",u1:"u1",u2:"u2",underlineposition:"underlinePosition","underline-position":"underlinePosition",underlinethickness:"underlineThickness","underline-thickness":"underlineThickness",unicode:"unicode",unicodebidi:"unicodeBidi","unicode-bidi":"unicodeBidi",unicoderange:"unicodeRange","unicode-range":"unicodeRange",unitsperem:"unitsPerEm","units-per-em":"unitsPerEm",unselectable:"unselectable",valphabetic:"vAlphabetic","v-alphabetic":"vAlphabetic",values:"values",vectoreffect:"vectorEffect","vector-effect":"vectorEffect",version:"version",vertadvy:"vertAdvY","vert-adv-y":"vertAdvY",vertoriginx:"vertOriginX","vert-origin-x":"vertOriginX",vertoriginy:"vertOriginY","vert-origin-y":"vertOriginY",vhanging:"vHanging","v-hanging":"vHanging",videographic:"vIdeographic","v-ideographic":"vIdeographic",viewbox:"viewBox",viewtarget:"viewTarget",visibility:"visibility",vmathematical:"vMathematical","v-mathematical":"vMathematical",vocab:"vocab",widths:"widths",wordspacing:"wordSpacing","word-spacing":"wordSpacing",writingmode:"writingMode","writing-mode":"writingMode",x1:"x1",x2:"x2",x:"x",xchannelselector:"xChannelSelector",xheight:"xHeight","x-height":"xHeight",xlinkactuate:"xlinkActuate","xlink:actuate":"xlinkActuate",xlinkarcrole:"xlinkArcrole","xlink:arcrole":"xlinkArcrole",xlinkhref:"xlinkHref","xlink:href":"xlinkHref",xlinkrole:"xlinkRole","xlink:role":"xlinkRole",xlinkshow:"xlinkShow","xlink:show":"xlinkShow",xlinktitle:"xlinkTitle","xlink:title":"xlinkTitle",xlinktype:"xlinkType","xlink:type":"xlinkType",xmlbase:"xmlBase","xml:base":"xmlBase",xmllang:"xmlLang","xml:lang":"xmlLang",xmlns:"xmlns","xml:space":"xmlSpace",xmlnsxlink:"xmlnsXlink","xmlns:xlink":"xmlnsXlink",xmlspace:"xmlSpace",y1:"y1",y2:"y2",y:"y",ychannelselector:"yChannelSelector",z:"z",zoomandpan:"zoomAndPan"},i1={"aria-current":0,"aria-description":0,"aria-details":0,"aria-disabled":0,"aria-hidden":0,"aria-invalid":0,"aria-keyshortcuts":0,"aria-label":0,"aria-roledescription":0,"aria-autocomplete":0,"aria-checked":0,"aria-expanded":0,"aria-haspopup":0,"aria-level":0,"aria-modal":0,"aria-multiline":0,"aria-multiselectable":0,"aria-orientation":0,"aria-placeholder":0,"aria-pressed":0,"aria-readonly":0,"aria-required":0,"aria-selected":0,"aria-sort":0,"aria-valuemax":0,"aria-valuemin":0,"aria-valuenow":0,"aria-valuetext":0,"aria-atomic":0,"aria-busy":0,"aria-live":0,"aria-relevant":0,"aria-dropeffect":0,"aria-grabbed":0,"aria-activedescendant":0,"aria-colcount":0,"aria-colindex":0,"aria-colspan":0,"aria-controls":0,"aria-describedby":0,"aria-errormessage":0,"aria-flowto":0,"aria-labelledby":0,"aria-owns":0,"aria-posinset":0,"aria-rowcount":0,"aria-rowindex":0,"aria-rowspan":0,"aria-setsize":0},Xi={},tm=new RegExp("^(aria)-["+it+"]*$"),of=new RegExp("^(aria)[A-Z]["+it+"]*$");function nm(e,n){{if(mn.call(Xi,n)&&Xi[n])return!0;if(of.test(n)){var s="aria-"+n.slice(4).toLowerCase(),u=i1.hasOwnProperty(s)?s:null;if(u==null)return p("Invalid ARIA attribute `%s`. ARIA attributes follow the pattern aria-* and must be lowercase.",n),Xi[n]=!0,!0;if(n!==u)return p("Invalid ARIA attribute `%s`. Did you mean `%s`?",n,u),Xi[n]=!0,!0}if(tm.test(n)){var d=n.toLowerCase(),m=i1.hasOwnProperty(d)?d:null;if(m==null)return Xi[n]=!0,!1;if(n!==m)return p("Unknown ARIA attribute `%s`. Did you mean `%s`?",n,m),Xi[n]=!0,!0}}return!0}function o1(e,n){{var s=[];for(var u in n){var d=nm(e,u);d||s.push(u)}var m=s.map(function(x){return"`"+x+"`"}).join(", ");s.length===1?p("Invalid aria prop %s on <%s> tag. For details, see https://reactjs.org/link/invalid-aria-props",m,e):s.length>1&&p("Invalid aria props %s on <%s> tag. For details, see https://reactjs.org/link/invalid-aria-props",m,e)}}function op(e,n){$o(e,n)||o1(e,n)}var Tl=!1;function rm(e,n){{if(e!=="input"&&e!=="textarea"&&e!=="select")return;n!=null&&n.value===null&&!Tl&&(Tl=!0,e==="select"&&n.multiple?p("`value` prop on `%s` should not be null. Consider using an empty array when `multiple` is set to `true` to clear the component or `undefined` for uncontrolled components.",e):p("`value` prop on `%s` should not be null. Consider using an empty string to clear the component or `undefined` for uncontrolled components.",e))}}var am=function(){};{var Rr={},im=/^on./,s1=/^on[^A-Z]/,l1=new RegExp("^(aria)-["+it+"]*$"),u1=new RegExp("^(aria)[A-Z]["+it+"]*$");am=function(e,n,s,u){if(mn.call(Rr,n)&&Rr[n])return!0;var d=n.toLowerCase();if(d==="onfocusin"||d==="onfocusout")return p("React uses onFocus and onBlur instead of onFocusIn and onFocusOut. All React events are normalized to bubble, so onFocusIn and onFocusOut are not needed/supported by React."),Rr[n]=!0,!0;if(u!=null){var m=u.registrationNameDependencies,x=u.possibleRegistrationNames;if(m.hasOwnProperty(n))return!0;var T=x.hasOwnProperty(d)?x[d]:null;if(T!=null)return p("Invalid event handler property `%s`. Did you mean `%s`?",n,T),Rr[n]=!0,!0;if(im.test(n))return p("Unknown event handler property `%s`. It will be ignored.",n),Rr[n]=!0,!0}else if(im.test(n))return s1.test(n)&&p("Invalid event handler property `%s`. React events use the camelCase naming convention, for example `onClick`.",n),Rr[n]=!0,!0;if(l1.test(n)||u1.test(n))return!0;if(d==="innerhtml")return p("Directly setting property `innerHTML` is not permitted. For more information, lookup documentation on `dangerouslySetInnerHTML`."),Rr[n]=!0,!0;if(d==="aria")return p("The `aria` attribute is reserved for future use in React. Pass individual `aria-` attributes instead."),Rr[n]=!0,!0;if(d==="is"&&s!==null&&s!==void 0&&typeof s!="string")return p("Received a `%s` for a string attribute `is`. If this is expected, cast the value to a string.",typeof s),Rr[n]=!0,!0;if(typeof s=="number"&&isNaN(s))return p("Received NaN for the `%s` attribute. If this is expected, cast the value to a string.",n),Rr[n]=!0,!0;var _=va(n),M=_!==null&&_.type===Nr;if(ip.hasOwnProperty(d)){var L=ip[d];if(L!==n)return p("Invalid DOM property `%s`. Did you mean `%s`?",n,L),Rr[n]=!0,!0}else if(!M&&n!==d)return p("React does not recognize the `%s` prop on a DOM element. If you intentionally want it to appear in the DOM as a custom attribute, spell it as lowercase `%s` instead. If you accidentally passed it from a parent component, remove it from the DOM element.",n,d),Rr[n]=!0,!0;return typeof s=="boolean"&&ea(n,s,_,!1)?(s?p('Received `%s` for a non-boolean attribute `%s`.\n\nIf you want to write it to the DOM, pass a string instead: %s="%s" or %s={value.toString()}.',s,n,n,s,n):p('Received `%s` for a non-boolean attribute `%s`.\n\nIf you want to write it to the DOM, pass a string instead: %s="%s" or %s={value.toString()}.\n\nIf you used to conditionally omit it with %s={condition && value}, pass %s={condition ? value : undefined} instead.',s,n,n,s,n,n,n),Rr[n]=!0,!0):M?!0:ea(n,s,_,!1)?(Rr[n]=!0,!1):((s==="false"||s==="true")&&_!==null&&_.type===Dn&&(p("Received the string `%s` for the boolean attribute `%s`. %s Did you mean %s={%s}?",s,n,s==="false"?"The browser will interpret it as a truthy value.":'Although this works, it will not work as expected if you pass the string "false".',n,s),Rr[n]=!0),!0)}}var c1=function(e,n,s){{var u=[];for(var d in n){var m=am(e,d,n[d],s);m||u.push(d)}var x=u.map(function(T){return"`"+T+"`"}).join(", ");u.length===1?p("Invalid value for prop %s on <%s> tag. Either remove it from the element, or pass a string or number value to keep it in the DOM. For details, see https://reactjs.org/link/attribute-behavior ",x,e):u.length>1&&p("Invalid values for props %s on <%s> tag. Either remove them from the element, or pass a string or number value to keep them in the DOM. For details, see https://reactjs.org/link/attribute-behavior ",x,e)}};function f1(e,n,s){$o(e,n)||c1(e,n,s)}var Bo=1,sf=2,kl=4,uw=Bo|sf|kl,lf=null;function uf(e){lf!==null&&p("Expected currently replaying event to be null. This error is likely caused by a bug in React. Please file an issue."),lf=e}function cw(){lf===null&&p("Expected currently replaying event to not be null. This error is likely caused by a bug in React. Please file an issue."),lf=null}function d1(e){return e===lf}function sp(e){var n=e.target||e.srcElement||window;return n.correspondingUseElement&&(n=n.correspondingUseElement),n.nodeType===Fo?n.parentNode:n}var bn=null,Rs=null,Vo=null;function Bu(e){var n=dc(e);if(n){if(typeof bn!="function")throw new Error("setRestoreImplementation() needs to be called to handle a target for controlled events. This error is likely caused by a bug in React. Please file an issue.");var s=n.stateNode;if(s){var u=db(s);bn(n.stateNode,n.type,u)}}}function p1(e){bn=e}function lp(e){Rs?Vo?Vo.push(e):Vo=[e]:Rs=e}function cf(){return Rs!==null||Vo!==null}function ff(){if(Rs){var e=Rs,n=Vo;if(Rs=null,Vo=null,Bu(e),n)for(var s=0;s<n.length;s++)Bu(n[s])}}var _l=function(e,n){return e(n)},om=function(){},sm=!1;function fw(){var e=cf();e&&(om(),ff())}function lm(e,n,s){if(sm)return e(n,s);sm=!0;try{return _l(e,n,s)}finally{sm=!1,fw()}}function up(e,n,s){_l=e,om=s}function cp(e){return e==="button"||e==="input"||e==="select"||e==="textarea"}function um(e,n,s){switch(e){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":return!!(s.disabled&&cp(n));default:return!1}}function Rl(e,n){var s=e.stateNode;if(s===null)return null;var u=db(s);if(u===null)return null;var d=u[n];if(um(n,e.type,u))return null;if(d&&typeof d!="function")throw new Error("Expected `"+n+"` listener to be a function, instead got a value of `"+typeof d+"` type.");return d}var df=!1;if(wt)try{var Dl={};Object.defineProperty(Dl,"passive",{get:function(){df=!0}}),window.addEventListener("test",Dl,Dl),window.removeEventListener("test",Dl,Dl)}catch{df=!1}function h1(e,n,s,u,d,m,x,T,_){var M=Array.prototype.slice.call(arguments,3);try{n.apply(s,M)}catch(L){this.onError(L)}}var cm=h1;if(typeof window<"u"&&typeof window.dispatchEvent=="function"&&typeof document<"u"&&typeof document.createEvent=="function"){var fm=document.createElement("react");cm=function(n,s,u,d,m,x,T,_,M){if(typeof document>"u"||document===null)throw new Error("The `document` global was defined when React was initialized, but is not defined anymore. This can happen in a test environment if a component schedules an update from an asynchronous callback, but the test has already finished running. To solve this, you can either unmount the component at the end of your test (and ensure that any asynchronous operations get canceled in `componentWillUnmount`), or you can change the test itself to be asynchronous.");var L=document.createEvent("Event"),G=!1,H=!0,re=window.event,ae=Object.getOwnPropertyDescriptor(window,"event");function ue(){fm.removeEventListener(ce,ft,!1),typeof window.event<"u"&&window.hasOwnProperty("event")&&(window.event=re)}var Ye=Array.prototype.slice.call(arguments,3);function ft(){G=!0,ue(),s.apply(u,Ye),H=!1}var rt,Ut=!1,Bt=!1;function ee(te){if(rt=te.error,Ut=!0,rt===null&&te.colno===0&&te.lineno===0&&(Bt=!0),te.defaultPrevented&&rt!=null&&typeof rt=="object")try{rt._suppressLogging=!0}catch{}}var ce="react-"+(n||"invokeguardedcallback");if(window.addEventListener("error",ee),fm.addEventListener(ce,ft,!1),L.initEvent(ce,!1,!1),fm.dispatchEvent(L),ae&&Object.defineProperty(window,"event",ae),G&&H&&(Ut?Bt&&(rt=new Error("A cross-origin error was thrown. React doesn't have access to the actual error object in development. See https://reactjs.org/link/crossorigin-error for more information.")):rt=new Error(`An error was thrown inside one of your components, but React doesn't know what it was. This is likely due to browser flakiness. React does its best to preserve the "Pause on exceptions" behavior of the DevTools, which requires some DEV-mode only tricks. It's possible that these don't work in your browser. Try triggering the error in production mode, or switching to a modern browser. If you suspect that this is actually an issue with React, please file an issue.`),this.onError(rt)),window.removeEventListener("error",ee),!G)return ue(),h1.apply(this,arguments)}}var dw=cm,Ds=!1,Qi=null,pf=!1,Os=null,co={onError:function(e){Ds=!0,Qi=e}};function Ol(e,n,s,u,d,m,x,T,_){Ds=!1,Qi=null,dw.apply(co,arguments)}function Io(e,n,s,u,d,m,x,T,_){if(Ol.apply(this,arguments),Ds){var M=pm();pf||(pf=!0,Os=M)}}function dm(){if(pf){var e=Os;throw pf=!1,Os=null,e}}function pw(){return Ds}function pm(){if(Ds){var e=Qi;return Ds=!1,Qi=null,e}else throw new Error("clearCaughtError was called but no error was captured. This error is likely caused by a bug in React. Please file an issue.")}function wi(e){return e._reactInternals}function hf(e){return e._reactInternals!==void 0}function Vu(e,n){e._reactInternals=n}var ut=0,As=1,Mn=2,Dt=4,Jt=16,rn=32,fo=64,St=128,Qn=256,Na=512,Ei=1024,In=2048,Ti=4096,Ms=8192,vf=16384,fp=In|Dt|fo|Na|Ei|vf,v1=32767,ei=32768,Dr=65536,mf=131072,hm=1048576,vm=2097152,ja=4194304,Ps=8388608,Fa=16777216,Al=33554432,Iu=Dt|Ei|0,$a=Mn|Dt|Jt|rn|Na|Ti|Ms,aa=Dt|fo|Na|Ms,ki=In|Jt,Br=ja|Ps|vm,Uo=i.ReactCurrentOwner;function ti(e){var n=e,s=e;if(e.alternate)for(;n.return;)n=n.return;else{var u=n;do n=u,(n.flags&(Mn|Ti))!==ut&&(s=n.return),u=n.return;while(u)}return n.tag===E?s:null}function mm(e){if(e.tag===V){var n=e.memoizedState;if(n===null){var s=e.alternate;s!==null&&(n=s.memoizedState)}if(n!==null)return n.dehydrated}return null}function dp(e){return e.tag===E?e.stateNode.containerInfo:null}function gm(e){return ti(e)===e}function ni(e){{var n=Uo.current;if(n!==null&&n.tag===S){var s=n,u=s.stateNode;u._warnedAboutRefsInRender||p("%s is accessing isMounted inside its render() function. render() should be a pure function of props and state. It should never access something that requires stale data from the previous render, such as refs. Move this logic to componentDidMount and componentDidUpdate instead.",Et(s)||"A component"),u._warnedAboutRefsInRender=!0}}var d=wi(e);return d?ti(d)===d:!1}function Ba(e){if(ti(e)!==e)throw new Error("Unable to find node on an unmounted component.")}function Pn(e){var n=e.alternate;if(!n){var s=ti(e);if(s===null)throw new Error("Unable to find node on an unmounted component.");return s!==e?null:e}for(var u=e,d=n;;){var m=u.return;if(m===null)break;var x=m.alternate;if(x===null){var T=m.return;if(T!==null){u=d=T;continue}break}if(m.child===x.child){for(var _=m.child;_;){if(_===u)return Ba(m),e;if(_===d)return Ba(m),n;_=_.sibling}throw new Error("Unable to find node on an unmounted component.")}if(u.return!==d.return)u=m,d=x;else{for(var M=!1,L=m.child;L;){if(L===u){M=!0,u=m,d=x;break}if(L===d){M=!0,d=m,u=x;break}L=L.sibling}if(!M){for(L=x.child;L;){if(L===u){M=!0,u=x,d=m;break}if(L===d){M=!0,d=x,u=m;break}L=L.sibling}if(!M)throw new Error("Child was not found in either parent set. This indicates a bug in React related to the return pointer. Please file an issue.")}}if(u.alternate!==d)throw new Error("Return fibers should always be each others' alternates. This error is likely caused by a bug in React. Please file an issue.")}if(u.tag!==E)throw new Error("Unable to find node on an unmounted component.");return u.stateNode.current===u?e:n}function _i(e){var n=Pn(e);return n!==null?ym(n):null}function ym(e){if(e.tag===R||e.tag===A)return e;for(var n=e.child;n!==null;){var s=ym(n);if(s!==null)return s;n=n.sibling}return null}function m1(e){var n=Pn(e);return n!==null?pp(n):null}function pp(e){if(e.tag===R||e.tag===A)return e;for(var n=e.child;n!==null;){if(n.tag!==k){var s=pp(n);if(s!==null)return s}n=n.sibling}return null}var hp=r.unstable_scheduleCallback,g1=r.unstable_cancelCallback,vp=r.unstable_shouldYield,y1=r.unstable_requestPaint,Wn=r.unstable_now,bm=r.unstable_getCurrentPriorityLevel,mp=r.unstable_ImmediatePriority,ri=r.unstable_UserBlockingPriority,po=r.unstable_NormalPriority,gp=r.unstable_LowPriority,Ls=r.unstable_IdlePriority,Sm=r.unstable_yieldValue,xm=r.unstable_setDisableYieldValue,zs=null,Or=null,Ne=null,ar=!1,Vr=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u";function Cm(e){if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u")return!1;var n=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(n.isDisabled)return!0;if(!n.supportsFiber)return p("The installed version of React DevTools is too old and will not work with the current version of React. Please update React DevTools. https://reactjs.org/link/react-devtools"),!0;try{Ie&&(e=Mt({},e,{getLaneLabelMap:js,injectProfilingHooks:Wo})),zs=n.inject(e),Or=n}catch(s){p("React instrumentation encountered an error: %s.",s)}return!!n.checkDCE}function b1(e,n){if(Or&&typeof Or.onScheduleFiberRoot=="function")try{Or.onScheduleFiberRoot(zs,e,n)}catch(s){ar||(ar=!0,p("React instrumentation encountered an error: %s",s))}}function Ho(e,n){if(Or&&typeof Or.onCommitFiberRoot=="function")try{var s=(e.current.flags&St)===St;if(Ae){var u;switch(n){case ia:u=mp;break;case Ir:u=ri;break;case Go:u=po;break;case Tf:u=Ls;break;default:u=po;break}Or.onCommitFiberRoot(zs,e,u,s)}}catch(d){ar||(ar=!0,p("React instrumentation encountered an error: %s",d))}}function Ns(e){if(Or&&typeof Or.onPostCommitFiberRoot=="function")try{Or.onPostCommitFiberRoot(zs,e)}catch(n){ar||(ar=!0,p("React instrumentation encountered an error: %s",n))}}function wm(e){if(Or&&typeof Or.onCommitFiberUnmount=="function")try{Or.onCommitFiberUnmount(zs,e)}catch(n){ar||(ar=!0,p("React instrumentation encountered an error: %s",n))}}function yr(e){if(typeof Sm=="function"&&(xm(e),f(e)),Or&&typeof Or.setStrictMode=="function")try{Or.setStrictMode(zs,e)}catch(n){ar||(ar=!0,p("React instrumentation encountered an error: %s",n))}}function Wo(e){Ne=e}function js(){{for(var e=new Map,n=1,s=0;s<Ln;s++){var u=hw(n);e.set(n,u),n*=2}return e}}function yp(e){Ne!==null&&typeof Ne.markCommitStarted=="function"&&Ne.markCommitStarted(e)}function Em(){Ne!==null&&typeof Ne.markCommitStopped=="function"&&Ne.markCommitStopped()}function Fs(e){Ne!==null&&typeof Ne.markComponentRenderStarted=="function"&&Ne.markComponentRenderStarted(e)}function Ml(){Ne!==null&&typeof Ne.markComponentRenderStopped=="function"&&Ne.markComponentRenderStopped()}function S1(e){Ne!==null&&typeof Ne.markComponentPassiveEffectMountStarted=="function"&&Ne.markComponentPassiveEffectMountStarted(e)}function Tm(){Ne!==null&&typeof Ne.markComponentPassiveEffectMountStopped=="function"&&Ne.markComponentPassiveEffectMountStopped()}function bp(e){Ne!==null&&typeof Ne.markComponentPassiveEffectUnmountStarted=="function"&&Ne.markComponentPassiveEffectUnmountStarted(e)}function x1(){Ne!==null&&typeof Ne.markComponentPassiveEffectUnmountStopped=="function"&&Ne.markComponentPassiveEffectUnmountStopped()}function C1(e){Ne!==null&&typeof Ne.markComponentLayoutEffectMountStarted=="function"&&Ne.markComponentLayoutEffectMountStarted(e)}function w1(){Ne!==null&&typeof Ne.markComponentLayoutEffectMountStopped=="function"&&Ne.markComponentLayoutEffectMountStopped()}function Sp(e){Ne!==null&&typeof Ne.markComponentLayoutEffectUnmountStarted=="function"&&Ne.markComponentLayoutEffectUnmountStarted(e)}function Uu(){Ne!==null&&typeof Ne.markComponentLayoutEffectUnmountStopped=="function"&&Ne.markComponentLayoutEffectUnmountStopped()}function xp(e,n,s){Ne!==null&&typeof Ne.markComponentErrored=="function"&&Ne.markComponentErrored(e,n,s)}function E1(e,n,s){Ne!==null&&typeof Ne.markComponentSuspended=="function"&&Ne.markComponentSuspended(e,n,s)}function T1(e){Ne!==null&&typeof Ne.markLayoutEffectsStarted=="function"&&Ne.markLayoutEffectsStarted(e)}function Hu(){Ne!==null&&typeof Ne.markLayoutEffectsStopped=="function"&&Ne.markLayoutEffectsStopped()}function k1(e){Ne!==null&&typeof Ne.markPassiveEffectsStarted=="function"&&Ne.markPassiveEffectsStarted(e)}function gf(){Ne!==null&&typeof Ne.markPassiveEffectsStopped=="function"&&Ne.markPassiveEffectsStopped()}function Ki(e){Ne!==null&&typeof Ne.markRenderStarted=="function"&&Ne.markRenderStarted(e)}function yf(){Ne!==null&&typeof Ne.markRenderYielded=="function"&&Ne.markRenderYielded()}function Wu(){Ne!==null&&typeof Ne.markRenderStopped=="function"&&Ne.markRenderStopped()}function Pl(e){Ne!==null&&typeof Ne.markRenderScheduled=="function"&&Ne.markRenderScheduled(e)}function km(e,n){Ne!==null&&typeof Ne.markForceUpdateScheduled=="function"&&Ne.markForceUpdateScheduled(e,n)}function $s(e,n){Ne!==null&&typeof Ne.markStateUpdateScheduled=="function"&&Ne.markStateUpdateScheduled(e,n)}var dt=0,Nt=1,ht=2,Yn=8,Ri=16,Cp=Math.clz32?Math.clz32:Ll,wp=Math.log,_m=Math.LN2;function Ll(e){var n=e>>>0;return n===0?32:31-(wp(n)/_m|0)|0}var Ln=31,fe=0,Vt=0,vt=1,ho=2,ai=4,zl=8,zn=16,Nl=32,Bs=4194240,jl=64,Di=128,Va=256,Fl=512,bf=1024,Sf=2048,Ep=4096,Tp=8192,kp=16384,_p=32768,Rp=65536,Dp=131072,Op=262144,Ap=524288,$l=1048576,Mp=2097152,Bl=130023424,Yo=4194304,Pp=8388608,xf=16777216,Lp=33554432,zp=67108864,Rm=Yo,Yu=134217728,Np=268435455,Gu=268435456,Vs=536870912,Ia=1073741824;function hw(e){{if(e&vt)return"Sync";if(e&ho)return"InputContinuousHydration";if(e&ai)return"InputContinuous";if(e&zl)return"DefaultHydration";if(e&zn)return"Default";if(e&Nl)return"TransitionHydration";if(e&Bs)return"Transition";if(e&Bl)return"Retry";if(e&Yu)return"SelectiveHydration";if(e&Gu)return"IdleHydration";if(e&Vs)return"Idle";if(e&Ia)return"Offscreen"}}var Sn=-1,jp=jl,Fp=Yo;function qu(e){switch(fr(e)){case vt:return vt;case ho:return ho;case ai:return ai;case zl:return zl;case zn:return zn;case Nl:return Nl;case jl:case Di:case Va:case Fl:case bf:case Sf:case Ep:case Tp:case kp:case _p:case Rp:case Dp:case Op:case Ap:case $l:case Mp:return e&Bs;case Yo:case Pp:case xf:case Lp:case zp:return e&Bl;case Yu:return Yu;case Gu:return Gu;case Vs:return Vs;case Ia:return Ia;default:return p("Should have found matching lanes. This is a bug in React."),e}}function Cf(e,n){var s=e.pendingLanes;if(s===fe)return fe;var u=fe,d=e.suspendedLanes,m=e.pingedLanes,x=s&Np;if(x!==fe){var T=x&~d;if(T!==fe)u=qu(T);else{var _=x&m;_!==fe&&(u=qu(_))}}else{var M=s&~d;M!==fe?u=qu(M):m!==fe&&(u=qu(m))}if(u===fe)return fe;if(n!==fe&&n!==u&&(n&d)===fe){var L=fr(u),G=fr(n);if(L>=G||L===zn&&(G&Bs)!==fe)return n}(u&ai)!==fe&&(u|=s&zn);var H=e.entangledLanes;if(H!==fe)for(var re=e.entanglements,ae=u&H;ae>0;){var ue=Is(ae),Ye=1<<ue;u|=re[ue],ae&=~Ye}return u}function _1(e,n){for(var s=e.eventTimes,u=Sn;n>0;){var d=Is(n),m=1<<d,x=s[d];x>u&&(u=x),n&=~m}return u}function $p(e,n){switch(e){case vt:case ho:case ai:return n+250;case zl:case zn:case Nl:case jl:case Di:case Va:case Fl:case bf:case Sf:case Ep:case Tp:case kp:case _p:case Rp:case Dp:case Op:case Ap:case $l:case Mp:return n+5e3;case Yo:case Pp:case xf:case Lp:case zp:return Sn;case Yu:case Gu:case Vs:case Ia:return Sn;default:return p("Should have found matching lanes. This is a bug in React."),Sn}}function vw(e,n){for(var s=e.pendingLanes,u=e.suspendedLanes,d=e.pingedLanes,m=e.expirationTimes,x=s;x>0;){var T=Is(x),_=1<<T,M=m[T];M===Sn?((_&u)===fe||(_&d)!==fe)&&(m[T]=$p(_,n)):M<=n&&(e.expiredLanes|=_),x&=~_}}function mw(e){return qu(e.pendingLanes)}function Dm(e){var n=e.pendingLanes&~Ia;return n!==fe?n:n&Ia?Ia:fe}function Xu(e){return(e&vt)!==fe}function wf(e){return(e&Np)!==fe}function Bp(e){return(e&Bl)===e}function gw(e){var n=vt|ai|zn;return(e&n)===fe}function R1(e){return(e&Bs)===e}function Ef(e,n){var s=ho|ai|zl|zn;return(n&s)!==fe}function D1(e,n){return(n&e.expiredLanes)!==fe}function Om(e){return(e&Bs)!==fe}function Am(){var e=jp;return jp<<=1,(jp&Bs)===fe&&(jp=jl),e}function yw(){var e=Fp;return Fp<<=1,(Fp&Bl)===fe&&(Fp=Yo),e}function fr(e){return e&-e}function br(e){return fr(e)}function Is(e){return 31-Cp(e)}function Vp(e){return Is(e)}function Ua(e,n){return(e&n)!==fe}function Vl(e,n){return(e&n)===n}function Ot(e,n){return e|n}function Qu(e,n){return e&~n}function Mm(e,n){return e&n}function O1(e){return e}function A1(e,n){return e!==Vt&&e<n?e:n}function Ip(e){for(var n=[],s=0;s<Ln;s++)n.push(e);return n}function Il(e,n,s){e.pendingLanes|=n,n!==Vs&&(e.suspendedLanes=fe,e.pingedLanes=fe);var u=e.eventTimes,d=Vp(n);u[d]=s}function Pm(e,n){e.suspendedLanes|=n,e.pingedLanes&=~n;for(var s=e.expirationTimes,u=n;u>0;){var d=Is(u),m=1<<d;s[d]=Sn,u&=~m}}function Lm(e,n,s){e.pingedLanes|=e.suspendedLanes&n}function zm(e,n){var s=e.pendingLanes&~n;e.pendingLanes=n,e.suspendedLanes=fe,e.pingedLanes=fe,e.expiredLanes&=n,e.mutableReadLanes&=n,e.entangledLanes&=n;for(var u=e.entanglements,d=e.eventTimes,m=e.expirationTimes,x=s;x>0;){var T=Is(x),_=1<<T;u[T]=fe,d[T]=Sn,m[T]=Sn,x&=~_}}function Ku(e,n){for(var s=e.entangledLanes|=n,u=e.entanglements,d=s;d;){var m=Is(d),x=1<<m;x&n|u[m]&n&&(u[m]|=n),d&=~x}}function bw(e,n){var s=fr(n),u;switch(s){case ai:u=ho;break;case zn:u=zl;break;case jl:case Di:case Va:case Fl:case bf:case Sf:case Ep:case Tp:case kp:case _p:case Rp:case Dp:case Op:case Ap:case $l:case Mp:case Yo:case Pp:case xf:case Lp:case zp:u=Nl;break;case Vs:u=Gu;break;default:u=Vt;break}return(u&(e.suspendedLanes|n))!==Vt?Vt:u}function Nm(e,n,s){if(Vr)for(var u=e.pendingUpdatersLaneMap;s>0;){var d=Vp(s),m=1<<d,x=u[d];x.add(n),s&=~m}}function Up(e,n){if(Vr)for(var s=e.pendingUpdatersLaneMap,u=e.memoizedUpdaters;n>0;){var d=Vp(n),m=1<<d,x=s[d];x.size>0&&(x.forEach(function(T){var _=T.alternate;(_===null||!u.has(_))&&u.add(T)}),x.clear()),n&=~m}}function jm(e,n){return null}var ia=vt,Ir=ai,Go=zn,Tf=Vs,Ul=Vt;function Oi(){return Ul}function Sr(e){Ul=e}function kf(e,n){var s=Ul;try{return Ul=e,n()}finally{Ul=s}}function oa(e,n){return e!==0&&e<n?e:n}function Sw(e,n){return e===0||e>n?e:n}function Fm(e,n){return e!==0&&e<n}function _f(e){var n=fr(e);return Fm(ia,n)?Fm(Ir,n)?wf(n)?Go:Tf:Ir:ia}function xr(e){var n=e.current.memoizedState;return n.isDehydrated}var M1;function qe(e){M1=e}function Zu(e){M1(e)}var Rf;function P1(e){Rf=e}var L1;function Df(e){L1=e}var Of;function $m(e){Of=e}var Bm;function z1(e){Bm=e}var Hp=!1,Ju=[],vo=null,Un=null,Ar=null,Ai=new Map,ec=new Map,qo=[],Zi=["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"];function N1(e){return Zi.indexOf(e)>-1}function mo(e,n,s,u,d){return{blockedOn:e,domEventName:n,eventSystemFlags:s,nativeEvent:d,targetContainers:[u]}}function j1(e,n){switch(e){case"focusin":case"focusout":vo=null;break;case"dragenter":case"dragleave":Un=null;break;case"mouseover":case"mouseout":Ar=null;break;case"pointerover":case"pointerout":{var s=n.pointerId;Ai.delete(s);break}case"gotpointercapture":case"lostpointercapture":{var u=n.pointerId;ec.delete(u);break}}}function tc(e,n,s,u,d,m){if(e===null||e.nativeEvent!==m){var x=mo(n,s,u,d,m);if(n!==null){var T=dc(n);T!==null&&Rf(T)}return x}e.eventSystemFlags|=u;var _=e.targetContainers;return d!==null&&_.indexOf(d)===-1&&_.push(d),e}function F1(e,n,s,u,d){switch(n){case"focusin":{var m=d;return vo=tc(vo,e,n,s,u,m),!0}case"dragenter":{var x=d;return Un=tc(Un,e,n,s,u,x),!0}case"mouseover":{var T=d;return Ar=tc(Ar,e,n,s,u,T),!0}case"pointerover":{var _=d,M=_.pointerId;return Ai.set(M,tc(Ai.get(M)||null,e,n,s,u,_)),!0}case"gotpointercapture":{var L=d,G=L.pointerId;return ec.set(G,tc(ec.get(G)||null,e,n,s,u,L)),!0}}return!1}function Vm(e){var n=$f(e.target);if(n!==null){var s=ti(n);if(s!==null){var u=s.tag;if(u===V){var d=mm(s);if(d!==null){e.blockedOn=d,Bm(e.priority,function(){L1(s)});return}}else if(u===E){var m=s.stateNode;if(xr(m)){e.blockedOn=dp(s);return}}}}e.blockedOn=null}function $1(e){for(var n=Of(),s={blockedOn:null,target:e,priority:n},u=0;u<qo.length&&Fm(n,qo[u].priority);u++);qo.splice(u,0,s),u===0&&Vm(s)}function Wp(e){if(e.blockedOn!==null)return!1;for(var n=e.targetContainers;n.length>0;){var s=n[0],u=Hl(e.domEventName,e.eventSystemFlags,s,e.nativeEvent);if(u===null){var d=e.nativeEvent,m=new d.constructor(d.type,d);uf(m),d.target.dispatchEvent(m),cw()}else{var x=dc(u);return x!==null&&Rf(x),e.blockedOn=u,!1}n.shift()}return!0}function Af(e,n,s){Wp(e)&&s.delete(n)}function Im(){Hp=!1,vo!==null&&Wp(vo)&&(vo=null),Un!==null&&Wp(Un)&&(Un=null),Ar!==null&&Wp(Ar)&&(Ar=null),Ai.forEach(Af),ec.forEach(Af)}function sa(e,n){e.blockedOn===n&&(e.blockedOn=null,Hp||(Hp=!0,r.unstable_scheduleCallback(r.unstable_NormalPriority,Im)))}function $t(e){if(Ju.length>0){sa(Ju[0],e);for(var n=1;n<Ju.length;n++){var s=Ju[n];s.blockedOn===e&&(s.blockedOn=null)}}vo!==null&&sa(vo,e),Un!==null&&sa(Un,e),Ar!==null&&sa(Ar,e);var u=function(T){return sa(T,e)};Ai.forEach(u),ec.forEach(u);for(var d=0;d<qo.length;d++){var m=qo[d];m.blockedOn===e&&(m.blockedOn=null)}for(;qo.length>0;){var x=qo[0];if(x.blockedOn!==null)break;Vm(x),x.blockedOn===null&&qo.shift()}}var Gn=i.ReactCurrentBatchConfig,Kn=!0;function Mr(e){Kn=!!e}function ii(){return Kn}function nc(e,n,s){var u=ba(n),d;switch(u){case ia:d=Cr;break;case Ir:d=Mf;break;case Go:default:d=Xo;break}return d.bind(null,n,s,e)}function Cr(e,n,s,u){var d=Oi(),m=Gn.transition;Gn.transition=null;try{Sr(ia),Xo(e,n,s,u)}finally{Sr(d),Gn.transition=m}}function Mf(e,n,s,u){var d=Oi(),m=Gn.transition;Gn.transition=null;try{Sr(Ir),Xo(e,n,s,u)}finally{Sr(d),Gn.transition=m}}function Xo(e,n,s,u){Kn&&Yp(e,n,s,u)}function Yp(e,n,s,u){var d=Hl(e,n,s,u);if(d===null){Bw(e,n,u,rc,s),j1(e,u);return}if(F1(d,e,n,s,u)){u.stopPropagation();return}if(j1(e,u),n&kl&&N1(e)){for(;d!==null;){var m=dc(d);m!==null&&Zu(m);var x=Hl(e,n,s,u);if(x===null&&Bw(e,n,u,rc,s),x===d)break;d=x}d!==null&&u.stopPropagation();return}Bw(e,n,u,null,s)}var rc=null;function Hl(e,n,s,u){rc=null;var d=sp(u),m=$f(d);if(m!==null){var x=ti(m);if(x===null)m=null;else{var T=x.tag;if(T===V){var _=mm(x);if(_!==null)return _;m=null}else if(T===E){var M=x.stateNode;if(xr(M))return dp(x);m=null}else x!==m&&(m=null)}}return rc=m,null}function ba(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 ia;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 Ir;case"message":{var n=bm();switch(n){case mp:return ia;case ri:return Ir;case po:case gp:return Go;case Ls:return Tf;default:return Go}}default:return Go}}function Um(e,n,s){return e.addEventListener(n,s,!1),s}function ac(e,n,s){return e.addEventListener(n,s,!0),s}function Qo(e,n,s,u){return e.addEventListener(n,s,{capture:!0,passive:u}),s}function Gp(e,n,s,u){return e.addEventListener(n,s,{passive:u}),s}var Wl=null,go=null,Us=null;function Hs(e){return Wl=e,go=Xp(),!0}function qp(){Wl=null,go=null,Us=null}function ic(){if(Us)return Us;var e,n=go,s=n.length,u,d=Xp(),m=d.length;for(e=0;e<s&&n[e]===d[e];e++);var x=s-e;for(u=1;u<=x&&n[s-u]===d[m-u];u++);var T=u>1?1-u:void 0;return Us=d.slice(e,T),Us}function Xp(){return"value"in Wl?Wl.value:Wl.textContent}function Yl(e){var n,s=e.keyCode;return"charCode"in e?(n=e.charCode,n===0&&s===13&&(n=13)):n=s,n===10&&(n=13),n>=32||n===13?n:0}function Gl(){return!0}function la(){return!1}function dr(e){function n(s,u,d,m,x){this._reactName=s,this._targetInst=d,this.type=u,this.nativeEvent=m,this.target=x,this.currentTarget=null;for(var T in e)if(e.hasOwnProperty(T)){var _=e[T];_?this[T]=_(m):this[T]=m[T]}var M=m.defaultPrevented!=null?m.defaultPrevented:m.returnValue===!1;return M?this.isDefaultPrevented=Gl:this.isDefaultPrevented=la,this.isPropagationStopped=la,this}return Mt(n.prototype,{preventDefault:function(){this.defaultPrevented=!0;var s=this.nativeEvent;s&&(s.preventDefault?s.preventDefault():typeof s.returnValue!="unknown"&&(s.returnValue=!1),this.isDefaultPrevented=Gl)},stopPropagation:function(){var s=this.nativeEvent;s&&(s.stopPropagation?s.stopPropagation():typeof s.cancelBubble!="unknown"&&(s.cancelBubble=!0),this.isPropagationStopped=Gl)},persist:function(){},isPersistent:Gl}),n}var ua={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},ca=dr(ua),oc=Mt({},ua,{view:0,detail:0}),Hm=dr(oc),Pf,Wm,Mi;function B1(e){e!==Mi&&(Mi&&e.type==="mousemove"?(Pf=e.screenX-Mi.screenX,Wm=e.screenY-Mi.screenY):(Pf=0,Wm=0),Mi=e)}var sc=Mt({},oc,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Zp,button:0,buttons:0,relatedTarget:function(e){return e.relatedTarget===void 0?e.fromElement===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return"movementX"in e?e.movementX:(B1(e),Pf)},movementY:function(e){return"movementY"in e?e.movementY:Wm}}),Ws=dr(sc),Ym=Mt({},sc,{dataTransfer:0}),ql=dr(Ym),V1=Mt({},oc,{relatedTarget:0}),Qp=dr(V1),Gm=Mt({},ua,{animationName:0,elapsedTime:0,pseudoElement:0}),Kp=dr(Gm),xw=Mt({},ua,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),Cw=dr(xw),I1=Mt({},ua,{data:0}),qm=dr(I1),Xl=qm,ww={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},lc={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"};function U1(e){if(e.key){var n=ww[e.key]||e.key;if(n!=="Unidentified")return n}if(e.type==="keypress"){var s=Yl(e);return s===13?"Enter":String.fromCharCode(s)}return e.type==="keydown"||e.type==="keyup"?lc[e.keyCode]||"Unidentified":""}var Zn={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function Ew(e){var n=this,s=n.nativeEvent;if(s.getModifierState)return s.getModifierState(e);var u=Zn[e];return u?!!s[u]:!1}function Zp(e){return Ew}var Tw=Mt({},oc,{key:U1,code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Zp,charCode:function(e){return e.type==="keypress"?Yl(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?Yl(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),kw=dr(Tw),H1=Mt({},sc,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),Xm=dr(H1),_w=Mt({},oc,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Zp}),Pi=dr(_w),Qm=Mt({},ua,{propertyName:0,elapsedTime:0,pseudoElement:0}),Rw=dr(Qm),Ys=Mt({},sc,{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}),Jp=dr(Ys),Ql=[9,13,27,32],Lf=229,zf=wt&&"CompositionEvent"in window,Kl=null;wt&&"documentMode"in document&&(Kl=document.documentMode);var Dw=wt&&"TextEvent"in window&&!Kl,eh=wt&&(!zf||Kl&&Kl>8&&Kl<=11),W1=32,Km=String.fromCharCode(W1);function Y1(){yt("onBeforeInput",["compositionend","keypress","textInput","paste"]),yt("onCompositionEnd",["compositionend","focusout","keydown","keypress","keyup","mousedown"]),yt("onCompositionStart",["compositionstart","focusout","keydown","keypress","keyup","mousedown"]),yt("onCompositionUpdate",["compositionupdate","focusout","keydown","keypress","keyup","mousedown"])}var Nf=!1;function th(e){return(e.ctrlKey||e.altKey||e.metaKey)&&!(e.ctrlKey&&e.altKey)}function G1(e){switch(e){case"compositionstart":return"onCompositionStart";case"compositionend":return"onCompositionEnd";case"compositionupdate":return"onCompositionUpdate"}}function Zm(e,n){return e==="keydown"&&n.keyCode===Lf}function q1(e,n){switch(e){case"keyup":return Ql.indexOf(n.keyCode)!==-1;case"keydown":return n.keyCode!==Lf;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Jm(e){var n=e.detail;return typeof n=="object"&&"data"in n?n.data:null}function nh(e){return e.locale==="ko"}var Ko=!1;function eg(e,n,s,u,d){var m,x;if(zf?m=G1(n):Ko?q1(n,u)&&(m="onCompositionEnd"):Zm(n,u)&&(m="onCompositionStart"),!m)return null;eh&&!nh(u)&&(!Ko&&m==="onCompositionStart"?Ko=Hs(d):m==="onCompositionEnd"&&Ko&&(x=ic()));var T=J1(s,m);if(T.length>0){var _=new qm(m,n,null,u,d);if(e.push({event:_,listeners:T}),x)_.data=x;else{var M=Jm(u);M!==null&&(_.data=M)}}}function rh(e,n){switch(e){case"compositionend":return Jm(n);case"keypress":var s=n.which;return s!==W1?null:(Nf=!0,Km);case"textInput":var u=n.data;return u===Km&&Nf?null:u;default:return null}}function X1(e,n){if(Ko){if(e==="compositionend"||!zf&&q1(e,n)){var s=ic();return qp(),Ko=!1,s}return null}switch(e){case"paste":return null;case"keypress":if(!th(n)){if(n.char&&n.char.length>1)return n.char;if(n.which)return String.fromCharCode(n.which)}return null;case"compositionend":return eh&&!nh(n)?null:n.data;default:return null}}function Ow(e,n,s,u,d){var m;if(Dw?m=rh(n,u):m=X1(n,u),!m)return null;var x=J1(s,"onBeforeInput");if(x.length>0){var T=new Xl("onBeforeInput","beforeinput",null,u,d);e.push({event:T,listeners:x}),T.data=m}}function ah(e,n,s,u,d,m,x){eg(e,n,s,u,d),Ow(e,n,s,u,d)}var Aw={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 uc(e){var n=e&&e.nodeName&&e.nodeName.toLowerCase();return n==="input"?!!Aw[e.type]:n==="textarea"}/**
99
+ * Checks if an event is supported in the current execution environment.
100
+ *
101
+ * NOTE: This will not work correctly for non-generic events such as `change`,
102
+ * `reset`, `load`, `error`, and `select`.
103
+ *
104
+ * Borrows from Modernizr.
105
+ *
106
+ * @param {string} eventNameSuffix Event name, e.g. "click".
107
+ * @return {boolean} True if the event is supported.
108
+ * @internal
109
+ * @license Modernizr 3.0.0pre (Custom Build) | MIT
110
+ */function Mw(e){if(!wt)return!1;var n="on"+e,s=n in document;if(!s){var u=document.createElement("div");u.setAttribute(n,"return;"),s=typeof u[n]=="function"}return s}function ih(){yt("onChange",["change","click","focusin","focusout","input","keydown","keyup","selectionchange"])}function a(e,n,s,u){lp(u);var d=J1(n,"onChange");if(d.length>0){var m=new ca("onChange","change",null,s,u);e.push({event:m,listeners:d})}}var o=null,c=null;function v(e){var n=e.nodeName&&e.nodeName.toLowerCase();return n==="select"||n==="input"&&e.type==="file"}function b(e){var n=[];a(n,c,e,sp(e)),lm(w,n)}function w(e){NO(e,0)}function D(e){var n=fh(e);if(z(n))return e}function N(e,n){if(e==="change")return n}var I=!1;wt&&(I=Mw("input")&&(!document.documentMode||document.documentMode>9));function oe(e,n){o=e,c=n,o.attachEvent("onpropertychange",Ce)}function xe(){o&&(o.detachEvent("onpropertychange",Ce),o=null,c=null)}function Ce(e){e.propertyName==="value"&&D(c)&&b(e)}function ge(e,n,s){e==="focusin"?(xe(),oe(n,s)):e==="focusout"&&xe()}function He(e,n){if(e==="selectionchange"||e==="keyup"||e==="keydown")return D(c)}function Qe(e){var n=e.nodeName;return n&&n.toLowerCase()==="input"&&(e.type==="checkbox"||e.type==="radio")}function et(e,n){if(e==="click")return D(n)}function ir(e,n){if(e==="input"||e==="change")return D(n)}function Z(e){var n=e._wrapperState;!n||!n.controlled||e.type!=="number"||Gi(e,"number",e.value)}function Y(e,n,s,u,d,m,x){var T=s?fh(s):window,_,M;if(v(T)?_=N:uc(T)?I?_=ir:(_=He,M=ge):Qe(T)&&(_=et),_){var L=_(n,s);if(L){a(e,L,u,d);return}}M&&M(n,T,s),n==="focusout"&&Z(T)}function ne(){he("onMouseEnter",["mouseout","mouseover"]),he("onMouseLeave",["mouseout","mouseover"]),he("onPointerEnter",["pointerout","pointerover"]),he("onPointerLeave",["pointerout","pointerover"])}function ke(e,n,s,u,d,m,x){var T=n==="mouseover"||n==="pointerover",_=n==="mouseout"||n==="pointerout";if(T&&!d1(u)){var M=u.relatedTarget||u.fromElement;if(M&&($f(M)||hg(M)))return}if(!(!_&&!T)){var L;if(d.window===d)L=d;else{var G=d.ownerDocument;G?L=G.defaultView||G.parentWindow:L=window}var H,re;if(_){var ae=u.relatedTarget||u.toElement;if(H=s,re=ae?$f(ae):null,re!==null){var ue=ti(re);(re!==ue||re.tag!==R&&re.tag!==A)&&(re=null)}}else H=null,re=s;if(H!==re){var Ye=Ws,ft="onMouseLeave",rt="onMouseEnter",Ut="mouse";(n==="pointerout"||n==="pointerover")&&(Ye=Xm,ft="onPointerLeave",rt="onPointerEnter",Ut="pointer");var Bt=H==null?L:fh(H),ee=re==null?L:fh(re),ce=new Ye(ft,Ut+"leave",H,u,d);ce.target=Bt,ce.relatedTarget=ee;var te=null,we=$f(d);if(we===s){var Ge=new Ye(rt,Ut+"enter",re,u,d);Ge.target=ee,Ge.relatedTarget=Bt,te=Ge}HX(e,ce,te,H,re)}}}function nt(e,n){return e===n&&(e!==0||1/e===1/n)||e!==e&&n!==n}var Ke=typeof Object.is=="function"?Object.is:nt;function ot(e,n){if(Ke(e,n))return!0;if(typeof e!="object"||e===null||typeof n!="object"||n===null)return!1;var s=Object.keys(e),u=Object.keys(n);if(s.length!==u.length)return!1;for(var d=0;d<s.length;d++){var m=s[d];if(!mn.call(n,m)||!Ke(e[m],n[m]))return!1}return!0}function xt(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function Pr(e){for(;e;){if(e.nextSibling)return e.nextSibling;e=e.parentNode}}function Wt(e,n){for(var s=xt(e),u=0,d=0;s;){if(s.nodeType===Fo){if(d=u+s.textContent.length,u<=n&&d>=n)return{node:s,offset:n-u};u=d}s=xt(Pr(s))}}function Gs(e){var n=e.ownerDocument,s=n&&n.defaultView||window,u=s.getSelection&&s.getSelection();if(!u||u.rangeCount===0)return null;var d=u.anchorNode,m=u.anchorOffset,x=u.focusNode,T=u.focusOffset;try{d.nodeType,x.nodeType}catch{return null}return Pw(e,d,m,x,T)}function Pw(e,n,s,u,d){var m=0,x=-1,T=-1,_=0,M=0,L=e,G=null;e:for(;;){for(var H=null;L===n&&(s===0||L.nodeType===Fo)&&(x=m+s),L===u&&(d===0||L.nodeType===Fo)&&(T=m+d),L.nodeType===Fo&&(m+=L.nodeValue.length),(H=L.firstChild)!==null;)G=L,L=H;for(;;){if(L===e)break e;if(G===n&&++_===s&&(x=m),G===u&&++M===d&&(T=m),(H=L.nextSibling)!==null)break;L=G,G=L.parentNode}L=H}return x===-1||T===-1?null:{start:x,end:T}}function TX(e,n){var s=e.ownerDocument||document,u=s&&s.defaultView||window;if(u.getSelection){var d=u.getSelection(),m=e.textContent.length,x=Math.min(n.start,m),T=n.end===void 0?x:Math.min(n.end,m);if(!d.extend&&x>T){var _=T;T=x,x=_}var M=Wt(e,x),L=Wt(e,T);if(M&&L){if(d.rangeCount===1&&d.anchorNode===M.node&&d.anchorOffset===M.offset&&d.focusNode===L.node&&d.focusOffset===L.offset)return;var G=s.createRange();G.setStart(M.node,M.offset),d.removeAllRanges(),x>T?(d.addRange(G),d.extend(L.node,L.offset)):(G.setEnd(L.node,L.offset),d.addRange(G))}}}function EO(e){return e&&e.nodeType===Fo}function TO(e,n){return!e||!n?!1:e===n?!0:EO(e)?!1:EO(n)?TO(e,n.parentNode):"contains"in e?e.contains(n):e.compareDocumentPosition?!!(e.compareDocumentPosition(n)&16):!1}function kX(e){return e&&e.ownerDocument&&TO(e.ownerDocument.documentElement,e)}function _X(e){try{return typeof e.contentWindow.location.href=="string"}catch{return!1}}function kO(){for(var e=window,n=W();n instanceof e.HTMLIFrameElement;){if(_X(n))e=n.contentWindow;else return n;n=W(e.document)}return n}function Lw(e){var n=e&&e.nodeName&&e.nodeName.toLowerCase();return n&&(n==="input"&&(e.type==="text"||e.type==="search"||e.type==="tel"||e.type==="url"||e.type==="password")||n==="textarea"||e.contentEditable==="true")}function RX(){var e=kO();return{focusedElem:e,selectionRange:Lw(e)?OX(e):null}}function DX(e){var n=kO(),s=e.focusedElem,u=e.selectionRange;if(n!==s&&kX(s)){u!==null&&Lw(s)&&AX(s,u);for(var d=[],m=s;m=m.parentNode;)m.nodeType===za&&d.push({element:m,left:m.scrollLeft,top:m.scrollTop});typeof s.focus=="function"&&s.focus();for(var x=0;x<d.length;x++){var T=d[x];T.element.scrollLeft=T.left,T.element.scrollTop=T.top}}}function OX(e){var n;return"selectionStart"in e?n={start:e.selectionStart,end:e.selectionEnd}:n=Gs(e),n||{start:0,end:0}}function AX(e,n){var s=n.start,u=n.end;u===void 0&&(u=s),"selectionStart"in e?(e.selectionStart=s,e.selectionEnd=Math.min(u,e.value.length)):TX(e,n)}var MX=wt&&"documentMode"in document&&document.documentMode<=11;function PX(){yt("onSelect",["focusout","contextmenu","dragend","focusin","keydown","keyup","mousedown","mouseup","selectionchange"])}var oh=null,zw=null,tg=null,Nw=!1;function LX(e){if("selectionStart"in e&&Lw(e))return{start:e.selectionStart,end:e.selectionEnd};var n=e.ownerDocument&&e.ownerDocument.defaultView||window,s=n.getSelection();return{anchorNode:s.anchorNode,anchorOffset:s.anchorOffset,focusNode:s.focusNode,focusOffset:s.focusOffset}}function zX(e){return e.window===e?e.document:e.nodeType===qi?e:e.ownerDocument}function _O(e,n,s){var u=zX(s);if(!(Nw||oh==null||oh!==W(u))){var d=LX(oh);if(!tg||!ot(tg,d)){tg=d;var m=J1(zw,"onSelect");if(m.length>0){var x=new ca("onSelect","select",null,n,s);e.push({event:x,listeners:m}),x.target=oh}}}}function NX(e,n,s,u,d,m,x){var T=s?fh(s):window;switch(n){case"focusin":(uc(T)||T.contentEditable==="true")&&(oh=T,zw=s,tg=null);break;case"focusout":oh=null,zw=null,tg=null;break;case"mousedown":Nw=!0;break;case"contextmenu":case"mouseup":case"dragend":Nw=!1,_O(e,u,d);break;case"selectionchange":if(MX)break;case"keydown":case"keyup":_O(e,u,d)}}function Q1(e,n){var s={};return s[e.toLowerCase()]=n.toLowerCase(),s["Webkit"+e]="webkit"+n,s["Moz"+e]="moz"+n,s}var sh={animationend:Q1("Animation","AnimationEnd"),animationiteration:Q1("Animation","AnimationIteration"),animationstart:Q1("Animation","AnimationStart"),transitionend:Q1("Transition","TransitionEnd")},jw={},RO={};wt&&(RO=document.createElement("div").style,"AnimationEvent"in window||(delete sh.animationend.animation,delete sh.animationiteration.animation,delete sh.animationstart.animation),"TransitionEvent"in window||delete sh.transitionend.transition);function K1(e){if(jw[e])return jw[e];if(!sh[e])return e;var n=sh[e];for(var s in n)if(n.hasOwnProperty(s)&&s in RO)return jw[e]=n[s];return e}var DO=K1("animationend"),OO=K1("animationiteration"),AO=K1("animationstart"),MO=K1("transitionend"),PO=new Map,LO=["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"];function cc(e,n){PO.set(e,n),yt(n,[e])}function jX(){for(var e=0;e<LO.length;e++){var n=LO[e],s=n.toLowerCase(),u=n[0].toUpperCase()+n.slice(1);cc(s,"on"+u)}cc(DO,"onAnimationEnd"),cc(OO,"onAnimationIteration"),cc(AO,"onAnimationStart"),cc("dblclick","onDoubleClick"),cc("focusin","onFocus"),cc("focusout","onBlur"),cc(MO,"onTransitionEnd")}function FX(e,n,s,u,d,m,x){var T=PO.get(n);if(T!==void 0){var _=ca,M=n;switch(n){case"keypress":if(Yl(u)===0)return;case"keydown":case"keyup":_=kw;break;case"focusin":M="focus",_=Qp;break;case"focusout":M="blur",_=Qp;break;case"beforeblur":case"afterblur":_=Qp;break;case"click":if(u.button===2)return;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":_=Ws;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":_=ql;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":_=Pi;break;case DO:case OO:case AO:_=Kp;break;case MO:_=Rw;break;case"scroll":_=Hm;break;case"wheel":_=Jp;break;case"copy":case"cut":case"paste":_=Cw;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":_=Xm;break}var L=(m&kl)!==0;{var G=!L&&n==="scroll",H=IX(s,T,u.type,L,G);if(H.length>0){var re=new _(T,M,null,u,d);e.push({event:re,listeners:H})}}}}jX(),ne(),ih(),PX(),Y1();function $X(e,n,s,u,d,m,x){FX(e,n,s,u,d,m);var T=(m&uw)===0;T&&(ke(e,n,s,u,d),Y(e,n,s,u,d),NX(e,n,s,u,d),ah(e,n,s,u,d))}var ng=["abort","canplay","canplaythrough","durationchange","emptied","encrypted","ended","error","loadeddata","loadedmetadata","loadstart","pause","play","playing","progress","ratechange","resize","seeked","seeking","stalled","suspend","timeupdate","volumechange","waiting"],Fw=new Set(["cancel","close","invalid","load","scroll","toggle"].concat(ng));function zO(e,n,s){var u=e.type||"unknown-event";e.currentTarget=s,Io(u,n,void 0,e),e.currentTarget=null}function BX(e,n,s){var u;if(s)for(var d=n.length-1;d>=0;d--){var m=n[d],x=m.instance,T=m.currentTarget,_=m.listener;if(x!==u&&e.isPropagationStopped())return;zO(e,_,T),u=x}else for(var M=0;M<n.length;M++){var L=n[M],G=L.instance,H=L.currentTarget,re=L.listener;if(G!==u&&e.isPropagationStopped())return;zO(e,re,H),u=G}}function NO(e,n){for(var s=(n&kl)!==0,u=0;u<e.length;u++){var d=e[u],m=d.event,x=d.listeners;BX(m,x,s)}dm()}function VX(e,n,s,u,d){var m=sp(s),x=[];$X(x,e,u,s,m,n),NO(x,n)}function qn(e,n){Fw.has(e)||p('Did not expect a listenToNonDelegatedEvent() call for "%s". This is a bug in React. Please file an issue.',e);var s=!1,u=gK(n),d=WX(e,s);u.has(d)||(jO(n,e,sf,s),u.add(d))}function $w(e,n,s){Fw.has(e)&&!n&&p('Did not expect a listenToNativeEvent() call for "%s" in the bubble phase. This is a bug in React. Please file an issue.',e);var u=0;n&&(u|=kl),jO(s,e,u,n)}var Z1="_reactListening"+Math.random().toString(36).slice(2);function rg(e){if(!e[Z1]){e[Z1]=!0,$e.forEach(function(s){s!=="selectionchange"&&(Fw.has(s)||$w(s,!1,e),$w(s,!0,e))});var n=e.nodeType===qi?e:e.ownerDocument;n!==null&&(n[Z1]||(n[Z1]=!0,$w("selectionchange",!1,n)))}}function jO(e,n,s,u,d){var m=nc(e,n,s),x=void 0;df&&(n==="touchstart"||n==="touchmove"||n==="wheel")&&(x=!0),e=e,u?x!==void 0?Qo(e,n,m,x):ac(e,n,m):x!==void 0?Gp(e,n,m,x):Um(e,n,m)}function FO(e,n){return e===n||e.nodeType===cr&&e.parentNode===n}function Bw(e,n,s,u,d){var m=u;if(!(n&Bo)&&!(n&sf)){var x=d;if(u!==null){var T=u;e:for(;;){if(T===null)return;var _=T.tag;if(_===E||_===k){var M=T.stateNode.containerInfo;if(FO(M,x))break;if(_===k)for(var L=T.return;L!==null;){var G=L.tag;if(G===E||G===k){var H=L.stateNode.containerInfo;if(FO(H,x))return}L=L.return}for(;M!==null;){var re=$f(M);if(re===null)return;var ae=re.tag;if(ae===R||ae===A){T=m=re;continue e}M=M.parentNode}}T=T.return}}}lm(function(){return VX(e,n,s,m)})}function ag(e,n,s){return{instance:e,listener:n,currentTarget:s}}function IX(e,n,s,u,d,m){for(var x=n!==null?n+"Capture":null,T=u?x:n,_=[],M=e,L=null;M!==null;){var G=M,H=G.stateNode,re=G.tag;if(re===R&&H!==null&&(L=H,T!==null)){var ae=Rl(M,T);ae!=null&&_.push(ag(M,ae,L))}if(d)break;M=M.return}return _}function J1(e,n){for(var s=n+"Capture",u=[],d=e;d!==null;){var m=d,x=m.stateNode,T=m.tag;if(T===R&&x!==null){var _=x,M=Rl(d,s);M!=null&&u.unshift(ag(d,M,_));var L=Rl(d,n);L!=null&&u.push(ag(d,L,_))}d=d.return}return u}function lh(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==R);return e||null}function UX(e,n){for(var s=e,u=n,d=0,m=s;m;m=lh(m))d++;for(var x=0,T=u;T;T=lh(T))x++;for(;d-x>0;)s=lh(s),d--;for(;x-d>0;)u=lh(u),x--;for(var _=d;_--;){if(s===u||u!==null&&s===u.alternate)return s;s=lh(s),u=lh(u)}return null}function $O(e,n,s,u,d){for(var m=n._reactName,x=[],T=s;T!==null&&T!==u;){var _=T,M=_.alternate,L=_.stateNode,G=_.tag;if(M!==null&&M===u)break;if(G===R&&L!==null){var H=L;if(d){var re=Rl(T,m);re!=null&&x.unshift(ag(T,re,H))}else if(!d){var ae=Rl(T,m);ae!=null&&x.push(ag(T,ae,H))}}T=T.return}x.length!==0&&e.push({event:n,listeners:x})}function HX(e,n,s,u,d){var m=u&&d?UX(u,d):null;u!==null&&$O(e,n,u,m,!1),d!==null&&s!==null&&$O(e,s,d,m,!0)}function WX(e,n){return e+"__"+(n?"capture":"bubble")}var Li=!1,ig="dangerouslySetInnerHTML",eb="suppressContentEditableWarning",fc="suppressHydrationWarning",BO="autoFocus",jf="children",Ff="style",tb="__html",Vw,nb,og,VO,rb,IO,UO;Vw={dialog:!0,webview:!0},nb=function(e,n){op(e,n),rm(e,n),f1(e,n,{registrationNameDependencies:Je,possibleRegistrationNames:tt})},IO=wt&&!document.documentMode,og=function(e,n,s){if(!Li){var u=ab(s),d=ab(n);d!==u&&(Li=!0,p("Prop `%s` did not match. Server: %s Client: %s",e,JSON.stringify(d),JSON.stringify(u)))}},VO=function(e){if(!Li){Li=!0;var n=[];e.forEach(function(s){n.push(s)}),p("Extra attributes from the server: %s",n)}},rb=function(e,n){n===!1?p("Expected `%s` listener to be a function, instead got `false`.\n\nIf you used to conditionally omit it with %s={condition && value}, pass %s={condition ? value : undefined} instead.",e,e,e):p("Expected `%s` listener to be a function, instead got a value of `%s` type.",e,typeof n)},UO=function(e,n){var s=e.namespaceURI===jo?e.ownerDocument.createElement(e.tagName):e.ownerDocument.createElementNS(e.namespaceURI,e.tagName);return s.innerHTML=n,s.innerHTML};var YX=/\r\n?/g,GX=/\u0000|\uFFFD/g;function ab(e){mr(e);var n=typeof e=="string"?e:""+e;return n.replace(YX,`
111
+ `).replace(GX,"")}function ib(e,n,s,u){var d=ab(n),m=ab(e);if(m!==d&&(u&&(Li||(Li=!0,p('Text content did not match. Server: "%s" Client: "%s"',m,d))),s&&st))throw new Error("Text content does not match server-rendered HTML.")}function HO(e){return e.nodeType===qi?e:e.ownerDocument}function qX(){}function ob(e){e.onclick=qX}function XX(e,n,s,u,d){for(var m in u)if(u.hasOwnProperty(m)){var x=u[m];if(m===Ff)x&&Object.freeze(x),t1(n,x);else if(m===ig){var T=x?x[tb]:void 0;T!=null&&H0(n,T)}else if(m===jf)if(typeof x=="string"){var _=e!=="textarea"||x!=="";_&&np(n,x)}else typeof x=="number"&&np(n,""+x);else m===eb||m===fc||m===BO||(Je.hasOwnProperty(m)?x!=null&&(typeof x!="function"&&rb(m,x),m==="onScroll"&&qn("scroll",n)):x!=null&&Si(n,m,x,d))}}function QX(e,n,s,u){for(var d=0;d<n.length;d+=2){var m=n[d],x=n[d+1];m===Ff?t1(e,x):m===ig?H0(e,x):m===jf?np(e,x):Si(e,m,x,u)}}function KX(e,n,s,u){var d,m=HO(s),x,T=u;if(T===jo&&(T=ep(e)),T===jo){if(d=$o(e,n),!d&&e!==e.toLowerCase()&&p("<%s /> is using incorrect casing. Use PascalCase for React components, or lowercase for HTML elements.",e),e==="script"){var _=m.createElement("div");_.innerHTML="<script><\/script>";var M=_.firstChild;x=_.removeChild(M)}else if(typeof n.is=="string")x=m.createElement(e,{is:n.is});else if(x=m.createElement(e),e==="select"){var L=x;n.multiple?L.multiple=!0:n.size&&(L.size=n.size)}}else x=m.createElementNS(T,e);return T===jo&&!d&&Object.prototype.toString.call(x)==="[object HTMLUnknownElement]"&&!mn.call(Vw,e)&&(Vw[e]=!0,p("The tag <%s> is unrecognized in this browser. If you meant to render a React component, start its name with an uppercase letter.",e)),x}function ZX(e,n){return HO(n).createTextNode(e)}function JX(e,n,s,u){var d=$o(n,s);nb(n,s);var m;switch(n){case"dialog":qn("cancel",e),qn("close",e),m=s;break;case"iframe":case"object":case"embed":qn("load",e),m=s;break;case"video":case"audio":for(var x=0;x<ng.length;x++)qn(ng[x],e);m=s;break;case"source":qn("error",e),m=s;break;case"img":case"image":case"link":qn("error",e),qn("load",e),m=s;break;case"details":qn("toggle",e),m=s;break;case"input":nn(e,s),m=Pt(e,s),qn("invalid",e);break;case"option":Zd(e,s),m=s;break;case"select":B0(e,s),m=Yv(e,s),qn("invalid",e);break;case"textarea":V0(e,s),m=qv(e,s),qn("invalid",e);break;default:m=s}switch(ap(n,m),XX(n,e,u,m,d),n){case"input":No(e),Yi(e,s,!1);break;case"textarea":No(e),U0(e);break;case"option":Wv(e,s);break;case"select":Z2(e,s);break;default:typeof m.onClick=="function"&&ob(e);break}}function eQ(e,n,s,u,d){nb(n,u);var m=null,x,T;switch(n){case"input":x=Pt(e,s),T=Pt(e,u),m=[];break;case"select":x=Yv(e,s),T=Yv(e,u),m=[];break;case"textarea":x=qv(e,s),T=qv(e,u),m=[];break;default:x=s,T=u,typeof x.onClick!="function"&&typeof T.onClick=="function"&&ob(e);break}ap(n,T);var _,M,L=null;for(_ in x)if(!(T.hasOwnProperty(_)||!x.hasOwnProperty(_)||x[_]==null))if(_===Ff){var G=x[_];for(M in G)G.hasOwnProperty(M)&&(L||(L={}),L[M]="")}else _===ig||_===jf||_===eb||_===fc||_===BO||(Je.hasOwnProperty(_)?m||(m=[]):(m=m||[]).push(_,null));for(_ in T){var H=T[_],re=x!=null?x[_]:void 0;if(!(!T.hasOwnProperty(_)||H===re||H==null&&re==null))if(_===Ff)if(H&&Object.freeze(H),re){for(M in re)re.hasOwnProperty(M)&&(!H||!H.hasOwnProperty(M))&&(L||(L={}),L[M]="");for(M in H)H.hasOwnProperty(M)&&re[M]!==H[M]&&(L||(L={}),L[M]=H[M])}else L||(m||(m=[]),m.push(_,L)),L=H;else if(_===ig){var ae=H?H[tb]:void 0,ue=re?re[tb]:void 0;ae!=null&&ue!==ae&&(m=m||[]).push(_,ae)}else _===jf?(typeof H=="string"||typeof H=="number")&&(m=m||[]).push(_,""+H):_===eb||_===fc||(Je.hasOwnProperty(_)?(H!=null&&(typeof H!="function"&&rb(_,H),_==="onScroll"&&qn("scroll",e)),!m&&re!==H&&(m=[])):(m=m||[]).push(_,H))}return L&&(af(L,T[Ff]),(m=m||[]).push(Ff,L)),m}function tQ(e,n,s,u,d){s==="input"&&d.type==="radio"&&d.name!=null&&ra(e,d);var m=$o(s,u),x=$o(s,d);switch(QX(e,n,m,x),s){case"input":ur(e,d);break;case"textarea":I0(e,d);break;case"select":J2(e,d);break}}function nQ(e){{var n=e.toLowerCase();return ip.hasOwnProperty(n)&&ip[n]||null}}function rQ(e,n,s,u,d,m,x){var T,_;switch(T=$o(n,s),nb(n,s),n){case"dialog":qn("cancel",e),qn("close",e);break;case"iframe":case"object":case"embed":qn("load",e);break;case"video":case"audio":for(var M=0;M<ng.length;M++)qn(ng[M],e);break;case"source":qn("error",e);break;case"img":case"image":case"link":qn("error",e),qn("load",e);break;case"details":qn("toggle",e);break;case"input":nn(e,s),qn("invalid",e);break;case"option":Zd(e,s);break;case"select":B0(e,s),qn("invalid",e);break;case"textarea":V0(e,s),qn("invalid",e);break}ap(n,s);{_=new Set;for(var L=e.attributes,G=0;G<L.length;G++){var H=L[G].name.toLowerCase();switch(H){case"value":break;case"checked":break;case"selected":break;default:_.add(L[G].name)}}}var re=null;for(var ae in s)if(s.hasOwnProperty(ae)){var ue=s[ae];if(ae===jf)typeof ue=="string"?e.textContent!==ue&&(s[fc]!==!0&&ib(e.textContent,ue,m,x),re=[jf,ue]):typeof ue=="number"&&e.textContent!==""+ue&&(s[fc]!==!0&&ib(e.textContent,ue,m,x),re=[jf,""+ue]);else if(Je.hasOwnProperty(ae))ue!=null&&(typeof ue!="function"&&rb(ae,ue),ae==="onScroll"&&qn("scroll",e));else if(x&&typeof T=="boolean"){var Ye=void 0,ft=T&&Ee?null:va(ae);if(s[fc]!==!0){if(!(ae===eb||ae===fc||ae==="value"||ae==="checked"||ae==="selected")){if(ae===ig){var rt=e.innerHTML,Ut=ue?ue[tb]:void 0;if(Ut!=null){var Bt=UO(e,Ut);Bt!==rt&&og(ae,rt,Bt)}}else if(ae===Ff){if(_.delete(ae),IO){var ee=sw(ue);Ye=e.getAttribute("style"),ee!==Ye&&og(ae,Ye,ee)}}else if(T&&!Ee)_.delete(ae.toLowerCase()),Ye=Ts(e,ae,ue),ue!==Ye&&og(ae,Ye,ue);else if(!Tn(ae,ft,T)&&!cn(ae,ue,ft,T)){var ce=!1;if(ft!==null)_.delete(ft.attributeName),Ye=jr(e,ae,ue,ft);else{var te=u;if(te===jo&&(te=ep(n)),te===jo)_.delete(ae.toLowerCase());else{var we=nQ(ae);we!==null&&we!==ae&&(ce=!0,_.delete(we)),_.delete(ae)}Ye=Ts(e,ae,ue)}var Ge=Ee;!Ge&&ue!==Ye&&!ce&&og(ae,Ye,ue)}}}}}switch(x&&_.size>0&&s[fc]!==!0&&VO(_),n){case"input":No(e),Yi(e,s,!0);break;case"textarea":No(e),U0(e);break;case"select":case"option":break;default:typeof s.onClick=="function"&&ob(e);break}return re}function aQ(e,n,s){var u=e.nodeValue!==n;return u}function Iw(e,n){{if(Li)return;Li=!0,p("Did not expect server HTML to contain a <%s> in <%s>.",n.nodeName.toLowerCase(),e.nodeName.toLowerCase())}}function Uw(e,n){{if(Li)return;Li=!0,p('Did not expect server HTML to contain the text node "%s" in <%s>.',n.nodeValue,e.nodeName.toLowerCase())}}function Hw(e,n,s){{if(Li)return;Li=!0,p("Expected server HTML to contain a matching <%s> in <%s>.",n,e.nodeName.toLowerCase())}}function Ww(e,n){{if(n===""||Li)return;Li=!0,p('Expected server HTML to contain a matching text node for "%s" in <%s>.',n,e.nodeName.toLowerCase())}}function iQ(e,n,s){switch(n){case"input":Pu(e,s);return;case"textarea":Xv(e,s);return;case"select":ew(e,s);return}}var sg=function(){},lg=function(){};{var oQ=["address","applet","area","article","aside","base","basefont","bgsound","blockquote","body","br","button","caption","center","col","colgroup","dd","details","dir","div","dl","dt","embed","fieldset","figcaption","figure","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","iframe","img","input","isindex","li","link","listing","main","marquee","menu","menuitem","meta","nav","noembed","noframes","noscript","object","ol","p","param","plaintext","pre","script","section","select","source","style","summary","table","tbody","td","template","textarea","tfoot","th","thead","title","tr","track","ul","wbr","xmp"],WO=["applet","caption","html","table","td","th","marquee","object","template","foreignObject","desc","title"],sQ=WO.concat(["button"]),lQ=["dd","dt","li","option","optgroup","p","rp","rt"],YO={current:null,formTag:null,aTagInScope:null,buttonTagInScope:null,nobrTagInScope:null,pTagInButtonScope:null,listItemTagAutoclosing:null,dlItemTagAutoclosing:null};lg=function(e,n){var s=Mt({},e||YO),u={tag:n};return WO.indexOf(n)!==-1&&(s.aTagInScope=null,s.buttonTagInScope=null,s.nobrTagInScope=null),sQ.indexOf(n)!==-1&&(s.pTagInButtonScope=null),oQ.indexOf(n)!==-1&&n!=="address"&&n!=="div"&&n!=="p"&&(s.listItemTagAutoclosing=null,s.dlItemTagAutoclosing=null),s.current=u,n==="form"&&(s.formTag=u),n==="a"&&(s.aTagInScope=u),n==="button"&&(s.buttonTagInScope=u),n==="nobr"&&(s.nobrTagInScope=u),n==="p"&&(s.pTagInButtonScope=u),n==="li"&&(s.listItemTagAutoclosing=u),(n==="dd"||n==="dt")&&(s.dlItemTagAutoclosing=u),s};var uQ=function(e,n){switch(n){case"select":return e==="option"||e==="optgroup"||e==="#text";case"optgroup":return e==="option"||e==="#text";case"option":return e==="#text";case"tr":return e==="th"||e==="td"||e==="style"||e==="script"||e==="template";case"tbody":case"thead":case"tfoot":return e==="tr"||e==="style"||e==="script"||e==="template";case"colgroup":return e==="col"||e==="template";case"table":return e==="caption"||e==="colgroup"||e==="tbody"||e==="tfoot"||e==="thead"||e==="style"||e==="script"||e==="template";case"head":return e==="base"||e==="basefont"||e==="bgsound"||e==="link"||e==="meta"||e==="title"||e==="noscript"||e==="noframes"||e==="style"||e==="script"||e==="template";case"html":return e==="head"||e==="body"||e==="frameset";case"frameset":return e==="frame";case"#document":return e==="html"}switch(e){case"h1":case"h2":case"h3":case"h4":case"h5":case"h6":return n!=="h1"&&n!=="h2"&&n!=="h3"&&n!=="h4"&&n!=="h5"&&n!=="h6";case"rp":case"rt":return lQ.indexOf(n)===-1;case"body":case"caption":case"col":case"colgroup":case"frameset":case"frame":case"head":case"html":case"tbody":case"td":case"tfoot":case"th":case"thead":case"tr":return n==null}return!0},cQ=function(e,n){switch(e){case"address":case"article":case"aside":case"blockquote":case"center":case"details":case"dialog":case"dir":case"div":case"dl":case"fieldset":case"figcaption":case"figure":case"footer":case"header":case"hgroup":case"main":case"menu":case"nav":case"ol":case"p":case"section":case"summary":case"ul":case"pre":case"listing":case"table":case"hr":case"xmp":case"h1":case"h2":case"h3":case"h4":case"h5":case"h6":return n.pTagInButtonScope;case"form":return n.formTag||n.pTagInButtonScope;case"li":return n.listItemTagAutoclosing;case"dd":case"dt":return n.dlItemTagAutoclosing;case"button":return n.buttonTagInScope;case"a":return n.aTagInScope;case"nobr":return n.nobrTagInScope}return null},GO={};sg=function(e,n,s){s=s||YO;var u=s.current,d=u&&u.tag;n!=null&&(e!=null&&p("validateDOMNesting: when childText is passed, childTag should be null"),e="#text");var m=uQ(e,d)?null:u,x=m?null:cQ(e,s),T=m||x;if(T){var _=T.tag,M=!!m+"|"+e+"|"+_;if(!GO[M]){GO[M]=!0;var L=e,G="";if(e==="#text"?/\S/.test(n)?L="Text nodes":(L="Whitespace text nodes",G=" Make sure you don't have any extra whitespace between tags on each line of your source code."):L="<"+e+">",m){var H="";_==="table"&&e==="tr"&&(H+=" Add a <tbody>, <thead> or <tfoot> to your code to match the DOM tree generated by the browser."),p("validateDOMNesting(...): %s cannot appear as a child of <%s>.%s%s",L,_,G,H)}else p("validateDOMNesting(...): %s cannot appear as a descendant of <%s>.",L,_)}}}}var sb="suppressHydrationWarning",lb="$",ub="/$",ug="$?",cg="$!",fQ="style",Yw=null,Gw=null;function dQ(e){var n,s,u=e.nodeType;switch(u){case qi:case El:{n=u===qi?"#document":"#fragment";var d=e.documentElement;s=d?d.namespaceURI:Kv(null,"");break}default:{var m=u===cr?e.parentNode:e,x=m.namespaceURI||null;n=m.tagName,s=Kv(x,n);break}}{var T=n.toLowerCase(),_=lg(null,T);return{namespace:s,ancestorInfo:_}}}function pQ(e,n,s){{var u=e,d=Kv(u.namespace,n),m=lg(u.ancestorInfo,n);return{namespace:d,ancestorInfo:m}}}function Dte(e){return e}function hQ(e){Yw=ii(),Gw=RX();var n=null;return Mr(!1),n}function vQ(e){DX(Gw),Mr(Yw),Yw=null,Gw=null}function mQ(e,n,s,u,d){var m;{var x=u;if(sg(e,null,x.ancestorInfo),typeof n.children=="string"||typeof n.children=="number"){var T=""+n.children,_=lg(x.ancestorInfo,e);sg(null,T,_)}m=x.namespace}var M=KX(e,n,s,m);return pg(d,M),tE(M,n),M}function gQ(e,n){e.appendChild(n)}function yQ(e,n,s,u,d){switch(JX(e,n,s,u),n){case"button":case"input":case"select":case"textarea":return!!s.autoFocus;case"img":return!0;default:return!1}}function bQ(e,n,s,u,d,m){{var x=m;if(typeof u.children!=typeof s.children&&(typeof u.children=="string"||typeof u.children=="number")){var T=""+u.children,_=lg(x.ancestorInfo,n);sg(null,T,_)}}return eQ(e,n,s,u)}function qw(e,n){return e==="textarea"||e==="noscript"||typeof n.children=="string"||typeof n.children=="number"||typeof n.dangerouslySetInnerHTML=="object"&&n.dangerouslySetInnerHTML!==null&&n.dangerouslySetInnerHTML.__html!=null}function SQ(e,n,s,u){{var d=s;sg(null,e,d.ancestorInfo)}var m=ZX(e,n);return pg(u,m),m}function xQ(){var e=window.event;return e===void 0?Go:ba(e.type)}var Xw=typeof setTimeout=="function"?setTimeout:void 0,CQ=typeof clearTimeout=="function"?clearTimeout:void 0,Qw=-1,qO=typeof Promise=="function"?Promise:void 0,wQ=typeof queueMicrotask=="function"?queueMicrotask:typeof qO<"u"?function(e){return qO.resolve(null).then(e).catch(EQ)}:Xw;function EQ(e){setTimeout(function(){throw e})}function TQ(e,n,s,u){switch(n){case"button":case"input":case"select":case"textarea":s.autoFocus&&e.focus();return;case"img":{s.src&&(e.src=s.src);return}}}function kQ(e,n,s,u,d,m){tQ(e,n,s,u,d),tE(e,d)}function XO(e){np(e,"")}function _Q(e,n,s){e.nodeValue=s}function RQ(e,n){e.appendChild(n)}function DQ(e,n){var s;e.nodeType===cr?(s=e.parentNode,s.insertBefore(n,e)):(s=e,s.appendChild(n));var u=e._reactRootContainer;u==null&&s.onclick===null&&ob(s)}function OQ(e,n,s){e.insertBefore(n,s)}function AQ(e,n,s){e.nodeType===cr?e.parentNode.insertBefore(n,s):e.insertBefore(n,s)}function MQ(e,n){e.removeChild(n)}function PQ(e,n){e.nodeType===cr?e.parentNode.removeChild(n):e.removeChild(n)}function Kw(e,n){var s=n,u=0;do{var d=s.nextSibling;if(e.removeChild(s),d&&d.nodeType===cr){var m=d.data;if(m===ub)if(u===0){e.removeChild(d),$t(n);return}else u--;else(m===lb||m===ug||m===cg)&&u++}s=d}while(s);$t(n)}function LQ(e,n){e.nodeType===cr?Kw(e.parentNode,n):e.nodeType===za&&Kw(e,n),$t(e)}function zQ(e){e=e;var n=e.style;typeof n.setProperty=="function"?n.setProperty("display","none","important"):n.display="none"}function NQ(e){e.nodeValue=""}function jQ(e,n){e=e;var s=n[fQ],u=s!=null&&s.hasOwnProperty("display")?s.display:null;e.style.display=rp("display",u)}function FQ(e,n){e.nodeValue=n}function $Q(e){e.nodeType===za?e.textContent="":e.nodeType===qi&&e.documentElement&&e.removeChild(e.documentElement)}function BQ(e,n,s){return e.nodeType!==za||n.toLowerCase()!==e.nodeName.toLowerCase()?null:e}function VQ(e,n){return n===""||e.nodeType!==Fo?null:e}function IQ(e){return e.nodeType!==cr?null:e}function QO(e){return e.data===ug}function Zw(e){return e.data===cg}function UQ(e){var n=e.nextSibling&&e.nextSibling.dataset,s,u,d;return n&&(s=n.dgst,u=n.msg,d=n.stck),{message:u,digest:s,stack:d}}function HQ(e,n){e._reactRetry=n}function cb(e){for(;e!=null;e=e.nextSibling){var n=e.nodeType;if(n===za||n===Fo)break;if(n===cr){var s=e.data;if(s===lb||s===cg||s===ug)break;if(s===ub)return null}}return e}function fg(e){return cb(e.nextSibling)}function WQ(e){return cb(e.firstChild)}function YQ(e){return cb(e.firstChild)}function GQ(e){return cb(e.nextSibling)}function qQ(e,n,s,u,d,m,x){pg(m,e),tE(e,s);var T;{var _=d;T=_.namespace}var M=(m.mode&Nt)!==dt;return rQ(e,n,s,T,u,M,x)}function XQ(e,n,s,u){return pg(s,e),s.mode&Nt,aQ(e,n)}function QQ(e,n){pg(n,e)}function KQ(e){for(var n=e.nextSibling,s=0;n;){if(n.nodeType===cr){var u=n.data;if(u===ub){if(s===0)return fg(n);s--}else(u===lb||u===cg||u===ug)&&s++}n=n.nextSibling}return null}function KO(e){for(var n=e.previousSibling,s=0;n;){if(n.nodeType===cr){var u=n.data;if(u===lb||u===cg||u===ug){if(s===0)return n;s--}else u===ub&&s++}n=n.previousSibling}return null}function ZQ(e){$t(e)}function JQ(e){$t(e)}function eK(e){return e!=="head"&&e!=="body"}function tK(e,n,s,u){var d=!0;ib(n.nodeValue,s,u,d)}function nK(e,n,s,u,d,m){if(n[sb]!==!0){var x=!0;ib(u.nodeValue,d,m,x)}}function rK(e,n){n.nodeType===za?Iw(e,n):n.nodeType===cr||Uw(e,n)}function aK(e,n){{var s=e.parentNode;s!==null&&(n.nodeType===za?Iw(s,n):n.nodeType===cr||Uw(s,n))}}function iK(e,n,s,u,d){(d||n[sb]!==!0)&&(u.nodeType===za?Iw(s,u):u.nodeType===cr||Uw(s,u))}function oK(e,n,s){Hw(e,n)}function sK(e,n){Ww(e,n)}function lK(e,n,s){{var u=e.parentNode;u!==null&&Hw(u,n)}}function uK(e,n){{var s=e.parentNode;s!==null&&Ww(s,n)}}function cK(e,n,s,u,d,m){(m||n[sb]!==!0)&&Hw(s,u)}function fK(e,n,s,u,d){(d||n[sb]!==!0)&&Ww(s,u)}function dK(e){p("An error occurred during hydration. The server HTML was replaced with client content in <%s>.",e.nodeName.toLowerCase())}function pK(e){rg(e)}var uh=Math.random().toString(36).slice(2),ch="__reactFiber$"+uh,Jw="__reactProps$"+uh,dg="__reactContainer$"+uh,eE="__reactEvents$"+uh,hK="__reactListeners$"+uh,vK="__reactHandles$"+uh;function mK(e){delete e[ch],delete e[Jw],delete e[eE],delete e[hK],delete e[vK]}function pg(e,n){n[ch]=e}function fb(e,n){n[dg]=e}function ZO(e){e[dg]=null}function hg(e){return!!e[dg]}function $f(e){var n=e[ch];if(n)return n;for(var s=e.parentNode;s;){if(n=s[dg]||s[ch],n){var u=n.alternate;if(n.child!==null||u!==null&&u.child!==null)for(var d=KO(e);d!==null;){var m=d[ch];if(m)return m;d=KO(d)}return n}e=s,s=e.parentNode}return null}function dc(e){var n=e[ch]||e[dg];return n&&(n.tag===R||n.tag===A||n.tag===V||n.tag===E)?n:null}function fh(e){if(e.tag===R||e.tag===A)return e.stateNode;throw new Error("getNodeFromInstance: Invalid argument.")}function db(e){return e[Jw]||null}function tE(e,n){e[Jw]=n}function gK(e){var n=e[eE];return n===void 0&&(n=e[eE]=new Set),n}var JO={},eA=i.ReactDebugCurrentFrame;function pb(e){if(e){var n=e._owner,s=Sl(e.type,e._source,n?n.type:null);eA.setExtraStackFrame(s)}else eA.setExtraStackFrame(null)}function Zo(e,n,s,u,d){{var m=Function.call.bind(mn);for(var x in e)if(m(e,x)){var T=void 0;try{if(typeof e[x]!="function"){var _=Error((u||"React class")+": "+s+" type `"+x+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof e[x]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw _.name="Invariant Violation",_}T=e[x](n,x,u,s,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(M){T=M}T&&!(T instanceof Error)&&(pb(d),p("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).",u||"React class",s,x,typeof T),pb(null)),T instanceof Error&&!(T.message in JO)&&(JO[T.message]=!0,pb(d),p("Failed %s type: %s",s,T.message),pb(null))}}}var nE=[],hb;hb=[];var Zl=-1;function pc(e){return{current:e}}function Ha(e,n){if(Zl<0){p("Unexpected pop.");return}n!==hb[Zl]&&p("Unexpected Fiber popped."),e.current=nE[Zl],nE[Zl]=null,hb[Zl]=null,Zl--}function Wa(e,n,s){Zl++,nE[Zl]=e.current,hb[Zl]=s,e.current=n}var rE;rE={};var Ji={};Object.freeze(Ji);var Jl=pc(Ji),qs=pc(!1),aE=Ji;function dh(e,n,s){return s&&Xs(n)?aE:Jl.current}function tA(e,n,s){{var u=e.stateNode;u.__reactInternalMemoizedUnmaskedChildContext=n,u.__reactInternalMemoizedMaskedChildContext=s}}function ph(e,n){{var s=e.type,u=s.contextTypes;if(!u)return Ji;var d=e.stateNode;if(d&&d.__reactInternalMemoizedUnmaskedChildContext===n)return d.__reactInternalMemoizedMaskedChildContext;var m={};for(var x in u)m[x]=n[x];{var T=Et(e)||"Unknown";Zo(u,m,"context",T)}return d&&tA(e,n,m),m}}function vb(){return qs.current}function Xs(e){{var n=e.childContextTypes;return n!=null}}function mb(e){Ha(qs,e),Ha(Jl,e)}function iE(e){Ha(qs,e),Ha(Jl,e)}function nA(e,n,s){{if(Jl.current!==Ji)throw new Error("Unexpected context found on stack. This error is likely caused by a bug in React. Please file an issue.");Wa(Jl,n,e),Wa(qs,s,e)}}function rA(e,n,s){{var u=e.stateNode,d=n.childContextTypes;if(typeof u.getChildContext!="function"){{var m=Et(e)||"Unknown";rE[m]||(rE[m]=!0,p("%s.childContextTypes is specified but there is no getChildContext() method on the instance. You can either define getChildContext() on %s or remove childContextTypes from it.",m,m))}return s}var x=u.getChildContext();for(var T in x)if(!(T in d))throw new Error((Et(e)||"Unknown")+'.getChildContext(): key "'+T+'" is not defined in childContextTypes.');{var _=Et(e)||"Unknown";Zo(d,x,"child context",_)}return Mt({},s,x)}}function gb(e){{var n=e.stateNode,s=n&&n.__reactInternalMemoizedMergedChildContext||Ji;return aE=Jl.current,Wa(Jl,s,e),Wa(qs,qs.current,e),!0}}function aA(e,n,s){{var u=e.stateNode;if(!u)throw new Error("Expected to have an instance by this point. This error is likely caused by a bug in React. Please file an issue.");if(s){var d=rA(e,n,aE);u.__reactInternalMemoizedMergedChildContext=d,Ha(qs,e),Ha(Jl,e),Wa(Jl,d,e),Wa(qs,s,e)}else Ha(qs,e),Wa(qs,s,e)}}function yK(e){{if(!gm(e)||e.tag!==S)throw new Error("Expected subtree parent to be a mounted class component. This error is likely caused by a bug in React. Please file an issue.");var n=e;do{switch(n.tag){case E:return n.stateNode.context;case S:{var s=n.type;if(Xs(s))return n.stateNode.__reactInternalMemoizedMergedChildContext;break}}n=n.return}while(n!==null);throw new Error("Found unexpected detached subtree parent. This error is likely caused by a bug in React. Please file an issue.")}}var hc=0,yb=1,eu=null,oE=!1,sE=!1;function iA(e){eu===null?eu=[e]:eu.push(e)}function bK(e){oE=!0,iA(e)}function oA(){oE&&vc()}function vc(){if(!sE&&eu!==null){sE=!0;var e=0,n=Oi();try{var s=!0,u=eu;for(Sr(ia);e<u.length;e++){var d=u[e];do d=d(s);while(d!==null)}eu=null,oE=!1}catch(m){throw eu!==null&&(eu=eu.slice(e+1)),hp(mp,vc),m}finally{Sr(n),sE=!1}}return null}var hh=[],vh=0,bb=null,Sb=0,yo=[],bo=0,Bf=null,tu=1,nu="";function SK(e){return If(),(e.flags&hm)!==ut}function xK(e){return If(),Sb}function CK(){var e=nu,n=tu,s=n&~wK(n);return s.toString(32)+e}function Vf(e,n){If(),hh[vh++]=Sb,hh[vh++]=bb,bb=e,Sb=n}function sA(e,n,s){If(),yo[bo++]=tu,yo[bo++]=nu,yo[bo++]=Bf,Bf=e;var u=tu,d=nu,m=xb(u)-1,x=u&~(1<<m),T=s+1,_=xb(n)+m;if(_>30){var M=m-m%5,L=(1<<M)-1,G=(x&L).toString(32),H=x>>M,re=m-M,ae=xb(n)+re,ue=T<<re,Ye=ue|H,ft=G+d;tu=1<<ae|Ye,nu=ft}else{var rt=T<<m,Ut=rt|x,Bt=d;tu=1<<_|Ut,nu=Bt}}function lE(e){If();var n=e.return;if(n!==null){var s=1,u=0;Vf(e,s),sA(e,s,u)}}function xb(e){return 32-Cp(e)}function wK(e){return 1<<xb(e)-1}function uE(e){for(;e===bb;)bb=hh[--vh],hh[vh]=null,Sb=hh[--vh],hh[vh]=null;for(;e===Bf;)Bf=yo[--bo],yo[bo]=null,nu=yo[--bo],yo[bo]=null,tu=yo[--bo],yo[bo]=null}function EK(){return If(),Bf!==null?{id:tu,overflow:nu}:null}function TK(e,n){If(),yo[bo++]=tu,yo[bo++]=nu,yo[bo++]=Bf,tu=n.id,nu=n.overflow,Bf=e}function If(){xa()||p("Expected to be hydrating. This is a bug in React. Please file an issue.")}var Sa=null,So=null,Jo=!1,Uf=!1,mc=null;function kK(){Jo&&p("We should not be hydrating here. This is a bug in React. Please file a bug.")}function lA(){Uf=!0}function _K(){return Uf}function RK(e){var n=e.stateNode.containerInfo;return So=YQ(n),Sa=e,Jo=!0,mc=null,Uf=!1,!0}function DK(e,n,s){return So=GQ(n),Sa=e,Jo=!0,mc=null,Uf=!1,s!==null&&TK(e,s),!0}function uA(e,n){switch(e.tag){case E:{rK(e.stateNode.containerInfo,n);break}case R:{var s=(e.mode&Nt)!==dt;iK(e.type,e.memoizedProps,e.stateNode,n,s);break}case V:{var u=e.memoizedState;u.dehydrated!==null&&aK(u.dehydrated,n);break}}}function cA(e,n){uA(e,n);var s=Mee();s.stateNode=n,s.return=e;var u=e.deletions;u===null?(e.deletions=[s],e.flags|=Jt):u.push(s)}function cE(e,n){{if(Uf)return;switch(e.tag){case E:{var s=e.stateNode.containerInfo;switch(n.tag){case R:var u=n.type;n.pendingProps,oK(s,u);break;case A:var d=n.pendingProps;sK(s,d);break}break}case R:{var m=e.type,x=e.memoizedProps,T=e.stateNode;switch(n.tag){case R:{var _=n.type,M=n.pendingProps,L=(e.mode&Nt)!==dt;cK(m,x,T,_,M,L);break}case A:{var G=n.pendingProps,H=(e.mode&Nt)!==dt;fK(m,x,T,G,H);break}}break}case V:{var re=e.memoizedState,ae=re.dehydrated;if(ae!==null)switch(n.tag){case R:var ue=n.type;n.pendingProps,lK(ae,ue);break;case A:var Ye=n.pendingProps;uK(ae,Ye);break}break}default:return}}}function fA(e,n){n.flags=n.flags&~Ti|Mn,cE(e,n)}function dA(e,n){switch(e.tag){case R:{var s=e.type;e.pendingProps;var u=BQ(n,s);return u!==null?(e.stateNode=u,Sa=e,So=WQ(u),!0):!1}case A:{var d=e.pendingProps,m=VQ(n,d);return m!==null?(e.stateNode=m,Sa=e,So=null,!0):!1}case V:{var x=IQ(n);if(x!==null){var T={dehydrated:x,treeContext:EK(),retryLane:Ia};e.memoizedState=T;var _=Pee(x);return _.return=e,e.child=_,Sa=e,So=null,!0}return!1}default:return!1}}function fE(e){return(e.mode&Nt)!==dt&&(e.flags&St)===ut}function dE(e){throw new Error("Hydration failed because the initial UI does not match what was rendered on the server.")}function pE(e){if(Jo){var n=So;if(!n){fE(e)&&(cE(Sa,e),dE()),fA(Sa,e),Jo=!1,Sa=e;return}var s=n;if(!dA(e,n)){fE(e)&&(cE(Sa,e),dE()),n=fg(s);var u=Sa;if(!n||!dA(e,n)){fA(Sa,e),Jo=!1,Sa=e;return}cA(u,s)}}}function OK(e,n,s){var u=e.stateNode,d=!Uf,m=qQ(u,e.type,e.memoizedProps,n,s,e,d);return e.updateQueue=m,m!==null}function AK(e){var n=e.stateNode,s=e.memoizedProps,u=XQ(n,s,e);if(u){var d=Sa;if(d!==null)switch(d.tag){case E:{var m=d.stateNode.containerInfo,x=(d.mode&Nt)!==dt;tK(m,n,s,x);break}case R:{var T=d.type,_=d.memoizedProps,M=d.stateNode,L=(d.mode&Nt)!==dt;nK(T,_,M,n,s,L);break}}}return u}function MK(e){var n=e.memoizedState,s=n!==null?n.dehydrated:null;if(!s)throw new Error("Expected to have a hydrated suspense instance. This error is likely caused by a bug in React. Please file an issue.");QQ(s,e)}function PK(e){var n=e.memoizedState,s=n!==null?n.dehydrated:null;if(!s)throw new Error("Expected to have a hydrated suspense instance. This error is likely caused by a bug in React. Please file an issue.");return KQ(s)}function pA(e){for(var n=e.return;n!==null&&n.tag!==R&&n.tag!==E&&n.tag!==V;)n=n.return;Sa=n}function Cb(e){if(e!==Sa)return!1;if(!Jo)return pA(e),Jo=!0,!1;if(e.tag!==E&&(e.tag!==R||eK(e.type)&&!qw(e.type,e.memoizedProps))){var n=So;if(n)if(fE(e))hA(e),dE();else for(;n;)cA(e,n),n=fg(n)}return pA(e),e.tag===V?So=PK(e):So=Sa?fg(e.stateNode):null,!0}function LK(){return Jo&&So!==null}function hA(e){for(var n=So;n;)uA(e,n),n=fg(n)}function mh(){Sa=null,So=null,Jo=!1,Uf=!1}function vA(){mc!==null&&(u6(mc),mc=null)}function xa(){return Jo}function hE(e){mc===null?mc=[e]:mc.push(e)}var zK=i.ReactCurrentBatchConfig,NK=null;function jK(){return zK.transition}var es={recordUnsafeLifecycleWarnings:function(e,n){},flushPendingUnsafeLifecycleWarnings:function(){},recordLegacyContextWarning:function(e,n){},flushLegacyContextWarning:function(){},discardPendingWarnings:function(){}};{var FK=function(e){for(var n=null,s=e;s!==null;)s.mode&Yn&&(n=s),s=s.return;return n},Hf=function(e){var n=[];return e.forEach(function(s){n.push(s)}),n.sort().join(", ")},vg=[],mg=[],gg=[],yg=[],bg=[],Sg=[],Wf=new Set;es.recordUnsafeLifecycleWarnings=function(e,n){Wf.has(e.type)||(typeof n.componentWillMount=="function"&&n.componentWillMount.__suppressDeprecationWarning!==!0&&vg.push(e),e.mode&Yn&&typeof n.UNSAFE_componentWillMount=="function"&&mg.push(e),typeof n.componentWillReceiveProps=="function"&&n.componentWillReceiveProps.__suppressDeprecationWarning!==!0&&gg.push(e),e.mode&Yn&&typeof n.UNSAFE_componentWillReceiveProps=="function"&&yg.push(e),typeof n.componentWillUpdate=="function"&&n.componentWillUpdate.__suppressDeprecationWarning!==!0&&bg.push(e),e.mode&Yn&&typeof n.UNSAFE_componentWillUpdate=="function"&&Sg.push(e))},es.flushPendingUnsafeLifecycleWarnings=function(){var e=new Set;vg.length>0&&(vg.forEach(function(H){e.add(Et(H)||"Component"),Wf.add(H.type)}),vg=[]);var n=new Set;mg.length>0&&(mg.forEach(function(H){n.add(Et(H)||"Component"),Wf.add(H.type)}),mg=[]);var s=new Set;gg.length>0&&(gg.forEach(function(H){s.add(Et(H)||"Component"),Wf.add(H.type)}),gg=[]);var u=new Set;yg.length>0&&(yg.forEach(function(H){u.add(Et(H)||"Component"),Wf.add(H.type)}),yg=[]);var d=new Set;bg.length>0&&(bg.forEach(function(H){d.add(Et(H)||"Component"),Wf.add(H.type)}),bg=[]);var m=new Set;if(Sg.length>0&&(Sg.forEach(function(H){m.add(Et(H)||"Component"),Wf.add(H.type)}),Sg=[]),n.size>0){var x=Hf(n);p(`Using UNSAFE_componentWillMount in strict mode is not recommended and may indicate bugs in your code. See https://reactjs.org/link/unsafe-component-lifecycles for details.
112
+
113
+ * Move code with side effects to componentDidMount, and set initial state in the constructor.
114
+
115
+ Please update the following components: %s`,x)}if(u.size>0){var T=Hf(u);p(`Using UNSAFE_componentWillReceiveProps in strict mode is not recommended and may indicate bugs in your code. See https://reactjs.org/link/unsafe-component-lifecycles for details.
116
+
117
+ * Move data fetching code or side effects to componentDidUpdate.
118
+ * If you're updating state whenever props change, refactor your code to use memoization techniques or move it to static getDerivedStateFromProps. Learn more at: https://reactjs.org/link/derived-state
119
+
120
+ Please update the following components: %s`,T)}if(m.size>0){var _=Hf(m);p(`Using UNSAFE_componentWillUpdate in strict mode is not recommended and may indicate bugs in your code. See https://reactjs.org/link/unsafe-component-lifecycles for details.
121
+
122
+ * Move data fetching code or side effects to componentDidUpdate.
123
+
124
+ Please update the following components: %s`,_)}if(e.size>0){var M=Hf(e);h(`componentWillMount has been renamed, and is not recommended for use. See https://reactjs.org/link/unsafe-component-lifecycles for details.
125
+
126
+ * Move code with side effects to componentDidMount, and set initial state in the constructor.
127
+ * Rename componentWillMount to UNSAFE_componentWillMount to suppress this warning in non-strict mode. In React 18.x, only the UNSAFE_ name will work. To rename all deprecated lifecycles to their new names, you can run \`npx react-codemod rename-unsafe-lifecycles\` in your project source folder.
128
+
129
+ Please update the following components: %s`,M)}if(s.size>0){var L=Hf(s);h(`componentWillReceiveProps has been renamed, and is not recommended for use. See https://reactjs.org/link/unsafe-component-lifecycles for details.
130
+
131
+ * Move data fetching code or side effects to componentDidUpdate.
132
+ * If you're updating state whenever props change, refactor your code to use memoization techniques or move it to static getDerivedStateFromProps. Learn more at: https://reactjs.org/link/derived-state
133
+ * Rename componentWillReceiveProps to UNSAFE_componentWillReceiveProps to suppress this warning in non-strict mode. In React 18.x, only the UNSAFE_ name will work. To rename all deprecated lifecycles to their new names, you can run \`npx react-codemod rename-unsafe-lifecycles\` in your project source folder.
134
+
135
+ Please update the following components: %s`,L)}if(d.size>0){var G=Hf(d);h(`componentWillUpdate has been renamed, and is not recommended for use. See https://reactjs.org/link/unsafe-component-lifecycles for details.
136
+
137
+ * Move data fetching code or side effects to componentDidUpdate.
138
+ * Rename componentWillUpdate to UNSAFE_componentWillUpdate to suppress this warning in non-strict mode. In React 18.x, only the UNSAFE_ name will work. To rename all deprecated lifecycles to their new names, you can run \`npx react-codemod rename-unsafe-lifecycles\` in your project source folder.
139
+
140
+ Please update the following components: %s`,G)}};var wb=new Map,mA=new Set;es.recordLegacyContextWarning=function(e,n){var s=FK(e);if(s===null){p("Expected to find a StrictMode component in a strict mode tree. This error is likely caused by a bug in React. Please file an issue.");return}if(!mA.has(e.type)){var u=wb.get(s);(e.type.contextTypes!=null||e.type.childContextTypes!=null||n!==null&&typeof n.getChildContext=="function")&&(u===void 0&&(u=[],wb.set(s,u)),u.push(e))}},es.flushLegacyContextWarning=function(){wb.forEach(function(e,n){if(e.length!==0){var s=e[0],u=new Set;e.forEach(function(m){u.add(Et(m)||"Component"),mA.add(m.type)});var d=Hf(u);try{Kt(s),p(`Legacy context API has been detected within a strict-mode tree.
141
+
142
+ The old API will be supported in all 16.x releases, but applications using it should migrate to the new version.
143
+
144
+ Please update the following components: %s
145
+
146
+ Learn more about this warning here: https://reactjs.org/link/legacy-context`,d)}finally{rr()}}})},es.discardPendingWarnings=function(){vg=[],mg=[],gg=[],yg=[],bg=[],Sg=[],wb=new Map}}function ts(e,n){if(e&&e.defaultProps){var s=Mt({},n),u=e.defaultProps;for(var d in u)s[d]===void 0&&(s[d]=u[d]);return s}return n}var vE=pc(null),mE;mE={};var Eb=null,gh=null,gE=null,Tb=!1;function kb(){Eb=null,gh=null,gE=null,Tb=!1}function gA(){Tb=!0}function yA(){Tb=!1}function bA(e,n,s){Wa(vE,n._currentValue,e),n._currentValue=s,n._currentRenderer!==void 0&&n._currentRenderer!==null&&n._currentRenderer!==mE&&p("Detected multiple renderers concurrently rendering the same context provider. This is currently unsupported."),n._currentRenderer=mE}function yE(e,n){var s=vE.current;Ha(vE,n),e._currentValue=s}function bE(e,n,s){for(var u=e;u!==null;){var d=u.alternate;if(Vl(u.childLanes,n)?d!==null&&!Vl(d.childLanes,n)&&(d.childLanes=Ot(d.childLanes,n)):(u.childLanes=Ot(u.childLanes,n),d!==null&&(d.childLanes=Ot(d.childLanes,n))),u===s)break;u=u.return}u!==s&&p("Expected to find the propagation root when scheduling context work. This error is likely caused by a bug in React. Please file an issue.")}function $K(e,n,s){BK(e,n,s)}function BK(e,n,s){var u=e.child;for(u!==null&&(u.return=e);u!==null;){var d=void 0,m=u.dependencies;if(m!==null){d=u.child;for(var x=m.firstContext;x!==null;){if(x.context===n){if(u.tag===S){var T=br(s),_=ru(Sn,T);_.tag=Rb;var M=u.updateQueue;if(M!==null){var L=M.shared,G=L.pending;G===null?_.next=_:(_.next=G.next,G.next=_),L.pending=_}}u.lanes=Ot(u.lanes,s);var H=u.alternate;H!==null&&(H.lanes=Ot(H.lanes,s)),bE(u.return,s,e),m.lanes=Ot(m.lanes,s);break}x=x.next}}else if(u.tag===F)d=u.type===e.type?null:u.child;else if(u.tag===ye){var re=u.return;if(re===null)throw new Error("We just came from a parent so we must have had a parent. This is a bug in React.");re.lanes=Ot(re.lanes,s);var ae=re.alternate;ae!==null&&(ae.lanes=Ot(ae.lanes,s)),bE(re,s,e),d=u.sibling}else d=u.child;if(d!==null)d.return=u;else for(d=u;d!==null;){if(d===e){d=null;break}var ue=d.sibling;if(ue!==null){ue.return=d.return,d=ue;break}d=d.return}u=d}}function yh(e,n){Eb=e,gh=null,gE=null;var s=e.dependencies;if(s!==null){var u=s.firstContext;u!==null&&(Ua(s.lanes,n)&&Lg(),s.firstContext=null)}}function Lr(e){Tb&&p("Context can only be read while React is rendering. In classes, you can read it in the render method or getDerivedStateFromProps. In function components, you can read it directly in the function body, but not inside Hooks like useReducer() or useMemo().");var n=e._currentValue;if(gE!==e){var s={context:e,memoizedValue:n,next:null};if(gh===null){if(Eb===null)throw new Error("Context can only be read while React is rendering. In classes, you can read it in the render method or getDerivedStateFromProps. In function components, you can read it directly in the function body, but not inside Hooks like useReducer() or useMemo().");gh=s,Eb.dependencies={lanes:fe,firstContext:s}}else gh=gh.next=s}return n}var Yf=null;function SE(e){Yf===null?Yf=[e]:Yf.push(e)}function VK(){if(Yf!==null){for(var e=0;e<Yf.length;e++){var n=Yf[e],s=n.interleaved;if(s!==null){n.interleaved=null;var u=s.next,d=n.pending;if(d!==null){var m=d.next;d.next=u,s.next=m}n.pending=s}}Yf=null}}function SA(e,n,s,u){var d=n.interleaved;return d===null?(s.next=s,SE(n)):(s.next=d.next,d.next=s),n.interleaved=s,_b(e,u)}function IK(e,n,s,u){var d=n.interleaved;d===null?(s.next=s,SE(n)):(s.next=d.next,d.next=s),n.interleaved=s}function UK(e,n,s,u){var d=n.interleaved;return d===null?(s.next=s,SE(n)):(s.next=d.next,d.next=s),n.interleaved=s,_b(e,u)}function zi(e,n){return _b(e,n)}var HK=_b;function _b(e,n){e.lanes=Ot(e.lanes,n);var s=e.alternate;s!==null&&(s.lanes=Ot(s.lanes,n)),s===null&&(e.flags&(Mn|Ti))!==ut&&x6(e);for(var u=e,d=e.return;d!==null;)d.childLanes=Ot(d.childLanes,n),s=d.alternate,s!==null?s.childLanes=Ot(s.childLanes,n):(d.flags&(Mn|Ti))!==ut&&x6(e),u=d,d=d.return;if(u.tag===E){var m=u.stateNode;return m}else return null}var xA=0,CA=1,Rb=2,xE=3,Db=!1,CE,Ob;CE=!1,Ob=null;function wE(e){var n={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:fe},effects:null};e.updateQueue=n}function wA(e,n){var s=n.updateQueue,u=e.updateQueue;if(s===u){var d={baseState:u.baseState,firstBaseUpdate:u.firstBaseUpdate,lastBaseUpdate:u.lastBaseUpdate,shared:u.shared,effects:u.effects};n.updateQueue=d}}function ru(e,n){var s={eventTime:e,lane:n,tag:xA,payload:null,callback:null,next:null};return s}function gc(e,n,s){var u=e.updateQueue;if(u===null)return null;var d=u.shared;if(Ob===d&&!CE&&(p("An update (setState, replaceState, or forceUpdate) was scheduled from inside an update function. Update functions should be pure, with zero side-effects. Consider using componentDidUpdate or a callback."),CE=!0),HJ()){var m=d.pending;return m===null?n.next=n:(n.next=m.next,m.next=n),d.pending=n,HK(e,s)}else return UK(e,d,n,s)}function Ab(e,n,s){var u=n.updateQueue;if(u!==null){var d=u.shared;if(Om(s)){var m=d.lanes;m=Mm(m,e.pendingLanes);var x=Ot(m,s);d.lanes=x,Ku(e,x)}}}function EE(e,n){var s=e.updateQueue,u=e.alternate;if(u!==null){var d=u.updateQueue;if(s===d){var m=null,x=null,T=s.firstBaseUpdate;if(T!==null){var _=T;do{var M={eventTime:_.eventTime,lane:_.lane,tag:_.tag,payload:_.payload,callback:_.callback,next:null};x===null?m=x=M:(x.next=M,x=M),_=_.next}while(_!==null);x===null?m=x=n:(x.next=n,x=n)}else m=x=n;s={baseState:d.baseState,firstBaseUpdate:m,lastBaseUpdate:x,shared:d.shared,effects:d.effects},e.updateQueue=s;return}}var L=s.lastBaseUpdate;L===null?s.firstBaseUpdate=n:L.next=n,s.lastBaseUpdate=n}function WK(e,n,s,u,d,m){switch(s.tag){case CA:{var x=s.payload;if(typeof x=="function"){gA();var T=x.call(m,u,d);{if(e.mode&Yn){yr(!0);try{x.call(m,u,d)}finally{yr(!1)}}yA()}return T}return x}case xE:e.flags=e.flags&~Dr|St;case xA:{var _=s.payload,M;if(typeof _=="function"){gA(),M=_.call(m,u,d);{if(e.mode&Yn){yr(!0);try{_.call(m,u,d)}finally{yr(!1)}}yA()}}else M=_;return M==null?u:Mt({},u,M)}case Rb:return Db=!0,u}return u}function Mb(e,n,s,u){var d=e.updateQueue;Db=!1,Ob=d.shared;var m=d.firstBaseUpdate,x=d.lastBaseUpdate,T=d.shared.pending;if(T!==null){d.shared.pending=null;var _=T,M=_.next;_.next=null,x===null?m=M:x.next=M,x=_;var L=e.alternate;if(L!==null){var G=L.updateQueue,H=G.lastBaseUpdate;H!==x&&(H===null?G.firstBaseUpdate=M:H.next=M,G.lastBaseUpdate=_)}}if(m!==null){var re=d.baseState,ae=fe,ue=null,Ye=null,ft=null,rt=m;do{var Ut=rt.lane,Bt=rt.eventTime;if(Vl(u,Ut)){if(ft!==null){var ce={eventTime:Bt,lane:Vt,tag:rt.tag,payload:rt.payload,callback:rt.callback,next:null};ft=ft.next=ce}re=WK(e,d,rt,re,n,s);var te=rt.callback;if(te!==null&&rt.lane!==Vt){e.flags|=fo;var we=d.effects;we===null?d.effects=[rt]:we.push(rt)}}else{var ee={eventTime:Bt,lane:Ut,tag:rt.tag,payload:rt.payload,callback:rt.callback,next:null};ft===null?(Ye=ft=ee,ue=re):ft=ft.next=ee,ae=Ot(ae,Ut)}if(rt=rt.next,rt===null){if(T=d.shared.pending,T===null)break;var Ge=T,Ve=Ge.next;Ge.next=null,rt=Ve,d.lastBaseUpdate=Ge,d.shared.pending=null}}while(!0);ft===null&&(ue=re),d.baseState=ue,d.firstBaseUpdate=Ye,d.lastBaseUpdate=ft;var bt=d.shared.interleaved;if(bt!==null){var kt=bt;do ae=Ot(ae,kt.lane),kt=kt.next;while(kt!==bt)}else m===null&&(d.shared.lanes=fe);Yg(ae),e.lanes=ae,e.memoizedState=re}Ob=null}function YK(e,n){if(typeof e!="function")throw new Error("Invalid argument passed as callback. Expected a function. Instead "+("received: "+e));e.call(n)}function EA(){Db=!1}function Pb(){return Db}function TA(e,n,s){var u=n.effects;if(n.effects=null,u!==null)for(var d=0;d<u.length;d++){var m=u[d],x=m.callback;x!==null&&(m.callback=null,YK(x,s))}}var TE={},kA=new t.Component().refs,kE,_E,RE,DE,OE,_A,Lb,AE,ME,PE;{kE=new Set,_E=new Set,RE=new Set,DE=new Set,AE=new Set,OE=new Set,ME=new Set,PE=new Set;var RA=new Set;Lb=function(e,n){if(!(e===null||typeof e=="function")){var s=n+"_"+e;RA.has(s)||(RA.add(s),p("%s(...): Expected the last optional `callback` argument to be a function. Instead received: %s.",n,e))}},_A=function(e,n){if(n===void 0){var s=fn(e)||"Component";OE.has(s)||(OE.add(s),p("%s.getDerivedStateFromProps(): A valid state object (or null) must be returned. You have returned undefined.",s))}},Object.defineProperty(TE,"_processChildContext",{enumerable:!1,value:function(){throw new Error("_processChildContext is not available in React 16+. This likely means you have multiple copies of React and are attempting to nest a React 15 tree inside a React 16 tree using unstable_renderSubtreeIntoContainer, which isn't supported. Try to make sure you have only one copy of React (and ideally, switch to ReactDOM.createPortal).")}}),Object.freeze(TE)}function LE(e,n,s,u){var d=e.memoizedState,m=s(u,d);{if(e.mode&Yn){yr(!0);try{m=s(u,d)}finally{yr(!1)}}_A(n,m)}var x=m==null?d:Mt({},d,m);if(e.memoizedState=x,e.lanes===fe){var T=e.updateQueue;T.baseState=x}}var zE={isMounted:ni,enqueueSetState:function(e,n,s){var u=wi(e),d=li(),m=Tc(u),x=ru(d,m);x.payload=n,s!=null&&(Lb(s,"setState"),x.callback=s);var T=gc(u,x,m);T!==null&&(Qr(T,u,m,d),Ab(T,u,m)),$s(u,m)},enqueueReplaceState:function(e,n,s){var u=wi(e),d=li(),m=Tc(u),x=ru(d,m);x.tag=CA,x.payload=n,s!=null&&(Lb(s,"replaceState"),x.callback=s);var T=gc(u,x,m);T!==null&&(Qr(T,u,m,d),Ab(T,u,m)),$s(u,m)},enqueueForceUpdate:function(e,n){var s=wi(e),u=li(),d=Tc(s),m=ru(u,d);m.tag=Rb,n!=null&&(Lb(n,"forceUpdate"),m.callback=n);var x=gc(s,m,d);x!==null&&(Qr(x,s,d,u),Ab(x,s,d)),km(s,d)}};function DA(e,n,s,u,d,m,x){var T=e.stateNode;if(typeof T.shouldComponentUpdate=="function"){var _=T.shouldComponentUpdate(u,m,x);{if(e.mode&Yn){yr(!0);try{_=T.shouldComponentUpdate(u,m,x)}finally{yr(!1)}}_===void 0&&p("%s.shouldComponentUpdate(): Returned undefined instead of a boolean value. Make sure to return true or false.",fn(n)||"Component")}return _}return n.prototype&&n.prototype.isPureReactComponent?!ot(s,u)||!ot(d,m):!0}function GK(e,n,s){var u=e.stateNode;{var d=fn(n)||"Component",m=u.render;m||(n.prototype&&typeof n.prototype.render=="function"?p("%s(...): No `render` method found on the returned component instance: did you accidentally return an object from the constructor?",d):p("%s(...): No `render` method found on the returned component instance: you may have forgotten to define `render`.",d)),u.getInitialState&&!u.getInitialState.isReactClassApproved&&!u.state&&p("getInitialState was defined on %s, a plain JavaScript class. This is only supported for classes created using React.createClass. Did you mean to define a state property instead?",d),u.getDefaultProps&&!u.getDefaultProps.isReactClassApproved&&p("getDefaultProps was defined on %s, a plain JavaScript class. This is only supported for classes created using React.createClass. Use a static property to define defaultProps instead.",d),u.propTypes&&p("propTypes was defined as an instance property on %s. Use a static property to define propTypes instead.",d),u.contextType&&p("contextType was defined as an instance property on %s. Use a static property to define contextType instead.",d),u.contextTypes&&p("contextTypes was defined as an instance property on %s. Use a static property to define contextTypes instead.",d),n.contextType&&n.contextTypes&&!ME.has(n)&&(ME.add(n),p("%s declares both contextTypes and contextType static properties. The legacy contextTypes property will be ignored.",d)),typeof u.componentShouldUpdate=="function"&&p("%s has a method called componentShouldUpdate(). Did you mean shouldComponentUpdate()? The name is phrased as a question because the function is expected to return a value.",d),n.prototype&&n.prototype.isPureReactComponent&&typeof u.shouldComponentUpdate<"u"&&p("%s has a method called shouldComponentUpdate(). shouldComponentUpdate should not be used when extending React.PureComponent. Please extend React.Component if shouldComponentUpdate is used.",fn(n)||"A pure component"),typeof u.componentDidUnmount=="function"&&p("%s has a method called componentDidUnmount(). But there is no such lifecycle method. Did you mean componentWillUnmount()?",d),typeof u.componentDidReceiveProps=="function"&&p("%s has a method called componentDidReceiveProps(). But there is no such lifecycle method. If you meant to update the state in response to changing props, use componentWillReceiveProps(). If you meant to fetch data or run side-effects or mutations after React has updated the UI, use componentDidUpdate().",d),typeof u.componentWillRecieveProps=="function"&&p("%s has a method called componentWillRecieveProps(). Did you mean componentWillReceiveProps()?",d),typeof u.UNSAFE_componentWillRecieveProps=="function"&&p("%s has a method called UNSAFE_componentWillRecieveProps(). Did you mean UNSAFE_componentWillReceiveProps()?",d);var x=u.props!==s;u.props!==void 0&&x&&p("%s(...): When calling super() in `%s`, make sure to pass up the same props that your component's constructor was passed.",d,d),u.defaultProps&&p("Setting defaultProps as an instance property on %s is not supported and will be ignored. Instead, define defaultProps as a static property on %s.",d,d),typeof u.getSnapshotBeforeUpdate=="function"&&typeof u.componentDidUpdate!="function"&&!RE.has(n)&&(RE.add(n),p("%s: getSnapshotBeforeUpdate() should be used with componentDidUpdate(). This component defines getSnapshotBeforeUpdate() only.",fn(n))),typeof u.getDerivedStateFromProps=="function"&&p("%s: getDerivedStateFromProps() is defined as an instance method and will be ignored. Instead, declare it as a static method.",d),typeof u.getDerivedStateFromError=="function"&&p("%s: getDerivedStateFromError() is defined as an instance method and will be ignored. Instead, declare it as a static method.",d),typeof n.getSnapshotBeforeUpdate=="function"&&p("%s: getSnapshotBeforeUpdate() is defined as a static method and will be ignored. Instead, declare it as an instance method.",d);var T=u.state;T&&(typeof T!="object"||_r(T))&&p("%s.state: must be set to an object or null",d),typeof u.getChildContext=="function"&&typeof n.childContextTypes!="object"&&p("%s.getChildContext(): childContextTypes must be defined in order to use getChildContext().",d)}}function OA(e,n){n.updater=zE,e.stateNode=n,Vu(n,e),n._reactInternalInstance=TE}function AA(e,n,s){var u=!1,d=Ji,m=Ji,x=n.contextType;if("contextType"in n){var T=x===null||x!==void 0&&x.$$typeof===ze&&x._context===void 0;if(!T&&!PE.has(n)){PE.add(n);var _="";x===void 0?_=" However, it is set to undefined. This can be caused by a typo or by mixing up named and default imports. This can also happen due to a circular dependency, so try moving the createContext() call to a separate file.":typeof x!="object"?_=" However, it is set to a "+typeof x+".":x.$$typeof===Se?_=" Did you accidentally pass the Context.Provider instead?":x._context!==void 0?_=" Did you accidentally pass the Context.Consumer instead?":_=" However, it is set to an object with keys {"+Object.keys(x).join(", ")+"}.",p("%s defines an invalid contextType. contextType should point to the Context object returned by React.createContext().%s",fn(n)||"Component",_)}}if(typeof x=="object"&&x!==null)m=Lr(x);else{d=dh(e,n,!0);var M=n.contextTypes;u=M!=null,m=u?ph(e,d):Ji}var L=new n(s,m);if(e.mode&Yn){yr(!0);try{L=new n(s,m)}finally{yr(!1)}}var G=e.memoizedState=L.state!==null&&L.state!==void 0?L.state:null;OA(e,L);{if(typeof n.getDerivedStateFromProps=="function"&&G===null){var H=fn(n)||"Component";_E.has(H)||(_E.add(H),p("`%s` uses `getDerivedStateFromProps` but its initial state is %s. This is not recommended. Instead, define the initial state by assigning an object to `this.state` in the constructor of `%s`. This ensures that `getDerivedStateFromProps` arguments have a consistent shape.",H,L.state===null?"null":"undefined",H))}if(typeof n.getDerivedStateFromProps=="function"||typeof L.getSnapshotBeforeUpdate=="function"){var re=null,ae=null,ue=null;if(typeof L.componentWillMount=="function"&&L.componentWillMount.__suppressDeprecationWarning!==!0?re="componentWillMount":typeof L.UNSAFE_componentWillMount=="function"&&(re="UNSAFE_componentWillMount"),typeof L.componentWillReceiveProps=="function"&&L.componentWillReceiveProps.__suppressDeprecationWarning!==!0?ae="componentWillReceiveProps":typeof L.UNSAFE_componentWillReceiveProps=="function"&&(ae="UNSAFE_componentWillReceiveProps"),typeof L.componentWillUpdate=="function"&&L.componentWillUpdate.__suppressDeprecationWarning!==!0?ue="componentWillUpdate":typeof L.UNSAFE_componentWillUpdate=="function"&&(ue="UNSAFE_componentWillUpdate"),re!==null||ae!==null||ue!==null){var Ye=fn(n)||"Component",ft=typeof n.getDerivedStateFromProps=="function"?"getDerivedStateFromProps()":"getSnapshotBeforeUpdate()";DE.has(Ye)||(DE.add(Ye),p(`Unsafe legacy lifecycles will not be called for components using new component APIs.
147
+
148
+ %s uses %s but also contains the following legacy lifecycles:%s%s%s
149
+
150
+ The above lifecycles should be removed. Learn more about this warning here:
151
+ https://reactjs.org/link/unsafe-component-lifecycles`,Ye,ft,re!==null?`
152
+ `+re:"",ae!==null?`
153
+ `+ae:"",ue!==null?`
154
+ `+ue:""))}}}return u&&tA(e,d,m),L}function qK(e,n){var s=n.state;typeof n.componentWillMount=="function"&&n.componentWillMount(),typeof n.UNSAFE_componentWillMount=="function"&&n.UNSAFE_componentWillMount(),s!==n.state&&(p("%s.componentWillMount(): Assigning directly to this.state is deprecated (except inside a component's constructor). Use setState instead.",Et(e)||"Component"),zE.enqueueReplaceState(n,n.state,null))}function MA(e,n,s,u){var d=n.state;if(typeof n.componentWillReceiveProps=="function"&&n.componentWillReceiveProps(s,u),typeof n.UNSAFE_componentWillReceiveProps=="function"&&n.UNSAFE_componentWillReceiveProps(s,u),n.state!==d){{var m=Et(e)||"Component";kE.has(m)||(kE.add(m),p("%s.componentWillReceiveProps(): Assigning directly to this.state is deprecated (except inside a component's constructor). Use setState instead.",m))}zE.enqueueReplaceState(n,n.state,null)}}function NE(e,n,s,u){GK(e,n,s);var d=e.stateNode;d.props=s,d.state=e.memoizedState,d.refs=kA,wE(e);var m=n.contextType;if(typeof m=="object"&&m!==null)d.context=Lr(m);else{var x=dh(e,n,!0);d.context=ph(e,x)}{if(d.state===s){var T=fn(n)||"Component";AE.has(T)||(AE.add(T),p("%s: It is not recommended to assign props directly to state because updates to props won't be reflected in state. In most cases, it is better to use props directly.",T))}e.mode&Yn&&es.recordLegacyContextWarning(e,d),es.recordUnsafeLifecycleWarnings(e,d)}d.state=e.memoizedState;var _=n.getDerivedStateFromProps;if(typeof _=="function"&&(LE(e,n,_,s),d.state=e.memoizedState),typeof n.getDerivedStateFromProps!="function"&&typeof d.getSnapshotBeforeUpdate!="function"&&(typeof d.UNSAFE_componentWillMount=="function"||typeof d.componentWillMount=="function")&&(qK(e,d),Mb(e,s,d,u),d.state=e.memoizedState),typeof d.componentDidMount=="function"){var M=Dt;M|=ja,(e.mode&Ri)!==dt&&(M|=Fa),e.flags|=M}}function XK(e,n,s,u){var d=e.stateNode,m=e.memoizedProps;d.props=m;var x=d.context,T=n.contextType,_=Ji;if(typeof T=="object"&&T!==null)_=Lr(T);else{var M=dh(e,n,!0);_=ph(e,M)}var L=n.getDerivedStateFromProps,G=typeof L=="function"||typeof d.getSnapshotBeforeUpdate=="function";!G&&(typeof d.UNSAFE_componentWillReceiveProps=="function"||typeof d.componentWillReceiveProps=="function")&&(m!==s||x!==_)&&MA(e,d,s,_),EA();var H=e.memoizedState,re=d.state=H;if(Mb(e,s,d,u),re=e.memoizedState,m===s&&H===re&&!vb()&&!Pb()){if(typeof d.componentDidMount=="function"){var ae=Dt;ae|=ja,(e.mode&Ri)!==dt&&(ae|=Fa),e.flags|=ae}return!1}typeof L=="function"&&(LE(e,n,L,s),re=e.memoizedState);var ue=Pb()||DA(e,n,m,s,H,re,_);if(ue){if(!G&&(typeof d.UNSAFE_componentWillMount=="function"||typeof d.componentWillMount=="function")&&(typeof d.componentWillMount=="function"&&d.componentWillMount(),typeof d.UNSAFE_componentWillMount=="function"&&d.UNSAFE_componentWillMount()),typeof d.componentDidMount=="function"){var Ye=Dt;Ye|=ja,(e.mode&Ri)!==dt&&(Ye|=Fa),e.flags|=Ye}}else{if(typeof d.componentDidMount=="function"){var ft=Dt;ft|=ja,(e.mode&Ri)!==dt&&(ft|=Fa),e.flags|=ft}e.memoizedProps=s,e.memoizedState=re}return d.props=s,d.state=re,d.context=_,ue}function QK(e,n,s,u,d){var m=n.stateNode;wA(e,n);var x=n.memoizedProps,T=n.type===n.elementType?x:ts(n.type,x);m.props=T;var _=n.pendingProps,M=m.context,L=s.contextType,G=Ji;if(typeof L=="object"&&L!==null)G=Lr(L);else{var H=dh(n,s,!0);G=ph(n,H)}var re=s.getDerivedStateFromProps,ae=typeof re=="function"||typeof m.getSnapshotBeforeUpdate=="function";!ae&&(typeof m.UNSAFE_componentWillReceiveProps=="function"||typeof m.componentWillReceiveProps=="function")&&(x!==_||M!==G)&&MA(n,m,u,G),EA();var ue=n.memoizedState,Ye=m.state=ue;if(Mb(n,u,m,d),Ye=n.memoizedState,x===_&&ue===Ye&&!vb()&&!Pb()&&!Le)return typeof m.componentDidUpdate=="function"&&(x!==e.memoizedProps||ue!==e.memoizedState)&&(n.flags|=Dt),typeof m.getSnapshotBeforeUpdate=="function"&&(x!==e.memoizedProps||ue!==e.memoizedState)&&(n.flags|=Ei),!1;typeof re=="function"&&(LE(n,s,re,u),Ye=n.memoizedState);var ft=Pb()||DA(n,s,T,u,ue,Ye,G)||Le;return ft?(!ae&&(typeof m.UNSAFE_componentWillUpdate=="function"||typeof m.componentWillUpdate=="function")&&(typeof m.componentWillUpdate=="function"&&m.componentWillUpdate(u,Ye,G),typeof m.UNSAFE_componentWillUpdate=="function"&&m.UNSAFE_componentWillUpdate(u,Ye,G)),typeof m.componentDidUpdate=="function"&&(n.flags|=Dt),typeof m.getSnapshotBeforeUpdate=="function"&&(n.flags|=Ei)):(typeof m.componentDidUpdate=="function"&&(x!==e.memoizedProps||ue!==e.memoizedState)&&(n.flags|=Dt),typeof m.getSnapshotBeforeUpdate=="function"&&(x!==e.memoizedProps||ue!==e.memoizedState)&&(n.flags|=Ei),n.memoizedProps=u,n.memoizedState=Ye),m.props=u,m.state=Ye,m.context=G,ft}var jE,FE,$E,BE,VE,PA=function(e,n){};jE=!1,FE=!1,$E={},BE={},VE={},PA=function(e,n){if(!(e===null||typeof e!="object")&&!(!e._store||e._store.validated||e.key!=null)){if(typeof e._store!="object")throw new Error("React Component in warnForMissingKey should have a _store. This error is likely caused by a bug in React. Please file an issue.");e._store.validated=!0;var s=Et(n)||"Component";BE[s]||(BE[s]=!0,p('Each child in a list should have a unique "key" prop. See https://reactjs.org/link/warning-keys for more information.'))}};function xg(e,n,s){var u=s.ref;if(u!==null&&typeof u!="function"&&typeof u!="object"){if((e.mode&Yn||Fe)&&!(s._owner&&s._self&&s._owner.stateNode!==s._self)){var d=Et(e)||"Component";$E[d]||(p('A string ref, "%s", has been found within a strict mode tree. String refs are a source of potential bugs and should be avoided. We recommend using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref',u),$E[d]=!0)}if(s._owner){var m=s._owner,x;if(m){var T=m;if(T.tag!==S)throw new Error("Function components cannot have string refs. We recommend using useRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref");x=T.stateNode}if(!x)throw new Error("Missing owner for string ref "+u+". This error is likely caused by a bug in React. Please file an issue.");var _=x;Xn(u,"ref");var M=""+u;if(n!==null&&n.ref!==null&&typeof n.ref=="function"&&n.ref._stringRef===M)return n.ref;var L=function(G){var H=_.refs;H===kA&&(H=_.refs={}),G===null?delete H[M]:H[M]=G};return L._stringRef=M,L}else{if(typeof u!="string")throw new Error("Expected ref to be a function, a string, an object returned by React.createRef(), or null.");if(!s._owner)throw new Error("Element ref was specified as a string ("+u+`) but no owner was set. This could happen for one of the following reasons:
155
+ 1. You may be adding a ref to a function component
156
+ 2. You may be adding a ref to a component that was not created inside a component's render method
157
+ 3. You have multiple copies of React loaded
158
+ See https://reactjs.org/link/refs-must-have-owner for more information.`)}}return u}function zb(e,n){var s=Object.prototype.toString.call(n);throw new Error("Objects are not valid as a React child (found: "+(s==="[object Object]"?"object with keys {"+Object.keys(n).join(", ")+"}":s)+"). If you meant to render a collection of children, use an array instead.")}function Nb(e){{var n=Et(e)||"Component";if(VE[n])return;VE[n]=!0,p("Functions are not valid as a React child. This may happen if you return a Component instead of <Component /> from render. Or maybe you meant to call this function rather than return it.")}}function LA(e){var n=e._payload,s=e._init;return s(n)}function zA(e){function n(ee,ce){if(e){var te=ee.deletions;te===null?(ee.deletions=[ce],ee.flags|=Jt):te.push(ce)}}function s(ee,ce){if(!e)return null;for(var te=ce;te!==null;)n(ee,te),te=te.sibling;return null}function u(ee,ce){for(var te=new Map,we=ce;we!==null;)we.key!==null?te.set(we.key,we):te.set(we.index,we),we=we.sibling;return te}function d(ee,ce){var te=ed(ee,ce);return te.index=0,te.sibling=null,te}function m(ee,ce,te){if(ee.index=te,!e)return ee.flags|=hm,ce;var we=ee.alternate;if(we!==null){var Ge=we.index;return Ge<ce?(ee.flags|=Mn,ce):Ge}else return ee.flags|=Mn,ce}function x(ee){return e&&ee.alternate===null&&(ee.flags|=Mn),ee}function T(ee,ce,te,we){if(ce===null||ce.tag!==A){var Ge=hk(te,ee.mode,we);return Ge.return=ee,Ge}else{var Ve=d(ce,te);return Ve.return=ee,Ve}}function _(ee,ce,te,we){var Ge=te.type;if(Ge===Za)return L(ee,ce,te.props.children,we,te.key);if(ce!==null&&(ce.elementType===Ge||T6(ce,te)||typeof Ge=="object"&&Ge!==null&&Ge.$$typeof===ct&&LA(Ge)===ce.type)){var Ve=d(ce,te.props);return Ve.ref=xg(ee,ce,te),Ve.return=ee,Ve._debugSource=te._source,Ve._debugOwner=te._owner,Ve}var bt=pk(te,ee.mode,we);return bt.ref=xg(ee,ce,te),bt.return=ee,bt}function M(ee,ce,te,we){if(ce===null||ce.tag!==k||ce.stateNode.containerInfo!==te.containerInfo||ce.stateNode.implementation!==te.implementation){var Ge=vk(te,ee.mode,we);return Ge.return=ee,Ge}else{var Ve=d(ce,te.children||[]);return Ve.return=ee,Ve}}function L(ee,ce,te,we,Ge){if(ce===null||ce.tag!==P){var Ve=_c(te,ee.mode,we,Ge);return Ve.return=ee,Ve}else{var bt=d(ce,te);return bt.return=ee,bt}}function G(ee,ce,te){if(typeof ce=="string"&&ce!==""||typeof ce=="number"){var we=hk(""+ce,ee.mode,te);return we.return=ee,we}if(typeof ce=="object"&&ce!==null){switch(ce.$$typeof){case lo:{var Ge=pk(ce,ee.mode,te);return Ge.ref=xg(ee,null,ce),Ge.return=ee,Ge}case ga:{var Ve=vk(ce,ee.mode,te);return Ve.return=ee,Ve}case ct:{var bt=ce._payload,kt=ce._init;return G(ee,kt(bt),te)}}if(_r(ce)||Hi(ce)){var yn=_c(ce,ee.mode,te,null);return yn.return=ee,yn}zb(ee,ce)}return typeof ce=="function"&&Nb(ee),null}function H(ee,ce,te,we){var Ge=ce!==null?ce.key:null;if(typeof te=="string"&&te!==""||typeof te=="number")return Ge!==null?null:T(ee,ce,""+te,we);if(typeof te=="object"&&te!==null){switch(te.$$typeof){case lo:return te.key===Ge?_(ee,ce,te,we):null;case ga:return te.key===Ge?M(ee,ce,te,we):null;case ct:{var Ve=te._payload,bt=te._init;return H(ee,ce,bt(Ve),we)}}if(_r(te)||Hi(te))return Ge!==null?null:L(ee,ce,te,we,null);zb(ee,te)}return typeof te=="function"&&Nb(ee),null}function re(ee,ce,te,we,Ge){if(typeof we=="string"&&we!==""||typeof we=="number"){var Ve=ee.get(te)||null;return T(ce,Ve,""+we,Ge)}if(typeof we=="object"&&we!==null){switch(we.$$typeof){case lo:{var bt=ee.get(we.key===null?te:we.key)||null;return _(ce,bt,we,Ge)}case ga:{var kt=ee.get(we.key===null?te:we.key)||null;return M(ce,kt,we,Ge)}case ct:var yn=we._payload,Gt=we._init;return re(ee,ce,te,Gt(yn),Ge)}if(_r(we)||Hi(we)){var wr=ee.get(te)||null;return L(ce,wr,we,Ge,null)}zb(ce,we)}return typeof we=="function"&&Nb(ce),null}function ae(ee,ce,te){{if(typeof ee!="object"||ee===null)return ce;switch(ee.$$typeof){case lo:case ga:PA(ee,te);var we=ee.key;if(typeof we!="string")break;if(ce===null){ce=new Set,ce.add(we);break}if(!ce.has(we)){ce.add(we);break}p("Encountered two children with the same key, `%s`. Keys should be unique so that components maintain their identity across updates. Non-unique keys may cause children to be duplicated and/or omitted — the behavior is unsupported and could change in a future version.",we);break;case ct:var Ge=ee._payload,Ve=ee._init;ae(Ve(Ge),ce,te);break}}return ce}function ue(ee,ce,te,we){for(var Ge=null,Ve=0;Ve<te.length;Ve++){var bt=te[Ve];Ge=ae(bt,Ge,ee)}for(var kt=null,yn=null,Gt=ce,wr=0,qt=0,pr=null;Gt!==null&&qt<te.length;qt++){Gt.index>qt?(pr=Gt,Gt=null):pr=Gt.sibling;var Ga=H(ee,Gt,te[qt],we);if(Ga===null){Gt===null&&(Gt=pr);break}e&&Gt&&Ga.alternate===null&&n(ee,Gt),wr=m(Ga,wr,qt),yn===null?kt=Ga:yn.sibling=Ga,yn=Ga,Gt=pr}if(qt===te.length){if(s(ee,Gt),xa()){var Ra=qt;Vf(ee,Ra)}return kt}if(Gt===null){for(;qt<te.length;qt++){var to=G(ee,te[qt],we);to!==null&&(wr=m(to,wr,qt),yn===null?kt=to:yn.sibling=to,yn=to)}if(xa()){var ui=qt;Vf(ee,ui)}return kt}for(var ci=u(ee,Gt);qt<te.length;qt++){var qa=re(ci,ee,qt,te[qt],we);qa!==null&&(e&&qa.alternate!==null&&ci.delete(qa.key===null?qt:qa.key),wr=m(qa,wr,qt),yn===null?kt=qa:yn.sibling=qa,yn=qa)}if(e&&ci.forEach(function(zh){return n(ee,zh)}),xa()){var uu=qt;Vf(ee,uu)}return kt}function Ye(ee,ce,te,we){var Ge=Hi(te);if(typeof Ge!="function")throw new Error("An object is not an iterable. This error is likely caused by a bug in React. Please file an issue.");{typeof Symbol=="function"&&te[Symbol.toStringTag]==="Generator"&&(FE||p("Using Generators as children is unsupported and will likely yield unexpected results because enumerating a generator mutates it. You may convert it to an array with `Array.from()` or the `[...spread]` operator before rendering. Keep in mind you might need to polyfill these features for older browsers."),FE=!0),te.entries===Ge&&(jE||p("Using Maps as children is not supported. Use an array of keyed ReactElements instead."),jE=!0);var Ve=Ge.call(te);if(Ve)for(var bt=null,kt=Ve.next();!kt.done;kt=Ve.next()){var yn=kt.value;bt=ae(yn,bt,ee)}}var Gt=Ge.call(te);if(Gt==null)throw new Error("An iterable object provided no iterator.");for(var wr=null,qt=null,pr=ce,Ga=0,Ra=0,to=null,ui=Gt.next();pr!==null&&!ui.done;Ra++,ui=Gt.next()){pr.index>Ra?(to=pr,pr=null):to=pr.sibling;var ci=H(ee,pr,ui.value,we);if(ci===null){pr===null&&(pr=to);break}e&&pr&&ci.alternate===null&&n(ee,pr),Ga=m(ci,Ga,Ra),qt===null?wr=ci:qt.sibling=ci,qt=ci,pr=to}if(ui.done){if(s(ee,pr),xa()){var qa=Ra;Vf(ee,qa)}return wr}if(pr===null){for(;!ui.done;Ra++,ui=Gt.next()){var uu=G(ee,ui.value,we);uu!==null&&(Ga=m(uu,Ga,Ra),qt===null?wr=uu:qt.sibling=uu,qt=uu)}if(xa()){var zh=Ra;Vf(ee,zh)}return wr}for(var Kg=u(ee,pr);!ui.done;Ra++,ui=Gt.next()){var rl=re(Kg,ee,Ra,ui.value,we);rl!==null&&(e&&rl.alternate!==null&&Kg.delete(rl.key===null?Ra:rl.key),Ga=m(rl,Ga,Ra),qt===null?wr=rl:qt.sibling=rl,qt=rl)}if(e&&Kg.forEach(function(cte){return n(ee,cte)}),xa()){var ute=Ra;Vf(ee,ute)}return wr}function ft(ee,ce,te,we){if(ce!==null&&ce.tag===A){s(ee,ce.sibling);var Ge=d(ce,te);return Ge.return=ee,Ge}s(ee,ce);var Ve=hk(te,ee.mode,we);return Ve.return=ee,Ve}function rt(ee,ce,te,we){for(var Ge=te.key,Ve=ce;Ve!==null;){if(Ve.key===Ge){var bt=te.type;if(bt===Za){if(Ve.tag===P){s(ee,Ve.sibling);var kt=d(Ve,te.props.children);return kt.return=ee,kt._debugSource=te._source,kt._debugOwner=te._owner,kt}}else if(Ve.elementType===bt||T6(Ve,te)||typeof bt=="object"&&bt!==null&&bt.$$typeof===ct&&LA(bt)===Ve.type){s(ee,Ve.sibling);var yn=d(Ve,te.props);return yn.ref=xg(ee,Ve,te),yn.return=ee,yn._debugSource=te._source,yn._debugOwner=te._owner,yn}s(ee,Ve);break}else n(ee,Ve);Ve=Ve.sibling}if(te.type===Za){var Gt=_c(te.props.children,ee.mode,we,te.key);return Gt.return=ee,Gt}else{var wr=pk(te,ee.mode,we);return wr.ref=xg(ee,ce,te),wr.return=ee,wr}}function Ut(ee,ce,te,we){for(var Ge=te.key,Ve=ce;Ve!==null;){if(Ve.key===Ge)if(Ve.tag===k&&Ve.stateNode.containerInfo===te.containerInfo&&Ve.stateNode.implementation===te.implementation){s(ee,Ve.sibling);var bt=d(Ve,te.children||[]);return bt.return=ee,bt}else{s(ee,Ve);break}else n(ee,Ve);Ve=Ve.sibling}var kt=vk(te,ee.mode,we);return kt.return=ee,kt}function Bt(ee,ce,te,we){var Ge=typeof te=="object"&&te!==null&&te.type===Za&&te.key===null;if(Ge&&(te=te.props.children),typeof te=="object"&&te!==null){switch(te.$$typeof){case lo:return x(rt(ee,ce,te,we));case ga:return x(Ut(ee,ce,te,we));case ct:var Ve=te._payload,bt=te._init;return Bt(ee,ce,bt(Ve),we)}if(_r(te))return ue(ee,ce,te,we);if(Hi(te))return Ye(ee,ce,te,we);zb(ee,te)}return typeof te=="string"&&te!==""||typeof te=="number"?x(ft(ee,ce,""+te,we)):(typeof te=="function"&&Nb(ee),s(ee,ce))}return Bt}var bh=zA(!0),NA=zA(!1);function KK(e,n){if(e!==null&&n.child!==e.child)throw new Error("Resuming work not yet implemented.");if(n.child!==null){var s=n.child,u=ed(s,s.pendingProps);for(n.child=u,u.return=n;s.sibling!==null;)s=s.sibling,u=u.sibling=ed(s,s.pendingProps),u.return=n;u.sibling=null}}function ZK(e,n){for(var s=e.child;s!==null;)_ee(s,n),s=s.sibling}var Cg={},yc=pc(Cg),wg=pc(Cg),jb=pc(Cg);function Fb(e){if(e===Cg)throw new Error("Expected host context to exist. This error is likely caused by a bug in React. Please file an issue.");return e}function jA(){var e=Fb(jb.current);return e}function IE(e,n){Wa(jb,n,e),Wa(wg,e,e),Wa(yc,Cg,e);var s=dQ(n);Ha(yc,e),Wa(yc,s,e)}function Sh(e){Ha(yc,e),Ha(wg,e),Ha(jb,e)}function UE(){var e=Fb(yc.current);return e}function FA(e){Fb(jb.current);var n=Fb(yc.current),s=pQ(n,e.type);n!==s&&(Wa(wg,e,e),Wa(yc,s,e))}function HE(e){wg.current===e&&(Ha(yc,e),Ha(wg,e))}var JK=0,$A=1,BA=1,Eg=2,ns=pc(JK);function WE(e,n){return(e&n)!==0}function xh(e){return e&$A}function YE(e,n){return e&$A|n}function eZ(e,n){return e|n}function bc(e,n){Wa(ns,n,e)}function Ch(e){Ha(ns,e)}function tZ(e,n){var s=e.memoizedState;return s!==null?s.dehydrated!==null:(e.memoizedProps,!0)}function $b(e){for(var n=e;n!==null;){if(n.tag===V){var s=n.memoizedState;if(s!==null){var u=s.dehydrated;if(u===null||QO(u)||Zw(u))return n}}else if(n.tag===De&&n.memoizedProps.revealOrder!==void 0){var d=(n.flags&St)!==ut;if(d)return n}else if(n.child!==null){n.child.return=n,n=n.child;continue}if(n===e)return null;for(;n.sibling===null;){if(n.return===null||n.return===e)return null;n=n.return}n.sibling.return=n.return,n=n.sibling}return null}var Ni=0,Ur=1,Qs=2,Hr=4,Ca=8,GE=[];function qE(){for(var e=0;e<GE.length;e++){var n=GE[e];n._workInProgressVersionPrimary=null}GE.length=0}function nZ(e,n){var s=n._getVersion,u=s(n._source);e.mutableSourceEagerHydrationData==null?e.mutableSourceEagerHydrationData=[n,u]:e.mutableSourceEagerHydrationData.push(n,u)}var We=i.ReactCurrentDispatcher,Tg=i.ReactCurrentBatchConfig,XE,wh;XE=new Set;var Gf=fe,gn=null,Wr=null,Yr=null,Bb=!1,kg=!1,_g=0,rZ=0,aZ=25,de=null,xo=null,Sc=-1,QE=!1;function an(){{var e=de;xo===null?xo=[e]:xo.push(e)}}function je(){{var e=de;xo!==null&&(Sc++,xo[Sc]!==e&&iZ(e))}}function Eh(e){e!=null&&!_r(e)&&p("%s received a final argument that is not an array (instead, received `%s`). When specified, the final argument must be an array.",de,typeof e)}function iZ(e){{var n=Et(gn);if(!XE.has(n)&&(XE.add(n),xo!==null)){for(var s="",u=30,d=0;d<=Sc;d++){for(var m=xo[d],x=d===Sc?e:m,T=d+1+". "+m;T.length<u;)T+=" ";T+=x+`
159
+ `,s+=T}p(`React has detected a change in the order of Hooks called by %s. This will lead to bugs and errors if not fixed. For more information, read the Rules of Hooks: https://reactjs.org/link/rules-of-hooks
160
+
161
+ Previous render Next render
162
+ ------------------------------------------------------
163
+ %s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
164
+ `,n,s)}}}function Ya(){throw new Error(`Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:
165
+ 1. You might have mismatching versions of React and the renderer (such as React DOM)
166
+ 2. You might be breaking the Rules of Hooks
167
+ 3. You might have more than one copy of React in the same app
168
+ See https://reactjs.org/link/invalid-hook-call for tips about how to debug and fix this problem.`)}function KE(e,n){if(QE)return!1;if(n===null)return p("%s received a final argument during this render, but not during the previous render. Even though the final argument is optional, its type cannot change between renders.",de),!1;e.length!==n.length&&p(`The final argument passed to %s changed size between renders. The order and size of this array must remain constant.
169
+
170
+ Previous: %s
171
+ Incoming: %s`,de,"["+n.join(", ")+"]","["+e.join(", ")+"]");for(var s=0;s<n.length&&s<e.length;s++)if(!Ke(e[s],n[s]))return!1;return!0}function Th(e,n,s,u,d,m){Gf=m,gn=n,xo=e!==null?e._debugHookTypes:null,Sc=-1,QE=e!==null&&e.type!==n.type,n.memoizedState=null,n.updateQueue=null,n.lanes=fe,e!==null&&e.memoizedState!==null?We.current=lM:xo!==null?We.current=sM:We.current=oM;var x=s(u,d);if(kg){var T=0;do{if(kg=!1,_g=0,T>=aZ)throw new Error("Too many re-renders. React limits the number of renders to prevent an infinite loop.");T+=1,QE=!1,Wr=null,Yr=null,n.updateQueue=null,Sc=-1,We.current=uM,x=s(u,d)}while(kg)}We.current=Jb,n._debugHookTypes=xo;var _=Wr!==null&&Wr.next!==null;if(Gf=fe,gn=null,Wr=null,Yr=null,de=null,xo=null,Sc=-1,e!==null&&(e.flags&Br)!==(n.flags&Br)&&(e.mode&Nt)!==dt&&p("Internal React error: Expected static flag was missing. Please notify the React team."),Bb=!1,_)throw new Error("Rendered fewer hooks than expected. This may be caused by an accidental early return statement.");return x}function kh(){var e=_g!==0;return _g=0,e}function VA(e,n,s){n.updateQueue=e.updateQueue,(n.mode&Ri)!==dt?n.flags&=~(Al|Fa|In|Dt):n.flags&=~(In|Dt),e.lanes=Qu(e.lanes,s)}function IA(){if(We.current=Jb,Bb){for(var e=gn.memoizedState;e!==null;){var n=e.queue;n!==null&&(n.pending=null),e=e.next}Bb=!1}Gf=fe,gn=null,Wr=null,Yr=null,xo=null,Sc=-1,de=null,tM=!1,kg=!1,_g=0}function Ks(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return Yr===null?gn.memoizedState=Yr=e:Yr=Yr.next=e,Yr}function Co(){var e;if(Wr===null){var n=gn.alternate;n!==null?e=n.memoizedState:e=null}else e=Wr.next;var s;if(Yr===null?s=gn.memoizedState:s=Yr.next,s!==null)Yr=s,s=Yr.next,Wr=e;else{if(e===null)throw new Error("Rendered more hooks than during the previous render.");Wr=e;var u={memoizedState:Wr.memoizedState,baseState:Wr.baseState,baseQueue:Wr.baseQueue,queue:Wr.queue,next:null};Yr===null?gn.memoizedState=Yr=u:Yr=Yr.next=u}return Yr}function UA(){return{lastEffect:null,stores:null}}function ZE(e,n){return typeof n=="function"?n(e):n}function JE(e,n,s){var u=Ks(),d;s!==void 0?d=s(n):d=n,u.memoizedState=u.baseState=d;var m={pending:null,interleaved:null,lanes:fe,dispatch:null,lastRenderedReducer:e,lastRenderedState:d};u.queue=m;var x=m.dispatch=uZ.bind(null,gn,m);return[u.memoizedState,x]}function eT(e,n,s){var u=Co(),d=u.queue;if(d===null)throw new Error("Should have a queue. This is likely a bug in React. Please file an issue.");d.lastRenderedReducer=e;var m=Wr,x=m.baseQueue,T=d.pending;if(T!==null){if(x!==null){var _=x.next,M=T.next;x.next=M,T.next=_}m.baseQueue!==x&&p("Internal error: Expected work-in-progress queue to be a clone. This is a bug in React."),m.baseQueue=x=T,d.pending=null}if(x!==null){var L=x.next,G=m.baseState,H=null,re=null,ae=null,ue=L;do{var Ye=ue.lane;if(Vl(Gf,Ye)){if(ae!==null){var rt={lane:Vt,action:ue.action,hasEagerState:ue.hasEagerState,eagerState:ue.eagerState,next:null};ae=ae.next=rt}if(ue.hasEagerState)G=ue.eagerState;else{var Ut=ue.action;G=e(G,Ut)}}else{var ft={lane:Ye,action:ue.action,hasEagerState:ue.hasEagerState,eagerState:ue.eagerState,next:null};ae===null?(re=ae=ft,H=G):ae=ae.next=ft,gn.lanes=Ot(gn.lanes,Ye),Yg(Ye)}ue=ue.next}while(ue!==null&&ue!==L);ae===null?H=G:ae.next=re,Ke(G,u.memoizedState)||Lg(),u.memoizedState=G,u.baseState=H,u.baseQueue=ae,d.lastRenderedState=G}var Bt=d.interleaved;if(Bt!==null){var ee=Bt;do{var ce=ee.lane;gn.lanes=Ot(gn.lanes,ce),Yg(ce),ee=ee.next}while(ee!==Bt)}else x===null&&(d.lanes=fe);var te=d.dispatch;return[u.memoizedState,te]}function tT(e,n,s){var u=Co(),d=u.queue;if(d===null)throw new Error("Should have a queue. This is likely a bug in React. Please file an issue.");d.lastRenderedReducer=e;var m=d.dispatch,x=d.pending,T=u.memoizedState;if(x!==null){d.pending=null;var _=x.next,M=_;do{var L=M.action;T=e(T,L),M=M.next}while(M!==_);Ke(T,u.memoizedState)||Lg(),u.memoizedState=T,u.baseQueue===null&&(u.baseState=T),d.lastRenderedState=T}return[T,m]}function Ote(e,n,s){}function Ate(e,n,s){}function nT(e,n,s){var u=gn,d=Ks(),m,x=xa();if(x){if(s===void 0)throw new Error("Missing getServerSnapshot, which is required for server-rendered content. Will revert to client rendering.");m=s(),wh||m!==s()&&(p("The result of getServerSnapshot should be cached to avoid an infinite loop"),wh=!0)}else{if(m=n(),!wh){var T=n();Ke(m,T)||(p("The result of getSnapshot should be cached to avoid an infinite loop"),wh=!0)}var _=gS();if(_===null)throw new Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");Ef(_,Gf)||HA(u,n,m)}d.memoizedState=m;var M={value:m,getSnapshot:n};return d.queue=M,Wb(YA.bind(null,u,M,e),[e]),u.flags|=In,Rg(Ur|Ca,WA.bind(null,u,M,m,n),void 0,null),m}function Vb(e,n,s){var u=gn,d=Co(),m=n();if(!wh){var x=n();Ke(m,x)||(p("The result of getSnapshot should be cached to avoid an infinite loop"),wh=!0)}var T=d.memoizedState,_=!Ke(T,m);_&&(d.memoizedState=m,Lg());var M=d.queue;if(Og(YA.bind(null,u,M,e),[e]),M.getSnapshot!==n||_||Yr!==null&&Yr.memoizedState.tag&Ur){u.flags|=In,Rg(Ur|Ca,WA.bind(null,u,M,m,n),void 0,null);var L=gS();if(L===null)throw new Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");Ef(L,Gf)||HA(u,n,m)}return m}function HA(e,n,s){e.flags|=vf;var u={getSnapshot:n,value:s},d=gn.updateQueue;if(d===null)d=UA(),gn.updateQueue=d,d.stores=[u];else{var m=d.stores;m===null?d.stores=[u]:m.push(u)}}function WA(e,n,s,u){n.value=s,n.getSnapshot=u,GA(n)&&qA(e)}function YA(e,n,s){var u=function(){GA(n)&&qA(e)};return s(u)}function GA(e){var n=e.getSnapshot,s=e.value;try{var u=n();return!Ke(s,u)}catch{return!0}}function qA(e){var n=zi(e,vt);n!==null&&Qr(n,e,vt,Sn)}function Ib(e){var n=Ks();typeof e=="function"&&(e=e()),n.memoizedState=n.baseState=e;var s={pending:null,interleaved:null,lanes:fe,dispatch:null,lastRenderedReducer:ZE,lastRenderedState:e};n.queue=s;var u=s.dispatch=cZ.bind(null,gn,s);return[n.memoizedState,u]}function rT(e){return eT(ZE)}function aT(e){return tT(ZE)}function Rg(e,n,s,u){var d={tag:e,create:n,destroy:s,deps:u,next:null},m=gn.updateQueue;if(m===null)m=UA(),gn.updateQueue=m,m.lastEffect=d.next=d;else{var x=m.lastEffect;if(x===null)m.lastEffect=d.next=d;else{var T=x.next;x.next=d,d.next=T,m.lastEffect=d}}return d}function iT(e){var n=Ks();{var s={current:e};return n.memoizedState=s,s}}function Ub(e){var n=Co();return n.memoizedState}function Dg(e,n,s,u){var d=Ks(),m=u===void 0?null:u;gn.flags|=e,d.memoizedState=Rg(Ur|n,s,void 0,m)}function Hb(e,n,s,u){var d=Co(),m=u===void 0?null:u,x=void 0;if(Wr!==null){var T=Wr.memoizedState;if(x=T.destroy,m!==null){var _=T.deps;if(KE(m,_)){d.memoizedState=Rg(n,s,x,m);return}}}gn.flags|=e,d.memoizedState=Rg(Ur|n,s,x,m)}function Wb(e,n){return(gn.mode&Ri)!==dt?Dg(Al|In|Ps,Ca,e,n):Dg(In|Ps,Ca,e,n)}function Og(e,n){return Hb(In,Ca,e,n)}function oT(e,n){return Dg(Dt,Qs,e,n)}function Yb(e,n){return Hb(Dt,Qs,e,n)}function sT(e,n){var s=Dt;return s|=ja,(gn.mode&Ri)!==dt&&(s|=Fa),Dg(s,Hr,e,n)}function Gb(e,n){return Hb(Dt,Hr,e,n)}function XA(e,n){if(typeof n=="function"){var s=n,u=e();return s(u),function(){s(null)}}else if(n!=null){var d=n;d.hasOwnProperty("current")||p("Expected useImperativeHandle() first argument to either be a ref callback or React.createRef() object. Instead received: %s.","an object with keys {"+Object.keys(d).join(", ")+"}");var m=e();return d.current=m,function(){d.current=null}}}function lT(e,n,s){typeof n!="function"&&p("Expected useImperativeHandle() second argument to be a function that creates a handle. Instead received: %s.",n!==null?typeof n:"null");var u=s!=null?s.concat([e]):null,d=Dt;return d|=ja,(gn.mode&Ri)!==dt&&(d|=Fa),Dg(d,Hr,XA.bind(null,n,e),u)}function qb(e,n,s){typeof n!="function"&&p("Expected useImperativeHandle() second argument to be a function that creates a handle. Instead received: %s.",n!==null?typeof n:"null");var u=s!=null?s.concat([e]):null;return Hb(Dt,Hr,XA.bind(null,n,e),u)}function oZ(e,n){}var Xb=oZ;function uT(e,n){var s=Ks(),u=n===void 0?null:n;return s.memoizedState=[e,u],e}function Qb(e,n){var s=Co(),u=n===void 0?null:n,d=s.memoizedState;if(d!==null&&u!==null){var m=d[1];if(KE(u,m))return d[0]}return s.memoizedState=[e,u],e}function cT(e,n){var s=Ks(),u=n===void 0?null:n,d=e();return s.memoizedState=[d,u],d}function Kb(e,n){var s=Co(),u=n===void 0?null:n,d=s.memoizedState;if(d!==null&&u!==null){var m=d[1];if(KE(u,m))return d[0]}var x=e();return s.memoizedState=[x,u],x}function fT(e){var n=Ks();return n.memoizedState=e,e}function QA(e){var n=Co(),s=Wr,u=s.memoizedState;return ZA(n,u,e)}function KA(e){var n=Co();if(Wr===null)return n.memoizedState=e,e;var s=Wr.memoizedState;return ZA(n,s,e)}function ZA(e,n,s){var u=!gw(Gf);if(u){if(!Ke(s,n)){var d=Am();gn.lanes=Ot(gn.lanes,d),Yg(d),e.baseState=!0}return n}else return e.baseState&&(e.baseState=!1,Lg()),e.memoizedState=s,s}function sZ(e,n,s){var u=Oi();Sr(oa(u,Ir)),e(!0);var d=Tg.transition;Tg.transition={};var m=Tg.transition;Tg.transition._updatedFibers=new Set;try{e(!1),n()}finally{if(Sr(u),Tg.transition=d,d===null&&m._updatedFibers){var x=m._updatedFibers.size;x>10&&h("Detected a large number of updates inside startTransition. If this is due to a subscription please re-write it to use React provided hooks. Otherwise concurrent mode guarantees are off the table."),m._updatedFibers.clear()}}}function dT(){var e=Ib(!1),n=e[0],s=e[1],u=sZ.bind(null,s),d=Ks();return d.memoizedState=u,[n,u]}function JA(){var e=rT(),n=e[0],s=Co(),u=s.memoizedState;return[n,u]}function eM(){var e=aT(),n=e[0],s=Co(),u=s.memoizedState;return[n,u]}var tM=!1;function lZ(){return tM}function pT(){var e=Ks(),n=gS(),s=n.identifierPrefix,u;if(xa()){var d=CK();u=":"+s+"R"+d;var m=_g++;m>0&&(u+="H"+m.toString(32)),u+=":"}else{var x=rZ++;u=":"+s+"r"+x.toString(32)+":"}return e.memoizedState=u,u}function Zb(){var e=Co(),n=e.memoizedState;return n}function uZ(e,n,s){typeof arguments[3]=="function"&&p("State updates from the useState() and useReducer() Hooks don't support the second callback argument. To execute a side effect after rendering, declare it in the component body with useEffect().");var u=Tc(e),d={lane:u,action:s,hasEagerState:!1,eagerState:null,next:null};if(nM(e))rM(n,d);else{var m=SA(e,n,d,u);if(m!==null){var x=li();Qr(m,e,u,x),aM(m,n,u)}}iM(e,u)}function cZ(e,n,s){typeof arguments[3]=="function"&&p("State updates from the useState() and useReducer() Hooks don't support the second callback argument. To execute a side effect after rendering, declare it in the component body with useEffect().");var u=Tc(e),d={lane:u,action:s,hasEagerState:!1,eagerState:null,next:null};if(nM(e))rM(n,d);else{var m=e.alternate;if(e.lanes===fe&&(m===null||m.lanes===fe)){var x=n.lastRenderedReducer;if(x!==null){var T;T=We.current,We.current=rs;try{var _=n.lastRenderedState,M=x(_,s);if(d.hasEagerState=!0,d.eagerState=M,Ke(M,_)){IK(e,n,d,u);return}}catch{}finally{We.current=T}}}var L=SA(e,n,d,u);if(L!==null){var G=li();Qr(L,e,u,G),aM(L,n,u)}}iM(e,u)}function nM(e){var n=e.alternate;return e===gn||n!==null&&n===gn}function rM(e,n){kg=Bb=!0;var s=e.pending;s===null?n.next=n:(n.next=s.next,s.next=n),e.pending=n}function aM(e,n,s){if(Om(s)){var u=n.lanes;u=Mm(u,e.pendingLanes);var d=Ot(u,s);n.lanes=d,Ku(e,d)}}function iM(e,n,s){$s(e,n)}var Jb={readContext:Lr,useCallback:Ya,useContext:Ya,useEffect:Ya,useImperativeHandle:Ya,useInsertionEffect:Ya,useLayoutEffect:Ya,useMemo:Ya,useReducer:Ya,useRef:Ya,useState:Ya,useDebugValue:Ya,useDeferredValue:Ya,useTransition:Ya,useMutableSource:Ya,useSyncExternalStore:Ya,useId:Ya,unstable_isNewReconciler:be},oM=null,sM=null,lM=null,uM=null,Zs=null,rs=null,eS=null;{var hT=function(){p("Context can only be read while React is rendering. In classes, you can read it in the render method or getDerivedStateFromProps. In function components, you can read it directly in the function body, but not inside Hooks like useReducer() or useMemo().")},Tt=function(){p("Do not call Hooks inside useEffect(...), useMemo(...), or other built-in Hooks. You can only call Hooks at the top level of your React function. For more information, see https://reactjs.org/link/rules-of-hooks")};oM={readContext:function(e){return Lr(e)},useCallback:function(e,n){return de="useCallback",an(),Eh(n),uT(e,n)},useContext:function(e){return de="useContext",an(),Lr(e)},useEffect:function(e,n){return de="useEffect",an(),Eh(n),Wb(e,n)},useImperativeHandle:function(e,n,s){return de="useImperativeHandle",an(),Eh(s),lT(e,n,s)},useInsertionEffect:function(e,n){return de="useInsertionEffect",an(),Eh(n),oT(e,n)},useLayoutEffect:function(e,n){return de="useLayoutEffect",an(),Eh(n),sT(e,n)},useMemo:function(e,n){de="useMemo",an(),Eh(n);var s=We.current;We.current=Zs;try{return cT(e,n)}finally{We.current=s}},useReducer:function(e,n,s){de="useReducer",an();var u=We.current;We.current=Zs;try{return JE(e,n,s)}finally{We.current=u}},useRef:function(e){return de="useRef",an(),iT(e)},useState:function(e){de="useState",an();var n=We.current;We.current=Zs;try{return Ib(e)}finally{We.current=n}},useDebugValue:function(e,n){return de="useDebugValue",an(),void 0},useDeferredValue:function(e){return de="useDeferredValue",an(),fT(e)},useTransition:function(){return de="useTransition",an(),dT()},useMutableSource:function(e,n,s){return de="useMutableSource",an(),void 0},useSyncExternalStore:function(e,n,s){return de="useSyncExternalStore",an(),nT(e,n,s)},useId:function(){return de="useId",an(),pT()},unstable_isNewReconciler:be},sM={readContext:function(e){return Lr(e)},useCallback:function(e,n){return de="useCallback",je(),uT(e,n)},useContext:function(e){return de="useContext",je(),Lr(e)},useEffect:function(e,n){return de="useEffect",je(),Wb(e,n)},useImperativeHandle:function(e,n,s){return de="useImperativeHandle",je(),lT(e,n,s)},useInsertionEffect:function(e,n){return de="useInsertionEffect",je(),oT(e,n)},useLayoutEffect:function(e,n){return de="useLayoutEffect",je(),sT(e,n)},useMemo:function(e,n){de="useMemo",je();var s=We.current;We.current=Zs;try{return cT(e,n)}finally{We.current=s}},useReducer:function(e,n,s){de="useReducer",je();var u=We.current;We.current=Zs;try{return JE(e,n,s)}finally{We.current=u}},useRef:function(e){return de="useRef",je(),iT(e)},useState:function(e){de="useState",je();var n=We.current;We.current=Zs;try{return Ib(e)}finally{We.current=n}},useDebugValue:function(e,n){return de="useDebugValue",je(),void 0},useDeferredValue:function(e){return de="useDeferredValue",je(),fT(e)},useTransition:function(){return de="useTransition",je(),dT()},useMutableSource:function(e,n,s){return de="useMutableSource",je(),void 0},useSyncExternalStore:function(e,n,s){return de="useSyncExternalStore",je(),nT(e,n,s)},useId:function(){return de="useId",je(),pT()},unstable_isNewReconciler:be},lM={readContext:function(e){return Lr(e)},useCallback:function(e,n){return de="useCallback",je(),Qb(e,n)},useContext:function(e){return de="useContext",je(),Lr(e)},useEffect:function(e,n){return de="useEffect",je(),Og(e,n)},useImperativeHandle:function(e,n,s){return de="useImperativeHandle",je(),qb(e,n,s)},useInsertionEffect:function(e,n){return de="useInsertionEffect",je(),Yb(e,n)},useLayoutEffect:function(e,n){return de="useLayoutEffect",je(),Gb(e,n)},useMemo:function(e,n){de="useMemo",je();var s=We.current;We.current=rs;try{return Kb(e,n)}finally{We.current=s}},useReducer:function(e,n,s){de="useReducer",je();var u=We.current;We.current=rs;try{return eT(e,n,s)}finally{We.current=u}},useRef:function(e){return de="useRef",je(),Ub()},useState:function(e){de="useState",je();var n=We.current;We.current=rs;try{return rT(e)}finally{We.current=n}},useDebugValue:function(e,n){return de="useDebugValue",je(),Xb()},useDeferredValue:function(e){return de="useDeferredValue",je(),QA(e)},useTransition:function(){return de="useTransition",je(),JA()},useMutableSource:function(e,n,s){return de="useMutableSource",je(),void 0},useSyncExternalStore:function(e,n,s){return de="useSyncExternalStore",je(),Vb(e,n)},useId:function(){return de="useId",je(),Zb()},unstable_isNewReconciler:be},uM={readContext:function(e){return Lr(e)},useCallback:function(e,n){return de="useCallback",je(),Qb(e,n)},useContext:function(e){return de="useContext",je(),Lr(e)},useEffect:function(e,n){return de="useEffect",je(),Og(e,n)},useImperativeHandle:function(e,n,s){return de="useImperativeHandle",je(),qb(e,n,s)},useInsertionEffect:function(e,n){return de="useInsertionEffect",je(),Yb(e,n)},useLayoutEffect:function(e,n){return de="useLayoutEffect",je(),Gb(e,n)},useMemo:function(e,n){de="useMemo",je();var s=We.current;We.current=eS;try{return Kb(e,n)}finally{We.current=s}},useReducer:function(e,n,s){de="useReducer",je();var u=We.current;We.current=eS;try{return tT(e,n,s)}finally{We.current=u}},useRef:function(e){return de="useRef",je(),Ub()},useState:function(e){de="useState",je();var n=We.current;We.current=eS;try{return aT(e)}finally{We.current=n}},useDebugValue:function(e,n){return de="useDebugValue",je(),Xb()},useDeferredValue:function(e){return de="useDeferredValue",je(),KA(e)},useTransition:function(){return de="useTransition",je(),eM()},useMutableSource:function(e,n,s){return de="useMutableSource",je(),void 0},useSyncExternalStore:function(e,n,s){return de="useSyncExternalStore",je(),Vb(e,n)},useId:function(){return de="useId",je(),Zb()},unstable_isNewReconciler:be},Zs={readContext:function(e){return hT(),Lr(e)},useCallback:function(e,n){return de="useCallback",Tt(),an(),uT(e,n)},useContext:function(e){return de="useContext",Tt(),an(),Lr(e)},useEffect:function(e,n){return de="useEffect",Tt(),an(),Wb(e,n)},useImperativeHandle:function(e,n,s){return de="useImperativeHandle",Tt(),an(),lT(e,n,s)},useInsertionEffect:function(e,n){return de="useInsertionEffect",Tt(),an(),oT(e,n)},useLayoutEffect:function(e,n){return de="useLayoutEffect",Tt(),an(),sT(e,n)},useMemo:function(e,n){de="useMemo",Tt(),an();var s=We.current;We.current=Zs;try{return cT(e,n)}finally{We.current=s}},useReducer:function(e,n,s){de="useReducer",Tt(),an();var u=We.current;We.current=Zs;try{return JE(e,n,s)}finally{We.current=u}},useRef:function(e){return de="useRef",Tt(),an(),iT(e)},useState:function(e){de="useState",Tt(),an();var n=We.current;We.current=Zs;try{return Ib(e)}finally{We.current=n}},useDebugValue:function(e,n){return de="useDebugValue",Tt(),an(),void 0},useDeferredValue:function(e){return de="useDeferredValue",Tt(),an(),fT(e)},useTransition:function(){return de="useTransition",Tt(),an(),dT()},useMutableSource:function(e,n,s){return de="useMutableSource",Tt(),an(),void 0},useSyncExternalStore:function(e,n,s){return de="useSyncExternalStore",Tt(),an(),nT(e,n,s)},useId:function(){return de="useId",Tt(),an(),pT()},unstable_isNewReconciler:be},rs={readContext:function(e){return hT(),Lr(e)},useCallback:function(e,n){return de="useCallback",Tt(),je(),Qb(e,n)},useContext:function(e){return de="useContext",Tt(),je(),Lr(e)},useEffect:function(e,n){return de="useEffect",Tt(),je(),Og(e,n)},useImperativeHandle:function(e,n,s){return de="useImperativeHandle",Tt(),je(),qb(e,n,s)},useInsertionEffect:function(e,n){return de="useInsertionEffect",Tt(),je(),Yb(e,n)},useLayoutEffect:function(e,n){return de="useLayoutEffect",Tt(),je(),Gb(e,n)},useMemo:function(e,n){de="useMemo",Tt(),je();var s=We.current;We.current=rs;try{return Kb(e,n)}finally{We.current=s}},useReducer:function(e,n,s){de="useReducer",Tt(),je();var u=We.current;We.current=rs;try{return eT(e,n,s)}finally{We.current=u}},useRef:function(e){return de="useRef",Tt(),je(),Ub()},useState:function(e){de="useState",Tt(),je();var n=We.current;We.current=rs;try{return rT(e)}finally{We.current=n}},useDebugValue:function(e,n){return de="useDebugValue",Tt(),je(),Xb()},useDeferredValue:function(e){return de="useDeferredValue",Tt(),je(),QA(e)},useTransition:function(){return de="useTransition",Tt(),je(),JA()},useMutableSource:function(e,n,s){return de="useMutableSource",Tt(),je(),void 0},useSyncExternalStore:function(e,n,s){return de="useSyncExternalStore",Tt(),je(),Vb(e,n)},useId:function(){return de="useId",Tt(),je(),Zb()},unstable_isNewReconciler:be},eS={readContext:function(e){return hT(),Lr(e)},useCallback:function(e,n){return de="useCallback",Tt(),je(),Qb(e,n)},useContext:function(e){return de="useContext",Tt(),je(),Lr(e)},useEffect:function(e,n){return de="useEffect",Tt(),je(),Og(e,n)},useImperativeHandle:function(e,n,s){return de="useImperativeHandle",Tt(),je(),qb(e,n,s)},useInsertionEffect:function(e,n){return de="useInsertionEffect",Tt(),je(),Yb(e,n)},useLayoutEffect:function(e,n){return de="useLayoutEffect",Tt(),je(),Gb(e,n)},useMemo:function(e,n){de="useMemo",Tt(),je();var s=We.current;We.current=rs;try{return Kb(e,n)}finally{We.current=s}},useReducer:function(e,n,s){de="useReducer",Tt(),je();var u=We.current;We.current=rs;try{return tT(e,n,s)}finally{We.current=u}},useRef:function(e){return de="useRef",Tt(),je(),Ub()},useState:function(e){de="useState",Tt(),je();var n=We.current;We.current=rs;try{return aT(e)}finally{We.current=n}},useDebugValue:function(e,n){return de="useDebugValue",Tt(),je(),Xb()},useDeferredValue:function(e){return de="useDeferredValue",Tt(),je(),KA(e)},useTransition:function(){return de="useTransition",Tt(),je(),eM()},useMutableSource:function(e,n,s){return de="useMutableSource",Tt(),je(),void 0},useSyncExternalStore:function(e,n,s){return de="useSyncExternalStore",Tt(),je(),Vb(e,n)},useId:function(){return de="useId",Tt(),je(),Zb()},unstable_isNewReconciler:be}}var xc=r.unstable_now,cM=0,tS=-1,Ag=-1,nS=-1,vT=!1,rS=!1;function fM(){return vT}function fZ(){rS=!0}function dZ(){vT=!1,rS=!1}function pZ(){vT=rS,rS=!1}function dM(){return cM}function pM(){cM=xc()}function mT(e){Ag=xc(),e.actualStartTime<0&&(e.actualStartTime=xc())}function hM(e){Ag=-1}function aS(e,n){if(Ag>=0){var s=xc()-Ag;e.actualDuration+=s,n&&(e.selfBaseDuration=s),Ag=-1}}function Js(e){if(tS>=0){var n=xc()-tS;tS=-1;for(var s=e.return;s!==null;){switch(s.tag){case E:var u=s.stateNode;u.effectDuration+=n;return;case Q:var d=s.stateNode;d.effectDuration+=n;return}s=s.return}}}function gT(e){if(nS>=0){var n=xc()-nS;nS=-1;for(var s=e.return;s!==null;){switch(s.tag){case E:var u=s.stateNode;u!==null&&(u.passiveEffectDuration+=n);return;case Q:var d=s.stateNode;d!==null&&(d.passiveEffectDuration+=n);return}s=s.return}}}function el(){tS=xc()}function yT(){nS=xc()}function bT(e){for(var n=e.child;n;)e.actualDuration+=n.actualDuration,n=n.sibling}function qf(e,n){return{value:e,source:n,stack:Ou(n),digest:null}}function ST(e,n,s){return{value:e,source:null,stack:s??null,digest:n??null}}function hZ(e,n){return!0}function xT(e,n){try{var s=hZ(e,n);if(s===!1)return;var u=n.value,d=n.source,m=n.stack,x=m!==null?m:"";if(u!=null&&u._suppressLogging){if(e.tag===S)return;console.error(u)}var T=d?Et(d):null,_=T?"The above error occurred in the <"+T+"> component:":"The above error occurred in one of your React components:",M;if(e.tag===E)M=`Consider adding an error boundary to your tree to customize error handling behavior.
172
+ Visit https://reactjs.org/link/error-boundaries to learn more about error boundaries.`;else{var L=Et(e)||"Anonymous";M="React will try to recreate this component tree from scratch "+("using the error boundary you provided, "+L+".")}var G=_+`
173
+ `+x+`
174
+
175
+ `+(""+M);console.error(G)}catch(H){setTimeout(function(){throw H})}}var vZ=typeof WeakMap=="function"?WeakMap:Map;function vM(e,n,s){var u=ru(Sn,s);u.tag=xE,u.payload={element:null};var d=n.value;return u.callback=function(){see(d),xT(e,n)},u}function CT(e,n,s){var u=ru(Sn,s);u.tag=xE;var d=e.type.getDerivedStateFromError;if(typeof d=="function"){var m=n.value;u.payload=function(){return d(m)},u.callback=function(){k6(e),xT(e,n)}}var x=e.stateNode;return x!==null&&typeof x.componentDidCatch=="function"&&(u.callback=function(){k6(e),xT(e,n),typeof d!="function"&&iee(this);var _=n.value,M=n.stack;this.componentDidCatch(_,{componentStack:M!==null?M:""}),typeof d!="function"&&(Ua(e.lanes,vt)||p("%s: Error boundaries should implement getDerivedStateFromError(). In that method, return a state update to display an error message or fallback UI.",Et(e)||"Unknown"))}),u}function mM(e,n,s){var u=e.pingCache,d;if(u===null?(u=e.pingCache=new vZ,d=new Set,u.set(n,d)):(d=u.get(n),d===void 0&&(d=new Set,u.set(n,d))),!d.has(s)){d.add(s);var m=lee.bind(null,e,n,s);Vr&&Gg(e,s),n.then(m,m)}}function mZ(e,n,s,u){var d=e.updateQueue;if(d===null){var m=new Set;m.add(s),e.updateQueue=m}else d.add(s)}function gZ(e,n){var s=e.tag;if((e.mode&Nt)===dt&&(s===y||s===$||s===J)){var u=e.alternate;u?(e.updateQueue=u.updateQueue,e.memoizedState=u.memoizedState,e.lanes=u.lanes):(e.updateQueue=null,e.memoizedState=null)}}function gM(e){var n=e;do{if(n.tag===V&&tZ(n))return n;n=n.return}while(n!==null);return null}function yM(e,n,s,u,d){if((e.mode&Nt)===dt){if(e===n)e.flags|=Dr;else{if(e.flags|=St,s.flags|=mf,s.flags&=~(fp|ei),s.tag===S){var m=s.alternate;if(m===null)s.tag=ve;else{var x=ru(Sn,vt);x.tag=Rb,gc(s,x,vt)}}s.lanes=Ot(s.lanes,vt)}return e}return e.flags|=Dr,e.lanes=d,e}function yZ(e,n,s,u,d){if(s.flags|=ei,Vr&&Gg(e,d),u!==null&&typeof u=="object"&&typeof u.then=="function"){var m=u;gZ(s),xa()&&s.mode&Nt&&lA();var x=gM(n);if(x!==null){x.flags&=~Qn,yM(x,n,s,e,d),x.mode&Nt&&mM(e,m,d),mZ(x,e,m);return}else{if(!Xu(d)){mM(e,m,d),tk();return}var T=new Error("A component suspended while responding to synchronous input. This will cause the UI to be replaced with a loading indicator. To fix, updates that suspend should be wrapped with startTransition.");u=T}}else if(xa()&&s.mode&Nt){lA();var _=gM(n);if(_!==null){(_.flags&Dr)===ut&&(_.flags|=Qn),yM(_,n,s,e,d),hE(qf(u,s));return}}u=qf(u,s),KJ(u);var M=n;do{switch(M.tag){case E:{var L=u;M.flags|=Dr;var G=br(d);M.lanes=Ot(M.lanes,G);var H=vM(M,L,G);EE(M,H);return}case S:var re=u,ae=M.type,ue=M.stateNode;if((M.flags&St)===ut&&(typeof ae.getDerivedStateFromError=="function"||ue!==null&&typeof ue.componentDidCatch=="function"&&!g6(ue))){M.flags|=Dr;var Ye=br(d);M.lanes=Ot(M.lanes,Ye);var ft=CT(M,re,Ye);EE(M,ft);return}break}M=M.return}while(M!==null)}function bZ(){return null}var Mg=i.ReactCurrentOwner,as=!1,wT,Pg,ET,TT,kT,Xf,_T,iS;wT={},Pg={},ET={},TT={},kT={},Xf=!1,_T={},iS={};function oi(e,n,s,u){e===null?n.child=NA(n,null,s,u):n.child=bh(n,e.child,s,u)}function SZ(e,n,s,u){n.child=bh(n,e.child,null,u),n.child=bh(n,null,s,u)}function bM(e,n,s,u,d){if(n.type!==n.elementType){var m=s.propTypes;m&&Zo(m,u,"prop",fn(s))}var x=s.render,T=n.ref,_,M;yh(n,d),Fs(n);{if(Mg.current=n,Pa(!0),_=Th(e,n,x,u,T,d),M=kh(),n.mode&Yn){yr(!0);try{_=Th(e,n,x,u,T,d),M=kh()}finally{yr(!1)}}Pa(!1)}return Ml(),e!==null&&!as?(VA(e,n,d),au(e,n,d)):(xa()&&M&&lE(n),n.flags|=As,oi(e,n,_,d),n.child)}function SM(e,n,s,u,d){if(e===null){var m=s.type;if(Tee(m)&&s.compare===null&&s.defaultProps===void 0){var x=m;return x=Lh(m),n.tag=J,n.type=x,OT(n,m),xM(e,n,x,u,d)}{var T=m.propTypes;T&&Zo(T,u,"prop",fn(m))}var _=dk(s.type,null,u,n,n.mode,d);return _.ref=n.ref,_.return=n,n.child=_,_}{var M=s.type,L=M.propTypes;L&&Zo(L,u,"prop",fn(M))}var G=e.child,H=NT(e,d);if(!H){var re=G.memoizedProps,ae=s.compare;if(ae=ae!==null?ae:ot,ae(re,u)&&e.ref===n.ref)return au(e,n,d)}n.flags|=As;var ue=ed(G,u);return ue.ref=n.ref,ue.return=n,n.child=ue,ue}function xM(e,n,s,u,d){if(n.type!==n.elementType){var m=n.elementType;if(m.$$typeof===ct){var x=m,T=x._payload,_=x._init;try{m=_(T)}catch{m=null}var M=m&&m.propTypes;M&&Zo(M,u,"prop",fn(m))}}if(e!==null){var L=e.memoizedProps;if(ot(L,u)&&e.ref===n.ref&&n.type===e.type)if(as=!1,n.pendingProps=u=L,NT(e,d))(e.flags&mf)!==ut&&(as=!0);else return n.lanes=e.lanes,au(e,n,d)}return RT(e,n,s,u,d)}function CM(e,n,s){var u=n.pendingProps,d=u.children,m=e!==null?e.memoizedState:null;if(u.mode==="hidden"||K)if((n.mode&Nt)===dt){var x={baseLanes:fe,cachePool:null,transitions:null};n.memoizedState=x,yS(n,s)}else if(Ua(s,Ia)){var G={baseLanes:fe,cachePool:null,transitions:null};n.memoizedState=G;var H=m!==null?m.baseLanes:s;yS(n,H)}else{var T=null,_;if(m!==null){var M=m.baseLanes;_=Ot(M,s)}else _=s;n.lanes=n.childLanes=Ia;var L={baseLanes:_,cachePool:T,transitions:null};return n.memoizedState=L,n.updateQueue=null,yS(n,_),null}else{var re;m!==null?(re=Ot(m.baseLanes,s),n.memoizedState=null):re=s,yS(n,re)}return oi(e,n,d,s),n.child}function xZ(e,n,s){var u=n.pendingProps;return oi(e,n,u,s),n.child}function CZ(e,n,s){var u=n.pendingProps.children;return oi(e,n,u,s),n.child}function wZ(e,n,s){{n.flags|=Dt;{var u=n.stateNode;u.effectDuration=0,u.passiveEffectDuration=0}}var d=n.pendingProps,m=d.children;return oi(e,n,m,s),n.child}function wM(e,n){var s=n.ref;(e===null&&s!==null||e!==null&&e.ref!==s)&&(n.flags|=Na,n.flags|=vm)}function RT(e,n,s,u,d){if(n.type!==n.elementType){var m=s.propTypes;m&&Zo(m,u,"prop",fn(s))}var x;{var T=dh(n,s,!0);x=ph(n,T)}var _,M;yh(n,d),Fs(n);{if(Mg.current=n,Pa(!0),_=Th(e,n,s,u,x,d),M=kh(),n.mode&Yn){yr(!0);try{_=Th(e,n,s,u,x,d),M=kh()}finally{yr(!1)}}Pa(!1)}return Ml(),e!==null&&!as?(VA(e,n,d),au(e,n,d)):(xa()&&M&&lE(n),n.flags|=As,oi(e,n,_,d),n.child)}function EM(e,n,s,u,d){{switch(Bee(n)){case!1:{var m=n.stateNode,x=n.type,T=new x(n.memoizedProps,m.context),_=T.state;m.updater.enqueueSetState(m,_,null);break}case!0:{n.flags|=St,n.flags|=Dr;var M=new Error("Simulated error coming from DevTools"),L=br(d);n.lanes=Ot(n.lanes,L);var G=CT(n,qf(M,n),L);EE(n,G);break}}if(n.type!==n.elementType){var H=s.propTypes;H&&Zo(H,u,"prop",fn(s))}}var re;Xs(s)?(re=!0,gb(n)):re=!1,yh(n,d);var ae=n.stateNode,ue;ae===null?(sS(e,n),AA(n,s,u),NE(n,s,u,d),ue=!0):e===null?ue=XK(n,s,u,d):ue=QK(e,n,s,u,d);var Ye=DT(e,n,s,ue,re,d);{var ft=n.stateNode;ue&&ft.props!==u&&(Xf||p("It looks like %s is reassigning its own `this.props` while rendering. This is not supported and can lead to confusing bugs.",Et(n)||"a component"),Xf=!0)}return Ye}function DT(e,n,s,u,d,m){wM(e,n);var x=(n.flags&St)!==ut;if(!u&&!x)return d&&aA(n,s,!1),au(e,n,m);var T=n.stateNode;Mg.current=n;var _;if(x&&typeof s.getDerivedStateFromError!="function")_=null,hM();else{Fs(n);{if(Pa(!0),_=T.render(),n.mode&Yn){yr(!0);try{T.render()}finally{yr(!1)}}Pa(!1)}Ml()}return n.flags|=As,e!==null&&x?SZ(e,n,_,m):oi(e,n,_,m),n.memoizedState=T.state,d&&aA(n,s,!0),n.child}function TM(e){var n=e.stateNode;n.pendingContext?nA(e,n.pendingContext,n.pendingContext!==n.context):n.context&&nA(e,n.context,!1),IE(e,n.containerInfo)}function EZ(e,n,s){if(TM(n),e===null)throw new Error("Should have a current fiber. This is a bug in React.");var u=n.pendingProps,d=n.memoizedState,m=d.element;wA(e,n),Mb(n,u,null,s);var x=n.memoizedState;n.stateNode;var T=x.element;if(d.isDehydrated){var _={element:T,isDehydrated:!1,cache:x.cache,pendingSuspenseBoundaries:x.pendingSuspenseBoundaries,transitions:x.transitions},M=n.updateQueue;if(M.baseState=_,n.memoizedState=_,n.flags&Qn){var L=qf(new Error("There was an error while hydrating. Because the error happened outside of a Suspense boundary, the entire root will switch to client rendering."),n);return kM(e,n,T,s,L)}else if(T!==m){var G=qf(new Error("This root received an early update, before anything was able hydrate. Switched the entire root to client rendering."),n);return kM(e,n,T,s,G)}else{RK(n);var H=NA(n,null,T,s);n.child=H;for(var re=H;re;)re.flags=re.flags&~Mn|Ti,re=re.sibling}}else{if(mh(),T===m)return au(e,n,s);oi(e,n,T,s)}return n.child}function kM(e,n,s,u,d){return mh(),hE(d),n.flags|=Qn,oi(e,n,s,u),n.child}function TZ(e,n,s){FA(n),e===null&&pE(n);var u=n.type,d=n.pendingProps,m=e!==null?e.memoizedProps:null,x=d.children,T=qw(u,d);return T?x=null:m!==null&&qw(u,m)&&(n.flags|=rn),wM(e,n),oi(e,n,x,s),n.child}function kZ(e,n){return e===null&&pE(n),null}function _Z(e,n,s,u){sS(e,n);var d=n.pendingProps,m=s,x=m._payload,T=m._init,_=T(x);n.type=_;var M=n.tag=kee(_),L=ts(_,d),G;switch(M){case y:return OT(n,_),n.type=_=Lh(_),G=RT(null,n,_,L,u),G;case S:return n.type=_=ok(_),G=EM(null,n,_,L,u),G;case $:return n.type=_=sk(_),G=bM(null,n,_,L,u),G;case le:{if(n.type!==n.elementType){var H=_.propTypes;H&&Zo(H,L,"prop",fn(_))}return G=SM(null,n,_,ts(_.type,L),u),G}}var re="";throw _!==null&&typeof _=="object"&&_.$$typeof===ct&&(re=" Did you wrap a component in React.lazy() more than once?"),new Error("Element type is invalid. Received a promise that resolves to: "+_+". "+("Lazy element type must resolve to a class or function."+re))}function RZ(e,n,s,u,d){sS(e,n),n.tag=S;var m;return Xs(s)?(m=!0,gb(n)):m=!1,yh(n,d),AA(n,s,u),NE(n,s,u,d),DT(null,n,s,!0,m,d)}function DZ(e,n,s,u){sS(e,n);var d=n.pendingProps,m;{var x=dh(n,s,!1);m=ph(n,x)}yh(n,u);var T,_;Fs(n);{if(s.prototype&&typeof s.prototype.render=="function"){var M=fn(s)||"Unknown";wT[M]||(p("The <%s /> component appears to have a render method, but doesn't extend React.Component. This is likely to cause errors. Change %s to extend React.Component instead.",M,M),wT[M]=!0)}n.mode&Yn&&es.recordLegacyContextWarning(n,null),Pa(!0),Mg.current=n,T=Th(null,n,s,d,m,u),_=kh(),Pa(!1)}if(Ml(),n.flags|=As,typeof T=="object"&&T!==null&&typeof T.render=="function"&&T.$$typeof===void 0){var L=fn(s)||"Unknown";Pg[L]||(p("The <%s /> component appears to be a function component that returns a class instance. Change %s to a class that extends React.Component instead. If you can't use a class try assigning the prototype on the function as a workaround. `%s.prototype = React.Component.prototype`. Don't use an arrow function since it cannot be called with `new` by React.",L,L,L),Pg[L]=!0)}if(typeof T=="object"&&T!==null&&typeof T.render=="function"&&T.$$typeof===void 0){{var G=fn(s)||"Unknown";Pg[G]||(p("The <%s /> component appears to be a function component that returns a class instance. Change %s to a class that extends React.Component instead. If you can't use a class try assigning the prototype on the function as a workaround. `%s.prototype = React.Component.prototype`. Don't use an arrow function since it cannot be called with `new` by React.",G,G,G),Pg[G]=!0)}n.tag=S,n.memoizedState=null,n.updateQueue=null;var H=!1;return Xs(s)?(H=!0,gb(n)):H=!1,n.memoizedState=T.state!==null&&T.state!==void 0?T.state:null,wE(n),OA(n,T),NE(n,s,d,u),DT(null,n,s,!0,H,u)}else{if(n.tag=y,n.mode&Yn){yr(!0);try{T=Th(null,n,s,d,m,u),_=kh()}finally{yr(!1)}}return xa()&&_&&lE(n),oi(null,n,T,u),OT(n,s),n.child}}function OT(e,n){{if(n&&n.childContextTypes&&p("%s(...): childContextTypes cannot be defined on a function component.",n.displayName||n.name||"Component"),e.ref!==null){var s="",u=na();u&&(s+=`
176
+
177
+ Check the render method of \``+u+"`.");var d=u||"",m=e._debugSource;m&&(d=m.fileName+":"+m.lineNumber),kT[d]||(kT[d]=!0,p("Function components cannot be given refs. Attempts to access this ref will fail. Did you mean to use React.forwardRef()?%s",s))}if(typeof n.getDerivedStateFromProps=="function"){var x=fn(n)||"Unknown";TT[x]||(p("%s: Function components do not support getDerivedStateFromProps.",x),TT[x]=!0)}if(typeof n.contextType=="object"&&n.contextType!==null){var T=fn(n)||"Unknown";ET[T]||(p("%s: Function components do not support contextType.",T),ET[T]=!0)}}}var AT={dehydrated:null,treeContext:null,retryLane:Vt};function MT(e){return{baseLanes:e,cachePool:bZ(),transitions:null}}function OZ(e,n){var s=null;return{baseLanes:Ot(e.baseLanes,n),cachePool:s,transitions:e.transitions}}function AZ(e,n,s,u){if(n!==null){var d=n.memoizedState;if(d===null)return!1}return WE(e,Eg)}function MZ(e,n){return Qu(e.childLanes,n)}function _M(e,n,s){var u=n.pendingProps;Vee(n)&&(n.flags|=St);var d=ns.current,m=!1,x=(n.flags&St)!==ut;if(x||AZ(d,e)?(m=!0,n.flags&=~St):(e===null||e.memoizedState!==null)&&(d=eZ(d,BA)),d=xh(d),bc(n,d),e===null){pE(n);var T=n.memoizedState;if(T!==null){var _=T.dehydrated;if(_!==null)return jZ(n,_)}var M=u.children,L=u.fallback;if(m){var G=PZ(n,M,L,s),H=n.child;return H.memoizedState=MT(s),n.memoizedState=AT,G}else return PT(n,M)}else{var re=e.memoizedState;if(re!==null){var ae=re.dehydrated;if(ae!==null)return FZ(e,n,x,u,ae,re,s)}if(m){var ue=u.fallback,Ye=u.children,ft=zZ(e,n,Ye,ue,s),rt=n.child,Ut=e.child.memoizedState;return rt.memoizedState=Ut===null?MT(s):OZ(Ut,s),rt.childLanes=MZ(e,s),n.memoizedState=AT,ft}else{var Bt=u.children,ee=LZ(e,n,Bt,s);return n.memoizedState=null,ee}}}function PT(e,n,s){var u=e.mode,d={mode:"visible",children:n},m=LT(d,u);return m.return=e,e.child=m,m}function PZ(e,n,s,u){var d=e.mode,m=e.child,x={mode:"hidden",children:n},T,_;return(d&Nt)===dt&&m!==null?(T=m,T.childLanes=fe,T.pendingProps=x,e.mode&ht&&(T.actualDuration=0,T.actualStartTime=-1,T.selfBaseDuration=0,T.treeBaseDuration=0),_=_c(s,d,u,null)):(T=LT(x,d),_=_c(s,d,u,null)),T.return=e,_.return=e,T.sibling=_,e.child=T,_}function LT(e,n,s){return R6(e,n,fe,null)}function RM(e,n){return ed(e,n)}function LZ(e,n,s,u){var d=e.child,m=d.sibling,x=RM(d,{mode:"visible",children:s});if((n.mode&Nt)===dt&&(x.lanes=u),x.return=n,x.sibling=null,m!==null){var T=n.deletions;T===null?(n.deletions=[m],n.flags|=Jt):T.push(m)}return n.child=x,x}function zZ(e,n,s,u,d){var m=n.mode,x=e.child,T=x.sibling,_={mode:"hidden",children:s},M;if((m&Nt)===dt&&n.child!==x){var L=n.child;M=L,M.childLanes=fe,M.pendingProps=_,n.mode&ht&&(M.actualDuration=0,M.actualStartTime=-1,M.selfBaseDuration=x.selfBaseDuration,M.treeBaseDuration=x.treeBaseDuration),n.deletions=null}else M=RM(x,_),M.subtreeFlags=x.subtreeFlags&Br;var G;return T!==null?G=ed(T,u):(G=_c(u,m,d,null),G.flags|=Mn),G.return=n,M.return=n,M.sibling=G,n.child=M,G}function oS(e,n,s,u){u!==null&&hE(u),bh(n,e.child,null,s);var d=n.pendingProps,m=d.children,x=PT(n,m);return x.flags|=Mn,n.memoizedState=null,x}function NZ(e,n,s,u,d){var m=n.mode,x={mode:"visible",children:s},T=LT(x,m),_=_c(u,m,d,null);return _.flags|=Mn,T.return=n,_.return=n,T.sibling=_,n.child=T,(n.mode&Nt)!==dt&&bh(n,e.child,null,d),_}function jZ(e,n,s){return(e.mode&Nt)===dt?(p("Cannot hydrate Suspense in legacy mode. Switch from ReactDOM.hydrate(element, container) to ReactDOMClient.hydrateRoot(container, <App />).render(element) or remove the Suspense components from the server rendered components."),e.lanes=vt):Zw(n)?e.lanes=zl:e.lanes=Ia,null}function FZ(e,n,s,u,d,m,x){if(s)if(n.flags&Qn){n.flags&=~Qn;var ee=ST(new Error("There was an error while hydrating this Suspense boundary. Switched to client rendering."));return oS(e,n,x,ee)}else{if(n.memoizedState!==null)return n.child=e.child,n.flags|=St,null;var ce=u.children,te=u.fallback,we=NZ(e,n,ce,te,x),Ge=n.child;return Ge.memoizedState=MT(x),n.memoizedState=AT,we}else{if(kK(),(n.mode&Nt)===dt)return oS(e,n,x,null);if(Zw(d)){var T,_,M;{var L=UQ(d);T=L.digest,_=L.message,M=L.stack}var G;_?G=new Error(_):G=new Error("The server could not finish this Suspense boundary, likely due to an error during server rendering. Switched to client rendering.");var H=ST(G,T,M);return oS(e,n,x,H)}var re=Ua(x,e.childLanes);if(as||re){var ae=gS();if(ae!==null){var ue=bw(ae,x);if(ue!==Vt&&ue!==m.retryLane){m.retryLane=ue;var Ye=Sn;zi(e,ue),Qr(ae,e,ue,Ye)}}tk();var ft=ST(new Error("This Suspense boundary received an update before it finished hydrating. This caused the boundary to switch to client rendering. The usual way to fix this is to wrap the original update in startTransition."));return oS(e,n,x,ft)}else if(QO(d)){n.flags|=St,n.child=e.child;var rt=uee.bind(null,e);return HQ(d,rt),null}else{DK(n,d,m.treeContext);var Ut=u.children,Bt=PT(n,Ut);return Bt.flags|=Ti,Bt}}}function DM(e,n,s){e.lanes=Ot(e.lanes,n);var u=e.alternate;u!==null&&(u.lanes=Ot(u.lanes,n)),bE(e.return,n,s)}function $Z(e,n,s){for(var u=n;u!==null;){if(u.tag===V){var d=u.memoizedState;d!==null&&DM(u,s,e)}else if(u.tag===De)DM(u,s,e);else if(u.child!==null){u.child.return=u,u=u.child;continue}if(u===e)return;for(;u.sibling===null;){if(u.return===null||u.return===e)return;u=u.return}u.sibling.return=u.return,u=u.sibling}}function BZ(e){for(var n=e,s=null;n!==null;){var u=n.alternate;u!==null&&$b(u)===null&&(s=n),n=n.sibling}return s}function VZ(e){if(e!==void 0&&e!=="forwards"&&e!=="backwards"&&e!=="together"&&!_T[e])if(_T[e]=!0,typeof e=="string")switch(e.toLowerCase()){case"together":case"forwards":case"backwards":{p('"%s" is not a valid value for revealOrder on <SuspenseList />. Use lowercase "%s" instead.',e,e.toLowerCase());break}case"forward":case"backward":{p('"%s" is not a valid value for revealOrder on <SuspenseList />. React uses the -s suffix in the spelling. Use "%ss" instead.',e,e.toLowerCase());break}default:p('"%s" is not a supported revealOrder on <SuspenseList />. Did you mean "together", "forwards" or "backwards"?',e);break}else p('%s is not a supported value for revealOrder on <SuspenseList />. Did you mean "together", "forwards" or "backwards"?',e)}function IZ(e,n){e!==void 0&&!iS[e]&&(e!=="collapsed"&&e!=="hidden"?(iS[e]=!0,p('"%s" is not a supported value for tail on <SuspenseList />. Did you mean "collapsed" or "hidden"?',e)):n!=="forwards"&&n!=="backwards"&&(iS[e]=!0,p('<SuspenseList tail="%s" /> is only valid if revealOrder is "forwards" or "backwards". Did you mean to specify revealOrder="forwards"?',e)))}function OM(e,n){{var s=_r(e),u=!s&&typeof Hi(e)=="function";if(s||u){var d=s?"array":"iterable";return p("A nested %s was passed to row #%s in <SuspenseList />. Wrap it in an additional SuspenseList to configure its revealOrder: <SuspenseList revealOrder=...> ... <SuspenseList revealOrder=...>{%s}</SuspenseList> ... </SuspenseList>",d,n,d),!1}}return!0}function UZ(e,n){if((n==="forwards"||n==="backwards")&&e!==void 0&&e!==null&&e!==!1)if(_r(e)){for(var s=0;s<e.length;s++)if(!OM(e[s],s))return}else{var u=Hi(e);if(typeof u=="function"){var d=u.call(e);if(d)for(var m=d.next(),x=0;!m.done;m=d.next()){if(!OM(m.value,x))return;x++}}else p('A single row was passed to a <SuspenseList revealOrder="%s" />. This is not useful since it needs multiple rows. Did you mean to pass multiple children or an array?',n)}}function zT(e,n,s,u,d){var m=e.memoizedState;m===null?e.memoizedState={isBackwards:n,rendering:null,renderingStartTime:0,last:u,tail:s,tailMode:d}:(m.isBackwards=n,m.rendering=null,m.renderingStartTime=0,m.last=u,m.tail=s,m.tailMode=d)}function AM(e,n,s){var u=n.pendingProps,d=u.revealOrder,m=u.tail,x=u.children;VZ(d),IZ(m,d),UZ(x,d),oi(e,n,x,s);var T=ns.current,_=WE(T,Eg);if(_)T=YE(T,Eg),n.flags|=St;else{var M=e!==null&&(e.flags&St)!==ut;M&&$Z(n,n.child,s),T=xh(T)}if(bc(n,T),(n.mode&Nt)===dt)n.memoizedState=null;else switch(d){case"forwards":{var L=BZ(n.child),G;L===null?(G=n.child,n.child=null):(G=L.sibling,L.sibling=null),zT(n,!1,G,L,m);break}case"backwards":{var H=null,re=n.child;for(n.child=null;re!==null;){var ae=re.alternate;if(ae!==null&&$b(ae)===null){n.child=re;break}var ue=re.sibling;re.sibling=H,H=re,re=ue}zT(n,!0,H,null,m);break}case"together":{zT(n,!1,null,null,void 0);break}default:n.memoizedState=null}return n.child}function HZ(e,n,s){IE(n,n.stateNode.containerInfo);var u=n.pendingProps;return e===null?n.child=bh(n,null,u,s):oi(e,n,u,s),n.child}var MM=!1;function WZ(e,n,s){var u=n.type,d=u._context,m=n.pendingProps,x=n.memoizedProps,T=m.value;{"value"in m||MM||(MM=!0,p("The `value` prop is required for the `<Context.Provider>`. Did you misspell it or forget to pass it?"));var _=n.type.propTypes;_&&Zo(_,m,"prop","Context.Provider")}if(bA(n,d,T),x!==null){var M=x.value;if(Ke(M,T)){if(x.children===m.children&&!vb())return au(e,n,s)}else $K(n,d,s)}var L=m.children;return oi(e,n,L,s),n.child}var PM=!1;function YZ(e,n,s){var u=n.type;u._context===void 0?u!==u.Consumer&&(PM||(PM=!0,p("Rendering <Context> directly is not supported and will be removed in a future major release. Did you mean to render <Context.Consumer> instead?"))):u=u._context;var d=n.pendingProps,m=d.children;typeof m!="function"&&p("A context consumer was rendered with multiple children, or a child that isn't a function. A context consumer expects a single child that is a function. If you did pass a function, make sure there is no trailing or leading whitespace around it."),yh(n,s);var x=Lr(u);Fs(n);var T;return Mg.current=n,Pa(!0),T=m(x),Pa(!1),Ml(),n.flags|=As,oi(e,n,T,s),n.child}function Lg(){as=!0}function sS(e,n){(n.mode&Nt)===dt&&e!==null&&(e.alternate=null,n.alternate=null,n.flags|=Mn)}function au(e,n,s){return e!==null&&(n.dependencies=e.dependencies),hM(),Yg(n.lanes),Ua(s,n.childLanes)?(KK(e,n),n.child):null}function GZ(e,n,s){{var u=n.return;if(u===null)throw new Error("Cannot swap the root fiber.");if(e.alternate=null,n.alternate=null,s.index=n.index,s.sibling=n.sibling,s.return=n.return,s.ref=n.ref,n===u.child)u.child=s;else{var d=u.child;if(d===null)throw new Error("Expected parent to have a child.");for(;d.sibling!==n;)if(d=d.sibling,d===null)throw new Error("Expected to find the previous sibling.");d.sibling=s}var m=u.deletions;return m===null?(u.deletions=[e],u.flags|=Jt):m.push(e),s.flags|=Mn,s}}function NT(e,n){var s=e.lanes;return!!Ua(s,n)}function qZ(e,n,s){switch(n.tag){case E:TM(n),n.stateNode,mh();break;case R:FA(n);break;case S:{var u=n.type;Xs(u)&&gb(n);break}case k:IE(n,n.stateNode.containerInfo);break;case F:{var d=n.memoizedProps.value,m=n.type._context;bA(n,m,d);break}case Q:{var x=Ua(s,n.childLanes);x&&(n.flags|=Dt);{var T=n.stateNode;T.effectDuration=0,T.passiveEffectDuration=0}}break;case V:{var _=n.memoizedState;if(_!==null){if(_.dehydrated!==null)return bc(n,xh(ns.current)),n.flags|=St,null;var M=n.child,L=M.childLanes;if(Ua(s,L))return _M(e,n,s);bc(n,xh(ns.current));var G=au(e,n,s);return G!==null?G.sibling:null}else bc(n,xh(ns.current));break}case De:{var H=(e.flags&St)!==ut,re=Ua(s,n.childLanes);if(H){if(re)return AM(e,n,s);n.flags|=St}var ae=n.memoizedState;if(ae!==null&&(ae.rendering=null,ae.tail=null,ae.lastEffect=null),bc(n,ns.current),re)break;return null}case Oe:case Pe:return n.lanes=fe,CM(e,n,s)}return au(e,n,s)}function LM(e,n,s){if(n._debugNeedsRemount&&e!==null)return GZ(e,n,dk(n.type,n.key,n.pendingProps,n._debugOwner||null,n.mode,n.lanes));if(e!==null){var u=e.memoizedProps,d=n.pendingProps;if(u!==d||vb()||n.type!==e.type)as=!0;else{var m=NT(e,s);if(!m&&(n.flags&St)===ut)return as=!1,qZ(e,n,s);(e.flags&mf)!==ut?as=!0:as=!1}}else if(as=!1,xa()&&SK(n)){var x=n.index,T=xK();sA(n,T,x)}switch(n.lanes=fe,n.tag){case C:return DZ(e,n,n.type,s);case me:{var _=n.elementType;return _Z(e,n,_,s)}case y:{var M=n.type,L=n.pendingProps,G=n.elementType===M?L:ts(M,L);return RT(e,n,M,G,s)}case S:{var H=n.type,re=n.pendingProps,ae=n.elementType===H?re:ts(H,re);return EM(e,n,H,ae,s)}case E:return EZ(e,n,s);case R:return TZ(e,n,s);case A:return kZ(e,n);case V:return _M(e,n,s);case k:return HZ(e,n,s);case $:{var ue=n.type,Ye=n.pendingProps,ft=n.elementType===ue?Ye:ts(ue,Ye);return bM(e,n,ue,ft,s)}case P:return xZ(e,n,s);case j:return CZ(e,n,s);case Q:return wZ(e,n,s);case F:return WZ(e,n,s);case q:return YZ(e,n,s);case le:{var rt=n.type,Ut=n.pendingProps,Bt=ts(rt,Ut);if(n.type!==n.elementType){var ee=rt.propTypes;ee&&Zo(ee,Bt,"prop",fn(rt))}return Bt=ts(rt.type,Bt),SM(e,n,rt,Bt,s)}case J:return xM(e,n,n.type,n.pendingProps,s);case ve:{var ce=n.type,te=n.pendingProps,we=n.elementType===ce?te:ts(ce,te);return RZ(e,n,ce,we,s)}case De:return AM(e,n,s);case pt:break;case Oe:return CM(e,n,s)}throw new Error("Unknown unit of work tag ("+n.tag+"). This error is likely caused by a bug in React. Please file an issue.")}function _h(e){e.flags|=Dt}function zM(e){e.flags|=Na,e.flags|=vm}var NM,jT,jM,FM;NM=function(e,n,s,u){for(var d=n.child;d!==null;){if(d.tag===R||d.tag===A)gQ(e,d.stateNode);else if(d.tag!==k){if(d.child!==null){d.child.return=d,d=d.child;continue}}if(d===n)return;for(;d.sibling===null;){if(d.return===null||d.return===n)return;d=d.return}d.sibling.return=d.return,d=d.sibling}},jT=function(e,n){},jM=function(e,n,s,u,d){var m=e.memoizedProps;if(m!==u){var x=n.stateNode,T=UE(),_=bQ(x,s,m,u,d,T);n.updateQueue=_,_&&_h(n)}},FM=function(e,n,s,u){s!==u&&_h(n)};function zg(e,n){if(!xa())switch(e.tailMode){case"hidden":{for(var s=e.tail,u=null;s!==null;)s.alternate!==null&&(u=s),s=s.sibling;u===null?e.tail=null:u.sibling=null;break}case"collapsed":{for(var d=e.tail,m=null;d!==null;)d.alternate!==null&&(m=d),d=d.sibling;m===null?!n&&e.tail!==null?e.tail.sibling=null:e.tail=null:m.sibling=null;break}}}function wa(e){var n=e.alternate!==null&&e.alternate.child===e.child,s=fe,u=ut;if(n){if((e.mode&ht)!==dt){for(var _=e.selfBaseDuration,M=e.child;M!==null;)s=Ot(s,Ot(M.lanes,M.childLanes)),u|=M.subtreeFlags&Br,u|=M.flags&Br,_+=M.treeBaseDuration,M=M.sibling;e.treeBaseDuration=_}else for(var L=e.child;L!==null;)s=Ot(s,Ot(L.lanes,L.childLanes)),u|=L.subtreeFlags&Br,u|=L.flags&Br,L.return=e,L=L.sibling;e.subtreeFlags|=u}else{if((e.mode&ht)!==dt){for(var d=e.actualDuration,m=e.selfBaseDuration,x=e.child;x!==null;)s=Ot(s,Ot(x.lanes,x.childLanes)),u|=x.subtreeFlags,u|=x.flags,d+=x.actualDuration,m+=x.treeBaseDuration,x=x.sibling;e.actualDuration=d,e.treeBaseDuration=m}else for(var T=e.child;T!==null;)s=Ot(s,Ot(T.lanes,T.childLanes)),u|=T.subtreeFlags,u|=T.flags,T.return=e,T=T.sibling;e.subtreeFlags|=u}return e.childLanes=s,n}function XZ(e,n,s){if(LK()&&(n.mode&Nt)!==dt&&(n.flags&St)===ut)return hA(n),mh(),n.flags|=Qn|ei|Dr,!1;var u=Cb(n);if(s!==null&&s.dehydrated!==null)if(e===null){if(!u)throw new Error("A dehydrated suspense component was completed without a hydrated node. This is probably a bug in React.");if(MK(n),wa(n),(n.mode&ht)!==dt){var d=s!==null;if(d){var m=n.child;m!==null&&(n.treeBaseDuration-=m.treeBaseDuration)}}return!1}else{if(mh(),(n.flags&St)===ut&&(n.memoizedState=null),n.flags|=Dt,wa(n),(n.mode&ht)!==dt){var x=s!==null;if(x){var T=n.child;T!==null&&(n.treeBaseDuration-=T.treeBaseDuration)}}return!1}else return vA(),!0}function $M(e,n,s){var u=n.pendingProps;switch(uE(n),n.tag){case C:case me:case J:case y:case $:case P:case j:case Q:case q:case le:return wa(n),null;case S:{var d=n.type;return Xs(d)&&mb(n),wa(n),null}case E:{var m=n.stateNode;if(Sh(n),iE(n),qE(),m.pendingContext&&(m.context=m.pendingContext,m.pendingContext=null),e===null||e.child===null){var x=Cb(n);if(x)_h(n);else if(e!==null){var T=e.memoizedState;(!T.isDehydrated||(n.flags&Qn)!==ut)&&(n.flags|=Ei,vA())}}return jT(e,n),wa(n),null}case R:{HE(n);var _=jA(),M=n.type;if(e!==null&&n.stateNode!=null)jM(e,n,M,u,_),e.ref!==n.ref&&zM(n);else{if(!u){if(n.stateNode===null)throw new Error("We must have new props for new mounts. This error is likely caused by a bug in React. Please file an issue.");return wa(n),null}var L=UE(),G=Cb(n);if(G)OK(n,_,L)&&_h(n);else{var H=mQ(M,u,_,L,n);NM(H,n,!1,!1),n.stateNode=H,yQ(H,M,u,_)&&_h(n)}n.ref!==null&&zM(n)}return wa(n),null}case A:{var re=u;if(e&&n.stateNode!=null){var ae=e.memoizedProps;FM(e,n,ae,re)}else{if(typeof re!="string"&&n.stateNode===null)throw new Error("We must have new props for new mounts. This error is likely caused by a bug in React. Please file an issue.");var ue=jA(),Ye=UE(),ft=Cb(n);ft?AK(n)&&_h(n):n.stateNode=SQ(re,ue,Ye,n)}return wa(n),null}case V:{Ch(n);var rt=n.memoizedState;if(e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){var Ut=XZ(e,n,rt);if(!Ut)return n.flags&Dr?n:null}if((n.flags&St)!==ut)return n.lanes=s,(n.mode&ht)!==dt&&bT(n),n;var Bt=rt!==null,ee=e!==null&&e.memoizedState!==null;if(Bt!==ee&&Bt){var ce=n.child;if(ce.flags|=Ms,(n.mode&Nt)!==dt){var te=e===null&&(n.memoizedProps.unstable_avoidThisFallback!==!0||!se);te||WE(ns.current,BA)?QJ():tk()}}var we=n.updateQueue;if(we!==null&&(n.flags|=Dt),wa(n),(n.mode&ht)!==dt&&Bt){var Ge=n.child;Ge!==null&&(n.treeBaseDuration-=Ge.treeBaseDuration)}return null}case k:return Sh(n),jT(e,n),e===null&&pK(n.stateNode.containerInfo),wa(n),null;case F:var Ve=n.type._context;return yE(Ve,n),wa(n),null;case ve:{var bt=n.type;return Xs(bt)&&mb(n),wa(n),null}case De:{Ch(n);var kt=n.memoizedState;if(kt===null)return wa(n),null;var yn=(n.flags&St)!==ut,Gt=kt.rendering;if(Gt===null)if(yn)zg(kt,!1);else{var wr=ZJ()&&(e===null||(e.flags&St)===ut);if(!wr)for(var qt=n.child;qt!==null;){var pr=$b(qt);if(pr!==null){yn=!0,n.flags|=St,zg(kt,!1);var Ga=pr.updateQueue;return Ga!==null&&(n.updateQueue=Ga,n.flags|=Dt),n.subtreeFlags=ut,ZK(n,s),bc(n,YE(ns.current,Eg)),n.child}qt=qt.sibling}kt.tail!==null&&Wn()>o6()&&(n.flags|=St,yn=!0,zg(kt,!1),n.lanes=Rm)}else{if(!yn){var Ra=$b(Gt);if(Ra!==null){n.flags|=St,yn=!0;var to=Ra.updateQueue;if(to!==null&&(n.updateQueue=to,n.flags|=Dt),zg(kt,!0),kt.tail===null&&kt.tailMode==="hidden"&&!Gt.alternate&&!xa())return wa(n),null}else Wn()*2-kt.renderingStartTime>o6()&&s!==Ia&&(n.flags|=St,yn=!0,zg(kt,!1),n.lanes=Rm)}if(kt.isBackwards)Gt.sibling=n.child,n.child=Gt;else{var ui=kt.last;ui!==null?ui.sibling=Gt:n.child=Gt,kt.last=Gt}}if(kt.tail!==null){var ci=kt.tail;kt.rendering=ci,kt.tail=ci.sibling,kt.renderingStartTime=Wn(),ci.sibling=null;var qa=ns.current;return yn?qa=YE(qa,Eg):qa=xh(qa),bc(n,qa),ci}return wa(n),null}case pt:break;case Oe:case Pe:{ek(n);var uu=n.memoizedState,zh=uu!==null;if(e!==null){var Kg=e.memoizedState,rl=Kg!==null;rl!==zh&&!K&&(n.flags|=Ms)}return!zh||(n.mode&Nt)===dt?wa(n):Ua(nl,Ia)&&(wa(n),n.subtreeFlags&(Mn|Dt)&&(n.flags|=Ms)),null}case at:return null;case Ue:return null}throw new Error("Unknown unit of work tag ("+n.tag+"). This error is likely caused by a bug in React. Please file an issue.")}function QZ(e,n,s){switch(uE(n),n.tag){case S:{var u=n.type;Xs(u)&&mb(n);var d=n.flags;return d&Dr?(n.flags=d&~Dr|St,(n.mode&ht)!==dt&&bT(n),n):null}case E:{n.stateNode,Sh(n),iE(n),qE();var m=n.flags;return(m&Dr)!==ut&&(m&St)===ut?(n.flags=m&~Dr|St,n):null}case R:return HE(n),null;case V:{Ch(n);var x=n.memoizedState;if(x!==null&&x.dehydrated!==null){if(n.alternate===null)throw new Error("Threw in newly mounted dehydrated component. This is likely a bug in React. Please file an issue.");mh()}var T=n.flags;return T&Dr?(n.flags=T&~Dr|St,(n.mode&ht)!==dt&&bT(n),n):null}case De:return Ch(n),null;case k:return Sh(n),null;case F:var _=n.type._context;return yE(_,n),null;case Oe:case Pe:return ek(n),null;case at:return null;default:return null}}function BM(e,n,s){switch(uE(n),n.tag){case S:{var u=n.type.childContextTypes;u!=null&&mb(n);break}case E:{n.stateNode,Sh(n),iE(n),qE();break}case R:{HE(n);break}case k:Sh(n);break;case V:Ch(n);break;case De:Ch(n);break;case F:var d=n.type._context;yE(d,n);break;case Oe:case Pe:ek(n);break}}var VM=null;VM=new Set;var lS=!1,Ea=!1,KZ=typeof WeakSet=="function"?WeakSet:Set,Ze=null,Rh=null,Dh=null;function ZZ(e){Ol(null,function(){throw e}),pm()}var JZ=function(e,n){if(n.props=e.memoizedProps,n.state=e.memoizedState,e.mode&ht)try{el(),n.componentWillUnmount()}finally{Js(e)}else n.componentWillUnmount()};function IM(e,n){try{Cc(Hr,e)}catch(s){Nn(e,n,s)}}function FT(e,n,s){try{JZ(e,s)}catch(u){Nn(e,n,u)}}function eJ(e,n,s){try{s.componentDidMount()}catch(u){Nn(e,n,u)}}function UM(e,n){try{WM(e)}catch(s){Nn(e,n,s)}}function Oh(e,n){var s=e.ref;if(s!==null)if(typeof s=="function"){var u;try{if(Ae&&Xe&&e.mode&ht)try{el(),u=s(null)}finally{Js(e)}else u=s(null)}catch(d){Nn(e,n,d)}typeof u=="function"&&p("Unexpected return value from a callback ref in %s. A callback ref should not return a function.",Et(e))}else s.current=null}function uS(e,n,s){try{s()}catch(u){Nn(e,n,u)}}var HM=!1;function tJ(e,n){hQ(e.containerInfo),Ze=n,nJ();var s=HM;return HM=!1,s}function nJ(){for(;Ze!==null;){var e=Ze,n=e.child;(e.subtreeFlags&Iu)!==ut&&n!==null?(n.return=e,Ze=n):rJ()}}function rJ(){for(;Ze!==null;){var e=Ze;Kt(e);try{aJ(e)}catch(s){Nn(e,e.return,s)}rr();var n=e.sibling;if(n!==null){n.return=e.return,Ze=n;return}Ze=e.return}}function aJ(e){var n=e.alternate,s=e.flags;if((s&Ei)!==ut){switch(Kt(e),e.tag){case y:case $:case J:break;case S:{if(n!==null){var u=n.memoizedProps,d=n.memoizedState,m=e.stateNode;e.type===e.elementType&&!Xf&&(m.props!==e.memoizedProps&&p("Expected %s props to match memoized props before getSnapshotBeforeUpdate. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.",Et(e)||"instance"),m.state!==e.memoizedState&&p("Expected %s state to match memoized state before getSnapshotBeforeUpdate. This might either be because of a bug in React, or because a component reassigns its own `this.state`. Please file an issue.",Et(e)||"instance"));var x=m.getSnapshotBeforeUpdate(e.elementType===e.type?u:ts(e.type,u),d);{var T=VM;x===void 0&&!T.has(e.type)&&(T.add(e.type),p("%s.getSnapshotBeforeUpdate(): A snapshot value (or null) must be returned. You have returned undefined.",Et(e)))}m.__reactInternalSnapshotBeforeUpdate=x}break}case E:{{var _=e.stateNode;$Q(_.containerInfo)}break}case R:case A:case k:case ve:break;default:throw new Error("This unit of work tag should not have side-effects. This error is likely caused by a bug in React. Please file an issue.")}rr()}}function is(e,n,s){var u=n.updateQueue,d=u!==null?u.lastEffect:null;if(d!==null){var m=d.next,x=m;do{if((x.tag&e)===e){var T=x.destroy;x.destroy=void 0,T!==void 0&&((e&Ca)!==Ni?bp(n):(e&Hr)!==Ni&&Sp(n),(e&Qs)!==Ni&&qg(!0),uS(n,s,T),(e&Qs)!==Ni&&qg(!1),(e&Ca)!==Ni?x1():(e&Hr)!==Ni&&Uu())}x=x.next}while(x!==m)}}function Cc(e,n){var s=n.updateQueue,u=s!==null?s.lastEffect:null;if(u!==null){var d=u.next,m=d;do{if((m.tag&e)===e){(e&Ca)!==Ni?S1(n):(e&Hr)!==Ni&&C1(n);var x=m.create;(e&Qs)!==Ni&&qg(!0),m.destroy=x(),(e&Qs)!==Ni&&qg(!1),(e&Ca)!==Ni?Tm():(e&Hr)!==Ni&&w1();{var T=m.destroy;if(T!==void 0&&typeof T!="function"){var _=void 0;(m.tag&Hr)!==ut?_="useLayoutEffect":(m.tag&Qs)!==ut?_="useInsertionEffect":_="useEffect";var M=void 0;T===null?M=" You returned null. If your effect does not require clean up, return undefined (or nothing).":typeof T.then=="function"?M=`
178
+
179
+ It looks like you wrote `+_+`(async () => ...) or returned a Promise. Instead, write the async function inside your effect and call it immediately:
180
+
181
+ `+_+`(() => {
182
+ async function fetchData() {
183
+ // You can await here
184
+ const response = await MyAPI.getData(someId);
185
+ // ...
186
+ }
187
+ fetchData();
188
+ }, [someId]); // Or [] if effect doesn't need props or state
189
+
190
+ Learn more about data fetching with Hooks: https://reactjs.org/link/hooks-data-fetching`:M=" You returned: "+T,p("%s must not return anything besides a function, which is used for clean-up.%s",_,M)}}}m=m.next}while(m!==d)}}function iJ(e,n){if((n.flags&Dt)!==ut)switch(n.tag){case Q:{var s=n.stateNode.passiveEffectDuration,u=n.memoizedProps,d=u.id,m=u.onPostCommit,x=dM(),T=n.alternate===null?"mount":"update";fM()&&(T="nested-update"),typeof m=="function"&&m(d,T,s,x);var _=n.return;e:for(;_!==null;){switch(_.tag){case E:var M=_.stateNode;M.passiveEffectDuration+=s;break e;case Q:var L=_.stateNode;L.passiveEffectDuration+=s;break e}_=_.return}break}}}function oJ(e,n,s,u){if((s.flags&aa)!==ut)switch(s.tag){case y:case $:case J:{if(!Ea)if(s.mode&ht)try{el(),Cc(Hr|Ur,s)}finally{Js(s)}else Cc(Hr|Ur,s);break}case S:{var d=s.stateNode;if(s.flags&Dt&&!Ea)if(n===null)if(s.type===s.elementType&&!Xf&&(d.props!==s.memoizedProps&&p("Expected %s props to match memoized props before componentDidMount. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.",Et(s)||"instance"),d.state!==s.memoizedState&&p("Expected %s state to match memoized state before componentDidMount. This might either be because of a bug in React, or because a component reassigns its own `this.state`. Please file an issue.",Et(s)||"instance")),s.mode&ht)try{el(),d.componentDidMount()}finally{Js(s)}else d.componentDidMount();else{var m=s.elementType===s.type?n.memoizedProps:ts(s.type,n.memoizedProps),x=n.memoizedState;if(s.type===s.elementType&&!Xf&&(d.props!==s.memoizedProps&&p("Expected %s props to match memoized props before componentDidUpdate. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.",Et(s)||"instance"),d.state!==s.memoizedState&&p("Expected %s state to match memoized state before componentDidUpdate. This might either be because of a bug in React, or because a component reassigns its own `this.state`. Please file an issue.",Et(s)||"instance")),s.mode&ht)try{el(),d.componentDidUpdate(m,x,d.__reactInternalSnapshotBeforeUpdate)}finally{Js(s)}else d.componentDidUpdate(m,x,d.__reactInternalSnapshotBeforeUpdate)}var T=s.updateQueue;T!==null&&(s.type===s.elementType&&!Xf&&(d.props!==s.memoizedProps&&p("Expected %s props to match memoized props before processing the update queue. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.",Et(s)||"instance"),d.state!==s.memoizedState&&p("Expected %s state to match memoized state before processing the update queue. This might either be because of a bug in React, or because a component reassigns its own `this.state`. Please file an issue.",Et(s)||"instance")),TA(s,T,d));break}case E:{var _=s.updateQueue;if(_!==null){var M=null;if(s.child!==null)switch(s.child.tag){case R:M=s.child.stateNode;break;case S:M=s.child.stateNode;break}TA(s,_,M)}break}case R:{var L=s.stateNode;if(n===null&&s.flags&Dt){var G=s.type,H=s.memoizedProps;TQ(L,G,H)}break}case A:break;case k:break;case Q:{{var re=s.memoizedProps,ae=re.onCommit,ue=re.onRender,Ye=s.stateNode.effectDuration,ft=dM(),rt=n===null?"mount":"update";fM()&&(rt="nested-update"),typeof ue=="function"&&ue(s.memoizedProps.id,rt,s.actualDuration,s.treeBaseDuration,s.actualStartTime,ft);{typeof ae=="function"&&ae(s.memoizedProps.id,rt,Ye,ft),ree(s);var Ut=s.return;e:for(;Ut!==null;){switch(Ut.tag){case E:var Bt=Ut.stateNode;Bt.effectDuration+=Ye;break e;case Q:var ee=Ut.stateNode;ee.effectDuration+=Ye;break e}Ut=Ut.return}}}break}case V:{hJ(e,s);break}case De:case ve:case pt:case Oe:case Pe:case Ue:break;default:throw new Error("This unit of work tag should not have side-effects. This error is likely caused by a bug in React. Please file an issue.")}Ea||s.flags&Na&&WM(s)}function sJ(e){switch(e.tag){case y:case $:case J:{if(e.mode&ht)try{el(),IM(e,e.return)}finally{Js(e)}else IM(e,e.return);break}case S:{var n=e.stateNode;typeof n.componentDidMount=="function"&&eJ(e,e.return,n),UM(e,e.return);break}case R:{UM(e,e.return);break}}}function lJ(e,n){for(var s=null,u=e;;){if(u.tag===R){if(s===null){s=u;try{var d=u.stateNode;n?zQ(d):jQ(u.stateNode,u.memoizedProps)}catch(x){Nn(e,e.return,x)}}}else if(u.tag===A){if(s===null)try{var m=u.stateNode;n?NQ(m):FQ(m,u.memoizedProps)}catch(x){Nn(e,e.return,x)}}else if(!((u.tag===Oe||u.tag===Pe)&&u.memoizedState!==null&&u!==e)){if(u.child!==null){u.child.return=u,u=u.child;continue}}if(u===e)return;for(;u.sibling===null;){if(u.return===null||u.return===e)return;s===u&&(s=null),u=u.return}s===u&&(s=null),u.sibling.return=u.return,u=u.sibling}}function WM(e){var n=e.ref;if(n!==null){var s=e.stateNode,u;switch(e.tag){case R:u=s;break;default:u=s}if(typeof n=="function"){var d;if(e.mode&ht)try{el(),d=n(u)}finally{Js(e)}else d=n(u);typeof d=="function"&&p("Unexpected return value from a callback ref in %s. A callback ref should not return a function.",Et(e))}else n.hasOwnProperty("current")||p("Unexpected ref object provided for %s. Use either a ref-setter function or React.createRef().",Et(e)),n.current=u}}function uJ(e){var n=e.alternate;n!==null&&(n.return=null),e.return=null}function YM(e){var n=e.alternate;n!==null&&(e.alternate=null,YM(n));{if(e.child=null,e.deletions=null,e.sibling=null,e.tag===R){var s=e.stateNode;s!==null&&mK(s)}e.stateNode=null,e._debugOwner=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}}function cJ(e){for(var n=e.return;n!==null;){if(GM(n))return n;n=n.return}throw new Error("Expected to find a host parent. This error is likely caused by a bug in React. Please file an issue.")}function GM(e){return e.tag===R||e.tag===E||e.tag===k}function qM(e){var n=e;e:for(;;){for(;n.sibling===null;){if(n.return===null||GM(n.return))return null;n=n.return}for(n.sibling.return=n.return,n=n.sibling;n.tag!==R&&n.tag!==A&&n.tag!==ye;){if(n.flags&Mn||n.child===null||n.tag===k)continue e;n.child.return=n,n=n.child}if(!(n.flags&Mn))return n.stateNode}}function fJ(e){var n=cJ(e);switch(n.tag){case R:{var s=n.stateNode;n.flags&rn&&(XO(s),n.flags&=~rn);var u=qM(e);BT(e,u,s);break}case E:case k:{var d=n.stateNode.containerInfo,m=qM(e);$T(e,m,d);break}default:throw new Error("Invalid host parent fiber. This error is likely caused by a bug in React. Please file an issue.")}}function $T(e,n,s){var u=e.tag,d=u===R||u===A;if(d){var m=e.stateNode;n?AQ(s,m,n):DQ(s,m)}else if(u!==k){var x=e.child;if(x!==null){$T(x,n,s);for(var T=x.sibling;T!==null;)$T(T,n,s),T=T.sibling}}}function BT(e,n,s){var u=e.tag,d=u===R||u===A;if(d){var m=e.stateNode;n?OQ(s,m,n):RQ(s,m)}else if(u!==k){var x=e.child;if(x!==null){BT(x,n,s);for(var T=x.sibling;T!==null;)BT(T,n,s),T=T.sibling}}}var Ta=null,os=!1;function dJ(e,n,s){{var u=n;e:for(;u!==null;){switch(u.tag){case R:{Ta=u.stateNode,os=!1;break e}case E:{Ta=u.stateNode.containerInfo,os=!0;break e}case k:{Ta=u.stateNode.containerInfo,os=!0;break e}}u=u.return}if(Ta===null)throw new Error("Expected to find a host parent. This error is likely caused by a bug in React. Please file an issue.");XM(e,n,s),Ta=null,os=!1}uJ(s)}function wc(e,n,s){for(var u=s.child;u!==null;)XM(e,n,u),u=u.sibling}function XM(e,n,s){switch(wm(s),s.tag){case R:Ea||Oh(s,n);case A:{{var u=Ta,d=os;Ta=null,wc(e,n,s),Ta=u,os=d,Ta!==null&&(os?PQ(Ta,s.stateNode):MQ(Ta,s.stateNode))}return}case ye:{Ta!==null&&(os?LQ(Ta,s.stateNode):Kw(Ta,s.stateNode));return}case k:{{var m=Ta,x=os;Ta=s.stateNode.containerInfo,os=!0,wc(e,n,s),Ta=m,os=x}return}case y:case $:case le:case J:{if(!Ea){var T=s.updateQueue;if(T!==null){var _=T.lastEffect;if(_!==null){var M=_.next,L=M;do{var G=L,H=G.destroy,re=G.tag;H!==void 0&&((re&Qs)!==Ni?uS(s,n,H):(re&Hr)!==Ni&&(Sp(s),s.mode&ht?(el(),uS(s,n,H),Js(s)):uS(s,n,H),Uu())),L=L.next}while(L!==M)}}}wc(e,n,s);return}case S:{if(!Ea){Oh(s,n);var ae=s.stateNode;typeof ae.componentWillUnmount=="function"&&FT(s,n,ae)}wc(e,n,s);return}case pt:{wc(e,n,s);return}case Oe:{if(s.mode&Nt){var ue=Ea;Ea=ue||s.memoizedState!==null,wc(e,n,s),Ea=ue}else wc(e,n,s);break}default:{wc(e,n,s);return}}}function pJ(e){e.memoizedState}function hJ(e,n){var s=n.memoizedState;if(s===null){var u=n.alternate;if(u!==null){var d=u.memoizedState;if(d!==null){var m=d.dehydrated;m!==null&&JQ(m)}}}}function QM(e){var n=e.updateQueue;if(n!==null){e.updateQueue=null;var s=e.stateNode;s===null&&(s=e.stateNode=new KZ),n.forEach(function(u){var d=cee.bind(null,e,u);if(!s.has(u)){if(s.add(u),Vr)if(Rh!==null&&Dh!==null)Gg(Dh,Rh);else throw Error("Expected finished root and lanes to be set. This is a bug in React.");u.then(d,d)}})}}function vJ(e,n,s){Rh=s,Dh=e,Kt(n),KM(n,e),Kt(n),Rh=null,Dh=null}function ss(e,n,s){var u=n.deletions;if(u!==null)for(var d=0;d<u.length;d++){var m=u[d];try{dJ(e,n,m)}catch(_){Nn(m,n,_)}}var x=Jc();if(n.subtreeFlags&$a)for(var T=n.child;T!==null;)Kt(T),KM(T,e),T=T.sibling;Kt(x)}function KM(e,n,s){var u=e.alternate,d=e.flags;switch(e.tag){case y:case $:case le:case J:{if(ss(n,e),tl(e),d&Dt){try{is(Qs|Ur,e,e.return),Cc(Qs|Ur,e)}catch(bt){Nn(e,e.return,bt)}if(e.mode&ht){try{el(),is(Hr|Ur,e,e.return)}catch(bt){Nn(e,e.return,bt)}Js(e)}else try{is(Hr|Ur,e,e.return)}catch(bt){Nn(e,e.return,bt)}}return}case S:{ss(n,e),tl(e),d&Na&&u!==null&&Oh(u,u.return);return}case R:{ss(n,e),tl(e),d&Na&&u!==null&&Oh(u,u.return);{if(e.flags&rn){var m=e.stateNode;try{XO(m)}catch(bt){Nn(e,e.return,bt)}}if(d&Dt){var x=e.stateNode;if(x!=null){var T=e.memoizedProps,_=u!==null?u.memoizedProps:T,M=e.type,L=e.updateQueue;if(e.updateQueue=null,L!==null)try{kQ(x,L,M,_,T,e)}catch(bt){Nn(e,e.return,bt)}}}}return}case A:{if(ss(n,e),tl(e),d&Dt){if(e.stateNode===null)throw new Error("This should have a text node initialized. This error is likely caused by a bug in React. Please file an issue.");var G=e.stateNode,H=e.memoizedProps,re=u!==null?u.memoizedProps:H;try{_Q(G,re,H)}catch(bt){Nn(e,e.return,bt)}}return}case E:{if(ss(n,e),tl(e),d&Dt&&u!==null){var ae=u.memoizedState;if(ae.isDehydrated)try{ZQ(n.containerInfo)}catch(bt){Nn(e,e.return,bt)}}return}case k:{ss(n,e),tl(e);return}case V:{ss(n,e),tl(e);var ue=e.child;if(ue.flags&Ms){var Ye=ue.stateNode,ft=ue.memoizedState,rt=ft!==null;if(Ye.isHidden=rt,rt){var Ut=ue.alternate!==null&&ue.alternate.memoizedState!==null;Ut||XJ()}}if(d&Dt){try{pJ(e)}catch(bt){Nn(e,e.return,bt)}QM(e)}return}case Oe:{var Bt=u!==null&&u.memoizedState!==null;if(e.mode&Nt){var ee=Ea;Ea=ee||Bt,ss(n,e),Ea=ee}else ss(n,e);if(tl(e),d&Ms){var ce=e.stateNode,te=e.memoizedState,we=te!==null,Ge=e;if(ce.isHidden=we,we&&!Bt&&(Ge.mode&Nt)!==dt){Ze=Ge;for(var Ve=Ge.child;Ve!==null;)Ze=Ve,gJ(Ve),Ve=Ve.sibling}lJ(Ge,we)}return}case De:{ss(n,e),tl(e),d&Dt&&QM(e);return}case pt:return;default:{ss(n,e),tl(e);return}}}function tl(e){var n=e.flags;if(n&Mn){try{fJ(e)}catch(s){Nn(e,e.return,s)}e.flags&=~Mn}n&Ti&&(e.flags&=~Ti)}function mJ(e,n,s){Rh=s,Dh=n,Ze=e,ZM(e,n,s),Rh=null,Dh=null}function ZM(e,n,s){for(var u=(e.mode&Nt)!==dt;Ze!==null;){var d=Ze,m=d.child;if(d.tag===Oe&&u){var x=d.memoizedState!==null,T=x||lS;if(T){VT(e,n,s);continue}else{var _=d.alternate,M=_!==null&&_.memoizedState!==null,L=M||Ea,G=lS,H=Ea;lS=T,Ea=L,Ea&&!H&&(Ze=d,yJ(d));for(var re=m;re!==null;)Ze=re,ZM(re,n,s),re=re.sibling;Ze=d,lS=G,Ea=H,VT(e,n,s);continue}}(d.subtreeFlags&aa)!==ut&&m!==null?(m.return=d,Ze=m):VT(e,n,s)}}function VT(e,n,s){for(;Ze!==null;){var u=Ze;if((u.flags&aa)!==ut){var d=u.alternate;Kt(u);try{oJ(n,d,u,s)}catch(x){Nn(u,u.return,x)}rr()}if(u===e){Ze=null;return}var m=u.sibling;if(m!==null){m.return=u.return,Ze=m;return}Ze=u.return}}function gJ(e){for(;Ze!==null;){var n=Ze,s=n.child;switch(n.tag){case y:case $:case le:case J:{if(n.mode&ht)try{el(),is(Hr,n,n.return)}finally{Js(n)}else is(Hr,n,n.return);break}case S:{Oh(n,n.return);var u=n.stateNode;typeof u.componentWillUnmount=="function"&&FT(n,n.return,u);break}case R:{Oh(n,n.return);break}case Oe:{var d=n.memoizedState!==null;if(d){JM(e);continue}break}}s!==null?(s.return=n,Ze=s):JM(e)}}function JM(e){for(;Ze!==null;){var n=Ze;if(n===e){Ze=null;return}var s=n.sibling;if(s!==null){s.return=n.return,Ze=s;return}Ze=n.return}}function yJ(e){for(;Ze!==null;){var n=Ze,s=n.child;if(n.tag===Oe){var u=n.memoizedState!==null;if(u){e6(e);continue}}s!==null?(s.return=n,Ze=s):e6(e)}}function e6(e){for(;Ze!==null;){var n=Ze;Kt(n);try{sJ(n)}catch(u){Nn(n,n.return,u)}if(rr(),n===e){Ze=null;return}var s=n.sibling;if(s!==null){s.return=n.return,Ze=s;return}Ze=n.return}}function bJ(e,n,s,u){Ze=n,SJ(n,e,s,u)}function SJ(e,n,s,u){for(;Ze!==null;){var d=Ze,m=d.child;(d.subtreeFlags&ki)!==ut&&m!==null?(m.return=d,Ze=m):xJ(e,n,s,u)}}function xJ(e,n,s,u){for(;Ze!==null;){var d=Ze;if((d.flags&In)!==ut){Kt(d);try{CJ(n,d,s,u)}catch(x){Nn(d,d.return,x)}rr()}if(d===e){Ze=null;return}var m=d.sibling;if(m!==null){m.return=d.return,Ze=m;return}Ze=d.return}}function CJ(e,n,s,u){switch(n.tag){case y:case $:case J:{if(n.mode&ht){yT();try{Cc(Ca|Ur,n)}finally{gT(n)}}else Cc(Ca|Ur,n);break}}}function wJ(e){Ze=e,EJ()}function EJ(){for(;Ze!==null;){var e=Ze,n=e.child;if((Ze.flags&Jt)!==ut){var s=e.deletions;if(s!==null){for(var u=0;u<s.length;u++){var d=s[u];Ze=d,_J(d,e)}{var m=e.alternate;if(m!==null){var x=m.child;if(x!==null){m.child=null;do{var T=x.sibling;x.sibling=null,x=T}while(x!==null)}}}Ze=e}}(e.subtreeFlags&ki)!==ut&&n!==null?(n.return=e,Ze=n):TJ()}}function TJ(){for(;Ze!==null;){var e=Ze;(e.flags&In)!==ut&&(Kt(e),kJ(e),rr());var n=e.sibling;if(n!==null){n.return=e.return,Ze=n;return}Ze=e.return}}function kJ(e){switch(e.tag){case y:case $:case J:{e.mode&ht?(yT(),is(Ca|Ur,e,e.return),gT(e)):is(Ca|Ur,e,e.return);break}}}function _J(e,n){for(;Ze!==null;){var s=Ze;Kt(s),DJ(s,n),rr();var u=s.child;u!==null?(u.return=s,Ze=u):RJ(e)}}function RJ(e){for(;Ze!==null;){var n=Ze,s=n.sibling,u=n.return;if(YM(n),n===e){Ze=null;return}if(s!==null){s.return=u,Ze=s;return}Ze=u}}function DJ(e,n){switch(e.tag){case y:case $:case J:{e.mode&ht?(yT(),is(Ca,e,n),gT(e)):is(Ca,e,n);break}}}function OJ(e){switch(e.tag){case y:case $:case J:{try{Cc(Hr|Ur,e)}catch(s){Nn(e,e.return,s)}break}case S:{var n=e.stateNode;try{n.componentDidMount()}catch(s){Nn(e,e.return,s)}break}}}function AJ(e){switch(e.tag){case y:case $:case J:{try{Cc(Ca|Ur,e)}catch(n){Nn(e,e.return,n)}break}}}function MJ(e){switch(e.tag){case y:case $:case J:{try{is(Hr|Ur,e,e.return)}catch(s){Nn(e,e.return,s)}break}case S:{var n=e.stateNode;typeof n.componentWillUnmount=="function"&&FT(e,e.return,n);break}}}function PJ(e){switch(e.tag){case y:case $:case J:try{is(Ca|Ur,e,e.return)}catch(n){Nn(e,e.return,n)}}}if(typeof Symbol=="function"&&Symbol.for){var Ng=Symbol.for;Ng("selector.component"),Ng("selector.has_pseudo_class"),Ng("selector.role"),Ng("selector.test_id"),Ng("selector.text")}var LJ=[];function zJ(){LJ.forEach(function(e){return e()})}var NJ=i.ReactCurrentActQueue;function jJ(e){{var n=typeof IS_REACT_ACT_ENVIRONMENT<"u"?IS_REACT_ACT_ENVIRONMENT:void 0,s=typeof jest<"u";return s&&n!==!1}}function t6(){{var e=typeof IS_REACT_ACT_ENVIRONMENT<"u"?IS_REACT_ACT_ENVIRONMENT:void 0;return!e&&NJ.current!==null&&p("The current testing environment is not configured to support act(...)"),e}}var FJ=Math.ceil,IT=i.ReactCurrentDispatcher,UT=i.ReactCurrentOwner,ka=i.ReactCurrentBatchConfig,ls=i.ReactCurrentActQueue,Gr=0,n6=1,_a=2,wo=4,iu=0,jg=1,Qf=2,cS=3,Fg=4,r6=5,HT=6,It=Gr,si=null,or=null,qr=fe,nl=fe,WT=pc(fe),Xr=iu,$g=null,fS=fe,Bg=fe,dS=fe,Vg=null,ji=null,YT=0,a6=500,i6=1/0,$J=500,ou=null;function Ig(){i6=Wn()+$J}function o6(){return i6}var pS=!1,GT=null,Ah=null,Kf=!1,Ec=null,Ug=fe,qT=[],XT=null,BJ=50,Hg=0,QT=null,KT=!1,hS=!1,VJ=50,Mh=0,vS=null,Wg=Sn,mS=fe,s6=!1;function gS(){return si}function li(){return(It&(_a|wo))!==Gr?Wn():(Wg!==Sn||(Wg=Wn()),Wg)}function Tc(e){var n=e.mode;if((n&Nt)===dt)return vt;if((It&_a)!==Gr&&qr!==fe)return br(qr);var s=jK()!==NK;if(s){if(ka.transition!==null){var u=ka.transition;u._updatedFibers||(u._updatedFibers=new Set),u._updatedFibers.add(e)}return mS===Vt&&(mS=Am()),mS}var d=Oi();if(d!==Vt)return d;var m=xQ();return m}function IJ(e){var n=e.mode;return(n&Nt)===dt?vt:yw()}function Qr(e,n,s,u){dee(),s6&&p("useInsertionEffect must not schedule updates."),KT&&(hS=!0),Il(e,s,u),(It&_a)!==fe&&e===si?vee(n):(Vr&&Nm(e,n,s),mee(n),e===si&&((It&_a)===Gr&&(Bg=Ot(Bg,s)),Xr===Fg&&kc(e,qr)),Fi(e,u),s===vt&&It===Gr&&(n.mode&Nt)===dt&&!ls.isBatchingLegacy&&(Ig(),oA()))}function UJ(e,n,s){var u=e.current;u.lanes=n,Il(e,n,s),Fi(e,s)}function HJ(e){return(It&_a)!==Gr}function Fi(e,n){var s=e.callbackNode;vw(e,n);var u=Cf(e,e===si?qr:fe);if(u===fe){s!==null&&w6(s),e.callbackNode=null,e.callbackPriority=Vt;return}var d=fr(u),m=e.callbackPriority;if(m===d&&!(ls.current!==null&&s!==ak)){s==null&&m!==vt&&p("Expected scheduled callback to exist. This error is likely caused by a bug in React. Please file an issue.");return}s!=null&&w6(s);var x;if(d===vt)e.tag===hc?(ls.isBatchingLegacy!==null&&(ls.didScheduleLegacyUpdate=!0),bK(c6.bind(null,e))):iA(c6.bind(null,e)),ls.current!==null?ls.current.push(vc):wQ(function(){(It&(_a|wo))===Gr&&vc()}),x=null;else{var T;switch(_f(u)){case ia:T=mp;break;case Ir:T=ri;break;case Go:T=po;break;case Tf:T=Ls;break;default:T=po;break}x=ik(T,l6.bind(null,e))}e.callbackPriority=d,e.callbackNode=x}function l6(e,n){if(dZ(),Wg=Sn,mS=fe,(It&(_a|wo))!==Gr)throw new Error("Should not already be working.");var s=e.callbackNode,u=lu();if(u&&e.callbackNode!==s)return null;var d=Cf(e,e===si?qr:fe);if(d===fe)return null;var m=!Ef(e,d)&&!D1(e,d)&&!n,x=m?eee(e,d):bS(e,d);if(x!==iu){if(x===Qf){var T=Dm(e);T!==fe&&(d=T,x=ZT(e,T))}if(x===jg){var _=$g;throw Zf(e,fe),kc(e,d),Fi(e,Wn()),_}if(x===HT)kc(e,d);else{var M=!Ef(e,d),L=e.current.alternate;if(M&&!YJ(L)){if(x=bS(e,d),x===Qf){var G=Dm(e);G!==fe&&(d=G,x=ZT(e,G))}if(x===jg){var H=$g;throw Zf(e,fe),kc(e,d),Fi(e,Wn()),H}}e.finishedWork=L,e.finishedLanes=d,WJ(e,x,d)}}return Fi(e,Wn()),e.callbackNode===s?l6.bind(null,e):null}function ZT(e,n){var s=Vg;if(xr(e)){var u=Zf(e,n);u.flags|=Qn,dK(e.containerInfo)}var d=bS(e,n);if(d!==Qf){var m=ji;ji=s,m!==null&&u6(m)}return d}function u6(e){ji===null?ji=e:ji.push.apply(ji,e)}function WJ(e,n,s){switch(n){case iu:case jg:throw new Error("Root did not complete. This is a bug in React.");case Qf:{Jf(e,ji,ou);break}case cS:{if(kc(e,s),Bp(s)&&!E6()){var u=YT+a6-Wn();if(u>10){var d=Cf(e,fe);if(d!==fe)break;var m=e.suspendedLanes;if(!Vl(m,s)){li(),Lm(e,m);break}e.timeoutHandle=Xw(Jf.bind(null,e,ji,ou),u);break}}Jf(e,ji,ou);break}case Fg:{if(kc(e,s),R1(s))break;if(!E6()){var x=_1(e,s),T=x,_=Wn()-T,M=fee(_)-_;if(M>10){e.timeoutHandle=Xw(Jf.bind(null,e,ji,ou),M);break}}Jf(e,ji,ou);break}case r6:{Jf(e,ji,ou);break}default:throw new Error("Unknown root exit status.")}}function YJ(e){for(var n=e;;){if(n.flags&vf){var s=n.updateQueue;if(s!==null){var u=s.stores;if(u!==null)for(var d=0;d<u.length;d++){var m=u[d],x=m.getSnapshot,T=m.value;try{if(!Ke(x(),T))return!1}catch{return!1}}}}var _=n.child;if(n.subtreeFlags&vf&&_!==null){_.return=n,n=_;continue}if(n===e)return!0;for(;n.sibling===null;){if(n.return===null||n.return===e)return!0;n=n.return}n.sibling.return=n.return,n=n.sibling}return!0}function kc(e,n){n=Qu(n,dS),n=Qu(n,Bg),Pm(e,n)}function c6(e){if(pZ(),(It&(_a|wo))!==Gr)throw new Error("Should not already be working.");lu();var n=Cf(e,fe);if(!Ua(n,vt))return Fi(e,Wn()),null;var s=bS(e,n);if(e.tag!==hc&&s===Qf){var u=Dm(e);u!==fe&&(n=u,s=ZT(e,u))}if(s===jg){var d=$g;throw Zf(e,fe),kc(e,n),Fi(e,Wn()),d}if(s===HT)throw new Error("Root did not complete. This is a bug in React.");var m=e.current.alternate;return e.finishedWork=m,e.finishedLanes=n,Jf(e,ji,ou),Fi(e,Wn()),null}function GJ(e,n){n!==fe&&(Ku(e,Ot(n,vt)),Fi(e,Wn()),(It&(_a|wo))===Gr&&(Ig(),vc()))}function JT(e,n){var s=It;It|=n6;try{return e(n)}finally{It=s,It===Gr&&!ls.isBatchingLegacy&&(Ig(),oA())}}function qJ(e,n,s,u,d){var m=Oi(),x=ka.transition;try{return ka.transition=null,Sr(ia),e(n,s,u,d)}finally{Sr(m),ka.transition=x,It===Gr&&Ig()}}function su(e){Ec!==null&&Ec.tag===hc&&(It&(_a|wo))===Gr&&lu();var n=It;It|=n6;var s=ka.transition,u=Oi();try{return ka.transition=null,Sr(ia),e?e():void 0}finally{Sr(u),ka.transition=s,It=n,(It&(_a|wo))===Gr&&vc()}}function f6(){return(It&(_a|wo))!==Gr}function yS(e,n){Wa(WT,nl,e),nl=Ot(nl,n)}function ek(e){nl=WT.current,Ha(WT,e)}function Zf(e,n){e.finishedWork=null,e.finishedLanes=fe;var s=e.timeoutHandle;if(s!==Qw&&(e.timeoutHandle=Qw,CQ(s)),or!==null)for(var u=or.return;u!==null;){var d=u.alternate;BM(d,u),u=u.return}si=e;var m=ed(e.current,null);return or=m,qr=nl=n,Xr=iu,$g=null,fS=fe,Bg=fe,dS=fe,Vg=null,ji=null,VK(),es.discardPendingWarnings(),m}function d6(e,n){do{var s=or;try{if(kb(),IA(),rr(),UT.current=null,s===null||s.return===null){Xr=jg,$g=n,or=null;return}if(Ae&&s.mode&ht&&aS(s,!0),Ie)if(Ml(),n!==null&&typeof n=="object"&&typeof n.then=="function"){var u=n;E1(s,u,qr)}else xp(s,n,qr);yZ(e,s.return,s,n,qr),m6(s)}catch(d){n=d,or===s&&s!==null?(s=s.return,or=s):s=or;continue}return}while(!0)}function p6(){var e=IT.current;return IT.current=Jb,e===null?Jb:e}function h6(e){IT.current=e}function XJ(){YT=Wn()}function Yg(e){fS=Ot(e,fS)}function QJ(){Xr===iu&&(Xr=cS)}function tk(){(Xr===iu||Xr===cS||Xr===Qf)&&(Xr=Fg),si!==null&&(wf(fS)||wf(Bg))&&kc(si,qr)}function KJ(e){Xr!==Fg&&(Xr=Qf),Vg===null?Vg=[e]:Vg.push(e)}function ZJ(){return Xr===iu}function bS(e,n){var s=It;It|=_a;var u=p6();if(si!==e||qr!==n){if(Vr){var d=e.memoizedUpdaters;d.size>0&&(Gg(e,qr),d.clear()),Up(e,n)}ou=jm(),Zf(e,n)}Ki(n);do try{JJ();break}catch(m){d6(e,m)}while(!0);if(kb(),It=s,h6(u),or!==null)throw new Error("Cannot commit an incomplete root. This error is likely caused by a bug in React. Please file an issue.");return Wu(),si=null,qr=fe,Xr}function JJ(){for(;or!==null;)v6(or)}function eee(e,n){var s=It;It|=_a;var u=p6();if(si!==e||qr!==n){if(Vr){var d=e.memoizedUpdaters;d.size>0&&(Gg(e,qr),d.clear()),Up(e,n)}ou=jm(),Ig(),Zf(e,n)}Ki(n);do try{tee();break}catch(m){d6(e,m)}while(!0);return kb(),h6(u),It=s,or!==null?(yf(),iu):(Wu(),si=null,qr=fe,Xr)}function tee(){for(;or!==null&&!vp();)v6(or)}function v6(e){var n=e.alternate;Kt(e);var s;(e.mode&ht)!==dt?(mT(e),s=nk(n,e,nl),aS(e,!0)):s=nk(n,e,nl),rr(),e.memoizedProps=e.pendingProps,s===null?m6(e):or=s,UT.current=null}function m6(e){var n=e;do{var s=n.alternate,u=n.return;if((n.flags&ei)===ut){Kt(n);var d=void 0;if((n.mode&ht)===dt?d=$M(s,n,nl):(mT(n),d=$M(s,n,nl),aS(n,!1)),rr(),d!==null){or=d;return}}else{var m=QZ(s,n);if(m!==null){m.flags&=v1,or=m;return}if((n.mode&ht)!==dt){aS(n,!1);for(var x=n.actualDuration,T=n.child;T!==null;)x+=T.actualDuration,T=T.sibling;n.actualDuration=x}if(u!==null)u.flags|=ei,u.subtreeFlags=ut,u.deletions=null;else{Xr=HT,or=null;return}}var _=n.sibling;if(_!==null){or=_;return}n=u,or=n}while(n!==null);Xr===iu&&(Xr=r6)}function Jf(e,n,s){var u=Oi(),d=ka.transition;try{ka.transition=null,Sr(ia),nee(e,n,s,u)}finally{ka.transition=d,Sr(u)}return null}function nee(e,n,s,u){do lu();while(Ec!==null);if(pee(),(It&(_a|wo))!==Gr)throw new Error("Should not already be working.");var d=e.finishedWork,m=e.finishedLanes;if(yp(m),d===null)return Em(),null;if(m===fe&&p("root.finishedLanes should not be empty during a commit. This is a bug in React."),e.finishedWork=null,e.finishedLanes=fe,d===e.current)throw new Error("Cannot commit the same tree as before. This error is likely caused by a bug in React. Please file an issue.");e.callbackNode=null,e.callbackPriority=Vt;var x=Ot(d.lanes,d.childLanes);zm(e,x),e===si&&(si=null,or=null,qr=fe),((d.subtreeFlags&ki)!==ut||(d.flags&ki)!==ut)&&(Kf||(Kf=!0,XT=s,ik(po,function(){return lu(),null})));var T=(d.subtreeFlags&(Iu|$a|aa|ki))!==ut,_=(d.flags&(Iu|$a|aa|ki))!==ut;if(T||_){var M=ka.transition;ka.transition=null;var L=Oi();Sr(ia);var G=It;It|=wo,UT.current=null,tJ(e,d),pM(),vJ(e,d,m),vQ(e.containerInfo),e.current=d,T1(m),mJ(d,e,m),Hu(),y1(),It=G,Sr(L),ka.transition=M}else e.current=d,pM();var H=Kf;if(Kf?(Kf=!1,Ec=e,Ug=m):(Mh=0,vS=null),x=e.pendingLanes,x===fe&&(Ah=null),H||S6(e.current,!1),Ho(d.stateNode,u),Vr&&e.memoizedUpdaters.clear(),zJ(),Fi(e,Wn()),n!==null)for(var re=e.onRecoverableError,ae=0;ae<n.length;ae++){var ue=n[ae],Ye=ue.stack,ft=ue.digest;re(ue.value,{componentStack:Ye,digest:ft})}if(pS){pS=!1;var rt=GT;throw GT=null,rt}return Ua(Ug,vt)&&e.tag!==hc&&lu(),x=e.pendingLanes,Ua(x,vt)?(fZ(),e===QT?Hg++:(Hg=0,QT=e)):Hg=0,vc(),Em(),null}function lu(){if(Ec!==null){var e=_f(Ug),n=Sw(Go,e),s=ka.transition,u=Oi();try{return ka.transition=null,Sr(n),aee()}finally{Sr(u),ka.transition=s}}return!1}function ree(e){qT.push(e),Kf||(Kf=!0,ik(po,function(){return lu(),null}))}function aee(){if(Ec===null)return!1;var e=XT;XT=null;var n=Ec,s=Ug;if(Ec=null,Ug=fe,(It&(_a|wo))!==Gr)throw new Error("Cannot flush passive effects while already rendering.");KT=!0,hS=!1,k1(s);var u=It;It|=wo,wJ(n.current),bJ(n,n.current,s,e);{var d=qT;qT=[];for(var m=0;m<d.length;m++){var x=d[m];iJ(n,x)}}gf(),S6(n.current,!0),It=u,vc(),hS?n===vS?Mh++:(Mh=0,vS=n):Mh=0,KT=!1,hS=!1,Ns(n);{var T=n.current.stateNode;T.effectDuration=0,T.passiveEffectDuration=0}return!0}function g6(e){return Ah!==null&&Ah.has(e)}function iee(e){Ah===null?Ah=new Set([e]):Ah.add(e)}function oee(e){pS||(pS=!0,GT=e)}var see=oee;function y6(e,n,s){var u=qf(s,n),d=vM(e,u,vt),m=gc(e,d,vt),x=li();m!==null&&(Il(m,vt,x),Fi(m,x))}function Nn(e,n,s){if(ZZ(s),qg(!1),e.tag===E){y6(e,e,s);return}var u=null;for(u=n;u!==null;){if(u.tag===E){y6(u,e,s);return}else if(u.tag===S){var d=u.type,m=u.stateNode;if(typeof d.getDerivedStateFromError=="function"||typeof m.componentDidCatch=="function"&&!g6(m)){var x=qf(s,e),T=CT(u,x,vt),_=gc(u,T,vt),M=li();_!==null&&(Il(_,vt,M),Fi(_,M));return}}u=u.return}p(`Internal React error: Attempted to capture a commit phase error inside a detached tree. This indicates a bug in React. Likely causes include deleting the same fiber more than once, committing an already-finished tree, or an inconsistent return pointer.
191
+
192
+ Error message:
193
+
194
+ %s`,s)}function lee(e,n,s){var u=e.pingCache;u!==null&&u.delete(n);var d=li();Lm(e,s),gee(e),si===e&&Vl(qr,s)&&(Xr===Fg||Xr===cS&&Bp(qr)&&Wn()-YT<a6?Zf(e,fe):dS=Ot(dS,s)),Fi(e,d)}function b6(e,n){n===Vt&&(n=IJ(e));var s=li(),u=zi(e,n);u!==null&&(Il(u,n,s),Fi(u,s))}function uee(e){var n=e.memoizedState,s=Vt;n!==null&&(s=n.retryLane),b6(e,s)}function cee(e,n){var s=Vt,u;switch(e.tag){case V:u=e.stateNode;var d=e.memoizedState;d!==null&&(s=d.retryLane);break;case De:u=e.stateNode;break;default:throw new Error("Pinged unknown suspense boundary type. This is probably a bug in React.")}u!==null&&u.delete(n),b6(e,s)}function fee(e){return e<120?120:e<480?480:e<1080?1080:e<1920?1920:e<3e3?3e3:e<4320?4320:FJ(e/1960)*1960}function dee(){if(Hg>BJ)throw Hg=0,QT=null,new Error("Maximum update depth exceeded. This can happen when a component repeatedly calls setState inside componentWillUpdate or componentDidUpdate. React limits the number of nested updates to prevent infinite loops.");Mh>VJ&&(Mh=0,vS=null,p("Maximum update depth exceeded. This can happen when a component calls setState inside useEffect, but useEffect either doesn't have a dependency array, or one of the dependencies changes on every render."))}function pee(){es.flushLegacyContextWarning(),es.flushPendingUnsafeLifecycleWarnings()}function S6(e,n){Kt(e),SS(e,Fa,MJ),n&&SS(e,Al,PJ),SS(e,Fa,OJ),n&&SS(e,Al,AJ),rr()}function SS(e,n,s){for(var u=e,d=null;u!==null;){var m=u.subtreeFlags&n;u!==d&&u.child!==null&&m!==ut?u=u.child:((u.flags&n)!==ut&&s(u),u.sibling!==null?u=u.sibling:u=d=u.return)}}var xS=null;function x6(e){{if((It&_a)!==Gr||!(e.mode&Nt))return;var n=e.tag;if(n!==C&&n!==E&&n!==S&&n!==y&&n!==$&&n!==le&&n!==J)return;var s=Et(e)||"ReactComponent";if(xS!==null){if(xS.has(s))return;xS.add(s)}else xS=new Set([s]);var u=An;try{Kt(e),p("Can't perform a React state update on a component that hasn't mounted yet. This indicates that you have a side-effect in your render function that asynchronously later calls tries to update the component. Move this work to useEffect instead.")}finally{u?Kt(e):rr()}}}var nk;{var hee=null;nk=function(e,n,s){var u=D6(hee,n);try{return LM(e,n,s)}catch(m){if(_K()||m!==null&&typeof m=="object"&&typeof m.then=="function")throw m;if(kb(),IA(),BM(e,n),D6(n,u),n.mode&ht&&mT(n),Ol(null,LM,null,e,n,s),pw()){var d=pm();typeof d=="object"&&d!==null&&d._suppressLogging&&typeof m=="object"&&m!==null&&!m._suppressLogging&&(m._suppressLogging=!0)}throw m}}}var C6=!1,rk;rk=new Set;function vee(e){if(ta&&!lZ())switch(e.tag){case y:case $:case J:{var n=or&&Et(or)||"Unknown",s=n;if(!rk.has(s)){rk.add(s);var u=Et(e)||"Unknown";p("Cannot update a component (`%s`) while rendering a different component (`%s`). To locate the bad setState() call inside `%s`, follow the stack trace as described in https://reactjs.org/link/setstate-in-render",u,n,n)}break}case S:{C6||(p("Cannot update during an existing state transition (such as within `render`). Render methods should be a pure function of props and state."),C6=!0);break}}}function Gg(e,n){if(Vr){var s=e.memoizedUpdaters;s.forEach(function(u){Nm(e,u,n)})}}var ak={};function ik(e,n){{var s=ls.current;return s!==null?(s.push(n),ak):hp(e,n)}}function w6(e){if(e!==ak)return g1(e)}function E6(){return ls.current!==null}function mee(e){{if(e.mode&Nt){if(!t6())return}else if(!jJ()||It!==Gr||e.tag!==y&&e.tag!==$&&e.tag!==J)return;if(ls.current===null){var n=An;try{Kt(e),p(`An update to %s inside a test was not wrapped in act(...).
195
+
196
+ When testing, code that causes React state updates should be wrapped into act(...):
197
+
198
+ act(() => {
199
+ /* fire events that update state */
200
+ });
201
+ /* assert on the output */
202
+
203
+ This ensures that you're testing the behavior the user would see in the browser. Learn more at https://reactjs.org/link/wrap-tests-with-act`,Et(e))}finally{n?Kt(e):rr()}}}}function gee(e){e.tag!==hc&&t6()&&ls.current===null&&p(`A suspended resource finished loading inside a test, but the event was not wrapped in act(...).
204
+
205
+ When testing, code that resolves suspended data should be wrapped into act(...):
206
+
207
+ act(() => {
208
+ /* finish loading suspended data */
209
+ });
210
+ /* assert on the output */
211
+
212
+ This ensures that you're testing the behavior the user would see in the browser. Learn more at https://reactjs.org/link/wrap-tests-with-act`)}function qg(e){s6=e}var Eo=null,Ph=null,yee=function(e){Eo=e};function Lh(e){{if(Eo===null)return e;var n=Eo(e);return n===void 0?e:n.current}}function ok(e){return Lh(e)}function sk(e){{if(Eo===null)return e;var n=Eo(e);if(n===void 0){if(e!=null&&typeof e.render=="function"){var s=Lh(e.render);if(e.render!==s){var u={$$typeof:lt,render:s};return e.displayName!==void 0&&(u.displayName=e.displayName),u}}return e}return n.current}}function T6(e,n){{if(Eo===null)return!1;var s=e.elementType,u=n.type,d=!1,m=typeof u=="object"&&u!==null?u.$$typeof:null;switch(e.tag){case S:{typeof u=="function"&&(d=!0);break}case y:{(typeof u=="function"||m===ct)&&(d=!0);break}case $:{(m===lt||m===ct)&&(d=!0);break}case le:case J:{(m===Rt||m===ct)&&(d=!0);break}default:return!1}if(d){var x=Eo(s);if(x!==void 0&&x===Eo(u))return!0}return!1}}function k6(e){{if(Eo===null||typeof WeakSet!="function")return;Ph===null&&(Ph=new WeakSet),Ph.add(e)}}var bee=function(e,n){{if(Eo===null)return;var s=n.staleFamilies,u=n.updatedFamilies;lu(),su(function(){lk(e.current,u,s)})}},See=function(e,n){{if(e.context!==Ji)return;lu(),su(function(){Xg(n,e,null,null)})}};function lk(e,n,s){{var u=e.alternate,d=e.child,m=e.sibling,x=e.tag,T=e.type,_=null;switch(x){case y:case J:case S:_=T;break;case $:_=T.render;break}if(Eo===null)throw new Error("Expected resolveFamily to be set during hot reload.");var M=!1,L=!1;if(_!==null){var G=Eo(_);G!==void 0&&(s.has(G)?L=!0:n.has(G)&&(x===S?L=!0:M=!0))}if(Ph!==null&&(Ph.has(e)||u!==null&&Ph.has(u))&&(L=!0),L&&(e._debugNeedsRemount=!0),L||M){var H=zi(e,vt);H!==null&&Qr(H,e,vt,Sn)}d!==null&&!L&&lk(d,n,s),m!==null&&lk(m,n,s)}}var xee=function(e,n){{var s=new Set,u=new Set(n.map(function(d){return d.current}));return uk(e.current,u,s),s}};function uk(e,n,s){{var u=e.child,d=e.sibling,m=e.tag,x=e.type,T=null;switch(m){case y:case J:case S:T=x;break;case $:T=x.render;break}var _=!1;T!==null&&n.has(T)&&(_=!0),_?Cee(e,s):u!==null&&uk(u,n,s),d!==null&&uk(d,n,s)}}function Cee(e,n){{var s=wee(e,n);if(s)return;for(var u=e;;){switch(u.tag){case R:n.add(u.stateNode);return;case k:n.add(u.stateNode.containerInfo);return;case E:n.add(u.stateNode.containerInfo);return}if(u.return===null)throw new Error("Expected to reach root first.");u=u.return}}}function wee(e,n){for(var s=e,u=!1;;){if(s.tag===R)u=!0,n.add(s.stateNode);else if(s.child!==null){s.child.return=s,s=s.child;continue}if(s===e)return u;for(;s.sibling===null;){if(s.return===null||s.return===e)return u;s=s.return}s.sibling.return=s.return,s=s.sibling}return!1}var ck;{ck=!1;try{var _6=Object.preventExtensions({})}catch{ck=!0}}function Eee(e,n,s,u){this.tag=e,this.key=s,this.elementType=null,this.type=null,this.stateNode=null,this.return=null,this.child=null,this.sibling=null,this.index=0,this.ref=null,this.pendingProps=n,this.memoizedProps=null,this.updateQueue=null,this.memoizedState=null,this.dependencies=null,this.mode=u,this.flags=ut,this.subtreeFlags=ut,this.deletions=null,this.lanes=fe,this.childLanes=fe,this.alternate=null,this.actualDuration=Number.NaN,this.actualStartTime=Number.NaN,this.selfBaseDuration=Number.NaN,this.treeBaseDuration=Number.NaN,this.actualDuration=0,this.actualStartTime=-1,this.selfBaseDuration=0,this.treeBaseDuration=0,this._debugSource=null,this._debugOwner=null,this._debugNeedsRemount=!1,this._debugHookTypes=null,!ck&&typeof Object.preventExtensions=="function"&&Object.preventExtensions(this)}var eo=function(e,n,s,u){return new Eee(e,n,s,u)};function fk(e){var n=e.prototype;return!!(n&&n.isReactComponent)}function Tee(e){return typeof e=="function"&&!fk(e)&&e.defaultProps===void 0}function kee(e){if(typeof e=="function")return fk(e)?S:y;if(e!=null){var n=e.$$typeof;if(n===lt)return $;if(n===Rt)return le}return C}function ed(e,n){var s=e.alternate;s===null?(s=eo(e.tag,n,e.key,e.mode),s.elementType=e.elementType,s.type=e.type,s.stateNode=e.stateNode,s._debugSource=e._debugSource,s._debugOwner=e._debugOwner,s._debugHookTypes=e._debugHookTypes,s.alternate=e,e.alternate=s):(s.pendingProps=n,s.type=e.type,s.flags=ut,s.subtreeFlags=ut,s.deletions=null,s.actualDuration=0,s.actualStartTime=-1),s.flags=e.flags&Br,s.childLanes=e.childLanes,s.lanes=e.lanes,s.child=e.child,s.memoizedProps=e.memoizedProps,s.memoizedState=e.memoizedState,s.updateQueue=e.updateQueue;var u=e.dependencies;switch(s.dependencies=u===null?null:{lanes:u.lanes,firstContext:u.firstContext},s.sibling=e.sibling,s.index=e.index,s.ref=e.ref,s.selfBaseDuration=e.selfBaseDuration,s.treeBaseDuration=e.treeBaseDuration,s._debugNeedsRemount=e._debugNeedsRemount,s.tag){case C:case y:case J:s.type=Lh(e.type);break;case S:s.type=ok(e.type);break;case $:s.type=sk(e.type);break}return s}function _ee(e,n){e.flags&=Br|Mn;var s=e.alternate;if(s===null)e.childLanes=fe,e.lanes=n,e.child=null,e.subtreeFlags=ut,e.memoizedProps=null,e.memoizedState=null,e.updateQueue=null,e.dependencies=null,e.stateNode=null,e.selfBaseDuration=0,e.treeBaseDuration=0;else{e.childLanes=s.childLanes,e.lanes=s.lanes,e.child=s.child,e.subtreeFlags=ut,e.deletions=null,e.memoizedProps=s.memoizedProps,e.memoizedState=s.memoizedState,e.updateQueue=s.updateQueue,e.type=s.type;var u=s.dependencies;e.dependencies=u===null?null:{lanes:u.lanes,firstContext:u.firstContext},e.selfBaseDuration=s.selfBaseDuration,e.treeBaseDuration=s.treeBaseDuration}return e}function Ree(e,n,s){var u;return e===yb?(u=Nt,n===!0&&(u|=Yn,u|=Ri)):u=dt,Vr&&(u|=ht),eo(E,null,null,u)}function dk(e,n,s,u,d,m){var x=C,T=e;if(typeof e=="function")fk(e)?(x=S,T=ok(T)):T=Lh(T);else if(typeof e=="string")x=R;else e:switch(e){case Za:return _c(s.children,d,m,n);case ya:x=j,d|=Yn,(d&Nt)!==dt&&(d|=Ri);break;case B:return Dee(s,d,m,n);case _t:return Oee(s,d,m,n);case Lt:return Aee(s,d,m,n);case _n:return R6(s,d,m,n);case Fr:case lr:case xi:case _u:case kn:default:{if(typeof e=="object"&&e!==null)switch(e.$$typeof){case Se:x=F;break e;case ze:x=q;break e;case lt:x=$,T=sk(T);break e;case Rt:x=le;break e;case ct:x=me,T=null;break e}var _="";{(e===void 0||typeof e=="object"&&e!==null&&Object.keys(e).length===0)&&(_+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");var M=u?Et(u):null;M&&(_+=`
213
+
214
+ Check the render method of \``+M+"`.")}throw new Error("Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) "+("but got: "+(e==null?e:typeof e)+"."+_))}}var L=eo(x,s,n,d);return L.elementType=e,L.type=T,L.lanes=m,L._debugOwner=u,L}function pk(e,n,s){var u=null;u=e._owner;var d=e.type,m=e.key,x=e.props,T=dk(d,m,x,u,n,s);return T._debugSource=e._source,T._debugOwner=e._owner,T}function _c(e,n,s,u){var d=eo(P,e,u,n);return d.lanes=s,d}function Dee(e,n,s,u){typeof e.id!="string"&&p('Profiler must specify an "id" of type `string` as a prop. Received the type `%s` instead.',typeof e.id);var d=eo(Q,e,u,n|ht);return d.elementType=B,d.lanes=s,d.stateNode={effectDuration:0,passiveEffectDuration:0},d}function Oee(e,n,s,u){var d=eo(V,e,u,n);return d.elementType=_t,d.lanes=s,d}function Aee(e,n,s,u){var d=eo(De,e,u,n);return d.elementType=Lt,d.lanes=s,d}function R6(e,n,s,u){var d=eo(Oe,e,u,n);d.elementType=_n,d.lanes=s;var m={isHidden:!1};return d.stateNode=m,d}function hk(e,n,s){var u=eo(A,e,null,n);return u.lanes=s,u}function Mee(){var e=eo(R,null,null,dt);return e.elementType="DELETED",e}function Pee(e){var n=eo(ye,null,null,dt);return n.stateNode=e,n}function vk(e,n,s){var u=e.children!==null?e.children:[],d=eo(k,u,e.key,n);return d.lanes=s,d.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},d}function D6(e,n){return e===null&&(e=eo(C,null,null,dt)),e.tag=n.tag,e.key=n.key,e.elementType=n.elementType,e.type=n.type,e.stateNode=n.stateNode,e.return=n.return,e.child=n.child,e.sibling=n.sibling,e.index=n.index,e.ref=n.ref,e.pendingProps=n.pendingProps,e.memoizedProps=n.memoizedProps,e.updateQueue=n.updateQueue,e.memoizedState=n.memoizedState,e.dependencies=n.dependencies,e.mode=n.mode,e.flags=n.flags,e.subtreeFlags=n.subtreeFlags,e.deletions=n.deletions,e.lanes=n.lanes,e.childLanes=n.childLanes,e.alternate=n.alternate,e.actualDuration=n.actualDuration,e.actualStartTime=n.actualStartTime,e.selfBaseDuration=n.selfBaseDuration,e.treeBaseDuration=n.treeBaseDuration,e._debugSource=n._debugSource,e._debugOwner=n._debugOwner,e._debugNeedsRemount=n._debugNeedsRemount,e._debugHookTypes=n._debugHookTypes,e}function Lee(e,n,s,u,d){this.tag=n,this.containerInfo=e,this.pendingChildren=null,this.current=null,this.pingCache=null,this.finishedWork=null,this.timeoutHandle=Qw,this.context=null,this.pendingContext=null,this.callbackNode=null,this.callbackPriority=Vt,this.eventTimes=Ip(fe),this.expirationTimes=Ip(Sn),this.pendingLanes=fe,this.suspendedLanes=fe,this.pingedLanes=fe,this.expiredLanes=fe,this.mutableReadLanes=fe,this.finishedLanes=fe,this.entangledLanes=fe,this.entanglements=Ip(fe),this.identifierPrefix=u,this.onRecoverableError=d,this.mutableSourceEagerHydrationData=null,this.effectDuration=0,this.passiveEffectDuration=0;{this.memoizedUpdaters=new Set;for(var m=this.pendingUpdatersLaneMap=[],x=0;x<Ln;x++)m.push(new Set)}switch(n){case yb:this._debugRootType=s?"hydrateRoot()":"createRoot()";break;case hc:this._debugRootType=s?"hydrate()":"render()";break}}function O6(e,n,s,u,d,m,x,T,_,M){var L=new Lee(e,n,s,T,_),G=Ree(n,m);L.current=G,G.stateNode=L;{var H={element:u,isDehydrated:s,cache:null,transitions:null,pendingSuspenseBoundaries:null};G.memoizedState=H}return wE(G),L}var mk="18.2.0";function zee(e,n,s){var u=arguments.length>3&&arguments[3]!==void 0?arguments[3]:null;return ha(u),{$$typeof:ga,key:u==null?null:""+u,children:e,containerInfo:n,implementation:s}}var gk,yk;gk=!1,yk={};function A6(e){if(!e)return Ji;var n=wi(e),s=yK(n);if(n.tag===S){var u=n.type;if(Xs(u))return rA(n,u,s)}return s}function Nee(e,n){{var s=wi(e);if(s===void 0){if(typeof e.render=="function")throw new Error("Unable to find node on an unmounted component.");var u=Object.keys(e).join(",");throw new Error("Argument appears to not be a ReactComponent. Keys: "+u)}var d=_i(s);if(d===null)return null;if(d.mode&Yn){var m=Et(s)||"Component";if(!yk[m]){yk[m]=!0;var x=An;try{Kt(d),s.mode&Yn?p("%s is deprecated in StrictMode. %s was passed an instance of %s which is inside StrictMode. Instead, add a ref directly to the element you want to reference. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-find-node",n,n,m):p("%s is deprecated in StrictMode. %s was passed an instance of %s which renders StrictMode children. Instead, add a ref directly to the element you want to reference. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-find-node",n,n,m)}finally{x?Kt(x):rr()}}}return d.stateNode}}function M6(e,n,s,u,d,m,x,T){var _=!1,M=null;return O6(e,n,_,M,s,u,d,m,x)}function P6(e,n,s,u,d,m,x,T,_,M){var L=!0,G=O6(s,u,L,e,d,m,x,T,_);G.context=A6(null);var H=G.current,re=li(),ae=Tc(H),ue=ru(re,ae);return ue.callback=n??null,gc(H,ue,ae),UJ(G,ae,re),G}function Xg(e,n,s,u){b1(n,e);var d=n.current,m=li(),x=Tc(d);Pl(x);var T=A6(s);n.context===null?n.context=T:n.pendingContext=T,ta&&An!==null&&!gk&&(gk=!0,p(`Render methods should be a pure function of props and state; triggering nested component updates from render is not allowed. If necessary, trigger nested updates in componentDidUpdate.
215
+
216
+ Check the render method of %s.`,Et(An)||"Unknown"));var _=ru(m,x);_.payload={element:e},u=u===void 0?null:u,u!==null&&(typeof u!="function"&&p("render(...): Expected the last optional `callback` argument to be a function. Instead received: %s.",u),_.callback=u);var M=gc(d,_,x);return M!==null&&(Qr(M,d,x,m),Ab(M,d,x)),x}function CS(e){var n=e.current;if(!n.child)return null;switch(n.child.tag){case R:return n.child.stateNode;default:return n.child.stateNode}}function jee(e){switch(e.tag){case E:{var n=e.stateNode;if(xr(n)){var s=mw(n);GJ(n,s)}break}case V:{su(function(){var d=zi(e,vt);if(d!==null){var m=li();Qr(d,e,vt,m)}});var u=vt;bk(e,u);break}}}function L6(e,n){var s=e.memoizedState;s!==null&&s.dehydrated!==null&&(s.retryLane=A1(s.retryLane,n))}function bk(e,n){L6(e,n);var s=e.alternate;s&&L6(s,n)}function Fee(e){if(e.tag===V){var n=Yu,s=zi(e,n);if(s!==null){var u=li();Qr(s,e,n,u)}bk(e,n)}}function $ee(e){if(e.tag===V){var n=Tc(e),s=zi(e,n);if(s!==null){var u=li();Qr(s,e,n,u)}bk(e,n)}}function z6(e){var n=m1(e);return n===null?null:n.stateNode}var N6=function(e){return null};function Bee(e){return N6(e)}var j6=function(e){return!1};function Vee(e){return j6(e)}var F6=null,$6=null,B6=null,V6=null,I6=null,U6=null,H6=null,W6=null,Y6=null;{var G6=function(e,n,s){var u=n[s],d=_r(e)?e.slice():Mt({},e);return s+1===n.length?(_r(d)?d.splice(u,1):delete d[u],d):(d[u]=G6(e[u],n,s+1),d)},q6=function(e,n){return G6(e,n,0)},X6=function(e,n,s,u){var d=n[u],m=_r(e)?e.slice():Mt({},e);if(u+1===n.length){var x=s[u];m[x]=m[d],_r(m)?m.splice(d,1):delete m[d]}else m[d]=X6(e[d],n,s,u+1);return m},Q6=function(e,n,s){if(n.length!==s.length){h("copyWithRename() expects paths of the same length");return}else for(var u=0;u<s.length-1;u++)if(n[u]!==s[u]){h("copyWithRename() expects paths to be the same except for the deepest key");return}return X6(e,n,s,0)},K6=function(e,n,s,u){if(s>=n.length)return u;var d=n[s],m=_r(e)?e.slice():Mt({},e);return m[d]=K6(e[d],n,s+1,u),m},Z6=function(e,n,s){return K6(e,n,0,s)},Sk=function(e,n){for(var s=e.memoizedState;s!==null&&n>0;)s=s.next,n--;return s};F6=function(e,n,s,u){var d=Sk(e,n);if(d!==null){var m=Z6(d.memoizedState,s,u);d.memoizedState=m,d.baseState=m,e.memoizedProps=Mt({},e.memoizedProps);var x=zi(e,vt);x!==null&&Qr(x,e,vt,Sn)}},$6=function(e,n,s){var u=Sk(e,n);if(u!==null){var d=q6(u.memoizedState,s);u.memoizedState=d,u.baseState=d,e.memoizedProps=Mt({},e.memoizedProps);var m=zi(e,vt);m!==null&&Qr(m,e,vt,Sn)}},B6=function(e,n,s,u){var d=Sk(e,n);if(d!==null){var m=Q6(d.memoizedState,s,u);d.memoizedState=m,d.baseState=m,e.memoizedProps=Mt({},e.memoizedProps);var x=zi(e,vt);x!==null&&Qr(x,e,vt,Sn)}},V6=function(e,n,s){e.pendingProps=Z6(e.memoizedProps,n,s),e.alternate&&(e.alternate.pendingProps=e.pendingProps);var u=zi(e,vt);u!==null&&Qr(u,e,vt,Sn)},I6=function(e,n){e.pendingProps=q6(e.memoizedProps,n),e.alternate&&(e.alternate.pendingProps=e.pendingProps);var s=zi(e,vt);s!==null&&Qr(s,e,vt,Sn)},U6=function(e,n,s){e.pendingProps=Q6(e.memoizedProps,n,s),e.alternate&&(e.alternate.pendingProps=e.pendingProps);var u=zi(e,vt);u!==null&&Qr(u,e,vt,Sn)},H6=function(e){var n=zi(e,vt);n!==null&&Qr(n,e,vt,Sn)},W6=function(e){N6=e},Y6=function(e){j6=e}}function Iee(e){var n=_i(e);return n===null?null:n.stateNode}function Uee(e){return null}function Hee(){return An}function Wee(e){var n=e.findFiberByHostInstance,s=i.ReactCurrentDispatcher;return Cm({bundleType:e.bundleType,version:e.version,rendererPackageName:e.rendererPackageName,rendererConfig:e.rendererConfig,overrideHookState:F6,overrideHookStateDeletePath:$6,overrideHookStateRenamePath:B6,overrideProps:V6,overridePropsDeletePath:I6,overridePropsRenamePath:U6,setErrorHandler:W6,setSuspenseHandler:Y6,scheduleUpdate:H6,currentDispatcherRef:s,findHostInstanceByFiber:Iee,findFiberByHostInstance:n||Uee,findHostInstancesForRefresh:xee,scheduleRefresh:bee,scheduleRoot:See,setRefreshHandler:yee,getCurrentFiber:Hee,reconcilerVersion:mk})}var J6=typeof reportError=="function"?reportError:function(e){console.error(e)};function xk(e){this._internalRoot=e}wS.prototype.render=xk.prototype.render=function(e){var n=this._internalRoot;if(n===null)throw new Error("Cannot update an unmounted root.");{typeof arguments[1]=="function"?p("render(...): does not support the second callback argument. To execute a side effect after rendering, declare it in a component body with useEffect()."):ES(arguments[1])?p("You passed a container to the second argument of root.render(...). You don't need to pass it again since you already passed it to create the root."):typeof arguments[1]<"u"&&p("You passed a second argument to root.render(...) but it only accepts one argument.");var s=n.containerInfo;if(s.nodeType!==cr){var u=z6(n.current);u&&u.parentNode!==s&&p("render(...): It looks like the React-rendered content of the root container was removed without using React. This is not supported and will cause errors. Instead, call root.unmount() to empty a root's container.")}}Xg(e,n,null,null)},wS.prototype.unmount=xk.prototype.unmount=function(){typeof arguments[0]=="function"&&p("unmount(...): does not support a callback argument. To execute a side effect after rendering, declare it in a component body with useEffect().");var e=this._internalRoot;if(e!==null){this._internalRoot=null;var n=e.containerInfo;f6()&&p("Attempted to synchronously unmount a root while React was already rendering. React cannot finish unmounting the root until the current render has completed, which may lead to a race condition."),su(function(){Xg(null,e,null,null)}),ZO(n)}};function Yee(e,n){if(!ES(e))throw new Error("createRoot(...): Target container is not a DOM element.");eP(e);var s=!1,u=!1,d="",m=J6;n!=null&&(n.hydrate?h("hydrate through createRoot is deprecated. Use ReactDOMClient.hydrateRoot(container, <App />) instead."):typeof n=="object"&&n!==null&&n.$$typeof===lo&&p(`You passed a JSX element to createRoot. You probably meant to call root.render instead. Example usage:
217
+
218
+ let root = createRoot(domContainer);
219
+ root.render(<App />);`),n.unstable_strictMode===!0&&(s=!0),n.identifierPrefix!==void 0&&(d=n.identifierPrefix),n.onRecoverableError!==void 0&&(m=n.onRecoverableError),n.transitionCallbacks!==void 0&&n.transitionCallbacks);var x=M6(e,yb,null,s,u,d,m);fb(x.current,e);var T=e.nodeType===cr?e.parentNode:e;return rg(T),new xk(x)}function wS(e){this._internalRoot=e}function Gee(e){e&&$1(e)}wS.prototype.unstable_scheduleHydration=Gee;function qee(e,n,s){if(!ES(e))throw new Error("hydrateRoot(...): Target container is not a DOM element.");eP(e),n===void 0&&p("Must provide initial children as second argument to hydrateRoot. Example usage: hydrateRoot(domContainer, <App />)");var u=s??null,d=s!=null&&s.hydratedSources||null,m=!1,x=!1,T="",_=J6;s!=null&&(s.unstable_strictMode===!0&&(m=!0),s.identifierPrefix!==void 0&&(T=s.identifierPrefix),s.onRecoverableError!==void 0&&(_=s.onRecoverableError));var M=P6(n,null,e,yb,u,m,x,T,_);if(fb(M.current,e),rg(e),d)for(var L=0;L<d.length;L++){var G=d[L];nZ(M,G)}return new wS(M)}function ES(e){return!!(e&&(e.nodeType===za||e.nodeType===qi||e.nodeType===El||!_e))}function Qg(e){return!!(e&&(e.nodeType===za||e.nodeType===qi||e.nodeType===El||e.nodeType===cr&&e.nodeValue===" react-mount-point-unstable "))}function eP(e){e.nodeType===za&&e.tagName&&e.tagName.toUpperCase()==="BODY"&&p("createRoot(): Creating roots directly with document.body is discouraged, since its children are often manipulated by third-party scripts and browser extensions. This may lead to subtle reconciliation issues. Try using a container element created for your app."),hg(e)&&(e._reactRootContainer?p("You are calling ReactDOMClient.createRoot() on a container that was previously passed to ReactDOM.render(). This is not supported."):p("You are calling ReactDOMClient.createRoot() on a container that has already been passed to createRoot() before. Instead, call root.render() on the existing root instead if you want to update it."))}var Xee=i.ReactCurrentOwner,tP;tP=function(e){if(e._reactRootContainer&&e.nodeType!==cr){var n=z6(e._reactRootContainer.current);n&&n.parentNode!==e&&p("render(...): It looks like the React-rendered content of this container was removed without using React. This is not supported and will cause errors. Instead, call ReactDOM.unmountComponentAtNode to empty a container.")}var s=!!e._reactRootContainer,u=Ck(e),d=!!(u&&dc(u));d&&!s&&p("render(...): Replacing React-rendered children with a new root component. If you intended to update the children of this node, you should instead have the existing children update their state and render the new components instead of calling ReactDOM.render."),e.nodeType===za&&e.tagName&&e.tagName.toUpperCase()==="BODY"&&p("render(): Rendering components directly into document.body is discouraged, since its children are often manipulated by third-party scripts and browser extensions. This may lead to subtle reconciliation issues. Try rendering into a container element created for your app.")};function Ck(e){return e?e.nodeType===qi?e.documentElement:e.firstChild:null}function nP(){}function Qee(e,n,s,u,d){if(d){if(typeof u=="function"){var m=u;u=function(){var H=CS(x);m.call(H)}}var x=P6(n,u,e,hc,null,!1,!1,"",nP);e._reactRootContainer=x,fb(x.current,e);var T=e.nodeType===cr?e.parentNode:e;return rg(T),su(),x}else{for(var _;_=e.lastChild;)e.removeChild(_);if(typeof u=="function"){var M=u;u=function(){var H=CS(L);M.call(H)}}var L=M6(e,hc,null,!1,!1,"",nP);e._reactRootContainer=L,fb(L.current,e);var G=e.nodeType===cr?e.parentNode:e;return rg(G),su(function(){Xg(n,L,s,u)}),L}}function Kee(e,n){e!==null&&typeof e!="function"&&p("%s(...): Expected the last optional `callback` argument to be a function. Instead received: %s.",n,e)}function TS(e,n,s,u,d){tP(s),Kee(d===void 0?null:d,"render");var m=s._reactRootContainer,x;if(!m)x=Qee(s,n,e,d,u);else{if(x=m,typeof d=="function"){var T=d;d=function(){var _=CS(x);T.call(_)}}Xg(n,x,e,d)}return CS(x)}function Zee(e){{var n=Xee.current;if(n!==null&&n.stateNode!==null){var s=n.stateNode._warnedAboutRefsInRender;s||p("%s is accessing findDOMNode inside its render(). render() should be a pure function of props and state. It should never access something that requires stale data from the previous render, such as refs. Move this logic to componentDidMount and componentDidUpdate instead.",fn(n.type)||"A component"),n.stateNode._warnedAboutRefsInRender=!0}}return e==null?null:e.nodeType===za?e:Nee(e,"findDOMNode")}function Jee(e,n,s){if(p("ReactDOM.hydrate is no longer supported in React 18. Use hydrateRoot instead. Until you switch to the new API, your app will behave as if it's running React 17. Learn more: https://reactjs.org/link/switch-to-createroot"),!Qg(n))throw new Error("Target container is not a DOM element.");{var u=hg(n)&&n._reactRootContainer===void 0;u&&p("You are calling ReactDOM.hydrate() on a container that was previously passed to ReactDOMClient.createRoot(). This is not supported. Did you mean to call hydrateRoot(container, element)?")}return TS(null,e,n,!0,s)}function ete(e,n,s){if(p("ReactDOM.render is no longer supported in React 18. Use createRoot instead. Until you switch to the new API, your app will behave as if it's running React 17. Learn more: https://reactjs.org/link/switch-to-createroot"),!Qg(n))throw new Error("Target container is not a DOM element.");{var u=hg(n)&&n._reactRootContainer===void 0;u&&p("You are calling ReactDOM.render() on a container that was previously passed to ReactDOMClient.createRoot(). This is not supported. Did you mean to call root.render(element)?")}return TS(null,e,n,!1,s)}function tte(e,n,s,u){if(p("ReactDOM.unstable_renderSubtreeIntoContainer() is no longer supported in React 18. Consider using a portal instead. Until you switch to the createRoot API, your app will behave as if it's running React 17. Learn more: https://reactjs.org/link/switch-to-createroot"),!Qg(s))throw new Error("Target container is not a DOM element.");if(e==null||!hf(e))throw new Error("parentComponent must be a valid React Component");return TS(e,n,s,!1,u)}function nte(e){if(!Qg(e))throw new Error("unmountComponentAtNode(...): Target container is not a DOM element.");{var n=hg(e)&&e._reactRootContainer===void 0;n&&p("You are calling ReactDOM.unmountComponentAtNode() on a container that was previously passed to ReactDOMClient.createRoot(). This is not supported. Did you mean to call root.unmount()?")}if(e._reactRootContainer){{var s=Ck(e),u=s&&!dc(s);u&&p("unmountComponentAtNode(): The node you're attempting to unmount was rendered by another copy of React.")}return su(function(){TS(null,null,e,!1,function(){e._reactRootContainer=null,ZO(e)})}),!0}else{{var d=Ck(e),m=!!(d&&dc(d)),x=e.nodeType===za&&Qg(e.parentNode)&&!!e.parentNode._reactRootContainer;m&&p("unmountComponentAtNode(): The node you're attempting to unmount was rendered by React and is not a top-level container. %s",x?"You may have accidentally passed in a React root node instead of its container.":"Instead, have the parent component update its state and rerender in order to remove this component.")}return!1}}qe(jee),P1(Fee),Df($ee),$m(Oi),z1(kf),(typeof Map!="function"||Map.prototype==null||typeof Map.prototype.forEach!="function"||typeof Set!="function"||Set.prototype==null||typeof Set.prototype.clear!="function"||typeof Set.prototype.forEach!="function")&&p("React depends on Map and Set built-in types. Make sure that you load a polyfill in older browsers. https://reactjs.org/link/react-polyfills"),p1(iQ),up(JT,qJ,su);function rte(e,n){var s=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null;if(!ES(n))throw new Error("Target container is not a DOM element.");return zee(e,n,null,s)}function ate(e,n,s,u){return tte(e,n,s,u)}var wk={usingClientEntryPoint:!1,Events:[dc,fh,db,lp,ff,JT]};function ite(e,n){return wk.usingClientEntryPoint||p('You are importing createRoot from "react-dom" which is not supported. You should instead import it from "react-dom/client".'),Yee(e,n)}function ote(e,n,s){return wk.usingClientEntryPoint||p('You are importing hydrateRoot from "react-dom" which is not supported. You should instead import it from "react-dom/client".'),qee(e,n,s)}function ste(e){return f6()&&p("flushSync was called from inside a lifecycle method. React cannot flush when React is already rendering. Consider moving this call to a scheduler task or micro task."),su(e)}var lte=Wee({findFiberByHostInstance:$f,bundleType:1,version:mk,rendererPackageName:"react-dom"});if(!lte&&wt&&window.top===window.self&&(navigator.userAgent.indexOf("Chrome")>-1&&navigator.userAgent.indexOf("Edge")===-1||navigator.userAgent.indexOf("Firefox")>-1)){var rP=window.location.protocol;/^(https?|file):$/.test(rP)&&console.info("%cDownload the React DevTools for a better development experience: https://reactjs.org/link/react-devtools"+(rP==="file:"?`
220
+ You might need to use a local HTTP server (instead of file://): https://reactjs.org/link/react-devtools-faq`:""),"font-weight:bold")}pi.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=wk,pi.createPortal=rte,pi.createRoot=ite,pi.findDOMNode=Zee,pi.flushSync=ste,pi.hydrate=Jee,pi.hydrateRoot=ote,pi.render=ete,pi.unmountComponentAtNode=nte,pi.unstable_batchedUpdates=JT,pi.unstable_renderSubtreeIntoContainer=ate,pi.version=mk,typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(new Error)}()),pi}function u_(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function")){if(process.env.NODE_ENV!=="production")throw new Error("^_^");try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(u_)}catch(t){console.error(t)}}}process.env.NODE_ENV==="production"?(u_(),VS.exports=y8()):VS.exports=b8();var c_=VS.exports,[f_,S8]=sd({strict:!1,name:"PortalContext"}),HS="chakra-portal",x8=".chakra-portal",C8=t=>O.jsx("div",{className:"chakra-portal-zIndex",style:{position:"absolute",zIndex:t.zIndex,top:0,left:0,right:0},children:t.children}),w8=t=>{const{appendToParentPortal:r,children:i}=t,[l,f]=U.useState(null),h=U.useRef(null),[,p]=U.useState({});U.useEffect(()=>p({}),[]);const g=S8(),y=v8();Hh(()=>{if(!l)return;const C=l.ownerDocument,E=r?g??C.body:C.body;if(!E)return;h.current=C.createElement("div"),h.current.className=HS,E.appendChild(h.current),p({});const k=h.current;return()=>{E.contains(k)&&E.removeChild(k)}},[l]);const S=y!=null&&y.zIndex?O.jsx(C8,{zIndex:y==null?void 0:y.zIndex,children:i}):i;return h.current?c_.createPortal(O.jsx(f_,{value:h.current,children:S}),h.current):O.jsx("span",{ref:C=>{C&&f(C)}})},E8=t=>{const{children:r,containerRef:i,appendToParentPortal:l}=t,f=i.current,h=f??(typeof window<"u"?document.body:void 0),p=U.useMemo(()=>{const y=f==null?void 0:f.ownerDocument.createElement("div");return y&&(y.className=HS),y},[f]),[,g]=U.useState({});return Hh(()=>g({}),[]),Hh(()=>{if(!(!p||!h))return h.appendChild(p),()=>{h.removeChild(p)}},[p,h]),h&&p?c_.createPortal(O.jsx(f_,{value:l?p:null,children:r}),p):null};function Wh(t){const r={appendToParentPortal:!0,...t},{containerRef:i,...l}=r;return i?O.jsx(E8,{containerRef:i,...l}):O.jsx(w8,{...l})}Wh.className=HS,Wh.selector=x8,Wh.displayName="Portal";function d_(){const t=U.useContext(od);if(!t)throw Error("useTheme: `theme` is undefined. Seems you forgot to wrap your app in `<ChakraProvider />` or `<ThemeProvider />`");return t}var p_=U.createContext({});p_.displayName="ColorModeContext";function h_(){const t=U.useContext(p_);if(t===void 0)throw new Error("useColorMode must be used within a ColorModeProvider");return t}function T8(){const t=h_(),r=d_();return{...t,theme:r}}var Tr=(...t)=>t.filter(Boolean).join(" ");function fs(t){const r=typeof t;return t!=null&&(r==="object"||r==="function")&&!Array.isArray(t)}function Rc(t,...r){return k8(t)?t(...r):t}var k8=t=>typeof t=="function",v_=t=>t?"":void 0;function ds(...t){return function(i){t.some(l=>(l==null||l(i),i==null?void 0:i.defaultPrevented))}}var dy={exports:{}};dy.exports,function(t,r){var i=200,l="__lodash_hash_undefined__",f=800,h=16,p=9007199254740991,g="[object Arguments]",y="[object Array]",S="[object AsyncFunction]",C="[object Boolean]",E="[object Date]",k="[object Error]",R="[object Function]",A="[object GeneratorFunction]",P="[object Map]",j="[object Number]",q="[object Null]",F="[object Object]",$="[object Proxy]",Q="[object RegExp]",V="[object Set]",le="[object String]",J="[object Undefined]",me="[object WeakMap]",ve="[object ArrayBuffer]",ye="[object DataView]",De="[object Float32Array]",pt="[object Float64Array]",Oe="[object Int8Array]",Pe="[object Int16Array]",at="[object Int32Array]",Ue="[object Uint8Array]",st="[object Uint8ClampedArray]",be="[object Uint16Array]",Le="[object Uint32Array]",K=/[\\^$.*+?()[\]{}|]/g,se=/^\[object .+?Constructor\]$/,_e=/^(?:0|[1-9]\d*)$/,Ee={};Ee[De]=Ee[pt]=Ee[Oe]=Ee[Pe]=Ee[at]=Ee[Ue]=Ee[st]=Ee[be]=Ee[Le]=!0,Ee[g]=Ee[y]=Ee[ve]=Ee[C]=Ee[ye]=Ee[E]=Ee[k]=Ee[R]=Ee[P]=Ee[j]=Ee[F]=Ee[Q]=Ee[V]=Ee[le]=Ee[me]=!1;var Fe=typeof Zg=="object"&&Zg&&Zg.Object===Object&&Zg,Ie=typeof self=="object"&&self&&self.Object===Object&&self,Ae=Fe||Ie||Function("return this")(),Xe=r&&!r.nodeType&&r,$e=Xe&&!0&&t&&!t.nodeType&&t,Je=$e&&$e.exports===Xe,tt=Je&&Fe.process,yt=function(){try{var z=$e&&$e.require&&$e.require("util").types;return z||tt&&tt.binding&&tt.binding("util")}catch{}}(),he=yt&&yt.isTypedArray;function wt(z,W,ie){switch(ie.length){case 0:return z.call(W);case 1:return z.call(W,ie[0]);case 2:return z.call(W,ie[0],ie[1]);case 3:return z.call(W,ie[0],ie[1],ie[2])}return z.apply(W,ie)}function mn(z,W){for(var ie=-1,Be=Array(z);++ie<z;)Be[ie]=W(ie);return Be}function Cn(z){return function(W){return z(W)}}function er(z,W){return z==null?void 0:z[W]}function tr(z,W){return function(ie){return z(W(ie))}}var Zr=Array.prototype,ha=Function.prototype,Xn=Object.prototype,vr=Ae["__core-js_shared__"],mr=ha.toString,wn=Xn.hasOwnProperty,Nr=function(){var z=/[^.]+$/.exec(vr&&vr.keys&&vr.keys.IE_PROTO||"");return z?"Symbol(src)_1."+z:""}(),gr=Xn.toString,Jr=mr.call(Object),Dn=RegExp("^"+mr.call(wn).replace(K,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),nr=Je?Ae.Buffer:void 0,Ui=Ae.Symbol,Oa=Ae.Uint8Array,Me=nr?nr.allocUnsafe:void 0,it=tr(Object.getPrototypeOf,Object),At=Object.create,Xt=Xn.propertyIsEnumerable,On=Zr.splice,En=Ui?Ui.toStringTag:void 0,Tn=function(){try{var z=bl(Object,"defineProperty");return z({},"",{}),z}catch{}}(),ea=nr?nr.isBuffer:void 0,cn=Math.max,va=Date.now,tn=bl(Ae,"Map"),Yt=bl(Object,"create"),Cs=function(){function z(){}return function(W){if(!Vn(W))return{};if(At)return At(W);z.prototype=W;var ie=new z;return z.prototype=void 0,ie}}();function ma(z){var W=-1,ie=z==null?0:z.length;for(this.clear();++W<ie;){var Be=z[W];this.set(Be[0],Be[1])}}function ws(){this.__data__=Yt?Yt(null):{},this.size=0}function gl(z){var W=this.has(z)&&delete this.__data__[z];return this.size-=W?1:0,W}function ku(z){var W=this.__data__;if(Yt){var ie=W[z];return ie===l?void 0:ie}return wn.call(W,z)?W[z]:void 0}function Oo(z){var W=this.__data__;return Yt?W[z]!==void 0:wn.call(W,z)}function Es(z,W){var ie=this.__data__;return this.size+=this.has(z)?0:1,ie[z]=Yt&&W===void 0?l:W,this}ma.prototype.clear=ws,ma.prototype.delete=gl,ma.prototype.get=ku,ma.prototype.has=Oo,ma.prototype.set=Es;function jr(z){var W=-1,ie=z==null?0:z.length;for(this.clear();++W<ie;){var Be=z[W];this.set(Be[0],Be[1])}}function Ts(){this.__data__=[],this.size=0}function Si(z){var W=this.__data__,ie=Ft(W,z);if(ie<0)return!1;var Be=W.length-1;return ie==Be?W.pop():On.call(W,ie,1),--this.size,!0}function lo(z){var W=this.__data__,ie=Ft(W,z);return ie<0?void 0:W[ie][1]}function ga(z){return Ft(this.__data__,z)>-1}function Za(z,W){var ie=this.__data__,Be=Ft(ie,z);return Be<0?(++this.size,ie.push([z,W])):ie[Be][1]=W,this}jr.prototype.clear=Ts,jr.prototype.delete=Si,jr.prototype.get=lo,jr.prototype.has=ga,jr.prototype.set=Za;function ya(z){var W=-1,ie=z==null?0:z.length;for(this.clear();++W<ie;){var Be=z[W];this.set(Be[0],Be[1])}}function B(){this.size=0,this.__data__={hash:new ma,map:new(tn||jr),string:new ma}}function Se(z){var W=Mo(this,z).delete(z);return this.size-=W?1:0,W}function ze(z){return Mo(this,z).get(z)}function lt(z){return Mo(this,z).has(z)}function _t(z,W){var ie=Mo(this,z),Be=ie.size;return ie.set(z,W),this.size+=ie.size==Be?0:1,this}ya.prototype.clear=B,ya.prototype.delete=Se,ya.prototype.get=ze,ya.prototype.has=lt,ya.prototype.set=_t;function Lt(z){var W=this.__data__=new jr(z);this.size=W.size}function Rt(){this.__data__=new jr,this.size=0}function ct(z){var W=this.__data__,ie=W.delete(z);return this.size=W.size,ie}function lr(z){return this.__data__.get(z)}function kn(z){return this.__data__.has(z)}function _n(z,W){var ie=this.__data__;if(ie instanceof jr){var Be=ie.__data__;if(!tn||Be.length<i-1)return Be.push([z,W]),this.size=++ie.size,this;ie=this.__data__=new ya(Be)}return ie.set(z,W),this.size=ie.size,this}Lt.prototype.clear=Rt,Lt.prototype.delete=ct,Lt.prototype.get=lr,Lt.prototype.has=kn,Lt.prototype.set=_n;function Fr(z,W){var ie=na(z),Be=!ie&&ta(z),zt=!ie&&!Be&&Kt(z),Zt=!ie&&!Be&&!zt&&Lo(z),Ht=ie||Be||zt||Zt,Pt=Ht?mn(z.length,String):[],nn=Pt.length;for(var ra in z)(W||wn.call(z,ra))&&!(Ht&&(ra=="length"||zt&&(ra=="offset"||ra=="parent")||Zt&&(ra=="buffer"||ra=="byteLength"||ra=="byteOffset")||uo(ra,nn)))&&Pt.push(ra);return Pt}function xi(z,W,ie){(ie!==void 0&&!An(z[W],ie)||ie===void 0&&!(W in z))&&qc(z,W,ie)}function _u(z,W,ie){var Be=z[W];(!(wn.call(z,W)&&An(Be,ie))||ie===void 0&&!(W in z))&&qc(z,W,ie)}function Ft(z,W){for(var ie=z.length;ie--;)if(An(z[ie][0],W))return ie;return-1}function qc(z,W,ie){W=="__proto__"&&Tn?Tn(z,W,{configurable:!0,enumerable:!0,value:ie,writable:!0}):z[W]=ie}var Hi=Qc();function Mt(z){return z==null?z===void 0?J:q:En&&En in Object(z)?Du(z):Au(z)}function Wi(z){return La(z)&&Mt(z)==g}function Wd(z){if(!Vn(z)||Qt(z))return!1;var W=Jc(z)?Dn:se;return W.test(xl(z))}function Xc(z){return La(z)&&Pa(z.length)&&!!Ee[Mt(z)]}function yl(z){if(!Vn(z))return Xd(z);var W=Ou(z),ie=[];for(var Be in z)Be=="constructor"&&(W||!wn.call(z,Be))||ie.push(Be);return ie}function Aa(z,W,ie,Be,zt){z!==W&&Hi(W,function(Zt,Ht){if(zt||(zt=new Lt),Vn(Zt))Yd(z,W,Ht,ie,Aa,Be,zt);else{var Pt=Be?Be(Mu(z,Ht),Zt,Ht+"",z,W,zt):void 0;Pt===void 0&&(Pt=Zt),xi(z,Ht,Pt)}},tf)}function Yd(z,W,ie,Be,zt,Zt,Ht){var Pt=Mu(z,ie),nn=Mu(W,ie),ra=Ht.get(nn);if(ra){xi(z,ie,ra);return}var ur=Zt?Zt(Pt,nn,ie+"",z,W,Ht):void 0,Yi=ur===void 0;if(Yi){var Pu=na(nn),$r=!Pu&&Kt(nn),Gi=!Pu&&!$r&&Lo(nn);ur=nn,Pu||$r||Gi?na(Pt)?ur=Pt:rr(Pt)?ur=ks(Pt):$r?(Yi=!1,ur=qd(nn,!0)):Gi?(Yi=!1,ur=Ru(nn,!0)):ur=[]:Qd(nn)||ta(nn)?(ur=Pt,ta(Pt)?ur=ef(Pt):(!Vn(Pt)||Jc(Pt))&&(ur=Kc(nn))):Yi=!1}Yi&&(Ht.set(nn,ur),zt(ur,nn,Be,Zt,Ht),Ht.delete(nn)),xi(z,ie,ur)}function Ma(z,W){return Zc(fn(z,W,zo),z+"")}var Gd=Tn?function(z,W){return Tn(z,"toString",{configurable:!0,enumerable:!1,value:wl(W),writable:!0})}:zo;function qd(z,W){if(W)return z.slice();var ie=z.length,Be=Me?Me(ie):new z.constructor(ie);return z.copy(Be),Be}function Uv(z){var W=new z.constructor(z.byteLength);return new Oa(W).set(new Oa(z)),W}function Ru(z,W){var ie=W?Uv(z.buffer):z.buffer;return new z.constructor(ie,z.byteOffset,z.length)}function ks(z,W){var ie=-1,Be=z.length;for(W||(W=Array(Be));++ie<Be;)W[ie]=z[ie];return W}function Ao(z,W,ie,Be){var zt=!ie;ie||(ie={});for(var Zt=-1,Ht=W.length;++Zt<Ht;){var Pt=W[Zt],nn=Be?Be(ie[Pt],z[Pt],Pt,ie,z):void 0;nn===void 0&&(nn=z[Pt]),zt?qc(ie,Pt,nn):_u(ie,Pt,nn)}return ie}function Ja(z){return Ma(function(W,ie){var Be=-1,zt=ie.length,Zt=zt>1?ie[zt-1]:void 0,Ht=zt>2?ie[2]:void 0;for(Zt=z.length>3&&typeof Zt=="function"?(zt--,Zt):void 0,Ht&&Hv(ie[0],ie[1],Ht)&&(Zt=zt<3?void 0:Zt,zt=1),W=Object(W);++Be<zt;){var Pt=ie[Be];Pt&&z(W,Pt,Be,Zt)}return W})}function Qc(z){return function(W,ie,Be){for(var zt=-1,Zt=Object(W),Ht=Be(W),Pt=Ht.length;Pt--;){var nn=Ht[z?Pt:++zt];if(ie(Zt[nn],nn,Zt)===!1)break}return W}}function Mo(z,W){var ie=z.__data__;return Sl(W)?ie[typeof W=="string"?"string":"hash"]:ie.map}function bl(z,W){var ie=er(z,W);return Wd(ie)?ie:void 0}function Du(z){var W=wn.call(z,En),ie=z[En];try{z[En]=void 0;var Be=!0}catch{}var zt=gr.call(z);return Be&&(W?z[En]=ie:delete z[En]),zt}function Kc(z){return typeof z.constructor=="function"&&!Ou(z)?Cs(it(z)):{}}function uo(z,W){var ie=typeof z;return W=W??p,!!W&&(ie=="number"||ie!="symbol"&&_e.test(z))&&z>-1&&z%1==0&&z<W}function Hv(z,W,ie){if(!Vn(ie))return!1;var Be=typeof W;return(Be=="number"?Po(ie)&&uo(W,ie.length):Be=="string"&&W in ie)?An(ie[W],z):!1}function Sl(z){var W=typeof z;return W=="string"||W=="number"||W=="symbol"||W=="boolean"?z!=="__proto__":z===null}function Qt(z){return!!Nr&&Nr in z}function Ou(z){var W=z&&z.constructor,ie=typeof W=="function"&&W.prototype||Xn;return z===ie}function Xd(z){var W=[];if(z!=null)for(var ie in Object(z))W.push(ie);return W}function Au(z){return gr.call(z)}function fn(z,W,ie){return W=cn(W===void 0?z.length-1:W,0),function(){for(var Be=arguments,zt=-1,Zt=cn(Be.length-W,0),Ht=Array(Zt);++zt<Zt;)Ht[zt]=Be[W+zt];zt=-1;for(var Pt=Array(W+1);++zt<W;)Pt[zt]=Be[zt];return Pt[W]=ie(Ht),wt(z,this,Pt)}}function Mu(z,W){if(!(W==="constructor"&&typeof z[W]=="function")&&W!="__proto__")return z[W]}var Zc=Et(Gd);function Et(z){var W=0,ie=0;return function(){var Be=va(),zt=h-(Be-ie);if(ie=Be,zt>0){if(++W>=f)return arguments[0]}else W=0;return z.apply(void 0,arguments)}}function xl(z){if(z!=null){try{return mr.call(z)}catch{}try{return z+""}catch{}}return""}function An(z,W){return z===W||z!==z&&W!==W}var ta=Wi(function(){return arguments}())?Wi:function(z){return La(z)&&wn.call(z,"callee")&&!Xt.call(z,"callee")},na=Array.isArray;function Po(z){return z!=null&&Pa(z.length)&&!Jc(z)}function rr(z){return La(z)&&Po(z)}var Kt=ea||No;function Jc(z){if(!Vn(z))return!1;var W=Mt(z);return W==R||W==A||W==S||W==$}function Pa(z){return typeof z=="number"&&z>-1&&z%1==0&&z<=p}function Vn(z){var W=typeof z;return z!=null&&(W=="object"||W=="function")}function La(z){return z!=null&&typeof z=="object"}function Qd(z){if(!La(z)||Mt(z)!=F)return!1;var W=it(z);if(W===null)return!0;var ie=wn.call(W,"constructor")&&W.constructor;return typeof ie=="function"&&ie instanceof ie&&mr.call(ie)==Jr}var Lo=he?Cn(he):Xc;function ef(z){return Ao(z,tf(z))}function tf(z){return Po(z)?Fr(z,!0):yl(z)}var Cl=Ja(function(z,W,ie,Be){Aa(z,W,ie,Be)});function wl(z){return function(){return z}}function zo(z){return z}function No(){return!1}t.exports=Cl}(dy,dy.exports);var _8=dy.exports;const ko=kS(_8);var R8=t=>/!(important)?$/.test(t),m_=t=>typeof t=="string"?t.replace(/!(important)?$/,"").trim():t,D8=(t,r)=>i=>{const l=String(r),f=R8(l),h=m_(l),p=t?`${t}.${h}`:h;let g=fs(i.__cssMap)&&p in i.__cssMap?i.__cssMap[p].varRef:r;return g=m_(g),f?`${g} !important`:g};function WS(t){const{scale:r,transform:i,compose:l}=t;return(h,p)=>{var g;const y=D8(r,h)(p);let S=(g=i==null?void 0:i(y,p))!=null?g:y;return l&&(S=l(S,p)),S}}var py=(...t)=>r=>t.reduce((i,l)=>l(i),r);function no(t,r){return i=>{const l={property:i,scale:t};return l.transform=WS({scale:t,transform:r}),l}}var O8=({rtl:t,ltr:r})=>i=>i.direction==="rtl"?t:r;function A8(t){const{property:r,scale:i,transform:l}=t;return{scale:i,property:O8(r),transform:i?WS({scale:i,compose:l}):l}}var g_=["rotate(var(--chakra-rotate, 0))","scaleX(var(--chakra-scale-x, 1))","scaleY(var(--chakra-scale-y, 1))","skewX(var(--chakra-skew-x, 0))","skewY(var(--chakra-skew-y, 0))"];function M8(){return["translateX(var(--chakra-translate-x, 0))","translateY(var(--chakra-translate-y, 0))",...g_].join(" ")}function P8(){return["translate3d(var(--chakra-translate-x, 0), var(--chakra-translate-y, 0), 0)",...g_].join(" ")}var L8={"--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(" ")},z8={backdropFilter:["var(--chakra-backdrop-blur)","var(--chakra-backdrop-brightness)","var(--chakra-backdrop-contrast)","var(--chakra-backdrop-grayscale)","var(--chakra-backdrop-hue-rotate)","var(--chakra-backdrop-invert)","var(--chakra-backdrop-opacity)","var(--chakra-backdrop-saturate)","var(--chakra-backdrop-sepia)"].join(" "),"--chakra-backdrop-blur":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-backdrop-brightness":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-backdrop-contrast":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-backdrop-grayscale":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-backdrop-hue-rotate":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-backdrop-invert":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-backdrop-opacity":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-backdrop-saturate":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-backdrop-sepia":"var(--chakra-empty,/*!*/ /*!*/)"};function N8(t){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":t,boxShadow:["var(--chakra-ring-offset-shadow)","var(--chakra-ring-shadow)","var(--chakra-shadow, 0 0 #0000)"].join(", ")}}var j8={"row-reverse":{space:"--chakra-space-x-reverse",divide:"--chakra-divide-x-reverse"},"column-reverse":{space:"--chakra-space-y-reverse",divide:"--chakra-divide-y-reverse"}},YS={"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"},F8=new Set(Object.values(YS)),GS=new Set(["none","-moz-initial","inherit","initial","revert","unset"]),$8=t=>t.trim();function B8(t,r){if(t==null||GS.has(t))return t;if(!(qS(t)||GS.has(t)))return`url('${t}')`;const f=/(^[a-z-A-Z]+)\((.*)\)/g.exec(t),h=f==null?void 0:f[1],p=f==null?void 0:f[2];if(!h||!p)return t;const g=h.includes("-gradient")?h:`${h}-gradient`,[y,...S]=p.split(",").map($8).filter(Boolean);if((S==null?void 0:S.length)===0)return t;const C=y in YS?YS[y]:y;S.unshift(C);const E=S.map(k=>{if(F8.has(k))return k;const R=k.indexOf(" "),[A,P]=R!==-1?[k.substr(0,R),k.substr(R+1)]:[k],j=qS(P)?P:P&&P.split(" "),q=`colors.${A}`,F=q in r.__cssMap?r.__cssMap[q].varRef:A;return j?[F,...Array.isArray(j)?j:[j]].join(" "):F});return`${g}(${E.join(", ")})`}var qS=t=>typeof t=="string"&&t.includes("(")&&t.includes(")"),V8=(t,r)=>B8(t,r??{});function I8(t){return/^var\(--.+\)$/.test(t)}var U8=t=>{const r=parseFloat(t.toString()),i=t.toString().replace(String(r),"");return{unitless:!i,value:r,unit:i}},ps=t=>r=>`${t}(${r})`,en={filter(t){return t!=="auto"?t:L8},backdropFilter(t){return t!=="auto"?t:z8},ring(t){return N8(en.px(t))},bgClip(t){return t==="text"?{color:"transparent",backgroundClip:"text"}:{backgroundClip:t}},transform(t){return t==="auto"?M8():t==="auto-gpu"?P8():t},vh(t){return t==="$100vh"?"var(--chakra-vh)":t},px(t){if(t==null)return t;const{unitless:r}=U8(t);return r||typeof t=="number"?`${t}px`:t},fraction(t){return typeof t!="number"||t>1?t:`${t*100}%`},float(t,r){const i={left:"right",right:"left"};return r.direction==="rtl"?i[t]:t},degree(t){if(I8(t)||t==null)return t;const r=typeof t=="string"&&!t.endsWith("deg");return typeof t=="number"||r?`${t}deg`:t},gradient:V8,blur:ps("blur"),opacity:ps("opacity"),brightness:ps("brightness"),contrast:ps("contrast"),dropShadow:ps("drop-shadow"),grayscale:ps("grayscale"),hueRotate:ps("hue-rotate"),invert:ps("invert"),saturate:ps("saturate"),sepia:ps("sepia"),bgImage(t){return t==null||qS(t)||GS.has(t)?t:`url(${t})`},outline(t){const r=String(t)==="0"||String(t)==="none";return t!==null&&r?{outline:"2px solid transparent",outlineOffset:"2px"}:{outline:t}},flexDirection(t){var r;const{space:i,divide:l}=(r=j8[t])!=null?r:{},f={flexDirection:t};return i&&(f[i]=1),l&&(f[l]=1),f}},X={borderWidths:no("borderWidths"),borderStyles:no("borderStyles"),colors:no("colors"),borders:no("borders"),gradients:no("gradients",en.gradient),radii:no("radii",en.px),space:no("space",py(en.vh,en.px)),spaceT:no("space",py(en.vh,en.px)),degreeT(t){return{property:t,transform:en.degree}},prop(t,r,i){return{property:t,scale:r,...r&&{transform:WS({scale:r,transform:i})}}},propT(t,r){return{property:t,transform:r}},sizes:no("sizes",py(en.vh,en.px)),sizesT:no("sizes",py(en.vh,en.fraction)),shadows:no("shadows"),logical:A8,blur:no("blur",en.blur)},hy={background:X.colors("background"),backgroundColor:X.colors("backgroundColor"),backgroundImage:X.gradients("backgroundImage"),backgroundSize:!0,backgroundPosition:!0,backgroundRepeat:!0,backgroundAttachment:!0,backgroundClip:{transform:en.bgClip},bgSize:X.prop("backgroundSize"),bgPosition:X.prop("backgroundPosition"),bg:X.colors("background"),bgColor:X.colors("backgroundColor"),bgPos:X.prop("backgroundPosition"),bgRepeat:X.prop("backgroundRepeat"),bgAttachment:X.prop("backgroundAttachment"),bgGradient:X.gradients("backgroundImage"),bgClip:{transform:en.bgClip}};Object.assign(hy,{bgImage:hy.backgroundImage,bgImg:hy.backgroundImage});var ln={border:X.borders("border"),borderWidth:X.borderWidths("borderWidth"),borderStyle:X.borderStyles("borderStyle"),borderColor:X.colors("borderColor"),borderRadius:X.radii("borderRadius"),borderTop:X.borders("borderTop"),borderBlockStart:X.borders("borderBlockStart"),borderTopLeftRadius:X.radii("borderTopLeftRadius"),borderStartStartRadius:X.logical({scale:"radii",property:{ltr:"borderTopLeftRadius",rtl:"borderTopRightRadius"}}),borderEndStartRadius:X.logical({scale:"radii",property:{ltr:"borderBottomLeftRadius",rtl:"borderBottomRightRadius"}}),borderTopRightRadius:X.radii("borderTopRightRadius"),borderStartEndRadius:X.logical({scale:"radii",property:{ltr:"borderTopRightRadius",rtl:"borderTopLeftRadius"}}),borderEndEndRadius:X.logical({scale:"radii",property:{ltr:"borderBottomRightRadius",rtl:"borderBottomLeftRadius"}}),borderRight:X.borders("borderRight"),borderInlineEnd:X.borders("borderInlineEnd"),borderBottom:X.borders("borderBottom"),borderBlockEnd:X.borders("borderBlockEnd"),borderBottomLeftRadius:X.radii("borderBottomLeftRadius"),borderBottomRightRadius:X.radii("borderBottomRightRadius"),borderLeft:X.borders("borderLeft"),borderInlineStart:{property:"borderInlineStart",scale:"borders"},borderInlineStartRadius:X.logical({scale:"radii",property:{ltr:["borderTopLeftRadius","borderBottomLeftRadius"],rtl:["borderTopRightRadius","borderBottomRightRadius"]}}),borderInlineEndRadius:X.logical({scale:"radii",property:{ltr:["borderTopRightRadius","borderBottomRightRadius"],rtl:["borderTopLeftRadius","borderBottomLeftRadius"]}}),borderX:X.borders(["borderLeft","borderRight"]),borderInline:X.borders("borderInline"),borderY:X.borders(["borderTop","borderBottom"]),borderBlock:X.borders("borderBlock"),borderTopWidth:X.borderWidths("borderTopWidth"),borderBlockStartWidth:X.borderWidths("borderBlockStartWidth"),borderTopColor:X.colors("borderTopColor"),borderBlockStartColor:X.colors("borderBlockStartColor"),borderTopStyle:X.borderStyles("borderTopStyle"),borderBlockStartStyle:X.borderStyles("borderBlockStartStyle"),borderBottomWidth:X.borderWidths("borderBottomWidth"),borderBlockEndWidth:X.borderWidths("borderBlockEndWidth"),borderBottomColor:X.colors("borderBottomColor"),borderBlockEndColor:X.colors("borderBlockEndColor"),borderBottomStyle:X.borderStyles("borderBottomStyle"),borderBlockEndStyle:X.borderStyles("borderBlockEndStyle"),borderLeftWidth:X.borderWidths("borderLeftWidth"),borderInlineStartWidth:X.borderWidths("borderInlineStartWidth"),borderLeftColor:X.colors("borderLeftColor"),borderInlineStartColor:X.colors("borderInlineStartColor"),borderLeftStyle:X.borderStyles("borderLeftStyle"),borderInlineStartStyle:X.borderStyles("borderInlineStartStyle"),borderRightWidth:X.borderWidths("borderRightWidth"),borderInlineEndWidth:X.borderWidths("borderInlineEndWidth"),borderRightColor:X.colors("borderRightColor"),borderInlineEndColor:X.colors("borderInlineEndColor"),borderRightStyle:X.borderStyles("borderRightStyle"),borderInlineEndStyle:X.borderStyles("borderInlineEndStyle"),borderTopRadius:X.radii(["borderTopLeftRadius","borderTopRightRadius"]),borderBottomRadius:X.radii(["borderBottomLeftRadius","borderBottomRightRadius"]),borderLeftRadius:X.radii(["borderTopLeftRadius","borderBottomLeftRadius"]),borderRightRadius:X.radii(["borderTopRightRadius","borderBottomRightRadius"])};Object.assign(ln,{rounded:ln.borderRadius,roundedTop:ln.borderTopRadius,roundedTopLeft:ln.borderTopLeftRadius,roundedTopRight:ln.borderTopRightRadius,roundedTopStart:ln.borderStartStartRadius,roundedTopEnd:ln.borderStartEndRadius,roundedBottom:ln.borderBottomRadius,roundedBottomLeft:ln.borderBottomLeftRadius,roundedBottomRight:ln.borderBottomRightRadius,roundedBottomStart:ln.borderEndStartRadius,roundedBottomEnd:ln.borderEndEndRadius,roundedLeft:ln.borderLeftRadius,roundedRight:ln.borderRightRadius,roundedStart:ln.borderInlineStartRadius,roundedEnd:ln.borderInlineEndRadius,borderStart:ln.borderInlineStart,borderEnd:ln.borderInlineEnd,borderTopStartRadius:ln.borderStartStartRadius,borderTopEndRadius:ln.borderStartEndRadius,borderBottomStartRadius:ln.borderEndStartRadius,borderBottomEndRadius:ln.borderEndEndRadius,borderStartRadius:ln.borderInlineStartRadius,borderEndRadius:ln.borderInlineEndRadius,borderStartWidth:ln.borderInlineStartWidth,borderEndWidth:ln.borderInlineEndWidth,borderStartColor:ln.borderInlineStartColor,borderEndColor:ln.borderInlineEndColor,borderStartStyle:ln.borderInlineStartStyle,borderEndStyle:ln.borderInlineEndStyle});var H8={color:X.colors("color"),textColor:X.colors("color"),fill:X.colors("fill"),stroke:X.colors("stroke")},XS={boxShadow:X.shadows("boxShadow"),mixBlendMode:!0,blendMode:X.prop("mixBlendMode"),backgroundBlendMode:!0,bgBlendMode:X.prop("backgroundBlendMode"),opacity:!0};Object.assign(XS,{shadow:XS.boxShadow});var W8={filter:{transform:en.filter},blur:X.blur("--chakra-blur"),brightness:X.propT("--chakra-brightness",en.brightness),contrast:X.propT("--chakra-contrast",en.contrast),hueRotate:X.degreeT("--chakra-hue-rotate"),invert:X.propT("--chakra-invert",en.invert),saturate:X.propT("--chakra-saturate",en.saturate),dropShadow:X.propT("--chakra-drop-shadow",en.dropShadow),backdropFilter:{transform:en.backdropFilter},backdropBlur:X.blur("--chakra-backdrop-blur"),backdropBrightness:X.propT("--chakra-backdrop-brightness",en.brightness),backdropContrast:X.propT("--chakra-backdrop-contrast",en.contrast),backdropHueRotate:X.degreeT("--chakra-backdrop-hue-rotate"),backdropInvert:X.propT("--chakra-backdrop-invert",en.invert),backdropSaturate:X.propT("--chakra-backdrop-saturate",en.saturate)},vy={alignItems:!0,alignContent:!0,justifyItems:!0,justifyContent:!0,flexWrap:!0,flexDirection:{transform:en.flexDirection},flex:!0,flexFlow:!0,flexGrow:!0,flexShrink:!0,flexBasis:X.sizes("flexBasis"),justifySelf:!0,alignSelf:!0,order:!0,placeItems:!0,placeContent:!0,placeSelf:!0,gap:X.space("gap"),rowGap:X.space("rowGap"),columnGap:X.space("columnGap")};Object.assign(vy,{flexDir:vy.flexDirection});var y_={gridGap:X.space("gridGap"),gridColumnGap:X.space("gridColumnGap"),gridRowGap:X.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},Y8={appearance:!0,cursor:!0,resize:!0,userSelect:!0,pointerEvents:!0,outline:{transform:en.outline},outlineOffset:!0,outlineColor:X.colors("outlineColor")},ro={width:X.sizesT("width"),inlineSize:X.sizesT("inlineSize"),height:X.sizes("height"),blockSize:X.sizes("blockSize"),boxSize:X.sizes(["width","height"]),minWidth:X.sizes("minWidth"),minInlineSize:X.sizes("minInlineSize"),minHeight:X.sizes("minHeight"),minBlockSize:X.sizes("minBlockSize"),maxWidth:X.sizes("maxWidth"),maxInlineSize:X.sizes("maxInlineSize"),maxHeight:X.sizes("maxHeight"),maxBlockSize:X.sizes("maxBlockSize"),overflow:!0,overflowX:!0,overflowY:!0,overscrollBehavior:!0,overscrollBehaviorX:!0,overscrollBehaviorY:!0,display:!0,aspectRatio:!0,hideFrom:{scale:"breakpoints",transform:(t,r)=>{var i,l,f;return{[`@media screen and (min-width: ${(f=(l=(i=r.__breakpoints)==null?void 0:i.get(t))==null?void 0:l.minW)!=null?f:t})`]:{display:"none"}}}},hideBelow:{scale:"breakpoints",transform:(t,r)=>{var i,l,f;return{[`@media screen and (max-width: ${(f=(l=(i=r.__breakpoints)==null?void 0:i.get(t))==null?void 0:l._minW)!=null?f:t})`]:{display:"none"}}}},verticalAlign:!0,boxSizing:!0,boxDecorationBreak:!0,float:X.propT("float",en.float),objectFit:!0,objectPosition:!0,visibility:!0,isolation:!0};Object.assign(ro,{w:ro.width,h:ro.height,minW:ro.minWidth,maxW:ro.maxWidth,minH:ro.minHeight,maxH:ro.maxHeight,overscroll:ro.overscrollBehavior,overscrollX:ro.overscrollBehaviorX,overscrollY:ro.overscrollBehaviorY});var G8={listStyleType:!0,listStylePosition:!0,listStylePos:X.prop("listStylePosition"),listStyleImage:!0,listStyleImg:X.prop("listStyleImage")};function q8(t,r,i,l){const f=typeof r=="string"?r.split("."):[r];for(l=0;l<f.length&&t;l+=1)t=t[f[l]];return t===void 0?i:t}var X8=t=>{const r=new WeakMap;return(l,f,h,p)=>{if(typeof l>"u")return t(l,f,h);r.has(l)||r.set(l,new Map);const g=r.get(l);if(g.has(f))return g.get(f);const y=t(l,f,h,p);return g.set(f,y),y}},Q8=X8(q8),K8={border:"0px",clip:"rect(0, 0, 0, 0)",width:"1px",height:"1px",margin:"-1px",padding:"0px",overflow:"hidden",whiteSpace:"nowrap",position:"absolute"},Z8={position:"static",width:"auto",height:"auto",clip:"auto",padding:"0",margin:"0",overflow:"visible",whiteSpace:"normal"},QS=(t,r,i)=>{const l={},f=Q8(t,r,{});for(const h in f)h in i&&i[h]!=null||(l[h]=f[h]);return l},J8={srOnly:{transform(t){return t===!0?K8:t==="focusable"?Z8:{}}},layerStyle:{processResult:!0,transform:(t,r,i)=>QS(r,`layerStyles.${t}`,i)},textStyle:{processResult:!0,transform:(t,r,i)=>QS(r,`textStyles.${t}`,i)},apply:{processResult:!0,transform:(t,r,i)=>QS(r,t,i)}},Yh={position:!0,pos:X.prop("position"),zIndex:X.prop("zIndex","zIndices"),inset:X.spaceT("inset"),insetX:X.spaceT(["left","right"]),insetInline:X.spaceT("insetInline"),insetY:X.spaceT(["top","bottom"]),insetBlock:X.spaceT("insetBlock"),top:X.spaceT("top"),insetBlockStart:X.spaceT("insetBlockStart"),bottom:X.spaceT("bottom"),insetBlockEnd:X.spaceT("insetBlockEnd"),left:X.spaceT("left"),insetInlineStart:X.logical({scale:"space",property:{ltr:"left",rtl:"right"}}),right:X.spaceT("right"),insetInlineEnd:X.logical({scale:"space",property:{ltr:"right",rtl:"left"}})};Object.assign(Yh,{insetStart:Yh.insetInlineStart,insetEnd:Yh.insetInlineEnd});var eL={ring:{transform:en.ring},ringColor:X.colors("--chakra-ring-color"),ringOffset:X.prop("--chakra-ring-offset-width"),ringOffsetColor:X.colors("--chakra-ring-offset-color"),ringInset:X.prop("--chakra-ring-inset")},Hn={margin:X.spaceT("margin"),marginTop:X.spaceT("marginTop"),marginBlockStart:X.spaceT("marginBlockStart"),marginRight:X.spaceT("marginRight"),marginInlineEnd:X.spaceT("marginInlineEnd"),marginBottom:X.spaceT("marginBottom"),marginBlockEnd:X.spaceT("marginBlockEnd"),marginLeft:X.spaceT("marginLeft"),marginInlineStart:X.spaceT("marginInlineStart"),marginX:X.spaceT(["marginInlineStart","marginInlineEnd"]),marginInline:X.spaceT("marginInline"),marginY:X.spaceT(["marginTop","marginBottom"]),marginBlock:X.spaceT("marginBlock"),padding:X.space("padding"),paddingTop:X.space("paddingTop"),paddingBlockStart:X.space("paddingBlockStart"),paddingRight:X.space("paddingRight"),paddingBottom:X.space("paddingBottom"),paddingBlockEnd:X.space("paddingBlockEnd"),paddingLeft:X.space("paddingLeft"),paddingInlineStart:X.space("paddingInlineStart"),paddingInlineEnd:X.space("paddingInlineEnd"),paddingX:X.space(["paddingInlineStart","paddingInlineEnd"]),paddingInline:X.space("paddingInline"),paddingY:X.space(["paddingTop","paddingBottom"]),paddingBlock:X.space("paddingBlock")};Object.assign(Hn,{m:Hn.margin,mt:Hn.marginTop,mr:Hn.marginRight,me:Hn.marginInlineEnd,marginEnd:Hn.marginInlineEnd,mb:Hn.marginBottom,ml:Hn.marginLeft,ms:Hn.marginInlineStart,marginStart:Hn.marginInlineStart,mx:Hn.marginX,my:Hn.marginY,p:Hn.padding,pt:Hn.paddingTop,py:Hn.paddingY,px:Hn.paddingX,pb:Hn.paddingBottom,pl:Hn.paddingLeft,ps:Hn.paddingInlineStart,paddingStart:Hn.paddingInlineStart,pr:Hn.paddingRight,pe:Hn.paddingInlineEnd,paddingEnd:Hn.paddingInlineEnd});var tL={textDecorationColor:X.colors("textDecorationColor"),textDecoration:!0,textDecor:{property:"textDecoration"},textDecorationLine:!0,textDecorationStyle:!0,textDecorationThickness:!0,textUnderlineOffset:!0,textShadow:X.shadows("textShadow")},nL={clipPath:!0,transform:X.propT("transform",en.transform),transformOrigin:!0,translateX:X.spaceT("--chakra-translate-x"),translateY:X.spaceT("--chakra-translate-y"),skewX:X.degreeT("--chakra-skew-x"),skewY:X.degreeT("--chakra-skew-y"),scaleX:X.prop("--chakra-scale-x"),scaleY:X.prop("--chakra-scale-y"),scale:X.prop(["--chakra-scale-x","--chakra-scale-y"]),rotate:X.degreeT("--chakra-rotate")},rL={transition:!0,transitionDelay:!0,animation:!0,willChange:!0,transitionDuration:X.prop("transitionDuration","transition.duration"),transitionProperty:X.prop("transitionProperty","transition.property"),transitionTimingFunction:X.prop("transitionTimingFunction","transition.easing")},aL={fontFamily:X.prop("fontFamily","fonts"),fontSize:X.prop("fontSize","fontSizes",en.px),fontWeight:X.prop("fontWeight","fontWeights"),lineHeight:X.prop("lineHeight","lineHeights"),letterSpacing:X.prop("letterSpacing","letterSpacings"),textAlign:!0,fontStyle:!0,textIndent:!0,wordBreak:!0,overflowWrap:!0,textOverflow:!0,textTransform:!0,whiteSpace:!0,isTruncated:{transform(t){if(t===!0)return{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"}}},noOfLines:{static:{overflow:"hidden",textOverflow:"ellipsis",display:"-webkit-box",WebkitBoxOrient:"vertical",WebkitLineClamp:"var(--chakra-line-clamp)"},property:"--chakra-line-clamp"}},iL={scrollBehavior:!0,scrollSnapAlign:!0,scrollSnapStop:!0,scrollSnapType:!0,scrollMargin:X.spaceT("scrollMargin"),scrollMarginTop:X.spaceT("scrollMarginTop"),scrollMarginBottom:X.spaceT("scrollMarginBottom"),scrollMarginLeft:X.spaceT("scrollMarginLeft"),scrollMarginRight:X.spaceT("scrollMarginRight"),scrollMarginX:X.spaceT(["scrollMarginLeft","scrollMarginRight"]),scrollMarginY:X.spaceT(["scrollMarginTop","scrollMarginBottom"]),scrollPadding:X.spaceT("scrollPadding"),scrollPaddingTop:X.spaceT("scrollPaddingTop"),scrollPaddingBottom:X.spaceT("scrollPaddingBottom"),scrollPaddingLeft:X.spaceT("scrollPaddingLeft"),scrollPaddingRight:X.spaceT("scrollPaddingRight"),scrollPaddingX:X.spaceT(["scrollPaddingLeft","scrollPaddingRight"]),scrollPaddingY:X.spaceT(["scrollPaddingTop","scrollPaddingBottom"])};function b_(t){return fs(t)&&t.reference?t.reference:String(t)}var my=(t,...r)=>r.map(b_).join(` ${t} `).replace(/calc/g,""),S_=(...t)=>`calc(${my("+",...t)})`,x_=(...t)=>`calc(${my("-",...t)})`,KS=(...t)=>`calc(${my("*",...t)})`,C_=(...t)=>`calc(${my("/",...t)})`,w_=t=>{const r=b_(t);return r!=null&&!Number.isNaN(parseFloat(r))?String(r).startsWith("-")?String(r).slice(1):`-${r}`:KS(r,-1)},Gh=Object.assign(t=>({add:(...r)=>Gh(S_(t,...r)),subtract:(...r)=>Gh(x_(t,...r)),multiply:(...r)=>Gh(KS(t,...r)),divide:(...r)=>Gh(C_(t,...r)),negate:()=>Gh(w_(t)),toString:()=>t.toString()}),{add:S_,subtract:x_,multiply:KS,divide:C_,negate:w_});function oL(t,r="-"){return t.replace(/\s+/g,r)}function sL(t){const r=oL(t.toString());return uL(lL(r))}function lL(t){return t.includes("\\.")?t:!Number.isInteger(parseFloat(t.toString()))?t.replace(".","\\."):t}function uL(t){return t.replace(/[!-,/:-@[-^`{-~]/g,"\\$&")}function cL(t,r=""){return[r,t].filter(Boolean).join("-")}function fL(t,r){return`var(${t}${r?`, ${r}`:""})`}function dL(t,r=""){return sL(`--${cL(t,r)}`)}function gt(t,r,i){const l=dL(t,i);return{variable:l,reference:fL(l,r)}}function pL(t,r){const i={};for(const l of r){if(Array.isArray(l)){const[f,h]=l;i[f]=gt(`${t}-${f}`,h);continue}i[l]=gt(`${t}-${l}`)}return i}function hL(t){const r=parseFloat(t.toString()),i=t.toString().replace(String(r),"");return{unitless:!i,value:r,unit:i}}function E_(t){if(t==null)return t;const{unitless:r}=hL(t);return r||typeof t=="number"?`${t}px`:t}function vL(t,r){const i=["@media screen"];return t&&i.push("and",`(min-width: ${E_(t)})`),r&&i.push("and",`(max-width: ${E_(r)})`),i.join(" ")}var da={hover:(t,r)=>`${t}:hover ${r}, ${t}[data-hover] ${r}`,focus:(t,r)=>`${t}:focus ${r}, ${t}[data-focus] ${r}`,focusVisible:(t,r)=>`${t}:focus-visible ${r}`,focusWithin:(t,r)=>`${t}:focus-within ${r}`,active:(t,r)=>`${t}:active ${r}, ${t}[data-active] ${r}`,disabled:(t,r)=>`${t}:disabled ${r}, ${t}[data-disabled] ${r}`,invalid:(t,r)=>`${t}:invalid ${r}, ${t}[data-invalid] ${r}`,checked:(t,r)=>`${t}:checked ${r}, ${t}[data-checked] ${r}`,indeterminate:(t,r)=>`${t}:indeterminate ${r}, ${t}[aria-checked=mixed] ${r}, ${t}[data-indeterminate] ${r}`,readOnly:(t,r)=>`${t}:read-only ${r}, ${t}[readonly] ${r}, ${t}[data-read-only] ${r}`,expanded:(t,r)=>`${t}:read-only ${r}, ${t}[aria-expanded=true] ${r}, ${t}[data-expanded] ${r}`,placeholderShown:(t,r)=>`${t}:placeholder-shown ${r}`},cu=t=>T_(r=>t(r,"&"),"[role=group]","[data-group]",".group"),al=t=>T_(r=>t(r,"~ &"),"[data-peer]",".peer"),T_=(t,...r)=>r.map(t).join(", "),ZS={_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:cu(da.hover),_peerHover:al(da.hover),_groupFocus:cu(da.focus),_peerFocus:al(da.focus),_groupFocusVisible:cu(da.focusVisible),_peerFocusVisible:al(da.focusVisible),_groupActive:cu(da.active),_peerActive:al(da.active),_groupDisabled:cu(da.disabled),_peerDisabled:al(da.disabled),_groupInvalid:cu(da.invalid),_peerInvalid:al(da.invalid),_groupChecked:cu(da.checked),_peerChecked:al(da.checked),_groupFocusWithin:cu(da.focusWithin),_peerFocusWithin:al(da.focusWithin),_peerPlaceholderShown:al(da.placeholderShown),_placeholder:"&::placeholder",_placeholderShown:"&:placeholder-shown",_fullScreen:"&:fullscreen",_selection:"&::selection",_rtl:"[dir=rtl] &, &[dir=rtl]",_ltr:"[dir=ltr] &, &[dir=ltr]",_mediaDark:"@media (prefers-color-scheme: dark)",_mediaReduceMotion:"@media (prefers-reduced-motion: reduce)",_dark:".chakra-ui-dark &:not([data-theme]),[data-theme=dark] &:not([data-theme]),&[data-theme=dark]",_light:".chakra-ui-light &:not([data-theme]),[data-theme=light] &:not([data-theme]),&[data-theme=light]",_horizontal:"&[data-orientation=horizontal]",_vertical:"&[data-orientation=vertical]"},mL=Object.keys(ZS);function gL(t,r=[]){const i=Object.assign({},t);for(const l of r)l in i&&delete i[l];return i}var JS=ko({},hy,ln,H8,vy,ro,W8,eL,Y8,y_,J8,Yh,XS,Hn,iL,aL,tL,nL,G8,rL);Object.assign({},Hn,ro,vy,y_,Yh);var yL=[...Object.keys(JS),...mL],bL={...JS,...ZS},SL=t=>t in bL,xL=t=>r=>{if(!r.__breakpoints)return t;const{isResponsive:i,toArrayValue:l,media:f}=r.__breakpoints,h={};for(const p in t){let g=Rc(t[p],r);if(g==null)continue;if(g=fs(g)&&i(g)?l(g):g,!Array.isArray(g)){h[p]=g;continue}const y=g.slice(0,f.length).length;for(let S=0;S<y;S+=1){const C=f==null?void 0:f[S];if(!C){h[p]=g[S];continue}h[C]=h[C]||{},g[S]!=null&&(h[C][p]=g[S])}}return h};function CL(t){const r=[];let i="",l=!1;for(let f=0;f<t.length;f++){const h=t[f];h==="("?(l=!0,i+=h):h===")"?(l=!1,i+=h):h===","&&!l?(r.push(i),i=""):i+=h}return i=i.trim(),i&&r.push(i),r}function wL(t){return/^var\(--.+\)$/.test(t)}var EL=(t,r)=>t.startsWith("--")&&typeof r=="string"&&!wL(r),TL=(t,r)=>{var i,l;if(r==null)return r;const f=y=>{var S,C;return(C=(S=t.__cssMap)==null?void 0:S[y])==null?void 0:C.varRef},h=y=>{var S;return(S=f(y))!=null?S:y},[p,g]=CL(r);return r=(l=(i=f(p))!=null?i:h(g))!=null?l:h(r),r};function kL(t){const{configs:r={},pseudos:i={},theme:l}=t,f=(h,p=!1)=>{var g,y,S;const C=Rc(h,l),E=xL(C)(l);let k={};for(let R in E){const A=E[R];let P=Rc(A,l);R in i&&(R=i[R]),EL(R,P)&&(P=TL(l,P));let j=r[R];if(j===!0&&(j={property:R}),fs(P)){k[R]=(g=k[R])!=null?g:{},k[R]=ko({},k[R],f(P,!0));continue}let q=(S=(y=j==null?void 0:j.transform)==null?void 0:y.call(j,P,l,C))!=null?S:P;q=j!=null&&j.processResult?f(q,!0):q;const F=Rc(j==null?void 0:j.property,l);if(!p&&(j!=null&&j.static)){const $=Rc(j.static,l);k=ko({},k,$)}if(F&&Array.isArray(F)){for(const $ of F)k[$]=q;continue}if(F){F==="&"&&fs(q)?k=ko({},k,q):k[F]=q;continue}if(fs(q)){k=ko({},k,q);continue}k[R]=q}return k};return f}var _L=t=>r=>kL({theme:r,pseudos:ZS,configs:JS})(t);function dte(t){return t}function pte(t){return t}function Fn(t){return{definePartsStyle(r){return r},defineMultiStyleConfig(r){return{parts:t,...r}}}}function RL(t,r){if(Array.isArray(t))return t;if(fs(t))return r(t);if(t!=null)return[t]}function DL(t,r){for(let i=r+1;i<t.length;i++)if(t[i]!=null)return i;return-1}function OL(t){const r=t.__breakpoints;return function(l,f,h,p){var g,y;if(!r)return;const S={},C=RL(h,r.toArrayValue);if(!C)return S;const E=C.length,k=E===1,R=!!l.parts;for(let A=0;A<E;A++){const P=r.details[A],j=r.details[DL(C,A)],q=vL(P.minW,j==null?void 0:j._minW),F=Rc((g=l[f])==null?void 0:g[C[A]],p);if(F){if(R){(y=l.parts)==null||y.forEach($=>{ko(S,{[$]:k?F[$]:{[q]:F[$]}})});continue}if(!R){k?ko(S,F):S[q]=F;continue}S[q]=F}}return S}}function AL(t){return r=>{var i;const{variant:l,size:f,theme:h}=r,p=OL(h);return ko({},Rc((i=t.baseStyle)!=null?i:{},r),p(t,"sizes",f,r),p(t,"variants",l,r))}}function ML(t,r,i){var l,f,h;return(h=(f=(l=t.__cssMap)==null?void 0:l[`${r}.${i}`])==null?void 0:f.varRef)!=null?h:i}function fu(t){return gL(t,["styleConfig","size","variant","colorScheme"])}var PL=["borders","breakpoints","colors","components","config","direction","fonts","fontSizes","fontWeights","letterSpacings","lineHeights","radii","shadows","sizes","space","styles","transition","zIndices"];function LL(t){return fs(t)?PL.every(r=>Object.prototype.hasOwnProperty.call(t,r)):!1}var zL={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"},NL={"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)"},jL={"ultra-fast":"50ms",faster:"100ms",fast:"150ms",normal:"200ms",slow:"300ms",slower:"400ms","ultra-slow":"500ms"},FL={property:zL,easing:NL,duration:jL},$L=FL,BL={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},VL=BL,IL={none:0,"1px":"1px solid","2px":"2px solid","4px":"4px solid","8px":"8px solid"},UL=IL,HL={base:"0em",sm:"30em",md:"48em",lg:"62em",xl:"80em","2xl":"96em"},WL=HL,YL={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"}},GL=YL,qL={none:"0",sm:"0.125rem",base:"0.25rem",md:"0.375rem",lg:"0.5rem",xl:"0.75rem","2xl":"1rem","3xl":"1.5rem",full:"9999px"},XL=qL,QL={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"},KL=QL,ZL={none:0,sm:"4px",base:"8px",md:"12px",lg:"16px",xl:"24px","2xl":"40px","3xl":"64px"},JL=ZL,ez={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"}},k_=ez,__={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"},tz={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"},nz={sm:"640px",md:"768px",lg:"1024px",xl:"1280px"},rz={...__,...tz,container:nz},R_=rz,az={breakpoints:WL,zIndices:VL,radii:XL,blur:JL,colors:GL,...k_,sizes:R_,shadows:KL,space:__,borders:UL,transition:$L},{defineMultiStyleConfig:iz,definePartsStyle:qh}=Fn(["stepper","step","title","description","indicator","separator","icon","number"]),il=gt("stepper-indicator-size"),ld=gt("stepper-icon-size"),ud=gt("stepper-title-font-size"),Xh=gt("stepper-description-font-size"),Qh=gt("stepper-accent-color"),oz=qh(({colorScheme:t})=>({stepper:{display:"flex",justifyContent:"space-between",gap:"4","&[data-orientation=vertical]":{flexDirection:"column",alignItems:"flex-start"},"&[data-orientation=horizontal]":{flexDirection:"row",alignItems:"center"},[Qh.variable]:`colors.${t}.500`,_dark:{[Qh.variable]:`colors.${t}.200`}},title:{fontSize:ud.reference,fontWeight:"medium"},description:{fontSize:Xh.reference,color:"chakra-subtle-text"},number:{fontSize:ud.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:ld.reference,height:ld.reference},indicator:{flexShrink:0,borderRadius:"full",width:il.reference,height:il.reference,display:"flex",justifyContent:"center",alignItems:"center","&[data-status=active]":{borderWidth:"2px",borderColor:Qh.reference},"&[data-status=complete]":{bg:Qh.reference,color:"chakra-inverse-text"},"&[data-status=incomplete]":{borderWidth:"2px"}},separator:{bg:"chakra-border-color",flex:"1","&[data-status=complete]":{bg:Qh.reference},"&[data-orientation=horizontal]":{width:"100%",height:"2px",marginStart:"2"},"&[data-orientation=vertical]":{width:"2px",position:"absolute",height:"100%",maxHeight:`calc(100% - ${il.reference} - 8px)`,top:`calc(${il.reference} + 4px)`,insetStart:`calc(${il.reference} / 2 - 1px)`}}})),sz=iz({baseStyle:oz,sizes:{xs:qh({stepper:{[il.variable]:"sizes.4",[ld.variable]:"sizes.3",[ud.variable]:"fontSizes.xs",[Xh.variable]:"fontSizes.xs"}}),sm:qh({stepper:{[il.variable]:"sizes.6",[ld.variable]:"sizes.4",[ud.variable]:"fontSizes.sm",[Xh.variable]:"fontSizes.xs"}}),md:qh({stepper:{[il.variable]:"sizes.8",[ld.variable]:"sizes.5",[ud.variable]:"fontSizes.md",[Xh.variable]:"fontSizes.sm"}}),lg:qh({stepper:{[il.variable]:"sizes.10",[ld.variable]:"sizes.6",[ud.variable]:"fontSizes.lg",[Xh.variable]:"fontSizes.md"}})},defaultProps:{size:"md",colorScheme:"blue"}});function hn(t,r={}){let i=!1;function l(){if(!i){i=!0;return}throw new Error("[anatomy] .part(...) should only be called once. Did you mean to use .extend(...) ?")}function f(...C){l();for(const E of C)r[E]=y(E);return hn(t,r)}function h(...C){for(const E of C)E in r||(r[E]=y(E));return hn(t,r)}function p(){return Object.fromEntries(Object.entries(r).map(([E,k])=>[E,k.selector]))}function g(){return Object.fromEntries(Object.entries(r).map(([E,k])=>[E,k.className]))}function y(C){const R=`chakra-${(["container","root"].includes(C??"")?[t]:[t,C]).filter(Boolean).join("__")}`;return{className:R,selector:`.${R}`,toString:()=>C}}return{parts:f,toPart:y,extend:h,selectors:p,classnames:g,get keys(){return Object.keys(r)},__type:{}}}var lz=hn("accordion").parts("root","container","button","panel").extend("icon"),uz=hn("alert").parts("title","description","container").extend("icon","spinner"),cz=hn("avatar").parts("label","badge","container").extend("excessLabel","group"),fz=hn("breadcrumb").parts("link","item","container").extend("separator");hn("button").parts();var dz=hn("checkbox").parts("control","icon","container").extend("label");hn("progress").parts("track","filledTrack").extend("label");var pz=hn("drawer").parts("overlay","dialogContainer","dialog").extend("header","closeButton","body","footer"),hz=hn("editable").parts("preview","input","textarea"),vz=hn("form").parts("container","requiredIndicator","helperText"),mz=hn("formError").parts("text","icon"),gz=hn("input").parts("addon","field","element","group"),yz=hn("list").parts("container","item","icon"),bz=hn("menu").parts("button","list","item").extend("groupTitle","icon","command","divider"),Sz=hn("modal").parts("overlay","dialogContainer","dialog").extend("header","closeButton","body","footer"),xz=hn("numberinput").parts("root","field","stepperGroup","stepper");hn("pininput").parts("field");var Cz=hn("popover").parts("content","header","body","footer").extend("popper","arrow","closeButton"),wz=hn("progress").parts("label","filledTrack","track"),Ez=hn("radio").parts("container","control","label"),Tz=hn("select").parts("field","icon"),kz=hn("slider").parts("container","track","thumb","filledTrack","mark"),_z=hn("stat").parts("container","label","helpText","number","icon"),Rz=hn("switch").parts("container","track","thumb"),Dz=hn("table").parts("table","thead","tbody","tr","th","td","tfoot","caption"),Oz=hn("tabs").parts("root","tab","tablist","tabpanel","tabpanels","indicator"),Az=hn("tag").parts("container","label","closeButton"),Mz=hn("card").parts("container","header","body","footer");function Dc(t,r,i){return Math.min(Math.max(t,i),r)}class Pz extends Error{constructor(r){super(`Failed to parse color: "${r}"`)}}var Kh=Pz;function ex(t){if(typeof t!="string")throw new Kh(t);if(t.trim().toLowerCase()==="transparent")return[0,0,0,0];let r=t.trim();r=Vz.test(t)?Nz(t):t;const i=jz.exec(r);if(i){const p=Array.from(i).slice(1);return[...p.slice(0,3).map(g=>parseInt(Zh(g,2),16)),parseInt(Zh(p[3]||"f",2),16)/255]}const l=Fz.exec(r);if(l){const p=Array.from(l).slice(1);return[...p.slice(0,3).map(g=>parseInt(g,16)),parseInt(p[3]||"ff",16)/255]}const f=$z.exec(r);if(f){const p=Array.from(f).slice(1);return[...p.slice(0,3).map(g=>parseInt(g,10)),parseFloat(p[3]||"1")]}const h=Bz.exec(r);if(h){const[p,g,y,S]=Array.from(h).slice(1).map(parseFloat);if(Dc(0,100,g)!==g)throw new Kh(t);if(Dc(0,100,y)!==y)throw new Kh(t);return[...Iz(p,g,y),Number.isNaN(S)?1:S]}throw new Kh(t)}function Lz(t){let r=5381,i=t.length;for(;i;)r=r*33^t.charCodeAt(--i);return(r>>>0)%2341}const D_=t=>parseInt(t.replace(/_/g,""),36),zz="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((t,r)=>{const i=D_(r.substring(0,3)),l=D_(r.substring(3)).toString(16);let f="";for(let h=0;h<6-l.length;h++)f+="0";return t[i]=`${f}${l}`,t},{});function Nz(t){const r=t.toLowerCase().trim(),i=zz[Lz(r)];if(!i)throw new Kh(t);return`#${i}`}const Zh=(t,r)=>Array.from(Array(r)).map(()=>t).join(""),jz=new RegExp(`^#${Zh("([a-f0-9])",3)}([a-f0-9])?$`,"i"),Fz=new RegExp(`^#${Zh("([a-f0-9]{2})",3)}([a-f0-9]{2})?$`,"i"),$z=new RegExp(`^rgba?\\(\\s*(\\d+)\\s*${Zh(",\\s*(\\d+)\\s*",2)}(?:,\\s*([\\d.]+))?\\s*\\)$`,"i"),Bz=/^hsla?\(\s*([\d.]+)\s*,\s*([\d.]+)%\s*,\s*([\d.]+)%(?:\s*,\s*([\d.]+))?\s*\)$/i,Vz=/^[a-z]+$/i,O_=t=>Math.round(t*255),Iz=(t,r,i)=>{let l=i/100;if(r===0)return[l,l,l].map(O_);const f=(t%360+360)%360/60,h=(1-Math.abs(2*l-1))*(r/100),p=h*(1-Math.abs(f%2-1));let g=0,y=0,S=0;f>=0&&f<1?(g=h,y=p):f>=1&&f<2?(g=p,y=h):f>=2&&f<3?(y=h,S=p):f>=3&&f<4?(y=p,S=h):f>=4&&f<5?(g=p,S=h):f>=5&&f<6&&(g=h,S=p);const C=l-h/2,E=g+C,k=y+C,R=S+C;return[E,k,R].map(O_)};function Uz(t,r,i,l){return`rgba(${Dc(0,255,t).toFixed()}, ${Dc(0,255,r).toFixed()}, ${Dc(0,255,i).toFixed()}, ${parseFloat(Dc(0,1,l).toFixed(3))})`}function Hz(t,r){const[i,l,f,h]=ex(t);return Uz(i,l,f,h-r)}function Wz(t){const[r,i,l,f]=ex(t);let h=p=>{const g=Dc(0,255,p).toString(16);return g.length===1?`0${g}`:g};return`#${h(r)}${h(i)}${h(l)}${f<1?h(Math.round(f*255)):""}`}function Yz(t,r,i,l,f){for(r=r.split?r.split("."):r,l=0;l<r.length;l++)t=t?t[r[l]]:f;return t===f?i:t}var Gz=t=>Object.keys(t).length===0,Xa=(t,r,i)=>{const l=Yz(t,`colors.${r}`,r);try{return Wz(l),l}catch{return i??"#000000"}},qz=t=>{const[r,i,l]=ex(t);return(r*299+i*587+l*114)/1e3},Xz=t=>r=>{const i=Xa(r,t);return qz(i)<128?"dark":"light"},Qz=t=>r=>Xz(t)(r)==="dark",cd=(t,r)=>i=>{const l=Xa(i,t);return Hz(l,1-r)};function A_(t="1rem",r="rgba(255, 255, 255, 0.15)"){return{backgroundImage:`linear-gradient(
320
221
  45deg,
321
- `+t+` 25%,
222
+ ${r} 25%,
322
223
  transparent 25%,
323
224
  transparent 50%,
324
- `+t+` 50%,
325
- `+t+` 75%,
225
+ ${r} 50%,
226
+ ${r} 75%,
326
227
  transparent 75%,
327
228
  transparent
328
- )`,backgroundSize:e+" "+e}}function o6(e){var t=D1().toHexString();return!e||nC(e)?t:e.string&&e.colors?s6(e.string,e.colors):e.string&&!e.colors?l6(e.string):e.colors&&!e.string?u6(e.colors):t}function l6(e){var t=0;if(e.length===0)return t.toString();for(var r=0;r<e.length;r+=1)t=e.charCodeAt(r)+((t<<5)-t),t=t&t;for(var n="#",i=0;i<3;i+=1){var a=t>>i*8&255;n+=("00"+a.toString(16)).substr(-2)}return n}function s6(e,t){var r=0;if(e.length===0)return t[0];for(var n=0;n<e.length;n+=1)r=e.charCodeAt(n)+((r<<5)-r),r=r&r;return r=(r%t.length+t.length)%t.length,t[r]}function u6(e){return e[Math.floor(Math.random()*e.length)]}function I(e,t){return function(r){return r.colorMode==="dark"?t:e}}function Mo(e){var t=e.orientation,r=e.vertical,n=e.horizontal;return t?t==="vertical"?r:n:{}}function bp(){return bp=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},bp.apply(this,arguments)}var c6=function(t){return qm({condition:!0,message:["[chakra-ui]: createBreakpoints(...) will be deprecated pretty soon","simply pass the breakpoints as an object. Remove the createBreakpoint(..) call"].join("")}),bp({base:"0em"},t)};function W1(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function f6(e,t,r){return t&&W1(e.prototype,t),r&&W1(e,r),e}var d6=function(){function e(t){var r=this;this.map={},this.called=!1,this.assert=function(){if(!r.called){r.called=!0;return}throw new Error("[anatomy] .part(...) should only be called once. Did you mean to use .extend(...) ?")},this.parts=function(){r.assert();for(var n=arguments.length,i=new Array(n),a=0;a<n;a++)i[a]=arguments[a];for(var o=0,l=i;o<l.length;o++){var s=l[o];r.map[s]=r.toPart(s)}return r},this.extend=function(){for(var n=arguments.length,i=new Array(n),a=0;a<n;a++)i[a]=arguments[a];for(var o=0,l=i;o<l.length;o++){var s=l[o];s in r.map||(r.map[s]=r.toPart(s))}return r},this.toPart=function(n){var i=["container","root"].includes(n!=null?n:"")?[r.name]:[r.name,n],a=i.filter(Boolean).join("__"),o="chakra-"+a,l={className:o,selector:"."+o,toString:function(){return n}};return l},this.__type={}}return f6(e,[{key:"selectors",get:function(){var r=Gl(Object.entries(this.map).map(function(n){var i=n[0],a=n[1];return[i,a.selector]}));return r}},{key:"classNames",get:function(){var r=Gl(Object.entries(this.map).map(function(n){var i=n[0],a=n[1];return[i,a.className]}));return r}},{key:"keys",get:function(){return Object.keys(this.map)}}]),e}();function fe(e){return new d6(e)}function H1(e){return dt(e)&&e.reference?e.reference:String(e)}var fu=function(t){for(var r=arguments.length,n=new Array(r>1?r-1:0),i=1;i<r;i++)n[i-1]=arguments[i];return n.map(H1).join(" "+t+" ").replace(/calc/g,"")},U1=function(){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return"calc("+fu.apply(void 0,["+"].concat(r))+")"},G1=function(){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return"calc("+fu.apply(void 0,["-"].concat(r))+")"},xp=function(){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return"calc("+fu.apply(void 0,["*"].concat(r))+")"},Y1=function(){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return"calc("+fu.apply(void 0,["/"].concat(r))+")"},X1=function(t){var r=H1(t);return r!=null&&!Number.isNaN(parseFloat(r))?String(r).startsWith("-")?String(r).slice(1):"-"+r:xp(r,-1)},Pr=Object.assign(function(e){return{add:function(){for(var r=arguments.length,n=new Array(r),i=0;i<r;i++)n[i]=arguments[i];return Pr(U1.apply(void 0,[e].concat(n)))},subtract:function(){for(var r=arguments.length,n=new Array(r),i=0;i<r;i++)n[i]=arguments[i];return Pr(G1.apply(void 0,[e].concat(n)))},multiply:function(){for(var r=arguments.length,n=new Array(r),i=0;i<r;i++)n[i]=arguments[i];return Pr(xp.apply(void 0,[e].concat(n)))},divide:function(){for(var r=arguments.length,n=new Array(r),i=0;i<r;i++)n[i]=arguments[i];return Pr(Y1.apply(void 0,[e].concat(n)))},negate:function(){return Pr(X1(e))},toString:function(){return e.toString()}}},{add:U1,subtract:G1,multiply:xp,divide:Y1,negate:X1});function p6(e){return!Number.isInteger(parseFloat(e.toString()))}function v6(e,t){return t===void 0&&(t="-"),e.replace(/\s+/g,t)}function Z1(e){var t=v6(e.toString());return t.includes("\\.")?e:p6(e)?t.replace(".","\\."):e}function h6(e,t){return t===void 0&&(t=""),[t,Z1(e)].filter(Boolean).join("-")}function m6(e,t){return"var("+Z1(e)+(t?", "+t:"")+")"}function g6(e,t){return t===void 0&&(t=""),"--"+h6(e,t)}function kt(e,t){var r=g6(e,t==null?void 0:t.prefix);return{variable:r,reference:m6(r,y6(t==null?void 0:t.fallback))}}function y6(e){return typeof e=="string"?e:e==null?void 0:e.reference}var b6=fe("accordion").parts("root","container","button","panel").extend("icon"),x6=fe("alert").parts("title","description","container").extend("icon"),S6=fe("avatar").parts("label","badge","container").extend("excessLabel","group"),w6=fe("breadcrumb").parts("link","item","container").extend("separator");fe("button").parts();var C6=fe("checkbox").parts("control","icon","container").extend("label");fe("progress").parts("track","filledTrack").extend("label");var E6=fe("drawer").parts("overlay","dialogContainer","dialog").extend("header","closeButton","body","footer"),k6=fe("editable").parts("preview","input","textarea"),T6=fe("form").parts("container","requiredIndicator","helperText"),P6=fe("formError").parts("text","icon"),_6=fe("input").parts("addon","field","element"),O6=fe("list").parts("container","item","icon"),A6=fe("menu").parts("button","list","item").extend("groupTitle","command","divider"),M6=fe("modal").parts("overlay","dialogContainer","dialog").extend("header","closeButton","body","footer"),F6=fe("numberinput").parts("root","field","stepperGroup","stepper");fe("pininput").parts("field");var R6=fe("popover").parts("content","header","body","footer").extend("popper","arrow","closeButton"),I6=fe("progress").parts("label","filledTrack","track"),L6=fe("radio").parts("container","control","label"),B6=fe("select").parts("field","icon"),$6=fe("slider").parts("container","track","thumb","filledTrack"),D6=fe("stat").parts("container","label","helpText","number","icon"),z6=fe("switch").parts("container","track","thumb"),N6=fe("table").parts("table","thead","tbody","tr","th","td","tfoot","caption"),V6=fe("tabs").parts("root","tab","tablist","tabpanel","tabpanels","indicator"),j6=fe("tag").parts("container","label","closeButton"),K1={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:{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"}},W6={borderTopWidth:"1px",borderColor:"inherit",_last:{borderBottomWidth:"1px"}},H6={transitionProperty:"common",transitionDuration:"normal",fontSize:"1rem",_focus:{boxShadow:"outline"},_hover:{bg:"blackAlpha.50"},_disabled:{opacity:.4,cursor:"not-allowed"},px:4,py:2},U6={pt:2,px:4,pb:5},G6={fontSize:"1.25em"},Y6={root:{},container:W6,button:H6,panel:U6,icon:G6},X6={parts:b6.keys,baseStyle:Y6},Z6={container:{px:4,py:3},title:{fontWeight:"bold",lineHeight:6,marginEnd:2},description:{lineHeight:6},icon:{flexShrink:0,marginEnd:3,w:5,h:6}};function Sp(e){var t=e.theme,r=e.colorScheme,n=je(t,r+".100",r),i=Ui(r+".200",.16)(t);return I(n,i)(e)}var K6=function(t){var r=t.colorScheme;return{container:{bg:Sp(t)},icon:{color:I(r+".500",r+".200")(t)}}},q6=function(t){var r=t.colorScheme;return{container:{paddingStart:3,borderStartWidth:"4px",borderStartColor:I(r+".500",r+".200")(t),bg:Sp(t)},icon:{color:I(r+".500",r+".200")(t)}}},Q6=function(t){var r=t.colorScheme;return{container:{pt:2,borderTopWidth:"4px",borderTopColor:I(r+".500",r+".200")(t),bg:Sp(t)},icon:{color:I(r+".500",r+".200")(t)}}},J6=function(t){var r=t.colorScheme;return{container:{bg:I(r+".500",r+".200")(t),color:I("white","gray.900")(t)}}},eT={subtle:K6,"left-accent":q6,"top-accent":Q6,solid:J6},tT={variant:"subtle",colorScheme:"blue"},rT={parts:x6.keys,baseStyle:Z6,variants:eT,defaultProps:tT},nT=function(t){return{transform:"translate(25%, 25%)",borderRadius:"full",border:"0.2em solid",borderColor:I("white","gray.800")(t)}},iT=function(t){return{bg:I("gray.200","whiteAlpha.400")(t)}},aT=function(t){var r=t.name,n=t.theme,i=r?o6({string:r}):"gray.400",a=a6(i)(n),o="white";a||(o="gray.800");var l=I("white","gray.800")(t);return{bg:i,color:o,borderColor:l,verticalAlign:"top"}},oT=function(t){return{badge:nT(t),excessLabel:iT(t),container:aT(t)}};function fn(e){var t=F1[e];return{container:{width:e,height:e,fontSize:"calc("+(t!=null?t:e)+" / 2.5)"},excessLabel:{width:e,height:e},label:{fontSize:"calc("+(t!=null?t:e)+" / 2.5)",lineHeight:e!=="100%"?t!=null?t:e:void 0}}}var lT={"2xs":fn("4"),xs:fn("6"),sm:fn("8"),md:fn("12"),lg:fn("16"),xl:fn("24"),"2xl":fn("32"),full:fn("100%")},sT={size:"md"},uT={parts:S6.keys,baseStyle:oT,sizes:lT,defaultProps:sT},cT={px:1,textTransform:"uppercase",fontSize:"xs",borderRadius:"sm",fontWeight:"bold"},fT=function(t){var r=t.colorScheme,n=t.theme,i=Ui(r+".500",.6)(n);return{bg:I(r+".500",i)(t),color:I("white","whiteAlpha.800")(t)}},dT=function(t){var r=t.colorScheme,n=t.theme,i=Ui(r+".200",.16)(n);return{bg:I(r+".100",i)(t),color:I(r+".800",r+".200")(t)}},pT=function(t){var r=t.colorScheme,n=t.theme,i=Ui(r+".200",.8)(n),a=je(n,r+".500"),o=I(a,i)(t);return{color:o,boxShadow:"inset 0 0 0px 1px "+o}},vT={solid:fT,subtle:dT,outline:pT},hT={variant:"subtle",colorScheme:"gray"},Gi={baseStyle:cT,variants:vT,defaultProps:hT},mT={transitionProperty:"common",transitionDuration:"fast",transitionTimingFunction:"ease-out",cursor:"pointer",textDecoration:"none",outline:"none",color:"inherit",_hover:{textDecoration:"underline"},_focus:{boxShadow:"outline"}},gT={link:mT},yT={parts:w6.keys,baseStyle:gT},bT={lineHeight:"1.2",borderRadius:"md",fontWeight:"semibold",transitionProperty:"common",transitionDuration:"normal",_focus:{boxShadow:"outline"},_disabled:{opacity:.4,cursor:"not-allowed",boxShadow:"none"},_hover:{_disabled:{bg:"initial"}}},q1=function(t){var r=t.colorScheme,n=t.theme;if(r==="gray")return{color:I("inherit","whiteAlpha.900")(t),_hover:{bg:I("gray.100","whiteAlpha.200")(t)},_active:{bg:I("gray.200","whiteAlpha.300")(t)}};var i=Ui(r+".200",.12)(n),a=Ui(r+".200",.24)(n);return{color:I(r+".600",r+".200")(t),bg:"transparent",_hover:{bg:I(r+".50",i)(t)},_active:{bg:I(r+".100",a)(t)}}},xT=function(t){var r=t.colorScheme,n=I("gray.200","whiteAlpha.300")(t);return De({border:"1px solid",borderColor:r==="gray"?n:"currentColor"},q1(t))},ST={yellow:{bg:"yellow.400",color:"black",hoverBg:"yellow.500",activeBg:"yellow.600"},cyan:{bg:"cyan.400",color:"black",hoverBg:"cyan.500",activeBg:"cyan.600"}},wT=function(t){var r,n=t.colorScheme;if(n==="gray"){var i=I("gray.100","whiteAlpha.200")(t);return{bg:i,_hover:{bg:I("gray.200","whiteAlpha.300")(t),_disabled:{bg:i}},_active:{bg:I("gray.300","whiteAlpha.400")(t)}}}var a=(r=ST[n])!=null?r:{},o=a.bg,l=o===void 0?n+".500":o,s=a.color,u=s===void 0?"white":s,c=a.hoverBg,d=c===void 0?n+".600":c,f=a.activeBg,p=f===void 0?n+".700":f,h=I(l,n+".200")(t);return{bg:h,color:I(u,"gray.800")(t),_hover:{bg:I(d,n+".300")(t),_disabled:{bg:h}},_active:{bg:I(p,n+".400")(t)}}},CT=function(t){var r=t.colorScheme;return{padding:0,height:"auto",lineHeight:"normal",verticalAlign:"baseline",color:I(r+".500",r+".200")(t),_hover:{textDecoration:"underline",_disabled:{textDecoration:"none"}},_active:{color:I(r+".700",r+".500")(t)}}},ET={bg:"none",color:"inherit",display:"inline",lineHeight:"inherit",m:0,p:0},kT={ghost:q1,outline:xT,solid:wT,link:CT,unstyled:ET},TT={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}},PT={variant:"solid",size:"md",colorScheme:"gray"},_T={baseStyle:bT,variants:kT,sizes:TT,defaultProps:PT},OT=function(t){var r=t.colorScheme;return{w:"100%",transitionProperty:"box-shadow",transitionDuration:"normal",border:"2px solid",borderRadius:"sm",borderColor:"inherit",color:"white",_checked:{bg:I(r+".500",r+".200")(t),borderColor:I(r+".500",r+".200")(t),color:I("white","gray.900")(t),_hover:{bg:I(r+".600",r+".300")(t),borderColor:I(r+".600",r+".300")(t)},_disabled:{borderColor:I("gray.200","transparent")(t),bg:I("gray.200","whiteAlpha.300")(t),color:I("gray.500","whiteAlpha.500")(t)}},_indeterminate:{bg:I(r+".500",r+".200")(t),borderColor:I(r+".500",r+".200")(t),color:I("white","gray.900")(t)},_disabled:{bg:I("gray.100","whiteAlpha.100")(t),borderColor:I("gray.100","transparent")(t)},_focus:{boxShadow:"outline"},_invalid:{borderColor:I("red.500","red.300")(t)}}},AT={_disabled:{cursor:"not-allowed"}},MT={userSelect:"none",_disabled:{opacity:.4}},FT={transitionProperty:"transform",transitionDuration:"normal"},RT=function(t){return{icon:FT,container:AT,control:OT(t),label:MT}},IT={sm:{control:{h:3,w:3},label:{fontSize:"sm"},icon:{fontSize:"0.45rem"}},md:{control:{w:4,h:4},label:{fontSize:"md"},icon:{fontSize:"0.625rem"}},lg:{control:{w:5,h:5},label:{fontSize:"lg"},icon:{fontSize:"0.625rem"}}},LT={size:"md",colorScheme:"blue"},du={parts:C6.keys,baseStyle:RT,sizes:IT,defaultProps:LT},pu,vu,hu,Fo=kt("close-button-size"),BT=function(t){var r=I("blackAlpha.100","whiteAlpha.100")(t),n=I("blackAlpha.200","whiteAlpha.200")(t);return{w:[Fo.reference],h:[Fo.reference],borderRadius:"md",transitionProperty:"common",transitionDuration:"normal",_disabled:{opacity:.4,cursor:"not-allowed",boxShadow:"none"},_hover:{bg:r},_active:{bg:n},_focus:{boxShadow:"outline"}}},$T={lg:(pu={},pu[Fo.variable]="40px",pu.fontSize="16px",pu),md:(vu={},vu[Fo.variable]="32px",vu.fontSize="12px",vu),sm:(hu={},hu[Fo.variable]="24px",hu.fontSize="10px",hu)},DT={size:"md"},zT={baseStyle:BT,sizes:$T,defaultProps:DT},NT=Gi.variants,VT=Gi.defaultProps,jT={fontFamily:"mono",fontSize:"sm",px:"0.2em",borderRadius:"sm"},WT={baseStyle:jT,variants:NT,defaultProps:VT},HT={w:"100%",mx:"auto",maxW:"60ch",px:"1rem"},UT={baseStyle:HT},GT={opacity:.6,borderColor:"inherit"},YT={borderStyle:"solid"},XT={borderStyle:"dashed"},ZT={solid:YT,dashed:XT},KT={variant:"solid"},qT={baseStyle:GT,variants:ZT,defaultProps:KT};function Yi(e){return e==="full"?{dialog:{maxW:"100vw",h:"100vh"}}:{dialog:{maxW:e}}}var QT={bg:"blackAlpha.600",zIndex:"overlay"},JT={display:"flex",zIndex:"modal",justifyContent:"center"},eP=function(t){var r=t.isFullHeight;return De({},r&&{height:"100vh"},{zIndex:"modal",maxH:"100vh",bg:I("white","gray.700")(t),color:"inherit",boxShadow:I("lg","dark-lg")(t)})},tP={px:6,py:4,fontSize:"xl",fontWeight:"semibold"},rP={position:"absolute",top:2,insetEnd:3},nP={px:6,py:2,flex:1,overflow:"auto"},iP={px:6,py:4},aP=function(t){return{overlay:QT,dialogContainer:JT,dialog:eP(t),header:tP,closeButton:rP,body:nP,footer:iP}},oP={xs:Yi("xs"),sm:Yi("md"),md:Yi("lg"),lg:Yi("2xl"),xl:Yi("4xl"),full:Yi("full")},lP={size:"xs"},sP={parts:E6.keys,baseStyle:aP,sizes:oP,defaultProps:lP},uP={borderRadius:"md",py:"3px",transitionProperty:"common",transitionDuration:"normal"},cP={borderRadius:"md",py:"3px",transitionProperty:"common",transitionDuration:"normal",width:"full",_focus:{boxShadow:"outline"},_placeholder:{opacity:.6}},fP={borderRadius:"md",py:"3px",transitionProperty:"common",transitionDuration:"normal",width:"full",_focus:{boxShadow:"outline"},_placeholder:{opacity:.6}},dP={preview:uP,input:cP,textarea:fP},pP={parts:k6.keys,baseStyle:dP},vP=function(t){return{marginStart:1,color:I("red.500","red.300")(t)}},hP=function(t){return{mt:2,color:I("gray.500","whiteAlpha.600")(t),lineHeight:"normal",fontSize:"sm"}},mP=function(t){return{container:{width:"100%",position:"relative"},requiredIndicator:vP(t),helperText:hP(t)}},gP={parts:T6.keys,baseStyle:mP},yP=function(t){return{color:I("red.500","red.300")(t),mt:2,fontSize:"sm",lineHeight:"normal"}},bP=function(t){return{marginEnd:"0.5em",color:I("red.500","red.300")(t)}},xP=function(t){return{text:yP(t),icon:bP(t)}},SP={parts:P6.keys,baseStyle:xP},wP={fontSize:"md",marginEnd:3,mb:2,fontWeight:"medium",transitionProperty:"common",transitionDuration:"normal",opacity:1,_disabled:{opacity:.4}},CP={baseStyle:wP},EP={fontFamily:"heading",fontWeight:"bold"},kP={"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}},TP={size:"xl"},PP={baseStyle:EP,sizes:kP,defaultProps:TP},_P={field:{width:"100%",minWidth:0,outline:0,position:"relative",appearance:"none",transitionProperty:"common",transitionDuration:"normal"}},dn={lg:{fontSize:"lg",px:4,h:12,borderRadius:"md"},md:{fontSize:"md",px:4,h:10,borderRadius:"md"},sm:{fontSize:"sm",px:3,h:8,borderRadius:"sm"},xs:{fontSize:"xs",px:2,h:6,borderRadius:"sm"}},OP={lg:{field:dn.lg,addon:dn.lg},md:{field:dn.md,addon:dn.md},sm:{field:dn.sm,addon:dn.sm},xs:{field:dn.xs,addon:dn.xs}};function wp(e){var t=e.focusBorderColor,r=e.errorBorderColor;return{focusBorderColor:t||I("blue.500","blue.300")(e),errorBorderColor:r||I("red.500","red.300")(e)}}var AP=function(t){var r=t.theme,n=wp(t),i=n.focusBorderColor,a=n.errorBorderColor;return{field:{border:"1px solid",borderColor:"inherit",bg:"inherit",_hover:{borderColor:I("gray.300","whiteAlpha.400")(t)},_readOnly:{boxShadow:"none !important",userSelect:"all"},_disabled:{opacity:.4,cursor:"not-allowed"},_invalid:{borderColor:je(r,a),boxShadow:"0 0 0 1px "+je(r,a)},_focus:{zIndex:1,borderColor:je(r,i),boxShadow:"0 0 0 1px "+je(r,i)}},addon:{border:"1px solid",borderColor:I("inherit","whiteAlpha.50")(t),bg:I("gray.100","whiteAlpha.300")(t)}}},MP=function(t){var r=t.theme,n=wp(t),i=n.focusBorderColor,a=n.errorBorderColor;return{field:{border:"2px solid",borderColor:"transparent",bg:I("gray.100","whiteAlpha.50")(t),_hover:{bg:I("gray.200","whiteAlpha.100")(t)},_readOnly:{boxShadow:"none !important",userSelect:"all"},_disabled:{opacity:.4,cursor:"not-allowed"},_invalid:{borderColor:je(r,a)},_focus:{bg:"transparent",borderColor:je(r,i)}},addon:{border:"2px solid",borderColor:"transparent",bg:I("gray.100","whiteAlpha.50")(t)}}},FP=function(t){var r=t.theme,n=wp(t),i=n.focusBorderColor,a=n.errorBorderColor;return{field:{borderBottom:"1px solid",borderColor:"inherit",borderRadius:0,px:0,bg:"transparent",_readOnly:{boxShadow:"none !important",userSelect:"all"},_invalid:{borderColor:je(r,a),boxShadow:"0px 1px 0px 0px "+je(r,a)},_focus:{borderColor:je(r,i),boxShadow:"0px 1px 0px 0px "+je(r,i)}},addon:{borderBottom:"2px solid",borderColor:"inherit",borderRadius:0,px:0,bg:"transparent"}}},RP={field:{bg:"transparent",px:0,height:"auto"},addon:{bg:"transparent",px:0,height:"auto"}},IP={outline:AP,filled:MP,flushed:FP,unstyled:RP},LP={size:"md",variant:"outline"},Pe={parts:_6.keys,baseStyle:_P,sizes:OP,variants:IP,defaultProps:LP},BP=function(t){return{bg:I("gray.100","whiteAlpha")(t),borderRadius:"md",borderWidth:"1px",borderBottomWidth:"3px",fontSize:"0.8em",fontWeight:"bold",lineHeight:"normal",px:"0.4em",whiteSpace:"nowrap"}},$P={baseStyle:BP},DP={transitionProperty:"common",transitionDuration:"fast",transitionTimingFunction:"ease-out",cursor:"pointer",textDecoration:"none",outline:"none",color:"inherit",_hover:{textDecoration:"underline"},_focus:{boxShadow:"outline"}},zP={baseStyle:DP},NP={marginEnd:"0.5rem",display:"inline",verticalAlign:"text-bottom"},VP={container:{},item:{},icon:NP},jP={parts:O6.keys,baseStyle:VP},WP=function(t){return{bg:I("#fff","gray.700")(t),boxShadow:I("sm","dark-lg")(t),color:"inherit",minW:"3xs",py:"2",zIndex:1,borderRadius:"md",borderWidth:"1px"}},HP=function(t){return{py:"0.4rem",px:"0.8rem",transitionProperty:"background",transitionDuration:"ultra-fast",transitionTimingFunction:"ease-in",_focus:{bg:I("gray.100","whiteAlpha.100")(t)},_active:{bg:I("gray.200","whiteAlpha.200")(t)},_expanded:{bg:I("gray.100","whiteAlpha.100")(t)},_disabled:{opacity:.4,cursor:"not-allowed"}}},UP={mx:4,my:2,fontWeight:"semibold",fontSize:"sm"},GP={opacity:.6},YP={border:0,borderBottom:"1px solid",borderColor:"inherit",my:"0.5rem",opacity:.6},XP={transitionProperty:"common",transitionDuration:"normal"},ZP=function(t){return{button:XP,list:WP(t),item:HP(t),groupTitle:UP,command:GP,divider:YP}},KP={parts:A6.keys,baseStyle:ZP},qP={bg:"blackAlpha.600",zIndex:"modal"},QP=function(t){var r=t.isCentered,n=t.scrollBehavior;return{display:"flex",zIndex:"modal",justifyContent:"center",alignItems:r?"center":"flex-start",overflow:n==="inside"?"hidden":"auto"}},JP=function(t){var r=t.scrollBehavior;return{borderRadius:"md",bg:I("white","gray.700")(t),color:"inherit",my:"3.75rem",zIndex:"modal",maxH:r==="inside"?"calc(100% - 7.5rem)":void 0,boxShadow:I("lg","dark-lg")(t)}},e8={px:6,py:4,fontSize:"xl",fontWeight:"semibold"},t8={position:"absolute",top:2,insetEnd:3},r8=function(t){var r=t.scrollBehavior;return{px:6,py:2,flex:1,overflow:r==="inside"?"auto":void 0}},n8={px:6,py:4},i8=function(t){return{overlay:qP,dialogContainer:QP(t),dialog:JP(t),header:e8,closeButton:t8,body:r8(t),footer:n8}};function qt(e){return e==="full"?{dialog:{maxW:"100vw",minH:"100vh","@supports(min-height: -webkit-fill-available)":{minH:"-webkit-fill-available"},my:0}}:{dialog:{maxW:e}}}var a8={xs:qt("xs"),sm:qt("sm"),md:qt("md"),lg:qt("lg"),xl:qt("xl"),"2xl":qt("2xl"),"3xl":qt("3xl"),"4xl":qt("4xl"),"5xl":qt("5xl"),"6xl":qt("6xl"),full:qt("full")},o8={size:"md"},l8={parts:M6.keys,baseStyle:i8,sizes:a8,defaultProps:o8},mu,Q1,J1,s8=Pe.variants,u8=Pe.defaultProps,Cp=kt("number-input-stepper-width"),eb=kt("number-input-input-padding"),c8=Pr(Cp).add("0.5rem").toString(),f8=(mu={},mu[Cp.variable]="24px",mu[eb.variable]=c8,mu),d8=(Q1=(J1=Pe.baseStyle)==null?void 0:J1.field)!=null?Q1:{},p8={width:[Cp.reference]},v8=function(t){return{borderStart:"1px solid",borderStartColor:I("inherit","whiteAlpha.300")(t),color:I("inherit","whiteAlpha.800")(t),_active:{bg:I("gray.200","whiteAlpha.300")(t)},_disabled:{opacity:.4,cursor:"not-allowed"}}},h8=function(t){return{root:f8,field:d8,stepperGroup:p8,stepper:v8(t)}};function gu(e){var t,r,n=Pe.sizes[e],i={lg:"md",md:"md",sm:"sm",xs:"sm"},a=(t=(r=n.field)==null?void 0:r.fontSize)!=null?t:"md",o=K1.fontSizes[a.toString()];return{field:De({},n.field,{paddingInlineEnd:eb.reference,verticalAlign:"top"}),stepper:{fontSize:Pr(o).multiply(.75).toString(),_first:{borderTopEndRadius:i[e]},_last:{borderBottomEndRadius:i[e],mt:"-1px",borderTopWidth:1}}}}var m8={xs:gu("xs"),sm:gu("sm"),md:gu("md"),lg:gu("lg")},g8={parts:F6.keys,baseStyle:h8,sizes:m8,variants:s8,defaultProps:u8},tb,y8=De({},Pe.baseStyle.field,{textAlign:"center"}),b8={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"}},x8={outline:function(t){var r;return(r=Pe.variants.outline(t).field)!=null?r:{}},flushed:function(t){var r;return(r=Pe.variants.flushed(t).field)!=null?r:{}},filled:function(t){var r;return(r=Pe.variants.filled(t).field)!=null?r:{}},unstyled:(tb=Pe.variants.unstyled.field)!=null?tb:{}},S8=Pe.defaultProps,w8={baseStyle:y8,sizes:b8,variants:x8,defaultProps:S8},Ep=kt("popper-bg"),C8=kt("popper-arrow-bg"),E8=kt("popper-arrow-shadow-color"),k8={zIndex:10},T8=function(t){var r,n=I("white","gray.700")(t),i=I("gray.200","whiteAlpha.300")(t);return r={},r[Ep.variable]="colors."+n,r.bg=Ep.reference,r[C8.variable]=Ep.reference,r[E8.variable]="colors."+i,r.width="xs",r.border="1px solid",r.borderColor="inherit",r.borderRadius="md",r.boxShadow="sm",r.zIndex="inherit",r._focus={outline:0,boxShadow:"outline"},r},P8={px:3,py:2,borderBottomWidth:"1px"},_8={px:3,py:2},O8={px:3,py:2,borderTopWidth:"1px"},A8={position:"absolute",borderRadius:"md",top:1,insetEnd:2,padding:2},M8=function(t){return{popper:k8,content:T8(t),header:P8,body:_8,footer:O8,arrow:{},closeButton:A8}},F8={parts:R6.keys,baseStyle:M8};function R8(e){var t=e.colorScheme,r=e.theme,n=e.isIndeterminate,i=e.hasStripe,a=I(j1(),j1("1rem","rgba(0,0,0,0.1)"))(e),o=I(t+".500",t+".200")(e),l=`linear-gradient(
229
+ )`,backgroundSize:`${t} ${t}`}}var Kz=()=>`#${Math.floor(Math.random()*16777215).toString(16).padEnd(6,"0")}`;function Zz(t){const r=Kz();return!t||Gz(t)?r:t.string&&t.colors?eN(t.string,t.colors):t.string&&!t.colors?Jz(t.string):t.colors&&!t.string?tN(t.colors):r}function Jz(t){let r=0;if(t.length===0)return r.toString();for(let l=0;l<t.length;l+=1)r=t.charCodeAt(l)+((r<<5)-r),r=r&r;let i="#";for(let l=0;l<3;l+=1){const f=r>>l*8&255;i+=`00${f.toString(16)}`.substr(-2)}return i}function eN(t,r){let i=0;if(t.length===0)return r[0];for(let l=0;l<t.length;l+=1)i=t.charCodeAt(l)+((i<<5)-i),i=i&i;return i=(i%r.length+r.length)%r.length,r[i]}function tN(t){return t[Math.floor(Math.random()*t.length)]}function mt(t,r){return i=>i.colorMode==="dark"?r:t}function tx(t){const{orientation:r,vertical:i,horizontal:l}=t;return r?r==="vertical"?i:l:{}}function M_(t){return fs(t)&&t.reference?t.reference:String(t)}var gy=(t,...r)=>r.map(M_).join(` ${t} `).replace(/calc/g,""),P_=(...t)=>`calc(${gy("+",...t)})`,L_=(...t)=>`calc(${gy("-",...t)})`,nx=(...t)=>`calc(${gy("*",...t)})`,z_=(...t)=>`calc(${gy("/",...t)})`,N_=t=>{const r=M_(t);return r!=null&&!Number.isNaN(parseFloat(r))?String(r).startsWith("-")?String(r).slice(1):`-${r}`:nx(r,-1)},ol=Object.assign(t=>({add:(...r)=>ol(P_(t,...r)),subtract:(...r)=>ol(L_(t,...r)),multiply:(...r)=>ol(nx(t,...r)),divide:(...r)=>ol(z_(t,...r)),negate:()=>ol(N_(t)),toString:()=>t.toString()}),{add:P_,subtract:L_,multiply:nx,divide:z_,negate:N_});function nN(t){return!Number.isInteger(parseFloat(t.toString()))}function rN(t,r="-"){return t.replace(/\s+/g,r)}function j_(t){const r=rN(t.toString());return r.includes("\\.")?t:nN(t)?r.replace(".","\\."):t}function aN(t,r=""){return[r,j_(t)].filter(Boolean).join("-")}function iN(t,r){return`var(${j_(t)}${r?`, ${r}`:""})`}function oN(t,r=""){return`--${aN(t,r)}`}function zr(t,r){const i=oN(t,r==null?void 0:r.prefix);return{variable:i,reference:iN(i,sN(r==null?void 0:r.fallback))}}function sN(t){return typeof t=="string"?t:t==null?void 0:t.reference}var{defineMultiStyleConfig:lN,definePartsStyle:yy}=Fn(Rz.keys),Jh=zr("switch-track-width"),Oc=zr("switch-track-height"),rx=zr("switch-track-diff"),uN=ol.subtract(Jh,Oc),ax=zr("switch-thumb-x"),ev=zr("switch-bg"),cN=t=>{const{colorScheme:r}=t;return{borderRadius:"full",p:"0.5",width:[Jh.reference],height:[Oc.reference],transitionProperty:"common",transitionDuration:"fast",[ev.variable]:"colors.gray.300",_dark:{[ev.variable]:"colors.whiteAlpha.400"},_focusVisible:{boxShadow:"outline"},_disabled:{opacity:.4,cursor:"not-allowed"},_checked:{[ev.variable]:`colors.${r}.500`,_dark:{[ev.variable]:`colors.${r}.200`}},bg:ev.reference}},fN={bg:"white",transitionProperty:"transform",transitionDuration:"normal",borderRadius:"inherit",width:[Oc.reference],height:[Oc.reference],_checked:{transform:`translateX(${ax.reference})`}},dN=yy(t=>({container:{[rx.variable]:uN,[ax.variable]:rx.reference,_rtl:{[ax.variable]:ol(rx).negate().toString()}},track:cN(t),thumb:fN})),pN={sm:yy({container:{[Jh.variable]:"1.375rem",[Oc.variable]:"sizes.3"}}),md:yy({container:{[Jh.variable]:"1.875rem",[Oc.variable]:"sizes.4"}}),lg:yy({container:{[Jh.variable]:"2.875rem",[Oc.variable]:"sizes.6"}})},hN=lN({baseStyle:dN,sizes:pN,defaultProps:{size:"md",colorScheme:"blue"}}),{defineMultiStyleConfig:vN,definePartsStyle:fd}=Fn(Dz.keys),mN=fd({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"}}),by={"&[data-is-numeric=true]":{textAlign:"end"}},gN=fd(t=>{const{colorScheme:r}=t;return{th:{color:mt("gray.600","gray.400")(t),borderBottom:"1px",borderColor:mt(`${r}.100`,`${r}.700`)(t),...by},td:{borderBottom:"1px",borderColor:mt(`${r}.100`,`${r}.700`)(t),...by},caption:{color:mt("gray.600","gray.100")(t)},tfoot:{tr:{"&:last-of-type":{th:{borderBottomWidth:0}}}}}}),yN=fd(t=>{const{colorScheme:r}=t;return{th:{color:mt("gray.600","gray.400")(t),borderBottom:"1px",borderColor:mt(`${r}.100`,`${r}.700`)(t),...by},td:{borderBottom:"1px",borderColor:mt(`${r}.100`,`${r}.700`)(t),...by},caption:{color:mt("gray.600","gray.100")(t)},tbody:{tr:{"&:nth-of-type(odd)":{"th, td":{borderBottomWidth:"1px",borderColor:mt(`${r}.100`,`${r}.700`)(t)},td:{background:mt(`${r}.100`,`${r}.700`)(t)}}}},tfoot:{tr:{"&:last-of-type":{th:{borderBottomWidth:0}}}}}}),bN={simple:gN,striped:yN,unstyled:{}},SN={sm:fd({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:fd({th:{px:"6",py:"3",lineHeight:"4",fontSize:"xs"},td:{px:"6",py:"4",lineHeight:"5"},caption:{px:"6",py:"2",fontSize:"sm"}}),lg:fd({th:{px:"8",py:"4",lineHeight:"5",fontSize:"sm"},td:{px:"8",py:"5",lineHeight:"6"},caption:{px:"6",py:"2",fontSize:"md"}})},xN=vN({baseStyle:mN,variants:bN,sizes:SN,defaultProps:{variant:"simple",size:"md",colorScheme:"gray"}}),hi=gt("tabs-color"),_o=gt("tabs-bg"),Sy=gt("tabs-border-color"),{defineMultiStyleConfig:CN,definePartsStyle:hs}=Fn(Oz.keys),wN=t=>{const{orientation:r}=t;return{display:r==="vertical"?"flex":"block"}},EN=t=>{const{isFitted:r}=t;return{flex:r?1:void 0,transitionProperty:"common",transitionDuration:"normal",_focusVisible:{zIndex:1,boxShadow:"outline"},_disabled:{cursor:"not-allowed",opacity:.4}}},TN=t=>{const{align:r="start",orientation:i}=t;return{justifyContent:{end:"flex-end",center:"center",start:"flex-start"}[r],flexDirection:i==="vertical"?"column":"row"}},kN={p:4},_N=hs(t=>({root:wN(t),tab:EN(t),tablist:TN(t),tabpanel:kN})),RN={sm:hs({tab:{py:1,px:4,fontSize:"sm"}}),md:hs({tab:{fontSize:"md",py:2,px:4}}),lg:hs({tab:{fontSize:"lg",py:3,px:4}})},DN=hs(t=>{const{colorScheme:r,orientation:i}=t,l=i==="vertical",f=l?"borderStart":"borderBottom",h=l?"marginStart":"marginBottom";return{tablist:{[f]:"2px solid",borderColor:"inherit"},tab:{[f]:"2px solid",borderColor:"transparent",[h]:"-2px",_selected:{[hi.variable]:`colors.${r}.600`,_dark:{[hi.variable]:`colors.${r}.300`},borderColor:"currentColor"},_active:{[_o.variable]:"colors.gray.200",_dark:{[_o.variable]:"colors.whiteAlpha.300"}},_disabled:{_active:{bg:"none"}},color:hi.reference,bg:_o.reference}}}),ON=hs(t=>{const{colorScheme:r}=t;return{tab:{borderTopRadius:"md",border:"1px solid",borderColor:"transparent",mb:"-1px",[Sy.variable]:"transparent",_selected:{[hi.variable]:`colors.${r}.600`,[Sy.variable]:"colors.white",_dark:{[hi.variable]:`colors.${r}.300`,[Sy.variable]:"colors.gray.800"},borderColor:"inherit",borderBottomColor:Sy.reference},color:hi.reference},tablist:{mb:"-1px",borderBottom:"1px solid",borderColor:"inherit"}}}),AN=hs(t=>{const{colorScheme:r}=t;return{tab:{border:"1px solid",borderColor:"inherit",[_o.variable]:"colors.gray.50",_dark:{[_o.variable]:"colors.whiteAlpha.50"},mb:"-1px",_notLast:{marginEnd:"-1px"},_selected:{[_o.variable]:"colors.white",[hi.variable]:`colors.${r}.600`,_dark:{[_o.variable]:"colors.gray.800",[hi.variable]:`colors.${r}.300`},borderColor:"inherit",borderTopColor:"currentColor",borderBottomColor:"transparent"},color:hi.reference,bg:_o.reference},tablist:{mb:"-1px",borderBottom:"1px solid",borderColor:"inherit"}}}),MN=hs(t=>{const{colorScheme:r,theme:i}=t;return{tab:{borderRadius:"full",fontWeight:"semibold",color:"gray.600",_selected:{color:Xa(i,`${r}.700`),bg:Xa(i,`${r}.100`)}}}}),PN=hs(t=>{const{colorScheme:r}=t;return{tab:{borderRadius:"full",fontWeight:"semibold",[hi.variable]:"colors.gray.600",_dark:{[hi.variable]:"inherit"},_selected:{[hi.variable]:"colors.white",[_o.variable]:`colors.${r}.600`,_dark:{[hi.variable]:"colors.gray.800",[_o.variable]:`colors.${r}.300`}},color:hi.reference,bg:_o.reference}}}),LN=hs({}),zN={line:DN,enclosed:ON,"enclosed-colored":AN,"soft-rounded":MN,"solid-rounded":PN,unstyled:LN},NN=CN({baseStyle:_N,sizes:RN,variants:zN,defaultProps:{size:"md",variant:"line",colorScheme:"blue"}}),hr=pL("badge",["bg","color","shadow"]),jN={px:1,textTransform:"uppercase",fontSize:"xs",borderRadius:"sm",fontWeight:"bold",bg:hr.bg.reference,color:hr.color.reference,boxShadow:hr.shadow.reference},FN=t=>{const{colorScheme:r,theme:i}=t,l=cd(`${r}.500`,.6)(i);return{[hr.bg.variable]:`colors.${r}.500`,[hr.color.variable]:"colors.white",_dark:{[hr.bg.variable]:l,[hr.color.variable]:"colors.whiteAlpha.800"}}},$N=t=>{const{colorScheme:r,theme:i}=t,l=cd(`${r}.200`,.16)(i);return{[hr.bg.variable]:`colors.${r}.100`,[hr.color.variable]:`colors.${r}.800`,_dark:{[hr.bg.variable]:l,[hr.color.variable]:`colors.${r}.200`}}},BN=t=>{const{colorScheme:r,theme:i}=t,l=cd(`${r}.200`,.8)(i);return{[hr.color.variable]:`colors.${r}.500`,_dark:{[hr.color.variable]:l},[hr.shadow.variable]:`inset 0 0 0px 1px ${hr.color.reference}`}},VN={solid:FN,subtle:$N,outline:BN},tv={baseStyle:jN,variants:VN,defaultProps:{variant:"subtle",colorScheme:"gray"}},{defineMultiStyleConfig:IN,definePartsStyle:Ac}=Fn(Az.keys),F_=gt("tag-bg"),$_=gt("tag-color"),ix=gt("tag-shadow"),xy=gt("tag-min-height"),Cy=gt("tag-min-width"),wy=gt("tag-font-size"),Ey=gt("tag-padding-inline"),UN={fontWeight:"medium",lineHeight:1.2,outline:0,[$_.variable]:hr.color.reference,[F_.variable]:hr.bg.reference,[ix.variable]:hr.shadow.reference,color:$_.reference,bg:F_.reference,boxShadow:ix.reference,borderRadius:"md",minH:xy.reference,minW:Cy.reference,fontSize:wy.reference,px:Ey.reference,_focusVisible:{[ix.variable]:"shadows.outline"}},HN={lineHeight:1.2,overflow:"visible"},WN={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}},YN=Ac({container:UN,label:HN,closeButton:WN}),GN={sm:Ac({container:{[xy.variable]:"sizes.5",[Cy.variable]:"sizes.5",[wy.variable]:"fontSizes.xs",[Ey.variable]:"space.2"},closeButton:{marginEnd:"-2px",marginStart:"0.35rem"}}),md:Ac({container:{[xy.variable]:"sizes.6",[Cy.variable]:"sizes.6",[wy.variable]:"fontSizes.sm",[Ey.variable]:"space.2"}}),lg:Ac({container:{[xy.variable]:"sizes.8",[Cy.variable]:"sizes.8",[wy.variable]:"fontSizes.md",[Ey.variable]:"space.3"}})},qN={subtle:Ac(t=>{var r;return{container:(r=tv.variants)==null?void 0:r.subtle(t)}}),solid:Ac(t=>{var r;return{container:(r=tv.variants)==null?void 0:r.solid(t)}}),outline:Ac(t=>{var r;return{container:(r=tv.variants)==null?void 0:r.outline(t)}})},XN=IN({variants:qN,baseStyle:YN,sizes:GN,defaultProps:{size:"md",variant:"subtle",colorScheme:"gray"}}),{definePartsStyle:sl,defineMultiStyleConfig:QN}=Fn(gz.keys),dd=gt("input-height"),pd=gt("input-font-size"),hd=gt("input-padding"),vd=gt("input-border-radius"),KN=sl({addon:{height:dd.reference,fontSize:pd.reference,px:hd.reference,borderRadius:vd.reference},field:{width:"100%",height:dd.reference,fontSize:pd.reference,px:hd.reference,borderRadius:vd.reference,minWidth:0,outline:0,position:"relative",appearance:"none",transitionProperty:"common",transitionDuration:"normal",_disabled:{opacity:.4,cursor:"not-allowed"}}}),du={lg:{[pd.variable]:"fontSizes.lg",[hd.variable]:"space.4",[vd.variable]:"radii.md",[dd.variable]:"sizes.12"},md:{[pd.variable]:"fontSizes.md",[hd.variable]:"space.4",[vd.variable]:"radii.md",[dd.variable]:"sizes.10"},sm:{[pd.variable]:"fontSizes.sm",[hd.variable]:"space.3",[vd.variable]:"radii.sm",[dd.variable]:"sizes.8"},xs:{[pd.variable]:"fontSizes.xs",[hd.variable]:"space.2",[vd.variable]:"radii.sm",[dd.variable]:"sizes.6"}},ZN={lg:sl({field:du.lg,group:du.lg}),md:sl({field:du.md,group:du.md}),sm:sl({field:du.sm,group:du.sm}),xs:sl({field:du.xs,group:du.xs})};function ox(t){const{focusBorderColor:r,errorBorderColor:i}=t;return{focusBorderColor:r||mt("blue.500","blue.300")(t),errorBorderColor:i||mt("red.500","red.300")(t)}}var JN=sl(t=>{const{theme:r}=t,{focusBorderColor:i,errorBorderColor:l}=ox(t);return{field:{border:"1px solid",borderColor:"inherit",bg:"inherit",_hover:{borderColor:mt("gray.300","whiteAlpha.400")(t)},_readOnly:{boxShadow:"none !important",userSelect:"all"},_invalid:{borderColor:Xa(r,l),boxShadow:`0 0 0 1px ${Xa(r,l)}`},_focusVisible:{zIndex:1,borderColor:Xa(r,i),boxShadow:`0 0 0 1px ${Xa(r,i)}`}},addon:{border:"1px solid",borderColor:mt("inherit","whiteAlpha.50")(t),bg:mt("gray.100","whiteAlpha.300")(t)}}}),ej=sl(t=>{const{theme:r}=t,{focusBorderColor:i,errorBorderColor:l}=ox(t);return{field:{border:"2px solid",borderColor:"transparent",bg:mt("gray.100","whiteAlpha.50")(t),_hover:{bg:mt("gray.200","whiteAlpha.100")(t)},_readOnly:{boxShadow:"none !important",userSelect:"all"},_invalid:{borderColor:Xa(r,l)},_focusVisible:{bg:"transparent",borderColor:Xa(r,i)}},addon:{border:"2px solid",borderColor:"transparent",bg:mt("gray.100","whiteAlpha.50")(t)}}}),tj=sl(t=>{const{theme:r}=t,{focusBorderColor:i,errorBorderColor:l}=ox(t);return{field:{borderBottom:"1px solid",borderColor:"inherit",borderRadius:"0",px:"0",bg:"transparent",_readOnly:{boxShadow:"none !important",userSelect:"all"},_invalid:{borderColor:Xa(r,l),boxShadow:`0px 1px 0px 0px ${Xa(r,l)}`},_focusVisible:{borderColor:Xa(r,i),boxShadow:`0px 1px 0px 0px ${Xa(r,i)}`}},addon:{borderBottom:"2px solid",borderColor:"inherit",borderRadius:"0",px:"0",bg:"transparent"}}}),nj=sl({field:{bg:"transparent",px:"0",height:"auto"},addon:{bg:"transparent",px:"0",height:"auto"}}),rj={outline:JN,filled:ej,flushed:tj,unstyled:nj},un=QN({baseStyle:KN,sizes:ZN,variants:rj,defaultProps:{size:"md",variant:"outline"}}),B_,aj={...(B_=un.baseStyle)==null?void 0:B_.field,paddingY:"2",minHeight:"20",lineHeight:"short",verticalAlign:"top"},V_,I_,ij={outline:t=>{var r,i;return(i=(r=un.variants)==null?void 0:r.outline(t).field)!=null?i:{}},flushed:t=>{var r,i;return(i=(r=un.variants)==null?void 0:r.flushed(t).field)!=null?i:{}},filled:t=>{var r,i;return(i=(r=un.variants)==null?void 0:r.filled(t).field)!=null?i:{}},unstyled:(I_=(V_=un.variants)==null?void 0:V_.unstyled.field)!=null?I_:{}},U_,H_,W_,Y_,G_,q_,X_,Q_,oj={xs:(H_=(U_=un.sizes)==null?void 0:U_.xs.field)!=null?H_:{},sm:(Y_=(W_=un.sizes)==null?void 0:W_.sm.field)!=null?Y_:{},md:(q_=(G_=un.sizes)==null?void 0:G_.md.field)!=null?q_:{},lg:(Q_=(X_=un.sizes)==null?void 0:X_.lg.field)!=null?Q_:{}},sj={baseStyle:aj,sizes:oj,variants:ij,defaultProps:{size:"md",variant:"outline"}},Ty=zr("tooltip-bg"),sx=zr("tooltip-fg"),lj=zr("popper-arrow-bg"),uj={bg:Ty.reference,color:sx.reference,[Ty.variable]:"colors.gray.700",[sx.variable]:"colors.whiteAlpha.900",_dark:{[Ty.variable]:"colors.gray.300",[sx.variable]:"colors.gray.900"},[lj.variable]:Ty.reference,px:"2",py:"0.5",borderRadius:"sm",fontWeight:"medium",fontSize:"sm",boxShadow:"md",maxW:"xs",zIndex:"tooltip"},cj={baseStyle:uj},{defineMultiStyleConfig:fj,definePartsStyle:nv}=Fn(wz.keys),dj=t=>{const{colorScheme:r,theme:i,isIndeterminate:l,hasStripe:f}=t,h=mt(A_(),A_("1rem","rgba(0,0,0,0.1)"))(t),p=mt(`${r}.500`,`${r}.200`)(t),g=`linear-gradient(
329
230
  to right,
330
231
  transparent 0%,
331
- `+je(r,o)+` 50%,
232
+ ${Xa(i,p)} 50%,
332
233
  transparent 100%
333
- )`,s=!n&&i;return De({},s&&a,n?{bgImage:l}:{bgColor:o})}var I8={lineHeight:"1",fontSize:"0.25em",fontWeight:"bold",color:"white"},L8=function(t){return{bg:I("gray.100","whiteAlpha.300")(t)}},B8=function(t){return De({transitionProperty:"common",transitionDuration:"slow"},R8(t))},$8=function(t){return{label:I8,filledTrack:B8(t),track:L8(t)}},D8={xs:{track:{h:"0.25rem"}},sm:{track:{h:"0.5rem"}},md:{track:{h:"0.75rem"}},lg:{track:{h:"1rem"}}},z8={size:"md",colorScheme:"blue"},N8={parts:I6.keys,sizes:D8,baseStyle:$8,defaultProps:z8},V8=function(t){var r=du.baseStyle(t),n=r.control,i=n===void 0?{}:n;return De({},i,{borderRadius:"full",_checked:De({},i._checked,{_before:{content:'""',display:"inline-block",pos:"relative",w:"50%",h:"50%",borderRadius:"50%",bg:"currentColor"}})})},j8=function(t){return{label:du.baseStyle(t).label,container:du.baseStyle(t).container,control:V8(t)}},W8={md:{control:{w:4,h:4},label:{fontSize:"md"}},lg:{control:{w:5,h:5},label:{fontSize:"lg"}},sm:{control:{width:3,height:3},label:{fontSize:"sm"}}},H8={size:"md",colorScheme:"blue"},U8={parts:L6.keys,baseStyle:j8,sizes:W8,defaultProps:H8},G8=function(t){return De({},Pe.baseStyle.field,{bg:I("white","gray.700")(t),appearance:"none",paddingBottom:"1px",lineHeight:"normal","> option, > optgroup":{bg:I("white","gray.700")(t)}})},Y8={width:"1.5rem",height:"100%",insetEnd:"0.5rem",position:"relative",color:"currentColor",fontSize:"1.25rem",_disabled:{opacity:.5}},X8=function(t){return{field:G8(t),icon:Y8}},yu={paddingInlineEnd:"2rem"},Z8=Ot({},Pe.sizes,{lg:{field:yu},md:{field:yu},sm:{field:yu},xs:{field:yu,icon:{insetEnd:"0.25rem"}}}),K8={parts:B6.keys,baseStyle:X8,sizes:Z8,variants:Pe.variants,defaultProps:Pe.defaultProps},q8=function(t,r){return vi({from:{borderColor:t,background:t},to:{borderColor:r,background:r}})},Q8=function(t){var r=I("gray.100","gray.800")(t),n=I("gray.400","gray.600")(t),i=t.startColor,a=i===void 0?r:i,o=t.endColor,l=o===void 0?n:o,s=t.speed,u=t.theme,c=je(u,a),d=je(u,l);return{opacity:.7,borderRadius:"2px",borderColor:c,background:d,animation:s+"s linear infinite alternate "+q8(c,d)}},J8={baseStyle:Q8},e_=function(t){return{borderRadius:"md",fontWeight:"semibold",_focus:{boxShadow:"outline",padding:"1rem",position:"fixed",top:"1.5rem",insetStart:"1.5rem",bg:I("white","gray.700")(t)}}},t_={baseStyle:e_};function r_(e){return Mo({orientation:e.orientation,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)"}}})}var n_=function(t){var r=t.orientation;return De({display:"inline-block",position:"relative",cursor:"pointer",_disabled:{opacity:.6,cursor:"default",pointerEvents:"none"}},Mo({orientation:r,vertical:{h:"100%"},horizontal:{w:"100%"}}))},i_=function(t){return{overflow:"hidden",borderRadius:"sm",bg:I("gray.200","whiteAlpha.200")(t),_disabled:{bg:I("gray.300","whiteAlpha.300")(t)}}},a_=function(t){return De({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",_focus:{boxShadow:"outline"},_disabled:{bg:"gray.300"}},r_(t))},o_=function(t){var r=t.colorScheme;return{width:"inherit",height:"inherit",bg:I(r+".500",r+".200")(t)}},l_=function(t){return{container:n_(t),track:i_(t),thumb:a_(t),filledTrack:o_(t)}},s_=function(t){return{thumb:{w:"16px",h:"16px"},track:Mo({orientation:t.orientation,horizontal:{h:"4px"},vertical:{w:"4px"}})}},u_=function(t){return{thumb:{w:"14px",h:"14px"},track:Mo({orientation:t.orientation,horizontal:{h:"4px"},vertical:{w:"4px"}})}},c_=function(t){return{thumb:{w:"10px",h:"10px"},track:Mo({orientation:t.orientation,horizontal:{h:"2px"},vertical:{w:"2px"}})}},f_={lg:s_,md:u_,sm:c_},d_={size:"md",colorScheme:"blue"},p_={parts:$6.keys,sizes:f_,baseStyle:l_,defaultProps:d_},kp,Tp,Pp,_p,Op,Yn=kt("spinner-size"),v_={width:[Yn.reference],height:[Yn.reference]},h_={xs:(kp={},kp[Yn.variable]="0.75rem",kp),sm:(Tp={},Tp[Yn.variable]="1rem",Tp),md:(Pp={},Pp[Yn.variable]="1.5rem",Pp),lg:(_p={},_p[Yn.variable]="2rem",_p),xl:(Op={},Op[Yn.variable]="3rem",Op)},m_={size:"md"},g_={baseStyle:v_,sizes:h_,defaultProps:m_},y_={fontWeight:"medium"},b_={opacity:.8,marginBottom:2},x_={verticalAlign:"baseline",fontWeight:"semibold"},S_={marginEnd:1,w:"14px",h:"14px",verticalAlign:"middle"},w_={container:{},label:y_,helpText:b_,number:x_,icon:S_},C_={md:{label:{fontSize:"sm"},helpText:{fontSize:"sm"},number:{fontSize:"2xl"}}},E_={size:"md"},k_={parts:D6.keys,baseStyle:w_,sizes:C_,defaultProps:E_},bu,xu,Su,Ro=kt("switch-track-width"),Xn=kt("switch-track-height"),Ap=kt("switch-track-diff"),T_=Pr.subtract(Ro,Xn),Mp=kt("switch-thumb-x"),P_=function(t){var r=t.colorScheme;return{borderRadius:"full",p:"2px",width:[Ro.reference],height:[Xn.reference],transitionProperty:"common",transitionDuration:"fast",bg:I("gray.300","whiteAlpha.400")(t),_focus:{boxShadow:"outline"},_disabled:{opacity:.4,cursor:"not-allowed"},_checked:{bg:I(r+".500",r+".200")(t)}}},__={bg:"white",transitionProperty:"transform",transitionDuration:"normal",borderRadius:"inherit",width:[Xn.reference],height:[Xn.reference],_checked:{transform:"translateX("+Mp.reference+")"}},O_=function(t){var r,n;return{container:(n={},n[Ap.variable]=T_,n[Mp.variable]=Ap.reference,n._rtl=(r={},r[Mp.variable]=Pr(Ap).negate().toString(),r),n),track:P_(t),thumb:__}},A_={sm:{container:(bu={},bu[Ro.variable]="1.375rem",bu[Xn.variable]="0.75rem",bu)},md:{container:(xu={},xu[Ro.variable]="1.875rem",xu[Xn.variable]="1rem",xu)},lg:{container:(Su={},Su[Ro.variable]="2.875rem",Su[Xn.variable]="1.5rem",Su)}},M_={size:"md",colorScheme:"blue"},F_={parts:z6.keys,baseStyle:O_,sizes:A_,defaultProps:M_},R_={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"}},wu={"&[data-is-numeric=true]":{textAlign:"end"}},I_=function(t){var r=t.colorScheme;return{th:De({color:I("gray.600","gray.400")(t),borderBottom:"1px",borderColor:I(r+".100",r+".700")(t)},wu),td:De({borderBottom:"1px",borderColor:I(r+".100",r+".700")(t)},wu),caption:{color:I("gray.600","gray.100")(t)},tfoot:{tr:{"&:last-of-type":{th:{borderBottomWidth:0}}}}}},L_=function(t){var r=t.colorScheme;return{th:De({color:I("gray.600","gray.400")(t),borderBottom:"1px",borderColor:I(r+".100",r+".700")(t)},wu),td:De({borderBottom:"1px",borderColor:I(r+".100",r+".700")(t)},wu),caption:{color:I("gray.600","gray.100")(t)},tbody:{tr:{"&:nth-of-type(odd)":{"th, td":{borderBottomWidth:"1px",borderColor:I(r+".100",r+".700")(t)},td:{background:I(r+".100",r+".700")(t)}}}},tfoot:{tr:{"&:last-of-type":{th:{borderBottomWidth:0}}}}}},B_={simple:I_,striped:L_,unstyled:{}},$_={sm:{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:{th:{px:"6",py:"3",lineHeight:"4",fontSize:"xs"},td:{px:"6",py:"4",lineHeight:"5"},caption:{px:"6",py:"2",fontSize:"sm"}},lg:{th:{px:"8",py:"4",lineHeight:"5",fontSize:"sm"},td:{px:"8",py:"5",lineHeight:"6"},caption:{px:"6",py:"2",fontSize:"md"}}},D_={variant:"simple",size:"md",colorScheme:"gray"},z_={parts:N6.keys,baseStyle:R_,variants:B_,sizes:$_,defaultProps:D_},N_=function(t){var r=t.orientation;return{display:r==="vertical"?"flex":"block"}},V_=function(t){var r=t.isFitted;return{flex:r?1:void 0,transitionProperty:"common",transitionDuration:"normal",_focus:{zIndex:1,boxShadow:"outline"}}},j_=function(t){var r=t.align,n=r===void 0?"start":r,i=t.orientation,a={end:"flex-end",center:"center",start:"flex-start"};return{justifyContent:a[n],flexDirection:i==="vertical"?"column":"row"}},W_={p:4},H_=function(t){return{root:N_(t),tab:V_(t),tablist:j_(t),tabpanel:W_}},U_={sm:{tab:{py:1,px:4,fontSize:"sm"}},md:{tab:{fontSize:"md",py:2,px:4}},lg:{tab:{fontSize:"lg",py:3,px:4}}},G_=function(t){var r,n,i=t.colorScheme,a=t.orientation,o=a==="vertical",l=a==="vertical"?"borderStart":"borderBottom",s=o?"marginStart":"marginBottom";return{tablist:(r={},r[l]="2px solid",r.borderColor="inherit",r),tab:(n={},n[l]="2px solid",n.borderColor="transparent",n[s]="-2px",n._selected={color:I(i+".600",i+".300")(t),borderColor:"currentColor"},n._active={bg:I("gray.200","whiteAlpha.300")(t)},n._disabled={opacity:.4,cursor:"not-allowed"},n)}},Y_=function(t){var r=t.colorScheme;return{tab:{borderTopRadius:"md",border:"1px solid",borderColor:"transparent",mb:"-1px",_selected:{color:I(r+".600",r+".300")(t),borderColor:"inherit",borderBottomColor:I("white","gray.800")(t)}},tablist:{mb:"-1px",borderBottom:"1px solid",borderColor:"inherit"}}},X_=function(t){var r=t.colorScheme;return{tab:{border:"1px solid",borderColor:"inherit",bg:I("gray.50","whiteAlpha.50")(t),mb:"-1px",_notLast:{marginEnd:"-1px"},_selected:{bg:I("#fff","gray.800")(t),color:I(r+".600",r+".300")(t),borderColor:"inherit",borderTopColor:"currentColor",borderBottomColor:"transparent"}},tablist:{mb:"-1px",borderBottom:"1px solid",borderColor:"inherit"}}},Z_=function(t){var r=t.colorScheme,n=t.theme;return{tab:{borderRadius:"full",fontWeight:"semibold",color:"gray.600",_selected:{color:je(n,r+".700"),bg:je(n,r+".100")}}}},K_=function(t){var r=t.colorScheme;return{tab:{borderRadius:"full",fontWeight:"semibold",color:I("gray.600","inherit")(t),_selected:{color:I("#fff","gray.800")(t),bg:I(r+".600",r+".300")(t)}}}},q_={},Q_={line:G_,enclosed:Y_,"enclosed-colored":X_,"soft-rounded":Z_,"solid-rounded":K_,unstyled:q_},J_={size:"md",variant:"line",colorScheme:"blue"},e9={parts:V6.keys,baseStyle:H_,sizes:U_,variants:Q_,defaultProps:J_},t9={fontWeight:"medium",lineHeight:1.2,outline:0,_focus:{boxShadow:"outline"}},r9={lineHeight:1.2,overflow:"visible"},n9={fontSize:"18px",w:"1.25rem",h:"1.25rem",transitionProperty:"common",transitionDuration:"normal",borderRadius:"full",marginStart:"0.375rem",marginEnd:"-1",opacity:.5,_disabled:{opacity:.4},_focus:{boxShadow:"outline",bg:"rgba(0, 0, 0, 0.14)"},_hover:{opacity:.8},_active:{opacity:1}},i9={container:t9,label:r9,closeButton:n9},a9={sm:{container:{minH:"1.25rem",minW:"1.25rem",fontSize:"xs",px:2,borderRadius:"md"},closeButton:{marginEnd:"-2px",marginStart:"0.35rem"}},md:{container:{minH:"1.5rem",minW:"1.5rem",fontSize:"sm",borderRadius:"md",px:2}},lg:{container:{minH:8,minW:8,fontSize:"md",borderRadius:"md",px:3}}},o9={subtle:function(t){return{container:Gi.variants.subtle(t)}},solid:function(t){return{container:Gi.variants.solid(t)}},outline:function(t){return{container:Gi.variants.outline(t)}}},l9={size:"md",variant:"subtle",colorScheme:"gray"},s9={parts:j6.keys,variants:o9,baseStyle:i9,sizes:a9,defaultProps:l9},rb,nb,ib,ab,ob,u9=De({},Pe.baseStyle.field,{paddingY:"8px",minHeight:"80px",lineHeight:"short",verticalAlign:"top"}),c9={outline:function(t){var r;return(r=Pe.variants.outline(t).field)!=null?r:{}},flushed:function(t){var r;return(r=Pe.variants.flushed(t).field)!=null?r:{}},filled:function(t){var r;return(r=Pe.variants.filled(t).field)!=null?r:{}},unstyled:(rb=Pe.variants.unstyled.field)!=null?rb:{}},f9={xs:(nb=Pe.sizes.xs.field)!=null?nb:{},sm:(ib=Pe.sizes.sm.field)!=null?ib:{},md:(ab=Pe.sizes.md.field)!=null?ab:{},lg:(ob=Pe.sizes.lg.field)!=null?ob:{}},d9={size:"md",variant:"outline"},p9={baseStyle:u9,sizes:f9,variants:c9,defaultProps:d9},Fp=kt("tooltip-bg"),v9=kt("popper-arrow-bg"),h9=function(t){var r,n=I("gray.700","gray.300")(t);return r={},r[Fp.variable]="colors."+n,r.px="8px",r.py="2px",r.bg=[Fp.reference],r[v9.variable]=[Fp.reference],r.color=I("whiteAlpha.900","gray.900")(t),r.borderRadius="sm",r.fontWeight="medium",r.fontSize="sm",r.boxShadow="md",r.maxW="320px",r.zIndex="tooltip",r},m9={baseStyle:h9},g9=Object.freeze({__proto__:null,Accordion:X6,Alert:rT,Avatar:uT,Badge:Gi,Breadcrumb:yT,Button:_T,Checkbox:du,CloseButton:zT,Code:WT,Container:UT,Divider:qT,Drawer:sP,Editable:pP,Form:gP,FormError:SP,FormLabel:CP,Heading:PP,Input:Pe,Kbd:$P,Link:zP,List:jP,Menu:KP,Modal:l8,NumberInput:g8,PinInput:w8,Popover:F8,Progress:N8,Radio:U8,Select:K8,Skeleton:J8,SkipLink:t_,Slider:p_,Spinner:g_,Stat:k_,Switch:F_,Table:z_,Tabs:e9,Tag:s9,Textarea:p9,Tooltip:m9}),y9={none:0,"1px":"1px solid","2px":"2px solid","4px":"4px solid","8px":"8px solid"},b9=c6({sm:"30em",md:"48em",lg:"62em",xl:"80em","2xl":"96em"}),x9={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"}},S9={none:"0",sm:"0.125rem",base:"0.25rem",md:"0.375rem",lg:"0.5rem",xl:"0.75rem","2xl":"1rem","3xl":"1.5rem",full:"9999px"},w9={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"},C9={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"},E9={"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)"},k9={"ultra-fast":"50ms",faster:"100ms",fast:"150ms",normal:"200ms",slow:"300ms",slower:"400ms","ultra-slow":"500ms"},T9={property:C9,easing:E9,duration:k9},P9={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},_9={none:0,sm:"4px",base:"8px",md:"12px",lg:"16px",xl:"24px","2xl":"40px","3xl":"64px"},O9=De({breakpoints:b9,zIndices:P9,radii:S9,blur:_9,colors:x9},K1,{sizes:F1,shadows:w9,space:M1,borders:y9,transition:T9}),A9={global:function(t){return{body:{fontFamily:"body",color:I("gray.800","whiteAlpha.900")(t),bg:I("white","gray.800")(t),transitionProperty:"background-color",transitionDuration:"normal",lineHeight:"base"},"*::placeholder":{color:I("gray.400","whiteAlpha.400")(t)},"*, *::before, &::after":{borderColor:I("gray.200","whiteAlpha.300")(t),wordWrap:"break-word"}}}},M9=A9,F9=["borders","breakpoints","colors","components","config","direction","fonts","fontSizes","fontWeights","letterSpacings","lineHeights","radii","shadows","sizes","space","styles","transition","zIndices"];function R9(e){return dt(e)?F9.every(function(t){return Object.prototype.hasOwnProperty.call(e,t)}):!1}var I9="ltr",L9={useSystemColorMode:!1,initialColorMode:"light",cssVarPrefix:"chakra"},lb=De({direction:I9},O9,{components:g9,styles:M9,config:L9});function Io(){return Io=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Io.apply(this,arguments)}function B9(e,t){if(e==null)return{};var r={},n=Object.keys(e),i,a;for(a=0;a<n.length;a++)i=n[a],!(t.indexOf(i)>=0)&&(r[i]=e[i]);return r}var $9=["as","viewBox","color","focusable","children","className","__css"],sb={path:S.createElement("g",{stroke:"currentColor",strokeWidth:"1.5"},S.createElement("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"}),S.createElement("path",{fill:"currentColor",strokeLinecap:"round",d:"M12,17.25a.375.375,0,1,0,.375.375A.375.375,0,0,0,12,17.25h0"}),S.createElement("circle",{fill:"none",strokeMiterlimit:"10",cx:"12",cy:"12",r:"11.25"})),viewBox:"0 0 24 24"},ub=Ae(function(e,t){var r=e.as,n=e.viewBox,i=e.color,a=i===void 0?"currentColor":i,o=e.focusable,l=o===void 0?!1:o,s=e.children,u=e.className,c=e.__css,d=B9(e,$9),f=Ne("chakra-icon",u),p=Io({w:"1em",h:"1em",display:"inline-block",lineHeight:"1em",flexShrink:0,color:a},c),h={ref:t,focusable:l,className:f,__css:p},g=n!=null?n:sb.viewBox;if(r&&typeof r!="string")return S.createElement(te.svg,Io({as:r},h,d));var v=s!=null?s:sb.path;return S.createElement(te.svg,Io({verticalAlign:"middle",viewBox:g},h,d),v)}),Rp=function(e,t){return Rp=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,n){r.__proto__=n}||function(r,n){for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(r[i]=n[i])},Rp(e,t)};function cb(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");Rp(e,t);function r(){this.constructor=e}e.prototype=t===null?Object.create(t):(r.prototype=t.prototype,new r)}var N=function(){return N=Object.assign||function(t){for(var r,n=1,i=arguments.length;n<i;n++){r=arguments[n];for(var a in r)Object.prototype.hasOwnProperty.call(r,a)&&(t[a]=r[a])}return t},N.apply(this,arguments)};function Tt(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,n=Object.getOwnPropertySymbols(e);i<n.length;i++)t.indexOf(n[i])<0&&Object.prototype.propertyIsEnumerable.call(e,n[i])&&(r[n[i]]=e[n[i]]);return r}function D9(e){var t=typeof Symbol=="function"&&Symbol.iterator,r=t&&e[t],n=0;if(r)return r.call(e);if(e&&typeof e.length=="number")return{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function Re(e,t){var r=typeof Symbol=="function"&&e[Symbol.iterator];if(!r)return e;var n=r.call(e),i,a=[],o;try{for(;(t===void 0||t-- >0)&&!(i=n.next()).done;)a.push(i.value)}catch(l){o={error:l}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(o)throw o.error}}return a}function Qt(e,t,r){if(r||arguments.length===2)for(var n=0,i=t.length,a;n<i;n++)(a||!(n in t))&&(a||(a=Array.prototype.slice.call(t,0,n)),a[n]=t[n]);return e.concat(a||Array.prototype.slice.call(t))}typeof SuppressedError=="function"&&SuppressedError;var _r=function(e){return{isEnabled:function(t){return e.some(function(r){return!!t[r]})}}},Lo={measureLayout:_r(["layout","layoutId","drag"]),animation:_r(["animate","exit","variants","whileHover","whileTap","whileFocus","whileDrag","whileInView"]),exit:_r(["exit"]),drag:_r(["drag","dragControls"]),focus:_r(["whileFocus"]),hover:_r(["whileHover","onHoverStart","onHoverEnd"]),tap:_r(["whileTap","onTap","onTapStart","onTapCancel"]),pan:_r(["onPan","onPanStart","onPanSessionStart","onPanEnd"]),inView:_r(["whileInView","onViewportEnter","onViewportLeave"])};function z9(e){for(var t in e)e[t]!==null&&(t==="projectionNodeConstructor"?Lo.projectionNodeConstructor=e[t]:Lo[t].Component=e[t])}var N9=function(){},Cu=function(){},fb=F.createContext({strict:!1}),db=Object.keys(Lo),V9=db.length;function j9(e,t,r){var n=[];if(F.useContext(fb),!t)return null;for(var i=0;i<V9;i++){var a=db[i],o=Lo[a],l=o.isEnabled,s=o.Component;l(e)&&s&&n.push(S.createElement(s,N({key:a},e,{visualElement:t})))}return n}var Ip=F.createContext({transformPagePoint:function(e){return e},isStatic:!1,reducedMotion:"never"}),Eu=F.createContext({});function W9(){return F.useContext(Eu).visualElement}var Bo=F.createContext(null),$o=typeof window!="undefined",ku=$o?F.useLayoutEffect:F.useEffect,Lp={current:null},pb=!1;function H9(){if(pb=!0,typeof window!="undefined")if(window.matchMedia){var e=window.matchMedia("(prefers-reduced-motion)"),t=function(){return Lp.current=e.matches};e.addListener(t),t()}else Lp.current=!1}function U9(){!pb&&H9();var e=Re(F.useState(Lp.current),1),t=e[0];return t}function G9(){var e=U9(),t=F.useContext(Ip).reducedMotion;return t==="never"?!1:t==="always"?!0:e}function Y9(e,t,r,n){var i=F.useContext(fb),a=W9(),o=F.useContext(Bo),l=G9(),s=F.useRef(void 0);n||(n=i.renderer),!s.current&&n&&(s.current=n(e,{visualState:t,parent:a,props:r,presenceId:o==null?void 0:o.id,blockInitialAnimation:(o==null?void 0:o.initial)===!1,shouldReduceMotion:l}));var u=s.current;return ku(function(){u==null||u.syncRender()}),F.useEffect(function(){var c;(c=u==null?void 0:u.animationState)===null||c===void 0||c.animateChanges()}),ku(function(){return function(){return u==null?void 0:u.notifyUnmount()}},[]),u}function Xi(e){return typeof e=="object"&&Object.prototype.hasOwnProperty.call(e,"current")}function X9(e,t,r){return F.useCallback(function(n){var i;n&&((i=e.mount)===null||i===void 0||i.call(e,n)),t&&(n?t.mount(n):t.unmount()),r&&(typeof r=="function"?r(n):Xi(r)&&(r.current=n))},[t])}function vb(e){return Array.isArray(e)}function Jt(e){return typeof e=="string"||vb(e)}function Z9(e){var t={};return e.forEachValue(function(r,n){return t[n]=r.get()}),t}function K9(e){var t={};return e.forEachValue(function(r,n){return t[n]=r.getVelocity()}),t}function hb(e,t,r,n,i){var a;return n===void 0&&(n={}),i===void 0&&(i={}),typeof t=="function"&&(t=t(r!=null?r:e.custom,n,i)),typeof t=="string"&&(t=(a=e.variants)===null||a===void 0?void 0:a[t]),typeof t=="function"&&(t=t(r!=null?r:e.custom,n,i)),t}function Tu(e,t,r){var n=e.getProps();return hb(n,t,r!=null?r:n.custom,Z9(e),K9(e))}function Pu(e){var t;return typeof((t=e.animate)===null||t===void 0?void 0:t.start)=="function"||Jt(e.initial)||Jt(e.animate)||Jt(e.whileHover)||Jt(e.whileDrag)||Jt(e.whileTap)||Jt(e.whileFocus)||Jt(e.exit)}function mb(e){return Boolean(Pu(e)||e.variants)}function q9(e,t){if(Pu(e)){var r=e.initial,n=e.animate;return{initial:r===!1||Jt(r)?r:void 0,animate:Jt(n)?n:void 0}}return e.inherit!==!1?t:{}}function Q9(e){var t=q9(e,F.useContext(Eu)),r=t.initial,n=t.animate;return F.useMemo(function(){return{initial:r,animate:n}},[gb(r),gb(n)])}function gb(e){return Array.isArray(e)?e.join(" "):e}function Do(e){var t=F.useRef(null);return t.current===null&&(t.current=e()),t.current}const yb=1/60*1e3,J9=typeof performance!="undefined"?()=>performance.now():()=>Date.now(),bb=typeof window!="undefined"?e=>window.requestAnimationFrame(e):e=>setTimeout(()=>e(J9()),yb);function eO(e){let t=[],r=[],n=0,i=!1,a=!1;const o=new WeakSet,l={schedule:(s,u=!1,c=!1)=>{const d=c&&i,f=d?t:r;return u&&o.add(s),f.indexOf(s)===-1&&(f.push(s),d&&i&&(n=t.length)),s},cancel:s=>{const u=r.indexOf(s);u!==-1&&r.splice(u,1),o.delete(s)},process:s=>{if(i){a=!0;return}if(i=!0,[t,r]=[r,t],r.length=0,n=t.length,n)for(let u=0;u<n;u++){const c=t[u];c(s),o.has(c)&&(l.schedule(c),e())}i=!1,a&&(a=!1,l.process(s))}};return l}const tO=40;let Bp=!0,zo=!1,$p=!1;const Zi={delta:0,timestamp:0},No=["read","update","preRender","render","postRender"],_u=No.reduce((e,t)=>(e[t]=eO(()=>zo=!0),e),{}),dr=No.reduce((e,t)=>{const r=_u[t];return e[t]=(n,i=!1,a=!1)=>(zo||nO(),r.schedule(n,i,a)),e},{}),Vo=No.reduce((e,t)=>(e[t]=_u[t].cancel,e),{}),Dp=No.reduce((e,t)=>(e[t]=()=>_u[t].process(Zi),e),{}),rO=e=>_u[e].process(Zi),xb=e=>{zo=!1,Zi.delta=Bp?yb:Math.max(Math.min(e-Zi.timestamp,tO),1),Zi.timestamp=e,$p=!0,No.forEach(rO),$p=!1,zo&&(Bp=!1,bb(xb))},nO=()=>{zo=!0,Bp=!0,$p||bb(xb)},zp=()=>Zi,Ou=(e,t,r)=>Math.min(Math.max(r,e),t),Np=.001,iO=.01,Sb=10,aO=.05,oO=1;function lO({duration:e=800,bounce:t=.25,velocity:r=0,mass:n=1}){let i,a;N9(e<=Sb*1e3);let o=1-t;o=Ou(aO,oO,o),e=Ou(iO,Sb,e/1e3),o<1?(i=u=>{const c=u*o,d=c*e,f=c-r,p=Vp(u,o),h=Math.exp(-d);return Np-f/p*h},a=u=>{const d=u*o*e,f=d*r+r,p=Math.pow(o,2)*Math.pow(u,2)*e,h=Math.exp(-d),g=Vp(Math.pow(u,2),o);return(-i(u)+Np>0?-1:1)*((f-p)*h)/g}):(i=u=>{const c=Math.exp(-u*e),d=(u-r)*e+1;return-Np+c*d},a=u=>{const c=Math.exp(-u*e),d=(r-u)*(e*e);return c*d});const l=5/e,s=uO(i,a,l);if(e=e*1e3,isNaN(s))return{stiffness:100,damping:10,duration:e};{const u=Math.pow(s,2)*n;return{stiffness:u,damping:o*2*Math.sqrt(n*u),duration:e}}}const sO=12;function uO(e,t,r){let n=r;for(let i=1;i<sO;i++)n=n-e(n)/t(n);return n}function Vp(e,t){return e*Math.sqrt(1-t*t)}const cO=["duration","bounce"],fO=["stiffness","damping","mass"];function wb(e,t){return t.some(r=>e[r]!==void 0)}function dO(e){let t=Object.assign({velocity:0,stiffness:100,damping:10,mass:1,isResolvedFromDuration:!1},e);if(!wb(e,fO)&&wb(e,cO)){const r=lO(e);t=Object.assign(Object.assign(Object.assign({},t),r),{velocity:0,mass:1}),t.isResolvedFromDuration=!0}return t}function jp(e){var{from:t=0,to:r=1,restSpeed:n=2,restDelta:i}=e,a=Tt(e,["from","to","restSpeed","restDelta"]);const o={done:!1,value:t};let{stiffness:l,damping:s,mass:u,velocity:c,duration:d,isResolvedFromDuration:f}=dO(a),p=Cb,h=Cb;function g(){const v=c?-(c/1e3):0,m=r-t,y=s/(2*Math.sqrt(l*u)),b=Math.sqrt(l/u)/1e3;if(i===void 0&&(i=Math.min(Math.abs(r-t)/100,.4)),y<1){const x=Vp(b,y);p=E=>{const k=Math.exp(-y*b*E);return r-k*((v+y*b*m)/x*Math.sin(x*E)+m*Math.cos(x*E))},h=E=>{const k=Math.exp(-y*b*E);return y*b*k*(Math.sin(x*E)*(v+y*b*m)/x+m*Math.cos(x*E))-k*(Math.cos(x*E)*(v+y*b*m)-x*m*Math.sin(x*E))}}else if(y===1)p=x=>r-Math.exp(-b*x)*(m+(v+b*m)*x);else{const x=b*Math.sqrt(y*y-1);p=E=>{const k=Math.exp(-y*b*E),T=Math.min(x*E,300);return r-k*((v+y*b*m)*Math.sinh(T)+x*m*Math.cosh(T))/x}}}return g(),{next:v=>{const m=p(v);if(f)o.done=v>=d;else{const y=h(v)*1e3,b=Math.abs(y)<=n,x=Math.abs(r-m)<=i;o.done=b&&x}return o.value=o.done?r:m,o},flipTarget:()=>{c=-c,[t,r]=[r,t],g()}}}jp.needsInterpolation=(e,t)=>typeof e=="string"||typeof t=="string";const Cb=e=>0,jo=(e,t,r)=>{const n=t-e;return n===0?1:(r-e)/n},Ie=(e,t,r)=>-r*e+r*t+e,Eb=(e,t)=>r=>Math.max(Math.min(r,t),e),Wo=e=>e%1?Number(e.toFixed(5)):e,Ho=/(-)?([\d]*\.?[\d])+/g,Wp=/(#[0-9a-f]{6}|#[0-9a-f]{3}|#(?:[0-9a-f]{2}){2,4}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2,3}\s*\/*\s*[\d\.]+%?\))/gi,pO=/^(#[0-9a-f]{3}|#(?:[0-9a-f]{2}){2,4}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2,3}\s*\/*\s*[\d\.]+%?\))$/i;function Uo(e){return typeof e=="string"}const Zn={test:e=>typeof e=="number",parse:parseFloat,transform:e=>e},Go=Object.assign(Object.assign({},Zn),{transform:Eb(0,1)}),Au=Object.assign(Object.assign({},Zn),{default:1}),Yo=e=>({test:t=>Uo(t)&&t.endsWith(e)&&t.split(" ").length===1,parse:parseFloat,transform:t=>`${t}${e}`}),pn=Yo("deg"),pr=Yo("%"),q=Yo("px"),vO=Yo("vh"),hO=Yo("vw"),kb=Object.assign(Object.assign({},pr),{parse:e=>pr.parse(e)/100,transform:e=>pr.transform(e*100)}),Hp=(e,t)=>r=>Boolean(Uo(r)&&pO.test(r)&&r.startsWith(e)||t&&Object.prototype.hasOwnProperty.call(r,t)),Tb=(e,t,r)=>n=>{if(!Uo(n))return n;const[i,a,o,l]=n.match(Ho);return{[e]:parseFloat(i),[t]:parseFloat(a),[r]:parseFloat(o),alpha:l!==void 0?parseFloat(l):1}},Kn={test:Hp("hsl","hue"),parse:Tb("hue","saturation","lightness"),transform:({hue:e,saturation:t,lightness:r,alpha:n=1})=>"hsla("+Math.round(e)+", "+pr.transform(Wo(t))+", "+pr.transform(Wo(r))+", "+Wo(Go.transform(n))+")"},mO=Eb(0,255),Up=Object.assign(Object.assign({},Zn),{transform:e=>Math.round(mO(e))}),vn={test:Hp("rgb","red"),parse:Tb("red","green","blue"),transform:({red:e,green:t,blue:r,alpha:n=1})=>"rgba("+Up.transform(e)+", "+Up.transform(t)+", "+Up.transform(r)+", "+Wo(Go.transform(n))+")"};function gO(e){let t="",r="",n="",i="";return e.length>5?(t=e.substr(1,2),r=e.substr(3,2),n=e.substr(5,2),i=e.substr(7,2)):(t=e.substr(1,1),r=e.substr(2,1),n=e.substr(3,1),i=e.substr(4,1),t+=t,r+=r,n+=n,i+=i),{red:parseInt(t,16),green:parseInt(r,16),blue:parseInt(n,16),alpha:i?parseInt(i,16)/255:1}}const Gp={test:Hp("#"),parse:gO,transform:vn.transform},ut={test:e=>vn.test(e)||Gp.test(e)||Kn.test(e),parse:e=>vn.test(e)?vn.parse(e):Kn.test(e)?Kn.parse(e):Gp.parse(e),transform:e=>Uo(e)?e:e.hasOwnProperty("red")?vn.transform(e):Kn.transform(e)},Pb="${c}",_b="${n}";function yO(e){var t,r,n,i;return isNaN(e)&&Uo(e)&&((r=(t=e.match(Ho))===null||t===void 0?void 0:t.length)!==null&&r!==void 0?r:0)+((i=(n=e.match(Wp))===null||n===void 0?void 0:n.length)!==null&&i!==void 0?i:0)>0}function Ob(e){typeof e=="number"&&(e=`${e}`);const t=[];let r=0;const n=e.match(Wp);n&&(r=n.length,e=e.replace(Wp,Pb),t.push(...n.map(ut.parse)));const i=e.match(Ho);return i&&(e=e.replace(Ho,_b),t.push(...i.map(Zn.parse))),{values:t,numColors:r,tokenised:e}}function Ab(e){return Ob(e).values}function Mb(e){const{values:t,numColors:r,tokenised:n}=Ob(e),i=t.length;return a=>{let o=n;for(let l=0;l<i;l++)o=o.replace(l<r?Pb:_b,l<r?ut.transform(a[l]):Wo(a[l]));return o}}const bO=e=>typeof e=="number"?0:e;function xO(e){const t=Ab(e);return Mb(e)(t.map(bO))}const Or={test:yO,parse:Ab,createTransformer:Mb,getAnimatableNone:xO},SO=new Set(["brightness","contrast","saturate","opacity"]);function wO(e){let[t,r]=e.slice(0,-1).split("(");if(t==="drop-shadow")return e;const[n]=r.match(Ho)||[];if(!n)return e;const i=r.replace(n,"");let a=SO.has(t)?1:0;return n!==r&&(a*=100),t+"("+a+i+")"}const CO=/([a-z-]*)\(.*?\)/g,Yp=Object.assign(Object.assign({},Or),{getAnimatableNone:e=>{const t=e.match(CO);return t?t.map(wO).join(" "):e}});function Xp(e,t,r){return r<0&&(r+=1),r>1&&(r-=1),r<1/6?e+(t-e)*6*r:r<1/2?t:r<2/3?e+(t-e)*(2/3-r)*6:e}function Fb({hue:e,saturation:t,lightness:r,alpha:n}){e/=360,t/=100,r/=100;let i=0,a=0,o=0;if(!t)i=a=o=r;else{const l=r<.5?r*(1+t):r+t-r*t,s=2*r-l;i=Xp(s,l,e+1/3),a=Xp(s,l,e),o=Xp(s,l,e-1/3)}return{red:Math.round(i*255),green:Math.round(a*255),blue:Math.round(o*255),alpha:n}}const EO=(e,t,r)=>{const n=e*e,i=t*t;return Math.sqrt(Math.max(0,r*(i-n)+n))},kO=[Gp,vn,Kn],Rb=e=>kO.find(t=>t.test(e)),Ib=(e,t)=>{let r=Rb(e),n=Rb(t),i=r.parse(e),a=n.parse(t);r===Kn&&(i=Fb(i),r=vn),n===Kn&&(a=Fb(a),n=vn);const o=Object.assign({},i);return l=>{for(const s in o)s!=="alpha"&&(o[s]=EO(i[s],a[s],l));return o.alpha=Ie(i.alpha,a.alpha,l),r.transform(o)}},Zp=e=>typeof e=="number",TO=(e,t)=>r=>t(e(r)),Mu=(...e)=>e.reduce(TO);function Lb(e,t){return Zp(e)?r=>Ie(e,t,r):ut.test(e)?Ib(e,t):Db(e,t)}const Bb=(e,t)=>{const r=[...e],n=r.length,i=e.map((a,o)=>Lb(a,t[o]));return a=>{for(let o=0;o<n;o++)r[o]=i[o](a);return r}},PO=(e,t)=>{const r=Object.assign(Object.assign({},e),t),n={};for(const i in r)e[i]!==void 0&&t[i]!==void 0&&(n[i]=Lb(e[i],t[i]));return i=>{for(const a in n)r[a]=n[a](i);return r}};function $b(e){const t=Or.parse(e),r=t.length;let n=0,i=0,a=0;for(let o=0;o<r;o++)n||typeof t[o]=="number"?n++:t[o].hue!==void 0?a++:i++;return{parsed:t,numNumbers:n,numRGB:i,numHSL:a}}const Db=(e,t)=>{const r=Or.createTransformer(t),n=$b(e),i=$b(t);return n.numHSL===i.numHSL&&n.numRGB===i.numRGB&&n.numNumbers>=i.numNumbers?Mu(Bb(n.parsed,i.parsed),r):o=>`${o>0?t:e}`},_O=(e,t)=>r=>Ie(e,t,r);function OO(e){if(typeof e=="number")return _O;if(typeof e=="string")return ut.test(e)?Ib:Db;if(Array.isArray(e))return Bb;if(typeof e=="object")return PO}function AO(e,t,r){const n=[],i=r||OO(e[0]),a=e.length-1;for(let o=0;o<a;o++){let l=i(e[o],e[o+1]);if(t){const s=Array.isArray(t)?t[o]:t;l=Mu(s,l)}n.push(l)}return n}function MO([e,t],[r]){return n=>r(jo(e,t,n))}function FO(e,t){const r=e.length,n=r-1;return i=>{let a=0,o=!1;if(i<=e[0]?o=!0:i>=e[n]&&(a=n-1,o=!0),!o){let s=1;for(;s<r&&!(e[s]>i||s===n);s++);a=s-1}const l=jo(e[a],e[a+1],i);return t[a](l)}}function zb(e,t,{clamp:r=!0,ease:n,mixer:i}={}){const a=e.length;Cu(a===t.length),Cu(!n||!Array.isArray(n)||n.length===a-1),e[0]>e[a-1]&&(e=[].concat(e),t=[].concat(t),e.reverse(),t.reverse());const o=AO(t,n,i),l=a===2?MO(e,o):FO(e,o);return r?s=>l(Ou(e[0],e[a-1],s)):l}const Fu=e=>t=>1-e(1-t),Kp=e=>t=>t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2,RO=e=>t=>Math.pow(t,e),Nb=e=>t=>t*t*((e+1)*t-e),IO=e=>{const t=Nb(e);return r=>(r*=2)<1?.5*t(r):.5*(2-Math.pow(2,-10*(r-1)))},Vb=1.525,LO=4/11,BO=8/11,$O=9/10,qp=e=>e,Qp=RO(2),DO=Fu(Qp),jb=Kp(Qp),Wb=e=>1-Math.sin(Math.acos(e)),Jp=Fu(Wb),zO=Kp(Jp),ev=Nb(Vb),NO=Fu(ev),VO=Kp(ev),jO=IO(Vb),WO=4356/361,HO=35442/1805,UO=16061/1805,Ru=e=>{if(e===1||e===0)return e;const t=e*e;return e<LO?7.5625*t:e<BO?9.075*t-9.9*e+3.4:e<$O?WO*t-HO*e+UO:10.8*e*e-20.52*e+10.72},GO=Fu(Ru),YO=e=>e<.5?.5*(1-Ru(1-e*2)):.5*Ru(e*2-1)+.5;function XO(e,t){return e.map(()=>t||jb).splice(0,e.length-1)}function ZO(e){const t=e.length;return e.map((r,n)=>n!==0?n/(t-1):0)}function KO(e,t){return e.map(r=>r*t)}function Iu({from:e=0,to:t=1,ease:r,offset:n,duration:i=300}){const a={done:!1,value:e},o=Array.isArray(t)?t:[e,t],l=KO(n&&n.length===o.length?n:ZO(o),i);function s(){return zb(l,o,{ease:Array.isArray(r)?r:XO(o,r)})}let u=s();return{next:c=>(a.value=u(c),a.done=c>=i,a),flipTarget:()=>{o.reverse(),u=s()}}}function qO({velocity:e=0,from:t=0,power:r=.8,timeConstant:n=350,restDelta:i=.5,modifyTarget:a}){const o={done:!1,value:t};let l=r*e;const s=t+l,u=a===void 0?s:a(s);return u!==s&&(l=u-t),{next:c=>{const d=-l*Math.exp(-c/n);return o.done=!(d>i||d<-i),o.value=o.done?u:u+d,o},flipTarget:()=>{}}}const Hb={keyframes:Iu,spring:jp,decay:qO};function QO(e){if(Array.isArray(e.to))return Iu;if(Hb[e.type])return Hb[e.type];const t=new Set(Object.keys(e));return t.has("ease")||t.has("duration")&&!t.has("dampingRatio")?Iu:t.has("dampingRatio")||t.has("stiffness")||t.has("mass")||t.has("damping")||t.has("restSpeed")||t.has("restDelta")?jp:Iu}const Ub=1/60*1e3,JO=typeof performance!="undefined"?()=>performance.now():()=>Date.now(),Gb=typeof window!="undefined"?e=>window.requestAnimationFrame(e):e=>setTimeout(()=>e(JO()),Ub);function eA(e){let t=[],r=[],n=0,i=!1,a=!1;const o=new WeakSet,l={schedule:(s,u=!1,c=!1)=>{const d=c&&i,f=d?t:r;return u&&o.add(s),f.indexOf(s)===-1&&(f.push(s),d&&i&&(n=t.length)),s},cancel:s=>{const u=r.indexOf(s);u!==-1&&r.splice(u,1),o.delete(s)},process:s=>{if(i){a=!0;return}if(i=!0,[t,r]=[r,t],r.length=0,n=t.length,n)for(let u=0;u<n;u++){const c=t[u];c(s),o.has(c)&&(l.schedule(c),e())}i=!1,a&&(a=!1,l.process(s))}};return l}const tA=40;let tv=!0,Xo=!1,rv=!1;const Ki={delta:0,timestamp:0},Zo=["read","update","preRender","render","postRender"],Lu=Zo.reduce((e,t)=>(e[t]=eA(()=>Xo=!0),e),{}),rA=Zo.reduce((e,t)=>{const r=Lu[t];return e[t]=(n,i=!1,a=!1)=>(Xo||aA(),r.schedule(n,i,a)),e},{}),nA=Zo.reduce((e,t)=>(e[t]=Lu[t].cancel,e),{});Zo.reduce((e,t)=>(e[t]=()=>Lu[t].process(Ki),e),{});const iA=e=>Lu[e].process(Ki),Yb=e=>{Xo=!1,Ki.delta=tv?Ub:Math.max(Math.min(e-Ki.timestamp,tA),1),Ki.timestamp=e,rv=!0,Zo.forEach(iA),rv=!1,Xo&&(tv=!1,Gb(Yb))},aA=()=>{Xo=!0,tv=!0,rv||Gb(Yb)},oA=()=>Ki;function Xb(e,t,r=0){return e-t-r}function lA(e,t,r=0,n=!0){return n?Xb(t+-e,t,r):t-(e-t)+r}function sA(e,t,r,n){return n?e>=t+r:e<=-r}const uA=e=>{const t=({delta:r})=>e(r);return{start:()=>rA.update(t,!0),stop:()=>nA.update(t)}};function Zb(e){var t,r,{from:n,autoplay:i=!0,driver:a=uA,elapsed:o=0,repeat:l=0,repeatType:s="loop",repeatDelay:u=0,onPlay:c,onStop:d,onComplete:f,onRepeat:p,onUpdate:h}=e,g=Tt(e,["from","autoplay","driver","elapsed","repeat","repeatType","repeatDelay","onPlay","onStop","onComplete","onRepeat","onUpdate"]);let{to:v}=g,m,y=0,b=g.duration,x,E=!1,k=!0,T;const A=QO(g);!((r=(t=A).needsInterpolation)===null||r===void 0)&&r.call(t,n,v)&&(T=zb([0,100],[n,v],{clamp:!1}),n=0,v=100);const O=A(Object.assign(Object.assign({},g),{from:n,to:v}));function B(){y++,s==="reverse"?(k=y%2===0,o=lA(o,b,u,k)):(o=Xb(o,b,u),s==="mirror"&&O.flipTarget()),E=!1,p&&p()}function H(){m.stop(),f&&f()}function G(Z){if(k||(Z=-Z),o+=Z,!E){const K=O.next(Math.max(0,o));x=K.value,T&&(x=T(x)),E=k?K.done:o<=0}h==null||h(x),E&&(y===0&&(b!=null||(b=o)),y<l?sA(o,b,u,k)&&B():H())}function U(){c==null||c(),m=a(G),m.start()}return i&&U(),{stop:()=>{d==null||d(),m.stop()}}}function Kb(e,t){return t?e*(1e3/t):0}function cA({from:e=0,velocity:t=0,min:r,max:n,power:i=.8,timeConstant:a=750,bounceStiffness:o=500,bounceDamping:l=10,restDelta:s=1,modifyTarget:u,driver:c,onUpdate:d,onComplete:f,onStop:p}){let h;function g(b){return r!==void 0&&b<r||n!==void 0&&b>n}function v(b){return r===void 0?n:n===void 0||Math.abs(r-b)<Math.abs(n-b)?r:n}function m(b){h==null||h.stop(),h=Zb(Object.assign(Object.assign({},b),{driver:c,onUpdate:x=>{var E;d==null||d(x),(E=b.onUpdate)===null||E===void 0||E.call(b,x)},onComplete:f,onStop:p}))}function y(b){m(Object.assign({type:"spring",stiffness:o,damping:l,restDelta:s},b))}if(g(e))y({from:e,velocity:t,to:v(e)});else{let b=i*t+e;typeof u!="undefined"&&(b=u(b));const x=v(b),E=x===r?-1:1;let k,T;const A=O=>{k=T,T=O,t=Kb(O-k,oA().delta),(E===1&&O>x||E===-1&&O<x)&&y({from:O,to:x,velocity:t})};m({type:"decay",from:e,velocity:t,timeConstant:a,power:i,restDelta:s,modifyTarget:u,onUpdate:g(b)?A:void 0})}return{stop:()=>h==null?void 0:h.stop()}}const nv=e=>e.hasOwnProperty("x")&&e.hasOwnProperty("y"),qb=e=>nv(e)&&e.hasOwnProperty("z"),Bu=(e,t)=>Math.abs(e-t);function Qb(e,t){if(Zp(e)&&Zp(t))return Bu(e,t);if(nv(e)&&nv(t)){const r=Bu(e.x,t.x),n=Bu(e.y,t.y),i=qb(e)&&qb(t)?Bu(e.z,t.z):0;return Math.sqrt(Math.pow(r,2)+Math.pow(n,2)+Math.pow(i,2))}}const Jb=(e,t)=>1-3*t+3*e,e2=(e,t)=>3*t-6*e,t2=e=>3*e,$u=(e,t,r)=>((Jb(t,r)*e+e2(t,r))*e+t2(t))*e,r2=(e,t,r)=>3*Jb(t,r)*e*e+2*e2(t,r)*e+t2(t),fA=1e-7,dA=10;function pA(e,t,r,n,i){let a,o,l=0;do o=t+(r-t)/2,a=$u(o,n,i)-e,a>0?r=o:t=o;while(Math.abs(a)>fA&&++l<dA);return o}const vA=8,hA=.001;function mA(e,t,r,n){for(let i=0;i<vA;++i){const a=r2(t,r,n);if(a===0)return t;t-=($u(t,r,n)-e)/a}return t}const Du=11,zu=1/(Du-1);function gA(e,t,r,n){if(e===t&&r===n)return qp;const i=new Float32Array(Du);for(let o=0;o<Du;++o)i[o]=$u(o*zu,e,r);function a(o){let l=0,s=1;const u=Du-1;for(;s!==u&&i[s]<=o;++s)l+=zu;--s;const c=(o-i[s])/(i[s+1]-i[s]),d=l+c*zu,f=r2(d,e,r);return f>=hA?mA(o,d,e,r):f===0?d:pA(o,l,l+zu,e,r)}return o=>o===0||o===1?o:$u(a(o),t,n)}function iv(e,t){e.indexOf(t)===-1&&e.push(t)}function av(e,t){var r=e.indexOf(t);r>-1&&e.splice(r,1)}var Ko=function(){function e(){this.subscriptions=[]}return e.prototype.add=function(t){var r=this;return iv(this.subscriptions,t),function(){return av(r.subscriptions,t)}},e.prototype.notify=function(t,r,n){var i=this.subscriptions.length;if(!!i)if(i===1)this.subscriptions[0](t,r,n);else for(var a=0;a<i;a++){var o=this.subscriptions[a];o&&o(t,r,n)}},e.prototype.getSize=function(){return this.subscriptions.length},e.prototype.clear=function(){this.subscriptions.length=0},e}(),yA=function(e){return!isNaN(parseFloat(e))},bA=function(){function e(t){var r=this;this.timeDelta=0,this.lastUpdated=0,this.updateSubscribers=new Ko,this.velocityUpdateSubscribers=new Ko,this.renderSubscribers=new Ko,this.canTrackVelocity=!1,this.updateAndNotify=function(n,i){i===void 0&&(i=!0),r.prev=r.current,r.current=n;var a=zp(),o=a.delta,l=a.timestamp;r.lastUpdated!==l&&(r.timeDelta=o,r.lastUpdated=l,dr.postRender(r.scheduleVelocityCheck)),r.prev!==r.current&&r.updateSubscribers.notify(r.current),r.velocityUpdateSubscribers.getSize()&&r.velocityUpdateSubscribers.notify(r.getVelocity()),i&&r.renderSubscribers.notify(r.current)},this.scheduleVelocityCheck=function(){return dr.postRender(r.velocityCheck)},this.velocityCheck=function(n){var i=n.timestamp;i!==r.lastUpdated&&(r.prev=r.current,r.velocityUpdateSubscribers.notify(r.getVelocity()))},this.hasAnimated=!1,this.prev=this.current=t,this.canTrackVelocity=yA(this.current)}return e.prototype.onChange=function(t){return this.updateSubscribers.add(t)},e.prototype.clearListeners=function(){this.updateSubscribers.clear()},e.prototype.onRenderRequest=function(t){return t(this.get()),this.renderSubscribers.add(t)},e.prototype.attach=function(t){this.passiveEffect=t},e.prototype.set=function(t,r){r===void 0&&(r=!0),!r||!this.passiveEffect?this.updateAndNotify(t,r):this.passiveEffect(t,this.updateAndNotify)},e.prototype.get=function(){return this.current},e.prototype.getPrevious=function(){return this.prev},e.prototype.getVelocity=function(){return this.canTrackVelocity?Kb(parseFloat(this.current)-parseFloat(this.prev),this.timeDelta):0},e.prototype.start=function(t){var r=this;return this.stop(),new Promise(function(n){r.hasAnimated=!0,r.stopAnimation=t(n)}).then(function(){return r.clearAnimation()})},e.prototype.stop=function(){this.stopAnimation&&this.stopAnimation(),this.clearAnimation()},e.prototype.isAnimating=function(){return!!this.stopAnimation},e.prototype.clearAnimation=function(){this.stopAnimation=null},e.prototype.destroy=function(){this.updateSubscribers.clear(),this.renderSubscribers.clear(),this.stop()},e}();function qi(e){return new bA(e)}var Ar=function(e){return Boolean(e!==null&&typeof e=="object"&&e.getVelocity)},Nu=function(e){return e*1e3},xA={linear:qp,easeIn:Qp,easeInOut:jb,easeOut:DO,circIn:Wb,circInOut:zO,circOut:Jp,backIn:ev,backInOut:VO,backOut:NO,anticipate:jO,bounceIn:GO,bounceInOut:YO,bounceOut:Ru},n2=function(e){if(Array.isArray(e)){Cu(e.length===4);var t=Re(e,4),r=t[0],n=t[1],i=t[2],a=t[3];return gA(r,n,i,a)}else if(typeof e=="string")return xA[e];return e},SA=function(e){return Array.isArray(e)&&typeof e[0]!="number"},i2=function(e,t){return e==="zIndex"?!1:!!(typeof t=="number"||Array.isArray(t)||typeof t=="string"&&Or.test(t)&&!t.startsWith("url("))},qo=function(e){return Array.isArray(e)},qn=function(){return{type:"spring",stiffness:500,damping:25,restSpeed:10}},Vu=function(e){return{type:"spring",stiffness:550,damping:e===0?2*Math.sqrt(550):30,restSpeed:10}},ov=function(){return{type:"keyframes",ease:"linear",duration:.3}},wA=function(e){return{type:"keyframes",duration:.8,values:e}},a2={x:qn,y:qn,z:qn,rotate:qn,rotateX:qn,rotateY:qn,rotateZ:qn,scaleX:Vu,scaleY:Vu,scale:Vu,opacity:ov,backgroundColor:ov,color:ov,default:Vu},CA=function(e,t){var r;return qo(t)?r=wA:r=a2[e]||a2.default,N({to:t},r(t))},o2=N(N({},Zn),{transform:Math.round}),l2={borderWidth:q,borderTopWidth:q,borderRightWidth:q,borderBottomWidth:q,borderLeftWidth:q,borderRadius:q,radius:q,borderTopLeftRadius:q,borderTopRightRadius:q,borderBottomRightRadius:q,borderBottomLeftRadius:q,width:q,maxWidth:q,height:q,maxHeight:q,size:q,top:q,right:q,bottom:q,left:q,padding:q,paddingTop:q,paddingRight:q,paddingBottom:q,paddingLeft:q,margin:q,marginTop:q,marginRight:q,marginBottom:q,marginLeft:q,rotate:pn,rotateX:pn,rotateY:pn,rotateZ:pn,scale:Au,scaleX:Au,scaleY:Au,scaleZ:Au,skew:pn,skewX:pn,skewY:pn,distance:q,translateX:q,translateY:q,translateZ:q,x:q,y:q,z:q,perspective:q,transformPerspective:q,opacity:Go,originX:kb,originY:kb,originZ:q,zIndex:o2,fillOpacity:Go,strokeOpacity:Go,numOctaves:o2},EA=N(N({},l2),{color:ut,backgroundColor:ut,outlineColor:ut,fill:ut,stroke:ut,borderColor:ut,borderTopColor:ut,borderRightColor:ut,borderBottomColor:ut,borderLeftColor:ut,filter:Yp,WebkitFilter:Yp}),lv=function(e){return EA[e]};function sv(e,t){var r,n=lv(e);return n!==Yp&&(n=Or),(r=n.getAnimatableNone)===null||r===void 0?void 0:r.call(n,t)}var kA={current:!1},TA=function(e){return Boolean(e&&typeof e=="object"&&e.mix&&e.toValue)},s2=function(e){return qo(e)?e[e.length-1]||0:e};function PA(e){e.when,e.delay,e.delayChildren,e.staggerChildren,e.staggerDirection,e.repeat,e.repeatType,e.repeatDelay,e.from;var t=Tt(e,["when","delay","delayChildren","staggerChildren","staggerDirection","repeat","repeatType","repeatDelay","from"]);return!!Object.keys(t).length}function _A(e){var t=e.ease,r=e.times,n=e.yoyo,i=e.flip,a=e.loop,o=Tt(e,["ease","times","yoyo","flip","loop"]),l=N({},o);return r&&(l.offset=r),o.duration&&(l.duration=Nu(o.duration)),o.repeatDelay&&(l.repeatDelay=Nu(o.repeatDelay)),t&&(l.ease=SA(t)?t.map(n2):n2(t)),o.type==="tween"&&(l.type="keyframes"),(n||a||i)&&(n?l.repeatType="reverse":a?l.repeatType="loop":i&&(l.repeatType="mirror"),l.repeat=a||n||i||o.repeat),o.type!=="spring"&&(l.type="keyframes"),l}function OA(e,t){var r,n,i=uv(e,t)||{};return(n=(r=i.delay)!==null&&r!==void 0?r:e.delay)!==null&&n!==void 0?n:0}function AA(e){return Array.isArray(e.to)&&e.to[0]===null&&(e.to=Qt([],Re(e.to),!1),e.to[0]=e.from),e}function MA(e,t,r){var n;return Array.isArray(t.to)&&((n=e.duration)!==null&&n!==void 0||(e.duration=.8)),AA(t),PA(e)||(e=N(N({},e),CA(r,t.to))),N(N({},t),_A(e))}function FA(e,t,r,n,i){var a,o=uv(n,e),l=(a=o.from)!==null&&a!==void 0?a:t.get(),s=i2(e,r);l==="none"&&s&&typeof r=="string"?l=sv(e,r):u2(l)&&typeof r=="string"?l=c2(r):!Array.isArray(r)&&u2(r)&&typeof l=="string"&&(r=c2(l));var u=i2(e,l);function c(){var f={from:l,to:r,velocity:t.getVelocity(),onComplete:i,onUpdate:function(p){return t.set(p)}};return o.type==="inertia"||o.type==="decay"?cA(N(N({},f),o)):Zb(N(N({},MA(o,f,e)),{onUpdate:function(p){var h;f.onUpdate(p),(h=o.onUpdate)===null||h===void 0||h.call(o,p)},onComplete:function(){var p;f.onComplete(),(p=o.onComplete)===null||p===void 0||p.call(o)}}))}function d(){var f,p,h=s2(r);return t.set(h),i(),(f=o==null?void 0:o.onUpdate)===null||f===void 0||f.call(o,h),(p=o==null?void 0:o.onComplete)===null||p===void 0||p.call(o),{stop:function(){}}}return!u||!s||o.type===!1?d:c}function u2(e){return e===0||typeof e=="string"&&parseFloat(e)===0&&e.indexOf(" ")===-1}function c2(e){return typeof e=="number"?0:sv("",e)}function uv(e,t){return e[t]||e.default||e}function cv(e,t,r,n){return n===void 0&&(n={}),kA.current&&(n={type:!1}),t.start(function(i){var a,o,l=FA(e,t,r,n,i),s=OA(n,e),u=function(){return o=l()};return s?a=window.setTimeout(u,Nu(s)):u(),function(){clearTimeout(a),o==null||o.stop()}})}function RA(e,t,r){r===void 0&&(r={});var n=Ar(e)?e:qi(e);return cv("",n,t,r),{stop:function(){return n.stop()},isAnimating:function(){return n.isAnimating()}}}var f2=["TopLeft","TopRight","BottomLeft","BottomRight"],IA=f2.length,d2=function(e){return typeof e=="string"?parseFloat(e):e},p2=function(e){return typeof e=="number"||q.test(e)};function LA(e,t,r,n,i,a){var o,l,s,u;i?(e.opacity=Ie(0,(o=r.opacity)!==null&&o!==void 0?o:1,BA(n)),e.opacityExit=Ie((l=t.opacity)!==null&&l!==void 0?l:1,0,$A(n))):a&&(e.opacity=Ie((s=t.opacity)!==null&&s!==void 0?s:1,(u=r.opacity)!==null&&u!==void 0?u:1,n));for(var c=0;c<IA;c++){var d="border".concat(f2[c],"Radius"),f=v2(t,d),p=v2(r,d);if(!(f===void 0&&p===void 0)){f||(f=0),p||(p=0);var h=f===0||p===0||p2(f)===p2(p);h?(e[d]=Math.max(Ie(d2(f),d2(p),n),0),(pr.test(p)||pr.test(f))&&(e[d]+="%")):e[d]=p}}(t.rotate||r.rotate)&&(e.rotate=Ie(t.rotate||0,r.rotate||0,n))}function v2(e,t){var r;return(r=e[t])!==null&&r!==void 0?r:e.borderRadius}var BA=h2(0,.5,Jp),$A=h2(.5,.95,qp);function h2(e,t,r){return function(n){return n<e?0:n>t?1:r(jo(e,t,n))}}function m2(e,t){e.min=t.min,e.max=t.max}function vr(e,t){m2(e.x,t.x),m2(e.y,t.y)}function fv(e){return e===void 0||e===1}function g2(e){var t=e.scale,r=e.scaleX,n=e.scaleY;return!fv(t)||!fv(r)||!fv(n)}function hn(e){return g2(e)||y2(e.x)||y2(e.y)||e.z||e.rotate||e.rotateX||e.rotateY}function y2(e){return e&&e!=="0%"}function ju(e,t,r){var n=e-r,i=t*n;return r+i}function b2(e,t,r,n,i){return i!==void 0&&(e=ju(e,i,n)),ju(e,r,n)+t}function dv(e,t,r,n,i){t===void 0&&(t=0),r===void 0&&(r=1),e.min=b2(e.min,t,r,n,i),e.max=b2(e.max,t,r,n,i)}function x2(e,t){var r=t.x,n=t.y;dv(e.x,r.translate,r.scale,r.originPoint),dv(e.y,n.translate,n.scale,n.originPoint)}function DA(e,t,r,n){var i,a;n===void 0&&(n=!1);var o=r.length;if(!!o){t.x=t.y=1;for(var l,s,u=0;u<o;u++)l=r[u],s=l.projectionDelta,((a=(i=l.instance)===null||i===void 0?void 0:i.style)===null||a===void 0?void 0:a.display)!=="contents"&&(n&&l.options.layoutScroll&&l.scroll&&l!==l.root&&Ji(e,{x:-l.scroll.x,y:-l.scroll.y}),s&&(t.x*=s.x.scale,t.y*=s.y.scale,x2(e,s)),n&&hn(l.latestValues)&&Ji(e,l.latestValues))}}function Qi(e,t){e.min=e.min+t,e.max=e.max+t}function S2(e,t,r){var n=Re(r,3),i=n[0],a=n[1],o=n[2],l=t[o]!==void 0?t[o]:.5,s=Ie(e.min,e.max,l);dv(e,t[i],t[a],s,t.scale)}var zA=["x","scaleX","originX"],NA=["y","scaleY","originY"];function Ji(e,t){S2(e.x,t,zA),S2(e.y,t,NA)}function Mr(e){return e.max-e.min}function w2(e,t,r){return t===void 0&&(t=0),r===void 0&&(r=.01),Qb(e,t)<r}function C2(e,t,r,n){n===void 0&&(n=.5),e.origin=n,e.originPoint=Ie(t.min,t.max,e.origin),e.scale=Mr(r)/Mr(t),(w2(e.scale,1,1e-4)||isNaN(e.scale))&&(e.scale=1),e.translate=Ie(r.min,r.max,e.origin)-e.originPoint,(w2(e.translate)||isNaN(e.translate))&&(e.translate=0)}function Qo(e,t,r,n){C2(e.x,t.x,r.x,n==null?void 0:n.originX),C2(e.y,t.y,r.y,n==null?void 0:n.originY)}function E2(e,t,r){e.min=r.min+t.min,e.max=e.min+Mr(t)}function VA(e,t,r){E2(e.x,t.x,r.x),E2(e.y,t.y,r.y)}function k2(e,t,r){e.min=t.min-r.min,e.max=e.min+Mr(t)}function Jo(e,t,r){k2(e.x,t.x,r.x),k2(e.y,t.y,r.y)}function T2(e,t,r,n,i){return e-=t,e=ju(e,1/r,n),i!==void 0&&(e=ju(e,1/i,n)),e}function jA(e,t,r,n,i,a,o){if(t===void 0&&(t=0),r===void 0&&(r=1),n===void 0&&(n=.5),a===void 0&&(a=e),o===void 0&&(o=e),pr.test(t)){t=parseFloat(t);var l=Ie(o.min,o.max,t/100);t=l-o.min}if(typeof t=="number"){var s=Ie(a.min,a.max,n);e===a&&(s-=t),e.min=T2(e.min,t,r,s,i),e.max=T2(e.max,t,r,s,i)}}function P2(e,t,r,n,i){var a=Re(r,3),o=a[0],l=a[1],s=a[2];jA(e,t[o],t[l],t[s],t.scale,n,i)}var WA=["x","scaleX","originX"],HA=["y","scaleY","originY"];function _2(e,t,r,n){P2(e.x,t,WA,r==null?void 0:r.x,n==null?void 0:n.x),P2(e.y,t,HA,r==null?void 0:r.y,n==null?void 0:n.y)}var O2=function(){return{translate:0,scale:1,origin:0,originPoint:0}},el=function(){return{x:O2(),y:O2()}},A2=function(){return{min:0,max:0}},at=function(){return{x:A2(),y:A2()}};function M2(e){return e.translate===0&&e.scale===1}function F2(e){return M2(e.x)&&M2(e.y)}function R2(e,t){return e.x.min===t.x.min&&e.x.max===t.x.max&&e.y.min===t.y.min&&e.y.max===t.y.max}var UA=function(){function e(){this.members=[]}return e.prototype.add=function(t){iv(this.members,t),t.scheduleRender()},e.prototype.remove=function(t){if(av(this.members,t),t===this.prevLead&&(this.prevLead=void 0),t===this.lead){var r=this.members[this.members.length-1];r&&this.promote(r)}},e.prototype.relegate=function(t){var r=this.members.findIndex(function(o){return t===o});if(r===0)return!1;for(var n,i=r;i>=0;i--){var a=this.members[i];if(a.isPresent!==!1){n=a;break}}return n?(this.promote(n),!0):!1},e.prototype.promote=function(t,r){var n,i=this.lead;if(t!==i&&(this.prevLead=i,this.lead=t,t.show(),i)){i.instance&&i.scheduleRender(),t.scheduleRender(),t.resumeFrom=i,r&&(t.resumeFrom.preserveOpacity=!0),i.snapshot&&(t.snapshot=i.snapshot,t.snapshot.latestValues=i.animationValues||i.latestValues,t.snapshot.isShared=!0),!((n=t.root)===null||n===void 0)&&n.isUpdating&&(t.isLayoutDirty=!0);var a=t.options.crossfade;a===!1&&i.hide()}},e.prototype.exitAnimationComplete=function(){this.members.forEach(function(t){var r,n,i,a,o;(n=(r=t.options).onExitComplete)===null||n===void 0||n.call(r),(o=(i=t.resumingFrom)===null||i===void 0?void 0:(a=i.options).onExitComplete)===null||o===void 0||o.call(a)})},e.prototype.scheduleRender=function(){this.members.forEach(function(t){t.instance&&t.scheduleRender(!1)})},e.prototype.removeLeadSnapshot=function(){this.lead&&this.lead.snapshot&&(this.lead.snapshot=void 0)},e}(),Wu={};function GA(e){Object.assign(Wu,e)}var YA="translate3d(0px, 0px, 0) scale(1, 1)";function I2(e,t,r){var n=e.x.translate/t.x,i=e.y.translate/t.y,a="translate3d(".concat(n,"px, ").concat(i,"px, 0) ");if(r){var o=r.rotate,l=r.rotateX,s=r.rotateY;o&&(a+="rotate(".concat(o,"deg) ")),l&&(a+="rotateX(".concat(l,"deg) ")),s&&(a+="rotateY(".concat(s,"deg) "))}return a+="scale(".concat(e.x.scale,", ").concat(e.y.scale,")"),a===YA?"none":a}function hr(e){return[e("x"),e("y")]}var pv=["","X","Y","Z"],XA=["translate","scale","rotate","skew"],tl=["transformPerspective","x","y","z"];XA.forEach(function(e){return pv.forEach(function(t){return tl.push(e+t)})});function ZA(e,t){return tl.indexOf(e)-tl.indexOf(t)}var KA=new Set(tl);function rl(e){return KA.has(e)}var qA=new Set(["originX","originY","originZ"]);function L2(e){return qA.has(e)}var QA=function(e,t){return e.depth-t.depth},JA=function(){function e(){this.children=[],this.isDirty=!1}return e.prototype.add=function(t){iv(this.children,t),this.isDirty=!0},e.prototype.remove=function(t){av(this.children,t),this.isDirty=!0},e.prototype.forEach=function(t){this.isDirty&&this.children.sort(QA),this.isDirty=!1,this.children.forEach(t)},e}();function Hu(e){var t=Ar(e)?e.get():e;return TA(t)?t.toValue():t}var B2=1e3,nl={hasAnimatedSinceResize:!0,hasEverUpdated:!1};function $2(e){var t=e.attachResizeListener,r=e.defaultParent,n=e.measureScroll,i=e.resetTransform;return function(){function a(o,l,s){var u=this;l===void 0&&(l={}),s===void 0&&(s=r==null?void 0:r()),this.children=new Set,this.options={},this.isTreeAnimating=!1,this.isAnimationBlocked=!1,this.isLayoutDirty=!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.potentialNodes=new Map,this.checkUpdateFailed=function(){u.isUpdating&&(u.isUpdating=!1,u.clearAllSnapshots())},this.updateProjection=function(){u.nodes.forEach(a7),u.nodes.forEach(o7)},this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.id=o,this.latestValues=l,this.root=s?s.root||s:this,this.path=s?Qt(Qt([],Re(s.path),!1),[s],!1):[],this.parent=s,this.depth=s?s.depth+1:0,o&&this.root.registerPotentialNode(o,this);for(var c=0;c<this.path.length;c++)this.path[c].shouldResetTransform=!0;this.root===this&&(this.nodes=new JA)}return a.prototype.addEventListener=function(o,l){return this.eventHandlers.has(o)||this.eventHandlers.set(o,new Ko),this.eventHandlers.get(o).add(l)},a.prototype.notifyListeners=function(o){for(var l=[],s=1;s<arguments.length;s++)l[s-1]=arguments[s];var u=this.eventHandlers.get(o);u==null||u.notify.apply(u,Qt([],Re(l),!1))},a.prototype.hasListeners=function(o){return this.eventHandlers.has(o)},a.prototype.registerPotentialNode=function(o,l){this.potentialNodes.set(o,l)},a.prototype.mount=function(o,l){var s=this,u;if(l===void 0&&(l=!1),!this.instance){this.isSVG=o instanceof SVGElement&&o.tagName!=="svg",this.instance=o;var c=this.options,d=c.layoutId,f=c.layout,p=c.visualElement;if(p&&!p.getInstance()&&p.mount(o),this.root.nodes.add(this),(u=this.parent)===null||u===void 0||u.children.add(this),this.id&&this.root.potentialNodes.delete(this.id),l&&(f||d)&&(this.isLayoutDirty=!0),t){var h,g=function(){return s.root.updateBlockedByResize=!1};t(o,function(){s.root.updateBlockedByResize=!0,clearTimeout(h),h=window.setTimeout(g,250),nl.hasAnimatedSinceResize&&(nl.hasAnimatedSinceResize=!1,s.nodes.forEach(i7))})}d&&this.root.registerSharedNode(d,this),this.options.animate!==!1&&p&&(d||f)&&this.addEventListener("didUpdate",function(v){var m,y,b,x,E,k=v.delta,T=v.hasLayoutChanged,A=v.hasRelativeTargetChanged,O=v.layout;if(s.isTreeAnimationBlocked()){s.target=void 0,s.relativeTarget=void 0;return}var B=(y=(m=s.options.transition)!==null&&m!==void 0?m:p.getDefaultTransition())!==null&&y!==void 0?y:f7,H=p.getProps().onLayoutAnimationComplete,G=!s.targetLayout||!R2(s.targetLayout,O)||A,U=!T&&A;if(((b=s.resumeFrom)===null||b===void 0?void 0:b.instance)||U||T&&(G||!s.currentAnimation)){s.resumeFrom&&(s.resumingFrom=s.resumeFrom,s.resumingFrom.resumingFrom=void 0),s.setAnimationOrigin(k,U);var Z=N(N({},uv(B,"layout")),{onComplete:H});p.shouldReduceMotion&&(Z.delay=0,Z.type=!1),s.startAnimation(Z)}else!T&&s.animationProgress===0&&s.finishAnimation(),s.isLead()&&((E=(x=s.options).onExitComplete)===null||E===void 0||E.call(x));s.targetLayout=O})}},a.prototype.unmount=function(){var o,l;this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this),(o=this.getStack())===null||o===void 0||o.remove(this),(l=this.parent)===null||l===void 0||l.children.delete(this),this.instance=void 0,Vo.preRender(this.updateProjection)},a.prototype.blockUpdate=function(){this.updateManuallyBlocked=!0},a.prototype.unblockUpdate=function(){this.updateManuallyBlocked=!1},a.prototype.isUpdateBlocked=function(){return this.updateManuallyBlocked||this.updateBlockedByResize},a.prototype.isTreeAnimationBlocked=function(){var o;return this.isAnimationBlocked||((o=this.parent)===null||o===void 0?void 0:o.isTreeAnimationBlocked())||!1},a.prototype.startUpdate=function(){var o;this.isUpdateBlocked()||(this.isUpdating=!0,(o=this.nodes)===null||o===void 0||o.forEach(l7))},a.prototype.willUpdate=function(o){var l,s,u;if(o===void 0&&(o=!0),this.root.isUpdateBlocked()){(s=(l=this.options).onExitComplete)===null||s===void 0||s.call(l);return}if(!this.root.isUpdating&&this.root.startUpdate(),!this.isLayoutDirty){this.isLayoutDirty=!0;for(var c=0;c<this.path.length;c++){var d=this.path[c];d.shouldResetTransform=!0,d.updateScroll()}var f=this.options,p=f.layoutId,h=f.layout;if(!(p===void 0&&!h)){var g=(u=this.options.visualElement)===null||u===void 0?void 0:u.getProps().transformTemplate;this.prevTransformTemplateValue=g==null?void 0:g(this.latestValues,""),this.updateSnapshot(),o&&this.notifyListeners("willUpdate")}}},a.prototype.didUpdate=function(){var o=this.isUpdateBlocked();if(o){this.unblockUpdate(),this.clearAllSnapshots(),this.nodes.forEach(D2);return}!this.isUpdating||(this.isUpdating=!1,this.potentialNodes.size&&(this.potentialNodes.forEach(d7),this.potentialNodes.clear()),this.nodes.forEach(n7),this.nodes.forEach(e7),this.nodes.forEach(t7),this.clearAllSnapshots(),Dp.update(),Dp.preRender(),Dp.render())},a.prototype.clearAllSnapshots=function(){this.nodes.forEach(r7),this.sharedNodes.forEach(s7)},a.prototype.scheduleUpdateProjection=function(){dr.preRender(this.updateProjection,!1,!0)},a.prototype.scheduleCheckAfterUnmount=function(){var o=this;dr.postRender(function(){o.isLayoutDirty?o.root.didUpdate():o.root.checkUpdateFailed()})},a.prototype.updateSnapshot=function(){if(!(this.snapshot||!this.instance)){var o=this.measure(),l=this.removeTransform(this.removeElementScroll(o));j2(l),this.snapshot={measured:o,layout:l,latestValues:{}}}},a.prototype.updateLayout=function(){var o;if(!!this.instance&&(this.updateScroll(),!(!(this.options.alwaysMeasureLayout&&this.isLead())&&!this.isLayoutDirty))){if(this.resumeFrom&&!this.resumeFrom.instance)for(var l=0;l<this.path.length;l++){var s=this.path[l];s.updateScroll()}var u=this.measure();j2(u);var c=this.layout;this.layout={measured:u,actual:this.removeElementScroll(u)},this.layoutCorrected=at(),this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners("measure",this.layout.actual),(o=this.options.visualElement)===null||o===void 0||o.notifyLayoutMeasure(this.layout.actual,c==null?void 0:c.actual)}},a.prototype.updateScroll=function(){this.options.layoutScroll&&this.instance&&(this.scroll=n(this.instance))},a.prototype.resetTransform=function(){var o;if(!!i){var l=this.isLayoutDirty||this.shouldResetTransform,s=this.projectionDelta&&!F2(this.projectionDelta),u=(o=this.options.visualElement)===null||o===void 0?void 0:o.getProps().transformTemplate,c=u==null?void 0:u(this.latestValues,""),d=c!==this.prevTransformTemplateValue;l&&(s||hn(this.latestValues)||d)&&(i(this.instance,c),this.shouldResetTransform=!1,this.scheduleRender())}},a.prototype.measure=function(){var o=this.options.visualElement;if(!o)return at();var l=o.measureViewportBox(),s=this.root.scroll;return s&&(Qi(l.x,s.x),Qi(l.y,s.y)),l},a.prototype.removeElementScroll=function(o){var l=at();vr(l,o);for(var s=0;s<this.path.length;s++){var u=this.path[s],c=u.scroll,d=u.options;u!==this.root&&c&&d.layoutScroll&&(Qi(l.x,c.x),Qi(l.y,c.y))}return l},a.prototype.applyTransform=function(o,l){l===void 0&&(l=!1);var s=at();vr(s,o);for(var u=0;u<this.path.length;u++){var c=this.path[u];!l&&c.options.layoutScroll&&c.scroll&&c!==c.root&&Ji(s,{x:-c.scroll.x,y:-c.scroll.y}),hn(c.latestValues)&&Ji(s,c.latestValues)}return hn(this.latestValues)&&Ji(s,this.latestValues),s},a.prototype.removeTransform=function(o){var l,s=at();vr(s,o);for(var u=0;u<this.path.length;u++){var c=this.path[u];if(!!c.instance&&!!hn(c.latestValues)){g2(c.latestValues)&&c.updateSnapshot();var d=at(),f=c.measure();vr(d,f),_2(s,c.latestValues,(l=c.snapshot)===null||l===void 0?void 0:l.layout,d)}}return hn(this.latestValues)&&_2(s,this.latestValues),s},a.prototype.setTargetDelta=function(o){this.targetDelta=o,this.root.scheduleUpdateProjection()},a.prototype.setOptions=function(o){var l;this.options=N(N(N({},this.options),o),{crossfade:(l=o.crossfade)!==null&&l!==void 0?l:!0})},a.prototype.clearMeasurements=function(){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},a.prototype.resolveTargetDelta=function(){var o,l=this.options,s=l.layout,u=l.layoutId;!this.layout||!(s||u)||(!this.targetDelta&&!this.relativeTarget&&(this.relativeParent=this.getClosestProjectingParent(),this.relativeParent&&this.relativeParent.layout&&(this.relativeTarget=at(),this.relativeTargetOrigin=at(),Jo(this.relativeTargetOrigin,this.layout.actual,this.relativeParent.layout.actual),vr(this.relativeTarget,this.relativeTargetOrigin))),!(!this.relativeTarget&&!this.targetDelta)&&(this.target||(this.target=at(),this.targetWithTransforms=at()),this.relativeTarget&&this.relativeTargetOrigin&&((o=this.relativeParent)===null||o===void 0?void 0:o.target)?VA(this.target,this.relativeTarget,this.relativeParent.target):this.targetDelta?(Boolean(this.resumingFrom)?this.target=this.applyTransform(this.layout.actual):vr(this.target,this.layout.actual),x2(this.target,this.targetDelta)):vr(this.target,this.layout.actual),this.attemptToResolveRelativeTarget&&(this.attemptToResolveRelativeTarget=!1,this.relativeParent=this.getClosestProjectingParent(),this.relativeParent&&Boolean(this.relativeParent.resumingFrom)===Boolean(this.resumingFrom)&&!this.relativeParent.options.layoutScroll&&this.relativeParent.target&&(this.relativeTarget=at(),this.relativeTargetOrigin=at(),Jo(this.relativeTargetOrigin,this.target,this.relativeParent.target),vr(this.relativeTarget,this.relativeTargetOrigin)))))},a.prototype.getClosestProjectingParent=function(){if(!(!this.parent||hn(this.parent.latestValues)))return(this.parent.relativeTarget||this.parent.targetDelta)&&this.parent.layout?this.parent:this.parent.getClosestProjectingParent()},a.prototype.calcProjection=function(){var o,l=this.options,s=l.layout,u=l.layoutId;if(this.isTreeAnimating=Boolean(((o=this.parent)===null||o===void 0?void 0:o.isTreeAnimating)||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),!(!this.layout||!(s||u))){var c=this.getLead();vr(this.layoutCorrected,this.layout.actual),DA(this.layoutCorrected,this.treeScale,this.path,Boolean(this.resumingFrom)||this!==c);var d=c.target;if(!!d){this.projectionDelta||(this.projectionDelta=el(),this.projectionDeltaWithTransform=el());var f=this.treeScale.x,p=this.treeScale.y,h=this.projectionTransform;Qo(this.projectionDelta,this.layoutCorrected,d,this.latestValues),this.projectionTransform=I2(this.projectionDelta,this.treeScale),(this.projectionTransform!==h||this.treeScale.x!==f||this.treeScale.y!==p)&&(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",d))}}},a.prototype.hide=function(){this.isVisible=!1},a.prototype.show=function(){this.isVisible=!0},a.prototype.scheduleRender=function(o){var l,s,u;o===void 0&&(o=!0),(s=(l=this.options).scheduleRender)===null||s===void 0||s.call(l),o&&((u=this.getStack())===null||u===void 0||u.scheduleRender()),this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)},a.prototype.setAnimationOrigin=function(o,l){var s=this,u;l===void 0&&(l=!1);var c=this.snapshot,d=(c==null?void 0:c.latestValues)||{},f=N({},this.latestValues),p=el();this.relativeTarget=this.relativeTargetOrigin=void 0,this.attemptToResolveRelativeTarget=!l;var h=at(),g=c==null?void 0:c.isShared,v=(((u=this.getStack())===null||u===void 0?void 0:u.members.length)||0)<=1,m=Boolean(g&&!v&&this.options.crossfade===!0&&!this.path.some(c7));this.animationProgress=0,this.mixTargetDelta=function(y){var b,x=y/1e3;z2(p.x,o.x,x),z2(p.y,o.y,x),s.setTargetDelta(p),s.relativeTarget&&s.relativeTargetOrigin&&s.layout&&((b=s.relativeParent)===null||b===void 0?void 0:b.layout)&&(Jo(h,s.layout.actual,s.relativeParent.layout.actual),u7(s.relativeTarget,s.relativeTargetOrigin,h,x)),g&&(s.animationValues=f,LA(f,d,s.latestValues,x,m,v)),s.root.scheduleUpdateProjection(),s.scheduleRender(),s.animationProgress=x},this.mixTargetDelta(0)},a.prototype.startAnimation=function(o){var l=this,s,u;(s=this.currentAnimation)===null||s===void 0||s.stop(),this.resumingFrom&&((u=this.resumingFrom.currentAnimation)===null||u===void 0||u.stop()),this.pendingAnimation&&(Vo.update(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=dr.update(function(){nl.hasAnimatedSinceResize=!0,l.currentAnimation=RA(0,B2,N(N({},o),{onUpdate:function(c){var d;l.mixTargetDelta(c),(d=o.onUpdate)===null||d===void 0||d.call(o,c)},onComplete:function(){var c;(c=o.onComplete)===null||c===void 0||c.call(o),l.completeAnimation()}})),l.resumingFrom&&(l.resumingFrom.currentAnimation=l.currentAnimation),l.pendingAnimation=void 0})},a.prototype.completeAnimation=function(){var o;this.resumingFrom&&(this.resumingFrom.currentAnimation=void 0,this.resumingFrom.preserveOpacity=void 0),(o=this.getStack())===null||o===void 0||o.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")},a.prototype.finishAnimation=function(){var o;this.currentAnimation&&((o=this.mixTargetDelta)===null||o===void 0||o.call(this,B2),this.currentAnimation.stop()),this.completeAnimation()},a.prototype.applyTransformsToTarget=function(){var o=this.getLead(),l=o.targetWithTransforms,s=o.target,u=o.layout,c=o.latestValues;!l||!s||!u||(vr(l,s),Ji(l,c),Qo(this.projectionDeltaWithTransform,this.layoutCorrected,l,c))},a.prototype.registerSharedNode=function(o,l){var s,u,c;this.sharedNodes.has(o)||this.sharedNodes.set(o,new UA);var d=this.sharedNodes.get(o);d.add(l),l.promote({transition:(s=l.options.initialPromotionConfig)===null||s===void 0?void 0:s.transition,preserveFollowOpacity:(c=(u=l.options.initialPromotionConfig)===null||u===void 0?void 0:u.shouldPreserveFollowOpacity)===null||c===void 0?void 0:c.call(u,l)})},a.prototype.isLead=function(){var o=this.getStack();return o?o.lead===this:!0},a.prototype.getLead=function(){var o,l=this.options.layoutId;return l?((o=this.getStack())===null||o===void 0?void 0:o.lead)||this:this},a.prototype.getPrevLead=function(){var o,l=this.options.layoutId;return l?(o=this.getStack())===null||o===void 0?void 0:o.prevLead:void 0},a.prototype.getStack=function(){var o=this.options.layoutId;if(o)return this.root.sharedNodes.get(o)},a.prototype.promote=function(o){var l=o===void 0?{}:o,s=l.needsReset,u=l.transition,c=l.preserveFollowOpacity,d=this.getStack();d&&d.promote(this,c),s&&(this.projectionDelta=void 0,this.needsReset=!0),u&&this.setOptions({transition:u})},a.prototype.relegate=function(){var o=this.getStack();return o?o.relegate(this):!1},a.prototype.resetRotation=function(){var o=this.options.visualElement;if(!!o){for(var l=!1,s={},u=0;u<pv.length;u++){var c=pv[u],d="rotate"+c;!o.getStaticValue(d)||(l=!0,s[d]=o.getStaticValue(d),o.setStaticValue(d,0))}if(!!l){o==null||o.syncRender();for(var d in s)o.setStaticValue(d,s[d]);o.scheduleRender()}}},a.prototype.getProjectionStyles=function(o){var l,s,u,c,d,f;o===void 0&&(o={});var p={};if(!this.instance||this.isSVG)return p;if(this.isVisible)p.visibility="";else return{visibility:"hidden"};var h=(l=this.options.visualElement)===null||l===void 0?void 0:l.getProps().transformTemplate;if(this.needsReset)return this.needsReset=!1,p.opacity="",p.pointerEvents=Hu(o.pointerEvents)||"",p.transform=h?h(this.latestValues,""):"none",p;var g=this.getLead();if(!this.projectionDelta||!this.layout||!g.target){var v={};return this.options.layoutId&&(v.opacity=(s=this.latestValues.opacity)!==null&&s!==void 0?s:1,v.pointerEvents=Hu(o.pointerEvents)||""),this.hasProjected&&!hn(this.latestValues)&&(v.transform=h?h({},""):"none",this.hasProjected=!1),v}var m=g.animationValues||g.latestValues;this.applyTransformsToTarget(),p.transform=I2(this.projectionDeltaWithTransform,this.treeScale,m),h&&(p.transform=h(m,p.transform));var y=this.projectionDelta,b=y.x,x=y.y;p.transformOrigin="".concat(b.origin*100,"% ").concat(x.origin*100,"% 0"),g.animationValues?p.opacity=g===this?(c=(u=m.opacity)!==null&&u!==void 0?u:this.latestValues.opacity)!==null&&c!==void 0?c:1:this.preserveOpacity?this.latestValues.opacity:m.opacityExit:p.opacity=g===this?(d=m.opacity)!==null&&d!==void 0?d:"":(f=m.opacityExit)!==null&&f!==void 0?f:0;for(var E in Wu)if(m[E]!==void 0){var k=Wu[E],T=k.correct,A=k.applyTo,O=T(m[E],g);if(A)for(var B=A.length,H=0;H<B;H++)p[A[H]]=O;else p[E]=O}return this.options.layoutId&&(p.pointerEvents=g===this?Hu(o.pointerEvents)||"":"none"),p},a.prototype.clearSnapshot=function(){this.resumeFrom=this.snapshot=void 0},a.prototype.resetTree=function(){this.root.nodes.forEach(function(o){var l;return(l=o.currentAnimation)===null||l===void 0?void 0:l.stop()}),this.root.nodes.forEach(D2),this.root.sharedNodes.clear()},a}()}function e7(e){e.updateLayout()}function t7(e){var t,r,n,i,a=(r=(t=e.resumeFrom)===null||t===void 0?void 0:t.snapshot)!==null&&r!==void 0?r:e.snapshot;if(e.isLead()&&e.layout&&a&&e.hasListeners("didUpdate")){var o=e.layout,l=o.actual,s=o.measured;e.options.animationType==="size"?hr(function(y){var b=a.isShared?a.measured[y]:a.layout[y],x=Mr(b);b.min=l[y].min,b.max=b.min+x}):e.options.animationType==="position"&&hr(function(y){var b=a.isShared?a.measured[y]:a.layout[y],x=Mr(l[y]);b.max=b.min+x});var u=el();Qo(u,l,a.layout);var c=el();a.isShared?Qo(c,e.applyTransform(s,!0),a.measured):Qo(c,l,a.layout);var d=!F2(u),f=!1;if(!e.resumeFrom&&(e.relativeParent=e.getClosestProjectingParent(),e.relativeParent&&!e.relativeParent.resumeFrom)){var p=e.relativeParent,h=p.snapshot,g=p.layout;if(h&&g){var v=at();Jo(v,a.layout,h.layout);var m=at();Jo(m,l,g.actual),R2(v,m)||(f=!0)}}e.notifyListeners("didUpdate",{layout:l,snapshot:a,delta:c,layoutDelta:u,hasLayoutChanged:d,hasRelativeTargetChanged:f})}else e.isLead()&&((i=(n=e.options).onExitComplete)===null||i===void 0||i.call(n));e.options.transition=void 0}function r7(e){e.clearSnapshot()}function D2(e){e.clearMeasurements()}function n7(e){var t=e.options.visualElement;t!=null&&t.getProps().onBeforeLayoutMeasure&&t.notifyBeforeLayoutMeasure(),e.resetTransform()}function i7(e){e.finishAnimation(),e.targetDelta=e.relativeTarget=e.target=void 0}function a7(e){e.resolveTargetDelta()}function o7(e){e.calcProjection()}function l7(e){e.resetRotation()}function s7(e){e.removeLeadSnapshot()}function z2(e,t,r){e.translate=Ie(t.translate,0,r),e.scale=Ie(t.scale,1,r),e.origin=t.origin,e.originPoint=t.originPoint}function N2(e,t,r,n){e.min=Ie(t.min,r.min,n),e.max=Ie(t.max,r.max,n)}function u7(e,t,r,n){N2(e.x,t.x,r.x,n),N2(e.y,t.y,r.y,n)}function c7(e){return e.animationValues&&e.animationValues.opacityExit!==void 0}var f7={duration:.45,ease:[.4,0,.1,1]};function d7(e,t){for(var r=e.root,n=e.path.length-1;n>=0;n--)if(Boolean(e.path[n].instance)){r=e.path[n];break}var i=r&&r!==e.root?r.instance:document,a=i.querySelector('[data-projection-id="'.concat(t,'"]'));a&&e.mount(a,!0)}function V2(e){e.min=Math.round(e.min),e.max=Math.round(e.max)}function j2(e){V2(e.x),V2(e.y)}var p7=1;function v7(){return Do(function(){if(nl.hasEverUpdated)return p7++})}var vv=F.createContext({}),W2=F.createContext({});function h7(e,t,r,n){var i,a=t.layoutId,o=t.layout,l=t.drag,s=t.dragConstraints,u=t.layoutScroll,c=F.useContext(W2);!n||!r||(r==null?void 0:r.projection)||(r.projection=new n(e,r.getLatestValues(),(i=r.parent)===null||i===void 0?void 0:i.projection),r.projection.setOptions({layoutId:a,layout:o,alwaysMeasureLayout:Boolean(l)||s&&Xi(s),visualElement:r,scheduleRender:function(){return r.scheduleRender()},animationType:typeof o=="string"?o:"both",initialPromotionConfig:c,layoutScroll:u}))}var m7=function(e){cb(t,e);function t(){return e!==null&&e.apply(this,arguments)||this}return t.prototype.getSnapshotBeforeUpdate=function(){return this.updateProps(),null},t.prototype.componentDidUpdate=function(){},t.prototype.updateProps=function(){var r=this.props,n=r.visualElement,i=r.props;n&&n.setProps(i)},t.prototype.render=function(){return this.props.children},t}($r.default.Component);function g7(e){var t=e.preloadedFeatures,r=e.createVisualElement,n=e.projectionNodeConstructor,i=e.useRender,a=e.useVisualState,o=e.Component;t&&z9(t);function l(s,u){var c=y7(s);s=N(N({},s),{layoutId:c});var d=F.useContext(Ip),f=null,p=Q9(s),h=d.isStatic?void 0:v7(),g=a(s,d.isStatic);return!d.isStatic&&$o&&(p.visualElement=Y9(o,g,N(N({},d),s),r),h7(h,s,p.visualElement,n||Lo.projectionNodeConstructor),f=j9(s,p.visualElement)),S.createElement(m7,{visualElement:p.visualElement,props:N(N({},d),s)},f,S.createElement(Eu.Provider,{value:p},i(o,s,h,X9(g,p.visualElement,u),g,d.isStatic,p.visualElement)))}return F.forwardRef(l)}function y7(e){var t,r=e.layoutId,n=(t=F.useContext(vv))===null||t===void 0?void 0:t.id;return n&&r!==void 0?n+"-"+r:r}function b7(e){function t(n,i){return i===void 0&&(i={}),g7(e(n,i))}if(typeof Proxy=="undefined")return t;var r=new Map;return new Proxy(t,{get:function(n,i){return r.has(i)||r.set(i,t(i)),r.get(i)}})}var x7=["animate","circle","defs","desc","ellipse","g","image","line","filter","marker","mask","metadata","path","pattern","polygon","polyline","rect","stop","svg","switch","symbol","text","tspan","use","view"];function hv(e){return typeof e!="string"||e.includes("-")?!1:!!(x7.indexOf(e)>-1||/[A-Z]/.test(e))}function H2(e,t){var r=t.layout,n=t.layoutId;return rl(e)||L2(e)||(r||n!==void 0)&&(!!Wu[e]||e==="opacity")}var S7={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"};function w7(e,t,r,n){var i=e.transform,a=e.transformKeys,o=t.enableHardwareAcceleration,l=o===void 0?!0:o,s=t.allowTransformNone,u=s===void 0?!0:s,c="";a.sort(ZA);for(var d=!1,f=a.length,p=0;p<f;p++){var h=a[p];c+="".concat(S7[h]||h,"(").concat(i[h],") "),h==="z"&&(d=!0)}return!d&&l?c+="translateZ(0)":c=c.trim(),n?c=n(i,r?"":c):u&&r&&(c="none"),c}function C7(e){var t=e.originX,r=t===void 0?"50%":t,n=e.originY,i=n===void 0?"50%":n,a=e.originZ,o=a===void 0?0:a;return"".concat(r," ").concat(i," ").concat(o)}function U2(e){return e.startsWith("--")}var E7=function(e,t){return t&&typeof e=="number"?t.transform(e):e};function mv(e,t,r,n){var i,a=e.style,o=e.vars,l=e.transform,s=e.transformKeys,u=e.transformOrigin;s.length=0;var c=!1,d=!1,f=!0;for(var p in t){var h=t[p];if(U2(p)){o[p]=h;continue}var g=l2[p],v=E7(h,g);if(rl(p)){if(c=!0,l[p]=v,s.push(p),!f)continue;h!==((i=g.default)!==null&&i!==void 0?i:0)&&(f=!1)}else L2(p)?(u[p]=v,d=!0):a[p]=v}c?a.transform=w7(e,r,f,n):n?a.transform=n({},""):!t.transform&&a.transform&&(a.transform="none"),d&&(a.transformOrigin=C7(u))}var gv=function(){return{style:{},transform:{},transformKeys:[],transformOrigin:{},vars:{}}};function G2(e,t,r){for(var n in t)!Ar(t[n])&&!H2(n,r)&&(e[n]=t[n])}function k7(e,t,r){var n=e.transformTemplate;return F.useMemo(function(){var i=gv();mv(i,t,{enableHardwareAcceleration:!r},n);var a=i.vars,o=i.style;return N(N({},a),o)},[t])}function T7(e,t,r){var n=e.style||{},i={};return G2(i,n,e),Object.assign(i,k7(e,t,r)),e.transformValues&&(i=e.transformValues(i)),i}function P7(e,t,r){var n={},i=T7(e,t,r);return Boolean(e.drag)&&e.dragListener!==!1&&(n.draggable=!1,i.userSelect=i.WebkitUserSelect=i.WebkitTouchCallout="none",i.touchAction=e.drag===!0?"none":"pan-".concat(e.drag==="x"?"y":"x")),n.style=i,n}var _7=new Set(["initial","animate","exit","style","variants","transition","transformTemplate","transformValues","custom","inherit","layout","layoutId","layoutDependency","onLayoutAnimationComplete","onLayoutMeasure","onBeforeLayoutMeasure","onAnimationStart","onAnimationComplete","onUpdate","onDragStart","onDrag","onDragEnd","onMeasureDragConstraints","onDirectionLock","onDragTransitionEnd","drag","dragControls","dragListener","dragConstraints","dragDirectionLock","dragSnapToOrigin","_dragX","_dragY","dragElastic","dragMomentum","dragPropagation","dragTransition","whileDrag","onPan","onPanStart","onPanEnd","onPanSessionStart","onTap","onTapStart","onTapCancel","onHoverStart","onHoverEnd","whileFocus","whileTap","whileHover","whileInView","onViewportEnter","onViewportLeave","viewport","layoutScroll"]);function Uu(e){return _7.has(e)}var Y2=function(e){return!Uu(e)};function O7(e){!e||(Y2=function(t){return t.startsWith("on")?!Uu(t):e(t)})}try{O7(require("@emotion/is-prop-valid").default)}catch{}function A7(e,t,r){var n={};for(var i in e)(Y2(i)||r===!0&&Uu(i)||!t&&!Uu(i)||e.draggable&&i.startsWith("onDrag"))&&(n[i]=e[i]);return n}function X2(e,t,r){return typeof e=="string"?e:q.transform(t+r*e)}function M7(e,t,r){var n=X2(t,e.x,e.width),i=X2(r,e.y,e.height);return"".concat(n," ").concat(i)}var F7={offset:"stroke-dashoffset",array:"stroke-dasharray"},R7={offset:"strokeDashoffset",array:"strokeDasharray"};function I7(e,t,r,n,i){r===void 0&&(r=1),n===void 0&&(n=0),i===void 0&&(i=!0),e.pathLength=1;var a=i?F7:R7;e[a.offset]=q.transform(-n);var o=q.transform(t),l=q.transform(r);e[a.array]="".concat(o," ").concat(l)}function yv(e,t,r,n){var i=t.attrX,a=t.attrY,o=t.originX,l=t.originY,s=t.pathLength,u=t.pathSpacing,c=u===void 0?1:u,d=t.pathOffset,f=d===void 0?0:d,p=Tt(t,["attrX","attrY","originX","originY","pathLength","pathSpacing","pathOffset"]);mv(e,p,r,n),e.attrs=e.style,e.style={};var h=e.attrs,g=e.style,v=e.dimensions;h.transform&&(v&&(g.transform=h.transform),delete h.transform),v&&(o!==void 0||l!==void 0||g.transform)&&(g.transformOrigin=M7(v,o!==void 0?o:.5,l!==void 0?l:.5)),i!==void 0&&(h.x=i),a!==void 0&&(h.y=a),s!==void 0&&I7(h,s,c,f,!1)}var Z2=function(){return N(N({},gv()),{attrs:{}})};function L7(e,t){var r=F.useMemo(function(){var i=Z2();return yv(i,t,{enableHardwareAcceleration:!1},e.transformTemplate),N(N({},i.attrs),{style:N({},i.style)})},[t]);if(e.style){var n={};G2(n,e.style,e),r.style=N(N({},n),r.style)}return r}function B7(e){e===void 0&&(e=!1);var t=function(r,n,i,a,o,l){var s=o.latestValues,u=hv(r)?L7:P7,c=u(n,s,l),d=A7(n,typeof r=="string",e),f=N(N(N({},d),c),{ref:a});return i&&(f["data-projection-id"]=i),F.createElement(r,f)};return t}var $7=/([a-z])([A-Z])/g,D7="$1-$2",K2=function(e){return e.replace($7,D7).toLowerCase()};function q2(e,t,r,n){var i=t.style,a=t.vars;Object.assign(e.style,i,n&&n.getProjectionStyles(r));for(var o in a)e.style.setProperty(o,a[o])}var Q2=new Set(["baseFrequency","diffuseConstant","kernelMatrix","kernelUnitLength","keySplines","keyTimes","limitingConeAngle","markerHeight","markerWidth","numOctaves","targetX","targetY","surfaceScale","specularConstant","specularExponent","stdDeviation","tableValues","viewBox","gradientTransform","pathLength"]);function J2(e,t){q2(e,t);for(var r in t.attrs)e.setAttribute(Q2.has(r)?r:K2(r),t.attrs[r])}function bv(e){var t=e.style,r={};for(var n in t)(Ar(t[n])||H2(n,e))&&(r[n]=t[n]);return r}function ex(e){var t=bv(e);for(var r in e)if(Ar(e[r])){var n=r==="x"||r==="y"?"attr"+r.toUpperCase():r;t[n]=e[r]}return t}function xv(e){return typeof e=="object"&&typeof e.start=="function"}function tx(e,t,r,n){var i=e.scrapeMotionValuesFromProps,a=e.createRenderState,o=e.onMount,l={latestValues:z7(t,r,n,i),renderState:a()};return o&&(l.mount=function(s){return o(t,s,l)}),l}var rx=function(e){return function(t,r){var n=F.useContext(Eu),i=F.useContext(Bo);return r?tx(e,t,n,i):Do(function(){return tx(e,t,n,i)})}};function z7(e,t,r,n){var i={},a=(r==null?void 0:r.initial)===!1,o=n(e);for(var l in o)i[l]=Hu(o[l]);var s=e.initial,u=e.animate,c=Pu(e),d=mb(e);t&&d&&!c&&e.inherit!==!1&&(s!=null||(s=t.initial),u!=null||(u=t.animate));var f=a||s===!1,p=f?u:s;if(p&&typeof p!="boolean"&&!xv(p)){var h=Array.isArray(p)?p:[p];h.forEach(function(g){var v=hb(e,g);if(!!v){var m=v.transitionEnd;v.transition;var y=Tt(v,["transitionEnd","transition"]);for(var b in y){var x=y[b];if(Array.isArray(x)){var E=f?x.length-1:0;x=x[E]}x!==null&&(i[b]=x)}for(var b in m)i[b]=m[b]}})}return i}var N7={useVisualState:rx({scrapeMotionValuesFromProps:ex,createRenderState:Z2,onMount:function(e,t,r){var n=r.renderState,i=r.latestValues;try{n.dimensions=typeof t.getBBox=="function"?t.getBBox():t.getBoundingClientRect()}catch{n.dimensions={x:0,y:0,width:0,height:0}}yv(n,i,{enableHardwareAcceleration:!1},e.transformTemplate),J2(t,n)}})},V7={useVisualState:rx({scrapeMotionValuesFromProps:bv,createRenderState:gv})};function j7(e,t,r,n,i){var a=t.forwardMotionProps,o=a===void 0?!1:a,l=hv(e)?N7:V7;return N(N({},l),{preloadedFeatures:r,useRender:B7(o),createVisualElement:n,projectionNodeConstructor:i,Component:e})}var me;(function(e){e.Animate="animate",e.Hover="whileHover",e.Tap="whileTap",e.Drag="whileDrag",e.Focus="whileFocus",e.InView="whileInView",e.Exit="exit"})(me||(me={}));function Sv(e,t,r,n){return e.addEventListener(t,r,n),function(){return e.removeEventListener(t,r,n)}}function wv(e,t,r,n){F.useEffect(function(){var i=e.current;if(r&&i)return Sv(i,t,r,n)},[e,t,r,n])}function W7(e){var t=e.whileFocus,r=e.visualElement,n=function(){var a;(a=r.animationState)===null||a===void 0||a.setActive(me.Focus,!0)},i=function(){var a;(a=r.animationState)===null||a===void 0||a.setActive(me.Focus,!1)};wv(r,"focus",t?n:void 0),wv(r,"blur",t?i:void 0)}function nx(e){return typeof PointerEvent!="undefined"&&e instanceof PointerEvent?e.pointerType==="mouse":e instanceof MouseEvent}function ix(e){var t=!!e.touches;return t}function H7(e){return function(t){var r=t instanceof MouseEvent,n=!r||r&&t.button===0;n&&e(t)}}var U7={pageX:0,pageY:0};function G7(e,t){t===void 0&&(t="page");var r=e.touches[0]||e.changedTouches[0],n=r||U7;return{x:n[t+"X"],y:n[t+"Y"]}}function Y7(e,t){return t===void 0&&(t="page"),{x:e[t+"X"],y:e[t+"Y"]}}function Cv(e,t){return t===void 0&&(t="page"),{point:ix(e)?G7(e,t):Y7(e,t)}}var ax=function(e,t){t===void 0&&(t=!1);var r=function(n){return e(n,Cv(n))};return t?H7(r):r},X7=function(){return $o&&window.onpointerdown===null},Z7=function(){return $o&&window.ontouchstart===null},K7=function(){return $o&&window.onmousedown===null},q7={pointerdown:"mousedown",pointermove:"mousemove",pointerup:"mouseup",pointercancel:"mousecancel",pointerover:"mouseover",pointerout:"mouseout",pointerenter:"mouseenter",pointerleave:"mouseleave"},Q7={pointerdown:"touchstart",pointermove:"touchmove",pointerup:"touchend",pointercancel:"touchcancel"};function ox(e){return X7()?e:Z7()?Q7[e]:K7()?q7[e]:e}function ea(e,t,r,n){return Sv(e,ox(t),ax(r,t==="pointerdown"),n)}function Gu(e,t,r,n){return wv(e,ox(t),r&&ax(r,t==="pointerdown"),n)}function lx(e){var t=null;return function(){var r=function(){t=null};return t===null?(t=e,r):!1}}var sx=lx("dragHorizontal"),ux=lx("dragVertical");function cx(e){var t=!1;if(e==="y")t=ux();else if(e==="x")t=sx();else{var r=sx(),n=ux();r&&n?t=function(){r(),n()}:(r&&r(),n&&n())}return t}function fx(){var e=cx(!0);return e?(e(),!1):!0}function dx(e,t,r){return function(n,i){var a;!nx(n)||fx()||((a=e.animationState)===null||a===void 0||a.setActive(me.Hover,t),r==null||r(n,i))}}function J7(e){var t=e.onHoverStart,r=e.onHoverEnd,n=e.whileHover,i=e.visualElement;Gu(i,"pointerenter",t||n?dx(i,!0,t):void 0),Gu(i,"pointerleave",r||n?dx(i,!1,r):void 0)}var px=function(e,t){return t?e===t?!0:px(e,t.parentElement):!1};function Ev(e){return F.useEffect(function(){return function(){return e()}},[])}function eM(e){var t=e.onTap,r=e.onTapStart,n=e.onTapCancel,i=e.whileTap,a=e.visualElement,o=t||r||n||i,l=F.useRef(!1),s=F.useRef(null);function u(){var h;(h=s.current)===null||h===void 0||h.call(s),s.current=null}function c(){var h;return u(),l.current=!1,(h=a.animationState)===null||h===void 0||h.setActive(me.Tap,!1),!fx()}function d(h,g){!c()||(px(a.getInstance(),h.target)?t==null||t(h,g):n==null||n(h,g))}function f(h,g){!c()||n==null||n(h,g)}function p(h,g){var v;u(),!l.current&&(l.current=!0,s.current=Mu(ea(window,"pointerup",d),ea(window,"pointercancel",f)),(v=a.animationState)===null||v===void 0||v.setActive(me.Tap,!0),r==null||r(h,g))}Gu(a,"pointerdown",o?p:void 0),Ev(u)}var kv=new WeakMap,Tv=new WeakMap,tM=function(e){var t;(t=kv.get(e.target))===null||t===void 0||t(e)},rM=function(e){e.forEach(tM)};function nM(e){var t=e.root,r=Tt(e,["root"]),n=t||document;Tv.has(n)||Tv.set(n,{});var i=Tv.get(n),a=JSON.stringify(r);return i[a]||(i[a]=new IntersectionObserver(rM,N({root:t},r))),i[a]}function iM(e,t,r){var n=nM(t);return kv.set(e,r),n.observe(e),function(){kv.delete(e),n.unobserve(e)}}function aM(e){var t=e.visualElement,r=e.whileInView,n=e.onViewportEnter,i=e.onViewportLeave,a=e.viewport,o=a===void 0?{}:a,l=F.useRef({hasEnteredView:!1,isInView:!1}),s=Boolean(r||n||i);o.once&&l.current.hasEnteredView&&(s=!1);var u=typeof IntersectionObserver=="undefined"?sM:lM;u(s,l.current,t,o)}var oM={some:0,all:1};function lM(e,t,r,n){var i=n.root,a=n.margin,o=n.amount,l=o===void 0?"some":o,s=n.once;F.useEffect(function(){if(!!e){var u={root:i==null?void 0:i.current,rootMargin:a,threshold:typeof l=="number"?l:oM[l]},c=function(d){var f,p=d.isIntersecting;if(t.isInView!==p&&(t.isInView=p,!(s&&!p&&t.hasEnteredView))){p&&(t.hasEnteredView=!0),(f=r.animationState)===null||f===void 0||f.setActive(me.InView,p);var h=r.getProps(),g=p?h.onViewportEnter:h.onViewportLeave;g==null||g(d)}};return iM(r.getInstance(),u,c)}},[e,i,a,l])}function sM(e,t,r,n){var i=n.fallback,a=i===void 0?!0:i;F.useEffect(function(){!e||!a||requestAnimationFrame(function(){var o;t.hasEnteredView=!0;var l=r.getProps().onViewportEnter;l==null||l(null),(o=r.animationState)===null||o===void 0||o.setActive(me.InView,!0)})},[e])}var mn=function(e){return function(t){return e(t),null}},uM={inView:mn(aM),tap:mn(eM),focus:mn(W7),hover:mn(J7)},cM=0,fM=function(){return cM++},vx=function(){return Do(fM)};function Pv(){var e=F.useContext(Bo);if(e===null)return[!0,null];var t=e.isPresent,r=e.onExitComplete,n=e.register,i=vx();F.useEffect(function(){return n(i)},[]);var a=function(){return r==null?void 0:r(i)};return!t&&r?[!1,a]:[!0]}function hx(e,t){if(!Array.isArray(t))return!1;var r=t.length;if(r!==e.length)return!1;for(var n=0;n<r;n++)if(t[n]!==e[n])return!1;return!0}var dM=function(e){return/^\-?\d*\.?\d+$/.test(e)},pM=function(e){return/^0[^.\s]+$/.test(e)},mx=function(e){return function(t){return t.test(e)}},vM={test:function(e){return e==="auto"},parse:function(e){return e}},gx=[Zn,q,pr,pn,hO,vO,vM],il=function(e){return gx.find(mx(e))},hM=Qt(Qt([],Re(gx),!1),[ut,Or],!1),mM=function(e){return hM.find(mx(e))};function gM(e,t,r){e.hasValue(t)?e.getValue(t).set(r):e.addValue(t,qi(r))}function yM(e,t){var r=Tu(e,t),n=r?e.makeTargetAnimatable(r,!1):{},i=n.transitionEnd,a=i===void 0?{}:i;n.transition;var o=Tt(n,["transitionEnd","transition"]);o=N(N({},o),a);for(var l in o){var s=s2(o[l]);gM(e,l,s)}}function bM(e,t,r){var n,i,a,o,l=Object.keys(t).filter(function(p){return!e.hasValue(p)}),s=l.length;if(!!s)for(var u=0;u<s;u++){var c=l[u],d=t[c],f=null;Array.isArray(d)&&(f=d[0]),f===null&&(f=(i=(n=r[c])!==null&&n!==void 0?n:e.readValue(c))!==null&&i!==void 0?i:t[c]),f!=null&&(typeof f=="string"&&(dM(f)||pM(f))?f=parseFloat(f):!mM(f)&&Or.test(d)&&(f=sv(c,d)),e.addValue(c,qi(f)),(a=(o=r)[c])!==null&&a!==void 0||(o[c]=f),e.setBaseTarget(c,f))}}function xM(e,t){if(!!t){var r=t[e]||t.default||t;return r.from}}function SM(e,t,r){var n,i,a={};for(var o in e)a[o]=(n=xM(o,t))!==null&&n!==void 0?n:(i=r.getValue(o))===null||i===void 0?void 0:i.get();return a}function wM(e,t,r){r===void 0&&(r={}),e.notifyAnimationStart(t);var n;if(Array.isArray(t)){var i=t.map(function(o){return _v(e,o,r)});n=Promise.all(i)}else if(typeof t=="string")n=_v(e,t,r);else{var a=typeof t=="function"?Tu(e,t,r.custom):t;n=yx(e,a,r)}return n.then(function(){return e.notifyAnimationComplete(t)})}function _v(e,t,r){var n;r===void 0&&(r={});var i=Tu(e,t,r.custom),a=(i||{}).transition,o=a===void 0?e.getDefaultTransition()||{}:a;r.transitionOverride&&(o=r.transitionOverride);var l=i?function(){return yx(e,i,r)}:function(){return Promise.resolve()},s=!((n=e.variantChildren)===null||n===void 0)&&n.size?function(p){p===void 0&&(p=0);var h=o.delayChildren,g=h===void 0?0:h,v=o.staggerChildren,m=o.staggerDirection;return CM(e,t,g+p,v,m,r)}:function(){return Promise.resolve()},u=o.when;if(u){var c=Re(u==="beforeChildren"?[l,s]:[s,l],2),d=c[0],f=c[1];return d().then(f)}else return Promise.all([l(),s(r.delay)])}function yx(e,t,r){var n,i=r===void 0?{}:r,a=i.delay,o=a===void 0?0:a,l=i.transitionOverride,s=i.type,u=e.makeTargetAnimatable(t),c=u.transition,d=c===void 0?e.getDefaultTransition():c,f=u.transitionEnd,p=Tt(u,["transition","transitionEnd"]);l&&(d=l);var h=[],g=s&&((n=e.animationState)===null||n===void 0?void 0:n.getState()[s]);for(var v in p){var m=e.getValue(v),y=p[v];if(!(!m||y===void 0||g&&kM(g,v))){var b=N({delay:o},d);e.shouldReduceMotion&&rl(v)&&(b=N(N({},b),{type:!1,delay:0}));var x=cv(v,m,y,b);h.push(x)}}return Promise.all(h).then(function(){f&&yM(e,f)})}function CM(e,t,r,n,i,a){r===void 0&&(r=0),n===void 0&&(n=0),i===void 0&&(i=1);var o=[],l=(e.variantChildren.size-1)*n,s=i===1?function(u){return u===void 0&&(u=0),u*n}:function(u){return u===void 0&&(u=0),l-u*n};return Array.from(e.variantChildren).sort(EM).forEach(function(u,c){o.push(_v(u,t,N(N({},a),{delay:r+s(c)})).then(function(){return u.notifyAnimationComplete(t)}))}),Promise.all(o)}function EM(e,t){return e.sortNodePosition(t)}function kM(e,t){var r=e.protectedKeys,n=e.needsAnimating,i=r.hasOwnProperty(t)&&n[t]!==!0;return n[t]=!1,i}var Ov=[me.Animate,me.InView,me.Focus,me.Hover,me.Tap,me.Drag,me.Exit],TM=Qt([],Re(Ov),!1).reverse(),PM=Ov.length;function _M(e){return function(t){return Promise.all(t.map(function(r){var n=r.animation,i=r.options;return wM(e,n,i)}))}}function OM(e){var t=_M(e),r=MM(),n={},i=!0,a=function(c,d){var f=Tu(e,d);if(f){f.transition;var p=f.transitionEnd,h=Tt(f,["transition","transitionEnd"]);c=N(N(N({},c),h),p)}return c};function o(c){return n[c]!==void 0}function l(c){t=c(e)}function s(c,d){for(var f,p=e.getProps(),h=e.getVariantContext(!0)||{},g=[],v=new Set,m={},y=1/0,b=function(T){var A=TM[T],O=r[A],B=(f=p[A])!==null&&f!==void 0?f:h[A],H=Jt(B),G=A===d?O.isActive:null;G===!1&&(y=T);var U=B===h[A]&&B!==p[A]&&H;if(U&&i&&e.manuallyAnimateOnMount&&(U=!1),O.protectedKeys=N({},m),!O.isActive&&G===null||!B&&!O.prevProp||xv(B)||typeof B=="boolean")return"continue";var Z=AM(O.prevProp,B),K=Z||A===d&&O.isActive&&!U&&H||T>y&&H,re=Array.isArray(B)?B:[B],ne=re.reduce(a,{});G===!1&&(ne={});var Le=O.prevResolvedValues,be=Le===void 0?{}:Le,Be=N(N({},be),ne),R=function(z){K=!0,v.delete(z),O.needsAnimating[z]=!0};for(var D in Be){var L=ne[D],$=be[D];m.hasOwnProperty(D)||(L!==$?qo(L)&&qo($)?!hx(L,$)||Z?R(D):O.protectedKeys[D]=!0:L!==void 0?R(D):v.add(D):L!==void 0&&v.has(D)?R(D):O.protectedKeys[D]=!0)}O.prevProp=B,O.prevResolvedValues=ne,O.isActive&&(m=N(N({},m),ne)),i&&e.blockInitialAnimation&&(K=!1),K&&!U&&g.push.apply(g,Qt([],Re(re.map(function(z){return{animation:z,options:N({type:A},c)}})),!1))},x=0;x<PM;x++)b(x);if(n=N({},m),v.size){var E={};v.forEach(function(T){var A=e.getBaseTarget(T);A!==void 0&&(E[T]=A)}),g.push({animation:E})}var k=Boolean(g.length);return i&&p.initial===!1&&!e.manuallyAnimateOnMount&&(k=!1),i=!1,k?t(g):Promise.resolve()}function u(c,d,f){var p;if(r[c].isActive===d)return Promise.resolve();(p=e.variantChildren)===null||p===void 0||p.forEach(function(v){var m;return(m=v.animationState)===null||m===void 0?void 0:m.setActive(c,d)}),r[c].isActive=d;var h=s(f,c);for(var g in r)r[g].protectedKeys={};return h}return{isAnimated:o,animateChanges:s,setActive:u,setAnimateFunction:l,getState:function(){return r}}}function AM(e,t){return typeof t=="string"?t!==e:vb(t)?!hx(t,e):!1}function Qn(e){return e===void 0&&(e=!1),{isActive:e,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function MM(){var e;return e={},e[me.Animate]=Qn(!0),e[me.InView]=Qn(),e[me.Hover]=Qn(),e[me.Tap]=Qn(),e[me.Drag]=Qn(),e[me.Focus]=Qn(),e[me.Exit]=Qn(),e}var FM={animation:mn(function(e){var t=e.visualElement,r=e.animate;t.animationState||(t.animationState=OM(t)),xv(r)&&F.useEffect(function(){return r.subscribe(t)},[r])}),exit:mn(function(e){var t=e.custom,r=e.visualElement,n=Re(Pv(),2),i=n[0],a=n[1],o=F.useContext(Bo);F.useEffect(function(){var l,s;r.isPresent=i;var u=(l=r.animationState)===null||l===void 0?void 0:l.setActive(me.Exit,!i,{custom:(s=o==null?void 0:o.custom)!==null&&s!==void 0?s:t});!i&&(u==null||u.then(a))},[i])})},bx=function(){function e(t,r,n){var i=this,a=n===void 0?{}:n,o=a.transformPagePoint;if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.handlers={},this.updatePoint=function(){if(!!(i.lastMoveEvent&&i.lastMoveEventInfo)){var f=Mv(i.lastMoveEventInfo,i.history),p=i.startEvent!==null,h=Qb(f.offset,{x:0,y:0})>=3;if(!(!p&&!h)){var g=f.point,v=zp().timestamp;i.history.push(N(N({},g),{timestamp:v}));var m=i.handlers,y=m.onStart,b=m.onMove;p||(y&&y(i.lastMoveEvent,f),i.startEvent=i.lastMoveEvent),b&&b(i.lastMoveEvent,f)}}},this.handlePointerMove=function(f,p){if(i.lastMoveEvent=f,i.lastMoveEventInfo=Av(p,i.transformPagePoint),nx(f)&&f.buttons===0){i.handlePointerUp(f,p);return}dr.update(i.updatePoint,!0)},this.handlePointerUp=function(f,p){i.end();var h=i.handlers,g=h.onEnd,v=h.onSessionEnd,m=Mv(Av(p,i.transformPagePoint),i.history);i.startEvent&&g&&g(f,m),v&&v(f,m)},!(ix(t)&&t.touches.length>1)){this.handlers=r,this.transformPagePoint=o;var l=Cv(t),s=Av(l,this.transformPagePoint),u=s.point,c=zp().timestamp;this.history=[N(N({},u),{timestamp:c})];var d=r.onSessionStart;d&&d(t,Mv(s,this.history)),this.removeListeners=Mu(ea(window,"pointermove",this.handlePointerMove),ea(window,"pointerup",this.handlePointerUp),ea(window,"pointercancel",this.handlePointerUp))}}return e.prototype.updateHandlers=function(t){this.handlers=t},e.prototype.end=function(){this.removeListeners&&this.removeListeners(),Vo.update(this.updatePoint)},e}();function Av(e,t){return t?{point:t(e.point)}:e}function xx(e,t){return{x:e.x-t.x,y:e.y-t.y}}function Mv(e,t){var r=e.point;return{point:r,delta:xx(r,Sx(t)),offset:xx(r,RM(t)),velocity:IM(t,.1)}}function RM(e){return e[0]}function Sx(e){return e[e.length-1]}function IM(e,t){if(e.length<2)return{x:0,y:0};for(var r=e.length-1,n=null,i=Sx(e);r>=0&&(n=e[r],!(i.timestamp-n.timestamp>Nu(t)));)r--;if(!n)return{x:0,y:0};var a=(i.timestamp-n.timestamp)/1e3;if(a===0)return{x:0,y:0};var o={x:(i.x-n.x)/a,y:(i.y-n.y)/a};return o.x===1/0&&(o.x=0),o.y===1/0&&(o.y=0),o}function LM(e,t,r){var n=t.min,i=t.max;return n!==void 0&&e<n?e=r?Ie(n,e,r.min):Math.max(e,n):i!==void 0&&e>i&&(e=r?Ie(i,e,r.max):Math.min(e,i)),e}function wx(e,t,r){return{min:t!==void 0?e.min+t:void 0,max:r!==void 0?e.max+r-(e.max-e.min):void 0}}function BM(e,t){var r=t.top,n=t.left,i=t.bottom,a=t.right;return{x:wx(e.x,n,a),y:wx(e.y,r,i)}}function Cx(e,t){var r,n=t.min-e.min,i=t.max-e.max;return t.max-t.min<e.max-e.min&&(r=Re([i,n],2),n=r[0],i=r[1]),{min:n,max:i}}function $M(e,t){return{x:Cx(e.x,t.x),y:Cx(e.y,t.y)}}function DM(e,t){var r=.5,n=Mr(e),i=Mr(t);return i>n?r=jo(t.min,t.max-n,e.min):n>i&&(r=jo(e.min,e.max-i,t.min)),Ou(0,1,r)}function zM(e,t){var r={};return t.min!==void 0&&(r.min=t.min-e.min),t.max!==void 0&&(r.max=t.max-e.min),r}var Fv=.35;function NM(e){return e===void 0&&(e=Fv),e===!1?e=0:e===!0&&(e=Fv),{x:Ex(e,"left","right"),y:Ex(e,"top","bottom")}}function Ex(e,t,r){return{min:kx(e,t),max:kx(e,r)}}function kx(e,t){var r;return typeof e=="number"?e:(r=e[t])!==null&&r!==void 0?r:0}function Tx(e){var t=e.top,r=e.left,n=e.right,i=e.bottom;return{x:{min:r,max:n},y:{min:t,max:i}}}function VM(e){var t=e.x,r=e.y;return{top:r.min,right:t.max,bottom:r.max,left:t.min}}function jM(e,t){if(!t)return e;var 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}}function Px(e,t){return Tx(jM(e.getBoundingClientRect(),t))}function WM(e,t,r){var n=Px(e,r),i=t.scroll;return i&&(Qi(n.x,i.x),Qi(n.y,i.y)),n}var HM=new WeakMap,UM=function(){function e(t){this.openGlobalLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic=at(),this.visualElement=t}return e.prototype.start=function(t,r){var n=this,i=r===void 0?{}:r,a=i.snapToCursor,o=a===void 0?!1:a;if(this.visualElement.isPresent!==!1){var l=function(d){n.stopAnimation(),o&&n.snapToCursor(Cv(d,"page").point)},s=function(d,f){var p,h=n.getProps(),g=h.drag,v=h.dragPropagation,m=h.onDragStart;g&&!v&&(n.openGlobalLock&&n.openGlobalLock(),n.openGlobalLock=cx(g),!n.openGlobalLock)||(n.isDragging=!0,n.currentDirection=null,n.resolveConstraints(),n.visualElement.projection&&(n.visualElement.projection.isAnimationBlocked=!0,n.visualElement.projection.target=void 0),hr(function(y){var b,x,E=n.getAxisMotionValue(y).get()||0;if(pr.test(E)){var k=(x=(b=n.visualElement.projection)===null||b===void 0?void 0:b.layout)===null||x===void 0?void 0:x.actual[y];if(k){var T=Mr(k);E=T*(parseFloat(E)/100)}}n.originPoint[y]=E}),m==null||m(d,f),(p=n.visualElement.animationState)===null||p===void 0||p.setActive(me.Drag,!0))},u=function(d,f){var p=n.getProps(),h=p.dragPropagation,g=p.dragDirectionLock,v=p.onDirectionLock,m=p.onDrag;if(!(!h&&!n.openGlobalLock)){var y=f.offset;if(g&&n.currentDirection===null){n.currentDirection=GM(y),n.currentDirection!==null&&(v==null||v(n.currentDirection));return}n.updateAxis("x",f.point,y),n.updateAxis("y",f.point,y),n.visualElement.syncRender(),m==null||m(d,f)}},c=function(d,f){return n.stop(d,f)};this.panSession=new bx(t,{onSessionStart:l,onStart:s,onMove:u,onSessionEnd:c},{transformPagePoint:this.visualElement.getTransformPagePoint()})}},e.prototype.stop=function(t,r){var n=this.isDragging;if(this.cancel(),!!n){var i=r.velocity;this.startAnimation(i);var a=this.getProps().onDragEnd;a==null||a(t,r)}},e.prototype.cancel=function(){var t,r;this.isDragging=!1,this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!1),(t=this.panSession)===null||t===void 0||t.end(),this.panSession=void 0;var n=this.getProps().dragPropagation;!n&&this.openGlobalLock&&(this.openGlobalLock(),this.openGlobalLock=null),(r=this.visualElement.animationState)===null||r===void 0||r.setActive(me.Drag,!1)},e.prototype.updateAxis=function(t,r,n){var i=this.getProps().drag;if(!(!n||!Yu(t,i,this.currentDirection))){var a=this.getAxisMotionValue(t),o=this.originPoint[t]+n[t];this.constraints&&this.constraints[t]&&(o=LM(o,this.constraints[t],this.elastic[t])),a.set(o)}},e.prototype.resolveConstraints=function(){var t=this,r=this.getProps(),n=r.dragConstraints,i=r.dragElastic,a=(this.visualElement.projection||{}).layout,o=this.constraints;n&&Xi(n)?this.constraints||(this.constraints=this.resolveRefConstraints()):n&&a?this.constraints=BM(a.actual,n):this.constraints=!1,this.elastic=NM(i),o!==this.constraints&&a&&this.constraints&&!this.hasMutatedConstraints&&hr(function(l){t.getAxisMotionValue(l)&&(t.constraints[l]=zM(a.actual[l],t.constraints[l]))})},e.prototype.resolveRefConstraints=function(){var t=this.getProps(),r=t.dragConstraints,n=t.onMeasureDragConstraints;if(!r||!Xi(r))return!1;var i=r.current,a=this.visualElement.projection;if(!a||!a.layout)return!1;var o=WM(i,a.root,this.visualElement.getTransformPagePoint()),l=$M(a.layout.actual,o);if(n){var s=n(VM(l));this.hasMutatedConstraints=!!s,s&&(l=Tx(s))}return l},e.prototype.startAnimation=function(t){var r=this,n=this.getProps(),i=n.drag,a=n.dragMomentum,o=n.dragElastic,l=n.dragTransition,s=n.dragSnapToOrigin,u=n.onDragTransitionEnd,c=this.constraints||{},d=hr(function(f){var p;if(!!Yu(f,i,r.currentDirection)){var h=(p=c==null?void 0:c[f])!==null&&p!==void 0?p:{};s&&(h={min:0,max:0});var g=o?200:1e6,v=o?40:1e7,m=N(N({type:"inertia",velocity:a?t[f]:0,bounceStiffness:g,bounceDamping:v,timeConstant:750,restDelta:1,restSpeed:10},l),h);return r.startAxisValueAnimation(f,m)}});return Promise.all(d).then(u)},e.prototype.startAxisValueAnimation=function(t,r){var n=this.getAxisMotionValue(t);return cv(t,n,0,r)},e.prototype.stopAnimation=function(){var t=this;hr(function(r){return t.getAxisMotionValue(r).stop()})},e.prototype.getAxisMotionValue=function(t){var r,n,i="_drag"+t.toUpperCase(),a=this.visualElement.getProps()[i];return a||this.visualElement.getValue(t,(n=(r=this.visualElement.getProps().initial)===null||r===void 0?void 0:r[t])!==null&&n!==void 0?n:0)},e.prototype.snapToCursor=function(t){var r=this;hr(function(n){var i=r.getProps().drag;if(!!Yu(n,i,r.currentDirection)){var a=r.visualElement.projection,o=r.getAxisMotionValue(n);if(a&&a.layout){var l=a.layout.actual[n],s=l.min,u=l.max;o.set(t[n]-Ie(s,u,.5))}}})},e.prototype.scalePositionWithinConstraints=function(){var t=this,r,n=this.getProps(),i=n.drag,a=n.dragConstraints,o=this.visualElement.projection;if(!(!Xi(a)||!o||!this.constraints)){this.stopAnimation();var l={x:0,y:0};hr(function(u){var c=t.getAxisMotionValue(u);if(c){var d=c.get();l[u]=DM({min:d,max:d},t.constraints[u])}});var s=this.visualElement.getProps().transformTemplate;this.visualElement.getInstance().style.transform=s?s({},""):"none",(r=o.root)===null||r===void 0||r.updateScroll(),o.updateLayout(),this.resolveConstraints(),hr(function(u){if(!!Yu(u,i,null)){var c=t.getAxisMotionValue(u),d=t.constraints[u],f=d.min,p=d.max;c.set(Ie(f,p,l[u]))}})}},e.prototype.addListeners=function(){var t=this,r;HM.set(this.visualElement,this);var n=this.visualElement.getInstance(),i=ea(n,"pointerdown",function(u){var c=t.getProps(),d=c.drag,f=c.dragListener,p=f===void 0?!0:f;d&&p&&t.start(u)}),a=function(){var u=t.getProps().dragConstraints;Xi(u)&&(t.constraints=t.resolveRefConstraints())},o=this.visualElement.projection,l=o.addEventListener("measure",a);o&&!o.layout&&((r=o.root)===null||r===void 0||r.updateScroll(),o.updateLayout()),a();var s=Sv(window,"resize",function(){t.scalePositionWithinConstraints()});return o.addEventListener("didUpdate",function(u){var c=u.delta,d=u.hasLayoutChanged;t.isDragging&&d&&(hr(function(f){var p=t.getAxisMotionValue(f);!p||(t.originPoint[f]+=c[f].translate,p.set(p.get()+c[f].translate))}),t.visualElement.syncRender())}),function(){s(),i(),l()}},e.prototype.getProps=function(){var t=this.visualElement.getProps(),r=t.drag,n=r===void 0?!1:r,i=t.dragDirectionLock,a=i===void 0?!1:i,o=t.dragPropagation,l=o===void 0?!1:o,s=t.dragConstraints,u=s===void 0?!1:s,c=t.dragElastic,d=c===void 0?Fv:c,f=t.dragMomentum,p=f===void 0?!0:f;return N(N({},t),{drag:n,dragDirectionLock:a,dragPropagation:l,dragConstraints:u,dragElastic:d,dragMomentum:p})},e}();function Yu(e,t,r){return(t===!0||t===e)&&(r===null||r===e)}function GM(e,t){t===void 0&&(t=10);var r=null;return Math.abs(e.y)>t?r="y":Math.abs(e.x)>t&&(r="x"),r}function YM(e){var t=e.dragControls,r=e.visualElement,n=Do(function(){return new UM(r)});F.useEffect(function(){return t&&t.subscribe(n)},[n,t]),F.useEffect(function(){return n.addListeners()},[n])}function XM(e){var t=e.onPan,r=e.onPanStart,n=e.onPanEnd,i=e.onPanSessionStart,a=e.visualElement,o=t||r||n||i,l=F.useRef(null),s=F.useContext(Ip).transformPagePoint,u={onSessionStart:i,onStart:r,onMove:t,onEnd:function(d,f){l.current=null,n&&n(d,f)}};F.useEffect(function(){l.current!==null&&l.current.updateHandlers(u)});function c(d){l.current=new bx(d,u,{transformPagePoint:s})}Gu(a,"pointerdown",o&&c),Ev(function(){return l.current&&l.current.end()})}var ZM={pan:mn(XM),drag:mn(YM)},Xu=["LayoutMeasure","BeforeLayoutMeasure","LayoutUpdate","ViewportBoxUpdate","Update","Render","AnimationComplete","LayoutAnimationComplete","AnimationStart","SetAxisTarget","Unmount"];function KM(){var e=Xu.map(function(){return new Ko}),t={},r={clearAllListeners:function(){return e.forEach(function(n){return n.clear()})},updatePropListeners:function(n){Xu.forEach(function(i){var a,o="on"+i,l=n[o];(a=t[i])===null||a===void 0||a.call(t),l&&(t[i]=r[o](l))})}};return e.forEach(function(n,i){r["on"+Xu[i]]=function(a){return n.add(a)},r["notify"+Xu[i]]=function(){for(var a=[],o=0;o<arguments.length;o++)a[o]=arguments[o];return n.notify.apply(n,Qt([],Re(a),!1))}}),r}function qM(e,t,r){var n;for(var i in t){var a=t[i],o=r[i];if(Ar(a))e.addValue(i,a);else if(Ar(o))e.addValue(i,qi(a));else if(o!==a)if(e.hasValue(i)){var l=e.getValue(i);!l.hasAnimated&&l.set(a)}else e.addValue(i,qi((n=e.getStaticValue(i))!==null&&n!==void 0?n:a))}for(var i in r)t[i]===void 0&&e.removeValue(i);return t}var _x=function(e){var t=e.treeType,r=t===void 0?"":t,n=e.build,i=e.getBaseTarget,a=e.makeTargetAnimatable,o=e.measureViewportBox,l=e.render,s=e.readValueFromInstance,u=e.removeValueFromRenderState,c=e.sortNodePosition,d=e.scrapeMotionValuesFromProps;return function(f,p){var h=f.parent,g=f.props,v=f.presenceId,m=f.blockInitialAnimation,y=f.visualState,b=f.shouldReduceMotion;p===void 0&&(p={});var x=!1,E=y.latestValues,k=y.renderState,T,A=KM(),O=new Map,B=new Map,H={},G=N({},E),U;function Z(){!T||!x||(K(),l(T,k,g.style,L.projection))}function K(){n(L,k,E,p,g)}function re(){A.notifyUpdate(E)}function ne($,z){var ee=z.onChange(function(xe){E[$]=xe,g.onUpdate&&dr.update(re,!1,!0)}),de=z.onRenderRequest(L.scheduleRender);B.set($,function(){ee(),de()})}var Le=d(g);for(var be in Le){var Be=Le[be];E[be]!==void 0&&Ar(Be)&&Be.set(E[be],!1)}var R=Pu(g),D=mb(g),L=N(N({treeType:r,current:null,depth:h?h.depth+1:0,parent:h,children:new Set,presenceId:v,shouldReduceMotion:b,variantChildren:D?new Set:void 0,isVisible:void 0,manuallyAnimateOnMount:Boolean(h==null?void 0:h.isMounted()),blockInitialAnimation:m,isMounted:function(){return Boolean(T)},mount:function($){x=!0,T=L.current=$,L.projection&&L.projection.mount($),D&&h&&!R&&(U=h==null?void 0:h.addVariantChild(L)),O.forEach(function(z,ee){return ne(ee,z)}),h==null||h.children.add(L),L.setProps(g)},unmount:function(){var $;($=L.projection)===null||$===void 0||$.unmount(),Vo.update(re),Vo.render(Z),B.forEach(function(z){return z()}),U==null||U(),h==null||h.children.delete(L),A.clearAllListeners(),T=void 0,x=!1},addVariantChild:function($){var z,ee=L.getClosestVariantNode();if(ee)return(z=ee.variantChildren)===null||z===void 0||z.add($),function(){return ee.variantChildren.delete($)}},sortNodePosition:function($){return!c||r!==$.treeType?0:c(L.getInstance(),$.getInstance())},getClosestVariantNode:function(){return D?L:h==null?void 0:h.getClosestVariantNode()},getLayoutId:function(){return g.layoutId},getInstance:function(){return T},getStaticValue:function($){return E[$]},setStaticValue:function($,z){return E[$]=z},getLatestValues:function(){return E},setVisibility:function($){L.isVisible!==$&&(L.isVisible=$,L.scheduleRender())},makeTargetAnimatable:function($,z){return z===void 0&&(z=!0),a(L,$,g,z)},measureViewportBox:function(){return o(T,g)},addValue:function($,z){L.hasValue($)&&L.removeValue($),O.set($,z),E[$]=z.get(),ne($,z)},removeValue:function($){var z;O.delete($),(z=B.get($))===null||z===void 0||z(),B.delete($),delete E[$],u($,k)},hasValue:function($){return O.has($)},getValue:function($,z){var ee=O.get($);return ee===void 0&&z!==void 0&&(ee=qi(z),L.addValue($,ee)),ee},forEachValue:function($){return O.forEach($)},readValue:function($){var z;return(z=E[$])!==null&&z!==void 0?z:s(T,$,p)},setBaseTarget:function($,z){G[$]=z},getBaseTarget:function($){if(i){var z=i(g,$);if(z!==void 0&&!Ar(z))return z}return G[$]}},A),{build:function(){return K(),k},scheduleRender:function(){dr.render(Z,!1,!0)},syncRender:Z,setProps:function($){($.transformTemplate||g.transformTemplate)&&L.scheduleRender(),g=$,A.updatePropListeners($),H=qM(L,d(g),H)},getProps:function(){return g},getVariant:function($){var z;return(z=g.variants)===null||z===void 0?void 0:z[$]},getDefaultTransition:function(){return g.transition},getTransformPagePoint:function(){return g.transformPagePoint},getVariantContext:function($){if($===void 0&&($=!1),$)return h==null?void 0:h.getVariantContext();if(!R){var z=(h==null?void 0:h.getVariantContext())||{};return g.initial!==void 0&&(z.initial=g.initial),z}for(var ee={},de=0;de<QM;de++){var xe=Ox[de],We=g[xe];(Jt(We)||We===!1)&&(ee[xe]=We)}return ee}});return L}},Ox=Qt(["initial"],Re(Ov),!1),QM=Ox.length;function Rv(e){return typeof e=="string"&&e.startsWith("var(--")}var Ax=/var\((--[a-zA-Z0-9-_]+),? ?([a-zA-Z0-9 ()%#.,-]+)?\)/;function JM(e){var t=Ax.exec(e);if(!t)return[,];var r=Re(t,3),n=r[1],i=r[2];return[n,i]}function Iv(e,t,r){var n=Re(JM(e),2),i=n[0],a=n[1];if(!!i){var o=window.getComputedStyle(t).getPropertyValue(i);return o?o.trim():Rv(a)?Iv(a,t):a}}function eF(e,t,r){var n,i=Tt(t,[]),a=e.getInstance();if(!(a instanceof Element))return{target:i,transitionEnd:r};r&&(r=N({},r)),e.forEachValue(function(u){var c=u.get();if(!!Rv(c)){var d=Iv(c,a);d&&u.set(d)}});for(var o in i){var l=i[o];if(!!Rv(l)){var s=Iv(l,a);!s||(i[o]=s,r&&((n=r[o])!==null&&n!==void 0||(r[o]=l)))}}return{target:i,transitionEnd:r}}var tF=new Set(["width","height","top","left","right","bottom","x","y"]),Mx=function(e){return tF.has(e)},rF=function(e){return Object.keys(e).some(Mx)},Fx=function(e,t){e.set(t,!1),e.set(t)},Rx=function(e){return e===Zn||e===q},Ix;(function(e){e.width="width",e.height="height",e.left="left",e.right="right",e.top="top",e.bottom="bottom"})(Ix||(Ix={}));var Lx=function(e,t){return parseFloat(e.split(", ")[t])},Bx=function(e,t){return function(r,n){var i=n.transform;if(i==="none"||!i)return 0;var a=i.match(/^matrix3d\((.+)\)$/);if(a)return Lx(a[1],t);var o=i.match(/^matrix\((.+)\)$/);return o?Lx(o[1],e):0}},nF=new Set(["x","y","z"]),iF=tl.filter(function(e){return!nF.has(e)});function aF(e){var t=[];return iF.forEach(function(r){var n=e.getValue(r);n!==void 0&&(t.push([r,n.get()]),n.set(r.startsWith("scale")?1:0))}),t.length&&e.syncRender(),t}var $x={width:function(e,t){var r=e.x,n=t.paddingLeft,i=n===void 0?"0":n,a=t.paddingRight,o=a===void 0?"0":a;return r.max-r.min-parseFloat(i)-parseFloat(o)},height:function(e,t){var r=e.y,n=t.paddingTop,i=n===void 0?"0":n,a=t.paddingBottom,o=a===void 0?"0":a;return r.max-r.min-parseFloat(i)-parseFloat(o)},top:function(e,t){var r=t.top;return parseFloat(r)},left:function(e,t){var r=t.left;return parseFloat(r)},bottom:function(e,t){var r=e.y,n=t.top;return parseFloat(n)+(r.max-r.min)},right:function(e,t){var r=e.x,n=t.left;return parseFloat(n)+(r.max-r.min)},x:Bx(4,13),y:Bx(5,14)},oF=function(e,t,r){var n=t.measureViewportBox(),i=t.getInstance(),a=getComputedStyle(i),o=a.display,l={};o==="none"&&t.setStaticValue("display",e.display||"block"),r.forEach(function(u){l[u]=$x[u](n,a)}),t.syncRender();var s=t.measureViewportBox();return r.forEach(function(u){var c=t.getValue(u);Fx(c,l[u]),e[u]=$x[u](s,a)}),e},lF=function(e,t,r,n){r===void 0&&(r={}),n===void 0&&(n={}),t=N({},t),n=N({},n);var i=Object.keys(t).filter(Mx),a=[],o=!1,l=[];if(i.forEach(function(u){var c=e.getValue(u);if(!!e.hasValue(u)){var d=r[u],f=il(d),p=t[u],h;if(qo(p)){var g=p.length,v=p[0]===null?1:0;d=p[v],f=il(d);for(var m=v;m<g;m++)h?Cu(il(p[m])===h):h=il(p[m])}else h=il(p);if(f!==h)if(Rx(f)&&Rx(h)){var y=c.get();typeof y=="string"&&c.set(parseFloat(y)),typeof p=="string"?t[u]=parseFloat(p):Array.isArray(p)&&h===q&&(t[u]=p.map(parseFloat))}else(f==null?void 0:f.transform)&&(h==null?void 0:h.transform)&&(d===0||p===0)?d===0?c.set(h.transform(d)):t[u]=f.transform(p):(o||(a=aF(e),o=!0),l.push(u),n[u]=n[u]!==void 0?n[u]:t[u],Fx(c,p))}}),l.length){var s=oF(t,e,l);return a.length&&a.forEach(function(u){var c=Re(u,2),d=c[0],f=c[1];e.getValue(d).set(f)}),e.syncRender(),{target:s,transitionEnd:n}}else return{target:t,transitionEnd:n}};function sF(e,t,r,n){return rF(t)?lF(e,t,r,n):{target:t,transitionEnd:n}}var uF=function(e,t,r,n){var i=eF(e,t,n);return t=i.target,n=i.transitionEnd,sF(e,t,r,n)};function cF(e){return window.getComputedStyle(e)}var Dx={treeType:"dom",readValueFromInstance:function(e,t){if(rl(t)){var r=lv(t);return r&&r.default||0}else{var n=cF(e);return(U2(t)?n.getPropertyValue(t):n[t])||0}},sortNodePosition:function(e,t){return e.compareDocumentPosition(t)&2?1:-1},getBaseTarget:function(e,t){var r;return(r=e.style)===null||r===void 0?void 0:r[t]},measureViewportBox:function(e,t){var r=t.transformPagePoint;return Px(e,r)},resetTransform:function(e,t,r){var n=r.transformTemplate;t.style.transform=n?n({},""):"none",e.scheduleRender()},restoreTransform:function(e,t){e.style.transform=t.style.transform},removeValueFromRenderState:function(e,t){var r=t.vars,n=t.style;delete r[e],delete n[e]},makeTargetAnimatable:function(e,t,r,n){var i=r.transformValues;n===void 0&&(n=!0);var a=t.transition,o=t.transitionEnd,l=Tt(t,["transition","transitionEnd"]),s=SM(l,a||{},e);if(i&&(o&&(o=i(o)),l&&(l=i(l)),s&&(s=i(s))),n){bM(e,l,s);var u=uF(e,l,s,o);o=u.transitionEnd,l=u.target}return N({transition:a,transitionEnd:o},l)},scrapeMotionValuesFromProps:bv,build:function(e,t,r,n,i){e.isVisible!==void 0&&(t.style.visibility=e.isVisible?"visible":"hidden"),mv(t,r,n,i.transformTemplate)},render:q2},fF=_x(Dx),dF=_x(N(N({},Dx),{getBaseTarget:function(e,t){return e[t]},readValueFromInstance:function(e,t){var r;return rl(t)?((r=lv(t))===null||r===void 0?void 0:r.default)||0:(t=Q2.has(t)?t:K2(t),e.getAttribute(t))},scrapeMotionValuesFromProps:ex,build:function(e,t,r,n,i){yv(t,r,n,i.transformTemplate)},render:J2})),pF=function(e,t){return hv(e)?dF(t,{enableHardwareAcceleration:!1}):fF(t,{enableHardwareAcceleration:!0})};function zx(e,t){return t.max===t.min?0:e/(t.max-t.min)*100}var al={correct:function(e,t){if(!t.target)return e;if(typeof e=="string")if(q.test(e))e=parseFloat(e);else return e;var r=zx(e,t.target.x),n=zx(e,t.target.y);return"".concat(r,"% ").concat(n,"%")}},Nx="_$css",vF={correct:function(e,t){var r=t.treeScale,n=t.projectionDelta,i=e,a=e.includes("var("),o=[];a&&(e=e.replace(Ax,function(g){return o.push(g),Nx}));var l=Or.parse(e);if(l.length>5)return i;var s=Or.createTransformer(e),u=typeof l[0]!="number"?1:0,c=n.x.scale*r.x,d=n.y.scale*r.y;l[0+u]/=c,l[1+u]/=d;var f=Ie(c,d,.5);typeof l[2+u]=="number"&&(l[2+u]/=f),typeof l[3+u]=="number"&&(l[3+u]/=f);var p=s(l);if(a){var h=0;p=p.replace(Nx,function(){var g=o[h];return h++,g})}return p}},hF=function(e){cb(t,e);function t(){return e!==null&&e.apply(this,arguments)||this}return t.prototype.componentDidMount=function(){var r=this,n=this.props,i=n.visualElement,a=n.layoutGroup,o=n.switchLayoutGroup,l=n.layoutId,s=i.projection;GA(gF),s&&(a!=null&&a.group&&a.group.add(s),(o==null?void 0:o.register)&&l&&o.register(s),s.root.didUpdate(),s.addEventListener("animationComplete",function(){r.safeToRemove()}),s.setOptions(N(N({},s.options),{onExitComplete:function(){return r.safeToRemove()}}))),nl.hasEverUpdated=!0},t.prototype.getSnapshotBeforeUpdate=function(r){var n=this,i=this.props,a=i.layoutDependency,o=i.visualElement,l=i.drag,s=i.isPresent,u=o.projection;return u&&(u.isPresent=s,l||r.layoutDependency!==a||a===void 0?u.willUpdate():this.safeToRemove(),r.isPresent!==s&&(s?u.promote():u.relegate()||dr.postRender(function(){var c;!((c=u.getStack())===null||c===void 0)&&c.members.length||n.safeToRemove()}))),null},t.prototype.componentDidUpdate=function(){var r=this.props.visualElement.projection;r&&(r.root.didUpdate(),!r.currentAnimation&&r.isLead()&&this.safeToRemove())},t.prototype.componentWillUnmount=function(){var r=this.props,n=r.visualElement,i=r.layoutGroup,a=r.switchLayoutGroup,o=n.projection;o&&(o.scheduleCheckAfterUnmount(),i!=null&&i.group&&i.group.remove(o),a!=null&&a.deregister&&a.deregister(o))},t.prototype.safeToRemove=function(){var r=this.props.safeToRemove;r==null||r()},t.prototype.render=function(){return null},t}($r.default.Component);function mF(e){var t=Re(Pv(),2),r=t[0],n=t[1],i=F.useContext(vv);return C(hF,{...N({},e,{layoutGroup:i,switchLayoutGroup:F.useContext(W2),isPresent:r,safeToRemove:n})})}var gF={borderRadius:N(N({},al),{applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]}),borderTopLeftRadius:al,borderTopRightRadius:al,borderBottomLeftRadius:al,borderBottomRightRadius:al,boxShadow:vF},yF={measureLayout:mF},bF=$2({attachResizeListener:function(e,t){return e.addEventListener("resize",t,{passive:!0}),function(){return e.removeEventListener("resize",t)}},measureScroll:function(){return{x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}}}),Lv={current:void 0},xF=$2({measureScroll:function(e){return{x:e.scrollLeft,y:e.scrollTop}},defaultParent:function(){if(!Lv.current){var e=new bF(0,{});e.mount(window),e.setOptions({layoutScroll:!0}),Lv.current=e}return Lv.current},resetTransform:function(e,t){e.style.transform=t!=null?t:"none"}}),SF=N(N(N(N({},FM),uM),ZM),yF),Zu=b7(function(e,t){return j7(e,t,SF,pF,xF)});function Vx(){var e=F.useRef(!1);return ku(function(){return e.current=!0,function(){e.current=!1}},[]),e}function wF(){var e=Vx(),t=Re(F.useState(0),2),r=t[0],n=t[1],i=F.useCallback(function(){e.current&&n(r+1)},[r]),a=F.useCallback(function(){return dr.postRender(i)},[i]);return[a,r]}var Bv=function(e){var t=e.children,r=e.initial,n=e.isPresent,i=e.onExitComplete,a=e.custom,o=e.presenceAffectsLayout,l=Do(CF),s=vx(),u=F.useMemo(function(){return{id:s,initial:r,isPresent:n,custom:a,onExitComplete:function(c){var d,f;l.set(c,!0);try{for(var p=D9(l.values()),h=p.next();!h.done;h=p.next()){var g=h.value;if(!g)return}}catch(v){d={error:v}}finally{try{h&&!h.done&&(f=p.return)&&f.call(p)}finally{if(d)throw d.error}}i==null||i()},register:function(c){return l.set(c,!1),function(){return l.delete(c)}}}},o?void 0:[n]);return F.useMemo(function(){l.forEach(function(c,d){return l.set(d,!1)})},[n]),S.useEffect(function(){!n&&!l.size&&(i==null||i())},[n]),S.createElement(Bo.Provider,{value:u},t)};function CF(){return new Map}var ta=function(e){return e.key||""};function EF(e,t){e.forEach(function(r){var n=ta(r);t.set(n,r)})}function kF(e){var t=[];return F.Children.forEach(e,function(r){F.isValidElement(r)&&t.push(r)}),t}var $v=function(e){var t=e.children,r=e.custom,n=e.initial,i=n===void 0?!0:n,a=e.onExitComplete,o=e.exitBeforeEnter,l=e.presenceAffectsLayout,s=l===void 0?!0:l,u=Re(wF(),1),c=u[0],d=F.useContext(vv).forceRender;d&&(c=d);var f=Vx(),p=kF(t),h=p,g=new Set,v=F.useRef(h),m=F.useRef(new Map).current,y=F.useRef(!0);if(ku(function(){y.current=!1,EF(p,m),v.current=h}),Ev(function(){y.current=!0,m.clear(),g.clear()}),y.current)return S.createElement(S.Fragment,null,h.map(function(A){return S.createElement(Bv,{key:ta(A),isPresent:!0,initial:i?void 0:!1,presenceAffectsLayout:s},A)}));h=Qt([],Re(h),!1);for(var b=v.current.map(ta),x=p.map(ta),E=b.length,k=0;k<E;k++){var T=b[k];x.indexOf(T)===-1&&g.add(T)}return o&&g.size&&(h=[]),g.forEach(function(A){if(x.indexOf(A)===-1){var O=m.get(A);if(!!O){var B=b.indexOf(A),H=function(){m.delete(A),g.delete(A);var G=v.current.findIndex(function(U){return U.key===A});if(v.current.splice(G,1),!g.size){if(v.current=p,f.current===!1)return;c(),a&&a()}};h.splice(B,0,S.createElement(Bv,{key:ta(O),isPresent:!1,onExitComplete:H,custom:r,presenceAffectsLayout:s},O))}}}),h=h.map(function(A){var O=A.key;return g.has(O)?A:S.createElement(Bv,{key:ta(A),isPresent:!0,presenceAffectsLayout:s},A)}),S.createElement(S.Fragment,null,g.size?h:h.map(function(A){return F.cloneElement(A)}))};function TF(e,t){if(e==null)return{};var r={},n=Object.keys(e),i,a;for(a=0;a<n.length;a++)i=n[a],!(t.indexOf(i)>=0)&&(r[i]=e[i]);return r}function Dt(){return Dt=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Dt.apply(this,arguments)}var Dv={ease:[.25,.1,.25,1],easeIn:[.4,0,1,1],easeOut:[0,0,.2,1],easeInOut:[.4,0,.2,1]},ol={scale:{enter:{scale:1},exit:{scale:.95}},fade:{enter:{opacity:1},exit:{opacity:0}},pushLeft:{enter:{x:"100%"},exit:{x:"-30%"}},pushRight:{enter:{x:"-100%"},exit:{x:"30%"}},pushUp:{enter:{y:"100%"},exit:{y:"-30%"}},pushDown:{enter:{y:"-100%"},exit:{y:"30%"}},slideLeft:{position:{left:0,top:0,bottom:0,width:"100%"},enter:{x:0,y:0},exit:{x:"-100%",y:0}},slideRight:{position:{right:0,top:0,bottom:0,width:"100%"},enter:{x:0,y:0},exit:{x:"100%",y:0}},slideUp:{position:{top:0,left:0,right:0,maxWidth:"100vw"},enter:{x:0,y:0},exit:{x:0,y:"-100%"}},slideDown:{position:{bottom:0,left:0,right:0,maxWidth:"100vw"},enter:{x:0,y:0},exit:{x:0,y:"100%"}}};function zv(e){var t,r=(t=e==null?void 0:e.direction)!=null?t:"right";switch(r){case"right":return ol.slideRight;case"left":return ol.slideLeft;case"bottom":return ol.slideDown;case"top":return ol.slideUp;default:return ol.slideRight}}var Jn={enter:{duration:.2,ease:Dv.easeOut},exit:{duration:.1,ease:Dv.easeIn}},Fr={enter:function(t,r){return Dt({},t,{delay:_n(r)?r:r==null?void 0:r.enter})},exit:function(t,r){return Dt({},t,{delay:_n(r)?r:r==null?void 0:r.exit})}},PF={enter:function(t){var r,n=t===void 0?{}:t,i=n.transition,a=n.transitionEnd,o=n.delay;return{opacity:1,transition:(r=i==null?void 0:i.enter)!=null?r:Fr.enter(Jn.enter,o),transitionEnd:a==null?void 0:a.enter}},exit:function(t){var r,n=t===void 0?{}:t,i=n.transition,a=n.transitionEnd,o=n.delay;return{opacity:0,transition:(r=i==null?void 0:i.exit)!=null?r:Fr.exit(Jn.exit,o),transitionEnd:a==null?void 0:a.exit}}},_F={initial:"exit",animate:"enter",exit:"exit",variants:PF},OF={exit:function(t){var r,n=t.reverse,i=t.initialScale,a=t.transition,o=t.transitionEnd,l=t.delay;return Dt({opacity:0},n?{scale:i,transitionEnd:o==null?void 0:o.exit}:{transitionEnd:Dt({scale:i},o==null?void 0:o.exit)},{transition:(r=a==null?void 0:a.exit)!=null?r:Fr.exit(Jn.exit,l)})},enter:function(t){var r,n=t.transitionEnd,i=t.transition,a=t.delay;return{opacity:1,scale:1,transition:(r=i==null?void 0:i.enter)!=null?r:Fr.enter(Jn.enter,a),transitionEnd:n==null?void 0:n.enter}}},AF={initial:"exit",animate:"enter",exit:"exit",variants:OF},MF=["direction","style","unmountOnExit","in","className","transition","transitionEnd","delay"],jx={exit:{duration:.15,ease:Dv.easeInOut},enter:{type:"spring",damping:25,stiffness:180}},FF={exit:function(t){var r,n=t.direction,i=t.transition,a=t.transitionEnd,o=t.delay,l=zv({direction:n}),s=l.exit;return Dt({},s,{transition:(r=i==null?void 0:i.exit)!=null?r:Fr.exit(jx.exit,o),transitionEnd:a==null?void 0:a.exit})},enter:function(t){var r,n=t.direction,i=t.transitionEnd,a=t.transition,o=t.delay,l=zv({direction:n}),s=l.enter;return Dt({},s,{transition:(r=a==null?void 0:a.enter)!=null?r:Fr.enter(jx.enter,o),transitionEnd:i==null?void 0:i.enter})}},RF=S.forwardRef(function(e,t){var r=e.direction,n=r===void 0?"right":r,i=e.style,a=e.unmountOnExit,o=e.in,l=e.className,s=e.transition,u=e.transitionEnd,c=e.delay,d=TF(e,MF),f=zv({direction:n}),p=Object.assign({position:"fixed"},f.position,i),h=a?o&&a:!0,g=o||a?"enter":"exit",v={transitionEnd:u,transition:s,direction:n,delay:c};return S.createElement($v,{custom:v},h&&S.createElement(Zu.div,Dt({},d,{ref:t,initial:"exit",className:Ne("chakra-slide",l),animate:g,exit:"exit",custom:v,variants:FF,style:p})))}),IF={initial:function(t){var r,n=t.offsetX,i=t.offsetY,a=t.transition,o=t.transitionEnd,l=t.delay;return{opacity:0,x:n,y:i,transition:(r=a==null?void 0:a.exit)!=null?r:Fr.exit(Jn.exit,l),transitionEnd:o==null?void 0:o.exit}},enter:function(t){var r,n=t.transition,i=t.transitionEnd,a=t.delay;return{opacity:1,x:0,y:0,transition:(r=n==null?void 0:n.enter)!=null?r:Fr.enter(Jn.enter,a),transitionEnd:i==null?void 0:i.enter}},exit:function(t){var r,n=t.offsetY,i=t.offsetX,a=t.transition,o=t.transitionEnd,l=t.reverse,s=t.delay,u={x:i,y:n};return Dt({opacity:0,transition:(r=a==null?void 0:a.exit)!=null?r:Fr.exit(Jn.exit,s)},l?Dt({},u,{transitionEnd:o==null?void 0:o.exit}):{transitionEnd:Dt({},u,o==null?void 0:o.exit)})}},Wx={initial:"initial",animate:"enter",exit:"exit",variants:IF};function ei(){return ei=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},ei.apply(this,arguments)}function Hx(e,t){if(e==null)return{};var r={},n=Object.keys(e),i,a;for(a=0;a<n.length;a++)i=n[a],!(t.indexOf(i)>=0)&&(r[i]=e[i]);return r}function LF(e){var t=e.loading,r=e.src,n=e.srcSet,i=e.onLoad,a=e.onError,o=e.crossOrigin,l=e.sizes,s=e.ignoreFallback,u=F.useState("pending"),c=u[0],d=u[1];F.useEffect(function(){d(r?"loading":"pending")},[r]);var f=F.useRef(),p=F.useCallback(function(){if(!!r){h();var g=new Image;g.src=r,o&&(g.crossOrigin=o),n&&(g.srcset=n),l&&(g.sizes=l),t&&(g.loading=t),g.onload=function(v){h(),d("loaded"),i==null||i(v)},g.onerror=function(v){h(),d("failed"),a==null||a(v)},f.current=g}},[r,o,n,l,i,a,t]),h=function(){f.current&&(f.current.onload=null,f.current.onerror=null,f.current=null)};return _a(function(){if(!s)return c==="loading"&&p(),function(){h()}},[c,p,s]),s?"loaded":c}var BF=["htmlWidth","htmlHeight","alt"],$F=["fallbackSrc","fallback","src","srcSet","align","fit","loading","ignoreFallback","crossOrigin"],Ux=S.forwardRef(function(e,t){var r=e.htmlWidth,n=e.htmlHeight,i=e.alt,a=Hx(e,BF);return S.createElement("img",ei({width:r,height:n,ref:t,alt:i},a))}),DF=Ae(function(e,t){var r=e.fallbackSrc,n=e.fallback,i=e.src,a=e.srcSet,o=e.align,l=e.fit,s=e.loading,u=e.ignoreFallback,c=e.crossOrigin,d=Hx(e,$F),f=s!=null||u||r===void 0&&n===void 0,p=LF(ei({},e,{ignoreFallback:f})),h=ei({ref:t,objectFit:l,objectPosition:o},f?d:Hl(d,["onError","onLoad"]));return p!=="loaded"?n||S.createElement(te.img,ei({as:Ux,className:"chakra-image__placeholder",src:r},h)):S.createElement(te.img,ei({as:Ux,src:i,srcSet:a,crossOrigin:c,loading:s,className:"chakra-image"},h))}),Gx={border:"0px",clip:"rect(0px, 0px, 0px, 0px)",height:"1px",width:"1px",margin:"-1px",padding:"0px",overflow:"hidden",whiteSpace:"nowrap",position:"absolute"},Yx=te("span",{baseStyle:Gx});te("input",{baseStyle:Gx});function Ku(){return Ku=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Ku.apply(this,arguments)}function zF(e,t){if(e==null)return{};var r={},n=Object.keys(e),i,a;for(a=0;a<n.length;a++)i=n[a],!(t.indexOf(i)>=0)&&(r[i]=e[i]);return r}var NF=["label","thickness","speed","emptyColor","className"],VF=vi({"0%":{transform:"rotate(0deg)"},"100%":{transform:"rotate(360deg)"}}),jF=Ae(function(e,t){var r=un("Spinner",e),n=sn(e),i=n.label,a=i===void 0?"Loading...":i,o=n.thickness,l=o===void 0?"2px":o,s=n.speed,u=s===void 0?"0.45s":s,c=n.emptyColor,d=c===void 0?"transparent":c,f=n.className,p=zF(n,NF),h=Ne("chakra-spinner",f),g=Ku({display:"inline-block",borderColor:"currentColor",borderStyle:"solid",borderRadius:"99999px",borderWidth:l,borderBottomColor:d,borderLeftColor:d,animation:VF+" "+u+" linear infinite"},r);return S.createElement(te.div,Ku({ref:t,__css:g,className:h},p),a&&S.createElement(Yx,null,a))});function Nv(e,t){if(e==null)return{};var r={},n=Object.keys(e),i,a;for(a=0;a<n.length;a++)i=n[a],!(t.indexOf(i)>=0)&&(r[i]=e[i]);return r}function gn(){return gn=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},gn.apply(this,arguments)}var WF=On({strict:!1,name:"ButtonGroupContext"}),HF=WF[1],UF=["label","placement","spacing","children","className","__css"],Xx=function(t){var r=t.label,n=t.placement,i=t.spacing,a=i===void 0?"0.5rem":i,o=t.children,l=o===void 0?S.createElement(jF,{color:"currentColor",width:"1em",height:"1em"}):o,s=t.className,u=t.__css,c=Nv(t,UF),d=Ne("chakra-button__spinner",s),f=n==="start"?"marginEnd":"marginStart",p=S.useMemo(function(){var h;return gn((h={display:"flex",alignItems:"center",position:r?"relative":"absolute"},h[f]=r?a:0,h.fontSize="1em",h.lineHeight="normal",h),u)},[u,r,f,a]);return S.createElement(te.div,gn({className:d},c,{__css:p}),l)},GF=["children","className"],Zx=function(t){var r=t.children,n=t.className,i=Nv(t,GF),a=S.isValidElement(r)?S.cloneElement(r,{"aria-hidden":!0,focusable:!1}):r,o=Ne("chakra-button__icon",n);return S.createElement(te.span,gn({display:"inline-flex",alignSelf:"center",flexShrink:0},i,{className:o}),a)};function YF(e){var t=S.useState(!e),r=t[0],n=t[1],i=S.useCallback(function(o){!o||n(o.tagName==="BUTTON")},[]),a=r?"button":void 0;return{ref:i,type:a}}var XF=["isDisabled","isLoading","isActive","isFullWidth","children","leftIcon","rightIcon","loadingText","iconSpacing","type","spinner","spinnerPlacement","className","as"],Vv=Ae(function(e,t){var r=HF(),n=un("Button",gn({},r,e)),i=sn(e),a=i.isDisabled,o=a===void 0?r==null?void 0:r.isDisabled:a,l=i.isLoading,s=i.isActive,u=i.isFullWidth,c=i.children,d=i.leftIcon,f=i.rightIcon,p=i.loadingText,h=i.iconSpacing,g=h===void 0?"0.5rem":h,v=i.type,m=i.spinner,y=i.spinnerPlacement,b=y===void 0?"start":y,x=i.className,E=i.as,k=Nv(i,XF),T=S.useMemo(function(){var G,U=Ot({},(G=n==null?void 0:n._focus)!=null?G:{},{zIndex:1});return gn({display:"inline-flex",appearance:"none",alignItems:"center",justifyContent:"center",userSelect:"none",position:"relative",whiteSpace:"nowrap",verticalAlign:"middle",outline:"none",width:u?"100%":"auto"},n,!!r&&{_focus:U})},[n,r,u]),A=YF(E),O=A.ref,B=A.type,H={rightIcon:f,leftIcon:d,iconSpacing:g,children:c};return S.createElement(te.button,gn({disabled:o||l,ref:DC(t,O),as:E,type:v!=null?v:B,"data-active":Xm(s),"data-loading":Xm(l),__css:T,className:Ne("chakra-button",x)},k),l&&b==="start"&&S.createElement(Xx,{className:"chakra-button__spinner--start",label:p,placement:"start",spacing:g},m),l?p||S.createElement(te.span,{opacity:0},S.createElement(Kx,H)):S.createElement(Kx,H),l&&b==="end"&&S.createElement(Xx,{className:"chakra-button__spinner--end",label:p,placement:"end",spacing:g},m))});function Kx(e){var t=e.leftIcon,r=e.rightIcon,n=e.children,i=e.iconSpacing;return S.createElement(S.Fragment,null,t&&S.createElement(Zx,{marginEnd:i},t),n,r&&S.createElement(Zx,{marginStart:i},r))}function ZF(e,t){if(e==null)return{};var r={},n=Object.keys(e),i,a;for(a=0;a<n.length;a++)i=n[a],!(t.indexOf(i)>=0)&&(r[i]=e[i]);return r}function ll(){return ll=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},ll.apply(this,arguments)}var KF=["children","isDisabled","__css"],qF=function(t){return S.createElement(ub,ll({focusable:"false","aria-hidden":!0},t),S.createElement("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"}))},QF=Ae(function(e,t){var r=un("CloseButton",e),n=sn(e),i=n.children,a=n.isDisabled,o=n.__css,l=ZF(n,KF),s={outline:0,display:"flex",alignItems:"center",justifyContent:"center",flexShrink:0};return S.createElement(te.button,ll({type:"button","aria-label":"Close",ref:t,disabled:a,__css:ll({},s,r,o)},l),i||S.createElement(qF,{width:"1em",height:"1em"}))});function ct(){return ct=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},ct.apply(this,arguments)}function yn(e,t){if(e==null)return{};var r={},n=Object.keys(e),i,a;for(a=0;a<n.length;a++)i=n[a],!(t.indexOf(i)>=0)&&(r[i]=e[i]);return r}var ge=te("div"),qx=te("div",{baseStyle:{display:"flex",alignItems:"center",justifyContent:"center"}}),JF=["direction","align","justify","wrap","basis","grow","shrink"],qu=Ae(function(e,t){var r=e.direction,n=e.align,i=e.justify,a=e.wrap,o=e.basis,l=e.grow,s=e.shrink,u=yn(e,JF),c={display:"flex",flexDirection:r,alignItems:n,justifyContent:i,flexWrap:a,flexBasis:o,flexGrow:l,flexShrink:s};return S.createElement(te.div,ct({ref:t,__css:c},u))}),eR=["className"],tR=Ae(function(e,t){var r=un("Heading",e),n=sn(e);n.className;var i=yn(n,eR);return S.createElement(te.h2,ct({ref:t,className:Ne("chakra-heading",e.className)},i,{__css:r}))}),rR=["className","isExternal"],nR=Ae(function(e,t){var r=un("Link",e),n=sn(e),i=n.className,a=n.isExternal,o=yn(n,rR);return S.createElement(te.a,ct({target:a?"_blank":void 0,rel:a?"noopener":void 0,ref:t,className:Ne("chakra-link",i)},o,{__css:r}))}),iR=["children","styleType","stylePosition","spacing"],Qx=On({name:"StylesContext",errorMessage:"useStyles: `styles` is undefined. Seems you forgot to wrap the components in a `<*List />` "}),aR=Qx[0],oR=Qx[1],lR=Ae(function(e,t){var r,n=A1("List",e),i=sn(e),a=i.children,o=i.styleType,l=o===void 0?"none":o,s=i.stylePosition,u=i.spacing,c=yn(i,iR),d=Jm(a),f="& > *:not(style) ~ *:not(style)",p=u?(r={},r[f]={mt:u},r):{};return S.createElement(aR,{value:n},S.createElement(te.ul,ct({ref:t,listStyleType:l,listStylePosition:s,role:"list",__css:ct({},n.container,p)},c),d))}),sR=Ae(function(e,t){var r=oR();return S.createElement(te.li,ct({ref:t},e,{__css:r.item}))});te("div",{baseStyle:{flex:1,justifySelf:"stretch",alignSelf:"stretch"}});var jv="& > *:not(style) ~ *:not(style)";function uR(e){var t,r=e.spacing,n=e.direction,i={column:{marginTop:r,marginEnd:0,marginBottom:0,marginStart:0},row:{marginTop:0,marginEnd:0,marginBottom:0,marginStart:r},"column-reverse":{marginTop:0,marginEnd:0,marginBottom:r,marginStart:0},"row-reverse":{marginTop:0,marginEnd:r,marginBottom:0,marginStart:0}};return t={flexDirection:n},t[jv]=Qm(n,function(a){return i[a]}),t}function cR(e){var t=e.spacing,r=e.direction,n={column:{my:t,mx:0,borderLeftWidth:0,borderBottomWidth:"1px"},"column-reverse":{my:t,mx:0,borderLeftWidth:0,borderBottomWidth:"1px"},row:{mx:t,my:0,borderLeftWidth:"1px",borderBottomWidth:0},"row-reverse":{mx:t,my:0,borderLeftWidth:"1px",borderBottomWidth:0}};return{"&":Qm(r,function(i){return n[i]})}}var fR=["isInline","direction","align","justify","spacing","wrap","children","divider","className","shouldWrapChildren"],dR=function(t){return S.createElement(te.div,ct({className:"chakra-stack__item"},t,{__css:ct({display:"inline-block",flex:"0 0 auto",minWidth:0},t.__css)}))},Jx=Ae(function(e,t){var r,n=e.isInline,i=e.direction,a=e.align,o=e.justify,l=e.spacing,s=l===void 0?"0.5rem":l,u=e.wrap,c=e.children,d=e.divider,f=e.className,p=e.shouldWrapChildren,h=yn(e,fR),g=n?"row":i!=null?i:"column",v=S.useMemo(function(){return uR({direction:g,spacing:s})},[g,s]),m=S.useMemo(function(){return cR({spacing:s,direction:g})},[s,g]),y=!!d,b=!p&&!y,x=Jm(c),E=b?x:x.map(function(T,A){var O=typeof T.key!="undefined"?T.key:A,B=A+1===x.length,H=S.createElement(dR,{key:O},T),G=p?H:T;if(!y)return G;var U=S.cloneElement(d,{__css:m}),Z=B?null:U;return S.createElement(S.Fragment,{key:O},G,Z)}),k=Ne("chakra-stack",f);return S.createElement(te.div,ct({ref:t,display:"flex",alignItems:a,justifyContent:o,flexDirection:v.flexDirection,flexWrap:u,className:k,__css:y?{}:(r={},r[jv]=v[jv],r)},h),E)}),pR=Ae(function(e,t){return S.createElement(Jx,ct({align:"center"},e,{direction:"row",ref:t}))}),vR=["className","align","decoration","casing"],ra=Ae(function(e,t){var r=un("Text",e),n=sn(e);n.className,n.align,n.decoration,n.casing;var i=yn(n,vR),a=Gc({textAlign:e.align,textDecoration:e.decoration,textTransform:e.casing});return S.createElement(te.p,ct({ref:t,className:Ne("chakra-text",e.className)},a,i,{__css:r}))}),hR=["isExternal","target","rel","className"],mR=["className"],eS=Ae(function(e,t){var r=e.isExternal,n=e.target,i=e.rel,a=e.className,o=yn(e,hR);return S.createElement(te.a,ct({},o,{ref:t,className:Ne("chakra-linkbox__overlay",a),rel:r?"noopener noreferrer":i,target:r?"_blank":n,__css:{position:"static","&::before":{content:"''",cursor:"inherit",display:"block",position:"absolute",top:0,left:0,zIndex:1,width:"100%",height:"100%"}}}))}),gR=Ae(function(e,t){var r=e.className,n=yn(e,mR);return S.createElement(te.div,ct({ref:t,position:"relative"},n,{className:Ne("chakra-linkbox",r),__css:{"a[href]:not(.chakra-linkbox__overlay), abbr[title], button":{position:"relative",zIndex:1}}}))}),yR=zr?S.useLayoutEffect:S.useEffect;function bR(e){var t=i1(),r=Array.isArray(e)?e:[e],n=zr&&"matchMedia"in t.window,i=S.useState(r.map(function(l){return n?!!t.window.matchMedia(l).matches:!1})),a=i[0],o=i[1];return yR(function(){if(!!n){var l=r.map(function(u){return t.window.matchMedia(u)}),s=l.map(function(u,c){var d=function(p){var h=l.findIndex(function(g){return g.media===p.media});o(function(g){var v=g.map(function(m){return m});return v[h]=p.matches,v})};return typeof l[c].addEventListener=="function"?l[c].addEventListener("change",d):l[c].addListener(d),d});return function(){l.forEach(function(u,c){typeof l[c].removeEventListener=="function"?l[c].removeEventListener("change",s[c]):l[c].removeListener(s[c])})}}},[]),a}var gt="top",zt="bottom",Nt="right",yt="left",Wv="auto",sl=[gt,zt,Nt,yt],na="start",ul="end",xR="clippingParents",tS="viewport",cl="popper",SR="reference",rS=sl.reduce(function(e,t){return e.concat([t+"-"+na,t+"-"+ul])},[]),nS=[].concat(sl,[Wv]).reduce(function(e,t){return e.concat([t,t+"-"+na,t+"-"+ul])},[]),wR="beforeRead",CR="read",ER="afterRead",kR="beforeMain",TR="main",PR="afterMain",_R="beforeWrite",OR="write",AR="afterWrite",MR=[wR,CR,ER,kR,TR,PR,_R,OR,AR];function mr(e){return e?(e.nodeName||"").toLowerCase():null}function Pt(e){if(e==null)return window;if(e.toString()!=="[object Window]"){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function ti(e){var t=Pt(e).Element;return e instanceof t||e instanceof Element}function Vt(e){var t=Pt(e).HTMLElement;return e instanceof t||e instanceof HTMLElement}function Hv(e){if(typeof ShadowRoot=="undefined")return!1;var t=Pt(e).ShadowRoot;return e instanceof t||e instanceof ShadowRoot}function FR(e){var t=e.state;Object.keys(t.elements).forEach(function(r){var n=t.styles[r]||{},i=t.attributes[r]||{},a=t.elements[r];!Vt(a)||!mr(a)||(Object.assign(a.style,n),Object.keys(i).forEach(function(o){var l=i[o];l===!1?a.removeAttribute(o):a.setAttribute(o,l===!0?"":l)}))})}function RR(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(n){var i=t.elements[n],a=t.attributes[n]||{},o=Object.keys(t.styles.hasOwnProperty(n)?t.styles[n]:r[n]),l=o.reduce(function(s,u){return s[u]="",s},{});!Vt(i)||!mr(i)||(Object.assign(i.style,l),Object.keys(a).forEach(function(s){i.removeAttribute(s)}))})}}var IR={name:"applyStyles",enabled:!0,phase:"write",fn:FR,effect:RR,requires:["computeStyles"]};function gr(e){return e.split("-")[0]}var ri=Math.max,Qu=Math.min,ia=Math.round;function Uv(){var e=navigator.userAgentData;return e!=null&&e.brands&&Array.isArray(e.brands)?e.brands.map(function(t){return t.brand+"/"+t.version}).join(" "):navigator.userAgent}function iS(){return!/^((?!chrome|android).)*safari/i.test(Uv())}function aa(e,t,r){t===void 0&&(t=!1),r===void 0&&(r=!1);var n=e.getBoundingClientRect(),i=1,a=1;t&&Vt(e)&&(i=e.offsetWidth>0&&ia(n.width)/e.offsetWidth||1,a=e.offsetHeight>0&&ia(n.height)/e.offsetHeight||1);var o=ti(e)?Pt(e):window,l=o.visualViewport,s=!iS()&&r,u=(n.left+(s&&l?l.offsetLeft:0))/i,c=(n.top+(s&&l?l.offsetTop:0))/a,d=n.width/i,f=n.height/a;return{width:d,height:f,top:c,right:u+d,bottom:c+f,left:u,x:u,y:c}}function Gv(e){var t=aa(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 aS(e,t){var r=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(r&&Hv(r)){var n=t;do{if(n&&e.isSameNode(n))return!0;n=n.parentNode||n.host}while(n)}return!1}function Rr(e){return Pt(e).getComputedStyle(e)}function LR(e){return["table","td","th"].indexOf(mr(e))>=0}function bn(e){return((ti(e)?e.ownerDocument:e.document)||window.document).documentElement}function Ju(e){return mr(e)==="html"?e:e.assignedSlot||e.parentNode||(Hv(e)?e.host:null)||bn(e)}function oS(e){return!Vt(e)||Rr(e).position==="fixed"?null:e.offsetParent}function BR(e){var t=/firefox/i.test(Uv()),r=/Trident/i.test(Uv());if(r&&Vt(e)){var n=Rr(e);if(n.position==="fixed")return null}var i=Ju(e);for(Hv(i)&&(i=i.host);Vt(i)&&["html","body"].indexOf(mr(i))<0;){var a=Rr(i);if(a.transform!=="none"||a.perspective!=="none"||a.contain==="paint"||["transform","perspective"].indexOf(a.willChange)!==-1||t&&a.willChange==="filter"||t&&a.filter&&a.filter!=="none")return i;i=i.parentNode}return null}function fl(e){for(var t=Pt(e),r=oS(e);r&&LR(r)&&Rr(r).position==="static";)r=oS(r);return r&&(mr(r)==="html"||mr(r)==="body"&&Rr(r).position==="static")?t:r||BR(e)||t}function Yv(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function dl(e,t,r){return ri(e,Qu(t,r))}function $R(e,t,r){var n=dl(e,t,r);return n>r?r:n}function lS(){return{top:0,right:0,bottom:0,left:0}}function sS(e){return Object.assign({},lS(),e)}function uS(e,t){return t.reduce(function(r,n){return r[n]=e,r},{})}var DR=function(t,r){return t=typeof t=="function"?t(Object.assign({},r.rects,{placement:r.placement})):t,sS(typeof t!="number"?t:uS(t,sl))};function zR(e){var t,r=e.state,n=e.name,i=e.options,a=r.elements.arrow,o=r.modifiersData.popperOffsets,l=gr(r.placement),s=Yv(l),u=[yt,Nt].indexOf(l)>=0,c=u?"height":"width";if(!(!a||!o)){var d=DR(i.padding,r),f=Gv(a),p=s==="y"?gt:yt,h=s==="y"?zt:Nt,g=r.rects.reference[c]+r.rects.reference[s]-o[s]-r.rects.popper[c],v=o[s]-r.rects.reference[s],m=fl(a),y=m?s==="y"?m.clientHeight||0:m.clientWidth||0:0,b=g/2-v/2,x=d[p],E=y-f[c]-d[h],k=y/2-f[c]/2+b,T=dl(x,k,E),A=s;r.modifiersData[n]=(t={},t[A]=T,t.centerOffset=T-k,t)}}function NR(e){var t=e.state,r=e.options,n=r.element,i=n===void 0?"[data-popper-arrow]":n;i!=null&&(typeof i=="string"&&(i=t.elements.popper.querySelector(i),!i)||!aS(t.elements.popper,i)||(t.elements.arrow=i))}var VR={name:"arrow",enabled:!0,phase:"main",fn:zR,effect:NR,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function oa(e){return e.split("-")[1]}var jR={top:"auto",right:"auto",bottom:"auto",left:"auto"};function WR(e,t){var r=e.x,n=e.y,i=t.devicePixelRatio||1;return{x:ia(r*i)/i||0,y:ia(n*i)/i||0}}function cS(e){var t,r=e.popper,n=e.popperRect,i=e.placement,a=e.variation,o=e.offsets,l=e.position,s=e.gpuAcceleration,u=e.adaptive,c=e.roundOffsets,d=e.isFixed,f=o.x,p=f===void 0?0:f,h=o.y,g=h===void 0?0:h,v=typeof c=="function"?c({x:p,y:g}):{x:p,y:g};p=v.x,g=v.y;var m=o.hasOwnProperty("x"),y=o.hasOwnProperty("y"),b=yt,x=gt,E=window;if(u){var k=fl(r),T="clientHeight",A="clientWidth";if(k===Pt(r)&&(k=bn(r),Rr(k).position!=="static"&&l==="absolute"&&(T="scrollHeight",A="scrollWidth")),k=k,i===gt||(i===yt||i===Nt)&&a===ul){x=zt;var O=d&&k===E&&E.visualViewport?E.visualViewport.height:k[T];g-=O-n.height,g*=s?1:-1}if(i===yt||(i===gt||i===zt)&&a===ul){b=Nt;var B=d&&k===E&&E.visualViewport?E.visualViewport.width:k[A];p-=B-n.width,p*=s?1:-1}}var H=Object.assign({position:l},u&&jR),G=c===!0?WR({x:p,y:g},Pt(r)):{x:p,y:g};if(p=G.x,g=G.y,s){var U;return Object.assign({},H,(U={},U[x]=y?"0":"",U[b]=m?"0":"",U.transform=(E.devicePixelRatio||1)<=1?"translate("+p+"px, "+g+"px)":"translate3d("+p+"px, "+g+"px, 0)",U))}return Object.assign({},H,(t={},t[x]=y?g+"px":"",t[b]=m?p+"px":"",t.transform="",t))}function HR(e){var t=e.state,r=e.options,n=r.gpuAcceleration,i=n===void 0?!0:n,a=r.adaptive,o=a===void 0?!0:a,l=r.roundOffsets,s=l===void 0?!0:l,u={placement:gr(t.placement),variation:oa(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:i,isFixed:t.options.strategy==="fixed"};t.modifiersData.popperOffsets!=null&&(t.styles.popper=Object.assign({},t.styles.popper,cS(Object.assign({},u,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:o,roundOffsets:s})))),t.modifiersData.arrow!=null&&(t.styles.arrow=Object.assign({},t.styles.arrow,cS(Object.assign({},u,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:s})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})}var UR={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:HR,data:{}},ec={passive:!0};function GR(e){var t=e.state,r=e.instance,n=e.options,i=n.scroll,a=i===void 0?!0:i,o=n.resize,l=o===void 0?!0:o,s=Pt(t.elements.popper),u=[].concat(t.scrollParents.reference,t.scrollParents.popper);return a&&u.forEach(function(c){c.addEventListener("scroll",r.update,ec)}),l&&s.addEventListener("resize",r.update,ec),function(){a&&u.forEach(function(c){c.removeEventListener("scroll",r.update,ec)}),l&&s.removeEventListener("resize",r.update,ec)}}var YR={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:GR,data:{}},XR={left:"right",right:"left",bottom:"top",top:"bottom"};function tc(e){return e.replace(/left|right|bottom|top/g,function(t){return XR[t]})}var ZR={start:"end",end:"start"};function fS(e){return e.replace(/start|end/g,function(t){return ZR[t]})}function Xv(e){var t=Pt(e),r=t.pageXOffset,n=t.pageYOffset;return{scrollLeft:r,scrollTop:n}}function Zv(e){return aa(bn(e)).left+Xv(e).scrollLeft}function KR(e,t){var r=Pt(e),n=bn(e),i=r.visualViewport,a=n.clientWidth,o=n.clientHeight,l=0,s=0;if(i){a=i.width,o=i.height;var u=iS();(u||!u&&t==="fixed")&&(l=i.offsetLeft,s=i.offsetTop)}return{width:a,height:o,x:l+Zv(e),y:s}}function qR(e){var t,r=bn(e),n=Xv(e),i=(t=e.ownerDocument)==null?void 0:t.body,a=ri(r.scrollWidth,r.clientWidth,i?i.scrollWidth:0,i?i.clientWidth:0),o=ri(r.scrollHeight,r.clientHeight,i?i.scrollHeight:0,i?i.clientHeight:0),l=-n.scrollLeft+Zv(e),s=-n.scrollTop;return Rr(i||r).direction==="rtl"&&(l+=ri(r.clientWidth,i?i.clientWidth:0)-a),{width:a,height:o,x:l,y:s}}function Kv(e){var t=Rr(e),r=t.overflow,n=t.overflowX,i=t.overflowY;return/auto|scroll|overlay|hidden/.test(r+i+n)}function dS(e){return["html","body","#document"].indexOf(mr(e))>=0?e.ownerDocument.body:Vt(e)&&Kv(e)?e:dS(Ju(e))}function pl(e,t){var r;t===void 0&&(t=[]);var n=dS(e),i=n===((r=e.ownerDocument)==null?void 0:r.body),a=Pt(n),o=i?[a].concat(a.visualViewport||[],Kv(n)?n:[]):n,l=t.concat(o);return i?l:l.concat(pl(Ju(o)))}function qv(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function QR(e,t){var r=aa(e,!1,t==="fixed");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}function pS(e,t,r){return t===tS?qv(KR(e,r)):ti(t)?QR(t,r):qv(qR(bn(e)))}function JR(e){var t=pl(Ju(e)),r=["absolute","fixed"].indexOf(Rr(e).position)>=0,n=r&&Vt(e)?fl(e):e;return ti(n)?t.filter(function(i){return ti(i)&&aS(i,n)&&mr(i)!=="body"}):[]}function eI(e,t,r,n){var i=t==="clippingParents"?JR(e):[].concat(t),a=[].concat(i,[r]),o=a[0],l=a.reduce(function(s,u){var c=pS(e,u,n);return s.top=ri(c.top,s.top),s.right=Qu(c.right,s.right),s.bottom=Qu(c.bottom,s.bottom),s.left=ri(c.left,s.left),s},pS(e,o,n));return l.width=l.right-l.left,l.height=l.bottom-l.top,l.x=l.left,l.y=l.top,l}function vS(e){var t=e.reference,r=e.element,n=e.placement,i=n?gr(n):null,a=n?oa(n):null,o=t.x+t.width/2-r.width/2,l=t.y+t.height/2-r.height/2,s;switch(i){case gt:s={x:o,y:t.y-r.height};break;case zt:s={x:o,y:t.y+t.height};break;case Nt:s={x:t.x+t.width,y:l};break;case yt:s={x:t.x-r.width,y:l};break;default:s={x:t.x,y:t.y}}var u=i?Yv(i):null;if(u!=null){var c=u==="y"?"height":"width";switch(a){case na:s[u]=s[u]-(t[c]/2-r[c]/2);break;case ul:s[u]=s[u]+(t[c]/2-r[c]/2);break}}return s}function vl(e,t){t===void 0&&(t={});var r=t,n=r.placement,i=n===void 0?e.placement:n,a=r.strategy,o=a===void 0?e.strategy:a,l=r.boundary,s=l===void 0?xR:l,u=r.rootBoundary,c=u===void 0?tS:u,d=r.elementContext,f=d===void 0?cl:d,p=r.altBoundary,h=p===void 0?!1:p,g=r.padding,v=g===void 0?0:g,m=sS(typeof v!="number"?v:uS(v,sl)),y=f===cl?SR:cl,b=e.rects.popper,x=e.elements[h?y:f],E=eI(ti(x)?x:x.contextElement||bn(e.elements.popper),s,c,o),k=aa(e.elements.reference),T=vS({reference:k,element:b,strategy:"absolute",placement:i}),A=qv(Object.assign({},b,T)),O=f===cl?A:k,B={top:E.top-O.top+m.top,bottom:O.bottom-E.bottom+m.bottom,left:E.left-O.left+m.left,right:O.right-E.right+m.right},H=e.modifiersData.offset;if(f===cl&&H){var G=H[i];Object.keys(B).forEach(function(U){var Z=[Nt,zt].indexOf(U)>=0?1:-1,K=[gt,zt].indexOf(U)>=0?"y":"x";B[U]+=G[K]*Z})}return B}function tI(e,t){t===void 0&&(t={});var r=t,n=r.placement,i=r.boundary,a=r.rootBoundary,o=r.padding,l=r.flipVariations,s=r.allowedAutoPlacements,u=s===void 0?nS:s,c=oa(n),d=c?l?rS:rS.filter(function(h){return oa(h)===c}):sl,f=d.filter(function(h){return u.indexOf(h)>=0});f.length===0&&(f=d);var p=f.reduce(function(h,g){return h[g]=vl(e,{placement:g,boundary:i,rootBoundary:a,padding:o})[gr(g)],h},{});return Object.keys(p).sort(function(h,g){return p[h]-p[g]})}function rI(e){if(gr(e)===Wv)return[];var t=tc(e);return[fS(e),t,fS(t)]}function nI(e){var t=e.state,r=e.options,n=e.name;if(!t.modifiersData[n]._skip){for(var i=r.mainAxis,a=i===void 0?!0:i,o=r.altAxis,l=o===void 0?!0:o,s=r.fallbackPlacements,u=r.padding,c=r.boundary,d=r.rootBoundary,f=r.altBoundary,p=r.flipVariations,h=p===void 0?!0:p,g=r.allowedAutoPlacements,v=t.options.placement,m=gr(v),y=m===v,b=s||(y||!h?[tc(v)]:rI(v)),x=[v].concat(b).reduce(function($,z){return $.concat(gr(z)===Wv?tI(t,{placement:z,boundary:c,rootBoundary:d,padding:u,flipVariations:h,allowedAutoPlacements:g}):z)},[]),E=t.rects.reference,k=t.rects.popper,T=new Map,A=!0,O=x[0],B=0;B<x.length;B++){var H=x[B],G=gr(H),U=oa(H)===na,Z=[gt,zt].indexOf(G)>=0,K=Z?"width":"height",re=vl(t,{placement:H,boundary:c,rootBoundary:d,altBoundary:f,padding:u}),ne=Z?U?Nt:yt:U?zt:gt;E[K]>k[K]&&(ne=tc(ne));var Le=tc(ne),be=[];if(a&&be.push(re[G]<=0),l&&be.push(re[ne]<=0,re[Le]<=0),be.every(function($){return $})){O=H,A=!1;break}T.set(H,be)}if(A)for(var Be=h?3:1,R=function(z){var ee=x.find(function(de){var xe=T.get(de);if(xe)return xe.slice(0,z).every(function(We){return We})});if(ee)return O=ee,"break"},D=Be;D>0;D--){var L=R(D);if(L==="break")break}t.placement!==O&&(t.modifiersData[n]._skip=!0,t.placement=O,t.reset=!0)}}var iI={name:"flip",enabled:!0,phase:"main",fn:nI,requiresIfExists:["offset"],data:{_skip:!1}};function hS(e,t,r){return r===void 0&&(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 mS(e){return[gt,Nt,zt,yt].some(function(t){return e[t]>=0})}function aI(e){var t=e.state,r=e.name,n=t.rects.reference,i=t.rects.popper,a=t.modifiersData.preventOverflow,o=vl(t,{elementContext:"reference"}),l=vl(t,{altBoundary:!0}),s=hS(o,n),u=hS(l,i,a),c=mS(s),d=mS(u);t.modifiersData[r]={referenceClippingOffsets:s,popperEscapeOffsets:u,isReferenceHidden:c,hasPopperEscaped:d},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":c,"data-popper-escaped":d})}var oI={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:aI};function lI(e,t,r){var n=gr(e),i=[yt,gt].indexOf(n)>=0?-1:1,a=typeof r=="function"?r(Object.assign({},t,{placement:e})):r,o=a[0],l=a[1];return o=o||0,l=(l||0)*i,[yt,Nt].indexOf(n)>=0?{x:l,y:o}:{x:o,y:l}}function sI(e){var t=e.state,r=e.options,n=e.name,i=r.offset,a=i===void 0?[0,0]:i,o=nS.reduce(function(c,d){return c[d]=lI(d,t.rects,a),c},{}),l=o[t.placement],s=l.x,u=l.y;t.modifiersData.popperOffsets!=null&&(t.modifiersData.popperOffsets.x+=s,t.modifiersData.popperOffsets.y+=u),t.modifiersData[n]=o}var uI={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:sI};function cI(e){var t=e.state,r=e.name;t.modifiersData[r]=vS({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})}var fI={name:"popperOffsets",enabled:!0,phase:"read",fn:cI,data:{}};function dI(e){return e==="x"?"y":"x"}function pI(e){var t=e.state,r=e.options,n=e.name,i=r.mainAxis,a=i===void 0?!0:i,o=r.altAxis,l=o===void 0?!1:o,s=r.boundary,u=r.rootBoundary,c=r.altBoundary,d=r.padding,f=r.tether,p=f===void 0?!0:f,h=r.tetherOffset,g=h===void 0?0:h,v=vl(t,{boundary:s,rootBoundary:u,padding:d,altBoundary:c}),m=gr(t.placement),y=oa(t.placement),b=!y,x=Yv(m),E=dI(x),k=t.modifiersData.popperOffsets,T=t.rects.reference,A=t.rects.popper,O=typeof g=="function"?g(Object.assign({},t.rects,{placement:t.placement})):g,B=typeof O=="number"?{mainAxis:O,altAxis:O}:Object.assign({mainAxis:0,altAxis:0},O),H=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,G={x:0,y:0};if(!!k){if(a){var U,Z=x==="y"?gt:yt,K=x==="y"?zt:Nt,re=x==="y"?"height":"width",ne=k[x],Le=ne+v[Z],be=ne-v[K],Be=p?-A[re]/2:0,R=y===na?T[re]:A[re],D=y===na?-A[re]:-T[re],L=t.elements.arrow,$=p&&L?Gv(L):{width:0,height:0},z=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:lS(),ee=z[Z],de=z[K],xe=dl(0,T[re],$[re]),We=b?T[re]/2-Be-xe-ee-B.mainAxis:R-xe-ee-B.mainAxis,ai=b?-T[re]/2+Be+xe+de+B.mainAxis:D+xe+de+B.mainAxis,kn=t.elements.arrow&&fl(t.elements.arrow),ke=kn?x==="y"?kn.clientTop||0:kn.clientLeft||0:0,ot=(U=H==null?void 0:H[x])!=null?U:0,jt=ne+We-ot-ke,nm=ne+ai-ot,Ec=dl(p?Qu(Le,jt):Le,ne,p?ri(be,nm):be);k[x]=Ec,G[x]=Ec-ne}if(l){var kc,im=x==="x"?gt:yt,am=x==="x"?zt:Nt,Wt=k[E],Tn=E==="y"?"height":"width",oi=Wt+v[im],Ht=Wt-v[am],ga=[gt,yt].indexOf(m)!==-1,xl=(kc=H==null?void 0:H[E])!=null?kc:0,Tc=ga?oi:Wt-T[Tn]-A[Tn]-xl+B.altAxis,Pc=ga?Wt+T[Tn]+A[Tn]-xl-B.altAxis:Ht,li=p&&ga?$R(Tc,Wt,Pc):dl(p?Tc:oi,Wt,p?Pc:Ht);k[E]=li,G[E]=li-Wt}t.modifiersData[n]=G}}var vI={name:"preventOverflow",enabled:!0,phase:"main",fn:pI,requiresIfExists:["offset"]};function hI(e){return{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}}function mI(e){return e===Pt(e)||!Vt(e)?Xv(e):hI(e)}function gI(e){var t=e.getBoundingClientRect(),r=ia(t.width)/e.offsetWidth||1,n=ia(t.height)/e.offsetHeight||1;return r!==1||n!==1}function yI(e,t,r){r===void 0&&(r=!1);var n=Vt(t),i=Vt(t)&&gI(t),a=bn(t),o=aa(e,i,r),l={scrollLeft:0,scrollTop:0},s={x:0,y:0};return(n||!n&&!r)&&((mr(t)!=="body"||Kv(a))&&(l=mI(t)),Vt(t)?(s=aa(t,!0),s.x+=t.clientLeft,s.y+=t.clientTop):a&&(s.x=Zv(a))),{x:o.left+l.scrollLeft-s.x,y:o.top+l.scrollTop-s.y,width:o.width,height:o.height}}function bI(e){var t=new Map,r=new Set,n=[];e.forEach(function(a){t.set(a.name,a)});function i(a){r.add(a.name);var o=[].concat(a.requires||[],a.requiresIfExists||[]);o.forEach(function(l){if(!r.has(l)){var s=t.get(l);s&&i(s)}}),n.push(a)}return e.forEach(function(a){r.has(a.name)||i(a)}),n}function xI(e){var t=bI(e);return MR.reduce(function(r,n){return r.concat(t.filter(function(i){return i.phase===n}))},[])}function SI(e){var t;return function(){return t||(t=new Promise(function(r){Promise.resolve().then(function(){t=void 0,r(e())})})),t}}function wI(e){var t=e.reduce(function(r,n){var i=r[n.name];return r[n.name]=i?Object.assign({},i,n,{options:Object.assign({},i.options,n.options),data:Object.assign({},i.data,n.data)}):n,r},{});return Object.keys(t).map(function(r){return t[r]})}var gS={placement:"bottom",modifiers:[],strategy:"absolute"};function yS(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return!t.some(function(n){return!(n&&typeof n.getBoundingClientRect=="function")})}function CI(e){e===void 0&&(e={});var t=e,r=t.defaultModifiers,n=r===void 0?[]:r,i=t.defaultOptions,a=i===void 0?gS:i;return function(l,s,u){u===void 0&&(u=a);var c={placement:"bottom",orderedModifiers:[],options:Object.assign({},gS,a),modifiersData:{},elements:{reference:l,popper:s},attributes:{},styles:{}},d=[],f=!1,p={state:c,setOptions:function(m){var y=typeof m=="function"?m(c.options):m;g(),c.options=Object.assign({},a,c.options,y),c.scrollParents={reference:ti(l)?pl(l):l.contextElement?pl(l.contextElement):[],popper:pl(s)};var b=xI(wI([].concat(n,c.options.modifiers)));return c.orderedModifiers=b.filter(function(x){return x.enabled}),h(),p.update()},forceUpdate:function(){if(!f){var m=c.elements,y=m.reference,b=m.popper;if(!!yS(y,b)){c.rects={reference:yI(y,fl(b),c.options.strategy==="fixed"),popper:Gv(b)},c.reset=!1,c.placement=c.options.placement,c.orderedModifiers.forEach(function(B){return c.modifiersData[B.name]=Object.assign({},B.data)});for(var x=0;x<c.orderedModifiers.length;x++){if(c.reset===!0){c.reset=!1,x=-1;continue}var E=c.orderedModifiers[x],k=E.fn,T=E.options,A=T===void 0?{}:T,O=E.name;typeof k=="function"&&(c=k({state:c,options:A,name:O,instance:p})||c)}}}},update:SI(function(){return new Promise(function(v){p.forceUpdate(),v(c)})}),destroy:function(){g(),f=!0}};if(!yS(l,s))return p;p.setOptions(u).then(function(v){!f&&u.onFirstUpdate&&u.onFirstUpdate(v)});function h(){c.orderedModifiers.forEach(function(v){var m=v.name,y=v.options,b=y===void 0?{}:y,x=v.effect;if(typeof x=="function"){var E=x({state:c,name:m,instance:p,options:b}),k=function(){};d.push(E||k)}})}function g(){d.forEach(function(v){return v()}),d=[]}return p}}var EI=[YR,fI,UR,IR,uI,iI,vI,VR,oI],kI=CI({defaultModifiers:EI});function TI(e,t){if(e==null)return{};var r={},n=Object.keys(e),i,a;for(a=0;a<n.length;a++)i=n[a],!(t.indexOf(i)>=0)&&(r[i]=e[i]);return r}function er(){return er=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},er.apply(this,arguments)}var la=function(t,r){return{var:t,varRef:r?"var("+t+", "+r+")":"var("+t+")"}},Je={arrowShadowColor:la("--popper-arrow-shadow-color"),arrowSize:la("--popper-arrow-size","8px"),arrowSizeHalf:la("--popper-arrow-size-half"),arrowBg:la("--popper-arrow-bg"),transformOrigin:la("--popper-transform-origin"),arrowOffset:la("--popper-arrow-offset")};function PI(e){if(e.includes("top"))return"1px 1px 1px 0 var(--popper-arrow-shadow-color)";if(e.includes("bottom"))return"-1px -1px 1px 0 var(--popper-arrow-shadow-color)";if(e.includes("right"))return"-1px 1px 1px 0 var(--popper-arrow-shadow-color)";if(e.includes("left"))return"1px -1px 1px 0 var(--popper-arrow-shadow-color)"}var _I={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"},OI=function(t){return _I[t]},bS={scroll:!0,resize:!0};function AI(e){var t;return typeof e=="object"?t={enabled:!0,options:er({},bS,e)}:t={enabled:e,options:bS},t}var MI={name:"matchWidth",enabled:!0,phase:"beforeWrite",requires:["computeStyles"],fn:function(t){var r=t.state;r.styles.popper.width=r.rects.reference.width+"px"},effect:function(t){var r=t.state;return function(){var n=r.elements.reference;r.elements.popper.style.width=n.offsetWidth+"px"}}},FI={name:"transformOrigin",enabled:!0,phase:"write",fn:function(t){var r=t.state;xS(r)},effect:function(t){var r=t.state;return function(){xS(r)}}},xS=function(t){t.elements.popper.style.setProperty(Je.transformOrigin.var,OI(t.placement))},RI={name:"positionArrow",enabled:!0,phase:"afterWrite",fn:function(t){var r=t.state;II(r)}},II=function(t){var r;if(!!t.placement){var n=LI(t.placement);if((r=t.elements)!=null&&r.arrow&&n){var i,a;Object.assign(t.elements.arrow.style,(i={},i[n.property]=n.value,i.width=Je.arrowSize.varRef,i.height=Je.arrowSize.varRef,i.zIndex=-1,i));var o=(a={},a[Je.arrowSizeHalf.var]="calc("+Je.arrowSize.varRef+" / 2)",a[Je.arrowOffset.var]="calc("+Je.arrowSizeHalf.varRef+" * -1)",a);for(var l in o)t.elements.arrow.style.setProperty(l,o[l])}}},LI=function(t){if(t.startsWith("top"))return{property:"bottom",value:Je.arrowOffset.varRef};if(t.startsWith("bottom"))return{property:"top",value:Je.arrowOffset.varRef};if(t.startsWith("left"))return{property:"right",value:Je.arrowOffset.varRef};if(t.startsWith("right"))return{property:"left",value:Je.arrowOffset.varRef}},BI={name:"innerArrow",enabled:!0,phase:"main",requires:["arrow"],fn:function(t){var r=t.state;SS(r)},effect:function(t){var r=t.state;return function(){SS(r)}}},SS=function(t){if(!!t.elements.arrow){var r=t.elements.arrow.querySelector("[data-popper-arrow-inner]");!r||Object.assign(r.style,{transform:"rotate(45deg)",background:Je.arrowBg.varRef,top:0,left:0,width:"100%",height:"100%",position:"absolute",zIndex:"inherit",boxShadow:PI(t.placement)})}},$I={"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"}},DI={"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 zI(e,t){var r,n;t===void 0&&(t="ltr");var i=((r=$I[e])==null?void 0:r[t])||e;return t==="ltr"?i:(n=DI[e])!=null?n:i}var NI=["size","shadowColor","bg","style"];function VI(e){e===void 0&&(e={});var t=e,r=t.enabled,n=r===void 0?!0:r,i=t.modifiers,a=t.placement,o=a===void 0?"bottom":a,l=t.strategy,s=l===void 0?"absolute":l,u=t.arrowPadding,c=u===void 0?8:u,d=t.eventListeners,f=d===void 0?!0:d,p=t.offset,h=t.gutter,g=h===void 0?8:h,v=t.flip,m=v===void 0?!0:v,y=t.boundary,b=y===void 0?"clippingParents":y,x=t.preventOverflow,E=x===void 0?!0:x,k=t.matchWidth,T=t.direction,A=T===void 0?"ltr":T,O=F.useRef(null),B=F.useRef(null),H=F.useRef(null),G=zI(o,A),U=F.useRef(function(){}),Z=F.useCallback(function(){!n||!O.current||!B.current||(U.current==null||U.current(),H.current=kI(O.current,B.current,{placement:G,modifiers:[BI,RI,FI,er({},MI,{enabled:!!k}),er({name:"eventListeners"},AI(f)),{name:"arrow",options:{padding:c}},{name:"offset",options:{offset:p!=null?p:[0,g]}},{name:"flip",enabled:!!m,options:{padding:8}},{name:"preventOverflow",enabled:!!E,options:{boundary:b}}].concat(i!=null?i:[]),strategy:s}),H.current.forceUpdate(),U.current=H.current.destroy)},[G,n,i,k,f,c,p,g,m,E,b,s]);F.useEffect(function(){return function(){if(!O.current&&!B.current){var R;(R=H.current)==null||R.destroy(),H.current=null}}},[]);var K=F.useCallback(function(R){O.current=R,Z()},[Z]),re=F.useCallback(function(R,D){return R===void 0&&(R={}),D===void 0&&(D=null),er({},R,{ref:Pa(K,D)})},[K]),ne=F.useCallback(function(R){B.current=R,Z()},[Z]),Le=F.useCallback(function(R,D){return R===void 0&&(R={}),D===void 0&&(D=null),er({},R,{ref:Pa(ne,D),style:er({},R.style,{position:s,minWidth:"max-content",inset:"0 auto auto 0"})})},[s,ne]),be=F.useCallback(function(R,D){R===void 0&&(R={}),D===void 0&&(D=null);var L=R;L.size,L.shadowColor,L.bg,L.style;var $=TI(L,NI);return er({},$,{ref:D,"data-popper-arrow":"",style:jI(R)})},[]),Be=F.useCallback(function(R,D){return R===void 0&&(R={}),D===void 0&&(D=null),er({},R,{ref:D,"data-popper-arrow-inner":""})},[]);return{update:function(){var D;(D=H.current)==null||D.update()},forceUpdate:function(){var D;(D=H.current)==null||D.forceUpdate()},transformOrigin:Je.transformOrigin.varRef,referenceRef:K,popperRef:ne,getPopperProps:Le,getArrowProps:be,getArrowInnerProps:Be,getReferenceProps:re}}function jI(e){var t=e.size,r=e.shadowColor,n=e.bg,i=e.style,a=er({},i,{position:"absolute"});return t&&(a["--popper-arrow-size"]=t),r&&(a["--popper-arrow-shadow-color"]=r),n&&(a["--popper-arrow-bg"]=n),a}function WI(e,t){if(e==null)return{};var r={},n=Object.keys(e),i,a;for(a=0;a<n.length;a++)i=n[a],!(t.indexOf(i)>=0)&&(r[i]=e[i]);return r}var wS={exports:{}},HI="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED",UI=HI,GI=UI;function CS(){}function ES(){}ES.resetWarningCache=CS;var YI=function(){function e(n,i,a,o,l,s){if(s!==GI){var u=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw u.name="Invariant Violation",u}}e.isRequired=e;function t(){return e}var r={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:ES,resetWarningCache:CS};return r.PropTypes=r,r};wS.exports=YI();var rc=wS.exports,Qv="data-focus-lock",kS="data-focus-lock-disabled",XI="data-no-focus-lock",ZI="data-autofocus-inside";function KI(e,t){return typeof e=="function"?e(t):e&&(e.current=t),e}function qI(e,t){var r=F.useState(function(){return{value:e,callback:t,facade:{get current(){return r.value},set current(n){var i=r.value;i!==n&&(r.value=n,r.callback(n,i))}}}})[0];return r.callback=t,r.facade}function TS(e,t){return qI(t||null,function(r){return e.forEach(function(n){return KI(n,r)})})}var Jv={width:"1px",height:"0px",padding:0,overflow:"hidden",position:"fixed",top:"1px",left:"1px"};function PS(e){return e}function _S(e,t){t===void 0&&(t=PS);var r=[],n=!1,i={read:function(){if(n)throw new Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return r.length?r[r.length-1]:e},useMedium:function(a){var o=t(a,n);return r.push(o),function(){r=r.filter(function(l){return l!==o})}},assignSyncMedium:function(a){for(n=!0;r.length;){var o=r;r=[],o.forEach(a)}r={push:function(l){return a(l)},filter:function(){return r}}},assignMedium:function(a){n=!0;var o=[];if(r.length){var l=r;r=[],l.forEach(a),o=r}var s=function(){var c=o;o=[],c.forEach(a)},u=function(){return Promise.resolve().then(s)};u(),r={push:function(c){o.push(c),u()},filter:function(c){return o=o.filter(c),r}}}};return i}function eh(e,t){return t===void 0&&(t=PS),_S(e,t)}function OS(e){e===void 0&&(e={});var t=_S(null);return t.options=N({async:!0,ssr:!1},e),t}var AS=function(e){var t=e.sideCar,r=Tt(e,["sideCar"]);if(!t)throw new Error("Sidecar: please provide `sideCar` property to import the right car");var n=t.read();if(!n)throw new Error("Sidecar medium not found");return S.createElement(n,N({},r))};AS.isSideCarExport=!0;function QI(e,t){return e.useMedium(t),AS}var MS=eh({},function(e){var t=e.target,r=e.currentTarget;return{target:t,currentTarget:r}}),FS=eh(),JI=eh(),eL=OS({async:!0}),tL=[],th=S.forwardRef(function(t,r){var n,i=S.useState(),a=i[0],o=i[1],l=S.useRef(),s=S.useRef(!1),u=S.useRef(null),c=t.children,d=t.disabled,f=t.noFocusGuards,p=t.persistentFocus,h=t.crossFrame,g=t.autoFocus;t.allowTextSelection;var v=t.group,m=t.className,y=t.whiteList,b=t.shards,x=b===void 0?tL:b,E=t.as,k=E===void 0?"div":E,T=t.lockProps,A=T===void 0?{}:T,O=t.sideCar,B=t.returnFocus,H=t.onActivation,G=t.onDeactivation,U=S.useState({}),Z=U[0],K=S.useCallback(function(){u.current=u.current||document&&document.activeElement,l.current&&H&&H(l.current),s.current=!0},[H]),re=S.useCallback(function(){s.current=!1,G&&G(l.current)},[G]),ne=S.useCallback(function(z){var ee=u.current;if(Boolean(B)&&ee&&ee.focus){var de=typeof B=="object"?B:void 0;u.current=null,z?Promise.resolve().then(function(){return ee.focus(de)}):ee.focus(de)}},[B]),Le=S.useCallback(function(z){s.current&&MS.useMedium(z)},[]),be=FS.useMedium,Be=S.useCallback(function(z){l.current!==z&&(l.current=z,o(z))},[]),R=Pn((n={},n[kS]=d&&"disabled",n[Qv]=v,n),A),D=f!==!0,L=D&&f!=="tail",$=TS([r,Be]);return S.createElement(S.Fragment,null,D&&[S.createElement("div",{key:"guard-first","data-focus-guard":!0,tabIndex:d?-1:0,style:Jv}),S.createElement("div",{key:"guard-nearest","data-focus-guard":!0,tabIndex:d?-1:1,style:Jv})],!d&&S.createElement(O,{id:Z,sideCar:eL,observed:a,disabled:d,persistentFocus:p,crossFrame:h,autoFocus:g,whiteList:y,shards:x,onActivation:K,onDeactivation:re,returnFocus:ne}),S.createElement(k,Pn({ref:$},R,{className:m,onBlur:be,onFocus:Le}),c),L&&S.createElement("div",{"data-focus-guard":!0,tabIndex:d?-1:0,style:Jv}))});th.propTypes={},th.defaultProps={children:void 0,disabled:!1,returnFocus:!1,noFocusGuards:!1,autoFocus:!0,persistentFocus:!1,crossFrame:!0,allowTextSelection:void 0,group:void 0,className:void 0,whiteList:void 0,shards:void 0,as:"div",lockProps:{},onActivation:void 0,onDeactivation:void 0};var RS=th;function rh(e,t){return rh=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(n,i){return n.__proto__=i,n},rh(e,t)}function rL(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,rh(e,t)}function hl(e){return hl=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},hl(e)}function nL(e,t){if(hl(e)!=="object"||e===null)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t||"default");if(hl(n)!=="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function iL(e){var t=nL(e,"string");return hl(t)==="symbol"?t:String(t)}function aL(e,t,r){return t=iL(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function oL(e,t){function r(n){return n.displayName||n.name||"Component"}return function(i){var a=[],o;function l(){o=e(a.map(function(u){return u.props})),t(o)}var s=function(u){rL(c,u);function c(){return u.apply(this,arguments)||this}c.peek=function(){return o};var d=c.prototype;return d.componentDidMount=function(){a.push(this),l()},d.componentDidUpdate=function(){l()},d.componentWillUnmount=function(){var p=a.indexOf(this);a.splice(p,1),l()},d.render=function(){return C(i,{...this.props})},c}(F.PureComponent);return aL(s,"displayName","SideEffect("+r(i)+")"),s}}var xn=function(e){for(var t=Array(e.length),r=0;r<e.length;++r)t[r]=e[r];return t},nh=function(e){return Array.isArray(e)?e:[e]},lL=function(e){for(var t=new Set,r=e.length,n=0;n<r;n+=1)for(var i=n+1;i<r;i+=1){var a=e[n].compareDocumentPosition(e[i]);(a&Node.DOCUMENT_POSITION_CONTAINED_BY)>0&&t.add(i),(a&Node.DOCUMENT_POSITION_CONTAINS)>0&&t.add(n)}return e.filter(function(o,l){return!t.has(l)})},IS=function(e){return e.parentNode?IS(e.parentNode):e},ih=function(e){var t=nh(e);return t.filter(Boolean).reduce(function(r,n){var i=n.getAttribute(Qv);return r.push.apply(r,i?lL(xn(IS(n).querySelectorAll("["+Qv+'="'+i+'"]:not(['+kS+'="disabled"])'))):[n]),r},[])},sL=function(e){if(e.nodeType!==Node.ELEMENT_NODE)return!1;var t=window.getComputedStyle(e,null);return!t||!t.getPropertyValue?!1:t.getPropertyValue("display")==="none"||t.getPropertyValue("visibility")==="hidden"},uL=function(e,t){return!e||e===document||e&&e.nodeType===Node.DOCUMENT_NODE||!sL(e)&&t(e.parentNode&&e.parentNode.nodeType===Node.DOCUMENT_FRAGMENT_NODE?e.parentNode.host:e.parentNode)},LS=function(e,t){var r=e.get(t);if(r!==void 0)return r;var n=uL(t,LS.bind(void 0,e));return e.set(t,n),n},cL=function(e){return!((e.tagName==="INPUT"||e.tagName==="BUTTON")&&(e.type==="hidden"||e.disabled))},ah=function(e){return Boolean(e&&e.dataset&&e.dataset.focusGuard)},nc=function(e){return!ah(e)},fL=function(e){return Boolean(e)},dL=function(e,t){var r=e.tabIndex-t.tabIndex,n=e.index-t.index;if(r){if(!e.tabIndex)return 1;if(!t.tabIndex)return-1}return r||n},BS=function(e,t,r){return xn(e).map(function(n,i){return{node:n,index:i,tabIndex:r&&n.tabIndex===-1?(n.dataset||{}).focusGuard?0:-1:n.tabIndex}}).filter(function(n){return!t||n.tabIndex>=0}).sort(dL)},pL=["button:enabled","select:enabled","textarea:enabled","input:enabled","a[href]","area[href]","summary","iframe","object","embed","audio[controls]","video[controls]","[tabindex]","[contenteditable]","[autofocus]"],oh=pL.join(","),vL=oh+", [data-focus-guard]",lh=function(e,t){return e.reduce(function(r,n){return r.concat(xn(n.querySelectorAll(t?vL:oh)),n.parentNode?xn(n.parentNode.querySelectorAll(oh)).filter(function(i){return i===n}):[])},[])},hL=function(e){var t=e.querySelectorAll("["+ZI+"]");return xn(t).map(function(r){return lh([r])}).reduce(function(r,n){return r.concat(n)},[])},sh=function(e,t){return xn(e).filter(function(r){return LS(t,r)}).filter(function(r){return cL(r)})},uh=function(e,t,r){return BS(sh(lh(e,r),t),!0,r)},$S=function(e,t){return BS(sh(lh(e),t),!1)},mL=function(e,t){return sh(hL(e),t)},ch=function(e,t){return t===void 0&&(t=[]),t.push(e),e.parentNode&&ch(e.parentNode,t),t},fh=function(e,t){for(var r=ch(e),n=ch(t),i=0;i<r.length;i+=1){var a=r[i];if(n.indexOf(a)>=0)return a}return!1},DS=function(e,t,r){var n=nh(e),i=nh(t),a=n[0],o=!1;return i.filter(Boolean).forEach(function(l){o=fh(o||l,l)||o,r.filter(Boolean).forEach(function(s){var u=fh(a,s);u&&(!o||u.contains(o)?o=u:o=fh(u,o))})}),o},gL=function(e,t){return e.reduce(function(r,n){return r.concat(mL(n,t))},[])},yL=function(e){var t=ih(e).filter(nc),r=DS(e,e,t),n=new Map,i=uh([r],n,!0),a=uh(t,n).filter(function(o){var l=o.node;return nc(l)}).map(function(o){var l=o.node;return l});return i.map(function(o){var l=o.node,s=o.index;return{node:l,index:s,lockItem:a.indexOf(l)>=0,guard:ah(l)}})},bL=function(e){return e===document.activeElement},xL=function(e){return Boolean(xn(e.querySelectorAll("iframe")).some(function(t){return bL(t)}))},zS=function(e){var t=document&&document.activeElement;return!t||t.dataset&&t.dataset.focusGuard?!1:ih(e).reduce(function(r,n){return r||n.contains(t)||xL(n)},!1)},SL=function(){return document&&xn(document.querySelectorAll("["+XI+"]")).some(function(e){return e.contains(document.activeElement)})},NS=function(e){return e.tagName==="INPUT"&&e.type==="radio"},wL=function(e,t){return t.filter(NS).filter(function(r){return r.name===e.name}).filter(function(r){return r.checked})[0]||e},dh=function(e,t){return NS(e)&&e.name?wL(e,t):e},CL=function(e){var t=new Set;return e.forEach(function(r){return t.add(dh(r,e))}),e.filter(function(r){return t.has(r)})},VS=function(e){return e[0]&&e.length>1?dh(e[0],e):e[0]},jS=function(e,t){return e.length>1?e.indexOf(dh(e[t],e)):t},WS="NEW_FOCUS",EL=function(e,t,r,n){var i=e.length,a=e[0],o=e[i-1],l=ah(r);if(!(e.indexOf(r)>=0)){var s=t.indexOf(r),u=n?t.indexOf(n):s,c=n?e.indexOf(n):-1,d=s-u,f=t.indexOf(a),p=t.indexOf(o),h=CL(t),g=h.indexOf(r)-(n?h.indexOf(n):s),v=jS(e,0),m=jS(e,i-1);if(s===-1||c===-1)return WS;if(!d&&c>=0)return c;if(s<=f&&l&&Math.abs(d)>1)return m;if(s>=p&&l&&Math.abs(d)>1)return v;if(d&&Math.abs(g)>1)return c;if(s<=f)return m;if(s>p)return v;if(d)return Math.abs(d)>1?c:(i+c+d)%i}},kL=function(e){return function(t){return t.autofocus||t.dataset&&!!t.dataset.autofocus||e.indexOf(t)>=0}},TL=function(e,t){var r=new Map;return t.forEach(function(n){return r.set(n.node,n)}),e.map(function(n){return r.get(n)}).filter(fL)},PL=function(e,t){var r=document&&document.activeElement,n=ih(e).filter(nc),i=DS(r||e,e,n),a=new Map,o=$S(n,a),l=uh(n,a).filter(function(p){var h=p.node;return nc(h)});if(!(!l[0]&&(l=o,!l[0]))){var s=$S([i],a).map(function(p){var h=p.node;return h}),u=TL(s,l),c=u.map(function(p){var h=p.node;return h}),d=EL(c,s,r,t);if(d===WS){var f=o.map(function(p){var h=p.node;return h}).filter(kL(gL(n,a)));return{node:f&&f.length?VS(f):VS(c)}}return d===void 0?d:u[d]}},_L=function(e){e.focus(),"contentWindow"in e&&e.contentWindow&&e.contentWindow.focus()},ph=0,vh=!1,OL=function(e,t){var r=PL(e,t);if(!vh&&r){if(ph>2){console.error("FocusLock: focus-fighting detected. Only one focus management system could be active. See https://github.com/theKashey/focus-lock/#focus-fighting"),vh=!0,setTimeout(function(){vh=!1},1);return}ph++,_L(r.node),ph--}},HS=OL;function US(e){var t=window,r=t.setImmediate;typeof r!="undefined"?r(e):setTimeout(e,1)}var AL=function(){return document&&document.activeElement===document.body},ML=function(){return AL()||SL()},sa=null,ua=null,ca=null,ml=!1,FL=function(){return!0},RL=function(t){return(sa.whiteList||FL)(t)},IL=function(t,r){ca={observerNode:t,portaledElement:r}},LL=function(t){return ca&&ca.portaledElement===t};function GS(e,t,r,n){var i=null,a=e;do{var o=n[a];if(o.guard)o.node.dataset.focusAutoGuard&&(i=o);else if(o.lockItem){if(a!==e)return;i=null}else break}while((a+=r)!==t);i&&(i.node.tabIndex=0)}var BL=function(t){return t&&"current"in t?t.current:t},$L=function(t){return t?Boolean(ml):ml==="meanwhile"},ic=function(){var t=!1;if(sa){var r=sa,n=r.observed,i=r.persistentFocus,a=r.autoFocus,o=r.shards,l=r.crossFrame,s=n||ca&&ca.portaledElement,u=document&&document.activeElement;if(s){var c=[s].concat(o.map(BL).filter(Boolean));if((!u||RL(u))&&(i||$L(l)||!ML()||!ua&&a)&&(s&&!(zS(c)||LL(u))&&(document&&!ua&&u&&!a?(u.blur&&u.blur(),document.body.focus()):(t=HS(c,ua),ca={})),ml=!1,ua=document&&document.activeElement),document){var d=document&&document.activeElement,f=yL(c),p=f.map(function(h){var g=h.node;return g}).indexOf(d);p>-1&&(f.filter(function(h){var g=h.guard,v=h.node;return g&&v.dataset.focusAutoGuard}).forEach(function(h){var g=h.node;return g.removeAttribute("tabIndex")}),GS(p,f.length,1,f),GS(p,-1,-1,f))}}}return t},YS=function(t){ic()&&t&&(t.stopPropagation(),t.preventDefault())},hh=function(){return US(ic)},DL=function(t){var r=t.target,n=t.currentTarget;n.contains(r)||IL(n,r)},zL=function(){return null},XS=function(){ml="just",setTimeout(function(){ml="meanwhile"},0)},NL=function(){document.addEventListener("focusin",YS,!0),document.addEventListener("focusout",hh),window.addEventListener("blur",XS)},VL=function(){document.removeEventListener("focusin",YS,!0),document.removeEventListener("focusout",hh),window.removeEventListener("blur",XS)};function jL(e){return e.filter(function(t){var r=t.disabled;return!r})}function WL(e){var t=e.slice(-1)[0];t&&!sa&&NL();var r=sa,n=r&&t&&t.id===r.id;sa=t,r&&!n&&(r.onDeactivation(),e.filter(function(i){var a=i.id;return a===r.id}).length||r.returnFocus(!t)),t?(ua=null,(!n||r.observed!==t.observed)&&t.onActivation(),ic(),US(ic)):(VL(),ua=null)}MS.assignSyncMedium(DL),FS.assignMedium(hh),JI.assignMedium(function(e){return e({moveFocusInside:HS,focusInside:zS})});var HL=oL(jL,WL)(zL),ZS=S.forwardRef(function(t,r){return S.createElement(RS,Pn({sideCar:HL,ref:r},t))}),KS=RS.propTypes||{};KS.sideCar,WI(KS,["sideCar"]),ZS.propTypes={};var UL=ZS,GL=function(t){var r=t.initialFocusRef,n=t.finalFocusRef,i=t.contentRef,a=t.restoreFocus,o=t.children,l=t.isDisabled,s=t.autoFocus,u=t.persistentFocus,c=t.lockFocusAcrossFrames,d=S.useCallback(function(){if(r!=null&&r.current)r.current.focus();else if(i!=null&&i.current){var h=xC(i.current);h.length===0&&kC(i.current,{nextTick:!0})}},[r,i]),f=S.useCallback(function(){var h;n==null||(h=n.current)==null||h.focus()},[n]),p=a&&!n;return S.createElement(UL,{crossFrame:c,persistentFocus:u,autoFocus:s,disabled:l,onActivation:d,onDeactivation:f,returnFocus:p},o)};/*! *****************************************************************************
334
- Copyright (c) Microsoft Corporation.
335
-
336
- Permission to use, copy, modify, and/or distribute this software for any
337
- purpose with or without fee is hereby granted.
338
-
339
- THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
340
- REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
341
- AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
342
- INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
343
- LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
344
- OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
345
- PERFORMANCE OF THIS SOFTWARE.
346
- ***************************************************************************** */var fa=function(){return fa=Object.assign||function(t){for(var r,n=1,i=arguments.length;n<i;n++){r=arguments[n];for(var a in r)Object.prototype.hasOwnProperty.call(r,a)&&(t[a]=r[a])}return t},fa.apply(this,arguments)};function YL(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,n=Object.getOwnPropertySymbols(e);i<n.length;i++)t.indexOf(n[i])<0&&Object.prototype.propertyIsEnumerable.call(e,n[i])&&(r[n[i]]=e[n[i]]);return r}var ac="right-scroll-bar-position",oc="width-before-scroll-bar",XL="with-scroll-bars-hidden",ZL="--removed-body-scroll-bar-size",qS=OS(),mh=function(){},lc=S.forwardRef(function(e,t){var r=S.useRef(null),n=S.useState({onScrollCapture:mh,onWheelCapture:mh,onTouchMoveCapture:mh}),i=n[0],a=n[1],o=e.forwardProps,l=e.children,s=e.className,u=e.removeScrollBar,c=e.enabled,d=e.shards,f=e.sideCar,p=e.noIsolation,h=e.inert,g=e.allowPinchZoom,v=e.as,m=v===void 0?"div":v,y=YL(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noIsolation","inert","allowPinchZoom","as"]),b=f,x=TS([r,t]),E=fa({},y,i);return S.createElement(S.Fragment,null,c&&S.createElement(b,{sideCar:qS,removeScrollBar:u,shards:d,noIsolation:p,inert:h,setCallbacks:a,allowPinchZoom:!!g,lockRef:r}),o?S.cloneElement(S.Children.only(l),fa({},E,{ref:x})):S.createElement(m,fa({},E,{className:s,ref:x}),l))});lc.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1},lc.classNames={fullWidth:oc,zeroRight:ac};var KL=function(){if(typeof __webpack_nonce__!="undefined")return __webpack_nonce__};function qL(){if(!document)return null;var e=document.createElement("style");e.type="text/css";var t=KL();return t&&e.setAttribute("nonce",t),e}function QL(e,t){e.styleSheet?e.styleSheet.cssText=t:e.appendChild(document.createTextNode(t))}function JL(e){var t=document.head||document.getElementsByTagName("head")[0];t.appendChild(e)}var eB=function(){var e=0,t=null;return{add:function(r){e==0&&(t=qL())&&(QL(t,r),JL(t)),e++},remove:function(){e--,!e&&t&&(t.parentNode&&t.parentNode.removeChild(t),t=null)}}},tB=function(){var e=eB();return function(t,r){S.useEffect(function(){return e.add(t),function(){e.remove()}},[t&&r])}},QS=function(){var e=tB(),t=function(r){var n=r.styles,i=r.dynamic;return e(n,i),null};return t},rB={left:0,top:0,right:0,gap:0},gh=function(e){return parseInt(e||"",10)||0},nB=function(e){var t=window.getComputedStyle(document.body),r=t[e==="padding"?"paddingLeft":"marginLeft"],n=t[e==="padding"?"paddingTop":"marginTop"],i=t[e==="padding"?"paddingRight":"marginRight"];return[gh(r),gh(n),gh(i)]},iB=function(e){if(e===void 0&&(e="margin"),typeof window=="undefined")return rB;var t=nB(e),r=document.documentElement.clientWidth,n=window.innerWidth;return{left:t[0],top:t[1],right:t[2],gap:Math.max(0,n-r+t[2]-t[0])}},aB=QS(),oB=function(e,t,r,n){var i=e.left,a=e.top,o=e.right,l=e.gap;return r===void 0&&(r="margin"),`
347
- .`.concat(XL,` {
348
- overflow: hidden `).concat(n,`;
349
- padding-right: `).concat(l,"px ").concat(n,`;
234
+ )`;return{...!l&&f&&h,...l?{bgImage:g}:{bgColor:p}}},pj={lineHeight:"1",fontSize:"0.25em",fontWeight:"bold",color:"white"},hj=t=>({bg:mt("gray.100","whiteAlpha.300")(t)}),vj=t=>({transitionProperty:"common",transitionDuration:"slow",...dj(t)}),mj=nv(t=>({label:pj,filledTrack:vj(t),track:hj(t)})),gj={xs:nv({track:{h:"1"}}),sm:nv({track:{h:"2"}}),md:nv({track:{h:"3"}}),lg:nv({track:{h:"4"}})},yj=fj({sizes:gj,baseStyle:mj,defaultProps:{size:"md",colorScheme:"blue"}}),bj=t=>typeof t=="function";function Qa(t,...r){return bj(t)?t(...r):t}var{definePartsStyle:ky,defineMultiStyleConfig:Sj}=Fn(dz.keys),rv=gt("checkbox-size"),xj=t=>{const{colorScheme:r}=t;return{w:rv.reference,h:rv.reference,transitionProperty:"box-shadow",transitionDuration:"normal",border:"2px solid",borderRadius:"sm",borderColor:"inherit",color:"white",_checked:{bg:mt(`${r}.500`,`${r}.200`)(t),borderColor:mt(`${r}.500`,`${r}.200`)(t),color:mt("white","gray.900")(t),_hover:{bg:mt(`${r}.600`,`${r}.300`)(t),borderColor:mt(`${r}.600`,`${r}.300`)(t)},_disabled:{borderColor:mt("gray.200","transparent")(t),bg:mt("gray.200","whiteAlpha.300")(t),color:mt("gray.500","whiteAlpha.500")(t)}},_indeterminate:{bg:mt(`${r}.500`,`${r}.200`)(t),borderColor:mt(`${r}.500`,`${r}.200`)(t),color:mt("white","gray.900")(t)},_disabled:{bg:mt("gray.100","whiteAlpha.100")(t),borderColor:mt("gray.100","transparent")(t)},_focusVisible:{boxShadow:"outline"},_invalid:{borderColor:mt("red.500","red.300")(t)}}},Cj={_disabled:{cursor:"not-allowed"}},wj={userSelect:"none",_disabled:{opacity:.4}},Ej={transitionProperty:"transform",transitionDuration:"normal"},Tj=ky(t=>({icon:Ej,container:Cj,control:Qa(xj,t),label:wj})),kj={sm:ky({control:{[rv.variable]:"sizes.3"},label:{fontSize:"sm"},icon:{fontSize:"3xs"}}),md:ky({control:{[rv.variable]:"sizes.4"},label:{fontSize:"md"},icon:{fontSize:"2xs"}}),lg:ky({control:{[rv.variable]:"sizes.5"},label:{fontSize:"lg"},icon:{fontSize:"2xs"}})},_y=Sj({baseStyle:Tj,sizes:kj,defaultProps:{size:"md",colorScheme:"blue"}}),{defineMultiStyleConfig:_j,definePartsStyle:Ry}=Fn(Ez.keys),Rj=t=>{var r;const i=(r=Qa(_y.baseStyle,t))==null?void 0:r.control;return{...i,borderRadius:"full",_checked:{...i==null?void 0:i._checked,_before:{content:'""',display:"inline-block",pos:"relative",w:"50%",h:"50%",borderRadius:"50%",bg:"currentColor"}}}},Dj=Ry(t=>{var r,i,l,f;return{label:(i=(r=_y).baseStyle)==null?void 0:i.call(r,t).label,container:(f=(l=_y).baseStyle)==null?void 0:f.call(l,t).container,control:Rj(t)}}),Oj={md:Ry({control:{w:"4",h:"4"},label:{fontSize:"md"}}),lg:Ry({control:{w:"5",h:"5"},label:{fontSize:"lg"}}),sm:Ry({control:{width:"3",height:"3"},label:{fontSize:"sm"}})},Aj=_j({baseStyle:Dj,sizes:Oj,defaultProps:{size:"md",colorScheme:"blue"}}),{defineMultiStyleConfig:Mj,definePartsStyle:Pj}=Fn(Tz.keys),Dy=gt("select-bg"),K_,Lj={...(K_=un.baseStyle)==null?void 0:K_.field,appearance:"none",paddingBottom:"1px",lineHeight:"normal",bg:Dy.reference,[Dy.variable]:"colors.white",_dark:{[Dy.variable]:"colors.gray.700"},"> option, > optgroup":{bg:Dy.reference}},zj={width:"6",height:"100%",insetEnd:"2",position:"relative",color:"currentColor",fontSize:"xl",_disabled:{opacity:.5}},Nj=Pj({field:Lj,icon:zj}),Oy={paddingInlineEnd:"8"},Z_,J_,e5,t5,n5,r5,a5,i5,jj={lg:{...(Z_=un.sizes)==null?void 0:Z_.lg,field:{...(J_=un.sizes)==null?void 0:J_.lg.field,...Oy}},md:{...(e5=un.sizes)==null?void 0:e5.md,field:{...(t5=un.sizes)==null?void 0:t5.md.field,...Oy}},sm:{...(n5=un.sizes)==null?void 0:n5.sm,field:{...(r5=un.sizes)==null?void 0:r5.sm.field,...Oy}},xs:{...(a5=un.sizes)==null?void 0:a5.xs,field:{...(i5=un.sizes)==null?void 0:i5.xs.field,...Oy},icon:{insetEnd:"1"}}},Fj=Mj({baseStyle:Nj,sizes:jj,variants:un.variants,defaultProps:un.defaultProps}),lx=gt("skeleton-start-color"),ux=gt("skeleton-end-color"),$j={[lx.variable]:"colors.gray.100",[ux.variable]:"colors.gray.400",_dark:{[lx.variable]:"colors.gray.800",[ux.variable]:"colors.gray.600"},background:lx.reference,borderColor:ux.reference,opacity:.7,borderRadius:"sm"},Bj={baseStyle:$j},cx=gt("skip-link-bg"),Vj={borderRadius:"md",fontWeight:"semibold",_focusVisible:{boxShadow:"outline",padding:"4",position:"fixed",top:"6",insetStart:"6",[cx.variable]:"colors.white",_dark:{[cx.variable]:"colors.gray.700"},bg:cx.reference}},Ij={baseStyle:Vj},{defineMultiStyleConfig:Uj,definePartsStyle:Ay}=Fn(kz.keys),av=gt("slider-thumb-size"),iv=gt("slider-track-size"),pu=gt("slider-bg"),Hj=t=>{const{orientation:r}=t;return{display:"inline-block",position:"relative",cursor:"pointer",_disabled:{opacity:.6,cursor:"default",pointerEvents:"none"},...tx({orientation:r,vertical:{h:"100%"},horizontal:{w:"100%"}})}},Wj=t=>({...tx({orientation:t.orientation,horizontal:{h:iv.reference},vertical:{w:iv.reference}}),overflow:"hidden",borderRadius:"sm",[pu.variable]:"colors.gray.200",_dark:{[pu.variable]:"colors.whiteAlpha.200"},_disabled:{[pu.variable]:"colors.gray.300",_dark:{[pu.variable]:"colors.whiteAlpha.300"}},bg:pu.reference}),Yj=t=>{const{orientation:r}=t;return{...tx({orientation:r,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:av.reference,h:av.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"}}},Gj=t=>{const{colorScheme:r}=t;return{width:"inherit",height:"inherit",[pu.variable]:`colors.${r}.500`,_dark:{[pu.variable]:`colors.${r}.200`},bg:pu.reference}},qj=Ay(t=>({container:Hj(t),track:Wj(t),thumb:Yj(t),filledTrack:Gj(t)})),Xj=Ay({container:{[av.variable]:"sizes.4",[iv.variable]:"sizes.1"}}),Qj=Ay({container:{[av.variable]:"sizes.3.5",[iv.variable]:"sizes.1"}}),Kj=Ay({container:{[av.variable]:"sizes.2.5",[iv.variable]:"sizes.0.5"}}),Zj={lg:Xj,md:Qj,sm:Kj},Jj=Uj({baseStyle:qj,sizes:Zj,defaultProps:{size:"md",colorScheme:"blue"}}),Mc=zr("spinner-size"),e9={width:[Mc.reference],height:[Mc.reference]},t9={xs:{[Mc.variable]:"sizes.3"},sm:{[Mc.variable]:"sizes.4"},md:{[Mc.variable]:"sizes.6"},lg:{[Mc.variable]:"sizes.8"},xl:{[Mc.variable]:"sizes.12"}},n9={baseStyle:e9,sizes:t9,defaultProps:{size:"md"}},{defineMultiStyleConfig:r9,definePartsStyle:o5}=Fn(_z.keys),a9={fontWeight:"medium"},i9={opacity:.8,marginBottom:"2"},o9={verticalAlign:"baseline",fontWeight:"semibold"},s9={marginEnd:1,w:"3.5",h:"3.5",verticalAlign:"middle"},l9=o5({container:{},label:a9,helpText:i9,number:o9,icon:s9}),u9={md:o5({label:{fontSize:"sm"},helpText:{fontSize:"sm"},number:{fontSize:"2xl"}})},c9=r9({baseStyle:l9,sizes:u9,defaultProps:{size:"md"}}),fx=gt("kbd-bg"),f9={[fx.variable]:"colors.gray.100",_dark:{[fx.variable]:"colors.whiteAlpha.100"},bg:fx.reference,borderRadius:"md",borderWidth:"1px",borderBottomWidth:"3px",fontSize:"0.8em",fontWeight:"bold",lineHeight:"normal",px:"0.4em",whiteSpace:"nowrap"},d9={baseStyle:f9},p9={transitionProperty:"common",transitionDuration:"fast",transitionTimingFunction:"ease-out",cursor:"pointer",textDecoration:"none",outline:"none",color:"inherit",_hover:{textDecoration:"underline"},_focusVisible:{boxShadow:"outline"}},h9={baseStyle:p9},{defineMultiStyleConfig:v9,definePartsStyle:m9}=Fn(yz.keys),g9={marginEnd:"2",display:"inline",verticalAlign:"text-bottom"},y9=m9({icon:g9}),b9=v9({baseStyle:y9}),{defineMultiStyleConfig:S9,definePartsStyle:x9}=Fn(bz.keys),vs=gt("menu-bg"),dx=gt("menu-shadow"),C9={[vs.variable]:"#fff",[dx.variable]:"shadows.sm",_dark:{[vs.variable]:"colors.gray.700",[dx.variable]:"shadows.dark-lg"},color:"inherit",minW:"3xs",py:"2",zIndex:1,borderRadius:"md",borderWidth:"1px",bg:vs.reference,boxShadow:dx.reference},w9={py:"1.5",px:"3",transitionProperty:"background",transitionDuration:"ultra-fast",transitionTimingFunction:"ease-in",_focus:{[vs.variable]:"colors.gray.100",_dark:{[vs.variable]:"colors.whiteAlpha.100"}},_active:{[vs.variable]:"colors.gray.200",_dark:{[vs.variable]:"colors.whiteAlpha.200"}},_expanded:{[vs.variable]:"colors.gray.100",_dark:{[vs.variable]:"colors.whiteAlpha.100"}},_disabled:{opacity:.4,cursor:"not-allowed"},bg:vs.reference},E9={mx:4,my:2,fontWeight:"semibold",fontSize:"sm"},T9={display:"inline-flex",alignItems:"center",justifyContent:"center",flexShrink:0},k9={opacity:.6},_9={border:0,borderBottom:"1px solid",borderColor:"inherit",my:"2",opacity:.6},R9={transitionProperty:"common",transitionDuration:"normal"},D9=x9({button:R9,list:C9,item:w9,groupTitle:E9,icon:T9,command:k9,divider:_9}),O9=S9({baseStyle:D9}),{defineMultiStyleConfig:A9,definePartsStyle:px}=Fn(Sz.keys),hx=gt("modal-bg"),vx=gt("modal-shadow"),M9={bg:"blackAlpha.600",zIndex:"modal"},P9=t=>{const{isCentered:r,scrollBehavior:i}=t;return{display:"flex",zIndex:"modal",justifyContent:"center",alignItems:r?"center":"flex-start",overflow:i==="inside"?"hidden":"auto",overscrollBehaviorY:"none"}},L9=t=>{const{isCentered:r,scrollBehavior:i}=t;return{borderRadius:"md",color:"inherit",my:r?"auto":"16",mx:r?"auto":void 0,zIndex:"modal",maxH:i==="inside"?"calc(100% - 7.5rem)":void 0,[hx.variable]:"colors.white",[vx.variable]:"shadows.lg",_dark:{[hx.variable]:"colors.gray.700",[vx.variable]:"shadows.dark-lg"},bg:hx.reference,boxShadow:vx.reference}},z9={px:"6",py:"4",fontSize:"xl",fontWeight:"semibold"},N9={position:"absolute",top:"2",insetEnd:"3"},j9=t=>{const{scrollBehavior:r}=t;return{px:"6",py:"2",flex:"1",overflow:r==="inside"?"auto":void 0}},F9={px:"6",py:"4"},$9=px(t=>({overlay:M9,dialogContainer:Qa(P9,t),dialog:Qa(L9,t),header:z9,closeButton:N9,body:Qa(j9,t),footer:F9}));function Ro(t){return px(t==="full"?{dialog:{maxW:"100vw",minH:"$100vh",my:"0",borderRadius:"0"}}:{dialog:{maxW:t}})}var B9={xs:Ro("xs"),sm:Ro("sm"),md:Ro("md"),lg:Ro("lg"),xl:Ro("xl"),"2xl":Ro("2xl"),"3xl":Ro("3xl"),"4xl":Ro("4xl"),"5xl":Ro("5xl"),"6xl":Ro("6xl"),full:Ro("full")},V9=A9({baseStyle:$9,sizes:B9,defaultProps:{size:"md"}}),{defineMultiStyleConfig:I9,definePartsStyle:s5}=Fn(xz.keys),mx=zr("number-input-stepper-width"),l5=zr("number-input-input-padding"),U9=ol(mx).add("0.5rem").toString(),gx=zr("number-input-bg"),yx=zr("number-input-color"),bx=zr("number-input-border-color"),H9={[mx.variable]:"sizes.6",[l5.variable]:U9},W9=t=>{var r,i;return(i=(r=Qa(un.baseStyle,t))==null?void 0:r.field)!=null?i:{}},Y9={width:mx.reference},G9={borderStart:"1px solid",borderStartColor:bx.reference,color:yx.reference,bg:gx.reference,[yx.variable]:"colors.chakra-body-text",[bx.variable]:"colors.chakra-border-color",_dark:{[yx.variable]:"colors.whiteAlpha.800",[bx.variable]:"colors.whiteAlpha.300"},_active:{[gx.variable]:"colors.gray.200",_dark:{[gx.variable]:"colors.whiteAlpha.300"}},_disabled:{opacity:.4,cursor:"not-allowed"}},q9=s5(t=>{var r;return{root:H9,field:(r=Qa(W9,t))!=null?r:{},stepperGroup:Y9,stepper:G9}});function My(t){var r,i,l;const f=(r=un.sizes)==null?void 0:r[t],h={lg:"md",md:"md",sm:"sm",xs:"sm"},p=(l=(i=f.field)==null?void 0:i.fontSize)!=null?l:"md",g=k_.fontSizes[p];return s5({field:{...f.field,paddingInlineEnd:l5.reference,verticalAlign:"top"},stepper:{fontSize:ol(g).multiply(.75).toString(),_first:{borderTopEndRadius:h[t]},_last:{borderBottomEndRadius:h[t],mt:"-1px",borderTopWidth:1}}})}var X9={xs:My("xs"),sm:My("sm"),md:My("md"),lg:My("lg")},Q9=I9({baseStyle:q9,sizes:X9,variants:un.variants,defaultProps:un.defaultProps}),u5,K9={...(u5=un.baseStyle)==null?void 0:u5.field,textAlign:"center"},Z9={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"}},c5,f5,J9={outline:t=>{var r,i,l;return(l=(i=Qa((r=un.variants)==null?void 0:r.outline,t))==null?void 0:i.field)!=null?l:{}},flushed:t=>{var r,i,l;return(l=(i=Qa((r=un.variants)==null?void 0:r.flushed,t))==null?void 0:i.field)!=null?l:{}},filled:t=>{var r,i,l;return(l=(i=Qa((r=un.variants)==null?void 0:r.filled,t))==null?void 0:i.field)!=null?l:{}},unstyled:(f5=(c5=un.variants)==null?void 0:c5.unstyled.field)!=null?f5:{}},eF={baseStyle:K9,sizes:Z9,variants:J9,defaultProps:un.defaultProps},{defineMultiStyleConfig:tF,definePartsStyle:nF}=Fn(Cz.keys),Py=zr("popper-bg"),rF=zr("popper-arrow-bg"),d5=zr("popper-arrow-shadow-color"),aF={zIndex:10},iF={[Py.variable]:"colors.white",bg:Py.reference,[rF.variable]:Py.reference,[d5.variable]:"colors.gray.200",_dark:{[Py.variable]:"colors.gray.700",[d5.variable]:"colors.whiteAlpha.300"},width:"xs",border:"1px solid",borderColor:"inherit",borderRadius:"md",boxShadow:"sm",zIndex:"inherit",_focusVisible:{outline:0,boxShadow:"outline"}},oF={px:3,py:2,borderBottomWidth:"1px"},sF={px:3,py:2},lF={px:3,py:2,borderTopWidth:"1px"},uF={position:"absolute",borderRadius:"md",top:1,insetEnd:2,padding:2},cF=nF({popper:aF,content:iF,header:oF,body:sF,footer:lF,closeButton:uF}),fF=tF({baseStyle:cF}),{definePartsStyle:Sx,defineMultiStyleConfig:dF}=Fn(pz.keys),xx=gt("drawer-bg"),Cx=gt("drawer-box-shadow");function md(t){return Sx(t==="full"?{dialog:{maxW:"100vw",h:"100vh"}}:{dialog:{maxW:t}})}var pF={bg:"blackAlpha.600",zIndex:"modal"},hF={display:"flex",zIndex:"modal",justifyContent:"center"},vF=t=>{const{isFullHeight:r}=t;return{...r&&{height:"100vh"},zIndex:"modal",maxH:"100vh",color:"inherit",[xx.variable]:"colors.white",[Cx.variable]:"shadows.lg",_dark:{[xx.variable]:"colors.gray.700",[Cx.variable]:"shadows.dark-lg"},bg:xx.reference,boxShadow:Cx.reference}},mF={px:"6",py:"4",fontSize:"xl",fontWeight:"semibold"},gF={position:"absolute",top:"2",insetEnd:"3"},yF={px:"6",py:"2",flex:"1",overflow:"auto"},bF={px:"6",py:"4"},SF=Sx(t=>({overlay:pF,dialogContainer:hF,dialog:Qa(vF,t),header:mF,closeButton:gF,body:yF,footer:bF})),xF={xs:md("xs"),sm:md("md"),md:md("lg"),lg:md("2xl"),xl:md("4xl"),full:md("full")},CF=dF({baseStyle:SF,sizes:xF,defaultProps:{size:"xs"}}),{definePartsStyle:wF,defineMultiStyleConfig:EF}=Fn(hz.keys),TF={borderRadius:"md",py:"1",transitionProperty:"common",transitionDuration:"normal"},kF={borderRadius:"md",py:"1",transitionProperty:"common",transitionDuration:"normal",width:"full",_focusVisible:{boxShadow:"outline"},_placeholder:{opacity:.6}},_F={borderRadius:"md",py:"1",transitionProperty:"common",transitionDuration:"normal",width:"full",_focusVisible:{boxShadow:"outline"},_placeholder:{opacity:.6}},RF=wF({preview:TF,input:kF,textarea:_F}),DF=EF({baseStyle:RF}),{definePartsStyle:OF,defineMultiStyleConfig:AF}=Fn(vz.keys),gd=gt("form-control-color"),MF={marginStart:"1",[gd.variable]:"colors.red.500",_dark:{[gd.variable]:"colors.red.300"},color:gd.reference},PF={mt:"2",[gd.variable]:"colors.gray.600",_dark:{[gd.variable]:"colors.whiteAlpha.600"},color:gd.reference,lineHeight:"normal",fontSize:"sm"},LF=OF({container:{width:"100%",position:"relative"},requiredIndicator:MF,helperText:PF}),zF=AF({baseStyle:LF}),{definePartsStyle:NF,defineMultiStyleConfig:jF}=Fn(mz.keys),yd=gt("form-error-color"),FF={[yd.variable]:"colors.red.500",_dark:{[yd.variable]:"colors.red.300"},color:yd.reference,mt:"2",fontSize:"sm",lineHeight:"normal"},$F={marginEnd:"0.5em",[yd.variable]:"colors.red.500",_dark:{[yd.variable]:"colors.red.300"},color:yd.reference},BF=NF({text:FF,icon:$F}),VF=jF({baseStyle:BF}),IF={fontSize:"md",marginEnd:"3",mb:"2",fontWeight:"medium",transitionProperty:"common",transitionDuration:"normal",opacity:1,_disabled:{opacity:.4}},UF={baseStyle:IF},HF={fontFamily:"heading",fontWeight:"bold"},WF={"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}},YF={baseStyle:HF,sizes:WF,defaultProps:{size:"xl"}},{defineMultiStyleConfig:GF,definePartsStyle:qF}=Fn(fz.keys),wx=gt("breadcrumb-link-decor"),XF={transitionProperty:"common",transitionDuration:"fast",transitionTimingFunction:"ease-out",outline:"none",color:"inherit",textDecoration:wx.reference,[wx.variable]:"none","&:not([aria-current=page])":{cursor:"pointer",_hover:{[wx.variable]:"underline"},_focusVisible:{boxShadow:"outline"}}},QF=qF({link:XF}),KF=GF({baseStyle:QF}),ZF={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"}}},p5=t=>{const{colorScheme:r,theme:i}=t;if(r==="gray")return{color:mt("gray.800","whiteAlpha.900")(t),_hover:{bg:mt("gray.100","whiteAlpha.200")(t)},_active:{bg:mt("gray.200","whiteAlpha.300")(t)}};const l=cd(`${r}.200`,.12)(i),f=cd(`${r}.200`,.24)(i);return{color:mt(`${r}.600`,`${r}.200`)(t),bg:"transparent",_hover:{bg:mt(`${r}.50`,l)(t)},_active:{bg:mt(`${r}.100`,f)(t)}}},JF=t=>{const{colorScheme:r}=t,i=mt("gray.200","whiteAlpha.300")(t);return{border:"1px solid",borderColor:r==="gray"?i:"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"},...Qa(p5,t)}},e7={yellow:{bg:"yellow.400",color:"black",hoverBg:"yellow.500",activeBg:"yellow.600"},cyan:{bg:"cyan.400",color:"black",hoverBg:"cyan.500",activeBg:"cyan.600"}},t7=t=>{var r;const{colorScheme:i}=t;if(i==="gray"){const y=mt("gray.100","whiteAlpha.200")(t);return{bg:y,color:mt("gray.800","whiteAlpha.900")(t),_hover:{bg:mt("gray.200","whiteAlpha.300")(t),_disabled:{bg:y}},_active:{bg:mt("gray.300","whiteAlpha.400")(t)}}}const{bg:l=`${i}.500`,color:f="white",hoverBg:h=`${i}.600`,activeBg:p=`${i}.700`}=(r=e7[i])!=null?r:{},g=mt(l,`${i}.200`)(t);return{bg:g,color:mt(f,"gray.800")(t),_hover:{bg:mt(h,`${i}.300`)(t),_disabled:{bg:g}},_active:{bg:mt(p,`${i}.400`)(t)}}},n7=t=>{const{colorScheme:r}=t;return{padding:0,height:"auto",lineHeight:"normal",verticalAlign:"baseline",color:mt(`${r}.500`,`${r}.200`)(t),_hover:{textDecoration:"underline",_disabled:{textDecoration:"none"}},_active:{color:mt(`${r}.700`,`${r}.500`)(t)}}},r7={bg:"none",color:"inherit",display:"inline",lineHeight:"inherit",m:"0",p:"0"},a7={ghost:p5,outline:JF,solid:t7,link:n7,unstyled:r7},i7={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"}},o7={baseStyle:ZF,variants:a7,sizes:i7,defaultProps:{variant:"solid",size:"md",colorScheme:"gray"}},{definePartsStyle:Pc,defineMultiStyleConfig:s7}=Fn(Mz.keys),Ly=gt("card-bg"),ll=gt("card-padding"),h5=gt("card-shadow"),zy=gt("card-radius"),v5=gt("card-border-width","0"),m5=gt("card-border-color"),l7=Pc({container:{[Ly.variable]:"colors.chakra-body-bg",backgroundColor:Ly.reference,boxShadow:h5.reference,borderRadius:zy.reference,color:"chakra-body-text",borderWidth:v5.reference,borderColor:m5.reference},body:{padding:ll.reference,flex:"1 1 0%"},header:{padding:ll.reference},footer:{padding:ll.reference}}),u7={sm:Pc({container:{[zy.variable]:"radii.base",[ll.variable]:"space.3"}}),md:Pc({container:{[zy.variable]:"radii.md",[ll.variable]:"space.5"}}),lg:Pc({container:{[zy.variable]:"radii.xl",[ll.variable]:"space.7"}})},c7={elevated:Pc({container:{[h5.variable]:"shadows.base",_dark:{[Ly.variable]:"colors.gray.700"}}}),outline:Pc({container:{[v5.variable]:"1px",[m5.variable]:"colors.chakra-border-color"}}),filled:Pc({container:{[Ly.variable]:"colors.chakra-subtle-bg"}}),unstyled:{body:{[ll.variable]:0},header:{[ll.variable]:0},footer:{[ll.variable]:0}}},f7=s7({baseStyle:l7,variants:c7,sizes:u7,defaultProps:{variant:"elevated",size:"md"}}),ov=zr("close-button-size"),sv=zr("close-button-bg"),d7={w:[ov.reference],h:[ov.reference],borderRadius:"md",transitionProperty:"common",transitionDuration:"normal",_disabled:{opacity:.4,cursor:"not-allowed",boxShadow:"none"},_hover:{[sv.variable]:"colors.blackAlpha.100",_dark:{[sv.variable]:"colors.whiteAlpha.100"}},_active:{[sv.variable]:"colors.blackAlpha.200",_dark:{[sv.variable]:"colors.whiteAlpha.200"}},_focusVisible:{boxShadow:"outline"},bg:sv.reference},p7={lg:{[ov.variable]:"sizes.10",fontSize:"md"},md:{[ov.variable]:"sizes.8",fontSize:"xs"},sm:{[ov.variable]:"sizes.6",fontSize:"2xs"}},h7={baseStyle:d7,sizes:p7,defaultProps:{size:"md"}},{variants:v7,defaultProps:m7}=tv,g7={fontFamily:"mono",fontSize:"sm",px:"0.2em",borderRadius:"sm",bg:hr.bg.reference,color:hr.color.reference,boxShadow:hr.shadow.reference},y7={baseStyle:g7,variants:v7,defaultProps:m7},b7={w:"100%",mx:"auto",maxW:"prose",px:"4"},S7={baseStyle:b7},x7={opacity:.6,borderColor:"inherit"},C7={borderStyle:"solid"},w7={borderStyle:"dashed"},E7={solid:C7,dashed:w7},T7={baseStyle:x7,variants:E7,defaultProps:{variant:"solid"}},{definePartsStyle:k7,defineMultiStyleConfig:_7}=Fn(lz.keys),R7={borderTopWidth:"1px",borderColor:"inherit",_last:{borderBottomWidth:"1px"}},D7={transitionProperty:"common",transitionDuration:"normal",fontSize:"md",_focusVisible:{boxShadow:"outline"},_hover:{bg:"blackAlpha.50"},_disabled:{opacity:.4,cursor:"not-allowed"},px:"4",py:"2"},O7={pt:"2",px:"4",pb:"5"},A7={fontSize:"1.25em"},M7=k7({container:R7,button:D7,panel:O7,icon:A7}),P7=_7({baseStyle:M7}),{definePartsStyle:lv,defineMultiStyleConfig:L7}=Fn(uz.keys),Bi=gt("alert-fg"),ul=gt("alert-bg"),z7=lv({container:{bg:ul.reference,px:"4",py:"3"},title:{fontWeight:"bold",lineHeight:"6",marginEnd:"2"},description:{lineHeight:"6"},icon:{color:Bi.reference,flexShrink:0,marginEnd:"3",w:"5",h:"6"},spinner:{color:Bi.reference,flexShrink:0,marginEnd:"3",w:"5",h:"5"}});function Ex(t){const{theme:r,colorScheme:i}=t,l=cd(`${i}.200`,.16)(r);return{light:`colors.${i}.100`,dark:l}}var N7=lv(t=>{const{colorScheme:r}=t,i=Ex(t);return{container:{[Bi.variable]:`colors.${r}.500`,[ul.variable]:i.light,_dark:{[Bi.variable]:`colors.${r}.200`,[ul.variable]:i.dark}}}}),j7=lv(t=>{const{colorScheme:r}=t,i=Ex(t);return{container:{[Bi.variable]:`colors.${r}.500`,[ul.variable]:i.light,_dark:{[Bi.variable]:`colors.${r}.200`,[ul.variable]:i.dark},paddingStart:"3",borderStartWidth:"4px",borderStartColor:Bi.reference}}}),F7=lv(t=>{const{colorScheme:r}=t,i=Ex(t);return{container:{[Bi.variable]:`colors.${r}.500`,[ul.variable]:i.light,_dark:{[Bi.variable]:`colors.${r}.200`,[ul.variable]:i.dark},pt:"2",borderTopWidth:"4px",borderTopColor:Bi.reference}}}),$7=lv(t=>{const{colorScheme:r}=t;return{container:{[Bi.variable]:"colors.white",[ul.variable]:`colors.${r}.500`,_dark:{[Bi.variable]:"colors.gray.900",[ul.variable]:`colors.${r}.200`},color:Bi.reference}}}),B7={subtle:N7,"left-accent":j7,"top-accent":F7,solid:$7},V7=L7({baseStyle:z7,variants:B7,defaultProps:{variant:"subtle",colorScheme:"blue"}}),{definePartsStyle:g5,defineMultiStyleConfig:I7}=Fn(cz.keys),bd=gt("avatar-border-color"),uv=gt("avatar-bg"),cv=gt("avatar-font-size"),Sd=gt("avatar-size"),U7={borderRadius:"full",border:"0.2em solid",borderColor:bd.reference,[bd.variable]:"white",_dark:{[bd.variable]:"colors.gray.800"}},H7={bg:uv.reference,fontSize:cv.reference,width:Sd.reference,height:Sd.reference,lineHeight:"1",[uv.variable]:"colors.gray.200",_dark:{[uv.variable]:"colors.whiteAlpha.400"}},W7=t=>{const{name:r,theme:i}=t,l=r?Zz({string:r}):"colors.gray.400",f=Qz(l)(i);let h="white";return f||(h="gray.800"),{bg:uv.reference,fontSize:cv.reference,color:h,borderColor:bd.reference,verticalAlign:"top",width:Sd.reference,height:Sd.reference,"&:not([data-loaded])":{[uv.variable]:l},[bd.variable]:"colors.white",_dark:{[bd.variable]:"colors.gray.800"}}},Y7={fontSize:cv.reference,lineHeight:"1"},G7=g5(t=>({badge:Qa(U7,t),excessLabel:Qa(H7,t),container:Qa(W7,t),label:Y7}));function hu(t){const r=t!=="100%"?R_[t]:void 0;return g5({container:{[Sd.variable]:r??t,[cv.variable]:`calc(${r??t} / 2.5)`},excessLabel:{[Sd.variable]:r??t,[cv.variable]:`calc(${r??t} / 2.5)`}})}var q7={"2xs":hu(4),xs:hu(6),sm:hu(8),md:hu(12),lg:hu(16),xl:hu(24),"2xl":hu(32),full:hu("100%")},X7=I7({baseStyle:G7,sizes:q7,defaultProps:{size:"md"}}),Q7={Accordion:P7,Alert:V7,Avatar:X7,Badge:tv,Breadcrumb:KF,Button:o7,Checkbox:_y,CloseButton:h7,Code:y7,Container:S7,Divider:T7,Drawer:CF,Editable:DF,Form:zF,FormError:VF,FormLabel:UF,Heading:YF,Input:un,Kbd:d9,Link:h9,List:b9,Menu:O9,Modal:V9,NumberInput:Q9,PinInput:eF,Popover:fF,Progress:yj,Radio:Aj,Select:Fj,Skeleton:Bj,SkipLink:Ij,Slider:Jj,Spinner:n9,Stat:c9,Switch:hN,Table:xN,Tabs:NN,Tag:XN,Textarea:sj,Tooltip:cj,Card:f7,Stepper:sz},K7={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"}}},Z7={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"}}},J7="ltr",e$={useSystemColorMode:!1,initialColorMode:"light",cssVarPrefix:"chakra"},t$={semanticTokens:K7,direction:J7,...az,components:Q7,styles:Z7,config:e$};function fv(t){return typeof t=="function"}function n$(...t){return r=>t.reduce((i,l)=>l(i),r)}var r$=t=>function(...i){let l=[...i],f=i[i.length-1];return LL(f)&&l.length>1?l=l.slice(0,l.length-1):f=t,n$(...l.map(h=>p=>fv(h)?h(p):i$(p,h)))(f)},a$=r$(t$);function i$(...t){return ko({},...t,y5)}function y5(t,r,i,l){if((fv(t)||fv(r))&&Object.prototype.hasOwnProperty.call(l,i))return(...f)=>{const h=fv(t)?t(...f):t,p=fv(r)?r(...f):r;return ko({},h,p,y5)}}function o$(){return!!(typeof window<"u"&&window.document&&window.document.createElement)}var s$=o$();function l$(t,r){const i={};return Object.keys(t).forEach(l=>{r.includes(l)||(i[l]=t[l])}),i}function u$(t,r,i,l){const f=typeof r=="string"?r.split("."):[r];for(l=0;l<f.length&&t;l+=1)t=t[f[l]];return t===void 0?i:t}var c$=t=>{const r=new WeakMap;return(l,f,h,p)=>{if(typeof l>"u")return t(l,f,h);r.has(l)||r.set(l,new Map);const g=r.get(l);if(g.has(f))return g.get(f);const y=t(l,f,h,p);return g.set(f,y),y}},f$=c$(u$);function b5(t,r){const i={};return Object.keys(t).forEach(l=>{const f=t[l];r(f,l,t)&&(i[l]=f)}),i}var S5=t=>b5(t,r=>r!=null);function d$(t){return typeof t=="function"}process.env.NODE_ENV,process.env.NODE_ENV;function p$(t,...r){return d$(t)?t(...r):t}function h$(...t){return function(i){t.some(l=>(l==null||l(i),i==null?void 0:i.defaultPrevented))}}var v$=typeof Element<"u",m$=typeof Map=="function",g$=typeof Set=="function",y$=typeof ArrayBuffer=="function"&&!!ArrayBuffer.isView;function Ny(t,r){if(t===r)return!0;if(t&&r&&typeof t=="object"&&typeof r=="object"){if(t.constructor!==r.constructor)return!1;var i,l,f;if(Array.isArray(t)){if(i=t.length,i!=r.length)return!1;for(l=i;l--!==0;)if(!Ny(t[l],r[l]))return!1;return!0}var h;if(m$&&t instanceof Map&&r instanceof Map){if(t.size!==r.size)return!1;for(h=t.entries();!(l=h.next()).done;)if(!r.has(l.value[0]))return!1;for(h=t.entries();!(l=h.next()).done;)if(!Ny(l.value[1],r.get(l.value[0])))return!1;return!0}if(g$&&t instanceof Set&&r instanceof Set){if(t.size!==r.size)return!1;for(h=t.entries();!(l=h.next()).done;)if(!r.has(l.value[0]))return!1;return!0}if(y$&&ArrayBuffer.isView(t)&&ArrayBuffer.isView(r)){if(i=t.length,i!=r.length)return!1;for(l=i;l--!==0;)if(t[l]!==r[l])return!1;return!0}if(t.constructor===RegExp)return t.source===r.source&&t.flags===r.flags;if(t.valueOf!==Object.prototype.valueOf&&typeof t.valueOf=="function"&&typeof r.valueOf=="function")return t.valueOf()===r.valueOf();if(t.toString!==Object.prototype.toString&&typeof t.toString=="function"&&typeof r.toString=="function")return t.toString()===r.toString();if(f=Object.keys(t),i=f.length,i!==Object.keys(r).length)return!1;for(l=i;l--!==0;)if(!Object.prototype.hasOwnProperty.call(r,f[l]))return!1;if(v$&&t instanceof Element)return!1;for(l=i;l--!==0;)if(!((f[l]==="_owner"||f[l]==="__v"||f[l]==="__o")&&t.$$typeof)&&!Ny(t[f[l]],r[f[l]]))return!1;return!0}return t!==t&&r!==r}var b$=function(r,i){try{return Ny(r,i)}catch(l){if((l.message||"").match(/stack|recursion/i))return console.warn("react-fast-compare cannot handle circular refs"),!1;throw l}};const S$=kS(b$);function x5(t,r={}){var i;const{styleConfig:l,...f}=r,{theme:h,colorMode:p}=T8(),g=t?f$(h,`components.${t}`):void 0,y=l||g,S=ko({theme:h,colorMode:p},(i=y==null?void 0:y.defaultProps)!=null?i:{},S5(l$(f,["children"]))),C=U.useRef({});if(y){const k=AL(y)(S);S$(C.current,k)||(C.current=k)}return C.current}function vu(t,r={}){return x5(t,r)}function C5(t,r={}){return x5(t,r)}var x$=new Set([...yL,"textStyle","layerStyle","apply","noOfLines","focusBorderColor","errorBorderColor","as","__css","css","sx"]),C$=new Set(["htmlWidth","htmlHeight","htmlSize","htmlTranslate"]);function w$(t){return C$.has(t)||!x$.has(t)}function E$(t,...r){if(t==null)throw new TypeError("Cannot convert undefined or null to object");const i={...t};for(const l of r)if(l!=null)for(const f in l)Object.prototype.hasOwnProperty.call(l,f)&&(f in i&&delete i[f],i[f]=l[f]);return i}function T$(t){const r=Object.assign({},t);for(let i in r)r[i]===void 0&&delete r[i];return r}var k$=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|download|draggable|encType|enterKeyHint|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,_$=Pk(function(t){return k$.test(t)||t.charCodeAt(0)===111&&t.charCodeAt(1)===110&&t.charCodeAt(2)<91}),R$=_$,D$=function(r){return r!=="theme"},w5=function(r){return typeof r=="string"&&r.charCodeAt(0)>96?R$:D$},E5=function(r,i,l){var f;if(i){var h=i.shouldForwardProp;f=r.__emotion_forwardProp&&h?function(p){return r.__emotion_forwardProp(p)&&h(p)}:h}return typeof f!="function"&&l&&(f=r.__emotion_forwardProp),f},T5=`You have illegal escape sequence in your template literal, most likely inside content's property value.
235
+ Because you write your CSS inside a JavaScript string you actually have to do double escaping, so for example "content: '\\00d7';" should become "content: '\\\\00d7';".
236
+ You can read more about this here:
237
+ https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_literals#ES2018_revision_of_illegal_escape_sequences`,O$=function(r){var i=r.cache,l=r.serialized,f=r.isStringTag;return sy(i,l,f),$S(function(){return ly(i,l,f)}),null},A$=function t(r,i){if(process.env.NODE_ENV!=="production"&&r===void 0)throw new Error(`You are trying to create a styled element with an undefined component.
238
+ You may have forgotten to import it.`);var l=r.__emotion_real===r,f=l&&r.__emotion_base||r,h,p;i!==void 0&&(h=i.label,p=i.target);var g=E5(r,i,l),y=g||w5(f),S=!y("as");return function(){var C=arguments,E=l&&r.__emotion_styles!==void 0?r.__emotion_styles.slice(0):[];if(h!==void 0&&E.push("label:"+h+";"),C[0]==null||C[0].raw===void 0)E.push.apply(E,C);else{process.env.NODE_ENV!=="production"&&C[0][0]===void 0&&console.error(T5),E.push(C[0][0]);for(var k=C.length,R=1;R<k;R++)process.env.NODE_ENV!=="production"&&C[0][R]===void 0&&console.error(T5),E.push(C[R],C[0][R])}var A=cy(function(P,j,q){var F=S&&P.as||f,$="",Q=[],V=P;if(P.theme==null){V={};for(var le in P)V[le]=P[le];V.theme=pe.useContext(od)}typeof P.className=="string"?$=NS(j.registered,Q,P.className):P.className!=null&&($=P.className+" ");var J=id(E.concat(Q),j.registered,V);$+=j.key+"-"+J.name,p!==void 0&&($+=" "+p);var me=S&&g===void 0?w5(F):y,ve={};for(var ye in P)S&&ye==="as"||me(ye)&&(ve[ye]=P[ye]);return ve.className=$,ve.ref=q,pe.createElement(pe.Fragment,null,pe.createElement(O$,{cache:j,serialized:J,isStringTag:typeof F=="string"}),pe.createElement(F,ve))});return A.displayName=h!==void 0?h:"Styled("+(typeof f=="string"?f:f.displayName||f.name||"Component")+")",A.defaultProps=r.defaultProps,A.__emotion_real=A,A.__emotion_base=f,A.__emotion_styles=E,A.__emotion_forwardProp=g,Object.defineProperty(A,"toString",{value:function(){return p===void 0&&process.env.NODE_ENV!=="production"?"NO_COMPONENT_SELECTOR":"."+p}}),A.withComponent=function(P,j){return t(P,ad({},i,j,{shouldForwardProp:E5(A,j,!0)})).apply(void 0,E)},A}},M$=["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"],jy=A$.bind();M$.forEach(function(t){jy[t]=jy(t)});var k5,P$=(k5=jy.default)!=null?k5:jy,L$=({baseStyle:t})=>r=>{const{theme:i,css:l,__css:f,sx:h,...p}=r,g=b5(p,(E,k)=>SL(k)),y=p$(t,r),S=E$({},f,y,S5(g),h),C=_L(S)(r.theme);return l?[C,l]:C};function Tx(t,r){const{baseStyle:i,...l}=r??{};l.shouldForwardProp||(l.shouldForwardProp=w$);const f=L$({baseStyle:i}),h=P$(t,l)(f);return U.forwardRef(function(y,S){const{colorMode:C,forced:E}=h_();return U.createElement(h,{ref:S,"data-theme":E?C:void 0,...y})})}function z$(){const t=new Map;return new Proxy(Tx,{apply(r,i,l){return Tx(...l)},get(r,i){return t.has(i)||t.set(i,Tx(i)),t.get(i)}})}var jt=z$();function vn(t){return U.forwardRef(t)}var _5=U.createContext({getDocument(){return document},getWindow(){return window}});_5.displayName="EnvironmentContext";function N$({defer:t}={}){const[,r]=U.useReducer(i=>i+1,0);return Hh(()=>{t&&r()},[t]),U.useContext(_5)}function kx(t,r=[]){const i=U.useRef(t);return U.useEffect(()=>{i.current=t}),U.useCallback((...l)=>{var f;return(f=i.current)==null?void 0:f.call(i,...l)},r)}const R5=U.createContext({transformPagePoint:t=>t,isStatic:!1,reducedMotion:"never"}),Fy=U.createContext({}),$y=U.createContext(null),By=typeof document<"u",_x=By?U.useLayoutEffect:U.useEffect,D5=U.createContext({strict:!1});function j$(t,r,i,l){const{visualElement:f}=U.useContext(Fy),h=U.useContext(D5),p=U.useContext($y),g=U.useContext(R5).reducedMotion,y=U.useRef();l=l||h.renderer,!y.current&&l&&(y.current=l(t,{visualState:r,parent:f,props:i,presenceContext:p,blockInitialAnimation:p?p.initial===!1:!1,reducedMotionConfig:g}));const S=y.current;U.useInsertionEffect(()=>{S&&S.update(i,p)});const C=U.useRef(!!window.HandoffAppearAnimations);return _x(()=>{S&&(S.render(),C.current&&S.animationState&&S.animationState.animateChanges())}),U.useEffect(()=>{S&&(S.updateFeatures(),!C.current&&S.animationState&&S.animationState.animateChanges(),window.HandoffAppearAnimations=void 0,C.current=!1)}),S}function xd(t){return typeof t=="object"&&Object.prototype.hasOwnProperty.call(t,"current")}function F$(t,r,i){return U.useCallback(l=>{l&&t.mount&&t.mount(l),r&&(l?r.mount(l):r.unmount()),i&&(typeof i=="function"?i(l):xd(i)&&(i.current=l))},[r])}function dv(t){return typeof t=="string"||Array.isArray(t)}function Vy(t){return typeof t=="object"&&typeof t.start=="function"}const Rx=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],Dx=["initial",...Rx];function Iy(t){return Vy(t.animate)||Dx.some(r=>dv(t[r]))}function O5(t){return!!(Iy(t)||t.variants)}function $$(t,r){if(Iy(t)){const{initial:i,animate:l}=t;return{initial:i===!1||dv(i)?i:void 0,animate:dv(l)?l:void 0}}return t.inherit!==!1?r:{}}function B$(t){const{initial:r,animate:i}=$$(t,U.useContext(Fy));return U.useMemo(()=>({initial:r,animate:i}),[A5(r),A5(i)])}function A5(t){return Array.isArray(t)?t.join(" "):t}const M5={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"]},pv={};for(const t in M5)pv[t]={isEnabled:r=>M5[t].some(i=>!!r[i])};function V$(t){for(const r in t)pv[r]={...pv[r],...t[r]}}const Ox=U.createContext({}),P5=U.createContext({}),I$=Symbol.for("motionComponentSymbol");function U$({preloadedFeatures:t,createVisualElement:r,useRender:i,useVisualState:l,Component:f}){t&&V$(t);function h(g,y){let S;const C={...U.useContext(R5),...g,layoutId:H$(g)},{isStatic:E}=C,k=B$(g),R=l(g,E);if(!E&&By){k.visualElement=j$(f,R,C,r);const A=U.useContext(P5),P=U.useContext(D5).strict;k.visualElement&&(S=k.visualElement.loadFeatures(C,P,t,A))}return pe.createElement(Fy.Provider,{value:k},S&&k.visualElement?pe.createElement(S,{visualElement:k.visualElement,...C}):null,i(f,g,F$(R,k.visualElement,y),R,E,k.visualElement))}const p=U.forwardRef(h);return p[I$]=f,p}function H$({layoutId:t}){const r=U.useContext(Ox).id;return r&&t!==void 0?r+"-"+t:t}function W$(t){function r(l,f={}){return U$(t(l,f))}if(typeof Proxy>"u")return r;const i=new Map;return new Proxy(r,{get:(l,f)=>(i.has(f)||i.set(f,r(f)),i.get(f))})}const Y$=["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 Ax(t){return typeof t!="string"||t.includes("-")?!1:!!(Y$.indexOf(t)>-1||/[A-Z]/.test(t))}const Uy={};function G$(t){Object.assign(Uy,t)}const hv=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],Lc=new Set(hv);function L5(t,{layout:r,layoutId:i}){return Lc.has(t)||t.startsWith("origin")||(r||i!==void 0)&&(!!Uy[t]||t==="opacity")}const mi=t=>!!(t&&t.getVelocity),q$={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},X$=hv.length;function Q$(t,{enableHardwareAcceleration:r=!0,allowTransformNone:i=!0},l,f){let h="";for(let p=0;p<X$;p++){const g=hv[p];if(t[g]!==void 0){const y=q$[g]||g;h+=`${y}(${t[g]}) `}}return r&&!t.z&&(h+="translateZ(0)"),h=h.trim(),f?h=f(t,l?"":h):i&&l&&(h="none"),h}const z5=t=>r=>typeof r=="string"&&r.startsWith(t),N5=z5("--"),Mx=z5("var(--"),K$=/var\s*\(\s*--[\w-]+(\s*,\s*(?:(?:[^)(]|\((?:[^)(]+|\([^)(]*\))*\))*)+)?\s*\)/g,Z$=(t,r)=>r&&typeof t=="number"?r.transform(t):t,mu=(t,r,i)=>Math.min(Math.max(i,t),r),zc={test:t=>typeof t=="number",parse:parseFloat,transform:t=>t},vv={...zc,transform:t=>mu(0,1,t)},Hy={...zc,default:1},mv=t=>Math.round(t*1e5)/1e5,Wy=/(-)?([\d]*\.?[\d])+/g,j5=/(#[0-9a-f]{3,8}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2}(-?[\d\.]+%?)\s*[\,\/]?\s*[\d\.]*%?\))/gi,J$=/^(#[0-9a-f]{3,8}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2}(-?[\d\.]+%?)\s*[\,\/]?\s*[\d\.]*%?\))$/i;function gv(t){return typeof t=="string"}const yv=t=>({test:r=>gv(r)&&r.endsWith(t)&&r.split(" ").length===1,parse:parseFloat,transform:r=>`${r}${t}`}),gu=yv("deg"),ms=yv("%"),Ct=yv("px"),eB=yv("vh"),tB=yv("vw"),F5={...ms,parse:t=>ms.parse(t)/100,transform:t=>ms.transform(t*100)},$5={...zc,transform:Math.round},B5={borderWidth:Ct,borderTopWidth:Ct,borderRightWidth:Ct,borderBottomWidth:Ct,borderLeftWidth:Ct,borderRadius:Ct,radius:Ct,borderTopLeftRadius:Ct,borderTopRightRadius:Ct,borderBottomRightRadius:Ct,borderBottomLeftRadius:Ct,width:Ct,maxWidth:Ct,height:Ct,maxHeight:Ct,size:Ct,top:Ct,right:Ct,bottom:Ct,left:Ct,padding:Ct,paddingTop:Ct,paddingRight:Ct,paddingBottom:Ct,paddingLeft:Ct,margin:Ct,marginTop:Ct,marginRight:Ct,marginBottom:Ct,marginLeft:Ct,rotate:gu,rotateX:gu,rotateY:gu,rotateZ:gu,scale:Hy,scaleX:Hy,scaleY:Hy,scaleZ:Hy,skew:gu,skewX:gu,skewY:gu,distance:Ct,translateX:Ct,translateY:Ct,translateZ:Ct,x:Ct,y:Ct,z:Ct,perspective:Ct,transformPerspective:Ct,opacity:vv,originX:F5,originY:F5,originZ:Ct,zIndex:$5,fillOpacity:vv,strokeOpacity:vv,numOctaves:$5};function Px(t,r,i,l){const{style:f,vars:h,transform:p,transformOrigin:g}=t;let y=!1,S=!1,C=!0;for(const E in r){const k=r[E];if(N5(E)){h[E]=k;continue}const R=B5[E],A=Z$(k,R);if(Lc.has(E)){if(y=!0,p[E]=A,!C)continue;k!==(R.default||0)&&(C=!1)}else E.startsWith("origin")?(S=!0,g[E]=A):f[E]=A}if(r.transform||(y||l?f.transform=Q$(t.transform,i,C,l):f.transform&&(f.transform="none")),S){const{originX:E="50%",originY:k="50%",originZ:R=0}=g;f.transformOrigin=`${E} ${k} ${R}`}}const Lx=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function V5(t,r,i){for(const l in r)!mi(r[l])&&!L5(l,i)&&(t[l]=r[l])}function nB({transformTemplate:t},r,i){return U.useMemo(()=>{const l=Lx();return Px(l,r,{enableHardwareAcceleration:!i},t),Object.assign({},l.vars,l.style)},[r])}function rB(t,r,i){const l=t.style||{},f={};return V5(f,l,t),Object.assign(f,nB(t,r,i)),t.transformValues?t.transformValues(f):f}function aB(t,r,i){const l={},f=rB(t,r,i);return t.drag&&t.dragListener!==!1&&(l.draggable=!1,f.userSelect=f.WebkitUserSelect=f.WebkitTouchCallout="none",f.touchAction=t.drag===!0?"none":`pan-${t.drag==="x"?"y":"x"}`),t.tabIndex===void 0&&(t.onTap||t.onTapStart||t.whileTap)&&(l.tabIndex=0),l.style=f,l}const iB=new Set(["animate","exit","variants","initial","style","values","variants","transition","transformTemplate","transformValues","custom","inherit","onLayoutAnimationStart","onLayoutAnimationComplete","onLayoutMeasure","onBeforeLayoutMeasure","onAnimationStart","onAnimationComplete","onUpdate","onDragStart","onDrag","onDragEnd","onMeasureDragConstraints","onDirectionLock","onDragTransitionEnd","_dragX","_dragY","onHoverStart","onHoverEnd","onViewportEnter","onViewportLeave","ignoreStrict","viewport"]);function Yy(t){return t.startsWith("while")||t.startsWith("drag")&&t!=="draggable"||t.startsWith("layout")||t.startsWith("onTap")||t.startsWith("onPan")||iB.has(t)}let I5=t=>!Yy(t);function oB(t){t&&(I5=r=>r.startsWith("on")?!Yy(r):t(r))}try{oB(require("@emotion/is-prop-valid").default)}catch{}function sB(t,r,i){const l={};for(const f in t)f==="values"&&typeof t.values=="object"||(I5(f)||i===!0&&Yy(f)||!r&&!Yy(f)||t.draggable&&f.startsWith("onDrag"))&&(l[f]=t[f]);return l}function U5(t,r,i){return typeof t=="string"?t:Ct.transform(r+i*t)}function lB(t,r,i){const l=U5(r,t.x,t.width),f=U5(i,t.y,t.height);return`${l} ${f}`}const uB={offset:"stroke-dashoffset",array:"stroke-dasharray"},cB={offset:"strokeDashoffset",array:"strokeDasharray"};function fB(t,r,i=1,l=0,f=!0){t.pathLength=1;const h=f?uB:cB;t[h.offset]=Ct.transform(-l);const p=Ct.transform(r),g=Ct.transform(i);t[h.array]=`${p} ${g}`}function zx(t,{attrX:r,attrY:i,attrScale:l,originX:f,originY:h,pathLength:p,pathSpacing:g=1,pathOffset:y=0,...S},C,E,k){if(Px(t,S,C,k),E){t.style.viewBox&&(t.attrs.viewBox=t.style.viewBox);return}t.attrs=t.style,t.style={};const{attrs:R,style:A,dimensions:P}=t;R.transform&&(P&&(A.transform=R.transform),delete R.transform),P&&(f!==void 0||h!==void 0||A.transform)&&(A.transformOrigin=lB(P,f!==void 0?f:.5,h!==void 0?h:.5)),r!==void 0&&(R.x=r),i!==void 0&&(R.y=i),l!==void 0&&(R.scale=l),p!==void 0&&fB(R,p,g,y,!1)}const H5=()=>({...Lx(),attrs:{}}),Nx=t=>typeof t=="string"&&t.toLowerCase()==="svg";function dB(t,r,i,l){const f=U.useMemo(()=>{const h=H5();return zx(h,r,{enableHardwareAcceleration:!1},Nx(l),t.transformTemplate),{...h.attrs,style:{...h.style}}},[r]);if(t.style){const h={};V5(h,t.style,t),f.style={...h,...f.style}}return f}function pB(t=!1){return(i,l,f,{latestValues:h},p)=>{const y=(Ax(i)?dB:aB)(l,h,p,i),C={...sB(l,typeof i=="string",t),...y,ref:f},{children:E}=l,k=U.useMemo(()=>mi(E)?E.get():E,[E]);return U.createElement(i,{...C,children:k})}}const jx=t=>t.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase();function W5(t,{style:r,vars:i},l,f){Object.assign(t.style,r,f&&f.getProjectionStyles(l));for(const h in i)t.style.setProperty(h,i[h])}const Y5=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 G5(t,r,i,l){W5(t,r,void 0,l);for(const f in r.attrs)t.setAttribute(Y5.has(f)?f:jx(f),r.attrs[f])}function Fx(t,r){const{style:i}=t,l={};for(const f in i)(mi(i[f])||r.style&&mi(r.style[f])||L5(f,t))&&(l[f]=i[f]);return l}function q5(t,r){const i=Fx(t,r);for(const l in t)if(mi(t[l])||mi(r[l])){const f=hv.indexOf(l)!==-1?"attr"+l.charAt(0).toUpperCase()+l.substring(1):l;i[f]=t[l]}return i}function $x(t,r,i,l={},f={}){return typeof r=="function"&&(r=r(i!==void 0?i:t.custom,l,f)),typeof r=="string"&&(r=t.variants&&t.variants[r]),typeof r=="function"&&(r=r(i!==void 0?i:t.custom,l,f)),r}function X5(t){const r=U.useRef(null);return r.current===null&&(r.current=t()),r.current}const Gy=t=>Array.isArray(t),hB=t=>!!(t&&typeof t=="object"&&t.mix&&t.toValue),vB=t=>Gy(t)?t[t.length-1]||0:t;function qy(t){const r=mi(t)?t.get():t;return hB(r)?r.toValue():r}function mB({scrapeMotionValuesFromProps:t,createRenderState:r,onMount:i},l,f,h){const p={latestValues:gB(l,f,h,t),renderState:r()};return i&&(p.mount=g=>i(l,g,p)),p}const Q5=t=>(r,i)=>{const l=U.useContext(Fy),f=U.useContext($y),h=()=>mB(t,r,l,f);return i?h():X5(h)};function gB(t,r,i,l){const f={},h=l(t,{});for(const k in h)f[k]=qy(h[k]);let{initial:p,animate:g}=t;const y=Iy(t),S=O5(t);r&&S&&!y&&t.inherit!==!1&&(p===void 0&&(p=r.initial),g===void 0&&(g=r.animate));let C=i?i.initial===!1:!1;C=C||p===!1;const E=C?g:p;return E&&typeof E!="boolean"&&!Vy(E)&&(Array.isArray(E)?E:[E]).forEach(R=>{const A=$x(t,R);if(!A)return;const{transitionEnd:P,transition:j,...q}=A;for(const F in q){let $=q[F];if(Array.isArray($)){const Q=C?$.length-1:0;$=$[Q]}$!==null&&(f[F]=$)}for(const F in P)f[F]=P[F]}),f}const sr=t=>t;class K5{constructor(){this.order=[],this.scheduled=new Set}add(r){if(!this.scheduled.has(r))return this.scheduled.add(r),this.order.push(r),!0}remove(r){const i=this.order.indexOf(r);i!==-1&&(this.order.splice(i,1),this.scheduled.delete(r))}clear(){this.order.length=0,this.scheduled.clear()}}function yB(t){let r=new K5,i=new K5,l=0,f=!1,h=!1;const p=new WeakSet,g={schedule:(y,S=!1,C=!1)=>{const E=C&&f,k=E?r:i;return S&&p.add(y),k.add(y)&&E&&f&&(l=r.order.length),y},cancel:y=>{i.remove(y),p.delete(y)},process:y=>{if(f){h=!0;return}if(f=!0,[r,i]=[i,r],i.clear(),l=r.order.length,l)for(let S=0;S<l;S++){const C=r.order[S];C(y),p.has(C)&&(g.schedule(C),t())}f=!1,h&&(h=!1,g.process(y))}};return g}const Xy=["prepare","read","update","preRender","render","postRender"],bB=40;function SB(t,r){let i=!1,l=!0;const f={delta:0,timestamp:0,isProcessing:!1},h=Xy.reduce((E,k)=>(E[k]=yB(()=>i=!0),E),{}),p=E=>h[E].process(f),g=()=>{const E=performance.now();i=!1,f.delta=l?1e3/60:Math.max(Math.min(E-f.timestamp,bB),1),f.timestamp=E,f.isProcessing=!0,Xy.forEach(p),f.isProcessing=!1,i&&r&&(l=!1,t(g))},y=()=>{i=!0,l=!0,f.isProcessing||t(g)};return{schedule:Xy.reduce((E,k)=>{const R=h[k];return E[k]=(A,P=!1,j=!1)=>(i||y(),R.schedule(A,P,j)),E},{}),cancel:E=>Xy.forEach(k=>h[k].cancel(E)),state:f,steps:h}}const{schedule:$n,cancel:cl,state:Kr,steps:Bx}=SB(typeof requestAnimationFrame<"u"?requestAnimationFrame:sr,!0),xB={useVisualState:Q5({scrapeMotionValuesFromProps:q5,createRenderState:H5,onMount:(t,r,{renderState:i,latestValues:l})=>{$n.read(()=>{try{i.dimensions=typeof r.getBBox=="function"?r.getBBox():r.getBoundingClientRect()}catch{i.dimensions={x:0,y:0,width:0,height:0}}}),$n.render(()=>{zx(i,l,{enableHardwareAcceleration:!1},Nx(r.tagName),t.transformTemplate),G5(r,i)})}})},CB={useVisualState:Q5({scrapeMotionValuesFromProps:Fx,createRenderState:Lx})};function wB(t,{forwardMotionProps:r=!1},i,l){return{...Ax(t)?xB:CB,preloadedFeatures:i,useRender:pB(r),createVisualElement:l,Component:t}}function fl(t,r,i,l={passive:!0}){return t.addEventListener(r,i,l),()=>t.removeEventListener(r,i)}const Z5=t=>t.pointerType==="mouse"?typeof t.button!="number"||t.button<=0:t.isPrimary!==!1;function Qy(t,r="page"){return{point:{x:t[r+"X"],y:t[r+"Y"]}}}const EB=t=>r=>Z5(r)&&t(r,Qy(r));function dl(t,r,i,l){return fl(t,r,EB(i),l)}const TB=(t,r)=>i=>r(t(i)),yu=(...t)=>t.reduce(TB);function J5(t){let r=null;return()=>{const i=()=>{r=null};return r===null?(r=t,i):!1}}const e4=J5("dragHorizontal"),t4=J5("dragVertical");function n4(t){let r=!1;if(t==="y")r=t4();else if(t==="x")r=e4();else{const i=e4(),l=t4();i&&l?r=()=>{i(),l()}:(i&&i(),l&&l())}return r}function r4(){const t=n4(!0);return t?(t(),!1):!0}class bu{constructor(r){this.isMounted=!1,this.node=r}update(){}}function a4(t,r){const i="pointer"+(r?"enter":"leave"),l="onHover"+(r?"Start":"End"),f=(h,p)=>{if(h.type==="touch"||r4())return;const g=t.getProps();t.animationState&&g.whileHover&&t.animationState.setActive("whileHover",r),g[l]&&$n.update(()=>g[l](h,p))};return dl(t.current,i,f,{passive:!t.getProps()[l]})}class kB extends bu{mount(){this.unmount=yu(a4(this.node,!0),a4(this.node,!1))}unmount(){}}class _B extends bu{constructor(){super(...arguments),this.isActive=!1}onFocus(){let r=!1;try{r=this.node.current.matches(":focus-visible")}catch{r=!0}!r||!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=yu(fl(this.node.current,"focus",()=>this.onFocus()),fl(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}const i4=(t,r)=>r?t===r?!0:i4(t,r.parentElement):!1;function Vx(t,r){if(!r)return;const i=new PointerEvent("pointer"+t);r(i,Qy(i))}class RB extends bu{constructor(){super(...arguments),this.removeStartListeners=sr,this.removeEndListeners=sr,this.removeAccessibleListeners=sr,this.startPointerPress=(r,i)=>{if(this.removeEndListeners(),this.isPressing)return;const l=this.node.getProps(),h=dl(window,"pointerup",(g,y)=>{if(!this.checkPressEnd())return;const{onTap:S,onTapCancel:C}=this.node.getProps();$n.update(()=>{i4(this.node.current,g.target)?S&&S(g,y):C&&C(g,y)})},{passive:!(l.onTap||l.onPointerUp)}),p=dl(window,"pointercancel",(g,y)=>this.cancelPress(g,y),{passive:!(l.onTapCancel||l.onPointerCancel)});this.removeEndListeners=yu(h,p),this.startPress(r,i)},this.startAccessiblePress=()=>{const r=h=>{if(h.key!=="Enter"||this.isPressing)return;const p=g=>{g.key!=="Enter"||!this.checkPressEnd()||Vx("up",(y,S)=>{const{onTap:C}=this.node.getProps();C&&$n.update(()=>C(y,S))})};this.removeEndListeners(),this.removeEndListeners=fl(this.node.current,"keyup",p),Vx("down",(g,y)=>{this.startPress(g,y)})},i=fl(this.node.current,"keydown",r),l=()=>{this.isPressing&&Vx("cancel",(h,p)=>this.cancelPress(h,p))},f=fl(this.node.current,"blur",l);this.removeAccessibleListeners=yu(i,f)}}startPress(r,i){this.isPressing=!0;const{onTapStart:l,whileTap:f}=this.node.getProps();f&&this.node.animationState&&this.node.animationState.setActive("whileTap",!0),l&&$n.update(()=>l(r,i))}checkPressEnd(){return this.removeEndListeners(),this.isPressing=!1,this.node.getProps().whileTap&&this.node.animationState&&this.node.animationState.setActive("whileTap",!1),!r4()}cancelPress(r,i){if(!this.checkPressEnd())return;const{onTapCancel:l}=this.node.getProps();l&&$n.update(()=>l(r,i))}mount(){const r=this.node.getProps(),i=dl(this.node.current,"pointerdown",this.startPointerPress,{passive:!(r.onTapStart||r.onPointerStart)}),l=fl(this.node.current,"focus",this.startAccessiblePress);this.removeStartListeners=yu(i,l)}unmount(){this.removeStartListeners(),this.removeEndListeners(),this.removeAccessibleListeners()}}const Ix=new WeakMap,Ux=new WeakMap,DB=t=>{const r=Ix.get(t.target);r&&r(t)},OB=t=>{t.forEach(DB)};function AB({root:t,...r}){const i=t||document;Ux.has(i)||Ux.set(i,{});const l=Ux.get(i),f=JSON.stringify(r);return l[f]||(l[f]=new IntersectionObserver(OB,{root:t,...r})),l[f]}function MB(t,r,i){const l=AB(r);return Ix.set(t,i),l.observe(t),()=>{Ix.delete(t),l.unobserve(t)}}const PB={some:0,all:1};class LB extends bu{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){this.unmount();const{viewport:r={}}=this.node.getProps(),{root:i,margin:l,amount:f="some",once:h}=r,p={root:i?i.current:void 0,rootMargin:l,threshold:typeof f=="number"?f:PB[f]},g=y=>{const{isIntersecting:S}=y;if(this.isInView===S||(this.isInView=S,h&&!S&&this.hasEnteredView))return;S&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",S);const{onViewportEnter:C,onViewportLeave:E}=this.node.getProps(),k=S?C:E;k&&k(y)};return MB(this.node.current,p,g)}mount(){this.startObserver()}update(){if(typeof IntersectionObserver>"u")return;const{props:r,prevProps:i}=this.node;["amount","margin","root"].some(zB(r,i))&&this.startObserver()}unmount(){}}function zB({viewport:t={}},{viewport:r={}}={}){return i=>t[i]!==r[i]}const NB={inView:{Feature:LB},tap:{Feature:RB},focus:{Feature:_B},hover:{Feature:kB}};function o4(t,r){if(!Array.isArray(r))return!1;const i=r.length;if(i!==t.length)return!1;for(let l=0;l<i;l++)if(r[l]!==t[l])return!1;return!0}function jB(t){const r={};return t.values.forEach((i,l)=>r[l]=i.get()),r}function FB(t){const r={};return t.values.forEach((i,l)=>r[l]=i.getVelocity()),r}function Ky(t,r,i){const l=t.getProps();return $x(l,r,i!==void 0?i:l.custom,jB(t),FB(t))}const $B="data-"+jx("framerAppearId");let bv=sr,Do=sr;process.env.NODE_ENV!=="production"&&(bv=(t,r)=>{!t&&typeof console<"u"&&console.warn(r)},Do=(t,r)=>{if(!t)throw new Error(r)});const Su=t=>t*1e3,pl=t=>t/1e3,BB={current:!1},s4=t=>Array.isArray(t)&&typeof t[0]=="number";function l4(t){return!!(!t||typeof t=="string"&&u4[t]||s4(t)||Array.isArray(t)&&t.every(l4))}const Sv=([t,r,i,l])=>`cubic-bezier(${t}, ${r}, ${i}, ${l})`,u4={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:Sv([0,.65,.55,1]),circOut:Sv([.55,0,1,.45]),backIn:Sv([.31,.01,.66,-.59]),backOut:Sv([.33,1.53,.69,.99])};function c4(t){if(t)return s4(t)?Sv(t):Array.isArray(t)?t.map(c4):u4[t]}function VB(t,r,i,{delay:l=0,duration:f,repeat:h=0,repeatType:p="loop",ease:g,times:y}={}){const S={[r]:i};y&&(S.offset=y);const C=c4(g);return Array.isArray(C)&&(S.easing=C),t.animate(S,{delay:l,duration:f,easing:Array.isArray(C)?"linear":C,fill:"both",iterations:h+1,direction:p==="reverse"?"alternate":"normal"})}function IB(t,{repeat:r,repeatType:i="loop"}){const l=r&&i!=="loop"&&r%2===1?0:t.length-1;return t[l]}const f4=(t,r,i)=>(((1-3*i+3*r)*t+(3*i-6*r))*t+3*r)*t,UB=1e-7,HB=12;function WB(t,r,i,l,f){let h,p,g=0;do p=r+(i-r)/2,h=f4(p,l,f)-t,h>0?i=p:r=p;while(Math.abs(h)>UB&&++g<HB);return p}function xv(t,r,i,l){if(t===r&&i===l)return sr;const f=h=>WB(h,0,1,t,i);return h=>h===0||h===1?h:f4(f(h),r,l)}const YB=xv(.42,0,1,1),GB=xv(0,0,.58,1),d4=xv(.42,0,.58,1),qB=t=>Array.isArray(t)&&typeof t[0]!="number",p4=t=>r=>r<=.5?t(2*r)/2:(2-t(2*(1-r)))/2,h4=t=>r=>1-t(1-r),v4=t=>1-Math.sin(Math.acos(t)),Hx=h4(v4),XB=p4(Hx),m4=xv(.33,1.53,.69,.99),Wx=h4(m4),QB=p4(Wx),g4={linear:sr,easeIn:YB,easeInOut:d4,easeOut:GB,circIn:v4,circInOut:XB,circOut:Hx,backIn:Wx,backInOut:QB,backOut:m4,anticipate:t=>(t*=2)<1?.5*Wx(t):.5*(2-Math.pow(2,-10*(t-1)))},y4=t=>{if(Array.isArray(t)){Do(t.length===4,"Cubic bezier arrays must contain four numerical values.");const[r,i,l,f]=t;return xv(r,i,l,f)}else if(typeof t=="string")return Do(g4[t]!==void 0,`Invalid easing type '${t}'`),g4[t];return t},Yx=(t,r)=>i=>!!(gv(i)&&J$.test(i)&&i.startsWith(t)||r&&Object.prototype.hasOwnProperty.call(i,r)),b4=(t,r,i)=>l=>{if(!gv(l))return l;const[f,h,p,g]=l.match(Wy);return{[t]:parseFloat(f),[r]:parseFloat(h),[i]:parseFloat(p),alpha:g!==void 0?parseFloat(g):1}},KB=t=>mu(0,255,t),Gx={...zc,transform:t=>Math.round(KB(t))},Nc={test:Yx("rgb","red"),parse:b4("red","green","blue"),transform:({red:t,green:r,blue:i,alpha:l=1})=>"rgba("+Gx.transform(t)+", "+Gx.transform(r)+", "+Gx.transform(i)+", "+mv(vv.transform(l))+")"};function ZB(t){let r="",i="",l="",f="";return t.length>5?(r=t.substring(1,3),i=t.substring(3,5),l=t.substring(5,7),f=t.substring(7,9)):(r=t.substring(1,2),i=t.substring(2,3),l=t.substring(3,4),f=t.substring(4,5),r+=r,i+=i,l+=l,f+=f),{red:parseInt(r,16),green:parseInt(i,16),blue:parseInt(l,16),alpha:f?parseInt(f,16)/255:1}}const qx={test:Yx("#"),parse:ZB,transform:Nc.transform},Cd={test:Yx("hsl","hue"),parse:b4("hue","saturation","lightness"),transform:({hue:t,saturation:r,lightness:i,alpha:l=1})=>"hsla("+Math.round(t)+", "+ms.transform(mv(r))+", "+ms.transform(mv(i))+", "+mv(vv.transform(l))+")"},Ka={test:t=>Nc.test(t)||qx.test(t)||Cd.test(t),parse:t=>Nc.test(t)?Nc.parse(t):Cd.test(t)?Cd.parse(t):qx.parse(t),transform:t=>gv(t)?t:t.hasOwnProperty("red")?Nc.transform(t):Cd.transform(t)},Jn=(t,r,i)=>-i*t+i*r+t;function Xx(t,r,i){return i<0&&(i+=1),i>1&&(i-=1),i<1/6?t+(r-t)*6*i:i<1/2?r:i<2/3?t+(r-t)*(2/3-i)*6:t}function JB({hue:t,saturation:r,lightness:i,alpha:l}){t/=360,r/=100,i/=100;let f=0,h=0,p=0;if(!r)f=h=p=i;else{const g=i<.5?i*(1+r):i+r-i*r,y=2*i-g;f=Xx(y,g,t+1/3),h=Xx(y,g,t),p=Xx(y,g,t-1/3)}return{red:Math.round(f*255),green:Math.round(h*255),blue:Math.round(p*255),alpha:l}}const Qx=(t,r,i)=>{const l=t*t;return Math.sqrt(Math.max(0,i*(r*r-l)+l))},eV=[qx,Nc,Cd],tV=t=>eV.find(r=>r.test(t));function S4(t){const r=tV(t);Do(!!r,`'${t}' is not an animatable color. Use the equivalent color code instead.`);let i=r.parse(t);return r===Cd&&(i=JB(i)),i}const x4=(t,r)=>{const i=S4(t),l=S4(r),f={...i};return h=>(f.red=Qx(i.red,l.red,h),f.green=Qx(i.green,l.green,h),f.blue=Qx(i.blue,l.blue,h),f.alpha=Jn(i.alpha,l.alpha,h),Nc.transform(f))};function nV(t){var r,i;return isNaN(t)&&gv(t)&&(((r=t.match(Wy))===null||r===void 0?void 0:r.length)||0)+(((i=t.match(j5))===null||i===void 0?void 0:i.length)||0)>0}const C4={regex:K$,countKey:"Vars",token:"${v}",parse:sr},w4={regex:j5,countKey:"Colors",token:"${c}",parse:Ka.parse},E4={regex:Wy,countKey:"Numbers",token:"${n}",parse:zc.parse};function Kx(t,{regex:r,countKey:i,token:l,parse:f}){const h=t.tokenised.match(r);h&&(t["num"+i]=h.length,t.tokenised=t.tokenised.replace(r,l),t.values.push(...h.map(f)))}function Zy(t){const r=t.toString(),i={value:r,tokenised:r,values:[],numVars:0,numColors:0,numNumbers:0};return i.value.includes("var(--")&&Kx(i,C4),Kx(i,w4),Kx(i,E4),i}function T4(t){return Zy(t).values}function k4(t){const{values:r,numColors:i,numVars:l,tokenised:f}=Zy(t),h=r.length;return p=>{let g=f;for(let y=0;y<h;y++)y<l?g=g.replace(C4.token,p[y]):y<l+i?g=g.replace(w4.token,Ka.transform(p[y])):g=g.replace(E4.token,mv(p[y]));return g}}const rV=t=>typeof t=="number"?0:t;function aV(t){const r=T4(t);return k4(t)(r.map(rV))}const xu={test:nV,parse:T4,createTransformer:k4,getAnimatableNone:aV},_4=(t,r)=>i=>`${i>0?r:t}`;function R4(t,r){return typeof t=="number"?i=>Jn(t,r,i):Ka.test(t)?x4(t,r):t.startsWith("var(")?_4(t,r):O4(t,r)}const D4=(t,r)=>{const i=[...t],l=i.length,f=t.map((h,p)=>R4(h,r[p]));return h=>{for(let p=0;p<l;p++)i[p]=f[p](h);return i}},iV=(t,r)=>{const i={...t,...r},l={};for(const f in i)t[f]!==void 0&&r[f]!==void 0&&(l[f]=R4(t[f],r[f]));return f=>{for(const h in l)i[h]=l[h](f);return i}},O4=(t,r)=>{const i=xu.createTransformer(r),l=Zy(t),f=Zy(r);return l.numVars===f.numVars&&l.numColors===f.numColors&&l.numNumbers>=f.numNumbers?yu(D4(l.values,f.values),i):(bv(!0,`Complex values '${t}' and '${r}' 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.`),_4(t,r))},Cv=(t,r,i)=>{const l=r-t;return l===0?1:(i-t)/l},A4=(t,r)=>i=>Jn(t,r,i);function oV(t){return typeof t=="number"?A4:typeof t=="string"?Ka.test(t)?x4:O4:Array.isArray(t)?D4:typeof t=="object"?iV:A4}function sV(t,r,i){const l=[],f=i||oV(t[0]),h=t.length-1;for(let p=0;p<h;p++){let g=f(t[p],t[p+1]);if(r){const y=Array.isArray(r)?r[p]||sr:r;g=yu(y,g)}l.push(g)}return l}function M4(t,r,{clamp:i=!0,ease:l,mixer:f}={}){const h=t.length;if(Do(h===r.length,"Both input and output ranges must be the same length"),h===1)return()=>r[0];t[0]>t[h-1]&&(t=[...t].reverse(),r=[...r].reverse());const p=sV(r,l,f),g=p.length,y=S=>{let C=0;if(g>1)for(;C<t.length-2&&!(S<t[C+1]);C++);const E=Cv(t[C],t[C+1],S);return p[C](E)};return i?S=>y(mu(t[0],t[h-1],S)):y}function lV(t,r){const i=t[t.length-1];for(let l=1;l<=r;l++){const f=Cv(0,r,l);t.push(Jn(i,1,f))}}function uV(t){const r=[0];return lV(r,t.length-1),r}function cV(t,r){return t.map(i=>i*r)}function fV(t,r){return t.map(()=>r||d4).splice(0,t.length-1)}function Jy({duration:t=300,keyframes:r,times:i,ease:l="easeInOut"}){const f=qB(l)?l.map(y4):y4(l),h={done:!1,value:r[0]},p=cV(i&&i.length===r.length?i:uV(r),t),g=M4(p,r,{ease:Array.isArray(f)?f:fV(r,f)});return{calculatedDuration:t,next:y=>(h.value=g(y),h.done=y>=t,h)}}function P4(t,r){return r?t*(1e3/r):0}const dV=5;function L4(t,r,i){const l=Math.max(r-dV,0);return P4(i-t(l),r-l)}const Zx=.001,pV=.01,z4=10,hV=.05,vV=1;function mV({duration:t=800,bounce:r=.25,velocity:i=0,mass:l=1}){let f,h;bv(t<=Su(z4),"Spring duration must be 10 seconds or less");let p=1-r;p=mu(hV,vV,p),t=mu(pV,z4,pl(t)),p<1?(f=S=>{const C=S*p,E=C*t,k=C-i,R=Jx(S,p),A=Math.exp(-E);return Zx-k/R*A},h=S=>{const E=S*p*t,k=E*i+i,R=Math.pow(p,2)*Math.pow(S,2)*t,A=Math.exp(-E),P=Jx(Math.pow(S,2),p);return(-f(S)+Zx>0?-1:1)*((k-R)*A)/P}):(f=S=>{const C=Math.exp(-S*t),E=(S-i)*t+1;return-Zx+C*E},h=S=>{const C=Math.exp(-S*t),E=(i-S)*(t*t);return C*E});const g=5/t,y=yV(f,h,g);if(t=Su(t),isNaN(y))return{stiffness:100,damping:10,duration:t};{const S=Math.pow(y,2)*l;return{stiffness:S,damping:p*2*Math.sqrt(l*S),duration:t}}}const gV=12;function yV(t,r,i){let l=i;for(let f=1;f<gV;f++)l=l-t(l)/r(l);return l}function Jx(t,r){return t*Math.sqrt(1-r*r)}const bV=["duration","bounce"],SV=["stiffness","damping","mass"];function N4(t,r){return r.some(i=>t[i]!==void 0)}function xV(t){let r={velocity:0,stiffness:100,damping:10,mass:1,isResolvedFromDuration:!1,...t};if(!N4(t,SV)&&N4(t,bV)){const i=mV(t);r={...r,...i,velocity:0,mass:1},r.isResolvedFromDuration=!0}return r}function j4({keyframes:t,restDelta:r,restSpeed:i,...l}){const f=t[0],h=t[t.length-1],p={done:!1,value:f},{stiffness:g,damping:y,mass:S,velocity:C,duration:E,isResolvedFromDuration:k}=xV(l),R=C?-pl(C):0,A=y/(2*Math.sqrt(g*S)),P=h-f,j=pl(Math.sqrt(g/S)),q=Math.abs(P)<5;i||(i=q?.01:2),r||(r=q?.005:.5);let F;if(A<1){const $=Jx(j,A);F=Q=>{const V=Math.exp(-A*j*Q);return h-V*((R+A*j*P)/$*Math.sin($*Q)+P*Math.cos($*Q))}}else if(A===1)F=$=>h-Math.exp(-j*$)*(P+(R+j*P)*$);else{const $=j*Math.sqrt(A*A-1);F=Q=>{const V=Math.exp(-A*j*Q),le=Math.min($*Q,300);return h-V*((R+A*j*P)*Math.sinh(le)+$*P*Math.cosh(le))/$}}return{calculatedDuration:k&&E||null,next:$=>{const Q=F($);if(k)p.done=$>=E;else{let V=R;$!==0&&(A<1?V=L4(F,$,Q):V=0);const le=Math.abs(V)<=i,J=Math.abs(h-Q)<=r;p.done=le&&J}return p.value=p.done?h:Q,p}}}function F4({keyframes:t,velocity:r=0,power:i=.8,timeConstant:l=325,bounceDamping:f=10,bounceStiffness:h=500,modifyTarget:p,min:g,max:y,restDelta:S=.5,restSpeed:C}){const E=t[0],k={done:!1,value:E},R=me=>g!==void 0&&me<g||y!==void 0&&me>y,A=me=>g===void 0?y:y===void 0||Math.abs(g-me)<Math.abs(y-me)?g:y;let P=i*r;const j=E+P,q=p===void 0?j:p(j);q!==j&&(P=q-E);const F=me=>-P*Math.exp(-me/l),$=me=>q+F(me),Q=me=>{const ve=F(me),ye=$(me);k.done=Math.abs(ve)<=S,k.value=k.done?q:ye};let V,le;const J=me=>{R(k.value)&&(V=me,le=j4({keyframes:[k.value,A(k.value)],velocity:L4($,me,k.value),damping:f,stiffness:h,restDelta:S,restSpeed:C}))};return J(0),{calculatedDuration:null,next:me=>{let ve=!1;return!le&&V===void 0&&(ve=!0,Q(me),J(me)),V!==void 0&&me>V?le.next(me-V):(!ve&&Q(me),k)}}}const CV=t=>{const r=({timestamp:i})=>t(i);return{start:()=>$n.update(r,!0),stop:()=>cl(r),now:()=>Kr.isProcessing?Kr.timestamp:performance.now()}},$4=2e4;function B4(t){let r=0;const i=50;let l=t.next(r);for(;!l.done&&r<$4;)r+=i,l=t.next(r);return r>=$4?1/0:r}const wV={decay:F4,inertia:F4,tween:Jy,keyframes:Jy,spring:j4};function e0({autoplay:t=!0,delay:r=0,driver:i=CV,keyframes:l,type:f="keyframes",repeat:h=0,repeatDelay:p=0,repeatType:g="loop",onPlay:y,onStop:S,onComplete:C,onUpdate:E,...k}){let R=1,A=!1,P,j;const q=()=>{j=new Promise(se=>{P=se})};q();let F;const $=wV[f]||Jy;let Q;$!==Jy&&typeof l[0]!="number"&&(Q=M4([0,100],l,{clamp:!1}),l=[0,100]);const V=$({...k,keyframes:l});let le;g==="mirror"&&(le=$({...k,keyframes:[...l].reverse(),velocity:-(k.velocity||0)}));let J="idle",me=null,ve=null,ye=null;V.calculatedDuration===null&&h&&(V.calculatedDuration=B4(V));const{calculatedDuration:De}=V;let pt=1/0,Oe=1/0;De!==null&&(pt=De+p,Oe=pt*(h+1)-p);let Pe=0;const at=se=>{if(ve===null)return;R>0&&(ve=Math.min(ve,se)),R<0&&(ve=Math.min(se-Oe/R,ve)),me!==null?Pe=me:Pe=Math.round(se-ve)*R;const _e=Pe-r*(R>=0?1:-1),Ee=R>=0?_e<0:_e>Oe;Pe=Math.max(_e,0),J==="finished"&&me===null&&(Pe=Oe);let Fe=Pe,Ie=V;if(h){const Je=Pe/pt;let tt=Math.floor(Je),yt=Je%1;!yt&&Je>=1&&(yt=1),yt===1&&tt--,tt=Math.min(tt,h+1);const he=!!(tt%2);he&&(g==="reverse"?(yt=1-yt,p&&(yt-=p/pt)):g==="mirror"&&(Ie=le));let wt=mu(0,1,yt);Pe>Oe&&(wt=g==="reverse"&&he?1:0),Fe=wt*pt}const Ae=Ee?{done:!1,value:l[0]}:Ie.next(Fe);Q&&(Ae.value=Q(Ae.value));let{done:Xe}=Ae;!Ee&&De!==null&&(Xe=R>=0?Pe>=Oe:Pe<=0);const $e=me===null&&(J==="finished"||J==="running"&&Xe);return E&&E(Ae.value),$e&&be(),Ae},Ue=()=>{F&&F.stop(),F=void 0},st=()=>{J="idle",Ue(),P(),q(),ve=ye=null},be=()=>{J="finished",C&&C(),Ue(),P()},Le=()=>{if(A)return;F||(F=i(at));const se=F.now();y&&y(),me!==null?ve=se-me:(!ve||J==="finished")&&(ve=se),J==="finished"&&q(),ye=ve,me=null,J="running",F.start()};t&&Le();const K={then(se,_e){return j.then(se,_e)},get time(){return pl(Pe)},set time(se){se=Su(se),Pe=se,me!==null||!F||R===0?me=se:ve=F.now()-se/R},get duration(){const se=V.calculatedDuration===null?B4(V):V.calculatedDuration;return pl(se)},get speed(){return R},set speed(se){se===R||!F||(R=se,K.time=pl(Pe))},get state(){return J},play:Le,pause:()=>{J="paused",me=Pe},stop:()=>{A=!0,J!=="idle"&&(J="idle",S&&S(),st())},cancel:()=>{ye!==null&&at(ye),st()},complete:()=>{J="finished"},sample:se=>(ve=0,at(se))};return K}function EV(t){let r;return()=>(r===void 0&&(r=t()),r)}const TV=EV(()=>Object.hasOwnProperty.call(Element.prototype,"animate")),kV=new Set(["opacity","clipPath","filter","transform","backgroundColor"]),t0=10,_V=2e4,RV=(t,r)=>r.type==="spring"||t==="backgroundColor"||!l4(r.ease);function DV(t,r,{onUpdate:i,onComplete:l,...f}){if(!(TV()&&kV.has(r)&&!f.repeatDelay&&f.repeatType!=="mirror"&&f.damping!==0&&f.type!=="inertia"))return!1;let p=!1,g,y;const S=()=>{y=new Promise(F=>{g=F})};S();let{keyframes:C,duration:E=300,ease:k,times:R}=f;if(RV(r,f)){const F=e0({...f,repeat:0,delay:0});let $={done:!1,value:C[0]};const Q=[];let V=0;for(;!$.done&&V<_V;)$=F.sample(V),Q.push($.value),V+=t0;R=void 0,C=Q,E=V-t0,k="linear"}const A=VB(t.owner.current,r,C,{...f,duration:E,ease:k,times:R});f.syncStart&&(A.startTime=Kr.isProcessing?Kr.timestamp:document.timeline?document.timeline.currentTime:performance.now());const P=()=>A.cancel(),j=()=>{$n.update(P),g(),S()};return A.onfinish=()=>{t.set(IB(C,f)),l&&l(),j()},{then(F,$){return y.then(F,$)},attachTimeline(F){return A.timeline=F,A.onfinish=null,sr},get time(){return pl(A.currentTime||0)},set time(F){A.currentTime=Su(F)},get speed(){return A.playbackRate},set speed(F){A.playbackRate=F},get duration(){return pl(E)},play:()=>{p||(A.play(),cl(P))},pause:()=>A.pause(),stop:()=>{if(p=!0,A.playState==="idle")return;const{currentTime:F}=A;if(F){const $=e0({...f,autoplay:!1});t.setWithVelocity($.sample(F-t0).value,$.sample(F).value,t0)}j()},complete:()=>A.finish(),cancel:j}}function OV({keyframes:t,delay:r,onUpdate:i,onComplete:l}){const f=()=>(i&&i(t[t.length-1]),l&&l(),{time:0,speed:1,duration:0,play:sr,pause:sr,stop:sr,then:h=>(h(),Promise.resolve()),cancel:sr,complete:sr});return r?e0({keyframes:[0,1],duration:0,delay:r,onComplete:f}):f()}const AV={type:"spring",stiffness:500,damping:25,restSpeed:10},MV=t=>({type:"spring",stiffness:550,damping:t===0?2*Math.sqrt(550):30,restSpeed:10}),PV={type:"keyframes",duration:.8},LV={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},zV=(t,{keyframes:r})=>r.length>2?PV:Lc.has(t)?t.startsWith("scale")?MV(r[1]):AV:LV,eC=(t,r)=>t==="zIndex"?!1:!!(typeof r=="number"||Array.isArray(r)||typeof r=="string"&&(xu.test(r)||r==="0")&&!r.startsWith("url(")),NV=new Set(["brightness","contrast","saturate","opacity"]);function jV(t){const[r,i]=t.slice(0,-1).split("(");if(r==="drop-shadow")return t;const[l]=i.match(Wy)||[];if(!l)return t;const f=i.replace(l,"");let h=NV.has(r)?1:0;return l!==i&&(h*=100),r+"("+h+f+")"}const FV=/([a-z-]*)\(.*?\)/g,tC={...xu,getAnimatableNone:t=>{const r=t.match(FV);return r?r.map(jV).join(" "):t}},$V={...B5,color:Ka,backgroundColor:Ka,outlineColor:Ka,fill:Ka,stroke:Ka,borderColor:Ka,borderTopColor:Ka,borderRightColor:Ka,borderBottomColor:Ka,borderLeftColor:Ka,filter:tC,WebkitFilter:tC},nC=t=>$V[t];function V4(t,r){let i=nC(t);return i!==tC&&(i=xu),i.getAnimatableNone?i.getAnimatableNone(r):void 0}const I4=t=>/^0[^.\s]+$/.test(t);function BV(t){if(typeof t=="number")return t===0;if(t!==null)return t==="none"||t==="0"||I4(t)}function VV(t,r,i,l){const f=eC(r,i);let h;Array.isArray(i)?h=[...i]:h=[null,i];const p=l.from!==void 0?l.from:t.get();let g;const y=[];for(let S=0;S<h.length;S++)h[S]===null&&(h[S]=S===0?p:h[S-1]),BV(h[S])&&y.push(S),typeof h[S]=="string"&&h[S]!=="none"&&h[S]!=="0"&&(g=h[S]);if(f&&y.length&&g)for(let S=0;S<y.length;S++){const C=y[S];h[C]=V4(r,g)}return h}function IV({when:t,delay:r,delayChildren:i,staggerChildren:l,staggerDirection:f,repeat:h,repeatType:p,repeatDelay:g,from:y,elapsed:S,...C}){return!!Object.keys(C).length}function U4(t,r){return t[r]||t.default||t}const rC=(t,r,i,l={})=>f=>{const h=U4(l,t)||{},p=h.delay||l.delay||0;let{elapsed:g=0}=l;g=g-Su(p);const y=VV(r,t,i,h),S=y[0],C=y[y.length-1],E=eC(t,S),k=eC(t,C);bv(E===k,`You are trying to animate ${t} from "${S}" to "${C}". ${S} is not an animatable value - to enable this animation set ${S} to a value animatable to ${C} via the \`style\` property.`);let R={keyframes:y,velocity:r.getVelocity(),ease:"easeOut",...h,delay:-g,onUpdate:A=>{r.set(A),h.onUpdate&&h.onUpdate(A)},onComplete:()=>{f(),h.onComplete&&h.onComplete()}};if(IV(h)||(R={...R,...zV(t,R)}),R.duration&&(R.duration=Su(R.duration)),R.repeatDelay&&(R.repeatDelay=Su(R.repeatDelay)),!E||!k||BB.current||h.type===!1)return OV(R);if(r.owner&&r.owner.current instanceof HTMLElement&&!r.owner.getProps().onUpdate){const A=DV(r,t,R);if(A)return A}return e0(R)};function n0(t){return!!(mi(t)&&t.add)}const H4=t=>/^\-?\d*\.?\d+$/.test(t);function aC(t,r){t.indexOf(r)===-1&&t.push(r)}function iC(t,r){const i=t.indexOf(r);i>-1&&t.splice(i,1)}class oC{constructor(){this.subscriptions=[]}add(r){return aC(this.subscriptions,r),()=>iC(this.subscriptions,r)}notify(r,i,l){const f=this.subscriptions.length;if(f)if(f===1)this.subscriptions[0](r,i,l);else for(let h=0;h<f;h++){const p=this.subscriptions[h];p&&p(r,i,l)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}const W4=new Set;function sC(t,r,i){t||W4.has(r)||(console.warn(r),i&&console.warn(i),W4.add(r))}const UV=t=>!isNaN(parseFloat(t));class HV{constructor(r,i={}){this.version="10.16.4",this.timeDelta=0,this.lastUpdated=0,this.canTrackVelocity=!1,this.events={},this.updateAndNotify=(l,f=!0)=>{this.prev=this.current,this.current=l;const{delta:h,timestamp:p}=Kr;this.lastUpdated!==p&&(this.timeDelta=h,this.lastUpdated=p,$n.postRender(this.scheduleVelocityCheck)),this.prev!==this.current&&this.events.change&&this.events.change.notify(this.current),this.events.velocityChange&&this.events.velocityChange.notify(this.getVelocity()),f&&this.events.renderRequest&&this.events.renderRequest.notify(this.current)},this.scheduleVelocityCheck=()=>$n.postRender(this.velocityCheck),this.velocityCheck=({timestamp:l})=>{l!==this.lastUpdated&&(this.prev=this.current,this.events.velocityChange&&this.events.velocityChange.notify(this.getVelocity()))},this.hasAnimated=!1,this.prev=this.current=r,this.canTrackVelocity=UV(this.current),this.owner=i.owner}onChange(r){return process.env.NODE_ENV!=="production"&&sC(!1,'value.onChange(callback) is deprecated. Switch to value.on("change", callback).'),this.on("change",r)}on(r,i){this.events[r]||(this.events[r]=new oC);const l=this.events[r].add(i);return r==="change"?()=>{l(),$n.read(()=>{this.events.change.getSize()||this.stop()})}:l}clearListeners(){for(const r in this.events)this.events[r].clear()}attach(r,i){this.passiveEffect=r,this.stopPassiveEffect=i}set(r,i=!0){!i||!this.passiveEffect?this.updateAndNotify(r,i):this.passiveEffect(r,this.updateAndNotify)}setWithVelocity(r,i,l){this.set(i),this.prev=r,this.timeDelta=l}jump(r){this.updateAndNotify(r),this.prev=r,this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}get(){return this.current}getPrevious(){return this.prev}getVelocity(){return this.canTrackVelocity?P4(parseFloat(this.current)-parseFloat(this.prev),this.timeDelta):0}start(r){return this.stop(),new Promise(i=>{this.hasAnimated=!0,this.animation=r(i),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 wd(t,r){return new HV(t,r)}const Y4=t=>r=>r.test(t),G4=[zc,Ct,ms,gu,tB,eB,{test:t=>t==="auto",parse:t=>t}],wv=t=>G4.find(Y4(t)),WV=[...G4,Ka,xu],YV=t=>WV.find(Y4(t));function GV(t,r,i){t.hasValue(r)?t.getValue(r).set(i):t.addValue(r,wd(i))}function qV(t,r){const i=Ky(t,r);let{transitionEnd:l={},transition:f={},...h}=i?t.makeTargetAnimatable(i,!1):{};h={...h,...l};for(const p in h){const g=vB(h[p]);GV(t,p,g)}}function XV(t,r,i){var l,f;const h=Object.keys(r).filter(g=>!t.hasValue(g)),p=h.length;if(p)for(let g=0;g<p;g++){const y=h[g],S=r[y];let C=null;Array.isArray(S)&&(C=S[0]),C===null&&(C=(f=(l=i[y])!==null&&l!==void 0?l:t.readValue(y))!==null&&f!==void 0?f:r[y]),C!=null&&(typeof C=="string"&&(H4(C)||I4(C))?C=parseFloat(C):!YV(C)&&xu.test(S)&&(C=V4(y,S)),t.addValue(y,wd(C,{owner:t})),i[y]===void 0&&(i[y]=C),C!==null&&t.setBaseTarget(y,C))}}function QV(t,r){return r?(r[t]||r.default||r).from:void 0}function KV(t,r,i){const l={};for(const f in t){const h=QV(f,r);if(h!==void 0)l[f]=h;else{const p=i.getValue(f);p&&(l[f]=p.get())}}return l}function ZV({protectedKeys:t,needsAnimating:r},i){const l=t.hasOwnProperty(i)&&r[i]!==!0;return r[i]=!1,l}function q4(t,r,{delay:i=0,transitionOverride:l,type:f}={}){let{transition:h=t.getDefaultTransition(),transitionEnd:p,...g}=t.makeTargetAnimatable(r);const y=t.getValue("willChange");l&&(h=l);const S=[],C=f&&t.animationState&&t.animationState.getState()[f];for(const E in g){const k=t.getValue(E),R=g[E];if(!k||R===void 0||C&&ZV(C,E))continue;const A={delay:i,elapsed:0,...h};if(window.HandoffAppearAnimations&&!k.hasAnimated){const j=t.getProps()[$B];j&&(A.elapsed=window.HandoffAppearAnimations(j,E,k,$n),A.syncStart=!0)}k.start(rC(E,k,R,t.shouldReduceMotion&&Lc.has(E)?{type:!1}:A));const P=k.animation;n0(y)&&(y.add(E),P.then(()=>y.remove(E))),S.push(P)}return p&&Promise.all(S).then(()=>{p&&qV(t,p)}),S}function lC(t,r,i={}){const l=Ky(t,r,i.custom);let{transition:f=t.getDefaultTransition()||{}}=l||{};i.transitionOverride&&(f=i.transitionOverride);const h=l?()=>Promise.all(q4(t,l,i)):()=>Promise.resolve(),p=t.variantChildren&&t.variantChildren.size?(y=0)=>{const{delayChildren:S=0,staggerChildren:C,staggerDirection:E}=f;return JV(t,r,S+y,C,E,i)}:()=>Promise.resolve(),{when:g}=f;if(g){const[y,S]=g==="beforeChildren"?[h,p]:[p,h];return y().then(()=>S())}else return Promise.all([h(),p(i.delay)])}function JV(t,r,i=0,l=0,f=1,h){const p=[],g=(t.variantChildren.size-1)*l,y=f===1?(S=0)=>S*l:(S=0)=>g-S*l;return Array.from(t.variantChildren).sort(eI).forEach((S,C)=>{S.notify("AnimationStart",r),p.push(lC(S,r,{...h,delay:i+y(C)}).then(()=>S.notify("AnimationComplete",r)))}),Promise.all(p)}function eI(t,r){return t.sortNodePosition(r)}function tI(t,r,i={}){t.notify("AnimationStart",r);let l;if(Array.isArray(r)){const f=r.map(h=>lC(t,h,i));l=Promise.all(f)}else if(typeof r=="string")l=lC(t,r,i);else{const f=typeof r=="function"?Ky(t,r,i.custom):r;l=Promise.all(q4(t,f,i))}return l.then(()=>t.notify("AnimationComplete",r))}const nI=[...Rx].reverse(),rI=Rx.length;function aI(t){return r=>Promise.all(r.map(({animation:i,options:l})=>tI(t,i,l)))}function iI(t){let r=aI(t);const i=sI();let l=!0;const f=(y,S)=>{const C=Ky(t,S);if(C){const{transition:E,transitionEnd:k,...R}=C;y={...y,...R,...k}}return y};function h(y){r=y(t)}function p(y,S){const C=t.getProps(),E=t.getVariantContext(!0)||{},k=[],R=new Set;let A={},P=1/0;for(let q=0;q<rI;q++){const F=nI[q],$=i[F],Q=C[F]!==void 0?C[F]:E[F],V=dv(Q),le=F===S?$.isActive:null;le===!1&&(P=q);let J=Q===E[F]&&Q!==C[F]&&V;if(J&&l&&t.manuallyAnimateOnMount&&(J=!1),$.protectedKeys={...A},!$.isActive&&le===null||!Q&&!$.prevProp||Vy(Q)||typeof Q=="boolean")continue;const me=oI($.prevProp,Q);let ve=me||F===S&&$.isActive&&!J&&V||q>P&&V;const ye=Array.isArray(Q)?Q:[Q];let De=ye.reduce(f,{});le===!1&&(De={});const{prevResolvedValues:pt={}}=$,Oe={...pt,...De},Pe=at=>{ve=!0,R.delete(at),$.needsAnimating[at]=!0};for(const at in Oe){const Ue=De[at],st=pt[at];A.hasOwnProperty(at)||(Ue!==st?Gy(Ue)&&Gy(st)?!o4(Ue,st)||me?Pe(at):$.protectedKeys[at]=!0:Ue!==void 0?Pe(at):R.add(at):Ue!==void 0&&R.has(at)?Pe(at):$.protectedKeys[at]=!0)}$.prevProp=Q,$.prevResolvedValues=De,$.isActive&&(A={...A,...De}),l&&t.blockInitialAnimation&&(ve=!1),ve&&!J&&k.push(...ye.map(at=>({animation:at,options:{type:F,...y}})))}if(R.size){const q={};R.forEach(F=>{const $=t.getBaseTarget(F);$!==void 0&&(q[F]=$)}),k.push({animation:q})}let j=!!k.length;return l&&C.initial===!1&&!t.manuallyAnimateOnMount&&(j=!1),l=!1,j?r(k):Promise.resolve()}function g(y,S,C){var E;if(i[y].isActive===S)return Promise.resolve();(E=t.variantChildren)===null||E===void 0||E.forEach(R=>{var A;return(A=R.animationState)===null||A===void 0?void 0:A.setActive(y,S)}),i[y].isActive=S;const k=p(C,y);for(const R in i)i[R].protectedKeys={};return k}return{animateChanges:p,setActive:g,setAnimateFunction:h,getState:()=>i}}function oI(t,r){return typeof r=="string"?r!==t:Array.isArray(r)?!o4(r,t):!1}function jc(t=!1){return{isActive:t,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function sI(){return{animate:jc(!0),whileInView:jc(),whileHover:jc(),whileTap:jc(),whileDrag:jc(),whileFocus:jc(),exit:jc()}}class lI extends bu{constructor(r){super(r),r.animationState||(r.animationState=iI(r))}updateAnimationControlsSubscription(){const{animate:r}=this.node.getProps();this.unmount(),Vy(r)&&(this.unmount=r.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){const{animate:r}=this.node.getProps(),{animate:i}=this.node.prevProps||{};r!==i&&this.updateAnimationControlsSubscription()}unmount(){}}let uI=0;class cI extends bu{constructor(){super(...arguments),this.id=uI++}update(){if(!this.node.presenceContext)return;const{isPresent:r,onExitComplete:i,custom:l}=this.node.presenceContext,{isPresent:f}=this.node.prevPresenceContext||{};if(!this.node.animationState||r===f)return;const h=this.node.animationState.setActive("exit",!r,{custom:l??this.node.getProps().custom});i&&!r&&h.then(()=>i(this.id))}mount(){const{register:r}=this.node.presenceContext||{};r&&(this.unmount=r(this.id))}unmount(){}}const fI={animation:{Feature:lI},exit:{Feature:cI}},X4=(t,r)=>Math.abs(t-r);function dI(t,r){const i=X4(t.x,r.x),l=X4(t.y,r.y);return Math.sqrt(i**2+l**2)}class Q4{constructor(r,i,{transformPagePoint:l}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.handlers={},this.updatePoint=()=>{if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const S=cC(this.lastMoveEventInfo,this.history),C=this.startEvent!==null,E=dI(S.offset,{x:0,y:0})>=3;if(!C&&!E)return;const{point:k}=S,{timestamp:R}=Kr;this.history.push({...k,timestamp:R});const{onStart:A,onMove:P}=this.handlers;C||(A&&A(this.lastMoveEvent,S),this.startEvent=this.lastMoveEvent),P&&P(this.lastMoveEvent,S)},this.handlePointerMove=(S,C)=>{this.lastMoveEvent=S,this.lastMoveEventInfo=uC(C,this.transformPagePoint),$n.update(this.updatePoint,!0)},this.handlePointerUp=(S,C)=>{if(this.end(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const{onEnd:E,onSessionEnd:k}=this.handlers,R=cC(S.type==="pointercancel"?this.lastMoveEventInfo:uC(C,this.transformPagePoint),this.history);this.startEvent&&E&&E(S,R),k&&k(S,R)},!Z5(r))return;this.handlers=i,this.transformPagePoint=l;const f=Qy(r),h=uC(f,this.transformPagePoint),{point:p}=h,{timestamp:g}=Kr;this.history=[{...p,timestamp:g}];const{onSessionStart:y}=i;y&&y(r,cC(h,this.history)),this.removeListeners=yu(dl(window,"pointermove",this.handlePointerMove),dl(window,"pointerup",this.handlePointerUp),dl(window,"pointercancel",this.handlePointerUp))}updateHandlers(r){this.handlers=r}end(){this.removeListeners&&this.removeListeners(),cl(this.updatePoint)}}function uC(t,r){return r?{point:r(t.point)}:t}function K4(t,r){return{x:t.x-r.x,y:t.y-r.y}}function cC({point:t},r){return{point:t,delta:K4(t,Z4(r)),offset:K4(t,pI(r)),velocity:hI(r,.1)}}function pI(t){return t[0]}function Z4(t){return t[t.length-1]}function hI(t,r){if(t.length<2)return{x:0,y:0};let i=t.length-1,l=null;const f=Z4(t);for(;i>=0&&(l=t[i],!(f.timestamp-l.timestamp>Su(r)));)i--;if(!l)return{x:0,y:0};const h=pl(f.timestamp-l.timestamp);if(h===0)return{x:0,y:0};const p={x:(f.x-l.x)/h,y:(f.y-l.y)/h};return p.x===1/0&&(p.x=0),p.y===1/0&&(p.y=0),p}function Vi(t){return t.max-t.min}function fC(t,r=0,i=.01){return Math.abs(t-r)<=i}function J4(t,r,i,l=.5){t.origin=l,t.originPoint=Jn(r.min,r.max,t.origin),t.scale=Vi(i)/Vi(r),(fC(t.scale,1,1e-4)||isNaN(t.scale))&&(t.scale=1),t.translate=Jn(i.min,i.max,t.origin)-t.originPoint,(fC(t.translate)||isNaN(t.translate))&&(t.translate=0)}function Ev(t,r,i,l){J4(t.x,r.x,i.x,l?l.originX:void 0),J4(t.y,r.y,i.y,l?l.originY:void 0)}function eR(t,r,i){t.min=i.min+r.min,t.max=t.min+Vi(r)}function vI(t,r,i){eR(t.x,r.x,i.x),eR(t.y,r.y,i.y)}function tR(t,r,i){t.min=r.min-i.min,t.max=t.min+Vi(r)}function Tv(t,r,i){tR(t.x,r.x,i.x),tR(t.y,r.y,i.y)}function mI(t,{min:r,max:i},l){return r!==void 0&&t<r?t=l?Jn(r,t,l.min):Math.max(t,r):i!==void 0&&t>i&&(t=l?Jn(i,t,l.max):Math.min(t,i)),t}function nR(t,r,i){return{min:r!==void 0?t.min+r:void 0,max:i!==void 0?t.max+i-(t.max-t.min):void 0}}function gI(t,{top:r,left:i,bottom:l,right:f}){return{x:nR(t.x,i,f),y:nR(t.y,r,l)}}function rR(t,r){let i=r.min-t.min,l=r.max-t.max;return r.max-r.min<t.max-t.min&&([i,l]=[l,i]),{min:i,max:l}}function yI(t,r){return{x:rR(t.x,r.x),y:rR(t.y,r.y)}}function bI(t,r){let i=.5;const l=Vi(t),f=Vi(r);return f>l?i=Cv(r.min,r.max-l,t.min):l>f&&(i=Cv(t.min,t.max-f,r.min)),mu(0,1,i)}function SI(t,r){const i={};return r.min!==void 0&&(i.min=r.min-t.min),r.max!==void 0&&(i.max=r.max-t.min),i}const dC=.35;function xI(t=dC){return t===!1?t=0:t===!0&&(t=dC),{x:aR(t,"left","right"),y:aR(t,"top","bottom")}}function aR(t,r,i){return{min:iR(t,r),max:iR(t,i)}}function iR(t,r){return typeof t=="number"?t:t[r]||0}const oR=()=>({translate:0,scale:1,origin:0,originPoint:0}),Ed=()=>({x:oR(),y:oR()}),sR=()=>({min:0,max:0}),kr=()=>({x:sR(),y:sR()});function gs(t){return[t("x"),t("y")]}function lR({top:t,left:r,right:i,bottom:l}){return{x:{min:r,max:i},y:{min:t,max:l}}}function CI({x:t,y:r}){return{top:r.min,right:t.max,bottom:r.max,left:t.min}}function wI(t,r){if(!r)return t;const i=r({x:t.left,y:t.top}),l=r({x:t.right,y:t.bottom});return{top:i.y,left:i.x,bottom:l.y,right:l.x}}function pC(t){return t===void 0||t===1}function hC({scale:t,scaleX:r,scaleY:i}){return!pC(t)||!pC(r)||!pC(i)}function Fc(t){return hC(t)||uR(t)||t.z||t.rotate||t.rotateX||t.rotateY}function uR(t){return cR(t.x)||cR(t.y)}function cR(t){return t&&t!=="0%"}function r0(t,r,i){const l=t-i,f=r*l;return i+f}function fR(t,r,i,l,f){return f!==void 0&&(t=r0(t,f,l)),r0(t,i,l)+r}function vC(t,r=0,i=1,l,f){t.min=fR(t.min,r,i,l,f),t.max=fR(t.max,r,i,l,f)}function dR(t,{x:r,y:i}){vC(t.x,r.translate,r.scale,r.originPoint),vC(t.y,i.translate,i.scale,i.originPoint)}function EI(t,r,i,l=!1){const f=i.length;if(!f)return;r.x=r.y=1;let h,p;for(let g=0;g<f;g++){h=i[g],p=h.projectionDelta;const y=h.instance;y&&y.style&&y.style.display==="contents"||(l&&h.options.layoutScroll&&h.scroll&&h!==h.root&&Td(t,{x:-h.scroll.offset.x,y:-h.scroll.offset.y}),p&&(r.x*=p.x.scale,r.y*=p.y.scale,dR(t,p)),l&&Fc(h.latestValues)&&Td(t,h.latestValues))}r.x=pR(r.x),r.y=pR(r.y)}function pR(t){return Number.isInteger(t)||t>1.0000000000001||t<.999999999999?t:1}function Cu(t,r){t.min=t.min+r,t.max=t.max+r}function hR(t,r,[i,l,f]){const h=r[f]!==void 0?r[f]:.5,p=Jn(t.min,t.max,h);vC(t,r[i],r[l],p,r.scale)}const TI=["x","scaleX","originX"],kI=["y","scaleY","originY"];function Td(t,r){hR(t.x,r,TI),hR(t.y,r,kI)}function vR(t,r){return lR(wI(t.getBoundingClientRect(),r))}function _I(t,r,i){const l=vR(t,i),{scroll:f}=r;return f&&(Cu(l.x,f.offset.x),Cu(l.y,f.offset.y)),l}const RI=new WeakMap;class DI{constructor(r){this.openGlobalLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic=kr(),this.visualElement=r}start(r,{snapToCursor:i=!1}={}){const{presenceContext:l}=this.visualElement;if(l&&l.isPresent===!1)return;const f=y=>{this.stopAnimation(),i&&this.snapToCursor(Qy(y,"page").point)},h=(y,S)=>{const{drag:C,dragPropagation:E,onDragStart:k}=this.getProps();if(C&&!E&&(this.openGlobalLock&&this.openGlobalLock(),this.openGlobalLock=n4(C),!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),gs(A=>{let P=this.getAxisMotionValue(A).get()||0;if(ms.test(P)){const{projection:j}=this.visualElement;if(j&&j.layout){const q=j.layout.layoutBox[A];q&&(P=Vi(q)*(parseFloat(P)/100))}}this.originPoint[A]=P}),k&&$n.update(()=>k(y,S),!1,!0);const{animationState:R}=this.visualElement;R&&R.setActive("whileDrag",!0)},p=(y,S)=>{const{dragPropagation:C,dragDirectionLock:E,onDirectionLock:k,onDrag:R}=this.getProps();if(!C&&!this.openGlobalLock)return;const{offset:A}=S;if(E&&this.currentDirection===null){this.currentDirection=OI(A),this.currentDirection!==null&&k&&k(this.currentDirection);return}this.updateAxis("x",S.point,A),this.updateAxis("y",S.point,A),this.visualElement.render(),R&&R(y,S)},g=(y,S)=>this.stop(y,S);this.panSession=new Q4(r,{onSessionStart:f,onStart:h,onMove:p,onSessionEnd:g},{transformPagePoint:this.visualElement.getTransformPagePoint()})}stop(r,i){const l=this.isDragging;if(this.cancel(),!l)return;const{velocity:f}=i;this.startAnimation(f);const{onDragEnd:h}=this.getProps();h&&$n.update(()=>h(r,i))}cancel(){this.isDragging=!1;const{projection:r,animationState:i}=this.visualElement;r&&(r.isAnimationBlocked=!1),this.panSession&&this.panSession.end(),this.panSession=void 0;const{dragPropagation:l}=this.getProps();!l&&this.openGlobalLock&&(this.openGlobalLock(),this.openGlobalLock=null),i&&i.setActive("whileDrag",!1)}updateAxis(r,i,l){const{drag:f}=this.getProps();if(!l||!a0(r,f,this.currentDirection))return;const h=this.getAxisMotionValue(r);let p=this.originPoint[r]+l[r];this.constraints&&this.constraints[r]&&(p=mI(p,this.constraints[r],this.elastic[r])),h.set(p)}resolveConstraints(){const{dragConstraints:r,dragElastic:i}=this.getProps(),{layout:l}=this.visualElement.projection||{},f=this.constraints;r&&xd(r)?this.constraints||(this.constraints=this.resolveRefConstraints()):r&&l?this.constraints=gI(l.layoutBox,r):this.constraints=!1,this.elastic=xI(i),f!==this.constraints&&l&&this.constraints&&!this.hasMutatedConstraints&&gs(h=>{this.getAxisMotionValue(h)&&(this.constraints[h]=SI(l.layoutBox[h],this.constraints[h]))})}resolveRefConstraints(){const{dragConstraints:r,onMeasureDragConstraints:i}=this.getProps();if(!r||!xd(r))return!1;const l=r.current;Do(l!==null,"If `dragConstraints` is set as a React ref, that ref must be passed to another component's `ref` prop.");const{projection:f}=this.visualElement;if(!f||!f.layout)return!1;const h=_I(l,f.root,this.visualElement.getTransformPagePoint());let p=yI(f.layout.layoutBox,h);if(i){const g=i(CI(p));this.hasMutatedConstraints=!!g,g&&(p=lR(g))}return p}startAnimation(r){const{drag:i,dragMomentum:l,dragElastic:f,dragTransition:h,dragSnapToOrigin:p,onDragTransitionEnd:g}=this.getProps(),y=this.constraints||{},S=gs(C=>{if(!a0(C,i,this.currentDirection))return;let E=y&&y[C]||{};p&&(E={min:0,max:0});const k=f?200:1e6,R=f?40:1e7,A={type:"inertia",velocity:l?r[C]:0,bounceStiffness:k,bounceDamping:R,timeConstant:750,restDelta:1,restSpeed:10,...h,...E};return this.startAxisValueAnimation(C,A)});return Promise.all(S).then(g)}startAxisValueAnimation(r,i){const l=this.getAxisMotionValue(r);return l.start(rC(r,l,0,i))}stopAnimation(){gs(r=>this.getAxisMotionValue(r).stop())}getAxisMotionValue(r){const i="_drag"+r.toUpperCase(),l=this.visualElement.getProps(),f=l[i];return f||this.visualElement.getValue(r,(l.initial?l.initial[r]:void 0)||0)}snapToCursor(r){gs(i=>{const{drag:l}=this.getProps();if(!a0(i,l,this.currentDirection))return;const{projection:f}=this.visualElement,h=this.getAxisMotionValue(i);if(f&&f.layout){const{min:p,max:g}=f.layout.layoutBox[i];h.set(r[i]-Jn(p,g,.5))}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;const{drag:r,dragConstraints:i}=this.getProps(),{projection:l}=this.visualElement;if(!xd(i)||!l||!this.constraints)return;this.stopAnimation();const f={x:0,y:0};gs(p=>{const g=this.getAxisMotionValue(p);if(g){const y=g.get();f[p]=bI({min:y,max:y},this.constraints[p])}});const{transformTemplate:h}=this.visualElement.getProps();this.visualElement.current.style.transform=h?h({},""):"none",l.root&&l.root.updateScroll(),l.updateLayout(),this.resolveConstraints(),gs(p=>{if(!a0(p,r,null))return;const g=this.getAxisMotionValue(p),{min:y,max:S}=this.constraints[p];g.set(Jn(y,S,f[p]))})}addListeners(){if(!this.visualElement.current)return;RI.set(this.visualElement,this);const r=this.visualElement.current,i=dl(r,"pointerdown",y=>{const{drag:S,dragListener:C=!0}=this.getProps();S&&C&&this.start(y)}),l=()=>{const{dragConstraints:y}=this.getProps();xd(y)&&(this.constraints=this.resolveRefConstraints())},{projection:f}=this.visualElement,h=f.addEventListener("measure",l);f&&!f.layout&&(f.root&&f.root.updateScroll(),f.updateLayout()),l();const p=fl(window,"resize",()=>this.scalePositionWithinConstraints()),g=f.addEventListener("didUpdate",({delta:y,hasLayoutChanged:S})=>{this.isDragging&&S&&(gs(C=>{const E=this.getAxisMotionValue(C);E&&(this.originPoint[C]+=y[C].translate,E.set(E.get()+y[C].translate))}),this.visualElement.render())});return()=>{p(),i(),h(),g&&g()}}getProps(){const r=this.visualElement.getProps(),{drag:i=!1,dragDirectionLock:l=!1,dragPropagation:f=!1,dragConstraints:h=!1,dragElastic:p=dC,dragMomentum:g=!0}=r;return{...r,drag:i,dragDirectionLock:l,dragPropagation:f,dragConstraints:h,dragElastic:p,dragMomentum:g}}}function a0(t,r,i){return(r===!0||r===t)&&(i===null||i===t)}function OI(t,r=10){let i=null;return Math.abs(t.y)>r?i="y":Math.abs(t.x)>r&&(i="x"),i}class AI extends bu{constructor(r){super(r),this.removeGroupControls=sr,this.removeListeners=sr,this.controls=new DI(r)}mount(){const{dragControls:r}=this.node.getProps();r&&(this.removeGroupControls=r.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||sr}unmount(){this.removeGroupControls(),this.removeListeners()}}const mR=t=>(r,i)=>{t&&$n.update(()=>t(r,i))};class MI extends bu{constructor(){super(...arguments),this.removePointerDownListener=sr}onPointerDown(r){this.session=new Q4(r,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint()})}createPanHandlers(){const{onPanSessionStart:r,onPanStart:i,onPan:l,onPanEnd:f}=this.node.getProps();return{onSessionStart:mR(r),onStart:mR(i),onMove:l,onEnd:(h,p)=>{delete this.session,f&&$n.update(()=>f(h,p))}}}mount(){this.removePointerDownListener=dl(this.node.current,"pointerdown",r=>this.onPointerDown(r))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}}function gR(){const t=U.useContext($y);if(t===null)return[!0,null];const{isPresent:r,onExitComplete:i,register:l}=t,f=U.useId();return U.useEffect(()=>l(f),[]),!r&&i?[!1,()=>i&&i(f)]:[!0]}const i0={hasAnimatedSinceResize:!0,hasEverUpdated:!1};function yR(t,r){return r.max===r.min?0:t/(r.max-r.min)*100}const kv={correct:(t,r)=>{if(!r.target)return t;if(typeof t=="string")if(Ct.test(t))t=parseFloat(t);else return t;const i=yR(t,r.target.x),l=yR(t,r.target.y);return`${i}% ${l}%`}},PI={correct:(t,{treeScale:r,projectionDelta:i})=>{const l=t,f=xu.parse(t);if(f.length>5)return l;const h=xu.createTransformer(t),p=typeof f[0]!="number"?1:0,g=i.x.scale*r.x,y=i.y.scale*r.y;f[0+p]/=g,f[1+p]/=y;const S=Jn(g,y,.5);return typeof f[2+p]=="number"&&(f[2+p]/=S),typeof f[3+p]=="number"&&(f[3+p]/=S),h(f)}};class LI extends U.Component{componentDidMount(){const{visualElement:r,layoutGroup:i,switchLayoutGroup:l,layoutId:f}=this.props,{projection:h}=r;G$(zI),h&&(i.group&&i.group.add(h),l&&l.register&&f&&l.register(h),h.root.didUpdate(),h.addEventListener("animationComplete",()=>{this.safeToRemove()}),h.setOptions({...h.options,onExitComplete:()=>this.safeToRemove()})),i0.hasEverUpdated=!0}getSnapshotBeforeUpdate(r){const{layoutDependency:i,visualElement:l,drag:f,isPresent:h}=this.props,p=l.projection;return p&&(p.isPresent=h,f||r.layoutDependency!==i||i===void 0?p.willUpdate():this.safeToRemove(),r.isPresent!==h&&(h?p.promote():p.relegate()||$n.postRender(()=>{const g=p.getStack();(!g||!g.members.length)&&this.safeToRemove()}))),null}componentDidUpdate(){const{projection:r}=this.props.visualElement;r&&(r.root.didUpdate(),queueMicrotask(()=>{!r.currentAnimation&&r.isLead()&&this.safeToRemove()}))}componentWillUnmount(){const{visualElement:r,layoutGroup:i,switchLayoutGroup:l}=this.props,{projection:f}=r;f&&(f.scheduleCheckAfterUnmount(),i&&i.group&&i.group.remove(f),l&&l.deregister&&l.deregister(f))}safeToRemove(){const{safeToRemove:r}=this.props;r&&r()}render(){return null}}function bR(t){const[r,i]=gR(),l=U.useContext(Ox);return U.createElement(LI,{...t,layoutGroup:l,switchLayoutGroup:U.useContext(P5),isPresent:r,safeToRemove:i})}const zI={borderRadius:{...kv,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:kv,borderTopRightRadius:kv,borderBottomLeftRadius:kv,borderBottomRightRadius:kv,boxShadow:PI},SR=["TopLeft","TopRight","BottomLeft","BottomRight"],NI=SR.length,xR=t=>typeof t=="string"?parseFloat(t):t,CR=t=>typeof t=="number"||Ct.test(t);function jI(t,r,i,l,f,h){f?(t.opacity=Jn(0,i.opacity!==void 0?i.opacity:1,FI(l)),t.opacityExit=Jn(r.opacity!==void 0?r.opacity:1,0,$I(l))):h&&(t.opacity=Jn(r.opacity!==void 0?r.opacity:1,i.opacity!==void 0?i.opacity:1,l));for(let p=0;p<NI;p++){const g=`border${SR[p]}Radius`;let y=wR(r,g),S=wR(i,g);if(y===void 0&&S===void 0)continue;y||(y=0),S||(S=0),y===0||S===0||CR(y)===CR(S)?(t[g]=Math.max(Jn(xR(y),xR(S),l),0),(ms.test(S)||ms.test(y))&&(t[g]+="%")):t[g]=S}(r.rotate||i.rotate)&&(t.rotate=Jn(r.rotate||0,i.rotate||0,l))}function wR(t,r){return t[r]!==void 0?t[r]:t.borderRadius}const FI=ER(0,.5,Hx),$I=ER(.5,.95,sr);function ER(t,r,i){return l=>l<t?0:l>r?1:i(Cv(t,r,l))}function TR(t,r){t.min=r.min,t.max=r.max}function ao(t,r){TR(t.x,r.x),TR(t.y,r.y)}function kR(t,r,i,l,f){return t-=r,t=r0(t,1/i,l),f!==void 0&&(t=r0(t,1/f,l)),t}function BI(t,r=0,i=1,l=.5,f,h=t,p=t){if(ms.test(r)&&(r=parseFloat(r),r=Jn(p.min,p.max,r/100)-p.min),typeof r!="number")return;let g=Jn(h.min,h.max,l);t===h&&(g-=r),t.min=kR(t.min,r,i,g,f),t.max=kR(t.max,r,i,g,f)}function _R(t,r,[i,l,f],h,p){BI(t,r[i],r[l],r[f],r.scale,h,p)}const VI=["x","scaleX","originX"],II=["y","scaleY","originY"];function RR(t,r,i,l){_R(t.x,r,VI,i?i.x:void 0,l?l.x:void 0),_R(t.y,r,II,i?i.y:void 0,l?l.y:void 0)}function DR(t){return t.translate===0&&t.scale===1}function OR(t){return DR(t.x)&&DR(t.y)}function UI(t,r){return t.x.min===r.x.min&&t.x.max===r.x.max&&t.y.min===r.y.min&&t.y.max===r.y.max}function AR(t,r){return Math.round(t.x.min)===Math.round(r.x.min)&&Math.round(t.x.max)===Math.round(r.x.max)&&Math.round(t.y.min)===Math.round(r.y.min)&&Math.round(t.y.max)===Math.round(r.y.max)}function MR(t){return Vi(t.x)/Vi(t.y)}class HI{constructor(){this.members=[]}add(r){aC(this.members,r),r.scheduleRender()}remove(r){if(iC(this.members,r),r===this.prevLead&&(this.prevLead=void 0),r===this.lead){const i=this.members[this.members.length-1];i&&this.promote(i)}}relegate(r){const i=this.members.findIndex(f=>r===f);if(i===0)return!1;let l;for(let f=i;f>=0;f--){const h=this.members[f];if(h.isPresent!==!1){l=h;break}}return l?(this.promote(l),!0):!1}promote(r,i){const l=this.lead;if(r!==l&&(this.prevLead=l,this.lead=r,r.show(),l)){l.instance&&l.scheduleRender(),r.scheduleRender(),r.resumeFrom=l,i&&(r.resumeFrom.preserveOpacity=!0),l.snapshot&&(r.snapshot=l.snapshot,r.snapshot.latestValues=l.animationValues||l.latestValues),r.root&&r.root.isUpdating&&(r.isLayoutDirty=!0);const{crossfade:f}=r.options;f===!1&&l.hide()}}exitAnimationComplete(){this.members.forEach(r=>{const{options:i,resumingFrom:l}=r;i.onExitComplete&&i.onExitComplete(),l&&l.options.onExitComplete&&l.options.onExitComplete()})}scheduleRender(){this.members.forEach(r=>{r.instance&&r.scheduleRender(!1)})}removeLeadSnapshot(){this.lead&&this.lead.snapshot&&(this.lead.snapshot=void 0)}}function PR(t,r,i){let l="";const f=t.x.translate/r.x,h=t.y.translate/r.y;if((f||h)&&(l=`translate3d(${f}px, ${h}px, 0) `),(r.x!==1||r.y!==1)&&(l+=`scale(${1/r.x}, ${1/r.y}) `),i){const{rotate:y,rotateX:S,rotateY:C}=i;y&&(l+=`rotate(${y}deg) `),S&&(l+=`rotateX(${S}deg) `),C&&(l+=`rotateY(${C}deg) `)}const p=t.x.scale*r.x,g=t.y.scale*r.y;return(p!==1||g!==1)&&(l+=`scale(${p}, ${g})`),l||"none"}const WI=(t,r)=>t.depth-r.depth;class YI{constructor(){this.children=[],this.isDirty=!1}add(r){aC(this.children,r),this.isDirty=!0}remove(r){iC(this.children,r),this.isDirty=!0}forEach(r){this.isDirty&&this.children.sort(WI),this.isDirty=!1,this.children.forEach(r)}}function GI(t,r){const i=performance.now(),l=({timestamp:f})=>{const h=f-i;h>=r&&(cl(l),t(h-r))};return $n.read(l,!0),()=>cl(l)}function qI(t){window.MotionDebug&&window.MotionDebug.record(t)}function XI(t){return t instanceof SVGElement&&t.tagName!=="svg"}function QI(t,r,i){const l=mi(t)?t:wd(t);return l.start(rC("",l,r,i)),l.animation}const LR=["","X","Y","Z"],zR=1e3;let KI=0;const $c={type:"projectionFrame",totalNodes:0,resolvedTargetDeltas:0,recalculatedProjection:0};function NR({attachResizeListener:t,defaultParent:r,measureScroll:i,checkIsScrollRoot:l,resetTransform:f}){return class{constructor(p={},g=r==null?void 0:r()){this.id=KI++,this.animationId=0,this.children=new Set,this.options={},this.isTreeAnimating=!1,this.isAnimationBlocked=!1,this.isLayoutDirty=!1,this.isProjectionDirty=!1,this.isSharedProjectionDirty=!1,this.isTransformDirty=!1,this.updateManuallyBlocked=!1,this.updateBlockedByResize=!1,this.isUpdating=!1,this.isSVG=!1,this.needsReset=!1,this.shouldResetTransform=!1,this.treeScale={x:1,y:1},this.eventHandlers=new Map,this.hasTreeAnimated=!1,this.updateScheduled=!1,this.checkUpdateFailed=()=>{this.isUpdating&&(this.isUpdating=!1,this.clearAllSnapshots())},this.updateProjection=()=>{$c.totalNodes=$c.resolvedTargetDeltas=$c.recalculatedProjection=0,this.nodes.forEach(eU),this.nodes.forEach(iU),this.nodes.forEach(oU),this.nodes.forEach(tU),qI($c)},this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=p,this.root=g?g.root||g:this,this.path=g?[...g.path,g]:[],this.parent=g,this.depth=g?g.depth+1:0;for(let y=0;y<this.path.length;y++)this.path[y].shouldResetTransform=!0;this.root===this&&(this.nodes=new YI)}addEventListener(p,g){return this.eventHandlers.has(p)||this.eventHandlers.set(p,new oC),this.eventHandlers.get(p).add(g)}notifyListeners(p,...g){const y=this.eventHandlers.get(p);y&&y.notify(...g)}hasListeners(p){return this.eventHandlers.has(p)}mount(p,g=this.root.hasTreeAnimated){if(this.instance)return;this.isSVG=XI(p),this.instance=p;const{layoutId:y,layout:S,visualElement:C}=this.options;if(C&&!C.current&&C.mount(p),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),g&&(S||y)&&(this.isLayoutDirty=!0),t){let E;const k=()=>this.root.updateBlockedByResize=!1;t(p,()=>{this.root.updateBlockedByResize=!0,E&&E(),E=GI(k,250),i0.hasAnimatedSinceResize&&(i0.hasAnimatedSinceResize=!1,this.nodes.forEach(FR))})}y&&this.root.registerSharedNode(y,this),this.options.animate!==!1&&C&&(y||S)&&this.addEventListener("didUpdate",({delta:E,hasLayoutChanged:k,hasRelativeTargetChanged:R,layout:A})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}const P=this.options.transition||C.getDefaultTransition()||fU,{onLayoutAnimationStart:j,onLayoutAnimationComplete:q}=C.getProps(),F=!this.targetLayout||!AR(this.targetLayout,A)||R,$=!k&&R;if(this.options.layoutRoot||this.resumeFrom&&this.resumeFrom.instance||$||k&&(F||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0),this.setAnimationOrigin(E,$);const Q={...U4(P,"layout"),onPlay:j,onComplete:q};(C.shouldReduceMotion||this.options.layoutRoot)&&(Q.delay=0,Q.type=!1),this.startAnimation(Q)}else k||FR(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=A})}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);const p=this.getStack();p&&p.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,cl(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(sU),this.animationId++)}getTransformTemplate(){const{visualElement:p}=this.options;return p&&p.getProps().transformTemplate}willUpdate(p=!0){if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked()){this.options.onExitComplete&&this.options.onExitComplete();return}if(!this.root.isUpdating&&this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let C=0;C<this.path.length;C++){const E=this.path[C];E.shouldResetTransform=!0,E.updateScroll("snapshot"),E.options.layoutRoot&&E.willUpdate(!1)}const{layoutId:g,layout:y}=this.options;if(g===void 0&&!y)return;const S=this.getTransformTemplate();this.prevTransformTemplateValue=S?S(this.latestValues,""):void 0,this.updateSnapshot(),p&&this.notifyListeners("willUpdate")}update(){if(this.updateScheduled=!1,this.isUpdateBlocked()){this.unblockUpdate(),this.clearAllSnapshots(),this.nodes.forEach(jR);return}this.isUpdating||this.nodes.forEach(rU),this.isUpdating=!1,this.nodes.forEach(aU),this.nodes.forEach(ZI),this.nodes.forEach(JI),this.clearAllSnapshots();const g=performance.now();Kr.delta=mu(0,1e3/60,g-Kr.timestamp),Kr.timestamp=g,Kr.isProcessing=!0,Bx.update.process(Kr),Bx.preRender.process(Kr),Bx.render.process(Kr),Kr.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,queueMicrotask(()=>this.update()))}clearAllSnapshots(){this.nodes.forEach(nU),this.sharedNodes.forEach(lU)}scheduleUpdateProjection(){$n.preRender(this.updateProjection,!1,!0)}scheduleCheckAfterUnmount(){$n.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){this.snapshot||!this.instance||(this.snapshot=this.measure())}updateLayout(){if(!this.instance||(this.updateScroll(),!(this.options.alwaysMeasureLayout&&this.isLead())&&!this.isLayoutDirty))return;if(this.resumeFrom&&!this.resumeFrom.instance)for(let y=0;y<this.path.length;y++)this.path[y].updateScroll();const p=this.layout;this.layout=this.measure(!1),this.layoutCorrected=kr(),this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners("measure",this.layout.layoutBox);const{visualElement:g}=this.options;g&&g.notify("LayoutMeasure",this.layout.layoutBox,p?p.layoutBox:void 0)}updateScroll(p="measure"){let g=!!(this.options.layoutScroll&&this.instance);this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===p&&(g=!1),g&&(this.scroll={animationId:this.root.animationId,phase:p,isRoot:l(this.instance),offset:i(this.instance)})}resetTransform(){if(!f)return;const p=this.isLayoutDirty||this.shouldResetTransform,g=this.projectionDelta&&!OR(this.projectionDelta),y=this.getTransformTemplate(),S=y?y(this.latestValues,""):void 0,C=S!==this.prevTransformTemplateValue;p&&(g||Fc(this.latestValues)||C)&&(f(this.instance,S),this.shouldResetTransform=!1,this.scheduleRender())}measure(p=!0){const g=this.measurePageBox();let y=this.removeElementScroll(g);return p&&(y=this.removeTransform(y)),dU(y),{animationId:this.root.animationId,measuredBox:g,layoutBox:y,latestValues:{},source:this.id}}measurePageBox(){const{visualElement:p}=this.options;if(!p)return kr();const g=p.measureViewportBox(),{scroll:y}=this.root;return y&&(Cu(g.x,y.offset.x),Cu(g.y,y.offset.y)),g}removeElementScroll(p){const g=kr();ao(g,p);for(let y=0;y<this.path.length;y++){const S=this.path[y],{scroll:C,options:E}=S;if(S!==this.root&&C&&E.layoutScroll){if(C.isRoot){ao(g,p);const{scroll:k}=this.root;k&&(Cu(g.x,-k.offset.x),Cu(g.y,-k.offset.y))}Cu(g.x,C.offset.x),Cu(g.y,C.offset.y)}}return g}applyTransform(p,g=!1){const y=kr();ao(y,p);for(let S=0;S<this.path.length;S++){const C=this.path[S];!g&&C.options.layoutScroll&&C.scroll&&C!==C.root&&Td(y,{x:-C.scroll.offset.x,y:-C.scroll.offset.y}),Fc(C.latestValues)&&Td(y,C.latestValues)}return Fc(this.latestValues)&&Td(y,this.latestValues),y}removeTransform(p){const g=kr();ao(g,p);for(let y=0;y<this.path.length;y++){const S=this.path[y];if(!S.instance||!Fc(S.latestValues))continue;hC(S.latestValues)&&S.updateSnapshot();const C=kr(),E=S.measurePageBox();ao(C,E),RR(g,S.latestValues,S.snapshot?S.snapshot.layoutBox:void 0,C)}return Fc(this.latestValues)&&RR(g,this.latestValues),g}setTargetDelta(p){this.targetDelta=p,this.root.scheduleUpdateProjection(),this.isProjectionDirty=!0}setOptions(p){this.options={...this.options,...p,crossfade:p.crossfade!==void 0?p.crossfade:!0}}clearMeasurements(){this.scroll=void 0,this.layout=void 0,this.snapshot=void 0,this.prevTransformTemplateValue=void 0,this.targetDelta=void 0,this.target=void 0,this.isLayoutDirty=!1}forceRelativeParentToResolveTarget(){this.relativeParent&&this.relativeParent.resolvedRelativeTargetAt!==Kr.timestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(p=!1){var g;const y=this.getLead();this.isProjectionDirty||(this.isProjectionDirty=y.isProjectionDirty),this.isTransformDirty||(this.isTransformDirty=y.isTransformDirty),this.isSharedProjectionDirty||(this.isSharedProjectionDirty=y.isSharedProjectionDirty);const S=!!this.resumingFrom||this!==y;if(!(p||S&&this.isSharedProjectionDirty||this.isProjectionDirty||!((g=this.parent)===null||g===void 0)&&g.isProjectionDirty||this.attemptToResolveRelativeTarget))return;const{layout:E,layoutId:k}=this.options;if(!(!this.layout||!(E||k))){if(this.resolvedRelativeTargetAt=Kr.timestamp,!this.targetDelta&&!this.relativeTarget){const R=this.getClosestProjectingParent();R&&R.layout&&this.animationProgress!==1?(this.relativeParent=R,this.forceRelativeParentToResolveTarget(),this.relativeTarget=kr(),this.relativeTargetOrigin=kr(),Tv(this.relativeTargetOrigin,this.layout.layoutBox,R.layout.layoutBox),ao(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}if(!(!this.relativeTarget&&!this.targetDelta)){if(this.target||(this.target=kr(),this.targetWithTransforms=kr()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target?(this.forceRelativeParentToResolveTarget(),vI(this.target,this.relativeTarget,this.relativeParent.target)):this.targetDelta?(this.resumingFrom?this.target=this.applyTransform(this.layout.layoutBox):ao(this.target,this.layout.layoutBox),dR(this.target,this.targetDelta)):ao(this.target,this.layout.layoutBox),this.attemptToResolveRelativeTarget){this.attemptToResolveRelativeTarget=!1;const R=this.getClosestProjectingParent();R&&!!R.resumingFrom==!!this.resumingFrom&&!R.options.layoutScroll&&R.target&&this.animationProgress!==1?(this.relativeParent=R,this.forceRelativeParentToResolveTarget(),this.relativeTarget=kr(),this.relativeTargetOrigin=kr(),Tv(this.relativeTargetOrigin,this.target,R.target),ao(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}$c.resolvedTargetDeltas++}}}getClosestProjectingParent(){if(!(!this.parent||hC(this.parent.latestValues)||uR(this.parent.latestValues)))return this.parent.isProjecting()?this.parent:this.parent.getClosestProjectingParent()}isProjecting(){return!!((this.relativeTarget||this.targetDelta||this.options.layoutRoot)&&this.layout)}calcProjection(){var p;const g=this.getLead(),y=!!this.resumingFrom||this!==g;let S=!0;if((this.isProjectionDirty||!((p=this.parent)===null||p===void 0)&&p.isProjectionDirty)&&(S=!1),y&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(S=!1),this.resolvedRelativeTargetAt===Kr.timestamp&&(S=!1),S)return;const{layout:C,layoutId:E}=this.options;if(this.isTreeAnimating=!!(this.parent&&this.parent.isTreeAnimating||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),!this.layout||!(C||E))return;ao(this.layoutCorrected,this.layout.layoutBox);const k=this.treeScale.x,R=this.treeScale.y;EI(this.layoutCorrected,this.treeScale,this.path,y),g.layout&&!g.target&&(this.treeScale.x!==1||this.treeScale.y!==1)&&(g.target=g.layout.layoutBox);const{target:A}=g;if(!A){this.projectionTransform&&(this.projectionDelta=Ed(),this.projectionTransform="none",this.scheduleRender());return}this.projectionDelta||(this.projectionDelta=Ed(),this.projectionDeltaWithTransform=Ed());const P=this.projectionTransform;Ev(this.projectionDelta,this.layoutCorrected,A,this.latestValues),this.projectionTransform=PR(this.projectionDelta,this.treeScale),(this.projectionTransform!==P||this.treeScale.x!==k||this.treeScale.y!==R)&&(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",A)),$c.recalculatedProjection++}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(p=!0){if(this.options.scheduleRender&&this.options.scheduleRender(),p){const g=this.getStack();g&&g.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}setAnimationOrigin(p,g=!1){const y=this.snapshot,S=y?y.latestValues:{},C={...this.latestValues},E=Ed();(!this.relativeParent||!this.relativeParent.options.layoutRoot)&&(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!g;const k=kr(),R=y?y.source:void 0,A=this.layout?this.layout.source:void 0,P=R!==A,j=this.getStack(),q=!j||j.members.length<=1,F=!!(P&&!q&&this.options.crossfade===!0&&!this.path.some(cU));this.animationProgress=0;let $;this.mixTargetDelta=Q=>{const V=Q/1e3;$R(E.x,p.x,V),$R(E.y,p.y,V),this.setTargetDelta(E),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&(Tv(k,this.layout.layoutBox,this.relativeParent.layout.layoutBox),uU(this.relativeTarget,this.relativeTargetOrigin,k,V),$&&UI(this.relativeTarget,$)&&(this.isProjectionDirty=!1),$||($=kr()),ao($,this.relativeTarget)),P&&(this.animationValues=C,jI(C,S,this.latestValues,V,F,q)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=V},this.mixTargetDelta(this.options.layoutRoot?1e3:0)}startAnimation(p){this.notifyListeners("animationStart"),this.currentAnimation&&this.currentAnimation.stop(),this.resumingFrom&&this.resumingFrom.currentAnimation&&this.resumingFrom.currentAnimation.stop(),this.pendingAnimation&&(cl(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=$n.update(()=>{i0.hasAnimatedSinceResize=!0,this.currentAnimation=QI(0,zR,{...p,onUpdate:g=>{this.mixTargetDelta(g),p.onUpdate&&p.onUpdate(g)},onComplete:()=>{p.onComplete&&p.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 p=this.getStack();p&&p.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")}finishAnimation(){this.currentAnimation&&(this.mixTargetDelta&&this.mixTargetDelta(zR),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){const p=this.getLead();let{targetWithTransforms:g,target:y,layout:S,latestValues:C}=p;if(!(!g||!y||!S)){if(this!==p&&this.layout&&S&&HR(this.options.animationType,this.layout.layoutBox,S.layoutBox)){y=this.target||kr();const E=Vi(this.layout.layoutBox.x);y.x.min=p.target.x.min,y.x.max=y.x.min+E;const k=Vi(this.layout.layoutBox.y);y.y.min=p.target.y.min,y.y.max=y.y.min+k}ao(g,y),Td(g,C),Ev(this.projectionDeltaWithTransform,this.layoutCorrected,g,C)}}registerSharedNode(p,g){this.sharedNodes.has(p)||this.sharedNodes.set(p,new HI),this.sharedNodes.get(p).add(g);const S=g.options.initialPromotionConfig;g.promote({transition:S?S.transition:void 0,preserveFollowOpacity:S&&S.shouldPreserveFollowOpacity?S.shouldPreserveFollowOpacity(g):void 0})}isLead(){const p=this.getStack();return p?p.lead===this:!0}getLead(){var p;const{layoutId:g}=this.options;return g?((p=this.getStack())===null||p===void 0?void 0:p.lead)||this:this}getPrevLead(){var p;const{layoutId:g}=this.options;return g?(p=this.getStack())===null||p===void 0?void 0:p.prevLead:void 0}getStack(){const{layoutId:p}=this.options;if(p)return this.root.sharedNodes.get(p)}promote({needsReset:p,transition:g,preserveFollowOpacity:y}={}){const S=this.getStack();S&&S.promote(this,y),p&&(this.projectionDelta=void 0,this.needsReset=!0),g&&this.setOptions({transition:g})}relegate(){const p=this.getStack();return p?p.relegate(this):!1}resetRotation(){const{visualElement:p}=this.options;if(!p)return;let g=!1;const{latestValues:y}=p;if((y.rotate||y.rotateX||y.rotateY||y.rotateZ)&&(g=!0),!g)return;const S={};for(let C=0;C<LR.length;C++){const E="rotate"+LR[C];y[E]&&(S[E]=y[E],p.setStaticValue(E,0))}p.render();for(const C in S)p.setStaticValue(C,S[C]);p.scheduleRender()}getProjectionStyles(p={}){var g,y;const S={};if(!this.instance||this.isSVG)return S;if(this.isVisible)S.visibility="";else return{visibility:"hidden"};const C=this.getTransformTemplate();if(this.needsReset)return this.needsReset=!1,S.opacity="",S.pointerEvents=qy(p.pointerEvents)||"",S.transform=C?C(this.latestValues,""):"none",S;const E=this.getLead();if(!this.projectionDelta||!this.layout||!E.target){const P={};return this.options.layoutId&&(P.opacity=this.latestValues.opacity!==void 0?this.latestValues.opacity:1,P.pointerEvents=qy(p.pointerEvents)||""),this.hasProjected&&!Fc(this.latestValues)&&(P.transform=C?C({},""):"none",this.hasProjected=!1),P}const k=E.animationValues||E.latestValues;this.applyTransformsToTarget(),S.transform=PR(this.projectionDeltaWithTransform,this.treeScale,k),C&&(S.transform=C(k,S.transform));const{x:R,y:A}=this.projectionDelta;S.transformOrigin=`${R.origin*100}% ${A.origin*100}% 0`,E.animationValues?S.opacity=E===this?(y=(g=k.opacity)!==null&&g!==void 0?g:this.latestValues.opacity)!==null&&y!==void 0?y:1:this.preserveOpacity?this.latestValues.opacity:k.opacityExit:S.opacity=E===this?k.opacity!==void 0?k.opacity:"":k.opacityExit!==void 0?k.opacityExit:0;for(const P in Uy){if(k[P]===void 0)continue;const{correct:j,applyTo:q}=Uy[P],F=S.transform==="none"?k[P]:j(k[P],E);if(q){const $=q.length;for(let Q=0;Q<$;Q++)S[q[Q]]=F}else S[P]=F}return this.options.layoutId&&(S.pointerEvents=E===this?qy(p.pointerEvents)||"":"none"),S}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(p=>{var g;return(g=p.currentAnimation)===null||g===void 0?void 0:g.stop()}),this.root.nodes.forEach(jR),this.root.sharedNodes.clear()}}}function ZI(t){t.updateLayout()}function JI(t){var r;const i=((r=t.resumeFrom)===null||r===void 0?void 0:r.snapshot)||t.snapshot;if(t.isLead()&&t.layout&&i&&t.hasListeners("didUpdate")){const{layoutBox:l,measuredBox:f}=t.layout,{animationType:h}=t.options,p=i.source!==t.layout.source;h==="size"?gs(E=>{const k=p?i.measuredBox[E]:i.layoutBox[E],R=Vi(k);k.min=l[E].min,k.max=k.min+R}):HR(h,i.layoutBox,l)&&gs(E=>{const k=p?i.measuredBox[E]:i.layoutBox[E],R=Vi(l[E]);k.max=k.min+R,t.relativeTarget&&!t.currentAnimation&&(t.isProjectionDirty=!0,t.relativeTarget[E].max=t.relativeTarget[E].min+R)});const g=Ed();Ev(g,l,i.layoutBox);const y=Ed();p?Ev(y,t.applyTransform(f,!0),i.measuredBox):Ev(y,l,i.layoutBox);const S=!OR(g);let C=!1;if(!t.resumeFrom){const E=t.getClosestProjectingParent();if(E&&!E.resumeFrom){const{snapshot:k,layout:R}=E;if(k&&R){const A=kr();Tv(A,i.layoutBox,k.layoutBox);const P=kr();Tv(P,l,R.layoutBox),AR(A,P)||(C=!0),E.options.layoutRoot&&(t.relativeTarget=P,t.relativeTargetOrigin=A,t.relativeParent=E)}}}t.notifyListeners("didUpdate",{layout:l,snapshot:i,delta:y,layoutDelta:g,hasLayoutChanged:S,hasRelativeTargetChanged:C})}else if(t.isLead()){const{onExitComplete:l}=t.options;l&&l()}t.options.transition=void 0}function eU(t){$c.totalNodes++,t.parent&&(t.isProjecting()||(t.isProjectionDirty=t.parent.isProjectionDirty),t.isSharedProjectionDirty||(t.isSharedProjectionDirty=!!(t.isProjectionDirty||t.parent.isProjectionDirty||t.parent.isSharedProjectionDirty)),t.isTransformDirty||(t.isTransformDirty=t.parent.isTransformDirty))}function tU(t){t.isProjectionDirty=t.isSharedProjectionDirty=t.isTransformDirty=!1}function nU(t){t.clearSnapshot()}function jR(t){t.clearMeasurements()}function rU(t){t.isLayoutDirty=!1}function aU(t){const{visualElement:r}=t.options;r&&r.getProps().onBeforeLayoutMeasure&&r.notify("BeforeLayoutMeasure"),t.resetTransform()}function FR(t){t.finishAnimation(),t.targetDelta=t.relativeTarget=t.target=void 0,t.isProjectionDirty=!0}function iU(t){t.resolveTargetDelta()}function oU(t){t.calcProjection()}function sU(t){t.resetRotation()}function lU(t){t.removeLeadSnapshot()}function $R(t,r,i){t.translate=Jn(r.translate,0,i),t.scale=Jn(r.scale,1,i),t.origin=r.origin,t.originPoint=r.originPoint}function BR(t,r,i,l){t.min=Jn(r.min,i.min,l),t.max=Jn(r.max,i.max,l)}function uU(t,r,i,l){BR(t.x,r.x,i.x,l),BR(t.y,r.y,i.y,l)}function cU(t){return t.animationValues&&t.animationValues.opacityExit!==void 0}const fU={duration:.45,ease:[.4,0,.1,1]},VR=t=>typeof navigator<"u"&&navigator.userAgent.toLowerCase().includes(t),IR=VR("applewebkit/")&&!VR("chrome/")?Math.round:sr;function UR(t){t.min=IR(t.min),t.max=IR(t.max)}function dU(t){UR(t.x),UR(t.y)}function HR(t,r,i){return t==="position"||t==="preserve-aspect"&&!fC(MR(r),MR(i),.2)}const pU=NR({attachResizeListener:(t,r)=>fl(t,"resize",r),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}),checkIsScrollRoot:()=>!0}),mC={current:void 0},WR=NR({measureScroll:t=>({x:t.scrollLeft,y:t.scrollTop}),defaultParent:()=>{if(!mC.current){const t=new pU({});t.mount(window),t.setOptions({layoutScroll:!0}),mC.current=t}return mC.current},resetTransform:(t,r)=>{t.style.transform=r!==void 0?r:"none"},checkIsScrollRoot:t=>window.getComputedStyle(t).position==="fixed"}),hU={pan:{Feature:MI},drag:{Feature:AI,ProjectionNode:WR,MeasureLayout:bR}},vU=/var\((--[a-zA-Z0-9-_]+),? ?([a-zA-Z0-9 ()%#.,-]+)?\)/;function mU(t){const r=vU.exec(t);if(!r)return[,];const[,i,l]=r;return[i,l]}const gU=4;function gC(t,r,i=1){Do(i<=gU,`Max CSS variable fallback depth detected in property "${t}". This may indicate a circular fallback dependency.`);const[l,f]=mU(t);if(!l)return;const h=window.getComputedStyle(r).getPropertyValue(l);if(h){const p=h.trim();return H4(p)?parseFloat(p):p}else return Mx(f)?gC(f,r,i+1):f}function yU(t,{...r},i){const l=t.current;if(!(l instanceof Element))return{target:r,transitionEnd:i};i&&(i={...i}),t.values.forEach(f=>{const h=f.get();if(!Mx(h))return;const p=gC(h,l);p&&f.set(p)});for(const f in r){const h=r[f];if(!Mx(h))continue;const p=gC(h,l);p&&(r[f]=p,i||(i={}),i[f]===void 0&&(i[f]=h))}return{target:r,transitionEnd:i}}const bU=new Set(["width","height","top","left","right","bottom","x","y","translateX","translateY"]),YR=t=>bU.has(t),SU=t=>Object.keys(t).some(YR),o0=t=>t===zc||t===Ct,GR=(t,r)=>parseFloat(t.split(", ")[r]),qR=(t,r)=>(i,{transform:l})=>{if(l==="none"||!l)return 0;const f=l.match(/^matrix3d\((.+)\)$/);if(f)return GR(f[1],r);{const h=l.match(/^matrix\((.+)\)$/);return h?GR(h[1],t):0}},xU=new Set(["x","y","z"]),CU=hv.filter(t=>!xU.has(t));function wU(t){const r=[];return CU.forEach(i=>{const l=t.getValue(i);l!==void 0&&(r.push([i,l.get()]),l.set(i.startsWith("scale")?1:0))}),r.length&&t.render(),r}const kd={width:({x:t},{paddingLeft:r="0",paddingRight:i="0"})=>t.max-t.min-parseFloat(r)-parseFloat(i),height:({y:t},{paddingTop:r="0",paddingBottom:i="0"})=>t.max-t.min-parseFloat(r)-parseFloat(i),top:(t,{top:r})=>parseFloat(r),left:(t,{left:r})=>parseFloat(r),bottom:({y:t},{top:r})=>parseFloat(r)+(t.max-t.min),right:({x:t},{left:r})=>parseFloat(r)+(t.max-t.min),x:qR(4,13),y:qR(5,14)};kd.translateX=kd.x,kd.translateY=kd.y;const EU=(t,r,i)=>{const l=r.measureViewportBox(),f=r.current,h=getComputedStyle(f),{display:p}=h,g={};p==="none"&&r.setStaticValue("display",t.display||"block"),i.forEach(S=>{g[S]=kd[S](l,h)}),r.render();const y=r.measureViewportBox();return i.forEach(S=>{const C=r.getValue(S);C&&C.jump(g[S]),t[S]=kd[S](y,h)}),t},TU=(t,r,i={},l={})=>{r={...r},l={...l};const f=Object.keys(r).filter(YR);let h=[],p=!1;const g=[];if(f.forEach(y=>{const S=t.getValue(y);if(!t.hasValue(y))return;let C=i[y],E=wv(C);const k=r[y];let R;if(Gy(k)){const A=k.length,P=k[0]===null?1:0;C=k[P],E=wv(C);for(let j=P;j<A&&k[j]!==null;j++)R?Do(wv(k[j])===R,"All keyframes must be of the same type"):(R=wv(k[j]),Do(R===E||o0(E)&&o0(R),"Keyframes must be of the same dimension as the current value"))}else R=wv(k);if(E!==R)if(o0(E)&&o0(R)){const A=S.get();typeof A=="string"&&S.set(parseFloat(A)),typeof k=="string"?r[y]=parseFloat(k):Array.isArray(k)&&R===Ct&&(r[y]=k.map(parseFloat))}else E!=null&&E.transform&&(R!=null&&R.transform)&&(C===0||k===0)?C===0?S.set(R.transform(C)):r[y]=E.transform(k):(p||(h=wU(t),p=!0),g.push(y),l[y]=l[y]!==void 0?l[y]:r[y],S.jump(k))}),g.length){const y=g.indexOf("height")>=0?window.pageYOffset:null,S=EU(r,t,g);return h.length&&h.forEach(([C,E])=>{t.getValue(C).set(E)}),t.render(),By&&y!==null&&window.scrollTo({top:y}),{target:S,transitionEnd:l}}else return{target:r,transitionEnd:l}};function kU(t,r,i,l){return SU(r)?TU(t,r,i,l):{target:r,transitionEnd:l}}const _U=(t,r,i,l)=>{const f=yU(t,r,l);return r=f.target,l=f.transitionEnd,kU(t,r,i,l)},yC={current:null},XR={current:!1};function RU(){if(XR.current=!0,!!By)if(window.matchMedia){const t=window.matchMedia("(prefers-reduced-motion)"),r=()=>yC.current=t.matches;t.addListener(r),r()}else yC.current=!1}function DU(t,r,i){const{willChange:l}=r;for(const f in r){const h=r[f],p=i[f];if(mi(h))t.addValue(f,h),n0(l)&&l.add(f),process.env.NODE_ENV==="development"&&sC(h.version==="10.16.4",`Attempting to mix Framer Motion versions ${h.version} with 10.16.4 may not work as expected.`);else if(mi(p))t.addValue(f,wd(h,{owner:t})),n0(l)&&l.remove(f);else if(p!==h)if(t.hasValue(f)){const g=t.getValue(f);!g.hasAnimated&&g.set(h)}else{const g=t.getStaticValue(f);t.addValue(f,wd(g!==void 0?g:h,{owner:t}))}}for(const f in i)r[f]===void 0&&t.removeValue(f);return r}const QR=new WeakMap,KR=Object.keys(pv),OU=KR.length,ZR=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"],AU=Dx.length;class MU{constructor({parent:r,props:i,presenceContext:l,reducedMotionConfig:f,visualState:h},p={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.values=new Map,this.features={},this.valueSubscriptions=new Map,this.prevMotionValues={},this.events={},this.propEventSubscriptions={},this.notifyUpdate=()=>this.notify("Update",this.latestValues),this.render=()=>{this.current&&(this.triggerBuild(),this.renderInstance(this.current,this.renderState,this.props.style,this.projection))},this.scheduleRender=()=>$n.render(this.render,!1,!0);const{latestValues:g,renderState:y}=h;this.latestValues=g,this.baseTarget={...g},this.initialValues=i.initial?{...g}:{},this.renderState=y,this.parent=r,this.props=i,this.presenceContext=l,this.depth=r?r.depth+1:0,this.reducedMotionConfig=f,this.options=p,this.isControllingVariants=Iy(i),this.isVariantNode=O5(i),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(r&&r.current);const{willChange:S,...C}=this.scrapeMotionValuesFromProps(i,{});for(const E in C){const k=C[E];g[E]!==void 0&&mi(k)&&(k.set(g[E],!1),n0(S)&&S.add(E))}}scrapeMotionValuesFromProps(r,i){return{}}mount(r){this.current=r,QR.set(r,this),this.projection&&!this.projection.instance&&this.projection.mount(r),this.parent&&this.isVariantNode&&!this.isControllingVariants&&(this.removeFromVariantTree=this.parent.addVariantChild(this)),this.values.forEach((i,l)=>this.bindToMotionValue(l,i)),XR.current||RU(),this.shouldReduceMotion=this.reducedMotionConfig==="never"?!1:this.reducedMotionConfig==="always"?!0:yC.current,process.env.NODE_ENV!=="production"&&sC(this.shouldReduceMotion!==!0,"You have Reduced Motion enabled on your device. Animations may not appear as expected."),this.parent&&this.parent.children.add(this),this.update(this.props,this.presenceContext)}unmount(){QR.delete(this.current),this.projection&&this.projection.unmount(),cl(this.notifyUpdate),cl(this.render),this.valueSubscriptions.forEach(r=>r()),this.removeFromVariantTree&&this.removeFromVariantTree(),this.parent&&this.parent.children.delete(this);for(const r in this.events)this.events[r].clear();for(const r in this.features)this.features[r].unmount();this.current=null}bindToMotionValue(r,i){const l=Lc.has(r),f=i.on("change",p=>{this.latestValues[r]=p,this.props.onUpdate&&$n.update(this.notifyUpdate,!1,!0),l&&this.projection&&(this.projection.isTransformDirty=!0)}),h=i.on("renderRequest",this.scheduleRender);this.valueSubscriptions.set(r,()=>{f(),h()})}sortNodePosition(r){return!this.current||!this.sortInstanceNodePosition||this.type!==r.type?0:this.sortInstanceNodePosition(this.current,r.current)}loadFeatures({children:r,...i},l,f,h){let p,g;if(process.env.NODE_ENV!=="production"&&f&&l){const y="You have rendered a `motion` component within a `LazyMotion` component. This will break tree shaking. Import and render a `m` component instead.";i.ignoreStrict?bv(!1,y):Do(!1,y)}for(let y=0;y<OU;y++){const S=KR[y],{isEnabled:C,Feature:E,ProjectionNode:k,MeasureLayout:R}=pv[S];k&&(p=k),C(i)&&(!this.features[S]&&E&&(this.features[S]=new E(this)),R&&(g=R))}if(!this.projection&&p){this.projection=new p(this.latestValues,this.parent&&this.parent.projection);const{layoutId:y,layout:S,drag:C,dragConstraints:E,layoutScroll:k,layoutRoot:R}=i;this.projection.setOptions({layoutId:y,layout:S,alwaysMeasureLayout:!!C||E&&xd(E),visualElement:this,scheduleRender:()=>this.scheduleRender(),animationType:typeof S=="string"?S:"both",initialPromotionConfig:h,layoutScroll:k,layoutRoot:R})}return g}updateFeatures(){for(const r in this.features){const i=this.features[r];i.isMounted?i.update():(i.mount(),i.isMounted=!0)}}triggerBuild(){this.build(this.renderState,this.latestValues,this.options,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):kr()}getStaticValue(r){return this.latestValues[r]}setStaticValue(r,i){this.latestValues[r]=i}makeTargetAnimatable(r,i=!0){return this.makeTargetAnimatableFromInstance(r,this.props,i)}update(r,i){(r.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=r,this.prevPresenceContext=this.presenceContext,this.presenceContext=i;for(let l=0;l<ZR.length;l++){const f=ZR[l];this.propEventSubscriptions[f]&&(this.propEventSubscriptions[f](),delete this.propEventSubscriptions[f]);const h=r["on"+f];h&&(this.propEventSubscriptions[f]=this.on(f,h))}this.prevMotionValues=DU(this,this.scrapeMotionValuesFromProps(r,this.prevProps),this.prevMotionValues),this.handleChildMotionValue&&this.handleChildMotionValue()}getProps(){return this.props}getVariant(r){return this.props.variants?this.props.variants[r]: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(r=!1){if(r)return this.parent?this.parent.getVariantContext():void 0;if(!this.isControllingVariants){const l=this.parent?this.parent.getVariantContext()||{}:{};return this.props.initial!==void 0&&(l.initial=this.props.initial),l}const i={};for(let l=0;l<AU;l++){const f=Dx[l],h=this.props[f];(dv(h)||h===!1)&&(i[f]=h)}return i}addVariantChild(r){const i=this.getClosestVariantNode();if(i)return i.variantChildren&&i.variantChildren.add(r),()=>i.variantChildren.delete(r)}addValue(r,i){i!==this.values.get(r)&&(this.removeValue(r),this.bindToMotionValue(r,i)),this.values.set(r,i),this.latestValues[r]=i.get()}removeValue(r){this.values.delete(r);const i=this.valueSubscriptions.get(r);i&&(i(),this.valueSubscriptions.delete(r)),delete this.latestValues[r],this.removeValueFromRenderState(r,this.renderState)}hasValue(r){return this.values.has(r)}getValue(r,i){if(this.props.values&&this.props.values[r])return this.props.values[r];let l=this.values.get(r);return l===void 0&&i!==void 0&&(l=wd(i,{owner:this}),this.addValue(r,l)),l}readValue(r){var i;return this.latestValues[r]!==void 0||!this.current?this.latestValues[r]:(i=this.getBaseTargetFromProps(this.props,r))!==null&&i!==void 0?i:this.readValueFromInstance(this.current,r,this.options)}setBaseTarget(r,i){this.baseTarget[r]=i}getBaseTarget(r){var i;const{initial:l}=this.props,f=typeof l=="string"||typeof l=="object"?(i=$x(this.props,l))===null||i===void 0?void 0:i[r]:void 0;if(l&&f!==void 0)return f;const h=this.getBaseTargetFromProps(this.props,r);return h!==void 0&&!mi(h)?h:this.initialValues[r]!==void 0&&f===void 0?void 0:this.baseTarget[r]}on(r,i){return this.events[r]||(this.events[r]=new oC),this.events[r].add(i)}notify(r,...i){this.events[r]&&this.events[r].notify(...i)}}class JR extends MU{sortInstanceNodePosition(r,i){return r.compareDocumentPosition(i)&2?1:-1}getBaseTargetFromProps(r,i){return r.style?r.style[i]:void 0}removeValueFromRenderState(r,{vars:i,style:l}){delete i[r],delete l[r]}makeTargetAnimatableFromInstance({transition:r,transitionEnd:i,...l},{transformValues:f},h){let p=KV(l,r||{},this);if(f&&(i&&(i=f(i)),l&&(l=f(l)),p&&(p=f(p))),h){XV(this,l,p);const g=_U(this,l,p,i);i=g.transitionEnd,l=g.target}return{transition:r,transitionEnd:i,...l}}}function PU(t){return window.getComputedStyle(t)}class LU extends JR{readValueFromInstance(r,i){if(Lc.has(i)){const l=nC(i);return l&&l.default||0}else{const l=PU(r),f=(N5(i)?l.getPropertyValue(i):l[i])||0;return typeof f=="string"?f.trim():f}}measureInstanceViewportBox(r,{transformPagePoint:i}){return vR(r,i)}build(r,i,l,f){Px(r,i,l,f.transformTemplate)}scrapeMotionValuesFromProps(r,i){return Fx(r,i)}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);const{children:r}=this.props;mi(r)&&(this.childSubscription=r.on("change",i=>{this.current&&(this.current.textContent=`${i}`)}))}renderInstance(r,i,l,f){W5(r,i,l,f)}}class zU extends JR{constructor(){super(...arguments),this.isSVGTag=!1}getBaseTargetFromProps(r,i){return r[i]}readValueFromInstance(r,i){if(Lc.has(i)){const l=nC(i);return l&&l.default||0}return i=Y5.has(i)?i:jx(i),r.getAttribute(i)}measureInstanceViewportBox(){return kr()}scrapeMotionValuesFromProps(r,i){return q5(r,i)}build(r,i,l,f){zx(r,i,l,this.isSVGTag,f.transformTemplate)}renderInstance(r,i,l,f){G5(r,i,l,f)}mount(r){this.isSVGTag=Nx(r.tagName),super.mount(r)}}const NU=(t,r)=>Ax(t)?new zU(r,{enableHardwareAcceleration:!1}):new LU(r,{enableHardwareAcceleration:!0}),jU={...fI,...NB,...hU,...{layout:{ProjectionNode:WR,MeasureLayout:bR}}},_d=W$((t,r)=>wB(t,r,jU,NU));function e3(){const t=U.useRef(!1);return _x(()=>(t.current=!0,()=>{t.current=!1}),[]),t}function FU(){const t=e3(),[r,i]=U.useState(0),l=U.useCallback(()=>{t.current&&i(r+1)},[r]);return[U.useCallback(()=>$n.postRender(l),[l]),r]}class $U extends pe.Component{getSnapshotBeforeUpdate(r){const i=this.props.childRef.current;if(i&&r.isPresent&&!this.props.isPresent){const l=this.props.sizeRef.current;l.height=i.offsetHeight||0,l.width=i.offsetWidth||0,l.top=i.offsetTop,l.left=i.offsetLeft}return null}componentDidUpdate(){}render(){return this.props.children}}function BU({children:t,isPresent:r}){const i=U.useId(),l=U.useRef(null),f=U.useRef({width:0,height:0,top:0,left:0});return U.useInsertionEffect(()=>{const{width:h,height:p,top:g,left:y}=f.current;if(r||!l.current||!h||!p)return;l.current.dataset.motionPopId=i;const S=document.createElement("style");return document.head.appendChild(S),S.sheet&&S.sheet.insertRule(`
239
+ [data-motion-pop-id="${i}"] {
240
+ position: absolute !important;
241
+ width: ${h}px !important;
242
+ height: ${p}px !important;
243
+ top: ${g}px !important;
244
+ left: ${y}px !important;
245
+ }
246
+ `),()=>{document.head.removeChild(S)}},[r]),pe.createElement($U,{isPresent:r,childRef:l,sizeRef:f},pe.cloneElement(t,{ref:l}))}const bC=({children:t,initial:r,isPresent:i,onExitComplete:l,custom:f,presenceAffectsLayout:h,mode:p})=>{const g=X5(VU),y=U.useId(),S=U.useMemo(()=>({id:y,initial:r,isPresent:i,custom:f,onExitComplete:C=>{g.set(C,!0);for(const E of g.values())if(!E)return;l&&l()},register:C=>(g.set(C,!1),()=>g.delete(C))}),h?void 0:[i]);return U.useMemo(()=>{g.forEach((C,E)=>g.set(E,!1))},[i]),pe.useEffect(()=>{!i&&!g.size&&l&&l()},[i]),p==="popLayout"&&(t=pe.createElement(BU,{isPresent:i},t)),pe.createElement($y.Provider,{value:S},t)};function VU(){return new Map}function IU(t){return U.useEffect(()=>()=>t(),[])}const Rd=t=>t.key||"";function UU(t,r){t.forEach(i=>{const l=Rd(i);r.set(l,i)})}function HU(t){const r=[];return U.Children.forEach(t,i=>{U.isValidElement(i)&&r.push(i)}),r}const _v=({children:t,custom:r,initial:i=!0,onExitComplete:l,exitBeforeEnter:f,presenceAffectsLayout:h=!0,mode:p="sync"})=>{Do(!f,"Replace exitBeforeEnter with mode='wait'");const g=U.useContext(Ox).forceRender||FU()[0],y=e3(),S=HU(t);let C=S;const E=U.useRef(new Map).current,k=U.useRef(C),R=U.useRef(new Map).current,A=U.useRef(!0);if(_x(()=>{A.current=!1,UU(S,R),k.current=C}),IU(()=>{A.current=!0,R.clear(),E.clear()}),A.current)return pe.createElement(pe.Fragment,null,C.map(F=>pe.createElement(bC,{key:Rd(F),isPresent:!0,initial:i?void 0:!1,presenceAffectsLayout:h,mode:p},F)));C=[...C];const P=k.current.map(Rd),j=S.map(Rd),q=P.length;for(let F=0;F<q;F++){const $=P[F];j.indexOf($)===-1&&!E.has($)&&E.set($,void 0)}return p==="wait"&&E.size&&(C=[]),E.forEach((F,$)=>{if(j.indexOf($)!==-1)return;const Q=R.get($);if(!Q)return;const V=P.indexOf($);let le=F;if(!le){const J=()=>{R.delete($),E.delete($);const me=k.current.findIndex(ve=>ve.key===$);if(k.current.splice(me,1),!E.size){if(k.current=S,y.current===!1)return;g(),l&&l()}};le=pe.createElement(bC,{key:Rd(Q),isPresent:!1,onExitComplete:J,custom:r,presenceAffectsLayout:h,mode:p},Q),E.set($,le)}C.splice(V,0,le)}),C=C.map(F=>{const $=F.key;return E.has($)?F:pe.createElement(bC,{key:Rd(F),isPresent:!0,presenceAffectsLayout:h,mode:p},F)}),process.env.NODE_ENV!=="production"&&p==="wait"&&C.length>1&&console.warn(`You're attempting to animate multiple children within AnimatePresence, but its mode is set to "wait". This will lead to odd visual behaviour.`),pe.createElement(pe.Fragment,null,E.size?C:C.map(F=>U.cloneElement(F)))};var t3={path:O.jsxs("g",{stroke:"currentColor",strokeWidth:"1.5",children:[O.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"}),O.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"}),O.jsx("circle",{fill:"none",strokeMiterlimit:"10",cx:"12",cy:"12",r:"11.25"})]}),viewBox:"0 0 24 24"},s0=vn((t,r)=>{const{as:i,viewBox:l,color:f="currentColor",focusable:h=!1,children:p,className:g,__css:y,...S}=t,C=Tr("chakra-icon",g),E=vu("Icon",t),k={w:"1em",h:"1em",display:"inline-block",lineHeight:"1em",flexShrink:0,color:f,...y,...E},R={ref:r,focusable:h,className:C,__css:k},A=l??t3.viewBox;if(i&&typeof i!="string")return O.jsx(jt.svg,{as:i,...R,...S});const P=p??t3.path;return O.jsx(jt.svg,{verticalAlign:"middle",viewBox:A,...R,...S,children:P})});s0.displayName="Icon";var WU=Uh({"0%":{transform:"rotate(0deg)"},"100%":{transform:"rotate(360deg)"}}),n3=vn((t,r)=>{const i=vu("Spinner",t),{label:l="Loading...",thickness:f="2px",speed:h="0.45s",emptyColor:p="transparent",className:g,...y}=fu(t),S=Tr("chakra-spinner",g),C={display:"inline-block",borderColor:"currentColor",borderStyle:"solid",borderRadius:"99999px",borderWidth:f,borderBottomColor:p,borderLeftColor:p,animation:`${WU} ${h} linear infinite`,...i};return O.jsx(jt.div,{ref:r,__css:C,className:S,...y,children:l&&O.jsx(jt.span,{srOnly:!0,children:l})})});n3.displayName="Spinner";function YU(t){return O.jsx(s0,{focusable:"false","aria-hidden":!0,...t,children:O.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"})})}var r3=vn(function(r,i){const l=vu("CloseButton",r),{children:f,isDisabled:h,__css:p,...g}=fu(r),y={outline:0,display:"flex",alignItems:"center",justifyContent:"center",flexShrink:0};return O.jsx(jt.button,{type:"button","aria-label":"Close",ref:i,disabled:h,__css:{...y,...l,...p},...g,children:f||O.jsx(YU,{width:"1em",height:"1em"})})});r3.displayName="CloseButton";function GU(t,r){if(t!=null){if(typeof t=="function"){t(r);return}try{t.current=r}catch{throw new Error(`Cannot assign value '${r}' to ref '${t}'`)}}}function Dd(...t){return r=>{t.forEach(i=>{GU(i,r)})}}function qU(...t){return U.useMemo(()=>Dd(...t),t)}var a3={ease:[.25,.1,.25,1],easeIn:[.4,0,1,1],easeOut:[0,0,.2,1],easeInOut:[.4,0,.2,1]},Bc={enter:{duration:.2,ease:a3.easeOut},exit:{duration:.1,ease:a3.easeIn}},Vc={enter:(t,r)=>({...t,delay:typeof r=="number"?r:r==null?void 0:r.enter}),exit:(t,r)=>({...t,delay:typeof r=="number"?r:r==null?void 0:r.exit})},XU={enter:({transition:t,transitionEnd:r,delay:i}={})=>{var l;return{opacity:1,transition:(l=t==null?void 0:t.enter)!=null?l:Vc.enter(Bc.enter,i),transitionEnd:r==null?void 0:r.enter}},exit:({transition:t,transitionEnd:r,delay:i}={})=>{var l;return{opacity:0,transition:(l=t==null?void 0:t.exit)!=null?l:Vc.exit(Bc.exit,i),transitionEnd:r==null?void 0:r.exit}}},i3={initial:"exit",animate:"enter",exit:"exit",variants:XU},QU=U.forwardRef(function(r,i){const{unmountOnExit:l,in:f,className:h,transition:p,transitionEnd:g,delay:y,...S}=r,C=f||l?"enter":"exit",E=l?f&&l:!0,k={transition:p,transitionEnd:g,delay:y};return O.jsx(_v,{custom:k,children:E&&O.jsx(_d.div,{ref:i,className:Tr("chakra-fade",h),custom:k,...i3,animate:C,...S})})});QU.displayName="Fade";var KU={exit:({reverse:t,initialScale:r,transition:i,transitionEnd:l,delay:f})=>{var h;return{opacity:0,...t?{scale:r,transitionEnd:l==null?void 0:l.exit}:{transitionEnd:{scale:r,...l==null?void 0:l.exit}},transition:(h=i==null?void 0:i.exit)!=null?h:Vc.exit(Bc.exit,f)}},enter:({transitionEnd:t,transition:r,delay:i})=>{var l;return{opacity:1,scale:1,transition:(l=r==null?void 0:r.enter)!=null?l:Vc.enter(Bc.enter,i),transitionEnd:t==null?void 0:t.enter}}},o3={initial:"exit",animate:"enter",exit:"exit",variants:KU},ZU=U.forwardRef(function(r,i){const{unmountOnExit:l,in:f,reverse:h=!0,initialScale:p=.95,className:g,transition:y,transitionEnd:S,delay:C,...E}=r,k=l?f&&l:!0,R=f||l?"enter":"exit",A={initialScale:p,reverse:h,transition:y,transitionEnd:S,delay:C};return O.jsx(_v,{custom:A,children:k&&O.jsx(_d.div,{ref:i,className:Tr("chakra-offset-slide",g),...o3,animate:R,custom:A,...E})})});ZU.displayName="ScaleFade";var JU={initial:({offsetX:t,offsetY:r,transition:i,transitionEnd:l,delay:f})=>{var h;return{opacity:0,x:t,y:r,transition:(h=i==null?void 0:i.exit)!=null?h:Vc.exit(Bc.exit,f),transitionEnd:l==null?void 0:l.exit}},enter:({transition:t,transitionEnd:r,delay:i})=>{var l;return{opacity:1,x:0,y:0,transition:(l=t==null?void 0:t.enter)!=null?l:Vc.enter(Bc.enter,i),transitionEnd:r==null?void 0:r.enter}},exit:({offsetY:t,offsetX:r,transition:i,transitionEnd:l,reverse:f,delay:h})=>{var p;const g={x:r,y:t};return{opacity:0,transition:(p=i==null?void 0:i.exit)!=null?p:Vc.exit(Bc.exit,h),...f?{...g,transitionEnd:l==null?void 0:l.exit}:{transitionEnd:{...g,...l==null?void 0:l.exit}}}}},Rv={initial:"initial",animate:"enter",exit:"exit",variants:JU},eH=U.forwardRef(function(r,i){const{unmountOnExit:l,in:f,reverse:h=!0,className:p,offsetX:g=0,offsetY:y=8,transition:S,transitionEnd:C,delay:E,...k}=r,R=l?f&&l:!0,A=f||l?"enter":"exit",P={offsetX:g,offsetY:y,reverse:h,transition:S,transitionEnd:C,delay:E};return O.jsx(_v,{custom:P,children:R&&O.jsx(_d.div,{ref:i,className:Tr("chakra-offset-slide",p),custom:P,...Rv,animate:A,...k})})});eH.displayName="SlideFade";var SC=vn(function(r,i){const{htmlWidth:l,htmlHeight:f,alt:h,...p}=r;return O.jsx("img",{width:l,height:f,ref:i,alt:h,...p})});SC.displayName="NativeImage";function tH(t){const{loading:r,src:i,srcSet:l,onLoad:f,onError:h,crossOrigin:p,sizes:g,ignoreFallback:y}=t,[S,C]=U.useState("pending");U.useEffect(()=>{C(i?"loading":"pending")},[i]);const E=U.useRef(),k=U.useCallback(()=>{if(!i)return;R();const A=new Image;A.src=i,p&&(A.crossOrigin=p),l&&(A.srcset=l),g&&(A.sizes=g),r&&(A.loading=r),A.onload=P=>{R(),C("loaded"),f==null||f(P)},A.onerror=P=>{R(),C("failed"),h==null||h(P)},E.current=A},[i,p,l,g,f,h,r]),R=()=>{E.current&&(E.current.onload=null,E.current.onerror=null,E.current=null)};return Hh(()=>{if(!y)return S==="loading"&&k(),()=>{R()}},[S,k,y]),y?"loaded":S}var nH=(t,r)=>t!=="loaded"&&r==="beforeLoadOrError"||t==="failed"&&r==="onError";function rH(t,r=[]){const i=Object.assign({},t);for(const l of r)l in i&&delete i[l];return i}var s3=vn(function(r,i){const{fallbackSrc:l,fallback:f,src:h,srcSet:p,align:g,fit:y,loading:S,ignoreFallback:C,crossOrigin:E,fallbackStrategy:k="beforeLoadOrError",referrerPolicy:R,...A}=r,P=l!==void 0||f!==void 0,j=S!=null||C||!P,q=tH({...r,crossOrigin:E,ignoreFallback:j}),F=nH(q,k),$={ref:i,objectFit:y,objectPosition:g,...j?A:rH(A,["onError","onLoad"])};return F?f||O.jsx(jt.img,{as:SC,className:"chakra-image__placeholder",src:l,...$}):O.jsx(jt.img,{as:SC,src:h,srcSet:p,crossOrigin:E,loading:S,referrerPolicy:R,className:"chakra-image",...$})});s3.displayName="Image";function l3(t){return U.Children.toArray(t).filter(r=>U.isValidElement(r))}var[yte,aH]=sd({strict:!1,name:"ButtonGroupContext"});function iH(t){const[r,i]=U.useState(!t);return{ref:U.useCallback(h=>{h&&i(h.tagName==="BUTTON")},[]),type:r?"button":void 0}}function xC(t){const{children:r,className:i,...l}=t,f=U.isValidElement(r)?U.cloneElement(r,{"aria-hidden":!0,focusable:!1}):r,h=Tr("chakra-button__icon",i);return O.jsx(jt.span,{display:"inline-flex",alignSelf:"center",flexShrink:0,...l,className:h,children:f})}xC.displayName="ButtonIcon";function CC(t){const{label:r,placement:i,spacing:l="0.5rem",children:f=O.jsx(n3,{color:"currentColor",width:"1em",height:"1em"}),className:h,__css:p,...g}=t,y=Tr("chakra-button__spinner",h),S=i==="start"?"marginEnd":"marginStart",C=U.useMemo(()=>({display:"flex",alignItems:"center",position:r?"relative":"absolute",[S]:r?l:0,fontSize:"1em",lineHeight:"normal",...p}),[p,r,S,l]);return O.jsx(jt.div,{className:y,...g,__css:C,children:f})}CC.displayName="ButtonSpinner";var l0=vn((t,r)=>{const i=aH(),l=vu("Button",{...i,...t}),{isDisabled:f=i==null?void 0:i.isDisabled,isLoading:h,isActive:p,children:g,leftIcon:y,rightIcon:S,loadingText:C,iconSpacing:E="0.5rem",type:k,spinner:R,spinnerPlacement:A="start",className:P,as:j,...q}=fu(t),F=U.useMemo(()=>{const le={...l==null?void 0:l._focus,zIndex:1};return{display:"inline-flex",appearance:"none",alignItems:"center",justifyContent:"center",userSelect:"none",position:"relative",whiteSpace:"nowrap",verticalAlign:"middle",outline:"none",...l,...!!i&&{_focus:le}}},[l,i]),{ref:$,type:Q}=iH(j),V={rightIcon:S,leftIcon:y,iconSpacing:E,children:g};return O.jsxs(jt.button,{ref:qU(r,$),as:j,type:k??Q,"data-active":v_(p),"data-loading":v_(h),__css:F,className:Tr("chakra-button",P),...q,disabled:f||h,children:[h&&A==="start"&&O.jsx(CC,{className:"chakra-button__spinner--start",label:C,placement:"start",spacing:E,children:R}),h?C||O.jsx(jt.span,{opacity:0,children:O.jsx(u3,{...V})}):O.jsx(u3,{...V}),h&&A==="end"&&O.jsx(CC,{className:"chakra-button__spinner--end",label:C,placement:"end",spacing:E,children:R})]})});l0.displayName="Button";function u3(t){const{leftIcon:r,rightIcon:i,children:l,iconSpacing:f}=t;return O.jsxs(O.Fragment,{children:[r&&O.jsx(xC,{marginEnd:f,children:r}),l,i&&O.jsx(xC,{marginStart:f,children:i})]})}function wC(t,r,i,l){const f=kx(i);return U.useEffect(()=>{const h=typeof t=="function"?t():t??document;if(!(!i||!h))return h.addEventListener(r,f,l),()=>{h.removeEventListener(r,f,l)}},[r,t,l,f,i]),()=>{const h=typeof t=="function"?t():t??document;h==null||h.removeEventListener(r,f,l)}}function oH(t,r){if(t==null)return{};var i={},l=Object.keys(t),f,h;for(h=0;h<l.length;h++)f=l[h],!(r.indexOf(f)>=0)&&(i[f]=t[f]);return i}var EC={exports:{}};/*
247
+ object-assign
248
+ (c) Sindre Sorhus
249
+ @license MIT
250
+ */var TC,c3;function sH(){if(c3)return TC;c3=1;var t=Object.getOwnPropertySymbols,r=Object.prototype.hasOwnProperty,i=Object.prototype.propertyIsEnumerable;function l(h){if(h==null)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(h)}function f(){try{if(!Object.assign)return!1;var h=new String("abc");if(h[5]="de",Object.getOwnPropertyNames(h)[0]==="5")return!1;for(var p={},g=0;g<10;g++)p["_"+String.fromCharCode(g)]=g;var y=Object.getOwnPropertyNames(p).map(function(C){return p[C]});if(y.join("")!=="0123456789")return!1;var S={};return"abcdefghijklmnopqrst".split("").forEach(function(C){S[C]=C}),Object.keys(Object.assign({},S)).join("")==="abcdefghijklmnopqrst"}catch{return!1}}return TC=f()?Object.assign:function(h,p){for(var g,y=l(h),S,C=1;C<arguments.length;C++){g=Object(arguments[C]);for(var E in g)r.call(g,E)&&(y[E]=g[E]);if(t){S=t(g);for(var k=0;k<S.length;k++)i.call(g,S[k])&&(y[S[k]]=g[S[k]])}}return y},TC}var kC,f3;function _C(){if(f3)return kC;f3=1;var t="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";return kC=t,kC}var RC,d3;function p3(){return d3||(d3=1,RC=Function.call.bind(Object.prototype.hasOwnProperty)),RC}var DC,h3;function lH(){if(h3)return DC;h3=1;var t=function(){};if(process.env.NODE_ENV!=="production"){var r=_C(),i={},l=p3();t=function(h){var p="Warning: "+h;typeof console<"u"&&console.error(p);try{throw new Error(p)}catch{}}}function f(h,p,g,y,S){if(process.env.NODE_ENV!=="production"){for(var C in h)if(l(h,C)){var E;try{if(typeof h[C]!="function"){var k=Error((y||"React class")+": "+g+" type `"+C+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof h[C]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw k.name="Invariant Violation",k}E=h[C](p,C,y,g,null,r)}catch(A){E=A}if(E&&!(E instanceof Error)&&t((y||"React class")+": type specification of "+g+" `"+C+"` is invalid; the type checker function must return `null` or an `Error` but returned a "+typeof E+". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."),E instanceof Error&&!(E.message in i)){i[E.message]=!0;var R=S?S():"";t("Failed "+g+" type: "+E.message+(R??""))}}}}return f.resetWarningCache=function(){process.env.NODE_ENV!=="production"&&(i={})},DC=f,DC}var OC,v3;function uH(){if(v3)return OC;v3=1;var t=zS,r=sH(),i=_C(),l=p3(),f=lH(),h=function(){};process.env.NODE_ENV!=="production"&&(h=function(g){var y="Warning: "+g;typeof console<"u"&&console.error(y);try{throw new Error(y)}catch{}});function p(){return null}return OC=function(g,y){var S=typeof Symbol=="function"&&Symbol.iterator,C="@@iterator";function E(K){var se=K&&(S&&K[S]||K[C]);if(typeof se=="function")return se}var k="<<anonymous>>",R={array:q("array"),bigint:q("bigint"),bool:q("boolean"),func:q("function"),number:q("number"),object:q("object"),string:q("string"),symbol:q("symbol"),any:F(),arrayOf:$,element:Q(),elementType:V(),instanceOf:le,node:ye(),objectOf:me,oneOf:J,oneOfType:ve,shape:pt,exact:Oe};function A(K,se){return K===se?K!==0||1/K===1/se:K!==K&&se!==se}function P(K,se){this.message=K,this.data=se&&typeof se=="object"?se:{},this.stack=""}P.prototype=Error.prototype;function j(K){if(process.env.NODE_ENV!=="production")var se={},_e=0;function Ee(Ie,Ae,Xe,$e,Je,tt,yt){if($e=$e||k,tt=tt||Xe,yt!==i){if(y){var he=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use `PropTypes.checkPropTypes()` to call them. Read more at http://fb.me/use-check-prop-types");throw he.name="Invariant Violation",he}else if(process.env.NODE_ENV!=="production"&&typeof console<"u"){var wt=$e+":"+Xe;!se[wt]&&_e<3&&(h("You are manually calling a React.PropTypes validation function for the `"+tt+"` prop on `"+$e+"`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details."),se[wt]=!0,_e++)}}return Ae[Xe]==null?Ie?Ae[Xe]===null?new P("The "+Je+" `"+tt+"` is marked as required "+("in `"+$e+"`, but its value is `null`.")):new P("The "+Je+" `"+tt+"` is marked as required in "+("`"+$e+"`, but its value is `undefined`.")):null:K(Ae,Xe,$e,Je,tt)}var Fe=Ee.bind(null,!1);return Fe.isRequired=Ee.bind(null,!0),Fe}function q(K){function se(_e,Ee,Fe,Ie,Ae,Xe){var $e=_e[Ee],Je=Ue($e);if(Je!==K){var tt=st($e);return new P("Invalid "+Ie+" `"+Ae+"` of type "+("`"+tt+"` supplied to `"+Fe+"`, expected ")+("`"+K+"`."),{expectedType:K})}return null}return j(se)}function F(){return j(p)}function $(K){function se(_e,Ee,Fe,Ie,Ae){if(typeof K!="function")return new P("Property `"+Ae+"` of component `"+Fe+"` has invalid PropType notation inside arrayOf.");var Xe=_e[Ee];if(!Array.isArray(Xe)){var $e=Ue(Xe);return new P("Invalid "+Ie+" `"+Ae+"` of type "+("`"+$e+"` supplied to `"+Fe+"`, expected an array."))}for(var Je=0;Je<Xe.length;Je++){var tt=K(Xe,Je,Fe,Ie,Ae+"["+Je+"]",i);if(tt instanceof Error)return tt}return null}return j(se)}function Q(){function K(se,_e,Ee,Fe,Ie){var Ae=se[_e];if(!g(Ae)){var Xe=Ue(Ae);return new P("Invalid "+Fe+" `"+Ie+"` of type "+("`"+Xe+"` supplied to `"+Ee+"`, expected a single ReactElement."))}return null}return j(K)}function V(){function K(se,_e,Ee,Fe,Ie){var Ae=se[_e];if(!t.isValidElementType(Ae)){var Xe=Ue(Ae);return new P("Invalid "+Fe+" `"+Ie+"` of type "+("`"+Xe+"` supplied to `"+Ee+"`, expected a single ReactElement type."))}return null}return j(K)}function le(K){function se(_e,Ee,Fe,Ie,Ae){if(!(_e[Ee]instanceof K)){var Xe=K.name||k,$e=Le(_e[Ee]);return new P("Invalid "+Ie+" `"+Ae+"` of type "+("`"+$e+"` supplied to `"+Fe+"`, expected ")+("instance of `"+Xe+"`."))}return null}return j(se)}function J(K){if(!Array.isArray(K))return process.env.NODE_ENV!=="production"&&(arguments.length>1?h("Invalid arguments supplied to oneOf, expected an array, got "+arguments.length+" arguments. A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z])."):h("Invalid argument supplied to oneOf, expected an array.")),p;function se(_e,Ee,Fe,Ie,Ae){for(var Xe=_e[Ee],$e=0;$e<K.length;$e++)if(A(Xe,K[$e]))return null;var Je=JSON.stringify(K,function(yt,he){var wt=st(he);return wt==="symbol"?String(he):he});return new P("Invalid "+Ie+" `"+Ae+"` of value `"+String(Xe)+"` "+("supplied to `"+Fe+"`, expected one of "+Je+"."))}return j(se)}function me(K){function se(_e,Ee,Fe,Ie,Ae){if(typeof K!="function")return new P("Property `"+Ae+"` of component `"+Fe+"` has invalid PropType notation inside objectOf.");var Xe=_e[Ee],$e=Ue(Xe);if($e!=="object")return new P("Invalid "+Ie+" `"+Ae+"` of type "+("`"+$e+"` supplied to `"+Fe+"`, expected an object."));for(var Je in Xe)if(l(Xe,Je)){var tt=K(Xe,Je,Fe,Ie,Ae+"."+Je,i);if(tt instanceof Error)return tt}return null}return j(se)}function ve(K){if(!Array.isArray(K))return process.env.NODE_ENV!=="production"&&h("Invalid argument supplied to oneOfType, expected an instance of array."),p;for(var se=0;se<K.length;se++){var _e=K[se];if(typeof _e!="function")return h("Invalid argument supplied to oneOfType. Expected an array of check functions, but received "+be(_e)+" at index "+se+"."),p}function Ee(Fe,Ie,Ae,Xe,$e){for(var Je=[],tt=0;tt<K.length;tt++){var yt=K[tt],he=yt(Fe,Ie,Ae,Xe,$e,i);if(he==null)return null;he.data&&l(he.data,"expectedType")&&Je.push(he.data.expectedType)}var wt=Je.length>0?", expected one of type ["+Je.join(", ")+"]":"";return new P("Invalid "+Xe+" `"+$e+"` supplied to "+("`"+Ae+"`"+wt+"."))}return j(Ee)}function ye(){function K(se,_e,Ee,Fe,Ie){return Pe(se[_e])?null:new P("Invalid "+Fe+" `"+Ie+"` supplied to "+("`"+Ee+"`, expected a ReactNode."))}return j(K)}function De(K,se,_e,Ee,Fe){return new P((K||"React class")+": "+se+" type `"+_e+"."+Ee+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+Fe+"`.")}function pt(K){function se(_e,Ee,Fe,Ie,Ae){var Xe=_e[Ee],$e=Ue(Xe);if($e!=="object")return new P("Invalid "+Ie+" `"+Ae+"` of type `"+$e+"` "+("supplied to `"+Fe+"`, expected `object`."));for(var Je in K){var tt=K[Je];if(typeof tt!="function")return De(Fe,Ie,Ae,Je,st(tt));var yt=tt(Xe,Je,Fe,Ie,Ae+"."+Je,i);if(yt)return yt}return null}return j(se)}function Oe(K){function se(_e,Ee,Fe,Ie,Ae){var Xe=_e[Ee],$e=Ue(Xe);if($e!=="object")return new P("Invalid "+Ie+" `"+Ae+"` of type `"+$e+"` "+("supplied to `"+Fe+"`, expected `object`."));var Je=r({},_e[Ee],K);for(var tt in Je){var yt=K[tt];if(l(K,tt)&&typeof yt!="function")return De(Fe,Ie,Ae,tt,st(yt));if(!yt)return new P("Invalid "+Ie+" `"+Ae+"` key `"+tt+"` supplied to `"+Fe+"`.\nBad object: "+JSON.stringify(_e[Ee],null," ")+`
251
+ Valid keys: `+JSON.stringify(Object.keys(K),null," "));var he=yt(Xe,tt,Fe,Ie,Ae+"."+tt,i);if(he)return he}return null}return j(se)}function Pe(K){switch(typeof K){case"number":case"string":case"undefined":return!0;case"boolean":return!K;case"object":if(Array.isArray(K))return K.every(Pe);if(K===null||g(K))return!0;var se=E(K);if(se){var _e=se.call(K),Ee;if(se!==K.entries){for(;!(Ee=_e.next()).done;)if(!Pe(Ee.value))return!1}else for(;!(Ee=_e.next()).done;){var Fe=Ee.value;if(Fe&&!Pe(Fe[1]))return!1}}else return!1;return!0;default:return!1}}function at(K,se){return K==="symbol"?!0:se?se["@@toStringTag"]==="Symbol"||typeof Symbol=="function"&&se instanceof Symbol:!1}function Ue(K){var se=typeof K;return Array.isArray(K)?"array":K instanceof RegExp?"object":at(se,K)?"symbol":se}function st(K){if(typeof K>"u"||K===null)return""+K;var se=Ue(K);if(se==="object"){if(K instanceof Date)return"date";if(K instanceof RegExp)return"regexp"}return se}function be(K){var se=st(K);switch(se){case"array":case"object":return"an "+se;case"boolean":case"date":case"regexp":return"a "+se;default:return se}}function Le(K){return!K.constructor||!K.constructor.name?k:K.constructor.name}return R.checkPropTypes=f,R.resetWarningCache=f.resetWarningCache,R.PropTypes=R,R},OC}var AC,m3;function cH(){if(m3)return AC;m3=1;var t=_C();function r(){}function i(){}return i.resetWarningCache=r,AC=function(){function l(p,g,y,S,C,E){if(E!==t){var k=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw k.name="Invariant Violation",k}}l.isRequired=l;function f(){return l}var h={array:l,bigint:l,bool:l,func:l,number:l,object:l,string:l,symbol:l,any:l,arrayOf:f,element:l,elementType:l,instanceOf:f,node:l,objectOf:f,oneOf:f,oneOfType:f,shape:f,exact:f,checkPropTypes:i,resetWarningCache:r};return h.PropTypes=h,h},AC}if(process.env.NODE_ENV!=="production"){var fH=zS,dH=!0;EC.exports=uH()(fH.isElement,dH)}else EC.exports=cH()();var Rn=EC.exports;const Od=kS(Rn);var MC="data-focus-lock",g3="data-focus-lock-disabled",pH="data-no-focus-lock",hH="data-autofocus-inside",vH="data-no-autofocus";function mH(t,r){return typeof t=="function"?t(r):t&&(t.current=r),t}function gH(t,r){var i=U.useState(function(){return{value:t,callback:r,facade:{get current(){return i.value},set current(l){var f=i.value;f!==l&&(i.value=l,i.callback(l,f))}}}})[0];return i.callback=r,i.facade}function y3(t,r){return gH(r||null,function(i){return t.forEach(function(l){return mH(l,i)})})}var PC={width:"1px",height:"0px",padding:0,overflow:"hidden",position:"fixed",top:"1px",left:"1px"};process.env.NODE_ENV!=="production"&&Od.node;var ys=function(){return ys=Object.assign||function(r){for(var i,l=1,f=arguments.length;l<f;l++){i=arguments[l];for(var h in i)Object.prototype.hasOwnProperty.call(i,h)&&(r[h]=i[h])}return r},ys.apply(this,arguments)};function b3(t,r){var i={};for(var l in t)Object.prototype.hasOwnProperty.call(t,l)&&r.indexOf(l)<0&&(i[l]=t[l]);if(t!=null&&typeof Object.getOwnPropertySymbols=="function")for(var f=0,l=Object.getOwnPropertySymbols(t);f<l.length;f++)r.indexOf(l[f])<0&&Object.prototype.propertyIsEnumerable.call(t,l[f])&&(i[l[f]]=t[l[f]]);return i}function yH(t,r,i){if(i||arguments.length===2)for(var l=0,f=r.length,h;l<f;l++)(h||!(l in r))&&(h||(h=Array.prototype.slice.call(r,0,l)),h[l]=r[l]);return t.concat(h||Array.prototype.slice.call(r))}typeof SuppressedError=="function"&&SuppressedError;function S3(t){return t}function x3(t,r){r===void 0&&(r=S3);var i=[],l=!1,f={read:function(){if(l)throw new Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return i.length?i[i.length-1]:t},useMedium:function(h){var p=r(h,l);return i.push(p),function(){i=i.filter(function(g){return g!==p})}},assignSyncMedium:function(h){for(l=!0;i.length;){var p=i;i=[],p.forEach(h)}i={push:function(g){return h(g)},filter:function(){return i}}},assignMedium:function(h){l=!0;var p=[];if(i.length){var g=i;i=[],g.forEach(h),p=i}var y=function(){var C=p;p=[],C.forEach(h)},S=function(){return Promise.resolve().then(y)};S(),i={push:function(C){p.push(C),S()},filter:function(C){return p=p.filter(C),i}}}};return f}function LC(t,r){return r===void 0&&(r=S3),x3(t,r)}function C3(t){t===void 0&&(t={});var r=x3(null);return r.options=ys({async:!0,ssr:!1},t),r}var w3=function(t){var r=t.sideCar,i=b3(t,["sideCar"]);if(!r)throw new Error("Sidecar: please provide `sideCar` property to import the right car");var l=r.read();if(!l)throw new Error("Sidecar medium not found");return pe.createElement(l,ys({},i))};w3.isSideCarExport=!0;function bH(t,r){return t.useMedium(r),w3}var E3=LC({},function(t){var r=t.target,i=t.currentTarget;return{target:r,currentTarget:i}}),T3=LC(),SH=LC(),xH=C3({async:!0}),CH=[],zC=pe.forwardRef(function(r,i){var l,f=pe.useState(),h=f[0],p=f[1],g=pe.useRef(),y=pe.useRef(!1),S=pe.useRef(null),C=r.children,E=r.disabled,k=r.noFocusGuards,R=r.persistentFocus,A=r.crossFrame,P=r.autoFocus,j=r.allowTextSelection,q=r.group,F=r.className,$=r.whiteList,Q=r.hasPositiveIndices,V=r.shards,le=V===void 0?CH:V,J=r.as,me=J===void 0?"div":J,ve=r.lockProps,ye=ve===void 0?{}:ve,De=r.sideCar,pt=r.returnFocus,Oe=r.focusOptions,Pe=r.onActivation,at=r.onDeactivation,Ue=pe.useState({}),st=Ue[0],be=pe.useCallback(function(){S.current=S.current||document&&document.activeElement,g.current&&Pe&&Pe(g.current),y.current=!0},[Pe]),Le=pe.useCallback(function(){y.current=!1,at&&at(g.current)},[at]);U.useEffect(function(){E||(S.current=null)},[]);var K=pe.useCallback(function($e){var Je=S.current;if(Je&&Je.focus){var tt=typeof pt=="function"?pt(Je):pt;if(tt){var yt=typeof tt=="object"?tt:void 0;S.current=null,$e?Promise.resolve().then(function(){return Je.focus(yt)}):Je.focus(yt)}}},[pt]),se=pe.useCallback(function($e){y.current&&E3.useMedium($e)},[]),_e=T3.useMedium,Ee=pe.useCallback(function($e){g.current!==$e&&(g.current=$e,p($e))},[]);process.env.NODE_ENV!=="production"&&(typeof j<"u"&&console.warn("React-Focus-Lock: allowTextSelection is deprecated and enabled by default"),pe.useEffect(function(){!g.current&&typeof me!="string"&&console.error("FocusLock: could not obtain ref to internal node")},[]));var Fe=ad((l={},l[g3]=E&&"disabled",l[MC]=q,l),ye),Ie=k!==!0,Ae=Ie&&k!=="tail",Xe=y3([i,Ee]);return pe.createElement(pe.Fragment,null,Ie&&[pe.createElement("div",{key:"guard-first","data-focus-guard":!0,tabIndex:E?-1:0,style:PC}),Q?pe.createElement("div",{key:"guard-nearest","data-focus-guard":!0,tabIndex:E?-1:1,style:PC}):null],!E&&pe.createElement(De,{id:st,sideCar:xH,observed:h,disabled:E,persistentFocus:R,crossFrame:A,autoFocus:P,whiteList:$,shards:le,onActivation:be,onDeactivation:Le,returnFocus:K,focusOptions:Oe}),pe.createElement(me,ad({ref:Xe},Fe,{className:F,onBlur:_e,onFocus:se}),C),Ae&&pe.createElement("div",{"data-focus-guard":!0,tabIndex:E?-1:0,style:PC}))});zC.propTypes=process.env.NODE_ENV!=="production"?{children:Rn.node,disabled:Rn.bool,returnFocus:Rn.oneOfType([Rn.bool,Rn.object,Rn.func]),focusOptions:Rn.object,noFocusGuards:Rn.bool,hasPositiveIndices:Rn.bool,allowTextSelection:Rn.bool,autoFocus:Rn.bool,persistentFocus:Rn.bool,crossFrame:Rn.bool,group:Rn.string,className:Rn.string,whiteList:Rn.func,shards:Rn.arrayOf(Rn.any),as:Rn.oneOfType([Rn.string,Rn.func,Rn.object]),lockProps:Rn.object,onActivation:Rn.func,onDeactivation:Rn.func,sideCar:Rn.any.isRequired}:{},zC.defaultProps={children:void 0,disabled:!1,returnFocus:!1,focusOptions:void 0,noFocusGuards:!1,autoFocus:!0,persistentFocus:!1,crossFrame:!0,hasPositiveIndices:void 0,allowTextSelection:void 0,group:void 0,className:void 0,whiteList:void 0,shards:void 0,as:"div",lockProps:{},onActivation:void 0,onDeactivation:void 0};const k3=zC;function NC(t,r){return NC=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(l,f){return l.__proto__=f,l},NC(t,r)}function wH(t,r){t.prototype=Object.create(r.prototype),t.prototype.constructor=t,NC(t,r)}function Dv(t){"@babel/helpers - typeof";return Dv=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},Dv(t)}function EH(t,r){if(Dv(t)!=="object"||t===null)return t;var i=t[Symbol.toPrimitive];if(i!==void 0){var l=i.call(t,r||"default");if(Dv(l)!=="object")return l;throw new TypeError("@@toPrimitive must return a primitive value.")}return(r==="string"?String:Number)(t)}function TH(t){var r=EH(t,"string");return Dv(r)==="symbol"?r:String(r)}function kH(t,r,i){return r=TH(r),r in t?Object.defineProperty(t,r,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[r]=i,t}function _H(t,r){if(process.env.NODE_ENV!=="production"){if(typeof t!="function")throw new Error("Expected reducePropsToState to be a function.");if(typeof r!="function")throw new Error("Expected handleStateChangeOnClient to be a function.")}function i(l){return l.displayName||l.name||"Component"}return function(f){if(process.env.NODE_ENV!=="production"&&typeof f!="function")throw new Error("Expected WrappedComponent to be a React component.");var h=[],p;function g(){p=t(h.map(function(S){return S.props})),r(p)}var y=function(S){wH(C,S);function C(){return S.apply(this,arguments)||this}C.peek=function(){return p};var E=C.prototype;return E.componentDidMount=function(){h.push(this),g()},E.componentDidUpdate=function(){g()},E.componentWillUnmount=function(){var R=h.indexOf(this);h.splice(R,1),g()},E.render=function(){return U.createElement(f,this.props)},C}(U.PureComponent);return kH(y,"displayName","SideEffect("+i(f)+")"),y}}var bs=function(t){for(var r=Array(t.length),i=0;i<t.length;++i)r[i]=t[i];return r},u0=function(t){return Array.isArray(t)?t:[t]},_3=function(t){return Array.isArray(t)?t[0]:t},RH=function(t){if(t.nodeType!==Node.ELEMENT_NODE)return!1;var r=window.getComputedStyle(t,null);return!r||!r.getPropertyValue?!1:r.getPropertyValue("display")==="none"||r.getPropertyValue("visibility")==="hidden"},R3=function(t){return t.parentNode&&t.parentNode.nodeType===Node.DOCUMENT_FRAGMENT_NODE?t.parentNode.host:t.parentNode},D3=function(t){return t===document||t&&t.nodeType===Node.DOCUMENT_NODE},DH=function(t,r){return!t||D3(t)||!RH(t)&&r(R3(t))},O3=function(t,r){var i=t.get(r);if(i!==void 0)return i;var l=DH(r,O3.bind(void 0,t));return t.set(r,l),l},OH=function(t,r){return t&&!D3(t)?PH(t)?r(R3(t)):!1:!0},A3=function(t,r){var i=t.get(r);if(i!==void 0)return i;var l=OH(r,A3.bind(void 0,t));return t.set(r,l),l},M3=function(t){return t.dataset},AH=function(t){return t.tagName==="BUTTON"},P3=function(t){return t.tagName==="INPUT"},L3=function(t){return P3(t)&&t.type==="radio"},MH=function(t){return!((P3(t)||AH(t))&&(t.type==="hidden"||t.disabled))},PH=function(t){var r=t.getAttribute(vH);return![!0,"true",""].includes(r)},jC=function(t){var r;return!!(t&&(!((r=M3(t))===null||r===void 0)&&r.focusGuard))},c0=function(t){return!jC(t)},LH=function(t){return!!t},zH=function(t,r){var i=t.tabIndex-r.tabIndex,l=t.index-r.index;if(i){if(!t.tabIndex)return 1;if(!r.tabIndex)return-1}return i||l},z3=function(t,r,i){return bs(t).map(function(l,f){return{node:l,index:f,tabIndex:i&&l.tabIndex===-1?(l.dataset||{}).focusGuard?0:-1:l.tabIndex}}).filter(function(l){return!r||l.tabIndex>=0}).sort(zH)},NH=["button:enabled","select:enabled","textarea:enabled","input:enabled","a[href]","area[href]","summary","iframe","object","embed","audio[controls]","video[controls]","[tabindex]","[contenteditable]","[autofocus]"],FC=NH.join(","),jH="".concat(FC,", [data-focus-guard]"),N3=function(t,r){return bs((t.shadowRoot||t).children).reduce(function(i,l){return i.concat(l.matches(r?jH:FC)?[l]:[],N3(l))},[])},FH=function(t,r){var i;return t instanceof HTMLIFrameElement&&(!((i=t.contentDocument)===null||i===void 0)&&i.body)?f0([t.contentDocument.body],r):[t]},f0=function(t,r){return t.reduce(function(i,l){var f,h=N3(l,r),p=(f=[]).concat.apply(f,h.map(function(g){return FH(g,r)}));return i.concat(p,l.parentNode?bs(l.parentNode.querySelectorAll(FC)).filter(function(g){return g===l}):[])},[])},$H=function(t){var r=t.querySelectorAll("[".concat(hH,"]"));return bs(r).map(function(i){return f0([i])}).reduce(function(i,l){return i.concat(l)},[])},$C=function(t,r){return bs(t).filter(function(i){return O3(r,i)}).filter(function(i){return MH(i)})},j3=function(t,r){return r===void 0&&(r=new Map),bs(t).filter(function(i){return A3(r,i)})},BC=function(t,r,i){return z3($C(f0(t,i),r),!0,i)},F3=function(t,r){return z3($C(f0(t),r),!1)},BH=function(t,r){return $C($H(t),r)},Ad=function(t,r){return t.shadowRoot?Ad(t.shadowRoot,r):Object.getPrototypeOf(t).contains!==void 0&&Object.getPrototypeOf(t).contains.call(t,r)?!0:bs(t.children).some(function(i){var l;if(i instanceof HTMLIFrameElement){var f=(l=i.contentDocument)===null||l===void 0?void 0:l.body;return f?Ad(f,r):!1}return Ad(i,r)})},VH=function(t){for(var r=new Set,i=t.length,l=0;l<i;l+=1)for(var f=l+1;f<i;f+=1){var h=t[l].compareDocumentPosition(t[f]);(h&Node.DOCUMENT_POSITION_CONTAINED_BY)>0&&r.add(f),(h&Node.DOCUMENT_POSITION_CONTAINS)>0&&r.add(l)}return t.filter(function(p,g){return!r.has(g)})},$3=function(t){return t.parentNode?$3(t.parentNode):t},VC=function(t){var r=u0(t);return r.filter(Boolean).reduce(function(i,l){var f=l.getAttribute(MC);return i.push.apply(i,f?VH(bs($3(l).querySelectorAll("[".concat(MC,'="').concat(f,'"]:not([').concat(g3,'="disabled"])')))):[l]),i},[])},IH=function(t){try{return t()}catch{return}},Ov=function(t){if(t===void 0&&(t=document),!(!t||!t.activeElement)){var r=t.activeElement;return r.shadowRoot?Ov(r.shadowRoot):r instanceof HTMLIFrameElement&&IH(function(){return r.contentWindow.document})?Ov(r.contentWindow.document):r}},UH=function(t,r){return t===r},HH=function(t,r){return!!bs(t.querySelectorAll("iframe")).some(function(i){return UH(i,r)})},B3=function(t,r){return r===void 0&&(r=Ov(_3(t).ownerDocument)),!r||r.dataset&&r.dataset.focusGuard?!1:VC(t).some(function(i){return Ad(i,r)||HH(i,r)})},WH=function(t){t===void 0&&(t=document);var r=Ov(t);return r?bs(t.querySelectorAll("[".concat(pH,"]"))).some(function(i){return Ad(i,r)}):!1},YH=function(t,r){return r.filter(L3).filter(function(i){return i.name===t.name}).filter(function(i){return i.checked})[0]||t},IC=function(t,r){return L3(t)&&t.name?YH(t,r):t},GH=function(t){var r=new Set;return t.forEach(function(i){return r.add(IC(i,t))}),t.filter(function(i){return r.has(i)})},V3=function(t){return t[0]&&t.length>1?IC(t[0],t):t[0]},I3=function(t,r){return t.length>1?t.indexOf(IC(t[r],t)):r},U3="NEW_FOCUS",qH=function(t,r,i,l){var f=t.length,h=t[0],p=t[f-1],g=jC(i);if(!(i&&t.indexOf(i)>=0)){var y=i!==void 0?r.indexOf(i):-1,S=l?r.indexOf(l):y,C=l?t.indexOf(l):-1,E=y-S,k=r.indexOf(h),R=r.indexOf(p),A=GH(r),P=i!==void 0?A.indexOf(i):-1,j=P-(l?A.indexOf(l):y),q=I3(t,0),F=I3(t,f-1);if(y===-1||C===-1)return U3;if(!E&&C>=0)return C;if(y<=k&&g&&Math.abs(E)>1)return F;if(y>=R&&g&&Math.abs(E)>1)return q;if(E&&Math.abs(j)>1)return C;if(y<=k)return F;if(y>R)return q;if(E)return Math.abs(E)>1?C:(f+C+E)%f}},XH=function(t){return function(r){var i,l=(i=M3(r))===null||i===void 0?void 0:i.autofocus;return r.autofocus||l!==void 0&&l!=="false"||t.indexOf(r)>=0}},QH=function(t,r,i){var l=t.map(function(h){var p=h.node;return p}),f=j3(l.filter(XH(i)));return f&&f.length?V3(f):V3(j3(r))},UC=function(t,r){return r===void 0&&(r=[]),r.push(t),t.parentNode&&UC(t.parentNode.host||t.parentNode,r),r},HC=function(t,r){for(var i=UC(t),l=UC(r),f=0;f<i.length;f+=1){var h=i[f];if(l.indexOf(h)>=0)return h}return!1},H3=function(t,r,i){var l=u0(t),f=u0(r),h=l[0],p=!1;return f.filter(Boolean).forEach(function(g){p=HC(p||g,g)||p,i.filter(Boolean).forEach(function(y){var S=HC(h,y);S&&(!p||Ad(S,p)?p=S:p=HC(S,p))})}),p},KH=function(t,r){return t.reduce(function(i,l){return i.concat(BH(l,r))},[])},ZH=function(t,r){var i=new Map;return r.forEach(function(l){return i.set(l.node,l)}),t.map(function(l){return i.get(l)}).filter(LH)},JH=function(t,r){var i=Ov(u0(t).length>0?document:_3(t).ownerDocument),l=VC(t).filter(c0),f=H3(i||t,t,l),h=new Map,p=F3(l,h),g=BC(l,h).filter(function(R){var A=R.node;return c0(A)});if(!(!g[0]&&(g=p,!g[0]))){var y=F3([f],h).map(function(R){var A=R.node;return A}),S=ZH(y,g),C=S.map(function(R){var A=R.node;return A}),E=qH(C,y,i,r);if(E===U3){var k=QH(p,C,KH(l,h));if(k)return{node:k};console.warn("focus-lock: cannot find any node to move focus into");return}return E===void 0?E:S[E]}},eW=function(t){var r=VC(t).filter(c0),i=H3(t,t,r),l=new Map,f=BC([i],l,!0),h=BC(r,l).filter(function(p){var g=p.node;return c0(g)}).map(function(p){var g=p.node;return g});return f.map(function(p){var g=p.node,y=p.index;return{node:g,index:y,lockItem:h.indexOf(g)>=0,guard:jC(g)}})},tW=function(t,r){"focus"in t&&t.focus(r),"contentWindow"in t&&t.contentWindow&&t.contentWindow.focus()},WC=0,YC=!1,W3=function(t,r,i){i===void 0&&(i={});var l=JH(t,r);if(!YC&&l){if(WC>2){console.error("FocusLock: focus-fighting detected. Only one focus management system could be active. See https://github.com/theKashey/focus-lock/#focus-fighting"),YC=!0,setTimeout(function(){YC=!1},1);return}WC++,tW(l.node,i.focusOptions),WC--}};function GC(t){setTimeout(t,1)}var nW=function(){return document&&document.activeElement===document.body},rW=function(){return nW()||WH()},Md=null,Pd=null,Ld=null,Av=!1,aW=function(){return!0},iW=function(r){return(Md.whiteList||aW)(r)},oW=function(r,i){Ld={observerNode:r,portaledElement:i}},sW=function(r){return Ld&&Ld.portaledElement===r};function Y3(t,r,i,l){var f=null,h=t;do{var p=l[h];if(p.guard)p.node.dataset.focusAutoGuard&&(f=p);else if(p.lockItem){if(h!==t)return;f=null}else break}while((h+=i)!==r);f&&(f.node.tabIndex=0)}var lW=function(r){return r&&"current"in r?r.current:r},uW=function(r){return r?!!Av:Av==="meanwhile"},cW=function t(r,i,l){return i&&(i.host===r&&(!i.activeElement||l.contains(i.activeElement))||i.parentNode&&t(r,i.parentNode,l))},fW=function(r,i){return i.some(function(l){return cW(r,l,l)})},d0=function(){var r=!1;if(Md){var i=Md,l=i.observed,f=i.persistentFocus,h=i.autoFocus,p=i.shards,g=i.crossFrame,y=i.focusOptions,S=l||Ld&&Ld.portaledElement,C=document&&document.activeElement;if(S){var E=[S].concat(p.map(lW).filter(Boolean));if((!C||iW(C))&&(f||uW(g)||!rW()||!Pd&&h)&&(S&&!(B3(E)||C&&fW(C,E)||sW(C))&&(document&&!Pd&&C&&!h?(C.blur&&C.blur(),document.body.focus()):(r=W3(E,Pd,{focusOptions:y}),Ld={})),Av=!1,Pd=document&&document.activeElement),document){var k=document&&document.activeElement,R=eW(E),A=R.map(function(P){var j=P.node;return j}).indexOf(k);A>-1&&(R.filter(function(P){var j=P.guard,q=P.node;return j&&q.dataset.focusAutoGuard}).forEach(function(P){var j=P.node;return j.removeAttribute("tabIndex")}),Y3(A,R.length,1,R),Y3(A,-1,-1,R))}}}return r},G3=function(r){d0()&&r&&(r.stopPropagation(),r.preventDefault())},qC=function(){return GC(d0)},dW=function(r){var i=r.target,l=r.currentTarget;l.contains(i)||oW(l,i)},pW=function(){return null};process.env.NODE_ENV!=="production"&&Od.node.isRequired;var q3=function(){Av="just",GC(function(){Av="meanwhile"})},hW=function(){document.addEventListener("focusin",G3),document.addEventListener("focusout",qC),window.addEventListener("blur",q3)},vW=function(){document.removeEventListener("focusin",G3),document.removeEventListener("focusout",qC),window.removeEventListener("blur",q3)};function mW(t){return t.filter(function(r){var i=r.disabled;return!i})}function gW(t){var r=t.slice(-1)[0];r&&!Md&&hW();var i=Md,l=i&&r&&r.id===i.id;Md=r,i&&!l&&(i.onDeactivation(),t.filter(function(f){var h=f.id;return h===i.id}).length||i.returnFocus(!r)),r?(Pd=null,(!l||i.observed!==r.observed)&&r.onActivation(),d0(),GC(d0)):(vW(),Pd=null)}E3.assignSyncMedium(dW),T3.assignMedium(qC),SH.assignMedium(function(t){return t({moveFocusInside:W3,focusInside:B3})});const yW=_H(mW,gW)(pW);var X3=pe.forwardRef(function(r,i){return pe.createElement(k3,ad({sideCar:yW,ref:i},r))}),Q3=k3.propTypes||{};Q3.sideCar;var bW=oH(Q3,["sideCar"]);X3.propTypes=process.env.NODE_ENV!=="production"?bW:{};const K3=X3;function SW(t){return t!=null&&typeof t=="object"&&"nodeType"in t&&t.nodeType===Node.ELEMENT_NODE}function Z3(t){var r;if(!SW(t))return!1;const i=(r=t.ownerDocument.defaultView)!=null?r:window;return t instanceof i.HTMLElement}function xW(t){const r=t.ownerDocument.defaultView||window,{overflow:i,overflowX:l,overflowY:f}=r.getComputedStyle(t);return/auto|scroll|overlay|hidden/.test(i+f+l)}function CW(t){return t.localName==="html"?t:t.assignedSlot||t.parentElement||t.ownerDocument.documentElement}function J3(t){return["html","body","#document"].includes(t.localName)?t.ownerDocument.body:Z3(t)&&xW(t)?t:J3(CW(t))}var wW=t=>t.hasAttribute("tabindex");function EW(t){return!!t.getAttribute("disabled")||!!t.getAttribute("aria-disabled")}function eD(t){return t.parentElement&&eD(t.parentElement)?!0:t.hidden}function TW(t){const r=t.getAttribute("contenteditable");return r!=="false"&&r!=null}function kW(t){if(!Z3(t)||eD(t)||EW(t))return!1;const{localName:r}=t;if(["input","select","textarea","button"].indexOf(r)>=0)return!0;const l={a:()=>t.hasAttribute("href"),audio:()=>t.hasAttribute("controls"),video:()=>t.hasAttribute("controls")};return r in l?l[r]():TW(t)?!0:wW(t)}var _W=["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]"],RW=_W.join(),DW=t=>t.offsetWidth>0&&t.offsetHeight>0;function OW(t){const r=Array.from(t.querySelectorAll(RW));return r.unshift(t),r.filter(i=>kW(i)&&DW(i))}var tD,AW=(tD=K3.default)!=null?tD:K3,nD=t=>{const{initialFocusRef:r,finalFocusRef:i,contentRef:l,restoreFocus:f,children:h,isDisabled:p,autoFocus:g,persistentFocus:y,lockFocusAcrossFrames:S}=t,C=U.useCallback(()=>{r!=null&&r.current?r.current.focus():l!=null&&l.current&&OW(l.current).length===0&&requestAnimationFrame(()=>{var A;(A=l.current)==null||A.focus()})},[r,l]),E=U.useCallback(()=>{var R;(R=i==null?void 0:i.current)==null||R.focus()},[i]),k=f&&!i;return O.jsx(AW,{crossFrame:S,persistentFocus:y,autoFocus:g,disabled:p,onActivation:C,onDeactivation:E,returnFocus:k,children:h})};nD.displayName="FocusLock";var MW=s$?U.useLayoutEffect:U.useEffect;function rD(t,r=[]){const i=U.useRef(t);return MW(()=>{i.current=t}),U.useCallback((...l)=>{var f;return(f=i.current)==null?void 0:f.call(i,...l)},r)}function PW(t,r){const i=U.useId();return U.useMemo(()=>t||[r,i].filter(Boolean).join("-"),[t,r,i])}function LW(t,r){const i=t!==void 0;return[i,i&&typeof t<"u"?t:r]}function zW(t={}){const{onClose:r,onOpen:i,isOpen:l,id:f}=t,h=rD(i),p=rD(r),[g,y]=U.useState(t.defaultIsOpen||!1),[S,C]=LW(l,g),E=PW(f,"disclosure"),k=U.useCallback(()=>{S||y(!1),p==null||p()},[S,p]),R=U.useCallback(()=>{S||y(!0),h==null||h()},[S,h]),A=U.useCallback(()=>{(C?k:R)()},[C,R,k]);return{isOpen:!!C,onOpen:R,onClose:k,onToggle:A,isControlled:S,getButtonProps:(P={})=>({...P,"aria-expanded":C,"aria-controls":E,onClick:h$(P.onClick,A)}),getDisclosureProps:(P={})=>({...P,hidden:!C,id:E})}}var aD=vn(function(r,i){const l=vu("Link",r),{className:f,isExternal:h,...p}=fu(r);return O.jsx(jt.a,{target:h?"_blank":void 0,rel:h?"noopener":void 0,ref:i,className:Tr("chakra-link",f),...p,__css:l})});aD.displayName="Link";var[NW,iD]=sd({name:"ListStylesContext",errorMessage:`useListStyles returned is 'undefined'. Seems you forgot to wrap the components in "<List />" `}),p0=vn(function(r,i){const l=C5("List",r),{children:f,styleType:h="none",stylePosition:p,spacing:g,...y}=fu(r),S=l3(f),E=g?{["& > *:not(style) ~ *:not(style)"]:{mt:g}}:{};return O.jsx(NW,{value:l,children:O.jsx(jt.ul,{ref:i,listStyleType:h,listStylePosition:p,role:"list",__css:{...l.container,...E},...y,children:S})})});p0.displayName="List";var jW=vn((t,r)=>{const{as:i,...l}=t;return O.jsx(p0,{ref:r,as:"ol",styleType:"decimal",marginStart:"1em",...l})});jW.displayName="OrderedList";var FW=vn(function(r,i){const{as:l,...f}=r;return O.jsx(p0,{ref:i,as:"ul",styleType:"initial",marginStart:"1em",...f})});FW.displayName="UnorderedList";var oD=vn(function(r,i){const l=iD();return O.jsx(jt.li,{ref:i,...r,__css:l.item})});oD.displayName="ListItem";var $W=vn(function(r,i){const l=iD();return O.jsx(s0,{ref:i,role:"presentation",...r,__css:l.icon})});$W.displayName="ListIcon";function BW(t,r){return Array.isArray(t)?t.map(i=>i===null?null:r(i)):fs(t)?Object.keys(t).reduce((i,l)=>(i[l]=r(t[l]),i),{}):t!=null?r(t):null}var Ic=vn(function(r,i){const l=vu("Text",r),{className:f,align:h,decoration:p,casing:g,...y}=fu(r),S=T$({textAlign:r.align,textDecoration:r.decoration,textTransform:r.casing});return O.jsx(jt.p,{ref:i,className:Tr("chakra-text",r.className),...S,...y,__css:l})});Ic.displayName="Text";var sD=t=>O.jsx(jt.div,{className:"chakra-stack__item",...t,__css:{display:"inline-block",flex:"0 0 auto",minWidth:0,...t.__css}});sD.displayName="StackItem";function VW(t){const{spacing:r,direction:i}=t,l={column:{my:r,mx:0,borderLeftWidth:0,borderBottomWidth:"1px"},"column-reverse":{my:r,mx:0,borderLeftWidth:0,borderBottomWidth:"1px"},row:{mx:r,my:0,borderLeftWidth:"1px",borderBottomWidth:0},"row-reverse":{mx:r,my:0,borderLeftWidth:"1px",borderBottomWidth:0}};return{"&":BW(i,f=>l[f])}}var XC=vn((t,r)=>{const{isInline:i,direction:l,align:f,justify:h,spacing:p="0.5rem",wrap:g,children:y,divider:S,className:C,shouldWrapChildren:E,...k}=t,R=i?"row":l??"column",A=U.useMemo(()=>VW({spacing:p,direction:R}),[p,R]),P=!!S,j=!E&&!P,q=U.useMemo(()=>{const $=l3(y);return j?$:$.map((Q,V)=>{const le=typeof Q.key<"u"?Q.key:V,J=V+1===$.length,ve=E?O.jsx(sD,{children:Q},le):Q;if(!P)return ve;const ye=U.cloneElement(S,{__css:A}),De=J?null:ye;return O.jsxs(U.Fragment,{children:[ve,De]},le)})},[S,A,P,j,E,y]),F=Tr("chakra-stack",C);return O.jsx(jt.div,{ref:r,display:"flex",alignItems:f,justifyContent:h,flexDirection:R,flexWrap:g,gap:P?void 0:p,className:F,...k,children:q})});XC.displayName="Stack";var lD=vn((t,r)=>O.jsx(XC,{align:"center",...t,direction:"row",ref:r}));lD.displayName="HStack";var uD=vn(function(r,i){const l=vu("Heading",r),{className:f,...h}=fu(r);return O.jsx(jt.h2,{ref:i,className:Tr("chakra-heading",r.className),...h,__css:l})});uD.displayName="Heading";var xn=jt("div");xn.displayName="Box";var cD=vn(function(r,i){const{size:l,centerContent:f=!0,...h}=r,p=f?{display:"flex",alignItems:"center",justifyContent:"center"}:{};return O.jsx(xn,{ref:i,boxSize:l,__css:{...p,flexShrink:0,flexGrow:0},...h})});cD.displayName="Square";var IW=vn(function(r,i){const{size:l,...f}=r;return O.jsx(cD,{size:l,ref:i,borderRadius:"9999px",...f})});IW.displayName="Circle";var fD=vn(function(r,i){const{isExternal:l,target:f,rel:h,className:p,...g}=r;return O.jsx(jt.a,{...g,ref:i,className:Tr("chakra-linkbox__overlay",p),rel:l?"noopener noreferrer":h,target:l?"_blank":f,__css:{position:"static","&::before":{content:"''",cursor:"inherit",display:"block",position:"absolute",top:0,left:0,zIndex:0,width:"100%",height:"100%"}}})}),UW=vn(function(r,i){const{className:l,...f}=r;return O.jsx(jt.div,{ref:i,position:"relative",...f,className:Tr("chakra-linkbox",l),__css:{"a[href]:not(.chakra-linkbox__overlay), abbr[title]":{position:"relative",zIndex:1}}})}),QC=jt("div",{baseStyle:{display:"flex",alignItems:"center",justifyContent:"center"}});QC.displayName="Center";var HW={horizontal:{insetStart:"50%",transform:"translateX(-50%)"},vertical:{top:"50%",transform:"translateY(-50%)"},both:{insetStart:"50%",top:"50%",transform:"translate(-50%, -50%)"}};vn(function(r,i){const{axis:l="both",...f}=r;return O.jsx(jt.div,{ref:i,__css:HW[l],...f,position:"absolute"})});var Mv=vn(function(r,i){const{direction:l,align:f,justify:h,wrap:p,basis:g,grow:y,shrink:S,...C}=r,E={display:"flex",flexDirection:l,alignItems:f,justifyContent:h,flexWrap:p,flexBasis:g,flexGrow:y,flexShrink:S};return O.jsx(jt.div,{ref:i,__css:E,...C})});Mv.displayName="Flex";function WW(t,r={}){const{ssr:i=!0,fallback:l}=r,{getWindow:f}=N$(),h=Array.isArray(t)?t:[t];let p=Array.isArray(l)?l:[l];p=p.filter(S=>S!=null);const[g,y]=U.useState(()=>h.map((S,C)=>({media:S,matches:i?!!p[C]:f().matchMedia(S).matches})));return U.useEffect(()=>{const S=f();y(h.map(k=>({media:k,matches:S.matchMedia(k).matches})));const C=h.map(k=>S.matchMedia(k)),E=k=>{y(R=>R.slice().map(A=>A.media===k.media?{...A,matches:k.matches}:A))};return C.forEach(k=>{typeof k.addListener=="function"?k.addListener(E):k.addEventListener("change",E)}),()=>{C.forEach(k=>{typeof k.removeListener=="function"?k.removeListener(E):k.removeEventListener("change",E)})}},[f]),g.map(S=>S.matches)}var zd=(t,r)=>({var:t,varRef:r?`var(${t}, ${r})`:`var(${t})`}),pa={arrowShadowColor:zd("--popper-arrow-shadow-color"),arrowSize:zd("--popper-arrow-size","8px"),arrowSizeHalf:zd("--popper-arrow-size-half"),arrowBg:zd("--popper-arrow-bg"),transformOrigin:zd("--popper-transform-origin"),arrowOffset:zd("--popper-arrow-offset")};function YW(t){if(t.includes("top"))return"1px 1px 0px 0 var(--popper-arrow-shadow-color)";if(t.includes("bottom"))return"-1px -1px 0px 0 var(--popper-arrow-shadow-color)";if(t.includes("right"))return"-1px 1px 0px 0 var(--popper-arrow-shadow-color)";if(t.includes("left"))return"1px -1px 0px 0 var(--popper-arrow-shadow-color)"}var GW={top:"bottom center","top-start":"bottom left","top-end":"bottom right",bottom:"top center","bottom-start":"top left","bottom-end":"top right",left:"right center","left-start":"right top","left-end":"right bottom",right:"left center","right-start":"left top","right-end":"left bottom"},qW=t=>GW[t],dD={scroll:!0,resize:!0};function XW(t){let r;return typeof t=="object"?r={enabled:!0,options:{...dD,...t}}:r={enabled:t,options:dD},r}var QW={name:"matchWidth",enabled:!0,phase:"beforeWrite",requires:["computeStyles"],fn:({state:t})=>{t.styles.popper.width=`${t.rects.reference.width}px`},effect:({state:t})=>()=>{const r=t.elements.reference;t.elements.popper.style.width=`${r.offsetWidth}px`}},KW={name:"transformOrigin",enabled:!0,phase:"write",fn:({state:t})=>{pD(t)},effect:({state:t})=>()=>{pD(t)}},pD=t=>{t.elements.popper.style.setProperty(pa.transformOrigin.var,qW(t.placement))},ZW={name:"positionArrow",enabled:!0,phase:"afterWrite",fn:({state:t})=>{JW(t)}},JW=t=>{var r;if(!t.placement)return;const i=eY(t.placement);if((r=t.elements)!=null&&r.arrow&&i){Object.assign(t.elements.arrow.style,{[i.property]:i.value,width:pa.arrowSize.varRef,height:pa.arrowSize.varRef,zIndex:-1});const l={[pa.arrowSizeHalf.var]:`calc(${pa.arrowSize.varRef} / 2 - 1px)`,[pa.arrowOffset.var]:`calc(${pa.arrowSizeHalf.varRef} * -1)`};for(const f in l)t.elements.arrow.style.setProperty(f,l[f])}},eY=t=>{if(t.startsWith("top"))return{property:"bottom",value:pa.arrowOffset.varRef};if(t.startsWith("bottom"))return{property:"top",value:pa.arrowOffset.varRef};if(t.startsWith("left"))return{property:"right",value:pa.arrowOffset.varRef};if(t.startsWith("right"))return{property:"left",value:pa.arrowOffset.varRef}},tY={name:"innerArrow",enabled:!0,phase:"main",requires:["arrow"],fn:({state:t})=>{hD(t)},effect:({state:t})=>()=>{hD(t)}},hD=t=>{if(!t.elements.arrow)return;const r=t.elements.arrow.querySelector("[data-popper-arrow-inner]");if(!r)return;const i=YW(t.placement);i&&r.style.setProperty("--popper-arrow-default-shadow",i),Object.assign(r.style,{transform:"rotate(45deg)",background:pa.arrowBg.varRef,top:0,left:0,width:"100%",height:"100%",position:"absolute",zIndex:"inherit",boxShadow:"var(--popper-arrow-shadow, var(--popper-arrow-default-shadow))"})},nY={"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"}},rY={"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 aY(t,r="ltr"){var i,l;const f=((i=nY[t])==null?void 0:i[r])||t;return r==="ltr"?f:(l=rY[t])!=null?l:f}var gi="top",io="bottom",oo="right",yi="left",KC="auto",Pv=[gi,io,oo,yi],Nd="start",Lv="end",iY="clippingParents",vD="viewport",zv="popper",oY="reference",mD=Pv.reduce(function(t,r){return t.concat([r+"-"+Nd,r+"-"+Lv])},[]),gD=[].concat(Pv,[KC]).reduce(function(t,r){return t.concat([r,r+"-"+Nd,r+"-"+Lv])},[]),sY="beforeRead",lY="read",uY="afterRead",cY="beforeMain",fY="main",dY="afterMain",pY="beforeWrite",hY="write",vY="afterWrite",mY=[sY,lY,uY,cY,fY,dY,pY,hY,vY];function Ss(t){return t?(t.nodeName||"").toLowerCase():null}function Ii(t){if(t==null)return window;if(t.toString()!=="[object Window]"){var r=t.ownerDocument;return r&&r.defaultView||window}return t}function Uc(t){var r=Ii(t).Element;return t instanceof r||t instanceof Element}function so(t){var r=Ii(t).HTMLElement;return t instanceof r||t instanceof HTMLElement}function ZC(t){if(typeof ShadowRoot>"u")return!1;var r=Ii(t).ShadowRoot;return t instanceof r||t instanceof ShadowRoot}function gY(t){var r=t.state;Object.keys(r.elements).forEach(function(i){var l=r.styles[i]||{},f=r.attributes[i]||{},h=r.elements[i];!so(h)||!Ss(h)||(Object.assign(h.style,l),Object.keys(f).forEach(function(p){var g=f[p];g===!1?h.removeAttribute(p):h.setAttribute(p,g===!0?"":g)}))})}function yY(t){var r=t.state,i={popper:{position:r.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(r.elements.popper.style,i.popper),r.styles=i,r.elements.arrow&&Object.assign(r.elements.arrow.style,i.arrow),function(){Object.keys(r.elements).forEach(function(l){var f=r.elements[l],h=r.attributes[l]||{},p=Object.keys(r.styles.hasOwnProperty(l)?r.styles[l]:i[l]),g=p.reduce(function(y,S){return y[S]="",y},{});!so(f)||!Ss(f)||(Object.assign(f.style,g),Object.keys(h).forEach(function(y){f.removeAttribute(y)}))})}}const bY={name:"applyStyles",enabled:!0,phase:"write",fn:gY,effect:yY,requires:["computeStyles"]};function xs(t){return t.split("-")[0]}var Hc=Math.max,h0=Math.min,jd=Math.round;function JC(){var t=navigator.userAgentData;return t!=null&&t.brands&&Array.isArray(t.brands)?t.brands.map(function(r){return r.brand+"/"+r.version}).join(" "):navigator.userAgent}function yD(){return!/^((?!chrome|android).)*safari/i.test(JC())}function Fd(t,r,i){r===void 0&&(r=!1),i===void 0&&(i=!1);var l=t.getBoundingClientRect(),f=1,h=1;r&&so(t)&&(f=t.offsetWidth>0&&jd(l.width)/t.offsetWidth||1,h=t.offsetHeight>0&&jd(l.height)/t.offsetHeight||1);var p=Uc(t)?Ii(t):window,g=p.visualViewport,y=!yD()&&i,S=(l.left+(y&&g?g.offsetLeft:0))/f,C=(l.top+(y&&g?g.offsetTop:0))/h,E=l.width/f,k=l.height/h;return{width:E,height:k,top:C,right:S+E,bottom:C+k,left:S,x:S,y:C}}function e2(t){var r=Fd(t),i=t.offsetWidth,l=t.offsetHeight;return Math.abs(r.width-i)<=1&&(i=r.width),Math.abs(r.height-l)<=1&&(l=r.height),{x:t.offsetLeft,y:t.offsetTop,width:i,height:l}}function bD(t,r){var i=r.getRootNode&&r.getRootNode();if(t.contains(r))return!0;if(i&&ZC(i)){var l=r;do{if(l&&t.isSameNode(l))return!0;l=l.parentNode||l.host}while(l)}return!1}function hl(t){return Ii(t).getComputedStyle(t)}function SY(t){return["table","td","th"].indexOf(Ss(t))>=0}function wu(t){return((Uc(t)?t.ownerDocument:t.document)||window.document).documentElement}function v0(t){return Ss(t)==="html"?t:t.assignedSlot||t.parentNode||(ZC(t)?t.host:null)||wu(t)}function SD(t){return!so(t)||hl(t).position==="fixed"?null:t.offsetParent}function xY(t){var r=/firefox/i.test(JC()),i=/Trident/i.test(JC());if(i&&so(t)){var l=hl(t);if(l.position==="fixed")return null}var f=v0(t);for(ZC(f)&&(f=f.host);so(f)&&["html","body"].indexOf(Ss(f))<0;){var h=hl(f);if(h.transform!=="none"||h.perspective!=="none"||h.contain==="paint"||["transform","perspective"].indexOf(h.willChange)!==-1||r&&h.willChange==="filter"||r&&h.filter&&h.filter!=="none")return f;f=f.parentNode}return null}function Nv(t){for(var r=Ii(t),i=SD(t);i&&SY(i)&&hl(i).position==="static";)i=SD(i);return i&&(Ss(i)==="html"||Ss(i)==="body"&&hl(i).position==="static")?r:i||xY(t)||r}function t2(t){return["top","bottom"].indexOf(t)>=0?"x":"y"}function jv(t,r,i){return Hc(t,h0(r,i))}function CY(t,r,i){var l=jv(t,r,i);return l>i?i:l}function xD(){return{top:0,right:0,bottom:0,left:0}}function CD(t){return Object.assign({},xD(),t)}function wD(t,r){return r.reduce(function(i,l){return i[l]=t,i},{})}var wY=function(r,i){return r=typeof r=="function"?r(Object.assign({},i.rects,{placement:i.placement})):r,CD(typeof r!="number"?r:wD(r,Pv))};function EY(t){var r,i=t.state,l=t.name,f=t.options,h=i.elements.arrow,p=i.modifiersData.popperOffsets,g=xs(i.placement),y=t2(g),S=[yi,oo].indexOf(g)>=0,C=S?"height":"width";if(!(!h||!p)){var E=wY(f.padding,i),k=e2(h),R=y==="y"?gi:yi,A=y==="y"?io:oo,P=i.rects.reference[C]+i.rects.reference[y]-p[y]-i.rects.popper[C],j=p[y]-i.rects.reference[y],q=Nv(h),F=q?y==="y"?q.clientHeight||0:q.clientWidth||0:0,$=P/2-j/2,Q=E[R],V=F-k[C]-E[A],le=F/2-k[C]/2+$,J=jv(Q,le,V),me=y;i.modifiersData[l]=(r={},r[me]=J,r.centerOffset=J-le,r)}}function TY(t){var r=t.state,i=t.options,l=i.element,f=l===void 0?"[data-popper-arrow]":l;f!=null&&(typeof f=="string"&&(f=r.elements.popper.querySelector(f),!f)||bD(r.elements.popper,f)&&(r.elements.arrow=f))}const kY={name:"arrow",enabled:!0,phase:"main",fn:EY,effect:TY,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function $d(t){return t.split("-")[1]}var _Y={top:"auto",right:"auto",bottom:"auto",left:"auto"};function RY(t,r){var i=t.x,l=t.y,f=r.devicePixelRatio||1;return{x:jd(i*f)/f||0,y:jd(l*f)/f||0}}function ED(t){var r,i=t.popper,l=t.popperRect,f=t.placement,h=t.variation,p=t.offsets,g=t.position,y=t.gpuAcceleration,S=t.adaptive,C=t.roundOffsets,E=t.isFixed,k=p.x,R=k===void 0?0:k,A=p.y,P=A===void 0?0:A,j=typeof C=="function"?C({x:R,y:P}):{x:R,y:P};R=j.x,P=j.y;var q=p.hasOwnProperty("x"),F=p.hasOwnProperty("y"),$=yi,Q=gi,V=window;if(S){var le=Nv(i),J="clientHeight",me="clientWidth";if(le===Ii(i)&&(le=wu(i),hl(le).position!=="static"&&g==="absolute"&&(J="scrollHeight",me="scrollWidth")),le=le,f===gi||(f===yi||f===oo)&&h===Lv){Q=io;var ve=E&&le===V&&V.visualViewport?V.visualViewport.height:le[J];P-=ve-l.height,P*=y?1:-1}if(f===yi||(f===gi||f===io)&&h===Lv){$=oo;var ye=E&&le===V&&V.visualViewport?V.visualViewport.width:le[me];R-=ye-l.width,R*=y?1:-1}}var De=Object.assign({position:g},S&&_Y),pt=C===!0?RY({x:R,y:P},Ii(i)):{x:R,y:P};if(R=pt.x,P=pt.y,y){var Oe;return Object.assign({},De,(Oe={},Oe[Q]=F?"0":"",Oe[$]=q?"0":"",Oe.transform=(V.devicePixelRatio||1)<=1?"translate("+R+"px, "+P+"px)":"translate3d("+R+"px, "+P+"px, 0)",Oe))}return Object.assign({},De,(r={},r[Q]=F?P+"px":"",r[$]=q?R+"px":"",r.transform="",r))}function DY(t){var r=t.state,i=t.options,l=i.gpuAcceleration,f=l===void 0?!0:l,h=i.adaptive,p=h===void 0?!0:h,g=i.roundOffsets,y=g===void 0?!0:g,S={placement:xs(r.placement),variation:$d(r.placement),popper:r.elements.popper,popperRect:r.rects.popper,gpuAcceleration:f,isFixed:r.options.strategy==="fixed"};r.modifiersData.popperOffsets!=null&&(r.styles.popper=Object.assign({},r.styles.popper,ED(Object.assign({},S,{offsets:r.modifiersData.popperOffsets,position:r.options.strategy,adaptive:p,roundOffsets:y})))),r.modifiersData.arrow!=null&&(r.styles.arrow=Object.assign({},r.styles.arrow,ED(Object.assign({},S,{offsets:r.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:y})))),r.attributes.popper=Object.assign({},r.attributes.popper,{"data-popper-placement":r.placement})}const OY={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:DY,data:{}};var m0={passive:!0};function AY(t){var r=t.state,i=t.instance,l=t.options,f=l.scroll,h=f===void 0?!0:f,p=l.resize,g=p===void 0?!0:p,y=Ii(r.elements.popper),S=[].concat(r.scrollParents.reference,r.scrollParents.popper);return h&&S.forEach(function(C){C.addEventListener("scroll",i.update,m0)}),g&&y.addEventListener("resize",i.update,m0),function(){h&&S.forEach(function(C){C.removeEventListener("scroll",i.update,m0)}),g&&y.removeEventListener("resize",i.update,m0)}}const MY={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:AY,data:{}};var PY={left:"right",right:"left",bottom:"top",top:"bottom"};function g0(t){return t.replace(/left|right|bottom|top/g,function(r){return PY[r]})}var LY={start:"end",end:"start"};function TD(t){return t.replace(/start|end/g,function(r){return LY[r]})}function n2(t){var r=Ii(t),i=r.pageXOffset,l=r.pageYOffset;return{scrollLeft:i,scrollTop:l}}function r2(t){return Fd(wu(t)).left+n2(t).scrollLeft}function zY(t,r){var i=Ii(t),l=wu(t),f=i.visualViewport,h=l.clientWidth,p=l.clientHeight,g=0,y=0;if(f){h=f.width,p=f.height;var S=yD();(S||!S&&r==="fixed")&&(g=f.offsetLeft,y=f.offsetTop)}return{width:h,height:p,x:g+r2(t),y}}function NY(t){var r,i=wu(t),l=n2(t),f=(r=t.ownerDocument)==null?void 0:r.body,h=Hc(i.scrollWidth,i.clientWidth,f?f.scrollWidth:0,f?f.clientWidth:0),p=Hc(i.scrollHeight,i.clientHeight,f?f.scrollHeight:0,f?f.clientHeight:0),g=-l.scrollLeft+r2(t),y=-l.scrollTop;return hl(f||i).direction==="rtl"&&(g+=Hc(i.clientWidth,f?f.clientWidth:0)-h),{width:h,height:p,x:g,y}}function a2(t){var r=hl(t),i=r.overflow,l=r.overflowX,f=r.overflowY;return/auto|scroll|overlay|hidden/.test(i+f+l)}function kD(t){return["html","body","#document"].indexOf(Ss(t))>=0?t.ownerDocument.body:so(t)&&a2(t)?t:kD(v0(t))}function Fv(t,r){var i;r===void 0&&(r=[]);var l=kD(t),f=l===((i=t.ownerDocument)==null?void 0:i.body),h=Ii(l),p=f?[h].concat(h.visualViewport||[],a2(l)?l:[]):l,g=r.concat(p);return f?g:g.concat(Fv(v0(p)))}function i2(t){return Object.assign({},t,{left:t.x,top:t.y,right:t.x+t.width,bottom:t.y+t.height})}function jY(t,r){var i=Fd(t,!1,r==="fixed");return i.top=i.top+t.clientTop,i.left=i.left+t.clientLeft,i.bottom=i.top+t.clientHeight,i.right=i.left+t.clientWidth,i.width=t.clientWidth,i.height=t.clientHeight,i.x=i.left,i.y=i.top,i}function _D(t,r,i){return r===vD?i2(zY(t,i)):Uc(r)?jY(r,i):i2(NY(wu(t)))}function FY(t){var r=Fv(v0(t)),i=["absolute","fixed"].indexOf(hl(t).position)>=0,l=i&&so(t)?Nv(t):t;return Uc(l)?r.filter(function(f){return Uc(f)&&bD(f,l)&&Ss(f)!=="body"}):[]}function $Y(t,r,i,l){var f=r==="clippingParents"?FY(t):[].concat(r),h=[].concat(f,[i]),p=h[0],g=h.reduce(function(y,S){var C=_D(t,S,l);return y.top=Hc(C.top,y.top),y.right=h0(C.right,y.right),y.bottom=h0(C.bottom,y.bottom),y.left=Hc(C.left,y.left),y},_D(t,p,l));return g.width=g.right-g.left,g.height=g.bottom-g.top,g.x=g.left,g.y=g.top,g}function RD(t){var r=t.reference,i=t.element,l=t.placement,f=l?xs(l):null,h=l?$d(l):null,p=r.x+r.width/2-i.width/2,g=r.y+r.height/2-i.height/2,y;switch(f){case gi:y={x:p,y:r.y-i.height};break;case io:y={x:p,y:r.y+r.height};break;case oo:y={x:r.x+r.width,y:g};break;case yi:y={x:r.x-i.width,y:g};break;default:y={x:r.x,y:r.y}}var S=f?t2(f):null;if(S!=null){var C=S==="y"?"height":"width";switch(h){case Nd:y[S]=y[S]-(r[C]/2-i[C]/2);break;case Lv:y[S]=y[S]+(r[C]/2-i[C]/2);break}}return y}function $v(t,r){r===void 0&&(r={});var i=r,l=i.placement,f=l===void 0?t.placement:l,h=i.strategy,p=h===void 0?t.strategy:h,g=i.boundary,y=g===void 0?iY:g,S=i.rootBoundary,C=S===void 0?vD:S,E=i.elementContext,k=E===void 0?zv:E,R=i.altBoundary,A=R===void 0?!1:R,P=i.padding,j=P===void 0?0:P,q=CD(typeof j!="number"?j:wD(j,Pv)),F=k===zv?oY:zv,$=t.rects.popper,Q=t.elements[A?F:k],V=$Y(Uc(Q)?Q:Q.contextElement||wu(t.elements.popper),y,C,p),le=Fd(t.elements.reference),J=RD({reference:le,element:$,strategy:"absolute",placement:f}),me=i2(Object.assign({},$,J)),ve=k===zv?me:le,ye={top:V.top-ve.top+q.top,bottom:ve.bottom-V.bottom+q.bottom,left:V.left-ve.left+q.left,right:ve.right-V.right+q.right},De=t.modifiersData.offset;if(k===zv&&De){var pt=De[f];Object.keys(ye).forEach(function(Oe){var Pe=[oo,io].indexOf(Oe)>=0?1:-1,at=[gi,io].indexOf(Oe)>=0?"y":"x";ye[Oe]+=pt[at]*Pe})}return ye}function BY(t,r){r===void 0&&(r={});var i=r,l=i.placement,f=i.boundary,h=i.rootBoundary,p=i.padding,g=i.flipVariations,y=i.allowedAutoPlacements,S=y===void 0?gD:y,C=$d(l),E=C?g?mD:mD.filter(function(A){return $d(A)===C}):Pv,k=E.filter(function(A){return S.indexOf(A)>=0});k.length===0&&(k=E);var R=k.reduce(function(A,P){return A[P]=$v(t,{placement:P,boundary:f,rootBoundary:h,padding:p})[xs(P)],A},{});return Object.keys(R).sort(function(A,P){return R[A]-R[P]})}function VY(t){if(xs(t)===KC)return[];var r=g0(t);return[TD(t),r,TD(r)]}function IY(t){var r=t.state,i=t.options,l=t.name;if(!r.modifiersData[l]._skip){for(var f=i.mainAxis,h=f===void 0?!0:f,p=i.altAxis,g=p===void 0?!0:p,y=i.fallbackPlacements,S=i.padding,C=i.boundary,E=i.rootBoundary,k=i.altBoundary,R=i.flipVariations,A=R===void 0?!0:R,P=i.allowedAutoPlacements,j=r.options.placement,q=xs(j),F=q===j,$=y||(F||!A?[g0(j)]:VY(j)),Q=[j].concat($).reduce(function(Fe,Ie){return Fe.concat(xs(Ie)===KC?BY(r,{placement:Ie,boundary:C,rootBoundary:E,padding:S,flipVariations:A,allowedAutoPlacements:P}):Ie)},[]),V=r.rects.reference,le=r.rects.popper,J=new Map,me=!0,ve=Q[0],ye=0;ye<Q.length;ye++){var De=Q[ye],pt=xs(De),Oe=$d(De)===Nd,Pe=[gi,io].indexOf(pt)>=0,at=Pe?"width":"height",Ue=$v(r,{placement:De,boundary:C,rootBoundary:E,altBoundary:k,padding:S}),st=Pe?Oe?oo:yi:Oe?io:gi;V[at]>le[at]&&(st=g0(st));var be=g0(st),Le=[];if(h&&Le.push(Ue[pt]<=0),g&&Le.push(Ue[st]<=0,Ue[be]<=0),Le.every(function(Fe){return Fe})){ve=De,me=!1;break}J.set(De,Le)}if(me)for(var K=A?3:1,se=function(Ie){var Ae=Q.find(function(Xe){var $e=J.get(Xe);if($e)return $e.slice(0,Ie).every(function(Je){return Je})});if(Ae)return ve=Ae,"break"},_e=K;_e>0;_e--){var Ee=se(_e);if(Ee==="break")break}r.placement!==ve&&(r.modifiersData[l]._skip=!0,r.placement=ve,r.reset=!0)}}const UY={name:"flip",enabled:!0,phase:"main",fn:IY,requiresIfExists:["offset"],data:{_skip:!1}};function DD(t,r,i){return i===void 0&&(i={x:0,y:0}),{top:t.top-r.height-i.y,right:t.right-r.width+i.x,bottom:t.bottom-r.height+i.y,left:t.left-r.width-i.x}}function OD(t){return[gi,oo,io,yi].some(function(r){return t[r]>=0})}function HY(t){var r=t.state,i=t.name,l=r.rects.reference,f=r.rects.popper,h=r.modifiersData.preventOverflow,p=$v(r,{elementContext:"reference"}),g=$v(r,{altBoundary:!0}),y=DD(p,l),S=DD(g,f,h),C=OD(y),E=OD(S);r.modifiersData[i]={referenceClippingOffsets:y,popperEscapeOffsets:S,isReferenceHidden:C,hasPopperEscaped:E},r.attributes.popper=Object.assign({},r.attributes.popper,{"data-popper-reference-hidden":C,"data-popper-escaped":E})}const WY={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:HY};function YY(t,r,i){var l=xs(t),f=[yi,gi].indexOf(l)>=0?-1:1,h=typeof i=="function"?i(Object.assign({},r,{placement:t})):i,p=h[0],g=h[1];return p=p||0,g=(g||0)*f,[yi,oo].indexOf(l)>=0?{x:g,y:p}:{x:p,y:g}}function GY(t){var r=t.state,i=t.options,l=t.name,f=i.offset,h=f===void 0?[0,0]:f,p=gD.reduce(function(C,E){return C[E]=YY(E,r.rects,h),C},{}),g=p[r.placement],y=g.x,S=g.y;r.modifiersData.popperOffsets!=null&&(r.modifiersData.popperOffsets.x+=y,r.modifiersData.popperOffsets.y+=S),r.modifiersData[l]=p}const qY={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:GY};function XY(t){var r=t.state,i=t.name;r.modifiersData[i]=RD({reference:r.rects.reference,element:r.rects.popper,strategy:"absolute",placement:r.placement})}const QY={name:"popperOffsets",enabled:!0,phase:"read",fn:XY,data:{}};function KY(t){return t==="x"?"y":"x"}function ZY(t){var r=t.state,i=t.options,l=t.name,f=i.mainAxis,h=f===void 0?!0:f,p=i.altAxis,g=p===void 0?!1:p,y=i.boundary,S=i.rootBoundary,C=i.altBoundary,E=i.padding,k=i.tether,R=k===void 0?!0:k,A=i.tetherOffset,P=A===void 0?0:A,j=$v(r,{boundary:y,rootBoundary:S,padding:E,altBoundary:C}),q=xs(r.placement),F=$d(r.placement),$=!F,Q=t2(q),V=KY(Q),le=r.modifiersData.popperOffsets,J=r.rects.reference,me=r.rects.popper,ve=typeof P=="function"?P(Object.assign({},r.rects,{placement:r.placement})):P,ye=typeof ve=="number"?{mainAxis:ve,altAxis:ve}:Object.assign({mainAxis:0,altAxis:0},ve),De=r.modifiersData.offset?r.modifiersData.offset[r.placement]:null,pt={x:0,y:0};if(le){if(h){var Oe,Pe=Q==="y"?gi:yi,at=Q==="y"?io:oo,Ue=Q==="y"?"height":"width",st=le[Q],be=st+j[Pe],Le=st-j[at],K=R?-me[Ue]/2:0,se=F===Nd?J[Ue]:me[Ue],_e=F===Nd?-me[Ue]:-J[Ue],Ee=r.elements.arrow,Fe=R&&Ee?e2(Ee):{width:0,height:0},Ie=r.modifiersData["arrow#persistent"]?r.modifiersData["arrow#persistent"].padding:xD(),Ae=Ie[Pe],Xe=Ie[at],$e=jv(0,J[Ue],Fe[Ue]),Je=$?J[Ue]/2-K-$e-Ae-ye.mainAxis:se-$e-Ae-ye.mainAxis,tt=$?-J[Ue]/2+K+$e+Xe+ye.mainAxis:_e+$e+Xe+ye.mainAxis,yt=r.elements.arrow&&Nv(r.elements.arrow),he=yt?Q==="y"?yt.clientTop||0:yt.clientLeft||0:0,wt=(Oe=De==null?void 0:De[Q])!=null?Oe:0,mn=st+Je-wt-he,Cn=st+tt-wt,er=jv(R?h0(be,mn):be,st,R?Hc(Le,Cn):Le);le[Q]=er,pt[Q]=er-st}if(g){var tr,Zr=Q==="x"?gi:yi,ha=Q==="x"?io:oo,Xn=le[V],vr=V==="y"?"height":"width",mr=Xn+j[Zr],wn=Xn-j[ha],Nr=[gi,yi].indexOf(q)!==-1,gr=(tr=De==null?void 0:De[V])!=null?tr:0,Jr=Nr?mr:Xn-J[vr]-me[vr]-gr+ye.altAxis,Dn=Nr?Xn+J[vr]+me[vr]-gr-ye.altAxis:wn,nr=R&&Nr?CY(Jr,Xn,Dn):jv(R?Jr:mr,Xn,R?Dn:wn);le[V]=nr,pt[V]=nr-Xn}r.modifiersData[l]=pt}}const JY={name:"preventOverflow",enabled:!0,phase:"main",fn:ZY,requiresIfExists:["offset"]};function eG(t){return{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}}function tG(t){return t===Ii(t)||!so(t)?n2(t):eG(t)}function nG(t){var r=t.getBoundingClientRect(),i=jd(r.width)/t.offsetWidth||1,l=jd(r.height)/t.offsetHeight||1;return i!==1||l!==1}function rG(t,r,i){i===void 0&&(i=!1);var l=so(r),f=so(r)&&nG(r),h=wu(r),p=Fd(t,f,i),g={scrollLeft:0,scrollTop:0},y={x:0,y:0};return(l||!l&&!i)&&((Ss(r)!=="body"||a2(h))&&(g=tG(r)),so(r)?(y=Fd(r,!0),y.x+=r.clientLeft,y.y+=r.clientTop):h&&(y.x=r2(h))),{x:p.left+g.scrollLeft-y.x,y:p.top+g.scrollTop-y.y,width:p.width,height:p.height}}function aG(t){var r=new Map,i=new Set,l=[];t.forEach(function(h){r.set(h.name,h)});function f(h){i.add(h.name);var p=[].concat(h.requires||[],h.requiresIfExists||[]);p.forEach(function(g){if(!i.has(g)){var y=r.get(g);y&&f(y)}}),l.push(h)}return t.forEach(function(h){i.has(h.name)||f(h)}),l}function iG(t){var r=aG(t);return mY.reduce(function(i,l){return i.concat(r.filter(function(f){return f.phase===l}))},[])}function oG(t){var r;return function(){return r||(r=new Promise(function(i){Promise.resolve().then(function(){r=void 0,i(t())})})),r}}function sG(t){var r=t.reduce(function(i,l){var f=i[l.name];return i[l.name]=f?Object.assign({},f,l,{options:Object.assign({},f.options,l.options),data:Object.assign({},f.data,l.data)}):l,i},{});return Object.keys(r).map(function(i){return r[i]})}var AD={placement:"bottom",modifiers:[],strategy:"absolute"};function MD(){for(var t=arguments.length,r=new Array(t),i=0;i<t;i++)r[i]=arguments[i];return!r.some(function(l){return!(l&&typeof l.getBoundingClientRect=="function")})}function lG(t){t===void 0&&(t={});var r=t,i=r.defaultModifiers,l=i===void 0?[]:i,f=r.defaultOptions,h=f===void 0?AD:f;return function(g,y,S){S===void 0&&(S=h);var C={placement:"bottom",orderedModifiers:[],options:Object.assign({},AD,h),modifiersData:{},elements:{reference:g,popper:y},attributes:{},styles:{}},E=[],k=!1,R={state:C,setOptions:function(q){var F=typeof q=="function"?q(C.options):q;P(),C.options=Object.assign({},h,C.options,F),C.scrollParents={reference:Uc(g)?Fv(g):g.contextElement?Fv(g.contextElement):[],popper:Fv(y)};var $=iG(sG([].concat(l,C.options.modifiers)));return C.orderedModifiers=$.filter(function(Q){return Q.enabled}),A(),R.update()},forceUpdate:function(){if(!k){var q=C.elements,F=q.reference,$=q.popper;if(MD(F,$)){C.rects={reference:rG(F,Nv($),C.options.strategy==="fixed"),popper:e2($)},C.reset=!1,C.placement=C.options.placement,C.orderedModifiers.forEach(function(ye){return C.modifiersData[ye.name]=Object.assign({},ye.data)});for(var Q=0;Q<C.orderedModifiers.length;Q++){if(C.reset===!0){C.reset=!1,Q=-1;continue}var V=C.orderedModifiers[Q],le=V.fn,J=V.options,me=J===void 0?{}:J,ve=V.name;typeof le=="function"&&(C=le({state:C,options:me,name:ve,instance:R})||C)}}}},update:oG(function(){return new Promise(function(j){R.forceUpdate(),j(C)})}),destroy:function(){P(),k=!0}};if(!MD(g,y))return R;R.setOptions(S).then(function(j){!k&&S.onFirstUpdate&&S.onFirstUpdate(j)});function A(){C.orderedModifiers.forEach(function(j){var q=j.name,F=j.options,$=F===void 0?{}:F,Q=j.effect;if(typeof Q=="function"){var V=Q({state:C,name:q,instance:R,options:$}),le=function(){};E.push(V||le)}})}function P(){E.forEach(function(j){return j()}),E=[]}return R}}var uG=[MY,QY,OY,bY,qY,UY,JY,kY,WY],cG=lG({defaultModifiers:uG});function fG(t={}){const{enabled:r=!0,modifiers:i,placement:l="bottom",strategy:f="absolute",arrowPadding:h=8,eventListeners:p=!0,offset:g,gutter:y=8,flip:S=!0,boundary:C="clippingParents",preventOverflow:E=!0,matchWidth:k,direction:R="ltr"}=t,A=U.useRef(null),P=U.useRef(null),j=U.useRef(null),q=aY(l,R),F=U.useRef(()=>{}),$=U.useCallback(()=>{var ye;!r||!A.current||!P.current||((ye=F.current)==null||ye.call(F),j.current=cG(A.current,P.current,{placement:q,modifiers:[tY,ZW,KW,{...QW,enabled:!!k},{name:"eventListeners",...XW(p)},{name:"arrow",options:{padding:h}},{name:"offset",options:{offset:g??[0,y]}},{name:"flip",enabled:!!S,options:{padding:8}},{name:"preventOverflow",enabled:!!E,options:{boundary:C}},...i??[]],strategy:f}),j.current.forceUpdate(),F.current=j.current.destroy)},[q,r,i,k,p,h,g,y,S,E,C,f]);U.useEffect(()=>()=>{var ye;!A.current&&!P.current&&((ye=j.current)==null||ye.destroy(),j.current=null)},[]);const Q=U.useCallback(ye=>{A.current=ye,$()},[$]),V=U.useCallback((ye={},De=null)=>({...ye,ref:Dd(Q,De)}),[Q]),le=U.useCallback(ye=>{P.current=ye,$()},[$]),J=U.useCallback((ye={},De=null)=>({...ye,ref:Dd(le,De),style:{...ye.style,position:f,minWidth:k?void 0:"max-content",inset:"0 auto auto 0"}}),[f,le,k]),me=U.useCallback((ye={},De=null)=>{const{size:pt,shadowColor:Oe,bg:Pe,style:at,...Ue}=ye;return{...Ue,ref:De,"data-popper-arrow":"",style:dG(ye)}},[]),ve=U.useCallback((ye={},De=null)=>({...ye,ref:De,"data-popper-arrow-inner":""}),[]);return{update(){var ye;(ye=j.current)==null||ye.update()},forceUpdate(){var ye;(ye=j.current)==null||ye.forceUpdate()},transformOrigin:pa.transformOrigin.varRef,referenceRef:Q,popperRef:le,getPopperProps:J,getArrowProps:me,getArrowInnerProps:ve,getReferenceProps:V}}function dG(t){const{size:r,shadowColor:i,bg:l,style:f}=t,h={...f,position:"absolute"};return r&&(h["--popper-arrow-size"]=r),i&&(h["--popper-arrow-shadow-color"]=i),l&&(h["--popper-arrow-bg"]=l),h}function pG(t={}){const{onClose:r,onOpen:i,isOpen:l,id:f}=t,h=kx(i),p=kx(r),[g,y]=U.useState(t.defaultIsOpen||!1),S=l!==void 0?l:g,C=l!==void 0,E=U.useId(),k=f??`disclosure-${E}`,R=U.useCallback(()=>{C||y(!1),p==null||p()},[C,p]),A=U.useCallback(()=>{C||y(!0),h==null||h()},[C,h]),P=U.useCallback(()=>{S?R():A()},[S,A,R]);function j(F={}){return{...F,"aria-expanded":S,"aria-controls":k,onClick($){var Q;(Q=F.onClick)==null||Q.call(F,$),P()}}}function q(F={}){return{...F,hidden:!S,id:k}}return{isOpen:S,onOpen:A,onClose:R,onToggle:P,isControlled:C,getButtonProps:j,getDisclosureProps:q}}var hG={slideInBottom:{...Rv,custom:{offsetY:16,reverse:!0}},slideInRight:{...Rv,custom:{offsetX:16,reverse:!0}},slideInTop:{...Rv,custom:{offsetY:-16,reverse:!0}},slideInLeft:{...Rv,custom:{offsetX:-16,reverse:!0}},scale:{...o3,custom:{initialScale:.95,reverse:!0}},none:{}},vG=jt(_d.section),mG=t=>hG[t||"none"],PD=U.forwardRef((t,r)=>{const{preset:i,motionProps:l=mG(i),...f}=t;return O.jsx(vG,{ref:r,...l,...f})});PD.displayName="ModalTransition";var gG=Object.defineProperty,yG=(t,r,i)=>r in t?gG(t,r,{enumerable:!0,configurable:!0,writable:!0,value:i}):t[r]=i,bG=(t,r,i)=>(yG(t,typeof r!="symbol"?r+"":r,i),i),SG=class{constructor(){bG(this,"modals"),this.modals=new Map}add(t){return this.modals.set(t,this.modals.size+1),this.modals.size}remove(t){this.modals.delete(t)}isTopModal(t){return t?this.modals.get(t)===this.modals.size:!1}},o2=new SG;function LD(t,r){const[i,l]=U.useState(0);return U.useEffect(()=>{const f=t.current;if(f){if(r){const h=o2.add(f);l(h)}return()=>{o2.remove(f),l(0)}}},[r,t]),i}var xG=function(t){if(typeof document>"u")return null;var r=Array.isArray(t)?t[0]:t;return r.ownerDocument.body},Bd=new WeakMap,y0=new WeakMap,b0={},s2=0,zD=function(t){return t&&(t.host||zD(t.parentNode))},CG=function(t,r){return r.map(function(i){if(t.contains(i))return i;var l=zD(i);return l&&t.contains(l)?l:(console.error("aria-hidden",i,"in not contained inside",t,". Doing nothing"),null)}).filter(function(i){return!!i})},wG=function(t,r,i,l){var f=CG(r,Array.isArray(t)?t:[t]);b0[i]||(b0[i]=new WeakMap);var h=b0[i],p=[],g=new Set,y=new Set(f),S=function(E){!E||g.has(E)||(g.add(E),S(E.parentNode))};f.forEach(S);var C=function(E){!E||y.has(E)||Array.prototype.forEach.call(E.children,function(k){if(g.has(k))C(k);else{var R=k.getAttribute(l),A=R!==null&&R!=="false",P=(Bd.get(k)||0)+1,j=(h.get(k)||0)+1;Bd.set(k,P),h.set(k,j),p.push(k),P===1&&A&&y0.set(k,!0),j===1&&k.setAttribute(i,"true"),A||k.setAttribute(l,"true")}})};return C(r),g.clear(),s2++,function(){p.forEach(function(E){var k=Bd.get(E)-1,R=h.get(E)-1;Bd.set(E,k),h.set(E,R),k||(y0.has(E)||E.removeAttribute(l),y0.delete(E)),R||E.removeAttribute(i)}),s2--,s2||(Bd=new WeakMap,Bd=new WeakMap,y0=new WeakMap,b0={})}},EG=function(t,r,i){i===void 0&&(i="data-aria-hidden");var l=Array.from(Array.isArray(t)?t:[t]),f=r||xG(t);return f?(l.push.apply(l,Array.from(f.querySelectorAll("[aria-live]"))),wG(l,f,i,"aria-hidden")):function(){return null}};function TG(t){const{isOpen:r,onClose:i,id:l,closeOnOverlayClick:f=!0,closeOnEsc:h=!0,useInert:p=!0,onOverlayClick:g,onEsc:y}=t,S=U.useRef(null),C=U.useRef(null),[E,k,R]=_G(l,"chakra-modal","chakra-modal--header","chakra-modal--body");kG(S,r&&p);const A=LD(S,r),P=U.useRef(null),j=U.useCallback(ve=>{P.current=ve.target},[]),q=U.useCallback(ve=>{ve.key==="Escape"&&(ve.stopPropagation(),h&&(i==null||i()),y==null||y())},[h,i,y]),[F,$]=U.useState(!1),[Q,V]=U.useState(!1),le=U.useCallback((ve={},ye=null)=>({role:"dialog",...ve,ref:Dd(ye,S),id:E,tabIndex:-1,"aria-modal":!0,"aria-labelledby":F?k:void 0,"aria-describedby":Q?R:void 0,onClick:ds(ve.onClick,De=>De.stopPropagation())}),[R,Q,E,k,F]),J=U.useCallback(ve=>{ve.stopPropagation(),P.current===ve.target&&o2.isTopModal(S.current)&&(f&&(i==null||i()),g==null||g())},[i,f,g]),me=U.useCallback((ve={},ye=null)=>({...ve,ref:Dd(ye,C),onClick:ds(ve.onClick,J),onKeyDown:ds(ve.onKeyDown,q),onMouseDown:ds(ve.onMouseDown,j)}),[q,j,J]);return{isOpen:r,onClose:i,headerId:k,bodyId:R,setBodyMounted:V,setHeaderMounted:$,dialogRef:S,overlayRef:C,getDialogProps:le,getDialogContainerProps:me,index:A}}function kG(t,r){const i=t.current;U.useEffect(()=>{if(!(!t.current||!r))return EG(t.current)},[r,t,i])}function _G(t,...r){const i=U.useId(),l=t||i;return U.useMemo(()=>r.map(f=>`${f}-${l}`),[l,r])}var[RG,Vd]=sd({name:"ModalStylesContext",errorMessage:`useModalStyles returned is 'undefined'. Seems you forgot to wrap the components in "<Modal />" `}),[DG,Wc]=sd({strict:!0,name:"ModalContext",errorMessage:"useModalContext: `context` is undefined. Seems you forgot to wrap modal components in `<Modal />`"}),l2=t=>{const r={scrollBehavior:"outside",autoFocus:!0,trapFocus:!0,returnFocusOnClose:!0,blockScrollOnMount:!0,allowPinchZoom:!1,motionPreset:"scale",lockFocusAcrossFrames:!0,...t},{portalProps:i,children:l,autoFocus:f,trapFocus:h,initialFocusRef:p,finalFocusRef:g,returnFocusOnClose:y,blockScrollOnMount:S,allowPinchZoom:C,preserveScrollBarGap:E,motionPreset:k,lockFocusAcrossFrames:R,onCloseComplete:A}=r,P=C5("Modal",r),q={...TG(r),autoFocus:f,trapFocus:h,initialFocusRef:p,finalFocusRef:g,returnFocusOnClose:y,blockScrollOnMount:S,allowPinchZoom:C,preserveScrollBarGap:E,motionPreset:k,lockFocusAcrossFrames:R};return O.jsx(DG,{value:q,children:O.jsx(RG,{value:P,children:O.jsx(_v,{onExitComplete:A,children:q.isOpen&&O.jsx(Wh,{...i,children:l})})})})};l2.displayName="Modal";var S0="right-scroll-bar-position",x0="width-before-scroll-bar",OG="with-scroll-bars-hidden",AG="--removed-body-scroll-bar-size",ND=C3(),u2=function(){},C0=pe.forwardRef(function(t,r){var i=pe.useRef(null),l=pe.useState({onScrollCapture:u2,onWheelCapture:u2,onTouchMoveCapture:u2}),f=l[0],h=l[1],p=t.forwardProps,g=t.children,y=t.className,S=t.removeScrollBar,C=t.enabled,E=t.shards,k=t.sideCar,R=t.noIsolation,A=t.inert,P=t.allowPinchZoom,j=t.as,q=j===void 0?"div":j,F=t.gapMode,$=b3(t,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noIsolation","inert","allowPinchZoom","as","gapMode"]),Q=k,V=y3([i,r]),le=ys(ys({},$),f);return pe.createElement(pe.Fragment,null,C&&pe.createElement(Q,{sideCar:ND,removeScrollBar:S,shards:E,noIsolation:R,inert:A,setCallbacks:h,allowPinchZoom:!!P,lockRef:i,gapMode:F}),p?pe.cloneElement(pe.Children.only(g),ys(ys({},le),{ref:V})):pe.createElement(q,ys({},le,{className:y,ref:V}),g))});C0.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1},C0.classNames={fullWidth:x0,zeroRight:S0};var jD,MG=function(){if(jD)return jD;if(typeof __webpack_nonce__<"u")return __webpack_nonce__};function PG(){if(!document)return null;var t=document.createElement("style");t.type="text/css";var r=MG();return r&&t.setAttribute("nonce",r),t}function LG(t,r){t.styleSheet?t.styleSheet.cssText=r:t.appendChild(document.createTextNode(r))}function zG(t){var r=document.head||document.getElementsByTagName("head")[0];r.appendChild(t)}var NG=function(){var t=0,r=null;return{add:function(i){t==0&&(r=PG())&&(LG(r,i),zG(r)),t++},remove:function(){t--,!t&&r&&(r.parentNode&&r.parentNode.removeChild(r),r=null)}}},jG=function(){var t=NG();return function(r,i){pe.useEffect(function(){return t.add(r),function(){t.remove()}},[r&&i])}},FD=function(){var t=jG(),r=function(i){var l=i.styles,f=i.dynamic;return t(l,f),null};return r},FG={left:0,top:0,right:0,gap:0},c2=function(t){return parseInt(t||"",10)||0},$G=function(t){var r=window.getComputedStyle(document.body),i=r[t==="padding"?"paddingLeft":"marginLeft"],l=r[t==="padding"?"paddingTop":"marginTop"],f=r[t==="padding"?"paddingRight":"marginRight"];return[c2(i),c2(l),c2(f)]},BG=function(t){if(t===void 0&&(t="margin"),typeof window>"u")return FG;var r=$G(t),i=document.documentElement.clientWidth,l=window.innerWidth;return{left:r[0],top:r[1],right:r[2],gap:Math.max(0,l-i+r[2]-r[0])}},VG=FD(),IG=function(t,r,i,l){var f=t.left,h=t.top,p=t.right,g=t.gap;return i===void 0&&(i="margin"),`
252
+ .`.concat(OG,` {
253
+ overflow: hidden `).concat(l,`;
254
+ padding-right: `).concat(g,"px ").concat(l,`;
350
255
  }
351
256
  body {
352
- overflow: hidden `).concat(n,`;
257
+ overflow: hidden `).concat(l,`;
353
258
  overscroll-behavior: contain;
354
- `).concat([t&&"position: relative ".concat(n,";"),r==="margin"&&`
355
- padding-left: `.concat(i,`px;
356
- padding-top: `).concat(a,`px;
357
- padding-right: `).concat(o,`px;
259
+ `).concat([r&&"position: relative ".concat(l,";"),i==="margin"&&`
260
+ padding-left: `.concat(f,`px;
261
+ padding-top: `).concat(h,`px;
262
+ padding-right: `).concat(p,`px;
358
263
  margin-left:0;
359
264
  margin-top:0;
360
- margin-right: `).concat(l,"px ").concat(n,`;
361
- `),r==="padding"&&"padding-right: ".concat(l,"px ").concat(n,";")].filter(Boolean).join(""),`
265
+ margin-right: `).concat(g,"px ").concat(l,`;
266
+ `),i==="padding"&&"padding-right: ".concat(g,"px ").concat(l,";")].filter(Boolean).join(""),`
362
267
  }
363
268
 
364
- .`).concat(ac,` {
365
- right: `).concat(l,"px ").concat(n,`;
269
+ .`).concat(S0,` {
270
+ right: `).concat(g,"px ").concat(l,`;
366
271
  }
367
272
 
368
- .`).concat(oc,` {
369
- margin-right: `).concat(l,"px ").concat(n,`;
273
+ .`).concat(x0,` {
274
+ margin-right: `).concat(g,"px ").concat(l,`;
370
275
  }
371
276
 
372
- .`).concat(ac," .").concat(ac,` {
373
- right: 0 `).concat(n,`;
277
+ .`).concat(S0," .").concat(S0,` {
278
+ right: 0 `).concat(l,`;
374
279
  }
375
280
 
376
- .`).concat(oc," .").concat(oc,` {
377
- margin-right: 0 `).concat(n,`;
281
+ .`).concat(x0," .").concat(x0,` {
282
+ margin-right: 0 `).concat(l,`;
378
283
  }
379
284
 
380
285
  body {
381
- `).concat(ZL,": ").concat(l,`px;
286
+ `).concat(AG,": ").concat(g,`px;
382
287
  }
383
- `)},lB=function(e){var t=e.noRelative,r=e.noImportant,n=e.gapMode,i=n===void 0?"margin":n,a=S.useMemo(function(){return iB(i)},[i]);return S.createElement(aB,{styles:oB(a,!t,i,r?"":"!important")})},sB=function(e){var t=window.getComputedStyle(e);return t.overflowY!=="hidden"&&!(t.overflowY===t.overflowX&&t.overflowY==="visible")},uB=function(e){var t=window.getComputedStyle(e);return t.overflowX!=="hidden"&&!(t.overflowY===t.overflowX&&t.overflowX==="visible")},JS=function(e,t){var r=t;do{var n=ew(e,r);if(n){var i=tw(e,r),a=i[1],o=i[2];if(a>o)return!0}r=r.parentNode}while(r&&r!==document.body);return!1},cB=function(e){var t=e.scrollTop,r=e.scrollHeight,n=e.clientHeight;return[t,r,n]},fB=function(e){var t=e.scrollLeft,r=e.scrollWidth,n=e.clientWidth;return[t,r,n]},ew=function(e,t){return e==="v"?sB(t):uB(t)},tw=function(e,t){return e==="v"?cB(t):fB(t)},dB=function(e,t,r,n,i){var a=n,o=r.target,l=t.contains(o),s=!1,u=a>0,c=0,d=0;do{var f=tw(e,o),p=f[0],h=f[1],g=f[2],v=h-g-p;(p||v)&&ew(e,o)&&(c+=v,d+=p),o=o.parentNode}while(!l&&o!==document.body||l&&(t.contains(o)||t===o));return(u&&(i&&c===0||!i&&a>c)||!u&&(i&&d===0||!i&&-a>d))&&(s=!0),s},yh=!1;if(typeof window!="undefined")try{var sc=Object.defineProperty({},"passive",{get:function(){return yh=!0,!0}});window.addEventListener("test",sc,sc),window.removeEventListener("test",sc,sc)}catch{yh=!1}var da=yh?{passive:!1}:!1,uc=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},rw=function(e){return[e.deltaX,e.deltaY]},nw=function(e){return e&&"current"in e?e.current:e},pB=function(e,t){return e[0]===t[0]&&e[1]===t[1]},vB=function(e){return`
384
- .block-interactivity-`+e+` {pointer-events: none;}
385
- .allow-interactivity-`+e+` {pointer-events: all;}
386
- `},hB=0,pa=[];function mB(e){var t=S.useRef([]),r=S.useRef([0,0]),n=S.useRef(),i=S.useState(hB++)[0],a=S.useState(function(){return QS()})[0],o=S.useRef(e);S.useEffect(function(){o.current=e},[e]),S.useEffect(function(){if(e.inert){document.body.classList.add("block-interactivity-"+i);var g=[e.lockRef.current].concat((e.shards||[]).map(nw)).filter(Boolean);return g.forEach(function(v){return v.classList.add("allow-interactivity-"+i)}),function(){document.body.classList.remove("block-interactivity-"+i),g.forEach(function(v){return v.classList.remove("allow-interactivity-"+i)})}}},[e.inert,e.lockRef.current,e.shards]);var l=S.useCallback(function(g,v){if("touches"in g&&g.touches.length===2)return!o.current.allowPinchZoom;var m=uc(g),y=r.current,b="deltaX"in g?g.deltaX:y[0]-m[0],x="deltaY"in g?g.deltaY:y[1]-m[1],E,k=g.target,T=Math.abs(b)>Math.abs(x)?"h":"v",A=JS(T,k);if(!A)return!0;if(A?E=T:(E=T==="v"?"h":"v",A=JS(T,k)),!A)return!1;if(!n.current&&"changedTouches"in g&&(b||x)&&(n.current=E),!E)return!0;var O=n.current||E;return dB(O,v,g,O==="h"?b:x,!0)},[]),s=S.useCallback(function(g){var v=g;if(!(!pa.length||pa[pa.length-1]!==a)){var m="deltaY"in v?rw(v):uc(v),y=t.current.filter(function(E){return E.name===v.type&&E.target===v.target&&pB(E.delta,m)})[0];if(y&&y.should){v.preventDefault();return}if(!y){var b=(o.current.shards||[]).map(nw).filter(Boolean).filter(function(E){return E.contains(v.target)}),x=b.length>0?l(v,b[0]):!o.current.noIsolation;x&&v.preventDefault()}}},[]),u=S.useCallback(function(g,v,m,y){var b={name:g,delta:v,target:m,should:y};t.current.push(b),setTimeout(function(){t.current=t.current.filter(function(x){return x!==b})},1)},[]),c=S.useCallback(function(g){r.current=uc(g),n.current=void 0},[]),d=S.useCallback(function(g){u(g.type,rw(g),g.target,l(g,e.lockRef.current))},[]),f=S.useCallback(function(g){u(g.type,uc(g),g.target,l(g,e.lockRef.current))},[]);S.useEffect(function(){return pa.push(a),e.setCallbacks({onScrollCapture:d,onWheelCapture:d,onTouchMoveCapture:f}),document.addEventListener("wheel",s,da),document.addEventListener("touchmove",s,da),document.addEventListener("touchstart",c,da),function(){pa=pa.filter(function(g){return g!==a}),document.removeEventListener("wheel",s,da),document.removeEventListener("touchmove",s,da),document.removeEventListener("touchstart",c,da)}},[]);var p=e.removeScrollBar,h=e.inert;return S.createElement(S.Fragment,null,h?S.createElement(a,{styles:vB(i)}):null,p?S.createElement(lB,{gapMode:"margin"}):null)}var gB=QI(qS,mB),iw=S.forwardRef(function(e,t){return S.createElement(lc,fa({},e,{ref:t,sideCar:gB}))});iw.classNames=lc.classNames;var yB=iw,bB=function(e){if(typeof document=="undefined")return null;var t=Array.isArray(e)?e[0]:e;return t.ownerDocument.body},va=new WeakMap,cc=new WeakMap,fc={},bh=0,aw=function(e){return e&&(e.host||aw(e.parentNode))},xB=function(e,t){return t.map(function(r){if(e.contains(r))return r;var n=aw(r);return n&&e.contains(n)?n:(console.error("aria-hidden",r,"in not contained inside",e,". Doing nothing"),null)}).filter(function(r){return Boolean(r)})},SB=function(e,t,r,n){var i=xB(t,Array.isArray(e)?e:[e]);fc[r]||(fc[r]=new WeakMap);var a=fc[r],o=[],l=new Set,s=new Set(i),u=function(d){!d||l.has(d)||(l.add(d),u(d.parentNode))};i.forEach(u);var c=function(d){!d||s.has(d)||Array.prototype.forEach.call(d.children,function(f){if(l.has(f))c(f);else{var p=f.getAttribute(n),h=p!==null&&p!=="false",g=(va.get(f)||0)+1,v=(a.get(f)||0)+1;va.set(f,g),a.set(f,v),o.push(f),g===1&&h&&cc.set(f,!0),v===1&&f.setAttribute(r,"true"),h||f.setAttribute(n,"true")}})};return c(t),l.clear(),bh++,function(){o.forEach(function(d){var f=va.get(d)-1,p=a.get(d)-1;va.set(d,f),a.set(d,p),f||(cc.has(d)||d.removeAttribute(n),cc.delete(d)),p||d.removeAttribute(r)}),bh--,bh||(va=new WeakMap,va=new WeakMap,cc=new WeakMap,fc={})}},wB=function(e,t,r){r===void 0&&(r="data-aria-hidden");var n=Array.from(Array.isArray(e)?e:[e]),i=t||bB(e);return i?(n.push.apply(n,Array.from(i.querySelectorAll("[aria-live]"))),SB(n,i,r,"aria-hidden")):function(){return null}};function Sn(e,t){if(e==null)return{};var r={},n=Object.keys(e),i,a;for(a=0;a<n.length;a++)i=n[a],!(t.indexOf(i)>=0)&&(r[i]=e[i]);return r}function Ee(){return Ee=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Ee.apply(this,arguments)}var CB=["preset"],EB={slideInBottom:Ee({},Wx,{custom:{offsetY:16,reverse:!0}}),slideInRight:Ee({},Wx,{custom:{offsetX:16,reverse:!0}}),scale:Ee({},AF,{custom:{initialScale:.95,reverse:!0}}),none:{}},kB=te(Zu.section),TB=S.forwardRef(function(e,t){var r=e.preset,n=Sn(e,CB),i=EB[r];return S.createElement(kB,Ee({ref:t},i,n))}),PB=function(){function e(){this.modals=void 0,this.modals=[]}var t=e.prototype;return t.add=function(n){this.modals.push(n)},t.remove=function(n){this.modals=this.modals.filter(function(i){return i!==n})},t.isTopModal=function(n){var i=this.modals[this.modals.length-1];return i===n},e}(),xh=new PB;function _B(e,t){F.useEffect(function(){return t&&xh.add(e),function(){xh.remove(e)}},[t,e])}function OB(e){var t=e.isOpen,r=e.onClose,n=e.id,i=e.closeOnOverlayClick,a=i===void 0?!0:i,o=e.closeOnEsc,l=o===void 0?!0:o,s=e.useInert,u=s===void 0?!0:s,c=e.onOverlayClick,d=e.onEsc,f=F.useRef(null),p=F.useRef(null),h=LC(n,"chakra-modal","chakra-modal--header","chakra-modal--body"),g=h[0],v=h[1],m=h[2];AB(f,t&&u),_B(f,t);var y=F.useRef(null),b=F.useCallback(function(Z){y.current=Z.target},[]),x=F.useCallback(function(Z){Z.key==="Escape"&&(Z.stopPropagation(),l&&(r==null||r()),d==null||d())},[l,r,d]),E=F.useState(!1),k=E[0],T=E[1],A=F.useState(!1),O=A[0],B=A[1],H=F.useCallback(function(Z,K){return Z===void 0&&(Z={}),K===void 0&&(K=null),Ee({role:"dialog"},Z,{ref:Pa(K,f),id:g,tabIndex:-1,"aria-modal":!0,"aria-labelledby":k?v:void 0,"aria-describedby":O?m:void 0,onClick:Gt(Z.onClick,function(re){return re.stopPropagation()})})},[m,O,g,v,k]),G=F.useCallback(function(Z){Z.stopPropagation(),y.current===Z.target&&(!xh.isTopModal(f)||(a&&(r==null||r()),c==null||c()))},[r,a,c]),U=F.useCallback(function(Z,K){return Z===void 0&&(Z={}),K===void 0&&(K=null),Ee({},Z,{ref:Pa(K,p),onClick:Gt(Z.onClick,G),onKeyDown:Gt(Z.onKeyDown,x),onMouseDown:Gt(Z.onMouseDown,b)})},[x,b,G]);return{isOpen:t,onClose:r,headerId:v,bodyId:m,setBodyMounted:B,setHeaderMounted:T,dialogRef:f,overlayRef:p,getDialogProps:H,getDialogContainerProps:U}}function AB(e,t){var r=e.current;F.useEffect(function(){if(!(!e.current||!t))return wB(e.current)},[t,e,r])}var MB=["className","children","containerProps"],FB=["className","transition"],RB=["className"],IB=["className"],LB=["className"],BB=["onClick","className"],ow=On({strict:!0,name:"ModalContext",errorMessage:"useModalContext: `context` is undefined. Seems you forgot to wrap modal components in `<Modal />`"}),$B=ow[0],wn=ow[1],dc=function(t){var r=t.portalProps,n=t.children,i=t.autoFocus,a=t.trapFocus,o=t.initialFocusRef,l=t.finalFocusRef,s=t.returnFocusOnClose,u=t.blockScrollOnMount,c=t.allowPinchZoom,d=t.preserveScrollBarGap,f=t.motionPreset,p=t.lockFocusAcrossFrames,h=t.onCloseComplete,g=A1("Modal",t),v=OB(t),m=Ee({},v,{autoFocus:i,trapFocus:a,initialFocusRef:o,finalFocusRef:l,returnFocusOnClose:s,blockScrollOnMount:u,allowPinchZoom:c,preserveScrollBarGap:d,motionPreset:f,lockFocusAcrossFrames:p});return S.createElement($B,{value:m},S.createElement(Pk,{value:g},S.createElement($v,{onExitComplete:h},m.isOpen&&S.createElement(Eo,r,n))))};dc.defaultProps={lockFocusAcrossFrames:!0,returnFocusOnClose:!0,scrollBehavior:"outside",trapFocus:!0,autoFocus:!0,blockScrollOnMount:!0,allowPinchZoom:!1,motionPreset:"scale"},yr&&(dc.displayName="Modal");var DB=te(Zu.div),lw=Ae(function(e,t){var r=e.className,n=e.children,i=e.containerProps,a=Sn(e,MB),o=wn(),l=o.getDialogProps,s=o.getDialogContainerProps,u=l(a,t),c=s(i),d=Ne("chakra-modal__content",r),f=Un(),p=Ee({display:"flex",flexDirection:"column",position:"relative",width:"100%",outline:0},f.dialog),h=Ee({display:"flex",width:"100vw",height:"100vh","@supports(height: -webkit-fill-available)":{height:"-webkit-fill-available"},position:"fixed",left:0,top:0},f.dialogContainer),g=wn(),v=g.motionPreset;return S.createElement(sw,null,S.createElement(te.div,Ee({},c,{className:"chakra-modal__content-container",tabIndex:-1,__css:h}),S.createElement(TB,Ee({preset:v,className:d},u,{__css:p}),n)))});yr&&(lw.displayName="ModalContent");function sw(e){var t=wn(),r=t.autoFocus,n=t.trapFocus,i=t.dialogRef,a=t.initialFocusRef,o=t.blockScrollOnMount,l=t.allowPinchZoom,s=t.finalFocusRef,u=t.returnFocusOnClose,c=t.preserveScrollBarGap,d=t.lockFocusAcrossFrames,f=Pv(),p=f[0],h=f[1];return S.useEffect(function(){!p&&h&&setTimeout(h)},[p,h]),S.createElement(GL,{autoFocus:r,isDisabled:!n,initialFocusRef:a,finalFocusRef:s,restoreFocus:u,contentRef:i,lockFocusAcrossFrames:d},S.createElement(yB,{removeScrollBar:!c,allowPinchZoom:l,enabled:o,forwardProps:!0},e.children))}var uw=Ae(function(e,t){var r=e.className;e.transition;var n=Sn(e,FB),i=Ne("chakra-modal__overlay",r),a=Un(),o=Ee({pos:"fixed",left:"0",top:"0",w:"100vw",h:"100vh"},a.overlay),l=wn(),s=l.motionPreset,u=s==="none"?{}:_F;return S.createElement(DB,Ee({},u,{__css:o,ref:t,className:i},n))});yr&&(uw.displayName="ModalOverlay");var cw=Ae(function(e,t){var r=e.className,n=Sn(e,RB),i=wn(),a=i.headerId,o=i.setHeaderMounted;S.useEffect(function(){return o(!0),function(){return o(!1)}},[o]);var l=Ne("chakra-modal__header",r),s=Un(),u=Ee({flex:0},s.header);return S.createElement(te.header,Ee({ref:t,className:l,id:a},n,{__css:u}))});yr&&(cw.displayName="ModalHeader");var fw=Ae(function(e,t){var r=e.className,n=Sn(e,IB),i=wn(),a=i.bodyId,o=i.setBodyMounted;S.useEffect(function(){return o(!0),function(){return o(!1)}},[o]);var l=Ne("chakra-modal__body",r),s=Un();return S.createElement(te.div,Ee({ref:t,className:l,id:a},n,{__css:s.body}))});yr&&(fw.displayName="ModalBody");var dw=Ae(function(e,t){var r=e.className,n=Sn(e,LB),i=Ne("chakra-modal__footer",r),a=Un(),o=Ee({display:"flex",alignItems:"center",justifyContent:"flex-end"},a.footer);return S.createElement(te.footer,Ee({ref:t},n,{__css:o,className:i}))});yr&&(dw.displayName="ModalFooter");var pw=Ae(function(e,t){var r=e.onClick,n=e.className,i=Sn(e,BB),a=wn(),o=a.onClose,l=Ne("chakra-modal__close-btn",n),s=Un();return S.createElement(QF,Ee({ref:t,__css:s.closeButton,className:l,onClick:Gt(r,function(u){u.stopPropagation(),o()})},i))});yr&&(pw.displayName="ModalCloseButton");var zB=["className","children"],NB=On(),VB=NB[1],jB=te(RF),WB=Ae(function(e,t){var r=e.className,n=e.children,i=Sn(e,zB),a=wn(),o=a.getDialogProps,l=a.getDialogContainerProps,s=a.isOpen,u=o(i,t),c=l(),d=Ne("chakra-modal__content",r),f=Un(),p=Ee({display:"flex",flexDirection:"column",position:"relative",width:"100%",outline:0},f.dialog),h=Ee({display:"flex",width:"100vw",height:"100vh",position:"fixed",left:0,top:0},f.dialogContainer),g=VB(),v=g.placement;return S.createElement(te.div,Ee({},c,{className:"chakra-modal__content-container",__css:h}),S.createElement(sw,null,S.createElement(jB,Ee({direction:v,in:s,className:d},u,{__css:p}),n)))});yr&&(WB.displayName="DrawerContent");function vw(e,t){if(e==null)return{};var r={},n=Object.keys(e),i,a;for(a=0;a<n.length;a++)i=n[a],!(t.indexOf(i)>=0)&&(r[i]=e[i]);return r}function ha(){return ha=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},ha.apply(this,arguments)}var HB=vi({"0%":{strokeDasharray:"1, 400",strokeDashoffset:"0"},"50%":{strokeDasharray:"400, 400",strokeDashoffset:"-100"},"100%":{strokeDasharray:"400, 400",strokeDashoffset:"-260"}}),UB=vi({"0%":{transform:"rotate(0deg)"},"100%":{transform:"rotate(360deg)"}});vi({"0%":{left:"-40%"},"100%":{left:"100%"}}),vi({from:{backgroundPosition:"1rem 0"},to:{backgroundPosition:"0 0"}});function GB(e){var t=e.value,r=t===void 0?0:t,n=e.min,i=e.max,a=e.valueText,o=e.getValueText,l=e.isIndeterminate,s=OC(r,n,i),u=function(){if(r!=null)return Dr(o)?o(r,s):a};return{bind:{"data-indeterminate":l?"":void 0,"aria-valuemax":i,"aria-valuemin":n,"aria-valuenow":l?void 0:r,"aria-valuetext":u(),role:"progressbar"},percent:s,value:r}}var YB=["size","isIndeterminate"],XB=["size","max","min","valueText","getValueText","value","capIsRound","children","thickness","color","trackColor","isIndeterminate"],hw=function(t){return S.createElement(te.circle,ha({cx:50,cy:50,r:42,fill:"transparent"},t))},ZB=function(t){var r=t.size,n=t.isIndeterminate,i=vw(t,YB);return S.createElement(te.svg,ha({viewBox:"0 0 100 100",__css:{width:r,height:r,animation:n?UB+" 2s linear infinite":void 0}},i))},KB=function(t){var r,n=t.size,i=n===void 0?"48px":n,a=t.max,o=a===void 0?100:a,l=t.min,s=l===void 0?0:l,u=t.valueText,c=t.getValueText,d=t.value,f=t.capIsRound,p=t.children,h=t.thickness,g=h===void 0?"10px":h,v=t.color,m=v===void 0?"#0078d4":v,y=t.trackColor,b=y===void 0?"#edebe9":y,x=t.isIndeterminate,E=vw(t,XB),k=GB({min:s,max:o,value:d,valueText:u,getValueText:c,isIndeterminate:x}),T=x?void 0:((r=k.percent)!=null?r:0)*2.64,A=rC(T)?void 0:T+" "+(264-T),O=x?{css:{animation:HB+" 1.5s linear infinite"}}:{strokeDashoffset:66,strokeDasharray:A,transitionProperty:"stroke-dasharray, stroke",transitionDuration:"0.6s",transitionTimingFunction:"ease"},B={display:"inline-block",position:"relative",verticalAlign:"middle",fontSize:i};return S.createElement(te.div,ha({className:"chakra-progress"},k.bind,E,{__css:B}),S.createElement(ZB,{size:i,isIndeterminate:x},S.createElement(hw,{stroke:b,strokeWidth:g,className:"chakra-progress__track"}),S.createElement(hw,ha({stroke:m,strokeWidth:g,className:"chakra-progress__indicator",strokeLinecap:f?"round":void 0,opacity:k.value===0&&!x?0:void 0},O))),p)};te("div",{baseStyle:{fontSize:"0.24em",top:"50%",left:"50%",width:"100%",textAlign:"center",position:"absolute",transform:"translate(-50%, -50%)"}});function tr(){return tr=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},tr.apply(this,arguments)}function mw(e,t){if(e==null)return{};var r={},n=Object.keys(e),i,a;for(a=0;a<n.length;a++)i=n[a],!(t.indexOf(i)>=0)&&(r[i]=e[i]);return r}var qB={exit:{scale:.85,opacity:0,transition:{opacity:{duration:.15,easings:"easeInOut"},scale:{duration:.2,easings:"easeInOut"}}},enter:{scale:1,opacity:1,transition:{opacity:{easings:"easeOut",duration:.2},scale:{duration:.2,ease:[.175,.885,.4,1.1]}}}},QB=["openDelay","closeDelay","closeOnClick","closeOnMouseDown","closeOnEsc","onOpen","onClose","placement","id","isOpen","defaultIsOpen","arrowSize","arrowShadowColor","arrowPadding","modifiers","isDisabled","gutter","offset","direction"];function JB(e){e===void 0&&(e={});var t=e,r=t.openDelay,n=r===void 0?0:r,i=t.closeDelay,a=i===void 0?0:i,o=t.closeOnClick,l=o===void 0?!0:o,s=t.closeOnMouseDown,u=t.closeOnEsc,c=u===void 0?!0:u,d=t.onOpen,f=t.onClose,p=t.placement,h=t.id,g=t.isOpen,v=t.defaultIsOpen,m=t.arrowSize,y=m===void 0?10:m,b=t.arrowShadowColor,x=t.arrowPadding,E=t.modifiers,k=t.isDisabled,T=t.gutter,A=t.offset,O=t.direction,B=mw(t,QB),H=r0({isOpen:g,defaultIsOpen:v,onOpen:d,onClose:f}),G=H.isOpen,U=H.onOpen,Z=H.onClose,K=VI({enabled:G,placement:p,arrowPadding:x,modifiers:E,gutter:T,offset:A,direction:O}),re=K.referenceRef,ne=K.getPopperProps,Le=K.getArrowInnerProps,be=K.getArrowProps,Be=Qc(h,"tooltip"),R=S.useRef(null),D=S.useRef(),L=S.useRef(),$=S.useCallback(function(){k||(D.current=window.setTimeout(U,n))},[k,U,n]),z=S.useCallback(function(){D.current&&clearTimeout(D.current),L.current=window.setTimeout(Z,a)},[a,Z]),ee=S.useCallback(function(){l&&z()},[l,z]),de=S.useCallback(function(){s&&z()},[s,z]),xe=S.useCallback(function(ke){G&&ke.key==="Escape"&&z()},[G,z]);e0("keydown",c?xe:void 0),S.useEffect(function(){return function(){clearTimeout(D.current),clearTimeout(L.current)}},[]),e0("mouseleave",z,function(){return R.current});var We=S.useCallback(function(ke,ot){ke===void 0&&(ke={}),ot===void 0&&(ot=null);var jt=tr({},ke,{ref:Pa(R,ot,re),onMouseEnter:Gt(ke.onMouseEnter,$),onClick:Gt(ke.onClick,ee),onMouseDown:Gt(ke.onMouseDown,de),onFocus:Gt(ke.onFocus,$),onBlur:Gt(ke.onBlur,z),"aria-describedby":G?Be:void 0});return jt},[$,z,de,G,Be,ee,re]),ai=S.useCallback(function(ke,ot){var jt;return ke===void 0&&(ke={}),ot===void 0&&(ot=null),ne(tr({},ke,{style:tr({},ke.style,(jt={},jt[Je.arrowSize.var]=y?Yl(y):void 0,jt[Je.arrowShadowColor.var]=b,jt))}),ot)},[ne,y,b]),kn=S.useCallback(function(ke,ot){ke===void 0&&(ke={}),ot===void 0&&(ot=null);var jt=tr({ref:ot},B,ke,{id:Be,role:"tooltip",style:tr({},ke.style,{position:"relative",transformOrigin:Je.transformOrigin.varRef})});return jt},[B,Be]);return{isOpen:G,show:$,hide:z,getTriggerProps:We,getTooltipProps:kn,getTooltipPositionerProps:ai,getArrowProps:be,getArrowInnerProps:Le}}var e$=["children","label","shouldWrapChildren","aria-label","hasArrow","bg","portalProps","background","backgroundColor","bgColor"],t$=te(Zu.div),r$=Ae(function(e,t){var r,n,i=un("Tooltip",e),a=sn(e),o=_1(),l=a.children,s=a.label,u=a.shouldWrapChildren,c=a["aria-label"],d=a.hasArrow,f=a.bg,p=a.portalProps,h=a.background,g=a.backgroundColor,v=a.bgColor,m=mw(a,e$),y=(r=(n=h!=null?h:g)!=null?n:f)!=null?r:v;y&&(i.bg=y,i[Je.arrowBg.var]=oC(o,"colors",y));var b=JB(tr({},m,{direction:o.direction})),x=Wl(l)||u,E;if(x)E=S.createElement(te.span,tr({tabIndex:0},b.getTriggerProps()),l);else{var k=S.Children.only(l);E=S.cloneElement(k,b.getTriggerProps(k.props,k.ref))}var T=!!c,A=b.getTooltipProps({},t),O=T?Hl(A,["role","id"]):A,B=jm(A,["role","id"]);return s?S.createElement(S.Fragment,null,E,S.createElement($v,null,b.isOpen&&S.createElement(Eo,p,S.createElement(te.div,tr({},b.getTooltipPositionerProps(),{__css:{zIndex:i.zIndex,pointerEvents:"none"}}),S.createElement(t$,tr({variants:qB},O,{initial:"exit",animate:"enter",exit:"exit",__css:i}),s,T&&S.createElement(Yx,B,c),d&&S.createElement(te.div,{"data-popper-arrow":!0,className:"chakra-tooltip__arrow-wrapper"},S.createElement(te.div,{"data-popper-arrow-inner":!0,className:"chakra-tooltip__arrow",__css:{bg:i.bg}}))))))):S.createElement(S.Fragment,null,l)}),n$=Dk;n$.defaultProps={theme:lb};function i$(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];var n=[].concat(t),i=t[t.length-1];return R9(i)&&n.length>1?n=n.slice(0,n.length-1):i=lb,EC.apply(void 0,n.map(function(a){return function(o){return Dr(a)?a(o):a$(o,a)}}))(i)}function a$(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return Ot.apply(void 0,[{}].concat(t,[gw]))}function gw(e,t,r,n){if((Dr(e)||Dr(t))&&Object.prototype.hasOwnProperty.call(n,r))return function(){var i=Dr(e)?e.apply(void 0,arguments):e,a=Dr(t)?t.apply(void 0,arguments):t;return Ot({},i,a,gw)}}const pc={deepSkyBlue:"#0189FF",azureRadiance:"#017BE5",blueGrey:"#60798E",veryLightBlue:"#E0EEFA",linkWater:"#C7DEF2",ziggurat:"#B0CFE0"},ni={main:pc,secondary:{pumpkin:"#FF7A14",polishedBronze:"#CD7F32",cornsilk:"#FFF5DF",linen:"#F8ECE0"},alert:{deepSkyBlue:pc.deepSkyBlue,veryLightBlue:pc.veryLightBlue,jadeGreen:"#28A745",ice:"#E9F6EC",red:"#CC0000",veryLightPinkThree:"#F9DFDF",orangeyYelow:"#F5A623",pale:"#FDEED6"},icon:{cetaceanBlue:"#08044F",deepSkyBlue:pc.deepSkyBlue,lightSeaGreen:"#1EBDAF",orangeRed:"#FF554D",ripeMango:"#FFBC27"},neutral:{darkCharcoal:"#2F2F2F",davysGrey:"#5C5C5C",gray:"#808080",spanishGrey:"#999999",silverSand:"#C6C6C6",platinum:"#E8E8E8",cultured:"#F4F4F4",cultured2:"#F8F8F8",white:"#FFFFFF"}},o$={global:e=>({".react-ripples":{h:"100%",display:"grid!important"},".chakra-button":{borderStyle:"none"},".chakra-modal__content-container":{padding:"1.87rem",zIndex:"1400",justifyContent:"center",alignItems:"center",overflow:"auto"},".chakra-modal__content":{borderRadius:"0.5rem",background:"white",color:"inherit",zIndex:"1400",maxWidth:"36.813rem",boxShadow:"0px 4px 16px rgba(92, 92, 92, 0.2)"},".chakra-modal__header":{paddingInlineStart:"1.5rem",paddingInlineEnd:"1.5rem",fontSize:"1.25rem",fontWeight:"700",textAlign:"center",".chakra-icon":{width:"13rem"}},".chakra-modal__close-btn":{width:"2rem",height:"2rem",borderRadius:"0.5rem",fontSize:"0.75rem",position:"absolute",top:"0.5rem",right:"0.75rem",color:"#60798E",backgroundColor:"transparent",borderStyle:"none"}})},gl="solid .063rem",l$={borders:{normal:`${gl} ${ni.neutral.darkCharcoal}`,light:`${gl} ${ni.neutral.platinum}`,active:`${gl} ${ni.main.deepSkyBlue}`,success:`${gl} ${ni.alert.jadeGreen}`,error:`${gl} ${ni.alert.red}`,white:`solid .125rem ${ni.neutral.white}`},radii:{small:".25rem",big:".5rem",rounded:"50%"},shadows:{sm:"0 .125rem .5rem 0 rgba(0,0,0,.20)",md:"0 .25rem 1rem 0 rgba(0,0,0,.20)",lg:"0 .5rem 2rem 0 rgba(0,0,0,.20)"},space:{xxs:".25rem",xs:".5rem",s:"1rem",m:"1.5rem",l:"2rem",xl:"3rem",xxl:"5rem"}};var kz="",Tz="",Pz="",_z="",Oz="";const s$=i$({colors:ni,...l$,...{fonts:{body:"Roboto",outstanding:"Lora"}},styles:o$}),W=e=>`var(--chakra-${e})`;function vc({children:e,bg:t=W("colors-icon-ripeMango"),color:r=W("colors-neutral-darkCharcoal"),size:n="md",m:i="0"}){const a={md:{borderRadius:"0.25em",fontWeight:"400",p:"0.25em 0.84em"},sm:{borderRadius:"0.42em",fontWeight:"700",p:"0.17em 0.67em"}};return C(ge,{bg:t,borderRadius:a[n].borderRadius,color:r,display:"inline-block",fontSize:"0.75rem",fontWeight:a[n].fontWeight,lineHeight:".875rem",m:i,p:a[n].p,children:e})}function yw({value:e=0}){let t=e;return e>100?t=100:e<0&&(t=0),C(KB,{size:"1rem",value:t,thickness:"1rem",color:W("colors-main-deepSkyBlue"),trackColor:W("colors-neutral-platinum")})}var u$=globalThis&&globalThis.__extends||function(){var e=function(t,r){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,i){n.__proto__=i}||function(n,i){for(var a in i)i.hasOwnProperty(a)&&(n[a]=i[a])},e(t,r)};return function(t,r){e(t,r);function n(){this.constructor=t}t.prototype=r===null?Object.create(r):(n.prototype=r.prototype,new n)}}(),ma=globalThis&&globalThis.__assign||function(){return ma=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++){t=arguments[r];for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i])}return e},ma.apply(this,arguments)},c$=globalThis&&globalThis.__rest||function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,n=Object.getOwnPropertySymbols(e);i<n.length;i++)t.indexOf(n[i])<0&&Object.prototype.propertyIsEnumerable.call(e,n[i])&&(r[n[i]]=e[n[i]]);return r},f$={position:"relative",display:"inline-flex",overflow:"hidden"},d$=function(e){e===void 0&&(e={});var t;return t=function(r){u$(n,r);function n(i){var a=r.call(this,i)||this;return a.timer=0,a.onClick=function(o){var l=a.props,s=l.during,u=l.onClick,c=l.color;o.stopPropagation();var d=o.pageX,f=o.pageY,p=o.currentTarget,h=p.getBoundingClientRect(),g=d-(h.left+window.scrollX),v=f-(h.top+window.scrollY),m=Math.max(h.width,h.height);a.setState(function(y){return{rippleStyle:ma({},y.rippleStyle,{left:g,top:v,opacity:1,transform:"translate(-50%, -50%)",transition:"initial",backgroundColor:c})}},function(){a.timer=setTimeout(function(){a.setState(function(y){return{rippleStyle:ma({},y.rippleStyle,{opacity:0,transform:"scale("+m/9+")",transition:"all "+s+"ms"})}})},50)}),u&&u(o)},a.state={rippleStyle:{position:"absolute",borderRadius:"50%",opacity:0,width:35,height:35,transform:"translate(-50%, -50%)",pointerEvents:"none"}},a}return n.prototype.componentWillUnmount=function(){clearTimeout(this.timer)},n.prototype.render=function(){var i=this.props,a=i.children;i.during,i.color,i.onClick;var o=i.className,l=c$(i,["children","during","color","onClick","className"]),s=this.state.rippleStyle;return $r.default.createElement("div",ma({},l,{className:("react-ripples "+o).trim(),style:f$,onClick:this.onClick}),a,$r.default.createElement("s",{style:s}))},n}($r.default.PureComponent),t.displayName="Ripples",t.propTypes={during:rc.number,color:rc.string,onClick:rc.func,className:rc.string},t.defaultProps=ma({during:600,color:"rgba(0, 0, 0, .3)",className:"",onClick:function(){}},e),t},Sh=globalThis&&globalThis.__assign||function(){return Sh=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++){t=arguments[r];for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i])}return e},Sh.apply(this,arguments)},p$=function(e){return function(t){return $r.default.createElement(e,Sh({},t))}},bw=p$(d$());function wh({children:e,color:t="rgba(204,204,204,0.2)"}){return C(bw,{during:1e3,color:t,children:C(ge,{children:e})})}function ye({w:e="1rem",h:t="1rem",color:r=W("colors-main-ziggurat"),m:n="0",viewBox:i="0 0 16 16",children:a,title:o}){return J(ub,{w:e,h:t,viewBox:i,color:r,m:n,children:[J("title",{children:["icon",o&&`-${o}`]}),a]})}function Ch(e){return J(ye,{...e,w:"16px",h:"16px",viewBox:"0 0 16 16",title:"academicRecord",children:[C("path",{d:"M14 0H2C1.73478 0 1.48043 0.105357 1.29289 0.292893C1.10536 0.48043 1 0.734784 1 1V7C1 7.26522 1.10536 7.51957 1.29289 7.70711C1.48043 7.89464 1.73478 8 2 8H14C14.2652 8 14.5196 7.89464 14.7071 7.70711C14.8946 7.51957 15 7.26522 15 7V1C15 0.734784 14.8946 0.48043 14.7071 0.292893C14.5196 0.105357 14.2652 0 14 0V0Z",fill:"currentColor"}),C("path",{d:"M15 10H1V12H15V10Z",fill:"currentColor"}),C("path",{d:"M15 14H1V16H15V14Z",fill:"currentColor"})]})}Ch.displayName="AcademicRecord";function Eh(e){return C(ye,{...e,children:J("svg",{width:"53",height:"45",viewBox:"0 0 53 45",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[C("path",{d:"M22.142 44.1483C34.0945 44.1483 43.784 34.4588 43.784 22.5063C43.784 10.5537 34.0945 0.864258 22.142 0.864258C10.1895 0.864258 0.5 10.5537 0.5 22.5063C0.5 34.4588 10.1895 44.1483 22.142 44.1483Z",fill:"#FDEED6"}),C("path",{d:"M19 24.1013C19.8284 24.1013 20.5 23.4297 20.5 22.6013C20.5 21.7729 19.8284 21.1013 19 21.1013C18.1716 21.1013 17.5 21.7729 17.5 22.6013C17.5 23.4297 18.1716 24.1013 19 24.1013Z",fill:"#FFBC27"}),C("path",{d:"M24 24.1013C24.8284 24.1013 25.5 23.4297 25.5 22.6013C25.5 21.7729 24.8284 21.1013 24 21.1013C23.1716 21.1013 22.5 21.7729 22.5 22.6013C22.5 23.4297 23.1716 24.1013 24 24.1013Z",fill:"#FFBC27"}),C("path",{d:"M29 24.1013C29.8284 24.1013 30.5 23.4297 30.5 22.6013C30.5 21.7729 29.8284 21.1013 29 21.1013C28.1716 21.1013 27.5 21.7729 27.5 22.6013C27.5 23.4297 28.1716 24.1013 29 24.1013Z",fill:"#FFBC27"}),C("path",{d:"M44.178 13.8843C41.157 8.63532 35.491 5.10132 29 5.10132C19.335 5.10132 11.5 12.9363 11.5 22.6013C11.5 32.2663 19.335 40.1013 29 40.1013C35.108 40.1013 40.484 36.9723 43.615 32.2303",stroke:"#808080",strokeWidth:"2",strokeLinecap:"round"}),C("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M49.282 13.9192C50.6627 13.9192 51.782 15.0385 51.782 16.4192V20.9862C51.782 22.3669 50.6627 23.4862 49.282 23.4862C47.9013 23.4862 46.782 22.3669 46.782 20.9862V16.4192C46.782 15.0385 47.9013 13.9192 49.282 13.9192ZM47.5143 25.6514C48.4906 24.6751 50.0735 24.6751 51.0498 25.6515L51.0958 25.6975C52.0721 26.6738 52.072 28.2567 51.0957 29.233C50.1194 30.2093 48.5365 30.2093 47.5602 29.2329L47.5142 29.1869C46.5379 28.2106 46.5379 26.6277 47.5143 25.6514Z",fill:"#FFBC27"})]})})}Eh.displayName="ArrowRight";function kh(e){return J(ye,{...e,children:[J("g",{clipPath:"url(#clip0)",children:[C("mask",{id:"mask0",style:{maskType:"alpha"},width:"16",height:"16",x:"0",y:"0",maskUnits:"userSpaceOnUse",children:C("path",{fill:"#fff",d:"M16 16H32V32H16z",transform:"rotate(180 16 16)"})}),C("g",{mask:"url(#mask0)",children:C("path",{fill:"currentColor",d:"M6.074 14L12 8 6.074 2 4 4.1 7.852 8 4 11.9 6.074 14z"})})]}),C("defs",{children:C("clipPath",{id:"clip0",children:C("path",{fill:"#fff",d:"M0 0H16V16H0z"})})})]})}kh.displayName="ArrowRight";function Th(e){return J(ye,{...e,children:[C("path",{fill:"currentColor",d:"M7 4H9V6H7z"}),C("path",{fill:"currentColor",fillRule:"evenodd",d:"M13 8h2a1 1 0 011 1v6a1 1 0 01-1 1H9v-4H7v4H1a1 1 0 01-1-1V9a1 1 0 011-1h2V4.618l-.553.277a1 1 0 01-.894-1.79l6-3a1 1 0 01.894 0l6 3a1 1 0 11-.894 1.79L13 4.618V8zM3 13h2v-3H3v3zm2-5V4a.98.98 0 00-.07-.347L8 2.118l3.07 1.535A.98.98 0 0011 4v4H5zm6 5h2v-3h-2v3z",clipRule:"evenodd"})]})}Th.displayName="Certificate";function Ph(e){return C(ye,{...e,children:C("path",{fill:"currentColor",fillRule:"evenodd",d:"M0 8c0-4.4 3.6-8 8-8s8 3.6 8 8-3.6 8-8 8-8-3.6-8-8zm3.6 0L7 11.4 12.4 6 11 4.6l-4 4-2-2L3.6 8z",clipRule:"evenodd"})})}Ph.displayName="CircularCheck";function hc(e){return C(ye,{...e,children:C("path",{fill:"currentColor",fillRule:"evenodd",d:"M8 0C3.6 0 0 3.6 0 8s3.6 8 8 8 8-3.6 8-8-3.6-8-8-8zM7 12V7h2v5H7zm0-7c0 .6.4 1 1 1s1-.4 1-1-.4-1-1-1-1 .4-1 1z",clipRule:"evenodd"})})}hc.displayName="CircularInformation";function _h(e){return J(ye,{...e,w:"16px",h:"16px",viewBox:"0 0 16 16",children:[C("path",{d:"M7.99998 12C8.29998 12 8.49998 11.9 8.69998 11.7L14.4 6L13 4.6L8.99998 8.6V0H6.99998V8.6L2.99998 4.6L1.59998 6L7.29998 11.7C7.49998 11.9 7.69998 12 7.99998 12Z",fill:"currentColor"}),C("path",{d:"M15 14H1V16H15V14Z",fill:"currentColor"})]})}_h.displayName="Download";function Oh(e){return C(ye,{...e,w:"8px",h:"16px",viewBox:"0 0 8 16",title:"goAhead",children:C("path",{d:"M2.07407 12L8 6L2.07407 5.18061e-07L-8.65485e-07 2.1L3.85185 6L-1.83588e-07 9.9L2.07407 12V12Z",fill:"currentColor"})})}Oh.displayName="GoAhead";function Ah(e){return C(ye,{...e,w:"8px",h:"16px",viewBox:"0 0 8 16",title:"goBack",children:C("path",{d:"M5.92593 2L0 8L5.92593 14L8 11.9L4.14815 8L8 4.1L5.92593 2Z",fill:"currentColor"})})}Ah.displayName="GoBack";function Mh(e){return J(ye,{...e,w:"12px",viewBox:"0 0 14 14",title:"multimedia",children:[C("path",{d:"M3 6C4.65685 6 6 4.65685 6 3C6 1.34315 4.65685 0 3 0C1.34315 0 0 1.34315 0 3C0 4.65685 1.34315 6 3 6Z",fill:"currentColor"}),C("path",{d:"M11 6C12.6569 6 14 4.65685 14 3C14 1.34315 12.6569 0 11 0C9.34315 0 8 1.34315 8 3C8 4.65685 9.34315 6 11 6Z",fill:"currentColor"}),C("path",{d:"M3 14C4.65685 14 6 12.6569 6 11C6 9.34315 4.65685 8 3 8C1.34315 8 0 9.34315 0 11C0 12.6569 1.34315 14 3 14Z",fill:"currentColor"}),C("path",{d:"M11 14C12.6569 14 14 12.6569 14 11C14 9.34315 12.6569 8 11 8C9.34315 8 8 9.34315 8 11C8 12.6569 9.34315 14 11 14Z",fill:"currentColor"})]})}Mh.displayName="Multimedia";function xw({fill:e="#fff"}){return C("div",{className:"loaderAsync","data-testid":"loaderAsync",children:J("svg",{id:"prefix__eXySq0EBKm11",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 38 20",shapeRendering:"geometricPrecision",textRendering:"geometricPrecision",width:38,height:20,children:[C("style",{dangerouslySetInnerHTML:{__html:"@keyframes eXySq0EBKm12_f_o{0%,33.333333%,to{fill-opacity:.4}66.666667%{fill-opacity:1;animation-timing-function:cubic-bezier(.42,0,.58,1)}}@keyframes eXySq0EBKm13_f_o{0%,66.666667%,to{fill-opacity:.4}33.333333%{fill-opacity:1;animation-timing-function:cubic-bezier(.42,0,.58,1)}}@keyframes eXySq0EBKm14_f_o{0%{fill-opacity:1;animation-timing-function:cubic-bezier(.42,0,.58,1)}33.333333%,66.666667%{fill-opacity:.4}to{fill-opacity:1}}"}}),C("circle",{r:2.502,transform:"translate(29.526 10)",fill:e,fillOpacity:.4,style:{animation:"eXySq0EBKm12_f_o 600ms linear infinite normal forwards"}}),C("circle",{r:2.502,transform:"translate(19 10)",fill:e,fillOpacity:.4,style:{animation:"eXySq0EBKm13_f_o 600ms linear infinite normal forwards"}}),C("circle",{r:2.053,transform:"matrix(1.21764 0 0 1.21764 8.562 10.002)",fill:e,style:{animation:"eXySq0EBKm14_f_o 600ms linear infinite normal forwards"}})]})})}function Fh(e){return C(ye,{...e,viewBox:"0 0 12 12",w:"12px",title:"profile",children:C("path",{fill:"currentColor",d:"M5 6a3 3 0 100-6 3 3 0 000 6zM5 7c-3.375 0-5 2.106-5 3.333V11a1 1 0 001 1h8a1 1 0 001-1v-.667C10 9.106 8.375 7 5 7z"})})}Fh.displayName="Profile";function Rh(e){return J(ye,{...e,children:[C("path",{fill:"currentColor",fillRule:"evenodd",d:"M13 2h2a1 1 0 011 1v12a1 1 0 01-1 1H1a1 1 0 01-1-1V3a1 1 0 011-1h2V0h2v2h2V0h2v2h2V0h2v2zM2 14h12V5H2v9z",clipRule:"evenodd"}),C("path",{fill:"currentColor",d:"M4 7H6V9H4z"}),C("path",{fill:"currentColor",d:"M7 7H9V9H7z"}),C("path",{fill:"currentColor",d:"M4 10H6V12H4z"}),C("path",{fill:"currentColor",d:"M7 10H9V12H7z"}),C("path",{fill:"currentColor",d:"M10 7H12V9H10z"}),C("path",{fill:"currentColor",d:"M10 10H12V12H10z"})]})}Rh.displayName="Schedule";function Ih(e){return J(ye,{...e,w:"12px",h:"12px",viewBox:"0 0 12 12",children:[C("circle",{cx:"6",cy:"6",r:"6",fill:"#0189FF"}),C("path",{d:"M7 6H5V10H7V6Z",fill:"white"}),C("path",{d:"M6 4C6.55228 4 7 3.55228 7 3C7 2.44772 6.55228 2 6 2C5.44772 2 5 2.44772 5 3C5 3.55228 5.44772 4 6 4Z",fill:"white"})]})}Ih.displayName="TinyAlertInfo";function Lh(e){return J(ye,{...e,w:"12px",h:"12px",viewBox:"0 0 12 12",children:[J("g",{clipPath:"url(#clip0_2165_6683)",children:[C("circle",{cx:"6",cy:"6",r:"6",fill:"#CC0000"}),C("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3.87867 2.46447L2.46446 3.87868L4.58578 6L2.46446 8.12132L3.87867 9.53553L5.99999 7.41421L8.12131 9.53553L9.53553 8.12132L7.41421 6L9.53553 3.87868L8.12131 2.46447L5.99999 4.58579L3.87867 2.46447Z",fill:"white"})]}),C("defs",{children:C("clipPath",{id:"clip0_2165_6683",children:C("rect",{width:"12px",height:"12px",fill:"white"})})})]})}Lh.displayName="TinyAlertError";function Bh(e){return J(ye,{...e,w:"12px",h:"12px",viewBox:"0 0 12 12",children:[C("circle",{cx:"6",cy:"6",r:"6",fill:"#F5A623"}),C("path",{d:"M5 6L7 6L7 2L5 2L5 6Z",fill:"white"}),C("path",{d:"M6 8C5.44771 8 5 8.44772 5 9C5 9.55228 5.44772 10 6 10C6.55228 10 7 9.55228 7 9C7 8.44772 6.55228 8 6 8Z",fill:"white"})]})}Bh.displayName="TinyAlertWarning";function $h(e){return J(ye,{...e,w:"12px",h:"12px",viewBox:"0 0 12 12",children:[J("g",{clipPath:"url(#clip0_2191_1138)",children:[C("circle",{cx:"6",cy:"6",r:"6",fill:"#28A745"}),C("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3.41421 5.53549L2 6.94971L3.41421 8.36392L4.82843 9.77813L9.77817 4.82839L8.36396 3.41417L4.82843 6.94971L3.41421 5.53549Z",fill:"white"})]}),C("defs",{children:C("clipPath",{id:"clip0_2191_1138",children:C("rect",{width:"12",height:"12",fill:"white"})})})]})}$h.displayName="TinyAlertSuccess";function Dh(e){return C(ye,{...e,w:"14px",h:"16px",viewBox:"0 0 14 16",title:"password",children:C("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7 0C4.95714 0 3.28571 1.67143 3.28571 3.71429V4.64286H1.42857C0.871429 4.64286 0.5 5.01429 0.5 5.57143V13.9286C0.5 14.4857 0.871429 14.8571 1.42857 14.8571H12.5714C13.1286 14.8571 13.5 14.4857 13.5 13.9286V5.57143C13.5 5.01429 13.1286 4.64286 12.5714 4.64286H10.7143V3.71429C10.7143 1.67143 9.04286 0 7 0ZM7.92857 10.8643V12.0714H6.07143V10.8643C5.51429 10.5857 5.14286 9.93571 5.14286 9.28571C5.14286 8.26429 5.97857 7.42857 7 7.42857C8.02143 7.42857 8.85714 8.26429 8.85714 9.28571C8.85714 9.93571 8.48571 10.5857 7.92857 10.8643ZM5.14286 3.71429V4.64286H8.85714V3.71429C8.85714 2.69286 8.02143 1.85714 7 1.85714C5.97857 1.85714 5.14286 2.69286 5.14286 3.71429Z",fill:"currentColor"})})}Dh.displayName="Password";function zh(e){return J(ye,{...e,w:"16px",h:"16px",viewBox:"0 0 16 16",title:"pen",children:[C("path",{d:"M8.1 3.5L0.3 11.3C0.1 11.5 0 11.7 0 12V15C0 15.6 0.4 16 1 16H4C4.3 16 4.5 15.9 4.7 15.7L12.5 7.9L8.1 3.5Z",fill:"currentColor"}),C("path",{d:"M15.7 3.3L12.7 0.3C12.3 -0.1 11.7 -0.1 11.3 0.3L9.5 2.1L13.9 6.5L15.7 4.7C16.1 4.3 16.1 3.7 15.7 3.3Z",fill:"currentColor"})]})}zh.displayName="Pen";function Nh(e){return C(ye,{...e,w:"16px",h:"16px",viewBox:"0 0 16 16",title:"plusSign",children:C("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M0 8C0 3.6 3.6 0 8 0C12.4 0 16 3.6 16 8C16 12.4 12.4 16 8 16C3.6 16 0 12.4 0 8ZM9 9H12V7H9V4H7V7H4V9H7V12H9V9Z",fill:"currentColor"})})}Nh.displayName="PlusSign";function Vh(e){return J(ye,{...e,w:"16px",h:"16px",viewBox:"0 0 16 16",title:"trashCan",children:[C("path",{d:"M2 6V14C2 15.1 2.9 16 4 16H12C13.1 16 14 15.1 14 14V6H2Z",fill:"currentColor"}),C("path",{d:"M12 3V1C12 0.4 11.6 0 11 0H5C4.4 0 4 0.4 4 1V3H0V5H16V3H12ZM10 3H6V2H10V3Z",fill:"currentColor"})]})}Vh.displayName="TrashCan";function jh(e){return C(ye,{...e,w:"16px",h:"16px",viewBox:"0 0 16 16",title:"textBubble",children:C("path",{d:"M1 0H15C15.552 0 16 0.448 16 1V11C16 11.552 15.552 12 15 12H10L4 16V12H1C0.448 12 0 11.552 0 11V1C0 0.448 0.448 0 1 0Z",fill:"currentColor"})})}jh.displayName="TextBubble";function Wh(e){return C(ye,{...e,w:"52",h:"45",viewBox:"0 0 52 45",children:J("svg",{fill:"none",children:[C("path",{d:"M21.642 44.2419C33.5945 44.2419 43.284 34.5524 43.284 22.5999C43.284 10.6473 33.5945 0.957886 21.642 0.957886C9.68945 0.957886 0 10.6473 0 22.5999C0 34.5524 9.68945 44.2419 21.642 44.2419Z",fill:"white"}),C("path",{d:"M18.5 24.1949C19.3284 24.1949 20 23.5233 20 22.6949C20 21.8665 19.3284 21.1949 18.5 21.1949C17.6716 21.1949 17 21.8665 17 22.6949C17 23.5233 17.6716 24.1949 18.5 24.1949Z",fill:"#CC0000"}),C("path",{d:"M23.5 24.1949C24.3284 24.1949 25 23.5233 25 22.6949C25 21.8665 24.3284 21.1949 23.5 21.1949C22.6716 21.1949 22 21.8665 22 22.6949C22 23.5233 22.6716 24.1949 23.5 24.1949Z",fill:"#CC0000"}),C("path",{d:"M28.5 24.1949C29.3284 24.1949 30 23.5233 30 22.6949C30 21.8665 29.3284 21.1949 28.5 21.1949C27.6716 21.1949 27 21.8665 27 22.6949C27 23.5233 27.6716 24.1949 28.5 24.1949Z",fill:"#CC0000"}),C("path",{d:"M43.678 13.9779C40.657 8.72889 34.991 5.19489 28.5 5.19489C18.835 5.19489 11 13.0299 11 22.6949C11 32.3599 18.835 40.1949 28.5 40.1949C34.608 40.1949 39.984 37.0659 43.115 32.3239",stroke:"#808080",strokeWidth:"2",strokeLinecap:"round"}),C("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M35.5862 15.7811C36.5625 14.8048 38.1455 14.8048 39.1218 15.7811L43.2105 19.8699L47.2992 15.7811C48.2755 14.8048 49.8585 14.8048 50.8348 15.7811C51.8111 16.7574 51.8111 18.3403 50.8348 19.3167L46.746 23.4054L50.8348 27.4941C51.8111 28.4704 51.8111 30.0533 50.8348 31.0297C49.8585 32.006 48.2755 32.006 47.2992 31.0297L43.2105 26.9409L39.1218 31.0297C38.1455 32.006 36.5625 32.006 35.5862 31.0297C34.6099 30.0533 34.6099 28.4704 35.5862 27.4941L39.675 23.4054L35.5862 19.3167C34.6099 18.3403 34.6099 16.7574 35.5862 15.7811Z",fill:"#CC0000"})]})})}Wh.displayName="ErrorWhite";function Hh(e){return C(ye,{...e,w:"53",h:"45",viewBox:"0 0 53 45",title:"infoIcon",children:J("svg",{fill:"none",children:[C("path",{d:"M21.642 44.047C33.5945 44.047 43.284 34.3575 43.284 22.405C43.284 10.4525 33.5945 0.763 21.642 0.763C9.68945 0.763 0 10.4525 0 22.405C0 34.3575 9.68945 44.047 21.642 44.047Z",fill:"white"}),C("path",{d:"M18.5 24C19.3284 24 20 23.3284 20 22.5C20 21.6716 19.3284 21 18.5 21C17.6716 21 17 21.6716 17 22.5C17 23.3284 17.6716 24 18.5 24Z",fill:"#0189FF"}),C("path",{d:"M23.5 24C24.3284 24 25 23.3284 25 22.5C25 21.6716 24.3284 21 23.5 21C22.6716 21 22 21.6716 22 22.5C22 23.3284 22.6716 24 23.5 24Z",fill:"#0189FF"}),C("path",{d:"M28.5 24C29.3284 24 30 23.3284 30 22.5C30 21.6716 29.3284 21 28.5 21C27.6716 21 27 21.6716 27 22.5C27 23.3284 27.6716 24 28.5 24Z",fill:"#0189FF"}),C("path",{d:"M43.678 13.783C40.657 8.534 34.991 5 28.5 5C18.835 5 11 12.835 11 22.5C11 32.165 18.835 40 28.5 40C34.608 40 39.984 36.871 43.115 32.129",stroke:"#808080",strokeWidth:"2",strokeLinecap:"round"}),C("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M47 21H50C50.2652 21 50.5196 21.1054 50.7071 21.2929C50.8946 21.4804 51 21.7348 51 22V29.045H51.237C51.4908 29.0531 51.7316 29.1597 51.9082 29.3421C52.0849 29.5245 52.1837 29.7685 52.1837 30.0225C52.1837 30.2765 52.0849 30.5205 51.9082 30.7029C51.7316 30.8853 51.4908 30.9919 51.237 31H46.977C46.7232 30.9919 46.4824 30.8853 46.3058 30.7029C46.1291 30.5205 46.0303 30.2765 46.0303 30.0225C46.0303 29.7685 46.1291 29.5245 46.3058 29.3421C46.4824 29.1597 46.7232 29.0531 46.977 29.045H47V23.123C46.7348 23.123 46.4804 23.0176 46.2929 22.8301C46.1054 22.6426 46 22.3882 46 22.123V22C46 21.7348 46.1054 21.4804 46.2929 21.2929C46.4804 21.1054 46.7348 21 47 21Z",fill:"#0189FF"}),C("path",{d:"M49 19C50.3807 19 51.5 17.8807 51.5 16.5C51.5 15.1193 50.3807 14 49 14C47.6193 14 46.5 15.1193 46.5 16.5C46.5 17.8807 47.6193 19 49 19Z",fill:"#0189FF"})]})})}Hh.displayName="InfoWhite";function Uh(e){return C(ye,{...e,w:"57",h:"45",viewBox:"0 0 57 45",children:J("svg",{fill:"none",children:[C("path",{d:"M21.642 44.094C33.5945 44.094 43.284 34.4045 43.284 22.452C43.284 10.4995 33.5945 0.809998 21.642 0.809998C9.68945 0.809998 0 10.4995 0 22.452C0 34.4045 9.68945 44.094 21.642 44.094Z",fill:"white"}),C("path",{d:"M43.678 13.83C40.657 8.581 34.991 5.047 28.5 5.047C18.835 5.047 11 12.882 11 22.547C11 32.212 18.835 40.047 28.5 40.047C34.608 40.047 39.984 36.918 43.115 32.176",stroke:"#808080",strokeWidth:"2",strokeLinecap:"round"}),C("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M56.0248 12.8232C57.0011 13.7995 57.0011 15.3825 56.0248 16.3588L44.3118 28.0718C43.8429 28.5406 43.207 28.804 42.544 28.804C41.881 28.804 41.2451 28.5406 40.7762 28.0718L34.2322 21.5278C33.2559 20.5515 33.2559 18.9685 34.2322 17.9922C35.2085 17.0159 36.7915 17.0159 37.7678 17.9922L42.544 22.7685L52.4892 12.8232C53.4655 11.8469 55.0485 11.8469 56.0248 12.8232Z",fill:"#28A745"}),C("path",{d:"M18.5 24.047C19.3284 24.047 20 23.3754 20 22.547C20 21.7186 19.3284 21.047 18.5 21.047C17.6716 21.047 17 21.7186 17 22.547C17 23.3754 17.6716 24.047 18.5 24.047Z",fill:"#28A745"}),C("path",{d:"M23.5 24.047C24.3284 24.047 25 23.3754 25 22.547C25 21.7186 24.3284 21.047 23.5 21.047C22.6716 21.047 22 21.7186 22 22.547C22 23.3754 22.6716 24.047 23.5 24.047Z",fill:"#28A745"}),C("path",{d:"M28.5 24.047C29.3284 24.047 30 23.3754 30 22.547C30 21.7186 29.3284 21.047 28.5 21.047C27.6716 21.047 27 21.7186 27 22.547C27 23.3754 27.6716 24.047 28.5 24.047Z",fill:"#28A745"})]})})}Uh.displayName="SuccessWhite";function Gh(e){return C(ye,{...e,w:"52",h:"45",viewBox:"0 0 52 45",children:J("svg",{fill:"none",children:[C("path",{d:"M21.642 44.282C33.5945 44.282 43.284 34.5925 43.284 22.64C43.284 10.6874 33.5945 0.997986 21.642 0.997986C9.68945 0.997986 0 10.6874 0 22.64C0 34.5925 9.68945 44.282 21.642 44.282Z",fill:"white"}),C("path",{d:"M18.5 24.235C19.3284 24.235 20 23.5634 20 22.735C20 21.9066 19.3284 21.235 18.5 21.235C17.6716 21.235 17 21.9066 17 22.735C17 23.5634 17.6716 24.235 18.5 24.235Z",fill:"#FFBC27"}),C("path",{d:"M23.5 24.235C24.3284 24.235 25 23.5634 25 22.735C25 21.9066 24.3284 21.235 23.5 21.235C22.6716 21.235 22 21.9066 22 22.735C22 23.5634 22.6716 24.235 23.5 24.235Z",fill:"#FFBC27"}),C("path",{d:"M28.5 24.235C29.3284 24.235 30 23.5634 30 22.735C30 21.9066 29.3284 21.235 28.5 21.235C27.6716 21.235 27 21.9066 27 22.735C27 23.5634 27.6716 24.235 28.5 24.235Z",fill:"#FFBC27"}),C("path",{d:"M43.678 14.018C40.657 8.76899 34.991 5.23499 28.5 5.23499C18.835 5.23499 11 13.07 11 22.735C11 32.4 18.835 40.235 28.5 40.235C34.608 40.235 39.984 37.106 43.115 32.364",stroke:"#808080",strokeWidth:"2",strokeLinecap:"round"}),C("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M48.782 14.053C50.1627 14.053 51.282 15.1723 51.282 16.553V21.12C51.282 22.5007 50.1627 23.62 48.782 23.62C47.4013 23.62 46.282 22.5007 46.282 21.12V16.553C46.282 15.1723 47.4013 14.053 48.782 14.053ZM47.0143 25.7852C47.9906 24.8089 49.5735 24.8089 50.5498 25.7852L50.5958 25.8312C51.5721 26.8076 51.572 28.3905 50.5957 29.3668C49.6194 30.3431 48.0365 30.343 47.0602 29.3667L47.0142 29.3207C46.0379 28.3444 46.0379 26.7615 47.0143 25.7852Z",fill:"#FFBC27"})]})})}Gh.displayName="WarningWhite";function Yh(e){return C(ye,{...e,title:"close",children:C("svg",{width:"12",height:"12",viewBox:"0 0 12 12",fill:"none",children:C("path",{d:"M10.7071 1.29303C10.5196 1.10556 10.2652 1.00024 10.0001 1.00024C9.73492 1.00024 9.48061 1.10556 9.29308 1.29303L6.00008 4.58603L2.70708 1.29303C2.51848 1.11087 2.26588 1.01008 2.00368 1.01236C1.74148 1.01464 1.49067 1.1198 1.30526 1.30521C1.11985 1.49062 1.01469 1.74143 1.01241 2.00363C1.01013 2.26583 1.11092 2.51843 1.29308 2.70703L4.58608 6.00003L1.29308 9.29303C1.19757 9.38528 1.12139 9.49562 1.06898 9.61763C1.01657 9.73963 0.988985 9.87085 0.987831 10.0036C0.986677 10.1364 1.01198 10.2681 1.06226 10.391C1.11254 10.5139 1.18679 10.6255 1.28069 10.7194C1.37458 10.8133 1.48623 10.8876 1.60913 10.9379C1.73202 10.9881 1.8637 11.0134 1.99648 11.0123C2.12926 11.0111 2.26048 10.9835 2.38249 10.9311C2.50449 10.8787 2.61483 10.8025 2.70708 10.707L6.00008 7.41403L9.29308 10.707C9.48168 10.8892 9.73429 10.99 9.99648 10.9877C10.2587 10.9854 10.5095 10.8803 10.6949 10.6948C10.8803 10.5094 10.9855 10.2586 10.9878 9.99643C10.99 9.73423 10.8892 9.48163 10.7071 9.29303L7.41408 6.00003L10.7071 2.70703C10.8946 2.5195 10.9999 2.26519 10.9999 2.00003C10.9999 1.73487 10.8946 1.48056 10.7071 1.29303Z",fill:"#60798E"})})})}Yh.displayName="Close";var v$=Object.freeze(Object.defineProperty({__proto__:null,AcademicRecord:Ch,AlertInfo:Eh,ArrowRight:kh,Certificate:Th,CircularCheck:Ph,CircularInformation:hc,Download:_h,GoAhead:Oh,GoBack:Ah,Multimedia:Mh,Loader:xw,Profile:Fh,Schedule:Rh,TinyAlertInfo:Ih,TinyAlertError:Lh,TinyAlertWarning:Bh,TinyAlertSuccess:$h,Password:Dh,Pen:zh,PlusSign:Nh,TrashCan:Vh,TextBubble:jh,ErrorWhite:Wh,InfoWhite:Hh,SuccessWhite:Uh,WarningWhite:Gh,Close:Yh},Symbol.toStringTag,{value:"Module"}));function Sw({status:e,text:t,margin:r="0"}){const n={success:{icon:C($h,{}),text:"Success",bg:W("colors-alert-ice"),color:W("colors-neutral-darkCharcoal")},error:{icon:C(Lh,{}),text:"Error",bg:W("colors-alert-veryLightPinkThree"),color:W("colors-neutral-darkCharcoal")},info:{icon:C(Ih,{}),text:"Info",bg:W("colors-alert-veryLightBlue"),color:W("colors-neutral-darkCharcoal")},warning:{icon:C(Bh,{}),text:"Warning",bg:W("colors-alert-pale"),color:W("colors-neutral-darkCharcoal")},answered:{icon:void 0,text:"Answered",bg:W("colors-main-blueGrey"),color:W("colors-neutral-white")},omitted:{icon:void 0,text:"Omitted",bg:W("colors-main-ziggurat"),color:W("colors-neutral-darkCharcoal")},pending:{icon:void 0,text:"Pending",bg:W("colors-neutral-cultured"),color:W("colors-neutral-darkCharcoal")},new:{icon:void 0,text:"New answer",bg:"#FF7A14",color:W("colors-neutral-white")}};return n[e]?J(ge,{margin:r,"data-testid":"TinyAlert-Box",backgroundColor:n[e].bg,display:"flex",flexDirection:"row",alignItems:"center",padding:".125em .25em",gap:".25rem",width:"fit-content",borderRadius:".25rem",className:"TinyAlert-Box",children:[n[e].icon&&C(ge,{lineHeight:0,sx:{">svg":{margin:0}},children:n[e].icon}),C(ge,{as:"span",color:n[e].color,fontSize:".75rem",fontStyle:"normal",fontWeight:"400",fontFamily:"Roboto",lineHeight:".875rem",margin:"0",children:t!=null?t:n[e].text})]}):null}Sw.displayName="TinyAlert";function mc({bg:e,borderColorActive:t=[W("colors-main-deepSkyBlue"),W("colors-neutral-white")],children:r,color:n=W("colors-neutral-white"),disabled:i=!1,fillLoader:a=W("colors-neutral-white"),isFullWidth:o=!1,leftIcon:l,m:s="0",isLoading:u=!1,onClick:c,rightIcon:d,rounded:f=!1,size:p="regular",touchDark:h=!1,type:g="button",tabIndex:v,id:m}){var A,O,B;let y=r!=null?r:null;!r&&!d&&!l&&(y="Button");const b=".75rem",x=f?"12px":W("radii-small"),E=(A=e==null?void 0:e.main)!=null?A:W("colors-main-deepSkyBlue"),k=h?"rgba(160, 160, 160, 0.2)":"rgba(255, 255, 255, 0.2)",T=!r&&(d!=null?d:l)?"onlyIcon":"";return C(ge,{margin:s,sx:{".react-ripples":{borderRadius:x,display:`${o?"grid":"inline-flex!important"}`}},children:C(bw,{color:k,children:C(Vv,{id:m,fontWeight:"500",fontSize:p==="regular"?"medium":"small",bg:E,size:p==="regular"?"md":"sm",borderRadius:x,color:n,className:T,disabled:i&&u?!1:i,height:"auto",minHeight:p==="regular"?"2.813rem":"2rem",minWidth:p==="regular"?"9rem":"auto",lineHeight:"initial",iconSpacing:W("space-xs"),isActive:!1,isLoading:u,leftIcon:l,onClick:H=>{!u&&!i&&(c==null||c(H))},type:g,tabIndex:v,paddingTop:p==="regular"?b:W(T?"space-xs":"space-xxs"),paddingBottom:p==="regular"?b:W(T?"space-xs":"space-xxs"),paddingLeft:W(p==="regular"?"space-s":"space-xs"),paddingRight:W(p==="regular"?"space-s":"space-xs"),position:"relative",isFullWidth:o,rightIcon:d,spinner:C(xw,{fill:a}),_active:{bg:(O=e==null?void 0:e.main)!=null?O:W("colors-main-azureRadiance")},_disabled:{opacity:"50%",cursor:"not-allowed"},_focus:{boxShadow:"none"},_focusVisible:{boxShadow:`inset 0 0 0 2px ${t[0]}, inset 0 0 0 4px ${t[1]}`},_hover:{bg:(B=e==null?void 0:e.hover)!=null?B:W("colors-main-azureRadiance")},sx:{"&[data-loading]":{boxShadow:"none",cursor:"wait"},"&.onlyIcon span":{m:0},span:{h:"1rem"}},children:y})})})}mc.displayName="Btn";function Xh({children:e,disabled:t=!1,isFullWidth:r=!1,leftIcon:n,m:i="0",isLoading:a=!1,onClick:o,rightIcon:l,size:s="regular",type:u="button",tabIndex:c,id:d}){return C(mc,{id:d,disabled:t,isFullWidth:r,isLoading:a,leftIcon:n,m:i,onClick:o,rightIcon:l,size:s,type:u,tabIndex:c,children:e})}Xh.displayName="BtnPrimary";function ww({children:e,disabled:t=!1,isFullWidth:r=!1,leftIcon:n,m:i="0",isLoading:a=!1,onClick:o,rightIcon:l,size:s="regular",type:u="button",tabIndex:c,id:d}){return C(mc,{id:d,bg:{main:W("colors-main-veryLightBlue"),hover:W("colors-main-linkWater")},fillLoader:W("colors-main-deepSkyBlue"),borderColorActive:[W("colors-main-deepSkyBlue"),W("colors-neutral-white")],color:W("colors-main-deepSkyBlue"),disabled:t,isFullWidth:r,isLoading:a,leftIcon:n,m:i,onClick:o,rightIcon:l,size:s,touchDark:!0,type:u,tabIndex:c,children:e})}ww.displayName="BtnSecondary";function Cw({children:e,iconStatus:t="multimedia",rightIcon:r,withoutColor:n=!1,m:i="0",type:a="button",tabIndex:o,id:l,onClick:s}){var m;const u=W("colors-neutral-gray"),c=W("colors-main-deepSkyBlue"),d=W("colors-neutral-white"),f=n?W("colors-main-blueGrey"):c,p={ahead:C(Oh,{color:f}),answer:C(jh,{color:f}),back:C(Ah,{color:f}),delete:C(Vh,{color:f}),download:C(_h,{color:f}),edit:C(zh,{color:f}),more:C(Nh,{color:f}),multimedia:C(Mh,{color:f}),password:C(Dh,{color:f}),record:C(Ch,{color:f}),noIcon:C(Wi,{})},h=(m=p[t])!=null?m:p.multimedia,g=r?h:void 0,v=r?void 0:h;return C(Vv,{id:l,type:a,tabIndex:o,height:"24px",background:"transparent",fontFamily:"Roboto",fontStyle:"normal",fontWeight:"500",fontSize:"14px",lineHeight:"16px",textDecorationLine:"underline",borderRadius:"12px",paddingTop:W("space-xxs"),paddingBottom:W("space-xxs"),paddingLeft:W("space-xs"),paddingRight:W("space-xs"),color:u,rightIcon:g,leftIcon:v,m:i,onClick:s,_hover:{color:`${c}`},_focusVisible:{boxShadow:`inset 0 0 0 2px ${c}, inset 0 0 0 4px ${d}`},_focus:{boxShadow:"none"},_active:{bg:"transparent"},sx:{"&:hover":{"svg path":{fill:`${c}`},"@media (hover: none)":{color:`${u}`,"svg path":{fill:f}}}},children:e})}Cw.displayName="BtnTertiary";function Zh({children:e,m:t="0",onClick:r,id:n}){return C(ge,{as:"button",id:n,backgroundColor:"transparent",borderStyle:"none",className:"linkButton",width:"fit-content",padding:".25em",fontFamily:"Roboto",fontStyle:"normal",fontWeight:"500",fontSize:".875rem",lineHeight:"1rem",textDecorationLine:"underline",color:W("colors-main-deepSkyBlue"),m:t,onClick:r,_hover:{color:W("colors-neutral-darkCharcoal"),cursor:"pointer"},children:e})}Zh.displayName="BtnLink";const h$=({children:e,className:t="tooltip",label:r,isDisabled:n=!1,m:i,maxWidth:a="200px",placement:o="bottom"})=>C(r$,{sx:{bg:W("colors-neutral-darkCharcoal"),borderRadius:"10px",color:"white !important",fontSize:"12px",fontWeight:"400",maxWidth:a,padding:"8px",".chakra-tooltip__arrow":{bg:`${W("colors-neutral-darkCharcoal")} !important`}},className:t,closeOnClick:!0,label:r,m:i,hasArrow:!0,isDisabled:n,placement:o,children:C("span",{children:e})}),m$=4;function Ew(){const{background:e,labels:t,logo:r,logoAlt:n,Profile:i}=S.useContext(gc);return J(ge,{as:"header",bgImg:e,bgPos:"center",bgSize:"cover",height:"8.75rem",borderBottom:W("borders-light"),pos:"relative",children:[J(ge,{p:"1rem",children:[(i==null?void 0:i.id)!==m$&&C(vc,{bg:W("colors-neutral-white"),m:"0 0 .625rem 0",children:J(qu,{children:[C(Fh,{m:"0 .25rem 0 0"}),i==null?void 0:i.name]})}),t!==void 0&&t.length>0&&C(Jx,{direction:"row",spacing:".625rem",wrap:"wrap",children:t.map((a,o)=>C(vc,{bg:a.id==="NEW"?W("colors-secondary-pumpkin"):void 0,children:a.text},o))})]}),r!==void 0&&r.length>0&&C(qx,{pos:"absolute",bottom:"0",left:".9375rem",transform:"translateY(30%)",h:"3.5rem",border:W("borders-light"),bg:W("colors-neutral-white"),overflow:"hidden",borderRadius:W("radii-small"),w:"6.25rem",children:C(DF,{src:r,alt:n!=null?n:"logo",maxHeight:"3.5rem",maxWidth:"6.25rem"})})]})}Ew.displayName="Header";function Kh({date:e}){return e==null||e.length===0?null:C(ra,{fontSize:".75rem",color:W("colors-neutral-darkCharcoal"),m:"0",children:e})}Kh.displayName="DateStatus";function kw({type:e,progressValue:t=0}){switch(e){case"schedule":return C(Rh,{});case"certificate":return C(Th,{});case"circularCheck":return C(Ph,{});case"progress":return C(yw,{value:t});case"circularInformation":return C(hc,{});case"info":return C(hc,{});default:return null}}const g$=7;function Tw({progress:e,status:t}){return J(Wi,{children:[J(qu,{children:[C(kw,{type:e.icon,progressValue:e.progress}),C(ra,{m:"0",ml:".625rem",fontSize:".875rem",lineHeight:"1.125rem",children:e==null?void 0:e.label})]}),(t==null?void 0:t.id)===g$&&(e==null?void 0:e.finalGrade)&&(e==null?void 0:e.finalGrade.length)>0&&C(vc,{size:"sm",bg:e.isApproved?W("colors-alert-jadeGreen"):W("colors-alert-red"),color:W("colors-neutral-white"),children:e==null?void 0:e.finalGrade})]})}function Pw(){const{name:e,dateStatus:t,information:r,progress:n,status:i}=S.useContext(gc);return n==null?null:J(ge,{marginTop:"1.875rem",as:"section",p:"0 .9375rem",children:[(t==null?void 0:t.hasDates)&&J(pR,{direction:"row",divider:t.init!==void 0&&t.init.length>0&&t.end!==void 0&&n.icon!==null&&t.end.length>0?C(ge,{h:".5rem",w:"1px",bg:W("colors-neutral-silverSand"),alignSelf:"center"}):C(Wi,{}),children:[C(Kh,{date:t.init}),C(Kh,{date:t.end})]}),C(tR,{as:"h2",fontSize:"1rem",mt:".3125rem",fontWeight:"700",lineHeight:"1.3",children:e}),C(qu,{mt:"1rem",justify:"space-between",children:C(Tw,{progress:n,status:i})}),r!=null&&(r==null?void 0:r.length)>0&&C(lR,{spacing:".625rem",paddingInlineStart:"0",pt:".625rem",m:".625rem 0 0",lineHeight:".875rem",borderTop:W("borders-light"),children:r.map((a,o)=>{var l;return J(sR,{display:"flex",children:[C(kw,{type:a.icon}),C(ge,{display:"inline-block",ml:".625rem",children:a.href!==void 0&&((l=a.href)==null?void 0:l.length)>0?C(nR,{isExternal:!0,href:a.href,color:W("colors-main-deepSkyBlue"),textDecor:"underline",fontWeight:"500",fontSize:".75rem",children:a.text}):C(ra,{m:"0",color:W("colors-neutral-gray"),fontSize:".75rem",children:a.text})})]},o)})})]})}Pw.displayName="Section";const V={name:"Orientaci\xF3n en la prevenci\xF3n de contagio de COVID-19",background:"https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcT76y4DAhqWAlCspmGYWcbxSDnLw3p1FzJQKA&usqp=CAU",logo:"https://procalidad.cl/wp-content/uploads/2021/05/logo-achs.png",logoAlt:"op",status:{id:6,name:"NEXT",detail:"",style:""},Profile:{id:4,name:"Alumno"},progress:{label:"Tienes hasta el Lunes 16 de Enero para de 2022 inscribirte",icon:"schedule",progress:0,isApproved:!1,finalGrade:""},dateStatus:{hasDates:!0,init:"Inicia 17 ene 2022",end:"Finaliza 10 ene 2023"},information:[{icon:"schedule",text:"Certificado por ACHS",href:"http://google.com"},{icon:"certificate",text:"Certificado por ACHS",href:""},{icon:"circularCheck",text:"Certificado por ACHS",href:"http://google.com"},{icon:"circularInformation",text:"Certificado por ACHS",href:""}],action:{enabled:!0,text:"Tu curso a\xFAn no comienza",hasIcon:!1,href:"https://platform.eclass.io/",targetBlank:!1},labels:[{id:"OBLIGATORY",text:"Obligatorio"}]},_w={noHabilitado:{...V,id:1,hasFinanzeFreezed:!1,status:{...V.status,id:1,name:"noHabilitado"},progress:{...V.progress,label:"Inscripci\xF3n no habilitada",icon:"circularInformation"},dateStatus:{...V.dateStatus,hasDates:!1},information:null,action:{...V.action,href:"#",text:"Ver informaci\xF3n del curso"},labels:[]},inscripcionFutura:{...V,id:1,hasFinanzeFreezed:!1,status:{...V.status,id:1,name:"noHabilitado"},progress:{...V.progress,label:"Podr\xE1s inscribirte a partir del 31 de marzo de 2022",icon:"circularInformation"},dateStatus:{...V.dateStatus,hasDates:!1},information:null,action:{...V.action,href:"#",text:"Ver informaci\xF3n del curso"},labels:[{id:"NEW",text:"Nuevo"}]},inscripcionFinalizo:{...V,id:1,hasFinanzeFreezed:!1,status:{...V.status,id:1,name:"noHabilitado"},progress:{...V.progress,label:"El per\xEDodo de inscripci\xF3n finaliz\xF3 el 31 de marzo de 2022",icon:"circularInformation"},dateStatus:{...V.dateStatus,hasDates:!1},information:null,action:{...V.action,href:"#",text:"Ver informaci\xF3n del curso"},labels:[{id:"NEW",text:"Nuevo"}]},preInscripcion:{...V,logo:"https://cdn.eclass.com/img/productos/logos/logo-utec-square.jpg",background:"https://cdn.eclass.com/img/cursos/default1.png",id:2,hasFinanzeFreezed:!1,status:{...V.status,id:2,name:"preInscripcion"},progress:{...V.progress,label:"Tienes hasta el Lunes 16 de Enero para de 2022 inscribirte",icon:"schedule"},dateStatus:{...V.dateStatus,hasDates:!1},information:[{icon:"certificate",text:"Certificado por ACHS",href:""}],action:{...V.action,text:"Solicitar inscripci\xF3n",targetBlank:!0},labels:[]},preInscripcion2:{...V,id:3,hasFinanzeFreezed:!1,logo:"",status:{...V.status,id:2,name:"preInscripcion"},progress:{...V.progress,label:"Estamos procesando tu solicitud de inscripci\xF3n",icon:"circularInformation"},dateStatus:{...V.dateStatus,hasDates:!1},information:[{icon:"certificate",text:"Certificado por ACHS",href:""}],action:{...V.action,text:"Ver informaci\xF3n del curso",targetBlank:!0},labels:[]},inscripcion:{...V,background:"https://cdn.eclass.com/img/cursos/default2.png",id:4,hasFinanzeFreezed:!1,status:{...V.status,id:3,name:"inscripcion"},progress:{...V.progress,label:"Tienes hasta el Lunes 16 de Enero para de 2022 inscribirte",icon:"schedule"},dateStatus:{...V.dateStatus,hasDates:!1},information:[{icon:"certificate",text:"Certificado por ACHS",href:""}],action:{...V.action,text:"Inscr\xEDbete",targetBlank:!0}},inscripcion2:{...V,id:5,hasFinanzeFreezed:!1,status:{...V.status,id:3,name:"inscripcion"},progress:{...V.progress,label:"Tienes hasta el Lunes 16 de Enero para de 2022 inscribirte",icon:"schedule"},dateStatus:{...V.dateStatus,hasDates:!0},information:[],action:{...V.action,text:"Inscr\xEDbete",targetBlank:!0},labels:[{id:"OBLIGATORY",text:"Obligatorio"},{id:"NEW",text:"Nuevo"}]},noDisponible:{...V,id:6,hasFinanzeFreezed:!1,logo:"",background:"https://cdn.eclass.com/img/cursos/default2.png",status:{...V.status,id:4,name:"no disponible"},progress:{...V.progress,label:"Tu curso iniciar\xE1 el Lunes 16 de Enero de 2023",icon:"schedule"},dateStatus:{init:"Inicia 17 ene 2022",end:"",hasDates:!0},information:[{icon:"certificate",text:"Certificado por ACHS",href:""}],action:{...V.action,text:"Ver informaci\xF3n del curso",targetBlank:!0},labels:[]},noDisponible2:{...V,background:"https://cdn.eclass.com/img/cursos/default3.png",logo:"https://cdn.eclass.com/img/productos/logos/logo-eclass-academy-square.jpg",id:7,hasFinanzeFreezed:!1,status:{...V.status,id:4,name:"no disponible"},progress:{...V.progress,label:"Tu curso iniciar\xE1 el Lunes 16 de Enero de 2023",icon:"schedule"},dateStatus:{init:"Inicia 17 ene 2022",end:"",hasDates:!0},information:[{icon:"certificate",text:"Certificado por ACHS",href:""}],action:{...V.action,enabled:!1},labels:[]},noDisponible3:{...V,background:"https://cdn.eclass.com/img/cursos/default3.png",logo:"https://cdn.eclass.com/img/productos/logos/logo-eclass-academy-square.jpg",id:57,hasFinanzeFreezed:!1,Profile:{id:1,name:"Administrador"},status:{...V.status,id:4,name:"no disponible"},progress:{...V.progress,label:"Tu curso iniciar\xE1 el Lunes 16 de Enero de 2023",icon:"schedule"},dateStatus:{init:"Inicia 17 ene 2022",end:"",hasDates:!0},information:[{icon:"certificate",text:"Certificado por ACHS",href:""}],action:{...V.action,enabled:!1},labels:[]},activado:{...V,id:8,hasFinanzeFreezed:!1,status:{...V.status,id:5,name:"disponible"},progress:{...V.progress,label:"\xA1Ya puedes ingresar a tu curso y comenzar a estudiar!",icon:"progress",progress:0},dateStatus:{init:"",end:"Finaliza 16 nov 2023",hasDates:!0},information:[{icon:"circularInformation",text:"Informaci\xF3n del curso",href:"#"},{icon:"certificate",text:"Certificado por ACHS",href:""}],action:{...V.action,targetBlank:!0,hasIcon:!0,text:"Comenzar a estudiar"},labels:[]},sinEstudiar:{...V,id:9,hasFinanzeFreezed:!1,logo:"",status:{...V.status,id:6,name:"sinEstudiar"},progress:{...V.progress,label:"Tu curso inici\xF3 hace 3 d\xEDas, \xA1Comienza a estudiar!",icon:"progress",progress:0},dateStatus:{init:"",end:"Finaliza 16 nov 2023",hasDates:!0},information:[{icon:"circularInformation",text:"Informaci\xF3n del curso",href:"#"},{icon:"certificate",text:"Certificado por ACHS",href:""}],action:{...V.action,targetBlank:!0,hasIcon:!0,text:"Comenzar a estudiar"},labels:[]},sinEstudiar2:{...V,id:10,hasFinanzeFreezed:!1,background:"https://cdn.eclass.com/img/cursos/default2.png",status:{...V.status,id:6,name:"sinEstudiar"},progress:{...V.progress,label:"Tu curso finaliza en 7 d\xEDas",icon:"progress",progress:0},dateStatus:{init:"",end:"Finaliza 16 nov 2023",hasDates:!0},information:[{icon:"circularInformation",text:"Informaci\xF3n del curso",href:"#"},{icon:"certificate",text:"Certificado por ACHS",href:""}],action:{...V.action,targetBlank:!0,hasIcon:!0,text:"Comenzar a estudiar"},labels:[]},sinEstudiar3:{...V,id:11,hasFinanzeFreezed:!1,status:{...V.status,id:6,name:"sinEstudiar"},progress:{...V.progress,label:"Tu curso finaliza ma\xF1ana a las 23:30 hrs. GMT -04:00",icon:"progress",progress:0},dateStatus:{init:"",end:"Finaliza 16 nov 2023",hasDates:!0},information:[{icon:"circularInformation",text:"Informaci\xF3n del curso",href:"#"},{icon:"certificate",text:"Certificado por ACHS",href:""}],action:{...V.action,targetBlank:!0,hasIcon:!0,text:"Comenzar a estudiar"},labels:[]},sinEstudiar4:{...V,logo:"https://cdn.eclass.com/img/productos/logos/logo-uandes-square.jpg",id:12,hasFinanzeFreezed:!1,status:{...V.status,id:6,name:"sinEstudiar"},progress:{...V.progress,label:"Tu curso finaliza hoy a las 23:30 hrs. GMT -04:00",icon:"progress",progress:0},dateStatus:{init:"",end:"Finaliza 16 nov 2023",hasDates:!0},information:[{icon:"circularInformation",text:"Informaci\xF3n del curso",href:"#"},{icon:"certificate",text:"Certificado por ACHS",href:""}],action:{...V.action,targetBlank:!0,hasIcon:!0,text:"Comenzar a estudiar"},labels:[]},continuar:{...V,id:13,hasFinanzeFreezed:!0,status:{...V.status,id:7,name:"continuar"},logo:"https://cdn.eclass.com/img/productos/logos/logo-eclass-academy-square.jpg",progress:{...V.progress,label:"Has completado un 25% de tu curso",icon:"progress",progress:25},dateStatus:{init:"",end:"Finaliza 16 nov 2023",hasDates:!0},information:[{icon:"circularInformation",text:"Informaci\xF3n del curso",href:"#"},{icon:"certificate",text:"Certificado por ACHS",href:""}],action:{...V.action,targetBlank:!0,hasIcon:!0,text:"Continuar estudiando"},labels:[]},continuar2:{...V,id:14,hasFinanzeFreezed:!1,status:{...V.status,id:7,name:"continuar"},logo:"https://cdn.eclass.com/files/branding/programa/2119/imagePdf-1628188569.jpg",progress:{...V.progress,label:"Has completado un 100% de tu curso",icon:"progress",progress:100},dateStatus:{init:"",end:"Finaliza 16 nov 2023",hasDates:!0},information:[{icon:"circularInformation",text:"Informaci\xF3n del curso",href:"#"},{icon:"certificate",text:"Certificado por ACHS",href:""}],action:{...V.action,text:"Ir a mi curso"},labels:[]},pendiente:{...V,background:"https://cdn.eclass.com/img/cursos/default3.png",id:15,hasFinanzeFreezed:!1,status:{...V.status,id:8,name:"pendiente"},progress:{...V.progress,label:"\xA1Curso finalizado! Estamos calculando tu promedio final",icon:"circularInformation"},dateStatus:{init:"",end:"Finaliza 16 nov 2023",hasDates:!0},information:[{icon:"circularInformation",text:"Pertenece a: Diplomado en Gesti\xF3n de la Sustentabilidad en Organizaciones",href:""},{icon:"certificate",text:"Certificado por ACHS",href:""}],action:{...V.action,text:"Ir a mi curso"},labels:[]},terminado:{...V,id:16,hasFinanzeFreezed:!1,status:{...V.status,id:7,name:"QUALIFIED"},progress:{...V.progress,label:"Curso aprobado con nota",icon:"circularCheck",isApproved:!0,finalGrade:"6,5"},dateStatus:{init:"",end:"Finaliz\xF3 16 nov 2023",hasDates:!0},information:[{icon:"circularInformation",text:"Pertenece a: Diplomado en Gesti\xF3n de la Sustentabilidad en Organizaciones",href:""},{icon:"certificate",text:"Certificado por ACHS",href:""}],action:{...V.action,text:"Ir a mi curso"},labels:[]},terminado2:{...V,logo:"https://cdn.eclass.com/img/productos/logos/logo-eclass-academy-square.jpg",id:17,hasFinanzeFreezed:!1,Profile:{id:1,name:"Administrador"},status:{...V.status,id:7,name:"QUALIFIED"},progress:{...V.progress,label:"Curso reprobado con nota",icon:"circularCheck",isApproved:!1,finalGrade:"3,5"},dateStatus:{init:"",end:"Finaliz\xF3 16 nov 2023",hasDates:!0},information:[{icon:"circularInformation",text:"Pertenece a: Diplomado en Gesti\xF3n de la Sustentabilidad en Organizaciones",href:""},{icon:"certificate",text:"Certificado por ACHS",href:""}],action:{...V.action,text:"Ir a mi curso"},labels:[]},terminado3:{...V,id:18,hasFinanzeFreezed:!1,logo:"",status:{...V.status,id:9,name:"terminado"},progress:{...V.progress,label:"Curso finalizado",icon:"circularCheck"},dateStatus:{init:"",end:"Finaliz\xF3 16 nov 2023",hasDates:!0},information:[{icon:"circularInformation",text:"Pertenece a: Diplomado en Gesti\xF3n de la Sustentabilidad en Organizaciones",href:""},{icon:"certificate",text:"Certificado por ACHS",href:""}],action:{...V.action,text:"Ir a mi curso"},labels:[]}},y$=Object.keys(_w).map(e=>_w[e]),Ow=4,yl=(e,t=Ow)=>e||t!==Ow;function b$(e=4){const t=e*Fw+Mw*(e-1);return{px:`${t*16}px`,rem:`${t}rem`,remValue:t}}function x$({isOpen:e,onOpen:t,onClose:r,showOverlay:n,modalPaymentText:i}){const a={backgroundColor:"transparent"};function o(){return C(uw,{bg:"#2F2F2F",opacity:"0.32 !important",backdropBlur:"2px"})}const[l,s]=S.useState(C(o,{}));return S.useEffect(()=>{n&&s(C(o,{}))},[n]),J(dc,{isCentered:!0,isOpen:e,onClose:r,size:"xl",blockScrollOnMount:!1,closeOnOverlayClick:!1,children:[l,J(lw,{marginTop:"0",marginBottom:["25.75rem","15.75rem"],children:[J(cw,{justifyContent:"center",display:"flex",flexDirection:"column",alignItems:"center",p:"2rem 2rem 0 2rem",children:[C(Eh,{w:"52",h:"45",viewBox:"0 0 45 52"}),i.title]}),C(pw,{size:"md",color:W("colors-main-blueGrey"),_hover:a,_focus:a,_active:a}),C(fw,{p:"1rem 2rem 2rem 2rem",children:C(ra,{align:"center",children:i.body})}),C(dw,{justifyContent:"center",borderTop:"1px solid",borderTopColor:W("colors-neutral-platinum"),p:"1rem",children:C(Vv,{onClick:r,color:W("colors-main-deepSkyBlue"),backgroundColor:"transparent",fontWeight:"500",height:"auto",lineHeight:"1.172rem",_hover:a,_focus:a,_active:a,children:i.buttonName})})]})]})}dc.displayName="Modal";function Aw({modalPaymentText:e}){const{action:t,Profile:r,hasFinanzeFreezed:n}=S.useContext(gc),{isOpen:i,onOpen:a,onClose:o}=r0(),[l,s]=S.useState(!1),u={backgroundColor:"transparent"},c=()=>{s(!0),a()};return t==null?null:J(qx,{as:"footer",mt:"1rem",p:"1rem",borderTop:"1px solid",borderTopColor:W("colors-neutral-platinum"),children:[yl(t.enabled,r==null?void 0:r.id)?J(Wi,{children:[n&&e?C(ge,{color:W("colors-main-deepSkyBlue"),backgroundColor:"transparent",fontWeight:"500",height:"auto",mr:t.hasIcon?"1.5rem":"0",lineHeight:"1.172rem",p:"0",zIndex:"inherit !important",_hover:u,_focus:u,_active:u,onClick:()=>c(),fontSize:"1rem !important",children:t.text}):C(ra,{color:W("colors-main-deepSkyBlue"),fontWeight:"500",mr:t.hasIcon?"1.5rem":"0",lineHeight:"1.172rem",mt:"0",mb:"0",children:t.text}),t.hasIcon&&C(kh,{color:W("colors-main-deepSkyBlue")})]}):C(ra,{fontWeight:"500",lineHeight:"1.172rem",color:W("colors-neutral-spanishGrey"),m:"0",children:t.text}),e&&C(x$,{isOpen:i,onClose:o,showOverlay:l,onOpen:a,modalPaymentText:e})]})}Aw.displayName="Footer";const gc=S.createContext({});function S$({enabled:e,children:t}){return e?C(wh,{children:t}):C(Wi,{children:t})}function qh({data:e,modalPaymentText:t}){var n,i,a,o,l,s,u,c;const r={boxShadow:`0 2px 7px 0 ${W("colors-neutral-silverSand")}`};return C(gc.Provider,{value:e,children:C(gR,{as:"article",border:W("borders-light"),borderRadius:W("radii-big"),cursor:"pointer",transition:"box-shadow .3s",_active:r,_hover:r,_focus:r,overflow:"hidden",children:C(S$,{enabled:yl((i=(n=e.action)==null?void 0:n.enabled)!=null?i:!1,(a=e.Profile)==null?void 0:a.id),children:J(qu,{direction:"column",justify:"space-between",h:"100%",children:[J(ge,{className:"CourseList-TraditionalBox",children:[!e.hasFinanzeFreezed&&yl((l=(o=e.action)==null?void 0:o.enabled)!=null?l:!1,(s=e.Profile)==null?void 0:s.id)&&C(eS,{href:(u=e.action)==null?void 0:u.href,isExternal:(c=e.action)==null?void 0:c.targetBlank}),C(Ew,{}),C(Pw,{})]}),C(Aw,{modalPaymentText:t})]})})})})}qh.displayName="BoxTraditional";function w$({enabled:e,children:t}){return e?C(wh,{children:t}):C(Wi,{children:t})}function Qh({backgroundImg:e,title:t,data:r,size:n="large",m:i}){var o,l,s,u,c,d,f,p,h;const a={large:"286px",small:"197px"};return C(w$,{enabled:yl((l=(o=r==null?void 0:r.action)==null?void 0:o.enabled)!=null?l:!1,(s=r==null?void 0:r.Profile)==null?void 0:s.id),children:J(ge,{className:"CourseList-ImageBox",sx:{backgroundImage:`linear-gradient(to bottom, rgba(0,0,0,0) 35%, rgba(0,0,0,1) 100%), url(${e})`,color:W("colors-neutral-white"),cursor:"pointer",height:a[n],backgroundSize:"cover",backgroundPosition:"center",borderRadius:"10px",padding:"16px",display:"flex",font:"Roboto",flexDirection:"column",margin:i,justifyContent:"end",textAlign:"left"},children:[!(r!=null&&r.hasFinanzeFreezed)&&yl((c=(u=r==null?void 0:r.action)==null?void 0:u.enabled)!=null?c:!1,(d=r==null?void 0:r.Profile)==null?void 0:d.id)&&C(eS,{href:(f=r==null?void 0:r.action)==null?void 0:f.href,isExternal:(p=r==null?void 0:r.action)==null?void 0:p.targetBlank}),J(ge,{className:"textBox",bottom:"20px",display:"flex",flexDirection:"column",gap:"8px",children:[C(ge,{as:"h2",className:"courseName",fontWeight:"700",fontSize:"16px",lineHeight:"21px",marginBlockEnd:"0",margin:"0",children:t}),(h=r==null?void 0:r.information)==null?void 0:h.map((g,v)=>g.icon==="certificate"&&C(ge,{as:"p",className:"certificateText",fontSize:"14px",fontWeight:"400",lineHeight:"12px",margin:"0",children:g.text},v))]})]})})}Qh.displayName="BoxImage";const C$=({type:e="TRADITIONAL",data:t,modalPaymentText:r})=>{var o,l;const n={data:t,modalPaymentText:r},i={data:t,backgroundImg:(o=t.background)!=null?o:"",title:(l=t.name)!=null?l:""};return{TRADITIONAL:C(qh,{...n}),TRADITIONAL_LANDSCAPE:C(qh,{...n}),IMAGE_LARGE:C(Qh,{...i}),IMAGE_SMALL:C(Qh,{...i,size:"small"})}[e]},Mw=1.25,Fw=17.8125;function Rw({courses:e,modalPaymentText:t,m:r="0 auto",typeBox:n="TRADITIONAL"}){return e===void 0?null:C(ge,{display:"grid",gridColumnGap:`${Mw}rem`,gridRowGap:"1.75rem",gridTemplateColumns:`repeat(auto-fill, minmax(${Fw}rem, 1fr))`,m:r,w:"100%",children:e==null?void 0:e.map(i=>C(C$,{data:i,type:n,modalPaymentText:t},i.id))})}Rw.displayName="CourseList";const Jh={success:{icon:C(Uh,{}),bg:W("colors-alert-ice"),id:"success"},error:{icon:C(Wh,{}),bg:W("colors-alert-veryLightPinkThree"),id:"error"},info:{icon:C(Hh,{}),bg:W("colors-alert-veryLightBlue"),id:"info"},warning:{icon:C(Gh,{}),bg:W("colors-alert-pale"),id:"warning"}};function Iw({children:e,canDismiss:t=!1,buttonText:r,buttonIcon:n,buttonLink:i=!1,isFlash:a=!1,onClick:o,state:l,m:s}){const[u]=bR("(max-width: 425px)"),c=()=>{o&&o()};let d;return r&&(d=i?"link":"normal"),J(ge,{className:a?"flashNotification":"e_alert",alignItems:u?"unset":"center",backgroundColor:Jh[l].bg,borderRadius:"8px",display:"flex",flexFlow:u?"column":"row",gap:a?"":"16px",justifyContent:u?"":"space-between",margin:s,width:"100%",maxWidth:"796px",p:"1rem",pr:t?"1.75rem":"1rem",position:"relative",children:[J(ge,{gap:"10px",className:"alertContent",display:"flex",sx:{".linkButton":{fontSize:"16px"}},children:[C(ge,{className:"iconContainer",sx:{svg:{width:"auto"}},children:Jh[l].icon}),J(ge,{display:"flex",alignItems:"center",children:[C(ge,{as:"p",fontFamily:"Roboto",fontSize:"16px",fontWeight:"400",lineHeight:"28px",color:W("colors-neutral-darkCharcoal"),children:e}),d==="link"&&C(Zh,{onClick:c,children:r})]})]}),d==="normal"&&C(Xh,{isFullWidth:!!u,leftIcon:n,onClick:c,children:r}),t&&C(ge,{"data-testid":"closeButton",cursor:"pointer",marginLeft:"12px",sx:{svg:{position:"absolute",top:"16px",right:"12px"}},onClick:o,children:C(Yh,{})})]})}let E$={data:""},k$=e=>typeof window=="object"?((e?e.querySelector("#_goober"):window._goober)||Object.assign((e||document.head).appendChild(document.createElement("style")),{innerHTML:" ",id:"_goober"})).firstChild:e||E$,T$=/(?:([\u0080-\uFFFF\w-%@]+) *:? *([^{;]+?);|([^;}{]*?) *{)|(}\s*)/g,P$=/\/\*[^]*?\*\/| +/g,Lw=/\n+/g,Cn=(e,t)=>{let r="",n="",i="";for(let a in e){let o=e[a];a[0]=="@"?a[1]=="i"?r=a+" "+o+";":n+=a[1]=="f"?Cn(o,a):a+"{"+Cn(o,a[1]=="k"?"":t)+"}":typeof o=="object"?n+=Cn(o,t?t.replace(/([^,])+/g,l=>a.replace(/(^:.*)|([^,])+/g,s=>/&/.test(s)?s.replace(/&/g,l):l?l+" "+s:s)):a):o!=null&&(a=/^--/.test(a)?a:a.replace(/[A-Z]/g,"-$&").toLowerCase(),i+=Cn.p?Cn.p(a,o):a+":"+o+";")}return r+(t&&i?t+"{"+i+"}":i)+n},Ir={},Bw=e=>{if(typeof e=="object"){let t="";for(let r in e)t+=r+Bw(e[r]);return t}return e},_$=(e,t,r,n,i)=>{let a=Bw(e),o=Ir[a]||(Ir[a]=(s=>{let u=0,c=11;for(;u<s.length;)c=101*c+s.charCodeAt(u++)>>>0;return"go"+c})(a));if(!Ir[o]){let s=a!==e?e:(u=>{let c,d,f=[{}];for(;c=T$.exec(u.replace(P$,""));)c[4]?f.shift():c[3]?(d=c[3].replace(Lw," ").trim(),f.unshift(f[0][d]=f[0][d]||{})):f[0][c[1]]=c[2].replace(Lw," ").trim();return f[0]})(e);Ir[o]=Cn(i?{["@keyframes "+o]:s}:s,r?"":"."+o)}let l=r&&Ir.g?Ir.g:null;return r&&(Ir.g=Ir[o]),((s,u,c,d)=>{d?u.data=u.data.replace(d,s):u.data.indexOf(s)===-1&&(u.data=c?s+u.data:u.data+s)})(Ir[o],t,n,l),o},O$=(e,t,r)=>e.reduce((n,i,a)=>{let o=t[a];if(o&&o.call){let l=o(r),s=l&&l.props&&l.props.className||/^go/.test(l)&&l;o=s?"."+s:l&&typeof l=="object"?l.props?"":Cn(l,""):l===!1?"":l}return n+i+(o==null?"":o)},"");function yc(e){let t=this||{},r=e.call?e(t.p):e;return _$(r.unshift?r.raw?O$(r,[].slice.call(arguments,1),t.p):r.reduce((n,i)=>Object.assign(n,i&&i.call?i(t.p):i),{}):r,k$(t.target),t.g,t.o,t.k)}let $w,em,tm;yc.bind({g:1});let Lr=yc.bind({k:1});function A$(e,t,r,n){Cn.p=t,$w=e,em=r,tm=n}function En(e,t){let r=this||{};return function(){let n=arguments;function i(a,o){let l=Object.assign({},a),s=l.className||i.className;r.p=Object.assign({theme:em&&em()},l),r.o=/ *go\d+/.test(s),l.className=yc.apply(r,n)+(s?" "+s:""),t&&(l.ref=o);let u=e;return e[0]&&(u=l.as||e,delete l.as),tm&&u[0]&&tm(l),$w(u,l)}return t?t(i):i}}var M$=e=>typeof e=="function",bc=(e,t)=>M$(e)?e(t):e,F$=(()=>{let e=0;return()=>(++e).toString()})(),Dw=(()=>{let e;return()=>{if(e===void 0&&typeof window<"u"){let t=matchMedia("(prefers-reduced-motion: reduce)");e=!t||t.matches}return e}})(),R$=20,xc=new Map,I$=1e3,zw=e=>{if(xc.has(e))return;let t=setTimeout(()=>{xc.delete(e),ii({type:4,toastId:e})},I$);xc.set(e,t)},L$=e=>{let t=xc.get(e);t&&clearTimeout(t)},rm=(e,t)=>{switch(t.type){case 0:return{...e,toasts:[t.toast,...e.toasts].slice(0,R$)};case 1:return t.toast.id&&L$(t.toast.id),{...e,toasts:e.toasts.map(a=>a.id===t.toast.id?{...a,...t.toast}:a)};case 2:let{toast:r}=t;return e.toasts.find(a=>a.id===r.id)?rm(e,{type:1,toast:r}):rm(e,{type:0,toast:r});case 3:let{toastId:n}=t;return n?zw(n):e.toasts.forEach(a=>{zw(a.id)}),{...e,toasts:e.toasts.map(a=>a.id===n||n===void 0?{...a,visible:!1}:a)};case 4:return t.toastId===void 0?{...e,toasts:[]}:{...e,toasts:e.toasts.filter(a=>a.id!==t.toastId)};case 5:return{...e,pausedAt:t.time};case 6:let i=t.time-(e.pausedAt||0);return{...e,pausedAt:void 0,toasts:e.toasts.map(a=>({...a,pauseDuration:a.pauseDuration+i}))}}},Sc=[],wc={toasts:[],pausedAt:void 0},ii=e=>{wc=rm(wc,e),Sc.forEach(t=>{t(wc)})},B$={blank:4e3,error:4e3,success:2e3,loading:1/0,custom:4e3},$$=(e={})=>{let[t,r]=F.useState(wc);F.useEffect(()=>(Sc.push(r),()=>{let i=Sc.indexOf(r);i>-1&&Sc.splice(i,1)}),[t]);let n=t.toasts.map(i=>{var a,o;return{...e,...e[i.type],...i,duration:i.duration||((a=e[i.type])==null?void 0:a.duration)||(e==null?void 0:e.duration)||B$[i.type],style:{...e.style,...(o=e[i.type])==null?void 0:o.style,...i.style}}});return{...t,toasts:n}},D$=(e,t="blank",r)=>({createdAt:Date.now(),visible:!0,type:t,ariaProps:{role:"status","aria-live":"polite"},message:e,pauseDuration:0,...r,id:(r==null?void 0:r.id)||F$()}),bl=e=>(t,r)=>{let n=D$(t,e,r);return ii({type:2,toast:n}),n.id},bt=(e,t)=>bl("blank")(e,t);bt.error=bl("error"),bt.success=bl("success"),bt.loading=bl("loading"),bt.custom=bl("custom"),bt.dismiss=e=>{ii({type:3,toastId:e})},bt.remove=e=>ii({type:4,toastId:e}),bt.promise=(e,t,r)=>{let n=bt.loading(t.loading,{...r,...r==null?void 0:r.loading});return e.then(i=>(bt.success(bc(t.success,i),{id:n,...r,...r==null?void 0:r.success}),i)).catch(i=>{bt.error(bc(t.error,i),{id:n,...r,...r==null?void 0:r.error})}),e};var z$=(e,t)=>{ii({type:1,toast:{id:e,height:t}})},N$=()=>{ii({type:5,time:Date.now()})},V$=e=>{let{toasts:t,pausedAt:r}=$$(e);F.useEffect(()=>{if(r)return;let a=Date.now(),o=t.map(l=>{if(l.duration===1/0)return;let s=(l.duration||0)+l.pauseDuration-(a-l.createdAt);if(s<0){l.visible&&bt.dismiss(l.id);return}return setTimeout(()=>bt.dismiss(l.id),s)});return()=>{o.forEach(l=>l&&clearTimeout(l))}},[t,r]);let n=F.useCallback(()=>{r&&ii({type:6,time:Date.now()})},[r]),i=F.useCallback((a,o)=>{let{reverseOrder:l=!1,gutter:s=8,defaultPosition:u}=o||{},c=t.filter(p=>(p.position||u)===(a.position||u)&&p.height),d=c.findIndex(p=>p.id===a.id),f=c.filter((p,h)=>h<d&&p.visible).length;return c.filter(p=>p.visible).slice(...l?[f+1]:[0,f]).reduce((p,h)=>p+(h.height||0)+s,0)},[t]);return{toasts:t,handlers:{updateHeight:z$,startPause:N$,endPause:n,calculateOffset:i}}},j$=Lr`
288
+ `)},UG=function(t){var r=t.noRelative,i=t.noImportant,l=t.gapMode,f=l===void 0?"margin":l,h=pe.useMemo(function(){return BG(f)},[f]);return pe.createElement(VG,{styles:IG(h,!r,f,i?"":"!important")})},f2=!1;if(typeof window<"u")try{var w0=Object.defineProperty({},"passive",{get:function(){return f2=!0,!0}});window.addEventListener("test",w0,w0),window.removeEventListener("test",w0,w0)}catch{f2=!1}var Id=f2?{passive:!1}:!1,HG=function(t){return t.tagName==="TEXTAREA"},$D=function(t,r){var i=window.getComputedStyle(t);return i[r]!=="hidden"&&!(i.overflowY===i.overflowX&&!HG(t)&&i[r]==="visible")},WG=function(t){return $D(t,"overflowY")},YG=function(t){return $D(t,"overflowX")},BD=function(t,r){var i=r.ownerDocument,l=r;do{typeof ShadowRoot<"u"&&l instanceof ShadowRoot&&(l=l.host);var f=VD(t,l);if(f){var h=ID(t,l),p=h[1],g=h[2];if(p>g)return!0}l=l.parentNode}while(l&&l!==i.body);return!1},GG=function(t){var r=t.scrollTop,i=t.scrollHeight,l=t.clientHeight;return[r,i,l]},qG=function(t){var r=t.scrollLeft,i=t.scrollWidth,l=t.clientWidth;return[r,i,l]},VD=function(t,r){return t==="v"?WG(r):YG(r)},ID=function(t,r){return t==="v"?GG(r):qG(r)},XG=function(t,r){return t==="h"&&r==="rtl"?-1:1},QG=function(t,r,i,l,f){var h=XG(t,window.getComputedStyle(r).direction),p=h*l,g=i.target,y=r.contains(g),S=!1,C=p>0,E=0,k=0;do{var R=ID(t,g),A=R[0],P=R[1],j=R[2],q=P-j-h*A;(A||q)&&VD(t,g)&&(E+=q,k+=A),g=g.parentNode}while(!y&&g!==document.body||y&&(r.contains(g)||r===g));return(C&&(f&&E===0||!f&&p>E)||!C&&(f&&k===0||!f&&-p>k))&&(S=!0),S},E0=function(t){return"changedTouches"in t?[t.changedTouches[0].clientX,t.changedTouches[0].clientY]:[0,0]},UD=function(t){return[t.deltaX,t.deltaY]},HD=function(t){return t&&"current"in t?t.current:t},KG=function(t,r){return t[0]===r[0]&&t[1]===r[1]},ZG=function(t){return`
289
+ .block-interactivity-`.concat(t,` {pointer-events: none;}
290
+ .allow-interactivity-`).concat(t,` {pointer-events: all;}
291
+ `)},JG=0,Ud=[];function eq(t){var r=pe.useRef([]),i=pe.useRef([0,0]),l=pe.useRef(),f=pe.useState(JG++)[0],h=pe.useState(FD)[0],p=pe.useRef(t);pe.useEffect(function(){p.current=t},[t]),pe.useEffect(function(){if(t.inert){document.body.classList.add("block-interactivity-".concat(f));var P=yH([t.lockRef.current],(t.shards||[]).map(HD),!0).filter(Boolean);return P.forEach(function(j){return j.classList.add("allow-interactivity-".concat(f))}),function(){document.body.classList.remove("block-interactivity-".concat(f)),P.forEach(function(j){return j.classList.remove("allow-interactivity-".concat(f))})}}},[t.inert,t.lockRef.current,t.shards]);var g=pe.useCallback(function(P,j){if("touches"in P&&P.touches.length===2)return!p.current.allowPinchZoom;var q=E0(P),F=i.current,$="deltaX"in P?P.deltaX:F[0]-q[0],Q="deltaY"in P?P.deltaY:F[1]-q[1],V,le=P.target,J=Math.abs($)>Math.abs(Q)?"h":"v";if("touches"in P&&J==="h"&&le.type==="range")return!1;var me=BD(J,le);if(!me)return!0;if(me?V=J:(V=J==="v"?"h":"v",me=BD(J,le)),!me)return!1;if(!l.current&&"changedTouches"in P&&($||Q)&&(l.current=V),!V)return!0;var ve=l.current||V;return QG(ve,j,P,ve==="h"?$:Q,!0)},[]),y=pe.useCallback(function(P){var j=P;if(!(!Ud.length||Ud[Ud.length-1]!==h)){var q="deltaY"in j?UD(j):E0(j),F=r.current.filter(function(V){return V.name===j.type&&V.target===j.target&&KG(V.delta,q)})[0];if(F&&F.should){j.cancelable&&j.preventDefault();return}if(!F){var $=(p.current.shards||[]).map(HD).filter(Boolean).filter(function(V){return V.contains(j.target)}),Q=$.length>0?g(j,$[0]):!p.current.noIsolation;Q&&j.cancelable&&j.preventDefault()}}},[]),S=pe.useCallback(function(P,j,q,F){var $={name:P,delta:j,target:q,should:F};r.current.push($),setTimeout(function(){r.current=r.current.filter(function(Q){return Q!==$})},1)},[]),C=pe.useCallback(function(P){i.current=E0(P),l.current=void 0},[]),E=pe.useCallback(function(P){S(P.type,UD(P),P.target,g(P,t.lockRef.current))},[]),k=pe.useCallback(function(P){S(P.type,E0(P),P.target,g(P,t.lockRef.current))},[]);pe.useEffect(function(){return Ud.push(h),t.setCallbacks({onScrollCapture:E,onWheelCapture:E,onTouchMoveCapture:k}),document.addEventListener("wheel",y,Id),document.addEventListener("touchmove",y,Id),document.addEventListener("touchstart",C,Id),function(){Ud=Ud.filter(function(P){return P!==h}),document.removeEventListener("wheel",y,Id),document.removeEventListener("touchmove",y,Id),document.removeEventListener("touchstart",C,Id)}},[]);var R=t.removeScrollBar,A=t.inert;return pe.createElement(pe.Fragment,null,A?pe.createElement(h,{styles:ZG(f)}):null,R?pe.createElement(UG,{gapMode:t.gapMode}):null)}const tq=bH(ND,eq);var WD=pe.forwardRef(function(t,r){return pe.createElement(C0,ys({},t,{ref:r,sideCar:tq}))});WD.classNames=C0.classNames;const nq=WD;function rq(t){const{autoFocus:r,trapFocus:i,dialogRef:l,initialFocusRef:f,blockScrollOnMount:h,allowPinchZoom:p,finalFocusRef:g,returnFocusOnClose:y,preserveScrollBarGap:S,lockFocusAcrossFrames:C,isOpen:E}=Wc(),[k,R]=gR();U.useEffect(()=>{!k&&R&&setTimeout(R)},[k,R]);const A=LD(l,E);return O.jsx(nD,{autoFocus:r,isDisabled:!i,initialFocusRef:f,finalFocusRef:g,restoreFocus:y,contentRef:l,lockFocusAcrossFrames:C,children:O.jsx(nq,{removeScrollBar:!S,allowPinchZoom:p,enabled:A===1&&h,forwardProps:!0,children:t.children})})}var YD=vn((t,r)=>{const{className:i,children:l,containerProps:f,motionProps:h,...p}=t,{getDialogProps:g,getDialogContainerProps:y}=Wc(),S=g(p,r),C=y(f),E=Tr("chakra-modal__content",i),k=Vd(),R={display:"flex",flexDirection:"column",position:"relative",width:"100%",outline:0,...k.dialog},A={display:"flex",width:"100vw",height:"$100vh",position:"fixed",left:0,top:0,...k.dialogContainer},{motionPreset:P}=Wc();return O.jsx(rq,{children:O.jsx(jt.div,{...C,className:"chakra-modal__content-container",tabIndex:-1,__css:A,children:O.jsx(PD,{preset:P,motionProps:h,className:E,...S,__css:R,children:l})})})});YD.displayName="ModalContent";var GD=vn((t,r)=>{const{className:i,...l}=t,f=Tr("chakra-modal__footer",i),p={display:"flex",alignItems:"center",justifyContent:"flex-end",...Vd().footer};return O.jsx(jt.footer,{ref:r,...l,__css:p,className:f})});GD.displayName="ModalFooter";var qD=vn((t,r)=>{const{className:i,...l}=t,{headerId:f,setHeaderMounted:h}=Wc();U.useEffect(()=>(h(!0),()=>h(!1)),[h]);const p=Tr("chakra-modal__header",i),y={flex:0,...Vd().header};return O.jsx(jt.header,{ref:r,className:p,id:f,...l,__css:y})});qD.displayName="ModalHeader";var aq=jt(_d.div),XD=vn((t,r)=>{const{className:i,transition:l,motionProps:f,...h}=t,p=Tr("chakra-modal__overlay",i),y={pos:"fixed",left:"0",top:"0",w:"100vw",h:"100vh",...Vd().overlay},{motionPreset:S}=Wc(),E=f||(S==="none"?{}:i3);return O.jsx(aq,{...E,__css:y,ref:r,className:p,...h})});XD.displayName="ModalOverlay";var QD=vn((t,r)=>{const{className:i,...l}=t,{bodyId:f,setBodyMounted:h}=Wc();U.useEffect(()=>(h(!0),()=>h(!1)),[h]);const p=Tr("chakra-modal__body",i),g=Vd();return O.jsx(jt.div,{ref:r,className:p,id:f,...l,__css:g.body})});QD.displayName="ModalBody";var KD=vn((t,r)=>{const{onClick:i,className:l,...f}=t,{onClose:h}=Wc(),p=Tr("chakra-modal__close-btn",l),g=Vd();return O.jsx(r3,{ref:r,__css:g.closeButton,className:p,onClick:ds(i,y=>{y.stopPropagation(),h()}),...f})});KD.displayName="ModalCloseButton";var d2=t=>O.jsx(jt.circle,{cx:50,cy:50,r:42,fill:"transparent",...t});d2.displayName="Circle";function iq(t,r,i){return(t-r)*100/(i-r)}var oq=Uh({"0%":{strokeDasharray:"1, 400",strokeDashoffset:"0"},"50%":{strokeDasharray:"400, 400",strokeDashoffset:"-100"},"100%":{strokeDasharray:"400, 400",strokeDashoffset:"-260"}}),sq=Uh({"0%":{transform:"rotate(0deg)"},"100%":{transform:"rotate(360deg)"}});Uh({"0%":{left:"-40%"},"100%":{left:"100%"}}),Uh({from:{backgroundPosition:"1rem 0"},to:{backgroundPosition:"0 0"}});function lq(t){const{value:r=0,min:i,max:l,valueText:f,getValueText:h,isIndeterminate:p,role:g="progressbar"}=t,y=iq(r,i,l);return{bind:{"data-indeterminate":p?"":void 0,"aria-valuemax":l,"aria-valuemin":i,"aria-valuenow":p?void 0:r,"aria-valuetext":(()=>{if(r!=null)return typeof h=="function"?h(r,y):f})(),role:g},percent:y,value:r}}var ZD=t=>{const{size:r,isIndeterminate:i,...l}=t;return O.jsx(jt.svg,{viewBox:"0 0 100 100",__css:{width:r,height:r,animation:i?`${sq} 2s linear infinite`:void 0},...l})};ZD.displayName="Shape";var JD=vn((t,r)=>{var i;const{size:l="48px",max:f=100,min:h=0,valueText:p,getValueText:g,value:y,capIsRound:S,children:C,thickness:E="10px",color:k="#0078d4",trackColor:R="#edebe9",isIndeterminate:A,...P}=t,j=lq({min:h,max:f,value:y,valueText:p,getValueText:g,isIndeterminate:A}),q=A?void 0:((i=j.percent)!=null?i:0)*2.64,F=q==null?void 0:`${q} ${264-q}`,$=A?{css:{animation:`${oq} 1.5s linear infinite`}}:{strokeDashoffset:66,strokeDasharray:F,transitionProperty:"stroke-dasharray, stroke",transitionDuration:"0.6s",transitionTimingFunction:"ease"},Q={display:"inline-block",position:"relative",verticalAlign:"middle",fontSize:l};return O.jsxs(jt.div,{ref:r,className:"chakra-progress",...j.bind,...P,__css:Q,children:[O.jsxs(ZD,{size:l,isIndeterminate:A,children:[O.jsx(d2,{stroke:R,strokeWidth:E,className:"chakra-progress__track"}),O.jsx(d2,{stroke:k,strokeWidth:E,className:"chakra-progress__indicator",strokeLinecap:S?"round":void 0,opacity:j.value===0&&!A?0:void 0,...$})]}),C]})});JD.displayName="CircularProgress";var uq={exit:{scale:.85,opacity:0,transition:{opacity:{duration:.15,easings:"easeInOut"},scale:{duration:.2,easings:"easeInOut"}}},enter:{scale:1,opacity:1,transition:{opacity:{easings:"easeOut",duration:.2},scale:{duration:.2,ease:[.175,.885,.4,1.1]}}}},p2=t=>{var r;return((r=t.current)==null?void 0:r.ownerDocument)||document},T0=t=>{var r,i;return((i=(r=t.current)==null?void 0:r.ownerDocument)==null?void 0:i.defaultView)||window};function cq(t={}){const{openDelay:r=0,closeDelay:i=0,closeOnClick:l=!0,closeOnMouseDown:f,closeOnScroll:h,closeOnPointerDown:p=f,closeOnEsc:g=!0,onOpen:y,onClose:S,placement:C,id:E,isOpen:k,defaultIsOpen:R,arrowSize:A=10,arrowShadowColor:P,arrowPadding:j,modifiers:q,isDisabled:F,gutter:$,offset:Q,direction:V,...le}=t,{isOpen:J,onOpen:me,onClose:ve}=pG({isOpen:k,defaultIsOpen:R,onOpen:y,onClose:S}),{referenceRef:ye,getPopperProps:De,getArrowInnerProps:pt,getArrowProps:Oe}=fG({enabled:J,placement:C,arrowPadding:j,modifiers:q,gutter:$,offset:Q,direction:V}),Pe=U.useId(),Ue=`tooltip-${E??Pe}`,st=U.useRef(null),be=U.useRef(),Le=U.useCallback(()=>{be.current&&(clearTimeout(be.current),be.current=void 0)},[]),K=U.useRef(),se=U.useCallback(()=>{K.current&&(clearTimeout(K.current),K.current=void 0)},[]),_e=U.useCallback(()=>{se(),ve()},[ve,se]),Ee=fq(st,_e),Fe=U.useCallback(()=>{if(!F&&!be.current){J&&Ee();const he=T0(st);be.current=he.setTimeout(me,r)}},[Ee,F,J,me,r]),Ie=U.useCallback(()=>{Le();const he=T0(st);K.current=he.setTimeout(_e,i)},[i,_e,Le]),Ae=U.useCallback(()=>{J&&l&&Ie()},[l,Ie,J]),Xe=U.useCallback(()=>{J&&p&&Ie()},[p,Ie,J]),$e=U.useCallback(he=>{J&&he.key==="Escape"&&Ie()},[J,Ie]);wC(()=>p2(st),"keydown",g?$e:void 0),wC(()=>{const he=st.current;if(!he)return null;const wt=J3(he);return wt.localName==="body"?T0(st):wt},"scroll",()=>{J&&h&&_e()},{passive:!0,capture:!0}),U.useEffect(()=>{F&&(Le(),J&&ve())},[F,J,ve,Le]),U.useEffect(()=>()=>{Le(),se()},[Le,se]),wC(()=>st.current,"pointerleave",Ie);const Je=U.useCallback((he={},wt=null)=>({...he,ref:Dd(st,wt,ye),onPointerEnter:ds(he.onPointerEnter,Cn=>{Cn.pointerType!=="touch"&&Fe()}),onClick:ds(he.onClick,Ae),onPointerDown:ds(he.onPointerDown,Xe),onFocus:ds(he.onFocus,Fe),onBlur:ds(he.onBlur,Ie),"aria-describedby":J?Ue:void 0}),[Fe,Ie,Xe,J,Ue,Ae,ye]),tt=U.useCallback((he={},wt=null)=>De({...he,style:{...he.style,[pa.arrowSize.var]:A?`${A}px`:void 0,[pa.arrowShadowColor.var]:P}},wt),[De,A,P]),yt=U.useCallback((he={},wt=null)=>{const mn={...he.style,position:"relative",transformOrigin:pa.transformOrigin.varRef};return{ref:wt,...le,...he,id:Ue,role:"tooltip",style:mn}},[le,Ue]);return{isOpen:J,show:Fe,hide:Ie,getTriggerProps:Je,getTooltipProps:yt,getTooltipPositionerProps:tt,getArrowProps:Oe,getArrowInnerProps:pt}}var h2="chakra-ui:close-tooltip";function fq(t,r){return U.useEffect(()=>{const i=p2(t);return i.addEventListener(h2,r),()=>i.removeEventListener(h2,r)},[r,t]),()=>{const i=p2(t),l=T0(t);i.dispatchEvent(new l.CustomEvent(h2))}}function dq(t,r=[]){const i=Object.assign({},t);for(const l of r)l in i&&delete i[l];return i}function pq(t,r){const i={};for(const l of r)l in t&&(i[l]=t[l]);return i}var hq=jt(_d.div),eO=vn((t,r)=>{var i,l;const f=vu("Tooltip",t),h=fu(t),p=d_(),{children:g,label:y,shouldWrapChildren:S,"aria-label":C,hasArrow:E,bg:k,portalProps:R,background:A,backgroundColor:P,bgColor:j,motionProps:q,...F}=h,$=(l=(i=A??P)!=null?i:k)!=null?l:j;if($){f.bg=$;const De=ML(p,"colors",$);f[pa.arrowBg.var]=De}const Q=cq({...F,direction:p.direction}),V=typeof g=="string"||S;let le;if(V)le=O.jsx(jt.span,{display:"inline-block",tabIndex:0,...Q.getTriggerProps(),children:g});else{const De=U.Children.only(g);le=U.cloneElement(De,Q.getTriggerProps(De.props,De.ref))}const J=!!C,me=Q.getTooltipProps({},r),ve=J?dq(me,["role","id"]):me,ye=pq(me,["role","id"]);return y?O.jsxs(O.Fragment,{children:[le,O.jsx(_v,{children:Q.isOpen&&O.jsx(Wh,{...R,children:O.jsx(jt.div,{...Q.getTooltipPositionerProps(),__css:{zIndex:f.zIndex,pointerEvents:"none"},children:O.jsxs(hq,{variants:uq,initial:"exit",animate:"enter",exit:"exit",...q,...ve,__css:f,children:[y,J&&O.jsx(jt.span,{srOnly:!0,...ye,children:C}),E&&O.jsx(jt.div,{"data-popper-arrow":!0,className:"chakra-tooltip__arrow-wrapper",children:O.jsx(jt.div,{"data-popper-arrow-inner":!0,className:"chakra-tooltip__arrow",__css:{bg:f.bg}})})]})})})})]}):O.jsx(O.Fragment,{children:g})});eO.displayName="Tooltip";const k0={deepSkyBlue:"#0189FF",azureRadiance:"#017BE5",blueGrey:"#60798E",veryLightBlue:"#E0EEFA",linkWater:"#C7DEF2",ziggurat:"#B0CFE0"},Yc={main:k0,secondary:{pumpkin:"#FF7A14",polishedBronze:"#CD7F32",cornsilk:"#FFF5DF",linen:"#F8ECE0"},alert:{deepSkyBlue:k0.deepSkyBlue,veryLightBlue:k0.veryLightBlue,jadeGreen:"#28A745",ice:"#E9F6EC",red:"#CC0000",veryLightPinkThree:"#F9DFDF",orangeyYelow:"#F5A623",pale:"#FDEED6"},icon:{cetaceanBlue:"#08044F",deepSkyBlue:k0.deepSkyBlue,lightSeaGreen:"#1EBDAF",orangeRed:"#FF554D",ripeMango:"#FFBC27"},neutral:{darkCharcoal:"#2F2F2F",davysGrey:"#5C5C5C",gray:"#808080",spanishGrey:"#999999",silverSand:"#C6C6C6",platinum:"#E8E8E8",cultured:"#F4F4F4",cultured2:"#F8F8F8",white:"#FFFFFF"}},vq={global:t=>({".react-ripples":{h:"100%",display:"grid!important"},".chakra-button":{borderStyle:"none"},".chakra-modal__content-container":{padding:"1.87rem",zIndex:"1400",justifyContent:"center",alignItems:"center",overflow:"auto"},".chakra-modal__content":{borderRadius:"0.5rem",background:"white",color:"inherit",zIndex:"1400",maxWidth:"36.813rem",boxShadow:"0px 4px 16px rgba(92, 92, 92, 0.2)"},".chakra-modal__header":{paddingInlineStart:"1.5rem",paddingInlineEnd:"1.5rem",fontSize:"1.25rem",fontWeight:"700",textAlign:"center",".chakra-icon":{width:"13rem"}},".chakra-modal__close-btn":{width:"2rem",height:"2rem",borderRadius:"0.5rem",fontSize:"0.75rem",position:"absolute",top:"0.5rem",right:"0.75rem",color:"#60798E",backgroundColor:"transparent",borderStyle:"none"}})},Bv="solid .063rem",mq={borders:{normal:`${Bv} ${Yc.neutral.darkCharcoal}`,light:`${Bv} ${Yc.neutral.platinum}`,active:`${Bv} ${Yc.main.deepSkyBlue}`,success:`${Bv} ${Yc.alert.jadeGreen}`,error:`${Bv} ${Yc.alert.red}`,white:`solid .125rem ${Yc.neutral.white}`},radii:{small:".25rem",big:".5rem",rounded:"50%"},shadows:{sm:"0 .125rem .5rem 0 rgba(0,0,0,.20)",md:"0 .25rem 1rem 0 rgba(0,0,0,.20)",lg:"0 .5rem 2rem 0 rgba(0,0,0,.20)"},space:{xxs:".25rem",xs:".5rem",s:"1rem",m:"1.5rem",l:"2rem",xl:"3rem",xxl:"5rem"}},wte="",Ete="",Tte="",kte="",_te="",gq=a$({colors:Yc,...mq,...{fonts:{body:"Roboto",outstanding:"Lora"}},styles:vq}),Re=t=>`var(--chakra-${t})`;function _0({children:t,bg:r=Re("colors-icon-ripeMango"),color:i=Re("colors-neutral-darkCharcoal"),size:l="md",m:f="0"}){const h={md:{borderRadius:"0.25em",fontWeight:"400",p:"0.25em 0.84em"},sm:{borderRadius:"0.42em",fontWeight:"700",p:"0.17em 0.67em"}};return O.jsx(xn,{bg:r,borderRadius:h[l].borderRadius,color:i,display:"inline-block",fontSize:"0.75rem",fontWeight:h[l].fontWeight,lineHeight:".875rem",m:f,p:h[l].p,children:t})}function tO({value:t=0}){let r=t;return t>100?r=100:t<0&&(r=0),O.jsx(JD,{size:"1rem",value:r,thickness:"1rem",color:Re("colors-main-deepSkyBlue"),trackColor:Re("colors-neutral-platinum")})}var yq=globalThis&&globalThis.__extends||function(){var t=function(r,i){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(l,f){l.__proto__=f}||function(l,f){for(var h in f)f.hasOwnProperty(h)&&(l[h]=f[h])},t(r,i)};return function(r,i){t(r,i);function l(){this.constructor=r}r.prototype=i===null?Object.create(i):(l.prototype=i.prototype,new l)}}(),Hd=globalThis&&globalThis.__assign||function(){return Hd=Object.assign||function(t){for(var r,i=1,l=arguments.length;i<l;i++){r=arguments[i];for(var f in r)Object.prototype.hasOwnProperty.call(r,f)&&(t[f]=r[f])}return t},Hd.apply(this,arguments)},bq=globalThis&&globalThis.__rest||function(t,r){var i={};for(var l in t)Object.prototype.hasOwnProperty.call(t,l)&&r.indexOf(l)<0&&(i[l]=t[l]);if(t!=null&&typeof Object.getOwnPropertySymbols=="function")for(var f=0,l=Object.getOwnPropertySymbols(t);f<l.length;f++)r.indexOf(l[f])<0&&Object.prototype.propertyIsEnumerable.call(t,l[f])&&(i[l[f]]=t[l[f]]);return i},Sq={position:"relative",display:"inline-flex",overflow:"hidden"},xq=function(t){t===void 0&&(t={});var r;return r=function(i){yq(l,i);function l(f){var h=i.call(this,f)||this;return h.timer=0,h.onClick=function(p){var g=h.props,y=g.during,S=g.onClick,C=g.color;p.stopPropagation();var E=p.pageX,k=p.pageY,R=p.currentTarget,A=R.getBoundingClientRect(),P=E-(A.left+window.scrollX),j=k-(A.top+window.scrollY),q=Math.max(A.width,A.height);h.setState(function(F){return{rippleStyle:Hd({},F.rippleStyle,{left:P,top:j,opacity:1,transform:"translate(-50%, -50%)",transition:"initial",backgroundColor:C})}},function(){h.timer=setTimeout(function(){h.setState(function(F){return{rippleStyle:Hd({},F.rippleStyle,{opacity:0,transform:"scale("+q/9+")",transition:"all "+y+"ms"})}})},50)}),S&&S(p)},h.state={rippleStyle:{position:"absolute",borderRadius:"50%",opacity:0,width:35,height:35,transform:"translate(-50%, -50%)",pointerEvents:"none"}},h}return l.prototype.componentWillUnmount=function(){clearTimeout(this.timer)},l.prototype.render=function(){var f=this.props,h=f.children;f.during,f.color,f.onClick;var p=f.className,g=bq(f,["children","during","color","onClick","className"]),y=this.state.rippleStyle;return U.createElement("div",Hd({},g,{className:("react-ripples "+p).trim(),style:Sq,onClick:this.onClick}),h,U.createElement("s",{style:y}))},l}(U.PureComponent),r.displayName="Ripples",r.propTypes={during:Od.number,color:Od.string,onClick:Od.func,className:Od.string},r.defaultProps=Hd({during:600,color:"rgba(0, 0, 0, .3)",className:"",onClick:function(){}},t),r},v2=globalThis&&globalThis.__assign||function(){return v2=Object.assign||function(t){for(var r,i=1,l=arguments.length;i<l;i++){r=arguments[i];for(var f in r)Object.prototype.hasOwnProperty.call(r,f)&&(t[f]=r[f])}return t},v2.apply(this,arguments)},Cq=function(t){return function(r){return U.createElement(t,v2({},r))}};const nO=Cq(xq());function m2({children:t,color:r="rgba(204,204,204,0.2)"}){return O.jsx(nO,{during:1e3,color:r,children:O.jsx(xn,{children:t})})}function Bn({w:t="1rem",h:r="1rem",color:i=Re("colors-main-ziggurat"),m:l="0",viewBox:f="0 0 16 16",children:h,title:p}){return O.jsxs(s0,{w:t,h:r,viewBox:f,color:i,m:l,children:[O.jsxs("title",{children:["icon",p&&`-${p}`]}),h]})}function g2(t){return O.jsxs(Bn,{...t,w:"16px",h:"16px",viewBox:"0 0 16 16",title:"academicRecord",children:[O.jsx("path",{d:"M14 0H2C1.73478 0 1.48043 0.105357 1.29289 0.292893C1.10536 0.48043 1 0.734784 1 1V7C1 7.26522 1.10536 7.51957 1.29289 7.70711C1.48043 7.89464 1.73478 8 2 8H14C14.2652 8 14.5196 7.89464 14.7071 7.70711C14.8946 7.51957 15 7.26522 15 7V1C15 0.734784 14.8946 0.48043 14.7071 0.292893C14.5196 0.105357 14.2652 0 14 0V0Z",fill:"currentColor"}),O.jsx("path",{d:"M15 10H1V12H15V10Z",fill:"currentColor"}),O.jsx("path",{d:"M15 14H1V16H15V14Z",fill:"currentColor"})]})}g2.displayName="AcademicRecord";function y2(t){return O.jsx(Bn,{...t,children:O.jsxs("svg",{width:"53",height:"45",viewBox:"0 0 53 45",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[O.jsx("path",{d:"M22.142 44.1483C34.0945 44.1483 43.784 34.4588 43.784 22.5063C43.784 10.5537 34.0945 0.864258 22.142 0.864258C10.1895 0.864258 0.5 10.5537 0.5 22.5063C0.5 34.4588 10.1895 44.1483 22.142 44.1483Z",fill:"#FDEED6"}),O.jsx("path",{d:"M19 24.1013C19.8284 24.1013 20.5 23.4297 20.5 22.6013C20.5 21.7729 19.8284 21.1013 19 21.1013C18.1716 21.1013 17.5 21.7729 17.5 22.6013C17.5 23.4297 18.1716 24.1013 19 24.1013Z",fill:"#FFBC27"}),O.jsx("path",{d:"M24 24.1013C24.8284 24.1013 25.5 23.4297 25.5 22.6013C25.5 21.7729 24.8284 21.1013 24 21.1013C23.1716 21.1013 22.5 21.7729 22.5 22.6013C22.5 23.4297 23.1716 24.1013 24 24.1013Z",fill:"#FFBC27"}),O.jsx("path",{d:"M29 24.1013C29.8284 24.1013 30.5 23.4297 30.5 22.6013C30.5 21.7729 29.8284 21.1013 29 21.1013C28.1716 21.1013 27.5 21.7729 27.5 22.6013C27.5 23.4297 28.1716 24.1013 29 24.1013Z",fill:"#FFBC27"}),O.jsx("path",{d:"M44.178 13.8843C41.157 8.63532 35.491 5.10132 29 5.10132C19.335 5.10132 11.5 12.9363 11.5 22.6013C11.5 32.2663 19.335 40.1013 29 40.1013C35.108 40.1013 40.484 36.9723 43.615 32.2303",stroke:"#808080",strokeWidth:"2",strokeLinecap:"round"}),O.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M49.282 13.9192C50.6627 13.9192 51.782 15.0385 51.782 16.4192V20.9862C51.782 22.3669 50.6627 23.4862 49.282 23.4862C47.9013 23.4862 46.782 22.3669 46.782 20.9862V16.4192C46.782 15.0385 47.9013 13.9192 49.282 13.9192ZM47.5143 25.6514C48.4906 24.6751 50.0735 24.6751 51.0498 25.6515L51.0958 25.6975C52.0721 26.6738 52.072 28.2567 51.0957 29.233C50.1194 30.2093 48.5365 30.2093 47.5602 29.2329L47.5142 29.1869C46.5379 28.2106 46.5379 26.6277 47.5143 25.6514Z",fill:"#FFBC27"})]})})}y2.displayName="ArrowRight";function b2(t){return O.jsxs(Bn,{...t,children:[O.jsxs("g",{clipPath:"url(#clip0)",children:[O.jsx("mask",{id:"mask0",style:{maskType:"alpha"},width:"16",height:"16",x:"0",y:"0",maskUnits:"userSpaceOnUse",children:O.jsx("path",{fill:"#fff",d:"M16 16H32V32H16z",transform:"rotate(180 16 16)"})}),O.jsx("g",{mask:"url(#mask0)",children:O.jsx("path",{fill:"currentColor",d:"M6.074 14L12 8 6.074 2 4 4.1 7.852 8 4 11.9 6.074 14z"})})]}),O.jsx("defs",{children:O.jsx("clipPath",{id:"clip0",children:O.jsx("path",{fill:"#fff",d:"M0 0H16V16H0z"})})})]})}b2.displayName="ArrowRight";function S2(t){return O.jsxs(Bn,{...t,children:[O.jsx("path",{fill:"currentColor",d:"M7 4H9V6H7z"}),O.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M13 8h2a1 1 0 011 1v6a1 1 0 01-1 1H9v-4H7v4H1a1 1 0 01-1-1V9a1 1 0 011-1h2V4.618l-.553.277a1 1 0 01-.894-1.79l6-3a1 1 0 01.894 0l6 3a1 1 0 11-.894 1.79L13 4.618V8zM3 13h2v-3H3v3zm2-5V4a.98.98 0 00-.07-.347L8 2.118l3.07 1.535A.98.98 0 0011 4v4H5zm6 5h2v-3h-2v3z",clipRule:"evenodd"})]})}S2.displayName="Certificate";function x2(t){return O.jsx(Bn,{...t,children:O.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M0 8c0-4.4 3.6-8 8-8s8 3.6 8 8-3.6 8-8 8-8-3.6-8-8zm3.6 0L7 11.4 12.4 6 11 4.6l-4 4-2-2L3.6 8z",clipRule:"evenodd"})})}x2.displayName="CircularCheck";function R0(t){return O.jsx(Bn,{...t,children:O.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M8 0C3.6 0 0 3.6 0 8s3.6 8 8 8 8-3.6 8-8-3.6-8-8-8zM7 12V7h2v5H7zm0-7c0 .6.4 1 1 1s1-.4 1-1-.4-1-1-1-1 .4-1 1z",clipRule:"evenodd"})})}R0.displayName="CircularInformation";function C2(t){return O.jsxs(Bn,{...t,w:"16px",h:"16px",viewBox:"0 0 16 16",children:[O.jsx("path",{d:"M7.99998 12C8.29998 12 8.49998 11.9 8.69998 11.7L14.4 6L13 4.6L8.99998 8.6V0H6.99998V8.6L2.99998 4.6L1.59998 6L7.29998 11.7C7.49998 11.9 7.69998 12 7.99998 12Z",fill:"currentColor"}),O.jsx("path",{d:"M15 14H1V16H15V14Z",fill:"currentColor"})]})}C2.displayName="Download";function w2(t){return O.jsx(Bn,{...t,w:"8px",h:"16px",viewBox:"0 0 8 16",title:"goAhead",children:O.jsx("path",{d:"M2.07407 12L8 6L2.07407 5.18061e-07L-8.65485e-07 2.1L3.85185 6L-1.83588e-07 9.9L2.07407 12V12Z",fill:"currentColor"})})}w2.displayName="GoAhead";function E2(t){return O.jsx(Bn,{...t,w:"8px",h:"16px",viewBox:"0 0 8 16",title:"goBack",children:O.jsx("path",{d:"M5.92593 2L0 8L5.92593 14L8 11.9L4.14815 8L8 4.1L5.92593 2Z",fill:"currentColor"})})}E2.displayName="GoBack";function T2(t){return O.jsxs(Bn,{...t,w:"12px",viewBox:"0 0 14 14",title:"multimedia",children:[O.jsx("path",{d:"M3 6C4.65685 6 6 4.65685 6 3C6 1.34315 4.65685 0 3 0C1.34315 0 0 1.34315 0 3C0 4.65685 1.34315 6 3 6Z",fill:"currentColor"}),O.jsx("path",{d:"M11 6C12.6569 6 14 4.65685 14 3C14 1.34315 12.6569 0 11 0C9.34315 0 8 1.34315 8 3C8 4.65685 9.34315 6 11 6Z",fill:"currentColor"}),O.jsx("path",{d:"M3 14C4.65685 14 6 12.6569 6 11C6 9.34315 4.65685 8 3 8C1.34315 8 0 9.34315 0 11C0 12.6569 1.34315 14 3 14Z",fill:"currentColor"}),O.jsx("path",{d:"M11 14C12.6569 14 14 12.6569 14 11C14 9.34315 12.6569 8 11 8C9.34315 8 8 9.34315 8 11C8 12.6569 9.34315 14 11 14Z",fill:"currentColor"})]})}T2.displayName="Multimedia";function rO({fill:t="#fff"}){return O.jsx("div",{className:"loaderAsync","data-testid":"loaderAsync",children:O.jsxs("svg",{id:"prefix__eXySq0EBKm11",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 38 20",shapeRendering:"geometricPrecision",textRendering:"geometricPrecision",width:38,height:20,children:[O.jsx("style",{dangerouslySetInnerHTML:{__html:"@keyframes eXySq0EBKm12_f_o{0%,33.333333%,to{fill-opacity:.4}66.666667%{fill-opacity:1;animation-timing-function:cubic-bezier(.42,0,.58,1)}}@keyframes eXySq0EBKm13_f_o{0%,66.666667%,to{fill-opacity:.4}33.333333%{fill-opacity:1;animation-timing-function:cubic-bezier(.42,0,.58,1)}}@keyframes eXySq0EBKm14_f_o{0%{fill-opacity:1;animation-timing-function:cubic-bezier(.42,0,.58,1)}33.333333%,66.666667%{fill-opacity:.4}to{fill-opacity:1}}"}}),O.jsx("circle",{r:2.502,transform:"translate(29.526 10)",fill:t,fillOpacity:.4,style:{animation:"eXySq0EBKm12_f_o 600ms linear infinite normal forwards"}}),O.jsx("circle",{r:2.502,transform:"translate(19 10)",fill:t,fillOpacity:.4,style:{animation:"eXySq0EBKm13_f_o 600ms linear infinite normal forwards"}}),O.jsx("circle",{r:2.053,transform:"matrix(1.21764 0 0 1.21764 8.562 10.002)",fill:t,style:{animation:"eXySq0EBKm14_f_o 600ms linear infinite normal forwards"}})]})})}function k2(t){return O.jsx(Bn,{...t,viewBox:"0 0 12 12",w:"12px",title:"profile",children:O.jsx("path",{fill:"currentColor",d:"M5 6a3 3 0 100-6 3 3 0 000 6zM5 7c-3.375 0-5 2.106-5 3.333V11a1 1 0 001 1h8a1 1 0 001-1v-.667C10 9.106 8.375 7 5 7z"})})}k2.displayName="Profile";function _2(t){return O.jsxs(Bn,{...t,children:[O.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M13 2h2a1 1 0 011 1v12a1 1 0 01-1 1H1a1 1 0 01-1-1V3a1 1 0 011-1h2V0h2v2h2V0h2v2h2V0h2v2zM2 14h12V5H2v9z",clipRule:"evenodd"}),O.jsx("path",{fill:"currentColor",d:"M4 7H6V9H4z"}),O.jsx("path",{fill:"currentColor",d:"M7 7H9V9H7z"}),O.jsx("path",{fill:"currentColor",d:"M4 10H6V12H4z"}),O.jsx("path",{fill:"currentColor",d:"M7 10H9V12H7z"}),O.jsx("path",{fill:"currentColor",d:"M10 7H12V9H10z"}),O.jsx("path",{fill:"currentColor",d:"M10 10H12V12H10z"})]})}_2.displayName="Schedule";function R2(t){return O.jsxs(Bn,{...t,w:"12px",h:"12px",viewBox:"0 0 12 12",children:[O.jsx("circle",{cx:"6",cy:"6",r:"6",fill:"#0189FF"}),O.jsx("path",{d:"M7 6H5V10H7V6Z",fill:"white"}),O.jsx("path",{d:"M6 4C6.55228 4 7 3.55228 7 3C7 2.44772 6.55228 2 6 2C5.44772 2 5 2.44772 5 3C5 3.55228 5.44772 4 6 4Z",fill:"white"})]})}R2.displayName="TinyAlertInfo";function D2(t){return O.jsxs(Bn,{...t,w:"12px",h:"12px",viewBox:"0 0 12 12",children:[O.jsxs("g",{clipPath:"url(#clip0_2165_6683)",children:[O.jsx("circle",{cx:"6",cy:"6",r:"6",fill:"#CC0000"}),O.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3.87867 2.46447L2.46446 3.87868L4.58578 6L2.46446 8.12132L3.87867 9.53553L5.99999 7.41421L8.12131 9.53553L9.53553 8.12132L7.41421 6L9.53553 3.87868L8.12131 2.46447L5.99999 4.58579L3.87867 2.46447Z",fill:"white"})]}),O.jsx("defs",{children:O.jsx("clipPath",{id:"clip0_2165_6683",children:O.jsx("rect",{width:"12px",height:"12px",fill:"white"})})})]})}D2.displayName="TinyAlertError";function O2(t){return O.jsxs(Bn,{...t,w:"12px",h:"12px",viewBox:"0 0 12 12",children:[O.jsx("circle",{cx:"6",cy:"6",r:"6",fill:"#F5A623"}),O.jsx("path",{d:"M5 6L7 6L7 2L5 2L5 6Z",fill:"white"}),O.jsx("path",{d:"M6 8C5.44771 8 5 8.44772 5 9C5 9.55228 5.44772 10 6 10C6.55228 10 7 9.55228 7 9C7 8.44772 6.55228 8 6 8Z",fill:"white"})]})}O2.displayName="TinyAlertWarning";function A2(t){return O.jsxs(Bn,{...t,w:"12px",h:"12px",viewBox:"0 0 12 12",children:[O.jsxs("g",{clipPath:"url(#clip0_2191_1138)",children:[O.jsx("circle",{cx:"6",cy:"6",r:"6",fill:"#28A745"}),O.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3.41421 5.53549L2 6.94971L3.41421 8.36392L4.82843 9.77813L9.77817 4.82839L8.36396 3.41417L4.82843 6.94971L3.41421 5.53549Z",fill:"white"})]}),O.jsx("defs",{children:O.jsx("clipPath",{id:"clip0_2191_1138",children:O.jsx("rect",{width:"12",height:"12",fill:"white"})})})]})}A2.displayName="TinyAlertSuccess";function M2(t){return O.jsx(Bn,{...t,w:"14px",h:"16px",viewBox:"0 0 14 16",title:"password",children:O.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7 0C4.95714 0 3.28571 1.67143 3.28571 3.71429V4.64286H1.42857C0.871429 4.64286 0.5 5.01429 0.5 5.57143V13.9286C0.5 14.4857 0.871429 14.8571 1.42857 14.8571H12.5714C13.1286 14.8571 13.5 14.4857 13.5 13.9286V5.57143C13.5 5.01429 13.1286 4.64286 12.5714 4.64286H10.7143V3.71429C10.7143 1.67143 9.04286 0 7 0ZM7.92857 10.8643V12.0714H6.07143V10.8643C5.51429 10.5857 5.14286 9.93571 5.14286 9.28571C5.14286 8.26429 5.97857 7.42857 7 7.42857C8.02143 7.42857 8.85714 8.26429 8.85714 9.28571C8.85714 9.93571 8.48571 10.5857 7.92857 10.8643ZM5.14286 3.71429V4.64286H8.85714V3.71429C8.85714 2.69286 8.02143 1.85714 7 1.85714C5.97857 1.85714 5.14286 2.69286 5.14286 3.71429Z",fill:"currentColor"})})}M2.displayName="Password";function P2(t){return O.jsxs(Bn,{...t,w:"16px",h:"16px",viewBox:"0 0 16 16",title:"pen",children:[O.jsx("path",{d:"M8.1 3.5L0.3 11.3C0.1 11.5 0 11.7 0 12V15C0 15.6 0.4 16 1 16H4C4.3 16 4.5 15.9 4.7 15.7L12.5 7.9L8.1 3.5Z",fill:"currentColor"}),O.jsx("path",{d:"M15.7 3.3L12.7 0.3C12.3 -0.1 11.7 -0.1 11.3 0.3L9.5 2.1L13.9 6.5L15.7 4.7C16.1 4.3 16.1 3.7 15.7 3.3Z",fill:"currentColor"})]})}P2.displayName="Pen";function L2(t){return O.jsx(Bn,{...t,w:"16px",h:"16px",viewBox:"0 0 16 16",title:"plusSign",children:O.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M0 8C0 3.6 3.6 0 8 0C12.4 0 16 3.6 16 8C16 12.4 12.4 16 8 16C3.6 16 0 12.4 0 8ZM9 9H12V7H9V4H7V7H4V9H7V12H9V9Z",fill:"currentColor"})})}L2.displayName="PlusSign";function z2(t){return O.jsxs(Bn,{...t,w:"16px",h:"16px",viewBox:"0 0 16 16",title:"trashCan",children:[O.jsx("path",{d:"M2 6V14C2 15.1 2.9 16 4 16H12C13.1 16 14 15.1 14 14V6H2Z",fill:"currentColor"}),O.jsx("path",{d:"M12 3V1C12 0.4 11.6 0 11 0H5C4.4 0 4 0.4 4 1V3H0V5H16V3H12ZM10 3H6V2H10V3Z",fill:"currentColor"})]})}z2.displayName="TrashCan";function N2(t){return O.jsx(Bn,{...t,w:"16px",h:"16px",viewBox:"0 0 16 16",title:"textBubble",children:O.jsx("path",{d:"M1 0H15C15.552 0 16 0.448 16 1V11C16 11.552 15.552 12 15 12H10L4 16V12H1C0.448 12 0 11.552 0 11V1C0 0.448 0.448 0 1 0Z",fill:"currentColor"})})}N2.displayName="TextBubble";function j2(t){return O.jsx(Bn,{...t,w:"52",h:"45",viewBox:"0 0 52 45",children:O.jsxs("svg",{fill:"none",children:[O.jsx("path",{d:"M21.642 44.2419C33.5945 44.2419 43.284 34.5524 43.284 22.5999C43.284 10.6473 33.5945 0.957886 21.642 0.957886C9.68945 0.957886 0 10.6473 0 22.5999C0 34.5524 9.68945 44.2419 21.642 44.2419Z",fill:"white"}),O.jsx("path",{d:"M18.5 24.1949C19.3284 24.1949 20 23.5233 20 22.6949C20 21.8665 19.3284 21.1949 18.5 21.1949C17.6716 21.1949 17 21.8665 17 22.6949C17 23.5233 17.6716 24.1949 18.5 24.1949Z",fill:"#CC0000"}),O.jsx("path",{d:"M23.5 24.1949C24.3284 24.1949 25 23.5233 25 22.6949C25 21.8665 24.3284 21.1949 23.5 21.1949C22.6716 21.1949 22 21.8665 22 22.6949C22 23.5233 22.6716 24.1949 23.5 24.1949Z",fill:"#CC0000"}),O.jsx("path",{d:"M28.5 24.1949C29.3284 24.1949 30 23.5233 30 22.6949C30 21.8665 29.3284 21.1949 28.5 21.1949C27.6716 21.1949 27 21.8665 27 22.6949C27 23.5233 27.6716 24.1949 28.5 24.1949Z",fill:"#CC0000"}),O.jsx("path",{d:"M43.678 13.9779C40.657 8.72889 34.991 5.19489 28.5 5.19489C18.835 5.19489 11 13.0299 11 22.6949C11 32.3599 18.835 40.1949 28.5 40.1949C34.608 40.1949 39.984 37.0659 43.115 32.3239",stroke:"#808080",strokeWidth:"2",strokeLinecap:"round"}),O.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M35.5862 15.7811C36.5625 14.8048 38.1455 14.8048 39.1218 15.7811L43.2105 19.8699L47.2992 15.7811C48.2755 14.8048 49.8585 14.8048 50.8348 15.7811C51.8111 16.7574 51.8111 18.3403 50.8348 19.3167L46.746 23.4054L50.8348 27.4941C51.8111 28.4704 51.8111 30.0533 50.8348 31.0297C49.8585 32.006 48.2755 32.006 47.2992 31.0297L43.2105 26.9409L39.1218 31.0297C38.1455 32.006 36.5625 32.006 35.5862 31.0297C34.6099 30.0533 34.6099 28.4704 35.5862 27.4941L39.675 23.4054L35.5862 19.3167C34.6099 18.3403 34.6099 16.7574 35.5862 15.7811Z",fill:"#CC0000"})]})})}j2.displayName="ErrorWhite";function F2(t){return O.jsx(Bn,{...t,w:"53",h:"45",viewBox:"0 0 53 45",title:"infoIcon",children:O.jsxs("svg",{fill:"none",children:[O.jsx("path",{d:"M21.642 44.047C33.5945 44.047 43.284 34.3575 43.284 22.405C43.284 10.4525 33.5945 0.763 21.642 0.763C9.68945 0.763 0 10.4525 0 22.405C0 34.3575 9.68945 44.047 21.642 44.047Z",fill:"white"}),O.jsx("path",{d:"M18.5 24C19.3284 24 20 23.3284 20 22.5C20 21.6716 19.3284 21 18.5 21C17.6716 21 17 21.6716 17 22.5C17 23.3284 17.6716 24 18.5 24Z",fill:"#0189FF"}),O.jsx("path",{d:"M23.5 24C24.3284 24 25 23.3284 25 22.5C25 21.6716 24.3284 21 23.5 21C22.6716 21 22 21.6716 22 22.5C22 23.3284 22.6716 24 23.5 24Z",fill:"#0189FF"}),O.jsx("path",{d:"M28.5 24C29.3284 24 30 23.3284 30 22.5C30 21.6716 29.3284 21 28.5 21C27.6716 21 27 21.6716 27 22.5C27 23.3284 27.6716 24 28.5 24Z",fill:"#0189FF"}),O.jsx("path",{d:"M43.678 13.783C40.657 8.534 34.991 5 28.5 5C18.835 5 11 12.835 11 22.5C11 32.165 18.835 40 28.5 40C34.608 40 39.984 36.871 43.115 32.129",stroke:"#808080",strokeWidth:"2",strokeLinecap:"round"}),O.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M47 21H50C50.2652 21 50.5196 21.1054 50.7071 21.2929C50.8946 21.4804 51 21.7348 51 22V29.045H51.237C51.4908 29.0531 51.7316 29.1597 51.9082 29.3421C52.0849 29.5245 52.1837 29.7685 52.1837 30.0225C52.1837 30.2765 52.0849 30.5205 51.9082 30.7029C51.7316 30.8853 51.4908 30.9919 51.237 31H46.977C46.7232 30.9919 46.4824 30.8853 46.3058 30.7029C46.1291 30.5205 46.0303 30.2765 46.0303 30.0225C46.0303 29.7685 46.1291 29.5245 46.3058 29.3421C46.4824 29.1597 46.7232 29.0531 46.977 29.045H47V23.123C46.7348 23.123 46.4804 23.0176 46.2929 22.8301C46.1054 22.6426 46 22.3882 46 22.123V22C46 21.7348 46.1054 21.4804 46.2929 21.2929C46.4804 21.1054 46.7348 21 47 21Z",fill:"#0189FF"}),O.jsx("path",{d:"M49 19C50.3807 19 51.5 17.8807 51.5 16.5C51.5 15.1193 50.3807 14 49 14C47.6193 14 46.5 15.1193 46.5 16.5C46.5 17.8807 47.6193 19 49 19Z",fill:"#0189FF"})]})})}F2.displayName="InfoWhite";function $2(t){return O.jsx(Bn,{...t,w:"57",h:"45",viewBox:"0 0 57 45",children:O.jsxs("svg",{fill:"none",children:[O.jsx("path",{d:"M21.642 44.094C33.5945 44.094 43.284 34.4045 43.284 22.452C43.284 10.4995 33.5945 0.809998 21.642 0.809998C9.68945 0.809998 0 10.4995 0 22.452C0 34.4045 9.68945 44.094 21.642 44.094Z",fill:"white"}),O.jsx("path",{d:"M43.678 13.83C40.657 8.581 34.991 5.047 28.5 5.047C18.835 5.047 11 12.882 11 22.547C11 32.212 18.835 40.047 28.5 40.047C34.608 40.047 39.984 36.918 43.115 32.176",stroke:"#808080",strokeWidth:"2",strokeLinecap:"round"}),O.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M56.0248 12.8232C57.0011 13.7995 57.0011 15.3825 56.0248 16.3588L44.3118 28.0718C43.8429 28.5406 43.207 28.804 42.544 28.804C41.881 28.804 41.2451 28.5406 40.7762 28.0718L34.2322 21.5278C33.2559 20.5515 33.2559 18.9685 34.2322 17.9922C35.2085 17.0159 36.7915 17.0159 37.7678 17.9922L42.544 22.7685L52.4892 12.8232C53.4655 11.8469 55.0485 11.8469 56.0248 12.8232Z",fill:"#28A745"}),O.jsx("path",{d:"M18.5 24.047C19.3284 24.047 20 23.3754 20 22.547C20 21.7186 19.3284 21.047 18.5 21.047C17.6716 21.047 17 21.7186 17 22.547C17 23.3754 17.6716 24.047 18.5 24.047Z",fill:"#28A745"}),O.jsx("path",{d:"M23.5 24.047C24.3284 24.047 25 23.3754 25 22.547C25 21.7186 24.3284 21.047 23.5 21.047C22.6716 21.047 22 21.7186 22 22.547C22 23.3754 22.6716 24.047 23.5 24.047Z",fill:"#28A745"}),O.jsx("path",{d:"M28.5 24.047C29.3284 24.047 30 23.3754 30 22.547C30 21.7186 29.3284 21.047 28.5 21.047C27.6716 21.047 27 21.7186 27 22.547C27 23.3754 27.6716 24.047 28.5 24.047Z",fill:"#28A745"})]})})}$2.displayName="SuccessWhite";function B2(t){return O.jsx(Bn,{...t,w:"52",h:"45",viewBox:"0 0 52 45",children:O.jsxs("svg",{fill:"none",children:[O.jsx("path",{d:"M21.642 44.282C33.5945 44.282 43.284 34.5925 43.284 22.64C43.284 10.6874 33.5945 0.997986 21.642 0.997986C9.68945 0.997986 0 10.6874 0 22.64C0 34.5925 9.68945 44.282 21.642 44.282Z",fill:"white"}),O.jsx("path",{d:"M18.5 24.235C19.3284 24.235 20 23.5634 20 22.735C20 21.9066 19.3284 21.235 18.5 21.235C17.6716 21.235 17 21.9066 17 22.735C17 23.5634 17.6716 24.235 18.5 24.235Z",fill:"#FFBC27"}),O.jsx("path",{d:"M23.5 24.235C24.3284 24.235 25 23.5634 25 22.735C25 21.9066 24.3284 21.235 23.5 21.235C22.6716 21.235 22 21.9066 22 22.735C22 23.5634 22.6716 24.235 23.5 24.235Z",fill:"#FFBC27"}),O.jsx("path",{d:"M28.5 24.235C29.3284 24.235 30 23.5634 30 22.735C30 21.9066 29.3284 21.235 28.5 21.235C27.6716 21.235 27 21.9066 27 22.735C27 23.5634 27.6716 24.235 28.5 24.235Z",fill:"#FFBC27"}),O.jsx("path",{d:"M43.678 14.018C40.657 8.76899 34.991 5.23499 28.5 5.23499C18.835 5.23499 11 13.07 11 22.735C11 32.4 18.835 40.235 28.5 40.235C34.608 40.235 39.984 37.106 43.115 32.364",stroke:"#808080",strokeWidth:"2",strokeLinecap:"round"}),O.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M48.782 14.053C50.1627 14.053 51.282 15.1723 51.282 16.553V21.12C51.282 22.5007 50.1627 23.62 48.782 23.62C47.4013 23.62 46.282 22.5007 46.282 21.12V16.553C46.282 15.1723 47.4013 14.053 48.782 14.053ZM47.0143 25.7852C47.9906 24.8089 49.5735 24.8089 50.5498 25.7852L50.5958 25.8312C51.5721 26.8076 51.572 28.3905 50.5957 29.3668C49.6194 30.3431 48.0365 30.343 47.0602 29.3667L47.0142 29.3207C46.0379 28.3444 46.0379 26.7615 47.0143 25.7852Z",fill:"#FFBC27"})]})})}B2.displayName="WarningWhite";function V2(t){return O.jsx(Bn,{...t,title:"close",children:O.jsx("svg",{width:"12",height:"12",viewBox:"0 0 12 12",fill:"none",children:O.jsx("path",{d:"M10.7071 1.29303C10.5196 1.10556 10.2652 1.00024 10.0001 1.00024C9.73492 1.00024 9.48061 1.10556 9.29308 1.29303L6.00008 4.58603L2.70708 1.29303C2.51848 1.11087 2.26588 1.01008 2.00368 1.01236C1.74148 1.01464 1.49067 1.1198 1.30526 1.30521C1.11985 1.49062 1.01469 1.74143 1.01241 2.00363C1.01013 2.26583 1.11092 2.51843 1.29308 2.70703L4.58608 6.00003L1.29308 9.29303C1.19757 9.38528 1.12139 9.49562 1.06898 9.61763C1.01657 9.73963 0.988985 9.87085 0.987831 10.0036C0.986677 10.1364 1.01198 10.2681 1.06226 10.391C1.11254 10.5139 1.18679 10.6255 1.28069 10.7194C1.37458 10.8133 1.48623 10.8876 1.60913 10.9379C1.73202 10.9881 1.8637 11.0134 1.99648 11.0123C2.12926 11.0111 2.26048 10.9835 2.38249 10.9311C2.50449 10.8787 2.61483 10.8025 2.70708 10.707L6.00008 7.41403L9.29308 10.707C9.48168 10.8892 9.73429 10.99 9.99648 10.9877C10.2587 10.9854 10.5095 10.8803 10.6949 10.6948C10.8803 10.5094 10.9855 10.2586 10.9878 9.99643C10.99 9.73423 10.8892 9.48163 10.7071 9.29303L7.41408 6.00003L10.7071 2.70703C10.8946 2.5195 10.9999 2.26519 10.9999 2.00003C10.9999 1.73487 10.8946 1.48056 10.7071 1.29303Z",fill:"#60798E"})})})}V2.displayName="Close";const wq=Object.freeze(Object.defineProperty({__proto__:null,AcademicRecord:g2,AlertInfo:y2,ArrowRight:b2,Certificate:S2,CircularCheck:x2,CircularInformation:R0,Close:V2,Download:C2,ErrorWhite:j2,GoAhead:w2,GoBack:E2,InfoWhite:F2,Loader:rO,Multimedia:T2,Password:M2,Pen:P2,PlusSign:L2,Profile:k2,Schedule:_2,SuccessWhite:$2,TextBubble:N2,TinyAlertError:D2,TinyAlertInfo:R2,TinyAlertSuccess:A2,TinyAlertWarning:O2,TrashCan:z2,WarningWhite:B2},Symbol.toStringTag,{value:"Module"}));function aO({status:t,text:r,margin:i="0"}){const l={success:{icon:O.jsx(A2,{}),text:"Success",bg:Re("colors-alert-ice"),color:Re("colors-neutral-darkCharcoal")},error:{icon:O.jsx(D2,{}),text:"Error",bg:Re("colors-alert-veryLightPinkThree"),color:Re("colors-neutral-darkCharcoal")},info:{icon:O.jsx(R2,{}),text:"Info",bg:Re("colors-alert-veryLightBlue"),color:Re("colors-neutral-darkCharcoal")},warning:{icon:O.jsx(O2,{}),text:"Warning",bg:Re("colors-alert-pale"),color:Re("colors-neutral-darkCharcoal")},answered:{icon:void 0,text:"Answered",bg:Re("colors-main-blueGrey"),color:Re("colors-neutral-white")},omitted:{icon:void 0,text:"Omitted",bg:Re("colors-main-ziggurat"),color:Re("colors-neutral-darkCharcoal")},pending:{icon:void 0,text:"Pending",bg:Re("colors-neutral-cultured"),color:Re("colors-neutral-darkCharcoal")},new:{icon:void 0,text:"New answer",bg:"#FF7A14",color:Re("colors-neutral-white")}};return l[t]?O.jsxs(xn,{margin:i,"data-testid":"TinyAlert-Box",backgroundColor:l[t].bg,display:"flex",flexDirection:"row",alignItems:"center",padding:".125em .25em",gap:".25rem",width:"fit-content",borderRadius:".25rem",className:"TinyAlert-Box",children:[l[t].icon&&O.jsx(xn,{lineHeight:0,sx:{">svg":{margin:0}},children:l[t].icon}),O.jsx(xn,{as:"span",color:l[t].color,fontSize:".75rem",fontStyle:"normal",fontWeight:"400",fontFamily:"Roboto",lineHeight:".875rem",margin:"0",children:r??l[t].text})]}):null}aO.displayName="TinyAlert";function D0({bg:t,borderColorActive:r=[Re("colors-main-deepSkyBlue"),Re("colors-neutral-white")],children:i,color:l=Re("colors-neutral-white"),disabled:f=!1,fillLoader:h=Re("colors-neutral-white"),isFullWidth:p=!1,leftIcon:g,m:y="0",isLoading:S=!1,onClick:C,rightIcon:E,rounded:k=!1,size:R="regular",touchDark:A=!1,type:P="button",tabIndex:j,id:q}){let F=i??null;!i&&!E&&!g&&(F="Button");const $=".75rem",Q=k?"12px":Re("radii-small"),V=(t==null?void 0:t.main)??Re("colors-main-deepSkyBlue"),le=A?"rgba(160, 160, 160, 0.2)":"rgba(255, 255, 255, 0.2)",J=!i&&(E??g)?"onlyIcon":"";return O.jsx(xn,{margin:y,sx:{".react-ripples":{borderRadius:Q,display:`${p?"grid":"inline-flex!important"}`}},children:O.jsx(nO,{color:le,children:O.jsx(l0,{id:q,fontWeight:"500",fontSize:R==="regular"?"medium":"small",bg:V,size:R==="regular"?"md":"sm",borderRadius:Q,color:l,className:J,isDisabled:f&&S?!1:f,height:"auto",minHeight:R==="regular"?"2.813rem":"2rem",minWidth:R==="regular"?"9rem":"auto",lineHeight:"initial",iconSpacing:Re("space-xs"),isActive:!1,isLoading:S,leftIcon:g,onClick:me=>{!S&&!f&&(C==null||C(me))},type:P,tabIndex:j,paddingTop:R==="regular"?$:Re(J?"space-xs":"space-xxs"),paddingBottom:R==="regular"?$:Re(J?"space-xs":"space-xxs"),paddingLeft:Re(R==="regular"?"space-s":"space-xs"),paddingRight:Re(R==="regular"?"space-s":"space-xs"),position:"relative",width:p?"full":"auto",rightIcon:E,spinner:O.jsx(rO,{fill:h}),_active:{bg:(t==null?void 0:t.main)??Re("colors-main-azureRadiance")},_disabled:{opacity:"50%",cursor:"not-allowed"},_focus:{boxShadow:"none"},_focusVisible:{boxShadow:`inset 0 0 0 2px ${r[0]}, inset 0 0 0 4px ${r[1]}`},_hover:{bg:(t==null?void 0:t.hover)??Re("colors-main-azureRadiance")},sx:{"&[data-loading]":{boxShadow:"none",cursor:"wait"},"&.onlyIcon span":{m:0},span:{h:"1rem"}},children:F})})})}D0.displayName="Btn";function I2({children:t,disabled:r=!1,isFullWidth:i=!1,leftIcon:l,m:f="0",isLoading:h=!1,onClick:p,rightIcon:g,size:y="regular",type:S="button",tabIndex:C,id:E}){return O.jsx(D0,{id:E,disabled:r,isFullWidth:i,isLoading:h,leftIcon:l,m:f,onClick:p,rightIcon:g,size:y,type:S,tabIndex:C,children:t})}I2.displayName="BtnPrimary";function iO({children:t,disabled:r=!1,isFullWidth:i=!1,leftIcon:l,m:f="0",isLoading:h=!1,onClick:p,rightIcon:g,size:y="regular",type:S="button",tabIndex:C,id:E}){return O.jsx(D0,{id:E,bg:{main:Re("colors-main-veryLightBlue"),hover:Re("colors-main-linkWater")},fillLoader:Re("colors-main-deepSkyBlue"),borderColorActive:[Re("colors-main-deepSkyBlue"),Re("colors-neutral-white")],color:Re("colors-main-deepSkyBlue"),disabled:r,isFullWidth:i,isLoading:h,leftIcon:l,m:f,onClick:p,rightIcon:g,size:y,touchDark:!0,type:S,tabIndex:C,children:t})}iO.displayName="BtnSecondary";function oO({children:t,iconStatus:r="multimedia",rightIcon:i,withoutColor:l=!1,m:f="0",type:h="button",tabIndex:p,id:g,onClick:y}){const S=Re("colors-neutral-gray"),C=Re("colors-main-deepSkyBlue"),E=Re("colors-neutral-white"),k=l?Re("colors-main-blueGrey"):C,R={ahead:O.jsx(w2,{color:k}),answer:O.jsx(N2,{color:k}),back:O.jsx(E2,{color:k}),delete:O.jsx(z2,{color:k}),download:O.jsx(C2,{color:k}),edit:O.jsx(P2,{color:k}),more:O.jsx(L2,{color:k}),multimedia:O.jsx(T2,{color:k}),password:O.jsx(M2,{color:k}),record:O.jsx(g2,{color:k}),noIcon:O.jsx(O.Fragment,{})},A=R[r]??R.multimedia,P=i?A:void 0,j=i?void 0:A;return O.jsx(l0,{id:g,type:h,tabIndex:p,height:"24px",background:"transparent",fontFamily:"Roboto",fontStyle:"normal",fontWeight:"500",fontSize:"14px",lineHeight:"16px",textDecorationLine:"underline",borderRadius:"12px",paddingTop:Re("space-xxs"),paddingBottom:Re("space-xxs"),paddingLeft:Re("space-xs"),paddingRight:Re("space-xs"),color:S,rightIcon:P,leftIcon:j,m:f,onClick:y,_hover:{color:`${C}`},_focusVisible:{boxShadow:`inset 0 0 0 2px ${C}, inset 0 0 0 4px ${E}`},_focus:{boxShadow:"none"},_active:{bg:"transparent"},sx:{"&:hover":{"svg path":{fill:`${C}`},"@media (hover: none)":{color:`${S}`,"svg path":{fill:k}}}},children:t})}oO.displayName="BtnTertiary";function U2({children:t,m:r="0",onClick:i,id:l}){return O.jsx(xn,{as:"button",id:l,backgroundColor:"transparent",borderStyle:"none",className:"linkButton",width:"fit-content",padding:".25em",fontFamily:"Roboto",fontStyle:"normal",fontWeight:"500",fontSize:".875rem",lineHeight:"1rem",textDecorationLine:"underline",color:Re("colors-main-deepSkyBlue"),m:r,onClick:i,_hover:{color:Re("colors-neutral-darkCharcoal"),cursor:"pointer"},children:t})}U2.displayName="BtnLink";const Eq=({children:t,className:r="tooltip",label:i,isDisabled:l=!1,m:f,maxWidth:h="200px",placement:p="bottom"})=>O.jsx(eO,{sx:{bg:Re("colors-neutral-darkCharcoal"),borderRadius:"10px",color:"white !important",fontSize:"12px",fontWeight:"400",maxWidth:h,padding:"8px",".chakra-tooltip__arrow":{bg:`${Re("colors-neutral-darkCharcoal")} !important`}},className:r,closeOnClick:!0,label:i,m:f,hasArrow:!0,isDisabled:l,placement:p,children:O.jsx("span",{children:t})}),Tq=4;function sO(){const{background:t,labels:r,logo:i,logoAlt:l,Profile:f}=pe.useContext(O0);return O.jsxs(xn,{as:"header",bgImg:t,bgPos:"center",bgSize:"cover",height:"8.75rem",borderBottom:Re("borders-light"),pos:"relative",children:[O.jsxs(xn,{p:"1rem",children:[(f==null?void 0:f.id)!==Tq&&O.jsx(_0,{bg:Re("colors-neutral-white"),m:"0 0 .625rem 0",children:O.jsxs(Mv,{children:[O.jsx(k2,{m:"0 .25rem 0 0"}),f==null?void 0:f.name]})}),r!==void 0&&r.length>0&&O.jsx(XC,{direction:"row",spacing:".625rem",wrap:"wrap",children:r.map((h,p)=>O.jsx(_0,{bg:h.id==="NEW"?Re("colors-secondary-pumpkin"):void 0,children:h.text},p))})]}),i!==void 0&&i.length>0&&O.jsx(QC,{pos:"absolute",bottom:"0",left:".9375rem",transform:"translateY(30%)",h:"3.5rem",border:Re("borders-light"),bg:Re("colors-neutral-white"),overflow:"hidden",borderRadius:Re("radii-small"),w:"6.25rem",children:O.jsx(s3,{src:i,alt:l??"logo",maxHeight:"3.5rem",maxWidth:"6.25rem"})})]})}sO.displayName="Header";function H2({date:t}){return t==null||t.length===0?null:O.jsx(Ic,{fontSize:".75rem",color:Re("colors-neutral-darkCharcoal"),m:"0",children:t})}H2.displayName="DateStatus";function lO({type:t,progressValue:r=0}){switch(t){case"schedule":return O.jsx(_2,{});case"certificate":return O.jsx(S2,{});case"circularCheck":return O.jsx(x2,{});case"progress":return O.jsx(tO,{value:r});case"circularInformation":return O.jsx(R0,{});case"info":return O.jsx(R0,{});default:return null}}const kq=7;function uO({progress:t,status:r}){return O.jsxs(O.Fragment,{children:[O.jsxs(Mv,{children:[O.jsx(lO,{type:t.icon,progressValue:t.progress}),O.jsx(Ic,{m:"0",ml:".625rem",fontSize:".875rem",lineHeight:"1.125rem",children:t==null?void 0:t.label})]}),(r==null?void 0:r.id)===kq&&(t==null?void 0:t.finalGrade)&&(t==null?void 0:t.finalGrade.length)>0&&O.jsx(_0,{size:"sm",bg:t.isApproved?Re("colors-alert-jadeGreen"):Re("colors-alert-red"),color:Re("colors-neutral-white"),children:t==null?void 0:t.finalGrade})]})}function cO(){const{name:t,dateStatus:r,information:i,progress:l,status:f}=pe.useContext(O0);return l==null?null:O.jsxs(xn,{marginTop:"1.875rem",as:"section",p:"0 .9375rem",children:[(r==null?void 0:r.hasDates)&&O.jsxs(lD,{direction:"row",divider:r.init!==void 0&&r.init.length>0&&r.end!==void 0&&l.icon!==null&&r.end.length>0?O.jsx(xn,{h:".5rem",w:"1px",bg:Re("colors-neutral-silverSand"),alignSelf:"center"}):O.jsx(O.Fragment,{}),children:[O.jsx(H2,{date:r.init}),O.jsx(H2,{date:r.end})]}),O.jsx(uD,{as:"h2",fontSize:"1rem",mt:".3125rem",fontWeight:"700",lineHeight:"1.3",children:t}),O.jsx(Mv,{mt:"1rem",justify:"space-between",children:O.jsx(uO,{progress:l,status:f})}),i!=null&&(i==null?void 0:i.length)>0&&O.jsx(p0,{spacing:".625rem",paddingInlineStart:"0",pt:".625rem",m:".625rem 0 0",lineHeight:".875rem",borderTop:Re("borders-light"),children:i.map((h,p)=>{var g;return O.jsxs(oD,{display:"flex",children:[O.jsx(lO,{type:h.icon}),O.jsx(xn,{display:"inline-block",ml:".625rem",children:h.href!==void 0&&((g=h.href)==null?void 0:g.length)>0?O.jsx(aD,{isExternal:!0,href:h.href,color:Re("colors-main-deepSkyBlue"),textDecor:"underline",fontWeight:"500",fontSize:".75rem",children:h.text}):O.jsx(Ic,{m:"0",color:Re("colors-neutral-gray"),fontSize:".75rem",children:h.text})})]},p)})})]})}cO.displayName="Section";const Te={name:"Orientación en la prevención de contagio de COVID-19",background:"https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcT76y4DAhqWAlCspmGYWcbxSDnLw3p1FzJQKA&usqp=CAU",logo:"https://procalidad.cl/wp-content/uploads/2021/05/logo-achs.png",logoAlt:"op",status:{id:6,name:"NEXT",detail:"",style:""},Profile:{id:4,name:"Alumno"},progress:{label:"Tienes hasta el Lunes 16 de Enero para de 2022 inscribirte",icon:"schedule",progress:0,isApproved:!1,finalGrade:""},dateStatus:{hasDates:!0,init:"Inicia 17 ene 2022",end:"Finaliza 10 ene 2023"},information:[{icon:"schedule",text:"Certificado por ACHS",href:"http://google.com"},{icon:"certificate",text:"Certificado por ACHS",href:""},{icon:"circularCheck",text:"Certificado por ACHS",href:"http://google.com"},{icon:"circularInformation",text:"Certificado por ACHS",href:""}],action:{enabled:!0,text:"Tu curso aún no comienza",hasIcon:!1,href:"https://platform.eclass.io/",targetBlank:!1},labels:[{id:"OBLIGATORY",text:"Obligatorio"}]},fO={noHabilitado:{...Te,id:1,hasFinanzeFreezed:!1,status:{...Te.status,id:1,name:"noHabilitado"},progress:{...Te.progress,label:"Inscripción no habilitada",icon:"circularInformation"},dateStatus:{...Te.dateStatus,hasDates:!1},information:null,action:{...Te.action,href:"#",text:"Ver información del curso"},labels:[]},inscripcionFutura:{...Te,id:1,hasFinanzeFreezed:!1,status:{...Te.status,id:1,name:"noHabilitado"},progress:{...Te.progress,label:"Podrás inscribirte a partir del 31 de marzo de 2022",icon:"circularInformation"},dateStatus:{...Te.dateStatus,hasDates:!1},information:null,action:{...Te.action,href:"#",text:"Ver información del curso"},labels:[{id:"NEW",text:"Nuevo"}]},inscripcionFinalizo:{...Te,id:1,hasFinanzeFreezed:!1,status:{...Te.status,id:1,name:"noHabilitado"},progress:{...Te.progress,label:"El período de inscripción finalizó el 31 de marzo de 2022",icon:"circularInformation"},dateStatus:{...Te.dateStatus,hasDates:!1},information:null,action:{...Te.action,href:"#",text:"Ver información del curso"},labels:[{id:"NEW",text:"Nuevo"}]},preInscripcion:{...Te,logo:"https://cdn.eclass.com/img/productos/logos/logo-utec-square.jpg",background:"https://cdn.eclass.com/img/cursos/default1.png",id:2,hasFinanzeFreezed:!1,status:{...Te.status,id:2,name:"preInscripcion"},progress:{...Te.progress,label:"Tienes hasta el Lunes 16 de Enero para de 2022 inscribirte",icon:"schedule"},dateStatus:{...Te.dateStatus,hasDates:!1},information:[{icon:"certificate",text:"Certificado por ACHS",href:""}],action:{...Te.action,text:"Solicitar inscripción",targetBlank:!0},labels:[]},preInscripcion2:{...Te,id:3,hasFinanzeFreezed:!1,logo:"",status:{...Te.status,id:2,name:"preInscripcion"},progress:{...Te.progress,label:"Estamos procesando tu solicitud de inscripción",icon:"circularInformation"},dateStatus:{...Te.dateStatus,hasDates:!1},information:[{icon:"certificate",text:"Certificado por ACHS",href:""}],action:{...Te.action,text:"Ver información del curso",targetBlank:!0},labels:[]},inscripcion:{...Te,background:"https://cdn.eclass.com/img/cursos/default2.png",id:4,hasFinanzeFreezed:!1,status:{...Te.status,id:3,name:"inscripcion"},progress:{...Te.progress,label:"Tienes hasta el Lunes 16 de Enero para de 2022 inscribirte",icon:"schedule"},dateStatus:{...Te.dateStatus,hasDates:!1},information:[{icon:"certificate",text:"Certificado por ACHS",href:""}],action:{...Te.action,text:"Inscríbete",targetBlank:!0}},inscripcion2:{...Te,id:5,hasFinanzeFreezed:!1,status:{...Te.status,id:3,name:"inscripcion"},progress:{...Te.progress,label:"Tienes hasta el Lunes 16 de Enero para de 2022 inscribirte",icon:"schedule"},dateStatus:{...Te.dateStatus,hasDates:!0},information:[],action:{...Te.action,text:"Inscríbete",targetBlank:!0},labels:[{id:"OBLIGATORY",text:"Obligatorio"},{id:"NEW",text:"Nuevo"}]},noDisponible:{...Te,id:6,hasFinanzeFreezed:!1,logo:"",background:"https://cdn.eclass.com/img/cursos/default2.png",status:{...Te.status,id:4,name:"no disponible"},progress:{...Te.progress,label:"Tu curso iniciará el Lunes 16 de Enero de 2023",icon:"schedule"},dateStatus:{init:"Inicia 17 ene 2022",end:"",hasDates:!0},information:[{icon:"certificate",text:"Certificado por ACHS",href:""}],action:{...Te.action,text:"Ver información del curso",targetBlank:!0},labels:[]},noDisponible2:{...Te,background:"https://cdn.eclass.com/img/cursos/default3.png",logo:"https://cdn.eclass.com/img/productos/logos/logo-eclass-academy-square.jpg",id:7,hasFinanzeFreezed:!1,status:{...Te.status,id:4,name:"no disponible"},progress:{...Te.progress,label:"Tu curso iniciará el Lunes 16 de Enero de 2023",icon:"schedule"},dateStatus:{init:"Inicia 17 ene 2022",end:"",hasDates:!0},information:[{icon:"certificate",text:"Certificado por ACHS",href:""}],action:{...Te.action,enabled:!1},labels:[]},noDisponible3:{...Te,background:"https://cdn.eclass.com/img/cursos/default3.png",logo:"https://cdn.eclass.com/img/productos/logos/logo-eclass-academy-square.jpg",id:57,hasFinanzeFreezed:!1,Profile:{id:1,name:"Administrador"},status:{...Te.status,id:4,name:"no disponible"},progress:{...Te.progress,label:"Tu curso iniciará el Lunes 16 de Enero de 2023",icon:"schedule"},dateStatus:{init:"Inicia 17 ene 2022",end:"",hasDates:!0},information:[{icon:"certificate",text:"Certificado por ACHS",href:""}],action:{...Te.action,enabled:!1},labels:[]},activado:{...Te,id:8,hasFinanzeFreezed:!1,status:{...Te.status,id:5,name:"disponible"},progress:{...Te.progress,label:"¡Ya puedes ingresar a tu curso y comenzar a estudiar!",icon:"progress",progress:0},dateStatus:{init:"",end:"Finaliza 16 nov 2023",hasDates:!0},information:[{icon:"circularInformation",text:"Información del curso",href:"#"},{icon:"certificate",text:"Certificado por ACHS",href:""}],action:{...Te.action,targetBlank:!0,hasIcon:!0,text:"Comenzar a estudiar"},labels:[]},sinEstudiar:{...Te,id:9,hasFinanzeFreezed:!1,logo:"",status:{...Te.status,id:6,name:"sinEstudiar"},progress:{...Te.progress,label:"Tu curso inició hace 3 días, ¡Comienza a estudiar!",icon:"progress",progress:0},dateStatus:{init:"",end:"Finaliza 16 nov 2023",hasDates:!0},information:[{icon:"circularInformation",text:"Información del curso",href:"#"},{icon:"certificate",text:"Certificado por ACHS",href:""}],action:{...Te.action,targetBlank:!0,hasIcon:!0,text:"Comenzar a estudiar"},labels:[]},sinEstudiar2:{...Te,id:10,hasFinanzeFreezed:!1,background:"https://cdn.eclass.com/img/cursos/default2.png",status:{...Te.status,id:6,name:"sinEstudiar"},progress:{...Te.progress,label:"Tu curso finaliza en 7 días",icon:"progress",progress:0},dateStatus:{init:"",end:"Finaliza 16 nov 2023",hasDates:!0},information:[{icon:"circularInformation",text:"Información del curso",href:"#"},{icon:"certificate",text:"Certificado por ACHS",href:""}],action:{...Te.action,targetBlank:!0,hasIcon:!0,text:"Comenzar a estudiar"},labels:[]},sinEstudiar3:{...Te,id:11,hasFinanzeFreezed:!1,status:{...Te.status,id:6,name:"sinEstudiar"},progress:{...Te.progress,label:"Tu curso finaliza mañana a las 23:30 hrs. GMT -04:00",icon:"progress",progress:0},dateStatus:{init:"",end:"Finaliza 16 nov 2023",hasDates:!0},information:[{icon:"circularInformation",text:"Información del curso",href:"#"},{icon:"certificate",text:"Certificado por ACHS",href:""}],action:{...Te.action,targetBlank:!0,hasIcon:!0,text:"Comenzar a estudiar"},labels:[]},sinEstudiar4:{...Te,logo:"https://cdn.eclass.com/img/productos/logos/logo-uandes-square.jpg",id:12,hasFinanzeFreezed:!1,status:{...Te.status,id:6,name:"sinEstudiar"},progress:{...Te.progress,label:"Tu curso finaliza hoy a las 23:30 hrs. GMT -04:00",icon:"progress",progress:0},dateStatus:{init:"",end:"Finaliza 16 nov 2023",hasDates:!0},information:[{icon:"circularInformation",text:"Información del curso",href:"#"},{icon:"certificate",text:"Certificado por ACHS",href:""}],action:{...Te.action,targetBlank:!0,hasIcon:!0,text:"Comenzar a estudiar"},labels:[]},continuar:{...Te,id:13,hasFinanzeFreezed:!0,status:{...Te.status,id:7,name:"continuar"},logo:"https://cdn.eclass.com/img/productos/logos/logo-eclass-academy-square.jpg",progress:{...Te.progress,label:"Has completado un 25% de tu curso",icon:"progress",progress:25},dateStatus:{init:"",end:"Finaliza 16 nov 2023",hasDates:!0},information:[{icon:"circularInformation",text:"Información del curso",href:"#"},{icon:"certificate",text:"Certificado por ACHS",href:""}],action:{...Te.action,targetBlank:!0,hasIcon:!0,text:"Continuar estudiando"},labels:[]},continuar2:{...Te,id:14,hasFinanzeFreezed:!1,status:{...Te.status,id:7,name:"continuar"},logo:"https://cdn.eclass.com/files/branding/programa/2119/imagePdf-1628188569.jpg",progress:{...Te.progress,label:"Has completado un 100% de tu curso",icon:"progress",progress:100},dateStatus:{init:"",end:"Finaliza 16 nov 2023",hasDates:!0},information:[{icon:"circularInformation",text:"Información del curso",href:"#"},{icon:"certificate",text:"Certificado por ACHS",href:""}],action:{...Te.action,text:"Ir a mi curso"},labels:[]},pendiente:{...Te,background:"https://cdn.eclass.com/img/cursos/default3.png",id:15,hasFinanzeFreezed:!1,status:{...Te.status,id:8,name:"pendiente"},progress:{...Te.progress,label:"¡Curso finalizado! Estamos calculando tu promedio final",icon:"circularInformation"},dateStatus:{init:"",end:"Finaliza 16 nov 2023",hasDates:!0},information:[{icon:"circularInformation",text:"Pertenece a: Diplomado en Gestión de la Sustentabilidad en Organizaciones",href:""},{icon:"certificate",text:"Certificado por ACHS",href:""}],action:{...Te.action,text:"Ir a mi curso"},labels:[]},terminado:{...Te,id:16,hasFinanzeFreezed:!1,status:{...Te.status,id:7,name:"QUALIFIED"},progress:{...Te.progress,label:"Curso aprobado con nota",icon:"circularCheck",isApproved:!0,finalGrade:"6,5"},dateStatus:{init:"",end:"Finalizó 16 nov 2023",hasDates:!0},information:[{icon:"circularInformation",text:"Pertenece a: Diplomado en Gestión de la Sustentabilidad en Organizaciones",href:""},{icon:"certificate",text:"Certificado por ACHS",href:""}],action:{...Te.action,text:"Ir a mi curso"},labels:[]},terminado2:{...Te,logo:"https://cdn.eclass.com/img/productos/logos/logo-eclass-academy-square.jpg",id:17,hasFinanzeFreezed:!1,Profile:{id:1,name:"Administrador"},status:{...Te.status,id:7,name:"QUALIFIED"},progress:{...Te.progress,label:"Curso reprobado con nota",icon:"circularCheck",isApproved:!1,finalGrade:"3,5"},dateStatus:{init:"",end:"Finalizó 16 nov 2023",hasDates:!0},information:[{icon:"circularInformation",text:"Pertenece a: Diplomado en Gestión de la Sustentabilidad en Organizaciones",href:""},{icon:"certificate",text:"Certificado por ACHS",href:""}],action:{...Te.action,text:"Ir a mi curso"},labels:[]},terminado3:{...Te,id:18,hasFinanzeFreezed:!1,logo:"",status:{...Te.status,id:9,name:"terminado"},progress:{...Te.progress,label:"Curso finalizado",icon:"circularCheck"},dateStatus:{init:"",end:"Finalizó 16 nov 2023",hasDates:!0},information:[{icon:"circularInformation",text:"Pertenece a: Diplomado en Gestión de la Sustentabilidad en Organizaciones",href:""},{icon:"certificate",text:"Certificado por ACHS",href:""}],action:{...Te.action,text:"Ir a mi curso"},labels:[]}},_q=Object.keys(fO).map(t=>fO[t]),dO=4,Vv=(t,r=dO)=>t||r!==dO;function Rq(t=4){const r=t*vO+hO*(t-1);return{px:`${r*16}px`,rem:`${r}rem`,remValue:r}}function Dq({isOpen:t,onOpen:r,onClose:i,showOverlay:l,modalPaymentText:f}){const h={backgroundColor:"transparent"};function p(){return O.jsx(XD,{bg:"#2F2F2F",opacity:"0.32 !important",backdropBlur:"2px"})}const[g,y]=pe.useState(O.jsx(p,{}));return pe.useEffect(()=>{l&&y(O.jsx(p,{}))},[l]),O.jsxs(l2,{isCentered:!0,isOpen:t,onClose:i,size:"xl",blockScrollOnMount:!1,closeOnOverlayClick:!1,children:[g,O.jsxs(YD,{marginTop:"0",marginBottom:["25.75rem","15.75rem"],children:[O.jsxs(qD,{justifyContent:"center",display:"flex",flexDirection:"column",alignItems:"center",p:"2rem 2rem 0 2rem",children:[O.jsx(y2,{w:"52",h:"45",viewBox:"0 0 45 52"}),f.title]}),O.jsx(KD,{size:"md",color:Re("colors-main-blueGrey"),_hover:h,_focus:h,_active:h}),O.jsx(QD,{p:"1rem 2rem 2rem 2rem",children:O.jsx(Ic,{align:"center",children:f.body})}),O.jsx(GD,{justifyContent:"center",borderTop:"1px solid",borderTopColor:Re("colors-neutral-platinum"),p:"1rem",children:O.jsx(l0,{onClick:i,color:Re("colors-main-deepSkyBlue"),backgroundColor:"transparent",fontWeight:"500",height:"auto",lineHeight:"1.172rem",_hover:h,_focus:h,_active:h,children:f.buttonName})})]})]})}l2.displayName="Modal";function pO({modalPaymentText:t}){const{action:r,Profile:i,hasFinanzeFreezed:l}=pe.useContext(O0),{isOpen:f,onOpen:h,onClose:p}=zW(),[g,y]=pe.useState(!1),S={backgroundColor:"transparent"},C=()=>{y(!0),h()};return r==null?null:O.jsxs(QC,{as:"footer",mt:"1rem",p:"1rem",borderTop:"1px solid",borderTopColor:Re("colors-neutral-platinum"),children:[Vv(r.enabled,i==null?void 0:i.id)?O.jsxs(O.Fragment,{children:[l&&t?O.jsx(xn,{color:Re("colors-main-deepSkyBlue"),backgroundColor:"transparent",fontWeight:"500",height:"auto",mr:r.hasIcon?"1.5rem":"0",lineHeight:"1.172rem",p:"0",zIndex:"inherit !important",_hover:S,_focus:S,_active:S,onClick:()=>C(),fontSize:"1rem !important",children:r.text}):O.jsx(Ic,{color:Re("colors-main-deepSkyBlue"),fontWeight:"500",mr:r.hasIcon?"1.5rem":"0",lineHeight:"1.172rem",mt:"0",mb:"0",children:r.text}),r.hasIcon&&O.jsx(b2,{color:Re("colors-main-deepSkyBlue")})]}):O.jsx(Ic,{fontWeight:"500",lineHeight:"1.172rem",color:Re("colors-neutral-spanishGrey"),m:"0",children:r.text}),t&&O.jsx(Dq,{isOpen:f,onClose:p,showOverlay:g,onOpen:h,modalPaymentText:t})]})}pO.displayName="Footer";const O0=pe.createContext({});function Oq({enabled:t,children:r}){return t?O.jsx(m2,{children:r}):O.jsx(O.Fragment,{children:r})}function W2({data:t,modalPaymentText:r}){var l,f,h,p,g,y;const i={boxShadow:`0 2px 7px 0 ${Re("colors-neutral-silverSand")}`};return O.jsx(O0.Provider,{value:t,children:O.jsx(UW,{as:"article",border:Re("borders-light"),borderRadius:Re("radii-big"),cursor:"pointer",transition:"box-shadow .3s",_active:i,_hover:i,_focus:i,overflow:"hidden",children:O.jsx(Oq,{enabled:Vv(((l=t.action)==null?void 0:l.enabled)??!1,(f=t.Profile)==null?void 0:f.id),children:O.jsxs(Mv,{direction:"column",justify:"space-between",h:"100%",children:[O.jsxs(xn,{className:"CourseList-TraditionalBox",children:[!t.hasFinanzeFreezed&&Vv(((h=t.action)==null?void 0:h.enabled)??!1,(p=t.Profile)==null?void 0:p.id)&&O.jsx(fD,{href:(g=t.action)==null?void 0:g.href,isExternal:(y=t.action)==null?void 0:y.targetBlank}),O.jsx(sO,{}),O.jsx(cO,{})]}),O.jsx(pO,{modalPaymentText:r})]})})})})}W2.displayName="BoxTraditional";function Aq({enabled:t,children:r}){return t?O.jsx(m2,{children:r}):O.jsx(O.Fragment,{children:r})}function Y2({backgroundImg:t,title:r,data:i,size:l="large",m:f}){var p,g,y,S,C,E,k;const h={large:"286px",small:"197px"};return O.jsx(Aq,{enabled:Vv(((p=i==null?void 0:i.action)==null?void 0:p.enabled)??!1,(g=i==null?void 0:i.Profile)==null?void 0:g.id),children:O.jsxs(xn,{className:"CourseList-ImageBox",sx:{backgroundImage:`linear-gradient(to bottom, rgba(0,0,0,0) 35%, rgba(0,0,0,1) 100%), url(${t})`,color:Re("colors-neutral-white"),cursor:"pointer",height:h[l],backgroundSize:"cover",backgroundPosition:"center",borderRadius:"10px",padding:"16px",display:"flex",font:"Roboto",flexDirection:"column",margin:f,justifyContent:"end",textAlign:"left"},children:[!(i!=null&&i.hasFinanzeFreezed)&&Vv(((y=i==null?void 0:i.action)==null?void 0:y.enabled)??!1,(S=i==null?void 0:i.Profile)==null?void 0:S.id)&&O.jsx(fD,{href:(C=i==null?void 0:i.action)==null?void 0:C.href,isExternal:(E=i==null?void 0:i.action)==null?void 0:E.targetBlank}),O.jsxs(xn,{className:"textBox",bottom:"20px",display:"flex",flexDirection:"column",gap:"8px",children:[O.jsx(xn,{as:"h2",className:"courseName",fontWeight:"700",fontSize:"16px",lineHeight:"21px",marginBlockEnd:"0",margin:"0",children:r}),(k=i==null?void 0:i.information)==null?void 0:k.map((R,A)=>R.icon==="certificate"&&O.jsx(xn,{as:"p",className:"certificateText",fontSize:"14px",fontWeight:"400",lineHeight:"12px",margin:"0",children:R.text},A))]})]})})}Y2.displayName="BoxImage";const Mq=({type:t="TRADITIONAL",data:r,modalPaymentText:i})=>{const l={data:r,modalPaymentText:i},f={data:r,backgroundImg:r.background??"",title:r.name??""};return{TRADITIONAL:O.jsx(W2,{...l}),TRADITIONAL_LANDSCAPE:O.jsx(W2,{...l}),IMAGE_LARGE:O.jsx(Y2,{...f}),IMAGE_SMALL:O.jsx(Y2,{...f,size:"small"})}[t]},hO=1.25,vO=17.8125;function mO({courses:t,modalPaymentText:r,m:i="0 auto",typeBox:l="TRADITIONAL"}){return t===void 0?null:O.jsx(xn,{display:"grid",gridColumnGap:`${hO}rem`,gridRowGap:"1.75rem",gridTemplateColumns:`repeat(auto-fill, minmax(${vO}rem, 1fr))`,m:i,w:"100%",children:t==null?void 0:t.map(f=>O.jsx(Mq,{data:f,type:l,modalPaymentText:r},f.id))})}mO.displayName="CourseList";const G2={success:{icon:O.jsx($2,{}),bg:Re("colors-alert-ice"),id:"success"},error:{icon:O.jsx(j2,{}),bg:Re("colors-alert-veryLightPinkThree"),id:"error"},info:{icon:O.jsx(F2,{}),bg:Re("colors-alert-veryLightBlue"),id:"info"},warning:{icon:O.jsx(B2,{}),bg:Re("colors-alert-pale"),id:"warning"}};function gO({children:t,canDismiss:r=!1,buttonText:i,buttonIcon:l,buttonLink:f=!1,isFlash:h=!1,onClick:p,state:g,m:y}){const[S]=WW("(max-width: 425px)"),C=()=>{p&&p()};let E;return i&&(E=f?"link":"normal"),O.jsxs(xn,{className:h?"flashNotification":"e_alert",alignItems:S?"unset":"center",backgroundColor:G2[g].bg,borderRadius:"8px",display:"flex",flexFlow:S?"column":"row",gap:h?"":"16px",justifyContent:S?"":"space-between",margin:y,width:"100%",maxWidth:"796px",p:"1rem",pr:r?"1.75rem":"1rem",position:"relative",children:[O.jsxs(xn,{gap:"10px",className:"alertContent",display:"flex",sx:{".linkButton":{fontSize:"16px"}},children:[O.jsx(xn,{className:"iconContainer",sx:{svg:{width:"auto"}},children:G2[g].icon}),O.jsxs(xn,{display:"flex",alignItems:"center",children:[O.jsx(xn,{as:"p",fontFamily:"Roboto",fontSize:"16px",fontWeight:"400",lineHeight:"28px",color:Re("colors-neutral-darkCharcoal"),children:t}),E==="link"&&O.jsx(U2,{onClick:C,children:i})]})]}),E==="normal"&&O.jsx(I2,{isFullWidth:!!S,leftIcon:l,onClick:C,children:i}),r&&O.jsx(xn,{"data-testid":"closeButton",cursor:"pointer",marginLeft:"12px",sx:{svg:{position:"absolute",top:"16px",right:"12px"}},onClick:p,children:O.jsx(V2,{})})]})}let Pq={data:""},Lq=t=>typeof window=="object"?((t?t.querySelector("#_goober"):window._goober)||Object.assign((t||document.head).appendChild(document.createElement("style")),{innerHTML:" ",id:"_goober"})).firstChild:t||Pq,zq=/(?:([\u0080-\uFFFF\w-%@]+) *:? *([^{;]+?);|([^;}{]*?) *{)|(}\s*)/g,Nq=/\/\*[^]*?\*\/| +/g,yO=/\n+/g,Eu=(t,r)=>{let i="",l="",f="";for(let h in t){let p=t[h];h[0]=="@"?h[1]=="i"?i=h+" "+p+";":l+=h[1]=="f"?Eu(p,h):h+"{"+Eu(p,h[1]=="k"?"":r)+"}":typeof p=="object"?l+=Eu(p,r?r.replace(/([^,])+/g,g=>h.replace(/(^:.*)|([^,])+/g,y=>/&/.test(y)?y.replace(/&/g,g):g?g+" "+y:y)):h):p!=null&&(h=/^--/.test(h)?h:h.replace(/[A-Z]/g,"-$&").toLowerCase(),f+=Eu.p?Eu.p(h,p):h+":"+p+";")}return i+(r&&f?r+"{"+f+"}":f)+l},vl={},bO=t=>{if(typeof t=="object"){let r="";for(let i in t)r+=i+bO(t[i]);return r}return t},jq=(t,r,i,l,f)=>{let h=bO(t),p=vl[h]||(vl[h]=(y=>{let S=0,C=11;for(;S<y.length;)C=101*C+y.charCodeAt(S++)>>>0;return"go"+C})(h));if(!vl[p]){let y=h!==t?t:(S=>{let C,E,k=[{}];for(;C=zq.exec(S.replace(Nq,""));)C[4]?k.shift():C[3]?(E=C[3].replace(yO," ").trim(),k.unshift(k[0][E]=k[0][E]||{})):k[0][C[1]]=C[2].replace(yO," ").trim();return k[0]})(t);vl[p]=Eu(f?{["@keyframes "+p]:y}:y,i?"":"."+p)}let g=i&&vl.g?vl.g:null;return i&&(vl.g=vl[p]),((y,S,C,E)=>{E?S.data=S.data.replace(E,y):S.data.indexOf(y)===-1&&(S.data=C?y+S.data:S.data+y)})(vl[p],r,l,g),p},Fq=(t,r,i)=>t.reduce((l,f,h)=>{let p=r[h];if(p&&p.call){let g=p(i),y=g&&g.props&&g.props.className||/^go/.test(g)&&g;p=y?"."+y:g&&typeof g=="object"?g.props?"":Eu(g,""):g===!1?"":g}return l+f+(p??"")},"");function A0(t){let r=this||{},i=t.call?t(r.p):t;return jq(i.unshift?i.raw?Fq(i,[].slice.call(arguments,1),r.p):i.reduce((l,f)=>Object.assign(l,f&&f.call?f(r.p):f),{}):i,Lq(r.target),r.g,r.o,r.k)}let SO,q2,X2;A0.bind({g:1});let ml=A0.bind({k:1});function $q(t,r,i,l){Eu.p=r,SO=t,q2=i,X2=l}function Tu(t,r){let i=this||{};return function(){let l=arguments;function f(h,p){let g=Object.assign({},h),y=g.className||f.className;i.p=Object.assign({theme:q2&&q2()},g),i.o=/ *go\d+/.test(y),g.className=A0.apply(i,l)+(y?" "+y:""),r&&(g.ref=p);let S=t;return t[0]&&(S=g.as||t,delete g.as),X2&&S[0]&&X2(g),SO(S,g)}return r?r(f):f}}var Bq=t=>typeof t=="function",M0=(t,r)=>Bq(t)?t(r):t,Vq=(()=>{let t=0;return()=>(++t).toString()})(),xO=(()=>{let t;return()=>{if(t===void 0&&typeof window<"u"){let r=matchMedia("(prefers-reduced-motion: reduce)");t=!r||r.matches}return t}})(),Iq=20,P0=new Map,Uq=1e3,CO=t=>{if(P0.has(t))return;let r=setTimeout(()=>{P0.delete(t),Gc({type:4,toastId:t})},Uq);P0.set(t,r)},Hq=t=>{let r=P0.get(t);r&&clearTimeout(r)},Q2=(t,r)=>{switch(r.type){case 0:return{...t,toasts:[r.toast,...t.toasts].slice(0,Iq)};case 1:return r.toast.id&&Hq(r.toast.id),{...t,toasts:t.toasts.map(h=>h.id===r.toast.id?{...h,...r.toast}:h)};case 2:let{toast:i}=r;return t.toasts.find(h=>h.id===i.id)?Q2(t,{type:1,toast:i}):Q2(t,{type:0,toast:i});case 3:let{toastId:l}=r;return l?CO(l):t.toasts.forEach(h=>{CO(h.id)}),{...t,toasts:t.toasts.map(h=>h.id===l||l===void 0?{...h,visible:!1}:h)};case 4:return r.toastId===void 0?{...t,toasts:[]}:{...t,toasts:t.toasts.filter(h=>h.id!==r.toastId)};case 5:return{...t,pausedAt:r.time};case 6:let f=r.time-(t.pausedAt||0);return{...t,pausedAt:void 0,toasts:t.toasts.map(h=>({...h,pauseDuration:h.pauseDuration+f}))}}},L0=[],z0={toasts:[],pausedAt:void 0},Gc=t=>{z0=Q2(z0,t),L0.forEach(r=>{r(z0)})},Wq={blank:4e3,error:4e3,success:2e3,loading:1/0,custom:4e3},Yq=(t={})=>{let[r,i]=U.useState(z0);U.useEffect(()=>(L0.push(i),()=>{let f=L0.indexOf(i);f>-1&&L0.splice(f,1)}),[r]);let l=r.toasts.map(f=>{var h,p;return{...t,...t[f.type],...f,duration:f.duration||((h=t[f.type])==null?void 0:h.duration)||(t==null?void 0:t.duration)||Wq[f.type],style:{...t.style,...(p=t[f.type])==null?void 0:p.style,...f.style}}});return{...r,toasts:l}},Gq=(t,r="blank",i)=>({createdAt:Date.now(),visible:!0,type:r,ariaProps:{role:"status","aria-live":"polite"},message:t,pauseDuration:0,...i,id:(i==null?void 0:i.id)||Vq()}),Iv=t=>(r,i)=>{let l=Gq(r,t,i);return Gc({type:2,toast:l}),l.id},bi=(t,r)=>Iv("blank")(t,r);bi.error=Iv("error"),bi.success=Iv("success"),bi.loading=Iv("loading"),bi.custom=Iv("custom"),bi.dismiss=t=>{Gc({type:3,toastId:t})},bi.remove=t=>Gc({type:4,toastId:t}),bi.promise=(t,r,i)=>{let l=bi.loading(r.loading,{...i,...i==null?void 0:i.loading});return t.then(f=>(bi.success(M0(r.success,f),{id:l,...i,...i==null?void 0:i.success}),f)).catch(f=>{bi.error(M0(r.error,f),{id:l,...i,...i==null?void 0:i.error})}),t};var qq=(t,r)=>{Gc({type:1,toast:{id:t,height:r}})},Xq=()=>{Gc({type:5,time:Date.now()})},Qq=t=>{let{toasts:r,pausedAt:i}=Yq(t);U.useEffect(()=>{if(i)return;let h=Date.now(),p=r.map(g=>{if(g.duration===1/0)return;let y=(g.duration||0)+g.pauseDuration-(h-g.createdAt);if(y<0){g.visible&&bi.dismiss(g.id);return}return setTimeout(()=>bi.dismiss(g.id),y)});return()=>{p.forEach(g=>g&&clearTimeout(g))}},[r,i]);let l=U.useCallback(()=>{i&&Gc({type:6,time:Date.now()})},[i]),f=U.useCallback((h,p)=>{let{reverseOrder:g=!1,gutter:y=8,defaultPosition:S}=p||{},C=r.filter(R=>(R.position||S)===(h.position||S)&&R.height),E=C.findIndex(R=>R.id===h.id),k=C.filter((R,A)=>A<E&&R.visible).length;return C.filter(R=>R.visible).slice(...g?[k+1]:[0,k]).reduce((R,A)=>R+(A.height||0)+y,0)},[r]);return{toasts:r,handlers:{updateHeight:qq,startPause:Xq,endPause:l,calculateOffset:f}}},Kq=ml`
387
292
  from {
388
293
  transform: scale(0) rotate(45deg);
389
294
  opacity: 0;
@@ -391,7 +296,7 @@ from {
391
296
  to {
392
297
  transform: scale(1) rotate(45deg);
393
298
  opacity: 1;
394
- }`,W$=Lr`
299
+ }`,Zq=ml`
395
300
  from {
396
301
  transform: scale(0);
397
302
  opacity: 0;
@@ -399,7 +304,7 @@ from {
399
304
  to {
400
305
  transform: scale(1);
401
306
  opacity: 1;
402
- }`,H$=Lr`
307
+ }`,Jq=ml`
403
308
  from {
404
309
  transform: scale(0) rotate(90deg);
405
310
  opacity: 0;
@@ -407,28 +312,28 @@ from {
407
312
  to {
408
313
  transform: scale(1) rotate(90deg);
409
314
  opacity: 1;
410
- }`,U$=En("div")`
315
+ }`,eX=Tu("div")`
411
316
  width: 20px;
412
317
  opacity: 0;
413
318
  height: 20px;
414
319
  border-radius: 10px;
415
- background: ${e=>e.primary||"#ff4b4b"};
320
+ background: ${t=>t.primary||"#ff4b4b"};
416
321
  position: relative;
417
322
  transform: rotate(45deg);
418
323
 
419
- animation: ${j$} 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275)
324
+ animation: ${Kq} 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275)
420
325
  forwards;
421
326
  animation-delay: 100ms;
422
327
 
423
328
  &:after,
424
329
  &:before {
425
330
  content: '';
426
- animation: ${W$} 0.15s ease-out forwards;
331
+ animation: ${Zq} 0.15s ease-out forwards;
427
332
  animation-delay: 150ms;
428
333
  position: absolute;
429
334
  border-radius: 3px;
430
335
  opacity: 0;
431
- background: ${e=>e.secondary||"#fff"};
336
+ background: ${t=>t.secondary||"#fff"};
432
337
  bottom: 9px;
433
338
  left: 4px;
434
339
  height: 2px;
@@ -436,27 +341,27 @@ to {
436
341
  }
437
342
 
438
343
  &:before {
439
- animation: ${H$} 0.15s ease-out forwards;
344
+ animation: ${Jq} 0.15s ease-out forwards;
440
345
  animation-delay: 180ms;
441
346
  transform: rotate(90deg);
442
347
  }
443
- `,G$=Lr`
348
+ `,tX=ml`
444
349
  from {
445
350
  transform: rotate(0deg);
446
351
  }
447
352
  to {
448
353
  transform: rotate(360deg);
449
354
  }
450
- `,Y$=En("div")`
355
+ `,nX=Tu("div")`
451
356
  width: 12px;
452
357
  height: 12px;
453
358
  box-sizing: border-box;
454
359
  border: 2px solid;
455
360
  border-radius: 100%;
456
- border-color: ${e=>e.secondary||"#e0e0e0"};
457
- border-right-color: ${e=>e.primary||"#616161"};
458
- animation: ${G$} 1s linear infinite;
459
- `,X$=Lr`
361
+ border-color: ${t=>t.secondary||"#e0e0e0"};
362
+ border-right-color: ${t=>t.primary||"#616161"};
363
+ animation: ${tX} 1s linear infinite;
364
+ `,rX=ml`
460
365
  from {
461
366
  transform: scale(0) rotate(45deg);
462
367
  opacity: 0;
@@ -464,7 +369,7 @@ from {
464
369
  to {
465
370
  transform: scale(1) rotate(45deg);
466
371
  opacity: 1;
467
- }`,Z$=Lr`
372
+ }`,aX=ml`
468
373
  0% {
469
374
  height: 0;
470
375
  width: 0;
@@ -478,43 +383,43 @@ to {
478
383
  100% {
479
384
  opacity: 1;
480
385
  height: 10px;
481
- }`,K$=En("div")`
386
+ }`,iX=Tu("div")`
482
387
  width: 20px;
483
388
  opacity: 0;
484
389
  height: 20px;
485
390
  border-radius: 10px;
486
- background: ${e=>e.primary||"#61d345"};
391
+ background: ${t=>t.primary||"#61d345"};
487
392
  position: relative;
488
393
  transform: rotate(45deg);
489
394
 
490
- animation: ${X$} 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275)
395
+ animation: ${rX} 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275)
491
396
  forwards;
492
397
  animation-delay: 100ms;
493
398
  &:after {
494
399
  content: '';
495
400
  box-sizing: border-box;
496
- animation: ${Z$} 0.2s ease-out forwards;
401
+ animation: ${aX} 0.2s ease-out forwards;
497
402
  opacity: 0;
498
403
  animation-delay: 200ms;
499
404
  position: absolute;
500
405
  border-right: 2px solid;
501
406
  border-bottom: 2px solid;
502
- border-color: ${e=>e.secondary||"#fff"};
407
+ border-color: ${t=>t.secondary||"#fff"};
503
408
  bottom: 6px;
504
409
  left: 6px;
505
410
  height: 10px;
506
411
  width: 6px;
507
412
  }
508
- `,q$=En("div")`
413
+ `,oX=Tu("div")`
509
414
  position: absolute;
510
- `,Q$=En("div")`
415
+ `,sX=Tu("div")`
511
416
  position: relative;
512
417
  display: flex;
513
418
  justify-content: center;
514
419
  align-items: center;
515
420
  min-width: 20px;
516
421
  min-height: 20px;
517
- `,J$=Lr`
422
+ `,lX=ml`
518
423
  from {
519
424
  transform: scale(0.6);
520
425
  opacity: 0.4;
@@ -522,20 +427,20 @@ from {
522
427
  to {
523
428
  transform: scale(1);
524
429
  opacity: 1;
525
- }`,eD=En("div")`
430
+ }`,uX=Tu("div")`
526
431
  position: relative;
527
432
  transform: scale(0.6);
528
433
  opacity: 0.4;
529
434
  min-width: 20px;
530
- animation: ${J$} 0.3s 0.12s cubic-bezier(0.175, 0.885, 0.32, 1.275)
435
+ animation: ${lX} 0.3s 0.12s cubic-bezier(0.175, 0.885, 0.32, 1.275)
531
436
  forwards;
532
- `,tD=({toast:e})=>{let{icon:t,type:r,iconTheme:n}=e;return t!==void 0?typeof t=="string"?S.createElement(eD,null,t):t:r==="blank"?null:S.createElement(Q$,null,S.createElement(Y$,{...n}),r!=="loading"&&S.createElement(q$,null,r==="error"?S.createElement(U$,{...n}):S.createElement(K$,{...n})))},rD=e=>`
533
- 0% {transform: translate3d(0,${e*-200}%,0) scale(.6); opacity:.5;}
437
+ `,cX=({toast:t})=>{let{icon:r,type:i,iconTheme:l}=t;return r!==void 0?typeof r=="string"?pe.createElement(uX,null,r):r:i==="blank"?null:pe.createElement(sX,null,pe.createElement(nX,{...l}),i!=="loading"&&pe.createElement(oX,null,i==="error"?pe.createElement(eX,{...l}):pe.createElement(iX,{...l})))},fX=t=>`
438
+ 0% {transform: translate3d(0,${t*-200}%,0) scale(.6); opacity:.5;}
534
439
  100% {transform: translate3d(0,0,0) scale(1); opacity:1;}
535
- `,nD=e=>`
440
+ `,dX=t=>`
536
441
  0% {transform: translate3d(0,0,-1px) scale(1); opacity:1;}
537
- 100% {transform: translate3d(0,${e*-150}%,-1px) scale(.6); opacity:0;}
538
- `,iD="0%{opacity:0;} 100%{opacity:1;}",aD="0%{opacity:1;} 100%{opacity:0;}",oD=En("div")`
442
+ 100% {transform: translate3d(0,${t*-150}%,-1px) scale(.6); opacity:0;}
443
+ `,pX="0%{opacity:0;} 100%{opacity:1;}",hX="0%{opacity:1;} 100%{opacity:0;}",vX=Tu("div")`
539
444
  display: flex;
540
445
  align-items: center;
541
446
  background: #fff;
@@ -547,17 +452,17 @@ to {
547
452
  pointer-events: auto;
548
453
  padding: 8px 10px;
549
454
  border-radius: 8px;
550
- `,lD=En("div")`
455
+ `,mX=Tu("div")`
551
456
  display: flex;
552
457
  justify-content: center;
553
458
  margin: 4px 10px;
554
459
  color: inherit;
555
460
  flex: 1 1 auto;
556
461
  white-space: pre-line;
557
- `,sD=(e,t)=>{let r=e.includes("top")?1:-1,[n,i]=Dw()?[iD,aD]:[rD(r),nD(r)];return{animation:t?`${Lr(n)} 0.35s cubic-bezier(.21,1.02,.73,1) forwards`:`${Lr(i)} 0.4s forwards cubic-bezier(.06,.71,.55,1)`}},uD=S.memo(({toast:e,position:t,style:r,children:n})=>{let i=e.height?sD(e.position||t||"top-center",e.visible):{opacity:0},a=S.createElement(tD,{toast:e}),o=S.createElement(lD,{...e.ariaProps},bc(e.message,e));return S.createElement(oD,{className:e.className,style:{...i,...r,...e.style}},typeof n=="function"?n({icon:a,message:o}):S.createElement(S.Fragment,null,a,o))});A$(S.createElement);var cD=({id:e,className:t,style:r,onHeightUpdate:n,children:i})=>{let a=S.useCallback(o=>{if(o){let l=()=>{let s=o.getBoundingClientRect().height;n(e,s)};l(),new MutationObserver(l).observe(o,{subtree:!0,childList:!0,characterData:!0})}},[e,n]);return S.createElement("div",{ref:a,className:t,style:r},i)},fD=(e,t)=>{let r=e.includes("top"),n=r?{top:0}:{bottom:0},i=e.includes("center")?{justifyContent:"center"}:e.includes("right")?{justifyContent:"flex-end"}:{};return{left:0,right:0,display:"flex",position:"absolute",transition:Dw()?void 0:"all 230ms cubic-bezier(.21,1.02,.73,1)",transform:`translateY(${t*(r?1:-1)}px)`,...n,...i}},dD=yc`
462
+ `,gX=(t,r)=>{let i=t.includes("top")?1:-1,[l,f]=xO()?[pX,hX]:[fX(i),dX(i)];return{animation:r?`${ml(l)} 0.35s cubic-bezier(.21,1.02,.73,1) forwards`:`${ml(f)} 0.4s forwards cubic-bezier(.06,.71,.55,1)`}},yX=pe.memo(({toast:t,position:r,style:i,children:l})=>{let f=t.height?gX(t.position||r||"top-center",t.visible):{opacity:0},h=pe.createElement(cX,{toast:t}),p=pe.createElement(mX,{...t.ariaProps},M0(t.message,t));return pe.createElement(vX,{className:t.className,style:{...f,...i,...t.style}},typeof l=="function"?l({icon:h,message:p}):pe.createElement(pe.Fragment,null,h,p))});$q(pe.createElement);var bX=({id:t,className:r,style:i,onHeightUpdate:l,children:f})=>{let h=pe.useCallback(p=>{if(p){let g=()=>{let y=p.getBoundingClientRect().height;l(t,y)};g(),new MutationObserver(g).observe(p,{subtree:!0,childList:!0,characterData:!0})}},[t,l]);return pe.createElement("div",{ref:h,className:r,style:i},f)},SX=(t,r)=>{let i=t.includes("top"),l=i?{top:0}:{bottom:0},f=t.includes("center")?{justifyContent:"center"}:t.includes("right")?{justifyContent:"flex-end"}:{};return{left:0,right:0,display:"flex",position:"absolute",transition:xO()?void 0:"all 230ms cubic-bezier(.21,1.02,.73,1)",transform:`translateY(${r*(i?1:-1)}px)`,...l,...f}},xX=A0`
558
463
  z-index: 9999;
559
464
  > * {
560
465
  pointer-events: auto;
561
466
  }
562
- `,Cc=16,pD=({reverseOrder:e,position:t="top-center",toastOptions:r,gutter:n,children:i,containerStyle:a,containerClassName:o})=>{let{toasts:l,handlers:s}=V$(r);return S.createElement("div",{style:{position:"fixed",zIndex:9999,top:Cc,left:Cc,right:Cc,bottom:Cc,pointerEvents:"none",...a},className:o,onMouseEnter:s.startPause,onMouseLeave:s.endPause},l.map(u=>{let c=u.position||t,d=s.calculateOffset(u,{reverseOrder:e,gutter:n,defaultPosition:t}),f=fD(c,d);return S.createElement(cD,{id:u.id,key:u.id,onHeightUpdate:s.updateHeight,className:u.visible?dD:"",style:f},u.type==="custom"?bc(u.message,u):i?i(u):S.createElement(uD,{toast:u,position:c}))}))};const Nw=e=>{function t(n){var a,o;return(o=(a=n.match(/(\w+)/g))==null?void 0:a.length)!=null?o:0}let r=3e3;return e&&t(e)>5&&(r=6e3),r};function vD({message:e,state:t,show:r,m:n}){const i=F.useCallback(()=>{bt(a=>C(Iw,{isFlash:!0,state:t,canDismiss:!0,onClick:()=>bt.dismiss(a.id),children:e}),{duration:Nw(e),id:Jh[t].id})},[e,t]);return F.useEffect(()=>{r&&i()},[r,i]),C(ge,{children:C(pD,{toastOptions:{className:"toastContainer",style:{background:"transparent",boxShadow:"none"}}})})}const hD=({state:e,message:t})=>{const[r,n]=F.useState(!1);return F.useEffect(()=>{if(r){const a=setTimeout(()=>{n(!1)},Nw(t));return()=>clearTimeout(a)}},[t,r]),{show:r,active:()=>{r||n(!0)},config:{state:e,message:t}}};ve.Alert=Iw,ve.Btn=mc,ve.BtnLink=Zh,ve.BtnPrimary=Xh,ve.BtnSecondary=ww,ve.BtnTertiary=Cw,ve.CourseList=Rw,ve.CourseStatus=Tw,ve.FlashNotification=vD,ve.Icons=v$,ve.Label=vc,ve.NewTooltip=h$,ve.Progress=yw,ve.Ripples=wh,ve.TinyAlert=Sw,ve.dataFake=y$,ve.maxWidthCoursesList=b$,ve.theme=s$,ve.useFlashNotification=hD,ve.vars=W,Object.defineProperties(ve,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}})});
467
+ `,N0=16,CX=({reverseOrder:t,position:r="top-center",toastOptions:i,gutter:l,children:f,containerStyle:h,containerClassName:p})=>{let{toasts:g,handlers:y}=Qq(i);return pe.createElement("div",{style:{position:"fixed",zIndex:9999,top:N0,left:N0,right:N0,bottom:N0,pointerEvents:"none",...h},className:p,onMouseEnter:y.startPause,onMouseLeave:y.endPause},g.map(S=>{let C=S.position||r,E=y.calculateOffset(S,{reverseOrder:t,gutter:l,defaultPosition:r}),k=SX(C,E);return pe.createElement(bX,{id:S.id,key:S.id,onHeightUpdate:y.updateHeight,className:S.visible?xX:"",style:k},S.type==="custom"?M0(S.message,S):f?f(S):pe.createElement(yX,{toast:S,position:C}))}))};const wO=t=>{function r(l){var h;return((h=l.match(/(\w+)/g))==null?void 0:h.length)??0}let i=3e3;return t&&r(t)>5&&(i=6e3),i};function wX({message:t,state:r,show:i,m:l}){const f=U.useCallback(()=>{bi(h=>O.jsx(gO,{isFlash:!0,state:r,canDismiss:!0,onClick:()=>{bi.dismiss(h.id)},children:t}),{duration:wO(t),id:G2[r].id})},[t,r]);return U.useEffect(()=>{i&&f()},[i,f]),O.jsx(xn,{children:O.jsx(CX,{toastOptions:{className:"toastContainer",style:{background:"transparent",boxShadow:"none"}}})})}const EX=({state:t,message:r})=>{const[i,l]=U.useState(!1);return U.useEffect(()=>{if(i){const h=setTimeout(()=>{l(!1)},wO(r));return()=>{clearTimeout(h)}}},[r,i]),{show:i,active:()=>{i||l(!0)},config:{state:t,message:r}}};jn.Alert=gO,jn.Btn=D0,jn.BtnLink=U2,jn.BtnPrimary=I2,jn.BtnSecondary=iO,jn.BtnTertiary=oO,jn.CourseList=mO,jn.CourseStatus=uO,jn.FlashNotification=wX,jn.Icons=wq,jn.Label=_0,jn.NewTooltip=Eq,jn.Progress=tO,jn.Ripples=m2,jn.TinyAlert=aO,jn.dataFake=_q,jn.maxWidthCoursesList=Rq,jn.theme=gq,jn.useFlashNotification=EX,jn.vars=Re,Object.defineProperty(jn,Symbol.toStringTag,{value:"Module"})});
563
468
  //# sourceMappingURL=eclass-ui-kit.umd.js.map